doc/misc/efaq-w32.texi: Spell-check.
[emacs.git] / lisp / org / ChangeLog
blob335818d70230dabbe248040c768364fe429c0a6c
1 2014-10-20  Glenn Morris  <rgm@gnu.org>
3         * Version 24.4 released.
5 2014-10-12  Marco Wahl  <marcowahlsoft@gmail.com>
7         * org-agenda.el (org-get-entries-from-diary): Use
8         `diary-fancy-display' instead of the obsolete
9         `diary-display-hook'.
11 2014-10-12  Nicolas Goaziou  <mail@nicolasgoaziou.fr>
13         * ox.el (org-export-async-start): Limit first argument to lambda
14         expressions.
16         * ox-publish.el (org-publish, org-publish-all)
17         (org-publish-current-file): Replace `ignore', per limit stated
18         above.
20 2014-10-12  Christopher Schmidt  <ch@ristopher.com>
22         * org.el (orgstruct-make-binding): Do not use loop in interpreted
23         code.
25 2014-10-12  Mike McLean  <mike.mclean@pobox.com>  (tiny change)
27         * org-agenda.el (org-agenda-time-grid): Change docstring.
29 2014-10-12  Nicolas Goaziou  <mail@nicolasgoaziou.fr>
31         * ox.el (org-export-async-start): Allow to use symbols as
32         function.
34 2014-10-02  Achim Gratz  <Stromeko@Stromeko.DE>
36         * ob-sh.el (org-babel-sh-initiate-session): After initiating a
37         session, initialize the marker `comint-last-output-start' since it
38         is going to be used by the ANSI color filter without further
39         checks in Emacs 23 and throws an error.
41         * ob-lilypond.el: Change prefix from `ly-' to
42         `org-babel-lilypond-' throughout.
44         * org-footnote.el: Forward declare `org-element-context',
45         `org-element-property' and `org-element-type'.
47         * org.el: Add forward declarations for a number of functions that
48         the compiler otherwise warns about as potentially undefined at
49         runtime.
51         * ob-core.el: Add comment to forward declaration of
52         'org-src-preserve-indentations'.
54         * ob-exp.el: Require org-src to import
55         'org-src-preserve-indentations'.
57         * ob-haskell.el, ob-python.el: Remove superfluous forward
58         declaration of 'org-src-preserve-indentations', since it gets
59         imported by other requires.
61         * ob-core.el (org-every): Forward declare 'org-every'.
63         * ob-C.el: Require cl during compilation so that lexical-let is
64         known.
66         * org-entities.el: Remove superfluous require of org-macs.
67         Forward declare 'org-toggle-pretty-entities' and
68         'org-pretty-entities'.
70         * ox.el (org-export-get-parent): Move definition of
71         'org-export-get-parent' before first use.  Leave comment at original
72         place of definition.
74         * org.el (org-uniquify): Move definition of 'org-uniquify' before
75         first use.  Leave comment at original place of definition.
77         * ob-tangle.el (org-babel-tangle): When `file-name-directory'
78         returns nil, do not run make-directory.  Remove superfluous when
79         clauses by using short-circuiting `and' instead.
81 2014-10-02  Alex Kosorukoff  <alex@3form.com>  (tiny change)
83         * org-capture.el (org-capture-fill-template): Set `mark-active' to
84         nil.
86 2014-10-02  Bastien Guerry  <bzg@gnu.org>
88         * org-agenda.el (org-agenda-prepare): Reset preset filters when
89         using sticky agendas.
91         * org-agenda.el (org-agenda-get-sexps): Don't add tags as text
92         properties.
94         * org-capture.el (org-capture-fill-template): Take
95         `org-extend-today-until' into account when setting the format time
96         string.
98         * org.el (org-paste-subtree): Fix match subexpression.
100         * org.el (org-fix-ellipsis-at-bol): Delete.
101         (org-mode, org-show-context, org-isearch-end): Don't use
102         `org-fix-ellipsis-at-bol'.
104         * org-agenda.el (org-agenda-filter-apply): Fix setting of
105         `org-agenda-filtered-by-category'.
107         * org.el (org-fontify-meta-lines-and-blocks-1): Fix handling
108         of `org-hidden-keywords'.
110         * org-agenda.el (org-cmp-ts): Fix agenda entry type checking.
112         * org-agenda.el (org-entries-lessp): Fix inactive timestamp
113         comparison.
115         * org-agenda.el (org-agenda-mode): Let `org-agenda-redo' DTRT
116         when agenda are sticky.
117         (org-agenda-tag-filter-while-redo): Delete.
118         (org-agenda-list, org-agenda-redo, org-agenda-filter-by-tag):
119         Remove unused code.
120         (org-agenda-clockreport-mode, org-agenda-set-mode-name): Don't
121         consider tag filters.
123         * org.el (org-fix-ellipsis-at-bol)
124         (org-first-headline-recenter): Use `set-window-start' instead
125         of `recenter'.
127         * org-agenda.el (org-recenter-heading): Delete.
129         * org.el (org-insert-heading): With one universal prefix argument
130         or `org-insert-heading-respect-content' set to `t', always respect
131         the content, i.e. don't insert a list item and don't convert
132         normal lines into headings.  Update docstring.
133         (org-insert-heading-respect-content): Remove unused arg.
134         (org-insert-todo-heading-respect-content): Don't use
135         `org-insert-todo-heading-respect-content', use the second argument
136         of `org-insert-todo-heading' instead.
138         * org-mobile.el (org-mobile-edit): Use only one arg.
140         * org.el (org-overview): Don't call `recenter'.
142         * org-agenda.el (org-agenda-custom-commands-local-options): Fix
143         misquoted values.
145         * org.el (org-property-re): Also match null properties by default.
146         (org-entry-delete): Also delete null properties.
147         (org-read-property-value): Allow the empty string as a new value.
148         (org-delete-property): Throw a message when there is not property
149         to delete.
151         * org-agenda.el (org-agenda-insert-diary-make-new-entry): Fix
152         docstring.
154         * org.el (org-re-property): New parameter `allow-null' to match
155         property with a null value.
156         (org-entry-put): Correctly update a property with a null
157         value.
159         * ox-md.el (org-md-headline): When exporting with a HTML table of
160         contents, add HTML anchors to Markdown headlines.
162         * org.el (org-insert-heading): Don't insert an item when called
163         with two universal prefix arguments.
165         * org-agenda.el (org-agenda-finalize): Remove duplicate check for
166         'org-hd-marker.
168         * org-agenda.el (org-agenda-prepare-window): New parameter
169         `filter-alist' to set the filters correctly when
170         `org-agenda-persistent-filter' is on.
171         (org-agenda-prepare): Use the new parameter for
172         `org-agenda-prepare-window'.
174         * org-compat.el (org-in-invisibility-spec-p): Tiny code cleanup.
175         (org-move-to-column): Only remove '(org-filtered) from
176         `buffer-invisibility-spec'.
178         * org-agenda.el (org-agenda-mode): Add buffer invisibility specs.
179         (org-agenda-filter-hide-line, org-agenda-remove-filter): Set
180         the 'invisible text property to 'org-filtered.
181         (org-agenda-show-new-time): Add the default face to avoid the
182         foreground of the last character on the line to leak into the
183         timestamp notification.
185         * org-agenda.el (org-get-time-of-day): Don't return time string
186         from within links.
188         * org-timer.el (org-timer-value-string): Always return a positive
189         value.  Add docstring.
191         * org-capture.el (org-capture-steal-local-variables): Don't steal
192         `mark-active', which should be nil in the target buffer.
194         * org-agenda.el (org-agenda-remove-filter): Use `save-excursion'.
196         * org.el (org-move-subtree-down): Use `org-end-of-subtree' instead
197         of `outline-end-of-subtree'.
198         (outline-end-of-subtree): Remove advice.
200         * org-mouse.el (org-mouse-move-tree, org-mouse-do-remotely): Use
201         `org-end-of-subtree' instead of `outline-end-of-subtree'.
203         * org-agenda.el (org-cmp-ts): Argument `type' is not optional.
204         Don't quote it.
206         * org-habit.el (org-habit-insert-consistency-graphs): Don't remove
207         filter overlays as we don't use overlays for filters anymore.
209         * org-agenda.el (org-agenda-local-vars): Add
210         `org-agenda-top-headline-filter'.
211         (org-agenda-filter-by-category): Fix syntax.
212         (org-agenda-filter-show-all-top-filter): New function.
213         (org-agenda-filter-by-top-headline)
214         (org-agenda-filter-remove-all): Use the new function.
215         (org-agenda-filter-top-headline-apply): Use a dedicated symbol
216         `top-headline'.
218         * org.el (org-entry-properties): Ensure the special property is
219         not commented out when matched.
221         * org-agenda.el (org-agenda-write): Code cleanup.
222         (org-agenda-mark-filtered-text)
223         (org-agenda-unmark-filtered-text)
224         (org-agenda-fix-tags-filter-overlays-at): Delete.
225         (org-agenda-remove-marked-text): Use the `property' argument
226         instead of hard-coding 'org-filtered.
227         (org-agenda-filter-remove-all): Use `org-agenda-finalize'.
228         (org-agenda-filter-hide-line): Rewrite using text properties
229         instead of overlays.
230         (org-agenda-remove-filter): New function.
231         (org-agenda-filter-show-all-tag)
232         (org-agenda-filter-show-all-cat)
233         (org-agenda-filter-show-all-re): Rewrite using
234         `org-agenda-remove-filter'.
236         * org-attach.el (org-attach-dir): When the property is "inherited"
237         from a variable outside of the file, do not use
238         `org-entry-property-inherited-from' to find the attachment
239         position, assume we need to go back to the current headline.
241         * ob-R.el (org-babel-R-assign-elisp): Fix parsing of a
242         one-dimensional value.
244         * org.el (org-insert-heading): Fix bug when trying to insert a
245         heading when point is before the first headline and not at the
246         beginning of a line.
248         * org-table.el (org-table-eval-formula): Fix conversion of
249         inactive timestamps to active ones.
251         * org.el (org-set-regexps-and-options): Allow
252         `org-complex-heading-regexp-format' to match [/] and [%] cookies
253         when they are both before and after the heading.
255         * org-agenda.el (org-agenda-max-todos, org-agenda-max-tags)
256         (org-agenda-max-effort): Fix type strings.
258         * org-capture.el (org-capture-fill-template): Deactivate region
259         while trying to align tags on the current headline.
261         * org-agenda.el (org-agenda-finalize): Filter by top headline if
262         `org-agenda-top-headline-filter' is set.
264 2014-10-02  Bernt Hansen  <bernt@norang.ca>
266         * org-macs.el: Remove restriction when locating markers.
268 2014-10-02  Dmitry Gorbik  <dgorbik@me.com>  (tiny change)
270         * org.el (org-fast-tag-selection): Fix window splitting.
272 2014-10-02  Eric Schulte  <schulte.eric@gmail.com>
274         * ob-screen.el (org-babel-screen-test): Use unpredictable name for
275         temporary file.
277         * ob-screen.el (org-babel-screen-session-write-temp-file): Use
278         unpredictable temp file name, fixes bug#17416.
280 2014-10-02  Ian Kelling  <ian@iankelling.org>
282         * ob-core.el (org-babel-insert-result): Test all list elements
283         against listp and (eq element 'hline) instead of checking just the
284         first.
286 2014-10-02  Konstantin Kliakhandler  <kosta@slumpy.org>  (tiny change)
288         * org-agenda.el (org-agenda-redo): Reapply the filters correctly.
290 2014-10-02  Kyle Meyer  <kyle@kyleam.com>  (tiny change)
292         * ox.el (org-export-show-temporary-export-buffer): Fix typo.
294 2014-10-02  Matt Lundin  <mdl@imapmail.org>
296         * ox-publish.el (org-publish-find-title, org-publish-find-date):
297         Make sure to call org-export-get-environment in copy of buffer if
298         emacs is already visiting. Otherwise, #+bind variables meant for
299         export can be set in live buffers.
301         * org.el (org-agenda-inhibit-startup): fix docstring to reflect
302         default value
304         * ox-publish.el (org-publish-find-title, org-publish-find-date):
305         Fix unnecessary invocations of org-mode with org-inhibit-startup.
307 2014-10-02  Nick Dokos  <ndokos@gmail.com>
309         * org-table.el (org-table-clean-before-export): The regexes match
310         spaces in addition to the special characters that might be used in
311         the first column as special marking characters.  Remove the space
312         from the character class.
314         * ox-ascii.el (org-ascii-superscript): Change _ to ^ in the
315         output.
317 2014-10-02  Nick Dokos  <ndokos@redhat.com>
319         * org-table.el (org-table-show-reference): Call `set-window-start'
320         with the calculated values `min' and `max', not with
321         (point-min) and (point-max).
323 2014-10-02  Nicolas Goaziou  <n.goaziou@gmail.com>
325         * ox-latex.el (org-latex-link): Improve test for unnumbered
326         headlines.
328         * ox-ascii.el (org-ascii--fill-string): Allow filling even when
329         `org-export-preserve-breaks' is non-nil.
331         * org.el (org-N-empty-lines-before-current): Make sure to delete
332         only empty lines, not trailing whitespaces.
334         * ox-html.el (org-html-headline): Make sure even listified
335         headlines have proper anchors so internal links can refer to them.
336         Small refactoring.
338         * org-src.el (org-edit-src-code): Fix regexp.
339         (org-edit-src-exit): Do not remove auto-save timer.  This is
340         handled by the timer itself.
342         * org.el (org-re-property): Fix regexp.  Improve docstring.
344         * org-element.el (org-element-property-drawer-parser)
345         (org-element-node-property-parser): Ignore lines that are not node
346         properties.
347         (org-element-node-property-interpreter): Allow nil properties.
349         * org.el (org-re-property): Fix regexp to match properties with
350         empty values.
352         * org-element.el (org-element-headline-interpreter): Take into
353         consideration `org-odd-levels-only' value.  Small refactoring.
355         * ox-texinfo.el (org-texinfo--get-node): Return a node or anchor
356         name.
357         (org-texinfo--sanitize-content): Fix regexp.
358         (org-texinfo-link): Fix various bugs in link export.
360         * ox-beamer.el (org-beamer-link):
361         * ox-html.el (org-html-link):
362         * ox-latex.el (org-latex-link):
363         * ox-odt.el (org-odt-link): When radio link has no valid
364         target (e.g., this is a subtree export and the radio target is not
365         in the exported subtree), simply return contents.
367         * org.el (org-called-with-limited-levels): Initialize variable.
369         * org-agenda.el (org-agenda-write): Write headings in proper
370         order.
372         * org-element.el (org-element-table-interpreter): Enhance
373         docstring.
375         * ox-md.el (org-md-link): Allow custom link type export function.
377         * ox-texinfo.el (org-texinfo-template): Fix language and encoding
378         case.
380         * ox-md.el (org-md-separate-elements): Outside of lists, preserve
381         blank lines between paragraphs and plain lists.
383         * org-element.el (org-element-normalize-contents): Fix indentation
384         removal when there is an empty line within a verse block.
386         * ox-texinfo.el (org-texinfo--normalize-headlines): Properly add a
387         section to the contents.
389         * ox-texinfo.el (org-texinfo--normalize-headlines): Do not set pre
390         blanks since the value is now hard-coded.
391         (org-texinfo-headline): Force one blank line before contents, when non
392         empty.  Refactoring.
393         (org-texinfo-src-block): Refactor code.  Comply to predicate naming.
395         * ox-texinfo.el (org-texinfo--sanitize-node): Handle
396         " (not)allowed" case.
398         * ox-texinfo.el (org-texinfo-headline): Remove wrong code
399         comments.
401         * ox-texinfo.el (org-texinfo-headline): Remove `not-in-toc'
402         special case for tags.
404         * ox-texinfo.el (org-texinfo-headline): Remove LaTeXism (optional
405         arguments within square brackets).
407         * ox-texinfo.el (org-texinfo-info-process): Fix docstring.
408         (org-texinfo-compile): Do not check for impossible cases (e.g., if the
409         previous variable contains a function).
411         * ox-texinfo.el (org-texinfo-max-toc-depth): Fix docstring.
413         * ox-texinfo.el (org-texinfo--make-option-string,
414         org-texinfo--sanitize-headline,
415         org-texinfo--sanitize-headline-contents): Remove.
417         * ox-texinfo.el (org-texinfo--sanitize-node): "@", "{" and "}"
418         characters are allowed in a node name.  So are "(" and ")" unless
419         "(" starts the name and there is ")" somewhere in the name.  Also
420         trim and collapse whitespace characters.  Renamed from
421         `org-texinfo--sanitize-menu'.
422         (org-texinfo--get-node): Do not sanitize node names over zealously.
423         Ensure returned node names are unique.
424         (org-texinfo-headline): Only add @node command where it makes sense.
426         * ox-texinfo.el (org-texinfo--sanitize-menu)
427         (org-texinfo--sanitize-content): Fix docstrings.
429         * ox-texinfo.el (org-texinfo--normalize-headlines): Make sure a
430         blank line always follows nodes.
432         * ox-texinfo.el (org-texinfo-make-menu): Change signature.  Remove
433         some intermediate functions.  Generate the full master menu when
434         asked.
435         (org-texinfo--build-menu): Use a simpler algorithm.
436         (org-texinfo--format-entries): Fix entries when both node and title
437         are different.
438         (org-texinfo--menu-entries): Renamed from `org-texinfo--generate-menu-list'.
439         (org-texinfo-headline): Move menu handling to next function.
440         (org-texinfo-section): Handle menu for current parent.
441         (org-texinfo--menu-headlines, org-texinfo--generate-detailed): Remove
442         functions.
443         (org-texinfo--normalize-headlines): New function.
445         * ox-texinfo.el (org-texinfo-headline): Fix @appendix command.
447         * ox-texinfo.el (org-texinfo-headline): Do not sanitize heading
448         text for sectioning command.
450         * ox-texinfo.el (org-texinfo--generate-menu-list): ":COPYING: nil"
451         is expected to be equivalent to no COPYING property at all.
453         * ox-texinfo.el (org-texinfo-item): Fix blank lines between items.
455         * ox-texinfo.el (org-texinfo-plain-list): Fix format string.
456         Small refactoring.
458         * ox-texinfo.el (texinfo): Provide new export property.
459         (org-texinfo-template): Use dedicated title for hard copy, when
460         available.
462         * ox-texinfo.el (org-texinfo-headline): Always obey to a non-nil
463         :APPENDIX: property.  Small refactoring.
465         * ox-texinfo.el (org-texinfo-verse-block): Generate somewhat
466         meaningful Texinfo code instead of LaTeX.
468         * ox-texinfo.el (org-texinfo-table): Remove reference to
469         "verbatim" attribute.  Handle table.el tables.  Tiny refactoring.
470         (org-texinfo-table--org-table, org-texinfo-table--table.el-table):
471         Remove functions.
472         (org-texinfo-table-column-widths): Indent code correctly.  Ignore
473         special column, if any.  Add a comment about the limitation on the
474         width computation.
475         (org-texinfo-table-row): Small refactoring.
477         * ox-texinfo.el (texinfo): Do not provide a default value for
478         @setfilename value.
479         (org-texinfo-filename): Remove variable.
480         (org-texinfo-template): Correctly find value for @setfilename command.
481         If none is possible, do not provide the command at all.
483         * ox.el (org-export-to-file): Provide output file name in
484         communication channel, through :output-file property.
486         * ox-texinfo.el (org-texinfo-template): Do not hardcode "Manual"
487         in top node.
489         * ox-texinfo.el (org-texinfo-classes): Change default value.
490         Update docstring.
491         (org-texinfo-template): Insert header string from current class after
492         "@settitle" command.  Always provide "\input texinfo" at the beginning
493         of the output.
495         * ox-texinfo.el (org-texinfo-template): Remove spurious blank
496         lines in output.  Refactor code.
498         * ox-texinfo.el (org-texinfo-template): Fix multi-line subtitles.
500         * ox-texinfo.el (org-texinfo-template): Make sure table of
501         contents are allowed before inserting them.
503         * ox-texinfo.el (org-texinfo-template): Check if copying data is
504         not nil before using it.
506         * ox-texinfo.el (org-texinfo-template): Fix multi-line subauthors.
507         Correctly add email, when provided.  Check if author info is
508         wanted first.
510         * ox-texinfo.el (org-texinfo-node-description-column)
511         (org-texinfo-format-drawer-function): Fix docstrings.
513         * ox-texinfo.el (texinfo): Make sure comments are ignored.
514         (org-texinfo-comment, org-texinfo-comment-block): Remove functions.
516         * ox-texinfo.el (org-texinfo-template): Properly pad @direntry
517         description.
519         * org-element.el (org-element-headline-parser): Add missing
520         `:post-blank' property in docstring.
522         * ox-latex.el (org-latex-table-scientific-notation): Set
523         appropriate value.
524         (org-latex-listings-options): Fix docstring.
526         * ox.el (org-export-raw-special-block-p): New function.
528         * org-element.el (org-element-link-parser): Properly handle
529         multi-line links according to RFC 3986 when enclosed within square
530         brackets.
532         * org-element.el (org-element-parse-secondary-string): Clone all
533         local variables from current buffer before parsing a secondary
534         string.  Small refactoring.
535         (org-element-object-variables): Remove variable.
537         * ox-odt.el (org-odt--format-paragraph): Change signature to
538         include info.
539         (org-odt-footnote-reference, org-odt-paragraph): Apply signature
540         change.
542         * org-clock.el (org-clocktable-indent-string): Use "\emsp" instead
543         of "\__", which is not supported anymore since Org 8.0.
545         * ox-odt.el (org-odt--paragraph-style): New function.
546         (org-odt--format-paragraph): Use new function to get proper style
547         to apply.
549         * org-element.el (org-element--current-element): Fix regexp.
551         * org-element.el (org-element--current-element): Fix regexp
552         matching latex environments.  Discrepancy with regexp used in
553         `org-element-latex-environment-parser' introduced matching errors.
555         * ox-ascii.el (org-ascii--table-cell-width): Correctly export
556         tables with width cookies.
558         * org.el (org-insert-heading): Fix error when inserting a headline
559         before first headline, with point not at bol.  Remove source block
560         check for consistency with behavior after first headline.  Tiny
561         fix to docstring.
563         * org.el (org-scan-tags): Fix typo in docstring.
565         * ox.el (org-export--get-inbuffer-options): Return the empty
566         string instead of nil when TITLE keywords has no value.
567         (org-export--get-buffer-attributes): Do not set :title property
568         early.
569         (org-export--get-global-options): Do not ignore anymore nil values.
570         Small refactoring.
571         (org-export-as): Correctly set :title here.
573         * org-list.el (org-list-repair): Fix typo in docstring.
575         * ox-ascii.el (org-ascii--current-text-width): Tiny fix.
577         * ox-org.el (org-org-section): Tiny refactoring.  Use appropriate
578         property.
580         * ox-org.el (org-org-headline): Ignore footnote sections.
581         (org-org-section): New function.
583         * ox-beamer.el (org-beamer-select-environment): Ignore persistent
584         tags when displaying environments.
586         * ox-ascii.el (org-ascii-indented-line-width): Update docstring.
587         (org-ascii-paragraph): Do not apply indentation to the very first line
588         of a section.
590         * ox-latex.el (org-latex-inlinetask): Skip body if contents are
591         empty.
593         * ox-html.el (org-html-standalone-image-p): Ensure paragraph
594         contains at least a link before return a non-nil value.  Clarify
595         docstring.
597         * ox.el (org-export-data): Always return a string, as specified
598         by the docstring.
600         * ox-ascii.el (org-ascii--indent-string): Fix regexp to avoid
601         stack overflow in regexp matcher on very long lines.
603         * org-element.el (org-element-timestamp-parser): Fix docstring.
605         * ox-icalendar.el (org-icalendar-include-sexps,
606         org-icalendar-blocked-headline-p): Fix docstrings.
607         (org-icalendar-clear-blank-lines): Fix docstring and regexp.
609         * ox-icalendar.el (org-icalendar-entry): Use
610         `org-icalendar-with-timestamps'.
612 2014-10-02  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
614         * org.el (org-cycle-internal-local): Don't show a trailing
615         character when cycling a subtree that ends with a non-newline
616         character at the end of the buffer or the narrowed region.
618 2014-10-02  Sebastien Vauban  <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
620         * ox-ascii.el (org-ascii--box-string): Choose more universal
621         Unicode characters for boxquote corners.
623 2014-10-02  Marco Wahl  <marcowahlsoft@gmail.com>  (tiny change)
625         * org-agenda.el (org-agenda-bulk-mark)
626         (org-agenda-bulk-mark-regexp, org-agenda-bulk-toggle-all): Fix
627         org-agenda-bulk-mark-all when time-grid is shown.
629 2014-05-12  Eric Schulte  <eric.schulte@gmx.com>
631         * ob-screen.el (org-babel-screen-session-write-temp-file)
632         (org-babel-screen-test):
633         Use unpredictable names for temporary files.  (Bug#17416)
635 2014-04-22  Aaron Ecay  <aaronecay@gmail.com>
637         * org-src.el (org-edit-src-exit): Place an undo boundary before
638         writing changes back to parent buffer.
640 2014-04-22  Achim Gratz  <Stromeko@Stromeko.DE>
642         * ob-gnuplot.el (org-babel-gnuplot-process-vars):
643         `org-babel-gnuplot-table-to-data´ expects a table, so we need to
644         construct one when Babel hands us a vector.
646         * ob-ref.el (org-babel-ref-parse): If
647         `org-babel-current-src-block-location' is a marker, it can be from
648         another buffer, use marker-position instead in this case.
650 2014-04-22  Arun Persaud  <apersaud@lbl.gov>  (tiny change)
652         * org-src.el (org-edit-src-exit): Don't add indentation on empty
653         lines.
655 2014-04-22  Bastien Guerry  <bzg@gnu.org>
657         * org.el (org-insert-heading): Fix behavior when point is at the
658         beginning of a heading or a list item.  Enhance docstring.
660         * ox-html.el (org-html-infojs-install-script): Don't install
661         infojs scripts when #+INFOJS_OPT: is empty.
663         * org.el (org-mode): Fix the use of `org-*-element' functions for
664         C-M-a and C-M-e but fix C-M-e.
666         * org-agenda.el (org-agenda-search-view): Fix tag.
668         * org.el (org-check-before-invisible-edit): Don't just cycle, show
669         the subtree, as cycling may leave the current heading folded.
670         (org-contextualize-validate-key): Fix wrong test.
672         * org-bibtex.el (org-bibtex-headline): Don't throw an error when
673         trying to add a keyword field to a BibTeX entry that is not known
674         by BibTeX or defined by the user.
675         (org-bibtex, org-bibtex-no-export-tags): Fix docstrings.
677         * ox-latex.el (org-latex-src-block): Fix wrong propagation of
678         labels and captions when using the listings environment.
680         * org.el (org-sort-entries): Fix the number of blank lines to
681         keep for the last entry to sort.
683         * org-clock.el (org-clock-put-overlay): Fix display when
684         `org-indent-mode' is on.
686         * org.el (org-sort-entries): Allow to sort by clocking time.
688         * org-agenda.el (org-agenda-finalize): Apply all filters
689         correctly.
691         * org.el (org-update-dblock): Use `save-excursion' instead of
692         `save-window-excursion' so that blocks can edit other windows and
693         change the window layout.
695         * org-agenda.el (org-agenda-mode): Disable `indent-tabs-mode'.
696         (org-agenda-dim-blocked-tasks): Make overlays intangible.
697         (org-agenda-show-new-time): Fix bug when deleting a timestamp
698         right after changing it.
699         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item)
700         (org-agenda-get-sexps, org-agenda-filter-by-regexp)
701         (org-agenda-filter-top-headline-apply): Fix indentation.
703         * org.el (org-cycle): Try `org-try-cdlatex-tab' before trying
704         to edit/move as in a table.
706         * org-agenda.el (org-agenda-show-new-time): Don't use
707         `move-beginning-of-line' as it is slower and not needed.
709         * org-compat.el (org-move-to-column): Temporarily set
710         `buffer-invisibility-spec' more accurately.
712         * ox-latex.el (org-latex-text-markup-alist): Use \ul{...} for
713         underlining instead of \uline{...} as requiring the hyperref
714         package makes \uline{...} unusable on headline.
716         * org.el (org-latex-default-packages-alist): Add the "soul"
717         package.
719         * org.el (org-refresh-properties): Don't add the property to
720         the whole subtree, only to the part between the beginning of
721         the headline and the end of the "content", before any other
722         headline.  This fix a bug about properties displayed as
723         inherited in the agenda, where Org properties are checked
724         against text properties.
726         * ox-latex.el (org-latex--text-markup): Replace newlines by
727         whitespaces in \verb constructs.
729         * org-agenda.el (org-agenda-filter-hide-line): Hide from the
730         beginning of the line to the beginning of the next line.
731         (org-agenda-show-new-time): Use `move-beginning-of-line' and
732         `move-end-of-line'.
733         (org-agenda-drag-line-forward): Adapt to the new definition of
734         hidden filtered lines.
736         * org-compat.el (org-move-to-column): Always ignore invisible
737         text in agenda buffer, and when there is both a bracket link
738         and '(org-link) as a member of `buffer-invisibility-spec'.
739         Add a docstring.
741         * org.el (org-align-tags-here): Add docstring and remove useless
742         arguments when calling `org-move-to-column'.
744         * org-table.el (org-table-copy-down)
745         (org-table-find-dataline, org-table-move-row)
746         (org-table-insert-hline, org-table-kill-row):
747         * org-agenda.el (org-agenda-next-item)
748         (org-agenda-previous-item, org-agenda-todo)
749         (org-agenda-priority, org-agenda-show-new-time)
750         (org-agenda-clock-in, org-agenda-clock-out): Remove useless
751         arguments when calling `org-move-to-column'.
753         * org.el (org-refile): Fix calling with a numeric prefix argument
754         of 3 to refile and keep.
756         * org-clock.el (org-clock-get-table-data): When :link is `t' in
757         the clocktable parameters, bracket links in the clocktable should
758         only contain their description, other C-c C-o will try to open the
759         bracket link at point instead of the headline.
761         * org-agenda.el (org-agenda-todo): Always restore the window state
762         after `org-agenda-change-all-lines' has been called.
763         (org-agenda-open-link): Don't throw an error when trying to open a
764         link when the point is on a place that is not associated with a
765         buffer.
767         * ox-latex.el (org-latex-link): Escape `%' characters.
769         * org.el (org-entry-get-with-inheritance): Remove wrong quote.
770         (org-entry-get): Only try to combine file properties with local
771         properties when the property drawer contains such local property,
772         not when the property drawer exists.
774         * ox-latex.el (org-latex-link):
775         * ox-html.el (org-html-link):
776         * ox-beamer.el (org-beamer-link): Fix links to radio targets.
778         * ox-ascii.el (org-ascii-link): For links to a radio target, use
779         the link, not the target.
781         * org.el (org-do-emphasis-faces): Explicitly prevent nested
782         emphasis.
783         (org-insert-heading): Don't remove whitespaces following an empty
784         headline.
786         * org-timer.el (org-timer-stop): Set `org-timer-current-timer' to
787         nil.
789         * org.el (org-store-link): Ensure desc is not nil before matching
790         a regexp against it.  Fall back on an empty string when no
791         description is available.
793         * org-agenda.el (org-agenda-list-stuck-projects): Bugfix: set
794         `org-agenda-buffer-name'.
796         * org-capture.el (org-capture-finalize): Ensure to widen the
797         buffer when the target buffer is not initially narrowed.
799         * org-compat.el (org-move-to-column): Fix bug about ignoring
800         bracket links visibility status in tables with S-RET.
802         * org-src.el (org-edit-src-find-region-and-lang): Check if we are
803         in a table.el table last.
805         * org.el (org-delete-property): Don't suggest to delete the
806         CATEGORY property when the category is not explicitely set in the
807         property drawer.  Also enforce matching when completing.
808         (org-insert-heading): Fix regression: with two universal prefixes,
809         insert heading at the end of the subtree.
810         (org-insert-todo-heading): Bugfix: only enforce the first TODO
811         state when arg is '(4).
813         * org-agenda.el (org-agenda-skip-subtree-if): Fix docstring.
815         * org.el (org-contextualize-validate-key): Fix bug: perform the
816         check even when (buffer-file-name) returns `nil'.
818         * org-colview.el (org-columns-display-here): Let-bind `fm'.
820         * org.el (org-emphasis-alist): Use `org-verbatim' for =text=
821         and `org-code' for ~text~.
822         (org-open-link-marker): Fix typo in docstring.
824         * org-colview.el (org-columns-display-here): Fix the column
825         view for numbers with a format specifier (e.g. {+; %5.1f}).
827         * org-src.el (org-edit-src-code): Throw a warning instead of
828         an error when loading the mode fails, otherwise the user is
829         left with unusable buffers.
831         * org-table.el (org-table-copy-down)
832         (org-table-find-dataline, org-table-move-row)
833         (org-table-insert-hline, org-table-kill-row): Use
834         `org-move-to-column' with the IGNORE-INVISIBLE arg set to `t', so
835         that abbreviated rows don't interfer with setting the cursor back
836         at the correct position.
838         * org.el (org-agenda-prepare-buffers): Use `save-excursion'
839         instead of `save-window-excursion'.
840         (org-file-contents): Return an empty string instead of the
841         message.
842         (org-open-at-point): Fix bug when opening a plain link followed by
843         a bracket link.
844         (org-ctrl-c-ctrl-c): Fix behavior when hitting C-c C-c on LaTeX
845         formulas in tables.
846         (org-refile--get-location): New internal function using a wider
847         set of possible refile locations.
848         (org-refile-get-location): Use it.
849         (org-refile): Fix bug when refiling the last subtree of the
850         buffer: don't leave out the last character.
851         (org-sort-entries): Restore the point location when there is
852         nothing to sort.
854         * org-table.el (org-table-field-info): Throw a user error when not
855         at a table.
857         * org-agenda.el (org-agenda-drag-line-forward): Call
858         `org-agenda-mark-clocking-task' when done.
859         (org-agenda-mark-clocking-task): Small refactoring.
861         * org-compat.el (org-set-transient-map): Alias pointing at
862         `set-transient-map' if defined, at `set-temporary-overlay-map'
863         otherwise.
865         * org-agenda.el (org-agenda-next-item)
866         (org-agenda-previous-item, org-agenda-toggle-archive-tag)
867         (org-agenda-todo, org-agenda-priority, org-agenda-clock-in)
868         (org-agenda-clock-out): Put the cursor back on the correct
869         column, when possible.
870         (org-agenda-todo): When `org-clock-out-when-done' is `t', also
871         remove the current clock overlay.
873         * org.el (org-format-latex-options): Fix docstring.
875         * ox.el (org-export--get-subtree-options): When using the headline
876         as a title for a subtree export, only take the true heading, no
877         TODO keyword, no priority cookie, no tag.
879         * org.el (customize-package-emacs-version-alist): Fix Org version
880         for Emacs 24.4.
882         * org.el (org-demote): Ignore invisible text when aligning tags.
883         (org-set-tags): When JUST-ALIGN is 'ignore-column, ignore
884         invisible text when restoring the cursor to the correct column.
886         * ob-python.el (org-babel-python-var-to-python): Bugfix: Strip
887         properties before formatting the results.
889         * org-agenda.el (org-agenda-regexp-filter-preset): Fix typo in
890         docstring.
891         (org-agenda-reapply-filters): New function.
892         (org-agenda-drag-line-forward): Rewrite to fix a bug when used
893         in filtered agendas.
894         (org-agenda-drag-line-backward): Rewrite using
895         `org-agenda-drag-line-forward'.
897         * ob-table.el (org-sbe): Rename from `sbe'.
899         * org.el (org-store-link): When a link has been stored, always
900         returns it.
902         * ob-python.el (org-babel-python-var-to-python): Fix code typo.
904         * org-entities.el (org-entities-help): Prevent the display of
905         pretty entities, as this help buffer is meant to list literal
906         strings, not utf-8 representations.
908 2014-04-22  Benjamin Drieu  <bdrieu@april.org>
910         * org.el (org-store-link): Fix selection of the function to store
911         the link.
913 2014-04-22  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>
915         * org.el (org-entry-get-with-inheritance): Temporarily let-bind
916         `org-file-properties', `org-global-properties' and
917         `org-global-properties-fixed' to nil before calling
918         `org-entry-get' on entries up the hierarchy from the queried
919         entry.
921 2014-04-22  Justin Gordon  <justin.gordon@gmail.com>
923         * ox-md.el (org-md-separate-elements): Fix blank line insertion
924         between elements.
926         * ox-md.el (org-md-inner-template): New function.
928 2014-04-22  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
930         * org-bibtex.el (org-bibtex-headline): Fix insertion of keywords
931         of unknown BibTeX entries.
933 2014-04-22  Markus Hauck  <markus1189@gmail.com>  (tiny change)
935         * org-agenda.el (org-agenda-get-scheduled): If
936         `org-agenda-skip-scheduled-if-deadline-is-shown' is set to
937         'repeated-after-deadline, still show tasks without any deadline
939 2014-04-22  Michael Brand  <michael.ch.brand@gmail.com>
941         * org-table.el (org-table-fix-formulas): Handle multiple #+TBLFM
942         lines with `forward-line'.
944 2014-04-22  Michael Weylandt  <michael.weylandt@gmail.com>  (tiny change)
946         * ox-latex.el (org-latex-export-to-latex): Downcase the language
947         name when using minted highlighting for src block exports.
949 2014-04-22  Nick Dokos  <ndokos@gmail.com>
951         * org-mobile.el (org-mobile-create-index-file): delete :grouptags
952         entries from tags list when creating the org-mobile index file.
954 2014-04-22  Nicolas Goaziou  <n.goaziou@gmail.com>
956         * ox.el (org-export-copy-to-kill-ring): Comply to docstrings
957         standards.
959         * org.el (org-sparse-tree): Fix code typo.  Small refactoring.
961         * ox-latex.el (org-latex-link):
962         * ox-html.el (org-html-link):  Do not expand absolute file names
963         and do not try to fix hierarchy part, as it is already taken care of
964         at the parser level.
966         * ox-md.el (org-md-link): Ditto.  Also fix absolute file names.
968         * ox-odt.el (org-odt-link):
969         * ox-man.el (org-man-link):
970         * ox-texinfo.el (org-texinfo-link):
971         * org-element.el (org-element-link-parser): Fix ill-defined "file"
972         type links.  Expand absolute file names in the process.
974         * org.el (org-make-link-regexps): Use `regexp-opt' instead of
975         `mapconcat' and `regexp-quote'.
977         * ox-html.el (org-html-link):
978         * ox-latex.el (org-latex-link):
979         * ox-man.el (org-man-link):
980         * ox-odt.el (org-odt-link):
981         * ox-html.el (org-html-link):
982         * ox-latex.el (org-latex-link):
983         * ox-man.el (org-man-link):
984         * ox-odt.el (org-odt-link):
985         * ox-texinfo.el (org-texinfo-link): Append "//" after some link
986         types.
988         * ox-md.el (org-md-link):
989         * org.el (org-make-link-regexps): Allow optional double slashes
990         after type.  Small refactoring.
992         * org-element.el (org-element-headline-parser): Tiny refactoring.
994         * org-element.el (org-element-headline-parser): Correctly parse
995         blank lines after a headline.
997         * org-element.el (org-element-table-cell-parser)
998         (org-element-table-cell-successor): Recognize cell even when last
999         vertical bar is missing.
1001         * ox-md.el (org-md-example-block): handle switches and references
1002         in source blocks.
1004         * org.el (org-latex-packages-alist)
1005         (org-latex-default-packages-alist): Update docstrings.
1007         * ox-ascii.el (org-ascii--unique-links): Ignore white spaces when
1008         uniquifying links in section.
1010         * ox-odt.el (org-odt-template): Ignore blank titles.
1012         * ox-publish.el (org-publish-find-title): Fix (invalid-read-syntax
1013         "#").
1015         * ox-ascii.el (org-ascii-link):
1016         * ox-beamer.el (org-beamer-link):
1017         * ox-html.el (org-html-link):
1018         * ox-latex.el (org-latex-link):
1019         * ox-md.el (org-md-link):
1020         * ox-odt.el (org-odt-link): Update radio target export according
1021         to recent changes.
1023         * org-element.el (org-element-all-successors)
1024         (org-element-object-restrictions): Prioritize `link' over other
1025         successors in order to find radio links starting with another
1026         syntax object (e.g., an entity).  Also allow text markup within
1027         radio targets.
1028         (org-element-link-parser): Add contents to radio targets.
1030         * org.el (org-make-target-link-regexp): Fix regexp so it can match
1031         targets starting with an Org object (e.g., an entity).
1032         (org-ctrl-c-ctrl-c): Fix function when applied on an object contained
1033         within a radio target.
1035         * org.el (org-mode): Change "\" and "~" characters syntax from
1036         `punctuation' to `symbol' so they are on par with other characters
1037         used in Org syntax (e.g., "/", "*"...).
1039         * ox-beamer.el (org-beamer-publish-to-pdf):
1040         * ox-latex.el (org-latex-publish-to-pdf): Ensure ".tex" file is
1041         generated in the same directory as the ".org" file.
1043         * ox-latex.el (org-latex-headline): Hard-code "\underline" in
1044         sections because "\uline" ("ulem" package) returns an error and
1045         "\ul" ("soul" package) doesn't support chinese characters.
1047         * ox-ascii.el (org-ascii-link): Correctly handle case mismatch
1048         between radio targets and radio links.
1050         * org-element.el (org-element-link-parser): "radio" links have
1051         their path downcased to avoid introducing case mismatch with their
1052         relative radio target.  With this change it is also necessary to
1053         add contents to them, since `:path' property no longer matches
1054         real value of the link.
1055         (org-element-radio-target-parser): Downcase value as explained
1056         above.  Store the initial value in a new `:raw-value' property.
1058         * org-element.el (org-element-context): Fix parsing of bold
1059         objects at the beginning of a headline.
1061         * org-element.el (org-element-context): Fix timestamps parsing.
1063         * ox-beamer.el (org-beamer-item): Insert the export snippet right
1064         after the first \item, not all of them.
1066         * org-element.el (org-element--list-struct): Fix regexp.
1068         * org-element.el (org-element-inlinetask-parser): Fix parsing when
1069         regular and degenerate inlinetasks are mixed in the section.
1071         * ox-md.el (org-md-link): Generate md links to other Org files
1072         instead of html links.  Do not confuse caption and alt-text.
1073         Provide "img" as default alt-text.
1075         * org-element.el (org-element-normalize-contents): Do not ignore
1076         empty lines when an object follows.
1077         (org-element-interpret-data): Do not remove properties by
1078         side-effect when interpreting a string, as it also removes them
1079         from the parse tree, making the string unusable without its
1080         :parent property.
1082         * ob-exp.el (org-babel-exp-process-buffer): Also check
1083         `org-src-preserve-indentation' to know when to preserve indentation.
1084         (org-babel-exp-code-template): Include switches in template.
1085         (org-babel-exp-code): Provide %switches placeholder.
1087         * ox-latex.el (org-latex-plain-list): Do not automatically
1088         enclose value for :options attribute within square brackets.
1089         Instead, append them verbatim next to the block name, as special
1090         blocks do.
1092         * ob-exp.el (org-babel-exp-code): Fix export of src blocks with
1093         flags.
1094         (org-babel-exp-process-buffer): Make processing more robust when
1095         results are inserted before source block or when source block is
1096         followed by multiple blank lines.
1098         * ox.el (org-export-insert-default-template): Only insert
1099         keywords and options relatives to the selected back-end.  Ignore
1100         those relatives to its parent in the case of a derived back-end.
1102         * ox-beamer.el: Remove unnecessary package definitions in default
1103         class.
1105         * ox-latex.el (org-latex-headline, org-latex-item): Fix items
1106         starting with a square bracket.
1108         * org.el (org-mode-restart): Fix turning off `org-indent-mode'
1109         when necessary.
1110         (org-get-previous-line-level): Do not call `org-current-level'
1111         twice unless necessary.  Also, avoid using `line-number-at-pos'
1112         when the information needed is to know if point is in the first
1113         line of the visible part of the buffer.
1115         * ob-core.el (org-babel-get-inline-src-block-matches): Do not
1116         compute line number if all is needed is to know if we're on the
1117         first one.
1119         * ox-md.el (org-md-item): Do not return an error when exporting
1120         an empty item.
1122         * ox-beamer.el (org-beamer-select-environment): Function doesn't
1123         work if fast tag selection is disabled, so make sure it is always
1124         on, independently on user's configuration.
1126 2014-04-22  Nikolai Weibull  <now@disu.se>  (tiny change)
1128         * org.el (org-mode): Add guard around set-face-foreground.
1130 2014-04-22  Rasmus  <w530@pank.eu>
1132         * ox-html.el (org-html-html5-elements): Drop reference to hgroup.
1134 2014-04-22  Rick Frankel  <rick@rickster.com>
1136         * ox-html.el (org-html-link): Unescape org-escaped links an
1137         re-escape for html (browser).
1139 2014-04-22  Sacha Chua  <sacha@sachachua.com>
1141         * org.el (org-refresh-properties): Don't throw an error when
1142         reaching the end of the buffer.
1144 2014-04-22  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
1146         * org-bibtex.el (org-bibtex-read): Check string length before
1147         using aref.
1149 2014-04-22  Yasushi SHOJI  <yashi@atmark-techno.com>
1151         * ox-ascii.el (org-ascii--current-text-width): Convert `length'
1152         to `string-width'.
1153         (org-ascii--build-title, org-ascii--build-toc)
1154         (org-ascii--list-listings, org-ascii--list-tables)
1155         (org-ascii-template--document-title)
1156         (org-ascii-inner-template, org-ascii-format-inlinetask-default)
1157         (org-ascii-format-inlinetask-default, org-ascii-item
1158         (org-ascii--table-cell-width, org-ascii-table-cell)
1159         (org-ascii--current-text-width): Likewise.
1161 2014-02-25  Glenn Morris  <rgm@gnu.org>
1163         * org-version.el (org-odt-data-dir):
1164         Remove incorrect, duplicate definition.  (Bug#16734)
1166 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
1168         Spelling fixes.
1169         * org-irc.el (org-irc-ellipsify-description): Rename from
1170         org-irc-elipsify-description.  All uses changed.
1172 2013-01-07  Bastien Guerry  <bzg@gnu.org>
1174         * org-clock.el (org-clock-cancel-hook)
1175         (org-clock-leftover-time): Fix typo in docstring.
1177         * ox-odt.el (org-odt--frame): Add a draw:name property to the
1178         draw:frame tag.
1179         (org-odt-format-label): Don't use short-caption at all.
1181         * org-rmail.el (org-rmail-follow-link): Don't raise an error when
1182         no article is matched.
1184         * org.el (org-set-tags): Ignore invisible text when restoring
1185         cursor position.
1186         (org-refile-get-location): Check for a refile position when the
1187         position is not nil, otherwise allow to create the parent node if
1188         the user requests it.
1189         (org-refile-allow-creating-parent-nodes): Fix typo in
1190         docstring.
1191         (org-entry-get): Minor docstring enhancement.
1192         (org-set-startup-visibility): Bugfix.
1193         (org-shiftcontrolup, org-shiftcontroldown): When
1194         `org-support-shift-select' is not `nil', let-bind it to nil if
1195         point is on a clock log.  Otherwise throw an error.
1197         * ob-lob.el (org-babel-lob-files): Fix custom type.
1198         (org-babel-lob-ingest): Small docstring fix.
1200         * org-agenda.el (org-cmp-ts): Fix bug: interpret `late' as
1201         `later than any date' instead of `later than today'.
1203         * org.el (org-do-emphasis-faces): Handle false positives by
1204         restarting the re-search one char after the beginning of the
1205         match, not one char before its ending.
1206         (org-entry-put): Check that the value provided is a string.  If it
1207         is nil, convert it to the empty string.
1209         * ob-latex.el (org-babel-latex-htlatex-packages): Use repeat
1210         instead of list as the defcustom type.
1212         * ox.el (org-export-with-creator):
1213         * org.el (org-loop-over-headlines-in-active-region)
1214         (org-mouse-1-follows-link, org-provide-todo-statistics):
1215         * org-agenda.el (org-agenda-custom-commands-local-options)
1216         (org-agenda-start-with-log-mode)
1217         (org-agenda-show-inherited-tags): Don't quote const values.
1219         * ox-texinfo.el (org-texinfo-def-table-markup):
1220         * org-inlinetask.el (org-inlinetask-show-first-star):
1221         * ob-maxima.el (org-babel-maxima-command): Add type.
1223         * org-table.el (org-table-fix-formulas): Handle multiple
1224         #+tblfm: lines.
1226         * ox.el (org-export-to-file): Fix typo in docstring.
1228         * org.el (org-self-insert-command)
1229         (orgtbl-self-insert-command): Change the value of the
1230         `delete-selection' property to allow other commands like
1231         `electric-pair-will-use-region' to be run before deletion.
1233         * org-attach.el (vc-git): Require.
1234         (org-attach-commit): Check whether git is installed.
1236 2013-01-07  Nicolas Goaziou  <n.goaziou@gmail.com>
1238         * ox-icalendar.el (org-icalendar--combine-files): Make sure
1239         anniversaries do not end up in *Message* buffer instead of the ICS
1240         file.
1242         * ox-html.el: Clean up "FIXME" comments.
1244         * ox-publish.el (org-publish-resolve-external-fuzzy-link): Fix
1245         docstring.
1247         * ox.el (org-export-smart-quotes-regexps): Fix smart quote
1248         detection when it is followed by an open parenthesis syntax class.
1250         * org-element.el (org-element-inline-babel-call-successor): Use
1251         original regexp to stay up-to-date with Babel changes.
1252         (org-element--affiliated-re): Fix affiliated keyword regexp.
1254         * ox-org.el (org-org-identity): Since back-end specific keywords
1255         are stripped from output, also remove attr_backend keywords.
1256         (org-babel-exp-process-buffer): Fix duplicate evaluation with
1257         :wrap src.
1258         (org-babel-exp-non-block-elements): Removed function.
1260 2013-01-07  Ted Wiles  <thewiles@wharton.upenn.edu>  (tiny change)
1262         * org-habit.el (org-habit-parse-todo): Match all TODO keywords,
1263         not just "TODO".
1265 2013-01-07  Miguel Ruiz  <rbenit68@yahoo.es>  (tiny change)
1267         * ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Fix code
1268         typo.
1270 2013-01-07  Vladimir Lomov  <lomov.vl@gmail.com>  (tiny change)
1272         * ox-html.el (org-html-style-default): New classes caption.t-above
1273         and caption.t-bottom.
1274         (org-html-table): Use new classes.
1276 2013-12-23  Chong Yidong  <cyd@gnu.org>
1278         * org.el (orgstruct-make-binding): Call set-transient-map instead
1279         of old name set-temporary-overlay-map.
1281 2013-12-06  Achim Gratz  <Stromeko@Stromeko.DE>
1283         * org-crypt.el: Declare `epg-context´.
1284         (org-encrypt-string): Correct indentation.
1286         * org.el (org-version): Replace `_version´ by `version1´.
1288 2013-12-06  Alexander Vorobiev  <alexander.vorobiev@gmail.com>  (tiny change)
1290         * org-compat.el (org-get-x-clipboard): Use w32-get-clipboard-data
1291         to get the clipboard data under Windows.
1293 2013-12-06  Bastien Guerry  <bzg@gnu.org>
1295         * ox.el (org-export-with-sub-superscripts):
1296         * org.el (org-use-sub-superscripts): Fix version and enhance
1297         docstring again.
1299         * ox.el (org-export-with-sub-superscripts):
1300         * org.el (org-use-sub-superscripts): Enhance docstrings.
1302         * org-macs.el (org-autoload): Delete.
1304         * org-docview.el ("docview"): Fix declarations and require
1305         doc-view directly.
1307         * org-id.el (org-id-copy)
1308         (org-id-get-with-outline-path-completion)
1309         (org-id-get-with-outline-drilling, org-id-new):
1311         * org-colview.el:
1312         (org-colview-initial-truncate-line-value)
1313         (org-columns-open-link, org-string-to-number):
1314         * org-clock.el:
1315         (org-clock-put-overlay, org-count-quarter, org-clock-loaded):
1316         * org-archive.el (org-get-local-archive-location):
1317         * org-agenda.el (org-agenda-todo-custom-ignore-p):
1318         Autoload.
1320         * org.el (org-return-follows-link):
1321         * ob-python.el (org-babel-python-command): Don't use :set.
1323         * ox-odt.el (org-odt-content-template-file): Fix version.
1325         * ox-texinfo.el (org-texinfo-filename): Fix default value.
1326         (org-texinfo-format-headline-function): Use 'ignore as the
1327         default value.
1328         (org-texinfo-format-drawer-function): Use a function as the
1329         default value.  Update docstring.
1330         (org-texinfo-drawer): Always use
1331         `org-texinfo-format-drawer-function' as it is now a function
1332         by default.
1333         (org-texinfo-headline): Compare
1334         `org-texinfo-format-headline-function' against 'ignore.
1335         (org-texinfo-inlinetask): Compare
1336         `org-texinfo-format-inlinetask-function' against 'ignore.
1338         * ox-odt.el (org-odt-format-drawer-function): Use a function as
1339         the default value.  Update docstring.
1340         (org-odt-format-headline-function)
1341         (org-odt-format-inlinetask-function): Fix default value.
1342         (org-odt-drawer): Always use `org-odt-format-drawer-function'
1343         as it is now a function by default.
1344         (org-odt-format-headline--wrap): Compare
1345         `org-odt-format-headline-function' against 'ignore.
1347         * ox-latex.el (org-latex-format-drawer-function): Use a function
1348         as the default value.  Update docstring.
1349         (org-latex-format-inlinetask-function): Fix default value.
1350         (org-latex-drawer): Always use
1351         `org-latex-format-drawer-function' as it is now a function by
1352         default.
1353         (org-latex-inlinetask): Compare
1354         `org-latex-format-inlinetask-function' against 'ignore.
1356         * ox-html.el (org-html-format-drawer-function): Use a function as
1357         the default value.  Update docstring.
1358         (org-html-format-headline-function)
1359         (org-html-format-inlinetask-function): Fix default value.
1360         (org-html--format-toc-headline)
1361         (org-html-format-headline--wrap): Compare
1362         `org-html-format-headline-function' against 'ignore.
1363         (org-html-inlinetask): Compare
1364         `org-html-format-inlinetask-function' against 'ignore.
1366         * ox-ascii.el (org-ascii-format-drawer-function): Use a
1367         function as the default value.  Update docstring.
1368         (org-ascii-drawer): Always use
1369         `org-ascii-format-drawer-function' as it is now a function by
1370         default.
1371         (org-ascii-format-inlinetask-default): New function.
1372         (org-ascii-format-inlinetask-function): Use
1373         `org-ascii-format-inlinetask-default' as the default.
1375         * org.el (org-mouse-1-follows-link): Use :set to set the default
1376         value.  Update custom type.
1377         (org-log-note-headings): Fix order or list items in the custom
1378         type.
1379         (orgstruct-heading-prefix-regexp): Use an empty string as the
1380         default value.  Use 'regexp as the custom type.
1381         (orgstruct-make-binding): Tiny docstring enhancement.  Assume
1382         `orgstruct-heading-prefix-regexp' is a string.
1384         * org-agenda.el (org-agenda-search-view-max-outline-level): Set
1385         default value to 0.  Update docstring.
1386         (org-agenda-deadline-leaders): Fix custom type.
1387         (org-search-view): Assume
1388         `org-agenda-search-view-max-outline-level' is a number.
1390         * ob-ruby.el (org-babel-ruby-nil-to): Fix custom type.
1392         * ob-python.el (org-babel-python-mode): Use :set to set the
1393         default value.
1394         (org-babel-python-None-to): Fix custom type.
1396         * ob-plantuml.el (org-plantuml-jar-path): Fix default value.
1397         (org-babel-execute:plantuml): Assume `org-plantuml-jar-path' is a
1398         string.
1400         * ob-latex.el (org-babel-latex-htlatex): Fix default value.
1401         (org-babel-latex-htlatex-packages): Fix custom type.
1402         (org-babel-execute:latex): Assume `org-babel-latex-htlatex' is a
1403         string.
1405         * ox-odt.el (org-odt-display-outline-level): Fix version.
1407         * ox-odt.el (org-odt-inline-formula-rules)
1408         (org-odt-inline-image-rules, org-odt-use-date-fields): Add version
1409         and package-version.
1411         * ox-html.el (org-html-format-drawer-function)
1412         (org-html-format-headline-function)
1413         (org-html-format-inlinetask-function)
1414         (org-html-creator-string): Add version and package-version.
1416         * ox-html.el (org-html-text-markup-alist): Fix version.
1418         * org-agenda.el (org-agenda-set-restriction-lock): Autoload.
1420         * ob-calc.el (org--var-syms): Rename from `var-syms'.
1422         * ob-lilypond.el (ly-compile-lilyfile): Remove redundant
1423         let-binding.
1425         * ob-table.el (sbe): Move debug declaration.
1427         * org-clock.el (org--msg-extra): Rename from `msg-extra'.
1429 2013-12-06  Nicolas Goaziou  <n.goaziou@gmail.com>
1431         * org.el (org-ctrl-c-ctrl-c): When point is on an unsupported
1432         object, look for something to do at a higher level instead of
1433         bailing out.
1435         * ox-html.el (org-html-format-latex): Add an argument.  Ensure
1436         latex header is the same as specified in the original buffer when
1437         exporting a LaTeX fragment or environment.
1438         (org-html-latex-environment, org-html-latex-fragment): Apply
1439         signature change.
1441         * ox-publish.el (org-publish-cache-ctime-of-src): Return an error
1442         when publishing a non-existent file.
1444         * org-element.el (org-element-paragraph-separate): More accurate
1445         regexp.
1447         * org.el (org-entry-get): Widen buffer in order to retrieve
1448         properties, as `org-entry-properties' and
1449         `org-entry-get-with-inheritance' already do.
1451         * ox-html.el (org-html--format-toc-headline): Add missing headline
1452         number in TOC entries.
1454         * org.el (org-entry-properties): Ignore narrowing when retrieving
1455         current headline properties.
1457 2013-12-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
1459         * org-crypt.el (org-encrypt-string, org-encrypt-entry)
1460         (org-decrypt-entry): Fix warning.
1462 2013-11-17  Paul Eggert  <eggert@cs.ucla.edu>
1464         Spelling fixes.
1465         * ob-python.el (org-babel-python-with-earmuffs):
1466         Rename from org-babel-python-with-earmufs.  All uses changed.
1467         (org-babel-python-without-earmuffs):
1468         Rename from org-babel-python-without-earmufs.  All uses changed.
1470 2013-11-12  Bastien Guerry  <bzg@gnu.org>
1472         * org-agenda.el (org-agenda-set-restriction-lock): Autoload.
1474 2013-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1476         Address some byte-compiler warnings.
1477         * ob-calc.el (org--var-syms): Rename from `var-syms'.
1478         * ob-lilypond.el (ly-compile-lilyfile): Remove redundant let-binding.
1479         * ob-table.el (sbe): Move debug declaration.
1480         * org-clock.el (org--msg-extra): Rename from `msg-extra'.
1481         * org.el (org-version): Avoid var name starting with _.
1482         (org-inhibit-startup, org-called-with-limited-levels)
1483         (org-link-search-inhibit-query, org-time-was-given)
1484         (org-end-time-was-given, org-def, org-defdecode, org-with-time):
1485         * org-colview.el (org-agenda-overriding-columns-format):
1486         * org-agenda.el (org-agenda-multi, org-depend-tag-blocked)
1487         (org-agenda-show-log-scoped):
1488         * ob-python.el (py-which-bufname, python-shell-buffer-name):
1489         * ob-haskell.el (org-export-copy-to-kill-ring):
1490         * ob-exp.el (org-link-search-inhibit-query):
1491         * ob-R.el (ess-eval-visibly-p):
1492         * ob-core.el (org-src-window-setup): Declare before use.
1493         (org-babel-expand-noweb-references): Remove unused `blocks-in-buffer'.
1494         * ox-odt.el (org-odt-hfy-face-to-css):
1495         * org-src.el (org-src-associate-babel-session, org-src-get-lang-mode):
1496         * org-bibtex.el (org-bibtex-get, org-bibtex-ask, org-bibtex)
1497         (org-bibtex-check):
1498         * ob-tangle.el (org-babel-tangle, org-babel-spec-to-string)
1499         (org-babel-tangle-single-block, org-babel-tangle-comment-links):
1500         * ob-table.el (sbe):
1501         * ob-sqlite.el (org-babel-sqlite-expand-vars):
1502         * ob-sql.el (org-babel-sql-expand-vars):
1503         * ob-shen.el (org-babel-execute:shen):
1504         * ob-sh.el (org-babel-execute:sh, org-babel-sh-evaluate):
1505         * ob-scala.el (org-babel-scala-evaluate):
1506         * ob-ruby.el (org-babel-ruby-table-or-string)
1507         (org-babel-ruby-evaluate):
1508         * ob-python.el (org-babel-python-table-or-string)
1509         (org-babel-python-evaluate-external-process)
1510         (org-babel-python-evaluate-session):
1511         * ob-picolisp.el (org-babel-execute:picolisp):
1512         * ob-perl.el (org-babel-perl-evaluate):
1513         * ob-maxima.el (org-babel-execute:maxima):
1514         * ob-lisp.el (org-babel-execute:lisp):
1515         * ob-java.el (org-babel-execute:java):
1516         * ob-io.el (org-babel-io-evaluate):
1517         * ob-haskell.el (org-babel-execute:haskell):
1518         * ob-fortran.el (org-babel-execute:fortran):
1519         * ob-exp.el (org-babel-exp-code):
1520         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
1521         * ob-ditaa.el (org-babel-execute:ditaa):
1522         * ob-core.el (org-babel-execute-src-block, org-babel-sha1-hash)
1523         (org-babel-parse-header-arguments, org-babel-reassemble-table)
1524         (org-babel-goto-src-block-head, org-babel-mark-block)
1525         (org-babel-expand-noweb-references, org-babel-script-escape)
1526         (org-babel-process-file-name):
1527         * ob-clojure.el (org-babel-execute:clojure):
1528         * ob-calc.el (org-babel-execute:calc):
1529         * ob-awk.el (org-babel-execute:awk):
1530         * ob-R.el (org-babel-expand-body:R):
1531         * ob-C.el (org-babel-C-execute): Avoid deprecated ((lambda) ...).
1533 2013-11-12  Glenn Morris  <rgm@gnu.org>
1535         * ox-html.el (org-html-scripts): Add 2013 to copyright years.
1536         (org-html-infojs-template): Copyright holder to FSF.
1538 2013-11-12  Aaron Ecay  <aaronecay@gmail.com>
1540         * ox-latex.el (org-latex-inline-image-rules): Add "svg" to
1541         supported filetypes.
1542         (org-latex--inline-image): Implement SVG files inclusion.
1543         (org-latex-headline): Don’t insert alternate title if identical to
1544         regular one.
1546         * ob-python.el: Update the arglist passed to `declare-function'
1547         for `run-python'.
1549         * ob-tangle.el (org-babel-tangle): Use `light' argument to
1550         `org-babel-get-src-block-info'.
1552         * ob-core.el (org-babel-execute-src-block): Return nil in case of
1553         `:results none'.  Also run `org-babel-after-execute-hook' in this
1554         circumstance.
1556         * org-id.el (org-id-locations-save): Bind print-(level,length) to
1557         nil in this function.
1559         * ob-R.el (org-babel-R-graphics-devices): New defvar.
1560         (org-babel-R-construct-graphics-device-call): Use it instead of a
1561         hard-coded list of graphics devices.
1563         * ob-core.el (org-babel-when-in-src-block): New macro.
1564         (org-babel-execute-src-block-maybe)
1565         (org-babel-expand-src-block-maybe)
1566         (org-babel-load-in-session-maybe, org-babel-pop-to-session-maybe):
1567         Use it.
1568         (org-babel-execute-src-block): Use `copy-tree' to prevent setf
1569         from modifying users variables withing let-bound `info' variable.
1571         * ob-exp.el (org-export-babel-evaluate): Add a 'inline-only
1572         option.
1573         (org-babel-exp-results): Implement 'inline-only for
1574         `org-export-babel-evaluate'.
1576         * org.el (org-edit-special): Use prefix arg.
1578         * ob-awk.el (org-babel-expand-body:awk, ob-picolisp.el)
1579         (org-babel-expand-body:picolisp): Remove optional arg.
1581         * ob-R.el (org-babel-R-initiate-session): Handle case where the
1582         session buffer exists, but does not have a live process.
1583         (org-babel-R-construct-graphics-device-call): Change file
1584         extension of tikz graphics files to .tikz.
1586         * org-src.el (org-edit-src-exit): Don't modify the undo list when
1587         inserting the code.
1589         * ox-latex.el (org-latex-plain-text): Properly escape "~" for
1590         LaTeX export.
1591         (org-latex-image-default-option): Change default value to "".
1592         (org-latex-image-default-width, org-latex-image-default-height):
1593         New variables.
1594         (org-latex-inline-image-rules): Make .tikz files as exportable
1595         with LaTeX.
1596         (org-latex--inline-image): Support tikz images.  Also support
1597         separate :width and :height parameters for images.
1599         * org-bibtex.el (org-bibtex-ask): Use `visual-line-mode' instead
1600         of longlines-mode.
1602 2013-11-12  Abdó Roig-Maranges  <abdo.roig@gmail.com>
1604         * org.el (org-format-latex): Do not re-generate a LaTeX preview if
1605         the image already exists.
1607         * org-agenda.el (org-agenda-search-view-max-outline-level): New
1608         option to define the max level for the entries shown by the search
1609         view.  A value of 1 means to show the top parent of the entries.
1611         * org.el (org-create-formula-image-with-dvipng): Fix bug that made
1612         this function fail with no :foreground and :background attributes
1613         set, due to bad handling of "Transparent" color.  Fix bug when
1614         colors are not `default'.
1615         (org-format-latex-options): Add `auto' to docstring.
1616         (org-format-latex): Get face colors at point and put them inside
1617         opt.
1618         (org-create-formula-image-with-imagemagick): Fix bug when handling
1619         "Transparent" bg color.
1620         (org-dvipng-color-format): Same as `org-latex-color-format' for
1621         dvipng-style color specification.
1623 2013-11-12  Achim Gratz  <Stromeko@Stromeko.DE>
1625         * ob-core.el (org-babel-check-confirm-evaluate): Return result of
1626         evaluating the function pointed to by `org-confirm-babel-evaluate'
1627         when it is a functionp and its value as a variable otherwise.
1628         (org-babel-get-rownames, org-table.el)
1629         (org-table-transpose-table-at-point): Replace the inadvertent use
1630         of mapcar* (from cl) by plain mapcar and direct cons manipulation.
1631         (org-babel-params-from-properties): Use
1632         `org-babel-current-src-block-location' for evaluating new-style
1633         header-argument properties.  Remove superfluous save-match-data
1634         clauses.  Comment which properties get evaluated where.
1635         (org-babel-insert-header-arg, org-babel-parse-src-block-match):
1636         Replace `if' with empty else part by `when' for readability.
1637         (org-babel-params-from-properties): Inquire for language specific
1638         and default header properties.  Language specific header
1639         properties take precedence over default header properties and
1640         old-style header property specifications.
1642         * org.el (org-re-property): Re-implement using full regex for
1643         `org-re-property'.  Add optional argument LITERAL to flag when
1644         PROPERTY should to be regex-quoted.  Move before definition of
1645         `org-re-property'.
1646         (org-re-property-keyword): Remove, functionality is subsumed by
1647         `org-re-property'.
1648         (org-property-re): Define using `org-re-property'.  Improve
1649         definition so that this regex can be
1650         (org-entry-get, org-property-values): Adjust match number for
1651         PROPVAL.  (org-entry-put): Use `org-re-property' instead of
1652         `org-re-property-keyword'.
1653         used in all situations.  Extend docstring with explanation of
1654         matching groups.
1655         (org-at-property-p): Implement using `org-element-at-point'.
1656         (org-entry-properties, org-buffer-property-keys, org-indent-line):
1657         Use `org-property-re' and adjust match group numbers accordingly.
1659         * org-compat.el (define-obsolete-variable-alias)
1660         (define-obsolete-function-alias): Actually remove the third (and
1661         any following) argument from the argument list before calling the
1662         advised function.  Extend eval-and-compile clause and add advices
1663         for functions that have different parameter lists in XEmacs.  Add
1664         variable definitions that XEmacs lacks .
1666         * ob-fortran.el (org-every): Declare.
1668         * org-element.el (org-element-node-property-parser): Use
1669         `org-property-re' and adjust match group numbers accordingly.
1670         Move `looking-at' out of the let clause to not rely on the
1671         unspecified evaluation order inside the let.
1673         * ob-eval.el, ob.el, org-macro.el, org-mhe.el: Require org-macs
1674         and org-compat as necessary.
1676         * ob-tangle.el (org-edit-special, org-store-link)
1677         (org-open-link-from-string): Declare functions.
1679         * org-macs.el (declare-function): Define macro to use autoload
1680         instead for XEmacs.
1682         * ox-html.el, ox-odt.el: XEmacs does not have table.el, so use
1683         'noerror on the require form.
1685         * ox-texinfo.el (org-texinfo-table-column-widths): Fix spliced
1686         argument list that XEmacs complains about by adding parenthesis.
1688         * ob-octave.el (org-babel-octave-initiate-session): If octave-inf
1689         can't be loaded, try octave instead before giving up.  Emacs
1690         24.3.50 and upwards replaces octave-inf with just plain octave.
1692         * org-id.el (org-id-update-id-locations): Autoload interactive
1693         function.
1695         * ob-core.el (org-babel-parse-inline-src-block-match):
1696         * ob-exp.el (org-babel-exp-src-block): Give header arguments from
1697         properties priority over default header arguments.
1699         * ob-sh.el (org-babel-sh-var-to-sh): When detecting a table, the
1700         first line could be the symbol `hline' rather than a list of table
1701         cells, so check for that as well.
1703         * org.el (org-table-clean-did-remove-column):
1704         * org-table.el (org-table-clean-did-remove-column): Move defvar,
1705         this dynamic variable is only used in org-table.
1707         * org-table.el (org-table-colgroup-info): Remove unused defvar for
1708         `org-table-colgroup-info'.
1709         (org-table-clean-before-export): Let-bind regular expression
1710         strings and remove unused matching group.  Use
1711         `org-table-clean-did-remove-column' in cond statement rather than
1712         branching via if to avoid code duplication.  Remove the code
1713         associated with the removed `org-table-colgroup-info'.
1714         (orgtbl-export): Remove unused internal function.
1716         * org-macro.el (org-macro-expand): Do not try to interpret the
1717         macro replacement text as a regex so that escaped backslashes and
1718         commas in macro arguments will be interpreted correctly.
1720         * ob-perl.el (org-babel-perl-wrapper-method): Select output handle
1721         only after evaluation so that output is not mixed into results
1722         eavaluation.
1723         (org-babel-perl-evaluate): Fix the handling of results for
1724         ":results output" to also parse tables.  Use the same lambda
1725         construction as in ob-sh.el to avoid code duplication.
1727         * ob-exp.el (org-babel-exp-results, org-babel-lob-execute):
1728         Suppress user confirmation of the emacs-lisp wrapper execution
1729         around a lob call.
1731         * ob-perl.el (org-babel-perl-wrapper-method): Use TAB as separator
1732         for table results as expected by
1733         `org-babel-import-elisp-from-file´.
1735         * ob-core.el (org-babel-number-p): String match for any number
1736         moved first so that the match data for the length check does not
1737         become corrupted.
1738         (org-babel-confirm-evaluate-answer-no): Dynamically scoped
1739         variable, if bound non-nil the confirmation dialog will not be
1740         initiated and denial of evaluation is assumed.
1741         (org-babel-check-confirm-evaluate): New macro to establish
1742         bindings based on INFO.
1743         (org-babel-check-evaluate): New defsubst that checks if the
1744         evaluation of a code block is disabled.  Refactors the first part
1745         of the original function `org-babel-confirm-evaluate´.
1746         (org-babel-confirm-evaluate): New defsubst that checks if the user
1747         should be queried and returns the answer.  Keeps the second part
1748         of the original function `org-babel-confirm-evaluate´.
1749         Re-implement using bindings for common subexpressions.
1750         (org-babel-execute-src-block): Do not ask for confirmation if the
1751         cached result is current.
1752         (org-babel-call-process-region-original): Change declaration into
1753         definition with nil initial value at the beginning of the file and
1754         drop the later definition.  Add comment that the dynamic scoping
1755         of this variable is done for tramp.
1757         * org-table.el (org-table-eval-formula): The condition-case to
1758         check for must be "error", not "user-error".
1760         * ob-perl.el (org-babel-execute:perl): Pass `result-params´
1761         through to `org-babel-perl-evaluate´.
1762         (org-babel-variable-assignments:perl): Add "my" to variable
1763         declaration so that it becomes compatible with "use strict;".  Use
1764         new internal formatting function `org-babel-perl--var-to-perl´.
1765         (org-babel-perl--var-to-perl): New internal function, uses Perl
1766         non-interpolating quoting on the string that defines the variable
1767         to suppress spurious interpretation of it as Perl syntax.
1768         (org-babel-perl-wrapper-method): Use a block and declare all
1769         variables as "my", also use Perl quoting throughout.  Redirect
1770         STDOUT to the temporary file so that simply "print" will put the
1771         results there.  Check the return value and output in table form if
1772         it is an ARRAY ref, otherwise print it without a final newline.
1773         (org-babel-perl-preface): Content of this variable is prepended to
1774         body before invocation of perl.  Rename input parameter body to
1775         ibody and let-bind body to concatentation of
1776         `org-babel-perl-preface' and ibody.  Implement results
1777         interpretation so that tables are easier to produce.
1779         * ob-eval.el (org-babel-eval): Use simplified version of
1780         `org-babel--shell-command-on-region´, we are the only caller of
1781         this function.
1782         (org-babel--shell-command-on-region): Replace
1783         `org-babel-shell-command-on-region´ with a much more simplified
1784         internal version, remove superfluous DOCSTRING and interactive
1785         clause, strip out all conditionals which were never used.  Prevent
1786         deletion of temporary input file to aid debugging when the symbol
1787         `org-babel--debug-input´ is bound and has non-nil value.
1789         * ob-tangle.el (org-babel-tangle): Do not change signature, a nil
1790         arg is even documented in the manual.
1792         * org-src.el: Change declaration of `org-babel-tangle´ to "arg"
1793         for first argument.
1795         * ob-core.el (org-babel-execute-src-block): Add binding for
1796         merged-params to avoid multiple evaluation of
1797         `org-babel-merge-params´.  Rename cache? to cache-p, add binding
1798         for cache-current-p and use it.  Do not run
1799         `org-babel-confirm-evaluate´ if source block has a cache and the
1800         cache value is current (there is no evaluation involved in this
1801         case).
1803         * org.el (org-current-time): Replace call to obsolete function
1804         `time-to-seconds´ with a call to compatibility function
1805         `org-float-time´.
1807         * org-compat.el (user-emacs-directory): If not bound, define as an
1808         alias to `user-init-directory´ so that XEmacs continues to be
1809         happy with Org.
1811         * org-macs.el: New macro to allow the 5-argument form of load to
1812         be used where possible without breaking compatibility with XEmacs.
1814         * org.el (org-version, org-reload): Use
1815         `org-load-noerror-mustsuffix´ instead of adding a fifth argument
1816         to load directly.  Guard against undefined variable load-suffixes,
1817         which doesn't exist in XEmacs.
1819         * org.el: Use
1820         `org-define-obsolete-{function,variable}-alias´instead of
1821         `define-obsolate{function,variable}-alias´.
1823         * org-compat.el (user-error): Defalias to `error´ for Emacsen that
1824         don't have it.
1826         * ob-python.el (org-babel-python-hline-to)
1827         (org-babel-python-None-to): Specify customize group as 'org-babel
1828         and widget type as 'string.
1830         * ob.el (org-babel-result-cond): Macro expansion needs to unquote
1831         formal parameter `result-params´.
1833         * org.el (org-reload): Major rewrite.
1835         * org.el (org-clock-get-last-clock-out-time): Declare function.
1837 2013-11-12  Alan Schmitt  <alan.schmitt@polytechnique.org>
1839         * ob-ocaml.el (org-babel-prep-session:ocaml): Use
1840         `save-window-excursion' around the code starting the tuareg
1841         process.
1842         (org-babel-ocaml-command): New option to specify the name of the
1843         toplevel to run.
1844         (org-babel-prep-session:ocaml): Directly call
1845         `tuareg-run-process-if-needed' with `org-babel-ocaml-command' as
1846         argument.
1847         (org-babel-execute:ocaml): Always append ";;" at the end of the
1848         expression before sending it to the toplevel.  Do not remove the
1849         type information if "verbatim" is a results parameter of the code
1850         block.
1851         (org-babel-ocaml-parse-output): Make sure the complete type is
1852         taken into account when matching against known types.
1854         * org-faces.el (org-footnote): Fix docstring.
1856 2013-11-12  Andreas Leha  <andreas@lehas.net>
1858         * ob-latex.el (org-babel-execute:latex): Add a tizk option that
1859         copies the body of the block into a tikz file.
1861 2013-11-12  Arun Persaud  <apersaud@lbl.gov>
1863         * org-agenda.el (org-agenda-prefix-format): Add documentation for
1864         the new %b option.
1865         (org-prefix-has-breadcrumbs): Add flag, `t' when %b is set.
1866         (org-agenda-format-item): Add breadcrumbs if requested.
1867         (org-compile-prefix-format): Add compiled information for
1868         breadcrumbs, add %b option.
1870 2013-11-12  Aurélien Aptel  <aurelien.aptel@gmail.com>  (tiny change)
1872         * ox-html.el (org-html-code, org-html-verbatim): Remove fancy
1873         string replacements for code and verbatim text when exporting to
1874         HTML.
1876 2013-11-12  Bastien Guerry  <bzg@gnu.org>
1878         * org.el (org-align-tags-here): Fix bug: move to the correct
1879         position.
1880         (org-agenda-prepare-buffers): Restore the point position.
1881         (org-insert-link): Don't remove brackets when they belong to a
1882         timestamp in a headline.
1884         * org-capture.el (org-capture-refile): Don't finalize prematurely.
1885         (org-capture): Store :return-to-wconf earlier.
1886         (org-capture-place-template): Don't store :return-to-wconf when
1887         called from a capture template using `function', rely on the early
1888         :return-to-wconf value store from `org-capture'.
1890         * org-compat.el (org-move-to-column): New argument
1891         `ignore-invisible' to turn on `buffer-invisibility-spec'.
1893         * org-agenda.el (org-agenda-show-new-time): Ignore invisible text
1894         when inserting the new time as a text property.
1895         (org-agenda-filter-make-matcher): When filtering tags and hitting
1896         space, filter out entries with tags, only keep those without tags.
1897         (org-agenda-drag-line-forward, org-agenda-drag-line-backward): Fix
1898         bugs: don't drag lines without text and don't drag lines
1899         before/after hidden lines.
1901         * ox-odt.el (org-odt-table-style-format): Use %s for inserting the
1902         rel-width property as a string.
1903         (org-odt-template): Fall back on a string for :rel-width.
1905         * org.el (org-directory, org-default-notes-file)
1906         (org-reverse-note-order): Don't use the `org-remember'
1907         customization group.
1908         (org-require-autoloaded-modules): Don't require
1909         `org-remember'.
1911         * org-capture.el: Update commentary section to reflect the fact
1912         that org-remember.el is not used anymore.
1914         * org.el (org-babel-load-file): Set `exported-file' correctly, in
1915         case the file as been tangled using a buffer-local value.
1917         * ob-tangle.el (org-babel-tangle-file): Return the list of tangled
1918         files.
1920         * ox-org.el (org-org-publish-to-org): When htmlizing an .org file,
1921         ensure to show all headings and all blocks before fontifying.
1923         * ob-shen.el (org-babel-ruby-var-to-ruby): Declare.
1925         * ox.el: Fix comment: remove reference to the obsolete variable
1926         `org-export-language-setup'.
1928         * org.el (org-set-regexps-and-options-for-tags): Fix concatenation
1929         of the tags list.
1931         * ox-odt.el (org-odt-pixels-per-inch): Use 96.0 as the default.
1933         * org.el (org-refile): With a numeric prefix argument of `3',
1934         emulate (setq org-refile-keep t) and copy the subtree to the
1935         target location, don't delete it.
1936         (org-set-regexps-and-options-for-tags): Fix the setting of tag
1937         groups when relying on `org-tag-alist', not on tags directly set
1938         in the buffer with the #+TAGS option.
1940         * org-agenda.el (org-agenda-archive-with): Save window excursion.
1942         * org.el (org-forward-element, org-backward-element): Throw a
1943         message instead of an error when trying to move from a position
1944         where there is no element.
1945         (org-clock-is-active): Fix docstring.
1947         * org-list.el (org-sort-list): Use `x' instead of `c' for sorting
1948         plain list by checked status.
1950         * org.el (org-structure-template-alist): Fix custom type and
1951         default value.
1952         (org-set-regexps-and-options-for-tags): Enhance docstring.
1953         (org-set-regexps-and-options): Make sure not to add
1954         `org-tag-alist' twice when setting this variable through et
1955         #+setupfile: directive.
1956         (org-tags-expand): Use `with-syntax-table'.
1958         * org-list.el (org-sort-list): Implement sorting by "checked"
1959         status for check lists.
1961         * org-table.el (org-table-sum): Fix rounding error when summing
1962         times.
1964         * ob-scheme.el (org-babel-scheme-execute-with-geiser): Fix code
1965         typo.  Add declarations.
1967         * ox-html.el (org-html-link-use-abs-url): New option.
1968         (org-html-link): Use it to prepend relative links with the value
1969         of HTML_LINK_HOME, when defined.
1971         * org.el (org-refile): Fix refiling the active region within an
1972         list.  Don't store the last refiled subtree in the kill ring.
1974         * org.el (org-mode-map): Remap `forward-paragraph' and
1975         `backward-paragraph' to `org-forward-element' and
1976         `org-backward-element'.
1978         * ox-html.el (org-html-begin-plain-list): New parameter
1979         `ordered-num' to tell whether the list is ordered numerically.
1980         (org-html-plain-list): Handle alphabetical ordered list.
1982         * org-agenda.el (org-batch-agenda): Let-bind `org-agenda-sticky'
1983         to nil during batch export.
1985         * org.el (org-copy-subtree): Fix typo in docstring.
1986         (org-scan-tags): Don't disable `case-fold-search' too early.
1988         * org-agenda.el (org-agenda-skip-eval): Fix typo in docstring.
1990         * org-capture.el (org-capture-set-target-location): Don't throw an
1991         error when `org-time-was-given' is not bound.
1993         * org-clock.el (org-clock-modify-effort-estimate): Clarify
1994         docstring.
1996         * org.el (org-set-regexps-and-options-for-tags): Return a list
1997         with tag-related variables.
1998         (org-set-regexps-and-options): Append tags from a setup file to
1999         the local tags of the file.
2000         (org-agenda-prepare-buffers): Set tags from a setup file by
2001         calling `org-set-regexps-and-options' when necessary.
2002         (org-set-regexps-and-options): Fix `org-deadline-time-hour-regexp'
2003         and `org-scheduled-time-hour-regexp'.
2005         * org-table.el (org-table-TBLFM-begin-regexp): Rename from
2006         `org-TBLFM-begin-regexp'.
2007         (org-table-calc-current-TBLFM): Rename from
2008         `org-calc-current-TBLFM'.
2010         * org.el (org-ctrl-c-ctrl-c): Require org-table if needed.
2011         (org-refresh-properties): Put the text property on the whole
2012         subtree, not just on the headline.
2013         (org-get-outline-path): Remove statistical and checkboxes cookies.
2015         * org-agenda.el (org-agenda, org-search-view, org-tags-view)
2016         (org-agenda-get-day-entries, org-agenda-set-restriction-lock): Use
2017         (current-buffer) as the value of `org-agenda-restrict'.  Fix a bug
2018         about narrowing to wrong region boundaries when
2019         `org-agenda-restrict' is non-nil.
2021         * org.el (org-agenda-text-search-extra-files): Fix typos in
2022         docstring.
2023         (org-insert-heading): Fix case when there the first heading starts
2024         at the beginning of the buffer.
2026         * ob-core.el (org-babel-expand-src-block): Use
2027         `org-called-interactively-p'.
2029         * org.el (org-agenda-prepare-buffers): Avoid duplicates in
2030         `org-tag-alist-for-agenda' correctly.
2031         (org-read-date-minibuffer-local-map): Check if we are at the
2032         beginning of the prompt, not if we are after a whitespace.  Bind
2033         C-. to `calendar-goto-today'.
2035         * org-clock.el (org-clock-in): Don't forward by one character when
2036         setting the marker in the clock history.
2038         * org.el (org-read-date-minibuffer-local-map): Call
2039         `calendar-goto-today' only if there is a space before point in the
2040         minibuffer prompt.
2041         (org-insert-heading): Reveal context when called interactively.
2042         Fix bug about wrong conversion of lines with :END: or #+end_ into
2043         headlines.
2044         (org-in-drawer-p): New function.
2045         (org-meta-return): Use `org-catch-invisible-edits' and the
2046         `org-in-drawer-p' to check whether we are within a drawer.
2048         * org-list.el (org-sort-list): Fix infloop.
2050         * org.el (org-clone-subtree-with-time-shift): Unconditionally ask
2051         for a time shift if there is a time-stamp.  Don't ask for a time
2052         shift when called with a universal prefix argument.
2054         * ob-core.el (org-babel-insert-result): Fix bug when inserting
2055         results as a list: ensure we split a string containing "\n".
2057         * ox-html.el: Fix copyright header.
2059         * org.el (org-store-link): Don't add a search string when storing
2060         a link from a radio target.
2061         (org-open-at-point): Jump to the radio link (<<<radio>>>), not to
2062         the simple target (<<target>>).
2064         * org-table.el (org-table-get-remote-range): Fix typo.
2066         * org-datetree.el (org-datetree-find-month-create)
2067         (org-datetree-find-day-create): Add a docstring.
2068         (org-datetree-find-year-create): Only match headlines with a
2069         year or a year and one or more tags.
2071         * org-crypt.el (org-crypt-check-auto-save)
2072         (org-crypt-use-before-save-magic): Use `org-add-hook' when the
2073         hooks are local hooks.
2075         * org-agenda.el (org-agenda-mode): Use `org-add-hook' and merge
2076         upstream change from Emacs 2013-04-18T00:12:33Z!monnier@iro.umontreal.ca.
2078         * ob-core.el (org-babel-pop-to-session-maybe): Fix docstring.
2079         (org-babel-pop-to-session-maybe): Use true function's name,
2080         not its alias.
2082         * org-agenda.el (org-agenda-drag-line-forward)
2083         (org-agenda-drag-line-backward): New commands.
2084         (org-agenda-mode-map): Bind the new commands to M-<down> and
2085         M-<up> respectively.
2087         * org.el (org-insert-heading): Fix insertion of items.
2089         * org-capture.el (org-capture-use-agenda-date): Fix docstring.
2091         * org-agenda.el (org-agenda-bulk-toggle): Fix docstring.
2092         (org-agenda-bulk-toggle-all): New command.
2093         (org-agenda-mode-map): Bind `org-agenda-bulk-toggle' to `M-m'
2094         and `org-agenda-bulk-toggle-all' to `M-*'.
2095         (org-agenda-menu): Add `org-agenda-bulk-toggle' and
2096         `org-agenda-bulk-toggle-all'.
2097         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Jump to the
2098         next headline, not the next line.
2100         * org-capture.el (org-mks): Fix bug: let-bind `case-fold-search'
2101         to nil while matching the first letter of a multi-letters
2102         template.
2104         * org.el (org-store-link): When a bracket link is found in a
2105         headline, use the link description or the link path.
2106         (org-flag-drawer, org-hide-block-toggle)
2107         (org-goto-left, org-goto-right, org-promote)
2108         (org-paste-subtree, org-narrow-to-block, org-sort-entries)
2109         (org-insert-link, org-offer-links-in-entry, org-open-file)
2110         (org-refile, org-refile-get-location)
2111         (org-refile-check-position, org-prepare-dblock, org-todo)
2112         (org-auto-repeat-maybe, org-show-todo-tree, org-sparse-tree)
2113         (org-occur, org-priority, org-scan-tags)
2114         (org-get-tags-string, org-property-action, org-set-effort)
2115         (org-entry-put, org-insert-drawer)
2116         (org-compute-property-at-point)
2117         (org-property-next-allowed-value, org-evaluate-time-range)
2118         (org-closest-date, org-timestamp-change)
2119         (org-revert-all-org-buffers, org-cycle-agenda-files)
2120         (org-agenda-file-to-front, org-remove-file)
2121         (org-preview-latex-fragment, org-format-latex)
2122         (org-create-math-formula, org-create-formula-image)
2123         (org-speed-command-help, org-check-before-invisible-edit)
2124         (org-modifier-cursor-error, org-hidden-tree-error)
2125         (org-mark-subtree, org-kill-line, org-first-sibling-p)
2126         (org-up-element, org-down-element)
2127         (org-drag-element-backward, org-drag-element-forward)
2128         (org-unindent-buffer, org-speedbar-set-agenda-restriction): Use
2129         `user-error' instead of `error'.
2131         * ox-latex.el (latex): Don't force exporting with smart quotes.
2133         * ox.el (org-export-with-smart-quotes): Mention the need to use
2134         the relevant Babel package when setting this option to non-nil.
2136         * org-src.el (org-edit-src-turn-on-auto-save): New option.
2137         (org-edit-src-code): Use it.
2138         (org-edit-src-auto-save-idle-delay): Enhance docstring.
2140         * org-capture.el (org-mks): Make cursor invisible.
2142         * org.el (org-link-expand-abbrev): Save match data before before
2143         calling the replacement function.
2145         * org-list.el (org-sort-list): Don't move point when matching time
2146         values.
2148         * org.el (org-shifttab): Show the correct number of empty
2149         headlines when called with a numeric prefix argument.  Enhance
2150         docstring.
2151         (org-uniquify): Use `copy-sequence'.
2152         (org-adaptive-fill-function, org-fill-paragraph): Throw a useful
2153         error message when parse an element fails in the current buffer.
2155         * ox.el (org-export-with-planning): Enhance docstring.
2157         * org.el (org-closed-keep-when-no-todo): New option.
2158         (org-todo): Use the new option.
2159         (org-open-line): Rename from `org-ctrl-o'.
2160         (org-mode-map): Use `remap'.
2161         (org-cycle-emulate-tab, org-file-apps)
2162         (org-set-font-lock-defaults)
2163         (org-translate-link-from-planner, org-link-search)
2164         (org-refile-get-targets, org-read-date-get-relative): Minor
2165         code clean-up: fix dangling parentheses.
2167         * org-agenda.el (org-agenda-entry-text-mode): Also check against
2168         regexp filters.
2169         (org-timeline): Handle `org-agenda-show-log'.
2171         * org-clock.el (org-clock-select-task): Remove successive
2172         duplicates in the clock history to consider.
2174         * org.el (org-uniquify-alist): Improve docstring.
2175         (org-make-tags-matcher, org-change-tag-in-region): Add buffer's
2176         tags to the tags completion table.
2177         (org-tags-expand): Prevent circular replacement of group tags.
2178         Tiny docstring formatting.
2179         (org-uniquify): Make a defsubst.  Use `delete-dups' instead of
2180         `add-to-list'.
2181         (org-todo): Also remove the CLOSED planning information when
2182         removing the TODO keyword.
2183         (org-forward-heading-same-level): Fix bug when forwarding
2184         to a hidden subtree of the same level.
2185         (org-tags-expand): Use word delimiters when building the tag
2186         search regexp.
2188         * org-clock.el (org-clock-insert-selection-line): Don't display
2189         the clockout time.
2191         * org.el (org-emphasis-regexp-components): Make a defvar.
2192         (org-emphasis-alist): New default value: don't set HTML tags.
2193         (org-emphasize, org-set-emph-re): Use the new value of
2194         `org-emphasis-alist'.
2196         * org-mobile.el (org-mobile-edit): Insert new headings at the end
2197         of the parent subtree.  Use `org-at-heading-p' instead of the
2198         obsolete `org-on-heading-p'.
2200         * org.el (org-insert-heading): When called from a list item and
2201         `org-insert-heading-respect-content' is non-nil, insert a heading,
2202         not an item.
2203         (org-insert-heading-respect-content): Fix docstring.
2204         (org-insert-heading): When in a non-empty non-headline line,
2205         convert the current line into a headline.
2207         * org-table.el (org-table-copy-down): Don't move cursor when
2208         getting the field.
2210         * ox-icalendar.el (org-icalendar-export-current-agenda): Do not
2211         evaluate babel code blocks.
2213         * ox-html.el (html): Add more options.
2215         * ox-publish.el (org-publish-project-alist): Add :with-planning in
2216         docstring.
2218         * ob-exp.el (org-babel-exp-src-block): Tiny docstring fix.
2220         * ox-icalendar.el (org-icalendar--combine-files): Fix typo.
2222         * org-mouse.el (org-mouse-agenda-context-menu): Fix a function's
2223         name.
2225         * ox.el (org-export-options-alist, org-export--skip-p): Use
2226         `:with-planning' instead of `:with-plannings', to keep in sync
2227         with the corresponding option's name.
2229         * ob-core.el (org-babel-confirm-evaluate): Fix typo in docstring.
2231         * org-agenda.el (org-agenda-undo, org-agenda)
2232         (org-agenda-append-agenda)
2233         (org-agenda-get-restriction-and-command, org-agenda-write)
2234         (org-agenda-clock-cancel)
2235         (org-agenda-diary-entry-in-org-file, org-agenda-diary-entry)
2236         (org-agenda-execute-calendar-command)
2237         (org-agenda-goto-calendar, org-agenda-convert-date)
2238         (org-agenda-bulk-mark, org-agenda-bulk-action)
2239         (org-agenda-show-the-flagging-note): Use `user-error' instead of
2240         `error'.
2242         * org-macs.el (org-with-remote-undo): Normalize argument names.
2244         * org.el (org-store-log-note): Fix `buffer-undo-list' when called
2245         after `org-agenda-todo'.
2246         (org-add-log-note): Minor formatting fix.
2248         * org-agenda.el (org-agenda-append-agenda): Set buffer read only.
2250         * org-clock.el (org-clock-select-task): Throw a user error when
2251         the clock history is empty.
2253         * org-table.el (org-table-get-remote-range): Fix docstring: use
2254         #+NAME instead of #+TBLNAME.
2256         * ob-ref.el: Use #+NAME instead of #+TBLNAME in comment.
2258         * ox-html.el (org-html-table-row-tags): Better example.
2260         * org-clock.el (org-clock-select-task): Fix window to buffer.
2261         Hide the cursor.
2262         (org-clock-insert-selection-line): Add the clock-out time.
2264         * ox-html.el (org-html-table-row-tags): Allow new dynamically
2265         bound value `row-number'.
2266         (org-html-table-row): Bind `row-number' to the number of the
2267         row (first row is 0).
2269         * org.el (org-minutes-to-clocksum-string): Round fractions of
2270         minutes.
2272         * ox-html.el (org-html-table-row-tags): Fix example in docstring.
2274         * org-agenda.el (org-agenda-span-to-ndays): Enhance docstring.
2275         (org-agenda-goto-date): Fix bug when going to a date in month
2276         view.
2277         (org-agenda-goto-date): Put the cursor on the agenda line with the
2278         selected date.
2279         (scheduled/deadline items with hour spec) then redo an agenda*.
2281         * org-clock.el (org-clock-resolve): Enhance the content of the
2282         help window.
2284         * org-footnote.el (org-footnote-auto-label): Minor docstring fix.
2286         * ox-odt.el (org-odt-link): Fix bug: convert & to &amp; in
2287         links.
2289         * ox-html.el (org-html-table-row): Dynamically bind
2290         `rowgroup-number', `start-rowgroup-p', `end-rowgroup-p',
2291         `top-row-p', `bottom-row-p'.
2292         (org-html-table-row-tags): Update docstring: tell what variables
2293         are dynamically bound.
2295         * org-src.el (org-edit-src-code): Don't set
2296         `buffer-auto-save-file-name' unless `auto-save-default' is
2297         non-nil.
2299         * ox.el (org-export-table-row-group): Fix typo in docstring.
2301         * org-table.el (orgtbl-apply-fmt): Enhance docstring.
2303         * org.el (org-file-contents): Make the message more prominent.
2305         * ox.el (org-export-replace-region-by): New function.
2307         * ox-texinfo.el (org-texinfo-convert-region-to-texinfo),
2308         * ox-md.el (org-md-convert-region-to-md),
2309         * ox-latex.el (org-latex-convert-region-to-latex),
2310         * ox-html.el (org-html-convert-region-to-html): New functions to
2311         replace the active region by its export into various backends.
2313         * org-faces.el (org-agenda-restriction-lock): Use less flashy
2314         colors.
2316         * org-agenda.el
2317         (org-agenda-restriction-lock-highlight-subtree): New option.
2318         (org-agenda-top-headline-filter): Rename from
2319         `org-agenda-top-headline-filter'.
2320         (org-find-top-headline): Rename from `org-find-top-category'.
2321         Add a docstring.
2322         (org-agenda-filtered-by-top-headline): Rename from
2323         `org-agenda-filtered-by-top-category'.
2324         (org-agenda-filter-by-top-headline): Rename from
2325         `org-agenda-filter-by-top-category'.  Fix docstring.
2326         (org-agenda-filter-top-headline-apply): Rename from
2327         `org-agenda-filter-top-category-apply'.  Fix docstring.
2328         (org-agenda-mode-map): Update binding.
2329         (org-agenda-get-todos): Set `todo-state' earlier so that we can
2330         skip false-positives in time.
2332         * org.el (org-get-todo-state): Add a docstring.
2333         (org-ctrl-o): New command to insert a new row in tables
2334         (like `M-S-<down>' does) and open a line elsewhere.
2335         (org-mode-map): Bind the new command to `C-o'.
2336         (org-set-regexps-and-options): Process tags from an external setup
2337         file.
2339         * org-agenda.el (org-agenda-dim-blocked-tasks): Enhance docstring.
2340         (org-agenda-finalize-entries): Conditionally apply limits so
2341         that we don't manipulate big lists uselessly.
2342         (org-agenda-limit-entries): Limit exclusively.  E.g., when
2343         limiting to a maximum of "2 tags", don't limit among tagged
2344         entries only, but limit among all entries.
2345         (org-agenda-limit-interactively): New command.
2346         (org-agenda-mode-map): Bind the new command to "~".
2347         (org-agenda-redo): Small fix: don't use `eval'.
2349         * org.el (org-ctrl-c-ctrl-c): Fix bug wrt updating checkboxes: the
2350         list beginning should be stored using a marker so that updating
2351         [%0] to [%50] will not throw an error.
2352         (org-babel-load-file): Move `org-babel-load-file' from
2353         ob-tangle.el to here so that it is correctly autoloaded by Emacs
2354         before Org is required.
2356         * org-mac-message.el: Delete.
2358         * org.el (org-modules): org-mac-message.el is not a core package
2359         anymore.
2361         * org-table.el (orgtbl-to-generic): Fix bug when exporting the
2362         cells of radio tables with 'hline.
2364         * org.el (org-speed-commands-default): Use ?s for
2365         `org-narrow-to-subtree'.
2367         * org-agenda.el (org-agenda-start-on-weekday): Fix typo.
2368         (org-agenda-start-day): Enhance docstring.
2370         * org-src.el (org-src-native-tab-command-maybe): Check that we are
2371         in a source code block.
2373         * org-mobile.el: Remove useless defvar.
2375         * org.el (org-indent-line): A line just below a line with a list
2376         item is now indented depending on the indentation of this list
2377         item.
2379         * org.el (org-options-keywords): Add #+TARGET.
2381         * org-clock.el (org-resolve-clocks-if-idle): Only try to resolve
2382         last clock if the clock buffer still exists.
2383         (org-clock-out, org-clock-cancel): Set markers to nil.
2385         * ox-org.el (org-org-publish-to-org):
2386         * ox-html.el (org-html-publish-to-html): Use the custom extension.
2388         * org.el (org-cycle-internal-local): Fix invalid search bound when
2389         `org-cycle-include-plain-lists' is set to 'integrate.
2391         * org.el (org-sparse-tree-default-date-type): Add an option for
2392         closed time-stamps.
2393         (org-sparse-tree): Allow to check against closed time-stamps.
2394         (org-re-timestamp): Handle closed time-stamps.
2395         (org-closed-in-range): Delete.
2397         * org-capture.el (org-capture-import-remember-templates): Take
2398         care of adding :jump-to-captured option if needed.
2400         * org.el (org-toggle-pretty-entities): Enhance messages.
2401         (org-raise-scripts): Handle scripts like "a_b^c".
2403         * org-capture.el (org-capture-templates): Document new option
2404         :jump-to-captured in the docstring.  Offer the complete list of
2405         options when customizing.
2406         (org-capture-finalize): Handle :jump-to-captured.
2408         * org.el (org-agenda-prepare-buffers): Fix bugs: don't let-bind
2409         `org-tag-alist' to nil and don't append duplicate tags to
2410         `org-tag-alist-for-agenda'.
2411         (org-store-link): Storing multiple links in the active region now
2412         requires a triple prefix argument.
2413         (org-store-link, org-link-search): Fix handling of links to #+NAME
2414         and #+TARGET keywords.
2416         * org-compat.el (org-ignore-region): Tiny docstring fix.
2418         * org-capture.el (org-capture): Don't store multiple links over
2419         lines in the active region.
2421         * ox-odt.el (org-odt-special-block): Don't wrap annotations into
2422         <text:p>...</text:p> at all.
2423         (org-odt--fix-annotations): New function.
2424         (org-odt--export-wrap): Use the new function to fix annotations
2425         insertion in content.xml.
2427         * org.el (org-mode-flyspell-verify): Require 'org-element so that
2428         `org-element-affiliated-keywords' is defined.
2430         * ox-odt.el (org-odt-special-block): Don't insert annotations
2431         using style "Text_20_body".
2433         * org.el (org-toggle-tags-groups): Correctly highlight group tags.
2434         (org-tags-expand): Expand tags as words, with characters ?@
2435         and ?_ being considered words constituents.
2436         (org-set-regexps-and-options): Don't read setup files from
2437         read-only buffers.
2438         (org-file-contents): When no-error is non-nil, throw a less
2439         intrusive message.
2441         * org-agenda.el (org-agenda-scheduled-leaders)
2442         (org-agenda-deadline-leaders): Re-align leaders to the left,
2443         back to a 11 characters width.
2445         * org.el (org-refile-cache-check-set): More informative message.
2447         * org-agenda.el (org-tags-view): Set the matcher after preparing
2448         the agenda, as `org-tag-groups-alist-for-agenda' might be needed.
2449         (org-agenda-filter-make-matcher): New parameter `filter' and
2450         `type'.  Handle group tags.
2451         (org-agenda-filter-expand-tags): New function.
2452         (org-agenda-filter-apply): Handle group tags.
2454         * org.el (org-blank-before-new-entry): Tiny docstring fix.
2455         (org-tag-alist-for-agenda): Add docstring.
2456         (org-tag-groups-alist-for-agenda): New global variable.
2457         (org-tag-groups-alist): New buffer-local variable.
2458         (org-tag-alist, org-tag-persistent-alist): Handle :grouptags.
2459         (org-group-tags): New option.
2460         (org-toggle-group-tags): New command.
2461         (org-mode-map): Bind `org-toggle-group-tags' to `C-c C-x q'.
2462         (org-set-regexps-and-options-for-tags): New function, factored
2463         out from `org-set-regexps-and-options'.
2464         (org-set-regexps-and-options): Don't handle tags, they are now
2465         handled separately by `org-set-regexps-and-options-for-tags'.
2466         (org-assign-fast-keys): Handle :grouptags.
2467         (org-mode): Use `org-set-regexps-and-options-for-tags' on top
2468         of `org-set-regexps-and-options'.
2469         (org-fontify-meta-lines-and-blocks-1): Fontify group tags.
2470         (org-make-tags-matcher): Expand group tags in the matcher.
2471         (org-tags-expand): New function.
2472         (org-tags-completion-function): Tiny code clean up.
2473         (org-set-current-tags-overlay): Add a docstring.
2474         (org-fast-tag-selection): Highlight group tags.
2475         (org-agenda-prepare-buffers): Set `org-tag-alist-for-agenda'
2476         and `org-tag-groups-alist-for-agenda'.  Don't uniquify
2477         `org-tag-alist-for-agenda' as we may need the grouping
2478         information for filtering in the agenda buffer.
2479         (org-uniquify-alist): New function.
2481         * org-pcomplete.el (pcomplete/org-mode/file-option/tags): Handle
2482         :grouptags.
2484         * org-faces.el (mode-line): New face for group tags.
2486         * ob-core.el (org-babel-hash-show-time): Tiny docstring
2487         enhancement.
2489         * org-element.el (org-element-paragraph-separate): Use new name
2490         `org-list-allow-alphabetical'.
2492         * org-list.el (org-list-allow-alphabetical): Rename from
2493         `org-alphabetical-lists'.
2494         (org-list-empty-line-terminates-plain-lists): Rename from
2495         `org-empty-line-terminates-plain-lists'.
2496         (org-checkbox-hierarchical-statistics): Rename from
2497         `org-hierarchical-checkbox-statistics'.
2499         * org.el (org-image-actual-width): Update docstring.
2500         (org-display-inline-images): Use the #+attr_html: :width syntax.
2501         (org-modules): Remove deleted libraries, add new ones.
2503         * ox-html.el (org-html-indent): Default to nil, as non-nil can
2504         break indentation of source code blocks.
2505         (org-html-link): Don't insert nil if there is no attributes.
2506         (org-html-link--inline-image): Use the correct syntax for image
2507         attributes.  Allow :width :height and :alt as predefined
2508         attributes for inline images.
2509         (org-html-link, org-html-table): Use the standard syntax---
2510         e.g. "#+attr_html: :options ..."--- to get attributes.
2512         * ox.el (org-export-table-cell-alignment): Treat an empty cell as
2513         a number if it follows a number.
2515         * ox.el (org-export-as): Allow user functions in
2516         `org-export-before-parsing-hook' to modify the point.
2518         * org.el (org-entry-add-to-multivalued-property): Add the new
2519         value by appending it at the end of the line.
2521         * org-table.el (orgtbl-to-generic): New parameter `backend' to
2522         export cells content using a specific backend.
2523         (orgtbl-to-latex, orgtbl-to-texinfo): Export cells to LaTeX
2524         and Texinfo before sending the table.
2526         * ox.el (org-export-define-backend)
2527         (org-export-define-derived-backend): Make defuns and update
2528         docstrings.
2530         * ox-texinfo.el (texinfo):
2531         * ox-org.el (org):
2532         * ox-odt.el (odt):
2533         * ox-md.el (md):
2534         * ox-man.el (man):
2535         * ox-latex.el (latex):
2536         * ox-icalendar.el (icalendar):
2537         * ox-html.el (html):
2538         * ox-beamer.el (beamer):
2539         * ox-ascii.el (ascii): Use `org-export-define-backend' and
2540         `org-export-define-derived-backend' as defuns, not macros.
2542         * org.el (org-set-regexps-and-options): Use
2543         `org-table-set-constants'.
2545         * org-table.el (org-table-set-constants): New function.
2546         (orgtbl-ctrl-c-ctrl-c): Use it.
2548         * org-pcomplete.el
2549         (pcomplete/org-mode/block-option/clocktable): Add parameters.
2551         * org.el (org-options-keywords): Remove "INFOJS_OPT": it is added
2552         through ox-html.el now.
2554         * org-agenda.el (org-agenda-redo): Set filters after agenda has
2555         been redone.
2557         * org.el (org-store-link): When there is an active region, store
2558         each line as a separate link.
2559         (org-insert-all-links): Use a default description when links
2560         do not have one already.
2562         * org-agenda.el (org-agenda-redo): Fix code typo.
2564         * org.el (org-link-display-format): Fix docstring.
2566         * ox-publish.el (org-publish-org-to)
2567         (org-publish-org-sitemap, org-publish-find-title)
2568         (org-publish-find-date)
2569         (org-publish-cache-file-needs-publishing): Set
2570         `org-inhibit-startup' to t when visiting files for
2571         publication.
2573         * ox-org.el (org-org-publish-to-org): Kill buffers not visited at
2574         publication time.
2576         * org.el (org-set-font-lock-defaults): Set font-lock keywords
2577         correctly for plain links.
2579         * ox-texinfo.el (org-texinfo-logfiles-extensions)
2580         (org-texinfo-remove-logfiles): New options.
2581         (org-texinfo-compile): Use the new options to remove files
2582         after compiling a Texinfo file.
2584         * ox-texinfo.el (org-texinfo-coding-system): New option.
2585         (org-texinfo-template): Add @documentlanguage and
2586         @documentencoding.
2587         (org-texinfo-headline): Add a space before tags.
2588         (org-texinfo-export-to-texinfo, org-texinfo-export-to-info):
2589         Use `org-texinfo-coding-system' as the coding system for
2590         exported buffers.
2591         (org-texinfo-publish-to-texinfo): New function.
2593         * ox-texinfo.el (org-texinfo-filename)
2594         (org-texinfo-info-process, org-texinfo-max-toc-depth)
2595         (org-texinfo--sanitize-menu): Docstrings tiny fixes.
2597         * org-agenda.el (org-agenda-dim-blocked-tasks): Only throw a
2598         message when called interactively.  Fix docstring position in the
2599         defun.
2601         * ox-html.el (org-html--build-meta-info): Fix setting of
2602         http-equiv="Content-Type".
2604         * org-agenda.el (org-agenda-mode-map): Use ?= for filtering by
2605         regexp and ?| for removing all filters.
2606         (org-agenda-filter-remove-all): New command.
2607         (org-agenda-filter-show-all-re): Rename from
2608         `org-agenda-filter-show-all-regexp'.
2609         (org-agenda-filter-by-regexp): Call
2610         `org-agenda-filter-show-all-re'.
2612         * org-list.el (org-insert-item): Don't ask for a definition term
2613         when insert an item in a description list.
2615         * org-agenda.el (org-agenda-Quit): Set `org-agenda-buffer' to nil.
2616         This prevents bugs when calling e.g., `org-diary' after quitting
2617         an agenda window.
2618         (org-agenda-entry-types): Move earlier in the file.
2619         (org-agenda-custom-commands-local-options, org-diary)
2620         (org-agenda-get-day-entries): Don't hardcode the default agenda
2621         entry types, use `org-agenda-entry-types'.
2622         (org-agenda-custom-commands): Fix default setting so that the
2623         customize interface does not complain about a mismatch.
2625         * org.el (org-export-backends): Add new backends.
2627         * ox-html.el (org-html-indent): New option.
2628         (org-html-use-unicode-chars): New option.
2629         (org-html-pretty-output): Delete.
2630         (org-html-final-function): Use the new options.
2632         * ox-html.el (org-html-link): Fix handling of abbreviated links
2633         which include a file: protocol.
2634         (org-html--build-postamble): Default to today's date.
2635         (org-html--build-meta-info): When #+DATE contains a time stamp,
2636         parse it as a RFC 822 time string, otherwise simply insert the
2637         date as a string.
2639         * ox.el (org-export--copy-to-kill-ring-p): New function.
2640         (org-export-copy-to-kill-ring): Use 'if-interactive as the
2641         default.
2642         (org-export-to-buffer, org-export-to-file): Use
2643         `org-export--copy-to-kill-ring-p' and fix docstrings.
2645         * ox-odt.el (org-odt-export-as-odf): Use
2646         `org-export--copy-to-kill-ring-p'.
2648         * org.el (org-set-font-lock-defaults): Fontify macros.
2650         * org-faces.el (org-macro): New face.
2652         * org.el (org-clone-subtree-with-time-shift): Only prompt for a
2653         time shift when the entry at point has a time stamp and when the
2654         command is called with a universal prefix argument.
2655         (org-execute-file-search-functions): Docstring fix.
2657         * org-compat.el (org-defvaralias): Fix declare form.
2659         * org-clock.el (org-clocktable-defaults): Add :mstart parameter.
2660         (org-clock-special-range): New argument mstart.
2661         (org-dblock-write:clocktable, org-dblock-write:clocktable)
2662         (org-clocktable-write-default, org-clocktable-steps)
2663         (org-clock-get-table-data): Handle the :mstart parameter.
2665         * org.el (org-map-entries): Use `save-window-excursion'.
2667         * org-compat.el (org-defvaralias): New compatibility function.
2669         * org-list.el (org-cycle-include-plain-lists): Also add to the
2670         'org-cycle customization group.
2671         (org-list-allow-alphabetical)
2672         (org-checkbox-hierarchical-statistics)
2673         (org-list-empty-line-terminates-plain-lists)
2674         (org-list-description-max-indent): Rename and add aliases to old
2675         names.
2677         * org-element.el (org-element-context): Prevent an error when
2678         getting the context of a table rule.
2680         * org.el (org-deadline-time-hour-regexp)
2681         (org-scheduled-time-hour-regexp): New buffer local variables.
2682         (org-set-regexps-and-options): Set the new variables.
2684         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2685         :deadline* and :scheduled* to the list of possible agenda entry
2686         types.
2687         (org-agenda): Implement a new agenda type agenda* with :scheduled*
2688         and :deadline* replacing :scheduled and :deadline respectively in
2689         agenda entry types.  In such agenda, only scheduled and deadline
2690         items with a time specification [h]h:mm will be considered.
2691         (org-agenda-entry-types): Document the new agenda entry types
2692         :scheduled* and :deadline*.
2693         (org-agenda-list): New parameter `with-hour'.  Use :scheduled* and
2694         :deadline*.
2695         (org-agenda-get-day-entries): Handle :scheduled* and :deadline*.
2696         (org-agenda-get-deadlines, org-agenda-get-scheduled): New
2697         parameter `with-hour'.  Use `org-deadline-time-hour-regexp' or
2698         `org-scheduled-time-hour-regexp' as the search string if needed.
2699         (org-agenda-to-appt): Use :scheduled* and :deadline* by default,
2700         as other scheduled and deadline items don't have a time spec and
2701         cannot be turned into appointments.  Trim bracket links and use
2702         only the description as the appointment text.
2703         (org-agenda-get-restriction-and-command): Add
2704         default description for the agenda* view.
2705         (org-agenda-run-series): Handle agenda* views.
2707         * org-faces.el (org-agenda-filter-tags)
2708         (org-agenda-diary, org-agenda-calendar-event)
2709         (org-agenda-calendar-sexp): Minor code clean up.
2710         (org-agenda-filter-category): Docstring fix.
2711         (org-agenda-filter-category): New face.
2713         * org-agenda.el (org-agenda-local-vars): Add
2714         `org-agenda-re-filter-overlays' and `org-agenda-regexp-filter'.
2715         (org-agenda-mode-map): Use "|" for
2716         `org-agenda-filtered-by-regexp'.
2717         (org-agenda-re-filter-overlays): New variable.
2718         (org-agenda-mark-filtered-text): Use
2719         `org-agenda-re-filter-overlays'.
2720         (org-agenda-finalize, org-agenda-redo): Allow regexp filtering.
2721         (org-agenda-filter-by-category): Set `org-agenda-category-filter'
2722         here instead of within `org-agenda-apply-filter'.
2723         (org-agenda-regexp-filter): New variable.
2724         (org-agenda-filter-by-regexp): New function to filter agenda
2725         buffers by regexp.
2726         (org-agenda-filter-make-matcher): Make matcher for regexp filters.
2727         (org-agenda-filter-apply): Don't set `org-agenda-tag-filter' and
2728         `org-agenda-category-filter'.  Maybe apply regexp filter.
2729         (org-agenda-filter-hide-line): Add docstring.  Hide
2730         regexp-filtered lines.
2731         (org-agenda-filter-show-all-tag, org-agenda-filter-show-all-cat):
2732         Add docstring.
2733         (org-agenda-filter-show-all-regexp): New function.
2734         (org-agenda-set-mode-name): Add regexp-filter information.
2735         (org-agenda-custom-commands-local-options): Add regexp filter.
2736         (org-agenda-regexp-filter-preset): New variable.
2737         (org-agenda-prepare): Use the new variable.
2739         * ox-odt.el (org-odt-code, org-odt-verbatim): Use
2740         `org-odt--encode-plain-text'.
2742         * ox-html.el (org-html-link): Minor code clean-up.
2744         * org.el (org-insert-heading): DTRT when in a narrowed region.
2746         * org-compat.el (org-buffer-narrowed-p): New compatibility
2747         function.
2749         * ox-html.el (org-html-format-inline-image): Fix missing string in
2750         formatting string.
2752         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2753         New allowed value `repeated-after-deadline' which will prevent the
2754         display of scheduled items when repeated after the current
2755         deadline.
2756         (org-agenda-get-scheduled): Handle the new value.
2758         * org.el (org-time-string-to-absolute): Tiny docstring fix.
2760         * ox-html.el (org-html-style-default): New classes `footpara' and
2761         `footdef' for the footnotes paragraphs and definitions.
2762         (org-html-format-footnote-definition): Wrap the footnote
2763         defintions into their own div.
2764         (org-html-paragraph): Don't add extra <br/> after a paragraph in a
2765         footnote.
2766         (org-html-container-element, org-html-divs): Mention that
2767         org-info.js will not work when changing the defaults.
2769         * ox-md.el (md): Export underlined text as verbatim.
2771         * ox-html.el (org-html-style-default): New CSS .underline and
2772         #org-div-home-and-up.
2773         (org-html-text-markup-alist): Don't hardcode the style, use the
2774         new class .underline.
2775         (org-html-home/up-format): Don't hardcode the style, use
2776         #org-div-home-and-up.
2777         (org-html-center-block): Use the .center class.
2779         * ox-md.el (org-md-underline): New function.
2781         * org-agenda.el (org-sorting-choice): Fix default value.
2783         * ox-html.el (org-html-format-footnote-definition)
2784         (org-html-footnote-section): Don't wrap footnote definitions into
2785         tables.
2786         (org-html-paragraph): Add HTML style and class parameter when the
2787         paragraph is in a footnote definition.  Also allow to add an extra
2788         string after the paragraph.  Further parameters can be added for
2789         paragraphs in other environments.
2790         (org-html-template): Always include the title as <h1
2791         class="title"></h1>, even when there is no title, as org-info.js
2792         needs it.
2794         * org-element.el (org-element-map): Fix tiny typo in docstring.
2796         * org-agenda.el (org-agenda-day-view): Fix parameter's name.
2798         * ox-html.el (org-html-format-inline-image): Don't add superfluous
2799         <p></p> when there is an empty caption.
2801         * org-agenda.el (org-agenda-refile): Enhance docstring.  Allow to
2802         clear the refile cache with C-0 or C-u C-u C-u.
2804         * ox-md.el (org-md-export-as-markdown): Tiny docstring fix.  Fix a
2805         library keyword in the comment section.
2807         * org.el (org-toggle-item): Convert all normal lines as items when
2808         there is a region, and only convert the first line when called
2809         with a universal prefix argument.  This is consistent with the
2810         behavior of `org-toggle-heading'.
2811         (org-toggle-heading): When the region contains only normal lines,
2812         a universal prefix arg will only convert the first line.  This is
2813         more consistent with `org-toggle-item'.
2814         (orgstruct-setup): Add `org-ctrl-c-minus' and `org-ctrl-c-star'.
2815         (customize-package-emacs-version-alist): Update
2816         `customize-package-emacs-version-alist'.
2818         * ox-texinfo.el (org-export-texinfo)
2819         (org-texinfo-filename, org-texinfo-classes)
2820         (org-texinfo-format-headline-function)
2821         (org-texinfo-node-description-column)
2822         (org-texinfo-active-timestamp-format)
2823         (org-texinfo-link-with-unknown-path-format)
2824         (org-texinfo-tables-verbatim)
2825         (org-texinfo-table-scientific-notation)
2826         (org-texinfo-text-markup-alist)
2827         (org-texinfo-format-drawer-function)
2828         (org-texinfo-format-inlinetask-function)
2829         (org-texinfo-info-process):
2830         * ox-odt.el (org-odt-format-drawer-function)
2831         (org-odt-format-headline-function)
2832         (org-odt-format-inlinetask-function):
2833         * ox-md.el (org-export-md, org-md-headline-style): Fix :version
2834         and :package-version keywords.
2836         * org.el (org-time-clocksum-use-effort-durations): Don't set to t
2837         by default as it will change many clocktables out there.  Let the
2838         user decides whether she wants to turn this on.
2840         * org.el (org-agenda-inhibit-startup): Revert to nil as the default.
2842         * org-agenda.el (org-agenda-dim-blocked-tasks): Revert to t as the
2843         default.
2845         * ox-html.el (org-html-style-default): More cosmetic tweaks.
2846         (org-html-head-include-default-style): Minor docstring update.
2848         * ox.el (org-export-snippet-translation-alist)
2849         (org-export-coding-system, org-export-in-background)
2850         (org-export-async-init-file, org-export-invisible-backends)
2851         (org-export-dispatch-use-expert-ui):
2852         * ox-texinfo.el (org-texinfo-filename, org-texinfo-classes)
2853         (org-texinfo-format-headline-function)
2854         (org-texinfo-node-description-column)
2855         (org-texinfo-active-timestamp-format)
2856         (org-texinfo-link-with-unknown-path-format)
2857         (org-texinfo-tables-verbatim)
2858         (org-texinfo-table-scientific-notation)
2859         (org-texinfo-text-markup-alist)
2860         (org-texinfo-format-drawer-function)
2861         (org-texinfo-format-inlinetask-function)
2862         (org-texinfo-info-process):
2863         * ox-man.el (org-man-tables-centered)
2864         (org-man-table-scientific-notation)
2865         (org-man-source-highlight, org-man-source-highlight-langs)
2866         (org-man-pdf-process, org-man-logfiles-extensions):
2867         * ox-html.el (org-html-allow-name-attribute-in-anchors)
2868         (org-html-coding-system, org-html-divs):
2869         * ox-ascii.el (org-ascii-text-width)
2870         (org-ascii-headline-spacing, org-ascii-indented-line-width)
2871         (org-ascii-paragraph-spacing, org-ascii-charset)
2872         (org-ascii-underline, org-ascii-bullets)
2873         (org-ascii-links-to-notes)
2874         (org-ascii-table-keep-all-vertical-lines)
2875         (org-ascii-table-widen-columns)
2876         (org-ascii-table-use-ascii-art)
2877         (org-ascii-format-drawer-function)
2878         (org-ascii-format-inlinetask-function):
2879         * org.el (org-modules, org-export-backends)
2880         (org-highlight-latex-and-related, orgstruct-setup-hook):
2881         * org-attach.el (org-attach-git-annex-cutoff):
2882         * org-archive.el (org-archive-file-header-format):
2883         * org-agenda.el (org-agenda-todo-ignore-time-comparison-use-seconds):
2884         * ob-python.el (org-babel-python-hline-to)
2885         (org-babel-python-None-to):
2886         * ob-ditaa.el (org-ditaa-eps-jar-path):
2887         * ob-core.el (org-babel-results-keyword): Add :version and
2888         :package-version.
2890         * ox-ascii.el: Use utf-8-emacs as the file coding system.
2892         * org-capture.el (org-capture-templates, org-capture-string)
2893         (org-capture-steal-local-variables)
2894         (org-capture-empty-lines-before)
2895         (org-capture-empty-lines-after)
2896         (org-capture-insert-template-here)
2897         (org-capture-import-remember-templates): Fix or add docstring.
2899         * ox-html.el (org-html-style-default): Cosmetic changes.
2900         (org-html-postamble, org-html-preamble)
2901         (org-html-preamble-format): Update docstring.
2903         * org-agenda.el (org-agenda-format-date-aligned)
2904         (org-agenda-time-of-day-to-ampm-maybe)
2905         (org-scheduled-past-days)
2906         (org-agenda-normalize-custom-commands)
2907         (org-agenda-run-series, org-store-agenda-views): Fix or add
2908         docstring.
2910         * ox-latex.el:
2911         (org-latex-table-scientific-notation, org-latex-verse-block): Fix
2912         typos in docstrings.
2914         * ox-html.el (org-html-text-markup-alist)
2915         (org-html-pretty-output, org-html-link-org-files-as-html)
2916         (org-html-postamble, org-html-preamble)
2917         (org-html-format-inline-image, org-html-splice-attributes)
2918         (org-export-splice-style, org-html-htmlize-region-for-paste)
2919         (org-html-fix-class-name)
2920         (org-html-format-footnote-reference)
2921         (org-html-format-footnotes-section)
2922         (org-html-footnote-section, org-html--anchor)
2923         (org-html--todo, org-html--tags, org-html-format-headline)
2924         (org-html-toc, org-html-format-section, org-html-checkbox)
2925         (org-html-format-list-item, org-html-format-latex)
2926         (org-html-encode-plain-text)
2927         (org-html-table-first-row-data-cells)
2928         (org-html-table--table.el-table, org-html-final-function): Fix
2929         or add docstring.
2931         * org.el (org-insert-heading): If the current item has a checkbox,
2932         insert the new item with a checkbox.
2934         * org.el (org-insert-heading): Don't delete spaces in empty
2935         headlines.
2937         * ox-odt.el (org-odt-keyword): Fix typo.
2939         * ox-latex.el (org-latex-toc-command): Cosmetic docstring change.
2941         * ox-html.el (org-html-encode-plain-text): Fix typo in docstring.
2943         * org-faces.el (org-column): Update docstring.
2945         * org-colview.el: Update error message.
2947         * org.el (org-modules): Do not include org-mew.el, org-vm.el,
2948         org-w3m.el, org-wl.el as these files are now part of contrib/.
2950         * org-mew.el:
2951         * org-vm.el:
2952         * org-w3m.el:
2953         * org-wl.el: Delete (moved to Org's contrib/ directory.)
2955         * org-capture.el (org-mks): Move from org-mks.el.
2957         * org-mks.el: Delete.
2959         * ox-html.el (html): Update HTML options names.
2961         * org.el (org-show-context): Don't try to fix ellipsis when
2962         showing a subtree in agenda.
2964         * ox-html.el (html): Reintroduce #+HTML_HEAD_EXTRA, previously
2965         known as HTML_STYLE_EXTRA.
2966         (org-html-head): Enhance docstring.
2967         (org-html-head-extra): Reintroduce.  Was `org-html-style-extra'.
2968         (org-html--build-head): Rename from `org-html--build-head'.  Add
2969         information from `org-html-head-extra'.
2970         (org-html-template): Use `org-html--build-head'.
2972         * ox-html.el (org-html-display-buffer-mode): Delete.
2973         (org-html-export-as-html): Use `set-auto-mode' instead of
2974         `org-html-display-buffer-mode'.
2976         * org-agenda.el (org-agenda-write): Overwrite file when called
2977         non-interactively.
2979         * org-mobile.el (org-mobile-edit): Workaround a
2980         `org-insert-heading-respect-content' bug which prevents correct
2981         insertion when point is invisible
2983         * org.el (org-previous-line-empty-p): New parameter to allow
2984         checking next line.  Add a docstring.
2985         (org-insert-heading): Handle two universal prefix arguments as
2986         advertised in the docstring.  Don't insert new lines when
2987         creating a heading after the first heading in the current
2988         subtree.
2989         (org-insert-heading-respect-content): New optional argument
2990         arg, passed to `org-insert-heading'.
2992         * org.el (org-mode): Remove syntax entries.  Use
2993         `org-backward-element' and `org-forward-element' for
2994         `beginning-of-defun-function' and `end-of-defun-function': this
2995         allows using C-M-a and C-M-e before the first headline.
2997         * ox-html.el (html): Remove :html-htmlized-css-url :options-alist.
2999         * ox-org.el (org-org-htmlized-css-url): Rename from
3000         `org-html-htmlized-org-css-url' and moved here from ox-html.el.
3001         (org-org-publish-to-org): Handle :htmlized-source in
3002         publishing projects.
3004         * ox-html.el (org-html-style-default): Update docstring.
3005         (org-html-infojs-install-script, org-html--build-style): Update
3006         property names.
3007         (org-html-head-include-scripts)
3008         (org-html-head-include-default-style, org-html-head):
3009         Respectively rename from `org-html-style-include-scripts',
3010         `org-html-style-include-default' and `org-html-style', now
3011         obsolete.
3012         (org-html-style-extra): Delete.
3014         * org-clock.el (org-clock-out): Fix bug: if a closing note needs
3015         to be stored in the drawer where clocks are stored, let's
3016         temporarily remove `org-clock-remove-empty-clock-drawer' from
3017         `org-clock-out-hook'.
3019         * ob-tangle.el (org-babel-tangle): Remove unused attempt of
3020         prompting the user of the tangle file name since :tangle is always
3021         set.  Don't prompt for a tangle file name when called with two
3022         universal prefix arg outside of a src block.  Use
3023         `org-babel-tangle-single-block'.
3024         (org-babel-tangle-single-block): New function.
3025         (org-babel-tangle-collect-blocks): Use the new function.
3027         * org-table.el (org-table-convert-region, org-table-export)
3028         (org-table-align, org-table-beginning-of-field)
3029         (org-table-copy-down, org-table-check-inside-data-field)
3030         (org-table-insert-column, org-table-find-dataline)
3031         (org-table-delete-column, org-table-move-column)
3032         (org-table-insert-row, org-table-insert-hline)
3033         (org-table-kill-row, org-table-paste-rectangle)
3034         (org-table-wrap-region, org-table-sum, org-table-get-formula)
3035         (org-table-get-formula, org-table-get-stored-formulas)
3036         (org-table-fix-formulas, org-table-maybe-eval-formula)
3037         (org-table-rotate-recalc-marks, org-table-eval-formula)
3038         (org-table-get-range, org-table-get-descriptor-line)
3039         (org-table-find-row-type, org-table-recalculate)
3040         (org-table-iterate, org-table-iterate-buffer-tables)
3041         (org-table-formula-handle-first/last-rc)
3042         (org-table-edit-formulas, org-table-fedit-shift-reference)
3043         (org-rematch-and-replace, org-table-shift-refpart)
3044         (org-table-fedit-finish, org-table-fedit-lisp-indent)
3045         (org-table-show-reference, org-table-show-reference)
3046         (org-table-show-reference, org-table-show-reference)
3047         (org-table-force-dataline, orgtbl-error, orgtbl-export)
3048         (orgtbl-send-replace-tbl, org-table-to-lisp)
3049         (orgtbl-send-table, orgtbl-send-table, orgtbl-send-table)
3050         (orgtbl-toggle-comment, orgtbl-insert-radio-table)
3051         (orgtbl-to-unicode, org-table-get-remote-range)
3052         (org-table-get-remote-range, org-table-copy-dow)
3053         (org-table-check-inside-data-field, org-table-insert-colum)
3054         (org-table-find-dataline, org-table-delete-colum)
3055         (org-table-move-column, org-table-insert-ro)
3056         (org-table-insert-hline, org-table-kill-ro)
3057         (org-table-paste-rectangle, org-table-wrap-regio)
3058         (org-table-sum, org-table-get-formul)
3059         (org-table-get-stored-formulas, org-table-fix-formula)
3060         (org-table-maybe-eval-formul, org-table-rotate-recalc-marks)
3061         (org-table-eval-formul, org-table-get-range)
3062         (org-table-get-descriptor-lin, org-table-find-row-type)
3063         (org-table-recalculat, org-table-iterate)
3064         (org-table-iterate-buffer-table)
3065         (org-table-formula-handle-first/last-r)
3066         (org-table-edit-formulas, org-table-fedit-shift-referenc)
3067         (org-rematch-and-replace, org-table-shift-refpar)
3068         (org-table-fedit-finish, org-table-fedit-lisp-inden)
3069         (org-table-show-reference, org-table-force-datalin)
3070         (orgtbl-error, orgtbl-export, orgtbl-send-replace-tb)
3071         (org-table-to-lisp, orgtbl-send-tabl, orgtbl-toggle-comment)
3072         (orgtbl-insert-radio-tabl, orgtbl-to-unicode)
3073         (org-table-get-remote-range): Use `user-error' instead of
3074         `error' for user errors.
3076         * ob-core.el (org-babel-load-in-session): Throw a useful error
3077         when there is no code block at point.
3079         * ob-tangle.el (org-babel-tangle): Rename the ONLY-THIS-BLOCK
3080         parameter to ARG.  Allow two universal prefix arguments to tangle
3081         by the target file of the block at point.
3082         (org-babel-tangle-collect-blocks): New parameter TANGLE-FILE
3083         to restrict the collection of blocks to those who will be
3084         tangled in TARGET-FILE.
3086         * org-src.el (org-edit-src-auto-save-idle-delay): Use a delay of 0
3087         by default (i.e., deactivate auto-saving.)
3088         (org-edit-src-code): Set `buffer-auto-save-file-name' for
3089         auto-saving with `auto-save-mode'.
3091         * org.el (org-deadline, org-schedule): When called with two
3092         universal prefix arguments, set the warning time or the delay
3093         relatively to the current timestamp, not to today's date.
3095         * org-agenda.el (org-agenda-filter-apply): Deactive
3096         `org-agenda-entry-text-mode' when filtering.
3097         (org-agenda-entry-text-mode): Don't allow in filtered views.
3098         Don't show the maximum number of lines when turning off.
3100         * ox-html.el (org-html-headline): Add comment.
3102         * org.el (org-mode): Set `paragraph-start'.
3104         * org-agenda.el (org-agenda-entry-text-leaders): New option.
3105         (org-agenda-entry-text-show-here): Use it.
3107         * ox-html.el (org-html-link--inline-image): Always retrieve
3108         attributes for inline images.
3109         (org-html-link): Fix trailing whitespace at the end of the opening
3110         <a ...> HTML tag.
3111         (org-html-headline): For headlines whose first element is a
3112         headline and not a section, pretend there is an empty section (as
3113         "") for the correct HTML div to be inserted.
3115         * org-agenda.el (org-agenda-collect-markers)
3116         (org-create-marker-find-array): Move to ox-icalendar.el.
3117         (org-agenda-marker-table, org-check-agenda-marker-table):
3118         Delete.
3120         * ox-icalendar.el (org-icalendar-create-uid): New parameter
3121         H-MARKERS to only update some headlines, not the whole file.
3122         (org-icalendar--combine-files): When exporting to an .ics file
3123         only add UID to the headlines shown in the agenda buffer.
3124         (org-agenda-collect-markers, org-create-marker-find-array):
3125         Move here.
3127         * org-agenda.el (org-agenda-write): Ask before overwriting an
3128         existing file.
3130         * org-pcomplete.el (pcomplete/org-mode/file-option/infojs_opt):
3131         Use `org-html-infojs-opts-table'.
3133         * ox-html.el (org-html-infojs-opts-table):
3134         (org-html-use-infojs, org-html-infojs-options)
3135         (org-html-infojs-template): Move from ox-jsinfo.el.  Rename using
3136         the org-html- prefix.
3137         (org-html-infojs-install-script): Move from ox-jsinfo.el.
3139         * ox-jsinfo.el: Delete.
3141         * ox-html.el (org-html-section): Fix indentation.
3142         (org-html-inner-template): Add the document title here, within the
3143         "content" class, as the org-info.js needs it.
3144         (org-html-template): Don't include the document's title here.
3145         (org-html-format-inlinetask-function): Remove wrong example.
3147         * ob-tangle.el (org-babel-tangle-collect-blocks): Don't collect
3148         blocks in commented out headings.
3150         * ox-latex.el (org-latex-logfiles-extensions)
3151         (org-latex-remove-logfiles): Improve docstrings.
3153         * org-capture.el (org-capture): Cosmetic fix.
3155         * org-protocol.el (org-protocol-create-for-org)
3156         (org-protocol-create): Small docstrings enhancements.
3158         * org-protocol.el (org-protocol-capture): Small docstring fix.
3160         * org.el (org-speed-command-activate): Only forbid in src code
3161         blocks.
3163         * org-indent.el
3164         (org-indent-add-properties): Bugfix: prevent negative value for
3165         `added-ind-per-lvl'.
3167         * org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
3168         `isearch-mode-end-hook' so that any isearch fixes the problem with
3169         ellipsis on the first line.
3170         (org-fix-ellipsis-at-bol): New defsubst.
3171         (org-show-context, org-isearch-end): Use it.
3173         * org-agenda.el (org-agenda-deadline-leaders): New formatting
3174         string for past deadlines.
3175         (org-agenda-scheduled-leaders): Small change.
3176         (org-agenda-get-deadlines): Use the new formatting string.
3178         * ob-lob.el (org-babel-lob-execute): Rename cache? to cache-p.
3180         * org.el (org-speed-command-activate): Don't activate speed
3181         commands within blocks.
3183         * org.el (org-show-context): Remove useless catch.  Make sure the
3184         top of the window is a visible headline.
3185         (org-activate-plain-links): Remove unused catch.
3187         * org-macs.el (org-get-alist-option): Return nil, not (nil), so
3188         that `org-show-context' DTRT.
3190         * org.el (org-imenu-get-tree): Fix bug when matching against empty
3191         headlines.
3192         (org-overview): Stay on current line.
3193         (org-map-entries): Fix docstring.
3195         * org-macs.el (org-unmodified): Update comment.  Don't define
3196         `with-silent-modifications' for emacsen that don't have it.
3198         * org-compat.el (org-with-silent-modifications): New
3199         compatibility macro.
3201         * org.el (org-refresh-category-properties)
3202         (org-refresh-properties, org-entry-blocked-p)
3203         (org-agenda-prepare-buffers):
3205         * org-indent.el (org-indent-remove-properties)
3206         (org-indent-add-properties):
3208         * org-colview.el (org-columns-display-here)
3209         (org-columns-remove-overlays, org-columns-quit)
3210         (org-columns-edit-value, org-columns-compute-all)
3211         (org-columns-compute, org-agenda-colview-compute):
3213         * org-clock.el (org-clock-sum): Use the compatibility macro
3214         `org-with-silent-modifications' instead of
3215         `with-silent-modifications'.
3217         * org.el (org-sort-remove-invisible): Remove emphasis markers.
3219         * org.el (org-sort-remove-invisible): Use defsust.  Do not only
3220         check against invisible links, truly returns the visible part of
3221         the string.
3222         (org-sort-remove-invisible): Add a docstring.
3223         (org-sort-entries): Remove hidden links when comparing entries.
3225         * org-list.el (org-sort-list): Remove hidden links when comparing
3226         list items.
3228         * ox-html.el (org-html-headline): Fix typo.
3229         (org-html-format-headline--wrap): Cosmetic change.
3231         * org.el (org-at-clock-log-p): Delete.
3233         * org-clock.el (org-at-clock-log-p): Move here.
3235         * ox-html.el (org-html-format-headline-function): Fix docstring.
3237         * ob-sql.el (org-babel-execute:sql): Add header row delimiter for
3238         both mysql and postgresql.
3240         * org.el (org-agenda-prepare-buffers): Don't use
3241         `with-silent-modifications' too early.
3243         * org-macs.el: Add a comment on when to use `org-unmodified' and
3244         when to use `with-silent-modifications'.
3246         * org-colview.el (org-columns-display-here)
3247         (org-columns-remove-overlays, org-columns-quit)
3248         (org-columns-edit-value, org-columns-compute-all)
3249         (org-columns-compute, org-agenda-colview-compute):
3250         * org-clock.el (org-clock-sum):
3251         * org.el (org-refresh-category-properties)
3252         (org-refresh-properties, org-entry-blocked-p)
3253         (org-agenda-prepare-buffers): Use `with-silent-modifications'
3254         instead of `org-unmodified'.
3256         * ox-publish.el (org-publish-sitemap-date-format): Small docstring
3257         enhancement.
3259         * ox-latex.el (org-latex-format-headline-default-function): New
3260         option.
3261         (org-latex-format-headline-function): Use the new option as
3262         the default value.
3263         (org-latex-toc-command): Don't add vertical space after the table
3264         of contents.
3266         * org.el (org-entry-blocked-p): Use `org-unmodified' instead of
3267         `org-with-buffer-modified-unmodified'.
3268         (org-agenda-prepare-buffers): Fix indentation.
3270         * org-macs.el (org-unmodified): Rename from
3271         `org-with-buffer-modified-unmodified'.
3272         (org-with-buffer-modified-unmodified): Delete.
3274         * ob-python.el (org-babel-python-command): Use a defcustom.
3275         (org-babel-python-mode): Use a defcustom and default to
3276         'python-mode when featured.
3278         * org-agenda.el (org-agenda-start-day): Refer to `org-read-date'
3279         in the docstring.
3281         * ox-org.el (org-org-publish-to-org): Autoload.
3283         * org-protocol.el:
3284         * org-bibtex.el: Remove remember support.
3286         * org-clock.el (org-clock-heading-for-remember): Delete.
3287         (org-clock-in): Do not set the heading for remember.
3289         * org.el (org-move-subtree-down, org-forward-element)
3290         (org-backward-element):
3292         * org-table.el (org-table-previous-field)
3293         (org-table-move-column, org-table-move-row):
3295         * org-list.el (org-move-item-down, org-move-item-up)
3296         (org-cycle-item-indentation): Use `user-error' when moving or
3297         modifying the element at point is not possible.
3299         * ox-html.el (org-html-table-header-tags)
3300         (org-html-table-data-tags, org-html-table-row-tags)
3301         (org-html-table-align-individual-fields): Use the
3302         org-export-html group.
3303         (org-html-inline-src-block, org-html-link): Fix error messages.
3304         (org-html-begin-plain-list): Fix formatting, better FIXME
3305         comment.
3307         * org.el (org-fill-paragraph): Fill using
3308         `org-mode-transpose-word-syntax-table'.
3310         * ox-org.el (org-org-publish-to-org): New defun.
3312         * ox-html.el (org-export-htmlize): Delete group.
3313         (org-html-htmlize-output-type)
3314         (org-html-htmlized-org-css-url)
3315         (org-html-htmlize-region-for-paste): Rename from
3316         org-export-htmlize-*.
3317         (org-html-htmlize-generate-css, org-html-fontify-code): Use
3318         the correct names.
3320         * org-compat.el (org-file-equal-p): New compatibility function.
3322         * ox.el (org-export-output-file-name): Use the new function.
3324         * org-clock.el (org-clock-set-current)
3325         (org-clock-delete-current): Delete.
3326         (org-clock-in, org-clock-out): Set and delete
3327         `org-clock-current-task'.  Minor code clean-up.
3329         * org-clock.el (org-clock-in, org-clock-in-last): Tell
3330         `org-current-time' to always return a past time.
3332         * org.el (org-current-time): New argument `past' to force
3333         returning a past time when rounding.
3335         * org-agenda.el (org-agenda-unmark-clocking-task): New function.
3336         (org-agenda-mark-clocking-task): Use it.
3337         (org-agenda-clock-in): Let the cursor where it is.
3338         (org-agenda-clock-out): Ditto.  Also remove the
3339         `org-agenda-clocking' overlay.
3341         * org-agenda.el (org-agenda-set-restriction-lock): Fix restriction
3342         so that it ends at the beginning of the next headline at the same
3343         level.
3345         * org.el (org-set-effort, org-property-next-allowed-value):
3346         When needed, update the current clock effort time.
3347         (org-next-link): New parameter `search-backward'.  Fix bug when at
3348         a link with no 'org-link face, e.g., in a DONE headline.  Throw a
3349         message instead of an error.
3350         (org-previous-link): Use `org-next-link'.
3352         * org-agenda.el (org-agenda-format-item): Only set the breadcrumbs
3353         when `org-prefix-has-breadcrumbs' is non-nil.
3355         * org.el (org-mode): Don't make characters from
3356         `org-emphasis-alist' word constituents.
3357         (org-mode-transpose-word-syntax-table): Rename from
3358         `org-syntax-table'.
3359         (org-transpose-words): Use
3360         `org-mode-transpose-word-syntax-table'.
3362         * ox.el (org-export--dispatch-ui)
3363         (org-export--dispatch-action): Use integers for control chars.
3365         * org-agenda.el (org-agenda-set-restriction-lock): Put the
3366         overlay until the end of the subtree, not the end of the
3367         headline.
3369         * org.el (org-entry-delete, org-delete-property): New optional
3370         arg delete-empty-drawer, a string, to delete any empty drawer
3371         with that name.
3372         (org-toggle-ordered-property): Delete the drawer "PROPERTIES"
3373         if empty.
3375         * org-src.el (org-src-mode-map, org-edit-src-code)
3376         (org-edit-fixed-width-region, org-edit-src-save): Use C-c C-k
3377         for `org-edit-src-abort'.
3379         * org.el (org-mode): Use org-unmodified during startup
3380         initialization for functions that may be inhibited.
3382         * org-table.el (org-table-align): Only set the window start
3383         when table alignment is performed in the selected window.
3385         * org-src.el (org-edit-src-auto-save-idle-delay): New option.
3386         (org-src-ask-before-returning-to-edit-buffer): Make a defcustom.
3387         (org-edit-src-code-timer): New timer variable.
3388         (org-edit-src-code): Run the timer.
3389         (org-edit-fixed-width-region): Enhance message.
3390         (org-edit-src-exit): Cancel the timer.
3391         (org-edit-src-save): Prevent saving when editing fixed-width
3392         buffer, exiting will save already.
3393         (org-edit-src-exit): Inconditionally kill the src/example
3394         editing buffer.
3396         * org-pcomplete.el (pcomplete/org-mode/file-option): Require
3397         'org-element.  This fixes a bug about unbound variable
3398         `org-element-affiliated-keywords' when trying to complete a
3399         keyword before 'org-element was required.
3401         * org-list.el (org-list-bullet-string): Replace match when there
3402         is a match, otherwise just return the bullet.
3404         * org-src.el (org-src-mode-map): New binding C-c k to abort
3405         editing.
3406         (org-edit-src-code): Mention the keybinding to abort editing
3407         and go back to the correct position.
3408         (org-edit-src-abort): New command to abort editing.
3410         * ox-html.el (org-html--build-meta-info): Add a newline before
3411         the title meta information.
3413         * org.el (org-return-follows-link): Mention that this does not
3414         affect the behavior of RET in tables.
3416         * ox-html.el (org-html--build-mathjax-config): Only include
3417         MathJax configuration if the resulting HTML contains LaTeX
3418         fragments.
3420         * org.el (org-syntax-table, org-transpose-words): Delete.
3421         (org-mode): Syntactically Define {} and <> as parentheses.
3422         (org-drag-line-forward, org-drag-line-backward): New
3423         functions.
3424         (org-shiftmetaup, org-shiftmetadown): Fall back on the new
3425         functions instead of throwing an error.
3426         (org-make-org-heading-search-string): Don't use statistic or [x/y]
3427         cookies when creating a link.
3429         * ox-html.el (org-html-table): Append #+attr_html attributes.
3431         * org.el (org-emphasis-alist, org-protecting-blocks):
3432         * org-src.el (org-edit-src-find-region-and-lang):
3433         * org-list.el (org-list-forbidden-blocks):
3434         * org-footnote.el (org-footnote-forbidden-blocks): Remove
3435         references to the deleted DocBook exporter.
3437         * org.el (org-end-of-line): Don't throw an error outside elements.
3439         * ox-html.el (org-html-link): Don't throw an error if the value
3440         of the :ID: property has not been generated by uuidgen.
3442         * org-pcomplete.el (pcomplete/org-mode/file-option/x):
3443         Resurrect.  Use `org-default-options' to initialize completion
3444         fonctions for the most important keywords.
3446         * org-macs.el (org-default-options): Rename and adapt from
3447         `org-get-current-options'.
3449         * org.el (org-options-keywords): Add keywords.
3451         * ox-odt.el (org-odt-convert-read-params): Fix typo in prompt.
3453         * ox-latex.el (org-latex-horizontal-rule): Fix typo in docstring.
3455         * ox-html.el (org-html-display-buffer-mode): New option.
3456         (org-html-export-as-html): Use it.
3458         * ob-core.el (org-babel-insert-result): Fix bug when inserting
3459         an empty string as the result.
3461         * org.el (org-timestamp-change): New optional parameter
3462         `suppress-tmp-delay' to suppress temporary delay like "--2d".
3463         (org-auto-repeat-maybe): Suppress temporary delays.
3465         * org-agenda.el (org-agenda-get-scheduled): When the delay is
3466         of the form "--2d" and there is a repeater, ignore the delay
3467         for further repeated occurrences.
3469         * org-agenda.el (org-agenda-get-deadlines)
3470         (org-agenda-get-scheduled): Minor refactoring.
3472         * org.el (org-time-string-to-absolute): Tiny docstring enhancement.
3473         (org-edit-special): Don't allow to edit when buffer is read only.
3475         * ox-html.el (org-html-format-latex): Don't set `cache-relpath'
3476         and `cache-dir' when `processing-type' is 'mathjax.
3477         (org-html-format-latex): Fix conversion in non-file buffers.
3479         * org.el (org-speed-commands-default): Bind `B' and `F' to
3480         `org-previous-block' and `org-next-block'.
3481         (org-read-date-minibuffer-local-map): Use "!" instead of "?" to
3482         see today's diary as "?" is already bounded by Calendar.
3483         (org-read-date-minibuffer-local-map): Use "." to go to today's
3484         date.
3486         * ob-core.el (org-babel-next-src-block)
3487         (org-babel-previous-src-block): Rewrite using
3488         `org-next-block'.
3490         * org.el (org-next-block, org-previous-block): New navigation
3491         commands.
3492         (org-mode-map): Bind the new commands to C-c C-F and C-c C-B
3493         respectively.
3495         * org-agenda.el (org-agenda-write): Don't copy headlines' subtrees
3496         when writing to an .org file.
3498         * org.el (org-copy-subtree): New parameter `nosubtrees'.
3500         * org-agenda.el (org-agenda-write): Allow writing to an .org file.
3502         * org.el (org-paste-subtree): Fix typo in docstring.
3504         * org-agenda.el (org-agenda-get-todos)
3505         (org-agenda-get-timestamps): Use nil as `ts-date' for diary
3506         sexpressions.
3507         (org-agenda-get-todos): Skip diary sexps when trying to sort by
3508         timestamp.
3509         (org-agenda-max-entries, org-agenda-max-todos)
3510         (org-agenda-max-tags, org-agenda-max-effort): New options.
3511         (org-timeline, org-agenda-list, org-search-view)
3512         (org-todo-list, org-tags-view): Tell `org-agenda-finalize-entries'
3513         what agenda type we are currently finalizing for.
3514         (org-agenda-finalize-entries): Limit the number of entries
3515         depending on the new options.
3516         (org-agenda-limit-entries): New function.
3518         * org.el (org-deadline): Allow a double universal prefix argument
3519         to insert/update a warning cookie.
3520         (org-deadline): Allow a double universal prefix argument to
3521         insert/update a delay cookie.
3523         * org-agenda.el (org-agenda-skip-scheduled-delay-if-deadline):
3524         New option.  The structure of the possible values is copied
3525         from `org-agenda-skip-deadline-prewarning-if-scheduled'.
3526         (org-agenda-get-scheduled): Honor the two new option,
3527         `org-scheduled-delay-days' and
3528         `org-agenda-skip-deadline-prewarning-if-scheduled'.  I.e. if a
3529         scheduled entry has a delay cookie like "-2d" (similar to the
3530         prewarning cookie for deadline), don't show the entry until
3531         needed.
3533         * org.el (org-deadline-warning-days): Small docstring fix.
3534         (org-scheduled-delay-days): New option (see
3535         `org-deadline-warning-days'.)
3536         (org-get-wdays): Use the new option.
3538         * org-agenda.el (org-agenda-sorting-strategy): Document the
3539         new sorting strategies.
3540         (org-agenda-get-todos, org-agenda-get-timestamps)
3541         (org-agenda-get-deadlines, org-agenda-get-scheduled): Add a
3542         `ts-date' text property with scheduled, deadline or timetamp
3543         date.
3544         (org-cmp-ts): New function to compare timestamps.
3545         (org-em): Add a docstring.
3546         (org-entries-lessp): Use `org-cmp-ts' to compare timestamps.
3547         Implement the following sorting strategies: timestamp-up/down,
3548         scheduled-up/down, deadline-up/down, ts-up/down (for active
3549         timestamps) and tsia-up/down (for inactive timestamps.)
3551         * ob-lilypond.el (ly-process-basic): Bugfix, don't use `pcase'.
3553         * org.el (org-contextualize-validate-key): Check against two new
3554         context predicates [not-]in-buffer.
3556         * org-agenda.el (org-agenda-custom-commands-contexts):
3557         Document the new [not-]in-buffer context predicates.
3559         * ob-core.el (org-ts-regexp): Remove duplicate defconst'ing.
3560         (org-babel-result-regexp): Don't use `org-ts-regexp', use a regexp
3561         string directly.
3563         * ob-lilypond.el (ly-process-basic): Don't use `ly-gen-png' and
3564         friends, rely on the extension of the output file.
3566         * org-archive.el (org-archive-file-header-format): New option.
3567         (org-archive-subtree): Use it.
3569         * ob-lilypond.el (ly-process-basic): Rely on ly-gen-png/pdf/eps to
3570         set the output type.
3572         * org.el (org-read-date-minibuffer-local-map): New variable.
3573         (org-read-date): Use it.
3574         (org-read-date-minibuffer-setup-hook): Mark as obsolete.
3575         (org-read-date): Bind `!' to `diary-view-entries' in order to
3576         check diary entries while setting an Org date.
3578         * org-agenda.el (org-diary): Only keep the descriptions of the
3579         links since Org links are not active in the diary buffer.
3581         * org-faces.el (org-priority): New face.
3583         * org.el (org-font-lock-add-priority-faces): Use the new face.
3585         * org-agenda.el (org-agenda-fontify-priorities): Use the
3586         org-priority face and add specific agenda face on top of it.
3588         * org-agenda.el (org-agenda-show-clocking-issues)
3589         (org-agenda-format-item): Let-bind
3590         `org-time-clocksum-use-effort-durations' to nil.
3592         * org.el (org-ctrl-c-ctrl-c): Only throw a message when using two
3593         universal prefix arguments on a list where all items are already
3594         in a transitory state.  Refine the error when the checkbox cannot
3595         be toggled.
3597         * org.el ("org-loaddefs.el"): Load org-loaddefs.el before
3598         requiring any org library.  Also use `load', not
3599         `org-load-noerror-mustsuffix'.
3600         (org-effort-durations): Move up to fix a compiler warning.
3601         (org-edit-special): Fix typo in docstring.
3602         (org-time-clocksum-format): Add a version tag and add to the
3603         'org-clock group.
3604         (org-time-clocksum-use-fractional): Ditto.
3605         (org-time-clocksum-use-effort-durations): New option to allow
3606         using `org-effort-durations' when computing clocksum durations.
3607         (org-minutes-to-clocksum-string): Use the new option.
3609         * org-clock.el (org-clocktable-write-default): Let-bind
3610         `org-time-clocksum-use-effort-durations' to a new clocktable
3611         parameter ":effort-durations".
3613         * org-entities.el (org-entities): "neg" should be used in LaTeX
3614         math mode.  Add the "neg" entity.
3616         * org-mobile.el (org-mobile-allpriorities): New option.
3617         (org-mobile-create-index-file): Use the new option.
3619         * org-latex.el (org-export-latex-inline-images): New option.
3621         * org.el (org-forward-heading-same-level): Before the first
3622         headline, go to the first headline.
3623         (org-backward-heading-same-level): Before the first headline,
3624         go to the beginning of the buffer, like
3625         `outline-previous-visible-heading' does.
3627         * org-exp.el (org-export-plist-vars): Don't use
3628         `org-export-html-inline-images' to set the :inline-images
3629         property, use distinct properties for the various backends.
3631         * org-publish.el (org-publish-project-alist): Ditto.
3633         * org-latex.el (org-export-latex-links): Use :latex-inline-images
3634         instead of :inline-images.
3636         * org-odt.el (org-compat): Require.
3638         * org.el (org-parse-time-string): Allow strings supported by
3639         tags/properties matcher (eg <now>, <yesterday>, <-7d>).
3641         * org-clock.el (org-clock-rounding-minutes): New option to round
3642         the time by N minutes in the past when clocking in or out.
3643         (org-clock-in, org-clock-in-last, org-clock-out): Use the new
3644         option.
3646         * org.el (org-current-time): New optional parameter
3647         `rounding-minutes' to override the use of
3648         `org-time-stamp-rounding-minutes' for rounding.
3650         * org-clock.el (org-clock-special-range): Small docstring fix.
3651         New parameter 'weekstart to define the week start day.
3652         (org-clock-special-range, org-dblock-write:clocktable)
3653         (org-dblock-write:clocktable, org-clocktable-write-default)
3654         (org-clocktable-steps, org-clock-get-table-data): Use the new
3655         parameter.
3656         (org-clocktable-defaults): Set monday as the starting day of the
3657         week by setting :wstart to 1.
3659         * org.el (org-store-link): Fix the naming of internal links to
3660         lines starting with a keyword.
3662         * org-agenda.el (org-agenda-Quit, org-agenda-quit)
3663         (org-agenda-exit, org-agenda-kill-all-agenda-buffers):
3664         Docstring fixes.
3666         * org.el (org-last-set-property-value): New variable.
3667         (org-read-property-name): Fix dangling parentheses.
3668         (org-set-property-and-value): New command to manually set
3669         both the property and the value.  A prefix arg will use the
3670         last property-value pair set without prompting the user.
3671         (org-set-property): Set `org-last-set-property-value'.
3672         (org-mode-map): Bind the new command to `C-c C-x P'.
3673         (org-find-invisible-foreground): Delete.
3674         (org-mode): Use `face-background' instead of
3675         `org-find-invisible-foreground'.
3676         (org-startup-options): New startup keywords.
3677         (org-log-into-drawer): Update docstring to explain how to set this
3678         variable through the startup keyword "logdrawer" and "nologdrawer".
3679         (org-log-states-order-reversed): Document the new startup keywords
3680         "logstatesreversed" and "nologstatesreversed".
3681         (org-mode-map): Use `org-remap' instead of binding `M-t' to
3682         `org-transpose-words' directly.
3683         (org-syntax-table): New variable.
3684         (org-transpose-words): New command, simply wrapping the new
3685         syntax table around `transpose-words'.
3686         (org-mode-map): Bind `org-transpose-words' to `M-t'.
3687         (org-store-link): Use keyword at point as the search string.  Use
3688         `delq nil' instead of `delete nil'.
3689         (org-make-org-heading-search-string): Rewrite using
3690         org-element.el.  Not an interactive function anymore.
3692         * org-pcomplete.el (pcomplete/org-mode/drawer): Ditto.
3694         * org-mobile.el (org-mobile-files-alist): Ditto.
3696         * org.el (org-store-link): When creating a link to a heading with
3697         a bracket link, don't escape this link with curly braces as the
3698         escaped link is not active anyway; use the description instead.
3699         If the headline only consists of a bracket link, add a star to the
3700         description so that the user knows this is an internal link.
3702         * org-w3m.el (org-w3m-store-link): New function.
3704         * org.el (org-store-link): Update the error message when no method
3705         is available for storing a link.  Use `user-error' for this.
3706         Remove handling w3m links from this function.
3707         (org-insert-heading, org-insert-todo-heading): A double prefix arg
3708         force the insertion of the subtree at the end of the parent
3709         subtree.
3710         (org-store-link): A double prefix argument now skips module
3711         store-link functions to only use Org's core functions.  Also, when
3712         several modular store-link functions match, ask for which one to
3713         use.
3714         (org-cycle, org-cycle-internal-global)
3715         (org-cycle-internal-local, org-display-outline-path): Let-bind
3716         `message-log-max' to nil so that messages don't populate the
3717         *Messages* buffer.
3719         * org-table.el (org-table-eval-formula): Handle localized
3720         time-stamps by internally converting them to english during
3721         formulas evaluation.
3723         * org.el (org-clock-timestamps-up): Fix declarations.
3725         * ob-core.el (org-split-string): Declare function.
3727         * org-html.el (org-html-export-list-line): Add CSS classes to
3728         these list HTML tags: <ul> <dl> and <ol>.
3730         * org-clock.el (org-clock-timestamps-up)
3731         (org-clock-timestamps-down, org-clock-timestamps-change): Add
3732         an optional argument N to change timestamps by several units.
3734         * org.el (org-shiftcontrolup, org-shiftcontroldown): Ditto.
3736         * org-exp.el (org-export-copy-to-kill-ring): Add a new choice
3737         'if-interactive and use it as the default.
3738         (org-export-push-to-kill-ring): Use the new choice.
3740         * org.el (org-block-entry-blocking): New variable.
3741         (org-todo): Use it.  Also use `user-error' when a TODO state
3742         change is blocked.
3743         (org-block-todo-from-children-or-siblings-or-parent): Display
3744         `org-block-entry-blocking' in the user-error message.
3746         * org.el (org-get-cursor-date): New optional argument WITH-TIME to
3747         add the time of the day.
3749         * org-capture.el (org-capture): When capturing from the agenda and
3750         with a non-nil value for `org-capture-use-agenda-date', a `C-1'
3751         prefix will set the capture time to the HH:MM of the current line
3752         or the current HH:MM.
3754         * org-agenda.el (org-agenda-capture): New optional argument
3755         WITH-TIME: when set to 1, the capture time will be set to the
3756         HH:MM time of the current line, or the current HH:MM time.
3758         * org.el (org-latex-preview-ltxpng-directory): Fix docstring
3759         formatting.
3760         (org-deadline-close): Use `org-time-stamp-to-now'.
3761         (org-time-stamp-to-now): Use `org-float-time' instead of the
3762         obsolete `time-to-seconds' function.
3763         (org-format-outline-path): Fix bug: add the separator string after
3764         the prefix.
3765         (org-display-inline-images): Search for #+ATTR within the current
3766         paragraph.
3767         (org-days-to-time): Make obsolete.
3768         (org-time-stamp-to-now): Rename from `org-days-to-time'.
3769         Allow to compare time-stamps based on seconds.
3771         * org-agenda.el (org-agenda-todo-ignore-time-comparison-use-seconds):
3772         New option to compare time stamps using seconds, not days.
3773         (org-agenda-todo-custom-ignore-p)
3774         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3775         Use the new function's name and the new option.
3777         * org-clock.el (org-clock-sound): Enhance docstring.
3778         (org-notify): Use the parameter `play-sound' as argument for
3779         `org-clock-play-sound'.
3780         (org-clock-play-sound): New optional argument `clock-sound' to
3781         override `org-clock-sound'.
3783         * org-agenda.el (org-agenda-format-item): Fix initialization
3784         of the level text property.
3786         * org.el (org-format-outline-path): Small docstring
3787         enhancement.
3788         (org-display-outline-path): Fix order or arguments.
3790         * org.el (org-activate-plain-links)
3791         (org-activate-bracket-links): Add a new 'htmlize-link text
3792         property, so that htmlize (> version 1.42) can linkify the
3793         links.
3794         (org-display-outline-path): Allow a string value for the
3795         `as-string' parameter.  Such a value will replace the "/"
3796         separator in the output.  New argument `as-string'.
3797         (org-refile-keep): New variable.
3798         (org-copy): New command to copy notes.
3799         (org-refile): New parameter msg to override the "Refile" string in
3800         the default prompt.
3801         (org-mode-map): Bind "C-c M-w" to `org-copy'.
3802         (org-refile-get-location): Use the current file name as the
3803         default target when there is no refile history.
3804         (org-cycle-hide-inline-tasks): New function to hide inline tasks
3805         when cycling.
3806         (org-cycle-hook): Use the new function.
3807         (org-entry-put): Fix bug when updating the last clock.
3808         (org-use-last-clock-out-time-as-effective-time): New option.
3809         (org-current-effective-time): Use the new option.
3811         * org-clock.el (org-clock-get-last-clock-out-time): New
3812         function.
3814         * org.el (org-toggle-inline-images): Only send a message when
3815         called interactively.
3816         (org-scan-tags): Fix the declaration and the use of
3817         `org-agenda-format-item'.
3819         * org-agenda.el (org-agenda-add-time-grid-maybe): Use the
3820         correct number of parameters for `org-agenda-format-item'.
3821         Add a docstring.
3823         * org.el (org-outline-level): Go at the beginning of the
3824         headline first to always return a sensible result.
3826         * org-agenda.el (org-search-view, org-agenda-get-todos)
3827         (org-agenda-get-timestamps, org-agenda-get-sexps)
3828         (org-agenda-get-progress, org-agenda-get-deadlines)
3829         (org-agenda-get-scheduled, org-agenda-get-blocks): Return the
3830         correct level depending on `org-odd-levels-only'.
3831         (org-agenda-prefix-format): A new specifier `%l' allows to insert
3832         X spaces when the item is of level X.
3833         (org-search-view, org-get-entries-from-diary)
3834         (org-agenda-get-todos, org-agenda-get-timestamps)
3835         (org-agenda-get-sexps, org-agenda-get-progress)
3836         (org-agenda-get-deadlines, org-agenda-get-scheduled)
3837         (org-agenda-get-blocks, org-agenda-change-all-lines): Add a
3838         new text property 'level, a string with as many whitespaces as
3839         the level of the item.
3840         (org-agenda-format-item, org-compile-prefix-format): Handle
3841         the new `%l' specifier.
3843         * org-colview.el (org-columns-next-allowed-value): Add the
3844         CLOCKSUM property to the list of properties that can be
3845         changed interactively from the column view.
3847         * org.el (org-entry-put): Allow to set the CLOCKSUM property
3848         by updating the most recent clock.  This is useful in the
3849         column view when you want to use S-<left/right> to update the
3850         last clock of the entry at point.
3851         (org-image-actual-width): New choice: use #+ATTR* or fall back on
3852         a number.
3853         (org-display-inline-images): Implement the new choice.
3854         (org-image-actual-width): Rename from `org-image-fixed-width'.
3855         Update the docstring.  Give more choice.
3856         (org-display-inline-images): Use the option new choices.
3857         (org-image-fixed-width): New option to set a fixed width for
3858         inline images.
3859         (org-display-inline-images): Use the new option.
3861         * org-agenda.el (org-class): Allow to use holiday strings for
3862         the `skip-weeks' arguments.
3864         * org.el (org-mode): Set the syntax of the " character to "string
3865         quote".
3867         * org-agenda.el (org-agenda-append-agenda): Bugfix: correctly
3868         check whether we are in `org-agenda-mode'.
3869         (org-agenda): Set `org-agenda-buffer-name' correctly with sticky
3870         agendas and non-custom commands.
3872 2013-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
3874         * org-src.el (org-edit-src-exit): Let overlay survive after the
3875         buffer has been saved.
3877         * ox-texinfo.el (org-texinfo-export-to-texinfo): Use new style
3878         backquoting.
3879         (org-texinfo-export-to-info): Use new style backquoting.
3881         * ob-latex.el (org-babel-execute:latex): Call `file-name-sans-extension'
3882         instead of `file-base-name'.
3884         * org.el (org-insert-heading): Improve whitespace behavior at
3885         end of subtree.
3886         (org-latex-default-packages-alist): Add the `rotating' package to
3887         the list of default packages.  Improve docstring.
3888         (org-insert-property-drawer): Insert only after space in current
3889         line.
3890         (org-forward-paragraph, org-backward-paragraph): Do not deactivate
3891         the mark.
3892         (org-special-ctrl-o): New option.
3893         (org-open-line): Don't do anything special unless `org-special-ctrl-o'
3894         is non-nil.
3896         * org-agenda.el (org-agenda-custom-commands-local-options):
3897         (org-agenda-span, org-agenda-ndays-to-span)
3898         (org-agenda-span-to-ndays, org-agenda-list, org-agenda-later)
3899         (org-agenda-change-time-span, org-agenda-compute-starting-span): Add
3900         support for fortnight view.
3901         (org-agenda-menu): Add fortnight view command.
3902         (org-agenda-fortnight-view): New command.
3904         * org-timer.el (org-clock-sound): Silence compiler.
3906         * org.el (org-beginning-of-line, org-end-of-line): Bind
3907         deactivate-mark to avoid that this command deactivates it.
3908         (org-make-tags-matcher): Do not interpret / in property value as
3909         starter of TODO match.
3910         (org-overview): Preserve point.
3911         (org-read-date-minibuffer-local-map): Don't replace disputed keys
3912         when defining this keymap.
3913         (org-read-date): Remove unnecessary binding of
3914         `org-replace-disputed-keys'.
3915         (org-insert-heading): Allow to remove blank lines if the user does
3916         not want any.
3917         (org-unlogged-message): Fix typo in dostring.
3919         * ob-ruby.el: New customizations `org-babel-ruby-hline-to' and
3920         `org-babel-ruby-nil-to'
3921         (org-babel-ruby-var-to-ruby): Convert incoming 'hlines.
3922         (org-babel-ruby-table-or-string): Convert outgoing nils.
3924         * org.el (org-file-apps-defaults-gnu): Use `xdg-open' to open
3925         files where available.
3927         * org-table.el (orgtbl-radio-table-templates): Improve docstring.
3929         * org.el (org-unlogged-message): New function.
3930         (org-cycle, org-cycle-internal-global, org-cycle-internal-local)
3931         (org-global-cycle, org-display-outline-path): Use
3932         `org-unlogged-message'.
3934         * org-pcomplete.el (org-make-org-heading-search-string): Fix
3935         function declaration.
3936         (pcomplete/org-mode/searchhead): Remove incorrect second arguments
3937         to `org-make-org-heading-search-string'.
3939         * org.el (org-read-date): Turn off replacing disputed keys when
3940         defining the minibuffer keys during date selection.
3941         (org-insert-heading): Improve the empty line insertion behavior.
3942         Basically, never remove empty lines, only add them.
3944         * org-attach.el (org-attach-commit): Use vc-git to find the git
3945         repository.
3947         * org-compat.el (org-move-to-column): Turn off invisibility stuff
3948         for moving the cursor to a column.
3950         * org.el (org-modules): Update with the new module org-mac-link.
3951         (org-display-outline-path): Do not log outline path in Message
3952         buffer.
3953         (org-agenda-ignore-drawer-properties): New option.
3954         (org-agenda-prepare-buffers): Honour
3955         `org-agenda-ignore-drawer-properties'.
3957         * org-clock.el (org-clock-goto): Recenter to thrd line
3959         * org-table.el (orgtbl-send-replace-tbl): Allow multiple spaces
3960         between keywords in RECEIVE ORGTBL lines.
3962         * org.el (org-bookmark-names-plist): New user option.
3963         (org-set-regexps-and-options-for-tags): Use `org-bookmark-names-plist'.
3964         (org-refile): Use `org-bookmark-names-plist'.
3966         * org-capture.el (org-capture-bookmark-last-stored-position): Use
3967         `org-bookmark-names-plist'.
3969         * org.el (org-insert-heading): Rewritten from scratch.
3970         (org-N-empty-lines-before-current): New function
3971         (org-insert-heading-respect-content): Set the correct argument to
3972         force a heading even in lists.
3974         * org-colview.el (org-columns-display-here): Enforce fixed width
3975         font.
3977         * org-faces.el (org-column): Setting font width has been shifted
3978         to org-colview.el.
3980         * org.el (org-mode-flyspell-verify): Check for src block.
3982         * org-table.el (org-table-convert-region): Fix interactive
3983         statement.
3985         * org-ctags.el (org-ctags-path-to-ctags): Avoid usine `case'.
3987         * org.el (org-beginning-of-line, org-end-of-line): Set
3988         disable-point-adjustment when the command ends next to invisible
3989         text.
3991         * ob-lob.el (org-babel-lob-files): Fix custom type.
3993         * org-agenda.el (org-agenda-export-html-style, org-agenda-ndays)
3994         (org-agenda-inactive-leader, org-agenda-day-face-function)
3995         (org-agenda-auto-exclude-function): Fix custom type.
3997         * org-bibtex.el (org-bibtex-prefix): Fix custom type.
3999         * org-clock.el (org-clock-heading-function):
4000         (org-show-notification-handler): Fix custom type.
4002         * org-footnote.el (org-footnote-auto-adjust): Fix custom type.
4004         * org-protocol.el (org-protocol-default-template-key): Fix custom
4005         type.
4007         * org.el (org-make-link-description-function):
4008         (org-link-translation-function):
4009         (org-link-frame-setup):
4010         (org-refile-target-verify-function):
4011         (org-get-priority-function):
4012         (org-use-fast-tag-selection):
4013         (org-columns-modify-value-for-display-function):
4014         (org-sparse-tree-default-date-type):
4015         * ox-html.el (org-html-postamble):
4016         (org-html-postamble-format):
4017         (org-html-preamble-format):
4018         * ox-odt.el (org-odt-content-template-file):
4019         * ox.el (org-export-with-archived-trees):
4020         (org-export-initial-scope): Fix custom type.
4022         * org.el (org-insert-heading): Fix problem with inserting heading.
4023         Check for checkbox at the beginning of the item, not just at the
4024         beginning of the line.
4025         (org-small-year-to-year): Fix docstring typo.
4026         (org-show-siblings): By default, also show siblings from a
4027         bookmark jump.
4029         * org-agenda.el (org-agenda-set-restriction-lock): Highlight only
4030         the headline when agenda is restricted to a subtree.  Do not
4031         highlight the entire subtree.
4033         * org-table.el (org-table-eval-formula): Work-around for calc-eval
4034         regression.
4036         * ox.el (org-export-dispatch): Make sure the last position marker
4037         uses the base buffer if there is one.
4038         (org-export-dispatch-last-position): New variable.
4039         (org-export-dispatch): Save position of cursor at the moment when
4040         the export command is called.  Restore that position temporarily
4041         when repeating the previous export command.
4043         * org.el (org-insert-heading): Shrink whitespace at end of subtree
4044         when `org-insert-heading-respect-content' is on.
4046         * org-list.el (org-sort-list): Respect sorting-type and
4047         getkey-func when they are specified in the call.
4049         * org.el (org-sort-entries): Respect sorting-type and getkey-func
4050         when they are specified in the call.
4051         (org-format-outline-path): New argument SEPARATOR to specify a
4052         string that is inserted between parts of the outline path.
4053         (org-display-outline-path): New argument SEPARATOR, to specify a
4054         string that is inserted between parts of the outline path.
4056         * org-colview.el (org-dblock-write:columnview): Change the capture
4057         of pos to after inserting the original content
4059 2013-11-12  Christian Moe  <mail@christianmoe.com>
4061         * ox-odt.el (org-odt-line-break, org-odt-plain-text): Remove
4062         newline after line-break tag.
4064 2013-11-12  Christophe Junke  <christophe.junke@inria.fr>  (tiny change)
4066         * org.el (org-set-font-lock-defaults): Let footnote fontifications
4067         be done before other links' fontification.  This allows links
4068         appearing inside footnotes to be both visible and active.
4070 2013-11-12  Christopher Schmidt  <christopher@ch.ristopher.com>
4072         * org.el (orgstruct-setup): Major rewrite.
4073         (orgstruct++-mode): Overwrite local non-org vars again.
4074         (orgstruct-mode): Simplify implementation.  Emulate outline's
4075         buffer-invisiblity-spec.
4076         (orgstruct-heading-prefix-regexp): Change default value to nil.
4077         (orgstruct-error): Use `user-error' if available.
4078         {pro,de}motion commands if `orgstruct-heading-prefix-regexp' is
4079         non-nil.  Always use `org-outline-level'.  Bind org-shift*.
4080         (orgstruct-make-binding): Major rewrite.
4081         (org-cycle-global-status, org-cycle-subtree-status): Set state
4082         property.
4083         (org-heading-components): Use `org-heading-regexp' in
4084         orgstruct-mode.
4085         (orgstruct-heading-prefix-regexp, orgstruct-setup-hook): New
4086         options.
4087         (orgstruct-initialized): New variable.
4088         (org-get-local-variables): Honour state property.
4089         (org-run-like-in-org-mode): Use `let' instead of `progv'.  Do not
4090         override variables with non-default values.
4091         (org-forward-heading-same-level): Do not skip to headlines on
4092         another level.  Handle negative prefix argument correctly.
4093         (org-backward-heading-same-level): Use
4094         `org-forward-heading-same-level'.
4096 2013-11-12  Craig Tanis  <craig-tanis@utc.edu>  (tiny change)
4098         * ox-latex.el (org-latex-src-block): Change format string to position
4099         caption after figure content.
4101 2013-11-12  Eric Abrahamsen  <eric@ericabrahamsen.net>
4103         * org.el (org-ctrl-c-ctrl-c): `C-c C-c' on a link is usually a
4104         no-op.  If that link is in a headline, act as if the `C-c C-c' was
4105         called on the headline, not the link.
4107         * ox-html.el (org-html-doctype-alist): New variable holding an
4108         alist of (X)HTML doctypes
4109         (org-html-xhtml-p, org-html-html5-p, org-html-close-tag): New
4110         function.
4111         (org-html-html5-fancy): New export option, determining whether or
4112         not to use HTML5-specific elements.
4113         (org-html-html5-elements): New variable, new HTML5 elements.
4114         (org-html-special-block): Export special blocks to new HTML5
4115         elements.
4116         (org-html-format-inline-image): Use <figure> and <figcaption> for
4117         standalone images.
4118         (org-html-format-inline-image, org-html--build-meta-info)
4119         (org-html--build-head, org-html--build-pre/postable)
4120         (org-html-template, org-html-horizontal-rule)
4121         (org-html-format-list-item, org-html-line-break, org-html-table)
4122         (org-html-verse-block): Changes to allow flavored export.
4124         * ox-latex.el (org-latex--org-table, org-latex-table-row): Allow
4125         use of the "tabu" and "longtabu" table environments.  New table
4126         attribute :spread handles the width specification syntax of "tabu"
4127         and "longtabu" table environments.
4129 2013-11-12  Eric Schulte  <eric.schulte@gmx.com>
4131         * org-bibtex.el (org-bibtex-read-buffer): Reads all bibtex entries
4132         in a buffer.
4133         (org-bibtex-read-file): Read all bibtex entries in a file.
4134         (org-bibtex-import-from-file): Import all bibtex entries from a
4135         file into the current buffer.
4137         * ob-tangle.el (org-babel-load-file): When called with a prefix
4138         argument the tangled emacs-lisp file will be byte compiled.
4140         * ob-tangle.el (org-babel-tangle): Tangled files should not be
4141         writable.
4143         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Better about
4144         when to fully escape the results or just print them close to
4145         verbatim.
4147         * ob.el (org-babel-result-cond): This function should now be used
4148         by all language backends to handle the processing of raw code
4149         block output into scalar results, table results, or ignored
4150         results depending on the value of result-params.
4152         * ob-C.el (org-babel-C-execute): Use org-babel-result-cond.
4154         * ob-R.el (org-babel-R-evaluate-external-process)
4155         (org-babel-R-evaluate-session):
4156         * ob-awk.el (org-babel-execute:awk):
4157         * ob-clojure.el (org-babel-execute:clojure):
4158         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
4159         * ob-fortran.el (org-babel-execute:fortran):
4160         * ob-io.el (org-babel-io-evaluate):
4161         * ob-java.el (org-babel-execute:java):
4162         * ob-lisp.el (org-babel-execute:lisp):
4163         * ob-maxima.el (org-babel-execute:maxima):
4164         * ob-picolisp.el (org-babel-execute:picolisp):
4165         * ob-python.el (org-babel-python-evaluate-external-process):
4166         (org-babel-python-evaluate-session):
4167         * ob-scala.el (org-babel-scala-evaluate):
4168         * ob-sh.el (org-babel-sh-evaluate):
4169         * ob-shen.el (org-babel-execute:shen):
4170         * ob-sql.el (org-babel-execute:sql):
4171         * ob-sqlite.el (org-babel-execute:sqlite): Use
4172         `org-babel-result-cond'.
4174         * ob.el (org-babel-common-header-args-w-values): Add a new "none"
4175         header argument.
4176         (org-babel-execute-src-block): Don't do *any* result processing if
4177         the "none" header argument has been specified.
4178         (org-babel-sha1-hash): Remove the none header argument from header
4179         arg lists when calculating cache sums.
4180         (org-babel-insert-result): Flesh out some documentation.
4182         * ob.el (org-babel-insert-result): Don't escape results in
4183         drawers.
4185         * ob-python.el (org-babel-python-hline-to): Customize hline
4186         conversion to python.
4187         (org-babel-python-None-to): Customize none conversion from python.
4188         (org-babel-python-var-to-python): Use new variable.
4189         (org-babel-python-table-or-string): Use new variable.
4191         * org.el (org-babel-load-languages): Add ob-makefile to
4192         `org-babel-load-languages'.
4194         * ob-makefile.el: New file.
4196         * ob-sh.el (org-babel-sh-evaluate): Don't could 0-length shebangs.
4198         * org.el (org-format-latex): Simplify and now make use of the new
4199         `org-create-formula-image' function.
4200         (org-create-formula-image): Provides a simpler interface to the
4201         two backend-specific functions.
4203         * ob-core.el (org-babel-default-header-args): It is likely that
4204         someone meant to set :padlines to "yes", but accidentally set
4205         :padnewlines to "yes".  Either way lets just remove this which
4206         shouldn't have any functional effect.
4208         * ob-haskell.el (org-babel-default-header-args:haskell): Set
4209         :padlines to "no" by default.
4211         * ob-exp.el (org-babel-exp-non-block-elements): Ignore inline
4212         source block on #+ prefixed lines.
4214         * ob-core.el (org-babel-merge-params): Replace `remove-if' with
4215         `org-remove-if'.  More careful to check that the colname- and
4216         rowname-names header arguments exist during merge.  When merging
4217         parameters, if a variable is replaced with a new value, then
4218         delete colnames/rownames for the original value of that variable.
4220         * ob-ditaa.el (org-babel-ditaa-java-cmd): Make java executable
4221         configurable for ditaa blocks.
4223         * ob-sh.el (org-babel-sh-var-to-string): Fix bug in ob-sh when
4224         dealing with list variables.
4226         * ob-core.el (org-babel-demarcate-block): Include
4227         `org-src-lang-modes' in block demarcation options.
4229         * ob-C.el: Don't modify `org-babel-load-languages' from ob-*
4230         files.
4232         * ob-latex.el (org-babel-latex-htlatex): Set this variable to
4233         "htlatex" (or path to said) to enable svg generation from latex
4234         code blocks.
4235         (org-babel-latex-htlatex-packages): Libraries required for
4236         automatic svg generation.
4237         (org-babel-execute:latex): Generate SVG images directly from latex
4238         code blocks (assumes tikz).
4240         * ob-exp.el (org-babel-exp-non-block-elements): Use lob call name
4241         when exporting.
4243         * ob-scheme.el (org-babel-scheme-get-repl)
4244         (org-babel-scheme-make-session-name)
4245         (org-babel-scheme-execute-with-geiser, org-babel-execute:scheme):
4246         Fix whitespace and indentation.
4248         * ob-core.el (org-babel-set-current-result-hash): Update the
4249         match-string holding the hash data, and correct overlay
4250         maintenance.
4251         (org-babel-find-named-result): Call lines are not results.
4252         (org-babel-where-is-src-block-result): Don't implicitly name the
4253         results of call lines.
4254         (org-babel-exp-non-block-elements): There is now another element
4255         on the call line info list.
4257         * ob-lob.el (org-babel-lob-get-info): Return the name (if any) at
4258         the end of the info list.
4259         (org-babel-lob-execute): Pass the name through to execution.
4261         * ob-core.el (org-babel-execute-src-block): Ensure that the
4262         location is set before anything else is done.
4264         * ob-ref.el (org-babel-ref-parse): Evaluate Emacs Lisp values in
4265         header arguments at the location of the original code block.
4267         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Use new header
4268         arguments.
4270         * ob-core.el (org-babel-common-header-args-w-values): Mention new
4271         header arguments.
4272         (org-babel-expand-body:generic): Use new header arguments.
4273         (org-babel-read-result): More robust matching of examplized
4274         ranges.
4275         (org-babel-result-end): More robust matching of examplized ranges.
4277         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Gnuplot, close
4278         output terminal when opened.
4279         (org-babel-gnuplot-prefix): Customization variable prefix gnuplot
4280         code blocks.
4281         (org-babel-expand-body:gnuplot): Customization variable prefix
4282         gnuplot code blocks.
4284         * ob-core.el (org-babel-params-from-properties): Now returns a
4285         list of alists and does *not* call `org-babel-merge-params'.
4286         (org-babel-parse-src-block-match):
4287         (org-babel-parse-inline-src-block-match):
4288         * ob-exp.el (org-babel-exp-src-block):
4289         (org-babel-exp-non-block-elements):
4290         * ob-lob.el (org-babel-lob-execute): Handle new list of lists
4291         output of `org-babel-params-from-properties'.
4293         * ob-gnuplot.el (org-babel-header-args:gnuplot): Term is a gnuplot
4294         header argument.
4296         * ob-tangle.el (org-babel-tangle): Fixed bug in tangle-file.
4297         Collect tangle modes, and only apply them to the file after all
4298         tangling has completed, including the post-tangle-hook.
4300         * ob-core.el (org-babel-read): Do not read #-prefix header-arg
4301         value as emacs lisp.
4303         * ob-core.el (org-babel-current-src-block-location):
4304         (org-babel-execute-src-block):
4305         * ob-exp.el (org-babel-exp-results):
4306         * ob-lob.el (org-babel-lob-execute): Rename
4307         `org-babel-current-exec-src-block-head' to
4308         `org-babel-current-src-block-location'.
4310         * ob-core.el (org-babel-common-header-args-w-values): Adding the
4311         new :tangle-mode header argument.
4312         (org-babel-read): Read values starting with a "#" character as
4313         emacs lisp.
4315         * ob-tangle.el (org-babel-tangle): Use the new :tangle-mode header
4316         argument.
4318         * org-pcomplete.el (pcomplete/org-mode/block-option/src): Use the
4319         new :tangle-mode header argument.
4321         * ob-exp.el (org-babel-exp-results): Save the code block location
4322         into `org-babel-current-exec-src-block-head' during export.
4324         * ob-comint.el (org-babel-comint-with-output): More robust edebug
4325         spec.
4327         * ob-lob.el (org-babel-lob-execute): Set the
4328         `org-babel-current-exec-src-block-head' variable when executing
4329         inline or lob style code.
4331         * ob-core.el (org-babel-execute-src-block): The
4332         `org-babel-current-exec-src-block-head' variable should point to
4333         the outermost code block.
4335         * org.el (org-some): An org-mode version of the cl some function.
4337         * ob-fortran.el (org-babel-fortran-var-to-fortran): More careful
4338         check if values are matrices.
4340         * org.el (org-every): An Org-mode version of the cl every
4341         function.
4343         * ob-tangle.el (org-babel-tangle-jump-to-org): Use
4344         `org-src-switch-to-buffer' to jump from src to org.  Use the
4345         existing `org-edit-src' functionality to jump back to the correct
4346         point in the code block in the original Org-mode buffer.
4348         * ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Only wrap
4349         gnuplot data values in " when necessary.  Replace missing values
4350         with blank space in gnuplot.
4351         (org-babel-expand-body:gnuplot):
4352         (org-babel-gnuplot-quote-timestamp-field): Fix indentation.
4353         (org-babel-header-args:gnuplot): Declare the.
4354         (org-babel-expand-body:gnuplot): Params is an alist not a plist.
4355         (org-babel-header-args:gnuplot): Declare gnuplot-specific header
4356         argument.
4357         (*org-babel-gnuplot-missing*): Dynamic variable used to hold the
4358         value of the missing header argument.
4359         (org-babel-gnuplot-process-vars): Wrap in local binding for
4360         missing value.
4361         (org-babel-gnuplot-quote-tsv-field): Replace missing value with
4362         the missing header argument value when present.
4364         * ob-org.el (org-babel-expand-body:org): Allow insertion of
4365         non-strings into Org code blocks.
4366         (org-babel-inline-result-wrap): New option controlling the
4367         wrapping of inline results.
4368         (org-babel-examplize-region): Use the new defcustom.
4370         * ox-beamer.el (org-beamer--format-frame): If contents is nil,
4371         then replace it with an empty string.
4373         * ob-core.el (org-babel-read): More restrictive elisp eval of
4374         header arguments.
4376         * ob-lob.el (org-babel-lob-execute): Include default elisp header
4377         args in call lines.
4379         * ob-core.el (org-babel-result-cond): Don't over-evaluate
4380         result-params in macro.
4382         * ob-ruby.el (org-babel-execute:ruby): Use `org-babel-result-cond'
4383         in Ruby code blocks.
4384         (org-babel-ruby-evaluate): Delay table processing.
4386         * ob-js.el (org-babel-execute:js): Use `org-babel-result-cond' in
4387         JavaScript code blocks.
4389         * ob-scheme.el (org-babel-execute:scheme): Use
4390         `org-babel-result-cond' in scheme code blocks.
4392         * ob-ocaml.el (org-babel-execute:ocaml): Use
4393         `org-babel-result-cond' in OCaml code blocks.
4395         * ob-haskell.el (org-babel-execute:haskell): Use
4396         `org-babel-result-cond' in Haskell code blocks.
4398         * ob-core.el (org-babel-result-cond): The "raw", "org" and
4399         "drawer" :results header argument values preclude table processing
4400         unless the "table" argument is given as well.
4401         (org-babel-execute-src-block): Make sure we process file results
4402         before they are passed to the post-processing code block, and not
4403         afterwards.  Tangles these two header arguments in the code, but
4404         makes for more intuitive behavior and enables important use cases.
4405         (org-babel-read): Read code block values with earmuffs as Emacs
4406         Lisp.
4407         (org-babel-common-header-args-w-values): Add :post to the list of
4408         header arguments.
4409         (org-babel-execute-src-block): Post process results when the :post
4410         header argument has been supplied.
4412         * ob-R.el (org-babel-R-initiate-session): Remove unnecessary
4413         save-excursion nested inside a save-window-excursion.
4415         * ob-core.el (org-babel-src-name-w-name-regexp): Update the regexp
4416         used to match code block names.
4417         (org-babel-get-src-block-info): Remove the code used to parse this
4418         alternate variable specification syntax.
4419         (org-babel-insert-result): Cycle tables for :results org and
4420         :results wrap.
4422         * ob-python.el (org-babel-python-initiate-session-by-key): Fixed a
4423         bug pointed out by Gary Oberbrunner.
4424         (org-babel-python-initiate-session-by-key): Add "-i" to the python
4425         command on windows sessions.  Actually setting new session names.
4426         Pass Python buffer names to the new `run-python' command.
4427         (org-babel-python-with-earmufs): Add earmufs to a buffer name.
4428         (org-babel-python-without-earmufs): Remove earmufs from a buffer name.
4429         (org-babel-python-initiate-session-by-key): Set the buffer name in
4430         a way which is understandable by the new python.el
4431         (org-babel-python-buffers): Change the default python buffer name.
4433         * ob-core.el (org-babel-number-p): Don't interpret single "-" as a
4434         number.
4436         * ob-perl.el (org-babel-perl--var-to-perl): Print Perl variables
4437         with a format string.
4439         * ob-core.el (org-babel-where-is-src-block-result): Allow comments
4440         between code blocks and un-named results.
4442         * ob-sqlite.el (org-babel-sqlite-table-or-scalar): Don't read
4443         sqlite output as lisp.
4445         * ob-core.el (org-babel-check-confirm-evaluate): Refactoring.
4446         (org-babel-confirm-evaluate): Fix whitespaces.
4447         (org-babel-execute-src-block): A cond makes it more clear that we
4448         definitely do not execute without user confirmation.
4449         (org-babel-call-process-region-original): Fixed line over 80 chars
4450         long.
4452         * ob-tangle.el (org-babel-tangle-collect-blocks): Update comment
4453         to reflect changed variable name.
4455         * ob-core.el (org-babel-expand-src-block): Return value of
4456         expanded code block on non-interactive calls.
4458         * ob-perl.el (org-babel-perl-var-wrap): Customizable wrapper for
4459         variables in perl code.
4460         (org-babel-perl-var-to-perl): Use said wrapper.
4462         * ob-sql.el (org-babel-execute:sql): Use the org-babel-eval
4463         command instead of shell-command.
4465         * ob-ocaml.el (org-babel-prep-session:ocaml): Check that
4466         `tuareg-run-caml' is defined before use.
4467         (tuareg-run-ocaml): Declare for compiler.
4469         * ob-core.el (org-babel-result-regexp): Simplify regexp given new
4470         time hash layout.
4471         (org-babel-current-result-hash): New match string.
4472         (org-babel-hide-hash): New match string.
4473         (org-babel-where-is-src-block-result): New match string, and
4474         insert hashes in the new format.
4476         * ob-core.el (org-ts-regexp): Declare.
4477         (org-babel-result-regexp): Now matching time stamp as well.
4478         (org-babel-hash-show-time): New variable controlling the display
4479         of time stamps.
4480         (org-babel-current-result-hash):
4481         (org-babel-hide-all-hashes):
4482         (org-babel-where-is-src-block-result): Use hash time stamps.
4484         * ob-core.el: New file.
4486         * org-macs.el: `org-load-noerror-mustsuffix' requires an autoload.
4488 2013-11-12  Feng Shu  <tumashu@gmail.com>
4490         * ox-odt.el (org-odt--translate-latex-fragments):
4491         * ox-html.el (org-html-latex-environment)
4492         (org-html-latex-fragment): Fix imagemagick support.
4494         * org.el (org-create-formula-image-with-imagemagick): Generate
4495         correct size formula image.
4496         (org-format-latex-header): Change pagestyle command position.
4498         * ox-latex.el (org-latex--caption/label-string): Allow to build a
4499         caption string from `:caption' attribute of #+ATTR_LATEX.
4501         * ox.el (org-export-dictionary): Add Simplified Chinese
4502         translations for `org-export-dictionary'.
4504 2013-11-12  Florian Beck  <fb@miszellen.de>  (tiny change)
4506         * org.el (org-activate-bracket-links): Remove escapes from the
4507         help string.
4509 2013-11-12  Francesco Pizzolante  <xxx@public.gmane.org>  (tiny change)
4511         * ox-html.el (org-html-headline): Normalize the construction of
4512         outline-container DIVs by always using the inner headline ID.
4514         * org.el (org-agenda-prepare-buffers): Protect with
4515         `org-unmodified'.
4517 2013-11-12  Gregor Kappler  <gregor@alcedo.(none)>  (tiny change)
4519         * ox.el (org-export-as): Make sure org-export-babel-evaluate is
4520         not nil before calling `org-export-execute-babel-code'.
4522 2013-11-12  Grégoire Jadi  <gregoire.jadi@gmail.com>
4524         * org.el (org-reftex-citation): Fix contrib package name in the
4525         docstring.
4526         (org-preview-latex-fragment, org-display-inline-images): Detect
4527         whether a graphic display is available before inlining images to
4528         prevent an error.
4529         (org-startup-with-latex-preview): New option.
4530         (org-startup-options): New startup keywords for the new option.
4531         (org-mode): Turn on/off LaTeX preview depending on the new option.
4532         (org-reverse-string): Add `org-reverse-string' to reverse a
4533         string.
4535         * org-id.el (org-id-new, org-id-decode): Replace
4536         `org-id-reverse-string' by `org-reverse-string'.
4538         * ob-core.el (org-babel-trim): Replace `org-babel-reverse-string'
4539         by `org-reverse-string' and declare it.
4541 2013-11-12  Gustav Wikström  <gustav.erik@gmail.com>  (tiny change)
4543         * org-agenda.el (org-agenda-filter-by-category): Display all
4544         filtered out categories.
4546 2013-11-12  Ilya Zonov  <izonov@gmail.com>  (tiny change)
4548         * org-mouse.el (org-mouse-context-menu): Add a correct newtext
4549         parameter for "All Set" and "All Clear" menu items.
4551 2013-11-12  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
4553         * org.el (org-insert-todo-heading-respect-content): Pass correct
4554         prefix arg to always insert heading.
4556         * org-agenda.el
4557         (org-agenda-propertize-selected-todo-keywords): New function to
4558         highlight the current agenda todo keywords depending on
4559         `org-todo-keyword-faces'.
4560         (org-todo-list): Use the new function.
4562 2013-11-12  Ippei FURUHASHI  <top.tuna+orgmode@gmail.com>
4564         * org-table.el (org-calc-current-TBLFM): New function to
4565         re-calculate the table by applying the #+TBLFM in the line where
4566         the point is.  Ensure to remove the currently inserted TBLFM line,
4567         when calling `org-table-recalculate' returns an error and the
4568         processing stops.
4570         * org.el (org-ctrl-c-ctrl-c): Call `org-calc-current-TBLFM' when
4571         point is in the #+TBLFM line.
4573         * org-table.el (org-TBLFM-begin): New function.
4574         (org-TBLFM-begin-regexp): New variable.
4576         * org.el (org-at-TBLFM-p): New function.
4577         (org-TBLFM-regexp): New defconst.
4579 2013-11-12  Ivan Vilata i Balaguer  <ivan@selidor.net>  (tiny change)
4581         * org-clock.el (org-clock-get-table-data): Pass tstart and tend
4582         time strings through `org-matcher-time' to allow relative times
4583         besides absolute ones, convert result to encoded time.
4585 2013-11-12  Jambunathan K  <kjambunathan@gmail.com>
4587         * ox-html.el (org-html-code, org-html-verbatim): Transcode value.
4588         (org-html--tags, org-html-format-headline)
4589         (org-html--format-toc-headline, org-html-checkbox)
4590         (org-html-table-cell, org-html-timestamp)
4591         (org-html-verse-block, org-html-special-string-regexps): Replace
4592         named HTML entities with their numeric counterparts.  This keeps
4593         Freemind backend happy.
4595         * org-odt.el (org-export-odt-schema-dir): Modify to accommodate
4596         change in rnc file names.
4598         * org-lparse.el (org-lparse-and-open)
4599         (org-lparse-do-convert): Open exported files with system-specific
4600         application.
4602         * org-odt.el: Don't meddle with `org-file-apps'.
4604 2013-11-12  Jarmo Hurri  <jarmo.hurri@syk.fi>
4606         * org-table.el (org-define-lookup-function): New macro.  Call it
4607         to generate new lookup functions `org-lookup-first',
4608         `org-lookup-last' and `org-lookup-all'.
4610         * org-gnus.el (org-gnus-no-server): New option to start Gnus using
4611         `gnus-no-server'.
4612         (org-gnus-no-new-news): Use the new option.
4614 2013-11-12  Jonas Hoersch  <coroa@online.de>  (tiny change)
4616         * org.el (org-cycle-hide-inline-tasks): Re-hide inline tasks when
4617         switching to 'children visibility state.
4619         * org-inlinetask.el (org-inlinetask-toggle-visibility): Don't use
4620         `org-show-entry' as it cannot unfold an inlinetask properly.
4622 2013-11-12  Jonathan Leech-Pepin  <jonathan.leechpepin@gmail.com>
4624         * ox-texinfo.el: New file.
4626 2013-11-12  Joost Diepenmaat  <joost@zeekat.nl>  (tiny change)
4628         * org.el (org-indent-region): BEGIN_SRC and END_SRC lines should
4629         not be considered part of the source block for the purposes of
4630         indentation.
4632 2013-11-12  Justus Piater  <justus-dev@piater.name>
4634         * org-agenda.el
4635         (org-agenda-skip-deadline-prewarning-if-scheduled): Add an option
4636         to skip the deadline prewarning if the scheduled date is in the
4637         future.
4639 2013-11-12  Kodi Arfer  <git@arfer.net>  (tiny change)
4641         * ox-html.el (org-html-toc): Use <nav> instead of <div> for the
4642         root element when appropriate.
4643         (org-html-paragraph): Wrap "Figure %d:" in <span
4644         class="figure-number">.
4645         (org-html-list-of-tables, org-html-table): Wrap "Table %d:" in
4646         <span class="table-number">.
4647         (org-html-list-of-listings): Wrap "Listing %d:" in
4648         <span class="listing-number">.
4649         (org-html-table): For HTML5, omit :html-table-attributes but not
4650         :id or :attr_html.
4651         (org-html--build-meta-info): Insert no timestamp when
4652         :time-stamp-file is nil.
4654 2013-11-12  Lawrence Mitchell  <wence@gmx.li>
4656         * ox-html.el (org-html-close-tag): Add space before attr.
4658         * ox.el (org-export-resolve-fuzzy-link): Look for fuzzy link in a
4659         cache before trying to resolve it in the parse tree.
4661 2013-11-12  Le Wang  <le.wang@agworld.com.au>
4663         * org-src.el (org-edit-src-code): Use marker with insertion type t
4664         to track end and remove hack requiring delete from beg to (1-
4665         end).
4667 2013-11-12  Max Mikhanosha  <max@openchat.com>
4669         * org-habit.el (org-habit-get-faces): Add show done days green
4670         option.
4672         * org-agenda.el (org-agenda-format-item): Ensure effort is "" when
4673         unset
4675 2013-11-12  Michael Brand  <michael.ch.brand@gmail.com>
4677         * org-table.el (org-table-eval-formula): Align the arrow pointing
4678         to the error in a Calc formula to the other fomula debugger logs.
4680         * org.el (org-link-escape-chars-browser): Add char double quote.
4681         (org-open-at-point): Use the constant
4682         `org-link-escape-chars-browser'.
4684         * org-table.el (org-table-get-remote-range): Extend regexp to
4685         match "#+NAME: table" additionally to "#+TBLNAME: table".
4687         * org-table.el (org-table-eval-formula): Use `keep-empty' in more
4688         places.  Keep empty fields during preprocessing.
4689         (org-table-make-reference): Use nan (not a number) for empty
4690         fields in Calc formulas.  A range with only empty fields should
4691         not always return 0 but also empty string, consistent with field
4692         reference of an empty field.  Use future design for nan but
4693         replicate current behavior.
4694         (org-table-number-regexp): Extend 0x hex to fixed-point number,
4695         add <radix>#<number>, add Calc infinite numbers uinf, -inf and
4696         inf.
4698 2013-11-12  Muchenxuan Tong  <demon386@gmail.com>  (tiny change)
4700         * org-mobile.el (org-mobile-push): Add `save-restriction'.
4702 2013-11-12  Nicolas Goaziou  <n.goaziou@gmail.com>
4704         * ox-latex.el (org-latex-compile): Remove all numbered temporary
4705         files after compiling.
4707         * org-element.el (org-element-headline-interpreter): Take into
4708         consideration `org-odd-levels-only' when building a headline.
4710         * ox-org.el (org-org-headline): Correctly set transcoded headline
4711         level during subtree export.
4713         * ox-html.el (org-html--format-toc-headline): TOC entries are
4714         closer to regular headline formatting.
4716         * org-element.el (org-element-context): Fix error when parsing
4717         affiliated keywords, e.g. "caption".
4719         * org.el (org-do-emphasis-faces): Look for verbatim status at
4720         correct location.
4721         (org-open-at-point): Check if link is non-nil before matching it.
4722         (org-export-insert-default-template): Make sure strings are
4723         properly quoted when inserting a template.  Specifically, default
4724         value for drawers should be d:(not "LOGBOOK"), not d:(not
4725         LOGBOOK).
4726         (org-insert-heading): Do not error out when inserting is to be
4727         done at one of the buffer's boundaries.
4729         * ox-latex.el (org-latex-listings-options): Use correct number of
4730         backslash characters in the example.
4732         * org-element.el (org-element-latex-or-entity-successor)
4733         (org-element-latex-fragment-parser): Use `org-latex-regexps'
4734         instead of `org-format-latex-options'.
4736         * ox-ascii.el:
4737         * ox-beamer.el:
4738         * ox-html.el:
4739         * ox-icalendar.el:
4740         * ox-md.el: Remove comments at the beginning of the file since
4741         the library is documented in Org manual.
4743         * org-element.el (org-element--list-struct): Use
4744         `org-match-string-no-properties'.  Fix block parsing in lists.
4746         * ox-publish.el (org-publish-all): Fix compilation problem.
4748         * org-element.el (org-element-timestamp-interpreter): Correctly
4749         interpret timestamps with delays.
4750         (org-element-timestamp-parser)
4751         (org-element-timestamp-interpreter): Parse warning delays.
4753         * ox-beamer.el (org-beamer--format-section): Fix regression which
4754         prevents frames from being propely exported.
4756         * ox.el (org-export-with-backend): Ensure function will use
4757         provided back-end.
4759         * org-list.el (org-list-allow-alphabetical): Remove reference to
4760         unused VALUE.
4762         * ox-beamer.el (org-beamer--format-section): Protect fragile
4763         commands in sections.
4765         * org.el (org-ctrl-c-ctrl-c): When using C-c C-c at an item with
4766         point on a link, make sure checkbox, if any, is toggled.
4768         * ox-beamer.el (org-beamer--format-block): Return an error message
4769         when using a special environment as a block type.  Also check for
4770         incomplete environment definitions.
4772         * org-element.el (org-element-at-point): If point is at the end of
4773         the buffer, and that buffer ends with a list, and there's no final
4774         newline, return last element in last item instead of plain list.
4775         Fix infloop when called on a blank line at the end of the buffer
4776         after a headline.
4778         * org.el (org-forward-paragraph, org-backward-paragraph): New
4779         functions.
4781         * org.el (org-meta-return): Allow M-RET to insert items within
4782         drawers.  Rewrite function.
4784         * org-element.el (org-element-footnote-definition-parser): Fix
4785         value for :contents-begin when first line of footnote definition
4786         is empty besides the label.
4787         (org-element-at-point): Return correct element when point is on a
4788         blank line just below a headline.
4789         (org-element-paragraph-parser): Use
4790         `org-match-string-no-properties'.  Small fixes to paragraph
4791         parsing.
4793         * org.el (org-adaptive-fill-function): Do not handle
4794         `adaptive-fill-regexp' in comments as the behavior is not
4795         satisfying.
4797         * org-list.el (org-list-struct-apply-struct): Do not move item's
4798         contents within a child above when repairing indentation.
4800         * ox-html.el (org-html--build-meta-info): Fix output of meta tags
4801         when properties are present.
4803         * ox.el (org-export-collect-headlines): Do not build TOC for
4804         headlines below H value.
4806         * org-element.el (org-element-context): Modify misleading
4807         comment.
4808         (org-element-text-markup-successor)
4809         (org-element-latex-or-entity-successor)
4810         (org-element-export-snippet-successor)
4811         (org-element-footnote-reference-successor)
4812         (org-element-inline-babel-call-successor)
4813         (org-element-inline-src-block-successor)
4814         (org-element-line-break-successor, org-element-link-successor)
4815         (org-element-plain-link-successor, org-element-macro-successor)
4816         (org-element-radio-target-successor)
4817         (org-element-statistics-cookie-successor)
4818         (org-element-sub/superscript-successor)
4819         (org-element-table-cell-successor, org-element-target-successor)
4820         (org-element-timestamp-successor): Remove LIMIT argument.
4821         (org-element--parse-objects, org-element--get-next-object-candidates):
4822         Apply signature change to successors.
4823         (org-element-context): Narrow buffer around object containers so
4824         parsing of objects when using this function is done under the same
4825         restrictions as in buffer parsing.
4827         * ox.el (org-export-table-cell-alignment): Ensure required
4828         variables are available.  Use correct :test.
4829         (org-export-table-cell-width): Modify key (now an element) and
4830         value structure (now a vector) of cache so it can use `eq' as
4831         test.  Elements are circular lists so `equal' cannot apply on them.
4833         * ox-publish.el (project-plist): Remove variable.
4835         * ox.el (org-export-to-buffer, org-export-to-file): Fix
4836         docstrings.
4838         * ox-org.el (org-export-as-org): Add missing BODY-ONLY argument,
4839         which is always nil in this back-end.
4841         * org.el (org-adaptive-fill-function): Look for a fill prefix at
4842         the beginning of the paragraph and subsquently on its second line
4843         instead of the current line.
4845         * ob-core.el (org-babel-get-src-block-info): Look for indentation
4846         value at the correct location.
4848         * ox.el (org-export-data-with-backend): Set temporary back-end as
4849         the new back-end in local communication channel.
4850         (org-export-filter-apply-functions): Handle corner case where
4851         back-end is nil.  Only provide back-end name (a symbol) as second
4852         argument of filters, not the full back-end (a vector).
4854         * ox-publish.el (org-publish-find-title): Fix title when no
4855         #+TITLE property is provided.
4857         * ox.el (org-export-store-default-title): Remove-function.
4858         (org-export--default-title): Remove variable.
4859         (org-export-options-alist): Do not use a default value.
4860         (org-export--get-buffer-attributes): Store a default title.
4861         (org-export-as): Apply function removal.
4862         (org-export--get-global-options): Do not set a property with an
4863         explicitly nil value.
4865         * ox-publish.el (org-publish-sitemap-sort-files)
4866         (org-publish-sitemap-sort-folders)
4867         (org-publish-sitemap-ignore-case, org-publish-sitemap-requested)
4868         (org-publish-sitemap-date-format)
4869         (org-publish-sitemap-file-entry-format): Set prefix to
4870         "org-publish-sitemap" instead of "org-sitemap".
4871         (org-publish-compare-directory-files)
4872         (org-publish-get-base-files-1, org-publish-projects)
4873         (org-publish-format-file-entry): Use new prefix.
4875         * org-clock.el (org-clock-total-time-cell-format)
4876         (org-clock-file-time-cell-format): Use correct type.
4878         * ob-haskell.el:
4879         * ox-ascii.el (org-ascii-export-as-ascii)
4880         (org-ascii-export-to-ascii):
4881         * ox-beamer.el (org-beamer-export-as-latex)
4882         (org-beamer-export-to-latex, org-beamer-export-to-pdf):
4883         * ox-html.el (org-html-export-as-html, org-html-export-to-html):
4884         * ox-icalendar.el (org-icalendar-export-to-ics):
4885         * ox-latex.el (org-latex-export-as-latex)
4886         (org-latex-export-to-pdf):
4887         * ox-man.el (org-man-export-to-man, org-man-export-to-pdf):
4888         * ox-md.el (org-md-export-as-markdown, org-md-export-to-markdown):
4889         * ox-odt.el (org-odt-export-to-odt):
4890         * ox-org.el (org-org-export-as-org, org-org-export-to-org):
4891         * ox-publish.el (org-publish-org-to):
4892         * ox-texinfo.el (org-texinfo-export-to-texinfo)
4893         (org-texinfo-export-to-info):
4894         * ox.el (org-export-to-buffer): Add two arguments: one to trigger
4895         asynchronous export and the other to do extra processing from
4896         within the buffer.
4897         (org-export-to-file): Add two arguments: one to trigger
4898         asynchronous export and the other to do extra processing on the
4899         output file.
4900         (org-export-async-start): Small clean up.
4902         * ox.el (org-export-as): Use new back-end structure.
4903         (org-export-current-backend): New variable.
4904         (org-export-as): Use new variable.
4906         * ox-ascii.el (org-ascii-table): Remove spurious new line between
4907         a table and the caption below.
4909         * ox.el (org-export-to-file): Preserve coding system when writing
4910         output.
4911         (org-export-stack-mode-map): Fix compilation error with Emacs <
4912         24.
4913         (org-export--dispatch-action): Maintain compatibility with Emacs
4914         23.
4916         * org.el (org-adaptive-fill-function, org-fill-paragraph): Add
4917         support for `adaptive-fill-regexp' in paragraphs and comments.
4918         (org-indent-line): Fix indentation after a list.
4920         * ox.el (org-export--get-inbuffer-options): Multiple options can
4921         now be set through the same buffer keyword.
4923         * org-element.el (org-element-plain-list-parser): Fix infloop when
4924         parsing a list at the end of buffer, if buffer doesn't end at a
4925         line beginning.
4926         (org-element-link-parser): Do not url-decode parsed links.
4928         * org-pcomplete.el (pcomplete/org-mode/file-option): Remove
4929         spurious white spaces, excepted for source blocks' opening string.
4930         Small refactoring.
4931         (pcomplete/org-mode/file-option): Remove spurious colons from
4932         block boundaries.
4934         * ox-publish.el (org-publish-find-date): Also return date for
4935         directories.
4936         (org-publish-get-base-files-1): Fix :recursive parameter ignoring
4937         extension restriction.
4939         * ox-beamer.el: Remove strange indentation in default header.
4940         (org-beamer-template): Fix missing newlines in header.
4942         * ox-latex.el (org-latex-template): Fix missing newlines in
4943         header.
4945         * ox.el (org-export-insert-default-template): Fix
4946         "wrong-type-argument" error in template insertion.
4948         * org.el (org-fill-paragraph): Use empty commented lines as
4949         separators when filling comments.  This mimics default behavior
4950         from "newcomment.el", which is not used in Org.
4952         * ox-html.el (org-html-link): Add image attributes to "img" tag,
4953         not to the "a" container.  Also fix spacing for attributes.
4955         * org.el (org-fill-paragraph): Do not mix consecutive comments
4956         when filling any of them.
4958         * ox-html.el (org-html-format-headline--wrap): Fix number of
4959         arguments when setting `org-html-format-headline-function'.
4961         * org-element.el (org-element-item-interpreter): This patch fixes
4962         "(wrong-type-argument arrayp nil)" error when trying to interpret
4963         empty items.  Correctly interpret back plain lists with "*" items.
4964         This fixes "This is not a list" error returned in this case.
4966         * ox-latex.el (org-latex-listings): Update docstring.
4968         * org-pcomplete.el (pcomplete/org-mode/file-option/options): Apply
4969         changes to export back-end definiton.
4971         * org.el (org-get-export-keywords): Apply changes to export
4972         back-end definiton.
4974         * ox-html.el (org-html--format-toc-headline): Make use of
4975         anonymous back-ends.
4977         * ox-odt.el (org-odt-footnote-reference): Make use of anonymous
4978         back-ends.
4979         (org-odt-format-label, org-odt-toc)
4980         (org-odt-format-headline--wrap): Use `org-export-with-backend'
4981         instead of `org-export-with-translations'.
4983         * ox.el (org-export--registered-backends): Renamed from
4984         `org-export-registered-backends'.
4985         (org-export-invisible-backends): Removed variable.
4986         (org-export-get-backend, org-export-get-all-transcoders
4987         org-export-get-all-options, org-export-get-all-filters): New
4988         functions.  It replaces `org-export-backend-translate-table'.
4989         (org-export-barf-if-invalid-backend, org-export-derived-backend-p,
4990         org-export-define-backend, org-export-define-derived-backend):
4991         Rewrite functions using new representation.
4992         (org-export-backend-translate-table): Remove function.
4993         (org-export-get-environment): Use new function.
4994         (org-export--get-subtree-options, org-export--parse-option-keyword,
4995         org-export--get-inbuffer-options, org-export--get-global-options,
4996         org-export-to-buffer org-export-to-file, org-export-string-as
4997         org-export-replace-region-by): Update docstring.
4998         (org-export-data-with-translations): Remove function.  Use
4999         `org-export-data-with-backend' with a temporary back-end instead.
5000         (org-export-data-with-backend, org-export-as): Reflect new definition
5001         for back-ends.
5002         (org-export--dispatch-action, org-export--dispatch-ui): Reflect new
5003         definition for back-ends and variable removal.  Refactoring.
5004         (org-export-filter-apply-functions): Call functions with
5005         current back-end's name, not full back-end.
5007         * org.el (org-export-backends, org-create-formula--latex-header):
5008         Use new structure and variables.
5010         * ox-html.el (org-html-inline-images): Change default value and
5011         remove `maybe'.
5012         (org-html-format-inline-image): Remove functions.
5013         (org-html--wrap-image, org-html--format-image)
5014         (org-html-inline-image-p): New functions.
5015         (org-html-latex-environment, org-html-latex-fragment): Use new
5016         functions.
5017         (org-html-standalone-image-p): Use new functions.  Also remove an
5018         unused optional argument.
5019         (org-html-link, org-html-paragraph): Correctly export hyperlinked
5020         images.
5022         * ox.el (org-export-dictionary): Update some translations.
5024         * ox-odt.el (org-odt-label-styles, org-odt-category-map-alist):
5025         Fix docstring.
5026         (org-odt-format-label): Add docstring.  Internationalize prefix.
5028         * ox.el (org-export-dictionary): Add entry for colons.
5030         * ox-odt.el (org-odt--suppress-some-translators): Remove function.
5032         * ox-html.el (org-html-link): Remove left-over binding.
5034         * ox-beamer.el (org-beamer-environments-extra): Allow to add raw
5035         title in environment definition.
5036         (org-beamer--format-block): Handle new placeholders.
5038         * ox-html.el (org-html-link): Small refactoring.
5040         * org-element.el (org-element--current-element): Fix
5041         org-meta-return error at the end of buffer.
5043         * ox-odt.el (org-odt-category-map-alist): Fix internationalization
5044         of "Table" and "Listing".
5046         * ox.el (org-export-dictionary): Remove useless dictionary
5047         entries.
5049         * ox-ascii.el (org-ascii--build-caption): Apply removal.
5051         * ox.el (org-export-dictionary): Add spanish and german
5052         translations.
5054         * ox-odt.el (org-odt-link): Fuzzy links to an headline with a
5055         description always use that description, even if the description
5056         is the same as the headline title.
5057         (org-odt-plain-text): Allow to turn smart quotes off.
5059         * ox-latex.el (org-latex--get-footnote-counter): Remove function.
5061         * org.el (org-setup-filling): Set `paragraph-start' and
5062         `paragraph-separate'.
5063         (org-fill-paragraph-separate-nobreak-p): Remove function.
5064         (org-mode): Do not set `paragraph-start'.
5066         * ox-html.el (html): Replace "HTML_HTML5_FANCY",
5067         "HTML_INCLUDE_STYLE" and "HTML_INCLUDE_SCRIPTS" with,
5068         respectively, ":html5-fancy", "html-style" and "html-scripts"
5069         options.
5070         (org-html-html5-fancy): Reformat docstring.
5071         (org-html-template): Fix typo preventing insertion of link up/link
5072         home anchors.
5074         * org.el (org-create-formula--latex-header): Replace AUTO with
5075         appropriate language when previewing snippets.
5077         * ox-latex.el (org-latex-item): Allow hyperref and footnotemark in
5078         items description tags.  Also remove a unnecessary hack allowing
5079         footnotemark with an optional argument in the tag.
5081         * ox.el (org-export-resolve-fuzzy-link): Fix link resolution when
5082         link lives before the first headline.
5084         * org-element.el (org-element-special-block-parser): Fix typo in
5085         regexp matching block type.  Also quote the type so it can contain
5086         special characters.
5088         * ox-latex.el (org-latex-pdf-process): This argument can cause
5089         problem with links with a relative path, since compilation happens
5090         in a different directory.
5092         * org.el (org-latex-default-packages-alist): Load "ulem" package
5093         by default.  Use "[normalem]" option to preserve \emph definition.
5095         * ox-latex.el (org-latex-text-markup-alist): Use "\uline" and
5096         "\sout" commands from "ulem" package.
5098         * org.el (org-latex-default-packages-alist): Document need for
5099         "soul" package.
5101         * ox-latex.el (org-latex-text-markup-alist): Use \ul (from "soul"
5102         package) instead of \underline for underline text.
5104         * ox.el (org-export-read-attribute): Fix "Wrong argument type"
5105         error when attributes start with :key "".
5107         * org.el (org-fill-paragraph-separate-nobreak-p)
5108         (org-fill-line-break-nobreak-p)
5109         (org-fill-paragraph-with-timestamp-nobreak-p): Fix docstrings.
5111         * org-element.el (org-element--list-struct): Fix failing
5112         "plain-list-parser" test.
5114         * ox-latex.el (org-latex-src-block): Handle :float attribute.
5115         Its value can be set to "t", "multicolumn" or "nil".  Also remove
5116         :long-listing attribute, which is now replaced with :float nil.
5117         (org-latex--org-table): Replace :float table with :float t.
5118         (org-latex--inline-image): Replace :float figure with :float t.
5119         (org-latex-long-listings): Remove variable.
5121         * org-element.el (org-element--list-struct): New function.
5122         (org-element-plain-list-parser, org-element--current-element): Use
5123         new function.
5125         * ox-man.el (org-man-compile):
5126         * ox-texinfo.el (org-texinfo-compile): Use appropriate argument.
5128         * ox-latex.el (org-latex-compile):
5129         * ox-man.el (org-man-compile):
5130         * ox-texinfo.el (org-texinfo-compile): Properly set working
5131         directory.
5133         * ox-latex.el (org-latex-compile):
5134         * ox-texinfo.el (org-texinfo-compile): Make sure generated file
5135         can be found by `file-exists-p'.
5137         * ox-md.el (md): Delegate underscore transcoding to HTML back-end.
5139         * org-element.el (org-element--remove-indentation): Small
5140         optimization.
5141         (org-element--remove-indentation): New function.
5142         (org-element-example-block-parser, org-element-src-block-parser):
5143         Use new function.
5144         (org-element-src-block-interpreter): Update function according to
5145         change.
5147         * ox.el (org-export-unravel-code): Do not remove any indentation
5148         since it now happens at the parser level.
5149         (org-export-table-cell-width): Be sure to use cache even when
5150         stored value is nil.
5151         (org-export--default-title): Fix "Symbol's value as variable is
5152         void: org-export--default-title".
5154         * ox-ascii.el (org-ascii--table-cell-width): Cache results of this
5155         internal function since it is called at each cell, though its
5156         value only change column wise.
5158         * ox.el (org-export-resolve-fuzzy-link): Change property name
5159         holding cache.
5160         (org-export-table-has-header-p, org-export-table-row-group)
5161         (org-export-table-cell-width, org-export-table-cell-alignment):
5162         Cache results.
5163         (org-export-table-cell-address): Refactor.
5164         (org-export-get-parent): Inline function.
5165         (org-export-options-alist): Change default value for :title
5166         property.
5167         (org-export--default-title): New dynamically scoped variable.
5168         (org-export-store-default-title): New function.
5169         (org-export--get-buffer-attributes): Remove title handling.
5170         (org-export--get-global-options): Revert "ox: Fix default title".
5171         Refactor code.
5173         * ox-html.el (org-html-format-latex): Provide a prefix for
5174         temporary file when using dvipng, even if the current buffer isn't
5175         associated to a file.
5177         * ox.el (org-export-resolve-radio-link): Ignore whitespace
5178         differences when resolving a radio link.
5179         (org-export-resolve-radio-link): Fix radio target resolution.
5181         * org-element.el (org-element--current-element): Be stricter when
5182         matching arguments in LaTeX environments.  In particular, do not
5183         allow anything else than options and arguments in the opening
5184         line.
5186         * ox-html.el (org-html-inner-template): Remove code relative to
5187         bibliography.
5188         (org-html-bibliography): Remove function.
5190         * ox-latex.el (org-latex-plain-text): Protect ^ char with \^{},
5191         not only \^, so it doesn't become a diacritic.
5193         * ox-html.el (org-html--build-meta-info): Fix code typo.
5195         * ox.el (org-export-expand-include-keyword): Avoid using `read' to
5196         determine file name.
5197         (org-export--get-global-options): Properly set default title,
5198         i.e. when to TITLE keyword is provided.
5200         * org-element.el (org-element--parse-elements): Also parse visible
5201         headlines within an otherwise compacted headline.
5203         * ox.el (org-export-expand-include-keyword): Tolerate included
5204         file names without double quotes.
5205         (org-export-resolve-fuzzy-link): Fix caching process.
5207         * ox-publish.el (org-publish-find-date): Fix "Invalid time
5208         specification" error with timestamps in DATE.
5210         * org-element.el (org-element--current-element): Allow the opening
5211         string of a LaTeX environment to contain additional arguments.
5213         * org.el (org-insert-heading): Refactor to use `org-in-item-p'
5214         only once.
5216         * ox.el (org-export-expand): Optionally add affiliated keywords to
5217         results.
5219         * ox-org.el (org-org-identity): Use new argument for
5220         `org-export-expand'.
5222         * org.el (org-fill-paragraph): Move to table beginning before
5223         aligning the table when M-q is called from an affiliated keyword.
5225         * org-list.el (org-list-allow-alphabetical): Properly update
5226         `org-list-allow-alphabetical' when changed after org.el has been
5227         loaded.
5229         * org-element.el (org-element-fixed-width-interpreter): Fix
5230         interpretation of fixed-width elements with a nil or empty string
5231         value.
5233         * ox-html.el (org-html-link): Don't skip the link description when
5234         it matches the name of the headline it targets.
5236         * ox-html.el (org-html-link): Don't skip the link description when
5237         it matches the name of the headline it targets.
5239         * ox-ascii.el (ascii): Remove inexistant function.
5241         * ox-icalendar.el (icalendar): Ignore footnotes.
5242         (org-icalendar--combine-files): Small refactoring.
5244         * ox.el (org-export--skip-p, org-export--interpret-p): When
5245         `org-export-with-footnotes' is nil, ignore completely footnotes
5246         references and definitions instead of exporting them verbatim.
5248         * ox-beamer.el (org-beamer--frame-level): Small refactoring.
5249         (org-beamer--format-block, org-beamer-headline): Do not systematically
5250         downcase environment names as some require upper case in their
5251         names (e.g. noteNH and CJK).
5253         * ox.el (org-export-with-timestamps): Only applies to isolated
5254         timestamps, i.e. timestamps in a paragraph containing only
5255         timestamps and empty strings.
5256         (org-export--skip-p): Skip timestamps according to new behavior.
5258         * ox-latex.el (org-latex--script-size): Handle consecutive
5259         alterning sub and superscript.
5261         * ox-org.el (org-org-identity): Fix docstring.  Tiny refactoring.
5262         (org-org-headline, org-org-keyword): Fix docstring.
5264         * ox-latex.el (org-latex--script-size): Use \text command for
5265         subscript and superscript.  This is far superior to \mathrm, but
5266         it requires "amstext" package.  In particular, accented characters
5267         are now allowed within sub/superscript.
5269         * org.el (org-latex-default-packages-alist): Add "amstext"
5270         package.
5272         * ox-latex.el (org-latex--script-size): Fix error when using
5273         sub/superscript within sub/superscript.
5275         * ox-latex.el (org-latex--script-size): New function.
5276         (org-latex-subscript, org-latex-superscript): Use new function.
5277         Remove instructions since everything is documented in Org manual.
5279         * ox.el (org-export-with-smart-quotes): Use LATEX instead of LaTeX
5280         for keywords, the latter being hard to type, somewhat difficult to
5281         read, and overall just pedantic.
5283         * ox-latex.el (org-latex-classes): Be more explicit about
5284         LATEX_HEADER_EXTRA.
5286         * ox-html.el (org-html--build-meta-info): Fix invalid characters
5287         in html attributes.
5289         * ox.el (org-export-filters-alist): Remove macro filter.
5290         (org-export-filter-macro-functions): Remove variable.
5292         * ox-beamer.el (beamer): Install a default class set-up when
5293         loading library.
5295         * ox-latex.el (org-latex-classes): Update docstring.
5297         * ox-latex.el (org-latex--inline-image): Remove specific default
5298         image width for floats.  If no width nor height is provided, it
5299         should default to `org-latex-image-default-width' value.
5301         * org.el (org-extract-attributes-from-string)
5302         (org-attributes-to-string): Remove functions.
5304         * ox-html.el (html): Rename :html-table-tag property into
5305         :org-table-attributes.
5306         (org-html-table-default-attributes): New variable.
5307         (org-html-table-tag): Removed variable.
5308         (org-html--make-attribute-string): New function.
5309         (org-html-link--inline-image, org-html-table): Use new function.
5310         (org-html-splice-attributes, org-export-splice-style): Remove
5311         functions.
5312         (org-html-inline-image-rules): Remove out of context part of the
5313         docstring.
5315         * ox.el (org-export-read-attribute): Allow to use empty strings in
5316         attributes.
5318         * ox-html.el (org-html-metadata-timestamp-format): New variable,
5319         renamed from `org-html--timestamp-format'.
5320         (org-html--build-meta-info, org-html-format-spec,
5321         org-html--build-pre/postamble): Use new variable.
5323         * ox.el (org-export-table-row-number): New function.
5324         (org-export-table-cell-address): Use new function.
5326         * org-element.el (org-element-table-cell-successor): Parse table
5327         cells with missing ending space.
5329         * ox-latex.el (org-latex--math-table): Fix inline-math table
5330         environment.
5332         * ox-html.el (org-html-doctype): Make value fit on a single line
5333         so `org-export-insert-default-template' can handle it.
5334         (org-html-creator-string): Change default value.
5336         * ox.el (org-export-creator-string): Change default value.
5338         * ox-html.el (org-html-postamble-format)
5339         (org-html-preamble-format): Allow last modification time of source
5340         in template.  Fix docstrings.
5341         (org-html-format-spec): Produce last modification time when the source
5342         is a file.
5344         * ox.el (org-export-with-archived-trees, org-export-with-author)
5345         (org-export-with-clocks, org-export-with-date)
5346         (org-export-creator-string, org-export-with-drawers)
5347         (org-export-with-email, org-export-with-emphasize)
5348         (org-export-exclude-tags, org-export-with-fixed-width)
5349         (org-export-with-footnotes, org-export-with-latex)
5350         (org-export-headline-levels, org-export-default-language)
5351         (org-export-preserve-breaks, org-export-with-entities)
5352         (org-export-with-inlinetasks, org-export-with-planning)
5353         (org-export-with-priority, org-export-with-section-numbers)
5354         (org-export-select-tags, org-export-with-smart-quotes)
5355         (org-export-with-special-strings)
5356         (org-export-with-statistics-cookies)
5357         (org-export-with-sub-superscripts, org-export-with-toc)
5358         (org-export-with-tables, org-export-with-tags)
5359         (org-export-with-tasks, org-export-time-stamp-file)
5360         (org-export-with-timestamps, org-export-with-todo-keywords): Fix
5361         docstrings.
5363         * ox-html.el (org-html-postamble-format): Slightly change default
5364         value so "Generated by" string doesn't get duplicated.
5365         (org-html-creator-string): Fix docstring.
5367         * ox.el (org-export--get-inbuffer-options)
5368         (org-export--list-bound-variables)
5369         (org-export--generate-copy-script, org-export-string-as)
5370         (org-export-expand-include-keyword)
5371         (org-export--prepare-file-contents): Inhibit startup process when
5372         calling `org-mode'.
5374         * ox-publish.el (org-publish-find-date): Fix "bad timestamp" error
5375         with some DATE values: :date property in communication channel is
5376         no longer a string.
5378         * ox.el (org-export-insert-default-template): New function.
5379         (org-export--dispatch-ui, org-export--dispatch-action): Access to
5380         the function through the dispatcher.
5382         * ox-icalendar.el (org-icalendar-convert-timestamp): Update
5383         docstring.
5384         (org-icalendar-dtstamp): New function.
5385         (org-icalendar--vevent, org-icalendar--vtodo): Use new function.
5387         * ox-ascii.el (org-ascii-link):
5388         * ox-html.el (org-html-keyword):
5389         * ox-latex.el (org-latex-keyword, org-latex-link):
5390         * ox-man.el (org-man-keyword):
5391         * ox-md.el (org-md-link):
5392         * ox-odt.el (org-odt-keyword):
5393         * org.el (org-store-link, org-link-search, org-options-keywords):
5394         Remove reference to TARGET keyword.
5396         * ox.el (org-export-resolve-fuzzy-link, org-export-get-ordinal):
5397         Do not use TARGET as a destination for links anymore.
5399         * ox-org.el (org): Add a menu entry for the back-end.
5400         (org-org-export-as-org, org-org-export-to-org): New functions.
5402         * org.el (org-export-backends): Accept `org' as a loadable
5403         back-end.
5405         * ox-ascii.el (org-ascii-template--document-title): Use new function.
5407         * ox-beamer.el (org-beamer-template): Use new function.
5409         * ox-html.el (org-html-format-spec): Use new function.
5411         * ox-latex.el (org-latex-template): Use new function.
5412         (org-latex-date-timestamp-format): Remove variable.
5414         * ox.el (org-export-date-timestamp-format): New variable.
5415         (org-export-get-date): New function.
5417         * ox-odt.el (org-odt--format-paragraph): New function.
5418         (org-odt-paragraph): Use new function to limit code duplication.
5419         (org-odt-footnote-reference): Change default style for paragraphs
5420         when transcoding a footnote definition.
5422         * org-macro.el (org-macro--collect-macros): Fix a bug where
5423         reading a macro in a setup file would remove other macros read so
5424         far from template.  Change function signature.
5425         (org-macro-initialize-templates): Apply signature change from function
5426         above.
5428         * ox.el (org-export--list-bound-variables): Renamed from
5429         `org-export--install-letbind-maybe'.  Though, only return list of
5430         bound variables instead of installing them as buffer-local
5431         variables.
5432         (org-export-get-environment): Use new function.  Take care of the
5433         installation of bound variables.
5434         (org-export--generate-copy-script): Make sure non-Org variables are
5435         also installed in buffer copy.
5437         * ox.el (org-export-get-environment): Update comment.
5438         (org-export--install-letbind-maybe): Go into SETUPFILE files and
5439         handle BIND keywords there.
5441         * ox-latex.el (org-latex-link): Do not prefix relative paths with
5442         "file://".
5444         * org.el (org-link-search): Preserve priority of #+TARGET over
5445         #+NAME when resolving a link.
5447         * ox-latex.el (org-latex-long-listings): New variable.
5448         (org-latex-src-block): Use new variable.
5450         * ox.el (org-export-data): White spaces after export snippets are
5451         never ignored.
5453         * org-element.el (org-element-macro-parser): Allow to escape
5454         escaping character before a comma.  Also do not trim spaces at
5455         argument boundaries.
5457         * ox.el (org-export-async-start): Use correct coding system so
5458         unibyte characters do not appear in the resulting buffer or file.
5459         (org-export--copy-to-kill-ring-p): Move function elsewhere in the
5460         file.
5462         * ox-latex.el (org-latex--inline-image): Fix error when no default
5463         width, height and option are provided and no attribute is set for
5464         the inline image.
5466         * org.el (org-comment-or-uncomment-region): Fix commenting lines
5467         beginning with a link.
5468         (org-delete-char): Fix "Invalid use of `\\' in replacement text"
5469         when deleting a character in a cell which contains "\"
5470         (org-export-backends): Remove duplicates.  Reorder alphabetically.
5472         * ox-texinfo.el (org-texinfo-plain-list): Use `member' instead of
5473         `memq' when matching strings.
5475         * ox.el (org-export-read-attribute): Do not use `read' to read
5476         attributes.  Instead, extract keywords and values from it, which
5477         means each value will be a string when non-nil.
5479         * ox-beamer.el (org-beamer-plain-list): Use new attribute syntax.
5481         * ox-html.el (org-html--textarea-block): Use new attribute syntax.
5483         * ox-latex.el (org-latex--inline-image, org-latex--org-table)
5484         (org-latex--math-table): Use new attribute syntax.
5486         * ox-man.el (org-man-table--org-table): Use new attribute syntax.
5487         Small refactoring.
5489         * ox-odt.el (org-odt-link--inline-image, org-odt-table-cell): Use
5490         new attribute syntax.
5492         * ox.el (org-export-async-start): Remove code evaluation queries
5493         from asynchronous export.
5495         * ox-latex.el (latex): Activate smart quotes by default.
5496         (org-latex--inline-image): Don't insert a default width when
5497         height is provided in a figure environment.
5498         (org-latex--inline-image): Do not use default width
5499         (resp. height) when an user height (resp. width) is provided.
5500         Also, default height is only used when image is not wrapped within
5501         a figure or wrapfigure environment, in order to preserve ratio.
5502         (org-latex-image-default-width, org-latex-image-default-height):
5503         Update docstring.
5505         * ox-icalendar.el (org-icalendar-create-uid): Fix error when
5506         `org-icalendar-store-UID' is non-nil.
5508         * ox-latex.el (latex): Introduce new buffer keyword.
5509         (org-latex-template): Use new keyword.
5511         * ox-beamer.el (org-beamer-template): Use new keyword.
5513         * org.el (org-create-formula--latex-header): Use new keyword.
5515         * ox-beamer.el (org-beamer-column-view-format, org-beamer-theme)
5516         (org-beamer-environments-extra): Add :version and
5517         :package-version.
5519         * ox-html.el (org-html-with-latex, org-html-inline-image-rules):
5520         Add :version and :package-version.
5522         * ox-latex.el (org-latex-inline-image-rules)
5523         (org-latex-default-table-environment)
5524         (org-latex-default-table-mode, org-latex-tables-booktabs)
5525         (org-latex-table-scientific-notation, org-latex-known-errors): Add
5526         :version and :package-version.
5528         * ox-md.el (org-md-headline-style): Add :version and
5529         :package-version.
5531         * ox-odt.el (org-odt-with-latex): Add :version
5532         and :package-version.
5534         * ox.el (org-export-with-drawers, org-export-with-latex)
5535         (org-export-with-inlinetasks, org-export-with-planning)
5536         (org-export-with-smart-quotes, org-export-with-statistics-cookies)
5537         (org-export-allow-bind-keywords, org-export-async-init-file): Add
5538         :version and :package-version.
5540         * ox-icalendar.el (org-icalendar-export-to-ics): Change back-end
5541         name from `e-ascii' to `ascii'.
5543         * ox.el (org-export--generate-copy-script): Call `org-mode' when
5544         duplicating a buffer.  It will properly set every variable, like
5545         `comment-start'.
5546         (org-export-async-start): Do not call `org-mode' since this is done
5547         already in the previous function.
5549         * ox-beamer.el (org-beamer-keyword): Remove frame arount toc when
5550         generated from a TOC keyword.
5552         * org.el (org-export-backends): Do not reset list of loaded
5553         back-ends to variable's value after a reload.
5555         * ox-latex.el (org-latex-src-block): Do not overwrite provided
5556         numbering options in minted and listings.
5557         (org-latex-headline): Don't add optional title on unnumbered
5558         headlines.
5560         * ox-html.el (html): Fix "HTML_HEAD" and "HTML_HEAD_EXTRA"
5561         keywords.  Allow multiple #+LATEX_HEAD and #+LATEX_HEAD_EXTRA
5562         again.
5564         * org.el (org-fill-paragraph): Small refactoring to
5565         `org-fill-paragraph'.  Do not look for table cells in a paragraph.
5567         * org-element.el (org-element-object-restrictions): Simplify
5568         restrictions within secondary strings and objects.
5570         * org-list.el (org-list-send-list): Do not rely on
5571         `org-list-parse-list'.
5572         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Use
5573         appropriate export back-end instead of using
5574         `org-list-to-generic'.
5576         * ox-html.el (org-html-inner-template): Remove contents div and
5577         title.
5578         (org-html-template): Add contents div and title.
5579         (org-html-infojs-install-script): Can't activate jsinfo script
5580         during a body-only export.
5582         * ox.el (org-export-as): Store export options in :export-options
5583         porperty within communication channel.
5585         * ox-latex.el (org-latex-item): Fix wrong behavior when a counter
5586         is set in an ordered list while its parent is not ordered.
5588         * ox.el (org-export-format-code-default): Handle empty source
5589         blocks more gracefully.
5591         * ox-ascii.el (org-ascii-src-block): Handle empty blocks more
5592         gracefully.
5594         * org.el (org-export-backends): Update variable.  `infojs' was
5595         merged into ox-html and `freemind' was added.
5597         * ox.el (org-export--selected-trees): Also mark inlinetasks with a
5598         select tag.
5599         (org-export--skip-p): Skip inlinetasks with a :noexport: tag.
5601         * ob-tangle.el (org-babel-spec-to-string): Use dedicated function
5602         for unescaping code.
5604         * ox-html.el (org-html-link): Silence byte-compiler.
5605         (html): Add infojs installation script in options filter.
5606         (org-html-infojs-install-script): Remove check for back-end as we
5607         can safely assume the function will be called from `html' back-end
5608         or one of its derivative.
5610         * ox-icalendar.el (org-agenda-collect-markers)
5611         (org-create-marker-find-array): Remove functions.
5612         (org-icalendar-export-current-agenda): Integrate previous
5613         functions.
5615         * ox-latex.el (org-latex-format-headline-default-function): Use
5616         declarative shape to nest makup for TODO keywords.  Previous
5617         syntax generated errors during export.
5619         * ox.el (org-export-async-start): Ignore `org-mode-hook' and
5620         `kill-emacs-hook'.  The first one has been run in the original
5621         buffer.  The second is not necessary and can pollute output to a
5622         temporary buffer (e.g. with `org-clock-persistence-insinuate').
5624         * ox-html.el (org-html-inner-template): Remove title.
5625         (org-html-template): Add title.
5627         * ox.el (org-export--get-min-level): Ignore footnote section when
5628         computing minimal headline level.
5630         * org.el (org-do-latex-and-related): Fix infloop when user
5631         provides a wrong value for `org-highlight-latex-and-related'.  In
5632         this case, `org-latex-and-related-regexp' is the empty string and
5633         generates an infloop since matching it doesn't move point.
5635         * org-element.el (org-element-headline-parser): Rename
5636         :optional-title into :alt-title.
5638         * ox.el (org-export-get-alt-title): Renamed from
5639         `org-export-get-optional-title'.
5641         * ox-ascii.el (org-ascii--build-title):
5642         * ox-html.el (org-html--format-toc-headline):
5643         * ox-latex.el (org-latex-headline):
5644         * ox-texinfo.el (org-texinfo--get-node)
5645         (org-texinfo--generate-menu-items): Apply name change.
5647         * ox.el (org-export--get-inbuffer-options): Remove an optional
5648         argument.  Rewrite function.  Properties read from a setupfile do
5649         not overwrite anymore previously computed properties.
5650         (org-export-get-environment): Apply changes to previous function.
5652         * org.el (org-create-formula--latex-header): Apply arity change
5653         from `org-export--get-inbuffer-options'.
5655         * ox-latex.el (org-latex-compile): Add an optional argument for
5656         latex snippet previewing.
5658         * org.el (org-create-formula-image-with-imagemagick): Use
5659         `org-latex-compile' instead of rewriting it.
5661         * ox-html.el (org-html-fontify-code): Do not use [^\000] in
5662         regexps that may match large strings.
5664         * org.el (org-create-formula--latex-header): New function.
5665         (org-create-formula-image-with-dvipng)
5666         (org-create-formula-image-with-imagemagick): Use new function.
5668         * ox.el (org-export-get-previous-element): Change order of retured
5669         elements in `org-export-get-previous-element'.
5671         * org-element.el (org-element-all-successors): Add `plain-link'
5672         successor.
5673         (org-element-object-restrictions): Remove `link' within `link'.
5674         Allow `plain-link' instead.
5675         (org-element-plain-link-successor): New function.
5677         * org.el (org-match-substring-regexp)
5678         (org-match-substring-with-braces-regexp): Update regexp.  A
5679         sub/superscript cannot start anymore at the beginning of the line
5680         or after a space.
5682         * org-element.el (org-element--get-next-object-candidates):
5683         Rewrite function to simplify algorithm.
5684         (org-element-context, org-element--parse-elements): Apply changes.
5686         * org.el (org-fill-paragraph): Apply changes.
5688         * ox-html.el (org-html-link, org-html-link--inline-image):
5689         Attributes specified to a paragraph only apply to first link
5690         within.
5692         * ox-latex.el (org-latex-headline): Do not add optional section
5693         name when section is unnumbered.
5695         * org.el (org-in-verbatim-emphasis): Fix false positive when point
5696         is just after the closing emphasis marker.
5697         (org-fill-paragraph): Do not move point when filling a table.
5699         * ox-ascii.el (ascii): Add new filter.
5700         (org-ascii-filter-comment-spacing): New function.
5701         (org-latex-keyword): Remove "figures" value.
5703         * ox-ascii.el (org-ascii--list-tables): Fix docstring.
5705         * ox-html.el (org-html--format-toc-headline): Fix function name.
5706         (org-html-toc, org-html--toc-text): Change to docstring.
5707         (org-html-list-of-listings, org-html-list-of-tables): New
5708         functions.
5709         (org-html-keyword): Use new functions.
5710         (org-html-src-block): Add an ID attribute when a name is given.
5712         * org-element.el (org-element-footnote-definition-parser): Require
5713         2 blank lines to separate footnote definition.
5715         * org-footnote.el (org-footnote-at-definition-p): Require 2 blank
5716         lines to separate footnote definition.
5718         * ox.el (org-export-stack): Rewrite.
5719         (org-export-stack-refresh): Refactor.
5720         (org-export-stack-remove, org-export-stack-view): Apply renaming.
5721         (org-export-stack-mode-map): Use tabulated list map as a basis.
5722         (org-export-stack--generate, org-export-stack--num-predicate): New
5723         function.
5724         (org-export-get-optional-title): Return regular title when no
5725         optional title is found.
5727         * ox-ascii.el (org-ascii--build-title): Apply change to
5728         `org-export-get-optional-title'.
5730         * ox-html.el (org-html--format-toc-headline): Apply change to
5731         `org-export-get-optional-title'.
5733         * ox-latex.el (org-latex-headline): Apply change to
5734         `org-export-get-optional-title'.
5736         * ox-ascii.el (org-ascii--build-title): Add an argument.  Use
5737         optional title when building a toc line.
5738         (org-ascii--build-toc): Call `org-ascii--build-title' with
5739         appropriate arguments.
5741         * ox-latex.el (org-latex-headline): Use optional title for table
5742         of contents.
5744         * ox-html.el (org-html--toc-text): Renamed from
5745         `org-html-toc-text'.  Add docstring.
5746         (org-html--format-toc-headline): Renamed from
5747         `org-html-format-toc-headline'.  Add docstring.  Use optional
5748         title if possible.
5749         (org-html-toc): Add docstring.
5751         * org-element.el (org-element-headline-parser): Node property
5752         :OPTIONAL_TITLE: in a headline will be parsed and stored under
5753         :optional-title property.
5755         * ox.el (org-export-get-optional-title): New function.
5757         * ox-latex.el (org-latex-format-headline-default-function): Make
5758         the variable a function.
5760         * ox-publish.el (org-publish-resolve-external-fuzzy-link): No
5761         error when resolving external fuzzy links outside publishing.
5762         Though search option for these links will not be resolved.
5764         * ox-latex.el (org-latex-guess-inputenc): Set inputenc option
5765         according to `org-export-coding-system'.
5767         * ox.el (org-export--generate-copy-script): Clone
5768         `buffer-file-coding-system' when creating a buffer copy.
5770         * ox-html.el (org-html-link): Resolve external links with search
5771         options like [[file.org::#custom-id]] or
5772         [[file.org::*headline-search]].
5774         * ox-publish.el (org-publish-collect-numbering)
5775         (org-publish-resolve-external-fuzzy-link): New functions.
5776         (org-publish-org-to): Add new collecting function to final output
5777         filter.  Move index collecting function to the same filter.
5778         (org-publish-collect-index): Called from final output filter.
5780         * ox-html.el (org-html-format-headline--wrap, org-html-headline):
5781         Use :CUSTOM_ID, not :custom-id.
5783         * org-element.el (org-element-latex-environment-parser): Fix wrong
5784         value for :post-affiliated property when parsing a latex
5785         environment.
5787         * ox-latex.el (org-latex-property-drawer): Remove function.
5789         * ox-ascii.el (org-ascii-filter-paragraph-spacing): Remove
5790         reference to now renamed `e-ascii' back-end.
5792         * ox-beamer.el (org-beamer-template): Allow to span documentclass
5793         options accross multiple lines in template.
5795         * ox-latex.el (org-latex-template): Allow to span documentclass
5796         options accross multiple lines in template.
5798         * ox-texinfo.el (org-texinfo--get-node): Upcase property name.
5799         (org-texinfo--get-node): New function.
5800         (org-texinfo-headline, org-texinfo-link): Use new function.
5802         * ox-ascii.el (org-ascii-quote-block): Do not fill quote block
5803         contents.  Just indent them.
5805         * ox-publish.el (org-publish-index-generate-theindex): Do not
5806         create an "* Index" headline in "theindex.inc".  Though, create an
5807         "Index" title in fallback "theindex.org".
5809         * ox-publish.el (org-publish-projects): Publish "theindex.org"
5810         last, so that "theindex.inc" can be completed.
5812         * ox-publish.el (org-publish-project-alist): Fix docstring.
5813         (org-publish-collect-index): Fix typo.
5815         * ox.el (org-export--dispatch-ui): Prevent invisible cursor from
5816         highlighting brackets in UI
5818         * org-element.el (org-element-headline-parser)
5819         (org-element-inlinetask-parser): Fix docstring.
5821         * org.el (org-export-backends): Add new back-end in customize
5822         interface.
5824         * ox-beamer.el (org-beamer--get-label, org-beamer--frame-level)
5825         (org-beamer--format-section, org-beamer--format-frame)
5826         (org-beamer--format-block, org-beamer-headline): Apply changes to
5827         properties.
5829         * ox-html.el (org-html-headline, org-html-link, org-html-section):
5830         Apply changes to properties.
5832         * ox-icalendar.el (org-icalendar-create-uid)
5833         (org-icalendar-blocked-headline-p, org-icalendar-entry)
5834         (org-icalendar--valarm): Apply changes to properties.
5836         * ox-odt.el (org-odt-headline): Apply changes
5838         * ox-publish.el (org-publish-collect-index): Apply changes to
5839         properties.
5841         * ox-texinfo.el (org-texinfo--generate-menu-list)
5842         (org-texinfo--generate-menu-items, org-texinfo-template)
5843         (org-texinfo-headline, org-texinfo-link): Apply changes to
5844         properties.
5846         * ox.el (org-export-resolve-id-link, org-export-get-category):
5847         Apply changes to properties.
5848         (org-export-get-node-property): Update docstring.
5850         * org-element.el (org-element-headline-parser)
5851         (org-element-inlinetask-parser): Upcase properties.  This is done
5852         to avoid confusion between properties from parser (e.g. `:end')
5853         and properties from the property drawer (e.g. :END:).
5855         * ox-publish.el (org-publish-index-generate-theindex): Preserve
5856         order in file.  Fix error when two index entries were identical.
5857         Create again theindex.inc.
5859         * org-element.el (org-element-map): Allow to map over any list.
5860         Do not restrict mapping to object types.
5862         * org-faces.el (org-latex-and-related): Renamed from
5863         `org-latex-and-export-specials', which wasn't appropriate anymore.
5865         * org.el (org-highlight-latex-and-related)
5866         (org-latex-and-related-regexp): New variables.
5867         (org-compute-latex-and-related-regexp, org-do-latex-and-related): New
5868         function, revived from a previous commit.
5869         (org-set-regexps-and-options, org-set-font-lock-defaults): Use new
5870         functions.
5871         (org-set-regexps-and-options): Remove reference to LATEX_CLASS and
5872         beamer back-end.
5874         * ox-publish.el (org-publish-org-to): Small refactoring.
5876         * ox.el (org-export-install-filters): Properly install filters
5877         send through ext-plist mechanism.
5879         * ox-publish.el (org-publish-org-to): Small refactoring.
5881         * ox-html.el (org-html-keyword): Remove INDEX keyword handling.
5882         ox-publish.el takes care of it already.
5884         * org-macro.el: New file.
5886         * org.el: Remove macro code.
5888         * ox.el: Require new library
5890         * ox.el (org-export-resolve-fuzzy-link): Ignore statistics cookies
5891         when matching an headline.
5892         (org-export--dispatch-ui): Display a help message in header line
5893         for scrolling dispatcher's buffer
5894         (org-export-resolve-radio-link): Radio targets are
5895         case-insensitive.
5897         * ox-icalendar.el (org-export-icalendar): Fix docstring.
5899         * ox.el (org-export-dispatch): Fix docstring.
5900         (org-export--dispatch-action): Small improvement to line by line
5901         scrolling.
5902         (org-export-resolve-fuzzy-link): Refactor.  Whitespaces are not
5903         significant when matching a fuzzy link.
5905         * org-element.el (org-element-link-parser): Do not remove newlines
5906         characters in paths anymore, since this is not required.
5908         * ox.el (org-export--dispatch-ui): Renamed from
5909         `org-export-dispatch-ui'.  Handle scrolling.
5910         (org-export--dispatch-action): Renamed from
5911         `org-export-dispatch-action'.  Implement scrolling.
5912         (org-export-dispatch): Apply renaming.
5914         * org.el (org-ctrl-c-ctrl-c): Do nothing when at a blank line,
5915         but still run `org-ctrl-c-ctrl-c-final-hook'.
5916         (org-end-of-line): Remove `ignore-error'.
5918         * org-element.el (org-element-at-point): Return nil when in the
5919         first empty lines of the buffer.  Return headline when in empty
5920         lines just after the headline.
5922         * ox.el (org-export-output-file-name): Add a protection when
5923         output file name is the same as the original org.
5925         * ox-beamer.el (org-beamer-template): Add missing `class' argument
5926         for `format-string'.
5928         * ox-latex.el (org-latex-template): Add missing `class' argument
5929         for `format-string'.
5931         * ox.el (org-export-stack-mode): Fix docstring.
5933         * org-pcomplete.el (pcomplete/org-mode/file-option): Allow
5934         completion for ATTR_ prefixed keywords.
5936         * org.el (org-options-keywords): Add missing colons.
5938         * org-macs.el (org-default-options): Removed function.
5940         * org-pcomplete.el (org-command-at-point): Fix bug with some file
5941         options.
5942         (pcomplete/org-mode/file-option/x): Removed macro.
5943         (pcomplete/org-mode/file-option): Refactor code.
5944         (pcomplete/org-mode/file-option/author)
5945         (pcomplete/org-mode/file-option/date)
5946         (pcomplete/org-mode/file-option/title)
5947         (pcomplete/org-mode/file-option/tags)
5948         (pcomplete/org-mode/file-option/select_tags)
5949         (pcomplete/org-mode/file-option/priorities)
5950         (pcomplete/org-mode/file-option/language)
5951         (pcomplete/org-mode/file-option/filetags)
5952         (pcomplete/org-mode/file-option/exclude_tags)
5953         (pcomplete/org-mode/file-option/email): New functions.
5955         * ox.el (org-export--collect-headline-numbering): Remove footnote
5956         section from TOC.
5957         (org-export-collect-headlines): Do not count footnote section when
5958         numbering a headline.
5960         * ox-beamer.el (org-beamer-plain-list): Also read #+attr_latex
5961         attributes in order to determine list's options.
5963         * ox-ascii.el (org-ascii-inner-template): New function.
5964         (org-ascii-template): Use new function.
5965         (org-ascii-export-as-ascii, org-ascii-export-to-ascii): Update
5966         docstring.
5968         * org-element.el (org-element-link-parser): Take into
5969         consideration links filled and indented.
5971         * org-element.el (org-element-link-parser): Remove all newline
5972         characters in path property.
5974         * ox.el (org-export-as): Call `inner-template' function, if
5975         available.
5977         * ox-html.el (org-html-inner-template): New function.
5978         (org-html-template): Move all parts that should be inserted even
5979         in a body-only export into `org-html-inner-template'.
5981         * org.el (org-forward-element, org-backward-element): When no
5982         headline is found at the same level, still move forward or
5983         backward.
5985         * org-element.el (org-element--current-element): Add a limit
5986         argument.
5987         (org-element--collect-affiliated-keywords): Fix parsing of orphaned
5988         keyword at the end of an element.
5990         * ox-texinfo.el (org-texinfo-src-block): Remove spurious newline
5991         character as `org-export-format-code-default' already makes sure
5992         the string returned will end with a single one.
5994         * ox-latex.el (org-latex-headline): When a function returns a
5995         sectioning command, only one placeholder should be required.
5997         * org-element.el (org-element-nested-p): Do not inline function.
5999         * ox.el (org-export-copy-buffer, org-export-with-buffer-copy)
6000         (org-export--generate-copy-script): Moved earlier in the file.
6002         * ox-texinfo.el (org-texinfo-link): Do not transform path part of
6003         internal links.
6005         * org.el (org-org-menu): Small refactoring.
6007         * ox-beamer.el (require):
6008         * ox-icalendar.el (require):
6009         * ox-jsinfo.el (require):
6010         * ox-md.el (require): Require cl when compiling.
6012         * org.el (org-export-backends):
6013         * ox.el (org-export-dispatch): Fix docstring.
6015         * ox.el (org-export-dispatch-ui): Widen UI by 2 characters.
6017         * ox-latex.el (org-latex-special-block): Add :options attribute to
6018         special blocks to specify options.
6020         * ox-beamer.el (org-beamer-template): Add BEAMER_HEADER keywords
6021         below LATEX_HEADER.
6023         * ox-latex.el (org-latex-format-headline-function): Fix missing
6024         parens in the docstring.
6026         * org.el (org-export-backends): Remove `:initialize' function.
6028         * org.el (org-reload): Also reload export back-ends in use.
6030         * ox-latex.el (org-latex-example-block, org-latex-src-block):
6031         Ignore element if it's empty.  This fixes error "apply: Wrong
6032         number of arguments: max, 0".
6034         * ox-beamer.el (org-beamer-template): Provide an error when LaTeX
6035         class is invalid.
6037         * ox-latex.el (org-latex-template): Provide an error when LaTeX
6038         class is invalid.
6040         * org.el (org-modules): Remove export back-ends from the list.
6041         Update docstring.
6042         (org-export-backends): New variable.
6044         * ox.el (org-export-async-start): Make sure export framework is
6045         required in the external process.
6047         * org.el (org-format-latex-header-extra, org-export-have-math):
6048         Removed variables.
6049         (org-latex-default-packages-alist): Renamed from
6050         `org-export-latex-default-packages-alist'.
6051         (org-latex-packages-alist): Renamed from
6052         `org-export-latex-packages-alist'.
6053         (org-try-cdlatex-tab, org-cdlatex-underscore-caret,
6054         org-cdlatex-math-modify): Reorder in file.
6055         (org-format-latex): Remove `org-format-latex-header-extra'.
6056         (org-create-formula-image-with-dvipng,
6057         org-create-formula-image-with-imagemagick): Apply variables renaming
6058         and removal.
6060         * org-entities.el (org-entities-user): Update docstring.
6062         * ox-latex.el (org-latex-classes, org-latex-listings): Update
6063         docstring.
6064         (org-latex-guess-inputenc): Renamed from `org-latex--guess-inputenc'.
6065         (org-latex-guess-babel-language): Renamed from
6066         `org-latex--guess-babel-language'.
6067         (org-latex-template): Apply renaming.
6069         * ox-beamer.el (org-beamer-template): Apply renaming.
6071         * ob-latex.el (org-babel-execute:latex): Apply variable renaming
6072         and removal.
6073         (org-babel-latex-tex-to-pdf): Call `org-latex-compile' instead of
6074         copying it.
6076         * org-macs.el (org-if-unprotected, org-if-unprotected-1)
6077         (org-if-unprotected-at): Removed macros.
6078         (org-re-search-forward-unprotected): Removed function.
6080         * org.el (org-format-latex):
6081         * org-list.el (org-list-struct):
6082         * org-footnote.el (org-footnote-at-reference-p):
6083         * org-capture.el (org-capture-fill-template): Remove reference to
6084         `org-protected'.
6086         * ob-exp.el (org-babel-exp-process-buffer): Renamed from
6087         `org-export-blocks-preprocess'.
6089         * ox.el (org-export-execute-babel-code): Apply previous renaming.
6091         * org-pcomplete.el (pcomplete/org-mode/file-option): Collect valid
6092         keywords for completion without requiring the whole export
6093         framework.
6094         (pcomplete/org-mode/file-option/options): Rewrite using new export
6095         framework.  Only complete up to the colon.
6096         (pcomplete/org-mode/file-option/x): Removed macro.
6097         (pcomplete/org-mode/file-option/title)
6098         (pcomplete/org-mode/file-option/author)
6099         (pcomplete/org-mode/file-option/email)
6100         (pcomplete/org-mode/file-option/date): Removed functions.
6101         (pcomplete/org-mode/file-option/infojs_opt): New function.
6103         * org-clock.el (org-clocktable-defaults)
6104         (org-clocktable-write-default): Avoid requiring the whole export
6105         framework just to check one variable.
6107         * org-footnote.el (org-footnote-section): Update docstring.
6108         (org-footnote-normalize): Remove all export related part from the
6109         function.
6111         * org-inlinetask.el (org-inlinetask-export)
6112         (org-inlinetask-export-templates): Removed variables.
6113         (org-inlinetask-export-handler): Removed function.
6115         * org-plot.el: Remove dependency on `org-exp' library.
6117         * org.el (org-additional-option-like-keywords): Remove variable.
6118         (org-get-export-keywords): New function.
6119         (org-options-keywords): Update default list of keywords.
6120         (org-remove-flyspell-overlays-in): Apply changes to keywords
6121         compilation.
6122         (org-highlight-latex-fragments-and-specials)
6123         (org-latex-and-specials-regexp)
6124         (org-export-html-special-string-regexps): Remove variables.
6125         (org-compute-latex-and-specials-regexp)
6126         (org-do-latex-and-special-faces, org-remove-file-link-modifiers):
6127         Remove functions.
6128         (org-set-regexps-and-options, org-set-font-lock-defaults): Apply all
6129         removals.
6130         (org-use-sub-superscripts): Fix docstring.  Remove unused group.
6131         (org-match-sexp-depth): Make it a defconst instead of a defcustom
6132         in order to remove `org-export-translation' group completely.
6134         * ob-haskell.el (org-babel-haskell-export-to-lhs): Use new
6135         exporter.
6137         * ob-latex.el (org-babel-execute:latex): Use new exporter.
6139         * ob-org.el (org-babel-execute:org): Use new exporter.
6141         * org-agenda.el (org-agenda-menu, org-agenda-write): Use new
6142         iCalendar export back-end.
6144         * org-table.el (org-table-export, orgtbl-export): Remove
6145         dependency on `org-exp' library.
6146         (org-table-clean-before-export): New function.
6147         (org-table-colgroup-info): New variable.
6148         (orgtbl-to-html): Use to new HTML export back-end.
6150         * org.el (org-modules): Remove modules relative to obsolete export
6151         framework and add those relative to the new one.
6152         (org-create-formula-image-with-dvipng, org-format-latex
6153         org-create-formula-image-with-imagemagick): Use new exporter.
6154         (org-indent-line): INCLUDE keywords are indented like regular
6155         keywords.
6156         (org-mode-map): Bind C-c C-e to new export dispatcher.
6157         (org-menu): Install new exporter in menu.
6159         * org-ascii.el:
6160         * org-beamer.el:
6161         * org-docbook.el:
6162         * org-exp-blocks.el:
6163         * org-exp.el:
6164         * org-freemind.el:
6165         * org-html.el:
6166         * org-icalendar.el:
6167         * org-jsinfo.el:
6168         * org-latex.el:
6169         * org-lparse.el:
6170         * org-odt.el:
6171         * org-publish.el:
6172         * org-special-blocks.el:
6173         * org-taskjuggler.el:
6174         * org-xoxo.el: Remove
6176         * ox-ascii.el:
6177         * ox-beamer.el:
6178         * ox-html.el:
6179         * ox-icalendar.el:
6180         * ox-jsinfo.el:
6181         * ox-latex.el:
6182         * ox-man.el:
6183         * ox-md.el:
6184         * ox-odt.el:
6185         * ox-publish.el:
6186         * ox-texinfo.el:
6187         * ox.el: New file.
6189         * ob-exp.el (org-export-blocks-preprocess): Do not use
6190         `indent-code-rigidly' as it doesn't indent contents of strings.
6192         * org-element.el (org-element-map): Change to function
6193         indentation.  Also complete docstring.
6195         * org.el (org-ctrl-c-ctrl-c): Major rewrite function using
6196         Elements.
6198         * org-element.el (org-element-at-point): When point is before any
6199         element, in the first blank lines of the buffer, return nil.  When
6200         point is within blank lines just after a headline, return that
6201         headline.
6202         (org-element-context): Return nil when point is within the blank at
6203         the beginning of the buffer.
6205         * org.el (org-edit-special): Fix regression.
6206         (org-timestamp-has-time-p, org-timestamp-format)
6207         (org-timestamp-split-range, org-timestamp-translate): New
6208         functions.
6210         * org-element.el (org-element-timestamp-interpreter): Interpret
6211         timestamps ranges with repeaters.
6213         * org.el (org-edit-special): Rewrite `org-edit-special' using Org
6214         Elements tools.  Behavior should be unchanged.
6216         * org-element.el (org-element-context): Add an optional argument
6217         so that (org-element-context) and (org-element-context
6218         (org-element-at-point)) are equivalent.
6220         * ob.el: Only use the :wrap argument up to the first space when
6221         creating the #+END_ directive.
6223         * org-element.el (org-element-object-variables): New variable.
6224         (org-element-parse-secondary-string): Copy some buffer-local
6225         variables to the temporary buffer created to parse the string so
6226         links can still be properly expanded.
6227         (org-element-link-parser): Link expansion and translation are applied
6228         transparently for the parser.
6230         * org-element.el (org-element-line-break-parser): Line break
6231         includes the newline character following the backslashes.
6232         (org-element-line-break-interpreter): Apply changes to line break
6233         parsing.
6235         * org.el (org-all-targets): Fix radio targets detection when
6236         object is directly followed by a non-whitespace character.
6238         * ob.el (org-babel-use-quick-and-dirty-noweb-expansion): Renamed
6239         from `org-babel-use-quick-and-dirty-noweb-expansion'.
6240         (org-babel-expand-noweb-references): Use new variable name.
6242         * org-element.el (org-element-timestamp-interpreter): Fix
6243         timestamp interpreter when raw value isn't available.
6245         * ob-exp.el (org-babel-exp-non-block-elements): Make sure to parse
6246         inline babel call or inline src block instead of the following
6247         object.
6249         * org-element.el (org-element-timestamp-parser): Timestamp with
6250         time range has active/inactive-range type.
6251         (org-element-block-name-alist): Do not reset
6252         `org-element-block-name-alist' at each reload.
6253         (org-element-object-restrictions): Allow timestamps in parsed
6254         keywords (i.e. DATE).
6256         * org-agenda.el (org-agenda-show-clocking-issues)
6257         (org-agenda-format-item): Silence byte compiler.
6259         * org-colview.el (org-agenda-columns): Silence byte compiler.
6261         * org.el (org-properties-postprocess-alist): Silence byte
6262         compiler.
6264         * org-element.el (org-element-timestamp-parser): Return nil for
6265         unspecified :hour-end and :minute-end properties.
6266         (org-element-object-restrictions): Add footnote references objects
6267         in table cells.
6268         (org-element-interpret-data): Clear text properties when
6269         interpreting a string .
6271         * org-capture.el (org-capture--expand-keyword-in-embedded-elisp):
6272         Fix docstring.
6274         * org.el (org-adaptive-fill-function): Items do not have
6275         a :post-affiliated property.  Use :begin property instead.
6277         * org-element.el (org-element-headline-parser)
6278         (org-element-inlinetask-parser): Remove :clockedp property.
6280         * org.el (org-adaptive-fill-function): All elements do not have a
6281         :post-affiliated property.
6282         (org-macro-replace-all): Signal an error when a circular macro
6283         expansion happens.
6284         (org-macro-initialize-templates): Fix docstring.
6286         * org-element.el (org-element-map): Fix docstring.
6287         (org-element-contents, org-element-set-contents)
6288         (org-element-adopt-elements): Fix accessors and setters wrt
6289         secondary strings.
6290         (org-element-headline-parser)
6291         (org-element-inlinetask-parser): Fix void-function
6292         `org-clocking-buffer' error.
6293         (org-element-context): Fix org-element-context on parsed keywords.
6294         (org-element-context): Find objects in document and parsable
6295         affiliated keywords.
6296         (org-element-center-block-parser)
6297         (org-element-drawer-parser, org-element-dynamic-block-parser)
6298         (org-element-footnote-definition-parser)
6299         (org-element-plain-list-parser)
6300         (org-element-property-drawer-parser)
6301         (org-element-quote-block-parser, org-element-special-block-parser)
6302         (org-element-babel-call-parser, org-element-comment-parser)
6303         (org-element-comment-block-parser, org-element-diary-sexp-parser)
6304         (org-element-example-block-parser)
6305         (org-element-export-block-parser, org-element-fixed-width-parser)
6306         (org-element-horizontal-rule-parser, org-element-keyword-parser)
6307         (org-element-latex-environment-parser)
6308         (org-element-paragraph-parser, org-element-src-block-parser)
6309         (org-element-table-parser, org-element-verse-block-parser): Add
6310         `:post-affiliated' property to elements.
6311         (org-element-inlinetask-parser): Remove affilated keywords.
6313         * org.el (org-adaptive-fill-function): Use new property.
6315         * org-element.el (org-element--collect-affiliated-keywords):
6316         Allow duals keywords with only secondary value.
6317         (org-element-timestamp-parser): Modify timestamp objects
6318         properties.
6319         (org-element-headline-parser, org-element-inlinetask-parser): Remove
6320         `:timestamp' and `:clock' property.  Add `:clockedp' property.  Also,
6321         set `:closed', `:deadline' and `:scheduled' values to timestamp
6322         objects, not strings.  Small refactoring.
6323         (org-element-clock-parser): Rename `:time' property into `:duration'.
6324         Also, set `:value' value as a timestamp object, not a string.
6325         (org-element-planning-parser): Set `:closed', `:deadline' and
6326         `:scheduled' values to timestamp objects, not strings.
6327         (org-element-clock-interpreter, org-element-planning-interpreter)
6328         (org-element-timestamp-interpreter): Update interpreters.
6329         (org-element--current-element): Tiny refactoring.
6331         * ob.el (org-babel-where-is-src-block-result): Insert new results
6332         keyword in current narrowed part of buffer, if necessary.  Small
6333         refactoring.
6334         (org-babel-insert-result): Do not widen buffer when new results have
6335         to be inserted.  Therefore, results inserted after the last block of
6336         a narrowed buffer still belong to the narrowed part of the buffer.
6338         * org-agenda.el (org-agenda-get-deadlines): Tiny stylistic change.
6340         * org-element.el (org-element-paragraph-separate): Diary-sexp
6341         elements can separate paragraphs.
6342         (org-element-all-elements): Install new `diary-sexp' type.
6343         (org-element--current-element): Recognize new `diary-sexp' elements.
6344         (org-element-diary-sexp-parser)
6345         (org-element-diary-sexp-interpreter): New functions.
6346         (org-element-horizontal-rule-parser)
6347         (org-element-keyword-parser, org-element--current-element): Small
6348         refactoring.
6349         (org-element-property): Access to text properties when argument is
6350         a string.
6351         (org-element-put-property): Correctly set property when target is
6352         a string.
6353         (org-element-adopt-elements): Also put :parent properties on
6354         strings.
6356         * ob-exp.el (org-babel-exp-code): Escape code when re-creating a
6357         src blocks.
6358         (org-export-blocks-preprocess): Pos can sometimes be set to a
6359         value greater than start, because of indentation, and lead to a
6360         search bound error.
6361         (org-babel-exp-code): Remove comma-escaping special rule for Org
6362         blocks.
6363         (org-export-blocks-preprocess): Results of an evaluated code block
6364         can be inserted within the blank lines after the block.  Hence, if
6365         the block has to be removed, delete everything down to the first
6366         non-blank line after the end of block closing string, instead of
6367         removing everything down to the very end of the block.
6369         * org.el (org-all-targets): Make sure the regexp really matched a
6370         radio target.
6371         (org-macro-expand, org-macro-replace-all): Change signature.  The
6372         function now accepts an alist of templates so it doesn't have to
6373         rely only on `org-macro-templates'.
6374         (org-macro-initialize-templates): {{{date}}} is not anymore an
6375         alias for {{{time}}}.  During export, it will provide the value
6376         stored in DATE keyword instead.
6378         * org-element.el (org-element-object-restrictions): Allow links in
6379         caption.  Also allow inline-src-blocks and inline-babel-calls.
6380         (org-element-map): Change signature.
6381         (org-element-parsed-keywords): Remove document properties from the
6382         value.
6383         (org-element-dual-keywords): Fix docstring.
6384         (org-element-document-properties): New variable
6385         (org-element-all-elements): Add `node-property' as a new element
6386         type.
6387         (org-element-greater-elements): Add property-drawer element to
6388         greater elements since they now contain node-property elements.
6389         (org-element-drawer-parser): Small refactoring.
6390         (org-element-property-drawer-parser): Move into Greater Elements
6391         file section.
6392         (org-element-node-property-parser,
6393         org-element-node-property-interpreter): New functions.
6394         (org-element--current-element, org-element-at-point)
6395         (org-element--parse-elements): Handle new element type.
6396         (org-element--collect-affiliated-keywords): Fix return value.
6397         (org-element-center-block-parser)
6398         (org-element-drawer-parser, org-element-dynamic-block-parser)
6399         (org-element-footnote-definition-parser)
6400         (org-element-plain-list-parser, org-element-quote-block-parser)
6401         (org-element-special-block-parser, org-element-babel-call-parser)
6402         (org-element-comment-parser, org-element-comment-block-parser)
6403         (org-element-example-block-parser)
6404         (org-element-export-block-parser, org-element-fixed-width-parser)
6405         (org-element-horizontal-rule-parser, org-element-keyword-parser)
6406         (org-element-latex-environment-parser)
6407         (org-element-paragraph-parser, org-element-property-drawer-parser)
6408         (org-element-src-block-parser, org-element-table-parser)
6409         (org-element-verse-block-parser): Change signature.  Now use an
6410         additional argument: affiliated.
6411         (org-element--current-element): Skip affiliated keywords and pass
6412         them as an argument to parsers.  It prevents to walk through these
6413         keywords twice: the first time to get to the first line of the
6414         element, and a second time to collect the affiliated keywords.
6416         * ob-exp.el (org-babel-exp-non-block-elements): More accurate
6417         white space handling when evaluating inline-src-block, babel-call
6418         and inline-babel-call elements or objects.  Also removed use of
6419         `org-babel-examplize-region' since it would never be called
6420         anyway; return value from `org-babel-exp-do-export' is never nil.
6421         (org-export-blocks-preprocess): Preserve affiliated keywords when
6422         replacing a code block.
6424         * org-element.el (org-element-multiple-keywords): Allow multiple
6425         caption keywords.
6427         * ob-exp.el (org-export-blocks-preprocess): Fix block evaluation
6428         when results are before the block.
6429         (org-export-blocks-preprocess): Improve blank lines handling in
6430         function.  Add comments.  Remove `org-export-blocks-postblock-hook'
6431         since it's defined nowhere now (and doesn't need to, there's
6432         `org-export-before-parsing-hook' already).
6434         * org-exp-blocks.el: Delete.
6436         * ob-exp.el (org-export-blocks-preprocess):
6437         * ob-ditaa.el (org-ditaa-jar-path): Moved from
6438         "org-export-blocks.el".
6440         * ob-exp.el (org-babel-exp-src-block): Remove unused argument.
6441         (org-babel-exp-non-block-elements): Rewrite function using Org
6442         Element.
6444         * org-exp-blocks.el (org-export-blocks-preprocess): Rewrite
6445         function using Org Element.
6447         * org-element.el (org-element-recursive-objects)
6448         (org-element-object-restrictions): Remove `macro' from recursive
6449         object types.
6451         * org.el (org-macro-initialize-templates): Small refactoring.
6452         (org-mode): Initialize macros templates.
6453         (org-macro-templates): New variable.
6454         (org-macro-expand, org-macro-replace-all)
6455         (org-macro-initialize-templates): New functions.
6457         * org-element.el (org-element-link-type-is-file): New variable.
6458         (org-element-link-parser): Extract search option and application
6459         in "file"-type links.
6461         * org.el (org-mode): Set back comment-start-skip so comment-dwin
6462         can tell a keyword from a comment.
6464 2013-11-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
6466         * org.el (org-time-stamp): When INACTIVE is non-nil, insert an
6467         inactive timestamp also with double universal argument.
6468         (org-set-regexps-and-options): Don't set font-lock defaults here.
6469         (org-mode): Set font-lock defaults here.
6470         (org-insert-link): Call `org-link-try-special-completion' from the
6471         original buffer.
6473 2013-11-12  Oleh  <oleh.krehel@gmail.com>
6475         * org.el (org-open-at-point): The new code is being run in the
6476         same spot as `org-open-link-functions'.  In case they failed,
6477         check if link matches "^id:" and if so, load the id interface and
6478         follwo the link.
6480 2013-11-12  Rasmus  <rasmus@gmx.us>  (tiny change)
6482         * ox-latex.el (org-latex--inline-image): The pgf format is
6483         associated to an inline image and treated like tikz files.
6485 2013-11-12  Richard Lawrence  <richard.lawrence@berkeley.edu>  (tiny change)
6487         * org-agenda.el (org-cmp-ts): Avoid error when trying to
6488         `string-match' against nil.
6490 2013-11-12  Rick Frankel  <rick@rickster.com>
6492         * ox-html.el (org-html-doctype): New function.
6493         (org-html-template): Use `org-html-doctype' instead of inline
6494         code.
6495         (org-html-headline): Use the new
6496         `org-html--container' function to set container element.
6497         (org-html--container): Returns appropriate element for headline
6498         container.
6499         (org-html-divs): Extra character in doc string.
6500         (org-babel-execute:sql): Unquote cmdline argument in
6501         format string, dbish requires three separate arguments.  Add dbi
6502         to the list of engines with automatically added header separator.
6503         (org-html--build-pre/postamble): Add css class to wrapper div
6504         (defaults to `org-pre/postamble-class').  Move spec building to
6505         separate function (`org-html-format-spec').
6506         (org-html-format-spec): New function.
6507         (org-pre/postamble-class): New variable.
6508         (org-html--timestamp-format): New variable used in the metadata
6509         and the pre/postamble.
6510         (org-html-style-default): Make the preamble and postamble use the
6511         same style.  Make all anchors font-size %100.  Remove margin from
6512         the content section.
6513         (org-html-container-element): Fix docstring.
6514         (org-html-postamble-format, org-html-preamble-format): Update
6515         docstrings.
6516         (org-html-template): Use `org-html--build-pre/postamble'.
6517         (org-html--build-pre/postamble): New function, combining the
6518         pre/postamble generator.  Merge lists of formatters from the
6519         preamble and postamble.  Fix bug, using :time-stamp-file instead
6520         of :with-date for auto display of date: this brings usage in-line
6521         with the latex and beamer exporter.
6522         (org-html--build-postamble, org-html--build-postamble): Delete.
6523         (define-backend): Add :html-doctype and :html-container
6524         parameters.
6525         (org-html-doctype): New option for doctype declaration.
6526         (org-html-container-elemnt): New option for specifying the wrapper
6527         container element.
6528         (org-html-divs): Change to alist of three entries each containing
6529         a key ('preamble, 'content, 'postamble), an HTML element type and
6530         an id to allow setting container elements.
6531         (org-html--build-preamble, org-html--build-postamble): Modified to
6532         use `org-html-divs'.
6533         (org-html-template): Modified to use doctype and container-element
6534         settings.
6535         (org-export-define-backend): Add css url option.
6536         (org-export-htmlized-org-css-url): Modify docstring and options.
6537         (org-html--build-style): Include css-url if specified.
6539 2013-11-12  Roberto Huelga Díaz  <rhuelga@gmail.com>  (tiny change)
6541         * org-timer.el (org-timer-set-timer): Use the variable
6542         `org-clock-sound' when calling `org-notify'.
6544 2013-11-12  Ryo TAKAISHI  <ryo.takaishi.0@gmail.com>
6546         * org-capture.el (org-capture--expand-keyword-in-embedded-elisp):
6547         New function.
6548         (org-capture-expand-embedded-elisp): Use the new function.
6550         * ob-tangle.el (org-babel-tangle-collect-blocks): Change argument
6551         name collid `org-babel-map-src-blocks' variable 'lang'.
6553         * org-protocol.el (org-protocol-convert-query-to-plist): New
6554         function.
6555         (org-protocol-do-capture): Use new function.
6556         (org-protocol-data-separator): Change default separator.
6558 2013-11-12  Rémi Vanicat  <vanicat@debian.org>  (tiny change)
6560         * org-table.el (orgtbl-format-line): Fix bug when formatting line.
6562 2013-11-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6564         * ox-latex.el (org-latex-listings): Don't quote const value.
6566         * ob-C.el (org-babel-C-var-to-C): Add list support
6567         (org-babel-C-val-to-C-list-type, org-babel-C-val-to-C-type)
6568         (org-babel-C-format-val): New functions.
6569         (org-babel-C-ensure-main-wrap, org-babel-execute:C)
6570         (org-babel-execute:C++, rg-babel-execute:cpp)
6571         (org-babel-C++-compiler, org-babel-C-compiler): Improve docstring.
6573         * org-entities.el (org-entities): Add support for hbar.
6575 2013-11-12  Sacha Chua  <sacha@sachachua.com>  (tiny change)
6577         * org.el (org-read-date-get-relative): Handle positive and
6578         negative weekday specifications so that they don't return today.
6579         If today is Friday, "fri" should mean next Friday.  This changes
6580         the previous behavior, which required you to specify "+2fri" in
6581         order to mean next Friday if today was Friday.  If you want to
6582         schedule something for today, you can use ".".
6584 2013-11-12  Samuel Loury  <konubinix@gmail.com>  (tiny change)
6586         * org.el (org-open-at-point): Open a plain link even if the cursor
6587         is before it, which is consistent with the behavior with respect
6588         to bracket and angle links.
6590 2013-11-12  Sean O'Halpin  <sean.ohalpin@gmail.com>  (tiny change)
6592         * ob.el (org-babel-expand-noweb-references): Capture current noweb
6593         start and end patterns then use them to set buffer locals in a
6594         (with-temp-buffer ...) form.
6596 2013-11-12  Sebastien Vauban  <xxx@public.gmane.org>
6598         * ox-latex.el (org-latex-listings-langs): Update custom variable.
6600         * ob-core.el (org-babel-parse-src-block-match): Fix order of list
6601         of header arguments.
6603         * org-clock.el (org-clock-goto-before-context): New option.
6604         (org-clock-goto): Use the new option.
6605         (org-clocktable-write-default): Insert the summary as a standard
6606         #+CAPTION keyword for the (clock) table.
6608 2013-11-12  Stephen Eglen  <S.J.Eglen@damtp.cam.ac.uk>  (tiny change)
6610         * org-agenda.el (org-agenda-prefix-format): Small docstring
6611         enhancement.
6613 2013-11-12  Suhail Shergill  <suhailshergill@gmail.com>  (tiny change)
6615         * ob-core.el (org-babel-temp-file): For remote hosts, modify the
6616         prefix and leave `temporary-file-directory' unchanged.
6618 2013-11-12  Suvayu Ali  <fatkasuvayu+linux@gmail.com>  (tiny change)
6620         * org.el (org-speed-commands-default): Change default binding for
6621         org-mark-subtree from "." to "@" to be more consistent with "C-c
6622         @".
6624 2013-11-12  Tim Burt  <tcburt@rochester.rr.com>  (tiny change)
6626         * org-datetree.el (org-datetree-find-year-create): Also match
6627         headlines with tags.
6629 2013-11-12  Toby S. Cubitt  <tsc25@cantab.net>
6631         * org.el (org-time-clocksum-format)
6632         (org-time-clocksum-fractional-format): In addition to a single
6633         format string, the clocksum formats can now be plists specifying
6634         separate formats for different time units.
6635         (org-minutes-to-clocksum-string): New function to replace
6636         `org-minutes-to-hh:mm-string', which converts a number of minutes
6637         to a string according to the customization options.
6639         * org-colview.el (org-columns-number-to-string): Use the new
6640         `org-minutes-to-clocksum-string' function to format clocksum
6641         durations.
6643         * org-clock.el: Always call new `org-minutes-to-clocksum-string'
6644         function when formatting time durations, instead of calling
6645         `org-minutes-to-hh:mm-string' or passing
6646         `org-time-clocksum-format' directly to format.
6648 2013-11-12  Tokuya Kameshima  <kametoku@gmail.com>
6650         * org-mew.el (org-mew-inbox-folder, org-mew-use-id-db)
6651         (org-mew-subject-alist, org-mew-capture-inbox-folders)
6652         (org-mew-capture-guess-alist): New options.
6653         (org-mew-store-link, org-mew-open): Rewrite.
6654         (org-mew-folder-name, org-mew-follow-link)
6655         (org-mew-folder-eixsts-p, org-mew-get-msgnum)
6656         (org-mew-open-by-message-id, org-mew-search, org-mew-capture)
6657         (org-mew-capture-guess-selection-keys): New functions.
6659 2013-11-12  Trevor Murphy  <trevor.m.murphy@gmail.com>  (tiny change)
6661         * org.el (org-get-compact-tod): Always pad minutes to two places.
6663 2013-11-12  Viktor Rosenfeld  <listuser36@gmail.com>  (tiny change)
6665         * org.el (org-agenda-prepare-buffers): Add tags defined in
6666         `org-tag-persistent-alist' to `org-tag-alist-for-agenda'.
6668 2013-11-12  Vitalie Spinu  <spinuvit@gmail.com>
6670         * ob-tangle.el (org-babel-find-file-noselect-refresh): Call
6671         `find-file-noselect' with 'nowarn argument to surpress
6672         `yes-or-no-p' reversion message.
6674         * ob-core.el (org-babel-where-is-src-block-head): Return
6675         `point-marker' instead of `point'.
6677 2013-11-12  Yann Hodique  <yann.hodique@gmail.com>
6679         * org-publish.el (org-publish-org-to-taskjuggler): New function to
6680         publish taskjuggler projects.
6682 2013-11-12  Yasushi Shoji  <yashi@atmark-techno.com>
6684         * org-clock.el (org-clock-x11idle-program-name): New option.
6685         (org-x11idle-exists-p, org-x11-idle-seconds): Use it.
6687 2013-11-12  Yoshinari Nomura  <nom@quickhack.net>
6689         * ox-html.el (org-html--has-caption-p): New function.
6690         (org-html-link--inline-image, org-html-table): Prepend ordinal
6691         number to caption.
6692         (org-html-link): Make numbered link by counting captioned figures
6693         and tables.
6695         * ox.el (org-export-dictionary): Add Japanese translations for
6696         figures and tables.  Add "Figure %d:" entry in the same manner
6697         with "Table %d:".
6699 2013-11-12  Nicolas Richard  <nrichard@ulb.ac.be>
6701         * ob.el (org-babel-edit-distance): When insertion or deletion are
6702         needed, make sure the distance is incremented.  In addition, the
6703         now obsolete mmin function was removed.
6705 2013-11-12  Oleh Krehel  <wave@mail.ua>
6707         * org-capture.el (org-capture-expand-embedded-elisp): Throw error
6708         if result is not a string and not nil.  If the result is nil,
6709         treat it as if it was the empty string.
6711         * org-clock.el (org-clock-notify-once-if-expired): Honor
6712         `org-clock-sound'.
6714 2013-11-12  Rasmus Pank  <rasmus.pank@gmail.com>
6716         * org.el (org-format-latex-header): Remove eucal and amsmath.
6717         (org-latex-default-packages-alist): Remove amstext and add
6718         amsmath.
6720         * ox-latex.el (org-latex-item): Use square as unchecked symbol.
6722         * org.el (org-latex-default-packages-alist): Remove latexsym.
6724         * org-entities.el (org-entities): Add support for ell, imath,
6725         jmath, varphi, varpi, aleph, gimel, beth, dalet, cdots, S (§),
6726         dag, ddag, colon, therefore, because, triangleq, leq, geq,
6727         lessgtr, lesseqgtr, ll, lll, gg, ggg, prec, preceq, preccurlyeq,
6728         succ, succeq, succurlyeq, setminus, nexist(s), mho, check, frown,
6729         diamond.  Changes loz, vert, checkmark, smile and tilde.
6731         * ob-C.el: Added C++ to `org-babel-load-languages' automatically
6732         after loading C.
6734         * org-src.el (org-src-lang-modes): Added association between
6735         language C++ and `c++-mode'.
6737         * ox.el (org-export-smart-quotes-alist): Added ("da" "no" "nb"
6738         "nn" "sv").
6739         (org-export-dictionary): Added some entries ("da" "no" "nb" "nn"
6740         "sv").
6741         (org-export-default-language): Mention other variables affected by
6742         language.
6744         * ox-latex.el (org-latex-babel-language-alist): Added 'nb', 'nn',
6745         and 'no' for Norwegian.  Removed 'no-no'.
6746         (org-latex-pdf-process): let `latexmk' be a preconfigured choice
6747         and change the wording of the docstring.
6748         (org-latex-guess-babel-language): Replace AUTO with language if
6749         AUTO is the option of the LaTeX package Babel.
6750         (org-latex-classes): Updated documentation with respect
6751         to `org-latex-guess-babel-language'.
6753 2013-11-12  Дядов Васил Стоянов  <vdyadov@elvees.com>  (tiny change)
6755         * org-docview.el (org-docview-export): New function to export
6756         docview links.
6758 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6760         * org-agenda.el (org-agenda-mode):
6761         * org-indent.el (org-indent-mode): Use the `local' arg of
6762         add-hook/remove-hook.
6764 2013-03-08  Bastien Guerry  <bzg@gnu.org>
6766         * org-exp.el (org-export-normalize-links): Fix critical bug: do
6767         not rely on `org-context' to guess where to prevent links
6768         normalization.
6770 2013-02-28  Achim Gratz  <Stromeko@Stromeko.DE>
6772         * org.el (org-org-menu): Use correct key "C-u C-c C-x !" to do
6773         org-reload uncompiled in the menu.
6775 2013-02-28  Bastien Guerry  <bzg@gnu.org>
6777         * org-indent.el (org-indent-add-properties): Bugfix: prevent
6778         negative value for `added-ind-per-lvl'.
6780         * org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
6781         `isearch-mode-end-hook' so that any isearch fixes the problem with
6782         ellipsis on the first line.
6783         (org-fix-ellipsis-at-bol): New defsubst.
6784         (org-show-context, org-isearch-end): Use it.
6786         * org.el (org-show-context): Remove useless catch.
6787         Make sure the top of the window is a visible headline.
6788         (org-activate-plain-links): Remove unused catch.
6790         * org-macs.el (org-get-alist-option): Return nil, not (nil),
6791         so that `org-show-context' DTRT.
6793         * org.el (org-imenu-get-tree): Fix bug when matching against empty
6794         headlines.
6796         * org.el (org-overview): Stay on current line.
6797         (org-map-entries): Fix docstring.
6798         (org-at-clock-log-p): Delete.
6799         * org-clock.el (org-at-clock-log-p): Move here.
6801         * org.el (org-tsr-regexp-both): Don't activate dates in links.
6802         (org-activate-dates): Change match boundaries according to the new
6803         value of `org-tsr-regexp-both'.
6805         * org-agenda.el (org-agenda-to-appt): Fix typos.
6807         * org-agenda.el (org-agenda-local-vars): Don't include
6808         `org-agenda-show-window' as it needs to be checked outside of the
6809         agenda window.
6811         * org.el (org-set-tags-command): Fix bug when setting tags for
6812         multiple headlines in an active region.
6814         * org-mobile.el (org-mobile-edit): DTRT when inserting a heading
6815         in an invisible region.
6817         * org.el (org-insert-heading-respect-content): Add docstring.
6818         New `invisible-ok' parameter.
6819         (org-insert-todo-heading-respect-content): Add docstring.
6821         * ob-tangle.el (org-babel-tangle-collect-blocks):
6822         Bugfix: remove code references from blocks.
6824         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
6825         Cosmetic changes.
6826         (org-agenda-show-new-time): Fix bug when displaying a temporary
6827         overlay with the scheduled/deadline information.
6829         * org.el (org-fill-paragraph-with-timestamp-nobreak-p): New function.
6830         (org-setup-filling): Use it to prevent breaking a timestamp when
6831         filling a paragraph.
6833         * org-id.el (org-id-get-with-outline-path-completion): Fix docstring.
6835 2013-02-28  Tim Burt  <tcburt@rochester.rr.com>  (tiny change)
6837         * org-datetree.el (org-datetree-find-year-create):
6838         Match headlines with tags.
6840 2013-02-07  Bastien Guerry  <bzg@gnu.org>
6842         * org-agenda.el (org-agenda-get-deadlines)
6843         (org-agenda-get-scheduled): Fix bug: use text properties for the
6844         headline text since we rely on properties to get e.g. the effort.
6846         * org-exp.el (org-export-normalize-links): Don't match links
6847         within tags.
6849         * org-html.el (org-export-html-preamble-format)
6850         (org-export-html-postamble-format): Mention that
6851         org-export-html-preamble/postamble need to be `t' in order for
6852         these variables to have any effect.
6854         * org-html.el (org-html-handle-links): When the link description
6855         is an image and the attribute is "width", pass the attribute to
6856         the <img ...> tag.
6858         * org.el (org-mode): Always honor `org-startup-indented', even
6859         when `org-inhibit-startup' is non-nil.
6861         * org-indent.el (org-indent-mode): Don't check
6862         `org-inhibit-startup'.
6864         * org.el (org-fontify-meta-lines-and-blocks-1): Don't try to add
6865         text properties outside of the buffer.
6867         * org.el (org-agenda-inhibit-startup): Rename from
6868         `org-agenda-inhibit-startup-visibility-cycling'.
6869         (org-agenda-prepare-buffers): Bind `org-inhibit-startup' to
6870         `org-agenda-inhibit-startup'.
6872         * org.el (org-mode): Don't initialize `org-beamer-mode' when
6873         `org-inhibit-startup' is non-nil.
6875         * org-footnote.el (org-footnote-create-definition): Prevent
6876         `electric-indent-mode' from inserting the definition at the wrong
6877         place.
6879         * org-agenda.el (org-agenda-no-heading-message): Delete.
6880         (org-agenda-get-timestamps, org-agenda-get-progress)
6881         (org-agenda-get-deadlines, org-agenda-get-scheduled)
6882         (org-agenda-get-blocks): Don't use
6883         `org-agenda-no-heading-message', skip the entry.
6885         * org.el (org-agenda-inhibit-startup-visibility-cycling):
6886         New option.
6887         (org-agenda-prepare-buffers): Use it to speed up the agenda
6888         generation.
6890         * org-agenda.el (org-agenda-skip): Fix bug by correctly skipping
6891         commented scheduled/deadline lines.
6893         * org-clock.el (org-clock-in): Fix bug when fetching the effort
6894         value.
6896         * ob-python.el (org-babel-python-command): Fix docstring.
6897         (org-babel-python-initiate-session-by-key): Fix bug: `run-python'
6898         from Emacs >24.1 requires a python command as an argument.
6900         * org-element.el (org-element-at-point): Fix typo in docstring.
6902         * org-agenda.el (org-agenda-get-deadlines): Fix bug: use
6903         `org-agenda-show-inherited-tags'.
6905         * org-agenda.el (org-agenda-skip): Correctly handle commented out
6906         scheduled/deadline lines.  Refactor.
6908         * org-install.el: Do not warn users.
6910         * org.el (org-adaptive-fill-function): In message-mode, don't
6911         lines in the message header, nor table lines in the body.
6912         Correctly fill lines starting with `org-outline-regexp' in the
6913         body.
6915         * org-agenda.el (org-agenda-open-link): Fix bug with opening all
6916         links.
6918 2013-02-07  Francesco Pizzolante  <fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>  (tiny change)
6920         * org-clock.el (org-clock-sum): Protect with `org-unmodified'.
6922         * org-macs.el (org-unmodified): Inhibit modification hooks.
6924 2013-02-07  John K. Luebs  <jkluebs@luebsphoto.com>  (tiny change)
6926         * org.el (org-get-wdays): Handle matching a lead time specified in
6927         hours.
6929 2013-02-07  Muchenxuan Tong  <demon386@gmail.com>  (tiny change)
6931         * org-agenda.el (org-agenda-quit): Delete indirect buffer's window
6932         only when it exists.
6934 2013-02-07  Nicolas Goaziou  <n.goaziou@gmail.com>
6936         * org-element.el (org-element-macro-parser): Fix error when last
6937         argument ends with a protected comma.
6939         * org-element.el (org-element-parse-buffer, org-element-map)
6940         (org-element-at-point, org-element-context): Be more verbose in
6941         docstrings.  Also fix typos.
6943         * org-list.el (org-list-struct-fix-box): When a checkbox has to be
6944         resetted because of a non-nil ORDERED property value, make sure it
6945         had a checkbox already.
6947 2013-02-07  Tokuya Kameshima  <kametoku@gmail.com>  (tiny change)
6949         * org-agenda.el (org-search-view): Fix checking
6950         `org-agenda-show-inherited-tags'.
6952 2013-02-07  racin  <racin@free.fr>  (tiny change)
6954         * org-bibtex.el (org-bibtex-search): Don't throw an error when
6955         `org-bibtex-prefix' is nil.
6957 2013-01-13  Bastien Guerry  <bzg@gnu.org>
6959         * org-compat.el (org-condition-case-unless-debug): Delete.
6961         * org-odt.el (org-odt-cleanup-xml-buffers):
6962         Use `condition-case' instead of `org-condition-case-unless-debug',
6963         which is now deleted.
6965         * org-capture.el (org-capture-templates-contexts):
6966         * org-agenda.el (org-agenda-custom-commands-contexts):
6967         Docstring fix.
6969         * org.el (org-get-tags-at): Remove duplicate inherited tags.
6971         * org-agenda.el (org-agenda-show-inherited-tags): Allow to be set
6972         to 'always or to a list of agenda types.
6973         (org-agenda-finalize): Rework conditions under which inherited
6974         tags should be made available even when not displayed.
6975         (org-search-view, org-agenda-get-todos)
6976         (org-agenda-get-timestamps, org-agenda-get-sexps)
6977         (org-agenda-get-progress, org-agenda-get-scheduled)
6978         (org-agenda-get-blocks): Use new possible values of
6979         `org-agenda-show-inherited-tags'.
6981         * org.el (org-open-at-point): Fix opening all links at point.
6983         * org-agenda.el (org-get-entries-from-diary): Turn off
6984         `diary-file-name-prefix' instead of
6985         `diary-file-name-prefix-function', the former is checked before
6986         the latter.
6988         * org.el (org-edit-special): Check for table.el before checking
6989         for Org tables.
6991 2013-01-13  Michael Albinus  <michael.albinus@gmx.de>
6993         * ob-eval.el (org-babel-shell-command-on-region):
6994         Use `executable-find' for local `shell-file-name'.
6996 2013-01-09  Achim Gratz  <Stromeko@Stromeko.de>
6998         * org-faces.el: Define face alias mode-line for XEmacs (it's
6999         called modeline there).
7001         * org-compat.el (org-no-popups): New wrapper macro which let-binds
7002         the correct variables to suppress popup windows depending on the
7003         Emacs version in use.  This is a compile-time decision when
7004         byte-compiling.
7006         * org.el (org-get-location, org-switch-to-buffer-other-window):
7007         Use the wrapper `org-no-popups' to let-bind the correct variables
7008         for suppression of popup windows.
7010         * org-compat.el (user-error): Defalias to `error' for Emacsen that
7011         don't have it.
7013         * org-agenda.el (org-agenda-write): Use org-called-interactively-p
7014         instead of called-interactively-p.
7016         * org.el (org-find-invisible-foreground): Do not use the value of
7017         variables `default-frame-alist', `initial-frame-alist' and
7018         `window-system-default-frame-alist' when their symbol is not bound.
7020 2013-01-09  Bastien Guerry  <bzg@gnu.org>
7022         * org-src.el (org-edit-src-code): Fix bug when trying to edit a
7023         table.el table.
7025         * org-agenda.el (org-agenda-finalize): Inhibit readonly for the
7026         whole function.
7028         * org.el (org-entry-get): Speed up by let-binding some variables
7029         only if needed.  Also fix a bug: consider an empty drawer as no drawer.
7031         * org-agenda.el (org-search-view, org-agenda-get-todos)
7032         (org-agenda-get-timestamps, org-agenda-get-sexps)
7033         (org-agenda-get-progress, org-agenda-get-deadlines)
7034         (org-agenda-get-scheduled, org-agenda-get-blocks)
7035         (org-agenda-change-all-lines): Get local tags only.
7036         (org-agenda-use-tag-inheritance): New option.
7037         (org-agenda-finalize): When `org-agenda-use-tag-inheritance'
7038         is non-nil, possibly reset tags in the agenda buffer.
7039         (org-agenda-check-type): Enhance docstring.
7041         * org.el (org-use-tag-inheritance): Fix typo in docstring.
7043         * org-agenda.el (org-float): Don't alias `org-float'.
7045         * org.el (org-scan-tags): The skipper already checks for archived
7046         entries.
7048         * org.el (org-refresh-properties): Rename from
7049         `org-refresh-effort-properties' and use two new parameters.
7050         (org-agenda-prepare-buffers): Use `org-refresh-properties'.
7051         Also refresh the 'org-appt-warntime text property.
7053         * org-clock.el (org-clock-in): Use the renamed defun.
7055         * org-icalendar.el (org-icalendar-print-entries):
7056         Refresh the 'org-appt-warntime property.
7057         (org-icalendar-print-entries):
7058         * org-agenda.el (org-agenda-get-timestamps)
7059         (org-agenda-get-sexps, org-agenda-get-deadlines)
7060         (org-agenda-get-scheduled): Do not use `org-entry-get' to get the
7061         "APPT_WARNTIME" property value.
7063         * org.el (org-id-link-to-org-use-id): Fix compiler warning.
7065         * org-agenda.el (org-agenda-format-item): Do not use
7066         `org-get-effort' to get the effort text property.
7067         (org-agenda-get-sexps): Use `org-back-to-heading' when setting tags.
7069         * org-clock.el (org-clock-in): Refresh effort properties.
7071         * org.el (org-refresh-effort-properties): New defun.
7072         (org-get-effort): Delete.
7073         (org-set-effort):
7074         (org-property-next-allowed-value): Set the 'org-effort text property.
7075         (org-agenda-prepare-buffers): Refresh effort properties.
7077         * org.el (org-read-date): Let-bind `mouse-autoselect-window' to
7078         nil so that the mouse doesn't jump when the option is set to t globally.
7080         * org-agenda.el (org-agenda-dim-blocked-tasks): Default to nil.
7081         (org-agenda-dim-blocked-tasks): Make interactive and allow an
7082         optional parameter 'invisible to hide blocked tasks instead of
7083         just dimming them.
7084         (org-agenda-mode-map): Bind `org-agenda-dim-blocked-tasks' to "#".
7086         * org-agenda.el (org-agenda-finalize): Don't try to align tags
7087         when there are no tags.  Only try to draw the habit consistency
7088         graph when there is a habit in the buffer.  Only mark clocking
7089         task when there is one.
7091         * org.el (org-adaptive-fill-function): DTRT in `message-mode'.
7093         * org.el (org-get-priority): Save match data even when using
7094         `org-get-priority-function'.
7096         * org-mobile.el (org-mobile-create-index-file):
7097         Possibly normalize `org-todo-keywords'.
7099         * org-mobile.el (org-mobile-push): Use the correct agenda buffer names.
7101         * org.el (org-store-link): Use `org-id-link-to-org-use-id' instead
7102         of the obsolete variable name.
7104         * org.el (org-fontify-meta-lines-and-blocks-1):
7105         Fix bug when fontifying keywords with no value.
7107         * org.el (org-goto-auto-isearch): Enhance docstring.
7108         (org-goto-map): Make a defun, so that the customized value of
7109         org-goto-auto-isearch is correctly initialized.
7110         (org-goto): Initialize the keymap with `org-goto-map'.
7111         (org-get-location): Use *Org Help* as a temporary buffer.
7112         Tell whether auto-isearch is on or off.
7114         * org-exp.el (org-export-as-org): Remove useless argument.
7116         * org-docbook.el (org-export-as-docbook-batch)
7117         (org-export-region-as-docbook, org-export-as-docbook-pdf):
7118         Fix the number of arguments.
7119         (org-export-as-docbook): Remove useless argument.
7121         * org.el (org-speed-commands-default): Use ":" instead of ";" for
7122         `org-set-tags-command', which is consistent with ":" in agenda
7123         view.  Use "=" for `org-columns".
7125         * org.el (org-sparse-tree): Fix redundant information in prompt.
7127         * org-exp.el (org-export-string): Fix number of arguments passed
7128         to the org-export-as-* functions.
7130         * org-latex.el (org-export-as-latex): Fix typo in docstring.
7132         * org-list.el (org-cycle-include-plain-lists): Docstring enhancement.
7134         * org.el (org-fontify-meta-lines-and-blocks-1): Fix fontification
7135         bug when fontifying a keyword with no associated value.
7136         (org-cycle-internal-local): Don't run hooks when cycling a plain
7137         list before first headline.
7138         (org-ctrl-c-ctrl-c): Throw a user error when trying to toggle a
7139         blocked checkbox.
7140         (org-indent-line): Fix table formulas indenting.
7142         * org-agenda.el (org-agenda-open-link): Fix bug when no link is
7143         matched.  Return a message instead of an error.
7144         (org-agenda-priority): Remove useless parameter and fix showing
7145         priority in agenda buffers.
7147         * org-macs.el (org-with-buffer-modified-unmodified): New macro.
7149         * org.el (org-entry-blocked-p): Use the new macro.
7151         * org-src.el (org-edit-src-exit): Don't comma-escape the content
7152         of a fixed width region.
7154         * org.el (org-blocker-hook): Update the docstring to mention that
7155         functions in this hook should not modify the buffer.
7156         (org-trigger-hook): Small docstring fix.
7157         (org-entry-blocked-p): Use `with-buffer-modified-unmodified'
7158         so that the function never modifies the buffer.
7160         * org-agenda.el (org-agenda-open-link): Allow to open an internal
7161         link by using the new `org-offer-links-in-entry' function.
7163         * org.el (org-offer-links-in-entry): Do not open the link directly
7164         through `org-open-link-from-string', only offer to select a link
7165         and return a cons with the link (as a string) and the end of entry.
7166         (org-open-at-point): Use `org-offer-links-in-entry' correctly.
7168         * org.el (org-cycle-internal-local):
7169         Fix bug: allow headings with leading blank characters.
7171         * org-clock.el (org-clock-persist):
7172         Docstring fix: document the 'history value.
7174         * org.el (org-insert-link): Fix bug when inserting links to
7175         headlines containing the ">" character.
7177         * org-crypt.el (org-at-encrypted-entry-p): Fix search boundary.
7179         * org-compat.el (org-delete-directory): New compatibility function
7180         for Emacs 22, where `delete-directory' does not support recursive
7181         deletion.
7183         * org-odt.el (org-odt-cleanup-xml-buffers):
7184         Use the new compatibility function.
7186         * org.el (org-table-map-tables): Fix allowed blocks.
7188         * org.el (org-edit-special):
7189         * org-src.el (org-edit-src-code): Fix regression: allow editing
7190         HTML and LaTeX source blocks again.
7192         * org.el (org-nonsticky-props): Add `htmlize-link'.
7193         (org-nonsticky-props): Add `htmlize-link'.
7195         * org.el (org-edit-special):
7196         * org-src.el (org-edit-src-code): Don't edit in verbatim blocks.
7198         * org-table.el (org-table-fedit-lisp-indent)
7199         (orgtbl-self-insert-command): Use `org-delete-backward-char'
7200         instead of `backward-delete-char'.
7202         * org-src.el (org-edit-src-code): Fix another bug about editing
7203         special blocks "example" and "verbatim".
7205         * org.el (org-structure-template-alist): Add verbatim.
7206         (org-edit-special): Fix bug about editing special blocks
7207         "example" and "verbatim".
7209         * org.el (org-delete-backward-char, org-delete-char):
7210         Save match data, `delete-backward-char' and `delete-char' don't.
7212         * org.el (org-enable-table-editor, org-insert-heading)
7213         (org-remove-timestamp-with-keyword, org-self-insert-command):
7214         * org-table.el (org-table-fedit-lisp-indent)
7215         (orgtbl-self-insert-command):
7216         * org-latex.el (org-export-latex-subcontent):
7217         * org-clock.el (org-clocktable-write-default):
7218         * org-ascii.el (org-export-ascii-preprocess):
7219         Use `delete-backward-char' instead of `backward-delete-char'.
7221         * org.el (org-todo): Ignore the comment string when changing the
7222         TODO state of a headline.
7223         (org-edit-special): Fix docstring.
7224         (org-in-src-block-p): Small enhancement.
7226         * org-publish.el (org-publish-org-to): Call `org-export-as-*'
7227         functions with the correct list of arguments.
7229         * org-html.el (org-export-as-html): Delete obsolete arg `hidden'.
7230         (org-export-as-html-and-open, org-export-as-html-batch)
7231         (org-export-region-as-html): Don't use obsolete arg.
7233         * org-ascii.el (org-export-as-ascii): Delete obsolete arg `hidden'.
7234         (org-export-as-ascii-to-buffer): Don't use obsolete arg.
7236         * org.el (org-in-fixed-width-region-p): Save match data.
7237         (org-in-src-block-p): Use case-folding for searching the block
7238         boundaries.
7239         (org-activate-plain-links, org-activate-angle-links)
7240         (org-activate-bracket-links): Prevent link activation in
7241         source code blocks.
7243         * org-odt.el (org-odt-cleanup-xml-buffers): Fix Emacs Bug#13197 by
7244         setting the correct buffer before marking it unmodified to
7245         silently kill him.
7247         * org.el (org-set-font-lock-defaults): Don't activate links in
7248         source code blocks and fixed-width regions.
7250         * org-agenda.el (org-agenda-finalize): Fix links activation.
7252         * org.el (org-open-at-point): Throw the correct error on
7253         non-links.  Use `user-error' instead of `error'.
7255         * org.el (org-in-fixed-width-region-p): Define before use.
7257         * org-src.el (org-in-src-block-p): Declare function.
7259         * org-compat.el: Fix bug: don't use `eval-when-compile' when
7260         aliasing `user-error'.
7262         * org-agenda.el (org-agenda-skip): Only check if point is
7263         inside a code block, not at a code block.
7265         * org.el (org-in-fixed-width-region-p):
7266         Rewrite using org-element.el.
7268         * org.el (org-fill-paragraph): Fill correctly in source code block.
7270         * org.el (org-in-fixed-width-region-p): New function.
7271         (org-edit-special): Fix bug: make sure to DTRT in every
7272         special environment.  Also use the new function to check
7273         against fixed-width environment.
7275         * org-src.el (org-edit-src-code): Check if we are in a source code
7276         block with `org-in-src-block-p'.  Slightly reformat the docstring.
7278         * org.el (org-in-src-block-p): Return t when point is at the
7279         #+BEGIN_SRC/#+END_SRC lines unless the new optional parameter
7280         'inside is set to t.
7282         * ob-exp.el (obe-marker): Delete useless var.
7284         * org-src.el (org-edit-src-code): Fix bug triggered by the sexp
7285         (copy-marker nil) on Emacs <24.1.
7287 2013-01-09  Dmitry Antipov  <dmantipov@yandex.ru>
7289         * org-agenda.el (org-agenda-get-restriction-and-command):
7290         * org-capture.el (org-capture-place-template):
7291         * org-colview.el (org-dblock-write:columnview):
7292         * org-mobile.el (org-mobile-locate-entry):
7293         * org-table.el (org-table-convert-region):
7294         * org.el (org-update-statistics-cookies): Use `point-marker'.
7296 2013-01-09  Eric Schulte  <eric.schulte@gmx.com>
7298         * org-exp.el (org-export-string): Pass the dir option on through
7299         to any subsequent export functions.
7301 2013-01-09  Henning Weiss  <hdweiss@gmail.com>  (tiny change)
7303         * org-mobile.el (org-mobile-sumo-agenda-command): Remove match
7304         description from block agendas when they have a title.
7306 2013-01-09  Jambunathan K  <kjambunathan@gmail.com>
7308         * org-odt.el (org-export-as-odt-batch): Init `org-odt-zip-dir'.
7309         Fix Emacs Bug#13254.
7311         * org-odt.el (org-odt-format-org-link): Add check for presence of
7312         description in headline links.
7314 2013-01-09  Michael Gauland  <mike_gauland@stanfordalumni.org>  (tiny change)
7316         * org-src.el: Create a marker to pass to copy-marker.
7318 2013-01-09  Nicolas Goaziou  <n.goaziou@gmail.com>
7320         * org.el (org-setup-filling): Set `auto-fill-inhibit-regexp' to
7321         nil because `org-adaptive-fill-function' already determines which
7322         lines should be filled.
7324         * org.el (org-fill-paragraph): Small refactoring.
7326         * org-element.el (org-element--parse-elements)
7327         (org-element-at-point): Fix parsing of a list in a block in a list.
7329 2013-01-09  Sebastien Vauban  <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
7331         * org.el (org-copy-subtree, org-paste-subtree):
7332         Fix whitespace handling when copying/pasting a subtree.
7334 2012-12-20  Michael Albinus  <michael.albinus@gmx.de>
7336         * ob.el (org-babel-temp-file): Fix setting of
7337         `temporary-file-directory' on remote hosts.
7339         * ob-eval.el (org-babel-shell-command-on-region):
7340         Use `process-file' instead of `call-process-region'.  The latter one
7341         does not work on remote hosts.
7343 2012-12-13  Bastien Guerry  <bzg@gnu.org>
7345         * org-latex.el (org-export-latex-links): Escape raw path when
7346         exporting links to files.
7348         * org-src.el (org-src-native-tab-command-maybe): Fix bug: the
7349         S-TAB key should not trigger a native TAB command.
7351         * org.el (org-open-at-point): Allow to open any link within
7352         footnotes definition, not only bracket links.
7354         * org.el (org-sort-entries): Bugfix: keep track of the clock
7355         marker when sorting entries.  Enhance the docstring.
7357         * org-clock.el (org-clock-out): Use `user-error' when the user
7358         tries to clock out while there is no running clock.
7360         * org-table.el (org-table-sort-lines): Ensure coordinates are
7361         correctly displayed when sorting.
7363         * org.el (org-do-sort): Enhance prompt.
7365         * org-agenda.el (org-agenda-finalize): Also activate plain links.
7367         * org-timer.el (org-timer-stop): Add message.
7369         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
7370         Fix redundant messages.
7372         * org-agenda.el (org-agenda-finalize): Fix clock highlighting.
7374         * org.el (org-additional-option-like-keywords): Add "INDEX:".
7376         * org-install.el: Enhance warning.
7378 2012-12-13  Erik Hetzner  <egh@e6h.org>  (tiny change)
7380         * org.el (org-log-into-drawer): Honor the nil value for the
7381         :LOG_INTO_DRAWER: property.
7383 2012-12-13  Le Wang  <l26wang@gmail.com>  (tiny change)
7385         * org-src.el (org-edit-src-exit): Fix editing source section with
7386         blank lines.
7388 2012-12-13  Le Wang  <le.wang@agworld.com.au>
7390         * org-src.el (org-edit-src-code): Use marker with insertion type
7391         t to track end and remove hack requiring delete from beg to (1- end).
7393 2012-12-13  Nicolas Goaziou  <n.goaziou@gmail.com>
7395         * org-element.el (org-element-context): When point is between two
7396         objects, be sure to return the second one.
7398         * org-list.el (org-list-separating-blank-lines-number):
7399         When computing number of blank lines separating items, also count those
7400         in unparsed blocks, like example blocks.
7402         * org.el (org-end-of-line): When visual line mode is on, really
7403         move by visual lines.  Small refactoring.
7405         * org.el (org-end-of-line): On a hidden block make sure to
7406         delegate motion to `end-of-line' instead of `move-end-of-line' in
7407         order to stay on the current line.
7409 2012-12-13  Rafael Laboissiere  <rafael@laboissiere.net>  (tiny change)
7411         * org-bibtex.el: In the documentation section of the file, fix the
7412         broken URL to Andrew Roberts' document on BibTeX entries.
7414         * org-remember.el (org-remember-handler): Correctly strip the
7415         comment lines in the temporary buffer *Remember* when handling a
7416         remember note.
7418         * org-remember.el (org-remember-apply-template): Start the
7419         commented lines in the Remember temporary buffer with the
7420         appropriate characters.
7422 2012-12-13  Toby S. Cubitt  <tsc25@cantab.net>
7424         * org.el (org-beginning-of-line): Check `visual-line-mode' instead
7425         of `line-visual-mode' to determine whether to move by visual lines.
7427         * org.el (org-kill-line): Use the `org-bound-and-true-p' macro.
7429 2012-12-04  Chong Yidong  <cyd@gnu.org>
7431         * org-bibtex.el (org-bibtex-ask): Use visual-line-mode instead of
7432         longlines-mode.
7434 2012-10-26  Achim Gratz  <stromeko@stromeko.de>
7436         * ob-ditaa.el: Needs to (require 'org-compat) for
7437         org-find-library-dir.
7439         * org.el: Remove utf-8 codepoints in docstrings, bytecode doesn't
7440         work when loaded from compressed files.
7442         * org-compat.el: Make sure that file-name-directory is getting a
7443         stringp.  This avoids a possible " (wrong-type-argument stringp
7444         nil)" error when the library in question does not exist.
7446         * org-odt.el: Replace arc-mode.el by arc-mode.
7448         * org.el: Replace org-macs.el by org-macs.
7450         * org-install.el: Provide an empty file that prints a warning
7451         about an outdated configuration.
7453 2012-10-26  Bastien Guerry  <bzg@gnu.org>
7455         * org-latex.el (org-export-as-latex): Remove obsolete argument
7456         `hidden'.  Also fix the docstring: using 'string as the value
7457         for `to-buffer' outputs a string with no LaTeX header.
7458         (org-export-as-latex-batch)
7459         (org-export-as-latex-to-buffer, org-export-region-as-latex)
7460         (org-export-as-pdf): Don't use the obsoleted argument.
7462         * ob-haskell.el (org-export-as-latex): Don't use the obsoleted
7463         argument `hidden'.
7465         * org.el (org-refile): Run within `with-demoted-errors' so that a
7466         corrupted bookmark file does not stop the refile process.
7468         * org-capture.el (org-capture-bookmark-last-stored-position):
7469         Ditto for the capture process.
7471         * org-src.el (org-edit-src-exit): Fix bug when saving an empty
7472         source buffer.
7474         * org-lparse.el (org-lparse): Fix bug by returning the output
7475         of `org-do-lparse'.
7477         * org.el (org-refile-check-position): Throw an error when the
7478         refile target is the current buffer and is not a file.
7479         (org-agenda-file-to-front, org-remove-file): Throw an error
7480         when the current buffer is not a file.
7481         (org-check-agenda-file): Enhance the message.
7482         (org-element-type): Autoload.
7483         (org-element-context, org-element-paragraph-parser):
7484         Don't declare as these two functions are not used in org.el.
7486         * org-lparse.el (browse-url-file-url): Declare.
7488         * org.el (org-refile-check-position): Fix typo in docstring.
7490         * org-clock.el (org-clock-modeline-total): Make obsolete.
7491         (org-clock-mode-line-total): Rename from
7492         `org-clock-modeline-total'.
7493         (org-clock-get-sum-start): Fix references to
7494         `org-clock-modeline-total'.
7496         * org-faces.el (org-agenda-filter-tags)
7497         (org-agenda-filter-category, mode-line): Use the 'mode-line
7498         face instead of the obsolete 'modeline.
7500         * org-odt.el (org-odt-styles-dir): Try more directories.
7501         Don't throw an error, just send a message.
7503         * org-odt.el (org-odt-lib-dir, org-odt-data-dir)
7504         (org-odt-schema-dir-list, org-odt-styles-dir-list): Delete.
7505         (org-export-odt-schema-dir, org-odt-styles-dir): Infer the
7506         correct directories without requiring other variables.
7508         * org-loaddefs.el: New file.
7510         * org.el ("org-loaddefs.el"): Don't throw an error if the file
7511         cannot be fund.
7512         (org-version): Use org-loaddefs.el instead of org-install.el.
7514         * org.el: Don't dynamically autoload already autoloaded
7515         functions.
7516         (org-clock-update-time-maybe): Move to org-clock.el.
7518         * org-exp.el (org-insert-export-options-template):
7519         Remove autoload cookie.
7521         * org-clock.el (org-resolve-clocks, org-clock-in)
7522         (org-clock-out, org-clock-cancel, org-clock-goto)
7523         (org-clock-sum, org-clock-display, org-clock-report)
7524         (org-dblock-write:clocktable): Add autoload cookie.
7525         (org-clock-update-time-maybe): Move from org.el.
7527         * org-beamer.el (org-beamer-sectioning, org-beamer-mode): Ditto.
7529         * org-ascii.el (org-export-ascii-preprocess): Ditto.
7531         * org-archive.el (org-archive-subtree)
7532         (org-archive-to-archive-sibling, org-toggle-archive-tag):
7533         Add autoload cookie.
7535         * org-colview.el (org-columns, org-dblock-write:columnview)
7536         (org-insert-columns-dblock, org-agenda-columns): Ditto.
7538         * org-table.el (org-table-create-with-table.el)
7539         (org-table-create-or-convert-from-region, org-table-create)
7540         (org-table-convert-region, org-table-import)
7541         (org-table-export, org-table-align)
7542         (org-table-justify-field-maybe, org-table-next-field)
7543         (org-table-previous-field, org-table-next-row)
7544         (org-table-copy-down, org-table-field-info)
7545         (org-table-current-dline, org-table-goto-column)
7546         (org-table-insert-column, org-table-delete-column)
7547         (org-table-move-column-right, org-table-move-column-left)
7548         (org-table-move-column, org-table-move-row-down)
7549         (org-table-move-row-up, org-table-move-row)
7550         (org-table-insert-row, org-table-insert-hline)
7551         (org-table-hline-and-move, org-table-kill-row)
7552         (org-table-sort-lines, org-table-cut-region)
7553         (org-table-copy-region, org-table-paste-rectangle)
7554         (org-table-convert, org-table-wrap-region)
7555         (org-table-edit-field, org-table-sum)
7556         (org-table-get-stored-formulas)
7557         (org-table-maybe-eval-formula)
7558         (org-table-rotate-recalc-marks)
7559         (org-table-maybe-recalculate-line, org-table-eval-formula)
7560         (org-table-recalculate, org-table-iterate)
7561         (org-table-edit-formulas)
7562         (org-table-toggle-coordinate-overlays)
7563         (org-table-toggle-formula-debugger, orgtbl-to-generic)
7564         (orgtbl-to-tsv, orgtbl-to-csv, orgtbl-to-latex)
7565         (orgtbl-to-html, orgtbl-to-texinfo, orgtbl-to-orgtbl): Ditto.
7567         * org.el (turn-on-orgtbl): Move here from org-table.el.
7568         (org-clock-persistence-insinuate): Move here from org-clock.el.
7569         (org-update-all-dblocks, org-map-entries)
7570         (org-require-autoloaded-modules, org-forward-element)
7571         (org-backward-element, org-up-element)
7572         (org-element-greater-elements, org-drag-element-backward)
7573         (org-drag-element-forward, org-mark-element)
7574         (org-narrow-to-element, org-transpose-element)
7575         (org-unindent-buffer): Don't autoload.
7577         * org-clock.el (org-clock-get-clocktable): Rename from
7578         `org-get-clocktable'.
7579         (org-clock-persistence-insinuate): Move to org.el.
7581         * org-capture.el: Do no set `generated-autoload-file' locally.
7582         Minor code clean up.
7584         * org-agenda.el (org-agenda-list):
7585         Use `org-clock-get-clocktable'.  Do no set
7586         `generated-autoload-file' locally.
7588         * org-table.el (org-table-iterate-buffer-tables):
7589         Minor reformatting.
7590         (turn-on-orgtbl): Move to org.el.
7592         * org-html.el (org-export-htmlize-generate-css): Don't autoload.
7594         * org-timer.el (org-timer-pause-or-continue, org-timer-stop):
7595         Ditto.
7597         * ob-tangle.el (org-babel-tangle-lang-exts): Ditto.
7599         * ob-lob.el (org-babel-lob-ingest): Ditto.
7601         * org-id.el (org-id-copy)
7602         (org-id-get-with-outline-path-completion)
7603         (org-id-get-with-outline-drilling): Ditto.
7605         * org-lparse.el (org-lparse-and-open, org-lparse-batch)
7606         (org-lparse-to-buffer, org-replace-region-by)
7607         (org-lparse-region): Ditto.
7609         * org-mobile.el (org-mobile-create-sumo-agenda): Ditto.
7611         * org.el (org-cycle): Fix misplaced autoload cookie.
7613         * org-agenda.el (org-agenda-get-timestamps): Check if the item
7614         is an habit when formatting it with `org-agenda-format-item'.
7615         (org-agenda-get-blocks): Fix bug: don't assume the item is an
7616         habit when formatting with `org-agenda-format-item'.
7618         * org.el (org-calendar-agenda-action-key): Delete an option.
7619         (org-mode-map): Delete its keybinding.
7620         (org-agenda-action-marker, org-mark-entry-for-agenda-action):
7621         Delete.
7623         * org-agenda.el (org-agenda-diary-entry): Don't prevent from
7624         being used outside of Org agendas, as it can be used in
7625         calendar buffers too.
7627 2012-10-26  Caio Tiago Oliveira  <asrail@gmail.com>  (tiny change)
7629         * ob-scala.el (org-babel-scala-wrapper-method): Use a Scala
7630         block enclosing the submitted code.
7632 2012-10-26  Myles English  <mylesenglish@gmail.com>  (tiny change)
7634         * org-clock.el (org-clock-in): Move the call to
7635         org-clock-in-prepare-hook until the task's properties
7636         can be accessed.
7638 2012-10-26  Nicolas Goaziou  <n.goaziou@gmail.com>
7640         * org.el (org-auto-fill-function): Make sure `adaptive-fill-mode'
7641         mode is nil when pre-computed `fill-prefix' is the empty string.
7642         Otherwise filling functions from fill.el think it has to be computed
7643         again and overwrite it.
7645         * org.el: Make `org-closest-date' aware of hours repeaters.
7647         * org.el (org-end-of-line): Do not call `end-of-visual-line' when
7648         moving to the end of line.  Also improve behavior on elements that
7649         can be hidden.
7651         * org.el (org-sparse-tree): Allow to call `org-show-todo-tree'
7652         with an argument.
7654         * org-element.el (org-element--get-next-object-candidates):
7655         Fix parsing of objects of the same type in a single paragraph.
7657         * org-element.el (org-element-sub/superscript-successor):
7658         Fix parsing of sub/superscript at beginning of item.
7659         (org-element-latex-or-entity-successor): Fix parsing of latex
7660         fragments at beginning of item.
7662         * org-agenda.el (org-agenda-later): Fix function when span is
7663         a number and an argument was provided.  Also fix typo in docstring.
7665         * org.el (org-read-date-analyze): Fix analyzing for dates like
7666         "29.03 16:40".
7668         * org-element.el (org-element-center-block-parser)
7669         (org-element-drawer-parser, org-element-footnote-definition-parser)
7670         (org-element-inlinetask-parser, org-element-plain-list-parser)
7671         (org-element-quote-block-parser, org-element-special-block-parser)
7672         (org-element-babel-call-parser, org-element-clock-parser)
7673         (org-element-comment-parser, org-element-comment-block-parser)
7674         (org-element-example-block-parser, org-element-export-block-parser)
7675         (org-element-fixed-width-parser, org-element-horizontal-rule-parser)
7676         (org-element-keyword-parser, org-element-latex-environment-parser)
7677         (org-element-paragraph-parser, org-element-planning-parser)
7678         (org-element-property-drawer-parser, org-element-src-block-parser)
7679         (org-element-table-parser)
7680         (org-element-verse-block-parserorg-element-dynamic-block-parser):
7681         Make sure element never ends at the end of a blank non-empty line.
7683         * org-element.el (org-element-context)
7684         (org-element--get-next-object-candidates): Fix `org-element-context'.
7685         In particular, the restrictions for an object may be different from
7686         those of its container (i.e. table rows and table cells).
7688         * org-element.el (org-element-example-block-parser)
7689         (org-element-src-block-parser): Store value of example-blocks and
7690         src-blocks unescaped.
7691         (org-element-example-block-interpreter)
7692         (org-element-src-block-interpreter): Escape value again when storing
7693         it.
7695         * org-src.el (org-escape-code-in-string)
7696         (org-unescape-code-in-string, org-escape-code-in-region)
7697         (org-unescape-code-in-region): New functions.
7698         (org-edit-src-code, org-edit-src-exit): Use new functions.
7700         * org.el (org-strip-protective-commas): Remove function.
7702         * org-exp.el (org-export-select-backend-specific-text): Use new
7703         function.
7705         * ob.el (org-babel-parse-src-block-match)
7706         (org-babel-parse-inline-src-block-match, org-babel-insert-result):
7707         Always escape produced blocks, independently on the language of the
7708         block, if any.  Use new functions.
7710         * org-element.el (org-element-paragraph-parser): Fix regexp
7711         starting a block.
7713         * org-element.el (org-element-center-block-parser):
7714         (org-element-drawer-parser, org-element-dynamic-block-parser)
7715         (org-element-example-block-parser, org-element-export-block-parser)
7716         (org-element-latex-environment-parser, org-element-paragraph-parser)
7717         (org-element-property-drawer-parser, org-element-src-block-parser)
7718         (org-element-verse-block-parser): Use stricter regexps for boundaries
7719         of elements.
7721 2012-10-26  Toby S. Cubitt  <tsc25@cantab.net>
7723         * org-agenda.el (org-agenda-get-sexps): Reset `extra' to nil at
7724         beginning of re-search-forward loop, otherwise next iteration picks up
7725         `extra' value from previous entry.
7727 2012-09-30  Abdó Roig-Maranges  <abdo.roig@gmail.com>
7729         * org-html.el (org-export-html-preprocess)
7730         (org-export-html-format-image):
7731         Use `org-latex-preview-ltxpng-directory'.
7733         * org-odt.el (org-export-odt-do-preprocess-latex-fragments):
7734         Ditto.
7736         * org.el (org-latex-preview-ltxpng-directory): New option.
7737         (org-preview-latex-fragment): Store LaTeX preview images in
7738         `org-latex-preview-ltxpng-directory'.
7740 2012-09-30  Achim Gratz  <Stromeko@Stromeko.DE>
7742         * ob-R.el (org-babel-R-initiate-session): Protect against use of
7743         unbound variable `ess-ask-for-ess-directory´.  The default for this
7744         variable is true, so act accordingly if it is found unbound.
7746         * ob-R.el: Remove initialization with `nil´ from
7747         `ess-ask-for-ess-directory´ and `ess-local-process-name´.
7748         Remove second declaration for `ess-local-process-name´.
7750         * org-gnus.el: Add a missing require for gnus-util.
7752         * org-compat.el: Rename utils to make throughout.
7754         * org.el: Move check for outline-mode-keymap after (require
7755         'outline).
7757         * org-element.el: New file.  Do not (require 'org).
7759         * org-agenda.el: Remove duplicate requires.
7761         * org.el (org-mode-map): Add keybindings to
7762         `org-element-transpose' and `org-narrow-to-element'.
7763         (org-metaup): Fall back on `org-element-drag-backward'.
7764         (org-metadown): Fall back on `org-element-drag-forward'.
7765         Also move chunks of declarations and require statements to get rid of
7766         compiler warnings.
7768         * org-exp-blocks.el (org): Don't require org.  Add declarations.
7770         * org-clock.el (org): Don't require org.
7772         * ob-exp.el (org-list-forbidden-blocks): Add declarations.
7774         * ob.el (org-babel-exeext): New defconst to hold extension for
7775         executables or nil if none.  Should be ".exe" for both Windows and
7776         Cygwin.
7778         * ob-C.el (org-babel-C-execute): Use org-babel-exeext when
7779         constructing the target file name for the compiled executable.
7781         * ob-fortran.el (org-babel-execute:fortran): Add org-babel-exeext
7782         when constructing the target file name for the compiled
7783         executable.
7785         * org-version.el: New file.
7787         * org-compat.el (org-check-version): New macro.  Check if
7788         org-version.el exists and provide autoloads to that.  Otherwise
7789         check if org-fixup.el exists and use it to provide definitions.
7790         Finally if nothing worked, complain about a botched installation
7791         and provide fallback definitions.
7793         * org.el: Use org-check-version.
7795         * org.el: Fix a subtle error resulting in version functions
7796         sometimes not being defined and byte-compiling failing.
7797         Always compile in fallback definitions into org.elc -- org-fixup either
7798         provides re-definitions at compile-time or checks org-version.el
7799         and then the git work tree when run uncompiled.  So the fallback
7800         definitions will only come into effect when org-fixup is not
7801         available.
7803         * org.el (org-version): Make org-version more robust, e.g. when
7804         byte-compiling single files with 'make compile-dirty'.
7806         * org.el (org-reload): Revert an undesirable change in org-reload.
7807         Do not prepend org-dir to babel-files, which prevents the files
7808         from being found in load-path.
7810         * org.el (org-version): Add optional parameters 'full and 'message
7811         to optionally return the full version string and echo to message
7812         area in non-interactive calls.
7814         * org.el (org-submit-bug-report): Add optional parameter 'full to
7815         call of (org-version) so that the bug report has all version
7816         information.
7818         * org.el (org-reload): Simplify file-re (orgtbl-*.el files do not
7819         exist anymore).  Keep org-*.el at the end of the files list.
7820         Explicitly load org-version.el (since it doesn't provide feature
7821         'org-version) at the very end, but ignore errors when it doesn't
7822         exist.  Add parameters 'full and 'message to the call of
7823         (org-version) so that after reload the full version information is
7824         displayed in the message area again.
7826         * org-agenda.el: Replace with-no-warnings with org-no-warnings
7827         (defined in org-macs.el).
7829         * org-bbdb.el: Replace with-no-warnings with org-no-warnings
7830         (defined in org-macs.el).
7832         * org-clock.el: Replace with-no-warnings with org-no-warnings
7833         (defined in org-macs.el).
7835         * org.el: Replace with-no-warnings with org-no-warnings (defined
7836         in org-macs.el).
7838         * org.el: Add with-not-warnings around call of (org-fixup).
7840         * org-compat.el (org-find-library-dir):
7841         Rename org-find-library-name (misleading) and implement with a function
7842         that exists identically in Emacs/XEmacs.
7844         * org-exp-blocks.el: Change calls to org-find-library-dir.
7846         * org.el: change calls to org-find-library-dir.  Make require for
7847         noutline fail silently because it is missing from XEmacs.
7849         * org.el (org-version): Use functions instead of global variables
7850         to get the version strings and remove the defvaralias to
7851         org-version.  Warn when encountering a mixed installation (org and
7852         org-install.el should be found in the same directory).
7854         * org.el: Add with-no-warning to defvar for two unprefixed global
7855         variables from calendar.el (there's nothing else we can do inside
7856         org until it is fixed in calendar.el).
7858         * org.el: Require find-func and remove declare-function for
7859         find-library-name, otherwise autoloaded org-version doesn't show
7860         all info correctly.
7862         * org.el (org-version): Show the full path to org-install.el in
7863         the version string to avoid confusion if multiple installations
7864         exist or a previously loaded org-install.el has already defined a
7865         version string that is now out of date.
7867         * org.el (org-version): Remove determination of version
7868         information, show "N/A" if the information is not provided via
7869         org-install.el.
7871         * org.el (org-git-version): Placeholder for recording the Git
7872         version of org during install
7874         * org.el (org-version): Initialize local git-version with
7875         placeholder and fall through using it when org is not installed in
7876         a Git repository
7878 2012-09-30  Adam Spiers  <orgmode@adamspiers.org>  (tiny change)
7880         * org-html.el: Add hyperlink to http://orgmode.org/ from export
7881         footer.
7883         * org-clock.el (org-clock-modify-effort-estimate): Display a
7884         message when no clock is currently active.
7886 2012-09-30  Andrew Hyatt  <ahyatt@gmail.com>  (tiny change)
7888         * org-archive.el (org-archive-subtree): Allow archiving to a
7889         datetree.
7891         * org.el (org-archive-location): Ditto.
7893 2012-09-30  Bastien Guerry  <bzg@gnu.org>
7895         * ob-io.el: New file.
7897         * ob-scala.el: New file.
7899         * org.el (org-url-hexify-p, org-doi-server-url)
7900         (org-latex-preview-ltxpng-directory, org-custom-properties)
7901         (org-sparse-tree-default-date-type): Add :version "24.3".
7903         * org-agenda.el (org-agenda-sticky)
7904         (org-agenda-custom-commands-contexts): Ditto.
7906         * org-capture.el (org-capture-bookmark)
7907         (org-capture-templates-contexts) (org-capture-use-agenda-date):
7908         Ditto.
7910         * org-latex.el (org-export-latex-hyperref-options-format)
7911         (org-export-latex-link-with-unknown-path-format): Ditto.
7913         * org-id.el (org-id-link-to-org-use-id): Ditto.
7915         * org-datetree.el (org-datetree-add-timestamp): Ditto.
7917         * org.el (org-make-link-description-function): Enhance docstring.
7918         (org-insert-link): Fall back on interactive prompt when
7919         `org-make-link-description-function' fails.
7921         * org-agenda.el (org-todo-list): Fix redoing of todo agenda when
7922         `org-agenda-sticky' is non-nil.
7924         * org-agenda.el (org-agenda-quit): Delete last indirect buffer.
7925         (org-agenda-pre-follow-window-conf): New variable.
7926         (org-agenda-tree-to-indirect-buffer): Fix bug: don't split agenda
7927         window when there an indirect buffer is already displayed.
7929         * org-agenda.el (org-agenda-manipulate-query)
7930         (org-agenda-goto-date, org-agenda-goto-today)
7931         (org-agenda-find-same-or-today-or-agenda, )
7932         (org-agenda-later, org-agenda-change-time-span)
7933         (org-agenda-change-all-lines)
7934         (org-agenda-execute-calendar-command)
7935         (org-agenda-goto-calendar, org-agenda-convert-date): Make sure to
7936         get a property from (1- (point-max)), not (point-max)).
7938         * ob-dot.el (org-babel-execute:dot): Throw an error when there is
7939         no :file parameter.
7941         * org-table.el (org-table-eval-formula): Convert time-stamps to
7942         inactive time-stamp so that Calc can handle them correctly.
7944         * org-table.el (org-table-fix-formulas): Warn with a message when
7945         formulas have been updated.
7947         * org-publish.el (org-publish-cache-ctime-of-src): Delete the
7948         base-dir argument and use (file-name-directory file) to get the
7949         file's directory.
7950         (org-publish-update-timestamp)
7951         (org-publish-cache-file-needs-publishing):
7952         Call `org-publish-cache-ctime-of-src' with only one argument.
7954         * org.el (org-follow-timestamp-link): Fix bug when using sticky
7955         agenda.  Add a docstring.
7957         * org-agenda.el (org-agenda-sticky): Don't use a function to set.
7958         Add a :version string.
7960         * org.el (org-priority): Use a new argument to show priority
7961         instead of setting it.
7962         (org-show-priority): New function to show priority both in normal
7963         Org buffers and in Org Agenda buffers.
7964         (org-speed-commands-default): Use "," as a speed command for
7965         setting priority.
7967         * org-agenda.el (org-agenda-mode-map): Bind `org-agenda-priority'
7968         to `C-c ,' as it was before.
7969         (org-agenda-show-priority): Delete.
7970         (org-agenda-priority): Use a new argument to show priority instead
7971         of setting it.
7973         * org.el (org-font-lock-hook, org-set-font-lock-defaults): Add a
7974         docstring.
7975         (org-display-inline-remove-overlay): Rename from
7976         `org-display-inline-modification-hook'.
7977         (org-speed-command-activate): Rename from
7978         `org-speed-command-default-hook'.
7979         (org-babel-speed-command-hook): Rename from
7980         `org-babel-speed-command-activate'.
7982         * org-agenda.el (org-agenda-update-agenda-type): Rename from
7983         `org-agenda-post-command-hook'.
7984         (org-agenda-mode): Use the new name.
7985         (org-agenda-post-command-hook): Define as obsolete function.
7987         * org-lparse.el (org-lparse): Temporarily activate the hooks
7988         needed for the ODT conversion.
7989         (org-lparse-preprocess-after-blockquote): Rename from
7990         `org-lparse-preprocess-after-blockquote-hook'.
7991         (org-lparse-strip-experimental-blocks-maybe): Rename from
7992         `org-lparse-strip-experimental-blocks-maybe'.
7993         (org-lparse-preprocess-after-blockquote-hook)
7994         (org-lparse-strip-experimental-blocks-maybe-hook): Define as
7995         obsolete functions.
7997         * ob.el (org-babel-insert-result): Comma-escape results inserted
7998         with ":results org".
8000         * org-src.el (org-edit-src-code, org-edit-src-exit): Fix bug about
8001         saving the source editing window with the default value for
8002         `org-src-window-setup' (i.e. 'reorganize-frame).
8004         * org-src.el (org-src-font-lock-fontify-block): Fix bug: don't
8005         fontify the last character.
8007         * org.el (org-open-at-point): Don't follow timestamp within
8008         bracket links.
8010         * org-capture.el (org-capture-templates): Fix typo in docstring.
8012         * org-agenda.el (org-agenda-skip): Skip information retrieved from
8013         a source block.
8015         * ob.el (org-babel-common-header-args-w-values)
8016         (org-babel-insert-result): Reintroduce ":results org" but using
8017         "#+BEGIN_SRC org", not "#+BEGIN_ORG".
8019         * ob.el (org-babel-common-header-args-w-values): Remove "org" the
8020         list of predefined values for the ":results" parameter.
8022         * ob.el (org-babel-insert-result): Remove support for ":results
8023         org".
8025         * ob.el (org-babel-common-header-args-w-values)
8026         (org-babel-insert-result): Deprecate ":results wrap" in favor of
8027         ":results drawer".
8029         * org-crypt.el (org-at-encrypted-entry-p): Fix bug when the check
8030         happens before the first headline.
8032         * org-capture.el (org-at-encrypted-entry-p)
8033         (org-encrypt-entry, org-decrypt-entry): Declare.
8034         (org-capture-set-target-location): Check whether `org-crypt' has
8035         been loaded.
8037         * org-agenda.el (org-agenda-todo-custom-ignore-p): Fix typo in
8038         docstring.
8040         * org-capture.el (org-capture-finalize): Maybe re-encrypt the
8041         target headline if it was decrypted.
8042         (org-capture-set-target-location): Maybe decrypt the target
8043         headline.
8045         * org-crypt.el (org-at-encrypted-entry-p): New function.
8047         * org.el (org-options-keywords): Add "STYLE:".
8049         * org-agenda.el (org-agenda-ndays): Don't make an alias, as
8050         `org-agenda-span' is defined separately.
8052         * org.el (org-in-subtree-not-table-p): New utility function for
8053         building the menu.
8054         (org-org-menu): Add an item for refiling.  Check more contexts
8055         when activating items.
8056         (org-tree-to-indirect-buffer): Use `org-up-heading-safe'.
8058         * org-agenda.el (org-agenda-tree-to-indirect-buffer)
8059         (org-agenda-do-tree-to-indirect-buffer): Use argument `arg'.
8061         * org-capture.el (org-capture-set-target-location): Set a correct
8062         time value when storing a note in a datetree and prompting the
8063         user for a date.
8065         * org-capture.el (org-capture-mode): Fix bug: don't run the mode's
8066         hook twice.
8068         * org-agenda.el (org-agenda-menu-two-column)
8069         (org-finalize-agenda-hook, org-agenda-ndays):
8070         Use `define-obsolete-variable-alias' instead of
8071         `make-obsolete-variable'.
8073         * org.el (org-link-to-org-use-id): Move to org-id.el.
8075         * org-id.el (org-id-link-to-org-use-id): Rename from
8076         `org-link-to-org-use-id'.  Use `nil' as the default value.
8077         (org-link-to-org-use-id): Alias and define as obsolete.
8079         * org-agenda.el (org-search-view, org-agenda-get-todos)
8080         (org-agenda-get-timestamps, org-agenda-get-blocks): Use the dotime
8081         parameter of `org-agenda-format-item' so that 'time-up and
8082         'time-down agenda sorting strategies are handled correctly.
8084         * org-capture.el (org-capture-fill-template): Fix checking of
8085         protected template entries.
8087         * org.el (org-cycle-global-at-bob): Fix typo in docstring.
8089         * org.el (org-insert-drawer): Deactivate the mark before trying to
8090         indent the :END: of the drawer.
8092         * org-agenda.el (org-agenda-export-html-style): Default to nil as
8093         any string value will replace the htmlize style.
8095         * org.el (org-cycle-hook): Fix tiny typo in docstring.
8097         * org.el (org-time-string-to-time)
8098         (org-time-string-to-seconds, org-end-of-subtree): Add a dosctring.
8100         * org-freemind.el (org-freemind-write-node): Enhance links
8101         conversion in nodes.
8103         * org-freemind.el (org-freemind-write-node): Convert links in
8104         nodes.
8106         * org.el (org-link-to-org-use-id, org-directory)
8107         (org-default-notes-file, org-reverse-note-order)
8108         (org-extend-today-until, org-finish-function)
8109         (org-store-link-functions): Use "capture" instead of "remember" in
8110         docstrings.  Also use the `org-capture' group when it makes sense.
8112         * org-agenda.el (org-agenda-tree-to-indirect-buffer): Find the
8113         correct agenda buffer.  Don't split the agenda window when the
8114         indirect buffer is displayed in another frame.
8116         * org.el (org-mode): Try to set the org-hide face correctly.
8118         * org-exp.el (org-export): Set the mark correctly when exporting a
8119         subtree.
8121         * org-agenda.el (org-agenda-get-restriction-and-command): Fix the
8122         display of the number of commands for block agendas.
8124         * org-agenda.el (org-agenda-before-write-hook)
8125         (org-agenda-add-entry-text-maxlines): Enhance phrasing.
8126         (org-agenda-finalize-hook, org-agenda-mode-hook): Tell that the
8127         buffer is writable when the hook is called.
8128         (org-agenda-finalize): Allow org-agenda-finalize-hook to modify
8129         the buffer.
8131         * org-agenda.el (org-habit-show-all-today): Only use defvar to
8132         silent the byte-compiler.
8133         (org-agenda-get-scheduled): Check whether some org-habit.el
8134         options have been defined.
8136         * org-capture.el (org-capture-entry): New variable.
8137         (org-capture-string, org-capture): Use it to possibly skip the
8138         interactive prompt for a capture template.
8140         * org.el (org-activate-plain-links): Don't try to check if we are
8141         in a bracket link already.
8143         * org.el (org-read-date-analyze): Fix bug introduced in commit
8144         cc5f9f: adding a time should not prevent relative answers to be
8145         parsed correctly.
8147         * org-agenda.el (org-agenda-bulk-action): Always read the date
8148         through `org-read-date'.  When possible, use the date at point as
8149         the default date.
8151         * org-agenda.el (org-agenda-bulk-action): Fix bug when
8152         bulk-shifting timestamps.
8154         * org.el (org-version): New constant.
8156         * org-compat.el (org-random): New compatibility function.
8158         * org-id.el (org-id-uuid): Use it.
8160         * org-capture.el (org-capture-use-agenda-date): New option.
8161         (org-capture): Use it.
8163         * org-agenda.el (org-agenda-capture): New command.
8164         (org-agenda-mode-map): Bind it to `k'.
8165         (org-agenda-menu): Add it to the menu.
8167         * org-capture.el (org-capture): Update docstring.
8169         * org-capture.el (org-capture): When called from an agenda buffer,
8170         use the cursor date at the default date.
8172         * org-agenda.el (org-agenda-bulk-action): Use the let-bound
8173         `entries' instead the variable.
8175         * org-agenda.el (org-agenda-bulk-action): Fix bug: don't remove
8176         persistent marks too early.
8178         * org-agenda.el (org-agenda-bulk-action): Possibly use the day at
8179         point to reset the scheduled or deadline cookie.  On date headers,
8180         use it without prompting the user.  On an item, use the item's
8181         date as the default prompt for `org-read-date'.
8183         * org.el (org-read-date): Docstring fix.
8185         * org-agenda.el (org-agenda-bulk-action): Reorder possible actions
8186         in the message.
8188         * org-agenda.el (org-agenda-action, org-agenda-do-action): Delete.
8189         (org-agenda-mode-map): Delete related keys.
8191         * org-agenda.el (org-agenda-menu): Fix a keybinding.
8193         * org-colview.el (org-columns-goto-top-level): Correctly move the
8194         marker `org-columns-top-level-marker'.
8195         (org-agenda-columns): Don't set
8196         `org-agenda-overriding-columns-format' as a buffer variable, as we
8197         only need it dynamically.
8198         (org-agenda-colview-summarize): Fix a bug in returning the match
8199         string.
8201         * org-agenda.el (org-agenda-span-to-ndays): Make the second
8202         argument `starting-day' optional.
8203         (org-agenda-goto-date): Keep parameters of custom agendas.
8205         * org-agenda.el (org-agenda-list): Allow setting the agenda buffer
8206         name through a temporary variable.
8207         (org-agenda-buffer-tmp-name): New variable to temporary store the
8208         agenda buffer name.
8210         * org-agenda.el (org-agenda-goto-date): Fix behavior when using
8211         sticky agendas.
8213         * org-agenda.el (org-diary): Don't check whether there is an
8214         agenda buffer when trying to compile the prefix format.
8215         (org-compile-prefix-format): Check if there is an agenda buffer.
8216         If not, use the current buffer.
8218         * org-agenda.el (org-agenda-get-day-entries): Set the agenda
8219         buffer inconditionnally.
8221         * ob.el (org-babel-named-src-block-regexp-for-name): Generate a
8222         more general regexp.
8224         * ob.el (org-babel-where-is-src-block-head): Find a src block head
8225         correctly when #+header(s) is before #+name.
8227         * org-agenda.el (org-agenda-finalize-hook)
8228         (org-agenda-finalize, org-agenda-finalize-entries): Rename from
8229         org-finalize-agenda-*.
8230         (org-agenda-run-series, org-agenda-finalize, org-timeline)
8231         (org-agenda-list, org-search-view, org-todo-list)
8232         (org-tags-view, org-diary, org-agenda-finalize-entries)
8233         (org-agenda-change-all-lines): Use the new names.
8235         * org-agenda.el (org-agenda-local-vars):
8236         Remove ̀org-agenda-last-arguments' from the list of local variables.
8237         (org-agenda-mode-map): `g' does the same than `r' in buffers with
8238         only one agenda view, but its behavior differs when there are
8239         several views.  In manually appended agendas (with `A'), `g'
8240         displays only the agenda under the point.  With multiple agenda
8241         blocks, `g' reinitializes the view by discarding any temporary
8242         changes (e.g. with ̀f' or `w'), while ̀r' keeps those temporary
8243         changes for the agenda view under the point.
8244         (org-agenda-run-series, org-agenda-redo): Implement the above
8245         changes.
8246         (org-agenda-mark-header-line): Don't set useless properties.
8247         (org-agenda-list, org-todo-only, org-search-view)
8248         (org-todo-list, org-tags-view, org-agenda-list-stuck-projects)
8249         (org-agenda-manipulate-query, org-agenda-goto-today)
8250         (org-agenda-later, org-agenda-change-time-span): Use text
8251         properties for storing the last command and the last arguments for
8252         each agenda block.
8253         (org-unhighlight-once): Delete.
8255         * org-agenda.el (org-agenda-append-agenda): Fit agenda window to
8256         buffer.
8258         * org-agenda.el (org-agenda-append-agenda): Bugfix: correctly
8259         check whether we are in org-agenda-mode.
8261         * org-agenda.el (org-agenda-pre-window-conf): Rename from
8262         `org-pre-agenda-window-conf'.
8263         (org-agenda-local-vars, org-agenda-prepare-window)
8264         (org-agenda-Quit, org-agenda-quit): Use the new name.
8266         * org-agenda.el (org-keys, org-match): New variable, dynamically
8267         scoped in `org-agenda'.
8268         (org-agenda, org-agenda-list, org-search-view, org-todo-list)
8269         (org-tags-view): Use the new variables.
8270         (org-batch-store-agenda-views): Let-bind `match'.
8272         * org-agenda.el (org-search-view, org-todo-list)
8273         (org-tags-view): Do not let `org-agenda-sticky' prevent the use of
8274         these functions programmatically.  Also use the sticky agenda
8275         function correctly.
8277         * org-agenda.el (org-agenda): Set `org-agenda-buffer-name'
8278         correctly with sticky agendas and non-custom commands.
8280         * org-agenda.el (org-agenda-fit-window-to-buffer): Rename from
8281         `org-fit-agenda-window'.
8282         (org-agenda-run-series, org-agenda-prepare, org-agenda-list)
8283         (org-search-view, org-todo-list, org-tags-view): Use the new name.
8285         * org-agenda.el (org-agenda-prepare): Let `throw' display an
8286         error.
8288         * org-agenda.el (org-agenda-list): Fix bug: don't throw an error
8289         when called from programs as (org-agenda-list).
8291         * org-agenda.el (org-todo-list): Make arg optional.
8293         * org.el (org-agenda-prepare-buffers): Rename from
8294         `org-prepare-agenda-buffers'.
8295         (org-match-sparse-tree, org-map-entries): Use the new names.
8297         * org-agenda.el (org-agenda-prepare-window): Rename from
8298         `org-prepare-agenda-window'.
8299         (org-agenda-prepare): Rename from `org-prepare-agenda'.
8300         (org-agenda-run-series, org-agenda-prepare, org-timeline)
8301         (org-agenda-list, org-search-view, org-todo-list)
8302         (org-tags-view, org-agenda-list-stuck-projects, org-diary)
8303         (org-agenda-to-appt): Use the new names.
8305         * org-mobile.el (org-mobile-create-index-file): Ditto.
8307         * org-icalendar.el (org-export-icalendar): Ditto.
8309         * org-clock.el (org-dblock-write:clocktable)
8310         (org-dblock-write:clocktable): Ditto.
8312         * org-agenda.el (org-agenda): In sticky agendas, use the current
8313         command's match to set the buffer name.  This gives more
8314         information to the user and allows to distinguish various agendas
8315         triggered by the same key.
8316         (org-batch-store-agenda-views): Handle the new sticky agenda
8317         buffer name.
8319         * org-agenda.el (org-agenda)
8320         (org-agenda-get-restriction-and-command): Use `S' as a key for
8321         searching words in TODO-only entries.
8323         * org-agenda.el (org-prepare-agenda): Fit agenda window when
8324         displaying a sticky agenda.
8326         * org-table.el (org-table-number-regexp): Allow the user to set it
8327         to a new regexp, which allows commas as decimal mark.  The default
8328         is to not use this setting, but the one before commit 7ff8c1,
8329         which has ben reverted.
8331         * org-agenda.el (org-agenda-overriding-cmd)
8332         (org-agenda-multi-current-cmd)
8333         (org-agenda-multi-overriding-arguments): New variables.
8334         (org-agenda-run-series): `org-agenda-overriding-arguments'
8335         defaults to the last agenda block arguments, so don't use it
8336         globally.
8337         (org-agenda-mark-header-line): Add properties needed so that
8338         `org-agenda-overriding-arguments', `org-agenda-current-span' and
8339         `org-agenda-last-arguments' can be set to their correct contextual
8340         value.
8341         (org-agenda-multi-back-to-pos): New variable.
8342         (org-agenda-later): Retrieve `org-agenda-current-span' and
8343         `org-agenda-overriding-arguments' from text properties.
8344         Also handle numeric span.
8345         (org-agenda-later, org-agenda-change-time-span):
8346         Set `org-agenda-overriding-cmd' so that we to take overriding
8347         arguments into account for this command only.
8349         * org-agenda.el (org-agenda-kill, org-agenda-archive-with):
8350         Fix bug when called with a non-nil value of `org-agenda-stick'.
8352         * org-agenda.el (org-agenda-refile): Fix bug when refiling an
8353         entry from a sticky agenda.
8355         * org-agenda.el (org-prepare-agenda-window):
8356         Use `org-pre-agenda-window-conf' if already set.
8357         (org-agenda-Quit): Set `org-pre-agenda-window-conf' to nil when
8358         quitting.
8359         (org-agenda-quit): Ditto.
8361         * org-capture.el (org-capture-fill-template): Protect the text
8362         used for replacement from being further replaced.
8364         * org.el (org-contextualize-validate-key): Fix the check against a
8365         function.
8367         * org.el (org-contextualize-keys): Rename from
8368         `org-contextualize-agenda-or-capture'.  Fix normalization to
8369         handle empty key replacement string.
8370         (org-contextualize-validate-key): Rename from
8371         `org-contexts-validate'.  Allow checking against a custom
8372         function.
8374         * org-agenda.el (org-agenda-custom-commands-contexts): Update.
8375         (org-agenda): Use `org-contextualize-keys'.
8377         * org-capture.el (org-capture-templates-contexts): Ditto.
8379         * org.el (org-contextualize-agenda-or-capture):
8380         Normalize contexts.
8382         * org.el (org-contextualize-agenda-or-capture): Handle key
8383         replacement depending on the contexts.
8385         * org-capture.el (org-capture-templates-contexts): Allow to use
8386         the context as a way to replace one capture template by another
8387         one.
8389         * org-agenda.el (org-agenda-custom-commands-contexts): Allow to
8390         use the context as a way to replace one agenda custom command by
8391         another one.
8393         * org.el (org-contextualize-agenda-or-capture)
8394         (org-rule-validate): New functions, implement context filtering
8395         for agenda commands and capture templates.
8397         * org-agenda.el (org-agenda-custom-commands-contexts): New option.
8398         (org-agenda): Use it.
8400         * org-capture.el (org-capture-templates-contexts): New option.
8401         (org-capture-select-template): Use it.
8403         * org.el (org-beginning-of-defun, org-end-of-defun): Delete.
8404         (org-mode): Set `beginning-of-defun-function' and
8405         `end-of-defun-function' directly.
8407         * org.el (org-insert-link): Fix bug: include links abbreviations
8408         when completing.
8410         * org-icalendar.el (org-icalendar-print-entries): Fix bug: when
8411         `org-icalendar-use-plain-timestamp' is nil, scheduled and deadline
8412         items should not be ignored.
8414         * org.el (org-ds-keyword-length, org-make-tags-matcher):
8415         Docstring clean-up.
8417         * org-freemind.el (org-freemind-convert-links-from-org): Replace
8418         literally to prevent errors when replacing with string containing
8419         backslashes.
8421         * org-pcomplete.el (org-thing-at-point): Allow to match (and then
8422         complete) a "thing" containing dashes.
8424         * org-table.el (org-table-toggle-coordinate-overlays):
8425         Better message when interactively toggling.
8427         * org-table.el (org-table-number-regexp): Update the docstring to
8428         show an example of a decimal number using the comma as a
8429         separation mark.
8431         * org-agenda.el (org-prepare-agenda): Minor code clean-up.
8432         (org-agenda-filter-by-category): Filtering must be turned off only
8433         when a category filter has been set and this filter is not empty.
8435         * org-agenda.el (org-search-view, org-agenda-get-todos)
8436         (org-agenda-get-timestamps, org-agenda-get-sexps)
8437         (org-agenda-get-progress, org-agenda-get-deadlines)
8438         (org-agenda-get-scheduled, org-agenda-get-blocks):
8439         Use `category-pos' instead of `org-category-pos'.
8441         * ob-fortran.el (org-babel-fortran-transform-list): Rename from
8442         `ob-fortran-transform-list'.
8443         (org-babel-fortran-var-to-fortran): Use the new function's name.
8445         * ob-calc.el (org-babel-calc-maybe-resolve-var): Rename from
8446         `ob-calc-maybe-resolve-var'.
8447         (org-babel-execute:calc): Use the new function's name.
8449         * org-jsinfo.el (org-infojs-template): Add a license.
8450         (org-infojs-handle-options): Replace all template elements.
8452         * org-html.el (org-export-html-scripts): Add a license.
8453         (org-export-html-mathjax-config): Replace all template elements.
8454         (org-export-html-mathjax-template): Add a license.
8455         (org-export-as-html): Minor code clean-up.
8457         * org.el (org-options-keywords): Add "#+MATHJAX" and
8458         "#+INFOJS_OPT" to the list of keywords for completion.
8460         * org.el (org-src-prevent-auto-filling): Remove unused and useless
8461         option.
8463         * org.el (org-element-at-point): Autoload.
8464         (org-element-up): Remove useless declaration.
8465         (org-fill-context-prefix, org-fill-paragraph)
8466         (org-mark-element, org-narrow-to-element)
8467         (org-transpose-element, org-unindent-buffer): Do not require
8468         org-element.
8470         * org.el (org-fill-paragraph): Require org-element.
8472         * org-agenda.el (org-agenda-persistent-marks): Minor docstring
8473         enhancement.
8475         * org.el (org-create-math-formula): Use the compatibility function
8476         `org-region-active-p'.
8478         * org-odt.el (org-export-as-odf): Ditto.
8480         * ob.el (org-babel-demarcate-block): Ditto.
8482         * org.el (org-mark-subtree): Maybe call `org-mark-element'
8483         interactively.
8484         (org-mark-element): Only mark further elements when called
8485         interactively.
8487         * org.el (org-mark-element, org-narrow-to-element)
8488         (org-transpose-element): Require org-element.
8490         * org-agenda.el (org-agenda-get-timestamps)
8491         (org-agenda-get-sexps, org-agenda-get-deadlines)
8492         (org-agenda-get-scheduled): Add the 'warntime as a text property,
8493         getting its value from the APPT_WARNTIME property.
8494         (org-agenda-to-appt): Use the 'warntime text property.
8496         * org-capture.el (org-capture-place-table-line): Fix bug.
8498         * org.el (org-activate-plain-links): Don't activate a plain link
8499         when it is part of a bracketed link, unless bracketed links are
8500         not enlisted in `org-activate-links'.
8501         (org-open-at-point): Don't consider the text immediately after a
8502         bracketed link is part of a plain link.
8504         * org.el (org-compute-latex-and-specials-regexp)
8505         (org-paste-subtree, org-sort-entries, org-store-link)
8506         (org-open-at-point, org-file-remote-p, org-add-log-setup)
8507         (org-set-tags-to, org-fast-tag-selection)
8508         (org-diary-sexp-entry): Ditto.
8510         * org-agenda.el (org-agenda-get-blocks, org-cmp-priority)
8511         (org-cmp-effort, org-cmp-todo-state, org-cmp-alpha)
8512         (org-cmp-tag, org-cmp-time): Remove useless (t nil) sexps at the
8513         end of (cond ...) constructs.
8515         * org-mobile.el (org-mobile-create-index-file): Ditto.
8517         * org-lparse.el (org-lparse-format-table-row): Ditto.
8519         * org-list.el (org-sort-list): Ditto.
8521         * org-id.el (org-id-get): Ditto.
8523         * org-html.el (org-export-html-preprocess): Ditto.
8525         * org-exp.el (org-default-export-plist)
8526         (org-table-clean-before-export): Ditto.
8528         * org.el (org-options-keywords): Add "TODO".
8529         (org-make-options-regexp): Make the hashtag mandatory for options
8530         and don't allow whitespaces between the hashtag and the plus sign.
8532         * org.el (org-refresh-category-properties)
8533         (org-find-dblock, org-dblock-start-re, org-dblock-end-re):
8534         Allow lowercase "#+category" and "#+begin:" dynamic blocks.
8536         * org.el (org-context): Use case-folding when trying to match
8537         clocktables and source blocks contexts.
8539         * org-clock.el (org-clock-put-overlay): Put the overlay on the
8540         whole headline, not only on the last character.  This fixes a bug
8541         with overlays on headlines ending with a bracketed link.
8543         * org-html.el (org-export-as-html): Make sure we always process a
8544         string.
8546         * org-exp.el (org-export-cleanup-toc-line): Always return a
8547         string.
8549         * org.el (org-fontify-meta-lines-and-blocks-1): Correctly handle
8550         metalines with #+results[...]:.
8552         * org-exp.el (org-export-handle-metalines): Rename from
8553         `org-export-handle-table-metalines'.  Now also handle source block
8554         metalines.
8555         (org-export-res/src-name-cleanup): Delete.
8556         (org-export-preprocess-string): Use `org-export-handle-metalines'.
8557         Don't use `org-export-res/src-name-cleanup' anymore.
8559         * org-html.el (org-format-org-table-html): Don't include the
8560         caption tag for empty captions in HTML export.  Keep it in the
8561         DocBook export so that it produces valid DocBook XML.
8563         * org.el (org-read-date-analyze): Allow both "8am Wed" and "Wed
8564         8am" to be parsed correctly with respect to possible values of
8565         `org-read-date-prefer-future'.
8566         (org-read-date-prefer-future): Update docstring to remove the
8567         restriction about inserting only the time.  The user can now
8568         insert the time and the day.
8570         * org-icalendar.el (org-icalendar-print-entries): Rename from
8571         `org-print-icalendar-entries'.
8572         (org-icalendar-start-file): Rename from
8573         `org-start-icalendar-file'.
8574         (org-icalendar-finish-file): Rename from
8575         `org-finish-icalendar-file'.
8576         (org-icalendar-ts-to-string): Rename from `org-ical-ts-to-string'.
8577         (org-export-icalendar): Use the correct functions.
8579         * ob-ref.el (org-babel-ref-index-list): Fix bug introduced by
8580         commit e85479.
8582         * org.el (org-fill-context-prefix): Require org-element.
8583         (org-timestamp-change): Fix bug by saving excursion when adjusting
8584         another clock.
8586         * org.el (org-read-date-prefer-future): Fix docstring formatting.
8587         (org-read-date-analyze): Fix the interpretation of
8588         `org-read-date-prefer-future'.
8590         * org-agenda.el (org-agenda-menu-two-column): Rename to
8591         `org-agenda-menu-two-columns'.
8593         * ob.el (org-babel-sha1-hash, org-babel-noweb-p):
8594         Replace `org-labels' by `let*'.
8596         * org-bibtex.el (org-bibtex-headline): Ditto.
8598         * org-compat.el: Delete `org-labels'.
8600         * ob.el (org-babel-get-src-block-info)
8601         (org-babel-check-src-block, org-babel-current-result-hash)
8602         (org-babel-parse-src-block-match, org-babel-read-link)
8603         (org-babel-insert-result, org-babel-clean-text-properties):
8604         Use ̀org-no-properties' instead of `org-babel-clean-text-properties'.
8605         (org-babel-clean-text-properties): Delete redundant function
8606         `org-babel-clean-text-properties'.
8608         * ob-tangle.el (org-babel-tangle-collect-blocks)
8609         (org-babel-tangle-comment-links): Ditto.
8611         * ob-table.el (sbe): Ditto.
8613         * ob-lob.el (org-babel-lob-get-info)
8614         (org-babel-lob-execute): Ditto.
8616         * ob-exp.el (org-babel-exp-non-block-elements): Ditto.
8618         * org-macs.el (org-no-properties): Allow a new parameter
8619         `restricted' to restrict the properties removal to those in
8620         `org-rm-props'.  The default is now to remove all properties.
8622         * org-compat.el (org-substring-no-properties): Remove unused
8623         defun.
8625         * org-remember.el (org-remember-apply-template): Remove redundant
8626         removal of text properties.
8627         (org-remember-apply-template): Use `org-no-properties'.
8629         * org-capture.el (org-capture-fill-template): Remove redundant
8630         removal of text properties.
8631         (org-capture-fill-template): Use `org-no-properties'.
8633         * org-gnus.el (org-gnus-open, org-gnus-follow-link):
8634         Use `org-no-properties'.
8636         * org-colview.el (org-columns-display-here): Ditto.
8638         * org-table.el (org-table-eval-formula): Ditto.
8640         * org.el (org-entry-properties): Ditto.
8642         * org-icalendar.el (org-print-icalendar-entries): Fix bug about
8643         handling `alarm-time'.
8645         * ob-R.el (org-babel-edit-prep:R): Don't set the session.
8647         * org.el (org-store-log-note): Only skip comments starting with "#
8648         " when storing a note.
8650         * org.el (org-custom-properties): New option.
8651         (org-custom-properties-overlays): New variable.
8652         (org-toggle-custom-properties-visibility): New command to toggle
8653         the visibility of custom properties.
8654         (org-check-before-invisible-edit): Also prevent errors when trying
8655         to edit invisible properties.
8657         * org-datetree.el (org-datetree-add-timestamp): New option.
8658         (org-datetree-insert-line): Use it.
8660         * org.el (org-fill-template): Fix bug when filling template for a
8661         key associated to the nil value.
8663         * org-agenda.el (org-diary): Fix tiny typo.
8665         * org.el (message-in-body-p): Move declaration up to fix compiler
8666         warning.
8668         * org.el (org-fill-context-prefix): Fix auto-filling in
8669         `message-mode'.
8671         * org.el (org-fill-paragraph): Correctly fill paragraph in
8672         message-mode.
8673         (org-indent-line): Correctly indent according to mode when
8674         `orgstruct++-mode' is on.
8675         (orgstruct++-mode): Add `fill-prefix' to the variable temporarily
8676         stored in `org-fb-vars'.
8678         * org.el (org-fill-paragraph): Make a command.  Fix bug about
8679         filling message headers and citations.
8681         * org.el (org-redisplay-inline-images): New command.
8682         (org-mode-map): Bind it to C-c C-x C-M-v.
8684         * org-colview.el (org-columns-get-format-and-top-level): Fix bug.
8685         (org-columns-get-format): Fix compiler warning.
8687         * org-feed.el: Add declarations.
8689         * org-agenda.el (org-agenda-get-sexps): Use `org-get-tags-at' to
8690         allow tag inheritance.
8692         * org-capture.el (org-capture): Fix bug introduced by commit
8693         1737d3.
8695         * org-publish.el (org-publish-needed-p)
8696         (org-publish-update-timestamp, org-publish-file)
8697         (org-publish-cache-file-needs-publishing): New argument
8698         `base-dir'.
8699         (org-publish-cache-ctime-of-src): Use the new argument to make
8700         sure we find the file according to :base-directory.
8702         * org-capture.el (org-capture-string): New command to prompt for
8703         the interactive text interactively.  This can also be used in
8704         Elisp programs to use ̀org-capture' with some initial text.
8705         (org-capture-initial): New variable to store the initial text.
8706         (org-capture): Use `org-capture-initial'.
8708         * org.el (org-emph-re): Tiny docstring formatting fix.
8710         * org-compat.el (org-labels): Remove.
8712         * org-bibtex.el (org-bibtex-headline): Don't use `org-labels'.
8714         * ob.el (org-babel-sha1-hash, org-babel-noweb-p): Ditto.
8716         * org.el (org-emph-re): Tiny formatting fix.
8718         * org.el (orgstruct-setup): Require `org-element'.
8720         * org.el (org-store-link, org-open-at-point): New link type
8721         "help".
8723         * org-compat.el (org-flet): Remove alias.
8725         * ob.el (org-babel-edit-distance, org-babel-sha1-hash)
8726         (org-babel-get-rownames, org-babel-insert-result)
8727         (org-babel-merge-params)
8728         (org-babel-expand-noweb-references): Don't use `org-flet'.
8729         Also indent some functions correctly.
8731         * ob.el (org-babel-execute-src-block)
8732         (org-babel-join-splits-near-ch, org-babel-format-result)
8733         (org-babel-examplize-region): Don't use `org-flet'.
8734         (org-babel-tramp-handle-call-process-region): Fix typo.
8736         * ob-awk.el (org-babel-awk-var-to-awk): Don't use `org-flet'.
8738         * ob-sh.el (org-babel-sh-var-to-string): Ditto.
8740         * ob-tangle.el (org-babel-tangle, org-babel-spec-to-string):
8741         Don't use `org-flet'.
8743         * org-pcomplete.el (org-compat): Require.
8745         * ob-tangle.el (org-babel-load-file): Don't use `org-flet'.
8747         * org-bibtex.el (org-bibtex-write): Use let*.
8749         * org-plot.el (org-plot/gnuplot-script): Don't use `org-flet'.
8751         * org-bibtex.el (org-bibtex-headline, org-bibtex-fleshout)
8752         (org-bibtex-read, org-bibtex-write): Don't use `org-flet'.
8754         * org-clock.el (org-clock-cancel): Use `org-looking-back'.
8756         * org-pcomplete.el (org-thing-at-point): Ditto.
8758         * org.el (org-timestamp-change): Ditto.
8760         * org-mouse.el (org-mouse-timestamp-today)
8761         (org-mouse-set-priority, org-mouse-popup-global-menu)
8762         (org-mouse-context-menu): Don't use ̀org-flet'.
8764         * org.el (org-priority): Fix docstring.
8766         * org-publish.el (org-publish-write-cache-file)
8767         (org-publish-initialize-cache)
8768         (org-publish-cache-file-needs-publishing)
8769         (org-publish-cache-get): Small code clean-up.
8771         * org-publish.el (org-publish-cache-ctime-of-src): Simplify.
8773         * org-agenda.el (org-agenda-get-sexps): Add a 'tags property for
8774         agenda entries created from sexps.
8776         * org-capture.el (org-capture-templates): Docstring clean up.
8777         (org-capture-place-entry, org-capture-place-item)
8778         (org-capture-place-plain-text, org-capture-place-table-line):
8779         Ensure to always position the point according to %?.
8781         * org-table.el (org-table-convert-refs-to-rc): Fix bug when
8782         converting remote table references.
8784         * org-agenda.el (org-agenda-switch-to): Run hooks in
8785         ̀org-agenda-after-show-hook'.
8787         * ob-ref.el (org-babel-ref-index-list): Use let* and rename the
8788         variable `length' to `lgth'.
8790         * org-plot.el (org-plot/gnuplot-to-grid-data): Don't use
8791         ̀org-flet'.
8793         * org-exp.el (org-export-format-source-code-or-example): Ditto.
8795         * org-exp-blocks.el (org-export-blocks-preprocess): Ditto.
8797         * ob.el (org-babel-view-src-block-info)
8798         (org-babel-execute-src-block, org-babel-edit-distance)
8799         (org-babel-switch-to-session-with-code)
8800         (org-babel-balanced-split, org-babel-insert-result): Ditto.
8802         * ob-ref.el (org-babel-ref-index-list): Ditto.
8804         * ob-python.el (org-babel-python-evaluate-session): Ditto.
8806         * ob-lob.el (org-babel-lob-get-info): Ditto.
8808         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Ditto.
8810         * ob-exp.el (org-babel-exp-do-export): Ditto.
8812         * org-table.el (orgtbl-to-generic): Fix docstring.
8814         * org-clock.el (org-clock-in): Call `org-clock-out' with the new
8815         argument `switch-to-state' set to nil.  Fix docstring.
8816         (org-clock-in-last): Prompt for a todo state to switch to when
8817         called with three universal prefix arguments.  Don't display a
8818         message when the clock is already running.  Update docstring.
8819         (org-clock-out): New argument `switch-to-state'.  When this
8820         argument is non-nil, prompt for a state to switch the clocked out
8821         task to, overriding `org-clock-out-switch-to-state'.
8823         * org.el (org-entry-get): Don't use `org-flet'.
8825         * org.el (org-forward-heading-same-level): Rename from
8826         `org-forward-same-level'.
8827         (org-backward-heading-same-level): Rename from
8828         `org-backward-same-level'.
8830         * org.el (org-forward-element): Rename from `org-element-forward'.
8831         (org-backward-element): Rename from `org-element-backward'.
8832         (org-up-element): Rename from `org-element-up'.
8833         (org-down-element): Rename from `org-element-down'.
8834         (org-drag-element-backward): Rename from
8835         `org-element-drag-backward'.
8836         (org-drag-element-forward): Rename from
8837         `org-element-drag-forward'.
8838         (org-mark-element): Rename from `org-element-mark-element'.
8839         (org-transpose-element): Rename from `org-element-transpose'.
8840         (org-unindent-buffer): Rename from `org-element-unindent-buffer'.
8841         (org-mode-map): Update the names of a commands.  Remove useless
8842         declarations.
8844         * org-element.el (org-element-forward, org-element-backward)
8845         (org-element-up, org-element-down)
8846         (org-element-drag-backward, org-element-drag-forward)
8847         (org-element-mark-element, org-narrow-to-element)
8848         (org-element-transpose, org-element-unindent-buffer): Move to
8849         org.el.
8851         * org.el (org-forward-same-level): Fix typo in docstring.
8853         * org-agenda.el (org-agenda-mode-map):
8854         Bind `org-agenda-show-priority' to `C-c,' instead of `P'.
8855         (org-agenda-next-item, org-agenda-previous-item): New commands to
8856         move by one item down/up in the agenda.
8857         (org-agenda-mode-map): Bind `org-agenda-next-item' and
8858         `org-agenda-previous-item' to `N' and `P' respectively.
8860         * org-rmail.el (org-rmail-store-link, org-rmail-follow-link):
8861         Toggle headers when necessary.
8863         * org-element.el (org-narrow-to-element): Autoload.
8865         * org.el (org-mode-map): Use `M-h' for `org-element-mark-element'.
8866         (org-mark-subtree): Allow a numeric prefix argument to move up
8867         into the hierarchy of headlines.
8869         * org-element.el (org-element-up, org-element-down): Autoload.
8871         * org.el: Declare functions and don't require org-element.
8873         * org-element.el (org-element-at-point, org-element-forward)
8874         (org-element-backward, org-element-drag-backward)
8875         (org-element-drag-forward, org-element-mark-element)
8876         (org-element-transpose, org-element-unindent-buffer): Autoload.
8877         Require 'org and remove all declarations.
8879         * org.el (org-outline-regexp-bol, org-heading-regexp):
8880         Use variables instead of constants.
8882         * org-archive.el (org-datetree-find-date-create): Declare.
8884         * org.el (org-open-at-point): Only set
8885         `clean-buffer-list-kill-buffer-names' when the feature 'midnight
8886         has been loaded.
8888         * org-icalendar.el (org-print-icalendar-entries):
8889         Let APPT_WARNTIME take precedence over ̀org-icalendar-alarm-time'.
8891         * org.el (org-special-properties): New special property
8892         CLOCKSUM_T.
8893         (org-entry-properties): Handle the new special property.
8895         * org-colview.el (org-columns): Handle a new special property
8896         CLOCKSUM_T.
8897         (org-agenda-colview-summarize, org-agenda-colview-compute): Ditto.
8899         * org-clock.el (org-clock-sum-today): New function.
8900         (org-clock-sum): New argument PROPNAME to set a custom text
8901         property instead of :org-clock-minutes.
8903         * org-agenda.el (org-agenda-check-type): Throw a more appropriate
8904         error message when no agenda is currently being displayed.
8906         * org.el (org-get-property-block): Find blocks before the first
8907         headline.
8908         (org-entry-properties): Minor code cleanup.
8909         (org-entry-get, org-entry-get-with-inheritance): Get property
8910         before the first headline.
8912         * org-mobile.el (org-mobile-create-index-file): Use `files-alist'.
8914         * org.el (org-make-link): Delete.
8915         (org-store-link, org-insert-link)
8916         (org-file-complete-link): Don't use `org-make-link'.
8918         * org-wl.el (org-wl-store-link-folder)
8919         (org-wl-store-link-message): Ditto.
8921         * org-vm.el (org-vm-store-link): Ditto.
8923         * org-rmail.el (org-rmail-store-link): Ditto.
8925         * org-mhe.el (org-mhe-store-link): Ditto.
8927         * org-mew.el (org-mew-store-link): Ditto.
8929         * org-irc.el (org-irc-erc-store-link): Ditto.
8931         * org-info.el (org-info-store-link): Ditto.
8933         * org-id.el (org-id-store-link): Ditto.
8935         * org-gnus.el (org-gnus-group-link, org-gnus-article-link): Ditto.
8937         * org-eshell.el (org-eshell-store-link): Ditto.
8939         * org-bbdb.el (org-bbdb-store-link): Ditto.
8941         * org.el (org-url-hexify-p): New option.  When non-nil (the
8942         default), hexify URLs when creating a link.
8944         * org.el (org-insert-link): Make sure point is at the beginning of
8945         the buffer.
8947         * org.el (clean-buffer-list-kill-buffer-names): Declare.
8948         (org-open-at-point): Allow opening multiple shell links by
8949         creating a new output buffer for each shell process.  The new
8950         buffer is added to `clean-buffer-list-kill-buffer-names'.
8952         * org-mobile.el (org-mobile-create-index-file):
8953         Use `org-global-tags-completion-table' instead of
8954         `org-tag-alist-for-agenda' to get the tags for the index file.
8956         * org.el (org-global-tags-completion-table): Fix typo in
8957         docstring.
8959         * org.el (org-link-to-org-use-id): Use `org-capture' instead of
8960         `org-remember' in the docstring.
8961         (org-link-fontify-links-to-this-file): New function to fontify
8962         links to the current buffer in `org-stored-links'.
8963         (org-store-link): Small code simplification.
8964         (org-link-prettify): Enclose literal links into <...> instead of
8965         [[...]].
8966         (org-insert-link): Use `org-link-fontify-links-to-this-file'.
8967         Also allow completion over links' descriptions, as well as links
8968         destinations.  When the user uses the description for completion,
8969         don't prompt again for a description.
8971         * org-capture.el (org-capture-templates): Fix docstring by adding
8972         Gnus to the list of mail clients.
8974         * org.el (org-log-repeat): Enhance docstring.
8976         * org.el (org-mode-map): Don't bind C-<up> and C-<down> to
8977         `org-element-backward/forward' as these functions stops when there
8978         is no element of the same type before/after point.  It is useful
8979         to navigate with `forward/backward-paragraph' with no stop in most
8980         cases.
8982         * org-capture.el (org-capture-templates): New template %l to
8983         insert the literal link pointing at the current buffer.
8985         * org.el (org-todo-keywords): Ditto.
8987         * org.el (org-fill-paragraph): Falls back on
8988         `message-fill-paragraph' if required in `message-mode'.
8990         * org-pcomplete.el (pcomplete/org-mode/file-option/x): New macro.
8991         (pcomplete/org-mode/file-option/options)
8992         (pcomplete/org-mode/file-option/title)
8993         (pcomplete/org-mode/file-option/author)
8994         (pcomplete/org-mode/file-option/email)
8995         (pcomplete/org-mode/file-option/date): Use the new macro to offer
8996         completion over default values for #+OPTIONS, #+TITLE, #+AUTHOR,
8997         #+EMAIL and #+DATE.
8999         * org-agenda.el (org-agenda-write): Fix bug when writing agenda to
9000         an external file while `org-agenda-sticky' is non-nil.
9002         * org.el (org-speed-commands-default): New speedy command to
9003         quickly add the :APPT_WARNTIME: property.
9005         * org-agenda.el (org-agenda-to-appt): Use the :APPT_WARNTIME:
9006         property to override `appt-message-warning-time' when adding an
9007         appointment from an entry.
9009         * org.el (org-version): Improve docstring.
9010         (org-self-insert-cluster-for-undo): The default value should be
9011         nil for Emacs >=24.1.  See bug#11774.
9013         * org.el (org-fontify-meta-lines-and-blocks-1): Fix previous
9014         commit.
9016         * org.el (org-options-keywords): New constant.
9017         (org-additional-option-like-keywords): Remove duplicates with
9018         keywords in the new constant.
9019         (org-additional-option-like-keywords-for-flyspell): Use the new
9020         constant.
9021         (org-mode-flyspell-verify): Exclude keywords from the new
9022         constant.
9024         * org-pcomplete.el (pcomplete/org-mode/file-option):
9025         Use `org-options-keywords'.
9027         * org.el (org-toggle-heading): Bugfix: use
9028         `org-element-mark-element' instead of `org-mark-list'.
9030         * org-list.el (org-mark-list): Delete.
9032         * org.el: Update a few keybindings.
9034         * org-element.el (org-element-down): Throw an error when the
9035         element has no content.
9037         * org-table.el (orgtbl-radio-table-templates): Add a template for
9038         org-mode.
9039         (orgtbl-to-orgtbl): Complete and align the table created with
9040         orgtbl-to-orgtbl, in case the user use the function for radio
9041         tables.
9042         (orgtbl-to-table.el): New function to export a table to another
9043         one using the table.el format.
9044         (orgtbl-to-unicode): New function to export a table using unicode
9045         characters.
9047         * org-exp.el (org-export-language-setup): Use "Sommaire" for the
9048         french translation of "Table of contents", to avoid a possible bug
9049         when exporting to ODT.
9051         * org.el (org-additional-option-like-keywords): Add keywords.
9052         (org-additional-option-like-keywords-for-flyspell): New constant
9053         to use with flyspell.
9054         (org-mode-flyspell-verify): Use the dedicated constant and don't
9055         check `org-startup-options'.
9057         * org-agenda.el (org-batch-store-agenda-views): Use the sticky
9058         agenda buffer name, if required.
9059         (org-agenda-write): New parameter `agenda-bufname' to allow
9060         setting the agenda buffer name.
9062         * org.el (org-mode-map): Add keybindings for
9063         `org-element-forward', `org-element-backward', `org-element-up'
9064         and `org-element-down'.
9066         * org.el (org-auto-fill-function): Don't call `do-auto-fill'
9067         within (org-let org-fb-vars ...) as `do-auto-fill' should do the
9068         right thing whether orgstruct++-mode is turned on or off.
9070         * org.el (org-sparse-tree-default-date-type): New option.
9071         (org-ts-type): New variable.
9072         (org-sparse-tree): New argument `type'.  Use the new option
9073         `org-sparse-tree-default-date-type' as the default value for
9074         `type'.  Fix docstring.
9075         (org-re-timestamp): New function.
9076         (org-check-before-date, org-check-after-date)
9077         (org-check-dates-range): Use `org-ts-type' and `org-re-timestamp'
9078         to tell compute the date regexp.
9080         * org.el (orgstruct++-mode, org-get-local-variables): Also set
9081         `normal-auto-fill-function' when turning on/off orgstruct++-mode.
9083         * org-agenda.el (org-agenda-start-with-log-mode): Add relevant
9084         customization types.
9086         * org-faces.el (org-document-title): Use the normal height.
9088         * org-clock.el (org-x11idle-exists-p): New variable.
9089         (org-user-idle-seconds): Use it.
9091         * org.el (org-mode-map): Rebind `org-insert-all-links' to `C-c
9092         C-M-l'.
9094         * org.el (org-insert-all-links): New command.
9095         (org-insert-link): `org-keep-stored-link-after-insertion' is now
9096         checked when the link to insert has been defined, regardless on
9097         how it has been defined.  Also don't read the description
9098         interactively when the `default-description' parameter was given.
9099         (org-mode-map): Bind `org-insert-all-links' to `C-c C-L'.
9101         * org.el (org-inc-effort): New command to increment the effort
9102         property.
9103         (org-set-effort): Use it.
9104         (org-mode-map): Bind it to `C-c C-x E'.
9105         (org-speed-commands-default): Use `E' as a speed command for it.
9107         * org.el (org-re-property-keyword): New function.
9108         (org-entry-put): Use it to fix a bug with respect to setting the
9109         value of a property when a property line with no value already
9110         exists.
9112         * org.el (org-timestamp-change): Adjust clock in other org files
9113         correctly.
9115         * org-clock.el (org-user-idle-seconds): Simplify.
9117         * org.el (org-mode-map): Bind `org-resolve-clocks' to `C-c C-x
9118         C-z'.
9120         * org.el (org-mode-map): Add keybindings to
9121         `org-element-transpose' and `org-narrow-to-element'.
9122         (org-metaup): Fall back on `org-element-drag-backward'.
9123         (org-metadown): Fall back on `org-element-drag-forward'.
9124         Also move chunks of declarations and require statements to get rid of
9125         compiler warnings.
9127         * org-exp-blocks.el (org): Don't require org.  Add declarations.
9129         * org-clock.el (org): Don't require org.
9131         * ob-exp.el (org-list-forbidden-blocks): Add declarations.
9133         * org.el (org-timestamp-change): Don't use the `position'.
9135         * org.el (org-clock-history, org-clock-adjust-closest):
9136         New variables.
9137         (org-timestamp-change): Maybe adjust the next or previous clock in
9138         `org-clock-history'.
9139         (org-shiftmetaup, org-shiftmetadown): On clock logs, update the
9140         timestamp at point and adjust the next or previous clock in
9141         `org-clock-history', when possible.
9143         * org-clock.el (org-clock-in): Set the marker for
9144         `org-clock-history' at a safer position.
9146         * org-timer.el (org-timer-pause-or-continue, org-timer-stop):
9147         Autoload.
9149         * org-mobile.el (org-mobile-post-pull-hook): Fix docstring.
9151         * org.el (org-indent-line): Fix indentation of a property line
9152         starting at the beginning of a line.
9154         * org-odt.el (org-odt-cleanup-xml-buffers): Use the new alias.
9156         * org-compat.el: Alias `org-condition-case-unless-debug' to
9157         `condition-case-unless-debug' or `condition-case-no-debug'.
9159         * org.el (org-todo-keywords): Ditto.
9161         * org.el (org-use-fast-todo-selection): Reformat docstring.
9163         * org.el (org-flag-drawer): Add a docstring.
9164         (org-mode-map): Bind ̀org-clock-cancel' to "C-cC-xC-q" and
9165         `org-clock-in-last' to "C-cC-xC-x".  This fixes a bug in the
9166         previous keybinding for `org-clock-in-last', which would override
9167         the one for `org-clock-in'.
9169         * org-clock.el (org-clock-in-last): Prevent errors when there is
9170         no clocking history.
9171         (org-clock-cancel): Fix bug when checking against a clock log in a
9172         folded drawer.
9174         * org.el (org-link-expand-abbrev): Implement "%(my-function)" as a
9175         new specifier.  Update the docstring.
9177         * org.el (org-startup-options): Fix docstring formatting.
9179         * org.el (org-use-sub-superscripts): Fix typo in docstring.
9181         * org.el (org-refile): Fix bug: prevent looping when calling
9182         `org-set-tags' internally.
9184         * org.el (org-mode-map): Add `C-c C-x C-I' as a keybinding for
9185         `org-clock-in-last'.
9187         * org-clock.el (org-clock-continuously): New option.
9188         (org-clock-in): Three universal prefix arguments set
9189         `org-clock-continuously' to `t' temporarily.
9190         (org-clock-in-last): Fix call to `org-clock-select-task' and
9191         support continuous clocking.
9192         (org-clock-out-time): New variable.
9193         (org-clock-out): Set `org-clock-out-time' when clocking out.
9194         Small docstring rewriting.
9195         (org-clock-remove-empty-clock-drawer): Fix "invalid search bound"
9196         bug when trying to delete empty logbook drawer.
9197         (org-clock-cancel): If the clock log is gone, send a warning
9198         instead of deleting the region that is supposed to contain it.
9200         * org.el (org-move-line-down, org-move-line-up): Remove.
9201         (org-metaup, org-metadown): When the region is active, move it
9202         up/down by one line, with no regard to the context.
9204         * org-odt.el (org-odt-cleanup-xml-buffers): Use the new alias.
9206         * org-compat.el: Alias `org-condition-case-unless-debug' to
9207         `condition-case-unless-debug' or `condition-case-no-debug'.
9209         * org-pcomplete.el (org-thing-at-point): Ignore trailing
9210         whitespaces while looking-back at properties.
9212         * org.el (org-mode): Set `indent-region-function'.
9213         (org-indent-region): New function.
9214         (org-fill-paragraph): When in a src block, use `indent-region' to
9215         indent the whole source code instead of falling back on
9216         `fill-paragraph', as this function messes up the code.
9218         * org-src.el (org-edit-src-code): Fix docstring formatting.
9220         * ob.el (org-babel-do-key-sequence-in-edit-buffer): Ditto.
9222         * org.el (org-mode, org-add-log-setup)
9223         (org-get-property-block, org-entry-put)
9224         (org-property-next-allowed-value, org-return)
9225         (org-indent-line): Rename `org-indent-line-function' to
9226         `org-indent-line'.
9228         * org-timer.el (org-timer-item): Ditto.
9230         * org-table.el (org-table-store-formulas): Ditto.
9232         * org-clock.el (org-clock-in, org-clock-find-position): Ditto.
9234         * org-src.el (org-src-font-lock-fontify-block)
9235         (org-src-strip-leading-and-trailing-blank-lines)
9236         (org-src-ask-before-returning-to-edit-buffer)
9237         (org-edit-src-code, org-edit-src-continue)
9238         (org-edit-fixed-width-region)
9239         (org-src-do-key-sequence-at-code-block)
9240         (org-src-font-lock-fontify-block, org-src-fontify-buffer):
9241         Fix typos in docstrings.
9243         * org-docbook.el (org-export-docbook-emphasis-alist): Fix typo:
9244         use "format string" instead of "formatting string".
9246         * org-latex.el (org-export-latex-emphasis-alist)
9247         (org-export-latex-title-command, org-export-latex-tables): Ditto.
9249         * org-html.el (org-export-html-postamble): Ditto.
9251         * org-latex.el (org-export-latex-hyperref-options-format):
9252         New option.
9253         (org-export-latex-make-header): Use it.
9255         * ob.el (org-babel-confirm-evaluate): Prevent errors when
9256         `org-current-export-file' is void.
9258         * org-table.el (org-table-export): Use the file name extension to
9259         suggest the right conversion format.  Also amend the docstring.
9261         * org.el (org-speed-commands-default): Two new speed commands.
9262         Use `:' for `org-columns' and ̀#' for `org-toggle-comment'.
9264         * org.el (org-time-stamp): With two universal arguments, insert an
9265         active timestamp with the current time without prompting the user.
9267         * org-clock.el (org-clock-in-last): New command.
9269         * org-clock.el (org-clock-in): Fix typo in docstring.
9271         * org-mobile.el (org-mobile-edit): Fix reference to a free
9272         variable.
9274         * org.el (org-doi-server-url): Update :group.
9276         * ob-lob.el (org-babel-lob-execute): Fix reference to non-existent
9277         variable.
9279         * org.el (org-doi-server-url): New option.
9280         (org-open-at-point): Use it.
9282         * org.el (org-at-comment-p): New function.
9283         (org-toggle-heading): Use `org-at-comment-p' to skip comments.
9285         * org-html.el (org-export-as-html): Add links to the Org mode and
9286         GNU Emacs websites When :html-postamble is set to 't.
9288         * org-export.el (org-export-creator-string): Add links to the Org
9289         mode and GNU Emacs websites.
9291         * org-special-blocks.el
9292         (org-special-blocks-convert-html-special-cookies): Prevent errors
9293         by first checking `org-line' is not nil.
9295         * org-clock.el (org-clock-string-limit)
9296         (org-clock-modeline-total, org-clock-task-overrun-text)
9297         (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
9299         * org.el (org-at-timestamp-p): Set ̀org-ts-what' to 'after when the
9300         point is right after the timestamp.  `org-at-timestamp-p' still
9301         returns `t' in this case, as this is more practical.
9302         (org-return): Check against ̀org-ts-what' to verify that point is
9303         really within the timestamp (if any).
9305         * org.el (org-return): Follow time-stamp links when point is an a
9306         time-stamp.
9308         * org-capture.el (org-capture-bookmark): New option.
9309         (org-capture-finalize): Use it.
9311         * org-publish.el (org-publish-cache-file-needs-publishing):
9312         Make the column mandatory after #+include:.
9314         * org-exp.el (org-export-handle-include-files): Ditto.
9316         * org-bibtex.el (org-bibtex-entries): Rename from
9317         (org-bibtex-read, org-bibtex-write): Use the new name.
9319         * org-exp.el (org-export-handle-include-files): Allow to use
9320         #+include with no column.
9322         * org-publish.el (org-publish-cache-file-needs-publishing):
9323         Make quotes mandatory around the file name and allow spaces in it.
9325         * org-html.el (org-export-as-html): Add link to Org's and Emacs's
9326         websites.
9328         * org-latex.el
9329         (org-export-latex-link-with-unknown-path-format): New option.
9330         (org-export-latex-links): Use it.
9332         * org-agenda.el (org-agenda-get-timestamps): Remove any active
9333         timestamp from the headline text, not only those for the current
9334         date.
9336         * org.el (org-set-tags): Allow setting tags for headlines in the
9337         region when `org-loop-over-headlines-in-active-region' is non-nil.
9339         * org.el (org-allow-promoting-top-level-subtree): New option to
9340         allow promoting a top-level subtree.
9341         (org-called-with-limited-levels): New variable, dynamically bound
9342         within the `org-with-limited-levels' macro.
9343         (org-promote): Use the new option to allow promoting a top-level
9344         subtree.
9346         * org-macs.el (org-with-limited-levels): Let-bind
9347         `org-called-interactively-p' to t.
9349         * org.el (org-create-formula-image-with-dvipng)
9350         (org-create-formula-image-with-imagemagick): Make sure a file
9351         exists before trying to delete it.
9353         * org.el (org-scan-tags): Correctly match TODO keywords.
9355         * org-agenda.el (org-agenda-bulk-action): Fix bug: use
9356         `org-agenda-bulk-unmark-all'.
9358         * org.el (orgstruct++-mode): Fix docstring.
9359         (org-fill-paragraph): Use the 'justify parameter when falling back
9360         on `fill-paragraph'.
9362         * org.el (org-indent-line-function): Use `org-let' instead of
9363         `orgstruct++-ignore-org-filling'.
9364         (org-fill-paragraph, org-auto-fill-function): Ditto.
9366         * org-macs.el (orgstruct++-ignore-org-filling): Delete.
9368         * org-table.el (org-table-time-string-to-seconds): Return the
9369         empty string if provided.
9370         (org-table-eval-formula): When assigning a duration string, handle
9371         it correctly -- i.e. don't make any computation on it, except the
9372         one to insert it using the correct duration format.
9374         * org.el (org-indent-line-function): Fix bug.
9376         * org-clock.el (org-frame-title-format-backup): New variable to
9377         store the value of `frame-title-format' before `org-clock' might
9378         replace it by `org-clock-frame-title-format'.
9379         (org-clock-frame-title-format): New option.
9380         (org-frame-title-string): Delete.
9381         (org-clock-update-mode-line): Minor code reformatting.
9382         (org-clock-in, org-clock-out, org-clock-cancel):
9383         Use `org-clock-frame-title-format'.
9385         * org-clock.el (org-clock-get-clock-string): Add a space.
9387         * org-list.el (org-mark-list): Return an error when there is no
9388         list at point.
9390         * org.el (org-toggle-heading): Allow `C-u C-c *' to mark the list
9391         at point before converting items to headings.  With a simple
9392         universal-argument, set `current-prefix-arg' to 1, otherwise keep
9393         the numeric value.
9395         * org-agenda.el (org-agenda-view-mode-dispatch): Make the message
9396         more readable.
9398         * org-agenda.el (org-agenda-mode-map): New keybinding ̀*' to mark
9399         all entries for bulk action.
9400         (org-agenda-menu): New menu item for marking all entries.
9401         (org-agenda-bulk-mark-all): New function to mark all entries.
9402         (org-agenda-bulk-mark-regexp): Minor docstring fix.
9403         (org-agenda-bulk-unmark): With a prefix argument, unmark all.
9404         Also send a better message.
9405         (org-agenda-bulk-remove-all-marks): Rename to
9406         `org-agenda-bulk-unmark-all'.  Check against
9407         `org-agenda-bulk-marked-entries' before trying to unmark entries.
9408         Minor docstring fix.
9409         (org-agenda-bulk-unmark-all): Rename from
9410         ̀org-agenda-bulk-remove-all-marks'.
9412         * org-agenda.el (org-agenda-bulk-mark-char): New option.
9413         (org-agenda-bulk-mark): Use the new option.
9415         * org.el (org-src-prevent-auto-filling): New option to prevent
9416         auto-filling in src blocks.  This defaults to nil to avoid people
9417         being surprised that no auto-fill occurs in Org buffers where they
9418         use `auto-fill-mode'.
9419         (org-auto-fill-function): Use the new option.
9421         * org.el (org-properties-postprocess-alist): Better customization
9422         type.
9423         (org-set-property): Fix the check against
9424         `org-properties-postprocess-alist'.
9426         * org-macs.el (orgstruct++-ignore-org-filling):
9427         Set `def-edebug-spec' correctly.
9429         * org-colview.el (org-columns-string-to-number): When computing
9430         the values for the colview, match durations and convert them to
9431         HH:MM values.
9433         * org.el (org-duration-string-to-minutes): Match non-round
9434         numbers.  Add a new optional parameter to allow returning the
9435         output as a string.
9437         * org.el (org-auto-fill-fallback-function)
9438         (org-indent-line-fallback-function)
9439         (org-fill-paragraph-fallback-function)
9440         (org-auto-fill-fallback-function)
9441         (org-indent-line-fallback-function)
9442         (org-fill-paragraph-fallback-function): Remove.
9443         (org-fb-vars): New buffer-local variable.
9444         (orgstruct++-mode): Use the fallback variable `org-fb-vars' to
9445         store, use and restore variables if needed.
9446         (org-fill-paragraph): Ignore `orgstruct++-mode' filling variables
9447         when needed.
9448         (org-auto-fill-function, org-indent-line-function): Ditto.
9450         * org-macs.el (orgstruct++-ignore-org-filling): New macro.
9452         * org-exp-blocks.el: Use `org-find-library-name' instead of
9453         `find-library-name'.
9455         * org-compat.el (org-find-library-name): Convert into a macro to
9456         avoid compilation of a function from XEmacs in Emacs and vice
9457         versa.
9459         * org-table.el (org-table-store-formulas): Fix typo.
9460         (org-table-maybe-eval-formula): Fix the regexp to only match
9461         formulas, which never end with the `=' character.  If the field
9462         only contain this character, don't eval either.
9464         * org.el (org-set-property): Perform the correct check against
9465         `org-properties-postprocess-alist'.
9467         * org-bbdb.el (org-bbdb-anniversary-format-alist): Update the
9468         customization type.
9469         (name): Suppress (defvar 'name) as name is not eval'ed when
9470         setting `org-bbdb-anniversary-format-alist'.
9472         * org.el (org-version): When called non-interactively, insert the
9473         short version string, otherwise send a message with the complete
9474         version string.
9476         * org-odt.el (org-odt-update-meta-file): Use (org-version) and
9477         delegate checking whether `org-version' is known as a variable
9478         there.
9480         * org-html.el (org-export-as-html): Use (org-version).
9482         * org-docbook.el (org-export-as-docbook): Ditto.
9484         * org-latex.el (org-export-latex-make-header): Ditto.
9486         * org-clock.el (org-clocktable-write-default): Temporarily disable
9487         `delete-active-region' so that we don't accidently delete an
9488         active region when exporting a subtree/region.
9490         * org-clock.el (org-program-exists): Remove.
9491         (org-show-notification, org-clock-play-sound):
9492         Use `executable-find' instead of `org-program-exists'.
9494         * org-agenda.el (org-diary): Prevent failure from
9495         `org-compile-prefix-format' when there is no agenda buffer.
9497         * org-agenda.el (org-agenda-mode): Replace obsolete variable
9498         `buffer-substring-filters'.
9500         * org-indent.el (org-indent-mode): Ditto.
9502         * org-compat.el (org-find-library-name): Silent the byte-compiler
9503         about a warning related to XEmacs support.
9505         * org-special-blocks.el
9506         (org-special-blocks-convert-html-special-cookies): Use `org-line'
9507         instead of `line'.
9509         * org-html.el (org-html-handle-links, org-export-as-html)
9510         (org-format-org-table-html, org-format-table-table-html)
9511         (org-html-export-list-line): Use `org-line' instead of `line' as
9512         the free variable name.
9514         * org-latex.el (org-export-latex-tables): Let-bind `hfmt'.
9516         * org-faces.el (org-list-dt): New face.
9518         * org.el (org-set-font-lock-defaults): Use `org-list-dt' as the
9519         face for definition terms in definition lists.
9521         * org.el (org-fill-paragraph): Pass the `justify' argument to
9522         `org-fill-paragraph-fallback-function'.
9524         * org.el (org-eval-in-calendar): Fix docstring to mention the
9525         KEEPDATE parameter.
9527         * org.el (org-refresh-category-properties): Let-bind
9528         `inhibit-read-only' to t.
9530         * org.el (org-auto-fill-fallback-function)
9531         (org-indent-line-fallback-function)
9532         (org-fill-paragraph-fallback-function): New variables to store
9533         some fall-back functions when turning `orgstruct++-mode' on.
9534         (orgstruct++-mode): Set the new variables.
9535         (org-indent-line-function, org-fill-paragraph)
9536         (org-auto-fill-function): Use them.
9538         * org.el (org-read-date): Bugfix: call `org-eval-in-calendar' with
9539         the 'keepdate parameter set to t when setting the cursor type.
9541         * org-agenda.el (org-agenda-persistent-marks): New option to keep
9542         marks after a bulk action.  The option defaults to nil.
9543         (org-agenda-bulk-action): Use the new option.
9545         * org-capture.el (org-capture-fill-template): Use %\n instead of
9546         %n as a template element to be replaced with the nth prompted
9547         string.
9548         (org-capture-templates): Update docstring.
9550         * org.el (org-goto): Fix docstring and document what C-u does.
9552         * org-publish.el (org-publish-cache-file-needs-publishing):
9553         Use (case-fold-search t) when looking for #+INCLUDE:.
9555         * org.el: Use (case-fold-search t).
9556         (org-edit-special, org-ctrl-c-ctrl-c): Ditto.
9558         * org-table.el:
9559         (org-table-store-formulas, org-table-get-stored-formulas)
9560         (org-table-fix-formulas, org-table-edit-formulas)
9561         (org-old-auto-fill-inhibit-regexp, orgtbl-ctrl-c-ctrl-c)
9562         (orgtbl-toggle-comment, org-table-get-remote-range): Ditto.
9564         * org-footnote.el:
9565         (org-footnote-goto-local-insertion-point): Ditto.
9567         * org-exp.el: Ditto.
9569         * org-colview.el:
9570         (org-dblock-write:columnview, org-dblock-write:columnview): Ditto.
9572         * org-clock.el (org-clocktable-write-default): Ditto.
9574         * org-capture.el (org-capture-place-table-line): Ditto.
9576         * ob.el (org-babel-data-names, org-babel-goto-named-src-block)
9577         (org-babel-src-block-names)
9578         (org-babel-where-is-src-block-result, org-babel-result-end)
9579         (org-babel-where-is-src-block-head)
9580         (org-babel-find-named-result, org-babel-result-names): Ditto.
9582         * org-table.el (orgtbl-send-table): Escape special characters.
9583         Introduce a new parameter :no-escape to prevent escaping.
9585         * org-agenda.el (org-toggle-sticky-agenda): Only shout a message
9586         when called interactively.
9587         (org-agenda-get-restriction-and-command):
9588         Call `org-toggle-sticky-agenda' interactively.
9590         * org-agenda.el (org-agenda-top-category-filter): New variable for
9591         storing the current top-category filter.
9592         (org-agenda-redo): Apply a top-category filter, if any.
9593         (org-agenda-filter-by-top-category)
9594         (org-agenda-filter-top-category-apply):
9595         Set `org-agenda-top-category-filter' to the right value.
9597         * org-clock.el (org-clock-out, org-clock-cancel)
9598         (org-clock-in): Don't modify `frame-title-format' if it is a
9599         string.
9601         * org-latex.el (org-export-latex-special-chars): Fix bug when
9602         escaping special characters in a table.
9604         * org.el (org-read-date): Set cursor-type to nil in the calendar.
9606         * org-faces.el (org-date-selected): Use inverse video.
9607         Don't explicitly set bold to nil as it causes `customize-face' to show
9608         the weight property and thus encourage the user to change it.
9609         Warn in the docstring that using bold might cause problems when
9610         displaying the calendar.
9612         * org-id.el (org-id-update-id-locations): New parameter to silent
9613         `org-id-find'.
9614         (org-id-find): Use the new parameter.
9616         * org.el (org-show-hierarchy-above, org-cycle)
9617         (org-global-cycle, org-files-list, org-store-link)
9618         (org-link-search, org-open-file, org-display-outline-path)
9619         (org-refile-get-location, org-update-all-dblocks)
9620         (org-change-tag-in-region, org-entry-properties)
9621         (org-save-all-org-buffers, org-revert-all-org-buffers)
9622         (org-buffer-list, org-cdlatex-mode)
9623         (org-install-agenda-files-menu, org-end-of-subtree)
9624         (org-speedbar-set-agenda-restriction): Use (derived-mode-p
9625         'org-mode) instead of (eq major-mode 'org-mode).
9627         * org-timer.el (org-timer-set-timer): Ditto.
9629         * org-table.el (orgtbl-mode, org-table-align, orgtbl-mode): Ditto.
9631         * org-src.el (org-edit-src-exit, org-edit-src-code)
9632         (org-edit-fixed-width-region, org-edit-src-exit): Ditto.
9634         * org-remember.el (org-remember-handler): Ditto.
9636         * org-mouse.el (dnd-open-file, org-mouse-insert-item): Ditto.
9638         * org-macs.el (org-get-limited-outline-regexp): Ditto.
9640         * org-lparse.el (org-replace-region-by): Ditto.
9642         * org-latex.el (org-latex-to-pdf-process)
9643         (org-replace-region-by-latex): Ditto.
9645         * org-indent.el (org-indent-indent-buffer): Ditto.
9647         * org-id.el (org-id-store-link, org-id-update-id-locations)
9648         (org-id-store-link): Ditto.
9650         * org-html.el (org-export-html-preprocess)
9651         (org-replace-region-by-html): Ditto.
9653         * org-footnote.el (org-footnote-normalize)
9654         (org-footnote-goto-definition)
9655         (org-footnote-create-definition, org-footnote-normalize): Ditto.
9657         * org-docbook.el (org-replace-region-by-docbook): Ditto.
9659         * org-ctags.el (find-tag): Ditto.
9661         * org-colview.el (org-columns-redo)
9662         (org-columns-display-here, org-columns-edit-value)
9663         (org-columns-redo): Ditto.
9665         * org-capture.el (org-capture-insert-template-here)
9666         (org-capture, org-capture-finalize)
9667         (org-capture-set-target-location)
9668         (org-capture-insert-template-here): Ditto.
9670         * org-ascii.el (org-replace-region-by-ascii): Ditto.
9672         * org-archive.el (org-archive-subtree): Ditto.
9674         * org-agenda.el (org-agenda)
9675         (org-agenda-get-restriction-and-command)
9676         (org-agenda-get-some-entry-text, org-search-view)
9677         (org-tags-view, org-agenda-get-day-entries)
9678         (org-agenda-format-item, org-agenda-goto, org-agenda-kill)
9679         (org-agenda-archive-with, org-agenda-switch-to): Ditto.
9681         * org.el (org-repeat-re)
9682         (org-clone-subtree-with-time-shift, org-auto-repeat-maybe)
9683         (org-deadline, org-schedule, org-matcher-time)
9684         (org-time-stamp, org-read-date, org-read-date-get-relative)
9685         (org-display-custom-time, org-get-wdays)
9686         (org-time-string-to-absolute, org-closest-date)
9687         (org-timestamp-change): Allow to set hourly repeat cookie.
9688         Send an error when an hourly repeat cookie is set and no hour is
9689         specified in the timestamp.
9691         * org-icalendar.el (org-print-icalendar-entries): Handle hourly
9692         repeat cookies.
9694         * org-clock.el (org-program-exists): Fix docstring.
9696         * org-clock.el (org-clock-file-time-cell-format): New option.
9697         (org-clocktable-write-default): Use it.
9699         * org-faces.el (org-date-selected): New face.
9701         * org.el (org-date-ovl): Use `org-date-selected'.
9703         * org.el (org-mode): Don't use `buffer-face-mode' by default.
9705         * org-agenda.el (org-agenda-mode-map): Bind `^' to
9706         `org-agenda-filter-by-top-category'.
9708         * org-ascii.el (org-export-ascii-underline): Change the default
9709         underlining characters for headlines of level 1 and 2.
9710         Also introduce \. as the underline character for headlines of level 5.
9712         * org-table.el (org-table-recalculate-buffer-tables)
9713         (org-table-iterate-buffer-tables): Add autoload cookie.
9715         * org.el (org-table-map-tables): Exclude tables in src and example
9716         blocks.
9718         * org.el (org-fill-paragraph): Leave scheduled/deadline lines
9719         untouched when filling an adjacent paragraph.
9721         * org-html.el (org-export-html-preamble-format)
9722         (org-export-html-postamble-format): Improve the docstring.
9724         * org.el (org-todo): Fix regression: rename `state' to
9725         `org-state'.
9727         * org-clock.el (org-show-notification): Use `fboundp' instead of
9728         `featurep' and the additional `require'.
9730         * org-clock.el (org-clock-in-prepare-hook): New option to format
9731         the total time cells.
9732         (org-clocktable-write-default): Use the new option.
9734         * org.el (org-open-at-point): Allow to open the agenda from an
9735         active or inactive timestamp in a headline.
9737         * org-html.el (org-export-html-date-format-string): Make a
9738         defcustom.
9740         * org-latex.el (org-export-as-latex): Fix TeX-master declaration.
9742 2012-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
9744         * org-table.el (org-table-expand-lhs-ranges): Allow hline
9745         references to be expanded correctly in LHS of formulas.
9747         * org-beamer.el (org-beamer-inherited-properties): New option.
9748         (org-beamer-after-initial-vars): Use new option to look for
9749         inherited properties.
9751         * org.el (org-ts-regexp0): Allow time stamps without name of day.
9753         * org-agenda.el (org-toggle-sticky-agenda):
9754         (org-agenda-sticky): Improve :set property.
9756         * org-agenda.el (org-agenda-local-vars): Clean up the variable
9757         list.
9758         (org-agenda-get-restriction-and-command): Add a key for toggling
9759         sticky agenda views.
9761         * org-agenda.el (org-agenda-local-vars): Final decisions about
9762         global/local
9764         * org-agenda.el (org-agenda-force-single-file): Variable removed.
9765         (org-prepare-agenda-window): Store pre-agenda window config
9766         locally.
9767         (org-timeline): Introduce a scoped version of
9768         `org-agenda-show-log'.
9769         (org-agenda-list): Introduce a scoped version of
9770         `org-agenda-show-log'.
9771         (org-agenda-get-progress): Use the scoped version of
9772         `org-agenda-show-log'.
9773         (org-agenda-local-vars): Write the analysis result as a comment -
9774         to be cleaned up in the next iteration.
9776         * org-agenda.el (org-toggle-sticky-agenda): Kill all agenda
9777         buffers when toggling sticky-agendas.
9778         (org-agenda-get-restriction-and-command): Add `C-c a C-k' as a key
9779         to explicitly kill all agenda buffers.
9780         (org-agenda-run-series): Remove any old agenda markers in the
9781         buffer that is going to take the new block agenda.
9782         (org-prepare-agenda): Reset markers before erasing the buffer anc
9783         running `org-agenda-mode', because after that the local variable
9784         `org-agenda-markers' will have gone away.
9785         (org-agenda-Quit):
9786         (org-finalize-agenda): Install the marker resetter into the
9787         `kill-buffer-hook'.
9788         (org-agenda-save-markers-for-cut-and-paste): Look for markers in
9789         all agenda buffers.
9790         (org-agenda-kill-all-agenda-buffers): New function.
9792 2012-09-30  Chris Gray  <chrismgray@gmail.com>
9794         * org-html.el (org-export-as-html): Remove the check for body-only
9795         in the code for generating tables of contents.
9797 2012-09-30  Christoph Dittmann  <github@christoph-d.de>  (tiny change)
9799         * org-beamer.el (org-beamer-auto-fragile-frames):
9800         Make [fragile] work with overlay specifications.
9802 2012-09-30  Christophe Junke  <christophe.junke@inria.fr>  (tiny change)
9804         * org-agenda.el (org-agenda-list): Ensures that the list returned
9805         by `org-agenda-add-time-grid-maybe' is appended to ̀rtnall' before
9806         checking if the latter is empty.
9808 2012-09-30  Christophe Rhodes  <csr21@cantab.net>  (tiny change)
9810         * org-latex.el (org-export-latex-tables): Support setting the
9811         :hfmt parameter from #+ATTR_LaTeX.
9813 2012-09-30  Daniel Dehennin  <daniel.dehennin@baby-gnu.org>  (tiny change)
9815         * org-exp.el (org-export-handle-include-files)
9816         (org-get-file-contents): Handle new parameter :addlevel.
9818 2012-09-30  Dave Abrahams  <dave@boostpro.com>  (tiny change)
9820         * org.el (org-link-prettify): New function to prettify links while
9821         displaying them with `org-insert-link'.
9822         (org-insert-link): Use the new function.
9824 2012-09-30  David Maus  <dmaus@ictsoc.de>
9826         * org-exp.el (org-export-language-setup): Use numeric character
9827         entities for proper rendering of non-UTF8 documents.
9829         * org-exp.el (org-export-language-setup): Add japanese
9830         translation.
9832 2012-09-30  Eric Schulte  <eric.schulte@gmx.com>
9834         * ob-sh.el (org-babel-sh-evaluate): Don't could 0-length shebangs.
9836         * ob.el (org-babel-insert-result): Replace key sequence with
9837         function call.  Use a more informative flag to the local function.
9838         (org-add-protective-commas): Declare a new external function.
9840         * org-src.el (org-add-protective-commas): This should be its own
9841         function.
9842         (org-edit-src-exit): Use the new function.
9844         * org-compat.el (org-labels): Remove.
9846         * org-bibtex.el (org-bibtex-headline): Don't use `org-labels'.
9848         * ob.el (org-babel-sha1-hash, org-babel-noweb-p): Ditto.
9850         * ob.el (org-babel-string-read): Don't automatically evaluate code
9851         block results which look like elisp.
9852         (org-babel-import-elisp-from-file): Raise a warning message when
9853         the process of reading code block results raises an error.
9855         * ob-tangle.el (org-babel-with-temp-filebuffer): Don't execute
9856         macro argument multiple times.
9858         * org.el (org-compat): Require org-compat before we first use one
9859         of its functions (a macro actually).
9861         * ob-comint.el (org-babel-comint-with-output): Don't name the
9862         filter function, but rather pass through the anonymous lambda
9863         directly.
9865         * org.el (org-babel-load-languages): Common lisp should be
9866         mentioned as a supported babel language.
9868         * org-clock.el (org-clock-special-range): "concat 'string" ->
9869         "concat"
9870         (org-clocktable-shift): "concat 'string" -> "concat"
9872         * org-bibtex.el (org-bibtex-headline): Replacing org-flet with
9873         org-labels.
9875         * ob-calc.el (org-babel-execute:calc): Strip single quotes from
9876         calc internal representations.
9878         * org-clock.el (org-clock-special-range): Replacing cl concatenate
9879         with concat.
9880         (org-clocktable-shift): Replacing cl concatenate with concat.
9882         * ob.el (org-babel-edit-distance): Remove use of map at runtime.
9884         * org-compat.el (org-flet): Compatibility function now that flet
9885         has been removed from cl-macs.
9886         (org-labels): Compatibility function now that labels has been
9887         removed from cl-macs.
9889         * ob-R.el (org-compat): Require org-compat.
9891         * ob-comint.el: Require org-compat.
9893         * ob-exp.el (org-babel-exp-do-export): Switch to compatibility
9894         function.
9896         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Switch to
9897         compatibility function.
9899         * ob-lob.el (org-babel-lob-get-info): Switch to compatibility
9900         function.
9901         (org-babel-lob-execute): Switch to compatibility function.
9903         * ob-python.el (org-babel-python-evaluate-session): Switch to
9904         compatibility function.
9906         * ob-ref.el (org-babel-ref-index-list): Switch to compatibility
9907         function.
9909         * ob-sh.el (org-babel-sh-var-to-string): Switch to compatibility
9910         function.
9912         * ob-tangle.el (org-babel-load-file): Switch to compatibility
9913         function.
9914         (org-babel-tangle): Switch to compatibility function.
9915         (org-babel-spec-to-string): Switch to compatibility function.
9917         * ob.el (org-babel-view-src-block-info): Switch to compatibility
9918         function.
9919         (org-babel-execute-src-block): Switch to compatibility function.
9920         (org-babel-edit-distance): Switch to compatibility function.
9921         (org-babel-switch-to-session-with-code): Switch to compatibility
9922         function.
9923         (org-babel-sha1-hash): Switch to compatibility function.
9924         (org-babel-balanced-split): Switch to compatibility function.
9925         (org-babel-join-splits-near-ch): Switch to compatibility function.
9926         (org-babel-get-rownames): Switch to compatibility function.
9927         (org-babel-format-result): Switch to compatibility function.
9928         (org-babel-insert-result): Switch to compatibility function.
9929         (org-babel-examplize-region): Switch to compatibility function.
9930         (org-babel-merge-params): Switch to compatibility function.
9931         (org-babel-noweb-p): Switch to compatibility function.
9932         (org-babel-expand-noweb-references): Switch to compatibility
9933         function.
9935         * org-bibtex.el (org-bibtex-headline): Switch to compatibility
9936         function.
9937         (org-bibtex-fleshout): Switch to compatibility function.
9938         (org-bibtex-read): Switch to compatibility function.
9939         (org-bibtex-write): Switch to compatibility function.
9941         * org-exp-blocks.el (org-export-blocks-preprocess): Switch to
9942         compatibility function.
9944         * org-exp.el (org-export-format-source-code-or-example): Switch to
9945         compatibility function.
9947         * org-macs.el (org-called-interactively-p): Indentation fix.
9949         * org-mouse.el (org-mouse-timestamp-today): Switch to
9950         compatibility function.
9951         (org-mouse-set-priority): Switch to compatibility function.
9952         (org-mouse-popup-global-menu): Switch to compatibility function.
9953         (org-mouse-context-menu): Switch to compatibility function.
9955         * org-plot.el (org-plot/gnuplot-to-grid-data): Switch to
9956         compatibility function.
9957         (org-plot/gnuplot-script): Switch to compatibility function.
9959         * org.el (org-entry-get): Switch to compatibility function.
9960         (org-fill-paragraph): Switch to compatibility function.
9961         (org-auto-fill-function): Switch to compatibility function.
9963         * ob-lob.el (org-babel-lob-execute): Only try to insert extant
9964         hashes.
9966         * ob-R.el (org-babel-R-command): From a defvar to a defcustom.
9968         * ob.el (org-babel-set-current-result-hash): Change the hash of
9969         the results for the current code block.
9970         (org-babel-current-result-hash): Fix documentation.
9972         * ob-lob.el (org-babel-lob-execute): Don't re-execute the called
9973         function if the current call line hash matches that in its
9974         results.
9976         * ob-R.el (org-babel-R-assign-elisp): Can't assume every entry in
9977         a table is a sequence.
9979         * ob-R.el (org-babel-R-assign-elisp): Clean up the code
9980         implementing reads of irregular data into R.
9982         * ob.el (org-babel-header-arg-expand): In new buffers
9983         (char-before) may return nil so use equal rather than =.
9985         * ob-R.el (org-babel-header-args:R): Adding values.
9987         * ob-clojure.el (org-babel-header-args:clojure): Adding values.
9989         * ob-lisp.el (org-babel-header-args:lisp): Adding values.
9991         * ob-sql.el (org-babel-header-args:sql): Adding values.
9993         * ob-sqlite.el (org-babel-header-args:sqlite): Adding values.
9995         * ob.el (org-babel-combine-header-arg-lists): Combine lists of
9996         arguments and values.
9997         (org-babel-insert-header-arg): Use new combined header argument
9998         lists.
9999         (org-babel-header-arg-expand): Add support for completing-read
10000         insertion of header arguments after ":"
10001         (org-babel-enter-header-arg-w-completion): Completing read
10002         insertion of header arguments
10003         (org-tab-first-hook): Adding header argument completion.
10004         (org-babel-params-from-properties): Combining header argument
10005         lists.
10007         * ob-exp.el (org-babel-exp-results): Ensure noweb expanded body is
10008         used on export.
10010         * ob.el (org-babel-result-to-file): New optional description
10011         argument.
10012         (org-babel-insert-result): Move description logic to another
10013         function.
10015         * ob.el (org-babel-insert-result): Change name of filelinkdescr to
10016         file-desc.
10017         (org-babel-common-header-args-w-values): Change name of
10018         filelinkdescr to file-desc.
10020         * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled C
10021         files on windows.
10023         * ob-exp.el (org-babel-exp-code): Escape all lines when exporting
10024         Org-mode blocks.
10026         * ob.el (org-babel-parse-src-block-match): Make use of the new
10027         language argument to org-babel-strip-protective-commas.
10028         (org-babel-parse-inline-src-block-match): Make use of the new
10029         language argument to org-babel-strip-protective-commas.
10030         (org-babel-strip-protective-commas): Now accepts a language
10031         argument.
10033 2012-09-30  Fabrice Niessen  <fniessen-TA4HMoP+1wHrZ44/DZwexQ@public.gmane.org>  (tiny change)
10035         * org-agenda.el (org-agenda-write-buffer-name): Remove the test
10036         for the presence of <style> tag.
10038 2012-09-30  Feng Shu  <tumashu@gmail.com>
10040         * org.el (org-create-formula-image-with-imagemagick):
10041         Use 'call-process to launch latex so that no shell output buffer will
10042         be shown when previewing formulas.
10044         * org.el (org-create-formula-image-with-imagemagick): Fix typo.
10046         * org.el (org-latex-create-formula-image-program): New option to
10047         use either dvipng or imagemagick to convert and preview LaTeX
10048         fragments.
10049         (org-preview-latex-fragment, org-format-latex): Handle the new
10050         option.
10051         (org-create-formula-image-with-dvipng): Rename from
10052         `org-create-formula-image'.
10053         (org-create-formula-image-with-imagemagick): New defun to handle
10054         LaTeX preview with imagemagick.
10055         (org-latex-color, org-latex-color-format): New defuns to handle
10056         color conversions.
10058         * org-latex.el (org-latex-to-pdf-process, org-export-as-pdf):
10059         Allow to use imagemagick to convert LaTeX fragments.
10061         * org-html.el (org-export-html-preprocess): Ditto.
10063         * org-exp.el (org-export-with-LaTeX-fragments): Ditto.
10065 2012-09-30  George Kettleborough  <g.kettleborough@member.fsf.org>
10067         * org-clock.el: New option `org-clock-clocked-in-display' to
10068         control whether the current clock is displayed in the mode line
10069         and/or frame title.
10071         * org-timer.el: New option `org-timer-display' to control whether
10072         the current timer is displayed in the mode line and/or frame
10073         title.
10075 2012-09-30  Hans-Peter Deifel  <hpdeifel@gmx.de>  (tiny change)
10077         * ob.el (org-babel-execute-src-block): Allow the :dir header
10078         argument to take relative file names.
10080 2012-09-30  Harri Kiiskinen  <harri@pp-kaitue.(none)>  (tiny change)
10082         * org-protocol.el: New option.
10083         (org-protocol-store-link, org-protocol-do-capture): Use it.
10085 2012-09-30  Henning Weiss  <hdweiss@gmail.com>
10087         * org-mobile.el (org-mobile-edit): Add handling of addheading,
10088         refile, archive, archive-sibling and delete edit nodes.
10089         (org-mobile-locate-entry): Olp links containing only a file are
10090         now be located correctly.
10091         (org-mobile-apply): Instead of finding the location of all target
10092         headings for edit nodes in a separate loop, they will be found
10093         immediately before applying edits.
10095         * org-mobile.el (org-mobile-sumo-agenda-command): Use a shorter
10096         title.
10098 2012-09-30  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
10100         * org.el (org-parse-time-string): Allow strings supported by
10101         tags/properties matcher (eg <now>, <yesterday>, <-7d>) if the time
10102         starts with < and ends with >.  This means that e.g. in the
10103         clocktable parameters you can specify :tstart "<-1w>" :tend
10104         "<now>".
10106 2012-09-30  Ippei FURUHASHI  <top.tuna+orgmode@gmail.com>  (tiny change)
10108         * org-colview.el (org-columns): New argument `columns-fmt-string'.
10110         * org-colview.el (org-columns-get-format-end-top-level):
10111         Split into `org-columns-get-format' and `org-columns-goto-top-level'.
10113         * org-colview.el (org-dblock-write:columnview): Add a new
10114         parameter :format which specifies the column view format for the
10115         output of the columnview dynamic block.
10117 2012-09-30  Jambunathan K  <kjambunathan@gmail.com>
10119         * org-lparse.el (org-lparse-and-open)
10120         (org-lparse-do-convert): Open exported files with system-specific
10121         application.
10123         * org-odt.el: Don't meddle with `org-file-apps'.
10125         * org-compat.el (org-condition-case-unless-debug): Alias to
10126         `condition-case' when both `condition-case-no-debug' and
10127         `condition-case-unless-debug' is unavailable.
10129         * org-odt.el (org-odt-do-image-size): Replace `flet' with
10130         equivalent construct.
10132         * org-odt.el (org-odt-cleanup-xml-buffers):
10133         Use `condition-case-no-debug' instead of
10134         `condition-case-unless-debug'.  This ensures backward
10135         compatibility with Emacs versions < 24.1.
10137         * org-odt.el (org-odt-zip-dir)
10138         (org-odt-cleanup-xml-buffers): New.
10139         (org-export-as-odt-and-open, org-export-as-odt)
10140         (org-odt-init-outfile, org-odt-save-as-outfile)
10141         (org-export-as-odf, org-export-as-odf-and-open):
10142         Use `org-odt-cleanup-xml-buffers'.
10144         * org-odt.el (org-export-odt-default-org-styles-alist):
10145         Add default character style.
10147         * org-odt.el (org-export-odt-default-org-styles-alist):
10148         Add default character style.
10150         * org-lparse.el (org-do-lparse): Remove stray call to
10151         `org-export-html-after-blockquotes-hook'.
10153         * org-bbdb.el (org-bbdb-export): Add support for ODT format.
10155         * org-odt.el (org-odt-update-meta-file): Check for `org-version'
10156         is bound before accessing it.
10158         * org-odt.el (org-odt-schema-dir-list): OD Schema files have been
10159         moved away from $(git-root)/contrib/odt/etc/schema/ to
10160         $(git-root)/etc/schema/.
10162         * org-odt.el (org-odt-format-org-link): Pay no heed to whether the
10163         internal links destined for headlines provide a description or
10164         not.  In fact, the `org-store-link' and `org-insert-link' create
10165         internal links which do have a description.
10167         * org-lparse.el (org-lparse-insert-org-table): Consider short
10168         caption as plain text and not as org text.
10170         * org-odt.el (org-export-odt-format-formula)
10171         (org-export-odt-format-image): Ditto.
10173         * org-odt.el (org-odt-begin-table)
10174         (org-export-odt-format-formula, org-export-odt-format-image)
10175         (org-odt-format-entity): Handle short caption.
10177         * org-lparse.el (org-lparse-insert-org-table)
10178         (org-lparse-insert-list-table, org-lparse-insert-table-table):
10179         Ditto.
10181 2012-09-30  Jay McCarthy  <jay.mccarthy@gmail.com>  (tiny change)
10183         * org-colview.el (org-columns-new-overlay): Make sure to add a
10184         face to a string that has no face.
10186 2012-09-30  Jérémie Courrèges-Anglas  <jca@wxcvbn.org>  (tiny change)
10188         * org-latex.el: Ensure a final newline is appended to the export
10189         buffer.
10191 2012-09-30  Levin Du  <zslevin@gmail.com>  (tiny change)
10193         * org-clock.el (org-clock-in): Fix bug in setting the clock
10194         heading.
10196 2012-09-30  Madan Ramakrishnan  <madanr79@gmail.com>  (tiny change)
10198         * org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as
10199         advertised by the function.
10201 2012-09-30  Mark E. Shoulson  <mark@kli.org>  (tiny change)
10203         * org.el (org-fontify-entities): Hide {} when prettifying
10204         entities.
10206 2012-09-30  Mark Shoulson  <mark@kli.org>  (tiny change)
10208         * org-entities.el (org-entities): Add new entities for characters
10209         which could cause formatting changes if typed directly.
10211         * org-entities.el (org-entities): Add \asciicirc entity for ^;
10212         also fixed \circ expansion in latex.
10214         * org.el (org-fontify-entities): Fix bug: The entities \sup[123]
10215         and \there4 were not "prettified" when org-pretty-entities was
10216         enabled.
10218 2012-09-30  Mats Lidell  <matsl@xemacs.org>  (tiny change)
10220         * org-element.el (org-element-paragraph-separate):
10221         Remove redundant and misplaced t clause in case.
10223 2012-09-30  Matt Lundin  <mdl@imapmail.org>
10225         * org-datetree.el: Fix regexp to allow datetree to find headings
10226         with trailing whitespace.  This fixes a bug in which an existing
10227         datetree heading (e.g., "* 2012 ") would not be found by
10228         org-datetree-find-year-create if it had trailing whitespace.
10229         This can cause problems, for instance, if one is using column view on
10230         the date tree, since editing subheadings with column view adds
10231         whitespace at the end of the top heading.
10233         * org-footnote.el (org-footnote-new): Don't call
10234         org-footnote-unique-label if org-footnote-auto-label is set to
10235         random.
10237         * org-gnus.el (org-gnus-follow-link): Fix argument to
10238         gnus-group-read-group so that following a link does not result in
10239         unread article being selected.
10241         * org-bbdb.el (org-bbdb-anniv-extract-date)
10242         (org-bbdb-make-anniv-hash): Fix org-bbdb anniversary functionality
10243         to accommodate BBDB 3.x.  There are two major changes in BBDB 3.x
10244         that need to be taken into account.  The first is that
10245         `bbdb-split' reverses the order of its parameters in 3.x.
10246         The second is that `bbdb-record-getprop' is replaced by
10247         bbdb-record-note in 3.x.
10249 2012-09-30  Max Mikhanosha  <max@openchat.com>
10251         * org-agenda.el (org-agenda-change-all-lines): Speedup refresh of
10252         a single line of agenda by narrowing the agenda buffer to just
10253         that line before calling `org-agenda-finalize'.
10255         * org.el (org-mode): Don't set org-hide's foreground to
10256         "invisible-bg".
10257         (org-find-invisible-foreground): New function.
10259         * org-agenda.el (defvar org-habit-show-all-today): New variable
10260         (org-agenda-get-scheduled): Show all habits if user wants it
10262         * org-habit.el (defcustom org-habit-show-all-today): New variable
10264         * org-agenda.el (org-agenda-quit): Copy the code for optionally
10265         restoring window configuration after burying the sticky agenda
10266         buffer.
10268         * org-agenda.el (org-agenda-new-marker): Check for NIL
10269         org-agenda-buffer
10270         (org-agenda-to-appt): Bind org-agenda-buffer to NIL
10272         * org-agenda.el (org-agenda-change-all-lines): Move accessing of
10273         'extra text property outside of with-current-buffer for original
10274         buffer
10276         * org-agenda.el (defvar org-habit-show-habits-only-for-today):
10277         initialize to nil
10279 2012-09-30  Michael Brand  <michael.ch.brand@gmail.com>
10281         * org-id.el (org-id-link-to-org-use-id): Align the doc string to
10282         the changed default.
10284         * ob-tangle.el (org-babel-tangle-collect-blocks): Use dummy string
10285         when heading has no text.
10287         * org-capture.el (org-capture-inside-embedded-elisp-p):
10288         Improve parsing.
10290         * org-feed.el (org-feed-format-entry): Require `org-capture'.
10291         Expand Elisp %(...) templates.
10292         (org-feed-default-template): Update docstring.
10294         * org-capture.el (org-capture-expand-embedded-elisp):
10295         New function.
10296         (org-capture-fill-template): Use it.
10297         (org-capture-inside-embedded-elisp-p): New function to tell if we
10298         are within an Elisp %(...) template.
10300         * org-list.el (org-at-item-description-p)
10301         (org-list-item-body-column): Make the inline regexp more
10302         consistent with `org-list-full-item-re', the inline regexp
10303         "Description list items" from `org-set-font-lock-defaults and
10304         others'.
10306 2012-09-30  Mike Sperber  <sperber@deinprogramm.de>
10308         * org.el (org-fill-paragraph): Pass optional argument to
10309         `fill-paragraph' to fix compatibility with XEmacs.
10311         * org.el (org-self-insert-cluster-for-undo):
10312         Default `org-self-insert-cluster-for-undo' also on XEmacs.
10314         * org.el (org-kill-line): Access `visual-line-mode' only if it's
10315         bound.
10317 2012-09-30  Muchenxuan Tong  <demon386@gmail.com>  (tiny change)
10319         * org-timer.el (org-timer-set-mode-line):
10320         Check `org-timer-display' when value is 'off.
10322 2012-09-30  Nicolas Calderon Asselin  <nicolas.calderon.asselin@gmail.com>  (tiny change)
10324         * org-clock.el (org-clock-idle-time): Org-mode assumed that
10325         x11idle was an available command, and returned an idle time of 0
10326         if it was not
10327         (never idle): Added checks so that org-idle-time will come from
10328         emacs' own current-idle-time if x11idle cannot be found or if it
10329         cannot retrieve the idle time from X11
10331 2012-09-30  Nicolas Goaziou  <n.goaziou@gmail.com>
10333         * org-element.el: Properly remove COMMENT and QUOTE keywords from
10334         title in parser.
10336         * org-element.el (org-element-headline-parser): Fix parsing for
10337         headlines with a single COMMENT or QUOTE keyword.
10339         * ob-org.el (org-babel-default-header-args:org): By default,
10340         export code from Org src blocks.
10342         * org-element.el (org-element-inline-src-block-successor):
10343         Fix inline-src-block parsing at the beginning of an item.
10345         * org-element.el (org-element--collect-affiliated-keywords):
10346         Fix caption parsing.
10348         * org-element.el (org-element--current-element): At the very
10349         beginning of a footnote definition or an item, next element is
10350         always a paragraph.
10352         * org-element.el (org-element-headline-parser): Handle nil titles.
10353         (org-element-inlinetask-parser): Add :raw-value property.
10354         Also handle nil titles.
10356         * org.el (org-set-regexps-and-options): Don't consider tags as a
10357         replacement for a missing title in an headline.
10359         * org.el (org-setup-filling): Remove duplicate code.
10361         * org.el (org-adaptive-fill-function): Make sure fill prefix is
10362         computed from beginning of line.
10364         * org-element.el (org-element-section-parser): Make sure section
10365         cannot contain an headline.
10366         (org-element--current-element): Fix bug requiring to parse a quote
10367         section even when point is at an headline.
10369         * org.el (org-adaptive-fill-function): Remove occasional spurious
10370         space character when auto-filling.
10372         * org.el (org-mode): Call external initalizers.  Now both filling
10373         code and comments code have their own independant part in org.el.
10374         (org-setup-filling): Rename from `org-set-autofill-regexps'.
10375         (org-setup-comments-handling): New function.
10377         * org.el (org-fill-paragraph): Refine filling in comments and in
10378         paragraphs.  Allow commented blank lines.  Take into consideration
10379         the indentation of the second line of the paragraph being filled.
10380         (org-comment-or-uncomment-region): Rewrite function.  Now comment
10381         region at a fixed column: the minimal indentation of the region.
10382         (org-fill-context-prefix): Rename function into
10383         `org-adaptive-fill-function'.  Also, In a paragraph, choose the
10384         same prefix as the current line.
10386         * org-exp.el (org-export-handle-comments): Also remove comments at
10387         column 0.
10389         * org-exp.el (org-export-handle-comments): Handle inline comments
10390         with new syntax.
10392         * org.el (org-structure-template-alist): Add missing colon to
10393         #+INCLUDE.
10395         * org.el (org-backward-element): When called at the beginning of
10396         first element in section, the function shouldn't return an error
10397         but move point to headline or point-min instead.
10399         * org-element.el (org-element-paragraph-parser): Tiny refactoring.
10401         * org-element.el (org-element-paragraph-parser): Remove trailing
10402         code comments.
10404         * org.el (org-fill-context-prefix): Fix incorrect output when
10405         called at the beginning of a plain list with an affiliated
10406         keyword.
10407         (org-fill-paragraph): Remove useless variable.
10409         * org-element.el (org-element-paragraph-parser): Fix parsing of
10410         paragraph at the beginning of an item.
10412         * org.el (org-mode): Set back comment-start-skip so comment-dwim
10413         can tell a keyword from a comment.
10415         * org.el (org-set-autofill-regexps): Install new comment line
10416         break function.
10417         (org-comment-line-break-function): New function.
10418         (org-mode): Remove unnecessary line.
10420         * org.el (org-fill-context-prefix, org-fill-paragraph): Do not
10421         fill verse blocks contents.  Verse blocks can be used to format
10422         free-form poetry, so filling has to be done manually.
10424         * org.el (org-fill-paragraph-separate-nobreak-p): New function.
10425         (org-set-autofill-regexps): Introduce new predicate.
10426         (org-fill-item-nobreak-p): Remove function.
10428         * org-element.el (org-element-paragraph-separate): Since this
10429         variable is meant to be searched forward, \end{...} shouldn't
10430         trigger the end of a paragraph before checking if it is the end of
10431         a complete environment.
10432         (org-element-latex-environment-parser): Slight change to the
10433         regexp matching the beginning of a latex environment.
10434         (org-element-paragraph-parser): Paragraphs don't end at incomplete
10435         latex environments.
10436         (org-element-latex-or-entity-successor): Remove paragraph
10437         environments from latex fragment search.
10439         * org-table.el (org-table-number-regexp): By default, accept comma
10440         as a decimal mark to represent numbers.
10442         * org-element.el (org-element-map): Fix comment typo.
10444         * org.el (org-fill-paragraph): Add a `save-excursion' to avoid
10445         returning funny results.
10447         * org.el (org-fill-paragraph): Try not to include message header
10448         and citation lines in a paragraph when filling it.
10450         * org.el (org-fill-paragraph): Fix filling in a narrowed buffer.
10451         (org-fill-context-prefix): Fill prefix doesn't depend on current
10452         narrowing.
10454         * org.el (org-mode): Line with a single hash sign on it is a
10455         comment.
10457         * org.el (org-set-font-lock-defaults): Fix comment fontification.
10459         * org-element.el (org-element-item-parser): Do not remove tag from
10460         body if list isn't descriptive.
10462         * org-list.el (org-insert-item): Only ask about a term for
10463         descriptive lists.
10464         (org-list-struct, org-list-insert-item): Do not recognize a tag in
10465         an ordered list.
10467         * org-element.el (org-element-set-element): Rewrite function.
10468         (org-element-adopt-elements): New function.
10469         (org-element-adopt-element): Remove function.
10470         (org-element--parse-elements, org-element--parse-objects): Use new
10471         function.
10473         * org-list.el (org-list-automatic-rules): Remove `bullet' rule,
10474         which is now hard-coded.
10475         (org-cycle-list-bullet): Hard code `bullet' rule.
10476         (org-list-get-list-type): Make sure a list with numbered bullets
10477         cannot have `descriptive' type.
10479         * org-element.el (org-element-paragraph-parser): Fix previous
10480         patch.
10482         * org.el (org-fill-paragraph): No need to use
10483         `org-element-paragraph-separate' in a verse block since blank
10484         lines only can end a "paragraph".
10486         * org-element.el (org-element-paragraph-separate): Apply changes
10487         to comments.
10488         (org-element-paragraph-parser): Correctly find end of paragraphs.
10489         (org-element--current-element): Require colons for Babel calls.
10490         (org-element-center-block-parser)
10491         (org-element-dynamic-block-parser, org-element-quote-block-parser)
10492         (org-element-special-block-parser)
10493         (org-element-comment-block-parser)
10494         (org-element-example-block-parser)
10495         (org-element-export-block-parser, org-element-src-block-parser)
10496         (org-element-verse-block-parser): Fall-back to paragraph parsing
10497         when incomplete or ill-formed.
10499         * org-element.el (org-element-swap-A-B): Small refactoring.
10501         * org-element.el (org-element-text-markup-successor): Fix typo in
10502         docstring.
10504         * org-element.el (org-element-at-point): Return consistent value
10505         when function is called on a blank line within a plain list.
10507         * org-element.el (org-element-paragraph-separate): Fix comments in
10508         paragraph separator regexp.  Optimize it.
10510         * org-element.el: Update code commets.
10512         * org.el (org-mark-subtree): Fix bug when marking subtree with
10513         point on an inlinetask.  Refactor code.
10515         * org.el (org-mark-subtree): Do not make a special case for
10516         inlinetasks when marking a subtree.  These are handled by
10517         `org-element-mark-element'.
10519         * org-element.el (org-element-comment-parser): Consider first "+"
10520         as a comment when parsing an ill-defined keyword.
10522         * org-element.el (org-element-item-interpreter): Simplify bullet
10523         creation.
10524         (org-element-plain-list-interpreter): Fix wrong bullets, if
10525         needed.
10527         * org-element.el (org-element-comment-parser): Fix parsing when a
10528         keyword follows the commented line.
10530         * org.el (org-fill-context-prefix): Auto-fill first paragraph in
10531         footnote definitions.
10533         * org.el (org-mode): Define new comment syntax.
10534         (org-fontify-meta-lines-and-blocks-1, org-strip-protective-commas)
10535         (org-fill-context-prefix, org-insert-comment)
10536         (org-comment-or-uncomment-region): Use new comment syntax.
10538         * org-element.el (org-element-comment-parser)
10539         (org-element-comment-interpreter, org-element--current-element):
10540         Use new comment syntax.
10542         * org.el (org-fill-paragraph): When at an item or a footnote
10543         definition, fill first paragraph instead.
10545         * org.el (org-fill-paragraph): Fix filling when point is at the
10546         very end of a paragraph.
10548         * org.el (org-mode): Set comments related variables.
10549         (org-insert-comment, org-comment-or-uncomment-region):
10550         New functions.
10552         * org.el (org-fill-context-prefix): Small refactoring.
10553         (org-fill-paragraph): Add code comments.
10555         * org-element.el (org-element-at-point): Add :parent property to
10556         output.
10557         (org-element-context): Add :parent property to output.
10558         Also return a single element or object instead of a list of parents.
10559         (org-element-forward, org-element-up): Apply changes.
10561         * org.el (org-fill-context-prefix): New function.
10562         (org-fill-paragraph, org-auto-fill-function): Use new function.
10563         Also handle comments.
10564         (org-adaptive-fill-function): Remove function.
10565         (org-get-local-variables, orgstruct++-mode): Don't store now
10566         unused adaptive-fill* functions.
10568         * org-element.el (org-element-at-point): Fix function when buffer
10569         starts with an inlinetask.  Also fix it when called on the last
10570         element in a greater element or the buffer.
10572         * org-element.el (org-element-center-block-parser)
10573         (org-element-dynamic-block-parser)
10574         (org-element-footnote-definition-parser)
10575         (org-element-headline-parser, org-element-inlinetask-parser)
10576         (org-element-quote-block-parser, org-element-special-block-parser)
10577         (org-element-plain-list-parser): Refactor code.
10578         (org-element-drawer-parser): Fall-back to paragraph parser when
10579         drawer is incomplete.
10581         * org-macs.el (org-with-limited-levels): Fix typo.
10583         * org-element.el (org-element-paragraph-separate): Refactor.
10584         (org-element-paragraph-parser): Fix paragraph parsing.
10586         * org.el (org-fill-paragraph): Rewrite function using
10587         `org-element-at-point'.
10589         * org-element.el (org-element-fill-paragraph): Remove function.
10591         * org.el (org-planning-or-clock-line-re): Make it a defconst.
10592         It's no use to make it a buffer-local variable since variables on
10593         which it depends are not buffer-local anyway.
10595         * org.el (org-drawer-regexp): Provide default value for
10596         `org-drawer-regexp' in non-Org buffers.
10598         * org-entities.el (org-entities-create-table): Function chokes
10599         when CAR of `org-entities' is a string.
10601         * org-list.el (org-list-automatic-rules): Allow check-boxes in
10602         description lists.
10603         (org-list-struct-apply-struct, org-insert-item): Remove rule
10604         check.
10606         * org-footnote.el (org-footnote-normalize): Fix positionning in
10607         HTML export without a footnote section.
10609         * org-list.el (org-list-struct-indent):
10610         Follow `org-list-demote-modify-bullet' specifications for ordered
10611         bullets.
10612         (org-list-indent-item-generic, org-indent-item-tree)
10613         (org-outdent-item-tree): Fix bug when operating on a region.
10614         (org-outdent-item, org-indent-item): Allow to operate on a region.
10616         * org.el (org-shiftmetaleft, org-shiftmetaright): Allow to operate
10617         on a region.
10619         * org-footnote.el (org-footnote-delete-definitions): Remove blank
10620         lines before the footnote definition instead of removing those
10621         after it.
10623         * org-footnote.el (org-footnote-at-definition-p): Don't grab
10624         trailing blank lines in a footnote definition.
10625         (org-footnote-delete-definitions): Remove both footnote definition
10626         and trailing blank lines.
10628 2012-09-30  Rick Frankel  <rick@rickster.com>
10630         * ob-sql.el: Add dbi engine type and pre/post processing.
10632 2012-09-30  Sean O'Halpin  <sean.ohalpin@gmail.com>  (tiny change)
10634         * ob.el (org-babel-expand-noweb-references): Capture current noweb
10635         start and end patterns then use to set buffer locals in
10636         (with-temp-buffer) form.
10638 2012-09-30  Sebastien Vauban  <sva@mygooglest.com>  (tiny change)
10640         * org.el (org-update-all-dblocks): Autoload function.
10642 2012-09-30  Simon Thum  <simon.thum@gmx.de>  (tiny change)
10644         * ob-maxima.el (org-babel-execute:maxima): Let cmdline always
10645         return a string.
10647 2012-09-30  Stephen Eglen  <S.J.Eglen@damtp.cam.ac.uk>  (tiny change)
10649         * org-icalendar.el (org-icalendar-timezone): Fix typo and clarify
10650         meaning.
10652 2012-09-30  Stuart Hickinbottom  <stuart@hickinbottom.com>  (tiny change)
10654         * org-clock.el (org-x11idle-exists-p): Only shell out when running
10655         on X.
10657 2012-09-30  Suhail Shergill  <suhailshergill@gmail.com>  (tiny change)
10659         * org-html.el (org-export-as-html): If possible, use the
10660         :CUSTOM_ID: property to assign unique ids to footnotes.
10662 2012-09-30  T.F. Torrey  <tftorrey@tftorrey.com>  (tiny change)
10664         * org-exp.el (org-export-remember-html-container-classes):
10665         Allow exporting a single subtree with HTML_CONTAINER_CLASS property.
10667         * org-rmail.el (org-rmail-follow-link): Use `rmail-widen' instead
10668         of `widen' and don't toggle header as `rmail-widen' already takes
10669         care of this.
10671 2012-09-30  Tim Howe  <vsync@quadium.net>  (tiny change)
10673         * org-clock.el (org-clocktable-defaults): Revert extra layer of
10674         quoting.
10676 2012-09-30  Toby S. Cubitt  <tsc25@cantab.net>
10678         * org-capture.el (org-capture-fill-template): Expand %<num> escape
10679         sequences into text entered for <num>'th %^{PROMPT} escape.
10681         * org-capture.el (org-capture-fill-template): Fix regexp for
10682         %<n> expandos to match any positive integer.
10683         (org-capture-templates): Update docstring accordingly.
10685         * org-agenda.el (org-agenda-skip-timestamp-if-deadline-is-shown):
10686         Skip timestamp items in agenda view if item is already shown as a
10687         deadline item.
10688         (org-agenda-skip-deadline-if-done): Pass deadline results to
10689         org-agenda-get-timestamps.
10690         (org-agenda-get-timestamps): Optionally take list of deadline
10691         results, so that timestamp results can be skipped if already
10692         included in deadline results.
10694         * org-agenda.el (org-agenda-diary-sexp-prefix): Regexp matching
10695         deadline/scheduling information to be displayed in diary sexp
10696         agenda items.
10697         (org-agenda-get-sexps): Extract deadline/scheduling information
10698         from diary sexp entries.
10700         * org-capture.el (org-capture-place-entry): Place captured entry
10701         immediately after last subheading of target, instead of just
10702         before next heading at same level as target.
10704         * org-capture.el (org-capture-templates): Document new capture
10705         template properties.
10707         * org-capture.el (org-capture-place-entry)
10708         (org-capture-empty-lines-before): Make new :empty-lines-before
10709         property override :empty-lines when inserting empty lines before
10710         captured captured entry.
10712         * org-capture.el (org-capture-finalize)
10713         (org-capture-empty-lines-after): Make new :empty-lines-after
10714         property override :empty-lines when inserting empty lines after
10715         captured captured entry.
10717         * org-agenda.el (org-agenda-skip-if, org-agenda-skip-if-todo):
10718         Add new todo-unblocked and nottodo-unblocked skip conditions.
10719         These match as for todo and nottodo, but only for unblocked todo items.
10721 2012-09-30  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
10723         * org.el (org-read-date-display): Fix bug when displaying the
10724         overlay.
10726 2012-09-30  Niels Giesen  <niels.giesen@gmail.com>
10728         * org-table.el (orgtbl-to-generic): Add check for :skipheadrule.
10729         When present, the :hline following the head will be skipped.
10730         This is necessary to avoid doubling of horizontal rules in LaTeX
10731         longtable environments and consequent width problems.
10733         * org-latex.el (org-export-latex-tables-tstart)
10734         (org-export-latex-tables-hline)
10735         (org-export-latex-tables-tend): New options.
10736         (org-export-latex-tables): Use the new options.
10738 2012-09-30  Feng Shu  <tumashu@gmail.com>  (tiny change)
10740         * org-exp.el (org-export-language-setup): Add simplified chinese
10741         translation.
10743 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
10745         Better seed support for (random).
10746         * org-id.el (org-id-uuid):
10747         Change (random t) to (random), now that the latter is more random.
10749 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
10751         Don't use the abbreviation "win" to refer to Windows (Bug#10421).
10752         * ob-lilypond.el (ly-w32-ly-path): Rename from ly-win32-ly-path.
10753         (ly-w32-pdf-path): Rename from ly-win32-pdf-path.
10754         (ly-w32-midi-path): Rename from ly-win32-midi-path.
10755         (ly-determine-ly-path, ly-determine-pdf-path, ly-determine-midi-path):
10756         Check for "windows-nt", not "win32", in system-type.
10758 2012-06-02  Chong Yidong  <cyd@gnu.org>
10760         * org-clock.el (org-clock-string-limit)
10761         (org-clock-modeline-total, org-clock-task-overrun-text)
10762         (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
10764 2012-05-27  Mark Shoulson  <mark@kli.org>  (tiny change)
10766         * org.el (org-fontify-entities): Fix bug: The entities \sup[123] and
10767         \there4 were not "prettified" when org-pretty-entities was enabled.
10769 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10771         * org.el (org-font-lock-add-priority-faces):
10772         Restrict priorities fontification to headlines and inlinetasks.
10774 2012-05-27  Jambunathan K  <kjambunathan@gmail.com>
10776         * org-odt.el (org-odt-init-outfile)
10777         (org-odt-write-manifest-file):
10778         Disable `nxml-auto-insert-xml-declaration-flag'.
10780         * org-lparse.el (org-do-lparse): Don't trigger auto-mode processing.
10782 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10784         * org.el (org-scan-tags): Fix bug when building the scanner regexp.
10786 2012-05-27  Eric Schulte  <eric.schulte@gmx.com>
10788         * ob.el (org-babel-capitalize-examplize-region-markers):
10789         Controls the capitalization of begin and end example blocks.
10790         (org-babel-examplize-region):
10791         Optionally capitalize example block delimiters.
10793         * ob-plantuml.el (org-babel-execute:plantuml):
10794         Add a :java header argument to plantuml.
10796         * org-exp-blocks.el (org-export-blocks-preprocess):
10797         Even when the body of a block is not indented the boundary markers
10798         should be indented to their original positions so things like list
10799         indentation still work.
10801         * ob.el (org-babel-parse-src-block-match):
10802         Save match data during indentation check.
10804 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10806         * org.el (org-scan-tags): Correctly match TODO keywords.
10808 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10810         * org-list.el (org-list-struct): Fix white spaces.
10811         (org-list-swap-items, org-list-send-item): Fix visibility preservation.
10813         * org-list.el (org-list-swap-items, org-list-send-item):
10814         Preserve visibility when moving items.
10816 2012-05-27  Mark E. Shoulson  <mark@kli.org>  (tiny change)
10818         * org.el (org-fontify-entities): Hide {} when prettifying entities.
10820 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10822         * org.el (org-cycle-internal-global): Prevent the display of
10823         messages when cycling from with a Gnus article buffer.
10825         * org-table.el (org-table-time-seconds-to-string):
10826         Fix bug about handling a negative duration value.
10828 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10830         * org.el (org-link-expand-abbrev): Fix docstring.
10832         * org.el (org-translate-link): Fix bug.
10834 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10836         * org-agenda.el (org-agenda-bulk-mark-regexp):
10837         Fix bug when setting the number of marked entries.
10839         * org-table.el (org-tbl-calc-modes): Rename from `org-table-modes'.
10840         (org-set-calc-mode, org-table-eval-formula): Use it.
10842 2012-05-27  Eric Schulte  <eric.schulte@gmx.com>
10844         * ob.el (org-babel-find-named-result):
10845         Fix bug finding empty named results.
10847 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10849         * org.el (org-set-regexps-and-options):
10850         Fix `org-planning-or-clock-line-re' regexp.  Indeed "\\>" will never
10851         match since time keywords must end with colons, which are not word
10852         constituents.
10854 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10856         * org-ctags.el (org-ctags-new-topic-template):
10857         Fix the option default value back again.
10859 2012-05-27  Eric Schulte  <eric.schulte@gmx.com>
10861         * org-bibtex.el (org-bibtex-export-to-kill-ring):
10862         Don't rely on kill-new to return a string.
10864         * org-bibtex.el (org-bibtex-headline):
10865         Remove call to bibtex-reformat which often hangs.
10867 2012-04-27  Glenn Morris  <rgm@gnu.org>
10869         * org-ctags.el (org-ctags-new-topic-template):
10870         Revert 2012-04-09 removal of * from defcustom value, not doc.
10872 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10874         * org-table.el (org-table-number-fraction): Fix typo.
10876 2012-04-27  Eric Schulte  <eric.schulte@gmx.com>
10878         * ob-python.el (org-babel-execute:python): Ensure newline precedes
10879         automatically-added returns.
10881 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10883         * org-mouse.el (org-mode-hook): Do not move point when clicking on
10884         a footnote reference.
10886 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10888         * org-faces.el (org-date-selected): Fix docstring.
10890 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10892         * org-list.el (org-list-struct-indent):
10893         Follow `org-list-demote-modify-bullet' specifications for ordered
10894         bullets.
10895         (org-list-indent-item-generic, org-indent-item-tree)
10896         (org-outdent-item-tree): Fix bug when operating on a region.
10897         (org-outdent-item, org-indent-item): Allow to operate on a region.
10899         * org.el (org-shiftmetaleft, org-shiftmetaright): Allow to operate
10900         on a region.
10902 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10904         * org-footnote.el (org-footnote-normalize): Fix positioning in
10905         HTML export without a footnote section.
10907 2012-04-27  Madan Ramakrishnan  <madanr79@gmail.com>  (tiny change)
10909         * org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as
10910         advertised by the function.
10912 2012-04-27  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
10914         * org.el (org-read-date-display): Fix bug when displaying the
10915         overlay.
10917 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10919         * org.el (org-mode): Don't use `buffer-face-mode' by default.
10921 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10923         * org-faces.el (org-date-selected): New face.
10925 2012-04-27  Jambunathan K  <kjambunathan@gmail.com>
10927         * org-odt.el (org-odt-format-org-link): Pay no heed to whether the
10928         internal links destined for headlines provide a description or
10929         not.  In fact, the `org-store-link' and `org-insert-link' create
10930         internal links which do have a description.
10932 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10934         * org-clock.el (org-program-exists): Fix docstring.
10936 2012-04-14  Bastien Guerry  <bzg@gnu.org>
10938         * org.el (org-point-at-end-of-empty-headline): Only try to match
10939         `org-todo-line-regexp' when the value is non-nil, e.g. in non-org
10940         modes.
10941         (org-fontify-meta-lines-and-blocks-1): Prevent errors when trying
10942         to fontify beyond (point-max).
10944         * org-clock.el (org-clock-task-overrun-text)
10945         (org-task-overrun, org-clock-get-clock-string)
10946         (org-clock-update-mode-line)
10947         (org-clock-notify-once-if-expired): Rename `org-task-overrun'
10948         and `org-task-overrun-text' to `org-clock-task-overrun' and
10949         `org-clock-task-overrun-text' respectively.
10950         (org-task-overrun-text): New alias.
10952         * org-table.el (org-table-eval-formula): Fix bug about handling
10953         remote references as durations.
10954         (org-table-get-range): Fix bug: make sure references to $0 are
10955         correctly handled.
10957         * org-pcomplete.el (pcomplete/org-mode/file-option):
10958         Fix bug in `pcomplete/org-mode/file-option'.
10959         (org-thing-at-point): Also match line options like LATEX_CLASS
10960         when pcompleting from LATEX_.
10962         * org-agenda.el (org-agenda-filter-make-matcher)
10963         (org-agenda-filter-apply): Allow filtering entries out by
10964         category.  Using `C-u <' from the agenda view will redisplay
10965         the agenda without entries from categories of the current line.
10967 2012-04-14  Eric Schulte  <eric.schulte@gmx.com>
10969         * ob-C.el (org-babel-C-ensure-main-wrap):
10970         Add an explicit return to automatically generated main methods.
10972 2012-04-14  Matt Lundin  <mdl@imapmail.org>
10974         * org.el (org-after-todo-state-change-hook):
10975         Fix docstring to reflect name change of state to `org-state'.
10977 2012-04-14  Mike Sperber  <sperber@deinprogramm.de>  (tiny change)
10979         * org-footnote.el (org-footnote-normalize):
10980         Correctly pass keyword arguments to `org-export-preprocess-string'.
10982 2012-04-03  Bastien Guerry  <bzg@gnu.org>
10984         * org.el (org-todo): Fix regression: rename `state' to
10985         `org-state'.
10986         (org-use-effective-time): Fix group and type.
10988 2012-04-02  Bastien Guerry  <bzg@gnu.org>
10990         * org-clock.el (org-clock-out-if-current): Fix regression: rename
10991         `org-clock-state' to `org-state' to match the name of the
10992         dynamically-scoped variable in `org-todo'.
10994         * org-agenda.el (entry, org-diary, org-class): Fix regression:
10995         rename `org-entry' to `entry'.
10997 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10999         * org.el (org-todo): Fix regression in `org-todo'.
11001 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11003         * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled
11004         C files on windows.
11006 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11008         * ob-exp.el (org-babel-exp-code): Escape all lines when exporting
11009         Org-mode blocks.
11011         * ob.el (org-babel-parse-src-block-match): Make use of the new
11012         language argument to org-babel-strip-protective-commas.
11013         (org-babel-parse-inline-src-block-match): Make use of the new
11014         language argument to org-babel-strip-protective-commas.
11015         (org-babel-strip-protective-commas): Now accepts a language
11016         argument.
11018 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11020         * org.el (org-fast-tag-selection): Fix an bug when listing tags
11021         for completion.
11023 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11025         * org.el (org-delete-property-globally): Fix a bug that left
11026         blank line in place of the property, instead of removing the line.
11028 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11030         * ob-maxima.el (org-babel-maxima-command): Add group information
11031         to the defcustom.
11033 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11035         * org.el (org-mode): Use `buffer-face-mode' to remap the 'default
11036         face to 'org-default.
11038 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11040         * org-ascii.el (org-export-as-ascii): Fix escaping of underscores
11041         in links.
11043 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11045         * org.el: Prevent a bug while defining the menu by requiring
11046         `org-beamer' when necessary.
11048 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11050         * org-table.el (orgtbl-self-insert-command):
11051         Use `backward-delete-char' instead of `delete-backward-char' as this
11052         last command gets caught by the compiler which says to not use it
11053         in programs.  `backward-delete-char' is just an alias for
11054         `delete-backward-char' which is internally remapped to
11055         `org-delete-backward-char' for optimization purpose.
11057 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11059         * org-latex.el (org-export-latex-subcontent): Bugfix: when
11060         `org-export-latex-low-levels' is nil, do not export low levels.
11062 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11064         * ob.el (org-babel-insert-result): Fix bug in indented wrapped
11065         results insertion.
11067 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11069         * org.el (org-set-tags): Include `org-tag-alist' in the list of
11070         possible completions, even when there are tags defined in the
11071         buffer.
11073 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11075         * org.el (org-set-tags): Don't add a column when there is only one
11076         tag offered for completion.
11078 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11080         * org.el (org-fast-tag-selection): Include tags from
11081         `org-tag-alist' when completing with the TAB key.
11083 2012-04-01  Shoji Nishimura  <nishimura.shoji@gmail.com>  (tiny change)
11085         * org.el (org-display-inline-images): Honor the ̀beg' parameter.
11087 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11089         * org-latex.el (org-export-latex-subcontent): Don't insert a
11090         linebreak when itemizing a subtree that is just a headline.
11092 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11094         * ob-lob.el (org-babel-lob-get-info): Remove extra []s when
11095         parsing inline call_foo lines.
11097 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11099         * ob-maxima.el (org-babel-maxima-command): The maxima command used
11100         should be configurable (defaults to maxima-command if defined).
11101         (org-babel-execute:maxima): The maxima command used should be
11102         configurable (defaults to maxima-command if defined).
11104 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11106         * ob-C.el (org-babel-C-execute): Add the local directory to the
11107         library search path for C/C++ block compilation.
11109 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11111         * ob.el (org-babel-where-is-src-block-result): Don't truncate
11112         results name on call line execution.
11114 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11116         * org-colview.el (org-columns-cleanup-item): Handle case of empty
11117         headline.
11119 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11121         * org-footnote.el (org-footnote-delete-definitions): Fix LaTeX
11122         export error when a src block produces fake footnotes.
11124 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11126         * org.el (org-read-date): Don't mention `parse-time-weekdays' and
11127         `parse-time-months' in the docstring.
11129 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11131         * org-agenda.el (org-agenda-filter-apply): Bugfix: Add let
11132         binding.
11134 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11136         * org-colview.el (org-columns-compute): Also consider inline tasks
11137         when computing the sum.
11139 2012-04-01  Thomas Morgan  <tlm@ziiuu.com>  (tiny change)
11141         * org-habit.el (org-habit-insert-consistency-graphs):
11142         Fix alignment of consistency graph in filtered agenda view.
11144 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11146         * org-latex.el (org-export-as-latex): Fix bug in setting the
11147         export directory according to the LaTeX options.
11149 2012-04-01  K.Nagashima  <uni.naga@gmail.com>  (tiny change)
11151         * org.el (org-show-subtree): Make interactive.
11153 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>
11155         * org-clock.el (org-clock-get-table-data): Make sure todo-only
11156         does not leak when it is set by make-org-tags-macher.
11158 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11160         * org.el (org-cycle-internal-local): Don't try to hide drawers
11161         within subtrees in this function, it slows cycling down.
11163 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11165         * org-agenda.el (org-agenda-custom-commands-local-options):
11166         Fix incorrect custom option definition.
11168 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11170         * org-colview.el (org-columns-display-here): Bugfix: use the date
11171         as the value for the ITEM column when displaying a summary.
11173 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11175         * ob-lilypond.el: Re-direct homepage to Worg.
11177 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11179         * ob-lilypond.el: Leave versioning to Org.
11181 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11183         * ob-lilypond.el: Fix compiler warning.
11185 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11187         * org-odt.el (org-odt-format-entity-caption): Enumerate entities
11188         that have either a caption or a label.
11189         (org-odt-label-styles, org-odt-category-map-alist): Add a
11190         separator between sequence number and caption.  Introduced two
11191         new label styles for handling of math formula and math label.
11192         (org-odt-format-label-definition)
11193         (org-export-odt-format-formula): Propagate above changes.
11195 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11197         * org.el (org-enforce-todo-dependencies): Fix docstring.
11199 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11201         * org-odt.el (org-export-odt-category-strings): New custom
11202         variable.
11203         (org-odt-category-map-alist): Modify interpretation.
11204         Don't use the same field to double up as both a OpenDocument
11205         variable and a category string.  Entries in this list now
11206         specify only the OpenDocument variable.  Category strings are
11207         obtained through an indirect lookup of
11208         `org-export-odt-category-strings'.  Use same OpenDocument
11209         variables as what LibreOffice uses for various entities.
11210         Fix docstring.
11211         (org-odt-add-label-definition)
11212         (org-odt-format-label-definition)
11213         (org-odt-format-label-reference): Propagate above changes.
11215 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11217         * org-latex.el (org-export-as-latex): Check TeX-master correctly.
11219 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11221         * org-odt.el (org-odt-category-map-alist): Update docstring.
11222         (org-export-odt-user-categories)
11223         (org-export-odt-get-category-from-label)
11224         (org-odt-get-label-category-and-style): Remove.
11225         (org-odt-add-label-definition): Propagate above changes.
11227 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11229         * org.el (org-refile): Don't allow creation of parents when using
11230         the refile command to go to a headline.
11232 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11234         * org-odt.el (org-odt-format-org-link): Resolve links to headlines
11235         as section numbers only if section numbering is on.
11237 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11239         * org.el (format-spec): Require 'format-spec.
11241 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11243         * org-latex.el (org-export-as-latex): Fix TeX-master declaration.
11245 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11247         * org.el (org-imenu-get-tree): Check that looking-at succeeds
11248         before using match results.
11250 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11252         * org-exp-blocks.el (org-ditaa-jar-path): Make a defcustom.
11254 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11256         * org-lparse.el (org-do-lparse): Make effective setting of
11257         `org-export-headline-levels' available to the ODT exporter.
11258         Also remove some stale comments.
11260 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11262         * org-odt.el (org-odt-begin-toc): Handle named HTML entities in
11263         per-language string for "Table Of Contents".
11265 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11267         * org-exp-blocks.el (org-ditaa-jar-path): Fix merge conflict.
11269 2012-04-01  Shaun Johnson  <shaun@slugfest.demon.co.uk>  (tiny change)
11271         * org-exp-blocks.el (org-ditaa-jar-path): Better heuristic to find
11272         the libary name.
11274 2012-04-01  Suvayu Ali  <fatkasuvayu+linux@gmail.com>
11276         * org-src.el (org-edit-src-code): Change let bind to let*, e.g. if
11277         case-fold-search is bound to nil globally, the
11278         (case-fold-search t) doesn't work until we get to the body.
11280 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11282         * org-latex.el (org-export-latex-tables): Allow to use
11283         sidewaystable.
11285 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11287         * ob.el (org-babel-expand-noweb-references): Fix bug in src name
11288         regexp when using *org-babel-use-quick-and-dirty-noweb-expansion*.
11290 2012-04-01  David Maus  <dmaus@ictsoc.de>
11292         * org.el (org-scan-tags): Require one or more spaces (+) between
11293         keyword and headline.
11295 2012-04-01  David Maus  <dmaus@ictsoc.de>
11297         * org-agenda.el (org-prepare-agenda): Don't reset
11298         `org-done-keywords-for-agenda' when `org-agenda-multi'.
11300 2012-04-01  Thomas Morgan  <tlm@ziiuu.com>  (tiny change)
11302         * org-habit.el (org-habit-insert-consistency-graphs): Fix bug
11303         while inserting habit graph in the agenda buffer.
11305 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11307         * org-src.el (org-src-edit-buffer-p): New function.
11309 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11311         * org-agenda.el (org-agenda-skip-if): Fix the order conditions are
11312         being checked.  Also enhance the docstring a bit.
11314 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11316         * org-agenda.el (org-agenda-tree-to-indirect-buffer): Fix the
11317         display of indirect agenda window.
11319 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11321         * org.el (org-create-formula-image, org-dvipng-color): Fix XEmacs
11322         compatibility bug.
11324 2012-04-01  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
11326         * org-clock.el (org-clock-get-table-data): Bind org-scanner-tags
11327         to tags-list and org-trust-scanner-tags to t while evaluating the
11328         matcher, since the matcher is always evaluated at the current
11329         entry.
11331 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11333         * org.el (org-scan-tags): Bind org-trust-scanner-tags to t while
11334         evaluating the matcher, since the matcher is always evaluated at
11335         the current entry.
11337 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11339         * ob-lilypond.el (ly-compile-lilyfile): Fix misplaced comma in a
11340         quoting expression.
11342 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11344         * ob.el (org-babel-merge-params): Add "eval" as acceptable noweb
11345         argument.
11346         (org-babel-noweb-p): The "eval" argument only expands during
11347         evaluation.
11349 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11351         * ob.el (org-strip-protective-commas): Declared.
11353         * org-agenda.el (org-agenda-filtered-by-category): Declared.
11354         (org-agenda-filter-apply): Capture free variable.
11356         * org-footnote.el (org-skip-whitespace): Declared.
11358         * org-mobile.el (org-agenda-filter): Declared.
11360         * org-src.el (org-strip-protective-commas): Declared.
11362 2012-04-01  Sebastien Vauban  <sva@mygooglest.com>  (tiny change)
11364         * org.el (org-version): Add autoload cookie.
11366 2012-04-01  David Maus  <dmaus@ictsoc.de>
11368         * org-attach.el (org-attach-store-link-p): Remove spurious quote
11369         in customization form choice.
11371 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11373         * ob-sh.el (org-babel-execute:sh): Pass all params to subroutine.
11374         (org-babel-sh-evaluate): Apply :shebang and :padline to shell script
11375         execution.
11377 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11379         * ob.el (org-babel-insert-result): Ensure correct order for empty
11380         result wrapping blocks.
11382 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11384         * ob-lilypond.el: Make auditioning of midi and pdf asynchronous,
11385         and add easy pdf generation in the form of `ly-gen-pdf' variable.
11387 2012-04-01  Deech  <deech@deech-ThinkPad-X200.none>  (tiny change)
11389         * ob-tangle.el (org-babel-spec-to-string): The link generated by
11390         org-store-link is escaped twice when tangling with ":comments yes"
11391         flag.
11393 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11395         * org-html.el (org-export-as-html): Remove another useless space
11396         before tag.
11398 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11400         * org-html.el (org-export-as-html): Remove another useless space
11401         before tag.
11403 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11405         * org-html.el (org-export-as-html): Remove useless space before
11406         tag.
11408 2012-04-01  Sebastien Vauban  <sva@mygooglest.com>  (tiny change)
11410         * org.el (org-version): Add autoload cookie.
11412 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11414         * org.el (org-get-category): Save match data.
11416 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11418         * ob-tangle.el (org-babel-tangle): Don't prompt for a file name if
11419         :tangle is specified.
11421         * ob.el (org-babel-expand-noweb-references): Widen buffer when
11422         expanding noweb references.
11424 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11426         * ob-table.el (sbe): Don't accidentally leave a `t' value when
11427         variables are force interpreted as strings.
11429 2012-04-01  David Maus  <dmaus@ictsoc.de>
11431         * org-bbdb.el (org-bbdb-open, org-bbdb-open-old)
11432         (org-bbdb-open-new): Pass record name to avoid dynamic scoping.
11434 2012-04-01  David Maus  <dmaus@ictsoc.de>
11436         * org-bbdb.el (bbdb-record-get-field, bbdb-search-name)
11437         (bbdb-search-organization): Declare functions to silence byte
11438         compiler.
11440 2012-04-01  Bernt Hansen  <bernt@norang.ca>
11442         * org.el (org-clone-subtree-with-time-shift): Fix task cloning for
11443         repeating tasks using .+n and ++n syntax.
11445 2012-04-01  Karl Fogel  <kfogel@red-bean.com>  (tiny change)
11447         * org-agenda.el (org-agenda-highlight-todo): Handle the case of a
11448         heading that has a date but no todo keyword.
11450 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11452         * ob.el (org-babel-find-named-result): Fix code block replacement
11453         with results.
11455 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11457         * org-footnote.el (org-footnote-normalize): Do not normalize
11458         labels when sort-only is non-nil.
11460 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11462         * org-footnote.el (org-footnote-normalize): Remove an useless part
11463         of the function.
11464         (org-insert-footnote-reference-near-definition): Remove function.
11466 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11468         * org-footnote.el (org-footnote-normalize): Fix normalization of
11469         inline footnotes with no footnote section.
11471 2012-04-01  David Maus  <dmaus@ictsoc.de>
11473         * org-bbdb.el (org-bbdb-old): Replace `defvar' after loading 'bbdb
11474         to check for old or new version by a check for the required
11475         function in `org-bbdb-open' and `org-bbdb-store-link'.
11476         (org-bbdb-store-link, org-bbdb-open): Check which version of bbdb is
11477         to be used.
11479 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11481         * ob.el (org-babel-find-named-result): Don't miss a code block
11482         when there are confounding spaces after the result name.
11484 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11486         * ob-lob.el (org-babel-block-lob-one-liner-regexp): Less greedy
11487         regular expressions.
11488         (org-babel-inline-lob-one-liner-regexp): Less greedy regular
11489         expressions.
11491 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11493         * ob.el (org-babel-examplize-region): Fix bug in examplization.
11495 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11497         * org.el (org-link-search): Search for #+name affiliated keywords
11498         and invisible targets.
11500 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11502         * org-lparse.el (org-lparse-end-footnote-definition): Cleanup
11503         newlines in a transcoded footnote definition.  This ensures that
11504         the line that is currently being processed by `org-do-lparse' loop
11505         doesn't get broken up into multiple lines.  Fix for the following
11506         bug -
11508 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11510         * org-footnote.el (org-footnote-normalize): Force a paragraph
11511         break after the last footnote definition.  This is an an implicit
11512         assumption made by the org-lparse.el library.  With this change,
11513         footnote definitions can reliably be exported with ODT backend.
11514         See http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg01013.html.
11516 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11518         * ob-ditaa.el (org-ditaa-jar-path): Fix a recursive load error.
11520 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11522         * org-list.el (org-list-struct): Fix small bug introduced by
11523         commit 8b7a3f249803aba612f9ad3ae50c2fc986247da4 in Org's git repo.
11525 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11527         * ob-ditaa.el (org-ditaa-jar-path): Already defined in
11528         org-exp-blocks.el.
11530         * org-exp-blocks.el (org-ditaa-jar-path): Declare appropriately
11531         for the fact that this is really now a Babel thing -- even if it
11532         is used here and the definition should remain here for reasons of
11533         load dependencies.
11535 2012-04-01  David Maus  <dmaus@ictsoc.de>
11537         * org-bbdb.el (org-bbdb-old): Wrap `defvar' so the variable gets
11538         defined after bbdb was loaded.
11540 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11542         * org-latex.el (org-export-latex-tables): Don't add spurious
11543         preceding newline if caption is not above a longtable.
11545 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11547         * org-odt.el (org-odt-insert-toc): Remove this stray,
11548         dysfunctional routine.  This possibly has crept in because of the
11549         broken merges between "maint" and "origin" branches.
11550         (org-odt-begin-table): Don't emit an empty paragraph when a table is
11551         neither labeled nor captioned.
11552         (org-odt-init-outfile): Remove reference to an unused variable.
11554 2012-04-01  Viktor Rosenfeld  <listuser36@googlemail.com>
11556         * ob-sql.el (org-babel-execute:sql): Add support for MonetDB to
11557         SQL code blocks.
11559 2012-04-01  Andreas Leha  <andreas.leha@med.uni-goettingen.de>
11561         * ob.el (org-babel-goto-named-src-block): Pushing the point to the
11562         org-mark-ring and guessing at the code block name to jump to.
11564 2012-04-01  David Maus  <dmaus@ictsoc.de>
11566         * org-agenda.el (org-agenda-tree-to-indirect-buffer): Fix handling
11567         of indirect buffer and window.
11569 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11571         * org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes
11572         in verse blocks.
11574 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11576         * org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes
11577         in verse blocks.
11579 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11581         * org-exp.el (org-table-clean-before-export): Ignore table rows
11582         defining parameters for formulas during export.
11584 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11586         * org-list.el (org-list-get-item-number): New function.
11588 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11590         * org-list.el (org-list-ending-method, org-list-end-regexp):
11591         Remove variables.
11592         (org-in-item-p, org-list-separating-blank-lines-number)
11593         (org-list-parse-list, org-list-struct): Apply changes.
11595         * org-exp.el (org-export-mark-list-end)
11596         (org-export-mark-list-properties): Apply changes.
11598         * org-latex.el (org-export-latex-lists): Apply changes.
11600 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11602         * org.el (org-cycle-internal-local): Correctly unfold headlines
11603         containing an inlinetask.
11605 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11607         * org.el (org-structure-template-alist): Fix missing angle
11608         brackets for muse export style.
11610 2012-04-01  David Maus  <dmaus@ictsoc.de>
11612         * org.el (org-recenter-calendar): Use `with-selected-window' to
11613         select calendar window and save currently selected window and
11614         current buffer.
11616 2012-04-01  Toby S. Cubitt  <tsc25@cantab.net>  (tiny change)
11618         * org.el (org-goto): Call org-refile-get-location with NO-EXCLUDE
11619         argument set, otherwise not only are headlines in the current
11620         subtree excluded, but it throws an error if point happens not to
11621         be within a subtree (e.g. at start of buffer).
11623 2012-04-01  David Maus  <dmaus@ictsoc.de>
11625         * org.el (org-scan-tags): Fix highlighting in sparse-tree.
11627 2012-04-01  David Maus  <dmaus@ictsoc.de>
11629         * org-clock.el (org-in-clocktable-p): Move to org.el.
11631         * org.el (org-in-clocktable-p): New function.  Moved from
11632         org-clock.el.
11634 2012-04-01  David Maus  <dmaus@ictsoc.de>
11636         * org-exp.el (org-export-get-title-from-subtree): Don't format
11637         tags in title if title headline does not have tags.
11639 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11641         * org.el (org-cycle-internal-local): Fix bug: hide drawers in
11642         inline tasks too.
11644 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11646         * org-odt.el (org-odt-format-preamble): Don't insert TOC here.
11647         Delay it till the end of export.
11648         (org-odt-begin-document-body): Make a note of the default
11649         position of TOC in `org-lparse-dyn-first-heading-pos'.
11650         (org-odt-insert-toc): Insert TOC as directed by
11651         [TABLE-OF-CONTENTS] line or at the default position.
11652         (org-odt-end-export): Call `org-odt-insert-toc'.
11654 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11656         * org.el (org-preview-latex-fragment): Throw an error when called
11657         from a non-file buffer.
11659 2012-04-01  David Maus  <dmaus@ictsoc.de>
11661         * org-capture.el (org-capture-place-item): Don't search for
11662         position in existing list if :exact-position was supplied.
11664 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11666         * org.el (org-set-font-lock-defaults): Fix bug in done headline
11667         fontification.
11669 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11671         * org-odt.el (org-odt-format-textbox): Honor user-specified width
11672         in captioned images.
11674 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11676         * org.el (org-update-property-plist): Fix bug in property list
11677         updates.
11679 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11681         * ob.el (org-babel-balanced-split): Explicit checking if list
11682         before calling member.
11684 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11686         * ob-sqlite.el (org-babel-execute:sqlite): Specify the use of ","
11687         as the separator to `org-table-convert-region'.  Fixes errors when
11688         only one result per line of output.
11690 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11692         * ob.el (org-babel-strip-protective-commas):
11693         Use `org-strip-protective-commas'.
11695         * org-exp.el (org-export-select-backend-specific-text):
11696         Use `org-strip-protective-commas'.
11698         * org-src.el (org-edit-src-code):
11699         Use `org-strip-protective-commas'.
11701         * org.el (org-strip-protective-commas): Single definition for this
11702         functionality.
11704 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11706         * ob-sql.el: Mention ob-sqlite in the comments of ob-sql.
11708 2012-04-01  David Maus  <dmaus@ictsoc.de>
11710         * org-capture.el (org-capture-prepare-finalize-hook): New hook.
11711         Run before the finalization process starts.
11712         (org-capture-finalize): Run new hook.
11714 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11716         * org.el (org-entry-get): Generalize to multiple "prop+"
11717         properties.
11719 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11721         * org-src.el (org-src-mode-map): Rebinding `org-edit-src-save' in
11722         the `org-src-mode-map'.
11724 2012-04-01  David Maus  <dmaus@ictsoc.de>
11726         * org.el (org-recenter-calendar): Use `with-selected-window' to
11727         select calendar window and save currently selected window and
11728         current buffer.
11730 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11732         * org-list.el (org-list-ending-method, org-list-end-regexp):
11733         Remove variables.
11734         (org-in-item-p, org-list-separating-blank-lines-number)
11735         (org-list-parse-list, org-list-struct): Apply changes.
11737         * org-exp.el (org-export-mark-list-end)
11738         (org-export-mark-list-properties): Apply changes.
11740         * org-latex.el (org-export-latex-lists): Apply changes.
11742 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11744         * org.el (org-entry-get): Accumulate properties from subtree
11745         property drawers.
11747 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11749         * org.el (org-entry-get): Accumulate properties from subtree
11750         property drawers.
11752 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11754         * org-odt.el (org-export-odt-image-size-probe-method)
11755         (org-odt-do-image-size): Use imagemagick preferentially to
11756         determine image sizes.
11758 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11760         * org-odt.el (org-export-as-odt-to-buffer)
11761         (org-replace-region-by-odt, org-export-region-as-odt):
11762         Remove these interactive functions.  They are of questionable value.
11764 2012-04-01  Toby S. Cubitt  <tsc25@cantab.net>  (tiny change)
11766         * org.el (org-goto): Call org-refile-get-location with NO-EXCLUDE
11767         argument set, otherwise not only are headlines in the current
11768         subtree excluded, but it throws an error if point happens not to
11769         be within a subtree (e.g. at start of buffer).
11771 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11773         * org-exp.el (org-export-kill-product-buffer-when-displayed)
11774         (org-export-initial-scope, org-export-date-timestamp-format)
11775         (org-export-with-tasks, org-export-email-info)
11776         (org-export-table-remove-empty-lines): Add version tag.
11778 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11780         * org.el (org-cycle-internal-local): Correctly unfold headlines
11781         containing an inlinetask.
11783 2012-04-01  Bernt Hansen  <bernt@norang.ca>
11785         * org-clock.el (org-clock-out): Do not delete the current clocking
11786         task when org-clock-out-hook clocks in another task.
11788 2012-04-01  David Maus  <dmaus@ictsoc.de>
11790         * org.el (org-scan-tags): Fix highlighting in sparse-tree.
11792 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11794         * org-odt.el (org-export-odt-convert-processes): Re-define
11795         (org-export-odt-convert-capabilities): Fix an accidental
11796         regression.
11798 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11800         * org-odt.el (org-export-odt-convert-capabilities): Change the
11801         default value.
11803 2012-04-01  David Maus  <dmaus@ictsoc.de>
11805         * org-clock.el (org-in-clocktable-p): Move to org.el.
11807         * org.el (org-in-clocktable-p): New function.  Moved from org-clock.el.
11809 2012-04-01  David Maus  <dmaus@ictsoc.de>
11811         * org-exp.el (org-export-get-title-from-subtree): Don't format
11812         tags in title if title headline does not have tags.
11814 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11816         * org-footnote.el (org-blank-before-new-entry)
11817         (org-export-footnotes-seen, org-export-footnotes-data): Fix bogus
11818         declarations.
11820 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11822         * org.el (org-beginning-of-line, org-end-of-line): Fix special C-a
11823         and C-e behavior with visual lines.
11825 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11827         * org-exp-blocks.el (org-export-blocks): Change the name of
11828         exporting comment blocks given that it seems regular comment
11829         blocks no longer export.
11831 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11833         * ob-exp.el (org-babel-exp-get-export-buffer): Access current
11834         export buffer.
11835         (org-babel-exp-in-export-file): Access current export buffer.
11836         (org-babel-exp-src-block): Access current export buffer.
11837         (org-babel-exp-inline-src-blocks): Access current export buffer.
11839 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11841         * ob-exp.el (org-babel-exp-in-export-file)
11842         (org-babel-exp-src-block, org-babel-exp-inline-src-blocks):
11843         Allow org-current-export-file to contain a buffer.
11845 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11847         * org-lparse.el (org-lparse-do-convert): Replace `call-process'
11848         with `shell-command-to-string'.
11850 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11852         * org-footnote.el (org-footnote-create-definition): Fix space
11853         insertion when creating a new footnote.  This fixes newline
11854         munching when `org-footnote-section' is nil and blank lines
11855         stacking when it isn't nil.
11857 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11859         * org-footnote.el (org-footnote-normalize): Make sure that
11860         footnotes are moved to a single place during export.
11862 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11864         * org-footnote.el (org-footnote-normalize): Ensure footnote
11865         definition will be inserted at the end of the section
11866         corresponding to to its first reference.
11868 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11870         * org-footnote.el (org-footnote-at-definition-p): Make sure to
11871         move point at the beginning of the separator before skiping white
11872         spaces.  Refactor code.
11874 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11876         * ob-exp.el (org-babel-exp-src-block): Strip noweb references on
11877         export when "strip-export".
11879         * ob.el (org-babel-common-header-args-w-values): New noweb
11880         header value.
11881         (org-babel-merge-params): New noweb header value.
11882         (org-babel-noweb-p): New noweb header value.
11884 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11886         * ob-tangle.el (org-babel-tangle-clean): Just use default value.
11888         * ob.el (org-babel-noweb-wrap): Add default value.
11889         (org-babel-expand-noweb-references): Just use default value.
11891 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11893         * org-exp.el (org-export-select-backend-specific-text): Always
11894         preserve original indentation as a text property so that lists do
11895         not get broken by indentation at column 0.
11897 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11899         * ob.el (org-babel-expand-noweb-references): Don't allow newlines
11900         in source names in noweb references.
11902 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11904         * org.el (org-fill-line-break-nobreak-p): New function.
11905         (org-set-autofill-regexps): Add previous function to
11906         `fill-nobreak-predicate'.
11908 2012-04-01  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
11910         * ob-R.el (org-babel-R-evaluate-session): Inhibit R evaluation
11911         visibility regardless of local user customization.
11913 2012-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
11915         * org-inlinetask.el (org-inlinetask-show-first-star): New option.
11916         (org-inlinetask-fontify): Honor `org-inlinetask-show-first-star'.
11918         * org-indent.el (org-indent-set-line-properties):
11919         Honor `org-inlinetask-show-first-star'.
11921 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11923         * org.el (org-set-regexps-and-options): Ensure `org-drawers'
11924         doesn't contain duplicates.
11926 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11928         * org.el (org-at-drawer-p): Normalize the docstring to match other
11929         `org-at-*-p' docstrings.
11930         (org-indent-block, org-indent-drawer, org-at-block-p):
11931         New functions.
11932         (org-metaright): Use the new functions to indent a drawer or a
11933         block depending on the context.  Also update the docstring.
11935 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11937         * org.el (org-set-regexps-and-options): Set the value of
11938         `org-drawers' by adding the value of the infile #+DRAWERS option
11939         to that of the existing `org-drawers'.
11941 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11943         * org.el (org-cycle-internal-local): Fix bug: hide drawers in
11944         inline tasks too.
11946 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11948         * org-inlinetask.el (org-inlinetask-toggle-visibility):
11949         Use `org-show-entry' instead of `outline-flag-region' to keep the
11950         drawers folded when unfolding an inline task.
11952 2012-04-01  Torsten Anders  <torsten.anders@beds.ac.uk>  (tiny change)
11954         * org-beamer.el (org-beamer-environments-default): Add support and
11955         keybinding for the `exampleblock' environment.
11957 2012-04-01  Michael Brand  <michael.ch.brand@gmail.com>
11959         * org.el (org-open-link-from-string): Regard `reference-buffer'
11960         when setting `org-inhibit-startup'.
11962 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11964         * ob-exp.el (org-babel-exp-non-block-elements): Don't insert extra
11965         space between inline src block and results on export.
11967 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11969         * ob.el (org-babel-get-inline-src-block-matches): Allow *any*
11970         punctuation to proceed an inline src block.
11972 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11974         * ob.el (org-babel-get-inline-src-block-matches): Add ( to the
11975         list of characters allowed to proceed an inline src block.
11977 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11979         * ob-tangle.el (org-babel-tangle-clean): Use the customizable
11980         noweb wrappers.
11982         * ob.el (org-babel-noweb-wrap-start): Begin a noweb reference.
11983         (org-babel-noweb-wrap-end): End a noweb reference.
11984         (org-babel-noweb-wrap): Apply the customizable noweb wrappers.
11985         (org-babel-expand-noweb-references): Use the customizable noweb
11986         wrappers.
11988 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11990         * org.el (org-beginning-of-line): Handle case when there's no
11991         character after box.
11993 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11995         * org-odt.el (org-odt-format-preamble): Don't insert TOC here.
11996         Delay it till the end of export.
11997         (org-odt-begin-document-body): Make a note of the default
11998         position of TOC in `org-lparse-dyn-first-heading-pos'.
11999         (org-odt-insert-toc): Insert TOC as directed by
12000         [TABLE-OF-CONTENTS] line or at the default position.
12001         (org-odt-end-export): Call `org-odt-insert-toc'.
12003 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12005         * org.el (org-preview-latex-fragment): Throw an error when called
12006         from a non-file buffer.
12008 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12010         * org.el (org-insert-property-drawer): Not an interactive
12011         command anymore.
12012         (org-insert-drawer): With a prefix argument, insert a property
12013         drawer.  Check for headline within the region before inserting the
12014         drawer.  Don't include special drawers in the completion table.
12015         (org-mode-map): New keybinding `C-c C-x d' for
12016         `org-insert-drawer'.
12018 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12020         * org.el (org-insert-drawer): Support completion over known drawer
12021         names and inserting a drawer around the current region.
12023 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12025         * org.el (org-insert-drawer): New function.
12026         (org-insert-property-drawer): Use it.
12028 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12030         * org-list.el (org-mark-list): New function.
12032 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12034         * org-pcomplete.el (pcomplete/org-mode/drawer): New function to
12035         complete drawer at point.
12036         (org-thing-at-point): Use it.
12038 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12040         * org.el (org-meta-return): Use `newline-and-indent' when in a
12041         property drawer.
12043 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12045         * org.el (org-structure-template-alist): Fix docstring: the
12046         feature is not experimental anymore.
12048 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12050         * org-agenda.el (org-agenda-show-and-scroll-up): Allow `C-u' to
12051         display the item without unfolding drawers and logbooks.
12053 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12055         * org-src.el (org-edit-src-code): Make sure `buffer-file-name' is
12056         always nil.
12058 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12060         * org.el (org-structure-template-alist): Fix missing angle
12061         brackets for muse export style.
12063 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12065         * org.el (org-read-date): New parameter `inactive' when reading
12066         for insertion of inactive timestamps.
12067         (org-time-stamp, org-read-date-display): Use the new
12068         parameter.
12070 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12072         * ob.el (org-babel-expand-noweb-references): Only allow
12073         reference names which start and end with non-whitespace characters.
12074         Also, raise errors as appropriate given org-babel-noweb-error-langs.
12076 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12078         * org-src.el (org-src-in-org-buffer): Save and restore
12079         `buffer-undo-list' after editing.
12081 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12083         * ob.el (org-babel-common-header-args-w-values): Add new header
12084         argument.
12085         (org-babel-expand-noweb-references): Use header argument rather than
12086         customization variable.
12088 2012-04-01  David Maus  <dmaus@ictsoc.de>
12090         * org-capture.el (org-capture-place-item): Don't search for
12091         position in existing list if :exact-position was supplied.
12093 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12095         * ob.el (org-babel-noweb-separator): Custom variable for
12096         accumulated noweb references.
12097         (org-babel-expand-noweb-references): Allow separator for noweb
12098         references.
12100 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12102         * org.el (org-beginning-of-line): In an item, special position
12103         for C-a is after check-box, if any.
12104         (org-special-ctrl-a/e): Modify doc-string accordingly.
12106 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12108         * org-odt.el (org-export-odt-format-formula): Use :style
12109         property to specify custom table styles.
12111 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12113         * ob-exp.el (org-babel-exp-call-line-template): Control export of
12114         additional call line information.
12115         (org-babel-exp-non-block-elements): Fancier call line export.
12117 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12119         * org-odt.el (org-odt-entity-frame-styles): Add frame params
12120         for images that are anchored as character.
12121         (org-export-odt-format-image): Handle new anchor type
12122         "as-char".
12123         (org-export-odt-default-image-sizes-alist): Misc. change.
12124         (org-export-odt-format-formula): Misc. change.
12126 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12128         * ob.el (org-babel-check-src-block): Don't report valid header
12129         arguments as suspicious.
12131 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12133         * ob-exp.el (org-babel-exp-non-block-elements): Map over both
12134         inline src blocks and call lines on export.
12136 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12138         * org-odt.el (org-odt-label-styles): Add a new style.
12139         (org-odt-category-map-alist): Use it.
12141 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12143         * org-odt.el (org-odt-table-style-format): New.  Template for
12144         auto-generated table styles.
12145         (org-odt-automatic-styles, org-odt-object-counters):
12146         New variables.
12147         (org-odt-add-automatic-style): New function.
12148         (org-odt-write-automatic-styles): New function.
12149         Create automatic styles for tables that have custom :rel-width.
12150         (org-odt-begin-table): Parse attributes specified with
12151         "#+ATTR_ODT: " option and use it to create an automatic table
12152         style.
12153         (org-odt-save-as-outfile):
12154         Call `org-odt-add-write-automatic-styles'.
12155         (org-odt-init-outfile): Init newly add variables.
12156         (org-odt-section-count): Remove it.
12157         (org-odt-begin-section): Use `org-odt-add-automatic-style' to
12158         generate an automatic section name.
12160 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12162         * ob.el (org-babel-map-executables): Correctly position point when
12163         mapping hits an inline code block.
12165 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12167         * ob.el (org-babel-execute-src-block): Ensure params are
12168         incorporated *before* checking if evaluation is legal.
12170 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12172         * ob-exp.el (org-babel-exp-lob-one-liners): Ensure `end' is a
12173         marker so it is updated as required during export.
12175 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12177         * org-src.el (org-src-in-org-buffer): Run commands in the parent
12178         buffer.
12179         (org-edit-src-save): Use new macro.
12180         (org-src-tangle): Tangle the parent buffer.
12182 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12184         * org.el (org-set-font-lock-defaults): Fix bug in done
12185         headline fontification.
12187 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12189         * org.el (org-set-font-lock-defaults): Fix bug in done
12190         headline fontification.
12192 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12194         * org.el (org-return): Act normally when in code blocks.
12196 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12198         * org.el (org-in-src-block-p): New function.
12199         (org-context): Return new contexts :clocktable and :src-block.
12201 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12203         * org.el (org-set-tags-command, org-set-tags): Make ̀C-u C-c
12204         C-q' do the right thing even when point is before the first
12205         heading.
12207 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12209         * ob.el (org-babel-noweb-p): Disambiguate intersection name.
12211 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12213         * org-odt.el (org-odt-format-textbox): Honor user-specified
12214         width in captioned images.
12216 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12218         * ob.el (org-babel-map-src-blocks): Replace gensym with make-symbol.
12219         (org-babel-map-inline-src-blocks): Replace gensym with make-symbol.
12220         (org-babel-map-call-lines): Replace gensym with make-symbol.
12221         (org-babel-map-executables): Replace gensym with make-symbol.
12223 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12225         * ob-exp.el (org-babel-exp-results): Alter a copy of info.
12227 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12229         * org-html.el (org-export-as-html):
12230         Initialize `html-pre-real-contents' correctly.
12232 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12234         * org-html.el (org-export-as-html):
12235         Initialize `html-pre-real-contents' correctly.
12237 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12239         * ob-exp.el (org-babel-exp-code): Ensure code block name is a
12240         string on export.
12242 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12244         * ob-exp.el (org-babel-exp-code-template): Customizable code
12245         block export format string.
12246         (org-babel-exp-code): Customizable code block export.
12248 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12250         * ob-clojure.el (org-babel-execute:clojure): Remove dependency
12251         on deprecated swank-clojure.
12253 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12255         * ob.el (org-babel-map-src-blocks): Don't pollute symbol space.
12256         (org-babel-map-inline-src-blocks): Don't pollute symbol space.
12257         (org-babel-map-call-lines): Don't pollute symbol space.
12258         (org-babel-map-executables): Map over *all* executable Org-mode
12259         elements.
12260         (org-babel-execute-buffer): Execute elements in buffer order instead
12261         of arbitrarily.
12263 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12265         * org.el (org-ctrl-c-ctrl-c): Fix a naive structure backup.
12266         Those must be done with `copy-tree'.
12268 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12270         * org-src.el (org-edit-src-code): Referenced code block should
12271         not be evaluated on code block edit.
12273 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12275         * org.el (org-structure-template-alist): Use uppercase for
12276         keywords.
12278 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12280         * ob.el (org-babel-insert-result): Capitalize RESULTS in :wrap'd
12281         code block results.
12283 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12285         * ob.el (org-babel-results-keyword): New user-configurable
12286         results keyword.
12287         (org-babel-where-is-src-block-result): Use new user-configurable
12288         results keyword.
12290 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12292         * org-indent.el (org-indent-refresh-maybe): Check for new
12293         headlines from the beginning of the line to be sure to catch
12294         any newly inserted headline there.
12296 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12298         * ob-exp.el (org-babel-exp-src-block): Use `org-babel-noweb-p'.
12299         (org-babel-exp-inline-src-blocks): Use `org-babel-noweb-p'.
12301         * ob-tangle.el (org-babel-tangle-collect-blocks):
12302         Use `org-babel-noweb-p'.
12304         * ob.el (org-babel-execute-src-block): Use `org-babel-noweb-p'.
12305         (org-babel-expand-src-block): Use `org-babel-noweb-p'.
12306         (org-babel-load-in-session): Use `org-babel-noweb-p'.
12307         (org-babel-merge-params): Use `org-babel-noweb-p'.
12308         (org-babel-noweb-p): New function used to determine if noweb
12309         expansion should be carried out in a given context.
12311 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12313         * org.el (org-update-property-plist): Fix bug in property list
12314         updates.
12316 2012-04-01  François Pinard  <pinard@iro.umontreal.ca>  (tiny change)
12318         * org.el (org-kill-line): Use `kill-visual-line' in
12319         `visual-line-mode'.
12321 2012-04-01  Bernt Hansen  <bernt@norang.ca>
12323         * org-agenda.el (org-agenda-switch-to): Widen org buffer only if point
12324         is outside the current restriction.
12326 2012-04-01  Bernt Hansen  <bernt@norang.ca>
12328         * org-agenda.el (org-agenda-clock-in): Save restriction when clocking
12329         in from the agenda.
12331 2012-04-01  Bernt Hansen  <bernt@norang.ca>
12333         * org.el: Honor existing restrictions when regenerating the agenda.
12335 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12337         * org-agenda.el: New alias for `list-diary-entries-hook'.
12339 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12341         * ob.el (org-babel-common-header-args-w-values): Add the new
12342         header argument name.
12343         (org-babel-insert-result): Respect the value of the :wrap header
12344         argument when inserting results.
12345         (org-babel-result-end): Find the end of arbitrarily named result
12346         blocks.
12348 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12350         * org-indent.el (org-indent-refresh-maybe): Check for new
12351         headlines from the beginning of the line to be sure to catch
12352         any newly inserted headline there.
12354 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12356         * org.el (org-update-property-plist): Remove old instances of
12357         property when adding a new value for property.
12359 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
12361         * ob-emacs-lisp.el: A comment on the last line of an emacs-lisp
12362         code block would cause an error when the block is was executed.
12363         This fix cures this behavior.
12365 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12367         * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12368         pieces of a previous patch.
12370 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12372         * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12374 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12376         * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12377         pieces of a previous patch.
12379 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12381         * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12383 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12385         * org-eshell.el (org-eshell-open): Use (goto-char (point-max))
12386         instead of (end-of-buffer).
12388 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12390         * org-bbdb.el (name): Declare variable.
12391         (bbdb-record-get-field, bbdb-search-name)
12392         (bbdb-search-organization): Declare as part of ext:bbdb.
12394 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12396         * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
12397         instead of the obsolete `org-agenda-filter'.
12399 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12401         * org-agenda.el: Add an alias for `org-agenda-filter'.
12402         (diary-list-entries-hook): Use the non-obsolete hook.
12403         (org-agenda-filter-apply): Silent compiler warning.
12405 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12407         * ob-ditaa.el (org-ditaa-jar-path): Make a defcustom.
12408         (org-ditaa-jar-option): New option.
12409         (org-babel-execute:ditaa): Use it.
12411 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12413         * ob.el (org-babel-balanced-split): Explicit checking if list
12414         before calling member.
12416 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12418         * ob.el (org-babel-balanced-split): Explicit checking if list
12419         before calling member.
12421 2012-02-14  Chong Yidong  <cyd@gnu.org>
12423         * org-footnote.el: Remove bogus defvar values (Bug#10745).
12425 2012-01-05  Eric Schulte  <eric.schulte@gmx.com>
12427         * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12428         pieces of a previous patch.
12430         * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12432 2012-01-05  Bastien Guerry  <bzg@gnu.org>
12434         * org-eshell.el (org-eshell-open): Use (goto-char (point-max))
12435         instead of (end-of-buffer).
12437         * org-bbdb.el (name): Declare variable.
12438         (bbdb-record-get-field, bbdb-search-name)
12439         (bbdb-search-organization): Declare as part of ext:bbdb.
12441         * org-agenda.el: Add an alias for `org-agenda-filter'.
12442         (diary-list-entries-hook): Use the non-obsolete hook.
12443         (org-agenda-filter-apply): Silent compiler warnings.
12445         * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
12446         instead of the obsolete `org-agenda-filter'.
12448 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12450         * org.el (org-ctrl-c-ctrl-c): Preserve symmetry when adding
12451         and removing checkboxes with `C-u C-c C-c' on the first item
12452         of a list.  Also, don't reinitialize checkboxes that are
12453         already ticked.
12455 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12457         * org.el (org-ts-regexp0, org-ts-regexp1): Also match a time
12458         value with only one digit for the hours.
12460 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12462         * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
12463         Remove deleted function `org-encode-for-stdout'.
12465 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12467         * org.el (org-show-context): Complete docstring.
12469 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12471         * org-agenda.el (org-agenda-filter-by-tag):
12472         Use `read-char-exclusive' instead of `read-char'.
12474 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
12476         * org-clock.el (org-clock-in, org-clock-find-position):
12477         Remove erraneous space in regexp.
12479 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12481         * ob.el (org-babel-expand-noweb-references): Rather than using
12482         a pure regexp solution to resolve noweb references, actually
12483         check the information of every code block in the buffer.
12484         This will cause a slowdown in noweb reference expansion, but is
12485         necessary for correct behavior.
12487 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12489         * org.el (org-map-continue-from): Fix typo in docstring.
12491 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12493         * org.el (org-property-re): Also match cumulating properties
12494         like ":prop+:".
12496 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12498         * org-exp-blocks.el (org-export-blocks-preprocess): Fix regexp for
12499         matching the end of a block.
12501 2012-01-03  David Maus  <dmaus@ictsoc.de>
12503         * org.el (org-open-at-point): Escape link path for http:,
12504         https:, ftp:, news:, and doi: links only if the path contains
12505         space or non-ascii character.
12507 2012-01-03  David Maus  <dmaus@ictsoc.de>
12509         * org.el (org-refile-get-targets): Ignore headlines without a
12510         true headline.
12512 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12514         * ob.el (org-babel-map-call-lines): Move this file from
12515         ob-lob.el into ob.el to ease dependency pains.
12517 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12519         * org-publish.el (org-publish-index-generate-theindex):
12520         Use theindex.inc for storing index entries, and theindex.org for
12521         including theindex.inc.
12523 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12525         * org-publish.el (org-publish-index-generate-theindex):
12526         Create proper file target for index entries in subdirectories.
12528 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12530         * org-protocol.el (org-protocol-check-filename-for-protocol):
12531         Fix spelling mistake.
12533 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12535         * org-odt.el (org-export-odt-default-org-styles-alist): Add styles
12536         for title and subtitle.
12537         (org-odt-format-toc): New.
12538         (org-odt-format-preamble): New.  Users can redefine this to
12539         customize what goes before the document body.  Currently it
12540         outputs title, author and email, date and toc.
12541         (org-odt-begin-document-body): Use `org-odt-format-preamble'.
12542         (org-odt-format-date): Rename from
12543         `org-odt-iso-date-from-org-timestamp'.  Also added an
12544         additional param for format string.
12545         (org-odt-begin-annotation, org-odt-update-meta-file):
12546         Use `org-odt-format-date'.
12548 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12550         * org.el (org-at-drawer-p): New function.
12551         (org-end-of-line): Use it.
12553 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12555         * ob.el (*org-babel-use-quick-and-dirty-noweb-expansion*):
12556         Controls the method in which noweb references are expanded.
12557         (org-babel-expand-noweb-references): Bring back the option for
12558         regexp-based noweb expansion.
12560 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12562         * org.el (org-ts-regexp0, org-ts-regexp1): Also match a time value
12563         with only one digit for the hours.
12565 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12567         * org.el (org-ctrl-c-ctrl-c): Don't make `C-c C-c' special
12568         when ticking the checkbox of the first item.
12570 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12572         * org-list.el (org-list-write-struct): Add an optional
12573         argument for structure changes happening outside the function.
12575         * org.el (org-ctrl-c-ctrl-c): Now, `C-u C-c C-c' on the first
12576         item of a sub-list should toggle check-box presence of every
12577         item in the same sub-list.  Also fix check-box insertion on a
12578         single item.
12580 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12582         * org-agenda.el (org-agenda-filter-preset): New alias.
12583         (org-agenda-filter-by-category): New command.
12584         (org-agenda-mode-map): Add the new command.
12585         (org-agenda-custom-commands-local-options): Add category
12586         filter preset.
12587         (org-agenda-mark-filtered-text): Mark both tag and filter
12588         overlays.
12589         (org-agenda-category-filter-preset): New variable.
12590         (org-finalize-agenda, org-agenda-redo)
12591         (org-agenda-filter-make-matcher, org-agenda-filter-apply):
12592         Handle both category and tag filters.
12593         (org-agenda-filter-show-all-tag): Rename from
12594         `org-agenda-filter-by-tag-show-all'.
12595         (org-agenda-filter-show-all-cat): New function.
12596         (org-agenda-set-mode-name): Show the category filter in the
12597         modeline.
12599 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12601         * org-bbdb.el (org-bbdb-old): New variable.
12602         (org-bbdb-store-link, org-bbdb-open): Check for
12603         `org-bbdb-old'.
12604         (org-bbdb-open-old, org-bbdb-open-new): New functions.
12606 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12608         * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
12609         Remove deleted function `org-encode-for-stdout'.
12611 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12613         * org.el (org-check-dates-range): New command.
12614         (org-sparse-tree): Use it.
12616 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12618         * org-agenda.el (org-agenda-write): Rename from
12619         `org-write-agenda'.
12620         (org-agenda-mode-map, org-agenda-menu)
12621         (org-batch-store-agenda-views): Use new name
12622         `org-agenda-write'.
12624 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12626         * org.el (org-loop-over-headlines-in-active-region):
12627         Fix docstring.
12628         (org-todo, org-deadline, org-schedule): Honor the 'start-level
12629         value of `org-loop-over-headlines-in-active-region'.
12631 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12633         * org-archive.el (org-archive-subtree)
12634         (org-archive-to-archive-sibling, org-toggle-archive-tag):
12635         Bugfix: use 'region-start-level.
12637 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12639         * org.el (org-show-context): Complete docstring.
12641 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12643         * org-agenda.el (org-agenda-filter-by-tag):
12644         Use `read-char-exclusive' instead of `read-char'.
12646 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12648         * org.el (org-scan-tags): Make sure `org-map-continue-from' is
12649         nil at each match.
12651 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
12653         * org-clock.el (org-clock-in, org-clock-find-position):
12654         Remove erraneous space in regexp.
12656 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12658         * org-odt.el (org-odt-lib-dir): Add docstring.
12659         (org-odt-data-dir): New variable.  Use this variable to
12660         control the locations from which the ODT exporter picks the
12661         OpenDocument styles and schema files from.  Set this variable
12662         explicitly only if the in-built heuristics for locating the
12663         above files fails.
12664         (org-odt-styles-dir-list, org-odt-schema-dir-list):
12665         New variables.  Pay specific attention to (eval-when-compile ...)
12666         form through which Makefile's $(datadir) - contained in
12667         `org-odt-data-dir' - gets compiled in as a "hard coded"
12668         constant.
12669         (org-odt-styles-dir, org-export-odt-schema-dir): Add messages to
12670         aid debugging.
12672 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12674         * org-archive.el (org-archive-subtree)
12675         (org-archive-to-archive-sibling, org-toggle-archive-tag)
12676         (org-archive-set-tag): Handle the 'start-level value for
12677         `org-loop-over-headlines-in-active-region'.
12679 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12681         * org.el (org-scan-tags): New parameter `start-level' to scan only
12682         through headlines of that level.
12683         (org-map-entries): New allowed value `region-start-level' for
12684         the `scope' parameter, to allow scanning through headlines of
12685         the same level than the first headline in the region.
12686         (org-loop-over-headlines-in-active-region): New allowed value
12687         'start-level.
12689 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12691         * org-archive.el (org-archive-subtree)
12692         (org-archive-to-archive-sibling, org-archive-set-tag)
12693         (org-toggle-archive-tag): Allow to loop over the active region by
12694         using `org-loop-over-headlines-in-active-region'.
12696 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12698         * org.el (org-todo): Allow to loop over the active region by
12699         using `org-loop-over-headlines-in-active-region'.
12701 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12703         * ob.el (org-babel-expand-noweb-references): Rather than using
12704         a pure regexp solution to resolve noweb references, actually
12705         check the information of every code block in the buffer.
12706         This will cause a slowdown in noweb reference expansion, but is
12707         necessary for correct behavior.
12709 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12711         * org.el (org-map-continue-from): Fix typo in docstring.
12713 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12715         * org-agenda.el (org-agenda-write-buffer-name): New variable.
12716         (org-write-agenda): Use it.
12718 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12720         * org-exp.el (org-export-date-timestamp-format): New option to
12721         define the way a timestamp in #+DATE will be exported.
12722         (org-infile-export-plist): Use the new option.
12724 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12726         * org.el (org-property-re): Also match cumulating properties
12727         like ":prop+:".
12729 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12731         * org-odt.el (org-odt-styles-dir): Assume that the styles
12732         files are located under `data-directory' of Emacs distribution
12733         as etc/org/OrgOdtStyles.xml and
12734         etc/org/OrgOdtContentTemplate.xml.  Also update docstring.
12735         (org-export-odt-schema-dir): Update docstring.
12737 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12739         * org-odt.el (org-odt-format-preamble): Honor following user
12740         options: author, timestamp and email.
12742 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12744         * org-exp-blocks.el (org-export-blocks-preprocess): Fix regexp
12745         for matching the end of a block.
12747 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12749         * org-eshell.el: New file.
12751 2012-01-03  David Maus  <dmaus@ictsoc.de>
12753         * org.el (org-open-at-point): Escape link path for http:,
12754         https:, ftp:, news:, and doi: links only if the path contains
12755         space or non-ascii character.
12757 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12759         * org-beamer.el (org-beamer-fragile-re): Also recognize
12760         \lstinline and \verb as commands that make a frame fragile.
12762 2012-01-03  David Maus  <dmaus@ictsoc.de>
12764         * org.el (org-refile-get-targets): Ignore headlines without a
12765         true headline.
12767 2012-01-03  Litvinov Sergey  <slitvinov@gmail.com>
12769         * ob-octave.el: Add graphical output to png file.
12771 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12773         * ob.el (org-babel-map-call-lines): Move this file from
12774         ob-lob.el into ob.el to ease dependency pains.
12776 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12778         * org-publish.el (org-publish-index-generate-theindex):
12779         Use theindex.inc for storing index entries, and theindex.org for
12780         including theindex.inc.
12782 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12784         * org-publish.el (org-publish-index-generate-theindex):
12785         Create proper file target for index entries in subdirectories.
12787 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12789         * org-protocol.el (org-protocol-check-filename-for-protocol):
12790         Fix spelling mistake.
12792 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12794         * org-odt.el (org-export-odt-default-org-styles-alist):
12795         Add styles for title and subtitle.
12796         (org-odt-format-toc): New.
12797         (org-odt-format-preamble): New.  Users can redefine this to
12798         customize what goes before the document body.  Currently it
12799         outputs title, author and email, date and toc.
12800         (org-odt-begin-document-body): Use `org-odt-format-preamble'.
12801         (org-odt-format-date): Rename from
12802         `org-odt-iso-date-from-org-timestamp'.  Also added an
12803         additional param for format string.
12804         (org-odt-begin-annotation, org-odt-update-meta-file):
12805         Use `org-odt-format-date'.
12807 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12809         * ob-ref.el (org-babel-ref-split-args): Now uses
12810         `org-babel-balanced-split'.
12812 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12814         * org-html.el (org-export-html-preamble)
12815         (org-export-html-postamble): Fix docstrings.
12816         (org-export-as-html): Insert the string used by a custom
12817         function for `org-export-html-pre/postamble'.
12819 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12821         * org.el (org-block-regexp)
12822         (org-heading-keyword-regexp-format)
12823         (org-heading-keyword-maybe-regexp-format): Move up to keep the
12824         byte-compiler happy.
12826 2012-01-03  Dave Abrahams  <dave@boostpro.com>  (tiny change)
12828         * org-agenda.el (org-agenda-do-tree-to-indirect-buffer):
12829         New function.
12830         (org-agenda-tree-to-indirect-buffer): Use the new function.
12832 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12834         * org-html.el (org-export-as-html): Fix bug when inserting the
12835         output of a custom function for the pre/postamble.
12837 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12839         * org-odt.el (org-odt-format-source-code-or-example):
12840         Try loading htmlfontify safely.
12842 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12844         * org-odt.el (require): Require htmlfontify.el only if
12845         emacs-version is greater than 23.2.
12847 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12849         * org-faces.el (org-agenda-calendar-event)
12850         (org-agenda-calendar-sexp): Use the default face.
12852 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12854         * ob.el (org-babel-expand-noweb-references): Fix regexp.
12856 2012-01-03  Michael Brand  <michael.ch.brand@gmail.com>
12858         * org.el (Key bindings): Remap the Outline functions from
12859         `outline-mode-prefix-map' where possible.
12861 2012-01-03  Christian Moe  <mail@christianmoe.com>  (tiny change)
12863         * org-html.el (org-export-as-html):
12864         Apply `org-export-html-get-todo-kwd-class-name' to the class
12865         attribute of the todo-keyword span tag, not to its text
12866         content.
12868 2012-01-03  Sebastien Vauban  <sva@mygooglest.com>
12870         * org-agenda.el (org-agenda-get-timestamps)
12871         (org-agenda-get-sexps): Use face for highlighting "calendar"
12872         events.
12874 2012-01-03  Peter Münster  <pmlists@free.fr>  (tiny change)
12876         * org.el (org-add-planning-info): Treat absolute time too.
12878 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12880         * org-table.el (org-table-transpose-table-at-point): Don't use
12881         ̀remove-if-not'.
12883 2012-01-03  Dave Abrahams  <dave@boostpro.com>  (tiny change)
12885         * org-clock.el (org-clock-out-if-current): Check the clock
12886         buffer is existing.
12888 2012-01-03  Bernt Hansen  <bernt@norang.ca>
12890         * org-clock.el (org-clock-out-if-current): Fix marker in no
12891         buffer error for task state change in an indirect buffer.
12893 2012-01-03  Michael Brand  <michael.ch.brand@gmail.com>
12895         * org.el (org-offer-links-in-entry): Make list when assigning
12896         a single link.
12898 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12900         * ob.el (org-babel-expand-noweb-references): Rather than
12901         collect the info from *every* block in the current buffer,
12902         simply regexp search for those blocks which appear to match
12903         the continued source name.
12905 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12907         * ob.el (org-babel-insert-result): Do not examplize wrapped
12908         scalar results, simply wrap them.
12909         (org-babel-result-end): Find the end of results wrapped in a
12910         RESULTS drawer.
12912 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12914         * org.el (org-todo-yesterday): When called from the agenda,
12915         use `org-agenda-todo-yesterday' instead.
12917 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12919         * org-table.el (org-table-transpose-table-at-point): New command.
12921 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12923         * org-html.el (org-export-html-headline-anchor-format):
12924         New option.
12925         (org-html-level-start): Use the new option.
12927 2012-01-03  Rob Giardina  <rob@giardina.us>  (tiny change)
12929         * org-agenda.el (org-agenda-with-point-at-orig-entry):
12930         Small bugfix.
12932 2012-01-03  Christian Moe  <mail@christianmoe.com>  (tiny change)
12934         * org-special-blocks.el
12935         (org-special-blocks-convert-html-special-cookies):
12936         Close paragraph before opening or closing the <div>, and open
12937         paragraph after.  Also changed newline placement to be the same
12938         as for other blocks.
12940 2012-01-03  Roberto Huelga  <rhuelga@gmail.com>
12942         * org-clock.el (org-program-exists): Make the function
12943         compatible with darwin systems.
12945 2012-01-03  David Maus  <dmaus@ictsoc.de>
12947         * org-exp.el (org-export-normalize-links): Mark bracket links
12948         before normalization to avoid erroneous normalization of
12949         bracket link parts.
12951 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12953         * org-odt.el (org-odt-data-dir): Remove.
12954         (org-odt-styles-dir, org-export-odt-schema-dir):
12955         New variables.
12957         * org-odt.el, org-lparse.el: New files.
12959 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12961         * org-capture.el (org-capture-set-target-location): Set the
12962         capture default time also to the prompt time.
12964 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12966         * org-exp.el (org-export-res/src-name-cleanup): Remove #+name
12967         and #+results lines during preprocess.
12969 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12971         * ob-picolisp.el (ob-comint): Required.
12972         (comint): Required.
12973         (cl): Required.
12974         (run-picolisp): Declared.
12975         (org-babel-execute:picolisp): Capture free variable, and replace
12976         function from cl-extra with core function.
12978 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12980         * ob-picolisp.el: New file.
12982         * org.el (org-babel-load-languages): Add Pico Lisp to the list
12983         of supported code block languages.
12985 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12987         * org-bibtex.el (org-bibtex): Now catches bibtex errors and
12988         directs the user to the location of the error.
12990 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12992         * org-agenda.el (org-agenda-dim-blocked-tasks): Fix typo.
12994 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12996         * ob.el (org-babel-execute-src-block): Fix typo.
12998 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13000         * org-freemind.el (org-freemind-write-mm-buffer): Fix typo.
13002 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13004         * org.el (org-link-unescape, org-link-unescape-compound):
13005         Fix two typos in docstrings.
13007 2012-01-03  Thomas Dye  <dk@poto.local>
13009         * ob-R.el: Added tikzDevice support.
13011 2012-01-03  David Maus  <dmaus@ictsoc.de>
13013         * org.el (org-clone-subtree-with-time-shift): Remove clocking
13014         information and empty drawers when preparing a clone.
13016 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13018         * ob-exp.el: Don't add `org-exp-res/src-name-cleanup' to
13019         `org-export-blocks-postblock-hook'.
13021 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13023         * ob.el (org-babel-hide-result-toggle): Skip over header
13024         argument lines when toggling named code block visibility.
13026 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13028         * org-exp.el (org-export-grab-title-from-buffer):
13029         Don't license to kill text inside blocks when getting a title.
13031 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13033         * ob.el (org-babel-confirm-evaluate): Adding support for new
13034         range of :eval header arguments.
13036 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13038         * ob.el (org-babel-confirm-evaluate): Inhibit evaluation
13039         during export when eval is set to "non-export".
13041 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13043         * ob-ref.el (org-babel-update-intermediate): New custom
13044         variable.
13045         (org-babel-ref-resolve): Optionally update the in-buffer results
13046         of code blocks which are evaluated to resolve references.
13048 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13050         * ob.el (org-babel-join-splits-near-ch): Rejoins a list of a
13051         split string when a character appears on either side of the
13052         split.
13053         (org-babel-parse-multiple-vars): Rejoin splits around "=" signs.
13055 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13057         * org.el (org-reduce): Add a less functional Org-mode copy of
13058         the cl reduce function.
13060 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13062         * org.el (org-fontify-meta-lines-and-blocks-1):
13063         Recognize "name" as a valid keyword that can precede a block.
13065 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13067         * ob-exp.el (org-babel-exp-lob-one-liners): Don't limit
13068         in-verbatim check to inline code blocks, do lob code blocks as
13069         well.
13071 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13073         * org.el (org-todo): Interpret 0 prefix arg as note inhibitor.
13075 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13077         * ob.el (org-babel-named-src-block-regexp-for-name):
13078         Ensure that partial names are not matched.
13079         (org-babel-named-data-regexp-for-name): Ensure that partial names
13080         are not matched.
13082 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13084         * ob-ref.el (org-babel-ref-resolve): Search for named code
13085         blocks before named data.
13087         * ob.el (org-babel-named-data-regexp-for-name): New function for
13088         finding named data.
13090 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13092         * ob.el (org-babel-insert-result): Gracefully handle results
13093         which are neither lists nor strings.
13095 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13097         * ob-ref.el (org-babel-ref-resolve): Don't change location when
13098         looking at the contents.
13100 2012-01-03  Milan Zamazal  <pdm@zamazal.org>
13102         * org.el (org-set-outline-overlay-data):
13103         Use outline-flag-region to make a region invisible.  This ensures
13104         all necessary actions, especially adding
13105         isearch-open-invisible property, are applied.
13107 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13109         * ob-lob.el (org-babel-in-example-or-verbatim):
13110         Fix compilation warning.
13112 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13114         * ob.el (org-babel-find-named-result): Downcase "name" before
13115         comparison.
13117 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13119         * ob-lisp.el (org-babel-execute:lisp): Fix typo.
13120         (org-babel-lisp-vector-to-list): Fix typo.
13122 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13124         * ob-exp.el (org-babel-in-example-or-verbatim): Some valid
13125         execution contexts (e.g., call lines) look like commented
13126         lines.
13128         * ob.el (org-babel-get-src-block-info): Empty match string doesn't
13129         count.
13130         (org-babel-process-params): Always process parameters, even if
13131         you don't to table splitting.
13133 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13135         * ob-exp.el (org-exp-res/src-name-cleanup): Update Documentation.
13137         * ob-lob.el (org-babel-block-lob-one-liner-regexp):
13138         Update regular expression.
13139         (org-babel-inline-lob-one-liner-regexp): Update regular
13140         expression.
13142         * ob-ref.el (org-babel-ref-resolve): Notice when something that
13143         looks like a data results may actually be a code block.
13145         * ob-table.el: Updated documentation.
13147         * ob.el (org-babel-src-name-regexp): Simplify regexp.
13148         (org-babel-get-src-block-info): Update match strings.
13149         (org-babel-data-names): Simplify acceptable names.
13150         (org-babel-find-named-block): Indentation.
13151         (org-babel-find-named-result): Update to not return a code block
13152         as a result.
13154         * org.el (org-fontify-meta-lines-and-blocks-1):
13155         Removing references to old syntactic elements.
13156         (org-additional-option-like-keywords): Removing references to
13157         old syntactic elements.
13159 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13161         * org-agenda.el (org-agenda-get-todos): Swap calls to `org-trim'
13162         and `buffer-substring'.
13164 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13166         * org-agenda.el (org-agenda-get-todos): Prevent an error when
13167         encountering tasks with only the TODO keyword.
13169 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13171         * org.el (org-try-cdlatex-tab): Don't try to expand a LaTeX
13172         environment when at an item or an headline, but allow LaTeX
13173         fragments.
13174         (org-cycle): Try to call `cdlatex-tab' before cycling item's or
13175         headline's visibility, in order to catch LaTeX fragments within.
13177 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13179         * org-exp-blocks.el (org-export-blocks-preprocess): Require a
13180         newline and spaces before a code block.
13182 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13184         * ob-lob.el (org-babel-map-call-lines): Allow mapping of code
13185         over all call lines in a buffer.
13187         * ob.el (org-babel-execute-buffer): Execute call lines when
13188         executing an entire buffer.
13190 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13192         * ob.el (org-babel-process-params): Don't disassemble tables
13193         twice.
13195 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13197         * org-clock.el (org-clock-in, org-clock-find-position): Make space
13198         after date optional.
13200         * org.el (org-set-regexps-and-options)
13201         (org-ts-regexp, org-ts-regexp-both, org-ts-regexp1)
13202         (org-ctrl-c-ctrl-c): Make `C-c C-c' on date fix the time stamp.
13204 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13206         * ob-lob.el (org-babel-lob-execute-maybe): Don't execute a call
13207         inside a verbatim block.
13209         * ob-exp.el (org-babel-in-example-or-verbatim): Check for example
13210         blocks.
13212 2012-01-03  Litvinov Sergey  <slitvinov@gmail.com>
13214         * ob-maxima.el (org-babel-tangle-lang-exts): Maxima extension.
13215         (org-babel-maxima-expand): Add input variables and graphic output.
13216         (org-babel-execute:maxima): Add input variables and graphic output.
13217         (org-babel-maxima-var-to-maxima): Add input variables and graphic
13218         output.
13219         (org-babel-maxima-graphical-output-file): Add input variables and
13220         graphic output.
13221         (org-babel-maxima-elisp-to-maxima): Add input variables and graphic
13222         output.
13224 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13226         * ob-fortran.el: New file.  Adding support for Fortran code blocks.
13227         * org.el (org-babel-load-languages): Adding fortran to this list.
13229 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13231         * org-footnote.el (org-footnote-new): Cannot insert an inline
13232         footnote at beginning of line anymore.
13233         (org-footnote-at-reference-p): Don't recognize inline footnotes at
13234         beginning of line.
13236 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13238         * org.el (org-set-font-lock-defaults): Fix small error in matching
13239         group that prevented fontification of keywords like
13240         org-comment-string and stars in headlines.
13242 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13244         * org.el (org-catch-invisible-edits): New option.
13245         (org-self-insert-command, org-delete-backward-char)
13246         (org-delete-char): Call `org-check-before-invisible-edit'.
13247         (org-check-before-invisible-edit): New function.
13249 2012-01-03  Suvayu Ali  <fatkasuvayu+linux@gmail.com>
13251         * org-exp.el (org-solidify-link-text): Respect
13252         org-export-with-tags when forming the export title during subtree
13253         export.
13255 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13257         * org.el (org-heading-regexp, org-heading-keyword-regexp-format)
13258         (org-heading-keyword-maybe-regexp-format): Globalize variables so
13259         they are accessible even in buffers not in Org mode.
13261 2012-01-03  David Maus  <dmaus@ictsoc.de>
13263         * org.el (org-insert-link): Don't use default-description if a
13264         `org-make-link-description-function' is defined.
13266 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13268         * org.el (org-set-regexps-and-options): Use property blocks for
13269         multi-line properties.
13271 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13273         * org.el (org-self-insert-command): Don't throw an error when
13274         editing takes place at the first point of the buffer.
13276 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13278         * org.el (org-self-insert-command): Unfold invisible region at
13279         point or right before point when editing.
13281 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13283         * org-faces.el (org-agenda-filter-tags): Use the 'modeline face as
13284         default.
13286 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13288         * org-html.el (org-html-expand): Prevent a nil value for STRING to
13289         return an error, just return nil.
13291 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13293         * org-latex.el (org-export-latex-set-initial-vars): Allow "/"
13294         character in the #+LaTeX_CLASS option.
13296 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13298         * org-footnote.el (org-footnote-at-reference-p)
13299         (org-footnote-at-definition-p): Don't store text-properties of
13300         footnote definitions.
13302 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13304         * org-html.el (org-export-as-html): Convert special characters in
13305         meta tag "author", "date", "keyword" and "description".
13307 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13309         * org-capture.el (org-capture-before-finalize-hook): Docstring
13310         improvement: mention that the buffer is widened when this hook is
13311         run.
13313 2012-01-03  Sebastien Vauban  <sva@mygooglest.com>
13315         * org-html.el (org-export-as-html): Make sure the div for preamble
13316         is not inserted when the preamble is empty.
13318 2012-01-03  Sebastien Vauban  <sva@mygooglest.com>
13320         * org-agenda.el (org-agenda-set-mode-name): Highlight tags used
13321         for filtering (shown in the mode-line).
13323 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13325         * ob.el (org-babel-parse-multiple-vars): Trimming excess white
13326         space from split variables.
13328 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13330         * org.el (org-link-search): Add an optional argument preventing
13331         function from revealing context around match.
13333 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13335         * org-agenda.el (calendar-check-holidays): Declare function.
13337 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13339         * org.el (org-return): Fix bug when matching the face property
13340         before following a link.
13342 2012-01-03  Matt Lundin  <mdl@imapmail.org>
13344         * org-agenda.el (org-class): Fix holidays symbol in org-class.
13345         This was resulting in an "Bad sexp..." warning.
13347 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13349         * org.el (org-scan-tags): Also remember
13350         `org-complex-heading-regexp' in a property.
13352 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13354         * org-latex.el (org-export-as-latex): Turn off auto-insert and set
13355         TeX-master to t when creating new TeX buffers.
13357         * org-docbook.el (org-export-as-docbook): Turn off auto-insert
13358         when creating new buffers.
13360         * org-html.el (org-export-as-html): Turn off auto-insert
13361         when creating new buffers.
13363 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13365         * org-table.el (org-table-formula-handle-first/last-rc): Do not
13366         expand pointers to first/last row/column that are inside a call to
13367         `remote'.
13368         (org-table-get-remote-range): Expand pointers to first/last
13369         row/column.
13371 2012-01-03  Michael Sperber  <sperber@deinprogramm.de>  (tiny change)
13373         * org-capture.el (org-capture-get-indirect-buffer): Fix XEmacs
13374         compatibility issue when creating an indirect buffer.
13376 2012-01-03  Christophe Rhodes  <csr21@cantab.net>
13378         * org-exp.el (org-infile-export-plist): Handle LATEX_CLASS_OPTIONS
13379         the same way than LATEX_CLASS.
13381 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13383         * org.el (org-return): Check the presence of the 'org-link face
13384         even in contexts where there is more than one face.
13386 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13388         * ob-sql.el (org-babel-header-arg-names:sql): SQL specific header
13389         argument names which should be inherited.
13391 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13393         * org.el (org-in-block-p): Return matched name of block, if any.
13394         It can be useful when a list of block names is provided as
13395         an argument.
13397 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13399         * org-docbook.el (org-export-as-docbook): Fix regexp.
13401         * org-html.el (org-export-as-html): Fix regexp.
13403 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13405         * org-agenda.el (org-class): Allow holidays to be skipped.
13407 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13409         * ob-shen.el (org-babel-execute:shen): Fix two compilation errors.
13411 2012-01-03  Peter Münster  <pmrb@free.fr>  (tiny change)
13413         * org-agenda.el (org-agenda-to-appt): Make sure filter-items are
13414         strings before calling `string-match'.
13416 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13418         * org-footnote.el (org-footnote-at-reference-p)
13419         (org-footnote-at-definition-p): Remove text-properties from label.
13421 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13423         * org-html.el (org-export-as-html): Add a "title" meta tag.
13425 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13427         * org-agenda.el (org-agenda-to-appt): Allow to refine the scope of
13428         entries to pass to `org-agenda-get-day-entries' and allow to
13429         filter out entries using a function.
13431 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13433         * org-agenda.el: Fix small display bug.
13435 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13437         * org.el (org-set-regexps-and-options): Fix small bug introduced
13438         by commit dfcb6faef11a2439b56b18a6289803361d402130.
13440 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13442         * org-agenda.el (org-search-view): Simplify regexp.
13443         (org-agenda-get-todos): Use new format string.
13445         * org-archive.el (org-archive-all-done): Simplify regexp.
13447         * org-ascii.el (org-export-as-ascii): More accurate regexp.
13449         * org-colview.el (org-columns-capture-view): Use new format string
13450         and new string.
13452         * org-docbook.el (org-export-as-docbook): More accurate
13453         regexp.  Also use new regexp to match generic headlines.
13455         * org-exp.el (org-export-protect-quoted-subtrees): More accurate
13456         regexp.  Also use new regexp to match generic headlines.
13458         * org-html.el (org-export-as-html): More accurate regexp.
13459         Also use new regexp to match generic headlines.
13461         * org-mouse.el (org-mouse-match-todo-keyword): Remove unused
13462         and now erroneous function.
13464         * org.el (org-heading-regexp, org-heading-keyword-regexp-format):
13465         New variables.
13466         (org-set-regexps-and-options): Create regexps according to the
13467         following rule: use spaces only to separate elements from an headline,
13468         while allowing mixed tabs and spaces for any indentation job.
13469         (org-nl-done-regexp, org-looking-at-done-regexp): Remove variables.
13470         (org-set-font-lock-defaults): Fontify again headlines with a keyword
13471         and no other text.  Use new format strings.
13472         (org-get-heading, org-toggle-comment, org-prepare-agenda-buffers)
13473         (org-toggle-fixed-width-section): Use new format string.
13474         (org-todo): More accurate regexps.
13475         (org-point-at-end-of-empty-headline): Simplify regexp.
13476         (org-insert-heading): Headline can sometimes be nil.
13478 2012-01-03  David Maus  <dmaus@ictsoc.de>
13480         * org-agenda.el (org-agenda-bulk-action): Bind
13481         `org-loop-over-headlines-in-active-region' to nil to avoid conflict
13482         with bulk command.
13484 2012-01-03  David Maus  <dmaus@ictsoc.de>
13486         * org.el (org-deadline, org-schedule): Skip invisible headlines when
13487         mapping over headlines in active region.
13489 2012-01-03  David Maus  <dmaus@ictsoc.de>
13491         * org.el (org-loop-over-headlines-in-active-region):
13492         New customization variable.  Loop over headlines in active region.
13493         (org-schedule, org-deadline): Apply to headlines in region depending
13494         on new customization variable.
13496 2012-01-03  David Maus  <dmaus@ictsoc.de>
13498         * org.el (org-map-entries): Immediately return if scope is 'region
13499         but no region is active.
13501 2012-01-03  David Maus  <dmaus@ictsoc.de>
13503         * org.el (org-map-entries): Extend scope 'region to include entire
13504         body of last headline in active region.
13506 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13508         * org-src.el (org-edit-src-code): Fix typo-bug.
13510 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13512         * org.el (org-format-agenda-item, org-scan-tags):
13513         Rename `org-format-agenda-item' to `org-agenda-format-item'.
13515 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13517         * org-agenda.el: Replace `category-pos' by `org-category-pos' to
13518         silent byte-compiler.
13520 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13522         * org.el: Declare external function `cdlatex-compute-tables'.
13524 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13526         * org-latex.el (org-export-latex-set-initial-vars): Fix problem
13527         when matching #+LaTeX_CLASS.
13529 2012-01-03  Rafael Laboissiere  <rafael@laboissiere.net>  (tiny change)
13531         * org.el (org-link-search-must-match-exact-headline): Fix typos.
13533 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13535         * org-latex.el (org-export-latex-make-header): Add some hyperref
13536         options.
13538 2012-01-03  Kai Tetzlaff  <kai.tetzlaff@web.de>  (tiny change)
13540         * org-publish.el (org-publish-file): Add 'eval'ing the value of
13541         the :publishing-directory property before using it as destination
13542         of the publishing project.  This allows to construct the publish
13543         destination directory dynamically at run-time using the return
13544         value of a function.
13546 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13548         * org-agenda.el (org-agenda-list-stuck-projects): Fix tiny bug.
13550 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13552         * org-agenda.el (org-agenda-move-date-from-past-immediately-to-today):
13553         New option.
13554         (org-agenda-date-later): Improve the logical structure.
13556 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13558         * ob-calc.el (featurep): Require calc-store.
13560         * org-agenda.el (org-agenda-list-stuck-projects): Fix regexp
13561         special handling.
13563         * org-compat.el (fboundp): Support for XEmacs.
13565         * org-exp.el (org-export): Protect XEmacs from `(redisplay)' call.
13567         * org-footnote.el (org-footnote-re): Optimize macro processing.
13569         * org.el (org-set-autofill-regexps): Xemacs compatibility.
13571 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13573         * ob.el (org-babel-balanced-split): Balance both [] and ()
13574         groupings.
13575         (org-babel-parse-header-arguments): Be sure to replace removed ":"
13576         characters.
13578 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13580         * ob.el (org-babel-parse-header-arguments): Quick fix for a
13581         tiny bug.
13583 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13585         * ob.el (org-babel-params-from-properties): Now splits
13586         multiple var arguments behind a single ":var".
13587         (org-babel-balanced-split): Separated balanced splitting of
13588         strings out into a new function.
13589         (org-babel-parse-multiple-vars): Splits multiple var arguments
13590         behind a single ":var".
13592 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13594         * org.el: Remap `outline-promote' and `outline-demote' keys to
13595         `org-promote-subtree' and `org-demote-subtree'.
13597 2012-01-03  Leo Liu  <sdl.web@gmail.com>
13599         * org-agenda.el (org-agenda-do-context-action): Check if marker is
13600         valid before use.
13602 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
13604         * org-agenda.el (org-agenda-date-later): Fix shifting of date
13605         ranges.
13607 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13609         * ob.el: Removing `org-babel-params-from-buffer' and
13610         #+PROPERTIES: entirely.
13612         * ob-exp.el (org-babel-exp-src-block):
13613         Removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely.
13615         * ob-lob.el (org-babel-lob-execute):
13616         Removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely.
13618 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13620         * ob.el (org-babel-params-from-buffer): Removing #+BABEL:
13621         lines in favor of general #+PROPERTIES: lines.
13623 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13625         * ob-sql.el (org-babel-execute:sql): Insert into a temporary
13626         buffer.
13628 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13630         * org.el (org-cdlatex-mode): Run `cdlatex-mode-hook' and
13631         update the internal cdlatex tables.
13633 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13635         * ob-sql.el (org-babel-execute:sql): Respect literal-results
13636         options.
13638 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13640         * ob.el (org-babel-disassemble-tables): Fix multi-table bug in
13641         code block colname and rowname handling.
13643 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13645         * org-publish.el (org-publish-cache-file-needs-publishing):
13646         Fix regexp to not inlcude newlines.
13648 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13650         * org.el (org-ctrl-c-ctrl-c): Remove table overlays before
13651         restart.
13653 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13655         * org.el (org-fontify-entities): Match entities before
13656         numbers, as in `\sim2'.
13658 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13660         * org-agenda.el (org-agenda-date-later): Make pushing forward
13661         a past date to jump immedialtely to today.
13663 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13665         * org-exp.el (org-store-forced-table-alignment): Parse the
13666         column cookie for both alignment and width
13667         specification.  Store the resulting value in `org-col-cookies'
13668         property.  Retire the previously used `org-forced-aligns'
13669         property for consistency.  Renamed local variable `aligns' to
13670         `cookies'.
13672         * org-html.el (org-format-org-table-html):
13673         Use `org-col-cookies'.  Renamed local variable forced-aligns to
13674         col-cookies.
13676 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13678         * org.el (org-latex-to-mathml-jar-file)
13679         (org-latex-to-mathml-convert-command): New user-customizable
13680         variables.
13681         (org-format-latex-mathml-available-p, org-create-math-formula)
13682         (org-format-latex-as-mathml): New functions.
13683         (org-format-latex): Add a new local variable block-type that notes
13684         the nature of the equation - inline or display.  Associate it's
13685         value to `org-latex-src-embed-type' property of dvipng links.
13686         Add mathml as new processing type.
13688 2012-01-03  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
13690         * org.el (org-refile): Add tree name to prompt.
13692 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13694         * org-latex.el (org-export-latex-tables):
13695         Honor `org-export-latex-table-caption-above'
13696         (org-export-latex-table-caption-above): New option.
13698 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13700         * ob.el (org-babel-insert-header-arg): Now including language
13701         specific header arg values in insertion options.
13703 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13705         * ob.el (org-babel-insert-header-arg): Fix typo.
13707 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
13709         * org-exp.el (org-export-number-lines): Modify.  Add a new
13710         parameter `preprocess' and use this for backend-agnostic
13711         handling of literal examples.
13713 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13715         * org.el (org-match-substring-regexp)
13716         (org-match-substring-with-braces-regexp): Allow subscripts and
13717         superscripts to start at beginning of line.
13719 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13721         * ob.el (org-babel-common-header-args-w-values): New variable to
13722         hold common header arguments and their default values.
13723         (org-babel-header-arg-names): Redefined using the new common
13724         header arg variable.
13725         (org-babel-insert-header-arg): New function to help when inserting
13726         header arguments.
13728 2012-01-03  David Maus  <dmaus@ictsoc.de>
13730         * org-html.el (org-html-handle-links): Remove unnecessary
13731         protection markers when publishing link in default format.
13733 2012-01-03  Pieter Praet  <pieter@praet.org>  (tiny change)
13735         * org-crypt.el (org-crypt-check-auto-save): New function, see
13736         next change.
13738         * org-crypt.el (org-decrypt-entry): Break the auto-save-mode
13739         check out into a separate function, and call it at a later
13740         point, to assure it only runs when visiting an encrypted
13741         entry.
13743 2012-01-03  John J Foerch  <jjfoerch@earthlink.net>  (tiny change)
13745         * org.el (org-log-note-headings): Document new %d and %D
13746         escapes.
13747         (org-store-log-note): Implement new %d and %D escapes.
13749 2012-01-03  Dave Abrahams  <dave@boostpro.com>
13751         * org-agenda.el (org-agenda-follow-indirect): New option.
13752         (org-agenda-follow-mode): Call `org-agenda-do-context-action' fro
13753         follow mode.
13754         (org-agenda-do-context-action): Also do indirect follow mode
13755         action.
13757 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13759         * ob-table.el (sbe): Fix typo in new sbe specification.
13761 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13763         * ob-table.el (sbe): If first variable is a string and not a
13764         cons cell, then interpret it as a string of header arguments
13765         to be passed to the code block.
13767 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13769         * ob-shen.el (shen-eval-defun): Declare external function.
13770         (org-babel-execute:shen): Move requirement of inf-shen into
13771         the function in which it is used to fix build error.
13773         * ob-shen.el: New file.
13775 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
13777         * org.el (org-open-at-point): Make `org-open-at-point' only
13778         ask once about creating a new headline.
13780 2012-01-03  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
13782         * org.el (org-refile-targets): Elaborated the documentation of
13783         the variable as suggested by Dave Abrahams.
13785 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
13787         * org.el (org-align-tags-here): Allow tags to be placed right
13788         after heading.
13789         (org-tags-column): Document the meaning of tags column 0.
13791 2012-01-03  Niels Giesen  <niels.giesen@gmail.com>
13793         * org-agenda.el (org-agenda-get-blocks): Show timestamp ranges
13794         in agenda if start day is same as end day.
13796 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13798         * org.el (org-refile-get-location): Ignore errors when
13799         collection heading to be excluded.
13801 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13803         * org-special-blocks.el
13804         (org-special-blocks-convert-html-special-cookies): Avoid XHTML
13805         strict problems by not enclosing special blocks in paragraph tags.
13807 2012-01-03  Bernt Hansen  <bernt@norang.ca>
13809         * org-html.el (org-export-as-html): Check string-match
13810         argument.
13811         (org-html-handle-time-stamps): Check string-match argument.
13813 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13815         * org-agenda.el
13816         (org-agenda-skip-additional-timestamps-same-entry):
13817         Change default value.
13819 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13821         * org.el (org-time-string-to-time):
13822         (org-time-string-to-absolute): Add optional arguments BUFFER and
13823         POS for error reporting.
13825         * org-agenda.el (org-get-all-dates):
13826         (org-agenda-get-timestamps, org-agenda-get-deadlines)
13827         (org-agenda-get-scheduled, org-agenda-get-blocks): Call time
13828         stamp parsing functions with information on where the
13829         timestamp was taken from.
13831 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13833         * org.el (org-tree-to-indirect-buffer): Run `org-cycle-hook'
13834         after `show-all' in indirect buffer.
13836 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13838         * org-list.el (org-list-parents-alist): When no parent is found
13839         for an item, set it as the closest less indented item above.
13840         If none is found, make it a top level item.
13841         (org-list-write-struct): Externalize code.
13842         (org-list-struct-fix-item-end): New function.
13843         (org-list-struct): Remove a now useless fix.
13845         * org.el (org-ctrl-c-ctrl-c): Use new function.
13847 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13849         * org.el (org-end-of-line): When on an item, move point at the
13850         end of the line, but before any hidden text.  Thus, it's still
13851         possible to use commands, like `C-c C-c', acting at
13852         items.  This is still disabled if `org-special-ctrl-a/e'
13853         ignores `C-e'.
13855 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13857         * org-footnote.el (org-footnote-renumber-fn:N): Small refactoring.
13859 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13861         * org-footnote.el (org-footnote-renumber-fn:N): Fix an
13862         infloop.
13864 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13866         * org-footnote.el (org-footnote-at-definition-p):
13867         Remove useless `org-re'.
13869 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13871         * org-footnote.el (org-footnote-renumber-fn:N): Verify point
13872         is at a real footnote reference or definition before
13873         renumbering it.
13875 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13877         * org-footnote.el (org-footnote-goto-definition): This patch
13878         makes sure the function says when a definition has been
13879         found.  Thus, moving from the reference to the definition
13880         doesn't offer to create the latter again.
13882 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13884         * org-footnote.el (org-footnote-create-definition):
13885         Explicitly move point after tag, if it has just been
13886         inserted.
13888 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13890         * ob-gnuplot.el (org-babel-execute:gnuplot): Don't quote file
13891         names on Windows systems.
13893 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13895         * org-footnote.el (org-footnote-create-definition): When the
13896         tag is missing, it is created before any existing footnote, or
13897         at end of buffer.  In the latter case, the marker pointing at
13898         the position where the new footnote is going to be inserted
13899         (at end of buffer) stays before the tag.  This patch makes
13900         sure that the marker will be kept after the tag.
13902 2012-01-03  Eli Zaretskii  <eliz@gnu.org>
13904         * org.el (org-mode): Force left-to-right paragraphs in Org
13905         buffers.  For a related discussions, see
13906         https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
13908 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13910         * ob-asymptote.el (org-babel-asymptote-define-type):
13911         Silence byte-compiler.
13913 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13915         * ob-R.el (org-babel-R-evaluate): Fix bug in R session
13916         evaluation.
13918 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13920         * org-bibtex.el (org-bibtex-type-property-name):
13921         Configurable property name for bibtex entry types.
13922         (org-bibtex-headline): Use new configurable property name.
13923         (org-bibtex-check): Use new configurable property name.
13924         (org-bibtex-create): Use new configurable property name.
13925         (org-bibtex-write): Use new configurable property name.
13927 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13929         * org.el (org-paste-subtree): Remove unnecessary `concat'.
13931 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13933         * org.el (org-paste-subtree): Remove useless (concat ...).
13935 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13937         * ob-C.el (org-babel-C-var-to-C): Replacing usage of
13938         characterp with integerp (which should work w/Emacs22).
13940 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13942         * org-footnote.el (org-footnote-at-definition-p): Context must
13943         be valid at the beginning of line, not at point.
13945 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13947         * ob-tangle.el (org-babel-tangle-collect-blocks):
13948         Better delimiting of Org-mode text preceding a code block.
13950 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13952         * ob.el (org-babel-get-src-block-info): Fixing bug,
13953         accidentally deleted variable values.
13955 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13957         * ob-tangle.el (org-babel-process-comment-text):
13958         Customizable function to process comment text.
13959         (org-babel-tangle-collect-blocks): Make use of new
13960         customizable processing function.
13961         (org-babel-spec-to-string): Call customizable function rather than
13962         `org-babel-trim'.
13964 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13966         * ob-R.el (org-babel-execute:R): Collect and pass along the
13967         result-params.
13968         (org-babel-R-evaluate): Accept result-params and if "scalar" or
13969         "verbatim" don't process output.
13970         (org-babel-R-evaluate-session): Accept result-params and if
13971         "scalar" or "verbatim" don't process output.
13973 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13975         * ob.el (org-babel-merge-params): Differentiate between result
13976         types and wrappers.
13978 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13980         * ob.el (org-babel-get-src-block-info): Check that
13981         functional-syntax variables are initialized.
13983 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13985         * ob.el (org-babel-check-src-block): Adding a note for a
13986         future enhancement.
13988 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13990         * org-exp.el (org-export): Restore point when exporting a subtree.
13992 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13994         * ob.el (org-babel-parse-src-block-match): More robust to code
13995         blocks with empty bodies.
13997 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13999         * ob.el (org-babel-parse-src-block-match): Don't error on empty
14000         code block body.
14002 2012-01-03  David Maus  <dmaus@ictsoc.de>
14004         * org.el (org-open-at-point): Unescape plain link.
14006 2012-01-03  David Maus  <dmaus@ictsoc.de>
14008         * org-html.el (org-html-handle-links): Remove unnecessary link
14009         unescape.
14011 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14013         * ob.el (org-babel-merge-params): Better error message for
14014         unassigned variables.
14016 2012-01-03  Christian Egli  <christian.egli@alumni.ethz.ch>
14018         * org-taskjuggler.el (org-export-as-taskjuggler): Clone the
14019         buffer local variables to the temporary buffer before
14020         exporting.
14022 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14024         * org-exp.el (org-export-select-backend-specific-text):
14025         Only remove commas on the front line of a code block.
14027 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14029         * ob.el (org-babel-demarcate-block): Copy headers and indent to
14030         column of point when a block is split.
14032 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14034         * ob.el (org-babel-insert-result): Corrected file insertion
14035         for inline results.
14037 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14039         * org-footnote.el (org-footnote-in-valid-context-p):
14040         No footnote in latex fragments.
14042 2012-01-03  Martin Rudalics  <rudalics@gmx.at>
14044         * org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
14045         argument from `pop-to-buffer-same-window' call.
14047 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14049         * ob-R.el (org-babel-R-evaluate-session): Improve prompt
14050         detection regexp.
14052 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14054         * org-inlinetask.el (org-inlinetask-goto-end):
14055         Small refactoring.
14057 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14059         * ob-asymptote.el (org-babel-asymptote-var-to-asymptote):
14060         refactor code.
14061         (org-babel-asymptote-table-to-array): Remove function.
14063 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14065         * ob-asymptote.el (org-babel-asymptote-var-to-asymptote):
14066         recognize non-nested lists as uni-dimensional arrays.
14068 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14070         * ob.el (org-babel-params-from-properties): Don't check for
14071         header arguments in properties with leading ":"s.
14073 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14075         * org-inlinetask.el (org-inlinetask-goto-end):
14076         Correctly detect the end of an inlinetask when the next one starts
14077         immediately after the current one.  Also, return position of
14078         point.
14080 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14082         * ob.el (org-babel-inline-src-block-regexp): Allow regexp to
14083         start at bol.
14085 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14087         * ob-asymptote.el (org-babel-asymptote-define-type):
14088         Elisp floats are asymptote reals.
14090 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14092         * ob-asymptote.el (org-babel-asymptote-table-to-array):
14093         Require a new argument TYPE specifying the detected type of
14094         array.  If it's a string array, make sure every element is
14095         returned as a string.  Also improve doc-string.
14096         (org-babel-asymptote-var-to-asymptote): Fill new argument.
14097         Small refactoring.
14098         (org-babel-asymptote-define-type): Rewrite to avoid stopping
14099         search at first float found, as strings have precedence over
14100         floats.
14102 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14104         * org-footnote.el (org-footnote-normalize): Be sure to separate
14105         the last footnote definition from the rest of the buffer.
14107 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14109         * ob-awk.el (org-babel-expand-body:awk): Allow for symbolic
14110         variable names.
14112 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14114         * org.el (org-latex-regexps): Allow matching latex fragments
14115         of type "$" and "$1" at beginning of line.
14117 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14119         * org-agenda.el (org-search-view, org-agenda-get-todos)
14120         (org-agenda-get-deadlines, org-agenda-get-scheduled):
14121         Add `category-pos' in let construct.
14123 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14125         * org-footnote.el (org-footnote-get-definition): The function has
14126         to widen buffer if definition has not been found in the current
14127         narrowed part.  Be sure to restore that restriction once the
14128         definition is found.
14130 2012-01-03  Michal Sojka  <sojka@os.inf.tu-dresden.de>  (tiny change)
14132         * org-icalendar.el (org-print-icalendar-entries): Make alarm
14133         duration RFC5545 compliant.
14135 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14137         * org-agenda.el (org-agenda-get-timestamps)
14138         (org-agenda-get-sexps, org-agenda-get-progress): Correctly set
14139         the `org-category-pos' property.
14141 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14143         * org-html.el (org-export-html-divs): Improve docstring.
14145 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
14147         * org-table.el (org-table-fix-formulas): Throw error when
14148         changing formula leads to an invalid formula.
14150 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14152         * org.el (org-archive-location): Minor docstring fix.
14154 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14156         * org.el (org-block-todo-from-checkboxes):
14157         `org-list-search-forward' should be used when looking for an
14158         item, as it filters out contexts where match couldn't be in a
14159         list.  Also use a correct item regexp, taking into account
14160         alphabetical ordered lists and counters.
14162 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14164         * org-html.el (org-html-make-link): Minor fix to the
14165         docstring.
14167 2012-01-03  Suvayu Ali  <fatkasuvayu+linux@gmail.com>  (tiny change)
14169         * org-inlinetask.el (org-inlinetask): New customizable face
14170         for inlinetasks.
14172 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14174         * org-agenda.el (org-agenda-get-todos): Properly set
14175         `category-pos'.
14177 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14179         * org-list.el (org-list-struct-apply-struct): Don't use
14180         (copy-marker (point)) instead of (point-marker).
14182 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14184         * ob.el (org-babel-where-is-src-block-result): Don't try to
14185         resolve variables when simply checking if we're inside of a
14186         code block.
14188 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14190         * org.el (org-refresh-category-properties): New text property
14191         'org-category-position to point at the beginning of the
14192         headline from which the category is set.
14194 2012-01-03  Matt Lundin  <mdl@imapmail.org>
14196         * org.el (org-refile): Don't call `org-back-to-heading' with
14197         goto argument.
14199 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14201         * org.el (org-link-display-descriptive): Remove this option and
14202         rely on the existing `org-descriptive-links' instead.
14203         (org-toggle-link-display): Use `org-descriptive-links'.
14205 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14207         * ob-ref.el (org-babel-ref-resolve): Allow matching of results
14208         with tags after the result name.
14210 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14212         * org-table.el (org-table-get-specials): Allow the use of the
14213         underscore character in column names.
14214         (org-table-get-specials): Allow the use of the underscore
14215         character in field names.
14217 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14219         * org-exp-blocks.el (org-export-blocks-preprocess):
14220         Explicitly cleaning up markers.
14222 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14224         * ob-exp.el (org-babel-exp-inline-src-blocks): Save match data
14225         around `org-babel-exp-do-export' which now searches in this case.
14226         (org-babel-exp-results): Position the point in the inline source
14227         block during export evaluation.
14229         * ob.el (org-babel-insert-result): More readable code.
14231 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14233         * org-exp-blocks.el (org-export-blocks-preprocess): Use the built
14234         in function rather than the superfluous (and now removed)
14235         org-specific function.
14237 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14239         * ob-exp.el (org-babel-exp-inline-src-blocks): Don't examplize
14240         inline code blocks which are already escaped.
14242 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14244         * org-exp-blocks.el (org-marker-from-point): Helper function to
14245         create markers at specific points in source buffers.
14246         (org-export-blocks-preprocess): Use markers instead of points
14247         to delimit code blocks.
14249 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14251         * org-list.el (org-list-separating-blank-lines-number):
14252         The behavior of `org-back-over-empty-lines' depends on the
14253         associated value of `headline' in
14254         `org-blank-before-new-entry', which is out of context in a
14255         list.
14257 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14259         * org-indent.el (org-indent-initialize-agent): When the current
14260         buffer isn't being watched, resume initialization of other watched
14261         buffers.  In that case, give hand to others idle timers or
14262         processes more frequently.
14263         (org-indent-agent-active-delay): Rename from
14264         `org-indent-agent-process-duration'.
14265         (org-indent-agent-passive-delay): New variable.
14266         (org-indent-agent-resume-delay): Change value.
14267         (org-indent-initialize-buffer): Change argument name.
14268         (org-indent-add-properties): Change argument name and type
14269         expected.  It must be a time value now.
14271 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14273         * org.el (org-set-property): Bugfix.
14275 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14277         * ob.el (org-babel-remove-result): Idempotent code block
14278         evaluation and result removal.
14280 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14282         * ob-ruby.el (org-babel-ruby-initiate-session): No longer
14283         require inf-ruby when no session evaluation takes place.
14285 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14287         * org-agenda.el (org-agenda-prefix-format): Mention "%e" in
14288         the docstring.
14290 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
14292         * org-agenda.el (org-agenda-custom-commands): Set a default
14293         value for this command.
14295 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
14297         * org-agenda.el (org-agenda-include-all-todo): Declare this option
14298         as no longer working.
14299         (org-timeline): Rename the include-all argument to dotodo.
14300         (org-arg-loc): Rename from` org-include-all-loc'.
14301         (org-agenda-list): Rename the INCLUDE-ALL argument to ARG,
14302         because its function has changed.
14304 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14306         * org.el (org-fixup-indentation): Fix various small bugs.
14308 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14310         * org-indent.el (org-indent-agent-timer)
14311         (org-indent-agentized-buffers, org-indent-agent-resume-timer)
14312         (org-indent-agent-process-duration)
14313         (org-indent-agent-resume-delay): New variables.
14314         (org-indent-initial-marker): More accurate doc-string.
14315         (org-indent-initial-timer, org-indent-initial-resume-timer)
14316         (org-indent-initial-process-duration)
14317         (org-indent-initial-resume-delay)
14318         (org-indent-initial-lock): Remove variables.
14319         (org-indent-mode): Set up an agent to watch current buffer, or
14320         add it to the list of already watched buffers.
14321         (org-indent-initialize-agent): New function.
14322         (org-indent-initialize-buffer): Now requires a mandatory
14323         buffer argument.
14324         (org-indent-add-properties): Reflect changes to variables.
14325         The resume timer is now global.
14327 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14329         * org-footnote.el (org-footnote-normalize): Refactor, and fix
14330         some blank lines deletion.
14332 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14334         * org-indent.el (org-indent-mode):
14335         `org-indent-initial-resume-timer ' needs to be local.
14337 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14339         * org.el (org-fixup-indentation): Correctly indent meta lines.
14341 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14343         * org-indent.el (org-indent-set-line-properties): Add text
14344         properties down to the beginning of the next line.
14345         (org-indent-add-properties): When last position to add
14346         properties to is at the beginning of a line, all that line
14347         will have properties.
14349 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14351         * org-indent.el (org-indent-initial-resume-timer): New variable.
14352         (org-indent-initialize-buffer): Also resume after a small break.
14353         (org-indent-add-properties): When in asynchronous mode,
14354         proceed for 2 seconds, then take a break.
14356 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14358         * org-indent.el (org-indent-set-line-properties): New function.
14359         (org-indent-add-properties): Externalize worker function.
14361 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14363         * org-indent.el (org-indent-indent-buffer): Take into account
14364         narrowing.
14366 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14368         * org-indent.el (org-indent-modified-headline-flag): Rename from
14369         `org-indent-deleted-headline-flag'
14370         (org-indent-notify-modified-headline): Rename from
14371         `org-indent-notify-deleted-headline'.  Handle situations when
14372         the stars of an headline are modified.
14373         (org-indent-refresh-maybe): Remove case now handled by
14374         previous function.
14375         (org-indent-mode): Apply renames.
14377 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14379         * org-indent.el (org-indent-inlinetask-first-star):
14380         New variable.
14381         (org-indent-add-properties): Set the first star of inline-tasks'
14382         virtual indentation in `org-warning' face.
14384         * org-inlinetask.el (org-inlinetask-insert-task): Create a new
14385         inline-task slightly differently, so virtual indentation can
14386         be applied normally.
14388 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14390         * org-indent.el (org-indent-initial-marker)
14391         (org-indent-initial-timer, org-indent-initial-lock):
14392         New variables.
14393         (org-indent-mode): At initialization, start an idle timer to indent
14394         the whole buffer.  When the user is asking for control, interrupt the
14395         process, and resume at the same point when idle again.
14396         (org-indent-initialize-buffer): New function.
14397         (org-indent-add-properties): Throw an interrupt when indentation of
14398         buffer is stopped during initialization.
14400 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14402         * org-indent.el (org-indent-indent-buffer): Send more
14403         appropriate messages.
14405 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14407         * org-indent.el (org-indent-notify-deleted-headline)
14408         (org-indent-refresh-maybe): Replace `org-indent-outline-re'
14409         with `org-outline-regexp-bol'.
14411 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14413         * org-indent.el (org-indent-max-levels): Modify default value and
14414         add comment.
14415         (org-indent-add-properties): Pay attention to `org-indent-max'
14416         and `org-indent-max-levels' values.
14417         (org-indent-refresh-maybe): Refactor code to avoid an unnecessary
14418         save excursion.
14420 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14422         * org-table.el (org-table-align): Remove now useless hack.
14424 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14426         * org-indent.el (org-indent-fix-section-after-idle-time):
14427         Remove variable.
14428         (org-indent-initialize): Remove timer.
14429         (org-indent-add-properties): Refactor code.
14430         (org-indent-refresh-subtree, org-indent-refresh-section)
14431         (org-indent-refresh-buffer, org-indent-set-initial-properties):
14432         Remove functions.
14433         (org-indent-deleted-headline): New variable.
14434         (org-indent-notify-deleted-headline, org-indent-refresh-maybe):
14435         New functions.
14436         (org-indent-mode): Insert new functions into a hook.
14438 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14440         * org-indent.el (org-indent-mode): Completely refresh buffer
14441         before starting org-indent-mode.  Also set idle timer to refresh
14442         only visible portion of buffer, and refresh the subtree instead of
14443         section when promoting or demoting it.
14444         (org-indent-add-properties): Rewrite function to proceed line by
14445         line, as required by `wrap-prefix' specificity.
14446         (org-indent-refresh-section, org-indent-refresh-subtree): Refactor.
14447         (org-indent-refresh-view): New function.
14448         (org-indent-refresh-to, org-indent-refresh-section):
14449         Remove functions.
14451         * org.el (org-unfontify-region): Do not remove prefix
14452         properties when unfontifying a region.
14454 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14456         * org-colview.el (org-columns-cleanup-item): Correctly remove
14457         leading stars in items displayed in the agenda column view.
14459 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14461         * org-colview.el (org-columns-display-here): Clean up items in
14462         `org-agenda-mode' too.
14463         (org-columns-cleanup-item): Take a new argument CPHR to allow
14464         passing a complex heading regexp.  Rewrite to cleanup ITEM
14465         correctly in `org-agenda-mode'.
14467 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14469         * org-clock.el (org-duration-string-to-minutes)
14470         (org-minutes-to-hh:mm-string, org-hh:mm-string-to-minutes):
14471         Move from org.el.
14473 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14475         * org.el (org-refile-active-region-within-subtree): New option to
14476         allow refiling a region that is part of a subtree without
14477         containing a subtree itself.  This default to `nil'.
14478         (org-refile): Use the new option.  Put point at the beginning
14479         of the region/subtree to be refiled, so that users understand
14480         what will be refiled.  Also improve the prompt to tell whether
14481         the user is refiling a region or a headline.
14483 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14485         * org.el (org-properties-postprocess-alist): New option to allow
14486         postprocessing the values of properties set through
14487         `org-set-property'.
14488         (org-set-property): Use this option.
14490 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14492         * org.el (org-outline-regexp, org-outline-regexp-bol): Add a
14493         docstring.
14495 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14497         * org-archive.el (org-archive-to-archive-sibling):
14498         Use `org-outline-regexp' instead of `outline-regexp'.
14500 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14502         * org.el (org-between-regexps-p): Searching up to pos may
14503         match again beginning regexp.
14505 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14507         * org-footnote.el (org-footnote-goto-definition): Don't send
14508         erroneous message: suggested bindings might not be set outside
14509         Org.
14511 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14513         * org-footnote.el (org-footnote-normalize): Effectively remove
14514         any footnote tag in non Org buffers, as detailled in the
14515         docstring of `org-footnote-tag-for-non-org-mode-files'.
14517 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14519         * org-footnote.el (org-footnote-tag-for-non-org-mode-files):
14520         notify the opportunity to set the variable to the empty string.
14521         (org-footnote-normalize, org-footnote-create-definition):
14522         Carefully check for inserted newlines and presence of the
14523         footnote tag.
14525 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14527         * org-footnote.el (org-footnote-at-definition-p): Re-use
14528         `org-footnote-definition-re'.
14530 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14532         * org-footnote.el (org-footnote-definition-re): Remove an
14533         useless group.
14534         (org-footnote-at-definition-p): Reflect removal of the group.
14536 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14538         * org.el (org-set-regexps-and-options): Enforce white space
14539         after todo keyword, as word boundary isn't sufficient (i.e. in
14540         matches * TODO/this).
14542 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
14544         * org-inlinetask.el (org-inlinetask-export-templates):
14545         Fix template for html so that the exported file is valid
14546         xhtml.  Added template for odt.
14547         (org-inlinetask-export-handler): Fix typo in the regexp that
14548         trims content.  Make sure that the content is flanked by
14549         paragraph boundaries on either side.
14551 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14553         * org.el (org-add-planning-info): Don't insert superfluous
14554         space when updating timestamps.
14556 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14558         * org-agenda.el (org-cmp-effort): Fix docstring.
14560 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14562         * org-list.el (org-list-full-item-re): When an item has only a
14563         bullet and no space after it, list structure would not be
14564         recognized correctly.
14566 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14568         * org.el (org-overview): Use `outline-regexp' instead of
14569         `org-outline-regexp' so that global cycling using
14570         `orgstruct-mode' works outside of Org buffers.
14572 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14574         * org-table.el (org-table-eval-formula): Fix missing variable
14575         in let construct.
14576         (org-table-time-string-to-seconds): Fix missing variable in
14577         let construct.
14579 2012-01-03  Michael Brand  <michael.ch.brand@gmail.com>
14581         * org-agenda.el (org-agenda-get-deadlines): Fix dfrac for the
14582         case of wdays being 0.  Don't pass wdays to
14583         org-agenda-deadline-face, like before the old fix.
14584         (org-agenda-deadline-face): Revert to old state that was without
14585         wdays.
14587 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14589         * org-latex.el (org-export-latex-fixed-width): Only add one
14590         line break after exporting verbatim environments.
14592 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14594         * org-list.el (org-list-item-trim-br): New function.
14595         (org-list-to-generic): New parameter :nobr to use the new
14596         function.
14598 2012-01-03  David Maus  <dmaus@ictsoc.de>
14600         * org.el (org-paste-subtree): Fix wrong order of lines to move
14601         before pasting.
14603 2012-01-03  David Maus  <dmaus@ictsoc.de>
14605         * org.el (org-paste-subtree): Paste subtree above target
14606         headline if point is at bol.
14608 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14610         * org-list.el (org-toggle-checkbox): Don't clear lim-down
14611         while used in the while loop.
14613 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14615         * org-list.el (org-toggle-checkbox): Lim-down must be a
14616         marker.
14618 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14620         * org.el (org-activate-code): Correct regexp so ":.*" isn't
14621         matched.
14623 2012-01-03  David Maus  <dmaus@ictsoc.de>
14625         * org-macs.el (org-with-gensyms, org-called-interactively-p)
14626         (with-silent-modifications, org-bound-and-true-p)
14627         (org-unmodified, org-re, org-preserve-lc)
14628         (org-without-partial-completion, org-with-point-at)
14629         (org-no-warnings, org-if-unprotected, org-if-unprotected-1)
14630         (org-if-unprotected-at, org-with-remote-undo)
14631         (org-no-read-only, org-save-outline-visibility)
14632         (org-with-wide-buffer, org-with-limited-levels)
14633         (org-eval-in-environment): Provide edebug specifications.
14635         * org-src.el (org-src-do-at-code-block): Dto.
14637         * org-publish.el (org-publish-with-aux-preprocess-maybe): Dto.
14639         * org-compat.el (org-xemacs-without-invisibility): Dto.
14641         * org-clock.el (org-with-clock-position, org-with-clock): Dto.
14643         * org-agenda.el (org-agenda-with-point-at-orig-entry)
14644         (org-batch-agenda, org-batch-agenda-csv)
14645         (org-batch-store-agenda-views): Dto.
14647         * ob.el (org-babel-do-in-edit-buffer)
14648         (org-babel-map-src-blocks, org-babel-map-inline-src-blocks): Dto.
14650         * ob-tangle.el (org-babel-with-temp-filebuffer): Dto.
14652         * ob-table.el (sbe): Dto.
14654         * ob-exp.el (org-babel-exp-in-export-file): Dto.
14656         * ob-comint.el (org-babel-comint-in-buffer)
14657         (org-babel-comint-with-output): Dto.
14659 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14661         * org-inlinetask.el (org-inlinetask-export-templates):
14662         Fix docstring.
14664 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14666         * org-inlinetask.el (org-inlinetask-insert-task): Error when
14667         trying to nest inline tasks.
14669 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14671         * org.el (org-activate-code, org-toggle-fixed-width-section)
14672         (org-indent-line-function): Allow "[ \t]*:$" as a special case of
14673         fixed-width section.
14675 2012-01-03  David Maus  <dmaus@ictsoc.de>
14677         * org.el (org-paste-subtree): Don't eat headline when called
14678         with point at existing headline.
14680 2012-01-03  David Maus  <dmaus@ictsoc.de>
14682         * org.el (org-paste-subtree): Fix typo in variable name.
14684 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
14686         * org-inlinetask.el (org-inlinetask-export-handler):
14687         Don't export inline tasks if the current backend has provided no
14688         entries in `org-inlinetask-export-templates'.
14690 2012-01-03  Valentin Wüstholz  <wuestholz@gmail.com>  (tiny change)
14692         * org.el (org-indent-line-function): Made the way in which
14693         example blocks are indented more flexible.
14695 2012-01-03  David Maus  <dmaus@ictsoc.de>
14697         * org-agenda.el (org-batch-agenda-csv): Fix argument to append
14698         when creating final parameter alist.
14700 2012-01-03  David Maus  <dmaus@ictsoc.de>
14702         * org-agenda.el (org-batch-store-agenda-views): Use macro
14703         `org-eval-in-environment'.
14705 2012-01-03  David Maus  <dmaus@ictsoc.de>
14707         * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
14708         Use `org-eval-in-environment.
14710 2012-01-03  David Maus  <dmaus@ictsoc.de>
14712         * org-macs.el (org-make-parameter-alist): New function.
14713         Turn flat list of alternating symbol names and values into an alist
14714         with symbol name in car and value in cdr.
14716 2012-01-03  David Maus  <dmaus@ictsoc.de>
14718         * org-agenda.el (org-agenda-with-point-at-orig-entry):
14719         Use macro `org-with-gensyms'.
14721 2012-01-03  David Maus  <dmaus@ictsoc.de>
14723         * org-macs.el (org-substitute-posix-classes):
14724         New function.  Substitute posix classes in regular expression.
14725         (org-re): Use new function.
14727 2012-01-03  David Maus  <dmaus@ictsoc.de>
14729         * org-macs.el (org-eval-in-environment): New macro.  Evaluate FORM
14730         in ENVIRONMENT.
14732 2012-01-03  David Maus  <dmaus@ictsoc.de>
14734         * org-macs.el (org-preserve-lc, org-with-point-at)
14735         (org-with-remote-undo, org-save-outline-visibility): Use new
14736         macro `org-with-gensyms'.
14738 2012-01-03  David Maus  <dmaus@ictsoc.de>
14740         * org-macs.el (org-with-gensyms): New macro.  Wrap let-binding
14741         of SYMBOLS to new uninterned symbols around BODY.
14743 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14745         * org-inlinetask.el (org-inlinetask-export-handler): Make sure
14746         the task starts a paragraph or the HTML exporter will produce
14747         an incorrect output.
14749 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14751         * org.el (org-return): When filling happens, `newline' can
14752         change match data, hence modifying the indent column.
14754 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14756         * org-footnote.el (org-footnote-new): Only forbid non-inlined
14757         footnotes at column 0, as only them can be confused with a
14758         footnote definition.
14760 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14762         * org-footnote.el (org-footnote-new): Use `ido' or `iswitchb'
14763         when available when prompted for a label.  Also rename a local
14764         variable to avoid confusion with an existing function.
14766 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14768         * org-footnote.el (org-footnote-label-history):
14769         Remove variable
14770         (org-footnote-new): Remove call to that variable.
14772 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14774         * org.el (org-insert-heading): With `force-heading' non-nil,
14775         inserting an heading before any headline, and just after a
14776         list would return an error.
14778 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14780         * ob.el (org-babel-sha1-hash): Remove use of `copy-seq'.
14782 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14784         * org-bibtex.el (org-bibtex-get): Make the "FILE" property
14785         non-special when resolving bibtex values.
14787 2012-01-03  David Maus  <dmaus@ictsoc.de>
14789         * org.el (org-back-over-empty-lines): Don't move line upward
14790         if point is at eob.
14792 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14794         * org-footnote.el (org-footnote-in-valid-context-p):
14795         Check `org-protected' property before allowing to match a footnote.
14796         (org-footnote-at-reference-p): Remove an obsolete test.  It is now
14797         done in the previous function.
14799 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14801         * org.el (org-between-regexps-p): Previous name implied the
14802         function was related to blocks, which isn't mandatory.
14803         (org-narrow-to-block, org-in-block-p)
14804         (org-indent-line-function): Applied the rename.
14806         * ob-exp.el (org-babel-in-example-or-verbatim):
14807         Applied rename.  Also removed a white space.
14809 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14811         * org.el (org-in-regexps-block-p): Return an useful value when
14812         point is between START-RE and END-RE.  No incomplete block is
14813         allowed anymore.  Add another optional argument to bound the
14814         bottom part of the search.
14815         (org-narrow-to-block, org-in-block-p): Apply modifications.
14817 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14819         * ob.el (org-babel-src-block-regexp): If a code block has a
14820         body, its last character must be a newline.
14822 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14824         * org-footnote.el (org-footnote-next-reference-or-definition):
14825         If no more footnote is found, be sure to go back to the
14826         original position.  Otherwise, point might be left on a
14827         footnote-like element that has been dished out.
14829 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14831         * ob-exp.el (org-babel-inline-src-block-regexp): Declare this
14832         variable.
14834         * ob.el (defvar): Wrap variable declaration in
14835         `eval-when-compile'.
14837 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14839         * ob-keys.el (org-babel-key-bindings): Bound to `C-c C-v k'.
14841 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14843         * ob-java.el (org-babel-execute:java): Allow cmdline flags
14844         during compilation and evaluation.
14846 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
14848         * ob.el (org-babel-expand-body:generic, org-babel-number-p):
14849         * ob-ref.el (org-babel-ref-parse): Fix typos.
14851 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
14853         * ob.el (org-babel-execute-src-block): Fix typo.
14855 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
14857         * org.el (org-link-unescape, org-link-unescape-compound): Fix typos.
14859 2011-11-20  Andreas Schwab  <schwab@linux-m68k.org>
14861         * org-list.el (org-list-send-item): Use sort instead of sort*.
14863 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
14865         * org-table.el (org-table-line-to-dline): Fix typo.
14867 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
14869         * org-agenda.el (org-agenda-add-entry-text-descriptive-links)
14870         (org-agenda-custom-commands, org-write-agenda, org-check-for-org-mode)
14871         (org-search-syntax-table, org-modify-diary-entry-string)
14872         (org-write-agenda):
14873         * org-bbdb.el (org-bbdb-anniv-export-ical):
14874         * org-bibtex.el (org-bibtex-fields):
14875         * org-icalendar.el (org-icalendar-date-time-format):
14876         * org-latex.el (org-export-latex-inline-image-extensions):
14877         * org-list.el (org-list-insert-item): Fix typos.
14879 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
14881         * org-plot.el (org-plot/gnuplot-to-grid-data): Fix typo in docstring.
14883 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
14885         * org.el (org-mode): Force left-to-right paragraphs in Org
14886         buffers.  For a related discussions, see
14887         https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
14889 2011-09-17  Juanma Barranquero  <lekktu@gmail.com>
14891         * org.el (org-toggle-pretty-entities): Fix typo in message.
14893 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
14895         * org-compat.el (org-pop-to-buffer-same-window): Delete.
14897         * ob-ref.el (org-babel-ref-goto-headline-id):
14898         * org.el (org-get-location, org-tree-to-indirect-buffer)
14899         (org-mark-ring-goto, org-refile, org-add-log-note)
14900         (org-revert-all-org-buffers, org-switchb)
14901         (org-cycle-agenda-files, org-submit-bug-report)
14902         (org-goto-marker-or-bmk):
14903         * org-agenda.el (org-prepare-agenda, org-agenda-switch-to):
14904         * org-capture.el (org-capture-goto-target)
14905         (org-capture-fill-template):
14906         * org-clock.el (org-clock-goto):
14907         * org-ctags.el (org-ctags-visit-buffer-or-file):
14908         * org-exp.el (org-export-as-org):
14909         * org-feed.el (org-feed-show-raw-feed):
14910         * org-html.el (org-export-htmlize-generate-css):
14911         * org-id.el (org-id-goto):
14912         * org-irc.el (org-irc-visit-erc):
14913         * org-mobile.el (org-mobile-apply):
14914         * org-publish.el (org-publish-org-to, org-publish-find-date):
14915         * org-remember.el (org-go-to-remember-target):
14916         * org-src.el (org-src-switch-to-buffer)
14917         (org-edit-fixed-width-region): Use switch-to-buffer.
14919 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
14921         * org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
14922         argument from pop-to-buffer-same-window call.
14924 2011-07-30  Carsten Dominik  <carsten.dominik@gmail.com>
14926         * ob.el (org-babel-src-block-regexp): If a code block has a body,
14927         its last character must be a newline.
14929 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14931         * org-pcomplete.el: New file.  Rename from org-complete.el.
14932         * org-complete.el: Delete file.
14934 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14936         * org-publish.el (org-publish-index-generate-theindex):
14937         Rename from `org-publish-index-generate-theindex.inc'.  Use the file
14938         theindex.org directly instead of including theindex.inc.
14939         (org-publish-projects): Don't delete .orgx files.
14940         (org-publish-aux-preprocess): Use .file.orgx.
14942 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14944         * org-html.el (org-export-html-preamble-format): New default for
14945         the HTML preamble: don't include the title.  Also improve the
14946         docstring.
14947         (org-export-html-postamble-format): Improve the docstring.
14948         (org-export-as-html): Add the title within the "content" div.
14949         This is necessary for interaction with the org-info.js script.
14951 2011-07-28  Michael Brand  <michael.ch.brand@gmail.com>
14953         * org-table.el (org-table-edit-field): Display field coordinates.
14955 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14957         * org-publish.el (org-publish-find-title): Bugfix: kill buffers
14958         unless they were already visited.
14959         (org-sitemap-sort-files, org-sitemap-sort-folders)
14960         (org-sitemap-ignore-case, org-sitemap-requested)
14961         (org-sitemap-date-format, org-sitemap-file-entry-format):
14962         Use a correct prefix.
14963         (org-publish-projects): Make sure to delete .orgx files.
14964         (org-publish-index-generate-theindex.inc): Small docstring fix.
14966 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14968         * org-table.el (org-table-duration-custom-format): New defcustom
14969         to select output format of durations computations.
14970         (org-table-time-seconds-to-string): Use the new variable.
14971         (org-table-eval-formula): Allow `t' as a flag, on top of `T'.  `t'
14972         will use the custom output format defined in
14973         `org-table-duration-custom-format'.
14975 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14977         * org-list.el: Search blank lines down to the end of the item
14978         instead of stopping at the item, in order to possibly match such
14979         lines within the item.
14981 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14983         * org-latex.el (org-export-latex-href-format): Docstring fix to
14984         reflect the fact that you can use only one "%s".
14985         (org-export-latex-links): Allow `org-export-latex-href-format' to
14986         have only one "%s".
14988 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
14990         * org.el (org-org-menu): Add `org-copy-visible' to the menu.
14992 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
14994         * org.el (org-copy-visible): New command.
14996 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14998         * org-capture.el (org-capture-templates): Docstring fix.
15000 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15002         * ob.el (org-babel-view-src-block-info): New function to inspect
15003         code blocks.
15005         * ob-keys.el (org-babel-key-bindings): Key bindings for
15006         `org-babel-view-src-block-info'.
15008 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15010         * org-exp.el (org-infile-export-plist): Handle recursively
15011         included setup files.  The value of the last included file always
15012         takes precedence over previous values.
15014 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15016         * org.el (org-timestamp-change): Keep point in the same category
15017         when updating a time-stamp.  This requires to be careful, as,
15018         depending on the locale, name of day might change of length during
15019         the process.
15021 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15023         * org-footnote.el (org-footnote-create-definition): When skipping
15024         already written footnotes definition, the algorithme would assume
15025         each one was only one-line long.
15027 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15029         * org-table.el (org-table-eval-formula): Fix bug when a formula
15030         "range" is just one cell.
15031         (org-table-time-string-to-seconds): Don't check whether we
15032         manipulate a string.
15034 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15036         * org-exp.el (org-export-mark-list-end)
15037         (org-export-mark-list-properties): Don't remove the ending regexp
15038         when it consists in blank lines.
15040         * org-list.el (org-list-parse-list): Ditto, but remove it
15041         completely when it isn't made of blank lines (i.e. during export
15042         process).
15044 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15046         * org-table.el (org-table-time-string-to-seconds): Match either
15047         HH:MM:SS or HH:MM (instead of MM:SS).
15049 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15051         * org.el (org-ctrl-c-ctrl-c-final-hook): New hook to be run when
15052         `org-ctrl-c-ctrl-c' cannot do anything useful in the given
15053         context.
15055 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15057         * org-html.el (org-export-html-with-timestamp)
15058         (org-export-html-html-helper-timestamp): These are obsolete
15059         variables as of Org version 7.7 as you can already export the
15060         timestamp from the preamble or the postamble.
15061         (org-export-html-before-content-div): Delete variable.
15062         (org-export-html-content-div): Obsolete variable as of 7.7.
15063         (org-export-html-divs): New variable to define divs used in
15064         HTML export.
15065         (org-export-as-html): Now the preamble and the postamble are
15066         surrounded by a <div ...>.  The name of the div is defined through
15067         `org-export-html-divs'.
15069 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15071         * org-table.el (org-table-eval-formula): Throw an error when
15072         trying to replace complex range with invalid references.
15074 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15076         * org-macs.el (org-with-limited-levels): Some functions, like
15077         `org-back-to-heading', being deeply based on outline-mode, still
15078         refer to `outline-regexp' instead of `org-outline-regexp'.
15080 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15082         * org.el (org-refile-get-targets): New optional argument
15083         `excluded-entries' to exclude entries from the targets.
15084         (org-refile-get-location): From an org-mode buffer, exclude
15085         current heading and subheadings from the list of targets when
15086         `org-refile-use-cache' is nil.
15088 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15090         * org.el (org-imenu-get-tree): Headlines start at bol.
15092 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15094         * ob-maxima.el: New file.  Fixed self-proclaimed file name.
15096 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15098         * ob.el (org-babel-sha1-hash): Only call `copy-seq' on proper
15099         lists.
15101 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15103         * org.el (org-kill-is-subtree-p): Matched string needs to start at
15104         bol.
15106 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15108         * org.el (org-paste-subtree, org-kill-is-subtree-p)
15109         (org-yank-folding-would-swallow-text, org-yank-generic):
15110         Use `org-with-limited-levels' macro.
15112 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15114         * org-macs.el (org-with-limited-levels): Also modify, when
15115         appropriate, `org-outline-regexp-at-bol'.
15117 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15119         * org.el (org-timestamp-change): Some locales don't use the same
15120         length for date abbreviations.  Set a marker at origin in case
15121         length of new timestamp is different.
15123 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15125         * org.el (org-imenu-get-tree): Browse only true headlines.
15127 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15129         * org-archive.el (org-archive-subtree): While it might be possible
15130         to archive an headline of a temporary buffer (i.e. not visiting a
15131         file), it wouldn't be really sensible.
15133 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15135         * org-archive.el (org-extract-archive-file)
15136         (org-extract-archive-heading, org-archive-subtree):
15137         `buffer-file-name' is nil in an indirect buffer.  Thus, use
15138         `(buffer-file-name (buffer-base-buffer))', which will, in any
15139         case, return the file name.
15141 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15143         * org-capture.el (org-capture): If dired isn't loaded,
15144         `dired-buffers' isn't defined, and %F will fail.
15146 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15148         * ob-java.el (org-babel-execute:java): Don't create empty package
15149         directories.
15151 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15153         * ob-java.el: New file.
15155 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15157         * ob.el (org-babel-execute-src-block): Replace call to defunct
15158         function `org-babel-result-hash'.
15160 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15162         * org-footnote.el (org-footnote-in-valid-context-p): Avoid cited
15163         lines and headers in `message-mode'.
15164         (org-footnote-at-reference-p): Remove check for cited lines, this
15165         is now handled by the previous function.  Refactor.
15167 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15169         * org-capture.el (org-capture): If no file is associated to
15170         current buffer, check dired buffer and try to retrieve a possibly
15171         directory associated.
15173 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15175         * ob-exp.el (org-babel-exp-results): Resolve hashes in the current
15176         (not original) file buffer.
15178         * ob.el (org-babel-current-result-hash): More informative name,
15179         and remove useless optional argument.
15181 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15183         * org.el (org-refile-get-location): Exclude current heading from
15184         the refile table.
15186 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15188         * org-footnote.el (org-footnote-at-reference-p): Test if match is
15189         in cited text, when replying to a message.
15190         (org-footnote-new): Do not create a new footnote at bol, as it
15191         might be seen as a definition.
15192         (org-footnote-at-definition-p): Ignore definitions in forbidden
15193         blocks, as it is already the case for references.
15195 2011-07-28  Matt Lundin  <mdl@imapmail.org>
15197         * org-bibtex.el (org-bibtex-create, org-bibtex-write):
15198         Change argument of `org-toggle-tag' to 'on.  (Other arguments, e.g., t,
15199         have no effect).
15201 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15203         * org-bibtex.el (org-bibtex-get): Don't let trimming turn nils
15204         into empty strings.
15206 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15208         * org-list.el (org-list-insert-item): Actualize code comments.
15209         (org-insert-item): For consistency, point cannot be moved at a
15210         surprising place when the user is being asked to choose a new
15211         description term to insert in the list.  Point should stay where
15212         the user called the command.
15214 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15216         * org.el (org-outline-regexp-bol): New defconst.
15217         (org-outline-level, org-set-font-lock-defaults, org-cycle)
15218         (org-overview, org-content, org-flag-drawer)
15219         (org-first-headline-recenter, org-insert-todo-heading)
15220         (org-map-region, org-move-subtree-down, org-paste-subtree)
15221         (org-kill-is-subtree-p, org-context-p, org-refile)
15222         (org-refile-new-child, org-toggle-comment, org-todo)
15223         (org-add-planning-info, org-add-log-setup, org-scan-tags)
15224         (org-set-tags, org-insert-property-drawer)
15225         (org-prepare-agenda-buffers, org-preview-latex-fragment)
15226         (org-speed-command-default-hook, org-check-for-hidden)
15227         (org-toggle-item, org-toggle-heading)
15228         (org-indent-line-function, org-set-autofill-regexps)
15229         (org-fill-paragraph, org-toggle-fixed-width-section)
15230         (org-yank-generic, org-yank-folding-would-swallow-text)
15231         (org-first-sibling-p, org-goto-sibling)
15232         (org-goto-first-child, org-show-entry):
15233         Use `org-outline-regexp' and `org-outline-regexp-bol'.
15235 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15237         * org.el (org-update-parent-todo-statistics): COOKIE_DATA should
15238         be checked for parent, not current headline.  Also, this function
15239         doesn't need to be interactive.
15241 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15243         * org-list.el (org-list-send-item, org-list-struct-apply-struct)
15244         (org-apply-on-list, org-toggle-checkbox): Make markers point
15245         nowhere when they have become useless.
15247 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15249         * org-list.el (org-list-insert-item): When insertion point is in
15250         some white line after the end of the list, remove all unnecessary
15251         white lines there before proceeding.  Also refactor a snippet of
15252         code.
15254 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15256         * org-latex.el (org-export-latex-image-default-option):
15257         Change default value.
15259 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15261         * org.el (org-fontify-meta-lines-and-blocks-1): Blocks cannot be
15262         correctly fontified when the buffer is missing a final newline.
15264 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15266         * ob.el (org-babel-strip-protective-commas): Return `nil' instead
15267         of an error if no argument is given.
15268         (org-babel-parse-src-block-match): Make sure body is defined in
15269         the let construct.
15271 2011-07-28  Jon Anders Skorpen  <jonas@ifi.uio.no>  (tiny change)
15273         * org-publish.el (org-publish-cache-file-needs-publishing):
15274         Regexp did not find includes with double quoted file names.
15276 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15278         * org-footnote.el (org-footnote-normalize): Footnote section
15279         should be inserted only if there are footnotes to insert.
15281 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15283         * org-footnote.el (org-footnote-at-definition-p)
15284         (org-footnote-normalize): Do not grab signature in the definition
15285         of the last footnote.
15287 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15289         * org-bibtex.el (org-babel-trim): Declare this function to the
15290         compiler.
15291         (org-bibtex-get): Trimming whitespace off of bibtex fields read from
15292         properties.
15294 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15296         * org-exp.el (org-export-preprocess-string): Add the possibility
15297         to call recursively the function.  Also change order of some
15298         function calls.  Comment export process for footnotes.
15300         * org-footnote.el (org-footnote-normalize): Change the export
15301         specific parameter to hold properties of export.  Thus, the
15302         function can send every footnote definition in the buffer through
15303         `org-export-process-string'.
15305 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15307         * org-latex.el (org-export-latex-preprocess): First insert
15308         footnotes in the temporary buffer so their contents can properly
15309         be protected from further transformations if required.
15311 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15313         * org-list.el (org-list-indent-offset): New variable.
15314         (org-list-struct-fix-ind): Make use of the new variable.
15316 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15318         * org-latex.el (org-export-latex-list-parameters):
15319         Complete default value with cbtrans option.
15321         * org-list.el (org-list-to-latex): Set a more consistent default
15322         value.
15324 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15326         * org-list.el (org-list-swap-items): Move it to a meaningful
15327         position in source code (i.e. before any function using it), and
15328         rename it to an easier name.
15330 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15332         * org-list.el (org-list-separating-blank-lines-number): If there
15333         are blank lines already in the whole list, add a blank line.
15335 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15337         * org-list.el (org-list-use-circular-move): New variable.
15338         (org-previous-item, org-next-item): Make use of the new variable.
15339         (org-move-item-down, org-move-item-up): Make use of the new
15340         variable.  Simplify code.
15342 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15344         * org-list.el (org-list-delete-item, org-list-send-item):
15345         New functions.
15347 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15349         * org-agenda.el (org-agenda-bulk-custom-functions): New variable
15350         for custom bulk action functions.
15351         (org-agenda-bulk-action): Use it.
15353 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15355         * org-latex.el (org-export-latex-quotes): New defcustom.
15356         (org-export-latex-quotation-marks): Use it.
15358 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15360         * org-capture.el (org-capture-finalize): Bugfix about inserted
15361         blank line when killing the capture buffer and
15362         `org-blank-before-new-entry' tells to not insert anything before a
15363         heading.
15365 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15367         * org-html.el (org-export-html-content-div): Rename from
15368         `org-export-content-div'.
15369         (org-export-as-html): Use new name.
15371 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15373         * org-latex.el (org-export-latex-header-defs-re): Delete.
15375 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15377         * org.el (org-last-set-property): New variable.
15378         (org-read-property-name): Use the new variable: the prompt
15379         defaults to the last property set, unless there is a property in
15380         the line at point.
15382 2011-07-28  David Maus  <dmaus@ictsoc.de>
15384         * org-capture.el (org-capture-before-finalize-hook)
15385         (org-capture-after-finalize-hook, org-capture-mode-map)
15386         (org-capture-mode, org-capture-goto-last-stored): Fix docstring,
15387         consistently refer to capture, not remember.
15389 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15391         * ob-clojure.el (org-babel-execute:clojure): Respects "scalar" and
15392         "verbatim" results params.
15394 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15396         * ob-awk.el (org-babel-execute:awk): Use "verbatim" as synonym for
15397         "scalar".
15399         * ob-sh.el (org-babel-sh-evaluate): Use "verbatim" as synonym for
15400         "scalar".
15402         * ob-sqlite.el (org-babel-execute:sqlite): Use "verbatim" as
15403         synonym for "scalar".
15405         * ob.el (org-babel-merge-params): Use "verbatim" as synonym for
15406         "scalar".
15408 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15410         * ob.el (org-babel-script-escape): Parse odd parens when nested
15411         isnide lists.
15413 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15415         * ob-clojure.el (org-babel-execute:clojure): No longer force
15416         results into elisp if they don't naturally fit.
15418 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15420         * ob-clojure.el (org-babel-execute:clojure): Stop re-reading
15421         already parsed lisp results.
15423 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15425         * org-list.el (org-plain-list-ordered-item-terminator):
15426         Remove incorrect assumption.
15428 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15430         * org-footnote.el (org-footnote-forbidden-blocks): Add missing
15431         exporter specific blocks.
15433         * org-list.el (org-list-forbidden-blocks): Ditto.
15435 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15437         * org-latex.el (org-export-latex-tables): Bugfix: remove
15438         properties from fields.
15440 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15442         * org.el (org-shiftcontrolup, org-shiftcontroldown): New commands
15443         to use `org-clock-timestamps-change'.
15445 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15447         * org.el (org-timestamp-up, org-timestamp-down): Mention time
15448         changes in the docstring.
15450 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15452         * org-clock.el (org-clock-remove-empty-clock-drawer): New function
15453         to remove empty clock drawer.
15454         (org-clock-out-hook): Add the new function as a hook.
15456 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15458         * org-list.el (org-list-in-valid-context-p): Use `org-in-block-p'.
15460 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15462         * org.el (org-in-block-p): New function.
15464         * org-footnote.el (org-footnote-forbidden-blocks): New variable.
15465         (org-footnote-in-valid-context-p): New function.
15466         (org-footnote-at-reference-p): Use new function.  Allow inline
15467         footnotes to start at bol.
15469 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15471         * org-lparse.el (org-lparse-use-flashy-warning): New defcustom.
15472         (org-lparse-warn): Use it.
15474 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15476         * org-ascii.el (org-export-as-utf8): Fix call to
15477         `org-called-interactively-p': it requires an argument.  Also fix
15478         the docstring.
15480 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15482         * ob-lilypond.el (show-all): Declaring function from outline.el.
15483         (org-babel-default-header-args:lilypond): Declared.
15484         (ly-process-basic): Use the appropriate prefix for the temporary
15485         file, and don't call a function from ob-dot.el.
15486         (ly-version): Let-bind a free variable.
15488 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15490         * ob-lilypond.el: New file.
15492 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15494         * org-publish.el
15495         (org-publish-cache-file-needs-publishing): Only check against .org
15496         files.
15498 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15500         * org.el (org-mode): Use `org-default' as the default face in
15501         org-mode.
15503 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15505         * org-publish.el
15506         (org-publish-cache-file-needs-publishing): Takes care of more
15507         recently included files, returning `t' in case the file including
15508         them needs to be republished.
15510 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15512         * org-exp.el (org-export-preprocess-string): If the last subtree
15513         is a task, footnotes may be removed along with the subtree.
15514         This patch ensures footnotes are put at the end of the buffer after the
15515         subtree has been removed.
15517 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15519         * org-footnote.el (org-footnote-at-reference-p): Verify that what
15520         looks like a footnote doesn't belong to a link.
15521         (org-footnote-next-reference-or-definition): Check more strictly
15522         footnote definitions.
15524 2011-07-28  Deech  <deech@deech-ThinkPad-X200.(none)>  (tiny change)
15526         * ob-tangle.el (org-babel-tangle): Ignore errors thrown by
15527         language modes.
15529 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15531         * ob-python.el (org-babel-python-evaluate-session): Inhibit return
15532         of the eoe string during session evaluation.
15534 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15536         * ob-python.el (org-babel-python-evaluate-session):
15537         Enough newlines to ensure a return when ":results output :session".
15539 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15541         * ob-python.el (org-babel-python-evaluate-session): Introduced a
15542         new local function for sending input with a slight delay to allow
15543         pythong to re-draw the prompt.  No longer removing newlines inside
15544         code block bodies (was due to a defective regexp).
15546 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15548         * org-table.el (org-table-time-seconds-to-string):
15549         Use `org-format-seconds' instead of `format-seconds'.
15551 2011-07-28  David Maus  <dmaus@ictsoc.de>
15553         * org-publish.el (org-publish-cache-ctime-of-src): Properly handle
15554         relative symlinks.
15556 2011-07-28  David Maus  <dmaus@ictsoc.de>
15558         * org-latex.el (org-export-latex-preprocess): Use function
15559         argument instead of dynamically scoped symbol.
15561 2011-07-28  David Maus  <dmaus@ictsoc.de>
15563         * org-freemind.el (org-freemind-convert-links-helper)
15564         (org-freemind-convert-text-p, org-freemind-write-mm-buffer)
15565         (org-freemind-get-node-style): Use org-string-match-p for backward
15566         compatibility with Emacs 22.
15568 2011-07-28  David Maus  <dmaus@ictsoc.de>
15570         * org-html.el (org-export-html-protect-char-alist): Add missing
15571         :group keyword in defcustom.
15573 2011-07-28  David Maus  <dmaus@ictsoc.de>
15575         * ob-haskell.el (org-babel-haskell-export-to-lhs):
15576         Call `kill-buffer' with argument indiciating to kill current
15577         buffer.  Emacs 22 compatibility.
15579 2011-07-28  David Maus  <dmaus@ictsoc.de>
15581         * org-macs.el (org-without-partial-completion):
15582         Toggle partial-completion-mode only if it is turned on.
15584 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15586         * org.el (org-add-planning-info): Fix issues with timestamps not
15587         being inserted at the same position.
15589 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15591         * org-table.el (org-table-time-string-to-seconds)
15592         (org-table-time-seconds-to-string): New functions.
15593         (org-table-eval-formula): Implement the "T" (time) flag for
15594         computing durations.
15596 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
15598         * org.el (org-modules): Add org-lparse and org-odt as contrib
15599         modules.
15601 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15603         * org.el (org-fontify-meta-lines-and-blocks-1): Include header
15604         lines.
15605         (org-additional-option-like-keywords): Include data as a synonym
15606         for results.
15608 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15610         * ob.el (org-babel-sha1-hash): Improving code layout and removing
15611         export-variable headers in cache sha1.
15613 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15615         * ob-ref.el (org-babel-ref-goto-headline-id): Don't let `org-id'
15616         rescan all IDs when trying to resolve a reference.
15618 2011-07-28  Julien Barnier  <julien@nozav.org>
15620         * org.el (org-fontify-meta-lines-and-blocks-1): Fix test for src
15621         blocks lang attribute.
15623 2011-07-28  Eric S Fraga  <e.fraga@ucl.ac.uk>
15625         * org-latex.el (org-export-latex-timestamp-inactive-markup):
15626         New option to allow different markup for inactive timestamps.
15628 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15630         * ob-org.el (org-babel-expand-body:org): Implemented this
15631         function, only action is to expand variables.
15632         (org-babel-execute:org): Uses the new body-expansion function.
15634 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15636         * org-list.el (org-list-full-item-re): Allow counter and check-box
15637         to be separated by white spaces.
15638         (org-list-struct-apply-struct): Reflect changes made to
15639         `org-list-full-item-re'.
15641         * org-html.el (org-html-export-list-line): Recognize spaces
15642         between counter and check-boxes as valid.
15644         * org-docbook.el (org-export-docbook-list-line): Ditto.
15646 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15648         * org-list.el (org-list-insert-item): Make sure point is moved to
15649         the specified POS before starting the function.
15651 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15653         * org.el (org-activate-footnote-links): Properly fontify inline
15654         footnotes.
15655         (org-set-font-lock-defaults): Apply changes to previous function.
15657 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15659         * org-footnote.el (org-footnote-at-reference-p): First check if
15660         point is at the beginning of a footnote.  Indeed `org-in-regexp'
15661         first checks backwards and might find an incorrect footnote if
15662         they are side-by-side.
15664 2011-07-28  Michael Brand  <michael.ch.brand@gmail.com>
15666         * org-agenda.el (org-agenda-compact-blocks): Improve docstring.
15667         (org-agenda-block-separator): Add nil to docstring and customization.
15668         (org-prepare-agenda): Skip agenda block separator additionally if
15669         `org-agenda-block-separator' is nil.
15670         (org-agenda-overriding-header): Improve docstring.
15672 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15674         * org.el (org-set-tags): Remove useless
15675         `org-without-partial-completion'.
15677 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15679         * org-footnote.el (org-fill-paragraph): Declare function for the
15680         compiler.
15682 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15684         * ob-ref.el (org-narrow-to-subtree): Declare unknown function.
15686 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15688         * ob.el (org-babel-inline-lob-one-liner-regexp): Declare variable
15689         to appease compiler.
15691 2011-07-28  Michael Markert  <markert.michael@googlemail.com>
15693         * ob.el (org-babel-sha1-hash): Adding optional argument KIND to
15694         all `org-called-interactively-p' function invocations.
15696         * org-agenda.el (org-agenda-redo): Adding optional argument KIND
15697         to all `org-called-interactively-p' function invocations.
15698         (org-agenda-show-1): Adding optional argument KIND to all
15699         `org-called-interactively-p' function invocations.
15700         (org-agenda-set-tags): Adding optional argument KIND to all
15701         `org-called-interactively-p' function invocations.
15703         * org-ascii.el (org-export-as-latin1): Adding optional argument
15704         KIND to all `org-called-interactively-p' function invocations.
15705         (org-export-as-latin1-to-buffer): Adding optional argument KIND to
15706         all `org-called-interactively-p' function invocations.
15707         (org-export-as-utf8-to-buffer): Adding optional argument KIND to all
15708         `org-called-interactively-p' function invocations.
15709         (org-export-region-as-ascii): Adding optional argument KIND to all
15710         `org-called-interactively-p' function invocations.
15712         * org-docbook.el (org-export-region-as-docbook): Adding optional
15713         argument KIND to all `org-called-interactively-p' function
15714         invocations.
15716         * org-html.el (org-export-region-as-html): Adding optional
15717         argument KIND to all `org-called-interactively-p' function
15718         invocations.
15720         * org-latex.el (org-export-region-as-latex): Adding optional
15721         argument KIND to all `org-called-interactively-p' function
15722         invocations.
15724         * org-table.el (org-table-blank-field): Adding optional argument
15725         KIND to all `org-called-interactively-p' function invocations.
15726         (org-table-current-column): Adding optional argument KIND to all
15727         `org-called-interactively-p' function invocations.
15728         (org-table-current-dline): Adding optional argument KIND to all
15729         `org-called-interactively-p' function invocations.
15730         (org-table-sort-lines): Adding optional argument KIND to all
15731         `org-called-interactively-p' function invocations.
15732         (org-table-sum): Adding optional argument KIND to all
15733         `org-called-interactively-p' function invocations.
15734         (org-table-rotate-recalc-marks): Adding optional argument KIND to
15735         all `org-called-interactively-p' function invocations.
15736         (org-table-eval-formula): Adding optional argument KIND to all
15737         `org-called-interactively-p' function invocations.
15738         (orgtbl-send-table): Adding optional argument KIND to all
15739         `org-called-interactively-p' function invocations.
15741         * org.el (org-mode): Adding optional argument KIND to all
15742         `org-called-interactively-p' function invocations.
15743         (org-copy-subtree): Adding optional argument KIND to all
15744         `org-called-interactively-p' function invocations.
15745         (org-paste-subtree): Adding optional argument KIND to all
15746         `org-called-interactively-p' function invocations.
15747         (org-store-link): Adding optional argument KIND to all
15748         `org-called-interactively-p' function invocations.
15749         (org-todo): Adding optional argument KIND to all
15750         `org-called-interactively-p' function invocations.
15751         (org-occur): Adding optional argument KIND to all
15752         `org-called-interactively-p' function invocations.
15754 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15756         * org-footnote.el (org-footnote-action): Offer to create
15757         definition when none is found.
15759 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15761         * org-footnote.el (org-footnote-re): Avoid matching inactive
15762         time-stamps or check-box cookies.
15763         (org-footnote-next-reference-or-definition): Adapt to the new regexp.
15765 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15767         * org-exp.el (org-export-preprocess-string): If the last subtree
15768         is commented, footnotes inserted during normalizing at the end of
15769         the buffer may get deleted.  This patch ensures deletion comes
15770         first, normalization second.
15772 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15774         * org-exp.el (org-export-footnotes-data): Change docstring.
15775         (org-export-footnotes-seen): Rename from
15776         org-export-footnotes-markers.
15778         * org-ascii.el (org-export-as-ascii): Apply change.
15780         * org-docbook.el (org-export-as-docbook): Apply change.
15782         * org-footnote.el (org-footnote-normalize): Apply change.
15784         * org-html.el (org-export-as-html): Apply change.
15786         * org-latex.el (org-export-as-latex): Apply change.
15788 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15790         * org-latex.el (org-export-latex-preprocess): Rely on
15791         `org-export-footnotes-markers' to retrieve definition of the
15792         current footnote during export.
15794 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15796         * org-footnote.el (org-footnote-normalize): Remember footnotes
15797         seen so far by the exporter when choosing the new marker.
15799 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15801         * org-footnote.el (org-footnote-normalize): Make use of
15802         `org-footnote-insert-pos-for-preprocessor'.
15804 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15806         * org-footnote.el (org-footnote-normalize): Add `org-footnote'
15807         property to footnote markers when preparing for exportation.
15809         * org-html.el (org-export-as-html): Read new property to decide
15810         when to export a footnote.
15812         * org-docbook.el (org-export-as-docbook): Read new property to
15813         decide when to export a footnote.
15815         * org-latex.el (org-export-latex-preprocess): Ensure footnote at
15816         column 0 cannot end a list containing it by adding
15817         `original-indentation' property to it.
15819 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15821         * org-exp.el (org-export-preprocess-string): Normalize footnotes
15822         before marking lists ending.
15824         * org-latex.el (org-export-latex-preprocess): Work with labels as
15825         strings and not as numbers.
15827 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15829         * org-docbook.el (org-export-docbook-footnote-separator):
15830         New variable.
15831         (org-export-as-docbook): Add a separator between footnotes.
15833         * org-html.el (org-export-html-footnote-separator): New variable.
15834         (org-export-as-html): Add a separator between footnotes.
15836         * org-latex.el (org-export-latex-footnote-separator):
15837         New variable.
15838         (org-export-latex-preprocess): Add a separator between footnotes.
15840 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15842         * org-exp.el (org-export-footnotes-markers)
15843         (org-export-footnotes-data): New variables.
15844         (org-export-preprocess-string): Use a more explicit argument.
15846 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15848         * org-footnote.el (org-footnote-goto-definition): Now, determining
15849         if point is at a footnote reference is entirely determined by
15850         `org-footnote-at-reference-p'.  No need to check if pattern isn't
15851         at beginning of the line elsewhere.
15853 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15855         * org-footnote.el (org-footnote-next-reference-or-definition):
15856         New function.
15858         * org.el (org-activate-footnote-links): Activate the whole
15859         footnote, but only fontify its label.
15861 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15863         * org-footnote.el (org-footnote-normalize): Make use of changes to
15864         `org-footnote-at-reference-p' and creation of various functions..
15865         Also comment code.
15866         (org-footnote-get-next-reference, org-footnote-delete-references)
15867         (org-footnote-delete-definitions): New functions.
15868         (org-footnote-goto-previous-reference, org-footnote-all-labels)
15869         (org-insert-footnote-reference-near-definition, org-footnote-delete):
15870         Rewrite to use org-footnote-get-next-reference.
15872 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15874         * org-footnote.el (org-footnote-re): Don't end an inline footnote
15875         at unrelated closing square brackets.
15876         (org-footnote-at-reference-p): Improve accuracy of the function to
15877         determine if point is at a reference and to extract definition of an
15878         inline footnote.
15879         (org-footnote-all-labels, org-footnote-action, org-footnote-delete)
15880         (org-footnote-auto-adjust-maybe): Make use of previous function.
15882 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15884         * org.el (org-deadline, org-schedule):
15885         keep warning cookie when rescheduling/redeadlining.
15886         (org-time-stamp): Fix problem with warning cookie.
15888 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15890         * ob-clojure.el (org-babel-execute:clojure): Force escaping of
15891         clojure source into elisp source.
15893 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15895         * ob.el (org-babel-script-escape): Treats {} in the same manner as
15896         [] and allows for forcing string conversion.
15898 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15900         * org-exp.el (org-export-select-backend-specific-text):
15901         Strip protective commas from literal code blocks.
15903 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15905         * ob-ref.el (org-babel-ref-goto-headline-id): Fix bug.
15907 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15909         * ob-ref.el (org-babel-ref-goto-headline-id): Split out into its
15910         own function.
15911         (org-babel-ref-headline-body): Split out into its own function.
15912         (org-babel-ref-resolve): Using new functions, and alignment.
15914         * ob.el (org-babel-ref-goto-headline-id): Declare function.
15915         (org-babel-ref-headline-body): Declare function.
15916         (org-babel-expand-noweb-references): Now expands noweb references to
15917         headlines during expansion.
15919 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15921         * ob-ref.el (org-babel-ref-resolve): Now resolves references to
15922         headlines by either global or custom id, in which case the
15923         contents of the headline are returned literally.
15925 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15927         * ob-exp.el (org-babel-in-example-or-verbatim): Also check for in
15928         verbatim emphasis.
15929         (org-babel-exp-lob-one-liners): Cleaner checking for escaped call
15930         lines.
15932 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15934         * org-list.el (org-cycle-item-indentation): Cycling back to
15935         original position deleted any additional information in the item,
15936         like a counter or a tag.
15938 2011-07-28  Pieter Praet  <pieter@praet.org>
15940         * org-crypt.el (org-crypt-disable-auto-save): New defcustom.
15941         (org-decrypt-entry): Before decrypting, check whether
15942         `auto-save-mode' is enabled for the current buffer, and act on it
15943         according to how `org-crypt-disable-auto-save' is set.  Remove
15944         comment re "encrypt[ing] Org auto-saved buffers".  Remove on-init
15945         check for `auto-save-default'.
15947 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15949         * ob.el (org-babel-merge-params): Ensure variable parameters are
15950         not reversed.
15952 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15954         * ob.el (org-babel-insert-result): Fix results insertion for
15955         inline blocks which happen to start a line.
15957 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15959         * ob-exp.el (org-babel-exp-lob-one-liners): Fix the logic checking
15960         if a call line is commented.
15962 2011-07-28  Vincent Belaïche  <vincentb1@users.sourceforge.net>
15964         * org.el (org-read-property-name): Propose default property name.
15966 2011-07-28  Achim Gratz  <stromeko@nexgo.de>
15968         * org.el (org-log-into-drawer): Correct typo.
15970         * org-clock.el (org-clock-into-drawer): New function to change the
15971         location of clock events based on properties CLOCK_INTO_DRAWER or,
15972         as fallback, LOG_INTO_DRAWER, like it is already possible for
15973         state change logs.
15975         * org-clock.el (org-clock-jump-to-current-clock): Add statement to
15976         let clause to bind `org-clock-into-drawer' to result of function
15977         eval.
15979         * org-clock.el (org-clock-find-position): Add statement to let
15980         clause to bind `org-clock-into-drawer' to result of function eval,
15981         change let to let* since the binding is used later in the same
15982         clause.
15984 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15986         * ob-lob.el (require): Ensure 'cl is loaded during compilation so
15987         we can use flet.
15989 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15991         * ob-lob.el (org-babel-lob-get-info): Correctly indent results of
15992         non-inline call lines.
15994 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15996         * ob-exp.el (org-babel-exp-lob-one-liners): Don't export inline
15997         call_ blocks which aren't whitespace padded.
15999 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16001         * ob.el (org-babel-merge-params): Do not reverse variable order,
16002         and be sure to increment variable index as appropriate.
16004 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16006         * ob-lob.el (org-babel-inline-lob-one-liner-regexp): Update to
16007         successfully match optional trailing header arguments in square
16008         brackets.
16009         (org-babel-lob-get-info): Update to match the new regexp.
16011 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16013         * ob-lob.el (org-babel-lob-get-info): If the arguments are empty,
16014         then allow them to be so.
16016 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16018         * ob.el (org-babel-merge-params): If variables are not named they
16019         are assigned in order.
16021 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16023         * ob.el: Remove code comment about online documentation.
16025         * ob-exp.el: Remove code comment about online documentation.
16027         * ob-lob.el: Remove code comment about online documentation.
16029 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16031         * org-exp.el (org-export-format-source-code-or-example):
16032         Fix signature of org-<backend>-format-source-code-or-example function.
16034 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16036         * ob.el (org-babel-sha1-hash): Replace call to
16037         called-interactively-p with backwards-compatible interactive-p.
16039 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16041         * ob-exp.el (org-babel-exp-lob-one-liners):
16042         Appropriate replacement of inline call blocks with their results.
16044 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16046         * ob-lob.el (org-babel-inline-lob-one-liner-regexp): Removing this
16047         trailing space ensures that the insertion of the results looks
16048         nice.
16050         * ob.el (org-babel-insert-result): Insert inline lob line results
16051         as inline results.
16053 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16055         * ob-exp.el (org-babel-exp-lob-one-liners): Calculate length
16056         appropriately given the style (block or inline) of the lob line.
16058         * ob-lob.el (org-babel-block-lob-one-liner-regexp): New regexp
16059         specific for block lob lines.
16060         (org-babel-inline-lob-one-liner-regexp): New regexp specific for
16061         inline lob lines.
16062         (org-babel-lob-one-liner-regexp): Combination of two lob regexps.
16063         (org-babel-lob-get-info): Return info from *either* the block or
16064         inline lob lines.
16066 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16068         * ob-exp.el (org-babel-exp-lob-one-liners): Corrected the
16069         structure of the resulting info list.
16071         * ob-lob.el (org-babel-default-lob-header-args): Export the
16072         results of call lines by default.
16074 2011-07-28  Niels Giesen  <niels.giesen@gmail.com>  (tiny change)
16076         * org-icalendar.el (org-print-icalendar-entries): Add 'uid text
16077         property based on the ID property of the org entry to the first
16078         character of the diary entry.
16080 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16082         * org-footnote.el
16083         (org-footnote-insert-pos-for-preprocessor): New variable.
16084         (org-footnote-normalize): Use it.
16086 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16088         * org-exp.el (org-export-format-source-code-or-example):
16089         Simplify.  Also add `org-native-text' as a text property to the
16090         formatted text and throw error for unknown backends.
16092 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16094         * org-exp.el (org-export-format-source-code-or-example):
16095         Add support for: - custom formatters for existing backends - seamless
16096         plugging in of new backends.
16098 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16100         * org-exp.el (org-export-backends): New variable.
16101         (org-export-select-backend-specific-text): Use above
16102         variable.  Also mark text between #+BACKEND and
16103         #+BEGIN_BACKEND...#+END_BACKEND with org-native-text property.
16104         This text property is currently used only by the new line-oriented
16105         generic exporter (which is not yet part of the repo).
16107 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16109         * org-exp.el (org-export): Reserve keys 'o' and 'O' for
16110         OpenDocumentText export and bind them to `org-export-as-odt' and
16111         `org-export-as-odt-and-open'.
16113 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16115         * ob-exp.el (org-babel-exp-src-block): Less verbose when in batch
16116         mode.
16118 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16120         * ob-clojure.el (org-babel-execute:clojure): Convert vectors to
16121         lists before reading into emacs-lisp.
16123 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16125         * ob-C.el (ob-tangle): Initialize variable from `ob-tangle'.
16127         * ob-asymptote.el (ob-tangle): Initialize variable from `ob-tangle'.
16129         * ob-awk.el (ob-tangle): Initialize variable from `ob-tangle'.
16131         * ob-clojure.el (ob-tangle): Initialize variable from `ob-tangle'.
16133         * ob-haskell.el (ob-tangle): Initialize variable from `ob-tangle'.
16135         * ob-latex.el (ob-tangle): Initialize variable from `ob-tangle'.
16137         * ob-lisp.el (ob-tangle): Initialize variable from `ob-tangle'.
16139         * ob-ocaml.el (ob-tangle): Initialize variable from `ob-tangle'.
16141         * ob-perl.el (ob-tangle): Initialize variable from `ob-tangle'.
16143         * ob-python.el (ob-tangle): Initialize variable from `ob-tangle'.
16145         * ob-ruby.el (ob-tangle): Initialize variable from `ob-tangle'.
16147         * ob-tangle.el (ob-tangle): Initialize variable from `ob-tangle'.
16149 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16151         * ob-awk.el: New file.
16153 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16155         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
16156         Respects ":results verbatim".
16158 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16160         * org-agenda.el (org-float): Aliases for `diary-float'.
16162 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16164         * ob-python.el (org-babel-python-evaluate-session):
16165         Send comint-send-input after every line when interacting with an
16166         interactive python process.
16168 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16170         * org-list.el (org-reset-checkbox-state-subtree): Make the command
16171         more robust, and correctly update check-boxes in the whole
16172         sub-tree.
16173         (org-update-checkbox-count): Fix bug accumulating count of checkboxes
16174         when walking a subtree.
16175         (org-update-checkbox-count-maybe): Add an optional argument passed to
16176         org-update-checkbox-count.
16178 2011-07-28  Teodor Zlatanov  <tzz@lifelogs.com>
16180         * org.el (org-fontify-meta-lines-and-blocks): Ignore errors.
16182 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16184         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Respect the
16185         ":results scalar" header argument combination.
16187 2011-07-28  Dan Davison  <dandavison7@gmail.com>
16189         * org-src.el: Append a space character to copied text so that the
16190         final text property change is picked up correctly.
16192 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16194         * ob-tangle.el (org-babel-tangle-file): Use the new argument list
16195         to org-babel-tangle.
16196         (org-babel-tangle): Now when called with a prefix argument, only the
16197         current code block is tangled.
16199 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16201         * org-list.el (org-list-parse-list): Replace transitional
16202         check-boxes with "[CBTRANS]" string during parsing.
16203         (org-list-to-generic): Use the new property `:cbtrans' to configure
16204         export string for transitional check-boxes.
16206 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16208         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
16209         Use stable internal `org-anniversary' instead of
16210         diary-anniversary.
16211         (org-class): New function.
16212         (org-diary-class): Use `org-class'.
16213         (org-anniversary, org-cyclic, org-date, org-block): New functions.
16215 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16217         * ob.el (org-babel-header-arg-names): Adding noweb-ref to the list
16218         of header argument names.
16220 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16222         * ob.el (org-babel-expand-noweb-references): Concatenating all
16223         bodies with the appropriate name or :noweb-ref header argument.
16225 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
16227         * org.el (org-find-dblock, org-clocktable-try-shift): Make regexp
16228         work also when #+begin line is indentex.
16230 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16232         * ob.el (org-babel-src-block-regexp): Babel: code block may have
16233         empty bodies.
16235 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16237         * org-macs.el (org-without-partial-completion): Avoid calling by
16238         name a function unknown to the compiler but explicitly checked by
16239         program logic.
16241 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16243         * org-mouse.el (org-agenda-earlier): Declaring previously unknown
16244         function.
16245         (org-agenda-later): Declaring previously unknown function.
16246         (org-agenda-mode-map): Declaring previously unknown variable.
16248         * org.el (org-read-date-analyze): Explicitly ignore the return
16249         value of a function.
16251 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16253         * org-agenda.el (org-agenda-mode): Globally replace
16254         buffer-substring-filters with filter-buffer-substring-functions.
16256         * org-indent.el (org-indent-mode): Globally replace
16257         buffer-substring-filters with filter-buffer-substring-functions.
16259 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16261         * org-ascii.el (org-export-as-ascii): Replacing '(λ...) with
16262         #'(λ...).
16264         * org-attach.el: Replacing '(λ...) with #'(λ...).
16265         (org-attach-commit): Replacing '(λ...) with #'(λ...).
16267         * org-exp.el: Replacing '(λ...) with #'(λ...).
16268         (org-export-handle-include-files): Replacing '(λ...) with #'(λ...).
16270         * org-html.el: Replacing '(λ...) with #'(λ...).
16271         (org-export-as-html): Replacing '(λ...) with #'(λ...).
16273         * org-mouse.el: Replacing '(λ...) with #'(λ...).
16274         (org-mouse-popup-global-menu): Replacing '(λ...) with
16275         (org-mode-hook): Replacing '(λ...) with #'(λ...).
16276         (org-agenda-mode-hook): Replacing '(λ...) with #'(λ...).
16278         * org-src.el: Replacing '(λ...) with #'(λ...).
16279         (org-src-mode-configure-edit-buffer): Replacing '(λ...) with #'(λ...).
16281         * org-table.el: Replacing '(λ...) with #'(λ...).
16282         (org-table-fix-formulas-confirm): Replacing '(λ...) with #'(λ...).
16284         * org.el: Replacing '(λ...) with #'(λ...).
16285         (org-confirm-shell-link-function): Replacing '(λ...) with
16286         (org-category): Replacing '(λ...) with #'(λ...).
16288 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16290         * org.el (mailcap-parse-mailcaps): Declaring functions used by
16291         `org-open-file'.
16292         (mailcap-extension-to-mime): Declaring functions used by
16293         `org-open-file'.
16294         (mailcap-mime-info): Declaring functions used by `org-open-file'.
16296 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16298         * org-agenda.el (org-agenda-redo): Replacing call to now-defunct
16299         function `interactive-p'.
16300         (org-agenda-show-1): Replacing call to now-defunct function
16301         `interactive-p'.
16302         (org-agenda-set-tags): Replacing call to now-defunct function `interactive-p'.
16304         * org-ascii.el: Replacing call to now-defunct function
16305         `interactive-p'.
16306         (org-export-as-latin1): Replacing call to now-defunct function
16307         `interactive-p'.
16308         (org-export-as-latin1-to-buffer): Replacing call to now-defunct
16309         function `interactive-p'.
16310         (org-export-as-utf8): Replacing call to now-defunct function
16311         `interactive-p'.
16312         (org-export-as-utf8-to-buffer): Replacing call to now-defunct function
16313         `interactive-p'.
16314         (org-export-region-as-ascii): Replacing call to now-defunct
16315         function `interactive-p'.Replacing call to now-defunct function
16316         `interactive-p'.
16318         * org-docbook.el: Replacing call to now-defunct function
16319         `interactive-p'.
16320         (org-export-region-as-docbook): Replacing call to now-defunct
16321         function `interactive-p'.Replacing call to now-defunct function
16322         `interactive-p'.
16324         * org-html.el: Replacing call to now-defunct function
16325         `interactive-p'.
16326         (org-export-region-as-html): Replacing call to now-defunct
16327         function `interactive-p'.Replacing call to now-defunct function
16328         `interactive-p'.
16330         * org-latex.el: Replacing call to now-defunct function
16331         `interactive-p'.
16332         (org-export-region-as-latex): Replacing call to now-defunct
16333         function `interactive-p'.Replacing call to now-defunct function
16334         `interactive-p'.
16336         * org-macs.el: Replacing call to now-defunct function
16337         `interactive-p'.
16338         (org-called-interactively-p): Replacing call to now-defunct
16339         function `interactive-p'.Replacing call to now-defunct function
16340         `interactive-p'.
16342         * org-table.el: Replacing call to now-defunct function
16343         `interactive-p'.
16344         (org-table-blank-field): Replacing call to now-defunct function
16345         `interactive-p'.
16346         (org-table-current-column): Replacing call to now-defunct function
16347         `interactive-p'.Replacing call to now-defunct function
16348         `interactive-p'.
16349         (org-table-current-dline): Replacing call to now-defunct function
16350         `interactive-p'.Replacing call to now-defunct function
16351         `interactive-p'.
16352         (org-table-sort-lines): Replacing call to now-defunct function
16353         `interactive-p'.
16354         (org-table-sum): Replacing call to now-defunct function
16355         `interactive-p'.
16356         (org-table-rotate-recalc-marks): Replacing call to now-defunct
16357         function `interactive-p'.
16358         (org-table-eval-formula): Replacing call to now-defunct function
16359         `interactive-p'.
16360         (orgtbl-send-table): Replacing call to now-defunct function `interactive-p'.
16362         * org.el: Replacing call to now-defunct function `interactive-p'.
16363         (org-mode): Replacing call to now-defunct function
16364         `interactive-p'.
16365         (org-copy-subtree): Replacing call to now-defunct function
16366         `interactive-p'.
16367         (org-paste-subtree): Replacing call to now-defunct function
16368         `interactive-p'.
16369         (org-store-link): Replacing call to now-defunct function
16370         `interactive-p'.
16371         (org-todo): Replacing call to now-defunct function `interactive-p'.
16372         (org-occur): Replacing call to now-defunct function `interactive-p'.
16374 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16376         * ob-R.el (ess-local-process-name): This variable wasn't known to
16377         be defined.
16379         * ob-lisp.el (org-babel-lisp-dir-fmt): This defcustom now has a
16380         group specified.
16382         * ob-tangle.el (org-bracket-link-regexp): This variable wasn't
16383         known to be defined.
16384         (org-babel-tangle-combine-named-blocks): Roll my own version of a
16385         forbidden common lisp function.
16387         * ob.el (org-babel-sha1-hash): Using a non-deprecated version of
16388         called-interactively.
16390 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16392         * org-latex.el (org-export-latex-tables): Check for the
16393         "multiline" option and set the `floatp' option to true when
16394         multicolumn tables are requested.
16396 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16398         * org-html.el (org-export-as-html, org-html-level-start):
16399         Only convert section number underscores to dashes.
16401 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16403         * org-agenda.el (org-agenda-bulk-action): Fix bug caused by
16404         `days-to-time, converting relative to 1 BC, while the code assumed
16405         it would return a time relative to 1970.
16407 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16409         * ob-tangle.el (org-babel-tangle-combine-named-blocks): No longer
16410         inserting newlines between appended code blocks.
16412 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16414         * ob-exp.el: We may no longer need to export names along with code
16415         blocks.
16417 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16419         * org-exp-blocks.el (org-export-blocks-preprocess):
16420         Ensure balanced nested begin/end blocks in block bodies.
16422 2011-07-28  Dan Davison  <dandavison7@gmail.com>
16424         * org-latex.el: Add -shell-escape to pdflatex commands.
16426 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16428         * ob-tangle.el (org-babel-tangle-named-block-combination):
16429         Block combination can now take a number of values.
16430         (org-babel-tangle-combine-named-blocks): More sophisticated block
16431         combination behavior.
16433 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16435         * ob-tangle.el (org-babel-tangle-do-combine-named-blocks):
16436         Switch to turn on the combination of code blocks of the same name.
16437         (org-babel-tangle-combine-named-blocks): Combine blocks of the same
16438         name.
16440 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16442         * ob-ruby.el (xmp): Declaring this function to appease the
16443         compiler.
16444         (org-babel-execute:ruby): "xmp" result option for outputting
16445         annotated source code.
16447 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>  (tiny change)
16449         * org-list.el (org-list-to-latex): The enumerate environment in
16450         latex increments the counter before using it.  Therefore, org-mode
16451         should set the enumeration counter to the desired value minus one.
16453 2011-07-28  Michael Brand  <michael.ch.brand@gmail.com>  (tiny change)
16455         * org.el (org-toggle-heading): More comments and fix number of
16456         stars when toggling from list items.
16458 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
16460         * org-taskjuggler.el (org-taskjuggler-clean-effort): Handle any
16461         effort that is accepted by `org-duration-string-to-minutes´.
16463 2011-07-28  Julien Barnier  <julien@nozav.org>
16465         * ob-sh.el (org-babel-sh-evaluate): When sending input to comint,
16466         wait until previous line execution is finished.
16468         * ob-comint.el (org-babel-comint-with-output): When looking for
16469         end-of-evaluation indicator, search forward for the indicator
16470         before searching forward for the prompt.
16472 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16474         * org-entities.el (org-entities): Fix HTML entity for degree.
16476 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16478         * org.el (org-auto-align-tags): Change docstring.
16479         (org-update-parent-todo-statistics): Keep tags aligned even when
16480         statistics cookies are shifting them.
16482         * org-list.el (org-update-checkbox-count): Keep tags aligned even
16483         when statistics cookies are shifting them.
16485 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
16487         * ob.el (org-babel-sha1-hash): Don't modify info argument by
16488         side-effect when sorting result-params list.
16490 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
16492         * ob.el (org-babel-result-regexp): Use non-shy group around
16493         `org-babel-data-names'.
16495 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16497         * org.el (org-insert-link): Set truncate-line in the *Org Link*
16498         buffer and make sure that it really is set there.
16500 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16502         * ob-lisp.el (org-babel-lisp-dir-fmt): Defcustom for use in
16503         changing how/if the current directory is represented to lisp code.
16504         (org-babel-execute:lisp): More general handling of the default
16505         directory value.
16507 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16509         * ob-lisp.el (org-babel-execute:lisp): Setting the value of
16510         *default-pathname-defaults* to either the value of the :dir header
16511         argument or the directory of the containing Org-mode file.
16513 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16515         * ob-lisp.el (org-babel-execute:lisp): No real functional change,
16516         just aesthetic.
16518 2011-07-28  Sébastien Delafond  <sdelafond@gmail.com>  (tiny change)
16520         * org.el (org-mode-flyspell-verify): This is useful when using
16521         flyspell with a non-English dictionary, or if some of your
16522         keywords are in another language.
16524 2011-07-28  David Maus  <dmaus@ictsoc.de>
16526         * org-exp.el (org-export): Use new compatibility function
16527         `org-activate-mark'.
16529         * org-compat.el (org-activate-mark): New function.
16530         Provide `activate-mark' if not present (e.g. Emacs 22).
16532 2011-07-28  David Maus  <dmaus@ictsoc.de>
16534         * org-table.el (org-table-follow-field-mode): Declare variable to
16535         keep byte compiler happy.
16537 2011-07-28  David Maus  <dmaus@ictsoc.de>
16539         * org-footnote.el (org-id-uuid): Declare function, silence byte
16540         compiler.
16542 2011-07-28  David Maus  <dmaus@ictsoc.de>
16544         * org-bibtex.el (org-bibtex-headline): Don't use equalp at
16545         run-time, compare downcased strings.
16547 2011-07-28  David Maus  <dmaus@ictsoc.de>
16549         * org-bibtex.el (org-id-locations): Declare variable to silence
16550         byte compiler.
16552 2011-07-28  David Maus  <dmaus@ictsoc.de>
16554         * org-id.el (org-id-locations): Fix docstring, remove reference to
16555         non-existent option.
16557 2011-07-28  David Maus  <dmaus@ictsoc.de>
16559         * org.el (org-self-insert-command): Use `delete-char' instead of
16560         `delete-backward-char'.
16562         * org-table.el (orgtbl-self-insert-command): Ditto.
16564 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16566         * org-latex.el (org-export-latex-special-chars): Save match data
16567         when checking for table.el table.
16569 2011-07-28  David Maus  <dmaus@ictsoc.de>
16571         * org.el (org-re-property): Move before its first use.
16573 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16575         * org-latex.el (org-export-latex-preprocess):
16576         Add `original-indentation' property to footnotes so they cannot
16577         possibly end a list by being less indented than the item they
16578         belong to.
16580 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16582         * ob-lisp.el (org-babel-expand-body:lisp): No longer wraps biddies
16583         in `progn'.
16584         (org-babel-execute:lisp): Wraps bodies in `progn' as they are passed
16585         to swank.
16587 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16589         * org-clock.el (org-clocktable-write-default): Implement adding
16590         property columns to the clock table.
16592 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16594         * org.el (org-toggle-item): Move parenthesis to correct location.
16596 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16598         * org.el (org-default-priority):
16599         (org-priority-start-cycle-with-default): Improve docstring.
16600         (org-priority): Throw error when priority is out of range.
16602 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16604         * org.el (org-self-insert-command): Catch the case of
16605         `buffer-undo-list' eq t.
16607 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16609         * org.el (org-toggle-heading): Region should be considered as made
16610         of full lines, without the last one if region-end is at bol.
16611         Removed unused variables.  Refactored and commented code.
16613 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16615         * org.el (org-toggle-item): When region includes an headline less
16616         indented than first one, set it as the new reference.
16618 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16620         * org-list.el (org-list-to-subtree): If the list is before first
16621         heading and `org-odd-levels-only' is non-nil, the first item gets
16622         two stars instead of one.
16624         * org.el (org-reduced-level): A level of 0 was reduced to 1 with
16625         `org-odd-levels-only' non-nil.
16627 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16629         * org.el (org-toggle-item): Converting an heading to an item would
16630         sometimes insert unnecessary spaces before it, and unwanted space
16631         with `org-indent-mode' on.  Changing some text into an item
16632         wouldn't always preserve indentation.
16634 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16636         * org-capture.el (org-capture-current-plist): Improve docstring.
16637         (org-capture-put): Add docstring.
16638         (org-capture-get): Add docstring.
16639         (org-capture-member): Add LOCAL argument.  Add docstring.
16640         (org-capture-set-target-location): Store the time received from a
16641         date prompt into the :prompt-time property.
16643 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16645         * org-exp.el (org-export-mark-list-properties): Even if context is
16646         invalid, mark list item with `list-context' property.
16648         * org-list.el (org-list-forbidden-blocks): Add exporters specific
16649         blocks to the list of forbidden blocks.
16651 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16653         * org-list.el (org-sort-list): Function tries to intern
16654         getkey-func before it is defined, so it's always nil.
16656 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16658         * org.el (org-babel-load-languages): Adding ob-awk to the list of
16659         executable languages.
16661 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16663         * org-table.el (org-table-get-field): Make sure the new field
16664         content is at least one space character.
16666 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16668         * org-crypt.el: Check for `daemonp' before using it.
16670 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16672         * ob-sh.el (ob-ref): Uses `ob-ref' to resolve the value of the
16673         :stdin header argument.
16674         (org-babel-execute:sh): Use the :stdin header argument.
16675         (org-babel-sh-var-to-sh): Split the bulk of this function off into a
16676         new sub-function.
16677         (org-babel-sh-var-to-string): New function for converting elisp
16678         values to strings that make sense for parsing with sh.
16679         (org-babel-sh-evaluate): Adding "stdin" option to session and
16680         external evaluation options.
16682 2011-07-28  Roland Kaufmann  <rlndkfmn+orgmode@gmail.com>  (tiny change)
16684         * org-exp.el (org-remove-formatting-on-newlines-in-region):
16685         New function.
16686         (org-export-format-source-code-or-example):
16687         Call `org-remove-formatting-on-newlines-in-region'.
16689 2011-07-28  David Maus  <dmaus@ictsoc.de>
16691         * org.el (org-entry-put): Prevent adding of extra space to value
16692         if property already exists.
16694 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16696         * org-html.el (org-export-as-html): Don't expand non-data lines of
16697         table.el tables.
16698         (org-html-expand): Remove the (buggy) test for non-data lines
16699         in table.el tables.  The test is now done as part of
16700         org-export-as-html.
16701         (org-format-table-table-html-using-table-generate-source):
16702         Add test for spanning of cells in table.el tables using
16703         table.el's own library routine.  Optionally suppress export of
16704         simple table.el tables.
16705         (org-format-table-html): Remove the (buggy) test for spanned
16706         table.el tables.  The test is now done as part of
16707         org-format-table-table-html-using-table-generate-source.
16709 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16711         * org-latex.el (org-export-latex-special-chars): Do nothing in
16712         table.el tables.
16714 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16716         * org-capture.el (org-capture): Ignore errors when creating a
16717         link.
16719 2011-07-28  Nick Dokos  <nick@dokosmarshall.org>  (tiny change)
16721         * org-exp.el (org-export-define-heading-targets): Use dash instead
16722         of underscore to make labels valid.
16724 2011-07-28  Dan Davison  <dandavison7@gmail.com>
16726         * ob-R.el (org-babel-R-write-object-command): Ensure that all data
16727         is written to the results file before Emacs notices that the file
16728         exists.
16730 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16732         * ob-exp.el (org-babel-exp-code): Remove usage of a macro which is
16733         defined locally on my system, but not globally in Emacs.
16735 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16737         * ob-exp.el (org-babel-exp-do-export): Use `org-babel-exp-code' to
16738         generate code block output.
16739         (org-babel-exp-code): Re-create the code block body for exporting
16740         source code.
16742 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
16744         * org.el (org-read-date): Bury Calendar buffer after using it for
16745         selecting a date.
16747 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16749         * org-list.el (org-list-separating-blank-lines-number):
16750         Fix confusion between point and item beginning.  Now, if no
16751         information is available, truly follow user preference when it
16752         inserts blank lines manually.
16753         (org-list-insert-item): Send correct argument to the preceding
16754         function.
16756 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16758         * ob.el (org-babel-src-block-regexp): Keep the now-mandatory
16759         newline inside of the code block body.
16761 2011-07-28  Sean O'Halpin  <sean.ohalpin@gmail.com>  (tiny change)
16763         * ob.el: Avoid spurious matches to literal.
16765 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16767         * org.el (org-indent-line-function): Don't include #+include
16768         lines.
16770 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16772         * ob-keys.el (org-babel-key-bindings): Adding key sequence for
16773         org-babel-check-src-block.
16775         * ob.el (org-babel-expand-src-block): Fit within 80 cols.
16776         (org-babel-edit-distance): Returns the edit distance of two
16777         strings.
16778         (org-babel-check-src-block): Check a code block for errors.
16780 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
16782         * org-capture.el (org-capture-templates): Fix bug in customization
16783         setup.
16785 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16787         * org-table.el
16788         (org-table-exit-follow-field-mode-when-leaving-table): New option.
16789         (org-table-check-inside-data-field): New optional argument
16790         `noerror'.  When set, the function will only return nil instead of
16791         throwing an error.
16792         (org-table-edit-field): Interpret double prefix argument, and improve
16793         the properties of the editing window.
16794         (org-table-follow-field-mode): New minor mode.
16795         (org-table-follow-fields-with-editor): New function.
16797 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16799         * org-agenda.el (org-agenda-get-todos): Call `org-agenda-skip'
16800         first, then check if timestamps cause exclusion.
16802         * org.el (org-scan-tags): Call `org-agenda-skip' first, then check
16803         if timestamps cause exclusion.
16805 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16807         * org-list.el (org-list-full-item-re): Allow description term to
16808         have a newline character after the colons.
16810 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16812         * org-list.el (org-sort-list): No longer ignore with-case
16813         argument: the function sorted case-sensitively, regardless of
16814         argument.
16816 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16818         * ob-ref.el (org-babel-ref-resolve): Using the new result regexp.
16820         * ob.el (org-babel-data-names): Configurable list of names of
16821         data.
16822         (org-babel-result-regexp): Using new results regexp.
16824 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16826         * org.el (org-special-properties): Add CLOCKSUM to the special
16827         properties.
16829 2011-07-28  Robert P. Goldman  <rpgoldman@real-time.com>  (tiny change)
16831         * ob-exp.el (org-babel-exp-in-export-file):
16832         Bind `org-link-search-inhibit-query' to t to inhibit prompts.
16834 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16836         * org-exp.el (org-export-add-options-to-plist): Use the right
16837         match group.
16839 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16841         * org-latex.el (org-export-latex-preprocess): Protect index string.
16843 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16845         * org-latex.el (org-export-latex-preprocess): Pipe index entries
16846         through `org-export-latex-fontify-headline'.
16848 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16850         * org-exp.el (org-export-add-options-to-plist): Fix the option
16851         parser.
16853 2011-07-28  Robert P. Goldman  <rpgoldman@real-time.com>  (tiny change)
16855         * org-latex.el (org-export-latex-preprocess): Replace index
16856         entries.
16858 2011-07-28  Robert P. Goldman  <rpgoldman@real-time.com>  (tiny change)
16860         * org.el (org-structure-template-alist): Add an easy template for
16861         index (i), and move include file to I from i.
16863 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16865         * org-agenda.el (org-agenda-open-link): Pass entire text of agenda
16866         line to `org-offer-links-in-entry'.
16868 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16870         * org-bibtex.el (org-bibtex-search): New function.
16871         (org-bibtex-export-to-kill-ring): New function.  Export to kill
16872         ring.
16873         (org-bibtex-create-in-current-entry): New function
16874         (org-bibtex-create): Make it easier to add bib fields to an
16875         existing headline.
16876         (org-bibtex-export-arbitrary-fields)
16877         (org-bibtex-treat-headline-as-title): Fix typos
16878         (org-bibtex-fleshout): Don't upcase optional field; remove ":"
16879         from type completion.
16881 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16883         * org-bibtex.el (org-bibtex-treat-headline-as-title):
16884         New defcustom.
16885         (org-bibtex-headline): Only use headline text (not TODO or other
16886         metadata) to generate title field and auto key.
16887         (org-bibtex-fleshout): Allow user to choose whether to treat
16888         headline as title.
16890 2011-07-28  Tom Dye  <tsd@tsdye.com>
16892         * org-bibtex.el: Added crossref field to other fields.
16894 2011-07-28  Tom Dye  <tsd@tsdye.com>
16896         * org-bibtex.el: Add crossref option to incollection.
16898 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16900         * org-bibtex.el (org-bibtex-headline): Don't export TYPE property
16901         as field.
16903 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16905         * org-bibtex.el (org-bibtex-key-property): When storing key in ID,
16906         warn if a duplicate ID is generated.
16908 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16910         * org-bibtex.el (org-bibtex-tags): New variable.
16911         (org-bibtex-tags-are-keywords): New variable.
16912         (org-bibtex-no-export-tags): New variable.
16913         (org-bibtex-headline): Export tags as comma-separated bibtex
16914         keywords.
16915         (org-bibtex-read): Import bibtex keywords field as tags.
16917 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
16919         * org-publish.el (org-publish-find-date): Optimization.
16921 2011-07-28  Tassilo Horn  <tassilo@member.fsf.org>
16923         * org-gnus.el (org-gnus-follow-link): Don't request scan of group
16924         when following link.
16926 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
16928         * org-publish.el (org-publish-project-alist): Document new
16929         :sitemap-sans-extension property.
16930         (org-publish-org-sitemap): Use new `sitemap-sans-extension'
16931         setting.
16933 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16935         * org.el (org-remove-uninherited-tags): Rename from
16936         `org-remove-iniherited-tags'.
16937         (org-scan-tags): Fix typo in function call.
16938         (org-get-tags-at): Fix typo in function call.
16940 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16942         * org.el (org-get-tags-at): Don't include filetags if local is t.
16944 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16946         * ob-clojure.el (org-babel-expand-body:clojure): Qualify pp
16947         dispatch functions, wrap body in `(do )'.
16949 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16951         * org.el (org-fontify-meta-lines-and-blocks): Fix bug which
16952         resulted in the creation of multiple overlays in src blocks.
16954 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16956         * ob-clojure.el (org-babel-execute:clojure): If results are not
16957         readable by lisp, then return them as a string.
16959 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16961         * org-bibtex.el (org-bibtex): Now prompts for a file name.
16963 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16965         * org-bibtex.el (org-bibtex-create): Adding prefix argument which
16966         will result in prompting for optional fields.
16968 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16970         * org-bibtex.el (org-bibtex-headline): Rename flet function `get'
16971         which was causing compile problems.
16972         (org-bibtex-fleshout): Rename flet function `get' which was causing
16973         compile problems.
16974         (org-bibtex-write): Rename flet function `get' which was causing
16975         compile problems.
16977 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
16979         * org-taskjuggler.el (org-taskjuggler-clean-id): Make sure an id
16980         never starts with a number.
16982 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16984         * org-bibtex.el (org-bibtex-export-arbitrary-fields): New option.
16985         (org-bibtex-key-property): New option.
16986         (org-bibtex-put): Make use of new `org-bibtex-key-property'
16987         variable.
16988         (org-bibtex-headline): Make use of new
16989         `org-bibtex-export-arbitrary-fields' and `org-bibtex-key-property'
16990         variables.
16991         (org-bibtex-autokey): Make use of new `org-bibtex-key-property'
16992         variable.
16993         (org-bibtex-fleshout): Make use of new `org-bibtex-key-property'
16994         variable.
16995         (org-bibtex-write): Make use of new `org-bibtex-key-property'
16996         variable.
16998 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17000         * org-bibtex.el: Updating Copyright dates, author information,
17001         commentary and history notes.
17002         (org-bibtex-types): List of bibtex types with descriptions and
17003         required and optional fields.
17004         (org-bibtex-fields): List of bibtex fields with descriptions.
17005         (*org-bibtex-entries*): Special variable to hold parsed bibtex
17006         entries.
17007         (org-bibtex-autogen-keys): Custom variable controlling whether
17008         bibtex keys are automatically generated
17009         (org-bibtex-prefix): Custom variable allowing use of optional prefix
17010         for bibtex properties in Org-mode headlines.
17011         (org-bibtex-get): Helper function for accessing bibtex elements of a
17012         property list.
17013         (org-bibtex-put): Helper function for inserting bibtex element into
17014         a property list.
17015         (org-bibtex-headline): Return a bibtex entry of the given headline
17016         as a string.
17017         (org-bibtex-ask): Prompt the user to fill in the value of a bibtex
17018         field.
17019         (org-bibtex-autokey): Generate a bibtex key for the current
17020         headline.
17021         (org-bibtex-fleshout): Fill in missing bibtex properties of the
17022         current headline.
17023         (org-bibtex): Export the current Org-mode buffer to a bibtex buffer.
17024         (org-bibtex-check): Check that all bibtex properties are present in
17025         the current headline.
17026         (org-bibtex-check-all): Check all headlines in the current buffer.
17027         (org-bibtex-create): Create a new bibtex headline at the current
17028         level.
17029         (org-bibtex-read): Read the current bibtex entry from a bibtex file.
17030         (org-bibtex-write): Write the most recently read bibtex entry into
17031         an Org-mode file.
17033 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17035         * org-agenda.el (org-agenda-clock-consistency-checks): Allow to
17036         set properties.
17037         (org-agenda-show-clocking-issues): Handle faces.
17039 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17041         * ob-ditaa.el (org-babel-default-header-args:ditaa): Specify utf8
17042         content by default with "-Dfile.encoding=UTF-8".
17044 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17046         * ob-ditaa.el (org-babel-execute:ditaa): New ":java" header
17047         argument.
17049 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17051         * org-exp.el (org-export-preprocess-string): Mark list end before
17052         expanding macros.  Thus, a macro inside a list and containing
17053         blank lines cannot break the list structure.
17054         (org-export-preprocess-apply-macros): Multi-lines macros get
17055         indented with the same indentation as the first line.  Thus, we
17056         are sure that every line belongs to the same list as the first
17057         line, if such list exists.  Also add comments in code.
17059 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17061         * org-agenda.el (org-agenda-clock-consistency-checks): New option.
17062         (org-agenda-list): Handle display change to clock check.
17063         (org-agenda-get-progress): Show only clock entries if we are doing
17064         the consistency check.
17065         (org-agenda-show-clocking-issues): New function.
17066         (org-agenda-check-clock-gap): New function.
17067         (org-agenda-view-mode-dispatch): Offer consistency check.
17068         (org-agenda-log-mode): Handle switch to clock only display.
17069         (org-agenda-set-mode-name): Show lighter for Clockcheck.
17071         * org.el (org-hh:mm-string-to-minutes): Accept an integer argument
17072         and return it unchanged.
17074 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17076         * org-list.el (org-list-struct): When walking down the list, the
17077         function would not pay attention to drawers or blocks indentation.
17078         Thus, such constructs couldn't consistently end an item or a list.
17079         This patch ensures line indentation is stored (if applicable)
17080         before skipping them.  Also fixed doc-string and comments.
17082 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17084         * org-exp.el (org-export): Add EXPORT_FILE_NAME to the enclosing
17085         tree properties.
17087 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17089         * org-exp.el (org-export): Define a bound for finding enclosing
17090         tree with class/title definition.
17092 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17094         * org-exp.el (org-export): Go to next heading before searching
17095         backward, so make this also work if we are on the headline of the
17096         entry with the property.
17098 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17100         * org.el (org-promote):
17101         (org-demote): Soften the previous change, by only removing the
17102         flyspell function from after-change functions, because that was
17103         the one causing the slowdown - at least much of it.
17105 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17107         * org.el (org-promote, org-demote): Turn off
17108         after-change-functions to speed up the reindentation of text.
17110 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17112         * ob-ocaml.el (org-babel-ocaml-read-list):
17113         Use `org-babel-script-escape'.
17114         (org-babel-ocaml-read-array): Use `org-babel-script-escape'.
17116 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17118         * org-html.el (org-html-handle-links): Add an alternate for inline
17119         images.
17121 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17123         * org-agenda.el (org-agenda-bulk-action): Do not use the entries
17124         variable before it is defined.
17126 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17128         * org-src.el (org-src-lang-modes): Add a language alias of "C"
17129         to "c".
17131 2011-07-28  Shaun Johnson  <shaun@slugfest.demon.co.uk>  (tiny change)
17133         * ob-tangle.el (org-babel-tangle): Make it work in an indirect
17134         buffer.
17136 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17138         * org-html.el (org-html-make-link): Correct a bug in coderef link.
17140 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17142         * org-agenda.el (org-agenda-filter-by-tag): Fix variable name
17143         typo.
17145 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17147         * org-agenda.el (org-agenda-get-timestamps): Fix agenda display
17148         when headlines are missing.
17150 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17152         * org-mobile.el (org-mobile-push): Move call to hook, make it the
17153         first thing of the push operation.
17155 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17157         * ob.el (org-babel-params-from-buffer): Now looking for header
17158         arguments in #+Properties: as well as #+Babel:.  Also, we're no
17159         longer caching these results into a file local variable.
17161 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17163         * ob-python.el (org-babel-python-evaluate-external-process):
17164         Allow parsing as a table in the case of ":results output table".
17165         (org-babel-python-evaluate-session): Allow parsing as a table in
17166         the case of ":results output table".
17168 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17170         * org-agenda.el (org-agenda-bulk-action): Allow bulk scatter in
17171         all possible agenda views.  Use `org-agenda-schedule' instead of
17172         `org-agenda-date-later'.
17174 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17176         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Now supports
17177         ":results output".
17179 2011-07-28  Julien Danjou  <julien@danjou.info>
17181         * org.el (org-entry-get, org-entry-delete, org-entry-put)
17182         (org-property-values, org-delete-property-globally):
17183         Use `org-re-property'.
17184         (org-re-property): New function allowing to build a regexp to
17185         match a property.
17187 2011-07-28  Julien Danjou  <julien@danjou.info>
17189         * org.el (org-property-values): Enhance docstring.
17191 2011-07-28  Ethan Ligon  <ligon@are.berkeley.edu>  (tiny change)
17193         * org-html.el (org-html-export-list-line): Fix regexp for
17194         detecting description lists to allow "::" marker to be last
17195         visible element at end of line.
17196         * org-docbook.el (org-docbook-export-list-line): Fix regexp for
17197         detecting description lists to allow "::" marker to be last
17198         visible element at end of line.
17200 2011-07-28  Julien Danjou  <julien@danjou.info>
17202         * org-table.el (org-table-cleanup-narrow-column-properties):
17203         Use point-min rather than 1 when moving in the buffer.
17205 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17207         * org-list.el (org-list-in-valid-context-p): Rename from
17208         `org-list-in-valid-block-p'.
17209         (org-at-item-p, org-list-search-generic): Use renamed function.
17211 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17213         * org.el (org-set-font-lock-defaults): Be more strict when
17214         recognizing description items, and do not fontify wrong cases
17215         like: "- term ::description" or "1. term :: description".
17217 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17219         * org-latex.el: Pay attention to end of footnote.  Before closing
17220         the command, ensure that list is properly closed or that last link
17221         is separated from the curly brace.
17223 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17225         * org.el (org-indent-line-function): Footnote definition must stay
17226         at column 0 to be recognized as such.  Body below can have normal
17227         indentation, so it should ignore its definition when computing
17228         indentation.
17230 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17232         * org-protocol.el (org-protocol-remember, org-protocol-capture):
17233         More appropriate message.
17235 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17237         * org-capture.el (org-capture-clock-keep): New local variable.
17238         (org-capture, org-capture-finalize): Use it and fix a bug when
17239         :clock-keep is set to `t'.
17241 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
17243         * org-exp.el (org-export-preprocess-string): Handle include files
17244         before processing macros.
17246 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17248         * org-agenda.el: Remove obsolete code for adding todo list in
17249         front of the agenda.
17251 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17253         * org-latex.el (org-export-latex-convert-table.el-table):
17254         Fix format-string for insertion of captions.
17256 2011-07-28  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
17258         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
17259         Fix regexp.
17261 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
17263         * org.el (org-read-date-analyze): Help matching dotted European
17264         dates, like 31. 12. 2007
17266 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17268         * ob-lisp.el (org-babel-execute:lisp): Fix typo.
17270 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17272         * ob-lisp.el (org-babel-execute:lisp): Turn vectors into lists
17273         before reading by elisp.
17274         (org-bable-lisp-vector-to-list): Stub of a vector->list function,
17275         should be replaced with a cl-vector->el-vector function.
17277 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17279         * ob-lisp.el (org-babel-execute:lisp): Now using
17280         `org-babel-reassemble-table' to apply the appropriate header
17281         arguments to results.
17283 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17285         * org.el (org-end-of-meta-data-and-drawers): New function.
17287         * org-capture.el (org-capture-place-plain-text): Implement adding
17288         plain text templates to Org nodes.
17290 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17292         * org-beamer.el (org-beamer-environments-extra): Fix docstring.
17294 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17296         * org-exp.el (org-export-handle-comments): Add the org-protected
17297         property to the replacement string.
17299 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17301         * org-html.el (org-export-as-html, org-html-level-start):
17302         Fix logic for section number printing when NUM is an integer.
17304 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17306         * org-latex.el (org-export-latex-special-chars): Fix regexp for
17307         `single' special characters and ellipsis.
17309 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17311         * org.el (org-point-at-end-of-empty-headline):
17312         Bind `case-fold-search' to nil.
17314 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17316         * org-capture.el (org-capture-fill-template): Resolve new %<...>
17317         template escape.
17318         (org-capture-templates): Document new %<...> template escape.
17320 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17322         * ob.el (org-babel-process-params): Make this function idempotent,
17323         as it will sometimes be called multiple times.
17325 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17327         * org.el (org-ts-regexp-both): Add "]" to class of characters that
17328         should not be matched.
17329         (org-ts-regexp0, org-ts-regexp1): Do not start a class with
17330         "^]-+", because that tries to (not) match characters between "]"
17331         and "+".  Instead, move the "-" to the end of the class where it
17332         causes no harm.
17334 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17336         * ob-R.el (org-babel-edit-prep:R): Associate the appropriate R
17337         process with the edit buffer when :session is specified.
17339 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17341         * ob-tangle.el (org-babel-tangle-collect-blocks): Brought the link
17342         extraction code into line with a newer version of the
17343         `org-store-link' function.
17345 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17347         * ob-lisp.el (org-babel-expand-body:lisp): New body expansion
17348         wrapping the expression in either a let or progn, and possibly a
17349         pretty-print function invocation.
17350         (org-babel-execute:lisp): Greatly simplified method of executing
17351         lisp code blocks.
17353 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17355         * org-list.el: Move `org-update-checkbox-count-maybe' call outside
17356         of ̀save-excursion' to get back to original position.
17358 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17360         * org.el (org-numbered-action-format): New option.
17361         (org-new-numbered-action): New command.
17362         (org-collect-todos-in-subtree): New command.
17364 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17366         * org-exp.el (org-export-with-tasks): New option.
17367         (org-export-plist-vars): Add :tasks property.
17369 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17371         * org-ascii.el (org-export-as-ascii): Pass the :done-tasks
17372         property to the export preprocessor.
17374         * org-docbook.el (org-export-as-docbook): Pass the :done-tasks
17375         property to the export preprocessor.
17377         * org-html.el (org-export-as-html): Pass the :done-tasks property
17378         to the export preprocessor.
17380         * org-latex.el (org-export-as-latex): Pass the :done-tasks
17381         property to the export preprocessor.
17383         * org-exp.el (org-export-with-done-tasks): New option.
17384         (org-export-plist-vars): Add entry for :done-tasks.
17385         (org-export-preprocess-string): Call `org-export-remove-done-tasks'.
17386         (org-export-remove-done-tasks): New function.
17388 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17390         * org-latex.el (org-export-latex-keywords-maybe): Protect # in
17391         tags.
17393 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17395         * org.el (org-find-olp): Use the level of the correct match to
17396         continue search.
17398 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17400         * org-list.el (org-toggle-checkbox): Build value of
17401         org-keyword-time-regexp instead of using it directly, as it's
17402         buffer-local, and function might be called outside Org.
17404 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17406         * org-list.el (org-list-struct, org-in-item-p): Don't assume end of
17407         blocks or drawers necessarily start somewhere.  It it isn't the
17408         case, treat them as normal text.
17410 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17412         * ob-exp.el (org-babel-exp-results): Use code block name when
17413         finding cached results.
17415 2011-07-28  Julien Danjou  <julien@danjou.info>
17417         * org-latex.el (org-export-latex-date-format): Change default date
17418         format to \today.  This has the same result but respects the
17419         language set in the document by default.
17421 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17423         * org-list.el (org-list-checkbox): When called from an headline,
17424         function would normally skip drawers, but not if a SCHEDULED or
17425         DEADLINE keyword is standing before the drawer.  Also avoid
17426         problems if function is called in buffers not is Org mode.
17428 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17430         * org-clock.el (org-clock-report): Change the scope of the
17431         inserted clock report depending on whether the point is within a
17432         subtree (:scope subtree) or not (:scope file).
17434 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
17436         * org-html.el (org-export-as-html): Fix export of footnotes
17437         containing lists, tables, quotes, etc.
17439 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17441         * org-latex.el (org-export-latex-preprocess): Correctly match
17442         starred command names.
17444 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17446         * org-html.el (org-export-as-html): Get local value of
17447         org-export-with-section-numbers from the buffer's plist.
17448         Deal specially with the case the resulting value is an integer.
17449         (org-html-level-start): New optional argument of the option plist used
17450         instead of `org-export-with-section-numbers'.  Also deal specially
17451         with the case that the value is an integer.
17453 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17455         * org-latex.el (org-export-latex-subcontent): Deal specially with
17456         the case that NUM is an integer.
17458 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17460         * org-protocol.el (org-protocol-do-capture): Allow template keys
17461         of two characters.
17462         (org-protocol-default-template-key): Update the docstring to
17463         reflect the change in `org-protocol-do-capture'.
17465 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
17467         * org-taskjuggler.el: Fix a typo in the commentary.
17469 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
17471         * org-taskjuggler.el (org-taskjuggler-open-task): Only emit a
17472         "purge allocations" statement if we are not targeting tj3.
17474 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
17476         * org-taskjuggler.el (org-taskjuggler-assign-resource-ids):
17477         Replace recursive implementation with an iterative one.
17479 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17481         * ob-sh.el (org-babel-sh-var-to-sh): Fix insertion of tabular
17482         data into shell variables.
17484 2011-07-28  David Maus  <dmaus@ictsoc.de>
17486         * org-html.el (org-html-handle-time-stamps): Protected linebreak
17487         element after timestamp markup.
17489 2011-07-28  David Maus  <dmaus@ictsoc.de>
17491         * org-html.el (org-html-handle-links): Don't protect img tag in
17492         link description.
17494 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17496         * org-table.el (org-table-formula-handle-first/last-rc):
17497         Bind `char'.
17499 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17501         * org-list.el (org-in-item-p): Re-build `org-drawer-regexp',
17502         whatever the major mode is.
17504 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17506         * org-inlinetask.el (org-inlinetask-export-templates): Fix default
17507         templates.
17508         (org-inlinetask-export-handler): Ensure contents of inline task,
17509         if any, starts and ends with a newline character.  Refactor and
17510         comment code.
17512 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17514         * org-capture.el (org-datetree-find-date-create): Lower-case for
17515         variable names in `define-function' form.
17517 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17519         * org-table.el (org-table-convert-region): Throw error when
17520         SEPARATOR is smaller than 1.
17522 2011-07-28  Julien Danjou  <julien@danjou.info>
17524         * org-colview.el (org-columns-display-here): Fix heading retrieval
17525         in Org buffers.
17527 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17529         * org-latex.el (org-export-latex-preprocess): Last brace shouldn't
17530         be on the same line as a list end marker.
17532 2011-07-28  Julien Danjou  <julien@danjou.info>
17534         * org.el (org-icompleting-read): Do not use useless lambda.
17536 2011-07-28  Julien Danjou  <julien@danjou.info>
17538         * org-agenda.el (org-format-agenda-item): Fix length computing.
17540 2011-07-28  Julien Danjou  <julien@danjou.info>
17542         * org-agenda.el (org-format-agenda-item): Fix comment and use
17543         `add-text-properties'.
17545 2011-07-28  Julien Danjou  <julien@danjou.info>
17547         * org-agenda.el (org-agenda-highlight-todo): Remove useless
17548         `concat'.
17550 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17552         * org-list.el (org-list-to-generic): Set a default term for
17553         ill-formed description lists.  Do not insert newline characters
17554         unless told to.
17555         (org-list-to-texinfo, org-list-to-html): Apply changes to
17556         `org-list-parse-liste'.
17558 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17560         * org-clock.el (org-clock-clocktable-language-setup): Add a
17561         string.
17562         (org-clocktable-write-default): Use the new localized string
17563         in `org-clock-clocktable-language-setup'.
17565 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17567         * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness):
17568         (org-taskjuggler-assign-resource-ids): Replace recursive
17569         implementation with an iterative one.
17571 2011-07-28  Christian Egli  <christian.egli@alumni.ethz.ch>
17573         * org-taskjuggler.el (org-taskjuggler-components): Escape quotes
17574         in headlines.
17576 2011-07-28  Christian Egli  <christian.egli@alumni.ethz.ch>
17578         * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness):
17579         Compute the leafiness of a node.
17580         (org-taskjuggler-open-task, org-export-as-taskjuggler): Mark a
17581         node as a milestone if it is a leaf and has no effort.
17583 2011-07-28  Christian Egli  <christian.egli@alumni.ethz.ch>
17585         * org-taskjuggler.el (org-export-taskjuggler-target-version):
17586         (org-taskjuggler-targeting-tj3-p): Add some minimal infrastructure
17587         to handle export to both tj2 and tj3.
17588         (org-taskjuggler-open-task): Use a different way to purge
17589         allocations for tj2 and tj3.
17591 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17593         * org-footnote.el (org-footnote-auto-label): New random option.
17595         * org-footnote.el (org-footnote-new): Create random footnote
17596         labels with unique ids.
17598 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17600         * org-footnote.el (org-footnote-create-definition): Allow for
17601         footnote sections above the current footnote insertion point.
17603 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17605         * org-footnote.el (org-footnote-create-definition): Don't search
17606         for last footnote when in org-mode file.
17608 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17610         * org-html.el (org-export-as-html): Handle links with
17611         `org-html-handle-links' after we handle special characters
17612         conversions.
17613         (org-html-make-link, org-export-html-format-image):
17614         Don't protect html with @ anymore, as links are now handled after
17615         special characters conversions.
17617 2011-07-28  Julien Danjou  <julien@danjou.info>
17619         * org-agenda.el (org-agenda-get-timestamps):
17620         (org-agenda-get-scheduled): Fix call to `org-format-agenda-item'.
17621         (org-format-agenda-item): Remove no-prefix argument.
17622         (org-agenda-change-all-lines): Call org-format-agenda-item without the
17623         no-prefix argument.
17625 2011-07-28  Julien Danjou  <julien@danjou.info>
17627         * org-agenda.el (org-agenda-highlight-todo): Stop using
17628         prefix-length.
17629         (org-cmp-alpha): Stop using prefix-length.
17630         (org-agenda-open-link): Stop using prefix-length.
17631         (org-agenda-change-all-lines): Stop using prefix-length.
17633         * org-colview.el (org-columns-display-here): Stop using
17634         prefix-length.  Always return claned items.
17636         * org-mobile.el (org-mobile-write-agenda-for-mobile): Stop using
17637         prefix-length.
17639 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17641         * ob-tangle.el (org-babel-tangle-collect-blocks): Don't call
17642         `org-store-link' interactively as it can confuse the setting of
17643         `org-link-to-org-use-id' and cause undue edits to the org-mode
17644         buffer during tangling.
17646 2011-07-28  David Maus  <dmaus@ictsoc.de>
17648         * org-html.el (org-export-html-format-image): Protect <p> element
17649         of image caption.
17651 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17653         * org.el (org-read-date-force-compatible-dates): New option.
17654         (org-read-date, org-read-date-analyze): Check representable date range.
17656 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17658         * org-html.el (org-export-as-html): Fix export of email.
17660 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17662         * ob-tangle.el (org-babel-spec-to-string): Check value of padline
17663         on tangling, no longer use the now-removed variable
17664         `org-babel-tangle-pad-newline'.
17666         * ob.el (org-babel-header-arg-names): Add padline to the list of
17667         header argument names.
17668         (org-babel-default-header-args): Set the default value of padline to
17669         "yes".
17670         (org-babel-merge-params): Cleaned up the merge logic, added padline.
17672 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17674         * ob.el (org-babel-header-arg-names): Adding "shebang" to known
17675         code block header argument names.
17677 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17679         * org-crypt.el: Remove useless TODO in comments.
17681 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17683         * org-html.el (org-export-as-html): The default postamble now only
17684         export a date paragraph if `org-export-time-stamp-file' is
17685         non-nil.
17687 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17689         * org-exp.el (org-export-xml): Remove the defgroup of
17690         org-export-xml.
17692 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17694         * org-html.el (org-export-html-insert-plist-item): Remove.
17695         (org-export-html-preamble): Default to `t'.  Accept functions.
17696         (org-export-html-postamble): Default to `auto'.
17697         Accept functions and distinguish between 'auto (no formatting string)
17698         and `t' (default formatting string).
17699         (org-export-as-html): Handle org-export-html-preamble and
17700         org-export-html-postamble new defaults/allowed values.
17701         Define email and creator-info before using them.
17703 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17705         * org-html.el (org-export-html-protect-char-alist): Fix typo in
17706         custom type definition.
17708 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17710         * ob-exp.el (org-babel-exp-do-export): Now runs for empty :session
17711         arguments.
17713 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17715         * org-list.el (org-list-parse-list): Fix regexp.
17717 2011-07-28  David Maus  <dmaus@ictsoc.de>
17719         * org-html.el (org-export-html-format-image): Protect image
17720         elements.
17722 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17724         * ob-tangle.el (org-babel-tangle-body-hook): Hook for changing the
17725         contents of a code block body on export.
17726         (org-babel-tangle-collect-blocks): Apply
17727         `org-babel-tangle-body-hook' to the collected bodies of code blocks.
17729 2011-07-28  David Maus  <dmaus@ictsoc.de>
17731         * org-html.el (org-html-make-link, org-html-handle-links):
17732         Protect generated XHTML elements.
17733         (org-export-as-html): Expand character entities after creating markup
17734         for links and timestamps.
17736 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17738         * org-html.el (org-export-as-html): Bugfix: insert email
17739         correctly.
17741 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17743         * org-html.el: Bugfix: prevent infinite matching of the `&'
17744         character.
17746 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17748         * org.el (org-fill-paragraph): `fill-forward-paragraph' function
17749         has been introduced with emacs 23.1.
17751 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17753         * org-attach.el: Allow to store a link to the attach-dir location.
17755 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
17757         * org-agenda.el (org-agenda-bulk-action): Allow the user to run a
17758         function.
17760 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17762         * org-clock.el (org-clock-in): Allow clocking in new tasks
17763         inserted before the current clocking task.
17765 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17767         * org-clock.el (org-clock-in): Set default clocking task when
17768         already clocking the task.
17770 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17772         * org.el (org-adaptive-fill-function): When a region is specified
17773         first line of paragraph isn't skipped, so fill-paragraph have to
17774         be computed even if point is at an item.
17776 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17778         * org-list.el (org-list-in-valid-block-p): New function.
17779         (org-at-item-p, org-list-search-generic): Use new function.
17781 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17783         * org.el (org-indent-line-function): Text in both a list and a
17784         valid block is indented with regards to current item, not to block
17785         boundaries.
17787 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17789         * org-html.el (org-format-org-table-html): Fix anchors in HTML
17790         export (thanks to <aankhen@gmail.com>)
17791         (org-html-protect): Fix a  bug that prevents some target to be
17792         rendered correctly.
17794 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17796         * org.el (org-default-properties): Add EXPORT_TEXT.
17798 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17800         * org-footnote.el (org-footnote-create-definition)
17801         (org-insert-footnote-reference-near-definition): Fix sorting
17802         of footnotes.
17804 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17806         * org-html.el (org-export-as-html): Bugfix: don't insert closing
17807         HTML tags when exporting body only.
17809 2011-07-28  Jason Dunsmore  <emacs-orgmode@deathroller.dunsmor.com>  (tiny change)
17811         * org.el (org-back-over-empty-lines): Bugfix.
17812         Honor `org-blank-before-new-entry' correctly in various contexts.
17814 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17816         * org-macs.el (org-with-wide-buffer): Bugfix: use `save-excursion'
17817         and `save-restriction'.
17819 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17821         * org-timer.el (org-timer-item): `save-excursion' prevents
17822         `org-list-struct' to get the list structure when point isn't on
17823         the first line of the item.
17825 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17827         * org-capture.el (org-capture-templates): New option
17828         :no-clock-out.
17829         (org-capture): Use the new option.
17831 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17833         * org-list.el (org-update-checkbox-count): Ensure cookies on an
17834         heading are correctly updated when checkboxes are hidden.
17835         It allows, for example, to use C-c C-x C-b on a collapsed tree and
17836         still get the update.
17838 2011-07-28  David Maus  <dmaus@ictsoc.de>
17840         * org-exp.el (org-export-visible): Accept keys for
17841         `org-export-as-html-to-buffer' and `org-export-region-as-html'.
17843 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17845         * org.el (org-duration-string-to-minutes): Don't use
17846         `rx-to-string'.
17848 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17850         * org.el (org-effort-durations): New variable.
17852         * org.el (org-duration-string-to-minutes): New function.
17854         * org-agenda.el (org-agenda-filter-effort-form)
17855         (org-format-agenda-item): Use it.
17857         * org-clock.el (org-clock-notify-once-if-expired)
17858         (org-clock-modify-effort-estimate, org-clock-get-clock-string): Use it.
17860 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17862         * org-agenda.el (org-agenda-run-series): Rename from
17863         `org-run-agenda-series'.
17865 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17867         * org-capture.el: Don't allow currentfile anymore.
17869 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17871         * org-agenda.el (org-agenda-list): Fix bug: don't rely on
17872         `org-agenda-current-span' when calling `org-agenda-list'.
17874 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17876         * org-capture.el (org-capture-put-target-region-and-position):
17877         New function to store information about the target buffer.
17878         (org-capture-set-target-location): Use it.
17879         (org-capture-finalize): Restore the target buffer in its
17880         possibly narrowed state.  Also restore the cursor position.
17882 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17884         * org-crypt.el (auto-save-default): Make sure entries are
17885         encrypted before auto-saving.
17887 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17889         * org-inlinetask.el (org-inlinetask-promote)
17890         (org-inlinetask-demote): New functions.
17892 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17894         * org.el (org-demote-subtree, org-promote-subtree):
17895         Wrap `org-map-tree' into `org-with-limited-levels' macro, so it avoids
17896         operating on inline tasks.
17898 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17900         * org.el (org-narrow-to-subtree): Ensure `org-back-to-heading'
17901         will move point to a real heading and not an inline task by
17902         wraping function into a `org-with-limited-levels' macro.
17904 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17906         * org-capture.el (org-capture-finalize): New argument clock-out,
17907         to tell whether finalizing the capture process should clock out
17908         the running clock.
17909         (org-capture): Use the new argument.
17911 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17913         * org.el (org-refile-get-targets): Rename from
17914         `org-get-refile-targets'.
17916 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17918         * org-exp.el (org-export-table-remove-empty-lines): New custom
17919         variable.
17920         (org-export-remove-special-table-lines): Use it.
17922 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17924         * org-table.el (org-table-fix-formulas-confirm): New custom
17925         variable.
17926         (org-table-insert-column, org-table-delete-column)
17927         (org-table-move-column, org-table-move-row)
17928         (org-table-insert-row, org-table-kill-row): Use it.
17930 2011-07-28  Tassilo Horn  <tassilo@member.fsf.org>
17932         * org.el (org-refile-get-location): Set and show default value.
17933         (org-goto, org-refile): Adapt calls.
17935 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17937         * org-mobile.el (org-mobile-files-exclude-regexp): New custom
17938         variable.
17939         (org-mobile-files-alist): Use it.
17941 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17943         * org.el (org-todo): Bugfix: use `org-with-wide-buffer' to check
17944         against headings outside of a narrowed buffer.
17946 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17948         * org.el (org-confirm-shell-link-not-regexp)
17949         (org-confirm-elisp-link-not-regexp): New custom variables.
17950         (org-open-at-point): Use the new custom variables.
17952 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17954         * org-latex.el: Place \title \author \date before
17955         \begin{document}.
17957 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17959         * org-html.el (org-export-html-preamble)
17960         (org-export-html-postamble): Now default to `nil'.
17961         (org-export-as-html): When :html-pre/postamble is nil, fall
17962         back on the default pre/postamble, which depends on the
17963         :author-info, :email-info, :creator-info options.
17965 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17967         * ob-exp.el (org-babel-exp-results): Don't use cached results if
17968         there is no hash.
17970 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17972         * org-table.el (org-table-eval-formula): Treat relative column
17973         refs.
17975 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17977         * org-table.el (org-table-use-standard-references): Change default
17978         to `from'.
17980 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17982         * org.el (org-move-subtree-down): Leave the cursor at the same
17983         column we were at.
17985 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17987         * org-attach.el (org-attach-store-link-p): New variable.
17988         (org-attach-store-link): New function.
17989         (org-attach-attach): When `org-attach-store-link-p' is
17990         non-nil, store a link in `org-stored-links' to a newly
17991         attached file.
17993 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17995         * org-exp.el (org-export-remove-headline-metadata): Bugfix: don't
17996         case-fold-search to avoid mixing TODO keywords with real headline
17997         words.
17999 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18001         * org-table.el (org-table-fedit-finish): Read more general LHS of
18002         formulas.
18003         (org-table-formula-handle-@L): New function to hanle @L references.
18004         (org-table-current-ncol): New variable.
18005         (org-table-line-to-dline): New function.
18006         (org-table-get-stored-formulas): Accept range formulas as matches.
18007         (org-table-get-specials): Compute and store the number of columns.
18008         (org-table-get-range): New optional argument CORNERS-ONLY, to retrieve
18009         only the region marked by the range, not the content.
18010         (org-table-recalculate): Call `org-table-expand-lhs-ranges' to expand
18011         range targets.  Also check for duplicate access to fields.
18012         (org-table-expand-lhs-ranges): New funktion.
18013         (org-table-get-remote-range): Bind `org-table-current-ncol' to protect
18014         the caller's value.
18015         (org-table-edit-formulas): Support highlighting of range targets.
18016         (org-table-field-info): Handle renge formulas.
18018 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18020         * org-html.el (org-export-html-postamble-format)
18021         (org-export-html-preamble-format): Explain how to escape the
18022         `%' character.
18024 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18026         * ob.el (org-babel-read): Read string variable values wrapped in
18027         double quotes, removing the quotes.
18029 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18031         * ob-exp.el (org-babel-exp-results): Ensure that processed params
18032         are send to org-babel-execute-src-block.
18034 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18036         * org-special-blocks.el
18037         (org-special-blocks-make-special-cookies):
18038         Use `org-export-current-backend'.
18040 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18042         * ob-exp.el (org-babel-exp-in-export-file): Now takes the language
18043         as an argument.
18044         (org-babel-exp-src-block): Explicitly pass language to
18045         `org-babel-exp-in-export-file'.
18046         (org-babel-exp-inline-src-blocks): Remove unused code.
18047         (org-babel-exp-results): Explicitly pass language to
18048         `org-babel-exp-in-export-file'.
18050 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18052         * ob-calc.el (org-babel-execute:calc): Unquote quoted vectors
18053         returned from calc-eval.
18055 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18057         * ob.el (org-babel-read): Pass elisp vectors through to code
18058         blocks.
18060 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18062         * ob.el (org-src-lang-modes): Defvar.
18063         (org-at-item-p): Declare function.
18065         * ob-calc.el (calc-store): Require.
18066         (var-syms): Defvar.
18068         * ob-python.el (py-default-interpreter): Defvar.
18070 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18072         * org-exp-blocks.el (backend): defvar.
18074 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18076         * org-agenda.el (org-agenda-get-scheduled):
18077         (org-agenda-get-timestamps): Bind local variable `show-all'.
18079 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18081         * ob-ref.el (org-at-item-p): Declare function.
18083         * org-agenda.el (diary-time-regexp): defvar.
18085         * org-archive.el (org-archive-subtree): Bind local variable
18086         `infile-p'.
18088         * org-capture.el (org-capture-insert-template-here): Get template
18089         text from property list, to avoid byte compiler message.
18091         * org-latex.el (org-export-latex-tables): Bind local variable
18092         `width'.
18094         * org-special-blocks.el (org-compat): Add require statement.
18096         * org-table.el (orgtbl-ctrl-c-ctrl-c): Bind local variable
18097         `const-str'.
18099         * org.el (org-eval): Move function here from org-agenda.el.
18101 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18103         * ob.el (org-babel-read-table): Inhibit lisp evaluation of values
18104         when reading from tables.
18105         (org-babel-read-list): Inhibit lisp evaluation of values when
18106         reading from lists.
18107         (org-babel-read): Add optional argument which can be used to inhibit
18108         lisp evaluation of value.
18110 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18112         * ob-table.el (sbe): Ensure that ob-trim is only called on
18113         strings.
18115 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18117         * ob-exp.el (org-babel-exp-results): On export, ensure that the
18118         result hash is resolved in the original org-mode file.
18120 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18122         * org-exp.el (org-export-mark-list-end): Change end marker.
18124         * org-docbook.el (org-export-docbook-list-line): Use new marker.
18126         * org-html.el (org-html-export-list-line): Use new marker.
18128         * org-latex.el (org-export-latex-lists): Use new marker.
18130 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18132         * org-latex.el (org-export-latex-lists): Make sure markers used
18133         for export are taken into account by temporarily setting an
18134         appropriate value for `org-list-ending-method'.
18136 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18138         * org-exp-blocks.el (org-exp-blocks-block-regexp): Wrapping block
18139         regexp into its own variable, also allowing match of empty bodies.
18140         (org-export-blocks-preprocess): Using new regexp variable.
18142 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18144         * ob.el (org-babel-src-block-regexp): Code block regexp now
18145         matches blocks with empty bodies.
18147 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18149         * ob.el (org-babel-script-escape): If script escaped value doesn't
18150         parse cleanly, then return it literally.
18152 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18154         * ob-exp.el (org-babel-exp-src-block): When block will eventually
18155         be evaluated, pre-calculate the hash before noweb expansion, and
18156         expand the parameters before hash calculation.
18157         (org-babel-exp-do-export): Pass pre-calculated hash through to
18158         `org-babel-exp-results'.
18159         (org-babel-exp-results): Compare pre-calculated hash to results hash.
18161 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18163         * ob.el (org-babel-sha1-hash): Sort list values to header
18164         arguments, and sort the words in strings.
18166 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18168         * ob-ref.el (org-babel-ref-index-list): Special handling of hline
18169         rows.
18171 2011-07-28  Julien Danjou  <julien@danjou.info>
18173         * org-macs.el (org-with-point-at): Store evaluated version of
18174         pom.  This fixes a potential bug when using (org-with-point-at
18175         (func) …), where (func) would be evaluated multiple times,
18176         therefore might return different results if a marker was returned
18177         and different each time.
18179 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18181         * org.el (org-open-at-point): If a link to a radio target is the
18182         first, (resp. the last), element of a buffer, function cannot find
18183         the property change required to get its boundaries, and
18184         `buffer-substring' is called with an invalid nil argument.
18186 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18188         * org-table.el (org-table-copy-down): Fix docstring.
18190 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18192         * ob-latex.el (org-babel-execute:latex): Add imagemagick options,
18193         and for file types other than png and PDF it uses imagemagick to
18194         convert a compiled PDF file to the desired file type.
18195         (convert-pdf): Convert a PDF file to a new file type using
18196         imagemagick.
18198 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
18200         * org-capture.el (org-capture-fill-template): Fix bug with the
18201         display of interactive prompt in templates expansion.
18203 2011-07-28  Reiner Steib  <reiner.steib@gmx.de>
18205         * org-clock.el (org-clock-display): Document how to remove subtree
18206         times.
18208 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18210         * org-exp-blocks.el (org-export-blocks-format-comment):
18211         Explicitly append a newline to the body.
18213 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18215         * org-list.el (org-list-insert-item): When computing size of item
18216         being inserted, function has to take into account that indentation
18217         may not only be made of spaces.
18219 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18221         * org-clock.el (org-clock-find-position): If a list was adjacent
18222         to some clocks and a drawer was going to be created, only the
18223         first element of the list would make it into the drawer.
18225 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18227         * org-list.el (org-toggle-checkbox): Fix bug where top item in
18228         list was omitted when checking boxes.
18230 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18232         * ob-R.el: Don't print result to echo area after evaluation.
18234 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18236         * org-capture.el (org-capture-refile): Fix typo in docstring.
18238 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18240         * ob-calc.el (org-babel-execute:calc): Call out to new function
18241         for variables resolution.
18242         (ob-calc-maybe-resolve-var): Resolve (possibly recursively)
18243         variables in calc expressions.
18245 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18247         * ob-C.el (org-babel-tangle-lang-exts): Replace "c++" with "C++".
18248         (org-babel-C++-compiler): Replace "c++" with "C++".
18249         (org-babel-execute:cpp): Replace "c" with "C++".
18250         (org-babel-execute:C++): Replace "c" with "C++".
18251         (org-babel-expand-body:C++): Replace "c" with "C++".
18252         (org-babel-C-execute): Replace "c" with "C++".
18254 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18256         * ob-ref.el (org-babel-ref-at-ref-p): Only try to read results as
18257         a list if at the *beginning* of a list item.
18259         * ob.el (org-babel-read-result): Only try to read results as a
18260         list if at the *beginning* of a list item.
18262 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18264         * org-list.el (org-cycle-item-indentation): Do not break an
18265         indentation cycle because visibility cycling is requested.
18266         This happens when an item becomes a parent, due to indentation change.
18267         Not considered empty anymore, the function cannot change its
18268         indentation again.
18270 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18272         * org-clock.el (org-clocktable-write-default): Bugfix: falls back
18273         on `org-export-default-language' when no :lang parameter is set.
18275 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18277         * org-capture.el (org-capture-expand-file): New function.
18278         (org-capture-target-buffer):
18279         (org-capture-set-target-location): Use `org-capture-expand-file'.
18281 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18283         * ob.el (org-babel-read-list): Reading the value of a list has
18284         been updated to reflect the new structure of org-mode lists in
18285         elisp.
18286         (org-babel-insert-result): Writing code block results to lists has
18287         been updated to reflect the new list structure.
18288         (org-babel-result-end): Remove a previous change to end-of-list
18289         marker detection.
18291 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18293         * org-list.el (org-cycle-item-indentation): Each time the function
18294         moves item back to child position, a white space is added to the
18295         line.
18297 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18299         * ob.el (org-babel-process-params): Allow elisp code in
18300         specification of results header arguments.
18302 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18304         * org-agenda.el (org-agenda-append-agenda): New command.
18305         (org-agenda-mode-map): New keybinding to this new command.
18307 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18309         * org.el (org-ctrl-c-ctrl-c): Call `org-list-send-list' only when
18310         cursor it at very first item of the list, as specified in the
18311         manual.  Also refactored the list part of the function a bit.
18313 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18315         * org-agenda.el (org-agenda): Set the 'last-args property to nil
18316         when calling `org-agenda'.  Don't kill the local variable
18317         `org-agenda-current-span'.
18318         (org-run-agenda-series): Use the new property 'last-args.
18319         (org-agenda-change-time-span): Use the dynamically set
18320         `org-agenda-overriding-arguments' variable when non-nil.
18322 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18324         * ob.el (org-babel-result-end): Adjust marker of list end to
18325         changes in the list format.
18327 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18329         * org-list.el (org-toggle-checkbox, org-update-checkbox-count):
18330         No need to wrap `org-entry-get' in `ignore-errors'.
18332 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18334         * org.el (org-toggle-item, org-toggle-heading): Make sure every
18335         sub-item in a list is changed into a sub-heading and sub-headings
18336         are translated into sub-items.  Also ignore inline tasks in the
18337         process.
18339 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18341         * org-exp.el (org-export-select-backend-specific-text):
18342         Add `original-indentation' property when replacing #+begin_backend and
18343         #+backend blocks with their content.  This is needed for lists, as
18344         they must know if the block belonged to them.
18346 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18348         * org-html.el (org-html-export-list-line): Insert a newline
18349         character before ending an item, as anchor could be on a line
18350         going to be deleted, like a drawer ending string.
18352         * org-list.el (org-list-to-html): Same.
18354 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18356         * org.el (org-set-autofill-regexps): Use `org-item-re' in
18357         `paragraph-start' to recognize alphabetical lists.
18358         (org-fill-paragraph): Enforce a pre-computed fill-prefix before
18359         calling `fill-paragraph' when point is in an item.  Also prevent
18360         paragraphs getting merged into an adjacent list upon filling.
18361         (org-adaptive-fill-function): Make sure to determine real
18362         fill-prefix for auto-fill.
18363         (org-auto-fill-function): Use a pre-computed fill-prefix before
18364         calling `do-auto-fill'.
18366         * org-list.el (org-list-item-body-column): New function.
18368 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18370         * org-inlinetask.el (org-inlinetask-at-task-p)
18371         (org-inlinetask-toggle-visibility): New functions.
18373         * org-list.el (org-list-set-item-visibility): New function.
18375         * org.el (org-cycle, org-cycle-internal-local): Separate lists and
18376         inline tasks from headlines.
18377         (org-outline-level): Do not consider lists as headlines.
18378         Cycling visibility is using different tools.
18380 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18382         * org-list.el (org-list-struct): Mark items less indented than top
18383         item of the list, so that they will be modified.
18384         (org-list-struct-apply-struct): Compare struct's indentation with
18385         line's indentation instead of old-struct's.  This is needed
18386         because `org-list-struct' automatically fixes indentation so
18387         changes might not be seen otherwise.
18389         * org.el (org-ctrl-c-ctrl-c): Small refactoring.
18391 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18393         * org-list.el (org-update-checkbox-count): When a part of the
18394         buffer is processed to count checkboxes, lists are read from top
18395         to bottom, but inside lists (in drawers, blocks, or inline tasks)
18396         are skipped.  Thus, cookies cannot be updated.  This patch
18397         enforces reading of such lists if counter is itself in a special
18398         context.
18400 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18402         * org-list.el (org-list-struct-apply-struct): Inline tasks along
18403         with their content must stay at column 0 even if the item is
18404         gaining indentation.  Moreover, fix indentation of text in an
18405         inline task, now it can be in such a task within a list.
18407 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18409         * org-list.el (org-at-item-p): Also verify context is valid.
18410         Otherwise it would recognize valid items where `org-in-item-p'
18411         wouldn't.
18412         (org-in-item-p, org-list-struct-apply-struct): Use shorter version
18413         of org-at-item-p.
18414         (org-cycle-list-bullet): Fix typo.
18415         (org-list-parse-list): Avoid calling `org-at-item-p' two times by
18416         using an appropriate regexp.
18418         * org.el (org-indent-line-function): Use an appropriate regexp
18419         instead of calling `org-at-item-p' two times.
18421 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18423         * org-list.el (org-in-item-p): When point was just after
18424         org-list-end-re, check wouldn't be done for starting line.  So, if
18425         the first line was an item, it wouln't be noticed and function
18426         would return nil.  Simplify and comment code.
18428 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18430         * org.el (org-toggle-item): When used on normal text, ensure every
18431         line in region is included in the new item, regardless of its
18432         original indentation.
18434 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18436         * org-list.el (org-list-struct-apply-struct): If end of list was
18437         at eol, for example, with list inside a block, the last list
18438         wouldn't be shifted.  Thus, the patch ensures no blank lines is
18439         skipped.
18441 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18443         * org.el (org-toggle-item): Now accepts a prefix argument.
18444         When used without argument on normal text, it will make the whole
18445         region one item.  With an argument, it defaults to old behavior:
18446         change each line in region into an item.
18448 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18450         * org.el (org-return): When called from inside an item with the
18451         indent flag, function should keep text moved inside the item.
18452         This allows to use C-j to separate lines in an item: cursor won't
18453         go back to column 0.
18455 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18457         * org-list.el (org-list-struct): When a line has org-example
18458         property, skip the entire block.  This is needed during export,
18459         for example when src blocks in org markup contain lists, and are
18460         returned verbatim because org isn't in the list of interpreted
18461         languages.
18463 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18465         * org-list.el (org-in-item-p): Handle special cases when function
18466         is called with cursor amidst `org-list-end-re' or at an inline
18467         task.
18469 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18471         * ob.el (org-babel-result-end): Apply renaming.
18473         * org-exp.el (org-export-mark-list-properties): Apply renaming.
18475         * org-list.el (org-list-prevs-alist): Rename from
18476         `org-list-struct-prev-alist'.
18477         (org-list-parents-alist): Rename from `org-list-struct-parent-alist'.
18478         (org-list-write-struct): Rename from `org-list-struct-fix-struct'.
18479         (org-list-parse-list, org-sort-list, org-list-indent-item-generic)
18480         (org-toggle-checkbox, org-update-checkbox-count)
18481         (org-cycle-list-bullet, org-list-repair, org-insert-item)
18482         (org-move-item-up, org-move-item-up, org-move-item-down)
18483         (org-next-item, org-previous-item, org-end-of-item-list)
18484         (org-beginning-of-item-list, org-apply-on-list): Apply renaming.
18485         (org-get-bullet): Remove function, as it is not needed anymore.
18487 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18489         * org-list.el (org-list-insert-item-generic): Change arguments.
18490         The function now accepts structure and previous items alist.
18491         This allows to insert an item programmatically more easily.
18492         (org-insert-item): Apply changes to
18493         `org-list-insert-item-generic'.  The function now takes care about
18494         repairing structure and updating checkboxes.
18496         * org-timer.el (org-timer-item): Apply changes to
18497         `org-list-insert-item-generic'.  The function now takes care about
18498         repairing structure.
18500 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18502         * org-list.el (org-list-make-subtree): Function now uses
18503         `org-list-parse-list mechanism'.
18504         (org-list-make-subtrees): Remove function.
18505         (org-list-to-generic): Add a parameter and every parameter can
18506         be a sexp returning a string, for finer control.
18507         (org-list-to-html, org-list-to-latex, org-list-to-texinfo):
18508         Slight modifications to apply changes to `org-list-to-generic'.
18509         (org-list-to-subtree): New function.
18511 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18513         * org.el (org-beginning-of-line): Apply changes to
18514         `org-item-beginning-re' to correct sub-expression reference.
18516 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18518         * org-docbook.el (org-export-docbook-list-line): Even with
18519         alphabetical lists, Org shouldn't enforce a particular list type
18520         to exporters.  This is a job for style files.
18522         * org-html.el (org-html-export-list-line): Ib idem.
18524 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18526         * org-list.el (org-at-item-counter-p): New function.
18527         (org-list-parse-list): Handle counters and list depth.
18528         (org-list-to-generic): A special string is used when an item has a
18529         counter.
18530         (org-list-to-latex): Use new special string for counters.
18531         This fixes the counter bug in LaTeX export, as the enumi counter was
18532         the only one modified.
18534         * org-latex.el (org-export-latex-lists): Use new
18535         `org-list-parse-list' output.
18537 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18539         * org-list.el (org-list-get-list-type): New function.
18540         (org-list-parse-list): Use new function.
18542         * org-html.el (org-html-export-list-line): Use new function.
18544         * org-docbook.el (org-export-docbook-list-line): Use new function.
18546 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18548         * org-list.el (org-alphabetical-lists): New variable
18549         (org-item-re, org-list-full-item, org-cycle-list-bullet)
18550         (org-list-struct-fix-bul, org-list-inc-bullet-maybe):
18551         Reflect introduction of the new variable.
18552         (org-item-beginning-re): Change into a function, so any
18553         modification of `org-alphabetical-lists' will not require
18554         reloading Org.
18555         (org-at-item-p, org-toggle-checkbox, org-update-checkbox-count)
18556         (org-list-parse-list, org-list-send-list): Reflect changes to
18557         `org-item-beginning-re'.
18558         (org-list-use-alpha-bul-p): New function.
18560         * org.el (org-check-for-hidden): Reflect changes to
18561         `org-item-beginning-re'.
18563         * org-capture.el (org-capture-place-item): Reflect changes to
18564         `org-item-beginning-re'.
18566         * org-docbook.el (org-export-docbook-list-line): Handle New type
18567         of items.
18569         * org-exp.el (org-export-mark-list-end)
18570         (org-export-mark-list-properties): Reflect changes to
18571         `org-item-beginning-re'.
18573         * org-html.el (org-html-export-list-line): Handle new type of
18574         items.
18576         * org-latex.el (org-export-latex-lists): Handle new type of items
18577         and reflect changes to `org-item-beginning-re'.
18579         * org-ascii.el (org-export-ascii-preprocess): Handle new counters.
18581 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18583         * org-list.el (org-list-end-re): Remove function and made it a
18584         variable.  There's no need for the overhead of calling the
18585         function every at every line in a list.  User will have to reload
18586         Org if he change value of either `org-list-end-regexp' or
18587         `org-empty-line-terminates-plain-lists'.
18588         (org-in-item-p, org-list-struct, org-list-parse-list): Apply change.
18590         * org-exp.el (org-export-mark-list-end)
18591         (org-export-mark-list-properties): Apply change.
18593         * org-latex.el (org-export-latex-lists): Apply change.
18594         Also prevent items with org-example property to be considered as real
18595         items.
18597 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18599         * org-inlinetask.el (org-inlinetask-export-templates): Slightly
18600         modify templates so environment boundaries don't interfere with
18601         content of task.  Unprotect content of task so it might benefit
18602         from further transformations.  Set original-indentation property to
18603         a high value to ensure that task is always in the last item of the
18604         list.  Also, apply templates later in export process.
18606         * org-list.el (org-list-struct): Fix inline task skipping.
18608 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18610         * org-latex.el (org-export-latex-lists): Search for unprotected
18611         items only, and redefine `org-at-item'.  This change is required
18612         when verbatim lists are inserted during export, usually by Babel.
18614 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18616         * ob.el (org-babel-result-end): End position is end of current
18617         sublist instead of bottom point, as results might be inserted in a
18618         list themselves.
18620 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18622         * org-list.el (org-list-automatic-rules): Remove insert rule.
18623         (org-list-insert-item-generic): Remove code preventing user to
18624         insert another item in a block within a list.  It is because new
18625         list context make it impossible to see if a point in a block is
18626         also in a list.
18628 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18630         * org-exp.el (org-export-preprocess-string): Mark list endings
18631         before babel blocks preprocessing starts, so blank lines that may
18632         be inserted do not break list's structure.  Then, mark list with
18633         special properties required by exporters.  Thus output from babel
18634         can easily be included in lists.
18635         (org-export-mark-list-end): New function.
18636         (org-export-mark-list-properties): New function.
18637         (org-export-mark-lists): Remove function.  It was split into the
18638         two preceding functions.
18640 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18642         * org-list.el (org-update-checkbox-count): Do not recompute every
18643         list before next heading when there are more than one cookie in an
18644         headline.  Moreover, ignore the case where cookie is inserted
18645         neither at an heading nor at an item.
18647 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18649         * org-list.el (org-sort-list): Fix number of arguments to
18650         `org-list-repair', plus make `end-record' go to end of item before
18651         any blank line to keep them from being swallowed in the sorting.
18653 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18655         * org-list.el (org-list-forbidden-blocks): Rename from
18656         `org-list-blocks'.
18657         (org-list-export-context): New variable.
18659 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18661         * org-list.el (org-list-search-generic): Rename form
18662         `org-search-unenclosed-generic' to reflect the new behavior.  Now,
18663         match can only be in a valid context for lists, as determined by
18664         `org-list-context'.
18665         (org-list-search-backward): Rename from
18666         `org-search-backward-unenclosed'.
18667         (org-list-search-forward): Rename from
18668         `org-search-forward-unenclosed'.
18669         (org-toggle-checkbox, org-update-checkbox-count): Use new
18670         functions.
18671         (org-sort-list): Using default regexp search functions as context
18672         is not required in this case.
18674 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18676         * org-exp.el (org-export-mark-lists): New function, replacing
18677         org-export-mark-list-ending.  It adds information as text
18678         properties to every list, before changes done by exporter destruct
18679         them.
18681 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18683         * org-list.el (org-list-get-first-item): New alias for
18684         `org-list-get-list-begin'.
18685         (org-list-get-last-item): New function.
18686         (org-list-get-list-end): Use `org-list-get-last-item'.
18688 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18690         * org.el (org-get-string-indentation): Move in generally useful
18691         functions section, as it wasn't specific to plain lists and that
18692         no code was using it in org-list.el.
18694 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18696         * org.el (org-skip-over-state-notes, org-store-log-note): Use new
18697         accessors.
18699 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18701         * org-list.el (org-list-indent-item-generic): Remove error
18702         messages happening before process.  This belongs to interactive
18703         functions.
18704         (org-indent-item, org-indent-item-tree)
18705         (org-outdent-item, org-outdent-item-tree): Ensure point or region
18706         is correct before computing list structure.  Return an error
18707         message otherwise.
18709 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18711         * org-list.el (org-apply-on-list): Use new structures.
18712         Function is now applied in reverse order so modifications do not change
18713         positions of items in buffer.
18715 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18717         * org-list.el (org-list-parse-list): Rewrite of function to allow
18718         text following a sub-list in the same item.  See docstring for an
18719         example of output.
18720         (org-list-to-generic): Use new parsing function.
18721         (org-list-to-latex, org-list-to-html): Minor change for clearer
18722         export.
18724 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18726         * org-list.el (org-list-has-child-p): Rename from
18727         `org-list-get-child'.  Returning first child is only useful as a
18728         predicate, as we are allowing an item to have more than one
18729         sub-list.
18730         (org-list-indent-item-generic): Use `org-list-has-child-p' instead
18731         of org-list-get-child.
18732         (org-in-item-p): Also return item beginning when list starts at
18733         context beginning.
18734         (org-list-get-parent): Use of `org-list-struct-parent-alist'
18735         helper function is not optional anymore.
18736         (org-list-get-all-items): Shorten code with the help of cl.el.
18737         (org-list-get-children): Now returns all children of item, even if
18738         they do not belong to the same list.  Renamed from
18739         `org-list-get-all-children'.
18740         (org-list-get-list-begin): Function wasn't return value when item
18741         was already the first item of the list at point.
18742         (org-list-get-list-end): Function wasn't return value when item
18743         was already the last item of the list at point.
18744         (org-list-struct-fix-box, org-update-checkbox-count): Now uses
18745         `org-list-get-children'.
18747 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18749         * org.el (org-indent-line-function): Indentation of item's body
18750         starts just after the bullet, not after a checkbox.  Moreover, As
18751         `org-in-item-p' also returns item beginning position when point is
18752         in a list, do not compute it a second time.
18754 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18756         * org.el (org-ctrl-c-ctrl-c): When called at a list item, replace
18757         usage `org-repair-list', forcing another reading of the list, with
18758         only needed subroutines.
18760 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18762         * org-list.el (org-list-separating-blank-lines-number): Use new
18763         accessors.
18764         (org-list-insert-item-generic): Use list structures to insert a
18765         new item.
18766         (org-list-exchange-items): Refactor and comment code.  Now return
18767         new struct instead of modifying it, as list sorting would
18768         sometimes eat first item.
18769         (org-move-item-down, org-move-item-up): Reflect changes to
18770         `org-list-exchange-items'.
18771         (org-insert-item): As `org-in-item-p' also computes item beginning
18772         when applicable, reuse the result.
18774 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18776         * org-list.el (org-list-in-item-p): Unify methods for this
18777         predicate.
18778         (org-list-in-item-p-with-indent): Remove function.
18779         (org-list-ending-between): Remove function.
18780         (org-list-maybe-skip-block): Remove function.
18781         (org-list-in-item-p-with-regexp): Remove function.
18782         (org-list-top-point-with-regexp): Remove function.
18783         (org-list-top-point-with-indent): Remove function.
18784         (org-list-bottom-point-with-indent): Remove function.
18785         (org-list-bottom-point-with-regexp): Remove function.
18786         (org-list-get-item-same-level): Remove function.
18787         (org-list-top-point): Remove function.
18788         (org-list-bottom-point): Remove function.
18789         (org-get-item-beginning): Rename to `org-list-get-item-begin' to
18790         be consistent with naming policy of non-interactive functions.
18791         (org-get-beginning-of-list): Remove function.
18792         (org-beginning-of-item-list): Use new accessors.
18793         (org-get-end-of-list): Remove function.
18794         (org-end-of-list): Use new accessors.
18795         (org-get-end-of-item): Remove function.
18796         (org-end-of-item): Use new accessors.
18797         (org-get-previous-item): Remove function.
18798         (org-previous-item): Use new accessors.
18799         (org-get-next-item): Remove function.
18800         (org-next-item): Use new accessors.
18801         (org-list-get-item-end-before-blank): Use new accessors.
18803 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18805         * org-list.el (org-list-repair): Remove optional argument
18806         FORCE-BULLET.  The job of this interactive function is to
18807         completely fix a list at point.  Changing bullets is a separate
18808         task.  Also removed others optional arguments TOP and BOTTOM to
18809         follow the new structures.
18810         (org-list-indent-item-generic): Remove need for TOP and BOTTOM.
18811         STRUCT is a new required argument.  This avoids computing a list
18812         structure many times when function is called more than once in a
18813         row, for example in `org-cycle-item-indentation'.  Use new
18814         accessors.  Now, also call `org-update-checkbox-count-maybe'.
18815         (org-outdent-item, org-indent-item, org-outdent-item-tree)
18816         (org-indent-item-tree): Remove need for TOP and BOTTOM.
18817         (org-list-insert-item-generic): Reflect changes to `org-list-repair'.
18818         (org-list-exchange-items): Use new accessors.  Now modify struct
18819         to avoid re-reading it later.
18820         (org-move-item-down): Reflect changes to `org-list-repair'.
18821         Use new accessors.
18822         (org-move-item-up): Reflect changes to `org-list-repair'.  Use new
18823         accessors.
18824         (org-cycle-list-bullet): Use new structures.  Also use a shortcut
18825         to `org-list-struct-fix-struct' in order to avoid unnecessary
18826         fixes, like `org-list-struct-fix-box'
18827         (org-sort-list): Use of new structures.  Renamed an internal
18828         function for a little more clarity.
18829         (org-cycle-item-indentation): Remove dependency on
18830         `org-list-repair'.  Use new accessors.
18831         (org-list-get-child): Correct bug when asking for the child of the
18832         last item.
18833         (org-list-exchange-items): Use new accessors.
18835 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18837         * org-list.el (org-list-blocks): New variable.
18838         (org-list-context): New function.
18839         (org-list-full-item-re): New variable.
18840         (org-list-struct-assoc-at-point): Use new variable.
18841         (org-list-struct): Rewrite of function.  Now, list data is
18842         collected by looking at the list line after line.  It reads the
18843         whole list each time because reading only a subtree was not enough
18844         for some operations, like fixing checkboxes.  It also removes the
18845         need to get `org-list-top-point' and `org-list-bottom-point'
18846         first.  An added data is the position of item ending.  This aims
18847         to be able to have list followed by text inside an item.
18848         (org-list-struct-assoc-end): New function.
18849         (org-list-struct-parent-alist): New function.
18850         (org-list-get-parent): New function.
18851         (org-list-get-child): New function.
18852         (org-list-get-next-item): New function.
18853         (org-list-get-prev-item): New function.
18854         (org-list-get-subtree): Use helper function `org-list-struct-prev-alist'.
18855         (org-list-get-all-items): New function.
18856         (org-list-get-all-children): New function.
18857         (org-list-get-top-point): New function.
18858         (org-list-get-bottom-point): New function.
18859         (org-list-get-counter): New function.
18860         (org-list-get-item-end): New function.
18861         (org-list-struct-fix-bul): Rewrite for cleaner code.  Make use of
18862         new accessors.
18863         (org-list-struct-fix-ind): Make use of new accessors.
18864         (org-list-struct-fix-box): New function.
18865         (org-list-struct-fix-checkboxes): Remove function.
18866         (org-list-struct-outdent): Use new accessors.  Use the fact that
18867         there is no longer a virtual item at beginning of structure.
18868         (org-list-struct-indent): Use helper functions
18869         `org-list-struct-prev-alist' and `org-list-struct-parent-alist'.
18870         Also use new accessors.
18871         (org-list-struct-fix-struct): Comment function.  Call directly
18872         `org-list-struct-apply-struct', without removing unchanged items
18873         first.
18874         (org-list-struct-apply-struct): Comment function.  Rewrite using
18875         new accessors.  Use new variable `org-list-full-item-re'.
18876         (org-list-shift-item-indentation): Remove function, now included
18877         in `org-list-struct-apply-struct' because it is too specific.
18879 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18881         * org-list.el (org-toggle-checkbox): Use structures to fix
18882         checkboxes of a list.
18883         (org-update-checkbox-count): Use structures to update cookies.
18885 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18887         * org-list.el (org-list-struct-fix-checkboxes): New function.
18888         (org-checkbox-blocked-p): Remove function.
18890 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18892         * org-list.el (org-list-get-all-items): New function.
18893         (org-list-get-all-children): New function.
18894         (org-list-get-nth): New function.
18895         (org-list-set-nth): New function.
18896         (org-list-get-ind): New function.
18897         (org-list-set-ind): New function.
18898         (org-list-get-bullet): New function.
18899         (org-list-set-bullet): New function.
18900         (org-list-get-checkbox): New function.
18901         (org-list-set-checkbox): New function.
18902         (org-list-struct-fix-bul): Use new accessors.
18903         (org-list-repair): Use new accessors.
18904         (org-list-indent-item-generic): Make use of accessors.
18905         (org-list-get-parent): Rename from `org-list-struct-get-parent'.
18906         (org-list-get-child): Rename from `org-list-struct-get-child'.
18907         (org-list-struct-fix-ind): Make use of accessors.
18908         (org-list-get-next-item): New function.
18909         (org-list-get-subtree): New function.
18911 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18913         * org-list.el (org-list-struct-assoc-at-point): Add checkbox to
18914         list structure.
18916         * org-list.el (org-list-struct-assoc-at-point): Add checkbox as
18917         value in structure.
18919         * org-list.el (org-list-struct-apply-struct): Also apply
18920         checkboxes.
18922 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18924         * org-latex.el (org-export-latex-content): Bind local variables
18925         for export in the temporary export buffer.
18927 2011-07-28  David Maus  <dmaus@ictsoc.de>
18929         * org-protocol.el (org-protocol-unhex-single-byte-sequence)
18930         (org-protocol-unhex-string, org-protocol-unhex-compound):
18931         Change date of obsolete declaration to 2011-02-17.
18933 2011-07-28  David Maus  <dmaus@ictsoc.de>
18935         * org.el (org-link-escape): Throw error if encoding character in
18936         utf8 fails.
18938 2011-07-28  David Maus  <dmaus@ictsoc.de>
18940         * org-protocol.el (org-protocol-split-data)
18941         (org-protocol-open-source): Use `org-link-unescape' instead of
18942         obsolete unhex string function.
18944 2011-07-28  David Maus  <dmaus@ictsoc.de>
18946         * org.el (org-link-escape, org-link-escape-chars-browser)
18947         (org-link-escape-chars): Always percent escape the percent sign.
18949 2011-07-28  David Maus  <dmaus@ictsoc.de>
18951         * org.el (org-link-unescape): Simpler algorithm for replacing
18952         percent escapes.
18953         (org-link-unescape-compound): Use cond statements instead of nested
18954         if, convert hex string with string-to-number, save match data.
18955         (org-link-unescape-single-byte-sequence): Use mapconcat and
18956         string-to-number for unescaping single byte sequence.
18958 2011-07-28  David Maus  <dmaus@ictsoc.de>
18960         * org.el (org-link-escape): Rename lambda argument.
18962 2011-07-28  David Maus  <dmaus@ictsoc.de>
18964         * org.el (org-link-escape-chars-browser, org-link-escape-chars):
18965         Add percent sign to list of escape chars.
18967 2011-07-28  David Maus  <dmaus@ictsoc.de>
18969         * org-mobile.el (org-mobile-escape-olp): Use new percent escape
18970         character table format.
18972 2011-07-28  David Maus  <dmaus@ictsoc.de>
18974         * org-mobile.el (org-mobile-locate-entry): Remove obsolete
18975         argument in call to org-link-unescape.
18977 2011-07-28  David Maus  <dmaus@ictsoc.de>
18979         * org-protocol.el (org-protocol-unhex-string)
18980         (org-protocol-unhex-compound)
18981         (org-protocol-unhex-single-byte-sequence): Declare obsolete and
18982         alias to respective org-link-unescape-* functions.
18984 2011-07-28  David Maus  <dmaus@ictsoc.de>
18986         * org.el (org-link-unescape, org-link-unescape-compound)
18987         (org-link-unescape-single-byte-sequence): Functions moved and renamed
18988         from org-protocol.el.
18990 2011-07-28  David Maus  <dmaus@ictsoc.de>
18992         * org-macs.el (org-char-to-string): Inline function to properly
18993         decode utf8 characters in Emacs 22.  Moved and renamed from
18994         org-protocol.el.
18996 2011-07-28  David Maus  <dmaus@ictsoc.de>
18998         * org.el (org-link-escape): New optional argument.  Merge user
18999         table with default table.
19001 2011-07-28  David Maus  <dmaus@ictsoc.de>
19003         * org.el (org-link-escape): Fixup doc string.
19005 2011-07-28  David Maus  <dmaus@ictsoc.de>
19007         * org.el (org-link-escape-chars, org-link-escape-chars-browser):
19008         New format of percent escape table.
19009         (org-link-escape): Use new table format.
19011 2011-07-28  David Maus  <dmaus@ictsoc.de>
19013         * org.el (org-link-escape): New Unicode aware percent encoding
19014         algorithm.
19016 2011-07-28  Sebastian Rose  <sebastian_rose@gmx.de>
19018         * org-protocol.el (org-protocol-unhex-single-byte-sequence):
19019         New function.  Decode hex-encoded singly byte sequences.
19020         (org-protocol-unhex-compound): Use new function if decoding sequence
19021         as Unicode character failed.
19023 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19025         * org-html.el (org-export-as-html): Expand the HTML title.
19027 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19029         * org-publish.el (org-publish-cache-ctime-of-src):
19030         Improve docstring.
19031         (org-publish-find-title): New option to explicitly reset the title
19032         in the cache.
19033         (org-publish-format-file-entry): Use this new option.
19035 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19037         * org-exp.el (org-export-preprocess-string): Set the source buffer
19038         and use `org-clone-local-variables' to get local variables from
19039         it.
19041 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19043         * org-exp.el (org-export-format-source-code-or-example):
19044         Allow empty string as second element in minted/listings options.
19046 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19048         * org-exp.el (org-export-format-source-code-or-example):
19049         Support new user-customizable options.
19050         (org-export-latex-custom-lang-environments): Ensure new variable
19051         is defined.
19052         (org-export-latex-listings-options): Ensure new variable is defined.
19053         (org-export-latex-minted-options): Ensure new variable is defined.
19055 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19057         * org-html.el (org-export-as-html): Handle the case when
19058         `org-export-html-validation-link' is nil to keep backward
19059         compatible with the old default value of this variable.
19061 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19063         * ob.el (org-babel-insert-result): Don't choke if indent is not a
19064         number.
19066 2011-07-28  Christian Moe  <mail@christianmoe.com>  (tiny change)
19068         * org-bbdb.el (org-bbdb-export): When a link description has been
19069         added by `org-export-normalize-links', use path instead (remove
19070         the `bbdb:' prefix).
19072 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19074         * org-ascii.el (org-export-ascii-underline): Put the level's
19075         characters in the right order, as documented by the docstring.
19076         (org-ascii-level-start): Select the right char for underlining
19077         headlines.
19079 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19081         * org-src.el (org-edit-src-code): Allow to edit source code from
19082         modes derived from Org.
19084 2011-07-28  Niels Giesen  <niels.giesen@gmail.com>
19086         * org-clock.el (org-clock-clocktable-language-setup): Add list of
19087         dutch strings.
19089 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19091         * org-beamer.el: Mark frame as fragile when it is using minted for
19092         src block export.
19094 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19096         * org-agenda.el (org-agenda-date-later)
19097         (org-agenda-date-earlier): Enhance docstrings.
19098         (org-agenda-bulk-mark-regexp): Only match against headlines.
19099         Send a message when no entry is marked.
19100         (org-agenda-bulk-action): Fix bug about scattering deadlines.
19101         Send an error when trying to scatter outside an agenda or a
19102         timeline view.  Silently fail when trying to scatter sexp entries.
19104 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19106         * org-clock.el (org-clock-clocktable-language-setup): New custom
19107         variable.
19108         (org-clocktable-defaults): Set the default language.
19109         (org-clocktable-write-default): Use the new variable.
19111 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19113         * ob.el (org-babel-src-block-names): Don't strip text properties
19114         from search hits.
19115         (org-babel-result-names): Don't strip text properties from search
19116         hits.
19118 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19120         * ob-python.el (org-babel-python-evaluate-session): Pass nil as
19121         remove-echo part of META argument to
19122         `org-babel-comint-with-output'.
19124 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19126         * ob.el (org-babel-script-escape): Use `substring' comparison
19127         instead of regexp matching.
19129 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19131         * org-src.el (org-edit-src-code): When generating the code edit
19132         buffer, it is necessary for several variables to inherit their
19133         values from the parent org buffer.  These changes collect all such
19134         variables together into a single association list of
19135         `(variable-name value)' pairs.  In addition, a new variable is
19136         added to the list: `org-edit-src-content-indentation'.  This has
19137         the effect that a buffer local value can be used for that
19138         variable.
19140 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19142         * ob-table.el (sbe): Don't truncate sbe results.
19144 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
19146         * org-exp.el (org-export-add-options-to-plist): Require match to
19147         start at a word-boundary.
19149 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19151         * org-latex.el (org-export-latex-hyperref-format):
19152         Update docstring.
19154 2011-07-28  Tom Dye  <tsd@tsdye.com>
19156         * org.el: Update documentation of `org-add-link-type'.
19158 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19160         * org.el (org-open-at-point): Fix bug when using prefix arg to
19161         construct `org-link-search' call.  Rename prefix arg with a more
19162         generic name, to reflect its diverse uses in this function.
19164 2011-07-28  Rémi Vanicat  <vanicat@debian.org>
19166         * org-icalendar.el (org-icalendar-use-UTC-date-time): Remove.
19167         (org-icalendar-date-time-format): New custom variable.
19168         (org-icalendar-use-UTC-date-timep): New function.
19169         (org-ical-ts-to-string): Use the new variable.
19171 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19173         * org-vm.el (org-vm-store-link): Make sure the buffer is
19174         associated with a file when trying to store an Org link.
19176 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19178         * ob.el (org-babel-params-from-properties): Test for
19179         "header-arg-name" and ":header-arg-name", in that order.
19181 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19183         * org-capture.el (org-capture-templates): Document "currentfile"
19184         for capture template.
19185         (org-capture-templates): Allow to use currentfile for capture
19186         templates.
19187         (org-capture-set-target-location): Handle currentfile as a way to
19188         setting the capture buffer.
19190 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19192         * ob.el (org-babel-params-from-properties): Don't wrap
19193         `org-entry-get' into `condition-case'.
19195 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19197         * org.el (org-entry-get): Don't look for a property drawer if we
19198         are before the first heading in the file.
19199         (org-entry-get-with-inheritance): Don't attempt to move up the
19200         tree if we are before the first heading in the file.  Also,
19201         enclose less of the function in the `save-excursion'.
19203 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19205         * ob.el (org-babel-params-from-buffer): Return desired value
19206         rather than nil from failed re search.
19208 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19210         * org-agenda.el (org-get-entries-from-diary): Put multiline diary
19211         entries on a single line when lines don't start with a diary time.
19213 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19215         * org-html.el (org-export-html-protect-char-alist): New custom
19216         variable to define characters to be HTML protected.
19217         (org-html-protect): Use the new variable.
19219 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19221         * org-info.el (org-info-store-link): Use "#" to separate the info
19222         file and the node.
19223         (org-info-follow-link): Use both "#" to separate the info file and
19224         the node.  Continue to use ":" for backward compatibility.
19226 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19228         * org-icalendar.el (org-icalendar-honor-noexport-tag): New custom
19229         variable.
19230         (org-print-icalendar-entries): Use this new variable to prevent
19231         export of entries with a :noexport: tag.
19233 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19235         * org-exp.el (org-export-initial-scope): New custom variable.
19236         (org-export): Use this new variable.  If there is an active
19237         region, tell it when prompting the user for an export command.
19238         Also change the way the function handles selection of buffer and
19239         subtree export.
19241 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19243         * org-html.el (org-export-html-auto-preamble)
19244         (org-export-html-auto-postamble): Remove.
19245         (org-export-html-preamble, org-export-html-postamble): Turn into
19246         custom variables.  Update the docstrings.
19247         (org-export-html-preamble-format)
19248         (org-export-html-postamble-format): New custom variables.
19249         (org-export-as-html): Use `org-export-html-postamble-format' and
19250         `org-export-html-preamble-format'.
19251         (org-export-html-title-format): Delete.
19253 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19255         * org-exp-blocks.el (org-export-blocks-format-ditaa):
19256         This function is begin deprecated in favor of begin_src blocks.
19257         (org-export-blocks-format-dot): This function is begin deprecated in
19258         favor of begin_src blocks.
19260 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19262         * ob.el (org-babel-header-arg-names): no-expand is now part of the
19263         default header argument names list.
19265 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
19267         * org-publish.el (org-publish-sitemap-date-format)
19268         (org-publish-sitemap-file-entry-format): New custom variables.
19269         (org-publish-projects): Use these variables to format the sitemap
19270         entries.
19272 2011-07-28  Ulf Stegemann  <ulf-news@zeitform.de>
19274         * org-gnus.el (org-gnus-store-link): Allow `org-link' creation
19275         from `message-mode'.
19277 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19279         * org-agenda.el (org-agenda-filter-by-tag): Refresh agenda when
19280         updating the filter while the clock report is following the
19281         filter.
19283 2011-07-28  Julien Danjou  <julien@danjou.info>
19285         * org-agenda.el (org-agenda): Kill all local variables.
19286         This assures we are not keeping buffer variable from an old agenda view
19287         when switching to a new custom agenda.
19289 2011-07-28  Julien Danjou  <julien@danjou.info>
19291         * org-crypt.el (org-encrypt-string): New function.
19292         (org-encrypt-entry): Use org-encrypt-string to encrypt, so we use
19293         cached crypted values.
19294         (org-decrypt-entry): Store crypted text in decrypted text.
19296 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19298         * ob-exp.el (org-babel-exp-lob-one-liners): Only replace the match
19299         if a non-nil result is returned.
19301 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19303         * org-agenda.el (org-agenda-get-day-entries): Compare DATE with
19304         modified today.
19306 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19308         * org.el (org-update-parent-todo-statistics): Fix bug when
19309         updating statistics from the column view.
19311 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19313         * org-agenda.el (org-agenda-bulk-mark-regexp): New command.
19314         (org-agenda-menu): Add the new command to the menu.
19315         (org-agenda-mode-map): Add % as the keybinding for the new
19316         command.
19318 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19320         * org-exp.el (org-export-target-internal-links): Locally turn on
19321         `org-link-search-must-match-exact-headline' to match exact
19322         internal links.
19324 2011-07-28  Julien Danjou  <julien@danjou.info>
19326         * org-faces.el (org-special-keyword): Make it inherited from
19327         `font-lock-keyword-face'.
19329 2011-07-28  Julien Danjou  <julien@danjou.info>
19331         * org-faces.el (org-link): Make `org-link' inherits from `link'
19332         face.
19334 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19336         * org.el (org-narrow-to-block): New function to narrow to block.
19337         Bound this function to `C-x n b'.
19339 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19341         * org.el (org-schedule, org-deadline): Fix bug: take care of
19342         repeating timestamps like ".+1d/3d" or "+1d 10d".
19344 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19346         * org-agenda.el (org-agenda-repeating-timestamp-show-all): Allow
19347         to use a list of TODO keywords as the value of this variable.
19348         The agenda will show repeating stamps for entries matching these TODO
19349         keywords.
19350         (org-agenda-get-timestamps, org-agenda-get-deadlines)
19351         (org-agenda-get-scheduled): Allow the use of a list of keywords in
19352         `org-agenda-repeating-timestamp-show-all'.
19354 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19356         * org-latex.el (org-export-latex-emph-format): Don't use
19357         `org-export-latex-use-verb'.  Remove this variable.
19359 2011-07-28  Jason Dunsmore  <emacs-orgmode@dunsmor.com>  (tiny change)
19361         * org-html.el (org-html-handle-time-stamps): Fix bug when
19362         exporting inactive timestamps.
19364 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19366         * org-archive.el (org-archive-save-context-info): Fix docstring
19367         typo.
19368         (org-archive-subtree-add-inherited-tags): New variable to control
19369         whether inherited tags should be appended to local tags when
19370         archiving subtrees.
19371         (org-archive-subtree): Use the new variable.
19373 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19375         * org-archive.el (org-archive-save-context-info): Fix docstring.
19377 2011-07-28  Julien Danjou  <julien@danjou.info>
19379         * org-crypt.el (org-decrypt-entry): Delete \n on top level
19380         heading.  This avoids a display bug showing the heading outlined
19381         where the text is not since it does not have the outline property.
19382         Restore subtree visibility state after decryption.
19384 2011-07-28  Julien Danjou  <julien@danjou.info>
19386         * org-agenda.el (org-agenda-list): Use `org-agenda-current-span'
19387         as a possible default span if it is set.
19389 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19391         * org-src.el (org-edit-src-persistent-message): Change docstring.
19392         (org-edit-src-code): Get rid of help message in echo area.
19394         * ob.el (org-babel-do-in-edit-buffer): Do not pass 'quietly
19395         argument to org-edit-src-code as this has been removed.
19397 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19399         * org-latex.el (org-export-latex-emphasis-alist):
19400         Use \protectedtexttt for the =...= emphasis and \verb for the ~...~
19401         emphasis.
19402         (org-export-latex-use-verb): Now defaults to t.
19403         (org-export-latex-emph-format): Distinguish between =...= and
19404         ~...~ emphasis.
19406 2011-07-28  Julien Danjou  <julien@danjou.info>
19408         * org.el (org-link-expand-abbrev): Allow any type of character in
19409         link expand.
19411 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19413         * ob-lob.el (org-babel-lob-ingest): Add prefix to file prompt.
19415 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19417         * ob-ref.el (org-babel-ref-resolve): `save-window-excursion' when
19418         resolving references.
19420 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19422         * org-html.el (org-export-html-html-helper-timestamp): Use <hr/>
19423         instead of <hr> to keep w3c validator happy.
19425 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19427         * ob.el (org-babel-where-is-src-block-head): Detect src block if
19428         point is on a #+header line.
19430 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19432         * ob.el (org-babel-where-is-src-block-head): Skip over intervening
19433         #+header lines when searching for block associated with block name
19434         line.
19436 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19438         * ob.el (org-babel-result-end): Replace call to `org-in-item-p' to
19439         the more specific `org-at-item-p'.
19441 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19443         * org-latex.el (org-latex-default-figure-position): New defcustom
19444         for default placement of latex figures.
19445         (org-export-latex-tables): Positioning tables using the new
19446         defcustom variable.
19447         (org-export-latex-format-image): Positioning images using the new
19448         defcustom variable.
19450 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19452         * ob-ditaa.el (org-babel-execute:ditaa): Throw error when
19453         evaluated and :file header argument is missing.
19455 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19457         * ob-exp.el (org-babel-exp-do-export): Simplify, no longer need
19458         to do anything to export code.
19459         (org-babel-exp-results): No longer returns a replacement for the
19460         code block.
19461         (org-babel-exp-inline-src-blocks): Simplify.
19462         (org-babel-exp-src-block): Remove unnecessary pluralization from
19463         function name.
19465 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19467         * ob-exp.el (org-babel-exp-inline-src-blocks):
19468         Simplify exportation of inline code blocks using normal code block
19469         execution mechanism to insert results.
19470         (org-babel-exp-results): Results exportation mechanism is unified
19471         for both inline and regular code blocks.
19473         * ob.el (org-babel-where-is-src-block-result): Returns the point
19474         after an inline code block for inline code blocks.
19476 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19478         * ob.el (org-babel-insert-result): Special handling of the
19479         position of results of inline code blocks.
19480         (org-babel-examplize-region): Now able to comment inline regions.
19482 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
19484         * org-exp.el (org-export-with-LaTeX-fragments): Fix docstring so
19485         that \\[ a = b \\] is not interpreted as a keybinding by
19486         `substitute-command-keys'.
19488 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19490         * org-latex.el (org-export-as-latex): Process export property list
19491         with `org-export-process-option-filters' early in latex export.
19493 2011-07-28  Julien Danjou  <julien@danjou.info>
19495         * org.el: Remove `org-invisible-p': `outline-invisible-p' is
19496         available in Emacs 22 and in recent XEmacs 21.  Replace in various
19497         files.
19499 2011-07-28  Julien Danjou  <julien@danjou.info>
19501         * org-agenda.el (org-agenda-get-progress): Fix regexp for statep:
19502         it must has \\ at the end of the line.  This avoid matching the
19503         following heading when there's no newline between the logged state
19504         and the next heading.
19506 2011-07-28  Julien Danjou  <julien@danjou.info>
19508         * org-agenda.el (org-format-agenda-item): Simplify time comuting.
19510 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
19512         * org.el (org-current-level, org-store-link, org-mark-subtree):
19513         Use `org-with-limited-levels'.
19515 2011-07-28  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
19517         * org-publish.el (org-publish-get-base-files): Add sitemap file.
19519 2011-07-28  Matt Lundin  <mdl@imapmail.org>
19521         * org-agenda.el (org-agenda-todo-ignore-deadlines): New option.
19522         (org-agenda-todo-ignore-scheduled): New option.
19523         (org-agenda-todo-ignore-timestamp): New option.
19524         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
19525         Allow user to specify custom distance to ignore (future or past).
19526         (org-agenda-todo-custom-ignore-p): New function.
19528 2011-07-28  Matt Lundin  <mdl@imapmail.org>
19530         * org-habit.el (org-habit-parse-todo) Don't parse more days than
19531         needed.
19533 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19535         * ob.el (org-babel-map-inline-src-blocks): Macro for executing
19536         code in each inline code block.
19537         (org-babel-execute-buffer): Executes inline code blocks as well as
19538         regular code blocks.
19540 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19542         * ob.el (org-babel-result-end): Now recognizes "#+begin_org"
19543         blocks for removal.
19545 2011-07-28  Benjamin Drieu  <bdrieu@april.org>  (tiny change)
19547         * org-clock.el (org-clock-before-select-task-hook): New hook.
19548         (org-clock-select-task): Run new hook.
19550 2011-07-28  Julien Danjou  <julien@danjou.info>
19552         * org-agenda.el (org-agenda-get-blocks): Fix time of start/end of
19553         events with range.  This display things like: <2011-01-22 Sat
19554         14:00>--<2011-01-23 Sun 20:00> correctly, with the event starting
19555         at 14:00 and ending at 20:00.
19557 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19559         * ob.el (org-babel-inline-src-block-regexp): Character preceding
19560         "src_" can now be anything as long as it is neither alphanumeric
19561         nor '-'.
19563 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19565         * ob.el (org-babel-merge-params): Docstring typo.
19567 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19569         * ob.el (org-babel-params-from-buffer): Process all #+babel: lines
19570         in the buffer.
19572 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19574         * ob.el (org-babel-get-src-block-info): Alter order of merge
19575         arguments.
19577 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19579         * ob-python.el: Test whether non-nil buffer is #<killed buffer>.
19581 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19583         * ob.el (org-babel-insert-result): Ensure all parts of result
19584         wrappers end in newlines.
19586 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19588         * ob-tangle.el (org-babel-tangle): New :mkdirp header argument
19589         optionally creates parent directories of tangle targets.
19591 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19593         * org-ascii.el (org-ascii-level-start): Catch the case of levels
19594         which do not have an equivalent in the list of underline
19595         characters.
19597 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19599         * ob-sh.el (org-babel-sh-var-quote-fmt): Now possible to customize
19600         the format string used to escape arguments to shell code blocks.
19602 2011-07-28  Julien Danjou  <julien@danjou.info>
19604         * org-agenda.el (org-agenda-reset-view): New function.
19605         (org-agenda-view-mode-dispatch): Bind space to org-agenda-reset-view.
19607 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
19609         * org-exp.el (org-export-handle-include-files): Support :lines
19610         property.
19611         (org-get-file-contents): New argument lines to include specify a
19612         range of lines to include.
19614 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19616         * org.el (org-fast-tag-selection): Fix bug when assigning keys.
19618 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
19620         * org-latex.el (org-export-latex-make-header): Export email in
19621         author line if `org-export-email-info' is non-nil.
19623 2011-07-28  Julien Danjou  <julien@danjou.info>
19625         * org-agenda.el (org-agenda-goto-today): Respect current span.
19627 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19629         * org-complete.el (pcomplete/org-mode/link)
19630         (pcomplete/org-mode/todo, pcomplete/org-mode/prop): Copy list
19631         before uniquifying.
19633 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19635         * ob-tangle.el (org-babel-spec-to-string): Adding "noweb" as a
19636         linking comment type
19637         (org-babel-tangle-comment-links): Returns comment links for the
19638         source code block at point.
19640 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19642         * org.el (org-refile-check-position): Send a more explicit message
19643         on how to clear the cache before refiling again.
19645 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19647         * org-agenda.el (org-agenda-skip-function-global): New option.
19648         (org-agenda-skip-eval): New function.
19649         (org-agenda-skip): Use `org-agenda-skip-eval' and also check for
19650         the global skipping condition.
19652 2011-07-28  David Maus  <dmaus@ictsoc.de>
19654         * org-html.el (org-export-as-html): Handle timestamps after
19655         handling links.
19657 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19659         * ob-tangle.el (org-babel-tangle-jump-to-org): Ever wider searches
19660         until either a matching block is found, or the limits of the file
19661         are reached.
19663 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19665         * ob.el (org-babel-update-block-body): Literal argument to
19666         `replace-match' to allow insertion of text containing '\'.
19668 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19670         * ob-ref.el (org-babel-ref-parse): Allow passing empty strings
19671         into code blocks.
19673 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19675         * org.el (org-sort-entries): Fix sorting with a bold emphasis at bol.
19677 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19679         * ob.el (org-babel-open-src-block-result): Must collect result
19680         *before* jumping to the result buffer.
19682 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19684         * ob.el (org-babel-src-block-names): Fix bug, wrong match-string
19685         used after update to regexp.
19687 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19689         * ob.el (org-babel-temp-file): Ensure that
19690         `org-babel-temporary-directory' is bound before using.
19691         (org-babel-remove-temporary-directory): Safer error throwing.
19693 2011-07-28  niels giesen  <niels.giesen@gmail.com>
19695         * org-docbook.el (org-export-docbook-finalize-table): Do literal
19696         replacements.
19698 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19700         * ob.el (org-babel-execute-src-block): Uses org-src-lang-modes to
19701         resolve language names for evaluation.
19703 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19705         * org-capture.el (org-capture-templates): Add %f and %F escapes
19706         (org-capture): Add more information to capture property list
19707         (org-capture-fill-template): Handle %f and %F escapes.
19709 2011-07-28  David Maus  <dmaus@ictsoc.de>
19711         * org-publish.el (org-publish-cache-ctime-of-src): Use mtime of
19712         symlink target.
19714 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19716         * org.el (org-occur-next-match): New function.
19717         (org-mode): Set the variable `next-error-function'.
19718         (org-highlight-new-match): Add an `org-type' property to the
19719         overlays.
19721 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19723         * ob-calc.el: No longer require `calc-trail' on XEmacs.
19725 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19727         * org.el (org-modules): Add `org-eshell'.
19729 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19731         * org-special-blocks.el (htmlp, latexp, line): Add defvars for
19732         dynamically scoped variables.
19734         * org.el (org-modules): Move `org-special-blocks' into the core
19735         modules section.
19737 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19739         * org-special-blocks.el: New file.
19741 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19743         * org.el (org-plist-delete): Remove duplicate definition.
19745 2011-07-28  Bernt Hansen  <bernt@norang.ca>
19747         * org-agenda.el (org-agenda-goto): Display invisible entry text.
19749         * org-agenda.el (org-agenda-switch-to): Display invisible entry
19750         text.
19752 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19754         * org.el (org-get-category): New optional argument FORCE-REFRESH.
19755         Automatically refresh if the property is not there.
19756         (org-entry-properties): Remove refresh - this is now done in
19757         org-get-category.
19759         * org-clock.el (org-clock-insert-selection-line):
19760         Let `org-get-category' do the property refresh.
19762         * org-archive.el (org-archive-subtree): Force a refresh of
19763         category properties.
19765 2011-07-28  Julien Danjou  <julien@danjou.info>
19767         * org-icalendar.el (org-print-icalendar-entries): Do not manually
19768         refresh categories.
19770 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19772         * org.el (org-display-inline-images): Check for clear-image-cache
19773         before using it.
19775 2011-07-28  Bernt Hansen  <bernt@norang.ca>
19777         * org.el: Document missing value for org-link-frame-setup.
19779 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19781         * ob-R.el (org-babel-R-write-object-command): Force evaluation of
19782         user code prior to the R exception-handling, so that errors in
19783         user code are unhandled.
19785 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19787         * org-src.el (org-src-font-lock-fontify-block): Test, early on,
19788         that a major-mode function corresponding to the language string
19789         exists.
19791 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
19793         * org-exp.el (org-export-mark-list-ending): Insert additional
19794         newline characters if end-list-marker is at a wrong position.
19796 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19798         * ob.el (org-babel-script-escape): Replace commas with spaces for
19799         better list reading when list items are packed with commas,
19800         e.g. Haskell list output.
19802 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19804         * ob-sass.el (org-babel-execute:sass): Uses ob-eval for better
19805         error reporting.
19807 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19809         * ob.el (org-babel-confirm-evaluate): Fix for the case when
19810         org-confirm-babel-evaluate is a function (used to always ask no
19811         matter what the function returns).
19813 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19815         * ob-R.el: Delete duplicated function.
19817 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19819         * ob.el (org-babel-execute-src-block): Remove unused flet
19820         function.
19822 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19824         * ob-asymptote.el (org-babel-execute:asymptote): Return nil to
19825         signal that the intended content has been written to file.
19827         * ob-ditaa.el (org-babel-execute:ditaa): Return nil to signal that
19828         the intended content has been written to file.
19830         * ob-dot.el (org-babel-execute:dot): Return nil to signal that the
19831         intended content has been written to file.
19833         * ob-gnuplot.el (org-babel-execute:gnuplot): Return nil to signal
19834         that the intended content has been written to file.
19836         * ob-latex.el (org-babel-execute:latex): Return nil to signal that
19837         the intended content has been written to file.
19839         * ob-mscgen.el (org-babel-execute:mscgen): Return nil to signal
19840         that the intended content has been written to file.
19842         * ob-octave.el (org-babel-execute:octave): Return result; not name
19843         of output file.
19845         * ob-plantuml.el (org-babel-execute:plantuml): Return nil to
19846         signal that the intended content has been written to file.
19848         * ob-python.el (org-babel-execute:python): Return result; not name
19849         of output file.
19851         * ob-ruby.el (org-babel-execute:ruby): Return result; not name of
19852         output file.
19854         * ob-sass.el (org-babel-execute:sass): Return nil if result has
19855         been written to file.
19857 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19859         * ob-R.el (org-babel-R-graphical-output-file): New function
19860         returns the name of the output file iff R has been instructed to
19861         send graphical output to file by means of the ":results graphics"
19862         directive.
19863         (org-babel-expand-body:R): Use `org-babel-R-graphical-output-file'
19864         when constructing the R code to evaluate, which may be augmented
19865         with code implementing the writing of graohical output to file.
19866         (org-babel-execute:R): Use `org-babel-R-graphical-output-file' to
19867         determine whether R is taking responsibility for writing output to
19868         file; if so, this is signaled to ob.el by returning a nil result.
19870 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19872         * ob.el (org-babel-format-result): New function to format results
19873         of src block execution.
19874         (org-babel-execute-src-block): Use `org-babel-format-result' when
19875         writing to file.
19876         (org-babel-open-src-block-result): Use `org-babel-format-result'
19877         when displaying results in a buffer.  Name results buffer
19878         differently.
19880 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19882         * ob.el (org-babel-execute-src-block): Avoid calling
19883         `orgtbl-to-generic' on number results.
19885 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19887         * ob.el (org-babel-execute-src-block): Allow specification of
19888         table separator with :sep header argument.
19889         (org-babel-open-src-block-result): Allow specification of table
19890         separator with :sep header argument.
19892 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19894         * ob.el (org-babel-execute-buffer): Wipe error buffer at outset of
19895         executing buffer (note that this handles execute subtree also).
19897 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
19899         * org-inlinetask.el (org-inlinetask-in-task-p): Small refactoring,
19900         do not modify match data either.
19901         (org-inlinetask-goto-end): Small refactoring, remove
19902         case-sensitivity.
19903         (org-inlinetask-goto-beginning): Small refactoring, remove
19904         case-sensitivity.
19906 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19908         * org-capture.el (org-capture-set-target-location):
19909         Use `current-time'.
19911 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19913         * org-capture.el (org-capture-set-target-location):
19914         Use `current-time'.
19916 2011-07-28  Bernt Hansen  <bernt@norang.ca>
19918         * org.el (org-before-first-heading-p): If point is on an org-mode
19919         heading line then we are not before the first heading.
19921 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
19923         * org-timer.el (org-timer-continue-hook): Define the variable
19924         (org-timer-pause-or-continue): Run hook after relative timer is
19925         continued.
19927 2011-07-28  Julien Danjou  <julien@danjou.info>
19929         * org-agenda.el (org-compile-prefix-format): Allow %() expression.
19931 2011-07-28  Julien Danjou  <julien@danjou.info>
19933         * org-capture.el (org-capture-fill-template): Use org-eval.
19935 2011-07-28  Julien Danjou  <julien@danjou.info>
19937         * org-agenda.el (org-eval): New function.
19939 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19941         * ob.el (org-babel-execute-src-block): With :results file, when
19942         :file is not supplied, interpret result as a file link as long as
19943         it is a string.
19945 2011-07-28  David Maus  <dmaus@ictsoc.de>
19947         * org-latex.el (org-export-latex-preprocess): Don't convert link
19948         description parts that look like numeric footnote.
19950 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19952         * org-latex.el (org-export-latex-tables): Allowing specification
19953         of tabular[xy] inner environments through the ATTR_LaTeX line.
19955 2011-07-28  Julien Danjou  <julien@danjou.info>
19957         * org-capture.el (org-capture-fill-template):
19958         Use `org-set-property' directly.
19960 2011-07-28  Julien Danjou  <julien@danjou.info>
19962         * org-agenda.el (org-agenda-prefix-format): Add missing `search'
19963         item in docstring.
19965 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19967         * org-exp.el (org-export-string): Use `format' to construct
19968         function call to allow symbolic or string arguments.
19970 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19972         * org-capture.el (org-capture-place-entry):
19973         (org-capture-insert-template-here): Check tree for validity before
19974         pasting it.
19976 2011-07-28  Julien Danjou  <julien@danjou.info>
19978         * org-gnus.el (org-gnus-store-link): Trim date.
19980 2011-07-28  Julien Danjou  <julien@danjou.info>
19982         * org.el (org-email-link-description): Allow to retrieve email
19983         link date.
19985 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
19987         * org.el (org-make-target-link-regexp): `regexp-quote' target
19988         before replacing whitespace.
19990 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19992         * ob.el (org-babel-expand-noweb-references): Noweb references can
19993         now be resolved from the library of babel.
19995 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19997         * ob.el (org-babel-result-end): No longer leaving trailing new
19998         line after block removal.
20000 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20002         * org-latex.el (org-export-latex-first-lines): Anchor outline
20003         regexp during LaTeX tree export.
20005 2011-07-28  Konrad Hinsen  <konrad.hinsen@fastmail.net>
20007         * ob-python.el (org-babel-python-initiate-session-by-key):
20008         Make sure that py-which-bufname is initialized, as otherwise it will be
20009         overwritten the first time a Python buffer is created.
20011 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
20013         * ob-sh.el (org-babel-sh-var-to-sh): Better escaping of variables
20014         with spaces.
20016 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
20018         * ob-org.el (org-babel-execute:org): Padding code block with an
20019         empty title on LaTeX export.
20021 2011-07-28  Matt Lundin  <mdl@imapmail.org>
20023         * org.el (org-entry-properties): Stop scanning for timestamps if a
20024         specific timestamp property (e.g., DEADLINE, SCHEDULED, etc.) is
20025         requested and a match is found.  Also, if a specific timestamp
20026         property is requested, do not push non-relevant timestamps onto
20027         property list.
20029 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20031         * org-agenda.el (org-agenda-add-time-grid-maybe): Show time only
20032         when grid is being made for today.
20034 2011-07-28  Matt Lundin  <mdl@imapmail.org>
20036         * org-agenda.el (org-agenda-get-scheduled): Don't call
20037         `org-is-habit-p' until after checking for
20038         `org-agenda-skip-scheduled-if-done'.
20040 2011-07-28  Achim Gratz  <Stromeko@nexgo.de>
20042         * org.el: Remove spurious linebreak introduced by earlier patch.
20044         * ob.el, ob-ref.el: Remove double fix of the same problem.
20046 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20048         * org-table.el (orgtbl-ctrl-c-ctrl-c): Parse buffer for constants.
20050 2011-07-28  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>
20052         * org-html.el (org-export-html-mathjax-template):
20053         Displaymath environment and MathJax.
20055 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20057         * org-faces.el (org-agenda-current-time): New face.
20059         * org-agenda.el (org-agenda-show-current-time-in-grid):
20060         (org-agenda-current-time-string): New options.
20061         (org-agenda-add-time-grid-maybe): Add current time to time grid.
20063 2011-05-10  Jim Meyering  <meyering@redhat.com>
20065         Fix doubled-word typos.
20066         * org-agenda.el (org-agenda-entry-types): the the -> the
20067         * org-table.el (org-table-get-remote-range): or or -> or
20068         * org-wl.el (org-wl-folder-type): the the -> the
20069         * org.el (org-goto, org-inside-LaTeX-fragment-p): Likewise.
20071 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20073         * org-src.el (org-src-switch-to-buffer):
20074         * org-plot.el (org-plot/gnuplot-script, org-plot/gnuplot):
20075         * org-mouse.el (org-mouse-agenda-type):
20076         * org-freemind.el (org-freemind-node-to-org):
20077         * ob-sql.el (org-babel-execute:sql):
20078         * ob-exp.el (org-babel-exp-do-export, org-babel-exp-code):
20079         * ob-ref.el (org-babel-ref-resolve): Fix use of case.
20081 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
20083         * Version 23.3 released.
20085 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
20087         * org.el (org-blank-before-new-entry, org-context-in-file-links)
20088         (org-refile-targets, org-log-repeat, org-insert-link)
20089         (org-speed-command-default-hook, org-speed-command-hook)
20090         (org-in-regexps-block-p, org-yank-generic, org-goto-first-child):
20091         Fix typos in docstrings.
20092         (org-toggle-pretty-entities): Fix typo in message.
20094 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
20096         * org-id.el: Don't set `kill-emacs-hook' on noninteractive sessions.
20098 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
20100         * org-remember.el (org-remember-mode-map):
20101         * org-src.el (org-src-mode-map): Move initialization into declaration.
20103 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
20105         * org-remember.el (org-remember-mode):
20106         * org-capture.el (org-capture-mode): Don't run hook redundantly.
20108 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
20110         * org-faces.el (org-link): Inherit from link face.
20111         Suggested by Joakim Verona.
20113 2010-12-11  Tassilo Horn  <tassilo@member.fsf.org>
20115         * org-footnote.el (org-footnote-create-definition): Place
20116         Footnotes section before message-signature-separator also in modes
20117         derived from message-mode.
20119 2010-12-11  Julien Danjou  <julien@danjou.info>
20121         * org.el (org-make-tags-matcher): Remove useless cat-p value.
20123 2010-12-11  Julien Danjou  <julien@danjou.info>
20125         * org.el (org-entry-properties): Enhance docstring.
20127 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20129         * org-list.el (org-list-top-point-with-indent)
20130         (org-list-bottom-point-with-indent): Pay also attention to
20131         'original-indentation property of text, as blocks are put to
20132         column 0 upon exporting.
20134 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20136         * ob.el (org-babel-remove-temporary-directory): Handle exception
20137         with message informing of failure to remove directory.
20139 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20141         * ob-clojure.el (org-babel-header-arg-names:clojure): Add
20142         `package' to the list of Clojure header arguments which will be read
20143         from heading properties.
20145 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20147         * org-inlinetask.el (org-inlinetask-export-templates): Add
20148         Sébastien Vauban's suggestion for LaTeX export in docstring.  This is
20149         not default as it requires an additional LaTeX package: "todonotes".
20151 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20153         * org-inlinetask.el (org-inlinetask-export-templates): New variable.
20155         * org-inlinetask.el (org-inlinetask-export-handler): Make use of
20156         templates to export inline tasks.
20158 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20160         * org.el (org-current-level): Ignore inline tasks when getting current
20161         level of entry.
20163 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20165         * org.el (org-indent-line-function): Ignore drawers inside inline
20166         tasks  if the line to indent isn't inside an inline task itself.
20168 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20170         * org-inlinetask.el (org-inlinetask-get-task-level): New function.
20172         * org-indent.el (org-indent-add-properties): Find true level of
20173         indentation wrt inline tasks.
20175 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20177         * org-inlinetask.el (org-inlinetask-outline-regexp): New function.
20179         * org-inlinetask.el (org-inlinetask-goto-beginning): New function.
20181         * org-inlinetask.el (org-inlinetask-goto-end): New function.
20183         * org.el (org-mark-subtree): New command.
20185         * org.el (org-speed-commands-default, org-mode-map): Make use of
20186         new command.
20188 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20190         * org-inlinetask.el (org-inlinetask-export-handler): Remove protection
20191         from @<span class...> so it can be removed during LaTeX export.
20193 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20195         * ob.el (org-babel-insert-result): More informative code block
20196         evaluation messages.
20198 2010-12-11  Matt Lundin  <mdl@imapmail.org>
20200         * org.el (org-make-heading-search-string): Optionally limit number
20201         of lines stored in file link search strings.
20202         (org-context-in-file-links): Add option to set to integer specifying
20203         number of lines.
20205 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20207         * org-capture.el (org-capture-finalize): New prefix argument
20208         STAY-WITH-CAPTURE.
20209         (org-capture-refile): Improve docstring.
20211 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20213         * ob-sql.el (org-babel-execute:sql): Add msosql as optional sql
20214         interaction engine.
20216 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20218         * org-agenda.el (org-agenda-list):
20219         (org-agenda-goto-today): Use `org-today'.
20221 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20223         * org-latex.el (org-export-latex-make-header): Swap \begin{document}
20224         and the title/author definitions.
20226 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20228         * org-macs.el: Better backup definition for
20229         `with-silent-modifications'.
20231 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20233         * ob-python.el (org-babel-execute:python): Rename "prefix" to
20234         "preamble".
20235         (org-babel-python-evaluate): Rename "prefix" to "preamble".
20236         (org-babel-python-evaluate-external-process): Rename "prefix" to
20237         "preamble".
20239 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20241         * ob.el (org-babel-examplize-region): Check if `end' is a marker
20242         or a point and handle appropriately.
20244 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20246         * ob-sql.el (org-babel-execute:sql): Explicitly set field
20247         separator to \t when importing tabular data.
20249 2010-12-11  Julien Danjou  <julien@danjou.info>
20251         * org-agenda.el (org-agenda-custom-commands-local-options):
20252         Allow org-agenda-span to be a symbol.
20253         (org-agenda-ndays): Make obsolete.
20254         (org-agenda-span): New variable superseding org-agenda-ndays.
20255         (org-agenda-menu): Use org-agenda-current-span.
20256         (org-agenda-current-span): New local variable storing current
20257         span.
20258         (org-agenda-list): Take a span instead of ndays as argument.
20259         This function is now responsible for computing the ndays based
20260         on span.
20261         (org-agenda-ndays-to-span): Return span only if number of days
20262         really matches.
20263         (org-agenda-span-to-ndays): New function.
20264         (org-agenda-manipulate-query): Use org-agenda-compute-starting-span.
20265         (org-agenda-goto-today): Use org-agenda-compute-starting-span.
20266         (org-agenda-later): Do not give compute a new span, use the
20267         current one.
20268         (org-agenda-day-view, org-agenda-week-view)
20269         (org-agenda-month-view, org-agenda-year-view): Stop touching
20270         org-agenda-ndays.
20271         (org-agenda-change-time-span): Only compute starting-span.
20272         (org-agenda-compute-starting-span): New function derived from
20273         the old org-agenda-compute-time-span.
20274         (org-agenda-set-mode-name): Compute mode based on
20275         org-agenda-current-span.
20276         (org-agenda-span-name): New function.
20278 2010-12-11  Robert Pluim  <rpluim@gmail.com>  (tiny change)
20280         * org-agenda.el (org-agenda-toggle-deadlines): Fix docstring.
20282 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20284         * org-clock.el (org-quarter-to-date): Define variables.
20285         (org-clock-special-range): Defin variables.  Use org-floor*.
20286         (org-clocktable-write-default): Define tcol.
20288         * org-compat.el (org-floor*): New function.
20290 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20291             John Wiegley  <jwiegley@gmail.com>
20293         * org-complete.el: New file.
20295 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20297         * org-clock.el (org-clocktable-write-default): Fix the % formula.
20299 2010-12-11  Matt Lundin  <mdl@imapmail.org>
20301         * org-agenda.el (org-format-agenda-item): The value of
20302         org-category is not converted to a string unless it is defined.
20304 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20306         * ob-python.el (org-babel-execute:python): Pass the new "prefix"
20307         header argument through to external evaluation.
20308         (org-babel-python-evaluate): Pass the new "prefix" header argument
20309         through to external evaluation.
20310         (org-babel-python-evaluate-external-process): When specified prepend
20311         "prefix" to the file used in external evaluation.
20313 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20315         * ob-python.el (org-babel-python-evaluate-session): Change python
20316         module name from 'pp' to 'pprint'.
20318 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20320         * ob-R.el (org-babel-R-evaluate-session): Removing empty lines
20321         from R session output, these are often the result of variable
20322         assignments.
20324 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20326         * ob-sql.el (orgtbl-to-csv): Declaring an external function to
20327         fix a compiler warning.
20329 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20331         * ob-eval.el (require): No longer require ob.el to allow
20332         requiring by ob.el.
20334         * ob.el (ob-eval): Require ob-eval.
20336 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20338         * ob.el (org-babel-confirm-evaluate): Show code block's name when
20339         it is available during evaluation query.
20341 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20343         * ob-sql.el (org-babel-expand-body:sql): Expand the body of a sql
20344         code block.
20345         (org-babel-execute:sql): Use sql specific body expansion function.
20346         (org-babel-sql-expand-vars): Insert variables into a sql code block.
20348 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20350         * ob.el (org-babel-insert-result): Using markers instead of
20351         points for more robust buffer anchors.
20353 2010-12-11  Julien Danjou  <julien@danjou.info>
20355         * org-capture.el: Use org-today.
20357 2010-12-11  Julien Danjou  <julien@danjou.info>
20359         * org-habit.el: Use org-today.
20361 2010-12-11  Julien Danjou  <julien@danjou.info>
20363         * org.el (org-auto-repeat-maybe): Use org-today.
20365 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20367         * org-clock.el (org-day-of-week): New function.
20368         (org-quarter-to-date): New function.
20369         (org-clock-special-range): Implement quarters.
20371 2010-12-11  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
20373         * org.el (org-complete-tags-always-offer-all-agenda-tags):
20374         Fix docstring.
20376 2010-12-11  Julien Danjou  <julien@danjou.info>
20378         * org-agenda.el (org-format-agenda-item): Convert category to a string
20379         if it is a symbol.  This fixes the following call to
20380         org-agenda-get-category-icon which fails if category is not a string.
20382 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20384         * ob-clojure.el: Updated requirements documentation to mention
20385         the minimum version of Clojure.
20386         (org-babel-expand-body:clojure): Fully qualified function name.
20388 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20390         * org-latex.el (org-export-latex-lists): Do not add an
20391         unnecessary newline character after a list.
20393         * org-list.el (org-list-bottom-point-with-indent): Ensure bottom
20394         point is just after a non blank line.
20396 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20398         * ob.el (org-babel-examplize-region): Remove old assertion which
20399         no longer applies to the result insertion code.
20401 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20403         * ob-python.el (org-babel-execute:python): Use a :return header
20404         argument for external evaluation in which the code block body need
20405         to be wrapped in a function.
20407 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20409         * ob-clojure.el (org-babel-expand-body:clojure): Trapped free
20410         variable.
20412 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20414         * org.el (org-edit-special): Edit formulas when in TBLMF line.
20416 2010-12-11  Allen S. Rout  <asr@ufl.edu>  (tiny change)
20418         * org-capture.el (org-capture-after-finalize-hook): New hook.
20419         (org-capture-finalize): Run the new hook.
20421 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20423         * ob-clojure.el (org-babel-expand-body:clojure): Support for
20424         pretty printing of Clojure code and data.
20426 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20428         * ob.el (org-babel-insert-result): No longer escape results which
20429         will be wrapped in a block.
20431 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20433         * ob-eval.el (org-babel-eval-wipe-error-buffer): Fix compiler
20434         warning and added documentation string.
20436 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20438         * ob-clojure.el (org-babel-execute:clojure): Remade using slime
20439         for all code evaluation.
20441 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20443         * org-beamer.el (org-beamer-sectioning): Allow overlay arguments for
20444         the column as well.
20446 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20448         * ob.el (org-babel-confirm-evaluate): More descriptive message
20449         when evaluation is aborted or disabled.
20451 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20453         * ob.el (org-babel-insert-result): Responds to new "wrap" header
20454         argument.
20455         (org-babel-merge-params): Includes new "wrap" header argument in
20456         one of the results header argument exclusive groups.
20458 2010-12-11  David Maus  <dmaus@ictsoc.de>
20460         * org-macs.el (with-silent-modifications): Fix condition for
20461         with-silent-modification.
20463 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20465         * ob.el (org-babel-parse-header-arguments): Stripping trailing
20466         spaces off of header arguments (even the first one).
20468 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20470         * ob-sh.el (org-babel-sh-var-to-sh): Wrap end token of heredoc in
20471         single quotes which is the best practice.
20472         (org-babel-sh-table-or-results): Use `org-babel-script-escape' for
20473         more robust parsing of shell output.
20475 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20477         * org.el (org-additional-option-like-keywords): Add more keywords,
20478         and colons to some old ones.
20480 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20482         * ob-eval.el (org-babel-error-buffer-name): Define new variable.
20484 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20486         * ob-python.el (org-babel-python-table-or-string):
20487         Using `org-babel-script-escape' for reading string input from scripting
20488         languages.
20490 2010-12-11  Achim Gratz  <Stromeko@nexgo.de>  (tiny change)
20492         * org-macs.el (org-called-interactively-p): Wrap function call in
20493         with-no-warnings.
20494         (with-silent-modifications): Declare macro for Emacs < 23.2.
20496 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20498         * ob.el (org-babel-parse-header-arguments): Remove addition of
20499         ":" to singleton first header arguments as it was leading to errors.
20501 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20503         * org-latex.el (org-export-latex-make-header): Run the title through
20504         `org-export-latex-fontify-headline'.
20505         (org-export-latex-fontify-headline): Do the protection of math
20506         snippets also here.
20508 2010-12-11  Richard Lawrence  <richard.lawrence@berkeley.edu>
20510         * org-latex.el (org-export-as-latex): Sent the section title
20511         through the preprocessor.
20513 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20515         * org-html.el (org-html-level-start): Mark listified headings
20516         with a custom id.
20518 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20520         * org.el (org-open-at-point): Don't do footnote action if cursor is
20521         on a bracket link.
20523 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20525         * org.el (org-edit-special): Check also for TBLFM line.
20527 2010-12-11  Achim Gratz  <Stromeko@Stromeko.DE>  (tiny change)
20529         * org-clock.el (org-get-clocktable): Previous patch incorrectly
20530         required whitespace in front of #+BEGIN: and #+END:.
20532 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20534         * org-src.el (org-edit-src-code): Allow region to be inherited by
20535         edit buffer when mark is one character beyond end of src block.
20537 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20539         * org-list.el (org-cycle-list-bullet): Ensure point is at bol before
20540         checking item indentation.
20542 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20544         * ob.el (org-babel-map-src-blocks): Move to earlier in the file
20545         and now autoloading.
20547 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20549         * ob-ref.el (org-babel-ref-at-ref-p): Use higher level function
20550         for testing list membership.
20552         * ob.el (org-babel-read-result): Use higher level function for
20553         testing list membership.
20554         (org-babel-result-end): Use higher level function for testing list
20555         membership.
20557 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20559         * ob-sqlite.el (ob-eval): Require ob-eval for external command
20560         execution.
20561         (org-babel-execute:sqlite): No longer uses the init option for
20562         passing commands to sqlite.
20564 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20566         * org.el (org-indent-line-function): Drawers and blocks have no
20567         influence on indentation of text below.  Also fix indentation
20568         problem with a block at column 0 and add a special case for
20569         literal examples.
20571 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20573         * ob.el (org-babel-map-src-blocks): Ensure that the file argument
20574         is only evaluated once.
20576 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20578         * ob-ref.el (org-babel-ref-resolve): Recognize `list' as a unique
20579         type of data
20580         (org-babel-ref-at-ref-p): Recognize `list' as a unique type of data.
20582 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20584         * ob-tangle.el (org-babel-load-file): Can be called interactively.
20586 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
20588         * org-table.el (orgtbl-after-send-table-hook): New hook.
20589         (orgtbl-ctrl-c-ctrl-c): Run `orgtbl-after-send-table-hook' when a
20590         table was sent.
20591         (orgtbl-send-table): Return the number of sent tables, or nil if no
20592         sending has happened.
20594 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20596         * org.el (org-get-priority-function): New option.
20597         (org-get-priority): Call `org-get-priority-function' if that
20598         has been set.
20600 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20602         * ob-table.el (org-babel-table-truncate-at-newline): Only add
20603         "..." if there is something after the newline.
20605 2010-12-11  Achim Gratz  <Stromeko@nexgo.de>  (tiny change)
20607         * org-clock.el (org-get-clocktable):
20608         (org-in-clocktable-p):
20609         (org-clocktable-shift):
20610         (org-clocktable-steps): Fix regexp to allow for indented clock tables.
20612 2010-12-11  Puneeth Chaganti  <punchagan@gmail.com>
20614         * org-exp.el (org-export-handle-include-files): Support :minlevel
20615         property.
20616         (org-get-file-contents): New argument minlevel to demote included
20617         content.
20619 2010-12-11  Noorul Islam  <noorul@noorul.com>
20621         * org-latex.el (org-export-latex-hyperref-format): New option.
20622         (org-export-latex-href-format): Rename the existing variable
20623         `org-export-latex-hyperref-format' as `org-export-latex-href-format'
20624         (org-export-latex-links): Use `org-export-latex-hyperref-format' and
20625         `org-export-latex-href-format'.
20627 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20629         * ob-calc.el (org-babel-execute:calc): Ensure the *Calculator*
20630         buffer exists before it is used.
20632 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20634         * org-exp.el (org-export-preprocess-string): Delay code block
20635         processing a bit to allow correct list parsing in the export string.
20637 2010-12-11  Christopher Allan Webber  <cwebber@dustycloud.org>
20639         * org-agenda.el (org-agenda-timegrid-use-ampm): New option.
20640         (org-agenda-time-of-day-to-ampm): New function.
20641         (org-agenda-time-of-day-to-ampm-maybe): New function.
20642         (org-format-agenda-item): Call org-agenda-time-of-day-to-ampm-maybe.
20644 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20646         * org-faces.el (org-cycle-level-faces): New option.
20648         * org.el (org-get-level-face): Honor org-cycle-level-faces.
20650 2010-12-11  Julien Danjou  <julien@danjou.info>
20652         * org-agenda.el (org-agenda-today): New function.
20653         (org-agenda-get-day-face): New function.
20654         (org-timeline): Use org-agenda-today and org-agenda-get-day-face.
20655         (org-agenda-list): Use org-agenda-today and org-agenda-get-day-face.
20656         (org-todo-list): Use org-agenda-today.
20657         (org-get-all-dates): Use org-agenda-today.
20658         (org-agenda-day-face-function): New variable.
20659         (org-agenda-get-day-face): Use org-agenda-day-face-function.
20661 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20663         * org.el (org-ctrl-c-ctrl-c): Consider sending a radio table also
20664         in Org.
20666 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20668         * org-html.el (org-export-as-html): Do not treat partially
20669         protected lines as if they were fully protected.
20671 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20673         * org-exp.el (org-export-format-source-code-or-example):
20674         Remove hard-wired configuration of minted export
20675         (org-export-latex-minted-with-line-numbers): Remove variable.
20677 2010-12-11  Bastien Guerry  <bzg@gnu.org>
20679         * org-clock.el (org-dblock-write:clocktable): Fix double
20680         reference to `link' in let construct.
20681         (org-clock-clocktable-formatter): Fix typo in docstring.
20682         (org-clocktable-write-default): Fix typo in docstring.
20684 2010-12-11  David Maus  <dmaus@ictsoc.de>
20686         * org-protocol.el (org-protocol-unhex-string): Normalize percent
20687         escape sequence to upper case letters.
20689 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20691         * ob-lob.el (org-babel-lob-get-info): Include pass-through
20692         header arguments in results variable header argument string.
20694 2010-12-11  David Maus  <dmaus@ictsoc.de>
20696         * org-exp.el (org-export-visible): Limit search for in-buffer options
20697         beginning of first headline.
20699 2010-12-11  David Maus  <dmaus@ictsoc.de>
20701         * org.el (org-open-at-point): Remove stale link handler for news:
20702         links.
20704 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20706         * org-clock.el (org-clocktable-write-default): Better handling of
20707         narrowing.
20709 2010-12-11  Julien Danjou  <julien@danjou.info>
20711         * org-agenda.el (org-agenda-category-icon-alist): Fix defcustom type.
20713 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20715         * org.el (org-indent-line-function): Simplify code and remove bug that
20716         would insert a tab at the beginning of the line when trying to
20717         indent the item.
20719 2010-12-11  Julien Danjou  <julien@danjou.info>
20721         * org.el (org-diary-sexp-entry): Split sexp result strings at semicolon.
20723 2010-12-11  Julien Danjou  <julien@danjou.info>
20725         * org-agenda.el (org-agenda-prefix-format): Insert place holder
20726         for icon.
20727         (org-agenda-category-icon-alist): New option.
20728         (org-agenda-get-category-icon): New function.
20729         (org-format-agenda-item): Support for icons.
20730         (org-compile-prefix-format): Support for icons.
20732 2010-12-11  Julien Danjou  <julien@danjou.info>
20734         * org-compat.el: Create defalias for `string-match-p' and
20735         looking-at-p.
20737 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20739         * ob-calc.el (org-babel-execute:calc): Support for variables --
20740         converts :var variables in calc variables.
20742 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20744         * org.el (org-sparse-tree): Mention [r] in dispatch menu.
20746 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20748         * org-list.el (org-list-parse-list): Use `org-looking-at-p'.
20750 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20752         * org-id.el (org-id-store-link): Test for org-mode before checking
20753         for IDs.
20755 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20757         * org.el (org-shorten-string): New function.
20759         * org-exp.el (org-export-convert-protected-spaces): New function.
20760         (org-export-preprocess-string):
20761         Call `org-export-convert-protected-spaces' to handle new hard spaces.
20763 2010-12-11  David Maus  <dmaus@ictsoc.de>
20765         * org.el (org-narrow-to-subtree): Check for heading that ends at end
20766         of buffer.
20768 2010-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
20770         * org-capture.el (org-capture-templates): Remove autoload from
20771         defcustom.
20773         * ob-lisp.el (slime): Don't expect slime to be present.
20775 2010-11-11  Dan Davison  <dandavison7@gmail.com>
20777         * ob.el: `copy-sequence' suffices to copy alist; no need for
20778         `copy-tree'.
20780 2010-11-11  Dan Davison  <dandavison7@gmail.com>
20782         * ob.el (org-babel-execute-src-block): If ":results file" is in
20783         effect, then ensure that the value of :file is returned as the
20784         result; don't rely on language files for this.
20786 2010-11-11  Dan Davison  <dandavison7@gmail.com>
20788         * ob.el (org-babel-sha1-hash): Avoid corrupting `info' data
20789         structure by side-effects of `sort'.
20791 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20793         * org-list.el (org-list-bottom-point-with-indent): Do not check
20794         indentation of a non-empty blank line.
20796         * org-list.el (org-sort-list): Sort a list with point anywhere
20797         inside it.
20799 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20801         * ob-calc.el (org-babel-execute:calc): Safer evaluation and
20802         hopefully better error messages.
20804 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20806         * org.el (org-babel-load-languages): Adding calc.
20808 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20810         * ob.el (org-babel-initiate-session): Don't resolve variable
20811         references unless prefix arg is supplied.
20813 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20815         * ob-calc.el (org-babel-execute:calc): Ensure that calc stack
20816         refers to the correct stack.
20818 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20820         * ob-calc.el: Adding the beginnings of support for calc code
20821         blocks.
20823 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20825         * ob-tangle.el (org-babel-update-block-body): Declaring function
20826         for updating code block bodies.
20827         (org-babel-spec-to-string):
20828         (org-babel-detangle): Detangle all tangled and commented code
20829         blocks in the current file back to org.
20830         (org-babel-tangle-jump-to-org): Jump from a tangled and commented
20831         file back to the originating org-mode code block ob-tangle:
20832         detangle changes in code files back to the original org files.
20834 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20836         * ob-tangle.el (org-babel-tangle-comment-format-beg): Fix typo.
20837         (org-babel-tangle-comment-format-end): Fix typo.
20839 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20841         * org-exp.el (org-export-format-source-code-or-example):
20842         Use minted for latex source code export if `org-export-latex-listings'
20843         has the value 'minted.
20845         * org-latex.el (org-export-latex-listings): Document special value
20846         'minted.
20848         * org-latex.el (org-export-latex-minted): Delete variable.
20850 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20852         * ob.el (org-babel-get-src-block-info): Retrieve contents of
20853         parentheses, excluding parentheses themselves.
20855 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20857         * ob-gnuplot.el (org-babel-variable-assignments:gnuplot):
20858         Fix bug in gnuplot data file assignment using user variables.
20860 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20862         * ob-latex.el (org-babel-execute:latex): Adding new :headers
20863         header argument for latex code blocks.
20865 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20867         * org-capture.el (org-capture-templates): New capture property
20868         `:kill-buffer'.
20869         (org-capture-finalize): Kill target buffer if that is desired.
20870         (org-capture-target-buffer): Remember if we have to make the buffer.
20872 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20874         * org-clock.el (org-dblock-write:clocktable): Fix bug when
20875         computing clock tables.
20877 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20879         * org-clock.el (org-dblock-write:clocktable): Pass file minutes up
20880         to caller even if no table is generated.
20882 2010-11-11  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>
20884         * org-agenda.el (org-agenda-get-sexps): Handle lists as return
20885         values from diary entries.
20887         * org-bbdb.el (org-bbdb-anniversaries): Handle lists of
20888         anniversaries.
20890         * org.el (org-diary-sexp-entry): Handle lists as return values
20891         from diary entries.
20893 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20895         * org-capture.el (org-capture-empty-lines-before):
20896         (org-capture-empty-lines-after): Make sure the n=0 does not insert
20897         any newlines.
20899 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20901         * ob-clojure.el (org-babel-clojure-babel-clojure-cmd): Fix error
20902         message when clojure binary is not found.
20904 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20906         * org-html.el (org-format-table-html): New argument DOCBOOK.
20907         (org-format-org-table-html): New argument DOCBOOK.  When set, use
20908         align instead of class to align table fields.
20910         * org-docbook.el (org-export-as-docbook): Specify the docbook
20911         argument for the table converter.
20913 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20915         * org-macs.el (org-called-interactively-p): New macro.
20917         * org-freemind.el: No longer require 'rx.
20918         (org-freemind): New customization group, use it for all the
20919         variables.
20920         (org-export-as-freemind): Add docstring.
20921         (org-freemind-show): Improve filen naming.
20922         (org-freemind-convert-links-helper): New function.
20923         (org-freemind-bol-helper-base-indent): New variable.
20924         (org-freemind-bol-helper): New function.
20925         (org-freemind-node-css-style): New option.
20926         (org-freemind-node-pattern): New variable.
20927         (org-freemind-from-org-mode): Better docstring.
20929 2010-11-11  David Maus  <dmaus@ictsoc.de>
20931         * ob-haskell.el (org-babel-variable-assignments:haskell):
20932         Don't pass more than two arguments to mapc.
20934 2010-11-11  David Maus  <dmaus@ictsoc.de>
20936         * ob.el (org-babel-ref-resolve): Declare to silence byte compiler.
20938 2010-11-11  David Maus  <dmaus@ictsoc.de>
20940         * org-footnote.el (message-signature-separator): Defvar to silence
20941         byte compiler.
20943 2010-11-11  David Maus  <dmaus@ictsoc.de>
20945         * org-exp.el (org-export-string): Fix reference to wrong symbol.
20947 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>
20949         * org.el (org-link-search): Return 'dedicated on successful match
20950         when org-link-search-must-match-exact-headline is set to t.
20952 2010-11-11  Daniel Clemente  <n142857@gmail.com>
20954         * org-html.el (org-html-make-link): Append fragment to file: links
20955         if present.
20957 2010-11-11  Tassilo Horn  <tassilo@member.fsf.org>
20959         * org-footnote.el (org-footnote-create-definition)
20960         (org-footnote-goto-local-insertion-point): Add footnotes before
20961         signature when in message-mode.
20963 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20965         * org.el (org-display-inline-images): Improve regexp.
20967 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20969         * org.el (org-cycle): Make sure resetting to startup visibility
20970         works after another cycle command.
20972 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20974         * org-exp.el (org-export-string): New function org-export-string
20975         can be used to convert a string of test in org-mode markup to a
20976         specified format.
20978 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20980         * org.el (org-display-inline-images): Allow non-ASCII characters
20981         in image file names.  Save match data.
20983 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20985         * org.el (org-auto-repeat-maybe): Fix shifting multiple time
20986         stamps.
20988 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20990         * org-exp.el (org-store-forced-table-alignment):
20991         (org-export-remove-special-table-lines): Allow the "c" cookie for
20992         table alignment.
20994         * org-html.el (org-export-table-header-tags):
20995         (org-export-table-data-tags): Add another %s format for the
20996         alignment.
20997         (org-export-html-table-align-individual-fields): New option.
20998         (org-format-org-table-html): Implement field-by-field alignment
20999         and support centering.
21000         (org-format-table-table-html): Make sure the new table tag formats
21001         don't break this function.
21003         * org-table.el (org-table-cookie-line-p):
21004         (org-table-align): Allow for the <c> cookie.
21006         * org.el (org-set-font-lock-defaults): Allow for the <c> cookie.
21008 2010-11-11  David Maus  <dmaus@ictsoc.de>
21010         * org-exp.el (org-export-normalize-links): Skip normalization of
21011         plain links that are part of another link.
21013 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21015         * ob-R.el (org-babel-expand-body:R): Fix bug in let binding.
21017 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21019         * org-indent.el (org-indent-add-properties):
21020         Use `with-silent-modifications'.
21021         (org-indent-remove-properties): Use `with-silent-modifications'.
21023 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21025         * org-table.el (org-table-cookie-line-p): Fix indentation.
21027         * org-exp.el (org-store-forced-table-alignment): New function.
21028         (org-export-preprocess-string):
21029         Call `org-store-forced-table-alignment'.
21031         * org-html.el (org-format-org-table-html): Use stored alignment
21032         information.
21034 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21036         * ob.el (org-babel-execute-src-block): Respects prefix argument
21037         (which forces re-calculation).
21039 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21041         * ob.el (org-babel-execute-src-block): Remove needless param
21042         sorting from ob-execute-src-block, the params are sorted already
21043         by ob-sha1-hash.
21045 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21047         * ob.el (org-babel-sha1-hash): Ensure that info is sorted at the
21048         header argument level.
21050 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21052         * ob.el (org-babel-sha1-hash): Consider words in different order
21053         as different input.
21055 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21057         * ob.el (org-babel-sha1-hash): Fix check for zero length sequences.
21059 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21061         * ob-sh.el (org-babel-sh-var-to-sh): Ensure value has the
21062         structure of an Org-mode table (list of lists).
21064 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21066         * ob-tangle.el (org-babel-tangle-collect-blocks): Fix bug
21067         (reference to unassigned variable `src-lang' and avoid calling
21068         org-babel-get-src-block-info twice.
21070 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21072         * ob.el (org-babel-demarcate-block): Update to reflect the new
21073         info list contents.
21075 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21077         * org-src.el (org-edit-src-code): Supply non-nil argument to
21078         `org-babel-get-src-block-info' to avoid resolving variable
21079         references.
21081 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21083         * ob.el (org-babel-map-src-blocks): Fix minor bug in and
21084         improved efficiency of org-babel-map-src-blocks.
21086 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21088         * ob-tangle.el (org-babel-tangle-collect-blocks): Now explicitly
21089         checks that a code block will actually be tangled before
21090         collecting it's full information (a process which could involve
21091         the execution of other code blocks).
21093 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21095         * ob.el (org-babel-demarcate-block): Use light version of
21096         `org-babel-get-src-block-info'.
21098 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21100         * ob.el (org-babel-sha1-hash): Now handles more complex types in
21101         params.
21103 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21105         * ob.el (org-babel-execute-src-block): Generally using the new
21106         more informative params
21107         (org-babel-process-params): Don't forget the :var portion of
21108         variable assignments.
21110 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21112         * ob-table.el (sbe): Simplify to reflect to var resolution.
21114 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21116         * ob-ref.el (org-babel-ref-resolve): Bringing the referent
21117         arguments back to their params before evaluation.
21119 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21121         * ob-ref.el (org-babel-ref-resolve): Cleanup of variable usage and
21122         indentation.
21124 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21126         * ob-table.el (sbe): Use `org-babel-process-params params' instead
21127         of `org-babel-expand-variables'.
21129 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21131         * ob-C.el (org-babel-C-execute): Remove call to
21132         org-babel-process-params which should no longer be called from
21133         within a language file.
21135         * ob-R.el (org-babel-execute:R): Remove call to
21136         org-babel-process-params which should no longer be called from
21137         within a language file
21138         (org-babel-R-variable-assignments): Remove call to
21139         org-babel-process-params which should no longer be called from
21140         within a language file.
21142         * ob-asymptote.el (org-babel-execute:asymptote): Remove call to
21143         org-babel-process-params which should no longer be called from
21144         within a language file.
21146         * ob-clojure.el (org-babel-execute:clojure): Remove call to
21147         org-babel-process-params which should no longer be called from
21148         within a language file.
21150         * ob-dot.el (org-babel-execute:dot): Remove call to
21151         org-babel-process-params which should no longer be called from
21152         within a language file.
21154         * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp): Remove
21155         call to org-babel-process-params which should no longer be called
21156         from within a language file
21157         (org-babel-execute:emacs-lisp): Remove call to
21158         org-babel-process-params which should no longer be called from
21159         within a language file.
21161         * ob-haskell.el (org-babel-execute:haskell): Remove call to
21162         org-babel-process-params which should no longer be called from
21163         within a language file.
21165         * ob-js.el (org-babel-execute:js): Remove call to
21166         org-babel-process-params which should no longer be called from
21167         within a language file.
21169         * ob-lisp.el (org-babel-execute:lisp): Remove call to
21170         org-babel-process-params which should no longer be called from
21171         within a language file.
21173         * ob-ocaml.el (org-babel-execute:ocaml): Remove call to
21174         org-babel-process-params which should no longer be called from
21175         within a language file.
21177         * ob-octave.el (org-babel-execute:octave): Remove call to
21178         org-babel-process-params which should no longer be called from
21179         within a language file.
21181         * ob-perl.el (org-babel-execute:perl): Remove call to
21182         org-babel-process-params which should no longer be called from
21183         within a language file.
21185         * ob-python.el (org-babel-execute:python): Remove call to
21186         org-babel-process-params which should no longer be called from
21187         within a language file.
21189         * ob-ruby.el (org-babel-execute:ruby): Remove call to
21190         org-babel-process-params which should no longer be called from
21191         within a language file.
21193         * ob-scheme.el (org-babel-execute:scheme): Remove call to
21194         org-babel-process-params which should no longer be called from
21195         within a language file.
21197         * ob-screen.el (org-babel-execute:screen): Remove call to
21198         org-babel-process-params which should no longer be called from
21199         within a language file
21200         (org-babel-prep-session:screen): Remove call to
21201         org-babel-process-params which should no longer be called from
21202         within a language file.
21204         * ob-sh.el (org-babel-execute:sh): Remove call to
21205         org-babel-process-params which should no longer be called from
21206         within a language file.
21208         * ob-sql.el (org-babel-execute:sql): Remove call to
21209         org-babel-process-params which should no longer be called from
21210         within a language file.
21212         * ob-haskell.el (org-babel-execute:haskell): Remove reference to
21213         processed params.
21215         * ob-clojure.el (org-babel-execute:clojure): Remove reference to
21216         processed params.
21218         * ob-R.el (org-babel-execute:R): Remove reference to processed
21219         params.
21221 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21223         * ob-sql.el (org-babel-execute:sql): Use generic expansion
21224         function
21225         (org-babel-expand-body:sql): Delete function.
21227 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21229         * ob-sh.el (org-babel-execute:sh): Use generic expansion function
21230         (org-babel-expand-body:sh): Delete function
21231         (org-babel-prep-session:sh): Change name of called function
21232         (org-babel-variable-assignments:sh): Change function name.
21234 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21236         * ob-screen.el (org-babel-execute:screen): Use generic expansion
21237         function
21238         (org-babel-expand-body:screen): Delete function
21239         (org-babel-prep-session:screen): Remove references to processed
21240         params.
21242 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21244         * ob-sass.el (org-babel-execute:sass): Use generic expansion
21245         function
21246         (org-babel-expand-body:sass): Delete function.
21248 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21250         * ob-ruby.el (org-babel-execute:ruby): Use generic expansion
21251         function
21252         (org-babel-prep-session:ruby): Use new variable assignment
21253         function
21254         (org-babel-variable-assignments:ruby): New function
21255         (org-babel-expand-body:ruby): Delete function.
21257 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21259         * ob-python.el (org-babel-execute:python): Use generic expansion
21260         function
21261         (org-babel-prep-session:python): Change name of called function
21262         (org-babel-variable-assignments:python): Change function name
21263         (org-babel-expand-body:python): Delete function.
21265 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21267         * ob-plantuml.el (org-babel-expand-body:plantuml): Delete function
21268         (automatically handled by generic version).
21270 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21272         * ob-perl.el (org-babel-execute:perl): Use generic expansion
21273         function
21274         (org-babel-expand-body:perl): Delete function
21275         (org-babel-variable-assignments:perl): New function.
21277 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21279         * ob-org.el (org-babel-expand-body:org): Delete function
21280         (automatically handled by generic version).
21282 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21284         * ob-octave.el (org-babel-execute:octave): Use generic expansion
21285         function
21286         (org-babel-variable-assignments:octave): Change name of function
21287         (org-babel-variable-assignments:matlab): New defalias
21288         (org-babel-prep-session:octave): Change name of function
21289         (org-babel-expand-body:matlab): Delete function
21290         (org-babel-expand-body:octave): Delete function.
21292 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21294         * ob-ocaml.el (org-babel-execute:ocaml): Use generic expansion
21295         function
21296         (org-babel-variable-assignments:ocaml): New function
21297         (org-babel-expand-body:ocaml): Delete function.
21299 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21301         * ob-mscgen.el (org-babel-expand-body:mscgen): Delete function
21302         (automatically handled by generic version).
21304 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21306         * ob-js.el (org-babel-execute:js): Use new variable assignment
21307         function
21308         (org-babel-expand-body:js): Delete function
21309         (org-babel-prep-session:js): Use new variable assignment function
21310         (org-babel-variable-assignments:js): New function.
21312 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21314         * ob-haskell.el (org-babel-execute:haskell): Use generic expansion
21315         function
21316         (org-babel-expand-body:haskell): Delete function
21317         (org-babel-prep-session:haskell): Use variable assignment function
21318         (org-babel-variable-assignments:haskell): New function.
21320 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21322         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Use variable
21323         assignment function
21324         (org-babel-prep-session:gnuplot): Use variable assignment function
21325         (org-babel-variable-assignments:gnuplot): New function.
21327 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21329         * ob-ditaa.el (org-babel-expand-body:ditaa): Delete function
21330         (automatically handled by generic version).
21332 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21334         * ob-css.el (org-babel-expand-body:css): Delete function
21335         (automatically handled by generic version).
21337 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21339         * ob-asymptote.el (org-babel-execute:asymptote): Use generic
21340         expansion function
21341         (org-babel-expand-body:asymptote): Delete function
21342         (org-babel-variable-assignments:asymptote): New function.
21344 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21346         * ob-R.el (org-babel-expand-body:R): Use new function
21347         `org-babel-variable-assignments:R'; don't trim body.
21348         (org-babel-execute:R): Respond to changes in
21349         `org-babel-expand-body:R'
21350         (org-babel-prep-session:R): Called function is now named
21351         `org-babel-variable-assignments:R'
21352         (org-babel-variable-assignments:R): Receives processed-params as
21353         new optional argument.
21355 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21357         * ob-C.el (org-babel-C-expand): Don't trim body.
21359 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21361         * ob-scheme.el (org-babel-expand-body:scheme): Fix bug in
21362         obtaining variable references.
21364 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21366         * ob-tangle.el (org-babel-tangle-collect-blocks): Supply variable
21367         assignment lines to generic expansion command.
21369 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21371         * ob.el (org-babel-expand-src-block): Supply variable assignment
21372         lines to generic expansion function
21373         (org-babel-expand-body:generic): Prepend body with optional
21374         variable assignment lines.
21376 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21378         * ob-exp.el (org-babel-exp-results): Replaced old function call.
21380 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21382         * ob-lob.el (org-babel-lob-execute): Now expanding variable
21383         references before execution.
21385 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21387         * ob.el (org-babel-execute-src-block): Only sort parameters if
21388         it's required for caching.
21390 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21392         * ob-table.el (sbe): Reworking for better indentation and to
21393         integrate the new variable resolution.
21395 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21397         * ob-ref.el (org-babel-ref-resolve-reference): Now expanding
21398         variables when resolving references.
21400 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21402         * ob.el (org-babel-merge-params): Fix order or precedence for
21403         variables.
21405 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21407         * ob-C.el (org-babel-expand-body:c++, org-babel-C-expand):
21408         * ob-R.el (org-babel-expand-body:R, org-babel-execute:R)
21409         (org-babel-R-variable-assignments):
21410         * ob-asymptote.el (org-babel-expand-body:asymptote)
21411         (org-babel-execute:asymptote):
21412         * ob-clojure.el (org-babel-expand-body:clojure)
21413         (org-babel-execute:clojure):
21414         * ob-css.el (org-babel-expand-body:css):
21415         * ob-ditaa.el (org-babel-expand-body:ditaa):
21416         * ob-dot.el (org-babel-expand-body:dot, org-babel-execute:dot):
21417         * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp)
21418         (org-babel-execute:emacs-lisp):
21419         * ob-gnuplot.el (org-babel-expand-body:gnuplot)
21420         * ob-haskell.el (org-babel-expand-body:haskell)
21421         (org-babel-execute:haskell, org-babel-load-session:haskell)
21422         (org-babel-prep-session:haskell):
21423         * ob-js.el (org-babel-expand-body:js, org-babel-execute:js):
21424         * ob-latex.el (org-babel-expand-body:latex):
21425         * ob-lisp.el (org-babel-expand-body:lisp, org-babel-execute:lisp):
21426         * ob-mscgen.el (org-babel-expand-body:mscgen):
21427         * ob-ocaml.el (org-babel-expand-body:ocaml, org-babel-execute:ocaml):
21428         * ob-octave.el (org-babel-expand-body:matlab)
21429         (org-babel-expand-body:octave, org-babel-execute:octave)
21430         (org-babel-octave-variable-assignments):
21431         * ob-org.el (org-babel-expand-body:org):
21432         * ob-perl.el (org-babel-expand-body:perl, org-babel-execute:perl):
21433         * ob-plantuml.el (org-babel-expand-body:plantuml):
21434         * ob-python.el (org-babel-expand-body:python, org-babel-execute:python)
21435         (org-babel-python-variable-assignments):
21436         * ob-ruby.el (org-babel-expand-body:ruby, org-babel-execute:ruby):
21437         * ob-sass.el (org-babel-expand-body:sass):
21438         * ob-scheme.el (org-babel-expand-body:scheme, org-babel-execute:scheme):
21439         * ob-screen.el (org-babel-expand-body:screen):
21440         * ob-sh.el (org-babel-expand-body:sh, org-babel-execute:sh)
21441         (org-babel-sh-variable-assignments):
21442         * ob-sql.el (org-babel-expand-body:sql):
21443         * ob-sqlite.el (org-babel-expand-body:sqlite, org-babel-execute:sqlite):
21444         * ob.el (org-babel-expand-body:generic):
21445         Remove obsoleted optional third argument.
21447 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21449         * ob-clojure.el (org-babel-prep-session:clojure): Purging all
21450         calls to removed org-babel-ref-variables.
21452 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21454         * ob-lob.el (org-babel-lob-ingest): Now returns the count of
21455         ingested code blocks.
21457 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21459         * ob-exp.el (org-babel-exp-in-export-file): Wrapper for collecting
21460         information from within the original export file.
21462 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21464         * ob.el (org-babel-get-src-block-info): Small but crucial fix)
21465         (this should return nil if not match found.
21467 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21469         * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp):
21470         Whitespace (org-babel-execute:emacs-lisp): Whitespace.
21472 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21474         * ob-sh.el (org-babel-sh-variable-assignments): Provide missing
21475         docstring.
21477         * ob-python.el (org-babel-python-variable-assignments):
21478         Provide missing docstring.
21480 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21482         * ob-octave.el (org-babel-expand-body:octave): Refactor: break
21483         variable assignment part out into a separate function
21484         (org-babel-octave-variable-assignments): New function constructing
21485         list of variable assignment statements
21486         (org-babel-prep-session:octave): Use new function
21487         `org-babel-octave-variable-assignments' instead of previous
21488         (incorrect) variable assignment code.
21490 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21492         * ob-sh.el (org-babel-expand-body:sh): Refactor: break variable
21493         assignment part out into a separate function
21494         (org-babel-sh-variable-assignments): New function constructing
21495         list of variable assignment statements
21496         (org-babel-prep-session:sh): Use new function
21497         `org-babel-sh-variable-assignments' instead of previous
21498         (incorrect) variable assignment code.
21500 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21502         * ob-python.el (org-babel-expand-body:python): Refactor: break
21503         variable assignment part out into a separate function
21504         (org-babel-python-variable-assignments): New function constructing
21505         list of variable assignment statements
21506         (org-babel-prep-session:python): Use new function
21507         `org-babel-python-variable-assignments' instead of previous
21508         (incorrect) variable assignment code.
21510 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21512         * ob-R.el (org-babel-expand-body:R): Refactor: break variable
21513         assignment part out into a separate function
21514         (org-babel-R-variable-assignments): New function constructing list
21515         of variable assignment statements
21516         (org-babel-prep-session:R): Use new function
21517         `org-babel-R-variable-assignments' instead of previous
21518         (incorrect) variable assignment code.
21520 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21522         * ob.el (org-babel-initiate-session): Better variable names.
21524 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21526         * ob.el (org-number-sequence):
21527         Declared * ob-R.el (org-number-sequence): Declared.
21529 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21531         * ob.el (org-babel-map-src-blocks): Store correct value of
21532         `end-block'.
21534 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21536         * ob.el (org-babel-mark-block): New function to mark the body of a
21537         src block in the style of `mark-defun'.
21539 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21541         * org-compat.el (org-number-sequence): New function.
21543         * ob-R.el (org-babel-expand-body:R): Use `org-number-sequence'.
21545         * ob.el (org-babel-where-is-src-block-result):
21546         Use `org-number-sequence'.
21547         (org-babel-current-buffer-properties): Fix variable definition.
21549         * ob-ref.el (org-babel-ref-index-list): Use `org-number-sequence'.
21551         * ob-latex.el (org-babel-latex-tex-to-pdf): Use the 2-argument
21552         version of `shell-command'.
21554         * org-latex.el (org-export-as-pdf): Use the 2-argument version of
21555         `shell-command'.
21557 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21559         * org-list.el (org-list-search-unenclosed-generic): Replace call
21560         to booleanp.
21562 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21564         * org.el (org-agenda-jump-prefer-future): New option.
21566         * org-agenda.el (org-agenda-goto-date):
21567         Use `org-agenda-jump-prefer-future'.
21569 2010-11-11  Noorul Islam  <noorul@noorul.com>
21571         * org-latex.el (org-export-latex-links): Replaced hard coded
21572         hyperref format with custom variable
21573         `org-export-latex-hyperref-format'.
21575 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21577         * org.el (org-insert-heading): Fix docstring.
21579 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
21581         * org-capture.el (org-capture-place-entry): If the first line is
21582         already a headline, just stay there.
21584 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21586         * ob-sh.el (org-babel-sh-evaluate): No longer assumes that results
21587         are non-nil.
21589 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21591         * org-ascii.el (org-ascii-replace-entities): Match an optional {}
21592         after an entity.
21594 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21596         * org-table.el (orgtbl-to-html): Apply `org-html-expand' to the
21597         table fields.
21599 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21601         * org.el (org-insert-heading): When on the headline of an inline
21602         task, insert another inline tasks.
21604 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21606         * ob-tangle.el (org-babel-tangle-collect-blocks): Only create
21607         links for blocks that will actually tangle.
21609 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21611         * ob-sh.el (org-babel-expand-body:sh): Don't insert extra newlines
21612         in expanded shell bodies.
21614 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21616         * ob-sh.el (org-babel-expand-body:sh): Avoid inserting extra
21617         newline characters.
21619 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21621         * ob-sh.el (org-babel-expand-body:sh): Align code.
21623 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21625         * ob.el (org-babel-params-from-properties): Max line with at <=80.
21627 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21629         * org-latex.el (org-export-latex-listings-langs): Clojure is now
21630         recognized as a lisp.
21632 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21634         * ob.el (org-babel-params-from-properties): Use `org-babel-read'
21635         to interpret property as header argument value.
21637 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21639         * ob.el (org-babel-parse-header-arguments): Simplify reading of
21640         header arg value.
21642 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21644         * org-publish.el (org-publish-org-to-ascii):
21645         (org-publish-org-to-latin1):
21646         (org-publish-org-to-utf8): New functions.
21648 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21650         * org.el (org-insert-heading): Skip inline tasks when trying to
21651         insert a new heading after the end of the subtree.
21653 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21655         * org-inlinetask.el (org-inlinetask-min-level): Set customization
21656         type to integer or nil.
21658         * org.el (org-insert-heading): When after an inline task, do not
21659         use level but go back to headline level before the inline task.
21661 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21663         * org-inlinetask.el (org-inlinetask-in-task-p): New function.
21665         * org.el (org-indent-line-function): Fix indentation of inline
21666         tasks.
21668 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21670         * org.el (org-activate-links): Fix customize type.
21672 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21674         * org-latex.el (org-latex-to-pdf-process): Add rubber as another
21675         default option.
21677 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21679         * org-latex.el (org-export-latex-minted): Document pygments
21680         dependency.
21682 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21684         * org-mobile.el (org-mobile-create-index-file): Encrypt the index
21685         file if encryption has been turned on.
21686         (org-mobile-copy-agenda-files): Avoid double encryption of
21687         `mobileorg.org'.
21689 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21691         * org-exp.el (org-export-latex-minted-with-line-numbers):
21692         Ensure that variable is declared.
21694 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21696         * ob-python.el (org-src-preserve-indentation): Fix compiler
21697         warning.
21699 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21701         * org-exp.el (org-export-format-source-code-or-example):
21702         Latex formatting of source code blocks using the minted package
21703         (org-export-plist-vars): Add :latex-minted property
21704         (org-export-latex-minted): Ensure variable is defined
21705         (org-export-latex-minted-langs): Ensure variable is defined.
21707 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21709         * org-src.el (org-edit-src-code): Use `org-region-active-p'.
21711 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21713         * ob-tangle.el (org-babel-spec-to-string): Whitespace changes.
21715 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21717         * ob-tangle.el (org-babel-spec-to-string): Don't trim whitespace
21718         when `org-src-preserve-indentation' is non-nil.
21720 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21722         * ob-lob.el (org-babel-lob-ingest): Provide message stating number
21723         of blocks added to Library of Babel.
21725 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21727         * ob-lob.el (org-babel-lob-ingest): Check for nil source block
21728         name.
21730 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21732         * org-beamer.el (org-beamer-place-default-actions-for-lists):
21733         Fix typo in regexp.
21735 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21737         * org-list.el (org-toggle-checkbox): Avoid some boundary error
21738         when inserting a checkbox in an empty last item of a list.
21740 2010-11-11  David Maus  <dmaus@ictsoc.de>
21742         * org-gnus.el (org-gnus-nnimap-query-article-no-from-file):
21743         Query article number from file is nil by default.
21745 2010-11-11  Stephen Eglen  <S.J.Eglen@damtp.cam.ac.uk>
21747         * org-beamer.el (org-beamer-amend-header): Fix typo in docstring.
21749 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21751         * org-capture.el (org-capture-place-entry): Move to `beg' before
21752         searching for `%?'.
21754 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21756         * org.el (org-format-latex): Fix mathjax treatment of single
21757         letters in between dollars.
21759 2010-11-11  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
21761         * org-latex.el (org-latex-to-pdf-process): Add a third pdflatex
21762         run.
21764 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21766         * org.el (org-blank-before-new-entry): Improve docstring.
21768 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21770         * org-mobile.el (org-mobile-force-id-on-agenda-items):
21771         Fix docstring.
21772         (org-mobile-write-agenda-for-mobile): Use outline path if we do
21773         not have an ID and are not allowed to make one.
21774         (org-mobile-get-outline-path-link): New function.
21776 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21778         * org-mobile.el (org-mobile-copy-agenda-files): Encrypt the empty
21779         file.
21780         (org-mobile-write-agenda-for-mobile): Use the right name, even if
21781         the file get encrypted.
21782         (org-mobile-move-capture): Only delete tempfile if it does exist.
21784 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21786         * ob.el (org-babel-number-p): Fix documentation string.
21788 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21790         * ob-tangle.el (org-babel-tangle-collect-blocks): Accepting
21791         "tangle" as a positive argument for the :noweb header argument
21792         during tangling.
21794 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21796         * ob-exp.el (org-babel-exp-src-blocks): Fix export when headings
21797         have links, with tests.
21799 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21801         * org-latex.el (org-latex-to-pdf-process): Use texi2dvi if
21802         available.
21803         (org-export-latex-get-error): New function.
21804         (org-export-as-pdf): Give an indication of the errors that
21805         happened during processing.
21807 2010-11-11  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>
21809         * org-exp.el (org-export-language-setup): Fix Polish entries.
21811 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21813         * org.el (org-set-tags): Allow comma as a separator when
21814         specifying tags at the completion interface.
21815         (org-tags-completion-function): Allow comma as a separator when
21816         specifying tags at the completion interface.
21818 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21820         * ob-exp.el (org-babel-exp-src-blocks): Don't jump back to
21821         export-file if exporting from a buffer which is not visiting a
21822         file.
21824 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21826         * ob-exp.el (org-babel-exp-src-blocks): Only append "::" to a file
21827         name in link construction if there is a heading to follow it.
21829 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21831         * org-html.el (org-export-html-inline-image-extensions): Add "svg"
21832         as an allowed extension.
21834 2010-11-11  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
21836         * org-agenda.el (org-agenda-add-time-grid-maybe): Pad clock times
21837         with zeros.  Start applying face earlier.
21839 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21841         * ob.el (or): Don't create org-babel-temporary-directory in batch
21842         as it won't be removed by emacs-kill-hook
21843         (org-babel-remove-temporary-directory): Only try to remove this
21844         directory if it exists.
21846 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21848         * ob.el (org-babel-temporary-directory): Fixing byte-compilation
21849         warning in ob.el.
21851 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21853         * ob-tangle.el (org-babel-tangle): Now sharing the file name in
21854         the tangling message.
21856 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21858         * ob.el (org-babel-load-languages): Fixes compiler warning.
21860 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21862         * ob-plantuml.el (org-babel-execute:plantuml): Fixes bug with svg
21863         output.
21865 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21867         * org-ascii.el (org-export-as-ascii): Use the correct match group.
21869 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21871         * ob.el (boundp): Uncommenting defvar form for
21872         org-babel-temporary-directory
21873         (org-babel-temp-file): Now using the org-babel-temporary-directory
21874         for holding new babel temporary files
21875         (org-babel-remove-temporary-directory): Removes the babel temp dir
21876         when Emacs shutsdown
21877         (kill-emacs-hook): Now removing the babel temp dir on Emacs
21878         shutdown.
21880 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21882         * org-capture.el (org-capture-fill-template): Initialize history
21883         variable.
21885 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21887         * org-src.el (org-edit-src-code): Don't move point when generating
21888         edit buffer.
21890 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21892         * org-src.el (org-edit-src-code): Deal with point being in
21893         #+end_src line.
21895 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21897         * org-table.el (org-table-current-column): Add interactive to turn
21898         this into a command.
21900 2010-11-11  Bernt Hansen  <bernt@norang.ca>
21902         * org.el (org-insert-heading): Run org-insert-heading-hook when
21903         creating the first heading in a file.
21905 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21907         * org.el (org-startup-with-inline-images): New option.
21908         (org-startup-options): Add new keywords inlineimages and
21909         noinlineimages.
21910         (org-mode): Inline images when this has been configured.
21912 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21914         * ob.el (org-babel-get-src-block-info): Remove optional
21915         HEADER-VARS-ONLY argument; further simplification.
21917 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21919         * ob.el (org-babel-confirm-evaluate): Fix bug causing extra
21920         prompt in ob-confirm-evaluate in some cases.
21922 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21924         * ob.el (org-babel-demarcate-block): Visible region and completion
21925         during language selection.
21927 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21929         * ob.el (org-babel-get-src-block-info): Remove comment.
21931 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21933         * ob.el (org-babel-get-src-block-info): Simplify function.
21935 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21937         * ob.el (org-babel-get-src-block-info): Form info list correctly
21938         when parenthesized arguments are missing.
21940 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21942         * ob-exp.el (org-export-babel-evaluate): Docstring typo
21943         (org-babel-exp-code): Docstring typo.
21945 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21947         * org-mobile.el (org-mobile-encryption-password):
21948         Improve docstring.
21949         (org-mobile-encryption-password-session): New variable.
21950         (org-mobile-encryption-password): New function.
21951         (org-mobile-check-setup):
21952         (org-mobile-encrypt-file):
21953         (org-mobile-decrypt-file): Use the new function.
21955 2010-11-11  David Maus  <dmaus@ictsoc.de>
21957         * org-capture.el (org-capture-place-template): Widen to remove
21958         possible restrictions in target buffer.
21960 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>
21962         * org.el (org-speed-command-hook): Add org-speed-command-hook
21963         (org-babel-speed-command-hook): Hook for Babel's speed commands.
21965 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21967         * ob.el (org-babel-execute-buffer): Re-implement using
21968         `org-babel-map-src-blocks'.
21970 2010-11-11  David Maus  <dmaus@ictsoc.de>
21972         * org-capture.el (org-capture-templates): Update doc string with
21973         new message date related escapes.
21975 2010-11-11  David Maus  <dmaus@ictsoc.de>
21977         * org-wl.el (org-wl-store-link-message): Define properties %:date)
21978         (%:date-timestamp, and %:date-timestamp-inactive.
21980         * org-mew.el (org-mew-store-link): Dto.
21982         * org-mhe.el (org-mhe-store-link): Dto.
21984         * org-rmail.el (org-rmail-store-link): Dto.
21986         * org-vm.el (org-vm-store-link): Dto.
21988 2010-11-11  David Maus  <dmaus@ictsoc.de>
21990         * org-wl.el (org-wl-message-field): Always get literal content of
21991         header fields.
21993 2010-11-11  David Maus  <dmaus@ictsoc.de>
21995         * org-gnus.el (org-gnus-store-link): Define properties
21996         %:date-timestamp and %:date-timestamp-inactive.
21998 2010-11-11  David Maus  <dmaus@ictsoc.de>
22000         * org-gnus.el (org-gnus-store-link): Handle empty date header
22001         field.
22003 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
22005         * org.el (org-speed-command-hook): New.  Hook for installing
22006         additional speed commands.  Use this for enabling speed commands on
22007         src blocks.
22008         (org-speed-command-default-hook): The default hook for
22009         org-speed-command-hook.  Factored out from org-self-insert-command
22010         and mimics existing behavior.
22011         (org-self-insert-command): Modify to use org-speed-command-hook.
22013 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22015         * org-agenda.el (org-search-view): Recover spaces in search words
22016         if they were escaped with \ or inside a regexp.
22018 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22020         * org.el (org-additional-option-like-keywords): Add PROPERTIES to
22021         the list of completable meta line words.
22022         (org-complete): Complete property names after #+PROPERTY.
22024 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22026         * ob-python.el (org-babel-python-evaluate-session): Make temp file
22027         names consistent.
22029 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22031         * ob-clojure.el (org-babel-clojure-evaluate-external-process):
22032         Delete extra format argument.
22034 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22036         * ob-org.el (org-babel-org-export): Typo in docstring.
22038 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22040         * ob-sh.el (org-babel-sh-evaluate): Remove unused temporary file
22041         variable.
22043 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22045         * ob-scheme.el (org-babel-execute:scheme): Alter temp file name.
22047 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22049         * ob.el (org-babel-process-file-name): New function
22050         (org-babel-maybe-remote-file): Delete function.
22052 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22054         * ob-C.el (org-babel-C-execute): Remove unused variable.
22056 2010-11-11  David Maus  <dmaus@ictsoc.de>
22058         * org.el (org-make-link-string): Prevent superfluous colon.
22060 2010-11-11  David Maus  <dmaus@ictsoc.de>
22062         * org.el (org-make-org-heading-search-string): Leave headline
22063         intact.
22065 2010-11-11  David Maus  <dmaus@ictsoc.de>
22067         * org.el (org-make-link-string): Don't escape characters in link
22068         type.
22070 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22072         * org-capture.el (org-capture-templates): Update docstring to
22073         advertise %:org-date.
22075 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22077         * ob-dot.el (org-babel-execute:dot): Automatically specifies
22078         "-T<ext>" based on file name extension.
22080 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22082         * ob-org.el (org-babel-org-export): Raise error on nested export
22083         call.
22085 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22087         * ob-plantuml.el (org-babel-execute:plantuml): Support for svg
22088         output files.
22090 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22092         * ob.el (org-babel-demarcate-block): Better initialization of
22093         stars.
22095 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22097         * org-src.el (org-src-tab-acts-natively): Add customize interface.
22099 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22101         * org-src.el (org-src-strip-leading-and-trailing-blank-lines):
22102         New variable allowing prevention of automatic stripping of leading and
22103         trailing blank lines when exiting edit buffer.
22104         (org-edit-src-exit): Respect value of
22105         `org-src-strip-leading-and-trailing-blank-lines'
22106         (org-src-native-tab-command-maybe):
22107         Bind `org-src-strip-leading-and-trailing-blank-lines' to nil during
22108         this function.
22110 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22112         * org-src.el (org-edit-src-code): If mark was inside code block
22113         then code edit buffer inherits mark with active region.
22115 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22117         * ob.el (org-babel-demarcate-block): Fix compiler warnings.
22119 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22121         * ob.el (org-babel-demarcate-block): Better handling of empty
22122         space around demarcated area.
22124 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22126         * org-agenda.el (org-agenda-goto-date): Turn off prefer future for
22127         this command.
22129 2010-11-11  David Maus  <dmaus@ictsoc.de>
22131         * org-gnus.el (org-gnus-open-nntp): New function.
22133 2010-11-11  David Maus  <dmaus@ictsoc.de>
22135         * org-wl.el (org-wl-open-nntp): New function.
22137 2010-11-11  David Maus  <dmaus@ictsoc.de>
22139         * org-wl.el (org-wl-open): Open message by numeric reference if
22140         article part is not a message id.
22142 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22144         * org-agenda.el (org-agenda-filter-apply): Move cursor to a
22145         visible line.
22147 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22149         * ob.el (org-babel-demarcate-block): Interactive demarcation of
22150         code blocks.
22152         * ob-keys.el (org-babel-key-bindings): Key bindings for block
22153         demarcation.
22155 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22157         * org.el (org-link-types): Add the "message" link type.
22159 2010-11-11  David Maus  <dmaus@ictsoc.de>
22161         * org.el (org-link-types): Add 'message:' link type to default
22162         link types.
22164 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22166         * org-gnus.el (org-gnus-store-link): Add the :date property to
22167         gnus links, allowing the use of %:date in capture templates.
22169 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22171         * org-list.el (org-cycle-list-bullet): Follow order of bullets
22172         indicated in doc-string.
22174         * org-list.el (org-list-bottom-point-with-indent): List is ended
22175         when a line is less indented that the last item, not the less
22176         indented item.
22178 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22180         * ob-exp.el (org-babel-exp-src-blocks): Now switching back to the
22181         original file before resolving code block parameters to ensure
22182         headline and buffer wide parameters are taken into consideration
22183         when only a narrowed portion of the file is exported.
22185 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22187         * org.el (org-forward-same-level): Fix docstring.
22189 2010-11-11  Sebastian Rose  <sebastian_rose@gmx.de>
22191         * org-publish.el (org-publish-attachment): Put the attachment into
22192         the right directory.
22194 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
22196         * org.el (org-goto-first-child): New command.
22198 2010-11-11  Matt Lundin  <mdl@imapmail.org>
22200         * org-agenda.el (org-prepare-agenda): If the agenda is called from
22201         within the agenda via an elisp link, such as
22202         [[elisp:(org-agenda-list)]], org-prepare-agenda erases the buffer
22203         of the file containing the link, since that buffer is current
22204         during org-prepare agenda (due to a with-current-buffer in
22205         org-agenda-open-link).  An additional test now ensures that the
22206         agenda buffer is in fact current when the buffer is erased and
22207         local variables for the agenda are set.
22209 2010-11-11  David Maus  <dmaus@ictsoc.de>  (tiny change)
22211         * org-exp.el (org-infile-export-plist): Define property macro.
22213 2010-11-11  David Maus  <dmaus@ictsoc.de>
22215         * org-mhe.el (org-mhe-get-header): Remove possible folding white
22216         space in message header field.
22218 2010-11-11  David Maus  <dmaus@ictsoc.de>
22220         * org-feed.el (org-feed): Fix typo in customization group :tag
22221         property.
22223 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22225         * org-latex.el (org-export-latex-tag-markup): New option.
22226         (org-export-latex-keywords-maybe):
22227         Use `org-export-latex-tag-markup'.
22229 2010-11-11  Rémi Vanicat  <vanicat@debian.org>  (tiny change)
22231         * org-icalendar.el (org-icalendar-use-UTC-date-time): New option.
22232         (org-ical-ts-to-string): Use UTC time when requested.
22234 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
22236         * org-html.el (org-html-cvt-org-as-html): Do not convert protocol
22237         from 'file' to 'http'.
22239 2010-11-11  David Maus  <dmaus@ictsoc.de>
22241         * org.el (org-store-log-note): Fix wrong usage
22242         of`org-adapt-indentation'.
22244 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22246         * org.el (org-skip-over-state-notes): Do not compute bottom point
22247         at each item.
22249         * org-mouse.el (org-mouse-for-each-item): Use `org-apply-on-list'
22250         instead of moving to each item.
22252 2010-11-11  David Maus  <dmaus@ictsoc.de>
22254         * org-capture.el (org-capture-templates): Small fix in doc string.
22256 2010-11-11  aaa bbb  <dominik@powerbook-g4-12-van-aaa-bbb.local>
22258         * org-archive.el (org-get-local-archive-location):
22259         Use `org-archive-location' as default.
22261 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22263         * ob-C.el (org): No longer requires org.
22265         * ob-ledger.el (org): No longer requires org.
22267 2010-11-11  David Maus  <dmaus@ictsoc.de>
22269         * org.el (org-priority): Save match data before call to
22270         `read-char-exclusive'.
22272 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22274         * org-list.el (org-list-to-generic): Descriptions labels can be
22275         any suit of symbols, and will end at double colons.
22277 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22279         * org.el (org-indent-line-function): Indent past [@num] and
22280         [@start:num], consistently with what is already done with
22281         checkboxes.
22283 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22285         * org.el (org-store-log-note): Indent new notes to the right
22286         column.  Also take `org-list-two-spaces-after-bullet-regexp' into
22287         consideration when creating the note.
22289 2010-11-11  David Maus  <dmaus@ictsoc.de>
22291         * org-gnus.el (nnimap-group-overview-filename): Declare function
22292         to silence byte compiler.
22294 2010-11-11  David Maus  <dmaus@ictsoc.de>
22296         * org-gnus.el (org-gnus-nnimap-query-article-no-from-file):
22297         New customization variable.
22298         (org-gnus-nnimap-cached-article-number): New function.
22299         (org-gnus-follow-link): Try to fetch cached article number of
22300         message-id.
22302 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22304         * ob-org.el (org-babel-org-default-header): Used to insert a dummy
22305         first line into code blocks before export so that the first line
22306         is not interpreted as a title
22307         (org-babel-org-export): Use new dummy code block prefix.
22309 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22311         * ob.el (org-babel-insert-result): No longer throws error when
22312         inserting an empty result.
22314 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22316         * ob-tangle.el: Autoload org-babel-tangle-lang-exts from ob-tangle.
22318 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22320         * ob.el (org-babel-do-in-edit-buffer):
22321         Use `org-babel-where-is-src-block-head' to test for source block at
22322         point.
22324 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22326         * ob-keys.el (org-babel-key-bindings): Adding key-binding for
22327         `org-babel-goto-src-block-head'.
22329         * ob.el (org-babel-goto-src-block-head): Jump to the head of the
22330         current code block.
22332 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22334         * ob.el (org-babel-next-src-block): Now raising more informative
22335         error when no further code blocks can be found.
22336         (org-babel-previous-src-block): Now raising more informative error
22337         when no previous code blocks can be found.
22339 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22341         * org-exp-blocks.el
22342         (org-export-preprocess-after-include-files-hook): Now using this
22343         hook instead of `org-export-preprocess-hook'.
22345 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22347         * ob-plantuml.el (org-babel-execute:plantuml): ????
22349 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22351         * ob-python.el (org-babel-python-evaluate): Refactor as call to
22352         either `org-babel-python-evaluate-external-process' or
22353         `org-babel-python-evaluate-session'.
22354         (org-babel-python-evaluate-external-process): New function to
22355         handle evaluation in external process.
22356         (org-babel-python-evaluate-session): New function to handle
22357         evaluation in emacs inferior process.
22359 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22361         * ob-org.el (org-babel-execute:org): Evaluates body to latex ascii
22362         or html respecting :results header arg
22363         (org-babel-org-export): Exports a string of text to an output
22364         format.
22366 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22368         * ob.el (org-babel-insert-result): Remove existing results when
22369         nil results are returned.
22371 2010-11-11  David Maus  <dmaus@ictsoc.de>
22373         * org-ascii.el (org-export-as-ascii): Bind and set link path for
22374         link type specific markup function.
22376 2010-11-11  David Maus  <dmaus@ictsoc.de>
22378         * org-clock.el (notifications-notify): Properly declare function
22379         to silence byte compiler.
22381 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22383         * org-list.el (org-insert-item): Check invisibility of point at a
22384         meaningful location.
22386 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22388         * org-list.el (org-list-insert-item-generic): Updating checkboxes
22389         can modify bottom point of a list, so make it a marker before
22390         calling `org-update-checkbox-count-maybe'.
22392 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22394         * org.el (org-src-fontify-natively): Set to nil by default.
22395         Supply customize interface.
22397 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22399         * org-ascii.el (org-export-as-ascii): Fix bug in ASCII export: use
22400         `org-bracket-link-analytic-regexp++' to match the link type.
22402 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22404         * ob-tangle.el (org-babel-tangle-collect-blocks): Rename `lang' to
22405         `language'.
22407 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22409         * ob-tangle.el (org-babel-tangle-comment-format-beg):
22410         Format string specifying the link-comment preceding a code block
22411         (org-babel-tangle-comment-format-end): Format string specifying
22412         the link-comment following a code block
22413         (org-babel-tangle-collect-blocks): Storing more information in the
22414         spec of a tangling code block
22415         (org-babel-spec-to-string): Now makes use of customizable
22416         link-comment formats.
22418 2010-11-11  Achim Gratz  <Stromeko@stromeko.net>  (tiny change)
22420         * org.el (org-delete-backward-char): Check for nil overwrite-mode
22421         before inserting spaces.
22423 2010-11-11  David Maus  <dmaus@ictsoc.de>
22425         * org-icalendar.el (org-print-icalendar-entries): Exclude tags
22426         from summary of non-TODO ical entries.
22427         (org-print-icalendar-entries): Use `org-complex-heading-regexp' to
22428         exclude tags from summary of TODO ical entries.
22430 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22432         * ob.el (org-babel-map-src-blocks): Now exposes much information
22433         about the code block in the form of let-bound local variables.
22435 2010-11-11  David Maus  <dmaus@ictsoc.de>
22437         * org-list.el (org-outline-regexp, org-ts-regexp)
22438         (org-ts-regexp-both, org-in-regexps-block-p)
22439         (org-level-increment, org-at-heading-p)
22440         (outline-previous-heading, org-icompleting-read)
22441         (org-time-string-to-seconds): Declare to fix compiler warning.
22443 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22445         * org-list.el (org-toggle-checkbox): Ignore items in drawers when
22446         used from an heading.  Send an error when no item is in region.
22448 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22450         * ob.el (org-babel-do-in-edit-buffer): Use unwind-protect to
22451         ensure that edit buffer is exited.
22453 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22455         * ob-tangle.el (org-babel-tangle-pad-newline): Can be used to
22456         control the amount of extra newlines inserted into tangled code
22457         (org-babel-tangle-collect-blocks): Now conditionally collects
22458         information to be used for "org" style comments
22459         (org-babel-spec-to-string): Now inserts "org" style comments, and
22460         obeys the newline configuration variable when inserting whitespace.
22462 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22464         * ob-tangle.el (org-babel-pre-tangle-hook): Defines new tangle
22465         hook
22466         (org-babel-tangle): Calls new tangle hook.
22468 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22470         * org-capture.el (org-capture): Compute the length of the correct
22471         string when removing properties.
22473 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22475         * ob-plantuml.el (org-babel-execute:plantuml): Now expanding file
22476         names before shell quoting.
22478 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22480         * org-src.el (org-src-tab-indents-natively): New variable
22481         controlling whether language-native TAB action should be performed
22482         (org-src-native-tab-command-maybe): New function to perform
22483         language-native TAB action.
22484         (org-tab-first-hook): Add `org-src-native-tab-command-maybe'.
22486 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22488         * ob-plantuml.el (org-babel-execute:plantuml): Explicitly check
22489         `org-plantuml-jar-path' before use.
22491 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22493         * org-src.el (org-src-font-lock-fontify-block): Re-use hidden
22494         language major mode buffers during fontification.
22496 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22498         * org.el (org-fontify-meta-lines-and-blocks): Alter main regexp to
22499         match code blocks with switches and header args.
22500         Call `org-src-font-lock-fontify-block' for automatic fontification of
22501         code in code blocks, controlled by variable
22502         `org-src-fontify-natively'.
22503         (org-src-fontify-natively): New variable.
22505 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22507         * ob-ruby.el (org-babel-expand-body:ruby): Remove requirement of
22508         inf-ruby.
22510 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
22512         * org-html.el (org-html-make-link): (expand-file-name) removes
22513         one "/" from "///path-to-file", so add one.  Anything other than
22514         'file' type should be exported along with the type.
22516 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
22518         * org.el (org-insert-subheading): Fix compiler warning
22519         (org-insert-todo-subheading): Fix compiler warning.
22521 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22523         * org-capture.el (org-capture): Remove read-only text properties
22524         from capture text.
22525         (org-capture-set-target-location): Throw an error if file+headline
22526         target does not point into a file which is in Org mode.
22528 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22530         * ob.el (org-babel-map-src-blocks): Prefer `when' to `if'.
22532 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22534         * org-src.el (org-edit-src-code): Improve docstring.
22536 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22538         * ob.el (org-babel-execute-src-block): Document prefix argument in
22539         docstring.
22541 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22543         * ob-ditaa.el (org-babel-execute:ditaa): Now expanding
22544         org-ditaa-jar-path with expand-file-name.
22546 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22548         * ob.el (org-babel-execute-subtree): Pass prefix arg through to
22549         `org-babel-execute-src-block'.
22551 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22553         * org-ascii.el (org-export-ascii-preprocess): Allow [@start:x] and
22554         [@x] syntax for list numbering.
22556 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22558         * org.el (org-indent-line-function): Indentation of source block
22559         is left to `org-edit-src-exit' and shouldn't be modified by
22560         `org-indent-line-function'.  Indentation of others blocks should be
22561         the same as the #+begin line.
22563 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22565         * ob.el (org-babel-map-src-blocks): If FILE is nil evaluate BODY
22566         forms on source blocks in current buffer; restore point in current
22567         buffer.
22569 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22571         * org-list.el (org-list-struct): Accept list boundaries as an
22572         argument in order to avoid computing `org-list-top-point' and
22573         `org-list-bottom-point' twice when indenting.
22575 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22577         * org-list.el (org-list-ending-method): Default value is now
22578         `both', to ensure maximum compatibility before previous
22579         implementation.
22581 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22583         * org-list.el (org-list-in-item-p-with-indent): Test if first line
22584         is the item beginning.
22586         * org-list.el (org-list-top-point-with-indent): Test if first line
22587         is a valid list beginning.
22589 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22591         * org-list.el (org-list-ending-method): New customizable variable
22592         to tell Org Mode how lists end.  See docstring.
22594 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22596         * org-list.el (org-indent-item-tree): Shifting step of top-level
22597         item depends on `org-level-increment'.
22599 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22601         * org.el (org-indent-line-function): Indent first non blank line
22602         after a list according to current heading level.
22604 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22606         * org-docbook.el (org-export-as-docbook): Remove check for
22607         indentation on lines that do not start with a list bullet.
22609         * org-html.el (org-export-as-html): Same thing.
22611 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22613         * org-list.el (org-list-bottom-point): Take into consideration
22614         that bound of search can be before true ending of the list.
22616 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22618         * org-list.el (org-list-struct-apply-struct): No longer shift
22619         item's body twice: one after replacing bullet and one after
22620         changing indentation.
22622 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22624         * org-list.el (org-list-struct-indent): Add code to replace
22625         bullets if needed when indenting.
22627 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22629         * org-list.el (org-list-insert-item-generic): A single item
22630         already counting blank lines in his body should be separated with
22631         the next one by a blank line.  Moreover, if user already provided
22632         blank lines, follow his wishes.
22634 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22636         * org-list.el (org-indent-item-tree): When moving top item of a
22637         *-list to column 0, only the first item had its bullet changed to
22638         -.  It now changes all items of the top-level list, as expected.
22640 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22642         * org-list.el (org-toggle-checkbox): Go to beginning of line
22643         before processing.
22645 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22647         * org-list.el (org-list-struct-apply-struct): Check if ancestor
22648         exists.
22650 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22652         * org-list.el (org-renumber-ordered-list): Check for [@start:x] is
22653         done at each item.
22655 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22657         * org-list.el: Removed unused variable
22658         `org-suppress-item-indentation'.
22660         * org-list.el (org-renumber-ordered-list): Skip item if bullet
22661         number is already good.
22663 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22665         * org-list.el (org-list-automatic-rules): Doc-string reflects this
22666         change.
22668         * org-list.el (org-indent-item-tree): Prevent whole list from
22669         being moved when user is not moving subtree.
22670         Thus `org-cycle-item-indentation' will not allow to move the list.
22672 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22674         * org-list.el (org-indent-item-tree): Remove region code.  It was
22675         prone to errors and undocumented.
22677         * org-list.el (org-item-indent-positions): Better heuristics to
22678         determine what bullet the item will have when demoted.
22680 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22682         * org-list.el (org-list-bullet-string): First check if
22683         `org-list-two-spaces-after-bullet-regexp' isn't nil.
22685 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22687         * org-list.el (org-list-bullet-string): Do not modify match-data.
22689         * org.el (org-toggle-item): Now working again when changing list
22690         items into plain text.  Moreover take into consideration
22691         `org-list-two-spaces-after-bullet-regexp'.
22693 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22695         * org-list.el (org-indent-item-tree): Remove unnecessary bullets
22696         fix, and improved heuristics to determine bullet when indenting.
22698         * org-list.el (org-item-indent-positions): Function now returns
22699         sane results when there are two lists separated with blank lines
22700         only.
22702 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22704         * org-docbook.el (org-export-as-docbook): Use override="num" in
22705         any listitem matching [@start:num].
22707         * org-html.el (org-export-as-html): Use value="num" in any li
22708         matching [@start:num].
22710 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22712         * org.el (org-set-font-lock-defaults): Correct fontification for
22713         checkboxes found after [@start:?].
22715         * org-list.el (org-list-at-regexp-after-bullet-p): Skip any
22716         [@start:?]  when looking at a regex after a bullet.
22718         * org-list.el (org-toggle-checkbox): Correct insertion of
22719         checkboxes when there is already a [@start:?] in the item.
22721         * org-list.el (org-checkbox-blocked-p): Properly check if there's
22722         an unchecked item before.
22724         * org-list.el (org-list-parse-list): Function handles items having
22725         both a counter and a checkbox.
22727 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22729         * org-list.el (org-cycle-item-indentation): Org-tab-ind-state
22730         stores both indentation and bullet when cycle started.
22732 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22734         * org-list.el: `org-at-description-p' renamed to
22735         `org-at-item-description-p', `org-first-list-item-p' renamed to
22736         `org-list-first-item-p', `org-end-of-item-text-before-children'
22737         renamed to `org-end-of-item-or-at-child'.
22739 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22741         * org.el (org-ctrl-c-ctrl-c): Call `org-fix-bullet-type' instead
22742         of `org-maybe-renumber-ordered-list' and `org-fix-bullet-type'
22743         before toggling a checkbox.
22745 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22747         * org-list.el (org-list-bullet-string): New function returning
22748         bullet concatenated with an appropriate number of white spaces.
22750         * org-list.el (org-list-insert-item-generic): Insert the right
22751         bullet, with help of `org-list-bullet-string'.
22753         * org-list.el (org-indent-item-tree):
22754         Use `org-list-bullet-string'.
22756         * org-list.el (org-fix-bullet-type): Use `org-list-bullet-string'.
22758         * org-list.el (org-toggle-checkbox): Send an error when
22759         `org-toggle-checkbox' is trying to insert a checkbox at a
22760         description item.
22762         * org-list.el (org-item-re): Modify regexp so it can catch
22763         correct number of white space before item body.
22765         * org-list.el (org-list-at-regexp-after-bullet-p): Take into
22766         consideration new `org-item-re'.
22768 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22770         * org-list.el (org-list-insert-item-generic): The second item in a
22771         list will be separated from its predecessor with the number of
22772         blank lines separating the first item from its parent, if any, or
22773         no blank line.
22775 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22777         * org-list.el (org-indent-item-tree): Fix and reorder every list
22778         and sublist, from parent of list that has moved if indenting, or
22779         from list at point if outdenting.
22781 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22783         * org-list.el (org-indent-item-tree): Try to keep relative
22784         position on line.  It can't if point is in white spaces before
22785         bullet because mixed tabs and spaces make some columns
22786         unattainable.
22788 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22790         * org-list.el (org-cycle-item-indentation): Cycle when the whole
22791         item only contains bullet and maybe a checkbox.  Previously, TAB
22792         would cycle when the first line of the item was blank.
22794 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22796         * org-list.el (org-cycle-item-indentation): Allow a point just
22797         after a description item or a checkboxed item to start cycling.
22799 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22801         * org-list.el (org-cycle-list-bullet):
22802         Check `org-plain-list-ordered-item-terminator' before allowing 1. or 1)
22803         as valid bullets when cycling.
22805 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22807         * org-list.el (org-cycle-item-indentation): Do return t if and
22808         only if cycling is possible and succeded.
22810 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22812         * org-list.el (org-indent-item-tree): When outdenting a subtree,
22813         the last item shouldn't have a children.
22815 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22817         * org-list.el (org-cycle-item-indentation): Cycling should play
22818         nicely with indent rule in `org-list-automatic-rules'.
22820 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22822         * org-list.el (org-indent-item-tree): If indent rule is activated,
22823         it should be impossible to outdent an item having children without
22824         moving its subtree.  Improved reordering of lists modified by
22825         cycling indentation.
22827 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22829         * org-list.el (org-maybe-renumber-ordered-list): Remove call for
22830         `org-fix-bullet-type' to prevent infinite loop, and some checks
22831         already done in `org-renumber-ordered-list'.
22833         * org-list.el (org-fix-bullet-type): Remove a check and call
22834         directly `org-maybe-renumber-ordered-list'.
22836 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22838         * org-list.el (org-indent-item-tree): It shouldn't be possible to
22839         indent the first item of a sublist (though outdent is possible) as
22840         it would break list's structure.
22842 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22844         * org-list.el (org-list-insert-item-generic): When local search
22845         doesn't help, search the list globally for blank lines.  Moreover,
22846         don't bother with new lists, and add 1 blank line.
22848 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22850         * org-capture.el (org-capture-place-item):
22851         Use `org-search-forward-unenclosed' and
22852         `org-search-backward-unenclosed' and new variable
22853         `org-item-beginning-re'.
22855         * org-list.el (org-item-beginning-re): Regexp matching beginning
22856         of an item.
22858 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22860         * org-list.el (org-cycle-list-bullet): Put back support for
22861         'previous argument.
22863 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22865         * org-list.el (org-in-item-p): Handle case when point is at an
22866         heading.
22868         * org-list.el (org-list-make-subtree): Add protection when used
22869         outside of list.
22871         * org-list.el (org-insert-item): Remove useless hack now
22872         `org-in-item-p' is fixed.
22874         * org-timer.el (org-timer-item): Remove useless hack now
22875         `org-in-item-p' is fixed.
22877 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22879         * org-list.el (org-cycle-list-bullet): Prevent description items
22880         from being numbered.  String argument is also recognized now, as
22881         long as it is a valid bullet.
22883 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22885         * org-list.el (org-indent-item-tree): Moving indentation of top
22886         list item will make the whole list move.
22888         * org-list.el (org-apply-on-list): Function is less sensitive to
22889         changes of indentation.
22891 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22893         * org-list.el (org-at-item-checkbox-p): Add whitespaces at the end
22894         of the regexp.
22896         * org-list.el (org-checkbox-blocked-p): Use new checkbox regexp.
22898         * org-list.el (org-cycle-item-indentation): Allow cycling
22899         description items and checkbox items.
22901         * org-list.el (org-toggle-checkbox): Use new checkbox regexp.
22903         * org-list.el (org-reset-checkbox-state-subtree): Use new checkbox
22904         regexp.
22906 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22908         * org-list.el (org-insert-item-internal): Guessing of blank lines
22909         number is made by looking at neighboring items, if any.
22911 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22913         * org-list.el (org-sort-list): Add the possibility to sort timer
22914         lists with the ?t or ?T options.
22916 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22918         * org-list.el (org-search-unenclosed-internal): New function to
22919         handle both `org-search-forward-unenclosed' and
22920         `org-search-backward-unenclosed'.
22922         * org-list.el (org-search-backward-unenclosed): Can send errors
22923         now.  Removed useless usage of COUNT.
22925         * org-list.el (org-search-forward-unenclosed): Can send errors
22926         now.  Removed useless usage of COUNT.
22928         * org-list.el (org-update-checkbox-count):
22929         Use `org-search-forward-unenclosed' and
22930         `org-search-backward-unenclosed' instead of `re-search-forward'
22931         and `re-search-backward'.
22933         * org-list.el (org-sort-list): Use `org-search-forward-unenclosed'
22934         and `org-search-backward-unenclosed' instead of
22935         `re-search-forward' and `re-search-backward'.
22937         * org-list.el (org-list-make-subtree):
22938         Use `org-search-forward-unenclosed' and
22939         `org-search-backward-unenclosed' instead of `re-search-forward'
22940         and `re-search-backward'.
22942 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22944         * org-list.el (org-insert-item-internal): Fixes the problem when
22945         point was before the first char of the item's body.
22947 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22949         * org-timer.el (org-timer-item): Refactoring.  Compute timer string
22950         before inserting it in the buffer.
22952         * org-timer.el (org-timer): Add an optional argument to return
22953         timer string instead of inserting it.
22955 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22957         * org-list.el (org-insert-item-internal): New function to handle
22958         positioning and contents of an item being inserted at a specific
22959         pos.  It is not possible anymore to split a term in a description
22960         list or a checkbox when inserting a new item.
22962         * org-list.el (org-insert-item): Refactored by using the new
22963         `org-insert-item-internal' function.
22965         * org-timer.el (org-timer-item): Refactored by using the new
22966         `org-insert-item-internal' function.
22968 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22970         * org-list.el (org-list-bottom-point): Be sure to check real
22971         ORG-OUTLINE-REGEXP and not outline-regexp, that might be modified.
22973         * org.el (org-cycle-internal-local): Cycle up to end of subtree or
22974         end of item if we are in a list.
22976 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22978         * org-list.el (org-insert-item): Move before any special block in
22979         a list prior to add a new item.
22981         * org-timer.el (org-timer-item): When in a timer list, insert a
22982         new timer item like `org-insert-item'.  If in another list, send an
22983         error.  Otherwise, start a new timer list.
22985 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22987         * org-list.el: Minor refactoring.
22989 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22991         * org-timer.el (org-timer-item): Insert description list item at
22992         the right column.
22994         * org-list.el (org-insert-item): Insert the right number of blank
22995         lines before a relative timer.
22997 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22999         * org-list.el (org-insert-item): Remove restriction on latex
23000         blocks.
23002 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23004         * org-list.el (org-search-backward-unenclosed): Do not stop in
23005         protected places.
23007         * org-list.el (org-search-forward-unenclosed): Do not stop in
23008         protected places.
23010         * org-latex.el (org-export-latex-lists): Use the fact that
23011         org-search-forward do not stop anymore at protected places.
23013 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23015         * org-list.el (org-search-backward-unenclosed): Do not prevent
23016         list items from being inside LaTeX blocks.
23018         * org-list.el (org-search-forward-unenclosed): Do not prevent list
23019         items from being inside LaTeX blocks.
23021 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23023         * org-list.el (org-in-item-p): Do not widen before checking if we
23024         are in item.
23026         * org-list.el (org-list-send-list): We cannot count on
23027         `org-list-top-point' and `org-list-bottom-point' before buffer is
23028         narrowed.  Find bounds of list otherwise.
23030 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23032         * org-list.el (org-list-end-regexp): By default, list ending is
23033         exactly 2 blank lines.
23035 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23037         * org-docbook.el (org-export-as-docbook): When we find an empty
23038         line, we do not need to check for
23039         `org-empty-line-terminates-plain-lists' because we would have
23040         found end-list marker before.
23042         * org-html.el (org-export-as-html): Same.
23044 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23046         * org-list.el (org-insert-item): Simplify count of blank lines to
23047         insert.
23049 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23051         * org-list.el (org-list-end-regexp): New customizable variable to
23052         define what string should end lists.
23054         * org-list.el (org-list-end-re): Function is now aware of
23055         `org-list-end-regexp'.
23057 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23059         * org-html.el (org-export-as-html): Code cleanup.
23061 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23063         * org-docbook.el (org-export-as-docbook): Properly close any open
23064         list when seeing ORG-LIST-END.  Removed any reference to now
23065         unneeded DIDCLOSE variable.
23067 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23069         * org-exp.el (org-export-mark-list-ending): Fix number of blank
23070         lines inserted after a list.
23072         * org-list.el (org-list-parse-list): Fix case when
23073         `org-list-end-re' would have an indentation greater than current
23074         list.
23076 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23078         * org-exp.el (org-export-mark-list-ending): Differentiate between
23079         export backends, and replace `org-list-end-re' by a blank line
23080         upon exporting.
23082 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23084         * org-html.el (org-export-as-html): Delete didclose and everything
23085         related to it, as it is no longer needed.
23087 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23089         * org-html.el (org-export-html-preprocess): Remove unneeded
23090         insertion of list end marker, as it is now handled by
23091         `org-export-mark-list-ending'.
23093         * org-html.el (org-export-as-html): Cleaner termination of lists.
23095         * org-exp.el (org-export-mark-list-ending): New function to insert
23096         specific markers at the end of lists when exporting to a backend
23097         not using `org-list-parse-list'.  This function is called early in
23098         `org-export-preprocess-string', while it is still able to
23099         recognize lists.
23101         * org-latex.el (org-export-latex-lists): Better search for
23102         lists.  It now only finds items not enclosed and not protected.
23104 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23106         * org-list.el: Replaced `re-search-forward' by
23107         `org-search-forward-unenclosed' where it made sense.
23109 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23111         * org-list.el (org-apply-to-list): Now a return value is handed at
23112         each new call of the function applied.
23114         * org-list.el (org-fix-bullet-type): Use the new
23115         `org-apply-to-list' format.
23117         * org-list.el (org-renumber-ordered-list): Use the new
23118         `org-apply-to-list' format.
23120 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23122         * org.el (org-in-regexps-block-p): Minor fix: limit wasn't
23123         correctly used.
23125         * org-list.el (org-search-forward-unenclosed): Better regexp used.
23127         * org-list.el (org-search-backward-unenclosed): Better regexp
23128         used.
23130 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23132         * org-list.el (org-sort-list): End-rec function was ill-defined.
23134 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23136         * org-list.el (org-search-forward-unenclosed): Fix behavior when
23137         last occurrence was enclosed.
23139         * org-list.el (org-search-backward-unenclosed): Fix behavior when
23140         last occurrence was enclosed.
23142 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23144         * org.el (org-in-regexps-block-p): Fix documentation.
23146 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23148         * org-list.el (org-search-backward-unenclosed): Fix block regexp.
23150         * org-list.el (org-search-forward-unenclosed): Fix block regexp.
23152         * org-list.el (org-list-parse-list): Minor fix.
23154 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23156         * org-list.el (org-list-parse-list): Delete `org-list-end-re' when
23157         called with t argument.
23159 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23161         * org-html.el (org-export-html-preprocess):
23162         Replace `org-list-end-re' by a blank line during pre-process.
23164 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23166         * org-list.el (org-list-bottom-point): No need for square brackets
23167         for `skip-chars-backward'.
23169 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23171         * org-html.el: Do not delete space between end of list and
23172         beginning of the following.
23174 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23176         * org-html.el: Preprocess buffer string and add ORG-LIST-END where
23177         needed.  Lists should not end before seeing this.
23179 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23181         * org-html.el: Notice end of lists.
23183 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23185         * org-list.el (org-list-parse-list): Better handling of
23186         restrictions when function is called on a list with sublists.
23188         * org-list.el (org-list-send-list): Find the true ending of the
23189         list being sent.
23191         * org-list.el (org-list-radio-list-templates): Templates are more
23192         specific to lists.
23194 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23196         * ob-js.el (org-babel-js-eoe): Indicate end of input
23197         (org-babel-execute:js): Support for session evaluation
23198         (org-babel-prep-session:js): Fleshed out definition
23199         (org-babel-js-initiate-session): Can initiate a session using
23200         mozrepl.
23202 2010-11-11  David Maus  <dmaus@ictsoc.de>
23204         * org.el (org-set-regexps-and-options): Protect escape char in
23205         `org-complex-heading-regexp-format'.
23207 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23209         * ob-scheme.el (org-babel-scheme-eoe): For marking the end of
23210         session-based evaluation
23211         (org-babel-execute:scheme): Now supports session-based evaluation
23212         (org-babel-prep-session:scheme): Now works and defines variables
23213         (org-babel-scheme-initiate-session): Now works using run-scheme
23214         from cmuscheme.
23216 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23218         * org.el (org-export-latex-default-packages-alist): Remove the
23219         t1enc package - this is already covered by fontenc.
23221 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23223         * ob.el (with-parsed-tramp-file-name): Declared
23224         (org-babel-tramp-localname): Ensure variable name exists locally.
23226 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23228         * ob.el (org-babel-temp-file): Don't use babel temporary directory
23229         in remote case; use make-temp-file with remote file name so that
23230         temp file is guaranteed not to exist previously on remote machine.
23231         (org-babel-tramp-localname): New function to return local name
23232         portion of possibly remote file specification.
23234 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23236         * ob-R.el (org-babel-R-write-object-command): New unified R
23237         command for writing results to file
23238         (org-babel-R-wrapper-method): Remove variable
23239         (org-babel-R-wrapper-lastvar): Remove variable
23240         (org-babel-R-evaluate-external-process): Use new R command
23241         (org-babel-R-evaluate-session): Use new R command.
23243 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23245         * ob-comint.el
23246         (org-babel-comint-eval-invisibly-and-wait-for-file): New function
23247         to evaluate code invisibly and block until output file exists.
23249         * ob-R.el (org-babel-R-evaluate-session): Use `ess-eval-buffer' to
23250         evaluate R code in session for :results value.  Write result to
23251         file invisibly using new function
23252         `org-babel-comint-eval-invisibly-and-wait-for-file'.
23254 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23256         * org-capture.el (org-capture-fill-template): Align tags after
23257         insertion.
23259 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23261         * org-exp.el (org-export-concatenate-multiline-emphasis):
23262         Ignore matches that start in a headline.
23264 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23266         * ob-plantuml.el (org-babel-execute:plantuml): Wrapping in-file
23267         and out-file in shell-quote-argument.
23269 2010-11-11  David Maus  <dmaus@ictsoc.de>
23271         * org-docview.el (org-docview-store-link): Use expanded macro to
23272         get current page.
23273         (doc-view-goto-page, image-mode-window-get): Declare functions for
23274         byte compiler.
23276 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23278         * ob-scheme.el: Very preliminary support for evaluating scheme
23279         code blocks.
23281         * org.el (org-babel-load-languages): Adding scheme.
23283 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23285         * ob.el (require): Remove circular (require 'org).
23287 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23289         * ob-R.el (ess-make-buffer-current): Declared.
23290         (ess-ask-for-ess-directory): Declared.
23291         (ess-local-process-name): Declared.
23292         * ob-latex.el (org-babel-latex-tex-to-pdf): Capturing free variable.
23294         * ob.el (org-edit-src-code): Fixing arguments.
23295         (org-edit-src-exit): Declared.
23296         (org-outline-overlay-data): Declared.
23297         (org-set-outline-overlay-data): Declared.
23299 2010-11-11  Glenn Morris  <rgm@gnu.org>
23301         * ob.el: Require org when compiling.
23302         (org-save-outline-visibility): Remove macro declaration.
23304         * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
23305         Remove unnecessary/macro declarations.
23307         * org-docview.el: Require doc-view when compiling.
23308         (doc-view-goto-page): Autoload rather than declaring.
23309         (doc-view-current-page): Remove macro declaration.
23311         * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
23312         (org-entry-get, org-table-import): Fix declarations.
23313         (org-match-string-no-properties): Remove declaration.
23315         * ob-sh.el (org-babel-comint-in-buffer)
23316         (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
23317         (org-babel-comint-with-output): Remove unnecessary declarations.
23319         * ob-R.el (orgtbl-to-tsv): Fix declaration.
23321         * org-list.el (org-entry-get): Fix declaration.
23323 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23325         * ob.el (org-babel-remove-temporary-directory): Remove explicit
23326         second argument.
23328 2010-11-11  Magnus Henoch  <magnus.henoch@gmail.com>  (tiny change)
23330         * org-clock.el (org-clocktable-steps): Allow ts and te to be day
23331         numbers.
23333 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23335         * org-macs.el (org-save-outline-visibility): Move from org.el.
23337 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23339         * ob-org.el (org-babel-default-header-args:org): Additional
23340         ":results silent" default header argument for org code blocks.
23342 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23344         * ob-exp.el (org-babel-exp-do-export): Remove hacky ":noeval",
23345         which is now an alias to ":eval no".
23347 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23349         * ob.el (org-babel-remove-temporary-directory): The version of
23350         `delete-directory' found in files.el can not be assumed to be
23351         present on all versions, so this copies the recursive behavior of
23352         that command in such a way that all calls to delete-directory will
23353         also work with the built-in internal C implementation of that
23354         function.  This is not overly difficult as all elements of the
23355         directory can be assumed to be files.
23357 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23359         * ob-C.el (org-babel-C-execute): Corrected arguments to
23360         org-babel-temp-file.
23362 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23364         * ob.el (org-babel-temporary-directory): Variable to hold the
23365         value of the Babel temporary directory.
23367 2010-11-11  Aditya Siram  <aditya.siram@gmail.com>
23369         * ob.el (org-babel-load-in-session): Expanding noweb references
23370         when appropriate.
23372 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23374         * org.el (org-make-link-regexps): Modify regexp of
23375         org-plain-link-re.
23377 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
23379         * org-habit.el (org-habit-parse-todo): Find sr-days only if
23380         scheduled-repeat is non nil.  Use 4th element of the list returned
23381         by (org-heading-components) as habit-entry.  Modify the error
23382         message to be more meaningful.
23384 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23386         * ob-latex.el (org-babel-execute:latex): Adding new ":fit" and
23387         ":border" header arguments which both use the "preview" latex
23388         package to fit the resulting PDF image to the figure.
23390 2010-11-11  David Maus  <dmaus@ictsoc.de>
23392         * org-wl.el (org-wl-store-link): Don't try to store link if point
23393         is at end of buffer.
23395 2010-11-11  Harri Kiiskinen  <harkiisk@gmail.com>
23397         * org-publish.el (org-publish-project-alist): Document the new
23398         body-only property.
23399         (org-publish-org-to): Use the body-only property.
23401 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
23403         * org.el (org-store-link): Return link when invoked
23404         non-interactively from an agenda buffer.
23406 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
23408         * org.el (org-store-link): Storing of links to headlines in
23409         indirect buffers was broken.  Fix it.
23411 2010-11-11  Aidan Kehoe  <kehoea@parhasard.net>
23413         * ob-tangle.el (org-babel-tangle): Change the MODE argument to
23414         #'set-file-modes to use integer, not character syntax, avoiding
23415         compile problems with recent XEmacs.
23417 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23419         * org-agenda.el (org-agenda-add-entry-text): Make sure we move
23420         forward even if there is no text to be added.
23422 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23424         * org.el (org-make-tags-matcher): Read "\\-" as "-" in the
23425         tags/property matcher.
23427 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23429         * org-exp.el (org-infile-export-plist): Bind case-fold-search to
23430         t.
23432 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23434         * org-agenda.el (org-agenda-with-point-at-orig-entry): New macro.
23436 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23438         * org-latex.el (org-export-latex-set-initial-vars):
23439         Bind `case-fold-search' to t around the search for special LaTeX setup.
23441         * org-beamer.el (org-beamer-after-initial-vars):
23442         Bind `case-fold-search' to t around the search for special BEAMER
23443         setup.
23445 2010-11-11  David Maus  <dmaus@ictsoc.de>
23447         * org-agenda.el (org-write-agenda): Delete PostScript file after
23448         creating conversion to PDF.
23450 2010-11-11  David Maus  <dmaus@ictsoc.de>
23452         * org-agenda.el (org-write-agenda): Move require statements to
23453         proper place in evaluated lisp expression.
23455 2010-11-11  David Maus  <dmaus@ictsoc.de>
23457         * org-agenda.el (org-write-agenda): Rename temporary buffer to
23458         remove dependency of `flet' macro.
23460 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23462         * ob-lob.el (org-babel-lob-get-info): Edit docstring.
23464 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23466         * ob-exp.el (org-babel-exp-lob-one-liners): Get parameter values
23467         from all standard sources when executing #+lob/#+call lines.
23469 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23471         * ob-R.el (org-babel-R-evaluate): Break the two branches into two
23472         separate functions
23473         (org-babel-R-evaluate-external-process): New function to handle
23474         external process evaluation
23475         (org-babel-R-evaluate-session): New function to handle session
23476         evaluation.
23478 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23480         * ob.el (org-babel-initiate-session): New function derived from
23481         previous `org-babel-switch-to-session'
23482         (org-babel-switch-to-session): Refactored to use new
23483         `org-babel-initiate-session'.
23485 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23487         * ob.el (org-babel-switch-to-session): Supply missing "P" argument
23488         to (interactive).
23490 2010-11-11  David Maus  <dmaus@ictsoc.de>
23492         * org-feed.el (org-feed-format-entry): Decode entry according to
23493         its character encoding.
23495 2010-11-11  David Maus  <dmaus@ictsoc.de>  (tiny change)
23497         * org-feed.el (xml-substitute-special): Declare function for byte
23498         compiler.
23499         (org-feed-unescape): Remove.
23500         (org-feed-parse-rss-entry, org-feed-parse-atom-entry):
23501         Use `xml-substitute-special' to unescape XML entities.
23503 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23505         * ob.el (org-babel-switch-to-session): Throw error if block if
23506         :session not in effect for the block.
23508 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23510         * org-table.el (org-table-create-with-table.el): Align table
23511         before converting.
23513 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23515         * ob.el (org-babel-do-in-edit-buffer): Suppress message and check
23516         that org-src buffer is current before attempting exit.
23518 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23520         * org-src.el (ob-comint): Require 'ob-comint
23521         (org-src-babel-info): Define variable.
23523 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23525         * ob.el (org-babel-do-in-edit-buffer): New macro to evaluate lisp
23526         in the language major mode edit buffer.
23527         (org-babel-do-key-sequence-in-edit-buffer): New function to call
23528         an arbitrary key sequence in the language major mode edit buffer.
23530         * org-src.el (org-src-switch-to-buffer): Add new allowed value
23531         'switch-invisibly for `org-src-window-setup'.
23533 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23535         * org-src.el (ob-keys): Require ob-keys, because `org-babel-map'
23536         is used.
23537         (org-src-do-at-code-block): New macro to evaluate lisp with point
23538         at the start of the Org code block containing the code in this
23539         edit buffer.
23540         (org-src-do-key-sequence-at-code-block): New function to execute
23541         command bound to key at the Org code block containing the code in
23542         this edit buffer.
23544 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23546         * ob-R.el (org-babel-R-associate-session): New function to
23547         associate R code edit buffers with ESS comint session.
23549 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23551         * org-src.el (org-edit-src-code): If at src block, store babel
23552         info as buffer local variable.
23553         (org-src-associate-babel-session): New function to associate code
23554         edit buffer with comint session.  Does nothing unless a
23555         language-specific function named
23556         `org-babel-LANG-associate-session' exists.
23557         (org-src-babel-configure-edit-buffer): New function to be called
23558         in `org-src-mode-hook'.
23559         (org-src-mode-hook): Add `org-src-babel-configure-edit-buffer' to
23560         hook.
23562 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23564         * ob.el (org-babel-switch-to-session-with-code): New function to
23565         generate split frame displaying edit buffer and session.
23567 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23569         * org.el (org-set-tags): Consider org-indent-mode when computing
23570         the tags column.
23572 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23574         * org-compat.el (org-looking-at-p): Only use looking-at-p when
23575         defined.
23577 2010-11-11  David Maus  <dmaus@ictsoc.de>
23579         * org-agenda.el (org-finalize-agenda-entries): Delete excluded
23580         lines directly after call to sorting filter function.
23582 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23584         * org.el (org-complex-heading-regexp-format): Document the
23585         variable.
23586         (org-get-refile-targets): Use `org-complex-heading-regexp-format'
23587         to make the regular expression for matching the headline.
23589 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23591         * org.el (org-refile-check-position): New function.
23592         (org-goto):
23593         (org-refile-get-location): Call `org-refile-check-position'.
23595 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23597         * ob-python.el (org-babel-python-initiate-session-by-key): Use eq
23598         instead of equal to compare symbols.
23600 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23602         * org-agenda.el (org-agenda-before-sorting-filter-function):
23603         New hook function.
23604         (org-finalize-agenda-entries):
23605         Apply `org-agenda-before-sorting-filter-function'.
23607 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23609         * org-latex.el (org-export-latex-first-lines): Do not protect meta
23610         lines that have nothing to do with babel.
23612 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23614         * org-capture.el (org-capture-place-template): Handle the
23615         checkitem case.
23616         (org-capture-place-item): Provide boundaries for the search to
23617         make sure we do not get a match in a different tree.
23619 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23621         * org-exp.el (org-export-preprocess-apply-macros): Fix the macro
23622         argument parser.
23624 2010-11-11  Noorul Islam  <noorul@noorul.com>
23626         * org-latex.el (org-latex-to-pdf-process): Add output-directory
23627         option for the command pdflatex.
23628         (org-export-as-pdf): Respect directory in path of
23629         EXPORT_FILE_NAME.
23631 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23633         * org-exp.el (org-export-with-LaTeX-fragments): New default t,
23634         which now means to use MathJax processing for HTML.  Also allow
23635         new value `dvipng' to force the old image processing.
23636         (org-infile-export-plist): Parse for MATHJAX setup line.
23638         * org-html.el (org-export-html-mathjax-options): New option.
23639         (org-export-html-mathjax-config): New function.
23640         (org-export-html-mathjax-template): New option.
23641         (org-export-html-preprocess): Call the LaTeX snippet processor
23642         with an additional argument to declare special ways of processing.
23643         (org-export-as-html): Bind the dynamical variable
23644         `org-export-have-math'.  Insert the MathJax script template when
23645         it is needed by the document.
23647         * org.el (org-preview-latex-fragment): Call `org-format-latex'
23648         with the additional processing argument.
23649         (org-export-have-math): New variable, for dynamic scoping.
23650         (org-format-latex): Implement specific ways of processing.
23651         New function argument for processing type.
23652         (org-org-menu): Remove the entry to configure LaTeX snippet
23653         processing.
23655 2010-11-11  Bastien Guerry  <bzg@gnu.org>
23657         * org-agenda.el (org-agenda-clock-goto): Use `\C-c\C-x\C-j' for
23658         `org-clock-goto' and `J' for `org-agenda-clock-goto'.  If the
23659         heading currently clocked in is not listed in the agenda, display
23660         this entry in another buffer.  If there is no running clock,
23661         display a help message.
23663 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23665         * org-latex.el (org-export-latex-tables): Return "" instead of nil
23666         when no label is attached.
23668 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23670         * org-agenda.el (org-agenda-menu-show-match): New option.
23671         (org-agenda-menu-two-column): New option.
23672         (org-agenda-get-restriction-and-command): Implement dispatch menu
23673         without showing the matcher, and with two-column display.
23675 2010-11-11  Bernt Hansen  <bernt@norang.ca>
23677         * org-indent.el (org-indent-mode): Fix grammar for message when
23678         mode is refused.
23680 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23682         * ob.el (org-babel-insert-result): Ensures `beg' is set, even if
23683         no previous result exists.
23685 2010-11-11  Noorul Islam  <noorul@noorul.com>
23687         * ob.el Declare org-babel-lob-execute-maybe() to avoid compiler
23688         warning.
23690 2010-11-11  Noorul Islam  <noorul@noorul.com>
23692         * org.el (org-set-visibility-according-to-property): Use backward
23693         search instead of forward, so that top hierarchy gets priority.
23695 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23697         * org-agenda.el (org-timeline): Allow indirect buffer.
23699 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23701         * org-exp.el (org-export-preprocess-after-radio-targets-hook):
23702         (org-export-define-heading-targets-headline-hook): New hooks.
23704         * org.el (org-modules): Add entry for org-wikinodes.el.
23705         (org-font-lock-set-keywords-hook): New hook.
23706         (org-open-at-point-functions): New hook.
23707         (org-find-exact-headling-in-buffer):
23708         (org-find-exact-heading-in-directory): New functions.
23709         (org-mode-flyspell-verify): Better cursor position for checking if
23710         flyspell should ignore a word.
23712 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23714         * org-indent.el (org-indent-remove-properties):
23715         (org-indent-add-properties): Make sure changing these properties
23716         does not trigger modification hooks.
23718 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23720         * org.el (org-link-search-must-match-exact-headline): New option.
23721         (org-link-search-inhibit-query): New variable.
23722         (org-link-search): Search for exact headline match in Org files.
23724 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23726         * ob.el (org-babel-execute-src-block-maybe): Remove check for
23727         `org-babel-no-eval-on-ctrl-c-ctrl-c'; this is done in the new
23728         function `org-babel-execute-safely-maybe'.
23730 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23732         * ob.el (org-babel-load-in-session): Set directory in case :dir
23733         arg is in effect.
23735 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23737         * ob-tangle.el (org-babel-tangle-collect-blocks): Don't throw
23738         errors when we're not under of a headline.
23740 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23742         * ob-octave.el (org-babel-octave-wrapper-method): Use dlmwrite to
23743         write delimited text instead of save -ascii
23744         (org-babel-octave-import-elisp-from-file): Specify that data
23745         written to file is tab-delimited.
23747 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23749         * ob-R.el (org-babel-R-evaluate): Specify that tabular data is
23750         tab-delimited.
23752 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23754         * ob.el (org-babel-import-elisp-from-file): Allow separator to be
23755         specified.
23757 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23759         * ob-python.el (org-babel-python-table-or-string): Fix recognition
23760         of lists and tuples.
23762 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23764         * ob-octave.el (org-babel-octave-evaluate-external-process):
23765         Allow remote files.
23767 2010-11-11  Juan Pechiar  <pechiar@computer.org>
23769         * ob-octave.el (org-babel-octave-evaluate-external-process):
23770         Use `org-babel-octave-import-elisp-from-file' instead of
23771         `org-babel-eval-read-file'.
23772         (org-babel-octave-var-to-octave): Separate matrix rows with ';',
23773         and use '%s' as format specifier instead of '%S'.
23775 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23777         * ob-octave.el: Only (require 'matlab) when necessary.
23778         (org-babel-octave-initiate-session): (require) octave-inf or matlab
23779         as appropriate.
23780         (org-babel-execute:matlab): Remove (require).
23781         (org-babel-prep-session:matlab): Remove (require).
23782         (org-babel-matlab-initiate-session): Remove (require).
23784 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23786         * ob-octave.el (org-babel-octave-evaluate): Fix formal argument
23787         list.
23789 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23791         * ob-python.el (org-babel-python-table-or-string): Can now handle
23792         VERY long result lines.
23794 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23796         * org-latex.el (org-export-latex-tables): Add label if any.
23798         * org-latex.el (org-export-latex-convert-table.el-table):
23799         Fix little mistake when inserting label.
23801 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23803         * org.el (org-cycle-internal-local): Remove an unnecessary call
23804         to `org-back-to-heading' that was preventing point to stay at its
23805         column when cycling visibility.
23807 2010-11-11  Noorul Islam  <noorul@noorul.com>
23809         * org-capture.el (org-capture-finalize): Make messages consistent.
23811 2010-11-11  Noorul Islam  <noorul@noorul.com>
23813         * org-gnus.el: Suppress compiler warning by declaring outside
23814         function nnimap-retrieve-headers-from-file.
23816 2010-11-11  Noorul Islam  <noorul@noorul.com>
23818         * org-colview.el Use org-beamer-select-environment instead of
23819         org-beamer-set-environment-tag.
23821 2010-11-11  Matt Lundin  <mdl@imapmail.org>
23823         * org.el (org-insert-time-stamp): Fix org-insert-time-stamp so
23824         that the value of org-last-inserted-timestamp includes time range.
23826 2010-11-11  David Maus  <dmaus@ictsoc.de>
23828         * org-wl.el (org-wl-store-link-message): Provide link property for
23829         message-id without angle brackets.
23831 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23833         * ob-R.el (org-babel-R-evaluate): Improve prompt-stripping regexp.
23835 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23837         * ob-tangle.el (org-babel-find-file-noselect-refresh): Finds a
23838         file ensuing that the latest changes on disk are represented.
23840 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23842         * ob-sqlite.el (org-babel-sqlite-expand-vars): Now inserts string
23843         arguments w/o quotes.
23845 2010-11-11  Bernt Hansen  <bernt@norang.ca>
23847         * org-capture.el (org-capture-finalize): Fix clock in of
23848         interrupted task during capture finalize.
23850 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23852         * ob-R.el (org-babel-R-evaluate): Clean up extra prompts in
23853         session output.
23855 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23857         * ob-C.el (org-babel-C-ensure-main-wrap): More generous regular
23858         expression for matching main function.
23860 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23862         * ob-lob.el (org-babel-lob-one-liner-regexp): Fix error in lob
23863         regexp -- it wasn't matching lob lines w/o indices.
23865 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23867         * org-exp.el (org-export-latex-listings-w-names): Fix compiler
23868         warning in org-exp.el.
23870 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23872         * org-publish.el (org-publish-file): Better error message if
23873         base-directory or publishing-directory are not defined.
23875 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23877         * org-colview.el (org-columns-display-here): Use overlays to
23878         overrule line prefix properties during column view.
23880 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23882         * org-agenda.el (org-agenda-filter-preset): Document the
23883         limitation for the filter preset - it can only be used for an
23884         entire agenda view, not in an individual block in a block agenda.
23886 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23888         * ob-table.el (sbe): Now able to accept range references from
23889         tables.
23891 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23893         * ob.el (org-babel-pick-name): If colnames or rownames contain a
23894         list of names, then use those directly.
23896 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23898         * org-exp.el (org-export-format-source-code-or-example):
23899         Escape underscores in code block names on latex listings export.
23901 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23903         * ob-tangle.el (org-babel-with-temp-filebuffer):
23904         Use find-file-noselect to avoid excess buffer movement.
23906 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23908         * org-html.el (org-html-should-inline-p): Only inline images if
23909         they should be.
23911 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23913         * org-id.el (org-id-store-link): Autoload.
23915         * org.el ("org-id"): Autoload `org-id-store-link'.
23917 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23919         * org-html.el (org-html-should-inline-p): Only inline images if
23920         they should be.
23922 2010-11-11  Eric S Fraga  <e.fraga@ucl.ac.uk>
23924         * org-icalendar.el (org-icalendar-alarm-time): New option.
23926         * org-icalendar.el (org-print-icalendar-entries): Timed events are
23927         exported with alarm events, a.k.a. reminders.
23929 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23931         * org-capture.el (org-capture-target-buffer): Throw an error if we
23932         have no target file.
23933         (org-capture-select-template): Use a default template if the user
23934         has not specified any.
23936 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23938         * org.el (org-modules): Add entry for org-velocity.
23940 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23942         * ob-lob.el (org-babel-lob-execute): Changing indentation to
23943         improve line length.
23945 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23947         * org-exp.el (org-export-handle-table-metalines): Choose a better
23948         position for checking protectedness.
23950 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23952         * org-table.el (org-table-convert-region): Don't continue csv
23953         importation which the point catches the end, this fixes an
23954         infinite loop which was caused by the (point) never catching up
23955         with the "end" marker.
23957 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23959         * org-macs.el (org-string-nw-p): New function.
23961         * org-capture.el (org-capture-import-remember-templates):
23962         Interpret an empty string as request to use
23963         `org-default-notes-file'.
23964         (org-capture-target-buffer): If the FILE is not a (non-empty)
23965         string, use `org-default-notes-file'.
23967 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23969         * org-capture.el (org-capture-templates): Fix customize type.
23971 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
23973         * org.el (org-refile-targets):
23974         * org-agenda.el (org-agenda-hide-tags-regexp): Fix typos in docstrings.
23976 2010-08-19  Glenn Morris  <rgm@gnu.org>
23978         * org.el (org-outline-overlay-data, org-set-outline-overlay-data)
23979         (org-save-outline-visibility): Move to org-macs.
23980         * org-macs.el (org-outline-overlay-data, org-set-outline-overlay-data)
23981         (org-save-outline-visibility): Move here from org.el.
23982         (show-all): Autoload it.
23983         * ob.el: Don't require org when compiling.
23985 2010-08-18  Glenn Morris  <rgm@gnu.org>
23987         * ob.el: Require org when compiling.
23988         (org-save-outline-visibility): Remove macro declaration.
23989         * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
23990         Remove unnecessary/macro declarations.
23991         * org-docview.el: Require doc-view when compiling.
23992         (doc-view-goto-page): Autoload rather than declaring.
23993         (doc-view-current-page): Remove macro declaration.
23995 2010-08-17  Glenn Morris  <rgm@gnu.org>
23997         * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
23998         (org-entry-get, org-table-import): Fix declarations.
23999         (org-match-string-no-properties): Remove unnecessary declaration.
24000         * ob-sh.el (org-babel-comint-in-buffer)
24001         (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
24002         (org-babel-comint-with-output): Remove unnecessary declarations.
24003         * ob-R.el (orgtbl-to-tsv): Fix declaration.
24004         * org-list.el (org-entry-get): Fix declaration.
24006 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24008         * ob-C.el: New file.
24009         * ob-R.el: New file.
24010         * ob-asymptote.el: New file.
24011         * ob-clojure.el: New file.
24012         * ob-comint.el: New file.
24013         * ob-css.el: New file.
24014         * ob-ditaa.el: New file.
24015         * ob-dot.el: New file.
24016         * ob-emacs-lisp.el: New file.
24017         * ob-eval.el: New file.
24018         * ob-exp.el: New file.
24019         * ob-gnuplot.el: New file.
24020         * ob-haskell.el: New file.
24021         * ob-keys.el: New file.
24022         * ob-latex.el: New file.
24023         * ob-lob.el: New file.
24024         * ob-matlab.el: New file.
24025         * ob-mscgen.el: New file.
24026         * ob-ocaml.el: New file.
24027         * ob-octave.el: New file.
24028         * ob-perl.el: New file.
24029         * ob-python.el: New file.
24030         * ob-ref.el: New file.
24031         * ob-ruby.el: New file.
24032         * ob-sass.el: New file.
24033         * ob-screen.el: New file.
24034         * ob-sh.el: New file.
24035         * ob-sql.el: New file.
24036         * ob-sqlite.el: New file.
24037         * ob-table.el: New file.
24038         * ob-tangle.el: New file.
24039         * ob.el: New file.
24041 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24043         * org-mks.el: New file.
24044         * org-capture.el: New file.
24046 2010-07-19  Christian Egli  <christian.egli@sbszh.ch>
24048         * org-taskjuggler.el: New file.
24050 2010-07-19  Matt Lundin  <mdl@imapmail.org>
24052         * org-agenda.el (org-search-view): Fix inclusion of agenda-archives
24053         in org-agenda-text-search-extra-files.
24055 2010-07-19  David Maus  <dmaus@ictsoc.de>
24057         * org-list.el (org-list-send-list): Locally bind variable `txt'.
24059 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24061         * org.el (org-reload): Now also reloading babel files.
24063 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24065         * org-capture.el (org-capture-set-plist): Make sure txt is a string
24066         before calling `string-match'.
24067         (org-capture-templates): Fix customization type.
24069 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24071         * org-latex.el (org-export-latex-preprocess): Make a special case
24072         for \nbsp.
24073         (org-latex-entities): Remove the entry for \nbsp.
24074         (org-latex-entities-exceptions): Variable removed.
24076 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24078         * org-capture.el (org-capture-refile): Do not try to manipulate
24079         bookmark list.
24081         * org.el (org-refile): Use the correct bookmark here.
24083 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24085         * org-list.el (org-list-send-list): Parse list from its true beginning.
24087         * org.el (org-ctrl-c-ctrl-c): Maybe send the list when at a list item.
24089 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24091         * org.el (org-insert-link): Correctly determine if we should use
24092         a relative path.
24094 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24096         * org-list.el (org-list-radio-list-templates): Fix templates.
24098 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24100         * org-list.el (org-list-send-list): Regexp defining the start of
24101         a radio list is now on par with the one used for radio tables.
24103 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24105         * org-entities.el (org-entities-help): Add a headline for
24106         the user-defined entities.
24108 2010-07-19  Dirk-Jan C. Binnema  <djcb.bulk@gmail.com>  (tiny change)
24110         * org-agenda.el (org-agenda-action): Document capture key and add it
24111         to the prompt.
24113 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24115         * org-latex.el (org-export-latex-listings-langs): Add (sqlite "SQL").
24117 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24119         * org-latex.el (org-export-latex-first-lines): Do not mark
24120         meta lines for removal.  Do not remove BABEL config lines during export.
24122 2010-07-19  David Maus  <dmaus@ictsoc.de>
24124         * org-capture.el (org-capture): Check if
24125         `org-capture-link-is-already-stored' is bound before evaluating.
24127 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24129         * org.el: Add autoload for org-babel-do-load-languages.
24131 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24133         * org-src.el (org-src-lang-modes): Add sqlite to sql-mode.
24135 2010-07-19  David Maus  <dmaus@ictsoc.de>
24137         * org-feed.el: Change indentation to match coding style
24138         guideline.
24140 2010-07-19  David Maus  <dmaus@ictsoc.de>
24142         * org-feed.el (org-feed-unescape, org-feed-parse-atom-feed): Load XML
24143         library if necessary.
24145 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24147         * org-beamer.el (org-beamer-amend-header): Standardize the
24148         header cookie for the beamer extra stuff.
24150 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24152         * org-beamer.el (org-beamer-amend-header): Put extra header
24153         last in header.
24155 2010-07-19  David Maus  <dmaus@ictsoc.de>
24157         * org-exp-blocks.el (org-export-blocks-format-ditaa)
24158         (org-export-blocks-format-dot): Remove text properties of body before
24159         calculating cache hash.
24161 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24163         * org-latex.el (org-export-latex-tabular-environment): New option.
24164         (org-export-latex-tables): Use `org-export-latex-tabular-environment'.
24166 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24168         * org-compat.el (org-version-check): New function.
24170         * org-indent.el (org-indent-mode): Check for exact emacs version.
24172 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24174         * org-capture.el (org-capture-templates): Allow the template
24175         to come from a file or function call.
24176         (org-capture-place-entry): Get the template from file or function.
24178 2010-07-19  David Maus  <dmaus@ictsoc.de>
24180         * org-agenda.el (org-agenda-bulk-action): Don't create marker for
24181         position if target is entire file.
24183 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24185         * org.el (org-autoload): Autoload a few more org-table functions.
24187 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24189         * org.el (org-babel-load-languages): Add ob-mscgen.
24191 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24193         * org-latex.el (org-export-latex-tables): Format string now
24194         matches options.
24196 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24198         * org.el (org-babel-load-languages): This variable controls which
24199         languages will be loaded by org-babel.  It is customizable through
24200         the customize interface.
24202 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24204         * org-latex.el (org-export-latex-format-image): Update number of
24205         arguments to allow for an optional short-name.
24207 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24209         * org-indent.el (org-indent-mode): Refuse to turn on prior to Emacs 23.2.
24211 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24213         * org-capture.el (org-capture-set-target-location):
24214         Store exact positions for file+regexp and file+function targets.
24215         (org-capture-place-entry, org-capture-place-item)
24216         (org-capture-place-table-line, org-capture-place-plain-text):
24217         Respect exact positions.
24218         (org-capture-finalize): Make sure we are at the beginning of a line
24219         when fixing the empty lines after the entry.
24221 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24223         * org.el (org-entry-get-with-inheritance): New argument LITERAL-NIL.
24224         (org-entry-get): Pass `literal-nil' into
24225         `org-entry-get-with-inheritance'.
24226         (org-todo): React to nil values of the LOGGING property.
24228 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24230         * org.el (org-default-notes-file): Update docstring.
24232 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24234         * org.el (org-link-frame-setup): Use `org-gnus-no-new-news' as default.
24236 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24238         * org-exp.el (org-export-attach-captions-and-attributes):
24239         Add a shortname attribute to caption strings under the symbol name
24240         org-caption-shortn.
24242 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24244         * org.el (org-switchb): Rename from `org-iswitchb'.
24245         Improve docstring.
24246         (org-iswitchb): New alias.
24247         (org-ido-switchb): Make alias point to `org-switchb'.
24249 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24251         * org-capture.el (org-capture-fill-template):
24252         Respect time-of-day preference in template prompt.
24254 2010-07-19  David Maus  <dmaus@ictsoc.de>
24256         * org-feed.el (org-feed-unescape): Remove superfluous lambda.
24258 2010-07-19  David Maus  <dmaus@ictsoc.de>
24260         * org-wl.el (org-wl-disable-folder-check): New customization
24261         variable.
24262         (org-wl-open): Disable folder check depending on
24263         `org-wl-disable-folder-check'.
24265 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24267         * org-capture.el (org-capture-set-target-location):
24268         Fix file+function interpretation.
24270 2010-07-19  David Maus  <dmaus@ictsoc.de>
24272         * org-feed.el (org-feed-parse-rss-entry): Unescape rss element
24273         content.
24275 2010-07-19  David Maus  <dmaus@ictsoc.de>
24277         * org-feed.el (xml-entity-alist): Declare variable
24278         `xml-entity-alist' for byte compiler.
24280 2010-07-19  David Maus  <dmaus@ictsoc.de>
24282         * org-feed.el (org-feed-unescape): New function.
24283         Unescape protected entities.
24284         (org-feed-parse-atom-entry): Use function for atom:content
24285         type text and html.
24287 2010-07-19  David Maus  <dmaus@ictsoc.de>
24289         * org-feed.el (org-feed-parse-rss-feed): Ignore case of rss
24290         element names.
24292 2010-07-19  Bernt Hansen  <bernt@norang.ca>
24294         * org.el (org-time-string-to-absolute): Ignore cyclic repeater
24295         when displaying items on todays agenda date.
24297 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24299         * org-agenda.el (org-agenda-get-progress): Avoid reusing previous
24300         value of EXTRA.
24302 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24304         * org-publish.el (org-publish-initialize-cache):
24305         Make timestamp directory, the entire path to it.
24307 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24309         * org-exp.el (org-export-handle-comments): Make sure to check
24310         for protection in the comment line, and not in the line after it.
24312 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24314         * org-html.el (org-export-html-preprocess): Call org-format-latex,
24315         possibly with a protect-only argument.
24317         * org.el (org-format-latex): New argument PROTECT-ONLY.
24319 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24321         * org-exp.el (org-export-handle-table-metalines): This function
24322         removes table specific meta-lines, now that we aren't wiping
24323         everything that looks remotely like a comment at the end of the
24324         export process we have to be sure to catch all of the specific lines
24325         in org-exp.el.
24327 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24329         * org-exp.el (org-export-select-backend-specific-text): Properly
24330         get rid of #+Backend and #+ATTR_Backend specifics to backends not
24331         matching the one we're exporting to.
24333 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24335         * org-table.el (orgtbl-to-generic): Add the :remove-newlines
24336         option which will strip newline characters from the text of table
24337         cells and replace then with "\n".
24339 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24341         * org.el (org-confirm-shell-link-function)
24342         (org-confirm-elisp-link-function): Limit the values that can be set by
24343         file variables.
24345 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24347         * org.el (org-compute-latex-and-specials-regexp): Deal with
24348         string elements by discarding them.
24350 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24352         * org.el (org-iswitchb): Make sure to use at least iswitchb.
24354 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24356         * org-capture.el (org-capture-position-for-last-stored)
24357         (org-capture-bookmark-last-stored-position): New functions.
24358         (org-capture-place-table-line): Better error catching.
24359         (org-capture-place-item, org-capture-place-entry)
24360         (org-capture-place-plain-text):
24361         Call `org-capture-position-for-last-stored'.
24362         (org-capture-finalize): Just call
24363         `org-capture-bookmark-last-stored-position'.
24365 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24367         * org-exp.el (org-export-mark-blockquote-verse-center):
24368         Fix small bug, now grabbing match data before overwritten by looking-at
24369         this fixes a problem with remainders of #+end_quote lines appearing
24370         in exported output.
24372 2010-07-19  David Maus  <dmaus@ictsoc.de>
24374         * org.el (org-link-frame-setup): Add customization option for
24375         Wanderlust.
24377 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24379         * org-latex.el (org-export-latex-fixed-width): Now check
24380         org-example rather than org-protected on verbatim export, because by
24381         default all ": " prefixed lines are marked protected.
24383 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24385         * org-latex.el (org-export-latex-fixed-width): Check for
24386         protection before wrapping ": " lines as verbatim.
24388 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24390         * org-exp.el (org-export-handle-comments): Check for protection
24391         before removing comments.
24393 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24395         * org-entities.el (org-entities): Restructure the list.
24396         (org-entities-help): Turn the help output into a buffer
24397         in Org-mode, so that it becomes easier to find a symbol
24398         in the structure.
24399         (org-entities-create-table): Deal with new structure.
24401 2010-07-19  David Maus  <dmaus@ictsoc.de>
24403         * org-agenda.el (org-write-agenda): Use backquotes to expand
24404         `flet' at compile time.
24406 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24408         * org.el (org-entry-properties): Make sure that standard property
24409         names are used even if the user has customized time keywords.
24411 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24413         * org-macs.el (org-not-nil): Return the value if not interpreted
24414         as nil.
24416         * org.el (org-entry-get)
24417         (org-entry-get-with-inheritance): Interpret the value "nil"
24418         as nil for properties.
24420 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24422         * org.el (org-switch-to-buffer-other-window): Return the buffer.
24424 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24426         * org-macs.el (org-not-nil): New function.
24428         * org.el (org-block-todo-from-children-or-siblings-or-parent):
24429         Use `org-not-nil' to interpret a property value of nil.
24431 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24433         * org.el (org-truely-invisible-p): New function.
24434         (org-beginning-of-line): Use `org-truely-invisible-p'.
24436 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24438         * org-agenda.el (org-agenda-get-timestamps): No errors
24439         while getting TODO state.
24440         (org-agenda-highlight-todo): No error when no keyword has
24441         been matched.
24443 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24445         * org.el (org-timestamp-change): New optional argument UPDOWN.
24446         Use this to identify calls from org-timestamp-up/down, so that we can
24447         skip by rounding minutes in this case.
24448         (org-timestamp-up, org-timestamp-down, org-timestamp-up-day)
24449         (org-timestamp-down-day): Call org-timestamp-change with the
24450         updown argument.
24452 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24454         * org-agenda.el (org-agenda-action): Make `c' key call org-capture.
24456         * org-capture.el: New file.
24458         * org-compat.el (org-get-x-clipboard): Function moved here from
24459         remember.el.
24461         * org-mks.el: New file.
24463         * org.el (org-set-regexps-and-options): Allow statistic cookies as
24464         part of complex headlines.
24465         (org-find-olp): New argument THIS-BUFFER.  When set, assume that the
24466         OLP does not contain a file name.
24468 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24470         * org.el (org-mode): Set `comment-start' instead of changing the
24471         syntax of the `#' character.
24473 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24475         * org-exp.el (org-export-format-source-code-or-example): Mark examples
24476         by a property.
24478         * org-html.el (org-export-html-close-lists-maybe): Check if raw
24479         HTML stuff was actually made from an example.
24481 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24483         * org-latex.el: Items are no longer skipped when their first line
24484         ends on a protected element.
24486         * org-list.el: Protected environments looking like lists are not
24487         exported anymore.
24489 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24491         * org-exp-blocks.el (org-export-blocks-preprocess):
24492         Cleanup trailing newline after block.
24494 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24496         * org-exp.el: Comment regexp now matches documentation.  No more
24497         protection check when deleting comments before export.
24499 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24501         * org-exp.el (org-export-preprocess-string):
24502         Now using `org-export-handle-include-files-recurse' to resolve
24503         included files.
24505 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24507         * org-agenda.el (org-agenda-get-deadlines)
24508         (org-agenda-get-scheduled):
24509         * org.el (org-time-string-to-seconds):
24510         For deadline and scheduled agenda display ignore the cyclic repeater
24511         when calculating how many days late the task is.  If you have a weekly
24512         task and miss the date the agenda view will show more than a week late
24513         now instead of resetting on the cyclic repeating date.  This makes it
24514         much more obvious when you missed a repeating task after the repeater.
24516 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24518         * org-exp.el (org-export-mark-blockquote-verse-center):
24519         Consider environments that end at eob.
24521 2010-07-19  Mikael Fornius  <mfo@abc.se>
24523         * org.el (org-raise-scripts): Do not fontify sub/superscripts of text
24524         with face `org-special-keyword'.  Make property keys as :LAST_REPEAT:
24525         display correctly.
24527 2010-07-19  Mikael Fornius  <mfo@abc.se>
24529         * org.el (org-at-property-p): Use save-match-data macro instead of let.
24531 2010-07-19  Mikael Fornius  <mfo@abc.se>
24533         * org.el (test): Remove unused test function.
24535 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24537         * org-exp-blocks.el (org-export-blocks-preprocess): Fix typo.
24539 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24541         * org-exp-blocks.el (org-export-blocks-postblock-hook):
24542         Add documentation to and turn into a defcustom.
24544 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24546         * org-exp.el (org-get-file-contents): By un-setting prefix1 to ""
24547         instead of to nil we avoid errors when :prefix1 is defined, but
24548         prefix is not.
24550 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24552         * org-latex.el (org-export-latex-preprocess): Environments coming
24553         from latex backend specific instructions (#+LaTeX) are already
24554         protected and won't be treated as normal environments.
24556 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24558         * org-timer.el (org-timer-set-timer): Fix typo in the docstring.
24560 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24562         * org-timer.el (org-timer-set-timer): Use a prefix argument.
24563         See the docstring of the function.
24565 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24567         * org-timer.el (org-timer-set-timer): Fix bug about canceling
24568         timers.
24570 2010-07-19  David Maus  <dmaus@ictsoc.de>
24572         * org-w3m.el (org-w3m-copy-for-org-mode)
24573         (org-w3m-get-next-link-start, org-w3m-get-prev-link-start):
24574         Get text property directly, not using macro `w3m-anchor'.
24576 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24578         * org.el (org-emph-re): Document the match groups.
24580 2010-07-19  Bernt Hansen  <bernt@norang.ca>
24582         * org-clock.el (org-clock-in): Set `org-clock-clocking-in' to
24583         t before calling `org-clock-out', so that that function can
24584         know its call context.
24586 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24588         * org-timer.el (org-timer-default-timer): New variable.
24589         (org-timer-set-timer): Use the new variable.  Also offer the
24590         possibility to replace the current timer by a new one.
24592 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24594         * org.el (org-kill-note-or-show-branches): Hide subtree before
24595         exposing the headings.
24597 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24599         * org.el (org-add-planning-info): Remove the empty line also
24600         if there is no whitespace at all in there.
24602         * org-table.el (org-table-align): Fix alignment of strings
24603         with invisible characters.
24605 2010-07-19  David Maus  <dmaus@ictsoc.de>
24607         * org.el (org-refile-cache-get): Return empty list of targets
24608         when cache was cleared.
24609         (org-clone-subtree-with-time-shift): Maybe create ID property
24610         in cloned subtrees.
24611         (org-clone-delete-id): New customization variable.
24612         (org-clone-subtree-with-time-shift): Use customization
24613         variable `org-clone-delete-id'.
24614         (org-clone-subtree-with-time-shift): Remove empty property
24615         drawer in cloned subtrees.
24617 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24619         * org.el (org-refile-use-cache): New option.
24620         (org-refile-cache, org-refile-markers): New variable.
24621         (org-refile-marker, org-refile-cache-clear)
24622         (org-refile-cache-check-set, org-refile-cache-put)
24623         (org-refile-cache-get): New function.
24624         (org-get-refile-targets): Use the refile cache.
24626         * org-clock.el (org-clock-sum): Don't include running clock if
24627         the time block is wrong.
24629 2010-07-19  John Wiegley  <jwiegley@gmail.com>
24631         * org-clock.el (org-clock-clock-in, org-clock-in):
24632         Add parameter `start-time'.
24633         (org-clock-resolve-clock): Add parameter `clock-out-time'.
24634         If set, and resolve-to is a past time, then the clock out
24635         event occurs at `clock-out-time' rather than at `resolve-to'.
24636         In this case, `resolve-to' becomes the clock in time.
24637         (org-clock-jump-to-current-clock): Create new global command
24638         to reveal the current clock.
24639         (org-clock-resolve): Add new commands g/G and j/J, and a
24640         help window describing all commands and their meaning.
24641         (org-clock-resolve-expert): New customization variable.
24642         (org-find-open-clocks): Fix a bug that caused discovered
24643         clocks not to match up with the currently active clock.
24644         (org-resolve-clocks): Change the argument
24645         `also-non-dangling-p' to `only-dangling-p', since due to a bug
24646         this was the default behavior all along.
24648 2010-07-19  David Maus  <dmaus@ictsoc.de>
24650         * org-id.el (org-id-uuid): New function.  Return string with
24651         random (version 4) UUID.
24652         (org-id-method): Make 'uuid the new default value.
24653         (org-id-new): Use `org-id-uuid' if call to uuidgen program
24654         does not return a UUID.
24656 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24658         * org-latex.el (org-export-latex-format-image): Add support
24659         for multicolumn figures in LaTeX.
24661 2010-07-19  David Maus  <dmaus@ictsoc.de>
24663         * org.el (org-clone-subtree-with-time-shift): Remove ID
24664         property of original subtree in cloned subtrees.
24666 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24668         * org-exp.el (org-export-format-source-code-or-example):
24669         XEmacs compatibility.
24671         * org-latex.el (org-export-latex-tables): Accept comma in
24672         align string.
24674         * org-docbook.el (org-export-docbook-xslt-stylesheet): New option.
24675         (org-export-docbook-xslt-proc-command): Fix docstring.
24676         (org-export-docbook-xsl-fo-proc-command): Fix docstring.
24677         (org-export-as-docbook-pdf):
24678         Improve formatting of the xslt command.
24680         * org-exp.el (org-infile-export-plist): Check for XSLT setting.
24682         * org.el (org-file-contents): Improve error message.
24683         (org-set-regexps-and-options): Remove spaces at both ends.
24685 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24687         * org-docbook.el (org-export-as-docbook-pdf):
24688         Improve formatting of the xslt command.
24690 2010-07-19  Sebastian Rose  <sebastian_rose@gmx.de>
24692         * org-publish.el (org-publish-cache): Use one big hashmap for
24693         each project defined in `org-publish-project-alist'.
24694         (initialize-files-alist): Function removed.
24695         (org-publish-validate-link): Function removed.
24696         (org-publish-get-base-files): Add variable `sitemap-requested'
24697         to avoid sorting where possible.
24698         (org-publish-get-files): Function removed.
24699         (org-publish-get-project-from-filename): Make independent of
24700         file list.
24701         (org-publish-file): New argument NO-CACHE.
24703 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24705         * org.el (org-beginning-of-defun, org-end-of-defun):
24706         New functions.
24707         (org-mode): Install the `org-beginning-of-defun' and
24708         `org-end-of-defun' functions.
24709         (org-pretty-entities): New option.
24710         (org-toggle-pretty-entities): New command.
24711         (org-fontify-entities): New function.
24712         (org-startup-options): New keywords for pretty entities.
24713         (org-set-font-lock-defaults): Call the pretty entities
24714         function.
24716         * org-latex.el (org-export-latex-keywords-maybe): Protect the
24717         TODO markup.
24719 2010-07-19  Mikael Fornius  <mfo@abc.se>
24721         * org-habit.el (org-habit-build-graph): Help-echo date when
24722         mouse is over stars.
24724 2010-07-19  Jan Böcker  <jan.boecker@jboecker.de>
24726         * org.el (org-file-apps): Improve docstring to reflect
24727         grouping matches.
24729 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24731         * org.el (org-set-startup-visibility): Fix empty line display.
24733         * org-latex.el (org-export-latex-links): Use the formatting
24734         function of the link type, if it is available.
24736         * org-table.el (org-table-get-remote-range): Return to
24737         original buffer when retrieving remote reference.
24739         * org.el (org-display-inline-images): Do the entire buffer,
24740         not just the narrowed region.  Clear the cache.
24741         (org-display-inline-images): Match mode file paths.
24743 2010-07-19  David Maus  <dmaus@ictsoc.de>
24745         * org-wl.el (org-wl-store-link-folder): Don't throw error when
24746         called on WL folder group.
24748 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24750         * org.el (org-replace-escapes): Make sure the cdr is not nil.
24751         (org-read-date): Make `M-v' and `C-v' scroll the popup calendar.
24752         (org-mode): Revert comment syntax changes.
24754 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24756         * org.el (org-sparse-tree): Make `C-c / t' search for all TODO
24757         keywords, and `C-c / T' for a specific one.
24759 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24761         * org.el (org-mode): Fix comment syntax settings.
24763         * org-src.el (org-edit-src-allow-write-back-p):
24764         Define variable.
24766         * org.el (org-inline-image-overlays): New variable.
24767         (org-toggle-inline-images, org-display-inline-images)
24768         (org-remove-inline-images): New commands.
24769         (org-mode-map): Define a key for `org-toggle-inline-images'.
24771 2010-07-19  David Maus  <dmaus@ictsoc.de>
24773         * org-wl.el (org-wl-message-field): New function.
24774         Return content of header field in message entity.
24775         (org-wl-store-link): Call `org-wl-store-link-folder' or
24776         `org-wl-store-link-message' depending on major-mode.
24777         (org-wl-store-link-folder): New function.  Store link to
24778         Wanderlust folder.
24779         (org-wl-store-link-message): New function.  Store link to
24780         Wanderlust message.
24781         (org-wl-store-link-message): Store link to message while
24782         visiting message.
24783         (org-wl-open): Don't try to jump to message when opening a
24784         folder link.
24786 2010-07-19  David Maus  <dmaus@ictsoc.de>
24788         * org.el (org-replace-escapes): Avoid infinite loop when
24789         replace string contains escape sequence it replaces.
24791 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24793         * org-crypt.el (org-crypt-key-for-heading): Use symmetric
24794         encryption when now key is set.
24796 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24798         * org-table.el (org-table-recalculate-buffer-tables)
24799         (org-table-iterate-buffer-tables): New commands.
24801         * org.el (org-check-for-hidden): When there is a region, skip
24802         the check.
24804 2010-07-19  Dan Davison  <davison@stats.ox.ac.uk>
24806         * org-src.el (org-edit-src-code): allow-write-back-p had
24807         erroneously been omitted from let binding.
24809 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24811         * org-agenda.el (org-sorting-choice): New sorting type alpha.
24812         (org-cmp-alpha): New defsubst.
24813         (org-em): New defsubst.
24814         (org-entries-lessp): Only compute needed comparisons.
24816 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24818         * org-html.el (org-format-org-table-html): Test all columns
24819         for number content.
24821 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24823         * org-latex.el (org-export-latex-treat-sub-super-char):
24824         Make sure parenthesis matching is consistent.
24826         * org-table.el (org-table-colgroup-line-p)
24827         (org-table-cookie-line-p): New functions.
24829         * org-exp.el (org-table-clean-before-export): Better tests for
24830         colgroup and cookie lines.
24832 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24834         * org-agenda.el (org-agenda-goto): Push a mark before changing
24835         the position.
24837         * org-footnote.el (org-footnote): New group.
24838         (org-footnote-section)
24839         (org-footnote-tag-for-non-org-mode-files): Fix typos.
24841         * org-list.el (org-end-of-item-text-before-children): Also do
24842         the right thing at the end of a file.
24844         * org.el (org-set-packages-alist, org-get-packages-alist):
24845         New function.
24846         (org-export-latex-default-packages-alist)
24847         (org-export-latex-packages-alist): Add extra flag to
24848         each package, indicating if it should be used for snippets.
24849         (org-create-formula-image): Add the snippet argument.
24850         (org-splice-latex-header): New argument SNIPPET-P, pass it
24851         through to `org-latex-packages-to-string'.
24852         (org-latex-packages-to-string): New argument SNIPPET-P.
24854         * org-latex.el (org-export-latex-make-header): Add the snippet
24855         argument.
24857         * org-docbook.el (org-export-as-docbook): Implement ordered
24858         lists starting at some offset.
24860 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24862         * org.el (org-link-types, org-open-at-point): Add doi links.
24864         * org-ascii.el (org-export-ascii-preprocess): Remove list
24865         startcounter cookies.
24867         * org-list.el (org-renumber-ordered-list): Respect counter
24868         start values.
24870         * org-latex.el (org-export-latex-lists): Accept ordered list
24871         item offset cookie.
24873         * org-html.el (org-export-as-html): Accept ordered list
24874         item offset cookie.
24876         * org-indent.el (org-indent-mode): Turn off `indent-tabs-mode'
24877         which messes up alignment of tags.
24879 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24881         * org-clock.el (org-clock-cancel, org-clock-out): Make sure
24882         the modeline display is removed.
24884         * org-exp.el (org-export-format-drawer-function):
24885         Fix docstring.
24887         * org-agenda.el (org-agenda-refile): New optional argument
24888         NO-UPDATE.
24889         (org-agenda-refile): Call `org-agenda-redo' unless NO-UPDATE
24890         is set.
24891         (org-agenda-bulk-action): Call the refile command with updates
24892         suppressed - but arrange for `org-agenda-redo' to be called at
24893         the end.
24895         * org.el (org-mode): Make table mapping quiet.
24896         (org-table-map-tables): New optional argument QUIETLY.
24898         * org-ascii.el (org-export-ascii-preprocess): Make table
24899         mapping quiet.
24901         * org-html.el (org-export-as-html, org-html-level-start):
24902         Change XHTML IDs to not use dots.
24904         * org-exp.el (org-export-define-heading-targets):
24905         Change XHTML IDs to not use dots.
24907         * org-docbook.el (org-export-docbook-level-start):
24908         Change XHTML IDs to not use dots.
24910         * org-latex.el (org-export-as-latex): Make sure that the
24911         result buffer is in latex-mode.
24913         * org.el (org-shiftup-final-hook, org-shiftdown-final-hook)
24914         (org-shiftleft-final-hook, org-shiftright-final-hook):
24915         New hooks.
24917 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24919         * org-table.el (org-table-justify-field-maybe): Make sure that
24920         inserting a value does not turn a line into a hline.
24922 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24924         * org-clock.el (org-clock-sum): New argument HEADLINE-FILTER.
24925         (org-clock-sum): Add property to selected headlines.
24926         (org-dblock-write:clocktable): Make tags matcher.
24928         * org.el (org-set-autofill-regexps): XEmacs compatibility.
24930         * org-latex.el (org-export-latex-set-initial-vars): Allow "-"
24931         in latex class definitions.
24933         * org.el (org-shiftup-hook, org-shiftdown-hook)
24934         (org-shiftleft-hook, org-shiftright-hook): New hooks.
24936         * org-entities.el (org-entities): Use \land and \lor for logical
24937         operators.
24939         * org.el (org-shiftmetaleft, org-shiftmetaright): Call the subtree
24940         indentation commands.
24941         (org-hidden-tree-error): New defsubst.
24942         (org-metaleft, org-metaright): Check for hidden stuff and throw an
24943         error.
24944         (org-check-for-hidden): New function.
24946         * org-list.el (org-item-re): New function.
24947         (org-at-item-p): Use `org-item-re'.
24948         (org-end-of-item-text-before-children): New function.
24949         (org-outdent-item, org-indent-item): Arrange for leaving the
24950         subtree alone.
24951         (org-outdent-item-tree, org-indent-item-tree): New argument
24952         NO-SUBTREE.
24953         (org-indent-item-tree): Use `org-end-of-item-text-before-children'
24954         to find the end for processing while ignoring the subtree.
24956         * org-publish.el (org-publish-sitemap-sort-alphabetically)
24957         (org-publish-sitemap-sort-folders)
24958         (org-publish-sitemap-sort-ignore-case): New options.
24960 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24962         * org-publish.el (org-publish-compare-directory-files): Fix sorting.
24964         * org-compat.el (org-get-x-clipboard-compat): Use (featurep 'xemacs).
24966         * org-publish.el (org-publish-project-alist): Update docstring.
24967         (org-publish-file-title-cache): New variable.
24968         (org-publish-initialize-files-alist):
24969         Initialize `org-publish-initialize-files-alist' to nil.
24970         (org-publish-sort-directory-files): New function.
24971         (org-publish-projects): Access the new properties.
24972         (org-publish-find-title): Use the file title cache.
24973         (org-publish-find-title): Build the file title cache.
24974         (org-publish-get-base-files-1): Sort files.
24975         (org-publish-aux-preprocess): Do not throw an error when before
24976         the first headline.  Allow an empty target, meaning to link just
24977         to the file.
24978         (org-publish-index-generate-theindex.inc): Check if there is
24979         actually a target and only then add it to the link.
24980         (org-publish-projects): Fix a remaining issue with the last commit.
24982         * org-html.el (org-export-as-html): Treat verse as open/close
24983         paragraph.
24984         (org-export-html-close-lists-maybe): Allow to splice raw HTML into
24985         and out of lists.
24987 2010-07-19  Dan Davison  <davison@stats.ox.ac.uk>
24989         * org-src.el (org-edit-src-code): Allow the org-src edit buffer to
24990         be used in a read-only mode.
24991         (org-edit-src-code): Different message in read-only mode.
24993 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24995         * org-src.el (org-edit-src-find-region-and-lang): Test for
24996         table.el as late as possible.
24998         * org-colview.el: Make sure this file is never loaded into XEmacs.
25000         * org-agenda.el (org-highlight, org-unhighlight): Use direct
25001         overlay calls.
25003         * org.el (org-key): Apply the translations defined in
25004         `org-xemacs-key-equivalents'.
25006         * org-mouse.el (org-mode-hook): Use `org-defkey'.
25008         * org-compat.el (org-xemacs-key-equivalents): New constant.
25010 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25012         * org-inlinetask.el (org-inlinetask-defaut-state): New option.
25013         (org-inlinetask-insert-task): Use `org-inlinetask-defaut-state'.
25014         Obey `org-odd-levels-only'.
25016         * org-compat.el (org-find-overlays): Use overlays-in/at.
25018         * org.el (org-remove-empty-overlays-at)
25019         (org-outline-overlay-data, org-hide-block-toggle)
25020         (org-format-latex, org-context): Use overlays-in/at.
25022         * org-src.el (org-edit-src-exit): Use overlays-in/at.
25024         * org-agenda.el (org-agenda-mark-clocking-task)
25025         (org-agenda-fontify-priorities, org-agenda-dim-blocked-tasks)
25026         (org-agenda-entry-text-hide)
25027         (org-agenda-fix-tags-filter-overlays-at)
25028         (org-agenda-bulk-remove-overlays): Use overlays-in/at.
25030         * org-compat.el (org-overlays-at): Function removed.
25031         (org-overlays-in): Function removed.
25033 2010-07-19  Bastien Guerry  <bzg@gnu.org>
25035         * org-clock.el (org-clock-set-current): Just return the headline
25036         itself, strip the TODO keyword, the priority cookie and the tags.
25038 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25040         * org-compat.el (org-xemacs-without-invisibility): New macro.
25041         (org-xemacs-without-invisibility): New macro.
25042         (org-indent-to-column, org-indent-line-to, org-move-to-column):
25043         Redefine using the macro `org-xemacs-without-invisibility'.
25045         * org.el (org-mode, org-org-menu): Use `add-to-invisibility-spec'.
25047         * org-table.el (orgtbl-mode): Use `add-to-invisibility-spec'.
25049         * org-compat.el (org-make-overlay, org-delete-overlay)
25050         (org-overlay-start, org-overlay-end, org-overlay-put)
25051         (org-overlay-get, org-overlay-move, org-overlay-buffer):
25052         Functions removed.
25053         (org-add-to-invisibility-spec): Function removed.
25055         * org-html.el (org-export-as-html-and-open): Add argument to
25056         kill-buffer.
25058         * org-habit.el (require): `calendar' is now required already by
25059         org.el on top level.
25061         * org-clock.el (require): `calendar' is now required already by
25062         org.el on top level.
25064         * org-agenda.el (require, org-timeline, org-agenda-list)
25065         (org-todo-list, org-agenda-to-appt): `calendar' is now required
25066         already by org.el on top level.
25068         * org.el (org-export-latex-fix-inputenc): Declare function.
25070         * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
25071         variables.
25073         * org.el (calendar): Require calendar now on top level in org.el
25074         and define aliases to new variables when needed.
25075         (org-read-date, org-goto-calendar): Do not bind obsolete
25076         variables.
25078         * org-clock.el (org-clock-out, org-clock-cancel): Get rid of
25079         compilation warning, add comment that this cannot be done with
25080         `with-current-buffer'.
25082         * org-wl.el (org-wl-open): Use `with-current-buffer'.
25084         * org.el (overlay, org-remove-empty-overlays-at)
25085         (org-outline-overlay-data, org-set-outline-overlay-data)
25086         (org-show-block-all, org-hide-block-toggle)
25087         (org-highlight-new-match, org-remove-occur-highlights)
25088         (org-tags-overlay, org-fast-tag-selection, org-date-ovl)
25089         (org-read-date, org-read-date-display, org-eval-in-calendar)
25090         (org-format-latex, org-context)
25091         (org-speedbar-restriction-lock-overlay)
25092         (org-speedbar-set-agenda-restriction): Use the normal overlay API.
25094         * org-table.el (org-table-add-rectangle-overlay)
25095         (org-table-remove-rectangle-highlight)
25096         (org-table-overlay-coordinates)
25097         (org-table-toggle-coordinate-overlays): Use the normal overlay
25098         API.
25100         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
25101         (org-edit-src-exit, org-src-mode-configure-edit-buffer): Use the
25102         normal overlay API.
25104         * org-colview.el (org-columns-new-overlay)
25105         (org-columns-display-here, org-columns-remove-overlays)
25106         (org-columns-edit-value, org-columns-next-allowed-value)
25107         (org-columns-update): Use the normal overlay API.
25109         * org-clock.el (org-clock-out, org-clock-cancel)
25110         (org-clock-put-overlay, org-clock-remove-overlays): Use the normal
25111         overlay API.
25113         * org-agenda.el (org-agenda-mark-filtered-text)
25114         (org-agenda-mark-clocking-task, org-agenda-fontify-priorities)
25115         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
25116         (org-agenda-entry-text-hide)
25117         (org-agenda-restriction-lock-overlay)
25118         (org-agenda-set-restriction-lock)
25119         (org-agenda-filter-by-tag-hide-line)
25120         (org-agenda-fix-tags-filter-overlays-at)
25121         (org-agenda-filter-by-tag-show-all, org-hl)
25122         (org-agenda-goto-calendar, org-agenda-bulk-mark)
25123         (org-agenda-bulk-remove-overlays): Use the normal overlay API.
25125         * org-freemind.el (org-freemind-from-org-mode-node)
25126         (org-freemind-from-org-mode)
25127         (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
25128         Use interactive-p instead of called-interactively, because this is
25129         backward compatible with older Emacsen I still support..
25131 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25133         * org-exp.el (org-export-define-heading-targets): Fix bug in
25134         regexp finding ID and CUSTOM_ID properties.
25136 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25138         * org-footnote.el (org-footnote-goto-previous-reference):
25139         Rename from `org-footnote-goto-next-reference'.
25141         * org.el (org-auto-repeat-maybe): Only record LAST_REPEAT if
25142         org-log-repeat is non-nil, or if there is clocking data in the
25143         entry.
25145         * org-crypt.el (org-encrypt-entry): Improve mapping behavior.
25147 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25149         * org.el (org-align-all-tags): New command.
25151 2010-07-19  David Maus  <dmaus@ictsoc.de>
25153         * org-wl.el (org-wl-link-remove-filter): New customizable
25154         variable.  If non-nil, filter conditions are stripped when storing
25155         link to message in filter folder.
25156         (org-wl-shimbun-prefer-web-links): New customizable variable.
25157         If non-nil, links to shimbun messages are created as web links to
25158         message source.
25159         (org-wl-nntp-prefer-web-links): New customizable variable.
25160         If non-nil, links to nntp message are created as web links to gmane
25161         or googlegroups.
25162         (org-wl-namazu-default-index): New customizable variable.
25163         Directory of namazu search index that should be used as default
25164         when opening a link in a search folder.
25165         (org-wl-folder-types): New constant.  Wanderlust folder type
25166         indicators.
25167         (org-wl-folder-type): New function.  Return type of Wanderlust
25168         folder.
25169         (org-wl-store-link): Create web links for shimbun or nntp messages
25170         and strip filter conditions depending on customizable variables.
25171         (org-wl-open): Open namazu search folder for message when called
25172         with prefix.
25174 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25176         * org.el (org-remove-if, org-remove-if-not): New functions.
25177         (org-open-file): Use internal remove-if functions.
25179 2010-07-19  Jan Böcker  <jan.boecker@jboecker.de>
25181         * org.el (org-file-apps-entry-match-against-dlink-p): New function.
25182         (org-file-apps-ex): Remove variable.
25183         (org-open-file): Integrate org-file-apps-ex functionality back
25184         into org-file-apps, and decide whether to match a regexp against
25185         the link or the filename using org-file-apps-entry-uses-grouping-p.
25187 2010-07-19  Jan Böcker  <jan.boecker@jboecker.de>
25189         * org.el (org-file-apps-ex): New variable.
25190         (org-open-file): Before considering org-file-apps, first match the
25191         regexps from org-file-apps-ex against the whole link.
25192         See docstring of org-file-apps-ex.
25194 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25196         * org.el (org-export-latex-default-packages-alist):
25197         Remove microtype package.
25198         (org-todo-repeat-to-state): New variable.
25199         (org-auto-repeat-maybe): Allow user-selected target states.
25200         (org-default-properties): Add the new property REPEAT_TO_STATE.
25202 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25204         * org-mobile.el (org-mobile-check-setup): Make sure that there is
25205         a binary to compute checksums.
25207 2010-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
25209         * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
25210         variables.
25212         * org.el (calendar): Require calendar now on top level in org.el
25213         and define aliases to new variables when needed.
25214         (org-read-date, org-goto-calendar): Do not bind obsolete
25215         variables.
25217 2010-06-22  Glenn Morris  <rgm@gnu.org>
25219         * org-entities.el: Add explicit utf-8 coding cookie to file with
25220         utf-8 characters.
25222 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
25224         * org.el (org-file-complete-link): Avoid (expand-file-name ".").
25226 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
25228         * Version 23.2 released.
25230 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
25232         * org-table.el (orgtbl-setup):
25233         * org-agenda.el (org-agenda-entry-text-mode): Simplify.
25235 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
25237         * org-table.el (orgtbl-mode): Use define-minor-mode.
25239 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25241         * org.el (org-insert-link): Find the link buffer on visible frames.
25242         (org-export-latex-default-packages-alist): Hyperref must be loaded
25243         late.
25244         (org-open-file): More care with the new matching for file links.
25246 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25248         * org-latex.el (org-export-latex-preprocess): Do not yet protect
25249         defined entities - these will be taken care of later.
25250         (org-export-latex-special-chars): Post-process entity replacement.
25251         (org-export-latex-fontify-headline): Do not yet protect defined
25252         entities - these will be taken care of later.
25253         (org-export-latex-tables, org-export-latex-links): Format the
25254         caption properly.
25256         * org-entities.el (org-entities-user): Fix typo.
25258         * org.el (org-prepare-agenda-buffers): Uniquify TODO keywords.
25260         * org-entities.el (org-entities-user): Improve docstring.
25262 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25264         * org-entities.el (org-macs): Require org-macs, to be sure that we
25265         have `declare-function' defined.
25267 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25269         * org-latex.el (org-export-latex-classes): Update docstring.
25271         * org.el (org-format-latex-header): Add cookies to the header.
25272         (org-splice-latex-header): Implement placement according to cookies.
25274 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25276         * org-publish.el (org-publish-aux-preprocess): Control case
25277         sensitivity.
25279 2010-04-10  Bastien Guerry  <bzg@gnu.org>
25281         * org.el (org-splice-latex-header): Fix typo.
25283 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25285         * org-latex.el (org-export-latex-make-header):
25286         Use `org-splice-latex-header' to build the header.
25287         (org-export-latex-classes): Update docstring.
25289         * org.el (org-splice-latex-header): New function.
25290         (org-create-formula-image): Use `org-splice-latex-header' to build
25291         the header.
25293         * org-gnus.el (org-gnus-follow-link): Handle nndoc backend.
25295 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25297         * org.el (org-export-latex-packages-alist)
25298         (org-export-latex-default-packages-alist): Fix docstring to
25299         reflect the expected structure.
25301         * org-docbook.el (org-docbook-do-expand): Fix bug with variable names.
25302         (org-export-docbook-finalize-table): Make use of label for tables.
25304 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25306         * org-attach.el (org-attach-commit): Split on newlines.
25308         * org.el (org-export-latex-default-packages-alist): Use list
25309         instead of cons for the entries.
25311 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25313         * org-entities.el (org-entity-get-representation): Catch the case
25314         that there is not entry in the list.
25316         * org-mobile.el (org-mobile-use-encryption)
25317         (org-mobile-encryption-tempfile, org-mobile-encryption-password):
25318         New options.
25319         (org-mobile-check-setup): CHeck the encryption setup.
25320         (org-mobile-copy-agenda-files, org-mobile-sumo-agenda-command)
25321         (org-mobile-create-sumo-agenda): Use encryption code.
25322         (org-mobile-encrypt-and-move): New function.
25323         (org-mobile-encrypt-file, org-mobile-decrypt-file):
25324         New functions.
25325         (org-mobile-move-capture): Decrypt the capture file.
25327         * org.el (org-entities): Require the new file.
25328         (org-export-latex-default-packages-alist): New variable.
25329         (org-complete): Use new entity code for completion.
25330         (org-create-formula-image): Use the new packages variable.
25332         * org-latex.el (org-export-latex-classes): Remove the standard
25333         packages from the class headers.
25334         (org-export-latex-make-header): Use the new package variable.
25335         (org-export-latex-special-chars): Better regexp for entities, to
25336         support entity name that contain numbers.
25337         (org-export-latex-treat-backslash-char): Use the new entity code.
25339         * org-html.el (org-html-do-expand): Use the new entity code.
25341         * org-exp.el (org-export): Add the new export commands.
25342         (org-html-entities): Constant removed.
25343         (org-export-visible): Add the new export commands.
25345         * org-docbook.el (org-docbook-do-expand): Use new entity code.
25347         * org-ascii.el (org-export-ascii-entities): New variable.
25348         (org-export-as-latin1, org-export-as-latin1-to-buffer)
25349         (org-export-as-utf8, org-export-as-utf8-to-buffer): New commands.
25350         (org-export-as-encoding): New function.
25351         (org-export-ascii-preprocess): Call `org-ascii-replace-entities'.
25352         (org-ascii-replace-entities): New function.
25354 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25355             Ulf Stegemann  <ulf@zeitform.de>
25357         * org-entities.el: New file.
25359 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25361         * org-html.el (org-html-level-start): Catch the case that target
25362         might be nil.
25364 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25366         * org.el (org-appearance): Change Customize group variable name
25367         from org-font-lock to org-appearance, and change tag from "Org
25368         Font Lock" to "Org Appearance".
25369         (org-odd-levels-only): Change Customize group variable name.
25370         (org-level-color-stars-only): Change Customize group variable name.
25371         (org-hide-leading-stars): Change Customize group variable name.
25372         (org-hidden-keywords): Change Customize group variable name.
25373         (org-fontify-done-headline): Change Customize group variable name.
25374         (org-fontify-emphasized-text): Change Customize group variable name.
25375         (org-fontify-whole-heading-line): Change Customize group variable name.
25376         (org-highlight-latex-fragments-and-specials): Change Customize
25377         group variable name.
25378         (org-hide-emphasis-markers): Change Customize group variable name.
25379         (org-emphasis-alist): Change Customize group variable name.
25380         (org-emphasis-regexp-components): Change Customize group variable
25381         name.
25382         (org-modules): Remove mention of org-R.
25384         * org-faces.el (org-faces): Change Customize group variable name.
25386 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25388         * org-agenda.el (org-diary-last-run-time): New variable.
25389         (org-diary): Prepare agenda buffers only if last call was some
25390         time ago.
25392         * org-html.el (org-export-html-preprocess): Replace \ref macros
25393         with a link.
25394         (org-format-org-table-html): Add the label as an anchor.
25396         * org-docbook.el (org-export-docbook-format-image): Do some
25397         formatting on captions.
25399         * org-latex.el (org-export-latex-tables, org-export-latex-links):
25400         Do some formatting on captions.
25402         * org-html.el (org-export-html-format-image)
25403         (org-format-org-table-html): Do some formatting on captions.
25405 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25407         * org.el (org-hidden-keywords): New customizable variable.  This is
25408         a list of symbols specifying which of the special keywords #+DATE,
25409         #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock.
25410         (org-fontify-meta-lines-and-blocks): Changes to font-lock code
25411         implementing new faces and hiding behavior.
25413         * org-faces.el (org-document-title): New face for #+TITLE lines.
25414         (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines.
25415         (org-document-info-keyword): New face for #+DATE, #+AUTHOR, #+EMAIL
25416         keywords.
25418 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25420         * org-publish.el (org-publish-sanitize-plist): New function to
25421         rename "index" properties to "sitemap".  Do this renaming
25422         globally.
25423         (org-publish-with-aux-preprocess-maybe): New macro.
25424         (org-publish-org-to-pdf, org-publish-org-to-html): Use the new
25425         macro.
25426         (org-publish-aux-preprocess)
25427         (org-publish-index-generate-theindex.inc): New function.
25429 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25431         * org-table.el (org-table-align): Interpret <N> at fixed width,
25432         not as maximum width.
25434 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25436         * org-exp.el (org-export-author-info, org-export-email-info):
25437         Fix docstrings.
25439         * org-beamer.el (org-beamer-select-environment): Rename from
25440         `org-beamer-set-environment-tag'.  Improve docstring.
25442         * org-freemind.el (org-freemind-write-mm-buffer): Fix another
25443         problem with odd levels.
25445         * org-ascii.el (org-export-as-ascii): Export email only if the
25446         author wants it.
25448         * org-docbook.el (org-export-as-docbook): Export email only if the
25449         author wants it.
25451         * org-html.el (org-export-as-html): Export email only if the
25452         author wants it.
25454         * org-exp.el (org-export-email-info): New option.
25455         (org-export-plist-vars): Add entry for `org-export-email'.
25457 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25459         * org-table.el (org-table-goto-line): Fix typo.
25461 2010-04-10  Mikael Fornius  <mfo@abc.se>
25463         * org.el (org-agenda-files): Typo.
25464         (org-read-agenda-file-list): Add optional argument to help
25465         `org-store-new-agenda-file-list' to remember un-expanded file
25466         names.  Expand file names relative to `org-directory'.
25467         (org-store-new-agenda-file-list): Keep un-expanded file names when
25468         saving, if available.
25469         (org-agenda-files): Update documentation.
25471 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25473         * org-ascii.el (org-export-as-ascii): Catch the case of exporting
25474         a buffer with no file name attached.
25476         * org.el (org-log-refile): New option.
25477         (org-log-note-headings): Add a heading for refiling.
25478         (org-startup-options): Add keywords for logging of the refile
25479         action.
25480         (org-refile): Add logging action.
25481         (org-add-log-note): Allow for refiling action.
25483         * org-agenda.el (org-agenda-bulk-action): Make sure
25484         `org-log-refile' is not `note' during a bulk action.
25486 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25488         * org.el (org-map-dblocks): Use save-excursion to remember the
25489         position.
25491         * org-attach.el (org-attach-commit): Remove dependence on xargs.
25492         (org-attach-delete-one): Commit after deleting a file.
25494         * org-latex.el (org-export-latex-fontify): Do not mistake table.el
25495         borders for strike-through emphasis.
25497         * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
25498         handling of odd levels.
25500         * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
25501         and `future' values.
25502         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
25503         Handle `past' and `future' values.
25505         * org.el (org-read-agenda-file-list): Interpret file names
25506         relative to org-directory and allow environment variables and
25507         "~".
25509         * org-latex.el (org-export-latex-special-chars): Allow a
25510         parenthesis before an exponent or subscript.
25512 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25514         * org-src.el (org-edit-src-exit): When returning from code edit
25515         buffer, if code block is hidden, leave point at start of
25516         #+begin_src line.
25518 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25520         * org.el (org-insert-heading): Do not remove all spaces if the
25521         headline is empty.
25523         * org-indent.el (org-indent): Fix group name.
25525 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25527         * org-table.el (org-table-goto-column): Fix forcing a non-existing
25528         column.
25529         (org-table-get, org-table-put, org-table-goto-line)
25530         (org-table-current-line): New functions.
25532 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
25534         * org.el (org-open-file): Allow regular expressions in
25535         org-file-apps to capture link parameters using groups.  In a
25536         command string to be executed, the parameters can be referenced
25537         using %1, %2, etc.  Lisp forms can access them using
25538         (match-string n link).
25539         (org-apps-regexp-alist): Adopt the created regexp, as this is now
25540         matched against a file: link instead of the file name.
25542 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25544         * org-crypt.el (org-reveal-start-hook): Add a decryption function
25545         to this hook.
25546         (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry):
25547         Add docstrings.
25549         * org.el (org-point-at-end-of-empty-headline)
25550         (org-level-increment, org-get-previous-line-level): New function.
25551         (org-cycle-level): Rewritten to be independent of when this
25552         function is called.
25553         (org-in-regexps-block-p): New function.
25554         (org-reveal-start-hook): New hook.
25555         (org-reveal): Run new hook.
25557 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25559         * org-latex.el (org-export-latex-keywords): Start a new paragraph
25560         after time keywords, do not add "\newline".
25562         * org-html.el (org-export-as-html): Avoid double # in href.
25564         * org.el (org-refile-get-location): Catch an invalid target
25565         specification.
25567 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25569         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
25570         Make sure the behavior regarding to extracting time is
25571         consistent.
25573 2010-04-10  Stephen Eglen  <stephen@gnu.org>
25575         * org-agenda.el (org-agenda-insert-diary-extract-time):
25576         New variable.
25577         (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
25578         variable rather than `org-agenda-search-headline-for-time'.
25580 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25582         * org-list.el (org-fix-bullet-type): Improve cursor positioning.
25584 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25586         * org.el (org-adaptive-fill-regexp-backup): New variable.
25587         (org-set-autofill-regexps): Store a backup of
25588         `adaptive-fill-regexp'.
25589         (org-adaptive-fill-function): Fix filling of comments and ordered
25590         lists.  If there is no other match, till try adaptive fill.
25592 2010-04-10  John Wiegley  <jwiegley@gmail.com>
25594         * org-agenda.el (org-agenda-include-deadlines): Add new
25595         customization variable to determine whether unscheduled tasks
25596         should appear in the agenda solely because of their deadline.
25597         Default to true, which was the previous behavior (it just wasn't
25598         configurable).
25599         (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
25600         the agenda to show/hide deadline tasks.
25601         (org-agenda-menu): Add menu option for show/hide deadlines.
25602         (org-agenda-list): Make the agenda list sensitive to the value of
25603         `org-agenda-include-deadlines'.
25604         (org-agenda-toggle-deadlines): New function to toggle the value of
25605         `org-agenda-include-deadlines' and repaint the modeline
25606         indicators.
25607         (org-agenda-set-mode-name): Show "Deadlines" in the agenda
25608         modeline if deadline tasks are being displayed.
25610 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25612         * org-table.el (org-table-eval-formula): Replace $# and @# by
25613         current column and row number.
25615 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25617         * org.el (org-set-property, org-delete-property): Go back to
25618         prompting for the property.
25620         * org-latex.el (org-export-latex-make-header): Fully process
25621         author line.
25622         (org-export-latex-fontify-headline): Allow several arguments, not
25623         just one.
25624         (org-export-latex-fix-inputenc): Catch the error when
25625         `latexenc-coding-system-to-inputenc' is not defined.
25627         * org-agenda.el (org-agenda-skip-if-todo): New function.
25628         (org-agenda-skip-if): Add conditions for TODO keywords.
25629         (org-agenda-skip-if): Document the new todo conditions.
25631 2010-04-10  Mikael Fornius  <mfo@abc.se>
25633         * org.el (org-at-property-p): Check if we are inside a property
25634         drawer not just any drawer.
25635         (org-set-property, org-delete-property): When cursor is on a
25636         property key value pair do not prompt for property name instead
25637         use name at cursor.
25638         (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
25639         on the first line of a property drawer.
25640         (org-property-end-re): Spell check.
25642 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25644         * org-exp.el (org-export-attach-captions-and-attributes): Add the
25645         properties to the entire table, in case the first line is
25646         removed.
25648         * org-archive.el (org-archive-reversed-order): New option.
25649         (org-archive-subtree, org-archive-to-archive-sibling): Use the new
25650         option `org-archive-reversed-order'.
25652 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25654         * org-agenda.el (org-agenda-entry-types): New variable.
25655         (org-agenda-list): Use `org-agenda-entry-types'.
25656         (org-agenda-custom-commands-local-options): Support for setting
25657         `org-agenda-entry-types' as an option.
25658         (org-diary): Shift some documentation from here to the variable
25659         `org-agenda-entry-types'.
25661 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25663         * org-latex.el (org-export-latex-make-header): Apply macros in
25664         author field.
25666         * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
25667         (org-clock-select-task, org-clock-notify-once-if-expired)
25668         (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
25669         (org-clock-out-if-current, org-clock-save): Use the new functions.
25671 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25673         * org-docbook.el (org-export-as-docbook): Remove unnecessary
25674         newline.
25675         (org-export-as-docbook): Remove unnecessary newline.
25676         (org-export-as-docbook): Fix problem with double footnote
25677         reference in one place.
25679         * org-exp.el (org-export-format-source-code-or-example):
25680         Remove unnecessary newline.
25682         * org.el (org-deadline, org-schedule): Allow rescheduling entries
25683         with repeaters.
25685         * org-table.el (org-table-convert-refs-to-rc): Better way to catch
25686         function calls that look like references.
25688         * org.el (org-open-at-point): Get link abbreviations from
25689         reference buffer.
25691 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25693         * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
25694         as a reference.
25696 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25698         * org.el (org-link-unescape): Solve issue with lower-case escapes.
25700 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25702         * org-latex.el (org-export-latex-classes):
25703         Add \usepackage{latexsym} to all classes.
25705 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25707         * org-html.el (org-export-as-html): Do not allow protected lines
25708         into the table of contents.
25710         * org-latex.el (org-export-latex-special-chars): Find subsequent
25711         occurrences of special characters.
25712         (org-export-latex-tables): Do not convert table-like stuff that is
25713         protected.
25715 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25717         * org-list.el (org-toggle-checkbox): No errors when updating
25718         checkbox count fails because there is no heading.
25720 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25722         * org-clock.el (org-clock-report-include-clocking-task):
25723         New option.
25724         (org-clock-sum): Add the current clocking task.
25726 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25728         * org.el (org-cycle): Print a message when in a table.el table.
25729         (org-edit-special): Recognize the table.el context.
25730         (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
25732         * org-src.el (org-at-table.el-p): Declare.
25733         (org-edit-src-code): Handle a special case for table.el editing.
25734         (org-edit-src-find-region-and-lang): Recognize the table.el
25735         context.
25737         * org-latex.el (org-export-latex-tables): Convert table.el
25738         tables.
25739         (org-export-latex-convert-table.el-table): New function.
25741         * org-html.el (org-html-expand): Fix table.el export.
25743         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
25744         headings.
25746         * org-id.el (org-id-find-id-file): Fix bug when there is no hash
25747         table for the id locations.
25749         * org.el (org-read-date-analyze): Match American-style dates, like
25750         5/30 or 5/13/7.  Make sure cal-iso.el is loaded.  Don't force he
25751         current year when reading ISO and American dates.
25753 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25755         * org.el (org-face-from-face-or-color): New function.
25756         (org-get-todo-face, org-font-lock-add-priority-faces)
25757         (org-get-tag-face): Use `org-face-from-face-or-color'.
25759         * org-faces.el (org-todo-keyword-faces, org-priority-faces):
25760         Allow simple colors as values.
25761         (org-faces-easy-properties): New option.
25763         * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
25764         restricted, as an agenda mode.
25765         (org-agenda-fontify-priorities): Allow simple colors as values.
25767 2010-04-10  Bastien Guerry  <bzg@gnu.org>
25769         * org-timer.el (org-timer-current-timer): Rename from
25770         `org-timer-last-timer'.
25771         (org-timer-timer1, org-timer-timer2, org-timer-timer3): Remove.
25772         (org-timer-cancel-timer, org-timer-show-remaining-time)
25773         (org-timer-set-timer): Update to use only one timer.
25775         * org.el (org-set-property): Remove useless space in the prompt.
25777 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25779         * org-html.el (org-export-html-style-default): Add a default style
25780         for textareas.
25782         * org-exp.el (org-export-format-source-code-or-example):
25783         Fix textarea tag.
25785 2010-04-10  Bastien Guerry  <bzg@gnu.org>
25787         * org-clock.el (org-clock-current-task): New variable to store
25788         last clocked in task.
25789         (org-clock-set-current, org-clock-delete-current): New functions.
25791 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25793         * org-remember.el (org-remember-apply-template): Extend comment.
25794         (org-remember-handler): Implement clock sibling filing.
25796 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25798         * org-publish.el (org-publish-all, org-publish-current-file)
25799         (org-publish-current-project): When called with prefix argument
25800         FORCE, also rebuild the validation file list.
25802         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
25803         section headings.
25805 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25807         * org-html.el (org-export-as-html-and-open): Kill product buffer
25808         if the user wants that.
25810         * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
25811         if the user wants that.
25813         * org-exp.el (org-export-kill-product-buffer-when-displayed):
25814         New option.
25816         * org-agenda.el (org-batch-agenda-csv): Use the time property
25817         instead of the `time-of-day' property.
25819 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25821         * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
25822         (org-timer-pause-hook, org-timer-set-hook)
25823         (org-timer-cancel-hook): New hooks.
25824         (org-timer-start): Run `org-timer-start-hook'.
25825         (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
25826         (org-timer-stop): Run `org-timer-stop-hook'.
25827         (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
25829 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25831         * org.el (org-reveal): Double prefix arg shows the subtree of the
25832         parent.
25834 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25836         * org-agenda.el (org-search-view): Fix bug with searching full
25837         words in headlines in search view.
25838         (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
25839         (org-agenda-get-deadlines): Suppress pre-warning if the entry is
25840         scheduled (if the user configures it so.
25842 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25844         * org.el (org-hide-archived-subtrees): Don't jump to end of
25845         subtree if the match was not in a headline.
25846         (org-inside-latex-macro-p): Allow more complex arguments.
25847         (org-emphasize): Protect against use at end of buffer.
25849 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25851         * org-agenda.el (org-agenda-align-tags): Avoid side effects on
25852         text properties.
25854 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25856         * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
25857         values.
25858         (org-agenda-todo-ignore-scheduled)
25859         (org-agenda-todo-ignore-deadlines): More control with different
25860         allowed values.
25861         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
25862         Honor the new option settings.
25864 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25866         * org.el (org-get-location): Make sure the selection buffer is
25867         shown in the current frame.
25869         * org-ascii.el (org-export-ascii-table-widen-columns):
25870         New option.
25871         (org-export-ascii-preprocess): Realign tables to remove narrowing
25872         if `org-export-ascii-table-widen-columns' is set.
25874         * org-table.el (org-table-do-narrow): New variable.
25875         (org-table-align): Narrow only if `org-table-do-narrow' is t.
25877         * org.el (org-deadline, org-schedule): Allow updating if the
25878         relevant time stamp does not have a repeater, i.e. do not require
25879         that no time stamp has a repeater.
25881         * org-agenda.el (org-agenda-align-tags): Don't add a face to the
25882         new white space before the tags.
25884         * org-latex.el (org-export-as-latex): Do nit require the buffer to
25885         be visiting a file when only exporting to a buffer or string.
25886         (org-export-latex-fix-inputenc): Only save the buffer is there is
25887         a file name attached to it.
25889 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25891         * org-src.el (org-edit-src-exit): Widen before exiting edit buffers.
25893 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25895         * org.el (org-fontify-meta-lines-and-blocks):
25896         Honor `org-fontify-quote-and-verse-blocks'.
25898         * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
25900 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25902         * org.el (org-open-at-point): Also check for text property
25903         org-linked-text before offering collected links.
25905 2010-04-10  Stephen Eglen  <stephen@gnu.org>
25907         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
25908         Optionally extract time specification from text and add to the
25909         timestamp.
25911 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25913         * org-exp.el (org-html-entities): Fix typo.
25915         * org-latex.el (org-export-latex-make-header): Use \providecommand
25916         to make sure the \alert macro is defined.
25918         * org.el (org-format-latex-signal-error)
25919         (org-create-formula-image): Use `org-format-latex-signal-error'.
25921 2010-04-10  Stephen Eglen  <stephen@gnu.org>
25923         * org.el (org-store-link): For dired buffers, use
25924         default-directory as link name if dired-get-filename returns
25925         nil.
25927 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25929         * org-exp.el (org-export-concatenate-multiline-links): The for
25930         protectedness at beginning of match.
25932         * org-latex.el (org-export-latex-fix-inputenc): Never leave the
25933         AUTO as a coding system, instead default to utf8.
25935 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25937         * org.el (org-block-todo-from-children-or-siblings-or-parent)
25938         (org-block-todo-from-checkboxes): Respect the local variable
25939         value when deciding if blocking should be active.
25941         * org-latex.el (org-export-latex-make-header): Define the align
25942         macro if it is not yet defined.
25944         * org-agenda.el (org-agenda-insert-diary-make-new-entry):
25945         Call `org-insert-heading' with the INVISIBLE-OK argument.
25947         * org-mac-message.el (org-mac-message-insert-flagged):
25948         Call `org-insert-heading' with the INVISIBLE-OK argument.
25950         * org.el (org-insert-heading): New argument INVISIBLE-OK.
25952         * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
25953         prompt message.
25955         * org-html.el (org-html-level-start): Use the
25956         `html-container-class' text property to set an additional class
25957         for an outline container.
25959         * org-exp.el (org-export-remember-html-container-classes):
25960         New function.
25961         (org-export-preprocess-string):
25962         Call `org-export-remember-html-container-classes'.
25964         * org.el (org-cycle): Mention level cycling in the docstring.
25965         (org-default-properties): Add new property HTML_CONTAINER_CLASS.
25967         * org-remember.el (org-remember-apply-template): Do file insertion
25968         first.
25970 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25972         * org-habit.el (org-habit-insert-consistency-graphs): Fix a
25973         problem with mis-aligned graphs when showing habits.
25975 2010-04-10  Mikael Fornius  <mfo@abc.se>
25977         * org.el (org-assign-fast-keys): Prefer keys used in keyword name
25978         when assigning.  Begin using numerical characters when all in name
25979         is used up.  This is to spare alphanumeric characters for better
25980         match with other keywords.
25982 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25984         * org-exp.el (org-export-preprocess-hook): Improve documentation.
25986         * org-latex.el (org-export-latex-preprocess): More consistent
25987         conversion and protection of the words LaTeX and TeX.
25988         (org-export-latex-fontify-headline, org-export-latex-preprocess):
25989         Allow angle brackets in commands, for beamer.
25991 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25993         * org-clock.el (org-clock-in): Improve the look of the clock line
25994         by formatting links.
25996 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25998         * org-latex.el (org-export-latex-classes): Use AUTO as the place
25999         holder string for the coding system.  And improve the
26000         documentation.
26001         (org-export-latex-fix-inputenc): Only modify the coding system if
26002         it is given by the placeholder AUTO.
26004 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26006         * org-clock.el (org-task-overrun-text): New option.
26007         (org-task-overrun, org-clock-update-period): New variables.
26008         (org-clock-get-clock-string, org-clock-update-mode-line):
26009         Mark overrun clock.
26010         (org-clock-notify-once-if-expired): Check if clock is overrun.
26012         * org-faces.el: New face `org-mode-line-clock-overrun'.
26014 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
26016         * org.el (org-narrow-to-subtree): Position the end of the narrowed
26017         region before the line with the next heading, to prevent the user
26018         from prepending text to the next headline.
26020 2010-04-10  Stephen Eglen  <stephen@gnu.org>
26022         * org-agenda.el (org-get-time-of-day):
26023         Use org-agenda-time-leading-zero to allow leading zero (rather than
26024         space) for times.
26026 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26028         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
26029         org-datetree.el is loaded.
26031         * org-datetree.el: Autoload `org-datetree-find-day-create'.
26033         * org-latex.el (org-export-latex-hyperref-format): New option.
26034         (org-export-latex-links): Use `org-export-latex-hyperref-format'.
26036 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26038         * org-ctags.el (org-ctags-enable): Change order of functions.
26039         (org-ctags-create-tags): Add wildcard to file name expansion.
26041 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26043         * org.el (org-entry-properties): Fix some important bugs.
26045 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26047         * org.el (org-link-unescape, org-link-escape): Only use hexlify if
26048         the table is not explicitly given.
26050 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26052         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
26053         as value.
26054         (org-clock-out-if-current): Work with the new list value of
26055         `org-clock-out-when-done'.
26056         (org-clock-out, org-clock-out-if-current): Avoid circular logic
26057         between clocking out and state changes.
26059         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
26061         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
26062         accident protect a character that is before a backslash.
26064 2010-04-10  Paul Sexton  <eeeickythump@gmail.com>
26066         * org-ctags.el: New file.
26068 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26070         * org-agenda.el (org-diary-class):
26071         Use `org-order-calendar-date-args'.
26073         * org.el (org-order-calendar-date-args): New function.
26075         * org-exp.el (org-export-target-internal-links): Check for
26076         protectedness after the first bracket.
26078         * org.el (org-entry-properties): Don't match wrong-case TODO
26079         keywords.
26081         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
26082         Document that ARG is passed through to remove the date.
26083         (org-agenda-bulk-action): Accept prefix arg and pass it on.
26084         Do not read a date when the user has given a `C-u' prefix.
26086 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26088         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
26089         tags are hidden.
26091 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26093         * org-latex.el (org-export-latex-fix-inputenc): New function.
26094         (org-export-latex-inputenc-alist): New option.
26096         * org-exp.el (org-export): New key SPC to publish enclosing
26097         subtree.
26099 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26101         * org-indent.el (org-indent-add-properties): Catch case when there
26102         is no headline in the buffer.
26104 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26106         * org-exp.el (org-html-entities): Add checkmark symbol.
26108         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
26109         verbatim code for ASCII export.
26111         * org.el (org-update-statistics-cookies): Also see checkboxes in
26112         ordered lists.
26114 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26116         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
26117         key.
26119         * org-beamer.el (org-beamer-amend-header): Change the location
26120         where `org-beamer-header-extra' is inserted.
26122         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
26123         just for computing this regexp.
26125 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26127         * org-beamer.el (org-beamer-frame-default-options): New option.
26128         (org-beamer-sectioning): Use default options if the user does not
26129         have defined any.
26130         (org-beamer-fix-toc): Put a frame around the table of contents.
26132         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
26133         Make sure case-folding works well when processing comment stuff.
26135         * org-latex.el (org-export-latex-after-save-hook): New hook.
26136         (org-export-as-latex): Run the new hook.
26138 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26140         * org-beamer.el (org-beamer-environments-default): Add the note
26141         environments.
26142         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
26143         lines and collect and combine the content.
26144         (org-beamer-after-initial-vars): Check for note tags and make sure
26145         they will be seen like a property.
26147         * org.el (org-offer-links-in-entry): Fix bug when there is a
26148         single link.
26150         * org-exp.el (org-export): Make sure the mark is activated, also
26151         when `transient-mark-mode' is off.
26153         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
26154         (org-agenda-search-view-search-words-only): Obsolete variable, is
26155         now an alias for `org-agenda-search-view-always-boolean'.
26156         (org-agenda-search-view-force-full-words): New option.
26157         (org-search-view): Improve docstring, and implement a better logic
26158         for Boolean and phrase searches.
26159         (org-agenda-last-search-view-search-was-boolean): New variable.
26160         (org-agenda-manipulate-query): Consider the type of the last
26161         search when modifying the search string.
26163 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26165         * org-latex.el (org-export-as-latex): Do the first letbind in the
26166         right moment.
26168         * org-agenda.el (org-get-entries-from-diary): Add the new face to
26169         these entries.
26171         * org-faces.el (org-agenda-diary): New face.
26173         * org.el (org-make-link-regexps): Allow regexp-special characters
26174         in link types.
26175         (org-open-file): When in-emacs is `system', also force system
26176         opening, like when the value was `(16)'.
26177         (org-update-statistics-cookies): Handle entries without children.
26179         * org-exp.el
26180         (org-export-preprocess-before-normalizing-links-hook): New hook.
26181         (org-export-preprocess-string): Run the new hook.
26183         * org.el (org-offer-links-in-entry): Make RET open all links.
26185         * org-html.el (org-export-as-html): Remove any leftover display
26186         properties in the html file.
26188         * org-wl.el (org-wl-store-link): Work-around for format bug with
26189         text properties.
26191         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
26192         invisibility while adding the graphs.
26194 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26196         * org-remember.el (org-select-remember-template): Use C letter to
26197         customize remember templates.
26199         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
26200         Move cursor to next visible line.
26202 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26204         * org-beamer.el (org-beamer-sectioning): Leave columns environment
26205         by specifying 0 or 1 for column width.
26206         (org-beamer-column-widths): Make 0 stand for 0.0.
26208 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26210         * org-exp.el (org-export-mark-radio-links): Don't match inside
26211         <<target>>.
26213         * org.el (org-format-latex-header-extra): New variable.
26214         (org-format-latex): Set org-format-latex-header-extra from
26215         in-buffer stuff.
26216         (org-format-latex): Add org-format-latex-header-extra to the
26217         variables on which image creation depends.
26218         (org-create-formula-image): Add the header stuff from in-buffer
26219         settings.
26220         (org-read-date-analyze): Base the analysis for future preference
26221         on NOW, not on the default date.
26223         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
26224         for TODO keyword in inline tasks.
26226         * org.el (org-log-note-headings): New headings for removing
26227         deadline or scheduling date.
26228         (org-deadline, org-schedule): Arrange for logging when removing a
26229         date.
26230         (org-add-log-note): Handle deadline and scheduling removal.
26232 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26234         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
26236 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26238         * org-agenda.el (org-diary-class): New function.
26240 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26242         * org-latex.el (org-export-latex-preprocess): Do process the text
26243         of a radio target.
26245 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26247         * org.el (org-entry-properties): Add TIMESTAMP properties back
26248         in.
26250 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26252         * org.el (org-all-time-keywords): New variable.
26253         (org-set-regexps-and-options): Set `org-all-time-keywords'.
26254         (org-entry-blocked-p): New function.
26255         (org-special-properties): Add BLOCKED as a new special property.
26256         (org-entry-properties): New optional argument SPECIFIC, only parse
26257         for this property when it is specified.
26258         (org-entry-get): Pass a SPECIFIC argument to
26259         `org-entry-properties'.
26261         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
26263 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26265         * org-latex.el (org-export-latex-tables): No forced line end if
26266         there is no caption.
26268 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26270         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
26271         package.
26273         * org-latex.el (org-export-latex-tables): Only add a caption when
26274         macro is in longtable environments if one has been defined.
26276         * org-html.el (org-export-as-html): Only take title from buffer if
26277         not exporting body-only.
26279         * org-latex.el (org-export-latex-preprocess): Better version of
26280         the regular expression for protecting LaTeX macros.
26281         (org-export-latex-preprocess): Start searching for macros to
26282         protect from beginning of buffer.
26284         * org-exp.el (org-export-target-internal-links): Check for
26285         protectedness earlier in the string.
26287         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
26288         case sensitively.
26290         * org-id.el (org-id-store-link): Match TODO keywords case
26291         sensitively.
26293         * org.el (org-heading-components, org-get-outline-path)
26294         (org-display-outline-path): Match TODO keywords case sensitively.
26296         * org-latex.el (org-export-as-latex): Ignore read-only
26297         properties.
26299         * org-exp.el (org-export-preprocess-string): Remove any
26300         `read-only' properties.
26302         * org-agenda.el (org-agenda-inactive-leader): New option.
26303         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
26304         (org-tags-view): Prompt for matcher if MATCH is an empty string.
26305         (org-todo-list): Prompt for matcher if ARG is an empty string.
26307 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26309         * org.el (org-open-link-functions): New hook.
26310         (org-open-at-point): Run `org-open-link-functions'.
26312 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26314         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
26315         stamps as well.
26317         * org.el (org-inhibit-startup-visibility-stuff): New variable.
26318         (org-mode): Don't do startup visibility if inhibited.
26319         (org-outline-overlay-data, org-set-outline-overlay-data):
26320         New functions.
26321         (org-save-outline-visibility): New macro.
26322         (org-log-note-headings): Document that one should not change the
26323         `state' note format.
26325 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26327         * org.el (org-make-link-regexps): Capture link path into a group.
26329 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26331         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
26332         the options plist.
26334 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26336         * org.el (org-startup-with-beamer-mode): New option.
26337         (org-property-changed-functions)
26338         (org-property-allowed-value-functions): New hooks.
26339         (org-entry-put, org-property-get-allowed-values): Run the new
26340         hooks.
26341         (org-property-next-allowed-value): Run the new hooks.
26343         * org-exp.el (org-export-select-backend-specific-text): Add the
26344         special beamer tags.
26346         * org-beamer.el: New file.
26348         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
26349         (org-export-as-latex):
26350         Run `org-export-latex-after-initial-vars-hook'.
26351         (org-export-latex-format-toc-function)
26352         (org-export-latex-make-header):
26353         Call `org-export-latex-format-toc-function'.
26355         * org.el (org-fill-template): Make template searches case sensitive.
26357         * org-exp.el (org-export): Use "1" as a sign to export only the
26358         subtree.
26360         * org-colview.el (org-columns-edit-value):
26361         Use org-unrestricted property.
26363         * org.el (org-compute-property-at-point): Set org-unrestricted
26364         text property if the list contains ":ETC".
26365         (org-insert-property-drawer):
26366         Use org-unrestricted property.
26368         * org-exp.el
26369         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
26370         (org-export-preprocess-string):
26371         Run `org-export-preprocess-before-selecting-backend-code-hook'.
26373         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
26375         * org-latex.el (org-export-region-as-latex):
26376         Run `org-export-first-hook'.
26378         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
26380         * org-docbook.el (org-export-as-docbook):
26381         Run `org-export-first-hook'.
26383         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
26385         * org-exp.el (org-export-first-hook): New hook.
26387 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26389         * org-list.el (org-previous-item): Exit at the beginning of the
26390         buffer.
26392         * org-id.el (org-id-locations-save): Only write the id locations
26393         if any are defined.
26395         * org-archive.el (org-archive-all-done): Make this work in a file
26396         with org-odd-levels-only set.
26398         * org.el (org-get-refile-targets): Catch the case when a buffer
26399         has no file.
26401         * org-latex.el (org-export-as-latex): Cleanup forced line ends
26402         where they are not needed.
26403         (org-export-latex-subcontent): Remove unnecessary newlines.
26405 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26407         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
26408         (org-export-latex-fontify): Fix regexp bug that takes special
26409         care of protecting the right boundary characters in emphasis
26410         matches.
26411         (org-export-latex-preprocess): Allow multiple arguments to latex
26412         macros.
26414         * org.el (org-make-link-regexps): Use John Gruber's regexp for
26415         urls.
26417         * org-macs.el (org-re): Interpret :punct: in regexps.
26419         * org-exp.el (org-export-replace-src-segments-and-examples):
26420         Also take the final newline after the END line.
26422         * org.el (org-clean-visibility-after-subtree-move): Only fix
26423         entries that are not entirely invisible already.
26424         (org-insert-link): Respect org-link-file-path-type for
26425         "docview:" links in addition to "file:" links.
26427 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26429         * org-exp.el (org-export-format-source-code-or-example):
26430         Avoid additional extra white lines in LaTeX.
26432         * org-list.el (org-list-parse-list): Leave empty lines after the
26433         list, don't consider them as part of the list.
26435         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
26436         searches.
26438         * org-clock.el (org-clock-select-task): Convert integer to
26439         character for XEmacs.
26441 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26443         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
26444         compatible.
26446 2010-04-10  Tassilo Horn  <tassilo@member.fsf.org>
26448         * org.el (org-complete-tags-always-offer-all-agenda-tags):
26449         New variable.
26450         (org-set-tags): Use it.
26452 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26454         * org-list.el (org-empty-line-terminates-plain-lists):
26455         Update docstring.
26457         * org.el (org-format-latex): Fix link creation for processed latex
26458         snippets.
26460 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26462         * org-footnote.el (org-footnote-normalize): Protect replacement
26463         text.
26465         * org.el (org-inside-latex-macro-p): Save match data.
26467 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
26469         * org-docview.el: New file.
26471 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26473         * org-latex.el (org-export-latex-class-options): New variable.
26474         (org-export-latex-set-initial-vars): Use the class options.
26476         * org.el (org-forward-same-level): Stop at headings that start
26477         with an invisible character.
26478         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
26480 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26482         * org-footnote.el (org-footnote-normalize): Don't take optional
26483         arguments in LaTeX macros as footnotes.
26485         * org.el (org-inside-latex-macro-p): New function.
26487         * org-latex.el (org-latex-to-pdf-process): Change customization
26488         group to `org-export-pdf'.
26490         * org-agenda.el (org-agenda-get-blocks): Look at time string also
26491         on days after the first one.
26493         * org.el (org-insert-heading): Also check for item before assuming
26494         before-first-heading condition.
26496         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
26497         (org-export-pdf-logfiles): New option.
26498         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
26499         (org-export-pdf-logfiles): Fix customization type.
26501         * org.el (org-insert-link): Improve error message when there is no
26502         default link to select with RET.
26504         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
26505         parameter list.
26507 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26509         * org-latex.el (org-export-latex-parse-global)
26510         (org-export-latex-parse-content)
26511         (org-export-latex-parse-subcontent):
26512         Use `org-re-search-forward-unprotected'.
26513         (org-export-as-pdf): Remove log files produced by XeTeX.
26515         * org-macs.el (org-re-search-forward-unprotected): New function.
26517 2010-04-10  James TD Smith  <ahktenzero@mohorovi.cc>
26519         * org-colview.el (org-agenda-colview-summarize): Sort out some
26520         confusion between properties and titles, which resulted in
26521         agenda summaries not working if a title was set for a column.
26523 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26525         * org-mobile.el (org-mobile-agendas): New option.
26526         (org-mobile-sumo-agenda-command): Select the right agendas.
26528         * org-latex.el (org-export-latex-format-image): Preserve the
26529         original-indentation property.
26531 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26533         * org-clock.el (org-clock-insert-selection-line): Catch error when
26534         an old tasks no longer exists.
26536         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
26537         (org-export-as-pdf): Don't remove the old PDF file before making
26538         the new one.
26540         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
26541         (org-mouse-context-menu): Use `org-looking-back'.
26543         * org.el (org-cycle-level): Use `org-looking-back'.
26545         * org-list.el (org-cycle-item-indentation):
26546         Use `org-looking-back'.
26548         * org-compat.el (org-looking-back): New function.
26550         * org.el (org-insert-heading): Catch before-first-headline when
26551         inserting a headline.
26553 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26555         * org-latex.el (org-export-latex-format-image): Indent figure
26556         environment, so that it does not interrupt plain list.
26558         * org.el (org-open-at-point): Allow long link descriptions.
26560 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26562         * org-html.el (org-export-as-html): Remove empty lines at the
26563         beginning of the exported text.
26565 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
26567         * org.el (org): Remove from hypermedia group.
26569 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
26571         * Branch for 23.2.
26573 2010-02-15  Chong Yidong  <cyd@stupidchicken.com>
26575         * org-freemind.el (org-freemind-from-org-mode-node)
26576         (org-freemind-from-org-mode)
26577         (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
26578         Pass arg to called-interactively-p.
26580 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
26582         * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten):
26583         Fix typos in docstrings.
26585 2010-01-01  Juanma Barranquero  <lekktu@gmail.com>
26587         * org.el (org-get-outline-path, org-speed-command-help):
26588         Fix typos in error messages.
26590 2009-12-14  Juri Linkov  <juri@jurta.org>
26592         * org-html.el (org-export-html-style-include-default):
26593         Put `safe-local-variable booleanp' on
26594         `org-export-html-style-include-default' instead of mistakenly
26595         duplicate `org-export-html-style'.
26597 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
26599         * org-agenda.el (org-agenda-diary-entry-in-org-file):
26600         Rebuild agenda after adding new entry.
26602         * org-datetree.el (org-datetree-find-day-create): Fix regular
26603         expression.
26605         * org.el (org-display-outline-path): Use a format specifier for
26606         message, to avoid problems with heading containing `%'.
26608         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
26609         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
26610         (org-agenda-fix-displayed-tags): New function.
26611         (org-agenda-do-context-action): Just call
26612         `org-display-outline-path', without piping the result through
26613         `message'.
26615         * org-latex.el (org-export-latex-preprocess): Protect secondary
26616         footnote references.
26618         * org-indent.el (org-indent-initialize): Avoid empty strings as
26619         line prefixes.
26621         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
26622         hat checking for the mark does not throw an error.
26623         (org-agenda-diary-entry-in-org-file): Catch the case that there is
26624         not `day' text property in the cursor line.
26626         * org.el (org-sort-entries-or-items): Make sure that the final
26627         entry has a newline before doing the sorting.
26629         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
26630         property at the beginning of the line.
26632         * org.el (org-make-link-string): Don't allow a description with
26633         only white space.
26635         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
26636         (org-agenda-insert-diary-as-top-level): New function.
26637         (org-agenda-add-entry-to-org-agenda-diary-file):
26638         Call `org-agenda-insert-diary-as-top-level'.
26640         * org.el (org-occur-in-agenda-files): Make sure none of the
26641         buffers is narrowed.
26642         (org-activate-plain-links): Add the face property here.
26643         (org-set-font-lock-defaults): Do not add the face to plain links,
26644         the activator function does this.
26646         * org-habit.el (org-is-habit-p): Add doc string.
26648         * org-archive.el (org-archive-subtree-default-with-confirmation):
26649         Autoload.
26651         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
26652         after match optional (happens at the end of a line...).
26654         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
26655         for special blocks.
26657         * org-faces.el (org-copy-face): Set lisp indentation.
26658         (org-quote, org-verse): New faces.
26660         * org-agenda.el (org-agenda-remove-date): Remove variable.
26662         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
26664         * org-html.el (org-export-as-html): Move the home/up link into
26665         the content div.
26667         * org.el (org-export-latex-packages-alist): Option definition
26668         moved here from org-latex.el.
26670         * org-html.el (org-export-html-home/up-format): Add an ID to the
26671         up/home div.
26673         * org-wl.el (org-wl-store-link): Handle the case that
26674         `wl-use-petname' is set.
26676         * org.el (org-set-effort): Improve prompt.
26677         (org-get-outline-path): Widen to get full path.
26678         (org-compact-display-after-subtree-move): Function removed.
26680 2009-11-20  Eric Schulte  <schulte.eric@gmail.com>
26682         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
26683         hash keys to cache and re-use images generated by the
26684         org-exp-blocks interface to ditaa and dot.
26686         * org.el (org-format-latex): Latex images are now saved to files
26687         named by the sha1 hash of the latex source text avoiding
26688         regeneration of identical images.
26690 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
26692         * org-latex.el (org-export-as-latex): Add the :drawers property.
26694 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
26696         * org.el (org-speed-commands-user): Allow documentation headlines.
26697         (org-speed-commands-default): Organize the value of this constant
26698         with descriptive headlines.
26699         (org-print-speed-command): Output the headlines.
26701 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
26703         * org-agenda.el (org-agenda-show-outline-path): New option.
26704         (org-agenda-do-context-action): New function.
26705         (org-agenda-next-line, org-agenda-previous-line):
26706         Use `org-agenda-do-context-action'.
26708         * org.el (org-use-speed-commands): Allow function value.
26709         (org-speed-commands-default): Make headline motion safe, so that
26710         these commands always end on a headline.
26711         (org-speed-commands-default): New key `v' for `org-agenda'.
26712         (org-speed-move-safe): New function.
26713         (org-self-insert-command): Use the function value of
26714         `org-use-speed-commands'.
26715         (org-get-outline-path): Improve docstring.
26716         (org-format-outline-path): New function.
26717         (org-display-outline-path): New function.
26719 2009-11-15  John Wiegley  <jwiegley@gmail.com>
26721         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
26722         a string, use that to find the LOGBOOK drawer.
26724 2009-11-15  Glenn Morris  <rgm@gnu.org>
26726         * org-agenda.el (org-datetree-find-date-create)
26727         (org-habit-get-priority):
26728         * org.el (org-format-agenda-item): Fix declarations.
26730 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26732         * org.el (org-clone-subtree-with-time-shift): Make it work at the
26733         end of the buffer.
26735         * org-mobile.el (org-mobile-write-checksums): Specify coding
26736         system.
26737         (org-mobile-timestamp-buffer): Keep local variable/mode line at
26738         beginning of buffer.
26740         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
26742         * org.el (org-block-todo-from-children-or-siblings-or-parent)
26743         (org-block-todo-from-checkboxes): Do not block changes to a nil
26744         TODO state.
26746 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
26748         * org-habit.el (org-habit-parse-todo): Indicate which habit is
26749         wrongly set up in the error messages.
26751         * org-colview.el (org-columns-display-here): Don't try to
26752         calculate values if the underlying property is not set.
26753         (org-columns-string-to-number): Convert age strings back into
26754         fractional days.
26755         (org-agenda-colview-summarize): Handle extended summary types
26756         properly.
26758 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26760         * org-exp.el (org-export-format-drawer-function): New variable.
26761         (org-export-format-drawer): New function.
26762         (org-export-preprocess-string): Pass the backend as a parameter to
26763         `org-export-remove-or-extract-drawers'.
26764         (org-export-remove-or-extract-drawers): New parameter BACKEND.
26766         * org-protocol.el (org-protocol-char-to-string): New defsubst.
26768 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26770         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
26771         message when no block is selected.
26773         * org-latex.el (org-export-latex-links): Check for protectedness
26774         in the last matched character, not after the match.
26776         * org-datetree.el (org-datetree-find-date-create):
26777         Respect restriction when KEEP-RESTRICTION is set.
26778         (org-datetree-file-entry-under): New function.
26779         (org-datetree-cleanup): New command.
26781 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
26783         * org-src.el (org-edit-src-code): New optional argument context
26784         allows calling functions to avoid altering the saved window
26785         configuration.
26786         (org-edit-src-exit): Do not restore window configuration when this
26787         function is used in the context of saving the edit buffer.
26789 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26791         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
26792         instances to switching to with-current-buffer, because these seem
26793         to cause problems - no idea why.
26795         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
26796         Require diary-lib for (diary-date-display-form).
26798 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26800         * org.el (org-log-reschedule, org-log-redeadline): New options.
26801         (org-log-note-headings): Add templates for rescheduling and
26802         deadline changing.
26803         (org-startup-options): Add in-buffer settings for logging changing
26804         schedule and deadline time stamps.
26805         (org-deadline, org-schedule): Check for existing date and arrange
26806         for logging if the user requests it.
26807         (org-add-log-note): Prepare proper note buffers for rescheduling
26808         and deadline changes.
26810 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26812         * org-agenda.el (org-agenda-diary-entry-in-org-file)
26813         (org-agenda-add-entry-to-org-agenda-diary-file)
26814         (org-agenda-insert-diary-make-new-entry): New functions.
26815         (org-agenda-diary-entry):
26816         Call `org-agenda-diary-entry-in-org-file' when appropriate.
26818         * org.el (org-calendar-insert-diary-entry-key): New option.
26819         (org-agenda-diary-file): New option.
26820         ("calendar"): Install our insertion function in the calendar.
26822         * org-remember.el (org-datetree): Require.
26823         (org-remember-templates): Add new positioning option.
26824         (org-remember-reference-date): New variable.
26825         (org-remember-apply-template): Store the reference date in a local
26826         variable.
26827         (org-remember-handler): Implement date tree positioning of entries.
26829         * org-datetree.el: New file.
26831         * org-latex.el (org-export-latex-preprocess): Protect targets in
26832         verbatim emphasis.
26834         * org-html.el (org-export-as-html): Protect targets in verbatim
26835         emphasis.
26837         * org-docbook.el (org-export-as-docbook): Protect targets in
26838         verbatim emphasis.
26840 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26842         * org-clock.el (org-show-notification): Handle messages that
26843         contain a percent character.
26845         * org-remember.el (org-remember-apply-template): Turn of partial
26846         completion.
26848         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
26849         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
26851         * org.el (org-indent-mode): Define variable already in org.el.
26852         (org-unfontify-region): Remove line-prefix and wrap-prefix
26853         properties only if org-indent-mode is active.
26855 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26857         * org-icalendar.el (org-print-icalendar-entries): Save match data
26858         around call to verify function.
26859         (org-print-icalendar-entries): Add a call to the verification
26860         function.
26862         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
26863         save-restrivtion' form.
26865 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
26867         * org-exp.el (org-export-format-source-code-or-example):
26868         Restrict scope of preserve-indentp to the let binding.
26869         (org-src): Require org-src, since org-src-preserve-indentation is used.
26871 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26873         * org-timer.el (org-timer-set-timer): Set variables
26874         org-timer-timer[123] correctly.
26876         * org-mobile.el (org-mobile-files-alist): Make it work when
26877         `agenda-archives' is included in
26878         `org-agenda-text-search-extra-files'.
26879         (org-mobile-push): Restore agenda after mobile push.
26881 2009-11-13  John Wiegley  <jwiegley@gmail.com>
26883         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
26884         way the amount of idle time is presented in the minibuffer.
26886 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26888         * org-icalendar.el (org-print-icalendar-entries):
26889         Use org-icalendar-verify-function only if non-nil.
26891         * org.el (org-refile): Refile to clock only if the prefix arg is
26892         2.
26893         (org-sparse-tree): Fix docstring to be in line with prompt.
26894         (org-update-parent-todo-statistics):
26895         Call `org-after-todo-statistics-hook' on each level.
26897 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26899         * org-remember.el (org-remember-apply-template): Make sure the
26900         buffer exists.
26902 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26904         * org.el (org-tab-ind-state): New variable.
26905         (org-cycle-level): New function.
26906         (org-cycle-level-after-item/entry-creation): New option.
26907         (org-flag-subtree): New function.
26908         (org-hide-archived-subtrees): Call `org-flag-subtree'.
26909         (org-set-effort): Indexed access.
26911         * org-list.el (org-cycle-item-indentation): New function.
26913         * org.el (org-refile): Make prefix argument 2 refile to current
26914         clock.
26915         (org-priority): Interpret action `remove' as call to remove the
26916         priority cookie.
26918         * org-remember.el (org-remember-apply-template): Don't depend on
26919         buffer name being like file name.
26921 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26923         * org-clock.el (org-clock-play-sound): Expand file in
26924         org-clock-sound, to allow ~ for home.
26926         * org-remember.el (org-remember-handler):
26927         Set text-before-node-creation even if this already looks like a node,
26928         because the string might be needed on non-org-mode target files.
26930         * org-agenda.el (org-agenda-open-link): Make this work in agenda
26931         clocktables.
26932         (org-agenda-switch-to): Follow a link at point if
26933         org-return-follows-link' is set and there is nothing else to do in
26934         this line.
26936 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
26938         * org-exp-blocks.el: Modify split separator regexp to avoid empty
26939         strings.
26941 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
26943         * org-colview.el (org-columns-new): Make this work with the new
26944         operators.
26945         (org-columns-store-format): Make this work with the new operators.
26947 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26949         * org-src.el (org-src-preserve-indentation): Document that this
26950         variable is also used during export.
26952         * org-exp.el (org-export-format-source-code-or-example):
26953         Preserve indentation if a block has a -i option, or if
26954         `org-src-preserve-indentation' is set.
26956         * org-exp-blocks.el (org-export-blocks-preprocess):
26957         Preserve indentation if a block has a -i option, or if
26958         `org-src-preserve-indentation' is set.
26960 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26962         * org.el (org-mode-map): Define the new archiving keys.
26963         (org-speed-commands-default): Define an archiving key in the speed
26964         command map.
26965         (org-org-menu): Improve the menu structure concerning archiving.
26967         * org-archive.el (org-archive-subtree-default-with-confirmation):
26968         New command.
26970         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
26971         (org-agenda-menu): Add the new archiving commands to the menu.
26972         (org-agenda-archive-default)
26973         (org-agenda-archive-default-with-confirmation): New commands.
26974         (org-agenda-archive, org-agenda-archive-to-archive-sibling):
26975         Just call `org-agenda-archive-with'.
26976         (org-agenda-archive-with): New function.
26978         * org-table.el (org-table-convert-region): Inert spaces around "|"
26979         to avoid line beginnings like "|-1" which will be mistaken as
26980         hlines.
26982 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26984         * org.el (org-offer-links-in-entry): Return nil if there are no
26985         links, t if a link has been selected.
26986         (org-open-at-point): Open attachment directory when called in the
26987         headline and there are no links in the entry body.
26988         (org-speed-commands-default): Add "o" for open-at-point as a speed
26989         command.
26991         * org-attach.el (org-attach-reveal): Optional prefix arg
26992         IF-EXISTS, which avoids creating the attachment directory if it
26993         does not yet exist.
26995         * org-agenda.el (org-agenda, org-run-agenda-series):
26996         Evaluate MATCH.
26998 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27000         * org.el ("abbrev"): Work with abbrev tables only after they have
27001         been loaded.
27003         * org-list.el (org-list-send-list): Fix bug related to match
27004         data.
27006         * org-latex.el (org-export-latex-fontify): Apply verbatim
27007         emphasis.
27008         (org-export-latex-make-header): Insert \obeylines if line breaks
27009         should be preserved.
27011         * org-exp.el (org-export-protect-verbatim): Add an
27012         `org-verbatim-emph' property to such text.
27014 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27016         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
27017         (org-print-icalendar-entries): Skip entries where the timestamp is
27018         not a deadline and not scheduled, if the user requests that.
27020         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
27021         before an opening quote.
27023         * org-archive.el (org-archive-subtree): Keep archive after
27024         archiving something.
27026         * org-id.el (org-id-update-id-locations): Add archive files if
27027         that is required by `org-id-extra-files'.
27029 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27031         * org-src.el (org-src-window-setup): New option.
27032         (org-src-switch-to-buffer): New function.
27033         (org-edit-src-exit): Add optional argument CONTEXT and use it to
27034         restore window configuration.
27035         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
27036         Call `org-src-switch-to-buffer'.
27038         * org.el (org-default-properties): Add STYLE property.
27039         (org-files-list): Use the function call to get the files.
27040         (org-additional-option-like-keywords): Add SETUPFILE to completion
27041         list.
27043 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27045         * org-table.el (org-table-convert-region): Correctly interpret
27046         quoting in csv import.
27048         * org.el (org-icompleting-read): Make iswitchb completion work
27049         with lists and tables.
27051         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
27052         while pushing the mobile agenda.
27054 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27056         * org-clock.el (org-clock-auto-clock-resolution): Now takes three
27057         values: nil, t and `when-no-clock-is-running'.
27058         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
27059         whether or not to resolve Org buffers on clock in.
27061 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27063         * org-colview.el (org-format-time-period): Function to format
27064         times in fractional days for display.
27065         (org-columns-display-here): Add support for showing a calculated
27066         value in place of the property.
27067         (org-columns): Set `org-columns-time' to the current time so time
27068         difference calculations will work.
27069         (org-columns-time): Use to store the current time when column view
27070         is displayed, so all time differences will use the same reference
27071         point.
27072         (org-columns-compile-map): There is now an extra position in each
27073         entry specifying the function to use to calculate the displayed
27074         value for the non-calculated properties in the column.
27075         (org-columns-compute-all): Set `org-columns-time' to the current
27076         time so time difference calculations will work.
27077         (org-columns-compute): Handle column operators where the values
27078         used are calculated from the underlying property.
27079         (org-columns-number-to-string): Handle the 'age' column format.
27080         (org-columns-string-to-number): Correct the function name (was
27081         org-column...).  Add support for the 'age' column format.
27082         (org-columns-compile-format): Support the additional parameter in
27083         org-columns-compile-map.
27085 2009-11-13  Bastien Guerry  <bzg@gnu.org>
27087         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
27088         variable.
27090 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27092         * org-clock.el (org-clock-has-been-used): New variable.
27093         (org-clock-in): Set `org-clock-has-been-used'.
27094         (org-clock-save): Save only if clock data has been used or created
27095         during this session.
27097 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27099         * org-clock.el (org-clock-persist): New value, to store only the
27100         clock history.
27101         (org-clock-save): Don't save the clock if only the history should
27102         be stored.
27103         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
27104         when restoring a saved clock.
27106 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27108         * org-clock.el (org-clock-display, org-clock-put-overlay):
27109         Use `org-time-clock-use-fractional'.
27111         * org.el (org-time-clocksum-use-fractional)
27112         (org-time-clocksum-fractional-format): Two new customizable
27113         variables which allow the user to select fractional times (1.25
27114         instead of 1:25) in the `org-clock-display' report.
27116 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27118         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
27119         New option.
27121         * org.el (org-tag-alist): Fix customization type.
27123 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27125         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
27126         Make sure the regexp search can fail without throwing an error.
27127         (org-mobile-apply): Save the inbox buffer after removing
27128         successfully applied changes.
27130 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27132         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
27133         time is reported after the user comes back (but before they
27134         resolve time).
27136         * org.el (org-get-repeat): Change so that this function can be
27137         called with either `org-scheduled-string' or
27138         `org-deadline-string'.
27140         * org-clock.el (org-clock-auto-clock-resolution): Rename from
27141         `org-clock-disable-clock-resolution', since negatives don't sound
27142         good in customization variables.
27143         (org-clock-in): Don't use the auto-resolution logic if the user is
27144         clocking into a different task while an active clock is running.
27145         This then allows the default behavior of clocking out of the open
27146         task and then into the new task.
27148         * org.el (org-modules): Made this variable more consistent, since
27149         it was referring to Org, OrgMode and Org-mode, whereas the docs
27150         for the variable always refer to Org-mode.
27152 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27154         * org.el (org-repeat-re): The changed org-repeat-re no longer
27155         matched simple +2d type repeaters.  Fix it so it does.
27157 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27159         * org-latex.el (org-export-latex-preprocess): Protect the vspace
27160         macro in the VERSE environment.
27162 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27164         * org-habit.el (org-habit-get-priority): A new function that
27165         determines the relative priority of a habit, based on how long
27166         past its scheduled date it is, and how near the deadline is.
27168         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
27169         using `org-habit-get-priority'.
27171         * org-habit.el (org-habit-build-graph): Start displaying colors
27172         from the first scheduled date, if that date is earlier than the
27173         first completion date.
27175         * org-habit.el: Changed all "color" variables to faces, and made
27176         them appropriate for light and dark backgrounds.
27178         * org-habit.el (org-habit-duration-to-days): Made this function
27179         more general.
27180         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
27182         * org-agenda.el (org-agenda-get-deadlines): Remove all mention of
27183         habits, since they don't use DEADLINE anymore.
27185         * org.el (org-repeat-re, org-display-custom-time)
27186         (org-timestamp-change): Extend to support the new ".+N/N"
27187         syntax, used for habits.
27189         * org-clock.el (org-clock-resolve-clock): Fix an incorrect
27190         variable reference.
27192         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
27193         modeline when habits are being displayed (if that module is being
27194         loaded).
27196 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27198         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
27199         idle time using the xscreensaver extension.
27200         (org-user-idle-seconds): Use X11 idle time if available.
27202 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27204         * org-agenda.el (org-agenda-next-line): New command.
27205         (org-agenda-previous-line): New commands.
27206         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down):
27207         New commands.
27208         (org-agenda-follow-mode): Do the follow immediately if the mode is
27209         turned on here.
27210         (previous-line, next-line): Replace keys with the corresponding
27211         org functions.
27212         (org-agenda-mode-map): Bind backspace and delete to the scrolling
27213         command.
27215         * org.el (org-icompleting-read): Turn off partial completion mode
27216         for the duration of this completion round.
27218         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
27219         macros in author lines and similar stuff.
27221         * org.el (org-file-tags): Fix docstring.
27222         (org-get-buffer-tags): Add the #+FILETAGS tags.
27223         ("ecb"): Make ecb show context after jumping into an Org file.
27225 2009-11-13  John Wiegley  <johnw@newartisans.com>
27227         * org-agenda.el (org-finalize-agenda): Draw habit consistency
27228         graphs after everything else in the buffer has been setup.
27230 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27232         * org-mobile.el (org-mobile-apply): Count success and failure.
27234         * org.el (org-indent-line-function): Fix regexp replace problem.
27236 2009-11-13  John Wiegley  <johnw@newartisans.com>
27238         * org-clock.el (org-clock-disable-clock-resolution):
27239         New customization variable that disable automatic clock resolution on
27240         clock in.
27241         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
27242         not automatically resolve anything.  This is does not affect
27243         idle-time resolution, however, if `org-clock-idle-time' is set.
27245 2009-11-13  John Wiegley  <johnw@newartisans.com>
27247         * org-habit.el: New file, which implements code to build a "habit
27248         consistency graph".
27250         * org-agenda.el (org-agenda-get-deadlines)
27251         (org-agenda-get-scheduled): Display consistency graphs when
27252         outputting habits into the agenda.  The graphs are always relative
27253         to the current time.
27254         (org-format-agenda-item): Add new parameter `habitp', which
27255         indicates whether we are formatting a habit or not.  Do not
27256         display "extra" leading information if habitp is true.
27258         * org.el (org-repeat-re): Improve regexp to include .+ and ++
27259         leaders for repeat strings.
27260         (org-get-repeat): Now takes a string parameter `tagline', so the
27261         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
27263 2009-11-13  John Wiegley  <johnw@newartisans.com>
27265         * org-agenda.el (org-agenda-auto-exclude-function):
27266         New customization variable for allowing the user to create an "auto
27267         exclusion" filter for doing context-aware auto tag filtering.
27268         (org-agenda-filter-by-tag): Changes to support the use of
27269         `org-agenda-auto-exclude-function'.  See the new manual addition.
27271 2009-11-13  John Wiegley  <johnw@newartisans.com>
27273         * org.el (org-files-list): Don't attempt to return a file name for
27274         Org buffers which have no associated file.
27276         * org-agenda.el (org-agenda-do-action): Fix a typo.
27278 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27280         * org-mobile.el (org-mobile-locate-entry): Interpret files
27281         relative to org-directory.
27282         (org-mobile-inbox-for-pull): Document the best location for this
27283         file.
27284         (org-mobile-check-setup): Verify `org-directory'.
27285         (org-mobile-create-index-file): Sort the files to be listed in
27286         index.org.
27288 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27290         * org.el (org-fast-tag-selection): Add a way to display a
27291         description for a tag group.  This is done by adding a string to
27292         either the startgroup or endgroup cell.
27294 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27296         * org-clock.el (org-clock-resolve, org-resolve-clocks)
27297         (org-emacs-idle-seconds): Use `org-float-time' instead of
27298         `time-to-seconds'.
27300 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27302         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
27303         type.
27305         * org.el (org-pre-cycle-hook): Document that `empty' can also be
27306         the value of ARG when doing local cycling.
27308 2009-11-13  John Wiegley  <johnw@newartisans.com>
27310         * org-clock.el (org-clock-resolve-clock): If keeping or
27311         subtracting time results in a clock out at a time in the past, and
27312         if the resolution occurred due to idleness or invoking `M-x
27313         org-resolve-clocks', remember that past moment in time.  On the
27314         next clock in, the user will be prompted to see if they want to
27315         back-date their new clock to then.
27316         (org-clock-resolve): Do not jump the user to the location of a
27317         dangling clock if the resolution is occurring due to an idle
27318         timeout.  In that case there is typically only one dangling clock,
27319         the active one, and there is no value gained by shuffling their
27320         windows around to show it to them.  Being prompted to resolve an
27321         idle clock should be as inobtrusive as possible.
27322         (org-resolve-clocks-if-idle): New function that resolves only the
27323         currently active clock if the user has exceeded the time returned
27324         by `org-user-idle-seconds', based on the value of
27325         `org-clock-idle-time'.
27326         (org-clock-in): If, after resolving clocks, (???)
27327         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
27329         * org-clock.el (org-clock-resolve-clock): New function that
27330         resolves a clock to a specific time, closing or resuming as need
27331         be, and possibly even starting a new clock.
27332         (org-clock-resolve): New function used by `org-resolve-clocks'
27333         that sets up for the call to `org-clock-resolve-clock'.
27334         It determines the time to resolve to based on a single-character
27335         selection from the user to either keep time, subtract away time or
27336         cancel the clock.
27337         (org-resolve-clocks): New user command which resolves dangling
27338         clocks -- that is, open but not active -- anywhere in the file
27339         list returned by `org-files-list'.
27340         (org-clock-in): Automatically resolve dangling clocks whenever a
27341         user clocks in.
27342         (org-clock-cancel): If the user cancels the solely clock in a
27343         LOGBOOK, remove the empty drawer.
27345         * org-clock.el (org-clock-idle-time): New user customizable option
27346         for detecting whether the user has left a clock idle.  Note: it is
27347         only used in this commit to test whether it's worthwhile to check
27348         OS X to get the Mac user's current idle time.  If the Emacs idle
27349         time is less than the value, the user hasn't been away long enough
27350         to be worth checking (a more expensive test than just getting
27351         Emacs idle time).
27352         (org-user-idle-seconds, org-mac-idle-seconds)
27353         (org-emacs-idle-seconds): This three functions, in conjunction
27354         with the user customization variable `org-clock-idle-time', return
27355         the number of seconds (as a floating point) that the user has been
27356         away from their Emacs (or, if running on OS X, their computer).
27358         * org-clock.el (org-find-open-clocks): New function that returns a
27359         list of all open clocks in the given FILE.  Note that each clock
27360         it returns is a cons cell of the format (MARKER . START-TIME).
27361         This "clock" value is used by several of the new clock module
27362         utility functions.
27363         (org-is-active-clock): New inline function which tests whether the
27364         given clock value is the same as the currently active clock.
27365         Returns non-nil if this is the case.
27366         (org-with-clock-position): New macro that evaluates FORMS with
27367         point in the buffer and at the position of the given clock.
27368         Changes to the current clock are global.
27369         (org-with-clock): New macro that evaluates FORMS with point in the
27370         buffer and at the position of the given clock.  However, changes
27371         to the current clock are local and have no effect on the user's
27372         active clock.  This allows, for example, far any clock to be
27373         canceled without canceling the active clock.
27374         (org-clock-clock-in): New inline function that switches the active
27375         clock to the given clock.  If either the argument RESUME, or the
27376         global `org-clock-in-resume', are non-nil, it will resume a clock
27377         that was previously left open.
27378         (org-clock-clock-out): New inline function that clocks out the
27379         given clock value without affecting the currently active clock.
27380         (org-clock-clock-cancel): New inline function that cancels the
27381         given clock value without affecting the currently active clock.
27383         * org-clock.el (org-clock-in): Before creating
27384         `org-clock-mode-line-timer', check to make sure an older timer is
27385         not currently running.
27386         (org-clock-out): Accept new third parameter `at-time', which
27387         permits a clock to be clocked out at a specific time.  Note that
27388         no attempt is made to verify that the clock out time is later than
27389         the clock in time.
27391         * org.el (org-files-list): New utility function for returning a
27392         list of all open org-mode buffers, plus all files used to build
27393         the agenda buffer.  Note that not all the files will necessarily
27394         be visited by a buffer at time of call.
27395         (org-entry-beginning-position): Like the function
27396         `line-beginning-position', this inline function returns the
27397         beginning position of the current heading/entry.
27398         (org-entry-end-position): Like the function `line-end-position',
27399         this inline function returns the end position of the current
27400         heading/entry.
27402 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27404         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
27405         a header line.
27407 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27409         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
27411 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27413         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
27414         entries that have no tags.
27415         (org-agenda-search-view): New customize group.
27416         (org-agenda-search-view-search-words-only): New option.
27417         (org-search-view): Implement substring search.
27419 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27421         * org.el (org-outline-level): Add doc string.
27423 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27425         * org-inlinetask.el (org-inlinetask-export): Re-introduce
27426         variable.
27427         (org-inlinetask-export-handler): Only export inline task if the
27428         user option calls for it.
27430 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27432         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
27433         END if present.
27435 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27437         * org-latex.el (org-export-latex-tables): Don't format in
27438         protected regions.
27440 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27442         * org-src.el (org-edit-src-code)
27443         (org-edit-src-find-region-and-lang, org-edit-src-exit):
27444         Handle macro editing.
27446         * org-agenda.el (org-prefix-category-max-length): New variable.
27447         (org-format-agenda-item): Use `org-prefix-category-max-length'.
27448         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
27450 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27452         * org-mobile.el (org-mobile-create-index-file): Improve the
27453         listing of tags and todo keywords.
27455         * org-latex.el (org-export-latex-format-image): New function.
27456         (org-export-latex-links): Use `org-export-latex-format-image'.
27458 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27460         * org-inlinetask.el (org-inlinetask-get-current-indentation)
27461         (org-inlinetask-remove-terminator): New functions.
27462         (org-inlinetask-export-handler): Terminate the description list.
27464         * org-exp.el (org-export-select-backend-specific-text): Remove the
27465         region markers.
27467         * org-inlinetask.el (org-inlinetask-export-handler): Fix bug for
27468         tasks without content.
27470         * org-clock.el: Make sure the clock-in target position does not
27471         move to a different node by widening the buffer.
27473         * org-html.el (org-export-html-format-image): Wrap image into
27474         figure div only when there is a caption.
27476         * org-archive.el (org-archive-mark-done): Change default value to
27477         nil.
27479 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27481         * org.el (org-context): Call `bobp', not `eobp'.
27483         * org-clock.el (org-clock-cancel): Remove quotes from marker
27484         variables.
27486         * org.el (org-read-date-prefer-future): New allowed value `time'.
27487         (org-read-date-analyze): Shift day to tomorrow depending on time
27488         entered and value of `org-read-date-prefer-future'.
27490 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
27492         * org.el (org-version, org-get-refile-targets, org-refile)
27493         (org-store-log-note, org-diary-to-ical-string)
27494         (org-speedbar-set-agenda-restriction):
27495         * org-publish.el (org-publish-find-title):
27496         * org-plot.el (org-plot/gnuplot):
27497         * org-mouse.el (org-mouse-do-remotely):
27498         * org-mobile.el (org-mobile-move-capture):
27499         * org-mac-message.el (org-mac-message-insert-flagged):
27500         * org-latex.el (org-replace-region-by-latex):
27501         * org-docbook.el (org-replace-region-by-docbook):
27502         * org-clock.el (org-clock-out, org-clock-cancel):
27503         * org-bibtex.el (org-execute-file-search-in-bibtex):
27504         Use with-current-buffer.
27506 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
27508         * org.el (org-directory, org-map-entries):
27509         * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
27511 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27513         * org.el (org-set-tags-to): New command.
27515         * org-latex.el (org-export-latex-set-initial-vars): Also check in
27516         the plist.
27518         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
27519         keyword.
27521         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
27523 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27525         * org-inlinetask.el (org-inlinetask-export): Option removed.
27526         (org-inlinetask-export-handler): Better export.
27528         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
27529         (org-export-as-xoxo): Run the new hook.
27531         * org-html.el (org-export-html-final-hook): New hook.
27532         (org-export-as-html): Run the new hook.
27534         * org-docbook.el (org-export-docbook-final-hook): New hook.
27535         (org-export-as-docbook): Run the new hook.
27537         * org-ascii.el (org-export-ascii-final-hook): New hook.
27538         (org-export-as-ascii): Run the new hook.
27540         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
27541         space character as the character before the ^/_.
27542         (org-export-latex-final-hook): New hook.
27543         (org-export-as-latex): Run `org-export-latex-final-hook'.
27545 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27547         * org-macs.el (org-if-unprotected-at): Fix docstring.
27549         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
27550         text in the prefix (if category is a link).
27552         * org-latex.el (org-export-latex-preprocess): Deal properly with
27553         empty lines in verse environments.
27555         * org.el (org-format-latex-header): Inline fullpage.sty.
27557         * org-footnote.el (org-footnote-create-definition): Reveal context
27558         to add a new footnote definition.
27560         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
27561         org-table-recalculate when cursor is in TBLFM line.
27563         * org-list.el (org-renumber-ordered-list): Fix cursor position
27564         when bullet length has changed.
27566 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27568         * org.el (org-format-latex): Mention `org-format-latex-options' in
27569         the docstring.
27571 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27573         * org.el (org-agenda-get): New function.
27575         * org-agenda.el (org-agenda-post-command-hook): No longer move
27576         point away from end of line.
27577         (org-agenda-add-entry-text, org-agenda-collect-markers)
27578         (org-finalize-agenda, org-agenda-mark-clocking-task)
27579         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
27580         (org-agenda-entry-text-show, org-agenda-highlight-todo)
27581         (org-agenda-compare-effort, org-agenda-filter-apply)
27582         (org-agenda-later, org-agenda-change-time-span)
27583         (org-agenda-post-command-hook, org-agenda-show-priority)
27584         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
27585         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
27586         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
27587         (org-agenda-open-link, org-agenda-copy-local-variable)
27588         (org-agenda-switch-to, org-agenda-check-no-diary)
27589         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
27590         (org-agenda-add-note, org-agenda-change-all-lines)
27591         (org-agenda-priority, org-agenda-set-tags)
27592         (org-agenda-set-property, org-agenda-set-effort)
27593         (org-agenda-toggle-archive-tag, org-agenda-date-later)
27594         (org-agenda-show-new-time, org-agenda-date-prompt)
27595         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
27596         (org-agenda-clock-in, org-agenda-bulk-mark)
27597         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note):
27598         Use `org-get-at-bol'.
27600         * org-colview.el (org-columns-display-here)
27601         (org-columns-edit-allowed, org-agenda-columns):
27602         Use `org-get-at-bol'.
27604 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27606         * org.el (org-special-ctrl-a/e): Improve documentation and
27607         customize type.
27608         (org-end-of-line): Don't jump to after the ellipsis.
27609         (org-mode-map): Bind <home> and <end> as well.
27611 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27613         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
27614         space after #+ as comments.
27615         (org-open-at-point): Run `org-follow-link-hook' always.
27617         * org-latex.el (org-export-latex-emph-format): Use better commands
27618         to insert special characters in verbatim snippets.
27620 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27622         * org-faces.el (org-copy-face): New function.  Use it to create
27623         various faces formerly created by using `copy-face'.
27625         * org-agenda.el (org-prepare-agenda): Don't officially mark this
27626         window dedicated.
27627         (org-agenda-quit): Kill the frame containing the agenda window if
27628         that frame was created for the agenda.
27630 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27632         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
27633         stamp in the agenda.
27635 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27637         * org-agenda.el (org-prepare-agenda):
27638         Reset `org-drawers-for-agenda'.
27639         (org-prepare-agenda): Uniquify list of drawers.
27641         * org.el (org-complex-heading-regexp-format): New variable.
27642         (org-set-regexps-and-options):
27643         Define `org-complex-heading-regexp-format'.
27644         (org-drawers-for-agenda): New variable.
27645         (org-map-entries): Bind `org-drawers-for-agenda'.
27646         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
27648         * org-remember.el (org-go-to-remember-target)
27649         (org-remember-handler): Use `org-complex-heading-regexp-format'.
27651 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27653         * org-agenda.el (org-agenda-highlight-todo): Fix text property
27654         problem.
27656         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
27657         always with `invisible-ok'.
27658         (org-store-link): No error when there is nothing to link to in the
27659         agenda.
27661         * org-list.el (org-update-checkbox-count): Insert changed cookie
27662         before the old, to avoid problems with invisibility at the end of
27663         the line.
27664         (org-update-checkbox-count): Insert changed cookie before the old,
27665         to avoid problems with invisibility at the end of the line.
27667         * org.el (org-sort-entries-or-items): Include the final newline.
27668         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
27669         lines for fontification.
27670         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
27671         (org-prepare-dblock): Store the current indentation of the BEGIN
27672         line.
27673         (org-update-dblock): Apply the indentation of the begin line to
27674         the rest of the block.
27675         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
27676         (org-startup-folded): New allowed value `showeverything'.
27677         (org-startup-options): Add STARTUP keyword `showeverything'.
27678         (org-set-startup-visibility): Respect value `showeverything' in
27679         org-startup-folded.
27681 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27683         * org.el (org-closest-date): Fix issue with past preference.
27685         * org-archive.el (org-archive-set-tag)
27686         (org-archive-subtree-default): New commands.
27688         * org-clock.el (org-clock-clocktable-default-properties):
27689         New option.
27690         (org-clock-report):
27691         Use `org-clock-clocktable-default-properties'.
27693 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27695         * org.el (org-iswitchb-completing-read): Fix typo.
27697         * org-crypt.el: New file.
27699         * org.el: Add an entry for org-crypt.
27701 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27703         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
27704         consistency.
27705         (org-batch-store-agenda-views): New function.
27706         (org-agenda-title-append): Define variable.
27707         (org-write-agenda): New export to Org files.
27708         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
27709         (org-agenda): Allow to keep the restricted file list if a special
27710         variable is bound to t.
27711         (org-agenda): Define a special agenda view for working on flagged
27712         entries.
27713         (org-agenda-get-restriction-and-command): List the new agenda
27714         view.
27715         (org-agenda-show-the-flagging-note): New command.
27716         (org-agenda-mode-map): New key `?' for looking at the flagging
27717         note.
27719         * org.el (org-autoload): Autoload org-mobile.el.
27720         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
27722         * org-mobile.el: New file.
27724         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
27726 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27728         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
27729         statements.
27730         (org-table-get-remote-range): Match indented #+TBLNAME
27731         statements.
27733         * org.el (org-convert-to-odd-levels)
27734         (org-convert-to-oddeven-levels): Work also correctly if the file
27735         is in outline-mode.
27737 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27739         * org.el (org-store-link): When in agenda buffer, link to
27740         referenced entry.
27741         (org-add-planning-info): Remove spaces at eol.
27743         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
27744         property.
27746 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27748         * org-latex.el (org-export-latex-first-lines): Fix problem with
27749         LaTeX export of first line and selected subtree.
27751         * org.el (org-shifttab): Interpret arg differently when using only
27752         odd levels.
27754 2009-10-01  Bastien Guerry  <bzg@gnu.org>
27756         * org.el (org-check-agenda-file): Use a more explicit message.
27758 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27760         * org-exp.el (org-export-remove-special-table-lines): Don't remove
27761         normal lines.
27763 2009-10-01  Bastien Guerry  <bzg@gnu.org>
27765         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
27766         prompt in the temporary window.
27768         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
27769         prefix for marked entries in the agenda view.
27771 2009-10-01  Andreas Burtzlaff  <andy13@gmx.net>  (tiny change)
27773         * org.el (outline-end-of-subtree): Bugfix: advise this function in
27774         a way that prevents any trailing character from being displayed.
27776 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27778         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
27779         menu.
27781         * org-exp.el (org-export-remove-special-table-lines): Remove bad
27782         slow regexp match.
27784 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27786         * org-latex.el (org-export-latex-preprocess): Do not protect in
27787         the LaTeX header.
27789         * org-src.el (org-edit-src-save): Save window setup while saving.
27790         (org-edit-src-code): Use new buffer name construction scheme.
27792 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27794         * org-agenda.el (org-agenda-entry-text-exclude-regexps):
27795         New variable.
27796         (org-agenda-entry-text-cleanup-hook): New hook.
27797         (org-agenda-get-some-entry-text): Remove matches of
27798         `org-agenda-entry-text-exclude-regexps' and run the hook
27799         `org-agenda-entry-text-cleanup-hook'.
27801         * org.el (org-offer-links-in-entry): New argument ZERO to
27802         implement a link with index zero.
27803         (org-cycle-show-empty-lines): Not keep empty line under header
27804         hidden.
27805         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
27806         to nil for special completion.
27807         (org-store-link): Don't error before the first heading.
27809         * org-agenda.el (org-agenda-open-link): Pass the prefix to
27810         `org-offer-links-in-entry'.
27812 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27814         * org-agenda.el (org-agenda-quit): Provide the window argument for
27815         `window-dedicated-p', Emacs 22 needs it.
27816         (org-format-agenda-item): If the category is a link, arrange for
27817         invisible text to replaced with spaces.
27818         (org-compile-prefix-format): Add the extra space.
27819         (org-prefix-category-length): New variable.
27821         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
27822         references from TOC lines.
27824         * org.el (org-selected-window): New variable.
27826         * org-table.el (org-table-edit-formulas): Remember the selected
27827         window.
27828         (org-table-fedit-finish, org-table-fedit-abort): Select the window
27829         that was originally selected.
27831         * org-exp.el (org-export-preprocess-apply-macros): Scan the
27832         expansion of a macro for more macro definitions.
27834         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
27835         invisibility overlay starts on the newline.
27837 2009-10-01  Glenn Morris  <rgm@gnu.org>
27839         * org-agenda.el (calendar-check-holidays):
27840         * org-exp.el (org-agenda-skip):
27841         * org-list.el (outline-back-to-heading):
27842         * org-wl.el (wl-summary-goto-folder-subr):
27843         * org.el (iswitchb-mode, remember, remember-buffer-desc)
27844         (remember-finalize, remember-save-after-remembering, remember-register)
27845         (remember-buffer, remember-handler-functions)
27846         (remember-annotation-functions): Remove unused declarations.
27848         * org.el (iswitchb-read-buffer): Fix declaration.
27850 2009-09-30  Glenn Morris  <rgm@gnu.org>
27852         * org-compat.el (w32-focus-frame):
27853         * org-exp-blocks.el (R):
27854         * org-exp.el (htmlize-buffer):
27855         * org-protocol.el (server-edit):
27856         * org-table.el (org-format-org-table-html):
27857         * org.el (org-indent-mode): Fix declarations.
27859         * org-colview.el (org-columns-uncompile-format): Avoid assignment to
27860         free variable `fun'.
27862 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
27864         * org-agenda.el (org-agenda-restore-windows-after-quit):
27865         Fix typo in docstring.
27867 2009-09-23  Juanma Barranquero  <lekktu@gmail.com>
27869         * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
27870         (org-shiftselect-error, org-ctrl-c-ctrl-c):
27871         * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
27872         * org-attach.el (org-attach-check-absolute-path):
27873         * org-docbook.el (org-export-as-docbook):
27874         * org-html.el (org-export-as-html):
27875         * org-id.el (org-id-update-id-locations):
27876         * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
27877         Fix typos in error messages.
27879 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
27881         * org-ascii.el: Require CL for the `loop' macro.
27883 2009-09-05  Carsten Dominik  <dominik@u016822.science.uva.nl>
27885         * org-gnus.el (require): Wrap (require gnus-sum) into
27886         eval-when-compile.
27888 2009-09-03  Carsten Dominik  <dominik@u016822.science.uva.nl>
27890         * org-protocol.el (org-protocol-store-link)
27891         (org-protocol-remember, org-protocol-open-source): Remove autoload
27892         cookies again.
27894         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
27895         referencing the start of the line.
27897         * org-gnus.el: Remove unnecessary declare-function forms.
27898         (gnus-sum): Always require gnus-sum.
27900 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27902         * org-protocol.el (org-protocol-store-link)
27903         (org-protocol-remember, org-protocol-open-source): Add autoloads.
27905         * org-compat.el (org-float-time): New function.
27907         * org.el (org-clock-update-time-maybe)
27908         (org-sort-entries-or-items, org-do-sort)
27909         (org-evaluate-time-range, org-time-string-to-seconds)
27910         (org-closed-in-range): Use `org-float-time'.
27912         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
27913         (org-timer-seconds): Use `org-float-time'.
27915         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
27916         (org-clock-sum, org-dblock-write:clocktable)
27917         (org-clocktable-steps): Use `org-float-time'.
27919         * org-agenda.el (org-agenda-last-marker-time)
27920         (org-agenda-new-marker, org-diary): Use `org-float-time'.
27922         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
27923         function.
27925         * org-exp.el (org-get-file-contents): Only protect lines that
27926         really need it.
27928         * org-html.el (require): Require cl for compilation.
27930         * org.el: Avoid using `default-major-mode'.
27932         * org-plot.el (require): Require CL only at compile time.
27934         * org-exp.el (require): Require CL only at compile time.
27936         * org-agenda.el (org-agenda-quit): When the agenda window is
27937         dedicated, remove other windows before exiting, so that the frame
27938         really will be killed.
27940         * org-exp.el (org-export-handle-include-files): Reset START and
27941         END for each loop cycle.
27943 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27945         * org.el (org-eval-in-calendar):
27946         Use `org-select-frame-set-input-focus'.
27948         * org-compat.el (org-select-frame-set-input-focus): New function.
27950         * org.el (org-update-statistics-cookies): New function.
27951         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
27953 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27955         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
27956         after the local variables are set.
27958         * org-latex.el (org-export-latex-protect-amp): New function.
27959         (org-export-latex-links): Protect link ampersands in tables.
27961         * org-exp.el (org-export-select-backend-specific-text): Match in
27962         two steps, to avoid regexp problems.
27964         * org.el (org-offer-links-in-entry): Improve working with many and
27965         duplicate links.
27967         * org-agenda.el (org-agenda-show-1): Make more consistent with
27968         normal cycling.
27969         (org-agenda-cycle-show): Make more consistent with normal cycling.
27971         * org-gnus.el (org-gnus-store-link): Restore the linking to a
27972         website.
27974 2009-09-02  Bastien Guerry  <bzg@gnu.org>
27976         * org-latex.el (org-export-latex-first-lines): Bugfix.
27978 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27980         * org-clock.el (org-clock-modify-effort-estimate): Emit message
27981         about new effort.
27983         * org.el (org-set-effort): New function.
27984         (org-mode-map): New key for effort setting command.
27986         * org-agenda.el (org-agenda): Keep window setup when calling
27987         agenda from within agenda window.
27988         (org-agenda-mode-map): New keys for effort setting commands.
27989         (org-agenda-menu): Add effort setting commands to menu.
27990         (org-agenda-set-property, org-agenda-set-effort): New functions.
27992         * org-latex.el (org-export-latex-tables):
27993         Fix `org-table-last-alignment' and `org-table-last-column-widths' if
27994         the first column has been removed.
27996 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27998         * org.el (org-remove-timestamp-with-keyword): Only remove in
27999         entry, not in subtree.
28001         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
28002         emacs lisp.
28004         * org.el (org-open-at-point): When on headline, offer all strings
28005         in entry.
28007         * org-remember.el (org-remember-templates): Documentation fix.
28009         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
28010         `org-get-last-sibling' instead of the outline versions of these
28011         functions.
28012         (org-get-last-sibling): New function.
28013         (org-refile): Use `org-get-next-sibling' instead of the outline
28014         version of this function.
28015         (org-clean-visibility-after-subtree-move):
28016         Use `org-get-next-sibling' and `org-get-last-sibling' instead of the
28017         outline versions of these functions.
28019 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28021         * org-agenda.el (org-prepare-agenda): When creating a new frame
28022         for the agenda, make the window dedicated.
28024         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
28026         * org-table.el (org-table-align): Change the order of reinsertion
28027         and deletion, to avoid problems with overlays following the table.
28029         * org.el (org-parse-time-string): Better error message.
28030         (org-show-subtree): Use org-end-of-subtree.
28032         * org-macs.el (org-goto-line): New defsubst.
28034         * org.el (org-open-file, org-change-tag-in-region)
28035         (org-fast-tag-show-exit): Don't use `goto-line'.
28037         * org-table.el (org-table-align, org-table-insert-column)
28038         (org-table-delete-column, org-table-move-column)
28039         (org-table-sort-lines, org-table-copy-region)
28040         (org-table-paste-rectangle, org-table-wrap-region)
28041         (org-table-get-specials, org-table-rotate-recalc-marks)
28042         (org-table-get-range, org-table-recalculate)
28043         (org-table-edit-formulas, org-table-fedit-convert-buffer)
28044         (org-table-show-reference, org-table-highlight-rectangle):
28045         Don't use `goto-line'.
28047         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
28048         (org-edit-src-exit): Don't use `goto-line'.
28050         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
28052         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
28053         Don't use `goto-line'.
28055         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
28057         * org-colview.el (org-columns, org-columns-redo)
28058         (org-agenda-columns): Don't use `goto-line'.
28060         * org-agenda.el (org-agenda-mode): Force visual line motion off.
28061         (org-agenda-add-entry-text-maxlines): Improve docstring.
28062         (org-agenda-start-with-entry-text-mode): New option.
28063         (org-agenda-entry-text-maxlines): New option.
28064         (org-agenda-entry-text-mode): New variable.
28065         (org-agenda-mode): Set initial value of
28066         `org-agenda-entry-text-mode'.
28067         (org-agenda-mode-map): Add the `E' key.
28068         (org-agenda-menu): Add entry text mode to the menu.
28069         (org-agenda-get-some-entry-text): Fix line count bug.
28070         (org-finalize-agenda): Apply entry text mode if appropriate.
28071         (org-agenda-entry-text-show-here): New function.
28072         (org-agenda-entry-text-show): New function.
28073         (org-agenda-entry-text-hide): New function.
28074         (org-agenda-view-mode-dispatch): Add entry text mode to the view
28075         key menu.
28076         (org-agenda-entry-text-mode): New command.
28077         (org-agenda-set-mode-name): Add entry text mode to the mode line
28078         string.
28079         (org-agenda-undo, org-agenda-get-restriction-and-command)
28080         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
28081         `goto-line'.
28083 2009-09-02  Bernt Hansen  <bernt@norang.ca>
28085         * org-clock.el (org-notify): Bugfix.
28087 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28089         * org-agenda.el (org-agenda-open-link): Handle multiple links and
28090         check for after-string.
28092         * org-gnus.el (org-gnus-store-link): Simplify.
28094         * org.el (org-latex-regexps): Don't add extra empty lines for
28095         display formulas.
28097 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28099         * org-agenda.el (org-agenda-get-some-entry-text): New function.
28100         (org-agenda-add-entry-text):
28101         Use `org-agenda-get-some-entry-text'.
28103         * org.el (org-cycle-separator-lines): Update docstring.
28104         (org-cycle-show-empty-lines): Handle negative values for
28105         `org-cycle-show-empty-lines'.
28107         * org-exp.el (org-export-protect-sub-super): New function.
28108         (org-export-normalize-links): Protect the url of plain links from
28109         supscript and superscript processing.
28111         * org-remember.el (org-remember-escaped-%): New function.
28112         (org-remember-apply-template): Use `org-remember-escaped-%' to
28113         detect escaped % signs.
28115 2009-09-02  Bastien Guerry  <bzg@gnu.org>
28117         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
28118         sound when showing the notification.
28120         * org-clock.el (org-notify): New function.
28121         (org-clock-notify-once-if-expired): Use `org-notify'.
28123         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
28124         and `gnus-article-mode' separately.
28125         (gnus-summary-article-header): Fix the declare-function.
28127 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28129         * org-exp.el (org-export-format-source-code-or-example):
28130         Translate language.
28132         * org-src.el (org-src-lang-modes): New variable.
28133         (org-edit-src-code): Translate language.
28135         * org-exp.el (org-export-format-source-code-or-example): Deal wit
28136         the new structure of the `org-export-latex-listings-langs'
28137         variable.
28139         * org-latex.el (org-export-latex-listings-langs): Change structure
28140         of the variable from plist to alist.
28142 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28144         * org.el (org-in-commented-line): New function.
28146 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28148         * org.el (org-hide-block-toggle): Make folded blocks searchable.
28150 2009-09-02  Friedrich Delgado Friedrichs  <friedel@nomaden.org>  (tiny change)
28152         * org.el (org-flag-drawer): More useful error.
28154 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28156         * org-remember.el (org-remember-apply-template):
28157         Use org-icompleting-read.
28159         * org-publish.el (org-publish): Use org-icompleting-read.
28161         * org-colview.el (org-columns-edit-value, org-columns-new)
28162         (org-insert-columns-dblock): Use org-icompleting-read.
28164         * org-attach.el (org-attach-delete-one, org-attach-open):
28165         Use org-icompleting-read.
28167 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28169         * org.el (org-hierarchical-todo-statistics): Improve docstring.
28170         (org-version): Return the version text.
28171         (org-org-menu): Add a menu entry for the new bug reporter.
28172         (org-submit-bug-report): New command.
28174         * org-list.el (org-hierarchical-checkbox-statistics):
28175         Improve docstring.
28177         * org.el (org-emphasis-regexp-components): Add "`" to set of
28178         pre-emphasis characters.
28180         * org-latex.el (org-export-latex-classes): Always include the soul
28181         package.
28182         (org-export-latex-emphasis-alist): Use \st for strikethough.
28184         * org-exp-blocks.el (org-export-blocks-preprocess):
28185         Use `indent-code-rigidly' to indent.
28187         * org-agenda.el (org-agenda-get-restriction-and-command):
28188         Remove properties only if MATCH really is a string.
28190 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28192         * org-latex.el (org-export-latex-packages-alist):
28193         Fix customization type.
28195         * org.el (org-create-formula-image): Also use
28196         `org-export-latex-packages-alist'.
28198         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
28199         (org-export-as-html): Format footnotes correctly.
28201 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28203         * org.el (org-fast-tag-selection): Avoid text properties on tags
28204         in the alist.
28206         * org-agenda.el (org-agenda-get-restriction-and-command):
28207         Avoid text properties on the match element.
28209 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28211         * org.el (org-set-regexps-and-options): Make sure the list of done
28212         keywords is not invalid.
28214         * org-exp.el (org-export-interpolate-newlines): New function.
28216 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28218         * org.el (org-format-latex): Avoid nested overlays.
28220         * org-latex.el (org-export-latex-listings-langs): Add a few more
28221         languages.
28223         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
28224         ignore newlines and space before the first macro argument.
28226         * org-latex.el (org-export-latex-tables): Remove save-excursion
28227         around `org-table-align'.
28229 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28231         * org.el (org-export-html-special-string-regexps):
28232         Definition moved into org.el.
28234         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
28235         in macro calls.
28237 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28239         * org-latex.el (org-export-latex-listings)
28240         (org-export-latex-listings-langs): New options.
28242         * org-exp.el (org-export-format-source-code-or-example):
28243         Use listing package if requested by the user.
28245 2009-09-02  Bastien Guerry  <bzg@gnu.org>
28247         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
28248         command before actually switching to a buffer.
28250 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28252         * org-exp.el (org-get-file-contents): Only quote org lines when
28253         the markup is src or example.
28255         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
28256         New option.
28257         (org-agenda-get-day-entries): Remember deadline results and pass
28258         them on into the function getting the scheduling information.
28259         (org-agenda-get-scheduled): Accept deadline results as parameters
28260         and maybe skip some entries.
28261         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
28263         * org.el (org-insert-heading): When respecting content, do not
28264         convert current line to headline.
28266         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
28267         Also cheeeeeck the hd marker.
28268         (org-clock-in): Also set the hd marker.
28269         (org-clock-out): Also set the hd marker.
28270         (org-clock-cancel): Reset markers.
28272         * org.el (org-clock-hd-marker): New marker.
28274         * org-faces.el (org-agenda-clocking): New face.
28276         * org-agenda.el (org-agenda-mark-clocking-task): New function.
28277         (org-finalize-agenda): Call `org-agenda-mark-clocking-task'.
28279         * org.el (org-modules): Add org-track.el.
28281         * org-agenda.el (org-agenda-bulk-marked-p): New function.
28282         (org-agenda-bulk-mark, org-agenda-bulk-unmark):
28283         Use `org-agenda-bulk-marked-p'.
28284         (org-agenda-bulk-toggle): New command.
28286 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28288         * org.el (org-move-subtree-down): Hide subtree if it was folded,
28289         not just the body.
28291         * org-remember.el (org-remember-finalize): Avoid buffer-modified
28292         messages.
28294 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
28296         * org-html.el (org-export-as-html):
28297         * org-docbook.el (org-export-as-docbook):
28298         Use (default-value 'major-mode) instead of default-major-mode.
28300 2009-08-08  Carsten Dominik  <carsten.dominik@gmail.com>
28302         * org-docbook.el: Add arch-tag.
28304         * org-exp-blocks.el: Add arch-tag.
28306         * org-id.el: Add arch-tag.
28308         * org-indent.el: Add arch-tag.
28310         * org-inlinetask.el: Add arch-tag.
28312         * org-protocol.el: Add arch-tag.
28314 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28316         * org.el (org-create-formula-image): Remove the -E option for
28317         dvipng.
28319         * org-exp.el (org-default-export-plist): Respect #+BIND.
28320         (org-export-confirm-letbind): New function.
28322         * org.el (org-paste-subtree): Test the kill ring entry if it is
28323         going to be used.
28324         (org-copy-subtree): Use `org-forward-same-level'.
28325         (org-forward-same-level): Respect the `invisibe-ok' arg for
28326         back-to-heading.
28328 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28330         * org.el (org-table-map-tables): Make sure cursor is back at table
28331         beginning after funcall.
28333         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
28334         handled before children, and do not error if an entry is not
28335         found, probably because it hase been remove when the parent was
28336         archived or refiled.
28338         * org.el (org-ido-completing-read): Accept straight lists for
28339         completion as well as alists.
28341         * org-timer.el (org-timer-cancel-timers): Rename from
28342         `org-timer-cancel-timers'.
28344         * org.el (org-cycle-internal-local): Fix problem with finding next
28345         invisible line.
28347 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28349         * org-list.el (org-list-send-list):
28350         Call `org-list-goto-true-beginning' instead of
28351         `org-list-find-true-beginning', which does not exist.
28353         * org-timer.el (org-timer-reset-timers): Use `mapc'.
28354         (org-timer-set-timer): Do not assign to heading.
28356         * org-id.el (org-id-open): Quote function name.
28358         * org-macs.el (org-unmodified): Turn off recording undo
28359         information while running inside the macro.
28361         * org-table.el (org-table-export): Also work in file-less
28362         buffers.
28364         * org.el (org-startup-indented): New option.
28365         (org-startup-options): Add new options indent and noindent.
28366         (org-unfontify-region): Remove line-prefix and wrap-prefix
28367         properties.
28368         (org-after-demote-entry-hook, org-after-promote-entry-hook):
28369         New hooks.
28370         (org-promote, org-demote): Run the new hooks.
28372         * org-table.el (org-table-align): Replace leading \n as well.
28374         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
28375         and `line-wrap' text properties.
28377         * org-compat.el (org-kill-new): New function.
28379         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
28380         `line-wrap' text properties.
28382         * org-indent.el: New file.
28384 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28386         * org.el (org-provide-todo-statistics): Tweak docstring.
28388         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
28390 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28392         * org-exp.el (org-export-as-org): Insert the "-source" string
28393         before the extension.
28395         * org.el (org-read-date): Make sure the calendar is in the current
28396         frame.
28397         (org-set-emph-re): Remove the ? from the post-match.
28398         (org-emphasis-regexp-components): Add backslash to the
28399         postmatch class.
28400         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
28401         optional so that also lines at the end of the buffers will still
28402         be matched as headlines.
28404         * org-table.el (org-table-error-on-row-ref-crossing-hline):
28405         Variable made obsolete.
28406         (org-table-relative-ref-may-cross-hline): New option.
28407         (org-table-find-row-type): Honow the new option
28408         `org-table-relative-ref-may-cross-hline'.
28410 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28412         * org-table.el (org-table-cut-region, org-table-copy-region):
28413         Work on single field if no active region.
28415 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28417         * org-latex.el (org-export-latex-make-header): Only insert title
28418         if one is defined.
28420         * org.el (org-make-options-regexp): Allow empty values.
28422 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28424         * org.el (org-cycle-internal-local): Improve version of finding
28425         next visible line.
28426         (org-cycle-hide-drawers): Only hide drawers if this is really
28427         necessary.
28428         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
28429         org-version of this function in Org-mode.  We use advice to
28430         implement this change, so that future changes to this function in
28431         outline.el wil be handled properly.
28432         (org-forward-same-level, org-backward-same-level): New commands.
28434 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28436         * org.el (org-remove-empty-overlays-at)
28437         (org-clean-visibility-after-subtree-move): New functions.
28438         (org-move-subtree-down): Simplify cleanup of display.
28440 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28442         * org-mac-message.el (org-mac-message-get-links): Improve
28443         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
28444         "s".  Fix the return value.
28445         (org-mac-message-insert-flagged): Simplify.
28447         * org.el (org-refile-get-location): Tamper with refile history o
28448         that history contains compete matches instead of the entered
28449         string.
28451 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28453         * org.el (org-store-link): Never store a link to an inline task.
28455         * org-footnote.el (org-footnote-goto-local-insertion-point):
28456         Skip inline tasks when positioning footnotes.
28458         * org.el (org-refile): Remove the END line when archiving an
28459         inline task that does have an END line.
28461         * org-archive.el (org-archive-subtree): Remove the END line when
28462         archiving an inline task that does have an END line.
28464         * org-macs.el (org-with-limited-levels): New macro.
28465         (org-get-limited-outline-regexp): New function.
28467         * org-exp.el (org-export-format-source-code-or-example): Fix bug
28468         that did not enumerate first line.
28469         (org-export-mark-radio-links): Skip matches in links.
28471 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28473         * org.el (org-activate-plain-links): Make single-match.
28474         (org-adapt-indentation): Fix docstring.
28476         * org-macs.el (org-unmodified): Turn of modification hooks while
28477         running this macro.
28479 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28481         * org.el (org-adapt-indentation): Slightly improve the docstring.
28482         (org-occur): Sends an error when the user inputs an empty string.
28483         (org-priority): Bugfix: the tag alignement should happen within
28484         save-excursion.
28486 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28488         * org.el (org-make-link-regexps): Don't exclude parentheses from
28489         `org-plain-link-re'.
28490         (org-cycle-internal-local): When locally cycling, switch directly
28491         from CHILDREN to FOLDED if there is no subtree.
28492         (org-cycle): Update the docstring to document the new behavior of
28493         `org-cycle-internal-local'.
28495 2009-08-06  Nicolas Goaziou  <n.goaziou@neuf.fr>  (tiny change)
28497         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
28498         an abbreviated format for days.
28500 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28502         * org-protocol.el (org-protocol-default-template-key):
28503         New option.
28505         * org.el (org-refile): Bugfix: save-excursion before reading the
28506         refile target, otherwise cursor moves might confuse `org-refile'.
28508         * org.el (org-toggle-heading): Bugfix: correctly convert list
28509         items before the first headline.
28511         * org.el (org-provide-todo-statistics): Allow a list of TODO
28512         keywords to compute statistics against headlines containing a
28513         keyword from this list.
28514         (org-update-parent-todo-statistics): Possibly use the new allowed
28515         value of `org-provide-todo-statistics'.
28517 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28519         * org-timer.el: Add autoload cookie.
28521         * org.el (org-occur-link-in-agenda-files): New function.
28523         * org-timer.el (org-timer-last-timer): New variable.
28525         * org-agenda.el (org-agenda-mode-map): New key for
28526         org-timer-set-timer called from the agenda.
28528         * org.el (org-mode-map): New key for org-timer-set-timer.
28530         * org-timer.el (org-timer-reset-timers)
28531         (org-timer-show-remaining-time, org-timer-set-timer):
28532         New functions.
28534         * org-clock.el (org-show-notification): Update the docstring.
28536         * org.el (org-provide-todo-statistics): Allow new value
28537         'all-headlines for this option, which includes entries with no
28538         TODO keywords in the todo statistics.
28539         (org-update-parent-todo-statistics): Possibly use the new
28540         'all-headline value from `org-provide-todo-statistics'.
28542 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28544         * org-clock.el (org-dblock-write:clocktable): Add a new option
28545         :timestamp which allows display of timestamps in clock reports.
28547         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
28548         list to a subtree, preserving the structure of the list.
28549         (org-set-emph-re): Make the last element optional in the regexp.
28550         This regexp now matches an emphasized string at the end of a line.
28552         * org-list.el (org-list-goto-true-beginning)
28553         (org-list-make-subtree, org-list-make-subtrees): New functions.
28555         * org.el (org-eval-in-calendar): Select the right frame.
28556         (org-save-frame-excursion): Remove this macro.
28558 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28560         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
28561         trying to find the beginning of a list.
28563         * org-exp.el (org-get-file-contents): Use a new argument: markup.
28564         When present, tell org-get-file-contents not to protect org-like
28565         lines.
28567         * org-id.el (org-id-uuid-program): New option to set the name of
28568         the uuidgen program.
28569         (org-id-method): Use `org-id-uuid-program'.
28570         (org-id-new): Use `org-id-uuid-program'.
28572 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28574         * org-exp.el (org-export-number-lines): Allow whitespace in code
28575         references.  Allow the -r switch to remove the references in the
28576         source code even when the lines are not numbered: the labels can
28577         be explicit enough.
28579         * org.el (org-fontify-whole-heading-line): New option.
28580         (org-set-font-lock-defaults): Use the new option.
28582         * org-clock.el (org-show-notification-handler): New option.
28583         (org-show-notification): Use the new option.
28585 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28587         * org.el (org-eval-in-calendar): Fix a bug about calendar
28588         navigation when `calendar-setup' value is 'calendar-only.
28590 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28592         * org.el (orgstruct++-mode): Fix typo in docstring.
28593         (org-insert-link): Clean up: (or (...)) => (...)
28594         (org-insert-link): Use TAB for stored links completion.
28596 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28598         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
28599         building the list of targets.
28601         * org-remember.el (org-remember-delete-empty-lines-at-end):
28602         New option.
28603         (org-remember-handler): Use the new option.
28605 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
28607         * org.el (org-tags-sort-function): New option for sorting tags.
28608         (org-set-tags): Use the new option to sort tags.
28610         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
28611         premature deletion of the data when using org-plot in a script.
28613 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28615         * org-clock.el (org-clock-in-prepare-hook): New hook.
28616         (org-clock-in): Use this new hook.
28618 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28620         * org.el (org-special-ctrl-a/e): Explicitly bind the value
28621         'reversed for this option to the "true line boundary first"
28622         behavior.
28623         (org-tags-match-list-sublevels): Document the 'indented value for
28624         this variable.
28626         * org-latex.el (org-export-latex-first-lines): Fix problem with
28627         publishing the region.
28629         * org-exp.el (org-export-format-source-code-or-example):
28630         Fix bad line numbering when exporting examples in HTML.
28632 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
28634         * org-colview.el (org-format-time-period): Formats a time in
28635         fractional days as days, hours, mins, seconds.
28636         (org-columns-display-here): Add special handling for SINCE and
28637         SINCE_IA to format for display.
28639         * org.el (org-time-since): Add a function to get the time since an
28640         org timestamp.
28641         (org-entry-properties): Add two new special properties: SINCE and
28642         SINCE_IA.  These give the time since any active or inactive
28643         timestamp in an entry.
28644         (org-special-properties): Add SINCE, SINCE_IA.
28645         (org-tags-sort-function): Add custom declaration for tags
28646         sorting function.
28647         (org-set-tags): Sort tags if org-tags-sort-function is set.
28649 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28651         * org-clock.el (org-clock-goto): Find hidden headlines as well.
28653         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
28655         * org-plot.el (org-plot/add-options-to-plist): Add timeind
28656         option.
28658 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28660         * org-publish.el (org-publish-remove-all-timestamps): New function.
28661         (org-publish-all): Remove all timestamp files if `org-publish-all'
28662         is called with a prefix argument.
28664         * org-list.el (org-indent-item): Fix typo.
28665         (org-item-indent-positions): Normalize ordered bullet.
28667 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28669         * org-macs.el (org-set-local): Make a local variable, do not make
28670         the variable buffer-local!
28672         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
28674         * org-exp.el (org-infile-export-plist): Read BIND lines.
28675         (org-install-letbind): New function.
28676         (org-export-as-org, org-export-preprocess-string):
28677         Call `org-install-letbind'.
28679         * org-list.el (org-list-demote-modify-bullet): New option.
28680         (org-first-list-item-p): Save point.
28681         (org-fix-bullet-type): New optional argument FORCE-BULLET.
28682         (org-indent-item): Honor `org-list-demote-modify-bullet'.
28683         (org-item-indent-positions): Return bullet types along with
28684         indentation.
28686 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28688         * org.el (org-show-entry): Hide drawers.
28690 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28692         * org-footnote.el (org-footnote-auto-adjust): New option.
28693         (org-footnote-auto-adjust-maybe): New function.
28694         (org-footnote-new, org-footnote-delete):
28695         Call `org-footnote-auto-adjust-maybe'.
28697         * org.el (org-startup-options): Add new footnote-related
28698         keywords.
28700         * org-publish.el (org-publish-timestamp-filename): Additional
28701         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
28702         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
28703         TRUE-PUB-DIR.  Pass them through to
28704         `org-publish-timestamp-filename'.
28705         (org-publish-update-timestamp): Additional arguments PUB-DIR and
28706         PUB-FUNC, which are included in the hash.
28707         (org-publish-file): Delay timestamp test until the publishing
28708         function is known.
28710 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28712         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
28713         setting the deadline.
28715         * org.el (org-read-date-final-answer): New variable.
28716         (org-read-date): Store the final answer string, including the date
28717         from the calendar, for reuse by agenda bulk commands.
28719         * org-publish.el (org-publish-attachment): Fix publishing of
28720         attachments.
28722         * org-latex.el (org-export-latex-quotation-marks): Fix export of
28723         quotation makrs in parenthesis.
28724         (org-remove-initial-hash): New function.
28725         (org-export-latex-preprocess): Fix bug with infinite loop if
28726         environment is not properly closed.
28728         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
28729         when indented.
28731         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
28732         highlight also when indented.
28734 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28736         * org-footnote.el (org-footnote-renumber-fn:N): New command.
28737         (org-footnote-action): Offer renumbering.
28739         * org.el (org-cycle): Honor the `integrate' value of
28740         org-cycle-include-plain-lists'.
28742         * org-list.el (org-cycle-include-plain-lists): New allowed value
28743         `internal'.  Improve the docstring.
28745         * org.el (org-set-autofill-regexps): Improve the paragraph-start
28746         regexp to work better with LaTeX commands.
28748 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28750         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
28751         and eps extensions.
28753 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28755         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
28756         loaded.
28758         * org.el (org-map-entries): No longer force
28759         `org-tags-match-list-sublevels' to t during a todo-only tags
28760         search.
28762 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28764         * org-latex.el (org-export-latex-low-levels): Allow user-defined
28765         environment.
28766         (org-export-latex-subcontent): Handle user-defined environment.
28768         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
28769         the View dispatcher.
28771         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
28772         `make-overlay'.
28774         * org-latex.el (org-export-as-pdf): Protect match data during call
28775         to shell-quote-argument.
28777         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
28778         (org-agenda-view-mode-dispatch): New function.
28780 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28782         * org-agenda.el (org-agenda-mode): Reset list of marks.
28783         (org-agenda-mode-map): Define new keys for refile and bulk action.
28784         (org-agenda-menu): Add menu itesm for refile and bulk action.
28785         (org-agenda-refile): New function.
28786         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
28787         (org-agenda-marked-entries): New variable.
28788         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
28789         (org-agenda-remove-all-bulk-action-marks)
28790         (org-agenda-bulk-action): New functions/commands.
28792 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28794         * org-exp.el (org-get-file-contents): Protect org-like lines in
28795         included files.
28796         (org-export-format-source-code-or-example): Remove newlines.
28798         * org-latex.el (org-export-latex-links): Check for no-description
28799         marking.
28801         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
28802         argument separator back to comma.
28803         (org-export-normalize-links): Mark links without description.
28805 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28807         * org-exp.el (org-infile-export-plist): Fix bug in macro
28808         processing.
28810         * org-agenda.el (org-agenda-clock-out): Update line after clocking
28811         out.
28812         (org-agenda-highlight-todo): Fix bug with highlighting.
28814 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28816         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
28817         new alignment strings.
28819         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
28820         command list.
28821         (org-table-align): Check for forced align type.
28823         * org.el (org-self-insert-command): Add yas/expand to command
28824         list.
28826         * org-clock.el (org-clock-in-hook): New hook.
28827         (org-clock-in): Run `org-clock-in-hook.
28828         (org-clock-out-hook): New hook.
28829         (org-clock-out): Run `org-clock-out-hook.
28830         (org-clock-cancel-hook): New hook.
28831         (org-clock-cancel): Run `org-clock-cancel-hook.
28832         (org-clock-goto-hook): New hook.
28833         (org-clock-goto): Run `org-clock-goto-hook.
28835 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28837         * org.el (org-store-link): Better default description for link to
28838         Org-mode headline.
28840         * org-exp.el (org-export-generic): Autoload the generic exporter
28841         function.
28842         (org-export): Implement the `g' key for the generic exporter.
28844 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28846         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
28847         and for zbacktab'.
28849         * org-exp.el (org-infile-export-plist): Get macros also from
28850         #+SETUPFILE.
28852 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28854         * org-colview.el (org-columns-capture-view): Protect vertical bars
28855         in column values.
28856         (org-columns-capture-view): Exclude comment and archived trees.
28858         * org.el (org-quote-vert): New function.
28860         * org-latex.el (org-export-latex-verbatim-wrap): New option.
28862         * org-exp.el (org-export-format-source-code-or-example):
28863         Use `org-export-latex-verbatim-wrap'.
28865         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
28866         time stamps.
28868 2009-08-06  Eric Schulte  <schulte.eric@gmail.com>
28870         * org-exp-blocks.el: New file.
28872 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28874         * org-remember.el (org-remember-templates): Allow the headline
28875         element to be a function.
28876         (org-remember-apply-template): If the headline is a function, call
28877         it to get the true function.
28879         * org-clock.el (org-clock-menu): New function.
28880         (org-clock-update-mode-line): Update help string.
28881         (org-clock-modify-effort-estimate): New function.
28882         (org-clock-mark-default-task): New function.
28884         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
28885         minutes as input.
28886         (org-org-menu): Add new clocking stuff.
28887         (org-clock-is-active): New function.
28889 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28891         * org.el (org-open-non-existing-files): Improve docstring.
28893 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28895         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries):
28896         New option.
28897         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
28899         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
28901         * org-list.el (org-get-checkbox-statistics-face): Use the new
28902         faces.
28904         * org-faces.el (org-checkbox-statistics-todo)
28905         (org-checkbox-statistics-done): New faces.
28907 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28909         * org-latex.el (org-export-latex-use-verb): New variable.
28910         (org-export-latex-emph-format): Prefer \texttt over \verb when
28911         org-export-latex-use-verb is set.
28913 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28915         * org-remember.el (org-remember-handler): Abort remember if the
28916         buffer is empty.
28918         * org-exp.el (org-export-format-source-code-or-example):
28919         Run `org-src-mode-hook'.
28921 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28923         * org.el (org-indent-line-function): Fix indentation of +#end lines.
28925 2009-08-06  Tassilo Horn  <tassilo@member.fsf.org>
28927         * org-gnus.el (org-gnus-store-link): Require message.el in
28928         org-gnus-store-link.
28930 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28932         * org-src.el: New file, split out of org.el.
28934         * org-macs.el (org-replace-match-keep-properties): New function.
28936         * org-exp.el (org-export-mark-blockquote-verse-center):
28937         Better preprocessing of center and quote and verse blocks.
28939         * org-list.el (org-list-end): Respect the stored "original"
28940         indentation when determining the end of the list.
28942         * org-exp.el (org-export-replace-src-segments-and-examples):
28943         Remember indentation correctly.
28945 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28947         * org-clock.el (org-clock-update-mode-line): Apply face
28948         org-mode-line-clock.
28950         * org-faces.el (org-mode-line-clock): New face.
28952 2009-08-06  Tassilo Horn  <tassilo@member.fsf.org>
28954         * org-gnus.el (org-gnus-store-link): Fix bug where
28955         `org-gnus-store-link' used wrong subject when called in an article
28956         buffer.  Patch provided by fengli AT gmail DOT com.
28958 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28960         * org-exp.el (org-export-format-source-code-or-example):
28961         Remember the original indentation of source code snippets and examples.
28963         * org-latex.el (org-export-as-latex): Relocate the table of
28964         contents.
28966         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
28968         * org-agenda.el (org-run-agenda-series): Scope global options also
28969         when creating the agenda buffer.
28971 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28973         * org.el (org-adapt-indentation): Improve documentation.
28974         (org-insert-property-drawer): Respect org-adapt-indentation when
28975         inserting the drawer.
28976         (org-remove-flyspell-overlays-in): New function.
28977         (org-do-emphasis-faces, org-activate-plain-links)
28978         (org-activate-code, org-fontify-meta-lines-and-blocks)
28979         (org-activate-angle-links, org-activate-footnote-links)
28980         (org-activate-bracket-links, org-activate-dates)
28981         (org-activate-target-links, org-activate-tags): Remove flyspell
28982         overlays.
28984 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28986         * org.el (org-edit-src-save): New function.
28988         * org-clock.el (org-clock-out-switch-to-state): New option.
28989         (org-clock-out): Honor `org-clock-out-switch-to-state'.
28991         * org-compat.el (org-compatible-face): Improve macro.
28993         * org.el (org-global-properties-fixed): Add default for
28994         CLOCK_MODELINE_TOTAL.
28996         * org-clock.el (org-clock-sum): Accept lists and strings as tstart
28997         and tend.
28998         (org-clock-sum-current-item): Optional argument TSTART, pass it to
28999         org-clock-sum.
29000         (org-clock-get-sum-start): New function.
29002         * org.el (org-startup-options): New keywords blockhide and
29003         blockshow.
29004         (org-mode): Add new invisibility spec.
29005         (org-set-startup-visibility): Hide block on startup if so
29006         desired.
29007         (org-hide-block-startup): New option.
29008         (org-block-regexp): New constant.
29009         (org-hide-block-overlays): New variable.
29010         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
29011         (org-show-block-all, org-hide-block-toggle-maybe)
29012         (org-hide-block-toggle): New functions.
29013         (org-edit-src-exit): Do not quote lines starting with # and no +
29014         behind it.
29015         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
29016         entry.
29018 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29020         * org.el (org-buffer-property-keys): Add Effort property for
29021         completion.
29023 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29025         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
29026         when retrieving total clocked time in the subtree.
29028         * org.el (org-quoting-blocks): New variable.
29030 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29032         * org-table.el (org-table-store-formulas)
29033         (org-table-get-stored-formulas, org-table-fix-formulas)
29034         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
29035         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
29037         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c):
29038         Allow indented #+TBLFM line.
29040         * org-footnote.el (org-footnote-goto-local-insertion-point):
29041         Allow indented #+TBLFM line.
29043         * org-colview.el (org-dblock-write:columnview): Allow indented
29044         #+TBLFM line.
29046         * org-clock.el (org-dblock-write:clocktable): Allow indented
29047         #+TBLFM line.
29049 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29051         * org-exp.el (org-export-format-source-code-or-example):
29052         Make editing indented blocks work correctly.
29054         * org.el (org-edit-src-nindent): New variable.
29055         (org-edit-src-code, org-edit-fixed-width-region)
29056         (org-edit-src-find-region-and-lang, org-edit-src-exit):
29057         Make editing indented blocks work correctly.
29059 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29061         * org-exp.el (org-export-replace-src-segments-and-examples):
29062         Find indented blocks.
29063         (org-export-format-source-code-or-example): Fix indentation of
29064         blocks.
29065         (org-export-remove-indentation): New function.
29066         (org-export-select-backend-specific-text): Allow backend-specific
29067         code to be indented.
29068         (org-export-mark-blockquote-verse-center): Allow markers to be
29069         indented.
29071         * org.el (org-fontify-meta-lines): New function.
29072         (org-set-font-lock-defaults): Call the new fontification
29073         function.
29075         * org-faces.el (org-meta-line): New face.
29076         (org-block): New face.
29078 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29080         * org.el (org-treat-insert-todo-heading-as-state-change)
29081         (org-treat-S-cursor-todo-selection-as-state-change):
29082         New variables.
29083         (org-insert-todo-heading):
29084         Honor `org-treat-insert-todo-heading-as-state-change'.
29085         (org-shiftright, org-shiftleft):
29086         Honor `org-treat-S-cursor-todo-selection-as-state-change'.
29087         (org-inhibit-logging): New variable.
29089 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29091         * org-agenda.el (org-remove-subtree-entries-from-agenda):
29092         Reduce range for marker position checking.
29094         * org-latex.el (org-export-latex-first-lines): Fix bug when
29095         exporting a region.
29097 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29099         * org-exp.el (org-export-push-to-kill-ring): Protect using
29100         x-set-selection, because that does not always work.
29102         * org-agenda.el (org-agenda-list): Apply the new face
29103         `org-agenda-date-today'.
29105         * org-faces.el (org-agenda-date-today): New face.
29107 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29109         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
29110         creating appointments.
29112         * org-latex.el (org-export-latex-low-levels): Fix customization
29113         type.
29115         * org.el (org-priority, org-shiftup, org-shiftdown):
29116         Disable priority commands.
29118         * org-agenda.el (org-agenda-priority): Disable priority commands.
29120         * org.el (org-enable-priority-commands): New option.
29122         * org-colview.el (org-columns-compute)
29123         (org-columns-number-to-string): Fix problems with empty fields.
29125         * org-exp.el (org-export-push-to-kill-ring): New function.
29126         (org-export-copy-to-kill-ring): New option.
29128         * org-latex.el (org-export-as-latex):
29129         Call `org-export-push-to-kill-ring'.
29131         * org-exp.el (org-export-show-temporary-export-buffer):
29132         New option.
29134         * org-latex.el (org-export-as-latex):
29135         Use `org-export-show-temporary-export-buffer'.
29137         * org-exp.el (org-export-show-temporary-export-buffer):
29138         New option.
29139         (org-export-push-to-kill-ring): New function.
29141         * org-colview.el (org-columns-compile-map): New variable.
29142         (org-columns-new, org-columns-compute)
29143         (org-columns-number-to-string, org-columns-uncompile-format)
29144         (org-columns-compile-format): Implement new operators.
29146 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29148         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
29150         * org-list.el (org-update-checkbox-count): Make property
29151         dependent.
29153         * org.el (org-hierarchical-todo-statistics): New option.
29154         (org-update-parent-todo-statistics): Modify to handle recursive
29155         statistics.
29157 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29159         * org-publish.el (org-publish): Make this function behave
29160         correctly in interactive use when called with a prefix argument.
29162         * org.el (org-todo-statistics-hook): New hook.
29163         (org-update-parent-todo-statistics): Use new hook.
29164         (org-log-into-drawer): New function.
29165         (org-add-log-setup): Use the new `org-log-into-drawer' function to
29166         determine if we should be logging into a drawer.
29167         (org-log-into-drawer): Update docstring.
29168         (org-default-properties): Add LOG_INTO_DRAWER as a property.
29170         * org-list.el (org-checkbox-statistics-hook): New hook.
29171         (org-update-checkbox-count-maybe): Use new hook.
29173 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29175         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
29176         better buffer-generating mechanism.
29177         (org-edit-src-find-buffer): New function.
29179         * org-icalendar.el (org-print-icalendar-entries): Don't check for
29180         archive tag, this is already done by `org-agenda-skip'.
29181         data while constructing lost of tags.
29183 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29185         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
29186         as argument separator in macros.
29188 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29190         * org.el (org-after-sorting-entries-or-items-hook): New hook.
29191         (org-sort-entries-or-items): Run the new hook.
29192         (org-after-refile-insert-hook): New hook.
29193         (org-refile): Run `org-after-refile-insert-hook'.
29195         * org-agenda.el (org-agenda-get-progress): Never take time of day
29196         from headline when displaying progress.
29198         * org-latex.el (org-export-latex-complex-heading-re): New variable.
29199         (org-export-as-latex): Force the correct regexp in the
29200         preprocessor buffer.
29201         (org-export-latex-set-initial-vars):
29202         Set `org-export-latex-complex-heading-re'.
29204         * org-agenda.el (org-agenda-start-with-log-mode): New option.
29205         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
29207 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29209         * org-latex.el (org-export-latex-tables-centered): New option.
29210         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
29212         * org-exp.el (org-export-as-org): New command.
29213         (org-export-as-org): New command.
29215         * org-publish.el (org-publish-org-to-org): New function.
29217 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29219         * org.el (org-yank): Just call `org-yank-generic'.
29220         (org-yank-generic): New function, containing the formaer
29221         functionality of `org-yank'.
29223         * org-latex.el (org-export-latex-not-done-keywords)
29224         (org-export-latex-done-keywords): New variables.
29225         (org-export-latex-todo-keyword-markup): New option.
29226         (org-export-latex-set-initial-vars): Remember the TODO keywords.
29227         (org-export-latex-keywords-maybe): Apply the TODO markup.
29229 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29231         * org-exp.el (org-infile-export-plist): Add more default macros.
29232         (org-export-preprocess-apply-macros): Process macro arguments.
29234 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29236         * org-icalendar.el (org-icalendar-include-todo): New allowed value
29237         `unblocked'.
29238         (org-print-icalendar-entries): Respect the new value of
29239         `org-icalendar-include-todo'.
29241         * org.el (org-link-try-special-completion)
29242         (org-file-complete-link): New functions.
29243         (org-insert-link): Add special completion support for some link
29244         types.
29246         * org-bbdb.el (org-bbdb-complete-link): New function.
29248 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29250         * org-list.el (org-update-checkbox-count): Allow recursive
29251         statistics.
29252         (org-hierarchical-checkbox-statistics): New option.
29254         * org.el (org-cycle): Remove erraneous space character.
29256         * org-icalendar.el (org-icalendar-timezone): Initialize from
29257         environment.
29259 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29261         * org.el (org-autoload): Fix autoloading of ascii export
29262         functions.
29263         (org-modules): Add org-special-blocks.
29265 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29267         * org-icalendar.el (org-start-icalendar-file): Use the new option.
29268         (org-ical-timezone): New option.
29270         * org-exp.el (org-export-get-coderef-format): Use the description
29271         is present.
29273         * org.el (org-sort-entries-or-items): Improve docstring, and make
29274         better implementation for time sorting.
29276 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29278         * org.el (org-edit-src-persistent-message): New option.
29279         (org-edit-src-code, org-edit-fixed-width-region): Use the new
29280         option.
29282         * org-clock.el (org-clock-insert-selection-line): Fix prefious
29283         patch.
29285         * org.el (org-edit-src-code, org-edit-fixed-width-region):
29286         Use separate buffer instead of indirect buffer to edit source code.
29287         (org-edit-src-exit): Make this function work with the new setup.
29289         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
29290         are properly fontified before shown in the selection menu.
29292         * org.el (org-fontify-like-in-org-mode): New function.
29294         * org-latex.el (org-export-latex-links): Use the property list to
29295         retrieve the default image attributes.
29297         * org-exp.el (org-export-plist-vars): Add a new option.
29299 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29301         * org-exp.el (org-export, org-export-visible): Support ASCII
29302         export to buffer.
29303         (org-export-normalize-links): Do not protect the description if it
29304         is explicitly given.
29306         * org-list.el (org-reset-checkbox-state-subtree): Move here from
29307         org-checklist.el.
29308         (org-reset-checkbox-state-subtree):
29309         Call `org-reset-checkbox-state-subtree'.
29311         * org-remember.el (org-select-remember-template): For the
29312         selection of a valid template.
29314         * org-latex.el (org-export-region-as-latex): Supply the
29315         force-no-subtree argument.
29316         (org-export-as-latex): Provide better limits when exporting the
29317         first line.  When exporting to string, we still want the first
29318         lines.
29319         (org-export-latex-first-lines): New argument END, to force the end
29320         of the region.
29321         (org-export-region-as-latex): Use the property list.
29322         (org-export-as-latex): ????
29324 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29326         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
29327         (org-export-latex-preprocess): Run the new hook.
29329         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
29330         (org-export-preprocess-string): Run the new hook.
29332 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29334         * org-macs.el (org-check-external-command): New defsubst.
29336         * org.el (org-mode-map): New key for reload.
29337         (org-format-latex): Better error message when external programs
29338         are not available.
29340         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
29342         * org.el (org-sort-entries-or-items): Explicit sorting function
29343         for priorities, needed for XEmacs compatibility.
29345         * org-remember.el (org-remember-apply-template): Improve auto-save
29346         behavior.
29348 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29350         * org-latex.el (org-export-latex-preprocess): Also protect
29351         environments ending in a star.
29353         * org-list.el (org-at-item-p): Fix regular expression.
29355 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29357         * org.el (org-end-of-subtree): Improve speed.
29359         * org-agenda.el (org-agenda-get-timestamps)
29360         (org-agenda-get-progress, org-agenda-get-deadlines)
29361         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
29362         in particular, wait as long as possible to collect the tags.
29363         (org-stuck-projects): Improve docstring.
29365         * org.el (org-store-link): No errors when getting custom id before
29366         first headline.
29367         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
29369 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29371         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
29373         * org-protocol.el: Remove dependency on url.el.
29374         (org-protocol-unhex-compound, org-protocol-open-source):
29375         Remove dependency on url.el.
29377         * org-latex.el (org-export-as-pdf):
29378         Use `org-latex-to-pdf-process'.
29380 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29382         * org-latex.el (org-latex-to-pdf-process): New option.
29384         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
29385         New option.
29386         (org-agenda-get-timestamps):
29387         Honor `org-agenda-skip-additional-timestamps-same-entry'.
29389         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
29390         (org-clock-goto): Find recent task only if
29391         `org-clock-goto-may-find-recent-task' allows it.
29393         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
29394         drawers, and drawers that are missing the :END: line.
29396 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29398         * org-clock.el (org-clock-goto): Go to recently clocked task if no
29399         clock is running.
29401 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29403         * org.el (org-update-parent-todo-statistics): Check for
29404         STATISTICS_FROM property.
29406         * org-list.el (org-update-checkbox-count): Check for
29407         STATISTICS_FROM property.
29409         * org.el (org-tab-first-hook)
29410         (org-tab-after-check-for-table-hook)
29411         (org-tab-after-check-for-cycling-hook): New hooks.
29412         (org-cycle-internal-global, org-cycle-internal-local):
29413         New functions, split out from `org-cycle'.
29414         (org-cycle): Call the new hooks.
29416 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29418         * org-exp.el (org-export-preprocess-string): Reset the list of
29419         preferred targets for each run of the preprocessor.
29421         * org.el (org-refile-target-verify-function):
29422         Improve documentation.
29423         (org-get-refile-targets): Respect point being moved by the
29424         verification function.
29426         * org-latex.el (org-export-latex-timestamp-keyword-markup):
29427         New option.
29428         (org-export-latex-keywords): Use new option.
29430         * org.el (org-rear-nonsticky-at): New defsubst.
29431         (org-activate-plain-links, org-activate-angle-links)
29432         (org-activate-footnote-links, org-activate-bracket-links)
29433         (org-activate-dates, org-activate-target-links)
29434         (org-activate-tags): Place the rear-nonsticky properties at the
29435         correct location.
29437 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29439         * org-protocol.el (server-edit): Declare `server-edit'.
29440         (org-protocol-unhex-string, org-protocol-unhex-compound):
29441         New functions.
29442         (org-protocol-check-filename-for-protocol): Call `server-edit'.
29444         * org.el (org-default-properties): New default properteis for
29445         completion.
29447         * org-exp.el (org-export-add-subtree-options): Add new properties
29448         for subtree export.
29450 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29452         * org-id.el (org-id-get-with-outline-path-completion): Turn off
29453         org-refile-target-verify-function for the duration of the command.
29455         * org.el (org-link-to-org-use-id): New possible value
29456         `create-if-interactive-and-no-custom-id'.
29457         (org-store-link): Use custom IDs.
29458         (org-link-search): Find custom ID properties from #link.
29459         (org-default-properties): Add CUSTOM_ID for property completion.
29460         (org-refile-target-verify-function): New option.
29461         (org-goto): Turn off org-refile-target-verify-function
29462         for the duration of the command.
29464 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29466         * org-exp.el (org-export-preferred-target-alist): New variable.
29467         (org-export-define-heading-targets): Find the new CUSTOM_ID
29468         property.
29469         (org-export-target-internal-links): Target the custom ids when
29470         possible.
29472         * org-latex.el (org-export-latex-preprocess): Better regexp for
29473         matching latex macros with arguments.
29475 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29477         * org-remember.el (org-remember-handler): Allow filing to non-org
29478         files.
29480 2009-08-06  Magnus Henoch  <magnus.henoch@gmail.com>
29482         * org-table.el (org-table-fix-formulas): Do not change references
29483         to remote tables.
29484         (org-table-get-remote-range): Convert standard coordinates to RC
29485         format.
29487         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
29489 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29491         * org-compat.el (org-sha1-string): Function removed.
29493         * org.el (org-refile-allow-creating-parent-nodes): New option.
29494         (org-refile-get-location): New argument NEW-NODES.
29495         (org-refile): Call `org-refile-get-location' with the new
29496         argument.
29497         (org-refile-get-location): Arrange for adding a new child.
29498         (org-refile-new-child): New function.
29500         * org-clock.el: Fix a number of docstrings.
29501         (org-clock-find-position): New argument
29502         FIND-UNCLOSED to make the function find an unclosed clock in the
29503         entry.
29504         (org-clock-in): Call `org-clock-find-position' with the new
29505         argument if we might be resuming a clock.
29507 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29509         * org-latex.el (org-export-latex-display-custom-times): New variable.
29510         (org-export-latex-timestamp-markup): New option.
29511         (org-export-latex-set-initial-vars): Remember the local value of
29512         `org-display-custom-times'.
29513         (org-export-latex-content): Process time stamps.
29514         (org-export-latex-time-stamps): New function.
29516         * org-macs.el (org-maybe-intangible): Add intangible property
29517         again to invisible text.
29519 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29521         * org-exp.el (org-default-export-plist): Handle undefined
29522         variables.
29524 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29526         * org.el (org-sort-entries-or-items): Match TODO keywords
29527         case-sensitively, when sorting.
29528         (org-priority): Do not match TODO keywords with wrong case.
29530 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29532         * org.el (org-todo): Honor the NOBLOCKING property.
29534         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
29535         NOBLOCKING property.
29537         * org.el (org-scan-tags): Fix bug in tag scanner.
29539 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29541         * org.el (org-modules): Mark obsolete packages.
29543         * org-html.el: New file, split out from org-exp.el.
29545         * org-icalendar.el: New file, split out from org-exp.el.
29547         * org-xoxo.el: New file, split out from org-exp.el.
29549         * org-ascii.el: New file, split out from org-exp.el.
29551 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29553         * org-compat.el (org-find-library-name): New function.
29555         * org.el (org-pre-cycle-hook): New hook.
29556         (org-cycle): Call the new hook in appropriate places.
29557         (org-reload): Only reload files that have been loaded before.
29559 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29561         * org.el (org-set-font-lock-defaults): Enforxe space or line end
29562         after todo keyword.
29563         (org-todo): When changing TODO state, do matching
29564         case-sensitively.
29565         (org-map-continue-from): New variable.
29566         (org-scan-tags): Respect values in `org-map-continue-from'.
29567         (org-reload): Make XEmacs compatible.
29569 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29571         * org-protocol.el (org-protocol-flatten-greedy): New function.
29572         (org-protocol-flatten): New function.
29574         * org.el (org-open-link-from-string): Pass reference buffer to
29575         `org-open-at-point'.
29576         (org-open-at-point): New optional argument `reference-buffer'.
29578 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29580         * org.el (org-scan-tags): Make tag scan find headline in first
29581         line, 2nd attempt.
29582         (org-get-refile-targets): Add the naked file name.
29583         (org-refile): Store as top-level entry when only file name was
29584         given.
29586         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
29588         * org.el (org-block-todo-from-children-or-siblings-or-parent):
29589         Rename from org-block-todo-from-children-or-siblings, and
29590         enhanced to look for the parent's status as well.
29592         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
29593         (org-agenda-get-progress): Add first notes line to log entry if so
29594         desired.
29596 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29598         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
29599         (org-agenda-cleanup-fancy-diary): Call the new hook.
29601         * org-remember.el (org-remember-apply-template): Take the default
29602         for the annotation from the :annotation property.
29604         * org-mac-message.el (org-mac-message-get-link): Remove the
29605         quotes.
29606         (org-mac-message-get-link): Return the result.
29608 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29610         * org.el (org-refile-get-location): Add file name only if not
29611         already included in outline path.
29613         * org-faces.el (org-n-level-faces): Fix customization type from
29614         number to integer.
29616         * org-exp.el (org-export-headline-levels): Fix customization type
29617         from number to integer.
29619         * org-agenda.el (org-agenda-confirm-kill)
29620         (org-agenda-custom-commands-local-options)
29621         (org-timeline-show-empty-dates, org-agenda-ndays)
29622         (org-agenda-start-on-weekday, org-scheduled-past-days):
29623         Fix customization type from number to integer.
29625 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29627         * org-protocol.el: Declare some functions.
29629         * org-agenda.el (org-agenda-compare-effort):
29630         Honor `org-sort-agenda-noeffort-is-high'.
29631         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
29632         (org-agenda-compare-effort): Implement the "?" operator for
29633         finding entries without effort setting.
29635         * org.el (org-extract-attributes-from-string): New function.
29637         * org-exp.el (org-export-splice-attributes): New function.
29639 2009-08-06  Bastien Guerry  <bzg@gnu.org>
29640         Daniel M German  <dmg@uvic.org>
29641         Sebastian Rose  <sebastian_rose@gmx.de>
29642         Ross Patterson  <me@rpatterson.net>
29644         * org-protocol.el: New file.
29646 2009-08-06  Baoqiu Cui  <cbaoqiu@yahoo.com>
29648         * org-docbook.el: New file.
29650 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29652         * org-mouse.el: XEmacs compatibility fixes.
29654         * org.el (org-modules): Add org-inlinetasks.el.
29655         (org-cycle): Implement limiting level on cycling.
29656         (org-move-subtree-down): Fix bug with swapping subtrees at end of
29657         buffer.
29659         * org-inlinetask.el: New file.
29661         * org.el (org-emphasis-regexp-components): Allow braces in
29662         emphasis pre and post match.
29664         * org-footnote.el (org-footnote-normalize): When only sorting, do
29665         not insert inline notes at the end.
29667         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
29669 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29671         * org.el (org-reftex-citation): New command.
29673 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29675         * org-agenda.el (org-agenda-cmp-user-defined): New option.
29676         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
29677         sorting options.
29678         (org-entries-lessp): Apply the new sorting option.
29680         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
29681         blocker code, when an older sibling has children.
29683         * org-mac-message.el (org-mac-message-get-link): Improve getting
29684         links from multiple selected messages.
29686 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29688         * org-remember.el (org-remember-finalize): Do not set buffer file
29689         name to nil.
29690         (org-remember-handler): Mark buffer as unmodified.
29691         (org-remember-handler): Delete backup file and show message about
29692         remaining backup files.
29693         (org-remember-auto-remove-backup-files): New option.
29695         * org.el (org-store-link): Use buffer name as link description in
29696         w3-mode buffers.
29697         (org-ido-switchb): Fix argument bug for completion.
29699         * org-remember.el (org-remember-apply-template): Set local
29700         variable `auto-save-visited-file-name' instead of global one.
29702 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29704         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
29705         (org-agenda-get-todos): Mark file tags as inherited.
29706         (org-agenda-list): Always search diary lines for a time.
29708 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29710         * org-feed.el: New file.
29712         * org-exp.el (org-export-as-html): Close local lists depending on
29713         indentation, also when starting a table.
29715         * org-remember.el (org-remember-backup-directory)
29716         (org-remember-backup-name): New internal variable.
29718 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29720         * org-clock.el (org-clock-out-if-current): Make buffer detection
29721         work in indirect buffers as well.
29723         * org.el (org-emphasis-regexp-components): Add the exxclamation
29724         mark to the post-emphasis characters.
29726 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29728         * org.el (org-read-date-minibiffer-septup-hook): New hook.
29729         (org-read-date): Run the new hook.
29731         * org-mac-message.el (org-mac-flagged-mail): New group.
29732         (org-mac-mail-account): New variable.
29733         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail):
29734         New commands.
29736         * org-remember.el (org-remember-backup-directory): New variable.
29737         (org-remember-apply-template): Write file to backup directory.
29739 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29741         * org-mouse.el (org-mouse-todo-menu): New function.
29742         (org-mouse-todo-keywords): Function removed.
29743         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
29745         * org-table.el (org-table-beginning-of-field)
29746         (org-table-end-of-field): New commands.
29747         (org-table-previous-field, org-table-beginning-of-field):
29748         Better error messages.
29749         (orgtbl-setup): Include `M-a' and `M-e'.
29751         * org.el (org-backward-sentence, org-forward-sentence):
29752         New commands.
29754         * org-colview.el (org-colview-initial-truncate-line-value):
29755         New variable.
29756         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
29757         (org-columns): Remember the value of `truncate-lines'.
29759         * org.el (org-columns-skip-arrchived-trees): New option.
29761         * org-agenda.el (org-agenda-export-html-style): Define color for
29762         org-agenda-done face.
29763         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
29764         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
29766         * org.el (org-scan-tags): Use the new face.
29768         * org-faces.el (org-agenda-done): New face.
29770         * org.el (org-scan-tags): Test the value org
29771         `org-tags-match-list-sublevels'.
29772         (org-tags-match-list-sublevels): New allowed value: indented.
29774         * org-latex.el (org-export-latex-make-header): Apply macros
29775         in header.
29777         * org-exp.el (org-export-apply-macros-in-string): New function.
29779         * org-latex.el (org-export-latex-list-parameters): Fix bug
29780         with the definition of a checked box.
29782         * org-clock.el (org-clock-find-position): Fix drawer indentations.
29784         * org-latex.el (org-export-latex-low-levels): More options
29785         for how to process lower levels in LaTeX.
29786         (org-export-latex-subcontent): Better treatment for lists as a
29787         means of publishing lower levels.
29789 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29791         * org.el (org-set-font-lock-defaults): Use new checkbox face.
29793         * org-faces.el (org-checkbox): New face.
29795         * org-exp.el (org-export-html-preprocess): Only create LaTeX
29796         fragement images if there is an export file.
29798 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29800         * org-agenda.el (org-stuck-projects): Document that the subtree of
29801         projects that are not stuck will now be searched for stuck
29802         sub-projects.
29803         (org-agenda-skip-entry-when-regexp-matches)
29804         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
29805         (org-agenda-list-stuck-projects):
29806         Use `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
29808         * org-latex.el (org-export-latex-preprocess):
29809         Improve export of verses.
29811         * org-exp.el (org-export-as-html): Implement centering as a div
29812         rather than a paragraph.  Do a better job with line-end in verse
29813         environments.
29815 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29817         * org.el (org-open-at-point): Fix tags searches by mouse click.
29819 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29821         * org-latex.el (org-export-latex-preprocess): Implement the
29822         centering markup.
29824         * org-exp.el (org-export-mark-blockquote-verse-center):
29825         Rename from `org-export-mark-blockquote-and-verse'.
29826         (org-export-as-html): Implement the centering markup.
29828         * org-latex.el (org-export-latex-tables): Fix vertical
29829         lines in tables.
29831 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29833         * org.el (org-read-date-history): New variable.
29834         (org-read-date): Use new history variable.
29835         (org-toggle-heading): Fix bug when used before first headline.
29836         (org-store-log-note): Remove drawer if empty while note is
29837         aborted.
29838         (org-remove-empty-drawer-at): New function.
29839         (org-check-after-date): New command.
29840         (org-sparse-tree): New sparse tree command "a".
29842         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
29844 2009-08-06  Bastien Guerry  <bzg@gnu.org>
29846         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
29847         column and a space, not only a column.
29849 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29851         * org-latex.el (org-export-latex-emphasis-alist):
29852         Better defaults for verbose emphasis.
29853         (org-export-latex-emph-format): New function.
29854         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
29856         * org-agenda.el (org-agenda-menu): Add new commands to menu.
29857         (org-agenda-do-date-later, org-agenda-do-date-earlier)
29858         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
29859         (org-agenda-date-later-hours, org-agenda-date-earlier-hours):
29860         New commands.
29862         * org.el (org-timestamp-change): Move end-time along with start
29863         time.
29865 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29867         * org-exp.el (org-export-target-internal-links)
29868         (org-export-as-html): Protect links specified as #name.
29870 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29872         * org.el (org-clone-subtree-with-time-shift): New command.
29874         * org-latex.el (org-export-latex-special-chars)
29875         (org-export-latex-treat-sub-super-char): Fix subscript export.
29877         * org-exp.el (org-create-multibrace-regexp): Do not add
29878         backslashes to the class.
29880 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29882         * org-colview.el (org-columns-map): Better functions for moving up
29883         and down a row, even if `truncate-line' is nil.
29885         * org.el (org-insert-todo-heading): Make sure the keyword is
29886         inserted at the correct position.
29888         * org-publish.el (org-publish-project-alist)
29889         (org-publish-projects, org-publish-org-index): Change default anme
29890         for the index of file names to "sitemap.org".
29892         * org-latex.el (org-export-latex-tables):
29893         Use `org-split-string', for Emacs 21 compatibility.
29895 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29897         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
29899 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29901         * org-exp.el (org-export-page-description)
29902         (org-export-page-keywords): New variables.
29903         (org-export-plist-vars): Add entries for :keywords and
29904         :description.
29905         (org-infile-export-plist): Parse for new keywords.
29906         (org-get-current-options): Add new keywords.
29907         (org-export-as-html): Publish description and keywords.
29909         * org-agenda.el (org-agenda-add-entry-text-descriptive-links):
29910         New option.
29911         (org-agenda-add-entry-text):
29912         Honor `org-agenda-add-entry-text-descriptive-links'.
29914         * org-latex.el (org-export-latex-preprocess): Make all
29915         external preprocess functions use a PARAMETER arg.
29917         * org-exp.el (org-export-preprocess-string)
29918         (org-export-select-backend-specific-text)
29919         (org-export-format-source-code-or-example)
29920         (org-format-org-table-html): Support docbook export.
29921         (org-export-preprocess-string): Make all external preprocess
29922         functions use a PARAMETER arg.
29924 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29926         * org-exp.el (org-export-html-style-include-scripts): New option.
29927         (org-export-plist-vars): Add new option
29928         `org-export-html-style-include-scripts'.
29929         (org-export-as-html): Honor new option
29930         `org-export-html-style-include-scripts'.
29931         (org-export-html-scripts, org-export-html-style-default):
29932         Fix xml issues with the Safari browser.
29934 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29936         * org-publish.el (org-publish-attachment): Only copy file when the
29937         directories differ.
29939 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29941         * org-clock.el (org-clocktable-steps): Use inactive time stamps
29942         for clocktable steps.
29944         * org.el (org-additional-option-like-keywords): Add two more
29945         keywords.
29947 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29949         * org-exp.el (org-export-format-source-code-or-example):
29950         Mark temporary buffer unmodified, so that it will be killed even if
29951         mode like message mode has decided to assign a file name.
29953         * org.el (org-scan-tags): Improve tag inheritance.
29954         (org-scan-tags, org-make-tags-matcher): Make tag comparison
29955         case-sensitive.
29956         (org-scan-tags): Use the internal tags list instead of creating it
29957         from scratch.
29958         (org-trust-scanner-tags, org-scanner-tags): New variables.
29959         (org-scan-tags): Set `org-scanner-tags'.
29960         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
29961         (org-map-entries): Document the possible speedup using scanner
29962         tags.
29964 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29966         * org.el (org-add-planning-info): Fix bug with looking for keyword
29967         only at column 0.
29969         * org-agenda.el (org-agenda-custom-commands-local-options):
29970         Add option for tags filter preset.
29971         (org-prepare-agenda): Store filter preset as a property on the
29972         filter variable.
29973         (org-finalize-agenda): Call the filter, if there is a preset.
29974         (org-agenda-filter-by-tag): Filter again after clearing the
29975         filter, when there still is a preset.
29976         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
29977         Include the preset filter.
29978         (org-agenda-redo): Apply the filter again, also the preset filter.
29980         * org-exp.el (org-export-as-html): Use IDs in the correct way.
29982         * org.el (org-uuidgen-p): New function.
29984         * org-agenda.el (org-agenda-fontify-priorities): New default value
29985         `cookies'.
29986         (org-agenda-fontify-priorities): Rename from
29987         org-fontify-priorities.
29989         * org.el (org-set-font-lock-defaults):
29990         Call `org-font-lock-add-priority-faces'.
29991         (org-font-lock-add-priority-faces): New function.
29993         * org-faces.el (org-set-tag-faces): New option.
29994         (org-priority-faces): New variable.
29996         * org-exp.el (org-export-as-html): Add a "content" div around the
29997         entire content of the body tag.
29998         (org-export-html-get-bibliography): New function.
29999         (org-export-html-validation-link): New variable.
30000         (org-export-as-html): Add validation link to exported page.
30002         * org.el (org-match-sparse-tree): Rename from
30003         `org-tags-sparse-tree'.
30004         (org-tags-sparse-tree): New alias.
30006 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30008         * org.el (org-get-valid-level): Catch the case where the level
30009         change is nil.
30011         * org-clock.el (org-clock-find-position): Better indentation of
30012         new clock drawers.
30014 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30016         * org-agenda.el (org-agenda-quit): Delete window only when the
30017         frame-setup was not `current-window'.
30019         * org.el (org-tag-persistent-alist): New option.
30020         (org-startup-options): Add keyword `noptag'.
30021         (org-fast-todo-selection): Handle :newline correctly.
30022         (org-set-tags): Handle :newline correctly.
30023         (org-fast-tag-selection): Handle :newline correctly.
30025 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30027         * org-exp.el (org-export-as-ascii): Reverse link buffer before
30028         outputting it.
30029         (org-export-ascii-push-links): Fix bug with pussing links into the
30030         export buffer.
30032 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30034         * org-archive.el (org-archive-subtree): Do not add 1 to level if
30035         pasting at top level.
30037         * org-bbdb.el: Improve documentation.
30039 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30041         * org-list.el (org-insert-item): Only consider insert empty lines
30042         is `org-empty-line-terminates-plain-lists' is not nil.
30044         * org.el (org-blank-before-new-entry): Mention the dependence on
30045         `org-empty-line-terminates-plain-lists' in the docstring.
30047         * org-publish.el (org-publish-get-project-from-filename):
30048         New optional argument UP.  Only find the top project if UP is set.
30049         (org-publish-current-project): Find the top encloding project.
30051         * org-agenda.el (org-agenda-before-write-hook)
30052         (org-agenda-add-entry-text-maxlines): New options.
30053         (org-write-agenda): Run the new hook in the temporary buffer.
30054         (org-agenda-add-entry-text): New function.
30055         (org-write-agenda): Implement PDF export, using ps2pdf.
30057         * org.el (org-global-properties-fixed, org-global-properties):
30058         Improve documentation string.
30060         * org-exp.el (org-export-ascii-links-to-notes): New option.
30061         (org-export-as-ascii): Handle links better.
30062         (org-export-ascii-wrap, org-export-ascii-push-links):
30063         New functions.
30065 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30067         * org-agenda.el (org-agenda): Make prefix arg optional.
30068         (org-agenda-search-headline-for-time): New option.
30069         (org-format-agenda-item):
30070         Honor `org-agenda-search-headline-for-time'.
30072         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
30073         characters.
30075         * org.el (org-self-insert-cluster-for-undo): New option.
30076         (org-self-insert-command): Cluster undo for 20 characters.
30077         (org-self-insert-command-undo-counter): New variable.
30079 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30081         * org-exp.el (org-export-as-html): Fix problem with closing colone
30082         example.
30084 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30086         * org-latex.el (org-export-as-latex)
30087         (org-export-latex-first-lines): Avoid modification flag when
30088         adding or removing text properties.
30089         (org-export-latex-fontify): Catch error when org-emph-alist has
30090         entries that are not defined for LaTeX export.
30092         * org-export-latex.el: Rename to org-latex.el.
30094         * org-latex.el: Rename from org-export-latex.el.
30096         * org.el (orgstruct++-mode): New function.
30097         (turn-on-orgstruct++): Call `orgstruct++-mode'.
30098         (org-context-p): Allow detecting item context after the first line
30099         of an item.
30100         (orgstruct-make-binding): Detect if item-body context should be
30101         seen.
30102         (orgstruct-is-++): New variable.
30103         (org-add-planning-info): Catch the case when there is no planning
30104         info yet and the call does not want to add anything, only maybe
30105         tries to remove something.
30106         (org-special-ctrl-a/e): All value to be a cons cell with separate
30107         settings for `C-a' and `C-e'.
30108         (org-beginning-of-line, org-end-of-line): Honor separate values
30109         for `C-a' and `C-e'.
30111 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30113         * org.el (org-reload): New command.
30115 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
30117         * org-gnus.el (org-gnus-store-link): Fix bug where
30118         org-gnus-store-link used wrong subject when called in an article
30119         buffer.  Patch provided by fengli AT gmail DOT com.
30121 2009-03-13  D. Goel  <deego3@gmail.com>
30123         * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
30124         replace ls by (values-list ls).
30126 2009-02-20  Carsten Dominik  <dominik@science.uva.nl>
30128         * org-remember.el (org-remember-apply-template): Turn off ido for
30129         this completion.
30131         * org.el (org-priority): Also find invisible headings, for remote
30132         editing.
30133         (org-completing-read-no-ido): New function.
30134         (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
30136         * org-colview.el (org-columns-edit-value): No special treatment of
30137         prefix arg.
30139 2009-02-19  Carsten Dominik  <dominik@science.uva.nl>
30141         * org.el (org-block-todo-from-children-or-siblings):
30142         Use `org-up-heading-all' so that this will work correctly with hidden
30143         property drawers and entries.
30144         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
30145         falling back to normal, default command.
30146         (org-get-location): Temporarily turn off special behavior.
30148 2009-02-13  Glenn Morris  <rgm@gnu.org>
30150         * org-rmail.el (rmail-show-message): Restore argument list to the
30151         declaration now that this functions behaves in Emacs 23 as in 22.
30153 2009-02-12  Glenn Morris  <rgm@gnu.org>
30155         * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
30157 2009-02-12  Joachim Reiter  <Reiter.Joachim@web.de>  (tiny change)
30159         * org-footnote.el (org-footnote-action): Fix doc typo.
30161 2009-02-06  Carsten Dominik  <dominik@science.uva.nl>
30163         * org-exp.el (org-export-preprocess-string): Fix bug with skipping
30164         text before first headline.
30165         (org-export-remove-or-extract-drawers): Fix regular expression for
30166         extracting drawers.
30168         * org.el (org-format-latex): Stop LaTeX fragment processing in
30169         protected examples.
30171 2009-02-05  Glenn Morris  <rgm@gnu.org>
30173         * org-rmail.el (rmail-show-message): Update declaration.
30174         (rmail-buffer, rmail-view-buffer): Declare.
30175         (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
30177 2009-02-04  Carsten Dominik  <dominik@science.uva.nl>
30179         * org.el (org-return-follows-link): Revert setting
30180         `org-return-follows-link' to t by default.
30182 2009-02-02  Carsten Dominik  <dominik@science.uva.nl>
30184         * org.el (org-cycle-global-at-bob): Fix typo.
30186         * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
30188 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
30190         * org.el (org-mode): Make dependence stuff work more reliably.
30191         (org-update-parent-todo-statistics): Fix bug with updating
30192         statistics cookie.
30193         (org-yank-adjusted-subtrees, org-return-follows-link)
30194         (org-use-fast-todo-selection, org-tags-column): New default
30195         setting for variables.
30197         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
30198         ~ as verbatim delimiters, to avoid table bug.
30199         (org-export-latex-classes): Remove the a4paper option from the
30200         default styles.
30202         * org-exp.el (org-export-html-format-image): New argument
30203         PAR-OPEN, to fix XHTM validation bug.
30204         (org-export-as-html): Pass par-open to
30205         `org-export-html-format-image'.
30206         (org-export-html-footnotes-section): Use a more consistent id for
30207         footnotes.
30209         * org-agenda.el (org-agenda-sorting-strategy)
30210         (org-agenda-tags-column): New default setting for variables, based
30211         on a poll what typical uses use.
30212         (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
30213         setting the blocked tag.
30215 2009-01-31  Carsten Dominik  <dominik@science.uva.nl>
30217         * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
30218         only checking for blocks.
30220         * org-exp.el (org-export-html-footnotes-section): Make the div id
30221         consistent.
30223         * org-export-latex.el (org-export-latex-classes):
30224         Remove paper size option from LaTeX classes.
30226 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
30228         * org.el (org-enforce-todo-checkbox-dependencies): New option.
30229         (org-block-todo-from-checkboxes): New function.
30230         (org-todo): Make triple prefix arg circumvent blocking.
30232 2009-01-30  Glenn Morris  <rgm@gnu.org>
30234         * org-list.el (org-empty-line-terminates-plain-lists)
30235         (org-toggle-checkbox): Doc fixes.
30237         * org-table.el (org-table-clean-before-export): Fix declaration.
30239 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
30241         * org-timer.el (org-timer): Provide the timer feature.
30243         * org.el (org-require-autoloaded-modules): Add a few more files to
30244         the list of autoloaded modules.
30246         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
30248         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
30249         drawers that are unprotected.
30250         (org-export-html-format-image): Make sure inlined LaTeX fragment
30251         images remain inlined.
30253         * org.el (org-toggle-ordered-property): New function.
30254         (org-mode-map): Add a key for `org-toggle-ordered-property'.
30255         (org-org-menu): Add menu entries for TODO dependencies.
30257         * org.el (org-default-properties): Add ORDERED to the default
30258         properties, to get completion support for it.
30260         * org-list.el (org-update-checkbox-count): Update more than one cookie.
30262         * org.el (org-update-parent-todo-statistics): Update more than one
30263         cookie.
30265 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
30267         * org-agenda.el (org-agenda-get-todos): Start search from correct
30268         position.
30270         * org.el (org-fast-todo-selection): Make sure TODO selection does
30271         not change buffer position.
30273         * org-list.el (org-toggle-checkbox): Implement adding or removing
30274         checkboxes from line or region when called with a prefix
30275         argument.
30277         * org-rmail.el (org-rmail-store-link): Protect the call to
30278         `rmail-narrow-to-non-pruned-header'.
30280         * org-clock.el (org-clock-special-range): Fix week display in
30281         clock tables.
30283         * org-exp.el (org-get-current-options): Fix bug when in indirect
30284         buffer.
30286         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
30287         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
30288         (org-agenda-dim-blocked-tasks): New function.
30290         * org.el (org-enforce-todo-dependencies): New option.
30291         (org-block-todo-from-children-or-siblings): New function.
30293         * org-faces.el (org-agenda-dimmed-todo-face): New face.
30295 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
30297         * org.el (org-todo): Return correct state type even if the blocker
30298         throws an error.
30299         (org-modifier-cursor-error): Rename from
30300         `org-shiftcursor-error'.
30301         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
30302         (org-shiftmetadown): Call `org-modifier-cursor-error'.
30304         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
30305         to get real errors from the blocker hook.
30307         * org.el (org-shiftselect-error, org-call-for-shift-select):
30308         New functions.
30309         (org-set-visibility-according-to-property): Turn off the setting
30310         of `org-show-entry-below', to avoid overruling a FOLDED visibility
30311         property.
30313         * org.el (org-support-shift-select): New option.
30314         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
30315         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
30316         selection outside contexts.
30318         * org-list.el (org-at-item-bullet-p): New function.
30320         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
30321         variables.
30323         * org-footnote.el (org-footnote-normalize): Remove unnecessary
30324         variable.
30325         (org-insert-footnote-reference-near-definition):
30326         Remove unnecessary let form.
30328 2009-01-26  Carsten Dominik  <dominik@science.uva.nl>
30330         * org-export-latex.el (org-export-as-latex):
30331         Call `org-export-latex-first-lines' with OPT-PLIST as a parameter.
30332         (org-export-latex-first-lines): New parameter OPT-PLIST.
30334         * org.el (org-yank): Tell `delete-selection-mode' about
30335         `org-yank'.
30337         * org-faces.el (org-clock-overlay): Fix face definition.
30339         * org-export-latex.el (org-export-latex-first-lines):
30340         Pass timestamp and footnote parameters to the preprocessor.
30342         * org-exp.el (org-export-remove-timestamps): Do not remove time
30343         stamps inside tables.
30345 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30347         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
30349         * org.el (org-agenda-tags-todo-honor-ignore-options):
30350         Declare variable.
30352         * org-table.el (org-table-insert-hline): Fix typo in function call
30353         to `backward-char'.
30355         * org-exp.el (org-export-as-html): Remove the initial space from
30356         colon examples.
30358         * org.el (org-scan-tags):
30359         Call `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
30361         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view):
30362         New customization groups.
30363         (org-agenda-tags-todo-honor-ignore-options): New option.
30364         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
30365         New function.
30366         (org-agenda-get-todos):
30367         Use `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
30369 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30371         * org-exp.el (org-export-format-source-code-or-example):
30372         Escape HTML characters also in examples that anre not treated with
30373         htmlize.  Also, just switch to EXAMPLE processing if we do not
30374         have a good version of htmlize.
30376         * org-rmail.el: Fix copyright notice.
30378         * org.el (org-activate-footnote-links): Improve footnote link
30379         highlighting.
30381         * org-footnote.el (org-footnote-normalize): Fix finding the end of
30382         a footnote definition at the end of the file.
30384         * org-table.el (org-table-get-specials): Add an imagined hline at
30385         the end of the table.  This can be useful for references that want
30386         to go to the end of the table.  Also fix bug when computing last
30387         row constants, in tables that do not start right at the right
30388         margin.
30389         (org-table-eval-formula): Match and replace remove references.
30390         (org-table-formula-substitute-names): Make sure that names inside
30391         a "remote" call are left alone, the will be replaced later when
30392         the remote call is handled.
30393         (org-table-convert-refs-to-rc): Do not convert things that might
30394         look like a reference, but are really part of an ID or namei n a
30395         remote reference.
30396         (org-table-get-remote-range): New function.
30398 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30400         * org-faces.el (org-clock-overlay): Fix bug in face definition.
30402         * org-clock.el (org-clock-put-overlay): Use new face instead of
30403         `secondary-selection'.
30405         * org-faces.el (org-clock-overlay): New face.
30407 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30409         * org-exp.el (org-get-current-options): Include the option for
30410         publishing time stamps.
30412         * org.el (org-toggle-heading): Rename from
30413         `org-toggel-region-headings'.
30414         No longer needs a region defined, but will use it if there is one.
30415         (org-ctrl-c-star): Simplify, relying more on the internal
30416         workings of `org-toggle-heading'.
30417         (org-toggle-item): Rename from `org-toggle-region-items'.
30418         No longer needs a region defined, but will use it if there is one.
30419         (org-ctrl-c-minus): Simplify, relying more on the inernal
30420         workings of `org-toggle-item'.
30422         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
30423         environment detection.  Also, do real changes only in unprotected
30424         places.
30426 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30428         * org-export-latex.el (org-export-latex-quotation-marks):
30429         Use `org-if-unprotected-1'.
30430         (org-export-latex-set-initial-vars): Check for class definition in
30431         property.
30433         * org-macs.el (org-if-unprotected-1): New macro.
30435 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30437         * org-compat.el (org-count-lines): New function.
30439         * org-exp.el (org-export-format-source-code-or-example):
30440         Handle switches related to text areas.
30442         * org.el (org-activate-footnote-links): Don't allow match inside a
30443         link.
30445         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
30447         * org-export-latex.el (org-export-latex-links): Keep a relative
30448         path relative also after export.
30450         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
30452         * org.el (org-make-tags-matcher): Never use IDO for completing the
30453         tags matcher match string.
30454         (org-completing-read): Also remove the special biding for "?".
30456         * org-attach.el (org-attach-allow-inheritance): New option.
30457         (org-attach-inherited): New variable.
30458         (org-attach-dir): Handle properties related to the attachment
30459         directory.
30460         (org-attach-check-absolute-path): New function.
30461         (org-attach-set-directory, org-attach-set-inherit): New commands.
30462         (org-attach): Accommodate the new commands in the dispatcher.
30464 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30466         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
30467         `window-full-width-p'.
30469         * org-exp.el (org-export-as-html): Only check for images files
30470         that really can be inlined.
30472         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
30473         list of extensions to be a parameter.
30475         * org-exp.el (org-export-html-inline-image-extensions):
30476         New variable.
30478         * org-agenda.el (org-prepare-agenda):
30479         Use `org-agenda-block-separator'.
30480         (org-agenda-block-separator): New option.
30482 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30484         * org-export-latex.el (org-export-latex-tables):
30485         Call `org-table-clean-before-export' with the new optional argument.
30487         * org-exp.el (org-table-clean-before-export): New optional
30488         parameter MAYBE-QUOTED, allows for quoted characters like \# in
30489         first column.
30491 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30493         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
30494         histograms.
30496         * org-colview.el (org-colview-construct-allowed-dates):
30497         Better error catching when a date/time property does not have allowed
30498         values defined.
30500 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30502         * org.el (org-map-entries): Restore point and restriction after
30503         `org-map-entries'.
30505 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30507         * org.el (org-time=, org-time<, org-time<=, org-time>)
30508         (org-time>=, org-time<>): Make sure both values are dates.
30510 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30512         * org-archive.el (org-extract-archive-heading): Allow %s for file
30513         name also in achive location heading.
30515 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30517         * org-archive.el (org-add-archive-files): Uniquify the list before
30518         returning it.
30520 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30522         * org-compat.el (org-fit-window-to-buffer):
30523         Use `window-full-width-p'.
30525         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
30526         space after the colon in short examples.
30528         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
30529         enforce a space after the colon.  However, we also allow lines
30530         that are *only* a colon.
30531         (org-export-as-html): Enforce the space after the colon in short
30532         examples.
30533         (org-export-preprocess-string): Do the colon example protection
30534         earlier.
30535         (org-export-remove-timestamps): Do not check for protection at the
30536         end of the line.
30538 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30540         * org.el (org-format-latex-options): Add new matcher for single
30541         letters between dollars.
30542         (org-get-header): Function removed.
30543         (org-heading-components): New function.
30545         * org-exp.el (org-export-define-heading-targets): Record ID's also
30546         as alternative targets.
30547         (org-export-as-html): Interpret "id:" links to other files by
30548         preserving the relative path.
30550         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
30551         is nil.
30553         * org-exp.el (org-export-normalize-links): Protect the main link,
30554         to avoid special character processing.
30556         * org-export-latex.el (org-export-latex-special-keyword-regexp):
30557         New variable.
30558         (org-export-latex-special-string-regexps): Variable removed.
30559         (org-export-latex-keywords): Use the new regexp.
30561         * org-exp.el (org-export-handle-include-files): Fetch switches and
30562         put them into the BEGIN statement.
30564         * org-timer.el (org-timer-mode-line-string): New variable.
30566         * org-clock.el (org-clock-mode-line-map): Rename from
30567         `org-clock-mode-map'.
30568         (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
30569         (org-clock-update-mode-line): Rename from `org-update-mode-line'.
30570         (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
30571         (org-clock-remove-overlays): Rename from
30572         `org-remove-clock-overlays'.
30574         * org-timer.el (org-timer-pause-or-continue): Implement stopping
30575         and mode line display.
30576         (org-timer-stop): New command.
30577         (org-timer-seconds): Return correct time when timer is paused.
30578         (org-timer-mode-line-timer): New variable.
30579         (org-timer-set-mode-line, org-timer-update-mode-line):
30580         New functions.
30582         * org.el (org-insert-heading): Handle new value `auto' for
30583         `org-blank-before-new-entry'.
30584         (org-org-menu): Add new items for timer functions.
30586         * org-list.el (org-insert-item): Handle new value `auto' for
30587         `org-blank-before-new-entry'.
30589         * org.el (org-blank-before-new-entry): New value `auto', made
30590         default.
30592 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30594         * org-exp.el (org-export-normalize-links): If the link is also
30595         used as the description, protect the description.
30597 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30599         * org.el (org-closest-date): Fix bug with yearly repeats, in
30600         combination with preference of the past as it is used for deadline
30601         and scheduling search.
30603         * org-exp.el (org-html-handle-time-stamps): No longer check for
30604         the `org-export-with-timestamps' option, because the preprocesser
30605         has taken care of this already.
30607         * org.el (org-entry-properties): Catch the case when this is
30608         called in a non-org-mode file.
30610         * org-export-latex.el (org-export-latex-remove-from-headlines):
30611         Variable made obsolete, also LaTeX export now uses the standard
30612         variables.
30613         (org-export-as-latex): Add the timestamps parameter to the
30614         preprocessor parameter list.
30615         (org-export-latex-content): Export the remaining keywords without
30616         considering to remove them.
30617         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
30618         Use bold font instead of tt font for the keywords.
30619         (org-export-latex-fontify-headline): Format headlines, assuming
30620         that all keywords still present should be published.
30621         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
30622         publish what ever remains of the time stamps.
30623         (org-export-latex-list-parameters): New option.
30624         (org-export-latex-lists): Pass additional parameters to the list
30625         converter.
30627         * org-exp.el (org-export-preprocess-string): Remove clock lines
30628         and timestamps already in the preprocesor.
30629         (org-export-remove-timestamps, org-export-remove-clock-lines):
30630         New functions.
30631         (org-export-as-ascii, org-export-as-html): Add the timestamps
30632         parameter to the preprocessor parameter list.
30634         * org-list.el (org-list-parse-list): Parse for checkboxes.
30635         (org-list-to-generic): Introduce and handle new parameters :cbon
30636         and :cboff.
30637         (org-list-to-latex, org-list-to-html, org-list-to-texinfo):
30638         Add optional parameter PARAMS.
30640         * org-export-latex.el (org-export-latex-special-chars):
30641         Fix problems with interpreting dollar signs.
30642         (org-inside-latex-math-p): New function.
30643         (org-export-latex-preprocess): Protect all the math fragments.
30645         * org.el (org-latex-regexps): Allow a dash after a dollar.
30647         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
30648         mark after copying.
30650         * org-agenda.el (org-run-agenda-series): Have series options set
30651         when finalizing the agenda.
30653         * org-exp.el (org-export-format-source-code-or-example):
30654         Protect the converted examples.
30656         * org.el (org-set-regexps-and-options): Fix the regexp
30657         `org-complex-heading-regexp'.
30659 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30661         * org.el (org-edit-src-get-label-format): New function.
30662         (org-coderef-label-format): New option.
30663         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
30664         a label format specification and make sure it is used in the edit
30665         buffer.
30666         (org-edit-src-get-label-format): New function.
30667         (org-store-link): Handle new coderef formats.
30668         (org-link-search): Handle new coderef formats.
30670         * org-footnote.el (org-footnote-create-definition)
30671         (org-footnote-goto-local-insertion-point): Make footnote insertion
30672         work correctly when the "Footnotes" headline is the last line in
30673         the buffer.
30675         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
30676         the location.
30678 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30680         * org-w3m.el (org-w3m): New customization group.
30681         (org-w3m-deactivate-mark): New option.
30682         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
30683         option say not to.
30685 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30687         * org.el (org-set-font-lock-defaults): Trigger footnote
30688         fontification.
30689         (org-activate-footnote-links): New function.
30690         (org-activate-links): New entry `footnote'.
30692         * org-faces.el (org-footnote): New face.
30694 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30696         * org-macs.el (org-re): Handle the [:word:] class.
30698         * org-exp.el (org-export-preprocess-string):
30699         Call `org-export-protect-colon-examples'.
30700         (org-export-protect-colon-examples): Rename from
30701         `org-export-protect-examples', and scope limited to lines starting
30702         with a colon.
30704 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30706         * org-exp.el (org-export-preprocess-string): Move the preprocess
30707         hook to after turning on Org-mode.
30708         (org-export-preprocess-after-include-files-hook)
30709         (org-export-preprocess-after-tree-selection-hook)
30710         (org-export-preprocess-before-backend-specifics-hook)
30711         (org-export-preprocess-final-hook): New hooks.
30712         (org-export-preprocess-string): Run the new hooks.
30714         * org.el (org-ctrl-c-minus): Fix indentation for new items.
30716         * org-footnote.el: New file.
30718         * org.el (org-footnote): Require footnote code.
30719         (org-startup-options): Add new footnote options.
30720         (org-mode-map): New keybindig for footnotes.
30721         (org-ctrl-c-ctrl-c): Add function at footnotes.
30722         (org-org-menu): New menu entries for footnotes.
30724         * org-export-latex.el (org-export-as-latex): Pass footnote
30725         variable to preprocessor.
30726         (org-export-latex-preprocess): Treat multiple references to a
30727         footnote.
30729         * org-exp.el (org-export-preprocess-string):
30730         Call `org-footnote-normalize'.
30731         (org-export-as-ascii, org-export-as-html): Pass footnote variable
30732         to preprocessor.
30733         (org-export-as-html): Treat multiple references to a footnote.
30735 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30737         * org-export-latex.el (org-export-latex-links): Handle coderef
30738         links.
30740         * org.el (org-bracket-link-analytic-regexp++): New variable.
30741         (org-make-link-regexps):
30742         Initialize `org-bracket-link-analytic-regexp++'.
30743         (org-store-link): Implement special case in edit-src buffer.
30744         (org-insert-link): No use of ide to insert stored links.
30745         (org-link-search): Implement special case for coderefs.
30747         * org-exp.el (org-export-html-scripts): New constant.
30748         (org-export-html-style-default): Add a new style for highlighted
30749         code.
30750         (org-export-code-refs): New variable.
30751         (org-export-preprocess-string): Initialize `org-export-code-refs'.
30752         Call `org-export-replace-src-segments-and-examples'
30753         No longer call `org-export-protect-examples'.
30754         (org-export-target-internal-links): Take care of coderef targets.
30755         (org-export-last-code-line-counter-value): New variable.
30756         (org-export-replace-src-segments-and-examples): Rename from
30757         `org-export-replace-src-segments', and modified.
30758         (org-export-format-source-code-or-example): Rename from
30759         `org-export-format-source-code'.
30760         (org-export-number-lines): New function.
30761         (org-export-as-ascii, org-export-as-html): Handle coderef links.
30763 2009-01-23  Glenn Morris  <rgm@gnu.org>
30765         * org-rmail.el (rmail-narrow-to-non-pruned-header):
30766         Remove declaration of deleted function.
30768 2009-01-16  Glenn Morris  <rgm@gnu.org>
30770         * org-mouse.el (org-mouse-show-context-menu):
30771         Use mouse-menu-major-mode-map, if defined, rather than the obsolete
30772         mouse-major-mode-menu.
30774 2008-12-23  Carsten Dominik  <dominik@science.uva.nl>
30776         * org-remember.el (org-remember-handler): Safer way to get a new
30777         buffer accessing the target file.
30779         * org.el (org-refile-get-location): Handle case of current buffer
30780         not having a file associated with it.
30782 2008-12-22  Carsten Dominik  <dominik@science.uva.nl>
30784         * org-table.el (org-table-get-formula): Only ask to overwrite
30785         field formula if there really is one.
30787 2008-12-21  Carsten Dominik  <dominik@science.uva.nl>
30789         * org-export-latex.el (org-export-latex-make-header): Double the
30790         commenting % in the time stamp format.
30791         (org-export-latex-special-chars): Handle case where there is no
30792         match group 3.
30794 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
30796         * org.el (org-get-refile-targets, org-refile-get-location):
30797         Use expanded file name to improve comparison.
30799 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
30801         * org.el (org-scan-tags): Rescan for tags, to get the correct
30802         upcase/downcase stuff.  This slows things down for now, but it
30803         works.
30804         (org-mode): Make sure the tag-faces regexp is initialized.
30806         * org-export-latex.el (org-export-latex-links): Fix bug with
30807         undefined label.
30809         * org-table.el (org-table-get-specials):
30810         Set `org-table-current-last-data-line'.
30811         (org-table-current-last-data-line): New variable.
30812         (org-table-insert-column, org-table-delete-column)
30813         (org-table-move-column, org-table-fix-formulas):
30814         Call `org-table-fix-formulas' a second time to fix the $LR references.
30815         (org-table-get-specials): Add the $LR references to the tables.
30816         (org-table-get-formula): Do not offer last-row names as LHS of
30817         formulas.
30819         * org.el (org-store-link): Capture link description from
30820         `org-id-store-link'.
30822         * org-exp.el (org-export-html-format-image): Add the / to the end
30823         of the <img> tag.
30824         (org-export-format-source-code): Surround example by empty lines,
30825         to make sure it will not be inside a paragraph.
30827         * org.el (org-ido-switchb): New function.
30829 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
30831         * org-agenda.el (org-agenda-show): New prefix argument
30832         FULL-ENTRY.
30834         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
30835         argument.
30837 2008-12-20  Glenn Morris  <rgm@gnu.org>
30839         * org.el (org-org-menu): Fix some more menu entries.
30841 2008-12-18  Carsten Dominik  <dominik@science.uva.nl>
30843         * org-table.el (org-table-get-specials): Revert introduction of @0
30844         as reference of the last table row, because of conflicts.
30846         * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
30847         argument, get the current tags directly.
30848         (org-agenda-set-tags): Leave getting current tags to
30849         `org-agenda-change-all-lines'.
30851 2008-12-17  Carsten Dominik  <dominik@science.uva.nl>
30853         * org.el (org-org-menu): Do not quote the set-tags command.
30855 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
30857         * Fix typos in comments and docstrings throughout Org-mode.
30859         * org.el (org-get-outline-path): Fix bug if level is not given.
30861         * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
30863 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30865         * org.el (org-refile): Avoid refiling to within the region to be
30866         refiled.
30868         * org-export-latex.el (org-export-latex-special-chars):
30869         Replace special characters also in tables.
30871         * org-agenda.el (org-agenda-change-all-lines): New argument
30872         FORCE-TAGS.
30873         (org-agenda-set-tags): Get the new tags and pass them to
30874         `org-format-agenda-item'.
30876 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30878         * org-export-latex.el (org-export-latex-classes): Add longable as
30879         a default package to all classes.
30880         (org-export-latex-tables): Handle the longtable attribute and the
30881         align attribute.
30883         * org-table.el (orgtbl-to-generic): Handle tables that start with
30884         a hline.
30886         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
30887         \verb for colde-like snippets.
30888         (org-export-as-latex): Fix issues with region export.
30890         * org.el (org-up-heading-safe): Speed up function by using a
30891         direct regexp search.
30892         (org-olpa): New variable.
30893         (org-get-outline-path): Speed-up path constructions in cases where
30894         this is possible because the entire hierarchy is scanned anyway.
30895         (org-refile-get-location): Don't compare the truenames of files,
30896         this is too slow.
30897         (org-goto-max-level): New option.
30898         (org-goto): Use `org-goto-max-level'.
30900 2008-12-16  Tassilo Horn  <tassilo@member.fsf.org>
30902         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
30903         Strip angle brackets from message-ids in the former and don't do
30904         it in the latter.
30905         (org-gnus-follow-link): Open summary reliable, even if the last
30906         messages were deleted, and handle empty groups, too.
30908 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30910         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
30911         instead of \texttt for the =...= and ~===~ emphasis environments.
30912         (org-export-as-latex): Remove any old :org-license-to-kill text
30913         properties.
30914         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
30915         (org-export-latex-make-header): Add some hard space after the
30916         table of contents.
30917         (org-export-latex-first-lines): Accept RBEG argument.
30918         Mark exported text so that it will be excuded in further steps.
30920         * org-table.el (org-table-get-specials): Make @0 reference the
30921         last line in a table.
30922         (org-table-recalculate): Improve docstring.
30924 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30926         * org.el (org-log-done): Fix docstring.
30928 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30930         * org-exp.el (org-export-html-format-image): Fix bugs.
30932         * org-export-latex.el (org-export-latex-tables)
30933         (org-export-latex-links): Implement attribute, label, and caption
30934         handling.
30936         * org-exp.el (org-export-html-style-default): Add style
30937         definitions for the figure div.
30938         (org-export-preprocess-string, org-export-as-html):
30939         Implement attribute, label, and caption handling.
30940         (org-export-attach-captions-and-attributes): New function.
30941         (org-export-html-format-image): New function.
30942         (org-format-org-table-html): Implement attribute, label, and
30943         caption handling.
30945         * org.el (org-find-text-property-in-string): New function.
30946         (org-extract-attributes): Use the property org-attr instead of
30947         org-attrobutes, because this property is now set with the #+ATTR
30948         lines.
30950 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30952         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
30953         the case that FROM is nil.
30955         * org.el (org-before-first-heading-p): New function.
30957 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30959         * org-exp.el (org-export-as-html): Do not add a space before
30960         enforces line breaks.
30961         (org-export-as-html): Close paragraph before blockquote and verse
30962         tags.
30964 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30966         * org-id.el (org-id-locations-file): Wrap file name with
30967         `convert-standard-filename'.
30968         (org-id-files): New variable.
30969         (org-id-use-hash): New option.
30970         (org-id-update-id-locations): Also search in all files current
30971         listed in `org-id-files'.  Convert the resulting alist to a hash
30972         if the user customation says so.
30973         (org-id-locations-save): Handle he case if `org-id-locations' is a
30974         hash.
30975         (org-id-locations-load): Convert the alist to a hash.
30976         (org-id-add-location): Handle the hast case.
30977         (kill-emacs-hook): Make sure id locations are saved when Emacs is
30978         exited.
30979         (org-id-hash-to-alist, org-id-alist-to-hash)
30980         (org-id-paste-tracker): New functions.
30982 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
30984         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
30985         bindings of calendar variables.
30987         * org-table.el (org-table-find-row-type): Rename from
30988         `org-find-row-type'.
30989         (org-table-rewrite-old-row-references): Rename from
30990         `org-rewrite-old-row-references'.
30991         (org-table-shift-refpart): Rename from `org-shift-refpart'.
30992         (org-table-cleanup-narrow-column-properties): Rename from
30993         `org-cleanup-narrow-column-properties'.
30995 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
30997         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
30998         for better error messages.
30999         (org-table-get-descriptor-line): Supply the new arguments to
31000         `org-find-row-type'.
31001         (org-table-error-on-row-ref-crossing-hline): New option.
31003         * org.el (org-target-link-regexp): Make buffer-local.
31004         (org-move-subtree-down): Fix bug with trees at beginning of
31005         buffer.
31007 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31009         * org-faces.el (org-set-tag-faces): New function.
31010         (org-tags-special-faces-re): New variable.
31012         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
31014         * org-faces.el (org-tag-faces): New option.
31015         (org-tag): Mention `org-tag-faces' in the docstring.
31017 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31019         * org-exp.el (org-export-html-style-default): Implement new
31020         quoting.
31022         * org-jsinfo.el (org-infojs-template): Implement new quoting.
31024         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
31025         command to the `w3m-minor-mode-map'.
31027         * org-archive.el (org-archive-to-archive-sibling):
31028         Protect `this-command' to avoid appending kills during archiving.
31030         * org-exp.el (org-export-with-priority): New variable.
31031         (org-export-add-options-to-plist): Use `org-export-plist-vars'
31032         instead of internal list of strings and properties.
31033         (org-print-icalendar-entries): Retrieve the location property with
31034         inheritance.
31036 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31038         * org-exp.el (org-export-with-todo-keywords): New option.
31039         (org-export-plist-vars): Include also the keys for the #+OPTIONS
31040         line.
31041         (org-default-export-plist, org-export-add-options-to-plist)
31042         (org-export-as-ascii, org-export-as-html): Use the new structure
31043         of `org-export-plist-vars'.
31045         * org.el (org-map-entries): Return all values.
31047 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31049         * org.el (org-matcher-time): Recognize more special values.
31051         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
31053 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31055         * org.el (org-tags-exclude-from-inheritance): New option.
31056         (org-tag-inherit-p, org-remove-uniherited-tags):
31057         Respect `org-tags-exclude-from-inheritance'.
31059         * org-agenda.el (org-agenda-show-inherited-tags): New option.
31060         (org-format-agenda-item): Add inherited tags to the agenda line
31061         string, and make sure that properties are kept when downcasing the
31062         tags list.
31063         (org-agenda-add-inherited-tags): New function.
31064         (org-downcase-keep-props): New function.
31066         * org.el (org-scan-tags): Mark inherited tags with a text
31067         property.
31068         (org-get-tags-at): Mark inherited tags with a text property.
31069         (org-add-prop-inherited): New function.
31071         * org-agenda.el (org-agenda-add-inherited-tags): New function.
31072         (org-agenda-show-inherited-tags): New option.
31074 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31076         * org.el (org-modules): Add org-w3m to the default modules.
31078         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
31079         orgtbl-mode.
31080         (orgtabl-create-or-convert-from-region): New command.
31082         * org-exp.el (org-export-as-ascii): Remove the handling of
31083         targets.
31084         (org-export-ascii-preprocess): Handle targets already in this
31085         function.
31087 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31089         * org-timer.el (org-timer-start-time): Define this variable.
31090         (org-timer-item): Make argument optional.
31092         * org-list.el (org-insert-item): Automatically insert a timer item
31093         if the current list is a timer list.
31095         * org-timer.el: New file.
31097         * org-publish.el (org-publish-org-index): Only exclude the index
31098         file in the main directory from being added to the site-map.
31099         (org-publish-get-project-from-filename): If the current project is
31100         a component, start publishing from the parent project.
31102 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31104         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
31106         * org-publish.el (org-publish-org-index): Improve removal of
31107         temporary buffers.
31109 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
31111         * org-agenda.el (org-get-closed): Re-apply changes
31112         accidentially overwritten by last commit to Emacs.
31114         * org.el (org-outline-path-complete-in-steps): New option.
31115         (org-refile-get-location):
31116         Honor `org-outline-path-complete-in-steps'.
31117         (org-agenda-change-all-lines, org-tags-sparse-tree)
31118         (org-time-string-to-absolute, org-small-year-to-year)
31119         (org-link-escape): Re-apply changes accidentially overwritten
31120         by last commit to Emacs.
31122 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31124         * org-clock.el (org-dblock-write:clocktable): Make sure the
31125         clocktable sees the first line.
31126         (org-clock-in): Warn if the clock cannot be resumed.
31128 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31130         * org.el (org-open-at-point): Fix mixup about interactive and
31131         non-interactive elisp links.
31133 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31135         * org-exp.el (org-export-preprocess-string): Allow one comment
31136         line before the first headline to always be included.  This is
31137         to not miss a commented target.
31139         * org-mouse.el (org-mouse-insert-item):
31140         Call `org-indent-to-column' instead of `indent-to', for XEmacs
31141         compatibility.
31143         * org.el (org-refile-targets): Fix customize definition so
31144         that it works also in XEmacs.
31145         (org-fixup-indentation): Call `org-indent-to-column' instead
31146         of `indent-to', for XEmacs compatibility.
31148 2008-11-23  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
31150         * org-mew.el (org-mew-store-link): Get the correct case folder
31151         for refiled messages.
31153 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31155         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
31156         line break indicators.
31158         * org.el (org-ido-completing-read): Remove the "i:" prefix for
31159         ido-completion propts.
31161 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31163         * org-remember.el (org-remember-apply-template):
31164         Use `org-substring-no-properties'.
31166         * org-compat.el (org-substring-no-properties): New function.
31168         * org-remember.el (org-remember-apply-template):
31169         Use `org-substring-no-properties' for compatibility.
31171         * org-list.el (org-list-two-spaces-after-bullet-regexp):
31172         New option.
31173         (org-fix-bullet-type):
31174         Respect `org-list-two-spaces-after-bullet-regexp'.
31176         * org-clock.el (org-clock-load): Clean up the code.
31178         * org.el (org-adaptive-fill-function): Allow two spaces after
31179         "1." as a list bullet.
31181 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31183         * org-clock.el (org-clock-save, org-clock-load): Check for
31184         live buffers, existing files, and buffer file names to ensure
31185         consistent information.
31186         (org-clock-persist): Make `clock' a special value of this
31187         variable, and improve docstring.
31189         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
31190         (org-get-string-indentation): Adapt indentation when the bullet
31191         width changes.
31193 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31195         * org-remember.el (org-remember-finalize): Make interactive.
31196         (org-remember-kill): New command.
31197         (org-remember-finish-immediately): Call `org-remember-finalize'
31198         directly.
31199         (org-remember-finalize): Make `org-remember-finalize' an interactive
31200         function.
31202 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31204         * org-remember.el (org-remember-apply-template): No ido completion
31205         for free prompts in remember templates.
31206         (org-remember-before-finalize-hook): New hook.
31207         (org-remember-mode): New minor mode.
31208         (org-remember-apply-template): Turn on `org-remember-mode'.
31210         * org-remember.el (org-remember-apply-template): Fix the way how
31211         the list of allowed properties is retrieved from the target file.
31213         * org.el (org-insert-link): Improve file link matching.
31215 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31217         * org-colview.el (org-columns-display-here): New argument
31218         DATELINE, to trigger using the new face.
31219         (org-agenda-colview-summarize): Call `org-columns-display-here'
31220         with the new argument.
31222         * org-faces.el (org-agenda-column-dateline): New face.
31224         * org-publish.el (org-publish-org-index): Use index-title at page
31225         title, not as section.
31227         * org-exp.el (org-export-html-format-desc): Respect the
31228         org-protect property.
31229         (org-export-as-html): Protect image specifiers that are in the
31230         description part of a link.
31232         * org.el (org-sort-entries-or-items, org-completing-read)
31233         (org-refile-get-location, org-olpath-completing-read, org-todo)
31234         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
31235         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
31236         (org-set-property, org-delete-property)
31237         (org-delete-property-globally): Use `org-ido-completing-read'.
31239         * org-remember.el (org-remember-apply-template):
31240         Use `org-ido-completing-read'.
31242         * org-publish.el (org-publish): Use `org-ido-completing-read'.
31244         * org-colview.el (org-columns-edit-value, org-columns-new)
31245         (org-insert-columns-dblock): Use `org-ido-completing-read'.
31247         * org-attach.el (org-attach-delete-one, org-attach-open):
31248         Use `org-ido-completing-read'.
31250         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag):
31251         Use `org-ido-completing-read'.
31253         * org.el (org-time-today): New function.
31254         (org-matcher-time): Use `org-time-today'.  Add special treatment
31255         for "<tomorrow>" and "<yesterday>".
31256         (org-ido-completing-read): New function.
31257         (org-completion-use-ido): New option.
31259         * org-exp.el (org-export-format-source-code): Fix bug in require
31260         htmlize code.
31261         (org-export-target-internal-links): Fix bug in search for text
31262         property.
31264 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31266         * org-export-latex.el (org-export-latex-subcontent):
31267         Interpret target aliases as additional labels.
31269         * org-exp.el (org-export-target-aliases): New variable.
31270         (org-export-preprocess-string)
31271         (org-export-handle-invisible-targets): Fill the alias alist.
31272         (org-export-as-html): Remove the &nbsp; from the anchor, and also
31273         assign an id.
31274         (org-html-level-start): Insert the target aliases as additional
31275         anchors.
31277         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
31278         picture area.
31280 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31282         * org.el (org-open-at-mouse): Ensure correct link abbreviations
31283         when following a link with the mouse from the agenda.
31285         * org-exp.el (org-export-as-html): Avoid lone </div> when no
31286         headlines are created.
31288 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31290         * org.el (org-link-translation-function): New option.
31291         (org-open-at-point): Call `org-link-translation-function' if
31292         non-nil.
31293         (org-translate-link): New function.
31294         (org-translate-link-from-planner): New function.
31295         (org-open-at-point): Allow interactive commands in elisp links.
31297         * org-exp.el (org-icalendar-cleanup-string): Restore the old
31298         iCalendar quoting.  The new one seems to caus problems with
31299         applications.
31301         * org.el (org-yank): Set `this-command' to `yank', so that
31302         `yank-pop' will work.
31304 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31306         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
31307         compliance as far as quoting is concerned.
31309         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
31310         hexified version of the tag.
31312         * org-vm.el (org-vm-follow-link): Require `vm-search'.
31314         * org.el (org-up-heading-safe, org-forward-same-level):
31315         Always call `org-back-to-heading' instead of `outline-back-to-heading'.
31316         (org-back-to-heading): New wrapper around outline-back-to-heading,
31317         with a useful error message telling where the error happened.
31319         * org-list.el (org-update-checkbox-count): Always call
31320         `org-back-to-heading' instead of `outline-back-to-heading'.
31322         * org-exp.el (org-export-as-html): Make sure that each <img> tag
31323         has an `alt' attribute, to ensure XHTML validation.
31325 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31327         * org-publish.el (org-publish-attachment): Allow publishing to
31328         overwrite attachment files.
31330         * org-agenda.el (org-agenda-timerange-leaders): New option.
31331         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
31333         * org.el (org-edit-src-exit): Untabify ASCII image before
31334         returning.
31336 2008-11-19  Glenn Morris  <rgm@gnu.org>
31338         * org.el, org-mouse.el (org-agenda-change-all-lines):
31339         Fix declaration.
31341 2008-11-18  Carsten Dominik  <dominik@science.uva.nl>
31343         * org.el ("speedbar"): Only show context if the file really is an
31344         org-mode buffer.
31346 2008-11-17  Juanma Barranquero  <lekktu@gmail.com>
31348         * org.el (org-time-string-to-absolute, org-small-year-to-year)
31349         (org-tags-sparse-tree): Fix typos in docstrings.
31351 2008-11-15  Carsten Dominik  <dominik@science.uva.nl>
31353         * org-publish.el (org-publish-attachment): Allow copy-file to
31354         overwrite files.
31356 2008-11-13  Glenn Morris  <rgm@gnu.org>
31358         * org-agenda.el (org-get-closed): Fix alias.
31360 2008-11-12  Juanma Barranquero  <lekktu@gmail.com>
31362         * org.el (org-link-escape): Fix typo in docstring.
31364 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31366         * org.el (org-yank): Make any prefix force normal yanking.
31367         Suppress folding if text would be swallowed into a folded
31368         subtree.
31369         (org-yank-folded-subtrees, org-yank): Docstring updates.
31371         * org-agenda.el (org-agenda-compare-effort): Treat no effort
31372         defined as 0.
31374         * org-exp.el (org-export-language-setup): Add Catalan and
31375         Esperanto language entries.
31377 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31379         * org.el (org-refile): Allow refiling of entire regions.
31381         * org-clock.el (org-clock-time%): New function.
31383         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
31384         retrieve property values.
31386 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31388         * org-agenda.el (org-agenda-list): Handle the value `only' of
31389         org-agenda-show-log'.
31390         (org-agenda-log-mode): Interpret a double prefix arg.
31392 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31394         * org-exp.el (org-export-html-footnotes-section): New variable.
31395         (org-export-as-html): Use `org-export-html-footnotes-section' to
31396         insert the footnotes.
31397         (org-export-language-setup): Add "Footnotes" to language words.
31399 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31401         * org.el (org-yank): Fix bug when not inserting a subtree.
31403 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31405         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
31406         instead of `vm-beginning-of-message'.
31408         * org.el (org-make-link-regexps): Make sure that links to gnus can
31409         contain brackets.
31411 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31413         * org-attach.el (org-attach-dir): Remove duplicate ID creation
31414         code.
31416         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
31417         shell output.
31419         * org.el (org-link-abbrev-alist): Improve customization type.
31421         * org-attach.el (org-attach-expand-link, org-attach-expand):
31422         New functions.
31424         * org-agenda.el (org-agenda-get-progress): Rename from
31425         `org-get-closed'.  Implement searching for state changes as well.
31426         (org-agenda-log-mode-items): New option.
31427         (org-agenda-log-mode): New option prefix argument, interpreted as
31428         request to show all possible progress info.
31429         (org-agenda-get-day-entries): Call `org-get-progress' instead of
31430         `org-get-closed'.
31431         (org-agenda-set-mode-name): Handle the more complex log mode
31432         settings.
31433         (org-get-closed): New alias, pointing to `org-get-progress'.
31435 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31437         * org.el (org-file-apps-defaults-gnu)
31438         (org-file-apps-defaults-macosx)
31439         (org-file-apps-defaults-windowsnt): Add an entry defining the
31440         system command.
31441         (org-file-apps): Allow `system' as key and value.
31442         (org-open-at-point): Explain the effect of a double prefix arg.
31443         (org-open-file): If the argument `in-emacs' is (16),
31444         i.e. corresponding to a double prefix argument, try to open the
31445         file externally.
31447 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31449         * org.el (org-insert-link): Abbreviate absolute files names in
31450         links.  Also, fix a bug in which the double C-u prefix would not
31451         be honored.
31453 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31455         * org.el (org-insert-heading): If buffer does not end with a
31456         newline, add one if necessary to insert headline correctly.
31458         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
31459         paragraphs, not inside.
31461         * org.el (org-todo):
31462         Quote `org-agenda-headline-snapshot-before-repeat'.
31464         * org-exp.el (org-export-as-html): Fully process link descriptions.
31465         (org-export-html-format-desc): New function.
31466         (org-export-as-html): Collect footnotes into the correct basket.
31467         (org-html-protect): No longer protect quotations marks here, this
31468         goes wrong.
31470         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
31471         BEG.
31473         * org-compat.el (org-fit-window-to-buffer): New function (not
31474         really, a preliminary and incomplete version was present earlier,
31475         but not used).
31477         * org.el (org-fast-todo-selection, org-fast-tag-selection):
31478         Use `org-fit-window-to-buffer'.
31480         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
31482         * org-agenda.el (org-agenda-get-restriction-and-command)
31483         (org-fit-agenda-window, org-agenda-convert-date):
31484         Use `org-fit-window-to-buffer'.
31486         * org-exp.el (org-export-as-html): Process href links through
31487         `org-export-html-format-href'.
31488         (org-export-html-format-href): New function.
31490         * org-agenda.el (org-agenda-todo): Update only the current
31491         headline if this is a repeated TODO, marked done for today.
31492         (org-agenda-change-all-lines): New argument JUST-THIS, to change
31493         only the current line.
31495         * org.el (org-todo): Take a snapshot of the headline if the
31496         repeater might change it.
31498 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31500         * org-publish.el (org-publish-find-title): Remove buffers visited
31501         only for extracting the title.
31503         * org-exp.el (org-export-html-style)
31504         (org-export-html-style-default): Mark style definitions as
31505         unparsed CDATA.
31507         * org-publish.el (org-publish-validate-link):
31508         Function re-introduced.
31510 2008-11-12  Charles Sebold  <csebold@gmail.com>
31512         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
31513         property.
31514         (org-plot-quote-timestamp-field): New function.
31515         (org-plot-quote-tsv-field): Call timestamp field function when
31516         necessary rather than just quoting as a string.
31517         (org-plot/gnuplot-to-data): Pass in timefmt property.
31518         (org-plot/gnuplot-script): Supports timefmt property.
31519         (org-plot/gnuplot): Checks for timestamp column before checking
31520         for text index column.
31522 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31524         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
31526         * org-publish.el (org-publish-org-index): Create a section in the
31527         index file.
31528         (org-publish-org-index): Stop linking to directories.
31530         * org.el (org-emphasis-alist): Use span instead of <u> to
31531         underline text.
31533         * org-exp.el (org-export-as-html): Make sure <p> is closed before
31534         <pre> sections.
31536 2008-11-12  Sebastian Rose  <sebastian_rose@gmx.de>
31538         * org-jsinfo.el (org-infojs-template): Remove language attribute
31539         from script tag.
31541 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31543         * org-agenda.el (org-agenda-remove-marked-text): New function.
31544         (org-agenda-mark-filtered-text)
31545         (org-agenda-unmark-filtered-text): New functions.
31546         (org-write-agenda): Remove filtered text.
31548         * org.el (org-make-tags-matcher): Give access to TODO "property"
31549         without speed penalty.
31551 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31553         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
31554         option.
31555         (org-store-link-props): Make sure adding to the plist works
31556         correctly.
31558         * org-gnus.el (org-gnus-no-new-news): New function.
31559         (org-gnus-follow-link): Allow the article ID to be a message-id,
31560         in addition to allowing article numbers.  Message IDs make much
31561         more roubust links.
31562         (org-gnus-store-link): Use message-id to create link.
31564 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31566         * org.el (org-emphasize): Reverse the selection array.
31567         (org-emphasis-alist): Set <code> tags for the verbatim
31568         environment.
31570         * org-remember.el (org-remember-handler): Fix bug with
31571         prefix-related changing of the note storage target.
31573         * org-exp.el (org-print-icalendar-entries): Make the exported
31574         priorities compatible with RFC 2445.
31576         * org-clock.el (org-clock-save): Insert time stamp without
31577         dependence on time-stamp.el.
31579 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31581         * org.el ("saveplace"): If saveplace puts point into an invisible
31582         location, make it visible.
31583         (org-make-tags-matcher): Allow inactive time stamps in time
31584         comparisons.
31585         (org-yank-adjusted-subtrees): New option.
31586         (org-yank): Incorporate adjusting trees.
31587         (org-paste-subtree): New argument FOR-YANK which will cause
31588         insertion at point without backing up over white lines, and leave
31589         point at the end of the inserted text.  Also if the cursor is
31590         at the beginning of a headline, use the same level or the inserted
31591         tree.
31593         * org-publish.el (org-publish-get-base-files-1): Deal correctly
31594         with broken symlinks.
31596 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31598         * org-exp.el (org-export-select-tags, org-get-current-options):
31599         Fix typo.
31601 2008-11-06  Glenn Morris  <rgm@gnu.org>
31603         * org-publish.el (org-publish-attachment): Use copy-file rather than
31604         eshell/cp.
31606 2008-11-04  Juanma Barranquero  <lekktu@gmail.com>
31608         * org.el (org-columns-modify-value-for-display-function):
31609         * org-table.el (org-table-convert-region): Fix typos in docstrings.
31611 2008-10-28  Glenn Morris  <rgm@gnu.org>
31613         * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
31615         * org-list.el (outline-next-heading, outline-back-to-heading):
31616         Fix declarations.
31618 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31620         * org-agenda.el (org-format-agenda-item)
31621         (org-agenda-filter-make-matcher): Make sure tags are stored and
31622         compared downcased.
31624 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31626         * org.el (org-insert-todo-heading): Fix bug with force-heading
31627         argument.
31629 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31631         * org-exp.el (org-export-as-ascii): Handle the case that we are
31632         bulishing from an indirect buffer.
31634         * org-table.el (org-table-copy-down): Fix bug with time stamp
31635         increment.
31637         * org-mouse.el (org-mouse-features): New option.
31638         (org-mode-hook): Turn on features depending on
31639         `org-mouse-features'.
31641         * org.el (org-insert-heading-respect-content): Force heading
31642         creation.
31643         (org-insert-heading): Keep the folding state of the heading before
31644         the inserted one.
31646 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31648         * org-archive.el (org-archive-to-archive-sibling): Handle top
31649         level headlines better.
31651 2008-10-26  Bastien Guerry  <bzg@gnu.org>
31653         * org-export-latex.el (org-export-latex-classes):
31654         Add \usepackage{graphicx} to the default list of packages.
31656 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31658         * org-agenda.el (org-agenda-filter): Rename from
31659         `org-agenda-filter-tags'.
31661 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31663         * org.el (org-entry-properties): Add CATEGORY property, iven if it
31664         is not defined as a property in this entry.
31665         (org-add-log-note): Mask prefix argument when immediately storing
31666         the note.
31668         * org-agenda.el (org-agenda-filter-effort-default-operator):
31669         New option.
31671 2008-10-26  James TD Smith  <ahktenzero@mohorovi.cc>
31673         * org.el (org-add-log-setup): Bugfix; code to find insertion point
31674         after drawers was skipping ahead one line too many, so notes were
31675         inserted after the first note instead of before it.
31677 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31679         * org-agenda.el (org-agenda-filter-tags, org-agenda-filter-form):
31680         New variables.
31681         (org-prepare-agenda): Reset the filter tags.
31682         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
31683         Show filter tags in mode line.
31685         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
31686         formatter.
31688         * org-export-latex.el (org-latex-entities-regexp): New constant.
31689         (org-export-as-pdf): Use two calls to `shell-command'.
31691 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31693         * org-export-latex.el (org-export-latex-treat-sub-super-char):
31694         Honor the {} value of the subsuperscript setting.  Make sure that
31695         longer subsuperscripts are typeset in a roman font.
31697         * org.el (org-clock-update-time-maybe): Compute negative clock
31698         intervals correctly.
31700 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31702         * org.el (org-add-log-setup):
31703         Respect `org-log-state-notes-insert-after-drawers'.
31704         (org-log-state-notes-insert-after-drawers): New option.
31705         (org-todo-trigger-tag-changes): New function.
31706         (org-todo): Call `org-todo-trigger-tag-changes'.
31708 2008-10-26  James TD Smith  <ahktenzero@mohorovi.cc>
31710         * org.el (org-add-log-setup): Only skip drawers if they are
31711         immediately after the scheduling keywords.
31713         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
31714         function.
31715         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
31716         call it with the current todo state to get the state to switch to
31717         when clocking in.
31718         (org-clock-in): Use org-indent-line-function to indent clock lines.
31719         (org-clock-find-position): Fix indentation of empty clock drawers.
31721 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31723         * org-publish.el (org-publish-org-to): Handle case when
31724         org-export-to-pdf does return a file name, not a buffer.
31725         (org-publish-org-to-pdf): New function.
31727         * org-export-latex.el (org-export-as-pdf)
31728         (org-export-as-pdf-and-open): New commands.
31730         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
31731         forms as ranges.
31733         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
31734         things in protexted regions.
31736 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31738         * org-export-latex.el (org-export-latex-preprocess):
31739         Improve quoting of LaTeX environments.
31741 2008-10-19  Eli Zaretskii  <eliz@gnu.org>
31743         * org.el (org-default-notes-file):
31744         * org-publish.el (org-publish-timestamp-directory):
31745         * org-id.el (org-id-locations-file): Run file names that begin
31746         with a period thru `convert-standard-filename'.
31748 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31750         * org-plot.el: Switch coding system to unix.
31752 2008-10-12  John Wiegley  <johnw@newartisans.com>
31754         * org-attach.el: New file.
31756 2008-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
31758         * org.el (org-edit-fixed-width-region): Exclude final newline from
31759         picture area.
31761         * org-export-latex.el (org-export-latex-subcontent): Add labels to
31762         sections, to make internal links work.
31763         (org-export-latex-fontify-headline): Do not remove all text
31764         properties, to make sure that target properties survive this
31765         process.
31767         * org-exp.el (org-export-preprocess-string): Change sequence of
31768         modifications, to make sure links are prepared before the LaTeX
31769         conversions do happen.
31771         * org-attach.el (org-attach-delete-all): Rename from
31772         `org-attch-delete'.  Add a security query before deleting the
31773         entire directory.  New optional argument FORCE can overrule the
31774         security query.
31775         (org-attach-delete-one): New command.
31777         * org-attach.el (org-attach-file-list): Fix bug with directory.
31779         * org.el (org-apps-regexp-alist): New function.
31780         (org-file-apps): Add auto-mode to the default value.
31781         (org-open-file): Use the new structure of org-file-apps.
31783         * org-attach.el (org-attach): Support the new keys.
31784         (org-attach-method): New option.
31786         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
31787         March.
31789         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
31790         of the list value o `org-use-tag-inheritance'.
31792         * org-attach.el (org-attach-auto-tag): New option.
31793         (org-attach-tag, org-attach-untag): New functions.
31794         (org-attach-attach, org-attach-new, org-attach-sync):
31795         Call `org-attach-tag'.
31796         (org-attach-delete): Call `org-attach-untag'.
31798         * org-table.el (orgtbl-self-insert-command): Make this work for
31799         the keypad as well.
31801         * org.el (org-add-log-setup): Limit searc for drawers to entry
31802         text, not to subtree.
31804         * org-clock.el (org-clock-heading-for-remember): New variable.
31805         (org-clock-in): Set `org-clock-heading-for-remember'.
31807 2008-10-12  James TD Smith  <ahktenzero@mohorovi.cc>
31809         * org-remember.el (org-remember-apply-template): Add new
31810         expansions: %k, %K for currently clocked task and a link to the
31811         currently clocked task, and %< to file notes in the currently
31812         clocked task.
31814 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31816         * org-export-latex.el (org-export-latex-make-header): Also insert
31817         the content of the property :latex-header-extra.
31819         * org-exp.el (org-infile-export-plist): Put the content of
31820         #+LATEX_HEADER: into the property :latex-header-extra.
31822         * org-colview.el (org-columns-get-format-and-top-level):
31823         Remove resetting the marker.
31825         * org.el (org-entry-property-inherited-from): Improve docstring.
31826         (org-entry-get-with-inheritance): Reset marker before starting the
31827         search.
31829         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
31831         * org.el (org-entry-get-multivalued-property)
31832         (org-entry-protect-space, org-entry-restore-space):
31833         New functions.
31834         (org-file-apps-defaults-macosx): Let PostScript files be opened by
31835         preview.
31836         (org-time-stamp-inactive): Call `org-time-stamp'.
31837         (org-time-stamp): New argument `inactive'.  Also edit inactive
31838         stamps.  Convert time stamp type.
31839         (org-open-file): Interpret the `default' value for the `command'
31840         in `org-file-apps'.
31842         * org-id.el (org-id-int-to-b36-one-digit)
31843         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
31844         (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
31845         b36.
31847         * org-id.el (org-id-reverse-string): New function.
31848         (org-id-new): Use `org-id-reverse-string' to make sure the
31849         beginning chars of the ID are mutating fast.  This allows to use a
31850         directory structure to spread things better.
31851         (org-id-prefix): Change default to nil.
31853         * org-list.el (org-move-item-down, org-move-item-up): Remember and
31854         restore the column of the cursor position.
31856         * org-remember.el (org-remember-apply-template): Remove properties
31857         from `initial'.
31859         * org-wl.el (org-wl-open): Remove useless call to
31860         `wl-thread-open-all'.
31862         * org-remember.el (org-remember-handler): Fix bug with `bottom'
31863         location.
31865         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
31866         `org-bbdb-anniversaries'.
31868         * org.el (org-get-next-sibling, org-forward-same-level):
31869         New functions, similar to the outline versions, but invisible headings
31870         are OK.
31872 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31874         * org.el (org-auto-repeat-maybe): Insert a space between
31875         the timestamp's type and the timestamp itself.
31877 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31879         * org-table.el (org-table-sum): Do not format the result with %g,
31880         it does rounding when there are too many digits.
31882         * org.el (org-map-entries): Protect the keyword-selecting variables.
31884 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31886         * org-agenda.el (org-agenda-to-appt): Make sure the function check
31887         against all agenda files.
31889 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31890             Bastien Guerry  <bzg@gnu.org>
31892         * org-list.el: New file, aggregating list functions from org.el
31893         and org-export-latex.el.
31895 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31897         * org.el (org-edit-src-region-extra): New option.
31899         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
31900         time before 1am.
31902 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31904         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
31906 2008-10-12  James TD Smith  <ahktenzero@mohorovi.cc>
31908         * org-plot.el (org-plot/gnuplot): Make tables starting with a
31909         hline work correctly.
31910         (org-plot/gnuplot-script): Put commas at the end of each script
31911         line.
31913         * org.el (org-get-refile-targets): Replace links with their
31914         descriptions.
31915         (org-imenu-get-tree): Replace links with their descriptions.
31917         * org-remember.el (org-remember-apply-template): Add a new
31918         expansion for adding properties to remember items.
31920         * org.el (org-add-log-setup): Skip over drawers (properties,
31921         clocks etc) when adding notes.
31923         * org-agenda.el (org-agenda-get-closed): Show durations of clocked
31924         items as well as the start and end times.
31926         * org-compat.el (org-get-x-clipboard-compat): Add a compat
31927         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
31929         * org-remember.el (org-get-x-clipboard): Use the compat
31930         function to get clipboard values when x-selection-value is
31931         unavailable.  Use substring-no-properties instead of
31932         set-text-properties to remove text properties from the clipboard
31933         value.
31935         * org-clock.el (org-update-mode-line): Support limiting the
31936         modeline clock string, and display the full todo value in the
31937         tooltip.  Set a local keymap so mouse-3 on the clock string goes to
31938         the currently clocked task.
31939         (org-clock-string-limit): Add a custom value for the maximum
31940         length of the clock string in the modeline.
31941         (org-clock-mode-map): Add a keymap for the modeline string.
31943 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31945         * org-compat.el (org-propertize): New function.
31947 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31949         * org-export-latex.el (org-export-latex-tables): Protect exported
31950         tables from further special chars conversion.
31951         (org-export-latex-preprocess): Preserve LaTeX environments.
31952         (org-list-parse-list): Parse descriptive lists.
31953         (org-list-to-generic, org-list-to-latex, org-list-to-html)
31954         (org-list-to-texinfo): Export descriptive lists.
31955         (org-quote-chars): Remove.
31956         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
31957         (org-export-latex-list-beginning-re): Rename to
31958         `org-list-beginning-re'.
31959         (org-list-item-begin): Rename to `org-list-item-beginning'.
31961 2008-10-12  Eric Schulte  <schulte.eric@gmail.com>
31963         * org-plot.el: New file.
31965 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31967         * org.el (org-refile): Allow refiling to the last entry in the
31968         buffer.
31969         (org-get-tags-at): Fix bug when inheritance is turned off.
31971         * org.el (org-indent-line-function): No longer check for src
31972         regions, this is too much overhead.
31974         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
31975         matching.
31977         * org.el (org-scan-tags): Make sure that tags matching is not case
31978         sensitive.  TODO keyword matching is case sensitive, however, to
31979         avoid confusion with similar words that are not meant to be
31980         keywords.
31982         * org.el (org-get-local-tags-at): New function.
31983         (org-get-local-tags): New function.
31985         * org-exp.el (org-export-get-categories): New function.
31987         * org-agenda.el (org-sorting-choice)
31988         (org-agenda-sorting-strategy, org-agenda-get-todos)
31989         (org-agenda-get-timestamps, org-agenda-get-deadlines)
31990         (org-agenda-get-scheduled, org-agenda-get-blocks)
31991         (org-entries-lessp): Implement sorting by TODO state.
31992         (org-cmp-todo-state): New defsubst.
31994         * org-colview.el (org-colview-construct-allowed-dates):
31995         New function.
31996         (org-columns-next-allowed-value):
31997         Use `org-colview-construct-allowed-dates'.
31999         * org.el (org-protect-slash): New function.
32000         (org-get-refile-targets): Use `org-protect-slash'.
32002         * org-agenda.el (org-global-tags-completion-table): New variable.
32004         * org-exp.el (org-export-handle-export-tags): New function.
32005         (org-export-preprocess-string):
32006         Call `org-export-handle-export-tags'.
32008         * org-publish.el (org-publish-expand-components): Function removed.
32009         (org-publish-expand-projects): Allow components to have components.
32011         * org.el (org-indent-line-function): Do not indent in regions that
32012         are external source code.
32013         (org-yank-and-fold-if-subtree): New function.
32015         * org-agenda.el (org-agenda-todayp): New function.
32016         (org-agenda-get-deadlines, org-agenda-get-scheduled):
32017         Use `org-agenda-todayp'.
32019         * org.el (org-insert-heading-respect-content)
32020         (org-insert-todo-heading-respect-content): New commands.
32021         (org-insert-heading-respect-content): New option.
32022         (org-insert-heading): Respect `org-insert-heading-respect-content'.
32024         * org-clock.el (org-clock-find-position): Make sure the note after
32025         the clock line gets moved into the new clock drawer.
32027         * org-id.el (org-id-new): New option.
32029         * org-table.el (org-table-copy-down): Avoid overflow during
32030         increment.  Use prefix argument 0 to temporarily disable the
32031         increment.
32033         * org-exp.el (org-export-as-html): Do not turn on the major mode
32034         if the buffer will be killed anyway.
32035         (org-get-current-options): Exclude the #+TEXT field.
32036         (org-export-as-html): Make sure text before the first headline is
32037         a paragraph.
32039         * org-publish.el (org-publish-org-to): Tell the exporter that this
32040         buffer will be killed, so it is not necessary to do major mode
32041         initialization.
32043         * org-archive.el (org-archive-to-archive-sibling): Show empty
32044         lines after folding the archive sibling.
32046         * org.el (org-log-note-extra): New variable.
32048 2008-10-12  Bastien Guerry  <bzg@gnu.org>
32050         * org.el (org-additional-option-like-keywords): Add keywords for
32051         the _QUOTE, _VERSE and _SRC environments.
32053         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
32054         exporting _QUOTE and _VERSE environments.
32056 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
32058         * org-agenda.el (org-agenda-filter-by-tag): New command.
32060         * org-exp.el (org-get-current-options): Remove angular brackets
32061         from the date entry.
32063         * org.el (org-edit-fixed-width-region): New function.
32064         (org-edit-fixed-width-region): Also try
32065         `org-edit-fixed-width-region'.
32066         (org-edit-fixed-width-region-mode): New option.
32067         (org-activate-code): Only interpret lines starting with colon
32068         plus a space as example lines.
32070         * org-remember.el (org-remember-templates): Add nil instead of
32071         empty strings to fix the length of remember templates.
32073         * org-table.el (org-calc-default-modes): Fix the time format for
32074         calc, from 12 hour to 24 hour clock.
32076         * org-agenda.el (org-agenda-get-deadlines)
32077         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
32078         entries that are pre-warnings of deadlines or reminders.
32080         * org.el (org-sort-entries-or-items): Make numeric and alpha
32081         comparisons ignore any TODO keyword and priority cookie.
32083         * org-remember.el (org-remember-handler): Reinterpretation of the
32084         prefix argument.
32086         * org-agenda.el (org-agenda-get-scheduled): Use new
32087         `org-scheduled' face.
32089         * org-faces.el (org-scheduled): New face.
32091         * org-wl.el (org-wl-open): Remove incorrect declaration.
32093         * org-gnus.el (org-gnus-store-link): Support for :to information
32094         in gnus links.
32096         * org-exp.el (org-export-as-html): Fix typo in creator
32097         information.
32098         (org-export-protect-examples): New parameter indent.  Insert extra
32099         spaces only when this parameter is specified.
32100         (org-export-preprocess-string): Call `org-export-protect-examples'
32101         with an indentation parameter when exporting to ASCII.
32103         * org-remember.el (org-remember-templates)
32104         (org-remember-apply-template): Allow the file component to be a
32105         function.
32107         * org.el (org-goto-local-search-headings): Rename from
32108         `org-goto-local-search-forward-headings'.  Added the possibility
32109         to search backwards.
32111         * org-export-latex.el (org-export-latex): New customization
32112         group.
32114         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
32116         * org-exp.el (org-html-do-expand): Allow {} to terminate
32117         tex macro.
32119         * org.el (org-buffer-list): Select buffers based on major mode,
32120         not on file name.
32122         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
32123         face property.
32125         * org-colview.el (org-columns-display-here):
32126         Use `org-columns-modify-value-for-display-function'.
32128         * org.el (org-columns-modify-value-for-display-function): New option.
32130         * org-publish.el (org-publish-file): Make sure the directory match
32131         for the publishing directory works correctly.
32133         * org-agenda.el (org-agenda-execute-calendar-command)
32134         (org-agenda-diary-entry): Additional optional argument.
32136 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
32138         * org-exp.el (org-export-as-html): Add attributes also in mailto
32139         and ftp links.
32141         * org.el (org-autoload): Add `org-dblock-write:columnview'.
32143 2008-08-11  Glenn Morris  <rgm@gnu.org>
32145         * org-mac-message.el (do-applescript): Fix declaration.
32147 2008-08-10  Glenn Morris  <rgm@gnu.org>
32149         * org-exp.el (org-export-as-html): Let-bind `i'.
32151         * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
32152         (org-extract-attributes): Let-bind `key', `value'.
32153         (org-make-tags-matcher): Let-bind `time-p'.
32155 2008-07-27  Carsten Dominik  <dominik@science.uva.nl>
32157         * org-install.el: New file.
32159 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
32161         * org-exp.el (org-export-html-style)
32162         (org-export-html-style-extra): Declare as safe-local-variable.
32164 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
32166         * org-publish.el (org-publish-file): Use the true name of the
32167         file.
32169         * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
32170         instead of :style.
32172         * org-exp.el (org-export-plist-vars)
32173         (org-export-add-options-to-plist): Handle creator setting flag.
32174         (org-export-as-html): Handle attributes also for ftp and mailto
32175         links.
32177         * org-agenda.el (org-agenda-diary-entry)
32178         (org-agenda-execute-calendar-command): Cater for the second
32179         argument of `calendar-cursor-to-date'.
32181 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
32183         * org-exp.el (org-export-region-as-html, org-export-as-html):
32184         Make sure that calls from `org-export-region-as-html' do not do the
32185         special check for a subtree.
32187         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
32189         * org.el (org-open-file):
32190         Use `org-open-directory-means-index-dot-org'.
32191         (org-open-directory-means-index-dot-org): New option.
32193         * org.el (org-make-link-string): Remove link attributes from
32194         description.
32195         (org-open-at-point): Remove link attributes before using the path.
32197         * org-exp.el (org-export-as-html): Handle link attributes.
32199         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
32201         * org-table.el (org-table-to-lisp): New function.
32203         * org.el (org-narrow-to-subtree): Do not include the final newline
32204         into the narrowed region.
32206         * org-agenda.el (org-agenda-custom-commands-local-options):
32207         Fix bug with user-define skipping condition.
32209         * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
32211         * org-exp.el (org-export-html-style-default): Automatic overflow
32212         handling for pre fields.
32213         (org-export-as-ascii, org-export-as-html): Change default format
32214         for time stamp.
32216         * org-table.el (org-table-export): Offer completion for translator
32217         functions, and do not require a heading above the table.
32219         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
32220         Cater for the case of a list starting in the first line of the
32221         buffer.
32223         * org-publish.el (org-publish-find-title): Bug fix.
32224         (org-publish-org-index): Implement new :index-style option.
32226         * org-publish.el (org-publish-timestamp-filename):
32227         Use SHA1-encoded file names in the timestamp directory.
32229         * org-publish.el (org-publish-needed-p): Be verbose about files
32230         published and files skipped.
32232         * org-exp.el (org-export-preprocess-string): Swap link
32233         normalization and internal link targeting.
32235         * org-publish.el (org-publish-needed-p): Create timestamp
32236         directory when it does not exist.
32238         * org-clock.el (org-clock-out-when-done): Doc fix.
32240         * org.el (org-agenda-skip-unavailable-files): Doc fix.
32242         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
32243         Ignore case when searching for the COMMENT cookie at export time.
32245         * org-exp.el (org-get-file-contents)
32246         (org-get-and-remove-property): New functions.
32247         (org-export-handle-include-files): Handle the new prefix options.
32248         (org-export-as-html): Fix the verse environment.
32250         * org.el (org-time=, org-time<, org-time<=, org-time>)
32251         (org-time>=, org-time<>, org-2ft): New functions.
32252         (org-op-to-function): Also provide for the time testing functions.
32254         * org-exp.el (org-export-html-style-default): New constant.
32256         * org-exp.el (org-export-html-style-extra): New variable.
32257         (org-export-splice-style): New function.
32259         * org-exp.el (org-export-plist-vars, org-export-as-html):
32260         Implement `org-export-creator-info'.
32261         (org-export-creator-info): New option.
32263         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
32264         (org-property-drawer-re, org-clock-drawer-re): New constants.
32266         * org-exp.el (org-icalendar-use-deadline)
32267         (org-icalendar-use-scheduled): New options.
32268         (org-icalendar-include-todo): Default changed to t.
32269         (org-print-icalendar-entries): Implement better utilization of
32270         scheduling and deadline time stamps.
32271         (org-export-target-internal-links, org-export-as-html): Allow file
32272         lines without the "file:" prefix if the file path is an absolute
32273         path or starts with ".".
32275         * org-clock.el (org-clocktable-shift): Also understand yesterday,
32276         lastweek etc.
32277         (org-clock-special-range): Also understand yesterday, lastweek etc.
32279         * org.el (org-agenda-skip-archived-trees): Docstring now
32280         discourages using this.
32281         (org-scan-tags): Check for org-agenda-archives-mode.
32282         (org-map-entries): Make sure org-agenda-archives-mode is nil.
32283         (org-agenda-files): Functionality of second arg changed.
32285         * org-agenda.el (org-agenda-archives-mode): New variable.
32286         (org-write-agenda, org-prepare-agenda, org-agenda-list)
32287         (org-search-view, org-todo-list, org-tags-view)
32288         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
32289         `ifmode' argument.
32290         (org-agenda-quit): Reset the archives mode.
32291         (org-agenda-archives-mode): New command.
32292         (org-agenda-set-mode-name): Include archives info.
32294         * org.el (org-paste-subtree): Make sure the yanked headline is
32295         visible if it was yanked at a visible point.
32296         (org-move-item-up): Fix the bug with moving white space at the end
32297         of the item.
32298         (org-show-empty-lines-in-parent): New function.
32300 2008-07-19  Juri Linkov  <juri@jurta.org>
32302         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
32303         new keymap `narrow-map' instead of binding "\C-xns".
32305 2008-07-02  Juanma Barranquero  <lekktu@gmail.com>
32307         * org.el (org-agenda-skip-unavailable-files):
32308         * org-clock.el (org-clock-out-when-done): Doc fixes.
32310 2008-06-18  Glenn Morris  <rgm@gnu.org>
32312         * org.el (org-map-entries): Let-bind `file'.
32314 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32316         * org-colview.el (org-columns-next-allowed-value): Bug fix.
32318         * org-agenda.el (org-agenda-get-closed): Get the end time into the
32319         agenda prefix as well.
32321         * org-publish.el (org-publish-org-index): Make a properly indented
32322         list.
32324         * org.el (org-calendar-agenda-action-key): New option.
32325         (org-get-cursor-date): New function.
32326         (org-mark-entry-for-agenda-action): New command.
32327         (org-overriding-default-time): New variable.
32328         (org-read-date): Respect `org-overriding-default-time'.
32330         * org-remember.el (org-remember-apply-template): Respect the
32331         overriding default time.
32333         * org-agenda.el (org-agenda-action-marker): New variable.
32334         (org-agenda-action): New command.
32335         (org-agenda-do-action): New function.
32337 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32339         * org.el (org-schedule, org-deadline): Protect scheduled and
32340         deadline tasks against changes that accidentally remove the
32341         repeater.  Also show a message with the new date when done.
32343 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32345         * org.el (org-beginning-of-line): Cater for the case when there
32346         are tags but no headline text.
32347         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
32348         it set.
32350 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32352         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
32353         the return value is nil instead of "nil" when there is no match.
32355         * org-exp.el (org-insert-centered): Use fill-column instead of
32356         80.
32357         (org-export-as-ascii): Use string-width to measure the width of
32358         the heading.
32360         * org.el (org-diary-to-ical-string): No longer kill buffer
32361         FROMBUF, this is now done by the caller.
32363         * org-exp.el (org-print-icalendar-entries): Move the call to
32364         `org-diary-to-ical-string' out of the loop, and kill the buffer
32365         afterwords.
32367         * org-remember.el (org-remember-visit-immediately):
32368         Position cursor after moving to the note.
32369         (org-remember-apply-template): Use a text property to record the
32370         cursor position.
32371         (org-remember-handler): Align tags after pasting the note.
32373 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32375         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
32377         * org-agenda.el (org-agenda-open-link): If there is an
32378         org-bbdb-name property in the current line, jump to that bbdb
32379         entry.
32381         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
32382         text property, so that the agenda knows where this entry comes
32383         from.
32385         * org-agenda.el (org-agenda-clock-in): Fix bug in the
32386         interaction between clocking-in from the agenda, and  automatic
32387         task state switching.
32389         * org-macs.el (org-with-point-at): Bug fix in macro definition.
32391         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
32392         zmacs-region stays after this command in XEmacs.
32394 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32396         * org.el (org-scan-tags): Allow new values for ACTION parameter.
32398         * org-remember.el (org-remember-templates): Fix bug in
32399         customization type definition.
32401         * org.el (org-map-entries): New function.
32403 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32405         * org-agenda.el (org-agenda-skip-comment-trees): New option.
32406         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
32408 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32410         * org-remember.el (org-jump-to-target-location): New variable.
32411         (org-remember-apply-template):
32412         Set `org-remember-apply-template' if requested by template.
32413         (org-remember-handler): Start an idle timer to jump to
32414         remember location.
32416         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
32418         * org.el (org-set-regexps-and-options): Fix bug with parsing of
32419         file tags.
32420         (org-get-tags-at): Add the content of `org-file-tags'.
32422         * org-exp.el (org-export-handle-comments): Fix bug with several
32423         comment lines after each other.
32424         (org-number-to-roman, org-number-to-counter): New functions.
32425         (org-export-section-number-format): New option.
32427 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32429         * org-exp.el (org-export-protect-examples): Catch the case of a
32430         missing end_example line.
32432         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
32433         `org-file-tags' to nil.
32435         * org-colview.el (org-columns-next-allowed-value): Handle next
32436         argument NTH to directly select a value.
32438 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32440         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
32442 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32444         * org.el (org-columns-ellipses): New option.
32446 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32448         * org-colview.el (org-columns-add-ellipses): New function.
32449         (org-columns-compact-links): New function.
32450         (org-columns-cleanup-item): Call `org-columns-compact-links'.
32451         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
32452         when in agenda.
32453         (org-columns-edit-value): Fix bug with editing values from
32454         agenda column view.
32455         (org-columns-redo): Also redo the agenda itself.
32457 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32459         * org-agenda.el (org-agenda-columns-remove-prefix-from-item):
32460         New option.
32462         * org-colview.el (org-agenda-columns-cleanup-item): New function.
32464         * org-exp.el (org-export-ascii-preprocess): Rename from
32465         `org-export-ascii-clean-string'.
32466         (org-export-kill-licensed-text)
32467         (org-export-define-heading-targets)
32468         (org-export-handle-invisible-targets)
32469         (org-export-target-internal-links)
32470         (org-export-remove-or-extract-drawers)
32471         (org-export-remove-archived-trees)
32472         (org-export-protect-quoted-subtrees)
32473         (org-export-protect-verbatim, org-export-protect-examples)
32474         (org-export-select-backend-specific-text)
32475         (org-export-mark-blockquote-and-verse)
32476         (org-export-remove-comment-blocks-and-subtrees)
32477         (org-export-handle-comments, org-export-mark-radio-links)
32478         (org-export-remove-special-table-lines)
32479         (org-export-normalize-links)
32480         (org-export-concatenate-multiline-links)
32481         (org-export-concatenate-multiline-emphasis): New functions,
32482         obtained from spliting the export preprocessor.
32484         * org-table.el (org-table-recalculate): Improve error message if
32485         the row number is invalid.
32487 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32489         * org-archive.el (org-archive-save-context-info): Fix bugs in
32490         customization setup and docstring.
32492         * org-exp.el (org-export-html-style): Change the size of in the
32493         <pre> element to 90%.
32495 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32497         * org.el (org-find-src-example-start): Function removed.
32498         (org-edit-src-find-region-and-lang): New function.
32500 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32502         * org.el (org-edit-src-exit): New function.
32503         (org-exit-edit-mode): New minor mode.
32505         * org-exp.el (org-export-preprocess-string): Fix bug with removing
32506         comment-like lines from protected examples.
32508         * org.el (org-edit-src-example, org-find-src-example-start)
32509         (org-protect-source-example, org-edit-special): New functions.
32511 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32513         * org-publish.el (org-publish-project-alist): Fix typo in
32514         docstring.
32515         (org-publish-project-alist): Handle :index-title property.
32517 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32519         * org-export-latex.el (org-export-as-latex): Make sure region
32520         bounds are correct.  Parse subtree properties relating to export.
32522         * org-exp.el (org-export-add-options-to-plist): New function.
32523         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
32525 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32527         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
32528         EXPORT_TITLE.
32530         * org-exp.el (org-export-get-title-from-subtree)
32531         (org-export-as-ascii, org-export-as-html): Make sure the original
32532         region-beginning and region-end are used, even after moving point.
32533         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
32534         property.
32536         * org-remember.el (org-remember-last-stored-marker): New variable.
32537         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
32538         (org-remember-handler): Also use marker to remember
32539         last-stored position.
32541         * org.el (org-goto-marker-or-bmk): New function.
32543 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32545         * org.el (org-file-properties): Rename from `org-local-properties'.
32546         (org-scan-tags): Take file tags into account.
32547         (org-tags-match-list-sublevels): Default changed to t.
32549         * org-exp.el (org-export-as-html): Close paragraph after a footnote.
32551         * org.el (org-update-parent-todo-statistics): New function.
32553         * org-exp.el (org-icalendar-store-UID): New option.
32554         (org-icalendar-force-UID): Option removed.
32555         (org-print-icalendar-entries): IMplement UIDs.
32557 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32559         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
32561 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32563         * org-faces.el (org-column): Document how this face is being used
32564         and why sometimes the background faces shine through.
32566         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
32568         * org-publish.el (org-publish-attachment): Create publishing
32569         directory if it does not yet exist.
32571         * org-table.el (org-calc-default-modes): Change default number
32572         format to (float 8).
32574         * org.el (org-olpath-completing-read): New function.
32575         (org-time-clocksum-format): New option.
32576         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
32578         * org-clock.el (org-clock-display, org-clock-out)
32579         (org-update-mode-line): Use `org-time-clocksum-format'.
32581         * org-colview.el (org-columns-number-to-string):
32582         Use `org-time-clocksum-format'.
32584 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32586         * org-id.el: New file, move from contrib to core.
32588         * org-exp.el (org-icalendar-force-UID): New option.
32590 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32592         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
32593         shifted by one day if there is a date range without an end time.
32595         * org.el (org-try-structure-completion): New function.
32597 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32599         * org.el (org-set-font-lock-defaults): Improve fontification of
32600         description lists.
32601         (org-insert-item): Handle description lists.
32602         (org-adaptive-fill-function): Improve auto indentation in
32603         description lists.
32605         * org-exp.el (org-export-as-html, org-export-preprocess-string):
32606         Implement VERSE environment.
32607         (org-export-preprocess-string): Implement the COMMENT
32608         environment.
32610         * org-export-latex.el (org-export-latex-preprocess):
32611         Implement VERSE environment.
32613 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32615         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
32616         option.
32618 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32620         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
32622         * org.el (org-quote-csv-field): New functions.
32624         * org-table.el (org-table-export-default-format): Remove :splice
32625         from default format, we get the same effect by not specifying
32626         :tstart and :tend.
32627         (org-table-export): Improve setup, distinguish better between
32628         interactive and non-interactive use, allow specifying the format
32629         on the fly, better protection against wrong file names.
32630         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
32631         and :tend when :splice is omitted.
32633 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32635         * org-clock.el (org-clock-select-task): Make sure the selection
32636         letters are 1-9 and A-Z, no special characters.
32638 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32640         * org-exp.el (org-export-htmlize): New group.
32641         (org-export-htmlize-output-type)
32642         (org-export-htmlize-css-font-prefix): New options.
32643         (org-export-htmlize-region-for-paste): New function.
32644         (org-export-htmlize-generate-css): New command.
32646 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32648         * org.el (org-set-visibility-according-to-property): New function.
32649         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
32650         and compute the regular expressions, and update font-lock.
32651         (org-property-re): Allow a dash in property names.
32653         * org-archive.el (org-extract-archive-file): Insert the file name
32654         without the path into the format, to allow the location format to
32655         contain a subdirectory.
32657         * org-agenda.el (org-agenda-post-command-hook): If point is at end
32658         of buffer, and the `org-agenda-type' property undefined, use the
32659         value from the character before.
32661         * org.el (org-add-planning-info): Don't let indentation for
32662         would-be timestamp become extra whitespace at the end of headline.
32664 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32666         * org.el (org-remove-double-quotes, org-file-contents):
32667         New functions.
32669         * org-exp.el (org-infile-export-plist): Also parse the
32670         contents of #+SETUPFILE files, recursively.
32672         * org.el (org-set-regexps-and-options): Also parse the
32673         contents of #+SETUPFILE files, recursively.
32675         * org-exp.el (org-export-handle-include-files): New function.
32676         (org-export-preprocess-string):
32677         Call `org-export-handle-include-files'.
32679         * org.el (org-delete-property-globally)
32680         (org-delete-property, org-set-property): Ignore case during
32681         completion.
32682         (org-set-property): Use `org-completing-read' instead of
32683         `completing-read'.
32685         * org.el (org-complete-expand-structure-template): New,
32686         experimental function.
32687         (org-structure-template-alist): New, experimental option.
32688         (org-complete): Call `org-complete-expand-structure-template'.
32690 2008-06-17  Bastien Guerry  <bzg@gnu.org>
32692         * org-export-latex.el (org-export-latex-preprocess):
32693         Add support for blockquotes.
32695 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32697         * org.el (org-read-date-analyze): Catch the case where only a
32698         weekday is given.
32700 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32702         * org.el (org-set-font-lock-defaults): Make the description
32703         tag bold.
32705         * org-exp.el (org-export-as-html, org-close-li):
32706         Implement description lists.
32708 2008-06-17  Jason Riedy  <jason@acm.org>
32710         * org-table.el (*orgtbl-default-fmt*): New variable.
32711         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
32712         when there is no other fmt available.
32714         (orgtbl-to-generic): Allow an explicitly nil :tstart or
32715         :tend to suppress the appropriate string.
32717         (orgtbl-to-orgtbl): New function for translating to another orgtbl
32718         table.
32720 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32722         * org.el (org-read-date-analyze): "." as an alias for "+0" in
32723         read date.
32725         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
32726         New function.
32728         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
32729         New function.
32731 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32733         * org-clock.el (org-clock-find-position): Don't include notes
32734         into clock drawer.
32736         * org-archive.el (org-archive-subtree): No longer remove an
32737         extra line after cutting the subtree.  `org-cut-subtree' already
32738         takes care of this.
32740         * org-remember.el (org-remember-handler): Only kill the target
32741         buffer if it does not contain the running clock.
32743         * org.el (org-markers-to-move): New variable.
32744         (org-save-markers-in-region, org-check-and-save-marker)
32745         (org-reinstall-markers-in-region): New function.
32746         (org-move-subtree-down, org-copy-subtree): Remember relative
32747         marker positions before cutting.
32748         (org-move-subtree-down, org-paste-subtree): Restore relative
32749         marker positions after pasting.
32751         * org-remember.el (org-remember-clock-out-on-exit): New option.
32752         (org-remember-finalize): Clock out only if the setting in
32753         `org-remember-clock-out-on-exit' requires it.
32754         (org-remember-handler): Do the cleanup in the buffer, to make sure
32755         that the clock marker remains in tact.
32757 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32759         * org-clock.el (org-clock-goto): Widen buffer if necessary.
32760         (org-clock-in): Make sure that also tasks outside the narrowed
32761         region will be clocked in correctly.
32762         (org-clock-insert-selection-line): Widen the buffer so that we can
32763         find the correct task heading.
32765         * org.el (org-base-buffer): New function.
32767         * org-exp.el (org-icalendar-cleanup-string): Make sure ","
32768         and ";" are escaped.
32769         (org-print-icalendar-entries): Also apply
32770         `org-icalendar-cleanup-string' to the headline, not only to the
32771         summary property.
32773 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32775         * org-exp.el (org-export-preprocess-hook): New hook.
32776         (org-export-preprocess-string): Call `org-export-preprocess-hook'.
32778         * org.el (org-font-lock-hook): New variable.
32779         (org-font-lock-hook): New function.
32780         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
32782 ;; Local Variables:
32783 ;; coding: utf-8
32784 ;; add-log-time-zone-rule: t
32785 ;; End:
32787         Copyright (C) 2008-2015 Free Software Foundation, Inc.
32789   This file is part of GNU Emacs.
32791   GNU Emacs is free software: you can redistribute it and/or modify
32792   it under the terms of the GNU General Public License as published by
32793   the Free Software Foundation, either version 3 of the License, or
32794   (at your option) any later version.
32796   GNU Emacs is distributed in the hope that it will be useful,
32797   but WITHOUT ANY WARRANTY; without even the implied warranty of
32798   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32799   GNU General Public License for more details.
32801   You should have received a copy of the GNU General Public License
32802   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.