Merge from emacs-24; up to 2014-07-16T17:06:12Z!rgm@gnu.org
[emacs.git] / lisp / org / ChangeLog
blob036bf8251682974db7c987330b9bd001d7ca4034
1 2014-10-03  Achim Gratz  <Stromeko@Stromeko.DE>
3         * ob-sh.el (org-babel-sh-initiate-session): After initiating a
4         session, initialize the marker `comint-last-output-start' since it
5         is going to be used by the ANSI color filter without further
6         checks in Emacs 23 and throws an error.
8         * ob-lilypond.el: Change prefix from `ly-' to
9         `org-babel-lilypond-' throughout.
11         * org-footnote.el: Forward declare `org-element-context',
12         `org-element-property' and `org-element-type'.
14         * org.el: Add forward declarations for a number of functions that
15         the compiler otherwise warns about as potentially undefined at
16         runtime.
18         * ob-core.el: Add comment to forward declaration of
19         'org-src-preserve-indentations'.
21         * ob-exp.el: Require org-src to import
22         'org-src-preserve-indentations'.
24         * ob-haskell.el, ob-python.el: Remove superfluous forward
25         declaration of 'org-src-preserve-indentations', since it gets
26         imported by other requires.
28         * ob-core.el (org-every): Forward declare 'org-every'.
30         * ob-C.el: Require cl during compilation so that lexical-let is
31         known.
33         * org-entities.el: Remove superfluous require of org-macs.
34         Forward declare 'org-toggle-pretty-entities' and
35         'org-pretty-entities'.
37         * ox.el (org-export-get-parent): Move definition of
38         'org-export-get-parent' before first use.  Leave comment at original
39         place of definition.
41         * org.el (org-uniquify): Move definition of 'org-uniquify' before
42         first use.  Leave comment at original place of definition.
44         * ob-tangle.el (org-babel-tangle): When `file-name-directory'
45         returns nil, do not run make-directory.  Remove superfluous when
46         clauses by using short-circuiting `and' instead.
48 2014-10-03  Alex Kosorukoff  <alex@3form.com>  (tiny change)
50         * org-capture.el (org-capture-fill-template): Set `mark-active' to
51         nil.
53 2014-10-03  Bastien Guerry  <bzg@gnu.org>
55         * org-agenda.el (org-agenda-prepare): Reset preset filters when
56         using sticky agendas.
58         * org-agenda.el (org-agenda-get-sexps): Don't add tags as text
59         properties.
61         * org-capture.el (org-capture-fill-template): Take
62         `org-extend-today-until' into account when setting the format time
63         string.
65         * org.el (org-paste-subtree): Fix match subexpression.
67         * org.el (org-fix-ellipsis-at-bol): Delete.
68         (org-mode, org-show-context, org-isearch-end): Don't use
69         `org-fix-ellipsis-at-bol'.
71         * org-agenda.el (org-agenda-filter-apply): Fix setting of
72         `org-agenda-filtered-by-category'.
74         * org.el (org-fontify-meta-lines-and-blocks-1): Fix handling
75         of `org-hidden-keywords'.
77         * org-agenda.el (org-cmp-ts): Fix agenda entry type checking.
79         * org-agenda.el (org-entries-lessp): Fix inactive timestamp
80         comparison.
82         * org-agenda.el (org-agenda-mode): Let `org-agenda-redo' DTRT
83         when agenda are sticky.
84         (org-agenda-tag-filter-while-redo): Delete.
85         (org-agenda-list, org-agenda-redo, org-agenda-filter-by-tag):
86         Remove unused code.
87         (org-agenda-clockreport-mode, org-agenda-set-mode-name): Don't
88         consider tag filters.
90         * org.el (org-fix-ellipsis-at-bol)
91         (org-first-headline-recenter): Use `set-window-start' instead
92         of `recenter'.
94         * org-agenda.el (org-recenter-heading): Delete.
96         * org.el (org-insert-heading): With one universal prefix argument
97         or `org-insert-heading-respect-content' set to `t', always respect
98         the content, i.e. don't insert a list item and don't convert
99         normal lines into headings.  Update docstring.
100         (org-insert-heading-respect-content): Remove unused arg.
101         (org-insert-todo-heading-respect-content): Don't use
102         `org-insert-todo-heading-respect-content', use the second argument
103         of `org-insert-todo-heading' instead.
105         * org-mobile.el (org-mobile-edit): Use only one arg.
107         * org.el (org-overview): Don't call `recenter'.
109         * org-agenda.el (org-agenda-custom-commands-local-options): Fix
110         misquoted values.
112         * org.el (org-property-re): Also match null properties by default.
113         (org-entry-delete): Also delete null properties.
114         (org-read-property-value): Allow the empty string as a new value.
115         (org-delete-property): Throw a message when there is not property
116         to delete.
118         * org-agenda.el (org-agenda-insert-diary-make-new-entry): Fix
119         docstring.
121         * org.el (org-re-property): New parameter `allow-null' to match
122         property with a null value.
123         (org-entry-put): Correctly update a property with a null
124         value.
126         * ox-md.el (org-md-headline): When exporting with a HTML table of
127         contents, add HTML anchors to Markdown headlines.
129         * org.el (org-insert-heading): Don't insert an item when called
130         with two universal prefix arguments.
132         * org-agenda.el (org-agenda-finalize): Remove duplicate check for
133         'org-hd-marker.
135         * org-agenda.el (org-agenda-prepare-window): New parameter
136         `filter-alist' to set the filters correctly when
137         `org-agenda-persistent-filter' is on.
138         (org-agenda-prepare): Use the new parameter for
139         `org-agenda-prepare-window'.
141         * org-compat.el (org-in-invisibility-spec-p): Tiny code cleanup.
142         (org-move-to-column): Only remove '(org-filtered) from
143         `buffer-invisibility-spec'.
145         * org-agenda.el (org-agenda-mode): Add buffer invisibility specs.
146         (org-agenda-filter-hide-line, org-agenda-remove-filter): Set
147         the 'invisible text property to 'org-filtered.
148         (org-agenda-show-new-time): Add the default face to avoid the
149         foreground of the last character on the line to leak into the
150         timestamp notification.
152         * org-agenda.el (org-get-time-of-day): Don't return time string
153         from within links.
155         * org-timer.el (org-timer-value-string): Always return a positive
156         value.  Add docstring.
158         * org-capture.el (org-capture-steal-local-variables): Don't steal
159         `mark-active', which should be nil in the target buffer.
161         * org-agenda.el (org-agenda-remove-filter): Use `save-excursion'.
163         * org.el (org-move-subtree-down): Use `org-end-of-subtree' instead
164         of `outline-end-of-subtree'.
165         (outline-end-of-subtree): Remove advice.
167         * org-mouse.el (org-mouse-move-tree, org-mouse-do-remotely): Use
168         `org-end-of-subtree' instead of `outline-end-of-subtree'.
170         * org-agenda.el (org-cmp-ts): Argument `type' is not optional.
171         Don't quote it.
173         * org-habit.el (org-habit-insert-consistency-graphs): Don't remove
174         filter overlays as we don't use overlays for filters anymore.
176         * org-agenda.el (org-agenda-local-vars): Add
177         `org-agenda-top-headline-filter'.
178         (org-agenda-filter-by-category): Fix syntax.
179         (org-agenda-filter-show-all-top-filter): New function.
180         (org-agenda-filter-by-top-headline)
181         (org-agenda-filter-remove-all): Use the new function.
182         (org-agenda-filter-top-headline-apply): Use a dedicated symbol
183         `top-headline'.
185         * org.el (org-entry-properties): Ensure the special property is
186         not commented out when matched.
188         * org-agenda.el (org-agenda-write): Code cleanup.
189         (org-agenda-mark-filtered-text)
190         (org-agenda-unmark-filtered-text)
191         (org-agenda-fix-tags-filter-overlays-at): Delete.
192         (org-agenda-remove-marked-text): Use the `property' argument
193         instead of hard-coding 'org-filtered.
194         (org-agenda-filter-remove-all): Use `org-agenda-finalize'.
195         (org-agenda-filter-hide-line): Rewrite using text properties
196         instead of overlays.
197         (org-agenda-remove-filter): New function.
198         (org-agenda-filter-show-all-tag)
199         (org-agenda-filter-show-all-cat)
200         (org-agenda-filter-show-all-re): Rewrite using
201         `org-agenda-remove-filter'.
203         * org-attach.el (org-attach-dir): When the property is "inherited"
204         from a variable outside of the file, do not use
205         `org-entry-property-inherited-from' to find the attachment
206         position, assume we need to go back to the current headline.
208         * ob-R.el (org-babel-R-assign-elisp): Fix parsing of a
209         one-dimensional value.
211         * org.el (org-insert-heading): Fix bug when trying to insert a
212         heading when point is before the first headline and not at the
213         beginning of a line.
215         * org-table.el (org-table-eval-formula): Fix conversion of
216         inactive timestamps to active ones.
218         * org.el (org-set-regexps-and-options): Allow
219         `org-complex-heading-regexp-format' to match [/] and [%] cookies
220         when they are both before and after the heading.
222         * org-agenda.el (org-agenda-max-todos, org-agenda-max-tags)
223         (org-agenda-max-effort): Fix type strings.
225         * org-capture.el (org-capture-fill-template): Deactivate region
226         while trying to align tags on the current headline.
228         * org-agenda.el (org-agenda-finalize): Filter by top headline if
229         `org-agenda-top-headline-filter' is set.
231 2014-10-03  Bernt Hansen  <bernt@norang.ca>
233         * org-macs.el: Remove restriction when locating markers.
235 2014-10-03  Dmitry Gorbik  <dgorbik@me.com>  (tiny change)
237         * org.el (org-fast-tag-selection): Fix window splitting.
239 2014-10-03  Eric Schulte  <schulte.eric@gmail.com>
241         * ob-screen.el (org-babel-screen-test): Use unpredictable name for
242         temporary file.
244         * ob-screen.el (org-babel-screen-session-write-temp-file): Use
245         unpredictable temp file name, fixes bug#17416.
247 2014-10-03  Ian Kelling  <ian@iankelling.org>
249         * ob-core.el (org-babel-insert-result): Test all list elements
250         against listp and (eq element 'hline) instead of checking just the
251         first.
253 2014-10-03  Konstantin Kliakhandler  <kosta@slumpy.org>  (tiny change)
255         * org-agenda.el (org-agenda-redo): Reapply the filters correctly.
257 2014-10-03  Kyle Meyer  <kyle@kyleam.com>  (tiny change)
259         * ox.el (org-export-show-temporary-export-buffer): Fix typo.
261 2014-10-03  Matt Lundin  <mdl@imapmail.org>
263         * ox-publish.el (org-publish-find-title, org-publish-find-date):
264         Make sure to call org-export-get-environment in copy of buffer if
265         emacs is already visiting. Otherwise, #+bind variables meant for
266         export can be set in live buffers.
268         * org.el (org-agenda-inhibit-startup): fix docstring to reflect
269         default value
271         * ox-publish.el (org-publish-find-title, org-publish-find-date):
272         Fix unnecessary invocations of org-mode with org-inhibit-startup.
274 2014-10-03  Nick Dokos  <ndokos@gmail.com>
276         * org-table.el (org-table-clean-before-export): The regexes match
277         spaces in addition to the special characters that might be used in
278         the first column as special marking characters.  Remove the space
279         from the character class.
281         * ox-ascii.el (org-ascii-superscript): Change _ to ^ in the
282         output.
284 2014-10-03  Nick Dokos  <ndokos@redhat.com>
286         * org-table.el (org-table-show-reference): Call `set-window-start'
287         with the calculated values `min' and `max', not with
288         (point-min) and (point-max).
290 2014-10-03  Nicolas Goaziou  <n.goaziou@gmail.com>
292         * ox-latex.el (org-latex-link): Improve test for unnumbered
293         headlines.
295         * ox-ascii.el (org-ascii--fill-string): Allow filling even when
296         `org-export-preserve-breaks' is non-nil.
298         * org.el (org-N-empty-lines-before-current): Make sure to delete
299         only empty lines, not trailing whitespaces.
301         * ox-html.el (org-html-headline): Make sure even listified
302         headlines have proper anchors so internal links can refer to them.
303         Small refactoring.
305         * org-src.el (org-edit-src-code): Fix regexp.
306         (org-edit-src-exit): Do not remove auto-save timer.  This is
307         handled by the timer itself.
309         * org.el (org-re-property): Fix regexp.  Improve docstring.
311         * org-element.el (org-element-property-drawer-parser)
312         (org-element-node-property-parser): Ignore lines that are not node
313         properties.
314         (org-element-node-property-interpreter): Allow nil properties.
316         * org.el (org-re-property): Fix regexp to match properties with
317         empty values.
319         * org-element.el (org-element-headline-interpreter): Take into
320         consideration `org-odd-levels-only' value.  Small refactoring.
322         * ox-texinfo.el (org-texinfo--get-node): Return a node or anchor
323         name.
324         (org-texinfo--sanitize-content): Fix regexp.
325         (org-texinfo-link): Fix various bugs in link export.
327         * ox-beamer.el (org-beamer-link):
328         * ox-html.el (org-html-link):
329         * ox-latex.el (org-latex-link):
330         * ox-odt.el (org-odt-link): When radio link has no valid
331         target (e.g., this is a subtree export and the radio target is not
332         in the exported subtree), simply return contents.
334         * org.el (org-called-with-limited-levels): Initialize variable.
336         * org-agenda.el (org-agenda-write): Write headings in proper
337         order.
339         * org-element.el (org-element-table-interpreter): Enhance
340         docstring.
342         * ox-md.el (org-md-link): Allow custom link type export function.
344         * ox-texinfo.el (org-texinfo-template): Fix language and encoding
345         case.
347         * ox-md.el (org-md-separate-elements): Outside of lists, preserve
348         blank lines between paragraphs and plain lists.
350         * org-element.el (org-element-normalize-contents): Fix indentation
351         removal when there is an empty line within a verse block.
353         * ox-texinfo.el (org-texinfo--normalize-headlines): Properly add a
354         section to the contents.
356         * ox-texinfo.el (org-texinfo--normalize-headlines): Do not set pre
357         blanks since the value is now hard-coded.
358         (org-texinfo-headline): Force one blank line before contents, when non
359         empty.  Refactoring.
360         (org-texinfo-src-block): Refactor code.  Comply to predicate naming.
362         * ox-texinfo.el (org-texinfo--sanitize-node): Handle
363         " (not)allowed" case.
365         * ox-texinfo.el (org-texinfo-headline): Remove wrong code
366         comments.
368         * ox-texinfo.el (org-texinfo-headline): Remove `not-in-toc'
369         special case for tags.
371         * ox-texinfo.el (org-texinfo-headline): Remove LaTeXism (optional
372         arguments within square brackets).
374         * ox-texinfo.el (org-texinfo-info-process): Fix docstring.
375         (org-texinfo-compile): Do not check for impossible cases (e.g., if the
376         previous variable contains a function).
378         * ox-texinfo.el (org-texinfo-max-toc-depth): Fix docstring.
380         * ox-texinfo.el (org-texinfo--make-option-string,
381         org-texinfo--sanitize-headline,
382         org-texinfo--sanitize-headline-contents): Remove.
384         * ox-texinfo.el (org-texinfo--sanitize-node): "@", "{" and "}"
385         characters are allowed in a node name.  So are "(" and ")" unless
386         "(" starts the name and there is ")" somewhere in the name.  Also
387         trim and collapse whitespace characters.  Renamed from
388         `org-texinfo--sanitize-menu'.
389         (org-texinfo--get-node): Do not sanitize node names over zealously.
390         Ensure returned node names are unique.
391         (org-texinfo-headline): Only add @node command where it makes sense.
393         * ox-texinfo.el (org-texinfo--sanitize-menu)
394         (org-texinfo--sanitize-content): Fix docstrings.
396         * ox-texinfo.el (org-texinfo--normalize-headlines): Make sure a
397         blank line always follows nodes.
399         * ox-texinfo.el (org-texinfo-make-menu): Change signature.  Remove
400         some intermediate functions.  Generate the full master menu when
401         asked.
402         (org-texinfo--build-menu): Use a simpler algorithm.
403         (org-texinfo--format-entries): Fix entries when both node and title
404         are different.
405         (org-texinfo--menu-entries): Renamed from `org-texinfo--generate-menu-list'.
406         (org-texinfo-headline): Move menu handling to next function.
407         (org-texinfo-section): Handle menu for current parent.
408         (org-texinfo--menu-headlines, org-texinfo--generate-detailed): Remove
409         functions.
410         (org-texinfo--normalize-headlines): New function.
412         * ox-texinfo.el (org-texinfo-headline): Fix @appendix command.
414         * ox-texinfo.el (org-texinfo-headline): Do not sanitize heading
415         text for sectioning command.
417         * ox-texinfo.el (org-texinfo--generate-menu-list): ":COPYING: nil"
418         is expected to be equivalent to no COPYING property at all.
420         * ox-texinfo.el (org-texinfo-item): Fix blank lines between items.
422         * ox-texinfo.el (org-texinfo-plain-list): Fix format string.
423         Small refactoring.
425         * ox-texinfo.el (texinfo): Provide new export property.
426         (org-texinfo-template): Use dedicated title for hard copy, when
427         available.
429         * ox-texinfo.el (org-texinfo-headline): Always obey to a non-nil
430         :APPENDIX: property.  Small refactoring.
432         * ox-texinfo.el (org-texinfo-verse-block): Generate somewhat
433         meaningful Texinfo code instead of LaTeX.
435         * ox-texinfo.el (org-texinfo-table): Remove reference to
436         "verbatim" attribute.  Handle table.el tables.  Tiny refactoring.
437         (org-texinfo-table--org-table, org-texinfo-table--table.el-table):
438         Remove functions.
439         (org-texinfo-table-column-widths): Indent code correctly.  Ignore
440         special column, if any.  Add a comment about the limitation on the
441         width computation.
442         (org-texinfo-table-row): Small refactoring.
444         * ox-texinfo.el (texinfo): Do not provide a default value for
445         @setfilename value.
446         (org-texinfo-filename): Remove variable.
447         (org-texinfo-template): Correctly find value for @setfilename command.
448         If none is possible, do not provide the command at all.
450         * ox.el (org-export-to-file): Provide output file name in
451         communication channel, through :output-file property.
453         * ox-texinfo.el (org-texinfo-template): Do not hardcode "Manual"
454         in top node.
456         * ox-texinfo.el (org-texinfo-classes): Change default value.
457         Update docstring.
458         (org-texinfo-template): Insert header string from current class after
459         "@settitle" command.  Always provide "\input texinfo" at the beginning
460         of the output.
462         * ox-texinfo.el (org-texinfo-template): Remove spurious blank
463         lines in output.  Refactor code.
465         * ox-texinfo.el (org-texinfo-template): Fix multi-line subtitles.
467         * ox-texinfo.el (org-texinfo-template): Make sure table of
468         contents are allowed before inserting them.
470         * ox-texinfo.el (org-texinfo-template): Check if copying data is
471         not nil before using it.
473         * ox-texinfo.el (org-texinfo-template): Fix multi-line subauthors.
474         Correctly add email, when provided.  Check if author info is
475         wanted first.
477         * ox-texinfo.el (org-texinfo-node-description-column)
478         (org-texinfo-format-drawer-function): Fix docstrings.
480         * ox-texinfo.el (texinfo): Make sure comments are ignored.
481         (org-texinfo-comment, org-texinfo-comment-block): Remove functions.
483         * ox-texinfo.el (org-texinfo-template): Properly pad @direntry
484         description.
486         * org-element.el (org-element-headline-parser): Add missing
487         `:post-blank' property in docstring.
489         * ox-latex.el (org-latex-table-scientific-notation): Set
490         appropriate value.
491         (org-latex-listings-options): Fix docstring.
493         * ox.el (org-export-raw-special-block-p): New function.
495         * org-element.el (org-element-link-parser): Properly handle
496         multi-line links according to RFC 3986 when enclosed within square
497         brackets.
499         * org-element.el (org-element-parse-secondary-string): Clone all
500         local variables from current buffer before parsing a secondary
501         string.  Small refactoring.
502         (org-element-object-variables): Remove variable.
504         * ox-odt.el (org-odt--format-paragraph): Change signature to
505         include info.
506         (org-odt-footnote-reference, org-odt-paragraph): Apply signature
507         change.
509         * org-clock.el (org-clocktable-indent-string): Use "\emsp" instead
510         of "\__", which is not supported anymore since Org 8.0.
512         * ox-odt.el (org-odt--paragraph-style): New function.
513         (org-odt--format-paragraph): Use new function to get proper style
514         to apply.
516         * org-element.el (org-element--current-element): Fix regexp.
518         * org-element.el (org-element--current-element): Fix regexp
519         matching latex environments.  Discrepancy with regexp used in
520         `org-element-latex-environment-parser' introduced matching errors.
522         * ox-ascii.el (org-ascii--table-cell-width): Correctly export
523         tables with width cookies.
525         * org.el (org-insert-heading): Fix error when inserting a headline
526         before first headline, with point not at bol.  Remove source block
527         check for consistency with behavior after first headline.  Tiny
528         fix to docstring.
530         * org.el (org-scan-tags): Fix typo in docstring.
532         * ox.el (org-export--get-inbuffer-options): Return the empty
533         string instead of nil when TITLE keywords has no value.
534         (org-export--get-buffer-attributes): Do not set :title property
535         early.
536         (org-export--get-global-options): Do not ignore anymore nil values.
537         Small refactoring.
538         (org-export-as): Correctly set :title here.
540         * org-list.el (org-list-repair): Fix typo in docstring.
542         * ox-ascii.el (org-ascii--current-text-width): Tiny fix.
544         * ox-org.el (org-org-section): Tiny refactoring.  Use appropriate
545         property.
547         * ox-org.el (org-org-headline): Ignore footnote sections.
548         (org-org-section): New function.
550         * ox-beamer.el (org-beamer-select-environment): Ignore persistent
551         tags when displaying environments.
553         * ox-ascii.el (org-ascii-indented-line-width): Update docstring.
554         (org-ascii-paragraph): Do not apply indentation to the very first line
555         of a section.
557         * ox-latex.el (org-latex-inlinetask): Skip body if contents are
558         empty.
560         * ox-html.el (org-html-standalone-image-p): Ensure paragraph
561         contains at least a link before return a non-nil value.  Clarify
562         docstring.
564         * ox.el (org-export-data): Always return a string, as specified
565         by the docstring.
567         * ox-ascii.el (org-ascii--indent-string): Fix regexp to avoid
568         stack overflow in regexp matcher on very long lines.
570         * org-element.el (org-element-timestamp-parser): Fix docstring.
572         * ox-icalendar.el (org-icalendar-include-sexps,
573         org-icalendar-blocked-headline-p): Fix docstrings.
574         (org-icalendar-clear-blank-lines): Fix docstring and regexp.
576         * ox-icalendar.el (org-icalendar-entry): Use
577         `org-icalendar-with-timestamps'.
579 2014-10-03  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
581         * org.el (org-cycle-internal-local): Don't show a trailing
582         character when cycling a subtree that ends with a non-newline
583         character at the end of the buffer or the narrowed region.
585 2014-10-03  Sebastien Vauban  <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
587         * ox-ascii.el (org-ascii--box-string): Choose more universal
588         Unicode characters for boxquote corners.
590 2014-10-03  marcowahlsoft@gmail.com  <marcowahlsoft@gmail.com>  (tiny change)
592         * org-agenda.el (org-agenda-bulk-mark)
593         (org-agenda-bulk-mark-regexp, org-agenda-bulk-toggle-all): Fix
594         org-agenda-bulk-mark-all when time-grid is shown.
596 2014-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
598         * org-compat.el (activate-mark): Set transient-mark-mode buffer-locally.
600 2014-06-22  Mario Lang  <mlang@delysid.org>
602         * org-list.el (org-list-insert-item): The the -> the.
604         * org-bibtex.el (org-bibtex-fields): The the -> the.
606 2013-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
608         * ob-core.el (org-babel-insert-result): Prefer point-min-marker
609         and point-max-marker.
610         * org-mouse.el (org-mouse-do-remotely): Prefer point-marker
611         to copy-marker of point.
613 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
615         * org-compat.el (org-font-lock-ensure): New function.
616         * ox-odt.el (org-odt-do-format-code):
617         * ox-html.el (org-html-fontify-code):
618         * org.el (org-fontify-like-in-org-mode):
619         * org-src.el (org-src-font-lock-fontify-block):
620         * org-clock.el (org-clock-get-clocktable): Use it.
621         * ox-org.el (org-org-publish-to-org): Use it.  Avoid using find-file
622         from Elisp.
624 2014-05-12  Eric Schulte  <eric.schulte@gmx.com>
626         * ob-screen.el (org-babel-screen-session-write-temp-file)
627         (org-babel-screen-test):
628         Use unpredictable names for temporary files.  (Bug#17416)
630 2014-04-22  Aaron Ecay  <aaronecay@gmail.com>
632         * org-src.el (org-edit-src-exit): Place an undo boundary before
633         writing changes back to parent buffer.
635 2014-04-22  Achim Gratz  <Stromeko@Stromeko.DE>
637         * ob-gnuplot.el (org-babel-gnuplot-process-vars):
638         `org-babel-gnuplot-table-to-data´ expects a table, so we need to
639         construct one when Babel hands us a vector.
641         * ob-ref.el (org-babel-ref-parse):
642         If `org-babel-current-src-block-location' is a marker, it can be from
643         another buffer, use marker-position instead in this case.
645 2014-04-22  Arun Persaud  <apersaud@lbl.gov>  (tiny change)
647         * org-src.el (org-edit-src-exit): Don't add indentation on empty lines.
649 2014-04-22  Bastien Guerry  <bzg@gnu.org>
651         * org.el (org-insert-heading): Fix behavior when point is at the
652         beginning of a heading or a list item.  Enhance docstring.
654         * ox-html.el (org-html-infojs-install-script): Don't install
655         infojs scripts when #+INFOJS_OPT: is empty.
657         * org.el (org-mode): Fix the use of `org-*-element' functions for
658         C-M-a and C-M-e but fix C-M-e.
660         * org-agenda.el (org-agenda-search-view): Fix tag.
662         * org.el (org-check-before-invisible-edit): Don't just cycle, show
663         the subtree, as cycling may leave the current heading folded.
664         (org-contextualize-validate-key): Fix wrong test.
666         * org-bibtex.el (org-bibtex-headline): Don't throw an error when
667         trying to add a keyword field to a BibTeX entry that is not known
668         by BibTeX or defined by the user.
669         (org-bibtex, org-bibtex-no-export-tags): Fix docstrings.
671         * ox-latex.el (org-latex-src-block): Fix wrong propagation of
672         labels and captions when using the listings environment.
674         * org.el (org-sort-entries): Fix the number of blank lines to
675         keep for the last entry to sort.
677         * org-clock.el (org-clock-put-overlay): Fix display when
678         `org-indent-mode' is on.
680         * org.el (org-sort-entries): Allow to sort by clocking time.
682         * org-agenda.el (org-agenda-finalize): Apply all filters
683         correctly.
685         * org.el (org-update-dblock): Use `save-excursion' instead of
686         `save-window-excursion' so that blocks can edit other windows and
687         change the window layout.
689         * org-agenda.el (org-agenda-mode): Disable `indent-tabs-mode'.
690         (org-agenda-dim-blocked-tasks): Make overlays intangible.
691         (org-agenda-show-new-time): Fix bug when deleting a timestamp
692         right after changing it.
693         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item)
694         (org-agenda-get-sexps, org-agenda-filter-by-regexp)
695         (org-agenda-filter-top-headline-apply): Fix indentation.
697         * org.el (org-cycle): Try `org-try-cdlatex-tab' before trying
698         to edit/move as in a table.
700         * org-agenda.el (org-agenda-show-new-time): Don't use
701         `move-beginning-of-line' as it is slower and not needed.
703         * org-compat.el (org-move-to-column): Temporarily set
704         `buffer-invisibility-spec' more accurately.
706         * ox-latex.el (org-latex-text-markup-alist): Use \ul{...} for
707         underlining instead of \uline{...} as requiring the hyperref
708         package makes \uline{...} unusable on headline.
710         * org.el (org-latex-default-packages-alist): Add the "soul"
711         package.
713         * org.el (org-refresh-properties): Don't add the property to
714         the whole subtree, only to the part between the beginning of
715         the headline and the end of the "content", before any other
716         headline.  This fix a bug about properties displayed as
717         inherited in the agenda, where Org properties are checked
718         against text properties.
720         * ox-latex.el (org-latex--text-markup): Replace newlines by
721         whitespaces in \verb constructs.
723         * org-agenda.el (org-agenda-filter-hide-line): Hide from the
724         beginning of the line to the beginning of the next line.
725         (org-agenda-show-new-time): Use `move-beginning-of-line' and
726         `move-end-of-line'.
727         (org-agenda-drag-line-forward): Adapt to the new definition of
728         hidden filtered lines.
730         * org-compat.el (org-move-to-column): Always ignore invisible
731         text in agenda buffer, and when there is both a bracket link
732         and '(org-link) as a member of `buffer-invisibility-spec'.
733         Add a docstring.
735         * org.el (org-align-tags-here): Add docstring and remove useless
736         arguments when calling `org-move-to-column'.
738         * org-table.el (org-table-copy-down)
739         (org-table-find-dataline, org-table-move-row)
740         (org-table-insert-hline, org-table-kill-row):
741         * org-agenda.el (org-agenda-next-item)
742         (org-agenda-previous-item, org-agenda-todo)
743         (org-agenda-priority, org-agenda-show-new-time)
744         (org-agenda-clock-in, org-agenda-clock-out): Remove useless
745         arguments when calling `org-move-to-column'.
747         * org.el (org-refile): Fix calling with a numeric prefix argument
748         of 3 to refile and keep.
750         * org-clock.el (org-clock-get-table-data): When :link is `t' in
751         the clocktable parameters, bracket links in the clocktable should
752         only contain their description, other C-c C-o will try to open the
753         bracket link at point instead of the headline.
755         * org-agenda.el (org-agenda-todo): Always restore the window state
756         after `org-agenda-change-all-lines' has been called.
757         (org-agenda-open-link): Don't throw an error when trying to open a
758         link when the point is on a place that is not associated with a
759         buffer.
761         * ox-latex.el (org-latex-link): Escape `%' characters.
763         * org.el (org-entry-get-with-inheritance): Remove wrong quote.
764         (org-entry-get): Only try to combine file properties with local
765         properties when the property drawer contains such local property,
766         not when the property drawer exists.
768         * ox-latex.el (org-latex-link):
769         * ox-html.el (org-html-link):
770         * ox-beamer.el (org-beamer-link): Fix links to radio targets.
772         * ox-ascii.el (org-ascii-link): For links to a radio target, use
773         the link, not the target.
775         * org.el (org-do-emphasis-faces): Explicitly prevent nested
776         emphasis.
777         (org-insert-heading): Don't remove whitespaces following an empty
778         headline.
780         * org-timer.el (org-timer-stop): Set `org-timer-current-timer' to
781         nil.
783         * org.el (org-store-link): Ensure desc is not nil before matching
784         a regexp against it.  Fall back on an empty string when no
785         description is available.
787         * org-agenda.el (org-agenda-list-stuck-projects): Bugfix: set
788         `org-agenda-buffer-name'.
790         * org-capture.el (org-capture-finalize): Ensure to widen the
791         buffer when the target buffer is not initially narrowed.
793         * org-compat.el (org-move-to-column): Fix bug about ignoring
794         bracket links visibility status in tables with S-RET.
796         * org-src.el (org-edit-src-find-region-and-lang): Check if we are
797         in a table.el table last.
799         * org.el (org-delete-property): Don't suggest to delete the
800         CATEGORY property when the category is not explicitely set in the
801         property drawer.  Also enforce matching when completing.
802         (org-insert-heading): Fix regression: with two universal prefixes,
803         insert heading at the end of the subtree.
804         (org-insert-todo-heading): Bugfix: only enforce the first TODO
805         state when arg is '(4).
807         * org-agenda.el (org-agenda-skip-subtree-if): Fix docstring.
809         * org.el (org-contextualize-validate-key): Fix bug: perform the
810         check even when (buffer-file-name) returns `nil'.
812         * org-colview.el (org-columns-display-here): Let-bind `fm'.
814         * org.el (org-emphasis-alist): Use `org-verbatim' for =text=
815         and `org-code' for ~text~.
816         (org-open-link-marker): Fix typo in docstring.
818         * org-colview.el (org-columns-display-here): Fix the column
819         view for numbers with a format specifier (e.g. {+; %5.1f}).
821         * org-src.el (org-edit-src-code): Throw a warning instead of
822         an error when loading the mode fails, otherwise the user is
823         left with unusable buffers.
825         * org-table.el (org-table-copy-down)
826         (org-table-find-dataline, org-table-move-row)
827         (org-table-insert-hline, org-table-kill-row):
828         Use `org-move-to-column' with the IGNORE-INVISIBLE arg set to `t', so
829         that abbreviated rows don't interfer with setting the cursor back
830         at the correct position.
832         * org.el (org-agenda-prepare-buffers): Use `save-excursion'
833         instead of `save-window-excursion'.
834         (org-file-contents): Return an empty string instead of the
835         message.
836         (org-open-at-point): Fix bug when opening a plain link followed by
837         a bracket link.
838         (org-ctrl-c-ctrl-c): Fix behavior when hitting C-c C-c on LaTeX
839         formulas in tables.
840         (org-refile--get-location): New internal function using a wider
841         set of possible refile locations.
842         (org-refile-get-location): Use it.
843         (org-refile): Fix bug when refiling the last subtree of the
844         buffer: don't leave out the last character.
845         (org-sort-entries): Restore the point location when there is
846         nothing to sort.
848         * org-table.el (org-table-field-info): Throw a user error when not
849         at a table.
851         * org-agenda.el (org-agenda-drag-line-forward):
852         Call `org-agenda-mark-clocking-task' when done.
853         (org-agenda-mark-clocking-task): Small refactoring.
855         * org-compat.el (org-set-transient-map): Alias pointing at
856         `set-transient-map' if defined, at `set-temporary-overlay-map'
857         otherwise.
859         * org-agenda.el (org-agenda-next-item)
860         (org-agenda-previous-item, org-agenda-toggle-archive-tag)
861         (org-agenda-todo, org-agenda-priority, org-agenda-clock-in)
862         (org-agenda-clock-out): Put the cursor back on the correct
863         column, when possible.
864         (org-agenda-todo): When `org-clock-out-when-done' is `t', also
865         remove the current clock overlay.
867         * org.el (org-format-latex-options): Fix docstring.
869         * ox.el (org-export--get-subtree-options): When using the headline
870         as a title for a subtree export, only take the true heading, no
871         TODO keyword, no priority cookie, no tag.
873         * org.el (customize-package-emacs-version-alist): Fix Org version
874         for Emacs 24.4.
876         * org.el (org-demote): Ignore invisible text when aligning tags.
877         (org-set-tags): When JUST-ALIGN is 'ignore-column, ignore
878         invisible text when restoring the cursor to the correct column.
880         * ob-python.el (org-babel-python-var-to-python): Bugfix: Strip
881         properties before formatting the results.
883         * org-agenda.el (org-agenda-regexp-filter-preset): Fix typo in
884         docstring.
885         (org-agenda-reapply-filters): New function.
886         (org-agenda-drag-line-forward): Rewrite to fix a bug when used
887         in filtered agendas.
888         (org-agenda-drag-line-backward): Rewrite using
889         `org-agenda-drag-line-forward'.
891         * ob-table.el (org-sbe): Rename from `sbe'.
893         * org.el (org-store-link): When a link has been stored, always
894         returns it.
896         * ob-python.el (org-babel-python-var-to-python): Fix code typo.
898         * org-entities.el (org-entities-help): Prevent the display of
899         pretty entities, as this help buffer is meant to list literal
900         strings, not utf-8 representations.
902 2014-04-22  Benjamin Drieu  <bdrieu@april.org>
904         * org.el (org-store-link): Fix selection of the function to store
905         the link.
907 2014-04-22  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>
909         * org.el (org-entry-get-with-inheritance): Temporarily let-bind
910         `org-file-properties', `org-global-properties' and
911         `org-global-properties-fixed' to nil before calling
912         `org-entry-get' on entries up the hierarchy from the queried
913         entry.
915 2014-04-22  Justin Gordon  <justin.gordon@gmail.com>
917         * ox-md.el (org-md-separate-elements): Fix blank line insertion
918         between elements.
920         * ox-md.el (org-md-inner-template): New function.
922 2014-04-22  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
924         * org-bibtex.el (org-bibtex-headline): Fix insertion of keywords
925         of unknown BibTeX entries.
927 2014-04-22  Markus Hauck  <markus1189@gmail.com>  (tiny change)
929         * org-agenda.el (org-agenda-get-scheduled):
930         If `org-agenda-skip-scheduled-if-deadline-is-shown' is set to
931         'repeated-after-deadline, still show tasks without any deadline
933 2014-04-22  Michael Brand  <michael.ch.brand@gmail.com>
935         * org-table.el (org-table-fix-formulas): Handle multiple #+TBLFM
936         lines with `forward-line'.
938 2014-04-22  Michael Weylandt  <michael.weylandt@gmail.com>  (tiny change)
940         * ox-latex.el (org-latex-export-to-latex): Downcase the language
941         name when using minted highlighting for src block exports.
943 2014-04-22  Nick Dokos  <ndokos@gmail.com>
945         * org-mobile.el (org-mobile-create-index-file): delete :grouptags
946         entries from tags list when creating the org-mobile index file.
948 2014-04-22  Nicolas Goaziou  <n.goaziou@gmail.com>
950         * ox.el (org-export-copy-to-kill-ring): Comply to docstrings
951         standards.
953         * org.el (org-sparse-tree): Fix code typo.  Small refactoring.
955         * ox-latex.el (org-latex-link):
956         * ox-html.el (org-html-link):  Do not expand absolute file names
957         and do not try to fix hierarchy part, as it is already taken care of
958         at the parser level.
960         * ox-md.el (org-md-link): Ditto.  Also fix absolute file names.
962         * ox-odt.el (org-odt-link):
963         * ox-man.el (org-man-link):
964         * ox-texinfo.el (org-texinfo-link):
965         * org-element.el (org-element-link-parser): Fix ill-defined "file"
966         type links.  Expand absolute file names in the process.
968         * org.el (org-make-link-regexps): Use `regexp-opt' instead of
969         `mapconcat' and `regexp-quote'.
971         * ox-html.el (org-html-link):
972         * ox-latex.el (org-latex-link):
973         * ox-man.el (org-man-link):
974         * ox-odt.el (org-odt-link):
975         * ox-html.el (org-html-link):
976         * ox-latex.el (org-latex-link):
977         * ox-man.el (org-man-link):
978         * ox-odt.el (org-odt-link):
979         * ox-texinfo.el (org-texinfo-link): Append "//" after some link
980         types.
982         * ox-md.el (org-md-link):
983         * org.el (org-make-link-regexps): Allow optional double slashes
984         after type.  Small refactoring.
986         * org-element.el (org-element-headline-parser): Tiny refactoring.
988         * org-element.el (org-element-headline-parser): Correctly parse
989         blank lines after a headline.
991         * org-element.el (org-element-table-cell-parser)
992         (org-element-table-cell-successor): Recognize cell even when last
993         vertical bar is missing.
995         * ox-md.el (org-md-example-block): handle switches and references
996         in source blocks.
998         * org.el (org-latex-packages-alist)
999         (org-latex-default-packages-alist): Update docstrings.
1001         * ox-ascii.el (org-ascii--unique-links): Ignore white spaces when
1002         uniquifying links in section.
1004         * ox-odt.el (org-odt-template): Ignore blank titles.
1006         * ox-publish.el (org-publish-find-title): Fix (invalid-read-syntax
1007         "#").
1009         * ox-ascii.el (org-ascii-link):
1010         * ox-beamer.el (org-beamer-link):
1011         * ox-html.el (org-html-link):
1012         * ox-latex.el (org-latex-link):
1013         * ox-md.el (org-md-link):
1014         * ox-odt.el (org-odt-link): Update radio target export according
1015         to recent changes.
1017         * org-element.el (org-element-all-successors)
1018         (org-element-object-restrictions): Prioritize `link' over other
1019         successors in order to find radio links starting with another
1020         syntax object (e.g., an entity).  Also allow text markup within
1021         radio targets.
1022         (org-element-link-parser): Add contents to radio targets.
1024         * org.el (org-make-target-link-regexp): Fix regexp so it can match
1025         targets starting with an Org object (e.g., an entity).
1026         (org-ctrl-c-ctrl-c): Fix function when applied on an object contained
1027         within a radio target.
1029         * org.el (org-mode): Change "\" and "~" characters syntax from
1030         `punctuation' to `symbol' so they are on par with other characters
1031         used in Org syntax (e.g., "/", "*"...).
1033         * ox-beamer.el (org-beamer-publish-to-pdf):
1034         * ox-latex.el (org-latex-publish-to-pdf): Ensure ".tex" file is
1035         generated in the same directory as the ".org" file.
1037         * ox-latex.el (org-latex-headline): Hard-code "\underline" in
1038         sections because "\uline" ("ulem" package) returns an error and
1039         "\ul" ("soul" package) doesn't support chinese characters.
1041         * ox-ascii.el (org-ascii-link): Correctly handle case mismatch
1042         between radio targets and radio links.
1044         * org-element.el (org-element-link-parser): "radio" links have
1045         their path downcased to avoid introducing case mismatch with their
1046         relative radio target.  With this change it is also necessary to
1047         add contents to them, since `:path' property no longer matches
1048         real value of the link.
1049         (org-element-radio-target-parser): Downcase value as explained
1050         above.  Store the initial value in a new `:raw-value' property.
1052         * org-element.el (org-element-context): Fix parsing of bold
1053         objects at the beginning of a headline.
1055         * org-element.el (org-element-context): Fix timestamps parsing.
1057         * ox-beamer.el (org-beamer-item): Insert the export snippet right
1058         after the first \item, not all of them.
1060         * org-element.el (org-element--list-struct): Fix regexp.
1062         * org-element.el (org-element-inlinetask-parser): Fix parsing when
1063         regular and degenerate inlinetasks are mixed in the section.
1065         * ox-md.el (org-md-link): Generate md links to other Org files
1066         instead of html links.  Do not confuse caption and alt-text.
1067         Provide "img" as default alt-text.
1069         * org-element.el (org-element-normalize-contents): Do not ignore
1070         empty lines when an object follows.
1071         (org-element-interpret-data): Do not remove properties by
1072         side-effect when interpreting a string, as it also removes them
1073         from the parse tree, making the string unusable without its
1074         :parent property.
1076         * ob-exp.el (org-babel-exp-process-buffer): Also check
1077         `org-src-preserve-indentation' to know when to preserve indentation.
1078         (org-babel-exp-code-template): Include switches in template.
1079         (org-babel-exp-code): Provide %switches placeholder.
1081         * ox-latex.el (org-latex-plain-list): Do not automatically
1082         enclose value for :options attribute within square brackets.
1083         Instead, append them verbatim next to the block name, as special
1084         blocks do.
1086         * ob-exp.el (org-babel-exp-code): Fix export of src blocks with
1087         flags.
1088         (org-babel-exp-process-buffer): Make processing more robust when
1089         results are inserted before source block or when source block is
1090         followed by multiple blank lines.
1092         * ox.el (org-export-insert-default-template): Only insert
1093         keywords and options relatives to the selected back-end.
1094         Ignore those relatives to its parent in the case of a derived back-end.
1096         * ox-beamer.el: Remove unnecessary package definitions in default
1097         class.
1099         * ox-latex.el (org-latex-headline, org-latex-item): Fix items
1100         starting with a square bracket.
1102         * org.el (org-mode-restart): Fix turning off `org-indent-mode'
1103         when necessary.
1104         (org-get-previous-line-level): Do not call `org-current-level'
1105         twice unless necessary.  Also, avoid using `line-number-at-pos'
1106         when the information needed is to know if point is in the first
1107         line of the visible part of the buffer.
1109         * ob-core.el (org-babel-get-inline-src-block-matches): Do not
1110         compute line number if all is needed is to know if we're on the
1111         first one.
1113         * ox-md.el (org-md-item): Do not return an error when exporting
1114         an empty item.
1116         * ox-beamer.el (org-beamer-select-environment): Function doesn't
1117         work if fast tag selection is disabled, so make sure it is always
1118         on, independently on user's configuration.
1120 2014-04-22  Nikolai Weibull  <now@disu.se>  (tiny change)
1122         * org.el (org-mode): Add guard around set-face-foreground.
1124 2014-04-22  Rasmus  <w530@pank.eu>
1126         * ox-html.el (org-html-html5-elements): Drop reference to hgroup.
1128 2014-04-22  Rick Frankel  <rick@rickster.com>
1130         * ox-html.el (org-html-link): Unescape org-escaped links an
1131         re-escape for html (browser).
1133 2014-04-22  Sacha Chua  <sacha@sachachua.com>
1135         * org.el (org-refresh-properties): Don't throw an error when
1136         reaching the end of the buffer.
1138 2014-04-22  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
1140         * org-bibtex.el (org-bibtex-read): Check string length before
1141         using aref.
1143 2014-04-22  Yasushi SHOJI  <yashi@atmark-techno.com>
1145         * ox-ascii.el (org-ascii--current-text-width): Convert `length'
1146         to `string-width'.
1147         (org-ascii--build-title, org-ascii--build-toc)
1148         (org-ascii--list-listings, org-ascii--list-tables)
1149         (org-ascii-template--document-title)
1150         (org-ascii-inner-template, org-ascii-format-inlinetask-default)
1151         (org-ascii-format-inlinetask-default, org-ascii-item
1152         (org-ascii--table-cell-width, org-ascii-table-cell)
1153         (org-ascii--current-text-width): Likewise.
1155 2014-02-25  Glenn Morris  <rgm@gnu.org>
1157         * org-version.el (org-odt-data-dir):
1158         Remove incorrect, duplicate definition.  (Bug#16734)
1160 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
1162         Spelling fixes.
1163         * org-irc.el (org-irc-ellipsify-description): Rename from
1164         org-irc-elipsify-description.  All uses changed.
1166 2013-01-07  Bastien Guerry  <bzg@gnu.org>
1168         * org-clock.el (org-clock-cancel-hook)
1169         (org-clock-leftover-time): Fix typo in docstring.
1171         * ox-odt.el (org-odt--frame): Add a draw:name property to the
1172         draw:frame tag.
1173         (org-odt-format-label): Don't use short-caption at all.
1175         * org-rmail.el (org-rmail-follow-link): Don't raise an error when
1176         no article is matched.
1178         * org.el (org-set-tags): Ignore invisible text when restoring
1179         cursor position.
1180         (org-refile-get-location): Check for a refile position when the
1181         position is not nil, otherwise allow to create the parent node if
1182         the user requests it.
1183         (org-refile-allow-creating-parent-nodes): Fix typo in
1184         docstring.
1185         (org-entry-get): Minor docstring enhancement.
1186         (org-set-startup-visibility): Bugfix.
1187         (org-shiftcontrolup, org-shiftcontroldown):
1188         When `org-support-shift-select' is not `nil', let-bind it to nil if
1189         point is on a clock log.  Otherwise throw an error.
1191         * ob-lob.el (org-babel-lob-files): Fix custom type.
1192         (org-babel-lob-ingest): Small docstring fix.
1194         * org-agenda.el (org-cmp-ts): Fix bug: interpret `late' as
1195         `later than any date' instead of `later than today'.
1197         * org.el (org-do-emphasis-faces): Handle false positives by
1198         restarting the re-search one char after the beginning of the
1199         match, not one char before its ending.
1200         (org-entry-put): Check that the value provided is a string.  If it
1201         is nil, convert it to the empty string.
1203         * ob-latex.el (org-babel-latex-htlatex-packages): Use repeat
1204         instead of list as the defcustom type.
1206         * ox.el (org-export-with-creator):
1207         * org.el (org-loop-over-headlines-in-active-region)
1208         (org-mouse-1-follows-link, org-provide-todo-statistics):
1209         * org-agenda.el (org-agenda-custom-commands-local-options)
1210         (org-agenda-start-with-log-mode)
1211         (org-agenda-show-inherited-tags): Don't quote const values.
1213         * ox-texinfo.el (org-texinfo-def-table-markup):
1214         * org-inlinetask.el (org-inlinetask-show-first-star):
1215         * ob-maxima.el (org-babel-maxima-command): Add type.
1217         * org-table.el (org-table-fix-formulas): Handle multiple
1218         #+tblfm: lines.
1220         * ox.el (org-export-to-file): Fix typo in docstring.
1222         * org.el (org-self-insert-command)
1223         (orgtbl-self-insert-command): Change the value of the
1224         `delete-selection' property to allow other commands like
1225         `electric-pair-will-use-region' to be run before deletion.
1227         * org-attach.el (vc-git): Require.
1228         (org-attach-commit): Check whether git is installed.
1230 2013-01-07  Nicolas Goaziou  <n.goaziou@gmail.com>
1232         * ox-icalendar.el (org-icalendar--combine-files): Make sure
1233         anniversaries do not end up in *Message* buffer instead of the ICS
1234         file.
1236         * ox-html.el: Clean up "FIXME" comments.
1238         * ox-publish.el (org-publish-resolve-external-fuzzy-link):
1239         Fix docstring.
1241         * ox.el (org-export-smart-quotes-regexps): Fix smart quote
1242         detection when it is followed by an open parenthesis syntax class.
1244         * org-element.el (org-element-inline-babel-call-successor):
1245         Use original regexp to stay up-to-date with Babel changes.
1246         (org-element--affiliated-re): Fix affiliated keyword regexp.
1248         * ox-org.el (org-org-identity): Since back-end specific keywords
1249         are stripped from output, also remove attr_backend keywords.
1250         (org-babel-exp-process-buffer): Fix duplicate evaluation with
1251         :wrap src.
1252         (org-babel-exp-non-block-elements): Remove function.
1254 2013-01-07  Ted Wiles  <thewiles@wharton.upenn.edu>  (tiny change)
1256         * org-habit.el (org-habit-parse-todo): Match all TODO keywords,
1257         not just "TODO".
1259 2013-01-07  U-usuario  <rbenit68@yahoo.es>  (tiny change)
1261         * ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Fix code
1262         typo.
1264 2013-01-07  Vladimir Lomov  <lomov.vl@gmail.com>  (tiny change)
1266         * ox-html.el (org-html-style-default): New classes caption.t-above
1267         and caption.t-bottom.
1268         (org-html-table): Use new classes.
1270 2013-12-23  Chong Yidong  <cyd@gnu.org>
1272         * org.el (orgstruct-make-binding): Call set-transient-map instead
1273         of old name set-temporary-overlay-map.
1275 2013-12-06  Achim Gratz  <Stromeko@Stromeko.DE>
1277         * org-crypt.el: Declare `epg-context´.
1278         (org-encrypt-string): Correct indentation.
1280         * org.el (org-version): Replace `_version´ by `version1´.
1282 2013-12-06  Alexander Vorobiev  <alexander.vorobiev@gmail.com>  (tiny change)
1284         * org-compat.el (org-get-x-clipboard): Use w32-get-clipboard-data
1285         to get the clipboard data under Windows.
1287 2013-12-06  Bastien Guerry  <bzg@gnu.org>
1289         * ox.el (org-export-with-sub-superscripts):
1290         * org.el (org-use-sub-superscripts): Fix version and enhance
1291         docstring again.
1293         * ox.el (org-export-with-sub-superscripts):
1294         * org.el (org-use-sub-superscripts): Enhance docstrings.
1296         * org-macs.el (org-autoload): Delete.
1298         * org-docview.el ("docview"): Fix declarations and require
1299         doc-view directly.
1301         * org-id.el (org-id-copy)
1302         (org-id-get-with-outline-path-completion)
1303         (org-id-get-with-outline-drilling, org-id-new):
1305         * org-colview.el:
1306         (org-colview-initial-truncate-line-value)
1307         (org-columns-open-link, org-string-to-number):
1308         * org-clock.el:
1309         (org-clock-put-overlay, org-count-quarter, org-clock-loaded):
1310         * org-archive.el (org-get-local-archive-location):
1311         * org-agenda.el (org-agenda-todo-custom-ignore-p):
1312         Autoload.
1314         * org.el (org-return-follows-link):
1315         * ob-python.el (org-babel-python-command): Don't use :set.
1317         * ox-odt.el (org-odt-content-template-file): Fix version.
1319         * ox-texinfo.el (org-texinfo-filename): Fix default value.
1320         (org-texinfo-format-headline-function): Use 'ignore as the
1321         default value.
1322         (org-texinfo-format-drawer-function): Use a function as the
1323         default value.  Update docstring.
1324         (org-texinfo-drawer): Always use
1325         `org-texinfo-format-drawer-function' as it is now a function
1326         by default.
1327         (org-texinfo-headline):
1328         Compare `org-texinfo-format-headline-function' against 'ignore.
1329         (org-texinfo-inlinetask):
1330         Compare `org-texinfo-format-inlinetask-function' against 'ignore.
1332         * ox-odt.el (org-odt-format-drawer-function): Use a function as
1333         the default value.  Update docstring.
1334         (org-odt-format-headline-function)
1335         (org-odt-format-inlinetask-function): Fix default value.
1336         (org-odt-drawer): Always use `org-odt-format-drawer-function'
1337         as it is now a function by default.
1338         (org-odt-format-headline--wrap):
1339         Compare `org-odt-format-headline-function' against 'ignore.
1341         * ox-latex.el (org-latex-format-drawer-function): Use a function
1342         as the default value.  Update docstring.
1343         (org-latex-format-inlinetask-function): Fix default value.
1344         (org-latex-drawer): Always use
1345         `org-latex-format-drawer-function' as it is now a function by
1346         default.
1347         (org-latex-inlinetask):
1348         Compare `org-latex-format-inlinetask-function' against 'ignore.
1350         * ox-html.el (org-html-format-drawer-function): Use a function as
1351         the default value.  Update docstring.
1352         (org-html-format-headline-function)
1353         (org-html-format-inlinetask-function): Fix default value.
1354         (org-html--format-toc-headline)
1355         (org-html-format-headline--wrap):
1356         Compare `org-html-format-headline-function' against 'ignore.
1357         (org-html-inlinetask):
1358         Compare `org-html-format-inlinetask-function' against 'ignore.
1360         * ox-ascii.el (org-ascii-format-drawer-function): Use a
1361         function as the default value.  Update docstring.
1362         (org-ascii-drawer): Always use
1363         `org-ascii-format-drawer-function' as it is now a function by
1364         default.
1365         (org-ascii-format-inlinetask-default): New function.
1366         (org-ascii-format-inlinetask-function):
1367         Use `org-ascii-format-inlinetask-default' as the default.
1369         * org.el (org-mouse-1-follows-link): Use :set to set the default
1370         value.  Update custom type.
1371         (org-log-note-headings): Fix order or list items in the custom
1372         type.
1373         (orgstruct-heading-prefix-regexp): Use an empty string as the
1374         default value.  Use 'regexp as the custom type.
1375         (orgstruct-make-binding): Tiny docstring enhancement.
1376         Assume `orgstruct-heading-prefix-regexp' is a string.
1378         * org-agenda.el (org-agenda-search-view-max-outline-level):
1379         Set default value to 0.  Update docstring.
1380         (org-agenda-deadline-leaders): Fix custom type.
1381         (org-search-view):
1382         Assume `org-agenda-search-view-max-outline-level' is a number.
1384         * ob-ruby.el (org-babel-ruby-nil-to): Fix custom type.
1386         * ob-python.el (org-babel-python-mode): Use :set to set the
1387         default value.
1388         (org-babel-python-None-to): Fix custom type.
1390         * ob-plantuml.el (org-plantuml-jar-path): Fix default value.
1391         (org-babel-execute:plantuml): Assume `org-plantuml-jar-path' is a
1392         string.
1394         * ob-latex.el (org-babel-latex-htlatex): Fix default value.
1395         (org-babel-latex-htlatex-packages): Fix custom type.
1396         (org-babel-execute:latex): Assume `org-babel-latex-htlatex' is a
1397         string.
1399         * ox-odt.el (org-odt-display-outline-level): Fix version.
1401         * ox-odt.el (org-odt-inline-formula-rules)
1402         (org-odt-inline-image-rules, org-odt-use-date-fields): Add version
1403         and package-version.
1405         * ox-html.el (org-html-format-drawer-function)
1406         (org-html-format-headline-function)
1407         (org-html-format-inlinetask-function)
1408         (org-html-creator-string): Add version and package-version.
1410         * ox-html.el (org-html-text-markup-alist): Fix version.
1412         * org-agenda.el (org-agenda-set-restriction-lock): Autoload.
1414         * ob-calc.el (org--var-syms): Rename from `var-syms'.
1416         * ob-lilypond.el (ly-compile-lilyfile): Remove redundant
1417         let-binding.
1419         * ob-table.el (sbe): Move debug declaration.
1421         * org-clock.el (org--msg-extra): Rename from `msg-extra'.
1423 2013-12-06  Nicolas Goaziou  <n.goaziou@gmail.com>
1425         * org.el (org-ctrl-c-ctrl-c): When point is on an unsupported
1426         object, look for something to do at a higher level instead of
1427         bailing out.
1429         * ox-html.el (org-html-format-latex): Add an argument.  Ensure
1430         latex header is the same as specified in the original buffer when
1431         exporting a LaTeX fragment or environment.
1432         (org-html-latex-environment, org-html-latex-fragment):
1433         Apply signature change.
1435         * ox-publish.el (org-publish-cache-ctime-of-src): Return an error
1436         when publishing a non-existent file.
1438         * org-element.el (org-element-paragraph-separate): More accurate
1439         regexp.
1441         * org.el (org-entry-get): Widen buffer in order to retrieve
1442         properties, as `org-entry-properties' and
1443         `org-entry-get-with-inheritance' already do.
1445         * ox-html.el (org-html--format-toc-headline): Add missing headline
1446         number in TOC entries.
1448         * org.el (org-entry-properties): Ignore narrowing when retrieving
1449         current headline properties.
1451 2013-12-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
1453         * org-crypt.el (org-encrypt-string, org-encrypt-entry)
1454         (org-decrypt-entry): Fix warning.
1456 2013-11-17  Paul Eggert  <eggert@cs.ucla.edu>
1458         Spelling fixes.
1459         * ob-python.el (org-babel-python-with-earmuffs):
1460         Rename from org-babel-python-with-earmufs.  All uses changed.
1461         (org-babel-python-without-earmuffs):
1462         Rename from org-babel-python-without-earmufs.  All uses changed.
1464 2013-11-12  Bastien Guerry  <bzg@gnu.org>
1466         * org-agenda.el (org-agenda-set-restriction-lock): Autoload.
1468 2013-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1470         Address some byte-compiler warnings.
1471         * ob-calc.el (org--var-syms): Rename from `var-syms'.
1472         * ob-lilypond.el (ly-compile-lilyfile): Remove redundant let-binding.
1473         * ob-table.el (sbe): Move debug declaration.
1474         * org-clock.el (org--msg-extra): Rename from `msg-extra'.
1475         * org.el (org-version): Avoid var name starting with _.
1476         (org-inhibit-startup, org-called-with-limited-levels)
1477         (org-link-search-inhibit-query, org-time-was-given)
1478         (org-end-time-was-given, org-def, org-defdecode, org-with-time):
1479         * org-colview.el (org-agenda-overriding-columns-format):
1480         * org-agenda.el (org-agenda-multi, org-depend-tag-blocked)
1481         (org-agenda-show-log-scoped):
1482         * ob-python.el (py-which-bufname, python-shell-buffer-name):
1483         * ob-haskell.el (org-export-copy-to-kill-ring):
1484         * ob-exp.el (org-link-search-inhibit-query):
1485         * ob-R.el (ess-eval-visibly-p):
1486         * ob-core.el (org-src-window-setup): Declare before use.
1487         (org-babel-expand-noweb-references): Remove unused `blocks-in-buffer'.
1488         * ox-odt.el (org-odt-hfy-face-to-css):
1489         * org-src.el (org-src-associate-babel-session, org-src-get-lang-mode):
1490         * org-bibtex.el (org-bibtex-get, org-bibtex-ask, org-bibtex)
1491         (org-bibtex-check):
1492         * ob-tangle.el (org-babel-tangle, org-babel-spec-to-string)
1493         (org-babel-tangle-single-block, org-babel-tangle-comment-links):
1494         * ob-table.el (sbe):
1495         * ob-sqlite.el (org-babel-sqlite-expand-vars):
1496         * ob-sql.el (org-babel-sql-expand-vars):
1497         * ob-shen.el (org-babel-execute:shen):
1498         * ob-sh.el (org-babel-execute:sh, org-babel-sh-evaluate):
1499         * ob-scala.el (org-babel-scala-evaluate):
1500         * ob-ruby.el (org-babel-ruby-table-or-string)
1501         (org-babel-ruby-evaluate):
1502         * ob-python.el (org-babel-python-table-or-string)
1503         (org-babel-python-evaluate-external-process)
1504         (org-babel-python-evaluate-session):
1505         * ob-picolisp.el (org-babel-execute:picolisp):
1506         * ob-perl.el (org-babel-perl-evaluate):
1507         * ob-maxima.el (org-babel-execute:maxima):
1508         * ob-lisp.el (org-babel-execute:lisp):
1509         * ob-java.el (org-babel-execute:java):
1510         * ob-io.el (org-babel-io-evaluate):
1511         * ob-haskell.el (org-babel-execute:haskell):
1512         * ob-fortran.el (org-babel-execute:fortran):
1513         * ob-exp.el (org-babel-exp-code):
1514         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
1515         * ob-ditaa.el (org-babel-execute:ditaa):
1516         * ob-core.el (org-babel-execute-src-block, org-babel-sha1-hash)
1517         (org-babel-parse-header-arguments, org-babel-reassemble-table)
1518         (org-babel-goto-src-block-head, org-babel-mark-block)
1519         (org-babel-expand-noweb-references, org-babel-script-escape)
1520         (org-babel-process-file-name):
1521         * ob-clojure.el (org-babel-execute:clojure):
1522         * ob-calc.el (org-babel-execute:calc):
1523         * ob-awk.el (org-babel-execute:awk):
1524         * ob-R.el (org-babel-expand-body:R):
1525         * ob-C.el (org-babel-C-execute): Avoid deprecated ((lambda) ...).
1527 2013-11-12  Glenn Morris  <rgm@gnu.org>
1529         * ox-html.el (org-html-scripts): Add 2013 to copyright years.
1530         (org-html-infojs-template): Copyright holder to FSF.
1532 2013-11-12  Aaron Ecay  <aaronecay@gmail.com>
1534         * ox-latex.el (org-latex-inline-image-rules): Add "svg" to
1535         supported filetypes.
1536         (org-latex--inline-image): Implement SVG files inclusion.
1537         (org-latex-headline): Don’t insert alternate title if identical to
1538         regular one.
1540         * ob-python.el: Update the arglist passed to `declare-function'
1541         for `run-python'.
1543         * ob-tangle.el (org-babel-tangle): Use `light' argument to
1544         `org-babel-get-src-block-info'.
1546         * ob-core.el (org-babel-execute-src-block): Return nil in case of
1547         `:results none'.  Also run `org-babel-after-execute-hook' in this
1548         circumstance.
1550         * org-id.el (org-id-locations-save): Bind print-(level,length) to
1551         nil in this function.
1553         * ob-R.el (org-babel-R-graphics-devices): New defvar.
1554         (org-babel-R-construct-graphics-device-call): Use it instead of a
1555         hard-coded list of graphics devices.
1557         * ob-core.el (org-babel-when-in-src-block): New macro.
1558         (org-babel-execute-src-block-maybe)
1559         (org-babel-expand-src-block-maybe)
1560         (org-babel-load-in-session-maybe, org-babel-pop-to-session-maybe):
1561         Use it.
1562         (org-babel-execute-src-block): Use `copy-tree' to prevent setf
1563         from modifying users variables withing let-bound `info' variable.
1565         * ob-exp.el (org-export-babel-evaluate): Add a 'inline-only
1566         option.
1567         (org-babel-exp-results): Implement 'inline-only for
1568         `org-export-babel-evaluate'.
1570         * org.el (org-edit-special): Use prefix arg.
1572         * ob-awk.el (org-babel-expand-body:awk, ob-picolisp.el)
1573         (org-babel-expand-body:picolisp): Remove optional arg.
1575         * ob-R.el (org-babel-R-initiate-session): Handle case where the
1576         session buffer exists, but does not have a live process.
1577         (org-babel-R-construct-graphics-device-call): Change file
1578         extension of tikz graphics files to .tikz.
1580         * org-src.el (org-edit-src-exit): Don't modify the undo list when
1581         inserting the code.
1583         * ox-latex.el (org-latex-plain-text): Properly escape "~" for
1584         LaTeX export.
1585         (org-latex-image-default-option): Change default value to "".
1586         (org-latex-image-default-width, org-latex-image-default-height):
1587         New variables.
1588         (org-latex-inline-image-rules): Make .tikz files as exportable
1589         with LaTeX.
1590         (org-latex--inline-image): Support tikz images.  Also support
1591         separate :width and :height parameters for images.
1593         * org-bibtex.el (org-bibtex-ask): Use `visual-line-mode' instead
1594         of longlines-mode.
1596 2013-11-12  Abdó Roig-Maranges  <abdo.roig@gmail.com>
1598         * org.el (org-format-latex): Do not re-generate a LaTeX preview if
1599         the image already exists.
1601         * org-agenda.el (org-agenda-search-view-max-outline-level):
1602         New option to define the max level for the entries shown by the search
1603         view.  A value of 1 means to show the top parent of the entries.
1605         * org.el (org-create-formula-image-with-dvipng): Fix bug that made
1606         this function fail with no :foreground and :background attributes
1607         set, due to bad handling of "Transparent" color.  Fix bug when
1608         colors are not `default'.
1609         (org-format-latex-options): Add `auto' to docstring.
1610         (org-format-latex): Get face colors at point and put them inside
1611         opt.
1612         (org-create-formula-image-with-imagemagick): Fix bug when handling
1613         "Transparent" bg color.
1614         (org-dvipng-color-format): Same as `org-latex-color-format' for
1615         dvipng-style color specification.
1617 2013-11-12  Achim Gratz  <Stromeko@Stromeko.DE>
1619         * ob-core.el (org-babel-check-confirm-evaluate): Return result of
1620         evaluating the function pointed to by `org-confirm-babel-evaluate'
1621         when it is a functionp and its value as a variable otherwise.
1622         (org-babel-get-rownames, org-table.el)
1623         (org-table-transpose-table-at-point): Replace the inadvertent use
1624         of mapcar* (from cl) by plain mapcar and direct cons manipulation.
1625         (org-babel-params-from-properties):
1626         Use `org-babel-current-src-block-location' for evaluating new-style
1627         header-argument properties.  Remove superfluous save-match-data
1628         clauses.  Comment which properties get evaluated where.
1629         (org-babel-insert-header-arg, org-babel-parse-src-block-match):
1630         Replace `if' with empty else part by `when' for readability.
1631         (org-babel-params-from-properties): Inquire for language specific
1632         and default header properties.  Language specific header
1633         properties take precedence over default header properties and
1634         old-style header property specifications.
1636         * org.el (org-re-property): Re-implement using full regex for
1637         `org-re-property'.  Add optional argument LITERAL to flag when
1638         PROPERTY should to be regex-quoted.  Move before definition of
1639         `org-re-property'.
1640         (org-re-property-keyword): Remove, functionality is subsumed by
1641         `org-re-property'.
1642         (org-property-re): Define using `org-re-property'.
1643         Improve definition so that this regex can be
1644         (org-entry-get, org-property-values): Adjust match number for
1645         PROPVAL.  (org-entry-put): Use `org-re-property' instead of
1646         `org-re-property-keyword'.
1647         used in all situations.  Extend docstring with explanation of
1648         matching groups.
1649         (org-at-property-p): Implement using `org-element-at-point'.
1650         (org-entry-properties, org-buffer-property-keys, org-indent-line):
1651         Use `org-property-re' and adjust match group numbers accordingly.
1653         * org-compat.el (define-obsolete-variable-alias)
1654         (define-obsolete-function-alias): Actually remove the third (and
1655         any following) argument from the argument list before calling the
1656         advised function.  Extend eval-and-compile clause and add advices
1657         for functions that have different parameter lists in XEmacs.
1658         Add variable definitions that XEmacs lacks .
1660         * ob-fortran.el (org-every): Declare.
1662         * org-element.el (org-element-node-property-parser):
1663         Use `org-property-re' and adjust match group numbers accordingly.
1664         Move `looking-at' out of the let clause to not rely on the
1665         unspecified evaluation order inside the let.
1667         * ob-eval.el, ob.el, org-macro.el, org-mhe.el: Require org-macs
1668         and org-compat as necessary.
1670         * ob-tangle.el (org-edit-special, org-store-link)
1671         (org-open-link-from-string): Declare functions.
1673         * org-macs.el (declare-function): Define macro to use autoload
1674         instead for XEmacs.
1676         * ox-html.el, ox-odt.el: XEmacs does not have table.el, so use
1677         'noerror on the require form.
1679         * ox-texinfo.el (org-texinfo-table-column-widths): Fix spliced
1680         argument list that XEmacs complains about by adding parenthesis.
1682         * ob-octave.el (org-babel-octave-initiate-session): If octave-inf
1683         can't be loaded, try octave instead before giving up.
1684         Emacs 24.3.50 and upwards replaces octave-inf with just plain octave.
1686         * org-id.el (org-id-update-id-locations): Autoload interactive
1687         function.
1689         * ob-core.el (org-babel-parse-inline-src-block-match):
1690         * ob-exp.el (org-babel-exp-src-block): Give header arguments from
1691         properties priority over default header arguments.
1693         * ob-sh.el (org-babel-sh-var-to-sh): When detecting a table, the
1694         first line could be the symbol `hline' rather than a list of table
1695         cells, so check for that as well.
1697         * org.el (org-table-clean-did-remove-column):
1698         * org-table.el (org-table-clean-did-remove-column): Move defvar,
1699         this dynamic variable is only used in org-table.
1701         * org-table.el (org-table-colgroup-info): Remove unused defvar for
1702         `org-table-colgroup-info'.
1703         (org-table-clean-before-export): Let-bind regular expression
1704         strings and remove unused matching group.
1705         Use `org-table-clean-did-remove-column' in cond statement rather than
1706         branching via if to avoid code duplication.  Remove the code
1707         associated with the removed `org-table-colgroup-info'.
1708         (orgtbl-export): Remove unused internal function.
1710         * org-macro.el (org-macro-expand): Do not try to interpret the
1711         macro replacement text as a regex so that escaped backslashes and
1712         commas in macro arguments will be interpreted correctly.
1714         * ob-perl.el (org-babel-perl-wrapper-method): Select output handle
1715         only after evaluation so that output is not mixed into results
1716         eavaluation.
1717         (org-babel-perl-evaluate): Fix the handling of results for
1718         ":results output" to also parse tables.  Use the same lambda
1719         construction as in ob-sh.el to avoid code duplication.
1721         * ob-exp.el (org-babel-exp-results, org-babel-lob-execute):
1722         Suppress user confirmation of the emacs-lisp wrapper execution
1723         around a lob call.
1725         * ob-perl.el (org-babel-perl-wrapper-method): Use TAB as separator
1726         for table results as expected by
1727         `org-babel-import-elisp-from-file´.
1729         * ob-core.el (org-babel-number-p): String match for any number
1730         moved first so that the match data for the length check does not
1731         become corrupted.
1732         (org-babel-confirm-evaluate-answer-no): Dynamically scoped
1733         variable, if bound non-nil the confirmation dialog will not be
1734         initiated and denial of evaluation is assumed.
1735         (org-babel-check-confirm-evaluate): New macro to establish
1736         bindings based on INFO.
1737         (org-babel-check-evaluate): New defsubst that checks if the
1738         evaluation of a code block is disabled.  Refactors the first part
1739         of the original function `org-babel-confirm-evaluate´.
1740         (org-babel-confirm-evaluate): New defsubst that checks if the user
1741         should be queried and returns the answer.  Keeps the second part
1742         of the original function `org-babel-confirm-evaluate´.
1743         Re-implement using bindings for common subexpressions.
1744         (org-babel-execute-src-block): Do not ask for confirmation if the
1745         cached result is current.
1746         (org-babel-call-process-region-original): Change declaration into
1747         definition with nil initial value at the beginning of the file and
1748         drop the later definition.  Add comment that the dynamic scoping
1749         of this variable is done for tramp.
1751         * org-table.el (org-table-eval-formula): The condition-case to
1752         check for must be "error", not "user-error".
1754         * ob-perl.el (org-babel-execute:perl): Pass `result-params´
1755         through to `org-babel-perl-evaluate´.
1756         (org-babel-variable-assignments:perl): Add "my" to variable
1757         declaration so that it becomes compatible with "use strict;".
1758         Use new internal formatting function `org-babel-perl--var-to-perl´.
1759         (org-babel-perl--var-to-perl): New internal function, uses Perl
1760         non-interpolating quoting on the string that defines the variable
1761         to suppress spurious interpretation of it as Perl syntax.
1762         (org-babel-perl-wrapper-method): Use a block and declare all
1763         variables as "my", also use Perl quoting throughout.  Redirect
1764         STDOUT to the temporary file so that simply "print" will put the
1765         results there.  Check the return value and output in table form if
1766         it is an ARRAY ref, otherwise print it without a final newline.
1767         (org-babel-perl-preface): Content of this variable is prepended to
1768         body before invocation of perl.  Rename input parameter body to
1769         ibody and let-bind body to concatentation of
1770         `org-babel-perl-preface' and ibody.  Implement results
1771         interpretation so that tables are easier to produce.
1773         * ob-eval.el (org-babel-eval): Use simplified version of
1774         `org-babel--shell-command-on-region´, we are the only caller of
1775         this function.
1776         (org-babel--shell-command-on-region):
1777         Replace `org-babel-shell-command-on-region´ with a much more simplified
1778         internal version, remove superfluous DOCSTRING and interactive
1779         clause, strip out all conditionals which were never used.  Prevent
1780         deletion of temporary input file to aid debugging when the symbol
1781         `org-babel--debug-input´ is bound and has non-nil value.
1783         * ob-tangle.el (org-babel-tangle): Do not change signature, a nil
1784         arg is even documented in the manual.
1786         * org-src.el: Change declaration of `org-babel-tangle´ to "arg"
1787         for first argument.
1789         * ob-core.el (org-babel-execute-src-block): Add binding for
1790         merged-params to avoid multiple evaluation of
1791         `org-babel-merge-params´.  Rename cache? to cache-p, add binding
1792         for cache-current-p and use it.  Do not run
1793         `org-babel-confirm-evaluate´ if source block has a cache and the
1794         cache value is current (there is no evaluation involved in this
1795         case).
1797         * org.el (org-current-time): Replace call to obsolete function
1798         `time-to-seconds´ with a call to compatibility function
1799         `org-float-time´.
1801         * org-compat.el (user-emacs-directory): If not bound, define as an
1802         alias to `user-init-directory´ so that XEmacs continues to be
1803         happy with Org.
1805         * org-macs.el: New macro to allow the 5-argument form of load to
1806         be used where possible without breaking compatibility with XEmacs.
1808         * org.el (org-version, org-reload):
1809         Use `org-load-noerror-mustsuffix´ instead of adding a fifth argument
1810         to load directly.  Guard against undefined variable load-suffixes,
1811         which doesn't exist in XEmacs.
1813         * org.el: Use
1814         `org-define-obsolete-{function,variable}-alias´instead of
1815         `define-obsolate{function,variable}-alias´.
1817         * org-compat.el (user-error): Defalias to `error´ for Emacsen that
1818         don't have it.
1820         * ob-python.el (org-babel-python-hline-to)
1821         (org-babel-python-None-to): Specify customize group as 'org-babel
1822         and widget type as 'string.
1824         * ob.el (org-babel-result-cond): Macro expansion needs to unquote
1825         formal parameter `result-params´.
1827         * org.el (org-reload): Major rewrite.
1829         * org.el (org-clock-get-last-clock-out-time): Declare function.
1831 2013-11-12  Alan Schmitt  <alan.schmitt@polytechnique.org>
1833         * ob-ocaml.el (org-babel-prep-session:ocaml):
1834         Use `save-window-excursion' around the code starting the tuareg
1835         process.
1836         (org-babel-ocaml-command): New option to specify the name of the
1837         toplevel to run.
1838         (org-babel-prep-session:ocaml): Directly call
1839         `tuareg-run-process-if-needed' with `org-babel-ocaml-command' as
1840         argument.
1841         (org-babel-execute:ocaml): Always append ";;" at the end of the
1842         expression before sending it to the toplevel.  Do not remove the
1843         type information if "verbatim" is a results parameter of the code
1844         block.
1845         (org-babel-ocaml-parse-output): Make sure the complete type is
1846         taken into account when matching against known types.
1848         * org-faces.el (org-footnote): Fix docstring.
1850 2013-11-12  Andreas Leha  <andreas@lehas.net>
1852         * ob-latex.el (org-babel-execute:latex): Add a tizk option that
1853         copies the body of the block into a tikz file.
1855 2013-11-12  Arun Persaud  <apersaud@lbl.gov>
1857         * org-agenda.el (org-agenda-prefix-format): Add documentation for
1858         the new %b option.
1859         (org-prefix-has-breadcrumbs): Add flag, `t' when %b is set.
1860         (org-agenda-format-item): Add breadcrumbs if requested.
1861         (org-compile-prefix-format): Add compiled information for
1862         breadcrumbs, add %b option.
1864 2013-11-12  Aurélien Aptel  <aurelien.aptel@gmail.com>  (tiny change)
1866         * ox-html.el (org-html-code, org-html-verbatim): Remove fancy
1867         string replacements for code and verbatim text when exporting to
1868         HTML.
1870 2013-11-12  Bastien Guerry  <bzg@gnu.org>
1872         * org.el (org-align-tags-here): Fix bug: move to the correct
1873         position.
1874         (org-agenda-prepare-buffers): Restore the point position.
1875         (org-insert-link): Don't remove brackets when they belong to a
1876         timestamp in a headline.
1878         * org-capture.el (org-capture-refile): Don't finalize prematurely.
1879         (org-capture): Store :return-to-wconf earlier.
1880         (org-capture-place-template): Don't store :return-to-wconf when
1881         called from a capture template using `function', rely on the early
1882         :return-to-wconf value store from `org-capture'.
1884         * org-compat.el (org-move-to-column): New argument
1885         `ignore-invisible' to turn on `buffer-invisibility-spec'.
1887         * org-agenda.el (org-agenda-show-new-time): Ignore invisible text
1888         when inserting the new time as a text property.
1889         (org-agenda-filter-make-matcher): When filtering tags and hitting
1890         space, filter out entries with tags, only keep those without tags.
1891         (org-agenda-drag-line-forward, org-agenda-drag-line-backward):
1892         Fix bugs: don't drag lines without text and don't drag lines
1893         before/after hidden lines.
1895         * ox-odt.el (org-odt-table-style-format): Use %s for inserting the
1896         rel-width property as a string.
1897         (org-odt-template): Fall back on a string for :rel-width.
1899         * org.el (org-directory, org-default-notes-file)
1900         (org-reverse-note-order): Don't use the `org-remember'
1901         customization group.
1902         (org-require-autoloaded-modules): Don't require
1903         `org-remember'.
1905         * org-capture.el: Update commentary section to reflect the fact
1906         that org-remember.el is not used anymore.
1908         * org.el (org-babel-load-file): Set `exported-file' correctly, in
1909         case the file as been tangled using a buffer-local value.
1911         * ob-tangle.el (org-babel-tangle-file): Return the list of tangled
1912         files.
1914         * ox-org.el (org-org-publish-to-org): When htmlizing an .org file,
1915         ensure to show all headings and all blocks before fontifying.
1917         * ob-shen.el (org-babel-ruby-var-to-ruby): Declare.
1919         * ox.el: Fix comment: remove reference to the obsolete variable
1920         `org-export-language-setup'.
1922         * org.el (org-set-regexps-and-options-for-tags): Fix concatenation
1923         of the tags list.
1925         * ox-odt.el (org-odt-pixels-per-inch): Use 96.0 as the default.
1927         * org.el (org-refile): With a numeric prefix argument of `3',
1928         emulate (setq org-refile-keep t) and copy the subtree to the
1929         target location, don't delete it.
1930         (org-set-regexps-and-options-for-tags): Fix the setting of tag
1931         groups when relying on `org-tag-alist', not on tags directly set
1932         in the buffer with the #+TAGS option.
1934         * org-agenda.el (org-agenda-archive-with): Save window excursion.
1936         * org.el (org-forward-element, org-backward-element): Throw a
1937         message instead of an error when trying to move from a position
1938         where there is no element.
1939         (org-clock-is-active): Fix docstring.
1941         * org-list.el (org-sort-list): Use `x' instead of `c' for sorting
1942         plain list by checked status.
1944         * org.el (org-structure-template-alist): Fix custom type and
1945         default value.
1946         (org-set-regexps-and-options-for-tags): Enhance docstring.
1947         (org-set-regexps-and-options): Make sure not to add
1948         `org-tag-alist' twice when setting this variable through et
1949         #+setupfile: directive.
1950         (org-tags-expand): Use `with-syntax-table'.
1952         * org-list.el (org-sort-list): Implement sorting by "checked"
1953         status for check lists.
1955         * org-table.el (org-table-sum): Fix rounding error when summing
1956         times.
1958         * ob-scheme.el (org-babel-scheme-execute-with-geiser): Fix code
1959         typo.  Add declarations.
1961         * ox-html.el (org-html-link-use-abs-url): New option.
1962         (org-html-link): Use it to prepend relative links with the value
1963         of HTML_LINK_HOME, when defined.
1965         * org.el (org-refile): Fix refiling the active region within an
1966         list.  Don't store the last refiled subtree in the kill ring.
1968         * org.el (org-mode-map): Remap `forward-paragraph' and
1969         `backward-paragraph' to `org-forward-element' and
1970         `org-backward-element'.
1972         * ox-html.el (org-html-begin-plain-list): New parameter
1973         `ordered-num' to tell whether the list is ordered numerically.
1974         (org-html-plain-list): Handle alphabetical ordered list.
1976         * org-agenda.el (org-batch-agenda): Let-bind `org-agenda-sticky'
1977         to nil during batch export.
1979         * org.el (org-copy-subtree): Fix typo in docstring.
1980         (org-scan-tags): Don't disable `case-fold-search' too early.
1982         * org-agenda.el (org-agenda-skip-eval): Fix typo in docstring.
1984         * org-capture.el (org-capture-set-target-location): Don't throw an
1985         error when `org-time-was-given' is not bound.
1987         * org-clock.el (org-clock-modify-effort-estimate):
1988         Clarify docstring.
1990         * org.el (org-set-regexps-and-options-for-tags): Return a list
1991         with tag-related variables.
1992         (org-set-regexps-and-options): Append tags from a setup file to
1993         the local tags of the file.
1994         (org-agenda-prepare-buffers): Set tags from a setup file by
1995         calling `org-set-regexps-and-options' when necessary.
1996         (org-set-regexps-and-options): Fix `org-deadline-time-hour-regexp'
1997         and `org-scheduled-time-hour-regexp'.
1999         * org-table.el (org-table-TBLFM-begin-regexp): Rename from
2000         `org-TBLFM-begin-regexp'.
2001         (org-table-calc-current-TBLFM): Rename from
2002         `org-calc-current-TBLFM'.
2004         * org.el (org-ctrl-c-ctrl-c): Require org-table if needed.
2005         (org-refresh-properties): Put the text property on the whole
2006         subtree, not just on the headline.
2007         (org-get-outline-path): Remove statistical and checkboxes cookies.
2009         * org-agenda.el (org-agenda, org-search-view, org-tags-view)
2010         (org-agenda-get-day-entries, org-agenda-set-restriction-lock):
2011         Use (current-buffer) as the value of `org-agenda-restrict'.  Fix a bug
2012         about narrowing to wrong region boundaries when
2013         `org-agenda-restrict' is non-nil.
2015         * org.el (org-agenda-text-search-extra-files): Fix typos in
2016         docstring.
2017         (org-insert-heading): Fix case when there the first heading starts
2018         at the beginning of the buffer.
2020         * ob-core.el (org-babel-expand-src-block):
2021         Use `org-called-interactively-p'.
2023         * org.el (org-agenda-prepare-buffers): Avoid duplicates in
2024         `org-tag-alist-for-agenda' correctly.
2025         (org-read-date-minibuffer-local-map): Check if we are at the
2026         beginning of the prompt, not if we are after a whitespace.
2027         Bind C-. to `calendar-goto-today'.
2029         * org-clock.el (org-clock-in): Don't forward by one character when
2030         setting the marker in the clock history.
2032         * org.el (org-read-date-minibuffer-local-map):
2033         Call `calendar-goto-today' only if there is a space before point in the
2034         minibuffer prompt.
2035         (org-insert-heading): Reveal context when called interactively.
2036         Fix bug about wrong conversion of lines with :END: or #+end_ into
2037         headlines.
2038         (org-in-drawer-p): New function.
2039         (org-meta-return): Use `org-catch-invisible-edits' and the
2040         `org-in-drawer-p' to check whether we are within a drawer.
2042         * org-list.el (org-sort-list): Fix infloop.
2044         * org.el (org-clone-subtree-with-time-shift): Unconditionally ask
2045         for a time shift if there is a time-stamp.  Don't ask for a time
2046         shift when called with a universal prefix argument.
2048         * ob-core.el (org-babel-insert-result): Fix bug when inserting
2049         results as a list: ensure we split a string containing "\n".
2051         * ox-html.el: Fix copyright header.
2053         * org.el (org-store-link): Don't add a search string when storing
2054         a link from a radio target.
2055         (org-open-at-point): Jump to the radio link (<<<radio>>>), not to
2056         the simple target (<<target>>).
2058         * org-table.el (org-table-get-remote-range): Fix typo.
2060         * org-datetree.el (org-datetree-find-month-create)
2061         (org-datetree-find-day-create): Add a docstring.
2062         (org-datetree-find-year-create): Only match headlines with a
2063         year or a year and one or more tags.
2065         * org-crypt.el (org-crypt-check-auto-save)
2066         (org-crypt-use-before-save-magic): Use `org-add-hook' when the
2067         hooks are local hooks.
2069         * org-agenda.el (org-agenda-mode): Use `org-add-hook' and merge
2070         upstream change from Emacs 2013-04-18T00:12:33Z!monnier@iro.umontreal.ca.
2072         * ob-core.el (org-babel-pop-to-session-maybe): Fix docstring.
2073         (org-babel-pop-to-session-maybe): Use true function's name,
2074         not its alias.
2076         * org-agenda.el (org-agenda-drag-line-forward)
2077         (org-agenda-drag-line-backward): New commands.
2078         (org-agenda-mode-map): Bind the new commands to M-<down> and
2079         M-<up> respectively.
2081         * org.el (org-insert-heading): Fix insertion of items.
2083         * org-capture.el (org-capture-use-agenda-date): Fix docstring.
2085         * org-agenda.el (org-agenda-bulk-toggle): Fix docstring.
2086         (org-agenda-bulk-toggle-all): New command.
2087         (org-agenda-mode-map): Bind `org-agenda-bulk-toggle' to `M-m'
2088         and `org-agenda-bulk-toggle-all' to `M-*'.
2089         (org-agenda-menu): Add `org-agenda-bulk-toggle' and
2090         `org-agenda-bulk-toggle-all'.
2091         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Jump to the
2092         next headline, not the next line.
2094         * org-capture.el (org-mks): Fix bug: let-bind `case-fold-search'
2095         to nil while matching the first letter of a multi-letters
2096         template.
2098         * org.el (org-store-link): When a bracket link is found in a
2099         headline, use the link description or the link path.
2100         (org-flag-drawer, org-hide-block-toggle)
2101         (org-goto-left, org-goto-right, org-promote)
2102         (org-paste-subtree, org-narrow-to-block, org-sort-entries)
2103         (org-insert-link, org-offer-links-in-entry, org-open-file)
2104         (org-refile, org-refile-get-location)
2105         (org-refile-check-position, org-prepare-dblock, org-todo)
2106         (org-auto-repeat-maybe, org-show-todo-tree, org-sparse-tree)
2107         (org-occur, org-priority, org-scan-tags)
2108         (org-get-tags-string, org-property-action, org-set-effort)
2109         (org-entry-put, org-insert-drawer)
2110         (org-compute-property-at-point)
2111         (org-property-next-allowed-value, org-evaluate-time-range)
2112         (org-closest-date, org-timestamp-change)
2113         (org-revert-all-org-buffers, org-cycle-agenda-files)
2114         (org-agenda-file-to-front, org-remove-file)
2115         (org-preview-latex-fragment, org-format-latex)
2116         (org-create-math-formula, org-create-formula-image)
2117         (org-speed-command-help, org-check-before-invisible-edit)
2118         (org-modifier-cursor-error, org-hidden-tree-error)
2119         (org-mark-subtree, org-kill-line, org-first-sibling-p)
2120         (org-up-element, org-down-element)
2121         (org-drag-element-backward, org-drag-element-forward)
2122         (org-unindent-buffer, org-speedbar-set-agenda-restriction):
2123         Use `user-error' instead of `error'.
2125         * ox-latex.el (latex): Don't force exporting with smart quotes.
2127         * ox.el (org-export-with-smart-quotes): Mention the need to use
2128         the relevant Babel package when setting this option to non-nil.
2130         * org-src.el (org-edit-src-turn-on-auto-save): New option.
2131         (org-edit-src-code): Use it.
2132         (org-edit-src-auto-save-idle-delay): Enhance docstring.
2134         * org-capture.el (org-mks): Make cursor invisible.
2136         * org.el (org-link-expand-abbrev): Save match data before before
2137         calling the replacement function.
2139         * org-list.el (org-sort-list): Don't move point when matching time
2140         values.
2142         * org.el (org-shifttab): Show the correct number of empty
2143         headlines when called with a numeric prefix argument.
2144         Enhance docstring.
2145         (org-uniquify): Use `copy-sequence'.
2146         (org-adaptive-fill-function, org-fill-paragraph): Throw a useful
2147         error message when parse an element fails in the current buffer.
2149         * ox.el (org-export-with-planning): Enhance docstring.
2151         * org.el (org-closed-keep-when-no-todo): New option.
2152         (org-todo): Use the new option.
2153         (org-open-line): Rename from `org-ctrl-o'.
2154         (org-mode-map): Use `remap'.
2155         (org-cycle-emulate-tab, org-file-apps)
2156         (org-set-font-lock-defaults)
2157         (org-translate-link-from-planner, org-link-search)
2158         (org-refile-get-targets, org-read-date-get-relative):
2159         Minor code clean-up: fix dangling parentheses.
2161         * org-agenda.el (org-agenda-entry-text-mode): Also check against
2162         regexp filters.
2163         (org-timeline): Handle `org-agenda-show-log'.
2165         * org-clock.el (org-clock-select-task): Remove successive
2166         duplicates in the clock history to consider.
2168         * org.el (org-uniquify-alist): Improve docstring.
2169         (org-make-tags-matcher, org-change-tag-in-region): Add buffer's
2170         tags to the tags completion table.
2171         (org-tags-expand): Prevent circular replacement of group tags.
2172         Tiny docstring formatting.
2173         (org-uniquify): Make a defsubst.  Use `delete-dups' instead of
2174         `add-to-list'.
2175         (org-todo): Also remove the CLOSED planning information when
2176         removing the TODO keyword.
2177         (org-forward-heading-same-level): Fix bug when forwarding
2178         to a hidden subtree of the same level.
2179         (org-tags-expand): Use word delimiters when building the tag
2180         search regexp.
2182         * org-clock.el (org-clock-insert-selection-line): Don't display
2183         the clockout time.
2185         * org.el (org-emphasis-regexp-components): Make a defvar.
2186         (org-emphasis-alist): New default value: don't set HTML tags.
2187         (org-emphasize, org-set-emph-re): Use the new value of
2188         `org-emphasis-alist'.
2190         * org-mobile.el (org-mobile-edit): Insert new headings at the end
2191         of the parent subtree.  Use `org-at-heading-p' instead of the
2192         obsolete `org-on-heading-p'.
2194         * org.el (org-insert-heading): When called from a list item and
2195         `org-insert-heading-respect-content' is non-nil, insert a heading,
2196         not an item.
2197         (org-insert-heading-respect-content): Fix docstring.
2198         (org-insert-heading): When in a non-empty non-headline line,
2199         convert the current line into a headline.
2201         * org-table.el (org-table-copy-down): Don't move cursor when
2202         getting the field.
2204         * ox-icalendar.el (org-icalendar-export-current-agenda): Do not
2205         evaluate babel code blocks.
2207         * ox-html.el (html): Add more options.
2209         * ox-publish.el (org-publish-project-alist): Add :with-planning in
2210         docstring.
2212         * ob-exp.el (org-babel-exp-src-block): Tiny docstring fix.
2214         * ox-icalendar.el (org-icalendar--combine-files): Fix typo.
2216         * org-mouse.el (org-mouse-agenda-context-menu): Fix a function's
2217         name.
2219         * ox.el (org-export-options-alist, org-export--skip-p):
2220         Use `:with-planning' instead of `:with-plannings', to keep in sync
2221         with the corresponding option's name.
2223         * ob-core.el (org-babel-confirm-evaluate): Fix typo in docstring.
2225         * org-agenda.el (org-agenda-undo, org-agenda)
2226         (org-agenda-append-agenda)
2227         (org-agenda-get-restriction-and-command, org-agenda-write)
2228         (org-agenda-clock-cancel)
2229         (org-agenda-diary-entry-in-org-file, org-agenda-diary-entry)
2230         (org-agenda-execute-calendar-command)
2231         (org-agenda-goto-calendar, org-agenda-convert-date)
2232         (org-agenda-bulk-mark, org-agenda-bulk-action)
2233         (org-agenda-show-the-flagging-note): Use `user-error' instead of
2234         `error'.
2236         * org-macs.el (org-with-remote-undo): Normalize argument names.
2238         * org.el (org-store-log-note): Fix `buffer-undo-list' when called
2239         after `org-agenda-todo'.
2240         (org-add-log-note): Minor formatting fix.
2242         * org-agenda.el (org-agenda-append-agenda): Set buffer read only.
2244         * org-clock.el (org-clock-select-task): Throw a user error when
2245         the clock history is empty.
2247         * org-table.el (org-table-get-remote-range): Fix docstring: use
2248         #+NAME instead of #+TBLNAME.
2250         * ob-ref.el: Use #+NAME instead of #+TBLNAME in comment.
2252         * ox-html.el (org-html-table-row-tags): Better example.
2254         * org-clock.el (org-clock-select-task): Fix window to buffer.
2255         Hide the cursor.
2256         (org-clock-insert-selection-line): Add the clock-out time.
2258         * ox-html.el (org-html-table-row-tags): Allow new dynamically
2259         bound value `row-number'.
2260         (org-html-table-row): Bind `row-number' to the number of the
2261         row (first row is 0).
2263         * org.el (org-minutes-to-clocksum-string): Round fractions of
2264         minutes.
2266         * ox-html.el (org-html-table-row-tags): Fix example in docstring.
2268         * org-agenda.el (org-agenda-span-to-ndays): Enhance docstring.
2269         (org-agenda-goto-date): Fix bug when going to a date in month
2270         view.
2271         (org-agenda-goto-date): Put the cursor on the agenda line with the
2272         selected date.
2273         (scheduled/deadline items with hour spec) then redo an agenda*.
2275         * org-clock.el (org-clock-resolve): Enhance the content of the
2276         help window.
2278         * org-footnote.el (org-footnote-auto-label): Minor docstring fix.
2280         * ox-odt.el (org-odt-link): Fix bug: convert & to &amp; in
2281         links.
2283         * ox-html.el (org-html-table-row): Dynamically bind
2284         `rowgroup-number', `start-rowgroup-p', `end-rowgroup-p',
2285         `top-row-p', `bottom-row-p'.
2286         (org-html-table-row-tags): Update docstring: tell what variables
2287         are dynamically bound.
2289         * org-src.el (org-edit-src-code): Don't set
2290         `buffer-auto-save-file-name' unless `auto-save-default' is
2291         non-nil.
2293         * ox.el (org-export-table-row-group): Fix typo in docstring.
2295         * org-table.el (orgtbl-apply-fmt): Enhance docstring.
2297         * org.el (org-file-contents): Make the message more prominent.
2299         * ox.el (org-export-replace-region-by): New function.
2301         * ox-texinfo.el (org-texinfo-convert-region-to-texinfo),
2302         * ox-md.el (org-md-convert-region-to-md),
2303         * ox-latex.el (org-latex-convert-region-to-latex),
2304         * ox-html.el (org-html-convert-region-to-html): New functions to
2305         replace the active region by its export into various backends.
2307         * org-faces.el (org-agenda-restriction-lock): Use less flashy
2308         colors.
2310         * org-agenda.el
2311         (org-agenda-restriction-lock-highlight-subtree): New option.
2312         (org-agenda-top-headline-filter): Rename from
2313         `org-agenda-top-headline-filter'.
2314         (org-find-top-headline): Rename from `org-find-top-category'.
2315         Add a docstring.
2316         (org-agenda-filtered-by-top-headline): Rename from
2317         `org-agenda-filtered-by-top-category'.
2318         (org-agenda-filter-by-top-headline): Rename from
2319         `org-agenda-filter-by-top-category'.  Fix docstring.
2320         (org-agenda-filter-top-headline-apply): Rename from
2321         `org-agenda-filter-top-category-apply'.  Fix docstring.
2322         (org-agenda-mode-map): Update binding.
2323         (org-agenda-get-todos): Set `todo-state' earlier so that we can
2324         skip false-positives in time.
2326         * org.el (org-get-todo-state): Add a docstring.
2327         (org-ctrl-o): New command to insert a new row in tables
2328         (like `M-S-<down>' does) and open a line elsewhere.
2329         (org-mode-map): Bind the new command to `C-o'.
2330         (org-set-regexps-and-options): Process tags from an external setup
2331         file.
2333         * org-agenda.el (org-agenda-dim-blocked-tasks): Enhance docstring.
2334         (org-agenda-finalize-entries): Conditionally apply limits so
2335         that we don't manipulate big lists uselessly.
2336         (org-agenda-limit-entries): Limit exclusively.  E.g., when
2337         limiting to a maximum of "2 tags", don't limit among tagged
2338         entries only, but limit among all entries.
2339         (org-agenda-limit-interactively): New command.
2340         (org-agenda-mode-map): Bind the new command to "~".
2341         (org-agenda-redo): Small fix: don't use `eval'.
2343         * org.el (org-ctrl-c-ctrl-c): Fix bug wrt updating checkboxes: the
2344         list beginning should be stored using a marker so that updating
2345         [%0] to [%50] will not throw an error.
2346         (org-babel-load-file): Move `org-babel-load-file' from
2347         ob-tangle.el to here so that it is correctly autoloaded by Emacs
2348         before Org is required.
2350         * org-mac-message.el: Delete.
2352         * org.el (org-modules): org-mac-message.el is not a core package
2353         anymore.
2355         * org-table.el (orgtbl-to-generic): Fix bug when exporting the
2356         cells of radio tables with 'hline.
2358         * org.el (org-speed-commands-default): Use ?s for
2359         `org-narrow-to-subtree'.
2361         * org-agenda.el (org-agenda-start-on-weekday): Fix typo.
2362         (org-agenda-start-day): Enhance docstring.
2364         * org-src.el (org-src-native-tab-command-maybe): Check that we are
2365         in a source code block.
2367         * org-mobile.el: Remove useless defvar.
2369         * org.el (org-indent-line): A line just below a line with a list
2370         item is now indented depending on the indentation of this list
2371         item.
2373         * org.el (org-options-keywords): Add #+TARGET.
2375         * org-clock.el (org-resolve-clocks-if-idle): Only try to resolve
2376         last clock if the clock buffer still exists.
2377         (org-clock-out, org-clock-cancel): Set markers to nil.
2379         * ox-org.el (org-org-publish-to-org):
2380         * ox-html.el (org-html-publish-to-html): Use the custom extension.
2382         * org.el (org-cycle-internal-local): Fix invalid search bound when
2383         `org-cycle-include-plain-lists' is set to 'integrate.
2385         * org.el (org-sparse-tree-default-date-type): Add an option for
2386         closed time-stamps.
2387         (org-sparse-tree): Allow to check against closed time-stamps.
2388         (org-re-timestamp): Handle closed time-stamps.
2389         (org-closed-in-range): Delete.
2391         * org-capture.el (org-capture-import-remember-templates):
2392         Take care of adding :jump-to-captured option if needed.
2394         * org.el (org-toggle-pretty-entities): Enhance messages.
2395         (org-raise-scripts): Handle scripts like "a_b^c".
2397         * org-capture.el (org-capture-templates): Document new option
2398         :jump-to-captured in the docstring.  Offer the complete list of
2399         options when customizing.
2400         (org-capture-finalize): Handle :jump-to-captured.
2402         * org.el (org-agenda-prepare-buffers): Fix bugs: don't let-bind
2403         `org-tag-alist' to nil and don't append duplicate tags to
2404         `org-tag-alist-for-agenda'.
2405         (org-store-link): Storing multiple links in the active region now
2406         requires a triple prefix argument.
2407         (org-store-link, org-link-search): Fix handling of links to #+NAME
2408         and #+TARGET keywords.
2410         * org-compat.el (org-ignore-region): Tiny docstring fix.
2412         * org-capture.el (org-capture): Don't store multiple links over
2413         lines in the active region.
2415         * ox-odt.el (org-odt-special-block): Don't wrap annotations into
2416         <text:p>...</text:p> at all.
2417         (org-odt--fix-annotations): New function.
2418         (org-odt--export-wrap): Use the new function to fix annotations
2419         insertion in content.xml.
2421         * org.el (org-mode-flyspell-verify): Require 'org-element so that
2422         `org-element-affiliated-keywords' is defined.
2424         * ox-odt.el (org-odt-special-block): Don't insert annotations
2425         using style "Text_20_body".
2427         * org.el (org-toggle-tags-groups): Correctly highlight group tags.
2428         (org-tags-expand): Expand tags as words, with characters ?@
2429         and ?_ being considered words constituents.
2430         (org-set-regexps-and-options): Don't read setup files from
2431         read-only buffers.
2432         (org-file-contents): When no-error is non-nil, throw a less
2433         intrusive message.
2435         * org-agenda.el (org-agenda-scheduled-leaders)
2436         (org-agenda-deadline-leaders): Re-align leaders to the left,
2437         back to a 11 characters width.
2439         * org.el (org-refile-cache-check-set): More informative message.
2441         * org-agenda.el (org-tags-view): Set the matcher after preparing
2442         the agenda, as `org-tag-groups-alist-for-agenda' might be needed.
2443         (org-agenda-filter-make-matcher): New parameter `filter' and
2444         `type'.  Handle group tags.
2445         (org-agenda-filter-expand-tags): New function.
2446         (org-agenda-filter-apply): Handle group tags.
2448         * org.el (org-blank-before-new-entry): Tiny docstring fix.
2449         (org-tag-alist-for-agenda): Add docstring.
2450         (org-tag-groups-alist-for-agenda): New global variable.
2451         (org-tag-groups-alist): New buffer-local variable.
2452         (org-tag-alist, org-tag-persistent-alist): Handle :grouptags.
2453         (org-group-tags): New option.
2454         (org-toggle-group-tags): New command.
2455         (org-mode-map): Bind `org-toggle-group-tags' to `C-c C-x q'.
2456         (org-set-regexps-and-options-for-tags): New function, factored
2457         out from `org-set-regexps-and-options'.
2458         (org-set-regexps-and-options): Don't handle tags, they are now
2459         handled separately by `org-set-regexps-and-options-for-tags'.
2460         (org-assign-fast-keys): Handle :grouptags.
2461         (org-mode): Use `org-set-regexps-and-options-for-tags' on top
2462         of `org-set-regexps-and-options'.
2463         (org-fontify-meta-lines-and-blocks-1): Fontify group tags.
2464         (org-make-tags-matcher): Expand group tags in the matcher.
2465         (org-tags-expand): New function.
2466         (org-tags-completion-function): Tiny code clean up.
2467         (org-set-current-tags-overlay): Add a docstring.
2468         (org-fast-tag-selection): Highlight group tags.
2469         (org-agenda-prepare-buffers): Set `org-tag-alist-for-agenda'
2470         and `org-tag-groups-alist-for-agenda'.  Don't uniquify
2471         `org-tag-alist-for-agenda' as we may need the grouping
2472         information for filtering in the agenda buffer.
2473         (org-uniquify-alist): New function.
2475         * org-pcomplete.el (pcomplete/org-mode/file-option/tags):
2476         Handle :grouptags.
2478         * org-faces.el (mode-line): New face for group tags.
2480         * ob-core.el (org-babel-hash-show-time): Tiny docstring
2481         enhancement.
2483         * org-element.el (org-element-paragraph-separate): Use new name
2484         `org-list-allow-alphabetical'.
2486         * org-list.el (org-list-allow-alphabetical): Rename from
2487         `org-alphabetical-lists'.
2488         (org-list-empty-line-terminates-plain-lists): Rename from
2489         `org-empty-line-terminates-plain-lists'.
2490         (org-checkbox-hierarchical-statistics): Rename from
2491         `org-hierarchical-checkbox-statistics'.
2493         * org.el (org-image-actual-width): Update docstring.
2494         (org-display-inline-images): Use the #+attr_html: :width syntax.
2495         (org-modules): Remove deleted libraries, add new ones.
2497         * ox-html.el (org-html-indent): Default to nil, as non-nil can
2498         break indentation of source code blocks.
2499         (org-html-link): Don't insert nil if there is no attributes.
2500         (org-html-link--inline-image): Use the correct syntax for image
2501         attributes.  Allow :width :height and :alt as predefined
2502         attributes for inline images.
2503         (org-html-link, org-html-table): Use the standard syntax---
2504         e.g. "#+attr_html: :options ..."--- to get attributes.
2506         * ox.el (org-export-table-cell-alignment): Treat an empty cell as
2507         a number if it follows a number.
2509         * ox.el (org-export-as): Allow user functions in
2510         `org-export-before-parsing-hook' to modify the point.
2512         * org.el (org-entry-add-to-multivalued-property): Add the new
2513         value by appending it at the end of the line.
2515         * org-table.el (orgtbl-to-generic): New parameter `backend' to
2516         export cells content using a specific backend.
2517         (orgtbl-to-latex, orgtbl-to-texinfo): Export cells to LaTeX
2518         and Texinfo before sending the table.
2520         * ox.el (org-export-define-backend)
2521         (org-export-define-derived-backend): Make defuns and update
2522         docstrings.
2524         * ox-texinfo.el (texinfo):
2525         * ox-org.el (org):
2526         * ox-odt.el (odt):
2527         * ox-md.el (md):
2528         * ox-man.el (man):
2529         * ox-latex.el (latex):
2530         * ox-icalendar.el (icalendar):
2531         * ox-html.el (html):
2532         * ox-beamer.el (beamer):
2533         * ox-ascii.el (ascii): Use `org-export-define-backend' and
2534         `org-export-define-derived-backend' as defuns, not macros.
2536         * org.el (org-set-regexps-and-options):
2537         Use `org-table-set-constants'.
2539         * org-table.el (org-table-set-constants): New function.
2540         (orgtbl-ctrl-c-ctrl-c): Use it.
2542         * org-pcomplete.el
2543         (pcomplete/org-mode/block-option/clocktable): Add parameters.
2545         * org.el (org-options-keywords): Remove "INFOJS_OPT": it is added
2546         through ox-html.el now.
2548         * org-agenda.el (org-agenda-redo): Set filters after agenda has
2549         been redone.
2551         * org.el (org-store-link): When there is an active region, store
2552         each line as a separate link.
2553         (org-insert-all-links): Use a default description when links
2554         do not have one already.
2556         * org-agenda.el (org-agenda-redo): Fix code typo.
2558         * org.el (org-link-display-format): Fix docstring.
2560         * ox-publish.el (org-publish-org-to)
2561         (org-publish-org-sitemap, org-publish-find-title)
2562         (org-publish-find-date)
2563         (org-publish-cache-file-needs-publishing):
2564         Set `org-inhibit-startup' to t when visiting files for
2565         publication.
2567         * ox-org.el (org-org-publish-to-org): Kill buffers not visited at
2568         publication time.
2570         * org.el (org-set-font-lock-defaults): Set font-lock keywords
2571         correctly for plain links.
2573         * ox-texinfo.el (org-texinfo-logfiles-extensions)
2574         (org-texinfo-remove-logfiles): New options.
2575         (org-texinfo-compile): Use the new options to remove files
2576         after compiling a Texinfo file.
2578         * ox-texinfo.el (org-texinfo-coding-system): New option.
2579         (org-texinfo-template): Add @documentlanguage and
2580         @documentencoding.
2581         (org-texinfo-headline): Add a space before tags.
2582         (org-texinfo-export-to-texinfo, org-texinfo-export-to-info):
2583         Use `org-texinfo-coding-system' as the coding system for
2584         exported buffers.
2585         (org-texinfo-publish-to-texinfo): New function.
2587         * ox-texinfo.el (org-texinfo-filename)
2588         (org-texinfo-info-process, org-texinfo-max-toc-depth)
2589         (org-texinfo--sanitize-menu): Docstrings tiny fixes.
2591         * org-agenda.el (org-agenda-dim-blocked-tasks): Only throw a
2592         message when called interactively.  Fix docstring position in the
2593         defun.
2595         * ox-html.el (org-html--build-meta-info): Fix setting of
2596         http-equiv="Content-Type".
2598         * org-agenda.el (org-agenda-mode-map): Use ?= for filtering by
2599         regexp and ?| for removing all filters.
2600         (org-agenda-filter-remove-all): New command.
2601         (org-agenda-filter-show-all-re): Rename from
2602         `org-agenda-filter-show-all-regexp'.
2603         (org-agenda-filter-by-regexp):
2604         Call `org-agenda-filter-show-all-re'.
2606         * org-list.el (org-insert-item): Don't ask for a definition term
2607         when insert an item in a description list.
2609         * org-agenda.el (org-agenda-Quit): Set `org-agenda-buffer' to nil.
2610         This prevents bugs when calling e.g., `org-diary' after quitting
2611         an agenda window.
2612         (org-agenda-entry-types): Move earlier in the file.
2613         (org-agenda-custom-commands-local-options, org-diary)
2614         (org-agenda-get-day-entries): Don't hardcode the default agenda
2615         entry types, use `org-agenda-entry-types'.
2616         (org-agenda-custom-commands): Fix default setting so that the
2617         customize interface does not complain about a mismatch.
2619         * org.el (org-export-backends): Add new backends.
2621         * ox-html.el (org-html-indent): New option.
2622         (org-html-use-unicode-chars): New option.
2623         (org-html-pretty-output): Delete.
2624         (org-html-final-function): Use the new options.
2626         * ox-html.el (org-html-link): Fix handling of abbreviated links
2627         which include a file: protocol.
2628         (org-html--build-postamble): Default to today's date.
2629         (org-html--build-meta-info): When #+DATE contains a time stamp,
2630         parse it as a RFC 822 time string, otherwise simply insert the
2631         date as a string.
2633         * ox.el (org-export--copy-to-kill-ring-p): New function.
2634         (org-export-copy-to-kill-ring): Use 'if-interactive as the
2635         default.
2636         (org-export-to-buffer, org-export-to-file):
2637         Use `org-export--copy-to-kill-ring-p' and fix docstrings.
2639         * ox-odt.el (org-odt-export-as-odf):
2640         Use `org-export--copy-to-kill-ring-p'.
2642         * org.el (org-set-font-lock-defaults): Fontify macros.
2644         * org-faces.el (org-macro): New face.
2646         * org.el (org-clone-subtree-with-time-shift): Only prompt for a
2647         time shift when the entry at point has a time stamp and when the
2648         command is called with a universal prefix argument.
2649         (org-execute-file-search-functions): Docstring fix.
2651         * org-compat.el (org-defvaralias): Fix declare form.
2653         * org-clock.el (org-clocktable-defaults): Add :mstart parameter.
2654         (org-clock-special-range): New argument mstart.
2655         (org-dblock-write:clocktable, org-dblock-write:clocktable)
2656         (org-clocktable-write-default, org-clocktable-steps)
2657         (org-clock-get-table-data): Handle the :mstart parameter.
2659         * org.el (org-map-entries): Use `save-window-excursion'.
2661         * org-compat.el (org-defvaralias): New compatibility function.
2663         * org-list.el (org-cycle-include-plain-lists): Also add to the
2664         'org-cycle customization group.
2665         (org-list-allow-alphabetical)
2666         (org-checkbox-hierarchical-statistics)
2667         (org-list-empty-line-terminates-plain-lists)
2668         (org-list-description-max-indent): Rename and add aliases to old
2669         names.
2671         * org-element.el (org-element-context): Prevent an error when
2672         getting the context of a table rule.
2674         * org.el (org-deadline-time-hour-regexp)
2675         (org-scheduled-time-hour-regexp): New buffer local variables.
2676         (org-set-regexps-and-options): Set the new variables.
2678         * org-agenda.el (org-agenda-custom-commands-local-options):
2679         Add :deadline* and :scheduled* to the list of possible agenda entry
2680         types.
2681         (org-agenda): Implement a new agenda type agenda* with :scheduled*
2682         and :deadline* replacing :scheduled and :deadline respectively in
2683         agenda entry types.  In such agenda, only scheduled and deadline
2684         items with a time specification [h]h:mm will be considered.
2685         (org-agenda-entry-types): Document the new agenda entry types
2686         :scheduled* and :deadline*.
2687         (org-agenda-list): New parameter `with-hour'.  Use :scheduled* and
2688         :deadline*.
2689         (org-agenda-get-day-entries): Handle :scheduled* and :deadline*.
2690         (org-agenda-get-deadlines, org-agenda-get-scheduled):
2691         New parameter `with-hour'.  Use `org-deadline-time-hour-regexp' or
2692         `org-scheduled-time-hour-regexp' as the search string if needed.
2693         (org-agenda-to-appt): Use :scheduled* and :deadline* by default,
2694         as other scheduled and deadline items don't have a time spec and
2695         cannot be turned into appointments.  Trim bracket links and use
2696         only the description as the appointment text.
2697         (org-agenda-get-restriction-and-command):
2698         Add default description for the agenda* view.
2699         (org-agenda-run-series): Handle agenda* views.
2701         * org-faces.el (org-agenda-filter-tags)
2702         (org-agenda-diary, org-agenda-calendar-event)
2703         (org-agenda-calendar-sexp): Minor code clean up.
2704         (org-agenda-filter-category): Docstring fix.
2705         (org-agenda-filter-category): New face.
2707         * org-agenda.el (org-agenda-local-vars):
2708         Add `org-agenda-re-filter-overlays' and `org-agenda-regexp-filter'.
2709         (org-agenda-mode-map): Use "|" for
2710         `org-agenda-filtered-by-regexp'.
2711         (org-agenda-re-filter-overlays): New variable.
2712         (org-agenda-mark-filtered-text):
2713         Use `org-agenda-re-filter-overlays'.
2714         (org-agenda-finalize, org-agenda-redo): Allow regexp filtering.
2715         (org-agenda-filter-by-category): Set `org-agenda-category-filter'
2716         here instead of within `org-agenda-apply-filter'.
2717         (org-agenda-regexp-filter): New variable.
2718         (org-agenda-filter-by-regexp): New function to filter agenda
2719         buffers by regexp.
2720         (org-agenda-filter-make-matcher): Make matcher for regexp filters.
2721         (org-agenda-filter-apply): Don't set `org-agenda-tag-filter' and
2722         `org-agenda-category-filter'.  Maybe apply regexp filter.
2723         (org-agenda-filter-hide-line): Add docstring.
2724         Hide regexp-filtered lines.
2725         (org-agenda-filter-show-all-tag, org-agenda-filter-show-all-cat):
2726         Add docstring.
2727         (org-agenda-filter-show-all-regexp): New function.
2728         (org-agenda-set-mode-name): Add regexp-filter information.
2729         (org-agenda-custom-commands-local-options): Add regexp filter.
2730         (org-agenda-regexp-filter-preset): New variable.
2731         (org-agenda-prepare): Use the new variable.
2733         * ox-odt.el (org-odt-code, org-odt-verbatim):
2734         Use `org-odt--encode-plain-text'.
2736         * ox-html.el (org-html-link): Minor code clean-up.
2738         * org.el (org-insert-heading): DTRT when in a narrowed region.
2740         * org-compat.el (org-buffer-narrowed-p): New compatibility
2741         function.
2743         * ox-html.el (org-html-format-inline-image): Fix missing string in
2744         formatting string.
2746         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2747         New allowed value `repeated-after-deadline' which will prevent the
2748         display of scheduled items when repeated after the current
2749         deadline.
2750         (org-agenda-get-scheduled): Handle the new value.
2752         * org.el (org-time-string-to-absolute): Tiny docstring fix.
2754         * ox-html.el (org-html-style-default): New classes `footpara' and
2755         `footdef' for the footnotes paragraphs and definitions.
2756         (org-html-format-footnote-definition): Wrap the footnote
2757         defintions into their own div.
2758         (org-html-paragraph): Don't add extra <br/> after a paragraph in a
2759         footnote.
2760         (org-html-container-element, org-html-divs): Mention that
2761         org-info.js will not work when changing the defaults.
2763         * ox-md.el (md): Export underlined text as verbatim.
2765         * ox-html.el (org-html-style-default): New CSS .underline and
2766         #org-div-home-and-up.
2767         (org-html-text-markup-alist): Don't hardcode the style, use the
2768         new class .underline.
2769         (org-html-home/up-format): Don't hardcode the style, use
2770         #org-div-home-and-up.
2771         (org-html-center-block): Use the .center class.
2773         * ox-md.el (org-md-underline): New function.
2775         * org-agenda.el (org-sorting-choice): Fix default value.
2777         * ox-html.el (org-html-format-footnote-definition)
2778         (org-html-footnote-section): Don't wrap footnote definitions into
2779         tables.
2780         (org-html-paragraph): Add HTML style and class parameter when the
2781         paragraph is in a footnote definition.  Also allow to add an extra
2782         string after the paragraph.  Further parameters can be added for
2783         paragraphs in other environments.
2784         (org-html-template): Always include the title as <h1
2785         class="title"></h1>, even when there is no title, as org-info.js
2786         needs it.
2788         * org-element.el (org-element-map): Fix tiny typo in docstring.
2790         * org-agenda.el (org-agenda-day-view): Fix parameter's name.
2792         * ox-html.el (org-html-format-inline-image): Don't add superfluous
2793         <p></p> when there is an empty caption.
2795         * org-agenda.el (org-agenda-refile): Enhance docstring.  Allow to
2796         clear the refile cache with C-0 or C-u C-u C-u.
2798         * ox-md.el (org-md-export-as-markdown): Tiny docstring fix.  Fix a
2799         library keyword in the comment section.
2801         * org.el (org-toggle-item): Convert all normal lines as items when
2802         there is a region, and only convert the first line when called
2803         with a universal prefix argument.  This is consistent with the
2804         behavior of `org-toggle-heading'.
2805         (org-toggle-heading): When the region contains only normal lines,
2806         a universal prefix arg will only convert the first line.  This is
2807         more consistent with `org-toggle-item'.
2808         (orgstruct-setup): Add `org-ctrl-c-minus' and `org-ctrl-c-star'.
2809         (customize-package-emacs-version-alist):
2810         Update `customize-package-emacs-version-alist'.
2812         * ox-texinfo.el (org-export-texinfo)
2813         (org-texinfo-filename, org-texinfo-classes)
2814         (org-texinfo-format-headline-function)
2815         (org-texinfo-node-description-column)
2816         (org-texinfo-active-timestamp-format)
2817         (org-texinfo-link-with-unknown-path-format)
2818         (org-texinfo-tables-verbatim)
2819         (org-texinfo-table-scientific-notation)
2820         (org-texinfo-text-markup-alist)
2821         (org-texinfo-format-drawer-function)
2822         (org-texinfo-format-inlinetask-function)
2823         (org-texinfo-info-process):
2824         * ox-odt.el (org-odt-format-drawer-function)
2825         (org-odt-format-headline-function)
2826         (org-odt-format-inlinetask-function):
2827         * ox-md.el (org-export-md, org-md-headline-style): Fix :version
2828         and :package-version keywords.
2830         * org.el (org-time-clocksum-use-effort-durations): Don't set to t
2831         by default as it will change many clocktables out there.  Let the
2832         user decides whether she wants to turn this on.
2834         * org.el (org-agenda-inhibit-startup): Revert to nil as the default.
2836         * org-agenda.el (org-agenda-dim-blocked-tasks): Revert to t as the
2837         default.
2839         * ox-html.el (org-html-style-default): More cosmetic tweaks.
2840         (org-html-head-include-default-style): Minor docstring update.
2842         * ox.el (org-export-snippet-translation-alist)
2843         (org-export-coding-system, org-export-in-background)
2844         (org-export-async-init-file, org-export-invisible-backends)
2845         (org-export-dispatch-use-expert-ui):
2846         * ox-texinfo.el (org-texinfo-filename, org-texinfo-classes)
2847         (org-texinfo-format-headline-function)
2848         (org-texinfo-node-description-column)
2849         (org-texinfo-active-timestamp-format)
2850         (org-texinfo-link-with-unknown-path-format)
2851         (org-texinfo-tables-verbatim)
2852         (org-texinfo-table-scientific-notation)
2853         (org-texinfo-text-markup-alist)
2854         (org-texinfo-format-drawer-function)
2855         (org-texinfo-format-inlinetask-function)
2856         (org-texinfo-info-process):
2857         * ox-man.el (org-man-tables-centered)
2858         (org-man-table-scientific-notation)
2859         (org-man-source-highlight, org-man-source-highlight-langs)
2860         (org-man-pdf-process, org-man-logfiles-extensions):
2861         * ox-html.el (org-html-allow-name-attribute-in-anchors)
2862         (org-html-coding-system, org-html-divs):
2863         * ox-ascii.el (org-ascii-text-width)
2864         (org-ascii-headline-spacing, org-ascii-indented-line-width)
2865         (org-ascii-paragraph-spacing, org-ascii-charset)
2866         (org-ascii-underline, org-ascii-bullets)
2867         (org-ascii-links-to-notes)
2868         (org-ascii-table-keep-all-vertical-lines)
2869         (org-ascii-table-widen-columns)
2870         (org-ascii-table-use-ascii-art)
2871         (org-ascii-format-drawer-function)
2872         (org-ascii-format-inlinetask-function):
2873         * org.el (org-modules, org-export-backends)
2874         (org-highlight-latex-and-related, orgstruct-setup-hook):
2875         * org-attach.el (org-attach-git-annex-cutoff):
2876         * org-archive.el (org-archive-file-header-format):
2877         * org-agenda.el (org-agenda-todo-ignore-time-comparison-use-seconds):
2878         * ob-python.el (org-babel-python-hline-to)
2879         (org-babel-python-None-to):
2880         * ob-ditaa.el (org-ditaa-eps-jar-path):
2881         * ob-core.el (org-babel-results-keyword): Add :version and
2882         :package-version.
2884         * ox-ascii.el: Use utf-8-emacs as the file coding system.
2886         * org-capture.el (org-capture-templates, org-capture-string)
2887         (org-capture-steal-local-variables)
2888         (org-capture-empty-lines-before)
2889         (org-capture-empty-lines-after)
2890         (org-capture-insert-template-here)
2891         (org-capture-import-remember-templates): Fix or add docstring.
2893         * ox-html.el (org-html-style-default): Cosmetic changes.
2894         (org-html-postamble, org-html-preamble)
2895         (org-html-preamble-format): Update docstring.
2897         * org-agenda.el (org-agenda-format-date-aligned)
2898         (org-agenda-time-of-day-to-ampm-maybe)
2899         (org-scheduled-past-days)
2900         (org-agenda-normalize-custom-commands)
2901         (org-agenda-run-series, org-store-agenda-views): Fix or add
2902         docstring.
2904         * ox-latex.el:
2905         (org-latex-table-scientific-notation, org-latex-verse-block):
2906         Fix typos in docstrings.
2908         * ox-html.el (org-html-text-markup-alist)
2909         (org-html-pretty-output, org-html-link-org-files-as-html)
2910         (org-html-postamble, org-html-preamble)
2911         (org-html-format-inline-image, org-html-splice-attributes)
2912         (org-export-splice-style, org-html-htmlize-region-for-paste)
2913         (org-html-fix-class-name)
2914         (org-html-format-footnote-reference)
2915         (org-html-format-footnotes-section)
2916         (org-html-footnote-section, org-html--anchor)
2917         (org-html--todo, org-html--tags, org-html-format-headline)
2918         (org-html-toc, org-html-format-section, org-html-checkbox)
2919         (org-html-format-list-item, org-html-format-latex)
2920         (org-html-encode-plain-text)
2921         (org-html-table-first-row-data-cells)
2922         (org-html-table--table.el-table, org-html-final-function):
2923         Fix or add docstring.
2925         * org.el (org-insert-heading): If the current item has a checkbox,
2926         insert the new item with a checkbox.
2928         * org.el (org-insert-heading): Don't delete spaces in empty
2929         headlines.
2931         * ox-odt.el (org-odt-keyword): Fix typo.
2933         * ox-latex.el (org-latex-toc-command): Cosmetic docstring change.
2935         * ox-html.el (org-html-encode-plain-text): Fix typo in docstring.
2937         * org-faces.el (org-column): Update docstring.
2939         * org-colview.el: Update error message.
2941         * org.el (org-modules): Do not include org-mew.el, org-vm.el,
2942         org-w3m.el, org-wl.el as these files are now part of contrib/.
2944         * org-mew.el:
2945         * org-vm.el:
2946         * org-w3m.el:
2947         * org-wl.el: Delete (moved to Org's contrib/ directory.)
2949         * org-capture.el (org-mks): Move from org-mks.el.
2951         * org-mks.el: Delete.
2953         * ox-html.el (html): Update HTML options names.
2955         * org.el (org-show-context): Don't try to fix ellipsis when
2956         showing a subtree in agenda.
2958         * ox-html.el (html): Reintroduce #+HTML_HEAD_EXTRA, previously
2959         known as HTML_STYLE_EXTRA.
2960         (org-html-head): Enhance docstring.
2961         (org-html-head-extra): Reintroduce.  Was `org-html-style-extra'.
2962         (org-html--build-head): Rename from `org-html--build-head'.
2963         Add information from `org-html-head-extra'.
2964         (org-html-template): Use `org-html--build-head'.
2966         * ox-html.el (org-html-display-buffer-mode): Delete.
2967         (org-html-export-as-html): Use `set-auto-mode' instead of
2968         `org-html-display-buffer-mode'.
2970         * org-agenda.el (org-agenda-write): Overwrite file when called
2971         non-interactively.
2973         * org-mobile.el (org-mobile-edit): Workaround a
2974         `org-insert-heading-respect-content' bug which prevents correct
2975         insertion when point is invisible
2977         * org.el (org-previous-line-empty-p): New parameter to allow
2978         checking next line.  Add a docstring.
2979         (org-insert-heading): Handle two universal prefix arguments as
2980         advertised in the docstring.  Don't insert new lines when
2981         creating a heading after the first heading in the current
2982         subtree.
2983         (org-insert-heading-respect-content): New optional argument
2984         arg, passed to `org-insert-heading'.
2986         * org.el (org-mode): Remove syntax entries.
2987         Use `org-backward-element' and `org-forward-element' for
2988         `beginning-of-defun-function' and `end-of-defun-function': this
2989         allows using C-M-a and C-M-e before the first headline.
2991         * ox-html.el (html): Remove :html-htmlized-css-url :options-alist.
2993         * ox-org.el (org-org-htmlized-css-url): Rename from
2994         `org-html-htmlized-org-css-url' and moved here from ox-html.el.
2995         (org-org-publish-to-org): Handle :htmlized-source in
2996         publishing projects.
2998         * ox-html.el (org-html-style-default): Update docstring.
2999         (org-html-infojs-install-script, org-html--build-style):
3000         Update property names.
3001         (org-html-head-include-scripts)
3002         (org-html-head-include-default-style, org-html-head):
3003         Respectively rename from `org-html-style-include-scripts',
3004         `org-html-style-include-default' and `org-html-style', now
3005         obsolete.
3006         (org-html-style-extra): Delete.
3008         * org-clock.el (org-clock-out): Fix bug: if a closing note needs
3009         to be stored in the drawer where clocks are stored, let's
3010         temporarily remove `org-clock-remove-empty-clock-drawer' from
3011         `org-clock-out-hook'.
3013         * ob-tangle.el (org-babel-tangle): Remove unused attempt of
3014         prompting the user of the tangle file name since :tangle is always
3015         set.  Don't prompt for a tangle file name when called with two
3016         universal prefix arg outside of a src block.
3017         Use `org-babel-tangle-single-block'.
3018         (org-babel-tangle-single-block): New function.
3019         (org-babel-tangle-collect-blocks): Use the new function.
3021         * org-table.el (org-table-convert-region, org-table-export)
3022         (org-table-align, org-table-beginning-of-field)
3023         (org-table-copy-down, org-table-check-inside-data-field)
3024         (org-table-insert-column, org-table-find-dataline)
3025         (org-table-delete-column, org-table-move-column)
3026         (org-table-insert-row, org-table-insert-hline)
3027         (org-table-kill-row, org-table-paste-rectangle)
3028         (org-table-wrap-region, org-table-sum, org-table-get-formula)
3029         (org-table-get-formula, org-table-get-stored-formulas)
3030         (org-table-fix-formulas, org-table-maybe-eval-formula)
3031         (org-table-rotate-recalc-marks, org-table-eval-formula)
3032         (org-table-get-range, org-table-get-descriptor-line)
3033         (org-table-find-row-type, org-table-recalculate)
3034         (org-table-iterate, org-table-iterate-buffer-tables)
3035         (org-table-formula-handle-first/last-rc)
3036         (org-table-edit-formulas, org-table-fedit-shift-reference)
3037         (org-rematch-and-replace, org-table-shift-refpart)
3038         (org-table-fedit-finish, org-table-fedit-lisp-indent)
3039         (org-table-show-reference, org-table-show-reference)
3040         (org-table-show-reference, org-table-show-reference)
3041         (org-table-force-dataline, orgtbl-error, orgtbl-export)
3042         (orgtbl-send-replace-tbl, org-table-to-lisp)
3043         (orgtbl-send-table, orgtbl-send-table, orgtbl-send-table)
3044         (orgtbl-toggle-comment, orgtbl-insert-radio-table)
3045         (orgtbl-to-unicode, org-table-get-remote-range)
3046         (org-table-get-remote-range, org-table-copy-dow)
3047         (org-table-check-inside-data-field, org-table-insert-colum)
3048         (org-table-find-dataline, org-table-delete-colum)
3049         (org-table-move-column, org-table-insert-ro)
3050         (org-table-insert-hline, org-table-kill-ro)
3051         (org-table-paste-rectangle, org-table-wrap-regio)
3052         (org-table-sum, org-table-get-formul)
3053         (org-table-get-stored-formulas, org-table-fix-formula)
3054         (org-table-maybe-eval-formul, org-table-rotate-recalc-marks)
3055         (org-table-eval-formul, org-table-get-range)
3056         (org-table-get-descriptor-lin, org-table-find-row-type)
3057         (org-table-recalculat, org-table-iterate)
3058         (org-table-iterate-buffer-table)
3059         (org-table-formula-handle-first/last-r)
3060         (org-table-edit-formulas, org-table-fedit-shift-referenc)
3061         (org-rematch-and-replace, org-table-shift-refpar)
3062         (org-table-fedit-finish, org-table-fedit-lisp-inden)
3063         (org-table-show-reference, org-table-force-datalin)
3064         (orgtbl-error, orgtbl-export, orgtbl-send-replace-tb)
3065         (org-table-to-lisp, orgtbl-send-tabl, orgtbl-toggle-comment)
3066         (orgtbl-insert-radio-tabl, orgtbl-to-unicode)
3067         (org-table-get-remote-range): Use `user-error' instead of
3068         `error' for user errors.
3070         * ob-core.el (org-babel-load-in-session): Throw a useful error
3071         when there is no code block at point.
3073         * ob-tangle.el (org-babel-tangle): Rename the ONLY-THIS-BLOCK
3074         parameter to ARG.  Allow two universal prefix arguments to tangle
3075         by the target file of the block at point.
3076         (org-babel-tangle-collect-blocks): New parameter TANGLE-FILE
3077         to restrict the collection of blocks to those who will be
3078         tangled in TARGET-FILE.
3080         * org-src.el (org-edit-src-auto-save-idle-delay): Use a delay of 0
3081         by default (i.e., deactivate auto-saving.)
3082         (org-edit-src-code): Set `buffer-auto-save-file-name' for
3083         auto-saving with `auto-save-mode'.
3085         * org.el (org-deadline, org-schedule): When called with two
3086         universal prefix arguments, set the warning time or the delay
3087         relatively to the current timestamp, not to today's date.
3089         * org-agenda.el (org-agenda-filter-apply):
3090         Deactive `org-agenda-entry-text-mode' when filtering.
3091         (org-agenda-entry-text-mode): Don't allow in filtered views.
3092         Don't show the maximum number of lines when turning off.
3094         * ox-html.el (org-html-headline): Add comment.
3096         * org.el (org-mode): Set `paragraph-start'.
3098         * org-agenda.el (org-agenda-entry-text-leaders): New option.
3099         (org-agenda-entry-text-show-here): Use it.
3101         * ox-html.el (org-html-link--inline-image): Always retrieve
3102         attributes for inline images.
3103         (org-html-link): Fix trailing whitespace at the end of the opening
3104         <a ...> HTML tag.
3105         (org-html-headline): For headlines whose first element is a
3106         headline and not a section, pretend there is an empty section (as
3107         "") for the correct HTML div to be inserted.
3109         * org-agenda.el (org-agenda-collect-markers)
3110         (org-create-marker-find-array): Move to ox-icalendar.el.
3111         (org-agenda-marker-table, org-check-agenda-marker-table):
3112         Delete.
3114         * ox-icalendar.el (org-icalendar-create-uid): New parameter
3115         H-MARKERS to only update some headlines, not the whole file.
3116         (org-icalendar--combine-files): When exporting to an .ics file
3117         only add UID to the headlines shown in the agenda buffer.
3118         (org-agenda-collect-markers, org-create-marker-find-array):
3119         Move here.
3121         * org-agenda.el (org-agenda-write): Ask before overwriting an
3122         existing file.
3124         * org-pcomplete.el (pcomplete/org-mode/file-option/infojs_opt):
3125         Use `org-html-infojs-opts-table'.
3127         * ox-html.el (org-html-infojs-opts-table):
3128         (org-html-use-infojs, org-html-infojs-options)
3129         (org-html-infojs-template): Move from ox-jsinfo.el.  Rename using
3130         the org-html- prefix.
3131         (org-html-infojs-install-script): Move from ox-jsinfo.el.
3133         * ox-jsinfo.el: Delete.
3135         * ox-html.el (org-html-section): Fix indentation.
3136         (org-html-inner-template): Add the document title here, within the
3137         "content" class, as the org-info.js needs it.
3138         (org-html-template): Don't include the document's title here.
3139         (org-html-format-inlinetask-function): Remove wrong example.
3141         * ob-tangle.el (org-babel-tangle-collect-blocks): Don't collect
3142         blocks in commented out headings.
3144         * ox-latex.el (org-latex-logfiles-extensions)
3145         (org-latex-remove-logfiles): Improve docstrings.
3147         * org-capture.el (org-capture): Cosmetic fix.
3149         * org-protocol.el (org-protocol-create-for-org)
3150         (org-protocol-create): Small docstrings enhancements.
3152         * org-protocol.el (org-protocol-capture): Small docstring fix.
3154         * org.el (org-speed-command-activate): Only forbid in src code
3155         blocks.
3157         * org-indent.el
3158         (org-indent-add-properties): Bugfix: prevent negative value for
3159         `added-ind-per-lvl'.
3161         * org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
3162         `isearch-mode-end-hook' so that any isearch fixes the problem with
3163         ellipsis on the first line.
3164         (org-fix-ellipsis-at-bol): New defsubst.
3165         (org-show-context, org-isearch-end): Use it.
3167         * org-agenda.el (org-agenda-deadline-leaders): New formatting
3168         string for past deadlines.
3169         (org-agenda-scheduled-leaders): Small change.
3170         (org-agenda-get-deadlines): Use the new formatting string.
3172         * ob-lob.el (org-babel-lob-execute): Rename cache? to cache-p.
3174         * org.el (org-speed-command-activate): Don't activate speed
3175         commands within blocks.
3177         * org.el (org-show-context): Remove useless catch.  Make sure the
3178         top of the window is a visible headline.
3179         (org-activate-plain-links): Remove unused catch.
3181         * org-macs.el (org-get-alist-option): Return nil, not (nil), so
3182         that `org-show-context' DTRT.
3184         * org.el (org-imenu-get-tree): Fix bug when matching against empty
3185         headlines.
3186         (org-overview): Stay on current line.
3187         (org-map-entries): Fix docstring.
3189         * org-macs.el (org-unmodified): Update comment.  Don't define
3190         `with-silent-modifications' for emacsen that don't have it.
3192         * org-compat.el (org-with-silent-modifications):
3193         New compatibility macro.
3195         * org.el (org-refresh-category-properties)
3196         (org-refresh-properties, org-entry-blocked-p)
3197         (org-agenda-prepare-buffers):
3199         * org-indent.el (org-indent-remove-properties)
3200         (org-indent-add-properties):
3202         * org-colview.el (org-columns-display-here)
3203         (org-columns-remove-overlays, org-columns-quit)
3204         (org-columns-edit-value, org-columns-compute-all)
3205         (org-columns-compute, org-agenda-colview-compute):
3207         * org-clock.el (org-clock-sum): Use the compatibility macro
3208         `org-with-silent-modifications' instead of
3209         `with-silent-modifications'.
3211         * org.el (org-sort-remove-invisible): Remove emphasis markers.
3213         * org.el (org-sort-remove-invisible): Use defsust.  Do not only
3214         check against invisible links, truly returns the visible part of
3215         the string.
3216         (org-sort-remove-invisible): Add a docstring.
3217         (org-sort-entries): Remove hidden links when comparing entries.
3219         * org-list.el (org-sort-list): Remove hidden links when comparing
3220         list items.
3222         * ox-html.el (org-html-headline): Fix typo.
3223         (org-html-format-headline--wrap): Cosmetic change.
3225         * org.el (org-at-clock-log-p): Delete.
3227         * org-clock.el (org-at-clock-log-p): Move here.
3229         * ox-html.el (org-html-format-headline-function): Fix docstring.
3231         * ob-sql.el (org-babel-execute:sql): Add header row delimiter for
3232         both mysql and postgresql.
3234         * org.el (org-agenda-prepare-buffers): Don't use
3235         `with-silent-modifications' too early.
3237         * org-macs.el: Add a comment on when to use `org-unmodified' and
3238         when to use `with-silent-modifications'.
3240         * org-colview.el (org-columns-display-here)
3241         (org-columns-remove-overlays, org-columns-quit)
3242         (org-columns-edit-value, org-columns-compute-all)
3243         (org-columns-compute, org-agenda-colview-compute):
3244         * org-clock.el (org-clock-sum):
3245         * org.el (org-refresh-category-properties)
3246         (org-refresh-properties, org-entry-blocked-p)
3247         (org-agenda-prepare-buffers): Use `with-silent-modifications'
3248         instead of `org-unmodified'.
3250         * ox-publish.el (org-publish-sitemap-date-format): Small docstring
3251         enhancement.
3253         * ox-latex.el (org-latex-format-headline-default-function):
3254         New option.
3255         (org-latex-format-headline-function): Use the new option as
3256         the default value.
3257         (org-latex-toc-command): Don't add vertical space after the table
3258         of contents.
3260         * org.el (org-entry-blocked-p): Use `org-unmodified' instead of
3261         `org-with-buffer-modified-unmodified'.
3262         (org-agenda-prepare-buffers): Fix indentation.
3264         * org-macs.el (org-unmodified): Rename from
3265         `org-with-buffer-modified-unmodified'.
3266         (org-with-buffer-modified-unmodified): Delete.
3268         * ob-python.el (org-babel-python-command): Use a defcustom.
3269         (org-babel-python-mode): Use a defcustom and default to
3270         'python-mode when featured.
3272         * org-agenda.el (org-agenda-start-day): Refer to `org-read-date'
3273         in the docstring.
3275         * ox-org.el (org-org-publish-to-org): Autoload.
3277         * org-protocol.el:
3278         * org-bibtex.el: Remove remember support.
3280         * org-clock.el (org-clock-heading-for-remember): Delete.
3281         (org-clock-in): Do not set the heading for remember.
3283         * org.el (org-move-subtree-down, org-forward-element)
3284         (org-backward-element):
3286         * org-table.el (org-table-previous-field)
3287         (org-table-move-column, org-table-move-row):
3289         * org-list.el (org-move-item-down, org-move-item-up)
3290         (org-cycle-item-indentation): Use `user-error' when moving or
3291         modifying the element at point is not possible.
3293         * ox-html.el (org-html-table-header-tags)
3294         (org-html-table-data-tags, org-html-table-row-tags)
3295         (org-html-table-align-individual-fields): Use the
3296         org-export-html group.
3297         (org-html-inline-src-block, org-html-link): Fix error messages.
3298         (org-html-begin-plain-list): Fix formatting, better FIXME
3299         comment.
3301         * org.el (org-fill-paragraph): Fill using
3302         `org-mode-transpose-word-syntax-table'.
3304         * ox-org.el (org-org-publish-to-org): New defun.
3306         * ox-html.el (org-export-htmlize): Delete group.
3307         (org-html-htmlize-output-type)
3308         (org-html-htmlized-org-css-url)
3309         (org-html-htmlize-region-for-paste): Rename from
3310         org-export-htmlize-*.
3311         (org-html-htmlize-generate-css, org-html-fontify-code):
3312         Use the correct names.
3314         * org-compat.el (org-file-equal-p): New compatibility function.
3316         * ox.el (org-export-output-file-name): Use the new function.
3318         * org-clock.el (org-clock-set-current)
3319         (org-clock-delete-current): Delete.
3320         (org-clock-in, org-clock-out): Set and delete
3321         `org-clock-current-task'.  Minor code clean-up.
3323         * org-clock.el (org-clock-in, org-clock-in-last):
3324         Tell `org-current-time' to always return a past time.
3326         * org.el (org-current-time): New argument `past' to force
3327         returning a past time when rounding.
3329         * org-agenda.el (org-agenda-unmark-clocking-task): New function.
3330         (org-agenda-mark-clocking-task): Use it.
3331         (org-agenda-clock-in): Let the cursor where it is.
3332         (org-agenda-clock-out): Ditto.  Also remove the
3333         `org-agenda-clocking' overlay.
3335         * org-agenda.el (org-agenda-set-restriction-lock): Fix restriction
3336         so that it ends at the beginning of the next headline at the same
3337         level.
3339         * org.el (org-set-effort, org-property-next-allowed-value):
3340         When needed, update the current clock effort time.
3341         (org-next-link): New parameter `search-backward'.  Fix bug when at
3342         a link with no 'org-link face, e.g., in a DONE headline.  Throw a
3343         message instead of an error.
3344         (org-previous-link): Use `org-next-link'.
3346         * org-agenda.el (org-agenda-format-item): Only set the breadcrumbs
3347         when `org-prefix-has-breadcrumbs' is non-nil.
3349         * org.el (org-mode): Don't make characters from
3350         `org-emphasis-alist' word constituents.
3351         (org-mode-transpose-word-syntax-table): Rename from
3352         `org-syntax-table'.
3353         (org-transpose-words):
3354         Use `org-mode-transpose-word-syntax-table'.
3356         * ox.el (org-export--dispatch-ui)
3357         (org-export--dispatch-action): Use integers for control chars.
3359         * org-agenda.el (org-agenda-set-restriction-lock): Put the
3360         overlay until the end of the subtree, not the end of the
3361         headline.
3363         * org.el (org-entry-delete, org-delete-property): New optional
3364         arg delete-empty-drawer, a string, to delete any empty drawer
3365         with that name.
3366         (org-toggle-ordered-property): Delete the drawer "PROPERTIES"
3367         if empty.
3369         * org-src.el (org-src-mode-map, org-edit-src-code)
3370         (org-edit-fixed-width-region, org-edit-src-save): Use C-c C-k
3371         for `org-edit-src-abort'.
3373         * org.el (org-mode): Use org-unmodified during startup
3374         initialization for functions that may be inhibited.
3376         * org-table.el (org-table-align): Only set the window start
3377         when table alignment is performed in the selected window.
3379         * org-src.el (org-edit-src-auto-save-idle-delay): New option.
3380         (org-src-ask-before-returning-to-edit-buffer): Make a defcustom.
3381         (org-edit-src-code-timer): New timer variable.
3382         (org-edit-src-code): Run the timer.
3383         (org-edit-fixed-width-region): Enhance message.
3384         (org-edit-src-exit): Cancel the timer.
3385         (org-edit-src-save): Prevent saving when editing fixed-width
3386         buffer, exiting will save already.
3387         (org-edit-src-exit): Inconditionally kill the src/example
3388         editing buffer.
3390         * org-pcomplete.el (pcomplete/org-mode/file-option):
3391         Require 'org-element.  This fixes a bug about unbound variable
3392         `org-element-affiliated-keywords' when trying to complete a
3393         keyword before 'org-element was required.
3395         * org-list.el (org-list-bullet-string): Replace match when there
3396         is a match, otherwise just return the bullet.
3398         * org-src.el (org-src-mode-map): New binding C-c k to abort
3399         editing.
3400         (org-edit-src-code): Mention the keybinding to abort editing
3401         and go back to the correct position.
3402         (org-edit-src-abort): New command to abort editing.
3404         * ox-html.el (org-html--build-meta-info): Add a newline before
3405         the title meta information.
3407         * org.el (org-return-follows-link): Mention that this does not
3408         affect the behavior of RET in tables.
3410         * ox-html.el (org-html--build-mathjax-config): Only include
3411         MathJax configuration if the resulting HTML contains LaTeX
3412         fragments.
3414         * org.el (org-syntax-table, org-transpose-words): Delete.
3415         (org-mode): Syntactically Define {} and <> as parentheses.
3416         (org-drag-line-forward, org-drag-line-backward):
3417         New functions.
3418         (org-shiftmetaup, org-shiftmetadown): Fall back on the new
3419         functions instead of throwing an error.
3420         (org-make-org-heading-search-string): Don't use statistic or [x/y]
3421         cookies when creating a link.
3423         * ox-html.el (org-html-table): Append #+attr_html attributes.
3425         * org.el (org-emphasis-alist, org-protecting-blocks):
3426         * org-src.el (org-edit-src-find-region-and-lang):
3427         * org-list.el (org-list-forbidden-blocks):
3428         * org-footnote.el (org-footnote-forbidden-blocks):
3429         Remove references to the deleted DocBook exporter.
3431         * org.el (org-end-of-line): Don't throw an error outside elements.
3433         * ox-html.el (org-html-link): Don't throw an error if the value
3434         of the :ID: property has not been generated by uuidgen.
3436         * org-pcomplete.el (pcomplete/org-mode/file-option/x):
3437         Resurrect.  Use `org-default-options' to initialize completion
3438         fonctions for the most important keywords.
3440         * org-macs.el (org-default-options): Rename and adapt from
3441         `org-get-current-options'.
3443         * org.el (org-options-keywords): Add keywords.
3445         * ox-odt.el (org-odt-convert-read-params): Fix typo in prompt.
3447         * ox-latex.el (org-latex-horizontal-rule): Fix typo in docstring.
3449         * ox-html.el (org-html-display-buffer-mode): New option.
3450         (org-html-export-as-html): Use it.
3452         * ob-core.el (org-babel-insert-result): Fix bug when inserting
3453         an empty string as the result.
3455         * org.el (org-timestamp-change): New optional parameter
3456         `suppress-tmp-delay' to suppress temporary delay like "--2d".
3457         (org-auto-repeat-maybe): Suppress temporary delays.
3459         * org-agenda.el (org-agenda-get-scheduled): When the delay is
3460         of the form "--2d" and there is a repeater, ignore the delay
3461         for further repeated occurrences.
3463         * org-agenda.el (org-agenda-get-deadlines)
3464         (org-agenda-get-scheduled): Minor refactoring.
3466         * org.el (org-time-string-to-absolute): Tiny docstring enhancement.
3467         (org-edit-special): Don't allow to edit when buffer is read only.
3469         * ox-html.el (org-html-format-latex): Don't set `cache-relpath'
3470         and `cache-dir' when `processing-type' is 'mathjax.
3471         (org-html-format-latex): Fix conversion in non-file buffers.
3473         * org.el (org-speed-commands-default): Bind `B' and `F' to
3474         `org-previous-block' and `org-next-block'.
3475         (org-read-date-minibuffer-local-map): Use "!" instead of "?" to
3476         see today's diary as "?" is already bounded by Calendar.
3477         (org-read-date-minibuffer-local-map): Use "." to go to today's
3478         date.
3480         * ob-core.el (org-babel-next-src-block)
3481         (org-babel-previous-src-block): Rewrite using
3482         `org-next-block'.
3484         * org.el (org-next-block, org-previous-block): New navigation
3485         commands.
3486         (org-mode-map): Bind the new commands to C-c C-F and C-c C-B
3487         respectively.
3489         * org-agenda.el (org-agenda-write): Don't copy headlines' subtrees
3490         when writing to an .org file.
3492         * org.el (org-copy-subtree): New parameter `nosubtrees'.
3494         * org-agenda.el (org-agenda-write): Allow writing to an .org file.
3496         * org.el (org-paste-subtree): Fix typo in docstring.
3498         * org-agenda.el (org-agenda-get-todos)
3499         (org-agenda-get-timestamps): Use nil as `ts-date' for diary
3500         sexpressions.
3501         (org-agenda-get-todos): Skip diary sexps when trying to sort by
3502         timestamp.
3503         (org-agenda-max-entries, org-agenda-max-todos)
3504         (org-agenda-max-tags, org-agenda-max-effort): New options.
3505         (org-timeline, org-agenda-list, org-search-view)
3506         (org-todo-list, org-tags-view): Tell `org-agenda-finalize-entries'
3507         what agenda type we are currently finalizing for.
3508         (org-agenda-finalize-entries): Limit the number of entries
3509         depending on the new options.
3510         (org-agenda-limit-entries): New function.
3512         * org.el (org-deadline): Allow a double universal prefix argument
3513         to insert/update a warning cookie.
3514         (org-deadline): Allow a double universal prefix argument to
3515         insert/update a delay cookie.
3517         * org-agenda.el (org-agenda-skip-scheduled-delay-if-deadline):
3518         New option.  The structure of the possible values is copied
3519         from `org-agenda-skip-deadline-prewarning-if-scheduled'.
3520         (org-agenda-get-scheduled): Honor the two new option,
3521         `org-scheduled-delay-days' and
3522         `org-agenda-skip-deadline-prewarning-if-scheduled'.  I.e. if a
3523         scheduled entry has a delay cookie like "-2d" (similar to the
3524         prewarning cookie for deadline), don't show the entry until
3525         needed.
3527         * org.el (org-deadline-warning-days): Small docstring fix.
3528         (org-scheduled-delay-days): New option (see
3529         `org-deadline-warning-days'.)
3530         (org-get-wdays): Use the new option.
3532         * org-agenda.el (org-agenda-sorting-strategy): Document the
3533         new sorting strategies.
3534         (org-agenda-get-todos, org-agenda-get-timestamps)
3535         (org-agenda-get-deadlines, org-agenda-get-scheduled): Add a
3536         `ts-date' text property with scheduled, deadline or timetamp
3537         date.
3538         (org-cmp-ts): New function to compare timestamps.
3539         (org-em): Add a docstring.
3540         (org-entries-lessp): Use `org-cmp-ts' to compare timestamps.
3541         Implement the following sorting strategies: timestamp-up/down,
3542         scheduled-up/down, deadline-up/down, ts-up/down (for active
3543         timestamps) and tsia-up/down (for inactive timestamps.)
3545         * ob-lilypond.el (ly-process-basic): Bugfix, don't use `pcase'.
3547         * org.el (org-contextualize-validate-key): Check against two new
3548         context predicates [not-]in-buffer.
3550         * org-agenda.el (org-agenda-custom-commands-contexts):
3551         Document the new [not-]in-buffer context predicates.
3553         * ob-core.el (org-ts-regexp): Remove duplicate defconst'ing.
3554         (org-babel-result-regexp): Don't use `org-ts-regexp', use a regexp
3555         string directly.
3557         * ob-lilypond.el (ly-process-basic): Don't use `ly-gen-png' and
3558         friends, rely on the extension of the output file.
3560         * org-archive.el (org-archive-file-header-format): New option.
3561         (org-archive-subtree): Use it.
3563         * ob-lilypond.el (ly-process-basic): Rely on ly-gen-png/pdf/eps to
3564         set the output type.
3566         * org.el (org-read-date-minibuffer-local-map): New variable.
3567         (org-read-date): Use it.
3568         (org-read-date-minibuffer-setup-hook): Mark as obsolete.
3569         (org-read-date): Bind `!' to `diary-view-entries' in order to
3570         check diary entries while setting an Org date.
3572         * org-agenda.el (org-diary): Only keep the descriptions of the
3573         links since Org links are not active in the diary buffer.
3575         * org-faces.el (org-priority): New face.
3577         * org.el (org-font-lock-add-priority-faces): Use the new face.
3579         * org-agenda.el (org-agenda-fontify-priorities): Use the
3580         org-priority face and add specific agenda face on top of it.
3582         * org-agenda.el (org-agenda-show-clocking-issues)
3583         (org-agenda-format-item): Let-bind
3584         `org-time-clocksum-use-effort-durations' to nil.
3586         * org.el (org-ctrl-c-ctrl-c): Only throw a message when using two
3587         universal prefix arguments on a list where all items are already
3588         in a transitory state.  Refine the error when the checkbox cannot
3589         be toggled.
3591         * org.el ("org-loaddefs.el"): Load org-loaddefs.el before
3592         requiring any org library.  Also use `load', not
3593         `org-load-noerror-mustsuffix'.
3594         (org-effort-durations): Move up to fix a compiler warning.
3595         (org-edit-special): Fix typo in docstring.
3596         (org-time-clocksum-format): Add a version tag and add to the
3597         'org-clock group.
3598         (org-time-clocksum-use-fractional): Ditto.
3599         (org-time-clocksum-use-effort-durations): New option to allow
3600         using `org-effort-durations' when computing clocksum durations.
3601         (org-minutes-to-clocksum-string): Use the new option.
3603         * org-clock.el (org-clocktable-write-default): Let-bind
3604         `org-time-clocksum-use-effort-durations' to a new clocktable
3605         parameter ":effort-durations".
3607         * org-entities.el (org-entities): "neg" should be used in LaTeX
3608         math mode.  Add the "neg" entity.
3610         * org-mobile.el (org-mobile-allpriorities): New option.
3611         (org-mobile-create-index-file): Use the new option.
3613         * org-latex.el (org-export-latex-inline-images): New option.
3615         * org.el (org-forward-heading-same-level): Before the first
3616         headline, go to the first headline.
3617         (org-backward-heading-same-level): Before the first headline,
3618         go to the beginning of the buffer, like
3619         `outline-previous-visible-heading' does.
3621         * org-exp.el (org-export-plist-vars): Don't use
3622         `org-export-html-inline-images' to set the :inline-images
3623         property, use distinct properties for the various backends.
3625         * org-publish.el (org-publish-project-alist): Ditto.
3627         * org-latex.el (org-export-latex-links): Use :latex-inline-images
3628         instead of :inline-images.
3630         * org-odt.el (org-compat): Require.
3632         * org.el (org-parse-time-string): Allow strings supported by
3633         tags/properties matcher (eg <now>, <yesterday>, <-7d>).
3635         * org-clock.el (org-clock-rounding-minutes): New option to round
3636         the time by N minutes in the past when clocking in or out.
3637         (org-clock-in, org-clock-in-last, org-clock-out): Use the new
3638         option.
3640         * org.el (org-current-time): New optional parameter
3641         `rounding-minutes' to override the use of
3642         `org-time-stamp-rounding-minutes' for rounding.
3644         * org-clock.el (org-clock-special-range): Small docstring fix.
3645         New parameter 'weekstart to define the week start day.
3646         (org-clock-special-range, org-dblock-write:clocktable)
3647         (org-dblock-write:clocktable, org-clocktable-write-default)
3648         (org-clocktable-steps, org-clock-get-table-data): Use the new
3649         parameter.
3650         (org-clocktable-defaults): Set monday as the starting day of the
3651         week by setting :wstart to 1.
3653         * org.el (org-store-link): Fix the naming of internal links to
3654         lines starting with a keyword.
3656         * org-agenda.el (org-agenda-Quit, org-agenda-quit)
3657         (org-agenda-exit, org-agenda-kill-all-agenda-buffers):
3658         Docstring fixes.
3660         * org.el (org-last-set-property-value): New variable.
3661         (org-read-property-name): Fix dangling parentheses.
3662         (org-set-property-and-value): New command to manually set
3663         both the property and the value.  A prefix arg will use the
3664         last property-value pair set without prompting the user.
3665         (org-set-property): Set `org-last-set-property-value'.
3666         (org-mode-map): Bind the new command to `C-c C-x P'.
3667         (org-find-invisible-foreground): Delete.
3668         (org-mode): Use `face-background' instead of
3669         `org-find-invisible-foreground'.
3670         (org-startup-options): New startup keywords.
3671         (org-log-into-drawer): Update docstring to explain how to set this
3672         variable through the startup keyword "logdrawer" and "nologdrawer".
3673         (org-log-states-order-reversed): Document the new startup keywords
3674         "logstatesreversed" and "nologstatesreversed".
3675         (org-mode-map): Use `org-remap' instead of binding `M-t' to
3676         `org-transpose-words' directly.
3677         (org-syntax-table): New variable.
3678         (org-transpose-words): New command, simply wrapping the new
3679         syntax table around `transpose-words'.
3680         (org-mode-map): Bind `org-transpose-words' to `M-t'.
3681         (org-store-link): Use keyword at point as the search string.
3682         Use `delq nil' instead of `delete nil'.
3683         (org-make-org-heading-search-string): Rewrite using
3684         org-element.el.  Not an interactive function anymore.
3686         * org-pcomplete.el (pcomplete/org-mode/drawer): Ditto.
3688         * org-mobile.el (org-mobile-files-alist): Ditto.
3690         * org.el (org-store-link): When creating a link to a heading with
3691         a bracket link, don't escape this link with curly braces as the
3692         escaped link is not active anyway; use the description instead.
3693         If the headline only consists of a bracket link, add a star to the
3694         description so that the user knows this is an internal link.
3696         * org-w3m.el (org-w3m-store-link): New function.
3698         * org.el (org-store-link): Update the error message when no method
3699         is available for storing a link.  Use `user-error' for this.
3700         Remove handling w3m links from this function.
3701         (org-insert-heading, org-insert-todo-heading): A double prefix arg
3702         force the insertion of the subtree at the end of the parent
3703         subtree.
3704         (org-store-link): A double prefix argument now skips module
3705         store-link functions to only use Org's core functions.  Also, when
3706         several modular store-link functions match, ask for which one to
3707         use.
3708         (org-cycle, org-cycle-internal-global)
3709         (org-cycle-internal-local, org-display-outline-path): Let-bind
3710         `message-log-max' to nil so that messages don't populate the
3711         *Messages* buffer.
3713         * org-table.el (org-table-eval-formula): Handle localized
3714         time-stamps by internally converting them to english during
3715         formulas evaluation.
3717         * org.el (org-clock-timestamps-up): Fix declarations.
3719         * ob-core.el (org-split-string): Declare function.
3721         * org-html.el (org-html-export-list-line): Add CSS classes to
3722         these list HTML tags: <ul> <dl> and <ol>.
3724         * org-clock.el (org-clock-timestamps-up)
3725         (org-clock-timestamps-down, org-clock-timestamps-change):
3726         Add an optional argument N to change timestamps by several units.
3728         * org.el (org-shiftcontrolup, org-shiftcontroldown): Ditto.
3730         * org-exp.el (org-export-copy-to-kill-ring): Add a new choice
3731         'if-interactive and use it as the default.
3732         (org-export-push-to-kill-ring): Use the new choice.
3734         * org.el (org-block-entry-blocking): New variable.
3735         (org-todo): Use it.  Also use `user-error' when a TODO state
3736         change is blocked.
3737         (org-block-todo-from-children-or-siblings-or-parent):
3738         Display `org-block-entry-blocking' in the user-error message.
3740         * org.el (org-get-cursor-date): New optional argument WITH-TIME to
3741         add the time of the day.
3743         * org-capture.el (org-capture): When capturing from the agenda and
3744         with a non-nil value for `org-capture-use-agenda-date', a `C-1'
3745         prefix will set the capture time to the HH:MM of the current line
3746         or the current HH:MM.
3748         * org-agenda.el (org-agenda-capture): New optional argument
3749         WITH-TIME: when set to 1, the capture time will be set to the
3750         HH:MM time of the current line, or the current HH:MM time.
3752         * org.el (org-latex-preview-ltxpng-directory): Fix docstring
3753         formatting.
3754         (org-deadline-close): Use `org-time-stamp-to-now'.
3755         (org-time-stamp-to-now): Use `org-float-time' instead of the
3756         obsolete `time-to-seconds' function.
3757         (org-format-outline-path): Fix bug: add the separator string after
3758         the prefix.
3759         (org-display-inline-images): Search for #+ATTR within the current
3760         paragraph.
3761         (org-days-to-time): Make obsolete.
3762         (org-time-stamp-to-now): Rename from `org-days-to-time'.
3763         Allow to compare time-stamps based on seconds.
3765         * org-agenda.el (org-agenda-todo-ignore-time-comparison-use-seconds):
3766         New option to compare time stamps using seconds, not days.
3767         (org-agenda-todo-custom-ignore-p)
3768         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3769         Use the new function's name and the new option.
3771         * org-clock.el (org-clock-sound): Enhance docstring.
3772         (org-notify): Use the parameter `play-sound' as argument for
3773         `org-clock-play-sound'.
3774         (org-clock-play-sound): New optional argument `clock-sound' to
3775         override `org-clock-sound'.
3777         * org-agenda.el (org-agenda-format-item): Fix initialization
3778         of the level text property.
3780         * org.el (org-format-outline-path): Small docstring
3781         enhancement.
3782         (org-display-outline-path): Fix order or arguments.
3784         * org.el (org-activate-plain-links)
3785         (org-activate-bracket-links): Add a new 'htmlize-link text
3786         property, so that htmlize (> version 1.42) can linkify the
3787         links.
3788         (org-display-outline-path): Allow a string value for the
3789         `as-string' parameter.  Such a value will replace the "/"
3790         separator in the output.  New argument `as-string'.
3791         (org-refile-keep): New variable.
3792         (org-copy): New command to copy notes.
3793         (org-refile): New parameter msg to override the "Refile" string in
3794         the default prompt.
3795         (org-mode-map): Bind "C-c M-w" to `org-copy'.
3796         (org-refile-get-location): Use the current file name as the
3797         default target when there is no refile history.
3798         (org-cycle-hide-inline-tasks): New function to hide inline tasks
3799         when cycling.
3800         (org-cycle-hook): Use the new function.
3801         (org-entry-put): Fix bug when updating the last clock.
3802         (org-use-last-clock-out-time-as-effective-time): New option.
3803         (org-current-effective-time): Use the new option.
3805         * org-clock.el (org-clock-get-last-clock-out-time):
3806         New function.
3808         * org.el (org-toggle-inline-images): Only send a message when
3809         called interactively.
3810         (org-scan-tags): Fix the declaration and the use of
3811         `org-agenda-format-item'.
3813         * org-agenda.el (org-agenda-add-time-grid-maybe): Use the
3814         correct number of parameters for `org-agenda-format-item'.
3815         Add a docstring.
3817         * org.el (org-outline-level): Go at the beginning of the
3818         headline first to always return a sensible result.
3820         * org-agenda.el (org-search-view, org-agenda-get-todos)
3821         (org-agenda-get-timestamps, org-agenda-get-sexps)
3822         (org-agenda-get-progress, org-agenda-get-deadlines)
3823         (org-agenda-get-scheduled, org-agenda-get-blocks): Return the
3824         correct level depending on `org-odd-levels-only'.
3825         (org-agenda-prefix-format): A new specifier `%l' allows to insert
3826         X spaces when the item is of level X.
3827         (org-search-view, org-get-entries-from-diary)
3828         (org-agenda-get-todos, org-agenda-get-timestamps)
3829         (org-agenda-get-sexps, org-agenda-get-progress)
3830         (org-agenda-get-deadlines, org-agenda-get-scheduled)
3831         (org-agenda-get-blocks, org-agenda-change-all-lines): Add a
3832         new text property 'level, a string with as many whitespaces as
3833         the level of the item.
3834         (org-agenda-format-item, org-compile-prefix-format):
3835         Handle the new `%l' specifier.
3837         * org-colview.el (org-columns-next-allowed-value): Add the
3838         CLOCKSUM property to the list of properties that can be
3839         changed interactively from the column view.
3841         * org.el (org-entry-put): Allow to set the CLOCKSUM property
3842         by updating the most recent clock.  This is useful in the
3843         column view when you want to use S-<left/right> to update the
3844         last clock of the entry at point.
3845         (org-image-actual-width): New choice: use #+ATTR* or fall back on
3846         a number.
3847         (org-display-inline-images): Implement the new choice.
3848         (org-image-actual-width): Rename from `org-image-fixed-width'.
3849         Update the docstring.  Give more choice.
3850         (org-display-inline-images): Use the option new choices.
3851         (org-image-fixed-width): New option to set a fixed width for
3852         inline images.
3853         (org-display-inline-images): Use the new option.
3855         * org-agenda.el (org-class): Allow to use holiday strings for
3856         the `skip-weeks' arguments.
3858         * org.el (org-mode): Set the syntax of the " character to "string
3859         quote".
3861         * org-agenda.el (org-agenda-append-agenda): Bugfix: correctly
3862         check whether we are in `org-agenda-mode'.
3863         (org-agenda): Set `org-agenda-buffer-name' correctly with sticky
3864         agendas and non-custom commands.
3866 2013-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
3868         * org-src.el (org-edit-src-exit): Let overlay survive after the
3869         buffer has been saved.
3871         * ox-texinfo.el (org-texinfo-export-to-texinfo): Use new style
3872         backquoting.
3873         (org-texinfo-export-to-info): Use new style backquoting.
3875         * ob-latex.el (org-babel-execute:latex): Call `file-name-sans-extension'
3876         instead of `file-base-name'.
3878         * org.el (org-insert-heading): Improve whitespace behavior at
3879         end of subtree.
3880         (org-latex-default-packages-alist): Add the `rotating' package to
3881         the list of default packages.  Improve docstring.
3882         (org-insert-property-drawer): Insert only after space in current
3883         line.
3884         (org-forward-paragraph, org-backward-paragraph): Do not deactivate
3885         the mark.
3886         (org-special-ctrl-o): New option.
3887         (org-open-line): Don't do anything special unless `org-special-ctrl-o'
3888         is non-nil.
3890         * org-agenda.el (org-agenda-custom-commands-local-options):
3891         (org-agenda-span, org-agenda-ndays-to-span)
3892         (org-agenda-span-to-ndays, org-agenda-list, org-agenda-later)
3893         (org-agenda-change-time-span, org-agenda-compute-starting-span):
3894         Add support for fortnight view.
3895         (org-agenda-menu): Add fortnight view command.
3896         (org-agenda-fortnight-view): New command.
3898         * org-timer.el (org-clock-sound): Silence compiler.
3900         * org.el (org-beginning-of-line, org-end-of-line):
3901         Bind deactivate-mark to avoid that this command deactivates it.
3902         (org-make-tags-matcher): Do not interpret / in property value as
3903         starter of TODO match.
3904         (org-overview): Preserve point.
3905         (org-read-date-minibuffer-local-map): Don't replace disputed keys
3906         when defining this keymap.
3907         (org-read-date): Remove unnecessary binding of
3908         `org-replace-disputed-keys'.
3909         (org-insert-heading): Allow to remove blank lines if the user does
3910         not want any.
3911         (org-unlogged-message): Fix typo in dostring.
3913         * ob-ruby.el: New customizations `org-babel-ruby-hline-to' and
3914         `org-babel-ruby-nil-to'
3915         (org-babel-ruby-var-to-ruby): Convert incoming 'hlines.
3916         (org-babel-ruby-table-or-string): Convert outgoing nils.
3918         * org.el (org-file-apps-defaults-gnu): Use `xdg-open' to open
3919         files where available.
3921         * org-table.el (orgtbl-radio-table-templates): Improve docstring.
3923         * org.el (org-unlogged-message): New function.
3924         (org-cycle, org-cycle-internal-global, org-cycle-internal-local)
3925         (org-global-cycle, org-display-outline-path):
3926         Use `org-unlogged-message'.
3928         * org-pcomplete.el (org-make-org-heading-search-string):
3929         Fix function declaration.
3930         (pcomplete/org-mode/searchhead): Remove incorrect second arguments
3931         to `org-make-org-heading-search-string'.
3933         * org.el (org-read-date): Turn off replacing disputed keys when
3934         defining the minibuffer keys during date selection.
3935         (org-insert-heading): Improve the empty line insertion behavior.
3936         Basically, never remove empty lines, only add them.
3938         * org-attach.el (org-attach-commit): Use vc-git to find the git
3939         repository.
3941         * org-compat.el (org-move-to-column): Turn off invisibility stuff
3942         for moving the cursor to a column.
3944         * org.el (org-modules): Update with the new module org-mac-link.
3945         (org-display-outline-path): Do not log outline path in Message
3946         buffer.
3947         (org-agenda-ignore-drawer-properties): New option.
3948         (org-agenda-prepare-buffers):
3949         Honour `org-agenda-ignore-drawer-properties'.
3951         * org-clock.el (org-clock-goto): Recenter to thrd line
3953         * org-table.el (orgtbl-send-replace-tbl): Allow multiple spaces
3954         between keywords in RECEIVE ORGTBL lines.
3956         * org.el (org-bookmark-names-plist): New user option.
3957         (org-set-regexps-and-options-for-tags): Use `org-bookmark-names-plist'.
3958         (org-refile): Use `org-bookmark-names-plist'.
3960         * org-capture.el (org-capture-bookmark-last-stored-position):
3961         Use `org-bookmark-names-plist'.
3963         * org.el (org-insert-heading): Rewritten from scratch.
3964         (org-N-empty-lines-before-current): New function
3965         (org-insert-heading-respect-content): Set the correct argument to
3966         force a heading even in lists.
3968         * org-colview.el (org-columns-display-here): Enforce fixed width
3969         font.
3971         * org-faces.el (org-column): Setting font width has been shifted
3972         to org-colview.el.
3974         * org.el (org-mode-flyspell-verify): Check for src block.
3976         * org-table.el (org-table-convert-region): Fix interactive
3977         statement.
3979         * org-ctags.el (org-ctags-path-to-ctags): Avoid usine `case'.
3981         * org.el (org-beginning-of-line, org-end-of-line):
3982         Set disable-point-adjustment when the command ends next to invisible
3983         text.
3985         * ob-lob.el (org-babel-lob-files): Fix custom type.
3987         * org-agenda.el (org-agenda-export-html-style, org-agenda-ndays)
3988         (org-agenda-inactive-leader, org-agenda-day-face-function)
3989         (org-agenda-auto-exclude-function): Fix custom type.
3991         * org-bibtex.el (org-bibtex-prefix): Fix custom type.
3993         * org-clock.el (org-clock-heading-function):
3994         (org-show-notification-handler): Fix custom type.
3996         * org-footnote.el (org-footnote-auto-adjust): Fix custom type.
3998         * org-protocol.el (org-protocol-default-template-key): Fix custom
3999         type.
4001         * org.el (org-make-link-description-function):
4002         (org-link-translation-function):
4003         (org-link-frame-setup):
4004         (org-refile-target-verify-function):
4005         (org-get-priority-function):
4006         (org-use-fast-tag-selection):
4007         (org-columns-modify-value-for-display-function):
4008         (org-sparse-tree-default-date-type):
4009         * ox-html.el (org-html-postamble):
4010         (org-html-postamble-format):
4011         (org-html-preamble-format):
4012         * ox-odt.el (org-odt-content-template-file):
4013         * ox.el (org-export-with-archived-trees):
4014         (org-export-initial-scope): Fix custom type.
4016         * org.el (org-insert-heading): Fix problem with inserting heading.
4017         Check for checkbox at the beginning of the item, not just at the
4018         beginning of the line.
4019         (org-small-year-to-year): Fix docstring typo.
4020         (org-show-siblings): By default, also show siblings from a
4021         bookmark jump.
4023         * org-agenda.el (org-agenda-set-restriction-lock): Highlight only
4024         the headline when agenda is restricted to a subtree.  Do not
4025         highlight the entire subtree.
4027         * org-table.el (org-table-eval-formula): Work-around for calc-eval
4028         regression.
4030         * ox.el (org-export-dispatch): Make sure the last position marker
4031         uses the base buffer if there is one.
4032         (org-export-dispatch-last-position): New variable.
4033         (org-export-dispatch): Save position of cursor at the moment when
4034         the export command is called.  Restore that position temporarily
4035         when repeating the previous export command.
4037         * org.el (org-insert-heading): Shrink whitespace at end of subtree
4038         when `org-insert-heading-respect-content' is on.
4040         * org-list.el (org-sort-list): Respect sorting-type and
4041         getkey-func when they are specified in the call.
4043         * org.el (org-sort-entries): Respect sorting-type and getkey-func
4044         when they are specified in the call.
4045         (org-format-outline-path): New argument SEPARATOR to specify a
4046         string that is inserted between parts of the outline path.
4047         (org-display-outline-path): New argument SEPARATOR, to specify a
4048         string that is inserted between parts of the outline path.
4050         * org-colview.el (org-dblock-write:columnview): Change the capture
4051         of pos to after inserting the original content
4053 2013-11-12  Christian Moe  <mail@christianmoe.com>
4055         * ox-odt.el (org-odt-line-break, org-odt-plain-text):
4056         Remove newline after line-break tag.
4058 2013-11-12  Christophe Junke  <christophe.junke@inria.fr>  (tiny change)
4060         * org.el (org-set-font-lock-defaults): Let footnote fontifications
4061         be done before other links' fontification.  This allows links
4062         appearing inside footnotes to be both visible and active.
4064 2013-11-12  Christopher Schmidt  <christopher@ch.ristopher.com>
4066         * org.el (orgstruct-setup): Major rewrite.
4067         (orgstruct++-mode): Overwrite local non-org vars again.
4068         (orgstruct-mode): Simplify implementation.  Emulate outline's
4069         buffer-invisiblity-spec.
4070         (orgstruct-heading-prefix-regexp): Change default value to nil.
4071         (orgstruct-error): Use `user-error' if available.
4072         {pro,de}motion commands if `orgstruct-heading-prefix-regexp' is
4073         non-nil.  Always use `org-outline-level'.  Bind org-shift*.
4074         (orgstruct-make-binding): Major rewrite.
4075         (org-cycle-global-status, org-cycle-subtree-status): Set state
4076         property.
4077         (org-heading-components): Use `org-heading-regexp' in
4078         orgstruct-mode.
4079         (orgstruct-heading-prefix-regexp, orgstruct-setup-hook):
4080         New options.
4081         (orgstruct-initialized): New variable.
4082         (org-get-local-variables): Honour state property.
4083         (org-run-like-in-org-mode): Use `let' instead of `progv'.  Do not
4084         override variables with non-default values.
4085         (org-forward-heading-same-level): Do not skip to headlines on
4086         another level.  Handle negative prefix argument correctly.
4087         (org-backward-heading-same-level):
4088         Use `org-forward-heading-same-level'.
4090 2013-11-12  Craig Tanis  <craig-tanis@utc.edu>  (tiny change)
4092         * ox-latex.el (org-latex-src-block): Change format string to position
4093         caption after figure content.
4095 2013-11-12  Eric Abrahamsen  <eric@ericabrahamsen.net>
4097         * org.el (org-ctrl-c-ctrl-c): `C-c C-c' on a link is usually a
4098         no-op.  If that link is in a headline, act as if the `C-c C-c' was
4099         called on the headline, not the link.
4101         * ox-html.el (org-html-doctype-alist): New variable holding an
4102         alist of (X)HTML doctypes
4103         (org-html-xhtml-p, org-html-html5-p, org-html-close-tag):
4104         New function.
4105         (org-html-html5-fancy): New export option, determining whether or
4106         not to use HTML5-specific elements.
4107         (org-html-html5-elements): New variable, new HTML5 elements.
4108         (org-html-special-block): Export special blocks to new HTML5
4109         elements.
4110         (org-html-format-inline-image): Use <figure> and <figcaption> for
4111         standalone images.
4112         (org-html-format-inline-image, org-html--build-meta-info)
4113         (org-html--build-head, org-html--build-pre/postable)
4114         (org-html-template, org-html-horizontal-rule)
4115         (org-html-format-list-item, org-html-line-break, org-html-table)
4116         (org-html-verse-block): Changes to allow flavored export.
4118         * ox-latex.el (org-latex--org-table, org-latex-table-row):
4119         Allow use of the "tabu" and "longtabu" table environments.  New table
4120         attribute :spread handles the width specification syntax of "tabu"
4121         and "longtabu" table environments.
4123 2013-11-12  Eric Schulte  <eric.schulte@gmx.com>
4125         * org-bibtex.el (org-bibtex-read-buffer): Reads all bibtex entries
4126         in a buffer.
4127         (org-bibtex-read-file): Read all bibtex entries in a file.
4128         (org-bibtex-import-from-file): Import all bibtex entries from a
4129         file into the current buffer.
4131         * ob-tangle.el (org-babel-load-file): When called with a prefix
4132         argument the tangled emacs-lisp file will be byte compiled.
4134         * ob-tangle.el (org-babel-tangle): Tangled files should not be
4135         writable.
4137         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Better about
4138         when to fully escape the results or just print them close to
4139         verbatim.
4141         * ob.el (org-babel-result-cond): This function should now be used
4142         by all language backends to handle the processing of raw code
4143         block output into scalar results, table results, or ignored
4144         results depending on the value of result-params.
4146         * ob-C.el (org-babel-C-execute): Use org-babel-result-cond.
4148         * ob-R.el (org-babel-R-evaluate-external-process)
4149         (org-babel-R-evaluate-session):
4150         * ob-awk.el (org-babel-execute:awk):
4151         * ob-clojure.el (org-babel-execute:clojure):
4152         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
4153         * ob-fortran.el (org-babel-execute:fortran):
4154         * ob-io.el (org-babel-io-evaluate):
4155         * ob-java.el (org-babel-execute:java):
4156         * ob-lisp.el (org-babel-execute:lisp):
4157         * ob-maxima.el (org-babel-execute:maxima):
4158         * ob-picolisp.el (org-babel-execute:picolisp):
4159         * ob-python.el (org-babel-python-evaluate-external-process):
4160         (org-babel-python-evaluate-session):
4161         * ob-scala.el (org-babel-scala-evaluate):
4162         * ob-sh.el (org-babel-sh-evaluate):
4163         * ob-shen.el (org-babel-execute:shen):
4164         * ob-sql.el (org-babel-execute:sql):
4165         * ob-sqlite.el (org-babel-execute:sqlite):
4166         Use `org-babel-result-cond'.
4168         * ob.el (org-babel-common-header-args-w-values): Add a new "none"
4169         header argument.
4170         (org-babel-execute-src-block): Don't do *any* result processing if
4171         the "none" header argument has been specified.
4172         (org-babel-sha1-hash): Remove the none header argument from header
4173         arg lists when calculating cache sums.
4174         (org-babel-insert-result): Flesh out some documentation.
4176         * ob.el (org-babel-insert-result): Don't escape results in
4177         drawers.
4179         * ob-python.el (org-babel-python-hline-to): Customize hline
4180         conversion to python.
4181         (org-babel-python-None-to): Customize none conversion from python.
4182         (org-babel-python-var-to-python): Use new variable.
4183         (org-babel-python-table-or-string): Use new variable.
4185         * org.el (org-babel-load-languages): Add ob-makefile to
4186         `org-babel-load-languages'.
4188         * ob-makefile.el: New file.
4190         * ob-sh.el (org-babel-sh-evaluate): Don't could 0-length shebangs.
4192         * org.el (org-format-latex): Simplify and now make use of the new
4193         `org-create-formula-image' function.
4194         (org-create-formula-image): Provides a simpler interface to the
4195         two backend-specific functions.
4197         * ob-core.el (org-babel-default-header-args): It is likely that
4198         someone meant to set :padlines to "yes", but accidentally set
4199         :padnewlines to "yes".  Either way lets just remove this which
4200         shouldn't have any functional effect.
4202         * ob-haskell.el (org-babel-default-header-args:haskell):
4203         Set :padlines to "no" by default.
4205         * ob-exp.el (org-babel-exp-non-block-elements): Ignore inline
4206         source block on #+ prefixed lines.
4208         * ob-core.el (org-babel-merge-params): Replace `remove-if' with
4209         `org-remove-if'.  More careful to check that the colname- and
4210         rowname-names header arguments exist during merge.  When merging
4211         parameters, if a variable is replaced with a new value, then
4212         delete colnames/rownames for the original value of that variable.
4214         * ob-ditaa.el (org-babel-ditaa-java-cmd): Make java executable
4215         configurable for ditaa blocks.
4217         * ob-sh.el (org-babel-sh-var-to-string): Fix bug in ob-sh when
4218         dealing with list variables.
4220         * ob-core.el (org-babel-demarcate-block):
4221         Include `org-src-lang-modes' in block demarcation options.
4223         * ob-C.el: Don't modify `org-babel-load-languages' from ob-*
4224         files.
4226         * ob-latex.el (org-babel-latex-htlatex): Set this variable to
4227         "htlatex" (or path to said) to enable svg generation from latex
4228         code blocks.
4229         (org-babel-latex-htlatex-packages): Libraries required for
4230         automatic svg generation.
4231         (org-babel-execute:latex): Generate SVG images directly from latex
4232         code blocks (assumes tikz).
4234         * ob-exp.el (org-babel-exp-non-block-elements): Use lob call name
4235         when exporting.
4237         * ob-scheme.el (org-babel-scheme-get-repl)
4238         (org-babel-scheme-make-session-name)
4239         (org-babel-scheme-execute-with-geiser, org-babel-execute:scheme):
4240         Fix whitespace and indentation.
4242         * ob-core.el (org-babel-set-current-result-hash): Update the
4243         match-string holding the hash data, and correct overlay
4244         maintenance.
4245         (org-babel-find-named-result): Call lines are not results.
4246         (org-babel-where-is-src-block-result): Don't implicitly name the
4247         results of call lines.
4248         (org-babel-exp-non-block-elements): There is now another element
4249         on the call line info list.
4251         * ob-lob.el (org-babel-lob-get-info): Return the name (if any) at
4252         the end of the info list.
4253         (org-babel-lob-execute): Pass the name through to execution.
4255         * ob-core.el (org-babel-execute-src-block): Ensure that the
4256         location is set before anything else is done.
4258         * ob-ref.el (org-babel-ref-parse): Evaluate Emacs Lisp values in
4259         header arguments at the location of the original code block.
4261         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Use new header
4262         arguments.
4264         * ob-core.el (org-babel-common-header-args-w-values): Mention new
4265         header arguments.
4266         (org-babel-expand-body:generic): Use new header arguments.
4267         (org-babel-read-result): More robust matching of examplized
4268         ranges.
4269         (org-babel-result-end): More robust matching of examplized ranges.
4271         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Gnuplot, close
4272         output terminal when opened.
4273         (org-babel-gnuplot-prefix): Customization variable prefix gnuplot
4274         code blocks.
4275         (org-babel-expand-body:gnuplot): Customization variable prefix
4276         gnuplot code blocks.
4278         * ob-core.el (org-babel-params-from-properties): Now returns a
4279         list of alists and does *not* call `org-babel-merge-params'.
4280         (org-babel-parse-src-block-match):
4281         (org-babel-parse-inline-src-block-match):
4282         * ob-exp.el (org-babel-exp-src-block):
4283         (org-babel-exp-non-block-elements):
4284         * ob-lob.el (org-babel-lob-execute): Handle new list of lists
4285         output of `org-babel-params-from-properties'.
4287         * ob-gnuplot.el (org-babel-header-args:gnuplot): Term is a gnuplot
4288         header argument.
4290         * ob-tangle.el (org-babel-tangle): Fix bug in tangle-file.
4291         Collect tangle modes, and only apply them to the file after all
4292         tangling has completed, including the post-tangle-hook.
4294         * ob-core.el (org-babel-read): Do not read #-prefix header-arg
4295         value as emacs lisp.
4297         * ob-core.el (org-babel-current-src-block-location):
4298         (org-babel-execute-src-block):
4299         * ob-exp.el (org-babel-exp-results):
4300         * ob-lob.el (org-babel-lob-execute):
4301         Rename `org-babel-current-exec-src-block-head' to
4302         `org-babel-current-src-block-location'.
4304         * ob-core.el (org-babel-common-header-args-w-values): Adding the
4305         new :tangle-mode header argument.
4306         (org-babel-read): Read values starting with a "#" character as
4307         emacs lisp.
4309         * ob-tangle.el (org-babel-tangle): Use the new :tangle-mode header
4310         argument.
4312         * org-pcomplete.el (pcomplete/org-mode/block-option/src): Use the
4313         new :tangle-mode header argument.
4315         * ob-exp.el (org-babel-exp-results): Save the code block location
4316         into `org-babel-current-exec-src-block-head' during export.
4318         * ob-comint.el (org-babel-comint-with-output): More robust edebug
4319         spec.
4321         * ob-lob.el (org-babel-lob-execute): Set the
4322         `org-babel-current-exec-src-block-head' variable when executing
4323         inline or lob style code.
4325         * ob-core.el (org-babel-execute-src-block):
4326         The `org-babel-current-exec-src-block-head' variable should point to
4327         the outermost code block.
4329         * org.el (org-some): An org-mode version of the cl some function.
4331         * ob-fortran.el (org-babel-fortran-var-to-fortran): More careful
4332         check if values are matrices.
4334         * org.el (org-every): An Org-mode version of the cl every
4335         function.
4337         * ob-tangle.el (org-babel-tangle-jump-to-org):
4338         Use `org-src-switch-to-buffer' to jump from src to org.  Use the
4339         existing `org-edit-src' functionality to jump back to the correct
4340         point in the code block in the original Org-mode buffer.
4342         * ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Only wrap
4343         gnuplot data values in " when necessary.  Replace missing values
4344         with blank space in gnuplot.
4345         (org-babel-expand-body:gnuplot):
4346         (org-babel-gnuplot-quote-timestamp-field): Fix indentation.
4347         (org-babel-header-args:gnuplot): Declare the.
4348         (org-babel-expand-body:gnuplot): Params is an alist not a plist.
4349         (org-babel-header-args:gnuplot): Declare gnuplot-specific header
4350         argument.
4351         (*org-babel-gnuplot-missing*): Dynamic variable used to hold the
4352         value of the missing header argument.
4353         (org-babel-gnuplot-process-vars): Wrap in local binding for
4354         missing value.
4355         (org-babel-gnuplot-quote-tsv-field): Replace missing value with
4356         the missing header argument value when present.
4358         * ob-org.el (org-babel-expand-body:org): Allow insertion of
4359         non-strings into Org code blocks.
4360         (org-babel-inline-result-wrap): New option controlling the
4361         wrapping of inline results.
4362         (org-babel-examplize-region): Use the new defcustom.
4364         * ox-beamer.el (org-beamer--format-frame): If contents is nil,
4365         then replace it with an empty string.
4367         * ob-core.el (org-babel-read): More restrictive elisp eval of
4368         header arguments.
4370         * ob-lob.el (org-babel-lob-execute): Include default elisp header
4371         args in call lines.
4373         * ob-core.el (org-babel-result-cond): Don't over-evaluate
4374         result-params in macro.
4376         * ob-ruby.el (org-babel-execute:ruby): Use `org-babel-result-cond'
4377         in Ruby code blocks.
4378         (org-babel-ruby-evaluate): Delay table processing.
4380         * ob-js.el (org-babel-execute:js): Use `org-babel-result-cond' in
4381         JavaScript code blocks.
4383         * ob-scheme.el (org-babel-execute:scheme):
4384         Use `org-babel-result-cond' in scheme code blocks.
4386         * ob-ocaml.el (org-babel-execute:ocaml):
4387         Use `org-babel-result-cond' in OCaml code blocks.
4389         * ob-haskell.el (org-babel-execute:haskell):
4390         Use `org-babel-result-cond' in Haskell code blocks.
4392         * ob-core.el (org-babel-result-cond): The "raw", "org" and
4393         "drawer" :results header argument values preclude table processing
4394         unless the "table" argument is given as well.
4395         (org-babel-execute-src-block): Make sure we process file results
4396         before they are passed to the post-processing code block, and not
4397         afterwards.  Tangles these two header arguments in the code, but
4398         makes for more intuitive behavior and enables important use cases.
4399         (org-babel-read): Read code block values with earmuffs as Emacs
4400         Lisp.
4401         (org-babel-common-header-args-w-values): Add :post to the list of
4402         header arguments.
4403         (org-babel-execute-src-block): Post process results when the :post
4404         header argument has been supplied.
4406         * ob-R.el (org-babel-R-initiate-session): Remove unnecessary
4407         save-excursion nested inside a save-window-excursion.
4409         * ob-core.el (org-babel-src-name-w-name-regexp): Update the regexp
4410         used to match code block names.
4411         (org-babel-get-src-block-info): Remove the code used to parse this
4412         alternate variable specification syntax.
4413         (org-babel-insert-result): Cycle tables for :results org and
4414         :results wrap.
4416         * ob-python.el (org-babel-python-initiate-session-by-key): Fix a
4417         bug pointed out by Gary Oberbrunner.
4418         (org-babel-python-initiate-session-by-key): Add "-i" to the python
4419         command on windows sessions.  Actually setting new session names.
4420         Pass Python buffer names to the new `run-python' command.
4421         (org-babel-python-with-earmufs): Add earmufs to a buffer name.
4422         (org-babel-python-without-earmufs): Remove earmufs from a buffer name.
4423         (org-babel-python-initiate-session-by-key): Set the buffer name in
4424         a way which is understandable by the new python.el
4425         (org-babel-python-buffers): Change the default python buffer name.
4427         * ob-core.el (org-babel-number-p): Don't interpret single "-" as a
4428         number.
4430         * ob-perl.el (org-babel-perl--var-to-perl): Print Perl variables
4431         with a format string.
4433         * ob-core.el (org-babel-where-is-src-block-result): Allow comments
4434         between code blocks and un-named results.
4436         * ob-sqlite.el (org-babel-sqlite-table-or-scalar): Don't read
4437         sqlite output as lisp.
4439         * ob-core.el (org-babel-check-confirm-evaluate): Refactoring.
4440         (org-babel-confirm-evaluate): Fix whitespaces.
4441         (org-babel-execute-src-block): A cond makes it more clear that we
4442         definitely do not execute without user confirmation.
4443         (org-babel-call-process-region-original): Fix line over 80 chars
4444         long.
4446         * ob-tangle.el (org-babel-tangle-collect-blocks): Update comment
4447         to reflect changed variable name.
4449         * ob-core.el (org-babel-expand-src-block): Return value of
4450         expanded code block on non-interactive calls.
4452         * ob-perl.el (org-babel-perl-var-wrap): Customizable wrapper for
4453         variables in perl code.
4454         (org-babel-perl-var-to-perl): Use said wrapper.
4456         * ob-sql.el (org-babel-execute:sql): Use the org-babel-eval
4457         command instead of shell-command.
4459         * ob-ocaml.el (org-babel-prep-session:ocaml): Check that
4460         `tuareg-run-caml' is defined before use.
4461         (tuareg-run-ocaml): Declare for compiler.
4463         * ob-core.el (org-babel-result-regexp): Simplify regexp given new
4464         time hash layout.
4465         (org-babel-current-result-hash): New match string.
4466         (org-babel-hide-hash): New match string.
4467         (org-babel-where-is-src-block-result): New match string, and
4468         insert hashes in the new format.
4470         * ob-core.el (org-ts-regexp): Declare.
4471         (org-babel-result-regexp): Now matching time stamp as well.
4472         (org-babel-hash-show-time): New variable controlling the display
4473         of time stamps.
4474         (org-babel-current-result-hash):
4475         (org-babel-hide-all-hashes):
4476         (org-babel-where-is-src-block-result): Use hash time stamps.
4478         * ob-core.el: New file.
4480         * org-macs.el: `org-load-noerror-mustsuffix' requires an autoload.
4482 2013-11-12  Feng Shu  <tumashu@gmail.com>
4484         * ox-odt.el (org-odt--translate-latex-fragments):
4485         * ox-html.el (org-html-latex-environment)
4486         (org-html-latex-fragment): Fix imagemagick support.
4488         * org.el (org-create-formula-image-with-imagemagick):
4489         Generate correct size formula image.
4490         (org-format-latex-header): Change pagestyle command position.
4492         * ox-latex.el (org-latex--caption/label-string): Allow to build a
4493         caption string from `:caption' attribute of #+ATTR_LATEX.
4495         * ox.el (org-export-dictionary): Add Simplified Chinese
4496         translations for `org-export-dictionary'.
4498 2013-11-12  Florian Beck  <fb@miszellen.de>  (tiny change)
4500         * org.el (org-activate-bracket-links): Remove escapes from the
4501         help string.
4503 2013-11-12  Francesco Pizzolante  <xxx@public.gmane.org>  (tiny change)
4505         * ox-html.el (org-html-headline): Normalize the construction of
4506         outline-container DIVs by always using the inner headline ID.
4508         * org.el (org-agenda-prepare-buffers): Protect with
4509         `org-unmodified'.
4511 2013-11-12  Gregor Kappler  <gregor@alcedo.(none)>  (tiny change)
4513         * ox.el (org-export-as): Make sure org-export-babel-evaluate is
4514         not nil before calling `org-export-execute-babel-code'.
4516 2013-11-12  Grégoire Jadi  <gregoire.jadi@gmail.com>
4518         * org.el (org-reftex-citation): Fix contrib package name in the
4519         docstring.
4520         (org-preview-latex-fragment, org-display-inline-images):
4521         Detect whether a graphic display is available before inlining images to
4522         prevent an error.
4523         (org-startup-with-latex-preview): New option.
4524         (org-startup-options): New startup keywords for the new option.
4525         (org-mode): Turn on/off LaTeX preview depending on the new option.
4526         (org-reverse-string): Add `org-reverse-string' to reverse a
4527         string.
4529         * org-id.el (org-id-new, org-id-decode):
4530         Replace `org-id-reverse-string' by `org-reverse-string'.
4532         * ob-core.el (org-babel-trim): Replace `org-babel-reverse-string'
4533         by `org-reverse-string' and declare it.
4535 2013-11-12  Gustav Wikström  <gustav.erik@gmail.com>  (tiny change)
4537         * org-agenda.el (org-agenda-filter-by-category): Display all
4538         filtered out categories.
4540 2013-11-12  Ilya Zonov  <izonov@gmail.com>  (tiny change)
4542         * org-mouse.el (org-mouse-context-menu): Add a correct newtext
4543         parameter for "All Set" and "All Clear" menu items.
4545 2013-11-12  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
4547         * org.el (org-insert-todo-heading-respect-content): Pass correct
4548         prefix arg to always insert heading.
4550         * org-agenda.el
4551         (org-agenda-propertize-selected-todo-keywords): New function to
4552         highlight the current agenda todo keywords depending on
4553         `org-todo-keyword-faces'.
4554         (org-todo-list): Use the new function.
4556 2013-11-12  Ippei FURUHASHI  <top.tuna+orgmode@gmail.com>
4558         * org-table.el (org-calc-current-TBLFM): New function to
4559         re-calculate the table by applying the #+TBLFM in the line where
4560         the point is.  Ensure to remove the currently inserted TBLFM line,
4561         when calling `org-table-recalculate' returns an error and the
4562         processing stops.
4564         * org.el (org-ctrl-c-ctrl-c): Call `org-calc-current-TBLFM' when
4565         point is in the #+TBLFM line.
4567         * org-table.el (org-TBLFM-begin): New function.
4568         (org-TBLFM-begin-regexp): New variable.
4570         * org.el (org-at-TBLFM-p): New function.
4571         (org-TBLFM-regexp): New defconst.
4573 2013-11-12  Ivan Vilata i Balaguer  <ivan@selidor.net>  (tiny change)
4575         * org-clock.el (org-clock-get-table-data): Pass tstart and tend
4576         time strings through `org-matcher-time' to allow relative times
4577         besides absolute ones, convert result to encoded time.
4579 2013-11-12  Jambunathan K  <kjambunathan@gmail.com>
4581         * ox-html.el (org-html-code, org-html-verbatim): Transcode value.
4582         (org-html--tags, org-html-format-headline)
4583         (org-html--format-toc-headline, org-html-checkbox)
4584         (org-html-table-cell, org-html-timestamp)
4585         (org-html-verse-block, org-html-special-string-regexps): Replace
4586         named HTML entities with their numeric counterparts.  This keeps
4587         Freemind backend happy.
4589         * org-odt.el (org-export-odt-schema-dir): Modify to accommodate
4590         change in rnc file names.
4592         * org-lparse.el (org-lparse-and-open)
4593         (org-lparse-do-convert): Open exported files with system-specific
4594         application.
4596         * org-odt.el: Don't meddle with `org-file-apps'.
4598 2013-11-12  Jarmo Hurri  <jarmo.hurri@syk.fi>
4600         * org-table.el (org-define-lookup-function): New macro.  Call it
4601         to generate new lookup functions `org-lookup-first',
4602         `org-lookup-last' and `org-lookup-all'.
4604         * org-gnus.el (org-gnus-no-server): New option to start Gnus using
4605         `gnus-no-server'.
4606         (org-gnus-no-new-news): Use the new option.
4608 2013-11-12  Jonas Hoersch  <coroa@online.de>  (tiny change)
4610         * org.el (org-cycle-hide-inline-tasks): Re-hide inline tasks when
4611         switching to 'children visibility state.
4613         * org-inlinetask.el (org-inlinetask-toggle-visibility): Don't use
4614         `org-show-entry' as it cannot unfold an inlinetask properly.
4616 2013-11-12  Jonathan Leech-Pepin  <jonathan.leechpepin@gmail.com>
4618         * ox-texinfo.el: New file.
4620 2013-11-12  Joost Diepenmaat  <joost@zeekat.nl>  (tiny change)
4622         * org.el (org-indent-region): BEGIN_SRC and END_SRC lines should
4623         not be considered part of the source block for the purposes of
4624         indentation.
4626 2013-11-12  Justus Piater  <justus-dev@piater.name>
4628         * org-agenda.el
4629         (org-agenda-skip-deadline-prewarning-if-scheduled): Add an option
4630         to skip the deadline prewarning if the scheduled date is in the
4631         future.
4633 2013-11-12  Kodi Arfer  <git@arfer.net>  (tiny change)
4635         * ox-html.el (org-html-toc): Use <nav> instead of <div> for the
4636         root element when appropriate.
4637         (org-html-paragraph): Wrap "Figure %d:" in <span
4638         class="figure-number">.
4639         (org-html-list-of-tables, org-html-table): Wrap "Table %d:" in
4640         <span class="table-number">.
4641         (org-html-list-of-listings): Wrap "Listing %d:" in
4642         <span class="listing-number">.
4643         (org-html-table): For HTML5, omit :html-table-attributes but not
4644         :id or :attr_html.
4645         (org-html--build-meta-info): Insert no timestamp when
4646         :time-stamp-file is nil.
4648 2013-11-12  Lawrence Mitchell  <wence@gmx.li>
4650         * ox-html.el (org-html-close-tag): Add space before attr.
4652         * ox.el (org-export-resolve-fuzzy-link): Look for fuzzy link in a
4653         cache before trying to resolve it in the parse tree.
4655 2013-11-12  Le Wang  <le.wang@agworld.com.au>
4657         * org-src.el (org-edit-src-code): Use marker with insertion type t
4658         to track end and remove hack requiring delete from beg to (1-
4659         end).
4661 2013-11-12  Max Mikhanosha  <max@openchat.com>
4663         * org-habit.el (org-habit-get-faces): Add show done days green
4664         option.
4666         * org-agenda.el (org-agenda-format-item): Ensure effort is "" when
4667         unset
4669 2013-11-12  Michael Brand  <michael.ch.brand@gmail.com>
4671         * org-table.el (org-table-eval-formula): Align the arrow pointing
4672         to the error in a Calc formula to the other fomula debugger logs.
4674         * org.el (org-link-escape-chars-browser): Add char double quote.
4675         (org-open-at-point): Use the constant
4676         `org-link-escape-chars-browser'.
4678         * org-table.el (org-table-get-remote-range): Extend regexp to
4679         match "#+NAME: table" additionally to "#+TBLNAME: table".
4681         * org-table.el (org-table-eval-formula): Use `keep-empty' in more
4682         places.  Keep empty fields during preprocessing.
4683         (org-table-make-reference): Use nan (not a number) for empty
4684         fields in Calc formulas.  A range with only empty fields should
4685         not always return 0 but also empty string, consistent with field
4686         reference of an empty field.  Use future design for nan but
4687         replicate current behavior.
4688         (org-table-number-regexp): Extend 0x hex to fixed-point number,
4689         add <radix>#<number>, add Calc infinite numbers uinf, -inf and
4690         inf.
4692 2013-11-12  Muchenxuan Tong  <demon386@gmail.com>  (tiny change)
4694         * org-mobile.el (org-mobile-push): Add `save-restriction'.
4696 2013-11-12  Nicolas Goaziou  <n.goaziou@gmail.com>
4698         * ox-latex.el (org-latex-compile): Remove all numbered temporary
4699         files after compiling.
4701         * org-element.el (org-element-headline-interpreter): Take into
4702         consideration `org-odd-levels-only' when building a headline.
4704         * ox-org.el (org-org-headline): Correctly set transcoded headline
4705         level during subtree export.
4707         * ox-html.el (org-html--format-toc-headline): TOC entries are
4708         closer to regular headline formatting.
4710         * org-element.el (org-element-context): Fix error when parsing
4711         affiliated keywords, e.g. "caption".
4713         * org.el (org-do-emphasis-faces): Look for verbatim status at
4714         correct location.
4715         (org-open-at-point): Check if link is non-nil before matching it.
4716         (org-export-insert-default-template): Make sure strings are
4717         properly quoted when inserting a template.  Specifically, default
4718         value for drawers should be d:(not "LOGBOOK"), not d:(not
4719         LOGBOOK).
4720         (org-insert-heading): Do not error out when inserting is to be
4721         done at one of the buffer's boundaries.
4723         * ox-latex.el (org-latex-listings-options): Use correct number of
4724         backslash characters in the example.
4726         * org-element.el (org-element-latex-or-entity-successor)
4727         (org-element-latex-fragment-parser): Use `org-latex-regexps'
4728         instead of `org-format-latex-options'.
4730         * ox-ascii.el:
4731         * ox-beamer.el:
4732         * ox-html.el:
4733         * ox-icalendar.el:
4734         * ox-md.el: Remove comments at the beginning of the file since
4735         the library is documented in Org manual.
4737         * org-element.el (org-element--list-struct):
4738         Use `org-match-string-no-properties'.  Fix block parsing in lists.
4740         * ox-publish.el (org-publish-all): Fix compilation problem.
4742         * org-element.el (org-element-timestamp-interpreter):
4743         Correctly interpret timestamps with delays.
4744         (org-element-timestamp-parser)
4745         (org-element-timestamp-interpreter): Parse warning delays.
4747         * ox-beamer.el (org-beamer--format-section): Fix regression which
4748         prevents frames from being propely exported.
4750         * ox.el (org-export-with-backend): Ensure function will use
4751         provided back-end.
4753         * org-list.el (org-list-allow-alphabetical): Remove reference to
4754         unused VALUE.
4756         * ox-beamer.el (org-beamer--format-section): Protect fragile
4757         commands in sections.
4759         * org.el (org-ctrl-c-ctrl-c): When using C-c C-c at an item with
4760         point on a link, make sure checkbox, if any, is toggled.
4762         * ox-beamer.el (org-beamer--format-block): Return an error message
4763         when using a special environment as a block type.  Also check for
4764         incomplete environment definitions.
4766         * org-element.el (org-element-at-point): If point is at the end of
4767         the buffer, and that buffer ends with a list, and there's no final
4768         newline, return last element in last item instead of plain list.
4769         Fix infloop when called on a blank line at the end of the buffer
4770         after a headline.
4772         * org.el (org-forward-paragraph, org-backward-paragraph):
4773         New functions.
4775         * org.el (org-meta-return): Allow M-RET to insert items within
4776         drawers.  Rewrite function.
4778         * org-element.el (org-element-footnote-definition-parser):
4779         Fix value for :contents-begin when first line of footnote definition
4780         is empty besides the label.
4781         (org-element-at-point): Return correct element when point is on a
4782         blank line just below a headline.
4783         (org-element-paragraph-parser):
4784         Use `org-match-string-no-properties'.  Small fixes to paragraph
4785         parsing.
4787         * org.el (org-adaptive-fill-function): Do not handle
4788         `adaptive-fill-regexp' in comments as the behavior is not
4789         satisfying.
4791         * org-list.el (org-list-struct-apply-struct): Do not move item's
4792         contents within a child above when repairing indentation.
4794         * ox-html.el (org-html--build-meta-info): Fix output of meta tags
4795         when properties are present.
4797         * ox.el (org-export-collect-headlines): Do not build TOC for
4798         headlines below H value.
4800         * org-element.el (org-element-context): Modify misleading
4801         comment.
4802         (org-element-text-markup-successor)
4803         (org-element-latex-or-entity-successor)
4804         (org-element-export-snippet-successor)
4805         (org-element-footnote-reference-successor)
4806         (org-element-inline-babel-call-successor)
4807         (org-element-inline-src-block-successor)
4808         (org-element-line-break-successor, org-element-link-successor)
4809         (org-element-plain-link-successor, org-element-macro-successor)
4810         (org-element-radio-target-successor)
4811         (org-element-statistics-cookie-successor)
4812         (org-element-sub/superscript-successor)
4813         (org-element-table-cell-successor, org-element-target-successor)
4814         (org-element-timestamp-successor): Remove LIMIT argument.
4815         (org-element--parse-objects, org-element--get-next-object-candidates):
4816         Apply signature change to successors.
4817         (org-element-context): Narrow buffer around object containers so
4818         parsing of objects when using this function is done under the same
4819         restrictions as in buffer parsing.
4821         * ox.el (org-export-table-cell-alignment): Ensure required
4822         variables are available.  Use correct :test.
4823         (org-export-table-cell-width): Modify key (now an element) and
4824         value structure (now a vector) of cache so it can use `eq' as
4825         test.  Elements are circular lists so `equal' cannot apply on them.
4827         * ox-publish.el (project-plist): Remove variable.
4829         * ox.el (org-export-to-buffer, org-export-to-file):
4830         Fix docstrings.
4832         * ox-org.el (org-export-as-org): Add missing BODY-ONLY argument,
4833         which is always nil in this back-end.
4835         * org.el (org-adaptive-fill-function): Look for a fill prefix at
4836         the beginning of the paragraph and subsquently on its second line
4837         instead of the current line.
4839         * ob-core.el (org-babel-get-src-block-info): Look for indentation
4840         value at the correct location.
4842         * ox.el (org-export-data-with-backend): Set temporary back-end as
4843         the new back-end in local communication channel.
4844         (org-export-filter-apply-functions): Handle corner case where
4845         back-end is nil.  Only provide back-end name (a symbol) as second
4846         argument of filters, not the full back-end (a vector).
4848         * ox-publish.el (org-publish-find-title): Fix title when no
4849         #+TITLE property is provided.
4851         * ox.el (org-export-store-default-title): Remove-function.
4852         (org-export--default-title): Remove variable.
4853         (org-export-options-alist): Do not use a default value.
4854         (org-export--get-buffer-attributes): Store a default title.
4855         (org-export-as): Apply function removal.
4856         (org-export--get-global-options): Do not set a property with an
4857         explicitly nil value.
4859         * ox-publish.el (org-publish-sitemap-sort-files)
4860         (org-publish-sitemap-sort-folders)
4861         (org-publish-sitemap-ignore-case, org-publish-sitemap-requested)
4862         (org-publish-sitemap-date-format)
4863         (org-publish-sitemap-file-entry-format): Set prefix to
4864         "org-publish-sitemap" instead of "org-sitemap".
4865         (org-publish-compare-directory-files)
4866         (org-publish-get-base-files-1, org-publish-projects)
4867         (org-publish-format-file-entry): Use new prefix.
4869         * org-clock.el (org-clock-total-time-cell-format)
4870         (org-clock-file-time-cell-format): Use correct type.
4872         * ob-haskell.el:
4873         * ox-ascii.el (org-ascii-export-as-ascii)
4874         (org-ascii-export-to-ascii):
4875         * ox-beamer.el (org-beamer-export-as-latex)
4876         (org-beamer-export-to-latex, org-beamer-export-to-pdf):
4877         * ox-html.el (org-html-export-as-html, org-html-export-to-html):
4878         * ox-icalendar.el (org-icalendar-export-to-ics):
4879         * ox-latex.el (org-latex-export-as-latex)
4880         (org-latex-export-to-pdf):
4881         * ox-man.el (org-man-export-to-man, org-man-export-to-pdf):
4882         * ox-md.el (org-md-export-as-markdown, org-md-export-to-markdown):
4883         * ox-odt.el (org-odt-export-to-odt):
4884         * ox-org.el (org-org-export-as-org, org-org-export-to-org):
4885         * ox-publish.el (org-publish-org-to):
4886         * ox-texinfo.el (org-texinfo-export-to-texinfo)
4887         (org-texinfo-export-to-info):
4888         * ox.el (org-export-to-buffer): Add two arguments: one to trigger
4889         asynchronous export and the other to do extra processing from
4890         within the buffer.
4891         (org-export-to-file): Add two arguments: one to trigger
4892         asynchronous export and the other to do extra processing on the
4893         output file.
4894         (org-export-async-start): Small clean up.
4896         * ox.el (org-export-as): Use new back-end structure.
4897         (org-export-current-backend): New variable.
4898         (org-export-as): Use new variable.
4900         * ox-ascii.el (org-ascii-table): Remove spurious new line between
4901         a table and the caption below.
4903         * ox.el (org-export-to-file): Preserve coding system when writing
4904         output.
4905         (org-export-stack-mode-map): Fix compilation error with Emacs <
4906         24.
4907         (org-export--dispatch-action): Maintain compatibility with Emacs
4908         23.
4910         * org.el (org-adaptive-fill-function, org-fill-paragraph):
4911         Add support for `adaptive-fill-regexp' in paragraphs and comments.
4912         (org-indent-line): Fix indentation after a list.
4914         * ox.el (org-export--get-inbuffer-options): Multiple options can
4915         now be set through the same buffer keyword.
4917         * org-element.el (org-element-plain-list-parser): Fix infloop when
4918         parsing a list at the end of buffer, if buffer doesn't end at a
4919         line beginning.
4920         (org-element-link-parser): Do not url-decode parsed links.
4922         * org-pcomplete.el (pcomplete/org-mode/file-option): Remove
4923         spurious white spaces, excepted for source blocks' opening string.
4924         Small refactoring.
4925         (pcomplete/org-mode/file-option): Remove spurious colons from
4926         block boundaries.
4928         * ox-publish.el (org-publish-find-date): Also return date for
4929         directories.
4930         (org-publish-get-base-files-1): Fix :recursive parameter ignoring
4931         extension restriction.
4933         * ox-beamer.el: Remove strange indentation in default header.
4934         (org-beamer-template): Fix missing newlines in header.
4936         * ox-latex.el (org-latex-template): Fix missing newlines in
4937         header.
4939         * ox.el (org-export-insert-default-template):
4940         Fix "wrong-type-argument" error in template insertion.
4942         * org.el (org-fill-paragraph): Use empty commented lines as
4943         separators when filling comments.  This mimics default behavior
4944         from "newcomment.el", which is not used in Org.
4946         * ox-html.el (org-html-link): Add image attributes to "img" tag,
4947         not to the "a" container.  Also fix spacing for attributes.
4949         * org.el (org-fill-paragraph): Do not mix consecutive comments
4950         when filling any of them.
4952         * ox-html.el (org-html-format-headline--wrap): Fix number of
4953         arguments when setting `org-html-format-headline-function'.
4955         * org-element.el (org-element-item-interpreter): This patch fixes
4956         "(wrong-type-argument arrayp nil)" error when trying to interpret
4957         empty items.  Correctly interpret back plain lists with "*" items.
4958         This fixes "This is not a list" error returned in this case.
4960         * ox-latex.el (org-latex-listings): Update docstring.
4962         * org-pcomplete.el (pcomplete/org-mode/file-option/options):
4963         Apply changes to export back-end definiton.
4965         * org.el (org-get-export-keywords): Apply changes to export
4966         back-end definiton.
4968         * ox-html.el (org-html--format-toc-headline): Make use of
4969         anonymous back-ends.
4971         * ox-odt.el (org-odt-footnote-reference): Make use of anonymous
4972         back-ends.
4973         (org-odt-format-label, org-odt-toc)
4974         (org-odt-format-headline--wrap): Use `org-export-with-backend'
4975         instead of `org-export-with-translations'.
4977         * ox.el (org-export--registered-backends): Rename from
4978         `org-export-registered-backends'.
4979         (org-export-invisible-backends): Remove variable.
4980         (org-export-get-backend, org-export-get-all-transcoders
4981         org-export-get-all-options, org-export-get-all-filters):
4982         New functions.  It replaces `org-export-backend-translate-table'.
4983         (org-export-barf-if-invalid-backend, org-export-derived-backend-p,
4984         org-export-define-backend, org-export-define-derived-backend):
4985         Rewrite functions using new representation.
4986         (org-export-backend-translate-table): Remove function.
4987         (org-export-get-environment): Use new function.
4988         (org-export--get-subtree-options, org-export--parse-option-keyword,
4989         org-export--get-inbuffer-options, org-export--get-global-options,
4990         org-export-to-buffer org-export-to-file, org-export-string-as
4991         org-export-replace-region-by): Update docstring.
4992         (org-export-data-with-translations): Remove function.
4993         Use `org-export-data-with-backend' with a temporary back-end instead.
4994         (org-export-data-with-backend, org-export-as): Reflect new definition
4995         for back-ends.
4996         (org-export--dispatch-action, org-export--dispatch-ui): Reflect new
4997         definition for back-ends and variable removal.  Refactoring.
4998         (org-export-filter-apply-functions): Call functions with
4999         current back-end's name, not full back-end.
5001         * org.el (org-export-backends, org-create-formula--latex-header):
5002         Use new structure and variables.
5004         * ox-html.el (org-html-inline-images): Change default value and
5005         remove `maybe'.
5006         (org-html-format-inline-image): Remove functions.
5007         (org-html--wrap-image, org-html--format-image)
5008         (org-html-inline-image-p): New functions.
5009         (org-html-latex-environment, org-html-latex-fragment): Use new
5010         functions.
5011         (org-html-standalone-image-p): Use new functions.  Also remove an
5012         unused optional argument.
5013         (org-html-link, org-html-paragraph): Correctly export hyperlinked
5014         images.
5016         * ox.el (org-export-dictionary): Update some translations.
5018         * ox-odt.el (org-odt-label-styles, org-odt-category-map-alist):
5019         Fix docstring.
5020         (org-odt-format-label): Add docstring.  Internationalize prefix.
5022         * ox.el (org-export-dictionary): Add entry for colons.
5024         * ox-odt.el (org-odt--suppress-some-translators): Remove function.
5026         * ox-html.el (org-html-link): Remove left-over binding.
5028         * ox-beamer.el (org-beamer-environments-extra): Allow to add raw
5029         title in environment definition.
5030         (org-beamer--format-block): Handle new placeholders.
5032         * ox-html.el (org-html-link): Small refactoring.
5034         * org-element.el (org-element--current-element):
5035         Fix org-meta-return error at the end of buffer.
5037         * ox-odt.el (org-odt-category-map-alist): Fix internationalization
5038         of "Table" and "Listing".
5040         * ox.el (org-export-dictionary): Remove useless dictionary
5041         entries.
5043         * ox-ascii.el (org-ascii--build-caption): Apply removal.
5045         * ox.el (org-export-dictionary): Add spanish and german
5046         translations.
5048         * ox-odt.el (org-odt-link): Fuzzy links to an headline with a
5049         description always use that description, even if the description
5050         is the same as the headline title.
5051         (org-odt-plain-text): Allow to turn smart quotes off.
5053         * ox-latex.el (org-latex--get-footnote-counter): Remove function.
5055         * org.el (org-setup-filling): Set `paragraph-start' and
5056         `paragraph-separate'.
5057         (org-fill-paragraph-separate-nobreak-p): Remove function.
5058         (org-mode): Do not set `paragraph-start'.
5060         * ox-html.el (html): Replace "HTML_HTML5_FANCY",
5061         "HTML_INCLUDE_STYLE" and "HTML_INCLUDE_SCRIPTS" with,
5062         respectively, ":html5-fancy", "html-style" and "html-scripts"
5063         options.
5064         (org-html-html5-fancy): Reformat docstring.
5065         (org-html-template): Fix typo preventing insertion of link up/link
5066         home anchors.
5068         * org.el (org-create-formula--latex-header): Replace AUTO with
5069         appropriate language when previewing snippets.
5071         * ox-latex.el (org-latex-item): Allow hyperref and footnotemark in
5072         items description tags.  Also remove a unnecessary hack allowing
5073         footnotemark with an optional argument in the tag.
5075         * ox.el (org-export-resolve-fuzzy-link): Fix link resolution when
5076         link lives before the first headline.
5078         * org-element.el (org-element-special-block-parser): Fix typo in
5079         regexp matching block type.  Also quote the type so it can contain
5080         special characters.
5082         * ox-latex.el (org-latex-pdf-process): This argument can cause
5083         problem with links with a relative path, since compilation happens
5084         in a different directory.
5086         * org.el (org-latex-default-packages-alist): Load "ulem" package
5087         by default.  Use "[normalem]" option to preserve \emph definition.
5089         * ox-latex.el (org-latex-text-markup-alist): Use "\uline" and
5090         "\sout" commands from "ulem" package.
5092         * org.el (org-latex-default-packages-alist): Document need for
5093         "soul" package.
5095         * ox-latex.el (org-latex-text-markup-alist): Use \ul (from "soul"
5096         package) instead of \underline for underline text.
5098         * ox.el (org-export-read-attribute): Fix "Wrong argument type"
5099         error when attributes start with :key "".
5101         * org.el (org-fill-paragraph-separate-nobreak-p)
5102         (org-fill-line-break-nobreak-p)
5103         (org-fill-paragraph-with-timestamp-nobreak-p): Fix docstrings.
5105         * org-element.el (org-element--list-struct): Fix failing
5106         "plain-list-parser" test.
5108         * ox-latex.el (org-latex-src-block): Handle :float attribute.
5109         Its value can be set to "t", "multicolumn" or "nil".  Also remove
5110         :long-listing attribute, which is now replaced with :float nil.
5111         (org-latex--org-table): Replace :float table with :float t.
5112         (org-latex--inline-image): Replace :float figure with :float t.
5113         (org-latex-long-listings): Remove variable.
5115         * org-element.el (org-element--list-struct): New function.
5116         (org-element-plain-list-parser, org-element--current-element):
5117         Use new function.
5119         * ox-man.el (org-man-compile):
5120         * ox-texinfo.el (org-texinfo-compile): Use appropriate argument.
5122         * ox-latex.el (org-latex-compile):
5123         * ox-man.el (org-man-compile):
5124         * ox-texinfo.el (org-texinfo-compile): Properly set working
5125         directory.
5127         * ox-latex.el (org-latex-compile):
5128         * ox-texinfo.el (org-texinfo-compile): Make sure generated file
5129         can be found by `file-exists-p'.
5131         * ox-md.el (md): Delegate underscore transcoding to HTML back-end.
5133         * org-element.el (org-element--remove-indentation):
5134         Small optimization.
5135         (org-element--remove-indentation): New function.
5136         (org-element-example-block-parser, org-element-src-block-parser):
5137         Use new function.
5138         (org-element-src-block-interpreter): Update function according to
5139         change.
5141         * ox.el (org-export-unravel-code): Do not remove any indentation
5142         since it now happens at the parser level.
5143         (org-export-table-cell-width): Be sure to use cache even when
5144         stored value is nil.
5145         (org-export--default-title): Fix "Symbol's value as variable is
5146         void: org-export--default-title".
5148         * ox-ascii.el (org-ascii--table-cell-width): Cache results of this
5149         internal function since it is called at each cell, though its
5150         value only change column wise.
5152         * ox.el (org-export-resolve-fuzzy-link): Change property name
5153         holding cache.
5154         (org-export-table-has-header-p, org-export-table-row-group)
5155         (org-export-table-cell-width, org-export-table-cell-alignment):
5156         Cache results.
5157         (org-export-table-cell-address): Refactor.
5158         (org-export-get-parent): Inline function.
5159         (org-export-options-alist): Change default value for :title
5160         property.
5161         (org-export--default-title): New dynamically scoped variable.
5162         (org-export-store-default-title): New function.
5163         (org-export--get-buffer-attributes): Remove title handling.
5164         (org-export--get-global-options): Revert "ox: Fix default title".
5165         Refactor code.
5167         * ox-html.el (org-html-format-latex): Provide a prefix for
5168         temporary file when using dvipng, even if the current buffer isn't
5169         associated to a file.
5171         * ox.el (org-export-resolve-radio-link): Ignore whitespace
5172         differences when resolving a radio link.
5173         (org-export-resolve-radio-link): Fix radio target resolution.
5175         * org-element.el (org-element--current-element): Be stricter when
5176         matching arguments in LaTeX environments.  In particular, do not
5177         allow anything else than options and arguments in the opening
5178         line.
5180         * ox-html.el (org-html-inner-template): Remove code relative to
5181         bibliography.
5182         (org-html-bibliography): Remove function.
5184         * ox-latex.el (org-latex-plain-text): Protect ^ char with \^{},
5185         not only \^, so it doesn't become a diacritic.
5187         * ox-html.el (org-html--build-meta-info): Fix code typo.
5189         * ox.el (org-export-expand-include-keyword): Avoid using `read' to
5190         determine file name.
5191         (org-export--get-global-options): Properly set default title,
5192         i.e. when to TITLE keyword is provided.
5194         * org-element.el (org-element--parse-elements): Also parse visible
5195         headlines within an otherwise compacted headline.
5197         * ox.el (org-export-expand-include-keyword): Tolerate included
5198         file names without double quotes.
5199         (org-export-resolve-fuzzy-link): Fix caching process.
5201         * ox-publish.el (org-publish-find-date): Fix "Invalid time
5202         specification" error with timestamps in DATE.
5204         * org-element.el (org-element--current-element): Allow the opening
5205         string of a LaTeX environment to contain additional arguments.
5207         * org.el (org-insert-heading): Refactor to use `org-in-item-p'
5208         only once.
5210         * ox.el (org-export-expand): Optionally add affiliated keywords to
5211         results.
5213         * ox-org.el (org-org-identity): Use new argument for
5214         `org-export-expand'.
5216         * org.el (org-fill-paragraph): Move to table beginning before
5217         aligning the table when M-q is called from an affiliated keyword.
5219         * org-list.el (org-list-allow-alphabetical): Properly update
5220         `org-list-allow-alphabetical' when changed after org.el has been
5221         loaded.
5223         * org-element.el (org-element-fixed-width-interpreter):
5224         Fix interpretation of fixed-width elements with a nil or empty string
5225         value.
5227         * ox-html.el (org-html-link): Don't skip the link description when
5228         it matches the name of the headline it targets.
5230         * ox-html.el (org-html-link): Don't skip the link description when
5231         it matches the name of the headline it targets.
5233         * ox-ascii.el (ascii): Remove inexistant function.
5235         * ox-icalendar.el (icalendar): Ignore footnotes.
5236         (org-icalendar--combine-files): Small refactoring.
5238         * ox.el (org-export--skip-p, org-export--interpret-p):
5239         When `org-export-with-footnotes' is nil, ignore completely footnotes
5240         references and definitions instead of exporting them verbatim.
5242         * ox-beamer.el (org-beamer--frame-level): Small refactoring.
5243         (org-beamer--format-block, org-beamer-headline): Do not systematically
5244         downcase environment names as some require upper case in their
5245         names (e.g. noteNH and CJK).
5247         * ox.el (org-export-with-timestamps): Only applies to isolated
5248         timestamps, i.e. timestamps in a paragraph containing only
5249         timestamps and empty strings.
5250         (org-export--skip-p): Skip timestamps according to new behavior.
5252         * ox-latex.el (org-latex--script-size): Handle consecutive
5253         alterning sub and superscript.
5255         * ox-org.el (org-org-identity): Fix docstring.  Tiny refactoring.
5256         (org-org-headline, org-org-keyword): Fix docstring.
5258         * ox-latex.el (org-latex--script-size): Use \text command for
5259         subscript and superscript.  This is far superior to \mathrm, but
5260         it requires "amstext" package.  In particular, accented characters
5261         are now allowed within sub/superscript.
5263         * org.el (org-latex-default-packages-alist): Add "amstext"
5264         package.
5266         * ox-latex.el (org-latex--script-size): Fix error when using
5267         sub/superscript within sub/superscript.
5269         * ox-latex.el (org-latex--script-size): New function.
5270         (org-latex-subscript, org-latex-superscript): Use new function.
5271         Remove instructions since everything is documented in Org manual.
5273         * ox.el (org-export-with-smart-quotes): Use LATEX instead of LaTeX
5274         for keywords, the latter being hard to type, somewhat difficult to
5275         read, and overall just pedantic.
5277         * ox-latex.el (org-latex-classes): Be more explicit about
5278         LATEX_HEADER_EXTRA.
5280         * ox-html.el (org-html--build-meta-info): Fix invalid characters
5281         in html attributes.
5283         * ox.el (org-export-filters-alist): Remove macro filter.
5284         (org-export-filter-macro-functions): Remove variable.
5286         * ox-beamer.el (beamer): Install a default class set-up when
5287         loading library.
5289         * ox-latex.el (org-latex-classes): Update docstring.
5291         * ox-latex.el (org-latex--inline-image): Remove specific default
5292         image width for floats.  If no width nor height is provided, it
5293         should default to `org-latex-image-default-width' value.
5295         * org.el (org-extract-attributes-from-string)
5296         (org-attributes-to-string): Remove functions.
5298         * ox-html.el (html): Rename :html-table-tag property into
5299         :org-table-attributes.
5300         (org-html-table-default-attributes): New variable.
5301         (org-html-table-tag): Remove variable.
5302         (org-html--make-attribute-string): New function.
5303         (org-html-link--inline-image, org-html-table): Use new function.
5304         (org-html-splice-attributes, org-export-splice-style):
5305         Remove functions.
5306         (org-html-inline-image-rules): Remove out of context part of the
5307         docstring.
5309         * ox.el (org-export-read-attribute): Allow to use empty strings in
5310         attributes.
5312         * ox-html.el (org-html-metadata-timestamp-format): New variable,
5313         renamed from `org-html--timestamp-format'.
5314         (org-html--build-meta-info, org-html-format-spec,
5315         org-html--build-pre/postamble): Use new variable.
5317         * ox.el (org-export-table-row-number): New function.
5318         (org-export-table-cell-address): Use new function.
5320         * org-element.el (org-element-table-cell-successor): Parse table
5321         cells with missing ending space.
5323         * ox-latex.el (org-latex--math-table): Fix inline-math table
5324         environment.
5326         * ox-html.el (org-html-doctype): Make value fit on a single line
5327         so `org-export-insert-default-template' can handle it.
5328         (org-html-creator-string): Change default value.
5330         * ox.el (org-export-creator-string): Change default value.
5332         * ox-html.el (org-html-postamble-format)
5333         (org-html-preamble-format): Allow last modification time of source
5334         in template.  Fix docstrings.
5335         (org-html-format-spec): Produce last modification time when the source
5336         is a file.
5338         * ox.el (org-export-with-archived-trees, org-export-with-author)
5339         (org-export-with-clocks, org-export-with-date)
5340         (org-export-creator-string, org-export-with-drawers)
5341         (org-export-with-email, org-export-with-emphasize)
5342         (org-export-exclude-tags, org-export-with-fixed-width)
5343         (org-export-with-footnotes, org-export-with-latex)
5344         (org-export-headline-levels, org-export-default-language)
5345         (org-export-preserve-breaks, org-export-with-entities)
5346         (org-export-with-inlinetasks, org-export-with-planning)
5347         (org-export-with-priority, org-export-with-section-numbers)
5348         (org-export-select-tags, org-export-with-smart-quotes)
5349         (org-export-with-special-strings)
5350         (org-export-with-statistics-cookies)
5351         (org-export-with-sub-superscripts, org-export-with-toc)
5352         (org-export-with-tables, org-export-with-tags)
5353         (org-export-with-tasks, org-export-time-stamp-file)
5354         (org-export-with-timestamps, org-export-with-todo-keywords):
5355         Fix docstrings.
5357         * ox-html.el (org-html-postamble-format): Slightly change default
5358         value so "Generated by" string doesn't get duplicated.
5359         (org-html-creator-string): Fix docstring.
5361         * ox.el (org-export--get-inbuffer-options)
5362         (org-export--list-bound-variables)
5363         (org-export--generate-copy-script, org-export-string-as)
5364         (org-export-expand-include-keyword)
5365         (org-export--prepare-file-contents): Inhibit startup process when
5366         calling `org-mode'.
5368         * ox-publish.el (org-publish-find-date): Fix "bad timestamp" error
5369         with some DATE values: :date property in communication channel is
5370         no longer a string.
5372         * ox.el (org-export-insert-default-template): New function.
5373         (org-export--dispatch-ui, org-export--dispatch-action): Access to
5374         the function through the dispatcher.
5376         * ox-icalendar.el (org-icalendar-convert-timestamp):
5377         Update docstring.
5378         (org-icalendar-dtstamp): New function.
5379         (org-icalendar--vevent, org-icalendar--vtodo): Use new function.
5381         * ox-ascii.el (org-ascii-link):
5382         * ox-html.el (org-html-keyword):
5383         * ox-latex.el (org-latex-keyword, org-latex-link):
5384         * ox-man.el (org-man-keyword):
5385         * ox-md.el (org-md-link):
5386         * ox-odt.el (org-odt-keyword):
5387         * org.el (org-store-link, org-link-search, org-options-keywords):
5388         Remove reference to TARGET keyword.
5390         * ox.el (org-export-resolve-fuzzy-link, org-export-get-ordinal):
5391         Do not use TARGET as a destination for links anymore.
5393         * ox-org.el (org): Add a menu entry for the back-end.
5394         (org-org-export-as-org, org-org-export-to-org): New functions.
5396         * org.el (org-export-backends): Accept `org' as a loadable
5397         back-end.
5399         * ox-ascii.el (org-ascii-template--document-title): Use new function.
5401         * ox-beamer.el (org-beamer-template): Use new function.
5403         * ox-html.el (org-html-format-spec): Use new function.
5405         * ox-latex.el (org-latex-template): Use new function.
5406         (org-latex-date-timestamp-format): Remove variable.
5408         * ox.el (org-export-date-timestamp-format): New variable.
5409         (org-export-get-date): New function.
5411         * ox-odt.el (org-odt--format-paragraph): New function.
5412         (org-odt-paragraph): Use new function to limit code duplication.
5413         (org-odt-footnote-reference): Change default style for paragraphs
5414         when transcoding a footnote definition.
5416         * org-macro.el (org-macro--collect-macros): Fix a bug where
5417         reading a macro in a setup file would remove other macros read so
5418         far from template.  Change function signature.
5419         (org-macro-initialize-templates): Apply signature change from function
5420         above.
5422         * ox.el (org-export--list-bound-variables): Rename from
5423         `org-export--install-letbind-maybe'.  Though, only return list of
5424         bound variables instead of installing them as buffer-local
5425         variables.
5426         (org-export-get-environment): Use new function.  Take care of the
5427         installation of bound variables.
5428         (org-export--generate-copy-script): Make sure non-Org variables are
5429         also installed in buffer copy.
5431         * ox.el (org-export-get-environment): Update comment.
5432         (org-export--install-letbind-maybe): Go into SETUPFILE files and
5433         handle BIND keywords there.
5435         * ox-latex.el (org-latex-link): Do not prefix relative paths with
5436         "file://".
5438         * org.el (org-link-search): Preserve priority of #+TARGET over
5439         #+NAME when resolving a link.
5441         * ox-latex.el (org-latex-long-listings): New variable.
5442         (org-latex-src-block): Use new variable.
5444         * ox.el (org-export-data): White spaces after export snippets are
5445         never ignored.
5447         * org-element.el (org-element-macro-parser): Allow to escape
5448         escaping character before a comma.  Also do not trim spaces at
5449         argument boundaries.
5451         * ox.el (org-export-async-start): Use correct coding system so
5452         unibyte characters do not appear in the resulting buffer or file.
5453         (org-export--copy-to-kill-ring-p): Move function elsewhere in the
5454         file.
5456         * ox-latex.el (org-latex--inline-image): Fix error when no default
5457         width, height and option are provided and no attribute is set for
5458         the inline image.
5460         * org.el (org-comment-or-uncomment-region): Fix commenting lines
5461         beginning with a link.
5462         (org-delete-char): Fix "Invalid use of `\\' in replacement text"
5463         when deleting a character in a cell which contains "\"
5464         (org-export-backends): Remove duplicates.  Reorder alphabetically.
5466         * ox-texinfo.el (org-texinfo-plain-list): Use `member' instead of
5467         `memq' when matching strings.
5469         * ox.el (org-export-read-attribute): Do not use `read' to read
5470         attributes.  Instead, extract keywords and values from it, which
5471         means each value will be a string when non-nil.
5473         * ox-beamer.el (org-beamer-plain-list): Use new attribute syntax.
5475         * ox-html.el (org-html--textarea-block): Use new attribute syntax.
5477         * ox-latex.el (org-latex--inline-image, org-latex--org-table)
5478         (org-latex--math-table): Use new attribute syntax.
5480         * ox-man.el (org-man-table--org-table): Use new attribute syntax.
5481         Small refactoring.
5483         * ox-odt.el (org-odt-link--inline-image, org-odt-table-cell):
5484         Use new attribute syntax.
5486         * ox.el (org-export-async-start): Remove code evaluation queries
5487         from asynchronous export.
5489         * ox-latex.el (latex): Activate smart quotes by default.
5490         (org-latex--inline-image): Don't insert a default width when
5491         height is provided in a figure environment.
5492         (org-latex--inline-image): Do not use default width
5493         (resp. height) when an user height (resp. width) is provided.
5494         Also, default height is only used when image is not wrapped within
5495         a figure or wrapfigure environment, in order to preserve ratio.
5496         (org-latex-image-default-width, org-latex-image-default-height):
5497         Update docstring.
5499         * ox-icalendar.el (org-icalendar-create-uid): Fix error when
5500         `org-icalendar-store-UID' is non-nil.
5502         * ox-latex.el (latex): Introduce new buffer keyword.
5503         (org-latex-template): Use new keyword.
5505         * ox-beamer.el (org-beamer-template): Use new keyword.
5507         * org.el (org-create-formula--latex-header): Use new keyword.
5509         * ox-beamer.el (org-beamer-column-view-format, org-beamer-theme)
5510         (org-beamer-environments-extra): Add :version and
5511         :package-version.
5513         * ox-html.el (org-html-with-latex, org-html-inline-image-rules):
5514         Add :version and :package-version.
5516         * ox-latex.el (org-latex-inline-image-rules)
5517         (org-latex-default-table-environment)
5518         (org-latex-default-table-mode, org-latex-tables-booktabs)
5519         (org-latex-table-scientific-notation, org-latex-known-errors):
5520         Add :version and :package-version.
5522         * ox-md.el (org-md-headline-style): Add :version and
5523         :package-version.
5525         * ox-odt.el (org-odt-with-latex): Add :version
5526         and :package-version.
5528         * ox.el (org-export-with-drawers, org-export-with-latex)
5529         (org-export-with-inlinetasks, org-export-with-planning)
5530         (org-export-with-smart-quotes, org-export-with-statistics-cookies)
5531         (org-export-allow-bind-keywords, org-export-async-init-file):
5532         Add :version and :package-version.
5534         * ox-icalendar.el (org-icalendar-export-to-ics): Change back-end
5535         name from `e-ascii' to `ascii'.
5537         * ox.el (org-export--generate-copy-script): Call `org-mode' when
5538         duplicating a buffer.  It will properly set every variable, like
5539         `comment-start'.
5540         (org-export-async-start): Do not call `org-mode' since this is done
5541         already in the previous function.
5543         * ox-beamer.el (org-beamer-keyword): Remove frame arount toc when
5544         generated from a TOC keyword.
5546         * org.el (org-export-backends): Do not reset list of loaded
5547         back-ends to variable's value after a reload.
5549         * ox-latex.el (org-latex-src-block): Do not overwrite provided
5550         numbering options in minted and listings.
5551         (org-latex-headline): Don't add optional title on unnumbered
5552         headlines.
5554         * ox-html.el (html): Fix "HTML_HEAD" and "HTML_HEAD_EXTRA"
5555         keywords.  Allow multiple #+LATEX_HEAD and #+LATEX_HEAD_EXTRA
5556         again.
5558         * org.el (org-fill-paragraph): Small refactoring to
5559         `org-fill-paragraph'.  Do not look for table cells in a paragraph.
5561         * org-element.el (org-element-object-restrictions):
5562         Simplify restrictions within secondary strings and objects.
5564         * org-list.el (org-list-send-list): Do not rely on
5565         `org-list-parse-list'.
5566         (org-list-to-latex, org-list-to-html, org-list-to-texinfo):
5567         Use appropriate export back-end instead of using
5568         `org-list-to-generic'.
5570         * ox-html.el (org-html-inner-template): Remove contents div and
5571         title.
5572         (org-html-template): Add contents div and title.
5573         (org-html-infojs-install-script): Can't activate jsinfo script
5574         during a body-only export.
5576         * ox.el (org-export-as): Store export options in :export-options
5577         porperty within communication channel.
5579         * ox-latex.el (org-latex-item): Fix wrong behavior when a counter
5580         is set in an ordered list while its parent is not ordered.
5582         * ox.el (org-export-format-code-default): Handle empty source
5583         blocks more gracefully.
5585         * ox-ascii.el (org-ascii-src-block): Handle empty blocks more
5586         gracefully.
5588         * org.el (org-export-backends): Update variable.  `infojs' was
5589         merged into ox-html and `freemind' was added.
5591         * ox.el (org-export--selected-trees): Also mark inlinetasks with a
5592         select tag.
5593         (org-export--skip-p): Skip inlinetasks with a :noexport: tag.
5595         * ob-tangle.el (org-babel-spec-to-string): Use dedicated function
5596         for unescaping code.
5598         * ox-html.el (org-html-link): Silence byte-compiler.
5599         (html): Add infojs installation script in options filter.
5600         (org-html-infojs-install-script): Remove check for back-end as we
5601         can safely assume the function will be called from `html' back-end
5602         or one of its derivative.
5604         * ox-icalendar.el (org-agenda-collect-markers)
5605         (org-create-marker-find-array): Remove functions.
5606         (org-icalendar-export-current-agenda): Integrate previous
5607         functions.
5609         * ox-latex.el (org-latex-format-headline-default-function):
5610         Use declarative shape to nest makup for TODO keywords.
5611         Previous syntax generated errors during export.
5613         * ox.el (org-export-async-start): Ignore `org-mode-hook' and
5614         `kill-emacs-hook'.  The first one has been run in the original
5615         buffer.  The second is not necessary and can pollute output to a
5616         temporary buffer (e.g. with `org-clock-persistence-insinuate').
5618         * ox-html.el (org-html-inner-template): Remove title.
5619         (org-html-template): Add title.
5621         * ox.el (org-export--get-min-level): Ignore footnote section when
5622         computing minimal headline level.
5624         * org.el (org-do-latex-and-related): Fix infloop when user
5625         provides a wrong value for `org-highlight-latex-and-related'.
5626         In this case, `org-latex-and-related-regexp' is the empty string and
5627         generates an infloop since matching it doesn't move point.
5629         * org-element.el (org-element-headline-parser):
5630         Rename :optional-title into :alt-title.
5632         * ox.el (org-export-get-alt-title): Rename from
5633         `org-export-get-optional-title'.
5635         * ox-ascii.el (org-ascii--build-title):
5636         * ox-html.el (org-html--format-toc-headline):
5637         * ox-latex.el (org-latex-headline):
5638         * ox-texinfo.el (org-texinfo--get-node)
5639         (org-texinfo--generate-menu-items): Apply name change.
5641         * ox.el (org-export--get-inbuffer-options): Remove an optional
5642         argument.  Rewrite function.  Properties read from a setupfile do
5643         not overwrite anymore previously computed properties.
5644         (org-export-get-environment): Apply changes to previous function.
5646         * org.el (org-create-formula--latex-header): Apply arity change
5647         from `org-export--get-inbuffer-options'.
5649         * ox-latex.el (org-latex-compile): Add an optional argument for
5650         latex snippet previewing.
5652         * org.el (org-create-formula-image-with-imagemagick):
5653         Use `org-latex-compile' instead of rewriting it.
5655         * ox-html.el (org-html-fontify-code): Do not use [^\000] in
5656         regexps that may match large strings.
5658         * org.el (org-create-formula--latex-header): New function.
5659         (org-create-formula-image-with-dvipng)
5660         (org-create-formula-image-with-imagemagick): Use new function.
5662         * ox.el (org-export-get-previous-element): Change order of retured
5663         elements in `org-export-get-previous-element'.
5665         * org-element.el (org-element-all-successors): Add `plain-link'
5666         successor.
5667         (org-element-object-restrictions): Remove `link' within `link'.
5668         Allow `plain-link' instead.
5669         (org-element-plain-link-successor): New function.
5671         * org.el (org-match-substring-regexp)
5672         (org-match-substring-with-braces-regexp): Update regexp.
5673         A sub/superscript cannot start anymore at the beginning of the line
5674         or after a space.
5676         * org-element.el (org-element--get-next-object-candidates):
5677         Rewrite function to simplify algorithm.
5678         (org-element-context, org-element--parse-elements): Apply changes.
5680         * org.el (org-fill-paragraph): Apply changes.
5682         * ox-html.el (org-html-link, org-html-link--inline-image):
5683         Attributes specified to a paragraph only apply to first link
5684         within.
5686         * ox-latex.el (org-latex-headline): Do not add optional section
5687         name when section is unnumbered.
5689         * org.el (org-in-verbatim-emphasis): Fix false positive when point
5690         is just after the closing emphasis marker.
5691         (org-fill-paragraph): Do not move point when filling a table.
5693         * ox-ascii.el (ascii): Add new filter.
5694         (org-ascii-filter-comment-spacing): New function.
5695         (org-latex-keyword): Remove "figures" value.
5697         * ox-ascii.el (org-ascii--list-tables): Fix docstring.
5699         * ox-html.el (org-html--format-toc-headline): Fix function name.
5700         (org-html-toc, org-html--toc-text): Change to docstring.
5701         (org-html-list-of-listings, org-html-list-of-tables):
5702         New functions.
5703         (org-html-keyword): Use new functions.
5704         (org-html-src-block): Add an ID attribute when a name is given.
5706         * org-element.el (org-element-footnote-definition-parser):
5707         Require 2 blank lines to separate footnote definition.
5709         * org-footnote.el (org-footnote-at-definition-p): Require 2 blank
5710         lines to separate footnote definition.
5712         * ox.el (org-export-stack): Rewrite.
5713         (org-export-stack-refresh): Refactor.
5714         (org-export-stack-remove, org-export-stack-view): Apply renaming.
5715         (org-export-stack-mode-map): Use tabulated list map as a basis.
5716         (org-export-stack--generate, org-export-stack--num-predicate):
5717         New function.
5718         (org-export-get-optional-title): Return regular title when no
5719         optional title is found.
5721         * ox-ascii.el (org-ascii--build-title): Apply change to
5722         `org-export-get-optional-title'.
5724         * ox-html.el (org-html--format-toc-headline): Apply change to
5725         `org-export-get-optional-title'.
5727         * ox-latex.el (org-latex-headline): Apply change to
5728         `org-export-get-optional-title'.
5730         * ox-ascii.el (org-ascii--build-title): Add an argument.
5731         Use optional title when building a toc line.
5732         (org-ascii--build-toc): Call `org-ascii--build-title' with
5733         appropriate arguments.
5735         * ox-latex.el (org-latex-headline): Use optional title for table
5736         of contents.
5738         * ox-html.el (org-html--toc-text): Rename from
5739         `org-html-toc-text'.  Add docstring.
5740         (org-html--format-toc-headline): Rename from
5741         `org-html-format-toc-headline'.  Add docstring.  Use optional
5742         title if possible.
5743         (org-html-toc): Add docstring.
5745         * org-element.el (org-element-headline-parser): Node property
5746         :OPTIONAL_TITLE: in a headline will be parsed and stored under
5747         :optional-title property.
5749         * ox.el (org-export-get-optional-title): New function.
5751         * ox-latex.el (org-latex-format-headline-default-function):
5752         Make the variable a function.
5754         * ox-publish.el (org-publish-resolve-external-fuzzy-link):
5755         No error when resolving external fuzzy links outside publishing.
5756         Though search option for these links will not be resolved.
5758         * ox-latex.el (org-latex-guess-inputenc): Set inputenc option
5759         according to `org-export-coding-system'.
5761         * ox.el (org-export--generate-copy-script):
5762         Clone `buffer-file-coding-system' when creating a buffer copy.
5764         * ox-html.el (org-html-link): Resolve external links with search
5765         options like [[file.org::#custom-id]] or
5766         [[file.org::*headline-search]].
5768         * ox-publish.el (org-publish-collect-numbering)
5769         (org-publish-resolve-external-fuzzy-link): New functions.
5770         (org-publish-org-to): Add new collecting function to final output
5771         filter.  Move index collecting function to the same filter.
5772         (org-publish-collect-index): Called from final output filter.
5774         * ox-html.el (org-html-format-headline--wrap, org-html-headline):
5775         Use :CUSTOM_ID, not :custom-id.
5777         * org-element.el (org-element-latex-environment-parser): Fix wrong
5778         value for :post-affiliated property when parsing a latex
5779         environment.
5781         * ox-latex.el (org-latex-property-drawer): Remove function.
5783         * ox-ascii.el (org-ascii-filter-paragraph-spacing):
5784         Remove reference to now renamed `e-ascii' back-end.
5786         * ox-beamer.el (org-beamer-template): Allow to span documentclass
5787         options accross multiple lines in template.
5789         * ox-latex.el (org-latex-template): Allow to span documentclass
5790         options accross multiple lines in template.
5792         * ox-texinfo.el (org-texinfo--get-node): Upcase property name.
5793         (org-texinfo--get-node): New function.
5794         (org-texinfo-headline, org-texinfo-link): Use new function.
5796         * ox-ascii.el (org-ascii-quote-block): Do not fill quote block
5797         contents.  Just indent them.
5799         * ox-publish.el (org-publish-index-generate-theindex): Do not
5800         create an "* Index" headline in "theindex.inc".  Though, create an
5801         "Index" title in fallback "theindex.org".
5803         * ox-publish.el (org-publish-projects): Publish "theindex.org"
5804         last, so that "theindex.inc" can be completed.
5806         * ox-publish.el (org-publish-project-alist): Fix docstring.
5807         (org-publish-collect-index): Fix typo.
5809         * ox.el (org-export--dispatch-ui): Prevent invisible cursor from
5810         highlighting brackets in UI
5812         * org-element.el (org-element-headline-parser)
5813         (org-element-inlinetask-parser): Fix docstring.
5815         * org.el (org-export-backends): Add new back-end in customize
5816         interface.
5818         * ox-beamer.el (org-beamer--get-label, org-beamer--frame-level)
5819         (org-beamer--format-section, org-beamer--format-frame)
5820         (org-beamer--format-block, org-beamer-headline): Apply changes to
5821         properties.
5823         * ox-html.el (org-html-headline, org-html-link, org-html-section):
5824         Apply changes to properties.
5826         * ox-icalendar.el (org-icalendar-create-uid)
5827         (org-icalendar-blocked-headline-p, org-icalendar-entry)
5828         (org-icalendar--valarm): Apply changes to properties.
5830         * ox-odt.el (org-odt-headline): Apply changes
5832         * ox-publish.el (org-publish-collect-index): Apply changes to
5833         properties.
5835         * ox-texinfo.el (org-texinfo--generate-menu-list)
5836         (org-texinfo--generate-menu-items, org-texinfo-template)
5837         (org-texinfo-headline, org-texinfo-link): Apply changes to
5838         properties.
5840         * ox.el (org-export-resolve-id-link, org-export-get-category):
5841         Apply changes to properties.
5842         (org-export-get-node-property): Update docstring.
5844         * org-element.el (org-element-headline-parser)
5845         (org-element-inlinetask-parser): Upcase properties.  This is done
5846         to avoid confusion between properties from parser (e.g. `:end')
5847         and properties from the property drawer (e.g. :END:).
5849         * ox-publish.el (org-publish-index-generate-theindex): Preserve
5850         order in file.  Fix error when two index entries were identical.
5851         Create again theindex.inc.
5853         * org-element.el (org-element-map): Allow to map over any list.
5854         Do not restrict mapping to object types.
5856         * org-faces.el (org-latex-and-related): Rename from
5857         `org-latex-and-export-specials', which wasn't appropriate anymore.
5859         * org.el (org-highlight-latex-and-related)
5860         (org-latex-and-related-regexp): New variables.
5861         (org-compute-latex-and-related-regexp, org-do-latex-and-related):
5862         New function, revived from a previous commit.
5863         (org-set-regexps-and-options, org-set-font-lock-defaults): Use new
5864         functions.
5865         (org-set-regexps-and-options): Remove reference to LATEX_CLASS and
5866         beamer back-end.
5868         * ox-publish.el (org-publish-org-to): Small refactoring.
5870         * ox.el (org-export-install-filters): Properly install filters
5871         send through ext-plist mechanism.
5873         * ox-publish.el (org-publish-org-to): Small refactoring.
5875         * ox-html.el (org-html-keyword): Remove INDEX keyword handling.
5876         ox-publish.el takes care of it already.
5878         * org-macro.el: New file.
5880         * org.el: Remove macro code.
5882         * ox.el: Require new library
5884         * ox.el (org-export-resolve-fuzzy-link): Ignore statistics cookies
5885         when matching an headline.
5886         (org-export--dispatch-ui): Display a help message in header line
5887         for scrolling dispatcher's buffer
5888         (org-export-resolve-radio-link): Radio targets are
5889         case-insensitive.
5891         * ox-icalendar.el (org-export-icalendar): Fix docstring.
5893         * ox.el (org-export-dispatch): Fix docstring.
5894         (org-export--dispatch-action): Small improvement to line by line
5895         scrolling.
5896         (org-export-resolve-fuzzy-link): Refactor.  Whitespaces are not
5897         significant when matching a fuzzy link.
5899         * org-element.el (org-element-link-parser): Do not remove newlines
5900         characters in paths anymore, since this is not required.
5902         * ox.el (org-export--dispatch-ui): Rename from
5903         `org-export-dispatch-ui'.  Handle scrolling.
5904         (org-export--dispatch-action): Rename from
5905         `org-export-dispatch-action'.  Implement scrolling.
5906         (org-export-dispatch): Apply renaming.
5908         * org.el (org-ctrl-c-ctrl-c): Do nothing when at a blank line,
5909         but still run `org-ctrl-c-ctrl-c-final-hook'.
5910         (org-end-of-line): Remove `ignore-error'.
5912         * org-element.el (org-element-at-point): Return nil when in the
5913         first empty lines of the buffer.  Return headline when in empty
5914         lines just after the headline.
5916         * ox.el (org-export-output-file-name): Add a protection when
5917         output file name is the same as the original org.
5919         * ox-beamer.el (org-beamer-template): Add missing `class' argument
5920         for `format-string'.
5922         * ox-latex.el (org-latex-template): Add missing `class' argument
5923         for `format-string'.
5925         * ox.el (org-export-stack-mode): Fix docstring.
5927         * org-pcomplete.el (pcomplete/org-mode/file-option):
5928         Allow completion for ATTR_ prefixed keywords.
5930         * org.el (org-options-keywords): Add missing colons.
5932         * org-macs.el (org-default-options): Remove function.
5934         * org-pcomplete.el (org-command-at-point): Fix bug with some file
5935         options.
5936         (pcomplete/org-mode/file-option/x): Remove macro.
5937         (pcomplete/org-mode/file-option): Refactor code.
5938         (pcomplete/org-mode/file-option/author)
5939         (pcomplete/org-mode/file-option/date)
5940         (pcomplete/org-mode/file-option/title)
5941         (pcomplete/org-mode/file-option/tags)
5942         (pcomplete/org-mode/file-option/select_tags)
5943         (pcomplete/org-mode/file-option/priorities)
5944         (pcomplete/org-mode/file-option/language)
5945         (pcomplete/org-mode/file-option/filetags)
5946         (pcomplete/org-mode/file-option/exclude_tags)
5947         (pcomplete/org-mode/file-option/email): New functions.
5949         * ox.el (org-export--collect-headline-numbering): Remove footnote
5950         section from TOC.
5951         (org-export-collect-headlines): Do not count footnote section when
5952         numbering a headline.
5954         * ox-beamer.el (org-beamer-plain-list): Also read #+attr_latex
5955         attributes in order to determine list's options.
5957         * ox-ascii.el (org-ascii-inner-template): New function.
5958         (org-ascii-template): Use new function.
5959         (org-ascii-export-as-ascii, org-ascii-export-to-ascii):
5960         Update docstring.
5962         * org-element.el (org-element-link-parser): Take into
5963         consideration links filled and indented.
5965         * org-element.el (org-element-link-parser): Remove all newline
5966         characters in path property.
5968         * ox.el (org-export-as): Call `inner-template' function, if
5969         available.
5971         * ox-html.el (org-html-inner-template): New function.
5972         (org-html-template): Move all parts that should be inserted even
5973         in a body-only export into `org-html-inner-template'.
5975         * org.el (org-forward-element, org-backward-element): When no
5976         headline is found at the same level, still move forward or
5977         backward.
5979         * org-element.el (org-element--current-element): Add a limit
5980         argument.
5981         (org-element--collect-affiliated-keywords): Fix parsing of orphaned
5982         keyword at the end of an element.
5984         * ox-texinfo.el (org-texinfo-src-block): Remove spurious newline
5985         character as `org-export-format-code-default' already makes sure
5986         the string returned will end with a single one.
5988         * ox-latex.el (org-latex-headline): When a function returns a
5989         sectioning command, only one placeholder should be required.
5991         * org-element.el (org-element-nested-p): Do not inline function.
5993         * ox.el (org-export-copy-buffer, org-export-with-buffer-copy)
5994         (org-export--generate-copy-script): Move earlier in the file.
5996         * ox-texinfo.el (org-texinfo-link): Do not transform path part of
5997         internal links.
5999         * org.el (org-org-menu): Small refactoring.
6001         * ox-beamer.el (require):
6002         * ox-icalendar.el (require):
6003         * ox-jsinfo.el (require):
6004         * ox-md.el (require): Require cl when compiling.
6006         * org.el (org-export-backends):
6007         * ox.el (org-export-dispatch): Fix docstring.
6009         * ox.el (org-export-dispatch-ui): Widen UI by 2 characters.
6011         * ox-latex.el (org-latex-special-block): Add :options attribute to
6012         special blocks to specify options.
6014         * ox-beamer.el (org-beamer-template): Add BEAMER_HEADER keywords
6015         below LATEX_HEADER.
6017         * ox-latex.el (org-latex-format-headline-function): Fix missing
6018         parens in the docstring.
6020         * org.el (org-export-backends): Remove `:initialize' function.
6022         * org.el (org-reload): Also reload export back-ends in use.
6024         * ox-latex.el (org-latex-example-block, org-latex-src-block):
6025         Ignore element if it's empty.  This fixes error "apply: Wrong
6026         number of arguments: max, 0".
6028         * ox-beamer.el (org-beamer-template): Provide an error when LaTeX
6029         class is invalid.
6031         * ox-latex.el (org-latex-template): Provide an error when LaTeX
6032         class is invalid.
6034         * org.el (org-modules): Remove export back-ends from the list.
6035         Update docstring.
6036         (org-export-backends): New variable.
6038         * ox.el (org-export-async-start): Make sure export framework is
6039         required in the external process.
6041         * org.el (org-format-latex-header-extra, org-export-have-math):
6042         Remove variables.
6043         (org-latex-default-packages-alist): Rename from
6044         `org-export-latex-default-packages-alist'.
6045         (org-latex-packages-alist): Rename from
6046         `org-export-latex-packages-alist'.
6047         (org-try-cdlatex-tab, org-cdlatex-underscore-caret,
6048         org-cdlatex-math-modify): Reorder in file.
6049         (org-format-latex): Remove `org-format-latex-header-extra'.
6050         (org-create-formula-image-with-dvipng,
6051         org-create-formula-image-with-imagemagick): Apply variables renaming
6052         and removal.
6054         * org-entities.el (org-entities-user): Update docstring.
6056         * ox-latex.el (org-latex-classes, org-latex-listings):
6057         Update docstring.
6058         (org-latex-guess-inputenc): Rename from `org-latex--guess-inputenc'.
6059         (org-latex-guess-babel-language): Rename from
6060         `org-latex--guess-babel-language'.
6061         (org-latex-template): Apply renaming.
6063         * ox-beamer.el (org-beamer-template): Apply renaming.
6065         * ob-latex.el (org-babel-execute:latex): Apply variable renaming
6066         and removal.
6067         (org-babel-latex-tex-to-pdf): Call `org-latex-compile' instead of
6068         copying it.
6070         * org-macs.el (org-if-unprotected, org-if-unprotected-1)
6071         (org-if-unprotected-at): Remove macros.
6072         (org-re-search-forward-unprotected): Remove function.
6074         * org.el (org-format-latex):
6075         * org-list.el (org-list-struct):
6076         * org-footnote.el (org-footnote-at-reference-p):
6077         * org-capture.el (org-capture-fill-template): Remove reference to
6078         `org-protected'.
6080         * ob-exp.el (org-babel-exp-process-buffer): Rename from
6081         `org-export-blocks-preprocess'.
6083         * ox.el (org-export-execute-babel-code): Apply previous renaming.
6085         * org-pcomplete.el (pcomplete/org-mode/file-option): Collect valid
6086         keywords for completion without requiring the whole export
6087         framework.
6088         (pcomplete/org-mode/file-option/options): Rewrite using new export
6089         framework.  Only complete up to the colon.
6090         (pcomplete/org-mode/file-option/x): Remove macro.
6091         (pcomplete/org-mode/file-option/title)
6092         (pcomplete/org-mode/file-option/author)
6093         (pcomplete/org-mode/file-option/email)
6094         (pcomplete/org-mode/file-option/date): Remove functions.
6095         (pcomplete/org-mode/file-option/infojs_opt): New function.
6097         * org-clock.el (org-clocktable-defaults)
6098         (org-clocktable-write-default): Avoid requiring the whole export
6099         framework just to check one variable.
6101         * org-footnote.el (org-footnote-section): Update docstring.
6102         (org-footnote-normalize): Remove all export related part from the
6103         function.
6105         * org-inlinetask.el (org-inlinetask-export)
6106         (org-inlinetask-export-templates): Remove variables.
6107         (org-inlinetask-export-handler): Remove function.
6109         * org-plot.el: Remove dependency on `org-exp' library.
6111         * org.el (org-additional-option-like-keywords): Remove variable.
6112         (org-get-export-keywords): New function.
6113         (org-options-keywords): Update default list of keywords.
6114         (org-remove-flyspell-overlays-in): Apply changes to keywords
6115         compilation.
6116         (org-highlight-latex-fragments-and-specials)
6117         (org-latex-and-specials-regexp)
6118         (org-export-html-special-string-regexps): Remove variables.
6119         (org-compute-latex-and-specials-regexp)
6120         (org-do-latex-and-special-faces, org-remove-file-link-modifiers):
6121         Remove functions.
6122         (org-set-regexps-and-options, org-set-font-lock-defaults): Apply all
6123         removals.
6124         (org-use-sub-superscripts): Fix docstring.  Remove unused group.
6125         (org-match-sexp-depth): Make it a defconst instead of a defcustom
6126         in order to remove `org-export-translation' group completely.
6128         * ob-haskell.el (org-babel-haskell-export-to-lhs): Use new
6129         exporter.
6131         * ob-latex.el (org-babel-execute:latex): Use new exporter.
6133         * ob-org.el (org-babel-execute:org): Use new exporter.
6135         * org-agenda.el (org-agenda-menu, org-agenda-write): Use new
6136         iCalendar export back-end.
6138         * org-table.el (org-table-export, orgtbl-export):
6139         Remove dependency on `org-exp' library.
6140         (org-table-clean-before-export): New function.
6141         (org-table-colgroup-info): New variable.
6142         (orgtbl-to-html): Use to new HTML export back-end.
6144         * org.el (org-modules): Remove modules relative to obsolete export
6145         framework and add those relative to the new one.
6146         (org-create-formula-image-with-dvipng, org-format-latex
6147         org-create-formula-image-with-imagemagick): Use new exporter.
6148         (org-indent-line): INCLUDE keywords are indented like regular
6149         keywords.
6150         (org-mode-map): Bind C-c C-e to new export dispatcher.
6151         (org-menu): Install new exporter in menu.
6153         * org-ascii.el:
6154         * org-beamer.el:
6155         * org-docbook.el:
6156         * org-exp-blocks.el:
6157         * org-exp.el:
6158         * org-freemind.el:
6159         * org-html.el:
6160         * org-icalendar.el:
6161         * org-jsinfo.el:
6162         * org-latex.el:
6163         * org-lparse.el:
6164         * org-odt.el:
6165         * org-publish.el:
6166         * org-special-blocks.el:
6167         * org-taskjuggler.el:
6168         * org-xoxo.el: Remove
6170         * ox-ascii.el:
6171         * ox-beamer.el:
6172         * ox-html.el:
6173         * ox-icalendar.el:
6174         * ox-jsinfo.el:
6175         * ox-latex.el:
6176         * ox-man.el:
6177         * ox-md.el:
6178         * ox-odt.el:
6179         * ox-publish.el:
6180         * ox-texinfo.el:
6181         * ox.el: New file.
6183         * ob-exp.el (org-export-blocks-preprocess): Do not use
6184         `indent-code-rigidly' as it doesn't indent contents of strings.
6186         * org-element.el (org-element-map): Change to function
6187         indentation.  Also complete docstring.
6189         * org.el (org-ctrl-c-ctrl-c): Major rewrite function using
6190         Elements.
6192         * org-element.el (org-element-at-point): When point is before any
6193         element, in the first blank lines of the buffer, return nil.
6194         When point is within blank lines just after a headline, return that
6195         headline.
6196         (org-element-context): Return nil when point is within the blank at
6197         the beginning of the buffer.
6199         * org.el (org-edit-special): Fix regression.
6200         (org-timestamp-has-time-p, org-timestamp-format)
6201         (org-timestamp-split-range, org-timestamp-translate):
6202         New functions.
6204         * org-element.el (org-element-timestamp-interpreter):
6205         Interpret timestamps ranges with repeaters.
6207         * org.el (org-edit-special): Rewrite `org-edit-special' using Org
6208         Elements tools.  Behavior should be unchanged.
6210         * org-element.el (org-element-context): Add an optional argument
6211         so that (org-element-context) and (org-element-context
6212         (org-element-at-point)) are equivalent.
6214         * ob.el: Only use the :wrap argument up to the first space when
6215         creating the #+END_ directive.
6217         * org-element.el (org-element-object-variables): New variable.
6218         (org-element-parse-secondary-string): Copy some buffer-local
6219         variables to the temporary buffer created to parse the string so
6220         links can still be properly expanded.
6221         (org-element-link-parser): Link expansion and translation are applied
6222         transparently for the parser.
6224         * org-element.el (org-element-line-break-parser): Line break
6225         includes the newline character following the backslashes.
6226         (org-element-line-break-interpreter): Apply changes to line break
6227         parsing.
6229         * org.el (org-all-targets): Fix radio targets detection when
6230         object is directly followed by a non-whitespace character.
6232         * ob.el (org-babel-use-quick-and-dirty-noweb-expansion):
6233         Rename from `org-babel-use-quick-and-dirty-noweb-expansion'.
6234         (org-babel-expand-noweb-references): Use new variable name.
6236         * org-element.el (org-element-timestamp-interpreter):
6237         Fix timestamp interpreter when raw value isn't available.
6239         * ob-exp.el (org-babel-exp-non-block-elements): Make sure to parse
6240         inline babel call or inline src block instead of the following
6241         object.
6243         * org-element.el (org-element-timestamp-parser): Timestamp with
6244         time range has active/inactive-range type.
6245         (org-element-block-name-alist): Do not reset
6246         `org-element-block-name-alist' at each reload.
6247         (org-element-object-restrictions): Allow timestamps in parsed
6248         keywords (i.e. DATE).
6250         * org-agenda.el (org-agenda-show-clocking-issues)
6251         (org-agenda-format-item): Silence byte compiler.
6253         * org-colview.el (org-agenda-columns): Silence byte compiler.
6255         * org.el (org-properties-postprocess-alist): Silence byte
6256         compiler.
6258         * org-element.el (org-element-timestamp-parser): Return nil for
6259         unspecified :hour-end and :minute-end properties.
6260         (org-element-object-restrictions): Add footnote references objects
6261         in table cells.
6262         (org-element-interpret-data): Clear text properties when
6263         interpreting a string .
6265         * org-capture.el (org-capture--expand-keyword-in-embedded-elisp):
6266         Fix docstring.
6268         * org.el (org-adaptive-fill-function): Items do not have
6269         a :post-affiliated property.  Use :begin property instead.
6271         * org-element.el (org-element-headline-parser)
6272         (org-element-inlinetask-parser): Remove :clockedp property.
6274         * org.el (org-adaptive-fill-function): All elements do not have a
6275         :post-affiliated property.
6276         (org-macro-replace-all): Signal an error when a circular macro
6277         expansion happens.
6278         (org-macro-initialize-templates): Fix docstring.
6280         * org-element.el (org-element-map): Fix docstring.
6281         (org-element-contents, org-element-set-contents)
6282         (org-element-adopt-elements): Fix accessors and setters wrt
6283         secondary strings.
6284         (org-element-headline-parser)
6285         (org-element-inlinetask-parser): Fix void-function
6286         `org-clocking-buffer' error.
6287         (org-element-context): Fix org-element-context on parsed keywords.
6288         (org-element-context): Find objects in document and parsable
6289         affiliated keywords.
6290         (org-element-center-block-parser)
6291         (org-element-drawer-parser, org-element-dynamic-block-parser)
6292         (org-element-footnote-definition-parser)
6293         (org-element-plain-list-parser)
6294         (org-element-property-drawer-parser)
6295         (org-element-quote-block-parser, org-element-special-block-parser)
6296         (org-element-babel-call-parser, org-element-comment-parser)
6297         (org-element-comment-block-parser, org-element-diary-sexp-parser)
6298         (org-element-example-block-parser)
6299         (org-element-export-block-parser, org-element-fixed-width-parser)
6300         (org-element-horizontal-rule-parser, org-element-keyword-parser)
6301         (org-element-latex-environment-parser)
6302         (org-element-paragraph-parser, org-element-src-block-parser)
6303         (org-element-table-parser, org-element-verse-block-parser):
6304         Add `:post-affiliated' property to elements.
6305         (org-element-inlinetask-parser): Remove affilated keywords.
6307         * org.el (org-adaptive-fill-function): Use new property.
6309         * org-element.el (org-element--collect-affiliated-keywords):
6310         Allow duals keywords with only secondary value.
6311         (org-element-timestamp-parser): Modify timestamp objects
6312         properties.
6313         (org-element-headline-parser, org-element-inlinetask-parser): Remove
6314         `:timestamp' and `:clock' property.  Add `:clockedp' property.  Also,
6315         set `:closed', `:deadline' and `:scheduled' values to timestamp
6316         objects, not strings.  Small refactoring.
6317         (org-element-clock-parser): Rename `:time' property into `:duration'.
6318         Also, set `:value' value as a timestamp object, not a string.
6319         (org-element-planning-parser): Set `:closed', `:deadline' and
6320         `:scheduled' values to timestamp objects, not strings.
6321         (org-element-clock-interpreter, org-element-planning-interpreter)
6322         (org-element-timestamp-interpreter): Update interpreters.
6323         (org-element--current-element): Tiny refactoring.
6325         * ob.el (org-babel-where-is-src-block-result): Insert new results
6326         keyword in current narrowed part of buffer, if necessary.
6327         Small refactoring.
6328         (org-babel-insert-result): Do not widen buffer when new results have
6329         to be inserted.  Therefore, results inserted after the last block of
6330         a narrowed buffer still belong to the narrowed part of the buffer.
6332         * org-agenda.el (org-agenda-get-deadlines): Tiny stylistic change.
6334         * org-element.el (org-element-paragraph-separate): Diary-sexp
6335         elements can separate paragraphs.
6336         (org-element-all-elements): Install new `diary-sexp' type.
6337         (org-element--current-element): Recognize new `diary-sexp' elements.
6338         (org-element-diary-sexp-parser)
6339         (org-element-diary-sexp-interpreter): New functions.
6340         (org-element-horizontal-rule-parser)
6341         (org-element-keyword-parser, org-element--current-element):
6342         Small refactoring.
6343         (org-element-property): Access to text properties when argument is
6344         a string.
6345         (org-element-put-property): Correctly set property when target is
6346         a string.
6347         (org-element-adopt-elements): Also put :parent properties on
6348         strings.
6350         * ob-exp.el (org-babel-exp-code): Escape code when re-creating a
6351         src blocks.
6352         (org-export-blocks-preprocess): Pos can sometimes be set to a
6353         value greater than start, because of indentation, and lead to a
6354         search bound error.
6355         (org-babel-exp-code): Remove comma-escaping special rule for Org
6356         blocks.
6357         (org-export-blocks-preprocess): Results of an evaluated code block
6358         can be inserted within the blank lines after the block.  Hence, if
6359         the block has to be removed, delete everything down to the first
6360         non-blank line after the end of block closing string, instead of
6361         removing everything down to the very end of the block.
6363         * org.el (org-all-targets): Make sure the regexp really matched a
6364         radio target.
6365         (org-macro-expand, org-macro-replace-all): Change signature.
6366         The function now accepts an alist of templates so it doesn't have to
6367         rely only on `org-macro-templates'.
6368         (org-macro-initialize-templates): {{{date}}} is not anymore an
6369         alias for {{{time}}}.  During export, it will provide the value
6370         stored in DATE keyword instead.
6372         * org-element.el (org-element-object-restrictions): Allow links in
6373         caption.  Also allow inline-src-blocks and inline-babel-calls.
6374         (org-element-map): Change signature.
6375         (org-element-parsed-keywords): Remove document properties from the
6376         value.
6377         (org-element-dual-keywords): Fix docstring.
6378         (org-element-document-properties): New variable
6379         (org-element-all-elements): Add `node-property' as a new element
6380         type.
6381         (org-element-greater-elements): Add property-drawer element to
6382         greater elements since they now contain node-property elements.
6383         (org-element-drawer-parser): Small refactoring.
6384         (org-element-property-drawer-parser): Move into Greater Elements
6385         file section.
6386         (org-element-node-property-parser,
6387         org-element-node-property-interpreter): New functions.
6388         (org-element--current-element, org-element-at-point)
6389         (org-element--parse-elements): Handle new element type.
6390         (org-element--collect-affiliated-keywords): Fix return value.
6391         (org-element-center-block-parser)
6392         (org-element-drawer-parser, org-element-dynamic-block-parser)
6393         (org-element-footnote-definition-parser)
6394         (org-element-plain-list-parser, org-element-quote-block-parser)
6395         (org-element-special-block-parser, org-element-babel-call-parser)
6396         (org-element-comment-parser, org-element-comment-block-parser)
6397         (org-element-example-block-parser)
6398         (org-element-export-block-parser, org-element-fixed-width-parser)
6399         (org-element-horizontal-rule-parser, org-element-keyword-parser)
6400         (org-element-latex-environment-parser)
6401         (org-element-paragraph-parser, org-element-property-drawer-parser)
6402         (org-element-src-block-parser, org-element-table-parser)
6403         (org-element-verse-block-parser): Change signature.  Now use an
6404         additional argument: affiliated.
6405         (org-element--current-element): Skip affiliated keywords and pass
6406         them as an argument to parsers.  It prevents to walk through these
6407         keywords twice: the first time to get to the first line of the
6408         element, and a second time to collect the affiliated keywords.
6410         * ob-exp.el (org-babel-exp-non-block-elements): More accurate
6411         white space handling when evaluating inline-src-block, babel-call
6412         and inline-babel-call elements or objects.  Also removed use of
6413         `org-babel-examplize-region' since it would never be called
6414         anyway; return value from `org-babel-exp-do-export' is never nil.
6415         (org-export-blocks-preprocess): Preserve affiliated keywords when
6416         replacing a code block.
6418         * org-element.el (org-element-multiple-keywords): Allow multiple
6419         caption keywords.
6421         * ob-exp.el (org-export-blocks-preprocess): Fix block evaluation
6422         when results are before the block.
6423         (org-export-blocks-preprocess): Improve blank lines handling in
6424         function.  Add comments.  Remove `org-export-blocks-postblock-hook'
6425         since it's defined nowhere now (and doesn't need to, there's
6426         `org-export-before-parsing-hook' already).
6428         * org-exp-blocks.el: Delete.
6430         * ob-exp.el (org-export-blocks-preprocess):
6431         * ob-ditaa.el (org-ditaa-jar-path): Move from
6432         "org-export-blocks.el".
6434         * ob-exp.el (org-babel-exp-src-block): Remove unused argument.
6435         (org-babel-exp-non-block-elements): Rewrite function using Org
6436         Element.
6438         * org-exp-blocks.el (org-export-blocks-preprocess):
6439         Rewrite function using Org Element.
6441         * org-element.el (org-element-recursive-objects)
6442         (org-element-object-restrictions): Remove `macro' from recursive
6443         object types.
6445         * org.el (org-macro-initialize-templates): Small refactoring.
6446         (org-mode): Initialize macros templates.
6447         (org-macro-templates): New variable.
6448         (org-macro-expand, org-macro-replace-all)
6449         (org-macro-initialize-templates): New functions.
6451         * org-element.el (org-element-link-type-is-file): New variable.
6452         (org-element-link-parser): Extract search option and application
6453         in "file"-type links.
6455         * org.el (org-mode): Set back comment-start-skip so comment-dwin
6456         can tell a keyword from a comment.
6458 2013-11-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
6460         * org.el (org-time-stamp): When INACTIVE is non-nil, insert an
6461         inactive timestamp also with double universal argument.
6462         (org-set-regexps-and-options): Don't set font-lock defaults here.
6463         (org-mode): Set font-lock defaults here.
6464         (org-insert-link): Call `org-link-try-special-completion' from the
6465         original buffer.
6467 2013-11-12  Oleh  <oleh.krehel@gmail.com>
6469         * org.el (org-open-at-point): The new code is being run in the
6470         same spot as `org-open-link-functions'.  In case they failed,
6471         check if link matches "^id:" and if so, load the id interface and
6472         follwo the link.
6474 2013-11-12  Rasmus  <rasmus@gmx.us>  (tiny change)
6476         * ox-latex.el (org-latex--inline-image): The pgf format is
6477         associated to an inline image and treated like tikz files.
6479 2013-11-12  Richard Lawrence  <richard.lawrence@berkeley.edu>  (tiny change)
6481         * org-agenda.el (org-cmp-ts): Avoid error when trying to
6482         `string-match' against nil.
6484 2013-11-12  Rick Frankel  <rick@rickster.com>
6486         * ox-html.el (org-html-doctype): New function.
6487         (org-html-template): Use `org-html-doctype' instead of inline
6488         code.
6489         (org-html-headline): Use the new
6490         `org-html--container' function to set container element.
6491         (org-html--container): Returns appropriate element for headline
6492         container.
6493         (org-html-divs): Extra character in doc string.
6494         (org-babel-execute:sql): Unquote cmdline argument in
6495         format string, dbish requires three separate arguments.  Add dbi
6496         to the list of engines with automatically added header separator.
6497         (org-html--build-pre/postamble): Add css class to wrapper div
6498         (defaults to `org-pre/postamble-class').  Move spec building to
6499         separate function (`org-html-format-spec').
6500         (org-html-format-spec): New function.
6501         (org-pre/postamble-class): New variable.
6502         (org-html--timestamp-format): New variable used in the metadata
6503         and the pre/postamble.
6504         (org-html-style-default): Make the preamble and postamble use the
6505         same style.  Make all anchors font-size %100.  Remove margin from
6506         the content section.
6507         (org-html-container-element): Fix docstring.
6508         (org-html-postamble-format, org-html-preamble-format):
6509         Update docstrings.
6510         (org-html-template): Use `org-html--build-pre/postamble'.
6511         (org-html--build-pre/postamble): New function, combining the
6512         pre/postamble generator.  Merge lists of formatters from the
6513         preamble and postamble.  Fix bug, using :time-stamp-file instead
6514         of :with-date for auto display of date: this brings usage in-line
6515         with the latex and beamer exporter.
6516         (org-html--build-postamble, org-html--build-postamble): Delete.
6517         (define-backend): Add :html-doctype and :html-container
6518         parameters.
6519         (org-html-doctype): New option for doctype declaration.
6520         (org-html-container-elemnt): New option for specifying the wrapper
6521         container element.
6522         (org-html-divs): Change to alist of three entries each containing
6523         a key ('preamble, 'content, 'postamble), an HTML element type and
6524         an id to allow setting container elements.
6525         (org-html--build-preamble, org-html--build-postamble): Modify to
6526         use `org-html-divs'.
6527         (org-html-template): Modify to use doctype and container-element
6528         settings.
6529         (org-export-define-backend): Add css url option.
6530         (org-export-htmlized-org-css-url): Modify docstring and options.
6531         (org-html--build-style): Include css-url if specified.
6533 2013-11-12  Roberto Huelga Díaz  <rhuelga@gmail.com>  (tiny change)
6535         * org-timer.el (org-timer-set-timer): Use the variable
6536         `org-clock-sound' when calling `org-notify'.
6538 2013-11-12  Ryo TAKAISHI  <ryo.takaishi.0@gmail.com>
6540         * org-capture.el (org-capture--expand-keyword-in-embedded-elisp):
6541         New function.
6542         (org-capture-expand-embedded-elisp): Use the new function.
6544         * ob-tangle.el (org-babel-tangle-collect-blocks): Change argument
6545         name collid `org-babel-map-src-blocks' variable 'lang'.
6547         * org-protocol.el (org-protocol-convert-query-to-plist):
6548         New function.
6549         (org-protocol-do-capture): Use new function.
6550         (org-protocol-data-separator): Change default separator.
6552 2013-11-12  Rémi Vanicat  <vanicat@debian.org>  (tiny change)
6554         * org-table.el (orgtbl-format-line): Fix bug when formatting line.
6556 2013-11-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6558         * ox-latex.el (org-latex-listings): Don't quote const value.
6560         * ob-C.el (org-babel-C-var-to-C): Add list support
6561         (org-babel-C-val-to-C-list-type, org-babel-C-val-to-C-type)
6562         (org-babel-C-format-val): New functions.
6563         (org-babel-C-ensure-main-wrap, org-babel-execute:C)
6564         (org-babel-execute:C++, rg-babel-execute:cpp)
6565         (org-babel-C++-compiler, org-babel-C-compiler): Improve docstring.
6567         * org-entities.el (org-entities): Add support for hbar.
6569 2013-11-12  Sacha Chua  <sacha@sachachua.com>  (tiny change)
6571         * org.el (org-read-date-get-relative): Handle positive and
6572         negative weekday specifications so that they don't return today.
6573         If today is Friday, "fri" should mean next Friday.  This changes
6574         the previous behavior, which required you to specify "+2fri" in
6575         order to mean next Friday if today was Friday.  If you want to
6576         schedule something for today, you can use ".".
6578 2013-11-12  Samuel Loury  <konubinix@gmail.com>  (tiny change)
6580         * org.el (org-open-at-point): Open a plain link even if the cursor
6581         is before it, which is consistent with the behavior with respect
6582         to bracket and angle links.
6584 2013-11-12  Sean O'Halpin  <sean.ohalpin@gmail.com>  (tiny change)
6586         * ob.el (org-babel-expand-noweb-references): Capture current noweb
6587         start and end patterns then use them to set buffer locals in a
6588         (with-temp-buffer ...) form.
6590 2013-11-12  Sebastien Vauban  <xxx@public.gmane.org>
6592         * ox-latex.el (org-latex-listings-langs): Update custom variable.
6594         * ob-core.el (org-babel-parse-src-block-match): Fix order of list
6595         of header arguments.
6597         * org-clock.el (org-clock-goto-before-context): New option.
6598         (org-clock-goto): Use the new option.
6599         (org-clocktable-write-default): Insert the summary as a standard
6600         #+CAPTION keyword for the (clock) table.
6602 2013-11-12  Stephen Eglen  <S.J.Eglen@damtp.cam.ac.uk>  (tiny change)
6604         * org-agenda.el (org-agenda-prefix-format): Small docstring
6605         enhancement.
6607 2013-11-12  Suhail Shergill  <suhailshergill@gmail.com>  (tiny change)
6609         * ob-core.el (org-babel-temp-file): For remote hosts, modify the
6610         prefix and leave `temporary-file-directory' unchanged.
6612 2013-11-12  Suvayu Ali  <fatkasuvayu+linux@gmail.com>  (tiny change)
6614         * org.el (org-speed-commands-default): Change default binding for
6615         org-mark-subtree from "." to "@" to be more consistent with "C-c
6616         @".
6618 2013-11-12  Tim Burt  <tcburt@rochester.rr.com>  (tiny change)
6620         * org-datetree.el (org-datetree-find-year-create): Also match
6621         headlines with tags.
6623 2013-11-12  Toby S. Cubitt  <tsc25@cantab.net>
6625         * org.el (org-time-clocksum-format)
6626         (org-time-clocksum-fractional-format): In addition to a single
6627         format string, the clocksum formats can now be plists specifying
6628         separate formats for different time units.
6629         (org-minutes-to-clocksum-string): New function to replace
6630         `org-minutes-to-hh:mm-string', which converts a number of minutes
6631         to a string according to the customization options.
6633         * org-colview.el (org-columns-number-to-string): Use the new
6634         `org-minutes-to-clocksum-string' function to format clocksum
6635         durations.
6637         * org-clock.el: Always call new `org-minutes-to-clocksum-string'
6638         function when formatting time durations, instead of calling
6639         `org-minutes-to-hh:mm-string' or passing
6640         `org-time-clocksum-format' directly to format.
6642 2013-11-12  Tokuya Kameshima  <kametoku@gmail.com>
6644         * org-mew.el (org-mew-inbox-folder, org-mew-use-id-db)
6645         (org-mew-subject-alist, org-mew-capture-inbox-folders)
6646         (org-mew-capture-guess-alist): New options.
6647         (org-mew-store-link, org-mew-open): Rewrite.
6648         (org-mew-folder-name, org-mew-follow-link)
6649         (org-mew-folder-eixsts-p, org-mew-get-msgnum)
6650         (org-mew-open-by-message-id, org-mew-search, org-mew-capture)
6651         (org-mew-capture-guess-selection-keys): New functions.
6653 2013-11-12  Trevor Murphy  <trevor.m.murphy@gmail.com>  (tiny change)
6655         * org.el (org-get-compact-tod): Always pad minutes to two places.
6657 2013-11-12  Viktor Rosenfeld  <listuser36@gmail.com>  (tiny change)
6659         * org.el (org-agenda-prepare-buffers): Add tags defined in
6660         `org-tag-persistent-alist' to `org-tag-alist-for-agenda'.
6662 2013-11-12  Vitalie Spinu  <spinuvit@gmail.com>
6664         * ob-tangle.el (org-babel-find-file-noselect-refresh):
6665         Call `find-file-noselect' with 'nowarn argument to surpress
6666         `yes-or-no-p' reversion message.
6668         * ob-core.el (org-babel-where-is-src-block-head):
6669         Return `point-marker' instead of `point'.
6671 2013-11-12  Yann Hodique  <yann.hodique@gmail.com>
6673         * org-publish.el (org-publish-org-to-taskjuggler): New function to
6674         publish taskjuggler projects.
6676 2013-11-12  Yasushi Shoji  <yashi@atmark-techno.com>
6678         * org-clock.el (org-clock-x11idle-program-name): New option.
6679         (org-x11idle-exists-p, org-x11-idle-seconds): Use it.
6681 2013-11-12  Yoshinari Nomura  <nom@quickhack.net>
6683         * ox-html.el (org-html--has-caption-p): New function.
6684         (org-html-link--inline-image, org-html-table): Prepend ordinal
6685         number to caption.
6686         (org-html-link): Make numbered link by counting captioned figures
6687         and tables.
6689         * ox.el (org-export-dictionary): Add Japanese translations for
6690         figures and tables.  Add "Figure %d:" entry in the same manner
6691         with "Table %d:".
6693 2013-11-12  Nicolas Richard  <nrichard@ulb.ac.be>
6695         * ob.el (org-babel-edit-distance): When insertion or deletion are
6696         needed, make sure the distance is incremented.  In addition, the
6697         now obsolete mmin function was removed.
6699 2013-11-12  Oleh Krehel  <wave@mail.ua>
6701         * org-capture.el (org-capture-expand-embedded-elisp): Throw error
6702         if result is not a string and not nil.  If the result is nil,
6703         treat it as if it was the empty string.
6705         * org-clock.el (org-clock-notify-once-if-expired):
6706         Honor `org-clock-sound'.
6708 2013-11-12  Rasmus Pank  <rasmus.pank@gmail.com>
6710         * org.el (org-format-latex-header): Remove eucal and amsmath.
6711         (org-latex-default-packages-alist): Remove amstext and add
6712         amsmath.
6714         * ox-latex.el (org-latex-item): Use square as unchecked symbol.
6716         * org.el (org-latex-default-packages-alist): Remove latexsym.
6718         * org-entities.el (org-entities): Add support for ell, imath,
6719         jmath, varphi, varpi, aleph, gimel, beth, dalet, cdots, S (§),
6720         dag, ddag, colon, therefore, because, triangleq, leq, geq,
6721         lessgtr, lesseqgtr, ll, lll, gg, ggg, prec, preceq, preccurlyeq,
6722         succ, succeq, succurlyeq, setminus, nexist(s), mho, check, frown,
6723         diamond.  Changes loz, vert, checkmark, smile and tilde.
6725         * ob-C.el: Added C++ to `org-babel-load-languages' automatically
6726         after loading C.
6728         * org-src.el (org-src-lang-modes): Add association between
6729         language C++ and `c++-mode'.
6731         * ox.el (org-export-smart-quotes-alist): Add ("da" "no" "nb"
6732         "nn" "sv").
6733         (org-export-dictionary): Add some entries ("da" "no" "nb" "nn"
6734         "sv").
6735         (org-export-default-language): Mention other variables affected by
6736         language.
6738         * ox-latex.el (org-latex-babel-language-alist): Add 'nb', 'nn',
6739         and 'no' for Norwegian.  Removed 'no-no'.
6740         (org-latex-pdf-process): let `latexmk' be a preconfigured choice
6741         and change the wording of the docstring.
6742         (org-latex-guess-babel-language): Replace AUTO with language if
6743         AUTO is the option of the LaTeX package Babel.
6744         (org-latex-classes): Update documentation with respect
6745         to `org-latex-guess-babel-language'.
6747 2013-11-12  Дядов Васил Стоянов  <vdyadov@elvees.com>  (tiny change)
6749         * org-docview.el (org-docview-export): New function to export
6750         docview links.
6752 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6754         * org-agenda.el (org-agenda-mode):
6755         * org-indent.el (org-indent-mode): Use the `local' arg of
6756         add-hook/remove-hook.
6758 2013-03-08  Bastien Guerry  <bzg@gnu.org>
6760         * org-exp.el (org-export-normalize-links): Fix critical bug: do
6761         not rely on `org-context' to guess where to prevent links
6762         normalization.
6764 2013-02-28  Achim Gratz  <Stromeko@Stromeko.DE>
6766         * org.el (org-org-menu): Use correct key "C-u C-c C-x !" to do
6767         org-reload uncompiled in the menu.
6769 2013-02-28  Bastien Guerry  <bzg@gnu.org>
6771         * org-indent.el (org-indent-add-properties): Bugfix: prevent
6772         negative value for `added-ind-per-lvl'.
6774         * org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
6775         `isearch-mode-end-hook' so that any isearch fixes the problem with
6776         ellipsis on the first line.
6777         (org-fix-ellipsis-at-bol): New defsubst.
6778         (org-show-context, org-isearch-end): Use it.
6780         * org.el (org-show-context): Remove useless catch.
6781         Make sure the top of the window is a visible headline.
6782         (org-activate-plain-links): Remove unused catch.
6784         * org-macs.el (org-get-alist-option): Return nil, not (nil),
6785         so that `org-show-context' DTRT.
6787         * org.el (org-imenu-get-tree): Fix bug when matching against empty
6788         headlines.
6790         * org.el (org-overview): Stay on current line.
6791         (org-map-entries): Fix docstring.
6792         (org-at-clock-log-p): Delete.
6793         * org-clock.el (org-at-clock-log-p): Move here.
6795         * org.el (org-tsr-regexp-both): Don't activate dates in links.
6796         (org-activate-dates): Change match boundaries according to the new
6797         value of `org-tsr-regexp-both'.
6799         * org-agenda.el (org-agenda-to-appt): Fix typos.
6801         * org-agenda.el (org-agenda-local-vars): Don't include
6802         `org-agenda-show-window' as it needs to be checked outside of the
6803         agenda window.
6805         * org.el (org-set-tags-command): Fix bug when setting tags for
6806         multiple headlines in an active region.
6808         * org-mobile.el (org-mobile-edit): DTRT when inserting a heading
6809         in an invisible region.
6811         * org.el (org-insert-heading-respect-content): Add docstring.
6812         New `invisible-ok' parameter.
6813         (org-insert-todo-heading-respect-content): Add docstring.
6815         * ob-tangle.el (org-babel-tangle-collect-blocks):
6816         Bugfix: remove code references from blocks.
6818         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
6819         Cosmetic changes.
6820         (org-agenda-show-new-time): Fix bug when displaying a temporary
6821         overlay with the scheduled/deadline information.
6823         * org.el (org-fill-paragraph-with-timestamp-nobreak-p): New function.
6824         (org-setup-filling): Use it to prevent breaking a timestamp when
6825         filling a paragraph.
6827         * org-id.el (org-id-get-with-outline-path-completion): Fix docstring.
6829 2013-02-28  Tim Burt  <tcburt@rochester.rr.com>  (tiny change)
6831         * org-datetree.el (org-datetree-find-year-create):
6832         Match headlines with tags.
6834 2013-02-07  Bastien Guerry  <bzg@gnu.org>
6836         * org-agenda.el (org-agenda-get-deadlines)
6837         (org-agenda-get-scheduled): Fix bug: use text properties for the
6838         headline text since we rely on properties to get e.g. the effort.
6840         * org-exp.el (org-export-normalize-links): Don't match links
6841         within tags.
6843         * org-html.el (org-export-html-preamble-format)
6844         (org-export-html-postamble-format): Mention that
6845         org-export-html-preamble/postamble need to be `t' in order for
6846         these variables to have any effect.
6848         * org-html.el (org-html-handle-links): When the link description
6849         is an image and the attribute is "width", pass the attribute to
6850         the <img ...> tag.
6852         * org.el (org-mode): Always honor `org-startup-indented', even
6853         when `org-inhibit-startup' is non-nil.
6855         * org-indent.el (org-indent-mode): Don't check
6856         `org-inhibit-startup'.
6858         * org.el (org-fontify-meta-lines-and-blocks-1): Don't try to add
6859         text properties outside of the buffer.
6861         * org.el (org-agenda-inhibit-startup): Rename from
6862         `org-agenda-inhibit-startup-visibility-cycling'.
6863         (org-agenda-prepare-buffers): Bind `org-inhibit-startup' to
6864         `org-agenda-inhibit-startup'.
6866         * org.el (org-mode): Don't initialize `org-beamer-mode' when
6867         `org-inhibit-startup' is non-nil.
6869         * org-footnote.el (org-footnote-create-definition): Prevent
6870         `electric-indent-mode' from inserting the definition at the wrong
6871         place.
6873         * org-agenda.el (org-agenda-no-heading-message): Delete.
6874         (org-agenda-get-timestamps, org-agenda-get-progress)
6875         (org-agenda-get-deadlines, org-agenda-get-scheduled)
6876         (org-agenda-get-blocks): Don't use
6877         `org-agenda-no-heading-message', skip the entry.
6879         * org.el (org-agenda-inhibit-startup-visibility-cycling):
6880         New option.
6881         (org-agenda-prepare-buffers): Use it to speed up the agenda
6882         generation.
6884         * org-agenda.el (org-agenda-skip): Fix bug by correctly skipping
6885         commented scheduled/deadline lines.
6887         * org-clock.el (org-clock-in): Fix bug when fetching the effort
6888         value.
6890         * ob-python.el (org-babel-python-command): Fix docstring.
6891         (org-babel-python-initiate-session-by-key): Fix bug: `run-python'
6892         from Emacs >24.1 requires a python command as an argument.
6894         * org-element.el (org-element-at-point): Fix typo in docstring.
6896         * org-agenda.el (org-agenda-get-deadlines): Fix bug: use
6897         `org-agenda-show-inherited-tags'.
6899         * org-agenda.el (org-agenda-skip): Correctly handle commented out
6900         scheduled/deadline lines.  Refactor.
6902         * org-install.el: Do not warn users.
6904         * org.el (org-adaptive-fill-function): In message-mode, don't
6905         lines in the message header, nor table lines in the body.
6906         Correctly fill lines starting with `org-outline-regexp' in the
6907         body.
6909         * org-agenda.el (org-agenda-open-link): Fix bug with opening all
6910         links.
6912 2013-02-07  Francesco Pizzolante  <fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>  (tiny change)
6914         * org-clock.el (org-clock-sum): Protect with `org-unmodified'.
6916         * org-macs.el (org-unmodified): Inhibit modification hooks.
6918 2013-02-07  John K. Luebs  <jkluebs@luebsphoto.com>  (tiny change)
6920         * org.el (org-get-wdays): Handle matching a lead time specified in
6921         hours.
6923 2013-02-07  Muchenxuan Tong  <demon386@gmail.com>  (tiny change)
6925         * org-agenda.el (org-agenda-quit): Delete indirect buffer's window
6926         only when it exists.
6928 2013-02-07  Nicolas Goaziou  <n.goaziou@gmail.com>
6930         * org-element.el (org-element-macro-parser): Fix error when last
6931         argument ends with a protected comma.
6933         * org-element.el (org-element-parse-buffer, org-element-map)
6934         (org-element-at-point, org-element-context): Be more verbose in
6935         docstrings.  Also fix typos.
6937         * org-list.el (org-list-struct-fix-box): When a checkbox has to be
6938         resetted because of a non-nil ORDERED property value, make sure it
6939         had a checkbox already.
6941 2013-02-07  Tokuya Kameshima  <kametoku@gmail.com>  (tiny change)
6943         * org-agenda.el (org-search-view): Fix checking
6944         `org-agenda-show-inherited-tags'.
6946 2013-02-07  racin  <racin@free.fr>  (tiny change)
6948         * org-bibtex.el (org-bibtex-search): Don't throw an error when
6949         `org-bibtex-prefix' is nil.
6951 2013-01-13  Bastien Guerry  <bzg@gnu.org>
6953         * org-compat.el (org-condition-case-unless-debug): Delete.
6955         * org-odt.el (org-odt-cleanup-xml-buffers):
6956         Use `condition-case' instead of `org-condition-case-unless-debug',
6957         which is now deleted.
6959         * org-capture.el (org-capture-templates-contexts):
6960         * org-agenda.el (org-agenda-custom-commands-contexts):
6961         Docstring fix.
6963         * org.el (org-get-tags-at): Remove duplicate inherited tags.
6965         * org-agenda.el (org-agenda-show-inherited-tags): Allow to be set
6966         to 'always or to a list of agenda types.
6967         (org-agenda-finalize): Rework conditions under which inherited
6968         tags should be made available even when not displayed.
6969         (org-search-view, org-agenda-get-todos)
6970         (org-agenda-get-timestamps, org-agenda-get-sexps)
6971         (org-agenda-get-progress, org-agenda-get-scheduled)
6972         (org-agenda-get-blocks): Use new possible values of
6973         `org-agenda-show-inherited-tags'.
6975         * org.el (org-open-at-point): Fix opening all links at point.
6977         * org-agenda.el (org-get-entries-from-diary): Turn off
6978         `diary-file-name-prefix' instead of
6979         `diary-file-name-prefix-function', the former is checked before
6980         the latter.
6982         * org.el (org-edit-special): Check for table.el before checking
6983         for Org tables.
6985 2013-01-13  Michael Albinus  <michael.albinus@gmx.de>
6987         * ob-eval.el (org-babel-shell-command-on-region):
6988         Use `executable-find' for local `shell-file-name'.
6990 2013-01-09  Achim Gratz  <Stromeko@Stromeko.de>
6992         * org-faces.el: Define face alias mode-line for XEmacs (it's
6993         called modeline there).
6995         * org-compat.el (org-no-popups): New wrapper macro which let-binds
6996         the correct variables to suppress popup windows depending on the
6997         Emacs version in use.  This is a compile-time decision when
6998         byte-compiling.
7000         * org.el (org-get-location, org-switch-to-buffer-other-window):
7001         Use the wrapper `org-no-popups' to let-bind the correct variables
7002         for suppression of popup windows.
7004         * org-compat.el (user-error): Defalias to `error' for Emacsen that
7005         don't have it.
7007         * org-agenda.el (org-agenda-write): Use org-called-interactively-p
7008         instead of called-interactively-p.
7010         * org.el (org-find-invisible-foreground): Do not use the value of
7011         variables `default-frame-alist', `initial-frame-alist' and
7012         `window-system-default-frame-alist' when their symbol is not bound.
7014 2013-01-09  Bastien Guerry  <bzg@gnu.org>
7016         * org-src.el (org-edit-src-code): Fix bug when trying to edit a
7017         table.el table.
7019         * org-agenda.el (org-agenda-finalize): Inhibit readonly for the
7020         whole function.
7022         * org.el (org-entry-get): Speed up by let-binding some variables
7023         only if needed.  Also fix a bug: consider an empty drawer as no drawer.
7025         * org-agenda.el (org-search-view, org-agenda-get-todos)
7026         (org-agenda-get-timestamps, org-agenda-get-sexps)
7027         (org-agenda-get-progress, org-agenda-get-deadlines)
7028         (org-agenda-get-scheduled, org-agenda-get-blocks)
7029         (org-agenda-change-all-lines): Get local tags only.
7030         (org-agenda-use-tag-inheritance): New option.
7031         (org-agenda-finalize): When `org-agenda-use-tag-inheritance'
7032         is non-nil, possibly reset tags in the agenda buffer.
7033         (org-agenda-check-type): Enhance docstring.
7035         * org.el (org-use-tag-inheritance): Fix typo in docstring.
7037         * org-agenda.el (org-float): Don't alias `org-float'.
7039         * org.el (org-scan-tags): The skipper already checks for archived
7040         entries.
7042         * org.el (org-refresh-properties): Rename from
7043         `org-refresh-effort-properties' and use two new parameters.
7044         (org-agenda-prepare-buffers): Use `org-refresh-properties'.
7045         Also refresh the 'org-appt-warntime text property.
7047         * org-clock.el (org-clock-in): Use the renamed defun.
7049         * org-icalendar.el (org-icalendar-print-entries):
7050         Refresh the 'org-appt-warntime property.
7051         (org-icalendar-print-entries):
7052         * org-agenda.el (org-agenda-get-timestamps)
7053         (org-agenda-get-sexps, org-agenda-get-deadlines)
7054         (org-agenda-get-scheduled): Do not use `org-entry-get' to get the
7055         "APPT_WARNTIME" property value.
7057         * org.el (org-id-link-to-org-use-id): Fix compiler warning.
7059         * org-agenda.el (org-agenda-format-item): Do not use
7060         `org-get-effort' to get the effort text property.
7061         (org-agenda-get-sexps): Use `org-back-to-heading' when setting tags.
7063         * org-clock.el (org-clock-in): Refresh effort properties.
7065         * org.el (org-refresh-effort-properties): New defun.
7066         (org-get-effort): Delete.
7067         (org-set-effort):
7068         (org-property-next-allowed-value): Set the 'org-effort text property.
7069         (org-agenda-prepare-buffers): Refresh effort properties.
7071         * org.el (org-read-date): Let-bind `mouse-autoselect-window' to
7072         nil so that the mouse doesn't jump when the option is set to t globally.
7074         * org-agenda.el (org-agenda-dim-blocked-tasks): Default to nil.
7075         (org-agenda-dim-blocked-tasks): Make interactive and allow an
7076         optional parameter 'invisible to hide blocked tasks instead of
7077         just dimming them.
7078         (org-agenda-mode-map): Bind `org-agenda-dim-blocked-tasks' to "#".
7080         * org-agenda.el (org-agenda-finalize): Don't try to align tags
7081         when there are no tags.  Only try to draw the habit consistency
7082         graph when there is a habit in the buffer.  Only mark clocking
7083         task when there is one.
7085         * org.el (org-adaptive-fill-function): DTRT in `message-mode'.
7087         * org.el (org-get-priority): Save match data even when using
7088         `org-get-priority-function'.
7090         * org-mobile.el (org-mobile-create-index-file):
7091         Possibly normalize `org-todo-keywords'.
7093         * org-mobile.el (org-mobile-push): Use the correct agenda buffer names.
7095         * org.el (org-store-link): Use `org-id-link-to-org-use-id' instead
7096         of the obsolete variable name.
7098         * org.el (org-fontify-meta-lines-and-blocks-1):
7099         Fix bug when fontifying keywords with no value.
7101         * org.el (org-goto-auto-isearch): Enhance docstring.
7102         (org-goto-map): Make a defun, so that the customized value of
7103         org-goto-auto-isearch is correctly initialized.
7104         (org-goto): Initialize the keymap with `org-goto-map'.
7105         (org-get-location): Use *Org Help* as a temporary buffer.
7106         Tell whether auto-isearch is on or off.
7108         * org-exp.el (org-export-as-org): Remove useless argument.
7110         * org-docbook.el (org-export-as-docbook-batch)
7111         (org-export-region-as-docbook, org-export-as-docbook-pdf):
7112         Fix the number of arguments.
7113         (org-export-as-docbook): Remove useless argument.
7115         * org.el (org-speed-commands-default): Use ":" instead of ";" for
7116         `org-set-tags-command', which is consistent with ":" in agenda
7117         view.  Use "=" for `org-columns".
7119         * org.el (org-sparse-tree): Fix redundant information in prompt.
7121         * org-exp.el (org-export-string): Fix number of arguments passed
7122         to the org-export-as-* functions.
7124         * org-latex.el (org-export-as-latex): Fix typo in docstring.
7126         * org-list.el (org-cycle-include-plain-lists): Docstring enhancement.
7128         * org.el (org-fontify-meta-lines-and-blocks-1): Fix fontification
7129         bug when fontifying a keyword with no associated value.
7130         (org-cycle-internal-local): Don't run hooks when cycling a plain
7131         list before first headline.
7132         (org-ctrl-c-ctrl-c): Throw a user error when trying to toggle a
7133         blocked checkbox.
7134         (org-indent-line): Fix table formulas indenting.
7136         * org-agenda.el (org-agenda-open-link): Fix bug when no link is
7137         matched.  Return a message instead of an error.
7138         (org-agenda-priority): Remove useless parameter and fix showing
7139         priority in agenda buffers.
7141         * org-macs.el (org-with-buffer-modified-unmodified): New macro.
7143         * org.el (org-entry-blocked-p): Use the new macro.
7145         * org-src.el (org-edit-src-exit): Don't comma-escape the content
7146         of a fixed width region.
7148         * org.el (org-blocker-hook): Update the docstring to mention that
7149         functions in this hook should not modify the buffer.
7150         (org-trigger-hook): Small docstring fix.
7151         (org-entry-blocked-p): Use `with-buffer-modified-unmodified'
7152         so that the function never modifies the buffer.
7154         * org-agenda.el (org-agenda-open-link): Allow to open an internal
7155         link by using the new `org-offer-links-in-entry' function.
7157         * org.el (org-offer-links-in-entry): Do not open the link directly
7158         through `org-open-link-from-string', only offer to select a link
7159         and return a cons with the link (as a string) and the end of entry.
7160         (org-open-at-point): Use `org-offer-links-in-entry' correctly.
7162         * org.el (org-cycle-internal-local):
7163         Fix bug: allow headings with leading blank characters.
7165         * org-clock.el (org-clock-persist):
7166         Docstring fix: document the 'history value.
7168         * org.el (org-insert-link): Fix bug when inserting links to
7169         headlines containing the ">" character.
7171         * org-crypt.el (org-at-encrypted-entry-p): Fix search boundary.
7173         * org-compat.el (org-delete-directory): New compatibility function
7174         for Emacs 22, where `delete-directory' does not support recursive
7175         deletion.
7177         * org-odt.el (org-odt-cleanup-xml-buffers):
7178         Use the new compatibility function.
7180         * org.el (org-table-map-tables): Fix allowed blocks.
7182         * org.el (org-edit-special):
7183         * org-src.el (org-edit-src-code): Fix regression: allow editing
7184         HTML and LaTeX source blocks again.
7186         * org.el (org-nonsticky-props): Add `htmlize-link'.
7187         (org-nonsticky-props): Add `htmlize-link'.
7189         * org.el (org-edit-special):
7190         * org-src.el (org-edit-src-code): Don't edit in verbatim blocks.
7192         * org-table.el (org-table-fedit-lisp-indent)
7193         (orgtbl-self-insert-command): Use `org-delete-backward-char'
7194         instead of `backward-delete-char'.
7196         * org-src.el (org-edit-src-code): Fix another bug about editing
7197         special blocks "example" and "verbatim".
7199         * org.el (org-structure-template-alist): Add verbatim.
7200         (org-edit-special): Fix bug about editing special blocks
7201         "example" and "verbatim".
7203         * org.el (org-delete-backward-char, org-delete-char):
7204         Save match data, `delete-backward-char' and `delete-char' don't.
7206         * org.el (org-enable-table-editor, org-insert-heading)
7207         (org-remove-timestamp-with-keyword, org-self-insert-command):
7208         * org-table.el (org-table-fedit-lisp-indent)
7209         (orgtbl-self-insert-command):
7210         * org-latex.el (org-export-latex-subcontent):
7211         * org-clock.el (org-clocktable-write-default):
7212         * org-ascii.el (org-export-ascii-preprocess):
7213         Use `delete-backward-char' instead of `backward-delete-char'.
7215         * org.el (org-todo): Ignore the comment string when changing the
7216         TODO state of a headline.
7217         (org-edit-special): Fix docstring.
7218         (org-in-src-block-p): Small enhancement.
7220         * org-publish.el (org-publish-org-to): Call `org-export-as-*'
7221         functions with the correct list of arguments.
7223         * org-html.el (org-export-as-html): Delete obsolete arg `hidden'.
7224         (org-export-as-html-and-open, org-export-as-html-batch)
7225         (org-export-region-as-html): Don't use obsolete arg.
7227         * org-ascii.el (org-export-as-ascii): Delete obsolete arg `hidden'.
7228         (org-export-as-ascii-to-buffer): Don't use obsolete arg.
7230         * org.el (org-in-fixed-width-region-p): Save match data.
7231         (org-in-src-block-p): Use case-folding for searching the block
7232         boundaries.
7233         (org-activate-plain-links, org-activate-angle-links)
7234         (org-activate-bracket-links): Prevent link activation in
7235         source code blocks.
7237         * org-odt.el (org-odt-cleanup-xml-buffers): Fix Emacs Bug#13197 by
7238         setting the correct buffer before marking it unmodified to
7239         silently kill him.
7241         * org.el (org-set-font-lock-defaults): Don't activate links in
7242         source code blocks and fixed-width regions.
7244         * org-agenda.el (org-agenda-finalize): Fix links activation.
7246         * org.el (org-open-at-point): Throw the correct error on
7247         non-links.  Use `user-error' instead of `error'.
7249         * org.el (org-in-fixed-width-region-p): Define before use.
7251         * org-src.el (org-in-src-block-p): Declare function.
7253         * org-compat.el: Fix bug: don't use `eval-when-compile' when
7254         aliasing `user-error'.
7256         * org-agenda.el (org-agenda-skip): Only check if point is
7257         inside a code block, not at a code block.
7259         * org.el (org-in-fixed-width-region-p):
7260         Rewrite using org-element.el.
7262         * org.el (org-fill-paragraph): Fill correctly in source code block.
7264         * org.el (org-in-fixed-width-region-p): New function.
7265         (org-edit-special): Fix bug: make sure to DTRT in every
7266         special environment.  Also use the new function to check
7267         against fixed-width environment.
7269         * org-src.el (org-edit-src-code): Check if we are in a source code
7270         block with `org-in-src-block-p'.  Slightly reformat the docstring.
7272         * org.el (org-in-src-block-p): Return t when point is at the
7273         #+BEGIN_SRC/#+END_SRC lines unless the new optional parameter
7274         'inside is set to t.
7276         * ob-exp.el (obe-marker): Delete useless var.
7278         * org-src.el (org-edit-src-code): Fix bug triggered by the sexp
7279         (copy-marker nil) on Emacs <24.1.
7281 2013-01-09  Dmitry Antipov  <dmantipov@yandex.ru>
7283         * org-agenda.el (org-agenda-get-restriction-and-command):
7284         * org-capture.el (org-capture-place-template):
7285         * org-colview.el (org-dblock-write:columnview):
7286         * org-mobile.el (org-mobile-locate-entry):
7287         * org-table.el (org-table-convert-region):
7288         * org.el (org-update-statistics-cookies): Use `point-marker'.
7290 2013-01-09  Eric Schulte  <eric.schulte@gmx.com>
7292         * org-exp.el (org-export-string): Pass the dir option on through
7293         to any subsequent export functions.
7295 2013-01-09  Henning Weiss  <hdweiss@gmail.com>  (tiny change)
7297         * org-mobile.el (org-mobile-sumo-agenda-command): Remove match
7298         description from block agendas when they have a title.
7300 2013-01-09  Jambunathan K  <kjambunathan@gmail.com>
7302         * org-odt.el (org-export-as-odt-batch): Init `org-odt-zip-dir'.
7303         Fix Emacs Bug#13254.
7305         * org-odt.el (org-odt-format-org-link): Add check for presence of
7306         description in headline links.
7308 2013-01-09  Michael Gauland  <mike_gauland@stanfordalumni.org>  (tiny change)
7310         * org-src.el: Create a marker to pass to copy-marker.
7312 2013-01-09  Nicolas Goaziou  <n.goaziou@gmail.com>
7314         * org.el (org-setup-filling): Set `auto-fill-inhibit-regexp' to
7315         nil because `org-adaptive-fill-function' already determines which
7316         lines should be filled.
7318         * org.el (org-fill-paragraph): Small refactoring.
7320         * org-element.el (org-element--parse-elements)
7321         (org-element-at-point): Fix parsing of a list in a block in a list.
7323 2013-01-09  Sebastien Vauban  <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
7325         * org.el (org-copy-subtree, org-paste-subtree):
7326         Fix whitespace handling when copying/pasting a subtree.
7328 2012-12-20  Michael Albinus  <michael.albinus@gmx.de>
7330         * ob.el (org-babel-temp-file): Fix setting of
7331         `temporary-file-directory' on remote hosts.
7333         * ob-eval.el (org-babel-shell-command-on-region):
7334         Use `process-file' instead of `call-process-region'.  The latter one
7335         does not work on remote hosts.
7337 2012-12-13  Bastien Guerry  <bzg@gnu.org>
7339         * org-latex.el (org-export-latex-links): Escape raw path when
7340         exporting links to files.
7342         * org-src.el (org-src-native-tab-command-maybe): Fix bug: the
7343         S-TAB key should not trigger a native TAB command.
7345         * org.el (org-open-at-point): Allow to open any link within
7346         footnotes definition, not only bracket links.
7348         * org.el (org-sort-entries): Bugfix: keep track of the clock
7349         marker when sorting entries.  Enhance the docstring.
7351         * org-clock.el (org-clock-out): Use `user-error' when the user
7352         tries to clock out while there is no running clock.
7354         * org-table.el (org-table-sort-lines): Ensure coordinates are
7355         correctly displayed when sorting.
7357         * org.el (org-do-sort): Enhance prompt.
7359         * org-agenda.el (org-agenda-finalize): Also activate plain links.
7361         * org-timer.el (org-timer-stop): Add message.
7363         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
7364         Fix redundant messages.
7366         * org-agenda.el (org-agenda-finalize): Fix clock highlighting.
7368         * org.el (org-additional-option-like-keywords): Add "INDEX:".
7370         * org-install.el: Enhance warning.
7372 2012-12-13  Erik Hetzner  <egh@e6h.org>  (tiny change)
7374         * org.el (org-log-into-drawer): Honor the nil value for the
7375         :LOG_INTO_DRAWER: property.
7377 2012-12-13  Le Wang  <l26wang@gmail.com>  (tiny change)
7379         * org-src.el (org-edit-src-exit): Fix editing source section with
7380         blank lines.
7382 2012-12-13  Le Wang  <le.wang@agworld.com.au>
7384         * org-src.el (org-edit-src-code): Use marker with insertion type
7385         t to track end and remove hack requiring delete from beg to (1- end).
7387 2012-12-13  Nicolas Goaziou  <n.goaziou@gmail.com>
7389         * org-element.el (org-element-context): When point is between two
7390         objects, be sure to return the second one.
7392         * org-list.el (org-list-separating-blank-lines-number):
7393         When computing number of blank lines separating items, also count those
7394         in unparsed blocks, like example blocks.
7396         * org.el (org-end-of-line): When visual line mode is on, really
7397         move by visual lines.  Small refactoring.
7399         * org.el (org-end-of-line): On a hidden block make sure to
7400         delegate motion to `end-of-line' instead of `move-end-of-line' in
7401         order to stay on the current line.
7403 2012-12-13  Rafael Laboissiere  <rafael@laboissiere.net>  (tiny change)
7405         * org-bibtex.el: In the documentation section of the file, fix the
7406         broken URL to Andrew Roberts' document on BibTeX entries.
7408         * org-remember.el (org-remember-handler): Correctly strip the
7409         comment lines in the temporary buffer *Remember* when handling a
7410         remember note.
7412         * org-remember.el (org-remember-apply-template): Start the
7413         commented lines in the Remember temporary buffer with the
7414         appropriate characters.
7416 2012-12-13  Toby S. Cubitt  <tsc25@cantab.net>
7418         * org.el (org-beginning-of-line): Check `visual-line-mode' instead
7419         of `line-visual-mode' to determine whether to move by visual lines.
7421         * org.el (org-kill-line): Use the `org-bound-and-true-p' macro.
7423 2012-12-04  Chong Yidong  <cyd@gnu.org>
7425         * org-bibtex.el (org-bibtex-ask): Use visual-line-mode instead of
7426         longlines-mode.
7428 2012-10-26  Achim Gratz  <stromeko@stromeko.de>
7430         * ob-ditaa.el: Needs to (require 'org-compat) for
7431         org-find-library-dir.
7433         * org.el: Remove utf-8 codepoints in docstrings, bytecode doesn't
7434         work when loaded from compressed files.
7436         * org-compat.el: Make sure that file-name-directory is getting a
7437         stringp.  This avoids a possible " (wrong-type-argument stringp
7438         nil)" error when the library in question does not exist.
7440         * org-odt.el: Replace arc-mode.el by arc-mode.
7442         * org.el: Replace org-macs.el by org-macs.
7444         * org-install.el: Provide an empty file that prints a warning
7445         about an outdated configuration.
7447 2012-10-26  Bastien Guerry  <bzg@gnu.org>
7449         * org-latex.el (org-export-as-latex): Remove obsolete argument
7450         `hidden'.  Also fix the docstring: using 'string as the value
7451         for `to-buffer' outputs a string with no LaTeX header.
7452         (org-export-as-latex-batch)
7453         (org-export-as-latex-to-buffer, org-export-region-as-latex)
7454         (org-export-as-pdf): Don't use the obsoleted argument.
7456         * ob-haskell.el (org-export-as-latex): Don't use the obsoleted
7457         argument `hidden'.
7459         * org.el (org-refile): Run within `with-demoted-errors' so that a
7460         corrupted bookmark file does not stop the refile process.
7462         * org-capture.el (org-capture-bookmark-last-stored-position):
7463         Ditto for the capture process.
7465         * org-src.el (org-edit-src-exit): Fix bug when saving an empty
7466         source buffer.
7468         * org-lparse.el (org-lparse): Fix bug by returning the output
7469         of `org-do-lparse'.
7471         * org.el (org-refile-check-position): Throw an error when the
7472         refile target is the current buffer and is not a file.
7473         (org-agenda-file-to-front, org-remove-file): Throw an error
7474         when the current buffer is not a file.
7475         (org-check-agenda-file): Enhance the message.
7476         (org-element-type): Autoload.
7477         (org-element-context, org-element-paragraph-parser):
7478         Don't declare as these two functions are not used in org.el.
7480         * org-lparse.el (browse-url-file-url): Declare.
7482         * org.el (org-refile-check-position): Fix typo in docstring.
7484         * org-clock.el (org-clock-modeline-total): Make obsolete.
7485         (org-clock-mode-line-total): Rename from
7486         `org-clock-modeline-total'.
7487         (org-clock-get-sum-start): Fix references to
7488         `org-clock-modeline-total'.
7490         * org-faces.el (org-agenda-filter-tags)
7491         (org-agenda-filter-category, mode-line): Use the 'mode-line
7492         face instead of the obsolete 'modeline.
7494         * org-odt.el (org-odt-styles-dir): Try more directories.
7495         Don't throw an error, just send a message.
7497         * org-odt.el (org-odt-lib-dir, org-odt-data-dir)
7498         (org-odt-schema-dir-list, org-odt-styles-dir-list): Delete.
7499         (org-export-odt-schema-dir, org-odt-styles-dir): Infer the
7500         correct directories without requiring other variables.
7502         * org-loaddefs.el: New file.
7504         * org.el ("org-loaddefs.el"): Don't throw an error if the file
7505         cannot be fund.
7506         (org-version): Use org-loaddefs.el instead of org-install.el.
7508         * org.el: Don't dynamically autoload already autoloaded
7509         functions.
7510         (org-clock-update-time-maybe): Move to org-clock.el.
7512         * org-exp.el (org-insert-export-options-template):
7513         Remove autoload cookie.
7515         * org-clock.el (org-resolve-clocks, org-clock-in)
7516         (org-clock-out, org-clock-cancel, org-clock-goto)
7517         (org-clock-sum, org-clock-display, org-clock-report)
7518         (org-dblock-write:clocktable): Add autoload cookie.
7519         (org-clock-update-time-maybe): Move from org.el.
7521         * org-beamer.el (org-beamer-sectioning, org-beamer-mode): Ditto.
7523         * org-ascii.el (org-export-ascii-preprocess): Ditto.
7525         * org-archive.el (org-archive-subtree)
7526         (org-archive-to-archive-sibling, org-toggle-archive-tag):
7527         Add autoload cookie.
7529         * org-colview.el (org-columns, org-dblock-write:columnview)
7530         (org-insert-columns-dblock, org-agenda-columns): Ditto.
7532         * org-table.el (org-table-create-with-table.el)
7533         (org-table-create-or-convert-from-region, org-table-create)
7534         (org-table-convert-region, org-table-import)
7535         (org-table-export, org-table-align)
7536         (org-table-justify-field-maybe, org-table-next-field)
7537         (org-table-previous-field, org-table-next-row)
7538         (org-table-copy-down, org-table-field-info)
7539         (org-table-current-dline, org-table-goto-column)
7540         (org-table-insert-column, org-table-delete-column)
7541         (org-table-move-column-right, org-table-move-column-left)
7542         (org-table-move-column, org-table-move-row-down)
7543         (org-table-move-row-up, org-table-move-row)
7544         (org-table-insert-row, org-table-insert-hline)
7545         (org-table-hline-and-move, org-table-kill-row)
7546         (org-table-sort-lines, org-table-cut-region)
7547         (org-table-copy-region, org-table-paste-rectangle)
7548         (org-table-convert, org-table-wrap-region)
7549         (org-table-edit-field, org-table-sum)
7550         (org-table-get-stored-formulas)
7551         (org-table-maybe-eval-formula)
7552         (org-table-rotate-recalc-marks)
7553         (org-table-maybe-recalculate-line, org-table-eval-formula)
7554         (org-table-recalculate, org-table-iterate)
7555         (org-table-edit-formulas)
7556         (org-table-toggle-coordinate-overlays)
7557         (org-table-toggle-formula-debugger, orgtbl-to-generic)
7558         (orgtbl-to-tsv, orgtbl-to-csv, orgtbl-to-latex)
7559         (orgtbl-to-html, orgtbl-to-texinfo, orgtbl-to-orgtbl): Ditto.
7561         * org.el (turn-on-orgtbl): Move here from org-table.el.
7562         (org-clock-persistence-insinuate): Move here from org-clock.el.
7563         (org-update-all-dblocks, org-map-entries)
7564         (org-require-autoloaded-modules, org-forward-element)
7565         (org-backward-element, org-up-element)
7566         (org-element-greater-elements, org-drag-element-backward)
7567         (org-drag-element-forward, org-mark-element)
7568         (org-narrow-to-element, org-transpose-element)
7569         (org-unindent-buffer): Don't autoload.
7571         * org-clock.el (org-clock-get-clocktable): Rename from
7572         `org-get-clocktable'.
7573         (org-clock-persistence-insinuate): Move to org.el.
7575         * org-capture.el: Do no set `generated-autoload-file' locally.
7576         Minor code clean up.
7578         * org-agenda.el (org-agenda-list):
7579         Use `org-clock-get-clocktable'.  Do no set
7580         `generated-autoload-file' locally.
7582         * org-table.el (org-table-iterate-buffer-tables):
7583         Minor reformatting.
7584         (turn-on-orgtbl): Move to org.el.
7586         * org-html.el (org-export-htmlize-generate-css): Don't autoload.
7588         * org-timer.el (org-timer-pause-or-continue, org-timer-stop):
7589         Ditto.
7591         * ob-tangle.el (org-babel-tangle-lang-exts): Ditto.
7593         * ob-lob.el (org-babel-lob-ingest): Ditto.
7595         * org-id.el (org-id-copy)
7596         (org-id-get-with-outline-path-completion)
7597         (org-id-get-with-outline-drilling): Ditto.
7599         * org-lparse.el (org-lparse-and-open, org-lparse-batch)
7600         (org-lparse-to-buffer, org-replace-region-by)
7601         (org-lparse-region): Ditto.
7603         * org-mobile.el (org-mobile-create-sumo-agenda): Ditto.
7605         * org.el (org-cycle): Fix misplaced autoload cookie.
7607         * org-agenda.el (org-agenda-get-timestamps): Check if the item
7608         is an habit when formatting it with `org-agenda-format-item'.
7609         (org-agenda-get-blocks): Fix bug: don't assume the item is an
7610         habit when formatting with `org-agenda-format-item'.
7612         * org.el (org-calendar-agenda-action-key): Delete an option.
7613         (org-mode-map): Delete its keybinding.
7614         (org-agenda-action-marker, org-mark-entry-for-agenda-action):
7615         Delete.
7617         * org-agenda.el (org-agenda-diary-entry): Don't prevent from
7618         being used outside of Org agendas, as it can be used in
7619         calendar buffers too.
7621 2012-10-26  Caio Tiago Oliveira  <asrail@gmail.com>  (tiny change)
7623         * ob-scala.el (org-babel-scala-wrapper-method): Use a Scala
7624         block enclosing the submitted code.
7626 2012-10-26  Myles English  <mylesenglish@gmail.com>  (tiny change)
7628         * org-clock.el (org-clock-in): Move the call to
7629         org-clock-in-prepare-hook until the task's properties
7630         can be accessed.
7632 2012-10-26  Nicolas Goaziou  <n.goaziou@gmail.com>
7634         * org.el (org-auto-fill-function): Make sure `adaptive-fill-mode'
7635         mode is nil when pre-computed `fill-prefix' is the empty string.
7636         Otherwise filling functions from fill.el think it has to be computed
7637         again and overwrite it.
7639         * org.el: Make `org-closest-date' aware of hours repeaters.
7641         * org.el (org-end-of-line): Do not call `end-of-visual-line' when
7642         moving to the end of line.  Also improve behavior on elements that
7643         can be hidden.
7645         * org.el (org-sparse-tree): Allow to call `org-show-todo-tree'
7646         with an argument.
7648         * org-element.el (org-element--get-next-object-candidates):
7649         Fix parsing of objects of the same type in a single paragraph.
7651         * org-element.el (org-element-sub/superscript-successor):
7652         Fix parsing of sub/superscript at beginning of item.
7653         (org-element-latex-or-entity-successor): Fix parsing of latex
7654         fragments at beginning of item.
7656         * org-agenda.el (org-agenda-later): Fix function when span is
7657         a number and an argument was provided.  Also fix typo in docstring.
7659         * org.el (org-read-date-analyze): Fix analyzing for dates like
7660         "29.03 16:40".
7662         * org-element.el (org-element-center-block-parser)
7663         (org-element-drawer-parser, org-element-footnote-definition-parser)
7664         (org-element-inlinetask-parser, org-element-plain-list-parser)
7665         (org-element-quote-block-parser, org-element-special-block-parser)
7666         (org-element-babel-call-parser, org-element-clock-parser)
7667         (org-element-comment-parser, org-element-comment-block-parser)
7668         (org-element-example-block-parser, org-element-export-block-parser)
7669         (org-element-fixed-width-parser, org-element-horizontal-rule-parser)
7670         (org-element-keyword-parser, org-element-latex-environment-parser)
7671         (org-element-paragraph-parser, org-element-planning-parser)
7672         (org-element-property-drawer-parser, org-element-src-block-parser)
7673         (org-element-table-parser)
7674         (org-element-verse-block-parserorg-element-dynamic-block-parser):
7675         Make sure element never ends at the end of a blank non-empty line.
7677         * org-element.el (org-element-context)
7678         (org-element--get-next-object-candidates): Fix `org-element-context'.
7679         In particular, the restrictions for an object may be different from
7680         those of its container (i.e. table rows and table cells).
7682         * org-element.el (org-element-example-block-parser)
7683         (org-element-src-block-parser): Store value of example-blocks and
7684         src-blocks unescaped.
7685         (org-element-example-block-interpreter)
7686         (org-element-src-block-interpreter): Escape value again when storing
7687         it.
7689         * org-src.el (org-escape-code-in-string)
7690         (org-unescape-code-in-string, org-escape-code-in-region)
7691         (org-unescape-code-in-region): New functions.
7692         (org-edit-src-code, org-edit-src-exit): Use new functions.
7694         * org.el (org-strip-protective-commas): Remove function.
7696         * org-exp.el (org-export-select-backend-specific-text): Use new
7697         function.
7699         * ob.el (org-babel-parse-src-block-match)
7700         (org-babel-parse-inline-src-block-match, org-babel-insert-result):
7701         Always escape produced blocks, independently on the language of the
7702         block, if any.  Use new functions.
7704         * org-element.el (org-element-paragraph-parser): Fix regexp
7705         starting a block.
7707         * org-element.el (org-element-center-block-parser):
7708         (org-element-drawer-parser, org-element-dynamic-block-parser)
7709         (org-element-example-block-parser, org-element-export-block-parser)
7710         (org-element-latex-environment-parser, org-element-paragraph-parser)
7711         (org-element-property-drawer-parser, org-element-src-block-parser)
7712         (org-element-verse-block-parser): Use stricter regexps for boundaries
7713         of elements.
7715 2012-10-26  Toby S. Cubitt  <tsc25@cantab.net>
7717         * org-agenda.el (org-agenda-get-sexps): Reset `extra' to nil at
7718         beginning of re-search-forward loop, otherwise next iteration picks up
7719         `extra' value from previous entry.
7721 2012-09-30  Abdó Roig-Maranges  <abdo.roig@gmail.com>
7723         * org-html.el (org-export-html-preprocess)
7724         (org-export-html-format-image):
7725         Use `org-latex-preview-ltxpng-directory'.
7727         * org-odt.el (org-export-odt-do-preprocess-latex-fragments):
7728         Ditto.
7730         * org.el (org-latex-preview-ltxpng-directory): New option.
7731         (org-preview-latex-fragment): Store LaTeX preview images in
7732         `org-latex-preview-ltxpng-directory'.
7734 2012-09-30  Achim Gratz  <Stromeko@Stromeko.DE>
7736         * ob-R.el (org-babel-R-initiate-session): Protect against use of
7737         unbound variable `ess-ask-for-ess-directory´.  The default for this
7738         variable is true, so act accordingly if it is found unbound.
7740         * ob-R.el: Remove initialization with `nil´ from
7741         `ess-ask-for-ess-directory´ and `ess-local-process-name´.
7742         Remove second declaration for `ess-local-process-name´.
7744         * org-gnus.el: Add a missing require for gnus-util.
7746         * org-compat.el: Rename utils to make throughout.
7748         * org.el: Move check for outline-mode-keymap after (require
7749         'outline).
7751         * org-element.el: New file.  Do not (require 'org).
7753         * org-agenda.el: Remove duplicate requires.
7755         * org.el (org-mode-map): Add keybindings to
7756         `org-element-transpose' and `org-narrow-to-element'.
7757         (org-metaup): Fall back on `org-element-drag-backward'.
7758         (org-metadown): Fall back on `org-element-drag-forward'.
7759         Also move chunks of declarations and require statements to get rid of
7760         compiler warnings.
7762         * org-exp-blocks.el (org): Don't require org.  Add declarations.
7764         * org-clock.el (org): Don't require org.
7766         * ob-exp.el (org-list-forbidden-blocks): Add declarations.
7768         * ob.el (org-babel-exeext): New defconst to hold extension for
7769         executables or nil if none.  Should be ".exe" for both Windows and
7770         Cygwin.
7772         * ob-C.el (org-babel-C-execute): Use org-babel-exeext when
7773         constructing the target file name for the compiled executable.
7775         * ob-fortran.el (org-babel-execute:fortran): Add org-babel-exeext
7776         when constructing the target file name for the compiled
7777         executable.
7779         * org-version.el: New file.
7781         * org-compat.el (org-check-version): New macro.  Check if
7782         org-version.el exists and provide autoloads to that.  Otherwise
7783         check if org-fixup.el exists and use it to provide definitions.
7784         Finally if nothing worked, complain about a botched installation
7785         and provide fallback definitions.
7787         * org.el: Use org-check-version.
7789         * org.el: Fix a subtle error resulting in version functions
7790         sometimes not being defined and byte-compiling failing.
7791         Always compile in fallback definitions into org.elc -- org-fixup either
7792         provides re-definitions at compile-time or checks org-version.el
7793         and then the git work tree when run uncompiled.  So the fallback
7794         definitions will only come into effect when org-fixup is not
7795         available.
7797         * org.el (org-version): Make org-version more robust, e.g. when
7798         byte-compiling single files with 'make compile-dirty'.
7800         * org.el (org-reload): Revert an undesirable change in org-reload.
7801         Do not prepend org-dir to babel-files, which prevents the files
7802         from being found in load-path.
7804         * org.el (org-version): Add optional parameters 'full and 'message
7805         to optionally return the full version string and echo to message
7806         area in non-interactive calls.
7808         * org.el (org-submit-bug-report): Add optional parameter 'full to
7809         call of (org-version) so that the bug report has all version
7810         information.
7812         * org.el (org-reload): Simplify file-re (orgtbl-*.el files do not
7813         exist anymore).  Keep org-*.el at the end of the files list.
7814         Explicitly load org-version.el (since it doesn't provide feature
7815         'org-version) at the very end, but ignore errors when it doesn't
7816         exist.  Add parameters 'full and 'message to the call of
7817         (org-version) so that after reload the full version information is
7818         displayed in the message area again.
7820         * org-agenda.el: Replace with-no-warnings with org-no-warnings
7821         (defined in org-macs.el).
7823         * org-bbdb.el: Replace with-no-warnings with org-no-warnings
7824         (defined in org-macs.el).
7826         * org-clock.el: Replace with-no-warnings with org-no-warnings
7827         (defined in org-macs.el).
7829         * org.el: Replace with-no-warnings with org-no-warnings (defined
7830         in org-macs.el).
7832         * org.el: Add with-not-warnings around call of (org-fixup).
7834         * org-compat.el (org-find-library-dir):
7835         Rename org-find-library-name (misleading) and implement with a function
7836         that exists identically in Emacs/XEmacs.
7838         * org-exp-blocks.el: Change calls to org-find-library-dir.
7840         * org.el: change calls to org-find-library-dir.  Make require for
7841         noutline fail silently because it is missing from XEmacs.
7843         * org.el (org-version): Use functions instead of global variables
7844         to get the version strings and remove the defvaralias to
7845         org-version.  Warn when encountering a mixed installation (org and
7846         org-install.el should be found in the same directory).
7848         * org.el: Add with-no-warning to defvar for two unprefixed global
7849         variables from calendar.el (there's nothing else we can do inside
7850         org until it is fixed in calendar.el).
7852         * org.el: Require find-func and remove declare-function for
7853         find-library-name, otherwise autoloaded org-version doesn't show
7854         all info correctly.
7856         * org.el (org-version): Show the full path to org-install.el in
7857         the version string to avoid confusion if multiple installations
7858         exist or a previously loaded org-install.el has already defined a
7859         version string that is now out of date.
7861         * org.el (org-version): Remove determination of version
7862         information, show "N/A" if the information is not provided via
7863         org-install.el.
7865         * org.el (org-git-version): Placeholder for recording the Git
7866         version of org during install
7868         * org.el (org-version): Initialize local git-version with
7869         placeholder and fall through using it when org is not installed in
7870         a Git repository
7872 2012-09-30  Adam Spiers  <orgmode@adamspiers.org>  (tiny change)
7874         * org-html.el: Add hyperlink to http://orgmode.org/ from export
7875         footer.
7877         * org-clock.el (org-clock-modify-effort-estimate): Display a
7878         message when no clock is currently active.
7880 2012-09-30  Andrew Hyatt  <ahyatt@gmail.com>  (tiny change)
7882         * org-archive.el (org-archive-subtree): Allow archiving to a
7883         datetree.
7885         * org.el (org-archive-location): Ditto.
7887 2012-09-30  Bastien Guerry  <bzg@gnu.org>
7889         * ob-io.el: New file.
7891         * ob-scala.el: New file.
7893         * org.el (org-url-hexify-p, org-doi-server-url)
7894         (org-latex-preview-ltxpng-directory, org-custom-properties)
7895         (org-sparse-tree-default-date-type): Add :version "24.3".
7897         * org-agenda.el (org-agenda-sticky)
7898         (org-agenda-custom-commands-contexts): Ditto.
7900         * org-capture.el (org-capture-bookmark)
7901         (org-capture-templates-contexts) (org-capture-use-agenda-date):
7902         Ditto.
7904         * org-latex.el (org-export-latex-hyperref-options-format)
7905         (org-export-latex-link-with-unknown-path-format): Ditto.
7907         * org-id.el (org-id-link-to-org-use-id): Ditto.
7909         * org-datetree.el (org-datetree-add-timestamp): Ditto.
7911         * org.el (org-make-link-description-function): Enhance docstring.
7912         (org-insert-link): Fall back on interactive prompt when
7913         `org-make-link-description-function' fails.
7915         * org-agenda.el (org-todo-list): Fix redoing of todo agenda when
7916         `org-agenda-sticky' is non-nil.
7918         * org-agenda.el (org-agenda-quit): Delete last indirect buffer.
7919         (org-agenda-pre-follow-window-conf): New variable.
7920         (org-agenda-tree-to-indirect-buffer): Fix bug: don't split agenda
7921         window when there an indirect buffer is already displayed.
7923         * org-agenda.el (org-agenda-manipulate-query)
7924         (org-agenda-goto-date, org-agenda-goto-today)
7925         (org-agenda-find-same-or-today-or-agenda, )
7926         (org-agenda-later, org-agenda-change-time-span)
7927         (org-agenda-change-all-lines)
7928         (org-agenda-execute-calendar-command)
7929         (org-agenda-goto-calendar, org-agenda-convert-date): Make sure to
7930         get a property from (1- (point-max)), not (point-max)).
7932         * ob-dot.el (org-babel-execute:dot): Throw an error when there is
7933         no :file parameter.
7935         * org-table.el (org-table-eval-formula): Convert time-stamps to
7936         inactive time-stamp so that Calc can handle them correctly.
7938         * org-table.el (org-table-fix-formulas): Warn with a message when
7939         formulas have been updated.
7941         * org-publish.el (org-publish-cache-ctime-of-src): Delete the
7942         base-dir argument and use (file-name-directory file) to get the
7943         file's directory.
7944         (org-publish-update-timestamp)
7945         (org-publish-cache-file-needs-publishing):
7946         Call `org-publish-cache-ctime-of-src' with only one argument.
7948         * org.el (org-follow-timestamp-link): Fix bug when using sticky
7949         agenda.  Add a docstring.
7951         * org-agenda.el (org-agenda-sticky): Don't use a function to set.
7952         Add a :version string.
7954         * org.el (org-priority): Use a new argument to show priority
7955         instead of setting it.
7956         (org-show-priority): New function to show priority both in normal
7957         Org buffers and in Org Agenda buffers.
7958         (org-speed-commands-default): Use "," as a speed command for
7959         setting priority.
7961         * org-agenda.el (org-agenda-mode-map): Bind `org-agenda-priority'
7962         to `C-c ,' as it was before.
7963         (org-agenda-show-priority): Delete.
7964         (org-agenda-priority): Use a new argument to show priority instead
7965         of setting it.
7967         * org.el (org-font-lock-hook, org-set-font-lock-defaults): Add a
7968         docstring.
7969         (org-display-inline-remove-overlay): Rename from
7970         `org-display-inline-modification-hook'.
7971         (org-speed-command-activate): Rename from
7972         `org-speed-command-default-hook'.
7973         (org-babel-speed-command-hook): Rename from
7974         `org-babel-speed-command-activate'.
7976         * org-agenda.el (org-agenda-update-agenda-type): Rename from
7977         `org-agenda-post-command-hook'.
7978         (org-agenda-mode): Use the new name.
7979         (org-agenda-post-command-hook): Define as obsolete function.
7981         * org-lparse.el (org-lparse): Temporarily activate the hooks
7982         needed for the ODT conversion.
7983         (org-lparse-preprocess-after-blockquote): Rename from
7984         `org-lparse-preprocess-after-blockquote-hook'.
7985         (org-lparse-strip-experimental-blocks-maybe): Rename from
7986         `org-lparse-strip-experimental-blocks-maybe'.
7987         (org-lparse-preprocess-after-blockquote-hook)
7988         (org-lparse-strip-experimental-blocks-maybe-hook): Define as
7989         obsolete functions.
7991         * ob.el (org-babel-insert-result): Comma-escape results inserted
7992         with ":results org".
7994         * org-src.el (org-edit-src-code, org-edit-src-exit): Fix bug about
7995         saving the source editing window with the default value for
7996         `org-src-window-setup' (i.e. 'reorganize-frame).
7998         * org-src.el (org-src-font-lock-fontify-block): Fix bug: don't
7999         fontify the last character.
8001         * org.el (org-open-at-point): Don't follow timestamp within
8002         bracket links.
8004         * org-capture.el (org-capture-templates): Fix typo in docstring.
8006         * org-agenda.el (org-agenda-skip): Skip information retrieved from
8007         a source block.
8009         * ob.el (org-babel-common-header-args-w-values)
8010         (org-babel-insert-result): Reintroduce ":results org" but using
8011         "#+BEGIN_SRC org", not "#+BEGIN_ORG".
8013         * ob.el (org-babel-common-header-args-w-values): Remove "org" the
8014         list of predefined values for the ":results" parameter.
8016         * ob.el (org-babel-insert-result): Remove support for ":results
8017         org".
8019         * ob.el (org-babel-common-header-args-w-values)
8020         (org-babel-insert-result): Deprecate ":results wrap" in favor of
8021         ":results drawer".
8023         * org-crypt.el (org-at-encrypted-entry-p): Fix bug when the check
8024         happens before the first headline.
8026         * org-capture.el (org-at-encrypted-entry-p)
8027         (org-encrypt-entry, org-decrypt-entry): Declare.
8028         (org-capture-set-target-location): Check whether `org-crypt' has
8029         been loaded.
8031         * org-agenda.el (org-agenda-todo-custom-ignore-p): Fix typo in
8032         docstring.
8034         * org-capture.el (org-capture-finalize): Maybe re-encrypt the
8035         target headline if it was decrypted.
8036         (org-capture-set-target-location): Maybe decrypt the target
8037         headline.
8039         * org-crypt.el (org-at-encrypted-entry-p): New function.
8041         * org.el (org-options-keywords): Add "STYLE:".
8043         * org-agenda.el (org-agenda-ndays): Don't make an alias, as
8044         `org-agenda-span' is defined separately.
8046         * org.el (org-in-subtree-not-table-p): New utility function for
8047         building the menu.
8048         (org-org-menu): Add an item for refiling.  Check more contexts
8049         when activating items.
8050         (org-tree-to-indirect-buffer): Use `org-up-heading-safe'.
8052         * org-agenda.el (org-agenda-tree-to-indirect-buffer)
8053         (org-agenda-do-tree-to-indirect-buffer): Use argument `arg'.
8055         * org-capture.el (org-capture-set-target-location): Set a correct
8056         time value when storing a note in a datetree and prompting the
8057         user for a date.
8059         * org-capture.el (org-capture-mode): Fix bug: don't run the mode's
8060         hook twice.
8062         * org-agenda.el (org-agenda-menu-two-column)
8063         (org-finalize-agenda-hook, org-agenda-ndays):
8064         Use `define-obsolete-variable-alias' instead of
8065         `make-obsolete-variable'.
8067         * org.el (org-link-to-org-use-id): Move to org-id.el.
8069         * org-id.el (org-id-link-to-org-use-id): Rename from
8070         `org-link-to-org-use-id'.  Use `nil' as the default value.
8071         (org-link-to-org-use-id): Alias and define as obsolete.
8073         * org-agenda.el (org-search-view, org-agenda-get-todos)
8074         (org-agenda-get-timestamps, org-agenda-get-blocks): Use the dotime
8075         parameter of `org-agenda-format-item' so that 'time-up and
8076         'time-down agenda sorting strategies are handled correctly.
8078         * org-capture.el (org-capture-fill-template): Fix checking of
8079         protected template entries.
8081         * org.el (org-cycle-global-at-bob): Fix typo in docstring.
8083         * org.el (org-insert-drawer): Deactivate the mark before trying to
8084         indent the :END: of the drawer.
8086         * org-agenda.el (org-agenda-export-html-style): Default to nil as
8087         any string value will replace the htmlize style.
8089         * org.el (org-cycle-hook): Fix tiny typo in docstring.
8091         * org.el (org-time-string-to-time)
8092         (org-time-string-to-seconds, org-end-of-subtree): Add a dosctring.
8094         * org-freemind.el (org-freemind-write-node): Enhance links
8095         conversion in nodes.
8097         * org-freemind.el (org-freemind-write-node): Convert links in
8098         nodes.
8100         * org.el (org-link-to-org-use-id, org-directory)
8101         (org-default-notes-file, org-reverse-note-order)
8102         (org-extend-today-until, org-finish-function)
8103         (org-store-link-functions): Use "capture" instead of "remember" in
8104         docstrings.  Also use the `org-capture' group when it makes sense.
8106         * org-agenda.el (org-agenda-tree-to-indirect-buffer): Find the
8107         correct agenda buffer.  Don't split the agenda window when the
8108         indirect buffer is displayed in another frame.
8110         * org.el (org-mode): Try to set the org-hide face correctly.
8112         * org-exp.el (org-export): Set the mark correctly when exporting a
8113         subtree.
8115         * org-agenda.el (org-agenda-get-restriction-and-command): Fix the
8116         display of the number of commands for block agendas.
8118         * org-agenda.el (org-agenda-before-write-hook)
8119         (org-agenda-add-entry-text-maxlines): Enhance phrasing.
8120         (org-agenda-finalize-hook, org-agenda-mode-hook): Tell that the
8121         buffer is writable when the hook is called.
8122         (org-agenda-finalize): Allow org-agenda-finalize-hook to modify
8123         the buffer.
8125         * org-agenda.el (org-habit-show-all-today): Only use defvar to
8126         silent the byte-compiler.
8127         (org-agenda-get-scheduled): Check whether some org-habit.el
8128         options have been defined.
8130         * org-capture.el (org-capture-entry): New variable.
8131         (org-capture-string, org-capture): Use it to possibly skip the
8132         interactive prompt for a capture template.
8134         * org.el (org-activate-plain-links): Don't try to check if we are
8135         in a bracket link already.
8137         * org.el (org-read-date-analyze): Fix bug introduced in commit
8138         cc5f9f: adding a time should not prevent relative answers to be
8139         parsed correctly.
8141         * org-agenda.el (org-agenda-bulk-action): Always read the date
8142         through `org-read-date'.  When possible, use the date at point as
8143         the default date.
8145         * org-agenda.el (org-agenda-bulk-action): Fix bug when
8146         bulk-shifting timestamps.
8148         * org.el (org-version): New constant.
8150         * org-compat.el (org-random): New compatibility function.
8152         * org-id.el (org-id-uuid): Use it.
8154         * org-capture.el (org-capture-use-agenda-date): New option.
8155         (org-capture): Use it.
8157         * org-agenda.el (org-agenda-capture): New command.
8158         (org-agenda-mode-map): Bind it to `k'.
8159         (org-agenda-menu): Add it to the menu.
8161         * org-capture.el (org-capture): Update docstring.
8163         * org-capture.el (org-capture): When called from an agenda buffer,
8164         use the cursor date at the default date.
8166         * org-agenda.el (org-agenda-bulk-action): Use the let-bound
8167         `entries' instead the variable.
8169         * org-agenda.el (org-agenda-bulk-action): Fix bug: don't remove
8170         persistent marks too early.
8172         * org-agenda.el (org-agenda-bulk-action): Possibly use the day at
8173         point to reset the scheduled or deadline cookie.  On date headers,
8174         use it without prompting the user.  On an item, use the item's
8175         date as the default prompt for `org-read-date'.
8177         * org.el (org-read-date): Docstring fix.
8179         * org-agenda.el (org-agenda-bulk-action): Reorder possible actions
8180         in the message.
8182         * org-agenda.el (org-agenda-action, org-agenda-do-action): Delete.
8183         (org-agenda-mode-map): Delete related keys.
8185         * org-agenda.el (org-agenda-menu): Fix a keybinding.
8187         * org-colview.el (org-columns-goto-top-level): Correctly move the
8188         marker `org-columns-top-level-marker'.
8189         (org-agenda-columns): Don't set
8190         `org-agenda-overriding-columns-format' as a buffer variable, as we
8191         only need it dynamically.
8192         (org-agenda-colview-summarize): Fix a bug in returning the match
8193         string.
8195         * org-agenda.el (org-agenda-span-to-ndays): Make the second
8196         argument `starting-day' optional.
8197         (org-agenda-goto-date): Keep parameters of custom agendas.
8199         * org-agenda.el (org-agenda-list): Allow setting the agenda buffer
8200         name through a temporary variable.
8201         (org-agenda-buffer-tmp-name): New variable to temporary store the
8202         agenda buffer name.
8204         * org-agenda.el (org-agenda-goto-date): Fix behavior when using
8205         sticky agendas.
8207         * org-agenda.el (org-diary): Don't check whether there is an
8208         agenda buffer when trying to compile the prefix format.
8209         (org-compile-prefix-format): Check if there is an agenda buffer.
8210         If not, use the current buffer.
8212         * org-agenda.el (org-agenda-get-day-entries): Set the agenda
8213         buffer inconditionnally.
8215         * ob.el (org-babel-named-src-block-regexp-for-name): Generate a
8216         more general regexp.
8218         * ob.el (org-babel-where-is-src-block-head): Find a src block head
8219         correctly when #+header(s) is before #+name.
8221         * org-agenda.el (org-agenda-finalize-hook)
8222         (org-agenda-finalize, org-agenda-finalize-entries): Rename from
8223         org-finalize-agenda-*.
8224         (org-agenda-run-series, org-agenda-finalize, org-timeline)
8225         (org-agenda-list, org-search-view, org-todo-list)
8226         (org-tags-view, org-diary, org-agenda-finalize-entries)
8227         (org-agenda-change-all-lines): Use the new names.
8229         * org-agenda.el (org-agenda-local-vars):
8230         Remove ̀org-agenda-last-arguments' from the list of local variables.
8231         (org-agenda-mode-map): `g' does the same than `r' in buffers with
8232         only one agenda view, but its behavior differs when there are
8233         several views.  In manually appended agendas (with `A'), `g'
8234         displays only the agenda under the point.  With multiple agenda
8235         blocks, `g' reinitializes the view by discarding any temporary
8236         changes (e.g. with ̀f' or `w'), while ̀r' keeps those temporary
8237         changes for the agenda view under the point.
8238         (org-agenda-run-series, org-agenda-redo): Implement the above
8239         changes.
8240         (org-agenda-mark-header-line): Don't set useless properties.
8241         (org-agenda-list, org-todo-only, org-search-view)
8242         (org-todo-list, org-tags-view, org-agenda-list-stuck-projects)
8243         (org-agenda-manipulate-query, org-agenda-goto-today)
8244         (org-agenda-later, org-agenda-change-time-span): Use text
8245         properties for storing the last command and the last arguments for
8246         each agenda block.
8247         (org-unhighlight-once): Delete.
8249         * org-agenda.el (org-agenda-append-agenda): Fit agenda window to
8250         buffer.
8252         * org-agenda.el (org-agenda-append-agenda): Bugfix: correctly
8253         check whether we are in org-agenda-mode.
8255         * org-agenda.el (org-agenda-pre-window-conf): Rename from
8256         `org-pre-agenda-window-conf'.
8257         (org-agenda-local-vars, org-agenda-prepare-window)
8258         (org-agenda-Quit, org-agenda-quit): Use the new name.
8260         * org-agenda.el (org-keys, org-match): New variable, dynamically
8261         scoped in `org-agenda'.
8262         (org-agenda, org-agenda-list, org-search-view, org-todo-list)
8263         (org-tags-view): Use the new variables.
8264         (org-batch-store-agenda-views): Let-bind `match'.
8266         * org-agenda.el (org-search-view, org-todo-list)
8267         (org-tags-view): Do not let `org-agenda-sticky' prevent the use of
8268         these functions programmatically.  Also use the sticky agenda
8269         function correctly.
8271         * org-agenda.el (org-agenda): Set `org-agenda-buffer-name'
8272         correctly with sticky agendas and non-custom commands.
8274         * org-agenda.el (org-agenda-fit-window-to-buffer): Rename from
8275         `org-fit-agenda-window'.
8276         (org-agenda-run-series, org-agenda-prepare, org-agenda-list)
8277         (org-search-view, org-todo-list, org-tags-view): Use the new name.
8279         * org-agenda.el (org-agenda-prepare): Let `throw' display an
8280         error.
8282         * org-agenda.el (org-agenda-list): Fix bug: don't throw an error
8283         when called from programs as (org-agenda-list).
8285         * org-agenda.el (org-todo-list): Make arg optional.
8287         * org.el (org-agenda-prepare-buffers): Rename from
8288         `org-prepare-agenda-buffers'.
8289         (org-match-sparse-tree, org-map-entries): Use the new names.
8291         * org-agenda.el (org-agenda-prepare-window): Rename from
8292         `org-prepare-agenda-window'.
8293         (org-agenda-prepare): Rename from `org-prepare-agenda'.
8294         (org-agenda-run-series, org-agenda-prepare, org-timeline)
8295         (org-agenda-list, org-search-view, org-todo-list)
8296         (org-tags-view, org-agenda-list-stuck-projects, org-diary)
8297         (org-agenda-to-appt): Use the new names.
8299         * org-mobile.el (org-mobile-create-index-file): Ditto.
8301         * org-icalendar.el (org-export-icalendar): Ditto.
8303         * org-clock.el (org-dblock-write:clocktable)
8304         (org-dblock-write:clocktable): Ditto.
8306         * org-agenda.el (org-agenda): In sticky agendas, use the current
8307         command's match to set the buffer name.  This gives more
8308         information to the user and allows to distinguish various agendas
8309         triggered by the same key.
8310         (org-batch-store-agenda-views): Handle the new sticky agenda
8311         buffer name.
8313         * org-agenda.el (org-agenda)
8314         (org-agenda-get-restriction-and-command): Use `S' as a key for
8315         searching words in TODO-only entries.
8317         * org-agenda.el (org-prepare-agenda): Fit agenda window when
8318         displaying a sticky agenda.
8320         * org-table.el (org-table-number-regexp): Allow the user to set it
8321         to a new regexp, which allows commas as decimal mark.  The default
8322         is to not use this setting, but the one before commit 7ff8c1,
8323         which has ben reverted.
8325         * org-agenda.el (org-agenda-overriding-cmd)
8326         (org-agenda-multi-current-cmd)
8327         (org-agenda-multi-overriding-arguments): New variables.
8328         (org-agenda-run-series): `org-agenda-overriding-arguments'
8329         defaults to the last agenda block arguments, so don't use it
8330         globally.
8331         (org-agenda-mark-header-line): Add properties needed so that
8332         `org-agenda-overriding-arguments', `org-agenda-current-span' and
8333         `org-agenda-last-arguments' can be set to their correct contextual
8334         value.
8335         (org-agenda-multi-back-to-pos): New variable.
8336         (org-agenda-later): Retrieve `org-agenda-current-span' and
8337         `org-agenda-overriding-arguments' from text properties.
8338         Also handle numeric span.
8339         (org-agenda-later, org-agenda-change-time-span):
8340         Set `org-agenda-overriding-cmd' so that we to take overriding
8341         arguments into account for this command only.
8343         * org-agenda.el (org-agenda-kill, org-agenda-archive-with):
8344         Fix bug when called with a non-nil value of `org-agenda-stick'.
8346         * org-agenda.el (org-agenda-refile): Fix bug when refiling an
8347         entry from a sticky agenda.
8349         * org-agenda.el (org-prepare-agenda-window):
8350         Use `org-pre-agenda-window-conf' if already set.
8351         (org-agenda-Quit): Set `org-pre-agenda-window-conf' to nil when
8352         quitting.
8353         (org-agenda-quit): Ditto.
8355         * org-capture.el (org-capture-fill-template): Protect the text
8356         used for replacement from being further replaced.
8358         * org.el (org-contextualize-validate-key): Fix the check against a
8359         function.
8361         * org.el (org-contextualize-keys): Rename from
8362         `org-contextualize-agenda-or-capture'.  Fix normalization to
8363         handle empty key replacement string.
8364         (org-contextualize-validate-key): Rename from
8365         `org-contexts-validate'.  Allow checking against a custom
8366         function.
8368         * org-agenda.el (org-agenda-custom-commands-contexts): Update.
8369         (org-agenda): Use `org-contextualize-keys'.
8371         * org-capture.el (org-capture-templates-contexts): Ditto.
8373         * org.el (org-contextualize-agenda-or-capture):
8374         Normalize contexts.
8376         * org.el (org-contextualize-agenda-or-capture): Handle key
8377         replacement depending on the contexts.
8379         * org-capture.el (org-capture-templates-contexts): Allow to use
8380         the context as a way to replace one capture template by another
8381         one.
8383         * org-agenda.el (org-agenda-custom-commands-contexts): Allow to
8384         use the context as a way to replace one agenda custom command by
8385         another one.
8387         * org.el (org-contextualize-agenda-or-capture)
8388         (org-rule-validate): New functions, implement context filtering
8389         for agenda commands and capture templates.
8391         * org-agenda.el (org-agenda-custom-commands-contexts): New option.
8392         (org-agenda): Use it.
8394         * org-capture.el (org-capture-templates-contexts): New option.
8395         (org-capture-select-template): Use it.
8397         * org.el (org-beginning-of-defun, org-end-of-defun): Delete.
8398         (org-mode): Set `beginning-of-defun-function' and
8399         `end-of-defun-function' directly.
8401         * org.el (org-insert-link): Fix bug: include links abbreviations
8402         when completing.
8404         * org-icalendar.el (org-icalendar-print-entries): Fix bug: when
8405         `org-icalendar-use-plain-timestamp' is nil, scheduled and deadline
8406         items should not be ignored.
8408         * org.el (org-ds-keyword-length, org-make-tags-matcher):
8409         Docstring clean-up.
8411         * org-freemind.el (org-freemind-convert-links-from-org): Replace
8412         literally to prevent errors when replacing with string containing
8413         backslashes.
8415         * org-pcomplete.el (org-thing-at-point): Allow to match (and then
8416         complete) a "thing" containing dashes.
8418         * org-table.el (org-table-toggle-coordinate-overlays):
8419         Better message when interactively toggling.
8421         * org-table.el (org-table-number-regexp): Update the docstring to
8422         show an example of a decimal number using the comma as a
8423         separation mark.
8425         * org-agenda.el (org-prepare-agenda): Minor code clean-up.
8426         (org-agenda-filter-by-category): Filtering must be turned off only
8427         when a category filter has been set and this filter is not empty.
8429         * org-agenda.el (org-search-view, org-agenda-get-todos)
8430         (org-agenda-get-timestamps, org-agenda-get-sexps)
8431         (org-agenda-get-progress, org-agenda-get-deadlines)
8432         (org-agenda-get-scheduled, org-agenda-get-blocks):
8433         Use `category-pos' instead of `org-category-pos'.
8435         * ob-fortran.el (org-babel-fortran-transform-list): Rename from
8436         `ob-fortran-transform-list'.
8437         (org-babel-fortran-var-to-fortran): Use the new function's name.
8439         * ob-calc.el (org-babel-calc-maybe-resolve-var): Rename from
8440         `ob-calc-maybe-resolve-var'.
8441         (org-babel-execute:calc): Use the new function's name.
8443         * org-jsinfo.el (org-infojs-template): Add a license.
8444         (org-infojs-handle-options): Replace all template elements.
8446         * org-html.el (org-export-html-scripts): Add a license.
8447         (org-export-html-mathjax-config): Replace all template elements.
8448         (org-export-html-mathjax-template): Add a license.
8449         (org-export-as-html): Minor code clean-up.
8451         * org.el (org-options-keywords): Add "#+MATHJAX" and
8452         "#+INFOJS_OPT" to the list of keywords for completion.
8454         * org.el (org-src-prevent-auto-filling): Remove unused and useless
8455         option.
8457         * org.el (org-element-at-point): Autoload.
8458         (org-element-up): Remove useless declaration.
8459         (org-fill-context-prefix, org-fill-paragraph)
8460         (org-mark-element, org-narrow-to-element)
8461         (org-transpose-element, org-unindent-buffer): Do not require
8462         org-element.
8464         * org.el (org-fill-paragraph): Require org-element.
8466         * org-agenda.el (org-agenda-persistent-marks): Minor docstring
8467         enhancement.
8469         * org.el (org-create-math-formula): Use the compatibility function
8470         `org-region-active-p'.
8472         * org-odt.el (org-export-as-odf): Ditto.
8474         * ob.el (org-babel-demarcate-block): Ditto.
8476         * org.el (org-mark-subtree): Maybe call `org-mark-element'
8477         interactively.
8478         (org-mark-element): Only mark further elements when called
8479         interactively.
8481         * org.el (org-mark-element, org-narrow-to-element)
8482         (org-transpose-element): Require org-element.
8484         * org-agenda.el (org-agenda-get-timestamps)
8485         (org-agenda-get-sexps, org-agenda-get-deadlines)
8486         (org-agenda-get-scheduled): Add the 'warntime as a text property,
8487         getting its value from the APPT_WARNTIME property.
8488         (org-agenda-to-appt): Use the 'warntime text property.
8490         * org-capture.el (org-capture-place-table-line): Fix bug.
8492         * org.el (org-activate-plain-links): Don't activate a plain link
8493         when it is part of a bracketed link, unless bracketed links are
8494         not enlisted in `org-activate-links'.
8495         (org-open-at-point): Don't consider the text immediately after a
8496         bracketed link is part of a plain link.
8498         * org.el (org-compute-latex-and-specials-regexp)
8499         (org-paste-subtree, org-sort-entries, org-store-link)
8500         (org-open-at-point, org-file-remote-p, org-add-log-setup)
8501         (org-set-tags-to, org-fast-tag-selection)
8502         (org-diary-sexp-entry): Ditto.
8504         * org-agenda.el (org-agenda-get-blocks, org-cmp-priority)
8505         (org-cmp-effort, org-cmp-todo-state, org-cmp-alpha)
8506         (org-cmp-tag, org-cmp-time): Remove useless (t nil) sexps at the
8507         end of (cond ...) constructs.
8509         * org-mobile.el (org-mobile-create-index-file): Ditto.
8511         * org-lparse.el (org-lparse-format-table-row): Ditto.
8513         * org-list.el (org-sort-list): Ditto.
8515         * org-id.el (org-id-get): Ditto.
8517         * org-html.el (org-export-html-preprocess): Ditto.
8519         * org-exp.el (org-default-export-plist)
8520         (org-table-clean-before-export): Ditto.
8522         * org.el (org-options-keywords): Add "TODO".
8523         (org-make-options-regexp): Make the hashtag mandatory for options
8524         and don't allow whitespaces between the hashtag and the plus sign.
8526         * org.el (org-refresh-category-properties)
8527         (org-find-dblock, org-dblock-start-re, org-dblock-end-re):
8528         Allow lowercase "#+category" and "#+begin:" dynamic blocks.
8530         * org.el (org-context): Use case-folding when trying to match
8531         clocktables and source blocks contexts.
8533         * org-clock.el (org-clock-put-overlay): Put the overlay on the
8534         whole headline, not only on the last character.  This fixes a bug
8535         with overlays on headlines ending with a bracketed link.
8537         * org-html.el (org-export-as-html): Make sure we always process a
8538         string.
8540         * org-exp.el (org-export-cleanup-toc-line): Always return a
8541         string.
8543         * org.el (org-fontify-meta-lines-and-blocks-1): Correctly handle
8544         metalines with #+results[...]:.
8546         * org-exp.el (org-export-handle-metalines): Rename from
8547         `org-export-handle-table-metalines'.  Now also handle source block
8548         metalines.
8549         (org-export-res/src-name-cleanup): Delete.
8550         (org-export-preprocess-string): Use `org-export-handle-metalines'.
8551         Don't use `org-export-res/src-name-cleanup' anymore.
8553         * org-html.el (org-format-org-table-html): Don't include the
8554         caption tag for empty captions in HTML export.  Keep it in the
8555         DocBook export so that it produces valid DocBook XML.
8557         * org.el (org-read-date-analyze): Allow both "8am Wed" and "Wed
8558         8am" to be parsed correctly with respect to possible values of
8559         `org-read-date-prefer-future'.
8560         (org-read-date-prefer-future): Update docstring to remove the
8561         restriction about inserting only the time.  The user can now
8562         insert the time and the day.
8564         * org-icalendar.el (org-icalendar-print-entries): Rename from
8565         `org-print-icalendar-entries'.
8566         (org-icalendar-start-file): Rename from
8567         `org-start-icalendar-file'.
8568         (org-icalendar-finish-file): Rename from
8569         `org-finish-icalendar-file'.
8570         (org-icalendar-ts-to-string): Rename from `org-ical-ts-to-string'.
8571         (org-export-icalendar): Use the correct functions.
8573         * ob-ref.el (org-babel-ref-index-list): Fix bug introduced by
8574         commit e85479.
8576         * org.el (org-fill-context-prefix): Require org-element.
8577         (org-timestamp-change): Fix bug by saving excursion when adjusting
8578         another clock.
8580         * org.el (org-read-date-prefer-future): Fix docstring formatting.
8581         (org-read-date-analyze): Fix the interpretation of
8582         `org-read-date-prefer-future'.
8584         * org-agenda.el (org-agenda-menu-two-column): Rename to
8585         `org-agenda-menu-two-columns'.
8587         * ob.el (org-babel-sha1-hash, org-babel-noweb-p):
8588         Replace `org-labels' by `let*'.
8590         * org-bibtex.el (org-bibtex-headline): Ditto.
8592         * org-compat.el: Delete `org-labels'.
8594         * ob.el (org-babel-get-src-block-info)
8595         (org-babel-check-src-block, org-babel-current-result-hash)
8596         (org-babel-parse-src-block-match, org-babel-read-link)
8597         (org-babel-insert-result, org-babel-clean-text-properties):
8598         Use ̀org-no-properties' instead of `org-babel-clean-text-properties'.
8599         (org-babel-clean-text-properties): Delete redundant function
8600         `org-babel-clean-text-properties'.
8602         * ob-tangle.el (org-babel-tangle-collect-blocks)
8603         (org-babel-tangle-comment-links): Ditto.
8605         * ob-table.el (sbe): Ditto.
8607         * ob-lob.el (org-babel-lob-get-info)
8608         (org-babel-lob-execute): Ditto.
8610         * ob-exp.el (org-babel-exp-non-block-elements): Ditto.
8612         * org-macs.el (org-no-properties): Allow a new parameter
8613         `restricted' to restrict the properties removal to those in
8614         `org-rm-props'.  The default is now to remove all properties.
8616         * org-compat.el (org-substring-no-properties): Remove unused
8617         defun.
8619         * org-remember.el (org-remember-apply-template): Remove redundant
8620         removal of text properties.
8621         (org-remember-apply-template): Use `org-no-properties'.
8623         * org-capture.el (org-capture-fill-template): Remove redundant
8624         removal of text properties.
8625         (org-capture-fill-template): Use `org-no-properties'.
8627         * org-gnus.el (org-gnus-open, org-gnus-follow-link):
8628         Use `org-no-properties'.
8630         * org-colview.el (org-columns-display-here): Ditto.
8632         * org-table.el (org-table-eval-formula): Ditto.
8634         * org.el (org-entry-properties): Ditto.
8636         * org-icalendar.el (org-print-icalendar-entries): Fix bug about
8637         handling `alarm-time'.
8639         * ob-R.el (org-babel-edit-prep:R): Don't set the session.
8641         * org.el (org-store-log-note): Only skip comments starting with "#
8642         " when storing a note.
8644         * org.el (org-custom-properties): New option.
8645         (org-custom-properties-overlays): New variable.
8646         (org-toggle-custom-properties-visibility): New command to toggle
8647         the visibility of custom properties.
8648         (org-check-before-invisible-edit): Also prevent errors when trying
8649         to edit invisible properties.
8651         * org-datetree.el (org-datetree-add-timestamp): New option.
8652         (org-datetree-insert-line): Use it.
8654         * org.el (org-fill-template): Fix bug when filling template for a
8655         key associated to the nil value.
8657         * org-agenda.el (org-diary): Fix tiny typo.
8659         * org.el (message-in-body-p): Move declaration up to fix compiler
8660         warning.
8662         * org.el (org-fill-context-prefix): Fix auto-filling in
8663         `message-mode'.
8665         * org.el (org-fill-paragraph): Correctly fill paragraph in
8666         message-mode.
8667         (org-indent-line): Correctly indent according to mode when
8668         `orgstruct++-mode' is on.
8669         (orgstruct++-mode): Add `fill-prefix' to the variable temporarily
8670         stored in `org-fb-vars'.
8672         * org.el (org-fill-paragraph): Make a command.  Fix bug about
8673         filling message headers and citations.
8675         * org.el (org-redisplay-inline-images): New command.
8676         (org-mode-map): Bind it to C-c C-x C-M-v.
8678         * org-colview.el (org-columns-get-format-and-top-level): Fix bug.
8679         (org-columns-get-format): Fix compiler warning.
8681         * org-feed.el: Add declarations.
8683         * org-agenda.el (org-agenda-get-sexps): Use `org-get-tags-at' to
8684         allow tag inheritance.
8686         * org-capture.el (org-capture): Fix bug introduced by commit
8687         1737d3.
8689         * org-publish.el (org-publish-needed-p)
8690         (org-publish-update-timestamp, org-publish-file)
8691         (org-publish-cache-file-needs-publishing): New argument
8692         `base-dir'.
8693         (org-publish-cache-ctime-of-src): Use the new argument to make
8694         sure we find the file according to :base-directory.
8696         * org-capture.el (org-capture-string): New command to prompt for
8697         the interactive text interactively.  This can also be used in
8698         Elisp programs to use ̀org-capture' with some initial text.
8699         (org-capture-initial): New variable to store the initial text.
8700         (org-capture): Use `org-capture-initial'.
8702         * org.el (org-emph-re): Tiny docstring formatting fix.
8704         * org-compat.el (org-labels): Remove.
8706         * org-bibtex.el (org-bibtex-headline): Don't use `org-labels'.
8708         * ob.el (org-babel-sha1-hash, org-babel-noweb-p): Ditto.
8710         * org.el (org-emph-re): Tiny formatting fix.
8712         * org.el (orgstruct-setup): Require `org-element'.
8714         * org.el (org-store-link, org-open-at-point): New link type
8715         "help".
8717         * org-compat.el (org-flet): Remove alias.
8719         * ob.el (org-babel-edit-distance, org-babel-sha1-hash)
8720         (org-babel-get-rownames, org-babel-insert-result)
8721         (org-babel-merge-params)
8722         (org-babel-expand-noweb-references): Don't use `org-flet'.
8723         Also indent some functions correctly.
8725         * ob.el (org-babel-execute-src-block)
8726         (org-babel-join-splits-near-ch, org-babel-format-result)
8727         (org-babel-examplize-region): Don't use `org-flet'.
8728         (org-babel-tramp-handle-call-process-region): Fix typo.
8730         * ob-awk.el (org-babel-awk-var-to-awk): Don't use `org-flet'.
8732         * ob-sh.el (org-babel-sh-var-to-string): Ditto.
8734         * ob-tangle.el (org-babel-tangle, org-babel-spec-to-string):
8735         Don't use `org-flet'.
8737         * org-pcomplete.el (org-compat): Require.
8739         * ob-tangle.el (org-babel-load-file): Don't use `org-flet'.
8741         * org-bibtex.el (org-bibtex-write): Use let*.
8743         * org-plot.el (org-plot/gnuplot-script): Don't use `org-flet'.
8745         * org-bibtex.el (org-bibtex-headline, org-bibtex-fleshout)
8746         (org-bibtex-read, org-bibtex-write): Don't use `org-flet'.
8748         * org-clock.el (org-clock-cancel): Use `org-looking-back'.
8750         * org-pcomplete.el (org-thing-at-point): Ditto.
8752         * org.el (org-timestamp-change): Ditto.
8754         * org-mouse.el (org-mouse-timestamp-today)
8755         (org-mouse-set-priority, org-mouse-popup-global-menu)
8756         (org-mouse-context-menu): Don't use ̀org-flet'.
8758         * org.el (org-priority): Fix docstring.
8760         * org-publish.el (org-publish-write-cache-file)
8761         (org-publish-initialize-cache)
8762         (org-publish-cache-file-needs-publishing)
8763         (org-publish-cache-get): Small code clean-up.
8765         * org-publish.el (org-publish-cache-ctime-of-src): Simplify.
8767         * org-agenda.el (org-agenda-get-sexps): Add a 'tags property for
8768         agenda entries created from sexps.
8770         * org-capture.el (org-capture-templates): Docstring clean up.
8771         (org-capture-place-entry, org-capture-place-item)
8772         (org-capture-place-plain-text, org-capture-place-table-line):
8773         Ensure to always position the point according to %?.
8775         * org-table.el (org-table-convert-refs-to-rc): Fix bug when
8776         converting remote table references.
8778         * org-agenda.el (org-agenda-switch-to): Run hooks in
8779         ̀org-agenda-after-show-hook'.
8781         * ob-ref.el (org-babel-ref-index-list): Use let* and rename the
8782         variable `length' to `lgth'.
8784         * org-plot.el (org-plot/gnuplot-to-grid-data): Don't use
8785         ̀org-flet'.
8787         * org-exp.el (org-export-format-source-code-or-example): Ditto.
8789         * org-exp-blocks.el (org-export-blocks-preprocess): Ditto.
8791         * ob.el (org-babel-view-src-block-info)
8792         (org-babel-execute-src-block, org-babel-edit-distance)
8793         (org-babel-switch-to-session-with-code)
8794         (org-babel-balanced-split, org-babel-insert-result): Ditto.
8796         * ob-ref.el (org-babel-ref-index-list): Ditto.
8798         * ob-python.el (org-babel-python-evaluate-session): Ditto.
8800         * ob-lob.el (org-babel-lob-get-info): Ditto.
8802         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Ditto.
8804         * ob-exp.el (org-babel-exp-do-export): Ditto.
8806         * org-table.el (orgtbl-to-generic): Fix docstring.
8808         * org-clock.el (org-clock-in): Call `org-clock-out' with the new
8809         argument `switch-to-state' set to nil.  Fix docstring.
8810         (org-clock-in-last): Prompt for a todo state to switch to when
8811         called with three universal prefix arguments.  Don't display a
8812         message when the clock is already running.  Update docstring.
8813         (org-clock-out): New argument `switch-to-state'.  When this
8814         argument is non-nil, prompt for a state to switch the clocked out
8815         task to, overriding `org-clock-out-switch-to-state'.
8817         * org.el (org-entry-get): Don't use `org-flet'.
8819         * org.el (org-forward-heading-same-level): Rename from
8820         `org-forward-same-level'.
8821         (org-backward-heading-same-level): Rename from
8822         `org-backward-same-level'.
8824         * org.el (org-forward-element): Rename from `org-element-forward'.
8825         (org-backward-element): Rename from `org-element-backward'.
8826         (org-up-element): Rename from `org-element-up'.
8827         (org-down-element): Rename from `org-element-down'.
8828         (org-drag-element-backward): Rename from
8829         `org-element-drag-backward'.
8830         (org-drag-element-forward): Rename from
8831         `org-element-drag-forward'.
8832         (org-mark-element): Rename from `org-element-mark-element'.
8833         (org-transpose-element): Rename from `org-element-transpose'.
8834         (org-unindent-buffer): Rename from `org-element-unindent-buffer'.
8835         (org-mode-map): Update the names of a commands.  Remove useless
8836         declarations.
8838         * org-element.el (org-element-forward, org-element-backward)
8839         (org-element-up, org-element-down)
8840         (org-element-drag-backward, org-element-drag-forward)
8841         (org-element-mark-element, org-narrow-to-element)
8842         (org-element-transpose, org-element-unindent-buffer): Move to
8843         org.el.
8845         * org.el (org-forward-same-level): Fix typo in docstring.
8847         * org-agenda.el (org-agenda-mode-map):
8848         Bind `org-agenda-show-priority' to `C-c,' instead of `P'.
8849         (org-agenda-next-item, org-agenda-previous-item): New commands to
8850         move by one item down/up in the agenda.
8851         (org-agenda-mode-map): Bind `org-agenda-next-item' and
8852         `org-agenda-previous-item' to `N' and `P' respectively.
8854         * org-rmail.el (org-rmail-store-link, org-rmail-follow-link):
8855         Toggle headers when necessary.
8857         * org-element.el (org-narrow-to-element): Autoload.
8859         * org.el (org-mode-map): Use `M-h' for `org-element-mark-element'.
8860         (org-mark-subtree): Allow a numeric prefix argument to move up
8861         into the hierarchy of headlines.
8863         * org-element.el (org-element-up, org-element-down): Autoload.
8865         * org.el: Declare functions and don't require org-element.
8867         * org-element.el (org-element-at-point, org-element-forward)
8868         (org-element-backward, org-element-drag-backward)
8869         (org-element-drag-forward, org-element-mark-element)
8870         (org-element-transpose, org-element-unindent-buffer): Autoload.
8871         Require 'org and remove all declarations.
8873         * org.el (org-outline-regexp-bol, org-heading-regexp):
8874         Use variables instead of constants.
8876         * org-archive.el (org-datetree-find-date-create): Declare.
8878         * org.el (org-open-at-point): Only set
8879         `clean-buffer-list-kill-buffer-names' when the feature 'midnight
8880         has been loaded.
8882         * org-icalendar.el (org-print-icalendar-entries):
8883         Let APPT_WARNTIME take precedence over ̀org-icalendar-alarm-time'.
8885         * org.el (org-special-properties): New special property
8886         CLOCKSUM_T.
8887         (org-entry-properties): Handle the new special property.
8889         * org-colview.el (org-columns): Handle a new special property
8890         CLOCKSUM_T.
8891         (org-agenda-colview-summarize, org-agenda-colview-compute): Ditto.
8893         * org-clock.el (org-clock-sum-today): New function.
8894         (org-clock-sum): New argument PROPNAME to set a custom text
8895         property instead of :org-clock-minutes.
8897         * org-agenda.el (org-agenda-check-type): Throw a more appropriate
8898         error message when no agenda is currently being displayed.
8900         * org.el (org-get-property-block): Find blocks before the first
8901         headline.
8902         (org-entry-properties): Minor code cleanup.
8903         (org-entry-get, org-entry-get-with-inheritance): Get property
8904         before the first headline.
8906         * org-mobile.el (org-mobile-create-index-file): Use `files-alist'.
8908         * org.el (org-make-link): Delete.
8909         (org-store-link, org-insert-link)
8910         (org-file-complete-link): Don't use `org-make-link'.
8912         * org-wl.el (org-wl-store-link-folder)
8913         (org-wl-store-link-message): Ditto.
8915         * org-vm.el (org-vm-store-link): Ditto.
8917         * org-rmail.el (org-rmail-store-link): Ditto.
8919         * org-mhe.el (org-mhe-store-link): Ditto.
8921         * org-mew.el (org-mew-store-link): Ditto.
8923         * org-irc.el (org-irc-erc-store-link): Ditto.
8925         * org-info.el (org-info-store-link): Ditto.
8927         * org-id.el (org-id-store-link): Ditto.
8929         * org-gnus.el (org-gnus-group-link, org-gnus-article-link): Ditto.
8931         * org-eshell.el (org-eshell-store-link): Ditto.
8933         * org-bbdb.el (org-bbdb-store-link): Ditto.
8935         * org.el (org-url-hexify-p): New option.  When non-nil (the
8936         default), hexify URLs when creating a link.
8938         * org.el (org-insert-link): Make sure point is at the beginning of
8939         the buffer.
8941         * org.el (clean-buffer-list-kill-buffer-names): Declare.
8942         (org-open-at-point): Allow opening multiple shell links by
8943         creating a new output buffer for each shell process.  The new
8944         buffer is added to `clean-buffer-list-kill-buffer-names'.
8946         * org-mobile.el (org-mobile-create-index-file):
8947         Use `org-global-tags-completion-table' instead of
8948         `org-tag-alist-for-agenda' to get the tags for the index file.
8950         * org.el (org-global-tags-completion-table): Fix typo in
8951         docstring.
8953         * org.el (org-link-to-org-use-id): Use `org-capture' instead of
8954         `org-remember' in the docstring.
8955         (org-link-fontify-links-to-this-file): New function to fontify
8956         links to the current buffer in `org-stored-links'.
8957         (org-store-link): Small code simplification.
8958         (org-link-prettify): Enclose literal links into <...> instead of
8959         [[...]].
8960         (org-insert-link): Use `org-link-fontify-links-to-this-file'.
8961         Also allow completion over links' descriptions, as well as links
8962         destinations.  When the user uses the description for completion,
8963         don't prompt again for a description.
8965         * org-capture.el (org-capture-templates): Fix docstring by adding
8966         Gnus to the list of mail clients.
8968         * org.el (org-log-repeat): Enhance docstring.
8970         * org.el (org-mode-map): Don't bind C-<up> and C-<down> to
8971         `org-element-backward/forward' as these functions stops when there
8972         is no element of the same type before/after point.  It is useful
8973         to navigate with `forward/backward-paragraph' with no stop in most
8974         cases.
8976         * org-capture.el (org-capture-templates): New template %l to
8977         insert the literal link pointing at the current buffer.
8979         * org.el (org-todo-keywords): Ditto.
8981         * org.el (org-fill-paragraph): Falls back on
8982         `message-fill-paragraph' if required in `message-mode'.
8984         * org-pcomplete.el (pcomplete/org-mode/file-option/x): New macro.
8985         (pcomplete/org-mode/file-option/options)
8986         (pcomplete/org-mode/file-option/title)
8987         (pcomplete/org-mode/file-option/author)
8988         (pcomplete/org-mode/file-option/email)
8989         (pcomplete/org-mode/file-option/date): Use the new macro to offer
8990         completion over default values for #+OPTIONS, #+TITLE, #+AUTHOR,
8991         #+EMAIL and #+DATE.
8993         * org-agenda.el (org-agenda-write): Fix bug when writing agenda to
8994         an external file while `org-agenda-sticky' is non-nil.
8996         * org.el (org-speed-commands-default): New speedy command to
8997         quickly add the :APPT_WARNTIME: property.
8999         * org-agenda.el (org-agenda-to-appt): Use the :APPT_WARNTIME:
9000         property to override `appt-message-warning-time' when adding an
9001         appointment from an entry.
9003         * org.el (org-version): Improve docstring.
9004         (org-self-insert-cluster-for-undo): The default value should be
9005         nil for Emacs >=24.1.  See bug#11774.
9007         * org.el (org-fontify-meta-lines-and-blocks-1): Fix previous
9008         commit.
9010         * org.el (org-options-keywords): New constant.
9011         (org-additional-option-like-keywords): Remove duplicates with
9012         keywords in the new constant.
9013         (org-additional-option-like-keywords-for-flyspell): Use the new
9014         constant.
9015         (org-mode-flyspell-verify): Exclude keywords from the new
9016         constant.
9018         * org-pcomplete.el (pcomplete/org-mode/file-option):
9019         Use `org-options-keywords'.
9021         * org.el (org-toggle-heading): Bugfix: use
9022         `org-element-mark-element' instead of `org-mark-list'.
9024         * org-list.el (org-mark-list): Delete.
9026         * org.el: Update a few keybindings.
9028         * org-element.el (org-element-down): Throw an error when the
9029         element has no content.
9031         * org-table.el (orgtbl-radio-table-templates): Add a template for
9032         org-mode.
9033         (orgtbl-to-orgtbl): Complete and align the table created with
9034         orgtbl-to-orgtbl, in case the user use the function for radio
9035         tables.
9036         (orgtbl-to-table.el): New function to export a table to another
9037         one using the table.el format.
9038         (orgtbl-to-unicode): New function to export a table using unicode
9039         characters.
9041         * org-exp.el (org-export-language-setup): Use "Sommaire" for the
9042         french translation of "Table of contents", to avoid a possible bug
9043         when exporting to ODT.
9045         * org.el (org-additional-option-like-keywords): Add keywords.
9046         (org-additional-option-like-keywords-for-flyspell): New constant
9047         to use with flyspell.
9048         (org-mode-flyspell-verify): Use the dedicated constant and don't
9049         check `org-startup-options'.
9051         * org-agenda.el (org-batch-store-agenda-views): Use the sticky
9052         agenda buffer name, if required.
9053         (org-agenda-write): New parameter `agenda-bufname' to allow
9054         setting the agenda buffer name.
9056         * org.el (org-mode-map): Add keybindings for
9057         `org-element-forward', `org-element-backward', `org-element-up'
9058         and `org-element-down'.
9060         * org.el (org-auto-fill-function): Don't call `do-auto-fill'
9061         within (org-let org-fb-vars ...) as `do-auto-fill' should do the
9062         right thing whether orgstruct++-mode is turned on or off.
9064         * org.el (org-sparse-tree-default-date-type): New option.
9065         (org-ts-type): New variable.
9066         (org-sparse-tree): New argument `type'.  Use the new option
9067         `org-sparse-tree-default-date-type' as the default value for
9068         `type'.  Fix docstring.
9069         (org-re-timestamp): New function.
9070         (org-check-before-date, org-check-after-date)
9071         (org-check-dates-range): Use `org-ts-type' and `org-re-timestamp'
9072         to tell compute the date regexp.
9074         * org.el (orgstruct++-mode, org-get-local-variables): Also set
9075         `normal-auto-fill-function' when turning on/off orgstruct++-mode.
9077         * org-agenda.el (org-agenda-start-with-log-mode): Add relevant
9078         customization types.
9080         * org-faces.el (org-document-title): Use the normal height.
9082         * org-clock.el (org-x11idle-exists-p): New variable.
9083         (org-user-idle-seconds): Use it.
9085         * org.el (org-mode-map): Rebind `org-insert-all-links' to `C-c
9086         C-M-l'.
9088         * org.el (org-insert-all-links): New command.
9089         (org-insert-link): `org-keep-stored-link-after-insertion' is now
9090         checked when the link to insert has been defined, regardless on
9091         how it has been defined.  Also don't read the description
9092         interactively when the `default-description' parameter was given.
9093         (org-mode-map): Bind `org-insert-all-links' to `C-c C-L'.
9095         * org.el (org-inc-effort): New command to increment the effort
9096         property.
9097         (org-set-effort): Use it.
9098         (org-mode-map): Bind it to `C-c C-x E'.
9099         (org-speed-commands-default): Use `E' as a speed command for it.
9101         * org.el (org-re-property-keyword): New function.
9102         (org-entry-put): Use it to fix a bug with respect to setting the
9103         value of a property when a property line with no value already
9104         exists.
9106         * org.el (org-timestamp-change): Adjust clock in other org files
9107         correctly.
9109         * org-clock.el (org-user-idle-seconds): Simplify.
9111         * org.el (org-mode-map): Bind `org-resolve-clocks' to `C-c C-x
9112         C-z'.
9114         * org.el (org-mode-map): Add keybindings to
9115         `org-element-transpose' and `org-narrow-to-element'.
9116         (org-metaup): Fall back on `org-element-drag-backward'.
9117         (org-metadown): Fall back on `org-element-drag-forward'.
9118         Also move chunks of declarations and require statements to get rid of
9119         compiler warnings.
9121         * org-exp-blocks.el (org): Don't require org.  Add declarations.
9123         * org-clock.el (org): Don't require org.
9125         * ob-exp.el (org-list-forbidden-blocks): Add declarations.
9127         * org.el (org-timestamp-change): Don't use the `position'.
9129         * org.el (org-clock-history, org-clock-adjust-closest):
9130         New variables.
9131         (org-timestamp-change): Maybe adjust the next or previous clock in
9132         `org-clock-history'.
9133         (org-shiftmetaup, org-shiftmetadown): On clock logs, update the
9134         timestamp at point and adjust the next or previous clock in
9135         `org-clock-history', when possible.
9137         * org-clock.el (org-clock-in): Set the marker for
9138         `org-clock-history' at a safer position.
9140         * org-timer.el (org-timer-pause-or-continue, org-timer-stop):
9141         Autoload.
9143         * org-mobile.el (org-mobile-post-pull-hook): Fix docstring.
9145         * org.el (org-indent-line): Fix indentation of a property line
9146         starting at the beginning of a line.
9148         * org-odt.el (org-odt-cleanup-xml-buffers): Use the new alias.
9150         * org-compat.el: Alias `org-condition-case-unless-debug' to
9151         `condition-case-unless-debug' or `condition-case-no-debug'.
9153         * org.el (org-todo-keywords): Ditto.
9155         * org.el (org-use-fast-todo-selection): Reformat docstring.
9157         * org.el (org-flag-drawer): Add a docstring.
9158         (org-mode-map): Bind ̀org-clock-cancel' to "C-cC-xC-q" and
9159         `org-clock-in-last' to "C-cC-xC-x".  This fixes a bug in the
9160         previous keybinding for `org-clock-in-last', which would override
9161         the one for `org-clock-in'.
9163         * org-clock.el (org-clock-in-last): Prevent errors when there is
9164         no clocking history.
9165         (org-clock-cancel): Fix bug when checking against a clock log in a
9166         folded drawer.
9168         * org.el (org-link-expand-abbrev): Implement "%(my-function)" as a
9169         new specifier.  Update the docstring.
9171         * org.el (org-startup-options): Fix docstring formatting.
9173         * org.el (org-use-sub-superscripts): Fix typo in docstring.
9175         * org.el (org-refile): Fix bug: prevent looping when calling
9176         `org-set-tags' internally.
9178         * org.el (org-mode-map): Add `C-c C-x C-I' as a keybinding for
9179         `org-clock-in-last'.
9181         * org-clock.el (org-clock-continuously): New option.
9182         (org-clock-in): Three universal prefix arguments set
9183         `org-clock-continuously' to `t' temporarily.
9184         (org-clock-in-last): Fix call to `org-clock-select-task' and
9185         support continuous clocking.
9186         (org-clock-out-time): New variable.
9187         (org-clock-out): Set `org-clock-out-time' when clocking out.
9188         Small docstring rewriting.
9189         (org-clock-remove-empty-clock-drawer): Fix "invalid search bound"
9190         bug when trying to delete empty logbook drawer.
9191         (org-clock-cancel): If the clock log is gone, send a warning
9192         instead of deleting the region that is supposed to contain it.
9194         * org.el (org-move-line-down, org-move-line-up): Remove.
9195         (org-metaup, org-metadown): When the region is active, move it
9196         up/down by one line, with no regard to the context.
9198         * org-odt.el (org-odt-cleanup-xml-buffers): Use the new alias.
9200         * org-compat.el: Alias `org-condition-case-unless-debug' to
9201         `condition-case-unless-debug' or `condition-case-no-debug'.
9203         * org-pcomplete.el (org-thing-at-point): Ignore trailing
9204         whitespaces while looking-back at properties.
9206         * org.el (org-mode): Set `indent-region-function'.
9207         (org-indent-region): New function.
9208         (org-fill-paragraph): When in a src block, use `indent-region' to
9209         indent the whole source code instead of falling back on
9210         `fill-paragraph', as this function messes up the code.
9212         * org-src.el (org-edit-src-code): Fix docstring formatting.
9214         * ob.el (org-babel-do-key-sequence-in-edit-buffer): Ditto.
9216         * org.el (org-mode, org-add-log-setup)
9217         (org-get-property-block, org-entry-put)
9218         (org-property-next-allowed-value, org-return)
9219         (org-indent-line): Rename `org-indent-line-function' to
9220         `org-indent-line'.
9222         * org-timer.el (org-timer-item): Ditto.
9224         * org-table.el (org-table-store-formulas): Ditto.
9226         * org-clock.el (org-clock-in, org-clock-find-position): Ditto.
9228         * org-src.el (org-src-font-lock-fontify-block)
9229         (org-src-strip-leading-and-trailing-blank-lines)
9230         (org-src-ask-before-returning-to-edit-buffer)
9231         (org-edit-src-code, org-edit-src-continue)
9232         (org-edit-fixed-width-region)
9233         (org-src-do-key-sequence-at-code-block)
9234         (org-src-font-lock-fontify-block, org-src-fontify-buffer):
9235         Fix typos in docstrings.
9237         * org-docbook.el (org-export-docbook-emphasis-alist): Fix typo:
9238         use "format string" instead of "formatting string".
9240         * org-latex.el (org-export-latex-emphasis-alist)
9241         (org-export-latex-title-command, org-export-latex-tables): Ditto.
9243         * org-html.el (org-export-html-postamble): Ditto.
9245         * org-latex.el (org-export-latex-hyperref-options-format):
9246         New option.
9247         (org-export-latex-make-header): Use it.
9249         * ob.el (org-babel-confirm-evaluate): Prevent errors when
9250         `org-current-export-file' is void.
9252         * org-table.el (org-table-export): Use the file name extension to
9253         suggest the right conversion format.  Also amend the docstring.
9255         * org.el (org-speed-commands-default): Two new speed commands.
9256         Use `:' for `org-columns' and ̀#' for `org-toggle-comment'.
9258         * org.el (org-time-stamp): With two universal arguments, insert an
9259         active timestamp with the current time without prompting the user.
9261         * org-clock.el (org-clock-in-last): New command.
9263         * org-clock.el (org-clock-in): Fix typo in docstring.
9265         * org-mobile.el (org-mobile-edit): Fix reference to a free
9266         variable.
9268         * org.el (org-doi-server-url): Update :group.
9270         * ob-lob.el (org-babel-lob-execute): Fix reference to non-existent
9271         variable.
9273         * org.el (org-doi-server-url): New option.
9274         (org-open-at-point): Use it.
9276         * org.el (org-at-comment-p): New function.
9277         (org-toggle-heading): Use `org-at-comment-p' to skip comments.
9279         * org-html.el (org-export-as-html): Add links to the Org mode and
9280         GNU Emacs websites When :html-postamble is set to 't.
9282         * org-export.el (org-export-creator-string): Add links to the Org
9283         mode and GNU Emacs websites.
9285         * org-special-blocks.el
9286         (org-special-blocks-convert-html-special-cookies): Prevent errors
9287         by first checking `org-line' is not nil.
9289         * org-clock.el (org-clock-string-limit)
9290         (org-clock-modeline-total, org-clock-task-overrun-text)
9291         (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
9293         * org.el (org-at-timestamp-p): Set ̀org-ts-what' to 'after when the
9294         point is right after the timestamp.  `org-at-timestamp-p' still
9295         returns `t' in this case, as this is more practical.
9296         (org-return): Check against ̀org-ts-what' to verify that point is
9297         really within the timestamp (if any).
9299         * org.el (org-return): Follow time-stamp links when point is an a
9300         time-stamp.
9302         * org-capture.el (org-capture-bookmark): New option.
9303         (org-capture-finalize): Use it.
9305         * org-publish.el (org-publish-cache-file-needs-publishing):
9306         Make the column mandatory after #+include:.
9308         * org-exp.el (org-export-handle-include-files): Ditto.
9310         * org-bibtex.el (org-bibtex-entries): Rename from
9311         (org-bibtex-read, org-bibtex-write): Use the new name.
9313         * org-exp.el (org-export-handle-include-files): Allow to use
9314         #+include with no column.
9316         * org-publish.el (org-publish-cache-file-needs-publishing):
9317         Make quotes mandatory around the file name and allow spaces in it.
9319         * org-html.el (org-export-as-html): Add link to Org's and Emacs's
9320         websites.
9322         * org-latex.el
9323         (org-export-latex-link-with-unknown-path-format): New option.
9324         (org-export-latex-links): Use it.
9326         * org-agenda.el (org-agenda-get-timestamps): Remove any active
9327         timestamp from the headline text, not only those for the current
9328         date.
9330         * org.el (org-set-tags): Allow setting tags for headlines in the
9331         region when `org-loop-over-headlines-in-active-region' is non-nil.
9333         * org.el (org-allow-promoting-top-level-subtree): New option to
9334         allow promoting a top-level subtree.
9335         (org-called-with-limited-levels): New variable, dynamically bound
9336         within the `org-with-limited-levels' macro.
9337         (org-promote): Use the new option to allow promoting a top-level
9338         subtree.
9340         * org-macs.el (org-with-limited-levels): Let-bind
9341         `org-called-interactively-p' to t.
9343         * org.el (org-create-formula-image-with-dvipng)
9344         (org-create-formula-image-with-imagemagick): Make sure a file
9345         exists before trying to delete it.
9347         * org.el (org-scan-tags): Correctly match TODO keywords.
9349         * org-agenda.el (org-agenda-bulk-action): Fix bug: use
9350         `org-agenda-bulk-unmark-all'.
9352         * org.el (orgstruct++-mode): Fix docstring.
9353         (org-fill-paragraph): Use the 'justify parameter when falling back
9354         on `fill-paragraph'.
9356         * org.el (org-indent-line-function): Use `org-let' instead of
9357         `orgstruct++-ignore-org-filling'.
9358         (org-fill-paragraph, org-auto-fill-function): Ditto.
9360         * org-macs.el (orgstruct++-ignore-org-filling): Delete.
9362         * org-table.el (org-table-time-string-to-seconds): Return the
9363         empty string if provided.
9364         (org-table-eval-formula): When assigning a duration string, handle
9365         it correctly -- i.e. don't make any computation on it, except the
9366         one to insert it using the correct duration format.
9368         * org.el (org-indent-line-function): Fix bug.
9370         * org-clock.el (org-frame-title-format-backup): New variable to
9371         store the value of `frame-title-format' before `org-clock' might
9372         replace it by `org-clock-frame-title-format'.
9373         (org-clock-frame-title-format): New option.
9374         (org-frame-title-string): Delete.
9375         (org-clock-update-mode-line): Minor code reformatting.
9376         (org-clock-in, org-clock-out, org-clock-cancel):
9377         Use `org-clock-frame-title-format'.
9379         * org-clock.el (org-clock-get-clock-string): Add a space.
9381         * org-list.el (org-mark-list): Return an error when there is no
9382         list at point.
9384         * org.el (org-toggle-heading): Allow `C-u C-c *' to mark the list
9385         at point before converting items to headings.  With a simple
9386         universal-argument, set `current-prefix-arg' to 1, otherwise keep
9387         the numeric value.
9389         * org-agenda.el (org-agenda-view-mode-dispatch): Make the message
9390         more readable.
9392         * org-agenda.el (org-agenda-mode-map): New keybinding ̀*' to mark
9393         all entries for bulk action.
9394         (org-agenda-menu): New menu item for marking all entries.
9395         (org-agenda-bulk-mark-all): New function to mark all entries.
9396         (org-agenda-bulk-mark-regexp): Minor docstring fix.
9397         (org-agenda-bulk-unmark): With a prefix argument, unmark all.
9398         Also send a better message.
9399         (org-agenda-bulk-remove-all-marks): Rename to
9400         `org-agenda-bulk-unmark-all'.  Check against
9401         `org-agenda-bulk-marked-entries' before trying to unmark entries.
9402         Minor docstring fix.
9403         (org-agenda-bulk-unmark-all): Rename from
9404         ̀org-agenda-bulk-remove-all-marks'.
9406         * org-agenda.el (org-agenda-bulk-mark-char): New option.
9407         (org-agenda-bulk-mark): Use the new option.
9409         * org.el (org-src-prevent-auto-filling): New option to prevent
9410         auto-filling in src blocks.  This defaults to nil to avoid people
9411         being surprised that no auto-fill occurs in Org buffers where they
9412         use `auto-fill-mode'.
9413         (org-auto-fill-function): Use the new option.
9415         * org.el (org-properties-postprocess-alist): Better customization
9416         type.
9417         (org-set-property): Fix the check against
9418         `org-properties-postprocess-alist'.
9420         * org-macs.el (orgstruct++-ignore-org-filling):
9421         Set `def-edebug-spec' correctly.
9423         * org-colview.el (org-columns-string-to-number): When computing
9424         the values for the colview, match durations and convert them to
9425         HH:MM values.
9427         * org.el (org-duration-string-to-minutes): Match non-round
9428         numbers.  Add a new optional parameter to allow returning the
9429         output as a string.
9431         * org.el (org-auto-fill-fallback-function)
9432         (org-indent-line-fallback-function)
9433         (org-fill-paragraph-fallback-function)
9434         (org-auto-fill-fallback-function)
9435         (org-indent-line-fallback-function)
9436         (org-fill-paragraph-fallback-function): Remove.
9437         (org-fb-vars): New buffer-local variable.
9438         (orgstruct++-mode): Use the fallback variable `org-fb-vars' to
9439         store, use and restore variables if needed.
9440         (org-fill-paragraph): Ignore `orgstruct++-mode' filling variables
9441         when needed.
9442         (org-auto-fill-function, org-indent-line-function): Ditto.
9444         * org-macs.el (orgstruct++-ignore-org-filling): New macro.
9446         * org-exp-blocks.el: Use `org-find-library-name' instead of
9447         `find-library-name'.
9449         * org-compat.el (org-find-library-name): Convert into a macro to
9450         avoid compilation of a function from XEmacs in Emacs and vice
9451         versa.
9453         * org-table.el (org-table-store-formulas): Fix typo.
9454         (org-table-maybe-eval-formula): Fix the regexp to only match
9455         formulas, which never end with the `=' character.  If the field
9456         only contain this character, don't eval either.
9458         * org.el (org-set-property): Perform the correct check against
9459         `org-properties-postprocess-alist'.
9461         * org-bbdb.el (org-bbdb-anniversary-format-alist): Update the
9462         customization type.
9463         (name): Suppress (defvar 'name) as name is not eval'ed when
9464         setting `org-bbdb-anniversary-format-alist'.
9466         * org.el (org-version): When called non-interactively, insert the
9467         short version string, otherwise send a message with the complete
9468         version string.
9470         * org-odt.el (org-odt-update-meta-file): Use (org-version) and
9471         delegate checking whether `org-version' is known as a variable
9472         there.
9474         * org-html.el (org-export-as-html): Use (org-version).
9476         * org-docbook.el (org-export-as-docbook): Ditto.
9478         * org-latex.el (org-export-latex-make-header): Ditto.
9480         * org-clock.el (org-clocktable-write-default): Temporarily disable
9481         `delete-active-region' so that we don't accidently delete an
9482         active region when exporting a subtree/region.
9484         * org-clock.el (org-program-exists): Remove.
9485         (org-show-notification, org-clock-play-sound):
9486         Use `executable-find' instead of `org-program-exists'.
9488         * org-agenda.el (org-diary): Prevent failure from
9489         `org-compile-prefix-format' when there is no agenda buffer.
9491         * org-agenda.el (org-agenda-mode): Replace obsolete variable
9492         `buffer-substring-filters'.
9494         * org-indent.el (org-indent-mode): Ditto.
9496         * org-compat.el (org-find-library-name): Silent the byte-compiler
9497         about a warning related to XEmacs support.
9499         * org-special-blocks.el
9500         (org-special-blocks-convert-html-special-cookies): Use `org-line'
9501         instead of `line'.
9503         * org-html.el (org-html-handle-links, org-export-as-html)
9504         (org-format-org-table-html, org-format-table-table-html)
9505         (org-html-export-list-line): Use `org-line' instead of `line' as
9506         the free variable name.
9508         * org-latex.el (org-export-latex-tables): Let-bind `hfmt'.
9510         * org-faces.el (org-list-dt): New face.
9512         * org.el (org-set-font-lock-defaults): Use `org-list-dt' as the
9513         face for definition terms in definition lists.
9515         * org.el (org-fill-paragraph): Pass the `justify' argument to
9516         `org-fill-paragraph-fallback-function'.
9518         * org.el (org-eval-in-calendar): Fix docstring to mention the
9519         KEEPDATE parameter.
9521         * org.el (org-refresh-category-properties): Let-bind
9522         `inhibit-read-only' to t.
9524         * org.el (org-auto-fill-fallback-function)
9525         (org-indent-line-fallback-function)
9526         (org-fill-paragraph-fallback-function): New variables to store
9527         some fall-back functions when turning `orgstruct++-mode' on.
9528         (orgstruct++-mode): Set the new variables.
9529         (org-indent-line-function, org-fill-paragraph)
9530         (org-auto-fill-function): Use them.
9532         * org.el (org-read-date): Bugfix: call `org-eval-in-calendar' with
9533         the 'keepdate parameter set to t when setting the cursor type.
9535         * org-agenda.el (org-agenda-persistent-marks): New option to keep
9536         marks after a bulk action.  The option defaults to nil.
9537         (org-agenda-bulk-action): Use the new option.
9539         * org-capture.el (org-capture-fill-template): Use %\n instead of
9540         %n as a template element to be replaced with the nth prompted
9541         string.
9542         (org-capture-templates): Update docstring.
9544         * org.el (org-goto): Fix docstring and document what C-u does.
9546         * org-publish.el (org-publish-cache-file-needs-publishing):
9547         Use (case-fold-search t) when looking for #+INCLUDE:.
9549         * org.el: Use (case-fold-search t).
9550         (org-edit-special, org-ctrl-c-ctrl-c): Ditto.
9552         * org-table.el:
9553         (org-table-store-formulas, org-table-get-stored-formulas)
9554         (org-table-fix-formulas, org-table-edit-formulas)
9555         (org-old-auto-fill-inhibit-regexp, orgtbl-ctrl-c-ctrl-c)
9556         (orgtbl-toggle-comment, org-table-get-remote-range): Ditto.
9558         * org-footnote.el:
9559         (org-footnote-goto-local-insertion-point): Ditto.
9561         * org-exp.el: Ditto.
9563         * org-colview.el:
9564         (org-dblock-write:columnview, org-dblock-write:columnview): Ditto.
9566         * org-clock.el (org-clocktable-write-default): Ditto.
9568         * org-capture.el (org-capture-place-table-line): Ditto.
9570         * ob.el (org-babel-data-names, org-babel-goto-named-src-block)
9571         (org-babel-src-block-names)
9572         (org-babel-where-is-src-block-result, org-babel-result-end)
9573         (org-babel-where-is-src-block-head)
9574         (org-babel-find-named-result, org-babel-result-names): Ditto.
9576         * org-table.el (orgtbl-send-table): Escape special characters.
9577         Introduce a new parameter :no-escape to prevent escaping.
9579         * org-agenda.el (org-toggle-sticky-agenda): Only shout a message
9580         when called interactively.
9581         (org-agenda-get-restriction-and-command):
9582         Call `org-toggle-sticky-agenda' interactively.
9584         * org-agenda.el (org-agenda-top-category-filter): New variable for
9585         storing the current top-category filter.
9586         (org-agenda-redo): Apply a top-category filter, if any.
9587         (org-agenda-filter-by-top-category)
9588         (org-agenda-filter-top-category-apply):
9589         Set `org-agenda-top-category-filter' to the right value.
9591         * org-clock.el (org-clock-out, org-clock-cancel)
9592         (org-clock-in): Don't modify `frame-title-format' if it is a
9593         string.
9595         * org-latex.el (org-export-latex-special-chars): Fix bug when
9596         escaping special characters in a table.
9598         * org.el (org-read-date): Set cursor-type to nil in the calendar.
9600         * org-faces.el (org-date-selected): Use inverse video.
9601         Don't explicitly set bold to nil as it causes `customize-face' to show
9602         the weight property and thus encourage the user to change it.
9603         Warn in the docstring that using bold might cause problems when
9604         displaying the calendar.
9606         * org-id.el (org-id-update-id-locations): New parameter to silent
9607         `org-id-find'.
9608         (org-id-find): Use the new parameter.
9610         * org.el (org-show-hierarchy-above, org-cycle)
9611         (org-global-cycle, org-files-list, org-store-link)
9612         (org-link-search, org-open-file, org-display-outline-path)
9613         (org-refile-get-location, org-update-all-dblocks)
9614         (org-change-tag-in-region, org-entry-properties)
9615         (org-save-all-org-buffers, org-revert-all-org-buffers)
9616         (org-buffer-list, org-cdlatex-mode)
9617         (org-install-agenda-files-menu, org-end-of-subtree)
9618         (org-speedbar-set-agenda-restriction): Use (derived-mode-p
9619         'org-mode) instead of (eq major-mode 'org-mode).
9621         * org-timer.el (org-timer-set-timer): Ditto.
9623         * org-table.el (orgtbl-mode, org-table-align, orgtbl-mode): Ditto.
9625         * org-src.el (org-edit-src-exit, org-edit-src-code)
9626         (org-edit-fixed-width-region, org-edit-src-exit): Ditto.
9628         * org-remember.el (org-remember-handler): Ditto.
9630         * org-mouse.el (dnd-open-file, org-mouse-insert-item): Ditto.
9632         * org-macs.el (org-get-limited-outline-regexp): Ditto.
9634         * org-lparse.el (org-replace-region-by): Ditto.
9636         * org-latex.el (org-latex-to-pdf-process)
9637         (org-replace-region-by-latex): Ditto.
9639         * org-indent.el (org-indent-indent-buffer): Ditto.
9641         * org-id.el (org-id-store-link, org-id-update-id-locations)
9642         (org-id-store-link): Ditto.
9644         * org-html.el (org-export-html-preprocess)
9645         (org-replace-region-by-html): Ditto.
9647         * org-footnote.el (org-footnote-normalize)
9648         (org-footnote-goto-definition)
9649         (org-footnote-create-definition, org-footnote-normalize): Ditto.
9651         * org-docbook.el (org-replace-region-by-docbook): Ditto.
9653         * org-ctags.el (find-tag): Ditto.
9655         * org-colview.el (org-columns-redo)
9656         (org-columns-display-here, org-columns-edit-value)
9657         (org-columns-redo): Ditto.
9659         * org-capture.el (org-capture-insert-template-here)
9660         (org-capture, org-capture-finalize)
9661         (org-capture-set-target-location)
9662         (org-capture-insert-template-here): Ditto.
9664         * org-ascii.el (org-replace-region-by-ascii): Ditto.
9666         * org-archive.el (org-archive-subtree): Ditto.
9668         * org-agenda.el (org-agenda)
9669         (org-agenda-get-restriction-and-command)
9670         (org-agenda-get-some-entry-text, org-search-view)
9671         (org-tags-view, org-agenda-get-day-entries)
9672         (org-agenda-format-item, org-agenda-goto, org-agenda-kill)
9673         (org-agenda-archive-with, org-agenda-switch-to): Ditto.
9675         * org.el (org-repeat-re)
9676         (org-clone-subtree-with-time-shift, org-auto-repeat-maybe)
9677         (org-deadline, org-schedule, org-matcher-time)
9678         (org-time-stamp, org-read-date, org-read-date-get-relative)
9679         (org-display-custom-time, org-get-wdays)
9680         (org-time-string-to-absolute, org-closest-date)
9681         (org-timestamp-change): Allow to set hourly repeat cookie.
9682         Send an error when an hourly repeat cookie is set and no hour is
9683         specified in the timestamp.
9685         * org-icalendar.el (org-print-icalendar-entries): Handle hourly
9686         repeat cookies.
9688         * org-clock.el (org-program-exists): Fix docstring.
9690         * org-clock.el (org-clock-file-time-cell-format): New option.
9691         (org-clocktable-write-default): Use it.
9693         * org-faces.el (org-date-selected): New face.
9695         * org.el (org-date-ovl): Use `org-date-selected'.
9697         * org.el (org-mode): Don't use `buffer-face-mode' by default.
9699         * org-agenda.el (org-agenda-mode-map): Bind `^' to
9700         `org-agenda-filter-by-top-category'.
9702         * org-ascii.el (org-export-ascii-underline): Change the default
9703         underlining characters for headlines of level 1 and 2.
9704         Also introduce \. as the underline character for headlines of level 5.
9706         * org-table.el (org-table-recalculate-buffer-tables)
9707         (org-table-iterate-buffer-tables): Add autoload cookie.
9709         * org.el (org-table-map-tables): Exclude tables in src and example
9710         blocks.
9712         * org.el (org-fill-paragraph): Leave scheduled/deadline lines
9713         untouched when filling an adjacent paragraph.
9715         * org-html.el (org-export-html-preamble-format)
9716         (org-export-html-postamble-format): Improve the docstring.
9718         * org.el (org-todo): Fix regression: rename `state' to
9719         `org-state'.
9721         * org-clock.el (org-show-notification): Use `fboundp' instead of
9722         `featurep' and the additional `require'.
9724         * org-clock.el (org-clock-in-prepare-hook): New option to format
9725         the total time cells.
9726         (org-clocktable-write-default): Use the new option.
9728         * org.el (org-open-at-point): Allow to open the agenda from an
9729         active or inactive timestamp in a headline.
9731         * org-html.el (org-export-html-date-format-string): Make a
9732         defcustom.
9734         * org-latex.el (org-export-as-latex): Fix TeX-master declaration.
9736 2012-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
9738         * org-table.el (org-table-expand-lhs-ranges): Allow hline
9739         references to be expanded correctly in LHS of formulas.
9741         * org-beamer.el (org-beamer-inherited-properties): New option.
9742         (org-beamer-after-initial-vars): Use new option to look for
9743         inherited properties.
9745         * org.el (org-ts-regexp0): Allow time stamps without name of day.
9747         * org-agenda.el (org-toggle-sticky-agenda):
9748         (org-agenda-sticky): Improve :set property.
9750         * org-agenda.el (org-agenda-local-vars): Clean up the variable
9751         list.
9752         (org-agenda-get-restriction-and-command): Add a key for toggling
9753         sticky agenda views.
9755         * org-agenda.el (org-agenda-local-vars): Final decisions about
9756         global/local
9758         * org-agenda.el (org-agenda-force-single-file): Variable removed.
9759         (org-prepare-agenda-window): Store pre-agenda window config
9760         locally.
9761         (org-timeline): Introduce a scoped version of
9762         `org-agenda-show-log'.
9763         (org-agenda-list): Introduce a scoped version of
9764         `org-agenda-show-log'.
9765         (org-agenda-get-progress): Use the scoped version of
9766         `org-agenda-show-log'.
9767         (org-agenda-local-vars): Write the analysis result as a comment -
9768         to be cleaned up in the next iteration.
9770         * org-agenda.el (org-toggle-sticky-agenda): Kill all agenda
9771         buffers when toggling sticky-agendas.
9772         (org-agenda-get-restriction-and-command): Add `C-c a C-k' as a key
9773         to explicitly kill all agenda buffers.
9774         (org-agenda-run-series): Remove any old agenda markers in the
9775         buffer that is going to take the new block agenda.
9776         (org-prepare-agenda): Reset markers before erasing the buffer anc
9777         running `org-agenda-mode', because after that the local variable
9778         `org-agenda-markers' will have gone away.
9779         (org-agenda-Quit):
9780         (org-finalize-agenda): Install the marker resetter into the
9781         `kill-buffer-hook'.
9782         (org-agenda-save-markers-for-cut-and-paste): Look for markers in
9783         all agenda buffers.
9784         (org-agenda-kill-all-agenda-buffers): New function.
9786 2012-09-30  Chris Gray  <chrismgray@gmail.com>
9788         * org-html.el (org-export-as-html): Remove the check for body-only
9789         in the code for generating tables of contents.
9791 2012-09-30  Christoph Dittmann  <github@christoph-d.de>  (tiny change)
9793         * org-beamer.el (org-beamer-auto-fragile-frames):
9794         Make [fragile] work with overlay specifications.
9796 2012-09-30  Christophe Junke  <christophe.junke@inria.fr>  (tiny change)
9798         * org-agenda.el (org-agenda-list): Ensures that the list returned
9799         by `org-agenda-add-time-grid-maybe' is appended to ̀rtnall' before
9800         checking if the latter is empty.
9802 2012-09-30  Christophe Rhodes  <csr21@cantab.net>  (tiny change)
9804         * org-latex.el (org-export-latex-tables): Support setting the
9805         :hfmt parameter from #+ATTR_LaTeX.
9807 2012-09-30  Daniel Dehennin  <daniel.dehennin@baby-gnu.org>  (tiny change)
9809         * org-exp.el (org-export-handle-include-files)
9810         (org-get-file-contents): Handle new parameter :addlevel.
9812 2012-09-30  Dave Abrahams  <dave@boostpro.com>  (tiny change)
9814         * org.el (org-link-prettify): New function to prettify links while
9815         displaying them with `org-insert-link'.
9816         (org-insert-link): Use the new function.
9818 2012-09-30  David Maus  <dmaus@ictsoc.de>
9820         * org-exp.el (org-export-language-setup): Use numeric character
9821         entities for proper rendering of non-UTF8 documents.
9823         * org-exp.el (org-export-language-setup): Add japanese
9824         translation.
9826 2012-09-30  Eric Schulte  <eric.schulte@gmx.com>
9828         * ob-sh.el (org-babel-sh-evaluate): Don't could 0-length shebangs.
9830         * ob.el (org-babel-insert-result): Replace key sequence with
9831         function call.  Use a more informative flag to the local function.
9832         (org-add-protective-commas): Declare a new external function.
9834         * org-src.el (org-add-protective-commas): This should be its own
9835         function.
9836         (org-edit-src-exit): Use the new function.
9838         * org-compat.el (org-labels): Remove.
9840         * org-bibtex.el (org-bibtex-headline): Don't use `org-labels'.
9842         * ob.el (org-babel-sha1-hash, org-babel-noweb-p): Ditto.
9844         * ob.el (org-babel-string-read): Don't automatically evaluate code
9845         block results which look like elisp.
9846         (org-babel-import-elisp-from-file): Raise a warning message when
9847         the process of reading code block results raises an error.
9849         * ob-tangle.el (org-babel-with-temp-filebuffer): Don't execute
9850         macro argument multiple times.
9852         * org.el (org-compat): Require org-compat before we first use one
9853         of its functions (a macro actually).
9855         * ob-comint.el (org-babel-comint-with-output): Don't name the
9856         filter function, but rather pass through the anonymous lambda
9857         directly.
9859         * org.el (org-babel-load-languages): Common lisp should be
9860         mentioned as a supported babel language.
9862         * org-clock.el (org-clock-special-range): "concat 'string" ->
9863         "concat"
9864         (org-clocktable-shift): "concat 'string" -> "concat"
9866         * org-bibtex.el (org-bibtex-headline): Replacing org-flet with
9867         org-labels.
9869         * ob-calc.el (org-babel-execute:calc): Strip single quotes from
9870         calc internal representations.
9872         * org-clock.el (org-clock-special-range): Replacing cl concatenate
9873         with concat.
9874         (org-clocktable-shift): Replacing cl concatenate with concat.
9876         * ob.el (org-babel-edit-distance): Remove use of map at runtime.
9878         * org-compat.el (org-flet): Compatibility function now that flet
9879         has been removed from cl-macs.
9880         (org-labels): Compatibility function now that labels has been
9881         removed from cl-macs.
9883         * ob-R.el (org-compat): Require org-compat.
9885         * ob-comint.el: Require org-compat.
9887         * ob-exp.el (org-babel-exp-do-export): Switch to compatibility
9888         function.
9890         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Switch to
9891         compatibility function.
9893         * ob-lob.el (org-babel-lob-get-info): Switch to compatibility
9894         function.
9895         (org-babel-lob-execute): Switch to compatibility function.
9897         * ob-python.el (org-babel-python-evaluate-session): Switch to
9898         compatibility function.
9900         * ob-ref.el (org-babel-ref-index-list): Switch to compatibility
9901         function.
9903         * ob-sh.el (org-babel-sh-var-to-string): Switch to compatibility
9904         function.
9906         * ob-tangle.el (org-babel-load-file): Switch to compatibility
9907         function.
9908         (org-babel-tangle): Switch to compatibility function.
9909         (org-babel-spec-to-string): Switch to compatibility function.
9911         * ob.el (org-babel-view-src-block-info): Switch to compatibility
9912         function.
9913         (org-babel-execute-src-block): Switch to compatibility function.
9914         (org-babel-edit-distance): Switch to compatibility function.
9915         (org-babel-switch-to-session-with-code): Switch to compatibility
9916         function.
9917         (org-babel-sha1-hash): Switch to compatibility function.
9918         (org-babel-balanced-split): Switch to compatibility function.
9919         (org-babel-join-splits-near-ch): Switch to compatibility function.
9920         (org-babel-get-rownames): Switch to compatibility function.
9921         (org-babel-format-result): Switch to compatibility function.
9922         (org-babel-insert-result): Switch to compatibility function.
9923         (org-babel-examplize-region): Switch to compatibility function.
9924         (org-babel-merge-params): Switch to compatibility function.
9925         (org-babel-noweb-p): Switch to compatibility function.
9926         (org-babel-expand-noweb-references): Switch to compatibility
9927         function.
9929         * org-bibtex.el (org-bibtex-headline): Switch to compatibility
9930         function.
9931         (org-bibtex-fleshout): Switch to compatibility function.
9932         (org-bibtex-read): Switch to compatibility function.
9933         (org-bibtex-write): Switch to compatibility function.
9935         * org-exp-blocks.el (org-export-blocks-preprocess): Switch to
9936         compatibility function.
9938         * org-exp.el (org-export-format-source-code-or-example): Switch to
9939         compatibility function.
9941         * org-macs.el (org-called-interactively-p): Indentation fix.
9943         * org-mouse.el (org-mouse-timestamp-today): Switch to
9944         compatibility function.
9945         (org-mouse-set-priority): Switch to compatibility function.
9946         (org-mouse-popup-global-menu): Switch to compatibility function.
9947         (org-mouse-context-menu): Switch to compatibility function.
9949         * org-plot.el (org-plot/gnuplot-to-grid-data): Switch to
9950         compatibility function.
9951         (org-plot/gnuplot-script): Switch to compatibility function.
9953         * org.el (org-entry-get): Switch to compatibility function.
9954         (org-fill-paragraph): Switch to compatibility function.
9955         (org-auto-fill-function): Switch to compatibility function.
9957         * ob-lob.el (org-babel-lob-execute): Only try to insert extant
9958         hashes.
9960         * ob-R.el (org-babel-R-command): From a defvar to a defcustom.
9962         * ob.el (org-babel-set-current-result-hash): Change the hash of
9963         the results for the current code block.
9964         (org-babel-current-result-hash): Fix documentation.
9966         * ob-lob.el (org-babel-lob-execute): Don't re-execute the called
9967         function if the current call line hash matches that in its
9968         results.
9970         * ob-R.el (org-babel-R-assign-elisp): Can't assume every entry in
9971         a table is a sequence.
9973         * ob-R.el (org-babel-R-assign-elisp): Clean up the code
9974         implementing reads of irregular data into R.
9976         * ob.el (org-babel-header-arg-expand): In new buffers
9977         (char-before) may return nil so use equal rather than =.
9979         * ob-R.el (org-babel-header-args:R): Adding values.
9981         * ob-clojure.el (org-babel-header-args:clojure): Adding values.
9983         * ob-lisp.el (org-babel-header-args:lisp): Adding values.
9985         * ob-sql.el (org-babel-header-args:sql): Adding values.
9987         * ob-sqlite.el (org-babel-header-args:sqlite): Adding values.
9989         * ob.el (org-babel-combine-header-arg-lists): Combine lists of
9990         arguments and values.
9991         (org-babel-insert-header-arg): Use new combined header argument
9992         lists.
9993         (org-babel-header-arg-expand): Add support for completing-read
9994         insertion of header arguments after ":"
9995         (org-babel-enter-header-arg-w-completion): Completing read
9996         insertion of header arguments
9997         (org-tab-first-hook): Adding header argument completion.
9998         (org-babel-params-from-properties): Combining header argument
9999         lists.
10001         * ob-exp.el (org-babel-exp-results): Ensure noweb expanded body is
10002         used on export.
10004         * ob.el (org-babel-result-to-file): New optional description
10005         argument.
10006         (org-babel-insert-result): Move description logic to another
10007         function.
10009         * ob.el (org-babel-insert-result): Change name of filelinkdescr to
10010         file-desc.
10011         (org-babel-common-header-args-w-values): Change name of
10012         filelinkdescr to file-desc.
10014         * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled C
10015         files on windows.
10017         * ob-exp.el (org-babel-exp-code): Escape all lines when exporting
10018         Org-mode blocks.
10020         * ob.el (org-babel-parse-src-block-match): Make use of the new
10021         language argument to org-babel-strip-protective-commas.
10022         (org-babel-parse-inline-src-block-match): Make use of the new
10023         language argument to org-babel-strip-protective-commas.
10024         (org-babel-strip-protective-commas): Now accepts a language
10025         argument.
10027 2012-09-30  Fabrice Niessen  <fniessen-TA4HMoP+1wHrZ44/DZwexQ@public.gmane.org>  (tiny change)
10029         * org-agenda.el (org-agenda-write-buffer-name): Remove the test
10030         for the presence of <style> tag.
10032 2012-09-30  Feng Shu  <tumashu@gmail.com>
10034         * org.el (org-create-formula-image-with-imagemagick):
10035         Use 'call-process to launch latex so that no shell output buffer will
10036         be shown when previewing formulas.
10038         * org.el (org-create-formula-image-with-imagemagick): Fix typo.
10040         * org.el (org-latex-create-formula-image-program): New option to
10041         use either dvipng or imagemagick to convert and preview LaTeX
10042         fragments.
10043         (org-preview-latex-fragment, org-format-latex): Handle the new
10044         option.
10045         (org-create-formula-image-with-dvipng): Rename from
10046         `org-create-formula-image'.
10047         (org-create-formula-image-with-imagemagick): New defun to handle
10048         LaTeX preview with imagemagick.
10049         (org-latex-color, org-latex-color-format): New defuns to handle
10050         color conversions.
10052         * org-latex.el (org-latex-to-pdf-process, org-export-as-pdf):
10053         Allow to use imagemagick to convert LaTeX fragments.
10055         * org-html.el (org-export-html-preprocess): Ditto.
10057         * org-exp.el (org-export-with-LaTeX-fragments): Ditto.
10059 2012-09-30  George Kettleborough  <g.kettleborough@member.fsf.org>
10061         * org-clock.el: New option `org-clock-clocked-in-display' to
10062         control whether the current clock is displayed in the mode line
10063         and/or frame title.
10065         * org-timer.el: New option `org-timer-display' to control whether
10066         the current timer is displayed in the mode line and/or frame
10067         title.
10069 2012-09-30  Hans-Peter Deifel  <hpdeifel@gmx.de>  (tiny change)
10071         * ob.el (org-babel-execute-src-block): Allow the :dir header
10072         argument to take relative file names.
10074 2012-09-30  Harri Kiiskinen  <harri@pp-kaitue.(none)>  (tiny change)
10076         * org-protocol.el: New option.
10077         (org-protocol-store-link, org-protocol-do-capture): Use it.
10079 2012-09-30  Henning Weiss  <hdweiss@gmail.com>
10081         * org-mobile.el (org-mobile-edit): Add handling of addheading,
10082         refile, archive, archive-sibling and delete edit nodes.
10083         (org-mobile-locate-entry): Olp links containing only a file are
10084         now be located correctly.
10085         (org-mobile-apply): Instead of finding the location of all target
10086         headings for edit nodes in a separate loop, they will be found
10087         immediately before applying edits.
10089         * org-mobile.el (org-mobile-sumo-agenda-command): Use a shorter
10090         title.
10092 2012-09-30  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
10094         * org.el (org-parse-time-string): Allow strings supported by
10095         tags/properties matcher (eg <now>, <yesterday>, <-7d>) if the time
10096         starts with < and ends with >.  This means that e.g. in the
10097         clocktable parameters you can specify :tstart "<-1w>" :tend
10098         "<now>".
10100 2012-09-30  Ippei FURUHASHI  <top.tuna+orgmode@gmail.com>  (tiny change)
10102         * org-colview.el (org-columns): New argument `columns-fmt-string'.
10104         * org-colview.el (org-columns-get-format-end-top-level):
10105         Split into `org-columns-get-format' and `org-columns-goto-top-level'.
10107         * org-colview.el (org-dblock-write:columnview): Add a new
10108         parameter :format which specifies the column view format for the
10109         output of the columnview dynamic block.
10111 2012-09-30  Jambunathan K  <kjambunathan@gmail.com>
10113         * org-lparse.el (org-lparse-and-open)
10114         (org-lparse-do-convert): Open exported files with system-specific
10115         application.
10117         * org-odt.el: Don't meddle with `org-file-apps'.
10119         * org-compat.el (org-condition-case-unless-debug): Alias to
10120         `condition-case' when both `condition-case-no-debug' and
10121         `condition-case-unless-debug' is unavailable.
10123         * org-odt.el (org-odt-do-image-size): Replace `flet' with
10124         equivalent construct.
10126         * org-odt.el (org-odt-cleanup-xml-buffers):
10127         Use `condition-case-no-debug' instead of
10128         `condition-case-unless-debug'.  This ensures backward
10129         compatibility with Emacs versions < 24.1.
10131         * org-odt.el (org-odt-zip-dir)
10132         (org-odt-cleanup-xml-buffers): New.
10133         (org-export-as-odt-and-open, org-export-as-odt)
10134         (org-odt-init-outfile, org-odt-save-as-outfile)
10135         (org-export-as-odf, org-export-as-odf-and-open):
10136         Use `org-odt-cleanup-xml-buffers'.
10138         * org-odt.el (org-export-odt-default-org-styles-alist):
10139         Add default character style.
10141         * org-odt.el (org-export-odt-default-org-styles-alist):
10142         Add default character style.
10144         * org-lparse.el (org-do-lparse): Remove stray call to
10145         `org-export-html-after-blockquotes-hook'.
10147         * org-bbdb.el (org-bbdb-export): Add support for ODT format.
10149         * org-odt.el (org-odt-update-meta-file): Check for `org-version'
10150         is bound before accessing it.
10152         * org-odt.el (org-odt-schema-dir-list): OD Schema files have been
10153         moved away from $(git-root)/contrib/odt/etc/schema/ to
10154         $(git-root)/etc/schema/.
10156         * org-odt.el (org-odt-format-org-link): Pay no heed to whether the
10157         internal links destined for headlines provide a description or
10158         not.  In fact, the `org-store-link' and `org-insert-link' create
10159         internal links which do have a description.
10161         * org-lparse.el (org-lparse-insert-org-table): Consider short
10162         caption as plain text and not as org text.
10164         * org-odt.el (org-export-odt-format-formula)
10165         (org-export-odt-format-image): Ditto.
10167         * org-odt.el (org-odt-begin-table)
10168         (org-export-odt-format-formula, org-export-odt-format-image)
10169         (org-odt-format-entity): Handle short caption.
10171         * org-lparse.el (org-lparse-insert-org-table)
10172         (org-lparse-insert-list-table, org-lparse-insert-table-table):
10173         Ditto.
10175 2012-09-30  Jay McCarthy  <jay.mccarthy@gmail.com>  (tiny change)
10177         * org-colview.el (org-columns-new-overlay): Make sure to add a
10178         face to a string that has no face.
10180 2012-09-30  Jérémie Courrèges-Anglas  <jca@wxcvbn.org>  (tiny change)
10182         * org-latex.el: Ensure a final newline is appended to the export
10183         buffer.
10185 2012-09-30  Levin Du  <zslevin@gmail.com>  (tiny change)
10187         * org-clock.el (org-clock-in): Fix bug in setting the clock
10188         heading.
10190 2012-09-30  Madan Ramakrishnan  <madanr79@gmail.com>  (tiny change)
10192         * org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as
10193         advertised by the function.
10195 2012-09-30  Mark E. Shoulson  <mark@kli.org>  (tiny change)
10197         * org.el (org-fontify-entities): Hide {} when prettifying
10198         entities.
10200 2012-09-30  Mark Shoulson  <mark@kli.org>  (tiny change)
10202         * org-entities.el (org-entities): Add new entities for characters
10203         which could cause formatting changes if typed directly.
10205         * org-entities.el (org-entities): Add \asciicirc entity for ^;
10206         also fixed \circ expansion in latex.
10208         * org.el (org-fontify-entities): Fix bug: The entities \sup[123]
10209         and \there4 were not "prettified" when org-pretty-entities was
10210         enabled.
10212 2012-09-30  Mats Lidell  <matsl@xemacs.org>  (tiny change)
10214         * org-element.el (org-element-paragraph-separate):
10215         Remove redundant and misplaced t clause in case.
10217 2012-09-30  Matt Lundin  <mdl@imapmail.org>
10219         * org-datetree.el: Fix regexp to allow datetree to find headings
10220         with trailing whitespace.  This fixes a bug in which an existing
10221         datetree heading (e.g., "* 2012 ") would not be found by
10222         org-datetree-find-year-create if it had trailing whitespace.
10223         This can cause problems, for instance, if one is using column view on
10224         the date tree, since editing subheadings with column view adds
10225         whitespace at the end of the top heading.
10227         * org-footnote.el (org-footnote-new): Don't call
10228         org-footnote-unique-label if org-footnote-auto-label is set to
10229         random.
10231         * org-gnus.el (org-gnus-follow-link): Fix argument to
10232         gnus-group-read-group so that following a link does not result in
10233         unread article being selected.
10235         * org-bbdb.el (org-bbdb-anniv-extract-date)
10236         (org-bbdb-make-anniv-hash): Fix org-bbdb anniversary functionality
10237         to accommodate BBDB 3.x.  There are two major changes in BBDB 3.x
10238         that need to be taken into account.  The first is that
10239         `bbdb-split' reverses the order of its parameters in 3.x.
10240         The second is that `bbdb-record-getprop' is replaced by
10241         bbdb-record-note in 3.x.
10243 2012-09-30  Max Mikhanosha  <max@openchat.com>
10245         * org-agenda.el (org-agenda-change-all-lines): Speedup refresh of
10246         a single line of agenda by narrowing the agenda buffer to just
10247         that line before calling `org-agenda-finalize'.
10249         * org.el (org-mode): Don't set org-hide's foreground to
10250         "invisible-bg".
10251         (org-find-invisible-foreground): New function.
10253         * org-agenda.el (defvar org-habit-show-all-today): New variable
10254         (org-agenda-get-scheduled): Show all habits if user wants it
10256         * org-habit.el (defcustom org-habit-show-all-today): New variable
10258         * org-agenda.el (org-agenda-quit): Copy the code for optionally
10259         restoring window configuration after burying the sticky agenda
10260         buffer.
10262         * org-agenda.el (org-agenda-new-marker): Check for NIL
10263         org-agenda-buffer
10264         (org-agenda-to-appt): Bind org-agenda-buffer to NIL
10266         * org-agenda.el (org-agenda-change-all-lines): Move accessing of
10267         'extra text property outside of with-current-buffer for original
10268         buffer
10270         * org-agenda.el (defvar org-habit-show-habits-only-for-today):
10271         initialize to nil
10273 2012-09-30  Michael Brand  <michael.ch.brand@gmail.com>
10275         * org-id.el (org-id-link-to-org-use-id): Align the doc string to
10276         the changed default.
10278         * ob-tangle.el (org-babel-tangle-collect-blocks): Use dummy string
10279         when heading has no text.
10281         * org-capture.el (org-capture-inside-embedded-elisp-p):
10282         Improve parsing.
10284         * org-feed.el (org-feed-format-entry): Require `org-capture'.
10285         Expand Elisp %(...) templates.
10286         (org-feed-default-template): Update docstring.
10288         * org-capture.el (org-capture-expand-embedded-elisp):
10289         New function.
10290         (org-capture-fill-template): Use it.
10291         (org-capture-inside-embedded-elisp-p): New function to tell if we
10292         are within an Elisp %(...) template.
10294         * org-list.el (org-at-item-description-p)
10295         (org-list-item-body-column): Make the inline regexp more
10296         consistent with `org-list-full-item-re', the inline regexp
10297         "Description list items" from `org-set-font-lock-defaults and
10298         others'.
10300 2012-09-30  Mike Sperber  <sperber@deinprogramm.de>
10302         * org.el (org-fill-paragraph): Pass optional argument to
10303         `fill-paragraph' to fix compatibility with XEmacs.
10305         * org.el (org-self-insert-cluster-for-undo):
10306         Default `org-self-insert-cluster-for-undo' also on XEmacs.
10308         * org.el (org-kill-line): Access `visual-line-mode' only if it's
10309         bound.
10311 2012-09-30  Muchenxuan Tong  <demon386@gmail.com>  (tiny change)
10313         * org-timer.el (org-timer-set-mode-line):
10314         Check `org-timer-display' when value is 'off.
10316 2012-09-30  Nicolas Calderon Asselin  <nicolas.calderon.asselin@gmail.com>  (tiny change)
10318         * org-clock.el (org-clock-idle-time): Org-mode assumed that
10319         x11idle was an available command, and returned an idle time of 0
10320         if it was not
10321         (never idle): Add checks so that org-idle-time will come from
10322         emacs' own current-idle-time if x11idle cannot be found or if it
10323         cannot retrieve the idle time from X11
10325 2012-09-30  Nicolas Goaziou  <n.goaziou@gmail.com>
10327         * org-element.el: Properly remove COMMENT and QUOTE keywords from
10328         title in parser.
10330         * org-element.el (org-element-headline-parser): Fix parsing for
10331         headlines with a single COMMENT or QUOTE keyword.
10333         * ob-org.el (org-babel-default-header-args:org): By default,
10334         export code from Org src blocks.
10336         * org-element.el (org-element-inline-src-block-successor):
10337         Fix inline-src-block parsing at the beginning of an item.
10339         * org-element.el (org-element--collect-affiliated-keywords):
10340         Fix caption parsing.
10342         * org-element.el (org-element--current-element): At the very
10343         beginning of a footnote definition or an item, next element is
10344         always a paragraph.
10346         * org-element.el (org-element-headline-parser): Handle nil titles.
10347         (org-element-inlinetask-parser): Add :raw-value property.
10348         Also handle nil titles.
10350         * org.el (org-set-regexps-and-options): Don't consider tags as a
10351         replacement for a missing title in an headline.
10353         * org.el (org-setup-filling): Remove duplicate code.
10355         * org.el (org-adaptive-fill-function): Make sure fill prefix is
10356         computed from beginning of line.
10358         * org-element.el (org-element-section-parser): Make sure section
10359         cannot contain an headline.
10360         (org-element--current-element): Fix bug requiring to parse a quote
10361         section even when point is at an headline.
10363         * org.el (org-adaptive-fill-function): Remove occasional spurious
10364         space character when auto-filling.
10366         * org.el (org-mode): Call external initalizers.  Now both filling
10367         code and comments code have their own independant part in org.el.
10368         (org-setup-filling): Rename from `org-set-autofill-regexps'.
10369         (org-setup-comments-handling): New function.
10371         * org.el (org-fill-paragraph): Refine filling in comments and in
10372         paragraphs.  Allow commented blank lines.  Take into consideration
10373         the indentation of the second line of the paragraph being filled.
10374         (org-comment-or-uncomment-region): Rewrite function.  Now comment
10375         region at a fixed column: the minimal indentation of the region.
10376         (org-fill-context-prefix): Rename function into
10377         `org-adaptive-fill-function'.  Also, In a paragraph, choose the
10378         same prefix as the current line.
10380         * org-exp.el (org-export-handle-comments): Also remove comments at
10381         column 0.
10383         * org-exp.el (org-export-handle-comments): Handle inline comments
10384         with new syntax.
10386         * org.el (org-structure-template-alist): Add missing colon to
10387         #+INCLUDE.
10389         * org.el (org-backward-element): When called at the beginning of
10390         first element in section, the function shouldn't return an error
10391         but move point to headline or point-min instead.
10393         * org-element.el (org-element-paragraph-parser): Tiny refactoring.
10395         * org-element.el (org-element-paragraph-parser): Remove trailing
10396         code comments.
10398         * org.el (org-fill-context-prefix): Fix incorrect output when
10399         called at the beginning of a plain list with an affiliated
10400         keyword.
10401         (org-fill-paragraph): Remove useless variable.
10403         * org-element.el (org-element-paragraph-parser): Fix parsing of
10404         paragraph at the beginning of an item.
10406         * org.el (org-mode): Set back comment-start-skip so comment-dwim
10407         can tell a keyword from a comment.
10409         * org.el (org-set-autofill-regexps): Install new comment line
10410         break function.
10411         (org-comment-line-break-function): New function.
10412         (org-mode): Remove unnecessary line.
10414         * org.el (org-fill-context-prefix, org-fill-paragraph): Do not
10415         fill verse blocks contents.  Verse blocks can be used to format
10416         free-form poetry, so filling has to be done manually.
10418         * org.el (org-fill-paragraph-separate-nobreak-p): New function.
10419         (org-set-autofill-regexps): Introduce new predicate.
10420         (org-fill-item-nobreak-p): Remove function.
10422         * org-element.el (org-element-paragraph-separate): Since this
10423         variable is meant to be searched forward, \end{...} shouldn't
10424         trigger the end of a paragraph before checking if it is the end of
10425         a complete environment.
10426         (org-element-latex-environment-parser): Slight change to the
10427         regexp matching the beginning of a latex environment.
10428         (org-element-paragraph-parser): Paragraphs don't end at incomplete
10429         latex environments.
10430         (org-element-latex-or-entity-successor): Remove paragraph
10431         environments from latex fragment search.
10433         * org-table.el (org-table-number-regexp): By default, accept comma
10434         as a decimal mark to represent numbers.
10436         * org-element.el (org-element-map): Fix comment typo.
10438         * org.el (org-fill-paragraph): Add a `save-excursion' to avoid
10439         returning funny results.
10441         * org.el (org-fill-paragraph): Try not to include message header
10442         and citation lines in a paragraph when filling it.
10444         * org.el (org-fill-paragraph): Fix filling in a narrowed buffer.
10445         (org-fill-context-prefix): Fill prefix doesn't depend on current
10446         narrowing.
10448         * org.el (org-mode): Line with a single hash sign on it is a
10449         comment.
10451         * org.el (org-set-font-lock-defaults): Fix comment fontification.
10453         * org-element.el (org-element-item-parser): Do not remove tag from
10454         body if list isn't descriptive.
10456         * org-list.el (org-insert-item): Only ask about a term for
10457         descriptive lists.
10458         (org-list-struct, org-list-insert-item): Do not recognize a tag in
10459         an ordered list.
10461         * org-element.el (org-element-set-element): Rewrite function.
10462         (org-element-adopt-elements): New function.
10463         (org-element-adopt-element): Remove function.
10464         (org-element--parse-elements, org-element--parse-objects): Use new
10465         function.
10467         * org-list.el (org-list-automatic-rules): Remove `bullet' rule,
10468         which is now hard-coded.
10469         (org-cycle-list-bullet): Hard code `bullet' rule.
10470         (org-list-get-list-type): Make sure a list with numbered bullets
10471         cannot have `descriptive' type.
10473         * org-element.el (org-element-paragraph-parser): Fix previous
10474         patch.
10476         * org.el (org-fill-paragraph): No need to use
10477         `org-element-paragraph-separate' in a verse block since blank
10478         lines only can end a "paragraph".
10480         * org-element.el (org-element-paragraph-separate): Apply changes
10481         to comments.
10482         (org-element-paragraph-parser): Correctly find end of paragraphs.
10483         (org-element--current-element): Require colons for Babel calls.
10484         (org-element-center-block-parser)
10485         (org-element-dynamic-block-parser, org-element-quote-block-parser)
10486         (org-element-special-block-parser)
10487         (org-element-comment-block-parser)
10488         (org-element-example-block-parser)
10489         (org-element-export-block-parser, org-element-src-block-parser)
10490         (org-element-verse-block-parser): Fall-back to paragraph parsing
10491         when incomplete or ill-formed.
10493         * org-element.el (org-element-swap-A-B): Small refactoring.
10495         * org-element.el (org-element-text-markup-successor): Fix typo in
10496         docstring.
10498         * org-element.el (org-element-at-point): Return consistent value
10499         when function is called on a blank line within a plain list.
10501         * org-element.el (org-element-paragraph-separate): Fix comments in
10502         paragraph separator regexp.  Optimize it.
10504         * org-element.el: Update code commets.
10506         * org.el (org-mark-subtree): Fix bug when marking subtree with
10507         point on an inlinetask.  Refactor code.
10509         * org.el (org-mark-subtree): Do not make a special case for
10510         inlinetasks when marking a subtree.  These are handled by
10511         `org-element-mark-element'.
10513         * org-element.el (org-element-comment-parser): Consider first "+"
10514         as a comment when parsing an ill-defined keyword.
10516         * org-element.el (org-element-item-interpreter): Simplify bullet
10517         creation.
10518         (org-element-plain-list-interpreter): Fix wrong bullets, if
10519         needed.
10521         * org-element.el (org-element-comment-parser): Fix parsing when a
10522         keyword follows the commented line.
10524         * org.el (org-fill-context-prefix): Auto-fill first paragraph in
10525         footnote definitions.
10527         * org.el (org-mode): Define new comment syntax.
10528         (org-fontify-meta-lines-and-blocks-1, org-strip-protective-commas)
10529         (org-fill-context-prefix, org-insert-comment)
10530         (org-comment-or-uncomment-region): Use new comment syntax.
10532         * org-element.el (org-element-comment-parser)
10533         (org-element-comment-interpreter, org-element--current-element):
10534         Use new comment syntax.
10536         * org.el (org-fill-paragraph): When at an item or a footnote
10537         definition, fill first paragraph instead.
10539         * org.el (org-fill-paragraph): Fix filling when point is at the
10540         very end of a paragraph.
10542         * org.el (org-mode): Set comments related variables.
10543         (org-insert-comment, org-comment-or-uncomment-region):
10544         New functions.
10546         * org.el (org-fill-context-prefix): Small refactoring.
10547         (org-fill-paragraph): Add code comments.
10549         * org-element.el (org-element-at-point): Add :parent property to
10550         output.
10551         (org-element-context): Add :parent property to output.
10552         Also return a single element or object instead of a list of parents.
10553         (org-element-forward, org-element-up): Apply changes.
10555         * org.el (org-fill-context-prefix): New function.
10556         (org-fill-paragraph, org-auto-fill-function): Use new function.
10557         Also handle comments.
10558         (org-adaptive-fill-function): Remove function.
10559         (org-get-local-variables, orgstruct++-mode): Don't store now
10560         unused adaptive-fill* functions.
10562         * org-element.el (org-element-at-point): Fix function when buffer
10563         starts with an inlinetask.  Also fix it when called on the last
10564         element in a greater element or the buffer.
10566         * org-element.el (org-element-center-block-parser)
10567         (org-element-dynamic-block-parser)
10568         (org-element-footnote-definition-parser)
10569         (org-element-headline-parser, org-element-inlinetask-parser)
10570         (org-element-quote-block-parser, org-element-special-block-parser)
10571         (org-element-plain-list-parser): Refactor code.
10572         (org-element-drawer-parser): Fall-back to paragraph parser when
10573         drawer is incomplete.
10575         * org-macs.el (org-with-limited-levels): Fix typo.
10577         * org-element.el (org-element-paragraph-separate): Refactor.
10578         (org-element-paragraph-parser): Fix paragraph parsing.
10580         * org.el (org-fill-paragraph): Rewrite function using
10581         `org-element-at-point'.
10583         * org-element.el (org-element-fill-paragraph): Remove function.
10585         * org.el (org-planning-or-clock-line-re): Make it a defconst.
10586         It's no use to make it a buffer-local variable since variables on
10587         which it depends are not buffer-local anyway.
10589         * org.el (org-drawer-regexp): Provide default value for
10590         `org-drawer-regexp' in non-Org buffers.
10592         * org-entities.el (org-entities-create-table): Function chokes
10593         when CAR of `org-entities' is a string.
10595         * org-list.el (org-list-automatic-rules): Allow check-boxes in
10596         description lists.
10597         (org-list-struct-apply-struct, org-insert-item): Remove rule
10598         check.
10600         * org-footnote.el (org-footnote-normalize): Fix positionning in
10601         HTML export without a footnote section.
10603         * org-list.el (org-list-struct-indent):
10604         Follow `org-list-demote-modify-bullet' specifications for ordered
10605         bullets.
10606         (org-list-indent-item-generic, org-indent-item-tree)
10607         (org-outdent-item-tree): Fix bug when operating on a region.
10608         (org-outdent-item, org-indent-item): Allow to operate on a region.
10610         * org.el (org-shiftmetaleft, org-shiftmetaright): Allow to operate
10611         on a region.
10613         * org-footnote.el (org-footnote-delete-definitions): Remove blank
10614         lines before the footnote definition instead of removing those
10615         after it.
10617         * org-footnote.el (org-footnote-at-definition-p): Don't grab
10618         trailing blank lines in a footnote definition.
10619         (org-footnote-delete-definitions): Remove both footnote definition
10620         and trailing blank lines.
10622 2012-09-30  Rick Frankel  <rick@rickster.com>
10624         * ob-sql.el: Add dbi engine type and pre/post processing.
10626 2012-09-30  Sean O'Halpin  <sean.ohalpin@gmail.com>  (tiny change)
10628         * ob.el (org-babel-expand-noweb-references): Capture current noweb
10629         start and end patterns then use to set buffer locals in
10630         (with-temp-buffer) form.
10632 2012-09-30  Sebastien Vauban  <sva@mygooglest.com>  (tiny change)
10634         * org.el (org-update-all-dblocks): Autoload function.
10636 2012-09-30  Simon Thum  <simon.thum@gmx.de>  (tiny change)
10638         * ob-maxima.el (org-babel-execute:maxima): Let cmdline always
10639         return a string.
10641 2012-09-30  Stephen Eglen  <S.J.Eglen@damtp.cam.ac.uk>  (tiny change)
10643         * org-icalendar.el (org-icalendar-timezone): Fix typo and clarify
10644         meaning.
10646 2012-09-30  Stuart Hickinbottom  <stuart@hickinbottom.com>  (tiny change)
10648         * org-clock.el (org-x11idle-exists-p): Only shell out when running
10649         on X.
10651 2012-09-30  Suhail Shergill  <suhailshergill@gmail.com>  (tiny change)
10653         * org-html.el (org-export-as-html): If possible, use the
10654         :CUSTOM_ID: property to assign unique ids to footnotes.
10656 2012-09-30  T.F. Torrey  <tftorrey@tftorrey.com>  (tiny change)
10658         * org-exp.el (org-export-remember-html-container-classes):
10659         Allow exporting a single subtree with HTML_CONTAINER_CLASS property.
10661         * org-rmail.el (org-rmail-follow-link): Use `rmail-widen' instead
10662         of `widen' and don't toggle header as `rmail-widen' already takes
10663         care of this.
10665 2012-09-30  Tim Howe  <vsync@quadium.net>  (tiny change)
10667         * org-clock.el (org-clocktable-defaults): Revert extra layer of
10668         quoting.
10670 2012-09-30  Toby S. Cubitt  <tsc25@cantab.net>
10672         * org-capture.el (org-capture-fill-template): Expand %<num> escape
10673         sequences into text entered for <num>'th %^{PROMPT} escape.
10675         * org-capture.el (org-capture-fill-template): Fix regexp for
10676         %<n> expandos to match any positive integer.
10677         (org-capture-templates): Update docstring accordingly.
10679         * org-agenda.el (org-agenda-skip-timestamp-if-deadline-is-shown):
10680         Skip timestamp items in agenda view if item is already shown as a
10681         deadline item.
10682         (org-agenda-skip-deadline-if-done): Pass deadline results to
10683         org-agenda-get-timestamps.
10684         (org-agenda-get-timestamps): Optionally take list of deadline
10685         results, so that timestamp results can be skipped if already
10686         included in deadline results.
10688         * org-agenda.el (org-agenda-diary-sexp-prefix): Regexp matching
10689         deadline/scheduling information to be displayed in diary sexp
10690         agenda items.
10691         (org-agenda-get-sexps): Extract deadline/scheduling information
10692         from diary sexp entries.
10694         * org-capture.el (org-capture-place-entry): Place captured entry
10695         immediately after last subheading of target, instead of just
10696         before next heading at same level as target.
10698         * org-capture.el (org-capture-templates): Document new capture
10699         template properties.
10701         * org-capture.el (org-capture-place-entry)
10702         (org-capture-empty-lines-before): Make new :empty-lines-before
10703         property override :empty-lines when inserting empty lines before
10704         captured captured entry.
10706         * org-capture.el (org-capture-finalize)
10707         (org-capture-empty-lines-after): Make new :empty-lines-after
10708         property override :empty-lines when inserting empty lines after
10709         captured captured entry.
10711         * org-agenda.el (org-agenda-skip-if, org-agenda-skip-if-todo):
10712         Add new todo-unblocked and nottodo-unblocked skip conditions.
10713         These match as for todo and nottodo, but only for unblocked todo items.
10715 2012-09-30  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
10717         * org.el (org-read-date-display): Fix bug when displaying the
10718         overlay.
10720 2012-09-30  Niels Giesen  <niels.giesen@gmail.com>
10722         * org-table.el (orgtbl-to-generic): Add check for :skipheadrule.
10723         When present, the :hline following the head will be skipped.
10724         This is necessary to avoid doubling of horizontal rules in LaTeX
10725         longtable environments and consequent width problems.
10727         * org-latex.el (org-export-latex-tables-tstart)
10728         (org-export-latex-tables-hline)
10729         (org-export-latex-tables-tend): New options.
10730         (org-export-latex-tables): Use the new options.
10732 2012-09-30  Feng Shu  <tumashu@gmail.com>  (tiny change)
10734         * org-exp.el (org-export-language-setup): Add simplified chinese
10735         translation.
10737 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
10739         Better seed support for (random).
10740         * org-id.el (org-id-uuid):
10741         Change (random t) to (random), now that the latter is more random.
10743 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
10745         Don't use the abbreviation "win" to refer to Windows (Bug#10421).
10746         * ob-lilypond.el (ly-w32-ly-path): Rename from ly-win32-ly-path.
10747         (ly-w32-pdf-path): Rename from ly-win32-pdf-path.
10748         (ly-w32-midi-path): Rename from ly-win32-midi-path.
10749         (ly-determine-ly-path, ly-determine-pdf-path, ly-determine-midi-path):
10750         Check for "windows-nt", not "win32", in system-type.
10752 2012-06-02  Chong Yidong  <cyd@gnu.org>
10754         * org-clock.el (org-clock-string-limit)
10755         (org-clock-modeline-total, org-clock-task-overrun-text)
10756         (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
10758 2012-05-27  Mark Shoulson  <mark@kli.org>  (tiny change)
10760         * org.el (org-fontify-entities): Fix bug: The entities \sup[123] and
10761         \there4 were not "prettified" when org-pretty-entities was enabled.
10763 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10765         * org.el (org-font-lock-add-priority-faces):
10766         Restrict priorities fontification to headlines and inlinetasks.
10768 2012-05-27  Jambunathan K  <kjambunathan@gmail.com>
10770         * org-odt.el (org-odt-init-outfile)
10771         (org-odt-write-manifest-file):
10772         Disable `nxml-auto-insert-xml-declaration-flag'.
10774         * org-lparse.el (org-do-lparse): Don't trigger auto-mode processing.
10776 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10778         * org.el (org-scan-tags): Fix bug when building the scanner regexp.
10780 2012-05-27  Eric Schulte  <eric.schulte@gmx.com>
10782         * ob.el (org-babel-capitalize-examplize-region-markers):
10783         Controls the capitalization of begin and end example blocks.
10784         (org-babel-examplize-region):
10785         Optionally capitalize example block delimiters.
10787         * ob-plantuml.el (org-babel-execute:plantuml):
10788         Add a :java header argument to plantuml.
10790         * org-exp-blocks.el (org-export-blocks-preprocess):
10791         Even when the body of a block is not indented the boundary markers
10792         should be indented to their original positions so things like list
10793         indentation still work.
10795         * ob.el (org-babel-parse-src-block-match):
10796         Save match data during indentation check.
10798 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10800         * org.el (org-scan-tags): Correctly match TODO keywords.
10802 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10804         * org-list.el (org-list-struct): Fix white spaces.
10805         (org-list-swap-items, org-list-send-item): Fix visibility preservation.
10807         * org-list.el (org-list-swap-items, org-list-send-item):
10808         Preserve visibility when moving items.
10810 2012-05-27  Mark E. Shoulson  <mark@kli.org>  (tiny change)
10812         * org.el (org-fontify-entities): Hide {} when prettifying entities.
10814 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10816         * org.el (org-cycle-internal-global): Prevent the display of
10817         messages when cycling from with a Gnus article buffer.
10819         * org-table.el (org-table-time-seconds-to-string):
10820         Fix bug about handling a negative duration value.
10822 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10824         * org.el (org-link-expand-abbrev): Fix docstring.
10826         * org.el (org-translate-link): Fix bug.
10828 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10830         * org-agenda.el (org-agenda-bulk-mark-regexp):
10831         Fix bug when setting the number of marked entries.
10833         * org-table.el (org-tbl-calc-modes): Rename from `org-table-modes'.
10834         (org-set-calc-mode, org-table-eval-formula): Use it.
10836 2012-05-27  Eric Schulte  <eric.schulte@gmx.com>
10838         * ob.el (org-babel-find-named-result):
10839         Fix bug finding empty named results.
10841 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10843         * org.el (org-set-regexps-and-options):
10844         Fix `org-planning-or-clock-line-re' regexp.  Indeed "\\>" will never
10845         match since time keywords must end with colons, which are not word
10846         constituents.
10848 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10850         * org-ctags.el (org-ctags-new-topic-template):
10851         Fix the option default value back again.
10853 2012-05-27  Eric Schulte  <eric.schulte@gmx.com>
10855         * org-bibtex.el (org-bibtex-export-to-kill-ring):
10856         Don't rely on kill-new to return a string.
10858         * org-bibtex.el (org-bibtex-headline):
10859         Remove call to bibtex-reformat which often hangs.
10861 2012-04-27  Glenn Morris  <rgm@gnu.org>
10863         * org-ctags.el (org-ctags-new-topic-template):
10864         Revert 2012-04-09 removal of * from defcustom value, not doc.
10866 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10868         * org-table.el (org-table-number-fraction): Fix typo.
10870 2012-04-27  Eric Schulte  <eric.schulte@gmx.com>
10872         * ob-python.el (org-babel-execute:python): Ensure newline precedes
10873         automatically-added returns.
10875 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10877         * org-mouse.el (org-mode-hook): Do not move point when clicking on
10878         a footnote reference.
10880 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10882         * org-faces.el (org-date-selected): Fix docstring.
10884 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10886         * org-list.el (org-list-struct-indent):
10887         Follow `org-list-demote-modify-bullet' specifications for ordered
10888         bullets.
10889         (org-list-indent-item-generic, org-indent-item-tree)
10890         (org-outdent-item-tree): Fix bug when operating on a region.
10891         (org-outdent-item, org-indent-item): Allow to operate on a region.
10893         * org.el (org-shiftmetaleft, org-shiftmetaright): Allow to operate
10894         on a region.
10896 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10898         * org-footnote.el (org-footnote-normalize): Fix positioning in
10899         HTML export without a footnote section.
10901 2012-04-27  Madan Ramakrishnan  <madanr79@gmail.com>  (tiny change)
10903         * org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as
10904         advertised by the function.
10906 2012-04-27  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
10908         * org.el (org-read-date-display): Fix bug when displaying the
10909         overlay.
10911 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10913         * org.el (org-mode): Don't use `buffer-face-mode' by default.
10915 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10917         * org-faces.el (org-date-selected): New face.
10919 2012-04-27  Jambunathan K  <kjambunathan@gmail.com>
10921         * org-odt.el (org-odt-format-org-link): Pay no heed to whether the
10922         internal links destined for headlines provide a description or
10923         not.  In fact, the `org-store-link' and `org-insert-link' create
10924         internal links which do have a description.
10926 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10928         * org-clock.el (org-program-exists): Fix docstring.
10930 2012-04-14  Bastien Guerry  <bzg@gnu.org>
10932         * org.el (org-point-at-end-of-empty-headline): Only try to match
10933         `org-todo-line-regexp' when the value is non-nil, e.g. in non-org
10934         modes.
10935         (org-fontify-meta-lines-and-blocks-1): Prevent errors when trying
10936         to fontify beyond (point-max).
10938         * org-clock.el (org-clock-task-overrun-text)
10939         (org-task-overrun, org-clock-get-clock-string)
10940         (org-clock-update-mode-line)
10941         (org-clock-notify-once-if-expired): Rename `org-task-overrun'
10942         and `org-task-overrun-text' to `org-clock-task-overrun' and
10943         `org-clock-task-overrun-text' respectively.
10944         (org-task-overrun-text): New alias.
10946         * org-table.el (org-table-eval-formula): Fix bug about handling
10947         remote references as durations.
10948         (org-table-get-range): Fix bug: make sure references to $0 are
10949         correctly handled.
10951         * org-pcomplete.el (pcomplete/org-mode/file-option):
10952         Fix bug in `pcomplete/org-mode/file-option'.
10953         (org-thing-at-point): Also match line options like LATEX_CLASS
10954         when pcompleting from LATEX_.
10956         * org-agenda.el (org-agenda-filter-make-matcher)
10957         (org-agenda-filter-apply): Allow filtering entries out by
10958         category.  Using `C-u <' from the agenda view will redisplay
10959         the agenda without entries from categories of the current line.
10961 2012-04-14  Eric Schulte  <eric.schulte@gmx.com>
10963         * ob-C.el (org-babel-C-ensure-main-wrap):
10964         Add an explicit return to automatically generated main methods.
10966 2012-04-14  Matt Lundin  <mdl@imapmail.org>
10968         * org.el (org-after-todo-state-change-hook):
10969         Fix docstring to reflect name change of state to `org-state'.
10971 2012-04-14  Mike Sperber  <sperber@deinprogramm.de>  (tiny change)
10973         * org-footnote.el (org-footnote-normalize):
10974         Correctly pass keyword arguments to `org-export-preprocess-string'.
10976 2012-04-03  Bastien Guerry  <bzg@gnu.org>
10978         * org.el (org-todo): Fix regression: rename `state' to
10979         `org-state'.
10980         (org-use-effective-time): Fix group and type.
10982 2012-04-02  Bastien Guerry  <bzg@gnu.org>
10984         * org-clock.el (org-clock-out-if-current): Fix regression: rename
10985         `org-clock-state' to `org-state' to match the name of the
10986         dynamically-scoped variable in `org-todo'.
10988         * org-agenda.el (entry, org-diary, org-class): Fix regression:
10989         rename `org-entry' to `entry'.
10991 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10993         * org.el (org-todo): Fix regression in `org-todo'.
10995 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10997         * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled
10998         C files on windows.
11000 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11002         * ob-exp.el (org-babel-exp-code): Escape all lines when exporting
11003         Org-mode blocks.
11005         * ob.el (org-babel-parse-src-block-match): Make use of the new
11006         language argument to org-babel-strip-protective-commas.
11007         (org-babel-parse-inline-src-block-match): Make use of the new
11008         language argument to org-babel-strip-protective-commas.
11009         (org-babel-strip-protective-commas): Now accepts a language
11010         argument.
11012 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11014         * org.el (org-fast-tag-selection): Fix an bug when listing tags
11015         for completion.
11017 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11019         * org.el (org-delete-property-globally): Fix a bug that left
11020         blank line in place of the property, instead of removing the line.
11022 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11024         * ob-maxima.el (org-babel-maxima-command): Add group information
11025         to the defcustom.
11027 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11029         * org.el (org-mode): Use `buffer-face-mode' to remap the 'default
11030         face to 'org-default.
11032 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11034         * org-ascii.el (org-export-as-ascii): Fix escaping of underscores
11035         in links.
11037 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11039         * org.el: Prevent a bug while defining the menu by requiring
11040         `org-beamer' when necessary.
11042 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11044         * org-table.el (orgtbl-self-insert-command):
11045         Use `backward-delete-char' instead of `delete-backward-char' as this
11046         last command gets caught by the compiler which says to not use it
11047         in programs.  `backward-delete-char' is just an alias for
11048         `delete-backward-char' which is internally remapped to
11049         `org-delete-backward-char' for optimization purpose.
11051 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11053         * org-latex.el (org-export-latex-subcontent): Bugfix: when
11054         `org-export-latex-low-levels' is nil, do not export low levels.
11056 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11058         * ob.el (org-babel-insert-result): Fix bug in indented wrapped
11059         results insertion.
11061 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11063         * org.el (org-set-tags): Include `org-tag-alist' in the list of
11064         possible completions, even when there are tags defined in the
11065         buffer.
11067 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11069         * org.el (org-set-tags): Don't add a column when there is only one
11070         tag offered for completion.
11072 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11074         * org.el (org-fast-tag-selection): Include tags from
11075         `org-tag-alist' when completing with the TAB key.
11077 2012-04-01  Shoji Nishimura  <nishimura.shoji@gmail.com>  (tiny change)
11079         * org.el (org-display-inline-images): Honor the ̀beg' parameter.
11081 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11083         * org-latex.el (org-export-latex-subcontent): Don't insert a
11084         linebreak when itemizing a subtree that is just a headline.
11086 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11088         * ob-lob.el (org-babel-lob-get-info): Remove extra []s when
11089         parsing inline call_foo lines.
11091 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11093         * ob-maxima.el (org-babel-maxima-command): The maxima command used
11094         should be configurable (defaults to maxima-command if defined).
11095         (org-babel-execute:maxima): The maxima command used should be
11096         configurable (defaults to maxima-command if defined).
11098 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11100         * ob-C.el (org-babel-C-execute): Add the local directory to the
11101         library search path for C/C++ block compilation.
11103 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11105         * ob.el (org-babel-where-is-src-block-result): Don't truncate
11106         results name on call line execution.
11108 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11110         * org-colview.el (org-columns-cleanup-item): Handle case of empty
11111         headline.
11113 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11115         * org-footnote.el (org-footnote-delete-definitions): Fix LaTeX
11116         export error when a src block produces fake footnotes.
11118 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11120         * org.el (org-read-date): Don't mention `parse-time-weekdays' and
11121         `parse-time-months' in the docstring.
11123 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11125         * org-agenda.el (org-agenda-filter-apply): Bugfix: Add let
11126         binding.
11128 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11130         * org-colview.el (org-columns-compute): Also consider inline tasks
11131         when computing the sum.
11133 2012-04-01  Thomas Morgan  <tlm@ziiuu.com>  (tiny change)
11135         * org-habit.el (org-habit-insert-consistency-graphs):
11136         Fix alignment of consistency graph in filtered agenda view.
11138 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11140         * org-latex.el (org-export-as-latex): Fix bug in setting the
11141         export directory according to the LaTeX options.
11143 2012-04-01  K.Nagashima  <uni.naga@gmail.com>  (tiny change)
11145         * org.el (org-show-subtree): Make interactive.
11147 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>
11149         * org-clock.el (org-clock-get-table-data): Make sure todo-only
11150         does not leak when it is set by make-org-tags-macher.
11152 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11154         * org.el (org-cycle-internal-local): Don't try to hide drawers
11155         within subtrees in this function, it slows cycling down.
11157 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11159         * org-agenda.el (org-agenda-custom-commands-local-options):
11160         Fix incorrect custom option definition.
11162 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11164         * org-colview.el (org-columns-display-here): Bugfix: use the date
11165         as the value for the ITEM column when displaying a summary.
11167 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11169         * ob-lilypond.el: Re-direct homepage to Worg.
11171 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11173         * ob-lilypond.el: Leave versioning to Org.
11175 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11177         * ob-lilypond.el: Fix compiler warning.
11179 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11181         * org-odt.el (org-odt-format-entity-caption): Enumerate entities
11182         that have either a caption or a label.
11183         (org-odt-label-styles, org-odt-category-map-alist): Add a
11184         separator between sequence number and caption.  Introduced two
11185         new label styles for handling of math formula and math label.
11186         (org-odt-format-label-definition)
11187         (org-export-odt-format-formula): Propagate above changes.
11189 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11191         * org.el (org-enforce-todo-dependencies): Fix docstring.
11193 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11195         * org-odt.el (org-export-odt-category-strings): New custom
11196         variable.
11197         (org-odt-category-map-alist): Modify interpretation.
11198         Don't use the same field to double up as both a OpenDocument
11199         variable and a category string.  Entries in this list now
11200         specify only the OpenDocument variable.  Category strings are
11201         obtained through an indirect lookup of
11202         `org-export-odt-category-strings'.  Use same OpenDocument
11203         variables as what LibreOffice uses for various entities.
11204         Fix docstring.
11205         (org-odt-add-label-definition)
11206         (org-odt-format-label-definition)
11207         (org-odt-format-label-reference): Propagate above changes.
11209 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11211         * org-latex.el (org-export-as-latex): Check TeX-master correctly.
11213 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11215         * org-odt.el (org-odt-category-map-alist): Update docstring.
11216         (org-export-odt-user-categories)
11217         (org-export-odt-get-category-from-label)
11218         (org-odt-get-label-category-and-style): Remove.
11219         (org-odt-add-label-definition): Propagate above changes.
11221 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11223         * org.el (org-refile): Don't allow creation of parents when using
11224         the refile command to go to a headline.
11226 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11228         * org-odt.el (org-odt-format-org-link): Resolve links to headlines
11229         as section numbers only if section numbering is on.
11231 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11233         * org.el (format-spec): Require 'format-spec.
11235 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11237         * org-latex.el (org-export-as-latex): Fix TeX-master declaration.
11239 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11241         * org.el (org-imenu-get-tree): Check that looking-at succeeds
11242         before using match results.
11244 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11246         * org-exp-blocks.el (org-ditaa-jar-path): Make a defcustom.
11248 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11250         * org-lparse.el (org-do-lparse): Make effective setting of
11251         `org-export-headline-levels' available to the ODT exporter.
11252         Also remove some stale comments.
11254 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11256         * org-odt.el (org-odt-begin-toc): Handle named HTML entities in
11257         per-language string for "Table Of Contents".
11259 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11261         * org-exp-blocks.el (org-ditaa-jar-path): Fix merge conflict.
11263 2012-04-01  Shaun Johnson  <shaun@slugfest.demon.co.uk>  (tiny change)
11265         * org-exp-blocks.el (org-ditaa-jar-path): Better heuristic to find
11266         the libary name.
11268 2012-04-01  Suvayu Ali  <fatkasuvayu+linux@gmail.com>
11270         * org-src.el (org-edit-src-code): Change let bind to let*, e.g. if
11271         case-fold-search is bound to nil globally, the
11272         (case-fold-search t) doesn't work until we get to the body.
11274 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11276         * org-latex.el (org-export-latex-tables): Allow to use
11277         sidewaystable.
11279 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11281         * ob.el (org-babel-expand-noweb-references): Fix bug in src name
11282         regexp when using *org-babel-use-quick-and-dirty-noweb-expansion*.
11284 2012-04-01  David Maus  <dmaus@ictsoc.de>
11286         * org.el (org-scan-tags): Require one or more spaces (+) between
11287         keyword and headline.
11289 2012-04-01  David Maus  <dmaus@ictsoc.de>
11291         * org-agenda.el (org-prepare-agenda): Don't reset
11292         `org-done-keywords-for-agenda' when `org-agenda-multi'.
11294 2012-04-01  Thomas Morgan  <tlm@ziiuu.com>  (tiny change)
11296         * org-habit.el (org-habit-insert-consistency-graphs): Fix bug
11297         while inserting habit graph in the agenda buffer.
11299 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11301         * org-src.el (org-src-edit-buffer-p): New function.
11303 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11305         * org-agenda.el (org-agenda-skip-if): Fix the order conditions are
11306         being checked.  Also enhance the docstring a bit.
11308 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11310         * org-agenda.el (org-agenda-tree-to-indirect-buffer): Fix the
11311         display of indirect agenda window.
11313 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11315         * org.el (org-create-formula-image, org-dvipng-color): Fix XEmacs
11316         compatibility bug.
11318 2012-04-01  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
11320         * org-clock.el (org-clock-get-table-data): Bind org-scanner-tags
11321         to tags-list and org-trust-scanner-tags to t while evaluating the
11322         matcher, since the matcher is always evaluated at the current
11323         entry.
11325 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11327         * org.el (org-scan-tags): Bind org-trust-scanner-tags to t while
11328         evaluating the matcher, since the matcher is always evaluated at
11329         the current entry.
11331 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11333         * ob-lilypond.el (ly-compile-lilyfile): Fix misplaced comma in a
11334         quoting expression.
11336 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11338         * ob.el (org-babel-merge-params): Add "eval" as acceptable noweb
11339         argument.
11340         (org-babel-noweb-p): The "eval" argument only expands during
11341         evaluation.
11343 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11345         * ob.el (org-strip-protective-commas): Declared.
11347         * org-agenda.el (org-agenda-filtered-by-category): Declared.
11348         (org-agenda-filter-apply): Capture free variable.
11350         * org-footnote.el (org-skip-whitespace): Declared.
11352         * org-mobile.el (org-agenda-filter): Declared.
11354         * org-src.el (org-strip-protective-commas): Declared.
11356 2012-04-01  Sebastien Vauban  <sva@mygooglest.com>  (tiny change)
11358         * org.el (org-version): Add autoload cookie.
11360 2012-04-01  David Maus  <dmaus@ictsoc.de>
11362         * org-attach.el (org-attach-store-link-p): Remove spurious quote
11363         in customization form choice.
11365 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11367         * ob-sh.el (org-babel-execute:sh): Pass all params to subroutine.
11368         (org-babel-sh-evaluate): Apply :shebang and :padline to shell script
11369         execution.
11371 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11373         * ob.el (org-babel-insert-result): Ensure correct order for empty
11374         result wrapping blocks.
11376 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11378         * ob-lilypond.el: Make auditioning of midi and pdf asynchronous,
11379         and add easy pdf generation in the form of `ly-gen-pdf' variable.
11381 2012-04-01  Deech  <deech@deech-ThinkPad-X200.none>  (tiny change)
11383         * ob-tangle.el (org-babel-spec-to-string): The link generated by
11384         org-store-link is escaped twice when tangling with ":comments yes"
11385         flag.
11387 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11389         * org-html.el (org-export-as-html): Remove another useless space
11390         before tag.
11392 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11394         * org-html.el (org-export-as-html): Remove another useless space
11395         before tag.
11397 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11399         * org-html.el (org-export-as-html): Remove useless space before
11400         tag.
11402 2012-04-01  Sebastien Vauban  <sva@mygooglest.com>  (tiny change)
11404         * org.el (org-version): Add autoload cookie.
11406 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11408         * org.el (org-get-category): Save match data.
11410 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11412         * ob-tangle.el (org-babel-tangle): Don't prompt for a file name if
11413         :tangle is specified.
11415         * ob.el (org-babel-expand-noweb-references): Widen buffer when
11416         expanding noweb references.
11418 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11420         * ob-table.el (sbe): Don't accidentally leave a `t' value when
11421         variables are force interpreted as strings.
11423 2012-04-01  David Maus  <dmaus@ictsoc.de>
11425         * org-bbdb.el (org-bbdb-open, org-bbdb-open-old)
11426         (org-bbdb-open-new): Pass record name to avoid dynamic scoping.
11428 2012-04-01  David Maus  <dmaus@ictsoc.de>
11430         * org-bbdb.el (bbdb-record-get-field, bbdb-search-name)
11431         (bbdb-search-organization): Declare functions to silence byte
11432         compiler.
11434 2012-04-01  Bernt Hansen  <bernt@norang.ca>
11436         * org.el (org-clone-subtree-with-time-shift): Fix task cloning for
11437         repeating tasks using .+n and ++n syntax.
11439 2012-04-01  Karl Fogel  <kfogel@red-bean.com>  (tiny change)
11441         * org-agenda.el (org-agenda-highlight-todo): Handle the case of a
11442         heading that has a date but no todo keyword.
11444 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11446         * ob.el (org-babel-find-named-result): Fix code block replacement
11447         with results.
11449 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11451         * org-footnote.el (org-footnote-normalize): Do not normalize
11452         labels when sort-only is non-nil.
11454 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11456         * org-footnote.el (org-footnote-normalize): Remove an useless part
11457         of the function.
11458         (org-insert-footnote-reference-near-definition): Remove function.
11460 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11462         * org-footnote.el (org-footnote-normalize): Fix normalization of
11463         inline footnotes with no footnote section.
11465 2012-04-01  David Maus  <dmaus@ictsoc.de>
11467         * org-bbdb.el (org-bbdb-old): Replace `defvar' after loading 'bbdb
11468         to check for old or new version by a check for the required
11469         function in `org-bbdb-open' and `org-bbdb-store-link'.
11470         (org-bbdb-store-link, org-bbdb-open): Check which version of bbdb is
11471         to be used.
11473 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11475         * ob.el (org-babel-find-named-result): Don't miss a code block
11476         when there are confounding spaces after the result name.
11478 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11480         * ob-lob.el (org-babel-block-lob-one-liner-regexp): Less greedy
11481         regular expressions.
11482         (org-babel-inline-lob-one-liner-regexp): Less greedy regular
11483         expressions.
11485 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11487         * ob.el (org-babel-examplize-region): Fix bug in examplization.
11489 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11491         * org.el (org-link-search): Search for #+name affiliated keywords
11492         and invisible targets.
11494 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11496         * org-lparse.el (org-lparse-end-footnote-definition): Cleanup
11497         newlines in a transcoded footnote definition.  This ensures that
11498         the line that is currently being processed by `org-do-lparse' loop
11499         doesn't get broken up into multiple lines.  Fix for the following
11500         bug -
11502 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11504         * org-footnote.el (org-footnote-normalize): Force a paragraph
11505         break after the last footnote definition.  This is an an implicit
11506         assumption made by the org-lparse.el library.  With this change,
11507         footnote definitions can reliably be exported with ODT backend.
11508         See http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg01013.html.
11510 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11512         * ob-ditaa.el (org-ditaa-jar-path): Fix a recursive load error.
11514 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11516         * org-list.el (org-list-struct): Fix small bug introduced by
11517         commit 8b7a3f249803aba612f9ad3ae50c2fc986247da4 in Org's git repo.
11519 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11521         * ob-ditaa.el (org-ditaa-jar-path): Already defined in
11522         org-exp-blocks.el.
11524         * org-exp-blocks.el (org-ditaa-jar-path): Declare appropriately
11525         for the fact that this is really now a Babel thing -- even if it
11526         is used here and the definition should remain here for reasons of
11527         load dependencies.
11529 2012-04-01  David Maus  <dmaus@ictsoc.de>
11531         * org-bbdb.el (org-bbdb-old): Wrap `defvar' so the variable gets
11532         defined after bbdb was loaded.
11534 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11536         * org-latex.el (org-export-latex-tables): Don't add spurious
11537         preceding newline if caption is not above a longtable.
11539 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11541         * org-odt.el (org-odt-insert-toc): Remove this stray,
11542         dysfunctional routine.  This possibly has crept in because of the
11543         broken merges between "maint" and "origin" branches.
11544         (org-odt-begin-table): Don't emit an empty paragraph when a table is
11545         neither labeled nor captioned.
11546         (org-odt-init-outfile): Remove reference to an unused variable.
11548 2012-04-01  Viktor Rosenfeld  <listuser36@googlemail.com>
11550         * ob-sql.el (org-babel-execute:sql): Add support for MonetDB to
11551         SQL code blocks.
11553 2012-04-01  Andreas Leha  <andreas.leha@med.uni-goettingen.de>
11555         * ob.el (org-babel-goto-named-src-block): Pushing the point to the
11556         org-mark-ring and guessing at the code block name to jump to.
11558 2012-04-01  David Maus  <dmaus@ictsoc.de>
11560         * org-agenda.el (org-agenda-tree-to-indirect-buffer): Fix handling
11561         of indirect buffer and window.
11563 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11565         * org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes
11566         in verse blocks.
11568 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11570         * org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes
11571         in verse blocks.
11573 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11575         * org-exp.el (org-table-clean-before-export): Ignore table rows
11576         defining parameters for formulas during export.
11578 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11580         * org-list.el (org-list-get-item-number): New function.
11582 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11584         * org-list.el (org-list-ending-method, org-list-end-regexp):
11585         Remove variables.
11586         (org-in-item-p, org-list-separating-blank-lines-number)
11587         (org-list-parse-list, org-list-struct): Apply changes.
11589         * org-exp.el (org-export-mark-list-end)
11590         (org-export-mark-list-properties): Apply changes.
11592         * org-latex.el (org-export-latex-lists): Apply changes.
11594 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11596         * org.el (org-cycle-internal-local): Correctly unfold headlines
11597         containing an inlinetask.
11599 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11601         * org.el (org-structure-template-alist): Fix missing angle
11602         brackets for muse export style.
11604 2012-04-01  David Maus  <dmaus@ictsoc.de>
11606         * org.el (org-recenter-calendar): Use `with-selected-window' to
11607         select calendar window and save currently selected window and
11608         current buffer.
11610 2012-04-01  Toby S. Cubitt  <tsc25@cantab.net>  (tiny change)
11612         * org.el (org-goto): Call org-refile-get-location with NO-EXCLUDE
11613         argument set, otherwise not only are headlines in the current
11614         subtree excluded, but it throws an error if point happens not to
11615         be within a subtree (e.g. at start of buffer).
11617 2012-04-01  David Maus  <dmaus@ictsoc.de>
11619         * org.el (org-scan-tags): Fix highlighting in sparse-tree.
11621 2012-04-01  David Maus  <dmaus@ictsoc.de>
11623         * org-clock.el (org-in-clocktable-p): Move to org.el.
11625         * org.el (org-in-clocktable-p): New function.  Moved from
11626         org-clock.el.
11628 2012-04-01  David Maus  <dmaus@ictsoc.de>
11630         * org-exp.el (org-export-get-title-from-subtree): Don't format
11631         tags in title if title headline does not have tags.
11633 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11635         * org.el (org-cycle-internal-local): Fix bug: hide drawers in
11636         inline tasks too.
11638 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11640         * org-odt.el (org-odt-format-preamble): Don't insert TOC here.
11641         Delay it till the end of export.
11642         (org-odt-begin-document-body): Make a note of the default
11643         position of TOC in `org-lparse-dyn-first-heading-pos'.
11644         (org-odt-insert-toc): Insert TOC as directed by
11645         [TABLE-OF-CONTENTS] line or at the default position.
11646         (org-odt-end-export): Call `org-odt-insert-toc'.
11648 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11650         * org.el (org-preview-latex-fragment): Throw an error when called
11651         from a non-file buffer.
11653 2012-04-01  David Maus  <dmaus@ictsoc.de>
11655         * org-capture.el (org-capture-place-item): Don't search for
11656         position in existing list if :exact-position was supplied.
11658 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11660         * org.el (org-set-font-lock-defaults): Fix bug in done headline
11661         fontification.
11663 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11665         * org-odt.el (org-odt-format-textbox): Honor user-specified width
11666         in captioned images.
11668 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11670         * org.el (org-update-property-plist): Fix bug in property list
11671         updates.
11673 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11675         * ob.el (org-babel-balanced-split): Explicit checking if list
11676         before calling member.
11678 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11680         * ob-sqlite.el (org-babel-execute:sqlite): Specify the use of ","
11681         as the separator to `org-table-convert-region'.  Fixes errors when
11682         only one result per line of output.
11684 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11686         * ob.el (org-babel-strip-protective-commas):
11687         Use `org-strip-protective-commas'.
11689         * org-exp.el (org-export-select-backend-specific-text):
11690         Use `org-strip-protective-commas'.
11692         * org-src.el (org-edit-src-code):
11693         Use `org-strip-protective-commas'.
11695         * org.el (org-strip-protective-commas): Single definition for this
11696         functionality.
11698 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11700         * ob-sql.el: Mention ob-sqlite in the comments of ob-sql.
11702 2012-04-01  David Maus  <dmaus@ictsoc.de>
11704         * org-capture.el (org-capture-prepare-finalize-hook): New hook.
11705         Run before the finalization process starts.
11706         (org-capture-finalize): Run new hook.
11708 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11710         * org.el (org-entry-get): Generalize to multiple "prop+"
11711         properties.
11713 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11715         * org-src.el (org-src-mode-map): Rebinding `org-edit-src-save' in
11716         the `org-src-mode-map'.
11718 2012-04-01  David Maus  <dmaus@ictsoc.de>
11720         * org.el (org-recenter-calendar): Use `with-selected-window' to
11721         select calendar window and save currently selected window and
11722         current buffer.
11724 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11726         * org-list.el (org-list-ending-method, org-list-end-regexp):
11727         Remove variables.
11728         (org-in-item-p, org-list-separating-blank-lines-number)
11729         (org-list-parse-list, org-list-struct): Apply changes.
11731         * org-exp.el (org-export-mark-list-end)
11732         (org-export-mark-list-properties): Apply changes.
11734         * org-latex.el (org-export-latex-lists): Apply changes.
11736 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11738         * org.el (org-entry-get): Accumulate properties from subtree
11739         property drawers.
11741 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11743         * org.el (org-entry-get): Accumulate properties from subtree
11744         property drawers.
11746 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11748         * org-odt.el (org-export-odt-image-size-probe-method)
11749         (org-odt-do-image-size): Use imagemagick preferentially to
11750         determine image sizes.
11752 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11754         * org-odt.el (org-export-as-odt-to-buffer)
11755         (org-replace-region-by-odt, org-export-region-as-odt):
11756         Remove these interactive functions.  They are of questionable value.
11758 2012-04-01  Toby S. Cubitt  <tsc25@cantab.net>  (tiny change)
11760         * org.el (org-goto): Call org-refile-get-location with NO-EXCLUDE
11761         argument set, otherwise not only are headlines in the current
11762         subtree excluded, but it throws an error if point happens not to
11763         be within a subtree (e.g. at start of buffer).
11765 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11767         * org-exp.el (org-export-kill-product-buffer-when-displayed)
11768         (org-export-initial-scope, org-export-date-timestamp-format)
11769         (org-export-with-tasks, org-export-email-info)
11770         (org-export-table-remove-empty-lines): Add version tag.
11772 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11774         * org.el (org-cycle-internal-local): Correctly unfold headlines
11775         containing an inlinetask.
11777 2012-04-01  Bernt Hansen  <bernt@norang.ca>
11779         * org-clock.el (org-clock-out): Do not delete the current clocking
11780         task when org-clock-out-hook clocks in another task.
11782 2012-04-01  David Maus  <dmaus@ictsoc.de>
11784         * org.el (org-scan-tags): Fix highlighting in sparse-tree.
11786 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11788         * org-odt.el (org-export-odt-convert-processes): Re-define
11789         (org-export-odt-convert-capabilities): Fix an accidental
11790         regression.
11792 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11794         * org-odt.el (org-export-odt-convert-capabilities): Change the
11795         default value.
11797 2012-04-01  David Maus  <dmaus@ictsoc.de>
11799         * org-clock.el (org-in-clocktable-p): Move to org.el.
11801         * org.el (org-in-clocktable-p): New function.  Moved from org-clock.el.
11803 2012-04-01  David Maus  <dmaus@ictsoc.de>
11805         * org-exp.el (org-export-get-title-from-subtree): Don't format
11806         tags in title if title headline does not have tags.
11808 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11810         * org-footnote.el (org-blank-before-new-entry)
11811         (org-export-footnotes-seen, org-export-footnotes-data): Fix bogus
11812         declarations.
11814 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11816         * org.el (org-beginning-of-line, org-end-of-line): Fix special C-a
11817         and C-e behavior with visual lines.
11819 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11821         * org-exp-blocks.el (org-export-blocks): Change the name of
11822         exporting comment blocks given that it seems regular comment
11823         blocks no longer export.
11825 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11827         * ob-exp.el (org-babel-exp-get-export-buffer): Access current
11828         export buffer.
11829         (org-babel-exp-in-export-file): Access current export buffer.
11830         (org-babel-exp-src-block): Access current export buffer.
11831         (org-babel-exp-inline-src-blocks): Access current export buffer.
11833 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11835         * ob-exp.el (org-babel-exp-in-export-file)
11836         (org-babel-exp-src-block, org-babel-exp-inline-src-blocks):
11837         Allow org-current-export-file to contain a buffer.
11839 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11841         * org-lparse.el (org-lparse-do-convert): Replace `call-process'
11842         with `shell-command-to-string'.
11844 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11846         * org-footnote.el (org-footnote-create-definition): Fix space
11847         insertion when creating a new footnote.  This fixes newline
11848         munching when `org-footnote-section' is nil and blank lines
11849         stacking when it isn't nil.
11851 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11853         * org-footnote.el (org-footnote-normalize): Make sure that
11854         footnotes are moved to a single place during export.
11856 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11858         * org-footnote.el (org-footnote-normalize): Ensure footnote
11859         definition will be inserted at the end of the section
11860         corresponding to to its first reference.
11862 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11864         * org-footnote.el (org-footnote-at-definition-p): Make sure to
11865         move point at the beginning of the separator before skiping white
11866         spaces.  Refactor code.
11868 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11870         * ob-exp.el (org-babel-exp-src-block): Strip noweb references on
11871         export when "strip-export".
11873         * ob.el (org-babel-common-header-args-w-values): New noweb
11874         header value.
11875         (org-babel-merge-params): New noweb header value.
11876         (org-babel-noweb-p): New noweb header value.
11878 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11880         * ob-tangle.el (org-babel-tangle-clean): Just use default value.
11882         * ob.el (org-babel-noweb-wrap): Add default value.
11883         (org-babel-expand-noweb-references): Just use default value.
11885 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11887         * org-exp.el (org-export-select-backend-specific-text): Always
11888         preserve original indentation as a text property so that lists do
11889         not get broken by indentation at column 0.
11891 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11893         * ob.el (org-babel-expand-noweb-references): Don't allow newlines
11894         in source names in noweb references.
11896 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11898         * org.el (org-fill-line-break-nobreak-p): New function.
11899         (org-set-autofill-regexps): Add previous function to
11900         `fill-nobreak-predicate'.
11902 2012-04-01  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
11904         * ob-R.el (org-babel-R-evaluate-session): Inhibit R evaluation
11905         visibility regardless of local user customization.
11907 2012-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
11909         * org-inlinetask.el (org-inlinetask-show-first-star): New option.
11910         (org-inlinetask-fontify): Honor `org-inlinetask-show-first-star'.
11912         * org-indent.el (org-indent-set-line-properties):
11913         Honor `org-inlinetask-show-first-star'.
11915 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11917         * org.el (org-set-regexps-and-options): Ensure `org-drawers'
11918         doesn't contain duplicates.
11920 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11922         * org.el (org-at-drawer-p): Normalize the docstring to match other
11923         `org-at-*-p' docstrings.
11924         (org-indent-block, org-indent-drawer, org-at-block-p):
11925         New functions.
11926         (org-metaright): Use the new functions to indent a drawer or a
11927         block depending on the context.  Also update the docstring.
11929 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11931         * org.el (org-set-regexps-and-options): Set the value of
11932         `org-drawers' by adding the value of the infile #+DRAWERS option
11933         to that of the existing `org-drawers'.
11935 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11937         * org.el (org-cycle-internal-local): Fix bug: hide drawers in
11938         inline tasks too.
11940 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11942         * org-inlinetask.el (org-inlinetask-toggle-visibility):
11943         Use `org-show-entry' instead of `outline-flag-region' to keep the
11944         drawers folded when unfolding an inline task.
11946 2012-04-01  Torsten Anders  <torsten.anders@beds.ac.uk>  (tiny change)
11948         * org-beamer.el (org-beamer-environments-default): Add support and
11949         keybinding for the `exampleblock' environment.
11951 2012-04-01  Michael Brand  <michael.ch.brand@gmail.com>
11953         * org.el (org-open-link-from-string): Regard `reference-buffer'
11954         when setting `org-inhibit-startup'.
11956 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11958         * ob-exp.el (org-babel-exp-non-block-elements): Don't insert extra
11959         space between inline src block and results on export.
11961 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11963         * ob.el (org-babel-get-inline-src-block-matches): Allow *any*
11964         punctuation to proceed an inline src block.
11966 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11968         * ob.el (org-babel-get-inline-src-block-matches): Add ( to the
11969         list of characters allowed to proceed an inline src block.
11971 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11973         * ob-tangle.el (org-babel-tangle-clean): Use the customizable
11974         noweb wrappers.
11976         * ob.el (org-babel-noweb-wrap-start): Begin a noweb reference.
11977         (org-babel-noweb-wrap-end): End a noweb reference.
11978         (org-babel-noweb-wrap): Apply the customizable noweb wrappers.
11979         (org-babel-expand-noweb-references): Use the customizable noweb
11980         wrappers.
11982 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11984         * org.el (org-beginning-of-line): Handle case when there's no
11985         character after box.
11987 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11989         * org-odt.el (org-odt-format-preamble): Don't insert TOC here.
11990         Delay it till the end of export.
11991         (org-odt-begin-document-body): Make a note of the default
11992         position of TOC in `org-lparse-dyn-first-heading-pos'.
11993         (org-odt-insert-toc): Insert TOC as directed by
11994         [TABLE-OF-CONTENTS] line or at the default position.
11995         (org-odt-end-export): Call `org-odt-insert-toc'.
11997 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11999         * org.el (org-preview-latex-fragment): Throw an error when called
12000         from a non-file buffer.
12002 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12004         * org.el (org-insert-property-drawer): Not an interactive
12005         command anymore.
12006         (org-insert-drawer): With a prefix argument, insert a property
12007         drawer.  Check for headline within the region before inserting the
12008         drawer.  Don't include special drawers in the completion table.
12009         (org-mode-map): New keybinding `C-c C-x d' for
12010         `org-insert-drawer'.
12012 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12014         * org.el (org-insert-drawer): Support completion over known drawer
12015         names and inserting a drawer around the current region.
12017 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12019         * org.el (org-insert-drawer): New function.
12020         (org-insert-property-drawer): Use it.
12022 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12024         * org-list.el (org-mark-list): New function.
12026 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12028         * org-pcomplete.el (pcomplete/org-mode/drawer): New function to
12029         complete drawer at point.
12030         (org-thing-at-point): Use it.
12032 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12034         * org.el (org-meta-return): Use `newline-and-indent' when in a
12035         property drawer.
12037 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12039         * org.el (org-structure-template-alist): Fix docstring: the
12040         feature is not experimental anymore.
12042 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12044         * org-agenda.el (org-agenda-show-and-scroll-up): Allow `C-u' to
12045         display the item without unfolding drawers and logbooks.
12047 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12049         * org-src.el (org-edit-src-code): Make sure `buffer-file-name' is
12050         always nil.
12052 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12054         * org.el (org-structure-template-alist): Fix missing angle
12055         brackets for muse export style.
12057 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12059         * org.el (org-read-date): New parameter `inactive' when reading
12060         for insertion of inactive timestamps.
12061         (org-time-stamp, org-read-date-display): Use the new
12062         parameter.
12064 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12066         * ob.el (org-babel-expand-noweb-references): Only allow
12067         reference names which start and end with non-whitespace characters.
12068         Also, raise errors as appropriate given org-babel-noweb-error-langs.
12070 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12072         * org-src.el (org-src-in-org-buffer): Save and restore
12073         `buffer-undo-list' after editing.
12075 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12077         * ob.el (org-babel-common-header-args-w-values): Add new header
12078         argument.
12079         (org-babel-expand-noweb-references): Use header argument rather than
12080         customization variable.
12082 2012-04-01  David Maus  <dmaus@ictsoc.de>
12084         * org-capture.el (org-capture-place-item): Don't search for
12085         position in existing list if :exact-position was supplied.
12087 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12089         * ob.el (org-babel-noweb-separator): Custom variable for
12090         accumulated noweb references.
12091         (org-babel-expand-noweb-references): Allow separator for noweb
12092         references.
12094 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12096         * org.el (org-beginning-of-line): In an item, special position
12097         for C-a is after check-box, if any.
12098         (org-special-ctrl-a/e): Modify doc-string accordingly.
12100 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12102         * org-odt.el (org-export-odt-format-formula): Use :style
12103         property to specify custom table styles.
12105 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12107         * ob-exp.el (org-babel-exp-call-line-template): Control export of
12108         additional call line information.
12109         (org-babel-exp-non-block-elements): Fancier call line export.
12111 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12113         * org-odt.el (org-odt-entity-frame-styles): Add frame params
12114         for images that are anchored as character.
12115         (org-export-odt-format-image): Handle new anchor type
12116         "as-char".
12117         (org-export-odt-default-image-sizes-alist): Misc. change.
12118         (org-export-odt-format-formula): Misc. change.
12120 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12122         * ob.el (org-babel-check-src-block): Don't report valid header
12123         arguments as suspicious.
12125 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12127         * ob-exp.el (org-babel-exp-non-block-elements): Map over both
12128         inline src blocks and call lines on export.
12130 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12132         * org-odt.el (org-odt-label-styles): Add a new style.
12133         (org-odt-category-map-alist): Use it.
12135 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12137         * org-odt.el (org-odt-table-style-format): New.  Template for
12138         auto-generated table styles.
12139         (org-odt-automatic-styles, org-odt-object-counters):
12140         New variables.
12141         (org-odt-add-automatic-style): New function.
12142         (org-odt-write-automatic-styles): New function.
12143         Create automatic styles for tables that have custom :rel-width.
12144         (org-odt-begin-table): Parse attributes specified with
12145         "#+ATTR_ODT: " option and use it to create an automatic table
12146         style.
12147         (org-odt-save-as-outfile):
12148         Call `org-odt-add-write-automatic-styles'.
12149         (org-odt-init-outfile): Init newly add variables.
12150         (org-odt-section-count): Remove it.
12151         (org-odt-begin-section): Use `org-odt-add-automatic-style' to
12152         generate an automatic section name.
12154 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12156         * ob.el (org-babel-map-executables): Correctly position point when
12157         mapping hits an inline code block.
12159 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12161         * ob.el (org-babel-execute-src-block): Ensure params are
12162         incorporated *before* checking if evaluation is legal.
12164 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12166         * ob-exp.el (org-babel-exp-lob-one-liners): Ensure `end' is a
12167         marker so it is updated as required during export.
12169 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12171         * org-src.el (org-src-in-org-buffer): Run commands in the parent
12172         buffer.
12173         (org-edit-src-save): Use new macro.
12174         (org-src-tangle): Tangle the parent buffer.
12176 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12178         * org.el (org-set-font-lock-defaults): Fix bug in done
12179         headline fontification.
12181 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12183         * org.el (org-set-font-lock-defaults): Fix bug in done
12184         headline fontification.
12186 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12188         * org.el (org-return): Act normally when in code blocks.
12190 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12192         * org.el (org-in-src-block-p): New function.
12193         (org-context): Return new contexts :clocktable and :src-block.
12195 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12197         * org.el (org-set-tags-command, org-set-tags): Make ̀C-u C-c
12198         C-q' do the right thing even when point is before the first
12199         heading.
12201 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12203         * ob.el (org-babel-noweb-p): Disambiguate intersection name.
12205 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12207         * org-odt.el (org-odt-format-textbox): Honor user-specified
12208         width in captioned images.
12210 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12212         * ob.el (org-babel-map-src-blocks): Replace gensym with make-symbol.
12213         (org-babel-map-inline-src-blocks): Replace gensym with make-symbol.
12214         (org-babel-map-call-lines): Replace gensym with make-symbol.
12215         (org-babel-map-executables): Replace gensym with make-symbol.
12217 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12219         * ob-exp.el (org-babel-exp-results): Alter a copy of info.
12221 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12223         * org-html.el (org-export-as-html):
12224         Initialize `html-pre-real-contents' correctly.
12226 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12228         * org-html.el (org-export-as-html):
12229         Initialize `html-pre-real-contents' correctly.
12231 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12233         * ob-exp.el (org-babel-exp-code): Ensure code block name is a
12234         string on export.
12236 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12238         * ob-exp.el (org-babel-exp-code-template): Customizable code
12239         block export format string.
12240         (org-babel-exp-code): Customizable code block export.
12242 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12244         * ob-clojure.el (org-babel-execute:clojure): Remove dependency
12245         on deprecated swank-clojure.
12247 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12249         * ob.el (org-babel-map-src-blocks): Don't pollute symbol space.
12250         (org-babel-map-inline-src-blocks): Don't pollute symbol space.
12251         (org-babel-map-call-lines): Don't pollute symbol space.
12252         (org-babel-map-executables): Map over *all* executable Org-mode
12253         elements.
12254         (org-babel-execute-buffer): Execute elements in buffer order instead
12255         of arbitrarily.
12257 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12259         * org.el (org-ctrl-c-ctrl-c): Fix a naive structure backup.
12260         Those must be done with `copy-tree'.
12262 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12264         * org-src.el (org-edit-src-code): Referenced code block should
12265         not be evaluated on code block edit.
12267 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12269         * org.el (org-structure-template-alist): Use uppercase for
12270         keywords.
12272 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12274         * ob.el (org-babel-insert-result): Capitalize RESULTS in :wrap'd
12275         code block results.
12277 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12279         * ob.el (org-babel-results-keyword): New user-configurable
12280         results keyword.
12281         (org-babel-where-is-src-block-result): Use new user-configurable
12282         results keyword.
12284 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12286         * org-indent.el (org-indent-refresh-maybe): Check for new
12287         headlines from the beginning of the line to be sure to catch
12288         any newly inserted headline there.
12290 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12292         * ob-exp.el (org-babel-exp-src-block): Use `org-babel-noweb-p'.
12293         (org-babel-exp-inline-src-blocks): Use `org-babel-noweb-p'.
12295         * ob-tangle.el (org-babel-tangle-collect-blocks):
12296         Use `org-babel-noweb-p'.
12298         * ob.el (org-babel-execute-src-block): Use `org-babel-noweb-p'.
12299         (org-babel-expand-src-block): Use `org-babel-noweb-p'.
12300         (org-babel-load-in-session): Use `org-babel-noweb-p'.
12301         (org-babel-merge-params): Use `org-babel-noweb-p'.
12302         (org-babel-noweb-p): New function used to determine if noweb
12303         expansion should be carried out in a given context.
12305 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12307         * org.el (org-update-property-plist): Fix bug in property list
12308         updates.
12310 2012-04-01  François Pinard  <pinard@iro.umontreal.ca>  (tiny change)
12312         * org.el (org-kill-line): Use `kill-visual-line' in
12313         `visual-line-mode'.
12315 2012-04-01  Bernt Hansen  <bernt@norang.ca>
12317         * org-agenda.el (org-agenda-switch-to): Widen org buffer only if point
12318         is outside the current restriction.
12320 2012-04-01  Bernt Hansen  <bernt@norang.ca>
12322         * org-agenda.el (org-agenda-clock-in): Save restriction when clocking
12323         in from the agenda.
12325 2012-04-01  Bernt Hansen  <bernt@norang.ca>
12327         * org.el: Honor existing restrictions when regenerating the agenda.
12329 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12331         * org-agenda.el: New alias for `list-diary-entries-hook'.
12333 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12335         * ob.el (org-babel-common-header-args-w-values): Add the new
12336         header argument name.
12337         (org-babel-insert-result): Respect the value of the :wrap header
12338         argument when inserting results.
12339         (org-babel-result-end): Find the end of arbitrarily named result
12340         blocks.
12342 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12344         * org-indent.el (org-indent-refresh-maybe): Check for new
12345         headlines from the beginning of the line to be sure to catch
12346         any newly inserted headline there.
12348 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12350         * org.el (org-update-property-plist): Remove old instances of
12351         property when adding a new value for property.
12353 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
12355         * ob-emacs-lisp.el: A comment on the last line of an emacs-lisp
12356         code block would cause an error when the block is was executed.
12357         This fix cures this behavior.
12359 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12361         * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12362         pieces of a previous patch.
12364 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12366         * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12368 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12370         * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12371         pieces of a previous patch.
12373 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12375         * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12377 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12379         * org-eshell.el (org-eshell-open): Use (goto-char (point-max))
12380         instead of (end-of-buffer).
12382 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12384         * org-bbdb.el (name): Declare variable.
12385         (bbdb-record-get-field, bbdb-search-name)
12386         (bbdb-search-organization): Declare as part of ext:bbdb.
12388 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12390         * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
12391         instead of the obsolete `org-agenda-filter'.
12393 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12395         * org-agenda.el: Add an alias for `org-agenda-filter'.
12396         (diary-list-entries-hook): Use the non-obsolete hook.
12397         (org-agenda-filter-apply): Silent compiler warning.
12399 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12401         * ob-ditaa.el (org-ditaa-jar-path): Make a defcustom.
12402         (org-ditaa-jar-option): New option.
12403         (org-babel-execute:ditaa): Use it.
12405 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12407         * ob.el (org-babel-balanced-split): Explicit checking if list
12408         before calling member.
12410 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12412         * ob.el (org-babel-balanced-split): Explicit checking if list
12413         before calling member.
12415 2012-02-14  Chong Yidong  <cyd@gnu.org>
12417         * org-footnote.el: Remove bogus defvar values (Bug#10745).
12419 2012-01-05  Eric Schulte  <eric.schulte@gmx.com>
12421         * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12422         pieces of a previous patch.
12424         * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12426 2012-01-05  Bastien Guerry  <bzg@gnu.org>
12428         * org-eshell.el (org-eshell-open): Use (goto-char (point-max))
12429         instead of (end-of-buffer).
12431         * org-bbdb.el (name): Declare variable.
12432         (bbdb-record-get-field, bbdb-search-name)
12433         (bbdb-search-organization): Declare as part of ext:bbdb.
12435         * org-agenda.el: Add an alias for `org-agenda-filter'.
12436         (diary-list-entries-hook): Use the non-obsolete hook.
12437         (org-agenda-filter-apply): Silent compiler warnings.
12439         * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
12440         instead of the obsolete `org-agenda-filter'.
12442 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12444         * org.el (org-ctrl-c-ctrl-c): Preserve symmetry when adding
12445         and removing checkboxes with `C-u C-c C-c' on the first item
12446         of a list.  Also, don't reinitialize checkboxes that are
12447         already ticked.
12449 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12451         * org.el (org-ts-regexp0, org-ts-regexp1): Also match a time
12452         value with only one digit for the hours.
12454 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12456         * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
12457         Remove deleted function `org-encode-for-stdout'.
12459 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12461         * org.el (org-show-context): Complete docstring.
12463 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12465         * org-agenda.el (org-agenda-filter-by-tag):
12466         Use `read-char-exclusive' instead of `read-char'.
12468 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
12470         * org-clock.el (org-clock-in, org-clock-find-position):
12471         Remove erraneous space in regexp.
12473 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12475         * ob.el (org-babel-expand-noweb-references): Rather than using
12476         a pure regexp solution to resolve noweb references, actually
12477         check the information of every code block in the buffer.
12478         This will cause a slowdown in noweb reference expansion, but is
12479         necessary for correct behavior.
12481 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12483         * org.el (org-map-continue-from): Fix typo in docstring.
12485 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12487         * org.el (org-property-re): Also match cumulating properties
12488         like ":prop+:".
12490 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12492         * org-exp-blocks.el (org-export-blocks-preprocess): Fix regexp for
12493         matching the end of a block.
12495 2012-01-03  David Maus  <dmaus@ictsoc.de>
12497         * org.el (org-open-at-point): Escape link path for http:,
12498         https:, ftp:, news:, and doi: links only if the path contains
12499         space or non-ascii character.
12501 2012-01-03  David Maus  <dmaus@ictsoc.de>
12503         * org.el (org-refile-get-targets): Ignore headlines without a
12504         true headline.
12506 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12508         * ob.el (org-babel-map-call-lines): Move this file from
12509         ob-lob.el into ob.el to ease dependency pains.
12511 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12513         * org-publish.el (org-publish-index-generate-theindex):
12514         Use theindex.inc for storing index entries, and theindex.org for
12515         including theindex.inc.
12517 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12519         * org-publish.el (org-publish-index-generate-theindex):
12520         Create proper file target for index entries in subdirectories.
12522 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12524         * org-protocol.el (org-protocol-check-filename-for-protocol):
12525         Fix spelling mistake.
12527 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12529         * org-odt.el (org-export-odt-default-org-styles-alist): Add styles
12530         for title and subtitle.
12531         (org-odt-format-toc): New.
12532         (org-odt-format-preamble): New.  Users can redefine this to
12533         customize what goes before the document body.  Currently it
12534         outputs title, author and email, date and toc.
12535         (org-odt-begin-document-body): Use `org-odt-format-preamble'.
12536         (org-odt-format-date): Rename from
12537         `org-odt-iso-date-from-org-timestamp'.  Also added an
12538         additional param for format string.
12539         (org-odt-begin-annotation, org-odt-update-meta-file):
12540         Use `org-odt-format-date'.
12542 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12544         * org.el (org-at-drawer-p): New function.
12545         (org-end-of-line): Use it.
12547 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12549         * ob.el (*org-babel-use-quick-and-dirty-noweb-expansion*):
12550         Controls the method in which noweb references are expanded.
12551         (org-babel-expand-noweb-references): Bring back the option for
12552         regexp-based noweb expansion.
12554 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12556         * org.el (org-ts-regexp0, org-ts-regexp1): Also match a time value
12557         with only one digit for the hours.
12559 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12561         * org.el (org-ctrl-c-ctrl-c): Don't make `C-c C-c' special
12562         when ticking the checkbox of the first item.
12564 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12566         * org-list.el (org-list-write-struct): Add an optional
12567         argument for structure changes happening outside the function.
12569         * org.el (org-ctrl-c-ctrl-c): Now, `C-u C-c C-c' on the first
12570         item of a sub-list should toggle check-box presence of every
12571         item in the same sub-list.  Also fix check-box insertion on a
12572         single item.
12574 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12576         * org-agenda.el (org-agenda-filter-preset): New alias.
12577         (org-agenda-filter-by-category): New command.
12578         (org-agenda-mode-map): Add the new command.
12579         (org-agenda-custom-commands-local-options): Add category
12580         filter preset.
12581         (org-agenda-mark-filtered-text): Mark both tag and filter
12582         overlays.
12583         (org-agenda-category-filter-preset): New variable.
12584         (org-finalize-agenda, org-agenda-redo)
12585         (org-agenda-filter-make-matcher, org-agenda-filter-apply):
12586         Handle both category and tag filters.
12587         (org-agenda-filter-show-all-tag): Rename from
12588         `org-agenda-filter-by-tag-show-all'.
12589         (org-agenda-filter-show-all-cat): New function.
12590         (org-agenda-set-mode-name): Show the category filter in the
12591         modeline.
12593 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12595         * org-bbdb.el (org-bbdb-old): New variable.
12596         (org-bbdb-store-link, org-bbdb-open): Check for
12597         `org-bbdb-old'.
12598         (org-bbdb-open-old, org-bbdb-open-new): New functions.
12600 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12602         * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
12603         Remove deleted function `org-encode-for-stdout'.
12605 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12607         * org.el (org-check-dates-range): New command.
12608         (org-sparse-tree): Use it.
12610 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12612         * org-agenda.el (org-agenda-write): Rename from
12613         `org-write-agenda'.
12614         (org-agenda-mode-map, org-agenda-menu)
12615         (org-batch-store-agenda-views): Use new name
12616         `org-agenda-write'.
12618 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12620         * org.el (org-loop-over-headlines-in-active-region):
12621         Fix docstring.
12622         (org-todo, org-deadline, org-schedule): Honor the 'start-level
12623         value of `org-loop-over-headlines-in-active-region'.
12625 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12627         * org-archive.el (org-archive-subtree)
12628         (org-archive-to-archive-sibling, org-toggle-archive-tag):
12629         Bugfix: use 'region-start-level.
12631 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12633         * org.el (org-show-context): Complete docstring.
12635 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12637         * org-agenda.el (org-agenda-filter-by-tag):
12638         Use `read-char-exclusive' instead of `read-char'.
12640 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12642         * org.el (org-scan-tags): Make sure `org-map-continue-from' is
12643         nil at each match.
12645 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
12647         * org-clock.el (org-clock-in, org-clock-find-position):
12648         Remove erraneous space in regexp.
12650 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12652         * org-odt.el (org-odt-lib-dir): Add docstring.
12653         (org-odt-data-dir): New variable.  Use this variable to
12654         control the locations from which the ODT exporter picks the
12655         OpenDocument styles and schema files from.  Set this variable
12656         explicitly only if the in-built heuristics for locating the
12657         above files fails.
12658         (org-odt-styles-dir-list, org-odt-schema-dir-list):
12659         New variables.  Pay specific attention to (eval-when-compile ...)
12660         form through which Makefile's $(datadir) - contained in
12661         `org-odt-data-dir' - gets compiled in as a "hard coded"
12662         constant.
12663         (org-odt-styles-dir, org-export-odt-schema-dir): Add messages to
12664         aid debugging.
12666 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12668         * org-archive.el (org-archive-subtree)
12669         (org-archive-to-archive-sibling, org-toggle-archive-tag)
12670         (org-archive-set-tag): Handle the 'start-level value for
12671         `org-loop-over-headlines-in-active-region'.
12673 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12675         * org.el (org-scan-tags): New parameter `start-level' to scan only
12676         through headlines of that level.
12677         (org-map-entries): New allowed value `region-start-level' for
12678         the `scope' parameter, to allow scanning through headlines of
12679         the same level than the first headline in the region.
12680         (org-loop-over-headlines-in-active-region): New allowed value
12681         'start-level.
12683 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12685         * org-archive.el (org-archive-subtree)
12686         (org-archive-to-archive-sibling, org-archive-set-tag)
12687         (org-toggle-archive-tag): Allow to loop over the active region by
12688         using `org-loop-over-headlines-in-active-region'.
12690 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12692         * org.el (org-todo): Allow to loop over the active region by
12693         using `org-loop-over-headlines-in-active-region'.
12695 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12697         * ob.el (org-babel-expand-noweb-references): Rather than using
12698         a pure regexp solution to resolve noweb references, actually
12699         check the information of every code block in the buffer.
12700         This will cause a slowdown in noweb reference expansion, but is
12701         necessary for correct behavior.
12703 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12705         * org.el (org-map-continue-from): Fix typo in docstring.
12707 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12709         * org-agenda.el (org-agenda-write-buffer-name): New variable.
12710         (org-write-agenda): Use it.
12712 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12714         * org-exp.el (org-export-date-timestamp-format): New option to
12715         define the way a timestamp in #+DATE will be exported.
12716         (org-infile-export-plist): Use the new option.
12718 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12720         * org.el (org-property-re): Also match cumulating properties
12721         like ":prop+:".
12723 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12725         * org-odt.el (org-odt-styles-dir): Assume that the styles
12726         files are located under `data-directory' of Emacs distribution
12727         as etc/org/OrgOdtStyles.xml and
12728         etc/org/OrgOdtContentTemplate.xml.  Also update docstring.
12729         (org-export-odt-schema-dir): Update docstring.
12731 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12733         * org-odt.el (org-odt-format-preamble): Honor following user
12734         options: author, timestamp and email.
12736 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12738         * org-exp-blocks.el (org-export-blocks-preprocess): Fix regexp
12739         for matching the end of a block.
12741 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12743         * org-eshell.el: New file.
12745 2012-01-03  David Maus  <dmaus@ictsoc.de>
12747         * org.el (org-open-at-point): Escape link path for http:,
12748         https:, ftp:, news:, and doi: links only if the path contains
12749         space or non-ascii character.
12751 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12753         * org-beamer.el (org-beamer-fragile-re): Also recognize
12754         \lstinline and \verb as commands that make a frame fragile.
12756 2012-01-03  David Maus  <dmaus@ictsoc.de>
12758         * org.el (org-refile-get-targets): Ignore headlines without a
12759         true headline.
12761 2012-01-03  Litvinov Sergey  <slitvinov@gmail.com>
12763         * ob-octave.el: Add graphical output to png file.
12765 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12767         * ob.el (org-babel-map-call-lines): Move this file from
12768         ob-lob.el into ob.el to ease dependency pains.
12770 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12772         * org-publish.el (org-publish-index-generate-theindex):
12773         Use theindex.inc for storing index entries, and theindex.org for
12774         including theindex.inc.
12776 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12778         * org-publish.el (org-publish-index-generate-theindex):
12779         Create proper file target for index entries in subdirectories.
12781 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12783         * org-protocol.el (org-protocol-check-filename-for-protocol):
12784         Fix spelling mistake.
12786 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12788         * org-odt.el (org-export-odt-default-org-styles-alist):
12789         Add styles for title and subtitle.
12790         (org-odt-format-toc): New.
12791         (org-odt-format-preamble): New.  Users can redefine this to
12792         customize what goes before the document body.  Currently it
12793         outputs title, author and email, date and toc.
12794         (org-odt-begin-document-body): Use `org-odt-format-preamble'.
12795         (org-odt-format-date): Rename from
12796         `org-odt-iso-date-from-org-timestamp'.  Also added an
12797         additional param for format string.
12798         (org-odt-begin-annotation, org-odt-update-meta-file):
12799         Use `org-odt-format-date'.
12801 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12803         * ob-ref.el (org-babel-ref-split-args): Now uses
12804         `org-babel-balanced-split'.
12806 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12808         * org-html.el (org-export-html-preamble)
12809         (org-export-html-postamble): Fix docstrings.
12810         (org-export-as-html): Insert the string used by a custom
12811         function for `org-export-html-pre/postamble'.
12813 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12815         * org.el (org-block-regexp)
12816         (org-heading-keyword-regexp-format)
12817         (org-heading-keyword-maybe-regexp-format): Move up to keep the
12818         byte-compiler happy.
12820 2012-01-03  Dave Abrahams  <dave@boostpro.com>  (tiny change)
12822         * org-agenda.el (org-agenda-do-tree-to-indirect-buffer):
12823         New function.
12824         (org-agenda-tree-to-indirect-buffer): Use the new function.
12826 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12828         * org-html.el (org-export-as-html): Fix bug when inserting the
12829         output of a custom function for the pre/postamble.
12831 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12833         * org-odt.el (org-odt-format-source-code-or-example):
12834         Try loading htmlfontify safely.
12836 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12838         * org-odt.el (require): Require htmlfontify.el only if
12839         emacs-version is greater than 23.2.
12841 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12843         * org-faces.el (org-agenda-calendar-event)
12844         (org-agenda-calendar-sexp): Use the default face.
12846 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12848         * ob.el (org-babel-expand-noweb-references): Fix regexp.
12850 2012-01-03  Michael Brand  <michael.ch.brand@gmail.com>
12852         * org.el (Key bindings): Remap the Outline functions from
12853         `outline-mode-prefix-map' where possible.
12855 2012-01-03  Christian Moe  <mail@christianmoe.com>  (tiny change)
12857         * org-html.el (org-export-as-html):
12858         Apply `org-export-html-get-todo-kwd-class-name' to the class
12859         attribute of the todo-keyword span tag, not to its text
12860         content.
12862 2012-01-03  Sebastien Vauban  <sva@mygooglest.com>
12864         * org-agenda.el (org-agenda-get-timestamps)
12865         (org-agenda-get-sexps): Use face for highlighting "calendar"
12866         events.
12868 2012-01-03  Peter Münster  <pmlists@free.fr>  (tiny change)
12870         * org.el (org-add-planning-info): Treat absolute time too.
12872 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12874         * org-table.el (org-table-transpose-table-at-point): Don't use
12875         ̀remove-if-not'.
12877 2012-01-03  Dave Abrahams  <dave@boostpro.com>  (tiny change)
12879         * org-clock.el (org-clock-out-if-current): Check the clock
12880         buffer is existing.
12882 2012-01-03  Bernt Hansen  <bernt@norang.ca>
12884         * org-clock.el (org-clock-out-if-current): Fix marker in no
12885         buffer error for task state change in an indirect buffer.
12887 2012-01-03  Michael Brand  <michael.ch.brand@gmail.com>
12889         * org.el (org-offer-links-in-entry): Make list when assigning
12890         a single link.
12892 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12894         * ob.el (org-babel-expand-noweb-references): Rather than
12895         collect the info from *every* block in the current buffer,
12896         simply regexp search for those blocks which appear to match
12897         the continued source name.
12899 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12901         * ob.el (org-babel-insert-result): Do not examplize wrapped
12902         scalar results, simply wrap them.
12903         (org-babel-result-end): Find the end of results wrapped in a
12904         RESULTS drawer.
12906 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12908         * org.el (org-todo-yesterday): When called from the agenda,
12909         use `org-agenda-todo-yesterday' instead.
12911 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12913         * org-table.el (org-table-transpose-table-at-point): New command.
12915 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12917         * org-html.el (org-export-html-headline-anchor-format):
12918         New option.
12919         (org-html-level-start): Use the new option.
12921 2012-01-03  Rob Giardina  <rob@giardina.us>  (tiny change)
12923         * org-agenda.el (org-agenda-with-point-at-orig-entry):
12924         Small bugfix.
12926 2012-01-03  Christian Moe  <mail@christianmoe.com>  (tiny change)
12928         * org-special-blocks.el
12929         (org-special-blocks-convert-html-special-cookies):
12930         Close paragraph before opening or closing the <div>, and open
12931         paragraph after.  Also changed newline placement to be the same
12932         as for other blocks.
12934 2012-01-03  Roberto Huelga  <rhuelga@gmail.com>
12936         * org-clock.el (org-program-exists): Make the function
12937         compatible with darwin systems.
12939 2012-01-03  David Maus  <dmaus@ictsoc.de>
12941         * org-exp.el (org-export-normalize-links): Mark bracket links
12942         before normalization to avoid erroneous normalization of
12943         bracket link parts.
12945 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12947         * org-odt.el (org-odt-data-dir): Remove.
12948         (org-odt-styles-dir, org-export-odt-schema-dir):
12949         New variables.
12951         * org-odt.el, org-lparse.el: New files.
12953 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12955         * org-capture.el (org-capture-set-target-location): Set the
12956         capture default time also to the prompt time.
12958 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12960         * org-exp.el (org-export-res/src-name-cleanup): Remove #+name
12961         and #+results lines during preprocess.
12963 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12965         * ob-picolisp.el (ob-comint): Required.
12966         (comint): Required.
12967         (cl): Required.
12968         (run-picolisp): Declared.
12969         (org-babel-execute:picolisp): Capture free variable, and replace
12970         function from cl-extra with core function.
12972 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12974         * ob-picolisp.el: New file.
12976         * org.el (org-babel-load-languages): Add Pico Lisp to the list
12977         of supported code block languages.
12979 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12981         * org-bibtex.el (org-bibtex): Now catches bibtex errors and
12982         directs the user to the location of the error.
12984 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12986         * org-agenda.el (org-agenda-dim-blocked-tasks): Fix typo.
12988 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12990         * ob.el (org-babel-execute-src-block): Fix typo.
12992 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12994         * org-freemind.el (org-freemind-write-mm-buffer): Fix typo.
12996 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12998         * org.el (org-link-unescape, org-link-unescape-compound):
12999         Fix two typos in docstrings.
13001 2012-01-03  Thomas Dye  <dk@poto.local>
13003         * ob-R.el: Added tikzDevice support.
13005 2012-01-03  David Maus  <dmaus@ictsoc.de>
13007         * org.el (org-clone-subtree-with-time-shift): Remove clocking
13008         information and empty drawers when preparing a clone.
13010 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13012         * ob-exp.el: Don't add `org-exp-res/src-name-cleanup' to
13013         `org-export-blocks-postblock-hook'.
13015 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13017         * ob.el (org-babel-hide-result-toggle): Skip over header
13018         argument lines when toggling named code block visibility.
13020 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13022         * org-exp.el (org-export-grab-title-from-buffer):
13023         Don't license to kill text inside blocks when getting a title.
13025 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13027         * ob.el (org-babel-confirm-evaluate): Adding support for new
13028         range of :eval header arguments.
13030 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13032         * ob.el (org-babel-confirm-evaluate): Inhibit evaluation
13033         during export when eval is set to "non-export".
13035 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13037         * ob-ref.el (org-babel-update-intermediate): New custom
13038         variable.
13039         (org-babel-ref-resolve): Optionally update the in-buffer results
13040         of code blocks which are evaluated to resolve references.
13042 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13044         * ob.el (org-babel-join-splits-near-ch): Rejoins a list of a
13045         split string when a character appears on either side of the
13046         split.
13047         (org-babel-parse-multiple-vars): Rejoin splits around "=" signs.
13049 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13051         * org.el (org-reduce): Add a less functional Org-mode copy of
13052         the cl reduce function.
13054 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13056         * org.el (org-fontify-meta-lines-and-blocks-1):
13057         Recognize "name" as a valid keyword that can preceed a block.
13059 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13061         * ob-exp.el (org-babel-exp-lob-one-liners): Don't limit
13062         in-verbatim check to inline code blocks, do lob code blocks as
13063         well.
13065 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13067         * org.el (org-todo): Interpret 0 prefix arg as note inhibitor.
13069 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13071         * ob.el (org-babel-named-src-block-regexp-for-name):
13072         Ensure that partial names are not matched.
13073         (org-babel-named-data-regexp-for-name): Ensure that partial names
13074         are not matched.
13076 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13078         * ob-ref.el (org-babel-ref-resolve): Search for named code
13079         blocks before named data.
13081         * ob.el (org-babel-named-data-regexp-for-name): New function for
13082         finding named data.
13084 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13086         * ob.el (org-babel-insert-result): Gracefully handle results
13087         which are neither lists nor strings.
13089 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13091         * ob-ref.el (org-babel-ref-resolve): Don't change location when
13092         looking at the contents.
13094 2012-01-03  Milan Zamazal  <pdm@zamazal.org>
13096         * org.el (org-set-outline-overlay-data):
13097         Use outline-flag-region to make a region invisible.  This ensures
13098         all necessary actions, especially adding
13099         isearch-open-invisible property, are applied.
13101 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13103         * ob-lob.el (org-babel-in-example-or-verbatim):
13104         Fix compilation warning.
13106 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13108         * ob.el (org-babel-find-named-result): Downcase "name" before
13109         comparison.
13111 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13113         * ob-lisp.el (org-babel-execute:lisp): Fix typo.
13114         (org-babel-lisp-vector-to-list): Fix typo.
13116 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13118         * ob-exp.el (org-babel-in-example-or-verbatim): Some valid
13119         execution contexts (e.g., call lines) look like commented
13120         lines.
13122         * ob.el (org-babel-get-src-block-info): Empty match string doesn't
13123         count.
13124         (org-babel-process-params): Always process parameters, even if
13125         you don't to table splitting.
13127 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13129         * ob-exp.el (org-exp-res/src-name-cleanup): Update Documentation.
13131         * ob-lob.el (org-babel-block-lob-one-liner-regexp):
13132         Update regular expression.
13133         (org-babel-inline-lob-one-liner-regexp): Update regular
13134         expression.
13136         * ob-ref.el (org-babel-ref-resolve): Notice when something that
13137         looks like a data results may actually be a code block.
13139         * ob-table.el: Updated documentation.
13141         * ob.el (org-babel-src-name-regexp): Simplify regexp.
13142         (org-babel-get-src-block-info): Update match strings.
13143         (org-babel-data-names): Simplify acceptable names.
13144         (org-babel-find-named-block): Indentation.
13145         (org-babel-find-named-result): Update to not return a code block
13146         as a result.
13148         * org.el (org-fontify-meta-lines-and-blocks-1):
13149         Removing references to old syntactic elements.
13150         (org-additional-option-like-keywords): Removing references to
13151         old syntactic elements.
13153 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13155         * org-agenda.el (org-agenda-get-todos): Swap calls to `org-trim'
13156         and `buffer-substring'.
13158 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13160         * org-agenda.el (org-agenda-get-todos): Prevent an error when
13161         encountering tasks with only the TODO keyword.
13163 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13165         * org.el (org-try-cdlatex-tab): Don't try to expand a LaTeX
13166         environment when at an item or an headline, but allow LaTeX
13167         fragments.
13168         (org-cycle): Try to call `cdlatex-tab' before cycling item's or
13169         headline's visibility, in order to catch LaTeX fragments within.
13171 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13173         * org-exp-blocks.el (org-export-blocks-preprocess): Require a
13174         newline and spaces before a code block.
13176 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13178         * ob-lob.el (org-babel-map-call-lines): Allow mapping of code
13179         over all call lines in a buffer.
13181         * ob.el (org-babel-execute-buffer): Execute call lines when
13182         executing an entire buffer.
13184 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13186         * ob.el (org-babel-process-params): Don't disassemble tables
13187         twice.
13189 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13191         * org-clock.el (org-clock-in, org-clock-find-position): Make space
13192         after date optional.
13194         * org.el (org-set-regexps-and-options)
13195         (org-ts-regexp, org-ts-regexp-both, org-ts-regexp1)
13196         (org-ctrl-c-ctrl-c): Make `C-c C-c' on date fix the time stamp.
13198 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13200         * ob-lob.el (org-babel-lob-execute-maybe): Don't execute a call
13201         inside a verbatim block.
13203         * ob-exp.el (org-babel-in-example-or-verbatim): Check for example
13204         blocks.
13206 2012-01-03  Litvinov Sergey  <slitvinov@gmail.com>
13208         * ob-maxima.el (org-babel-tangle-lang-exts): Maxima extension.
13209         (org-babel-maxima-expand): Add input variables and graphic output.
13210         (org-babel-execute:maxima): Add input variables and graphic output.
13211         (org-babel-maxima-var-to-maxima): Add input variables and graphic
13212         output.
13213         (org-babel-maxima-graphical-output-file): Add input variables and
13214         graphic output.
13215         (org-babel-maxima-elisp-to-maxima): Add input variables and graphic
13216         output.
13218 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13220         * ob-fortran.el: New file.  Adding support for Fortran code blocks.
13221         * org.el (org-babel-load-languages): Adding fortran to this list.
13223 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13225         * org-footnote.el (org-footnote-new): Cannot insert an inline
13226         footnote at beginning of line anymore.
13227         (org-footnote-at-reference-p): Don't recognize inline footnotes at
13228         beginning of line.
13230 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13232         * org.el (org-set-font-lock-defaults): Fix small error in matching
13233         group that prevented fontification of keywords like
13234         org-comment-string and stars in headlines.
13236 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13238         * org.el (org-catch-invisible-edits): New option.
13239         (org-self-insert-command, org-delete-backward-char)
13240         (org-delete-char): Call `org-check-before-invisible-edit'.
13241         (org-check-before-invisible-edit): New function.
13243 2012-01-03  Suvayu Ali  <fatkasuvayu+linux@gmail.com>
13245         * org-exp.el (org-solidify-link-text): Respect
13246         org-export-with-tags when forming the export title during subtree
13247         export.
13249 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13251         * org.el (org-heading-regexp, org-heading-keyword-regexp-format)
13252         (org-heading-keyword-maybe-regexp-format): Globalize variables so
13253         they are accessible even in buffers not in Org mode.
13255 2012-01-03  David Maus  <dmaus@ictsoc.de>
13257         * org.el (org-insert-link): Don't use default-description if a
13258         `org-make-link-description-function' is defined.
13260 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13262         * org.el (org-set-regexps-and-options): Use property blocks for
13263         multi-line properties.
13265 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13267         * org.el (org-self-insert-command): Don't throw an error when
13268         editing takes place at the first point of the buffer.
13270 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13272         * org.el (org-self-insert-command): Unfold invisible region at
13273         point or right before point when editing.
13275 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13277         * org-faces.el (org-agenda-filter-tags): Use the 'modeline face as
13278         default.
13280 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13282         * org-html.el (org-html-expand): Prevent a nil value for STRING to
13283         return an error, just return nil.
13285 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13287         * org-latex.el (org-export-latex-set-initial-vars): Allow "/"
13288         character in the #+LaTeX_CLASS option.
13290 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13292         * org-footnote.el (org-footnote-at-reference-p)
13293         (org-footnote-at-definition-p): Don't store text-properties of
13294         footnote definitions.
13296 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13298         * org-html.el (org-export-as-html): Convert special characters in
13299         meta tag "author", "date", "keyword" and "description".
13301 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13303         * org-capture.el (org-capture-before-finalize-hook): Docstring
13304         improvement: mention that the buffer is widened when this hook is
13305         run.
13307 2012-01-03  Sebastien Vauban  <sva@mygooglest.com>
13309         * org-html.el (org-export-as-html): Make sure the div for preamble
13310         is not inserted when the preamble is empty.
13312 2012-01-03  Sebastien Vauban  <sva@mygooglest.com>
13314         * org-agenda.el (org-agenda-set-mode-name): Highlight tags used
13315         for filtering (shown in the mode-line).
13317 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13319         * ob.el (org-babel-parse-multiple-vars): Trimming excess white
13320         space from split variables.
13322 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13324         * org.el (org-link-search): Add an optional argument preventing
13325         function from revealing context around match.
13327 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13329         * org-agenda.el (calendar-check-holidays): Declare function.
13331 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13333         * org.el (org-return): Fix bug when matching the face property
13334         before following a link.
13336 2012-01-03  Matt Lundin  <mdl@imapmail.org>
13338         * org-agenda.el (org-class): Fix holidays symbol in org-class.
13339         This was resulting in an "Bad sexp..." warning.
13341 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13343         * org.el (org-scan-tags): Also remember
13344         `org-complex-heading-regexp' in a property.
13346 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13348         * org-latex.el (org-export-as-latex): Turn off auto-insert and set
13349         TeX-master to t when creating new TeX buffers.
13351         * org-docbook.el (org-export-as-docbook): Turn off auto-insert
13352         when creating new buffers.
13354         * org-html.el (org-export-as-html): Turn off auto-insert
13355         when creating new buffers.
13357 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13359         * org-table.el (org-table-formula-handle-first/last-rc): Do not
13360         expand pointers to first/last row/column that are inside a call to
13361         `remote'.
13362         (org-table-get-remote-range): Expand pointers to first/last
13363         row/column.
13365 2012-01-03  Michael Sperber  <sperber@deinprogramm.de>  (tiny change)
13367         * org-capture.el (org-capture-get-indirect-buffer): Fix XEmacs
13368         compatibility issue when creating an indirect buffer.
13370 2012-01-03  Christophe Rhodes  <csr21@cantab.net>
13372         * org-exp.el (org-infile-export-plist): Handle LATEX_CLASS_OPTIONS
13373         the same way than LATEX_CLASS.
13375 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13377         * org.el (org-return): Check the presence of the 'org-link face
13378         even in contexts where there is more than one face.
13380 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13382         * ob-sql.el (org-babel-header-arg-names:sql): SQL specific header
13383         argument names which should be inherited.
13385 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13387         * org.el (org-in-block-p): Return matched name of block, if any.
13388         It can be useful when a list of block names is provided as
13389         an argument.
13391 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13393         * org-docbook.el (org-export-as-docbook): Fix regexp.
13395         * org-html.el (org-export-as-html): Fix regexp.
13397 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13399         * org-agenda.el (org-class): Allow holidays to be skipped.
13401 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13403         * ob-shen.el (org-babel-execute:shen): Fix two compilation errors.
13405 2012-01-03  Peter Münster  <pmrb@free.fr>  (tiny change)
13407         * org-agenda.el (org-agenda-to-appt): Make sure filter-items are
13408         strings before calling `string-match'.
13410 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13412         * org-footnote.el (org-footnote-at-reference-p)
13413         (org-footnote-at-definition-p): Remove text-properties from label.
13415 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13417         * org-html.el (org-export-as-html): Add a "title" meta tag.
13419 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13421         * org-agenda.el (org-agenda-to-appt): Allow to refine the scope of
13422         entries to pass to `org-agenda-get-day-entries' and allow to
13423         filter out entries using a function.
13425 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13427         * org-agenda.el: Fix small display bug.
13429 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13431         * org.el (org-set-regexps-and-options): Fix small bug introduced
13432         by commit dfcb6faef11a2439b56b18a6289803361d402130.
13434 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13436         * org-agenda.el (org-search-view): Simplify regexp.
13437         (org-agenda-get-todos): Use new format string.
13439         * org-archive.el (org-archive-all-done): Simplify regexp.
13441         * org-ascii.el (org-export-as-ascii): More accurate regexp.
13443         * org-colview.el (org-columns-capture-view): Use new format string
13444         and new string.
13446         * org-docbook.el (org-export-as-docbook): More accurate
13447         regexp.  Also use new regexp to match generic headlines.
13449         * org-exp.el (org-export-protect-quoted-subtrees): More accurate
13450         regexp.  Also use new regexp to match generic headlines.
13452         * org-html.el (org-export-as-html): More accurate regexp.
13453         Also use new regexp to match generic headlines.
13455         * org-mouse.el (org-mouse-match-todo-keyword): Remove unused
13456         and now erroneous function.
13458         * org.el (org-heading-regexp, org-heading-keyword-regexp-format):
13459         New variables.
13460         (org-set-regexps-and-options): Create regexps according to the
13461         following rule: use spaces only to separate elements from an headline,
13462         while allowing mixed tabs and spaces for any indentation job.
13463         (org-nl-done-regexp, org-looking-at-done-regexp): Remove variables.
13464         (org-set-font-lock-defaults): Fontify again headlines with a keyword
13465         and no other text.  Use new format strings.
13466         (org-get-heading, org-toggle-comment, org-prepare-agenda-buffers)
13467         (org-toggle-fixed-width-section): Use new format string.
13468         (org-todo): More accurate regexps.
13469         (org-point-at-end-of-empty-headline): Simplify regexp.
13470         (org-insert-heading): Headline can sometimes be nil.
13472 2012-01-03  David Maus  <dmaus@ictsoc.de>
13474         * org-agenda.el (org-agenda-bulk-action): Bind
13475         `org-loop-over-headlines-in-active-region' to nil to avoid conflict
13476         with bulk command.
13478 2012-01-03  David Maus  <dmaus@ictsoc.de>
13480         * org.el (org-deadline, org-schedule): Skip invisible headlines when
13481         mapping over headlines in active region.
13483 2012-01-03  David Maus  <dmaus@ictsoc.de>
13485         * org.el (org-loop-over-headlines-in-active-region):
13486         New customization variable.  Loop over headlines in active region.
13487         (org-schedule, org-deadline): Apply to headlines in region depending
13488         on new customization variable.
13490 2012-01-03  David Maus  <dmaus@ictsoc.de>
13492         * org.el (org-map-entries): Immediately return if scope is 'region
13493         but no region is active.
13495 2012-01-03  David Maus  <dmaus@ictsoc.de>
13497         * org.el (org-map-entries): Extend scope 'region to include entire
13498         body of last headline in active region.
13500 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13502         * org-src.el (org-edit-src-code): Fix typo-bug.
13504 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13506         * org.el (org-format-agenda-item, org-scan-tags):
13507         Rename `org-format-agenda-item' to `org-agenda-format-item'.
13509 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13511         * org-agenda.el: Replace `category-pos' by `org-category-pos' to
13512         silent byte-compiler.
13514 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13516         * org.el: Declare external function `cdlatex-compute-tables'.
13518 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13520         * org-latex.el (org-export-latex-set-initial-vars): Fix problem
13521         when matching #+LaTeX_CLASS.
13523 2012-01-03  Rafael Laboissiere  <rafael@laboissiere.net>  (tiny change)
13525         * org.el (org-link-search-must-match-exact-headline): Fix typos.
13527 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13529         * org-latex.el (org-export-latex-make-header): Add some hyperref
13530         options.
13532 2012-01-03  Kai Tetzlaff  <kai.tetzlaff@web.de>  (tiny change)
13534         * org-publish.el (org-publish-file): Add 'eval'ing the value of
13535         the :publishing-directory property before using it as destination
13536         of the publishing project.  This allows to construct the publish
13537         destination directory dynamically at run-time using the return
13538         value of a function.
13540 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13542         * org-agenda.el (org-agenda-list-stuck-projects): Fix tiny bug.
13544 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13546         * org-agenda.el (org-agenda-move-date-from-past-immediately-to-today):
13547         New option.
13548         (org-agenda-date-later): Improve the logical structure.
13550 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13552         * ob-calc.el (featurep): Require calc-store.
13554         * org-agenda.el (org-agenda-list-stuck-projects): Fix regexp
13555         special handling.
13557         * org-compat.el (fboundp): Support for XEmacs.
13559         * org-exp.el (org-export): Protect XEmacs from `(redisplay)' call.
13561         * org-footnote.el (org-footnote-re): Optimize macro processing.
13563         * org.el (org-set-autofill-regexps): Xemacs compatibility.
13565 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13567         * ob.el (org-babel-balanced-split): Balance both [] and ()
13568         groupings.
13569         (org-babel-parse-header-arguments): Be sure to replace removed ":"
13570         characters.
13572 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13574         * ob.el (org-babel-parse-header-arguments): Quick fix for a
13575         tiny bug.
13577 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13579         * ob.el (org-babel-params-from-properties): Now splits
13580         multiple var arguments behind a single ":var".
13581         (org-babel-balanced-split): Separated balanced splitting of
13582         strings out into a new function.
13583         (org-babel-parse-multiple-vars): Splits multiple var arguments
13584         behind a single ":var".
13586 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13588         * org.el: Remap `outline-promote' and `outline-demote' keys to
13589         `org-promote-subtree' and `org-demote-subtree'.
13591 2012-01-03  Leo Liu  <sdl.web@gmail.com>
13593         * org-agenda.el (org-agenda-do-context-action): Check if marker is
13594         valid before use.
13596 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
13598         * org-agenda.el (org-agenda-date-later): Fix shifting of date
13599         ranges.
13601 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13603         * ob.el: Removing `org-babel-params-from-buffer' and
13604         #+PROPERTIES: entirely.
13606         * ob-exp.el (org-babel-exp-src-block):
13607         Removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely.
13609         * ob-lob.el (org-babel-lob-execute):
13610         Removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely.
13612 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13614         * ob.el (org-babel-params-from-buffer): Removing #+BABEL:
13615         lines in favor of general #+PROPERTIES: lines.
13617 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13619         * ob-sql.el (org-babel-execute:sql): Insert into a temporary
13620         buffer.
13622 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13624         * org.el (org-cdlatex-mode): Run `cdlatex-mode-hook' and
13625         update the internal cdlatex tables.
13627 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13629         * ob-sql.el (org-babel-execute:sql): Respect literal-results
13630         options.
13632 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13634         * ob.el (org-babel-disassemble-tables): Fix multi-table bug in
13635         code block colname and rowname handling.
13637 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13639         * org-publish.el (org-publish-cache-file-needs-publishing):
13640         Fix regexp to not inlcude newlines.
13642 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13644         * org.el (org-ctrl-c-ctrl-c): Remove table overlays before
13645         restart.
13647 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13649         * org.el (org-fontify-entities): Match entities before
13650         numbers, as in `\sim2'.
13652 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13654         * org-agenda.el (org-agenda-date-later): Make pushing forward
13655         a past date to jump immedialtely to today.
13657 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13659         * org-exp.el (org-store-forced-table-alignment): Parse the
13660         column cookie for both alignment and width
13661         specification.  Store the resulting value in `org-col-cookies'
13662         property.  Retire the previously used `org-forced-aligns'
13663         property for consistency.  Renamed local variable `aligns' to
13664         `cookies'.
13666         * org-html.el (org-format-org-table-html):
13667         Use `org-col-cookies'.  Renamed local variable forced-aligns to
13668         col-cookies.
13670 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13672         * org.el (org-latex-to-mathml-jar-file)
13673         (org-latex-to-mathml-convert-command): New user-customizable
13674         variables.
13675         (org-format-latex-mathml-available-p, org-create-math-formula)
13676         (org-format-latex-as-mathml): New functions.
13677         (org-format-latex): Add a new local variable block-type that notes
13678         the nature of the equation - inline or display.  Associate it's
13679         value to `org-latex-src-embed-type' property of dvipng links.
13680         Add mathml as new processing type.
13682 2012-01-03  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
13684         * org.el (org-refile): Add tree name to prompt.
13686 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13688         * org-latex.el (org-export-latex-tables):
13689         Honor `org-export-latex-table-caption-above'
13690         (org-export-latex-table-caption-above): New option.
13692 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13694         * ob.el (org-babel-insert-header-arg): Now including language
13695         specific header arg values in insertion options.
13697 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13699         * ob.el (org-babel-insert-header-arg): Fix typo.
13701 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
13703         * org-exp.el (org-export-number-lines): Modify.  Add a new
13704         parameter `preprocess' and use this for backend-agnostic
13705         handling of literal examples.
13707 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13709         * org.el (org-match-substring-regexp)
13710         (org-match-substring-with-braces-regexp): Allow subscripts and
13711         superscripts to start at beginning of line.
13713 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13715         * ob.el (org-babel-common-header-args-w-values): New variable to
13716         hold common header arguments and their default values.
13717         (org-babel-header-arg-names): Redefined using the new common
13718         header arg variable.
13719         (org-babel-insert-header-arg): New function to help when inserting
13720         header arguments.
13722 2012-01-03  David Maus  <dmaus@ictsoc.de>
13724         * org-html.el (org-html-handle-links): Remove unnecessary
13725         protection markers when publishing link in default format.
13727 2012-01-03  Pieter Praet  <pieter@praet.org>  (tiny change)
13729         * org-crypt.el (org-crypt-check-auto-save): New function, see
13730         next change.
13732         * org-crypt.el (org-decrypt-entry): Break the auto-save-mode
13733         check out into a separate function, and call it at a later
13734         point, to assure it only runs when visiting an encrypted
13735         entry.
13737 2012-01-03  John J Foerch  <jjfoerch@earthlink.net>  (tiny change)
13739         * org.el (org-log-note-headings): Document new %d and %D
13740         escapes.
13741         (org-store-log-note): Implement new %d and %D escapes.
13743 2012-01-03  Dave Abrahams  <dave@boostpro.com>
13745         * org-agenda.el (org-agenda-follow-indirect): New option.
13746         (org-agenda-follow-mode): Call `org-agenda-do-context-action' fro
13747         follow mode.
13748         (org-agenda-do-context-action): Also do indirect follow mode
13749         action.
13751 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13753         * ob-table.el (sbe): Fix typo in new sbe specification.
13755 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13757         * ob-table.el (sbe): If first variable is a string and not a
13758         cons cell, then interpret it as a string of header arguments
13759         to be passed to the code block.
13761 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13763         * ob-shen.el (shen-eval-defun): Declare external function.
13764         (org-babel-execute:shen): Move requirement of inf-shen into
13765         the function in which it is used to fix build error.
13767         * ob-shen.el: New file.
13769 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
13771         * org.el (org-open-at-point): Make `org-open-at-point' only
13772         ask once about creating a new headline.
13774 2012-01-03  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
13776         * org.el (org-refile-targets): Elaborated the documentation of
13777         the variable as suggested by Dave Abrahams.
13779 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
13781         * org.el (org-align-tags-here): Allow tags to be placed right
13782         after heading.
13783         (org-tags-column): Document the meaning of tags column 0.
13785 2012-01-03  Niels Giesen  <niels.giesen@gmail.com>
13787         * org-agenda.el (org-agenda-get-blocks): Show timestamp ranges
13788         in agenda if start day is same as end day.
13790 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13792         * org.el (org-refile-get-location): Ignore errors when
13793         collection heading to be excluded.
13795 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13797         * org-special-blocks.el
13798         (org-special-blocks-convert-html-special-cookies): Avoid XHTML
13799         strict problems by not enclosing special blocks in paragraph tags.
13801 2012-01-03  Bernt Hansen  <bernt@norang.ca>
13803         * org-html.el (org-export-as-html): Check string-match
13804         argument.
13805         (org-html-handle-time-stamps): Check string-match argument.
13807 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13809         * org-agenda.el
13810         (org-agenda-skip-additional-timestamps-same-entry):
13811         Change default value.
13813 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13815         * org.el (org-time-string-to-time):
13816         (org-time-string-to-absolute): Add optional arguments BUFFER and
13817         POS for error reporting.
13819         * org-agenda.el (org-get-all-dates):
13820         (org-agenda-get-timestamps, org-agenda-get-deadlines)
13821         (org-agenda-get-scheduled, org-agenda-get-blocks): Call time
13822         stamp parsing functions with information on where the
13823         timestamp was taken from.
13825 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13827         * org.el (org-tree-to-indirect-buffer): Run `org-cycle-hook'
13828         after `show-all' in indirect buffer.
13830 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13832         * org-list.el (org-list-parents-alist): When no parent is found
13833         for an item, set it as the closest less indented item above.
13834         If none is found, make it a top level item.
13835         (org-list-write-struct): Externalize code.
13836         (org-list-struct-fix-item-end): New function.
13837         (org-list-struct): Remove a now useless fix.
13839         * org.el (org-ctrl-c-ctrl-c): Use new function.
13841 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13843         * org.el (org-end-of-line): When on an item, move point at the
13844         end of the line, but before any hidden text.  Thus, it's still
13845         possible to use commands, like `C-c C-c', acting at
13846         items.  This is still disabled if `org-special-ctrl-a/e'
13847         ignores `C-e'.
13849 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13851         * org-footnote.el (org-footnote-renumber-fn:N): Small refactoring.
13853 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13855         * org-footnote.el (org-footnote-renumber-fn:N): Fix an
13856         infloop.
13858 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13860         * org-footnote.el (org-footnote-at-definition-p):
13861         Remove useless `org-re'.
13863 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13865         * org-footnote.el (org-footnote-renumber-fn:N): Verify point
13866         is at a real footnote reference or definition before
13867         renumbering it.
13869 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13871         * org-footnote.el (org-footnote-goto-definition): This patch
13872         makes sure the function says when a definition has been
13873         found.  Thus, moving from the reference to the definition
13874         doesn't offer to create the latter again.
13876 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13878         * org-footnote.el (org-footnote-create-definition):
13879         Explicitly move point after tag, if it has just been
13880         inserted.
13882 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13884         * ob-gnuplot.el (org-babel-execute:gnuplot): Don't quote file
13885         names on Windows systems.
13887 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13889         * org-footnote.el (org-footnote-create-definition): When the
13890         tag is missing, it is created before any existing footnote, or
13891         at end of buffer.  In the latter case, the marker pointing at
13892         the position where the new footnote is going to be inserted
13893         (at end of buffer) stays before the tag.  This patch makes
13894         sure that the marker will be kept after the tag.
13896 2012-01-03  Eli Zaretskii  <eliz@gnu.org>
13898         * org.el (org-mode): Force left-to-right paragraphs in Org
13899         buffers.  For a related discussions, see
13900         https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
13902 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13904         * ob-asymptote.el (org-babel-asymptote-define-type):
13905         Silence byte-compiler.
13907 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13909         * ob-R.el (org-babel-R-evaluate): Fix bug in R session
13910         evaluation.
13912 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13914         * org-bibtex.el (org-bibtex-type-property-name):
13915         Configurable property name for bibtex entry types.
13916         (org-bibtex-headline): Use new configurable property name.
13917         (org-bibtex-check): Use new configurable property name.
13918         (org-bibtex-create): Use new configurable property name.
13919         (org-bibtex-write): Use new configurable property name.
13921 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13923         * org.el (org-paste-subtree): Remove unnecessary `concat'.
13925 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13927         * org.el (org-paste-subtree): Remove useless (concat ...).
13929 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13931         * ob-C.el (org-babel-C-var-to-C): Replacing usage of
13932         characterp with integerp (which should work w/Emacs22).
13934 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13936         * org-footnote.el (org-footnote-at-definition-p): Context must
13937         be valid at the beginning of line, not at point.
13939 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13941         * ob-tangle.el (org-babel-tangle-collect-blocks):
13942         Better delimiting of Org-mode text preceding a code block.
13944 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13946         * ob.el (org-babel-get-src-block-info): Fixing bug,
13947         accidentally deleted variable values.
13949 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13951         * ob-tangle.el (org-babel-process-comment-text):
13952         Customizable function to process comment text.
13953         (org-babel-tangle-collect-blocks): Make use of new
13954         customizable processing function.
13955         (org-babel-spec-to-string): Call customizable function rather than
13956         `org-babel-trim'.
13958 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13960         * ob-R.el (org-babel-execute:R): Collect and pass along the
13961         result-params.
13962         (org-babel-R-evaluate): Accept result-params and if "scalar" or
13963         "verbatim" don't process output.
13964         (org-babel-R-evaluate-session): Accept result-params and if
13965         "scalar" or "verbatim" don't process output.
13967 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13969         * ob.el (org-babel-merge-params): Differentiate between result
13970         types and wrappers.
13972 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13974         * ob.el (org-babel-get-src-block-info): Check that
13975         functional-syntax variables are initialized.
13977 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13979         * ob.el (org-babel-check-src-block): Adding a note for a
13980         future enhancement.
13982 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13984         * org-exp.el (org-export): Restore point when exporting a subtree.
13986 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13988         * ob.el (org-babel-parse-src-block-match): More robust to code
13989         blocks with empty bodies.
13991 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13993         * ob.el (org-babel-parse-src-block-match): Don't error on empty
13994         code block body.
13996 2012-01-03  David Maus  <dmaus@ictsoc.de>
13998         * org.el (org-open-at-point): Unescape plain link.
14000 2012-01-03  David Maus  <dmaus@ictsoc.de>
14002         * org-html.el (org-html-handle-links): Remove unnecessary link
14003         unescape.
14005 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14007         * ob.el (org-babel-merge-params): Better error message for
14008         unassigned variables.
14010 2012-01-03  Christian Egli  <christian.egli@alumni.ethz.ch>
14012         * org-taskjuggler.el (org-export-as-taskjuggler): Clone the
14013         buffer local variables to the temporary buffer before
14014         exporting.
14016 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14018         * org-exp.el (org-export-select-backend-specific-text):
14019         Only remove commas on the front line of a code block.
14021 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14023         * ob.el (org-babel-demarcate-block): Copy headers and indent to
14024         column of point when a block is split.
14026 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14028         * ob.el (org-babel-insert-result): Corrected file insertion
14029         for inline results.
14031 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14033         * org-footnote.el (org-footnote-in-valid-context-p):
14034         No footnote in latex fragments.
14036 2012-01-03  Martin Rudalics  <rudalics@gmx.at>
14038         * org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
14039         argument from `pop-to-buffer-same-window' call.
14041 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14043         * ob-R.el (org-babel-R-evaluate-session): Improve prompt
14044         detection regexp.
14046 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14048         * org-inlinetask.el (org-inlinetask-goto-end):
14049         Small refactoring.
14051 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14053         * ob-asymptote.el (org-babel-asymptote-var-to-asymptote):
14054         refactor code.
14055         (org-babel-asymptote-table-to-array): Remove function.
14057 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14059         * ob-asymptote.el (org-babel-asymptote-var-to-asymptote):
14060         recognize non-nested lists as uni-dimensional arrays.
14062 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14064         * ob.el (org-babel-params-from-properties): Don't check for
14065         header arguments in properties with leading ":"s.
14067 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14069         * org-inlinetask.el (org-inlinetask-goto-end):
14070         Correctly detect the end of an inlinetask when the next one starts
14071         immediately after the current one.  Also, return position of
14072         point.
14074 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14076         * ob.el (org-babel-inline-src-block-regexp): Allow regexp to
14077         start at bol.
14079 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14081         * ob-asymptote.el (org-babel-asymptote-define-type):
14082         Elisp floats are asymptote reals.
14084 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14086         * ob-asymptote.el (org-babel-asymptote-table-to-array):
14087         Require a new argument TYPE specifying the detected type of
14088         array.  If it's a string array, make sure every element is
14089         returned as a string.  Also improve doc-string.
14090         (org-babel-asymptote-var-to-asymptote): Fill new argument.
14091         Small refactoring.
14092         (org-babel-asymptote-define-type): Rewrite to avoid stopping
14093         search at first float found, as strings have precedence over
14094         floats.
14096 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14098         * org-footnote.el (org-footnote-normalize): Be sure to separate
14099         the last footnote definition from the rest of the buffer.
14101 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14103         * ob-awk.el (org-babel-expand-body:awk): Allow for symbolic
14104         variable names.
14106 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14108         * org.el (org-latex-regexps): Allow matching latex fragments
14109         of type "$" and "$1" at beginning of line.
14111 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14113         * org-agenda.el (org-search-view, org-agenda-get-todos)
14114         (org-agenda-get-deadlines, org-agenda-get-scheduled):
14115         Add `category-pos' in let construct.
14117 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14119         * org-footnote.el (org-footnote-get-definition): The function has
14120         to widen buffer if definition has not been found in the current
14121         narrowed part.  Be sure to restore that restriction once the
14122         definition is found.
14124 2012-01-03  Michal Sojka  <sojka@os.inf.tu-dresden.de>  (tiny change)
14126         * org-icalendar.el (org-print-icalendar-entries): Make alarm
14127         duration RFC5545 compliant.
14129 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14131         * org-agenda.el (org-agenda-get-timestamps)
14132         (org-agenda-get-sexps, org-agenda-get-progress): Correctly set
14133         the `org-category-pos' property.
14135 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14137         * org-html.el (org-export-html-divs): Improve docstring.
14139 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
14141         * org-table.el (org-table-fix-formulas): Throw error when
14142         changing formula leads to an invalid formula.
14144 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14146         * org.el (org-archive-location): Minor docstring fix.
14148 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14150         * org.el (org-block-todo-from-checkboxes):
14151         `org-list-search-forward' should be used when looking for an
14152         item, as it filters out contexts where match couldn't be in a
14153         list.  Also use a correct item regexp, taking into account
14154         alphabetical ordered lists and counters.
14156 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14158         * org-html.el (org-html-make-link): Minor fix to the
14159         docstring.
14161 2012-01-03  Suvayu Ali  <fatkasuvayu+linux@gmail.com>  (tiny change)
14163         * org-inlinetask.el (org-inlinetask): New customizable face
14164         for inlinetasks.
14166 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14168         * org-agenda.el (org-agenda-get-todos): Properly set
14169         `category-pos'.
14171 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14173         * org-list.el (org-list-struct-apply-struct): Don't use
14174         (copy-marker (point)) instead of (point-marker).
14176 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14178         * ob.el (org-babel-where-is-src-block-result): Don't try to
14179         resolve variables when simply checking if we're inside of a
14180         code block.
14182 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14184         * org.el (org-refresh-category-properties): New text property
14185         'org-category-position to point at the beginning of the
14186         headline from which the category is set.
14188 2012-01-03  Matt Lundin  <mdl@imapmail.org>
14190         * org.el (org-refile): Don't call `org-back-to-heading' with
14191         goto argument.
14193 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14195         * org.el (org-link-display-descriptive): Remove this option and
14196         rely on the existing `org-descriptive-links' instead.
14197         (org-toggle-link-display): Use `org-descriptive-links'.
14199 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14201         * ob-ref.el (org-babel-ref-resolve): Allow matching of results
14202         with tags after the result name.
14204 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14206         * org-table.el (org-table-get-specials): Allow the use of the
14207         underscore character in column names.
14208         (org-table-get-specials): Allow the use of the underscore
14209         character in field names.
14211 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14213         * org-exp-blocks.el (org-export-blocks-preprocess):
14214         Explicitly cleaning up markers.
14216 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14218         * ob-exp.el (org-babel-exp-inline-src-blocks): Save match data
14219         around `org-babel-exp-do-export' which now searches in this case.
14220         (org-babel-exp-results): Position the point in the inline source
14221         block during export evaluation.
14223         * ob.el (org-babel-insert-result): More readable code.
14225 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14227         * org-exp-blocks.el (org-export-blocks-preprocess): Use the built
14228         in function rather than the superfluous (and now removed)
14229         org-specific function.
14231 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14233         * ob-exp.el (org-babel-exp-inline-src-blocks): Don't examplize
14234         inline code blocks which are already escaped.
14236 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14238         * org-exp-blocks.el (org-marker-from-point): Helper function to
14239         create markers at specific points in source buffers.
14240         (org-export-blocks-preprocess): Use markers instead of points
14241         to delimit code blocks.
14243 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14245         * org-list.el (org-list-separating-blank-lines-number):
14246         The behavior of `org-back-over-empty-lines' depends on the
14247         associated value of `headline' in
14248         `org-blank-before-new-entry', which is out of context in a
14249         list.
14251 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14253         * org-indent.el (org-indent-initialize-agent): When the current
14254         buffer isn't being watched, resume initialization of other watched
14255         buffers.  In that case, give hand to others idle timers or
14256         processes more frequently.
14257         (org-indent-agent-active-delay): Rename from
14258         `org-indent-agent-process-duration'.
14259         (org-indent-agent-passive-delay): New variable.
14260         (org-indent-agent-resume-delay): Change value.
14261         (org-indent-initialize-buffer): Change argument name.
14262         (org-indent-add-properties): Change argument name and type
14263         expected.  It must be a time value now.
14265 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14267         * org.el (org-set-property): Bugfix.
14269 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14271         * ob.el (org-babel-remove-result): Idempotent code block
14272         evaluation and result removal.
14274 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14276         * ob-ruby.el (org-babel-ruby-initiate-session): No longer
14277         require inf-ruby when no session evaluation takes place.
14279 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14281         * org-agenda.el (org-agenda-prefix-format): Mention "%e" in
14282         the docstring.
14284 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
14286         * org-agenda.el (org-agenda-custom-commands): Set a default
14287         value for this command.
14289 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
14291         * org-agenda.el (org-agenda-include-all-todo): Declare this option
14292         as no longer working.
14293         (org-timeline): Rename the include-all argument to dotodo.
14294         (org-arg-loc): Rename from` org-include-all-loc'.
14295         (org-agenda-list): Rename the INCLUDE-ALL argument to ARG,
14296         because its function has changed.
14298 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14300         * org.el (org-fixup-indentation): Fix various small bugs.
14302 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14304         * org-indent.el (org-indent-agent-timer)
14305         (org-indent-agentized-buffers, org-indent-agent-resume-timer)
14306         (org-indent-agent-process-duration)
14307         (org-indent-agent-resume-delay): New variables.
14308         (org-indent-initial-marker): More accurate doc-string.
14309         (org-indent-initial-timer, org-indent-initial-resume-timer)
14310         (org-indent-initial-process-duration)
14311         (org-indent-initial-resume-delay)
14312         (org-indent-initial-lock): Remove variables.
14313         (org-indent-mode): Set up an agent to watch current buffer, or
14314         add it to the list of already watched buffers.
14315         (org-indent-initialize-agent): New function.
14316         (org-indent-initialize-buffer): Now requires a mandatory
14317         buffer argument.
14318         (org-indent-add-properties): Reflect changes to variables.
14319         The resume timer is now global.
14321 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14323         * org-footnote.el (org-footnote-normalize): Refactor, and fix
14324         some blank lines deletion.
14326 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14328         * org-indent.el (org-indent-mode):
14329         `org-indent-initial-resume-timer ' needs to be local.
14331 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14333         * org.el (org-fixup-indentation): Correctly indent meta lines.
14335 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14337         * org-indent.el (org-indent-set-line-properties): Add text
14338         properties down to the beginning of the next line.
14339         (org-indent-add-properties): When last position to add
14340         properties to is at the beginning of a line, all that line
14341         will have properties.
14343 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14345         * org-indent.el (org-indent-initial-resume-timer): New variable.
14346         (org-indent-initialize-buffer): Also resume after a small break.
14347         (org-indent-add-properties): When in asynchronous mode,
14348         proceed for 2 seconds, then take a break.
14350 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14352         * org-indent.el (org-indent-set-line-properties): New function.
14353         (org-indent-add-properties): Externalize worker function.
14355 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14357         * org-indent.el (org-indent-indent-buffer): Take into account
14358         narrowing.
14360 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14362         * org-indent.el (org-indent-modified-headline-flag): Rename from
14363         `org-indent-deleted-headline-flag'
14364         (org-indent-notify-modified-headline): Rename from
14365         `org-indent-notify-deleted-headline'.  Handle situations when
14366         the stars of an headline are modified.
14367         (org-indent-refresh-maybe): Remove case now handled by
14368         previous function.
14369         (org-indent-mode): Apply renames.
14371 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14373         * org-indent.el (org-indent-inlinetask-first-star):
14374         New variable.
14375         (org-indent-add-properties): Set the first star of inline-tasks'
14376         virtual indentation in `org-warning' face.
14378         * org-inlinetask.el (org-inlinetask-insert-task): Create a new
14379         inline-task slightly differently, so virtual indentation can
14380         be applied normally.
14382 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14384         * org-indent.el (org-indent-initial-marker)
14385         (org-indent-initial-timer, org-indent-initial-lock):
14386         New variables.
14387         (org-indent-mode): At initialization, start an idle timer to indent
14388         the whole buffer.  When the user is asking for control, interrupt the
14389         process, and resume at the same point when idle again.
14390         (org-indent-initialize-buffer): New function.
14391         (org-indent-add-properties): Throw an interrupt when indentation of
14392         buffer is stopped during initialization.
14394 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14396         * org-indent.el (org-indent-indent-buffer): Send more
14397         appropriate messages.
14399 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14401         * org-indent.el (org-indent-notify-deleted-headline)
14402         (org-indent-refresh-maybe): Replace `org-indent-outline-re'
14403         with `org-outline-regexp-bol'.
14405 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14407         * org-indent.el (org-indent-max-levels): Modify default value and
14408         add comment.
14409         (org-indent-add-properties): Pay attention to `org-indent-max'
14410         and `org-indent-max-levels' values.
14411         (org-indent-refresh-maybe): Refactor code to avoid an unnecessary
14412         save excursion.
14414 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14416         * org-table.el (org-table-align): Remove now useless hack.
14418 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14420         * org-indent.el (org-indent-fix-section-after-idle-time):
14421         Remove variable.
14422         (org-indent-initialize): Remove timer.
14423         (org-indent-add-properties): Refactor code.
14424         (org-indent-refresh-subtree, org-indent-refresh-section)
14425         (org-indent-refresh-buffer, org-indent-set-initial-properties):
14426         Remove functions.
14427         (org-indent-deleted-headline): New variable.
14428         (org-indent-notify-deleted-headline, org-indent-refresh-maybe):
14429         New functions.
14430         (org-indent-mode): Insert new functions into a hook.
14432 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14434         * org-indent.el (org-indent-mode): Completely refresh buffer
14435         before starting org-indent-mode.  Also set idle timer to refresh
14436         only visible portion of buffer, and refresh the subtree instead of
14437         section when promoting or demoting it.
14438         (org-indent-add-properties): Rewrite function to proceed line by
14439         line, as required by `wrap-prefix' specificity.
14440         (org-indent-refresh-section, org-indent-refresh-subtree): Refactor.
14441         (org-indent-refresh-view): New function.
14442         (org-indent-refresh-to, org-indent-refresh-section):
14443         Remove functions.
14445         * org.el (org-unfontify-region): Do not remove prefix
14446         properties when unfontifying a region.
14448 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14450         * org-colview.el (org-columns-cleanup-item): Correctly remove
14451         leading stars in items displayed in the agenda column view.
14453 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14455         * org-colview.el (org-columns-display-here): Clean up items in
14456         `org-agenda-mode' too.
14457         (org-columns-cleanup-item): Take a new argument CPHR to allow
14458         passing a complex heading regexp.  Rewrite to cleanup ITEM
14459         correctly in `org-agenda-mode'.
14461 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14463         * org-clock.el (org-duration-string-to-minutes)
14464         (org-minutes-to-hh:mm-string, org-hh:mm-string-to-minutes):
14465         Move from org.el.
14467 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14469         * org.el (org-refile-active-region-within-subtree): New option to
14470         allow refiling a region that is part of a subtree without
14471         containing a subtree itself.  This default to `nil'.
14472         (org-refile): Use the new option.  Put point at the beginning
14473         of the region/subtree to be refiled, so that users understand
14474         what will be refiled.  Also improve the prompt to tell whether
14475         the user is refiling a region or a headline.
14477 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14479         * org.el (org-properties-postprocess-alist): New option to allow
14480         postprocessing the values of properties set through
14481         `org-set-property'.
14482         (org-set-property): Use this option.
14484 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14486         * org.el (org-outline-regexp, org-outline-regexp-bol): Add a
14487         docstring.
14489 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14491         * org-archive.el (org-archive-to-archive-sibling):
14492         Use `org-outline-regexp' instead of `outline-regexp'.
14494 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14496         * org.el (org-between-regexps-p): Searching up to pos may
14497         match again beginning regexp.
14499 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14501         * org-footnote.el (org-footnote-goto-definition): Don't send
14502         erroneous message: suggested bindings might not be set outside
14503         Org.
14505 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14507         * org-footnote.el (org-footnote-normalize): Effectively remove
14508         any footnote tag in non Org buffers, as detailled in the
14509         docstring of `org-footnote-tag-for-non-org-mode-files'.
14511 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14513         * org-footnote.el (org-footnote-tag-for-non-org-mode-files):
14514         notify the opportunity to set the variable to the empty string.
14515         (org-footnote-normalize, org-footnote-create-definition):
14516         Carefully check for inserted newlines and presence of the
14517         footnote tag.
14519 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14521         * org-footnote.el (org-footnote-at-definition-p): Re-use
14522         `org-footnote-definition-re'.
14524 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14526         * org-footnote.el (org-footnote-definition-re): Remove an
14527         useless group.
14528         (org-footnote-at-definition-p): Reflect removal of the group.
14530 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14532         * org.el (org-set-regexps-and-options): Enforce white space
14533         after todo keyword, as word boundary isn't sufficient (i.e. in
14534         matches * TODO/this).
14536 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
14538         * org-inlinetask.el (org-inlinetask-export-templates):
14539         Fix template for html so that the exported file is valid
14540         xhtml.  Added template for odt.
14541         (org-inlinetask-export-handler): Fix typo in the regexp that
14542         trims content.  Make sure that the content is flanked by
14543         paragraph boundaries on either side.
14545 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14547         * org.el (org-add-planning-info): Don't insert superfluous
14548         space when updating timestamps.
14550 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14552         * org-agenda.el (org-cmp-effort): Fix docstring.
14554 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14556         * org-list.el (org-list-full-item-re): When an item has only a
14557         bullet and no space after it, list structure would not be
14558         recognized correctly.
14560 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14562         * org.el (org-overview): Use `outline-regexp' instead of
14563         `org-outline-regexp' so that global cycling using
14564         `orgstruct-mode' works outside of Org buffers.
14566 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14568         * org-table.el (org-table-eval-formula): Fix missing variable
14569         in let construct.
14570         (org-table-time-string-to-seconds): Fix missing variable in
14571         let construct.
14573 2012-01-03  Michael Brand  <michael.ch.brand@gmail.com>
14575         * org-agenda.el (org-agenda-get-deadlines): Fix dfrac for the
14576         case of wdays being 0.  Don't pass wdays to
14577         org-agenda-deadline-face, like before the old fix.
14578         (org-agenda-deadline-face): Revert to old state that was without
14579         wdays.
14581 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14583         * org-latex.el (org-export-latex-fixed-width): Only add one
14584         line break after exporting verbatim environments.
14586 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14588         * org-list.el (org-list-item-trim-br): New function.
14589         (org-list-to-generic): New parameter :nobr to use the new
14590         function.
14592 2012-01-03  David Maus  <dmaus@ictsoc.de>
14594         * org.el (org-paste-subtree): Fix wrong order of lines to move
14595         before pasting.
14597 2012-01-03  David Maus  <dmaus@ictsoc.de>
14599         * org.el (org-paste-subtree): Paste subtree above target
14600         headline if point is at bol.
14602 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14604         * org-list.el (org-toggle-checkbox): Don't clear lim-down
14605         while used in the while loop.
14607 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14609         * org-list.el (org-toggle-checkbox): Lim-down must be a
14610         marker.
14612 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14614         * org.el (org-activate-code): Correct regexp so ":.*" isn't
14615         matched.
14617 2012-01-03  David Maus  <dmaus@ictsoc.de>
14619         * org-macs.el (org-with-gensyms, org-called-interactively-p)
14620         (with-silent-modifications, org-bound-and-true-p)
14621         (org-unmodified, org-re, org-preserve-lc)
14622         (org-without-partial-completion, org-with-point-at)
14623         (org-no-warnings, org-if-unprotected, org-if-unprotected-1)
14624         (org-if-unprotected-at, org-with-remote-undo)
14625         (org-no-read-only, org-save-outline-visibility)
14626         (org-with-wide-buffer, org-with-limited-levels)
14627         (org-eval-in-environment): Provide edebug specifications.
14629         * org-src.el (org-src-do-at-code-block): Dto.
14631         * org-publish.el (org-publish-with-aux-preprocess-maybe): Dto.
14633         * org-compat.el (org-xemacs-without-invisibility): Dto.
14635         * org-clock.el (org-with-clock-position, org-with-clock): Dto.
14637         * org-agenda.el (org-agenda-with-point-at-orig-entry)
14638         (org-batch-agenda, org-batch-agenda-csv)
14639         (org-batch-store-agenda-views): Dto.
14641         * ob.el (org-babel-do-in-edit-buffer)
14642         (org-babel-map-src-blocks, org-babel-map-inline-src-blocks): Dto.
14644         * ob-tangle.el (org-babel-with-temp-filebuffer): Dto.
14646         * ob-table.el (sbe): Dto.
14648         * ob-exp.el (org-babel-exp-in-export-file): Dto.
14650         * ob-comint.el (org-babel-comint-in-buffer)
14651         (org-babel-comint-with-output): Dto.
14653 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14655         * org-inlinetask.el (org-inlinetask-export-templates):
14656         Fix docstring.
14658 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14660         * org-inlinetask.el (org-inlinetask-insert-task): Error when
14661         trying to nest inline tasks.
14663 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14665         * org.el (org-activate-code, org-toggle-fixed-width-section)
14666         (org-indent-line-function): Allow "[ \t]*:$" as a special case of
14667         fixed-width section.
14669 2012-01-03  David Maus  <dmaus@ictsoc.de>
14671         * org.el (org-paste-subtree): Don't eat headline when called
14672         with point at existing headline.
14674 2012-01-03  David Maus  <dmaus@ictsoc.de>
14676         * org.el (org-paste-subtree): Fix typo in variable name.
14678 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
14680         * org-inlinetask.el (org-inlinetask-export-handler):
14681         Don't export inline tasks if the current backend has provided no
14682         entries in `org-inlinetask-export-templates'.
14684 2012-01-03  Valentin Wüstholz  <wuestholz@gmail.com>  (tiny change)
14686         * org.el (org-indent-line-function): Made the way in which
14687         example blocks are indented more flexible.
14689 2012-01-03  David Maus  <dmaus@ictsoc.de>
14691         * org-agenda.el (org-batch-agenda-csv): Fix argument to append
14692         when creating final parameter alist.
14694 2012-01-03  David Maus  <dmaus@ictsoc.de>
14696         * org-agenda.el (org-batch-store-agenda-views): Use macro
14697         `org-eval-in-environment'.
14699 2012-01-03  David Maus  <dmaus@ictsoc.de>
14701         * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
14702         Use `org-eval-in-environment.
14704 2012-01-03  David Maus  <dmaus@ictsoc.de>
14706         * org-macs.el (org-make-parameter-alist): New function.
14707         Turn flat list of alternating symbol names and values into an alist
14708         with symbol name in car and value in cdr.
14710 2012-01-03  David Maus  <dmaus@ictsoc.de>
14712         * org-agenda.el (org-agenda-with-point-at-orig-entry):
14713         Use macro `org-with-gensyms'.
14715 2012-01-03  David Maus  <dmaus@ictsoc.de>
14717         * org-macs.el (org-substitute-posix-classes):
14718         New function.  Substitute posix classes in regular expression.
14719         (org-re): Use new function.
14721 2012-01-03  David Maus  <dmaus@ictsoc.de>
14723         * org-macs.el (org-eval-in-environment): New macro.  Evaluate FORM
14724         in ENVIRONMENT.
14726 2012-01-03  David Maus  <dmaus@ictsoc.de>
14728         * org-macs.el (org-preserve-lc, org-with-point-at)
14729         (org-with-remote-undo, org-save-outline-visibility): Use new
14730         macro `org-with-gensyms'.
14732 2012-01-03  David Maus  <dmaus@ictsoc.de>
14734         * org-macs.el (org-with-gensyms): New macro.  Wrap let-binding
14735         of SYMBOLS to new uninterned symbols around BODY.
14737 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14739         * org-inlinetask.el (org-inlinetask-export-handler): Make sure
14740         the task starts a paragraph or the HTML exporter will produce
14741         an incorrect output.
14743 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14745         * org.el (org-return): When filling happens, `newline' can
14746         change match data, hence modifying the indent column.
14748 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14750         * org-footnote.el (org-footnote-new): Only forbid non-inlined
14751         footnotes at column 0, as only them can be confused with a
14752         footnote definition.
14754 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14756         * org-footnote.el (org-footnote-new): Use `ido' or `iswitchb'
14757         when available when prompted for a label.  Also rename a local
14758         variable to avoid confusion with an existing function.
14760 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14762         * org-footnote.el (org-footnote-label-history):
14763         Remove variable
14764         (org-footnote-new): Remove call to that variable.
14766 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14768         * org.el (org-insert-heading): With `force-heading' non-nil,
14769         inserting an heading before any headline, and just after a
14770         list would return an error.
14772 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14774         * ob.el (org-babel-sha1-hash): Remove use of `copy-seq'.
14776 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14778         * org-bibtex.el (org-bibtex-get): Make the "FILE" property
14779         non-special when resolving bibtex values.
14781 2012-01-03  David Maus  <dmaus@ictsoc.de>
14783         * org.el (org-back-over-empty-lines): Don't move line upward
14784         if point is at eob.
14786 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14788         * org-footnote.el (org-footnote-in-valid-context-p):
14789         Check `org-protected' property before allowing to match a footnote.
14790         (org-footnote-at-reference-p): Remove an obsolete test.  It is now
14791         done in the previous function.
14793 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14795         * org.el (org-between-regexps-p): Previous name implied the
14796         function was related to blocks, which isn't mandatory.
14797         (org-narrow-to-block, org-in-block-p)
14798         (org-indent-line-function): Applied the rename.
14800         * ob-exp.el (org-babel-in-example-or-verbatim):
14801         Applied rename.  Also removed a white space.
14803 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14805         * org.el (org-in-regexps-block-p): Return an useful value when
14806         point is between START-RE and END-RE.  No incomplete block is
14807         allowed anymore.  Add another optional argument to bound the
14808         bottom part of the search.
14809         (org-narrow-to-block, org-in-block-p): Apply modifications.
14811 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14813         * ob.el (org-babel-src-block-regexp): If a code block has a
14814         body, its last character must be a newline.
14816 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14818         * org-footnote.el (org-footnote-next-reference-or-definition):
14819         If no more footnote is found, be sure to go back to the
14820         original position.  Otherwise, point might be left on a
14821         footnote-like element that has been dished out.
14823 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14825         * ob-exp.el (org-babel-inline-src-block-regexp): Declare this
14826         variable.
14828         * ob.el (defvar): Wrap variable declaration in
14829         `eval-when-compile'.
14831 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14833         * ob-keys.el (org-babel-key-bindings): Bound to `C-c C-v k'.
14835 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14837         * ob-java.el (org-babel-execute:java): Allow cmdline flags
14838         during compilation and evaluation.
14840 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
14842         * ob.el (org-babel-expand-body:generic, org-babel-number-p):
14843         * ob-ref.el (org-babel-ref-parse): Fix typos.
14845 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
14847         * ob.el (org-babel-execute-src-block): Fix typo.
14849 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
14851         * org.el (org-link-unescape, org-link-unescape-compound): Fix typos.
14853 2011-11-20  Andreas Schwab  <schwab@linux-m68k.org>
14855         * org-list.el (org-list-send-item): Use sort instead of sort*.
14857 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
14859         * org-table.el (org-table-line-to-dline): Fix typo.
14861 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
14863         * org-agenda.el (org-agenda-add-entry-text-descriptive-links)
14864         (org-agenda-custom-commands, org-write-agenda, org-check-for-org-mode)
14865         (org-search-syntax-table, org-modify-diary-entry-string)
14866         (org-write-agenda):
14867         * org-bbdb.el (org-bbdb-anniv-export-ical):
14868         * org-bibtex.el (org-bibtex-fields):
14869         * org-icalendar.el (org-icalendar-date-time-format):
14870         * org-latex.el (org-export-latex-inline-image-extensions):
14871         * org-list.el (org-list-insert-item): Fix typos.
14873 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
14875         * org-plot.el (org-plot/gnuplot-to-grid-data): Fix typo in docstring.
14877 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
14879         * org.el (org-mode): Force left-to-right paragraphs in Org
14880         buffers.  For a related discussions, see
14881         https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
14883 2011-09-17  Juanma Barranquero  <lekktu@gmail.com>
14885         * org.el (org-toggle-pretty-entities): Fix typo in message.
14887 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
14889         * org-compat.el (org-pop-to-buffer-same-window): Delete.
14891         * ob-ref.el (org-babel-ref-goto-headline-id):
14892         * org.el (org-get-location, org-tree-to-indirect-buffer)
14893         (org-mark-ring-goto, org-refile, org-add-log-note)
14894         (org-revert-all-org-buffers, org-switchb)
14895         (org-cycle-agenda-files, org-submit-bug-report)
14896         (org-goto-marker-or-bmk):
14897         * org-agenda.el (org-prepare-agenda, org-agenda-switch-to):
14898         * org-capture.el (org-capture-goto-target)
14899         (org-capture-fill-template):
14900         * org-clock.el (org-clock-goto):
14901         * org-ctags.el (org-ctags-visit-buffer-or-file):
14902         * org-exp.el (org-export-as-org):
14903         * org-feed.el (org-feed-show-raw-feed):
14904         * org-html.el (org-export-htmlize-generate-css):
14905         * org-id.el (org-id-goto):
14906         * org-irc.el (org-irc-visit-erc):
14907         * org-mobile.el (org-mobile-apply):
14908         * org-publish.el (org-publish-org-to, org-publish-find-date):
14909         * org-remember.el (org-go-to-remember-target):
14910         * org-src.el (org-src-switch-to-buffer)
14911         (org-edit-fixed-width-region): Use switch-to-buffer.
14913 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
14915         * org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
14916         argument from pop-to-buffer-same-window call.
14918 2011-07-30  Carsten Dominik  <carsten.dominik@gmail.com>
14920         * ob.el (org-babel-src-block-regexp): If a code block has a body,
14921         its last character must be a newline.
14923 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14925         * org-pcomplete.el: New file.  Rename from org-complete.el.
14926         * org-complete.el: Delete file.
14928 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14930         * org-publish.el (org-publish-index-generate-theindex):
14931         Rename from `org-publish-index-generate-theindex.inc'.  Use the file
14932         theindex.org directly instead of including theindex.inc.
14933         (org-publish-projects): Don't delete .orgx files.
14934         (org-publish-aux-preprocess): Use .file.orgx.
14936 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14938         * org-html.el (org-export-html-preamble-format): New default for
14939         the HTML preamble: don't include the title.  Also improve the
14940         docstring.
14941         (org-export-html-postamble-format): Improve the docstring.
14942         (org-export-as-html): Add the title within the "content" div.
14943         This is necessary for interaction with the org-info.js script.
14945 2011-07-28  Michael Brand  <michael.ch.brand@gmail.com>
14947         * org-table.el (org-table-edit-field): Display field coordinates.
14949 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14951         * org-publish.el (org-publish-find-title): Bugfix: kill buffers
14952         unless they were already visited.
14953         (org-sitemap-sort-files, org-sitemap-sort-folders)
14954         (org-sitemap-ignore-case, org-sitemap-requested)
14955         (org-sitemap-date-format, org-sitemap-file-entry-format):
14956         Use a correct prefix.
14957         (org-publish-projects): Make sure to delete .orgx files.
14958         (org-publish-index-generate-theindex.inc): Small docstring fix.
14960 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14962         * org-table.el (org-table-duration-custom-format): New defcustom
14963         to select output format of durations computations.
14964         (org-table-time-seconds-to-string): Use the new variable.
14965         (org-table-eval-formula): Allow `t' as a flag, on top of `T'.  `t'
14966         will use the custom output format defined in
14967         `org-table-duration-custom-format'.
14969 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14971         * org-list.el: Search blank lines down to the end of the item
14972         instead of stopping at the item, in order to possibly match such
14973         lines within the item.
14975 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14977         * org-latex.el (org-export-latex-href-format): Docstring fix to
14978         reflect the fact that you can use only one "%s".
14979         (org-export-latex-links): Allow `org-export-latex-href-format' to
14980         have only one "%s".
14982 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
14984         * org.el (org-org-menu): Add `org-copy-visible' to the menu.
14986 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
14988         * org.el (org-copy-visible): New command.
14990 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14992         * org-capture.el (org-capture-templates): Docstring fix.
14994 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14996         * ob.el (org-babel-view-src-block-info): New function to inspect
14997         code blocks.
14999         * ob-keys.el (org-babel-key-bindings): Key bindings for
15000         `org-babel-view-src-block-info'.
15002 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15004         * org-exp.el (org-infile-export-plist): Handle recursively
15005         included setup files.  The value of the last included file always
15006         takes precedence over previous values.
15008 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15010         * org.el (org-timestamp-change): Keep point in the same category
15011         when updating a time-stamp.  This requires to be careful, as,
15012         depending on the locale, name of day might change of length during
15013         the process.
15015 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15017         * org-footnote.el (org-footnote-create-definition): When skipping
15018         already written footnotes definition, the algorithme would assume
15019         each one was only one-line long.
15021 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15023         * org-table.el (org-table-eval-formula): Fix bug when a formula
15024         "range" is just one cell.
15025         (org-table-time-string-to-seconds): Don't check whether we
15026         manipulate a string.
15028 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15030         * org-exp.el (org-export-mark-list-end)
15031         (org-export-mark-list-properties): Don't remove the ending regexp
15032         when it consists in blank lines.
15034         * org-list.el (org-list-parse-list): Ditto, but remove it
15035         completely when it isn't made of blank lines (i.e. during export
15036         process).
15038 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15040         * org-table.el (org-table-time-string-to-seconds): Match either
15041         HH:MM:SS or HH:MM (instead of MM:SS).
15043 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15045         * org.el (org-ctrl-c-ctrl-c-final-hook): New hook to be run when
15046         `org-ctrl-c-ctrl-c' cannot do anything useful in the given
15047         context.
15049 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15051         * org-html.el (org-export-html-with-timestamp)
15052         (org-export-html-html-helper-timestamp): These are obsolete
15053         variables as of Org version 7.7 as you can already export the
15054         timestamp from the preamble or the postamble.
15055         (org-export-html-before-content-div): Delete variable.
15056         (org-export-html-content-div): Obsolete variable as of 7.7.
15057         (org-export-html-divs): New variable to define divs used in
15058         HTML export.
15059         (org-export-as-html): Now the preamble and the postamble are
15060         surrounded by a <div ...>.  The name of the div is defined through
15061         `org-export-html-divs'.
15063 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15065         * org-table.el (org-table-eval-formula): Throw an error when
15066         trying to replace complex range with invalid references.
15068 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15070         * org-macs.el (org-with-limited-levels): Some functions, like
15071         `org-back-to-heading', being deeply based on outline-mode, still
15072         refer to `outline-regexp' instead of `org-outline-regexp'.
15074 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15076         * org.el (org-refile-get-targets): New optional argument
15077         `excluded-entries' to exclude entries from the targets.
15078         (org-refile-get-location): From an org-mode buffer, exclude
15079         current heading and subheadings from the list of targets when
15080         `org-refile-use-cache' is nil.
15082 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15084         * org.el (org-imenu-get-tree): Headlines start at bol.
15086 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15088         * ob-maxima.el: New file.  Fixed self-proclaimed file name.
15090 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15092         * ob.el (org-babel-sha1-hash): Only call `copy-seq' on proper
15093         lists.
15095 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15097         * org.el (org-kill-is-subtree-p): Matched string needs to start at
15098         bol.
15100 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15102         * org.el (org-paste-subtree, org-kill-is-subtree-p)
15103         (org-yank-folding-would-swallow-text, org-yank-generic):
15104         Use `org-with-limited-levels' macro.
15106 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15108         * org-macs.el (org-with-limited-levels): Also modify, when
15109         appropriate, `org-outline-regexp-at-bol'.
15111 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15113         * org.el (org-timestamp-change): Some locales don't use the same
15114         length for date abbreviations.  Set a marker at origin in case
15115         length of new timestamp is different.
15117 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15119         * org.el (org-imenu-get-tree): Browse only true headlines.
15121 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15123         * org-archive.el (org-archive-subtree): While it might be possible
15124         to archive an headline of a temporary buffer (i.e. not visiting a
15125         file), it wouldn't be really sensible.
15127 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15129         * org-archive.el (org-extract-archive-file)
15130         (org-extract-archive-heading, org-archive-subtree):
15131         `buffer-file-name' is nil in an indirect buffer.  Thus, use
15132         `(buffer-file-name (buffer-base-buffer))', which will, in any
15133         case, return the file name.
15135 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15137         * org-capture.el (org-capture): If dired isn't loaded,
15138         `dired-buffers' isn't defined, and %F will fail.
15140 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15142         * ob-java.el (org-babel-execute:java): Don't create empty package
15143         directories.
15145 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15147         * ob-java.el: New file.
15149 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15151         * ob.el (org-babel-execute-src-block): Replace call to defunct
15152         function `org-babel-result-hash'.
15154 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15156         * org-footnote.el (org-footnote-in-valid-context-p): Avoid cited
15157         lines and headers in `message-mode'.
15158         (org-footnote-at-reference-p): Remove check for cited lines, this
15159         is now handled by the previous function.  Refactor.
15161 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15163         * org-capture.el (org-capture): If no file is associated to
15164         current buffer, check dired buffer and try to retrieve a possibly
15165         directory associated.
15167 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15169         * ob-exp.el (org-babel-exp-results): Resolve hashes in the current
15170         (not original) file buffer.
15172         * ob.el (org-babel-current-result-hash): More informative name,
15173         and remove useless optional argument.
15175 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15177         * org.el (org-refile-get-location): Exclude current heading from
15178         the refile table.
15180 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15182         * org-footnote.el (org-footnote-at-reference-p): Test if match is
15183         in cited text, when replying to a message.
15184         (org-footnote-new): Do not create a new footnote at bol, as it
15185         might be seen as a definition.
15186         (org-footnote-at-definition-p): Ignore definitions in forbidden
15187         blocks, as it is already the case for references.
15189 2011-07-28  Matt Lundin  <mdl@imapmail.org>
15191         * org-bibtex.el (org-bibtex-create, org-bibtex-write):
15192         Change argument of `org-toggle-tag' to 'on.  (Other arguments, e.g., t,
15193         have no effect).
15195 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15197         * org-bibtex.el (org-bibtex-get): Don't let trimming turn nils
15198         into empty strings.
15200 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15202         * org-list.el (org-list-insert-item): Actualize code comments.
15203         (org-insert-item): For consistency, point cannot be moved at a
15204         surprising place when the user is being asked to choose a new
15205         description term to insert in the list.  Point should stay where
15206         the user called the command.
15208 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15210         * org.el (org-outline-regexp-bol): New defconst.
15211         (org-outline-level, org-set-font-lock-defaults, org-cycle)
15212         (org-overview, org-content, org-flag-drawer)
15213         (org-first-headline-recenter, org-insert-todo-heading)
15214         (org-map-region, org-move-subtree-down, org-paste-subtree)
15215         (org-kill-is-subtree-p, org-context-p, org-refile)
15216         (org-refile-new-child, org-toggle-comment, org-todo)
15217         (org-add-planning-info, org-add-log-setup, org-scan-tags)
15218         (org-set-tags, org-insert-property-drawer)
15219         (org-prepare-agenda-buffers, org-preview-latex-fragment)
15220         (org-speed-command-default-hook, org-check-for-hidden)
15221         (org-toggle-item, org-toggle-heading)
15222         (org-indent-line-function, org-set-autofill-regexps)
15223         (org-fill-paragraph, org-toggle-fixed-width-section)
15224         (org-yank-generic, org-yank-folding-would-swallow-text)
15225         (org-first-sibling-p, org-goto-sibling)
15226         (org-goto-first-child, org-show-entry):
15227         Use `org-outline-regexp' and `org-outline-regexp-bol'.
15229 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15231         * org.el (org-update-parent-todo-statistics): COOKIE_DATA should
15232         be checked for parent, not current headline.  Also, this function
15233         doesn't need to be interactive.
15235 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15237         * org-list.el (org-list-send-item, org-list-struct-apply-struct)
15238         (org-apply-on-list, org-toggle-checkbox): Make markers point
15239         nowhere when they have become useless.
15241 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15243         * org-list.el (org-list-insert-item): When insertion point is in
15244         some white line after the end of the list, remove all unnecessary
15245         white lines there before proceeding.  Also refactor a snippet of
15246         code.
15248 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15250         * org-latex.el (org-export-latex-image-default-option):
15251         Change default value.
15253 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15255         * org.el (org-fontify-meta-lines-and-blocks-1): Blocks cannot be
15256         correctly fontified when the buffer is missing a final newline.
15258 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15260         * ob.el (org-babel-strip-protective-commas): Return `nil' instead
15261         of an error if no argument is given.
15262         (org-babel-parse-src-block-match): Make sure body is defined in
15263         the let construct.
15265 2011-07-28  Jon Anders Skorpen  <jonas@ifi.uio.no>  (tiny change)
15267         * org-publish.el (org-publish-cache-file-needs-publishing):
15268         Regexp did not find includes with double quoted file names.
15270 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15272         * org-footnote.el (org-footnote-normalize): Footnote section
15273         should be inserted only if there are footnotes to insert.
15275 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15277         * org-footnote.el (org-footnote-at-definition-p)
15278         (org-footnote-normalize): Do not grab signature in the definition
15279         of the last footnote.
15281 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15283         * org-bibtex.el (org-babel-trim): Declare this function to the
15284         compiler.
15285         (org-bibtex-get): Trimming whitespace off of bibtex fields read from
15286         properties.
15288 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15290         * org-exp.el (org-export-preprocess-string): Add the possibility
15291         to call recursively the function.  Also change order of some
15292         function calls.  Comment export process for footnotes.
15294         * org-footnote.el (org-footnote-normalize): Change the export
15295         specific parameter to hold properties of export.  Thus, the
15296         function can send every footnote definition in the buffer through
15297         `org-export-process-string'.
15299 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15301         * org-latex.el (org-export-latex-preprocess): First insert
15302         footnotes in the temporary buffer so their contents can properly
15303         be protected from further transformations if required.
15305 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15307         * org-list.el (org-list-indent-offset): New variable.
15308         (org-list-struct-fix-ind): Make use of the new variable.
15310 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15312         * org-latex.el (org-export-latex-list-parameters):
15313         Complete default value with cbtrans option.
15315         * org-list.el (org-list-to-latex): Set a more consistent default
15316         value.
15318 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15320         * org-list.el (org-list-swap-items): Move it to a meaningful
15321         position in source code (i.e. before any function using it), and
15322         rename it to an easier name.
15324 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15326         * org-list.el (org-list-separating-blank-lines-number): If there
15327         are blank lines already in the whole list, add a blank line.
15329 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15331         * org-list.el (org-list-use-circular-move): New variable.
15332         (org-previous-item, org-next-item): Make use of the new variable.
15333         (org-move-item-down, org-move-item-up): Make use of the new
15334         variable.  Simplify code.
15336 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15338         * org-list.el (org-list-delete-item, org-list-send-item):
15339         New functions.
15341 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15343         * org-agenda.el (org-agenda-bulk-custom-functions): New variable
15344         for custom bulk action functions.
15345         (org-agenda-bulk-action): Use it.
15347 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15349         * org-latex.el (org-export-latex-quotes): New defcustom.
15350         (org-export-latex-quotation-marks): Use it.
15352 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15354         * org-capture.el (org-capture-finalize): Bugfix about inserted
15355         blank line when killing the capture buffer and
15356         `org-blank-before-new-entry' tells to not insert anything before a
15357         heading.
15359 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15361         * org-html.el (org-export-html-content-div): Rename from
15362         `org-export-content-div'.
15363         (org-export-as-html): Use new name.
15365 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15367         * org-latex.el (org-export-latex-header-defs-re): Delete.
15369 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15371         * org.el (org-last-set-property): New variable.
15372         (org-read-property-name): Use the new variable: the prompt
15373         defaults to the last property set, unless there is a property in
15374         the line at point.
15376 2011-07-28  David Maus  <dmaus@ictsoc.de>
15378         * org-capture.el (org-capture-before-finalize-hook)
15379         (org-capture-after-finalize-hook, org-capture-mode-map)
15380         (org-capture-mode, org-capture-goto-last-stored): Fix docstring,
15381         consistently refer to capture, not remember.
15383 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15385         * ob-clojure.el (org-babel-execute:clojure): Respects "scalar" and
15386         "verbatim" results params.
15388 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15390         * ob-awk.el (org-babel-execute:awk): Use "verbatim" as synonym for
15391         "scalar".
15393         * ob-sh.el (org-babel-sh-evaluate): Use "verbatim" as synonym for
15394         "scalar".
15396         * ob-sqlite.el (org-babel-execute:sqlite): Use "verbatim" as
15397         synonym for "scalar".
15399         * ob.el (org-babel-merge-params): Use "verbatim" as synonym for
15400         "scalar".
15402 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15404         * ob.el (org-babel-script-escape): Parse odd parens when nested
15405         isnide lists.
15407 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15409         * ob-clojure.el (org-babel-execute:clojure): No longer force
15410         results into elisp if they don't naturally fit.
15412 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15414         * ob-clojure.el (org-babel-execute:clojure): Stop re-reading
15415         already parsed lisp results.
15417 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15419         * org-list.el (org-plain-list-ordered-item-terminator):
15420         Remove incorrect assumption.
15422 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15424         * org-footnote.el (org-footnote-forbidden-blocks): Add missing
15425         exporter specific blocks.
15427         * org-list.el (org-list-forbidden-blocks): Ditto.
15429 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15431         * org-latex.el (org-export-latex-tables): Bugfix: remove
15432         properties from fields.
15434 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15436         * org.el (org-shiftcontrolup, org-shiftcontroldown): New commands
15437         to use `org-clock-timestamps-change'.
15439 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15441         * org.el (org-timestamp-up, org-timestamp-down): Mention time
15442         changes in the docstring.
15444 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15446         * org-clock.el (org-clock-remove-empty-clock-drawer): New function
15447         to remove empty clock drawer.
15448         (org-clock-out-hook): Add the new function as a hook.
15450 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15452         * org-list.el (org-list-in-valid-context-p): Use `org-in-block-p'.
15454 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15456         * org.el (org-in-block-p): New function.
15458         * org-footnote.el (org-footnote-forbidden-blocks): New variable.
15459         (org-footnote-in-valid-context-p): New function.
15460         (org-footnote-at-reference-p): Use new function.  Allow inline
15461         footnotes to start at bol.
15463 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15465         * org-lparse.el (org-lparse-use-flashy-warning): New defcustom.
15466         (org-lparse-warn): Use it.
15468 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15470         * org-ascii.el (org-export-as-utf8): Fix call to
15471         `org-called-interactively-p': it requires an argument.  Also fix
15472         the docstring.
15474 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15476         * ob-lilypond.el (show-all): Declaring function from outline.el.
15477         (org-babel-default-header-args:lilypond): Declared.
15478         (ly-process-basic): Use the appropriate prefix for the temporary
15479         file, and don't call a function from ob-dot.el.
15480         (ly-version): Let-bind a free variable.
15482 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15484         * ob-lilypond.el: New file.
15486 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15488         * org-publish.el
15489         (org-publish-cache-file-needs-publishing): Only check against .org
15490         files.
15492 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15494         * org.el (org-mode): Use `org-default' as the default face in
15495         org-mode.
15497 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15499         * org-publish.el
15500         (org-publish-cache-file-needs-publishing): Takes care of more
15501         recently included files, returning `t' in case the file including
15502         them needs to be republished.
15504 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15506         * org-exp.el (org-export-preprocess-string): If the last subtree
15507         is a task, footnotes may be removed along with the subtree.
15508         This patch ensures footnotes are put at the end of the buffer after the
15509         subtree has been removed.
15511 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15513         * org-footnote.el (org-footnote-at-reference-p): Verify that what
15514         looks like a footnote doesn't belong to a link.
15515         (org-footnote-next-reference-or-definition): Check more strictly
15516         footnote definitions.
15518 2011-07-28  Deech  <deech@deech-ThinkPad-X200.(none)>  (tiny change)
15520         * ob-tangle.el (org-babel-tangle): Ignore errors thrown by
15521         language modes.
15523 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15525         * ob-python.el (org-babel-python-evaluate-session): Inhibit return
15526         of the eoe string during session evaluation.
15528 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15530         * ob-python.el (org-babel-python-evaluate-session):
15531         Enough newlines to ensure a return when ":results output :session".
15533 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15535         * ob-python.el (org-babel-python-evaluate-session): Introduced a
15536         new local function for sending input with a slight delay to allow
15537         pythong to re-draw the prompt.  No longer removing newlines inside
15538         code block bodies (was due to a defective regexp).
15540 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15542         * org-table.el (org-table-time-seconds-to-string):
15543         Use `org-format-seconds' instead of `format-seconds'.
15545 2011-07-28  David Maus  <dmaus@ictsoc.de>
15547         * org-publish.el (org-publish-cache-ctime-of-src): Properly handle
15548         relative symlinks.
15550 2011-07-28  David Maus  <dmaus@ictsoc.de>
15552         * org-latex.el (org-export-latex-preprocess): Use function
15553         argument instead of dynamically scoped symbol.
15555 2011-07-28  David Maus  <dmaus@ictsoc.de>
15557         * org-freemind.el (org-freemind-convert-links-helper)
15558         (org-freemind-convert-text-p, org-freemind-write-mm-buffer)
15559         (org-freemind-get-node-style): Use org-string-match-p for backward
15560         compatibility with Emacs 22.
15562 2011-07-28  David Maus  <dmaus@ictsoc.de>
15564         * org-html.el (org-export-html-protect-char-alist): Add missing
15565         :group keyword in defcustom.
15567 2011-07-28  David Maus  <dmaus@ictsoc.de>
15569         * ob-haskell.el (org-babel-haskell-export-to-lhs):
15570         Call `kill-buffer' with argument indiciating to kill current
15571         buffer.  Emacs 22 compatibility.
15573 2011-07-28  David Maus  <dmaus@ictsoc.de>
15575         * org-macs.el (org-without-partial-completion):
15576         Toggle partial-completion-mode only if it is turned on.
15578 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15580         * org.el (org-add-planning-info): Fix issues with timestamps not
15581         being inserted at the same position.
15583 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15585         * org-table.el (org-table-time-string-to-seconds)
15586         (org-table-time-seconds-to-string): New functions.
15587         (org-table-eval-formula): Implement the "T" (time) flag for
15588         computing durations.
15590 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
15592         * org.el (org-modules): Add org-lparse and org-odt as contrib
15593         modules.
15595 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15597         * org.el (org-fontify-meta-lines-and-blocks-1): Include header
15598         lines.
15599         (org-additional-option-like-keywords): Include data as a synonym
15600         for results.
15602 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15604         * ob.el (org-babel-sha1-hash): Improving code layout and removing
15605         export-variable headers in cache sha1.
15607 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15609         * ob-ref.el (org-babel-ref-goto-headline-id): Don't let `org-id'
15610         rescan all IDs when trying to resolve a reference.
15612 2011-07-28  Julien Barnier  <julien@nozav.org>
15614         * org.el (org-fontify-meta-lines-and-blocks-1): Fix test for src
15615         blocks lang attribute.
15617 2011-07-28  Eric S Fraga  <e.fraga@ucl.ac.uk>
15619         * org-latex.el (org-export-latex-timestamp-inactive-markup):
15620         New option to allow different markup for inactive timestamps.
15622 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15624         * ob-org.el (org-babel-expand-body:org): Implemented this
15625         function, only action is to expand variables.
15626         (org-babel-execute:org): Uses the new body-expansion function.
15628 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15630         * org-list.el (org-list-full-item-re): Allow counter and check-box
15631         to be separated by white spaces.
15632         (org-list-struct-apply-struct): Reflect changes made to
15633         `org-list-full-item-re'.
15635         * org-html.el (org-html-export-list-line): Recognize spaces
15636         between counter and check-boxes as valid.
15638         * org-docbook.el (org-export-docbook-list-line): Ditto.
15640 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15642         * org-list.el (org-list-insert-item): Make sure point is moved to
15643         the specified POS before starting the function.
15645 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15647         * org.el (org-activate-footnote-links): Properly fontify inline
15648         footnotes.
15649         (org-set-font-lock-defaults): Apply changes to previous function.
15651 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15653         * org-footnote.el (org-footnote-at-reference-p): First check if
15654         point is at the beginning of a footnote.  Indeed `org-in-regexp'
15655         first checks backwards and might find an incorrect footnote if
15656         they are side-by-side.
15658 2011-07-28  Michael Brand  <michael.ch.brand@gmail.com>
15660         * org-agenda.el (org-agenda-compact-blocks): Improve docstring.
15661         (org-agenda-block-separator): Add nil to docstring and customization.
15662         (org-prepare-agenda): Skip agenda block separator additionally if
15663         `org-agenda-block-separator' is nil.
15664         (org-agenda-overriding-header): Improve docstring.
15666 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15668         * org.el (org-set-tags): Remove useless
15669         `org-without-partial-completion'.
15671 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15673         * org-footnote.el (org-fill-paragraph): Declare function for the
15674         compiler.
15676 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15678         * ob-ref.el (org-narrow-to-subtree): Declare unknown function.
15680 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15682         * ob.el (org-babel-inline-lob-one-liner-regexp): Declare variable
15683         to appease compiler.
15685 2011-07-28  Michael Markert  <markert.michael@googlemail.com>
15687         * ob.el (org-babel-sha1-hash): Adding optional argument KIND to
15688         all `org-called-interactively-p' function invocations.
15690         * org-agenda.el (org-agenda-redo): Adding optional argument KIND
15691         to all `org-called-interactively-p' function invocations.
15692         (org-agenda-show-1): Adding optional argument KIND to all
15693         `org-called-interactively-p' function invocations.
15694         (org-agenda-set-tags): Adding optional argument KIND to all
15695         `org-called-interactively-p' function invocations.
15697         * org-ascii.el (org-export-as-latin1): Adding optional argument
15698         KIND to all `org-called-interactively-p' function invocations.
15699         (org-export-as-latin1-to-buffer): Adding optional argument KIND to
15700         all `org-called-interactively-p' function invocations.
15701         (org-export-as-utf8-to-buffer): Adding optional argument KIND to all
15702         `org-called-interactively-p' function invocations.
15703         (org-export-region-as-ascii): Adding optional argument KIND to all
15704         `org-called-interactively-p' function invocations.
15706         * org-docbook.el (org-export-region-as-docbook): Adding optional
15707         argument KIND to all `org-called-interactively-p' function
15708         invocations.
15710         * org-html.el (org-export-region-as-html): Adding optional
15711         argument KIND to all `org-called-interactively-p' function
15712         invocations.
15714         * org-latex.el (org-export-region-as-latex): Adding optional
15715         argument KIND to all `org-called-interactively-p' function
15716         invocations.
15718         * org-table.el (org-table-blank-field): Adding optional argument
15719         KIND to all `org-called-interactively-p' function invocations.
15720         (org-table-current-column): Adding optional argument KIND to all
15721         `org-called-interactively-p' function invocations.
15722         (org-table-current-dline): Adding optional argument KIND to all
15723         `org-called-interactively-p' function invocations.
15724         (org-table-sort-lines): Adding optional argument KIND to all
15725         `org-called-interactively-p' function invocations.
15726         (org-table-sum): Adding optional argument KIND to all
15727         `org-called-interactively-p' function invocations.
15728         (org-table-rotate-recalc-marks): Adding optional argument KIND to
15729         all `org-called-interactively-p' function invocations.
15730         (org-table-eval-formula): Adding optional argument KIND to all
15731         `org-called-interactively-p' function invocations.
15732         (orgtbl-send-table): Adding optional argument KIND to all
15733         `org-called-interactively-p' function invocations.
15735         * org.el (org-mode): Adding optional argument KIND to all
15736         `org-called-interactively-p' function invocations.
15737         (org-copy-subtree): Adding optional argument KIND to all
15738         `org-called-interactively-p' function invocations.
15739         (org-paste-subtree): Adding optional argument KIND to all
15740         `org-called-interactively-p' function invocations.
15741         (org-store-link): Adding optional argument KIND to all
15742         `org-called-interactively-p' function invocations.
15743         (org-todo): Adding optional argument KIND to all
15744         `org-called-interactively-p' function invocations.
15745         (org-occur): Adding optional argument KIND to all
15746         `org-called-interactively-p' function invocations.
15748 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15750         * org-footnote.el (org-footnote-action): Offer to create
15751         definition when none is found.
15753 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15755         * org-footnote.el (org-footnote-re): Avoid matching inactive
15756         time-stamps or check-box cookies.
15757         (org-footnote-next-reference-or-definition): Adapt to the new regexp.
15759 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15761         * org-exp.el (org-export-preprocess-string): If the last subtree
15762         is commented, footnotes inserted during normalizing at the end of
15763         the buffer may get deleted.  This patch ensures deletion comes
15764         first, normalization second.
15766 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15768         * org-exp.el (org-export-footnotes-data): Change docstring.
15769         (org-export-footnotes-seen): Rename from
15770         org-export-footnotes-markers.
15772         * org-ascii.el (org-export-as-ascii): Apply change.
15774         * org-docbook.el (org-export-as-docbook): Apply change.
15776         * org-footnote.el (org-footnote-normalize): Apply change.
15778         * org-html.el (org-export-as-html): Apply change.
15780         * org-latex.el (org-export-as-latex): Apply change.
15782 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15784         * org-latex.el (org-export-latex-preprocess): Rely on
15785         `org-export-footnotes-markers' to retrieve definition of the
15786         current footnote during export.
15788 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15790         * org-footnote.el (org-footnote-normalize): Remember footnotes
15791         seen so far by the exporter when choosing the new marker.
15793 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15795         * org-footnote.el (org-footnote-normalize): Make use of
15796         `org-footnote-insert-pos-for-preprocessor'.
15798 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15800         * org-footnote.el (org-footnote-normalize): Add `org-footnote'
15801         property to footnote markers when preparing for exportation.
15803         * org-html.el (org-export-as-html): Read new property to decide
15804         when to export a footnote.
15806         * org-docbook.el (org-export-as-docbook): Read new property to
15807         decide when to export a footnote.
15809         * org-latex.el (org-export-latex-preprocess): Ensure footnote at
15810         column 0 cannot end a list containing it by adding
15811         `original-indentation' property to it.
15813 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15815         * org-exp.el (org-export-preprocess-string): Normalize footnotes
15816         before marking lists ending.
15818         * org-latex.el (org-export-latex-preprocess): Work with labels as
15819         strings and not as numbers.
15821 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15823         * org-docbook.el (org-export-docbook-footnote-separator):
15824         New variable.
15825         (org-export-as-docbook): Add a separator between footnotes.
15827         * org-html.el (org-export-html-footnote-separator): New variable.
15828         (org-export-as-html): Add a separator between footnotes.
15830         * org-latex.el (org-export-latex-footnote-separator):
15831         New variable.
15832         (org-export-latex-preprocess): Add a separator between footnotes.
15834 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15836         * org-exp.el (org-export-footnotes-markers)
15837         (org-export-footnotes-data): New variables.
15838         (org-export-preprocess-string): Use a more explicit argument.
15840 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15842         * org-footnote.el (org-footnote-goto-definition): Now, determining
15843         if point is at a footnote reference is entirely determined by
15844         `org-footnote-at-reference-p'.  No need to check if pattern isn't
15845         at beginning of the line elsewhere.
15847 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15849         * org-footnote.el (org-footnote-next-reference-or-definition):
15850         New function.
15852         * org.el (org-activate-footnote-links): Activate the whole
15853         footnote, but only fontify its label.
15855 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15857         * org-footnote.el (org-footnote-normalize): Make use of changes to
15858         `org-footnote-at-reference-p' and creation of various functions..
15859         Also comment code.
15860         (org-footnote-get-next-reference, org-footnote-delete-references)
15861         (org-footnote-delete-definitions): New functions.
15862         (org-footnote-goto-previous-reference, org-footnote-all-labels)
15863         (org-insert-footnote-reference-near-definition, org-footnote-delete):
15864         Rewrite to use org-footnote-get-next-reference.
15866 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15868         * org-footnote.el (org-footnote-re): Don't end an inline footnote
15869         at unrelated closing square brackets.
15870         (org-footnote-at-reference-p): Improve accuracy of the function to
15871         determine if point is at a reference and to extract definition of an
15872         inline footnote.
15873         (org-footnote-all-labels, org-footnote-action, org-footnote-delete)
15874         (org-footnote-auto-adjust-maybe): Make use of previous function.
15876 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15878         * org.el (org-deadline, org-schedule):
15879         keep warning cookie when rescheduling/redeadlining.
15880         (org-time-stamp): Fix problem with warning cookie.
15882 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15884         * ob-clojure.el (org-babel-execute:clojure): Force escaping of
15885         clojure source into elisp source.
15887 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15889         * ob.el (org-babel-script-escape): Treats {} in the same manner as
15890         [] and allows for forcing string conversion.
15892 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15894         * org-exp.el (org-export-select-backend-specific-text):
15895         Strip protective commas from literal code blocks.
15897 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15899         * ob-ref.el (org-babel-ref-goto-headline-id): Fix bug.
15901 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15903         * ob-ref.el (org-babel-ref-goto-headline-id): Split out into its
15904         own function.
15905         (org-babel-ref-headline-body): Split out into its own function.
15906         (org-babel-ref-resolve): Using new functions, and alignment.
15908         * ob.el (org-babel-ref-goto-headline-id): Declare function.
15909         (org-babel-ref-headline-body): Declare function.
15910         (org-babel-expand-noweb-references): Now expands noweb references to
15911         headlines during expansion.
15913 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15915         * ob-ref.el (org-babel-ref-resolve): Now resolves references to
15916         headlines by either global or custom id, in which case the
15917         contents of the headline are returned literally.
15919 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15921         * ob-exp.el (org-babel-in-example-or-verbatim): Also check for in
15922         verbatim emphasis.
15923         (org-babel-exp-lob-one-liners): Cleaner checking for escaped call
15924         lines.
15926 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15928         * org-list.el (org-cycle-item-indentation): Cycling back to
15929         original position deleted any additional information in the item,
15930         like a counter or a tag.
15932 2011-07-28  Pieter Praet  <pieter@praet.org>
15934         * org-crypt.el (org-crypt-disable-auto-save): New defcustom.
15935         (org-decrypt-entry): Before decrypting, check whether
15936         `auto-save-mode' is enabled for the current buffer, and act on it
15937         according to how `org-crypt-disable-auto-save' is set.  Remove
15938         comment re "encrypt[ing] Org auto-saved buffers".  Remove on-init
15939         check for `auto-save-default'.
15941 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15943         * ob.el (org-babel-merge-params): Ensure variable parameters are
15944         not reversed.
15946 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15948         * ob.el (org-babel-insert-result): Fix results insertion for
15949         inline blocks which happen to start a line.
15951 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15953         * ob-exp.el (org-babel-exp-lob-one-liners): Fix the logic checking
15954         if a call line is commented.
15956 2011-07-28  Vincent Belaïche  <vincentb1@users.sourceforge.net>
15958         * org.el (org-read-property-name): Propose default property name.
15960 2011-07-28  Achim Gratz  <stromeko@nexgo.de>
15962         * org.el (org-log-into-drawer): Correct typo.
15964         * org-clock.el (org-clock-into-drawer): New function to change the
15965         location of clock events based on properties CLOCK_INTO_DRAWER or,
15966         as fallback, LOG_INTO_DRAWER, like it is already possible for
15967         state change logs.
15969         * org-clock.el (org-clock-jump-to-current-clock): Add statement to
15970         let clause to bind `org-clock-into-drawer' to result of function
15971         eval.
15973         * org-clock.el (org-clock-find-position): Add statement to let
15974         clause to bind `org-clock-into-drawer' to result of function eval,
15975         change let to let* since the binding is used later in the same
15976         clause.
15978 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15980         * ob-lob.el (require): Ensure 'cl is loaded during compilation so
15981         we can use flet.
15983 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15985         * ob-lob.el (org-babel-lob-get-info): Correctly indent results of
15986         non-inline call lines.
15988 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15990         * ob-exp.el (org-babel-exp-lob-one-liners): Don't export inline
15991         call_ blocks which aren't whitespace padded.
15993 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15995         * ob.el (org-babel-merge-params): Do not reverse variable order,
15996         and be sure to increment variable index as appropriate.
15998 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16000         * ob-lob.el (org-babel-inline-lob-one-liner-regexp): Update to
16001         successfully match optional trailing header arguments in square
16002         brackets.
16003         (org-babel-lob-get-info): Update to match the new regexp.
16005 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16007         * ob-lob.el (org-babel-lob-get-info): If the arguments are empty,
16008         then allow them to be so.
16010 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16012         * ob.el (org-babel-merge-params): If variables are not named they
16013         are assigned in order.
16015 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16017         * ob.el: Remove code comment about online documentation.
16019         * ob-exp.el: Remove code comment about online documentation.
16021         * ob-lob.el: Remove code comment about online documentation.
16023 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16025         * org-exp.el (org-export-format-source-code-or-example):
16026         Fix signature of org-<backend>-format-source-code-or-example function.
16028 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16030         * ob.el (org-babel-sha1-hash): Replace call to
16031         called-interactively-p with backwards-compatible interactive-p.
16033 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16035         * ob-exp.el (org-babel-exp-lob-one-liners):
16036         Appropriate replacement of inline call blocks with their results.
16038 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16040         * ob-lob.el (org-babel-inline-lob-one-liner-regexp): Removing this
16041         trailing space ensures that the insertion of the results looks
16042         nice.
16044         * ob.el (org-babel-insert-result): Insert inline lob line results
16045         as inline results.
16047 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16049         * ob-exp.el (org-babel-exp-lob-one-liners): Calculate length
16050         appropriately given the style (block or inline) of the lob line.
16052         * ob-lob.el (org-babel-block-lob-one-liner-regexp): New regexp
16053         specific for block lob lines.
16054         (org-babel-inline-lob-one-liner-regexp): New regexp specific for
16055         inline lob lines.
16056         (org-babel-lob-one-liner-regexp): Combination of two lob regexps.
16057         (org-babel-lob-get-info): Return info from *either* the block or
16058         inline lob lines.
16060 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16062         * ob-exp.el (org-babel-exp-lob-one-liners): Corrected the
16063         structure of the resulting info list.
16065         * ob-lob.el (org-babel-default-lob-header-args): Export the
16066         results of call lines by default.
16068 2011-07-28  Niels Giesen  <niels.giesen@gmail.com>  (tiny change)
16070         * org-icalendar.el (org-print-icalendar-entries): Add 'uid text
16071         property based on the ID property of the org entry to the first
16072         character of the diary entry.
16074 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16076         * org-footnote.el
16077         (org-footnote-insert-pos-for-preprocessor): New variable.
16078         (org-footnote-normalize): Use it.
16080 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16082         * org-exp.el (org-export-format-source-code-or-example):
16083         Simplify.  Also add `org-native-text' as a text property to the
16084         formatted text and throw error for unknown backends.
16086 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16088         * org-exp.el (org-export-format-source-code-or-example):
16089         Add support for: - custom formatters for existing backends - seamless
16090         plugging in of new backends.
16092 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16094         * org-exp.el (org-export-backends): New variable.
16095         (org-export-select-backend-specific-text): Use above
16096         variable.  Also mark text between #+BACKEND and
16097         #+BEGIN_BACKEND...#+END_BACKEND with org-native-text property.
16098         This text property is currently used only by the new line-oriented
16099         generic exporter (which is not yet part of the repo).
16101 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16103         * org-exp.el (org-export): Reserve keys 'o' and 'O' for
16104         OpenDocumentText export and bind them to `org-export-as-odt' and
16105         `org-export-as-odt-and-open'.
16107 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16109         * ob-exp.el (org-babel-exp-src-block): Less verbose when in batch
16110         mode.
16112 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16114         * ob-clojure.el (org-babel-execute:clojure): Convert vectors to
16115         lists before reading into emacs-lisp.
16117 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16119         * ob-C.el (ob-tangle): Initialize variable from `ob-tangle'.
16121         * ob-asymptote.el (ob-tangle): Initialize variable from `ob-tangle'.
16123         * ob-awk.el (ob-tangle): Initialize variable from `ob-tangle'.
16125         * ob-clojure.el (ob-tangle): Initialize variable from `ob-tangle'.
16127         * ob-haskell.el (ob-tangle): Initialize variable from `ob-tangle'.
16129         * ob-latex.el (ob-tangle): Initialize variable from `ob-tangle'.
16131         * ob-lisp.el (ob-tangle): Initialize variable from `ob-tangle'.
16133         * ob-ocaml.el (ob-tangle): Initialize variable from `ob-tangle'.
16135         * ob-perl.el (ob-tangle): Initialize variable from `ob-tangle'.
16137         * ob-python.el (ob-tangle): Initialize variable from `ob-tangle'.
16139         * ob-ruby.el (ob-tangle): Initialize variable from `ob-tangle'.
16141         * ob-tangle.el (ob-tangle): Initialize variable from `ob-tangle'.
16143 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16145         * ob-awk.el: New file.
16147 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16149         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
16150         Respects ":results verbatim".
16152 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16154         * org-agenda.el (org-float): Aliases for `diary-float'.
16156 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16158         * ob-python.el (org-babel-python-evaluate-session):
16159         Send comint-send-input after every line when interacting with an
16160         interactive python process.
16162 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16164         * org-list.el (org-reset-checkbox-state-subtree): Make the command
16165         more robust, and correctly update check-boxes in the whole
16166         sub-tree.
16167         (org-update-checkbox-count): Fix bug accumulating count of checkboxes
16168         when walking a subtree.
16169         (org-update-checkbox-count-maybe): Add an optional argument passed to
16170         org-update-checkbox-count.
16172 2011-07-28  Teodor Zlatanov  <tzz@lifelogs.com>
16174         * org.el (org-fontify-meta-lines-and-blocks): Ignore errors.
16176 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16178         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Respect the
16179         ":results scalar" header argument combination.
16181 2011-07-28  Dan Davison  <dandavison7@gmail.com>
16183         * org-src.el: Append a space character to copied text so that the
16184         final text property change is picked up correctly.
16186 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16188         * ob-tangle.el (org-babel-tangle-file): Use the new argument list
16189         to org-babel-tangle.
16190         (org-babel-tangle): Now when called with a prefix argument, only the
16191         current code block is tangled.
16193 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16195         * org-list.el (org-list-parse-list): Replace transitional
16196         check-boxes with "[CBTRANS]" string during parsing.
16197         (org-list-to-generic): Use the new property `:cbtrans' to configure
16198         export string for transitional check-boxes.
16200 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16202         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
16203         Use stable internal `org-anniversary' instead of
16204         diary-anniversary.
16205         (org-class): New function.
16206         (org-diary-class): Use `org-class'.
16207         (org-anniversary, org-cyclic, org-date, org-block): New functions.
16209 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16211         * ob.el (org-babel-header-arg-names): Adding noweb-ref to the list
16212         of header argument names.
16214 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16216         * ob.el (org-babel-expand-noweb-references): Concatenating all
16217         bodies with the appropriate name or :noweb-ref header argument.
16219 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
16221         * org.el (org-find-dblock, org-clocktable-try-shift): Make regexp
16222         work also when #+begin line is indentex.
16224 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16226         * ob.el (org-babel-src-block-regexp): Babel: code block may have
16227         empty bodies.
16229 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16231         * org-macs.el (org-without-partial-completion): Avoid calling by
16232         name a function unknown to the compiler but explicitly checked by
16233         program logic.
16235 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16237         * org-mouse.el (org-agenda-earlier): Declaring previously unknown
16238         function.
16239         (org-agenda-later): Declaring previously unknown function.
16240         (org-agenda-mode-map): Declaring previously unknown variable.
16242         * org.el (org-read-date-analyze): Explicitly ignore the return
16243         value of a function.
16245 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16247         * org-agenda.el (org-agenda-mode): Globally replace
16248         buffer-substring-filters with filter-buffer-substring-functions.
16250         * org-indent.el (org-indent-mode): Globally replace
16251         buffer-substring-filters with filter-buffer-substring-functions.
16253 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16255         * org-ascii.el (org-export-as-ascii): Replacing '(λ...) with
16256         #'(λ...).
16258         * org-attach.el: Replacing '(λ...) with #'(λ...).
16259         (org-attach-commit): Replacing '(λ...) with #'(λ...).
16261         * org-exp.el: Replacing '(λ...) with #'(λ...).
16262         (org-export-handle-include-files): Replacing '(λ...) with #'(λ...).
16264         * org-html.el: Replacing '(λ...) with #'(λ...).
16265         (org-export-as-html): Replacing '(λ...) with #'(λ...).
16267         * org-mouse.el: Replacing '(λ...) with #'(λ...).
16268         (org-mouse-popup-global-menu): Replacing '(λ...) with
16269         (org-mode-hook): Replacing '(λ...) with #'(λ...).
16270         (org-agenda-mode-hook): Replacing '(λ...) with #'(λ...).
16272         * org-src.el: Replacing '(λ...) with #'(λ...).
16273         (org-src-mode-configure-edit-buffer): Replacing '(λ...) with #'(λ...).
16275         * org-table.el: Replacing '(λ...) with #'(λ...).
16276         (org-table-fix-formulas-confirm): Replacing '(λ...) with #'(λ...).
16278         * org.el: Replacing '(λ...) with #'(λ...).
16279         (org-confirm-shell-link-function): Replacing '(λ...) with
16280         (org-category): Replacing '(λ...) with #'(λ...).
16282 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16284         * org.el (mailcap-parse-mailcaps): Declaring functions used by
16285         `org-open-file'.
16286         (mailcap-extension-to-mime): Declaring functions used by
16287         `org-open-file'.
16288         (mailcap-mime-info): Declaring functions used by `org-open-file'.
16290 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16292         * org-agenda.el (org-agenda-redo): Replacing call to now-defunct
16293         function `interactive-p'.
16294         (org-agenda-show-1): Replacing call to now-defunct function
16295         `interactive-p'.
16296         (org-agenda-set-tags): Replacing call to now-defunct function `interactive-p'.
16298         * org-ascii.el: Replacing call to now-defunct function
16299         `interactive-p'.
16300         (org-export-as-latin1): Replacing call to now-defunct function
16301         `interactive-p'.
16302         (org-export-as-latin1-to-buffer): Replacing call to now-defunct
16303         function `interactive-p'.
16304         (org-export-as-utf8): Replacing call to now-defunct function
16305         `interactive-p'.
16306         (org-export-as-utf8-to-buffer): Replacing call to now-defunct function
16307         `interactive-p'.
16308         (org-export-region-as-ascii): Replacing call to now-defunct
16309         function `interactive-p'.Replacing call to now-defunct function
16310         `interactive-p'.
16312         * org-docbook.el: Replacing call to now-defunct function
16313         `interactive-p'.
16314         (org-export-region-as-docbook): Replacing call to now-defunct
16315         function `interactive-p'.Replacing call to now-defunct function
16316         `interactive-p'.
16318         * org-html.el: Replacing call to now-defunct function
16319         `interactive-p'.
16320         (org-export-region-as-html): Replacing call to now-defunct
16321         function `interactive-p'.Replacing call to now-defunct function
16322         `interactive-p'.
16324         * org-latex.el: Replacing call to now-defunct function
16325         `interactive-p'.
16326         (org-export-region-as-latex): Replacing call to now-defunct
16327         function `interactive-p'.Replacing call to now-defunct function
16328         `interactive-p'.
16330         * org-macs.el: Replacing call to now-defunct function
16331         `interactive-p'.
16332         (org-called-interactively-p): Replacing call to now-defunct
16333         function `interactive-p'.Replacing call to now-defunct function
16334         `interactive-p'.
16336         * org-table.el: Replacing call to now-defunct function
16337         `interactive-p'.
16338         (org-table-blank-field): Replacing call to now-defunct function
16339         `interactive-p'.
16340         (org-table-current-column): Replacing call to now-defunct function
16341         `interactive-p'.Replacing call to now-defunct function
16342         `interactive-p'.
16343         (org-table-current-dline): Replacing call to now-defunct function
16344         `interactive-p'.Replacing call to now-defunct function
16345         `interactive-p'.
16346         (org-table-sort-lines): Replacing call to now-defunct function
16347         `interactive-p'.
16348         (org-table-sum): Replacing call to now-defunct function
16349         `interactive-p'.
16350         (org-table-rotate-recalc-marks): Replacing call to now-defunct
16351         function `interactive-p'.
16352         (org-table-eval-formula): Replacing call to now-defunct function
16353         `interactive-p'.
16354         (orgtbl-send-table): Replacing call to now-defunct function `interactive-p'.
16356         * org.el: Replacing call to now-defunct function `interactive-p'.
16357         (org-mode): Replacing call to now-defunct function
16358         `interactive-p'.
16359         (org-copy-subtree): Replacing call to now-defunct function
16360         `interactive-p'.
16361         (org-paste-subtree): Replacing call to now-defunct function
16362         `interactive-p'.
16363         (org-store-link): Replacing call to now-defunct function
16364         `interactive-p'.
16365         (org-todo): Replacing call to now-defunct function `interactive-p'.
16366         (org-occur): Replacing call to now-defunct function `interactive-p'.
16368 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16370         * ob-R.el (ess-local-process-name): This variable wasn't known to
16371         be defined.
16373         * ob-lisp.el (org-babel-lisp-dir-fmt): This defcustom now has a
16374         group specified.
16376         * ob-tangle.el (org-bracket-link-regexp): This variable wasn't
16377         known to be defined.
16378         (org-babel-tangle-combine-named-blocks): Roll my own version of a
16379         forbidden common lisp function.
16381         * ob.el (org-babel-sha1-hash): Using a non-deprecated version of
16382         called-interactively.
16384 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16386         * org-latex.el (org-export-latex-tables): Check for the
16387         "multiline" option and set the `floatp' option to true when
16388         multicolumn tables are requested.
16390 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16392         * org-html.el (org-export-as-html, org-html-level-start):
16393         Only convert section number underscores to dashes.
16395 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16397         * org-agenda.el (org-agenda-bulk-action): Fix bug caused by
16398         `days-to-time, converting relative to 1 BC, while the code assumed
16399         it would return a time relative to 1970.
16401 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16403         * ob-tangle.el (org-babel-tangle-combine-named-blocks): No longer
16404         inserting newlines between appended code blocks.
16406 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16408         * ob-exp.el: We may no longer need to export names along with code
16409         blocks.
16411 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16413         * org-exp-blocks.el (org-export-blocks-preprocess):
16414         Ensure balanced nested begin/end blocks in block bodies.
16416 2011-07-28  Dan Davison  <dandavison7@gmail.com>
16418         * org-latex.el: Add -shell-escape to pdflatex commands.
16420 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16422         * ob-tangle.el (org-babel-tangle-named-block-combination):
16423         Block combination can now take a number of values.
16424         (org-babel-tangle-combine-named-blocks): More sophisticated block
16425         combination behavior.
16427 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16429         * ob-tangle.el (org-babel-tangle-do-combine-named-blocks):
16430         Switch to turn on the combination of code blocks of the same name.
16431         (org-babel-tangle-combine-named-blocks): Combine blocks of the same
16432         name.
16434 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16436         * ob-ruby.el (xmp): Declaring this function to appease the
16437         compiler.
16438         (org-babel-execute:ruby): "xmp" result option for outputting
16439         annotated source code.
16441 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>  (tiny change)
16443         * org-list.el (org-list-to-latex): The enumerate environment in
16444         latex increments the counter before using it.  Therefore, org-mode
16445         should set the enumeration counter to the desired value minus one.
16447 2011-07-28  Michael Brand  <michael.ch.brand@gmail.com>  (tiny change)
16449         * org.el (org-toggle-heading): More comments and fix number of
16450         stars when toggling from list items.
16452 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
16454         * org-taskjuggler.el (org-taskjuggler-clean-effort): Handle any
16455         effort that is accepted by `org-duration-string-to-minutes´.
16457 2011-07-28  Julien Barnier  <julien@nozav.org>
16459         * ob-sh.el (org-babel-sh-evaluate): When sending input to comint,
16460         wait until previous line execution is finished.
16462         * ob-comint.el (org-babel-comint-with-output): When looking for
16463         end-of-evaluation indicator, search forward for the indicator
16464         before searching forward for the prompt.
16466 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16468         * org-entities.el (org-entities): Fix HTML entity for degree.
16470 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16472         * org.el (org-auto-align-tags): Change docstring.
16473         (org-update-parent-todo-statistics): Keep tags aligned even when
16474         statistics cookies are shifting them.
16476         * org-list.el (org-update-checkbox-count): Keep tags aligned even
16477         when statistics cookies are shifting them.
16479 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
16481         * ob.el (org-babel-sha1-hash): Don't modify info argument by
16482         side-effect when sorting result-params list.
16484 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
16486         * ob.el (org-babel-result-regexp): Use non-shy group around
16487         `org-babel-data-names'.
16489 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16491         * org.el (org-insert-link): Set truncate-line in the *Org Link*
16492         buffer and make sure that it really is set there.
16494 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16496         * ob-lisp.el (org-babel-lisp-dir-fmt): Defcustom for use in
16497         changing how/if the current directory is represented to lisp code.
16498         (org-babel-execute:lisp): More general handling of the default
16499         directory value.
16501 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16503         * ob-lisp.el (org-babel-execute:lisp): Setting the value of
16504         *default-pathname-defaults* to either the value of the :dir header
16505         argument or the directory of the containing Org-mode file.
16507 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16509         * ob-lisp.el (org-babel-execute:lisp): No real functional change,
16510         just aesthetic.
16512 2011-07-28  Sébastien Delafond  <sdelafond@gmail.com>  (tiny change)
16514         * org.el (org-mode-flyspell-verify): This is useful when using
16515         flyspell with a non-English dictionary, or if some of your
16516         keywords are in another language.
16518 2011-07-28  David Maus  <dmaus@ictsoc.de>
16520         * org-exp.el (org-export): Use new compatibility function
16521         `org-activate-mark'.
16523         * org-compat.el (org-activate-mark): New function.
16524         Provide `activate-mark' if not present (e.g. Emacs 22).
16526 2011-07-28  David Maus  <dmaus@ictsoc.de>
16528         * org-table.el (org-table-follow-field-mode): Declare variable to
16529         keep byte compiler happy.
16531 2011-07-28  David Maus  <dmaus@ictsoc.de>
16533         * org-footnote.el (org-id-uuid): Declare function, silence byte
16534         compiler.
16536 2011-07-28  David Maus  <dmaus@ictsoc.de>
16538         * org-bibtex.el (org-bibtex-headline): Don't use equalp at
16539         run-time, compare downcased strings.
16541 2011-07-28  David Maus  <dmaus@ictsoc.de>
16543         * org-bibtex.el (org-id-locations): Declare variable to silence
16544         byte compiler.
16546 2011-07-28  David Maus  <dmaus@ictsoc.de>
16548         * org-id.el (org-id-locations): Fix docstring, remove reference to
16549         non-existent option.
16551 2011-07-28  David Maus  <dmaus@ictsoc.de>
16553         * org.el (org-self-insert-command): Use `delete-char' instead of
16554         `delete-backward-char'.
16556         * org-table.el (orgtbl-self-insert-command): Ditto.
16558 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16560         * org-latex.el (org-export-latex-special-chars): Save match data
16561         when checking for table.el table.
16563 2011-07-28  David Maus  <dmaus@ictsoc.de>
16565         * org.el (org-re-property): Move before its first use.
16567 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16569         * org-latex.el (org-export-latex-preprocess):
16570         Add `original-indentation' property to footnotes so they cannot
16571         possibly end a list by being less indented than the item they
16572         belong to.
16574 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16576         * ob-lisp.el (org-babel-expand-body:lisp): No longer wraps biddies
16577         in `progn'.
16578         (org-babel-execute:lisp): Wraps bodies in `progn' as they are passed
16579         to swank.
16581 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16583         * org-clock.el (org-clocktable-write-default): Implement adding
16584         property columns to the clock table.
16586 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16588         * org.el (org-toggle-item): Move parenthesis to correct location.
16590 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16592         * org.el (org-default-priority):
16593         (org-priority-start-cycle-with-default): Improve docstring.
16594         (org-priority): Throw error when priority is out of range.
16596 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16598         * org.el (org-self-insert-command): Catch the case of
16599         `buffer-undo-list' eq t.
16601 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16603         * org.el (org-toggle-heading): Region should be considered as made
16604         of full lines, without the last one if region-end is at bol.
16605         Removed unused variables.  Refactored and commented code.
16607 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16609         * org.el (org-toggle-item): When region includes an headline less
16610         indented than first one, set it as the new reference.
16612 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16614         * org-list.el (org-list-to-subtree): If the list is before first
16615         heading and `org-odd-levels-only' is non-nil, the first item gets
16616         two stars instead of one.
16618         * org.el (org-reduced-level): A level of 0 was reduced to 1 with
16619         `org-odd-levels-only' non-nil.
16621 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16623         * org.el (org-toggle-item): Converting an heading to an item would
16624         sometimes insert unnecessary spaces before it, and unwanted space
16625         with `org-indent-mode' on.  Changing some text into an item
16626         wouldn't always preserve indentation.
16628 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16630         * org-capture.el (org-capture-current-plist): Improve docstring.
16631         (org-capture-put): Add docstring.
16632         (org-capture-get): Add docstring.
16633         (org-capture-member): Add LOCAL argument.  Add docstring.
16634         (org-capture-set-target-location): Store the time received from a
16635         date prompt into the :prompt-time property.
16637 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16639         * org-exp.el (org-export-mark-list-properties): Even if context is
16640         invalid, mark list item with `list-context' property.
16642         * org-list.el (org-list-forbidden-blocks): Add exporters specific
16643         blocks to the list of forbidden blocks.
16645 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16647         * org-list.el (org-sort-list): Function tries to intern
16648         getkey-func before it is defined, so it's always nil.
16650 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16652         * org.el (org-babel-load-languages): Adding ob-awk to the list of
16653         executable languages.
16655 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16657         * org-table.el (org-table-get-field): Make sure the new field
16658         content is at least one space character.
16660 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16662         * org-crypt.el: Check for `daemonp' before using it.
16664 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16666         * ob-sh.el (ob-ref): Uses `ob-ref' to resolve the value of the
16667         :stdin header argument.
16668         (org-babel-execute:sh): Use the :stdin header argument.
16669         (org-babel-sh-var-to-sh): Split the bulk of this function off into a
16670         new sub-function.
16671         (org-babel-sh-var-to-string): New function for converting elisp
16672         values to strings that make sense for parsing with sh.
16673         (org-babel-sh-evaluate): Adding "stdin" option to session and
16674         external evaluation options.
16676 2011-07-28  Roland Kaufmann  <rlndkfmn+orgmode@gmail.com>  (tiny change)
16678         * org-exp.el (org-remove-formatting-on-newlines-in-region):
16679         New function.
16680         (org-export-format-source-code-or-example):
16681         Call `org-remove-formatting-on-newlines-in-region'.
16683 2011-07-28  David Maus  <dmaus@ictsoc.de>
16685         * org.el (org-entry-put): Prevent adding of extra space to value
16686         if property already exists.
16688 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16690         * org-html.el (org-export-as-html): Don't expand non-data lines of
16691         table.el tables.
16692         (org-html-expand): Remove the (buggy) test for non-data lines
16693         in table.el tables.  The test is now done as part of
16694         org-export-as-html.
16695         (org-format-table-table-html-using-table-generate-source):
16696         Add test for spanning of cells in table.el tables using
16697         table.el's own library routine.  Optionally suppress export of
16698         simple table.el tables.
16699         (org-format-table-html): Remove the (buggy) test for spanned
16700         table.el tables.  The test is now done as part of
16701         org-format-table-table-html-using-table-generate-source.
16703 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16705         * org-latex.el (org-export-latex-special-chars): Do nothing in
16706         table.el tables.
16708 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16710         * org-capture.el (org-capture): Ignore errors when creating a
16711         link.
16713 2011-07-28  Nick Dokos  <nick@dokosmarshall.org>  (tiny change)
16715         * org-exp.el (org-export-define-heading-targets): Use dash instead
16716         of underscore to make labels valid.
16718 2011-07-28  Dan Davison  <dandavison7@gmail.com>
16720         * ob-R.el (org-babel-R-write-object-command): Ensure that all data
16721         is written to the results file before Emacs notices that the file
16722         exists.
16724 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16726         * ob-exp.el (org-babel-exp-code): Remove usage of a macro which is
16727         defined locally on my system, but not globally in Emacs.
16729 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16731         * ob-exp.el (org-babel-exp-do-export): Use `org-babel-exp-code' to
16732         generate code block output.
16733         (org-babel-exp-code): Re-create the code block body for exporting
16734         source code.
16736 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
16738         * org.el (org-read-date): Bury Calendar buffer after using it for
16739         selecting a date.
16741 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16743         * org-list.el (org-list-separating-blank-lines-number):
16744         Fix confusion between point and item beginning.  Now, if no
16745         information is available, truly follow user preference when it
16746         inserts blank lines manually.
16747         (org-list-insert-item): Send correct argument to the preceding
16748         function.
16750 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16752         * ob.el (org-babel-src-block-regexp): Keep the now-mandatory
16753         newline inside of the code block body.
16755 2011-07-28  Sean O'Halpin  <sean.ohalpin@gmail.com>  (tiny change)
16757         * ob.el: Avoid spurious matches to literal.
16759 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16761         * org.el (org-indent-line-function): Don't include #+include
16762         lines.
16764 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16766         * ob-keys.el (org-babel-key-bindings): Adding key sequence for
16767         org-babel-check-src-block.
16769         * ob.el (org-babel-expand-src-block): Fit within 80 cols.
16770         (org-babel-edit-distance): Returns the edit distance of two
16771         strings.
16772         (org-babel-check-src-block): Check a code block for errors.
16774 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
16776         * org-capture.el (org-capture-templates): Fix bug in customization
16777         setup.
16779 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16781         * org-table.el
16782         (org-table-exit-follow-field-mode-when-leaving-table): New option.
16783         (org-table-check-inside-data-field): New optional argument
16784         `noerror'.  When set, the function will only return nil instead of
16785         throwing an error.
16786         (org-table-edit-field): Interpret double prefix argument, and improve
16787         the properties of the editing window.
16788         (org-table-follow-field-mode): New minor mode.
16789         (org-table-follow-fields-with-editor): New function.
16791 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16793         * org-agenda.el (org-agenda-get-todos): Call `org-agenda-skip'
16794         first, then check if timestamps cause exclusion.
16796         * org.el (org-scan-tags): Call `org-agenda-skip' first, then check
16797         if timestamps cause exclusion.
16799 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16801         * org-list.el (org-list-full-item-re): Allow description term to
16802         have a newline character after the colons.
16804 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16806         * org-list.el (org-sort-list): No longer ignore with-case
16807         argument: the function sorted case-sensitively, regardless of
16808         argument.
16810 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16812         * ob-ref.el (org-babel-ref-resolve): Using the new result regexp.
16814         * ob.el (org-babel-data-names): Configurable list of names of
16815         data.
16816         (org-babel-result-regexp): Using new results regexp.
16818 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16820         * org.el (org-special-properties): Add CLOCKSUM to the special
16821         properties.
16823 2011-07-28  Robert P. Goldman  <rpgoldman@real-time.com>  (tiny change)
16825         * ob-exp.el (org-babel-exp-in-export-file):
16826         Bind `org-link-search-inhibit-query' to t to inhibit prompts.
16828 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16830         * org-exp.el (org-export-add-options-to-plist): Use the right
16831         match group.
16833 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16835         * org-latex.el (org-export-latex-preprocess): Protect index string.
16837 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16839         * org-latex.el (org-export-latex-preprocess): Pipe index entries
16840         through `org-export-latex-fontify-headline'.
16842 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16844         * org-exp.el (org-export-add-options-to-plist): Fix the option
16845         parser.
16847 2011-07-28  Robert P. Goldman  <rpgoldman@real-time.com>  (tiny change)
16849         * org-latex.el (org-export-latex-preprocess): Replace index
16850         entries.
16852 2011-07-28  Robert P. Goldman  <rpgoldman@real-time.com>  (tiny change)
16854         * org.el (org-structure-template-alist): Add an easy template for
16855         index (i), and move include file to I from i.
16857 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16859         * org-agenda.el (org-agenda-open-link): Pass entire text of agenda
16860         line to `org-offer-links-in-entry'.
16862 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16864         * org-bibtex.el (org-bibtex-search): New function.
16865         (org-bibtex-export-to-kill-ring): New function.  Export to kill
16866         ring.
16867         (org-bibtex-create-in-current-entry): New function
16868         (org-bibtex-create): Make it easier to add bib fields to an
16869         existing headline.
16870         (org-bibtex-export-arbitrary-fields)
16871         (org-bibtex-treat-headline-as-title): Fix typos
16872         (org-bibtex-fleshout): Don't upcase optional field; remove ":"
16873         from type completion.
16875 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16877         * org-bibtex.el (org-bibtex-treat-headline-as-title):
16878         New defcustom.
16879         (org-bibtex-headline): Only use headline text (not TODO or other
16880         metadata) to generate title field and auto key.
16881         (org-bibtex-fleshout): Allow user to choose whether to treat
16882         headline as title.
16884 2011-07-28  Tom Dye  <tsd@tsdye.com>
16886         * org-bibtex.el: Added crossref field to other fields.
16888 2011-07-28  Tom Dye  <tsd@tsdye.com>
16890         * org-bibtex.el: Add crossref option to incollection.
16892 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16894         * org-bibtex.el (org-bibtex-headline): Don't export TYPE property
16895         as field.
16897 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16899         * org-bibtex.el (org-bibtex-key-property): When storing key in ID,
16900         warn if a duplicate ID is generated.
16902 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16904         * org-bibtex.el (org-bibtex-tags): New variable.
16905         (org-bibtex-tags-are-keywords): New variable.
16906         (org-bibtex-no-export-tags): New variable.
16907         (org-bibtex-headline): Export tags as comma-separated bibtex
16908         keywords.
16909         (org-bibtex-read): Import bibtex keywords field as tags.
16911 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
16913         * org-publish.el (org-publish-find-date): Optimization.
16915 2011-07-28  Tassilo Horn  <tassilo@member.fsf.org>
16917         * org-gnus.el (org-gnus-follow-link): Don't request scan of group
16918         when following link.
16920 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
16922         * org-publish.el (org-publish-project-alist): Document new
16923         :sitemap-sans-extension property.
16924         (org-publish-org-sitemap): Use new `sitemap-sans-extension'
16925         setting.
16927 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16929         * org.el (org-remove-uninherited-tags): Rename from
16930         `org-remove-iniherited-tags'.
16931         (org-scan-tags): Fix typo in function call.
16932         (org-get-tags-at): Fix typo in function call.
16934 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16936         * org.el (org-get-tags-at): Don't include filetags if local is t.
16938 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16940         * ob-clojure.el (org-babel-expand-body:clojure): Qualify pp
16941         dispatch functions, wrap body in `(do )'.
16943 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16945         * org.el (org-fontify-meta-lines-and-blocks): Fix bug which
16946         resulted in the creation of multiple overlays in src blocks.
16948 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16950         * ob-clojure.el (org-babel-execute:clojure): If results are not
16951         readable by lisp, then return them as a string.
16953 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16955         * org-bibtex.el (org-bibtex): Now prompts for a file name.
16957 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16959         * org-bibtex.el (org-bibtex-create): Adding prefix argument which
16960         will result in prompting for optional fields.
16962 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16964         * org-bibtex.el (org-bibtex-headline): Rename flet function `get'
16965         which was causing compile problems.
16966         (org-bibtex-fleshout): Rename flet function `get' which was causing
16967         compile problems.
16968         (org-bibtex-write): Rename flet function `get' which was causing
16969         compile problems.
16971 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
16973         * org-taskjuggler.el (org-taskjuggler-clean-id): Make sure an id
16974         never starts with a number.
16976 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16978         * org-bibtex.el (org-bibtex-export-arbitrary-fields): New option.
16979         (org-bibtex-key-property): New option.
16980         (org-bibtex-put): Make use of new `org-bibtex-key-property'
16981         variable.
16982         (org-bibtex-headline): Make use of new
16983         `org-bibtex-export-arbitrary-fields' and `org-bibtex-key-property'
16984         variables.
16985         (org-bibtex-autokey): Make use of new `org-bibtex-key-property'
16986         variable.
16987         (org-bibtex-fleshout): Make use of new `org-bibtex-key-property'
16988         variable.
16989         (org-bibtex-write): Make use of new `org-bibtex-key-property'
16990         variable.
16992 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16994         * org-bibtex.el: Updating Copyright dates, author information,
16995         commentary and history notes.
16996         (org-bibtex-types): List of bibtex types with descriptions and
16997         required and optional fields.
16998         (org-bibtex-fields): List of bibtex fields with descriptions.
16999         (*org-bibtex-entries*): Special variable to hold parsed bibtex
17000         entries.
17001         (org-bibtex-autogen-keys): Custom variable controlling whether
17002         bibtex keys are automatically generated
17003         (org-bibtex-prefix): Custom variable allowing use of optional prefix
17004         for bibtex properties in Org-mode headlines.
17005         (org-bibtex-get): Helper function for accessing bibtex elements of a
17006         property list.
17007         (org-bibtex-put): Helper function for inserting bibtex element into
17008         a property list.
17009         (org-bibtex-headline): Return a bibtex entry of the given headline
17010         as a string.
17011         (org-bibtex-ask): Prompt the user to fill in the value of a bibtex
17012         field.
17013         (org-bibtex-autokey): Generate a bibtex key for the current
17014         headline.
17015         (org-bibtex-fleshout): Fill in missing bibtex properties of the
17016         current headline.
17017         (org-bibtex): Export the current Org-mode buffer to a bibtex buffer.
17018         (org-bibtex-check): Check that all bibtex properties are present in
17019         the current headline.
17020         (org-bibtex-check-all): Check all headlines in the current buffer.
17021         (org-bibtex-create): Create a new bibtex headline at the current
17022         level.
17023         (org-bibtex-read): Read the current bibtex entry from a bibtex file.
17024         (org-bibtex-write): Write the most recently read bibtex entry into
17025         an Org-mode file.
17027 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17029         * org-agenda.el (org-agenda-clock-consistency-checks): Allow to
17030         set properties.
17031         (org-agenda-show-clocking-issues): Handle faces.
17033 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17035         * ob-ditaa.el (org-babel-default-header-args:ditaa): Specify utf8
17036         content by default with "-Dfile.encoding=UTF-8".
17038 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17040         * ob-ditaa.el (org-babel-execute:ditaa): New ":java" header
17041         argument.
17043 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17045         * org-exp.el (org-export-preprocess-string): Mark list end before
17046         expanding macros.  Thus, a macro inside a list and containing
17047         blank lines cannot break the list structure.
17048         (org-export-preprocess-apply-macros): Multi-lines macros get
17049         indented with the same indentation as the first line.  Thus, we
17050         are sure that every line belongs to the same list as the first
17051         line, if such list exists.  Also add comments in code.
17053 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17055         * org-agenda.el (org-agenda-clock-consistency-checks): New option.
17056         (org-agenda-list): Handle display change to clock check.
17057         (org-agenda-get-progress): Show only clock entries if we are doing
17058         the consistency check.
17059         (org-agenda-show-clocking-issues): New function.
17060         (org-agenda-check-clock-gap): New function.
17061         (org-agenda-view-mode-dispatch): Offer consistency check.
17062         (org-agenda-log-mode): Handle switch to clock only display.
17063         (org-agenda-set-mode-name): Show lighter for Clockcheck.
17065         * org.el (org-hh:mm-string-to-minutes): Accept an integer argument
17066         and return it unchanged.
17068 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17070         * org-list.el (org-list-struct): When walking down the list, the
17071         function would not pay attention to drawers or blocks indentation.
17072         Thus, such constructs couldn't consistently end an item or a list.
17073         This patch ensures line indentation is stored (if applicable)
17074         before skipping them.  Also fixed doc-string and comments.
17076 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17078         * org-exp.el (org-export): Add EXPORT_FILE_NAME to the enclosing
17079         tree properties.
17081 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17083         * org-exp.el (org-export): Define a bound for finding enclosing
17084         tree with class/title definition.
17086 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17088         * org-exp.el (org-export): Go to next heading before searching
17089         backward, so make this also work if we are on the headline of the
17090         entry with the property.
17092 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17094         * org.el (org-promote):
17095         (org-demote): Soften the previous change, by only removing the
17096         flyspell function from after-change functions, because that was
17097         the one causing the slowdown - at least much of it.
17099 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17101         * org.el (org-promote, org-demote): Turn off
17102         after-change-functions to speed up the reindentation of text.
17104 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17106         * ob-ocaml.el (org-babel-ocaml-read-list):
17107         Use `org-babel-script-escape'.
17108         (org-babel-ocaml-read-array): Use `org-babel-script-escape'.
17110 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17112         * org-html.el (org-html-handle-links): Add an alternate for inline
17113         images.
17115 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17117         * org-agenda.el (org-agenda-bulk-action): Do not use the entries
17118         variable before it is defined.
17120 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17122         * org-src.el (org-src-lang-modes): Add a language alias of "C"
17123         to "c".
17125 2011-07-28  Shaun Johnson  <shaun@slugfest.demon.co.uk>  (tiny change)
17127         * ob-tangle.el (org-babel-tangle): Make it work in an indirect
17128         buffer.
17130 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17132         * org-html.el (org-html-make-link): Correct a bug in coderef link.
17134 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17136         * org-agenda.el (org-agenda-filter-by-tag): Fix variable name
17137         typo.
17139 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17141         * org-agenda.el (org-agenda-get-timestamps): Fix agenda display
17142         when headlines are missing.
17144 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17146         * org-mobile.el (org-mobile-push): Move call to hook, make it the
17147         first thing of the push operation.
17149 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17151         * ob.el (org-babel-params-from-buffer): Now looking for header
17152         arguments in #+Properties: as well as #+Babel:.  Also, we're no
17153         longer caching these results into a file local variable.
17155 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17157         * ob-python.el (org-babel-python-evaluate-external-process):
17158         Allow parsing as a table in the case of ":results output table".
17159         (org-babel-python-evaluate-session): Allow parsing as a table in
17160         the case of ":results output table".
17162 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17164         * org-agenda.el (org-agenda-bulk-action): Allow bulk scatter in
17165         all possible agenda views.  Use `org-agenda-schedule' instead of
17166         `org-agenda-date-later'.
17168 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17170         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Now supports
17171         ":results output".
17173 2011-07-28  Julien Danjou  <julien@danjou.info>
17175         * org.el (org-entry-get, org-entry-delete, org-entry-put)
17176         (org-property-values, org-delete-property-globally):
17177         Use `org-re-property'.
17178         (org-re-property): New function allowing to build a regexp to
17179         match a property.
17181 2011-07-28  Julien Danjou  <julien@danjou.info>
17183         * org.el (org-property-values): Enhance docstring.
17185 2011-07-28  Ethan Ligon  <ligon@are.berkeley.edu>  (tiny change)
17187         * org-html.el (org-html-export-list-line): Fix regexp for
17188         detecting description lists to allow "::" marker to be last
17189         visible element at end of line.
17190         * org-docbook.el (org-docbook-export-list-line): Fix regexp for
17191         detecting description lists to allow "::" marker to be last
17192         visible element at end of line.
17194 2011-07-28  Julien Danjou  <julien@danjou.info>
17196         * org-table.el (org-table-cleanup-narrow-column-properties):
17197         Use point-min rather than 1 when moving in the buffer.
17199 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17201         * org-list.el (org-list-in-valid-context-p): Rename from
17202         `org-list-in-valid-block-p'.
17203         (org-at-item-p, org-list-search-generic): Use renamed function.
17205 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17207         * org.el (org-set-font-lock-defaults): Be more strict when
17208         recognizing description items, and do not fontify wrong cases
17209         like: "- term ::description" or "1. term :: description".
17211 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17213         * org-latex.el: Pay attention to end of footnote.  Before closing
17214         the command, ensure that list is properly closed or that last link
17215         is separated from the curly brace.
17217 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17219         * org.el (org-indent-line-function): Footnote definition must stay
17220         at column 0 to be recognized as such.  Body below can have normal
17221         indentation, so it should ignore its definition when computing
17222         indentation.
17224 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17226         * org-protocol.el (org-protocol-remember, org-protocol-capture):
17227         More appropriate message.
17229 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17231         * org-capture.el (org-capture-clock-keep): New local variable.
17232         (org-capture, org-capture-finalize): Use it and fix a bug when
17233         :clock-keep is set to `t'.
17235 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
17237         * org-exp.el (org-export-preprocess-string): Handle include files
17238         before processing macros.
17240 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17242         * org-agenda.el: Remove obsolete code for adding todo list in
17243         front of the agenda.
17245 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17247         * org-latex.el (org-export-latex-convert-table.el-table):
17248         Fix format-string for insertion of captions.
17250 2011-07-28  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
17252         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
17253         Fix regexp.
17255 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
17257         * org.el (org-read-date-analyze): Help matching dotted European
17258         dates, like 31. 12. 2007
17260 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17262         * ob-lisp.el (org-babel-execute:lisp): Fix typo.
17264 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17266         * ob-lisp.el (org-babel-execute:lisp): Turn vectors into lists
17267         before reading by elisp.
17268         (org-bable-lisp-vector-to-list): Stub of a vector->list function,
17269         should be replaced with a cl-vector->el-vector function.
17271 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17273         * ob-lisp.el (org-babel-execute:lisp): Now using
17274         `org-babel-reassemble-table' to apply the appropriate header
17275         arguments to results.
17277 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17279         * org.el (org-end-of-meta-data-and-drawers): New function.
17281         * org-capture.el (org-capture-place-plain-text): Implement adding
17282         plain text templates to Org nodes.
17284 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17286         * org-beamer.el (org-beamer-environments-extra): Fix docstring.
17288 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17290         * org-exp.el (org-export-handle-comments): Add the org-protected
17291         property to the replacement string.
17293 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17295         * org-html.el (org-export-as-html, org-html-level-start):
17296         Fix logic for section number printing when NUM is an integer.
17298 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17300         * org-latex.el (org-export-latex-special-chars): Fix regexp for
17301         `single' special characters and ellipsis.
17303 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17305         * org.el (org-point-at-end-of-empty-headline):
17306         Bind `case-fold-search' to nil.
17308 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17310         * org-capture.el (org-capture-fill-template): Resolve new %<...>
17311         template escape.
17312         (org-capture-templates): Document new %<...> template escape.
17314 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17316         * ob.el (org-babel-process-params): Make this function idempotent,
17317         as it will sometimes be called multiple times.
17319 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17321         * org.el (org-ts-regexp-both): Add "]" to class of characters that
17322         should not be matched.
17323         (org-ts-regexp0, org-ts-regexp1): Do not start a class with
17324         "^]-+", because that tries to (not) match characters between "]"
17325         and "+".  Instead, move the "-" to the end of the class where it
17326         causes no harm.
17328 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17330         * ob-R.el (org-babel-edit-prep:R): Associate the appropriate R
17331         process with the edit buffer when :session is specified.
17333 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17335         * ob-tangle.el (org-babel-tangle-collect-blocks): Brought the link
17336         extraction code into line with a newer version of the
17337         `org-store-link' function.
17339 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17341         * ob-lisp.el (org-babel-expand-body:lisp): New body expansion
17342         wrapping the expression in either a let or progn, and possibly a
17343         pretty-print function invocation.
17344         (org-babel-execute:lisp): Greatly simplified method of executing
17345         lisp code blocks.
17347 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17349         * org-list.el: Move `org-update-checkbox-count-maybe' call outside
17350         of ̀save-excursion' to get back to original position.
17352 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17354         * org.el (org-numbered-action-format): New option.
17355         (org-new-numbered-action): New command.
17356         (org-collect-todos-in-subtree): New command.
17358 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17360         * org-exp.el (org-export-with-tasks): New option.
17361         (org-export-plist-vars): Add :tasks property.
17363 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17365         * org-ascii.el (org-export-as-ascii): Pass the :done-tasks
17366         property to the export preprocessor.
17368         * org-docbook.el (org-export-as-docbook): Pass the :done-tasks
17369         property to the export preprocessor.
17371         * org-html.el (org-export-as-html): Pass the :done-tasks property
17372         to the export preprocessor.
17374         * org-latex.el (org-export-as-latex): Pass the :done-tasks
17375         property to the export preprocessor.
17377         * org-exp.el (org-export-with-done-tasks): New option.
17378         (org-export-plist-vars): Add entry for :done-tasks.
17379         (org-export-preprocess-string): Call `org-export-remove-done-tasks'.
17380         (org-export-remove-done-tasks): New function.
17382 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17384         * org-latex.el (org-export-latex-keywords-maybe): Protect # in
17385         tags.
17387 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17389         * org.el (org-find-olp): Use the level of the correct match to
17390         continue search.
17392 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17394         * org-list.el (org-toggle-checkbox): Build value of
17395         org-keyword-time-regexp instead of using it directly, as it's
17396         buffer-local, and function might be called outside Org.
17398 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17400         * org-list.el (org-list-struct, org-in-item-p): Don't assume end of
17401         blocks or drawers necessarily start somewhere.  It it isn't the
17402         case, treat them as normal text.
17404 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17406         * ob-exp.el (org-babel-exp-results): Use code block name when
17407         finding cached results.
17409 2011-07-28  Julien Danjou  <julien@danjou.info>
17411         * org-latex.el (org-export-latex-date-format): Change default date
17412         format to \today.  This has the same result but respects the
17413         language set in the document by default.
17415 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17417         * org-list.el (org-list-checkbox): When called from an headline,
17418         function would normally skip drawers, but not if a SCHEDULED or
17419         DEADLINE keyword is standing before the drawer.  Also avoid
17420         problems if function is called in buffers not is Org mode.
17422 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17424         * org-clock.el (org-clock-report): Change the scope of the
17425         inserted clock report depending on whether the point is within a
17426         subtree (:scope subtree) or not (:scope file).
17428 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
17430         * org-html.el (org-export-as-html): Fix export of footnotes
17431         containing lists, tables, quotes, etc.
17433 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17435         * org-latex.el (org-export-latex-preprocess): Correctly match
17436         starred command names.
17438 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17440         * org-html.el (org-export-as-html): Get local value of
17441         org-export-with-section-numbers from the buffer's plist.
17442         Deal specially with the case the resulting value is an integer.
17443         (org-html-level-start): New optional argument of the option plist used
17444         instead of `org-export-with-section-numbers'.  Also deal specially
17445         with the case that the value is an integer.
17447 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17449         * org-latex.el (org-export-latex-subcontent): Deal specially with
17450         the case that NUM is an integer.
17452 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17454         * org-protocol.el (org-protocol-do-capture): Allow template keys
17455         of two characters.
17456         (org-protocol-default-template-key): Update the docstring to
17457         reflect the change in `org-protocol-do-capture'.
17459 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
17461         * org-taskjuggler.el: Fix a typo in the commentary.
17463 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
17465         * org-taskjuggler.el (org-taskjuggler-open-task): Only emit a
17466         "purge allocations" statement if we are not targeting tj3.
17468 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
17470         * org-taskjuggler.el (org-taskjuggler-assign-resource-ids):
17471         Replace recursive implementation with an iterative one.
17473 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17475         * ob-sh.el (org-babel-sh-var-to-sh): Fix insertion of tabular
17476         data into shell variables.
17478 2011-07-28  David Maus  <dmaus@ictsoc.de>
17480         * org-html.el (org-html-handle-time-stamps): Protected linebreak
17481         element after timestamp markup.
17483 2011-07-28  David Maus  <dmaus@ictsoc.de>
17485         * org-html.el (org-html-handle-links): Don't protect img tag in
17486         link description.
17488 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17490         * org-table.el (org-table-formula-handle-first/last-rc):
17491         Bind `char'.
17493 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17495         * org-list.el (org-in-item-p): Re-build `org-drawer-regexp',
17496         whatever the major mode is.
17498 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17500         * org-inlinetask.el (org-inlinetask-export-templates): Fix default
17501         templates.
17502         (org-inlinetask-export-handler): Ensure contents of inline task,
17503         if any, starts and ends with a newline character.  Refactor and
17504         comment code.
17506 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17508         * org-capture.el (org-datetree-find-date-create): Lower-case for
17509         variable names in `define-function' form.
17511 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17513         * org-table.el (org-table-convert-region): Throw error when
17514         SEPARATOR is smaller than 1.
17516 2011-07-28  Julien Danjou  <julien@danjou.info>
17518         * org-colview.el (org-columns-display-here): Fix heading retrieval
17519         in Org buffers.
17521 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17523         * org-latex.el (org-export-latex-preprocess): Last brace shouldn't
17524         be on the same line as a list end marker.
17526 2011-07-28  Julien Danjou  <julien@danjou.info>
17528         * org.el (org-icompleting-read): Do not use useless lambda.
17530 2011-07-28  Julien Danjou  <julien@danjou.info>
17532         * org-agenda.el (org-format-agenda-item): Fix length computing.
17534 2011-07-28  Julien Danjou  <julien@danjou.info>
17536         * org-agenda.el (org-format-agenda-item): Fix comment and use
17537         `add-text-properties'.
17539 2011-07-28  Julien Danjou  <julien@danjou.info>
17541         * org-agenda.el (org-agenda-highlight-todo): Remove useless
17542         `concat'.
17544 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17546         * org-list.el (org-list-to-generic): Set a default term for
17547         ill-formed description lists.  Do not insert newline characters
17548         unless told to.
17549         (org-list-to-texinfo, org-list-to-html): Apply changes to
17550         `org-list-parse-liste'.
17552 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17554         * org-clock.el (org-clock-clocktable-language-setup): Add a
17555         string.
17556         (org-clocktable-write-default): Use the new localized string
17557         in `org-clock-clocktable-language-setup'.
17559 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17561         * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness):
17562         (org-taskjuggler-assign-resource-ids): Replace recursive
17563         implementation with an iterative one.
17565 2011-07-28  Christian Egli  <christian.egli@alumni.ethz.ch>
17567         * org-taskjuggler.el (org-taskjuggler-components): Escape quotes
17568         in headlines.
17570 2011-07-28  Christian Egli  <christian.egli@alumni.ethz.ch>
17572         * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness):
17573         Compute the leafiness of a node.
17574         (org-taskjuggler-open-task, org-export-as-taskjuggler): Mark a
17575         node as a milestone if it is a leaf and has no effort.
17577 2011-07-28  Christian Egli  <christian.egli@alumni.ethz.ch>
17579         * org-taskjuggler.el (org-export-taskjuggler-target-version):
17580         (org-taskjuggler-targeting-tj3-p): Add some minimal infrastructure
17581         to handle export to both tj2 and tj3.
17582         (org-taskjuggler-open-task): Use a different way to purge
17583         allocations for tj2 and tj3.
17585 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17587         * org-footnote.el (org-footnote-auto-label): New random option.
17589         * org-footnote.el (org-footnote-new): Create random footnote
17590         labels with unique ids.
17592 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17594         * org-footnote.el (org-footnote-create-definition): Allow for
17595         footnote sections above the current footnote insertion point.
17597 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17599         * org-footnote.el (org-footnote-create-definition): Don't search
17600         for last footnote when in org-mode file.
17602 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17604         * org-html.el (org-export-as-html): Handle links with
17605         `org-html-handle-links' after we handle special characters
17606         conversions.
17607         (org-html-make-link, org-export-html-format-image):
17608         Don't protect html with @ anymore, as links are now handled after
17609         special characters conversions.
17611 2011-07-28  Julien Danjou  <julien@danjou.info>
17613         * org-agenda.el (org-agenda-get-timestamps):
17614         (org-agenda-get-scheduled): Fix call to `org-format-agenda-item'.
17615         (org-format-agenda-item): Remove no-prefix argument.
17616         (org-agenda-change-all-lines): Call org-format-agenda-item without the
17617         no-prefix argument.
17619 2011-07-28  Julien Danjou  <julien@danjou.info>
17621         * org-agenda.el (org-agenda-highlight-todo): Stop using
17622         prefix-length.
17623         (org-cmp-alpha): Stop using prefix-length.
17624         (org-agenda-open-link): Stop using prefix-length.
17625         (org-agenda-change-all-lines): Stop using prefix-length.
17627         * org-colview.el (org-columns-display-here): Stop using
17628         prefix-length.  Always return claned items.
17630         * org-mobile.el (org-mobile-write-agenda-for-mobile): Stop using
17631         prefix-length.
17633 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17635         * ob-tangle.el (org-babel-tangle-collect-blocks): Don't call
17636         `org-store-link' interactively as it can confuse the setting of
17637         `org-link-to-org-use-id' and cause undue edits to the org-mode
17638         buffer during tangling.
17640 2011-07-28  David Maus  <dmaus@ictsoc.de>
17642         * org-html.el (org-export-html-format-image): Protect <p> element
17643         of image caption.
17645 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17647         * org.el (org-read-date-force-compatible-dates): New option.
17648         (org-read-date, org-read-date-analyze): Check representable date range.
17650 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17652         * org-html.el (org-export-as-html): Fix export of email.
17654 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17656         * ob-tangle.el (org-babel-spec-to-string): Check value of padline
17657         on tangling, no longer use the now-removed variable
17658         `org-babel-tangle-pad-newline'.
17660         * ob.el (org-babel-header-arg-names): Add padline to the list of
17661         header argument names.
17662         (org-babel-default-header-args): Set the default value of padline to
17663         "yes".
17664         (org-babel-merge-params): Cleaned up the merge logic, added padline.
17666 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17668         * ob.el (org-babel-header-arg-names): Adding "shebang" to known
17669         code block header argument names.
17671 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17673         * org-crypt.el: Remove useless TODO in comments.
17675 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17677         * org-html.el (org-export-as-html): The default postamble now only
17678         export a date paragraph if `org-export-time-stamp-file' is
17679         non-nil.
17681 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17683         * org-exp.el (org-export-xml): Remove the defgroup of
17684         org-export-xml.
17686 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17688         * org-html.el (org-export-html-insert-plist-item): Remove.
17689         (org-export-html-preamble): Default to `t'.  Accept functions.
17690         (org-export-html-postamble): Default to `auto'.
17691         Accept functions and distinguish between 'auto (no formatting string)
17692         and `t' (default formatting string).
17693         (org-export-as-html): Handle org-export-html-preamble and
17694         org-export-html-postamble new defaults/allowed values.
17695         Define email and creator-info before using them.
17697 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17699         * org-html.el (org-export-html-protect-char-alist): Fix typo in
17700         custom type definition.
17702 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17704         * ob-exp.el (org-babel-exp-do-export): Now runs for empty :session
17705         arguments.
17707 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17709         * org-list.el (org-list-parse-list): Fix regexp.
17711 2011-07-28  David Maus  <dmaus@ictsoc.de>
17713         * org-html.el (org-export-html-format-image): Protect image
17714         elements.
17716 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17718         * ob-tangle.el (org-babel-tangle-body-hook): Hook for changing the
17719         contents of a code block body on export.
17720         (org-babel-tangle-collect-blocks): Apply
17721         `org-babel-tangle-body-hook' to the collected bodies of code blocks.
17723 2011-07-28  David Maus  <dmaus@ictsoc.de>
17725         * org-html.el (org-html-make-link, org-html-handle-links):
17726         Protect generated XHTML elements.
17727         (org-export-as-html): Expand character entities after creating markup
17728         for links and timestamps.
17730 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17732         * org-html.el (org-export-as-html): Bugfix: insert email
17733         correctly.
17735 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17737         * org-html.el: Bugfix: prevent infinite matching of the `&'
17738         character.
17740 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17742         * org.el (org-fill-paragraph): `fill-forward-paragraph' function
17743         has been introduced with emacs 23.1.
17745 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17747         * org-attach.el: Allow to store a link to the attach-dir location.
17749 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
17751         * org-agenda.el (org-agenda-bulk-action): Allow the user to run a
17752         function.
17754 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17756         * org-clock.el (org-clock-in): Allow clocking in new tasks
17757         inserted before the current clocking task.
17759 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17761         * org-clock.el (org-clock-in): Set default clocking task when
17762         already clocking the task.
17764 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17766         * org.el (org-adaptive-fill-function): When a region is specified
17767         first line of paragraph isn't skipped, so fill-paragraph have to
17768         be computed even if point is at an item.
17770 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17772         * org-list.el (org-list-in-valid-block-p): New function.
17773         (org-at-item-p, org-list-search-generic): Use new function.
17775 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17777         * org.el (org-indent-line-function): Text in both a list and a
17778         valid block is indented with regards to current item, not to block
17779         boundaries.
17781 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17783         * org-html.el (org-format-org-table-html): Fix anchors in HTML
17784         export (thanks to <aankhen@gmail.com>)
17785         (org-html-protect): Fix a  bug that prevents some target to be
17786         rendered correctly.
17788 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17790         * org.el (org-default-properties): Add EXPORT_TEXT.
17792 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17794         * org-footnote.el (org-footnote-create-definition)
17795         (org-insert-footnote-reference-near-definition): Fix sorting
17796         of footnotes.
17798 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17800         * org-html.el (org-export-as-html): Bugfix: don't insert closing
17801         HTML tags when exporting body only.
17803 2011-07-28  Jason Dunsmore  <emacs-orgmode@deathroller.dunsmor.com>  (tiny change)
17805         * org.el (org-back-over-empty-lines): Bugfix.
17806         Honor `org-blank-before-new-entry' correctly in various contexts.
17808 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17810         * org-macs.el (org-with-wide-buffer): Bugfix: use `save-excursion'
17811         and `save-restriction'.
17813 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17815         * org-timer.el (org-timer-item): `save-excursion' prevents
17816         `org-list-struct' to get the list structure when point isn't on
17817         the first line of the item.
17819 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17821         * org-capture.el (org-capture-templates): New option
17822         :no-clock-out.
17823         (org-capture): Use the new option.
17825 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17827         * org-list.el (org-update-checkbox-count): Ensure cookies on an
17828         heading are correctly updated when checkboxes are hidden.
17829         It allows, for example, to use C-c C-x C-b on a collapsed tree and
17830         still get the update.
17832 2011-07-28  David Maus  <dmaus@ictsoc.de>
17834         * org-exp.el (org-export-visible): Accept keys for
17835         `org-export-as-html-to-buffer' and `org-export-region-as-html'.
17837 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17839         * org.el (org-duration-string-to-minutes): Don't use
17840         `rx-to-string'.
17842 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17844         * org.el (org-effort-durations): New variable.
17846         * org.el (org-duration-string-to-minutes): New function.
17848         * org-agenda.el (org-agenda-filter-effort-form)
17849         (org-format-agenda-item): Use it.
17851         * org-clock.el (org-clock-notify-once-if-expired)
17852         (org-clock-modify-effort-estimate, org-clock-get-clock-string): Use it.
17854 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17856         * org-agenda.el (org-agenda-run-series): Rename from
17857         `org-run-agenda-series'.
17859 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17861         * org-capture.el: Don't allow currentfile anymore.
17863 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17865         * org-agenda.el (org-agenda-list): Fix bug: don't rely on
17866         `org-agenda-current-span' when calling `org-agenda-list'.
17868 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17870         * org-capture.el (org-capture-put-target-region-and-position):
17871         New function to store information about the target buffer.
17872         (org-capture-set-target-location): Use it.
17873         (org-capture-finalize): Restore the target buffer in its
17874         possibly narrowed state.  Also restore the cursor position.
17876 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17878         * org-crypt.el (auto-save-default): Make sure entries are
17879         encrypted before auto-saving.
17881 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17883         * org-inlinetask.el (org-inlinetask-promote)
17884         (org-inlinetask-demote): New functions.
17886 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17888         * org.el (org-demote-subtree, org-promote-subtree):
17889         Wrap `org-map-tree' into `org-with-limited-levels' macro, so it avoids
17890         operating on inline tasks.
17892 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17894         * org.el (org-narrow-to-subtree): Ensure `org-back-to-heading'
17895         will move point to a real heading and not an inline task by
17896         wraping function into a `org-with-limited-levels' macro.
17898 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17900         * org-capture.el (org-capture-finalize): New argument clock-out,
17901         to tell whether finalizing the capture process should clock out
17902         the running clock.
17903         (org-capture): Use the new argument.
17905 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17907         * org.el (org-refile-get-targets): Rename from
17908         `org-get-refile-targets'.
17910 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17912         * org-exp.el (org-export-table-remove-empty-lines): New custom
17913         variable.
17914         (org-export-remove-special-table-lines): Use it.
17916 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17918         * org-table.el (org-table-fix-formulas-confirm): New custom
17919         variable.
17920         (org-table-insert-column, org-table-delete-column)
17921         (org-table-move-column, org-table-move-row)
17922         (org-table-insert-row, org-table-kill-row): Use it.
17924 2011-07-28  Tassilo Horn  <tassilo@member.fsf.org>
17926         * org.el (org-refile-get-location): Set and show default value.
17927         (org-goto, org-refile): Adapt calls.
17929 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17931         * org-mobile.el (org-mobile-files-exclude-regexp): New custom
17932         variable.
17933         (org-mobile-files-alist): Use it.
17935 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17937         * org.el (org-todo): Bugfix: use `org-with-wide-buffer' to check
17938         against headings outside of a narrowed buffer.
17940 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17942         * org.el (org-confirm-shell-link-not-regexp)
17943         (org-confirm-elisp-link-not-regexp): New custom variables.
17944         (org-open-at-point): Use the new custom variables.
17946 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17948         * org-latex.el: Place \title \author \date before
17949         \begin{document}.
17951 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17953         * org-html.el (org-export-html-preamble)
17954         (org-export-html-postamble): Now default to `nil'.
17955         (org-export-as-html): When :html-pre/postamble is nil, fall
17956         back on the default pre/postamble, which depends on the
17957         :author-info, :email-info, :creator-info options.
17959 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17961         * ob-exp.el (org-babel-exp-results): Don't use cached results if
17962         there is no hash.
17964 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17966         * org-table.el (org-table-eval-formula): Treat relative column
17967         refs.
17969 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17971         * org-table.el (org-table-use-standard-references): Change default
17972         to `from'.
17974 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17976         * org.el (org-move-subtree-down): Leave the cursor at the same
17977         column we were at.
17979 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17981         * org-attach.el (org-attach-store-link-p): New variable.
17982         (org-attach-store-link): New function.
17983         (org-attach-attach): When `org-attach-store-link-p' is
17984         non-nil, store a link in `org-stored-links' to a newly
17985         attached file.
17987 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17989         * org-exp.el (org-export-remove-headline-metadata): Bugfix: don't
17990         case-fold-search to avoid mixing TODO keywords with real headline
17991         words.
17993 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17995         * org-table.el (org-table-fedit-finish): Read more general LHS of
17996         formulas.
17997         (org-table-formula-handle-@L): New function to hanle @L references.
17998         (org-table-current-ncol): New variable.
17999         (org-table-line-to-dline): New function.
18000         (org-table-get-stored-formulas): Accept range formulas as matches.
18001         (org-table-get-specials): Compute and store the number of columns.
18002         (org-table-get-range): New optional argument CORNERS-ONLY, to retrieve
18003         only the region marked by the range, not the content.
18004         (org-table-recalculate): Call `org-table-expand-lhs-ranges' to expand
18005         range targets.  Also check for duplicate access to fields.
18006         (org-table-expand-lhs-ranges): New funktion.
18007         (org-table-get-remote-range): Bind `org-table-current-ncol' to protect
18008         the caller's value.
18009         (org-table-edit-formulas): Support highlighting of range targets.
18010         (org-table-field-info): Handle renge formulas.
18012 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18014         * org-html.el (org-export-html-postamble-format)
18015         (org-export-html-preamble-format): Explain how to escape the
18016         `%' character.
18018 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18020         * ob.el (org-babel-read): Read string variable values wrapped in
18021         double quotes, removing the quotes.
18023 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18025         * ob-exp.el (org-babel-exp-results): Ensure that processed params
18026         are send to org-babel-execute-src-block.
18028 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18030         * org-special-blocks.el
18031         (org-special-blocks-make-special-cookies):
18032         Use `org-export-current-backend'.
18034 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18036         * ob-exp.el (org-babel-exp-in-export-file): Now takes the language
18037         as an argument.
18038         (org-babel-exp-src-block): Explicitly pass language to
18039         `org-babel-exp-in-export-file'.
18040         (org-babel-exp-inline-src-blocks): Remove unused code.
18041         (org-babel-exp-results): Explicitly pass language to
18042         `org-babel-exp-in-export-file'.
18044 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18046         * ob-calc.el (org-babel-execute:calc): Unquote quoted vectors
18047         returned from calc-eval.
18049 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18051         * ob.el (org-babel-read): Pass elisp vectors through to code
18052         blocks.
18054 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18056         * ob.el (org-src-lang-modes): Defvar.
18057         (org-at-item-p): Declare function.
18059         * ob-calc.el (calc-store): Require.
18060         (var-syms): Defvar.
18062         * ob-python.el (py-default-interpreter): Defvar.
18064 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18066         * org-exp-blocks.el (backend): defvar.
18068 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18070         * org-agenda.el (org-agenda-get-scheduled):
18071         (org-agenda-get-timestamps): Bind local variable `show-all'.
18073 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18075         * ob-ref.el (org-at-item-p): Declare function.
18077         * org-agenda.el (diary-time-regexp): defvar.
18079         * org-archive.el (org-archive-subtree): Bind local variable
18080         `infile-p'.
18082         * org-capture.el (org-capture-insert-template-here): Get template
18083         text from property list, to avoid byte compiler message.
18085         * org-latex.el (org-export-latex-tables): Bind local variable
18086         `width'.
18088         * org-special-blocks.el (org-compat): Add require statement.
18090         * org-table.el (orgtbl-ctrl-c-ctrl-c): Bind local variable
18091         `const-str'.
18093         * org.el (org-eval): Move function here from org-agenda.el.
18095 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18097         * ob.el (org-babel-read-table): Inhibit lisp evaluation of values
18098         when reading from tables.
18099         (org-babel-read-list): Inhibit lisp evaluation of values when
18100         reading from lists.
18101         (org-babel-read): Add optional argument which can be used to inhibit
18102         lisp evaluation of value.
18104 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18106         * ob-table.el (sbe): Ensure that ob-trim is only called on
18107         strings.
18109 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18111         * ob-exp.el (org-babel-exp-results): On export, ensure that the
18112         result hash is resolved in the original org-mode file.
18114 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18116         * org-exp.el (org-export-mark-list-end): Change end marker.
18118         * org-docbook.el (org-export-docbook-list-line): Use new marker.
18120         * org-html.el (org-html-export-list-line): Use new marker.
18122         * org-latex.el (org-export-latex-lists): Use new marker.
18124 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18126         * org-latex.el (org-export-latex-lists): Make sure markers used
18127         for export are taken into account by temporarily setting an
18128         appropriate value for `org-list-ending-method'.
18130 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18132         * org-exp-blocks.el (org-exp-blocks-block-regexp): Wrapping block
18133         regexp into its own variable, also allowing match of empty bodies.
18134         (org-export-blocks-preprocess): Using new regexp variable.
18136 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18138         * ob.el (org-babel-src-block-regexp): Code block regexp now
18139         matches blocks with empty bodies.
18141 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18143         * ob.el (org-babel-script-escape): If script escaped value doesn't
18144         parse cleanly, then return it literally.
18146 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18148         * ob-exp.el (org-babel-exp-src-block): When block will eventually
18149         be evaluated, pre-calculate the hash before noweb expansion, and
18150         expand the parameters before hash calculation.
18151         (org-babel-exp-do-export): Pass pre-calculated hash through to
18152         `org-babel-exp-results'.
18153         (org-babel-exp-results): Compare pre-calculated hash to results hash.
18155 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18157         * ob.el (org-babel-sha1-hash): Sort list values to header
18158         arguments, and sort the words in strings.
18160 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18162         * ob-ref.el (org-babel-ref-index-list): Special handling of hline
18163         rows.
18165 2011-07-28  Julien Danjou  <julien@danjou.info>
18167         * org-macs.el (org-with-point-at): Store evaluated version of
18168         pom.  This fixes a potential bug when using (org-with-point-at
18169         (func) …), where (func) would be evaluated multiple times,
18170         therefore might return different results if a marker was returned
18171         and different each time.
18173 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18175         * org.el (org-open-at-point): If a link to a radio target is the
18176         first, (resp. the last), element of a buffer, function cannot find
18177         the property change required to get its boundaries, and
18178         `buffer-substring' is called with an invalid nil argument.
18180 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18182         * org-table.el (org-table-copy-down): Fix docstring.
18184 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18186         * ob-latex.el (org-babel-execute:latex): Add imagemagick options,
18187         and for file types other than png and PDF it uses imagemagick to
18188         convert a compiled PDF file to the desired file type.
18189         (convert-pdf): Convert a PDF file to a new file type using
18190         imagemagick.
18192 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
18194         * org-capture.el (org-capture-fill-template): Fix bug with the
18195         display of interactive prompt in templates expansion.
18197 2011-07-28  Reiner Steib  <reiner.steib@gmx.de>
18199         * org-clock.el (org-clock-display): Document how to remove subtree
18200         times.
18202 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18204         * org-exp-blocks.el (org-export-blocks-format-comment):
18205         Explicitly append a newline to the body.
18207 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18209         * org-list.el (org-list-insert-item): When computing size of item
18210         being inserted, function has to take into account that indentation
18211         may not only be made of spaces.
18213 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18215         * org-clock.el (org-clock-find-position): If a list was adjacent
18216         to some clocks and a drawer was going to be created, only the
18217         first element of the list would make it into the drawer.
18219 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18221         * org-list.el (org-toggle-checkbox): Fix bug where top item in
18222         list was omitted when checking boxes.
18224 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18226         * ob-R.el: Don't print result to echo area after evaluation.
18228 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18230         * org-capture.el (org-capture-refile): Fix typo in docstring.
18232 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18234         * ob-calc.el (org-babel-execute:calc): Call out to new function
18235         for variables resolution.
18236         (ob-calc-maybe-resolve-var): Resolve (possibly recursively)
18237         variables in calc expressions.
18239 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18241         * ob-C.el (org-babel-tangle-lang-exts): Replace "c++" with "C++".
18242         (org-babel-C++-compiler): Replace "c++" with "C++".
18243         (org-babel-execute:cpp): Replace "c" with "C++".
18244         (org-babel-execute:C++): Replace "c" with "C++".
18245         (org-babel-expand-body:C++): Replace "c" with "C++".
18246         (org-babel-C-execute): Replace "c" with "C++".
18248 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18250         * ob-ref.el (org-babel-ref-at-ref-p): Only try to read results as
18251         a list if at the *beginning* of a list item.
18253         * ob.el (org-babel-read-result): Only try to read results as a
18254         list if at the *beginning* of a list item.
18256 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18258         * org-list.el (org-cycle-item-indentation): Do not break an
18259         indentation cycle because visibility cycling is requested.
18260         This happens when an item becomes a parent, due to indentation change.
18261         Not considered empty anymore, the function cannot change its
18262         indentation again.
18264 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18266         * org-clock.el (org-clocktable-write-default): Bugfix: falls back
18267         on `org-export-default-language' when no :lang parameter is set.
18269 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18271         * org-capture.el (org-capture-expand-file): New function.
18272         (org-capture-target-buffer):
18273         (org-capture-set-target-location): Use `org-capture-expand-file'.
18275 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18277         * ob.el (org-babel-read-list): Reading the value of a list has
18278         been updated to reflect the new structure of org-mode lists in
18279         elisp.
18280         (org-babel-insert-result): Writing code block results to lists has
18281         been updated to reflect the new list structure.
18282         (org-babel-result-end): Remove a previous change to end-of-list
18283         marker detection.
18285 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18287         * org-list.el (org-cycle-item-indentation): Each time the function
18288         moves item back to child position, a white space is added to the
18289         line.
18291 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18293         * ob.el (org-babel-process-params): Allow elisp code in
18294         specification of results header arguments.
18296 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18298         * org-agenda.el (org-agenda-append-agenda): New command.
18299         (org-agenda-mode-map): New keybinding to this new command.
18301 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18303         * org.el (org-ctrl-c-ctrl-c): Call `org-list-send-list' only when
18304         cursor it at very first item of the list, as specified in the
18305         manual.  Also refactored the list part of the function a bit.
18307 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18309         * org-agenda.el (org-agenda): Set the 'last-args property to nil
18310         when calling `org-agenda'.  Don't kill the local variable
18311         `org-agenda-current-span'.
18312         (org-run-agenda-series): Use the new property 'last-args.
18313         (org-agenda-change-time-span): Use the dynamically set
18314         `org-agenda-overriding-arguments' variable when non-nil.
18316 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18318         * ob.el (org-babel-result-end): Adjust marker of list end to
18319         changes in the list format.
18321 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18323         * org-list.el (org-toggle-checkbox, org-update-checkbox-count):
18324         No need to wrap `org-entry-get' in `ignore-errors'.
18326 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18328         * org.el (org-toggle-item, org-toggle-heading): Make sure every
18329         sub-item in a list is changed into a sub-heading and sub-headings
18330         are translated into sub-items.  Also ignore inline tasks in the
18331         process.
18333 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18335         * org-exp.el (org-export-select-backend-specific-text):
18336         Add `original-indentation' property when replacing #+begin_backend and
18337         #+backend blocks with their content.  This is needed for lists, as
18338         they must know if the block belonged to them.
18340 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18342         * org-html.el (org-html-export-list-line): Insert a newline
18343         character before ending an item, as anchor could be on a line
18344         going to be deleted, like a drawer ending string.
18346         * org-list.el (org-list-to-html): Same.
18348 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18350         * org.el (org-set-autofill-regexps): Use `org-item-re' in
18351         `paragraph-start' to recognize alphabetical lists.
18352         (org-fill-paragraph): Enforce a pre-computed fill-prefix before
18353         calling `fill-paragraph' when point is in an item.  Also prevent
18354         paragraphs getting merged into an adjacent list upon filling.
18355         (org-adaptive-fill-function): Make sure to determine real
18356         fill-prefix for auto-fill.
18357         (org-auto-fill-function): Use a pre-computed fill-prefix before
18358         calling `do-auto-fill'.
18360         * org-list.el (org-list-item-body-column): New function.
18362 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18364         * org-inlinetask.el (org-inlinetask-at-task-p)
18365         (org-inlinetask-toggle-visibility): New functions.
18367         * org-list.el (org-list-set-item-visibility): New function.
18369         * org.el (org-cycle, org-cycle-internal-local): Separate lists and
18370         inline tasks from headlines.
18371         (org-outline-level): Do not consider lists as headlines.
18372         Cycling visibility is using different tools.
18374 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18376         * org-list.el (org-list-struct): Mark items less indented than top
18377         item of the list, so that they will be modified.
18378         (org-list-struct-apply-struct): Compare struct's indentation with
18379         line's indentation instead of old-struct's.  This is needed
18380         because `org-list-struct' automatically fixes indentation so
18381         changes might not be seen otherwise.
18383         * org.el (org-ctrl-c-ctrl-c): Small refactoring.
18385 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18387         * org-list.el (org-update-checkbox-count): When a part of the
18388         buffer is processed to count checkboxes, lists are read from top
18389         to bottom, but inside lists (in drawers, blocks, or inline tasks)
18390         are skipped.  Thus, cookies cannot be updated.  This patch
18391         enforces reading of such lists if counter is itself in a special
18392         context.
18394 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18396         * org-list.el (org-list-struct-apply-struct): Inline tasks along
18397         with their content must stay at column 0 even if the item is
18398         gaining indentation.  Moreover, fix indentation of text in an
18399         inline task, now it can be in such a task within a list.
18401 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18403         * org-list.el (org-at-item-p): Also verify context is valid.
18404         Otherwise it would recognize valid items where `org-in-item-p'
18405         wouldn't.
18406         (org-in-item-p, org-list-struct-apply-struct): Use shorter version
18407         of org-at-item-p.
18408         (org-cycle-list-bullet): Fix typo.
18409         (org-list-parse-list): Avoid calling `org-at-item-p' two times by
18410         using an appropriate regexp.
18412         * org.el (org-indent-line-function): Use an appropriate regexp
18413         instead of calling `org-at-item-p' two times.
18415 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18417         * org-list.el (org-in-item-p): When point was just after
18418         org-list-end-re, check wouldn't be done for starting line.  So, if
18419         the first line was an item, it wouln't be noticed and function
18420         would return nil.  Simplify and comment code.
18422 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18424         * org.el (org-toggle-item): When used on normal text, ensure every
18425         line in region is included in the new item, regardless of its
18426         original indentation.
18428 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18430         * org-list.el (org-list-struct-apply-struct): If end of list was
18431         at eol, for example, with list inside a block, the last list
18432         wouldn't be shifted.  Thus, the patch ensures no blank lines is
18433         skipped.
18435 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18437         * org.el (org-toggle-item): Now accepts a prefix argument.
18438         When used without argument on normal text, it will make the whole
18439         region one item.  With an argument, it defaults to old behavior:
18440         change each line in region into an item.
18442 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18444         * org.el (org-return): When called from inside an item with the
18445         indent flag, function should keep text moved inside the item.
18446         This allows to use C-j to separate lines in an item: cursor won't
18447         go back to column 0.
18449 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18451         * org-list.el (org-list-struct): When a line has org-example
18452         property, skip the entire block.  This is needed during export,
18453         for example when src blocks in org markup contain lists, and are
18454         returned verbatim because org isn't in the list of interpreted
18455         languages.
18457 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18459         * org-list.el (org-in-item-p): Handle special cases when function
18460         is called with cursor amidst `org-list-end-re' or at an inline
18461         task.
18463 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18465         * ob.el (org-babel-result-end): Apply renaming.
18467         * org-exp.el (org-export-mark-list-properties): Apply renaming.
18469         * org-list.el (org-list-prevs-alist): Rename from
18470         `org-list-struct-prev-alist'.
18471         (org-list-parents-alist): Rename from `org-list-struct-parent-alist'.
18472         (org-list-write-struct): Rename from `org-list-struct-fix-struct'.
18473         (org-list-parse-list, org-sort-list, org-list-indent-item-generic)
18474         (org-toggle-checkbox, org-update-checkbox-count)
18475         (org-cycle-list-bullet, org-list-repair, org-insert-item)
18476         (org-move-item-up, org-move-item-up, org-move-item-down)
18477         (org-next-item, org-previous-item, org-end-of-item-list)
18478         (org-beginning-of-item-list, org-apply-on-list): Apply renaming.
18479         (org-get-bullet): Remove function, as it is not needed anymore.
18481 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18483         * org-list.el (org-list-insert-item-generic): Change arguments.
18484         The function now accepts structure and previous items alist.
18485         This allows to insert an item programmatically more easily.
18486         (org-insert-item): Apply changes to
18487         `org-list-insert-item-generic'.  The function now takes care about
18488         repairing structure and updating checkboxes.
18490         * org-timer.el (org-timer-item): Apply changes to
18491         `org-list-insert-item-generic'.  The function now takes care about
18492         repairing structure.
18494 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18496         * org-list.el (org-list-make-subtree): Function now uses
18497         `org-list-parse-list mechanism'.
18498         (org-list-make-subtrees): Remove function.
18499         (org-list-to-generic): Add a parameter and every parameter can
18500         be a sexp returning a string, for finer control.
18501         (org-list-to-html, org-list-to-latex, org-list-to-texinfo):
18502         Slight modifications to apply changes to `org-list-to-generic'.
18503         (org-list-to-subtree): New function.
18505 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18507         * org.el (org-beginning-of-line): Apply changes to
18508         `org-item-beginning-re' to correct sub-expression reference.
18510 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18512         * org-docbook.el (org-export-docbook-list-line): Even with
18513         alphabetical lists, Org shouldn't enforce a particular list type
18514         to exporters.  This is a job for style files.
18516         * org-html.el (org-html-export-list-line): Ib idem.
18518 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18520         * org-list.el (org-at-item-counter-p): New function.
18521         (org-list-parse-list): Handle counters and list depth.
18522         (org-list-to-generic): A special string is used when an item has a
18523         counter.
18524         (org-list-to-latex): Use new special string for counters.
18525         This fixes the counter bug in LaTeX export, as the enumi counter was
18526         the only one modified.
18528         * org-latex.el (org-export-latex-lists): Use new
18529         `org-list-parse-list' output.
18531 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18533         * org-list.el (org-list-get-list-type): New function.
18534         (org-list-parse-list): Use new function.
18536         * org-html.el (org-html-export-list-line): Use new function.
18538         * org-docbook.el (org-export-docbook-list-line): Use new function.
18540 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18542         * org-list.el (org-alphabetical-lists): New variable
18543         (org-item-re, org-list-full-item, org-cycle-list-bullet)
18544         (org-list-struct-fix-bul, org-list-inc-bullet-maybe):
18545         Reflect introduction of the new variable.
18546         (org-item-beginning-re): Change into a function, so any
18547         modification of `org-alphabetical-lists' will not require
18548         reloading Org.
18549         (org-at-item-p, org-toggle-checkbox, org-update-checkbox-count)
18550         (org-list-parse-list, org-list-send-list): Reflect changes to
18551         `org-item-beginning-re'.
18552         (org-list-use-alpha-bul-p): New function.
18554         * org.el (org-check-for-hidden): Reflect changes to
18555         `org-item-beginning-re'.
18557         * org-capture.el (org-capture-place-item): Reflect changes to
18558         `org-item-beginning-re'.
18560         * org-docbook.el (org-export-docbook-list-line): Handle New type
18561         of items.
18563         * org-exp.el (org-export-mark-list-end)
18564         (org-export-mark-list-properties): Reflect changes to
18565         `org-item-beginning-re'.
18567         * org-html.el (org-html-export-list-line): Handle new type of
18568         items.
18570         * org-latex.el (org-export-latex-lists): Handle new type of items
18571         and reflect changes to `org-item-beginning-re'.
18573         * org-ascii.el (org-export-ascii-preprocess): Handle new counters.
18575 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18577         * org-list.el (org-list-end-re): Remove function and made it a
18578         variable.  There's no need for the overhead of calling the
18579         function every at every line in a list.  User will have to reload
18580         Org if he change value of either `org-list-end-regexp' or
18581         `org-empty-line-terminates-plain-lists'.
18582         (org-in-item-p, org-list-struct, org-list-parse-list): Apply change.
18584         * org-exp.el (org-export-mark-list-end)
18585         (org-export-mark-list-properties): Apply change.
18587         * org-latex.el (org-export-latex-lists): Apply change.
18588         Also prevent items with org-example property to be considered as real
18589         items.
18591 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18593         * org-inlinetask.el (org-inlinetask-export-templates): Slightly
18594         modify templates so environment boundaries don't interfere with
18595         content of task.  Unprotect content of task so it might benefit
18596         from further transformations.  Set original-indentation property to
18597         a high value to ensure that task is always in the last item of the
18598         list.  Also, apply templates later in export process.
18600         * org-list.el (org-list-struct): Fix inline task skipping.
18602 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18604         * org-latex.el (org-export-latex-lists): Search for unprotected
18605         items only, and redefine `org-at-item'.  This change is required
18606         when verbatim lists are inserted during export, usually by Babel.
18608 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18610         * ob.el (org-babel-result-end): End position is end of current
18611         sublist instead of bottom point, as results might be inserted in a
18612         list themselves.
18614 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18616         * org-list.el (org-list-automatic-rules): Remove insert rule.
18617         (org-list-insert-item-generic): Remove code preventing user to
18618         insert another item in a block within a list.  It is because new
18619         list context make it impossible to see if a point in a block is
18620         also in a list.
18622 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18624         * org-exp.el (org-export-preprocess-string): Mark list endings
18625         before babel blocks preprocessing starts, so blank lines that may
18626         be inserted do not break list's structure.  Then, mark list with
18627         special properties required by exporters.  Thus output from babel
18628         can easily be included in lists.
18629         (org-export-mark-list-end): New function.
18630         (org-export-mark-list-properties): New function.
18631         (org-export-mark-lists): Remove function.  It was split into the
18632         two preceding functions.
18634 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18636         * org-list.el (org-update-checkbox-count): Do not recompute every
18637         list before next heading when there are more than one cookie in an
18638         headline.  Moreover, ignore the case where cookie is inserted
18639         neither at an heading nor at an item.
18641 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18643         * org-list.el (org-sort-list): Fix number of arguments to
18644         `org-list-repair', plus make `end-record' go to end of item before
18645         any blank line to keep them from being swallowed in the sorting.
18647 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18649         * org-list.el (org-list-forbidden-blocks): Rename from
18650         `org-list-blocks'.
18651         (org-list-export-context): New variable.
18653 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18655         * org-list.el (org-list-search-generic): Rename form
18656         `org-search-unenclosed-generic' to reflect the new behavior.  Now,
18657         match can only be in a valid context for lists, as determined by
18658         `org-list-context'.
18659         (org-list-search-backward): Rename from
18660         `org-search-backward-unenclosed'.
18661         (org-list-search-forward): Rename from
18662         `org-search-forward-unenclosed'.
18663         (org-toggle-checkbox, org-update-checkbox-count): Use new
18664         functions.
18665         (org-sort-list): Using default regexp search functions as context
18666         is not required in this case.
18668 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18670         * org-exp.el (org-export-mark-lists): New function, replacing
18671         org-export-mark-list-ending.  It adds information as text
18672         properties to every list, before changes done by exporter destruct
18673         them.
18675 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18677         * org-list.el (org-list-get-first-item): New alias for
18678         `org-list-get-list-begin'.
18679         (org-list-get-last-item): New function.
18680         (org-list-get-list-end): Use `org-list-get-last-item'.
18682 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18684         * org.el (org-get-string-indentation): Move in generally useful
18685         functions section, as it wasn't specific to plain lists and that
18686         no code was using it in org-list.el.
18688 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18690         * org.el (org-skip-over-state-notes, org-store-log-note): Use new
18691         accessors.
18693 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18695         * org-list.el (org-list-indent-item-generic): Remove error
18696         messages happening before process.  This belongs to interactive
18697         functions.
18698         (org-indent-item, org-indent-item-tree)
18699         (org-outdent-item, org-outdent-item-tree): Ensure point or region
18700         is correct before computing list structure.  Return an error
18701         message otherwise.
18703 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18705         * org-list.el (org-apply-on-list): Use new structures.
18706         Function is now applied in reverse order so modifications do not change
18707         positions of items in buffer.
18709 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18711         * org-list.el (org-list-parse-list): Rewrite of function to allow
18712         text following a sub-list in the same item.  See docstring for an
18713         example of output.
18714         (org-list-to-generic): Use new parsing function.
18715         (org-list-to-latex, org-list-to-html): Minor change for clearer
18716         export.
18718 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18720         * org-list.el (org-list-has-child-p): Rename from
18721         `org-list-get-child'.  Returning first child is only useful as a
18722         predicate, as we are allowing an item to have more than one
18723         sub-list.
18724         (org-list-indent-item-generic): Use `org-list-has-child-p' instead
18725         of org-list-get-child.
18726         (org-in-item-p): Also return item beginning when list starts at
18727         context beginning.
18728         (org-list-get-parent): Use of `org-list-struct-parent-alist'
18729         helper function is not optional anymore.
18730         (org-list-get-all-items): Shorten code with the help of cl.el.
18731         (org-list-get-children): Now returns all children of item, even if
18732         they do not belong to the same list.  Renamed from
18733         `org-list-get-all-children'.
18734         (org-list-get-list-begin): Function wasn't return value when item
18735         was already the first item of the list at point.
18736         (org-list-get-list-end): Function wasn't return value when item
18737         was already the last item of the list at point.
18738         (org-list-struct-fix-box, org-update-checkbox-count): Now uses
18739         `org-list-get-children'.
18741 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18743         * org.el (org-indent-line-function): Indentation of item's body
18744         starts just after the bullet, not after a checkbox.  Moreover, As
18745         `org-in-item-p' also returns item beginning position when point is
18746         in a list, do not compute it a second time.
18748 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18750         * org.el (org-ctrl-c-ctrl-c): When called at a list item, replace
18751         usage `org-repair-list', forcing another reading of the list, with
18752         only needed subroutines.
18754 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18756         * org-list.el (org-list-separating-blank-lines-number): Use new
18757         accessors.
18758         (org-list-insert-item-generic): Use list structures to insert a
18759         new item.
18760         (org-list-exchange-items): Refactor and comment code.  Now return
18761         new struct instead of modifying it, as list sorting would
18762         sometimes eat first item.
18763         (org-move-item-down, org-move-item-up): Reflect changes to
18764         `org-list-exchange-items'.
18765         (org-insert-item): As `org-in-item-p' also computes item beginning
18766         when applicable, reuse the result.
18768 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18770         * org-list.el (org-list-in-item-p): Unify methods for this
18771         predicate.
18772         (org-list-in-item-p-with-indent): Remove function.
18773         (org-list-ending-between): Remove function.
18774         (org-list-maybe-skip-block): Remove function.
18775         (org-list-in-item-p-with-regexp): Remove function.
18776         (org-list-top-point-with-regexp): Remove function.
18777         (org-list-top-point-with-indent): Remove function.
18778         (org-list-bottom-point-with-indent): Remove function.
18779         (org-list-bottom-point-with-regexp): Remove function.
18780         (org-list-get-item-same-level): Remove function.
18781         (org-list-top-point): Remove function.
18782         (org-list-bottom-point): Remove function.
18783         (org-get-item-beginning): Rename to `org-list-get-item-begin' to
18784         be consistent with naming policy of non-interactive functions.
18785         (org-get-beginning-of-list): Remove function.
18786         (org-beginning-of-item-list): Use new accessors.
18787         (org-get-end-of-list): Remove function.
18788         (org-end-of-list): Use new accessors.
18789         (org-get-end-of-item): Remove function.
18790         (org-end-of-item): Use new accessors.
18791         (org-get-previous-item): Remove function.
18792         (org-previous-item): Use new accessors.
18793         (org-get-next-item): Remove function.
18794         (org-next-item): Use new accessors.
18795         (org-list-get-item-end-before-blank): Use new accessors.
18797 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18799         * org-list.el (org-list-repair): Remove optional argument
18800         FORCE-BULLET.  The job of this interactive function is to
18801         completely fix a list at point.  Changing bullets is a separate
18802         task.  Also removed others optional arguments TOP and BOTTOM to
18803         follow the new structures.
18804         (org-list-indent-item-generic): Remove need for TOP and BOTTOM.
18805         STRUCT is a new required argument.  This avoids computing a list
18806         structure many times when function is called more than once in a
18807         row, for example in `org-cycle-item-indentation'.  Use new
18808         accessors.  Now, also call `org-update-checkbox-count-maybe'.
18809         (org-outdent-item, org-indent-item, org-outdent-item-tree)
18810         (org-indent-item-tree): Remove need for TOP and BOTTOM.
18811         (org-list-insert-item-generic): Reflect changes to `org-list-repair'.
18812         (org-list-exchange-items): Use new accessors.  Now modify struct
18813         to avoid re-reading it later.
18814         (org-move-item-down): Reflect changes to `org-list-repair'.
18815         Use new accessors.
18816         (org-move-item-up): Reflect changes to `org-list-repair'.  Use new
18817         accessors.
18818         (org-cycle-list-bullet): Use new structures.  Also use a shortcut
18819         to `org-list-struct-fix-struct' in order to avoid unnecessary
18820         fixes, like `org-list-struct-fix-box'
18821         (org-sort-list): Use of new structures.  Renamed an internal
18822         function for a little more clarity.
18823         (org-cycle-item-indentation): Remove dependency on
18824         `org-list-repair'.  Use new accessors.
18825         (org-list-get-child): Correct bug when asking for the child of the
18826         last item.
18827         (org-list-exchange-items): Use new accessors.
18829 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18831         * org-list.el (org-list-blocks): New variable.
18832         (org-list-context): New function.
18833         (org-list-full-item-re): New variable.
18834         (org-list-struct-assoc-at-point): Use new variable.
18835         (org-list-struct): Rewrite of function.  Now, list data is
18836         collected by looking at the list line after line.  It reads the
18837         whole list each time because reading only a subtree was not enough
18838         for some operations, like fixing checkboxes.  It also removes the
18839         need to get `org-list-top-point' and `org-list-bottom-point'
18840         first.  An added data is the position of item ending.  This aims
18841         to be able to have list followed by text inside an item.
18842         (org-list-struct-assoc-end): New function.
18843         (org-list-struct-parent-alist): New function.
18844         (org-list-get-parent): New function.
18845         (org-list-get-child): New function.
18846         (org-list-get-next-item): New function.
18847         (org-list-get-prev-item): New function.
18848         (org-list-get-subtree): Use helper function `org-list-struct-prev-alist'.
18849         (org-list-get-all-items): New function.
18850         (org-list-get-all-children): New function.
18851         (org-list-get-top-point): New function.
18852         (org-list-get-bottom-point): New function.
18853         (org-list-get-counter): New function.
18854         (org-list-get-item-end): New function.
18855         (org-list-struct-fix-bul): Rewrite for cleaner code.  Make use of
18856         new accessors.
18857         (org-list-struct-fix-ind): Make use of new accessors.
18858         (org-list-struct-fix-box): New function.
18859         (org-list-struct-fix-checkboxes): Remove function.
18860         (org-list-struct-outdent): Use new accessors.  Use the fact that
18861         there is no longer a virtual item at beginning of structure.
18862         (org-list-struct-indent): Use helper functions
18863         `org-list-struct-prev-alist' and `org-list-struct-parent-alist'.
18864         Also use new accessors.
18865         (org-list-struct-fix-struct): Comment function.  Call directly
18866         `org-list-struct-apply-struct', without removing unchanged items
18867         first.
18868         (org-list-struct-apply-struct): Comment function.  Rewrite using
18869         new accessors.  Use new variable `org-list-full-item-re'.
18870         (org-list-shift-item-indentation): Remove function, now included
18871         in `org-list-struct-apply-struct' because it is too specific.
18873 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18875         * org-list.el (org-toggle-checkbox): Use structures to fix
18876         checkboxes of a list.
18877         (org-update-checkbox-count): Use structures to update cookies.
18879 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18881         * org-list.el (org-list-struct-fix-checkboxes): New function.
18882         (org-checkbox-blocked-p): Remove function.
18884 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18886         * org-list.el (org-list-get-all-items): New function.
18887         (org-list-get-all-children): New function.
18888         (org-list-get-nth): New function.
18889         (org-list-set-nth): New function.
18890         (org-list-get-ind): New function.
18891         (org-list-set-ind): New function.
18892         (org-list-get-bullet): New function.
18893         (org-list-set-bullet): New function.
18894         (org-list-get-checkbox): New function.
18895         (org-list-set-checkbox): New function.
18896         (org-list-struct-fix-bul): Use new accessors.
18897         (org-list-repair): Use new accessors.
18898         (org-list-indent-item-generic): Make use of accessors.
18899         (org-list-get-parent): Rename from `org-list-struct-get-parent'.
18900         (org-list-get-child): Rename from `org-list-struct-get-child'.
18901         (org-list-struct-fix-ind): Make use of accessors.
18902         (org-list-get-next-item): New function.
18903         (org-list-get-subtree): New function.
18905 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18907         * org-list.el (org-list-struct-assoc-at-point): Add checkbox to
18908         list structure.
18910         * org-list.el (org-list-struct-assoc-at-point): Add checkbox as
18911         value in structure.
18913         * org-list.el (org-list-struct-apply-struct): Also apply
18914         checkboxes.
18916 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18918         * org-latex.el (org-export-latex-content): Bind local variables
18919         for export in the temporary export buffer.
18921 2011-07-28  David Maus  <dmaus@ictsoc.de>
18923         * org-protocol.el (org-protocol-unhex-single-byte-sequence)
18924         (org-protocol-unhex-string, org-protocol-unhex-compound):
18925         Change date of obsolete declaration to 2011-02-17.
18927 2011-07-28  David Maus  <dmaus@ictsoc.de>
18929         * org.el (org-link-escape): Throw error if encoding character in
18930         utf8 fails.
18932 2011-07-28  David Maus  <dmaus@ictsoc.de>
18934         * org-protocol.el (org-protocol-split-data)
18935         (org-protocol-open-source): Use `org-link-unescape' instead of
18936         obsolete unhex string function.
18938 2011-07-28  David Maus  <dmaus@ictsoc.de>
18940         * org.el (org-link-escape, org-link-escape-chars-browser)
18941         (org-link-escape-chars): Always percent escape the percent sign.
18943 2011-07-28  David Maus  <dmaus@ictsoc.de>
18945         * org.el (org-link-unescape): Simpler algorithm for replacing
18946         percent escapes.
18947         (org-link-unescape-compound): Use cond statements instead of nested
18948         if, convert hex string with string-to-number, save match data.
18949         (org-link-unescape-single-byte-sequence): Use mapconcat and
18950         string-to-number for unescaping single byte sequence.
18952 2011-07-28  David Maus  <dmaus@ictsoc.de>
18954         * org.el (org-link-escape): Rename lambda argument.
18956 2011-07-28  David Maus  <dmaus@ictsoc.de>
18958         * org.el (org-link-escape-chars-browser, org-link-escape-chars):
18959         Add percent sign to list of escape chars.
18961 2011-07-28  David Maus  <dmaus@ictsoc.de>
18963         * org-mobile.el (org-mobile-escape-olp): Use new percent escape
18964         character table format.
18966 2011-07-28  David Maus  <dmaus@ictsoc.de>
18968         * org-mobile.el (org-mobile-locate-entry): Remove obsolete
18969         argument in call to org-link-unescape.
18971 2011-07-28  David Maus  <dmaus@ictsoc.de>
18973         * org-protocol.el (org-protocol-unhex-string)
18974         (org-protocol-unhex-compound)
18975         (org-protocol-unhex-single-byte-sequence): Declare obsolete and
18976         alias to respective org-link-unescape-* functions.
18978 2011-07-28  David Maus  <dmaus@ictsoc.de>
18980         * org.el (org-link-unescape, org-link-unescape-compound)
18981         (org-link-unescape-single-byte-sequence): Functions moved and renamed
18982         from org-protocol.el.
18984 2011-07-28  David Maus  <dmaus@ictsoc.de>
18986         * org-macs.el (org-char-to-string): Inline function to properly
18987         decode utf8 characters in Emacs 22.  Moved and renamed from
18988         org-protocol.el.
18990 2011-07-28  David Maus  <dmaus@ictsoc.de>
18992         * org.el (org-link-escape): New optional argument.  Merge user
18993         table with default table.
18995 2011-07-28  David Maus  <dmaus@ictsoc.de>
18997         * org.el (org-link-escape): Fixup doc string.
18999 2011-07-28  David Maus  <dmaus@ictsoc.de>
19001         * org.el (org-link-escape-chars, org-link-escape-chars-browser):
19002         New format of percent escape table.
19003         (org-link-escape): Use new table format.
19005 2011-07-28  David Maus  <dmaus@ictsoc.de>
19007         * org.el (org-link-escape): New Unicode aware percent encoding
19008         algorithm.
19010 2011-07-28  Sebastian Rose  <sebastian_rose@gmx.de>
19012         * org-protocol.el (org-protocol-unhex-single-byte-sequence):
19013         New function.  Decode hex-encoded singly byte sequences.
19014         (org-protocol-unhex-compound): Use new function if decoding sequence
19015         as Unicode character failed.
19017 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19019         * org-html.el (org-export-as-html): Expand the HTML title.
19021 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19023         * org-publish.el (org-publish-cache-ctime-of-src):
19024         Improve docstring.
19025         (org-publish-find-title): New option to explicitly reset the title
19026         in the cache.
19027         (org-publish-format-file-entry): Use this new option.
19029 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19031         * org-exp.el (org-export-preprocess-string): Set the source buffer
19032         and use `org-clone-local-variables' to get local variables from
19033         it.
19035 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19037         * org-exp.el (org-export-format-source-code-or-example):
19038         Allow empty string as second element in minted/listings options.
19040 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19042         * org-exp.el (org-export-format-source-code-or-example):
19043         Support new user-customizable options.
19044         (org-export-latex-custom-lang-environments): Ensure new variable
19045         is defined.
19046         (org-export-latex-listings-options): Ensure new variable is defined.
19047         (org-export-latex-minted-options): Ensure new variable is defined.
19049 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19051         * org-html.el (org-export-as-html): Handle the case when
19052         `org-export-html-validation-link' is nil to keep backward
19053         compatible with the old default value of this variable.
19055 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19057         * ob.el (org-babel-insert-result): Don't choke if indent is not a
19058         number.
19060 2011-07-28  Christian Moe  <mail@christianmoe.com>  (tiny change)
19062         * org-bbdb.el (org-bbdb-export): When a link description has been
19063         added by `org-export-normalize-links', use path instead (remove
19064         the `bbdb:' prefix).
19066 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19068         * org-ascii.el (org-export-ascii-underline): Put the level's
19069         characters in the right order, as documented by the docstring.
19070         (org-ascii-level-start): Select the right char for underlining
19071         headlines.
19073 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19075         * org-src.el (org-edit-src-code): Allow to edit source code from
19076         modes derived from Org.
19078 2011-07-28  Niels Giesen  <niels.giesen@gmail.com>
19080         * org-clock.el (org-clock-clocktable-language-setup): Add list of
19081         dutch strings.
19083 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19085         * org-beamer.el: Mark frame as fragile when it is using minted for
19086         src block export.
19088 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19090         * org-agenda.el (org-agenda-date-later)
19091         (org-agenda-date-earlier): Enhance docstrings.
19092         (org-agenda-bulk-mark-regexp): Only match against headlines.
19093         Send a message when no entry is marked.
19094         (org-agenda-bulk-action): Fix bug about scattering deadlines.
19095         Send an error when trying to scatter outside an agenda or a
19096         timeline view.  Silently fail when trying to scatter sexp entries.
19098 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19100         * org-clock.el (org-clock-clocktable-language-setup): New custom
19101         variable.
19102         (org-clocktable-defaults): Set the default language.
19103         (org-clocktable-write-default): Use the new variable.
19105 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19107         * ob.el (org-babel-src-block-names): Don't strip text properties
19108         from search hits.
19109         (org-babel-result-names): Don't strip text properties from search
19110         hits.
19112 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19114         * ob-python.el (org-babel-python-evaluate-session): Pass nil as
19115         remove-echo part of META argument to
19116         `org-babel-comint-with-output'.
19118 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19120         * ob.el (org-babel-script-escape): Use `substring' comparison
19121         instead of regexp matching.
19123 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19125         * org-src.el (org-edit-src-code): When generating the code edit
19126         buffer, it is necessary for several variables to inherit their
19127         values from the parent org buffer.  These changes collect all such
19128         variables together into a single association list of
19129         `(variable-name value)' pairs.  In addition, a new variable is
19130         added to the list: `org-edit-src-content-indentation'.  This has
19131         the effect that a buffer local value can be used for that
19132         variable.
19134 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19136         * ob-table.el (sbe): Don't truncate sbe results.
19138 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
19140         * org-exp.el (org-export-add-options-to-plist): Require match to
19141         start at a word-boundary.
19143 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19145         * org-latex.el (org-export-latex-hyperref-format):
19146         Update docstring.
19148 2011-07-28  Tom Dye  <tsd@tsdye.com>
19150         * org.el: Update documentation of `org-add-link-type'.
19152 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19154         * org.el (org-open-at-point): Fix bug when using prefix arg to
19155         construct `org-link-search' call.  Rename prefix arg with a more
19156         generic name, to reflect its diverse uses in this function.
19158 2011-07-28  Rémi Vanicat  <vanicat@debian.org>
19160         * org-icalendar.el (org-icalendar-use-UTC-date-time): Remove.
19161         (org-icalendar-date-time-format): New custom variable.
19162         (org-icalendar-use-UTC-date-timep): New function.
19163         (org-ical-ts-to-string): Use the new variable.
19165 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19167         * org-vm.el (org-vm-store-link): Make sure the buffer is
19168         associated with a file when trying to store an Org link.
19170 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19172         * ob.el (org-babel-params-from-properties): Test for
19173         "header-arg-name" and ":header-arg-name", in that order.
19175 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19177         * org-capture.el (org-capture-templates): Document "currentfile"
19178         for capture template.
19179         (org-capture-templates): Allow to use currentfile for capture
19180         templates.
19181         (org-capture-set-target-location): Handle currentfile as a way to
19182         setting the capture buffer.
19184 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19186         * ob.el (org-babel-params-from-properties): Don't wrap
19187         `org-entry-get' into `condition-case'.
19189 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19191         * org.el (org-entry-get): Don't look for a property drawer if we
19192         are before the first heading in the file.
19193         (org-entry-get-with-inheritance): Don't attempt to move up the
19194         tree if we are before the first heading in the file.  Also,
19195         enclose less of the function in the `save-excursion'.
19197 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19199         * ob.el (org-babel-params-from-buffer): Return desired value
19200         rather than nil from failed re search.
19202 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19204         * org-agenda.el (org-get-entries-from-diary): Put multiline diary
19205         entries on a single line when lines don't start with a diary time.
19207 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19209         * org-html.el (org-export-html-protect-char-alist): New custom
19210         variable to define characters to be HTML protected.
19211         (org-html-protect): Use the new variable.
19213 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19215         * org-info.el (org-info-store-link): Use "#" to separate the info
19216         file and the node.
19217         (org-info-follow-link): Use both "#" to separate the info file and
19218         the node.  Continue to use ":" for backward compatibility.
19220 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19222         * org-icalendar.el (org-icalendar-honor-noexport-tag): New custom
19223         variable.
19224         (org-print-icalendar-entries): Use this new variable to prevent
19225         export of entries with a :noexport: tag.
19227 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19229         * org-exp.el (org-export-initial-scope): New custom variable.
19230         (org-export): Use this new variable.  If there is an active
19231         region, tell it when prompting the user for an export command.
19232         Also change the way the function handles selection of buffer and
19233         subtree export.
19235 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19237         * org-html.el (org-export-html-auto-preamble)
19238         (org-export-html-auto-postamble): Remove.
19239         (org-export-html-preamble, org-export-html-postamble): Turn into
19240         custom variables.  Update the docstrings.
19241         (org-export-html-preamble-format)
19242         (org-export-html-postamble-format): New custom variables.
19243         (org-export-as-html): Use `org-export-html-postamble-format' and
19244         `org-export-html-preamble-format'.
19245         (org-export-html-title-format): Delete.
19247 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19249         * org-exp-blocks.el (org-export-blocks-format-ditaa):
19250         This function is begin deprecated in favor of begin_src blocks.
19251         (org-export-blocks-format-dot): This function is begin deprecated in
19252         favor of begin_src blocks.
19254 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19256         * ob.el (org-babel-header-arg-names): no-expand is now part of the
19257         default header argument names list.
19259 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
19261         * org-publish.el (org-publish-sitemap-date-format)
19262         (org-publish-sitemap-file-entry-format): New custom variables.
19263         (org-publish-projects): Use these variables to format the sitemap
19264         entries.
19266 2011-07-28  Ulf Stegemann  <ulf-news@zeitform.de>
19268         * org-gnus.el (org-gnus-store-link): Allow `org-link' creation
19269         from `message-mode'.
19271 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19273         * org-agenda.el (org-agenda-filter-by-tag): Refresh agenda when
19274         updating the filter while the clock report is following the
19275         filter.
19277 2011-07-28  Julien Danjou  <julien@danjou.info>
19279         * org-agenda.el (org-agenda): Kill all local variables.
19280         This assures we are not keeping buffer variable from an old agenda view
19281         when switching to a new custom agenda.
19283 2011-07-28  Julien Danjou  <julien@danjou.info>
19285         * org-crypt.el (org-encrypt-string): New function.
19286         (org-encrypt-entry): Use org-encrypt-string to encrypt, so we use
19287         cached crypted values.
19288         (org-decrypt-entry): Store crypted text in decrypted text.
19290 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19292         * ob-exp.el (org-babel-exp-lob-one-liners): Only replace the match
19293         if a non-nil result is returned.
19295 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19297         * org-agenda.el (org-agenda-get-day-entries): Compare DATE with
19298         modified today.
19300 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19302         * org.el (org-update-parent-todo-statistics): Fix bug when
19303         updating statistics from the column view.
19305 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19307         * org-agenda.el (org-agenda-bulk-mark-regexp): New command.
19308         (org-agenda-menu): Add the new command to the menu.
19309         (org-agenda-mode-map): Add % as the keybinding for the new
19310         command.
19312 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19314         * org-exp.el (org-export-target-internal-links): Locally turn on
19315         `org-link-search-must-match-exact-headline' to match exact
19316         internal links.
19318 2011-07-28  Julien Danjou  <julien@danjou.info>
19320         * org-faces.el (org-special-keyword): Make it inherited from
19321         `font-lock-keyword-face'.
19323 2011-07-28  Julien Danjou  <julien@danjou.info>
19325         * org-faces.el (org-link): Make `org-link' inherits from `link'
19326         face.
19328 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19330         * org.el (org-narrow-to-block): New function to narrow to block.
19331         Bound this function to `C-x n b'.
19333 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19335         * org.el (org-schedule, org-deadline): Fix bug: take care of
19336         repeating timestamps like ".+1d/3d" or "+1d 10d".
19338 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19340         * org-agenda.el (org-agenda-repeating-timestamp-show-all):
19341         Allow to use a list of TODO keywords as the value of this variable.
19342         The agenda will show repeating stamps for entries matching these TODO
19343         keywords.
19344         (org-agenda-get-timestamps, org-agenda-get-deadlines)
19345         (org-agenda-get-scheduled): Allow the use of a list of keywords in
19346         `org-agenda-repeating-timestamp-show-all'.
19348 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19350         * org-latex.el (org-export-latex-emph-format): Don't use
19351         `org-export-latex-use-verb'.  Remove this variable.
19353 2011-07-28  Jason Dunsmore  <emacs-orgmode@dunsmor.com>  (tiny change)
19355         * org-html.el (org-html-handle-time-stamps): Fix bug when
19356         exporting inactive timestamps.
19358 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19360         * org-archive.el (org-archive-save-context-info): Fix docstring
19361         typo.
19362         (org-archive-subtree-add-inherited-tags): New variable to control
19363         whether inherited tags should be appended to local tags when
19364         archiving subtrees.
19365         (org-archive-subtree): Use the new variable.
19367 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19369         * org-archive.el (org-archive-save-context-info): Fix docstring.
19371 2011-07-28  Julien Danjou  <julien@danjou.info>
19373         * org-crypt.el (org-decrypt-entry): Delete \n on top level
19374         heading.  This avoids a display bug showing the heading outlined
19375         where the text is not since it does not have the outline property.
19376         Restore subtree visibility state after decryption.
19378 2011-07-28  Julien Danjou  <julien@danjou.info>
19380         * org-agenda.el (org-agenda-list): Use `org-agenda-current-span'
19381         as a possible default span if it is set.
19383 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19385         * org-src.el (org-edit-src-persistent-message): Change docstring.
19386         (org-edit-src-code): Get rid of help message in echo area.
19388         * ob.el (org-babel-do-in-edit-buffer): Do not pass 'quietly
19389         argument to org-edit-src-code as this has been removed.
19391 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19393         * org-latex.el (org-export-latex-emphasis-alist):
19394         Use \protectedtexttt for the =...= emphasis and \verb for the ~...~
19395         emphasis.
19396         (org-export-latex-use-verb): Now defaults to t.
19397         (org-export-latex-emph-format): Distinguish between =...= and
19398         ~...~ emphasis.
19400 2011-07-28  Julien Danjou  <julien@danjou.info>
19402         * org.el (org-link-expand-abbrev): Allow any type of character in
19403         link expand.
19405 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19407         * ob-lob.el (org-babel-lob-ingest): Add prefix to file prompt.
19409 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19411         * ob-ref.el (org-babel-ref-resolve): `save-window-excursion' when
19412         resolving references.
19414 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19416         * org-html.el (org-export-html-html-helper-timestamp): Use <hr/>
19417         instead of <hr> to keep w3c validator happy.
19419 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19421         * ob.el (org-babel-where-is-src-block-head): Detect src block if
19422         point is on a #+header line.
19424 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19426         * ob.el (org-babel-where-is-src-block-head): Skip over intervening
19427         #+header lines when searching for block associated with block name
19428         line.
19430 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19432         * ob.el (org-babel-result-end): Replace call to `org-in-item-p' to
19433         the more specific `org-at-item-p'.
19435 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19437         * org-latex.el (org-latex-default-figure-position): New defcustom
19438         for default placement of latex figures.
19439         (org-export-latex-tables): Positioning tables using the new
19440         defcustom variable.
19441         (org-export-latex-format-image): Positioning images using the new
19442         defcustom variable.
19444 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19446         * ob-ditaa.el (org-babel-execute:ditaa): Throw error when
19447         evaluated and :file header argument is missing.
19449 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19451         * ob-exp.el (org-babel-exp-do-export): Simplify, no longer need
19452         to do anything to export code.
19453         (org-babel-exp-results): No longer returns a replacement for the
19454         code block.
19455         (org-babel-exp-inline-src-blocks): Simplify.
19456         (org-babel-exp-src-block): Remove unnecessary pluralization from
19457         function name.
19459 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19461         * ob-exp.el (org-babel-exp-inline-src-blocks):
19462         Simplify exportation of inline code blocks using normal code block
19463         execution mechanism to insert results.
19464         (org-babel-exp-results): Results exportation mechanism is unified
19465         for both inline and regular code blocks.
19467         * ob.el (org-babel-where-is-src-block-result): Returns the point
19468         after an inline code block for inline code blocks.
19470 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19472         * ob.el (org-babel-insert-result): Special handling of the
19473         position of results of inline code blocks.
19474         (org-babel-examplize-region): Now able to comment inline regions.
19476 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
19478         * org-exp.el (org-export-with-LaTeX-fragments): Fix docstring so
19479         that \\[ a = b \\] is not interpreted as a keybinding by
19480         `substitute-command-keys'.
19482 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19484         * org-latex.el (org-export-as-latex): Process export property list
19485         with `org-export-process-option-filters' early in latex export.
19487 2011-07-28  Julien Danjou  <julien@danjou.info>
19489         * org.el: Remove `org-invisible-p': `outline-invisible-p' is
19490         available in Emacs 22 and in recent XEmacs 21.  Replace in various
19491         files.
19493 2011-07-28  Julien Danjou  <julien@danjou.info>
19495         * org-agenda.el (org-agenda-get-progress): Fix regexp for statep:
19496         it must has \\ at the end of the line.  This avoid matching the
19497         following heading when there's no newline between the logged state
19498         and the next heading.
19500 2011-07-28  Julien Danjou  <julien@danjou.info>
19502         * org-agenda.el (org-format-agenda-item): Simplify time comuting.
19504 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
19506         * org.el (org-current-level, org-store-link, org-mark-subtree):
19507         Use `org-with-limited-levels'.
19509 2011-07-28  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
19511         * org-publish.el (org-publish-get-base-files): Add sitemap file.
19513 2011-07-28  Matt Lundin  <mdl@imapmail.org>
19515         * org-agenda.el (org-agenda-todo-ignore-deadlines): New option.
19516         (org-agenda-todo-ignore-scheduled): New option.
19517         (org-agenda-todo-ignore-timestamp): New option.
19518         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
19519         Allow user to specify custom distance to ignore (future or past).
19520         (org-agenda-todo-custom-ignore-p): New function.
19522 2011-07-28  Matt Lundin  <mdl@imapmail.org>
19524         * org-habit.el (org-habit-parse-todo) Don't parse more days than
19525         needed.
19527 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19529         * ob.el (org-babel-map-inline-src-blocks): Macro for executing
19530         code in each inline code block.
19531         (org-babel-execute-buffer): Executes inline code blocks as well as
19532         regular code blocks.
19534 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19536         * ob.el (org-babel-result-end): Now recognizes "#+begin_org"
19537         blocks for removal.
19539 2011-07-28  Benjamin Drieu  <bdrieu@april.org>  (tiny change)
19541         * org-clock.el (org-clock-before-select-task-hook): New hook.
19542         (org-clock-select-task): Run new hook.
19544 2011-07-28  Julien Danjou  <julien@danjou.info>
19546         * org-agenda.el (org-agenda-get-blocks): Fix time of start/end of
19547         events with range.  This display things like: <2011-01-22 Sat
19548         14:00>--<2011-01-23 Sun 20:00> correctly, with the event starting
19549         at 14:00 and ending at 20:00.
19551 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19553         * ob.el (org-babel-inline-src-block-regexp): Character preceding
19554         "src_" can now be anything as long as it is neither alphanumeric
19555         nor '-'.
19557 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19559         * ob.el (org-babel-merge-params): Docstring typo.
19561 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19563         * ob.el (org-babel-params-from-buffer): Process all #+babel: lines
19564         in the buffer.
19566 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19568         * ob.el (org-babel-get-src-block-info): Alter order of merge
19569         arguments.
19571 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19573         * ob-python.el: Test whether non-nil buffer is #<killed buffer>.
19575 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19577         * ob.el (org-babel-insert-result): Ensure all parts of result
19578         wrappers end in newlines.
19580 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19582         * ob-tangle.el (org-babel-tangle): New :mkdirp header argument
19583         optionally creates parent directories of tangle targets.
19585 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19587         * org-ascii.el (org-ascii-level-start): Catch the case of levels
19588         which do not have an equivalent in the list of underline
19589         characters.
19591 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19593         * ob-sh.el (org-babel-sh-var-quote-fmt): Now possible to customize
19594         the format string used to escape arguments to shell code blocks.
19596 2011-07-28  Julien Danjou  <julien@danjou.info>
19598         * org-agenda.el (org-agenda-reset-view): New function.
19599         (org-agenda-view-mode-dispatch): Bind space to org-agenda-reset-view.
19601 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
19603         * org-exp.el (org-export-handle-include-files): Support :lines
19604         property.
19605         (org-get-file-contents): New argument lines to include specify a
19606         range of lines to include.
19608 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19610         * org.el (org-fast-tag-selection): Fix bug when assigning keys.
19612 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
19614         * org-latex.el (org-export-latex-make-header): Export email in
19615         author line if `org-export-email-info' is non-nil.
19617 2011-07-28  Julien Danjou  <julien@danjou.info>
19619         * org-agenda.el (org-agenda-goto-today): Respect current span.
19621 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19623         * org-complete.el (pcomplete/org-mode/link)
19624         (pcomplete/org-mode/todo, pcomplete/org-mode/prop): Copy list
19625         before uniquifying.
19627 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19629         * ob-tangle.el (org-babel-spec-to-string): Adding "noweb" as a
19630         linking comment type
19631         (org-babel-tangle-comment-links): Returns comment links for the
19632         source code block at point.
19634 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19636         * org.el (org-refile-check-position): Send a more explicit message
19637         on how to clear the cache before refiling again.
19639 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19641         * org-agenda.el (org-agenda-skip-function-global): New option.
19642         (org-agenda-skip-eval): New function.
19643         (org-agenda-skip): Use `org-agenda-skip-eval' and also check for
19644         the global skipping condition.
19646 2011-07-28  David Maus  <dmaus@ictsoc.de>
19648         * org-html.el (org-export-as-html): Handle timestamps after
19649         handling links.
19651 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19653         * ob-tangle.el (org-babel-tangle-jump-to-org): Ever wider searches
19654         until either a matching block is found, or the limits of the file
19655         are reached.
19657 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19659         * ob.el (org-babel-update-block-body): Literal argument to
19660         `replace-match' to allow insertion of text containing '\'.
19662 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19664         * ob-ref.el (org-babel-ref-parse): Allow passing empty strings
19665         into code blocks.
19667 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19669         * org.el (org-sort-entries): Fix sorting with a bold emphasis at bol.
19671 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19673         * ob.el (org-babel-open-src-block-result): Must collect result
19674         *before* jumping to the result buffer.
19676 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19678         * ob.el (org-babel-src-block-names): Fix bug, wrong match-string
19679         used after update to regexp.
19681 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19683         * ob.el (org-babel-temp-file): Ensure that
19684         `org-babel-temporary-directory' is bound before using.
19685         (org-babel-remove-temporary-directory): Safer error throwing.
19687 2011-07-28  niels giesen  <niels.giesen@gmail.com>
19689         * org-docbook.el (org-export-docbook-finalize-table): Do literal
19690         replacements.
19692 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19694         * ob.el (org-babel-execute-src-block): Uses org-src-lang-modes to
19695         resolve language names for evaluation.
19697 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19699         * org-capture.el (org-capture-templates): Add %f and %F escapes
19700         (org-capture): Add more information to capture property list
19701         (org-capture-fill-template): Handle %f and %F escapes.
19703 2011-07-28  David Maus  <dmaus@ictsoc.de>
19705         * org-publish.el (org-publish-cache-ctime-of-src): Use mtime of
19706         symlink target.
19708 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19710         * org.el (org-occur-next-match): New function.
19711         (org-mode): Set the variable `next-error-function'.
19712         (org-highlight-new-match): Add an `org-type' property to the
19713         overlays.
19715 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19717         * ob-calc.el: No longer require `calc-trail' on XEmacs.
19719 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19721         * org.el (org-modules): Add `org-eshell'.
19723 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19725         * org-special-blocks.el (htmlp, latexp, line): Add defvars for
19726         dynamically scoped variables.
19728         * org.el (org-modules): Move `org-special-blocks' into the core
19729         modules section.
19731 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19733         * org-special-blocks.el: New file.
19735 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19737         * org.el (org-plist-delete): Remove duplicate definition.
19739 2011-07-28  Bernt Hansen  <bernt@norang.ca>
19741         * org-agenda.el (org-agenda-goto): Display invisible entry text.
19743         * org-agenda.el (org-agenda-switch-to): Display invisible entry
19744         text.
19746 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19748         * org.el (org-get-category): New optional argument FORCE-REFRESH.
19749         Automatically refresh if the property is not there.
19750         (org-entry-properties): Remove refresh - this is now done in
19751         org-get-category.
19753         * org-clock.el (org-clock-insert-selection-line):
19754         Let `org-get-category' do the property refresh.
19756         * org-archive.el (org-archive-subtree): Force a refresh of
19757         category properties.
19759 2011-07-28  Julien Danjou  <julien@danjou.info>
19761         * org-icalendar.el (org-print-icalendar-entries): Do not manually
19762         refresh categories.
19764 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19766         * org.el (org-display-inline-images): Check for clear-image-cache
19767         before using it.
19769 2011-07-28  Bernt Hansen  <bernt@norang.ca>
19771         * org.el: Document missing value for org-link-frame-setup.
19773 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19775         * ob-R.el (org-babel-R-write-object-command): Force evaluation of
19776         user code prior to the R exception-handling, so that errors in
19777         user code are unhandled.
19779 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19781         * org-src.el (org-src-font-lock-fontify-block): Test, early on,
19782         that a major-mode function corresponding to the language string
19783         exists.
19785 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
19787         * org-exp.el (org-export-mark-list-ending): Insert additional
19788         newline characters if end-list-marker is at a wrong position.
19790 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19792         * ob.el (org-babel-script-escape): Replace commas with spaces for
19793         better list reading when list items are packed with commas,
19794         e.g. Haskell list output.
19796 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19798         * ob-sass.el (org-babel-execute:sass): Uses ob-eval for better
19799         error reporting.
19801 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19803         * ob.el (org-babel-confirm-evaluate): Fix for the case when
19804         org-confirm-babel-evaluate is a function (used to always ask no
19805         matter what the function returns).
19807 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19809         * ob-R.el: Delete duplicated function.
19811 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19813         * ob.el (org-babel-execute-src-block): Remove unused flet
19814         function.
19816 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19818         * ob-asymptote.el (org-babel-execute:asymptote): Return nil to
19819         signal that the intended content has been written to file.
19821         * ob-ditaa.el (org-babel-execute:ditaa): Return nil to signal that
19822         the intended content has been written to file.
19824         * ob-dot.el (org-babel-execute:dot): Return nil to signal that the
19825         intended content has been written to file.
19827         * ob-gnuplot.el (org-babel-execute:gnuplot): Return nil to signal
19828         that the intended content has been written to file.
19830         * ob-latex.el (org-babel-execute:latex): Return nil to signal that
19831         the intended content has been written to file.
19833         * ob-mscgen.el (org-babel-execute:mscgen): Return nil to signal
19834         that the intended content has been written to file.
19836         * ob-octave.el (org-babel-execute:octave): Return result; not name
19837         of output file.
19839         * ob-plantuml.el (org-babel-execute:plantuml): Return nil to
19840         signal that the intended content has been written to file.
19842         * ob-python.el (org-babel-execute:python): Return result; not name
19843         of output file.
19845         * ob-ruby.el (org-babel-execute:ruby): Return result; not name of
19846         output file.
19848         * ob-sass.el (org-babel-execute:sass): Return nil if result has
19849         been written to file.
19851 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19853         * ob-R.el (org-babel-R-graphical-output-file): New function
19854         returns the name of the output file iff R has been instructed to
19855         send graphical output to file by means of the ":results graphics"
19856         directive.
19857         (org-babel-expand-body:R): Use `org-babel-R-graphical-output-file'
19858         when constructing the R code to evaluate, which may be augmented
19859         with code implementing the writing of graohical output to file.
19860         (org-babel-execute:R): Use `org-babel-R-graphical-output-file' to
19861         determine whether R is taking responsibility for writing output to
19862         file; if so, this is signaled to ob.el by returning a nil result.
19864 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19866         * ob.el (org-babel-format-result): New function to format results
19867         of src block execution.
19868         (org-babel-execute-src-block): Use `org-babel-format-result' when
19869         writing to file.
19870         (org-babel-open-src-block-result): Use `org-babel-format-result'
19871         when displaying results in a buffer.  Name results buffer
19872         differently.
19874 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19876         * ob.el (org-babel-execute-src-block): Avoid calling
19877         `orgtbl-to-generic' on number results.
19879 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19881         * ob.el (org-babel-execute-src-block): Allow specification of
19882         table separator with :sep header argument.
19883         (org-babel-open-src-block-result): Allow specification of table
19884         separator with :sep header argument.
19886 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19888         * ob.el (org-babel-execute-buffer): Wipe error buffer at outset of
19889         executing buffer (note that this handles execute subtree also).
19891 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
19893         * org-inlinetask.el (org-inlinetask-in-task-p): Small refactoring,
19894         do not modify match data either.
19895         (org-inlinetask-goto-end): Small refactoring, remove
19896         case-sensitivity.
19897         (org-inlinetask-goto-beginning): Small refactoring, remove
19898         case-sensitivity.
19900 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19902         * org-capture.el (org-capture-set-target-location):
19903         Use `current-time'.
19905 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19907         * org-capture.el (org-capture-set-target-location):
19908         Use `current-time'.
19910 2011-07-28  Bernt Hansen  <bernt@norang.ca>
19912         * org.el (org-before-first-heading-p): If point is on an org-mode
19913         heading line then we are not before the first heading.
19915 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
19917         * org-timer.el (org-timer-continue-hook): Define the variable
19918         (org-timer-pause-or-continue): Run hook after relative timer is
19919         continued.
19921 2011-07-28  Julien Danjou  <julien@danjou.info>
19923         * org-agenda.el (org-compile-prefix-format): Allow %() expression.
19925 2011-07-28  Julien Danjou  <julien@danjou.info>
19927         * org-capture.el (org-capture-fill-template): Use org-eval.
19929 2011-07-28  Julien Danjou  <julien@danjou.info>
19931         * org-agenda.el (org-eval): New function.
19933 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19935         * ob.el (org-babel-execute-src-block): With :results file, when
19936         :file is not supplied, interpret result as a file link as long as
19937         it is a string.
19939 2011-07-28  David Maus  <dmaus@ictsoc.de>
19941         * org-latex.el (org-export-latex-preprocess): Don't convert link
19942         description parts that look like numeric footnote.
19944 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19946         * org-latex.el (org-export-latex-tables): Allowing specification
19947         of tabular[xy] inner environments through the ATTR_LaTeX line.
19949 2011-07-28  Julien Danjou  <julien@danjou.info>
19951         * org-capture.el (org-capture-fill-template):
19952         Use `org-set-property' directly.
19954 2011-07-28  Julien Danjou  <julien@danjou.info>
19956         * org-agenda.el (org-agenda-prefix-format): Add missing `search'
19957         item in docstring.
19959 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19961         * org-exp.el (org-export-string): Use `format' to construct
19962         function call to allow symbolic or string arguments.
19964 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19966         * org-capture.el (org-capture-place-entry):
19967         (org-capture-insert-template-here): Check tree for validity before
19968         pasting it.
19970 2011-07-28  Julien Danjou  <julien@danjou.info>
19972         * org-gnus.el (org-gnus-store-link): Trim date.
19974 2011-07-28  Julien Danjou  <julien@danjou.info>
19976         * org.el (org-email-link-description): Allow to retrieve email
19977         link date.
19979 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
19981         * org.el (org-make-target-link-regexp): `regexp-quote' target
19982         before replacing whitespace.
19984 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19986         * ob.el (org-babel-expand-noweb-references): Noweb references can
19987         now be resolved from the library of babel.
19989 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19991         * ob.el (org-babel-result-end): No longer leaving trailing new
19992         line after block removal.
19994 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19996         * org-latex.el (org-export-latex-first-lines): Anchor outline
19997         regexp during LaTeX tree export.
19999 2011-07-28  Konrad Hinsen  <konrad.hinsen@fastmail.net>
20001         * ob-python.el (org-babel-python-initiate-session-by-key):
20002         Make sure that py-which-bufname is initialized, as otherwise it will be
20003         overwritten the first time a Python buffer is created.
20005 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
20007         * ob-sh.el (org-babel-sh-var-to-sh): Better escaping of variables
20008         with spaces.
20010 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
20012         * ob-org.el (org-babel-execute:org): Padding code block with an
20013         empty title on LaTeX export.
20015 2011-07-28  Matt Lundin  <mdl@imapmail.org>
20017         * org.el (org-entry-properties): Stop scanning for timestamps if a
20018         specific timestamp property (e.g., DEADLINE, SCHEDULED, etc.) is
20019         requested and a match is found.  Also, if a specific timestamp
20020         property is requested, do not push non-relevant timestamps onto
20021         property list.
20023 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20025         * org-agenda.el (org-agenda-add-time-grid-maybe): Show time only
20026         when grid is being made for today.
20028 2011-07-28  Matt Lundin  <mdl@imapmail.org>
20030         * org-agenda.el (org-agenda-get-scheduled): Don't call
20031         `org-is-habit-p' until after checking for
20032         `org-agenda-skip-scheduled-if-done'.
20034 2011-07-28  Achim Gratz  <Stromeko@nexgo.de>
20036         * org.el: Remove spurious linebreak introduced by earlier patch.
20038         * ob.el, ob-ref.el: Remove double fix of the same problem.
20040 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20042         * org-table.el (orgtbl-ctrl-c-ctrl-c): Parse buffer for constants.
20044 2011-07-28  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>
20046         * org-html.el (org-export-html-mathjax-template):
20047         Displaymath environment and MathJax.
20049 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20051         * org-faces.el (org-agenda-current-time): New face.
20053         * org-agenda.el (org-agenda-show-current-time-in-grid):
20054         (org-agenda-current-time-string): New options.
20055         (org-agenda-add-time-grid-maybe): Add current time to time grid.
20057 2011-05-10  Jim Meyering  <meyering@redhat.com>
20059         Fix doubled-word typos.
20060         * org-agenda.el (org-agenda-entry-types): the the -> the
20061         * org-table.el (org-table-get-remote-range): or or -> or
20062         * org-wl.el (org-wl-folder-type): the the -> the
20063         * org.el (org-goto, org-inside-LaTeX-fragment-p): Likewise.
20065 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20067         * org-src.el (org-src-switch-to-buffer):
20068         * org-plot.el (org-plot/gnuplot-script, org-plot/gnuplot):
20069         * org-mouse.el (org-mouse-agenda-type):
20070         * org-freemind.el (org-freemind-node-to-org):
20071         * ob-sql.el (org-babel-execute:sql):
20072         * ob-exp.el (org-babel-exp-do-export, org-babel-exp-code):
20073         * ob-ref.el (org-babel-ref-resolve): Fix use of case.
20075 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
20077         * Version 23.3 released.
20079 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
20081         * org.el (org-blank-before-new-entry, org-context-in-file-links)
20082         (org-refile-targets, org-log-repeat, org-insert-link)
20083         (org-speed-command-default-hook, org-speed-command-hook)
20084         (org-in-regexps-block-p, org-yank-generic, org-goto-first-child):
20085         Fix typos in docstrings.
20086         (org-toggle-pretty-entities): Fix typo in message.
20088 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
20090         * org-id.el: Don't set `kill-emacs-hook' on noninteractive sessions.
20092 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
20094         * org-remember.el (org-remember-mode-map):
20095         * org-src.el (org-src-mode-map): Move initialization into declaration.
20097 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
20099         * org-remember.el (org-remember-mode):
20100         * org-capture.el (org-capture-mode): Don't run hook redundantly.
20102 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
20104         * org-faces.el (org-link): Inherit from link face.
20105         Suggested by Joakim Verona.
20107 2010-12-11  Tassilo Horn  <tassilo@member.fsf.org>
20109         * org-footnote.el (org-footnote-create-definition): Place
20110         Footnotes section before message-signature-separator also in modes
20111         derived from message-mode.
20113 2010-12-11  Julien Danjou  <julien@danjou.info>
20115         * org.el (org-make-tags-matcher): Remove useless cat-p value.
20117 2010-12-11  Julien Danjou  <julien@danjou.info>
20119         * org.el (org-entry-properties): Enhance docstring.
20121 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20123         * org-list.el (org-list-top-point-with-indent)
20124         (org-list-bottom-point-with-indent): Pay also attention to
20125         'original-indentation property of text, as blocks are put to
20126         column 0 upon exporting.
20128 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20130         * ob.el (org-babel-remove-temporary-directory): Handle exception
20131         with message informing of failure to remove directory.
20133 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20135         * ob-clojure.el (org-babel-header-arg-names:clojure): Add
20136         `package' to the list of Clojure header arguments which will be read
20137         from heading properties.
20139 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20141         * org-inlinetask.el (org-inlinetask-export-templates): Add
20142         Sébastien Vauban's suggestion for LaTeX export in docstring.  This is
20143         not default as it requires an additional LaTeX package: "todonotes".
20145 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20147         * org-inlinetask.el (org-inlinetask-export-templates): New variable.
20149         * org-inlinetask.el (org-inlinetask-export-handler): Make use of
20150         templates to export inline tasks.
20152 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20154         * org.el (org-current-level): Ignore inline tasks when getting current
20155         level of entry.
20157 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20159         * org.el (org-indent-line-function): Ignore drawers inside inline
20160         tasks  if the line to indent isn't inside an inline task itself.
20162 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20164         * org-inlinetask.el (org-inlinetask-get-task-level): New function.
20166         * org-indent.el (org-indent-add-properties): Find true level of
20167         indentation wrt inline tasks.
20169 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20171         * org-inlinetask.el (org-inlinetask-outline-regexp): New function.
20173         * org-inlinetask.el (org-inlinetask-goto-beginning): New function.
20175         * org-inlinetask.el (org-inlinetask-goto-end): New function.
20177         * org.el (org-mark-subtree): New command.
20179         * org.el (org-speed-commands-default, org-mode-map): Make use of
20180         new command.
20182 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20184         * org-inlinetask.el (org-inlinetask-export-handler): Remove protection
20185         from @<span class...> so it can be removed during LaTeX export.
20187 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20189         * ob.el (org-babel-insert-result): More informative code block
20190         evaluation messages.
20192 2010-12-11  Matt Lundin  <mdl@imapmail.org>
20194         * org.el (org-make-heading-search-string): Optionally limit number
20195         of lines stored in file link search strings.
20196         (org-context-in-file-links): Add option to set to integer specifying
20197         number of lines.
20199 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20201         * org-capture.el (org-capture-finalize): New prefix argument
20202         STAY-WITH-CAPTURE.
20203         (org-capture-refile): Improve docstring.
20205 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20207         * ob-sql.el (org-babel-execute:sql): Add msosql as optional sql
20208         interaction engine.
20210 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20212         * org-agenda.el (org-agenda-list):
20213         (org-agenda-goto-today): Use `org-today'.
20215 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20217         * org-latex.el (org-export-latex-make-header): Swap \begin{document}
20218         and the title/author definitions.
20220 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20222         * org-macs.el: Better backup definition for
20223         `with-silent-modifications'.
20225 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20227         * ob-python.el (org-babel-execute:python): Rename "prefix" to
20228         "preamble".
20229         (org-babel-python-evaluate): Rename "prefix" to "preamble".
20230         (org-babel-python-evaluate-external-process): Rename "prefix" to
20231         "preamble".
20233 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20235         * ob.el (org-babel-examplize-region): Check if `end' is a marker
20236         or a point and handle appropriately.
20238 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20240         * ob-sql.el (org-babel-execute:sql): Explicitly set field
20241         separator to \t when importing tabular data.
20243 2010-12-11  Julien Danjou  <julien@danjou.info>
20245         * org-agenda.el (org-agenda-custom-commands-local-options):
20246         Allow org-agenda-span to be a symbol.
20247         (org-agenda-ndays): Make obsolete.
20248         (org-agenda-span): New variable superseding org-agenda-ndays.
20249         (org-agenda-menu): Use org-agenda-current-span.
20250         (org-agenda-current-span): New local variable storing current
20251         span.
20252         (org-agenda-list): Take a span instead of ndays as argument.
20253         This function is now responsible for computing the ndays based
20254         on span.
20255         (org-agenda-ndays-to-span): Return span only if number of days
20256         really matches.
20257         (org-agenda-span-to-ndays): New function.
20258         (org-agenda-manipulate-query): Use org-agenda-compute-starting-span.
20259         (org-agenda-goto-today): Use org-agenda-compute-starting-span.
20260         (org-agenda-later): Do not give compute a new span, use the
20261         current one.
20262         (org-agenda-day-view, org-agenda-week-view)
20263         (org-agenda-month-view, org-agenda-year-view): Stop touching
20264         org-agenda-ndays.
20265         (org-agenda-change-time-span): Only compute starting-span.
20266         (org-agenda-compute-starting-span): New function derived from
20267         the old org-agenda-compute-time-span.
20268         (org-agenda-set-mode-name): Compute mode based on
20269         org-agenda-current-span.
20270         (org-agenda-span-name): New function.
20272 2010-12-11  Robert Pluim  <rpluim@gmail.com>  (tiny change)
20274         * org-agenda.el (org-agenda-toggle-deadlines): Fix docstring.
20276 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20278         * org-clock.el (org-quarter-to-date): Define variables.
20279         (org-clock-special-range): Defin variables.  Use org-floor*.
20280         (org-clocktable-write-default): Define tcol.
20282         * org-compat.el (org-floor*): New function.
20284 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20285             John Wiegley  <jwiegley@gmail.com>
20287         * org-complete.el: New file.
20289 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20291         * org-clock.el (org-clocktable-write-default): Fix the % formula.
20293 2010-12-11  Matt Lundin  <mdl@imapmail.org>
20295         * org-agenda.el (org-format-agenda-item): The value of
20296         org-category is not converted to a string unless it is defined.
20298 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20300         * ob-python.el (org-babel-execute:python): Pass the new "prefix"
20301         header argument through to external evaluation.
20302         (org-babel-python-evaluate): Pass the new "prefix" header argument
20303         through to external evaluation.
20304         (org-babel-python-evaluate-external-process): When specified prepend
20305         "prefix" to the file used in external evaluation.
20307 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20309         * ob-python.el (org-babel-python-evaluate-session): Change python
20310         module name from 'pp' to 'pprint'.
20312 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20314         * ob-R.el (org-babel-R-evaluate-session): Removing empty lines
20315         from R session output, these are often the result of variable
20316         assignments.
20318 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20320         * ob-sql.el (orgtbl-to-csv): Declaring an external function to
20321         fix a compiler warning.
20323 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20325         * ob-eval.el (require): No longer require ob.el to allow
20326         requiring by ob.el.
20328         * ob.el (ob-eval): Require ob-eval.
20330 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20332         * ob.el (org-babel-confirm-evaluate): Show code block's name when
20333         it is available during evaluation query.
20335 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20337         * ob-sql.el (org-babel-expand-body:sql): Expand the body of a sql
20338         code block.
20339         (org-babel-execute:sql): Use sql specific body expansion function.
20340         (org-babel-sql-expand-vars): Insert variables into a sql code block.
20342 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20344         * ob.el (org-babel-insert-result): Using markers instead of
20345         points for more robust buffer anchors.
20347 2010-12-11  Julien Danjou  <julien@danjou.info>
20349         * org-capture.el: Use org-today.
20351 2010-12-11  Julien Danjou  <julien@danjou.info>
20353         * org-habit.el: Use org-today.
20355 2010-12-11  Julien Danjou  <julien@danjou.info>
20357         * org.el (org-auto-repeat-maybe): Use org-today.
20359 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20361         * org-clock.el (org-day-of-week): New function.
20362         (org-quarter-to-date): New function.
20363         (org-clock-special-range): Implement quarters.
20365 2010-12-11  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
20367         * org.el (org-complete-tags-always-offer-all-agenda-tags):
20368         Fix docstring.
20370 2010-12-11  Julien Danjou  <julien@danjou.info>
20372         * org-agenda.el (org-format-agenda-item): Convert category to a string
20373         if it is a symbol.  This fixes the following call to
20374         org-agenda-get-category-icon which fails if category is not a string.
20376 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20378         * ob-clojure.el: Updated requirements documentation to mention
20379         the minimum version of Clojure.
20380         (org-babel-expand-body:clojure): Fully qualified function name.
20382 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20384         * org-latex.el (org-export-latex-lists): Do not add an
20385         unnecessary newline character after a list.
20387         * org-list.el (org-list-bottom-point-with-indent): Ensure bottom
20388         point is just after a non blank line.
20390 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20392         * ob.el (org-babel-examplize-region): Remove old assertion which
20393         no longer applies to the result insertion code.
20395 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20397         * ob-python.el (org-babel-execute:python): Use a :return header
20398         argument for external evaluation in which the code block body need
20399         to be wrapped in a function.
20401 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20403         * ob-clojure.el (org-babel-expand-body:clojure): Trapped free
20404         variable.
20406 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20408         * org.el (org-edit-special): Edit formulas when in TBLMF line.
20410 2010-12-11  Allen S. Rout  <asr@ufl.edu>  (tiny change)
20412         * org-capture.el (org-capture-after-finalize-hook): New hook.
20413         (org-capture-finalize): Run the new hook.
20415 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20417         * ob-clojure.el (org-babel-expand-body:clojure): Support for
20418         pretty printing of Clojure code and data.
20420 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20422         * ob.el (org-babel-insert-result): No longer escape results which
20423         will be wrapped in a block.
20425 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20427         * ob-eval.el (org-babel-eval-wipe-error-buffer): Fix compiler
20428         warning and added documentation string.
20430 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20432         * ob-clojure.el (org-babel-execute:clojure): Remade using slime
20433         for all code evaluation.
20435 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20437         * org-beamer.el (org-beamer-sectioning): Allow overlay arguments for
20438         the column as well.
20440 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20442         * ob.el (org-babel-confirm-evaluate): More descriptive message
20443         when evaluation is aborted or disabled.
20445 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20447         * ob.el (org-babel-insert-result): Responds to new "wrap" header
20448         argument.
20449         (org-babel-merge-params): Includes new "wrap" header argument in
20450         one of the results header argument exclusive groups.
20452 2010-12-11  David Maus  <dmaus@ictsoc.de>
20454         * org-macs.el (with-silent-modifications): Fix condition for
20455         with-silent-modification.
20457 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20459         * ob.el (org-babel-parse-header-arguments): Stripping trailing
20460         spaces off of header arguments (even the first one).
20462 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20464         * ob-sh.el (org-babel-sh-var-to-sh): Wrap end token of heredoc in
20465         single quotes which is the best practice.
20466         (org-babel-sh-table-or-results): Use `org-babel-script-escape' for
20467         more robust parsing of shell output.
20469 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20471         * org.el (org-additional-option-like-keywords): Add more keywords,
20472         and colons to some old ones.
20474 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20476         * ob-eval.el (org-babel-error-buffer-name): Define new variable.
20478 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20480         * ob-python.el (org-babel-python-table-or-string):
20481         Using `org-babel-script-escape' for reading string input from scripting
20482         languages.
20484 2010-12-11  Achim Gratz  <Stromeko@nexgo.de>  (tiny change)
20486         * org-macs.el (org-called-interactively-p): Wrap function call in
20487         with-no-warnings.
20488         (with-silent-modifications): Declare macro for Emacs < 23.2.
20490 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20492         * ob.el (org-babel-parse-header-arguments): Remove addition of
20493         ":" to singleton first header arguments as it was leading to errors.
20495 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20497         * org-latex.el (org-export-latex-make-header): Run the title through
20498         `org-export-latex-fontify-headline'.
20499         (org-export-latex-fontify-headline): Do the protection of math
20500         snippets also here.
20502 2010-12-11  Richard Lawrence  <richard.lawrence@berkeley.edu>
20504         * org-latex.el (org-export-as-latex): Sent the section title
20505         through the preprocessor.
20507 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20509         * org-html.el (org-html-level-start): Mark listified headings
20510         with a custom id.
20512 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20514         * org.el (org-open-at-point): Don't do footnote action if cursor is
20515         on a bracket link.
20517 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20519         * org.el (org-edit-special): Check also for TBLFM line.
20521 2010-12-11  Achim Gratz  <Stromeko@Stromeko.DE>  (tiny change)
20523         * org-clock.el (org-get-clocktable): Previous patch incorrectly
20524         required whitespace in front of #+BEGIN: and #+END:.
20526 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20528         * org-src.el (org-edit-src-code): Allow region to be inherited by
20529         edit buffer when mark is one character beyond end of src block.
20531 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20533         * org-list.el (org-cycle-list-bullet): Ensure point is at bol before
20534         checking item indentation.
20536 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20538         * ob.el (org-babel-map-src-blocks): Move to earlier in the file
20539         and now autoloading.
20541 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20543         * ob-ref.el (org-babel-ref-at-ref-p): Use higher level function
20544         for testing list membership.
20546         * ob.el (org-babel-read-result): Use higher level function for
20547         testing list membership.
20548         (org-babel-result-end): Use higher level function for testing list
20549         membership.
20551 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20553         * ob-sqlite.el (ob-eval): Require ob-eval for external command
20554         execution.
20555         (org-babel-execute:sqlite): No longer uses the init option for
20556         passing commands to sqlite.
20558 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20560         * org.el (org-indent-line-function): Drawers and blocks have no
20561         influence on indentation of text below.  Also fix indentation
20562         problem with a block at column 0 and add a special case for
20563         literal examples.
20565 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20567         * ob.el (org-babel-map-src-blocks): Ensure that the file argument
20568         is only evaluated once.
20570 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20572         * ob-ref.el (org-babel-ref-resolve): Recognize `list' as a unique
20573         type of data
20574         (org-babel-ref-at-ref-p): Recognize `list' as a unique type of data.
20576 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20578         * ob-tangle.el (org-babel-load-file): Can be called interactively.
20580 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
20582         * org-table.el (orgtbl-after-send-table-hook): New hook.
20583         (orgtbl-ctrl-c-ctrl-c): Run `orgtbl-after-send-table-hook' when a
20584         table was sent.
20585         (orgtbl-send-table): Return the number of sent tables, or nil if no
20586         sending has happened.
20588 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20590         * org.el (org-get-priority-function): New option.
20591         (org-get-priority): Call `org-get-priority-function' if that
20592         has been set.
20594 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20596         * ob-table.el (org-babel-table-truncate-at-newline): Only add
20597         "..." if there is something after the newline.
20599 2010-12-11  Achim Gratz  <Stromeko@nexgo.de>  (tiny change)
20601         * org-clock.el (org-get-clocktable):
20602         (org-in-clocktable-p):
20603         (org-clocktable-shift):
20604         (org-clocktable-steps): Fix regexp to allow for indented clock tables.
20606 2010-12-11  Puneeth Chaganti  <punchagan@gmail.com>
20608         * org-exp.el (org-export-handle-include-files): Support :minlevel
20609         property.
20610         (org-get-file-contents): New argument minlevel to demote included
20611         content.
20613 2010-12-11  Noorul Islam  <noorul@noorul.com>
20615         * org-latex.el (org-export-latex-hyperref-format): New option.
20616         (org-export-latex-href-format): Rename the existing variable
20617         `org-export-latex-hyperref-format' as `org-export-latex-href-format'
20618         (org-export-latex-links): Use `org-export-latex-hyperref-format' and
20619         `org-export-latex-href-format'.
20621 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20623         * ob-calc.el (org-babel-execute:calc): Ensure the *Calculator*
20624         buffer exists before it is used.
20626 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20628         * org-exp.el (org-export-preprocess-string): Delay code block
20629         processing a bit to allow correct list parsing in the export string.
20631 2010-12-11  Christopher Allan Webber  <cwebber@dustycloud.org>
20633         * org-agenda.el (org-agenda-timegrid-use-ampm): New option.
20634         (org-agenda-time-of-day-to-ampm): New function.
20635         (org-agenda-time-of-day-to-ampm-maybe): New function.
20636         (org-format-agenda-item): Call org-agenda-time-of-day-to-ampm-maybe.
20638 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20640         * org-faces.el (org-cycle-level-faces): New option.
20642         * org.el (org-get-level-face): Honor org-cycle-level-faces.
20644 2010-12-11  Julien Danjou  <julien@danjou.info>
20646         * org-agenda.el (org-agenda-today): New function.
20647         (org-agenda-get-day-face): New function.
20648         (org-timeline): Use org-agenda-today and org-agenda-get-day-face.
20649         (org-agenda-list): Use org-agenda-today and org-agenda-get-day-face.
20650         (org-todo-list): Use org-agenda-today.
20651         (org-get-all-dates): Use org-agenda-today.
20652         (org-agenda-day-face-function): New variable.
20653         (org-agenda-get-day-face): Use org-agenda-day-face-function.
20655 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20657         * org.el (org-ctrl-c-ctrl-c): Consider sending a radio table also
20658         in Org.
20660 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20662         * org-html.el (org-export-as-html): Do not treat partially
20663         protected lines as if they were fully protected.
20665 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20667         * org-exp.el (org-export-format-source-code-or-example):
20668         Remove hard-wired configuration of minted export
20669         (org-export-latex-minted-with-line-numbers): Remove variable.
20671 2010-12-11  Bastien Guerry  <bzg@gnu.org>
20673         * org-clock.el (org-dblock-write:clocktable): Fix double
20674         reference to `link' in let construct.
20675         (org-clock-clocktable-formatter): Fix typo in docstring.
20676         (org-clocktable-write-default): Fix typo in docstring.
20678 2010-12-11  David Maus  <dmaus@ictsoc.de>
20680         * org-protocol.el (org-protocol-unhex-string): Normalize percent
20681         escape sequence to upper case letters.
20683 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20685         * ob-lob.el (org-babel-lob-get-info): Include pass-through
20686         header arguments in results variable header argument string.
20688 2010-12-11  David Maus  <dmaus@ictsoc.de>
20690         * org-exp.el (org-export-visible): Limit search for in-buffer options
20691         beginning of first headline.
20693 2010-12-11  David Maus  <dmaus@ictsoc.de>
20695         * org.el (org-open-at-point): Remove stale link handler for news:
20696         links.
20698 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20700         * org-clock.el (org-clocktable-write-default): Better handling of
20701         narrowing.
20703 2010-12-11  Julien Danjou  <julien@danjou.info>
20705         * org-agenda.el (org-agenda-category-icon-alist): Fix defcustom type.
20707 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20709         * org.el (org-indent-line-function): Simplify code and remove bug that
20710         would insert a tab at the beginning of the line when trying to
20711         indent the item.
20713 2010-12-11  Julien Danjou  <julien@danjou.info>
20715         * org.el (org-diary-sexp-entry): Split sexp result strings at semicolon.
20717 2010-12-11  Julien Danjou  <julien@danjou.info>
20719         * org-agenda.el (org-agenda-prefix-format): Insert place holder
20720         for icon.
20721         (org-agenda-category-icon-alist): New option.
20722         (org-agenda-get-category-icon): New function.
20723         (org-format-agenda-item): Support for icons.
20724         (org-compile-prefix-format): Support for icons.
20726 2010-12-11  Julien Danjou  <julien@danjou.info>
20728         * org-compat.el: Create defalias for `string-match-p' and
20729         looking-at-p.
20731 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20733         * ob-calc.el (org-babel-execute:calc): Support for variables --
20734         converts :var variables in calc variables.
20736 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20738         * org.el (org-sparse-tree): Mention [r] in dispatch menu.
20740 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20742         * org-list.el (org-list-parse-list): Use `org-looking-at-p'.
20744 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20746         * org-id.el (org-id-store-link): Test for org-mode before checking
20747         for IDs.
20749 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20751         * org.el (org-shorten-string): New function.
20753         * org-exp.el (org-export-convert-protected-spaces): New function.
20754         (org-export-preprocess-string):
20755         Call `org-export-convert-protected-spaces' to handle new hard spaces.
20757 2010-12-11  David Maus  <dmaus@ictsoc.de>
20759         * org.el (org-narrow-to-subtree): Check for heading that ends at end
20760         of buffer.
20762 2010-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
20764         * org-capture.el (org-capture-templates): Remove autoload from
20765         defcustom.
20767         * ob-lisp.el (slime): Don't expect slime to be present.
20769 2010-11-11  Dan Davison  <dandavison7@gmail.com>
20771         * ob.el: `copy-sequence' suffices to copy alist; no need for
20772         `copy-tree'.
20774 2010-11-11  Dan Davison  <dandavison7@gmail.com>
20776         * ob.el (org-babel-execute-src-block): If ":results file" is in
20777         effect, then ensure that the value of :file is returned as the
20778         result; don't rely on language files for this.
20780 2010-11-11  Dan Davison  <dandavison7@gmail.com>
20782         * ob.el (org-babel-sha1-hash): Avoid corrupting `info' data
20783         structure by side-effects of `sort'.
20785 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20787         * org-list.el (org-list-bottom-point-with-indent): Do not check
20788         indentation of a non-empty blank line.
20790         * org-list.el (org-sort-list): Sort a list with point anywhere
20791         inside it.
20793 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20795         * ob-calc.el (org-babel-execute:calc): Safer evaluation and
20796         hopefully better error messages.
20798 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20800         * org.el (org-babel-load-languages): Adding calc.
20802 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20804         * ob.el (org-babel-initiate-session): Don't resolve variable
20805         references unless prefix arg is supplied.
20807 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20809         * ob-calc.el (org-babel-execute:calc): Ensure that calc stack
20810         refers to the correct stack.
20812 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20814         * ob-calc.el: Adding the beginnings of support for calc code
20815         blocks.
20817 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20819         * ob-tangle.el (org-babel-update-block-body): Declaring function
20820         for updating code block bodies.
20821         (org-babel-spec-to-string):
20822         (org-babel-detangle): Detangle all tangled and commented code
20823         blocks in the current file back to org.
20824         (org-babel-tangle-jump-to-org): Jump from a tangled and commented
20825         file back to the originating org-mode code block ob-tangle:
20826         detangle changes in code files back to the original org files.
20828 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20830         * ob-tangle.el (org-babel-tangle-comment-format-beg): Fix typo.
20831         (org-babel-tangle-comment-format-end): Fix typo.
20833 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20835         * org-exp.el (org-export-format-source-code-or-example):
20836         Use minted for latex source code export if `org-export-latex-listings'
20837         has the value 'minted.
20839         * org-latex.el (org-export-latex-listings): Document special value
20840         'minted.
20842         * org-latex.el (org-export-latex-minted): Delete variable.
20844 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20846         * ob.el (org-babel-get-src-block-info): Retrieve contents of
20847         parentheses, excluding parentheses themselves.
20849 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20851         * ob-gnuplot.el (org-babel-variable-assignments:gnuplot):
20852         Fix bug in gnuplot data file assignment using user variables.
20854 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20856         * ob-latex.el (org-babel-execute:latex): Adding new :headers
20857         header argument for latex code blocks.
20859 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20861         * org-capture.el (org-capture-templates): New capture property
20862         `:kill-buffer'.
20863         (org-capture-finalize): Kill target buffer if that is desired.
20864         (org-capture-target-buffer): Remember if we have to make the buffer.
20866 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20868         * org-clock.el (org-dblock-write:clocktable): Fix bug when
20869         computing clock tables.
20871 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20873         * org-clock.el (org-dblock-write:clocktable): Pass file minutes up
20874         to caller even if no table is generated.
20876 2010-11-11  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>
20878         * org-agenda.el (org-agenda-get-sexps): Handle lists as return
20879         values from diary entries.
20881         * org-bbdb.el (org-bbdb-anniversaries): Handle lists of
20882         anniversaries.
20884         * org.el (org-diary-sexp-entry): Handle lists as return values
20885         from diary entries.
20887 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20889         * org-capture.el (org-capture-empty-lines-before):
20890         (org-capture-empty-lines-after): Make sure the n=0 does not insert
20891         any newlines.
20893 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20895         * ob-clojure.el (org-babel-clojure-babel-clojure-cmd): Fix error
20896         message when clojure binary is not found.
20898 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20900         * org-html.el (org-format-table-html): New argument DOCBOOK.
20901         (org-format-org-table-html): New argument DOCBOOK.  When set, use
20902         align instead of class to align table fields.
20904         * org-docbook.el (org-export-as-docbook): Specify the docbook
20905         argument for the table converter.
20907 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20909         * org-macs.el (org-called-interactively-p): New macro.
20911         * org-freemind.el: No longer require 'rx.
20912         (org-freemind): New customization group, use it for all the
20913         variables.
20914         (org-export-as-freemind): Add docstring.
20915         (org-freemind-show): Improve filen naming.
20916         (org-freemind-convert-links-helper): New function.
20917         (org-freemind-bol-helper-base-indent): New variable.
20918         (org-freemind-bol-helper): New function.
20919         (org-freemind-node-css-style): New option.
20920         (org-freemind-node-pattern): New variable.
20921         (org-freemind-from-org-mode): Better docstring.
20923 2010-11-11  David Maus  <dmaus@ictsoc.de>
20925         * ob-haskell.el (org-babel-variable-assignments:haskell):
20926         Don't pass more than two arguments to mapc.
20928 2010-11-11  David Maus  <dmaus@ictsoc.de>
20930         * ob.el (org-babel-ref-resolve): Declare to silence byte compiler.
20932 2010-11-11  David Maus  <dmaus@ictsoc.de>
20934         * org-footnote.el (message-signature-separator): Defvar to silence
20935         byte compiler.
20937 2010-11-11  David Maus  <dmaus@ictsoc.de>
20939         * org-exp.el (org-export-string): Fix reference to wrong symbol.
20941 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>
20943         * org.el (org-link-search): Return 'dedicated on successful match
20944         when org-link-search-must-match-exact-headline is set to t.
20946 2010-11-11  Daniel Clemente  <n142857@gmail.com>
20948         * org-html.el (org-html-make-link): Append fragment to file: links
20949         if present.
20951 2010-11-11  Tassilo Horn  <tassilo@member.fsf.org>
20953         * org-footnote.el (org-footnote-create-definition)
20954         (org-footnote-goto-local-insertion-point): Add footnotes before
20955         signature when in message-mode.
20957 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20959         * org.el (org-display-inline-images): Improve regexp.
20961 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20963         * org.el (org-cycle): Make sure resetting to startup visibility
20964         works after another cycle command.
20966 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20968         * org-exp.el (org-export-string): New function org-export-string
20969         can be used to convert a string of test in org-mode markup to a
20970         specified format.
20972 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20974         * org.el (org-display-inline-images): Allow non-ASCII characters
20975         in image file names.  Save match data.
20977 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20979         * org.el (org-auto-repeat-maybe): Fix shifting multiple time
20980         stamps.
20982 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20984         * org-exp.el (org-store-forced-table-alignment):
20985         (org-export-remove-special-table-lines): Allow the "c" cookie for
20986         table alignment.
20988         * org-html.el (org-export-table-header-tags):
20989         (org-export-table-data-tags): Add another %s format for the
20990         alignment.
20991         (org-export-html-table-align-individual-fields): New option.
20992         (org-format-org-table-html): Implement field-by-field alignment
20993         and support centering.
20994         (org-format-table-table-html): Make sure the new table tag formats
20995         don't break this function.
20997         * org-table.el (org-table-cookie-line-p):
20998         (org-table-align): Allow for the <c> cookie.
21000         * org.el (org-set-font-lock-defaults): Allow for the <c> cookie.
21002 2010-11-11  David Maus  <dmaus@ictsoc.de>
21004         * org-exp.el (org-export-normalize-links): Skip normalization of
21005         plain links that are part of another link.
21007 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21009         * ob-R.el (org-babel-expand-body:R): Fix bug in let binding.
21011 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21013         * org-indent.el (org-indent-add-properties):
21014         Use `with-silent-modifications'.
21015         (org-indent-remove-properties): Use `with-silent-modifications'.
21017 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21019         * org-table.el (org-table-cookie-line-p): Fix indentation.
21021         * org-exp.el (org-store-forced-table-alignment): New function.
21022         (org-export-preprocess-string):
21023         Call `org-store-forced-table-alignment'.
21025         * org-html.el (org-format-org-table-html): Use stored alignment
21026         information.
21028 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21030         * ob.el (org-babel-execute-src-block): Respects prefix argument
21031         (which forces re-calculation).
21033 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21035         * ob.el (org-babel-execute-src-block): Remove needless param
21036         sorting from ob-execute-src-block, the params are sorted already
21037         by ob-sha1-hash.
21039 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21041         * ob.el (org-babel-sha1-hash): Ensure that info is sorted at the
21042         header argument level.
21044 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21046         * ob.el (org-babel-sha1-hash): Consider words in different order
21047         as different input.
21049 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21051         * ob.el (org-babel-sha1-hash): Fix check for zero length sequences.
21053 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21055         * ob-sh.el (org-babel-sh-var-to-sh): Ensure value has the
21056         structure of an Org-mode table (list of lists).
21058 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21060         * ob-tangle.el (org-babel-tangle-collect-blocks): Fix bug
21061         (reference to unassigned variable `src-lang' and avoid calling
21062         org-babel-get-src-block-info twice.
21064 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21066         * ob.el (org-babel-demarcate-block): Update to reflect the new
21067         info list contents.
21069 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21071         * org-src.el (org-edit-src-code): Supply non-nil argument to
21072         `org-babel-get-src-block-info' to avoid resolving variable
21073         references.
21075 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21077         * ob.el (org-babel-map-src-blocks): Fix minor bug in and
21078         improved efficiency of org-babel-map-src-blocks.
21080 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21082         * ob-tangle.el (org-babel-tangle-collect-blocks): Now explicitly
21083         checks that a code block will actually be tangled before
21084         collecting it's full information (a process which could involve
21085         the execution of other code blocks).
21087 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21089         * ob.el (org-babel-demarcate-block): Use light version of
21090         `org-babel-get-src-block-info'.
21092 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21094         * ob.el (org-babel-sha1-hash): Now handles more complex types in
21095         params.
21097 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21099         * ob.el (org-babel-execute-src-block): Generally using the new
21100         more informative params
21101         (org-babel-process-params): Don't forget the :var portion of
21102         variable assignments.
21104 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21106         * ob-table.el (sbe): Simplify to reflect to var resolution.
21108 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21110         * ob-ref.el (org-babel-ref-resolve): Bringing the referent
21111         arguments back to their params before evaluation.
21113 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21115         * ob-ref.el (org-babel-ref-resolve): Cleanup of variable usage and
21116         indentation.
21118 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21120         * ob-table.el (sbe): Use `org-babel-process-params params' instead
21121         of `org-babel-expand-variables'.
21123 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21125         * ob-C.el (org-babel-C-execute): Remove call to
21126         org-babel-process-params which should no longer be called from
21127         within a language file.
21129         * ob-R.el (org-babel-execute:R): Remove call to
21130         org-babel-process-params which should no longer be called from
21131         within a language file
21132         (org-babel-R-variable-assignments): Remove call to
21133         org-babel-process-params which should no longer be called from
21134         within a language file.
21136         * ob-asymptote.el (org-babel-execute:asymptote): Remove call to
21137         org-babel-process-params which should no longer be called from
21138         within a language file.
21140         * ob-clojure.el (org-babel-execute:clojure): Remove call to
21141         org-babel-process-params which should no longer be called from
21142         within a language file.
21144         * ob-dot.el (org-babel-execute:dot): Remove call to
21145         org-babel-process-params which should no longer be called from
21146         within a language file.
21148         * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp): Remove
21149         call to org-babel-process-params which should no longer be called
21150         from within a language file
21151         (org-babel-execute:emacs-lisp): Remove call to
21152         org-babel-process-params which should no longer be called from
21153         within a language file.
21155         * ob-haskell.el (org-babel-execute:haskell): Remove call to
21156         org-babel-process-params which should no longer be called from
21157         within a language file.
21159         * ob-js.el (org-babel-execute:js): Remove call to
21160         org-babel-process-params which should no longer be called from
21161         within a language file.
21163         * ob-lisp.el (org-babel-execute:lisp): Remove call to
21164         org-babel-process-params which should no longer be called from
21165         within a language file.
21167         * ob-ocaml.el (org-babel-execute:ocaml): Remove call to
21168         org-babel-process-params which should no longer be called from
21169         within a language file.
21171         * ob-octave.el (org-babel-execute:octave): Remove call to
21172         org-babel-process-params which should no longer be called from
21173         within a language file.
21175         * ob-perl.el (org-babel-execute:perl): Remove call to
21176         org-babel-process-params which should no longer be called from
21177         within a language file.
21179         * ob-python.el (org-babel-execute:python): Remove call to
21180         org-babel-process-params which should no longer be called from
21181         within a language file.
21183         * ob-ruby.el (org-babel-execute:ruby): Remove call to
21184         org-babel-process-params which should no longer be called from
21185         within a language file.
21187         * ob-scheme.el (org-babel-execute:scheme): Remove call to
21188         org-babel-process-params which should no longer be called from
21189         within a language file.
21191         * ob-screen.el (org-babel-execute:screen): Remove call to
21192         org-babel-process-params which should no longer be called from
21193         within a language file
21194         (org-babel-prep-session:screen): Remove call to
21195         org-babel-process-params which should no longer be called from
21196         within a language file.
21198         * ob-sh.el (org-babel-execute:sh): Remove call to
21199         org-babel-process-params which should no longer be called from
21200         within a language file.
21202         * ob-sql.el (org-babel-execute:sql): Remove call to
21203         org-babel-process-params which should no longer be called from
21204         within a language file.
21206         * ob-haskell.el (org-babel-execute:haskell): Remove reference to
21207         processed params.
21209         * ob-clojure.el (org-babel-execute:clojure): Remove reference to
21210         processed params.
21212         * ob-R.el (org-babel-execute:R): Remove reference to processed
21213         params.
21215 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21217         * ob-sql.el (org-babel-execute:sql): Use generic expansion
21218         function
21219         (org-babel-expand-body:sql): Delete function.
21221 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21223         * ob-sh.el (org-babel-execute:sh): Use generic expansion function
21224         (org-babel-expand-body:sh): Delete function
21225         (org-babel-prep-session:sh): Change name of called function
21226         (org-babel-variable-assignments:sh): Change function name.
21228 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21230         * ob-screen.el (org-babel-execute:screen): Use generic expansion
21231         function
21232         (org-babel-expand-body:screen): Delete function
21233         (org-babel-prep-session:screen): Remove references to processed
21234         params.
21236 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21238         * ob-sass.el (org-babel-execute:sass): Use generic expansion
21239         function
21240         (org-babel-expand-body:sass): Delete function.
21242 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21244         * ob-ruby.el (org-babel-execute:ruby): Use generic expansion
21245         function
21246         (org-babel-prep-session:ruby): Use new variable assignment
21247         function
21248         (org-babel-variable-assignments:ruby): New function
21249         (org-babel-expand-body:ruby): Delete function.
21251 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21253         * ob-python.el (org-babel-execute:python): Use generic expansion
21254         function
21255         (org-babel-prep-session:python): Change name of called function
21256         (org-babel-variable-assignments:python): Change function name
21257         (org-babel-expand-body:python): Delete function.
21259 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21261         * ob-plantuml.el (org-babel-expand-body:plantuml): Delete function
21262         (automatically handled by generic version).
21264 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21266         * ob-perl.el (org-babel-execute:perl): Use generic expansion
21267         function
21268         (org-babel-expand-body:perl): Delete function
21269         (org-babel-variable-assignments:perl): New function.
21271 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21273         * ob-org.el (org-babel-expand-body:org): Delete function
21274         (automatically handled by generic version).
21276 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21278         * ob-octave.el (org-babel-execute:octave): Use generic expansion
21279         function
21280         (org-babel-variable-assignments:octave): Change name of function
21281         (org-babel-variable-assignments:matlab): New defalias
21282         (org-babel-prep-session:octave): Change name of function
21283         (org-babel-expand-body:matlab): Delete function
21284         (org-babel-expand-body:octave): Delete function.
21286 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21288         * ob-ocaml.el (org-babel-execute:ocaml): Use generic expansion
21289         function
21290         (org-babel-variable-assignments:ocaml): New function
21291         (org-babel-expand-body:ocaml): Delete function.
21293 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21295         * ob-mscgen.el (org-babel-expand-body:mscgen): Delete function
21296         (automatically handled by generic version).
21298 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21300         * ob-js.el (org-babel-execute:js): Use new variable assignment
21301         function
21302         (org-babel-expand-body:js): Delete function
21303         (org-babel-prep-session:js): Use new variable assignment function
21304         (org-babel-variable-assignments:js): New function.
21306 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21308         * ob-haskell.el (org-babel-execute:haskell): Use generic expansion
21309         function
21310         (org-babel-expand-body:haskell): Delete function
21311         (org-babel-prep-session:haskell): Use variable assignment function
21312         (org-babel-variable-assignments:haskell): New function.
21314 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21316         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Use variable
21317         assignment function
21318         (org-babel-prep-session:gnuplot): Use variable assignment function
21319         (org-babel-variable-assignments:gnuplot): New function.
21321 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21323         * ob-ditaa.el (org-babel-expand-body:ditaa): Delete function
21324         (automatically handled by generic version).
21326 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21328         * ob-css.el (org-babel-expand-body:css): Delete function
21329         (automatically handled by generic version).
21331 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21333         * ob-asymptote.el (org-babel-execute:asymptote): Use generic
21334         expansion function
21335         (org-babel-expand-body:asymptote): Delete function
21336         (org-babel-variable-assignments:asymptote): New function.
21338 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21340         * ob-R.el (org-babel-expand-body:R): Use new function
21341         `org-babel-variable-assignments:R'; don't trim body.
21342         (org-babel-execute:R): Respond to changes in
21343         `org-babel-expand-body:R'
21344         (org-babel-prep-session:R): Called function is now named
21345         `org-babel-variable-assignments:R'
21346         (org-babel-variable-assignments:R): Receives processed-params as
21347         new optional argument.
21349 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21351         * ob-C.el (org-babel-C-expand): Don't trim body.
21353 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21355         * ob-scheme.el (org-babel-expand-body:scheme): Fix bug in
21356         obtaining variable references.
21358 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21360         * ob-tangle.el (org-babel-tangle-collect-blocks): Supply variable
21361         assignment lines to generic expansion command.
21363 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21365         * ob.el (org-babel-expand-src-block): Supply variable assignment
21366         lines to generic expansion function
21367         (org-babel-expand-body:generic): Prepend body with optional
21368         variable assignment lines.
21370 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21372         * ob-exp.el (org-babel-exp-results): Replaced old function call.
21374 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21376         * ob-lob.el (org-babel-lob-execute): Now expanding variable
21377         references before execution.
21379 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21381         * ob.el (org-babel-execute-src-block): Only sort parameters if
21382         it's required for caching.
21384 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21386         * ob-table.el (sbe): Reworking for better indentation and to
21387         integrate the new variable resolution.
21389 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21391         * ob-ref.el (org-babel-ref-resolve-reference): Now expanding
21392         variables when resolving references.
21394 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21396         * ob.el (org-babel-merge-params): Fix order or precedence for
21397         variables.
21399 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21401         * ob-C.el (org-babel-expand-body:c++, org-babel-C-expand):
21402         * ob-R.el (org-babel-expand-body:R, org-babel-execute:R)
21403         (org-babel-R-variable-assignments):
21404         * ob-asymptote.el (org-babel-expand-body:asymptote)
21405         (org-babel-execute:asymptote):
21406         * ob-clojure.el (org-babel-expand-body:clojure)
21407         (org-babel-execute:clojure):
21408         * ob-css.el (org-babel-expand-body:css):
21409         * ob-ditaa.el (org-babel-expand-body:ditaa):
21410         * ob-dot.el (org-babel-expand-body:dot, org-babel-execute:dot):
21411         * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp)
21412         (org-babel-execute:emacs-lisp):
21413         * ob-gnuplot.el (org-babel-expand-body:gnuplot)
21414         * ob-haskell.el (org-babel-expand-body:haskell)
21415         (org-babel-execute:haskell, org-babel-load-session:haskell)
21416         (org-babel-prep-session:haskell):
21417         * ob-js.el (org-babel-expand-body:js, org-babel-execute:js):
21418         * ob-latex.el (org-babel-expand-body:latex):
21419         * ob-lisp.el (org-babel-expand-body:lisp, org-babel-execute:lisp):
21420         * ob-mscgen.el (org-babel-expand-body:mscgen):
21421         * ob-ocaml.el (org-babel-expand-body:ocaml, org-babel-execute:ocaml):
21422         * ob-octave.el (org-babel-expand-body:matlab)
21423         (org-babel-expand-body:octave, org-babel-execute:octave)
21424         (org-babel-octave-variable-assignments):
21425         * ob-org.el (org-babel-expand-body:org):
21426         * ob-perl.el (org-babel-expand-body:perl, org-babel-execute:perl):
21427         * ob-plantuml.el (org-babel-expand-body:plantuml):
21428         * ob-python.el (org-babel-expand-body:python, org-babel-execute:python)
21429         (org-babel-python-variable-assignments):
21430         * ob-ruby.el (org-babel-expand-body:ruby, org-babel-execute:ruby):
21431         * ob-sass.el (org-babel-expand-body:sass):
21432         * ob-scheme.el (org-babel-expand-body:scheme, org-babel-execute:scheme):
21433         * ob-screen.el (org-babel-expand-body:screen):
21434         * ob-sh.el (org-babel-expand-body:sh, org-babel-execute:sh)
21435         (org-babel-sh-variable-assignments):
21436         * ob-sql.el (org-babel-expand-body:sql):
21437         * ob-sqlite.el (org-babel-expand-body:sqlite, org-babel-execute:sqlite):
21438         * ob.el (org-babel-expand-body:generic):
21439         Remove obsoleted optional third argument.
21441 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21443         * ob-clojure.el (org-babel-prep-session:clojure): Purging all
21444         calls to removed org-babel-ref-variables.
21446 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21448         * ob-lob.el (org-babel-lob-ingest): Now returns the count of
21449         ingested code blocks.
21451 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21453         * ob-exp.el (org-babel-exp-in-export-file): Wrapper for collecting
21454         information from within the original export file.
21456 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21458         * ob.el (org-babel-get-src-block-info): Small but crucial fix)
21459         (this should return nil if not match found.
21461 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21463         * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp):
21464         Whitespace (org-babel-execute:emacs-lisp): Whitespace.
21466 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21468         * ob-sh.el (org-babel-sh-variable-assignments): Provide missing
21469         docstring.
21471         * ob-python.el (org-babel-python-variable-assignments):
21472         Provide missing docstring.
21474 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21476         * ob-octave.el (org-babel-expand-body:octave): Refactor: break
21477         variable assignment part out into a separate function
21478         (org-babel-octave-variable-assignments): New function constructing
21479         list of variable assignment statements
21480         (org-babel-prep-session:octave): Use new function
21481         `org-babel-octave-variable-assignments' instead of previous
21482         (incorrect) variable assignment code.
21484 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21486         * ob-sh.el (org-babel-expand-body:sh): Refactor: break variable
21487         assignment part out into a separate function
21488         (org-babel-sh-variable-assignments): New function constructing
21489         list of variable assignment statements
21490         (org-babel-prep-session:sh): Use new function
21491         `org-babel-sh-variable-assignments' instead of previous
21492         (incorrect) variable assignment code.
21494 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21496         * ob-python.el (org-babel-expand-body:python): Refactor: break
21497         variable assignment part out into a separate function
21498         (org-babel-python-variable-assignments): New function constructing
21499         list of variable assignment statements
21500         (org-babel-prep-session:python): Use new function
21501         `org-babel-python-variable-assignments' instead of previous
21502         (incorrect) variable assignment code.
21504 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21506         * ob-R.el (org-babel-expand-body:R): Refactor: break variable
21507         assignment part out into a separate function
21508         (org-babel-R-variable-assignments): New function constructing list
21509         of variable assignment statements
21510         (org-babel-prep-session:R): Use new function
21511         `org-babel-R-variable-assignments' instead of previous
21512         (incorrect) variable assignment code.
21514 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21516         * ob.el (org-babel-initiate-session): Better variable names.
21518 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21520         * ob.el (org-number-sequence):
21521         Declared * ob-R.el (org-number-sequence): Declared.
21523 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21525         * ob.el (org-babel-map-src-blocks): Store correct value of
21526         `end-block'.
21528 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21530         * ob.el (org-babel-mark-block): New function to mark the body of a
21531         src block in the style of `mark-defun'.
21533 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21535         * org-compat.el (org-number-sequence): New function.
21537         * ob-R.el (org-babel-expand-body:R): Use `org-number-sequence'.
21539         * ob.el (org-babel-where-is-src-block-result):
21540         Use `org-number-sequence'.
21541         (org-babel-current-buffer-properties): Fix variable definition.
21543         * ob-ref.el (org-babel-ref-index-list): Use `org-number-sequence'.
21545         * ob-latex.el (org-babel-latex-tex-to-pdf): Use the 2-argument
21546         version of `shell-command'.
21548         * org-latex.el (org-export-as-pdf): Use the 2-argument version of
21549         `shell-command'.
21551 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21553         * org-list.el (org-list-search-unenclosed-generic): Replace call
21554         to booleanp.
21556 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21558         * org.el (org-agenda-jump-prefer-future): New option.
21560         * org-agenda.el (org-agenda-goto-date):
21561         Use `org-agenda-jump-prefer-future'.
21563 2010-11-11  Noorul Islam  <noorul@noorul.com>
21565         * org-latex.el (org-export-latex-links): Replaced hard coded
21566         hyperref format with custom variable
21567         `org-export-latex-hyperref-format'.
21569 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21571         * org.el (org-insert-heading): Fix docstring.
21573 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
21575         * org-capture.el (org-capture-place-entry): If the first line is
21576         already a headline, just stay there.
21578 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21580         * ob-sh.el (org-babel-sh-evaluate): No longer assumes that results
21581         are non-nil.
21583 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21585         * org-ascii.el (org-ascii-replace-entities): Match an optional {}
21586         after an entity.
21588 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21590         * org-table.el (orgtbl-to-html): Apply `org-html-expand' to the
21591         table fields.
21593 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21595         * org.el (org-insert-heading): When on the headline of an inline
21596         task, insert another inline tasks.
21598 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21600         * ob-tangle.el (org-babel-tangle-collect-blocks): Only create
21601         links for blocks that will actually tangle.
21603 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21605         * ob-sh.el (org-babel-expand-body:sh): Don't insert extra newlines
21606         in expanded shell bodies.
21608 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21610         * ob-sh.el (org-babel-expand-body:sh): Avoid inserting extra
21611         newline characters.
21613 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21615         * ob-sh.el (org-babel-expand-body:sh): Align code.
21617 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21619         * ob.el (org-babel-params-from-properties): Max line with at <=80.
21621 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21623         * org-latex.el (org-export-latex-listings-langs): Clojure is now
21624         recognized as a lisp.
21626 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21628         * ob.el (org-babel-params-from-properties): Use `org-babel-read'
21629         to interpret property as header argument value.
21631 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21633         * ob.el (org-babel-parse-header-arguments): Simplify reading of
21634         header arg value.
21636 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21638         * org-publish.el (org-publish-org-to-ascii):
21639         (org-publish-org-to-latin1):
21640         (org-publish-org-to-utf8): New functions.
21642 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21644         * org.el (org-insert-heading): Skip inline tasks when trying to
21645         insert a new heading after the end of the subtree.
21647 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21649         * org-inlinetask.el (org-inlinetask-min-level): Set customization
21650         type to integer or nil.
21652         * org.el (org-insert-heading): When after an inline task, do not
21653         use level but go back to headline level before the inline task.
21655 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21657         * org-inlinetask.el (org-inlinetask-in-task-p): New function.
21659         * org.el (org-indent-line-function): Fix indentation of inline
21660         tasks.
21662 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21664         * org.el (org-activate-links): Fix customize type.
21666 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21668         * org-latex.el (org-latex-to-pdf-process): Add rubber as another
21669         default option.
21671 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21673         * org-latex.el (org-export-latex-minted): Document pygments
21674         dependency.
21676 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21678         * org-mobile.el (org-mobile-create-index-file): Encrypt the index
21679         file if encryption has been turned on.
21680         (org-mobile-copy-agenda-files): Avoid double encryption of
21681         `mobileorg.org'.
21683 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21685         * org-exp.el (org-export-latex-minted-with-line-numbers):
21686         Ensure that variable is declared.
21688 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21690         * ob-python.el (org-src-preserve-indentation): Fix compiler
21691         warning.
21693 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21695         * org-exp.el (org-export-format-source-code-or-example):
21696         Latex formatting of source code blocks using the minted package
21697         (org-export-plist-vars): Add :latex-minted property
21698         (org-export-latex-minted): Ensure variable is defined
21699         (org-export-latex-minted-langs): Ensure variable is defined.
21701 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21703         * org-src.el (org-edit-src-code): Use `org-region-active-p'.
21705 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21707         * ob-tangle.el (org-babel-spec-to-string): Whitespace changes.
21709 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21711         * ob-tangle.el (org-babel-spec-to-string): Don't trim whitespace
21712         when `org-src-preserve-indentation' is non-nil.
21714 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21716         * ob-lob.el (org-babel-lob-ingest): Provide message stating number
21717         of blocks added to Library of Babel.
21719 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21721         * ob-lob.el (org-babel-lob-ingest): Check for nil source block
21722         name.
21724 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21726         * org-beamer.el (org-beamer-place-default-actions-for-lists):
21727         Fix typo in regexp.
21729 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21731         * org-list.el (org-toggle-checkbox): Avoid some boundary error
21732         when inserting a checkbox in an empty last item of a list.
21734 2010-11-11  David Maus  <dmaus@ictsoc.de>
21736         * org-gnus.el (org-gnus-nnimap-query-article-no-from-file):
21737         Query article number from file is nil by default.
21739 2010-11-11  Stephen Eglen  <S.J.Eglen@damtp.cam.ac.uk>
21741         * org-beamer.el (org-beamer-amend-header): Fix typo in docstring.
21743 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21745         * org-capture.el (org-capture-place-entry): Move to `beg' before
21746         searching for `%?'.
21748 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21750         * org.el (org-format-latex): Fix mathjax treatment of single
21751         letters in between dollars.
21753 2010-11-11  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
21755         * org-latex.el (org-latex-to-pdf-process): Add a third pdflatex
21756         run.
21758 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21760         * org.el (org-blank-before-new-entry): Improve docstring.
21762 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21764         * org-mobile.el (org-mobile-force-id-on-agenda-items):
21765         Fix docstring.
21766         (org-mobile-write-agenda-for-mobile): Use outline path if we do
21767         not have an ID and are not allowed to make one.
21768         (org-mobile-get-outline-path-link): New function.
21770 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21772         * org-mobile.el (org-mobile-copy-agenda-files): Encrypt the empty
21773         file.
21774         (org-mobile-write-agenda-for-mobile): Use the right name, even if
21775         the file get encrypted.
21776         (org-mobile-move-capture): Only delete tempfile if it does exist.
21778 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21780         * ob.el (org-babel-number-p): Fix documentation string.
21782 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21784         * ob-tangle.el (org-babel-tangle-collect-blocks): Accepting
21785         "tangle" as a positive argument for the :noweb header argument
21786         during tangling.
21788 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21790         * ob-exp.el (org-babel-exp-src-blocks): Fix export when headings
21791         have links, with tests.
21793 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21795         * org-latex.el (org-latex-to-pdf-process): Use texi2dvi if
21796         available.
21797         (org-export-latex-get-error): New function.
21798         (org-export-as-pdf): Give an indication of the errors that
21799         happened during processing.
21801 2010-11-11  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>
21803         * org-exp.el (org-export-language-setup): Fix Polish entries.
21805 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21807         * org.el (org-set-tags): Allow comma as a separator when
21808         specifying tags at the completion interface.
21809         (org-tags-completion-function): Allow comma as a separator when
21810         specifying tags at the completion interface.
21812 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21814         * ob-exp.el (org-babel-exp-src-blocks): Don't jump back to
21815         export-file if exporting from a buffer which is not visiting a
21816         file.
21818 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21820         * ob-exp.el (org-babel-exp-src-blocks): Only append "::" to a file
21821         name in link construction if there is a heading to follow it.
21823 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21825         * org-html.el (org-export-html-inline-image-extensions): Add "svg"
21826         as an allowed extension.
21828 2010-11-11  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
21830         * org-agenda.el (org-agenda-add-time-grid-maybe): Pad clock times
21831         with zeros.  Start applying face earlier.
21833 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21835         * ob.el (or): Don't create org-babel-temporary-directory in batch
21836         as it won't be removed by emacs-kill-hook
21837         (org-babel-remove-temporary-directory): Only try to remove this
21838         directory if it exists.
21840 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21842         * ob.el (org-babel-temporary-directory): Fixing byte-compilation
21843         warning in ob.el.
21845 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21847         * ob-tangle.el (org-babel-tangle): Now sharing the file name in
21848         the tangling message.
21850 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21852         * ob.el (org-babel-load-languages): Fixes compiler warning.
21854 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21856         * ob-plantuml.el (org-babel-execute:plantuml): Fixes bug with svg
21857         output.
21859 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21861         * org-ascii.el (org-export-as-ascii): Use the correct match group.
21863 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21865         * ob.el (boundp): Uncommenting defvar form for
21866         org-babel-temporary-directory
21867         (org-babel-temp-file): Now using the org-babel-temporary-directory
21868         for holding new babel temporary files
21869         (org-babel-remove-temporary-directory): Removes the babel temp dir
21870         when Emacs shutsdown
21871         (kill-emacs-hook): Now removing the babel temp dir on Emacs
21872         shutdown.
21874 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21876         * org-capture.el (org-capture-fill-template): Initialize history
21877         variable.
21879 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21881         * org-src.el (org-edit-src-code): Don't move point when generating
21882         edit buffer.
21884 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21886         * org-src.el (org-edit-src-code): Deal with point being in
21887         #+end_src line.
21889 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21891         * org-table.el (org-table-current-column): Add interactive to turn
21892         this into a command.
21894 2010-11-11  Bernt Hansen  <bernt@norang.ca>
21896         * org.el (org-insert-heading): Run org-insert-heading-hook when
21897         creating the first heading in a file.
21899 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21901         * org.el (org-startup-with-inline-images): New option.
21902         (org-startup-options): Add new keywords inlineimages and
21903         noinlineimages.
21904         (org-mode): Inline images when this has been configured.
21906 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21908         * ob.el (org-babel-get-src-block-info): Remove optional
21909         HEADER-VARS-ONLY argument; further simplification.
21911 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21913         * ob.el (org-babel-confirm-evaluate): Fix bug causing extra
21914         prompt in ob-confirm-evaluate in some cases.
21916 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21918         * ob.el (org-babel-demarcate-block): Visible region and completion
21919         during language selection.
21921 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21923         * ob.el (org-babel-get-src-block-info): Remove comment.
21925 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21927         * ob.el (org-babel-get-src-block-info): Simplify function.
21929 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21931         * ob.el (org-babel-get-src-block-info): Form info list correctly
21932         when parenthesized arguments are missing.
21934 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21936         * ob-exp.el (org-export-babel-evaluate): Docstring typo
21937         (org-babel-exp-code): Docstring typo.
21939 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21941         * org-mobile.el (org-mobile-encryption-password):
21942         Improve docstring.
21943         (org-mobile-encryption-password-session): New variable.
21944         (org-mobile-encryption-password): New function.
21945         (org-mobile-check-setup):
21946         (org-mobile-encrypt-file):
21947         (org-mobile-decrypt-file): Use the new function.
21949 2010-11-11  David Maus  <dmaus@ictsoc.de>
21951         * org-capture.el (org-capture-place-template): Widen to remove
21952         possible restrictions in target buffer.
21954 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>
21956         * org.el (org-speed-command-hook): Add org-speed-command-hook
21957         (org-babel-speed-command-hook): Hook for Babel's speed commands.
21959 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21961         * ob.el (org-babel-execute-buffer): Re-implement using
21962         `org-babel-map-src-blocks'.
21964 2010-11-11  David Maus  <dmaus@ictsoc.de>
21966         * org-capture.el (org-capture-templates): Update doc string with
21967         new message date related escapes.
21969 2010-11-11  David Maus  <dmaus@ictsoc.de>
21971         * org-wl.el (org-wl-store-link-message): Define properties %:date)
21972         (%:date-timestamp, and %:date-timestamp-inactive.
21974         * org-mew.el (org-mew-store-link): Dto.
21976         * org-mhe.el (org-mhe-store-link): Dto.
21978         * org-rmail.el (org-rmail-store-link): Dto.
21980         * org-vm.el (org-vm-store-link): Dto.
21982 2010-11-11  David Maus  <dmaus@ictsoc.de>
21984         * org-wl.el (org-wl-message-field): Always get literal content of
21985         header fields.
21987 2010-11-11  David Maus  <dmaus@ictsoc.de>
21989         * org-gnus.el (org-gnus-store-link): Define properties
21990         %:date-timestamp and %:date-timestamp-inactive.
21992 2010-11-11  David Maus  <dmaus@ictsoc.de>
21994         * org-gnus.el (org-gnus-store-link): Handle empty date header
21995         field.
21997 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
21999         * org.el (org-speed-command-hook): New.  Hook for installing
22000         additional speed commands.  Use this for enabling speed commands on
22001         src blocks.
22002         (org-speed-command-default-hook): The default hook for
22003         org-speed-command-hook.  Factored out from org-self-insert-command
22004         and mimics existing behavior.
22005         (org-self-insert-command): Modify to use org-speed-command-hook.
22007 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22009         * org-agenda.el (org-search-view): Recover spaces in search words
22010         if they were escaped with \ or inside a regexp.
22012 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22014         * org.el (org-additional-option-like-keywords): Add PROPERTIES to
22015         the list of completable meta line words.
22016         (org-complete): Complete property names after #+PROPERTY.
22018 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22020         * ob-python.el (org-babel-python-evaluate-session): Make temp file
22021         names consistent.
22023 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22025         * ob-clojure.el (org-babel-clojure-evaluate-external-process):
22026         Delete extra format argument.
22028 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22030         * ob-org.el (org-babel-org-export): Typo in docstring.
22032 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22034         * ob-sh.el (org-babel-sh-evaluate): Remove unused temporary file
22035         variable.
22037 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22039         * ob-scheme.el (org-babel-execute:scheme): Alter temp file name.
22041 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22043         * ob.el (org-babel-process-file-name): New function
22044         (org-babel-maybe-remote-file): Delete function.
22046 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22048         * ob-C.el (org-babel-C-execute): Remove unused variable.
22050 2010-11-11  David Maus  <dmaus@ictsoc.de>
22052         * org.el (org-make-link-string): Prevent superfluous colon.
22054 2010-11-11  David Maus  <dmaus@ictsoc.de>
22056         * org.el (org-make-org-heading-search-string): Leave headline
22057         intact.
22059 2010-11-11  David Maus  <dmaus@ictsoc.de>
22061         * org.el (org-make-link-string): Don't escape characters in link
22062         type.
22064 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22066         * org-capture.el (org-capture-templates): Update docstring to
22067         advertise %:org-date.
22069 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22071         * ob-dot.el (org-babel-execute:dot): Automatically specifies
22072         "-T<ext>" based on file name extension.
22074 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22076         * ob-org.el (org-babel-org-export): Raise error on nested export
22077         call.
22079 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22081         * ob-plantuml.el (org-babel-execute:plantuml): Support for svg
22082         output files.
22084 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22086         * ob.el (org-babel-demarcate-block): Better initialization of
22087         stars.
22089 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22091         * org-src.el (org-src-tab-acts-natively): Add customize interface.
22093 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22095         * org-src.el (org-src-strip-leading-and-trailing-blank-lines):
22096         New variable allowing prevention of automatic stripping of leading and
22097         trailing blank lines when exiting edit buffer.
22098         (org-edit-src-exit): Respect value of
22099         `org-src-strip-leading-and-trailing-blank-lines'
22100         (org-src-native-tab-command-maybe):
22101         Bind `org-src-strip-leading-and-trailing-blank-lines' to nil during
22102         this function.
22104 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22106         * org-src.el (org-edit-src-code): If mark was inside code block
22107         then code edit buffer inherits mark with active region.
22109 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22111         * ob.el (org-babel-demarcate-block): Fix compiler warnings.
22113 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22115         * ob.el (org-babel-demarcate-block): Better handling of empty
22116         space around demarcated area.
22118 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22120         * org-agenda.el (org-agenda-goto-date): Turn off prefer future for
22121         this command.
22123 2010-11-11  David Maus  <dmaus@ictsoc.de>
22125         * org-gnus.el (org-gnus-open-nntp): New function.
22127 2010-11-11  David Maus  <dmaus@ictsoc.de>
22129         * org-wl.el (org-wl-open-nntp): New function.
22131 2010-11-11  David Maus  <dmaus@ictsoc.de>
22133         * org-wl.el (org-wl-open): Open message by numeric reference if
22134         article part is not a message id.
22136 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22138         * org-agenda.el (org-agenda-filter-apply): Move cursor to a
22139         visible line.
22141 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22143         * ob.el (org-babel-demarcate-block): Interactive demarcation of
22144         code blocks.
22146         * ob-keys.el (org-babel-key-bindings): Key bindings for block
22147         demarcation.
22149 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22151         * org.el (org-link-types): Add the "message" link type.
22153 2010-11-11  David Maus  <dmaus@ictsoc.de>
22155         * org.el (org-link-types): Add 'message:' link type to default
22156         link types.
22158 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22160         * org-gnus.el (org-gnus-store-link): Add the :date property to
22161         gnus links, allowing the use of %:date in capture templates.
22163 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22165         * org-list.el (org-cycle-list-bullet): Follow order of bullets
22166         indicated in doc-string.
22168         * org-list.el (org-list-bottom-point-with-indent): List is ended
22169         when a line is less indented that the last item, not the less
22170         indented item.
22172 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22174         * ob-exp.el (org-babel-exp-src-blocks): Now switching back to the
22175         original file before resolving code block parameters to ensure
22176         headline and buffer wide parameters are taken into consideration
22177         when only a narrowed portion of the file is exported.
22179 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22181         * org.el (org-forward-same-level): Fix docstring.
22183 2010-11-11  Sebastian Rose  <sebastian_rose@gmx.de>
22185         * org-publish.el (org-publish-attachment): Put the attachment into
22186         the right directory.
22188 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
22190         * org.el (org-goto-first-child): New command.
22192 2010-11-11  Matt Lundin  <mdl@imapmail.org>
22194         * org-agenda.el (org-prepare-agenda): If the agenda is called from
22195         within the agenda via an elisp link, such as
22196         [[elisp:(org-agenda-list)]], org-prepare-agenda erases the buffer
22197         of the file containing the link, since that buffer is current
22198         during org-prepare agenda (due to a with-current-buffer in
22199         org-agenda-open-link).  An additional test now ensures that the
22200         agenda buffer is in fact current when the buffer is erased and
22201         local variables for the agenda are set.
22203 2010-11-11  David Maus  <dmaus@ictsoc.de>  (tiny change)
22205         * org-exp.el (org-infile-export-plist): Define property macro.
22207 2010-11-11  David Maus  <dmaus@ictsoc.de>
22209         * org-mhe.el (org-mhe-get-header): Remove possible folding white
22210         space in message header field.
22212 2010-11-11  David Maus  <dmaus@ictsoc.de>
22214         * org-feed.el (org-feed): Fix typo in customization group :tag
22215         property.
22217 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22219         * org-latex.el (org-export-latex-tag-markup): New option.
22220         (org-export-latex-keywords-maybe):
22221         Use `org-export-latex-tag-markup'.
22223 2010-11-11  Rémi Vanicat  <vanicat@debian.org>  (tiny change)
22225         * org-icalendar.el (org-icalendar-use-UTC-date-time): New option.
22226         (org-ical-ts-to-string): Use UTC time when requested.
22228 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
22230         * org-html.el (org-html-cvt-org-as-html): Do not convert protocol
22231         from 'file' to 'http'.
22233 2010-11-11  David Maus  <dmaus@ictsoc.de>
22235         * org.el (org-store-log-note): Fix wrong usage
22236         of`org-adapt-indentation'.
22238 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22240         * org.el (org-skip-over-state-notes): Do not compute bottom point
22241         at each item.
22243         * org-mouse.el (org-mouse-for-each-item): Use `org-apply-on-list'
22244         instead of moving to each item.
22246 2010-11-11  David Maus  <dmaus@ictsoc.de>
22248         * org-capture.el (org-capture-templates): Small fix in doc string.
22250 2010-11-11  aaa bbb  <dominik@powerbook-g4-12-van-aaa-bbb.local>
22252         * org-archive.el (org-get-local-archive-location):
22253         Use `org-archive-location' as default.
22255 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22257         * ob-C.el (org): No longer requires org.
22259         * ob-ledger.el (org): No longer requires org.
22261 2010-11-11  David Maus  <dmaus@ictsoc.de>
22263         * org.el (org-priority): Save match data before call to
22264         `read-char-exclusive'.
22266 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22268         * org-list.el (org-list-to-generic): Descriptions labels can be
22269         any suit of symbols, and will end at double colons.
22271 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22273         * org.el (org-indent-line-function): Indent past [@num] and
22274         [@start:num], consistently with what is already done with
22275         checkboxes.
22277 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22279         * org.el (org-store-log-note): Indent new notes to the right
22280         column.  Also take `org-list-two-spaces-after-bullet-regexp' into
22281         consideration when creating the note.
22283 2010-11-11  David Maus  <dmaus@ictsoc.de>
22285         * org-gnus.el (nnimap-group-overview-filename): Declare function
22286         to silence byte compiler.
22288 2010-11-11  David Maus  <dmaus@ictsoc.de>
22290         * org-gnus.el (org-gnus-nnimap-query-article-no-from-file):
22291         New customization variable.
22292         (org-gnus-nnimap-cached-article-number): New function.
22293         (org-gnus-follow-link): Try to fetch cached article number of
22294         message-id.
22296 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22298         * ob-org.el (org-babel-org-default-header): Used to insert a dummy
22299         first line into code blocks before export so that the first line
22300         is not interpreted as a title
22301         (org-babel-org-export): Use new dummy code block prefix.
22303 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22305         * ob.el (org-babel-insert-result): No longer throws error when
22306         inserting an empty result.
22308 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22310         * ob-tangle.el: Autoload org-babel-tangle-lang-exts from ob-tangle.
22312 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22314         * ob.el (org-babel-do-in-edit-buffer):
22315         Use `org-babel-where-is-src-block-head' to test for source block at
22316         point.
22318 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22320         * ob-keys.el (org-babel-key-bindings): Adding key-binding for
22321         `org-babel-goto-src-block-head'.
22323         * ob.el (org-babel-goto-src-block-head): Jump to the head of the
22324         current code block.
22326 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22328         * ob.el (org-babel-next-src-block): Now raising more informative
22329         error when no further code blocks can be found.
22330         (org-babel-previous-src-block): Now raising more informative error
22331         when no previous code blocks can be found.
22333 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22335         * org-exp-blocks.el
22336         (org-export-preprocess-after-include-files-hook): Now using this
22337         hook instead of `org-export-preprocess-hook'.
22339 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22341         * ob-plantuml.el (org-babel-execute:plantuml): ????
22343 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22345         * ob-python.el (org-babel-python-evaluate): Refactor as call to
22346         either `org-babel-python-evaluate-external-process' or
22347         `org-babel-python-evaluate-session'.
22348         (org-babel-python-evaluate-external-process): New function to
22349         handle evaluation in external process.
22350         (org-babel-python-evaluate-session): New function to handle
22351         evaluation in emacs inferior process.
22353 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22355         * ob-org.el (org-babel-execute:org): Evaluates body to latex ascii
22356         or html respecting :results header arg
22357         (org-babel-org-export): Exports a string of text to an output
22358         format.
22360 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22362         * ob.el (org-babel-insert-result): Remove existing results when
22363         nil results are returned.
22365 2010-11-11  David Maus  <dmaus@ictsoc.de>
22367         * org-ascii.el (org-export-as-ascii): Bind and set link path for
22368         link type specific markup function.
22370 2010-11-11  David Maus  <dmaus@ictsoc.de>
22372         * org-clock.el (notifications-notify): Properly declare function
22373         to silence byte compiler.
22375 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22377         * org-list.el (org-insert-item): Check invisibility of point at a
22378         meaningful location.
22380 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22382         * org-list.el (org-list-insert-item-generic): Updating checkboxes
22383         can modify bottom point of a list, so make it a marker before
22384         calling `org-update-checkbox-count-maybe'.
22386 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22388         * org.el (org-src-fontify-natively): Set to nil by default.
22389         Supply customize interface.
22391 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22393         * org-ascii.el (org-export-as-ascii): Fix bug in ASCII export: use
22394         `org-bracket-link-analytic-regexp++' to match the link type.
22396 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22398         * ob-tangle.el (org-babel-tangle-collect-blocks): Rename `lang' to
22399         `language'.
22401 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22403         * ob-tangle.el (org-babel-tangle-comment-format-beg):
22404         Format string specifying the link-comment preceding a code block
22405         (org-babel-tangle-comment-format-end): Format string specifying
22406         the link-comment following a code block
22407         (org-babel-tangle-collect-blocks): Storing more information in the
22408         spec of a tangling code block
22409         (org-babel-spec-to-string): Now makes use of customizable
22410         link-comment formats.
22412 2010-11-11  Achim Gratz  <Stromeko@stromeko.net>  (tiny change)
22414         * org.el (org-delete-backward-char): Check for nil overwrite-mode
22415         before inserting spaces.
22417 2010-11-11  David Maus  <dmaus@ictsoc.de>
22419         * org-icalendar.el (org-print-icalendar-entries): Exclude tags
22420         from summary of non-TODO ical entries.
22421         (org-print-icalendar-entries): Use `org-complex-heading-regexp' to
22422         exclude tags from summary of TODO ical entries.
22424 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22426         * ob.el (org-babel-map-src-blocks): Now exposes much information
22427         about the code block in the form of let-bound local variables.
22429 2010-11-11  David Maus  <dmaus@ictsoc.de>
22431         * org-list.el (org-outline-regexp, org-ts-regexp)
22432         (org-ts-regexp-both, org-in-regexps-block-p)
22433         (org-level-increment, org-at-heading-p)
22434         (outline-previous-heading, org-icompleting-read)
22435         (org-time-string-to-seconds): Declare to fix compiler warning.
22437 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22439         * org-list.el (org-toggle-checkbox): Ignore items in drawers when
22440         used from an heading.  Send an error when no item is in region.
22442 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22444         * ob.el (org-babel-do-in-edit-buffer): Use unwind-protect to
22445         ensure that edit buffer is exited.
22447 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22449         * ob-tangle.el (org-babel-tangle-pad-newline): Can be used to
22450         control the amount of extra newlines inserted into tangled code
22451         (org-babel-tangle-collect-blocks): Now conditionally collects
22452         information to be used for "org" style comments
22453         (org-babel-spec-to-string): Now inserts "org" style comments, and
22454         obeys the newline configuration variable when inserting whitespace.
22456 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22458         * ob-tangle.el (org-babel-pre-tangle-hook): Defines new tangle
22459         hook
22460         (org-babel-tangle): Calls new tangle hook.
22462 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22464         * org-capture.el (org-capture): Compute the length of the correct
22465         string when removing properties.
22467 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22469         * ob-plantuml.el (org-babel-execute:plantuml): Now expanding file
22470         names before shell quoting.
22472 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22474         * org-src.el (org-src-tab-indents-natively): New variable
22475         controlling whether language-native TAB action should be performed
22476         (org-src-native-tab-command-maybe): New function to perform
22477         language-native TAB action.
22478         (org-tab-first-hook): Add `org-src-native-tab-command-maybe'.
22480 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22482         * ob-plantuml.el (org-babel-execute:plantuml): Explicitly check
22483         `org-plantuml-jar-path' before use.
22485 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22487         * org-src.el (org-src-font-lock-fontify-block): Re-use hidden
22488         language major mode buffers during fontification.
22490 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22492         * org.el (org-fontify-meta-lines-and-blocks): Alter main regexp to
22493         match code blocks with switches and header args.
22494         Call `org-src-font-lock-fontify-block' for automatic fontification of
22495         code in code blocks, controlled by variable
22496         `org-src-fontify-natively'.
22497         (org-src-fontify-natively): New variable.
22499 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22501         * ob-ruby.el (org-babel-expand-body:ruby): Remove requirement of
22502         inf-ruby.
22504 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
22506         * org-html.el (org-html-make-link): (expand-file-name) removes
22507         one "/" from "///path-to-file", so add one.  Anything other than
22508         'file' type should be exported along with the type.
22510 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
22512         * org.el (org-insert-subheading): Fix compiler warning
22513         (org-insert-todo-subheading): Fix compiler warning.
22515 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22517         * org-capture.el (org-capture): Remove read-only text properties
22518         from capture text.
22519         (org-capture-set-target-location): Throw an error if file+headline
22520         target does not point into a file which is in Org mode.
22522 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22524         * ob.el (org-babel-map-src-blocks): Prefer `when' to `if'.
22526 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22528         * org-src.el (org-edit-src-code): Improve docstring.
22530 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22532         * ob.el (org-babel-execute-src-block): Document prefix argument in
22533         docstring.
22535 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22537         * ob-ditaa.el (org-babel-execute:ditaa): Now expanding
22538         org-ditaa-jar-path with expand-file-name.
22540 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22542         * ob.el (org-babel-execute-subtree): Pass prefix arg through to
22543         `org-babel-execute-src-block'.
22545 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22547         * org-ascii.el (org-export-ascii-preprocess): Allow [@start:x] and
22548         [@x] syntax for list numbering.
22550 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22552         * org.el (org-indent-line-function): Indentation of source block
22553         is left to `org-edit-src-exit' and shouldn't be modified by
22554         `org-indent-line-function'.  Indentation of others blocks should be
22555         the same as the #+begin line.
22557 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22559         * ob.el (org-babel-map-src-blocks): If FILE is nil evaluate BODY
22560         forms on source blocks in current buffer; restore point in current
22561         buffer.
22563 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22565         * org-list.el (org-list-struct): Accept list boundaries as an
22566         argument in order to avoid computing `org-list-top-point' and
22567         `org-list-bottom-point' twice when indenting.
22569 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22571         * org-list.el (org-list-ending-method): Default value is now
22572         `both', to ensure maximum compatibility before previous
22573         implementation.
22575 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22577         * org-list.el (org-list-in-item-p-with-indent): Test if first line
22578         is the item beginning.
22580         * org-list.el (org-list-top-point-with-indent): Test if first line
22581         is a valid list beginning.
22583 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22585         * org-list.el (org-list-ending-method): New customizable variable
22586         to tell Org Mode how lists end.  See docstring.
22588 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22590         * org-list.el (org-indent-item-tree): Shifting step of top-level
22591         item depends on `org-level-increment'.
22593 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22595         * org.el (org-indent-line-function): Indent first non blank line
22596         after a list according to current heading level.
22598 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22600         * org-docbook.el (org-export-as-docbook): Remove check for
22601         indentation on lines that do not start with a list bullet.
22603         * org-html.el (org-export-as-html): Same thing.
22605 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22607         * org-list.el (org-list-bottom-point): Take into consideration
22608         that bound of search can be before true ending of the list.
22610 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22612         * org-list.el (org-list-struct-apply-struct): No longer shift
22613         item's body twice: one after replacing bullet and one after
22614         changing indentation.
22616 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22618         * org-list.el (org-list-struct-indent): Add code to replace
22619         bullets if needed when indenting.
22621 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22623         * org-list.el (org-list-insert-item-generic): A single item
22624         already counting blank lines in his body should be separated with
22625         the next one by a blank line.  Moreover, if user already provided
22626         blank lines, follow his wishes.
22628 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22630         * org-list.el (org-indent-item-tree): When moving top item of a
22631         *-list to column 0, only the first item had its bullet changed to
22632         -.  It now changes all items of the top-level list, as expected.
22634 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22636         * org-list.el (org-toggle-checkbox): Go to beginning of line
22637         before processing.
22639 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22641         * org-list.el (org-list-struct-apply-struct): Check if ancestor
22642         exists.
22644 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22646         * org-list.el (org-renumber-ordered-list): Check for [@start:x] is
22647         done at each item.
22649 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22651         * org-list.el: Removed unused variable
22652         `org-suppress-item-indentation'.
22654         * org-list.el (org-renumber-ordered-list): Skip item if bullet
22655         number is already good.
22657 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22659         * org-list.el (org-list-automatic-rules): Doc-string reflects this
22660         change.
22662         * org-list.el (org-indent-item-tree): Prevent whole list from
22663         being moved when user is not moving subtree.
22664         Thus `org-cycle-item-indentation' will not allow to move the list.
22666 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22668         * org-list.el (org-indent-item-tree): Remove region code.  It was
22669         prone to errors and undocumented.
22671         * org-list.el (org-item-indent-positions): Better heuristics to
22672         determine what bullet the item will have when demoted.
22674 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22676         * org-list.el (org-list-bullet-string): First check if
22677         `org-list-two-spaces-after-bullet-regexp' isn't nil.
22679 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22681         * org-list.el (org-list-bullet-string): Do not modify match-data.
22683         * org.el (org-toggle-item): Now working again when changing list
22684         items into plain text.  Moreover take into consideration
22685         `org-list-two-spaces-after-bullet-regexp'.
22687 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22689         * org-list.el (org-indent-item-tree): Remove unnecessary bullets
22690         fix, and improved heuristics to determine bullet when indenting.
22692         * org-list.el (org-item-indent-positions): Function now returns
22693         sane results when there are two lists separated with blank lines
22694         only.
22696 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22698         * org-docbook.el (org-export-as-docbook): Use override="num" in
22699         any listitem matching [@start:num].
22701         * org-html.el (org-export-as-html): Use value="num" in any li
22702         matching [@start:num].
22704 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22706         * org.el (org-set-font-lock-defaults): Correct fontification for
22707         checkboxes found after [@start:?].
22709         * org-list.el (org-list-at-regexp-after-bullet-p): Skip any
22710         [@start:?]  when looking at a regex after a bullet.
22712         * org-list.el (org-toggle-checkbox): Correct insertion of
22713         checkboxes when there is already a [@start:?] in the item.
22715         * org-list.el (org-checkbox-blocked-p): Properly check if there's
22716         an unchecked item before.
22718         * org-list.el (org-list-parse-list): Function handles items having
22719         both a counter and a checkbox.
22721 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22723         * org-list.el (org-cycle-item-indentation): Org-tab-ind-state
22724         stores both indentation and bullet when cycle started.
22726 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22728         * org-list.el: `org-at-description-p' renamed to
22729         `org-at-item-description-p', `org-first-list-item-p' renamed to
22730         `org-list-first-item-p', `org-end-of-item-text-before-children'
22731         renamed to `org-end-of-item-or-at-child'.
22733 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22735         * org.el (org-ctrl-c-ctrl-c): Call `org-fix-bullet-type' instead
22736         of `org-maybe-renumber-ordered-list' and `org-fix-bullet-type'
22737         before toggling a checkbox.
22739 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22741         * org-list.el (org-list-bullet-string): New function returning
22742         bullet concatenated with an appropriate number of white spaces.
22744         * org-list.el (org-list-insert-item-generic): Insert the right
22745         bullet, with help of `org-list-bullet-string'.
22747         * org-list.el (org-indent-item-tree):
22748         Use `org-list-bullet-string'.
22750         * org-list.el (org-fix-bullet-type): Use `org-list-bullet-string'.
22752         * org-list.el (org-toggle-checkbox): Send an error when
22753         `org-toggle-checkbox' is trying to insert a checkbox at a
22754         description item.
22756         * org-list.el (org-item-re): Modify regexp so it can catch
22757         correct number of white space before item body.
22759         * org-list.el (org-list-at-regexp-after-bullet-p): Take into
22760         consideration new `org-item-re'.
22762 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22764         * org-list.el (org-list-insert-item-generic): The second item in a
22765         list will be separated from its predecessor with the number of
22766         blank lines separating the first item from its parent, if any, or
22767         no blank line.
22769 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22771         * org-list.el (org-indent-item-tree): Fix and reorder every list
22772         and sublist, from parent of list that has moved if indenting, or
22773         from list at point if outdenting.
22775 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22777         * org-list.el (org-indent-item-tree): Try to keep relative
22778         position on line.  It can't if point is in white spaces before
22779         bullet because mixed tabs and spaces make some columns
22780         unattainable.
22782 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22784         * org-list.el (org-cycle-item-indentation): Cycle when the whole
22785         item only contains bullet and maybe a checkbox.  Previously, TAB
22786         would cycle when the first line of the item was blank.
22788 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22790         * org-list.el (org-cycle-item-indentation): Allow a point just
22791         after a description item or a checkboxed item to start cycling.
22793 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22795         * org-list.el (org-cycle-list-bullet):
22796         Check `org-plain-list-ordered-item-terminator' before allowing 1. or 1)
22797         as valid bullets when cycling.
22799 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22801         * org-list.el (org-cycle-item-indentation): Do return t if and
22802         only if cycling is possible and succeded.
22804 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22806         * org-list.el (org-indent-item-tree): When outdenting a subtree,
22807         the last item shouldn't have a children.
22809 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22811         * org-list.el (org-cycle-item-indentation): Cycling should play
22812         nicely with indent rule in `org-list-automatic-rules'.
22814 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22816         * org-list.el (org-indent-item-tree): If indent rule is activated,
22817         it should be impossible to outdent an item having children without
22818         moving its subtree.  Improved reordering of lists modified by
22819         cycling indentation.
22821 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22823         * org-list.el (org-maybe-renumber-ordered-list): Remove call for
22824         `org-fix-bullet-type' to prevent infinite loop, and some checks
22825         already done in `org-renumber-ordered-list'.
22827         * org-list.el (org-fix-bullet-type): Remove a check and call
22828         directly `org-maybe-renumber-ordered-list'.
22830 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22832         * org-list.el (org-indent-item-tree): It shouldn't be possible to
22833         indent the first item of a sublist (though outdent is possible) as
22834         it would break list's structure.
22836 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22838         * org-list.el (org-list-insert-item-generic): When local search
22839         doesn't help, search the list globally for blank lines.  Moreover,
22840         don't bother with new lists, and add 1 blank line.
22842 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22844         * org-capture.el (org-capture-place-item):
22845         Use `org-search-forward-unenclosed' and
22846         `org-search-backward-unenclosed' and new variable
22847         `org-item-beginning-re'.
22849         * org-list.el (org-item-beginning-re): Regexp matching beginning
22850         of an item.
22852 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22854         * org-list.el (org-cycle-list-bullet): Put back support for
22855         'previous argument.
22857 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22859         * org-list.el (org-in-item-p): Handle case when point is at an
22860         heading.
22862         * org-list.el (org-list-make-subtree): Add protection when used
22863         outside of list.
22865         * org-list.el (org-insert-item): Remove useless hack now
22866         `org-in-item-p' is fixed.
22868         * org-timer.el (org-timer-item): Remove useless hack now
22869         `org-in-item-p' is fixed.
22871 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22873         * org-list.el (org-cycle-list-bullet): Prevent description items
22874         from being numbered.  String argument is also recognized now, as
22875         long as it is a valid bullet.
22877 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22879         * org-list.el (org-indent-item-tree): Moving indentation of top
22880         list item will make the whole list move.
22882         * org-list.el (org-apply-on-list): Function is less sensitive to
22883         changes of indentation.
22885 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22887         * org-list.el (org-at-item-checkbox-p): Add whitespaces at the end
22888         of the regexp.
22890         * org-list.el (org-checkbox-blocked-p): Use new checkbox regexp.
22892         * org-list.el (org-cycle-item-indentation): Allow cycling
22893         description items and checkbox items.
22895         * org-list.el (org-toggle-checkbox): Use new checkbox regexp.
22897         * org-list.el (org-reset-checkbox-state-subtree): Use new checkbox
22898         regexp.
22900 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22902         * org-list.el (org-insert-item-internal): Guessing of blank lines
22903         number is made by looking at neighboring items, if any.
22905 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22907         * org-list.el (org-sort-list): Add the possibility to sort timer
22908         lists with the ?t or ?T options.
22910 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22912         * org-list.el (org-search-unenclosed-internal): New function to
22913         handle both `org-search-forward-unenclosed' and
22914         `org-search-backward-unenclosed'.
22916         * org-list.el (org-search-backward-unenclosed): Can send errors
22917         now.  Removed useless usage of COUNT.
22919         * org-list.el (org-search-forward-unenclosed): Can send errors
22920         now.  Removed useless usage of COUNT.
22922         * org-list.el (org-update-checkbox-count):
22923         Use `org-search-forward-unenclosed' and
22924         `org-search-backward-unenclosed' instead of `re-search-forward'
22925         and `re-search-backward'.
22927         * org-list.el (org-sort-list): Use `org-search-forward-unenclosed'
22928         and `org-search-backward-unenclosed' instead of
22929         `re-search-forward' and `re-search-backward'.
22931         * org-list.el (org-list-make-subtree):
22932         Use `org-search-forward-unenclosed' and
22933         `org-search-backward-unenclosed' instead of `re-search-forward'
22934         and `re-search-backward'.
22936 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22938         * org-list.el (org-insert-item-internal): Fixes the problem when
22939         point was before the first char of the item's body.
22941 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22943         * org-timer.el (org-timer-item): Refactoring.  Compute timer string
22944         before inserting it in the buffer.
22946         * org-timer.el (org-timer): Add an optional argument to return
22947         timer string instead of inserting it.
22949 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22951         * org-list.el (org-insert-item-internal): New function to handle
22952         positioning and contents of an item being inserted at a specific
22953         pos.  It is not possible anymore to split a term in a description
22954         list or a checkbox when inserting a new item.
22956         * org-list.el (org-insert-item): Refactored by using the new
22957         `org-insert-item-internal' function.
22959         * org-timer.el (org-timer-item): Refactored by using the new
22960         `org-insert-item-internal' function.
22962 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22964         * org-list.el (org-list-bottom-point): Be sure to check real
22965         ORG-OUTLINE-REGEXP and not outline-regexp, that might be modified.
22967         * org.el (org-cycle-internal-local): Cycle up to end of subtree or
22968         end of item if we are in a list.
22970 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22972         * org-list.el (org-insert-item): Move before any special block in
22973         a list prior to add a new item.
22975         * org-timer.el (org-timer-item): When in a timer list, insert a
22976         new timer item like `org-insert-item'.  If in another list, send an
22977         error.  Otherwise, start a new timer list.
22979 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22981         * org-list.el: Minor refactoring.
22983 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22985         * org-timer.el (org-timer-item): Insert description list item at
22986         the right column.
22988         * org-list.el (org-insert-item): Insert the right number of blank
22989         lines before a relative timer.
22991 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22993         * org-list.el (org-insert-item): Remove restriction on latex
22994         blocks.
22996 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22998         * org-list.el (org-search-backward-unenclosed): Do not stop in
22999         protected places.
23001         * org-list.el (org-search-forward-unenclosed): Do not stop in
23002         protected places.
23004         * org-latex.el (org-export-latex-lists): Use the fact that
23005         org-search-forward do not stop anymore at protected places.
23007 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23009         * org-list.el (org-search-backward-unenclosed): Do not prevent
23010         list items from being inside LaTeX blocks.
23012         * org-list.el (org-search-forward-unenclosed): Do not prevent list
23013         items from being inside LaTeX blocks.
23015 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23017         * org-list.el (org-in-item-p): Do not widen before checking if we
23018         are in item.
23020         * org-list.el (org-list-send-list): We cannot count on
23021         `org-list-top-point' and `org-list-bottom-point' before buffer is
23022         narrowed.  Find bounds of list otherwise.
23024 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23026         * org-list.el (org-list-end-regexp): By default, list ending is
23027         exactly 2 blank lines.
23029 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23031         * org-docbook.el (org-export-as-docbook): When we find an empty
23032         line, we do not need to check for
23033         `org-empty-line-terminates-plain-lists' because we would have
23034         found end-list marker before.
23036         * org-html.el (org-export-as-html): Same.
23038 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23040         * org-list.el (org-insert-item): Simplify count of blank lines to
23041         insert.
23043 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23045         * org-list.el (org-list-end-regexp): New customizable variable to
23046         define what string should end lists.
23048         * org-list.el (org-list-end-re): Function is now aware of
23049         `org-list-end-regexp'.
23051 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23053         * org-html.el (org-export-as-html): Code cleanup.
23055 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23057         * org-docbook.el (org-export-as-docbook): Properly close any open
23058         list when seeing ORG-LIST-END.  Removed any reference to now
23059         unneeded DIDCLOSE variable.
23061 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23063         * org-exp.el (org-export-mark-list-ending): Fix number of blank
23064         lines inserted after a list.
23066         * org-list.el (org-list-parse-list): Fix case when
23067         `org-list-end-re' would have an indentation greater than current
23068         list.
23070 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23072         * org-exp.el (org-export-mark-list-ending): Differentiate between
23073         export backends, and replace `org-list-end-re' by a blank line
23074         upon exporting.
23076 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23078         * org-html.el (org-export-as-html): Delete didclose and everything
23079         related to it, as it is no longer needed.
23081 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23083         * org-html.el (org-export-html-preprocess): Remove unneeded
23084         insertion of list end marker, as it is now handled by
23085         `org-export-mark-list-ending'.
23087         * org-html.el (org-export-as-html): Cleaner termination of lists.
23089         * org-exp.el (org-export-mark-list-ending): New function to insert
23090         specific markers at the end of lists when exporting to a backend
23091         not using `org-list-parse-list'.  This function is called early in
23092         `org-export-preprocess-string', while it is still able to
23093         recognize lists.
23095         * org-latex.el (org-export-latex-lists): Better search for
23096         lists.  It now only finds items not enclosed and not protected.
23098 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23100         * org-list.el: Replaced `re-search-forward' by
23101         `org-search-forward-unenclosed' where it made sense.
23103 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23105         * org-list.el (org-apply-to-list): Now a return value is handed at
23106         each new call of the function applied.
23108         * org-list.el (org-fix-bullet-type): Use the new
23109         `org-apply-to-list' format.
23111         * org-list.el (org-renumber-ordered-list): Use the new
23112         `org-apply-to-list' format.
23114 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23116         * org.el (org-in-regexps-block-p): Minor fix: limit wasn't
23117         correctly used.
23119         * org-list.el (org-search-forward-unenclosed): Better regexp used.
23121         * org-list.el (org-search-backward-unenclosed): Better regexp
23122         used.
23124 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23126         * org-list.el (org-sort-list): End-rec function was ill-defined.
23128 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23130         * org-list.el (org-search-forward-unenclosed): Fix behavior when
23131         last occurrence was enclosed.
23133         * org-list.el (org-search-backward-unenclosed): Fix behavior when
23134         last occurrence was enclosed.
23136 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23138         * org.el (org-in-regexps-block-p): Fix documentation.
23140 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23142         * org-list.el (org-search-backward-unenclosed): Fix block regexp.
23144         * org-list.el (org-search-forward-unenclosed): Fix block regexp.
23146         * org-list.el (org-list-parse-list): Minor fix.
23148 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23150         * org-list.el (org-list-parse-list): Delete `org-list-end-re' when
23151         called with t argument.
23153 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23155         * org-html.el (org-export-html-preprocess):
23156         Replace `org-list-end-re' by a blank line during pre-process.
23158 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23160         * org-list.el (org-list-bottom-point): No need for square brackets
23161         for `skip-chars-backward'.
23163 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23165         * org-html.el: Do not delete space between end of list and
23166         beginning of the following.
23168 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23170         * org-html.el: Preprocess buffer string and add ORG-LIST-END where
23171         needed.  Lists should not end before seeing this.
23173 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23175         * org-html.el: Notice end of lists.
23177 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23179         * org-list.el (org-list-parse-list): Better handling of
23180         restrictions when function is called on a list with sublists.
23182         * org-list.el (org-list-send-list): Find the true ending of the
23183         list being sent.
23185         * org-list.el (org-list-radio-list-templates): Templates are more
23186         specific to lists.
23188 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23190         * ob-js.el (org-babel-js-eoe): Indicate end of input
23191         (org-babel-execute:js): Support for session evaluation
23192         (org-babel-prep-session:js): Fleshed out definition
23193         (org-babel-js-initiate-session): Can initiate a session using
23194         mozrepl.
23196 2010-11-11  David Maus  <dmaus@ictsoc.de>
23198         * org.el (org-set-regexps-and-options): Protect escape char in
23199         `org-complex-heading-regexp-format'.
23201 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23203         * ob-scheme.el (org-babel-scheme-eoe): For marking the end of
23204         session-based evaluation
23205         (org-babel-execute:scheme): Now supports session-based evaluation
23206         (org-babel-prep-session:scheme): Now works and defines variables
23207         (org-babel-scheme-initiate-session): Now works using run-scheme
23208         from cmuscheme.
23210 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23212         * org.el (org-export-latex-default-packages-alist): Remove the
23213         t1enc package - this is already covered by fontenc.
23215 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23217         * ob.el (with-parsed-tramp-file-name): Declared
23218         (org-babel-tramp-localname): Ensure variable name exists locally.
23220 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23222         * ob.el (org-babel-temp-file): Don't use babel temporary directory
23223         in remote case; use make-temp-file with remote file name so that
23224         temp file is guaranteed not to exist previously on remote machine.
23225         (org-babel-tramp-localname): New function to return local name
23226         portion of possibly remote file specification.
23228 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23230         * ob-R.el (org-babel-R-write-object-command): New unified R
23231         command for writing results to file
23232         (org-babel-R-wrapper-method): Remove variable
23233         (org-babel-R-wrapper-lastvar): Remove variable
23234         (org-babel-R-evaluate-external-process): Use new R command
23235         (org-babel-R-evaluate-session): Use new R command.
23237 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23239         * ob-comint.el
23240         (org-babel-comint-eval-invisibly-and-wait-for-file): New function
23241         to evaluate code invisibly and block until output file exists.
23243         * ob-R.el (org-babel-R-evaluate-session): Use `ess-eval-buffer' to
23244         evaluate R code in session for :results value.  Write result to
23245         file invisibly using new function
23246         `org-babel-comint-eval-invisibly-and-wait-for-file'.
23248 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23250         * org-capture.el (org-capture-fill-template): Align tags after
23251         insertion.
23253 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23255         * org-exp.el (org-export-concatenate-multiline-emphasis):
23256         Ignore matches that start in a headline.
23258 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23260         * ob-plantuml.el (org-babel-execute:plantuml): Wrapping in-file
23261         and out-file in shell-quote-argument.
23263 2010-11-11  David Maus  <dmaus@ictsoc.de>
23265         * org-docview.el (org-docview-store-link): Use expanded macro to
23266         get current page.
23267         (doc-view-goto-page, image-mode-window-get): Declare functions for
23268         byte compiler.
23270 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23272         * ob-scheme.el: Very preliminary support for evaluating scheme
23273         code blocks.
23275         * org.el (org-babel-load-languages): Adding scheme.
23277 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23279         * ob.el (require): Remove circular (require 'org).
23281 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23283         * ob-R.el (ess-make-buffer-current): Declared.
23284         (ess-ask-for-ess-directory): Declared.
23285         (ess-local-process-name): Declared.
23286         * ob-latex.el (org-babel-latex-tex-to-pdf): Capturing free variable.
23288         * ob.el (org-edit-src-code): Fixing arguments.
23289         (org-edit-src-exit): Declared.
23290         (org-outline-overlay-data): Declared.
23291         (org-set-outline-overlay-data): Declared.
23293 2010-11-11  Glenn Morris  <rgm@gnu.org>
23295         * ob.el: Require org when compiling.
23296         (org-save-outline-visibility): Remove macro declaration.
23298         * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
23299         Remove unnecessary/macro declarations.
23301         * org-docview.el: Require doc-view when compiling.
23302         (doc-view-goto-page): Autoload rather than declaring.
23303         (doc-view-current-page): Remove macro declaration.
23305         * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
23306         (org-entry-get, org-table-import): Fix declarations.
23307         (org-match-string-no-properties): Remove declaration.
23309         * ob-sh.el (org-babel-comint-in-buffer)
23310         (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
23311         (org-babel-comint-with-output): Remove unnecessary declarations.
23313         * ob-R.el (orgtbl-to-tsv): Fix declaration.
23315         * org-list.el (org-entry-get): Fix declaration.
23317 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23319         * ob.el (org-babel-remove-temporary-directory): Remove explicit
23320         second argument.
23322 2010-11-11  Magnus Henoch  <magnus.henoch@gmail.com>  (tiny change)
23324         * org-clock.el (org-clocktable-steps): Allow ts and te to be day
23325         numbers.
23327 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23329         * org-macs.el (org-save-outline-visibility): Move from org.el.
23331 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23333         * ob-org.el (org-babel-default-header-args:org): Additional
23334         ":results silent" default header argument for org code blocks.
23336 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23338         * ob-exp.el (org-babel-exp-do-export): Remove hacky ":noeval",
23339         which is now an alias to ":eval no".
23341 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23343         * ob.el (org-babel-remove-temporary-directory): The version of
23344         `delete-directory' found in files.el can not be assumed to be
23345         present on all versions, so this copies the recursive behavior of
23346         that command in such a way that all calls to delete-directory will
23347         also work with the built-in internal C implementation of that
23348         function.  This is not overly difficult as all elements of the
23349         directory can be assumed to be files.
23351 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23353         * ob-C.el (org-babel-C-execute): Corrected arguments to
23354         org-babel-temp-file.
23356 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23358         * ob.el (org-babel-temporary-directory): Variable to hold the
23359         value of the Babel temporary directory.
23361 2010-11-11  Aditya Siram  <aditya.siram@gmail.com>
23363         * ob.el (org-babel-load-in-session): Expanding noweb references
23364         when appropriate.
23366 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23368         * org.el (org-make-link-regexps): Modify regexp of
23369         org-plain-link-re.
23371 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
23373         * org-habit.el (org-habit-parse-todo): Find sr-days only if
23374         scheduled-repeat is non nil.  Use 4th element of the list returned
23375         by (org-heading-components) as habit-entry.  Modify the error
23376         message to be more meaningful.
23378 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23380         * ob-latex.el (org-babel-execute:latex): Adding new ":fit" and
23381         ":border" header arguments which both use the "preview" latex
23382         package to fit the resulting PDF image to the figure.
23384 2010-11-11  David Maus  <dmaus@ictsoc.de>
23386         * org-wl.el (org-wl-store-link): Don't try to store link if point
23387         is at end of buffer.
23389 2010-11-11  Harri Kiiskinen  <harkiisk@gmail.com>
23391         * org-publish.el (org-publish-project-alist): Document the new
23392         body-only property.
23393         (org-publish-org-to): Use the body-only property.
23395 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
23397         * org.el (org-store-link): Return link when invoked
23398         non-interactively from an agenda buffer.
23400 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
23402         * org.el (org-store-link): Storing of links to headlines in
23403         indirect buffers was broken.  Fix it.
23405 2010-11-11  Aidan Kehoe  <kehoea@parhasard.net>
23407         * ob-tangle.el (org-babel-tangle): Change the MODE argument to
23408         #'set-file-modes to use integer, not character syntax, avoiding
23409         compile problems with recent XEmacs.
23411 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23413         * org-agenda.el (org-agenda-add-entry-text): Make sure we move
23414         forward even if there is no text to be added.
23416 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23418         * org.el (org-make-tags-matcher): Read "\\-" as "-" in the
23419         tags/property matcher.
23421 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23423         * org-exp.el (org-infile-export-plist): Bind case-fold-search to
23424         t.
23426 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23428         * org-agenda.el (org-agenda-with-point-at-orig-entry): New macro.
23430 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23432         * org-latex.el (org-export-latex-set-initial-vars):
23433         Bind `case-fold-search' to t around the search for special LaTeX setup.
23435         * org-beamer.el (org-beamer-after-initial-vars):
23436         Bind `case-fold-search' to t around the search for special BEAMER
23437         setup.
23439 2010-11-11  David Maus  <dmaus@ictsoc.de>
23441         * org-agenda.el (org-write-agenda): Delete PostScript file after
23442         creating conversion to PDF.
23444 2010-11-11  David Maus  <dmaus@ictsoc.de>
23446         * org-agenda.el (org-write-agenda): Move require statements to
23447         proper place in evaluated lisp expression.
23449 2010-11-11  David Maus  <dmaus@ictsoc.de>
23451         * org-agenda.el (org-write-agenda): Rename temporary buffer to
23452         remove dependency of `flet' macro.
23454 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23456         * ob-lob.el (org-babel-lob-get-info): Edit docstring.
23458 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23460         * ob-exp.el (org-babel-exp-lob-one-liners): Get parameter values
23461         from all standard sources when executing #+lob/#+call lines.
23463 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23465         * ob-R.el (org-babel-R-evaluate): Break the two branches into two
23466         separate functions
23467         (org-babel-R-evaluate-external-process): New function to handle
23468         external process evaluation
23469         (org-babel-R-evaluate-session): New function to handle session
23470         evaluation.
23472 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23474         * ob.el (org-babel-initiate-session): New function derived from
23475         previous `org-babel-switch-to-session'
23476         (org-babel-switch-to-session): Refactored to use new
23477         `org-babel-initiate-session'.
23479 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23481         * ob.el (org-babel-switch-to-session): Supply missing "P" argument
23482         to (interactive).
23484 2010-11-11  David Maus  <dmaus@ictsoc.de>
23486         * org-feed.el (org-feed-format-entry): Decode entry according to
23487         its character encoding.
23489 2010-11-11  David Maus  <dmaus@ictsoc.de>  (tiny change)
23491         * org-feed.el (xml-substitute-special): Declare function for byte
23492         compiler.
23493         (org-feed-unescape): Remove.
23494         (org-feed-parse-rss-entry, org-feed-parse-atom-entry):
23495         Use `xml-substitute-special' to unescape XML entities.
23497 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23499         * ob.el (org-babel-switch-to-session): Throw error if block if
23500         :session not in effect for the block.
23502 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23504         * org-table.el (org-table-create-with-table.el): Align table
23505         before converting.
23507 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23509         * ob.el (org-babel-do-in-edit-buffer): Suppress message and check
23510         that org-src buffer is current before attempting exit.
23512 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23514         * org-src.el (ob-comint): Require 'ob-comint
23515         (org-src-babel-info): Define variable.
23517 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23519         * ob.el (org-babel-do-in-edit-buffer): New macro to evaluate lisp
23520         in the language major mode edit buffer.
23521         (org-babel-do-key-sequence-in-edit-buffer): New function to call
23522         an arbitrary key sequence in the language major mode edit buffer.
23524         * org-src.el (org-src-switch-to-buffer): Add new allowed value
23525         'switch-invisibly for `org-src-window-setup'.
23527 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23529         * org-src.el (ob-keys): Require ob-keys, because `org-babel-map'
23530         is used.
23531         (org-src-do-at-code-block): New macro to evaluate lisp with point
23532         at the start of the Org code block containing the code in this
23533         edit buffer.
23534         (org-src-do-key-sequence-at-code-block): New function to execute
23535         command bound to key at the Org code block containing the code in
23536         this edit buffer.
23538 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23540         * ob-R.el (org-babel-R-associate-session): New function to
23541         associate R code edit buffers with ESS comint session.
23543 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23545         * org-src.el (org-edit-src-code): If at src block, store babel
23546         info as buffer local variable.
23547         (org-src-associate-babel-session): New function to associate code
23548         edit buffer with comint session.  Does nothing unless a
23549         language-specific function named
23550         `org-babel-LANG-associate-session' exists.
23551         (org-src-babel-configure-edit-buffer): New function to be called
23552         in `org-src-mode-hook'.
23553         (org-src-mode-hook): Add `org-src-babel-configure-edit-buffer' to
23554         hook.
23556 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23558         * ob.el (org-babel-switch-to-session-with-code): New function to
23559         generate split frame displaying edit buffer and session.
23561 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23563         * org.el (org-set-tags): Consider org-indent-mode when computing
23564         the tags column.
23566 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23568         * org-compat.el (org-looking-at-p): Only use looking-at-p when
23569         defined.
23571 2010-11-11  David Maus  <dmaus@ictsoc.de>
23573         * org-agenda.el (org-finalize-agenda-entries): Delete excluded
23574         lines directly after call to sorting filter function.
23576 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23578         * org.el (org-complex-heading-regexp-format): Document the
23579         variable.
23580         (org-get-refile-targets): Use `org-complex-heading-regexp-format'
23581         to make the regular expression for matching the headline.
23583 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23585         * org.el (org-refile-check-position): New function.
23586         (org-goto):
23587         (org-refile-get-location): Call `org-refile-check-position'.
23589 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23591         * ob-python.el (org-babel-python-initiate-session-by-key): Use eq
23592         instead of equal to compare symbols.
23594 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23596         * org-agenda.el (org-agenda-before-sorting-filter-function):
23597         New hook function.
23598         (org-finalize-agenda-entries):
23599         Apply `org-agenda-before-sorting-filter-function'.
23601 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23603         * org-latex.el (org-export-latex-first-lines): Do not protect meta
23604         lines that have nothing to do with babel.
23606 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23608         * org-capture.el (org-capture-place-template): Handle the
23609         checkitem case.
23610         (org-capture-place-item): Provide boundaries for the search to
23611         make sure we do not get a match in a different tree.
23613 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23615         * org-exp.el (org-export-preprocess-apply-macros): Fix the macro
23616         argument parser.
23618 2010-11-11  Noorul Islam  <noorul@noorul.com>
23620         * org-latex.el (org-latex-to-pdf-process): Add output-directory
23621         option for the command pdflatex.
23622         (org-export-as-pdf): Respect directory in path of
23623         EXPORT_FILE_NAME.
23625 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23627         * org-exp.el (org-export-with-LaTeX-fragments): New default t,
23628         which now means to use MathJax processing for HTML.  Also allow
23629         new value `dvipng' to force the old image processing.
23630         (org-infile-export-plist): Parse for MATHJAX setup line.
23632         * org-html.el (org-export-html-mathjax-options): New option.
23633         (org-export-html-mathjax-config): New function.
23634         (org-export-html-mathjax-template): New option.
23635         (org-export-html-preprocess): Call the LaTeX snippet processor
23636         with an additional argument to declare special ways of processing.
23637         (org-export-as-html): Bind the dynamical variable
23638         `org-export-have-math'.  Insert the MathJax script template when
23639         it is needed by the document.
23641         * org.el (org-preview-latex-fragment): Call `org-format-latex'
23642         with the additional processing argument.
23643         (org-export-have-math): New variable, for dynamic scoping.
23644         (org-format-latex): Implement specific ways of processing.
23645         New function argument for processing type.
23646         (org-org-menu): Remove the entry to configure LaTeX snippet
23647         processing.
23649 2010-11-11  Bastien Guerry  <bzg@gnu.org>
23651         * org-agenda.el (org-agenda-clock-goto): Use `\C-c\C-x\C-j' for
23652         `org-clock-goto' and `J' for `org-agenda-clock-goto'.  If the
23653         heading currently clocked in is not listed in the agenda, display
23654         this entry in another buffer.  If there is no running clock,
23655         display a help message.
23657 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23659         * org-latex.el (org-export-latex-tables): Return "" instead of nil
23660         when no label is attached.
23662 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23664         * org-agenda.el (org-agenda-menu-show-match): New option.
23665         (org-agenda-menu-two-column): New option.
23666         (org-agenda-get-restriction-and-command): Implement dispatch menu
23667         without showing the matcher, and with two-column display.
23669 2010-11-11  Bernt Hansen  <bernt@norang.ca>
23671         * org-indent.el (org-indent-mode): Fix grammar for message when
23672         mode is refused.
23674 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23676         * ob.el (org-babel-insert-result): Ensures `beg' is set, even if
23677         no previous result exists.
23679 2010-11-11  Noorul Islam  <noorul@noorul.com>
23681         * ob.el Declare org-babel-lob-execute-maybe() to avoid compiler
23682         warning.
23684 2010-11-11  Noorul Islam  <noorul@noorul.com>
23686         * org.el (org-set-visibility-according-to-property): Use backward
23687         search instead of forward, so that top hierarchy gets priority.
23689 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23691         * org-agenda.el (org-timeline): Allow indirect buffer.
23693 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23695         * org-exp.el (org-export-preprocess-after-radio-targets-hook):
23696         (org-export-define-heading-targets-headline-hook): New hooks.
23698         * org.el (org-modules): Add entry for org-wikinodes.el.
23699         (org-font-lock-set-keywords-hook): New hook.
23700         (org-open-at-point-functions): New hook.
23701         (org-find-exact-headling-in-buffer):
23702         (org-find-exact-heading-in-directory): New functions.
23703         (org-mode-flyspell-verify): Better cursor position for checking if
23704         flyspell should ignore a word.
23706 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23708         * org-indent.el (org-indent-remove-properties):
23709         (org-indent-add-properties): Make sure changing these properties
23710         does not trigger modification hooks.
23712 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23714         * org.el (org-link-search-must-match-exact-headline): New option.
23715         (org-link-search-inhibit-query): New variable.
23716         (org-link-search): Search for exact headline match in Org files.
23718 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23720         * ob.el (org-babel-execute-src-block-maybe): Remove check for
23721         `org-babel-no-eval-on-ctrl-c-ctrl-c'; this is done in the new
23722         function `org-babel-execute-safely-maybe'.
23724 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23726         * ob.el (org-babel-load-in-session): Set directory in case :dir
23727         arg is in effect.
23729 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23731         * ob-tangle.el (org-babel-tangle-collect-blocks): Don't throw
23732         errors when we're not under of a headline.
23734 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23736         * ob-octave.el (org-babel-octave-wrapper-method): Use dlmwrite to
23737         write delimited text instead of save -ascii
23738         (org-babel-octave-import-elisp-from-file): Specify that data
23739         written to file is tab-delimited.
23741 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23743         * ob-R.el (org-babel-R-evaluate): Specify that tabular data is
23744         tab-delimited.
23746 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23748         * ob.el (org-babel-import-elisp-from-file): Allow separator to be
23749         specified.
23751 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23753         * ob-python.el (org-babel-python-table-or-string): Fix recognition
23754         of lists and tuples.
23756 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23758         * ob-octave.el (org-babel-octave-evaluate-external-process):
23759         Allow remote files.
23761 2010-11-11  Juan Pechiar  <pechiar@computer.org>
23763         * ob-octave.el (org-babel-octave-evaluate-external-process):
23764         Use `org-babel-octave-import-elisp-from-file' instead of
23765         `org-babel-eval-read-file'.
23766         (org-babel-octave-var-to-octave): Separate matrix rows with ';',
23767         and use '%s' as format specifier instead of '%S'.
23769 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23771         * ob-octave.el: Only (require 'matlab) when necessary.
23772         (org-babel-octave-initiate-session): (require) octave-inf or matlab
23773         as appropriate.
23774         (org-babel-execute:matlab): Remove (require).
23775         (org-babel-prep-session:matlab): Remove (require).
23776         (org-babel-matlab-initiate-session): Remove (require).
23778 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23780         * ob-octave.el (org-babel-octave-evaluate): Fix formal argument
23781         list.
23783 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23785         * ob-python.el (org-babel-python-table-or-string): Can now handle
23786         VERY long result lines.
23788 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23790         * org-latex.el (org-export-latex-tables): Add label if any.
23792         * org-latex.el (org-export-latex-convert-table.el-table):
23793         Fix little mistake when inserting label.
23795 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23797         * org.el (org-cycle-internal-local): Remove an unnecessary call
23798         to `org-back-to-heading' that was preventing point to stay at its
23799         column when cycling visibility.
23801 2010-11-11  Noorul Islam  <noorul@noorul.com>
23803         * org-capture.el (org-capture-finalize): Make messages consistent.
23805 2010-11-11  Noorul Islam  <noorul@noorul.com>
23807         * org-gnus.el: Suppress compiler warning by declaring outside
23808         function nnimap-retrieve-headers-from-file.
23810 2010-11-11  Noorul Islam  <noorul@noorul.com>
23812         * org-colview.el Use org-beamer-select-environment instead of
23813         org-beamer-set-environment-tag.
23815 2010-11-11  Matt Lundin  <mdl@imapmail.org>
23817         * org.el (org-insert-time-stamp): Fix org-insert-time-stamp so
23818         that the value of org-last-inserted-timestamp includes time range.
23820 2010-11-11  David Maus  <dmaus@ictsoc.de>
23822         * org-wl.el (org-wl-store-link-message): Provide link property for
23823         message-id without angle brackets.
23825 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23827         * ob-R.el (org-babel-R-evaluate): Improve prompt-stripping regexp.
23829 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23831         * ob-tangle.el (org-babel-find-file-noselect-refresh): Finds a
23832         file ensuing that the latest changes on disk are represented.
23834 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23836         * ob-sqlite.el (org-babel-sqlite-expand-vars): Now inserts string
23837         arguments w/o quotes.
23839 2010-11-11  Bernt Hansen  <bernt@norang.ca>
23841         * org-capture.el (org-capture-finalize): Fix clock in of
23842         interrupted task during capture finalize.
23844 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23846         * ob-R.el (org-babel-R-evaluate): Clean up extra prompts in
23847         session output.
23849 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23851         * ob-C.el (org-babel-C-ensure-main-wrap): More generous regular
23852         expression for matching main function.
23854 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23856         * ob-lob.el (org-babel-lob-one-liner-regexp): Fix error in lob
23857         regexp -- it wasn't matching lob lines w/o indices.
23859 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23861         * org-exp.el (org-export-latex-listings-w-names): Fix compiler
23862         warning in org-exp.el.
23864 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23866         * org-publish.el (org-publish-file): Better error message if
23867         base-directory or publishing-directory are not defined.
23869 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23871         * org-colview.el (org-columns-display-here): Use overlays to
23872         overrule line prefix properties during column view.
23874 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23876         * org-agenda.el (org-agenda-filter-preset): Document the
23877         limitation for the filter preset - it can only be used for an
23878         entire agenda view, not in an individual block in a block agenda.
23880 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23882         * ob-table.el (sbe): Now able to accept range references from
23883         tables.
23885 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23887         * ob.el (org-babel-pick-name): If colnames or rownames contain a
23888         list of names, then use those directly.
23890 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23892         * org-exp.el (org-export-format-source-code-or-example):
23893         Escape underscores in code block names on latex listings export.
23895 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23897         * ob-tangle.el (org-babel-with-temp-filebuffer):
23898         Use find-file-noselect to avoid excess buffer movement.
23900 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23902         * org-html.el (org-html-should-inline-p): Only inline images if
23903         they should be.
23905 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23907         * org-id.el (org-id-store-link): Autoload.
23909         * org.el ("org-id"): Autoload `org-id-store-link'.
23911 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23913         * org-html.el (org-html-should-inline-p): Only inline images if
23914         they should be.
23916 2010-11-11  Eric S Fraga  <e.fraga@ucl.ac.uk>
23918         * org-icalendar.el (org-icalendar-alarm-time): New option.
23920         * org-icalendar.el (org-print-icalendar-entries): Timed events are
23921         exported with alarm events, a.k.a. reminders.
23923 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23925         * org-capture.el (org-capture-target-buffer): Throw an error if we
23926         have no target file.
23927         (org-capture-select-template): Use a default template if the user
23928         has not specified any.
23930 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23932         * org.el (org-modules): Add entry for org-velocity.
23934 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23936         * ob-lob.el (org-babel-lob-execute): Changing indentation to
23937         improve line length.
23939 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23941         * org-exp.el (org-export-handle-table-metalines): Choose a better
23942         position for checking protectedness.
23944 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23946         * org-table.el (org-table-convert-region): Don't continue csv
23947         importation which the point catches the end, this fixes an
23948         infinite loop which was caused by the (point) never catching up
23949         with the "end" marker.
23951 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23953         * org-macs.el (org-string-nw-p): New function.
23955         * org-capture.el (org-capture-import-remember-templates):
23956         Interpret an empty string as request to use
23957         `org-default-notes-file'.
23958         (org-capture-target-buffer): If the FILE is not a (non-empty)
23959         string, use `org-default-notes-file'.
23961 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23963         * org-capture.el (org-capture-templates): Fix customize type.
23965 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
23967         * org.el (org-refile-targets):
23968         * org-agenda.el (org-agenda-hide-tags-regexp): Fix typos in docstrings.
23970 2010-08-19  Glenn Morris  <rgm@gnu.org>
23972         * org.el (org-outline-overlay-data, org-set-outline-overlay-data)
23973         (org-save-outline-visibility): Move to org-macs.
23974         * org-macs.el (org-outline-overlay-data, org-set-outline-overlay-data)
23975         (org-save-outline-visibility): Move here from org.el.
23976         (show-all): Autoload it.
23977         * ob.el: Don't require org when compiling.
23979 2010-08-18  Glenn Morris  <rgm@gnu.org>
23981         * ob.el: Require org when compiling.
23982         (org-save-outline-visibility): Remove macro declaration.
23983         * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
23984         Remove unnecessary/macro declarations.
23985         * org-docview.el: Require doc-view when compiling.
23986         (doc-view-goto-page): Autoload rather than declaring.
23987         (doc-view-current-page): Remove macro declaration.
23989 2010-08-17  Glenn Morris  <rgm@gnu.org>
23991         * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
23992         (org-entry-get, org-table-import): Fix declarations.
23993         (org-match-string-no-properties): Remove unnecessary declaration.
23994         * ob-sh.el (org-babel-comint-in-buffer)
23995         (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
23996         (org-babel-comint-with-output): Remove unnecessary declarations.
23997         * ob-R.el (orgtbl-to-tsv): Fix declaration.
23998         * org-list.el (org-entry-get): Fix declaration.
24000 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24002         * ob-C.el: New file.
24003         * ob-R.el: New file.
24004         * ob-asymptote.el: New file.
24005         * ob-clojure.el: New file.
24006         * ob-comint.el: New file.
24007         * ob-css.el: New file.
24008         * ob-ditaa.el: New file.
24009         * ob-dot.el: New file.
24010         * ob-emacs-lisp.el: New file.
24011         * ob-eval.el: New file.
24012         * ob-exp.el: New file.
24013         * ob-gnuplot.el: New file.
24014         * ob-haskell.el: New file.
24015         * ob-keys.el: New file.
24016         * ob-latex.el: New file.
24017         * ob-lob.el: New file.
24018         * ob-matlab.el: New file.
24019         * ob-mscgen.el: New file.
24020         * ob-ocaml.el: New file.
24021         * ob-octave.el: New file.
24022         * ob-perl.el: New file.
24023         * ob-python.el: New file.
24024         * ob-ref.el: New file.
24025         * ob-ruby.el: New file.
24026         * ob-sass.el: New file.
24027         * ob-screen.el: New file.
24028         * ob-sh.el: New file.
24029         * ob-sql.el: New file.
24030         * ob-sqlite.el: New file.
24031         * ob-table.el: New file.
24032         * ob-tangle.el: New file.
24033         * ob.el: New file.
24035 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24037         * org-mks.el: New file.
24038         * org-capture.el: New file.
24040 2010-07-19  Christian Egli  <christian.egli@sbszh.ch>
24042         * org-taskjuggler.el: New file.
24044 2010-07-19  Matt Lundin  <mdl@imapmail.org>
24046         * org-agenda.el (org-search-view): Fix inclusion of agenda-archives
24047         in org-agenda-text-search-extra-files.
24049 2010-07-19  David Maus  <dmaus@ictsoc.de>
24051         * org-list.el (org-list-send-list): Locally bind variable `txt'.
24053 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24055         * org.el (org-reload): Now also reloading babel files.
24057 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24059         * org-capture.el (org-capture-set-plist): Make sure txt is a string
24060         before calling `string-match'.
24061         (org-capture-templates): Fix customization type.
24063 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24065         * org-latex.el (org-export-latex-preprocess): Make a special case
24066         for \nbsp.
24067         (org-latex-entities): Remove the entry for \nbsp.
24068         (org-latex-entities-exceptions): Variable removed.
24070 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24072         * org-capture.el (org-capture-refile): Do not try to manipulate
24073         bookmark list.
24075         * org.el (org-refile): Use the correct bookmark here.
24077 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24079         * org-list.el (org-list-send-list): Parse list from its true beginning.
24081         * org.el (org-ctrl-c-ctrl-c): Maybe send the list when at a list item.
24083 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24085         * org.el (org-insert-link): Correctly determine if we should use
24086         a relative path.
24088 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24090         * org-list.el (org-list-radio-list-templates): Fix templates.
24092 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24094         * org-list.el (org-list-send-list): Regexp defining the start of
24095         a radio list is now on par with the one used for radio tables.
24097 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24099         * org-entities.el (org-entities-help): Add a headline for
24100         the user-defined entities.
24102 2010-07-19  Dirk-Jan C. Binnema  <djcb.bulk@gmail.com>  (tiny change)
24104         * org-agenda.el (org-agenda-action): Document capture key and add it
24105         to the prompt.
24107 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24109         * org-latex.el (org-export-latex-listings-langs): Add (sqlite "SQL").
24111 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24113         * org-latex.el (org-export-latex-first-lines): Do not mark
24114         meta lines for removal.  Do not remove BABEL config lines during export.
24116 2010-07-19  David Maus  <dmaus@ictsoc.de>
24118         * org-capture.el (org-capture): Check if
24119         `org-capture-link-is-already-stored' is bound before evaluating.
24121 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24123         * org.el: Add autoload for org-babel-do-load-languages.
24125 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24127         * org-src.el (org-src-lang-modes): Add sqlite to sql-mode.
24129 2010-07-19  David Maus  <dmaus@ictsoc.de>
24131         * org-feed.el: Change indentation to match coding style
24132         guideline.
24134 2010-07-19  David Maus  <dmaus@ictsoc.de>
24136         * org-feed.el (org-feed-unescape, org-feed-parse-atom-feed): Load XML
24137         library if necessary.
24139 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24141         * org-beamer.el (org-beamer-amend-header): Standardize the
24142         header cookie for the beamer extra stuff.
24144 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24146         * org-beamer.el (org-beamer-amend-header): Put extra header
24147         last in header.
24149 2010-07-19  David Maus  <dmaus@ictsoc.de>
24151         * org-exp-blocks.el (org-export-blocks-format-ditaa)
24152         (org-export-blocks-format-dot): Remove text properties of body before
24153         calculating cache hash.
24155 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24157         * org-latex.el (org-export-latex-tabular-environment): New option.
24158         (org-export-latex-tables): Use `org-export-latex-tabular-environment'.
24160 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24162         * org-compat.el (org-version-check): New function.
24164         * org-indent.el (org-indent-mode): Check for exact emacs version.
24166 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24168         * org-capture.el (org-capture-templates): Allow the template
24169         to come from a file or function call.
24170         (org-capture-place-entry): Get the template from file or function.
24172 2010-07-19  David Maus  <dmaus@ictsoc.de>
24174         * org-agenda.el (org-agenda-bulk-action): Don't create marker for
24175         position if target is entire file.
24177 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24179         * org.el (org-autoload): Autoload a few more org-table functions.
24181 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24183         * org.el (org-babel-load-languages): Add ob-mscgen.
24185 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24187         * org-latex.el (org-export-latex-tables): Format string now
24188         matches options.
24190 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24192         * org.el (org-babel-load-languages): This variable controls which
24193         languages will be loaded by org-babel.  It is customizable through
24194         the customize interface.
24196 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24198         * org-latex.el (org-export-latex-format-image): Update number of
24199         arguments to allow for an optional short-name.
24201 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24203         * org-indent.el (org-indent-mode): Refuse to turn on prior to Emacs 23.2.
24205 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24207         * org-capture.el (org-capture-set-target-location):
24208         Store exact positions for file+regexp and file+function targets.
24209         (org-capture-place-entry, org-capture-place-item)
24210         (org-capture-place-table-line, org-capture-place-plain-text):
24211         Respect exact positions.
24212         (org-capture-finalize): Make sure we are at the beginning of a line
24213         when fixing the empty lines after the entry.
24215 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24217         * org.el (org-entry-get-with-inheritance): New argument LITERAL-NIL.
24218         (org-entry-get): Pass `literal-nil' into
24219         `org-entry-get-with-inheritance'.
24220         (org-todo): React to nil values of the LOGGING property.
24222 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24224         * org.el (org-default-notes-file): Update docstring.
24226 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24228         * org.el (org-link-frame-setup): Use `org-gnus-no-new-news' as default.
24230 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24232         * org-exp.el (org-export-attach-captions-and-attributes):
24233         Add a shortname attribute to caption strings under the symbol name
24234         org-caption-shortn.
24236 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24238         * org.el (org-switchb): Rename from `org-iswitchb'.
24239         Improve docstring.
24240         (org-iswitchb): New alias.
24241         (org-ido-switchb): Make alias point to `org-switchb'.
24243 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24245         * org-capture.el (org-capture-fill-template):
24246         Respect time-of-day preference in template prompt.
24248 2010-07-19  David Maus  <dmaus@ictsoc.de>
24250         * org-feed.el (org-feed-unescape): Remove superfluous lambda.
24252 2010-07-19  David Maus  <dmaus@ictsoc.de>
24254         * org-wl.el (org-wl-disable-folder-check): New customization
24255         variable.
24256         (org-wl-open): Disable folder check depending on
24257         `org-wl-disable-folder-check'.
24259 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24261         * org-capture.el (org-capture-set-target-location):
24262         Fix file+function interpretation.
24264 2010-07-19  David Maus  <dmaus@ictsoc.de>
24266         * org-feed.el (org-feed-parse-rss-entry): Unescape rss element
24267         content.
24269 2010-07-19  David Maus  <dmaus@ictsoc.de>
24271         * org-feed.el (xml-entity-alist): Declare variable
24272         `xml-entity-alist' for byte compiler.
24274 2010-07-19  David Maus  <dmaus@ictsoc.de>
24276         * org-feed.el (org-feed-unescape): New function.
24277         Unescape protected entities.
24278         (org-feed-parse-atom-entry): Use function for atom:content
24279         type text and html.
24281 2010-07-19  David Maus  <dmaus@ictsoc.de>
24283         * org-feed.el (org-feed-parse-rss-feed): Ignore case of rss
24284         element names.
24286 2010-07-19  Bernt Hansen  <bernt@norang.ca>
24288         * org.el (org-time-string-to-absolute): Ignore cyclic repeater
24289         when displaying items on todays agenda date.
24291 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24293         * org-agenda.el (org-agenda-get-progress): Avoid reusing previous
24294         value of EXTRA.
24296 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24298         * org-publish.el (org-publish-initialize-cache):
24299         Make timestamp directory, the entire path to it.
24301 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24303         * org-exp.el (org-export-handle-comments): Make sure to check
24304         for protection in the comment line, and not in the line after it.
24306 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24308         * org-html.el (org-export-html-preprocess): Call org-format-latex,
24309         possibly with a protect-only argument.
24311         * org.el (org-format-latex): New argument PROTECT-ONLY.
24313 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24315         * org-exp.el (org-export-handle-table-metalines): This function
24316         removes table specific meta-lines, now that we aren't wiping
24317         everything that looks remotely like a comment at the end of the
24318         export process we have to be sure to catch all of the specific lines
24319         in org-exp.el.
24321 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24323         * org-exp.el (org-export-select-backend-specific-text): Properly
24324         get rid of #+Backend and #+ATTR_Backend specifics to backends not
24325         matching the one we're exporting to.
24327 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24329         * org-table.el (orgtbl-to-generic): Add the :remove-newlines
24330         option which will strip newline characters from the text of table
24331         cells and replace then with "\n".
24333 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24335         * org.el (org-confirm-shell-link-function)
24336         (org-confirm-elisp-link-function): Limit the values that can be set by
24337         file variables.
24339 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24341         * org.el (org-compute-latex-and-specials-regexp): Deal with
24342         string elements by discarding them.
24344 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24346         * org.el (org-iswitchb): Make sure to use at least iswitchb.
24348 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24350         * org-capture.el (org-capture-position-for-last-stored)
24351         (org-capture-bookmark-last-stored-position): New functions.
24352         (org-capture-place-table-line): Better error catching.
24353         (org-capture-place-item, org-capture-place-entry)
24354         (org-capture-place-plain-text):
24355         Call `org-capture-position-for-last-stored'.
24356         (org-capture-finalize): Just call
24357         `org-capture-bookmark-last-stored-position'.
24359 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24361         * org-exp.el (org-export-mark-blockquote-verse-center):
24362         Fix small bug, now grabbing match data before overwritten by looking-at
24363         this fixes a problem with remainders of #+end_quote lines appearing
24364         in exported output.
24366 2010-07-19  David Maus  <dmaus@ictsoc.de>
24368         * org.el (org-link-frame-setup): Add customization option for
24369         Wanderlust.
24371 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24373         * org-latex.el (org-export-latex-fixed-width): Now check
24374         org-example rather than org-protected on verbatim export, because by
24375         default all ": " prefixed lines are marked protected.
24377 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24379         * org-latex.el (org-export-latex-fixed-width): Check for
24380         protection before wrapping ": " lines as verbatim.
24382 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24384         * org-exp.el (org-export-handle-comments): Check for protection
24385         before removing comments.
24387 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24389         * org-entities.el (org-entities): Restructure the list.
24390         (org-entities-help): Turn the help output into a buffer
24391         in Org-mode, so that it becomes easier to find a symbol
24392         in the structure.
24393         (org-entities-create-table): Deal with new structure.
24395 2010-07-19  David Maus  <dmaus@ictsoc.de>
24397         * org-agenda.el (org-write-agenda): Use backquotes to expand
24398         `flet' at compile time.
24400 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24402         * org.el (org-entry-properties): Make sure that standard property
24403         names are used even if the user has customized time keywords.
24405 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24407         * org-macs.el (org-not-nil): Return the value if not interpreted
24408         as nil.
24410         * org.el (org-entry-get)
24411         (org-entry-get-with-inheritance): Interpret the value "nil"
24412         as nil for properties.
24414 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24416         * org.el (org-switch-to-buffer-other-window): Return the buffer.
24418 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24420         * org-macs.el (org-not-nil): New function.
24422         * org.el (org-block-todo-from-children-or-siblings-or-parent):
24423         Use `org-not-nil' to interpret a property value of nil.
24425 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24427         * org.el (org-truely-invisible-p): New function.
24428         (org-beginning-of-line): Use `org-truely-invisible-p'.
24430 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24432         * org-agenda.el (org-agenda-get-timestamps): No errors
24433         while getting TODO state.
24434         (org-agenda-highlight-todo): No error when no keyword has
24435         been matched.
24437 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24439         * org.el (org-timestamp-change): New optional argument UPDOWN.
24440         Use this to identify calls from org-timestamp-up/down, so that we can
24441         skip by rounding minutes in this case.
24442         (org-timestamp-up, org-timestamp-down, org-timestamp-up-day)
24443         (org-timestamp-down-day): Call org-timestamp-change with the
24444         updown argument.
24446 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24448         * org-agenda.el (org-agenda-action): Make `c' key call org-capture.
24450         * org-capture.el: New file.
24452         * org-compat.el (org-get-x-clipboard): Function moved here from
24453         remember.el.
24455         * org-mks.el: New file.
24457         * org.el (org-set-regexps-and-options): Allow statistic cookies as
24458         part of complex headlines.
24459         (org-find-olp): New argument THIS-BUFFER.  When set, assume that the
24460         OLP does not contain a file name.
24462 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24464         * org.el (org-mode): Set `comment-start' instead of changing the
24465         syntax of the `#' character.
24467 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24469         * org-exp.el (org-export-format-source-code-or-example): Mark examples
24470         by a property.
24472         * org-html.el (org-export-html-close-lists-maybe): Check if raw
24473         HTML stuff was actually made from an example.
24475 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24477         * org-latex.el: Items are no longer skipped when their first line
24478         ends on a protected element.
24480         * org-list.el: Protected environments looking like lists are not
24481         exported anymore.
24483 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24485         * org-exp-blocks.el (org-export-blocks-preprocess):
24486         Cleanup trailing newline after block.
24488 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24490         * org-exp.el: Comment regexp now matches documentation.  No more
24491         protection check when deleting comments before export.
24493 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24495         * org-exp.el (org-export-preprocess-string):
24496         Now using `org-export-handle-include-files-recurse' to resolve
24497         included files.
24499 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24501         * org-agenda.el (org-agenda-get-deadlines)
24502         (org-agenda-get-scheduled):
24503         * org.el (org-time-string-to-seconds):
24504         For deadline and scheduled agenda display ignore the cyclic repeater
24505         when calculating how many days late the task is.  If you have a weekly
24506         task and miss the date the agenda view will show more than a week late
24507         now instead of resetting on the cyclic repeating date.  This makes it
24508         much more obvious when you missed a repeating task after the repeater.
24510 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24512         * org-exp.el (org-export-mark-blockquote-verse-center):
24513         Consider environments that end at eob.
24515 2010-07-19  Mikael Fornius  <mfo@abc.se>
24517         * org.el (org-raise-scripts): Do not fontify sub/superscripts of text
24518         with face `org-special-keyword'.  Make property keys as :LAST_REPEAT:
24519         display correctly.
24521 2010-07-19  Mikael Fornius  <mfo@abc.se>
24523         * org.el (org-at-property-p): Use save-match-data macro instead of let.
24525 2010-07-19  Mikael Fornius  <mfo@abc.se>
24527         * org.el (test): Remove unused test function.
24529 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24531         * org-exp-blocks.el (org-export-blocks-preprocess): Fix typo.
24533 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24535         * org-exp-blocks.el (org-export-blocks-postblock-hook):
24536         Add documentation to and turn into a defcustom.
24538 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24540         * org-exp.el (org-get-file-contents): By un-setting prefix1 to ""
24541         instead of to nil we avoid errors when :prefix1 is defined, but
24542         prefix is not.
24544 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24546         * org-latex.el (org-export-latex-preprocess): Environments coming
24547         from latex backend specific instructions (#+LaTeX) are already
24548         protected and won't be treated as normal environments.
24550 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24552         * org-timer.el (org-timer-set-timer): Fix typo in the docstring.
24554 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24556         * org-timer.el (org-timer-set-timer): Use a prefix argument.
24557         See the docstring of the function.
24559 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24561         * org-timer.el (org-timer-set-timer): Fix bug about canceling
24562         timers.
24564 2010-07-19  David Maus  <dmaus@ictsoc.de>
24566         * org-w3m.el (org-w3m-copy-for-org-mode)
24567         (org-w3m-get-next-link-start, org-w3m-get-prev-link-start):
24568         Get text property directly, not using macro `w3m-anchor'.
24570 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24572         * org.el (org-emph-re): Document the match groups.
24574 2010-07-19  Bernt Hansen  <bernt@norang.ca>
24576         * org-clock.el (org-clock-in): Set `org-clock-clocking-in' to
24577         t before calling `org-clock-out', so that that function can
24578         know its call context.
24580 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24582         * org-timer.el (org-timer-default-timer): New variable.
24583         (org-timer-set-timer): Use the new variable.  Also offer the
24584         possibility to replace the current timer by a new one.
24586 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24588         * org.el (org-kill-note-or-show-branches): Hide subtree before
24589         exposing the headings.
24591 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24593         * org.el (org-add-planning-info): Remove the empty line also
24594         if there is no whitespace at all in there.
24596         * org-table.el (org-table-align): Fix alignment of strings
24597         with invisible characters.
24599 2010-07-19  David Maus  <dmaus@ictsoc.de>
24601         * org.el (org-refile-cache-get): Return empty list of targets
24602         when cache was cleared.
24603         (org-clone-subtree-with-time-shift): Maybe create ID property
24604         in cloned subtrees.
24605         (org-clone-delete-id): New customization variable.
24606         (org-clone-subtree-with-time-shift): Use customization
24607         variable `org-clone-delete-id'.
24608         (org-clone-subtree-with-time-shift): Remove empty property
24609         drawer in cloned subtrees.
24611 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24613         * org.el (org-refile-use-cache): New option.
24614         (org-refile-cache, org-refile-markers): New variable.
24615         (org-refile-marker, org-refile-cache-clear)
24616         (org-refile-cache-check-set, org-refile-cache-put)
24617         (org-refile-cache-get): New function.
24618         (org-get-refile-targets): Use the refile cache.
24620         * org-clock.el (org-clock-sum): Don't include running clock if
24621         the time block is wrong.
24623 2010-07-19  John Wiegley  <jwiegley@gmail.com>
24625         * org-clock.el (org-clock-clock-in, org-clock-in):
24626         Add parameter `start-time'.
24627         (org-clock-resolve-clock): Add parameter `clock-out-time'.
24628         If set, and resolve-to is a past time, then the clock out
24629         event occurs at `clock-out-time' rather than at `resolve-to'.
24630         In this case, `resolve-to' becomes the clock in time.
24631         (org-clock-jump-to-current-clock): Create new global command
24632         to reveal the current clock.
24633         (org-clock-resolve): Add new commands g/G and j/J, and a
24634         help window describing all commands and their meaning.
24635         (org-clock-resolve-expert): New customization variable.
24636         (org-find-open-clocks): Fix a bug that caused discovered
24637         clocks not to match up with the currently active clock.
24638         (org-resolve-clocks): Change the argument
24639         `also-non-dangling-p' to `only-dangling-p', since due to a bug
24640         this was the default behavior all along.
24642 2010-07-19  David Maus  <dmaus@ictsoc.de>
24644         * org-id.el (org-id-uuid): New function.  Return string with
24645         random (version 4) UUID.
24646         (org-id-method): Make 'uuid the new default value.
24647         (org-id-new): Use `org-id-uuid' if call to uuidgen program
24648         does not return a UUID.
24650 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24652         * org-latex.el (org-export-latex-format-image): Add support
24653         for multicolumn figures in LaTeX.
24655 2010-07-19  David Maus  <dmaus@ictsoc.de>
24657         * org.el (org-clone-subtree-with-time-shift): Remove ID
24658         property of original subtree in cloned subtrees.
24660 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24662         * org-exp.el (org-export-format-source-code-or-example):
24663         XEmacs compatibility.
24665         * org-latex.el (org-export-latex-tables): Accept comma in
24666         align string.
24668         * org-docbook.el (org-export-docbook-xslt-stylesheet): New option.
24669         (org-export-docbook-xslt-proc-command): Fix docstring.
24670         (org-export-docbook-xsl-fo-proc-command): Fix docstring.
24671         (org-export-as-docbook-pdf):
24672         Improve formatting of the xslt command.
24674         * org-exp.el (org-infile-export-plist): Check for XSLT setting.
24676         * org.el (org-file-contents): Improve error message.
24677         (org-set-regexps-and-options): Remove spaces at both ends.
24679 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24681         * org-docbook.el (org-export-as-docbook-pdf):
24682         Improve formatting of the xslt command.
24684 2010-07-19  Sebastian Rose  <sebastian_rose@gmx.de>
24686         * org-publish.el (org-publish-cache): Use one big hashmap for
24687         each project defined in `org-publish-project-alist'.
24688         (initialize-files-alist): Function removed.
24689         (org-publish-validate-link): Function removed.
24690         (org-publish-get-base-files): Add variable `sitemap-requested'
24691         to avoid sorting where possible.
24692         (org-publish-get-files): Function removed.
24693         (org-publish-get-project-from-filename): Make independent of
24694         file list.
24695         (org-publish-file): New argument NO-CACHE.
24697 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24699         * org.el (org-beginning-of-defun, org-end-of-defun):
24700         New functions.
24701         (org-mode): Install the `org-beginning-of-defun' and
24702         `org-end-of-defun' functions.
24703         (org-pretty-entities): New option.
24704         (org-toggle-pretty-entities): New command.
24705         (org-fontify-entities): New function.
24706         (org-startup-options): New keywords for pretty entities.
24707         (org-set-font-lock-defaults): Call the pretty entities
24708         function.
24710         * org-latex.el (org-export-latex-keywords-maybe): Protect the
24711         TODO markup.
24713 2010-07-19  Mikael Fornius  <mfo@abc.se>
24715         * org-habit.el (org-habit-build-graph): Help-echo date when
24716         mouse is over stars.
24718 2010-07-19  Jan Böcker  <jan.boecker@jboecker.de>
24720         * org.el (org-file-apps): Improve docstring to reflect
24721         grouping matches.
24723 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24725         * org.el (org-set-startup-visibility): Fix empty line display.
24727         * org-latex.el (org-export-latex-links): Use the formatting
24728         function of the link type, if it is available.
24730         * org-table.el (org-table-get-remote-range): Return to
24731         original buffer when retrieving remote reference.
24733         * org.el (org-display-inline-images): Do the entire buffer,
24734         not just the narrowed region.  Clear the cache.
24735         (org-display-inline-images): Match mode file paths.
24737 2010-07-19  David Maus  <dmaus@ictsoc.de>
24739         * org-wl.el (org-wl-store-link-folder): Don't throw error when
24740         called on WL folder group.
24742 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24744         * org.el (org-replace-escapes): Make sure the cdr is not nil.
24745         (org-read-date): Make `M-v' and `C-v' scroll the popup calendar.
24746         (org-mode): Revert comment syntax changes.
24748 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24750         * org.el (org-sparse-tree): Make `C-c / t' search for all TODO
24751         keywords, and `C-c / T' for a specific one.
24753 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24755         * org.el (org-mode): Fix comment syntax settings.
24757         * org-src.el (org-edit-src-allow-write-back-p):
24758         Define variable.
24760         * org.el (org-inline-image-overlays): New variable.
24761         (org-toggle-inline-images, org-display-inline-images)
24762         (org-remove-inline-images): New commands.
24763         (org-mode-map): Define a key for `org-toggle-inline-images'.
24765 2010-07-19  David Maus  <dmaus@ictsoc.de>
24767         * org-wl.el (org-wl-message-field): New function.
24768         Return content of header field in message entity.
24769         (org-wl-store-link): Call `org-wl-store-link-folder' or
24770         `org-wl-store-link-message' depending on major-mode.
24771         (org-wl-store-link-folder): New function.  Store link to
24772         Wanderlust folder.
24773         (org-wl-store-link-message): New function.  Store link to
24774         Wanderlust message.
24775         (org-wl-store-link-message): Store link to message while
24776         visiting message.
24777         (org-wl-open): Don't try to jump to message when opening a
24778         folder link.
24780 2010-07-19  David Maus  <dmaus@ictsoc.de>
24782         * org.el (org-replace-escapes): Avoid infinite loop when
24783         replace string contains escape sequence it replaces.
24785 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24787         * org-crypt.el (org-crypt-key-for-heading): Use symmetric
24788         encryption when now key is set.
24790 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24792         * org-table.el (org-table-recalculate-buffer-tables)
24793         (org-table-iterate-buffer-tables): New commands.
24795         * org.el (org-check-for-hidden): When there is a region, skip
24796         the check.
24798 2010-07-19  Dan Davison  <davison@stats.ox.ac.uk>
24800         * org-src.el (org-edit-src-code): allow-write-back-p had
24801         erroneously been omitted from let binding.
24803 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24805         * org-agenda.el (org-sorting-choice): New sorting type alpha.
24806         (org-cmp-alpha): New defsubst.
24807         (org-em): New defsubst.
24808         (org-entries-lessp): Only compute needed comparisons.
24810 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24812         * org-html.el (org-format-org-table-html): Test all columns
24813         for number content.
24815 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24817         * org-latex.el (org-export-latex-treat-sub-super-char):
24818         Make sure parenthesis matching is consistent.
24820         * org-table.el (org-table-colgroup-line-p)
24821         (org-table-cookie-line-p): New functions.
24823         * org-exp.el (org-table-clean-before-export): Better tests for
24824         colgroup and cookie lines.
24826 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24828         * org-agenda.el (org-agenda-goto): Push a mark before changing
24829         the position.
24831         * org-footnote.el (org-footnote): New group.
24832         (org-footnote-section)
24833         (org-footnote-tag-for-non-org-mode-files): Fix typos.
24835         * org-list.el (org-end-of-item-text-before-children): Also do
24836         the right thing at the end of a file.
24838         * org.el (org-set-packages-alist, org-get-packages-alist):
24839         New function.
24840         (org-export-latex-default-packages-alist)
24841         (org-export-latex-packages-alist): Add extra flag to
24842         each package, indicating if it should be used for snippets.
24843         (org-create-formula-image): Add the snippet argument.
24844         (org-splice-latex-header): New argument SNIPPET-P, pass it
24845         through to `org-latex-packages-to-string'.
24846         (org-latex-packages-to-string): New argument SNIPPET-P.
24848         * org-latex.el (org-export-latex-make-header): Add the snippet
24849         argument.
24851         * org-docbook.el (org-export-as-docbook): Implement ordered
24852         lists starting at some offset.
24854 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24856         * org.el (org-link-types, org-open-at-point): Add doi links.
24858         * org-ascii.el (org-export-ascii-preprocess): Remove list
24859         startcounter cookies.
24861         * org-list.el (org-renumber-ordered-list): Respect counter
24862         start values.
24864         * org-latex.el (org-export-latex-lists): Accept ordered list
24865         item offset cookie.
24867         * org-html.el (org-export-as-html): Accept ordered list
24868         item offset cookie.
24870         * org-indent.el (org-indent-mode): Turn off `indent-tabs-mode'
24871         which messes up alignment of tags.
24873 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24875         * org-clock.el (org-clock-cancel, org-clock-out): Make sure
24876         the modeline display is removed.
24878         * org-exp.el (org-export-format-drawer-function):
24879         Fix docstring.
24881         * org-agenda.el (org-agenda-refile): New optional argument
24882         NO-UPDATE.
24883         (org-agenda-refile): Call `org-agenda-redo' unless NO-UPDATE
24884         is set.
24885         (org-agenda-bulk-action): Call the refile command with updates
24886         suppressed - but arrange for `org-agenda-redo' to be called at
24887         the end.
24889         * org.el (org-mode): Make table mapping quiet.
24890         (org-table-map-tables): New optional argument QUIETLY.
24892         * org-ascii.el (org-export-ascii-preprocess): Make table
24893         mapping quiet.
24895         * org-html.el (org-export-as-html, org-html-level-start):
24896         Change XHTML IDs to not use dots.
24898         * org-exp.el (org-export-define-heading-targets):
24899         Change XHTML IDs to not use dots.
24901         * org-docbook.el (org-export-docbook-level-start):
24902         Change XHTML IDs to not use dots.
24904         * org-latex.el (org-export-as-latex): Make sure that the
24905         result buffer is in latex-mode.
24907         * org.el (org-shiftup-final-hook, org-shiftdown-final-hook)
24908         (org-shiftleft-final-hook, org-shiftright-final-hook):
24909         New hooks.
24911 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24913         * org-table.el (org-table-justify-field-maybe): Make sure that
24914         inserting a value does not turn a line into a hline.
24916 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24918         * org-clock.el (org-clock-sum): New argument HEADLINE-FILTER.
24919         (org-clock-sum): Add property to selected headlines.
24920         (org-dblock-write:clocktable): Make tags matcher.
24922         * org.el (org-set-autofill-regexps): XEmacs compatibility.
24924         * org-latex.el (org-export-latex-set-initial-vars): Allow "-"
24925         in latex class definitions.
24927         * org.el (org-shiftup-hook, org-shiftdown-hook)
24928         (org-shiftleft-hook, org-shiftright-hook): New hooks.
24930         * org-entities.el (org-entities): Use \land and \lor for logical
24931         operators.
24933         * org.el (org-shiftmetaleft, org-shiftmetaright): Call the subtree
24934         indentation commands.
24935         (org-hidden-tree-error): New defsubst.
24936         (org-metaleft, org-metaright): Check for hidden stuff and throw an
24937         error.
24938         (org-check-for-hidden): New function.
24940         * org-list.el (org-item-re): New function.
24941         (org-at-item-p): Use `org-item-re'.
24942         (org-end-of-item-text-before-children): New function.
24943         (org-outdent-item, org-indent-item): Arrange for leaving the
24944         subtree alone.
24945         (org-outdent-item-tree, org-indent-item-tree): New argument
24946         NO-SUBTREE.
24947         (org-indent-item-tree): Use `org-end-of-item-text-before-children'
24948         to find the end for processing while ignoring the subtree.
24950         * org-publish.el (org-publish-sitemap-sort-alphabetically)
24951         (org-publish-sitemap-sort-folders)
24952         (org-publish-sitemap-sort-ignore-case): New options.
24954 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24956         * org-publish.el (org-publish-compare-directory-files): Fix sorting.
24958         * org-compat.el (org-get-x-clipboard-compat): Use (featurep 'xemacs).
24960         * org-publish.el (org-publish-project-alist): Update docstring.
24961         (org-publish-file-title-cache): New variable.
24962         (org-publish-initialize-files-alist):
24963         Initialize `org-publish-initialize-files-alist' to nil.
24964         (org-publish-sort-directory-files): New function.
24965         (org-publish-projects): Access the new properties.
24966         (org-publish-find-title): Use the file title cache.
24967         (org-publish-find-title): Build the file title cache.
24968         (org-publish-get-base-files-1): Sort files.
24969         (org-publish-aux-preprocess): Do not throw an error when before
24970         the first headline.  Allow an empty target, meaning to link just
24971         to the file.
24972         (org-publish-index-generate-theindex.inc): Check if there is
24973         actually a target and only then add it to the link.
24974         (org-publish-projects): Fix a remaining issue with the last commit.
24976         * org-html.el (org-export-as-html): Treat verse as open/close
24977         paragraph.
24978         (org-export-html-close-lists-maybe): Allow to splice raw HTML into
24979         and out of lists.
24981 2010-07-19  Dan Davison  <davison@stats.ox.ac.uk>
24983         * org-src.el (org-edit-src-code): Allow the org-src edit buffer to
24984         be used in a read-only mode.
24985         (org-edit-src-code): Different message in read-only mode.
24987 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24989         * org-src.el (org-edit-src-find-region-and-lang): Test for
24990         table.el as late as possible.
24992         * org-colview.el: Make sure this file is never loaded into XEmacs.
24994         * org-agenda.el (org-highlight, org-unhighlight): Use direct
24995         overlay calls.
24997         * org.el (org-key): Apply the translations defined in
24998         `org-xemacs-key-equivalents'.
25000         * org-mouse.el (org-mode-hook): Use `org-defkey'.
25002         * org-compat.el (org-xemacs-key-equivalents): New constant.
25004 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25006         * org-inlinetask.el (org-inlinetask-defaut-state): New option.
25007         (org-inlinetask-insert-task): Use `org-inlinetask-defaut-state'.
25008         Obey `org-odd-levels-only'.
25010         * org-compat.el (org-find-overlays): Use overlays-in/at.
25012         * org.el (org-remove-empty-overlays-at)
25013         (org-outline-overlay-data, org-hide-block-toggle)
25014         (org-format-latex, org-context): Use overlays-in/at.
25016         * org-src.el (org-edit-src-exit): Use overlays-in/at.
25018         * org-agenda.el (org-agenda-mark-clocking-task)
25019         (org-agenda-fontify-priorities, org-agenda-dim-blocked-tasks)
25020         (org-agenda-entry-text-hide)
25021         (org-agenda-fix-tags-filter-overlays-at)
25022         (org-agenda-bulk-remove-overlays): Use overlays-in/at.
25024         * org-compat.el (org-overlays-at): Function removed.
25025         (org-overlays-in): Function removed.
25027 2010-07-19  Bastien Guerry  <bzg@gnu.org>
25029         * org-clock.el (org-clock-set-current): Just return the headline
25030         itself, strip the TODO keyword, the priority cookie and the tags.
25032 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25034         * org-compat.el (org-xemacs-without-invisibility): New macro.
25035         (org-xemacs-without-invisibility): New macro.
25036         (org-indent-to-column, org-indent-line-to, org-move-to-column):
25037         Redefine using the macro `org-xemacs-without-invisibility'.
25039         * org.el (org-mode, org-org-menu): Use `add-to-invisibility-spec'.
25041         * org-table.el (orgtbl-mode): Use `add-to-invisibility-spec'.
25043         * org-compat.el (org-make-overlay, org-delete-overlay)
25044         (org-overlay-start, org-overlay-end, org-overlay-put)
25045         (org-overlay-get, org-overlay-move, org-overlay-buffer):
25046         Functions removed.
25047         (org-add-to-invisibility-spec): Function removed.
25049         * org-html.el (org-export-as-html-and-open): Add argument to
25050         kill-buffer.
25052         * org-habit.el (require): `calendar' is now required already by
25053         org.el on top level.
25055         * org-clock.el (require): `calendar' is now required already by
25056         org.el on top level.
25058         * org-agenda.el (require, org-timeline, org-agenda-list)
25059         (org-todo-list, org-agenda-to-appt): `calendar' is now required
25060         already by org.el on top level.
25062         * org.el (org-export-latex-fix-inputenc): Declare function.
25064         * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
25065         variables.
25067         * org.el (calendar): Require calendar now on top level in org.el
25068         and define aliases to new variables when needed.
25069         (org-read-date, org-goto-calendar): Do not bind obsolete
25070         variables.
25072         * org-clock.el (org-clock-out, org-clock-cancel): Get rid of
25073         compilation warning, add comment that this cannot be done with
25074         `with-current-buffer'.
25076         * org-wl.el (org-wl-open): Use `with-current-buffer'.
25078         * org.el (overlay, org-remove-empty-overlays-at)
25079         (org-outline-overlay-data, org-set-outline-overlay-data)
25080         (org-show-block-all, org-hide-block-toggle)
25081         (org-highlight-new-match, org-remove-occur-highlights)
25082         (org-tags-overlay, org-fast-tag-selection, org-date-ovl)
25083         (org-read-date, org-read-date-display, org-eval-in-calendar)
25084         (org-format-latex, org-context)
25085         (org-speedbar-restriction-lock-overlay)
25086         (org-speedbar-set-agenda-restriction): Use the normal overlay API.
25088         * org-table.el (org-table-add-rectangle-overlay)
25089         (org-table-remove-rectangle-highlight)
25090         (org-table-overlay-coordinates)
25091         (org-table-toggle-coordinate-overlays): Use the normal overlay
25092         API.
25094         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
25095         (org-edit-src-exit, org-src-mode-configure-edit-buffer): Use the
25096         normal overlay API.
25098         * org-colview.el (org-columns-new-overlay)
25099         (org-columns-display-here, org-columns-remove-overlays)
25100         (org-columns-edit-value, org-columns-next-allowed-value)
25101         (org-columns-update): Use the normal overlay API.
25103         * org-clock.el (org-clock-out, org-clock-cancel)
25104         (org-clock-put-overlay, org-clock-remove-overlays): Use the normal
25105         overlay API.
25107         * org-agenda.el (org-agenda-mark-filtered-text)
25108         (org-agenda-mark-clocking-task, org-agenda-fontify-priorities)
25109         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
25110         (org-agenda-entry-text-hide)
25111         (org-agenda-restriction-lock-overlay)
25112         (org-agenda-set-restriction-lock)
25113         (org-agenda-filter-by-tag-hide-line)
25114         (org-agenda-fix-tags-filter-overlays-at)
25115         (org-agenda-filter-by-tag-show-all, org-hl)
25116         (org-agenda-goto-calendar, org-agenda-bulk-mark)
25117         (org-agenda-bulk-remove-overlays): Use the normal overlay API.
25119         * org-freemind.el (org-freemind-from-org-mode-node)
25120         (org-freemind-from-org-mode)
25121         (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
25122         Use interactive-p instead of called-interactively, because this is
25123         backward compatible with older Emacsen I still support..
25125 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25127         * org-exp.el (org-export-define-heading-targets): Fix bug in
25128         regexp finding ID and CUSTOM_ID properties.
25130 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25132         * org-footnote.el (org-footnote-goto-previous-reference):
25133         Rename from `org-footnote-goto-next-reference'.
25135         * org.el (org-auto-repeat-maybe): Only record LAST_REPEAT if
25136         org-log-repeat is non-nil, or if there is clocking data in the
25137         entry.
25139         * org-crypt.el (org-encrypt-entry): Improve mapping behavior.
25141 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25143         * org.el (org-align-all-tags): New command.
25145 2010-07-19  David Maus  <dmaus@ictsoc.de>
25147         * org-wl.el (org-wl-link-remove-filter): New customizable
25148         variable.  If non-nil, filter conditions are stripped when storing
25149         link to message in filter folder.
25150         (org-wl-shimbun-prefer-web-links): New customizable variable.
25151         If non-nil, links to shimbun messages are created as web links to
25152         message source.
25153         (org-wl-nntp-prefer-web-links): New customizable variable.
25154         If non-nil, links to nntp message are created as web links to gmane
25155         or googlegroups.
25156         (org-wl-namazu-default-index): New customizable variable.
25157         Directory of namazu search index that should be used as default
25158         when opening a link in a search folder.
25159         (org-wl-folder-types): New constant.  Wanderlust folder type
25160         indicators.
25161         (org-wl-folder-type): New function.  Return type of Wanderlust
25162         folder.
25163         (org-wl-store-link): Create web links for shimbun or nntp messages
25164         and strip filter conditions depending on customizable variables.
25165         (org-wl-open): Open namazu search folder for message when called
25166         with prefix.
25168 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25170         * org.el (org-remove-if, org-remove-if-not): New functions.
25171         (org-open-file): Use internal remove-if functions.
25173 2010-07-19  Jan Böcker  <jan.boecker@jboecker.de>
25175         * org.el (org-file-apps-entry-match-against-dlink-p): New function.
25176         (org-file-apps-ex): Remove variable.
25177         (org-open-file): Integrate org-file-apps-ex functionality back
25178         into org-file-apps, and decide whether to match a regexp against
25179         the link or the filename using org-file-apps-entry-uses-grouping-p.
25181 2010-07-19  Jan Böcker  <jan.boecker@jboecker.de>
25183         * org.el (org-file-apps-ex): New variable.
25184         (org-open-file): Before considering org-file-apps, first match the
25185         regexps from org-file-apps-ex against the whole link.
25186         See docstring of org-file-apps-ex.
25188 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25190         * org.el (org-export-latex-default-packages-alist):
25191         Remove microtype package.
25192         (org-todo-repeat-to-state): New variable.
25193         (org-auto-repeat-maybe): Allow user-selected target states.
25194         (org-default-properties): Add the new property REPEAT_TO_STATE.
25196 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25198         * org-mobile.el (org-mobile-check-setup): Make sure that there is
25199         a binary to compute checksums.
25201 2010-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
25203         * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
25204         variables.
25206         * org.el (calendar): Require calendar now on top level in org.el
25207         and define aliases to new variables when needed.
25208         (org-read-date, org-goto-calendar): Do not bind obsolete
25209         variables.
25211 2010-06-22  Glenn Morris  <rgm@gnu.org>
25213         * org-entities.el: Add explicit utf-8 coding cookie to file with
25214         utf-8 characters.
25216 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
25218         * org.el (org-file-complete-link): Avoid (expand-file-name ".").
25220 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
25222         * Version 23.2 released.
25224 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
25226         * org-table.el (orgtbl-setup):
25227         * org-agenda.el (org-agenda-entry-text-mode): Simplify.
25229 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
25231         * org-table.el (orgtbl-mode): Use define-minor-mode.
25233 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25235         * org.el (org-insert-link): Find the link buffer on visible frames.
25236         (org-export-latex-default-packages-alist): Hyperref must be loaded
25237         late.
25238         (org-open-file): More care with the new matching for file links.
25240 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25242         * org-latex.el (org-export-latex-preprocess): Do not yet protect
25243         defined entities - these will be taken care of later.
25244         (org-export-latex-special-chars): Post-process entity replacement.
25245         (org-export-latex-fontify-headline): Do not yet protect defined
25246         entities - these will be taken care of later.
25247         (org-export-latex-tables, org-export-latex-links): Format the
25248         caption properly.
25250         * org-entities.el (org-entities-user): Fix typo.
25252         * org.el (org-prepare-agenda-buffers): Uniquify TODO keywords.
25254         * org-entities.el (org-entities-user): Improve docstring.
25256 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25258         * org-entities.el (org-macs): Require org-macs, to be sure that we
25259         have `declare-function' defined.
25261 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25263         * org-latex.el (org-export-latex-classes): Update docstring.
25265         * org.el (org-format-latex-header): Add cookies to the header.
25266         (org-splice-latex-header): Implement placement according to cookies.
25268 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25270         * org-publish.el (org-publish-aux-preprocess): Control case
25271         sensitivity.
25273 2010-04-10  Bastien Guerry  <bzg@gnu.org>
25275         * org.el (org-splice-latex-header): Fix typo.
25277 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25279         * org-latex.el (org-export-latex-make-header):
25280         Use `org-splice-latex-header' to build the header.
25281         (org-export-latex-classes): Update docstring.
25283         * org.el (org-splice-latex-header): New function.
25284         (org-create-formula-image): Use `org-splice-latex-header' to build
25285         the header.
25287         * org-gnus.el (org-gnus-follow-link): Handle nndoc backend.
25289 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25291         * org.el (org-export-latex-packages-alist)
25292         (org-export-latex-default-packages-alist): Fix docstring to
25293         reflect the expected structure.
25295         * org-docbook.el (org-docbook-do-expand): Fix bug with variable names.
25296         (org-export-docbook-finalize-table): Make use of label for tables.
25298 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25300         * org-attach.el (org-attach-commit): Split on newlines.
25302         * org.el (org-export-latex-default-packages-alist): Use list
25303         instead of cons for the entries.
25305 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25307         * org-entities.el (org-entity-get-representation): Catch the case
25308         that there is not entry in the list.
25310         * org-mobile.el (org-mobile-use-encryption)
25311         (org-mobile-encryption-tempfile, org-mobile-encryption-password):
25312         New options.
25313         (org-mobile-check-setup): CHeck the encryption setup.
25314         (org-mobile-copy-agenda-files, org-mobile-sumo-agenda-command)
25315         (org-mobile-create-sumo-agenda): Use encryption code.
25316         (org-mobile-encrypt-and-move): New function.
25317         (org-mobile-encrypt-file, org-mobile-decrypt-file):
25318         New functions.
25319         (org-mobile-move-capture): Decrypt the capture file.
25321         * org.el (org-entities): Require the new file.
25322         (org-export-latex-default-packages-alist): New variable.
25323         (org-complete): Use new entity code for completion.
25324         (org-create-formula-image): Use the new packages variable.
25326         * org-latex.el (org-export-latex-classes): Remove the standard
25327         packages from the class headers.
25328         (org-export-latex-make-header): Use the new package variable.
25329         (org-export-latex-special-chars): Better regexp for entities, to
25330         support entity name that contain numbers.
25331         (org-export-latex-treat-backslash-char): Use the new entity code.
25333         * org-html.el (org-html-do-expand): Use the new entity code.
25335         * org-exp.el (org-export): Add the new export commands.
25336         (org-html-entities): Constant removed.
25337         (org-export-visible): Add the new export commands.
25339         * org-docbook.el (org-docbook-do-expand): Use new entity code.
25341         * org-ascii.el (org-export-ascii-entities): New variable.
25342         (org-export-as-latin1, org-export-as-latin1-to-buffer)
25343         (org-export-as-utf8, org-export-as-utf8-to-buffer): New commands.
25344         (org-export-as-encoding): New function.
25345         (org-export-ascii-preprocess): Call `org-ascii-replace-entities'.
25346         (org-ascii-replace-entities): New function.
25348 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25349             Ulf Stegemann  <ulf@zeitform.de>
25351         * org-entities.el: New file.
25353 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25355         * org-html.el (org-html-level-start): Catch the case that target
25356         might be nil.
25358 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25360         * org.el (org-appearance): Change Customize group variable name
25361         from org-font-lock to org-appearance, and change tag from "Org
25362         Font Lock" to "Org Appearance".
25363         (org-odd-levels-only): Change Customize group variable name.
25364         (org-level-color-stars-only): Change Customize group variable name.
25365         (org-hide-leading-stars): Change Customize group variable name.
25366         (org-hidden-keywords): Change Customize group variable name.
25367         (org-fontify-done-headline): Change Customize group variable name.
25368         (org-fontify-emphasized-text): Change Customize group variable name.
25369         (org-fontify-whole-heading-line): Change Customize group variable name.
25370         (org-highlight-latex-fragments-and-specials): Change Customize
25371         group variable name.
25372         (org-hide-emphasis-markers): Change Customize group variable name.
25373         (org-emphasis-alist): Change Customize group variable name.
25374         (org-emphasis-regexp-components): Change Customize group variable
25375         name.
25376         (org-modules): Remove mention of org-R.
25378         * org-faces.el (org-faces): Change Customize group variable name.
25380 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25382         * org-agenda.el (org-diary-last-run-time): New variable.
25383         (org-diary): Prepare agenda buffers only if last call was some
25384         time ago.
25386         * org-html.el (org-export-html-preprocess): Replace \ref macros
25387         with a link.
25388         (org-format-org-table-html): Add the label as an anchor.
25390         * org-docbook.el (org-export-docbook-format-image): Do some
25391         formatting on captions.
25393         * org-latex.el (org-export-latex-tables, org-export-latex-links):
25394         Do some formatting on captions.
25396         * org-html.el (org-export-html-format-image)
25397         (org-format-org-table-html): Do some formatting on captions.
25399 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25401         * org.el (org-hidden-keywords): New customizable variable.  This is
25402         a list of symbols specifying which of the special keywords #+DATE,
25403         #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock.
25404         (org-fontify-meta-lines-and-blocks): Changes to font-lock code
25405         implementing new faces and hiding behavior.
25407         * org-faces.el (org-document-title): New face for #+TITLE lines.
25408         (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines.
25409         (org-document-info-keyword): New face for #+DATE, #+AUTHOR, #+EMAIL
25410         keywords.
25412 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25414         * org-publish.el (org-publish-sanitize-plist): New function to
25415         rename "index" properties to "sitemap".  Do this renaming
25416         globally.
25417         (org-publish-with-aux-preprocess-maybe): New macro.
25418         (org-publish-org-to-pdf, org-publish-org-to-html): Use the new
25419         macro.
25420         (org-publish-aux-preprocess)
25421         (org-publish-index-generate-theindex.inc): New function.
25423 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25425         * org-table.el (org-table-align): Interpret <N> at fixed width,
25426         not as maximum width.
25428 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25430         * org-exp.el (org-export-author-info, org-export-email-info):
25431         Fix docstrings.
25433         * org-beamer.el (org-beamer-select-environment): Rename from
25434         `org-beamer-set-environment-tag'.  Improve docstring.
25436         * org-freemind.el (org-freemind-write-mm-buffer): Fix another
25437         problem with odd levels.
25439         * org-ascii.el (org-export-as-ascii): Export email only if the
25440         author wants it.
25442         * org-docbook.el (org-export-as-docbook): Export email only if the
25443         author wants it.
25445         * org-html.el (org-export-as-html): Export email only if the
25446         author wants it.
25448         * org-exp.el (org-export-email-info): New option.
25449         (org-export-plist-vars): Add entry for `org-export-email'.
25451 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25453         * org-table.el (org-table-goto-line): Fix typo.
25455 2010-04-10  Mikael Fornius  <mfo@abc.se>
25457         * org.el (org-agenda-files): Typo.
25458         (org-read-agenda-file-list): Add optional argument to help
25459         `org-store-new-agenda-file-list' to remember un-expanded file
25460         names.  Expand file names relative to `org-directory'.
25461         (org-store-new-agenda-file-list): Keep un-expanded file names when
25462         saving, if available.
25463         (org-agenda-files): Update documentation.
25465 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25467         * org-ascii.el (org-export-as-ascii): Catch the case of exporting
25468         a buffer with no file name attached.
25470         * org.el (org-log-refile): New option.
25471         (org-log-note-headings): Add a heading for refiling.
25472         (org-startup-options): Add keywords for logging of the refile
25473         action.
25474         (org-refile): Add logging action.
25475         (org-add-log-note): Allow for refiling action.
25477         * org-agenda.el (org-agenda-bulk-action): Make sure
25478         `org-log-refile' is not `note' during a bulk action.
25480 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25482         * org.el (org-map-dblocks): Use save-excursion to remember the
25483         position.
25485         * org-attach.el (org-attach-commit): Remove dependence on xargs.
25486         (org-attach-delete-one): Commit after deleting a file.
25488         * org-latex.el (org-export-latex-fontify): Do not mistake table.el
25489         borders for strike-through emphasis.
25491         * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
25492         handling of odd levels.
25494         * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
25495         and `future' values.
25496         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
25497         Handle `past' and `future' values.
25499         * org.el (org-read-agenda-file-list): Interpret file names
25500         relative to org-directory and allow environment variables and
25501         "~".
25503         * org-latex.el (org-export-latex-special-chars): Allow a
25504         parenthesis before an exponent or subscript.
25506 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25508         * org-src.el (org-edit-src-exit): When returning from code edit
25509         buffer, if code block is hidden, leave point at start of
25510         #+begin_src line.
25512 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25514         * org.el (org-insert-heading): Do not remove all spaces if the
25515         headline is empty.
25517         * org-indent.el (org-indent): Fix group name.
25519 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25521         * org-table.el (org-table-goto-column): Fix forcing a non-existing
25522         column.
25523         (org-table-get, org-table-put, org-table-goto-line)
25524         (org-table-current-line): New functions.
25526 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
25528         * org.el (org-open-file): Allow regular expressions in
25529         org-file-apps to capture link parameters using groups.  In a
25530         command string to be executed, the parameters can be referenced
25531         using %1, %2, etc.  Lisp forms can access them using
25532         (match-string n link).
25533         (org-apps-regexp-alist): Adopt the created regexp, as this is now
25534         matched against a file: link instead of the file name.
25536 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25538         * org-crypt.el (org-reveal-start-hook): Add a decryption function
25539         to this hook.
25540         (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry):
25541         Add docstrings.
25543         * org.el (org-point-at-end-of-empty-headline)
25544         (org-level-increment, org-get-previous-line-level): New function.
25545         (org-cycle-level): Rewritten to be independent of when this
25546         function is called.
25547         (org-in-regexps-block-p): New function.
25548         (org-reveal-start-hook): New hook.
25549         (org-reveal): Run new hook.
25551 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25553         * org-latex.el (org-export-latex-keywords): Start a new paragraph
25554         after time keywords, do not add "\newline".
25556         * org-html.el (org-export-as-html): Avoid double # in href.
25558         * org.el (org-refile-get-location): Catch an invalid target
25559         specification.
25561 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25563         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
25564         Make sure the behavior regarding to extracting time is
25565         consistent.
25567 2010-04-10  Stephen Eglen  <stephen@gnu.org>
25569         * org-agenda.el (org-agenda-insert-diary-extract-time):
25570         New variable.
25571         (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
25572         variable rather than `org-agenda-search-headline-for-time'.
25574 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25576         * org-list.el (org-fix-bullet-type): Improve cursor positioning.
25578 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25580         * org.el (org-adaptive-fill-regexp-backup): New variable.
25581         (org-set-autofill-regexps): Store a backup of
25582         `adaptive-fill-regexp'.
25583         (org-adaptive-fill-function): Fix filling of comments and ordered
25584         lists.  If there is no other match, till try adaptive fill.
25586 2010-04-10  John Wiegley  <jwiegley@gmail.com>
25588         * org-agenda.el (org-agenda-include-deadlines): Add new
25589         customization variable to determine whether unscheduled tasks
25590         should appear in the agenda solely because of their deadline.
25591         Default to true, which was the previous behavior (it just wasn't
25592         configurable).
25593         (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
25594         the agenda to show/hide deadline tasks.
25595         (org-agenda-menu): Add menu option for show/hide deadlines.
25596         (org-agenda-list): Make the agenda list sensitive to the value of
25597         `org-agenda-include-deadlines'.
25598         (org-agenda-toggle-deadlines): New function to toggle the value of
25599         `org-agenda-include-deadlines' and repaint the modeline
25600         indicators.
25601         (org-agenda-set-mode-name): Show "Deadlines" in the agenda
25602         modeline if deadline tasks are being displayed.
25604 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25606         * org-table.el (org-table-eval-formula): Replace $# and @# by
25607         current column and row number.
25609 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25611         * org.el (org-set-property, org-delete-property): Go back to
25612         prompting for the property.
25614         * org-latex.el (org-export-latex-make-header): Fully process
25615         author line.
25616         (org-export-latex-fontify-headline): Allow several arguments, not
25617         just one.
25618         (org-export-latex-fix-inputenc): Catch the error when
25619         `latexenc-coding-system-to-inputenc' is not defined.
25621         * org-agenda.el (org-agenda-skip-if-todo): New function.
25622         (org-agenda-skip-if): Add conditions for TODO keywords.
25623         (org-agenda-skip-if): Document the new todo conditions.
25625 2010-04-10  Mikael Fornius  <mfo@abc.se>
25627         * org.el (org-at-property-p): Check if we are inside a property
25628         drawer not just any drawer.
25629         (org-set-property, org-delete-property): When cursor is on a
25630         property key value pair do not prompt for property name instead
25631         use name at cursor.
25632         (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
25633         on the first line of a property drawer.
25634         (org-property-end-re): Spell check.
25636 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25638         * org-exp.el (org-export-attach-captions-and-attributes): Add the
25639         properties to the entire table, in case the first line is
25640         removed.
25642         * org-archive.el (org-archive-reversed-order): New option.
25643         (org-archive-subtree, org-archive-to-archive-sibling): Use the new
25644         option `org-archive-reversed-order'.
25646 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25648         * org-agenda.el (org-agenda-entry-types): New variable.
25649         (org-agenda-list): Use `org-agenda-entry-types'.
25650         (org-agenda-custom-commands-local-options): Support for setting
25651         `org-agenda-entry-types' as an option.
25652         (org-diary): Shift some documentation from here to the variable
25653         `org-agenda-entry-types'.
25655 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25657         * org-latex.el (org-export-latex-make-header): Apply macros in
25658         author field.
25660         * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
25661         (org-clock-select-task, org-clock-notify-once-if-expired)
25662         (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
25663         (org-clock-out-if-current, org-clock-save): Use the new functions.
25665 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25667         * org-docbook.el (org-export-as-docbook): Remove unnecessary
25668         newline.
25669         (org-export-as-docbook): Remove unnecessary newline.
25670         (org-export-as-docbook): Fix problem with double footnote
25671         reference in one place.
25673         * org-exp.el (org-export-format-source-code-or-example):
25674         Remove unnecessary newline.
25676         * org.el (org-deadline, org-schedule): Allow rescheduling entries
25677         with repeaters.
25679         * org-table.el (org-table-convert-refs-to-rc): Better way to catch
25680         function calls that look like references.
25682         * org.el (org-open-at-point): Get link abbreviations from
25683         reference buffer.
25685 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25687         * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
25688         as a reference.
25690 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25692         * org.el (org-link-unescape): Solve issue with lower-case escapes.
25694 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25696         * org-latex.el (org-export-latex-classes):
25697         Add \usepackage{latexsym} to all classes.
25699 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25701         * org-html.el (org-export-as-html): Do not allow protected lines
25702         into the table of contents.
25704         * org-latex.el (org-export-latex-special-chars): Find subsequent
25705         occurrences of special characters.
25706         (org-export-latex-tables): Do not convert table-like stuff that is
25707         protected.
25709 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25711         * org-list.el (org-toggle-checkbox): No errors when updating
25712         checkbox count fails because there is no heading.
25714 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25716         * org-clock.el (org-clock-report-include-clocking-task):
25717         New option.
25718         (org-clock-sum): Add the current clocking task.
25720 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25722         * org.el (org-cycle): Print a message when in a table.el table.
25723         (org-edit-special): Recognize the table.el context.
25724         (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
25726         * org-src.el (org-at-table.el-p): Declare.
25727         (org-edit-src-code): Handle a special case for table.el editing.
25728         (org-edit-src-find-region-and-lang): Recognize the table.el
25729         context.
25731         * org-latex.el (org-export-latex-tables): Convert table.el
25732         tables.
25733         (org-export-latex-convert-table.el-table): New function.
25735         * org-html.el (org-html-expand): Fix table.el export.
25737         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
25738         headings.
25740         * org-id.el (org-id-find-id-file): Fix bug when there is no hash
25741         table for the id locations.
25743         * org.el (org-read-date-analyze): Match American-style dates, like
25744         5/30 or 5/13/7.  Make sure cal-iso.el is loaded.  Don't force he
25745         current year when reading ISO and American dates.
25747 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25749         * org.el (org-face-from-face-or-color): New function.
25750         (org-get-todo-face, org-font-lock-add-priority-faces)
25751         (org-get-tag-face): Use `org-face-from-face-or-color'.
25753         * org-faces.el (org-todo-keyword-faces, org-priority-faces):
25754         Allow simple colors as values.
25755         (org-faces-easy-properties): New option.
25757         * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
25758         restricted, as an agenda mode.
25759         (org-agenda-fontify-priorities): Allow simple colors as values.
25761 2010-04-10  Bastien Guerry  <bzg@gnu.org>
25763         * org-timer.el (org-timer-current-timer): Rename from
25764         `org-timer-last-timer'.
25765         (org-timer-timer1, org-timer-timer2, org-timer-timer3): Remove.
25766         (org-timer-cancel-timer, org-timer-show-remaining-time)
25767         (org-timer-set-timer): Update to use only one timer.
25769         * org.el (org-set-property): Remove useless space in the prompt.
25771 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25773         * org-html.el (org-export-html-style-default): Add a default style
25774         for textareas.
25776         * org-exp.el (org-export-format-source-code-or-example):
25777         Fix textarea tag.
25779 2010-04-10  Bastien Guerry  <bzg@gnu.org>
25781         * org-clock.el (org-clock-current-task): New variable to store
25782         last clocked in task.
25783         (org-clock-set-current, org-clock-delete-current): New functions.
25785 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25787         * org-remember.el (org-remember-apply-template): Extend comment.
25788         (org-remember-handler): Implement clock sibling filing.
25790 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25792         * org-publish.el (org-publish-all, org-publish-current-file)
25793         (org-publish-current-project): When called with prefix argument
25794         FORCE, also rebuild the validation file list.
25796         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
25797         section headings.
25799 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25801         * org-html.el (org-export-as-html-and-open): Kill product buffer
25802         if the user wants that.
25804         * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
25805         if the user wants that.
25807         * org-exp.el (org-export-kill-product-buffer-when-displayed):
25808         New option.
25810         * org-agenda.el (org-batch-agenda-csv): Use the time property
25811         instead of the `time-of-day' property.
25813 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25815         * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
25816         (org-timer-pause-hook, org-timer-set-hook)
25817         (org-timer-cancel-hook): New hooks.
25818         (org-timer-start): Run `org-timer-start-hook'.
25819         (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
25820         (org-timer-stop): Run `org-timer-stop-hook'.
25821         (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
25823 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25825         * org.el (org-reveal): Double prefix arg shows the subtree of the
25826         parent.
25828 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25830         * org-agenda.el (org-search-view): Fix bug with searching full
25831         words in headlines in search view.
25832         (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
25833         (org-agenda-get-deadlines): Suppress pre-warning if the entry is
25834         scheduled (if the user configures it so.
25836 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25838         * org.el (org-hide-archived-subtrees): Don't jump to end of
25839         subtree if the match was not in a headline.
25840         (org-inside-latex-macro-p): Allow more complex arguments.
25841         (org-emphasize): Protect against use at end of buffer.
25843 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25845         * org-agenda.el (org-agenda-align-tags): Avoid side effects on
25846         text properties.
25848 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25850         * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
25851         values.
25852         (org-agenda-todo-ignore-scheduled)
25853         (org-agenda-todo-ignore-deadlines): More control with different
25854         allowed values.
25855         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
25856         Honor the new option settings.
25858 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25860         * org.el (org-get-location): Make sure the selection buffer is
25861         shown in the current frame.
25863         * org-ascii.el (org-export-ascii-table-widen-columns):
25864         New option.
25865         (org-export-ascii-preprocess): Realign tables to remove narrowing
25866         if `org-export-ascii-table-widen-columns' is set.
25868         * org-table.el (org-table-do-narrow): New variable.
25869         (org-table-align): Narrow only if `org-table-do-narrow' is t.
25871         * org.el (org-deadline, org-schedule): Allow updating if the
25872         relevant time stamp does not have a repeater, i.e. do not require
25873         that no time stamp has a repeater.
25875         * org-agenda.el (org-agenda-align-tags): Don't add a face to the
25876         new white space before the tags.
25878         * org-latex.el (org-export-as-latex): Do nit require the buffer to
25879         be visiting a file when only exporting to a buffer or string.
25880         (org-export-latex-fix-inputenc): Only save the buffer is there is
25881         a file name attached to it.
25883 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25885         * org-src.el (org-edit-src-exit): Widen before exiting edit buffers.
25887 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25889         * org.el (org-fontify-meta-lines-and-blocks):
25890         Honor `org-fontify-quote-and-verse-blocks'.
25892         * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
25894 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25896         * org.el (org-open-at-point): Also check for text property
25897         org-linked-text before offering collected links.
25899 2010-04-10  Stephen Eglen  <stephen@gnu.org>
25901         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
25902         Optionally extract time specification from text and add to the
25903         timestamp.
25905 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25907         * org-exp.el (org-html-entities): Fix typo.
25909         * org-latex.el (org-export-latex-make-header): Use \providecommand
25910         to make sure the \alert macro is defined.
25912         * org.el (org-format-latex-signal-error)
25913         (org-create-formula-image): Use `org-format-latex-signal-error'.
25915 2010-04-10  Stephen Eglen  <stephen@gnu.org>
25917         * org.el (org-store-link): For dired buffers, use
25918         default-directory as link name if dired-get-filename returns
25919         nil.
25921 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25923         * org-exp.el (org-export-concatenate-multiline-links): The for
25924         protectedness at beginning of match.
25926         * org-latex.el (org-export-latex-fix-inputenc): Never leave the
25927         AUTO as a coding system, instead default to utf8.
25929 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25931         * org.el (org-block-todo-from-children-or-siblings-or-parent)
25932         (org-block-todo-from-checkboxes): Respect the local variable
25933         value when deciding if blocking should be active.
25935         * org-latex.el (org-export-latex-make-header): Define the align
25936         macro if it is not yet defined.
25938         * org-agenda.el (org-agenda-insert-diary-make-new-entry):
25939         Call `org-insert-heading' with the INVISIBLE-OK argument.
25941         * org-mac-message.el (org-mac-message-insert-flagged):
25942         Call `org-insert-heading' with the INVISIBLE-OK argument.
25944         * org.el (org-insert-heading): New argument INVISIBLE-OK.
25946         * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
25947         prompt message.
25949         * org-html.el (org-html-level-start): Use the
25950         `html-container-class' text property to set an additional class
25951         for an outline container.
25953         * org-exp.el (org-export-remember-html-container-classes):
25954         New function.
25955         (org-export-preprocess-string):
25956         Call `org-export-remember-html-container-classes'.
25958         * org.el (org-cycle): Mention level cycling in the docstring.
25959         (org-default-properties): Add new property HTML_CONTAINER_CLASS.
25961         * org-remember.el (org-remember-apply-template): Do file insertion
25962         first.
25964 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25966         * org-habit.el (org-habit-insert-consistency-graphs): Fix a
25967         problem with mis-aligned graphs when showing habits.
25969 2010-04-10  Mikael Fornius  <mfo@abc.se>
25971         * org.el (org-assign-fast-keys): Prefer keys used in keyword name
25972         when assigning.  Begin using numerical characters when all in name
25973         is used up.  This is to spare alphanumeric characters for better
25974         match with other keywords.
25976 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25978         * org-exp.el (org-export-preprocess-hook): Improve documentation.
25980         * org-latex.el (org-export-latex-preprocess): More consistent
25981         conversion and protection of the words LaTeX and TeX.
25982         (org-export-latex-fontify-headline, org-export-latex-preprocess):
25983         Allow angle brackets in commands, for beamer.
25985 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25987         * org-clock.el (org-clock-in): Improve the look of the clock line
25988         by formatting links.
25990 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25992         * org-latex.el (org-export-latex-classes): Use AUTO as the place
25993         holder string for the coding system.  And improve the
25994         documentation.
25995         (org-export-latex-fix-inputenc): Only modify the coding system if
25996         it is given by the placeholder AUTO.
25998 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26000         * org-clock.el (org-task-overrun-text): New option.
26001         (org-task-overrun, org-clock-update-period): New variables.
26002         (org-clock-get-clock-string, org-clock-update-mode-line):
26003         Mark overrun clock.
26004         (org-clock-notify-once-if-expired): Check if clock is overrun.
26006         * org-faces.el: New face `org-mode-line-clock-overrun'.
26008 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
26010         * org.el (org-narrow-to-subtree): Position the end of the narrowed
26011         region before the line with the next heading, to prevent the user
26012         from prepending text to the next headline.
26014 2010-04-10  Stephen Eglen  <stephen@gnu.org>
26016         * org-agenda.el (org-get-time-of-day):
26017         Use org-agenda-time-leading-zero to allow leading zero (rather than
26018         space) for times.
26020 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26022         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
26023         org-datetree.el is loaded.
26025         * org-datetree.el: Autoload `org-datetree-find-day-create'.
26027         * org-latex.el (org-export-latex-hyperref-format): New option.
26028         (org-export-latex-links): Use `org-export-latex-hyperref-format'.
26030 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26032         * org-ctags.el (org-ctags-enable): Change order of functions.
26033         (org-ctags-create-tags): Add wildcard to file name expansion.
26035 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26037         * org.el (org-entry-properties): Fix some important bugs.
26039 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26041         * org.el (org-link-unescape, org-link-escape): Only use hexlify if
26042         the table is not explicitly given.
26044 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26046         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
26047         as value.
26048         (org-clock-out-if-current): Work with the new list value of
26049         `org-clock-out-when-done'.
26050         (org-clock-out, org-clock-out-if-current): Avoid circular logic
26051         between clocking out and state changes.
26053         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
26055         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
26056         accident protect a character that is before a backslash.
26058 2010-04-10  Paul Sexton  <eeeickythump@gmail.com>
26060         * org-ctags.el: New file.
26062 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26064         * org-agenda.el (org-diary-class):
26065         Use `org-order-calendar-date-args'.
26067         * org.el (org-order-calendar-date-args): New function.
26069         * org-exp.el (org-export-target-internal-links): Check for
26070         protectedness after the first bracket.
26072         * org.el (org-entry-properties): Don't match wrong-case TODO
26073         keywords.
26075         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
26076         Document that ARG is passed through to remove the date.
26077         (org-agenda-bulk-action): Accept prefix arg and pass it on.
26078         Do not read a date when the user has given a `C-u' prefix.
26080 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26082         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
26083         tags are hidden.
26085 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26087         * org-latex.el (org-export-latex-fix-inputenc): New function.
26088         (org-export-latex-inputenc-alist): New option.
26090         * org-exp.el (org-export): New key SPC to publish enclosing
26091         subtree.
26093 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26095         * org-indent.el (org-indent-add-properties): Catch case when there
26096         is no headline in the buffer.
26098 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26100         * org-exp.el (org-html-entities): Add checkmark symbol.
26102         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
26103         verbatim code for ASCII export.
26105         * org.el (org-update-statistics-cookies): Also see checkboxes in
26106         ordered lists.
26108 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26110         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
26111         key.
26113         * org-beamer.el (org-beamer-amend-header): Change the location
26114         where `org-beamer-header-extra' is inserted.
26116         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
26117         just for computing this regexp.
26119 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26121         * org-beamer.el (org-beamer-frame-default-options): New option.
26122         (org-beamer-sectioning): Use default options if the user does not
26123         have defined any.
26124         (org-beamer-fix-toc): Put a frame around the table of contents.
26126         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
26127         Make sure case-folding works well when processing comment stuff.
26129         * org-latex.el (org-export-latex-after-save-hook): New hook.
26130         (org-export-as-latex): Run the new hook.
26132 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26134         * org-beamer.el (org-beamer-environments-default): Add the note
26135         environments.
26136         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
26137         lines and collect and combine the content.
26138         (org-beamer-after-initial-vars): Check for note tags and make sure
26139         they will be seen like a property.
26141         * org.el (org-offer-links-in-entry): Fix bug when there is a
26142         single link.
26144         * org-exp.el (org-export): Make sure the mark is activated, also
26145         when `transient-mark-mode' is off.
26147         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
26148         (org-agenda-search-view-search-words-only): Obsolete variable, is
26149         now an alias for `org-agenda-search-view-always-boolean'.
26150         (org-agenda-search-view-force-full-words): New option.
26151         (org-search-view): Improve docstring, and implement a better logic
26152         for Boolean and phrase searches.
26153         (org-agenda-last-search-view-search-was-boolean): New variable.
26154         (org-agenda-manipulate-query): Consider the type of the last
26155         search when modifying the search string.
26157 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26159         * org-latex.el (org-export-as-latex): Do the first letbind in the
26160         right moment.
26162         * org-agenda.el (org-get-entries-from-diary): Add the new face to
26163         these entries.
26165         * org-faces.el (org-agenda-diary): New face.
26167         * org.el (org-make-link-regexps): Allow regexp-special characters
26168         in link types.
26169         (org-open-file): When in-emacs is `system', also force system
26170         opening, like when the value was `(16)'.
26171         (org-update-statistics-cookies): Handle entries without children.
26173         * org-exp.el
26174         (org-export-preprocess-before-normalizing-links-hook): New hook.
26175         (org-export-preprocess-string): Run the new hook.
26177         * org.el (org-offer-links-in-entry): Make RET open all links.
26179         * org-html.el (org-export-as-html): Remove any leftover display
26180         properties in the html file.
26182         * org-wl.el (org-wl-store-link): Work-around for format bug with
26183         text properties.
26185         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
26186         invisibility while adding the graphs.
26188 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26190         * org-remember.el (org-select-remember-template): Use C letter to
26191         customize remember templates.
26193         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
26194         Move cursor to next visible line.
26196 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26198         * org-beamer.el (org-beamer-sectioning): Leave columns environment
26199         by specifying 0 or 1 for column width.
26200         (org-beamer-column-widths): Make 0 stand for 0.0.
26202 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26204         * org-exp.el (org-export-mark-radio-links): Don't match inside
26205         <<target>>.
26207         * org.el (org-format-latex-header-extra): New variable.
26208         (org-format-latex): Set org-format-latex-header-extra from
26209         in-buffer stuff.
26210         (org-format-latex): Add org-format-latex-header-extra to the
26211         variables on which image creation depends.
26212         (org-create-formula-image): Add the header stuff from in-buffer
26213         settings.
26214         (org-read-date-analyze): Base the analysis for future preference
26215         on NOW, not on the default date.
26217         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
26218         for TODO keyword in inline tasks.
26220         * org.el (org-log-note-headings): New headings for removing
26221         deadline or scheduling date.
26222         (org-deadline, org-schedule): Arrange for logging when removing a
26223         date.
26224         (org-add-log-note): Handle deadline and scheduling removal.
26226 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26228         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
26230 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26232         * org-agenda.el (org-diary-class): New function.
26234 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26236         * org-latex.el (org-export-latex-preprocess): Do process the text
26237         of a radio target.
26239 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26241         * org.el (org-entry-properties): Add TIMESTAMP properties back
26242         in.
26244 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26246         * org.el (org-all-time-keywords): New variable.
26247         (org-set-regexps-and-options): Set `org-all-time-keywords'.
26248         (org-entry-blocked-p): New function.
26249         (org-special-properties): Add BLOCKED as a new special property.
26250         (org-entry-properties): New optional argument SPECIFIC, only parse
26251         for this property when it is specified.
26252         (org-entry-get): Pass a SPECIFIC argument to
26253         `org-entry-properties'.
26255         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
26257 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26259         * org-latex.el (org-export-latex-tables): No forced line end if
26260         there is no caption.
26262 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26264         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
26265         package.
26267         * org-latex.el (org-export-latex-tables): Only add a caption when
26268         macro is in longtable environments if one has been defined.
26270         * org-html.el (org-export-as-html): Only take title from buffer if
26271         not exporting body-only.
26273         * org-latex.el (org-export-latex-preprocess): Better version of
26274         the regular expression for protecting LaTeX macros.
26275         (org-export-latex-preprocess): Start searching for macros to
26276         protect from beginning of buffer.
26278         * org-exp.el (org-export-target-internal-links): Check for
26279         protectedness earlier in the string.
26281         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
26282         case sensitively.
26284         * org-id.el (org-id-store-link): Match TODO keywords case
26285         sensitively.
26287         * org.el (org-heading-components, org-get-outline-path)
26288         (org-display-outline-path): Match TODO keywords case sensitively.
26290         * org-latex.el (org-export-as-latex): Ignore read-only
26291         properties.
26293         * org-exp.el (org-export-preprocess-string): Remove any
26294         `read-only' properties.
26296         * org-agenda.el (org-agenda-inactive-leader): New option.
26297         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
26298         (org-tags-view): Prompt for matcher if MATCH is an empty string.
26299         (org-todo-list): Prompt for matcher if ARG is an empty string.
26301 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26303         * org.el (org-open-link-functions): New hook.
26304         (org-open-at-point): Run `org-open-link-functions'.
26306 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26308         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
26309         stamps as well.
26311         * org.el (org-inhibit-startup-visibility-stuff): New variable.
26312         (org-mode): Don't do startup visibility if inhibited.
26313         (org-outline-overlay-data, org-set-outline-overlay-data):
26314         New functions.
26315         (org-save-outline-visibility): New macro.
26316         (org-log-note-headings): Document that one should not change the
26317         `state' note format.
26319 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26321         * org.el (org-make-link-regexps): Capture link path into a group.
26323 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26325         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
26326         the options plist.
26328 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26330         * org.el (org-startup-with-beamer-mode): New option.
26331         (org-property-changed-functions)
26332         (org-property-allowed-value-functions): New hooks.
26333         (org-entry-put, org-property-get-allowed-values): Run the new
26334         hooks.
26335         (org-property-next-allowed-value): Run the new hooks.
26337         * org-exp.el (org-export-select-backend-specific-text): Add the
26338         special beamer tags.
26340         * org-beamer.el: New file.
26342         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
26343         (org-export-as-latex):
26344         Run `org-export-latex-after-initial-vars-hook'.
26345         (org-export-latex-format-toc-function)
26346         (org-export-latex-make-header):
26347         Call `org-export-latex-format-toc-function'.
26349         * org.el (org-fill-template): Make template searches case sensitive.
26351         * org-exp.el (org-export): Use "1" as a sign to export only the
26352         subtree.
26354         * org-colview.el (org-columns-edit-value):
26355         Use org-unrestricted property.
26357         * org.el (org-compute-property-at-point): Set org-unrestricted
26358         text property if the list contains ":ETC".
26359         (org-insert-property-drawer):
26360         Use org-unrestricted property.
26362         * org-exp.el
26363         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
26364         (org-export-preprocess-string):
26365         Run `org-export-preprocess-before-selecting-backend-code-hook'.
26367         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
26369         * org-latex.el (org-export-region-as-latex):
26370         Run `org-export-first-hook'.
26372         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
26374         * org-docbook.el (org-export-as-docbook):
26375         Run `org-export-first-hook'.
26377         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
26379         * org-exp.el (org-export-first-hook): New hook.
26381 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26383         * org-list.el (org-previous-item): Exit at the beginning of the
26384         buffer.
26386         * org-id.el (org-id-locations-save): Only write the id locations
26387         if any are defined.
26389         * org-archive.el (org-archive-all-done): Make this work in a file
26390         with org-odd-levels-only set.
26392         * org.el (org-get-refile-targets): Catch the case when a buffer
26393         has no file.
26395         * org-latex.el (org-export-as-latex): Cleanup forced line ends
26396         where they are not needed.
26397         (org-export-latex-subcontent): Remove unnecessary newlines.
26399 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26401         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
26402         (org-export-latex-fontify): Fix regexp bug that takes special
26403         care of protecting the right boundary characters in emphasis
26404         matches.
26405         (org-export-latex-preprocess): Allow multiple arguments to latex
26406         macros.
26408         * org.el (org-make-link-regexps): Use John Gruber's regexp for
26409         urls.
26411         * org-macs.el (org-re): Interpret :punct: in regexps.
26413         * org-exp.el (org-export-replace-src-segments-and-examples):
26414         Also take the final newline after the END line.
26416         * org.el (org-clean-visibility-after-subtree-move): Only fix
26417         entries that are not entirely invisible already.
26418         (org-insert-link): Respect org-link-file-path-type for
26419         "docview:" links in addition to "file:" links.
26421 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26423         * org-exp.el (org-export-format-source-code-or-example):
26424         Avoid additional extra white lines in LaTeX.
26426         * org-list.el (org-list-parse-list): Leave empty lines after the
26427         list, don't consider them as part of the list.
26429         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
26430         searches.
26432         * org-clock.el (org-clock-select-task): Convert integer to
26433         character for XEmacs.
26435 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26437         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
26438         compatible.
26440 2010-04-10  Tassilo Horn  <tassilo@member.fsf.org>
26442         * org.el (org-complete-tags-always-offer-all-agenda-tags):
26443         New variable.
26444         (org-set-tags): Use it.
26446 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26448         * org-list.el (org-empty-line-terminates-plain-lists):
26449         Update docstring.
26451         * org.el (org-format-latex): Fix link creation for processed latex
26452         snippets.
26454 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26456         * org-footnote.el (org-footnote-normalize): Protect replacement
26457         text.
26459         * org.el (org-inside-latex-macro-p): Save match data.
26461 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
26463         * org-docview.el: New file.
26465 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26467         * org-latex.el (org-export-latex-class-options): New variable.
26468         (org-export-latex-set-initial-vars): Use the class options.
26470         * org.el (org-forward-same-level): Stop at headings that start
26471         with an invisible character.
26472         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
26474 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26476         * org-footnote.el (org-footnote-normalize): Don't take optional
26477         arguments in LaTeX macros as footnotes.
26479         * org.el (org-inside-latex-macro-p): New function.
26481         * org-latex.el (org-latex-to-pdf-process): Change customization
26482         group to `org-export-pdf'.
26484         * org-agenda.el (org-agenda-get-blocks): Look at time string also
26485         on days after the first one.
26487         * org.el (org-insert-heading): Also check for item before assuming
26488         before-first-heading condition.
26490         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
26491         (org-export-pdf-logfiles): New option.
26492         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
26493         (org-export-pdf-logfiles): Fix customization type.
26495         * org.el (org-insert-link): Improve error message when there is no
26496         default link to select with RET.
26498         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
26499         parameter list.
26501 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26503         * org-latex.el (org-export-latex-parse-global)
26504         (org-export-latex-parse-content)
26505         (org-export-latex-parse-subcontent):
26506         Use `org-re-search-forward-unprotected'.
26507         (org-export-as-pdf): Remove log files produced by XeTeX.
26509         * org-macs.el (org-re-search-forward-unprotected): New function.
26511 2010-04-10  James TD Smith  <ahktenzero@mohorovi.cc>
26513         * org-colview.el (org-agenda-colview-summarize): Sort out some
26514         confusion between properties and titles, which resulted in
26515         agenda summaries not working if a title was set for a column.
26517 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26519         * org-mobile.el (org-mobile-agendas): New option.
26520         (org-mobile-sumo-agenda-command): Select the right agendas.
26522         * org-latex.el (org-export-latex-format-image): Preserve the
26523         original-indentation property.
26525 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26527         * org-clock.el (org-clock-insert-selection-line): Catch error when
26528         an old tasks no longer exists.
26530         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
26531         (org-export-as-pdf): Don't remove the old PDF file before making
26532         the new one.
26534         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
26535         (org-mouse-context-menu): Use `org-looking-back'.
26537         * org.el (org-cycle-level): Use `org-looking-back'.
26539         * org-list.el (org-cycle-item-indentation):
26540         Use `org-looking-back'.
26542         * org-compat.el (org-looking-back): New function.
26544         * org.el (org-insert-heading): Catch before-first-headline when
26545         inserting a headline.
26547 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26549         * org-latex.el (org-export-latex-format-image): Indent figure
26550         environment, so that it does not interrupt plain list.
26552         * org.el (org-open-at-point): Allow long link descriptions.
26554 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26556         * org-html.el (org-export-as-html): Remove empty lines at the
26557         beginning of the exported text.
26559 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
26561         * org.el (org): Remove from hypermedia group.
26563 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
26565         * Branch for 23.2.
26567 2010-02-15  Chong Yidong  <cyd@stupidchicken.com>
26569         * org-freemind.el (org-freemind-from-org-mode-node)
26570         (org-freemind-from-org-mode)
26571         (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
26572         Pass arg to called-interactively-p.
26574 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
26576         * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten):
26577         Fix typos in docstrings.
26579 2010-01-01  Juanma Barranquero  <lekktu@gmail.com>
26581         * org.el (org-get-outline-path, org-speed-command-help):
26582         Fix typos in error messages.
26584 2009-12-14  Juri Linkov  <juri@jurta.org>
26586         * org-html.el (org-export-html-style-include-default):
26587         Put `safe-local-variable booleanp' on
26588         `org-export-html-style-include-default' instead of mistakenly
26589         duplicate `org-export-html-style'.
26591 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
26593         * org-agenda.el (org-agenda-diary-entry-in-org-file):
26594         Rebuild agenda after adding new entry.
26596         * org-datetree.el (org-datetree-find-day-create): Fix regular
26597         expression.
26599         * org.el (org-display-outline-path): Use a format specifier for
26600         message, to avoid problems with heading containing `%'.
26602         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
26603         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
26604         (org-agenda-fix-displayed-tags): New function.
26605         (org-agenda-do-context-action): Just call
26606         `org-display-outline-path', without piping the result through
26607         `message'.
26609         * org-latex.el (org-export-latex-preprocess): Protect secondary
26610         footnote references.
26612         * org-indent.el (org-indent-initialize): Avoid empty strings as
26613         line prefixes.
26615         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
26616         hat checking for the mark does not throw an error.
26617         (org-agenda-diary-entry-in-org-file): Catch the case that there is
26618         not `day' text property in the cursor line.
26620         * org.el (org-sort-entries-or-items): Make sure that the final
26621         entry has a newline before doing the sorting.
26623         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
26624         property at the beginning of the line.
26626         * org.el (org-make-link-string): Don't allow a description with
26627         only white space.
26629         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
26630         (org-agenda-insert-diary-as-top-level): New function.
26631         (org-agenda-add-entry-to-org-agenda-diary-file):
26632         Call `org-agenda-insert-diary-as-top-level'.
26634         * org.el (org-occur-in-agenda-files): Make sure none of the
26635         buffers is narrowed.
26636         (org-activate-plain-links): Add the face property here.
26637         (org-set-font-lock-defaults): Do not add the face to plain links,
26638         the activator function does this.
26640         * org-habit.el (org-is-habit-p): Add doc string.
26642         * org-archive.el (org-archive-subtree-default-with-confirmation):
26643         Autoload.
26645         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
26646         after match optional (happens at the end of a line...).
26648         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
26649         for special blocks.
26651         * org-faces.el (org-copy-face): Set lisp indentation.
26652         (org-quote, org-verse): New faces.
26654         * org-agenda.el (org-agenda-remove-date): Remove variable.
26656         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
26658         * org-html.el (org-export-as-html): Move the home/up link into
26659         the content div.
26661         * org.el (org-export-latex-packages-alist): Option definition
26662         moved here from org-latex.el.
26664         * org-html.el (org-export-html-home/up-format): Add an ID to the
26665         up/home div.
26667         * org-wl.el (org-wl-store-link): Handle the case that
26668         `wl-use-petname' is set.
26670         * org.el (org-set-effort): Improve prompt.
26671         (org-get-outline-path): Widen to get full path.
26672         (org-compact-display-after-subtree-move): Function removed.
26674 2009-11-20  Eric Schulte  <schulte.eric@gmail.com>
26676         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
26677         hash keys to cache and re-use images generated by the
26678         org-exp-blocks interface to ditaa and dot.
26680         * org.el (org-format-latex): Latex images are now saved to files
26681         named by the sha1 hash of the latex source text avoiding
26682         regeneration of identical images.
26684 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
26686         * org-latex.el (org-export-as-latex): Add the :drawers property.
26688 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
26690         * org.el (org-speed-commands-user): Allow documentation headlines.
26691         (org-speed-commands-default): Organize the value of this constant
26692         with descriptive headlines.
26693         (org-print-speed-command): Output the headlines.
26695 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
26697         * org-agenda.el (org-agenda-show-outline-path): New option.
26698         (org-agenda-do-context-action): New function.
26699         (org-agenda-next-line, org-agenda-previous-line):
26700         Use `org-agenda-do-context-action'.
26702         * org.el (org-use-speed-commands): Allow function value.
26703         (org-speed-commands-default): Make headline motion safe, so that
26704         these commands always end on a headline.
26705         (org-speed-commands-default): New key `v' for `org-agenda'.
26706         (org-speed-move-safe): New function.
26707         (org-self-insert-command): Use the function value of
26708         `org-use-speed-commands'.
26709         (org-get-outline-path): Improve docstring.
26710         (org-format-outline-path): New function.
26711         (org-display-outline-path): New function.
26713 2009-11-15  John Wiegley  <jwiegley@gmail.com>
26715         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
26716         a string, use that to find the LOGBOOK drawer.
26718 2009-11-15  Glenn Morris  <rgm@gnu.org>
26720         * org-agenda.el (org-datetree-find-date-create)
26721         (org-habit-get-priority):
26722         * org.el (org-format-agenda-item): Fix declarations.
26724 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26726         * org.el (org-clone-subtree-with-time-shift): Make it work at the
26727         end of the buffer.
26729         * org-mobile.el (org-mobile-write-checksums): Specify coding
26730         system.
26731         (org-mobile-timestamp-buffer): Keep local variable/mode line at
26732         beginning of buffer.
26734         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
26736         * org.el (org-block-todo-from-children-or-siblings-or-parent)
26737         (org-block-todo-from-checkboxes): Do not block changes to a nil
26738         TODO state.
26740 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
26742         * org-habit.el (org-habit-parse-todo): Indicate which habit is
26743         wrongly set up in the error messages.
26745         * org-colview.el (org-columns-display-here): Don't try to
26746         calculate values if the underlying property is not set.
26747         (org-columns-string-to-number): Convert age strings back into
26748         fractional days.
26749         (org-agenda-colview-summarize): Handle extended summary types
26750         properly.
26752 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26754         * org-exp.el (org-export-format-drawer-function): New variable.
26755         (org-export-format-drawer): New function.
26756         (org-export-preprocess-string): Pass the backend as a parameter to
26757         `org-export-remove-or-extract-drawers'.
26758         (org-export-remove-or-extract-drawers): New parameter BACKEND.
26760         * org-protocol.el (org-protocol-char-to-string): New defsubst.
26762 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26764         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
26765         message when no block is selected.
26767         * org-latex.el (org-export-latex-links): Check for protectedness
26768         in the last matched character, not after the match.
26770         * org-datetree.el (org-datetree-find-date-create):
26771         Respect restriction when KEEP-RESTRICTION is set.
26772         (org-datetree-file-entry-under): New function.
26773         (org-datetree-cleanup): New command.
26775 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
26777         * org-src.el (org-edit-src-code): New optional argument context
26778         allows calling functions to avoid altering the saved window
26779         configuration.
26780         (org-edit-src-exit): Do not restore window configuration when this
26781         function is used in the context of saving the edit buffer.
26783 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26785         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
26786         instances to switching to with-current-buffer, because these seem
26787         to cause problems - no idea why.
26789         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
26790         Require diary-lib for (diary-date-display-form).
26792 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26794         * org.el (org-log-reschedule, org-log-redeadline): New options.
26795         (org-log-note-headings): Add templates for rescheduling and
26796         deadline changing.
26797         (org-startup-options): Add in-buffer settings for logging changing
26798         schedule and deadline time stamps.
26799         (org-deadline, org-schedule): Check for existing date and arrange
26800         for logging if the user requests it.
26801         (org-add-log-note): Prepare proper note buffers for rescheduling
26802         and deadline changes.
26804 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26806         * org-agenda.el (org-agenda-diary-entry-in-org-file)
26807         (org-agenda-add-entry-to-org-agenda-diary-file)
26808         (org-agenda-insert-diary-make-new-entry): New functions.
26809         (org-agenda-diary-entry):
26810         Call `org-agenda-diary-entry-in-org-file' when appropriate.
26812         * org.el (org-calendar-insert-diary-entry-key): New option.
26813         (org-agenda-diary-file): New option.
26814         ("calendar"): Install our insertion function in the calendar.
26816         * org-remember.el (org-datetree): Require.
26817         (org-remember-templates): Add new positioning option.
26818         (org-remember-reference-date): New variable.
26819         (org-remember-apply-template): Store the reference date in a local
26820         variable.
26821         (org-remember-handler): Implement date tree positioning of entries.
26823         * org-datetree.el: New file.
26825         * org-latex.el (org-export-latex-preprocess): Protect targets in
26826         verbatim emphasis.
26828         * org-html.el (org-export-as-html): Protect targets in verbatim
26829         emphasis.
26831         * org-docbook.el (org-export-as-docbook): Protect targets in
26832         verbatim emphasis.
26834 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26836         * org-clock.el (org-show-notification): Handle messages that
26837         contain a percent character.
26839         * org-remember.el (org-remember-apply-template): Turn of partial
26840         completion.
26842         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
26843         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
26845         * org.el (org-indent-mode): Define variable already in org.el.
26846         (org-unfontify-region): Remove line-prefix and wrap-prefix
26847         properties only if org-indent-mode is active.
26849 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26851         * org-icalendar.el (org-print-icalendar-entries): Save match data
26852         around call to verify function.
26853         (org-print-icalendar-entries): Add a call to the verification
26854         function.
26856         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
26857         save-restrivtion' form.
26859 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
26861         * org-exp.el (org-export-format-source-code-or-example):
26862         Restrict scope of preserve-indentp to the let binding.
26863         (org-src): Require org-src, since org-src-preserve-indentation is used.
26865 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26867         * org-timer.el (org-timer-set-timer): Set variables
26868         org-timer-timer[123] correctly.
26870         * org-mobile.el (org-mobile-files-alist): Make it work when
26871         `agenda-archives' is included in
26872         `org-agenda-text-search-extra-files'.
26873         (org-mobile-push): Restore agenda after mobile push.
26875 2009-11-13  John Wiegley  <jwiegley@gmail.com>
26877         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
26878         way the amount of idle time is presented in the minibuffer.
26880 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26882         * org-icalendar.el (org-print-icalendar-entries):
26883         Use org-icalendar-verify-function only if non-nil.
26885         * org.el (org-refile): Refile to clock only if the prefix arg is
26886         2.
26887         (org-sparse-tree): Fix docstring to be in line with prompt.
26888         (org-update-parent-todo-statistics):
26889         Call `org-after-todo-statistics-hook' on each level.
26891 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26893         * org-remember.el (org-remember-apply-template): Make sure the
26894         buffer exists.
26896 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26898         * org.el (org-tab-ind-state): New variable.
26899         (org-cycle-level): New function.
26900         (org-cycle-level-after-item/entry-creation): New option.
26901         (org-flag-subtree): New function.
26902         (org-hide-archived-subtrees): Call `org-flag-subtree'.
26903         (org-set-effort): Indexed access.
26905         * org-list.el (org-cycle-item-indentation): New function.
26907         * org.el (org-refile): Make prefix argument 2 refile to current
26908         clock.
26909         (org-priority): Interpret action `remove' as call to remove the
26910         priority cookie.
26912         * org-remember.el (org-remember-apply-template): Don't depend on
26913         buffer name being like file name.
26915 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26917         * org-clock.el (org-clock-play-sound): Expand file in
26918         org-clock-sound, to allow ~ for home.
26920         * org-remember.el (org-remember-handler):
26921         Set text-before-node-creation even if this already looks like a node,
26922         because the string might be needed on non-org-mode target files.
26924         * org-agenda.el (org-agenda-open-link): Make this work in agenda
26925         clocktables.
26926         (org-agenda-switch-to): Follow a link at point if
26927         org-return-follows-link' is set and there is nothing else to do in
26928         this line.
26930 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
26932         * org-exp-blocks.el: Modify split separator regexp to avoid empty
26933         strings.
26935 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
26937         * org-colview.el (org-columns-new): Make this work with the new
26938         operators.
26939         (org-columns-store-format): Make this work with the new operators.
26941 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26943         * org-src.el (org-src-preserve-indentation): Document that this
26944         variable is also used during export.
26946         * org-exp.el (org-export-format-source-code-or-example):
26947         Preserve indentation if a block has a -i option, or if
26948         `org-src-preserve-indentation' is set.
26950         * org-exp-blocks.el (org-export-blocks-preprocess):
26951         Preserve indentation if a block has a -i option, or if
26952         `org-src-preserve-indentation' is set.
26954 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26956         * org.el (org-mode-map): Define the new archiving keys.
26957         (org-speed-commands-default): Define an archiving key in the speed
26958         command map.
26959         (org-org-menu): Improve the menu structure concerning archiving.
26961         * org-archive.el (org-archive-subtree-default-with-confirmation):
26962         New command.
26964         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
26965         (org-agenda-menu): Add the new archiving commands to the menu.
26966         (org-agenda-archive-default)
26967         (org-agenda-archive-default-with-confirmation): New commands.
26968         (org-agenda-archive, org-agenda-archive-to-archive-sibling):
26969         Just call `org-agenda-archive-with'.
26970         (org-agenda-archive-with): New function.
26972         * org-table.el (org-table-convert-region): Inert spaces around "|"
26973         to avoid line beginnings like "|-1" which will be mistaken as
26974         hlines.
26976 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26978         * org.el (org-offer-links-in-entry): Return nil if there are no
26979         links, t if a link has been selected.
26980         (org-open-at-point): Open attachment directory when called in the
26981         headline and there are no links in the entry body.
26982         (org-speed-commands-default): Add "o" for open-at-point as a speed
26983         command.
26985         * org-attach.el (org-attach-reveal): Optional prefix arg
26986         IF-EXISTS, which avoids creating the attachment directory if it
26987         does not yet exist.
26989         * org-agenda.el (org-agenda, org-run-agenda-series):
26990         Evaluate MATCH.
26992 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26994         * org.el ("abbrev"): Work with abbrev tables only after they have
26995         been loaded.
26997         * org-list.el (org-list-send-list): Fix bug related to match
26998         data.
27000         * org-latex.el (org-export-latex-fontify): Apply verbatim
27001         emphasis.
27002         (org-export-latex-make-header): Insert \obeylines if line breaks
27003         should be preserved.
27005         * org-exp.el (org-export-protect-verbatim): Add an
27006         `org-verbatim-emph' property to such text.
27008 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27010         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
27011         (org-print-icalendar-entries): Skip entries where the timestamp is
27012         not a deadline and not scheduled, if the user requests that.
27014         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
27015         before an opening quote.
27017         * org-archive.el (org-archive-subtree): Keep archive after
27018         archiving something.
27020         * org-id.el (org-id-update-id-locations): Add archive files if
27021         that is required by `org-id-extra-files'.
27023 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27025         * org-src.el (org-src-window-setup): New option.
27026         (org-src-switch-to-buffer): New function.
27027         (org-edit-src-exit): Add optional argument CONTEXT and use it to
27028         restore window configuration.
27029         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
27030         Call `org-src-switch-to-buffer'.
27032         * org.el (org-default-properties): Add STYLE property.
27033         (org-files-list): Use the function call to get the files.
27034         (org-additional-option-like-keywords): Add SETUPFILE to completion
27035         list.
27037 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27039         * org-table.el (org-table-convert-region): Correctly interpret
27040         quoting in csv import.
27042         * org.el (org-icompleting-read): Make iswitchb completion work
27043         with lists and tables.
27045         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
27046         while pushing the mobile agenda.
27048 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27050         * org-clock.el (org-clock-auto-clock-resolution): Now takes three
27051         values: nil, t and `when-no-clock-is-running'.
27052         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
27053         whether or not to resolve Org buffers on clock in.
27055 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27057         * org-colview.el (org-format-time-period): Function to format
27058         times in fractional days for display.
27059         (org-columns-display-here): Add support for showing a calculated
27060         value in place of the property.
27061         (org-columns): Set `org-columns-time' to the current time so time
27062         difference calculations will work.
27063         (org-columns-time): Use to store the current time when column view
27064         is displayed, so all time differences will use the same reference
27065         point.
27066         (org-columns-compile-map): There is now an extra position in each
27067         entry specifying the function to use to calculate the displayed
27068         value for the non-calculated properties in the column.
27069         (org-columns-compute-all): Set `org-columns-time' to the current
27070         time so time difference calculations will work.
27071         (org-columns-compute): Handle column operators where the values
27072         used are calculated from the underlying property.
27073         (org-columns-number-to-string): Handle the 'age' column format.
27074         (org-columns-string-to-number): Correct the function name (was
27075         org-column...).  Add support for the 'age' column format.
27076         (org-columns-compile-format): Support the additional parameter in
27077         org-columns-compile-map.
27079 2009-11-13  Bastien Guerry  <bzg@gnu.org>
27081         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
27082         variable.
27084 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27086         * org-clock.el (org-clock-has-been-used): New variable.
27087         (org-clock-in): Set `org-clock-has-been-used'.
27088         (org-clock-save): Save only if clock data has been used or created
27089         during this session.
27091 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27093         * org-clock.el (org-clock-persist): New value, to store only the
27094         clock history.
27095         (org-clock-save): Don't save the clock if only the history should
27096         be stored.
27097         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
27098         when restoring a saved clock.
27100 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27102         * org-clock.el (org-clock-display, org-clock-put-overlay):
27103         Use `org-time-clock-use-fractional'.
27105         * org.el (org-time-clocksum-use-fractional)
27106         (org-time-clocksum-fractional-format): Two new customizable
27107         variables which allow the user to select fractional times (1.25
27108         instead of 1:25) in the `org-clock-display' report.
27110 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27112         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
27113         New option.
27115         * org.el (org-tag-alist): Fix customization type.
27117 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27119         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
27120         Make sure the regexp search can fail without throwing an error.
27121         (org-mobile-apply): Save the inbox buffer after removing
27122         successfully applied changes.
27124 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27126         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
27127         time is reported after the user comes back (but before they
27128         resolve time).
27130         * org.el (org-get-repeat): Change so that this function can be
27131         called with either `org-scheduled-string' or
27132         `org-deadline-string'.
27134         * org-clock.el (org-clock-auto-clock-resolution): Rename from
27135         `org-clock-disable-clock-resolution', since negatives don't sound
27136         good in customization variables.
27137         (org-clock-in): Don't use the auto-resolution logic if the user is
27138         clocking into a different task while an active clock is running.
27139         This then allows the default behavior of clocking out of the open
27140         task and then into the new task.
27142         * org.el (org-modules): Made this variable more consistent, since
27143         it was referring to Org, OrgMode and Org-mode, whereas the docs
27144         for the variable always refer to Org-mode.
27146 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27148         * org.el (org-repeat-re): The changed org-repeat-re no longer
27149         matched simple +2d type repeaters.  Fix it so it does.
27151 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27153         * org-latex.el (org-export-latex-preprocess): Protect the vspace
27154         macro in the VERSE environment.
27156 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27158         * org-habit.el (org-habit-get-priority): A new function that
27159         determines the relative priority of a habit, based on how long
27160         past its scheduled date it is, and how near the deadline is.
27162         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
27163         using `org-habit-get-priority'.
27165         * org-habit.el (org-habit-build-graph): Start displaying colors
27166         from the first scheduled date, if that date is earlier than the
27167         first completion date.
27169         * org-habit.el: Changed all "color" variables to faces, and made
27170         them appropriate for light and dark backgrounds.
27172         * org-habit.el (org-habit-duration-to-days): Made this function
27173         more general.
27174         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
27176         * org-agenda.el (org-agenda-get-deadlines): Remove all mention of
27177         habits, since they don't use DEADLINE anymore.
27179         * org.el (org-repeat-re, org-display-custom-time)
27180         (org-timestamp-change): Extend to support the new ".+N/N"
27181         syntax, used for habits.
27183         * org-clock.el (org-clock-resolve-clock): Fix an incorrect
27184         variable reference.
27186         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
27187         modeline when habits are being displayed (if that module is being
27188         loaded).
27190 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27192         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
27193         idle time using the xscreensaver extension.
27194         (org-user-idle-seconds): Use X11 idle time if available.
27196 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27198         * org-agenda.el (org-agenda-next-line): New command.
27199         (org-agenda-previous-line): New commands.
27200         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down):
27201         New commands.
27202         (org-agenda-follow-mode): Do the follow immediately if the mode is
27203         turned on here.
27204         (previous-line, next-line): Replace keys with the corresponding
27205         org functions.
27206         (org-agenda-mode-map): Bind backspace and delete to the scrolling
27207         command.
27209         * org.el (org-icompleting-read): Turn off partial completion mode
27210         for the duration of this completion round.
27212         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
27213         macros in author lines and similar stuff.
27215         * org.el (org-file-tags): Fix docstring.
27216         (org-get-buffer-tags): Add the #+FILETAGS tags.
27217         ("ecb"): Make ecb show context after jumping into an Org file.
27219 2009-11-13  John Wiegley  <johnw@newartisans.com>
27221         * org-agenda.el (org-finalize-agenda): Draw habit consistency
27222         graphs after everything else in the buffer has been setup.
27224 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27226         * org-mobile.el (org-mobile-apply): Count success and failure.
27228         * org.el (org-indent-line-function): Fix regexp replace problem.
27230 2009-11-13  John Wiegley  <johnw@newartisans.com>
27232         * org-clock.el (org-clock-disable-clock-resolution):
27233         New customization variable that disable automatic clock resolution on
27234         clock in.
27235         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
27236         not automatically resolve anything.  This is does not affect
27237         idle-time resolution, however, if `org-clock-idle-time' is set.
27239 2009-11-13  John Wiegley  <johnw@newartisans.com>
27241         * org-habit.el: New file, which implements code to build a "habit
27242         consistency graph".
27244         * org-agenda.el (org-agenda-get-deadlines)
27245         (org-agenda-get-scheduled): Display consistency graphs when
27246         outputting habits into the agenda.  The graphs are always relative
27247         to the current time.
27248         (org-format-agenda-item): Add new parameter `habitp', which
27249         indicates whether we are formatting a habit or not.  Do not
27250         display "extra" leading information if habitp is true.
27252         * org.el (org-repeat-re): Improve regexp to include .+ and ++
27253         leaders for repeat strings.
27254         (org-get-repeat): Now takes a string parameter `tagline', so the
27255         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
27257 2009-11-13  John Wiegley  <johnw@newartisans.com>
27259         * org-agenda.el (org-agenda-auto-exclude-function):
27260         New customization variable for allowing the user to create an "auto
27261         exclusion" filter for doing context-aware auto tag filtering.
27262         (org-agenda-filter-by-tag): Changes to support the use of
27263         `org-agenda-auto-exclude-function'.  See the new manual addition.
27265 2009-11-13  John Wiegley  <johnw@newartisans.com>
27267         * org.el (org-files-list): Don't attempt to return a file name for
27268         Org buffers which have no associated file.
27270         * org-agenda.el (org-agenda-do-action): Fix a typo.
27272 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27274         * org-mobile.el (org-mobile-locate-entry): Interpret files
27275         relative to org-directory.
27276         (org-mobile-inbox-for-pull): Document the best location for this
27277         file.
27278         (org-mobile-check-setup): Verify `org-directory'.
27279         (org-mobile-create-index-file): Sort the files to be listed in
27280         index.org.
27282 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27284         * org.el (org-fast-tag-selection): Add a way to display a
27285         description for a tag group.  This is done by adding a string to
27286         either the startgroup or endgroup cell.
27288 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27290         * org-clock.el (org-clock-resolve, org-resolve-clocks)
27291         (org-emacs-idle-seconds): Use `org-float-time' instead of
27292         `time-to-seconds'.
27294 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27296         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
27297         type.
27299         * org.el (org-pre-cycle-hook): Document that `empty' can also be
27300         the value of ARG when doing local cycling.
27302 2009-11-13  John Wiegley  <johnw@newartisans.com>
27304         * org-clock.el (org-clock-resolve-clock): If keeping or
27305         subtracting time results in a clock out at a time in the past, and
27306         if the resolution occurred due to idleness or invoking `M-x
27307         org-resolve-clocks', remember that past moment in time.  On the
27308         next clock in, the user will be prompted to see if they want to
27309         back-date their new clock to then.
27310         (org-clock-resolve): Do not jump the user to the location of a
27311         dangling clock if the resolution is occurring due to an idle
27312         timeout.  In that case there is typically only one dangling clock,
27313         the active one, and there is no value gained by shuffling their
27314         windows around to show it to them.  Being prompted to resolve an
27315         idle clock should be as inobtrusive as possible.
27316         (org-resolve-clocks-if-idle): New function that resolves only the
27317         currently active clock if the user has exceeded the time returned
27318         by `org-user-idle-seconds', based on the value of
27319         `org-clock-idle-time'.
27320         (org-clock-in): If, after resolving clocks, (???)
27321         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
27323         * org-clock.el (org-clock-resolve-clock): New function that
27324         resolves a clock to a specific time, closing or resuming as need
27325         be, and possibly even starting a new clock.
27326         (org-clock-resolve): New function used by `org-resolve-clocks'
27327         that sets up for the call to `org-clock-resolve-clock'.
27328         It determines the time to resolve to based on a single-character
27329         selection from the user to either keep time, subtract away time or
27330         cancel the clock.
27331         (org-resolve-clocks): New user command which resolves dangling
27332         clocks -- that is, open but not active -- anywhere in the file
27333         list returned by `org-files-list'.
27334         (org-clock-in): Automatically resolve dangling clocks whenever a
27335         user clocks in.
27336         (org-clock-cancel): If the user cancels the solely clock in a
27337         LOGBOOK, remove the empty drawer.
27339         * org-clock.el (org-clock-idle-time): New user customizable option
27340         for detecting whether the user has left a clock idle.  Note: it is
27341         only used in this commit to test whether it's worthwhile to check
27342         OS X to get the Mac user's current idle time.  If the Emacs idle
27343         time is less than the value, the user hasn't been away long enough
27344         to be worth checking (a more expensive test than just getting
27345         Emacs idle time).
27346         (org-user-idle-seconds, org-mac-idle-seconds)
27347         (org-emacs-idle-seconds): This three functions, in conjunction
27348         with the user customization variable `org-clock-idle-time', return
27349         the number of seconds (as a floating point) that the user has been
27350         away from their Emacs (or, if running on OS X, their computer).
27352         * org-clock.el (org-find-open-clocks): New function that returns a
27353         list of all open clocks in the given FILE.  Note that each clock
27354         it returns is a cons cell of the format (MARKER . START-TIME).
27355         This "clock" value is used by several of the new clock module
27356         utility functions.
27357         (org-is-active-clock): New inline function which tests whether the
27358         given clock value is the same as the currently active clock.
27359         Returns non-nil if this is the case.
27360         (org-with-clock-position): New macro that evaluates FORMS with
27361         point in the buffer and at the position of the given clock.
27362         Changes to the current clock are global.
27363         (org-with-clock): New macro that evaluates FORMS with point in the
27364         buffer and at the position of the given clock.  However, changes
27365         to the current clock are local and have no effect on the user's
27366         active clock.  This allows, for example, far any clock to be
27367         canceled without canceling the active clock.
27368         (org-clock-clock-in): New inline function that switches the active
27369         clock to the given clock.  If either the argument RESUME, or the
27370         global `org-clock-in-resume', are non-nil, it will resume a clock
27371         that was previously left open.
27372         (org-clock-clock-out): New inline function that clocks out the
27373         given clock value without affecting the currently active clock.
27374         (org-clock-clock-cancel): New inline function that cancels the
27375         given clock value without affecting the currently active clock.
27377         * org-clock.el (org-clock-in): Before creating
27378         `org-clock-mode-line-timer', check to make sure an older timer is
27379         not currently running.
27380         (org-clock-out): Accept new third parameter `at-time', which
27381         permits a clock to be clocked out at a specific time.  Note that
27382         no attempt is made to verify that the clock out time is later than
27383         the clock in time.
27385         * org.el (org-files-list): New utility function for returning a
27386         list of all open org-mode buffers, plus all files used to build
27387         the agenda buffer.  Note that not all the files will necessarily
27388         be visited by a buffer at time of call.
27389         (org-entry-beginning-position): Like the function
27390         `line-beginning-position', this inline function returns the
27391         beginning position of the current heading/entry.
27392         (org-entry-end-position): Like the function `line-end-position',
27393         this inline function returns the end position of the current
27394         heading/entry.
27396 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27398         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
27399         a header line.
27401 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27403         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
27405 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27407         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
27408         entries that have no tags.
27409         (org-agenda-search-view): New customize group.
27410         (org-agenda-search-view-search-words-only): New option.
27411         (org-search-view): Implement substring search.
27413 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27415         * org.el (org-outline-level): Add doc string.
27417 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27419         * org-inlinetask.el (org-inlinetask-export): Re-introduce
27420         variable.
27421         (org-inlinetask-export-handler): Only export inline task if the
27422         user option calls for it.
27424 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27426         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
27427         END if present.
27429 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27431         * org-latex.el (org-export-latex-tables): Don't format in
27432         protected regions.
27434 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27436         * org-src.el (org-edit-src-code)
27437         (org-edit-src-find-region-and-lang, org-edit-src-exit):
27438         Handle macro editing.
27440         * org-agenda.el (org-prefix-category-max-length): New variable.
27441         (org-format-agenda-item): Use `org-prefix-category-max-length'.
27442         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
27444 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27446         * org-mobile.el (org-mobile-create-index-file): Improve the
27447         listing of tags and todo keywords.
27449         * org-latex.el (org-export-latex-format-image): New function.
27450         (org-export-latex-links): Use `org-export-latex-format-image'.
27452 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27454         * org-inlinetask.el (org-inlinetask-get-current-indentation)
27455         (org-inlinetask-remove-terminator): New functions.
27456         (org-inlinetask-export-handler): Terminate the description list.
27458         * org-exp.el (org-export-select-backend-specific-text): Remove the
27459         region markers.
27461         * org-inlinetask.el (org-inlinetask-export-handler): Fix bug for
27462         tasks without content.
27464         * org-clock.el: Make sure the clock-in target position does not
27465         move to a different node by widening the buffer.
27467         * org-html.el (org-export-html-format-image): Wrap image into
27468         figure div only when there is a caption.
27470         * org-archive.el (org-archive-mark-done): Change default value to
27471         nil.
27473 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27475         * org.el (org-context): Call `bobp', not `eobp'.
27477         * org-clock.el (org-clock-cancel): Remove quotes from marker
27478         variables.
27480         * org.el (org-read-date-prefer-future): New allowed value `time'.
27481         (org-read-date-analyze): Shift day to tomorrow depending on time
27482         entered and value of `org-read-date-prefer-future'.
27484 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
27486         * org.el (org-version, org-get-refile-targets, org-refile)
27487         (org-store-log-note, org-diary-to-ical-string)
27488         (org-speedbar-set-agenda-restriction):
27489         * org-publish.el (org-publish-find-title):
27490         * org-plot.el (org-plot/gnuplot):
27491         * org-mouse.el (org-mouse-do-remotely):
27492         * org-mobile.el (org-mobile-move-capture):
27493         * org-mac-message.el (org-mac-message-insert-flagged):
27494         * org-latex.el (org-replace-region-by-latex):
27495         * org-docbook.el (org-replace-region-by-docbook):
27496         * org-clock.el (org-clock-out, org-clock-cancel):
27497         * org-bibtex.el (org-execute-file-search-in-bibtex):
27498         Use with-current-buffer.
27500 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
27502         * org.el (org-directory, org-map-entries):
27503         * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
27505 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27507         * org.el (org-set-tags-to): New command.
27509         * org-latex.el (org-export-latex-set-initial-vars): Also check in
27510         the plist.
27512         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
27513         keyword.
27515         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
27517 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27519         * org-inlinetask.el (org-inlinetask-export): Option removed.
27520         (org-inlinetask-export-handler): Better export.
27522         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
27523         (org-export-as-xoxo): Run the new hook.
27525         * org-html.el (org-export-html-final-hook): New hook.
27526         (org-export-as-html): Run the new hook.
27528         * org-docbook.el (org-export-docbook-final-hook): New hook.
27529         (org-export-as-docbook): Run the new hook.
27531         * org-ascii.el (org-export-ascii-final-hook): New hook.
27532         (org-export-as-ascii): Run the new hook.
27534         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
27535         space character as the character before the ^/_.
27536         (org-export-latex-final-hook): New hook.
27537         (org-export-as-latex): Run `org-export-latex-final-hook'.
27539 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27541         * org-macs.el (org-if-unprotected-at): Fix docstring.
27543         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
27544         text in the prefix (if category is a link).
27546         * org-latex.el (org-export-latex-preprocess): Deal properly with
27547         empty lines in verse environments.
27549         * org.el (org-format-latex-header): Inline fullpage.sty.
27551         * org-footnote.el (org-footnote-create-definition): Reveal context
27552         to add a new footnote definition.
27554         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
27555         org-table-recalculate when cursor is in TBLFM line.
27557         * org-list.el (org-renumber-ordered-list): Fix cursor position
27558         when bullet length has changed.
27560 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27562         * org.el (org-format-latex): Mention `org-format-latex-options' in
27563         the docstring.
27565 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27567         * org.el (org-agenda-get): New function.
27569         * org-agenda.el (org-agenda-post-command-hook): No longer move
27570         point away from end of line.
27571         (org-agenda-add-entry-text, org-agenda-collect-markers)
27572         (org-finalize-agenda, org-agenda-mark-clocking-task)
27573         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
27574         (org-agenda-entry-text-show, org-agenda-highlight-todo)
27575         (org-agenda-compare-effort, org-agenda-filter-apply)
27576         (org-agenda-later, org-agenda-change-time-span)
27577         (org-agenda-post-command-hook, org-agenda-show-priority)
27578         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
27579         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
27580         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
27581         (org-agenda-open-link, org-agenda-copy-local-variable)
27582         (org-agenda-switch-to, org-agenda-check-no-diary)
27583         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
27584         (org-agenda-add-note, org-agenda-change-all-lines)
27585         (org-agenda-priority, org-agenda-set-tags)
27586         (org-agenda-set-property, org-agenda-set-effort)
27587         (org-agenda-toggle-archive-tag, org-agenda-date-later)
27588         (org-agenda-show-new-time, org-agenda-date-prompt)
27589         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
27590         (org-agenda-clock-in, org-agenda-bulk-mark)
27591         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note):
27592         Use `org-get-at-bol'.
27594         * org-colview.el (org-columns-display-here)
27595         (org-columns-edit-allowed, org-agenda-columns):
27596         Use `org-get-at-bol'.
27598 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27600         * org.el (org-special-ctrl-a/e): Improve documentation and
27601         customize type.
27602         (org-end-of-line): Don't jump to after the ellipsis.
27603         (org-mode-map): Bind <home> and <end> as well.
27605 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27607         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
27608         space after #+ as comments.
27609         (org-open-at-point): Run `org-follow-link-hook' always.
27611         * org-latex.el (org-export-latex-emph-format): Use better commands
27612         to insert special characters in verbatim snippets.
27614 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27616         * org-faces.el (org-copy-face): New function.  Use it to create
27617         various faces formerly created by using `copy-face'.
27619         * org-agenda.el (org-prepare-agenda): Don't officially mark this
27620         window dedicated.
27621         (org-agenda-quit): Kill the frame containing the agenda window if
27622         that frame was created for the agenda.
27624 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27626         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
27627         stamp in the agenda.
27629 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27631         * org-agenda.el (org-prepare-agenda):
27632         Reset `org-drawers-for-agenda'.
27633         (org-prepare-agenda): Uniquify list of drawers.
27635         * org.el (org-complex-heading-regexp-format): New variable.
27636         (org-set-regexps-and-options):
27637         Define `org-complex-heading-regexp-format'.
27638         (org-drawers-for-agenda): New variable.
27639         (org-map-entries): Bind `org-drawers-for-agenda'.
27640         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
27642         * org-remember.el (org-go-to-remember-target)
27643         (org-remember-handler): Use `org-complex-heading-regexp-format'.
27645 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27647         * org-agenda.el (org-agenda-highlight-todo): Fix text property
27648         problem.
27650         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
27651         always with `invisible-ok'.
27652         (org-store-link): No error when there is nothing to link to in the
27653         agenda.
27655         * org-list.el (org-update-checkbox-count): Insert changed cookie
27656         before the old, to avoid problems with invisibility at the end of
27657         the line.
27658         (org-update-checkbox-count): Insert changed cookie before the old,
27659         to avoid problems with invisibility at the end of the line.
27661         * org.el (org-sort-entries-or-items): Include the final newline.
27662         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
27663         lines for fontification.
27664         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
27665         (org-prepare-dblock): Store the current indentation of the BEGIN
27666         line.
27667         (org-update-dblock): Apply the indentation of the begin line to
27668         the rest of the block.
27669         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
27670         (org-startup-folded): New allowed value `showeverything'.
27671         (org-startup-options): Add STARTUP keyword `showeverything'.
27672         (org-set-startup-visibility): Respect value `showeverything' in
27673         org-startup-folded.
27675 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27677         * org.el (org-closest-date): Fix issue with past preference.
27679         * org-archive.el (org-archive-set-tag)
27680         (org-archive-subtree-default): New commands.
27682         * org-clock.el (org-clock-clocktable-default-properties):
27683         New option.
27684         (org-clock-report):
27685         Use `org-clock-clocktable-default-properties'.
27687 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27689         * org.el (org-iswitchb-completing-read): Fix typo.
27691         * org-crypt.el: New file.
27693         * org.el: Add an entry for org-crypt.
27695 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27697         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
27698         consistency.
27699         (org-batch-store-agenda-views): New function.
27700         (org-agenda-title-append): Define variable.
27701         (org-write-agenda): New export to Org files.
27702         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
27703         (org-agenda): Allow to keep the restricted file list if a special
27704         variable is bound to t.
27705         (org-agenda): Define a special agenda view for working on flagged
27706         entries.
27707         (org-agenda-get-restriction-and-command): List the new agenda
27708         view.
27709         (org-agenda-show-the-flagging-note): New command.
27710         (org-agenda-mode-map): New key `?' for looking at the flagging
27711         note.
27713         * org.el (org-autoload): Autoload org-mobile.el.
27714         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
27716         * org-mobile.el: New file.
27718         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
27720 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27722         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
27723         statements.
27724         (org-table-get-remote-range): Match indented #+TBLNAME
27725         statements.
27727         * org.el (org-convert-to-odd-levels)
27728         (org-convert-to-oddeven-levels): Work also correctly if the file
27729         is in outline-mode.
27731 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27733         * org.el (org-store-link): When in agenda buffer, link to
27734         referenced entry.
27735         (org-add-planning-info): Remove spaces at eol.
27737         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
27738         property.
27740 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27742         * org-latex.el (org-export-latex-first-lines): Fix problem with
27743         LaTeX export of first line and selected subtree.
27745         * org.el (org-shifttab): Interpret arg differently when using only
27746         odd levels.
27748 2009-10-01  Bastien Guerry  <bzg@gnu.org>
27750         * org.el (org-check-agenda-file): Use a more explicit message.
27752 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27754         * org-exp.el (org-export-remove-special-table-lines): Don't remove
27755         normal lines.
27757 2009-10-01  Bastien Guerry  <bzg@gnu.org>
27759         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
27760         prompt in the temporary window.
27762         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
27763         prefix for marked entries in the agenda view.
27765 2009-10-01  Andreas Burtzlaff  <andy13@gmx.net>  (tiny change)
27767         * org.el (outline-end-of-subtree): Bugfix: advise this function in
27768         a way that prevents any trailing character from being displayed.
27770 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27772         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
27773         menu.
27775         * org-exp.el (org-export-remove-special-table-lines): Remove bad
27776         slow regexp match.
27778 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27780         * org-latex.el (org-export-latex-preprocess): Do not protect in
27781         the LaTeX header.
27783         * org-src.el (org-edit-src-save): Save window setup while saving.
27784         (org-edit-src-code): Use new buffer name construction scheme.
27786 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27788         * org-agenda.el (org-agenda-entry-text-exclude-regexps):
27789         New variable.
27790         (org-agenda-entry-text-cleanup-hook): New hook.
27791         (org-agenda-get-some-entry-text): Remove matches of
27792         `org-agenda-entry-text-exclude-regexps' and run the hook
27793         `org-agenda-entry-text-cleanup-hook'.
27795         * org.el (org-offer-links-in-entry): New argument ZERO to
27796         implement a link with index zero.
27797         (org-cycle-show-empty-lines): Not keep empty line under header
27798         hidden.
27799         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
27800         to nil for special completion.
27801         (org-store-link): Don't error before the first heading.
27803         * org-agenda.el (org-agenda-open-link): Pass the prefix to
27804         `org-offer-links-in-entry'.
27806 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27808         * org-agenda.el (org-agenda-quit): Provide the window argument for
27809         `window-dedicated-p', Emacs 22 needs it.
27810         (org-format-agenda-item): If the category is a link, arrange for
27811         invisible text to replaced with spaces.
27812         (org-compile-prefix-format): Add the extra space.
27813         (org-prefix-category-length): New variable.
27815         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
27816         references from TOC lines.
27818         * org.el (org-selected-window): New variable.
27820         * org-table.el (org-table-edit-formulas): Remember the selected
27821         window.
27822         (org-table-fedit-finish, org-table-fedit-abort): Select the window
27823         that was originally selected.
27825         * org-exp.el (org-export-preprocess-apply-macros): Scan the
27826         expansion of a macro for more macro definitions.
27828         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
27829         invisibility overlay starts on the newline.
27831 2009-10-01  Glenn Morris  <rgm@gnu.org>
27833         * org-agenda.el (calendar-check-holidays):
27834         * org-exp.el (org-agenda-skip):
27835         * org-list.el (outline-back-to-heading):
27836         * org-wl.el (wl-summary-goto-folder-subr):
27837         * org.el (iswitchb-mode, remember, remember-buffer-desc)
27838         (remember-finalize, remember-save-after-remembering, remember-register)
27839         (remember-buffer, remember-handler-functions)
27840         (remember-annotation-functions): Remove unused declarations.
27842         * org.el (iswitchb-read-buffer): Fix declaration.
27844 2009-09-30  Glenn Morris  <rgm@gnu.org>
27846         * org-compat.el (w32-focus-frame):
27847         * org-exp-blocks.el (R):
27848         * org-exp.el (htmlize-buffer):
27849         * org-protocol.el (server-edit):
27850         * org-table.el (org-format-org-table-html):
27851         * org.el (org-indent-mode): Fix declarations.
27853         * org-colview.el (org-columns-uncompile-format): Avoid assignment to
27854         free variable `fun'.
27856 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
27858         * org-agenda.el (org-agenda-restore-windows-after-quit):
27859         Fix typo in docstring.
27861 2009-09-23  Juanma Barranquero  <lekktu@gmail.com>
27863         * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
27864         (org-shiftselect-error, org-ctrl-c-ctrl-c):
27865         * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
27866         * org-attach.el (org-attach-check-absolute-path):
27867         * org-docbook.el (org-export-as-docbook):
27868         * org-html.el (org-export-as-html):
27869         * org-id.el (org-id-update-id-locations):
27870         * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
27871         Fix typos in error messages.
27873 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
27875         * org-ascii.el: Require CL for the `loop' macro.
27877 2009-09-05  Carsten Dominik  <dominik@u016822.science.uva.nl>
27879         * org-gnus.el (require): Wrap (require gnus-sum) into
27880         eval-when-compile.
27882 2009-09-03  Carsten Dominik  <dominik@u016822.science.uva.nl>
27884         * org-protocol.el (org-protocol-store-link)
27885         (org-protocol-remember, org-protocol-open-source): Remove autoload
27886         cookies again.
27888         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
27889         referencing the start of the line.
27891         * org-gnus.el: Remove unnecessary declare-function forms.
27892         (gnus-sum): Always require gnus-sum.
27894 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27896         * org-protocol.el (org-protocol-store-link)
27897         (org-protocol-remember, org-protocol-open-source): Add autoloads.
27899         * org-compat.el (org-float-time): New function.
27901         * org.el (org-clock-update-time-maybe)
27902         (org-sort-entries-or-items, org-do-sort)
27903         (org-evaluate-time-range, org-time-string-to-seconds)
27904         (org-closed-in-range): Use `org-float-time'.
27906         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
27907         (org-timer-seconds): Use `org-float-time'.
27909         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
27910         (org-clock-sum, org-dblock-write:clocktable)
27911         (org-clocktable-steps): Use `org-float-time'.
27913         * org-agenda.el (org-agenda-last-marker-time)
27914         (org-agenda-new-marker, org-diary): Use `org-float-time'.
27916         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
27917         function.
27919         * org-exp.el (org-get-file-contents): Only protect lines that
27920         really need it.
27922         * org-html.el (require): Require cl for compilation.
27924         * org.el: Avoid using `default-major-mode'.
27926         * org-plot.el (require): Require CL only at compile time.
27928         * org-exp.el (require): Require CL only at compile time.
27930         * org-agenda.el (org-agenda-quit): When the agenda window is
27931         dedicated, remove other windows before exiting, so that the frame
27932         really will be killed.
27934         * org-exp.el (org-export-handle-include-files): Reset START and
27935         END for each loop cycle.
27937 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27939         * org.el (org-eval-in-calendar):
27940         Use `org-select-frame-set-input-focus'.
27942         * org-compat.el (org-select-frame-set-input-focus): New function.
27944         * org.el (org-update-statistics-cookies): New function.
27945         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
27947 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27949         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
27950         after the local variables are set.
27952         * org-latex.el (org-export-latex-protect-amp): New function.
27953         (org-export-latex-links): Protect link ampersands in tables.
27955         * org-exp.el (org-export-select-backend-specific-text): Match in
27956         two steps, to avoid regexp problems.
27958         * org.el (org-offer-links-in-entry): Improve working with many and
27959         duplicate links.
27961         * org-agenda.el (org-agenda-show-1): Make more consistent with
27962         normal cycling.
27963         (org-agenda-cycle-show): Make more consistent with normal cycling.
27965         * org-gnus.el (org-gnus-store-link): Restore the linking to a
27966         website.
27968 2009-09-02  Bastien Guerry  <bzg@gnu.org>
27970         * org-latex.el (org-export-latex-first-lines): Bugfix.
27972 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27974         * org-clock.el (org-clock-modify-effort-estimate): Emit message
27975         about new effort.
27977         * org.el (org-set-effort): New function.
27978         (org-mode-map): New key for effort setting command.
27980         * org-agenda.el (org-agenda): Keep window setup when calling
27981         agenda from within agenda window.
27982         (org-agenda-mode-map): New keys for effort setting commands.
27983         (org-agenda-menu): Add effort setting commands to menu.
27984         (org-agenda-set-property, org-agenda-set-effort): New functions.
27986         * org-latex.el (org-export-latex-tables):
27987         Fix `org-table-last-alignment' and `org-table-last-column-widths' if
27988         the first column has been removed.
27990 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27992         * org.el (org-remove-timestamp-with-keyword): Only remove in
27993         entry, not in subtree.
27995         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
27996         emacs lisp.
27998         * org.el (org-open-at-point): When on headline, offer all strings
27999         in entry.
28001         * org-remember.el (org-remember-templates): Documentation fix.
28003         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
28004         `org-get-last-sibling' instead of the outline versions of these
28005         functions.
28006         (org-get-last-sibling): New function.
28007         (org-refile): Use `org-get-next-sibling' instead of the outline
28008         version of this function.
28009         (org-clean-visibility-after-subtree-move):
28010         Use `org-get-next-sibling' and `org-get-last-sibling' instead of the
28011         outline versions of these functions.
28013 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28015         * org-agenda.el (org-prepare-agenda): When creating a new frame
28016         for the agenda, make the window dedicated.
28018         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
28020         * org-table.el (org-table-align): Change the order of reinsertion
28021         and deletion, to avoid problems with overlays following the table.
28023         * org.el (org-parse-time-string): Better error message.
28024         (org-show-subtree): Use org-end-of-subtree.
28026         * org-macs.el (org-goto-line): New defsubst.
28028         * org.el (org-open-file, org-change-tag-in-region)
28029         (org-fast-tag-show-exit): Don't use `goto-line'.
28031         * org-table.el (org-table-align, org-table-insert-column)
28032         (org-table-delete-column, org-table-move-column)
28033         (org-table-sort-lines, org-table-copy-region)
28034         (org-table-paste-rectangle, org-table-wrap-region)
28035         (org-table-get-specials, org-table-rotate-recalc-marks)
28036         (org-table-get-range, org-table-recalculate)
28037         (org-table-edit-formulas, org-table-fedit-convert-buffer)
28038         (org-table-show-reference, org-table-highlight-rectangle):
28039         Don't use `goto-line'.
28041         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
28042         (org-edit-src-exit): Don't use `goto-line'.
28044         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
28046         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
28047         Don't use `goto-line'.
28049         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
28051         * org-colview.el (org-columns, org-columns-redo)
28052         (org-agenda-columns): Don't use `goto-line'.
28054         * org-agenda.el (org-agenda-mode): Force visual line motion off.
28055         (org-agenda-add-entry-text-maxlines): Improve docstring.
28056         (org-agenda-start-with-entry-text-mode): New option.
28057         (org-agenda-entry-text-maxlines): New option.
28058         (org-agenda-entry-text-mode): New variable.
28059         (org-agenda-mode): Set initial value of
28060         `org-agenda-entry-text-mode'.
28061         (org-agenda-mode-map): Add the `E' key.
28062         (org-agenda-menu): Add entry text mode to the menu.
28063         (org-agenda-get-some-entry-text): Fix line count bug.
28064         (org-finalize-agenda): Apply entry text mode if appropriate.
28065         (org-agenda-entry-text-show-here): New function.
28066         (org-agenda-entry-text-show): New function.
28067         (org-agenda-entry-text-hide): New function.
28068         (org-agenda-view-mode-dispatch): Add entry text mode to the view
28069         key menu.
28070         (org-agenda-entry-text-mode): New command.
28071         (org-agenda-set-mode-name): Add entry text mode to the mode line
28072         string.
28073         (org-agenda-undo, org-agenda-get-restriction-and-command)
28074         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
28075         `goto-line'.
28077 2009-09-02  Bernt Hansen  <bernt@norang.ca>
28079         * org-clock.el (org-notify): Bugfix.
28081 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28083         * org-agenda.el (org-agenda-open-link): Handle multiple links and
28084         check for after-string.
28086         * org-gnus.el (org-gnus-store-link): Simplify.
28088         * org.el (org-latex-regexps): Don't add extra empty lines for
28089         display formulas.
28091 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28093         * org-agenda.el (org-agenda-get-some-entry-text): New function.
28094         (org-agenda-add-entry-text):
28095         Use `org-agenda-get-some-entry-text'.
28097         * org.el (org-cycle-separator-lines): Update docstring.
28098         (org-cycle-show-empty-lines): Handle negative values for
28099         `org-cycle-show-empty-lines'.
28101         * org-exp.el (org-export-protect-sub-super): New function.
28102         (org-export-normalize-links): Protect the url of plain links from
28103         supscript and superscript processing.
28105         * org-remember.el (org-remember-escaped-%): New function.
28106         (org-remember-apply-template): Use `org-remember-escaped-%' to
28107         detect escaped % signs.
28109 2009-09-02  Bastien Guerry  <bzg@gnu.org>
28111         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
28112         sound when showing the notification.
28114         * org-clock.el (org-notify): New function.
28115         (org-clock-notify-once-if-expired): Use `org-notify'.
28117         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
28118         and `gnus-article-mode' separately.
28119         (gnus-summary-article-header): Fix the declare-function.
28121 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28123         * org-exp.el (org-export-format-source-code-or-example):
28124         Translate language.
28126         * org-src.el (org-src-lang-modes): New variable.
28127         (org-edit-src-code): Translate language.
28129         * org-exp.el (org-export-format-source-code-or-example): Deal wit
28130         the new structure of the `org-export-latex-listings-langs'
28131         variable.
28133         * org-latex.el (org-export-latex-listings-langs): Change structure
28134         of the variable from plist to alist.
28136 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28138         * org.el (org-in-commented-line): New function.
28140 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28142         * org.el (org-hide-block-toggle): Make folded blocks searchable.
28144 2009-09-02  Friedrich Delgado Friedrichs  <friedel@nomaden.org>  (tiny change)
28146         * org.el (org-flag-drawer): More useful error.
28148 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28150         * org-remember.el (org-remember-apply-template):
28151         Use org-icompleting-read.
28153         * org-publish.el (org-publish): Use org-icompleting-read.
28155         * org-colview.el (org-columns-edit-value, org-columns-new)
28156         (org-insert-columns-dblock): Use org-icompleting-read.
28158         * org-attach.el (org-attach-delete-one, org-attach-open):
28159         Use org-icompleting-read.
28161 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28163         * org.el (org-hierarchical-todo-statistics): Improve docstring.
28164         (org-version): Return the version text.
28165         (org-org-menu): Add a menu entry for the new bug reporter.
28166         (org-submit-bug-report): New command.
28168         * org-list.el (org-hierarchical-checkbox-statistics):
28169         Improve docstring.
28171         * org.el (org-emphasis-regexp-components): Add "`" to set of
28172         pre-emphasis characters.
28174         * org-latex.el (org-export-latex-classes): Always include the soul
28175         package.
28176         (org-export-latex-emphasis-alist): Use \st for strikethough.
28178         * org-exp-blocks.el (org-export-blocks-preprocess):
28179         Use `indent-code-rigidly' to indent.
28181         * org-agenda.el (org-agenda-get-restriction-and-command):
28182         Remove properties only if MATCH really is a string.
28184 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28186         * org-latex.el (org-export-latex-packages-alist):
28187         Fix customization type.
28189         * org.el (org-create-formula-image): Also use
28190         `org-export-latex-packages-alist'.
28192         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
28193         (org-export-as-html): Format footnotes correctly.
28195 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28197         * org.el (org-fast-tag-selection): Avoid text properties on tags
28198         in the alist.
28200         * org-agenda.el (org-agenda-get-restriction-and-command):
28201         Avoid text properties on the match element.
28203 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28205         * org.el (org-set-regexps-and-options): Make sure the list of done
28206         keywords is not invalid.
28208         * org-exp.el (org-export-interpolate-newlines): New function.
28210 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28212         * org.el (org-format-latex): Avoid nested overlays.
28214         * org-latex.el (org-export-latex-listings-langs): Add a few more
28215         languages.
28217         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
28218         ignore newlines and space before the first macro argument.
28220         * org-latex.el (org-export-latex-tables): Remove save-excursion
28221         around `org-table-align'.
28223 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28225         * org.el (org-export-html-special-string-regexps):
28226         Definition moved into org.el.
28228         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
28229         in macro calls.
28231 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28233         * org-latex.el (org-export-latex-listings)
28234         (org-export-latex-listings-langs): New options.
28236         * org-exp.el (org-export-format-source-code-or-example):
28237         Use listing package if requested by the user.
28239 2009-09-02  Bastien Guerry  <bzg@gnu.org>
28241         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
28242         command before actually switching to a buffer.
28244 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28246         * org-exp.el (org-get-file-contents): Only quote org lines when
28247         the markup is src or example.
28249         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
28250         New option.
28251         (org-agenda-get-day-entries): Remember deadline results and pass
28252         them on into the function getting the scheduling information.
28253         (org-agenda-get-scheduled): Accept deadline results as parameters
28254         and maybe skip some entries.
28255         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
28257         * org.el (org-insert-heading): When respecting content, do not
28258         convert current line to headline.
28260         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
28261         Also cheeeeeck the hd marker.
28262         (org-clock-in): Also set the hd marker.
28263         (org-clock-out): Also set the hd marker.
28264         (org-clock-cancel): Reset markers.
28266         * org.el (org-clock-hd-marker): New marker.
28268         * org-faces.el (org-agenda-clocking): New face.
28270         * org-agenda.el (org-agenda-mark-clocking-task): New function.
28271         (org-finalize-agenda): Call `org-agenda-mark-clocking-task'.
28273         * org.el (org-modules): Add org-track.el.
28275         * org-agenda.el (org-agenda-bulk-marked-p): New function.
28276         (org-agenda-bulk-mark, org-agenda-bulk-unmark):
28277         Use `org-agenda-bulk-marked-p'.
28278         (org-agenda-bulk-toggle): New command.
28280 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28282         * org.el (org-move-subtree-down): Hide subtree if it was folded,
28283         not just the body.
28285         * org-remember.el (org-remember-finalize): Avoid buffer-modified
28286         messages.
28288 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
28290         * org-html.el (org-export-as-html):
28291         * org-docbook.el (org-export-as-docbook):
28292         Use (default-value 'major-mode) instead of default-major-mode.
28294 2009-08-08  Carsten Dominik  <carsten.dominik@gmail.com>
28296         * org-docbook.el: Add arch-tag.
28298         * org-exp-blocks.el: Add arch-tag.
28300         * org-id.el: Add arch-tag.
28302         * org-indent.el: Add arch-tag.
28304         * org-inlinetask.el: Add arch-tag.
28306         * org-protocol.el: Add arch-tag.
28308 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28310         * org.el (org-create-formula-image): Remove the -E option for
28311         dvipng.
28313         * org-exp.el (org-default-export-plist): Respect #+BIND.
28314         (org-export-confirm-letbind): New function.
28316         * org.el (org-paste-subtree): Test the kill ring entry if it is
28317         going to be used.
28318         (org-copy-subtree): Use `org-forward-same-level'.
28319         (org-forward-same-level): Respect the `invisibe-ok' arg for
28320         back-to-heading.
28322 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28324         * org.el (org-table-map-tables): Make sure cursor is back at table
28325         beginning after funcall.
28327         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
28328         handled before children, and do not error if an entry is not
28329         found, probably because it hase been remove when the parent was
28330         archived or refiled.
28332         * org.el (org-ido-completing-read): Accept straight lists for
28333         completion as well as alists.
28335         * org-timer.el (org-timer-cancel-timers): Rename from
28336         `org-timer-cancel-timers'.
28338         * org.el (org-cycle-internal-local): Fix problem with finding next
28339         invisible line.
28341 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28343         * org-list.el (org-list-send-list):
28344         Call `org-list-goto-true-beginning' instead of
28345         `org-list-find-true-beginning', which does not exist.
28347         * org-timer.el (org-timer-reset-timers): Use `mapc'.
28348         (org-timer-set-timer): Do not assign to heading.
28350         * org-id.el (org-id-open): Quote function name.
28352         * org-macs.el (org-unmodified): Turn off recording undo
28353         information while running inside the macro.
28355         * org-table.el (org-table-export): Also work in file-less
28356         buffers.
28358         * org.el (org-startup-indented): New option.
28359         (org-startup-options): Add new options indent and noindent.
28360         (org-unfontify-region): Remove line-prefix and wrap-prefix
28361         properties.
28362         (org-after-demote-entry-hook, org-after-promote-entry-hook):
28363         New hooks.
28364         (org-promote, org-demote): Run the new hooks.
28366         * org-table.el (org-table-align): Replace leading \n as well.
28368         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
28369         and `line-wrap' text properties.
28371         * org-compat.el (org-kill-new): New function.
28373         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
28374         `line-wrap' text properties.
28376         * org-indent.el: New file.
28378 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28380         * org.el (org-provide-todo-statistics): Tweak docstring.
28382         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
28384 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28386         * org-exp.el (org-export-as-org): Insert the "-source" string
28387         before the extension.
28389         * org.el (org-read-date): Make sure the calendar is in the current
28390         frame.
28391         (org-set-emph-re): Remove the ? from the post-match.
28392         (org-emphasis-regexp-components): Add backslash to the
28393         postmatch class.
28394         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
28395         optional so that also lines at the end of the buffers will still
28396         be matched as headlines.
28398         * org-table.el (org-table-error-on-row-ref-crossing-hline):
28399         Variable made obsolete.
28400         (org-table-relative-ref-may-cross-hline): New option.
28401         (org-table-find-row-type): Honow the new option
28402         `org-table-relative-ref-may-cross-hline'.
28404 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28406         * org-table.el (org-table-cut-region, org-table-copy-region):
28407         Work on single field if no active region.
28409 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28411         * org-latex.el (org-export-latex-make-header): Only insert title
28412         if one is defined.
28414         * org.el (org-make-options-regexp): Allow empty values.
28416 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28418         * org.el (org-cycle-internal-local): Improve version of finding
28419         next visible line.
28420         (org-cycle-hide-drawers): Only hide drawers if this is really
28421         necessary.
28422         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
28423         org-version of this function in Org-mode.  We use advice to
28424         implement this change, so that future changes to this function in
28425         outline.el wil be handled properly.
28426         (org-forward-same-level, org-backward-same-level): New commands.
28428 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28430         * org.el (org-remove-empty-overlays-at)
28431         (org-clean-visibility-after-subtree-move): New functions.
28432         (org-move-subtree-down): Simplify cleanup of display.
28434 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28436         * org-mac-message.el (org-mac-message-get-links): Improve
28437         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
28438         "s".  Fix the return value.
28439         (org-mac-message-insert-flagged): Simplify.
28441         * org.el (org-refile-get-location): Tamper with refile history o
28442         that history contains compete matches instead of the entered
28443         string.
28445 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28447         * org.el (org-store-link): Never store a link to an inline task.
28449         * org-footnote.el (org-footnote-goto-local-insertion-point):
28450         Skip inline tasks when positioning footnotes.
28452         * org.el (org-refile): Remove the END line when archiving an
28453         inline task that does have an END line.
28455         * org-archive.el (org-archive-subtree): Remove the END line when
28456         archiving an inline task that does have an END line.
28458         * org-macs.el (org-with-limited-levels): New macro.
28459         (org-get-limited-outline-regexp): New function.
28461         * org-exp.el (org-export-format-source-code-or-example): Fix bug
28462         that did not enumerate first line.
28463         (org-export-mark-radio-links): Skip matches in links.
28465 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28467         * org.el (org-activate-plain-links): Make single-match.
28468         (org-adapt-indentation): Fix docstring.
28470         * org-macs.el (org-unmodified): Turn of modification hooks while
28471         running this macro.
28473 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28475         * org.el (org-adapt-indentation): Slightly improve the docstring.
28476         (org-occur): Sends an error when the user inputs an empty string.
28477         (org-priority): Bugfix: the tag alignement should happen within
28478         save-excursion.
28480 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28482         * org.el (org-make-link-regexps): Don't exclude parentheses from
28483         `org-plain-link-re'.
28484         (org-cycle-internal-local): When locally cycling, switch directly
28485         from CHILDREN to FOLDED if there is no subtree.
28486         (org-cycle): Update the docstring to document the new behavior of
28487         `org-cycle-internal-local'.
28489 2009-08-06  Nicolas Goaziou  <n.goaziou@neuf.fr>  (tiny change)
28491         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
28492         an abbreviated format for days.
28494 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28496         * org-protocol.el (org-protocol-default-template-key):
28497         New option.
28499         * org.el (org-refile): Bugfix: save-excursion before reading the
28500         refile target, otherwise cursor moves might confuse `org-refile'.
28502         * org.el (org-toggle-heading): Bugfix: correctly convert list
28503         items before the first headline.
28505         * org.el (org-provide-todo-statistics): Allow a list of TODO
28506         keywords to compute statistics against headlines containing a
28507         keyword from this list.
28508         (org-update-parent-todo-statistics): Possibly use the new allowed
28509         value of `org-provide-todo-statistics'.
28511 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28513         * org-timer.el: Add autoload cookie.
28515         * org.el (org-occur-link-in-agenda-files): New function.
28517         * org-timer.el (org-timer-last-timer): New variable.
28519         * org-agenda.el (org-agenda-mode-map): New key for
28520         org-timer-set-timer called from the agenda.
28522         * org.el (org-mode-map): New key for org-timer-set-timer.
28524         * org-timer.el (org-timer-reset-timers)
28525         (org-timer-show-remaining-time, org-timer-set-timer):
28526         New functions.
28528         * org-clock.el (org-show-notification): Update the docstring.
28530         * org.el (org-provide-todo-statistics): Allow new value
28531         'all-headlines for this option, which includes entries with no
28532         TODO keywords in the todo statistics.
28533         (org-update-parent-todo-statistics): Possibly use the new
28534         'all-headline value from `org-provide-todo-statistics'.
28536 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28538         * org-clock.el (org-dblock-write:clocktable): Add a new option
28539         :timestamp which allows display of timestamps in clock reports.
28541         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
28542         list to a subtree, preserving the structure of the list.
28543         (org-set-emph-re): Make the last element optional in the regexp.
28544         This regexp now matches an emphasized string at the end of a line.
28546         * org-list.el (org-list-goto-true-beginning)
28547         (org-list-make-subtree, org-list-make-subtrees): New functions.
28549         * org.el (org-eval-in-calendar): Select the right frame.
28550         (org-save-frame-excursion): Remove this macro.
28552 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28554         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
28555         trying to find the beginning of a list.
28557         * org-exp.el (org-get-file-contents): Use a new argument: markup.
28558         When present, tell org-get-file-contents not to protect org-like
28559         lines.
28561         * org-id.el (org-id-uuid-program): New option to set the name of
28562         the uuidgen program.
28563         (org-id-method): Use `org-id-uuid-program'.
28564         (org-id-new): Use `org-id-uuid-program'.
28566 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28568         * org-exp.el (org-export-number-lines): Allow whitespace in code
28569         references.  Allow the -r switch to remove the references in the
28570         source code even when the lines are not numbered: the labels can
28571         be explicit enough.
28573         * org.el (org-fontify-whole-heading-line): New option.
28574         (org-set-font-lock-defaults): Use the new option.
28576         * org-clock.el (org-show-notification-handler): New option.
28577         (org-show-notification): Use the new option.
28579 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28581         * org.el (org-eval-in-calendar): Fix a bug about calendar
28582         navigation when `calendar-setup' value is 'calendar-only.
28584 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28586         * org.el (orgstruct++-mode): Fix typo in docstring.
28587         (org-insert-link): Clean up: (or (...)) => (...)
28588         (org-insert-link): Use TAB for stored links completion.
28590 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28592         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
28593         building the list of targets.
28595         * org-remember.el (org-remember-delete-empty-lines-at-end):
28596         New option.
28597         (org-remember-handler): Use the new option.
28599 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
28601         * org.el (org-tags-sort-function): New option for sorting tags.
28602         (org-set-tags): Use the new option to sort tags.
28604         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
28605         premature deletion of the data when using org-plot in a script.
28607 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28609         * org-clock.el (org-clock-in-prepare-hook): New hook.
28610         (org-clock-in): Use this new hook.
28612 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28614         * org.el (org-special-ctrl-a/e): Explicitly bind the value
28615         'reversed for this option to the "true line boundary first"
28616         behavior.
28617         (org-tags-match-list-sublevels): Document the 'indented value for
28618         this variable.
28620         * org-latex.el (org-export-latex-first-lines): Fix problem with
28621         publishing the region.
28623         * org-exp.el (org-export-format-source-code-or-example):
28624         Fix bad line numbering when exporting examples in HTML.
28626 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
28628         * org-colview.el (org-format-time-period): Formats a time in
28629         fractional days as days, hours, mins, seconds.
28630         (org-columns-display-here): Add special handling for SINCE and
28631         SINCE_IA to format for display.
28633         * org.el (org-time-since): Add a function to get the time since an
28634         org timestamp.
28635         (org-entry-properties): Add two new special properties: SINCE and
28636         SINCE_IA.  These give the time since any active or inactive
28637         timestamp in an entry.
28638         (org-special-properties): Add SINCE, SINCE_IA.
28639         (org-tags-sort-function): Add custom declaration for tags
28640         sorting function.
28641         (org-set-tags): Sort tags if org-tags-sort-function is set.
28643 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28645         * org-clock.el (org-clock-goto): Find hidden headlines as well.
28647         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
28649         * org-plot.el (org-plot/add-options-to-plist): Add timeind
28650         option.
28652 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28654         * org-publish.el (org-publish-remove-all-timestamps): New function.
28655         (org-publish-all): Remove all timestamp files if `org-publish-all'
28656         is called with a prefix argument.
28658         * org-list.el (org-indent-item): Fix typo.
28659         (org-item-indent-positions): Normalize ordered bullet.
28661 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28663         * org-macs.el (org-set-local): Make a local variable, do not make
28664         the variable buffer-local!
28666         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
28668         * org-exp.el (org-infile-export-plist): Read BIND lines.
28669         (org-install-letbind): New function.
28670         (org-export-as-org, org-export-preprocess-string):
28671         Call `org-install-letbind'.
28673         * org-list.el (org-list-demote-modify-bullet): New option.
28674         (org-first-list-item-p): Save point.
28675         (org-fix-bullet-type): New optional argument FORCE-BULLET.
28676         (org-indent-item): Honor `org-list-demote-modify-bullet'.
28677         (org-item-indent-positions): Return bullet types along with
28678         indentation.
28680 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28682         * org.el (org-show-entry): Hide drawers.
28684 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28686         * org-footnote.el (org-footnote-auto-adjust): New option.
28687         (org-footnote-auto-adjust-maybe): New function.
28688         (org-footnote-new, org-footnote-delete):
28689         Call `org-footnote-auto-adjust-maybe'.
28691         * org.el (org-startup-options): Add new footnote-related
28692         keywords.
28694         * org-publish.el (org-publish-timestamp-filename): Additional
28695         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
28696         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
28697         TRUE-PUB-DIR.  Pass them through to
28698         `org-publish-timestamp-filename'.
28699         (org-publish-update-timestamp): Additional arguments PUB-DIR and
28700         PUB-FUNC, which are included in the hash.
28701         (org-publish-file): Delay timestamp test until the publishing
28702         function is known.
28704 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28706         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
28707         setting the deadline.
28709         * org.el (org-read-date-final-answer): New variable.
28710         (org-read-date): Store the final answer string, including the date
28711         from the calendar, for reuse by agenda bulk commands.
28713         * org-publish.el (org-publish-attachment): Fix publishing of
28714         attachments.
28716         * org-latex.el (org-export-latex-quotation-marks): Fix export of
28717         quotation makrs in parenthesis.
28718         (org-remove-initial-hash): New function.
28719         (org-export-latex-preprocess): Fix bug with infinite loop if
28720         environment is not properly closed.
28722         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
28723         when indented.
28725         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
28726         highlight also when indented.
28728 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28730         * org-footnote.el (org-footnote-renumber-fn:N): New command.
28731         (org-footnote-action): Offer renumbering.
28733         * org.el (org-cycle): Honor the `integrate' value of
28734         org-cycle-include-plain-lists'.
28736         * org-list.el (org-cycle-include-plain-lists): New allowed value
28737         `internal'.  Improve the docstring.
28739         * org.el (org-set-autofill-regexps): Improve the paragraph-start
28740         regexp to work better with LaTeX commands.
28742 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28744         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
28745         and eps extensions.
28747 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28749         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
28750         loaded.
28752         * org.el (org-map-entries): No longer force
28753         `org-tags-match-list-sublevels' to t during a todo-only tags
28754         search.
28756 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28758         * org-latex.el (org-export-latex-low-levels): Allow user-defined
28759         environment.
28760         (org-export-latex-subcontent): Handle user-defined environment.
28762         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
28763         the View dispatcher.
28765         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
28766         `make-overlay'.
28768         * org-latex.el (org-export-as-pdf): Protect match data during call
28769         to shell-quote-argument.
28771         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
28772         (org-agenda-view-mode-dispatch): New function.
28774 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28776         * org-agenda.el (org-agenda-mode): Reset list of marks.
28777         (org-agenda-mode-map): Define new keys for refile and bulk action.
28778         (org-agenda-menu): Add menu itesm for refile and bulk action.
28779         (org-agenda-refile): New function.
28780         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
28781         (org-agenda-marked-entries): New variable.
28782         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
28783         (org-agenda-remove-all-bulk-action-marks)
28784         (org-agenda-bulk-action): New functions/commands.
28786 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28788         * org-exp.el (org-get-file-contents): Protect org-like lines in
28789         included files.
28790         (org-export-format-source-code-or-example): Remove newlines.
28792         * org-latex.el (org-export-latex-links): Check for no-description
28793         marking.
28795         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
28796         argument separator back to comma.
28797         (org-export-normalize-links): Mark links without description.
28799 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28801         * org-exp.el (org-infile-export-plist): Fix bug in macro
28802         processing.
28804         * org-agenda.el (org-agenda-clock-out): Update line after clocking
28805         out.
28806         (org-agenda-highlight-todo): Fix bug with highlighting.
28808 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28810         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
28811         new alignment strings.
28813         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
28814         command list.
28815         (org-table-align): Check for forced align type.
28817         * org.el (org-self-insert-command): Add yas/expand to command
28818         list.
28820         * org-clock.el (org-clock-in-hook): New hook.
28821         (org-clock-in): Run `org-clock-in-hook.
28822         (org-clock-out-hook): New hook.
28823         (org-clock-out): Run `org-clock-out-hook.
28824         (org-clock-cancel-hook): New hook.
28825         (org-clock-cancel): Run `org-clock-cancel-hook.
28826         (org-clock-goto-hook): New hook.
28827         (org-clock-goto): Run `org-clock-goto-hook.
28829 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28831         * org.el (org-store-link): Better default description for link to
28832         Org-mode headline.
28834         * org-exp.el (org-export-generic): Autoload the generic exporter
28835         function.
28836         (org-export): Implement the `g' key for the generic exporter.
28838 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28840         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
28841         and for zbacktab'.
28843         * org-exp.el (org-infile-export-plist): Get macros also from
28844         #+SETUPFILE.
28846 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28848         * org-colview.el (org-columns-capture-view): Protect vertical bars
28849         in column values.
28850         (org-columns-capture-view): Exclude comment and archived trees.
28852         * org.el (org-quote-vert): New function.
28854         * org-latex.el (org-export-latex-verbatim-wrap): New option.
28856         * org-exp.el (org-export-format-source-code-or-example):
28857         Use `org-export-latex-verbatim-wrap'.
28859         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
28860         time stamps.
28862 2009-08-06  Eric Schulte  <schulte.eric@gmail.com>
28864         * org-exp-blocks.el: New file.
28866 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28868         * org-remember.el (org-remember-templates): Allow the headline
28869         element to be a function.
28870         (org-remember-apply-template): If the headline is a function, call
28871         it to get the true function.
28873         * org-clock.el (org-clock-menu): New function.
28874         (org-clock-update-mode-line): Update help string.
28875         (org-clock-modify-effort-estimate): New function.
28876         (org-clock-mark-default-task): New function.
28878         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
28879         minutes as input.
28880         (org-org-menu): Add new clocking stuff.
28881         (org-clock-is-active): New function.
28883 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28885         * org.el (org-open-non-existing-files): Improve docstring.
28887 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28889         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries):
28890         New option.
28891         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
28893         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
28895         * org-list.el (org-get-checkbox-statistics-face): Use the new
28896         faces.
28898         * org-faces.el (org-checkbox-statistics-todo)
28899         (org-checkbox-statistics-done): New faces.
28901 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28903         * org-latex.el (org-export-latex-use-verb): New variable.
28904         (org-export-latex-emph-format): Prefer \texttt over \verb when
28905         org-export-latex-use-verb is set.
28907 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28909         * org-remember.el (org-remember-handler): Abort remember if the
28910         buffer is empty.
28912         * org-exp.el (org-export-format-source-code-or-example):
28913         Run `org-src-mode-hook'.
28915 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28917         * org.el (org-indent-line-function): Fix indentation of +#end lines.
28919 2009-08-06  Tassilo Horn  <tassilo@member.fsf.org>
28921         * org-gnus.el (org-gnus-store-link): Require message.el in
28922         org-gnus-store-link.
28924 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28926         * org-src.el: New file, split out of org.el.
28928         * org-macs.el (org-replace-match-keep-properties): New function.
28930         * org-exp.el (org-export-mark-blockquote-verse-center):
28931         Better preprocessing of center and quote and verse blocks.
28933         * org-list.el (org-list-end): Respect the stored "original"
28934         indentation when determining the end of the list.
28936         * org-exp.el (org-export-replace-src-segments-and-examples):
28937         Remember indentation correctly.
28939 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28941         * org-clock.el (org-clock-update-mode-line): Apply face
28942         org-mode-line-clock.
28944         * org-faces.el (org-mode-line-clock): New face.
28946 2009-08-06  Tassilo Horn  <tassilo@member.fsf.org>
28948         * org-gnus.el (org-gnus-store-link): Fix bug where
28949         `org-gnus-store-link' used wrong subject when called in an article
28950         buffer.  Patch provided by fengli AT gmail DOT com.
28952 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28954         * org-exp.el (org-export-format-source-code-or-example):
28955         Remember the original indentation of source code snippets and examples.
28957         * org-latex.el (org-export-as-latex): Relocate the table of
28958         contents.
28960         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
28962         * org-agenda.el (org-run-agenda-series): Scope global options also
28963         when creating the agenda buffer.
28965 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28967         * org.el (org-adapt-indentation): Improve documentation.
28968         (org-insert-property-drawer): Respect org-adapt-indentation when
28969         inserting the drawer.
28970         (org-remove-flyspell-overlays-in): New function.
28971         (org-do-emphasis-faces, org-activate-plain-links)
28972         (org-activate-code, org-fontify-meta-lines-and-blocks)
28973         (org-activate-angle-links, org-activate-footnote-links)
28974         (org-activate-bracket-links, org-activate-dates)
28975         (org-activate-target-links, org-activate-tags): Remove flyspell
28976         overlays.
28978 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28980         * org.el (org-edit-src-save): New function.
28982         * org-clock.el (org-clock-out-switch-to-state): New option.
28983         (org-clock-out): Honor `org-clock-out-switch-to-state'.
28985         * org-compat.el (org-compatible-face): Improve macro.
28987         * org.el (org-global-properties-fixed): Add default for
28988         CLOCK_MODELINE_TOTAL.
28990         * org-clock.el (org-clock-sum): Accept lists and strings as tstart
28991         and tend.
28992         (org-clock-sum-current-item): Optional argument TSTART, pass it to
28993         org-clock-sum.
28994         (org-clock-get-sum-start): New function.
28996         * org.el (org-startup-options): New keywords blockhide and
28997         blockshow.
28998         (org-mode): Add new invisibility spec.
28999         (org-set-startup-visibility): Hide block on startup if so
29000         desired.
29001         (org-hide-block-startup): New option.
29002         (org-block-regexp): New constant.
29003         (org-hide-block-overlays): New variable.
29004         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
29005         (org-show-block-all, org-hide-block-toggle-maybe)
29006         (org-hide-block-toggle): New functions.
29007         (org-edit-src-exit): Do not quote lines starting with # and no +
29008         behind it.
29009         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
29010         entry.
29012 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29014         * org.el (org-buffer-property-keys): Add Effort property for
29015         completion.
29017 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29019         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
29020         when retrieving total clocked time in the subtree.
29022         * org.el (org-quoting-blocks): New variable.
29024 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29026         * org-table.el (org-table-store-formulas)
29027         (org-table-get-stored-formulas, org-table-fix-formulas)
29028         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
29029         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
29031         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c):
29032         Allow indented #+TBLFM line.
29034         * org-footnote.el (org-footnote-goto-local-insertion-point):
29035         Allow indented #+TBLFM line.
29037         * org-colview.el (org-dblock-write:columnview): Allow indented
29038         #+TBLFM line.
29040         * org-clock.el (org-dblock-write:clocktable): Allow indented
29041         #+TBLFM line.
29043 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29045         * org-exp.el (org-export-format-source-code-or-example):
29046         Make editing indented blocks work correctly.
29048         * org.el (org-edit-src-nindent): New variable.
29049         (org-edit-src-code, org-edit-fixed-width-region)
29050         (org-edit-src-find-region-and-lang, org-edit-src-exit):
29051         Make editing indented blocks work correctly.
29053 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29055         * org-exp.el (org-export-replace-src-segments-and-examples):
29056         Find indented blocks.
29057         (org-export-format-source-code-or-example): Fix indentation of
29058         blocks.
29059         (org-export-remove-indentation): New function.
29060         (org-export-select-backend-specific-text): Allow backend-specific
29061         code to be indented.
29062         (org-export-mark-blockquote-verse-center): Allow markers to be
29063         indented.
29065         * org.el (org-fontify-meta-lines): New function.
29066         (org-set-font-lock-defaults): Call the new fontification
29067         function.
29069         * org-faces.el (org-meta-line): New face.
29070         (org-block): New face.
29072 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29074         * org.el (org-treat-insert-todo-heading-as-state-change)
29075         (org-treat-S-cursor-todo-selection-as-state-change):
29076         New variables.
29077         (org-insert-todo-heading):
29078         Honor `org-treat-insert-todo-heading-as-state-change'.
29079         (org-shiftright, org-shiftleft):
29080         Honor `org-treat-S-cursor-todo-selection-as-state-change'.
29081         (org-inhibit-logging): New variable.
29083 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29085         * org-agenda.el (org-remove-subtree-entries-from-agenda):
29086         Reduce range for marker position checking.
29088         * org-latex.el (org-export-latex-first-lines): Fix bug when
29089         exporting a region.
29091 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29093         * org-exp.el (org-export-push-to-kill-ring): Protect using
29094         x-set-selection, because that does not always work.
29096         * org-agenda.el (org-agenda-list): Apply the new face
29097         `org-agenda-date-today'.
29099         * org-faces.el (org-agenda-date-today): New face.
29101 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29103         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
29104         creating appointments.
29106         * org-latex.el (org-export-latex-low-levels): Fix customization
29107         type.
29109         * org.el (org-priority, org-shiftup, org-shiftdown):
29110         Disable priority commands.
29112         * org-agenda.el (org-agenda-priority): Disable priority commands.
29114         * org.el (org-enable-priority-commands): New option.
29116         * org-colview.el (org-columns-compute)
29117         (org-columns-number-to-string): Fix problems with empty fields.
29119         * org-exp.el (org-export-push-to-kill-ring): New function.
29120         (org-export-copy-to-kill-ring): New option.
29122         * org-latex.el (org-export-as-latex):
29123         Call `org-export-push-to-kill-ring'.
29125         * org-exp.el (org-export-show-temporary-export-buffer):
29126         New option.
29128         * org-latex.el (org-export-as-latex):
29129         Use `org-export-show-temporary-export-buffer'.
29131         * org-exp.el (org-export-show-temporary-export-buffer):
29132         New option.
29133         (org-export-push-to-kill-ring): New function.
29135         * org-colview.el (org-columns-compile-map): New variable.
29136         (org-columns-new, org-columns-compute)
29137         (org-columns-number-to-string, org-columns-uncompile-format)
29138         (org-columns-compile-format): Implement new operators.
29140 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29142         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
29144         * org-list.el (org-update-checkbox-count): Make property
29145         dependent.
29147         * org.el (org-hierarchical-todo-statistics): New option.
29148         (org-update-parent-todo-statistics): Modify to handle recursive
29149         statistics.
29151 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29153         * org-publish.el (org-publish): Make this function behave
29154         correctly in interactive use when called with a prefix argument.
29156         * org.el (org-todo-statistics-hook): New hook.
29157         (org-update-parent-todo-statistics): Use new hook.
29158         (org-log-into-drawer): New function.
29159         (org-add-log-setup): Use the new `org-log-into-drawer' function to
29160         determine if we should be logging into a drawer.
29161         (org-log-into-drawer): Update docstring.
29162         (org-default-properties): Add LOG_INTO_DRAWER as a property.
29164         * org-list.el (org-checkbox-statistics-hook): New hook.
29165         (org-update-checkbox-count-maybe): Use new hook.
29167 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29169         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
29170         better buffer-generating mechanism.
29171         (org-edit-src-find-buffer): New function.
29173         * org-icalendar.el (org-print-icalendar-entries): Don't check for
29174         archive tag, this is already done by `org-agenda-skip'.
29175         data while constructing lost of tags.
29177 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29179         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
29180         as argument separator in macros.
29182 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29184         * org.el (org-after-sorting-entries-or-items-hook): New hook.
29185         (org-sort-entries-or-items): Run the new hook.
29186         (org-after-refile-insert-hook): New hook.
29187         (org-refile): Run `org-after-refile-insert-hook'.
29189         * org-agenda.el (org-agenda-get-progress): Never take time of day
29190         from headline when displaying progress.
29192         * org-latex.el (org-export-latex-complex-heading-re): New variable.
29193         (org-export-as-latex): Force the correct regexp in the
29194         preprocessor buffer.
29195         (org-export-latex-set-initial-vars):
29196         Set `org-export-latex-complex-heading-re'.
29198         * org-agenda.el (org-agenda-start-with-log-mode): New option.
29199         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
29201 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29203         * org-latex.el (org-export-latex-tables-centered): New option.
29204         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
29206         * org-exp.el (org-export-as-org): New command.
29207         (org-export-as-org): New command.
29209         * org-publish.el (org-publish-org-to-org): New function.
29211 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29213         * org.el (org-yank): Just call `org-yank-generic'.
29214         (org-yank-generic): New function, containing the formaer
29215         functionality of `org-yank'.
29217         * org-latex.el (org-export-latex-not-done-keywords)
29218         (org-export-latex-done-keywords): New variables.
29219         (org-export-latex-todo-keyword-markup): New option.
29220         (org-export-latex-set-initial-vars): Remember the TODO keywords.
29221         (org-export-latex-keywords-maybe): Apply the TODO markup.
29223 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29225         * org-exp.el (org-infile-export-plist): Add more default macros.
29226         (org-export-preprocess-apply-macros): Process macro arguments.
29228 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29230         * org-icalendar.el (org-icalendar-include-todo): New allowed value
29231         `unblocked'.
29232         (org-print-icalendar-entries): Respect the new value of
29233         `org-icalendar-include-todo'.
29235         * org.el (org-link-try-special-completion)
29236         (org-file-complete-link): New functions.
29237         (org-insert-link): Add special completion support for some link
29238         types.
29240         * org-bbdb.el (org-bbdb-complete-link): New function.
29242 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29244         * org-list.el (org-update-checkbox-count): Allow recursive
29245         statistics.
29246         (org-hierarchical-checkbox-statistics): New option.
29248         * org.el (org-cycle): Remove erraneous space character.
29250         * org-icalendar.el (org-icalendar-timezone): Initialize from
29251         environment.
29253 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29255         * org.el (org-autoload): Fix autoloading of ascii export
29256         functions.
29257         (org-modules): Add org-special-blocks.
29259 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29261         * org-icalendar.el (org-start-icalendar-file): Use the new option.
29262         (org-ical-timezone): New option.
29264         * org-exp.el (org-export-get-coderef-format): Use the description
29265         is present.
29267         * org.el (org-sort-entries-or-items): Improve docstring, and make
29268         better implementation for time sorting.
29270 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29272         * org.el (org-edit-src-persistent-message): New option.
29273         (org-edit-src-code, org-edit-fixed-width-region): Use the new
29274         option.
29276         * org-clock.el (org-clock-insert-selection-line): Fix prefious
29277         patch.
29279         * org.el (org-edit-src-code, org-edit-fixed-width-region):
29280         Use separate buffer instead of indirect buffer to edit source code.
29281         (org-edit-src-exit): Make this function work with the new setup.
29283         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
29284         are properly fontified before shown in the selection menu.
29286         * org.el (org-fontify-like-in-org-mode): New function.
29288         * org-latex.el (org-export-latex-links): Use the property list to
29289         retrieve the default image attributes.
29291         * org-exp.el (org-export-plist-vars): Add a new option.
29293 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29295         * org-exp.el (org-export, org-export-visible): Support ASCII
29296         export to buffer.
29297         (org-export-normalize-links): Do not protect the description if it
29298         is explicitly given.
29300         * org-list.el (org-reset-checkbox-state-subtree): Move here from
29301         org-checklist.el.
29302         (org-reset-checkbox-state-subtree):
29303         Call `org-reset-checkbox-state-subtree'.
29305         * org-remember.el (org-select-remember-template): For the
29306         selection of a valid template.
29308         * org-latex.el (org-export-region-as-latex): Supply the
29309         force-no-subtree argument.
29310         (org-export-as-latex): Provide better limits when exporting the
29311         first line.  When exporting to string, we still want the first
29312         lines.
29313         (org-export-latex-first-lines): New argument END, to force the end
29314         of the region.
29315         (org-export-region-as-latex): Use the property list.
29316         (org-export-as-latex): ????
29318 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29320         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
29321         (org-export-latex-preprocess): Run the new hook.
29323         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
29324         (org-export-preprocess-string): Run the new hook.
29326 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29328         * org-macs.el (org-check-external-command): New defsubst.
29330         * org.el (org-mode-map): New key for reload.
29331         (org-format-latex): Better error message when external programs
29332         are not available.
29334         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
29336         * org.el (org-sort-entries-or-items): Explicit sorting function
29337         for priorities, needed for XEmacs compatibility.
29339         * org-remember.el (org-remember-apply-template): Improve auto-save
29340         behavior.
29342 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29344         * org-latex.el (org-export-latex-preprocess): Also protect
29345         environments ending in a star.
29347         * org-list.el (org-at-item-p): Fix regular expression.
29349 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29351         * org.el (org-end-of-subtree): Improve speed.
29353         * org-agenda.el (org-agenda-get-timestamps)
29354         (org-agenda-get-progress, org-agenda-get-deadlines)
29355         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
29356         in particular, wait as long as possible to collect the tags.
29357         (org-stuck-projects): Improve docstring.
29359         * org.el (org-store-link): No errors when getting custom id before
29360         first headline.
29361         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
29363 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29365         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
29367         * org-protocol.el: Remove dependency on url.el.
29368         (org-protocol-unhex-compound, org-protocol-open-source):
29369         Remove dependency on url.el.
29371         * org-latex.el (org-export-as-pdf):
29372         Use `org-latex-to-pdf-process'.
29374 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29376         * org-latex.el (org-latex-to-pdf-process): New option.
29378         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
29379         New option.
29380         (org-agenda-get-timestamps):
29381         Honor `org-agenda-skip-additional-timestamps-same-entry'.
29383         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
29384         (org-clock-goto): Find recent task only if
29385         `org-clock-goto-may-find-recent-task' allows it.
29387         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
29388         drawers, and drawers that are missing the :END: line.
29390 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29392         * org-clock.el (org-clock-goto): Go to recently clocked task if no
29393         clock is running.
29395 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29397         * org.el (org-update-parent-todo-statistics): Check for
29398         STATISTICS_FROM property.
29400         * org-list.el (org-update-checkbox-count): Check for
29401         STATISTICS_FROM property.
29403         * org.el (org-tab-first-hook)
29404         (org-tab-after-check-for-table-hook)
29405         (org-tab-after-check-for-cycling-hook): New hooks.
29406         (org-cycle-internal-global, org-cycle-internal-local):
29407         New functions, split out from `org-cycle'.
29408         (org-cycle): Call the new hooks.
29410 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29412         * org-exp.el (org-export-preprocess-string): Reset the list of
29413         preferred targets for each run of the preprocessor.
29415         * org.el (org-refile-target-verify-function):
29416         Improve documentation.
29417         (org-get-refile-targets): Respect point being moved by the
29418         verification function.
29420         * org-latex.el (org-export-latex-timestamp-keyword-markup):
29421         New option.
29422         (org-export-latex-keywords): Use new option.
29424         * org.el (org-rear-nonsticky-at): New defsubst.
29425         (org-activate-plain-links, org-activate-angle-links)
29426         (org-activate-footnote-links, org-activate-bracket-links)
29427         (org-activate-dates, org-activate-target-links)
29428         (org-activate-tags): Place the rear-nonsticky properties at the
29429         correct location.
29431 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29433         * org-protocol.el (server-edit): Declare `server-edit'.
29434         (org-protocol-unhex-string, org-protocol-unhex-compound):
29435         New functions.
29436         (org-protocol-check-filename-for-protocol): Call `server-edit'.
29438         * org.el (org-default-properties): New default properteis for
29439         completion.
29441         * org-exp.el (org-export-add-subtree-options): Add new properties
29442         for subtree export.
29444 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29446         * org-id.el (org-id-get-with-outline-path-completion): Turn off
29447         org-refile-target-verify-function for the duration of the command.
29449         * org.el (org-link-to-org-use-id): New possible value
29450         `create-if-interactive-and-no-custom-id'.
29451         (org-store-link): Use custom IDs.
29452         (org-link-search): Find custom ID properties from #link.
29453         (org-default-properties): Add CUSTOM_ID for property completion.
29454         (org-refile-target-verify-function): New option.
29455         (org-goto): Turn off org-refile-target-verify-function
29456         for the duration of the command.
29458 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29460         * org-exp.el (org-export-preferred-target-alist): New variable.
29461         (org-export-define-heading-targets): Find the new CUSTOM_ID
29462         property.
29463         (org-export-target-internal-links): Target the custom ids when
29464         possible.
29466         * org-latex.el (org-export-latex-preprocess): Better regexp for
29467         matching latex macros with arguments.
29469 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29471         * org-remember.el (org-remember-handler): Allow filing to non-org
29472         files.
29474 2009-08-06  Magnus Henoch  <magnus.henoch@gmail.com>
29476         * org-table.el (org-table-fix-formulas): Do not change references
29477         to remote tables.
29478         (org-table-get-remote-range): Convert standard coordinates to RC
29479         format.
29481         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
29483 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29485         * org-compat.el (org-sha1-string): Function removed.
29487         * org.el (org-refile-allow-creating-parent-nodes): New option.
29488         (org-refile-get-location): New argument NEW-NODES.
29489         (org-refile): Call `org-refile-get-location' with the new
29490         argument.
29491         (org-refile-get-location): Arrange for adding a new child.
29492         (org-refile-new-child): New function.
29494         * org-clock.el: Fix a number of docstrings.
29495         (org-clock-find-position): New argument
29496         FIND-UNCLOSED to make the function find an unclosed clock in the
29497         entry.
29498         (org-clock-in): Call `org-clock-find-position' with the new
29499         argument if we might be resuming a clock.
29501 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29503         * org-latex.el (org-export-latex-display-custom-times): New variable.
29504         (org-export-latex-timestamp-markup): New option.
29505         (org-export-latex-set-initial-vars): Remember the local value of
29506         `org-display-custom-times'.
29507         (org-export-latex-content): Process time stamps.
29508         (org-export-latex-time-stamps): New function.
29510         * org-macs.el (org-maybe-intangible): Add intangible property
29511         again to invisible text.
29513 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29515         * org-exp.el (org-default-export-plist): Handle undefined
29516         variables.
29518 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29520         * org.el (org-sort-entries-or-items): Match TODO keywords
29521         case-sensitively, when sorting.
29522         (org-priority): Do not match TODO keywords with wrong case.
29524 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29526         * org.el (org-todo): Honor the NOBLOCKING property.
29528         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
29529         NOBLOCKING property.
29531         * org.el (org-scan-tags): Fix bug in tag scanner.
29533 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29535         * org.el (org-modules): Mark obsolete packages.
29537         * org-html.el: New file, split out from org-exp.el.
29539         * org-icalendar.el: New file, split out from org-exp.el.
29541         * org-xoxo.el: New file, split out from org-exp.el.
29543         * org-ascii.el: New file, split out from org-exp.el.
29545 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29547         * org-compat.el (org-find-library-name): New function.
29549         * org.el (org-pre-cycle-hook): New hook.
29550         (org-cycle): Call the new hook in appropriate places.
29551         (org-reload): Only reload files that have been loaded before.
29553 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29555         * org.el (org-set-font-lock-defaults): Enforxe space or line end
29556         after todo keyword.
29557         (org-todo): When changing TODO state, do matching
29558         case-sensitively.
29559         (org-map-continue-from): New variable.
29560         (org-scan-tags): Respect values in `org-map-continue-from'.
29561         (org-reload): Make XEmacs compatible.
29563 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29565         * org-protocol.el (org-protocol-flatten-greedy): New function.
29566         (org-protocol-flatten): New function.
29568         * org.el (org-open-link-from-string): Pass reference buffer to
29569         `org-open-at-point'.
29570         (org-open-at-point): New optional argument `reference-buffer'.
29572 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29574         * org.el (org-scan-tags): Make tag scan find headline in first
29575         line, 2nd attempt.
29576         (org-get-refile-targets): Add the naked file name.
29577         (org-refile): Store as top-level entry when only file name was
29578         given.
29580         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
29582         * org.el (org-block-todo-from-children-or-siblings-or-parent):
29583         Rename from org-block-todo-from-children-or-siblings, and
29584         enhanced to look for the parent's status as well.
29586         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
29587         (org-agenda-get-progress): Add first notes line to log entry if so
29588         desired.
29590 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29592         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
29593         (org-agenda-cleanup-fancy-diary): Call the new hook.
29595         * org-remember.el (org-remember-apply-template): Take the default
29596         for the annotation from the :annotation property.
29598         * org-mac-message.el (org-mac-message-get-link): Remove the
29599         quotes.
29600         (org-mac-message-get-link): Return the result.
29602 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29604         * org.el (org-refile-get-location): Add file name only if not
29605         already included in outline path.
29607         * org-faces.el (org-n-level-faces): Fix customization type from
29608         number to integer.
29610         * org-exp.el (org-export-headline-levels): Fix customization type
29611         from number to integer.
29613         * org-agenda.el (org-agenda-confirm-kill)
29614         (org-agenda-custom-commands-local-options)
29615         (org-timeline-show-empty-dates, org-agenda-ndays)
29616         (org-agenda-start-on-weekday, org-scheduled-past-days):
29617         Fix customization type from number to integer.
29619 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29621         * org-protocol.el: Declare some functions.
29623         * org-agenda.el (org-agenda-compare-effort):
29624         Honor `org-sort-agenda-noeffort-is-high'.
29625         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
29626         (org-agenda-compare-effort): Implement the "?" operator for
29627         finding entries without effort setting.
29629         * org.el (org-extract-attributes-from-string): New function.
29631         * org-exp.el (org-export-splice-attributes): New function.
29633 2009-08-06  Bastien Guerry  <bzg@gnu.org>
29634         Daniel M German  <dmg@uvic.org>
29635         Sebastian Rose  <sebastian_rose@gmx.de>
29636         Ross Patterson  <me@rpatterson.net>
29638         * org-protocol.el: New file.
29640 2009-08-06  Baoqiu Cui  <cbaoqiu@yahoo.com>
29642         * org-docbook.el: New file.
29644 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29646         * org-mouse.el: XEmacs compatibility fixes.
29648         * org.el (org-modules): Add org-inlinetasks.el.
29649         (org-cycle): Implement limiting level on cycling.
29650         (org-move-subtree-down): Fix bug with swapping subtrees at end of
29651         buffer.
29653         * org-inlinetask.el: New file.
29655         * org.el (org-emphasis-regexp-components): Allow braces in
29656         emphasis pre and post match.
29658         * org-footnote.el (org-footnote-normalize): When only sorting, do
29659         not insert inline notes at the end.
29661         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
29663 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29665         * org.el (org-reftex-citation): New command.
29667 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29669         * org-agenda.el (org-agenda-cmp-user-defined): New option.
29670         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
29671         sorting options.
29672         (org-entries-lessp): Apply the new sorting option.
29674         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
29675         blocker code, when an older sibling has children.
29677         * org-mac-message.el (org-mac-message-get-link): Improve getting
29678         links from multiple selected messages.
29680 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29682         * org-remember.el (org-remember-finalize): Do not set buffer file
29683         name to nil.
29684         (org-remember-handler): Mark buffer as unmodified.
29685         (org-remember-handler): Delete backup file and show message about
29686         remaining backup files.
29687         (org-remember-auto-remove-backup-files): New option.
29689         * org.el (org-store-link): Use buffer name as link description in
29690         w3-mode buffers.
29691         (org-ido-switchb): Fix argument bug for completion.
29693         * org-remember.el (org-remember-apply-template): Set local
29694         variable `auto-save-visited-file-name' instead of global one.
29696 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29698         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
29699         (org-agenda-get-todos): Mark file tags as inherited.
29700         (org-agenda-list): Always search diary lines for a time.
29702 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29704         * org-feed.el: New file.
29706         * org-exp.el (org-export-as-html): Close local lists depending on
29707         indentation, also when starting a table.
29709         * org-remember.el (org-remember-backup-directory)
29710         (org-remember-backup-name): New internal variable.
29712 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29714         * org-clock.el (org-clock-out-if-current): Make buffer detection
29715         work in indirect buffers as well.
29717         * org.el (org-emphasis-regexp-components): Add the exxclamation
29718         mark to the post-emphasis characters.
29720 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29722         * org.el (org-read-date-minibiffer-septup-hook): New hook.
29723         (org-read-date): Run the new hook.
29725         * org-mac-message.el (org-mac-flagged-mail): New group.
29726         (org-mac-mail-account): New variable.
29727         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail):
29728         New commands.
29730         * org-remember.el (org-remember-backup-directory): New variable.
29731         (org-remember-apply-template): Write file to backup directory.
29733 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29735         * org-mouse.el (org-mouse-todo-menu): New function.
29736         (org-mouse-todo-keywords): Function removed.
29737         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
29739         * org-table.el (org-table-beginning-of-field)
29740         (org-table-end-of-field): New commands.
29741         (org-table-previous-field, org-table-beginning-of-field):
29742         Better error messages.
29743         (orgtbl-setup): Include `M-a' and `M-e'.
29745         * org.el (org-backward-sentence, org-forward-sentence):
29746         New commands.
29748         * org-colview.el (org-colview-initial-truncate-line-value):
29749         New variable.
29750         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
29751         (org-columns): Remember the value of `truncate-lines'.
29753         * org.el (org-columns-skip-arrchived-trees): New option.
29755         * org-agenda.el (org-agenda-export-html-style): Define color for
29756         org-agenda-done face.
29757         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
29758         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
29760         * org.el (org-scan-tags): Use the new face.
29762         * org-faces.el (org-agenda-done): New face.
29764         * org.el (org-scan-tags): Test the value org
29765         `org-tags-match-list-sublevels'.
29766         (org-tags-match-list-sublevels): New allowed value: indented.
29768         * org-latex.el (org-export-latex-make-header): Apply macros
29769         in header.
29771         * org-exp.el (org-export-apply-macros-in-string): New function.
29773         * org-latex.el (org-export-latex-list-parameters): Fix bug
29774         with the definition of a checked box.
29776         * org-clock.el (org-clock-find-position): Fix drawer indentations.
29778         * org-latex.el (org-export-latex-low-levels): More options
29779         for how to process lower levels in LaTeX.
29780         (org-export-latex-subcontent): Better treatment for lists as a
29781         means of publishing lower levels.
29783 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29785         * org.el (org-set-font-lock-defaults): Use new checkbox face.
29787         * org-faces.el (org-checkbox): New face.
29789         * org-exp.el (org-export-html-preprocess): Only create LaTeX
29790         fragement images if there is an export file.
29792 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29794         * org-agenda.el (org-stuck-projects): Document that the subtree of
29795         projects that are not stuck will now be searched for stuck
29796         sub-projects.
29797         (org-agenda-skip-entry-when-regexp-matches)
29798         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
29799         (org-agenda-list-stuck-projects):
29800         Use `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
29802         * org-latex.el (org-export-latex-preprocess):
29803         Improve export of verses.
29805         * org-exp.el (org-export-as-html): Implement centering as a div
29806         rather than a paragraph.  Do a better job with line-end in verse
29807         environments.
29809 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29811         * org.el (org-open-at-point): Fix tags searches by mouse click.
29813 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29815         * org-latex.el (org-export-latex-preprocess): Implement the
29816         centering markup.
29818         * org-exp.el (org-export-mark-blockquote-verse-center):
29819         Rename from `org-export-mark-blockquote-and-verse'.
29820         (org-export-as-html): Implement the centering markup.
29822         * org-latex.el (org-export-latex-tables): Fix vertical
29823         lines in tables.
29825 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29827         * org.el (org-read-date-history): New variable.
29828         (org-read-date): Use new history variable.
29829         (org-toggle-heading): Fix bug when used before first headline.
29830         (org-store-log-note): Remove drawer if empty while note is
29831         aborted.
29832         (org-remove-empty-drawer-at): New function.
29833         (org-check-after-date): New command.
29834         (org-sparse-tree): New sparse tree command "a".
29836         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
29838 2009-08-06  Bastien Guerry  <bzg@gnu.org>
29840         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
29841         column and a space, not only a column.
29843 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29845         * org-latex.el (org-export-latex-emphasis-alist):
29846         Better defaults for verbose emphasis.
29847         (org-export-latex-emph-format): New function.
29848         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
29850         * org-agenda.el (org-agenda-menu): Add new commands to menu.
29851         (org-agenda-do-date-later, org-agenda-do-date-earlier)
29852         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
29853         (org-agenda-date-later-hours, org-agenda-date-earlier-hours):
29854         New commands.
29856         * org.el (org-timestamp-change): Move end-time along with start
29857         time.
29859 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29861         * org-exp.el (org-export-target-internal-links)
29862         (org-export-as-html): Protect links specified as #name.
29864 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29866         * org.el (org-clone-subtree-with-time-shift): New command.
29868         * org-latex.el (org-export-latex-special-chars)
29869         (org-export-latex-treat-sub-super-char): Fix subscript export.
29871         * org-exp.el (org-create-multibrace-regexp): Do not add
29872         backslashes to the class.
29874 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29876         * org-colview.el (org-columns-map): Better functions for moving up
29877         and down a row, even if `truncate-line' is nil.
29879         * org.el (org-insert-todo-heading): Make sure the keyword is
29880         inserted at the correct position.
29882         * org-publish.el (org-publish-project-alist)
29883         (org-publish-projects, org-publish-org-index): Change default anme
29884         for the index of file names to "sitemap.org".
29886         * org-latex.el (org-export-latex-tables):
29887         Use `org-split-string', for Emacs 21 compatibility.
29889 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29891         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
29893 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29895         * org-exp.el (org-export-page-description)
29896         (org-export-page-keywords): New variables.
29897         (org-export-plist-vars): Add entries for :keywords and
29898         :description.
29899         (org-infile-export-plist): Parse for new keywords.
29900         (org-get-current-options): Add new keywords.
29901         (org-export-as-html): Publish description and keywords.
29903         * org-agenda.el (org-agenda-add-entry-text-descriptive-links):
29904         New option.
29905         (org-agenda-add-entry-text):
29906         Honor `org-agenda-add-entry-text-descriptive-links'.
29908         * org-latex.el (org-export-latex-preprocess): Make all
29909         external preprocess functions use a PARAMETER arg.
29911         * org-exp.el (org-export-preprocess-string)
29912         (org-export-select-backend-specific-text)
29913         (org-export-format-source-code-or-example)
29914         (org-format-org-table-html): Support docbook export.
29915         (org-export-preprocess-string): Make all external preprocess
29916         functions use a PARAMETER arg.
29918 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29920         * org-exp.el (org-export-html-style-include-scripts): New option.
29921         (org-export-plist-vars): Add new option
29922         `org-export-html-style-include-scripts'.
29923         (org-export-as-html): Honor new option
29924         `org-export-html-style-include-scripts'.
29925         (org-export-html-scripts, org-export-html-style-default):
29926         Fix xml issues with the Safari browser.
29928 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29930         * org-publish.el (org-publish-attachment): Only copy file when the
29931         directories differ.
29933 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29935         * org-clock.el (org-clocktable-steps): Use inactive time stamps
29936         for clocktable steps.
29938         * org.el (org-additional-option-like-keywords): Add two more
29939         keywords.
29941 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29943         * org-exp.el (org-export-format-source-code-or-example):
29944         Mark temporary buffer unmodified, so that it will be killed even if
29945         mode like message mode has decided to assign a file name.
29947         * org.el (org-scan-tags): Improve tag inheritance.
29948         (org-scan-tags, org-make-tags-matcher): Make tag comparison
29949         case-sensitive.
29950         (org-scan-tags): Use the internal tags list instead of creating it
29951         from scratch.
29952         (org-trust-scanner-tags, org-scanner-tags): New variables.
29953         (org-scan-tags): Set `org-scanner-tags'.
29954         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
29955         (org-map-entries): Document the possible speedup using scanner
29956         tags.
29958 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29960         * org.el (org-add-planning-info): Fix bug with looking for keyword
29961         only at column 0.
29963         * org-agenda.el (org-agenda-custom-commands-local-options):
29964         Add option for tags filter preset.
29965         (org-prepare-agenda): Store filter preset as a property on the
29966         filter variable.
29967         (org-finalize-agenda): Call the filter, if there is a preset.
29968         (org-agenda-filter-by-tag): Filter again after clearing the
29969         filter, when there still is a preset.
29970         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
29971         Include the preset filter.
29972         (org-agenda-redo): Apply the filter again, also the preset filter.
29974         * org-exp.el (org-export-as-html): Use IDs in the correct way.
29976         * org.el (org-uuidgen-p): New function.
29978         * org-agenda.el (org-agenda-fontify-priorities): New default value
29979         `cookies'.
29980         (org-agenda-fontify-priorities): Rename from
29981         org-fontify-priorities.
29983         * org.el (org-set-font-lock-defaults):
29984         Call `org-font-lock-add-priority-faces'.
29985         (org-font-lock-add-priority-faces): New function.
29987         * org-faces.el (org-set-tag-faces): New option.
29988         (org-priority-faces): New variable.
29990         * org-exp.el (org-export-as-html): Add a "content" div around the
29991         entire content of the body tag.
29992         (org-export-html-get-bibliography): New function.
29993         (org-export-html-validation-link): New variable.
29994         (org-export-as-html): Add validation link to exported page.
29996         * org.el (org-match-sparse-tree): Rename from
29997         `org-tags-sparse-tree'.
29998         (org-tags-sparse-tree): New alias.
30000 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30002         * org.el (org-get-valid-level): Catch the case where the level
30003         change is nil.
30005         * org-clock.el (org-clock-find-position): Better indentation of
30006         new clock drawers.
30008 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30010         * org-agenda.el (org-agenda-quit): Delete window only when the
30011         frame-setup was not `current-window'.
30013         * org.el (org-tag-persistent-alist): New option.
30014         (org-startup-options): Add keyword `noptag'.
30015         (org-fast-todo-selection): Handle :newline correctly.
30016         (org-set-tags): Handle :newline correctly.
30017         (org-fast-tag-selection): Handle :newline correctly.
30019 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30021         * org-exp.el (org-export-as-ascii): Reverse link buffer before
30022         outputting it.
30023         (org-export-ascii-push-links): Fix bug with pussing links into the
30024         export buffer.
30026 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30028         * org-archive.el (org-archive-subtree): Do not add 1 to level if
30029         pasting at top level.
30031         * org-bbdb.el: Improve documentation.
30033 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30035         * org-list.el (org-insert-item): Only consider insert empty lines
30036         is `org-empty-line-terminates-plain-lists' is not nil.
30038         * org.el (org-blank-before-new-entry): Mention the dependence on
30039         `org-empty-line-terminates-plain-lists' in the docstring.
30041         * org-publish.el (org-publish-get-project-from-filename):
30042         New optional argument UP.  Only find the top project if UP is set.
30043         (org-publish-current-project): Find the top encloding project.
30045         * org-agenda.el (org-agenda-before-write-hook)
30046         (org-agenda-add-entry-text-maxlines): New options.
30047         (org-write-agenda): Run the new hook in the temporary buffer.
30048         (org-agenda-add-entry-text): New function.
30049         (org-write-agenda): Implement PDF export, using ps2pdf.
30051         * org.el (org-global-properties-fixed, org-global-properties):
30052         Improve documentation string.
30054         * org-exp.el (org-export-ascii-links-to-notes): New option.
30055         (org-export-as-ascii): Handle links better.
30056         (org-export-ascii-wrap, org-export-ascii-push-links):
30057         New functions.
30059 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30061         * org-agenda.el (org-agenda): Make prefix arg optional.
30062         (org-agenda-search-headline-for-time): New option.
30063         (org-format-agenda-item):
30064         Honor `org-agenda-search-headline-for-time'.
30066         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
30067         characters.
30069         * org.el (org-self-insert-cluster-for-undo): New option.
30070         (org-self-insert-command): Cluster undo for 20 characters.
30071         (org-self-insert-command-undo-counter): New variable.
30073 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30075         * org-exp.el (org-export-as-html): Fix problem with closing colone
30076         example.
30078 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30080         * org-latex.el (org-export-as-latex)
30081         (org-export-latex-first-lines): Avoid modification flag when
30082         adding or removing text properties.
30083         (org-export-latex-fontify): Catch error when org-emph-alist has
30084         entries that are not defined for LaTeX export.
30086         * org-export-latex.el: Rename to org-latex.el.
30088         * org-latex.el: Rename from org-export-latex.el.
30090         * org.el (orgstruct++-mode): New function.
30091         (turn-on-orgstruct++): Call `orgstruct++-mode'.
30092         (org-context-p): Allow detecting item context after the first line
30093         of an item.
30094         (orgstruct-make-binding): Detect if item-body context should be
30095         seen.
30096         (orgstruct-is-++): New variable.
30097         (org-add-planning-info): Catch the case when there is no planning
30098         info yet and the call does not want to add anything, only maybe
30099         tries to remove something.
30100         (org-special-ctrl-a/e): All value to be a cons cell with separate
30101         settings for `C-a' and `C-e'.
30102         (org-beginning-of-line, org-end-of-line): Honor separate values
30103         for `C-a' and `C-e'.
30105 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30107         * org.el (org-reload): New command.
30109 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
30111         * org-gnus.el (org-gnus-store-link): Fix bug where
30112         org-gnus-store-link used wrong subject when called in an article
30113         buffer.  Patch provided by fengli AT gmail DOT com.
30115 2009-03-13  D. Goel  <deego3@gmail.com>
30117         * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
30118         replace ls by (values-list ls).
30120 2009-02-20  Carsten Dominik  <dominik@science.uva.nl>
30122         * org-remember.el (org-remember-apply-template): Turn off ido for
30123         this completion.
30125         * org.el (org-priority): Also find invisible headings, for remote
30126         editing.
30127         (org-completing-read-no-ido): New function.
30128         (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
30130         * org-colview.el (org-columns-edit-value): No special treatment of
30131         prefix arg.
30133 2009-02-19  Carsten Dominik  <dominik@science.uva.nl>
30135         * org.el (org-block-todo-from-children-or-siblings):
30136         Use `org-up-heading-all' so that this will work correctly with hidden
30137         property drawers and entries.
30138         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
30139         falling back to normal, default command.
30140         (org-get-location): Temporarily turn off special behavior.
30142 2009-02-13  Glenn Morris  <rgm@gnu.org>
30144         * org-rmail.el (rmail-show-message): Restore argument list to the
30145         declaration now that this functions behaves in Emacs 23 as in 22.
30147 2009-02-12  Glenn Morris  <rgm@gnu.org>
30149         * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
30151 2009-02-12  Joachim Reiter  <Reiter.Joachim@web.de>  (tiny change)
30153         * org-footnote.el (org-footnote-action): Fix doc typo.
30155 2009-02-06  Carsten Dominik  <dominik@science.uva.nl>
30157         * org-exp.el (org-export-preprocess-string): Fix bug with skipping
30158         text before first headline.
30159         (org-export-remove-or-extract-drawers): Fix regular expression for
30160         extracting drawers.
30162         * org.el (org-format-latex): Stop LaTeX fragment processing in
30163         protected examples.
30165 2009-02-05  Glenn Morris  <rgm@gnu.org>
30167         * org-rmail.el (rmail-show-message): Update declaration.
30168         (rmail-buffer, rmail-view-buffer): Declare.
30169         (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
30171 2009-02-04  Carsten Dominik  <dominik@science.uva.nl>
30173         * org.el (org-return-follows-link): Revert setting
30174         `org-return-follows-link' to t by default.
30176 2009-02-02  Carsten Dominik  <dominik@science.uva.nl>
30178         * org.el (org-cycle-global-at-bob): Fix typo.
30180         * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
30182 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
30184         * org.el (org-mode): Make dependence stuff work more reliably.
30185         (org-update-parent-todo-statistics): Fix bug with updating
30186         statistics cookie.
30187         (org-yank-adjusted-subtrees, org-return-follows-link)
30188         (org-use-fast-todo-selection, org-tags-column): New default
30189         setting for variables.
30191         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
30192         ~ as verbatim delimiters, to avoid table bug.
30193         (org-export-latex-classes): Remove the a4paper option from the
30194         default styles.
30196         * org-exp.el (org-export-html-format-image): New argument
30197         PAR-OPEN, to fix XHTM validation bug.
30198         (org-export-as-html): Pass par-open to
30199         `org-export-html-format-image'.
30200         (org-export-html-footnotes-section): Use a more consistent id for
30201         footnotes.
30203         * org-agenda.el (org-agenda-sorting-strategy)
30204         (org-agenda-tags-column): New default setting for variables, based
30205         on a poll what typical uses use.
30206         (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
30207         setting the blocked tag.
30209 2009-01-31  Carsten Dominik  <dominik@science.uva.nl>
30211         * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
30212         only checking for blocks.
30214         * org-exp.el (org-export-html-footnotes-section): Make the div id
30215         consistent.
30217         * org-export-latex.el (org-export-latex-classes):
30218         Remove paper size option from LaTeX classes.
30220 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
30222         * org.el (org-enforce-todo-checkbox-dependencies): New option.
30223         (org-block-todo-from-checkboxes): New function.
30224         (org-todo): Make triple prefix arg circumvent blocking.
30226 2009-01-30  Glenn Morris  <rgm@gnu.org>
30228         * org-list.el (org-empty-line-terminates-plain-lists)
30229         (org-toggle-checkbox): Doc fixes.
30231         * org-table.el (org-table-clean-before-export): Fix declaration.
30233 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
30235         * org-timer.el (org-timer): Provide the timer feature.
30237         * org.el (org-require-autoloaded-modules): Add a few more files to
30238         the list of autoloaded modules.
30240         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
30242         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
30243         drawers that are unprotected.
30244         (org-export-html-format-image): Make sure inlined LaTeX fragment
30245         images remain inlined.
30247         * org.el (org-toggle-ordered-property): New function.
30248         (org-mode-map): Add a key for `org-toggle-ordered-property'.
30249         (org-org-menu): Add menu entries for TODO dependencies.
30251         * org.el (org-default-properties): Add ORDERED to the default
30252         properties, to get completion support for it.
30254         * org-list.el (org-update-checkbox-count): Update more than one cookie.
30256         * org.el (org-update-parent-todo-statistics): Update more than one
30257         cookie.
30259 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
30261         * org-agenda.el (org-agenda-get-todos): Start search from correct
30262         position.
30264         * org.el (org-fast-todo-selection): Make sure TODO selection does
30265         not change buffer position.
30267         * org-list.el (org-toggle-checkbox): Implement adding or removing
30268         checkboxes from line or region when called with a prefix
30269         argument.
30271         * org-rmail.el (org-rmail-store-link): Protect the call to
30272         `rmail-narrow-to-non-pruned-header'.
30274         * org-clock.el (org-clock-special-range): Fix week display in
30275         clock tables.
30277         * org-exp.el (org-get-current-options): Fix bug when in indirect
30278         buffer.
30280         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
30281         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
30282         (org-agenda-dim-blocked-tasks): New function.
30284         * org.el (org-enforce-todo-dependencies): New option.
30285         (org-block-todo-from-children-or-siblings): New function.
30287         * org-faces.el (org-agenda-dimmed-todo-face): New face.
30289 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
30291         * org.el (org-todo): Return correct state type even if the blocker
30292         throws an error.
30293         (org-modifier-cursor-error): Rename from
30294         `org-shiftcursor-error'.
30295         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
30296         (org-shiftmetadown): Call `org-modifier-cursor-error'.
30298         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
30299         to get real errors from the blocker hook.
30301         * org.el (org-shiftselect-error, org-call-for-shift-select):
30302         New functions.
30303         (org-set-visibility-according-to-property): Turn off the setting
30304         of `org-show-entry-below', to avoid overruling a FOLDED visibility
30305         property.
30307         * org.el (org-support-shift-select): New option.
30308         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
30309         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
30310         selection outside contexts.
30312         * org-list.el (org-at-item-bullet-p): New function.
30314         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
30315         variables.
30317         * org-footnote.el (org-footnote-normalize): Remove unnecessary
30318         variable.
30319         (org-insert-footnote-reference-near-definition):
30320         Remove unnecessary let form.
30322 2009-01-26  Carsten Dominik  <dominik@science.uva.nl>
30324         * org-export-latex.el (org-export-as-latex):
30325         Call `org-export-latex-first-lines' with OPT-PLIST as a parameter.
30326         (org-export-latex-first-lines): New parameter OPT-PLIST.
30328         * org.el (org-yank): Tell `delete-selection-mode' about
30329         `org-yank'.
30331         * org-faces.el (org-clock-overlay): Fix face definition.
30333         * org-export-latex.el (org-export-latex-first-lines):
30334         Pass timestamp and footnote parameters to the preprocessor.
30336         * org-exp.el (org-export-remove-timestamps): Do not remove time
30337         stamps inside tables.
30339 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30341         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
30343         * org.el (org-agenda-tags-todo-honor-ignore-options):
30344         Declare variable.
30346         * org-table.el (org-table-insert-hline): Fix typo in function call
30347         to `backward-char'.
30349         * org-exp.el (org-export-as-html): Remove the initial space from
30350         colon examples.
30352         * org.el (org-scan-tags):
30353         Call `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
30355         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view):
30356         New customization groups.
30357         (org-agenda-tags-todo-honor-ignore-options): New option.
30358         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
30359         New function.
30360         (org-agenda-get-todos):
30361         Use `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
30363 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30365         * org-exp.el (org-export-format-source-code-or-example):
30366         Escape HTML characters also in examples that anre not treated with
30367         htmlize.  Also, just switch to EXAMPLE processing if we do not
30368         have a good version of htmlize.
30370         * org-rmail.el: Fix copyright notice.
30372         * org.el (org-activate-footnote-links): Improve footnote link
30373         highlighting.
30375         * org-footnote.el (org-footnote-normalize): Fix finding the end of
30376         a footnote definition at the end of the file.
30378         * org-table.el (org-table-get-specials): Add an imagined hline at
30379         the end of the table.  This can be useful for references that want
30380         to go to the end of the table.  Also fix bug when computing last
30381         row constants, in tables that do not start right at the right
30382         margin.
30383         (org-table-eval-formula): Match and replace remove references.
30384         (org-table-formula-substitute-names): Make sure that names inside
30385         a "remote" call are left alone, the will be replaced later when
30386         the remote call is handled.
30387         (org-table-convert-refs-to-rc): Do not convert things that might
30388         look like a reference, but are really part of an ID or namei n a
30389         remote reference.
30390         (org-table-get-remote-range): New function.
30392 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30394         * org-faces.el (org-clock-overlay): Fix bug in face definition.
30396         * org-clock.el (org-clock-put-overlay): Use new face instead of
30397         `secondary-selection'.
30399         * org-faces.el (org-clock-overlay): New face.
30401 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30403         * org-exp.el (org-get-current-options): Include the option for
30404         publishing time stamps.
30406         * org.el (org-toggle-heading): Rename from
30407         `org-toggel-region-headings'.
30408         No longer needs a region defined, but will use it if there is one.
30409         (org-ctrl-c-star): Simplify, relying more on the internal
30410         workings of `org-toggle-heading'.
30411         (org-toggle-item): Rename from `org-toggle-region-items'.
30412         No longer needs a region defined, but will use it if there is one.
30413         (org-ctrl-c-minus): Simplify, relying more on the inernal
30414         workings of `org-toggle-item'.
30416         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
30417         environment detection.  Also, do real changes only in unprotected
30418         places.
30420 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30422         * org-export-latex.el (org-export-latex-quotation-marks):
30423         Use `org-if-unprotected-1'.
30424         (org-export-latex-set-initial-vars): Check for class definition in
30425         property.
30427         * org-macs.el (org-if-unprotected-1): New macro.
30429 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30431         * org-compat.el (org-count-lines): New function.
30433         * org-exp.el (org-export-format-source-code-or-example):
30434         Handle switches related to text areas.
30436         * org.el (org-activate-footnote-links): Don't allow match inside a
30437         link.
30439         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
30441         * org-export-latex.el (org-export-latex-links): Keep a relative
30442         path relative also after export.
30444         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
30446         * org.el (org-make-tags-matcher): Never use IDO for completing the
30447         tags matcher match string.
30448         (org-completing-read): Also remove the special biding for "?".
30450         * org-attach.el (org-attach-allow-inheritance): New option.
30451         (org-attach-inherited): New variable.
30452         (org-attach-dir): Handle properties related to the attachment
30453         directory.
30454         (org-attach-check-absolute-path): New function.
30455         (org-attach-set-directory, org-attach-set-inherit): New commands.
30456         (org-attach): Accommodate the new commands in the dispatcher.
30458 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30460         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
30461         `window-full-width-p'.
30463         * org-exp.el (org-export-as-html): Only check for images files
30464         that really can be inlined.
30466         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
30467         list of extensions to be a parameter.
30469         * org-exp.el (org-export-html-inline-image-extensions):
30470         New variable.
30472         * org-agenda.el (org-prepare-agenda):
30473         Use `org-agenda-block-separator'.
30474         (org-agenda-block-separator): New option.
30476 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30478         * org-export-latex.el (org-export-latex-tables):
30479         Call `org-table-clean-before-export' with the new optional argument.
30481         * org-exp.el (org-table-clean-before-export): New optional
30482         parameter MAYBE-QUOTED, allows for quoted characters like \# in
30483         first column.
30485 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30487         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
30488         histograms.
30490         * org-colview.el (org-colview-construct-allowed-dates):
30491         Better error catching when a date/time property does not have allowed
30492         values defined.
30494 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30496         * org.el (org-map-entries): Restore point and restriction after
30497         `org-map-entries'.
30499 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30501         * org.el (org-time=, org-time<, org-time<=, org-time>)
30502         (org-time>=, org-time<>): Make sure both values are dates.
30504 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30506         * org-archive.el (org-extract-archive-heading): Allow %s for file
30507         name also in achive location heading.
30509 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30511         * org-archive.el (org-add-archive-files): Uniquify the list before
30512         returning it.
30514 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30516         * org-compat.el (org-fit-window-to-buffer):
30517         Use `window-full-width-p'.
30519         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
30520         space after the colon in short examples.
30522         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
30523         enforce a space after the colon.  However, we also allow lines
30524         that are *only* a colon.
30525         (org-export-as-html): Enforce the space after the colon in short
30526         examples.
30527         (org-export-preprocess-string): Do the colon example protection
30528         earlier.
30529         (org-export-remove-timestamps): Do not check for protection at the
30530         end of the line.
30532 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30534         * org.el (org-format-latex-options): Add new matcher for single
30535         letters between dollars.
30536         (org-get-header): Function removed.
30537         (org-heading-components): New function.
30539         * org-exp.el (org-export-define-heading-targets): Record ID's also
30540         as alternative targets.
30541         (org-export-as-html): Interpret "id:" links to other files by
30542         preserving the relative path.
30544         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
30545         is nil.
30547         * org-exp.el (org-export-normalize-links): Protect the main link,
30548         to avoid special character processing.
30550         * org-export-latex.el (org-export-latex-special-keyword-regexp):
30551         New variable.
30552         (org-export-latex-special-string-regexps): Variable removed.
30553         (org-export-latex-keywords): Use the new regexp.
30555         * org-exp.el (org-export-handle-include-files): Fetch switches and
30556         put them into the BEGIN statement.
30558         * org-timer.el (org-timer-mode-line-string): New variable.
30560         * org-clock.el (org-clock-mode-line-map): Rename from
30561         `org-clock-mode-map'.
30562         (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
30563         (org-clock-update-mode-line): Rename from `org-update-mode-line'.
30564         (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
30565         (org-clock-remove-overlays): Rename from
30566         `org-remove-clock-overlays'.
30568         * org-timer.el (org-timer-pause-or-continue): Implement stopping
30569         and mode line display.
30570         (org-timer-stop): New command.
30571         (org-timer-seconds): Return correct time when timer is paused.
30572         (org-timer-mode-line-timer): New variable.
30573         (org-timer-set-mode-line, org-timer-update-mode-line):
30574         New functions.
30576         * org.el (org-insert-heading): Handle new value `auto' for
30577         `org-blank-before-new-entry'.
30578         (org-org-menu): Add new items for timer functions.
30580         * org-list.el (org-insert-item): Handle new value `auto' for
30581         `org-blank-before-new-entry'.
30583         * org.el (org-blank-before-new-entry): New value `auto', made
30584         default.
30586 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30588         * org-exp.el (org-export-normalize-links): If the link is also
30589         used as the description, protect the description.
30591 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30593         * org.el (org-closest-date): Fix bug with yearly repeats, in
30594         combination with preference of the past as it is used for deadline
30595         and scheduling search.
30597         * org-exp.el (org-html-handle-time-stamps): No longer check for
30598         the `org-export-with-timestamps' option, because the preprocesser
30599         has taken care of this already.
30601         * org.el (org-entry-properties): Catch the case when this is
30602         called in a non-org-mode file.
30604         * org-export-latex.el (org-export-latex-remove-from-headlines):
30605         Variable made obsolete, also LaTeX export now uses the standard
30606         variables.
30607         (org-export-as-latex): Add the timestamps parameter to the
30608         preprocessor parameter list.
30609         (org-export-latex-content): Export the remaining keywords without
30610         considering to remove them.
30611         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
30612         Use bold font instead of tt font for the keywords.
30613         (org-export-latex-fontify-headline): Format headlines, assuming
30614         that all keywords still present should be published.
30615         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
30616         publish what ever remains of the time stamps.
30617         (org-export-latex-list-parameters): New option.
30618         (org-export-latex-lists): Pass additional parameters to the list
30619         converter.
30621         * org-exp.el (org-export-preprocess-string): Remove clock lines
30622         and timestamps already in the preprocesor.
30623         (org-export-remove-timestamps, org-export-remove-clock-lines):
30624         New functions.
30625         (org-export-as-ascii, org-export-as-html): Add the timestamps
30626         parameter to the preprocessor parameter list.
30628         * org-list.el (org-list-parse-list): Parse for checkboxes.
30629         (org-list-to-generic): Introduce and handle new parameters :cbon
30630         and :cboff.
30631         (org-list-to-latex, org-list-to-html, org-list-to-texinfo):
30632         Add optional parameter PARAMS.
30634         * org-export-latex.el (org-export-latex-special-chars):
30635         Fix problems with interpreting dollar signs.
30636         (org-inside-latex-math-p): New function.
30637         (org-export-latex-preprocess): Protect all the math fragments.
30639         * org.el (org-latex-regexps): Allow a dash after a dollar.
30641         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
30642         mark after copying.
30644         * org-agenda.el (org-run-agenda-series): Have series options set
30645         when finalizing the agenda.
30647         * org-exp.el (org-export-format-source-code-or-example):
30648         Protect the converted examples.
30650         * org.el (org-set-regexps-and-options): Fix the regexp
30651         `org-complex-heading-regexp'.
30653 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30655         * org.el (org-edit-src-get-label-format): New function.
30656         (org-coderef-label-format): New option.
30657         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
30658         a label format specification and make sure it is used in the edit
30659         buffer.
30660         (org-edit-src-get-label-format): New function.
30661         (org-store-link): Handle new coderef formats.
30662         (org-link-search): Handle new coderef formats.
30664         * org-footnote.el (org-footnote-create-definition)
30665         (org-footnote-goto-local-insertion-point): Make footnote insertion
30666         work correctly when the "Footnotes" headline is the last line in
30667         the buffer.
30669         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
30670         the location.
30672 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30674         * org-w3m.el (org-w3m): New customization group.
30675         (org-w3m-deactivate-mark): New option.
30676         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
30677         option say not to.
30679 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30681         * org.el (org-set-font-lock-defaults): Trigger footnote
30682         fontification.
30683         (org-activate-footnote-links): New function.
30684         (org-activate-links): New entry `footnote'.
30686         * org-faces.el (org-footnote): New face.
30688 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30690         * org-macs.el (org-re): Handle the [:word:] class.
30692         * org-exp.el (org-export-preprocess-string):
30693         Call `org-export-protect-colon-examples'.
30694         (org-export-protect-colon-examples): Rename from
30695         `org-export-protect-examples', and scope limited to lines starting
30696         with a colon.
30698 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30700         * org-exp.el (org-export-preprocess-string): Move the preprocess
30701         hook to after turning on Org-mode.
30702         (org-export-preprocess-after-include-files-hook)
30703         (org-export-preprocess-after-tree-selection-hook)
30704         (org-export-preprocess-before-backend-specifics-hook)
30705         (org-export-preprocess-final-hook): New hooks.
30706         (org-export-preprocess-string): Run the new hooks.
30708         * org.el (org-ctrl-c-minus): Fix indentation for new items.
30710         * org-footnote.el: New file.
30712         * org.el (org-footnote): Require footnote code.
30713         (org-startup-options): Add new footnote options.
30714         (org-mode-map): New keybindig for footnotes.
30715         (org-ctrl-c-ctrl-c): Add function at footnotes.
30716         (org-org-menu): New menu entries for footnotes.
30718         * org-export-latex.el (org-export-as-latex): Pass footnote
30719         variable to preprocessor.
30720         (org-export-latex-preprocess): Treat multiple references to a
30721         footnote.
30723         * org-exp.el (org-export-preprocess-string):
30724         Call `org-footnote-normalize'.
30725         (org-export-as-ascii, org-export-as-html): Pass footnote variable
30726         to preprocessor.
30727         (org-export-as-html): Treat multiple references to a footnote.
30729 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30731         * org-export-latex.el (org-export-latex-links): Handle coderef
30732         links.
30734         * org.el (org-bracket-link-analytic-regexp++): New variable.
30735         (org-make-link-regexps):
30736         Initialize `org-bracket-link-analytic-regexp++'.
30737         (org-store-link): Implement special case in edit-src buffer.
30738         (org-insert-link): No use of ide to insert stored links.
30739         (org-link-search): Implement special case for coderefs.
30741         * org-exp.el (org-export-html-scripts): New constant.
30742         (org-export-html-style-default): Add a new style for highlighted
30743         code.
30744         (org-export-code-refs): New variable.
30745         (org-export-preprocess-string): Initialize `org-export-code-refs'.
30746         Call `org-export-replace-src-segments-and-examples'
30747         No longer call `org-export-protect-examples'.
30748         (org-export-target-internal-links): Take care of coderef targets.
30749         (org-export-last-code-line-counter-value): New variable.
30750         (org-export-replace-src-segments-and-examples): Rename from
30751         `org-export-replace-src-segments', and modified.
30752         (org-export-format-source-code-or-example): Rename from
30753         `org-export-format-source-code'.
30754         (org-export-number-lines): New function.
30755         (org-export-as-ascii, org-export-as-html): Handle coderef links.
30757 2009-01-23  Glenn Morris  <rgm@gnu.org>
30759         * org-rmail.el (rmail-narrow-to-non-pruned-header):
30760         Remove declaration of deleted function.
30762 2009-01-16  Glenn Morris  <rgm@gnu.org>
30764         * org-mouse.el (org-mouse-show-context-menu):
30765         Use mouse-menu-major-mode-map, if defined, rather than the obsolete
30766         mouse-major-mode-menu.
30768 2008-12-23  Carsten Dominik  <dominik@science.uva.nl>
30770         * org-remember.el (org-remember-handler): Safer way to get a new
30771         buffer accessing the target file.
30773         * org.el (org-refile-get-location): Handle case of current buffer
30774         not having a file associated with it.
30776 2008-12-22  Carsten Dominik  <dominik@science.uva.nl>
30778         * org-table.el (org-table-get-formula): Only ask to overwrite
30779         field formula if there really is one.
30781 2008-12-21  Carsten Dominik  <dominik@science.uva.nl>
30783         * org-export-latex.el (org-export-latex-make-header): Double the
30784         commenting % in the time stamp format.
30785         (org-export-latex-special-chars): Handle case where there is no
30786         match group 3.
30788 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
30790         * org.el (org-get-refile-targets, org-refile-get-location):
30791         Use expanded file name to improve comparison.
30793 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
30795         * org.el (org-scan-tags): Rescan for tags, to get the correct
30796         upcase/downcase stuff.  This slows things down for now, but it
30797         works.
30798         (org-mode): Make sure the tag-faces regexp is initialized.
30800         * org-export-latex.el (org-export-latex-links): Fix bug with
30801         undefined label.
30803         * org-table.el (org-table-get-specials):
30804         Set `org-table-current-last-data-line'.
30805         (org-table-current-last-data-line): New variable.
30806         (org-table-insert-column, org-table-delete-column)
30807         (org-table-move-column, org-table-fix-formulas):
30808         Call `org-table-fix-formulas' a second time to fix the $LR references.
30809         (org-table-get-specials): Add the $LR references to the tables.
30810         (org-table-get-formula): Do not offer last-row names as LHS of
30811         formulas.
30813         * org.el (org-store-link): Capture link description from
30814         `org-id-store-link'.
30816         * org-exp.el (org-export-html-format-image): Add the / to the end
30817         of the <img> tag.
30818         (org-export-format-source-code): Surround example by empty lines,
30819         to make sure it will not be inside a paragraph.
30821         * org.el (org-ido-switchb): New function.
30823 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
30825         * org-agenda.el (org-agenda-show): New prefix argument
30826         FULL-ENTRY.
30828         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
30829         argument.
30831 2008-12-20  Glenn Morris  <rgm@gnu.org>
30833         * org.el (org-org-menu): Fix some more menu entries.
30835 2008-12-18  Carsten Dominik  <dominik@science.uva.nl>
30837         * org-table.el (org-table-get-specials): Revert introduction of @0
30838         as reference of the last table row, because of conflicts.
30840         * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
30841         argument, get the current tags directly.
30842         (org-agenda-set-tags): Leave getting current tags to
30843         `org-agenda-change-all-lines'.
30845 2008-12-17  Carsten Dominik  <dominik@science.uva.nl>
30847         * org.el (org-org-menu): Do not quote the set-tags command.
30849 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
30851         * Fix typos in comments and docstrings throughout Org-mode.
30853         * org.el (org-get-outline-path): Fix bug if level is not given.
30855         * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
30857 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30859         * org.el (org-refile): Avoid refiling to within the region to be
30860         refiled.
30862         * org-export-latex.el (org-export-latex-special-chars):
30863         Replace special characters also in tables.
30865         * org-agenda.el (org-agenda-change-all-lines): New argument
30866         FORCE-TAGS.
30867         (org-agenda-set-tags): Get the new tags and pass them to
30868         `org-format-agenda-item'.
30870 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30872         * org-export-latex.el (org-export-latex-classes): Add longable as
30873         a default package to all classes.
30874         (org-export-latex-tables): Handle the longtable attribute and the
30875         align attribute.
30877         * org-table.el (orgtbl-to-generic): Handle tables that start with
30878         a hline.
30880         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
30881         \verb for colde-like snippets.
30882         (org-export-as-latex): Fix issues with region export.
30884         * org.el (org-up-heading-safe): Speed up function by using a
30885         direct regexp search.
30886         (org-olpa): New variable.
30887         (org-get-outline-path): Speed-up path constructions in cases where
30888         this is possible because the entire hierarchy is scanned anyway.
30889         (org-refile-get-location): Don't compare the truenames of files,
30890         this is too slow.
30891         (org-goto-max-level): New option.
30892         (org-goto): Use `org-goto-max-level'.
30894 2008-12-16  Tassilo Horn  <tassilo@member.fsf.org>
30896         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
30897         Strip angle brackets from message-ids in the former and don't do
30898         it in the latter.
30899         (org-gnus-follow-link): Open summary reliable, even if the last
30900         messages were deleted, and handle empty groups, too.
30902 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30904         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
30905         instead of \texttt for the =...= and ~===~ emphasis environments.
30906         (org-export-as-latex): Remove any old :org-license-to-kill text
30907         properties.
30908         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
30909         (org-export-latex-make-header): Add some hard space after the
30910         table of contents.
30911         (org-export-latex-first-lines): Accept RBEG argument.
30912         Mark exported text so that it will be excuded in further steps.
30914         * org-table.el (org-table-get-specials): Make @0 reference the
30915         last line in a table.
30916         (org-table-recalculate): Improve docstring.
30918 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30920         * org.el (org-log-done): Fix docstring.
30922 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30924         * org-exp.el (org-export-html-format-image): Fix bugs.
30926         * org-export-latex.el (org-export-latex-tables)
30927         (org-export-latex-links): Implement attribute, label, and caption
30928         handling.
30930         * org-exp.el (org-export-html-style-default): Add style
30931         definitions for the figure div.
30932         (org-export-preprocess-string, org-export-as-html):
30933         Implement attribute, label, and caption handling.
30934         (org-export-attach-captions-and-attributes): New function.
30935         (org-export-html-format-image): New function.
30936         (org-format-org-table-html): Implement attribute, label, and
30937         caption handling.
30939         * org.el (org-find-text-property-in-string): New function.
30940         (org-extract-attributes): Use the property org-attr instead of
30941         org-attrobutes, because this property is now set with the #+ATTR
30942         lines.
30944 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30946         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
30947         the case that FROM is nil.
30949         * org.el (org-before-first-heading-p): New function.
30951 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30953         * org-exp.el (org-export-as-html): Do not add a space before
30954         enforces line breaks.
30955         (org-export-as-html): Close paragraph before blockquote and verse
30956         tags.
30958 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30960         * org-id.el (org-id-locations-file): Wrap file name with
30961         `convert-standard-filename'.
30962         (org-id-files): New variable.
30963         (org-id-use-hash): New option.
30964         (org-id-update-id-locations): Also search in all files current
30965         listed in `org-id-files'.  Convert the resulting alist to a hash
30966         if the user customation says so.
30967         (org-id-locations-save): Handle he case if `org-id-locations' is a
30968         hash.
30969         (org-id-locations-load): Convert the alist to a hash.
30970         (org-id-add-location): Handle the hast case.
30971         (kill-emacs-hook): Make sure id locations are saved when Emacs is
30972         exited.
30973         (org-id-hash-to-alist, org-id-alist-to-hash)
30974         (org-id-paste-tracker): New functions.
30976 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
30978         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
30979         bindings of calendar variables.
30981         * org-table.el (org-table-find-row-type): Rename from
30982         `org-find-row-type'.
30983         (org-table-rewrite-old-row-references): Rename from
30984         `org-rewrite-old-row-references'.
30985         (org-table-shift-refpart): Rename from `org-shift-refpart'.
30986         (org-table-cleanup-narrow-column-properties): Rename from
30987         `org-cleanup-narrow-column-properties'.
30989 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
30991         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
30992         for better error messages.
30993         (org-table-get-descriptor-line): Supply the new arguments to
30994         `org-find-row-type'.
30995         (org-table-error-on-row-ref-crossing-hline): New option.
30997         * org.el (org-target-link-regexp): Make buffer-local.
30998         (org-move-subtree-down): Fix bug with trees at beginning of
30999         buffer.
31001 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31003         * org-faces.el (org-set-tag-faces): New function.
31004         (org-tags-special-faces-re): New variable.
31006         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
31008         * org-faces.el (org-tag-faces): New option.
31009         (org-tag): Mention `org-tag-faces' in the docstring.
31011 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31013         * org-exp.el (org-export-html-style-default): Implement new
31014         quoting.
31016         * org-jsinfo.el (org-infojs-template): Implement new quoting.
31018         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
31019         command to the `w3m-minor-mode-map'.
31021         * org-archive.el (org-archive-to-archive-sibling):
31022         Protect `this-command' to avoid appending kills during archiving.
31024         * org-exp.el (org-export-with-priority): New variable.
31025         (org-export-add-options-to-plist): Use `org-export-plist-vars'
31026         instead of internal list of strings and properties.
31027         (org-print-icalendar-entries): Retrieve the location property with
31028         inheritance.
31030 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31032         * org-exp.el (org-export-with-todo-keywords): New option.
31033         (org-export-plist-vars): Include also the keys for the #+OPTIONS
31034         line.
31035         (org-default-export-plist, org-export-add-options-to-plist)
31036         (org-export-as-ascii, org-export-as-html): Use the new structure
31037         of `org-export-plist-vars'.
31039         * org.el (org-map-entries): Return all values.
31041 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31043         * org.el (org-matcher-time): Recognize more special values.
31045         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
31047 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31049         * org.el (org-tags-exclude-from-inheritance): New option.
31050         (org-tag-inherit-p, org-remove-uniherited-tags):
31051         Respect `org-tags-exclude-from-inheritance'.
31053         * org-agenda.el (org-agenda-show-inherited-tags): New option.
31054         (org-format-agenda-item): Add inherited tags to the agenda line
31055         string, and make sure that properties are kept when downcasing the
31056         tags list.
31057         (org-agenda-add-inherited-tags): New function.
31058         (org-downcase-keep-props): New function.
31060         * org.el (org-scan-tags): Mark inherited tags with a text
31061         property.
31062         (org-get-tags-at): Mark inherited tags with a text property.
31063         (org-add-prop-inherited): New function.
31065         * org-agenda.el (org-agenda-add-inherited-tags): New function.
31066         (org-agenda-show-inherited-tags): New option.
31068 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31070         * org.el (org-modules): Add org-w3m to the default modules.
31072         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
31073         orgtbl-mode.
31074         (orgtabl-create-or-convert-from-region): New command.
31076         * org-exp.el (org-export-as-ascii): Remove the handling of
31077         targets.
31078         (org-export-ascii-preprocess): Handle targets already in this
31079         function.
31081 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31083         * org-timer.el (org-timer-start-time): Define this variable.
31084         (org-timer-item): Make argument optional.
31086         * org-list.el (org-insert-item): Automatically insert a timer item
31087         if the current list is a timer list.
31089         * org-timer.el: New file.
31091         * org-publish.el (org-publish-org-index): Only exclude the index
31092         file in the main directory from being added to the site-map.
31093         (org-publish-get-project-from-filename): If the current project is
31094         a component, start publishing from the parent project.
31096 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31098         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
31100         * org-publish.el (org-publish-org-index): Improve removal of
31101         temporary buffers.
31103 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
31105         * org-agenda.el (org-get-closed): Re-apply changes
31106         accidentially overwritten by last commit to Emacs.
31108         * org.el (org-outline-path-complete-in-steps): New option.
31109         (org-refile-get-location):
31110         Honor `org-outline-path-complete-in-steps'.
31111         (org-agenda-change-all-lines, org-tags-sparse-tree)
31112         (org-time-string-to-absolute, org-small-year-to-year)
31113         (org-link-escape): Re-apply changes accidentially overwritten
31114         by last commit to Emacs.
31116 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31118         * org-clock.el (org-dblock-write:clocktable): Make sure the
31119         clocktable sees the first line.
31120         (org-clock-in): Warn if the clock cannot be resumed.
31122 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31124         * org.el (org-open-at-point): Fix mixup about interactive and
31125         non-interactive elisp links.
31127 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31129         * org-exp.el (org-export-preprocess-string): Allow one comment
31130         line before the first headline to always be included.  This is
31131         to not miss a commented target.
31133         * org-mouse.el (org-mouse-insert-item):
31134         Call `org-indent-to-column' instead of `indent-to', for XEmacs
31135         compatibility.
31137         * org.el (org-refile-targets): Fix customize definition so
31138         that it works also in XEmacs.
31139         (org-fixup-indentation): Call `org-indent-to-column' instead
31140         of `indent-to', for XEmacs compatibility.
31142 2008-11-23  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
31144         * org-mew.el (org-mew-store-link): Get the correct case folder
31145         for refiled messages.
31147 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31149         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
31150         line break indicators.
31152         * org.el (org-ido-completing-read): Remove the "i:" prefix for
31153         ido-completion propts.
31155 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31157         * org-remember.el (org-remember-apply-template):
31158         Use `org-substring-no-properties'.
31160         * org-compat.el (org-substring-no-properties): New function.
31162         * org-remember.el (org-remember-apply-template):
31163         Use `org-substring-no-properties' for compatibility.
31165         * org-list.el (org-list-two-spaces-after-bullet-regexp):
31166         New option.
31167         (org-fix-bullet-type):
31168         Respect `org-list-two-spaces-after-bullet-regexp'.
31170         * org-clock.el (org-clock-load): Clean up the code.
31172         * org.el (org-adaptive-fill-function): Allow two spaces after
31173         "1." as a list bullet.
31175 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31177         * org-clock.el (org-clock-save, org-clock-load): Check for
31178         live buffers, existing files, and buffer file names to ensure
31179         consistent information.
31180         (org-clock-persist): Make `clock' a special value of this
31181         variable, and improve docstring.
31183         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
31184         (org-get-string-indentation): Adapt indentation when the bullet
31185         width changes.
31187 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31189         * org-remember.el (org-remember-finalize): Make interactive.
31190         (org-remember-kill): New command.
31191         (org-remember-finish-immediately): Call `org-remember-finalize'
31192         directly.
31193         (org-remember-finalize): Make `org-remember-finalize' an interactive
31194         function.
31196 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31198         * org-remember.el (org-remember-apply-template): No ido completion
31199         for free prompts in remember templates.
31200         (org-remember-before-finalize-hook): New hook.
31201         (org-remember-mode): New minor mode.
31202         (org-remember-apply-template): Turn on `org-remember-mode'.
31204         * org-remember.el (org-remember-apply-template): Fix the way how
31205         the list of allowed properties is retrieved from the target file.
31207         * org.el (org-insert-link): Improve file link matching.
31209 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31211         * org-colview.el (org-columns-display-here): New argument
31212         DATELINE, to trigger using the new face.
31213         (org-agenda-colview-summarize): Call `org-columns-display-here'
31214         with the new argument.
31216         * org-faces.el (org-agenda-column-dateline): New face.
31218         * org-publish.el (org-publish-org-index): Use index-title at page
31219         title, not as section.
31221         * org-exp.el (org-export-html-format-desc): Respect the
31222         org-protect property.
31223         (org-export-as-html): Protect image specifiers that are in the
31224         description part of a link.
31226         * org.el (org-sort-entries-or-items, org-completing-read)
31227         (org-refile-get-location, org-olpath-completing-read, org-todo)
31228         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
31229         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
31230         (org-set-property, org-delete-property)
31231         (org-delete-property-globally): Use `org-ido-completing-read'.
31233         * org-remember.el (org-remember-apply-template):
31234         Use `org-ido-completing-read'.
31236         * org-publish.el (org-publish): Use `org-ido-completing-read'.
31238         * org-colview.el (org-columns-edit-value, org-columns-new)
31239         (org-insert-columns-dblock): Use `org-ido-completing-read'.
31241         * org-attach.el (org-attach-delete-one, org-attach-open):
31242         Use `org-ido-completing-read'.
31244         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag):
31245         Use `org-ido-completing-read'.
31247         * org.el (org-time-today): New function.
31248         (org-matcher-time): Use `org-time-today'.  Add special treatment
31249         for "<tomorrow>" and "<yesterday>".
31250         (org-ido-completing-read): New function.
31251         (org-completion-use-ido): New option.
31253         * org-exp.el (org-export-format-source-code): Fix bug in require
31254         htmlize code.
31255         (org-export-target-internal-links): Fix bug in search for text
31256         property.
31258 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31260         * org-export-latex.el (org-export-latex-subcontent):
31261         Interpret target aliases as additional labels.
31263         * org-exp.el (org-export-target-aliases): New variable.
31264         (org-export-preprocess-string)
31265         (org-export-handle-invisible-targets): Fill the alias alist.
31266         (org-export-as-html): Remove the &nbsp; from the anchor, and also
31267         assign an id.
31268         (org-html-level-start): Insert the target aliases as additional
31269         anchors.
31271         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
31272         picture area.
31274 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31276         * org.el (org-open-at-mouse): Ensure correct link abbreviations
31277         when following a link with the mouse from the agenda.
31279         * org-exp.el (org-export-as-html): Avoid lone </div> when no
31280         headlines are created.
31282 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31284         * org.el (org-link-translation-function): New option.
31285         (org-open-at-point): Call `org-link-translation-function' if
31286         non-nil.
31287         (org-translate-link): New function.
31288         (org-translate-link-from-planner): New function.
31289         (org-open-at-point): Allow interactive commands in elisp links.
31291         * org-exp.el (org-icalendar-cleanup-string): Restore the old
31292         iCalendar quoting.  The new one seems to caus problems with
31293         applications.
31295         * org.el (org-yank): Set `this-command' to `yank', so that
31296         `yank-pop' will work.
31298 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31300         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
31301         compliance as far as quoting is concerned.
31303         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
31304         hexified version of the tag.
31306         * org-vm.el (org-vm-follow-link): Require `vm-search'.
31308         * org.el (org-up-heading-safe, org-forward-same-level):
31309         Always call `org-back-to-heading' instead of `outline-back-to-heading'.
31310         (org-back-to-heading): New wrapper around outline-back-to-heading,
31311         with a useful error message telling where the error happened.
31313         * org-list.el (org-update-checkbox-count): Always call
31314         `org-back-to-heading' instead of `outline-back-to-heading'.
31316         * org-exp.el (org-export-as-html): Make sure that each <img> tag
31317         has an `alt' attribute, to ensure XHTML validation.
31319 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31321         * org-publish.el (org-publish-attachment): Allow publishing to
31322         overwrite attachment files.
31324         * org-agenda.el (org-agenda-timerange-leaders): New option.
31325         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
31327         * org.el (org-edit-src-exit): Untabify ASCII image before
31328         returning.
31330 2008-11-19  Glenn Morris  <rgm@gnu.org>
31332         * org.el, org-mouse.el (org-agenda-change-all-lines):
31333         Fix declaration.
31335 2008-11-18  Carsten Dominik  <dominik@science.uva.nl>
31337         * org.el ("speedbar"): Only show context if the file really is an
31338         org-mode buffer.
31340 2008-11-17  Juanma Barranquero  <lekktu@gmail.com>
31342         * org.el (org-time-string-to-absolute, org-small-year-to-year)
31343         (org-tags-sparse-tree): Fix typos in docstrings.
31345 2008-11-15  Carsten Dominik  <dominik@science.uva.nl>
31347         * org-publish.el (org-publish-attachment): Allow copy-file to
31348         overwrite files.
31350 2008-11-13  Glenn Morris  <rgm@gnu.org>
31352         * org-agenda.el (org-get-closed): Fix alias.
31354 2008-11-12  Juanma Barranquero  <lekktu@gmail.com>
31356         * org.el (org-link-escape): Fix typo in docstring.
31358 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31360         * org.el (org-yank): Make any prefix force normal yanking.
31361         Suppress folding if text would be swallowed into a folded
31362         subtree.
31363         (org-yank-folded-subtrees, org-yank): Docstring updates.
31365         * org-agenda.el (org-agenda-compare-effort): Treat no effort
31366         defined as 0.
31368         * org-exp.el (org-export-language-setup): Add Catalan and
31369         Esperanto language entries.
31371 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31373         * org.el (org-refile): Allow refiling of entire regions.
31375         * org-clock.el (org-clock-time%): New function.
31377         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
31378         retrieve property values.
31380 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31382         * org-agenda.el (org-agenda-list): Handle the value `only' of
31383         org-agenda-show-log'.
31384         (org-agenda-log-mode): Interpret a double prefix arg.
31386 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31388         * org-exp.el (org-export-html-footnotes-section): New variable.
31389         (org-export-as-html): Use `org-export-html-footnotes-section' to
31390         insert the footnotes.
31391         (org-export-language-setup): Add "Footnotes" to language words.
31393 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31395         * org.el (org-yank): Fix bug when not inserting a subtree.
31397 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31399         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
31400         instead of `vm-beginning-of-message'.
31402         * org.el (org-make-link-regexps): Make sure that links to gnus can
31403         contain brackets.
31405 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31407         * org-attach.el (org-attach-dir): Remove duplicate ID creation
31408         code.
31410         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
31411         shell output.
31413         * org.el (org-link-abbrev-alist): Improve customization type.
31415         * org-attach.el (org-attach-expand-link, org-attach-expand):
31416         New functions.
31418         * org-agenda.el (org-agenda-get-progress): Rename from
31419         `org-get-closed'.  Implement searching for state changes as well.
31420         (org-agenda-log-mode-items): New option.
31421         (org-agenda-log-mode): New option prefix argument, interpreted as
31422         request to show all possible progress info.
31423         (org-agenda-get-day-entries): Call `org-get-progress' instead of
31424         `org-get-closed'.
31425         (org-agenda-set-mode-name): Handle the more complex log mode
31426         settings.
31427         (org-get-closed): New alias, pointing to `org-get-progress'.
31429 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31431         * org.el (org-file-apps-defaults-gnu)
31432         (org-file-apps-defaults-macosx)
31433         (org-file-apps-defaults-windowsnt): Add an entry defining the
31434         system command.
31435         (org-file-apps): Allow `system' as key and value.
31436         (org-open-at-point): Explain the effect of a double prefix arg.
31437         (org-open-file): If the argument `in-emacs' is (16),
31438         i.e. corresponding to a double prefix argument, try to open the
31439         file externally.
31441 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31443         * org.el (org-insert-link): Abbreviate absolute files names in
31444         links.  Also, fix a bug in which the double C-u prefix would not
31445         be honored.
31447 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31449         * org.el (org-insert-heading): If buffer does not end with a
31450         newline, add one if necessary to insert headline correctly.
31452         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
31453         paragraphs, not inside.
31455         * org.el (org-todo):
31456         Quote `org-agenda-headline-snapshot-before-repeat'.
31458         * org-exp.el (org-export-as-html): Fully process link descriptions.
31459         (org-export-html-format-desc): New function.
31460         (org-export-as-html): Collect footnotes into the correct basket.
31461         (org-html-protect): No longer protect quotations marks here, this
31462         goes wrong.
31464         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
31465         BEG.
31467         * org-compat.el (org-fit-window-to-buffer): New function (not
31468         really, a preliminary and incomplete version was present earlier,
31469         but not used).
31471         * org.el (org-fast-todo-selection, org-fast-tag-selection):
31472         Use `org-fit-window-to-buffer'.
31474         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
31476         * org-agenda.el (org-agenda-get-restriction-and-command)
31477         (org-fit-agenda-window, org-agenda-convert-date):
31478         Use `org-fit-window-to-buffer'.
31480         * org-exp.el (org-export-as-html): Process href links through
31481         `org-export-html-format-href'.
31482         (org-export-html-format-href): New function.
31484         * org-agenda.el (org-agenda-todo): Update only the current
31485         headline if this is a repeated TODO, marked done for today.
31486         (org-agenda-change-all-lines): New argument JUST-THIS, to change
31487         only the current line.
31489         * org.el (org-todo): Take a snapshot of the headline if the
31490         repeater might change it.
31492 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31494         * org-publish.el (org-publish-find-title): Remove buffers visited
31495         only for extracting the title.
31497         * org-exp.el (org-export-html-style)
31498         (org-export-html-style-default): Mark style definitions as
31499         unparsed CDATA.
31501         * org-publish.el (org-publish-validate-link):
31502         Function re-introduced.
31504 2008-11-12  Charles Sebold  <csebold@gmail.com>
31506         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
31507         property.
31508         (org-plot-quote-timestamp-field): New function.
31509         (org-plot-quote-tsv-field): Call timestamp field function when
31510         necessary rather than just quoting as a string.
31511         (org-plot/gnuplot-to-data): Pass in timefmt property.
31512         (org-plot/gnuplot-script): Supports timefmt property.
31513         (org-plot/gnuplot): Checks for timestamp column before checking
31514         for text index column.
31516 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31518         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
31520         * org-publish.el (org-publish-org-index): Create a section in the
31521         index file.
31522         (org-publish-org-index): Stop linking to directories.
31524         * org.el (org-emphasis-alist): Use span instead of <u> to
31525         underline text.
31527         * org-exp.el (org-export-as-html): Make sure <p> is closed before
31528         <pre> sections.
31530 2008-11-12  Sebastian Rose  <sebastian_rose@gmx.de>
31532         * org-jsinfo.el (org-infojs-template): Remove language attribute
31533         from script tag.
31535 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31537         * org-agenda.el (org-agenda-remove-marked-text): New function.
31538         (org-agenda-mark-filtered-text)
31539         (org-agenda-unmark-filtered-text): New functions.
31540         (org-write-agenda): Remove filtered text.
31542         * org.el (org-make-tags-matcher): Give access to TODO "property"
31543         without speed penalty.
31545 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31547         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
31548         option.
31549         (org-store-link-props): Make sure adding to the plist works
31550         correctly.
31552         * org-gnus.el (org-gnus-no-new-news): New function.
31553         (org-gnus-follow-link): Allow the article ID to be a message-id,
31554         in addition to allowing article numbers.  Message IDs make much
31555         more roubust links.
31556         (org-gnus-store-link): Use message-id to create link.
31558 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31560         * org.el (org-emphasize): Reverse the selection array.
31561         (org-emphasis-alist): Set <code> tags for the verbatim
31562         environment.
31564         * org-remember.el (org-remember-handler): Fix bug with
31565         prefix-related changing of the note storage target.
31567         * org-exp.el (org-print-icalendar-entries): Make the exported
31568         priorities compatible with RFC 2445.
31570         * org-clock.el (org-clock-save): Insert time stamp without
31571         dependence on time-stamp.el.
31573 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31575         * org.el ("saveplace"): If saveplace puts point into an invisible
31576         location, make it visible.
31577         (org-make-tags-matcher): Allow inactive time stamps in time
31578         comparisons.
31579         (org-yank-adjusted-subtrees): New option.
31580         (org-yank): Incorporate adjusting trees.
31581         (org-paste-subtree): New argument FOR-YANK which will cause
31582         insertion at point without backing up over white lines, and leave
31583         point at the end of the inserted text.  Also if the cursor is
31584         at the beginning of a headline, use the same level or the inserted
31585         tree.
31587         * org-publish.el (org-publish-get-base-files-1): Deal correctly
31588         with broken symlinks.
31590 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31592         * org-exp.el (org-export-select-tags, org-get-current-options):
31593         Fix typo.
31595 2008-11-06  Glenn Morris  <rgm@gnu.org>
31597         * org-publish.el (org-publish-attachment): Use copy-file rather than
31598         eshell/cp.
31600 2008-11-04  Juanma Barranquero  <lekktu@gmail.com>
31602         * org.el (org-columns-modify-value-for-display-function):
31603         * org-table.el (org-table-convert-region): Fix typos in docstrings.
31605 2008-10-28  Glenn Morris  <rgm@gnu.org>
31607         * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
31609         * org-list.el (outline-next-heading, outline-back-to-heading):
31610         Fix declarations.
31612 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31614         * org-agenda.el (org-format-agenda-item)
31615         (org-agenda-filter-make-matcher): Make sure tags are stored and
31616         compared downcased.
31618 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31620         * org.el (org-insert-todo-heading): Fix bug with force-heading
31621         argument.
31623 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31625         * org-exp.el (org-export-as-ascii): Handle the case that we are
31626         bulishing from an indirect buffer.
31628         * org-table.el (org-table-copy-down): Fix bug with time stamp
31629         increment.
31631         * org-mouse.el (org-mouse-features): New option.
31632         (org-mode-hook): Turn on features depending on
31633         `org-mouse-features'.
31635         * org.el (org-insert-heading-respect-content): Force heading
31636         creation.
31637         (org-insert-heading): Keep the folding state of the heading before
31638         the inserted one.
31640 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31642         * org-archive.el (org-archive-to-archive-sibling): Handle top
31643         level headlines better.
31645 2008-10-26  Bastien Guerry  <bzg@gnu.org>
31647         * org-export-latex.el (org-export-latex-classes):
31648         Add \usepackage{graphicx} to the default list of packages.
31650 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31652         * org-agenda.el (org-agenda-filter): Rename from
31653         `org-agenda-filter-tags'.
31655 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31657         * org.el (org-entry-properties): Add CATEGORY property, iven if it
31658         is not defined as a property in this entry.
31659         (org-add-log-note): Mask prefix argument when immediately storing
31660         the note.
31662         * org-agenda.el (org-agenda-filter-effort-default-operator):
31663         New option.
31665 2008-10-26  James TD Smith  <ahktenzero@mohorovi.cc>
31667         * org.el (org-add-log-setup): Bugfix; code to find insertion point
31668         after drawers was skipping ahead one line too many, so notes were
31669         inserted after the first note instead of before it.
31671 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31673         * org-agenda.el (org-agenda-filter-tags, org-agenda-filter-form):
31674         New variables.
31675         (org-prepare-agenda): Reset the filter tags.
31676         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
31677         Show filter tags in mode line.
31679         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
31680         formatter.
31682         * org-export-latex.el (org-latex-entities-regexp): New constant.
31683         (org-export-as-pdf): Use two calls to `shell-command'.
31685 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31687         * org-export-latex.el (org-export-latex-treat-sub-super-char):
31688         Honor the {} value of the subsuperscript setting.  Make sure that
31689         longer subsuperscripts are typeset in a roman font.
31691         * org.el (org-clock-update-time-maybe): Compute negative clock
31692         intervals correctly.
31694 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31696         * org.el (org-add-log-setup):
31697         Respect `org-log-state-notes-insert-after-drawers'.
31698         (org-log-state-notes-insert-after-drawers): New option.
31699         (org-todo-trigger-tag-changes): New function.
31700         (org-todo): Call `org-todo-trigger-tag-changes'.
31702 2008-10-26  James TD Smith  <ahktenzero@mohorovi.cc>
31704         * org.el (org-add-log-setup): Only skip drawers if they are
31705         immediately after the scheduling keywords.
31707         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
31708         function.
31709         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
31710         call it with the current todo state to get the state to switch to
31711         when clocking in.
31712         (org-clock-in): Use org-indent-line-function to indent clock lines.
31713         (org-clock-find-position): Fix indentation of empty clock drawers.
31715 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31717         * org-publish.el (org-publish-org-to): Handle case when
31718         org-export-to-pdf does return a file name, not a buffer.
31719         (org-publish-org-to-pdf): New function.
31721         * org-export-latex.el (org-export-as-pdf)
31722         (org-export-as-pdf-and-open): New commands.
31724         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
31725         forms as ranges.
31727         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
31728         things in protexted regions.
31730 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31732         * org-export-latex.el (org-export-latex-preprocess):
31733         Improve quoting of LaTeX environments.
31735 2008-10-19  Eli Zaretskii  <eliz@gnu.org>
31737         * org.el (org-default-notes-file):
31738         * org-publish.el (org-publish-timestamp-directory):
31739         * org-id.el (org-id-locations-file): Run file names that begin
31740         with a period thru `convert-standard-filename'.
31742 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31744         * org-plot.el: Switch coding system to unix.
31746 2008-10-12  John Wiegley  <johnw@newartisans.com>
31748         * org-attach.el: New file.
31750 2008-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
31752         * org.el (org-edit-fixed-width-region): Exclude final newline from
31753         picture area.
31755         * org-export-latex.el (org-export-latex-subcontent): Add labels to
31756         sections, to make internal links work.
31757         (org-export-latex-fontify-headline): Do not remove all text
31758         properties, to make sure that target properties survive this
31759         process.
31761         * org-exp.el (org-export-preprocess-string): Change sequence of
31762         modifications, to make sure links are prepared before the LaTeX
31763         conversions do happen.
31765         * org-attach.el (org-attach-delete-all): Rename from
31766         `org-attch-delete'.  Add a security query before deleting the
31767         entire directory.  New optional argument FORCE can overrule the
31768         security query.
31769         (org-attach-delete-one): New command.
31771         * org-attach.el (org-attach-file-list): Fix bug with directory.
31773         * org.el (org-apps-regexp-alist): New function.
31774         (org-file-apps): Add auto-mode to the default value.
31775         (org-open-file): Use the new structure of org-file-apps.
31777         * org-attach.el (org-attach): Support the new keys.
31778         (org-attach-method): New option.
31780         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
31781         March.
31783         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
31784         of the list value o `org-use-tag-inheritance'.
31786         * org-attach.el (org-attach-auto-tag): New option.
31787         (org-attach-tag, org-attach-untag): New functions.
31788         (org-attach-attach, org-attach-new, org-attach-sync):
31789         Call `org-attach-tag'.
31790         (org-attach-delete): Call `org-attach-untag'.
31792         * org-table.el (orgtbl-self-insert-command): Make this work for
31793         the keypad as well.
31795         * org.el (org-add-log-setup): Limit searc for drawers to entry
31796         text, not to subtree.
31798         * org-clock.el (org-clock-heading-for-remember): New variable.
31799         (org-clock-in): Set `org-clock-heading-for-remember'.
31801 2008-10-12  James TD Smith  <ahktenzero@mohorovi.cc>
31803         * org-remember.el (org-remember-apply-template): Add new
31804         expansions: %k, %K for currently clocked task and a link to the
31805         currently clocked task, and %< to file notes in the currently
31806         clocked task.
31808 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31810         * org-export-latex.el (org-export-latex-make-header): Also insert
31811         the content of the property :latex-header-extra.
31813         * org-exp.el (org-infile-export-plist): Put the content of
31814         #+LATEX_HEADER: into the property :latex-header-extra.
31816         * org-colview.el (org-columns-get-format-and-top-level):
31817         Remove resetting the marker.
31819         * org.el (org-entry-property-inherited-from): Improve docstring.
31820         (org-entry-get-with-inheritance): Reset marker before starting the
31821         search.
31823         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
31825         * org.el (org-entry-get-multivalued-property)
31826         (org-entry-protect-space, org-entry-restore-space):
31827         New functions.
31828         (org-file-apps-defaults-macosx): Let PostScript files be opened by
31829         preview.
31830         (org-time-stamp-inactive): Call `org-time-stamp'.
31831         (org-time-stamp): New argument `inactive'.  Also edit inactive
31832         stamps.  Convert time stamp type.
31833         (org-open-file): Interpret the `default' value for the `command'
31834         in `org-file-apps'.
31836         * org-id.el (org-id-int-to-b36-one-digit)
31837         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
31838         (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
31839         b36.
31841         * org-id.el (org-id-reverse-string): New function.
31842         (org-id-new): Use `org-id-reverse-string' to make sure the
31843         beginning chars of the ID are mutating fast.  This allows to use a
31844         directory structure to spread things better.
31845         (org-id-prefix): Change default to nil.
31847         * org-list.el (org-move-item-down, org-move-item-up): Remember and
31848         restore the column of the cursor position.
31850         * org-remember.el (org-remember-apply-template): Remove properties
31851         from `initial'.
31853         * org-wl.el (org-wl-open): Remove useless call to
31854         `wl-thread-open-all'.
31856         * org-remember.el (org-remember-handler): Fix bug with `bottom'
31857         location.
31859         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
31860         `org-bbdb-anniversaries'.
31862         * org.el (org-get-next-sibling, org-forward-same-level):
31863         New functions, similar to the outline versions, but invisible headings
31864         are OK.
31866 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31868         * org.el (org-auto-repeat-maybe): Insert a space between
31869         the timestamp's type and the timestamp itself.
31871 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31873         * org-table.el (org-table-sum): Do not format the result with %g,
31874         it does rounding when there are too many digits.
31876         * org.el (org-map-entries): Protect the keyword-selecting variables.
31878 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31880         * org-agenda.el (org-agenda-to-appt): Make sure the function check
31881         against all agenda files.
31883 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31884             Bastien Guerry  <bzg@gnu.org>
31886         * org-list.el: New file, aggregating list functions from org.el
31887         and org-export-latex.el.
31889 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31891         * org.el (org-edit-src-region-extra): New option.
31893         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
31894         time before 1am.
31896 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31898         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
31900 2008-10-12  James TD Smith  <ahktenzero@mohorovi.cc>
31902         * org-plot.el (org-plot/gnuplot): Make tables starting with a
31903         hline work correctly.
31904         (org-plot/gnuplot-script): Put commas at the end of each script
31905         line.
31907         * org.el (org-get-refile-targets): Replace links with their
31908         descriptions.
31909         (org-imenu-get-tree): Replace links with their descriptions.
31911         * org-remember.el (org-remember-apply-template): Add a new
31912         expansion for adding properties to remember items.
31914         * org.el (org-add-log-setup): Skip over drawers (properties,
31915         clocks etc) when adding notes.
31917         * org-agenda.el (org-agenda-get-closed): Show durations of clocked
31918         items as well as the start and end times.
31920         * org-compat.el (org-get-x-clipboard-compat): Add a compat
31921         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
31923         * org-remember.el (org-get-x-clipboard): Use the compat
31924         function to get clipboard values when x-selection-value is
31925         unavailable.  Use substring-no-properties instead of
31926         set-text-properties to remove text properties from the clipboard
31927         value.
31929         * org-clock.el (org-update-mode-line): Support limiting the
31930         modeline clock string, and display the full todo value in the
31931         tooltip.  Set a local keymap so mouse-3 on the clock string goes to
31932         the currently clocked task.
31933         (org-clock-string-limit): Add a custom value for the maximum
31934         length of the clock string in the modeline.
31935         (org-clock-mode-map): Add a keymap for the modeline string.
31937 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31939         * org-compat.el (org-propertize): New function.
31941 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31943         * org-export-latex.el (org-export-latex-tables): Protect exported
31944         tables from further special chars conversion.
31945         (org-export-latex-preprocess): Preserve LaTeX environments.
31946         (org-list-parse-list): Parse descriptive lists.
31947         (org-list-to-generic, org-list-to-latex, org-list-to-html)
31948         (org-list-to-texinfo): Export descriptive lists.
31949         (org-quote-chars): Remove.
31950         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
31951         (org-export-latex-list-beginning-re): Rename to
31952         `org-list-beginning-re'.
31953         (org-list-item-begin): Rename to `org-list-item-beginning'.
31955 2008-10-12  Eric Schulte  <schulte.eric@gmail.com>
31957         * org-plot.el: New file.
31959 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31961         * org.el (org-refile): Allow refiling to the last entry in the
31962         buffer.
31963         (org-get-tags-at): Fix bug when inheritance is turned off.
31965         * org.el (org-indent-line-function): No longer check for src
31966         regions, this is too much overhead.
31968         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
31969         matching.
31971         * org.el (org-scan-tags): Make sure that tags matching is not case
31972         sensitive.  TODO keyword matching is case sensitive, however, to
31973         avoid confusion with similar words that are not meant to be
31974         keywords.
31976         * org.el (org-get-local-tags-at): New function.
31977         (org-get-local-tags): New function.
31979         * org-exp.el (org-export-get-categories): New function.
31981         * org-agenda.el (org-sorting-choice)
31982         (org-agenda-sorting-strategy, org-agenda-get-todos)
31983         (org-agenda-get-timestamps, org-agenda-get-deadlines)
31984         (org-agenda-get-scheduled, org-agenda-get-blocks)
31985         (org-entries-lessp): Implement sorting by TODO state.
31986         (org-cmp-todo-state): New defsubst.
31988         * org-colview.el (org-colview-construct-allowed-dates):
31989         New function.
31990         (org-columns-next-allowed-value):
31991         Use `org-colview-construct-allowed-dates'.
31993         * org.el (org-protect-slash): New function.
31994         (org-get-refile-targets): Use `org-protect-slash'.
31996         * org-agenda.el (org-global-tags-completion-table): New variable.
31998         * org-exp.el (org-export-handle-export-tags): New function.
31999         (org-export-preprocess-string):
32000         Call `org-export-handle-export-tags'.
32002         * org-publish.el (org-publish-expand-components): Function removed.
32003         (org-publish-expand-projects): Allow components to have components.
32005         * org.el (org-indent-line-function): Do not indent in regions that
32006         are external source code.
32007         (org-yank-and-fold-if-subtree): New function.
32009         * org-agenda.el (org-agenda-todayp): New function.
32010         (org-agenda-get-deadlines, org-agenda-get-scheduled):
32011         Use `org-agenda-todayp'.
32013         * org.el (org-insert-heading-respect-content)
32014         (org-insert-todo-heading-respect-content): New commands.
32015         (org-insert-heading-respect-content): New option.
32016         (org-insert-heading): Respect `org-insert-heading-respect-content'.
32018         * org-clock.el (org-clock-find-position): Make sure the note after
32019         the clock line gets moved into the new clock drawer.
32021         * org-id.el (org-id-new): New option.
32023         * org-table.el (org-table-copy-down): Avoid overflow during
32024         increment.  Use prefix argument 0 to temporarily disable the
32025         increment.
32027         * org-exp.el (org-export-as-html): Do not turn on the major mode
32028         if the buffer will be killed anyway.
32029         (org-get-current-options): Exclude the #+TEXT field.
32030         (org-export-as-html): Make sure text before the first headline is
32031         a paragraph.
32033         * org-publish.el (org-publish-org-to): Tell the exporter that this
32034         buffer will be killed, so it is not necessary to do major mode
32035         initialization.
32037         * org-archive.el (org-archive-to-archive-sibling): Show empty
32038         lines after folding the archive sibling.
32040         * org.el (org-log-note-extra): New variable.
32042 2008-10-12  Bastien Guerry  <bzg@gnu.org>
32044         * org.el (org-additional-option-like-keywords): Add keywords for
32045         the _QUOTE, _VERSE and _SRC environments.
32047         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
32048         exporting _QUOTE and _VERSE environments.
32050 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
32052         * org-agenda.el (org-agenda-filter-by-tag): New command.
32054         * org-exp.el (org-get-current-options): Remove angular brackets
32055         from the date entry.
32057         * org.el (org-edit-fixed-width-region): New function.
32058         (org-edit-fixed-width-region): Also try
32059         `org-edit-fixed-width-region'.
32060         (org-edit-fixed-width-region-mode): New option.
32061         (org-activate-code): Only interpret lines starting with colon
32062         plus a space as example lines.
32064         * org-remember.el (org-remember-templates): Add nil instead of
32065         empty strings to fix the length of remember templates.
32067         * org-table.el (org-calc-default-modes): Fix the time format for
32068         calc, from 12 hour to 24 hour clock.
32070         * org-agenda.el (org-agenda-get-deadlines)
32071         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
32072         entries that are pre-warnings of deadlines or reminders.
32074         * org.el (org-sort-entries-or-items): Make numeric and alpha
32075         comparisons ignore any TODO keyword and priority cookie.
32077         * org-remember.el (org-remember-handler): Reinterpretation of the
32078         prefix argument.
32080         * org-agenda.el (org-agenda-get-scheduled): Use new
32081         `org-scheduled' face.
32083         * org-faces.el (org-scheduled): New face.
32085         * org-wl.el (org-wl-open): Remove incorrect declaration.
32087         * org-gnus.el (org-gnus-store-link): Support for :to information
32088         in gnus links.
32090         * org-exp.el (org-export-as-html): Fix typo in creator
32091         information.
32092         (org-export-protect-examples): New parameter indent.  Insert extra
32093         spaces only when this parameter is specified.
32094         (org-export-preprocess-string): Call `org-export-protect-examples'
32095         with an indentation parameter when exporting to ASCII.
32097         * org-remember.el (org-remember-templates)
32098         (org-remember-apply-template): Allow the file component to be a
32099         function.
32101         * org.el (org-goto-local-search-headings): Rename from
32102         `org-goto-local-search-forward-headings'.  Added the possibility
32103         to search backwards.
32105         * org-export-latex.el (org-export-latex): New customization
32106         group.
32108         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
32110         * org-exp.el (org-html-do-expand): Allow {} to terminate
32111         tex macro.
32113         * org.el (org-buffer-list): Select buffers based on major mode,
32114         not on file name.
32116         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
32117         face property.
32119         * org-colview.el (org-columns-display-here):
32120         Use `org-columns-modify-value-for-display-function'.
32122         * org.el (org-columns-modify-value-for-display-function): New option.
32124         * org-publish.el (org-publish-file): Make sure the directory match
32125         for the publishing directory works correctly.
32127         * org-agenda.el (org-agenda-execute-calendar-command)
32128         (org-agenda-diary-entry): Additional optional argument.
32130 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
32132         * org-exp.el (org-export-as-html): Add attributes also in mailto
32133         and ftp links.
32135         * org.el (org-autoload): Add `org-dblock-write:columnview'.
32137 2008-08-11  Glenn Morris  <rgm@gnu.org>
32139         * org-mac-message.el (do-applescript): Fix declaration.
32141 2008-08-10  Glenn Morris  <rgm@gnu.org>
32143         * org-exp.el (org-export-as-html): Let-bind `i'.
32145         * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
32146         (org-extract-attributes): Let-bind `key', `value'.
32147         (org-make-tags-matcher): Let-bind `time-p'.
32149 2008-07-27  Carsten Dominik  <dominik@science.uva.nl>
32151         * org-install.el: New file.
32153 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
32155         * org-exp.el (org-export-html-style)
32156         (org-export-html-style-extra): Declare as safe-local-variable.
32158 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
32160         * org-publish.el (org-publish-file): Use the true name of the
32161         file.
32163         * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
32164         instead of :style.
32166         * org-exp.el (org-export-plist-vars)
32167         (org-export-add-options-to-plist): Handle creator setting flag.
32168         (org-export-as-html): Handle attributes also for ftp and mailto
32169         links.
32171         * org-agenda.el (org-agenda-diary-entry)
32172         (org-agenda-execute-calendar-command): Cater for the second
32173         argument of `calendar-cursor-to-date'.
32175 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
32177         * org-exp.el (org-export-region-as-html, org-export-as-html):
32178         Make sure that calls from `org-export-region-as-html' do not do the
32179         special check for a subtree.
32181         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
32183         * org.el (org-open-file):
32184         Use `org-open-directory-means-index-dot-org'.
32185         (org-open-directory-means-index-dot-org): New option.
32187         * org.el (org-make-link-string): Remove link attributes from
32188         description.
32189         (org-open-at-point): Remove link attributes before using the path.
32191         * org-exp.el (org-export-as-html): Handle link attributes.
32193         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
32195         * org-table.el (org-table-to-lisp): New function.
32197         * org.el (org-narrow-to-subtree): Do not include the final newline
32198         into the narrowed region.
32200         * org-agenda.el (org-agenda-custom-commands-local-options):
32201         Fix bug with user-define skipping condition.
32203         * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
32205         * org-exp.el (org-export-html-style-default): Automatic overflow
32206         handling for pre fields.
32207         (org-export-as-ascii, org-export-as-html): Change default format
32208         for time stamp.
32210         * org-table.el (org-table-export): Offer completion for translator
32211         functions, and do not require a heading above the table.
32213         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
32214         Cater for the case of a list starting in the first line of the
32215         buffer.
32217         * org-publish.el (org-publish-find-title): Bug fix.
32218         (org-publish-org-index): Implement new :index-style option.
32220         * org-publish.el (org-publish-timestamp-filename):
32221         Use SHA1-encoded file names in the timestamp directory.
32223         * org-publish.el (org-publish-needed-p): Be verbose about files
32224         published and files skipped.
32226         * org-exp.el (org-export-preprocess-string): Swap link
32227         normalization and internal link targeting.
32229         * org-publish.el (org-publish-needed-p): Create timestamp
32230         directory when it does not exist.
32232         * org-clock.el (org-clock-out-when-done): Doc fix.
32234         * org.el (org-agenda-skip-unavailable-files): Doc fix.
32236         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
32237         Ignore case when searching for the COMMENT cookie at export time.
32239         * org-exp.el (org-get-file-contents)
32240         (org-get-and-remove-property): New functions.
32241         (org-export-handle-include-files): Handle the new prefix options.
32242         (org-export-as-html): Fix the verse environment.
32244         * org.el (org-time=, org-time<, org-time<=, org-time>)
32245         (org-time>=, org-time<>, org-2ft): New functions.
32246         (org-op-to-function): Also provide for the time testing functions.
32248         * org-exp.el (org-export-html-style-default): New constant.
32250         * org-exp.el (org-export-html-style-extra): New variable.
32251         (org-export-splice-style): New function.
32253         * org-exp.el (org-export-plist-vars, org-export-as-html):
32254         Implement `org-export-creator-info'.
32255         (org-export-creator-info): New option.
32257         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
32258         (org-property-drawer-re, org-clock-drawer-re): New constants.
32260         * org-exp.el (org-icalendar-use-deadline)
32261         (org-icalendar-use-scheduled): New options.
32262         (org-icalendar-include-todo): Default changed to t.
32263         (org-print-icalendar-entries): Implement better utilization of
32264         scheduling and deadline time stamps.
32265         (org-export-target-internal-links, org-export-as-html): Allow file
32266         lines without the "file:" prefix if the file path is an absolute
32267         path or starts with ".".
32269         * org-clock.el (org-clocktable-shift): Also understand yesterday,
32270         lastweek etc.
32271         (org-clock-special-range): Also understand yesterday, lastweek etc.
32273         * org.el (org-agenda-skip-archived-trees): Docstring now
32274         discourages using this.
32275         (org-scan-tags): Check for org-agenda-archives-mode.
32276         (org-map-entries): Make sure org-agenda-archives-mode is nil.
32277         (org-agenda-files): Functionality of second arg changed.
32279         * org-agenda.el (org-agenda-archives-mode): New variable.
32280         (org-write-agenda, org-prepare-agenda, org-agenda-list)
32281         (org-search-view, org-todo-list, org-tags-view)
32282         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
32283         `ifmode' argument.
32284         (org-agenda-quit): Reset the archives mode.
32285         (org-agenda-archives-mode): New command.
32286         (org-agenda-set-mode-name): Include archives info.
32288         * org.el (org-paste-subtree): Make sure the yanked headline is
32289         visible if it was yanked at a visible point.
32290         (org-move-item-up): Fix the bug with moving white space at the end
32291         of the item.
32292         (org-show-empty-lines-in-parent): New function.
32294 2008-07-19  Juri Linkov  <juri@jurta.org>
32296         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
32297         new keymap `narrow-map' instead of binding "\C-xns".
32299 2008-07-02  Juanma Barranquero  <lekktu@gmail.com>
32301         * org.el (org-agenda-skip-unavailable-files):
32302         * org-clock.el (org-clock-out-when-done): Doc fixes.
32304 2008-06-18  Glenn Morris  <rgm@gnu.org>
32306         * org.el (org-map-entries): Let-bind `file'.
32308 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32310         * org-colview.el (org-columns-next-allowed-value): Bug fix.
32312         * org-agenda.el (org-agenda-get-closed): Get the end time into the
32313         agenda prefix as well.
32315         * org-publish.el (org-publish-org-index): Make a properly indented
32316         list.
32318         * org.el (org-calendar-agenda-action-key): New option.
32319         (org-get-cursor-date): New function.
32320         (org-mark-entry-for-agenda-action): New command.
32321         (org-overriding-default-time): New variable.
32322         (org-read-date): Respect `org-overriding-default-time'.
32324         * org-remember.el (org-remember-apply-template): Respect the
32325         overriding default time.
32327         * org-agenda.el (org-agenda-action-marker): New variable.
32328         (org-agenda-action): New command.
32329         (org-agenda-do-action): New function.
32331 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32333         * org.el (org-schedule, org-deadline): Protect scheduled and
32334         deadline tasks against changes that accidentally remove the
32335         repeater.  Also show a message with the new date when done.
32337 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32339         * org.el (org-beginning-of-line): Cater for the case when there
32340         are tags but no headline text.
32341         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
32342         it set.
32344 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32346         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
32347         the return value is nil instead of "nil" when there is no match.
32349         * org-exp.el (org-insert-centered): Use fill-column instead of
32350         80.
32351         (org-export-as-ascii): Use string-width to measure the width of
32352         the heading.
32354         * org.el (org-diary-to-ical-string): No longer kill buffer
32355         FROMBUF, this is now done by the caller.
32357         * org-exp.el (org-print-icalendar-entries): Move the call to
32358         `org-diary-to-ical-string' out of the loop, and kill the buffer
32359         afterwords.
32361         * org-remember.el (org-remember-visit-immediately):
32362         Position cursor after moving to the note.
32363         (org-remember-apply-template): Use a text property to record the
32364         cursor position.
32365         (org-remember-handler): Align tags after pasting the note.
32367 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32369         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
32371         * org-agenda.el (org-agenda-open-link): If there is an
32372         org-bbdb-name property in the current line, jump to that bbdb
32373         entry.
32375         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
32376         text property, so that the agenda knows where this entry comes
32377         from.
32379         * org-agenda.el (org-agenda-clock-in): Fix bug in the
32380         interaction between clocking-in from the agenda, and  automatic
32381         task state switching.
32383         * org-macs.el (org-with-point-at): Bug fix in macro definition.
32385         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
32386         zmacs-region stays after this command in XEmacs.
32388 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32390         * org.el (org-scan-tags): Allow new values for ACTION parameter.
32392         * org-remember.el (org-remember-templates): Fix bug in
32393         customization type definition.
32395         * org.el (org-map-entries): New function.
32397 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32399         * org-agenda.el (org-agenda-skip-comment-trees): New option.
32400         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
32402 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32404         * org-remember.el (org-jump-to-target-location): New variable.
32405         (org-remember-apply-template):
32406         Set `org-remember-apply-template' if requested by template.
32407         (org-remember-handler): Start an idle timer to jump to
32408         remember location.
32410         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
32412         * org.el (org-set-regexps-and-options): Fix bug with parsing of
32413         file tags.
32414         (org-get-tags-at): Add the content of `org-file-tags'.
32416         * org-exp.el (org-export-handle-comments): Fix bug with several
32417         comment lines after each other.
32418         (org-number-to-roman, org-number-to-counter): New functions.
32419         (org-export-section-number-format): New option.
32421 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32423         * org-exp.el (org-export-protect-examples): Catch the case of a
32424         missing end_example line.
32426         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
32427         `org-file-tags' to nil.
32429         * org-colview.el (org-columns-next-allowed-value): Handle next
32430         argument NTH to directly select a value.
32432 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32434         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
32436 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32438         * org.el (org-columns-ellipses): New option.
32440 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32442         * org-colview.el (org-columns-add-ellipses): New function.
32443         (org-columns-compact-links): New function.
32444         (org-columns-cleanup-item): Call `org-columns-compact-links'.
32445         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
32446         when in agenda.
32447         (org-columns-edit-value): Fix bug with editing values from
32448         agenda column view.
32449         (org-columns-redo): Also redo the agenda itself.
32451 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32453         * org-agenda.el (org-agenda-columns-remove-prefix-from-item):
32454         New option.
32456         * org-colview.el (org-agenda-columns-cleanup-item): New function.
32458         * org-exp.el (org-export-ascii-preprocess): Rename from
32459         `org-export-ascii-clean-string'.
32460         (org-export-kill-licensed-text)
32461         (org-export-define-heading-targets)
32462         (org-export-handle-invisible-targets)
32463         (org-export-target-internal-links)
32464         (org-export-remove-or-extract-drawers)
32465         (org-export-remove-archived-trees)
32466         (org-export-protect-quoted-subtrees)
32467         (org-export-protect-verbatim, org-export-protect-examples)
32468         (org-export-select-backend-specific-text)
32469         (org-export-mark-blockquote-and-verse)
32470         (org-export-remove-comment-blocks-and-subtrees)
32471         (org-export-handle-comments, org-export-mark-radio-links)
32472         (org-export-remove-special-table-lines)
32473         (org-export-normalize-links)
32474         (org-export-concatenate-multiline-links)
32475         (org-export-concatenate-multiline-emphasis): New functions,
32476         obtained from spliting the export preprocessor.
32478         * org-table.el (org-table-recalculate): Improve error message if
32479         the row number is invalid.
32481 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32483         * org-archive.el (org-archive-save-context-info): Fix bugs in
32484         customization setup and docstring.
32486         * org-exp.el (org-export-html-style): Change the size of in the
32487         <pre> element to 90%.
32489 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32491         * org.el (org-find-src-example-start): Function removed.
32492         (org-edit-src-find-region-and-lang): New function.
32494 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32496         * org.el (org-edit-src-exit): New function.
32497         (org-exit-edit-mode): New minor mode.
32499         * org-exp.el (org-export-preprocess-string): Fix bug with removing
32500         comment-like lines from protected examples.
32502         * org.el (org-edit-src-example, org-find-src-example-start)
32503         (org-protect-source-example, org-edit-special): New functions.
32505 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32507         * org-publish.el (org-publish-project-alist): Fix typo in
32508         docstring.
32509         (org-publish-project-alist): Handle :index-title property.
32511 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32513         * org-export-latex.el (org-export-as-latex): Make sure region
32514         bounds are correct.  Parse subtree properties relating to export.
32516         * org-exp.el (org-export-add-options-to-plist): New function.
32517         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
32519 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32521         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
32522         EXPORT_TITLE.
32524         * org-exp.el (org-export-get-title-from-subtree)
32525         (org-export-as-ascii, org-export-as-html): Make sure the original
32526         region-beginning and region-end are used, even after moving point.
32527         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
32528         property.
32530         * org-remember.el (org-remember-last-stored-marker): New variable.
32531         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
32532         (org-remember-handler): Also use marker to remember
32533         last-stored position.
32535         * org.el (org-goto-marker-or-bmk): New function.
32537 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32539         * org.el (org-file-properties): Rename from `org-local-properties'.
32540         (org-scan-tags): Take file tags into account.
32541         (org-tags-match-list-sublevels): Default changed to t.
32543         * org-exp.el (org-export-as-html): Close paragraph after a footnote.
32545         * org.el (org-update-parent-todo-statistics): New function.
32547         * org-exp.el (org-icalendar-store-UID): New option.
32548         (org-icalendar-force-UID): Option removed.
32549         (org-print-icalendar-entries): IMplement UIDs.
32551 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32553         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
32555 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32557         * org-faces.el (org-column): Document how this face is being used
32558         and why sometimes the background faces shine through.
32560         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
32562         * org-publish.el (org-publish-attachment): Create publishing
32563         directory if it does not yet exist.
32565         * org-table.el (org-calc-default-modes): Change default number
32566         format to (float 8).
32568         * org.el (org-olpath-completing-read): New function.
32569         (org-time-clocksum-format): New option.
32570         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
32572         * org-clock.el (org-clock-display, org-clock-out)
32573         (org-update-mode-line): Use `org-time-clocksum-format'.
32575         * org-colview.el (org-columns-number-to-string):
32576         Use `org-time-clocksum-format'.
32578 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32580         * org-id.el: New file, move from contrib to core.
32582         * org-exp.el (org-icalendar-force-UID): New option.
32584 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32586         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
32587         shifted by one day if there is a date range without an end time.
32589         * org.el (org-try-structure-completion): New function.
32591 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32593         * org.el (org-set-font-lock-defaults): Improve fontification of
32594         description lists.
32595         (org-insert-item): Handle description lists.
32596         (org-adaptive-fill-function): Improve auto indentation in
32597         description lists.
32599         * org-exp.el (org-export-as-html, org-export-preprocess-string):
32600         Implement VERSE environment.
32601         (org-export-preprocess-string): Implement the COMMENT
32602         environment.
32604         * org-export-latex.el (org-export-latex-preprocess):
32605         Implement VERSE environment.
32607 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32609         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
32610         option.
32612 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32614         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
32616         * org.el (org-quote-csv-field): New functions.
32618         * org-table.el (org-table-export-default-format): Remove :splice
32619         from default format, we get the same effect by not specifying
32620         :tstart and :tend.
32621         (org-table-export): Improve setup, distinguish better between
32622         interactive and non-interactive use, allow specifying the format
32623         on the fly, better protection against wrong file names.
32624         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
32625         and :tend when :splice is omitted.
32627 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32629         * org-clock.el (org-clock-select-task): Make sure the selection
32630         letters are 1-9 and A-Z, no special characters.
32632 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32634         * org-exp.el (org-export-htmlize): New group.
32635         (org-export-htmlize-output-type)
32636         (org-export-htmlize-css-font-prefix): New options.
32637         (org-export-htmlize-region-for-paste): New function.
32638         (org-export-htmlize-generate-css): New command.
32640 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32642         * org.el (org-set-visibility-according-to-property): New function.
32643         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
32644         and compute the regular expressions, and update font-lock.
32645         (org-property-re): Allow a dash in property names.
32647         * org-archive.el (org-extract-archive-file): Insert the file name
32648         without the path into the format, to allow the location format to
32649         contain a subdirectory.
32651         * org-agenda.el (org-agenda-post-command-hook): If point is at end
32652         of buffer, and the `org-agenda-type' property undefined, use the
32653         value from the character before.
32655         * org.el (org-add-planning-info): Don't let indentation for
32656         would-be timestamp become extra whitespace at the end of headline.
32658 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32660         * org.el (org-remove-double-quotes, org-file-contents):
32661         New functions.
32663         * org-exp.el (org-infile-export-plist): Also parse the
32664         contents of #+SETUPFILE files, recursively.
32666         * org.el (org-set-regexps-and-options): Also parse the
32667         contents of #+SETUPFILE files, recursively.
32669         * org-exp.el (org-export-handle-include-files): New function.
32670         (org-export-preprocess-string):
32671         Call `org-export-handle-include-files'.
32673         * org.el (org-delete-property-globally)
32674         (org-delete-property, org-set-property): Ignore case during
32675         completion.
32676         (org-set-property): Use `org-completing-read' instead of
32677         `completing-read'.
32679         * org.el (org-complete-expand-structure-template): New,
32680         experimental function.
32681         (org-structure-template-alist): New, experimental option.
32682         (org-complete): Call `org-complete-expand-structure-template'.
32684 2008-06-17  Bastien Guerry  <bzg@gnu.org>
32686         * org-export-latex.el (org-export-latex-preprocess):
32687         Add support for blockquotes.
32689 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32691         * org.el (org-read-date-analyze): Catch the case where only a
32692         weekday is given.
32694 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32696         * org.el (org-set-font-lock-defaults): Make the description
32697         tag bold.
32699         * org-exp.el (org-export-as-html, org-close-li):
32700         Implement description lists.
32702 2008-06-17  Jason Riedy  <jason@acm.org>
32704         * org-table.el (*orgtbl-default-fmt*): New variable.
32705         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
32706         when there is no other fmt available.
32708         (orgtbl-to-generic): Allow an explicitly nil :tstart or
32709         :tend to suppress the appropriate string.
32711         (orgtbl-to-orgtbl): New function for translating to another orgtbl
32712         table.
32714 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32716         * org.el (org-read-date-analyze): "." as an alias for "+0" in
32717         read date.
32719         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
32720         New function.
32722         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
32723         New function.
32725 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32727         * org-clock.el (org-clock-find-position): Don't include notes
32728         into clock drawer.
32730         * org-archive.el (org-archive-subtree): No longer remove an
32731         extra line after cutting the subtree.  `org-cut-subtree' already
32732         takes care of this.
32734         * org-remember.el (org-remember-handler): Only kill the target
32735         buffer if it does not contain the running clock.
32737         * org.el (org-markers-to-move): New variable.
32738         (org-save-markers-in-region, org-check-and-save-marker)
32739         (org-reinstall-markers-in-region): New function.
32740         (org-move-subtree-down, org-copy-subtree): Remember relative
32741         marker positions before cutting.
32742         (org-move-subtree-down, org-paste-subtree): Restore relative
32743         marker positions after pasting.
32745         * org-remember.el (org-remember-clock-out-on-exit): New option.
32746         (org-remember-finalize): Clock out only if the setting in
32747         `org-remember-clock-out-on-exit' requires it.
32748         (org-remember-handler): Do the cleanup in the buffer, to make sure
32749         that the clock marker remains in tact.
32751 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32753         * org-clock.el (org-clock-goto): Widen buffer if necessary.
32754         (org-clock-in): Make sure that also tasks outside the narrowed
32755         region will be clocked in correctly.
32756         (org-clock-insert-selection-line): Widen the buffer so that we can
32757         find the correct task heading.
32759         * org.el (org-base-buffer): New function.
32761         * org-exp.el (org-icalendar-cleanup-string): Make sure ","
32762         and ";" are escaped.
32763         (org-print-icalendar-entries): Also apply
32764         `org-icalendar-cleanup-string' to the headline, not only to the
32765         summary property.
32767 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32769         * org-exp.el (org-export-preprocess-hook): New hook.
32770         (org-export-preprocess-string): Call `org-export-preprocess-hook'.
32772         * org.el (org-font-lock-hook): New variable.
32773         (org-font-lock-hook): New function.
32774         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
32776 ;; Local Variables:
32777 ;; coding: utf-8
32778 ;; add-log-time-zone-rule: t
32779 ;; End:
32781         Copyright (C) 2008-2014 Free Software Foundation, Inc.
32783   This file is part of GNU Emacs.
32785   GNU Emacs is free software: you can redistribute it and/or modify
32786   it under the terms of the GNU General Public License as published by
32787   the Free Software Foundation, either version 3 of the License, or
32788   (at your option) any later version.
32790   GNU Emacs is distributed in the hope that it will be useful,
32791   but WITHOUT ANY WARRANTY; without even the implied warranty of
32792   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32793   GNU General Public License for more details.
32795   You should have received a copy of the GNU General Public License
32796   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.