Update copyright year to 2015
[emacs.git] / lisp / org / ChangeLog
blob7b87933935cb3f910d506b03a55902de573fb7c5
1 2014-10-29  Paul Eggert  <eggert@cs.ucla.edu>
3         Simplify use of current-time and friends.
4         * org-archive.el (org-archive-subtree)
5         (org-archive-to-archive-sibling):
6         * org-clock.el (org-resolve-clocks, org-clock-get-sum-start)
7         (org-clock-special-range):
8         * org-timer.el (org-timer-seconds):
9         * org.el (org-read-date-analyze, org-get-cursor-date):
10         * ox-html.el (org-html-format-spec):
11         * ox-icalendar.el (org-icalendar--vtodo):
12         Omit unnecessary call to current-time.
13         * org-clock.el (org-clock-get-table-data): Omit unnecessary, lossy
14         conversion from floating point to Emacs time and back.
15         (org-resolve-clocks): Prefer two-argument floor.
16         * org-compat.el (org-float-time): Simplify to an alias because
17         time-to-seconds now behaves like float-time with respect to nil arg.
18         * org.el (org-get-cursor-date):
19         Don't call current-time twice to get the current time stamp,
20         as this can lead to inconsistent results.
22 2014-10-20  Glenn Morris  <rgm@gnu.org>
24         * Merge in all changes up to 24.4 release.
26 2014-10-12  Marco Wahl  <marcowahlsoft@gmail.com>
28         * org-agenda.el (org-get-entries-from-diary):
29         Use `diary-fancy-display' instead of the obsolete
30         `diary-display-hook'.
32 2014-10-12  Nicolas Goaziou  <mail@nicolasgoaziou.fr>
34         * ox.el (org-export-async-start): Limit first argument to lambda
35         expressions.
37         * ox-publish.el (org-publish, org-publish-all)
38         (org-publish-current-file): Replace `ignore', per limit stated above.
40 2014-10-12  Christopher Schmidt  <ch@ristopher.com>
42         * org.el (orgstruct-make-binding): Do not use loop in interpreted code.
44 2014-10-12  Mike McLean  <mike.mclean@pobox.com>  (tiny change)
46         * org-agenda.el (org-agenda-time-grid): Change docstring.
48 2014-10-12  Nicolas Goaziou  <mail@nicolasgoaziou.fr>
50         * ox.el (org-export-async-start): Allow to use symbols as function.
52 2014-10-03  Achim Gratz  <Stromeko@Stromeko.DE>
54         * ob-sh.el (org-babel-sh-initiate-session): After initiating a
55         session, initialize the marker `comint-last-output-start' since it
56         is going to be used by the ANSI color filter without further
57         checks in Emacs 23 and throws an error.
59         * ob-lilypond.el: Change prefix from `ly-' to
60         `org-babel-lilypond-' throughout.
62         * org-footnote.el: Forward declare `org-element-context',
63         `org-element-property' and `org-element-type'.
65         * org.el: Add forward declarations for a number of functions that
66         the compiler otherwise warns about as potentially undefined at
67         runtime.
69         * ob-core.el: Add comment to forward declaration of
70         'org-src-preserve-indentations'.
72         * ob-exp.el: Require org-src to import
73         'org-src-preserve-indentations'.
75         * ob-haskell.el, ob-python.el: Remove superfluous forward
76         declaration of 'org-src-preserve-indentations', since it gets
77         imported by other requires.
79         * ob-core.el (org-every): Forward declare 'org-every'.
81         * ob-C.el: Require cl during compilation so that lexical-let is
82         known.
84         * org-entities.el: Remove superfluous require of org-macs.
85         Forward declare 'org-toggle-pretty-entities' and
86         'org-pretty-entities'.
88         * ox.el (org-export-get-parent): Move definition of
89         'org-export-get-parent' before first use.  Leave comment at original
90         place of definition.
92         * org.el (org-uniquify): Move definition of 'org-uniquify' before
93         first use.  Leave comment at original place of definition.
95         * ob-tangle.el (org-babel-tangle): When `file-name-directory'
96         returns nil, do not run make-directory.  Remove superfluous when
97         clauses by using short-circuiting `and' instead.
99 2014-10-03  Alex Kosorukoff  <alex@3form.com>  (tiny change)
101         * org-capture.el (org-capture-fill-template): Set `mark-active' to
102         nil.
104 2014-10-03  Bastien Guerry  <bzg@gnu.org>
106         * org-agenda.el (org-agenda-prepare): Reset preset filters when
107         using sticky agendas.
109         * org-agenda.el (org-agenda-get-sexps): Don't add tags as text
110         properties.
112         * org-capture.el (org-capture-fill-template):
113         Take `org-extend-today-until' into account when setting the format time
114         string.
116         * org.el (org-paste-subtree): Fix match subexpression.
118         * org.el (org-fix-ellipsis-at-bol): Delete.
119         (org-mode, org-show-context, org-isearch-end): Don't use
120         `org-fix-ellipsis-at-bol'.
122         * org-agenda.el (org-agenda-filter-apply): Fix setting of
123         `org-agenda-filtered-by-category'.
125         * org.el (org-fontify-meta-lines-and-blocks-1): Fix handling
126         of `org-hidden-keywords'.
128         * org-agenda.el (org-cmp-ts): Fix agenda entry type checking.
130         * org-agenda.el (org-entries-lessp): Fix inactive timestamp
131         comparison.
133         * org-agenda.el (org-agenda-mode): Let `org-agenda-redo' DTRT
134         when agenda are sticky.
135         (org-agenda-tag-filter-while-redo): Delete.
136         (org-agenda-list, org-agenda-redo, org-agenda-filter-by-tag):
137         Remove unused code.
138         (org-agenda-clockreport-mode, org-agenda-set-mode-name):
139         Don't consider tag filters.
141         * org.el (org-fix-ellipsis-at-bol)
142         (org-first-headline-recenter): Use `set-window-start' instead
143         of `recenter'.
145         * org-agenda.el (org-recenter-heading): Delete.
147         * org.el (org-insert-heading): With one universal prefix argument
148         or `org-insert-heading-respect-content' set to `t', always respect
149         the content, i.e. don't insert a list item and don't convert
150         normal lines into headings.  Update docstring.
151         (org-insert-heading-respect-content): Remove unused arg.
152         (org-insert-todo-heading-respect-content): Don't use
153         `org-insert-todo-heading-respect-content', use the second argument
154         of `org-insert-todo-heading' instead.
156         * org-mobile.el (org-mobile-edit): Use only one arg.
158         * org.el (org-overview): Don't call `recenter'.
160         * org-agenda.el (org-agenda-custom-commands-local-options):
161         Fix misquoted values.
163         * org.el (org-property-re): Also match null properties by default.
164         (org-entry-delete): Also delete null properties.
165         (org-read-property-value): Allow the empty string as a new value.
166         (org-delete-property): Throw a message when there is not property
167         to delete.
169         * org-agenda.el (org-agenda-insert-diary-make-new-entry):
170         Fix docstring.
172         * org.el (org-re-property): New parameter `allow-null' to match
173         property with a null value.
174         (org-entry-put): Correctly update a property with a null
175         value.
177         * ox-md.el (org-md-headline): When exporting with a HTML table of
178         contents, add HTML anchors to Markdown headlines.
180         * org.el (org-insert-heading): Don't insert an item when called
181         with two universal prefix arguments.
183         * org-agenda.el (org-agenda-finalize): Remove duplicate check for
184         'org-hd-marker.
186         * org-agenda.el (org-agenda-prepare-window): New parameter
187         `filter-alist' to set the filters correctly when
188         `org-agenda-persistent-filter' is on.
189         (org-agenda-prepare): Use the new parameter for
190         `org-agenda-prepare-window'.
192         * org-compat.el (org-in-invisibility-spec-p): Tiny code cleanup.
193         (org-move-to-column): Only remove '(org-filtered) from
194         `buffer-invisibility-spec'.
196         * org-agenda.el (org-agenda-mode): Add buffer invisibility specs.
197         (org-agenda-filter-hide-line, org-agenda-remove-filter):
198         Set the 'invisible text property to 'org-filtered.
199         (org-agenda-show-new-time): Add the default face to avoid the
200         foreground of the last character on the line to leak into the
201         timestamp notification.
203         * org-agenda.el (org-get-time-of-day): Don't return time string
204         from within links.
206         * org-timer.el (org-timer-value-string): Always return a positive
207         value.  Add docstring.
209         * org-capture.el (org-capture-steal-local-variables): Don't steal
210         `mark-active', which should be nil in the target buffer.
212         * org-agenda.el (org-agenda-remove-filter): Use `save-excursion'.
214         * org.el (org-move-subtree-down): Use `org-end-of-subtree' instead
215         of `outline-end-of-subtree'.
216         (outline-end-of-subtree): Remove advice.
218         * org-mouse.el (org-mouse-move-tree, org-mouse-do-remotely):
219         Use `org-end-of-subtree' instead of `outline-end-of-subtree'.
221         * org-agenda.el (org-cmp-ts): Argument `type' is not optional.
222         Don't quote it.
224         * org-habit.el (org-habit-insert-consistency-graphs): Don't remove
225         filter overlays as we don't use overlays for filters anymore.
227         * org-agenda.el (org-agenda-local-vars):
228         Add `org-agenda-top-headline-filter'.
229         (org-agenda-filter-by-category): Fix syntax.
230         (org-agenda-filter-show-all-top-filter): New function.
231         (org-agenda-filter-by-top-headline)
232         (org-agenda-filter-remove-all): Use the new function.
233         (org-agenda-filter-top-headline-apply): Use a dedicated symbol
234         `top-headline'.
236         * org.el (org-entry-properties): Ensure the special property is
237         not commented out when matched.
239         * org-agenda.el (org-agenda-write): Code cleanup.
240         (org-agenda-mark-filtered-text)
241         (org-agenda-unmark-filtered-text)
242         (org-agenda-fix-tags-filter-overlays-at): Delete.
243         (org-agenda-remove-marked-text): Use the `property' argument
244         instead of hard-coding 'org-filtered.
245         (org-agenda-filter-remove-all): Use `org-agenda-finalize'.
246         (org-agenda-filter-hide-line): Rewrite using text properties
247         instead of overlays.
248         (org-agenda-remove-filter): New function.
249         (org-agenda-filter-show-all-tag)
250         (org-agenda-filter-show-all-cat)
251         (org-agenda-filter-show-all-re): Rewrite using
252         `org-agenda-remove-filter'.
254         * org-attach.el (org-attach-dir): When the property is "inherited"
255         from a variable outside of the file, do not use
256         `org-entry-property-inherited-from' to find the attachment
257         position, assume we need to go back to the current headline.
259         * ob-R.el (org-babel-R-assign-elisp): Fix parsing of a
260         one-dimensional value.
262         * org.el (org-insert-heading): Fix bug when trying to insert a
263         heading when point is before the first headline and not at the
264         beginning of a line.
266         * org-table.el (org-table-eval-formula): Fix conversion of
267         inactive timestamps to active ones.
269         * org.el (org-set-regexps-and-options):
270         Allow `org-complex-heading-regexp-format' to match [/] and [%] cookies
271         when they are both before and after the heading.
273         * org-agenda.el (org-agenda-max-todos, org-agenda-max-tags)
274         (org-agenda-max-effort): Fix type strings.
276         * org-capture.el (org-capture-fill-template): Deactivate region
277         while trying to align tags on the current headline.
279         * org-agenda.el (org-agenda-finalize): Filter by top headline if
280         `org-agenda-top-headline-filter' is set.
282 2014-10-03  Bernt Hansen  <bernt@norang.ca>
284         * org-macs.el: Remove restriction when locating markers.
286 2014-10-03  Dmitry Gorbik  <dgorbik@me.com>  (tiny change)
288         * org.el (org-fast-tag-selection): Fix window splitting.
290 2014-10-03  Eric Schulte  <schulte.eric@gmail.com>
292         * ob-screen.el (org-babel-screen-test): Use unpredictable name for
293         temporary file.
295         * ob-screen.el (org-babel-screen-session-write-temp-file):
296         Use unpredictable temp file name, fixes bug#17416.
298 2014-10-03  Ian Kelling  <ian@iankelling.org>
300         * ob-core.el (org-babel-insert-result): Test all list elements
301         against listp and (eq element 'hline) instead of checking just the
302         first.
304 2014-10-03  Konstantin Kliakhandler  <kosta@slumpy.org>  (tiny change)
306         * org-agenda.el (org-agenda-redo): Reapply the filters correctly.
308 2014-10-03  Kyle Meyer  <kyle@kyleam.com>  (tiny change)
310         * ox.el (org-export-show-temporary-export-buffer): Fix typo.
312 2014-10-03  Matt Lundin  <mdl@imapmail.org>
314         * ox-publish.el (org-publish-find-title, org-publish-find-date):
315         Make sure to call org-export-get-environment in copy of buffer if
316         emacs is already visiting. Otherwise, #+bind variables meant for
317         export can be set in live buffers.
319         * org.el (org-agenda-inhibit-startup): fix docstring to reflect
320         default value
322         * ox-publish.el (org-publish-find-title, org-publish-find-date):
323         Fix unnecessary invocations of org-mode with org-inhibit-startup.
325 2014-10-03  Nick Dokos  <ndokos@gmail.com>
327         * org-table.el (org-table-clean-before-export): The regexes match
328         spaces in addition to the special characters that might be used in
329         the first column as special marking characters.  Remove the space
330         from the character class.
332         * ox-ascii.el (org-ascii-superscript): Change _ to ^ in the
333         output.
335 2014-10-03  Nick Dokos  <ndokos@redhat.com>
337         * org-table.el (org-table-show-reference): Call `set-window-start'
338         with the calculated values `min' and `max', not with
339         (point-min) and (point-max).
341 2014-10-03  Nicolas Goaziou  <n.goaziou@gmail.com>
343         * ox-latex.el (org-latex-link): Improve test for unnumbered
344         headlines.
346         * ox-ascii.el (org-ascii--fill-string): Allow filling even when
347         `org-export-preserve-breaks' is non-nil.
349         * org.el (org-N-empty-lines-before-current): Make sure to delete
350         only empty lines, not trailing whitespaces.
352         * ox-html.el (org-html-headline): Make sure even listified
353         headlines have proper anchors so internal links can refer to them.
354         Small refactoring.
356         * org-src.el (org-edit-src-code): Fix regexp.
357         (org-edit-src-exit): Do not remove auto-save timer.  This is
358         handled by the timer itself.
360         * org.el (org-re-property): Fix regexp.  Improve docstring.
362         * org-element.el (org-element-property-drawer-parser)
363         (org-element-node-property-parser): Ignore lines that are not node
364         properties.
365         (org-element-node-property-interpreter): Allow nil properties.
367         * org.el (org-re-property): Fix regexp to match properties with
368         empty values.
370         * org-element.el (org-element-headline-interpreter): Take into
371         consideration `org-odd-levels-only' value.  Small refactoring.
373         * ox-texinfo.el (org-texinfo--get-node): Return a node or anchor
374         name.
375         (org-texinfo--sanitize-content): Fix regexp.
376         (org-texinfo-link): Fix various bugs in link export.
378         * ox-beamer.el (org-beamer-link):
379         * ox-html.el (org-html-link):
380         * ox-latex.el (org-latex-link):
381         * ox-odt.el (org-odt-link): When radio link has no valid
382         target (e.g., this is a subtree export and the radio target is not
383         in the exported subtree), simply return contents.
385         * org.el (org-called-with-limited-levels): Initialize variable.
387         * org-agenda.el (org-agenda-write): Write headings in proper
388         order.
390         * org-element.el (org-element-table-interpreter):
391         Enhance docstring.
393         * ox-md.el (org-md-link): Allow custom link type export function.
395         * ox-texinfo.el (org-texinfo-template): Fix language and encoding
396         case.
398         * ox-md.el (org-md-separate-elements): Outside of lists, preserve
399         blank lines between paragraphs and plain lists.
401         * org-element.el (org-element-normalize-contents): Fix indentation
402         removal when there is an empty line within a verse block.
404         * ox-texinfo.el (org-texinfo--normalize-headlines): Properly add a
405         section to the contents.
407         * ox-texinfo.el (org-texinfo--normalize-headlines): Do not set pre
408         blanks since the value is now hard-coded.
409         (org-texinfo-headline): Force one blank line before contents, when non
410         empty.  Refactoring.
411         (org-texinfo-src-block): Refactor code.  Comply to predicate naming.
413         * ox-texinfo.el (org-texinfo--sanitize-node):
414         Handle " (not)allowed" case.
416         * ox-texinfo.el (org-texinfo-headline): Remove wrong code
417         comments.
419         * ox-texinfo.el (org-texinfo-headline): Remove `not-in-toc'
420         special case for tags.
422         * ox-texinfo.el (org-texinfo-headline): Remove LaTeXism (optional
423         arguments within square brackets).
425         * ox-texinfo.el (org-texinfo-info-process): Fix docstring.
426         (org-texinfo-compile): Do not check for impossible cases (e.g., if the
427         previous variable contains a function).
429         * ox-texinfo.el (org-texinfo-max-toc-depth): Fix docstring.
431         * ox-texinfo.el (org-texinfo--make-option-string,
432         org-texinfo--sanitize-headline,
433         org-texinfo--sanitize-headline-contents): Remove.
435         * ox-texinfo.el (org-texinfo--sanitize-node): "@", "{" and "}"
436         characters are allowed in a node name.  So are "(" and ")" unless
437         "(" starts the name and there is ")" somewhere in the name.
438         Also trim and collapse whitespace characters.  Renamed from
439         `org-texinfo--sanitize-menu'.
440         (org-texinfo--get-node): Do not sanitize node names over zealously.
441         Ensure returned node names are unique.
442         (org-texinfo-headline): Only add @node command where it makes sense.
444         * ox-texinfo.el (org-texinfo--sanitize-menu)
445         (org-texinfo--sanitize-content): Fix docstrings.
447         * ox-texinfo.el (org-texinfo--normalize-headlines): Make sure a
448         blank line always follows nodes.
450         * ox-texinfo.el (org-texinfo-make-menu): Change signature.
451         Remove some intermediate functions.  Generate the full master menu when
452         asked.
453         (org-texinfo--build-menu): Use a simpler algorithm.
454         (org-texinfo--format-entries): Fix entries when both node and title
455         are different.
456         (org-texinfo--menu-entries): Rename from `org-texinfo--generate-menu-list'.
457         (org-texinfo-headline): Move menu handling to next function.
458         (org-texinfo-section): Handle menu for current parent.
459         (org-texinfo--menu-headlines, org-texinfo--generate-detailed):
460         Remove functions.
461         (org-texinfo--normalize-headlines): New function.
463         * ox-texinfo.el (org-texinfo-headline): Fix @appendix command.
465         * ox-texinfo.el (org-texinfo-headline): Do not sanitize heading
466         text for sectioning command.
468         * ox-texinfo.el (org-texinfo--generate-menu-list): ":COPYING: nil"
469         is expected to be equivalent to no COPYING property at all.
471         * ox-texinfo.el (org-texinfo-item): Fix blank lines between items.
473         * ox-texinfo.el (org-texinfo-plain-list): Fix format string.
474         Small refactoring.
476         * ox-texinfo.el (texinfo): Provide new export property.
477         (org-texinfo-template): Use dedicated title for hard copy, when
478         available.
480         * ox-texinfo.el (org-texinfo-headline): Always obey to a non-nil
481         :APPENDIX: property.  Small refactoring.
483         * ox-texinfo.el (org-texinfo-verse-block): Generate somewhat
484         meaningful Texinfo code instead of LaTeX.
486         * ox-texinfo.el (org-texinfo-table): Remove reference to
487         "verbatim" attribute.  Handle table.el tables.  Tiny refactoring.
488         (org-texinfo-table--org-table, org-texinfo-table--table.el-table):
489         Remove functions.
490         (org-texinfo-table-column-widths): Indent code correctly.  Ignore
491         special column, if any.  Add a comment about the limitation on the
492         width computation.
493         (org-texinfo-table-row): Small refactoring.
495         * ox-texinfo.el (texinfo): Do not provide a default value for
496         @setfilename value.
497         (org-texinfo-filename): Remove variable.
498         (org-texinfo-template): Correctly find value for @setfilename command.
499         If none is possible, do not provide the command at all.
501         * ox.el (org-export-to-file): Provide output file name in
502         communication channel, through :output-file property.
504         * ox-texinfo.el (org-texinfo-template): Do not hardcode "Manual"
505         in top node.
507         * ox-texinfo.el (org-texinfo-classes): Change default value.
508         Update docstring.
509         (org-texinfo-template): Insert header string from current class after
510         "@settitle" command.  Always provide "\input texinfo" at the beginning
511         of the output.
513         * ox-texinfo.el (org-texinfo-template): Remove spurious blank
514         lines in output.  Refactor code.
516         * ox-texinfo.el (org-texinfo-template): Fix multi-line subtitles.
518         * ox-texinfo.el (org-texinfo-template): Make sure table of
519         contents are allowed before inserting them.
521         * ox-texinfo.el (org-texinfo-template): Check if copying data is
522         not nil before using it.
524         * ox-texinfo.el (org-texinfo-template): Fix multi-line subauthors.
525         Correctly add email, when provided.  Check if author info is
526         wanted first.
528         * ox-texinfo.el (org-texinfo-node-description-column)
529         (org-texinfo-format-drawer-function): Fix docstrings.
531         * ox-texinfo.el (texinfo): Make sure comments are ignored.
532         (org-texinfo-comment, org-texinfo-comment-block): Remove functions.
534         * ox-texinfo.el (org-texinfo-template): Properly pad @direntry
535         description.
537         * org-element.el (org-element-headline-parser): Add missing
538         `:post-blank' property in docstring.
540         * ox-latex.el (org-latex-table-scientific-notation):
541         Set appropriate value.
542         (org-latex-listings-options): Fix docstring.
544         * ox.el (org-export-raw-special-block-p): New function.
546         * org-element.el (org-element-link-parser): Properly handle
547         multi-line links according to RFC 3986 when enclosed within square
548         brackets.
550         * org-element.el (org-element-parse-secondary-string): Clone all
551         local variables from current buffer before parsing a secondary
552         string.  Small refactoring.
553         (org-element-object-variables): Remove variable.
555         * ox-odt.el (org-odt--format-paragraph): Change signature to
556         include info.
557         (org-odt-footnote-reference, org-odt-paragraph): Apply signature
558         change.
560         * org-clock.el (org-clocktable-indent-string): Use "\emsp" instead
561         of "\__", which is not supported anymore since Org 8.0.
563         * ox-odt.el (org-odt--paragraph-style): New function.
564         (org-odt--format-paragraph): Use new function to get proper style
565         to apply.
567         * org-element.el (org-element--current-element): Fix regexp.
569         * org-element.el (org-element--current-element): Fix regexp
570         matching latex environments.  Discrepancy with regexp used in
571         `org-element-latex-environment-parser' introduced matching errors.
573         * ox-ascii.el (org-ascii--table-cell-width): Correctly export
574         tables with width cookies.
576         * org.el (org-insert-heading): Fix error when inserting a headline
577         before first headline, with point not at bol.  Remove source block
578         check for consistency with behavior after first headline.
579         Tiny fix to docstring.
581         * org.el (org-scan-tags): Fix typo in docstring.
583         * ox.el (org-export--get-inbuffer-options): Return the empty
584         string instead of nil when TITLE keywords has no value.
585         (org-export--get-buffer-attributes): Do not set :title property
586         early.
587         (org-export--get-global-options): Do not ignore anymore nil values.
588         Small refactoring.
589         (org-export-as): Correctly set :title here.
591         * org-list.el (org-list-repair): Fix typo in docstring.
593         * ox-ascii.el (org-ascii--current-text-width): Tiny fix.
595         * ox-org.el (org-org-section): Tiny refactoring.  Use appropriate
596         property.
598         * ox-org.el (org-org-headline): Ignore footnote sections.
599         (org-org-section): New function.
601         * ox-beamer.el (org-beamer-select-environment): Ignore persistent
602         tags when displaying environments.
604         * ox-ascii.el (org-ascii-indented-line-width): Update docstring.
605         (org-ascii-paragraph): Do not apply indentation to the very first line
606         of a section.
608         * ox-latex.el (org-latex-inlinetask): Skip body if contents are
609         empty.
611         * ox-html.el (org-html-standalone-image-p): Ensure paragraph
612         contains at least a link before return a non-nil value.
613         Clarify docstring.
615         * ox.el (org-export-data): Always return a string, as specified
616         by the docstring.
618         * ox-ascii.el (org-ascii--indent-string): Fix regexp to avoid
619         stack overflow in regexp matcher on very long lines.
621         * org-element.el (org-element-timestamp-parser): Fix docstring.
623         * ox-icalendar.el (org-icalendar-include-sexps,
624         org-icalendar-blocked-headline-p): Fix docstrings.
625         (org-icalendar-clear-blank-lines): Fix docstring and regexp.
627         * ox-icalendar.el (org-icalendar-entry):
628         Use `org-icalendar-with-timestamps'.
630 2014-10-03  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
632         * org.el (org-cycle-internal-local): Don't show a trailing
633         character when cycling a subtree that ends with a non-newline
634         character at the end of the buffer or the narrowed region.
636 2014-10-03  Sebastien Vauban  <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
638         * ox-ascii.el (org-ascii--box-string): Choose more universal
639         Unicode characters for boxquote corners.
641 2014-10-03  Marco Wahl  <marcowahlsoft@gmail.com>  (tiny change)
643         * org-agenda.el (org-agenda-bulk-mark)
644         (org-agenda-bulk-mark-regexp, org-agenda-bulk-toggle-all):
645         Fix org-agenda-bulk-mark-all when time-grid is shown.
647 2014-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
649         * org-compat.el (activate-mark): Set transient-mark-mode buffer-locally.
651 2014-06-22  Mario Lang  <mlang@delysid.org>
653         * org-list.el (org-list-insert-item): The the -> the.
655         * org-bibtex.el (org-bibtex-fields): The the -> the.
657 2013-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
659         * ob-core.el (org-babel-insert-result): Prefer point-min-marker
660         and point-max-marker.
661         * org-mouse.el (org-mouse-do-remotely): Prefer point-marker
662         to copy-marker of point.
664 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
666         * org-compat.el (org-font-lock-ensure): New function.
667         * ox-odt.el (org-odt-do-format-code):
668         * ox-html.el (org-html-fontify-code):
669         * org.el (org-fontify-like-in-org-mode):
670         * org-src.el (org-src-font-lock-fontify-block):
671         * org-clock.el (org-clock-get-clocktable): Use it.
672         * ox-org.el (org-org-publish-to-org): Use it.  Avoid using find-file
673         from Elisp.
675 2014-05-12  Eric Schulte  <eric.schulte@gmx.com>
677         * ob-screen.el (org-babel-screen-session-write-temp-file)
678         (org-babel-screen-test):
679         Use unpredictable names for temporary files.  (Bug#17416)
681 2014-04-22  Aaron Ecay  <aaronecay@gmail.com>
683         * org-src.el (org-edit-src-exit): Place an undo boundary before
684         writing changes back to parent buffer.
686 2014-04-22  Achim Gratz  <Stromeko@Stromeko.DE>
688         * ob-gnuplot.el (org-babel-gnuplot-process-vars):
689         `org-babel-gnuplot-table-to-data´ expects a table, so we need to
690         construct one when Babel hands us a vector.
692         * ob-ref.el (org-babel-ref-parse):
693         If `org-babel-current-src-block-location' is a marker, it can be from
694         another buffer, use marker-position instead in this case.
696 2014-04-22  Arun Persaud  <apersaud@lbl.gov>  (tiny change)
698         * org-src.el (org-edit-src-exit): Don't add indentation on empty lines.
700 2014-04-22  Bastien Guerry  <bzg@gnu.org>
702         * org.el (org-insert-heading): Fix behavior when point is at the
703         beginning of a heading or a list item.  Enhance docstring.
705         * ox-html.el (org-html-infojs-install-script): Don't install
706         infojs scripts when #+INFOJS_OPT: is empty.
708         * org.el (org-mode): Fix the use of `org-*-element' functions for
709         C-M-a and C-M-e but fix C-M-e.
711         * org-agenda.el (org-agenda-search-view): Fix tag.
713         * org.el (org-check-before-invisible-edit): Don't just cycle, show
714         the subtree, as cycling may leave the current heading folded.
715         (org-contextualize-validate-key): Fix wrong test.
717         * org-bibtex.el (org-bibtex-headline): Don't throw an error when
718         trying to add a keyword field to a BibTeX entry that is not known
719         by BibTeX or defined by the user.
720         (org-bibtex, org-bibtex-no-export-tags): Fix docstrings.
722         * ox-latex.el (org-latex-src-block): Fix wrong propagation of
723         labels and captions when using the listings environment.
725         * org.el (org-sort-entries): Fix the number of blank lines to
726         keep for the last entry to sort.
728         * org-clock.el (org-clock-put-overlay): Fix display when
729         `org-indent-mode' is on.
731         * org.el (org-sort-entries): Allow to sort by clocking time.
733         * org-agenda.el (org-agenda-finalize): Apply all filters
734         correctly.
736         * org.el (org-update-dblock): Use `save-excursion' instead of
737         `save-window-excursion' so that blocks can edit other windows and
738         change the window layout.
740         * org-agenda.el (org-agenda-mode): Disable `indent-tabs-mode'.
741         (org-agenda-dim-blocked-tasks): Make overlays intangible.
742         (org-agenda-show-new-time): Fix bug when deleting a timestamp
743         right after changing it.
744         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item)
745         (org-agenda-get-sexps, org-agenda-filter-by-regexp)
746         (org-agenda-filter-top-headline-apply): Fix indentation.
748         * org.el (org-cycle): Try `org-try-cdlatex-tab' before trying
749         to edit/move as in a table.
751         * org-agenda.el (org-agenda-show-new-time): Don't use
752         `move-beginning-of-line' as it is slower and not needed.
754         * org-compat.el (org-move-to-column): Temporarily set
755         `buffer-invisibility-spec' more accurately.
757         * ox-latex.el (org-latex-text-markup-alist): Use \ul{...} for
758         underlining instead of \uline{...} as requiring the hyperref
759         package makes \uline{...} unusable on headline.
761         * org.el (org-latex-default-packages-alist): Add the "soul"
762         package.
764         * org.el (org-refresh-properties): Don't add the property to
765         the whole subtree, only to the part between the beginning of
766         the headline and the end of the "content", before any other
767         headline.  This fix a bug about properties displayed as
768         inherited in the agenda, where Org properties are checked
769         against text properties.
771         * ox-latex.el (org-latex--text-markup): Replace newlines by
772         whitespaces in \verb constructs.
774         * org-agenda.el (org-agenda-filter-hide-line): Hide from the
775         beginning of the line to the beginning of the next line.
776         (org-agenda-show-new-time): Use `move-beginning-of-line' and
777         `move-end-of-line'.
778         (org-agenda-drag-line-forward): Adapt to the new definition of
779         hidden filtered lines.
781         * org-compat.el (org-move-to-column): Always ignore invisible
782         text in agenda buffer, and when there is both a bracket link
783         and '(org-link) as a member of `buffer-invisibility-spec'.
784         Add a docstring.
786         * org.el (org-align-tags-here): Add docstring and remove useless
787         arguments when calling `org-move-to-column'.
789         * org-table.el (org-table-copy-down)
790         (org-table-find-dataline, org-table-move-row)
791         (org-table-insert-hline, org-table-kill-row):
792         * org-agenda.el (org-agenda-next-item)
793         (org-agenda-previous-item, org-agenda-todo)
794         (org-agenda-priority, org-agenda-show-new-time)
795         (org-agenda-clock-in, org-agenda-clock-out): Remove useless
796         arguments when calling `org-move-to-column'.
798         * org.el (org-refile): Fix calling with a numeric prefix argument
799         of 3 to refile and keep.
801         * org-clock.el (org-clock-get-table-data): When :link is `t' in
802         the clocktable parameters, bracket links in the clocktable should
803         only contain their description, other C-c C-o will try to open the
804         bracket link at point instead of the headline.
806         * org-agenda.el (org-agenda-todo): Always restore the window state
807         after `org-agenda-change-all-lines' has been called.
808         (org-agenda-open-link): Don't throw an error when trying to open a
809         link when the point is on a place that is not associated with a
810         buffer.
812         * ox-latex.el (org-latex-link): Escape `%' characters.
814         * org.el (org-entry-get-with-inheritance): Remove wrong quote.
815         (org-entry-get): Only try to combine file properties with local
816         properties when the property drawer contains such local property,
817         not when the property drawer exists.
819         * ox-latex.el (org-latex-link):
820         * ox-html.el (org-html-link):
821         * ox-beamer.el (org-beamer-link): Fix links to radio targets.
823         * ox-ascii.el (org-ascii-link): For links to a radio target, use
824         the link, not the target.
826         * org.el (org-do-emphasis-faces): Explicitly prevent nested
827         emphasis.
828         (org-insert-heading): Don't remove whitespaces following an empty
829         headline.
831         * org-timer.el (org-timer-stop): Set `org-timer-current-timer' to
832         nil.
834         * org.el (org-store-link): Ensure desc is not nil before matching
835         a regexp against it.  Fall back on an empty string when no
836         description is available.
838         * org-agenda.el (org-agenda-list-stuck-projects): Bugfix: set
839         `org-agenda-buffer-name'.
841         * org-capture.el (org-capture-finalize): Ensure to widen the
842         buffer when the target buffer is not initially narrowed.
844         * org-compat.el (org-move-to-column): Fix bug about ignoring
845         bracket links visibility status in tables with S-RET.
847         * org-src.el (org-edit-src-find-region-and-lang): Check if we are
848         in a table.el table last.
850         * org.el (org-delete-property): Don't suggest to delete the
851         CATEGORY property when the category is not explicitely set in the
852         property drawer.  Also enforce matching when completing.
853         (org-insert-heading): Fix regression: with two universal prefixes,
854         insert heading at the end of the subtree.
855         (org-insert-todo-heading): Bugfix: only enforce the first TODO
856         state when arg is '(4).
858         * org-agenda.el (org-agenda-skip-subtree-if): Fix docstring.
860         * org.el (org-contextualize-validate-key): Fix bug: perform the
861         check even when (buffer-file-name) returns `nil'.
863         * org-colview.el (org-columns-display-here): Let-bind `fm'.
865         * org.el (org-emphasis-alist): Use `org-verbatim' for =text=
866         and `org-code' for ~text~.
867         (org-open-link-marker): Fix typo in docstring.
869         * org-colview.el (org-columns-display-here): Fix the column
870         view for numbers with a format specifier (e.g. {+; %5.1f}).
872         * org-src.el (org-edit-src-code): Throw a warning instead of
873         an error when loading the mode fails, otherwise the user is
874         left with unusable buffers.
876         * org-table.el (org-table-copy-down)
877         (org-table-find-dataline, org-table-move-row)
878         (org-table-insert-hline, org-table-kill-row):
879         Use `org-move-to-column' with the IGNORE-INVISIBLE arg set to `t', so
880         that abbreviated rows don't interfer with setting the cursor back
881         at the correct position.
883         * org.el (org-agenda-prepare-buffers): Use `save-excursion'
884         instead of `save-window-excursion'.
885         (org-file-contents): Return an empty string instead of the
886         message.
887         (org-open-at-point): Fix bug when opening a plain link followed by
888         a bracket link.
889         (org-ctrl-c-ctrl-c): Fix behavior when hitting C-c C-c on LaTeX
890         formulas in tables.
891         (org-refile--get-location): New internal function using a wider
892         set of possible refile locations.
893         (org-refile-get-location): Use it.
894         (org-refile): Fix bug when refiling the last subtree of the
895         buffer: don't leave out the last character.
896         (org-sort-entries): Restore the point location when there is
897         nothing to sort.
899         * org-table.el (org-table-field-info): Throw a user error when not
900         at a table.
902         * org-agenda.el (org-agenda-drag-line-forward):
903         Call `org-agenda-mark-clocking-task' when done.
904         (org-agenda-mark-clocking-task): Small refactoring.
906         * org-compat.el (org-set-transient-map): Alias pointing at
907         `set-transient-map' if defined, at `set-temporary-overlay-map'
908         otherwise.
910         * org-agenda.el (org-agenda-next-item)
911         (org-agenda-previous-item, org-agenda-toggle-archive-tag)
912         (org-agenda-todo, org-agenda-priority, org-agenda-clock-in)
913         (org-agenda-clock-out): Put the cursor back on the correct
914         column, when possible.
915         (org-agenda-todo): When `org-clock-out-when-done' is `t', also
916         remove the current clock overlay.
918         * org.el (org-format-latex-options): Fix docstring.
920         * ox.el (org-export--get-subtree-options): When using the headline
921         as a title for a subtree export, only take the true heading, no
922         TODO keyword, no priority cookie, no tag.
924         * org.el (customize-package-emacs-version-alist): Fix Org version
925         for Emacs 24.4.
927         * org.el (org-demote): Ignore invisible text when aligning tags.
928         (org-set-tags): When JUST-ALIGN is 'ignore-column, ignore
929         invisible text when restoring the cursor to the correct column.
931         * ob-python.el (org-babel-python-var-to-python): Bugfix: Strip
932         properties before formatting the results.
934         * org-agenda.el (org-agenda-regexp-filter-preset): Fix typo in
935         docstring.
936         (org-agenda-reapply-filters): New function.
937         (org-agenda-drag-line-forward): Rewrite to fix a bug when used
938         in filtered agendas.
939         (org-agenda-drag-line-backward): Rewrite using
940         `org-agenda-drag-line-forward'.
942         * ob-table.el (org-sbe): Rename from `sbe'.
944         * org.el (org-store-link): When a link has been stored, always
945         returns it.
947         * ob-python.el (org-babel-python-var-to-python): Fix code typo.
949         * org-entities.el (org-entities-help): Prevent the display of
950         pretty entities, as this help buffer is meant to list literal
951         strings, not utf-8 representations.
953 2014-04-22  Benjamin Drieu  <bdrieu@april.org>
955         * org.el (org-store-link): Fix selection of the function to store
956         the link.
958 2014-04-22  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>
960         * org.el (org-entry-get-with-inheritance): Temporarily let-bind
961         `org-file-properties', `org-global-properties' and
962         `org-global-properties-fixed' to nil before calling
963         `org-entry-get' on entries up the hierarchy from the queried
964         entry.
966 2014-04-22  Justin Gordon  <justin.gordon@gmail.com>
968         * ox-md.el (org-md-separate-elements): Fix blank line insertion
969         between elements.
971         * ox-md.el (org-md-inner-template): New function.
973 2014-04-22  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
975         * org-bibtex.el (org-bibtex-headline): Fix insertion of keywords
976         of unknown BibTeX entries.
978 2014-04-22  Markus Hauck  <markus1189@gmail.com>  (tiny change)
980         * org-agenda.el (org-agenda-get-scheduled):
981         If `org-agenda-skip-scheduled-if-deadline-is-shown' is set to
982         'repeated-after-deadline, still show tasks without any deadline
984 2014-04-22  Michael Brand  <michael.ch.brand@gmail.com>
986         * org-table.el (org-table-fix-formulas): Handle multiple #+TBLFM
987         lines with `forward-line'.
989 2014-04-22  Michael Weylandt  <michael.weylandt@gmail.com>  (tiny change)
991         * ox-latex.el (org-latex-export-to-latex): Downcase the language
992         name when using minted highlighting for src block exports.
994 2014-04-22  Nick Dokos  <ndokos@gmail.com>
996         * org-mobile.el (org-mobile-create-index-file): delete :grouptags
997         entries from tags list when creating the org-mobile index file.
999 2014-04-22  Nicolas Goaziou  <n.goaziou@gmail.com>
1001         * ox.el (org-export-copy-to-kill-ring): Comply to docstrings
1002         standards.
1004         * org.el (org-sparse-tree): Fix code typo.  Small refactoring.
1006         * ox-latex.el (org-latex-link):
1007         * ox-html.el (org-html-link):  Do not expand absolute file names
1008         and do not try to fix hierarchy part, as it is already taken care of
1009         at the parser level.
1011         * ox-md.el (org-md-link): Ditto.  Also fix absolute file names.
1013         * ox-odt.el (org-odt-link):
1014         * ox-man.el (org-man-link):
1015         * ox-texinfo.el (org-texinfo-link):
1016         * org-element.el (org-element-link-parser): Fix ill-defined "file"
1017         type links.  Expand absolute file names in the process.
1019         * org.el (org-make-link-regexps): Use `regexp-opt' instead of
1020         `mapconcat' and `regexp-quote'.
1022         * ox-html.el (org-html-link):
1023         * ox-latex.el (org-latex-link):
1024         * ox-man.el (org-man-link):
1025         * ox-odt.el (org-odt-link):
1026         * ox-html.el (org-html-link):
1027         * ox-latex.el (org-latex-link):
1028         * ox-man.el (org-man-link):
1029         * ox-odt.el (org-odt-link):
1030         * ox-texinfo.el (org-texinfo-link): Append "//" after some link
1031         types.
1033         * ox-md.el (org-md-link):
1034         * org.el (org-make-link-regexps): Allow optional double slashes
1035         after type.  Small refactoring.
1037         * org-element.el (org-element-headline-parser): Tiny refactoring.
1039         * org-element.el (org-element-headline-parser): Correctly parse
1040         blank lines after a headline.
1042         * org-element.el (org-element-table-cell-parser)
1043         (org-element-table-cell-successor): Recognize cell even when last
1044         vertical bar is missing.
1046         * ox-md.el (org-md-example-block): handle switches and references
1047         in source blocks.
1049         * org.el (org-latex-packages-alist)
1050         (org-latex-default-packages-alist): Update docstrings.
1052         * ox-ascii.el (org-ascii--unique-links): Ignore white spaces when
1053         uniquifying links in section.
1055         * ox-odt.el (org-odt-template): Ignore blank titles.
1057         * ox-publish.el (org-publish-find-title): Fix (invalid-read-syntax
1058         "#").
1060         * ox-ascii.el (org-ascii-link):
1061         * ox-beamer.el (org-beamer-link):
1062         * ox-html.el (org-html-link):
1063         * ox-latex.el (org-latex-link):
1064         * ox-md.el (org-md-link):
1065         * ox-odt.el (org-odt-link): Update radio target export according
1066         to recent changes.
1068         * org-element.el (org-element-all-successors)
1069         (org-element-object-restrictions): Prioritize `link' over other
1070         successors in order to find radio links starting with another
1071         syntax object (e.g., an entity).  Also allow text markup within
1072         radio targets.
1073         (org-element-link-parser): Add contents to radio targets.
1075         * org.el (org-make-target-link-regexp): Fix regexp so it can match
1076         targets starting with an Org object (e.g., an entity).
1077         (org-ctrl-c-ctrl-c): Fix function when applied on an object contained
1078         within a radio target.
1080         * org.el (org-mode): Change "\" and "~" characters syntax from
1081         `punctuation' to `symbol' so they are on par with other characters
1082         used in Org syntax (e.g., "/", "*"...).
1084         * ox-beamer.el (org-beamer-publish-to-pdf):
1085         * ox-latex.el (org-latex-publish-to-pdf): Ensure ".tex" file is
1086         generated in the same directory as the ".org" file.
1088         * ox-latex.el (org-latex-headline): Hard-code "\underline" in
1089         sections because "\uline" ("ulem" package) returns an error and
1090         "\ul" ("soul" package) doesn't support chinese characters.
1092         * ox-ascii.el (org-ascii-link): Correctly handle case mismatch
1093         between radio targets and radio links.
1095         * org-element.el (org-element-link-parser): "radio" links have
1096         their path downcased to avoid introducing case mismatch with their
1097         relative radio target.  With this change it is also necessary to
1098         add contents to them, since `:path' property no longer matches
1099         real value of the link.
1100         (org-element-radio-target-parser): Downcase value as explained
1101         above.  Store the initial value in a new `:raw-value' property.
1103         * org-element.el (org-element-context): Fix parsing of bold
1104         objects at the beginning of a headline.
1106         * org-element.el (org-element-context): Fix timestamps parsing.
1108         * ox-beamer.el (org-beamer-item): Insert the export snippet right
1109         after the first \item, not all of them.
1111         * org-element.el (org-element--list-struct): Fix regexp.
1113         * org-element.el (org-element-inlinetask-parser): Fix parsing when
1114         regular and degenerate inlinetasks are mixed in the section.
1116         * ox-md.el (org-md-link): Generate md links to other Org files
1117         instead of html links.  Do not confuse caption and alt-text.
1118         Provide "img" as default alt-text.
1120         * org-element.el (org-element-normalize-contents): Do not ignore
1121         empty lines when an object follows.
1122         (org-element-interpret-data): Do not remove properties by
1123         side-effect when interpreting a string, as it also removes them
1124         from the parse tree, making the string unusable without its
1125         :parent property.
1127         * ob-exp.el (org-babel-exp-process-buffer): Also check
1128         `org-src-preserve-indentation' to know when to preserve indentation.
1129         (org-babel-exp-code-template): Include switches in template.
1130         (org-babel-exp-code): Provide %switches placeholder.
1132         * ox-latex.el (org-latex-plain-list): Do not automatically
1133         enclose value for :options attribute within square brackets.
1134         Instead, append them verbatim next to the block name, as special
1135         blocks do.
1137         * ob-exp.el (org-babel-exp-code): Fix export of src blocks with
1138         flags.
1139         (org-babel-exp-process-buffer): Make processing more robust when
1140         results are inserted before source block or when source block is
1141         followed by multiple blank lines.
1143         * ox.el (org-export-insert-default-template): Only insert
1144         keywords and options relatives to the selected back-end.
1145         Ignore those relatives to its parent in the case of a derived back-end.
1147         * ox-beamer.el: Remove unnecessary package definitions in default
1148         class.
1150         * ox-latex.el (org-latex-headline, org-latex-item): Fix items
1151         starting with a square bracket.
1153         * org.el (org-mode-restart): Fix turning off `org-indent-mode'
1154         when necessary.
1155         (org-get-previous-line-level): Do not call `org-current-level'
1156         twice unless necessary.  Also, avoid using `line-number-at-pos'
1157         when the information needed is to know if point is in the first
1158         line of the visible part of the buffer.
1160         * ob-core.el (org-babel-get-inline-src-block-matches): Do not
1161         compute line number if all is needed is to know if we're on the
1162         first one.
1164         * ox-md.el (org-md-item): Do not return an error when exporting
1165         an empty item.
1167         * ox-beamer.el (org-beamer-select-environment): Function doesn't
1168         work if fast tag selection is disabled, so make sure it is always
1169         on, independently on user's configuration.
1171 2014-04-22  Nikolai Weibull  <now@disu.se>  (tiny change)
1173         * org.el (org-mode): Add guard around set-face-foreground.
1175 2014-04-22  Rasmus  <w530@pank.eu>
1177         * ox-html.el (org-html-html5-elements): Drop reference to hgroup.
1179 2014-04-22  Rick Frankel  <rick@rickster.com>
1181         * ox-html.el (org-html-link): Unescape org-escaped links an
1182         re-escape for html (browser).
1184 2014-04-22  Sacha Chua  <sacha@sachachua.com>
1186         * org.el (org-refresh-properties): Don't throw an error when
1187         reaching the end of the buffer.
1189 2014-04-22  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
1191         * org-bibtex.el (org-bibtex-read): Check string length before
1192         using aref.
1194 2014-04-22  Yasushi SHOJI  <yashi@atmark-techno.com>
1196         * ox-ascii.el (org-ascii--current-text-width): Convert `length'
1197         to `string-width'.
1198         (org-ascii--build-title, org-ascii--build-toc)
1199         (org-ascii--list-listings, org-ascii--list-tables)
1200         (org-ascii-template--document-title)
1201         (org-ascii-inner-template, org-ascii-format-inlinetask-default)
1202         (org-ascii-format-inlinetask-default, org-ascii-item
1203         (org-ascii--table-cell-width, org-ascii-table-cell)
1204         (org-ascii--current-text-width): Likewise.
1206 2014-02-25  Glenn Morris  <rgm@gnu.org>
1208         * org-version.el (org-odt-data-dir):
1209         Remove incorrect, duplicate definition.  (Bug#16734)
1211 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
1213         Spelling fixes.
1214         * org-irc.el (org-irc-ellipsify-description): Rename from
1215         org-irc-elipsify-description.  All uses changed.
1217 2013-01-07  Bastien Guerry  <bzg@gnu.org>
1219         * org-clock.el (org-clock-cancel-hook)
1220         (org-clock-leftover-time): Fix typo in docstring.
1222         * ox-odt.el (org-odt--frame): Add a draw:name property to the
1223         draw:frame tag.
1224         (org-odt-format-label): Don't use short-caption at all.
1226         * org-rmail.el (org-rmail-follow-link): Don't raise an error when
1227         no article is matched.
1229         * org.el (org-set-tags): Ignore invisible text when restoring
1230         cursor position.
1231         (org-refile-get-location): Check for a refile position when the
1232         position is not nil, otherwise allow to create the parent node if
1233         the user requests it.
1234         (org-refile-allow-creating-parent-nodes): Fix typo in
1235         docstring.
1236         (org-entry-get): Minor docstring enhancement.
1237         (org-set-startup-visibility): Bugfix.
1238         (org-shiftcontrolup, org-shiftcontroldown):
1239         When `org-support-shift-select' is not `nil', let-bind it to nil if
1240         point is on a clock log.  Otherwise throw an error.
1242         * ob-lob.el (org-babel-lob-files): Fix custom type.
1243         (org-babel-lob-ingest): Small docstring fix.
1245         * org-agenda.el (org-cmp-ts): Fix bug: interpret `late' as
1246         `later than any date' instead of `later than today'.
1248         * org.el (org-do-emphasis-faces): Handle false positives by
1249         restarting the re-search one char after the beginning of the
1250         match, not one char before its ending.
1251         (org-entry-put): Check that the value provided is a string.  If it
1252         is nil, convert it to the empty string.
1254         * ob-latex.el (org-babel-latex-htlatex-packages): Use repeat
1255         instead of list as the defcustom type.
1257         * ox.el (org-export-with-creator):
1258         * org.el (org-loop-over-headlines-in-active-region)
1259         (org-mouse-1-follows-link, org-provide-todo-statistics):
1260         * org-agenda.el (org-agenda-custom-commands-local-options)
1261         (org-agenda-start-with-log-mode)
1262         (org-agenda-show-inherited-tags): Don't quote const values.
1264         * ox-texinfo.el (org-texinfo-def-table-markup):
1265         * org-inlinetask.el (org-inlinetask-show-first-star):
1266         * ob-maxima.el (org-babel-maxima-command): Add type.
1268         * org-table.el (org-table-fix-formulas): Handle multiple
1269         #+tblfm: lines.
1271         * ox.el (org-export-to-file): Fix typo in docstring.
1273         * org.el (org-self-insert-command)
1274         (orgtbl-self-insert-command): Change the value of the
1275         `delete-selection' property to allow other commands like
1276         `electric-pair-will-use-region' to be run before deletion.
1278         * org-attach.el (vc-git): Require.
1279         (org-attach-commit): Check whether git is installed.
1281 2013-01-07  Nicolas Goaziou  <n.goaziou@gmail.com>
1283         * ox-icalendar.el (org-icalendar--combine-files): Make sure
1284         anniversaries do not end up in *Message* buffer instead of the ICS
1285         file.
1287         * ox-html.el: Clean up "FIXME" comments.
1289         * ox-publish.el (org-publish-resolve-external-fuzzy-link):
1290         Fix docstring.
1292         * ox.el (org-export-smart-quotes-regexps): Fix smart quote
1293         detection when it is followed by an open parenthesis syntax class.
1295         * org-element.el (org-element-inline-babel-call-successor):
1296         Use original regexp to stay up-to-date with Babel changes.
1297         (org-element--affiliated-re): Fix affiliated keyword regexp.
1299         * ox-org.el (org-org-identity): Since back-end specific keywords
1300         are stripped from output, also remove attr_backend keywords.
1301         (org-babel-exp-process-buffer): Fix duplicate evaluation with
1302         :wrap src.
1303         (org-babel-exp-non-block-elements): Remove function.
1305 2013-01-07  Ted Wiles  <thewiles@wharton.upenn.edu>  (tiny change)
1307         * org-habit.el (org-habit-parse-todo): Match all TODO keywords,
1308         not just "TODO".
1310 2013-01-07  Miguel Ruiz  <rbenit68@yahoo.es>  (tiny change)
1312         * ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Fix code
1313         typo.
1315 2013-01-07  Vladimir Lomov  <lomov.vl@gmail.com>  (tiny change)
1317         * ox-html.el (org-html-style-default): New classes caption.t-above
1318         and caption.t-bottom.
1319         (org-html-table): Use new classes.
1321 2013-12-23  Chong Yidong  <cyd@gnu.org>
1323         * org.el (orgstruct-make-binding): Call set-transient-map instead
1324         of old name set-temporary-overlay-map.
1326 2013-12-06  Achim Gratz  <Stromeko@Stromeko.DE>
1328         * org-crypt.el: Declare `epg-context´.
1329         (org-encrypt-string): Correct indentation.
1331         * org.el (org-version): Replace `_version´ by `version1´.
1333 2013-12-06  Alexander Vorobiev  <alexander.vorobiev@gmail.com>  (tiny change)
1335         * org-compat.el (org-get-x-clipboard): Use w32-get-clipboard-data
1336         to get the clipboard data under Windows.
1338 2013-12-06  Bastien Guerry  <bzg@gnu.org>
1340         * ox.el (org-export-with-sub-superscripts):
1341         * org.el (org-use-sub-superscripts): Fix version and enhance
1342         docstring again.
1344         * ox.el (org-export-with-sub-superscripts):
1345         * org.el (org-use-sub-superscripts): Enhance docstrings.
1347         * org-macs.el (org-autoload): Delete.
1349         * org-docview.el ("docview"): Fix declarations and require
1350         doc-view directly.
1352         * org-id.el (org-id-copy)
1353         (org-id-get-with-outline-path-completion)
1354         (org-id-get-with-outline-drilling, org-id-new):
1356         * org-colview.el:
1357         (org-colview-initial-truncate-line-value)
1358         (org-columns-open-link, org-string-to-number):
1359         * org-clock.el:
1360         (org-clock-put-overlay, org-count-quarter, org-clock-loaded):
1361         * org-archive.el (org-get-local-archive-location):
1362         * org-agenda.el (org-agenda-todo-custom-ignore-p):
1363         Autoload.
1365         * org.el (org-return-follows-link):
1366         * ob-python.el (org-babel-python-command): Don't use :set.
1368         * ox-odt.el (org-odt-content-template-file): Fix version.
1370         * ox-texinfo.el (org-texinfo-filename): Fix default value.
1371         (org-texinfo-format-headline-function): Use 'ignore as the
1372         default value.
1373         (org-texinfo-format-drawer-function): Use a function as the
1374         default value.  Update docstring.
1375         (org-texinfo-drawer): Always use
1376         `org-texinfo-format-drawer-function' as it is now a function
1377         by default.
1378         (org-texinfo-headline):
1379         Compare `org-texinfo-format-headline-function' against 'ignore.
1380         (org-texinfo-inlinetask):
1381         Compare `org-texinfo-format-inlinetask-function' against 'ignore.
1383         * ox-odt.el (org-odt-format-drawer-function): Use a function as
1384         the default value.  Update docstring.
1385         (org-odt-format-headline-function)
1386         (org-odt-format-inlinetask-function): Fix default value.
1387         (org-odt-drawer): Always use `org-odt-format-drawer-function'
1388         as it is now a function by default.
1389         (org-odt-format-headline--wrap):
1390         Compare `org-odt-format-headline-function' against 'ignore.
1392         * ox-latex.el (org-latex-format-drawer-function): Use a function
1393         as the default value.  Update docstring.
1394         (org-latex-format-inlinetask-function): Fix default value.
1395         (org-latex-drawer): Always use
1396         `org-latex-format-drawer-function' as it is now a function by
1397         default.
1398         (org-latex-inlinetask):
1399         Compare `org-latex-format-inlinetask-function' against 'ignore.
1401         * ox-html.el (org-html-format-drawer-function): Use a function as
1402         the default value.  Update docstring.
1403         (org-html-format-headline-function)
1404         (org-html-format-inlinetask-function): Fix default value.
1405         (org-html--format-toc-headline)
1406         (org-html-format-headline--wrap):
1407         Compare `org-html-format-headline-function' against 'ignore.
1408         (org-html-inlinetask):
1409         Compare `org-html-format-inlinetask-function' against 'ignore.
1411         * ox-ascii.el (org-ascii-format-drawer-function): Use a
1412         function as the default value.  Update docstring.
1413         (org-ascii-drawer): Always use
1414         `org-ascii-format-drawer-function' as it is now a function by
1415         default.
1416         (org-ascii-format-inlinetask-default): New function.
1417         (org-ascii-format-inlinetask-function):
1418         Use `org-ascii-format-inlinetask-default' as the default.
1420         * org.el (org-mouse-1-follows-link): Use :set to set the default
1421         value.  Update custom type.
1422         (org-log-note-headings): Fix order or list items in the custom
1423         type.
1424         (orgstruct-heading-prefix-regexp): Use an empty string as the
1425         default value.  Use 'regexp as the custom type.
1426         (orgstruct-make-binding): Tiny docstring enhancement.
1427         Assume `orgstruct-heading-prefix-regexp' is a string.
1429         * org-agenda.el (org-agenda-search-view-max-outline-level):
1430         Set default value to 0.  Update docstring.
1431         (org-agenda-deadline-leaders): Fix custom type.
1432         (org-search-view):
1433         Assume `org-agenda-search-view-max-outline-level' is a number.
1435         * ob-ruby.el (org-babel-ruby-nil-to): Fix custom type.
1437         * ob-python.el (org-babel-python-mode): Use :set to set the
1438         default value.
1439         (org-babel-python-None-to): Fix custom type.
1441         * ob-plantuml.el (org-plantuml-jar-path): Fix default value.
1442         (org-babel-execute:plantuml): Assume `org-plantuml-jar-path' is a
1443         string.
1445         * ob-latex.el (org-babel-latex-htlatex): Fix default value.
1446         (org-babel-latex-htlatex-packages): Fix custom type.
1447         (org-babel-execute:latex): Assume `org-babel-latex-htlatex' is a
1448         string.
1450         * ox-odt.el (org-odt-display-outline-level): Fix version.
1452         * ox-odt.el (org-odt-inline-formula-rules)
1453         (org-odt-inline-image-rules, org-odt-use-date-fields): Add version
1454         and package-version.
1456         * ox-html.el (org-html-format-drawer-function)
1457         (org-html-format-headline-function)
1458         (org-html-format-inlinetask-function)
1459         (org-html-creator-string): Add version and package-version.
1461         * ox-html.el (org-html-text-markup-alist): Fix version.
1463         * org-agenda.el (org-agenda-set-restriction-lock): Autoload.
1465         * ob-calc.el (org--var-syms): Rename from `var-syms'.
1467         * ob-lilypond.el (ly-compile-lilyfile): Remove redundant
1468         let-binding.
1470         * ob-table.el (sbe): Move debug declaration.
1472         * org-clock.el (org--msg-extra): Rename from `msg-extra'.
1474 2013-12-06  Nicolas Goaziou  <n.goaziou@gmail.com>
1476         * org.el (org-ctrl-c-ctrl-c): When point is on an unsupported
1477         object, look for something to do at a higher level instead of
1478         bailing out.
1480         * ox-html.el (org-html-format-latex): Add an argument.  Ensure
1481         latex header is the same as specified in the original buffer when
1482         exporting a LaTeX fragment or environment.
1483         (org-html-latex-environment, org-html-latex-fragment):
1484         Apply signature change.
1486         * ox-publish.el (org-publish-cache-ctime-of-src): Return an error
1487         when publishing a non-existent file.
1489         * org-element.el (org-element-paragraph-separate): More accurate
1490         regexp.
1492         * org.el (org-entry-get): Widen buffer in order to retrieve
1493         properties, as `org-entry-properties' and
1494         `org-entry-get-with-inheritance' already do.
1496         * ox-html.el (org-html--format-toc-headline): Add missing headline
1497         number in TOC entries.
1499         * org.el (org-entry-properties): Ignore narrowing when retrieving
1500         current headline properties.
1502 2013-12-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
1504         * org-crypt.el (org-encrypt-string, org-encrypt-entry)
1505         (org-decrypt-entry): Fix warning.
1507 2013-11-17  Paul Eggert  <eggert@cs.ucla.edu>
1509         Spelling fixes.
1510         * ob-python.el (org-babel-python-with-earmuffs):
1511         Rename from org-babel-python-with-earmufs.  All uses changed.
1512         (org-babel-python-without-earmuffs):
1513         Rename from org-babel-python-without-earmufs.  All uses changed.
1515 2013-11-12  Bastien Guerry  <bzg@gnu.org>
1517         * org-agenda.el (org-agenda-set-restriction-lock): Autoload.
1519 2013-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1521         Address some byte-compiler warnings.
1522         * ob-calc.el (org--var-syms): Rename from `var-syms'.
1523         * ob-lilypond.el (ly-compile-lilyfile): Remove redundant let-binding.
1524         * ob-table.el (sbe): Move debug declaration.
1525         * org-clock.el (org--msg-extra): Rename from `msg-extra'.
1526         * org.el (org-version): Avoid var name starting with _.
1527         (org-inhibit-startup, org-called-with-limited-levels)
1528         (org-link-search-inhibit-query, org-time-was-given)
1529         (org-end-time-was-given, org-def, org-defdecode, org-with-time):
1530         * org-colview.el (org-agenda-overriding-columns-format):
1531         * org-agenda.el (org-agenda-multi, org-depend-tag-blocked)
1532         (org-agenda-show-log-scoped):
1533         * ob-python.el (py-which-bufname, python-shell-buffer-name):
1534         * ob-haskell.el (org-export-copy-to-kill-ring):
1535         * ob-exp.el (org-link-search-inhibit-query):
1536         * ob-R.el (ess-eval-visibly-p):
1537         * ob-core.el (org-src-window-setup): Declare before use.
1538         (org-babel-expand-noweb-references): Remove unused `blocks-in-buffer'.
1539         * ox-odt.el (org-odt-hfy-face-to-css):
1540         * org-src.el (org-src-associate-babel-session, org-src-get-lang-mode):
1541         * org-bibtex.el (org-bibtex-get, org-bibtex-ask, org-bibtex)
1542         (org-bibtex-check):
1543         * ob-tangle.el (org-babel-tangle, org-babel-spec-to-string)
1544         (org-babel-tangle-single-block, org-babel-tangle-comment-links):
1545         * ob-table.el (sbe):
1546         * ob-sqlite.el (org-babel-sqlite-expand-vars):
1547         * ob-sql.el (org-babel-sql-expand-vars):
1548         * ob-shen.el (org-babel-execute:shen):
1549         * ob-sh.el (org-babel-execute:sh, org-babel-sh-evaluate):
1550         * ob-scala.el (org-babel-scala-evaluate):
1551         * ob-ruby.el (org-babel-ruby-table-or-string)
1552         (org-babel-ruby-evaluate):
1553         * ob-python.el (org-babel-python-table-or-string)
1554         (org-babel-python-evaluate-external-process)
1555         (org-babel-python-evaluate-session):
1556         * ob-picolisp.el (org-babel-execute:picolisp):
1557         * ob-perl.el (org-babel-perl-evaluate):
1558         * ob-maxima.el (org-babel-execute:maxima):
1559         * ob-lisp.el (org-babel-execute:lisp):
1560         * ob-java.el (org-babel-execute:java):
1561         * ob-io.el (org-babel-io-evaluate):
1562         * ob-haskell.el (org-babel-execute:haskell):
1563         * ob-fortran.el (org-babel-execute:fortran):
1564         * ob-exp.el (org-babel-exp-code):
1565         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
1566         * ob-ditaa.el (org-babel-execute:ditaa):
1567         * ob-core.el (org-babel-execute-src-block, org-babel-sha1-hash)
1568         (org-babel-parse-header-arguments, org-babel-reassemble-table)
1569         (org-babel-goto-src-block-head, org-babel-mark-block)
1570         (org-babel-expand-noweb-references, org-babel-script-escape)
1571         (org-babel-process-file-name):
1572         * ob-clojure.el (org-babel-execute:clojure):
1573         * ob-calc.el (org-babel-execute:calc):
1574         * ob-awk.el (org-babel-execute:awk):
1575         * ob-R.el (org-babel-expand-body:R):
1576         * ob-C.el (org-babel-C-execute): Avoid deprecated ((lambda) ...).
1578 2013-11-12  Glenn Morris  <rgm@gnu.org>
1580         * ox-html.el (org-html-scripts): Add 2013 to copyright years.
1581         (org-html-infojs-template): Copyright holder to FSF.
1583 2013-11-12  Aaron Ecay  <aaronecay@gmail.com>
1585         * ox-latex.el (org-latex-inline-image-rules): Add "svg" to
1586         supported filetypes.
1587         (org-latex--inline-image): Implement SVG files inclusion.
1588         (org-latex-headline): Don’t insert alternate title if identical to
1589         regular one.
1591         * ob-python.el: Update the arglist passed to `declare-function'
1592         for `run-python'.
1594         * ob-tangle.el (org-babel-tangle): Use `light' argument to
1595         `org-babel-get-src-block-info'.
1597         * ob-core.el (org-babel-execute-src-block): Return nil in case of
1598         `:results none'.  Also run `org-babel-after-execute-hook' in this
1599         circumstance.
1601         * org-id.el (org-id-locations-save): Bind print-(level,length) to
1602         nil in this function.
1604         * ob-R.el (org-babel-R-graphics-devices): New defvar.
1605         (org-babel-R-construct-graphics-device-call): Use it instead of a
1606         hard-coded list of graphics devices.
1608         * ob-core.el (org-babel-when-in-src-block): New macro.
1609         (org-babel-execute-src-block-maybe)
1610         (org-babel-expand-src-block-maybe)
1611         (org-babel-load-in-session-maybe, org-babel-pop-to-session-maybe):
1612         Use it.
1613         (org-babel-execute-src-block): Use `copy-tree' to prevent setf
1614         from modifying users variables withing let-bound `info' variable.
1616         * ob-exp.el (org-export-babel-evaluate): Add a 'inline-only
1617         option.
1618         (org-babel-exp-results): Implement 'inline-only for
1619         `org-export-babel-evaluate'.
1621         * org.el (org-edit-special): Use prefix arg.
1623         * ob-awk.el (org-babel-expand-body:awk, ob-picolisp.el)
1624         (org-babel-expand-body:picolisp): Remove optional arg.
1626         * ob-R.el (org-babel-R-initiate-session): Handle case where the
1627         session buffer exists, but does not have a live process.
1628         (org-babel-R-construct-graphics-device-call): Change file
1629         extension of tikz graphics files to .tikz.
1631         * org-src.el (org-edit-src-exit): Don't modify the undo list when
1632         inserting the code.
1634         * ox-latex.el (org-latex-plain-text): Properly escape "~" for
1635         LaTeX export.
1636         (org-latex-image-default-option): Change default value to "".
1637         (org-latex-image-default-width, org-latex-image-default-height):
1638         New variables.
1639         (org-latex-inline-image-rules): Make .tikz files as exportable
1640         with LaTeX.
1641         (org-latex--inline-image): Support tikz images.  Also support
1642         separate :width and :height parameters for images.
1644         * org-bibtex.el (org-bibtex-ask): Use `visual-line-mode' instead
1645         of longlines-mode.
1647 2013-11-12  Abdó Roig-Maranges  <abdo.roig@gmail.com>
1649         * org.el (org-format-latex): Do not re-generate a LaTeX preview if
1650         the image already exists.
1652         * org-agenda.el (org-agenda-search-view-max-outline-level):
1653         New option to define the max level for the entries shown by the search
1654         view.  A value of 1 means to show the top parent of the entries.
1656         * org.el (org-create-formula-image-with-dvipng): Fix bug that made
1657         this function fail with no :foreground and :background attributes
1658         set, due to bad handling of "Transparent" color.  Fix bug when
1659         colors are not `default'.
1660         (org-format-latex-options): Add `auto' to docstring.
1661         (org-format-latex): Get face colors at point and put them inside
1662         opt.
1663         (org-create-formula-image-with-imagemagick): Fix bug when handling
1664         "Transparent" bg color.
1665         (org-dvipng-color-format): Same as `org-latex-color-format' for
1666         dvipng-style color specification.
1668 2013-11-12  Achim Gratz  <Stromeko@Stromeko.DE>
1670         * ob-core.el (org-babel-check-confirm-evaluate): Return result of
1671         evaluating the function pointed to by `org-confirm-babel-evaluate'
1672         when it is a functionp and its value as a variable otherwise.
1673         (org-babel-get-rownames, org-table.el)
1674         (org-table-transpose-table-at-point): Replace the inadvertent use
1675         of mapcar* (from cl) by plain mapcar and direct cons manipulation.
1676         (org-babel-params-from-properties):
1677         Use `org-babel-current-src-block-location' for evaluating new-style
1678         header-argument properties.  Remove superfluous save-match-data
1679         clauses.  Comment which properties get evaluated where.
1680         (org-babel-insert-header-arg, org-babel-parse-src-block-match):
1681         Replace `if' with empty else part by `when' for readability.
1682         (org-babel-params-from-properties): Inquire for language specific
1683         and default header properties.  Language specific header
1684         properties take precedence over default header properties and
1685         old-style header property specifications.
1687         * org.el (org-re-property): Re-implement using full regex for
1688         `org-re-property'.  Add optional argument LITERAL to flag when
1689         PROPERTY should to be regex-quoted.  Move before definition of
1690         `org-re-property'.
1691         (org-re-property-keyword): Remove, functionality is subsumed by
1692         `org-re-property'.
1693         (org-property-re): Define using `org-re-property'.
1694         Improve definition so that this regex can be
1695         (org-entry-get, org-property-values): Adjust match number for
1696         PROPVAL.  (org-entry-put): Use `org-re-property' instead of
1697         `org-re-property-keyword'.
1698         used in all situations.  Extend docstring with explanation of
1699         matching groups.
1700         (org-at-property-p): Implement using `org-element-at-point'.
1701         (org-entry-properties, org-buffer-property-keys, org-indent-line):
1702         Use `org-property-re' and adjust match group numbers accordingly.
1704         * org-compat.el (define-obsolete-variable-alias)
1705         (define-obsolete-function-alias): Actually remove the third (and
1706         any following) argument from the argument list before calling the
1707         advised function.  Extend eval-and-compile clause and add advices
1708         for functions that have different parameter lists in XEmacs.
1709         Add variable definitions that XEmacs lacks .
1711         * ob-fortran.el (org-every): Declare.
1713         * org-element.el (org-element-node-property-parser):
1714         Use `org-property-re' and adjust match group numbers accordingly.
1715         Move `looking-at' out of the let clause to not rely on the
1716         unspecified evaluation order inside the let.
1718         * ob-eval.el, ob.el, org-macro.el, org-mhe.el: Require org-macs
1719         and org-compat as necessary.
1721         * ob-tangle.el (org-edit-special, org-store-link)
1722         (org-open-link-from-string): Declare functions.
1724         * org-macs.el (declare-function): Define macro to use autoload
1725         instead for XEmacs.
1727         * ox-html.el, ox-odt.el: XEmacs does not have table.el, so use
1728         'noerror on the require form.
1730         * ox-texinfo.el (org-texinfo-table-column-widths): Fix spliced
1731         argument list that XEmacs complains about by adding parenthesis.
1733         * ob-octave.el (org-babel-octave-initiate-session): If octave-inf
1734         can't be loaded, try octave instead before giving up.
1735         Emacs 24.3.50 and upwards replaces octave-inf with just plain octave.
1737         * org-id.el (org-id-update-id-locations): Autoload interactive
1738         function.
1740         * ob-core.el (org-babel-parse-inline-src-block-match):
1741         * ob-exp.el (org-babel-exp-src-block): Give header arguments from
1742         properties priority over default header arguments.
1744         * ob-sh.el (org-babel-sh-var-to-sh): When detecting a table, the
1745         first line could be the symbol `hline' rather than a list of table
1746         cells, so check for that as well.
1748         * org.el (org-table-clean-did-remove-column):
1749         * org-table.el (org-table-clean-did-remove-column): Move defvar,
1750         this dynamic variable is only used in org-table.
1752         * org-table.el (org-table-colgroup-info): Remove unused defvar for
1753         `org-table-colgroup-info'.
1754         (org-table-clean-before-export): Let-bind regular expression
1755         strings and remove unused matching group.
1756         Use `org-table-clean-did-remove-column' in cond statement rather than
1757         branching via if to avoid code duplication.  Remove the code
1758         associated with the removed `org-table-colgroup-info'.
1759         (orgtbl-export): Remove unused internal function.
1761         * org-macro.el (org-macro-expand): Do not try to interpret the
1762         macro replacement text as a regex so that escaped backslashes and
1763         commas in macro arguments will be interpreted correctly.
1765         * ob-perl.el (org-babel-perl-wrapper-method): Select output handle
1766         only after evaluation so that output is not mixed into results
1767         eavaluation.
1768         (org-babel-perl-evaluate): Fix the handling of results for
1769         ":results output" to also parse tables.  Use the same lambda
1770         construction as in ob-sh.el to avoid code duplication.
1772         * ob-exp.el (org-babel-exp-results, org-babel-lob-execute):
1773         Suppress user confirmation of the emacs-lisp wrapper execution
1774         around a lob call.
1776         * ob-perl.el (org-babel-perl-wrapper-method): Use TAB as separator
1777         for table results as expected by
1778         `org-babel-import-elisp-from-file´.
1780         * ob-core.el (org-babel-number-p): String match for any number
1781         moved first so that the match data for the length check does not
1782         become corrupted.
1783         (org-babel-confirm-evaluate-answer-no): Dynamically scoped
1784         variable, if bound non-nil the confirmation dialog will not be
1785         initiated and denial of evaluation is assumed.
1786         (org-babel-check-confirm-evaluate): New macro to establish
1787         bindings based on INFO.
1788         (org-babel-check-evaluate): New defsubst that checks if the
1789         evaluation of a code block is disabled.  Refactors the first part
1790         of the original function `org-babel-confirm-evaluate´.
1791         (org-babel-confirm-evaluate): New defsubst that checks if the user
1792         should be queried and returns the answer.  Keeps the second part
1793         of the original function `org-babel-confirm-evaluate´.
1794         Re-implement using bindings for common subexpressions.
1795         (org-babel-execute-src-block): Do not ask for confirmation if the
1796         cached result is current.
1797         (org-babel-call-process-region-original): Change declaration into
1798         definition with nil initial value at the beginning of the file and
1799         drop the later definition.  Add comment that the dynamic scoping
1800         of this variable is done for tramp.
1802         * org-table.el (org-table-eval-formula): The condition-case to
1803         check for must be "error", not "user-error".
1805         * ob-perl.el (org-babel-execute:perl): Pass `result-params´
1806         through to `org-babel-perl-evaluate´.
1807         (org-babel-variable-assignments:perl): Add "my" to variable
1808         declaration so that it becomes compatible with "use strict;".
1809         Use new internal formatting function `org-babel-perl--var-to-perl´.
1810         (org-babel-perl--var-to-perl): New internal function, uses Perl
1811         non-interpolating quoting on the string that defines the variable
1812         to suppress spurious interpretation of it as Perl syntax.
1813         (org-babel-perl-wrapper-method): Use a block and declare all
1814         variables as "my", also use Perl quoting throughout.  Redirect
1815         STDOUT to the temporary file so that simply "print" will put the
1816         results there.  Check the return value and output in table form if
1817         it is an ARRAY ref, otherwise print it without a final newline.
1818         (org-babel-perl-preface): Content of this variable is prepended to
1819         body before invocation of perl.  Rename input parameter body to
1820         ibody and let-bind body to concatentation of
1821         `org-babel-perl-preface' and ibody.  Implement results
1822         interpretation so that tables are easier to produce.
1824         * ob-eval.el (org-babel-eval): Use simplified version of
1825         `org-babel--shell-command-on-region´, we are the only caller of
1826         this function.
1827         (org-babel--shell-command-on-region):
1828         Replace `org-babel-shell-command-on-region´ with a much more simplified
1829         internal version, remove superfluous DOCSTRING and interactive
1830         clause, strip out all conditionals which were never used.  Prevent
1831         deletion of temporary input file to aid debugging when the symbol
1832         `org-babel--debug-input´ is bound and has non-nil value.
1834         * ob-tangle.el (org-babel-tangle): Do not change signature, a nil
1835         arg is even documented in the manual.
1837         * org-src.el: Change declaration of `org-babel-tangle´ to "arg"
1838         for first argument.
1840         * ob-core.el (org-babel-execute-src-block): Add binding for
1841         merged-params to avoid multiple evaluation of
1842         `org-babel-merge-params´.  Rename cache? to cache-p, add binding
1843         for cache-current-p and use it.  Do not run
1844         `org-babel-confirm-evaluate´ if source block has a cache and the
1845         cache value is current (there is no evaluation involved in this
1846         case).
1848         * org.el (org-current-time): Replace call to obsolete function
1849         `time-to-seconds´ with a call to compatibility function
1850         `org-float-time´.
1852         * org-compat.el (user-emacs-directory): If not bound, define as an
1853         alias to `user-init-directory´ so that XEmacs continues to be
1854         happy with Org.
1856         * org-macs.el: New macro to allow the 5-argument form of load to
1857         be used where possible without breaking compatibility with XEmacs.
1859         * org.el (org-version, org-reload):
1860         Use `org-load-noerror-mustsuffix´ instead of adding a fifth argument
1861         to load directly.  Guard against undefined variable load-suffixes,
1862         which doesn't exist in XEmacs.
1864         * org.el: Use
1865         `org-define-obsolete-{function,variable}-alias´instead of
1866         `define-obsolate{function,variable}-alias´.
1868         * org-compat.el (user-error): Defalias to `error´ for Emacsen that
1869         don't have it.
1871         * ob-python.el (org-babel-python-hline-to)
1872         (org-babel-python-None-to): Specify customize group as 'org-babel
1873         and widget type as 'string.
1875         * ob.el (org-babel-result-cond): Macro expansion needs to unquote
1876         formal parameter `result-params´.
1878         * org.el (org-reload): Major rewrite.
1880         * org.el (org-clock-get-last-clock-out-time): Declare function.
1882 2013-11-12  Alan Schmitt  <alan.schmitt@polytechnique.org>
1884         * ob-ocaml.el (org-babel-prep-session:ocaml):
1885         Use `save-window-excursion' around the code starting the tuareg
1886         process.
1887         (org-babel-ocaml-command): New option to specify the name of the
1888         toplevel to run.
1889         (org-babel-prep-session:ocaml): Directly call
1890         `tuareg-run-process-if-needed' with `org-babel-ocaml-command' as
1891         argument.
1892         (org-babel-execute:ocaml): Always append ";;" at the end of the
1893         expression before sending it to the toplevel.  Do not remove the
1894         type information if "verbatim" is a results parameter of the code
1895         block.
1896         (org-babel-ocaml-parse-output): Make sure the complete type is
1897         taken into account when matching against known types.
1899         * org-faces.el (org-footnote): Fix docstring.
1901 2013-11-12  Andreas Leha  <andreas@lehas.net>
1903         * ob-latex.el (org-babel-execute:latex): Add a tizk option that
1904         copies the body of the block into a tikz file.
1906 2013-11-12  Arun Persaud  <apersaud@lbl.gov>
1908         * org-agenda.el (org-agenda-prefix-format): Add documentation for
1909         the new %b option.
1910         (org-prefix-has-breadcrumbs): Add flag, `t' when %b is set.
1911         (org-agenda-format-item): Add breadcrumbs if requested.
1912         (org-compile-prefix-format): Add compiled information for
1913         breadcrumbs, add %b option.
1915 2013-11-12  Aurélien Aptel  <aurelien.aptel@gmail.com>  (tiny change)
1917         * ox-html.el (org-html-code, org-html-verbatim): Remove fancy
1918         string replacements for code and verbatim text when exporting to
1919         HTML.
1921 2013-11-12  Bastien Guerry  <bzg@gnu.org>
1923         * org.el (org-align-tags-here): Fix bug: move to the correct
1924         position.
1925         (org-agenda-prepare-buffers): Restore the point position.
1926         (org-insert-link): Don't remove brackets when they belong to a
1927         timestamp in a headline.
1929         * org-capture.el (org-capture-refile): Don't finalize prematurely.
1930         (org-capture): Store :return-to-wconf earlier.
1931         (org-capture-place-template): Don't store :return-to-wconf when
1932         called from a capture template using `function', rely on the early
1933         :return-to-wconf value store from `org-capture'.
1935         * org-compat.el (org-move-to-column): New argument
1936         `ignore-invisible' to turn on `buffer-invisibility-spec'.
1938         * org-agenda.el (org-agenda-show-new-time): Ignore invisible text
1939         when inserting the new time as a text property.
1940         (org-agenda-filter-make-matcher): When filtering tags and hitting
1941         space, filter out entries with tags, only keep those without tags.
1942         (org-agenda-drag-line-forward, org-agenda-drag-line-backward):
1943         Fix bugs: don't drag lines without text and don't drag lines
1944         before/after hidden lines.
1946         * ox-odt.el (org-odt-table-style-format): Use %s for inserting the
1947         rel-width property as a string.
1948         (org-odt-template): Fall back on a string for :rel-width.
1950         * org.el (org-directory, org-default-notes-file)
1951         (org-reverse-note-order): Don't use the `org-remember'
1952         customization group.
1953         (org-require-autoloaded-modules): Don't require
1954         `org-remember'.
1956         * org-capture.el: Update commentary section to reflect the fact
1957         that org-remember.el is not used anymore.
1959         * org.el (org-babel-load-file): Set `exported-file' correctly, in
1960         case the file as been tangled using a buffer-local value.
1962         * ob-tangle.el (org-babel-tangle-file): Return the list of tangled
1963         files.
1965         * ox-org.el (org-org-publish-to-org): When htmlizing an .org file,
1966         ensure to show all headings and all blocks before fontifying.
1968         * ob-shen.el (org-babel-ruby-var-to-ruby): Declare.
1970         * ox.el: Fix comment: remove reference to the obsolete variable
1971         `org-export-language-setup'.
1973         * org.el (org-set-regexps-and-options-for-tags): Fix concatenation
1974         of the tags list.
1976         * ox-odt.el (org-odt-pixels-per-inch): Use 96.0 as the default.
1978         * org.el (org-refile): With a numeric prefix argument of `3',
1979         emulate (setq org-refile-keep t) and copy the subtree to the
1980         target location, don't delete it.
1981         (org-set-regexps-and-options-for-tags): Fix the setting of tag
1982         groups when relying on `org-tag-alist', not on tags directly set
1983         in the buffer with the #+TAGS option.
1985         * org-agenda.el (org-agenda-archive-with): Save window excursion.
1987         * org.el (org-forward-element, org-backward-element): Throw a
1988         message instead of an error when trying to move from a position
1989         where there is no element.
1990         (org-clock-is-active): Fix docstring.
1992         * org-list.el (org-sort-list): Use `x' instead of `c' for sorting
1993         plain list by checked status.
1995         * org.el (org-structure-template-alist): Fix custom type and
1996         default value.
1997         (org-set-regexps-and-options-for-tags): Enhance docstring.
1998         (org-set-regexps-and-options): Make sure not to add
1999         `org-tag-alist' twice when setting this variable through et
2000         #+setupfile: directive.
2001         (org-tags-expand): Use `with-syntax-table'.
2003         * org-list.el (org-sort-list): Implement sorting by "checked"
2004         status for check lists.
2006         * org-table.el (org-table-sum): Fix rounding error when summing
2007         times.
2009         * ob-scheme.el (org-babel-scheme-execute-with-geiser): Fix code
2010         typo.  Add declarations.
2012         * ox-html.el (org-html-link-use-abs-url): New option.
2013         (org-html-link): Use it to prepend relative links with the value
2014         of HTML_LINK_HOME, when defined.
2016         * org.el (org-refile): Fix refiling the active region within an
2017         list.  Don't store the last refiled subtree in the kill ring.
2019         * org.el (org-mode-map): Remap `forward-paragraph' and
2020         `backward-paragraph' to `org-forward-element' and
2021         `org-backward-element'.
2023         * ox-html.el (org-html-begin-plain-list): New parameter
2024         `ordered-num' to tell whether the list is ordered numerically.
2025         (org-html-plain-list): Handle alphabetical ordered list.
2027         * org-agenda.el (org-batch-agenda): Let-bind `org-agenda-sticky'
2028         to nil during batch export.
2030         * org.el (org-copy-subtree): Fix typo in docstring.
2031         (org-scan-tags): Don't disable `case-fold-search' too early.
2033         * org-agenda.el (org-agenda-skip-eval): Fix typo in docstring.
2035         * org-capture.el (org-capture-set-target-location): Don't throw an
2036         error when `org-time-was-given' is not bound.
2038         * org-clock.el (org-clock-modify-effort-estimate):
2039         Clarify docstring.
2041         * org.el (org-set-regexps-and-options-for-tags): Return a list
2042         with tag-related variables.
2043         (org-set-regexps-and-options): Append tags from a setup file to
2044         the local tags of the file.
2045         (org-agenda-prepare-buffers): Set tags from a setup file by
2046         calling `org-set-regexps-and-options' when necessary.
2047         (org-set-regexps-and-options): Fix `org-deadline-time-hour-regexp'
2048         and `org-scheduled-time-hour-regexp'.
2050         * org-table.el (org-table-TBLFM-begin-regexp): Rename from
2051         `org-TBLFM-begin-regexp'.
2052         (org-table-calc-current-TBLFM): Rename from
2053         `org-calc-current-TBLFM'.
2055         * org.el (org-ctrl-c-ctrl-c): Require org-table if needed.
2056         (org-refresh-properties): Put the text property on the whole
2057         subtree, not just on the headline.
2058         (org-get-outline-path): Remove statistical and checkboxes cookies.
2060         * org-agenda.el (org-agenda, org-search-view, org-tags-view)
2061         (org-agenda-get-day-entries, org-agenda-set-restriction-lock):
2062         Use (current-buffer) as the value of `org-agenda-restrict'.  Fix a bug
2063         about narrowing to wrong region boundaries when
2064         `org-agenda-restrict' is non-nil.
2066         * org.el (org-agenda-text-search-extra-files): Fix typos in
2067         docstring.
2068         (org-insert-heading): Fix case when there the first heading starts
2069         at the beginning of the buffer.
2071         * ob-core.el (org-babel-expand-src-block):
2072         Use `org-called-interactively-p'.
2074         * org.el (org-agenda-prepare-buffers): Avoid duplicates in
2075         `org-tag-alist-for-agenda' correctly.
2076         (org-read-date-minibuffer-local-map): Check if we are at the
2077         beginning of the prompt, not if we are after a whitespace.
2078         Bind C-. to `calendar-goto-today'.
2080         * org-clock.el (org-clock-in): Don't forward by one character when
2081         setting the marker in the clock history.
2083         * org.el (org-read-date-minibuffer-local-map):
2084         Call `calendar-goto-today' only if there is a space before point in the
2085         minibuffer prompt.
2086         (org-insert-heading): Reveal context when called interactively.
2087         Fix bug about wrong conversion of lines with :END: or #+end_ into
2088         headlines.
2089         (org-in-drawer-p): New function.
2090         (org-meta-return): Use `org-catch-invisible-edits' and the
2091         `org-in-drawer-p' to check whether we are within a drawer.
2093         * org-list.el (org-sort-list): Fix infloop.
2095         * org.el (org-clone-subtree-with-time-shift): Unconditionally ask
2096         for a time shift if there is a time-stamp.  Don't ask for a time
2097         shift when called with a universal prefix argument.
2099         * ob-core.el (org-babel-insert-result): Fix bug when inserting
2100         results as a list: ensure we split a string containing "\n".
2102         * ox-html.el: Fix copyright header.
2104         * org.el (org-store-link): Don't add a search string when storing
2105         a link from a radio target.
2106         (org-open-at-point): Jump to the radio link (<<<radio>>>), not to
2107         the simple target (<<target>>).
2109         * org-table.el (org-table-get-remote-range): Fix typo.
2111         * org-datetree.el (org-datetree-find-month-create)
2112         (org-datetree-find-day-create): Add a docstring.
2113         (org-datetree-find-year-create): Only match headlines with a
2114         year or a year and one or more tags.
2116         * org-crypt.el (org-crypt-check-auto-save)
2117         (org-crypt-use-before-save-magic): Use `org-add-hook' when the
2118         hooks are local hooks.
2120         * org-agenda.el (org-agenda-mode): Use `org-add-hook' and merge
2121         upstream change from Emacs 2013-04-18T00:12:33Z!monnier@iro.umontreal.ca.
2123         * ob-core.el (org-babel-pop-to-session-maybe): Fix docstring.
2124         (org-babel-pop-to-session-maybe): Use true function's name,
2125         not its alias.
2127         * org-agenda.el (org-agenda-drag-line-forward)
2128         (org-agenda-drag-line-backward): New commands.
2129         (org-agenda-mode-map): Bind the new commands to M-<down> and
2130         M-<up> respectively.
2132         * org.el (org-insert-heading): Fix insertion of items.
2134         * org-capture.el (org-capture-use-agenda-date): Fix docstring.
2136         * org-agenda.el (org-agenda-bulk-toggle): Fix docstring.
2137         (org-agenda-bulk-toggle-all): New command.
2138         (org-agenda-mode-map): Bind `org-agenda-bulk-toggle' to `M-m'
2139         and `org-agenda-bulk-toggle-all' to `M-*'.
2140         (org-agenda-menu): Add `org-agenda-bulk-toggle' and
2141         `org-agenda-bulk-toggle-all'.
2142         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Jump to the
2143         next headline, not the next line.
2145         * org-capture.el (org-mks): Fix bug: let-bind `case-fold-search'
2146         to nil while matching the first letter of a multi-letters
2147         template.
2149         * org.el (org-store-link): When a bracket link is found in a
2150         headline, use the link description or the link path.
2151         (org-flag-drawer, org-hide-block-toggle)
2152         (org-goto-left, org-goto-right, org-promote)
2153         (org-paste-subtree, org-narrow-to-block, org-sort-entries)
2154         (org-insert-link, org-offer-links-in-entry, org-open-file)
2155         (org-refile, org-refile-get-location)
2156         (org-refile-check-position, org-prepare-dblock, org-todo)
2157         (org-auto-repeat-maybe, org-show-todo-tree, org-sparse-tree)
2158         (org-occur, org-priority, org-scan-tags)
2159         (org-get-tags-string, org-property-action, org-set-effort)
2160         (org-entry-put, org-insert-drawer)
2161         (org-compute-property-at-point)
2162         (org-property-next-allowed-value, org-evaluate-time-range)
2163         (org-closest-date, org-timestamp-change)
2164         (org-revert-all-org-buffers, org-cycle-agenda-files)
2165         (org-agenda-file-to-front, org-remove-file)
2166         (org-preview-latex-fragment, org-format-latex)
2167         (org-create-math-formula, org-create-formula-image)
2168         (org-speed-command-help, org-check-before-invisible-edit)
2169         (org-modifier-cursor-error, org-hidden-tree-error)
2170         (org-mark-subtree, org-kill-line, org-first-sibling-p)
2171         (org-up-element, org-down-element)
2172         (org-drag-element-backward, org-drag-element-forward)
2173         (org-unindent-buffer, org-speedbar-set-agenda-restriction):
2174         Use `user-error' instead of `error'.
2176         * ox-latex.el (latex): Don't force exporting with smart quotes.
2178         * ox.el (org-export-with-smart-quotes): Mention the need to use
2179         the relevant Babel package when setting this option to non-nil.
2181         * org-src.el (org-edit-src-turn-on-auto-save): New option.
2182         (org-edit-src-code): Use it.
2183         (org-edit-src-auto-save-idle-delay): Enhance docstring.
2185         * org-capture.el (org-mks): Make cursor invisible.
2187         * org.el (org-link-expand-abbrev): Save match data before before
2188         calling the replacement function.
2190         * org-list.el (org-sort-list): Don't move point when matching time
2191         values.
2193         * org.el (org-shifttab): Show the correct number of empty
2194         headlines when called with a numeric prefix argument.
2195         Enhance docstring.
2196         (org-uniquify): Use `copy-sequence'.
2197         (org-adaptive-fill-function, org-fill-paragraph): Throw a useful
2198         error message when parse an element fails in the current buffer.
2200         * ox.el (org-export-with-planning): Enhance docstring.
2202         * org.el (org-closed-keep-when-no-todo): New option.
2203         (org-todo): Use the new option.
2204         (org-open-line): Rename from `org-ctrl-o'.
2205         (org-mode-map): Use `remap'.
2206         (org-cycle-emulate-tab, org-file-apps)
2207         (org-set-font-lock-defaults)
2208         (org-translate-link-from-planner, org-link-search)
2209         (org-refile-get-targets, org-read-date-get-relative):
2210         Minor code clean-up: fix dangling parentheses.
2212         * org-agenda.el (org-agenda-entry-text-mode): Also check against
2213         regexp filters.
2214         (org-timeline): Handle `org-agenda-show-log'.
2216         * org-clock.el (org-clock-select-task): Remove successive
2217         duplicates in the clock history to consider.
2219         * org.el (org-uniquify-alist): Improve docstring.
2220         (org-make-tags-matcher, org-change-tag-in-region): Add buffer's
2221         tags to the tags completion table.
2222         (org-tags-expand): Prevent circular replacement of group tags.
2223         Tiny docstring formatting.
2224         (org-uniquify): Make a defsubst.  Use `delete-dups' instead of
2225         `add-to-list'.
2226         (org-todo): Also remove the CLOSED planning information when
2227         removing the TODO keyword.
2228         (org-forward-heading-same-level): Fix bug when forwarding
2229         to a hidden subtree of the same level.
2230         (org-tags-expand): Use word delimiters when building the tag
2231         search regexp.
2233         * org-clock.el (org-clock-insert-selection-line): Don't display
2234         the clockout time.
2236         * org.el (org-emphasis-regexp-components): Make a defvar.
2237         (org-emphasis-alist): New default value: don't set HTML tags.
2238         (org-emphasize, org-set-emph-re): Use the new value of
2239         `org-emphasis-alist'.
2241         * org-mobile.el (org-mobile-edit): Insert new headings at the end
2242         of the parent subtree.  Use `org-at-heading-p' instead of the
2243         obsolete `org-on-heading-p'.
2245         * org.el (org-insert-heading): When called from a list item and
2246         `org-insert-heading-respect-content' is non-nil, insert a heading,
2247         not an item.
2248         (org-insert-heading-respect-content): Fix docstring.
2249         (org-insert-heading): When in a non-empty non-headline line,
2250         convert the current line into a headline.
2252         * org-table.el (org-table-copy-down): Don't move cursor when
2253         getting the field.
2255         * ox-icalendar.el (org-icalendar-export-current-agenda): Do not
2256         evaluate babel code blocks.
2258         * ox-html.el (html): Add more options.
2260         * ox-publish.el (org-publish-project-alist): Add :with-planning in
2261         docstring.
2263         * ob-exp.el (org-babel-exp-src-block): Tiny docstring fix.
2265         * ox-icalendar.el (org-icalendar--combine-files): Fix typo.
2267         * org-mouse.el (org-mouse-agenda-context-menu): Fix a function's
2268         name.
2270         * ox.el (org-export-options-alist, org-export--skip-p):
2271         Use `:with-planning' instead of `:with-plannings', to keep in sync
2272         with the corresponding option's name.
2274         * ob-core.el (org-babel-confirm-evaluate): Fix typo in docstring.
2276         * org-agenda.el (org-agenda-undo, org-agenda)
2277         (org-agenda-append-agenda)
2278         (org-agenda-get-restriction-and-command, org-agenda-write)
2279         (org-agenda-clock-cancel)
2280         (org-agenda-diary-entry-in-org-file, org-agenda-diary-entry)
2281         (org-agenda-execute-calendar-command)
2282         (org-agenda-goto-calendar, org-agenda-convert-date)
2283         (org-agenda-bulk-mark, org-agenda-bulk-action)
2284         (org-agenda-show-the-flagging-note): Use `user-error' instead of
2285         `error'.
2287         * org-macs.el (org-with-remote-undo): Normalize argument names.
2289         * org.el (org-store-log-note): Fix `buffer-undo-list' when called
2290         after `org-agenda-todo'.
2291         (org-add-log-note): Minor formatting fix.
2293         * org-agenda.el (org-agenda-append-agenda): Set buffer read only.
2295         * org-clock.el (org-clock-select-task): Throw a user error when
2296         the clock history is empty.
2298         * org-table.el (org-table-get-remote-range): Fix docstring: use
2299         #+NAME instead of #+TBLNAME.
2301         * ob-ref.el: Use #+NAME instead of #+TBLNAME in comment.
2303         * ox-html.el (org-html-table-row-tags): Better example.
2305         * org-clock.el (org-clock-select-task): Fix window to buffer.
2306         Hide the cursor.
2307         (org-clock-insert-selection-line): Add the clock-out time.
2309         * ox-html.el (org-html-table-row-tags): Allow new dynamically
2310         bound value `row-number'.
2311         (org-html-table-row): Bind `row-number' to the number of the
2312         row (first row is 0).
2314         * org.el (org-minutes-to-clocksum-string): Round fractions of
2315         minutes.
2317         * ox-html.el (org-html-table-row-tags): Fix example in docstring.
2319         * org-agenda.el (org-agenda-span-to-ndays): Enhance docstring.
2320         (org-agenda-goto-date): Fix bug when going to a date in month
2321         view.
2322         (org-agenda-goto-date): Put the cursor on the agenda line with the
2323         selected date.
2324         (scheduled/deadline items with hour spec) then redo an agenda*.
2326         * org-clock.el (org-clock-resolve): Enhance the content of the
2327         help window.
2329         * org-footnote.el (org-footnote-auto-label): Minor docstring fix.
2331         * ox-odt.el (org-odt-link): Fix bug: convert & to &amp; in
2332         links.
2334         * ox-html.el (org-html-table-row): Dynamically bind
2335         `rowgroup-number', `start-rowgroup-p', `end-rowgroup-p',
2336         `top-row-p', `bottom-row-p'.
2337         (org-html-table-row-tags): Update docstring: tell what variables
2338         are dynamically bound.
2340         * org-src.el (org-edit-src-code): Don't set
2341         `buffer-auto-save-file-name' unless `auto-save-default' is
2342         non-nil.
2344         * ox.el (org-export-table-row-group): Fix typo in docstring.
2346         * org-table.el (orgtbl-apply-fmt): Enhance docstring.
2348         * org.el (org-file-contents): Make the message more prominent.
2350         * ox.el (org-export-replace-region-by): New function.
2352         * ox-texinfo.el (org-texinfo-convert-region-to-texinfo),
2353         * ox-md.el (org-md-convert-region-to-md),
2354         * ox-latex.el (org-latex-convert-region-to-latex),
2355         * ox-html.el (org-html-convert-region-to-html): New functions to
2356         replace the active region by its export into various backends.
2358         * org-faces.el (org-agenda-restriction-lock): Use less flashy
2359         colors.
2361         * org-agenda.el
2362         (org-agenda-restriction-lock-highlight-subtree): New option.
2363         (org-agenda-top-headline-filter): Rename from
2364         `org-agenda-top-headline-filter'.
2365         (org-find-top-headline): Rename from `org-find-top-category'.
2366         Add a docstring.
2367         (org-agenda-filtered-by-top-headline): Rename from
2368         `org-agenda-filtered-by-top-category'.
2369         (org-agenda-filter-by-top-headline): Rename from
2370         `org-agenda-filter-by-top-category'.  Fix docstring.
2371         (org-agenda-filter-top-headline-apply): Rename from
2372         `org-agenda-filter-top-category-apply'.  Fix docstring.
2373         (org-agenda-mode-map): Update binding.
2374         (org-agenda-get-todos): Set `todo-state' earlier so that we can
2375         skip false-positives in time.
2377         * org.el (org-get-todo-state): Add a docstring.
2378         (org-ctrl-o): New command to insert a new row in tables
2379         (like `M-S-<down>' does) and open a line elsewhere.
2380         (org-mode-map): Bind the new command to `C-o'.
2381         (org-set-regexps-and-options): Process tags from an external setup
2382         file.
2384         * org-agenda.el (org-agenda-dim-blocked-tasks): Enhance docstring.
2385         (org-agenda-finalize-entries): Conditionally apply limits so
2386         that we don't manipulate big lists uselessly.
2387         (org-agenda-limit-entries): Limit exclusively.  E.g., when
2388         limiting to a maximum of "2 tags", don't limit among tagged
2389         entries only, but limit among all entries.
2390         (org-agenda-limit-interactively): New command.
2391         (org-agenda-mode-map): Bind the new command to "~".
2392         (org-agenda-redo): Small fix: don't use `eval'.
2394         * org.el (org-ctrl-c-ctrl-c): Fix bug wrt updating checkboxes: the
2395         list beginning should be stored using a marker so that updating
2396         [%0] to [%50] will not throw an error.
2397         (org-babel-load-file): Move `org-babel-load-file' from
2398         ob-tangle.el to here so that it is correctly autoloaded by Emacs
2399         before Org is required.
2401         * org-mac-message.el: Delete.
2403         * org.el (org-modules): org-mac-message.el is not a core package
2404         anymore.
2406         * org-table.el (orgtbl-to-generic): Fix bug when exporting the
2407         cells of radio tables with 'hline.
2409         * org.el (org-speed-commands-default): Use ?s for
2410         `org-narrow-to-subtree'.
2412         * org-agenda.el (org-agenda-start-on-weekday): Fix typo.
2413         (org-agenda-start-day): Enhance docstring.
2415         * org-src.el (org-src-native-tab-command-maybe): Check that we are
2416         in a source code block.
2418         * org-mobile.el: Remove useless defvar.
2420         * org.el (org-indent-line): A line just below a line with a list
2421         item is now indented depending on the indentation of this list
2422         item.
2424         * org.el (org-options-keywords): Add #+TARGET.
2426         * org-clock.el (org-resolve-clocks-if-idle): Only try to resolve
2427         last clock if the clock buffer still exists.
2428         (org-clock-out, org-clock-cancel): Set markers to nil.
2430         * ox-org.el (org-org-publish-to-org):
2431         * ox-html.el (org-html-publish-to-html): Use the custom extension.
2433         * org.el (org-cycle-internal-local): Fix invalid search bound when
2434         `org-cycle-include-plain-lists' is set to 'integrate.
2436         * org.el (org-sparse-tree-default-date-type): Add an option for
2437         closed time-stamps.
2438         (org-sparse-tree): Allow to check against closed time-stamps.
2439         (org-re-timestamp): Handle closed time-stamps.
2440         (org-closed-in-range): Delete.
2442         * org-capture.el (org-capture-import-remember-templates):
2443         Take care of adding :jump-to-captured option if needed.
2445         * org.el (org-toggle-pretty-entities): Enhance messages.
2446         (org-raise-scripts): Handle scripts like "a_b^c".
2448         * org-capture.el (org-capture-templates): Document new option
2449         :jump-to-captured in the docstring.  Offer the complete list of
2450         options when customizing.
2451         (org-capture-finalize): Handle :jump-to-captured.
2453         * org.el (org-agenda-prepare-buffers): Fix bugs: don't let-bind
2454         `org-tag-alist' to nil and don't append duplicate tags to
2455         `org-tag-alist-for-agenda'.
2456         (org-store-link): Storing multiple links in the active region now
2457         requires a triple prefix argument.
2458         (org-store-link, org-link-search): Fix handling of links to #+NAME
2459         and #+TARGET keywords.
2461         * org-compat.el (org-ignore-region): Tiny docstring fix.
2463         * org-capture.el (org-capture): Don't store multiple links over
2464         lines in the active region.
2466         * ox-odt.el (org-odt-special-block): Don't wrap annotations into
2467         <text:p>...</text:p> at all.
2468         (org-odt--fix-annotations): New function.
2469         (org-odt--export-wrap): Use the new function to fix annotations
2470         insertion in content.xml.
2472         * org.el (org-mode-flyspell-verify): Require 'org-element so that
2473         `org-element-affiliated-keywords' is defined.
2475         * ox-odt.el (org-odt-special-block): Don't insert annotations
2476         using style "Text_20_body".
2478         * org.el (org-toggle-tags-groups): Correctly highlight group tags.
2479         (org-tags-expand): Expand tags as words, with characters ?@
2480         and ?_ being considered words constituents.
2481         (org-set-regexps-and-options): Don't read setup files from
2482         read-only buffers.
2483         (org-file-contents): When no-error is non-nil, throw a less
2484         intrusive message.
2486         * org-agenda.el (org-agenda-scheduled-leaders)
2487         (org-agenda-deadline-leaders): Re-align leaders to the left,
2488         back to a 11 characters width.
2490         * org.el (org-refile-cache-check-set): More informative message.
2492         * org-agenda.el (org-tags-view): Set the matcher after preparing
2493         the agenda, as `org-tag-groups-alist-for-agenda' might be needed.
2494         (org-agenda-filter-make-matcher): New parameter `filter' and
2495         `type'.  Handle group tags.
2496         (org-agenda-filter-expand-tags): New function.
2497         (org-agenda-filter-apply): Handle group tags.
2499         * org.el (org-blank-before-new-entry): Tiny docstring fix.
2500         (org-tag-alist-for-agenda): Add docstring.
2501         (org-tag-groups-alist-for-agenda): New global variable.
2502         (org-tag-groups-alist): New buffer-local variable.
2503         (org-tag-alist, org-tag-persistent-alist): Handle :grouptags.
2504         (org-group-tags): New option.
2505         (org-toggle-group-tags): New command.
2506         (org-mode-map): Bind `org-toggle-group-tags' to `C-c C-x q'.
2507         (org-set-regexps-and-options-for-tags): New function, factored
2508         out from `org-set-regexps-and-options'.
2509         (org-set-regexps-and-options): Don't handle tags, they are now
2510         handled separately by `org-set-regexps-and-options-for-tags'.
2511         (org-assign-fast-keys): Handle :grouptags.
2512         (org-mode): Use `org-set-regexps-and-options-for-tags' on top
2513         of `org-set-regexps-and-options'.
2514         (org-fontify-meta-lines-and-blocks-1): Fontify group tags.
2515         (org-make-tags-matcher): Expand group tags in the matcher.
2516         (org-tags-expand): New function.
2517         (org-tags-completion-function): Tiny code clean up.
2518         (org-set-current-tags-overlay): Add a docstring.
2519         (org-fast-tag-selection): Highlight group tags.
2520         (org-agenda-prepare-buffers): Set `org-tag-alist-for-agenda'
2521         and `org-tag-groups-alist-for-agenda'.  Don't uniquify
2522         `org-tag-alist-for-agenda' as we may need the grouping
2523         information for filtering in the agenda buffer.
2524         (org-uniquify-alist): New function.
2526         * org-pcomplete.el (pcomplete/org-mode/file-option/tags):
2527         Handle :grouptags.
2529         * org-faces.el (mode-line): New face for group tags.
2531         * ob-core.el (org-babel-hash-show-time): Tiny docstring
2532         enhancement.
2534         * org-element.el (org-element-paragraph-separate): Use new name
2535         `org-list-allow-alphabetical'.
2537         * org-list.el (org-list-allow-alphabetical): Rename from
2538         `org-alphabetical-lists'.
2539         (org-list-empty-line-terminates-plain-lists): Rename from
2540         `org-empty-line-terminates-plain-lists'.
2541         (org-checkbox-hierarchical-statistics): Rename from
2542         `org-hierarchical-checkbox-statistics'.
2544         * org.el (org-image-actual-width): Update docstring.
2545         (org-display-inline-images): Use the #+attr_html: :width syntax.
2546         (org-modules): Remove deleted libraries, add new ones.
2548         * ox-html.el (org-html-indent): Default to nil, as non-nil can
2549         break indentation of source code blocks.
2550         (org-html-link): Don't insert nil if there is no attributes.
2551         (org-html-link--inline-image): Use the correct syntax for image
2552         attributes.  Allow :width :height and :alt as predefined
2553         attributes for inline images.
2554         (org-html-link, org-html-table): Use the standard syntax---
2555         e.g. "#+attr_html: :options ..."--- to get attributes.
2557         * ox.el (org-export-table-cell-alignment): Treat an empty cell as
2558         a number if it follows a number.
2560         * ox.el (org-export-as): Allow user functions in
2561         `org-export-before-parsing-hook' to modify the point.
2563         * org.el (org-entry-add-to-multivalued-property): Add the new
2564         value by appending it at the end of the line.
2566         * org-table.el (orgtbl-to-generic): New parameter `backend' to
2567         export cells content using a specific backend.
2568         (orgtbl-to-latex, orgtbl-to-texinfo): Export cells to LaTeX
2569         and Texinfo before sending the table.
2571         * ox.el (org-export-define-backend)
2572         (org-export-define-derived-backend): Make defuns and update
2573         docstrings.
2575         * ox-texinfo.el (texinfo):
2576         * ox-org.el (org):
2577         * ox-odt.el (odt):
2578         * ox-md.el (md):
2579         * ox-man.el (man):
2580         * ox-latex.el (latex):
2581         * ox-icalendar.el (icalendar):
2582         * ox-html.el (html):
2583         * ox-beamer.el (beamer):
2584         * ox-ascii.el (ascii): Use `org-export-define-backend' and
2585         `org-export-define-derived-backend' as defuns, not macros.
2587         * org.el (org-set-regexps-and-options):
2588         Use `org-table-set-constants'.
2590         * org-table.el (org-table-set-constants): New function.
2591         (orgtbl-ctrl-c-ctrl-c): Use it.
2593         * org-pcomplete.el
2594         (pcomplete/org-mode/block-option/clocktable): Add parameters.
2596         * org.el (org-options-keywords): Remove "INFOJS_OPT": it is added
2597         through ox-html.el now.
2599         * org-agenda.el (org-agenda-redo): Set filters after agenda has
2600         been redone.
2602         * org.el (org-store-link): When there is an active region, store
2603         each line as a separate link.
2604         (org-insert-all-links): Use a default description when links
2605         do not have one already.
2607         * org-agenda.el (org-agenda-redo): Fix code typo.
2609         * org.el (org-link-display-format): Fix docstring.
2611         * ox-publish.el (org-publish-org-to)
2612         (org-publish-org-sitemap, org-publish-find-title)
2613         (org-publish-find-date)
2614         (org-publish-cache-file-needs-publishing):
2615         Set `org-inhibit-startup' to t when visiting files for
2616         publication.
2618         * ox-org.el (org-org-publish-to-org): Kill buffers not visited at
2619         publication time.
2621         * org.el (org-set-font-lock-defaults): Set font-lock keywords
2622         correctly for plain links.
2624         * ox-texinfo.el (org-texinfo-logfiles-extensions)
2625         (org-texinfo-remove-logfiles): New options.
2626         (org-texinfo-compile): Use the new options to remove files
2627         after compiling a Texinfo file.
2629         * ox-texinfo.el (org-texinfo-coding-system): New option.
2630         (org-texinfo-template): Add @documentlanguage and
2631         @documentencoding.
2632         (org-texinfo-headline): Add a space before tags.
2633         (org-texinfo-export-to-texinfo, org-texinfo-export-to-info):
2634         Use `org-texinfo-coding-system' as the coding system for
2635         exported buffers.
2636         (org-texinfo-publish-to-texinfo): New function.
2638         * ox-texinfo.el (org-texinfo-filename)
2639         (org-texinfo-info-process, org-texinfo-max-toc-depth)
2640         (org-texinfo--sanitize-menu): Docstrings tiny fixes.
2642         * org-agenda.el (org-agenda-dim-blocked-tasks): Only throw a
2643         message when called interactively.  Fix docstring position in the
2644         defun.
2646         * ox-html.el (org-html--build-meta-info): Fix setting of
2647         http-equiv="Content-Type".
2649         * org-agenda.el (org-agenda-mode-map): Use ?= for filtering by
2650         regexp and ?| for removing all filters.
2651         (org-agenda-filter-remove-all): New command.
2652         (org-agenda-filter-show-all-re): Rename from
2653         `org-agenda-filter-show-all-regexp'.
2654         (org-agenda-filter-by-regexp):
2655         Call `org-agenda-filter-show-all-re'.
2657         * org-list.el (org-insert-item): Don't ask for a definition term
2658         when insert an item in a description list.
2660         * org-agenda.el (org-agenda-Quit): Set `org-agenda-buffer' to nil.
2661         This prevents bugs when calling e.g., `org-diary' after quitting
2662         an agenda window.
2663         (org-agenda-entry-types): Move earlier in the file.
2664         (org-agenda-custom-commands-local-options, org-diary)
2665         (org-agenda-get-day-entries): Don't hardcode the default agenda
2666         entry types, use `org-agenda-entry-types'.
2667         (org-agenda-custom-commands): Fix default setting so that the
2668         customize interface does not complain about a mismatch.
2670         * org.el (org-export-backends): Add new backends.
2672         * ox-html.el (org-html-indent): New option.
2673         (org-html-use-unicode-chars): New option.
2674         (org-html-pretty-output): Delete.
2675         (org-html-final-function): Use the new options.
2677         * ox-html.el (org-html-link): Fix handling of abbreviated links
2678         which include a file: protocol.
2679         (org-html--build-postamble): Default to today's date.
2680         (org-html--build-meta-info): When #+DATE contains a time stamp,
2681         parse it as a RFC 822 time string, otherwise simply insert the
2682         date as a string.
2684         * ox.el (org-export--copy-to-kill-ring-p): New function.
2685         (org-export-copy-to-kill-ring): Use 'if-interactive as the
2686         default.
2687         (org-export-to-buffer, org-export-to-file):
2688         Use `org-export--copy-to-kill-ring-p' and fix docstrings.
2690         * ox-odt.el (org-odt-export-as-odf):
2691         Use `org-export--copy-to-kill-ring-p'.
2693         * org.el (org-set-font-lock-defaults): Fontify macros.
2695         * org-faces.el (org-macro): New face.
2697         * org.el (org-clone-subtree-with-time-shift): Only prompt for a
2698         time shift when the entry at point has a time stamp and when the
2699         command is called with a universal prefix argument.
2700         (org-execute-file-search-functions): Docstring fix.
2702         * org-compat.el (org-defvaralias): Fix declare form.
2704         * org-clock.el (org-clocktable-defaults): Add :mstart parameter.
2705         (org-clock-special-range): New argument mstart.
2706         (org-dblock-write:clocktable, org-dblock-write:clocktable)
2707         (org-clocktable-write-default, org-clocktable-steps)
2708         (org-clock-get-table-data): Handle the :mstart parameter.
2710         * org.el (org-map-entries): Use `save-window-excursion'.
2712         * org-compat.el (org-defvaralias): New compatibility function.
2714         * org-list.el (org-cycle-include-plain-lists): Also add to the
2715         'org-cycle customization group.
2716         (org-list-allow-alphabetical)
2717         (org-checkbox-hierarchical-statistics)
2718         (org-list-empty-line-terminates-plain-lists)
2719         (org-list-description-max-indent): Rename and add aliases to old
2720         names.
2722         * org-element.el (org-element-context): Prevent an error when
2723         getting the context of a table rule.
2725         * org.el (org-deadline-time-hour-regexp)
2726         (org-scheduled-time-hour-regexp): New buffer local variables.
2727         (org-set-regexps-and-options): Set the new variables.
2729         * org-agenda.el (org-agenda-custom-commands-local-options):
2730         Add :deadline* and :scheduled* to the list of possible agenda entry
2731         types.
2732         (org-agenda): Implement a new agenda type agenda* with :scheduled*
2733         and :deadline* replacing :scheduled and :deadline respectively in
2734         agenda entry types.  In such agenda, only scheduled and deadline
2735         items with a time specification [h]h:mm will be considered.
2736         (org-agenda-entry-types): Document the new agenda entry types
2737         :scheduled* and :deadline*.
2738         (org-agenda-list): New parameter `with-hour'.  Use :scheduled* and
2739         :deadline*.
2740         (org-agenda-get-day-entries): Handle :scheduled* and :deadline*.
2741         (org-agenda-get-deadlines, org-agenda-get-scheduled):
2742         New parameter `with-hour'.  Use `org-deadline-time-hour-regexp' or
2743         `org-scheduled-time-hour-regexp' as the search string if needed.
2744         (org-agenda-to-appt): Use :scheduled* and :deadline* by default,
2745         as other scheduled and deadline items don't have a time spec and
2746         cannot be turned into appointments.  Trim bracket links and use
2747         only the description as the appointment text.
2748         (org-agenda-get-restriction-and-command):
2749         Add default description for the agenda* view.
2750         (org-agenda-run-series): Handle agenda* views.
2752         * org-faces.el (org-agenda-filter-tags)
2753         (org-agenda-diary, org-agenda-calendar-event)
2754         (org-agenda-calendar-sexp): Minor code clean up.
2755         (org-agenda-filter-category): Docstring fix.
2756         (org-agenda-filter-category): New face.
2758         * org-agenda.el (org-agenda-local-vars):
2759         Add `org-agenda-re-filter-overlays' and `org-agenda-regexp-filter'.
2760         (org-agenda-mode-map): Use "|" for
2761         `org-agenda-filtered-by-regexp'.
2762         (org-agenda-re-filter-overlays): New variable.
2763         (org-agenda-mark-filtered-text):
2764         Use `org-agenda-re-filter-overlays'.
2765         (org-agenda-finalize, org-agenda-redo): Allow regexp filtering.
2766         (org-agenda-filter-by-category): Set `org-agenda-category-filter'
2767         here instead of within `org-agenda-apply-filter'.
2768         (org-agenda-regexp-filter): New variable.
2769         (org-agenda-filter-by-regexp): New function to filter agenda
2770         buffers by regexp.
2771         (org-agenda-filter-make-matcher): Make matcher for regexp filters.
2772         (org-agenda-filter-apply): Don't set `org-agenda-tag-filter' and
2773         `org-agenda-category-filter'.  Maybe apply regexp filter.
2774         (org-agenda-filter-hide-line): Add docstring.
2775         Hide regexp-filtered lines.
2776         (org-agenda-filter-show-all-tag, org-agenda-filter-show-all-cat):
2777         Add docstring.
2778         (org-agenda-filter-show-all-regexp): New function.
2779         (org-agenda-set-mode-name): Add regexp-filter information.
2780         (org-agenda-custom-commands-local-options): Add regexp filter.
2781         (org-agenda-regexp-filter-preset): New variable.
2782         (org-agenda-prepare): Use the new variable.
2784         * ox-odt.el (org-odt-code, org-odt-verbatim):
2785         Use `org-odt--encode-plain-text'.
2787         * ox-html.el (org-html-link): Minor code clean-up.
2789         * org.el (org-insert-heading): DTRT when in a narrowed region.
2791         * org-compat.el (org-buffer-narrowed-p): New compatibility
2792         function.
2794         * ox-html.el (org-html-format-inline-image): Fix missing string in
2795         formatting string.
2797         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2798         New allowed value `repeated-after-deadline' which will prevent the
2799         display of scheduled items when repeated after the current
2800         deadline.
2801         (org-agenda-get-scheduled): Handle the new value.
2803         * org.el (org-time-string-to-absolute): Tiny docstring fix.
2805         * ox-html.el (org-html-style-default): New classes `footpara' and
2806         `footdef' for the footnotes paragraphs and definitions.
2807         (org-html-format-footnote-definition): Wrap the footnote
2808         defintions into their own div.
2809         (org-html-paragraph): Don't add extra <br/> after a paragraph in a
2810         footnote.
2811         (org-html-container-element, org-html-divs): Mention that
2812         org-info.js will not work when changing the defaults.
2814         * ox-md.el (md): Export underlined text as verbatim.
2816         * ox-html.el (org-html-style-default): New CSS .underline and
2817         #org-div-home-and-up.
2818         (org-html-text-markup-alist): Don't hardcode the style, use the
2819         new class .underline.
2820         (org-html-home/up-format): Don't hardcode the style, use
2821         #org-div-home-and-up.
2822         (org-html-center-block): Use the .center class.
2824         * ox-md.el (org-md-underline): New function.
2826         * org-agenda.el (org-sorting-choice): Fix default value.
2828         * ox-html.el (org-html-format-footnote-definition)
2829         (org-html-footnote-section): Don't wrap footnote definitions into
2830         tables.
2831         (org-html-paragraph): Add HTML style and class parameter when the
2832         paragraph is in a footnote definition.  Also allow to add an extra
2833         string after the paragraph.  Further parameters can be added for
2834         paragraphs in other environments.
2835         (org-html-template): Always include the title as <h1
2836         class="title"></h1>, even when there is no title, as org-info.js
2837         needs it.
2839         * org-element.el (org-element-map): Fix tiny typo in docstring.
2841         * org-agenda.el (org-agenda-day-view): Fix parameter's name.
2843         * ox-html.el (org-html-format-inline-image): Don't add superfluous
2844         <p></p> when there is an empty caption.
2846         * org-agenda.el (org-agenda-refile): Enhance docstring.  Allow to
2847         clear the refile cache with C-0 or C-u C-u C-u.
2849         * ox-md.el (org-md-export-as-markdown): Tiny docstring fix.  Fix a
2850         library keyword in the comment section.
2852         * org.el (org-toggle-item): Convert all normal lines as items when
2853         there is a region, and only convert the first line when called
2854         with a universal prefix argument.  This is consistent with the
2855         behavior of `org-toggle-heading'.
2856         (org-toggle-heading): When the region contains only normal lines,
2857         a universal prefix arg will only convert the first line.  This is
2858         more consistent with `org-toggle-item'.
2859         (orgstruct-setup): Add `org-ctrl-c-minus' and `org-ctrl-c-star'.
2860         (customize-package-emacs-version-alist):
2861         Update `customize-package-emacs-version-alist'.
2863         * ox-texinfo.el (org-export-texinfo)
2864         (org-texinfo-filename, org-texinfo-classes)
2865         (org-texinfo-format-headline-function)
2866         (org-texinfo-node-description-column)
2867         (org-texinfo-active-timestamp-format)
2868         (org-texinfo-link-with-unknown-path-format)
2869         (org-texinfo-tables-verbatim)
2870         (org-texinfo-table-scientific-notation)
2871         (org-texinfo-text-markup-alist)
2872         (org-texinfo-format-drawer-function)
2873         (org-texinfo-format-inlinetask-function)
2874         (org-texinfo-info-process):
2875         * ox-odt.el (org-odt-format-drawer-function)
2876         (org-odt-format-headline-function)
2877         (org-odt-format-inlinetask-function):
2878         * ox-md.el (org-export-md, org-md-headline-style): Fix :version
2879         and :package-version keywords.
2881         * org.el (org-time-clocksum-use-effort-durations): Don't set to t
2882         by default as it will change many clocktables out there.  Let the
2883         user decides whether she wants to turn this on.
2885         * org.el (org-agenda-inhibit-startup): Revert to nil as the default.
2887         * org-agenda.el (org-agenda-dim-blocked-tasks): Revert to t as the
2888         default.
2890         * ox-html.el (org-html-style-default): More cosmetic tweaks.
2891         (org-html-head-include-default-style): Minor docstring update.
2893         * ox.el (org-export-snippet-translation-alist)
2894         (org-export-coding-system, org-export-in-background)
2895         (org-export-async-init-file, org-export-invisible-backends)
2896         (org-export-dispatch-use-expert-ui):
2897         * ox-texinfo.el (org-texinfo-filename, org-texinfo-classes)
2898         (org-texinfo-format-headline-function)
2899         (org-texinfo-node-description-column)
2900         (org-texinfo-active-timestamp-format)
2901         (org-texinfo-link-with-unknown-path-format)
2902         (org-texinfo-tables-verbatim)
2903         (org-texinfo-table-scientific-notation)
2904         (org-texinfo-text-markup-alist)
2905         (org-texinfo-format-drawer-function)
2906         (org-texinfo-format-inlinetask-function)
2907         (org-texinfo-info-process):
2908         * ox-man.el (org-man-tables-centered)
2909         (org-man-table-scientific-notation)
2910         (org-man-source-highlight, org-man-source-highlight-langs)
2911         (org-man-pdf-process, org-man-logfiles-extensions):
2912         * ox-html.el (org-html-allow-name-attribute-in-anchors)
2913         (org-html-coding-system, org-html-divs):
2914         * ox-ascii.el (org-ascii-text-width)
2915         (org-ascii-headline-spacing, org-ascii-indented-line-width)
2916         (org-ascii-paragraph-spacing, org-ascii-charset)
2917         (org-ascii-underline, org-ascii-bullets)
2918         (org-ascii-links-to-notes)
2919         (org-ascii-table-keep-all-vertical-lines)
2920         (org-ascii-table-widen-columns)
2921         (org-ascii-table-use-ascii-art)
2922         (org-ascii-format-drawer-function)
2923         (org-ascii-format-inlinetask-function):
2924         * org.el (org-modules, org-export-backends)
2925         (org-highlight-latex-and-related, orgstruct-setup-hook):
2926         * org-attach.el (org-attach-git-annex-cutoff):
2927         * org-archive.el (org-archive-file-header-format):
2928         * org-agenda.el (org-agenda-todo-ignore-time-comparison-use-seconds):
2929         * ob-python.el (org-babel-python-hline-to)
2930         (org-babel-python-None-to):
2931         * ob-ditaa.el (org-ditaa-eps-jar-path):
2932         * ob-core.el (org-babel-results-keyword): Add :version and
2933         :package-version.
2935         * ox-ascii.el: Use utf-8-emacs as the file coding system.
2937         * org-capture.el (org-capture-templates, org-capture-string)
2938         (org-capture-steal-local-variables)
2939         (org-capture-empty-lines-before)
2940         (org-capture-empty-lines-after)
2941         (org-capture-insert-template-here)
2942         (org-capture-import-remember-templates): Fix or add docstring.
2944         * ox-html.el (org-html-style-default): Cosmetic changes.
2945         (org-html-postamble, org-html-preamble)
2946         (org-html-preamble-format): Update docstring.
2948         * org-agenda.el (org-agenda-format-date-aligned)
2949         (org-agenda-time-of-day-to-ampm-maybe)
2950         (org-scheduled-past-days)
2951         (org-agenda-normalize-custom-commands)
2952         (org-agenda-run-series, org-store-agenda-views): Fix or add
2953         docstring.
2955         * ox-latex.el:
2956         (org-latex-table-scientific-notation, org-latex-verse-block):
2957         Fix typos in docstrings.
2959         * ox-html.el (org-html-text-markup-alist)
2960         (org-html-pretty-output, org-html-link-org-files-as-html)
2961         (org-html-postamble, org-html-preamble)
2962         (org-html-format-inline-image, org-html-splice-attributes)
2963         (org-export-splice-style, org-html-htmlize-region-for-paste)
2964         (org-html-fix-class-name)
2965         (org-html-format-footnote-reference)
2966         (org-html-format-footnotes-section)
2967         (org-html-footnote-section, org-html--anchor)
2968         (org-html--todo, org-html--tags, org-html-format-headline)
2969         (org-html-toc, org-html-format-section, org-html-checkbox)
2970         (org-html-format-list-item, org-html-format-latex)
2971         (org-html-encode-plain-text)
2972         (org-html-table-first-row-data-cells)
2973         (org-html-table--table.el-table, org-html-final-function):
2974         Fix or add docstring.
2976         * org.el (org-insert-heading): If the current item has a checkbox,
2977         insert the new item with a checkbox.
2979         * org.el (org-insert-heading): Don't delete spaces in empty
2980         headlines.
2982         * ox-odt.el (org-odt-keyword): Fix typo.
2984         * ox-latex.el (org-latex-toc-command): Cosmetic docstring change.
2986         * ox-html.el (org-html-encode-plain-text): Fix typo in docstring.
2988         * org-faces.el (org-column): Update docstring.
2990         * org-colview.el: Update error message.
2992         * org.el (org-modules): Do not include org-mew.el, org-vm.el,
2993         org-w3m.el, org-wl.el as these files are now part of contrib/.
2995         * org-mew.el:
2996         * org-vm.el:
2997         * org-w3m.el:
2998         * org-wl.el: Delete (moved to Org's contrib/ directory.)
3000         * org-capture.el (org-mks): Move from org-mks.el.
3002         * org-mks.el: Delete.
3004         * ox-html.el (html): Update HTML options names.
3006         * org.el (org-show-context): Don't try to fix ellipsis when
3007         showing a subtree in agenda.
3009         * ox-html.el (html): Reintroduce #+HTML_HEAD_EXTRA, previously
3010         known as HTML_STYLE_EXTRA.
3011         (org-html-head): Enhance docstring.
3012         (org-html-head-extra): Reintroduce.  Was `org-html-style-extra'.
3013         (org-html--build-head): Rename from `org-html--build-head'.
3014         Add information from `org-html-head-extra'.
3015         (org-html-template): Use `org-html--build-head'.
3017         * ox-html.el (org-html-display-buffer-mode): Delete.
3018         (org-html-export-as-html): Use `set-auto-mode' instead of
3019         `org-html-display-buffer-mode'.
3021         * org-agenda.el (org-agenda-write): Overwrite file when called
3022         non-interactively.
3024         * org-mobile.el (org-mobile-edit): Workaround a
3025         `org-insert-heading-respect-content' bug which prevents correct
3026         insertion when point is invisible
3028         * org.el (org-previous-line-empty-p): New parameter to allow
3029         checking next line.  Add a docstring.
3030         (org-insert-heading): Handle two universal prefix arguments as
3031         advertised in the docstring.  Don't insert new lines when
3032         creating a heading after the first heading in the current
3033         subtree.
3034         (org-insert-heading-respect-content): New optional argument
3035         arg, passed to `org-insert-heading'.
3037         * org.el (org-mode): Remove syntax entries.
3038         Use `org-backward-element' and `org-forward-element' for
3039         `beginning-of-defun-function' and `end-of-defun-function': this
3040         allows using C-M-a and C-M-e before the first headline.
3042         * ox-html.el (html): Remove :html-htmlized-css-url :options-alist.
3044         * ox-org.el (org-org-htmlized-css-url): Rename from
3045         `org-html-htmlized-org-css-url' and moved here from ox-html.el.
3046         (org-org-publish-to-org): Handle :htmlized-source in
3047         publishing projects.
3049         * ox-html.el (org-html-style-default): Update docstring.
3050         (org-html-infojs-install-script, org-html--build-style):
3051         Update property names.
3052         (org-html-head-include-scripts)
3053         (org-html-head-include-default-style, org-html-head):
3054         Respectively rename from `org-html-style-include-scripts',
3055         `org-html-style-include-default' and `org-html-style', now
3056         obsolete.
3057         (org-html-style-extra): Delete.
3059         * org-clock.el (org-clock-out): Fix bug: if a closing note needs
3060         to be stored in the drawer where clocks are stored, let's
3061         temporarily remove `org-clock-remove-empty-clock-drawer' from
3062         `org-clock-out-hook'.
3064         * ob-tangle.el (org-babel-tangle): Remove unused attempt of
3065         prompting the user of the tangle file name since :tangle is always
3066         set.  Don't prompt for a tangle file name when called with two
3067         universal prefix arg outside of a src block.
3068         Use `org-babel-tangle-single-block'.
3069         (org-babel-tangle-single-block): New function.
3070         (org-babel-tangle-collect-blocks): Use the new function.
3072         * org-table.el (org-table-convert-region, org-table-export)
3073         (org-table-align, org-table-beginning-of-field)
3074         (org-table-copy-down, org-table-check-inside-data-field)
3075         (org-table-insert-column, org-table-find-dataline)
3076         (org-table-delete-column, org-table-move-column)
3077         (org-table-insert-row, org-table-insert-hline)
3078         (org-table-kill-row, org-table-paste-rectangle)
3079         (org-table-wrap-region, org-table-sum, org-table-get-formula)
3080         (org-table-get-formula, org-table-get-stored-formulas)
3081         (org-table-fix-formulas, org-table-maybe-eval-formula)
3082         (org-table-rotate-recalc-marks, org-table-eval-formula)
3083         (org-table-get-range, org-table-get-descriptor-line)
3084         (org-table-find-row-type, org-table-recalculate)
3085         (org-table-iterate, org-table-iterate-buffer-tables)
3086         (org-table-formula-handle-first/last-rc)
3087         (org-table-edit-formulas, org-table-fedit-shift-reference)
3088         (org-rematch-and-replace, org-table-shift-refpart)
3089         (org-table-fedit-finish, org-table-fedit-lisp-indent)
3090         (org-table-show-reference, org-table-show-reference)
3091         (org-table-show-reference, org-table-show-reference)
3092         (org-table-force-dataline, orgtbl-error, orgtbl-export)
3093         (orgtbl-send-replace-tbl, org-table-to-lisp)
3094         (orgtbl-send-table, orgtbl-send-table, orgtbl-send-table)
3095         (orgtbl-toggle-comment, orgtbl-insert-radio-table)
3096         (orgtbl-to-unicode, org-table-get-remote-range)
3097         (org-table-get-remote-range, org-table-copy-dow)
3098         (org-table-check-inside-data-field, org-table-insert-colum)
3099         (org-table-find-dataline, org-table-delete-colum)
3100         (org-table-move-column, org-table-insert-ro)
3101         (org-table-insert-hline, org-table-kill-ro)
3102         (org-table-paste-rectangle, org-table-wrap-regio)
3103         (org-table-sum, org-table-get-formul)
3104         (org-table-get-stored-formulas, org-table-fix-formula)
3105         (org-table-maybe-eval-formul, org-table-rotate-recalc-marks)
3106         (org-table-eval-formul, org-table-get-range)
3107         (org-table-get-descriptor-lin, org-table-find-row-type)
3108         (org-table-recalculat, org-table-iterate)
3109         (org-table-iterate-buffer-table)
3110         (org-table-formula-handle-first/last-r)
3111         (org-table-edit-formulas, org-table-fedit-shift-referenc)
3112         (org-rematch-and-replace, org-table-shift-refpar)
3113         (org-table-fedit-finish, org-table-fedit-lisp-inden)
3114         (org-table-show-reference, org-table-force-datalin)
3115         (orgtbl-error, orgtbl-export, orgtbl-send-replace-tb)
3116         (org-table-to-lisp, orgtbl-send-tabl, orgtbl-toggle-comment)
3117         (orgtbl-insert-radio-tabl, orgtbl-to-unicode)
3118         (org-table-get-remote-range): Use `user-error' instead of
3119         `error' for user errors.
3121         * ob-core.el (org-babel-load-in-session): Throw a useful error
3122         when there is no code block at point.
3124         * ob-tangle.el (org-babel-tangle): Rename the ONLY-THIS-BLOCK
3125         parameter to ARG.  Allow two universal prefix arguments to tangle
3126         by the target file of the block at point.
3127         (org-babel-tangle-collect-blocks): New parameter TANGLE-FILE
3128         to restrict the collection of blocks to those who will be
3129         tangled in TARGET-FILE.
3131         * org-src.el (org-edit-src-auto-save-idle-delay): Use a delay of 0
3132         by default (i.e., deactivate auto-saving.)
3133         (org-edit-src-code): Set `buffer-auto-save-file-name' for
3134         auto-saving with `auto-save-mode'.
3136         * org.el (org-deadline, org-schedule): When called with two
3137         universal prefix arguments, set the warning time or the delay
3138         relatively to the current timestamp, not to today's date.
3140         * org-agenda.el (org-agenda-filter-apply):
3141         Deactive `org-agenda-entry-text-mode' when filtering.
3142         (org-agenda-entry-text-mode): Don't allow in filtered views.
3143         Don't show the maximum number of lines when turning off.
3145         * ox-html.el (org-html-headline): Add comment.
3147         * org.el (org-mode): Set `paragraph-start'.
3149         * org-agenda.el (org-agenda-entry-text-leaders): New option.
3150         (org-agenda-entry-text-show-here): Use it.
3152         * ox-html.el (org-html-link--inline-image): Always retrieve
3153         attributes for inline images.
3154         (org-html-link): Fix trailing whitespace at the end of the opening
3155         <a ...> HTML tag.
3156         (org-html-headline): For headlines whose first element is a
3157         headline and not a section, pretend there is an empty section (as
3158         "") for the correct HTML div to be inserted.
3160         * org-agenda.el (org-agenda-collect-markers)
3161         (org-create-marker-find-array): Move to ox-icalendar.el.
3162         (org-agenda-marker-table, org-check-agenda-marker-table):
3163         Delete.
3165         * ox-icalendar.el (org-icalendar-create-uid): New parameter
3166         H-MARKERS to only update some headlines, not the whole file.
3167         (org-icalendar--combine-files): When exporting to an .ics file
3168         only add UID to the headlines shown in the agenda buffer.
3169         (org-agenda-collect-markers, org-create-marker-find-array):
3170         Move here.
3172         * org-agenda.el (org-agenda-write): Ask before overwriting an
3173         existing file.
3175         * org-pcomplete.el (pcomplete/org-mode/file-option/infojs_opt):
3176         Use `org-html-infojs-opts-table'.
3178         * ox-html.el (org-html-infojs-opts-table):
3179         (org-html-use-infojs, org-html-infojs-options)
3180         (org-html-infojs-template): Move from ox-jsinfo.el.  Rename using
3181         the org-html- prefix.
3182         (org-html-infojs-install-script): Move from ox-jsinfo.el.
3184         * ox-jsinfo.el: Delete.
3186         * ox-html.el (org-html-section): Fix indentation.
3187         (org-html-inner-template): Add the document title here, within the
3188         "content" class, as the org-info.js needs it.
3189         (org-html-template): Don't include the document's title here.
3190         (org-html-format-inlinetask-function): Remove wrong example.
3192         * ob-tangle.el (org-babel-tangle-collect-blocks): Don't collect
3193         blocks in commented out headings.
3195         * ox-latex.el (org-latex-logfiles-extensions)
3196         (org-latex-remove-logfiles): Improve docstrings.
3198         * org-capture.el (org-capture): Cosmetic fix.
3200         * org-protocol.el (org-protocol-create-for-org)
3201         (org-protocol-create): Small docstrings enhancements.
3203         * org-protocol.el (org-protocol-capture): Small docstring fix.
3205         * org.el (org-speed-command-activate): Only forbid in src code
3206         blocks.
3208         * org-indent.el
3209         (org-indent-add-properties): Bugfix: prevent negative value for
3210         `added-ind-per-lvl'.
3212         * org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
3213         `isearch-mode-end-hook' so that any isearch fixes the problem with
3214         ellipsis on the first line.
3215         (org-fix-ellipsis-at-bol): New defsubst.
3216         (org-show-context, org-isearch-end): Use it.
3218         * org-agenda.el (org-agenda-deadline-leaders): New formatting
3219         string for past deadlines.
3220         (org-agenda-scheduled-leaders): Small change.
3221         (org-agenda-get-deadlines): Use the new formatting string.
3223         * ob-lob.el (org-babel-lob-execute): Rename cache? to cache-p.
3225         * org.el (org-speed-command-activate): Don't activate speed
3226         commands within blocks.
3228         * org.el (org-show-context): Remove useless catch.  Make sure the
3229         top of the window is a visible headline.
3230         (org-activate-plain-links): Remove unused catch.
3232         * org-macs.el (org-get-alist-option): Return nil, not (nil), so
3233         that `org-show-context' DTRT.
3235         * org.el (org-imenu-get-tree): Fix bug when matching against empty
3236         headlines.
3237         (org-overview): Stay on current line.
3238         (org-map-entries): Fix docstring.
3240         * org-macs.el (org-unmodified): Update comment.  Don't define
3241         `with-silent-modifications' for emacsen that don't have it.
3243         * org-compat.el (org-with-silent-modifications):
3244         New compatibility macro.
3246         * org.el (org-refresh-category-properties)
3247         (org-refresh-properties, org-entry-blocked-p)
3248         (org-agenda-prepare-buffers):
3250         * org-indent.el (org-indent-remove-properties)
3251         (org-indent-add-properties):
3253         * org-colview.el (org-columns-display-here)
3254         (org-columns-remove-overlays, org-columns-quit)
3255         (org-columns-edit-value, org-columns-compute-all)
3256         (org-columns-compute, org-agenda-colview-compute):
3258         * org-clock.el (org-clock-sum): Use the compatibility macro
3259         `org-with-silent-modifications' instead of
3260         `with-silent-modifications'.
3262         * org.el (org-sort-remove-invisible): Remove emphasis markers.
3264         * org.el (org-sort-remove-invisible): Use defsust.  Do not only
3265         check against invisible links, truly returns the visible part of
3266         the string.
3267         (org-sort-remove-invisible): Add a docstring.
3268         (org-sort-entries): Remove hidden links when comparing entries.
3270         * org-list.el (org-sort-list): Remove hidden links when comparing
3271         list items.
3273         * ox-html.el (org-html-headline): Fix typo.
3274         (org-html-format-headline--wrap): Cosmetic change.
3276         * org.el (org-at-clock-log-p): Delete.
3278         * org-clock.el (org-at-clock-log-p): Move here.
3280         * ox-html.el (org-html-format-headline-function): Fix docstring.
3282         * ob-sql.el (org-babel-execute:sql): Add header row delimiter for
3283         both mysql and postgresql.
3285         * org.el (org-agenda-prepare-buffers): Don't use
3286         `with-silent-modifications' too early.
3288         * org-macs.el: Add a comment on when to use `org-unmodified' and
3289         when to use `with-silent-modifications'.
3291         * org-colview.el (org-columns-display-here)
3292         (org-columns-remove-overlays, org-columns-quit)
3293         (org-columns-edit-value, org-columns-compute-all)
3294         (org-columns-compute, org-agenda-colview-compute):
3295         * org-clock.el (org-clock-sum):
3296         * org.el (org-refresh-category-properties)
3297         (org-refresh-properties, org-entry-blocked-p)
3298         (org-agenda-prepare-buffers): Use `with-silent-modifications'
3299         instead of `org-unmodified'.
3301         * ox-publish.el (org-publish-sitemap-date-format): Small docstring
3302         enhancement.
3304         * ox-latex.el (org-latex-format-headline-default-function):
3305         New option.
3306         (org-latex-format-headline-function): Use the new option as
3307         the default value.
3308         (org-latex-toc-command): Don't add vertical space after the table
3309         of contents.
3311         * org.el (org-entry-blocked-p): Use `org-unmodified' instead of
3312         `org-with-buffer-modified-unmodified'.
3313         (org-agenda-prepare-buffers): Fix indentation.
3315         * org-macs.el (org-unmodified): Rename from
3316         `org-with-buffer-modified-unmodified'.
3317         (org-with-buffer-modified-unmodified): Delete.
3319         * ob-python.el (org-babel-python-command): Use a defcustom.
3320         (org-babel-python-mode): Use a defcustom and default to
3321         'python-mode when featured.
3323         * org-agenda.el (org-agenda-start-day): Refer to `org-read-date'
3324         in the docstring.
3326         * ox-org.el (org-org-publish-to-org): Autoload.
3328         * org-protocol.el:
3329         * org-bibtex.el: Remove remember support.
3331         * org-clock.el (org-clock-heading-for-remember): Delete.
3332         (org-clock-in): Do not set the heading for remember.
3334         * org.el (org-move-subtree-down, org-forward-element)
3335         (org-backward-element):
3337         * org-table.el (org-table-previous-field)
3338         (org-table-move-column, org-table-move-row):
3340         * org-list.el (org-move-item-down, org-move-item-up)
3341         (org-cycle-item-indentation): Use `user-error' when moving or
3342         modifying the element at point is not possible.
3344         * ox-html.el (org-html-table-header-tags)
3345         (org-html-table-data-tags, org-html-table-row-tags)
3346         (org-html-table-align-individual-fields): Use the
3347         org-export-html group.
3348         (org-html-inline-src-block, org-html-link): Fix error messages.
3349         (org-html-begin-plain-list): Fix formatting, better FIXME
3350         comment.
3352         * org.el (org-fill-paragraph): Fill using
3353         `org-mode-transpose-word-syntax-table'.
3355         * ox-org.el (org-org-publish-to-org): New defun.
3357         * ox-html.el (org-export-htmlize): Delete group.
3358         (org-html-htmlize-output-type)
3359         (org-html-htmlized-org-css-url)
3360         (org-html-htmlize-region-for-paste): Rename from
3361         org-export-htmlize-*.
3362         (org-html-htmlize-generate-css, org-html-fontify-code):
3363         Use the correct names.
3365         * org-compat.el (org-file-equal-p): New compatibility function.
3367         * ox.el (org-export-output-file-name): Use the new function.
3369         * org-clock.el (org-clock-set-current)
3370         (org-clock-delete-current): Delete.
3371         (org-clock-in, org-clock-out): Set and delete
3372         `org-clock-current-task'.  Minor code clean-up.
3374         * org-clock.el (org-clock-in, org-clock-in-last):
3375         Tell `org-current-time' to always return a past time.
3377         * org.el (org-current-time): New argument `past' to force
3378         returning a past time when rounding.
3380         * org-agenda.el (org-agenda-unmark-clocking-task): New function.
3381         (org-agenda-mark-clocking-task): Use it.
3382         (org-agenda-clock-in): Let the cursor where it is.
3383         (org-agenda-clock-out): Ditto.  Also remove the
3384         `org-agenda-clocking' overlay.
3386         * org-agenda.el (org-agenda-set-restriction-lock): Fix restriction
3387         so that it ends at the beginning of the next headline at the same
3388         level.
3390         * org.el (org-set-effort, org-property-next-allowed-value):
3391         When needed, update the current clock effort time.
3392         (org-next-link): New parameter `search-backward'.  Fix bug when at
3393         a link with no 'org-link face, e.g., in a DONE headline.  Throw a
3394         message instead of an error.
3395         (org-previous-link): Use `org-next-link'.
3397         * org-agenda.el (org-agenda-format-item): Only set the breadcrumbs
3398         when `org-prefix-has-breadcrumbs' is non-nil.
3400         * org.el (org-mode): Don't make characters from
3401         `org-emphasis-alist' word constituents.
3402         (org-mode-transpose-word-syntax-table): Rename from
3403         `org-syntax-table'.
3404         (org-transpose-words):
3405         Use `org-mode-transpose-word-syntax-table'.
3407         * ox.el (org-export--dispatch-ui)
3408         (org-export--dispatch-action): Use integers for control chars.
3410         * org-agenda.el (org-agenda-set-restriction-lock): Put the
3411         overlay until the end of the subtree, not the end of the
3412         headline.
3414         * org.el (org-entry-delete, org-delete-property): New optional
3415         arg delete-empty-drawer, a string, to delete any empty drawer
3416         with that name.
3417         (org-toggle-ordered-property): Delete the drawer "PROPERTIES"
3418         if empty.
3420         * org-src.el (org-src-mode-map, org-edit-src-code)
3421         (org-edit-fixed-width-region, org-edit-src-save): Use C-c C-k
3422         for `org-edit-src-abort'.
3424         * org.el (org-mode): Use org-unmodified during startup
3425         initialization for functions that may be inhibited.
3427         * org-table.el (org-table-align): Only set the window start
3428         when table alignment is performed in the selected window.
3430         * org-src.el (org-edit-src-auto-save-idle-delay): New option.
3431         (org-src-ask-before-returning-to-edit-buffer): Make a defcustom.
3432         (org-edit-src-code-timer): New timer variable.
3433         (org-edit-src-code): Run the timer.
3434         (org-edit-fixed-width-region): Enhance message.
3435         (org-edit-src-exit): Cancel the timer.
3436         (org-edit-src-save): Prevent saving when editing fixed-width
3437         buffer, exiting will save already.
3438         (org-edit-src-exit): Inconditionally kill the src/example
3439         editing buffer.
3441         * org-pcomplete.el (pcomplete/org-mode/file-option):
3442         Require 'org-element.  This fixes a bug about unbound variable
3443         `org-element-affiliated-keywords' when trying to complete a
3444         keyword before 'org-element was required.
3446         * org-list.el (org-list-bullet-string): Replace match when there
3447         is a match, otherwise just return the bullet.
3449         * org-src.el (org-src-mode-map): New binding C-c k to abort
3450         editing.
3451         (org-edit-src-code): Mention the keybinding to abort editing
3452         and go back to the correct position.
3453         (org-edit-src-abort): New command to abort editing.
3455         * ox-html.el (org-html--build-meta-info): Add a newline before
3456         the title meta information.
3458         * org.el (org-return-follows-link): Mention that this does not
3459         affect the behavior of RET in tables.
3461         * ox-html.el (org-html--build-mathjax-config): Only include
3462         MathJax configuration if the resulting HTML contains LaTeX
3463         fragments.
3465         * org.el (org-syntax-table, org-transpose-words): Delete.
3466         (org-mode): Syntactically Define {} and <> as parentheses.
3467         (org-drag-line-forward, org-drag-line-backward):
3468         New functions.
3469         (org-shiftmetaup, org-shiftmetadown): Fall back on the new
3470         functions instead of throwing an error.
3471         (org-make-org-heading-search-string): Don't use statistic or [x/y]
3472         cookies when creating a link.
3474         * ox-html.el (org-html-table): Append #+attr_html attributes.
3476         * org.el (org-emphasis-alist, org-protecting-blocks):
3477         * org-src.el (org-edit-src-find-region-and-lang):
3478         * org-list.el (org-list-forbidden-blocks):
3479         * org-footnote.el (org-footnote-forbidden-blocks):
3480         Remove references to the deleted DocBook exporter.
3482         * org.el (org-end-of-line): Don't throw an error outside elements.
3484         * ox-html.el (org-html-link): Don't throw an error if the value
3485         of the :ID: property has not been generated by uuidgen.
3487         * org-pcomplete.el (pcomplete/org-mode/file-option/x):
3488         Resurrect.  Use `org-default-options' to initialize completion
3489         fonctions for the most important keywords.
3491         * org-macs.el (org-default-options): Rename and adapt from
3492         `org-get-current-options'.
3494         * org.el (org-options-keywords): Add keywords.
3496         * ox-odt.el (org-odt-convert-read-params): Fix typo in prompt.
3498         * ox-latex.el (org-latex-horizontal-rule): Fix typo in docstring.
3500         * ox-html.el (org-html-display-buffer-mode): New option.
3501         (org-html-export-as-html): Use it.
3503         * ob-core.el (org-babel-insert-result): Fix bug when inserting
3504         an empty string as the result.
3506         * org.el (org-timestamp-change): New optional parameter
3507         `suppress-tmp-delay' to suppress temporary delay like "--2d".
3508         (org-auto-repeat-maybe): Suppress temporary delays.
3510         * org-agenda.el (org-agenda-get-scheduled): When the delay is
3511         of the form "--2d" and there is a repeater, ignore the delay
3512         for further repeated occurrences.
3514         * org-agenda.el (org-agenda-get-deadlines)
3515         (org-agenda-get-scheduled): Minor refactoring.
3517         * org.el (org-time-string-to-absolute): Tiny docstring enhancement.
3518         (org-edit-special): Don't allow to edit when buffer is read only.
3520         * ox-html.el (org-html-format-latex): Don't set `cache-relpath'
3521         and `cache-dir' when `processing-type' is 'mathjax.
3522         (org-html-format-latex): Fix conversion in non-file buffers.
3524         * org.el (org-speed-commands-default): Bind `B' and `F' to
3525         `org-previous-block' and `org-next-block'.
3526         (org-read-date-minibuffer-local-map): Use "!" instead of "?" to
3527         see today's diary as "?" is already bounded by Calendar.
3528         (org-read-date-minibuffer-local-map): Use "." to go to today's
3529         date.
3531         * ob-core.el (org-babel-next-src-block)
3532         (org-babel-previous-src-block): Rewrite using
3533         `org-next-block'.
3535         * org.el (org-next-block, org-previous-block): New navigation
3536         commands.
3537         (org-mode-map): Bind the new commands to C-c C-F and C-c C-B
3538         respectively.
3540         * org-agenda.el (org-agenda-write): Don't copy headlines' subtrees
3541         when writing to an .org file.
3543         * org.el (org-copy-subtree): New parameter `nosubtrees'.
3545         * org-agenda.el (org-agenda-write): Allow writing to an .org file.
3547         * org.el (org-paste-subtree): Fix typo in docstring.
3549         * org-agenda.el (org-agenda-get-todos)
3550         (org-agenda-get-timestamps): Use nil as `ts-date' for diary
3551         sexpressions.
3552         (org-agenda-get-todos): Skip diary sexps when trying to sort by
3553         timestamp.
3554         (org-agenda-max-entries, org-agenda-max-todos)
3555         (org-agenda-max-tags, org-agenda-max-effort): New options.
3556         (org-timeline, org-agenda-list, org-search-view)
3557         (org-todo-list, org-tags-view): Tell `org-agenda-finalize-entries'
3558         what agenda type we are currently finalizing for.
3559         (org-agenda-finalize-entries): Limit the number of entries
3560         depending on the new options.
3561         (org-agenda-limit-entries): New function.
3563         * org.el (org-deadline): Allow a double universal prefix argument
3564         to insert/update a warning cookie.
3565         (org-deadline): Allow a double universal prefix argument to
3566         insert/update a delay cookie.
3568         * org-agenda.el (org-agenda-skip-scheduled-delay-if-deadline):
3569         New option.  The structure of the possible values is copied
3570         from `org-agenda-skip-deadline-prewarning-if-scheduled'.
3571         (org-agenda-get-scheduled): Honor the two new option,
3572         `org-scheduled-delay-days' and
3573         `org-agenda-skip-deadline-prewarning-if-scheduled'.  I.e. if a
3574         scheduled entry has a delay cookie like "-2d" (similar to the
3575         prewarning cookie for deadline), don't show the entry until
3576         needed.
3578         * org.el (org-deadline-warning-days): Small docstring fix.
3579         (org-scheduled-delay-days): New option (see
3580         `org-deadline-warning-days'.)
3581         (org-get-wdays): Use the new option.
3583         * org-agenda.el (org-agenda-sorting-strategy): Document the
3584         new sorting strategies.
3585         (org-agenda-get-todos, org-agenda-get-timestamps)
3586         (org-agenda-get-deadlines, org-agenda-get-scheduled): Add a
3587         `ts-date' text property with scheduled, deadline or timetamp
3588         date.
3589         (org-cmp-ts): New function to compare timestamps.
3590         (org-em): Add a docstring.
3591         (org-entries-lessp): Use `org-cmp-ts' to compare timestamps.
3592         Implement the following sorting strategies: timestamp-up/down,
3593         scheduled-up/down, deadline-up/down, ts-up/down (for active
3594         timestamps) and tsia-up/down (for inactive timestamps.)
3596         * ob-lilypond.el (ly-process-basic): Bugfix, don't use `pcase'.
3598         * org.el (org-contextualize-validate-key): Check against two new
3599         context predicates [not-]in-buffer.
3601         * org-agenda.el (org-agenda-custom-commands-contexts):
3602         Document the new [not-]in-buffer context predicates.
3604         * ob-core.el (org-ts-regexp): Remove duplicate defconst'ing.
3605         (org-babel-result-regexp): Don't use `org-ts-regexp', use a regexp
3606         string directly.
3608         * ob-lilypond.el (ly-process-basic): Don't use `ly-gen-png' and
3609         friends, rely on the extension of the output file.
3611         * org-archive.el (org-archive-file-header-format): New option.
3612         (org-archive-subtree): Use it.
3614         * ob-lilypond.el (ly-process-basic): Rely on ly-gen-png/pdf/eps to
3615         set the output type.
3617         * org.el (org-read-date-minibuffer-local-map): New variable.
3618         (org-read-date): Use it.
3619         (org-read-date-minibuffer-setup-hook): Mark as obsolete.
3620         (org-read-date): Bind `!' to `diary-view-entries' in order to
3621         check diary entries while setting an Org date.
3623         * org-agenda.el (org-diary): Only keep the descriptions of the
3624         links since Org links are not active in the diary buffer.
3626         * org-faces.el (org-priority): New face.
3628         * org.el (org-font-lock-add-priority-faces): Use the new face.
3630         * org-agenda.el (org-agenda-fontify-priorities): Use the
3631         org-priority face and add specific agenda face on top of it.
3633         * org-agenda.el (org-agenda-show-clocking-issues)
3634         (org-agenda-format-item): Let-bind
3635         `org-time-clocksum-use-effort-durations' to nil.
3637         * org.el (org-ctrl-c-ctrl-c): Only throw a message when using two
3638         universal prefix arguments on a list where all items are already
3639         in a transitory state.  Refine the error when the checkbox cannot
3640         be toggled.
3642         * org.el ("org-loaddefs.el"): Load org-loaddefs.el before
3643         requiring any org library.  Also use `load', not
3644         `org-load-noerror-mustsuffix'.
3645         (org-effort-durations): Move up to fix a compiler warning.
3646         (org-edit-special): Fix typo in docstring.
3647         (org-time-clocksum-format): Add a version tag and add to the
3648         'org-clock group.
3649         (org-time-clocksum-use-fractional): Ditto.
3650         (org-time-clocksum-use-effort-durations): New option to allow
3651         using `org-effort-durations' when computing clocksum durations.
3652         (org-minutes-to-clocksum-string): Use the new option.
3654         * org-clock.el (org-clocktable-write-default): Let-bind
3655         `org-time-clocksum-use-effort-durations' to a new clocktable
3656         parameter ":effort-durations".
3658         * org-entities.el (org-entities): "neg" should be used in LaTeX
3659         math mode.  Add the "neg" entity.
3661         * org-mobile.el (org-mobile-allpriorities): New option.
3662         (org-mobile-create-index-file): Use the new option.
3664         * org-latex.el (org-export-latex-inline-images): New option.
3666         * org.el (org-forward-heading-same-level): Before the first
3667         headline, go to the first headline.
3668         (org-backward-heading-same-level): Before the first headline,
3669         go to the beginning of the buffer, like
3670         `outline-previous-visible-heading' does.
3672         * org-exp.el (org-export-plist-vars): Don't use
3673         `org-export-html-inline-images' to set the :inline-images
3674         property, use distinct properties for the various backends.
3676         * org-publish.el (org-publish-project-alist): Ditto.
3678         * org-latex.el (org-export-latex-links): Use :latex-inline-images
3679         instead of :inline-images.
3681         * org-odt.el (org-compat): Require.
3683         * org.el (org-parse-time-string): Allow strings supported by
3684         tags/properties matcher (eg <now>, <yesterday>, <-7d>).
3686         * org-clock.el (org-clock-rounding-minutes): New option to round
3687         the time by N minutes in the past when clocking in or out.
3688         (org-clock-in, org-clock-in-last, org-clock-out): Use the new
3689         option.
3691         * org.el (org-current-time): New optional parameter
3692         `rounding-minutes' to override the use of
3693         `org-time-stamp-rounding-minutes' for rounding.
3695         * org-clock.el (org-clock-special-range): Small docstring fix.
3696         New parameter 'weekstart to define the week start day.
3697         (org-clock-special-range, org-dblock-write:clocktable)
3698         (org-dblock-write:clocktable, org-clocktable-write-default)
3699         (org-clocktable-steps, org-clock-get-table-data): Use the new
3700         parameter.
3701         (org-clocktable-defaults): Set monday as the starting day of the
3702         week by setting :wstart to 1.
3704         * org.el (org-store-link): Fix the naming of internal links to
3705         lines starting with a keyword.
3707         * org-agenda.el (org-agenda-Quit, org-agenda-quit)
3708         (org-agenda-exit, org-agenda-kill-all-agenda-buffers):
3709         Docstring fixes.
3711         * org.el (org-last-set-property-value): New variable.
3712         (org-read-property-name): Fix dangling parentheses.
3713         (org-set-property-and-value): New command to manually set
3714         both the property and the value.  A prefix arg will use the
3715         last property-value pair set without prompting the user.
3716         (org-set-property): Set `org-last-set-property-value'.
3717         (org-mode-map): Bind the new command to `C-c C-x P'.
3718         (org-find-invisible-foreground): Delete.
3719         (org-mode): Use `face-background' instead of
3720         `org-find-invisible-foreground'.
3721         (org-startup-options): New startup keywords.
3722         (org-log-into-drawer): Update docstring to explain how to set this
3723         variable through the startup keyword "logdrawer" and "nologdrawer".
3724         (org-log-states-order-reversed): Document the new startup keywords
3725         "logstatesreversed" and "nologstatesreversed".
3726         (org-mode-map): Use `org-remap' instead of binding `M-t' to
3727         `org-transpose-words' directly.
3728         (org-syntax-table): New variable.
3729         (org-transpose-words): New command, simply wrapping the new
3730         syntax table around `transpose-words'.
3731         (org-mode-map): Bind `org-transpose-words' to `M-t'.
3732         (org-store-link): Use keyword at point as the search string.
3733         Use `delq nil' instead of `delete nil'.
3734         (org-make-org-heading-search-string): Rewrite using
3735         org-element.el.  Not an interactive function anymore.
3737         * org-pcomplete.el (pcomplete/org-mode/drawer): Ditto.
3739         * org-mobile.el (org-mobile-files-alist): Ditto.
3741         * org.el (org-store-link): When creating a link to a heading with
3742         a bracket link, don't escape this link with curly braces as the
3743         escaped link is not active anyway; use the description instead.
3744         If the headline only consists of a bracket link, add a star to the
3745         description so that the user knows this is an internal link.
3747         * org-w3m.el (org-w3m-store-link): New function.
3749         * org.el (org-store-link): Update the error message when no method
3750         is available for storing a link.  Use `user-error' for this.
3751         Remove handling w3m links from this function.
3752         (org-insert-heading, org-insert-todo-heading): A double prefix arg
3753         force the insertion of the subtree at the end of the parent
3754         subtree.
3755         (org-store-link): A double prefix argument now skips module
3756         store-link functions to only use Org's core functions.  Also, when
3757         several modular store-link functions match, ask for which one to
3758         use.
3759         (org-cycle, org-cycle-internal-global)
3760         (org-cycle-internal-local, org-display-outline-path): Let-bind
3761         `message-log-max' to nil so that messages don't populate the
3762         *Messages* buffer.
3764         * org-table.el (org-table-eval-formula): Handle localized
3765         time-stamps by internally converting them to english during
3766         formulas evaluation.
3768         * org.el (org-clock-timestamps-up): Fix declarations.
3770         * ob-core.el (org-split-string): Declare function.
3772         * org-html.el (org-html-export-list-line): Add CSS classes to
3773         these list HTML tags: <ul> <dl> and <ol>.
3775         * org-clock.el (org-clock-timestamps-up)
3776         (org-clock-timestamps-down, org-clock-timestamps-change):
3777         Add an optional argument N to change timestamps by several units.
3779         * org.el (org-shiftcontrolup, org-shiftcontroldown): Ditto.
3781         * org-exp.el (org-export-copy-to-kill-ring): Add a new choice
3782         'if-interactive and use it as the default.
3783         (org-export-push-to-kill-ring): Use the new choice.
3785         * org.el (org-block-entry-blocking): New variable.
3786         (org-todo): Use it.  Also use `user-error' when a TODO state
3787         change is blocked.
3788         (org-block-todo-from-children-or-siblings-or-parent):
3789         Display `org-block-entry-blocking' in the user-error message.
3791         * org.el (org-get-cursor-date): New optional argument WITH-TIME to
3792         add the time of the day.
3794         * org-capture.el (org-capture): When capturing from the agenda and
3795         with a non-nil value for `org-capture-use-agenda-date', a `C-1'
3796         prefix will set the capture time to the HH:MM of the current line
3797         or the current HH:MM.
3799         * org-agenda.el (org-agenda-capture): New optional argument
3800         WITH-TIME: when set to 1, the capture time will be set to the
3801         HH:MM time of the current line, or the current HH:MM time.
3803         * org.el (org-latex-preview-ltxpng-directory): Fix docstring
3804         formatting.
3805         (org-deadline-close): Use `org-time-stamp-to-now'.
3806         (org-time-stamp-to-now): Use `org-float-time' instead of the
3807         obsolete `time-to-seconds' function.
3808         (org-format-outline-path): Fix bug: add the separator string after
3809         the prefix.
3810         (org-display-inline-images): Search for #+ATTR within the current
3811         paragraph.
3812         (org-days-to-time): Make obsolete.
3813         (org-time-stamp-to-now): Rename from `org-days-to-time'.
3814         Allow to compare time-stamps based on seconds.
3816         * org-agenda.el (org-agenda-todo-ignore-time-comparison-use-seconds):
3817         New option to compare time stamps using seconds, not days.
3818         (org-agenda-todo-custom-ignore-p)
3819         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3820         Use the new function's name and the new option.
3822         * org-clock.el (org-clock-sound): Enhance docstring.
3823         (org-notify): Use the parameter `play-sound' as argument for
3824         `org-clock-play-sound'.
3825         (org-clock-play-sound): New optional argument `clock-sound' to
3826         override `org-clock-sound'.
3828         * org-agenda.el (org-agenda-format-item): Fix initialization
3829         of the level text property.
3831         * org.el (org-format-outline-path): Small docstring
3832         enhancement.
3833         (org-display-outline-path): Fix order or arguments.
3835         * org.el (org-activate-plain-links)
3836         (org-activate-bracket-links): Add a new 'htmlize-link text
3837         property, so that htmlize (> version 1.42) can linkify the
3838         links.
3839         (org-display-outline-path): Allow a string value for the
3840         `as-string' parameter.  Such a value will replace the "/"
3841         separator in the output.  New argument `as-string'.
3842         (org-refile-keep): New variable.
3843         (org-copy): New command to copy notes.
3844         (org-refile): New parameter msg to override the "Refile" string in
3845         the default prompt.
3846         (org-mode-map): Bind "C-c M-w" to `org-copy'.
3847         (org-refile-get-location): Use the current file name as the
3848         default target when there is no refile history.
3849         (org-cycle-hide-inline-tasks): New function to hide inline tasks
3850         when cycling.
3851         (org-cycle-hook): Use the new function.
3852         (org-entry-put): Fix bug when updating the last clock.
3853         (org-use-last-clock-out-time-as-effective-time): New option.
3854         (org-current-effective-time): Use the new option.
3856         * org-clock.el (org-clock-get-last-clock-out-time):
3857         New function.
3859         * org.el (org-toggle-inline-images): Only send a message when
3860         called interactively.
3861         (org-scan-tags): Fix the declaration and the use of
3862         `org-agenda-format-item'.
3864         * org-agenda.el (org-agenda-add-time-grid-maybe): Use the
3865         correct number of parameters for `org-agenda-format-item'.
3866         Add a docstring.
3868         * org.el (org-outline-level): Go at the beginning of the
3869         headline first to always return a sensible result.
3871         * org-agenda.el (org-search-view, org-agenda-get-todos)
3872         (org-agenda-get-timestamps, org-agenda-get-sexps)
3873         (org-agenda-get-progress, org-agenda-get-deadlines)
3874         (org-agenda-get-scheduled, org-agenda-get-blocks): Return the
3875         correct level depending on `org-odd-levels-only'.
3876         (org-agenda-prefix-format): A new specifier `%l' allows to insert
3877         X spaces when the item is of level X.
3878         (org-search-view, org-get-entries-from-diary)
3879         (org-agenda-get-todos, org-agenda-get-timestamps)
3880         (org-agenda-get-sexps, org-agenda-get-progress)
3881         (org-agenda-get-deadlines, org-agenda-get-scheduled)
3882         (org-agenda-get-blocks, org-agenda-change-all-lines): Add a
3883         new text property 'level, a string with as many whitespaces as
3884         the level of the item.
3885         (org-agenda-format-item, org-compile-prefix-format):
3886         Handle the new `%l' specifier.
3888         * org-colview.el (org-columns-next-allowed-value): Add the
3889         CLOCKSUM property to the list of properties that can be
3890         changed interactively from the column view.
3892         * org.el (org-entry-put): Allow to set the CLOCKSUM property
3893         by updating the most recent clock.  This is useful in the
3894         column view when you want to use S-<left/right> to update the
3895         last clock of the entry at point.
3896         (org-image-actual-width): New choice: use #+ATTR* or fall back on
3897         a number.
3898         (org-display-inline-images): Implement the new choice.
3899         (org-image-actual-width): Rename from `org-image-fixed-width'.
3900         Update the docstring.  Give more choice.
3901         (org-display-inline-images): Use the option new choices.
3902         (org-image-fixed-width): New option to set a fixed width for
3903         inline images.
3904         (org-display-inline-images): Use the new option.
3906         * org-agenda.el (org-class): Allow to use holiday strings for
3907         the `skip-weeks' arguments.
3909         * org.el (org-mode): Set the syntax of the " character to "string
3910         quote".
3912         * org-agenda.el (org-agenda-append-agenda): Bugfix: correctly
3913         check whether we are in `org-agenda-mode'.
3914         (org-agenda): Set `org-agenda-buffer-name' correctly with sticky
3915         agendas and non-custom commands.
3917 2013-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
3919         * org-src.el (org-edit-src-exit): Let overlay survive after the
3920         buffer has been saved.
3922         * ox-texinfo.el (org-texinfo-export-to-texinfo): Use new style
3923         backquoting.
3924         (org-texinfo-export-to-info): Use new style backquoting.
3926         * ob-latex.el (org-babel-execute:latex): Call `file-name-sans-extension'
3927         instead of `file-base-name'.
3929         * org.el (org-insert-heading): Improve whitespace behavior at
3930         end of subtree.
3931         (org-latex-default-packages-alist): Add the `rotating' package to
3932         the list of default packages.  Improve docstring.
3933         (org-insert-property-drawer): Insert only after space in current
3934         line.
3935         (org-forward-paragraph, org-backward-paragraph): Do not deactivate
3936         the mark.
3937         (org-special-ctrl-o): New option.
3938         (org-open-line): Don't do anything special unless `org-special-ctrl-o'
3939         is non-nil.
3941         * org-agenda.el (org-agenda-custom-commands-local-options):
3942         (org-agenda-span, org-agenda-ndays-to-span)
3943         (org-agenda-span-to-ndays, org-agenda-list, org-agenda-later)
3944         (org-agenda-change-time-span, org-agenda-compute-starting-span):
3945         Add support for fortnight view.
3946         (org-agenda-menu): Add fortnight view command.
3947         (org-agenda-fortnight-view): New command.
3949         * org-timer.el (org-clock-sound): Silence compiler.
3951         * org.el (org-beginning-of-line, org-end-of-line):
3952         Bind deactivate-mark to avoid that this command deactivates it.
3953         (org-make-tags-matcher): Do not interpret / in property value as
3954         starter of TODO match.
3955         (org-overview): Preserve point.
3956         (org-read-date-minibuffer-local-map): Don't replace disputed keys
3957         when defining this keymap.
3958         (org-read-date): Remove unnecessary binding of
3959         `org-replace-disputed-keys'.
3960         (org-insert-heading): Allow to remove blank lines if the user does
3961         not want any.
3962         (org-unlogged-message): Fix typo in dostring.
3964         * ob-ruby.el: New customizations `org-babel-ruby-hline-to' and
3965         `org-babel-ruby-nil-to'
3966         (org-babel-ruby-var-to-ruby): Convert incoming 'hlines.
3967         (org-babel-ruby-table-or-string): Convert outgoing nils.
3969         * org.el (org-file-apps-defaults-gnu): Use `xdg-open' to open
3970         files where available.
3972         * org-table.el (orgtbl-radio-table-templates): Improve docstring.
3974         * org.el (org-unlogged-message): New function.
3975         (org-cycle, org-cycle-internal-global, org-cycle-internal-local)
3976         (org-global-cycle, org-display-outline-path):
3977         Use `org-unlogged-message'.
3979         * org-pcomplete.el (org-make-org-heading-search-string):
3980         Fix function declaration.
3981         (pcomplete/org-mode/searchhead): Remove incorrect second arguments
3982         to `org-make-org-heading-search-string'.
3984         * org.el (org-read-date): Turn off replacing disputed keys when
3985         defining the minibuffer keys during date selection.
3986         (org-insert-heading): Improve the empty line insertion behavior.
3987         Basically, never remove empty lines, only add them.
3989         * org-attach.el (org-attach-commit): Use vc-git to find the git
3990         repository.
3992         * org-compat.el (org-move-to-column): Turn off invisibility stuff
3993         for moving the cursor to a column.
3995         * org.el (org-modules): Update with the new module org-mac-link.
3996         (org-display-outline-path): Do not log outline path in Message
3997         buffer.
3998         (org-agenda-ignore-drawer-properties): New option.
3999         (org-agenda-prepare-buffers):
4000         Honour `org-agenda-ignore-drawer-properties'.
4002         * org-clock.el (org-clock-goto): Recenter to thrd line
4004         * org-table.el (orgtbl-send-replace-tbl): Allow multiple spaces
4005         between keywords in RECEIVE ORGTBL lines.
4007         * org.el (org-bookmark-names-plist): New user option.
4008         (org-set-regexps-and-options-for-tags): Use `org-bookmark-names-plist'.
4009         (org-refile): Use `org-bookmark-names-plist'.
4011         * org-capture.el (org-capture-bookmark-last-stored-position):
4012         Use `org-bookmark-names-plist'.
4014         * org.el (org-insert-heading): Rewritten from scratch.
4015         (org-N-empty-lines-before-current): New function
4016         (org-insert-heading-respect-content): Set the correct argument to
4017         force a heading even in lists.
4019         * org-colview.el (org-columns-display-here): Enforce fixed width
4020         font.
4022         * org-faces.el (org-column): Setting font width has been shifted
4023         to org-colview.el.
4025         * org.el (org-mode-flyspell-verify): Check for src block.
4027         * org-table.el (org-table-convert-region): Fix interactive
4028         statement.
4030         * org-ctags.el (org-ctags-path-to-ctags): Avoid usine `case'.
4032         * org.el (org-beginning-of-line, org-end-of-line):
4033         Set disable-point-adjustment when the command ends next to invisible
4034         text.
4036         * ob-lob.el (org-babel-lob-files): Fix custom type.
4038         * org-agenda.el (org-agenda-export-html-style, org-agenda-ndays)
4039         (org-agenda-inactive-leader, org-agenda-day-face-function)
4040         (org-agenda-auto-exclude-function): Fix custom type.
4042         * org-bibtex.el (org-bibtex-prefix): Fix custom type.
4044         * org-clock.el (org-clock-heading-function):
4045         (org-show-notification-handler): Fix custom type.
4047         * org-footnote.el (org-footnote-auto-adjust): Fix custom type.
4049         * org-protocol.el (org-protocol-default-template-key): Fix custom
4050         type.
4052         * org.el (org-make-link-description-function):
4053         (org-link-translation-function):
4054         (org-link-frame-setup):
4055         (org-refile-target-verify-function):
4056         (org-get-priority-function):
4057         (org-use-fast-tag-selection):
4058         (org-columns-modify-value-for-display-function):
4059         (org-sparse-tree-default-date-type):
4060         * ox-html.el (org-html-postamble):
4061         (org-html-postamble-format):
4062         (org-html-preamble-format):
4063         * ox-odt.el (org-odt-content-template-file):
4064         * ox.el (org-export-with-archived-trees):
4065         (org-export-initial-scope): Fix custom type.
4067         * org.el (org-insert-heading): Fix problem with inserting heading.
4068         Check for checkbox at the beginning of the item, not just at the
4069         beginning of the line.
4070         (org-small-year-to-year): Fix docstring typo.
4071         (org-show-siblings): By default, also show siblings from a
4072         bookmark jump.
4074         * org-agenda.el (org-agenda-set-restriction-lock): Highlight only
4075         the headline when agenda is restricted to a subtree.  Do not
4076         highlight the entire subtree.
4078         * org-table.el (org-table-eval-formula): Work-around for calc-eval
4079         regression.
4081         * ox.el (org-export-dispatch): Make sure the last position marker
4082         uses the base buffer if there is one.
4083         (org-export-dispatch-last-position): New variable.
4084         (org-export-dispatch): Save position of cursor at the moment when
4085         the export command is called.  Restore that position temporarily
4086         when repeating the previous export command.
4088         * org.el (org-insert-heading): Shrink whitespace at end of subtree
4089         when `org-insert-heading-respect-content' is on.
4091         * org-list.el (org-sort-list): Respect sorting-type and
4092         getkey-func when they are specified in the call.
4094         * org.el (org-sort-entries): Respect sorting-type and getkey-func
4095         when they are specified in the call.
4096         (org-format-outline-path): New argument SEPARATOR to specify a
4097         string that is inserted between parts of the outline path.
4098         (org-display-outline-path): New argument SEPARATOR, to specify a
4099         string that is inserted between parts of the outline path.
4101         * org-colview.el (org-dblock-write:columnview): Change the capture
4102         of pos to after inserting the original content
4104 2013-11-12  Christian Moe  <mail@christianmoe.com>
4106         * ox-odt.el (org-odt-line-break, org-odt-plain-text):
4107         Remove newline after line-break tag.
4109 2013-11-12  Christophe Junke  <christophe.junke@inria.fr>  (tiny change)
4111         * org.el (org-set-font-lock-defaults): Let footnote fontifications
4112         be done before other links' fontification.  This allows links
4113         appearing inside footnotes to be both visible and active.
4115 2013-11-12  Christopher Schmidt  <christopher@ch.ristopher.com>
4117         * org.el (orgstruct-setup): Major rewrite.
4118         (orgstruct++-mode): Overwrite local non-org vars again.
4119         (orgstruct-mode): Simplify implementation.  Emulate outline's
4120         buffer-invisiblity-spec.
4121         (orgstruct-heading-prefix-regexp): Change default value to nil.
4122         (orgstruct-error): Use `user-error' if available.
4123         {pro,de}motion commands if `orgstruct-heading-prefix-regexp' is
4124         non-nil.  Always use `org-outline-level'.  Bind org-shift*.
4125         (orgstruct-make-binding): Major rewrite.
4126         (org-cycle-global-status, org-cycle-subtree-status): Set state
4127         property.
4128         (org-heading-components): Use `org-heading-regexp' in
4129         orgstruct-mode.
4130         (orgstruct-heading-prefix-regexp, orgstruct-setup-hook):
4131         New options.
4132         (orgstruct-initialized): New variable.
4133         (org-get-local-variables): Honour state property.
4134         (org-run-like-in-org-mode): Use `let' instead of `progv'.  Do not
4135         override variables with non-default values.
4136         (org-forward-heading-same-level): Do not skip to headlines on
4137         another level.  Handle negative prefix argument correctly.
4138         (org-backward-heading-same-level):
4139         Use `org-forward-heading-same-level'.
4141 2013-11-12  Craig Tanis  <craig-tanis@utc.edu>  (tiny change)
4143         * ox-latex.el (org-latex-src-block): Change format string to position
4144         caption after figure content.
4146 2013-11-12  Eric Abrahamsen  <eric@ericabrahamsen.net>
4148         * org.el (org-ctrl-c-ctrl-c): `C-c C-c' on a link is usually a
4149         no-op.  If that link is in a headline, act as if the `C-c C-c' was
4150         called on the headline, not the link.
4152         * ox-html.el (org-html-doctype-alist): New variable holding an
4153         alist of (X)HTML doctypes
4154         (org-html-xhtml-p, org-html-html5-p, org-html-close-tag):
4155         New function.
4156         (org-html-html5-fancy): New export option, determining whether or
4157         not to use HTML5-specific elements.
4158         (org-html-html5-elements): New variable, new HTML5 elements.
4159         (org-html-special-block): Export special blocks to new HTML5
4160         elements.
4161         (org-html-format-inline-image): Use <figure> and <figcaption> for
4162         standalone images.
4163         (org-html-format-inline-image, org-html--build-meta-info)
4164         (org-html--build-head, org-html--build-pre/postable)
4165         (org-html-template, org-html-horizontal-rule)
4166         (org-html-format-list-item, org-html-line-break, org-html-table)
4167         (org-html-verse-block): Changes to allow flavored export.
4169         * ox-latex.el (org-latex--org-table, org-latex-table-row):
4170         Allow use of the "tabu" and "longtabu" table environments.  New table
4171         attribute :spread handles the width specification syntax of "tabu"
4172         and "longtabu" table environments.
4174 2013-11-12  Eric Schulte  <eric.schulte@gmx.com>
4176         * org-bibtex.el (org-bibtex-read-buffer): Reads all bibtex entries
4177         in a buffer.
4178         (org-bibtex-read-file): Read all bibtex entries in a file.
4179         (org-bibtex-import-from-file): Import all bibtex entries from a
4180         file into the current buffer.
4182         * ob-tangle.el (org-babel-load-file): When called with a prefix
4183         argument the tangled emacs-lisp file will be byte compiled.
4185         * ob-tangle.el (org-babel-tangle): Tangled files should not be
4186         writable.
4188         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Better about
4189         when to fully escape the results or just print them close to
4190         verbatim.
4192         * ob.el (org-babel-result-cond): This function should now be used
4193         by all language backends to handle the processing of raw code
4194         block output into scalar results, table results, or ignored
4195         results depending on the value of result-params.
4197         * ob-C.el (org-babel-C-execute): Use org-babel-result-cond.
4199         * ob-R.el (org-babel-R-evaluate-external-process)
4200         (org-babel-R-evaluate-session):
4201         * ob-awk.el (org-babel-execute:awk):
4202         * ob-clojure.el (org-babel-execute:clojure):
4203         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
4204         * ob-fortran.el (org-babel-execute:fortran):
4205         * ob-io.el (org-babel-io-evaluate):
4206         * ob-java.el (org-babel-execute:java):
4207         * ob-lisp.el (org-babel-execute:lisp):
4208         * ob-maxima.el (org-babel-execute:maxima):
4209         * ob-picolisp.el (org-babel-execute:picolisp):
4210         * ob-python.el (org-babel-python-evaluate-external-process):
4211         (org-babel-python-evaluate-session):
4212         * ob-scala.el (org-babel-scala-evaluate):
4213         * ob-sh.el (org-babel-sh-evaluate):
4214         * ob-shen.el (org-babel-execute:shen):
4215         * ob-sql.el (org-babel-execute:sql):
4216         * ob-sqlite.el (org-babel-execute:sqlite):
4217         Use `org-babel-result-cond'.
4219         * ob.el (org-babel-common-header-args-w-values): Add a new "none"
4220         header argument.
4221         (org-babel-execute-src-block): Don't do *any* result processing if
4222         the "none" header argument has been specified.
4223         (org-babel-sha1-hash): Remove the none header argument from header
4224         arg lists when calculating cache sums.
4225         (org-babel-insert-result): Flesh out some documentation.
4227         * ob.el (org-babel-insert-result): Don't escape results in
4228         drawers.
4230         * ob-python.el (org-babel-python-hline-to): Customize hline
4231         conversion to python.
4232         (org-babel-python-None-to): Customize none conversion from python.
4233         (org-babel-python-var-to-python): Use new variable.
4234         (org-babel-python-table-or-string): Use new variable.
4236         * org.el (org-babel-load-languages): Add ob-makefile to
4237         `org-babel-load-languages'.
4239         * ob-makefile.el: New file.
4241         * ob-sh.el (org-babel-sh-evaluate): Don't could 0-length shebangs.
4243         * org.el (org-format-latex): Simplify and now make use of the new
4244         `org-create-formula-image' function.
4245         (org-create-formula-image): Provides a simpler interface to the
4246         two backend-specific functions.
4248         * ob-core.el (org-babel-default-header-args): It is likely that
4249         someone meant to set :padlines to "yes", but accidentally set
4250         :padnewlines to "yes".  Either way lets just remove this which
4251         shouldn't have any functional effect.
4253         * ob-haskell.el (org-babel-default-header-args:haskell):
4254         Set :padlines to "no" by default.
4256         * ob-exp.el (org-babel-exp-non-block-elements): Ignore inline
4257         source block on #+ prefixed lines.
4259         * ob-core.el (org-babel-merge-params): Replace `remove-if' with
4260         `org-remove-if'.  More careful to check that the colname- and
4261         rowname-names header arguments exist during merge.  When merging
4262         parameters, if a variable is replaced with a new value, then
4263         delete colnames/rownames for the original value of that variable.
4265         * ob-ditaa.el (org-babel-ditaa-java-cmd): Make java executable
4266         configurable for ditaa blocks.
4268         * ob-sh.el (org-babel-sh-var-to-string): Fix bug in ob-sh when
4269         dealing with list variables.
4271         * ob-core.el (org-babel-demarcate-block):
4272         Include `org-src-lang-modes' in block demarcation options.
4274         * ob-C.el: Don't modify `org-babel-load-languages' from ob-*
4275         files.
4277         * ob-latex.el (org-babel-latex-htlatex): Set this variable to
4278         "htlatex" (or path to said) to enable svg generation from latex
4279         code blocks.
4280         (org-babel-latex-htlatex-packages): Libraries required for
4281         automatic svg generation.
4282         (org-babel-execute:latex): Generate SVG images directly from latex
4283         code blocks (assumes tikz).
4285         * ob-exp.el (org-babel-exp-non-block-elements): Use lob call name
4286         when exporting.
4288         * ob-scheme.el (org-babel-scheme-get-repl)
4289         (org-babel-scheme-make-session-name)
4290         (org-babel-scheme-execute-with-geiser, org-babel-execute:scheme):
4291         Fix whitespace and indentation.
4293         * ob-core.el (org-babel-set-current-result-hash): Update the
4294         match-string holding the hash data, and correct overlay
4295         maintenance.
4296         (org-babel-find-named-result): Call lines are not results.
4297         (org-babel-where-is-src-block-result): Don't implicitly name the
4298         results of call lines.
4299         (org-babel-exp-non-block-elements): There is now another element
4300         on the call line info list.
4302         * ob-lob.el (org-babel-lob-get-info): Return the name (if any) at
4303         the end of the info list.
4304         (org-babel-lob-execute): Pass the name through to execution.
4306         * ob-core.el (org-babel-execute-src-block): Ensure that the
4307         location is set before anything else is done.
4309         * ob-ref.el (org-babel-ref-parse): Evaluate Emacs Lisp values in
4310         header arguments at the location of the original code block.
4312         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Use new header
4313         arguments.
4315         * ob-core.el (org-babel-common-header-args-w-values): Mention new
4316         header arguments.
4317         (org-babel-expand-body:generic): Use new header arguments.
4318         (org-babel-read-result): More robust matching of examplized
4319         ranges.
4320         (org-babel-result-end): More robust matching of examplized ranges.
4322         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Gnuplot, close
4323         output terminal when opened.
4324         (org-babel-gnuplot-prefix): Customization variable prefix gnuplot
4325         code blocks.
4326         (org-babel-expand-body:gnuplot): Customization variable prefix
4327         gnuplot code blocks.
4329         * ob-core.el (org-babel-params-from-properties): Now returns a
4330         list of alists and does *not* call `org-babel-merge-params'.
4331         (org-babel-parse-src-block-match):
4332         (org-babel-parse-inline-src-block-match):
4333         * ob-exp.el (org-babel-exp-src-block):
4334         (org-babel-exp-non-block-elements):
4335         * ob-lob.el (org-babel-lob-execute): Handle new list of lists
4336         output of `org-babel-params-from-properties'.
4338         * ob-gnuplot.el (org-babel-header-args:gnuplot): Term is a gnuplot
4339         header argument.
4341         * ob-tangle.el (org-babel-tangle): Fix bug in tangle-file.
4342         Collect tangle modes, and only apply them to the file after all
4343         tangling has completed, including the post-tangle-hook.
4345         * ob-core.el (org-babel-read): Do not read #-prefix header-arg
4346         value as emacs lisp.
4348         * ob-core.el (org-babel-current-src-block-location):
4349         (org-babel-execute-src-block):
4350         * ob-exp.el (org-babel-exp-results):
4351         * ob-lob.el (org-babel-lob-execute):
4352         Rename `org-babel-current-exec-src-block-head' to
4353         `org-babel-current-src-block-location'.
4355         * ob-core.el (org-babel-common-header-args-w-values): Adding the
4356         new :tangle-mode header argument.
4357         (org-babel-read): Read values starting with a "#" character as
4358         emacs lisp.
4360         * ob-tangle.el (org-babel-tangle): Use the new :tangle-mode header
4361         argument.
4363         * org-pcomplete.el (pcomplete/org-mode/block-option/src): Use the
4364         new :tangle-mode header argument.
4366         * ob-exp.el (org-babel-exp-results): Save the code block location
4367         into `org-babel-current-exec-src-block-head' during export.
4369         * ob-comint.el (org-babel-comint-with-output): More robust edebug
4370         spec.
4372         * ob-lob.el (org-babel-lob-execute): Set the
4373         `org-babel-current-exec-src-block-head' variable when executing
4374         inline or lob style code.
4376         * ob-core.el (org-babel-execute-src-block):
4377         The `org-babel-current-exec-src-block-head' variable should point to
4378         the outermost code block.
4380         * org.el (org-some): An org-mode version of the cl some function.
4382         * ob-fortran.el (org-babel-fortran-var-to-fortran): More careful
4383         check if values are matrices.
4385         * org.el (org-every): An Org-mode version of the cl every
4386         function.
4388         * ob-tangle.el (org-babel-tangle-jump-to-org):
4389         Use `org-src-switch-to-buffer' to jump from src to org.  Use the
4390         existing `org-edit-src' functionality to jump back to the correct
4391         point in the code block in the original Org-mode buffer.
4393         * ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Only wrap
4394         gnuplot data values in " when necessary.  Replace missing values
4395         with blank space in gnuplot.
4396         (org-babel-expand-body:gnuplot):
4397         (org-babel-gnuplot-quote-timestamp-field): Fix indentation.
4398         (org-babel-header-args:gnuplot): Declare the.
4399         (org-babel-expand-body:gnuplot): Params is an alist not a plist.
4400         (org-babel-header-args:gnuplot): Declare gnuplot-specific header
4401         argument.
4402         (*org-babel-gnuplot-missing*): Dynamic variable used to hold the
4403         value of the missing header argument.
4404         (org-babel-gnuplot-process-vars): Wrap in local binding for
4405         missing value.
4406         (org-babel-gnuplot-quote-tsv-field): Replace missing value with
4407         the missing header argument value when present.
4409         * ob-org.el (org-babel-expand-body:org): Allow insertion of
4410         non-strings into Org code blocks.
4411         (org-babel-inline-result-wrap): New option controlling the
4412         wrapping of inline results.
4413         (org-babel-examplize-region): Use the new defcustom.
4415         * ox-beamer.el (org-beamer--format-frame): If contents is nil,
4416         then replace it with an empty string.
4418         * ob-core.el (org-babel-read): More restrictive elisp eval of
4419         header arguments.
4421         * ob-lob.el (org-babel-lob-execute): Include default elisp header
4422         args in call lines.
4424         * ob-core.el (org-babel-result-cond): Don't over-evaluate
4425         result-params in macro.
4427         * ob-ruby.el (org-babel-execute:ruby): Use `org-babel-result-cond'
4428         in Ruby code blocks.
4429         (org-babel-ruby-evaluate): Delay table processing.
4431         * ob-js.el (org-babel-execute:js): Use `org-babel-result-cond' in
4432         JavaScript code blocks.
4434         * ob-scheme.el (org-babel-execute:scheme):
4435         Use `org-babel-result-cond' in scheme code blocks.
4437         * ob-ocaml.el (org-babel-execute:ocaml):
4438         Use `org-babel-result-cond' in OCaml code blocks.
4440         * ob-haskell.el (org-babel-execute:haskell):
4441         Use `org-babel-result-cond' in Haskell code blocks.
4443         * ob-core.el (org-babel-result-cond): The "raw", "org" and
4444         "drawer" :results header argument values preclude table processing
4445         unless the "table" argument is given as well.
4446         (org-babel-execute-src-block): Make sure we process file results
4447         before they are passed to the post-processing code block, and not
4448         afterwards.  Tangles these two header arguments in the code, but
4449         makes for more intuitive behavior and enables important use cases.
4450         (org-babel-read): Read code block values with earmuffs as Emacs
4451         Lisp.
4452         (org-babel-common-header-args-w-values): Add :post to the list of
4453         header arguments.
4454         (org-babel-execute-src-block): Post process results when the :post
4455         header argument has been supplied.
4457         * ob-R.el (org-babel-R-initiate-session): Remove unnecessary
4458         save-excursion nested inside a save-window-excursion.
4460         * ob-core.el (org-babel-src-name-w-name-regexp): Update the regexp
4461         used to match code block names.
4462         (org-babel-get-src-block-info): Remove the code used to parse this
4463         alternate variable specification syntax.
4464         (org-babel-insert-result): Cycle tables for :results org and
4465         :results wrap.
4467         * ob-python.el (org-babel-python-initiate-session-by-key): Fix a
4468         bug pointed out by Gary Oberbrunner.
4469         (org-babel-python-initiate-session-by-key): Add "-i" to the python
4470         command on windows sessions.  Actually setting new session names.
4471         Pass Python buffer names to the new `run-python' command.
4472         (org-babel-python-with-earmufs): Add earmufs to a buffer name.
4473         (org-babel-python-without-earmufs): Remove earmufs from a buffer name.
4474         (org-babel-python-initiate-session-by-key): Set the buffer name in
4475         a way which is understandable by the new python.el
4476         (org-babel-python-buffers): Change the default python buffer name.
4478         * ob-core.el (org-babel-number-p): Don't interpret single "-" as a
4479         number.
4481         * ob-perl.el (org-babel-perl--var-to-perl): Print Perl variables
4482         with a format string.
4484         * ob-core.el (org-babel-where-is-src-block-result): Allow comments
4485         between code blocks and un-named results.
4487         * ob-sqlite.el (org-babel-sqlite-table-or-scalar): Don't read
4488         sqlite output as lisp.
4490         * ob-core.el (org-babel-check-confirm-evaluate): Refactoring.
4491         (org-babel-confirm-evaluate): Fix whitespaces.
4492         (org-babel-execute-src-block): A cond makes it more clear that we
4493         definitely do not execute without user confirmation.
4494         (org-babel-call-process-region-original): Fix line over 80 chars
4495         long.
4497         * ob-tangle.el (org-babel-tangle-collect-blocks): Update comment
4498         to reflect changed variable name.
4500         * ob-core.el (org-babel-expand-src-block): Return value of
4501         expanded code block on non-interactive calls.
4503         * ob-perl.el (org-babel-perl-var-wrap): Customizable wrapper for
4504         variables in perl code.
4505         (org-babel-perl-var-to-perl): Use said wrapper.
4507         * ob-sql.el (org-babel-execute:sql): Use the org-babel-eval
4508         command instead of shell-command.
4510         * ob-ocaml.el (org-babel-prep-session:ocaml): Check that
4511         `tuareg-run-caml' is defined before use.
4512         (tuareg-run-ocaml): Declare for compiler.
4514         * ob-core.el (org-babel-result-regexp): Simplify regexp given new
4515         time hash layout.
4516         (org-babel-current-result-hash): New match string.
4517         (org-babel-hide-hash): New match string.
4518         (org-babel-where-is-src-block-result): New match string, and
4519         insert hashes in the new format.
4521         * ob-core.el (org-ts-regexp): Declare.
4522         (org-babel-result-regexp): Now matching time stamp as well.
4523         (org-babel-hash-show-time): New variable controlling the display
4524         of time stamps.
4525         (org-babel-current-result-hash):
4526         (org-babel-hide-all-hashes):
4527         (org-babel-where-is-src-block-result): Use hash time stamps.
4529         * ob-core.el: New file.
4531         * org-macs.el: `org-load-noerror-mustsuffix' requires an autoload.
4533 2013-11-12  Feng Shu  <tumashu@gmail.com>
4535         * ox-odt.el (org-odt--translate-latex-fragments):
4536         * ox-html.el (org-html-latex-environment)
4537         (org-html-latex-fragment): Fix imagemagick support.
4539         * org.el (org-create-formula-image-with-imagemagick):
4540         Generate correct size formula image.
4541         (org-format-latex-header): Change pagestyle command position.
4543         * ox-latex.el (org-latex--caption/label-string): Allow to build a
4544         caption string from `:caption' attribute of #+ATTR_LATEX.
4546         * ox.el (org-export-dictionary): Add Simplified Chinese
4547         translations for `org-export-dictionary'.
4549 2013-11-12  Florian Beck  <fb@miszellen.de>  (tiny change)
4551         * org.el (org-activate-bracket-links): Remove escapes from the
4552         help string.
4554 2013-11-12  Francesco Pizzolante  <xxx@public.gmane.org>  (tiny change)
4556         * ox-html.el (org-html-headline): Normalize the construction of
4557         outline-container DIVs by always using the inner headline ID.
4559         * org.el (org-agenda-prepare-buffers): Protect with
4560         `org-unmodified'.
4562 2013-11-12  Gregor Kappler  <gregor@alcedo.(none)>  (tiny change)
4564         * ox.el (org-export-as): Make sure org-export-babel-evaluate is
4565         not nil before calling `org-export-execute-babel-code'.
4567 2013-11-12  Grégoire Jadi  <gregoire.jadi@gmail.com>
4569         * org.el (org-reftex-citation): Fix contrib package name in the
4570         docstring.
4571         (org-preview-latex-fragment, org-display-inline-images):
4572         Detect whether a graphic display is available before inlining images to
4573         prevent an error.
4574         (org-startup-with-latex-preview): New option.
4575         (org-startup-options): New startup keywords for the new option.
4576         (org-mode): Turn on/off LaTeX preview depending on the new option.
4577         (org-reverse-string): Add `org-reverse-string' to reverse a
4578         string.
4580         * org-id.el (org-id-new, org-id-decode):
4581         Replace `org-id-reverse-string' by `org-reverse-string'.
4583         * ob-core.el (org-babel-trim): Replace `org-babel-reverse-string'
4584         by `org-reverse-string' and declare it.
4586 2013-11-12  Gustav Wikström  <gustav.erik@gmail.com>  (tiny change)
4588         * org-agenda.el (org-agenda-filter-by-category): Display all
4589         filtered out categories.
4591 2013-11-12  Ilya Zonov  <izonov@gmail.com>  (tiny change)
4593         * org-mouse.el (org-mouse-context-menu): Add a correct newtext
4594         parameter for "All Set" and "All Clear" menu items.
4596 2013-11-12  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
4598         * org.el (org-insert-todo-heading-respect-content): Pass correct
4599         prefix arg to always insert heading.
4601         * org-agenda.el
4602         (org-agenda-propertize-selected-todo-keywords): New function to
4603         highlight the current agenda todo keywords depending on
4604         `org-todo-keyword-faces'.
4605         (org-todo-list): Use the new function.
4607 2013-11-12  Ippei FURUHASHI  <top.tuna+orgmode@gmail.com>
4609         * org-table.el (org-calc-current-TBLFM): New function to
4610         re-calculate the table by applying the #+TBLFM in the line where
4611         the point is.  Ensure to remove the currently inserted TBLFM line,
4612         when calling `org-table-recalculate' returns an error and the
4613         processing stops.
4615         * org.el (org-ctrl-c-ctrl-c): Call `org-calc-current-TBLFM' when
4616         point is in the #+TBLFM line.
4618         * org-table.el (org-TBLFM-begin): New function.
4619         (org-TBLFM-begin-regexp): New variable.
4621         * org.el (org-at-TBLFM-p): New function.
4622         (org-TBLFM-regexp): New defconst.
4624 2013-11-12  Ivan Vilata i Balaguer  <ivan@selidor.net>  (tiny change)
4626         * org-clock.el (org-clock-get-table-data): Pass tstart and tend
4627         time strings through `org-matcher-time' to allow relative times
4628         besides absolute ones, convert result to encoded time.
4630 2013-11-12  Jambunathan K  <kjambunathan@gmail.com>
4632         * ox-html.el (org-html-code, org-html-verbatim): Transcode value.
4633         (org-html--tags, org-html-format-headline)
4634         (org-html--format-toc-headline, org-html-checkbox)
4635         (org-html-table-cell, org-html-timestamp)
4636         (org-html-verse-block, org-html-special-string-regexps): Replace
4637         named HTML entities with their numeric counterparts.  This keeps
4638         Freemind backend happy.
4640         * org-odt.el (org-export-odt-schema-dir): Modify to accommodate
4641         change in rnc file names.
4643         * org-lparse.el (org-lparse-and-open)
4644         (org-lparse-do-convert): Open exported files with system-specific
4645         application.
4647         * org-odt.el: Don't meddle with `org-file-apps'.
4649 2013-11-12  Jarmo Hurri  <jarmo.hurri@syk.fi>
4651         * org-table.el (org-define-lookup-function): New macro.  Call it
4652         to generate new lookup functions `org-lookup-first',
4653         `org-lookup-last' and `org-lookup-all'.
4655         * org-gnus.el (org-gnus-no-server): New option to start Gnus using
4656         `gnus-no-server'.
4657         (org-gnus-no-new-news): Use the new option.
4659 2013-11-12  Jonas Hoersch  <coroa@online.de>  (tiny change)
4661         * org.el (org-cycle-hide-inline-tasks): Re-hide inline tasks when
4662         switching to 'children visibility state.
4664         * org-inlinetask.el (org-inlinetask-toggle-visibility): Don't use
4665         `org-show-entry' as it cannot unfold an inlinetask properly.
4667 2013-11-12  Jonathan Leech-Pepin  <jonathan.leechpepin@gmail.com>
4669         * ox-texinfo.el: New file.
4671 2013-11-12  Joost Diepenmaat  <joost@zeekat.nl>  (tiny change)
4673         * org.el (org-indent-region): BEGIN_SRC and END_SRC lines should
4674         not be considered part of the source block for the purposes of
4675         indentation.
4677 2013-11-12  Justus Piater  <justus-dev@piater.name>
4679         * org-agenda.el
4680         (org-agenda-skip-deadline-prewarning-if-scheduled): Add an option
4681         to skip the deadline prewarning if the scheduled date is in the
4682         future.
4684 2013-11-12  Kodi Arfer  <git@arfer.net>  (tiny change)
4686         * ox-html.el (org-html-toc): Use <nav> instead of <div> for the
4687         root element when appropriate.
4688         (org-html-paragraph): Wrap "Figure %d:" in <span
4689         class="figure-number">.
4690         (org-html-list-of-tables, org-html-table): Wrap "Table %d:" in
4691         <span class="table-number">.
4692         (org-html-list-of-listings): Wrap "Listing %d:" in
4693         <span class="listing-number">.
4694         (org-html-table): For HTML5, omit :html-table-attributes but not
4695         :id or :attr_html.
4696         (org-html--build-meta-info): Insert no timestamp when
4697         :time-stamp-file is nil.
4699 2013-11-12  Lawrence Mitchell  <wence@gmx.li>
4701         * ox-html.el (org-html-close-tag): Add space before attr.
4703         * ox.el (org-export-resolve-fuzzy-link): Look for fuzzy link in a
4704         cache before trying to resolve it in the parse tree.
4706 2013-11-12  Le Wang  <le.wang@agworld.com.au>
4708         * org-src.el (org-edit-src-code): Use marker with insertion type t
4709         to track end and remove hack requiring delete from beg to (1-
4710         end).
4712 2013-11-12  Max Mikhanosha  <max@openchat.com>
4714         * org-habit.el (org-habit-get-faces): Add show done days green
4715         option.
4717         * org-agenda.el (org-agenda-format-item): Ensure effort is "" when
4718         unset
4720 2013-11-12  Michael Brand  <michael.ch.brand@gmail.com>
4722         * org-table.el (org-table-eval-formula): Align the arrow pointing
4723         to the error in a Calc formula to the other fomula debugger logs.
4725         * org.el (org-link-escape-chars-browser): Add char double quote.
4726         (org-open-at-point): Use the constant
4727         `org-link-escape-chars-browser'.
4729         * org-table.el (org-table-get-remote-range): Extend regexp to
4730         match "#+NAME: table" additionally to "#+TBLNAME: table".
4732         * org-table.el (org-table-eval-formula): Use `keep-empty' in more
4733         places.  Keep empty fields during preprocessing.
4734         (org-table-make-reference): Use nan (not a number) for empty
4735         fields in Calc formulas.  A range with only empty fields should
4736         not always return 0 but also empty string, consistent with field
4737         reference of an empty field.  Use future design for nan but
4738         replicate current behavior.
4739         (org-table-number-regexp): Extend 0x hex to fixed-point number,
4740         add <radix>#<number>, add Calc infinite numbers uinf, -inf and
4741         inf.
4743 2013-11-12  Muchenxuan Tong  <demon386@gmail.com>  (tiny change)
4745         * org-mobile.el (org-mobile-push): Add `save-restriction'.
4747 2013-11-12  Nicolas Goaziou  <n.goaziou@gmail.com>
4749         * ox-latex.el (org-latex-compile): Remove all numbered temporary
4750         files after compiling.
4752         * org-element.el (org-element-headline-interpreter): Take into
4753         consideration `org-odd-levels-only' when building a headline.
4755         * ox-org.el (org-org-headline): Correctly set transcoded headline
4756         level during subtree export.
4758         * ox-html.el (org-html--format-toc-headline): TOC entries are
4759         closer to regular headline formatting.
4761         * org-element.el (org-element-context): Fix error when parsing
4762         affiliated keywords, e.g. "caption".
4764         * org.el (org-do-emphasis-faces): Look for verbatim status at
4765         correct location.
4766         (org-open-at-point): Check if link is non-nil before matching it.
4767         (org-export-insert-default-template): Make sure strings are
4768         properly quoted when inserting a template.  Specifically, default
4769         value for drawers should be d:(not "LOGBOOK"), not d:(not
4770         LOGBOOK).
4771         (org-insert-heading): Do not error out when inserting is to be
4772         done at one of the buffer's boundaries.
4774         * ox-latex.el (org-latex-listings-options): Use correct number of
4775         backslash characters in the example.
4777         * org-element.el (org-element-latex-or-entity-successor)
4778         (org-element-latex-fragment-parser): Use `org-latex-regexps'
4779         instead of `org-format-latex-options'.
4781         * ox-ascii.el:
4782         * ox-beamer.el:
4783         * ox-html.el:
4784         * ox-icalendar.el:
4785         * ox-md.el: Remove comments at the beginning of the file since
4786         the library is documented in Org manual.
4788         * org-element.el (org-element--list-struct):
4789         Use `org-match-string-no-properties'.  Fix block parsing in lists.
4791         * ox-publish.el (org-publish-all): Fix compilation problem.
4793         * org-element.el (org-element-timestamp-interpreter):
4794         Correctly interpret timestamps with delays.
4795         (org-element-timestamp-parser)
4796         (org-element-timestamp-interpreter): Parse warning delays.
4798         * ox-beamer.el (org-beamer--format-section): Fix regression which
4799         prevents frames from being propely exported.
4801         * ox.el (org-export-with-backend): Ensure function will use
4802         provided back-end.
4804         * org-list.el (org-list-allow-alphabetical): Remove reference to
4805         unused VALUE.
4807         * ox-beamer.el (org-beamer--format-section): Protect fragile
4808         commands in sections.
4810         * org.el (org-ctrl-c-ctrl-c): When using C-c C-c at an item with
4811         point on a link, make sure checkbox, if any, is toggled.
4813         * ox-beamer.el (org-beamer--format-block): Return an error message
4814         when using a special environment as a block type.  Also check for
4815         incomplete environment definitions.
4817         * org-element.el (org-element-at-point): If point is at the end of
4818         the buffer, and that buffer ends with a list, and there's no final
4819         newline, return last element in last item instead of plain list.
4820         Fix infloop when called on a blank line at the end of the buffer
4821         after a headline.
4823         * org.el (org-forward-paragraph, org-backward-paragraph):
4824         New functions.
4826         * org.el (org-meta-return): Allow M-RET to insert items within
4827         drawers.  Rewrite function.
4829         * org-element.el (org-element-footnote-definition-parser):
4830         Fix value for :contents-begin when first line of footnote definition
4831         is empty besides the label.
4832         (org-element-at-point): Return correct element when point is on a
4833         blank line just below a headline.
4834         (org-element-paragraph-parser):
4835         Use `org-match-string-no-properties'.  Small fixes to paragraph
4836         parsing.
4838         * org.el (org-adaptive-fill-function): Do not handle
4839         `adaptive-fill-regexp' in comments as the behavior is not
4840         satisfying.
4842         * org-list.el (org-list-struct-apply-struct): Do not move item's
4843         contents within a child above when repairing indentation.
4845         * ox-html.el (org-html--build-meta-info): Fix output of meta tags
4846         when properties are present.
4848         * ox.el (org-export-collect-headlines): Do not build TOC for
4849         headlines below H value.
4851         * org-element.el (org-element-context): Modify misleading
4852         comment.
4853         (org-element-text-markup-successor)
4854         (org-element-latex-or-entity-successor)
4855         (org-element-export-snippet-successor)
4856         (org-element-footnote-reference-successor)
4857         (org-element-inline-babel-call-successor)
4858         (org-element-inline-src-block-successor)
4859         (org-element-line-break-successor, org-element-link-successor)
4860         (org-element-plain-link-successor, org-element-macro-successor)
4861         (org-element-radio-target-successor)
4862         (org-element-statistics-cookie-successor)
4863         (org-element-sub/superscript-successor)
4864         (org-element-table-cell-successor, org-element-target-successor)
4865         (org-element-timestamp-successor): Remove LIMIT argument.
4866         (org-element--parse-objects, org-element--get-next-object-candidates):
4867         Apply signature change to successors.
4868         (org-element-context): Narrow buffer around object containers so
4869         parsing of objects when using this function is done under the same
4870         restrictions as in buffer parsing.
4872         * ox.el (org-export-table-cell-alignment): Ensure required
4873         variables are available.  Use correct :test.
4874         (org-export-table-cell-width): Modify key (now an element) and
4875         value structure (now a vector) of cache so it can use `eq' as
4876         test.  Elements are circular lists so `equal' cannot apply on them.
4878         * ox-publish.el (project-plist): Remove variable.
4880         * ox.el (org-export-to-buffer, org-export-to-file):
4881         Fix docstrings.
4883         * ox-org.el (org-export-as-org): Add missing BODY-ONLY argument,
4884         which is always nil in this back-end.
4886         * org.el (org-adaptive-fill-function): Look for a fill prefix at
4887         the beginning of the paragraph and subsquently on its second line
4888         instead of the current line.
4890         * ob-core.el (org-babel-get-src-block-info): Look for indentation
4891         value at the correct location.
4893         * ox.el (org-export-data-with-backend): Set temporary back-end as
4894         the new back-end in local communication channel.
4895         (org-export-filter-apply-functions): Handle corner case where
4896         back-end is nil.  Only provide back-end name (a symbol) as second
4897         argument of filters, not the full back-end (a vector).
4899         * ox-publish.el (org-publish-find-title): Fix title when no
4900         #+TITLE property is provided.
4902         * ox.el (org-export-store-default-title): Remove-function.
4903         (org-export--default-title): Remove variable.
4904         (org-export-options-alist): Do not use a default value.
4905         (org-export--get-buffer-attributes): Store a default title.
4906         (org-export-as): Apply function removal.
4907         (org-export--get-global-options): Do not set a property with an
4908         explicitly nil value.
4910         * ox-publish.el (org-publish-sitemap-sort-files)
4911         (org-publish-sitemap-sort-folders)
4912         (org-publish-sitemap-ignore-case, org-publish-sitemap-requested)
4913         (org-publish-sitemap-date-format)
4914         (org-publish-sitemap-file-entry-format): Set prefix to
4915         "org-publish-sitemap" instead of "org-sitemap".
4916         (org-publish-compare-directory-files)
4917         (org-publish-get-base-files-1, org-publish-projects)
4918         (org-publish-format-file-entry): Use new prefix.
4920         * org-clock.el (org-clock-total-time-cell-format)
4921         (org-clock-file-time-cell-format): Use correct type.
4923         * ob-haskell.el:
4924         * ox-ascii.el (org-ascii-export-as-ascii)
4925         (org-ascii-export-to-ascii):
4926         * ox-beamer.el (org-beamer-export-as-latex)
4927         (org-beamer-export-to-latex, org-beamer-export-to-pdf):
4928         * ox-html.el (org-html-export-as-html, org-html-export-to-html):
4929         * ox-icalendar.el (org-icalendar-export-to-ics):
4930         * ox-latex.el (org-latex-export-as-latex)
4931         (org-latex-export-to-pdf):
4932         * ox-man.el (org-man-export-to-man, org-man-export-to-pdf):
4933         * ox-md.el (org-md-export-as-markdown, org-md-export-to-markdown):
4934         * ox-odt.el (org-odt-export-to-odt):
4935         * ox-org.el (org-org-export-as-org, org-org-export-to-org):
4936         * ox-publish.el (org-publish-org-to):
4937         * ox-texinfo.el (org-texinfo-export-to-texinfo)
4938         (org-texinfo-export-to-info):
4939         * ox.el (org-export-to-buffer): Add two arguments: one to trigger
4940         asynchronous export and the other to do extra processing from
4941         within the buffer.
4942         (org-export-to-file): Add two arguments: one to trigger
4943         asynchronous export and the other to do extra processing on the
4944         output file.
4945         (org-export-async-start): Small clean up.
4947         * ox.el (org-export-as): Use new back-end structure.
4948         (org-export-current-backend): New variable.
4949         (org-export-as): Use new variable.
4951         * ox-ascii.el (org-ascii-table): Remove spurious new line between
4952         a table and the caption below.
4954         * ox.el (org-export-to-file): Preserve coding system when writing
4955         output.
4956         (org-export-stack-mode-map): Fix compilation error with Emacs <
4957         24.
4958         (org-export--dispatch-action): Maintain compatibility with Emacs
4959         23.
4961         * org.el (org-adaptive-fill-function, org-fill-paragraph):
4962         Add support for `adaptive-fill-regexp' in paragraphs and comments.
4963         (org-indent-line): Fix indentation after a list.
4965         * ox.el (org-export--get-inbuffer-options): Multiple options can
4966         now be set through the same buffer keyword.
4968         * org-element.el (org-element-plain-list-parser): Fix infloop when
4969         parsing a list at the end of buffer, if buffer doesn't end at a
4970         line beginning.
4971         (org-element-link-parser): Do not url-decode parsed links.
4973         * org-pcomplete.el (pcomplete/org-mode/file-option): Remove
4974         spurious white spaces, excepted for source blocks' opening string.
4975         Small refactoring.
4976         (pcomplete/org-mode/file-option): Remove spurious colons from
4977         block boundaries.
4979         * ox-publish.el (org-publish-find-date): Also return date for
4980         directories.
4981         (org-publish-get-base-files-1): Fix :recursive parameter ignoring
4982         extension restriction.
4984         * ox-beamer.el: Remove strange indentation in default header.
4985         (org-beamer-template): Fix missing newlines in header.
4987         * ox-latex.el (org-latex-template): Fix missing newlines in
4988         header.
4990         * ox.el (org-export-insert-default-template):
4991         Fix "wrong-type-argument" error in template insertion.
4993         * org.el (org-fill-paragraph): Use empty commented lines as
4994         separators when filling comments.  This mimics default behavior
4995         from "newcomment.el", which is not used in Org.
4997         * ox-html.el (org-html-link): Add image attributes to "img" tag,
4998         not to the "a" container.  Also fix spacing for attributes.
5000         * org.el (org-fill-paragraph): Do not mix consecutive comments
5001         when filling any of them.
5003         * ox-html.el (org-html-format-headline--wrap): Fix number of
5004         arguments when setting `org-html-format-headline-function'.
5006         * org-element.el (org-element-item-interpreter): This patch fixes
5007         "(wrong-type-argument arrayp nil)" error when trying to interpret
5008         empty items.  Correctly interpret back plain lists with "*" items.
5009         This fixes "This is not a list" error returned in this case.
5011         * ox-latex.el (org-latex-listings): Update docstring.
5013         * org-pcomplete.el (pcomplete/org-mode/file-option/options):
5014         Apply changes to export back-end definiton.
5016         * org.el (org-get-export-keywords): Apply changes to export
5017         back-end definiton.
5019         * ox-html.el (org-html--format-toc-headline): Make use of
5020         anonymous back-ends.
5022         * ox-odt.el (org-odt-footnote-reference): Make use of anonymous
5023         back-ends.
5024         (org-odt-format-label, org-odt-toc)
5025         (org-odt-format-headline--wrap): Use `org-export-with-backend'
5026         instead of `org-export-with-translations'.
5028         * ox.el (org-export--registered-backends): Rename from
5029         `org-export-registered-backends'.
5030         (org-export-invisible-backends): Remove variable.
5031         (org-export-get-backend, org-export-get-all-transcoders
5032         org-export-get-all-options, org-export-get-all-filters):
5033         New functions.  It replaces `org-export-backend-translate-table'.
5034         (org-export-barf-if-invalid-backend, org-export-derived-backend-p,
5035         org-export-define-backend, org-export-define-derived-backend):
5036         Rewrite functions using new representation.
5037         (org-export-backend-translate-table): Remove function.
5038         (org-export-get-environment): Use new function.
5039         (org-export--get-subtree-options, org-export--parse-option-keyword,
5040         org-export--get-inbuffer-options, org-export--get-global-options,
5041         org-export-to-buffer org-export-to-file, org-export-string-as
5042         org-export-replace-region-by): Update docstring.
5043         (org-export-data-with-translations): Remove function.
5044         Use `org-export-data-with-backend' with a temporary back-end instead.
5045         (org-export-data-with-backend, org-export-as): Reflect new definition
5046         for back-ends.
5047         (org-export--dispatch-action, org-export--dispatch-ui): Reflect new
5048         definition for back-ends and variable removal.  Refactoring.
5049         (org-export-filter-apply-functions): Call functions with
5050         current back-end's name, not full back-end.
5052         * org.el (org-export-backends, org-create-formula--latex-header):
5053         Use new structure and variables.
5055         * ox-html.el (org-html-inline-images): Change default value and
5056         remove `maybe'.
5057         (org-html-format-inline-image): Remove functions.
5058         (org-html--wrap-image, org-html--format-image)
5059         (org-html-inline-image-p): New functions.
5060         (org-html-latex-environment, org-html-latex-fragment): Use new
5061         functions.
5062         (org-html-standalone-image-p): Use new functions.  Also remove an
5063         unused optional argument.
5064         (org-html-link, org-html-paragraph): Correctly export hyperlinked
5065         images.
5067         * ox.el (org-export-dictionary): Update some translations.
5069         * ox-odt.el (org-odt-label-styles, org-odt-category-map-alist):
5070         Fix docstring.
5071         (org-odt-format-label): Add docstring.  Internationalize prefix.
5073         * ox.el (org-export-dictionary): Add entry for colons.
5075         * ox-odt.el (org-odt--suppress-some-translators): Remove function.
5077         * ox-html.el (org-html-link): Remove left-over binding.
5079         * ox-beamer.el (org-beamer-environments-extra): Allow to add raw
5080         title in environment definition.
5081         (org-beamer--format-block): Handle new placeholders.
5083         * ox-html.el (org-html-link): Small refactoring.
5085         * org-element.el (org-element--current-element):
5086         Fix org-meta-return error at the end of buffer.
5088         * ox-odt.el (org-odt-category-map-alist): Fix internationalization
5089         of "Table" and "Listing".
5091         * ox.el (org-export-dictionary): Remove useless dictionary
5092         entries.
5094         * ox-ascii.el (org-ascii--build-caption): Apply removal.
5096         * ox.el (org-export-dictionary): Add spanish and german
5097         translations.
5099         * ox-odt.el (org-odt-link): Fuzzy links to an headline with a
5100         description always use that description, even if the description
5101         is the same as the headline title.
5102         (org-odt-plain-text): Allow to turn smart quotes off.
5104         * ox-latex.el (org-latex--get-footnote-counter): Remove function.
5106         * org.el (org-setup-filling): Set `paragraph-start' and
5107         `paragraph-separate'.
5108         (org-fill-paragraph-separate-nobreak-p): Remove function.
5109         (org-mode): Do not set `paragraph-start'.
5111         * ox-html.el (html): Replace "HTML_HTML5_FANCY",
5112         "HTML_INCLUDE_STYLE" and "HTML_INCLUDE_SCRIPTS" with,
5113         respectively, ":html5-fancy", "html-style" and "html-scripts"
5114         options.
5115         (org-html-html5-fancy): Reformat docstring.
5116         (org-html-template): Fix typo preventing insertion of link up/link
5117         home anchors.
5119         * org.el (org-create-formula--latex-header): Replace AUTO with
5120         appropriate language when previewing snippets.
5122         * ox-latex.el (org-latex-item): Allow hyperref and footnotemark in
5123         items description tags.  Also remove a unnecessary hack allowing
5124         footnotemark with an optional argument in the tag.
5126         * ox.el (org-export-resolve-fuzzy-link): Fix link resolution when
5127         link lives before the first headline.
5129         * org-element.el (org-element-special-block-parser): Fix typo in
5130         regexp matching block type.  Also quote the type so it can contain
5131         special characters.
5133         * ox-latex.el (org-latex-pdf-process): This argument can cause
5134         problem with links with a relative path, since compilation happens
5135         in a different directory.
5137         * org.el (org-latex-default-packages-alist): Load "ulem" package
5138         by default.  Use "[normalem]" option to preserve \emph definition.
5140         * ox-latex.el (org-latex-text-markup-alist): Use "\uline" and
5141         "\sout" commands from "ulem" package.
5143         * org.el (org-latex-default-packages-alist): Document need for
5144         "soul" package.
5146         * ox-latex.el (org-latex-text-markup-alist): Use \ul (from "soul"
5147         package) instead of \underline for underline text.
5149         * ox.el (org-export-read-attribute): Fix "Wrong argument type"
5150         error when attributes start with :key "".
5152         * org.el (org-fill-paragraph-separate-nobreak-p)
5153         (org-fill-line-break-nobreak-p)
5154         (org-fill-paragraph-with-timestamp-nobreak-p): Fix docstrings.
5156         * org-element.el (org-element--list-struct): Fix failing
5157         "plain-list-parser" test.
5159         * ox-latex.el (org-latex-src-block): Handle :float attribute.
5160         Its value can be set to "t", "multicolumn" or "nil".  Also remove
5161         :long-listing attribute, which is now replaced with :float nil.
5162         (org-latex--org-table): Replace :float table with :float t.
5163         (org-latex--inline-image): Replace :float figure with :float t.
5164         (org-latex-long-listings): Remove variable.
5166         * org-element.el (org-element--list-struct): New function.
5167         (org-element-plain-list-parser, org-element--current-element):
5168         Use new function.
5170         * ox-man.el (org-man-compile):
5171         * ox-texinfo.el (org-texinfo-compile): Use appropriate argument.
5173         * ox-latex.el (org-latex-compile):
5174         * ox-man.el (org-man-compile):
5175         * ox-texinfo.el (org-texinfo-compile): Properly set working
5176         directory.
5178         * ox-latex.el (org-latex-compile):
5179         * ox-texinfo.el (org-texinfo-compile): Make sure generated file
5180         can be found by `file-exists-p'.
5182         * ox-md.el (md): Delegate underscore transcoding to HTML back-end.
5184         * org-element.el (org-element--remove-indentation):
5185         Small optimization.
5186         (org-element--remove-indentation): New function.
5187         (org-element-example-block-parser, org-element-src-block-parser):
5188         Use new function.
5189         (org-element-src-block-interpreter): Update function according to
5190         change.
5192         * ox.el (org-export-unravel-code): Do not remove any indentation
5193         since it now happens at the parser level.
5194         (org-export-table-cell-width): Be sure to use cache even when
5195         stored value is nil.
5196         (org-export--default-title): Fix "Symbol's value as variable is
5197         void: org-export--default-title".
5199         * ox-ascii.el (org-ascii--table-cell-width): Cache results of this
5200         internal function since it is called at each cell, though its
5201         value only change column wise.
5203         * ox.el (org-export-resolve-fuzzy-link): Change property name
5204         holding cache.
5205         (org-export-table-has-header-p, org-export-table-row-group)
5206         (org-export-table-cell-width, org-export-table-cell-alignment):
5207         Cache results.
5208         (org-export-table-cell-address): Refactor.
5209         (org-export-get-parent): Inline function.
5210         (org-export-options-alist): Change default value for :title
5211         property.
5212         (org-export--default-title): New dynamically scoped variable.
5213         (org-export-store-default-title): New function.
5214         (org-export--get-buffer-attributes): Remove title handling.
5215         (org-export--get-global-options): Revert "ox: Fix default title".
5216         Refactor code.
5218         * ox-html.el (org-html-format-latex): Provide a prefix for
5219         temporary file when using dvipng, even if the current buffer isn't
5220         associated to a file.
5222         * ox.el (org-export-resolve-radio-link): Ignore whitespace
5223         differences when resolving a radio link.
5224         (org-export-resolve-radio-link): Fix radio target resolution.
5226         * org-element.el (org-element--current-element): Be stricter when
5227         matching arguments in LaTeX environments.  In particular, do not
5228         allow anything else than options and arguments in the opening
5229         line.
5231         * ox-html.el (org-html-inner-template): Remove code relative to
5232         bibliography.
5233         (org-html-bibliography): Remove function.
5235         * ox-latex.el (org-latex-plain-text): Protect ^ char with \^{},
5236         not only \^, so it doesn't become a diacritic.
5238         * ox-html.el (org-html--build-meta-info): Fix code typo.
5240         * ox.el (org-export-expand-include-keyword): Avoid using `read' to
5241         determine file name.
5242         (org-export--get-global-options): Properly set default title,
5243         i.e. when to TITLE keyword is provided.
5245         * org-element.el (org-element--parse-elements): Also parse visible
5246         headlines within an otherwise compacted headline.
5248         * ox.el (org-export-expand-include-keyword): Tolerate included
5249         file names without double quotes.
5250         (org-export-resolve-fuzzy-link): Fix caching process.
5252         * ox-publish.el (org-publish-find-date): Fix "Invalid time
5253         specification" error with timestamps in DATE.
5255         * org-element.el (org-element--current-element): Allow the opening
5256         string of a LaTeX environment to contain additional arguments.
5258         * org.el (org-insert-heading): Refactor to use `org-in-item-p'
5259         only once.
5261         * ox.el (org-export-expand): Optionally add affiliated keywords to
5262         results.
5264         * ox-org.el (org-org-identity): Use new argument for
5265         `org-export-expand'.
5267         * org.el (org-fill-paragraph): Move to table beginning before
5268         aligning the table when M-q is called from an affiliated keyword.
5270         * org-list.el (org-list-allow-alphabetical): Properly update
5271         `org-list-allow-alphabetical' when changed after org.el has been
5272         loaded.
5274         * org-element.el (org-element-fixed-width-interpreter):
5275         Fix interpretation of fixed-width elements with a nil or empty string
5276         value.
5278         * ox-html.el (org-html-link): Don't skip the link description when
5279         it matches the name of the headline it targets.
5281         * ox-html.el (org-html-link): Don't skip the link description when
5282         it matches the name of the headline it targets.
5284         * ox-ascii.el (ascii): Remove inexistant function.
5286         * ox-icalendar.el (icalendar): Ignore footnotes.
5287         (org-icalendar--combine-files): Small refactoring.
5289         * ox.el (org-export--skip-p, org-export--interpret-p):
5290         When `org-export-with-footnotes' is nil, ignore completely footnotes
5291         references and definitions instead of exporting them verbatim.
5293         * ox-beamer.el (org-beamer--frame-level): Small refactoring.
5294         (org-beamer--format-block, org-beamer-headline): Do not systematically
5295         downcase environment names as some require upper case in their
5296         names (e.g. noteNH and CJK).
5298         * ox.el (org-export-with-timestamps): Only applies to isolated
5299         timestamps, i.e. timestamps in a paragraph containing only
5300         timestamps and empty strings.
5301         (org-export--skip-p): Skip timestamps according to new behavior.
5303         * ox-latex.el (org-latex--script-size): Handle consecutive
5304         alterning sub and superscript.
5306         * ox-org.el (org-org-identity): Fix docstring.  Tiny refactoring.
5307         (org-org-headline, org-org-keyword): Fix docstring.
5309         * ox-latex.el (org-latex--script-size): Use \text command for
5310         subscript and superscript.  This is far superior to \mathrm, but
5311         it requires "amstext" package.  In particular, accented characters
5312         are now allowed within sub/superscript.
5314         * org.el (org-latex-default-packages-alist): Add "amstext"
5315         package.
5317         * ox-latex.el (org-latex--script-size): Fix error when using
5318         sub/superscript within sub/superscript.
5320         * ox-latex.el (org-latex--script-size): New function.
5321         (org-latex-subscript, org-latex-superscript): Use new function.
5322         Remove instructions since everything is documented in Org manual.
5324         * ox.el (org-export-with-smart-quotes): Use LATEX instead of LaTeX
5325         for keywords, the latter being hard to type, somewhat difficult to
5326         read, and overall just pedantic.
5328         * ox-latex.el (org-latex-classes): Be more explicit about
5329         LATEX_HEADER_EXTRA.
5331         * ox-html.el (org-html--build-meta-info): Fix invalid characters
5332         in html attributes.
5334         * ox.el (org-export-filters-alist): Remove macro filter.
5335         (org-export-filter-macro-functions): Remove variable.
5337         * ox-beamer.el (beamer): Install a default class set-up when
5338         loading library.
5340         * ox-latex.el (org-latex-classes): Update docstring.
5342         * ox-latex.el (org-latex--inline-image): Remove specific default
5343         image width for floats.  If no width nor height is provided, it
5344         should default to `org-latex-image-default-width' value.
5346         * org.el (org-extract-attributes-from-string)
5347         (org-attributes-to-string): Remove functions.
5349         * ox-html.el (html): Rename :html-table-tag property into
5350         :org-table-attributes.
5351         (org-html-table-default-attributes): New variable.
5352         (org-html-table-tag): Remove variable.
5353         (org-html--make-attribute-string): New function.
5354         (org-html-link--inline-image, org-html-table): Use new function.
5355         (org-html-splice-attributes, org-export-splice-style):
5356         Remove functions.
5357         (org-html-inline-image-rules): Remove out of context part of the
5358         docstring.
5360         * ox.el (org-export-read-attribute): Allow to use empty strings in
5361         attributes.
5363         * ox-html.el (org-html-metadata-timestamp-format): New variable,
5364         renamed from `org-html--timestamp-format'.
5365         (org-html--build-meta-info, org-html-format-spec,
5366         org-html--build-pre/postamble): Use new variable.
5368         * ox.el (org-export-table-row-number): New function.
5369         (org-export-table-cell-address): Use new function.
5371         * org-element.el (org-element-table-cell-successor): Parse table
5372         cells with missing ending space.
5374         * ox-latex.el (org-latex--math-table): Fix inline-math table
5375         environment.
5377         * ox-html.el (org-html-doctype): Make value fit on a single line
5378         so `org-export-insert-default-template' can handle it.
5379         (org-html-creator-string): Change default value.
5381         * ox.el (org-export-creator-string): Change default value.
5383         * ox-html.el (org-html-postamble-format)
5384         (org-html-preamble-format): Allow last modification time of source
5385         in template.  Fix docstrings.
5386         (org-html-format-spec): Produce last modification time when the source
5387         is a file.
5389         * ox.el (org-export-with-archived-trees, org-export-with-author)
5390         (org-export-with-clocks, org-export-with-date)
5391         (org-export-creator-string, org-export-with-drawers)
5392         (org-export-with-email, org-export-with-emphasize)
5393         (org-export-exclude-tags, org-export-with-fixed-width)
5394         (org-export-with-footnotes, org-export-with-latex)
5395         (org-export-headline-levels, org-export-default-language)
5396         (org-export-preserve-breaks, org-export-with-entities)
5397         (org-export-with-inlinetasks, org-export-with-planning)
5398         (org-export-with-priority, org-export-with-section-numbers)
5399         (org-export-select-tags, org-export-with-smart-quotes)
5400         (org-export-with-special-strings)
5401         (org-export-with-statistics-cookies)
5402         (org-export-with-sub-superscripts, org-export-with-toc)
5403         (org-export-with-tables, org-export-with-tags)
5404         (org-export-with-tasks, org-export-time-stamp-file)
5405         (org-export-with-timestamps, org-export-with-todo-keywords):
5406         Fix docstrings.
5408         * ox-html.el (org-html-postamble-format): Slightly change default
5409         value so "Generated by" string doesn't get duplicated.
5410         (org-html-creator-string): Fix docstring.
5412         * ox.el (org-export--get-inbuffer-options)
5413         (org-export--list-bound-variables)
5414         (org-export--generate-copy-script, org-export-string-as)
5415         (org-export-expand-include-keyword)
5416         (org-export--prepare-file-contents): Inhibit startup process when
5417         calling `org-mode'.
5419         * ox-publish.el (org-publish-find-date): Fix "bad timestamp" error
5420         with some DATE values: :date property in communication channel is
5421         no longer a string.
5423         * ox.el (org-export-insert-default-template): New function.
5424         (org-export--dispatch-ui, org-export--dispatch-action): Access to
5425         the function through the dispatcher.
5427         * ox-icalendar.el (org-icalendar-convert-timestamp):
5428         Update docstring.
5429         (org-icalendar-dtstamp): New function.
5430         (org-icalendar--vevent, org-icalendar--vtodo): Use new function.
5432         * ox-ascii.el (org-ascii-link):
5433         * ox-html.el (org-html-keyword):
5434         * ox-latex.el (org-latex-keyword, org-latex-link):
5435         * ox-man.el (org-man-keyword):
5436         * ox-md.el (org-md-link):
5437         * ox-odt.el (org-odt-keyword):
5438         * org.el (org-store-link, org-link-search, org-options-keywords):
5439         Remove reference to TARGET keyword.
5441         * ox.el (org-export-resolve-fuzzy-link, org-export-get-ordinal):
5442         Do not use TARGET as a destination for links anymore.
5444         * ox-org.el (org): Add a menu entry for the back-end.
5445         (org-org-export-as-org, org-org-export-to-org): New functions.
5447         * org.el (org-export-backends): Accept `org' as a loadable
5448         back-end.
5450         * ox-ascii.el (org-ascii-template--document-title): Use new function.
5452         * ox-beamer.el (org-beamer-template): Use new function.
5454         * ox-html.el (org-html-format-spec): Use new function.
5456         * ox-latex.el (org-latex-template): Use new function.
5457         (org-latex-date-timestamp-format): Remove variable.
5459         * ox.el (org-export-date-timestamp-format): New variable.
5460         (org-export-get-date): New function.
5462         * ox-odt.el (org-odt--format-paragraph): New function.
5463         (org-odt-paragraph): Use new function to limit code duplication.
5464         (org-odt-footnote-reference): Change default style for paragraphs
5465         when transcoding a footnote definition.
5467         * org-macro.el (org-macro--collect-macros): Fix a bug where
5468         reading a macro in a setup file would remove other macros read so
5469         far from template.  Change function signature.
5470         (org-macro-initialize-templates): Apply signature change from function
5471         above.
5473         * ox.el (org-export--list-bound-variables): Rename from
5474         `org-export--install-letbind-maybe'.  Though, only return list of
5475         bound variables instead of installing them as buffer-local
5476         variables.
5477         (org-export-get-environment): Use new function.  Take care of the
5478         installation of bound variables.
5479         (org-export--generate-copy-script): Make sure non-Org variables are
5480         also installed in buffer copy.
5482         * ox.el (org-export-get-environment): Update comment.
5483         (org-export--install-letbind-maybe): Go into SETUPFILE files and
5484         handle BIND keywords there.
5486         * ox-latex.el (org-latex-link): Do not prefix relative paths with
5487         "file://".
5489         * org.el (org-link-search): Preserve priority of #+TARGET over
5490         #+NAME when resolving a link.
5492         * ox-latex.el (org-latex-long-listings): New variable.
5493         (org-latex-src-block): Use new variable.
5495         * ox.el (org-export-data): White spaces after export snippets are
5496         never ignored.
5498         * org-element.el (org-element-macro-parser): Allow to escape
5499         escaping character before a comma.  Also do not trim spaces at
5500         argument boundaries.
5502         * ox.el (org-export-async-start): Use correct coding system so
5503         unibyte characters do not appear in the resulting buffer or file.
5504         (org-export--copy-to-kill-ring-p): Move function elsewhere in the
5505         file.
5507         * ox-latex.el (org-latex--inline-image): Fix error when no default
5508         width, height and option are provided and no attribute is set for
5509         the inline image.
5511         * org.el (org-comment-or-uncomment-region): Fix commenting lines
5512         beginning with a link.
5513         (org-delete-char): Fix "Invalid use of `\\' in replacement text"
5514         when deleting a character in a cell which contains "\"
5515         (org-export-backends): Remove duplicates.  Reorder alphabetically.
5517         * ox-texinfo.el (org-texinfo-plain-list): Use `member' instead of
5518         `memq' when matching strings.
5520         * ox.el (org-export-read-attribute): Do not use `read' to read
5521         attributes.  Instead, extract keywords and values from it, which
5522         means each value will be a string when non-nil.
5524         * ox-beamer.el (org-beamer-plain-list): Use new attribute syntax.
5526         * ox-html.el (org-html--textarea-block): Use new attribute syntax.
5528         * ox-latex.el (org-latex--inline-image, org-latex--org-table)
5529         (org-latex--math-table): Use new attribute syntax.
5531         * ox-man.el (org-man-table--org-table): Use new attribute syntax.
5532         Small refactoring.
5534         * ox-odt.el (org-odt-link--inline-image, org-odt-table-cell):
5535         Use new attribute syntax.
5537         * ox.el (org-export-async-start): Remove code evaluation queries
5538         from asynchronous export.
5540         * ox-latex.el (latex): Activate smart quotes by default.
5541         (org-latex--inline-image): Don't insert a default width when
5542         height is provided in a figure environment.
5543         (org-latex--inline-image): Do not use default width
5544         (resp. height) when an user height (resp. width) is provided.
5545         Also, default height is only used when image is not wrapped within
5546         a figure or wrapfigure environment, in order to preserve ratio.
5547         (org-latex-image-default-width, org-latex-image-default-height):
5548         Update docstring.
5550         * ox-icalendar.el (org-icalendar-create-uid): Fix error when
5551         `org-icalendar-store-UID' is non-nil.
5553         * ox-latex.el (latex): Introduce new buffer keyword.
5554         (org-latex-template): Use new keyword.
5556         * ox-beamer.el (org-beamer-template): Use new keyword.
5558         * org.el (org-create-formula--latex-header): Use new keyword.
5560         * ox-beamer.el (org-beamer-column-view-format, org-beamer-theme)
5561         (org-beamer-environments-extra): Add :version and
5562         :package-version.
5564         * ox-html.el (org-html-with-latex, org-html-inline-image-rules):
5565         Add :version and :package-version.
5567         * ox-latex.el (org-latex-inline-image-rules)
5568         (org-latex-default-table-environment)
5569         (org-latex-default-table-mode, org-latex-tables-booktabs)
5570         (org-latex-table-scientific-notation, org-latex-known-errors):
5571         Add :version and :package-version.
5573         * ox-md.el (org-md-headline-style): Add :version and
5574         :package-version.
5576         * ox-odt.el (org-odt-with-latex): Add :version
5577         and :package-version.
5579         * ox.el (org-export-with-drawers, org-export-with-latex)
5580         (org-export-with-inlinetasks, org-export-with-planning)
5581         (org-export-with-smart-quotes, org-export-with-statistics-cookies)
5582         (org-export-allow-bind-keywords, org-export-async-init-file):
5583         Add :version and :package-version.
5585         * ox-icalendar.el (org-icalendar-export-to-ics): Change back-end
5586         name from `e-ascii' to `ascii'.
5588         * ox.el (org-export--generate-copy-script): Call `org-mode' when
5589         duplicating a buffer.  It will properly set every variable, like
5590         `comment-start'.
5591         (org-export-async-start): Do not call `org-mode' since this is done
5592         already in the previous function.
5594         * ox-beamer.el (org-beamer-keyword): Remove frame arount toc when
5595         generated from a TOC keyword.
5597         * org.el (org-export-backends): Do not reset list of loaded
5598         back-ends to variable's value after a reload.
5600         * ox-latex.el (org-latex-src-block): Do not overwrite provided
5601         numbering options in minted and listings.
5602         (org-latex-headline): Don't add optional title on unnumbered
5603         headlines.
5605         * ox-html.el (html): Fix "HTML_HEAD" and "HTML_HEAD_EXTRA"
5606         keywords.  Allow multiple #+LATEX_HEAD and #+LATEX_HEAD_EXTRA
5607         again.
5609         * org.el (org-fill-paragraph): Small refactoring to
5610         `org-fill-paragraph'.  Do not look for table cells in a paragraph.
5612         * org-element.el (org-element-object-restrictions):
5613         Simplify restrictions within secondary strings and objects.
5615         * org-list.el (org-list-send-list): Do not rely on
5616         `org-list-parse-list'.
5617         (org-list-to-latex, org-list-to-html, org-list-to-texinfo):
5618         Use appropriate export back-end instead of using
5619         `org-list-to-generic'.
5621         * ox-html.el (org-html-inner-template): Remove contents div and
5622         title.
5623         (org-html-template): Add contents div and title.
5624         (org-html-infojs-install-script): Can't activate jsinfo script
5625         during a body-only export.
5627         * ox.el (org-export-as): Store export options in :export-options
5628         porperty within communication channel.
5630         * ox-latex.el (org-latex-item): Fix wrong behavior when a counter
5631         is set in an ordered list while its parent is not ordered.
5633         * ox.el (org-export-format-code-default): Handle empty source
5634         blocks more gracefully.
5636         * ox-ascii.el (org-ascii-src-block): Handle empty blocks more
5637         gracefully.
5639         * org.el (org-export-backends): Update variable.  `infojs' was
5640         merged into ox-html and `freemind' was added.
5642         * ox.el (org-export--selected-trees): Also mark inlinetasks with a
5643         select tag.
5644         (org-export--skip-p): Skip inlinetasks with a :noexport: tag.
5646         * ob-tangle.el (org-babel-spec-to-string): Use dedicated function
5647         for unescaping code.
5649         * ox-html.el (org-html-link): Silence byte-compiler.
5650         (html): Add infojs installation script in options filter.
5651         (org-html-infojs-install-script): Remove check for back-end as we
5652         can safely assume the function will be called from `html' back-end
5653         or one of its derivative.
5655         * ox-icalendar.el (org-agenda-collect-markers)
5656         (org-create-marker-find-array): Remove functions.
5657         (org-icalendar-export-current-agenda): Integrate previous
5658         functions.
5660         * ox-latex.el (org-latex-format-headline-default-function):
5661         Use declarative shape to nest makup for TODO keywords.
5662         Previous syntax generated errors during export.
5664         * ox.el (org-export-async-start): Ignore `org-mode-hook' and
5665         `kill-emacs-hook'.  The first one has been run in the original
5666         buffer.  The second is not necessary and can pollute output to a
5667         temporary buffer (e.g. with `org-clock-persistence-insinuate').
5669         * ox-html.el (org-html-inner-template): Remove title.
5670         (org-html-template): Add title.
5672         * ox.el (org-export--get-min-level): Ignore footnote section when
5673         computing minimal headline level.
5675         * org.el (org-do-latex-and-related): Fix infloop when user
5676         provides a wrong value for `org-highlight-latex-and-related'.
5677         In this case, `org-latex-and-related-regexp' is the empty string and
5678         generates an infloop since matching it doesn't move point.
5680         * org-element.el (org-element-headline-parser):
5681         Rename :optional-title into :alt-title.
5683         * ox.el (org-export-get-alt-title): Rename from
5684         `org-export-get-optional-title'.
5686         * ox-ascii.el (org-ascii--build-title):
5687         * ox-html.el (org-html--format-toc-headline):
5688         * ox-latex.el (org-latex-headline):
5689         * ox-texinfo.el (org-texinfo--get-node)
5690         (org-texinfo--generate-menu-items): Apply name change.
5692         * ox.el (org-export--get-inbuffer-options): Remove an optional
5693         argument.  Rewrite function.  Properties read from a setupfile do
5694         not overwrite anymore previously computed properties.
5695         (org-export-get-environment): Apply changes to previous function.
5697         * org.el (org-create-formula--latex-header): Apply arity change
5698         from `org-export--get-inbuffer-options'.
5700         * ox-latex.el (org-latex-compile): Add an optional argument for
5701         latex snippet previewing.
5703         * org.el (org-create-formula-image-with-imagemagick):
5704         Use `org-latex-compile' instead of rewriting it.
5706         * ox-html.el (org-html-fontify-code): Do not use [^\000] in
5707         regexps that may match large strings.
5709         * org.el (org-create-formula--latex-header): New function.
5710         (org-create-formula-image-with-dvipng)
5711         (org-create-formula-image-with-imagemagick): Use new function.
5713         * ox.el (org-export-get-previous-element): Change order of retured
5714         elements in `org-export-get-previous-element'.
5716         * org-element.el (org-element-all-successors): Add `plain-link'
5717         successor.
5718         (org-element-object-restrictions): Remove `link' within `link'.
5719         Allow `plain-link' instead.
5720         (org-element-plain-link-successor): New function.
5722         * org.el (org-match-substring-regexp)
5723         (org-match-substring-with-braces-regexp): Update regexp.
5724         A sub/superscript cannot start anymore at the beginning of the line
5725         or after a space.
5727         * org-element.el (org-element--get-next-object-candidates):
5728         Rewrite function to simplify algorithm.
5729         (org-element-context, org-element--parse-elements): Apply changes.
5731         * org.el (org-fill-paragraph): Apply changes.
5733         * ox-html.el (org-html-link, org-html-link--inline-image):
5734         Attributes specified to a paragraph only apply to first link
5735         within.
5737         * ox-latex.el (org-latex-headline): Do not add optional section
5738         name when section is unnumbered.
5740         * org.el (org-in-verbatim-emphasis): Fix false positive when point
5741         is just after the closing emphasis marker.
5742         (org-fill-paragraph): Do not move point when filling a table.
5744         * ox-ascii.el (ascii): Add new filter.
5745         (org-ascii-filter-comment-spacing): New function.
5746         (org-latex-keyword): Remove "figures" value.
5748         * ox-ascii.el (org-ascii--list-tables): Fix docstring.
5750         * ox-html.el (org-html--format-toc-headline): Fix function name.
5751         (org-html-toc, org-html--toc-text): Change to docstring.
5752         (org-html-list-of-listings, org-html-list-of-tables):
5753         New functions.
5754         (org-html-keyword): Use new functions.
5755         (org-html-src-block): Add an ID attribute when a name is given.
5757         * org-element.el (org-element-footnote-definition-parser):
5758         Require 2 blank lines to separate footnote definition.
5760         * org-footnote.el (org-footnote-at-definition-p): Require 2 blank
5761         lines to separate footnote definition.
5763         * ox.el (org-export-stack): Rewrite.
5764         (org-export-stack-refresh): Refactor.
5765         (org-export-stack-remove, org-export-stack-view): Apply renaming.
5766         (org-export-stack-mode-map): Use tabulated list map as a basis.
5767         (org-export-stack--generate, org-export-stack--num-predicate):
5768         New function.
5769         (org-export-get-optional-title): Return regular title when no
5770         optional title is found.
5772         * ox-ascii.el (org-ascii--build-title): Apply change to
5773         `org-export-get-optional-title'.
5775         * ox-html.el (org-html--format-toc-headline): Apply change to
5776         `org-export-get-optional-title'.
5778         * ox-latex.el (org-latex-headline): Apply change to
5779         `org-export-get-optional-title'.
5781         * ox-ascii.el (org-ascii--build-title): Add an argument.
5782         Use optional title when building a toc line.
5783         (org-ascii--build-toc): Call `org-ascii--build-title' with
5784         appropriate arguments.
5786         * ox-latex.el (org-latex-headline): Use optional title for table
5787         of contents.
5789         * ox-html.el (org-html--toc-text): Rename from
5790         `org-html-toc-text'.  Add docstring.
5791         (org-html--format-toc-headline): Rename from
5792         `org-html-format-toc-headline'.  Add docstring.  Use optional
5793         title if possible.
5794         (org-html-toc): Add docstring.
5796         * org-element.el (org-element-headline-parser): Node property
5797         :OPTIONAL_TITLE: in a headline will be parsed and stored under
5798         :optional-title property.
5800         * ox.el (org-export-get-optional-title): New function.
5802         * ox-latex.el (org-latex-format-headline-default-function):
5803         Make the variable a function.
5805         * ox-publish.el (org-publish-resolve-external-fuzzy-link):
5806         No error when resolving external fuzzy links outside publishing.
5807         Though search option for these links will not be resolved.
5809         * ox-latex.el (org-latex-guess-inputenc): Set inputenc option
5810         according to `org-export-coding-system'.
5812         * ox.el (org-export--generate-copy-script):
5813         Clone `buffer-file-coding-system' when creating a buffer copy.
5815         * ox-html.el (org-html-link): Resolve external links with search
5816         options like [[file.org::#custom-id]] or
5817         [[file.org::*headline-search]].
5819         * ox-publish.el (org-publish-collect-numbering)
5820         (org-publish-resolve-external-fuzzy-link): New functions.
5821         (org-publish-org-to): Add new collecting function to final output
5822         filter.  Move index collecting function to the same filter.
5823         (org-publish-collect-index): Called from final output filter.
5825         * ox-html.el (org-html-format-headline--wrap, org-html-headline):
5826         Use :CUSTOM_ID, not :custom-id.
5828         * org-element.el (org-element-latex-environment-parser): Fix wrong
5829         value for :post-affiliated property when parsing a latex
5830         environment.
5832         * ox-latex.el (org-latex-property-drawer): Remove function.
5834         * ox-ascii.el (org-ascii-filter-paragraph-spacing):
5835         Remove reference to now renamed `e-ascii' back-end.
5837         * ox-beamer.el (org-beamer-template): Allow to span documentclass
5838         options accross multiple lines in template.
5840         * ox-latex.el (org-latex-template): Allow to span documentclass
5841         options accross multiple lines in template.
5843         * ox-texinfo.el (org-texinfo--get-node): Upcase property name.
5844         (org-texinfo--get-node): New function.
5845         (org-texinfo-headline, org-texinfo-link): Use new function.
5847         * ox-ascii.el (org-ascii-quote-block): Do not fill quote block
5848         contents.  Just indent them.
5850         * ox-publish.el (org-publish-index-generate-theindex): Do not
5851         create an "* Index" headline in "theindex.inc".  Though, create an
5852         "Index" title in fallback "theindex.org".
5854         * ox-publish.el (org-publish-projects): Publish "theindex.org"
5855         last, so that "theindex.inc" can be completed.
5857         * ox-publish.el (org-publish-project-alist): Fix docstring.
5858         (org-publish-collect-index): Fix typo.
5860         * ox.el (org-export--dispatch-ui): Prevent invisible cursor from
5861         highlighting brackets in UI
5863         * org-element.el (org-element-headline-parser)
5864         (org-element-inlinetask-parser): Fix docstring.
5866         * org.el (org-export-backends): Add new back-end in customize
5867         interface.
5869         * ox-beamer.el (org-beamer--get-label, org-beamer--frame-level)
5870         (org-beamer--format-section, org-beamer--format-frame)
5871         (org-beamer--format-block, org-beamer-headline): Apply changes to
5872         properties.
5874         * ox-html.el (org-html-headline, org-html-link, org-html-section):
5875         Apply changes to properties.
5877         * ox-icalendar.el (org-icalendar-create-uid)
5878         (org-icalendar-blocked-headline-p, org-icalendar-entry)
5879         (org-icalendar--valarm): Apply changes to properties.
5881         * ox-odt.el (org-odt-headline): Apply changes
5883         * ox-publish.el (org-publish-collect-index): Apply changes to
5884         properties.
5886         * ox-texinfo.el (org-texinfo--generate-menu-list)
5887         (org-texinfo--generate-menu-items, org-texinfo-template)
5888         (org-texinfo-headline, org-texinfo-link): Apply changes to
5889         properties.
5891         * ox.el (org-export-resolve-id-link, org-export-get-category):
5892         Apply changes to properties.
5893         (org-export-get-node-property): Update docstring.
5895         * org-element.el (org-element-headline-parser)
5896         (org-element-inlinetask-parser): Upcase properties.  This is done
5897         to avoid confusion between properties from parser (e.g. `:end')
5898         and properties from the property drawer (e.g. :END:).
5900         * ox-publish.el (org-publish-index-generate-theindex): Preserve
5901         order in file.  Fix error when two index entries were identical.
5902         Create again theindex.inc.
5904         * org-element.el (org-element-map): Allow to map over any list.
5905         Do not restrict mapping to object types.
5907         * org-faces.el (org-latex-and-related): Rename from
5908         `org-latex-and-export-specials', which wasn't appropriate anymore.
5910         * org.el (org-highlight-latex-and-related)
5911         (org-latex-and-related-regexp): New variables.
5912         (org-compute-latex-and-related-regexp, org-do-latex-and-related):
5913         New function, revived from a previous commit.
5914         (org-set-regexps-and-options, org-set-font-lock-defaults): Use new
5915         functions.
5916         (org-set-regexps-and-options): Remove reference to LATEX_CLASS and
5917         beamer back-end.
5919         * ox-publish.el (org-publish-org-to): Small refactoring.
5921         * ox.el (org-export-install-filters): Properly install filters
5922         send through ext-plist mechanism.
5924         * ox-publish.el (org-publish-org-to): Small refactoring.
5926         * ox-html.el (org-html-keyword): Remove INDEX keyword handling.
5927         ox-publish.el takes care of it already.
5929         * org-macro.el: New file.
5931         * org.el: Remove macro code.
5933         * ox.el: Require new library
5935         * ox.el (org-export-resolve-fuzzy-link): Ignore statistics cookies
5936         when matching an headline.
5937         (org-export--dispatch-ui): Display a help message in header line
5938         for scrolling dispatcher's buffer
5939         (org-export-resolve-radio-link): Radio targets are
5940         case-insensitive.
5942         * ox-icalendar.el (org-export-icalendar): Fix docstring.
5944         * ox.el (org-export-dispatch): Fix docstring.
5945         (org-export--dispatch-action): Small improvement to line by line
5946         scrolling.
5947         (org-export-resolve-fuzzy-link): Refactor.  Whitespaces are not
5948         significant when matching a fuzzy link.
5950         * org-element.el (org-element-link-parser): Do not remove newlines
5951         characters in paths anymore, since this is not required.
5953         * ox.el (org-export--dispatch-ui): Rename from
5954         `org-export-dispatch-ui'.  Handle scrolling.
5955         (org-export--dispatch-action): Rename from
5956         `org-export-dispatch-action'.  Implement scrolling.
5957         (org-export-dispatch): Apply renaming.
5959         * org.el (org-ctrl-c-ctrl-c): Do nothing when at a blank line,
5960         but still run `org-ctrl-c-ctrl-c-final-hook'.
5961         (org-end-of-line): Remove `ignore-error'.
5963         * org-element.el (org-element-at-point): Return nil when in the
5964         first empty lines of the buffer.  Return headline when in empty
5965         lines just after the headline.
5967         * ox.el (org-export-output-file-name): Add a protection when
5968         output file name is the same as the original org.
5970         * ox-beamer.el (org-beamer-template): Add missing `class' argument
5971         for `format-string'.
5973         * ox-latex.el (org-latex-template): Add missing `class' argument
5974         for `format-string'.
5976         * ox.el (org-export-stack-mode): Fix docstring.
5978         * org-pcomplete.el (pcomplete/org-mode/file-option):
5979         Allow completion for ATTR_ prefixed keywords.
5981         * org.el (org-options-keywords): Add missing colons.
5983         * org-macs.el (org-default-options): Remove function.
5985         * org-pcomplete.el (org-command-at-point): Fix bug with some file
5986         options.
5987         (pcomplete/org-mode/file-option/x): Remove macro.
5988         (pcomplete/org-mode/file-option): Refactor code.
5989         (pcomplete/org-mode/file-option/author)
5990         (pcomplete/org-mode/file-option/date)
5991         (pcomplete/org-mode/file-option/title)
5992         (pcomplete/org-mode/file-option/tags)
5993         (pcomplete/org-mode/file-option/select_tags)
5994         (pcomplete/org-mode/file-option/priorities)
5995         (pcomplete/org-mode/file-option/language)
5996         (pcomplete/org-mode/file-option/filetags)
5997         (pcomplete/org-mode/file-option/exclude_tags)
5998         (pcomplete/org-mode/file-option/email): New functions.
6000         * ox.el (org-export--collect-headline-numbering): Remove footnote
6001         section from TOC.
6002         (org-export-collect-headlines): Do not count footnote section when
6003         numbering a headline.
6005         * ox-beamer.el (org-beamer-plain-list): Also read #+attr_latex
6006         attributes in order to determine list's options.
6008         * ox-ascii.el (org-ascii-inner-template): New function.
6009         (org-ascii-template): Use new function.
6010         (org-ascii-export-as-ascii, org-ascii-export-to-ascii):
6011         Update docstring.
6013         * org-element.el (org-element-link-parser): Take into
6014         consideration links filled and indented.
6016         * org-element.el (org-element-link-parser): Remove all newline
6017         characters in path property.
6019         * ox.el (org-export-as): Call `inner-template' function, if
6020         available.
6022         * ox-html.el (org-html-inner-template): New function.
6023         (org-html-template): Move all parts that should be inserted even
6024         in a body-only export into `org-html-inner-template'.
6026         * org.el (org-forward-element, org-backward-element): When no
6027         headline is found at the same level, still move forward or
6028         backward.
6030         * org-element.el (org-element--current-element): Add a limit
6031         argument.
6032         (org-element--collect-affiliated-keywords): Fix parsing of orphaned
6033         keyword at the end of an element.
6035         * ox-texinfo.el (org-texinfo-src-block): Remove spurious newline
6036         character as `org-export-format-code-default' already makes sure
6037         the string returned will end with a single one.
6039         * ox-latex.el (org-latex-headline): When a function returns a
6040         sectioning command, only one placeholder should be required.
6042         * org-element.el (org-element-nested-p): Do not inline function.
6044         * ox.el (org-export-copy-buffer, org-export-with-buffer-copy)
6045         (org-export--generate-copy-script): Move earlier in the file.
6047         * ox-texinfo.el (org-texinfo-link): Do not transform path part of
6048         internal links.
6050         * org.el (org-org-menu): Small refactoring.
6052         * ox-beamer.el (require):
6053         * ox-icalendar.el (require):
6054         * ox-jsinfo.el (require):
6055         * ox-md.el (require): Require cl when compiling.
6057         * org.el (org-export-backends):
6058         * ox.el (org-export-dispatch): Fix docstring.
6060         * ox.el (org-export-dispatch-ui): Widen UI by 2 characters.
6062         * ox-latex.el (org-latex-special-block): Add :options attribute to
6063         special blocks to specify options.
6065         * ox-beamer.el (org-beamer-template): Add BEAMER_HEADER keywords
6066         below LATEX_HEADER.
6068         * ox-latex.el (org-latex-format-headline-function): Fix missing
6069         parens in the docstring.
6071         * org.el (org-export-backends): Remove `:initialize' function.
6073         * org.el (org-reload): Also reload export back-ends in use.
6075         * ox-latex.el (org-latex-example-block, org-latex-src-block):
6076         Ignore element if it's empty.  This fixes error "apply: Wrong
6077         number of arguments: max, 0".
6079         * ox-beamer.el (org-beamer-template): Provide an error when LaTeX
6080         class is invalid.
6082         * ox-latex.el (org-latex-template): Provide an error when LaTeX
6083         class is invalid.
6085         * org.el (org-modules): Remove export back-ends from the list.
6086         Update docstring.
6087         (org-export-backends): New variable.
6089         * ox.el (org-export-async-start): Make sure export framework is
6090         required in the external process.
6092         * org.el (org-format-latex-header-extra, org-export-have-math):
6093         Remove variables.
6094         (org-latex-default-packages-alist): Rename from
6095         `org-export-latex-default-packages-alist'.
6096         (org-latex-packages-alist): Rename from
6097         `org-export-latex-packages-alist'.
6098         (org-try-cdlatex-tab, org-cdlatex-underscore-caret,
6099         org-cdlatex-math-modify): Reorder in file.
6100         (org-format-latex): Remove `org-format-latex-header-extra'.
6101         (org-create-formula-image-with-dvipng,
6102         org-create-formula-image-with-imagemagick): Apply variables renaming
6103         and removal.
6105         * org-entities.el (org-entities-user): Update docstring.
6107         * ox-latex.el (org-latex-classes, org-latex-listings):
6108         Update docstring.
6109         (org-latex-guess-inputenc): Rename from `org-latex--guess-inputenc'.
6110         (org-latex-guess-babel-language): Rename from
6111         `org-latex--guess-babel-language'.
6112         (org-latex-template): Apply renaming.
6114         * ox-beamer.el (org-beamer-template): Apply renaming.
6116         * ob-latex.el (org-babel-execute:latex): Apply variable renaming
6117         and removal.
6118         (org-babel-latex-tex-to-pdf): Call `org-latex-compile' instead of
6119         copying it.
6121         * org-macs.el (org-if-unprotected, org-if-unprotected-1)
6122         (org-if-unprotected-at): Remove macros.
6123         (org-re-search-forward-unprotected): Remove function.
6125         * org.el (org-format-latex):
6126         * org-list.el (org-list-struct):
6127         * org-footnote.el (org-footnote-at-reference-p):
6128         * org-capture.el (org-capture-fill-template): Remove reference to
6129         `org-protected'.
6131         * ob-exp.el (org-babel-exp-process-buffer): Rename from
6132         `org-export-blocks-preprocess'.
6134         * ox.el (org-export-execute-babel-code): Apply previous renaming.
6136         * org-pcomplete.el (pcomplete/org-mode/file-option): Collect valid
6137         keywords for completion without requiring the whole export
6138         framework.
6139         (pcomplete/org-mode/file-option/options): Rewrite using new export
6140         framework.  Only complete up to the colon.
6141         (pcomplete/org-mode/file-option/x): Remove macro.
6142         (pcomplete/org-mode/file-option/title)
6143         (pcomplete/org-mode/file-option/author)
6144         (pcomplete/org-mode/file-option/email)
6145         (pcomplete/org-mode/file-option/date): Remove functions.
6146         (pcomplete/org-mode/file-option/infojs_opt): New function.
6148         * org-clock.el (org-clocktable-defaults)
6149         (org-clocktable-write-default): Avoid requiring the whole export
6150         framework just to check one variable.
6152         * org-footnote.el (org-footnote-section): Update docstring.
6153         (org-footnote-normalize): Remove all export related part from the
6154         function.
6156         * org-inlinetask.el (org-inlinetask-export)
6157         (org-inlinetask-export-templates): Remove variables.
6158         (org-inlinetask-export-handler): Remove function.
6160         * org-plot.el: Remove dependency on `org-exp' library.
6162         * org.el (org-additional-option-like-keywords): Remove variable.
6163         (org-get-export-keywords): New function.
6164         (org-options-keywords): Update default list of keywords.
6165         (org-remove-flyspell-overlays-in): Apply changes to keywords
6166         compilation.
6167         (org-highlight-latex-fragments-and-specials)
6168         (org-latex-and-specials-regexp)
6169         (org-export-html-special-string-regexps): Remove variables.
6170         (org-compute-latex-and-specials-regexp)
6171         (org-do-latex-and-special-faces, org-remove-file-link-modifiers):
6172         Remove functions.
6173         (org-set-regexps-and-options, org-set-font-lock-defaults): Apply all
6174         removals.
6175         (org-use-sub-superscripts): Fix docstring.  Remove unused group.
6176         (org-match-sexp-depth): Make it a defconst instead of a defcustom
6177         in order to remove `org-export-translation' group completely.
6179         * ob-haskell.el (org-babel-haskell-export-to-lhs): Use new
6180         exporter.
6182         * ob-latex.el (org-babel-execute:latex): Use new exporter.
6184         * ob-org.el (org-babel-execute:org): Use new exporter.
6186         * org-agenda.el (org-agenda-menu, org-agenda-write): Use new
6187         iCalendar export back-end.
6189         * org-table.el (org-table-export, orgtbl-export):
6190         Remove dependency on `org-exp' library.
6191         (org-table-clean-before-export): New function.
6192         (org-table-colgroup-info): New variable.
6193         (orgtbl-to-html): Use to new HTML export back-end.
6195         * org.el (org-modules): Remove modules relative to obsolete export
6196         framework and add those relative to the new one.
6197         (org-create-formula-image-with-dvipng, org-format-latex
6198         org-create-formula-image-with-imagemagick): Use new exporter.
6199         (org-indent-line): INCLUDE keywords are indented like regular
6200         keywords.
6201         (org-mode-map): Bind C-c C-e to new export dispatcher.
6202         (org-menu): Install new exporter in menu.
6204         * org-ascii.el:
6205         * org-beamer.el:
6206         * org-docbook.el:
6207         * org-exp-blocks.el:
6208         * org-exp.el:
6209         * org-freemind.el:
6210         * org-html.el:
6211         * org-icalendar.el:
6212         * org-jsinfo.el:
6213         * org-latex.el:
6214         * org-lparse.el:
6215         * org-odt.el:
6216         * org-publish.el:
6217         * org-special-blocks.el:
6218         * org-taskjuggler.el:
6219         * org-xoxo.el: Remove
6221         * ox-ascii.el:
6222         * ox-beamer.el:
6223         * ox-html.el:
6224         * ox-icalendar.el:
6225         * ox-jsinfo.el:
6226         * ox-latex.el:
6227         * ox-man.el:
6228         * ox-md.el:
6229         * ox-odt.el:
6230         * ox-publish.el:
6231         * ox-texinfo.el:
6232         * ox.el: New file.
6234         * ob-exp.el (org-export-blocks-preprocess): Do not use
6235         `indent-code-rigidly' as it doesn't indent contents of strings.
6237         * org-element.el (org-element-map): Change to function
6238         indentation.  Also complete docstring.
6240         * org.el (org-ctrl-c-ctrl-c): Major rewrite function using
6241         Elements.
6243         * org-element.el (org-element-at-point): When point is before any
6244         element, in the first blank lines of the buffer, return nil.
6245         When point is within blank lines just after a headline, return that
6246         headline.
6247         (org-element-context): Return nil when point is within the blank at
6248         the beginning of the buffer.
6250         * org.el (org-edit-special): Fix regression.
6251         (org-timestamp-has-time-p, org-timestamp-format)
6252         (org-timestamp-split-range, org-timestamp-translate):
6253         New functions.
6255         * org-element.el (org-element-timestamp-interpreter):
6256         Interpret timestamps ranges with repeaters.
6258         * org.el (org-edit-special): Rewrite `org-edit-special' using Org
6259         Elements tools.  Behavior should be unchanged.
6261         * org-element.el (org-element-context): Add an optional argument
6262         so that (org-element-context) and (org-element-context
6263         (org-element-at-point)) are equivalent.
6265         * ob.el: Only use the :wrap argument up to the first space when
6266         creating the #+END_ directive.
6268         * org-element.el (org-element-object-variables): New variable.
6269         (org-element-parse-secondary-string): Copy some buffer-local
6270         variables to the temporary buffer created to parse the string so
6271         links can still be properly expanded.
6272         (org-element-link-parser): Link expansion and translation are applied
6273         transparently for the parser.
6275         * org-element.el (org-element-line-break-parser): Line break
6276         includes the newline character following the backslashes.
6277         (org-element-line-break-interpreter): Apply changes to line break
6278         parsing.
6280         * org.el (org-all-targets): Fix radio targets detection when
6281         object is directly followed by a non-whitespace character.
6283         * ob.el (org-babel-use-quick-and-dirty-noweb-expansion):
6284         Rename from `org-babel-use-quick-and-dirty-noweb-expansion'.
6285         (org-babel-expand-noweb-references): Use new variable name.
6287         * org-element.el (org-element-timestamp-interpreter):
6288         Fix timestamp interpreter when raw value isn't available.
6290         * ob-exp.el (org-babel-exp-non-block-elements): Make sure to parse
6291         inline babel call or inline src block instead of the following
6292         object.
6294         * org-element.el (org-element-timestamp-parser): Timestamp with
6295         time range has active/inactive-range type.
6296         (org-element-block-name-alist): Do not reset
6297         `org-element-block-name-alist' at each reload.
6298         (org-element-object-restrictions): Allow timestamps in parsed
6299         keywords (i.e. DATE).
6301         * org-agenda.el (org-agenda-show-clocking-issues)
6302         (org-agenda-format-item): Silence byte compiler.
6304         * org-colview.el (org-agenda-columns): Silence byte compiler.
6306         * org.el (org-properties-postprocess-alist): Silence byte
6307         compiler.
6309         * org-element.el (org-element-timestamp-parser): Return nil for
6310         unspecified :hour-end and :minute-end properties.
6311         (org-element-object-restrictions): Add footnote references objects
6312         in table cells.
6313         (org-element-interpret-data): Clear text properties when
6314         interpreting a string .
6316         * org-capture.el (org-capture--expand-keyword-in-embedded-elisp):
6317         Fix docstring.
6319         * org.el (org-adaptive-fill-function): Items do not have
6320         a :post-affiliated property.  Use :begin property instead.
6322         * org-element.el (org-element-headline-parser)
6323         (org-element-inlinetask-parser): Remove :clockedp property.
6325         * org.el (org-adaptive-fill-function): All elements do not have a
6326         :post-affiliated property.
6327         (org-macro-replace-all): Signal an error when a circular macro
6328         expansion happens.
6329         (org-macro-initialize-templates): Fix docstring.
6331         * org-element.el (org-element-map): Fix docstring.
6332         (org-element-contents, org-element-set-contents)
6333         (org-element-adopt-elements): Fix accessors and setters wrt
6334         secondary strings.
6335         (org-element-headline-parser)
6336         (org-element-inlinetask-parser): Fix void-function
6337         `org-clocking-buffer' error.
6338         (org-element-context): Fix org-element-context on parsed keywords.
6339         (org-element-context): Find objects in document and parsable
6340         affiliated keywords.
6341         (org-element-center-block-parser)
6342         (org-element-drawer-parser, org-element-dynamic-block-parser)
6343         (org-element-footnote-definition-parser)
6344         (org-element-plain-list-parser)
6345         (org-element-property-drawer-parser)
6346         (org-element-quote-block-parser, org-element-special-block-parser)
6347         (org-element-babel-call-parser, org-element-comment-parser)
6348         (org-element-comment-block-parser, org-element-diary-sexp-parser)
6349         (org-element-example-block-parser)
6350         (org-element-export-block-parser, org-element-fixed-width-parser)
6351         (org-element-horizontal-rule-parser, org-element-keyword-parser)
6352         (org-element-latex-environment-parser)
6353         (org-element-paragraph-parser, org-element-src-block-parser)
6354         (org-element-table-parser, org-element-verse-block-parser):
6355         Add `:post-affiliated' property to elements.
6356         (org-element-inlinetask-parser): Remove affilated keywords.
6358         * org.el (org-adaptive-fill-function): Use new property.
6360         * org-element.el (org-element--collect-affiliated-keywords):
6361         Allow duals keywords with only secondary value.
6362         (org-element-timestamp-parser): Modify timestamp objects
6363         properties.
6364         (org-element-headline-parser, org-element-inlinetask-parser): Remove
6365         `:timestamp' and `:clock' property.  Add `:clockedp' property.  Also,
6366         set `:closed', `:deadline' and `:scheduled' values to timestamp
6367         objects, not strings.  Small refactoring.
6368         (org-element-clock-parser): Rename `:time' property into `:duration'.
6369         Also, set `:value' value as a timestamp object, not a string.
6370         (org-element-planning-parser): Set `:closed', `:deadline' and
6371         `:scheduled' values to timestamp objects, not strings.
6372         (org-element-clock-interpreter, org-element-planning-interpreter)
6373         (org-element-timestamp-interpreter): Update interpreters.
6374         (org-element--current-element): Tiny refactoring.
6376         * ob.el (org-babel-where-is-src-block-result): Insert new results
6377         keyword in current narrowed part of buffer, if necessary.
6378         Small refactoring.
6379         (org-babel-insert-result): Do not widen buffer when new results have
6380         to be inserted.  Therefore, results inserted after the last block of
6381         a narrowed buffer still belong to the narrowed part of the buffer.
6383         * org-agenda.el (org-agenda-get-deadlines): Tiny stylistic change.
6385         * org-element.el (org-element-paragraph-separate): Diary-sexp
6386         elements can separate paragraphs.
6387         (org-element-all-elements): Install new `diary-sexp' type.
6388         (org-element--current-element): Recognize new `diary-sexp' elements.
6389         (org-element-diary-sexp-parser)
6390         (org-element-diary-sexp-interpreter): New functions.
6391         (org-element-horizontal-rule-parser)
6392         (org-element-keyword-parser, org-element--current-element):
6393         Small refactoring.
6394         (org-element-property): Access to text properties when argument is
6395         a string.
6396         (org-element-put-property): Correctly set property when target is
6397         a string.
6398         (org-element-adopt-elements): Also put :parent properties on
6399         strings.
6401         * ob-exp.el (org-babel-exp-code): Escape code when re-creating a
6402         src blocks.
6403         (org-export-blocks-preprocess): Pos can sometimes be set to a
6404         value greater than start, because of indentation, and lead to a
6405         search bound error.
6406         (org-babel-exp-code): Remove comma-escaping special rule for Org
6407         blocks.
6408         (org-export-blocks-preprocess): Results of an evaluated code block
6409         can be inserted within the blank lines after the block.  Hence, if
6410         the block has to be removed, delete everything down to the first
6411         non-blank line after the end of block closing string, instead of
6412         removing everything down to the very end of the block.
6414         * org.el (org-all-targets): Make sure the regexp really matched a
6415         radio target.
6416         (org-macro-expand, org-macro-replace-all): Change signature.
6417         The function now accepts an alist of templates so it doesn't have to
6418         rely only on `org-macro-templates'.
6419         (org-macro-initialize-templates): {{{date}}} is not anymore an
6420         alias for {{{time}}}.  During export, it will provide the value
6421         stored in DATE keyword instead.
6423         * org-element.el (org-element-object-restrictions): Allow links in
6424         caption.  Also allow inline-src-blocks and inline-babel-calls.
6425         (org-element-map): Change signature.
6426         (org-element-parsed-keywords): Remove document properties from the
6427         value.
6428         (org-element-dual-keywords): Fix docstring.
6429         (org-element-document-properties): New variable
6430         (org-element-all-elements): Add `node-property' as a new element
6431         type.
6432         (org-element-greater-elements): Add property-drawer element to
6433         greater elements since they now contain node-property elements.
6434         (org-element-drawer-parser): Small refactoring.
6435         (org-element-property-drawer-parser): Move into Greater Elements
6436         file section.
6437         (org-element-node-property-parser,
6438         org-element-node-property-interpreter): New functions.
6439         (org-element--current-element, org-element-at-point)
6440         (org-element--parse-elements): Handle new element type.
6441         (org-element--collect-affiliated-keywords): Fix return value.
6442         (org-element-center-block-parser)
6443         (org-element-drawer-parser, org-element-dynamic-block-parser)
6444         (org-element-footnote-definition-parser)
6445         (org-element-plain-list-parser, org-element-quote-block-parser)
6446         (org-element-special-block-parser, org-element-babel-call-parser)
6447         (org-element-comment-parser, org-element-comment-block-parser)
6448         (org-element-example-block-parser)
6449         (org-element-export-block-parser, org-element-fixed-width-parser)
6450         (org-element-horizontal-rule-parser, org-element-keyword-parser)
6451         (org-element-latex-environment-parser)
6452         (org-element-paragraph-parser, org-element-property-drawer-parser)
6453         (org-element-src-block-parser, org-element-table-parser)
6454         (org-element-verse-block-parser): Change signature.  Now use an
6455         additional argument: affiliated.
6456         (org-element--current-element): Skip affiliated keywords and pass
6457         them as an argument to parsers.  It prevents to walk through these
6458         keywords twice: the first time to get to the first line of the
6459         element, and a second time to collect the affiliated keywords.
6461         * ob-exp.el (org-babel-exp-non-block-elements): More accurate
6462         white space handling when evaluating inline-src-block, babel-call
6463         and inline-babel-call elements or objects.  Also removed use of
6464         `org-babel-examplize-region' since it would never be called
6465         anyway; return value from `org-babel-exp-do-export' is never nil.
6466         (org-export-blocks-preprocess): Preserve affiliated keywords when
6467         replacing a code block.
6469         * org-element.el (org-element-multiple-keywords): Allow multiple
6470         caption keywords.
6472         * ob-exp.el (org-export-blocks-preprocess): Fix block evaluation
6473         when results are before the block.
6474         (org-export-blocks-preprocess): Improve blank lines handling in
6475         function.  Add comments.  Remove `org-export-blocks-postblock-hook'
6476         since it's defined nowhere now (and doesn't need to, there's
6477         `org-export-before-parsing-hook' already).
6479         * org-exp-blocks.el: Delete.
6481         * ob-exp.el (org-export-blocks-preprocess):
6482         * ob-ditaa.el (org-ditaa-jar-path): Move from
6483         "org-export-blocks.el".
6485         * ob-exp.el (org-babel-exp-src-block): Remove unused argument.
6486         (org-babel-exp-non-block-elements): Rewrite function using Org
6487         Element.
6489         * org-exp-blocks.el (org-export-blocks-preprocess):
6490         Rewrite function using Org Element.
6492         * org-element.el (org-element-recursive-objects)
6493         (org-element-object-restrictions): Remove `macro' from recursive
6494         object types.
6496         * org.el (org-macro-initialize-templates): Small refactoring.
6497         (org-mode): Initialize macros templates.
6498         (org-macro-templates): New variable.
6499         (org-macro-expand, org-macro-replace-all)
6500         (org-macro-initialize-templates): New functions.
6502         * org-element.el (org-element-link-type-is-file): New variable.
6503         (org-element-link-parser): Extract search option and application
6504         in "file"-type links.
6506         * org.el (org-mode): Set back comment-start-skip so comment-dwin
6507         can tell a keyword from a comment.
6509 2013-11-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
6511         * org.el (org-time-stamp): When INACTIVE is non-nil, insert an
6512         inactive timestamp also with double universal argument.
6513         (org-set-regexps-and-options): Don't set font-lock defaults here.
6514         (org-mode): Set font-lock defaults here.
6515         (org-insert-link): Call `org-link-try-special-completion' from the
6516         original buffer.
6518 2013-11-12  Oleh  <oleh.krehel@gmail.com>
6520         * org.el (org-open-at-point): The new code is being run in the
6521         same spot as `org-open-link-functions'.  In case they failed,
6522         check if link matches "^id:" and if so, load the id interface and
6523         follwo the link.
6525 2013-11-12  Rasmus  <rasmus@gmx.us>  (tiny change)
6527         * ox-latex.el (org-latex--inline-image): The pgf format is
6528         associated to an inline image and treated like tikz files.
6530 2013-11-12  Richard Lawrence  <richard.lawrence@berkeley.edu>  (tiny change)
6532         * org-agenda.el (org-cmp-ts): Avoid error when trying to
6533         `string-match' against nil.
6535 2013-11-12  Rick Frankel  <rick@rickster.com>
6537         * ox-html.el (org-html-doctype): New function.
6538         (org-html-template): Use `org-html-doctype' instead of inline
6539         code.
6540         (org-html-headline): Use the new
6541         `org-html--container' function to set container element.
6542         (org-html--container): Returns appropriate element for headline
6543         container.
6544         (org-html-divs): Extra character in doc string.
6545         (org-babel-execute:sql): Unquote cmdline argument in
6546         format string, dbish requires three separate arguments.  Add dbi
6547         to the list of engines with automatically added header separator.
6548         (org-html--build-pre/postamble): Add css class to wrapper div
6549         (defaults to `org-pre/postamble-class').  Move spec building to
6550         separate function (`org-html-format-spec').
6551         (org-html-format-spec): New function.
6552         (org-pre/postamble-class): New variable.
6553         (org-html--timestamp-format): New variable used in the metadata
6554         and the pre/postamble.
6555         (org-html-style-default): Make the preamble and postamble use the
6556         same style.  Make all anchors font-size %100.  Remove margin from
6557         the content section.
6558         (org-html-container-element): Fix docstring.
6559         (org-html-postamble-format, org-html-preamble-format):
6560         Update docstrings.
6561         (org-html-template): Use `org-html--build-pre/postamble'.
6562         (org-html--build-pre/postamble): New function, combining the
6563         pre/postamble generator.  Merge lists of formatters from the
6564         preamble and postamble.  Fix bug, using :time-stamp-file instead
6565         of :with-date for auto display of date: this brings usage in-line
6566         with the latex and beamer exporter.
6567         (org-html--build-postamble, org-html--build-postamble): Delete.
6568         (define-backend): Add :html-doctype and :html-container
6569         parameters.
6570         (org-html-doctype): New option for doctype declaration.
6571         (org-html-container-elemnt): New option for specifying the wrapper
6572         container element.
6573         (org-html-divs): Change to alist of three entries each containing
6574         a key ('preamble, 'content, 'postamble), an HTML element type and
6575         an id to allow setting container elements.
6576         (org-html--build-preamble, org-html--build-postamble): Modify to
6577         use `org-html-divs'.
6578         (org-html-template): Modify to use doctype and container-element
6579         settings.
6580         (org-export-define-backend): Add css url option.
6581         (org-export-htmlized-org-css-url): Modify docstring and options.
6582         (org-html--build-style): Include css-url if specified.
6584 2013-11-12  Roberto Huelga Díaz  <rhuelga@gmail.com>  (tiny change)
6586         * org-timer.el (org-timer-set-timer): Use the variable
6587         `org-clock-sound' when calling `org-notify'.
6589 2013-11-12  Ryo TAKAISHI  <ryo.takaishi.0@gmail.com>
6591         * org-capture.el (org-capture--expand-keyword-in-embedded-elisp):
6592         New function.
6593         (org-capture-expand-embedded-elisp): Use the new function.
6595         * ob-tangle.el (org-babel-tangle-collect-blocks): Change argument
6596         name collid `org-babel-map-src-blocks' variable 'lang'.
6598         * org-protocol.el (org-protocol-convert-query-to-plist):
6599         New function.
6600         (org-protocol-do-capture): Use new function.
6601         (org-protocol-data-separator): Change default separator.
6603 2013-11-12  Rémi Vanicat  <vanicat@debian.org>  (tiny change)
6605         * org-table.el (orgtbl-format-line): Fix bug when formatting line.
6607 2013-11-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6609         * ox-latex.el (org-latex-listings): Don't quote const value.
6611         * ob-C.el (org-babel-C-var-to-C): Add list support
6612         (org-babel-C-val-to-C-list-type, org-babel-C-val-to-C-type)
6613         (org-babel-C-format-val): New functions.
6614         (org-babel-C-ensure-main-wrap, org-babel-execute:C)
6615         (org-babel-execute:C++, rg-babel-execute:cpp)
6616         (org-babel-C++-compiler, org-babel-C-compiler): Improve docstring.
6618         * org-entities.el (org-entities): Add support for hbar.
6620 2013-11-12  Sacha Chua  <sacha@sachachua.com>  (tiny change)
6622         * org.el (org-read-date-get-relative): Handle positive and
6623         negative weekday specifications so that they don't return today.
6624         If today is Friday, "fri" should mean next Friday.  This changes
6625         the previous behavior, which required you to specify "+2fri" in
6626         order to mean next Friday if today was Friday.  If you want to
6627         schedule something for today, you can use ".".
6629 2013-11-12  Samuel Loury  <konubinix@gmail.com>  (tiny change)
6631         * org.el (org-open-at-point): Open a plain link even if the cursor
6632         is before it, which is consistent with the behavior with respect
6633         to bracket and angle links.
6635 2013-11-12  Sean O'Halpin  <sean.ohalpin@gmail.com>  (tiny change)
6637         * ob.el (org-babel-expand-noweb-references): Capture current noweb
6638         start and end patterns then use them to set buffer locals in a
6639         (with-temp-buffer ...) form.
6641 2013-11-12  Sebastien Vauban  <xxx@public.gmane.org>
6643         * ox-latex.el (org-latex-listings-langs): Update custom variable.
6645         * ob-core.el (org-babel-parse-src-block-match): Fix order of list
6646         of header arguments.
6648         * org-clock.el (org-clock-goto-before-context): New option.
6649         (org-clock-goto): Use the new option.
6650         (org-clocktable-write-default): Insert the summary as a standard
6651         #+CAPTION keyword for the (clock) table.
6653 2013-11-12  Stephen Eglen  <S.J.Eglen@damtp.cam.ac.uk>  (tiny change)
6655         * org-agenda.el (org-agenda-prefix-format): Small docstring
6656         enhancement.
6658 2013-11-12  Suhail Shergill  <suhailshergill@gmail.com>  (tiny change)
6660         * ob-core.el (org-babel-temp-file): For remote hosts, modify the
6661         prefix and leave `temporary-file-directory' unchanged.
6663 2013-11-12  Suvayu Ali  <fatkasuvayu+linux@gmail.com>  (tiny change)
6665         * org.el (org-speed-commands-default): Change default binding for
6666         org-mark-subtree from "." to "@" to be more consistent with "C-c
6667         @".
6669 2013-11-12  Tim Burt  <tcburt@rochester.rr.com>  (tiny change)
6671         * org-datetree.el (org-datetree-find-year-create): Also match
6672         headlines with tags.
6674 2013-11-12  Toby S. Cubitt  <tsc25@cantab.net>
6676         * org.el (org-time-clocksum-format)
6677         (org-time-clocksum-fractional-format): In addition to a single
6678         format string, the clocksum formats can now be plists specifying
6679         separate formats for different time units.
6680         (org-minutes-to-clocksum-string): New function to replace
6681         `org-minutes-to-hh:mm-string', which converts a number of minutes
6682         to a string according to the customization options.
6684         * org-colview.el (org-columns-number-to-string): Use the new
6685         `org-minutes-to-clocksum-string' function to format clocksum
6686         durations.
6688         * org-clock.el: Always call new `org-minutes-to-clocksum-string'
6689         function when formatting time durations, instead of calling
6690         `org-minutes-to-hh:mm-string' or passing
6691         `org-time-clocksum-format' directly to format.
6693 2013-11-12  Tokuya Kameshima  <kametoku@gmail.com>
6695         * org-mew.el (org-mew-inbox-folder, org-mew-use-id-db)
6696         (org-mew-subject-alist, org-mew-capture-inbox-folders)
6697         (org-mew-capture-guess-alist): New options.
6698         (org-mew-store-link, org-mew-open): Rewrite.
6699         (org-mew-folder-name, org-mew-follow-link)
6700         (org-mew-folder-eixsts-p, org-mew-get-msgnum)
6701         (org-mew-open-by-message-id, org-mew-search, org-mew-capture)
6702         (org-mew-capture-guess-selection-keys): New functions.
6704 2013-11-12  Trevor Murphy  <trevor.m.murphy@gmail.com>
6706         * org.el (org-get-compact-tod): Always pad minutes to two places.
6708 2013-11-12  Viktor Rosenfeld  <listuser36@gmail.com>  (tiny change)
6710         * org.el (org-agenda-prepare-buffers): Add tags defined in
6711         `org-tag-persistent-alist' to `org-tag-alist-for-agenda'.
6713 2013-11-12  Vitalie Spinu  <spinuvit@gmail.com>
6715         * ob-tangle.el (org-babel-find-file-noselect-refresh):
6716         Call `find-file-noselect' with 'nowarn argument to surpress
6717         `yes-or-no-p' reversion message.
6719         * ob-core.el (org-babel-where-is-src-block-head):
6720         Return `point-marker' instead of `point'.
6722 2013-11-12  Yann Hodique  <yann.hodique@gmail.com>
6724         * org-publish.el (org-publish-org-to-taskjuggler): New function to
6725         publish taskjuggler projects.
6727 2013-11-12  Yasushi Shoji  <yashi@atmark-techno.com>
6729         * org-clock.el (org-clock-x11idle-program-name): New option.
6730         (org-x11idle-exists-p, org-x11-idle-seconds): Use it.
6732 2013-11-12  Yoshinari Nomura  <nom@quickhack.net>
6734         * ox-html.el (org-html--has-caption-p): New function.
6735         (org-html-link--inline-image, org-html-table): Prepend ordinal
6736         number to caption.
6737         (org-html-link): Make numbered link by counting captioned figures
6738         and tables.
6740         * ox.el (org-export-dictionary): Add Japanese translations for
6741         figures and tables.  Add "Figure %d:" entry in the same manner
6742         with "Table %d:".
6744 2013-11-12  Nicolas Richard  <nrichard@ulb.ac.be>
6746         * ob.el (org-babel-edit-distance): When insertion or deletion are
6747         needed, make sure the distance is incremented.  In addition, the
6748         now obsolete mmin function was removed.
6750 2013-11-12  Oleh Krehel  <wave@mail.ua>
6752         * org-capture.el (org-capture-expand-embedded-elisp): Throw error
6753         if result is not a string and not nil.  If the result is nil,
6754         treat it as if it was the empty string.
6756         * org-clock.el (org-clock-notify-once-if-expired):
6757         Honor `org-clock-sound'.
6759 2013-11-12  Rasmus Pank  <rasmus.pank@gmail.com>
6761         * org.el (org-format-latex-header): Remove eucal and amsmath.
6762         (org-latex-default-packages-alist): Remove amstext and add
6763         amsmath.
6765         * ox-latex.el (org-latex-item): Use square as unchecked symbol.
6767         * org.el (org-latex-default-packages-alist): Remove latexsym.
6769         * org-entities.el (org-entities): Add support for ell, imath,
6770         jmath, varphi, varpi, aleph, gimel, beth, dalet, cdots, S (§),
6771         dag, ddag, colon, therefore, because, triangleq, leq, geq,
6772         lessgtr, lesseqgtr, ll, lll, gg, ggg, prec, preceq, preccurlyeq,
6773         succ, succeq, succurlyeq, setminus, nexist(s), mho, check, frown,
6774         diamond.  Changes loz, vert, checkmark, smile and tilde.
6776         * ob-C.el: Added C++ to `org-babel-load-languages' automatically
6777         after loading C.
6779         * org-src.el (org-src-lang-modes): Add association between
6780         language C++ and `c++-mode'.
6782         * ox.el (org-export-smart-quotes-alist): Add ("da" "no" "nb"
6783         "nn" "sv").
6784         (org-export-dictionary): Add some entries ("da" "no" "nb" "nn"
6785         "sv").
6786         (org-export-default-language): Mention other variables affected by
6787         language.
6789         * ox-latex.el (org-latex-babel-language-alist): Add 'nb', 'nn',
6790         and 'no' for Norwegian.  Removed 'no-no'.
6791         (org-latex-pdf-process): let `latexmk' be a preconfigured choice
6792         and change the wording of the docstring.
6793         (org-latex-guess-babel-language): Replace AUTO with language if
6794         AUTO is the option of the LaTeX package Babel.
6795         (org-latex-classes): Update documentation with respect
6796         to `org-latex-guess-babel-language'.
6798 2013-11-12  Дядов Васил Стоянов  <vdyadov@elvees.com>  (tiny change)
6800         * org-docview.el (org-docview-export): New function to export
6801         docview links.
6803 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6805         * org-agenda.el (org-agenda-mode):
6806         * org-indent.el (org-indent-mode): Use the `local' arg of
6807         add-hook/remove-hook.
6809 2013-03-08  Bastien Guerry  <bzg@gnu.org>
6811         * org-exp.el (org-export-normalize-links): Fix critical bug: do
6812         not rely on `org-context' to guess where to prevent links
6813         normalization.
6815 2013-02-28  Achim Gratz  <Stromeko@Stromeko.DE>
6817         * org.el (org-org-menu): Use correct key "C-u C-c C-x !" to do
6818         org-reload uncompiled in the menu.
6820 2013-02-28  Bastien Guerry  <bzg@gnu.org>
6822         * org-indent.el (org-indent-add-properties): Bugfix: prevent
6823         negative value for `added-ind-per-lvl'.
6825         * org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
6826         `isearch-mode-end-hook' so that any isearch fixes the problem with
6827         ellipsis on the first line.
6828         (org-fix-ellipsis-at-bol): New defsubst.
6829         (org-show-context, org-isearch-end): Use it.
6831         * org.el (org-show-context): Remove useless catch.
6832         Make sure the top of the window is a visible headline.
6833         (org-activate-plain-links): Remove unused catch.
6835         * org-macs.el (org-get-alist-option): Return nil, not (nil),
6836         so that `org-show-context' DTRT.
6838         * org.el (org-imenu-get-tree): Fix bug when matching against empty
6839         headlines.
6841         * org.el (org-overview): Stay on current line.
6842         (org-map-entries): Fix docstring.
6843         (org-at-clock-log-p): Delete.
6844         * org-clock.el (org-at-clock-log-p): Move here.
6846         * org.el (org-tsr-regexp-both): Don't activate dates in links.
6847         (org-activate-dates): Change match boundaries according to the new
6848         value of `org-tsr-regexp-both'.
6850         * org-agenda.el (org-agenda-to-appt): Fix typos.
6852         * org-agenda.el (org-agenda-local-vars): Don't include
6853         `org-agenda-show-window' as it needs to be checked outside of the
6854         agenda window.
6856         * org.el (org-set-tags-command): Fix bug when setting tags for
6857         multiple headlines in an active region.
6859         * org-mobile.el (org-mobile-edit): DTRT when inserting a heading
6860         in an invisible region.
6862         * org.el (org-insert-heading-respect-content): Add docstring.
6863         New `invisible-ok' parameter.
6864         (org-insert-todo-heading-respect-content): Add docstring.
6866         * ob-tangle.el (org-babel-tangle-collect-blocks):
6867         Bugfix: remove code references from blocks.
6869         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
6870         Cosmetic changes.
6871         (org-agenda-show-new-time): Fix bug when displaying a temporary
6872         overlay with the scheduled/deadline information.
6874         * org.el (org-fill-paragraph-with-timestamp-nobreak-p): New function.
6875         (org-setup-filling): Use it to prevent breaking a timestamp when
6876         filling a paragraph.
6878         * org-id.el (org-id-get-with-outline-path-completion): Fix docstring.
6880 2013-02-28  Tim Burt  <tcburt@rochester.rr.com>  (tiny change)
6882         * org-datetree.el (org-datetree-find-year-create):
6883         Match headlines with tags.
6885 2013-02-07  Bastien Guerry  <bzg@gnu.org>
6887         * org-agenda.el (org-agenda-get-deadlines)
6888         (org-agenda-get-scheduled): Fix bug: use text properties for the
6889         headline text since we rely on properties to get e.g. the effort.
6891         * org-exp.el (org-export-normalize-links): Don't match links
6892         within tags.
6894         * org-html.el (org-export-html-preamble-format)
6895         (org-export-html-postamble-format): Mention that
6896         org-export-html-preamble/postamble need to be `t' in order for
6897         these variables to have any effect.
6899         * org-html.el (org-html-handle-links): When the link description
6900         is an image and the attribute is "width", pass the attribute to
6901         the <img ...> tag.
6903         * org.el (org-mode): Always honor `org-startup-indented', even
6904         when `org-inhibit-startup' is non-nil.
6906         * org-indent.el (org-indent-mode): Don't check
6907         `org-inhibit-startup'.
6909         * org.el (org-fontify-meta-lines-and-blocks-1): Don't try to add
6910         text properties outside of the buffer.
6912         * org.el (org-agenda-inhibit-startup): Rename from
6913         `org-agenda-inhibit-startup-visibility-cycling'.
6914         (org-agenda-prepare-buffers): Bind `org-inhibit-startup' to
6915         `org-agenda-inhibit-startup'.
6917         * org.el (org-mode): Don't initialize `org-beamer-mode' when
6918         `org-inhibit-startup' is non-nil.
6920         * org-footnote.el (org-footnote-create-definition): Prevent
6921         `electric-indent-mode' from inserting the definition at the wrong
6922         place.
6924         * org-agenda.el (org-agenda-no-heading-message): Delete.
6925         (org-agenda-get-timestamps, org-agenda-get-progress)
6926         (org-agenda-get-deadlines, org-agenda-get-scheduled)
6927         (org-agenda-get-blocks): Don't use
6928         `org-agenda-no-heading-message', skip the entry.
6930         * org.el (org-agenda-inhibit-startup-visibility-cycling):
6931         New option.
6932         (org-agenda-prepare-buffers): Use it to speed up the agenda
6933         generation.
6935         * org-agenda.el (org-agenda-skip): Fix bug by correctly skipping
6936         commented scheduled/deadline lines.
6938         * org-clock.el (org-clock-in): Fix bug when fetching the effort
6939         value.
6941         * ob-python.el (org-babel-python-command): Fix docstring.
6942         (org-babel-python-initiate-session-by-key): Fix bug: `run-python'
6943         from Emacs >24.1 requires a python command as an argument.
6945         * org-element.el (org-element-at-point): Fix typo in docstring.
6947         * org-agenda.el (org-agenda-get-deadlines): Fix bug: use
6948         `org-agenda-show-inherited-tags'.
6950         * org-agenda.el (org-agenda-skip): Correctly handle commented out
6951         scheduled/deadline lines.  Refactor.
6953         * org-install.el: Do not warn users.
6955         * org.el (org-adaptive-fill-function): In message-mode, don't
6956         lines in the message header, nor table lines in the body.
6957         Correctly fill lines starting with `org-outline-regexp' in the
6958         body.
6960         * org-agenda.el (org-agenda-open-link): Fix bug with opening all
6961         links.
6963 2013-02-07  Francesco Pizzolante  <fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>  (tiny change)
6965         * org-clock.el (org-clock-sum): Protect with `org-unmodified'.
6967         * org-macs.el (org-unmodified): Inhibit modification hooks.
6969 2013-02-07  John K. Luebs  <jkluebs@luebsphoto.com>  (tiny change)
6971         * org.el (org-get-wdays): Handle matching a lead time specified in
6972         hours.
6974 2013-02-07  Muchenxuan Tong  <demon386@gmail.com>  (tiny change)
6976         * org-agenda.el (org-agenda-quit): Delete indirect buffer's window
6977         only when it exists.
6979 2013-02-07  Nicolas Goaziou  <n.goaziou@gmail.com>
6981         * org-element.el (org-element-macro-parser): Fix error when last
6982         argument ends with a protected comma.
6984         * org-element.el (org-element-parse-buffer, org-element-map)
6985         (org-element-at-point, org-element-context): Be more verbose in
6986         docstrings.  Also fix typos.
6988         * org-list.el (org-list-struct-fix-box): When a checkbox has to be
6989         resetted because of a non-nil ORDERED property value, make sure it
6990         had a checkbox already.
6992 2013-02-07  Tokuya Kameshima  <kametoku@gmail.com>  (tiny change)
6994         * org-agenda.el (org-search-view): Fix checking
6995         `org-agenda-show-inherited-tags'.
6997 2013-02-07  racin  <racin@free.fr>  (tiny change)
6999         * org-bibtex.el (org-bibtex-search): Don't throw an error when
7000         `org-bibtex-prefix' is nil.
7002 2013-01-13  Bastien Guerry  <bzg@gnu.org>
7004         * org-compat.el (org-condition-case-unless-debug): Delete.
7006         * org-odt.el (org-odt-cleanup-xml-buffers):
7007         Use `condition-case' instead of `org-condition-case-unless-debug',
7008         which is now deleted.
7010         * org-capture.el (org-capture-templates-contexts):
7011         * org-agenda.el (org-agenda-custom-commands-contexts):
7012         Docstring fix.
7014         * org.el (org-get-tags-at): Remove duplicate inherited tags.
7016         * org-agenda.el (org-agenda-show-inherited-tags): Allow to be set
7017         to 'always or to a list of agenda types.
7018         (org-agenda-finalize): Rework conditions under which inherited
7019         tags should be made available even when not displayed.
7020         (org-search-view, org-agenda-get-todos)
7021         (org-agenda-get-timestamps, org-agenda-get-sexps)
7022         (org-agenda-get-progress, org-agenda-get-scheduled)
7023         (org-agenda-get-blocks): Use new possible values of
7024         `org-agenda-show-inherited-tags'.
7026         * org.el (org-open-at-point): Fix opening all links at point.
7028         * org-agenda.el (org-get-entries-from-diary): Turn off
7029         `diary-file-name-prefix' instead of
7030         `diary-file-name-prefix-function', the former is checked before
7031         the latter.
7033         * org.el (org-edit-special): Check for table.el before checking
7034         for Org tables.
7036 2013-01-13  Michael Albinus  <michael.albinus@gmx.de>
7038         * ob-eval.el (org-babel-shell-command-on-region):
7039         Use `executable-find' for local `shell-file-name'.
7041 2013-01-09  Achim Gratz  <Stromeko@Stromeko.de>
7043         * org-faces.el: Define face alias mode-line for XEmacs (it's
7044         called modeline there).
7046         * org-compat.el (org-no-popups): New wrapper macro which let-binds
7047         the correct variables to suppress popup windows depending on the
7048         Emacs version in use.  This is a compile-time decision when
7049         byte-compiling.
7051         * org.el (org-get-location, org-switch-to-buffer-other-window):
7052         Use the wrapper `org-no-popups' to let-bind the correct variables
7053         for suppression of popup windows.
7055         * org-compat.el (user-error): Defalias to `error' for Emacsen that
7056         don't have it.
7058         * org-agenda.el (org-agenda-write): Use org-called-interactively-p
7059         instead of called-interactively-p.
7061         * org.el (org-find-invisible-foreground): Do not use the value of
7062         variables `default-frame-alist', `initial-frame-alist' and
7063         `window-system-default-frame-alist' when their symbol is not bound.
7065 2013-01-09  Bastien Guerry  <bzg@gnu.org>
7067         * org-src.el (org-edit-src-code): Fix bug when trying to edit a
7068         table.el table.
7070         * org-agenda.el (org-agenda-finalize): Inhibit readonly for the
7071         whole function.
7073         * org.el (org-entry-get): Speed up by let-binding some variables
7074         only if needed.  Also fix a bug: consider an empty drawer as no drawer.
7076         * org-agenda.el (org-search-view, org-agenda-get-todos)
7077         (org-agenda-get-timestamps, org-agenda-get-sexps)
7078         (org-agenda-get-progress, org-agenda-get-deadlines)
7079         (org-agenda-get-scheduled, org-agenda-get-blocks)
7080         (org-agenda-change-all-lines): Get local tags only.
7081         (org-agenda-use-tag-inheritance): New option.
7082         (org-agenda-finalize): When `org-agenda-use-tag-inheritance'
7083         is non-nil, possibly reset tags in the agenda buffer.
7084         (org-agenda-check-type): Enhance docstring.
7086         * org.el (org-use-tag-inheritance): Fix typo in docstring.
7088         * org-agenda.el (org-float): Don't alias `org-float'.
7090         * org.el (org-scan-tags): The skipper already checks for archived
7091         entries.
7093         * org.el (org-refresh-properties): Rename from
7094         `org-refresh-effort-properties' and use two new parameters.
7095         (org-agenda-prepare-buffers): Use `org-refresh-properties'.
7096         Also refresh the 'org-appt-warntime text property.
7098         * org-clock.el (org-clock-in): Use the renamed defun.
7100         * org-icalendar.el (org-icalendar-print-entries):
7101         Refresh the 'org-appt-warntime property.
7102         (org-icalendar-print-entries):
7103         * org-agenda.el (org-agenda-get-timestamps)
7104         (org-agenda-get-sexps, org-agenda-get-deadlines)
7105         (org-agenda-get-scheduled): Do not use `org-entry-get' to get the
7106         "APPT_WARNTIME" property value.
7108         * org.el (org-id-link-to-org-use-id): Fix compiler warning.
7110         * org-agenda.el (org-agenda-format-item): Do not use
7111         `org-get-effort' to get the effort text property.
7112         (org-agenda-get-sexps): Use `org-back-to-heading' when setting tags.
7114         * org-clock.el (org-clock-in): Refresh effort properties.
7116         * org.el (org-refresh-effort-properties): New defun.
7117         (org-get-effort): Delete.
7118         (org-set-effort):
7119         (org-property-next-allowed-value): Set the 'org-effort text property.
7120         (org-agenda-prepare-buffers): Refresh effort properties.
7122         * org.el (org-read-date): Let-bind `mouse-autoselect-window' to
7123         nil so that the mouse doesn't jump when the option is set to t globally.
7125         * org-agenda.el (org-agenda-dim-blocked-tasks): Default to nil.
7126         (org-agenda-dim-blocked-tasks): Make interactive and allow an
7127         optional parameter 'invisible to hide blocked tasks instead of
7128         just dimming them.
7129         (org-agenda-mode-map): Bind `org-agenda-dim-blocked-tasks' to "#".
7131         * org-agenda.el (org-agenda-finalize): Don't try to align tags
7132         when there are no tags.  Only try to draw the habit consistency
7133         graph when there is a habit in the buffer.  Only mark clocking
7134         task when there is one.
7136         * org.el (org-adaptive-fill-function): DTRT in `message-mode'.
7138         * org.el (org-get-priority): Save match data even when using
7139         `org-get-priority-function'.
7141         * org-mobile.el (org-mobile-create-index-file):
7142         Possibly normalize `org-todo-keywords'.
7144         * org-mobile.el (org-mobile-push): Use the correct agenda buffer names.
7146         * org.el (org-store-link): Use `org-id-link-to-org-use-id' instead
7147         of the obsolete variable name.
7149         * org.el (org-fontify-meta-lines-and-blocks-1):
7150         Fix bug when fontifying keywords with no value.
7152         * org.el (org-goto-auto-isearch): Enhance docstring.
7153         (org-goto-map): Make a defun, so that the customized value of
7154         org-goto-auto-isearch is correctly initialized.
7155         (org-goto): Initialize the keymap with `org-goto-map'.
7156         (org-get-location): Use *Org Help* as a temporary buffer.
7157         Tell whether auto-isearch is on or off.
7159         * org-exp.el (org-export-as-org): Remove useless argument.
7161         * org-docbook.el (org-export-as-docbook-batch)
7162         (org-export-region-as-docbook, org-export-as-docbook-pdf):
7163         Fix the number of arguments.
7164         (org-export-as-docbook): Remove useless argument.
7166         * org.el (org-speed-commands-default): Use ":" instead of ";" for
7167         `org-set-tags-command', which is consistent with ":" in agenda
7168         view.  Use "=" for `org-columns".
7170         * org.el (org-sparse-tree): Fix redundant information in prompt.
7172         * org-exp.el (org-export-string): Fix number of arguments passed
7173         to the org-export-as-* functions.
7175         * org-latex.el (org-export-as-latex): Fix typo in docstring.
7177         * org-list.el (org-cycle-include-plain-lists): Docstring enhancement.
7179         * org.el (org-fontify-meta-lines-and-blocks-1): Fix fontification
7180         bug when fontifying a keyword with no associated value.
7181         (org-cycle-internal-local): Don't run hooks when cycling a plain
7182         list before first headline.
7183         (org-ctrl-c-ctrl-c): Throw a user error when trying to toggle a
7184         blocked checkbox.
7185         (org-indent-line): Fix table formulas indenting.
7187         * org-agenda.el (org-agenda-open-link): Fix bug when no link is
7188         matched.  Return a message instead of an error.
7189         (org-agenda-priority): Remove useless parameter and fix showing
7190         priority in agenda buffers.
7192         * org-macs.el (org-with-buffer-modified-unmodified): New macro.
7194         * org.el (org-entry-blocked-p): Use the new macro.
7196         * org-src.el (org-edit-src-exit): Don't comma-escape the content
7197         of a fixed width region.
7199         * org.el (org-blocker-hook): Update the docstring to mention that
7200         functions in this hook should not modify the buffer.
7201         (org-trigger-hook): Small docstring fix.
7202         (org-entry-blocked-p): Use `with-buffer-modified-unmodified'
7203         so that the function never modifies the buffer.
7205         * org-agenda.el (org-agenda-open-link): Allow to open an internal
7206         link by using the new `org-offer-links-in-entry' function.
7208         * org.el (org-offer-links-in-entry): Do not open the link directly
7209         through `org-open-link-from-string', only offer to select a link
7210         and return a cons with the link (as a string) and the end of entry.
7211         (org-open-at-point): Use `org-offer-links-in-entry' correctly.
7213         * org.el (org-cycle-internal-local):
7214         Fix bug: allow headings with leading blank characters.
7216         * org-clock.el (org-clock-persist):
7217         Docstring fix: document the 'history value.
7219         * org.el (org-insert-link): Fix bug when inserting links to
7220         headlines containing the ">" character.
7222         * org-crypt.el (org-at-encrypted-entry-p): Fix search boundary.
7224         * org-compat.el (org-delete-directory): New compatibility function
7225         for Emacs 22, where `delete-directory' does not support recursive
7226         deletion.
7228         * org-odt.el (org-odt-cleanup-xml-buffers):
7229         Use the new compatibility function.
7231         * org.el (org-table-map-tables): Fix allowed blocks.
7233         * org.el (org-edit-special):
7234         * org-src.el (org-edit-src-code): Fix regression: allow editing
7235         HTML and LaTeX source blocks again.
7237         * org.el (org-nonsticky-props): Add `htmlize-link'.
7238         (org-nonsticky-props): Add `htmlize-link'.
7240         * org.el (org-edit-special):
7241         * org-src.el (org-edit-src-code): Don't edit in verbatim blocks.
7243         * org-table.el (org-table-fedit-lisp-indent)
7244         (orgtbl-self-insert-command): Use `org-delete-backward-char'
7245         instead of `backward-delete-char'.
7247         * org-src.el (org-edit-src-code): Fix another bug about editing
7248         special blocks "example" and "verbatim".
7250         * org.el (org-structure-template-alist): Add verbatim.
7251         (org-edit-special): Fix bug about editing special blocks
7252         "example" and "verbatim".
7254         * org.el (org-delete-backward-char, org-delete-char):
7255         Save match data, `delete-backward-char' and `delete-char' don't.
7257         * org.el (org-enable-table-editor, org-insert-heading)
7258         (org-remove-timestamp-with-keyword, org-self-insert-command):
7259         * org-table.el (org-table-fedit-lisp-indent)
7260         (orgtbl-self-insert-command):
7261         * org-latex.el (org-export-latex-subcontent):
7262         * org-clock.el (org-clocktable-write-default):
7263         * org-ascii.el (org-export-ascii-preprocess):
7264         Use `delete-backward-char' instead of `backward-delete-char'.
7266         * org.el (org-todo): Ignore the comment string when changing the
7267         TODO state of a headline.
7268         (org-edit-special): Fix docstring.
7269         (org-in-src-block-p): Small enhancement.
7271         * org-publish.el (org-publish-org-to): Call `org-export-as-*'
7272         functions with the correct list of arguments.
7274         * org-html.el (org-export-as-html): Delete obsolete arg `hidden'.
7275         (org-export-as-html-and-open, org-export-as-html-batch)
7276         (org-export-region-as-html): Don't use obsolete arg.
7278         * org-ascii.el (org-export-as-ascii): Delete obsolete arg `hidden'.
7279         (org-export-as-ascii-to-buffer): Don't use obsolete arg.
7281         * org.el (org-in-fixed-width-region-p): Save match data.
7282         (org-in-src-block-p): Use case-folding for searching the block
7283         boundaries.
7284         (org-activate-plain-links, org-activate-angle-links)
7285         (org-activate-bracket-links): Prevent link activation in
7286         source code blocks.
7288         * org-odt.el (org-odt-cleanup-xml-buffers): Fix Emacs Bug#13197 by
7289         setting the correct buffer before marking it unmodified to
7290         silently kill him.
7292         * org.el (org-set-font-lock-defaults): Don't activate links in
7293         source code blocks and fixed-width regions.
7295         * org-agenda.el (org-agenda-finalize): Fix links activation.
7297         * org.el (org-open-at-point): Throw the correct error on
7298         non-links.  Use `user-error' instead of `error'.
7300         * org.el (org-in-fixed-width-region-p): Define before use.
7302         * org-src.el (org-in-src-block-p): Declare function.
7304         * org-compat.el: Fix bug: don't use `eval-when-compile' when
7305         aliasing `user-error'.
7307         * org-agenda.el (org-agenda-skip): Only check if point is
7308         inside a code block, not at a code block.
7310         * org.el (org-in-fixed-width-region-p):
7311         Rewrite using org-element.el.
7313         * org.el (org-fill-paragraph): Fill correctly in source code block.
7315         * org.el (org-in-fixed-width-region-p): New function.
7316         (org-edit-special): Fix bug: make sure to DTRT in every
7317         special environment.  Also use the new function to check
7318         against fixed-width environment.
7320         * org-src.el (org-edit-src-code): Check if we are in a source code
7321         block with `org-in-src-block-p'.  Slightly reformat the docstring.
7323         * org.el (org-in-src-block-p): Return t when point is at the
7324         #+BEGIN_SRC/#+END_SRC lines unless the new optional parameter
7325         'inside is set to t.
7327         * ob-exp.el (obe-marker): Delete useless var.
7329         * org-src.el (org-edit-src-code): Fix bug triggered by the sexp
7330         (copy-marker nil) on Emacs <24.1.
7332 2013-01-09  Dmitry Antipov  <dmantipov@yandex.ru>
7334         * org-agenda.el (org-agenda-get-restriction-and-command):
7335         * org-capture.el (org-capture-place-template):
7336         * org-colview.el (org-dblock-write:columnview):
7337         * org-mobile.el (org-mobile-locate-entry):
7338         * org-table.el (org-table-convert-region):
7339         * org.el (org-update-statistics-cookies): Use `point-marker'.
7341 2013-01-09  Eric Schulte  <eric.schulte@gmx.com>
7343         * org-exp.el (org-export-string): Pass the dir option on through
7344         to any subsequent export functions.
7346 2013-01-09  Henning Weiss  <hdweiss@gmail.com>  (tiny change)
7348         * org-mobile.el (org-mobile-sumo-agenda-command): Remove match
7349         description from block agendas when they have a title.
7351 2013-01-09  Jambunathan K  <kjambunathan@gmail.com>
7353         * org-odt.el (org-export-as-odt-batch): Init `org-odt-zip-dir'.
7354         Fix Emacs Bug#13254.
7356         * org-odt.el (org-odt-format-org-link): Add check for presence of
7357         description in headline links.
7359 2013-01-09  Michael Gauland  <mike_gauland@stanfordalumni.org>  (tiny change)
7361         * org-src.el: Create a marker to pass to copy-marker.
7363 2013-01-09  Nicolas Goaziou  <n.goaziou@gmail.com>
7365         * org.el (org-setup-filling): Set `auto-fill-inhibit-regexp' to
7366         nil because `org-adaptive-fill-function' already determines which
7367         lines should be filled.
7369         * org.el (org-fill-paragraph): Small refactoring.
7371         * org-element.el (org-element--parse-elements)
7372         (org-element-at-point): Fix parsing of a list in a block in a list.
7374 2013-01-09  Sebastien Vauban  <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
7376         * org.el (org-copy-subtree, org-paste-subtree):
7377         Fix whitespace handling when copying/pasting a subtree.
7379 2012-12-20  Michael Albinus  <michael.albinus@gmx.de>
7381         * ob.el (org-babel-temp-file): Fix setting of
7382         `temporary-file-directory' on remote hosts.
7384         * ob-eval.el (org-babel-shell-command-on-region):
7385         Use `process-file' instead of `call-process-region'.  The latter one
7386         does not work on remote hosts.
7388 2012-12-13  Bastien Guerry  <bzg@gnu.org>
7390         * org-latex.el (org-export-latex-links): Escape raw path when
7391         exporting links to files.
7393         * org-src.el (org-src-native-tab-command-maybe): Fix bug: the
7394         S-TAB key should not trigger a native TAB command.
7396         * org.el (org-open-at-point): Allow to open any link within
7397         footnotes definition, not only bracket links.
7399         * org.el (org-sort-entries): Bugfix: keep track of the clock
7400         marker when sorting entries.  Enhance the docstring.
7402         * org-clock.el (org-clock-out): Use `user-error' when the user
7403         tries to clock out while there is no running clock.
7405         * org-table.el (org-table-sort-lines): Ensure coordinates are
7406         correctly displayed when sorting.
7408         * org.el (org-do-sort): Enhance prompt.
7410         * org-agenda.el (org-agenda-finalize): Also activate plain links.
7412         * org-timer.el (org-timer-stop): Add message.
7414         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
7415         Fix redundant messages.
7417         * org-agenda.el (org-agenda-finalize): Fix clock highlighting.
7419         * org.el (org-additional-option-like-keywords): Add "INDEX:".
7421         * org-install.el: Enhance warning.
7423 2012-12-13  Erik Hetzner  <egh@e6h.org>  (tiny change)
7425         * org.el (org-log-into-drawer): Honor the nil value for the
7426         :LOG_INTO_DRAWER: property.
7428 2012-12-13  Le Wang  <l26wang@gmail.com>  (tiny change)
7430         * org-src.el (org-edit-src-exit): Fix editing source section with
7431         blank lines.
7433 2012-12-13  Le Wang  <le.wang@agworld.com.au>
7435         * org-src.el (org-edit-src-code): Use marker with insertion type
7436         t to track end and remove hack requiring delete from beg to (1- end).
7438 2012-12-13  Nicolas Goaziou  <n.goaziou@gmail.com>
7440         * org-element.el (org-element-context): When point is between two
7441         objects, be sure to return the second one.
7443         * org-list.el (org-list-separating-blank-lines-number):
7444         When computing number of blank lines separating items, also count those
7445         in unparsed blocks, like example blocks.
7447         * org.el (org-end-of-line): When visual line mode is on, really
7448         move by visual lines.  Small refactoring.
7450         * org.el (org-end-of-line): On a hidden block make sure to
7451         delegate motion to `end-of-line' instead of `move-end-of-line' in
7452         order to stay on the current line.
7454 2012-12-13  Rafael Laboissiere  <rafael@laboissiere.net>  (tiny change)
7456         * org-bibtex.el: In the documentation section of the file, fix the
7457         broken URL to Andrew Roberts' document on BibTeX entries.
7459         * org-remember.el (org-remember-handler): Correctly strip the
7460         comment lines in the temporary buffer *Remember* when handling a
7461         remember note.
7463         * org-remember.el (org-remember-apply-template): Start the
7464         commented lines in the Remember temporary buffer with the
7465         appropriate characters.
7467 2012-12-13  Toby S. Cubitt  <tsc25@cantab.net>
7469         * org.el (org-beginning-of-line): Check `visual-line-mode' instead
7470         of `line-visual-mode' to determine whether to move by visual lines.
7472         * org.el (org-kill-line): Use the `org-bound-and-true-p' macro.
7474 2012-12-04  Chong Yidong  <cyd@gnu.org>
7476         * org-bibtex.el (org-bibtex-ask): Use visual-line-mode instead of
7477         longlines-mode.
7479 2012-10-26  Achim Gratz  <stromeko@stromeko.de>
7481         * ob-ditaa.el: Needs to (require 'org-compat) for
7482         org-find-library-dir.
7484         * org.el: Remove utf-8 codepoints in docstrings, bytecode doesn't
7485         work when loaded from compressed files.
7487         * org-compat.el: Make sure that file-name-directory is getting a
7488         stringp.  This avoids a possible " (wrong-type-argument stringp
7489         nil)" error when the library in question does not exist.
7491         * org-odt.el: Replace arc-mode.el by arc-mode.
7493         * org.el: Replace org-macs.el by org-macs.
7495         * org-install.el: Provide an empty file that prints a warning
7496         about an outdated configuration.
7498 2012-10-26  Bastien Guerry  <bzg@gnu.org>
7500         * org-latex.el (org-export-as-latex): Remove obsolete argument
7501         `hidden'.  Also fix the docstring: using 'string as the value
7502         for `to-buffer' outputs a string with no LaTeX header.
7503         (org-export-as-latex-batch)
7504         (org-export-as-latex-to-buffer, org-export-region-as-latex)
7505         (org-export-as-pdf): Don't use the obsoleted argument.
7507         * ob-haskell.el (org-export-as-latex): Don't use the obsoleted
7508         argument `hidden'.
7510         * org.el (org-refile): Run within `with-demoted-errors' so that a
7511         corrupted bookmark file does not stop the refile process.
7513         * org-capture.el (org-capture-bookmark-last-stored-position):
7514         Ditto for the capture process.
7516         * org-src.el (org-edit-src-exit): Fix bug when saving an empty
7517         source buffer.
7519         * org-lparse.el (org-lparse): Fix bug by returning the output
7520         of `org-do-lparse'.
7522         * org.el (org-refile-check-position): Throw an error when the
7523         refile target is the current buffer and is not a file.
7524         (org-agenda-file-to-front, org-remove-file): Throw an error
7525         when the current buffer is not a file.
7526         (org-check-agenda-file): Enhance the message.
7527         (org-element-type): Autoload.
7528         (org-element-context, org-element-paragraph-parser):
7529         Don't declare as these two functions are not used in org.el.
7531         * org-lparse.el (browse-url-file-url): Declare.
7533         * org.el (org-refile-check-position): Fix typo in docstring.
7535         * org-clock.el (org-clock-modeline-total): Make obsolete.
7536         (org-clock-mode-line-total): Rename from
7537         `org-clock-modeline-total'.
7538         (org-clock-get-sum-start): Fix references to
7539         `org-clock-modeline-total'.
7541         * org-faces.el (org-agenda-filter-tags)
7542         (org-agenda-filter-category, mode-line): Use the 'mode-line
7543         face instead of the obsolete 'modeline.
7545         * org-odt.el (org-odt-styles-dir): Try more directories.
7546         Don't throw an error, just send a message.
7548         * org-odt.el (org-odt-lib-dir, org-odt-data-dir)
7549         (org-odt-schema-dir-list, org-odt-styles-dir-list): Delete.
7550         (org-export-odt-schema-dir, org-odt-styles-dir): Infer the
7551         correct directories without requiring other variables.
7553         * org-loaddefs.el: New file.
7555         * org.el ("org-loaddefs.el"): Don't throw an error if the file
7556         cannot be fund.
7557         (org-version): Use org-loaddefs.el instead of org-install.el.
7559         * org.el: Don't dynamically autoload already autoloaded
7560         functions.
7561         (org-clock-update-time-maybe): Move to org-clock.el.
7563         * org-exp.el (org-insert-export-options-template):
7564         Remove autoload cookie.
7566         * org-clock.el (org-resolve-clocks, org-clock-in)
7567         (org-clock-out, org-clock-cancel, org-clock-goto)
7568         (org-clock-sum, org-clock-display, org-clock-report)
7569         (org-dblock-write:clocktable): Add autoload cookie.
7570         (org-clock-update-time-maybe): Move from org.el.
7572         * org-beamer.el (org-beamer-sectioning, org-beamer-mode): Ditto.
7574         * org-ascii.el (org-export-ascii-preprocess): Ditto.
7576         * org-archive.el (org-archive-subtree)
7577         (org-archive-to-archive-sibling, org-toggle-archive-tag):
7578         Add autoload cookie.
7580         * org-colview.el (org-columns, org-dblock-write:columnview)
7581         (org-insert-columns-dblock, org-agenda-columns): Ditto.
7583         * org-table.el (org-table-create-with-table.el)
7584         (org-table-create-or-convert-from-region, org-table-create)
7585         (org-table-convert-region, org-table-import)
7586         (org-table-export, org-table-align)
7587         (org-table-justify-field-maybe, org-table-next-field)
7588         (org-table-previous-field, org-table-next-row)
7589         (org-table-copy-down, org-table-field-info)
7590         (org-table-current-dline, org-table-goto-column)
7591         (org-table-insert-column, org-table-delete-column)
7592         (org-table-move-column-right, org-table-move-column-left)
7593         (org-table-move-column, org-table-move-row-down)
7594         (org-table-move-row-up, org-table-move-row)
7595         (org-table-insert-row, org-table-insert-hline)
7596         (org-table-hline-and-move, org-table-kill-row)
7597         (org-table-sort-lines, org-table-cut-region)
7598         (org-table-copy-region, org-table-paste-rectangle)
7599         (org-table-convert, org-table-wrap-region)
7600         (org-table-edit-field, org-table-sum)
7601         (org-table-get-stored-formulas)
7602         (org-table-maybe-eval-formula)
7603         (org-table-rotate-recalc-marks)
7604         (org-table-maybe-recalculate-line, org-table-eval-formula)
7605         (org-table-recalculate, org-table-iterate)
7606         (org-table-edit-formulas)
7607         (org-table-toggle-coordinate-overlays)
7608         (org-table-toggle-formula-debugger, orgtbl-to-generic)
7609         (orgtbl-to-tsv, orgtbl-to-csv, orgtbl-to-latex)
7610         (orgtbl-to-html, orgtbl-to-texinfo, orgtbl-to-orgtbl): Ditto.
7612         * org.el (turn-on-orgtbl): Move here from org-table.el.
7613         (org-clock-persistence-insinuate): Move here from org-clock.el.
7614         (org-update-all-dblocks, org-map-entries)
7615         (org-require-autoloaded-modules, org-forward-element)
7616         (org-backward-element, org-up-element)
7617         (org-element-greater-elements, org-drag-element-backward)
7618         (org-drag-element-forward, org-mark-element)
7619         (org-narrow-to-element, org-transpose-element)
7620         (org-unindent-buffer): Don't autoload.
7622         * org-clock.el (org-clock-get-clocktable): Rename from
7623         `org-get-clocktable'.
7624         (org-clock-persistence-insinuate): Move to org.el.
7626         * org-capture.el: Do no set `generated-autoload-file' locally.
7627         Minor code clean up.
7629         * org-agenda.el (org-agenda-list):
7630         Use `org-clock-get-clocktable'.  Do no set
7631         `generated-autoload-file' locally.
7633         * org-table.el (org-table-iterate-buffer-tables):
7634         Minor reformatting.
7635         (turn-on-orgtbl): Move to org.el.
7637         * org-html.el (org-export-htmlize-generate-css): Don't autoload.
7639         * org-timer.el (org-timer-pause-or-continue, org-timer-stop):
7640         Ditto.
7642         * ob-tangle.el (org-babel-tangle-lang-exts): Ditto.
7644         * ob-lob.el (org-babel-lob-ingest): Ditto.
7646         * org-id.el (org-id-copy)
7647         (org-id-get-with-outline-path-completion)
7648         (org-id-get-with-outline-drilling): Ditto.
7650         * org-lparse.el (org-lparse-and-open, org-lparse-batch)
7651         (org-lparse-to-buffer, org-replace-region-by)
7652         (org-lparse-region): Ditto.
7654         * org-mobile.el (org-mobile-create-sumo-agenda): Ditto.
7656         * org.el (org-cycle): Fix misplaced autoload cookie.
7658         * org-agenda.el (org-agenda-get-timestamps): Check if the item
7659         is an habit when formatting it with `org-agenda-format-item'.
7660         (org-agenda-get-blocks): Fix bug: don't assume the item is an
7661         habit when formatting with `org-agenda-format-item'.
7663         * org.el (org-calendar-agenda-action-key): Delete an option.
7664         (org-mode-map): Delete its keybinding.
7665         (org-agenda-action-marker, org-mark-entry-for-agenda-action):
7666         Delete.
7668         * org-agenda.el (org-agenda-diary-entry): Don't prevent from
7669         being used outside of Org agendas, as it can be used in
7670         calendar buffers too.
7672 2012-10-26  Caio Tiago Oliveira  <asrail@gmail.com>  (tiny change)
7674         * ob-scala.el (org-babel-scala-wrapper-method): Use a Scala
7675         block enclosing the submitted code.
7677 2012-10-26  Myles English  <mylesenglish@gmail.com>  (tiny change)
7679         * org-clock.el (org-clock-in): Move the call to
7680         org-clock-in-prepare-hook until the task's properties
7681         can be accessed.
7683 2012-10-26  Nicolas Goaziou  <n.goaziou@gmail.com>
7685         * org.el (org-auto-fill-function): Make sure `adaptive-fill-mode'
7686         mode is nil when pre-computed `fill-prefix' is the empty string.
7687         Otherwise filling functions from fill.el think it has to be computed
7688         again and overwrite it.
7690         * org.el: Make `org-closest-date' aware of hours repeaters.
7692         * org.el (org-end-of-line): Do not call `end-of-visual-line' when
7693         moving to the end of line.  Also improve behavior on elements that
7694         can be hidden.
7696         * org.el (org-sparse-tree): Allow to call `org-show-todo-tree'
7697         with an argument.
7699         * org-element.el (org-element--get-next-object-candidates):
7700         Fix parsing of objects of the same type in a single paragraph.
7702         * org-element.el (org-element-sub/superscript-successor):
7703         Fix parsing of sub/superscript at beginning of item.
7704         (org-element-latex-or-entity-successor): Fix parsing of latex
7705         fragments at beginning of item.
7707         * org-agenda.el (org-agenda-later): Fix function when span is
7708         a number and an argument was provided.  Also fix typo in docstring.
7710         * org.el (org-read-date-analyze): Fix analyzing for dates like
7711         "29.03 16:40".
7713         * org-element.el (org-element-center-block-parser)
7714         (org-element-drawer-parser, org-element-footnote-definition-parser)
7715         (org-element-inlinetask-parser, org-element-plain-list-parser)
7716         (org-element-quote-block-parser, org-element-special-block-parser)
7717         (org-element-babel-call-parser, org-element-clock-parser)
7718         (org-element-comment-parser, org-element-comment-block-parser)
7719         (org-element-example-block-parser, org-element-export-block-parser)
7720         (org-element-fixed-width-parser, org-element-horizontal-rule-parser)
7721         (org-element-keyword-parser, org-element-latex-environment-parser)
7722         (org-element-paragraph-parser, org-element-planning-parser)
7723         (org-element-property-drawer-parser, org-element-src-block-parser)
7724         (org-element-table-parser)
7725         (org-element-verse-block-parserorg-element-dynamic-block-parser):
7726         Make sure element never ends at the end of a blank non-empty line.
7728         * org-element.el (org-element-context)
7729         (org-element--get-next-object-candidates): Fix `org-element-context'.
7730         In particular, the restrictions for an object may be different from
7731         those of its container (i.e. table rows and table cells).
7733         * org-element.el (org-element-example-block-parser)
7734         (org-element-src-block-parser): Store value of example-blocks and
7735         src-blocks unescaped.
7736         (org-element-example-block-interpreter)
7737         (org-element-src-block-interpreter): Escape value again when storing
7738         it.
7740         * org-src.el (org-escape-code-in-string)
7741         (org-unescape-code-in-string, org-escape-code-in-region)
7742         (org-unescape-code-in-region): New functions.
7743         (org-edit-src-code, org-edit-src-exit): Use new functions.
7745         * org.el (org-strip-protective-commas): Remove function.
7747         * org-exp.el (org-export-select-backend-specific-text): Use new
7748         function.
7750         * ob.el (org-babel-parse-src-block-match)
7751         (org-babel-parse-inline-src-block-match, org-babel-insert-result):
7752         Always escape produced blocks, independently on the language of the
7753         block, if any.  Use new functions.
7755         * org-element.el (org-element-paragraph-parser): Fix regexp
7756         starting a block.
7758         * org-element.el (org-element-center-block-parser):
7759         (org-element-drawer-parser, org-element-dynamic-block-parser)
7760         (org-element-example-block-parser, org-element-export-block-parser)
7761         (org-element-latex-environment-parser, org-element-paragraph-parser)
7762         (org-element-property-drawer-parser, org-element-src-block-parser)
7763         (org-element-verse-block-parser): Use stricter regexps for boundaries
7764         of elements.
7766 2012-10-26  Toby S. Cubitt  <tsc25@cantab.net>
7768         * org-agenda.el (org-agenda-get-sexps): Reset `extra' to nil at
7769         beginning of re-search-forward loop, otherwise next iteration picks up
7770         `extra' value from previous entry.
7772 2012-09-30  Abdó Roig-Maranges  <abdo.roig@gmail.com>
7774         * org-html.el (org-export-html-preprocess)
7775         (org-export-html-format-image):
7776         Use `org-latex-preview-ltxpng-directory'.
7778         * org-odt.el (org-export-odt-do-preprocess-latex-fragments):
7779         Ditto.
7781         * org.el (org-latex-preview-ltxpng-directory): New option.
7782         (org-preview-latex-fragment): Store LaTeX preview images in
7783         `org-latex-preview-ltxpng-directory'.
7785 2012-09-30  Achim Gratz  <Stromeko@Stromeko.DE>
7787         * ob-R.el (org-babel-R-initiate-session): Protect against use of
7788         unbound variable `ess-ask-for-ess-directory´.  The default for this
7789         variable is true, so act accordingly if it is found unbound.
7791         * ob-R.el: Remove initialization with `nil´ from
7792         `ess-ask-for-ess-directory´ and `ess-local-process-name´.
7793         Remove second declaration for `ess-local-process-name´.
7795         * org-gnus.el: Add a missing require for gnus-util.
7797         * org-compat.el: Rename utils to make throughout.
7799         * org.el: Move check for outline-mode-keymap after (require
7800         'outline).
7802         * org-element.el: New file.  Do not (require 'org).
7804         * org-agenda.el: Remove duplicate requires.
7806         * org.el (org-mode-map): Add keybindings to
7807         `org-element-transpose' and `org-narrow-to-element'.
7808         (org-metaup): Fall back on `org-element-drag-backward'.
7809         (org-metadown): Fall back on `org-element-drag-forward'.
7810         Also move chunks of declarations and require statements to get rid of
7811         compiler warnings.
7813         * org-exp-blocks.el (org): Don't require org.  Add declarations.
7815         * org-clock.el (org): Don't require org.
7817         * ob-exp.el (org-list-forbidden-blocks): Add declarations.
7819         * ob.el (org-babel-exeext): New defconst to hold extension for
7820         executables or nil if none.  Should be ".exe" for both Windows and
7821         Cygwin.
7823         * ob-C.el (org-babel-C-execute): Use org-babel-exeext when
7824         constructing the target file name for the compiled executable.
7826         * ob-fortran.el (org-babel-execute:fortran): Add org-babel-exeext
7827         when constructing the target file name for the compiled
7828         executable.
7830         * org-version.el: New file.
7832         * org-compat.el (org-check-version): New macro.  Check if
7833         org-version.el exists and provide autoloads to that.  Otherwise
7834         check if org-fixup.el exists and use it to provide definitions.
7835         Finally if nothing worked, complain about a botched installation
7836         and provide fallback definitions.
7838         * org.el: Use org-check-version.
7840         * org.el: Fix a subtle error resulting in version functions
7841         sometimes not being defined and byte-compiling failing.
7842         Always compile in fallback definitions into org.elc -- org-fixup either
7843         provides re-definitions at compile-time or checks org-version.el
7844         and then the git work tree when run uncompiled.  So the fallback
7845         definitions will only come into effect when org-fixup is not
7846         available.
7848         * org.el (org-version): Make org-version more robust, e.g. when
7849         byte-compiling single files with 'make compile-dirty'.
7851         * org.el (org-reload): Revert an undesirable change in org-reload.
7852         Do not prepend org-dir to babel-files, which prevents the files
7853         from being found in load-path.
7855         * org.el (org-version): Add optional parameters 'full and 'message
7856         to optionally return the full version string and echo to message
7857         area in non-interactive calls.
7859         * org.el (org-submit-bug-report): Add optional parameter 'full to
7860         call of (org-version) so that the bug report has all version
7861         information.
7863         * org.el (org-reload): Simplify file-re (orgtbl-*.el files do not
7864         exist anymore).  Keep org-*.el at the end of the files list.
7865         Explicitly load org-version.el (since it doesn't provide feature
7866         'org-version) at the very end, but ignore errors when it doesn't
7867         exist.  Add parameters 'full and 'message to the call of
7868         (org-version) so that after reload the full version information is
7869         displayed in the message area again.
7871         * org-agenda.el: Replace with-no-warnings with org-no-warnings
7872         (defined in org-macs.el).
7874         * org-bbdb.el: Replace with-no-warnings with org-no-warnings
7875         (defined in org-macs.el).
7877         * org-clock.el: Replace with-no-warnings with org-no-warnings
7878         (defined in org-macs.el).
7880         * org.el: Replace with-no-warnings with org-no-warnings (defined
7881         in org-macs.el).
7883         * org.el: Add with-not-warnings around call of (org-fixup).
7885         * org-compat.el (org-find-library-dir):
7886         Rename org-find-library-name (misleading) and implement with a function
7887         that exists identically in Emacs/XEmacs.
7889         * org-exp-blocks.el: Change calls to org-find-library-dir.
7891         * org.el: change calls to org-find-library-dir.  Make require for
7892         noutline fail silently because it is missing from XEmacs.
7894         * org.el (org-version): Use functions instead of global variables
7895         to get the version strings and remove the defvaralias to
7896         org-version.  Warn when encountering a mixed installation (org and
7897         org-install.el should be found in the same directory).
7899         * org.el: Add with-no-warning to defvar for two unprefixed global
7900         variables from calendar.el (there's nothing else we can do inside
7901         org until it is fixed in calendar.el).
7903         * org.el: Require find-func and remove declare-function for
7904         find-library-name, otherwise autoloaded org-version doesn't show
7905         all info correctly.
7907         * org.el (org-version): Show the full path to org-install.el in
7908         the version string to avoid confusion if multiple installations
7909         exist or a previously loaded org-install.el has already defined a
7910         version string that is now out of date.
7912         * org.el (org-version): Remove determination of version
7913         information, show "N/A" if the information is not provided via
7914         org-install.el.
7916         * org.el (org-git-version): Placeholder for recording the Git
7917         version of org during install
7919         * org.el (org-version): Initialize local git-version with
7920         placeholder and fall through using it when org is not installed in
7921         a Git repository
7923 2012-09-30  Adam Spiers  <orgmode@adamspiers.org>  (tiny change)
7925         * org-html.el: Add hyperlink to http://orgmode.org/ from export
7926         footer.
7928         * org-clock.el (org-clock-modify-effort-estimate): Display a
7929         message when no clock is currently active.
7931 2012-09-30  Andrew Hyatt  <ahyatt@gmail.com>  (tiny change)
7933         * org-archive.el (org-archive-subtree): Allow archiving to a
7934         datetree.
7936         * org.el (org-archive-location): Ditto.
7938 2012-09-30  Bastien Guerry  <bzg@gnu.org>
7940         * ob-io.el: New file.
7942         * ob-scala.el: New file.
7944         * org.el (org-url-hexify-p, org-doi-server-url)
7945         (org-latex-preview-ltxpng-directory, org-custom-properties)
7946         (org-sparse-tree-default-date-type): Add :version "24.3".
7948         * org-agenda.el (org-agenda-sticky)
7949         (org-agenda-custom-commands-contexts): Ditto.
7951         * org-capture.el (org-capture-bookmark)
7952         (org-capture-templates-contexts) (org-capture-use-agenda-date):
7953         Ditto.
7955         * org-latex.el (org-export-latex-hyperref-options-format)
7956         (org-export-latex-link-with-unknown-path-format): Ditto.
7958         * org-id.el (org-id-link-to-org-use-id): Ditto.
7960         * org-datetree.el (org-datetree-add-timestamp): Ditto.
7962         * org.el (org-make-link-description-function): Enhance docstring.
7963         (org-insert-link): Fall back on interactive prompt when
7964         `org-make-link-description-function' fails.
7966         * org-agenda.el (org-todo-list): Fix redoing of todo agenda when
7967         `org-agenda-sticky' is non-nil.
7969         * org-agenda.el (org-agenda-quit): Delete last indirect buffer.
7970         (org-agenda-pre-follow-window-conf): New variable.
7971         (org-agenda-tree-to-indirect-buffer): Fix bug: don't split agenda
7972         window when there an indirect buffer is already displayed.
7974         * org-agenda.el (org-agenda-manipulate-query)
7975         (org-agenda-goto-date, org-agenda-goto-today)
7976         (org-agenda-find-same-or-today-or-agenda, )
7977         (org-agenda-later, org-agenda-change-time-span)
7978         (org-agenda-change-all-lines)
7979         (org-agenda-execute-calendar-command)
7980         (org-agenda-goto-calendar, org-agenda-convert-date): Make sure to
7981         get a property from (1- (point-max)), not (point-max)).
7983         * ob-dot.el (org-babel-execute:dot): Throw an error when there is
7984         no :file parameter.
7986         * org-table.el (org-table-eval-formula): Convert time-stamps to
7987         inactive time-stamp so that Calc can handle them correctly.
7989         * org-table.el (org-table-fix-formulas): Warn with a message when
7990         formulas have been updated.
7992         * org-publish.el (org-publish-cache-ctime-of-src): Delete the
7993         base-dir argument and use (file-name-directory file) to get the
7994         file's directory.
7995         (org-publish-update-timestamp)
7996         (org-publish-cache-file-needs-publishing):
7997         Call `org-publish-cache-ctime-of-src' with only one argument.
7999         * org.el (org-follow-timestamp-link): Fix bug when using sticky
8000         agenda.  Add a docstring.
8002         * org-agenda.el (org-agenda-sticky): Don't use a function to set.
8003         Add a :version string.
8005         * org.el (org-priority): Use a new argument to show priority
8006         instead of setting it.
8007         (org-show-priority): New function to show priority both in normal
8008         Org buffers and in Org Agenda buffers.
8009         (org-speed-commands-default): Use "," as a speed command for
8010         setting priority.
8012         * org-agenda.el (org-agenda-mode-map): Bind `org-agenda-priority'
8013         to `C-c ,' as it was before.
8014         (org-agenda-show-priority): Delete.
8015         (org-agenda-priority): Use a new argument to show priority instead
8016         of setting it.
8018         * org.el (org-font-lock-hook, org-set-font-lock-defaults): Add a
8019         docstring.
8020         (org-display-inline-remove-overlay): Rename from
8021         `org-display-inline-modification-hook'.
8022         (org-speed-command-activate): Rename from
8023         `org-speed-command-default-hook'.
8024         (org-babel-speed-command-hook): Rename from
8025         `org-babel-speed-command-activate'.
8027         * org-agenda.el (org-agenda-update-agenda-type): Rename from
8028         `org-agenda-post-command-hook'.
8029         (org-agenda-mode): Use the new name.
8030         (org-agenda-post-command-hook): Define as obsolete function.
8032         * org-lparse.el (org-lparse): Temporarily activate the hooks
8033         needed for the ODT conversion.
8034         (org-lparse-preprocess-after-blockquote): Rename from
8035         `org-lparse-preprocess-after-blockquote-hook'.
8036         (org-lparse-strip-experimental-blocks-maybe): Rename from
8037         `org-lparse-strip-experimental-blocks-maybe'.
8038         (org-lparse-preprocess-after-blockquote-hook)
8039         (org-lparse-strip-experimental-blocks-maybe-hook): Define as
8040         obsolete functions.
8042         * ob.el (org-babel-insert-result): Comma-escape results inserted
8043         with ":results org".
8045         * org-src.el (org-edit-src-code, org-edit-src-exit): Fix bug about
8046         saving the source editing window with the default value for
8047         `org-src-window-setup' (i.e. 'reorganize-frame).
8049         * org-src.el (org-src-font-lock-fontify-block): Fix bug: don't
8050         fontify the last character.
8052         * org.el (org-open-at-point): Don't follow timestamp within
8053         bracket links.
8055         * org-capture.el (org-capture-templates): Fix typo in docstring.
8057         * org-agenda.el (org-agenda-skip): Skip information retrieved from
8058         a source block.
8060         * ob.el (org-babel-common-header-args-w-values)
8061         (org-babel-insert-result): Reintroduce ":results org" but using
8062         "#+BEGIN_SRC org", not "#+BEGIN_ORG".
8064         * ob.el (org-babel-common-header-args-w-values): Remove "org" the
8065         list of predefined values for the ":results" parameter.
8067         * ob.el (org-babel-insert-result): Remove support for ":results
8068         org".
8070         * ob.el (org-babel-common-header-args-w-values)
8071         (org-babel-insert-result): Deprecate ":results wrap" in favor of
8072         ":results drawer".
8074         * org-crypt.el (org-at-encrypted-entry-p): Fix bug when the check
8075         happens before the first headline.
8077         * org-capture.el (org-at-encrypted-entry-p)
8078         (org-encrypt-entry, org-decrypt-entry): Declare.
8079         (org-capture-set-target-location): Check whether `org-crypt' has
8080         been loaded.
8082         * org-agenda.el (org-agenda-todo-custom-ignore-p): Fix typo in
8083         docstring.
8085         * org-capture.el (org-capture-finalize): Maybe re-encrypt the
8086         target headline if it was decrypted.
8087         (org-capture-set-target-location): Maybe decrypt the target
8088         headline.
8090         * org-crypt.el (org-at-encrypted-entry-p): New function.
8092         * org.el (org-options-keywords): Add "STYLE:".
8094         * org-agenda.el (org-agenda-ndays): Don't make an alias, as
8095         `org-agenda-span' is defined separately.
8097         * org.el (org-in-subtree-not-table-p): New utility function for
8098         building the menu.
8099         (org-org-menu): Add an item for refiling.  Check more contexts
8100         when activating items.
8101         (org-tree-to-indirect-buffer): Use `org-up-heading-safe'.
8103         * org-agenda.el (org-agenda-tree-to-indirect-buffer)
8104         (org-agenda-do-tree-to-indirect-buffer): Use argument `arg'.
8106         * org-capture.el (org-capture-set-target-location): Set a correct
8107         time value when storing a note in a datetree and prompting the
8108         user for a date.
8110         * org-capture.el (org-capture-mode): Fix bug: don't run the mode's
8111         hook twice.
8113         * org-agenda.el (org-agenda-menu-two-column)
8114         (org-finalize-agenda-hook, org-agenda-ndays):
8115         Use `define-obsolete-variable-alias' instead of
8116         `make-obsolete-variable'.
8118         * org.el (org-link-to-org-use-id): Move to org-id.el.
8120         * org-id.el (org-id-link-to-org-use-id): Rename from
8121         `org-link-to-org-use-id'.  Use `nil' as the default value.
8122         (org-link-to-org-use-id): Alias and define as obsolete.
8124         * org-agenda.el (org-search-view, org-agenda-get-todos)
8125         (org-agenda-get-timestamps, org-agenda-get-blocks): Use the dotime
8126         parameter of `org-agenda-format-item' so that 'time-up and
8127         'time-down agenda sorting strategies are handled correctly.
8129         * org-capture.el (org-capture-fill-template): Fix checking of
8130         protected template entries.
8132         * org.el (org-cycle-global-at-bob): Fix typo in docstring.
8134         * org.el (org-insert-drawer): Deactivate the mark before trying to
8135         indent the :END: of the drawer.
8137         * org-agenda.el (org-agenda-export-html-style): Default to nil as
8138         any string value will replace the htmlize style.
8140         * org.el (org-cycle-hook): Fix tiny typo in docstring.
8142         * org.el (org-time-string-to-time)
8143         (org-time-string-to-seconds, org-end-of-subtree): Add a dosctring.
8145         * org-freemind.el (org-freemind-write-node): Enhance links
8146         conversion in nodes.
8148         * org-freemind.el (org-freemind-write-node): Convert links in
8149         nodes.
8151         * org.el (org-link-to-org-use-id, org-directory)
8152         (org-default-notes-file, org-reverse-note-order)
8153         (org-extend-today-until, org-finish-function)
8154         (org-store-link-functions): Use "capture" instead of "remember" in
8155         docstrings.  Also use the `org-capture' group when it makes sense.
8157         * org-agenda.el (org-agenda-tree-to-indirect-buffer): Find the
8158         correct agenda buffer.  Don't split the agenda window when the
8159         indirect buffer is displayed in another frame.
8161         * org.el (org-mode): Try to set the org-hide face correctly.
8163         * org-exp.el (org-export): Set the mark correctly when exporting a
8164         subtree.
8166         * org-agenda.el (org-agenda-get-restriction-and-command): Fix the
8167         display of the number of commands for block agendas.
8169         * org-agenda.el (org-agenda-before-write-hook)
8170         (org-agenda-add-entry-text-maxlines): Enhance phrasing.
8171         (org-agenda-finalize-hook, org-agenda-mode-hook): Tell that the
8172         buffer is writable when the hook is called.
8173         (org-agenda-finalize): Allow org-agenda-finalize-hook to modify
8174         the buffer.
8176         * org-agenda.el (org-habit-show-all-today): Only use defvar to
8177         silent the byte-compiler.
8178         (org-agenda-get-scheduled): Check whether some org-habit.el
8179         options have been defined.
8181         * org-capture.el (org-capture-entry): New variable.
8182         (org-capture-string, org-capture): Use it to possibly skip the
8183         interactive prompt for a capture template.
8185         * org.el (org-activate-plain-links): Don't try to check if we are
8186         in a bracket link already.
8188         * org.el (org-read-date-analyze): Fix bug introduced in commit
8189         cc5f9f: adding a time should not prevent relative answers to be
8190         parsed correctly.
8192         * org-agenda.el (org-agenda-bulk-action): Always read the date
8193         through `org-read-date'.  When possible, use the date at point as
8194         the default date.
8196         * org-agenda.el (org-agenda-bulk-action): Fix bug when
8197         bulk-shifting timestamps.
8199         * org.el (org-version): New constant.
8201         * org-compat.el (org-random): New compatibility function.
8203         * org-id.el (org-id-uuid): Use it.
8205         * org-capture.el (org-capture-use-agenda-date): New option.
8206         (org-capture): Use it.
8208         * org-agenda.el (org-agenda-capture): New command.
8209         (org-agenda-mode-map): Bind it to `k'.
8210         (org-agenda-menu): Add it to the menu.
8212         * org-capture.el (org-capture): Update docstring.
8214         * org-capture.el (org-capture): When called from an agenda buffer,
8215         use the cursor date at the default date.
8217         * org-agenda.el (org-agenda-bulk-action): Use the let-bound
8218         `entries' instead the variable.
8220         * org-agenda.el (org-agenda-bulk-action): Fix bug: don't remove
8221         persistent marks too early.
8223         * org-agenda.el (org-agenda-bulk-action): Possibly use the day at
8224         point to reset the scheduled or deadline cookie.  On date headers,
8225         use it without prompting the user.  On an item, use the item's
8226         date as the default prompt for `org-read-date'.
8228         * org.el (org-read-date): Docstring fix.
8230         * org-agenda.el (org-agenda-bulk-action): Reorder possible actions
8231         in the message.
8233         * org-agenda.el (org-agenda-action, org-agenda-do-action): Delete.
8234         (org-agenda-mode-map): Delete related keys.
8236         * org-agenda.el (org-agenda-menu): Fix a keybinding.
8238         * org-colview.el (org-columns-goto-top-level): Correctly move the
8239         marker `org-columns-top-level-marker'.
8240         (org-agenda-columns): Don't set
8241         `org-agenda-overriding-columns-format' as a buffer variable, as we
8242         only need it dynamically.
8243         (org-agenda-colview-summarize): Fix a bug in returning the match
8244         string.
8246         * org-agenda.el (org-agenda-span-to-ndays): Make the second
8247         argument `starting-day' optional.
8248         (org-agenda-goto-date): Keep parameters of custom agendas.
8250         * org-agenda.el (org-agenda-list): Allow setting the agenda buffer
8251         name through a temporary variable.
8252         (org-agenda-buffer-tmp-name): New variable to temporary store the
8253         agenda buffer name.
8255         * org-agenda.el (org-agenda-goto-date): Fix behavior when using
8256         sticky agendas.
8258         * org-agenda.el (org-diary): Don't check whether there is an
8259         agenda buffer when trying to compile the prefix format.
8260         (org-compile-prefix-format): Check if there is an agenda buffer.
8261         If not, use the current buffer.
8263         * org-agenda.el (org-agenda-get-day-entries): Set the agenda
8264         buffer inconditionnally.
8266         * ob.el (org-babel-named-src-block-regexp-for-name): Generate a
8267         more general regexp.
8269         * ob.el (org-babel-where-is-src-block-head): Find a src block head
8270         correctly when #+header(s) is before #+name.
8272         * org-agenda.el (org-agenda-finalize-hook)
8273         (org-agenda-finalize, org-agenda-finalize-entries): Rename from
8274         org-finalize-agenda-*.
8275         (org-agenda-run-series, org-agenda-finalize, org-timeline)
8276         (org-agenda-list, org-search-view, org-todo-list)
8277         (org-tags-view, org-diary, org-agenda-finalize-entries)
8278         (org-agenda-change-all-lines): Use the new names.
8280         * org-agenda.el (org-agenda-local-vars):
8281         Remove ̀org-agenda-last-arguments' from the list of local variables.
8282         (org-agenda-mode-map): `g' does the same than `r' in buffers with
8283         only one agenda view, but its behavior differs when there are
8284         several views.  In manually appended agendas (with `A'), `g'
8285         displays only the agenda under the point.  With multiple agenda
8286         blocks, `g' reinitializes the view by discarding any temporary
8287         changes (e.g. with ̀f' or `w'), while ̀r' keeps those temporary
8288         changes for the agenda view under the point.
8289         (org-agenda-run-series, org-agenda-redo): Implement the above
8290         changes.
8291         (org-agenda-mark-header-line): Don't set useless properties.
8292         (org-agenda-list, org-todo-only, org-search-view)
8293         (org-todo-list, org-tags-view, org-agenda-list-stuck-projects)
8294         (org-agenda-manipulate-query, org-agenda-goto-today)
8295         (org-agenda-later, org-agenda-change-time-span): Use text
8296         properties for storing the last command and the last arguments for
8297         each agenda block.
8298         (org-unhighlight-once): Delete.
8300         * org-agenda.el (org-agenda-append-agenda): Fit agenda window to
8301         buffer.
8303         * org-agenda.el (org-agenda-append-agenda): Bugfix: correctly
8304         check whether we are in org-agenda-mode.
8306         * org-agenda.el (org-agenda-pre-window-conf): Rename from
8307         `org-pre-agenda-window-conf'.
8308         (org-agenda-local-vars, org-agenda-prepare-window)
8309         (org-agenda-Quit, org-agenda-quit): Use the new name.
8311         * org-agenda.el (org-keys, org-match): New variable, dynamically
8312         scoped in `org-agenda'.
8313         (org-agenda, org-agenda-list, org-search-view, org-todo-list)
8314         (org-tags-view): Use the new variables.
8315         (org-batch-store-agenda-views): Let-bind `match'.
8317         * org-agenda.el (org-search-view, org-todo-list)
8318         (org-tags-view): Do not let `org-agenda-sticky' prevent the use of
8319         these functions programmatically.  Also use the sticky agenda
8320         function correctly.
8322         * org-agenda.el (org-agenda): Set `org-agenda-buffer-name'
8323         correctly with sticky agendas and non-custom commands.
8325         * org-agenda.el (org-agenda-fit-window-to-buffer): Rename from
8326         `org-fit-agenda-window'.
8327         (org-agenda-run-series, org-agenda-prepare, org-agenda-list)
8328         (org-search-view, org-todo-list, org-tags-view): Use the new name.
8330         * org-agenda.el (org-agenda-prepare): Let `throw' display an
8331         error.
8333         * org-agenda.el (org-agenda-list): Fix bug: don't throw an error
8334         when called from programs as (org-agenda-list).
8336         * org-agenda.el (org-todo-list): Make arg optional.
8338         * org.el (org-agenda-prepare-buffers): Rename from
8339         `org-prepare-agenda-buffers'.
8340         (org-match-sparse-tree, org-map-entries): Use the new names.
8342         * org-agenda.el (org-agenda-prepare-window): Rename from
8343         `org-prepare-agenda-window'.
8344         (org-agenda-prepare): Rename from `org-prepare-agenda'.
8345         (org-agenda-run-series, org-agenda-prepare, org-timeline)
8346         (org-agenda-list, org-search-view, org-todo-list)
8347         (org-tags-view, org-agenda-list-stuck-projects, org-diary)
8348         (org-agenda-to-appt): Use the new names.
8350         * org-mobile.el (org-mobile-create-index-file): Ditto.
8352         * org-icalendar.el (org-export-icalendar): Ditto.
8354         * org-clock.el (org-dblock-write:clocktable)
8355         (org-dblock-write:clocktable): Ditto.
8357         * org-agenda.el (org-agenda): In sticky agendas, use the current
8358         command's match to set the buffer name.  This gives more
8359         information to the user and allows to distinguish various agendas
8360         triggered by the same key.
8361         (org-batch-store-agenda-views): Handle the new sticky agenda
8362         buffer name.
8364         * org-agenda.el (org-agenda)
8365         (org-agenda-get-restriction-and-command): Use `S' as a key for
8366         searching words in TODO-only entries.
8368         * org-agenda.el (org-prepare-agenda): Fit agenda window when
8369         displaying a sticky agenda.
8371         * org-table.el (org-table-number-regexp): Allow the user to set it
8372         to a new regexp, which allows commas as decimal mark.  The default
8373         is to not use this setting, but the one before commit 7ff8c1,
8374         which has ben reverted.
8376         * org-agenda.el (org-agenda-overriding-cmd)
8377         (org-agenda-multi-current-cmd)
8378         (org-agenda-multi-overriding-arguments): New variables.
8379         (org-agenda-run-series): `org-agenda-overriding-arguments'
8380         defaults to the last agenda block arguments, so don't use it
8381         globally.
8382         (org-agenda-mark-header-line): Add properties needed so that
8383         `org-agenda-overriding-arguments', `org-agenda-current-span' and
8384         `org-agenda-last-arguments' can be set to their correct contextual
8385         value.
8386         (org-agenda-multi-back-to-pos): New variable.
8387         (org-agenda-later): Retrieve `org-agenda-current-span' and
8388         `org-agenda-overriding-arguments' from text properties.
8389         Also handle numeric span.
8390         (org-agenda-later, org-agenda-change-time-span):
8391         Set `org-agenda-overriding-cmd' so that we to take overriding
8392         arguments into account for this command only.
8394         * org-agenda.el (org-agenda-kill, org-agenda-archive-with):
8395         Fix bug when called with a non-nil value of `org-agenda-stick'.
8397         * org-agenda.el (org-agenda-refile): Fix bug when refiling an
8398         entry from a sticky agenda.
8400         * org-agenda.el (org-prepare-agenda-window):
8401         Use `org-pre-agenda-window-conf' if already set.
8402         (org-agenda-Quit): Set `org-pre-agenda-window-conf' to nil when
8403         quitting.
8404         (org-agenda-quit): Ditto.
8406         * org-capture.el (org-capture-fill-template): Protect the text
8407         used for replacement from being further replaced.
8409         * org.el (org-contextualize-validate-key): Fix the check against a
8410         function.
8412         * org.el (org-contextualize-keys): Rename from
8413         `org-contextualize-agenda-or-capture'.  Fix normalization to
8414         handle empty key replacement string.
8415         (org-contextualize-validate-key): Rename from
8416         `org-contexts-validate'.  Allow checking against a custom
8417         function.
8419         * org-agenda.el (org-agenda-custom-commands-contexts): Update.
8420         (org-agenda): Use `org-contextualize-keys'.
8422         * org-capture.el (org-capture-templates-contexts): Ditto.
8424         * org.el (org-contextualize-agenda-or-capture):
8425         Normalize contexts.
8427         * org.el (org-contextualize-agenda-or-capture): Handle key
8428         replacement depending on the contexts.
8430         * org-capture.el (org-capture-templates-contexts): Allow to use
8431         the context as a way to replace one capture template by another
8432         one.
8434         * org-agenda.el (org-agenda-custom-commands-contexts): Allow to
8435         use the context as a way to replace one agenda custom command by
8436         another one.
8438         * org.el (org-contextualize-agenda-or-capture)
8439         (org-rule-validate): New functions, implement context filtering
8440         for agenda commands and capture templates.
8442         * org-agenda.el (org-agenda-custom-commands-contexts): New option.
8443         (org-agenda): Use it.
8445         * org-capture.el (org-capture-templates-contexts): New option.
8446         (org-capture-select-template): Use it.
8448         * org.el (org-beginning-of-defun, org-end-of-defun): Delete.
8449         (org-mode): Set `beginning-of-defun-function' and
8450         `end-of-defun-function' directly.
8452         * org.el (org-insert-link): Fix bug: include links abbreviations
8453         when completing.
8455         * org-icalendar.el (org-icalendar-print-entries): Fix bug: when
8456         `org-icalendar-use-plain-timestamp' is nil, scheduled and deadline
8457         items should not be ignored.
8459         * org.el (org-ds-keyword-length, org-make-tags-matcher):
8460         Docstring clean-up.
8462         * org-freemind.el (org-freemind-convert-links-from-org): Replace
8463         literally to prevent errors when replacing with string containing
8464         backslashes.
8466         * org-pcomplete.el (org-thing-at-point): Allow to match (and then
8467         complete) a "thing" containing dashes.
8469         * org-table.el (org-table-toggle-coordinate-overlays):
8470         Better message when interactively toggling.
8472         * org-table.el (org-table-number-regexp): Update the docstring to
8473         show an example of a decimal number using the comma as a
8474         separation mark.
8476         * org-agenda.el (org-prepare-agenda): Minor code clean-up.
8477         (org-agenda-filter-by-category): Filtering must be turned off only
8478         when a category filter has been set and this filter is not empty.
8480         * org-agenda.el (org-search-view, org-agenda-get-todos)
8481         (org-agenda-get-timestamps, org-agenda-get-sexps)
8482         (org-agenda-get-progress, org-agenda-get-deadlines)
8483         (org-agenda-get-scheduled, org-agenda-get-blocks):
8484         Use `category-pos' instead of `org-category-pos'.
8486         * ob-fortran.el (org-babel-fortran-transform-list): Rename from
8487         `ob-fortran-transform-list'.
8488         (org-babel-fortran-var-to-fortran): Use the new function's name.
8490         * ob-calc.el (org-babel-calc-maybe-resolve-var): Rename from
8491         `ob-calc-maybe-resolve-var'.
8492         (org-babel-execute:calc): Use the new function's name.
8494         * org-jsinfo.el (org-infojs-template): Add a license.
8495         (org-infojs-handle-options): Replace all template elements.
8497         * org-html.el (org-export-html-scripts): Add a license.
8498         (org-export-html-mathjax-config): Replace all template elements.
8499         (org-export-html-mathjax-template): Add a license.
8500         (org-export-as-html): Minor code clean-up.
8502         * org.el (org-options-keywords): Add "#+MATHJAX" and
8503         "#+INFOJS_OPT" to the list of keywords for completion.
8505         * org.el (org-src-prevent-auto-filling): Remove unused and useless
8506         option.
8508         * org.el (org-element-at-point): Autoload.
8509         (org-element-up): Remove useless declaration.
8510         (org-fill-context-prefix, org-fill-paragraph)
8511         (org-mark-element, org-narrow-to-element)
8512         (org-transpose-element, org-unindent-buffer): Do not require
8513         org-element.
8515         * org.el (org-fill-paragraph): Require org-element.
8517         * org-agenda.el (org-agenda-persistent-marks): Minor docstring
8518         enhancement.
8520         * org.el (org-create-math-formula): Use the compatibility function
8521         `org-region-active-p'.
8523         * org-odt.el (org-export-as-odf): Ditto.
8525         * ob.el (org-babel-demarcate-block): Ditto.
8527         * org.el (org-mark-subtree): Maybe call `org-mark-element'
8528         interactively.
8529         (org-mark-element): Only mark further elements when called
8530         interactively.
8532         * org.el (org-mark-element, org-narrow-to-element)
8533         (org-transpose-element): Require org-element.
8535         * org-agenda.el (org-agenda-get-timestamps)
8536         (org-agenda-get-sexps, org-agenda-get-deadlines)
8537         (org-agenda-get-scheduled): Add the 'warntime as a text property,
8538         getting its value from the APPT_WARNTIME property.
8539         (org-agenda-to-appt): Use the 'warntime text property.
8541         * org-capture.el (org-capture-place-table-line): Fix bug.
8543         * org.el (org-activate-plain-links): Don't activate a plain link
8544         when it is part of a bracketed link, unless bracketed links are
8545         not enlisted in `org-activate-links'.
8546         (org-open-at-point): Don't consider the text immediately after a
8547         bracketed link is part of a plain link.
8549         * org.el (org-compute-latex-and-specials-regexp)
8550         (org-paste-subtree, org-sort-entries, org-store-link)
8551         (org-open-at-point, org-file-remote-p, org-add-log-setup)
8552         (org-set-tags-to, org-fast-tag-selection)
8553         (org-diary-sexp-entry): Ditto.
8555         * org-agenda.el (org-agenda-get-blocks, org-cmp-priority)
8556         (org-cmp-effort, org-cmp-todo-state, org-cmp-alpha)
8557         (org-cmp-tag, org-cmp-time): Remove useless (t nil) sexps at the
8558         end of (cond ...) constructs.
8560         * org-mobile.el (org-mobile-create-index-file): Ditto.
8562         * org-lparse.el (org-lparse-format-table-row): Ditto.
8564         * org-list.el (org-sort-list): Ditto.
8566         * org-id.el (org-id-get): Ditto.
8568         * org-html.el (org-export-html-preprocess): Ditto.
8570         * org-exp.el (org-default-export-plist)
8571         (org-table-clean-before-export): Ditto.
8573         * org.el (org-options-keywords): Add "TODO".
8574         (org-make-options-regexp): Make the hashtag mandatory for options
8575         and don't allow whitespaces between the hashtag and the plus sign.
8577         * org.el (org-refresh-category-properties)
8578         (org-find-dblock, org-dblock-start-re, org-dblock-end-re):
8579         Allow lowercase "#+category" and "#+begin:" dynamic blocks.
8581         * org.el (org-context): Use case-folding when trying to match
8582         clocktables and source blocks contexts.
8584         * org-clock.el (org-clock-put-overlay): Put the overlay on the
8585         whole headline, not only on the last character.  This fixes a bug
8586         with overlays on headlines ending with a bracketed link.
8588         * org-html.el (org-export-as-html): Make sure we always process a
8589         string.
8591         * org-exp.el (org-export-cleanup-toc-line): Always return a
8592         string.
8594         * org.el (org-fontify-meta-lines-and-blocks-1): Correctly handle
8595         metalines with #+results[...]:.
8597         * org-exp.el (org-export-handle-metalines): Rename from
8598         `org-export-handle-table-metalines'.  Now also handle source block
8599         metalines.
8600         (org-export-res/src-name-cleanup): Delete.
8601         (org-export-preprocess-string): Use `org-export-handle-metalines'.
8602         Don't use `org-export-res/src-name-cleanup' anymore.
8604         * org-html.el (org-format-org-table-html): Don't include the
8605         caption tag for empty captions in HTML export.  Keep it in the
8606         DocBook export so that it produces valid DocBook XML.
8608         * org.el (org-read-date-analyze): Allow both "8am Wed" and "Wed
8609         8am" to be parsed correctly with respect to possible values of
8610         `org-read-date-prefer-future'.
8611         (org-read-date-prefer-future): Update docstring to remove the
8612         restriction about inserting only the time.  The user can now
8613         insert the time and the day.
8615         * org-icalendar.el (org-icalendar-print-entries): Rename from
8616         `org-print-icalendar-entries'.
8617         (org-icalendar-start-file): Rename from
8618         `org-start-icalendar-file'.
8619         (org-icalendar-finish-file): Rename from
8620         `org-finish-icalendar-file'.
8621         (org-icalendar-ts-to-string): Rename from `org-ical-ts-to-string'.
8622         (org-export-icalendar): Use the correct functions.
8624         * ob-ref.el (org-babel-ref-index-list): Fix bug introduced by
8625         commit e85479.
8627         * org.el (org-fill-context-prefix): Require org-element.
8628         (org-timestamp-change): Fix bug by saving excursion when adjusting
8629         another clock.
8631         * org.el (org-read-date-prefer-future): Fix docstring formatting.
8632         (org-read-date-analyze): Fix the interpretation of
8633         `org-read-date-prefer-future'.
8635         * org-agenda.el (org-agenda-menu-two-column): Rename to
8636         `org-agenda-menu-two-columns'.
8638         * ob.el (org-babel-sha1-hash, org-babel-noweb-p):
8639         Replace `org-labels' by `let*'.
8641         * org-bibtex.el (org-bibtex-headline): Ditto.
8643         * org-compat.el: Delete `org-labels'.
8645         * ob.el (org-babel-get-src-block-info)
8646         (org-babel-check-src-block, org-babel-current-result-hash)
8647         (org-babel-parse-src-block-match, org-babel-read-link)
8648         (org-babel-insert-result, org-babel-clean-text-properties):
8649         Use ̀org-no-properties' instead of `org-babel-clean-text-properties'.
8650         (org-babel-clean-text-properties): Delete redundant function
8651         `org-babel-clean-text-properties'.
8653         * ob-tangle.el (org-babel-tangle-collect-blocks)
8654         (org-babel-tangle-comment-links): Ditto.
8656         * ob-table.el (sbe): Ditto.
8658         * ob-lob.el (org-babel-lob-get-info)
8659         (org-babel-lob-execute): Ditto.
8661         * ob-exp.el (org-babel-exp-non-block-elements): Ditto.
8663         * org-macs.el (org-no-properties): Allow a new parameter
8664         `restricted' to restrict the properties removal to those in
8665         `org-rm-props'.  The default is now to remove all properties.
8667         * org-compat.el (org-substring-no-properties): Remove unused
8668         defun.
8670         * org-remember.el (org-remember-apply-template): Remove redundant
8671         removal of text properties.
8672         (org-remember-apply-template): Use `org-no-properties'.
8674         * org-capture.el (org-capture-fill-template): Remove redundant
8675         removal of text properties.
8676         (org-capture-fill-template): Use `org-no-properties'.
8678         * org-gnus.el (org-gnus-open, org-gnus-follow-link):
8679         Use `org-no-properties'.
8681         * org-colview.el (org-columns-display-here): Ditto.
8683         * org-table.el (org-table-eval-formula): Ditto.
8685         * org.el (org-entry-properties): Ditto.
8687         * org-icalendar.el (org-print-icalendar-entries): Fix bug about
8688         handling `alarm-time'.
8690         * ob-R.el (org-babel-edit-prep:R): Don't set the session.
8692         * org.el (org-store-log-note): Only skip comments starting with "#
8693         " when storing a note.
8695         * org.el (org-custom-properties): New option.
8696         (org-custom-properties-overlays): New variable.
8697         (org-toggle-custom-properties-visibility): New command to toggle
8698         the visibility of custom properties.
8699         (org-check-before-invisible-edit): Also prevent errors when trying
8700         to edit invisible properties.
8702         * org-datetree.el (org-datetree-add-timestamp): New option.
8703         (org-datetree-insert-line): Use it.
8705         * org.el (org-fill-template): Fix bug when filling template for a
8706         key associated to the nil value.
8708         * org-agenda.el (org-diary): Fix tiny typo.
8710         * org.el (message-in-body-p): Move declaration up to fix compiler
8711         warning.
8713         * org.el (org-fill-context-prefix): Fix auto-filling in
8714         `message-mode'.
8716         * org.el (org-fill-paragraph): Correctly fill paragraph in
8717         message-mode.
8718         (org-indent-line): Correctly indent according to mode when
8719         `orgstruct++-mode' is on.
8720         (orgstruct++-mode): Add `fill-prefix' to the variable temporarily
8721         stored in `org-fb-vars'.
8723         * org.el (org-fill-paragraph): Make a command.  Fix bug about
8724         filling message headers and citations.
8726         * org.el (org-redisplay-inline-images): New command.
8727         (org-mode-map): Bind it to C-c C-x C-M-v.
8729         * org-colview.el (org-columns-get-format-and-top-level): Fix bug.
8730         (org-columns-get-format): Fix compiler warning.
8732         * org-feed.el: Add declarations.
8734         * org-agenda.el (org-agenda-get-sexps): Use `org-get-tags-at' to
8735         allow tag inheritance.
8737         * org-capture.el (org-capture): Fix bug introduced by commit
8738         1737d3.
8740         * org-publish.el (org-publish-needed-p)
8741         (org-publish-update-timestamp, org-publish-file)
8742         (org-publish-cache-file-needs-publishing): New argument
8743         `base-dir'.
8744         (org-publish-cache-ctime-of-src): Use the new argument to make
8745         sure we find the file according to :base-directory.
8747         * org-capture.el (org-capture-string): New command to prompt for
8748         the interactive text interactively.  This can also be used in
8749         Elisp programs to use ̀org-capture' with some initial text.
8750         (org-capture-initial): New variable to store the initial text.
8751         (org-capture): Use `org-capture-initial'.
8753         * org.el (org-emph-re): Tiny docstring formatting fix.
8755         * org-compat.el (org-labels): Remove.
8757         * org-bibtex.el (org-bibtex-headline): Don't use `org-labels'.
8759         * ob.el (org-babel-sha1-hash, org-babel-noweb-p): Ditto.
8761         * org.el (org-emph-re): Tiny formatting fix.
8763         * org.el (orgstruct-setup): Require `org-element'.
8765         * org.el (org-store-link, org-open-at-point): New link type
8766         "help".
8768         * org-compat.el (org-flet): Remove alias.
8770         * ob.el (org-babel-edit-distance, org-babel-sha1-hash)
8771         (org-babel-get-rownames, org-babel-insert-result)
8772         (org-babel-merge-params)
8773         (org-babel-expand-noweb-references): Don't use `org-flet'.
8774         Also indent some functions correctly.
8776         * ob.el (org-babel-execute-src-block)
8777         (org-babel-join-splits-near-ch, org-babel-format-result)
8778         (org-babel-examplize-region): Don't use `org-flet'.
8779         (org-babel-tramp-handle-call-process-region): Fix typo.
8781         * ob-awk.el (org-babel-awk-var-to-awk): Don't use `org-flet'.
8783         * ob-sh.el (org-babel-sh-var-to-string): Ditto.
8785         * ob-tangle.el (org-babel-tangle, org-babel-spec-to-string):
8786         Don't use `org-flet'.
8788         * org-pcomplete.el (org-compat): Require.
8790         * ob-tangle.el (org-babel-load-file): Don't use `org-flet'.
8792         * org-bibtex.el (org-bibtex-write): Use let*.
8794         * org-plot.el (org-plot/gnuplot-script): Don't use `org-flet'.
8796         * org-bibtex.el (org-bibtex-headline, org-bibtex-fleshout)
8797         (org-bibtex-read, org-bibtex-write): Don't use `org-flet'.
8799         * org-clock.el (org-clock-cancel): Use `org-looking-back'.
8801         * org-pcomplete.el (org-thing-at-point): Ditto.
8803         * org.el (org-timestamp-change): Ditto.
8805         * org-mouse.el (org-mouse-timestamp-today)
8806         (org-mouse-set-priority, org-mouse-popup-global-menu)
8807         (org-mouse-context-menu): Don't use ̀org-flet'.
8809         * org.el (org-priority): Fix docstring.
8811         * org-publish.el (org-publish-write-cache-file)
8812         (org-publish-initialize-cache)
8813         (org-publish-cache-file-needs-publishing)
8814         (org-publish-cache-get): Small code clean-up.
8816         * org-publish.el (org-publish-cache-ctime-of-src): Simplify.
8818         * org-agenda.el (org-agenda-get-sexps): Add a 'tags property for
8819         agenda entries created from sexps.
8821         * org-capture.el (org-capture-templates): Docstring clean up.
8822         (org-capture-place-entry, org-capture-place-item)
8823         (org-capture-place-plain-text, org-capture-place-table-line):
8824         Ensure to always position the point according to %?.
8826         * org-table.el (org-table-convert-refs-to-rc): Fix bug when
8827         converting remote table references.
8829         * org-agenda.el (org-agenda-switch-to): Run hooks in
8830         ̀org-agenda-after-show-hook'.
8832         * ob-ref.el (org-babel-ref-index-list): Use let* and rename the
8833         variable `length' to `lgth'.
8835         * org-plot.el (org-plot/gnuplot-to-grid-data): Don't use
8836         ̀org-flet'.
8838         * org-exp.el (org-export-format-source-code-or-example): Ditto.
8840         * org-exp-blocks.el (org-export-blocks-preprocess): Ditto.
8842         * ob.el (org-babel-view-src-block-info)
8843         (org-babel-execute-src-block, org-babel-edit-distance)
8844         (org-babel-switch-to-session-with-code)
8845         (org-babel-balanced-split, org-babel-insert-result): Ditto.
8847         * ob-ref.el (org-babel-ref-index-list): Ditto.
8849         * ob-python.el (org-babel-python-evaluate-session): Ditto.
8851         * ob-lob.el (org-babel-lob-get-info): Ditto.
8853         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Ditto.
8855         * ob-exp.el (org-babel-exp-do-export): Ditto.
8857         * org-table.el (orgtbl-to-generic): Fix docstring.
8859         * org-clock.el (org-clock-in): Call `org-clock-out' with the new
8860         argument `switch-to-state' set to nil.  Fix docstring.
8861         (org-clock-in-last): Prompt for a todo state to switch to when
8862         called with three universal prefix arguments.  Don't display a
8863         message when the clock is already running.  Update docstring.
8864         (org-clock-out): New argument `switch-to-state'.  When this
8865         argument is non-nil, prompt for a state to switch the clocked out
8866         task to, overriding `org-clock-out-switch-to-state'.
8868         * org.el (org-entry-get): Don't use `org-flet'.
8870         * org.el (org-forward-heading-same-level): Rename from
8871         `org-forward-same-level'.
8872         (org-backward-heading-same-level): Rename from
8873         `org-backward-same-level'.
8875         * org.el (org-forward-element): Rename from `org-element-forward'.
8876         (org-backward-element): Rename from `org-element-backward'.
8877         (org-up-element): Rename from `org-element-up'.
8878         (org-down-element): Rename from `org-element-down'.
8879         (org-drag-element-backward): Rename from
8880         `org-element-drag-backward'.
8881         (org-drag-element-forward): Rename from
8882         `org-element-drag-forward'.
8883         (org-mark-element): Rename from `org-element-mark-element'.
8884         (org-transpose-element): Rename from `org-element-transpose'.
8885         (org-unindent-buffer): Rename from `org-element-unindent-buffer'.
8886         (org-mode-map): Update the names of a commands.  Remove useless
8887         declarations.
8889         * org-element.el (org-element-forward, org-element-backward)
8890         (org-element-up, org-element-down)
8891         (org-element-drag-backward, org-element-drag-forward)
8892         (org-element-mark-element, org-narrow-to-element)
8893         (org-element-transpose, org-element-unindent-buffer): Move to
8894         org.el.
8896         * org.el (org-forward-same-level): Fix typo in docstring.
8898         * org-agenda.el (org-agenda-mode-map):
8899         Bind `org-agenda-show-priority' to `C-c,' instead of `P'.
8900         (org-agenda-next-item, org-agenda-previous-item): New commands to
8901         move by one item down/up in the agenda.
8902         (org-agenda-mode-map): Bind `org-agenda-next-item' and
8903         `org-agenda-previous-item' to `N' and `P' respectively.
8905         * org-rmail.el (org-rmail-store-link, org-rmail-follow-link):
8906         Toggle headers when necessary.
8908         * org-element.el (org-narrow-to-element): Autoload.
8910         * org.el (org-mode-map): Use `M-h' for `org-element-mark-element'.
8911         (org-mark-subtree): Allow a numeric prefix argument to move up
8912         into the hierarchy of headlines.
8914         * org-element.el (org-element-up, org-element-down): Autoload.
8916         * org.el: Declare functions and don't require org-element.
8918         * org-element.el (org-element-at-point, org-element-forward)
8919         (org-element-backward, org-element-drag-backward)
8920         (org-element-drag-forward, org-element-mark-element)
8921         (org-element-transpose, org-element-unindent-buffer): Autoload.
8922         Require 'org and remove all declarations.
8924         * org.el (org-outline-regexp-bol, org-heading-regexp):
8925         Use variables instead of constants.
8927         * org-archive.el (org-datetree-find-date-create): Declare.
8929         * org.el (org-open-at-point): Only set
8930         `clean-buffer-list-kill-buffer-names' when the feature 'midnight
8931         has been loaded.
8933         * org-icalendar.el (org-print-icalendar-entries):
8934         Let APPT_WARNTIME take precedence over ̀org-icalendar-alarm-time'.
8936         * org.el (org-special-properties): New special property
8937         CLOCKSUM_T.
8938         (org-entry-properties): Handle the new special property.
8940         * org-colview.el (org-columns): Handle a new special property
8941         CLOCKSUM_T.
8942         (org-agenda-colview-summarize, org-agenda-colview-compute): Ditto.
8944         * org-clock.el (org-clock-sum-today): New function.
8945         (org-clock-sum): New argument PROPNAME to set a custom text
8946         property instead of :org-clock-minutes.
8948         * org-agenda.el (org-agenda-check-type): Throw a more appropriate
8949         error message when no agenda is currently being displayed.
8951         * org.el (org-get-property-block): Find blocks before the first
8952         headline.
8953         (org-entry-properties): Minor code cleanup.
8954         (org-entry-get, org-entry-get-with-inheritance): Get property
8955         before the first headline.
8957         * org-mobile.el (org-mobile-create-index-file): Use `files-alist'.
8959         * org.el (org-make-link): Delete.
8960         (org-store-link, org-insert-link)
8961         (org-file-complete-link): Don't use `org-make-link'.
8963         * org-wl.el (org-wl-store-link-folder)
8964         (org-wl-store-link-message): Ditto.
8966         * org-vm.el (org-vm-store-link): Ditto.
8968         * org-rmail.el (org-rmail-store-link): Ditto.
8970         * org-mhe.el (org-mhe-store-link): Ditto.
8972         * org-mew.el (org-mew-store-link): Ditto.
8974         * org-irc.el (org-irc-erc-store-link): Ditto.
8976         * org-info.el (org-info-store-link): Ditto.
8978         * org-id.el (org-id-store-link): Ditto.
8980         * org-gnus.el (org-gnus-group-link, org-gnus-article-link): Ditto.
8982         * org-eshell.el (org-eshell-store-link): Ditto.
8984         * org-bbdb.el (org-bbdb-store-link): Ditto.
8986         * org.el (org-url-hexify-p): New option.  When non-nil (the
8987         default), hexify URLs when creating a link.
8989         * org.el (org-insert-link): Make sure point is at the beginning of
8990         the buffer.
8992         * org.el (clean-buffer-list-kill-buffer-names): Declare.
8993         (org-open-at-point): Allow opening multiple shell links by
8994         creating a new output buffer for each shell process.  The new
8995         buffer is added to `clean-buffer-list-kill-buffer-names'.
8997         * org-mobile.el (org-mobile-create-index-file):
8998         Use `org-global-tags-completion-table' instead of
8999         `org-tag-alist-for-agenda' to get the tags for the index file.
9001         * org.el (org-global-tags-completion-table): Fix typo in
9002         docstring.
9004         * org.el (org-link-to-org-use-id): Use `org-capture' instead of
9005         `org-remember' in the docstring.
9006         (org-link-fontify-links-to-this-file): New function to fontify
9007         links to the current buffer in `org-stored-links'.
9008         (org-store-link): Small code simplification.
9009         (org-link-prettify): Enclose literal links into <...> instead of
9010         [[...]].
9011         (org-insert-link): Use `org-link-fontify-links-to-this-file'.
9012         Also allow completion over links' descriptions, as well as links
9013         destinations.  When the user uses the description for completion,
9014         don't prompt again for a description.
9016         * org-capture.el (org-capture-templates): Fix docstring by adding
9017         Gnus to the list of mail clients.
9019         * org.el (org-log-repeat): Enhance docstring.
9021         * org.el (org-mode-map): Don't bind C-<up> and C-<down> to
9022         `org-element-backward/forward' as these functions stops when there
9023         is no element of the same type before/after point.  It is useful
9024         to navigate with `forward/backward-paragraph' with no stop in most
9025         cases.
9027         * org-capture.el (org-capture-templates): New template %l to
9028         insert the literal link pointing at the current buffer.
9030         * org.el (org-todo-keywords): Ditto.
9032         * org.el (org-fill-paragraph): Falls back on
9033         `message-fill-paragraph' if required in `message-mode'.
9035         * org-pcomplete.el (pcomplete/org-mode/file-option/x): New macro.
9036         (pcomplete/org-mode/file-option/options)
9037         (pcomplete/org-mode/file-option/title)
9038         (pcomplete/org-mode/file-option/author)
9039         (pcomplete/org-mode/file-option/email)
9040         (pcomplete/org-mode/file-option/date): Use the new macro to offer
9041         completion over default values for #+OPTIONS, #+TITLE, #+AUTHOR,
9042         #+EMAIL and #+DATE.
9044         * org-agenda.el (org-agenda-write): Fix bug when writing agenda to
9045         an external file while `org-agenda-sticky' is non-nil.
9047         * org.el (org-speed-commands-default): New speedy command to
9048         quickly add the :APPT_WARNTIME: property.
9050         * org-agenda.el (org-agenda-to-appt): Use the :APPT_WARNTIME:
9051         property to override `appt-message-warning-time' when adding an
9052         appointment from an entry.
9054         * org.el (org-version): Improve docstring.
9055         (org-self-insert-cluster-for-undo): The default value should be
9056         nil for Emacs >=24.1.  See bug#11774.
9058         * org.el (org-fontify-meta-lines-and-blocks-1): Fix previous
9059         commit.
9061         * org.el (org-options-keywords): New constant.
9062         (org-additional-option-like-keywords): Remove duplicates with
9063         keywords in the new constant.
9064         (org-additional-option-like-keywords-for-flyspell): Use the new
9065         constant.
9066         (org-mode-flyspell-verify): Exclude keywords from the new
9067         constant.
9069         * org-pcomplete.el (pcomplete/org-mode/file-option):
9070         Use `org-options-keywords'.
9072         * org.el (org-toggle-heading): Bugfix: use
9073         `org-element-mark-element' instead of `org-mark-list'.
9075         * org-list.el (org-mark-list): Delete.
9077         * org.el: Update a few keybindings.
9079         * org-element.el (org-element-down): Throw an error when the
9080         element has no content.
9082         * org-table.el (orgtbl-radio-table-templates): Add a template for
9083         org-mode.
9084         (orgtbl-to-orgtbl): Complete and align the table created with
9085         orgtbl-to-orgtbl, in case the user use the function for radio
9086         tables.
9087         (orgtbl-to-table.el): New function to export a table to another
9088         one using the table.el format.
9089         (orgtbl-to-unicode): New function to export a table using unicode
9090         characters.
9092         * org-exp.el (org-export-language-setup): Use "Sommaire" for the
9093         french translation of "Table of contents", to avoid a possible bug
9094         when exporting to ODT.
9096         * org.el (org-additional-option-like-keywords): Add keywords.
9097         (org-additional-option-like-keywords-for-flyspell): New constant
9098         to use with flyspell.
9099         (org-mode-flyspell-verify): Use the dedicated constant and don't
9100         check `org-startup-options'.
9102         * org-agenda.el (org-batch-store-agenda-views): Use the sticky
9103         agenda buffer name, if required.
9104         (org-agenda-write): New parameter `agenda-bufname' to allow
9105         setting the agenda buffer name.
9107         * org.el (org-mode-map): Add keybindings for
9108         `org-element-forward', `org-element-backward', `org-element-up'
9109         and `org-element-down'.
9111         * org.el (org-auto-fill-function): Don't call `do-auto-fill'
9112         within (org-let org-fb-vars ...) as `do-auto-fill' should do the
9113         right thing whether orgstruct++-mode is turned on or off.
9115         * org.el (org-sparse-tree-default-date-type): New option.
9116         (org-ts-type): New variable.
9117         (org-sparse-tree): New argument `type'.  Use the new option
9118         `org-sparse-tree-default-date-type' as the default value for
9119         `type'.  Fix docstring.
9120         (org-re-timestamp): New function.
9121         (org-check-before-date, org-check-after-date)
9122         (org-check-dates-range): Use `org-ts-type' and `org-re-timestamp'
9123         to tell compute the date regexp.
9125         * org.el (orgstruct++-mode, org-get-local-variables): Also set
9126         `normal-auto-fill-function' when turning on/off orgstruct++-mode.
9128         * org-agenda.el (org-agenda-start-with-log-mode): Add relevant
9129         customization types.
9131         * org-faces.el (org-document-title): Use the normal height.
9133         * org-clock.el (org-x11idle-exists-p): New variable.
9134         (org-user-idle-seconds): Use it.
9136         * org.el (org-mode-map): Rebind `org-insert-all-links' to `C-c
9137         C-M-l'.
9139         * org.el (org-insert-all-links): New command.
9140         (org-insert-link): `org-keep-stored-link-after-insertion' is now
9141         checked when the link to insert has been defined, regardless on
9142         how it has been defined.  Also don't read the description
9143         interactively when the `default-description' parameter was given.
9144         (org-mode-map): Bind `org-insert-all-links' to `C-c C-L'.
9146         * org.el (org-inc-effort): New command to increment the effort
9147         property.
9148         (org-set-effort): Use it.
9149         (org-mode-map): Bind it to `C-c C-x E'.
9150         (org-speed-commands-default): Use `E' as a speed command for it.
9152         * org.el (org-re-property-keyword): New function.
9153         (org-entry-put): Use it to fix a bug with respect to setting the
9154         value of a property when a property line with no value already
9155         exists.
9157         * org.el (org-timestamp-change): Adjust clock in other org files
9158         correctly.
9160         * org-clock.el (org-user-idle-seconds): Simplify.
9162         * org.el (org-mode-map): Bind `org-resolve-clocks' to `C-c C-x
9163         C-z'.
9165         * org.el (org-mode-map): Add keybindings to
9166         `org-element-transpose' and `org-narrow-to-element'.
9167         (org-metaup): Fall back on `org-element-drag-backward'.
9168         (org-metadown): Fall back on `org-element-drag-forward'.
9169         Also move chunks of declarations and require statements to get rid of
9170         compiler warnings.
9172         * org-exp-blocks.el (org): Don't require org.  Add declarations.
9174         * org-clock.el (org): Don't require org.
9176         * ob-exp.el (org-list-forbidden-blocks): Add declarations.
9178         * org.el (org-timestamp-change): Don't use the `position'.
9180         * org.el (org-clock-history, org-clock-adjust-closest):
9181         New variables.
9182         (org-timestamp-change): Maybe adjust the next or previous clock in
9183         `org-clock-history'.
9184         (org-shiftmetaup, org-shiftmetadown): On clock logs, update the
9185         timestamp at point and adjust the next or previous clock in
9186         `org-clock-history', when possible.
9188         * org-clock.el (org-clock-in): Set the marker for
9189         `org-clock-history' at a safer position.
9191         * org-timer.el (org-timer-pause-or-continue, org-timer-stop):
9192         Autoload.
9194         * org-mobile.el (org-mobile-post-pull-hook): Fix docstring.
9196         * org.el (org-indent-line): Fix indentation of a property line
9197         starting at the beginning of a line.
9199         * org-odt.el (org-odt-cleanup-xml-buffers): Use the new alias.
9201         * org-compat.el: Alias `org-condition-case-unless-debug' to
9202         `condition-case-unless-debug' or `condition-case-no-debug'.
9204         * org.el (org-todo-keywords): Ditto.
9206         * org.el (org-use-fast-todo-selection): Reformat docstring.
9208         * org.el (org-flag-drawer): Add a docstring.
9209         (org-mode-map): Bind ̀org-clock-cancel' to "C-cC-xC-q" and
9210         `org-clock-in-last' to "C-cC-xC-x".  This fixes a bug in the
9211         previous keybinding for `org-clock-in-last', which would override
9212         the one for `org-clock-in'.
9214         * org-clock.el (org-clock-in-last): Prevent errors when there is
9215         no clocking history.
9216         (org-clock-cancel): Fix bug when checking against a clock log in a
9217         folded drawer.
9219         * org.el (org-link-expand-abbrev): Implement "%(my-function)" as a
9220         new specifier.  Update the docstring.
9222         * org.el (org-startup-options): Fix docstring formatting.
9224         * org.el (org-use-sub-superscripts): Fix typo in docstring.
9226         * org.el (org-refile): Fix bug: prevent looping when calling
9227         `org-set-tags' internally.
9229         * org.el (org-mode-map): Add `C-c C-x C-I' as a keybinding for
9230         `org-clock-in-last'.
9232         * org-clock.el (org-clock-continuously): New option.
9233         (org-clock-in): Three universal prefix arguments set
9234         `org-clock-continuously' to `t' temporarily.
9235         (org-clock-in-last): Fix call to `org-clock-select-task' and
9236         support continuous clocking.
9237         (org-clock-out-time): New variable.
9238         (org-clock-out): Set `org-clock-out-time' when clocking out.
9239         Small docstring rewriting.
9240         (org-clock-remove-empty-clock-drawer): Fix "invalid search bound"
9241         bug when trying to delete empty logbook drawer.
9242         (org-clock-cancel): If the clock log is gone, send a warning
9243         instead of deleting the region that is supposed to contain it.
9245         * org.el (org-move-line-down, org-move-line-up): Remove.
9246         (org-metaup, org-metadown): When the region is active, move it
9247         up/down by one line, with no regard to the context.
9249         * org-odt.el (org-odt-cleanup-xml-buffers): Use the new alias.
9251         * org-compat.el: Alias `org-condition-case-unless-debug' to
9252         `condition-case-unless-debug' or `condition-case-no-debug'.
9254         * org-pcomplete.el (org-thing-at-point): Ignore trailing
9255         whitespaces while looking-back at properties.
9257         * org.el (org-mode): Set `indent-region-function'.
9258         (org-indent-region): New function.
9259         (org-fill-paragraph): When in a src block, use `indent-region' to
9260         indent the whole source code instead of falling back on
9261         `fill-paragraph', as this function messes up the code.
9263         * org-src.el (org-edit-src-code): Fix docstring formatting.
9265         * ob.el (org-babel-do-key-sequence-in-edit-buffer): Ditto.
9267         * org.el (org-mode, org-add-log-setup)
9268         (org-get-property-block, org-entry-put)
9269         (org-property-next-allowed-value, org-return)
9270         (org-indent-line): Rename `org-indent-line-function' to
9271         `org-indent-line'.
9273         * org-timer.el (org-timer-item): Ditto.
9275         * org-table.el (org-table-store-formulas): Ditto.
9277         * org-clock.el (org-clock-in, org-clock-find-position): Ditto.
9279         * org-src.el (org-src-font-lock-fontify-block)
9280         (org-src-strip-leading-and-trailing-blank-lines)
9281         (org-src-ask-before-returning-to-edit-buffer)
9282         (org-edit-src-code, org-edit-src-continue)
9283         (org-edit-fixed-width-region)
9284         (org-src-do-key-sequence-at-code-block)
9285         (org-src-font-lock-fontify-block, org-src-fontify-buffer):
9286         Fix typos in docstrings.
9288         * org-docbook.el (org-export-docbook-emphasis-alist): Fix typo:
9289         use "format string" instead of "formatting string".
9291         * org-latex.el (org-export-latex-emphasis-alist)
9292         (org-export-latex-title-command, org-export-latex-tables): Ditto.
9294         * org-html.el (org-export-html-postamble): Ditto.
9296         * org-latex.el (org-export-latex-hyperref-options-format):
9297         New option.
9298         (org-export-latex-make-header): Use it.
9300         * ob.el (org-babel-confirm-evaluate): Prevent errors when
9301         `org-current-export-file' is void.
9303         * org-table.el (org-table-export): Use the file name extension to
9304         suggest the right conversion format.  Also amend the docstring.
9306         * org.el (org-speed-commands-default): Two new speed commands.
9307         Use `:' for `org-columns' and ̀#' for `org-toggle-comment'.
9309         * org.el (org-time-stamp): With two universal arguments, insert an
9310         active timestamp with the current time without prompting the user.
9312         * org-clock.el (org-clock-in-last): New command.
9314         * org-clock.el (org-clock-in): Fix typo in docstring.
9316         * org-mobile.el (org-mobile-edit): Fix reference to a free
9317         variable.
9319         * org.el (org-doi-server-url): Update :group.
9321         * ob-lob.el (org-babel-lob-execute): Fix reference to non-existent
9322         variable.
9324         * org.el (org-doi-server-url): New option.
9325         (org-open-at-point): Use it.
9327         * org.el (org-at-comment-p): New function.
9328         (org-toggle-heading): Use `org-at-comment-p' to skip comments.
9330         * org-html.el (org-export-as-html): Add links to the Org mode and
9331         GNU Emacs websites When :html-postamble is set to 't.
9333         * org-export.el (org-export-creator-string): Add links to the Org
9334         mode and GNU Emacs websites.
9336         * org-special-blocks.el
9337         (org-special-blocks-convert-html-special-cookies): Prevent errors
9338         by first checking `org-line' is not nil.
9340         * org-clock.el (org-clock-string-limit)
9341         (org-clock-modeline-total, org-clock-task-overrun-text)
9342         (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
9344         * org.el (org-at-timestamp-p): Set ̀org-ts-what' to 'after when the
9345         point is right after the timestamp.  `org-at-timestamp-p' still
9346         returns `t' in this case, as this is more practical.
9347         (org-return): Check against ̀org-ts-what' to verify that point is
9348         really within the timestamp (if any).
9350         * org.el (org-return): Follow time-stamp links when point is an a
9351         time-stamp.
9353         * org-capture.el (org-capture-bookmark): New option.
9354         (org-capture-finalize): Use it.
9356         * org-publish.el (org-publish-cache-file-needs-publishing):
9357         Make the column mandatory after #+include:.
9359         * org-exp.el (org-export-handle-include-files): Ditto.
9361         * org-bibtex.el (org-bibtex-entries): Rename from
9362         (org-bibtex-read, org-bibtex-write): Use the new name.
9364         * org-exp.el (org-export-handle-include-files): Allow to use
9365         #+include with no column.
9367         * org-publish.el (org-publish-cache-file-needs-publishing):
9368         Make quotes mandatory around the file name and allow spaces in it.
9370         * org-html.el (org-export-as-html): Add link to Org's and Emacs's
9371         websites.
9373         * org-latex.el
9374         (org-export-latex-link-with-unknown-path-format): New option.
9375         (org-export-latex-links): Use it.
9377         * org-agenda.el (org-agenda-get-timestamps): Remove any active
9378         timestamp from the headline text, not only those for the current
9379         date.
9381         * org.el (org-set-tags): Allow setting tags for headlines in the
9382         region when `org-loop-over-headlines-in-active-region' is non-nil.
9384         * org.el (org-allow-promoting-top-level-subtree): New option to
9385         allow promoting a top-level subtree.
9386         (org-called-with-limited-levels): New variable, dynamically bound
9387         within the `org-with-limited-levels' macro.
9388         (org-promote): Use the new option to allow promoting a top-level
9389         subtree.
9391         * org-macs.el (org-with-limited-levels): Let-bind
9392         `org-called-interactively-p' to t.
9394         * org.el (org-create-formula-image-with-dvipng)
9395         (org-create-formula-image-with-imagemagick): Make sure a file
9396         exists before trying to delete it.
9398         * org.el (org-scan-tags): Correctly match TODO keywords.
9400         * org-agenda.el (org-agenda-bulk-action): Fix bug: use
9401         `org-agenda-bulk-unmark-all'.
9403         * org.el (orgstruct++-mode): Fix docstring.
9404         (org-fill-paragraph): Use the 'justify parameter when falling back
9405         on `fill-paragraph'.
9407         * org.el (org-indent-line-function): Use `org-let' instead of
9408         `orgstruct++-ignore-org-filling'.
9409         (org-fill-paragraph, org-auto-fill-function): Ditto.
9411         * org-macs.el (orgstruct++-ignore-org-filling): Delete.
9413         * org-table.el (org-table-time-string-to-seconds): Return the
9414         empty string if provided.
9415         (org-table-eval-formula): When assigning a duration string, handle
9416         it correctly -- i.e. don't make any computation on it, except the
9417         one to insert it using the correct duration format.
9419         * org.el (org-indent-line-function): Fix bug.
9421         * org-clock.el (org-frame-title-format-backup): New variable to
9422         store the value of `frame-title-format' before `org-clock' might
9423         replace it by `org-clock-frame-title-format'.
9424         (org-clock-frame-title-format): New option.
9425         (org-frame-title-string): Delete.
9426         (org-clock-update-mode-line): Minor code reformatting.
9427         (org-clock-in, org-clock-out, org-clock-cancel):
9428         Use `org-clock-frame-title-format'.
9430         * org-clock.el (org-clock-get-clock-string): Add a space.
9432         * org-list.el (org-mark-list): Return an error when there is no
9433         list at point.
9435         * org.el (org-toggle-heading): Allow `C-u C-c *' to mark the list
9436         at point before converting items to headings.  With a simple
9437         universal-argument, set `current-prefix-arg' to 1, otherwise keep
9438         the numeric value.
9440         * org-agenda.el (org-agenda-view-mode-dispatch): Make the message
9441         more readable.
9443         * org-agenda.el (org-agenda-mode-map): New keybinding ̀*' to mark
9444         all entries for bulk action.
9445         (org-agenda-menu): New menu item for marking all entries.
9446         (org-agenda-bulk-mark-all): New function to mark all entries.
9447         (org-agenda-bulk-mark-regexp): Minor docstring fix.
9448         (org-agenda-bulk-unmark): With a prefix argument, unmark all.
9449         Also send a better message.
9450         (org-agenda-bulk-remove-all-marks): Rename to
9451         `org-agenda-bulk-unmark-all'.  Check against
9452         `org-agenda-bulk-marked-entries' before trying to unmark entries.
9453         Minor docstring fix.
9454         (org-agenda-bulk-unmark-all): Rename from
9455         ̀org-agenda-bulk-remove-all-marks'.
9457         * org-agenda.el (org-agenda-bulk-mark-char): New option.
9458         (org-agenda-bulk-mark): Use the new option.
9460         * org.el (org-src-prevent-auto-filling): New option to prevent
9461         auto-filling in src blocks.  This defaults to nil to avoid people
9462         being surprised that no auto-fill occurs in Org buffers where they
9463         use `auto-fill-mode'.
9464         (org-auto-fill-function): Use the new option.
9466         * org.el (org-properties-postprocess-alist): Better customization
9467         type.
9468         (org-set-property): Fix the check against
9469         `org-properties-postprocess-alist'.
9471         * org-macs.el (orgstruct++-ignore-org-filling):
9472         Set `def-edebug-spec' correctly.
9474         * org-colview.el (org-columns-string-to-number): When computing
9475         the values for the colview, match durations and convert them to
9476         HH:MM values.
9478         * org.el (org-duration-string-to-minutes): Match non-round
9479         numbers.  Add a new optional parameter to allow returning the
9480         output as a string.
9482         * org.el (org-auto-fill-fallback-function)
9483         (org-indent-line-fallback-function)
9484         (org-fill-paragraph-fallback-function)
9485         (org-auto-fill-fallback-function)
9486         (org-indent-line-fallback-function)
9487         (org-fill-paragraph-fallback-function): Remove.
9488         (org-fb-vars): New buffer-local variable.
9489         (orgstruct++-mode): Use the fallback variable `org-fb-vars' to
9490         store, use and restore variables if needed.
9491         (org-fill-paragraph): Ignore `orgstruct++-mode' filling variables
9492         when needed.
9493         (org-auto-fill-function, org-indent-line-function): Ditto.
9495         * org-macs.el (orgstruct++-ignore-org-filling): New macro.
9497         * org-exp-blocks.el: Use `org-find-library-name' instead of
9498         `find-library-name'.
9500         * org-compat.el (org-find-library-name): Convert into a macro to
9501         avoid compilation of a function from XEmacs in Emacs and vice
9502         versa.
9504         * org-table.el (org-table-store-formulas): Fix typo.
9505         (org-table-maybe-eval-formula): Fix the regexp to only match
9506         formulas, which never end with the `=' character.  If the field
9507         only contain this character, don't eval either.
9509         * org.el (org-set-property): Perform the correct check against
9510         `org-properties-postprocess-alist'.
9512         * org-bbdb.el (org-bbdb-anniversary-format-alist): Update the
9513         customization type.
9514         (name): Suppress (defvar 'name) as name is not eval'ed when
9515         setting `org-bbdb-anniversary-format-alist'.
9517         * org.el (org-version): When called non-interactively, insert the
9518         short version string, otherwise send a message with the complete
9519         version string.
9521         * org-odt.el (org-odt-update-meta-file): Use (org-version) and
9522         delegate checking whether `org-version' is known as a variable
9523         there.
9525         * org-html.el (org-export-as-html): Use (org-version).
9527         * org-docbook.el (org-export-as-docbook): Ditto.
9529         * org-latex.el (org-export-latex-make-header): Ditto.
9531         * org-clock.el (org-clocktable-write-default): Temporarily disable
9532         `delete-active-region' so that we don't accidently delete an
9533         active region when exporting a subtree/region.
9535         * org-clock.el (org-program-exists): Remove.
9536         (org-show-notification, org-clock-play-sound):
9537         Use `executable-find' instead of `org-program-exists'.
9539         * org-agenda.el (org-diary): Prevent failure from
9540         `org-compile-prefix-format' when there is no agenda buffer.
9542         * org-agenda.el (org-agenda-mode): Replace obsolete variable
9543         `buffer-substring-filters'.
9545         * org-indent.el (org-indent-mode): Ditto.
9547         * org-compat.el (org-find-library-name): Silent the byte-compiler
9548         about a warning related to XEmacs support.
9550         * org-special-blocks.el
9551         (org-special-blocks-convert-html-special-cookies): Use `org-line'
9552         instead of `line'.
9554         * org-html.el (org-html-handle-links, org-export-as-html)
9555         (org-format-org-table-html, org-format-table-table-html)
9556         (org-html-export-list-line): Use `org-line' instead of `line' as
9557         the free variable name.
9559         * org-latex.el (org-export-latex-tables): Let-bind `hfmt'.
9561         * org-faces.el (org-list-dt): New face.
9563         * org.el (org-set-font-lock-defaults): Use `org-list-dt' as the
9564         face for definition terms in definition lists.
9566         * org.el (org-fill-paragraph): Pass the `justify' argument to
9567         `org-fill-paragraph-fallback-function'.
9569         * org.el (org-eval-in-calendar): Fix docstring to mention the
9570         KEEPDATE parameter.
9572         * org.el (org-refresh-category-properties): Let-bind
9573         `inhibit-read-only' to t.
9575         * org.el (org-auto-fill-fallback-function)
9576         (org-indent-line-fallback-function)
9577         (org-fill-paragraph-fallback-function): New variables to store
9578         some fall-back functions when turning `orgstruct++-mode' on.
9579         (orgstruct++-mode): Set the new variables.
9580         (org-indent-line-function, org-fill-paragraph)
9581         (org-auto-fill-function): Use them.
9583         * org.el (org-read-date): Bugfix: call `org-eval-in-calendar' with
9584         the 'keepdate parameter set to t when setting the cursor type.
9586         * org-agenda.el (org-agenda-persistent-marks): New option to keep
9587         marks after a bulk action.  The option defaults to nil.
9588         (org-agenda-bulk-action): Use the new option.
9590         * org-capture.el (org-capture-fill-template): Use %\n instead of
9591         %n as a template element to be replaced with the nth prompted
9592         string.
9593         (org-capture-templates): Update docstring.
9595         * org.el (org-goto): Fix docstring and document what C-u does.
9597         * org-publish.el (org-publish-cache-file-needs-publishing):
9598         Use (case-fold-search t) when looking for #+INCLUDE:.
9600         * org.el: Use (case-fold-search t).
9601         (org-edit-special, org-ctrl-c-ctrl-c): Ditto.
9603         * org-table.el:
9604         (org-table-store-formulas, org-table-get-stored-formulas)
9605         (org-table-fix-formulas, org-table-edit-formulas)
9606         (org-old-auto-fill-inhibit-regexp, orgtbl-ctrl-c-ctrl-c)
9607         (orgtbl-toggle-comment, org-table-get-remote-range): Ditto.
9609         * org-footnote.el:
9610         (org-footnote-goto-local-insertion-point): Ditto.
9612         * org-exp.el: Ditto.
9614         * org-colview.el:
9615         (org-dblock-write:columnview, org-dblock-write:columnview): Ditto.
9617         * org-clock.el (org-clocktable-write-default): Ditto.
9619         * org-capture.el (org-capture-place-table-line): Ditto.
9621         * ob.el (org-babel-data-names, org-babel-goto-named-src-block)
9622         (org-babel-src-block-names)
9623         (org-babel-where-is-src-block-result, org-babel-result-end)
9624         (org-babel-where-is-src-block-head)
9625         (org-babel-find-named-result, org-babel-result-names): Ditto.
9627         * org-table.el (orgtbl-send-table): Escape special characters.
9628         Introduce a new parameter :no-escape to prevent escaping.
9630         * org-agenda.el (org-toggle-sticky-agenda): Only shout a message
9631         when called interactively.
9632         (org-agenda-get-restriction-and-command):
9633         Call `org-toggle-sticky-agenda' interactively.
9635         * org-agenda.el (org-agenda-top-category-filter): New variable for
9636         storing the current top-category filter.
9637         (org-agenda-redo): Apply a top-category filter, if any.
9638         (org-agenda-filter-by-top-category)
9639         (org-agenda-filter-top-category-apply):
9640         Set `org-agenda-top-category-filter' to the right value.
9642         * org-clock.el (org-clock-out, org-clock-cancel)
9643         (org-clock-in): Don't modify `frame-title-format' if it is a
9644         string.
9646         * org-latex.el (org-export-latex-special-chars): Fix bug when
9647         escaping special characters in a table.
9649         * org.el (org-read-date): Set cursor-type to nil in the calendar.
9651         * org-faces.el (org-date-selected): Use inverse video.
9652         Don't explicitly set bold to nil as it causes `customize-face' to show
9653         the weight property and thus encourage the user to change it.
9654         Warn in the docstring that using bold might cause problems when
9655         displaying the calendar.
9657         * org-id.el (org-id-update-id-locations): New parameter to silent
9658         `org-id-find'.
9659         (org-id-find): Use the new parameter.
9661         * org.el (org-show-hierarchy-above, org-cycle)
9662         (org-global-cycle, org-files-list, org-store-link)
9663         (org-link-search, org-open-file, org-display-outline-path)
9664         (org-refile-get-location, org-update-all-dblocks)
9665         (org-change-tag-in-region, org-entry-properties)
9666         (org-save-all-org-buffers, org-revert-all-org-buffers)
9667         (org-buffer-list, org-cdlatex-mode)
9668         (org-install-agenda-files-menu, org-end-of-subtree)
9669         (org-speedbar-set-agenda-restriction): Use (derived-mode-p
9670         'org-mode) instead of (eq major-mode 'org-mode).
9672         * org-timer.el (org-timer-set-timer): Ditto.
9674         * org-table.el (orgtbl-mode, org-table-align, orgtbl-mode): Ditto.
9676         * org-src.el (org-edit-src-exit, org-edit-src-code)
9677         (org-edit-fixed-width-region, org-edit-src-exit): Ditto.
9679         * org-remember.el (org-remember-handler): Ditto.
9681         * org-mouse.el (dnd-open-file, org-mouse-insert-item): Ditto.
9683         * org-macs.el (org-get-limited-outline-regexp): Ditto.
9685         * org-lparse.el (org-replace-region-by): Ditto.
9687         * org-latex.el (org-latex-to-pdf-process)
9688         (org-replace-region-by-latex): Ditto.
9690         * org-indent.el (org-indent-indent-buffer): Ditto.
9692         * org-id.el (org-id-store-link, org-id-update-id-locations)
9693         (org-id-store-link): Ditto.
9695         * org-html.el (org-export-html-preprocess)
9696         (org-replace-region-by-html): Ditto.
9698         * org-footnote.el (org-footnote-normalize)
9699         (org-footnote-goto-definition)
9700         (org-footnote-create-definition, org-footnote-normalize): Ditto.
9702         * org-docbook.el (org-replace-region-by-docbook): Ditto.
9704         * org-ctags.el (find-tag): Ditto.
9706         * org-colview.el (org-columns-redo)
9707         (org-columns-display-here, org-columns-edit-value)
9708         (org-columns-redo): Ditto.
9710         * org-capture.el (org-capture-insert-template-here)
9711         (org-capture, org-capture-finalize)
9712         (org-capture-set-target-location)
9713         (org-capture-insert-template-here): Ditto.
9715         * org-ascii.el (org-replace-region-by-ascii): Ditto.
9717         * org-archive.el (org-archive-subtree): Ditto.
9719         * org-agenda.el (org-agenda)
9720         (org-agenda-get-restriction-and-command)
9721         (org-agenda-get-some-entry-text, org-search-view)
9722         (org-tags-view, org-agenda-get-day-entries)
9723         (org-agenda-format-item, org-agenda-goto, org-agenda-kill)
9724         (org-agenda-archive-with, org-agenda-switch-to): Ditto.
9726         * org.el (org-repeat-re)
9727         (org-clone-subtree-with-time-shift, org-auto-repeat-maybe)
9728         (org-deadline, org-schedule, org-matcher-time)
9729         (org-time-stamp, org-read-date, org-read-date-get-relative)
9730         (org-display-custom-time, org-get-wdays)
9731         (org-time-string-to-absolute, org-closest-date)
9732         (org-timestamp-change): Allow to set hourly repeat cookie.
9733         Send an error when an hourly repeat cookie is set and no hour is
9734         specified in the timestamp.
9736         * org-icalendar.el (org-print-icalendar-entries): Handle hourly
9737         repeat cookies.
9739         * org-clock.el (org-program-exists): Fix docstring.
9741         * org-clock.el (org-clock-file-time-cell-format): New option.
9742         (org-clocktable-write-default): Use it.
9744         * org-faces.el (org-date-selected): New face.
9746         * org.el (org-date-ovl): Use `org-date-selected'.
9748         * org.el (org-mode): Don't use `buffer-face-mode' by default.
9750         * org-agenda.el (org-agenda-mode-map): Bind `^' to
9751         `org-agenda-filter-by-top-category'.
9753         * org-ascii.el (org-export-ascii-underline): Change the default
9754         underlining characters for headlines of level 1 and 2.
9755         Also introduce \. as the underline character for headlines of level 5.
9757         * org-table.el (org-table-recalculate-buffer-tables)
9758         (org-table-iterate-buffer-tables): Add autoload cookie.
9760         * org.el (org-table-map-tables): Exclude tables in src and example
9761         blocks.
9763         * org.el (org-fill-paragraph): Leave scheduled/deadline lines
9764         untouched when filling an adjacent paragraph.
9766         * org-html.el (org-export-html-preamble-format)
9767         (org-export-html-postamble-format): Improve the docstring.
9769         * org.el (org-todo): Fix regression: rename `state' to
9770         `org-state'.
9772         * org-clock.el (org-show-notification): Use `fboundp' instead of
9773         `featurep' and the additional `require'.
9775         * org-clock.el (org-clock-in-prepare-hook): New option to format
9776         the total time cells.
9777         (org-clocktable-write-default): Use the new option.
9779         * org.el (org-open-at-point): Allow to open the agenda from an
9780         active or inactive timestamp in a headline.
9782         * org-html.el (org-export-html-date-format-string): Make a
9783         defcustom.
9785         * org-latex.el (org-export-as-latex): Fix TeX-master declaration.
9787 2012-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
9789         * org-table.el (org-table-expand-lhs-ranges): Allow hline
9790         references to be expanded correctly in LHS of formulas.
9792         * org-beamer.el (org-beamer-inherited-properties): New option.
9793         (org-beamer-after-initial-vars): Use new option to look for
9794         inherited properties.
9796         * org.el (org-ts-regexp0): Allow time stamps without name of day.
9798         * org-agenda.el (org-toggle-sticky-agenda):
9799         (org-agenda-sticky): Improve :set property.
9801         * org-agenda.el (org-agenda-local-vars): Clean up the variable
9802         list.
9803         (org-agenda-get-restriction-and-command): Add a key for toggling
9804         sticky agenda views.
9806         * org-agenda.el (org-agenda-local-vars): Final decisions about
9807         global/local
9809         * org-agenda.el (org-agenda-force-single-file): Variable removed.
9810         (org-prepare-agenda-window): Store pre-agenda window config
9811         locally.
9812         (org-timeline): Introduce a scoped version of
9813         `org-agenda-show-log'.
9814         (org-agenda-list): Introduce a scoped version of
9815         `org-agenda-show-log'.
9816         (org-agenda-get-progress): Use the scoped version of
9817         `org-agenda-show-log'.
9818         (org-agenda-local-vars): Write the analysis result as a comment -
9819         to be cleaned up in the next iteration.
9821         * org-agenda.el (org-toggle-sticky-agenda): Kill all agenda
9822         buffers when toggling sticky-agendas.
9823         (org-agenda-get-restriction-and-command): Add `C-c a C-k' as a key
9824         to explicitly kill all agenda buffers.
9825         (org-agenda-run-series): Remove any old agenda markers in the
9826         buffer that is going to take the new block agenda.
9827         (org-prepare-agenda): Reset markers before erasing the buffer anc
9828         running `org-agenda-mode', because after that the local variable
9829         `org-agenda-markers' will have gone away.
9830         (org-agenda-Quit):
9831         (org-finalize-agenda): Install the marker resetter into the
9832         `kill-buffer-hook'.
9833         (org-agenda-save-markers-for-cut-and-paste): Look for markers in
9834         all agenda buffers.
9835         (org-agenda-kill-all-agenda-buffers): New function.
9837 2012-09-30  Chris Gray  <chrismgray@gmail.com>
9839         * org-html.el (org-export-as-html): Remove the check for body-only
9840         in the code for generating tables of contents.
9842 2012-09-30  Christoph Dittmann  <github@christoph-d.de>  (tiny change)
9844         * org-beamer.el (org-beamer-auto-fragile-frames):
9845         Make [fragile] work with overlay specifications.
9847 2012-09-30  Christophe Junke  <christophe.junke@inria.fr>  (tiny change)
9849         * org-agenda.el (org-agenda-list): Ensures that the list returned
9850         by `org-agenda-add-time-grid-maybe' is appended to ̀rtnall' before
9851         checking if the latter is empty.
9853 2012-09-30  Christophe Rhodes  <csr21@cantab.net>  (tiny change)
9855         * org-latex.el (org-export-latex-tables): Support setting the
9856         :hfmt parameter from #+ATTR_LaTeX.
9858 2012-09-30  Daniel Dehennin  <daniel.dehennin@baby-gnu.org>  (tiny change)
9860         * org-exp.el (org-export-handle-include-files)
9861         (org-get-file-contents): Handle new parameter :addlevel.
9863 2012-09-30  Dave Abrahams  <dave@boostpro.com>  (tiny change)
9865         * org.el (org-link-prettify): New function to prettify links while
9866         displaying them with `org-insert-link'.
9867         (org-insert-link): Use the new function.
9869 2012-09-30  David Maus  <dmaus@ictsoc.de>
9871         * org-exp.el (org-export-language-setup): Use numeric character
9872         entities for proper rendering of non-UTF8 documents.
9874         * org-exp.el (org-export-language-setup): Add japanese
9875         translation.
9877 2012-09-30  Eric Schulte  <eric.schulte@gmx.com>
9879         * ob-sh.el (org-babel-sh-evaluate): Don't could 0-length shebangs.
9881         * ob.el (org-babel-insert-result): Replace key sequence with
9882         function call.  Use a more informative flag to the local function.
9883         (org-add-protective-commas): Declare a new external function.
9885         * org-src.el (org-add-protective-commas): This should be its own
9886         function.
9887         (org-edit-src-exit): Use the new function.
9889         * org-compat.el (org-labels): Remove.
9891         * org-bibtex.el (org-bibtex-headline): Don't use `org-labels'.
9893         * ob.el (org-babel-sha1-hash, org-babel-noweb-p): Ditto.
9895         * ob.el (org-babel-string-read): Don't automatically evaluate code
9896         block results which look like elisp.
9897         (org-babel-import-elisp-from-file): Raise a warning message when
9898         the process of reading code block results raises an error.
9900         * ob-tangle.el (org-babel-with-temp-filebuffer): Don't execute
9901         macro argument multiple times.
9903         * org.el (org-compat): Require org-compat before we first use one
9904         of its functions (a macro actually).
9906         * ob-comint.el (org-babel-comint-with-output): Don't name the
9907         filter function, but rather pass through the anonymous lambda
9908         directly.
9910         * org.el (org-babel-load-languages): Common lisp should be
9911         mentioned as a supported babel language.
9913         * org-clock.el (org-clock-special-range): "concat 'string" ->
9914         "concat"
9915         (org-clocktable-shift): "concat 'string" -> "concat"
9917         * org-bibtex.el (org-bibtex-headline): Replacing org-flet with
9918         org-labels.
9920         * ob-calc.el (org-babel-execute:calc): Strip single quotes from
9921         calc internal representations.
9923         * org-clock.el (org-clock-special-range): Replacing cl concatenate
9924         with concat.
9925         (org-clocktable-shift): Replacing cl concatenate with concat.
9927         * ob.el (org-babel-edit-distance): Remove use of map at runtime.
9929         * org-compat.el (org-flet): Compatibility function now that flet
9930         has been removed from cl-macs.
9931         (org-labels): Compatibility function now that labels has been
9932         removed from cl-macs.
9934         * ob-R.el (org-compat): Require org-compat.
9936         * ob-comint.el: Require org-compat.
9938         * ob-exp.el (org-babel-exp-do-export): Switch to compatibility
9939         function.
9941         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Switch to
9942         compatibility function.
9944         * ob-lob.el (org-babel-lob-get-info): Switch to compatibility
9945         function.
9946         (org-babel-lob-execute): Switch to compatibility function.
9948         * ob-python.el (org-babel-python-evaluate-session): Switch to
9949         compatibility function.
9951         * ob-ref.el (org-babel-ref-index-list): Switch to compatibility
9952         function.
9954         * ob-sh.el (org-babel-sh-var-to-string): Switch to compatibility
9955         function.
9957         * ob-tangle.el (org-babel-load-file): Switch to compatibility
9958         function.
9959         (org-babel-tangle): Switch to compatibility function.
9960         (org-babel-spec-to-string): Switch to compatibility function.
9962         * ob.el (org-babel-view-src-block-info): Switch to compatibility
9963         function.
9964         (org-babel-execute-src-block): Switch to compatibility function.
9965         (org-babel-edit-distance): Switch to compatibility function.
9966         (org-babel-switch-to-session-with-code): Switch to compatibility
9967         function.
9968         (org-babel-sha1-hash): Switch to compatibility function.
9969         (org-babel-balanced-split): Switch to compatibility function.
9970         (org-babel-join-splits-near-ch): Switch to compatibility function.
9971         (org-babel-get-rownames): Switch to compatibility function.
9972         (org-babel-format-result): Switch to compatibility function.
9973         (org-babel-insert-result): Switch to compatibility function.
9974         (org-babel-examplize-region): Switch to compatibility function.
9975         (org-babel-merge-params): Switch to compatibility function.
9976         (org-babel-noweb-p): Switch to compatibility function.
9977         (org-babel-expand-noweb-references): Switch to compatibility
9978         function.
9980         * org-bibtex.el (org-bibtex-headline): Switch to compatibility
9981         function.
9982         (org-bibtex-fleshout): Switch to compatibility function.
9983         (org-bibtex-read): Switch to compatibility function.
9984         (org-bibtex-write): Switch to compatibility function.
9986         * org-exp-blocks.el (org-export-blocks-preprocess): Switch to
9987         compatibility function.
9989         * org-exp.el (org-export-format-source-code-or-example): Switch to
9990         compatibility function.
9992         * org-macs.el (org-called-interactively-p): Indentation fix.
9994         * org-mouse.el (org-mouse-timestamp-today): Switch to
9995         compatibility function.
9996         (org-mouse-set-priority): Switch to compatibility function.
9997         (org-mouse-popup-global-menu): Switch to compatibility function.
9998         (org-mouse-context-menu): Switch to compatibility function.
10000         * org-plot.el (org-plot/gnuplot-to-grid-data): Switch to
10001         compatibility function.
10002         (org-plot/gnuplot-script): Switch to compatibility function.
10004         * org.el (org-entry-get): Switch to compatibility function.
10005         (org-fill-paragraph): Switch to compatibility function.
10006         (org-auto-fill-function): Switch to compatibility function.
10008         * ob-lob.el (org-babel-lob-execute): Only try to insert extant
10009         hashes.
10011         * ob-R.el (org-babel-R-command): From a defvar to a defcustom.
10013         * ob.el (org-babel-set-current-result-hash): Change the hash of
10014         the results for the current code block.
10015         (org-babel-current-result-hash): Fix documentation.
10017         * ob-lob.el (org-babel-lob-execute): Don't re-execute the called
10018         function if the current call line hash matches that in its
10019         results.
10021         * ob-R.el (org-babel-R-assign-elisp): Can't assume every entry in
10022         a table is a sequence.
10024         * ob-R.el (org-babel-R-assign-elisp): Clean up the code
10025         implementing reads of irregular data into R.
10027         * ob.el (org-babel-header-arg-expand): In new buffers
10028         (char-before) may return nil so use equal rather than =.
10030         * ob-R.el (org-babel-header-args:R): Adding values.
10032         * ob-clojure.el (org-babel-header-args:clojure): Adding values.
10034         * ob-lisp.el (org-babel-header-args:lisp): Adding values.
10036         * ob-sql.el (org-babel-header-args:sql): Adding values.
10038         * ob-sqlite.el (org-babel-header-args:sqlite): Adding values.
10040         * ob.el (org-babel-combine-header-arg-lists): Combine lists of
10041         arguments and values.
10042         (org-babel-insert-header-arg): Use new combined header argument
10043         lists.
10044         (org-babel-header-arg-expand): Add support for completing-read
10045         insertion of header arguments after ":"
10046         (org-babel-enter-header-arg-w-completion): Completing read
10047         insertion of header arguments
10048         (org-tab-first-hook): Adding header argument completion.
10049         (org-babel-params-from-properties): Combining header argument
10050         lists.
10052         * ob-exp.el (org-babel-exp-results): Ensure noweb expanded body is
10053         used on export.
10055         * ob.el (org-babel-result-to-file): New optional description
10056         argument.
10057         (org-babel-insert-result): Move description logic to another
10058         function.
10060         * ob.el (org-babel-insert-result): Change name of filelinkdescr to
10061         file-desc.
10062         (org-babel-common-header-args-w-values): Change name of
10063         filelinkdescr to file-desc.
10065         * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled C
10066         files on windows.
10068         * ob-exp.el (org-babel-exp-code): Escape all lines when exporting
10069         Org-mode blocks.
10071         * ob.el (org-babel-parse-src-block-match): Make use of the new
10072         language argument to org-babel-strip-protective-commas.
10073         (org-babel-parse-inline-src-block-match): Make use of the new
10074         language argument to org-babel-strip-protective-commas.
10075         (org-babel-strip-protective-commas): Now accepts a language
10076         argument.
10078 2012-09-30  Fabrice Niessen  <fniessen-TA4HMoP+1wHrZ44/DZwexQ@public.gmane.org>  (tiny change)
10080         * org-agenda.el (org-agenda-write-buffer-name): Remove the test
10081         for the presence of <style> tag.
10083 2012-09-30  Feng Shu  <tumashu@gmail.com>
10085         * org.el (org-create-formula-image-with-imagemagick):
10086         Use 'call-process to launch latex so that no shell output buffer will
10087         be shown when previewing formulas.
10089         * org.el (org-create-formula-image-with-imagemagick): Fix typo.
10091         * org.el (org-latex-create-formula-image-program): New option to
10092         use either dvipng or imagemagick to convert and preview LaTeX
10093         fragments.
10094         (org-preview-latex-fragment, org-format-latex): Handle the new
10095         option.
10096         (org-create-formula-image-with-dvipng): Rename from
10097         `org-create-formula-image'.
10098         (org-create-formula-image-with-imagemagick): New defun to handle
10099         LaTeX preview with imagemagick.
10100         (org-latex-color, org-latex-color-format): New defuns to handle
10101         color conversions.
10103         * org-latex.el (org-latex-to-pdf-process, org-export-as-pdf):
10104         Allow to use imagemagick to convert LaTeX fragments.
10106         * org-html.el (org-export-html-preprocess): Ditto.
10108         * org-exp.el (org-export-with-LaTeX-fragments): Ditto.
10110 2012-09-30  George Kettleborough  <g.kettleborough@member.fsf.org>
10112         * org-clock.el: New option `org-clock-clocked-in-display' to
10113         control whether the current clock is displayed in the mode line
10114         and/or frame title.
10116         * org-timer.el: New option `org-timer-display' to control whether
10117         the current timer is displayed in the mode line and/or frame
10118         title.
10120 2012-09-30  Hans-Peter Deifel  <hpdeifel@gmx.de>  (tiny change)
10122         * ob.el (org-babel-execute-src-block): Allow the :dir header
10123         argument to take relative file names.
10125 2012-09-30  Harri Kiiskinen  <harri@pp-kaitue.(none)>  (tiny change)
10127         * org-protocol.el: New option.
10128         (org-protocol-store-link, org-protocol-do-capture): Use it.
10130 2012-09-30  Henning Weiss  <hdweiss@gmail.com>
10132         * org-mobile.el (org-mobile-edit): Add handling of addheading,
10133         refile, archive, archive-sibling and delete edit nodes.
10134         (org-mobile-locate-entry): Olp links containing only a file are
10135         now be located correctly.
10136         (org-mobile-apply): Instead of finding the location of all target
10137         headings for edit nodes in a separate loop, they will be found
10138         immediately before applying edits.
10140         * org-mobile.el (org-mobile-sumo-agenda-command): Use a shorter
10141         title.
10143 2012-09-30  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
10145         * org.el (org-parse-time-string): Allow strings supported by
10146         tags/properties matcher (eg <now>, <yesterday>, <-7d>) if the time
10147         starts with < and ends with >.  This means that e.g. in the
10148         clocktable parameters you can specify :tstart "<-1w>" :tend
10149         "<now>".
10151 2012-09-30  Ippei FURUHASHI  <top.tuna+orgmode@gmail.com>  (tiny change)
10153         * org-colview.el (org-columns): New argument `columns-fmt-string'.
10155         * org-colview.el (org-columns-get-format-end-top-level):
10156         Split into `org-columns-get-format' and `org-columns-goto-top-level'.
10158         * org-colview.el (org-dblock-write:columnview): Add a new
10159         parameter :format which specifies the column view format for the
10160         output of the columnview dynamic block.
10162 2012-09-30  Jambunathan K  <kjambunathan@gmail.com>
10164         * org-lparse.el (org-lparse-and-open)
10165         (org-lparse-do-convert): Open exported files with system-specific
10166         application.
10168         * org-odt.el: Don't meddle with `org-file-apps'.
10170         * org-compat.el (org-condition-case-unless-debug): Alias to
10171         `condition-case' when both `condition-case-no-debug' and
10172         `condition-case-unless-debug' is unavailable.
10174         * org-odt.el (org-odt-do-image-size): Replace `flet' with
10175         equivalent construct.
10177         * org-odt.el (org-odt-cleanup-xml-buffers):
10178         Use `condition-case-no-debug' instead of
10179         `condition-case-unless-debug'.  This ensures backward
10180         compatibility with Emacs versions < 24.1.
10182         * org-odt.el (org-odt-zip-dir)
10183         (org-odt-cleanup-xml-buffers): New.
10184         (org-export-as-odt-and-open, org-export-as-odt)
10185         (org-odt-init-outfile, org-odt-save-as-outfile)
10186         (org-export-as-odf, org-export-as-odf-and-open):
10187         Use `org-odt-cleanup-xml-buffers'.
10189         * org-odt.el (org-export-odt-default-org-styles-alist):
10190         Add default character style.
10192         * org-odt.el (org-export-odt-default-org-styles-alist):
10193         Add default character style.
10195         * org-lparse.el (org-do-lparse): Remove stray call to
10196         `org-export-html-after-blockquotes-hook'.
10198         * org-bbdb.el (org-bbdb-export): Add support for ODT format.
10200         * org-odt.el (org-odt-update-meta-file): Check for `org-version'
10201         is bound before accessing it.
10203         * org-odt.el (org-odt-schema-dir-list): OD Schema files have been
10204         moved away from $(git-root)/contrib/odt/etc/schema/ to
10205         $(git-root)/etc/schema/.
10207         * org-odt.el (org-odt-format-org-link): Pay no heed to whether the
10208         internal links destined for headlines provide a description or
10209         not.  In fact, the `org-store-link' and `org-insert-link' create
10210         internal links which do have a description.
10212         * org-lparse.el (org-lparse-insert-org-table): Consider short
10213         caption as plain text and not as org text.
10215         * org-odt.el (org-export-odt-format-formula)
10216         (org-export-odt-format-image): Ditto.
10218         * org-odt.el (org-odt-begin-table)
10219         (org-export-odt-format-formula, org-export-odt-format-image)
10220         (org-odt-format-entity): Handle short caption.
10222         * org-lparse.el (org-lparse-insert-org-table)
10223         (org-lparse-insert-list-table, org-lparse-insert-table-table):
10224         Ditto.
10226 2012-09-30  Jay McCarthy  <jay.mccarthy@gmail.com>  (tiny change)
10228         * org-colview.el (org-columns-new-overlay): Make sure to add a
10229         face to a string that has no face.
10231 2012-09-30  Jérémie Courrèges-Anglas  <jca@wxcvbn.org>  (tiny change)
10233         * org-latex.el: Ensure a final newline is appended to the export
10234         buffer.
10236 2012-09-30  Levin Du  <zslevin@gmail.com>  (tiny change)
10238         * org-clock.el (org-clock-in): Fix bug in setting the clock
10239         heading.
10241 2012-09-30  Madan Ramakrishnan  <madanr79@gmail.com>  (tiny change)
10243         * org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as
10244         advertised by the function.
10246 2012-09-30  Mark E. Shoulson  <mark@kli.org>  (tiny change)
10248         * org.el (org-fontify-entities): Hide {} when prettifying
10249         entities.
10251 2012-09-30  Mark Shoulson  <mark@kli.org>  (tiny change)
10253         * org-entities.el (org-entities): Add new entities for characters
10254         which could cause formatting changes if typed directly.
10256         * org-entities.el (org-entities): Add \asciicirc entity for ^;
10257         also fixed \circ expansion in latex.
10259         * org.el (org-fontify-entities): Fix bug: The entities \sup[123]
10260         and \there4 were not "prettified" when org-pretty-entities was
10261         enabled.
10263 2012-09-30  Mats Lidell  <matsl@xemacs.org>  (tiny change)
10265         * org-element.el (org-element-paragraph-separate):
10266         Remove redundant and misplaced t clause in case.
10268 2012-09-30  Matt Lundin  <mdl@imapmail.org>
10270         * org-datetree.el: Fix regexp to allow datetree to find headings
10271         with trailing whitespace.  This fixes a bug in which an existing
10272         datetree heading (e.g., "* 2012 ") would not be found by
10273         org-datetree-find-year-create if it had trailing whitespace.
10274         This can cause problems, for instance, if one is using column view on
10275         the date tree, since editing subheadings with column view adds
10276         whitespace at the end of the top heading.
10278         * org-footnote.el (org-footnote-new): Don't call
10279         org-footnote-unique-label if org-footnote-auto-label is set to
10280         random.
10282         * org-gnus.el (org-gnus-follow-link): Fix argument to
10283         gnus-group-read-group so that following a link does not result in
10284         unread article being selected.
10286         * org-bbdb.el (org-bbdb-anniv-extract-date)
10287         (org-bbdb-make-anniv-hash): Fix org-bbdb anniversary functionality
10288         to accommodate BBDB 3.x.  There are two major changes in BBDB 3.x
10289         that need to be taken into account.  The first is that
10290         `bbdb-split' reverses the order of its parameters in 3.x.
10291         The second is that `bbdb-record-getprop' is replaced by
10292         bbdb-record-note in 3.x.
10294 2012-09-30  Max Mikhanosha  <max@openchat.com>
10296         * org-agenda.el (org-agenda-change-all-lines): Speedup refresh of
10297         a single line of agenda by narrowing the agenda buffer to just
10298         that line before calling `org-agenda-finalize'.
10300         * org.el (org-mode): Don't set org-hide's foreground to
10301         "invisible-bg".
10302         (org-find-invisible-foreground): New function.
10304         * org-agenda.el (defvar org-habit-show-all-today): New variable
10305         (org-agenda-get-scheduled): Show all habits if user wants it
10307         * org-habit.el (defcustom org-habit-show-all-today): New variable
10309         * org-agenda.el (org-agenda-quit): Copy the code for optionally
10310         restoring window configuration after burying the sticky agenda
10311         buffer.
10313         * org-agenda.el (org-agenda-new-marker): Check for NIL
10314         org-agenda-buffer
10315         (org-agenda-to-appt): Bind org-agenda-buffer to NIL
10317         * org-agenda.el (org-agenda-change-all-lines): Move accessing of
10318         'extra text property outside of with-current-buffer for original
10319         buffer
10321         * org-agenda.el (defvar org-habit-show-habits-only-for-today):
10322         initialize to nil
10324 2012-09-30  Michael Brand  <michael.ch.brand@gmail.com>
10326         * org-id.el (org-id-link-to-org-use-id): Align the doc string to
10327         the changed default.
10329         * ob-tangle.el (org-babel-tangle-collect-blocks): Use dummy string
10330         when heading has no text.
10332         * org-capture.el (org-capture-inside-embedded-elisp-p):
10333         Improve parsing.
10335         * org-feed.el (org-feed-format-entry): Require `org-capture'.
10336         Expand Elisp %(...) templates.
10337         (org-feed-default-template): Update docstring.
10339         * org-capture.el (org-capture-expand-embedded-elisp):
10340         New function.
10341         (org-capture-fill-template): Use it.
10342         (org-capture-inside-embedded-elisp-p): New function to tell if we
10343         are within an Elisp %(...) template.
10345         * org-list.el (org-at-item-description-p)
10346         (org-list-item-body-column): Make the inline regexp more
10347         consistent with `org-list-full-item-re', the inline regexp
10348         "Description list items" from `org-set-font-lock-defaults and
10349         others'.
10351 2012-09-30  Mike Sperber  <sperber@deinprogramm.de>
10353         * org.el (org-fill-paragraph): Pass optional argument to
10354         `fill-paragraph' to fix compatibility with XEmacs.
10356         * org.el (org-self-insert-cluster-for-undo):
10357         Default `org-self-insert-cluster-for-undo' also on XEmacs.
10359         * org.el (org-kill-line): Access `visual-line-mode' only if it's
10360         bound.
10362 2012-09-30  Muchenxuan Tong  <demon386@gmail.com>  (tiny change)
10364         * org-timer.el (org-timer-set-mode-line):
10365         Check `org-timer-display' when value is 'off.
10367 2012-09-30  Nicolas Calderon Asselin  <nicolas.calderon.asselin@gmail.com>  (tiny change)
10369         * org-clock.el (org-clock-idle-time): Org-mode assumed that
10370         x11idle was an available command, and returned an idle time of 0
10371         if it was not
10372         (never idle): Add checks so that org-idle-time will come from
10373         emacs' own current-idle-time if x11idle cannot be found or if it
10374         cannot retrieve the idle time from X11
10376 2012-09-30  Nicolas Goaziou  <n.goaziou@gmail.com>
10378         * org-element.el: Properly remove COMMENT and QUOTE keywords from
10379         title in parser.
10381         * org-element.el (org-element-headline-parser): Fix parsing for
10382         headlines with a single COMMENT or QUOTE keyword.
10384         * ob-org.el (org-babel-default-header-args:org): By default,
10385         export code from Org src blocks.
10387         * org-element.el (org-element-inline-src-block-successor):
10388         Fix inline-src-block parsing at the beginning of an item.
10390         * org-element.el (org-element--collect-affiliated-keywords):
10391         Fix caption parsing.
10393         * org-element.el (org-element--current-element): At the very
10394         beginning of a footnote definition or an item, next element is
10395         always a paragraph.
10397         * org-element.el (org-element-headline-parser): Handle nil titles.
10398         (org-element-inlinetask-parser): Add :raw-value property.
10399         Also handle nil titles.
10401         * org.el (org-set-regexps-and-options): Don't consider tags as a
10402         replacement for a missing title in an headline.
10404         * org.el (org-setup-filling): Remove duplicate code.
10406         * org.el (org-adaptive-fill-function): Make sure fill prefix is
10407         computed from beginning of line.
10409         * org-element.el (org-element-section-parser): Make sure section
10410         cannot contain an headline.
10411         (org-element--current-element): Fix bug requiring to parse a quote
10412         section even when point is at an headline.
10414         * org.el (org-adaptive-fill-function): Remove occasional spurious
10415         space character when auto-filling.
10417         * org.el (org-mode): Call external initalizers.  Now both filling
10418         code and comments code have their own independant part in org.el.
10419         (org-setup-filling): Rename from `org-set-autofill-regexps'.
10420         (org-setup-comments-handling): New function.
10422         * org.el (org-fill-paragraph): Refine filling in comments and in
10423         paragraphs.  Allow commented blank lines.  Take into consideration
10424         the indentation of the second line of the paragraph being filled.
10425         (org-comment-or-uncomment-region): Rewrite function.  Now comment
10426         region at a fixed column: the minimal indentation of the region.
10427         (org-fill-context-prefix): Rename function into
10428         `org-adaptive-fill-function'.  Also, In a paragraph, choose the
10429         same prefix as the current line.
10431         * org-exp.el (org-export-handle-comments): Also remove comments at
10432         column 0.
10434         * org-exp.el (org-export-handle-comments): Handle inline comments
10435         with new syntax.
10437         * org.el (org-structure-template-alist): Add missing colon to
10438         #+INCLUDE.
10440         * org.el (org-backward-element): When called at the beginning of
10441         first element in section, the function shouldn't return an error
10442         but move point to headline or point-min instead.
10444         * org-element.el (org-element-paragraph-parser): Tiny refactoring.
10446         * org-element.el (org-element-paragraph-parser): Remove trailing
10447         code comments.
10449         * org.el (org-fill-context-prefix): Fix incorrect output when
10450         called at the beginning of a plain list with an affiliated
10451         keyword.
10452         (org-fill-paragraph): Remove useless variable.
10454         * org-element.el (org-element-paragraph-parser): Fix parsing of
10455         paragraph at the beginning of an item.
10457         * org.el (org-mode): Set back comment-start-skip so comment-dwim
10458         can tell a keyword from a comment.
10460         * org.el (org-set-autofill-regexps): Install new comment line
10461         break function.
10462         (org-comment-line-break-function): New function.
10463         (org-mode): Remove unnecessary line.
10465         * org.el (org-fill-context-prefix, org-fill-paragraph): Do not
10466         fill verse blocks contents.  Verse blocks can be used to format
10467         free-form poetry, so filling has to be done manually.
10469         * org.el (org-fill-paragraph-separate-nobreak-p): New function.
10470         (org-set-autofill-regexps): Introduce new predicate.
10471         (org-fill-item-nobreak-p): Remove function.
10473         * org-element.el (org-element-paragraph-separate): Since this
10474         variable is meant to be searched forward, \end{...} shouldn't
10475         trigger the end of a paragraph before checking if it is the end of
10476         a complete environment.
10477         (org-element-latex-environment-parser): Slight change to the
10478         regexp matching the beginning of a latex environment.
10479         (org-element-paragraph-parser): Paragraphs don't end at incomplete
10480         latex environments.
10481         (org-element-latex-or-entity-successor): Remove paragraph
10482         environments from latex fragment search.
10484         * org-table.el (org-table-number-regexp): By default, accept comma
10485         as a decimal mark to represent numbers.
10487         * org-element.el (org-element-map): Fix comment typo.
10489         * org.el (org-fill-paragraph): Add a `save-excursion' to avoid
10490         returning funny results.
10492         * org.el (org-fill-paragraph): Try not to include message header
10493         and citation lines in a paragraph when filling it.
10495         * org.el (org-fill-paragraph): Fix filling in a narrowed buffer.
10496         (org-fill-context-prefix): Fill prefix doesn't depend on current
10497         narrowing.
10499         * org.el (org-mode): Line with a single hash sign on it is a
10500         comment.
10502         * org.el (org-set-font-lock-defaults): Fix comment fontification.
10504         * org-element.el (org-element-item-parser): Do not remove tag from
10505         body if list isn't descriptive.
10507         * org-list.el (org-insert-item): Only ask about a term for
10508         descriptive lists.
10509         (org-list-struct, org-list-insert-item): Do not recognize a tag in
10510         an ordered list.
10512         * org-element.el (org-element-set-element): Rewrite function.
10513         (org-element-adopt-elements): New function.
10514         (org-element-adopt-element): Remove function.
10515         (org-element--parse-elements, org-element--parse-objects): Use new
10516         function.
10518         * org-list.el (org-list-automatic-rules): Remove `bullet' rule,
10519         which is now hard-coded.
10520         (org-cycle-list-bullet): Hard code `bullet' rule.
10521         (org-list-get-list-type): Make sure a list with numbered bullets
10522         cannot have `descriptive' type.
10524         * org-element.el (org-element-paragraph-parser): Fix previous
10525         patch.
10527         * org.el (org-fill-paragraph): No need to use
10528         `org-element-paragraph-separate' in a verse block since blank
10529         lines only can end a "paragraph".
10531         * org-element.el (org-element-paragraph-separate): Apply changes
10532         to comments.
10533         (org-element-paragraph-parser): Correctly find end of paragraphs.
10534         (org-element--current-element): Require colons for Babel calls.
10535         (org-element-center-block-parser)
10536         (org-element-dynamic-block-parser, org-element-quote-block-parser)
10537         (org-element-special-block-parser)
10538         (org-element-comment-block-parser)
10539         (org-element-example-block-parser)
10540         (org-element-export-block-parser, org-element-src-block-parser)
10541         (org-element-verse-block-parser): Fall-back to paragraph parsing
10542         when incomplete or ill-formed.
10544         * org-element.el (org-element-swap-A-B): Small refactoring.
10546         * org-element.el (org-element-text-markup-successor): Fix typo in
10547         docstring.
10549         * org-element.el (org-element-at-point): Return consistent value
10550         when function is called on a blank line within a plain list.
10552         * org-element.el (org-element-paragraph-separate): Fix comments in
10553         paragraph separator regexp.  Optimize it.
10555         * org-element.el: Update code commets.
10557         * org.el (org-mark-subtree): Fix bug when marking subtree with
10558         point on an inlinetask.  Refactor code.
10560         * org.el (org-mark-subtree): Do not make a special case for
10561         inlinetasks when marking a subtree.  These are handled by
10562         `org-element-mark-element'.
10564         * org-element.el (org-element-comment-parser): Consider first "+"
10565         as a comment when parsing an ill-defined keyword.
10567         * org-element.el (org-element-item-interpreter): Simplify bullet
10568         creation.
10569         (org-element-plain-list-interpreter): Fix wrong bullets, if
10570         needed.
10572         * org-element.el (org-element-comment-parser): Fix parsing when a
10573         keyword follows the commented line.
10575         * org.el (org-fill-context-prefix): Auto-fill first paragraph in
10576         footnote definitions.
10578         * org.el (org-mode): Define new comment syntax.
10579         (org-fontify-meta-lines-and-blocks-1, org-strip-protective-commas)
10580         (org-fill-context-prefix, org-insert-comment)
10581         (org-comment-or-uncomment-region): Use new comment syntax.
10583         * org-element.el (org-element-comment-parser)
10584         (org-element-comment-interpreter, org-element--current-element):
10585         Use new comment syntax.
10587         * org.el (org-fill-paragraph): When at an item or a footnote
10588         definition, fill first paragraph instead.
10590         * org.el (org-fill-paragraph): Fix filling when point is at the
10591         very end of a paragraph.
10593         * org.el (org-mode): Set comments related variables.
10594         (org-insert-comment, org-comment-or-uncomment-region):
10595         New functions.
10597         * org.el (org-fill-context-prefix): Small refactoring.
10598         (org-fill-paragraph): Add code comments.
10600         * org-element.el (org-element-at-point): Add :parent property to
10601         output.
10602         (org-element-context): Add :parent property to output.
10603         Also return a single element or object instead of a list of parents.
10604         (org-element-forward, org-element-up): Apply changes.
10606         * org.el (org-fill-context-prefix): New function.
10607         (org-fill-paragraph, org-auto-fill-function): Use new function.
10608         Also handle comments.
10609         (org-adaptive-fill-function): Remove function.
10610         (org-get-local-variables, orgstruct++-mode): Don't store now
10611         unused adaptive-fill* functions.
10613         * org-element.el (org-element-at-point): Fix function when buffer
10614         starts with an inlinetask.  Also fix it when called on the last
10615         element in a greater element or the buffer.
10617         * org-element.el (org-element-center-block-parser)
10618         (org-element-dynamic-block-parser)
10619         (org-element-footnote-definition-parser)
10620         (org-element-headline-parser, org-element-inlinetask-parser)
10621         (org-element-quote-block-parser, org-element-special-block-parser)
10622         (org-element-plain-list-parser): Refactor code.
10623         (org-element-drawer-parser): Fall-back to paragraph parser when
10624         drawer is incomplete.
10626         * org-macs.el (org-with-limited-levels): Fix typo.
10628         * org-element.el (org-element-paragraph-separate): Refactor.
10629         (org-element-paragraph-parser): Fix paragraph parsing.
10631         * org.el (org-fill-paragraph): Rewrite function using
10632         `org-element-at-point'.
10634         * org-element.el (org-element-fill-paragraph): Remove function.
10636         * org.el (org-planning-or-clock-line-re): Make it a defconst.
10637         It's no use to make it a buffer-local variable since variables on
10638         which it depends are not buffer-local anyway.
10640         * org.el (org-drawer-regexp): Provide default value for
10641         `org-drawer-regexp' in non-Org buffers.
10643         * org-entities.el (org-entities-create-table): Function chokes
10644         when CAR of `org-entities' is a string.
10646         * org-list.el (org-list-automatic-rules): Allow check-boxes in
10647         description lists.
10648         (org-list-struct-apply-struct, org-insert-item): Remove rule
10649         check.
10651         * org-footnote.el (org-footnote-normalize): Fix positionning in
10652         HTML export without a footnote section.
10654         * org-list.el (org-list-struct-indent):
10655         Follow `org-list-demote-modify-bullet' specifications for ordered
10656         bullets.
10657         (org-list-indent-item-generic, org-indent-item-tree)
10658         (org-outdent-item-tree): Fix bug when operating on a region.
10659         (org-outdent-item, org-indent-item): Allow to operate on a region.
10661         * org.el (org-shiftmetaleft, org-shiftmetaright): Allow to operate
10662         on a region.
10664         * org-footnote.el (org-footnote-delete-definitions): Remove blank
10665         lines before the footnote definition instead of removing those
10666         after it.
10668         * org-footnote.el (org-footnote-at-definition-p): Don't grab
10669         trailing blank lines in a footnote definition.
10670         (org-footnote-delete-definitions): Remove both footnote definition
10671         and trailing blank lines.
10673 2012-09-30  Rick Frankel  <rick@rickster.com>
10675         * ob-sql.el: Add dbi engine type and pre/post processing.
10677 2012-09-30  Sean O'Halpin  <sean.ohalpin@gmail.com>  (tiny change)
10679         * ob.el (org-babel-expand-noweb-references): Capture current noweb
10680         start and end patterns then use to set buffer locals in
10681         (with-temp-buffer) form.
10683 2012-09-30  Sebastien Vauban  <sva@mygooglest.com>  (tiny change)
10685         * org.el (org-update-all-dblocks): Autoload function.
10687 2012-09-30  Simon Thum  <simon.thum@gmx.de>  (tiny change)
10689         * ob-maxima.el (org-babel-execute:maxima): Let cmdline always
10690         return a string.
10692 2012-09-30  Stephen Eglen  <S.J.Eglen@damtp.cam.ac.uk>  (tiny change)
10694         * org-icalendar.el (org-icalendar-timezone): Fix typo and clarify
10695         meaning.
10697 2012-09-30  Stuart Hickinbottom  <stuart@hickinbottom.com>  (tiny change)
10699         * org-clock.el (org-x11idle-exists-p): Only shell out when running
10700         on X.
10702 2012-09-30  Suhail Shergill  <suhailshergill@gmail.com>  (tiny change)
10704         * org-html.el (org-export-as-html): If possible, use the
10705         :CUSTOM_ID: property to assign unique ids to footnotes.
10707 2012-09-30  T.F. Torrey  <tftorrey@tftorrey.com>  (tiny change)
10709         * org-exp.el (org-export-remember-html-container-classes):
10710         Allow exporting a single subtree with HTML_CONTAINER_CLASS property.
10712         * org-rmail.el (org-rmail-follow-link): Use `rmail-widen' instead
10713         of `widen' and don't toggle header as `rmail-widen' already takes
10714         care of this.
10716 2012-09-30  Tim Howe  <vsync@quadium.net>  (tiny change)
10718         * org-clock.el (org-clocktable-defaults): Revert extra layer of
10719         quoting.
10721 2012-09-30  Toby S. Cubitt  <tsc25@cantab.net>
10723         * org-capture.el (org-capture-fill-template): Expand %<num> escape
10724         sequences into text entered for <num>'th %^{PROMPT} escape.
10726         * org-capture.el (org-capture-fill-template): Fix regexp for
10727         %<n> expandos to match any positive integer.
10728         (org-capture-templates): Update docstring accordingly.
10730         * org-agenda.el (org-agenda-skip-timestamp-if-deadline-is-shown):
10731         Skip timestamp items in agenda view if item is already shown as a
10732         deadline item.
10733         (org-agenda-skip-deadline-if-done): Pass deadline results to
10734         org-agenda-get-timestamps.
10735         (org-agenda-get-timestamps): Optionally take list of deadline
10736         results, so that timestamp results can be skipped if already
10737         included in deadline results.
10739         * org-agenda.el (org-agenda-diary-sexp-prefix): Regexp matching
10740         deadline/scheduling information to be displayed in diary sexp
10741         agenda items.
10742         (org-agenda-get-sexps): Extract deadline/scheduling information
10743         from diary sexp entries.
10745         * org-capture.el (org-capture-place-entry): Place captured entry
10746         immediately after last subheading of target, instead of just
10747         before next heading at same level as target.
10749         * org-capture.el (org-capture-templates): Document new capture
10750         template properties.
10752         * org-capture.el (org-capture-place-entry)
10753         (org-capture-empty-lines-before): Make new :empty-lines-before
10754         property override :empty-lines when inserting empty lines before
10755         captured captured entry.
10757         * org-capture.el (org-capture-finalize)
10758         (org-capture-empty-lines-after): Make new :empty-lines-after
10759         property override :empty-lines when inserting empty lines after
10760         captured captured entry.
10762         * org-agenda.el (org-agenda-skip-if, org-agenda-skip-if-todo):
10763         Add new todo-unblocked and nottodo-unblocked skip conditions.
10764         These match as for todo and nottodo, but only for unblocked todo items.
10766 2012-09-30  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
10768         * org.el (org-read-date-display): Fix bug when displaying the
10769         overlay.
10771 2012-09-30  Niels Giesen  <niels.giesen@gmail.com>
10773         * org-table.el (orgtbl-to-generic): Add check for :skipheadrule.
10774         When present, the :hline following the head will be skipped.
10775         This is necessary to avoid doubling of horizontal rules in LaTeX
10776         longtable environments and consequent width problems.
10778         * org-latex.el (org-export-latex-tables-tstart)
10779         (org-export-latex-tables-hline)
10780         (org-export-latex-tables-tend): New options.
10781         (org-export-latex-tables): Use the new options.
10783 2012-09-30  Feng Shu  <tumashu@gmail.com>  (tiny change)
10785         * org-exp.el (org-export-language-setup): Add simplified chinese
10786         translation.
10788 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
10790         Better seed support for (random).
10791         * org-id.el (org-id-uuid):
10792         Change (random t) to (random), now that the latter is more random.
10794 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
10796         Don't use the abbreviation "win" to refer to Windows (Bug#10421).
10797         * ob-lilypond.el (ly-w32-ly-path): Rename from ly-win32-ly-path.
10798         (ly-w32-pdf-path): Rename from ly-win32-pdf-path.
10799         (ly-w32-midi-path): Rename from ly-win32-midi-path.
10800         (ly-determine-ly-path, ly-determine-pdf-path, ly-determine-midi-path):
10801         Check for "windows-nt", not "win32", in system-type.
10803 2012-06-02  Chong Yidong  <cyd@gnu.org>
10805         * org-clock.el (org-clock-string-limit)
10806         (org-clock-modeline-total, org-clock-task-overrun-text)
10807         (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
10809 2012-05-27  Mark Shoulson  <mark@kli.org>  (tiny change)
10811         * org.el (org-fontify-entities): Fix bug: The entities \sup[123] and
10812         \there4 were not "prettified" when org-pretty-entities was enabled.
10814 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10816         * org.el (org-font-lock-add-priority-faces):
10817         Restrict priorities fontification to headlines and inlinetasks.
10819 2012-05-27  Jambunathan K  <kjambunathan@gmail.com>
10821         * org-odt.el (org-odt-init-outfile)
10822         (org-odt-write-manifest-file):
10823         Disable `nxml-auto-insert-xml-declaration-flag'.
10825         * org-lparse.el (org-do-lparse): Don't trigger auto-mode processing.
10827 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10829         * org.el (org-scan-tags): Fix bug when building the scanner regexp.
10831 2012-05-27  Eric Schulte  <eric.schulte@gmx.com>
10833         * ob.el (org-babel-capitalize-examplize-region-markers):
10834         Controls the capitalization of begin and end example blocks.
10835         (org-babel-examplize-region):
10836         Optionally capitalize example block delimiters.
10838         * ob-plantuml.el (org-babel-execute:plantuml):
10839         Add a :java header argument to plantuml.
10841         * org-exp-blocks.el (org-export-blocks-preprocess):
10842         Even when the body of a block is not indented the boundary markers
10843         should be indented to their original positions so things like list
10844         indentation still work.
10846         * ob.el (org-babel-parse-src-block-match):
10847         Save match data during indentation check.
10849 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10851         * org.el (org-scan-tags): Correctly match TODO keywords.
10853 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10855         * org-list.el (org-list-struct): Fix white spaces.
10856         (org-list-swap-items, org-list-send-item): Fix visibility preservation.
10858         * org-list.el (org-list-swap-items, org-list-send-item):
10859         Preserve visibility when moving items.
10861 2012-05-27  Mark E. Shoulson  <mark@kli.org>  (tiny change)
10863         * org.el (org-fontify-entities): Hide {} when prettifying entities.
10865 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10867         * org.el (org-cycle-internal-global): Prevent the display of
10868         messages when cycling from with a Gnus article buffer.
10870         * org-table.el (org-table-time-seconds-to-string):
10871         Fix bug about handling a negative duration value.
10873 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10875         * org.el (org-link-expand-abbrev): Fix docstring.
10877         * org.el (org-translate-link): Fix bug.
10879 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10881         * org-agenda.el (org-agenda-bulk-mark-regexp):
10882         Fix bug when setting the number of marked entries.
10884         * org-table.el (org-tbl-calc-modes): Rename from `org-table-modes'.
10885         (org-set-calc-mode, org-table-eval-formula): Use it.
10887 2012-05-27  Eric Schulte  <eric.schulte@gmx.com>
10889         * ob.el (org-babel-find-named-result):
10890         Fix bug finding empty named results.
10892 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10894         * org.el (org-set-regexps-and-options):
10895         Fix `org-planning-or-clock-line-re' regexp.  Indeed "\\>" will never
10896         match since time keywords must end with colons, which are not word
10897         constituents.
10899 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10901         * org-ctags.el (org-ctags-new-topic-template):
10902         Fix the option default value back again.
10904 2012-05-27  Eric Schulte  <eric.schulte@gmx.com>
10906         * org-bibtex.el (org-bibtex-export-to-kill-ring):
10907         Don't rely on kill-new to return a string.
10909         * org-bibtex.el (org-bibtex-headline):
10910         Remove call to bibtex-reformat which often hangs.
10912 2012-04-27  Glenn Morris  <rgm@gnu.org>
10914         * org-ctags.el (org-ctags-new-topic-template):
10915         Revert 2012-04-09 removal of * from defcustom value, not doc.
10917 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10919         * org-table.el (org-table-number-fraction): Fix typo.
10921 2012-04-27  Eric Schulte  <eric.schulte@gmx.com>
10923         * ob-python.el (org-babel-execute:python): Ensure newline precedes
10924         automatically-added returns.
10926 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10928         * org-mouse.el (org-mode-hook): Do not move point when clicking on
10929         a footnote reference.
10931 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10933         * org-faces.el (org-date-selected): Fix docstring.
10935 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10937         * org-list.el (org-list-struct-indent):
10938         Follow `org-list-demote-modify-bullet' specifications for ordered
10939         bullets.
10940         (org-list-indent-item-generic, org-indent-item-tree)
10941         (org-outdent-item-tree): Fix bug when operating on a region.
10942         (org-outdent-item, org-indent-item): Allow to operate on a region.
10944         * org.el (org-shiftmetaleft, org-shiftmetaright): Allow to operate
10945         on a region.
10947 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10949         * org-footnote.el (org-footnote-normalize): Fix positioning in
10950         HTML export without a footnote section.
10952 2012-04-27  Madan Ramakrishnan  <madanr79@gmail.com>  (tiny change)
10954         * org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as
10955         advertised by the function.
10957 2012-04-27  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
10959         * org.el (org-read-date-display): Fix bug when displaying the
10960         overlay.
10962 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10964         * org.el (org-mode): Don't use `buffer-face-mode' by default.
10966 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10968         * org-faces.el (org-date-selected): New face.
10970 2012-04-27  Jambunathan K  <kjambunathan@gmail.com>
10972         * org-odt.el (org-odt-format-org-link): Pay no heed to whether the
10973         internal links destined for headlines provide a description or
10974         not.  In fact, the `org-store-link' and `org-insert-link' create
10975         internal links which do have a description.
10977 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10979         * org-clock.el (org-program-exists): Fix docstring.
10981 2012-04-14  Bastien Guerry  <bzg@gnu.org>
10983         * org.el (org-point-at-end-of-empty-headline): Only try to match
10984         `org-todo-line-regexp' when the value is non-nil, e.g. in non-org
10985         modes.
10986         (org-fontify-meta-lines-and-blocks-1): Prevent errors when trying
10987         to fontify beyond (point-max).
10989         * org-clock.el (org-clock-task-overrun-text)
10990         (org-task-overrun, org-clock-get-clock-string)
10991         (org-clock-update-mode-line)
10992         (org-clock-notify-once-if-expired): Rename `org-task-overrun'
10993         and `org-task-overrun-text' to `org-clock-task-overrun' and
10994         `org-clock-task-overrun-text' respectively.
10995         (org-task-overrun-text): New alias.
10997         * org-table.el (org-table-eval-formula): Fix bug about handling
10998         remote references as durations.
10999         (org-table-get-range): Fix bug: make sure references to $0 are
11000         correctly handled.
11002         * org-pcomplete.el (pcomplete/org-mode/file-option):
11003         Fix bug in `pcomplete/org-mode/file-option'.
11004         (org-thing-at-point): Also match line options like LATEX_CLASS
11005         when pcompleting from LATEX_.
11007         * org-agenda.el (org-agenda-filter-make-matcher)
11008         (org-agenda-filter-apply): Allow filtering entries out by
11009         category.  Using `C-u <' from the agenda view will redisplay
11010         the agenda without entries from categories of the current line.
11012 2012-04-14  Eric Schulte  <eric.schulte@gmx.com>
11014         * ob-C.el (org-babel-C-ensure-main-wrap):
11015         Add an explicit return to automatically generated main methods.
11017 2012-04-14  Matt Lundin  <mdl@imapmail.org>
11019         * org.el (org-after-todo-state-change-hook):
11020         Fix docstring to reflect name change of state to `org-state'.
11022 2012-04-14  Mike Sperber  <sperber@deinprogramm.de>  (tiny change)
11024         * org-footnote.el (org-footnote-normalize):
11025         Correctly pass keyword arguments to `org-export-preprocess-string'.
11027 2012-04-03  Bastien Guerry  <bzg@gnu.org>
11029         * org.el (org-todo): Fix regression: rename `state' to
11030         `org-state'.
11031         (org-use-effective-time): Fix group and type.
11033 2012-04-02  Bastien Guerry  <bzg@gnu.org>
11035         * org-clock.el (org-clock-out-if-current): Fix regression: rename
11036         `org-clock-state' to `org-state' to match the name of the
11037         dynamically-scoped variable in `org-todo'.
11039         * org-agenda.el (entry, org-diary, org-class): Fix regression:
11040         rename `org-entry' to `entry'.
11042 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11044         * org.el (org-todo): Fix regression in `org-todo'.
11046 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11048         * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled
11049         C files on windows.
11051 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11053         * ob-exp.el (org-babel-exp-code): Escape all lines when exporting
11054         Org-mode blocks.
11056         * ob.el (org-babel-parse-src-block-match): Make use of the new
11057         language argument to org-babel-strip-protective-commas.
11058         (org-babel-parse-inline-src-block-match): Make use of the new
11059         language argument to org-babel-strip-protective-commas.
11060         (org-babel-strip-protective-commas): Now accepts a language
11061         argument.
11063 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11065         * org.el (org-fast-tag-selection): Fix an bug when listing tags
11066         for completion.
11068 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11070         * org.el (org-delete-property-globally): Fix a bug that left
11071         blank line in place of the property, instead of removing the line.
11073 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11075         * ob-maxima.el (org-babel-maxima-command): Add group information
11076         to the defcustom.
11078 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11080         * org.el (org-mode): Use `buffer-face-mode' to remap the 'default
11081         face to 'org-default.
11083 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11085         * org-ascii.el (org-export-as-ascii): Fix escaping of underscores
11086         in links.
11088 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11090         * org.el: Prevent a bug while defining the menu by requiring
11091         `org-beamer' when necessary.
11093 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11095         * org-table.el (orgtbl-self-insert-command):
11096         Use `backward-delete-char' instead of `delete-backward-char' as this
11097         last command gets caught by the compiler which says to not use it
11098         in programs.  `backward-delete-char' is just an alias for
11099         `delete-backward-char' which is internally remapped to
11100         `org-delete-backward-char' for optimization purpose.
11102 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11104         * org-latex.el (org-export-latex-subcontent): Bugfix: when
11105         `org-export-latex-low-levels' is nil, do not export low levels.
11107 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11109         * ob.el (org-babel-insert-result): Fix bug in indented wrapped
11110         results insertion.
11112 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11114         * org.el (org-set-tags): Include `org-tag-alist' in the list of
11115         possible completions, even when there are tags defined in the
11116         buffer.
11118 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11120         * org.el (org-set-tags): Don't add a column when there is only one
11121         tag offered for completion.
11123 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11125         * org.el (org-fast-tag-selection): Include tags from
11126         `org-tag-alist' when completing with the TAB key.
11128 2012-04-01  Shoji Nishimura  <nishimura.shoji@gmail.com>  (tiny change)
11130         * org.el (org-display-inline-images): Honor the ̀beg' parameter.
11132 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11134         * org-latex.el (org-export-latex-subcontent): Don't insert a
11135         linebreak when itemizing a subtree that is just a headline.
11137 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11139         * ob-lob.el (org-babel-lob-get-info): Remove extra []s when
11140         parsing inline call_foo lines.
11142 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11144         * ob-maxima.el (org-babel-maxima-command): The maxima command used
11145         should be configurable (defaults to maxima-command if defined).
11146         (org-babel-execute:maxima): The maxima command used should be
11147         configurable (defaults to maxima-command if defined).
11149 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11151         * ob-C.el (org-babel-C-execute): Add the local directory to the
11152         library search path for C/C++ block compilation.
11154 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11156         * ob.el (org-babel-where-is-src-block-result): Don't truncate
11157         results name on call line execution.
11159 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11161         * org-colview.el (org-columns-cleanup-item): Handle case of empty
11162         headline.
11164 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11166         * org-footnote.el (org-footnote-delete-definitions): Fix LaTeX
11167         export error when a src block produces fake footnotes.
11169 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11171         * org.el (org-read-date): Don't mention `parse-time-weekdays' and
11172         `parse-time-months' in the docstring.
11174 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11176         * org-agenda.el (org-agenda-filter-apply): Bugfix: Add let
11177         binding.
11179 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11181         * org-colview.el (org-columns-compute): Also consider inline tasks
11182         when computing the sum.
11184 2012-04-01  Thomas Morgan  <tlm@ziiuu.com>  (tiny change)
11186         * org-habit.el (org-habit-insert-consistency-graphs):
11187         Fix alignment of consistency graph in filtered agenda view.
11189 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11191         * org-latex.el (org-export-as-latex): Fix bug in setting the
11192         export directory according to the LaTeX options.
11194 2012-04-01  K.Nagashima  <uni.naga@gmail.com>  (tiny change)
11196         * org.el (org-show-subtree): Make interactive.
11198 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>
11200         * org-clock.el (org-clock-get-table-data): Make sure todo-only
11201         does not leak when it is set by make-org-tags-macher.
11203 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11205         * org.el (org-cycle-internal-local): Don't try to hide drawers
11206         within subtrees in this function, it slows cycling down.
11208 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11210         * org-agenda.el (org-agenda-custom-commands-local-options):
11211         Fix incorrect custom option definition.
11213 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11215         * org-colview.el (org-columns-display-here): Bugfix: use the date
11216         as the value for the ITEM column when displaying a summary.
11218 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11220         * ob-lilypond.el: Re-direct homepage to Worg.
11222 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11224         * ob-lilypond.el: Leave versioning to Org.
11226 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11228         * ob-lilypond.el: Fix compiler warning.
11230 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11232         * org-odt.el (org-odt-format-entity-caption): Enumerate entities
11233         that have either a caption or a label.
11234         (org-odt-label-styles, org-odt-category-map-alist): Add a
11235         separator between sequence number and caption.  Introduced two
11236         new label styles for handling of math formula and math label.
11237         (org-odt-format-label-definition)
11238         (org-export-odt-format-formula): Propagate above changes.
11240 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11242         * org.el (org-enforce-todo-dependencies): Fix docstring.
11244 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11246         * org-odt.el (org-export-odt-category-strings): New custom
11247         variable.
11248         (org-odt-category-map-alist): Modify interpretation.
11249         Don't use the same field to double up as both a OpenDocument
11250         variable and a category string.  Entries in this list now
11251         specify only the OpenDocument variable.  Category strings are
11252         obtained through an indirect lookup of
11253         `org-export-odt-category-strings'.  Use same OpenDocument
11254         variables as what LibreOffice uses for various entities.
11255         Fix docstring.
11256         (org-odt-add-label-definition)
11257         (org-odt-format-label-definition)
11258         (org-odt-format-label-reference): Propagate above changes.
11260 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11262         * org-latex.el (org-export-as-latex): Check TeX-master correctly.
11264 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11266         * org-odt.el (org-odt-category-map-alist): Update docstring.
11267         (org-export-odt-user-categories)
11268         (org-export-odt-get-category-from-label)
11269         (org-odt-get-label-category-and-style): Remove.
11270         (org-odt-add-label-definition): Propagate above changes.
11272 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11274         * org.el (org-refile): Don't allow creation of parents when using
11275         the refile command to go to a headline.
11277 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11279         * org-odt.el (org-odt-format-org-link): Resolve links to headlines
11280         as section numbers only if section numbering is on.
11282 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11284         * org.el (format-spec): Require 'format-spec.
11286 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11288         * org-latex.el (org-export-as-latex): Fix TeX-master declaration.
11290 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11292         * org.el (org-imenu-get-tree): Check that looking-at succeeds
11293         before using match results.
11295 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11297         * org-exp-blocks.el (org-ditaa-jar-path): Make a defcustom.
11299 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11301         * org-lparse.el (org-do-lparse): Make effective setting of
11302         `org-export-headline-levels' available to the ODT exporter.
11303         Also remove some stale comments.
11305 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11307         * org-odt.el (org-odt-begin-toc): Handle named HTML entities in
11308         per-language string for "Table Of Contents".
11310 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11312         * org-exp-blocks.el (org-ditaa-jar-path): Fix merge conflict.
11314 2012-04-01  Shaun Johnson  <shaun@slugfest.demon.co.uk>  (tiny change)
11316         * org-exp-blocks.el (org-ditaa-jar-path): Better heuristic to find
11317         the libary name.
11319 2012-04-01  Suvayu Ali  <fatkasuvayu+linux@gmail.com>
11321         * org-src.el (org-edit-src-code): Change let bind to let*, e.g. if
11322         case-fold-search is bound to nil globally, the
11323         (case-fold-search t) doesn't work until we get to the body.
11325 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11327         * org-latex.el (org-export-latex-tables): Allow to use
11328         sidewaystable.
11330 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11332         * ob.el (org-babel-expand-noweb-references): Fix bug in src name
11333         regexp when using *org-babel-use-quick-and-dirty-noweb-expansion*.
11335 2012-04-01  David Maus  <dmaus@ictsoc.de>
11337         * org.el (org-scan-tags): Require one or more spaces (+) between
11338         keyword and headline.
11340 2012-04-01  David Maus  <dmaus@ictsoc.de>
11342         * org-agenda.el (org-prepare-agenda): Don't reset
11343         `org-done-keywords-for-agenda' when `org-agenda-multi'.
11345 2012-04-01  Thomas Morgan  <tlm@ziiuu.com>  (tiny change)
11347         * org-habit.el (org-habit-insert-consistency-graphs): Fix bug
11348         while inserting habit graph in the agenda buffer.
11350 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11352         * org-src.el (org-src-edit-buffer-p): New function.
11354 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11356         * org-agenda.el (org-agenda-skip-if): Fix the order conditions are
11357         being checked.  Also enhance the docstring a bit.
11359 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11361         * org-agenda.el (org-agenda-tree-to-indirect-buffer): Fix the
11362         display of indirect agenda window.
11364 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11366         * org.el (org-create-formula-image, org-dvipng-color): Fix XEmacs
11367         compatibility bug.
11369 2012-04-01  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
11371         * org-clock.el (org-clock-get-table-data): Bind org-scanner-tags
11372         to tags-list and org-trust-scanner-tags to t while evaluating the
11373         matcher, since the matcher is always evaluated at the current
11374         entry.
11376 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11378         * org.el (org-scan-tags): Bind org-trust-scanner-tags to t while
11379         evaluating the matcher, since the matcher is always evaluated at
11380         the current entry.
11382 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11384         * ob-lilypond.el (ly-compile-lilyfile): Fix misplaced comma in a
11385         quoting expression.
11387 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11389         * ob.el (org-babel-merge-params): Add "eval" as acceptable noweb
11390         argument.
11391         (org-babel-noweb-p): The "eval" argument only expands during
11392         evaluation.
11394 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11396         * ob.el (org-strip-protective-commas): Declared.
11398         * org-agenda.el (org-agenda-filtered-by-category): Declared.
11399         (org-agenda-filter-apply): Capture free variable.
11401         * org-footnote.el (org-skip-whitespace): Declared.
11403         * org-mobile.el (org-agenda-filter): Declared.
11405         * org-src.el (org-strip-protective-commas): Declared.
11407 2012-04-01  Sebastien Vauban  <sva@mygooglest.com>  (tiny change)
11409         * org.el (org-version): Add autoload cookie.
11411 2012-04-01  David Maus  <dmaus@ictsoc.de>
11413         * org-attach.el (org-attach-store-link-p): Remove spurious quote
11414         in customization form choice.
11416 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11418         * ob-sh.el (org-babel-execute:sh): Pass all params to subroutine.
11419         (org-babel-sh-evaluate): Apply :shebang and :padline to shell script
11420         execution.
11422 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11424         * ob.el (org-babel-insert-result): Ensure correct order for empty
11425         result wrapping blocks.
11427 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11429         * ob-lilypond.el: Make auditioning of midi and pdf asynchronous,
11430         and add easy pdf generation in the form of `ly-gen-pdf' variable.
11432 2012-04-01  Deech  <deech@deech-ThinkPad-X200.none>  (tiny change)
11434         * ob-tangle.el (org-babel-spec-to-string): The link generated by
11435         org-store-link is escaped twice when tangling with ":comments yes"
11436         flag.
11438 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11440         * org-html.el (org-export-as-html): Remove another useless space
11441         before tag.
11443 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11445         * org-html.el (org-export-as-html): Remove another useless space
11446         before tag.
11448 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11450         * org-html.el (org-export-as-html): Remove useless space before
11451         tag.
11453 2012-04-01  Sebastien Vauban  <sva@mygooglest.com>  (tiny change)
11455         * org.el (org-version): Add autoload cookie.
11457 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11459         * org.el (org-get-category): Save match data.
11461 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11463         * ob-tangle.el (org-babel-tangle): Don't prompt for a file name if
11464         :tangle is specified.
11466         * ob.el (org-babel-expand-noweb-references): Widen buffer when
11467         expanding noweb references.
11469 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11471         * ob-table.el (sbe): Don't accidentally leave a `t' value when
11472         variables are force interpreted as strings.
11474 2012-04-01  David Maus  <dmaus@ictsoc.de>
11476         * org-bbdb.el (org-bbdb-open, org-bbdb-open-old)
11477         (org-bbdb-open-new): Pass record name to avoid dynamic scoping.
11479 2012-04-01  David Maus  <dmaus@ictsoc.de>
11481         * org-bbdb.el (bbdb-record-get-field, bbdb-search-name)
11482         (bbdb-search-organization): Declare functions to silence byte
11483         compiler.
11485 2012-04-01  Bernt Hansen  <bernt@norang.ca>
11487         * org.el (org-clone-subtree-with-time-shift): Fix task cloning for
11488         repeating tasks using .+n and ++n syntax.
11490 2012-04-01  Karl Fogel  <kfogel@red-bean.com>  (tiny change)
11492         * org-agenda.el (org-agenda-highlight-todo): Handle the case of a
11493         heading that has a date but no todo keyword.
11495 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11497         * ob.el (org-babel-find-named-result): Fix code block replacement
11498         with results.
11500 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11502         * org-footnote.el (org-footnote-normalize): Do not normalize
11503         labels when sort-only is non-nil.
11505 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11507         * org-footnote.el (org-footnote-normalize): Remove an useless part
11508         of the function.
11509         (org-insert-footnote-reference-near-definition): Remove function.
11511 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11513         * org-footnote.el (org-footnote-normalize): Fix normalization of
11514         inline footnotes with no footnote section.
11516 2012-04-01  David Maus  <dmaus@ictsoc.de>
11518         * org-bbdb.el (org-bbdb-old): Replace `defvar' after loading 'bbdb
11519         to check for old or new version by a check for the required
11520         function in `org-bbdb-open' and `org-bbdb-store-link'.
11521         (org-bbdb-store-link, org-bbdb-open): Check which version of bbdb is
11522         to be used.
11524 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11526         * ob.el (org-babel-find-named-result): Don't miss a code block
11527         when there are confounding spaces after the result name.
11529 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11531         * ob-lob.el (org-babel-block-lob-one-liner-regexp): Less greedy
11532         regular expressions.
11533         (org-babel-inline-lob-one-liner-regexp): Less greedy regular
11534         expressions.
11536 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11538         * ob.el (org-babel-examplize-region): Fix bug in examplization.
11540 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11542         * org.el (org-link-search): Search for #+name affiliated keywords
11543         and invisible targets.
11545 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11547         * org-lparse.el (org-lparse-end-footnote-definition): Cleanup
11548         newlines in a transcoded footnote definition.  This ensures that
11549         the line that is currently being processed by `org-do-lparse' loop
11550         doesn't get broken up into multiple lines.  Fix for the following
11551         bug -
11553 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11555         * org-footnote.el (org-footnote-normalize): Force a paragraph
11556         break after the last footnote definition.  This is an an implicit
11557         assumption made by the org-lparse.el library.  With this change,
11558         footnote definitions can reliably be exported with ODT backend.
11559         See http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg01013.html.
11561 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11563         * ob-ditaa.el (org-ditaa-jar-path): Fix a recursive load error.
11565 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11567         * org-list.el (org-list-struct): Fix small bug introduced by
11568         commit 8b7a3f249803aba612f9ad3ae50c2fc986247da4 in Org's git repo.
11570 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11572         * ob-ditaa.el (org-ditaa-jar-path): Already defined in
11573         org-exp-blocks.el.
11575         * org-exp-blocks.el (org-ditaa-jar-path): Declare appropriately
11576         for the fact that this is really now a Babel thing -- even if it
11577         is used here and the definition should remain here for reasons of
11578         load dependencies.
11580 2012-04-01  David Maus  <dmaus@ictsoc.de>
11582         * org-bbdb.el (org-bbdb-old): Wrap `defvar' so the variable gets
11583         defined after bbdb was loaded.
11585 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11587         * org-latex.el (org-export-latex-tables): Don't add spurious
11588         preceding newline if caption is not above a longtable.
11590 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11592         * org-odt.el (org-odt-insert-toc): Remove this stray,
11593         dysfunctional routine.  This possibly has crept in because of the
11594         broken merges between "maint" and "origin" branches.
11595         (org-odt-begin-table): Don't emit an empty paragraph when a table is
11596         neither labeled nor captioned.
11597         (org-odt-init-outfile): Remove reference to an unused variable.
11599 2012-04-01  Viktor Rosenfeld  <listuser36@googlemail.com>
11601         * ob-sql.el (org-babel-execute:sql): Add support for MonetDB to
11602         SQL code blocks.
11604 2012-04-01  Andreas Leha  <andreas.leha@med.uni-goettingen.de>
11606         * ob.el (org-babel-goto-named-src-block): Pushing the point to the
11607         org-mark-ring and guessing at the code block name to jump to.
11609 2012-04-01  David Maus  <dmaus@ictsoc.de>
11611         * org-agenda.el (org-agenda-tree-to-indirect-buffer): Fix handling
11612         of indirect buffer and window.
11614 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11616         * org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes
11617         in verse blocks.
11619 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11621         * org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes
11622         in verse blocks.
11624 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11626         * org-exp.el (org-table-clean-before-export): Ignore table rows
11627         defining parameters for formulas during export.
11629 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11631         * org-list.el (org-list-get-item-number): New function.
11633 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11635         * org-list.el (org-list-ending-method, org-list-end-regexp):
11636         Remove variables.
11637         (org-in-item-p, org-list-separating-blank-lines-number)
11638         (org-list-parse-list, org-list-struct): Apply changes.
11640         * org-exp.el (org-export-mark-list-end)
11641         (org-export-mark-list-properties): Apply changes.
11643         * org-latex.el (org-export-latex-lists): Apply changes.
11645 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11647         * org.el (org-cycle-internal-local): Correctly unfold headlines
11648         containing an inlinetask.
11650 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11652         * org.el (org-structure-template-alist): Fix missing angle
11653         brackets for muse export style.
11655 2012-04-01  David Maus  <dmaus@ictsoc.de>
11657         * org.el (org-recenter-calendar): Use `with-selected-window' to
11658         select calendar window and save currently selected window and
11659         current buffer.
11661 2012-04-01  Toby S. Cubitt  <tsc25@cantab.net>  (tiny change)
11663         * org.el (org-goto): Call org-refile-get-location with NO-EXCLUDE
11664         argument set, otherwise not only are headlines in the current
11665         subtree excluded, but it throws an error if point happens not to
11666         be within a subtree (e.g. at start of buffer).
11668 2012-04-01  David Maus  <dmaus@ictsoc.de>
11670         * org.el (org-scan-tags): Fix highlighting in sparse-tree.
11672 2012-04-01  David Maus  <dmaus@ictsoc.de>
11674         * org-clock.el (org-in-clocktable-p): Move to org.el.
11676         * org.el (org-in-clocktable-p): New function.  Moved from
11677         org-clock.el.
11679 2012-04-01  David Maus  <dmaus@ictsoc.de>
11681         * org-exp.el (org-export-get-title-from-subtree): Don't format
11682         tags in title if title headline does not have tags.
11684 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11686         * org.el (org-cycle-internal-local): Fix bug: hide drawers in
11687         inline tasks too.
11689 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11691         * org-odt.el (org-odt-format-preamble): Don't insert TOC here.
11692         Delay it till the end of export.
11693         (org-odt-begin-document-body): Make a note of the default
11694         position of TOC in `org-lparse-dyn-first-heading-pos'.
11695         (org-odt-insert-toc): Insert TOC as directed by
11696         [TABLE-OF-CONTENTS] line or at the default position.
11697         (org-odt-end-export): Call `org-odt-insert-toc'.
11699 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11701         * org.el (org-preview-latex-fragment): Throw an error when called
11702         from a non-file buffer.
11704 2012-04-01  David Maus  <dmaus@ictsoc.de>
11706         * org-capture.el (org-capture-place-item): Don't search for
11707         position in existing list if :exact-position was supplied.
11709 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11711         * org.el (org-set-font-lock-defaults): Fix bug in done headline
11712         fontification.
11714 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11716         * org-odt.el (org-odt-format-textbox): Honor user-specified width
11717         in captioned images.
11719 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11721         * org.el (org-update-property-plist): Fix bug in property list
11722         updates.
11724 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11726         * ob.el (org-babel-balanced-split): Explicit checking if list
11727         before calling member.
11729 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11731         * ob-sqlite.el (org-babel-execute:sqlite): Specify the use of ","
11732         as the separator to `org-table-convert-region'.  Fixes errors when
11733         only one result per line of output.
11735 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11737         * ob.el (org-babel-strip-protective-commas):
11738         Use `org-strip-protective-commas'.
11740         * org-exp.el (org-export-select-backend-specific-text):
11741         Use `org-strip-protective-commas'.
11743         * org-src.el (org-edit-src-code):
11744         Use `org-strip-protective-commas'.
11746         * org.el (org-strip-protective-commas): Single definition for this
11747         functionality.
11749 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11751         * ob-sql.el: Mention ob-sqlite in the comments of ob-sql.
11753 2012-04-01  David Maus  <dmaus@ictsoc.de>
11755         * org-capture.el (org-capture-prepare-finalize-hook): New hook.
11756         Run before the finalization process starts.
11757         (org-capture-finalize): Run new hook.
11759 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11761         * org.el (org-entry-get): Generalize to multiple "prop+"
11762         properties.
11764 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11766         * org-src.el (org-src-mode-map): Rebinding `org-edit-src-save' in
11767         the `org-src-mode-map'.
11769 2012-04-01  David Maus  <dmaus@ictsoc.de>
11771         * org.el (org-recenter-calendar): Use `with-selected-window' to
11772         select calendar window and save currently selected window and
11773         current buffer.
11775 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11777         * org-list.el (org-list-ending-method, org-list-end-regexp):
11778         Remove variables.
11779         (org-in-item-p, org-list-separating-blank-lines-number)
11780         (org-list-parse-list, org-list-struct): Apply changes.
11782         * org-exp.el (org-export-mark-list-end)
11783         (org-export-mark-list-properties): Apply changes.
11785         * org-latex.el (org-export-latex-lists): Apply changes.
11787 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11789         * org.el (org-entry-get): Accumulate properties from subtree
11790         property drawers.
11792 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11794         * org.el (org-entry-get): Accumulate properties from subtree
11795         property drawers.
11797 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11799         * org-odt.el (org-export-odt-image-size-probe-method)
11800         (org-odt-do-image-size): Use imagemagick preferentially to
11801         determine image sizes.
11803 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11805         * org-odt.el (org-export-as-odt-to-buffer)
11806         (org-replace-region-by-odt, org-export-region-as-odt):
11807         Remove these interactive functions.  They are of questionable value.
11809 2012-04-01  Toby S. Cubitt  <tsc25@cantab.net>  (tiny change)
11811         * org.el (org-goto): Call org-refile-get-location with NO-EXCLUDE
11812         argument set, otherwise not only are headlines in the current
11813         subtree excluded, but it throws an error if point happens not to
11814         be within a subtree (e.g. at start of buffer).
11816 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11818         * org-exp.el (org-export-kill-product-buffer-when-displayed)
11819         (org-export-initial-scope, org-export-date-timestamp-format)
11820         (org-export-with-tasks, org-export-email-info)
11821         (org-export-table-remove-empty-lines): Add version tag.
11823 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11825         * org.el (org-cycle-internal-local): Correctly unfold headlines
11826         containing an inlinetask.
11828 2012-04-01  Bernt Hansen  <bernt@norang.ca>
11830         * org-clock.el (org-clock-out): Do not delete the current clocking
11831         task when org-clock-out-hook clocks in another task.
11833 2012-04-01  David Maus  <dmaus@ictsoc.de>
11835         * org.el (org-scan-tags): Fix highlighting in sparse-tree.
11837 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11839         * org-odt.el (org-export-odt-convert-processes): Re-define
11840         (org-export-odt-convert-capabilities): Fix an accidental
11841         regression.
11843 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11845         * org-odt.el (org-export-odt-convert-capabilities): Change the
11846         default value.
11848 2012-04-01  David Maus  <dmaus@ictsoc.de>
11850         * org-clock.el (org-in-clocktable-p): Move to org.el.
11852         * org.el (org-in-clocktable-p): New function.  Moved from org-clock.el.
11854 2012-04-01  David Maus  <dmaus@ictsoc.de>
11856         * org-exp.el (org-export-get-title-from-subtree): Don't format
11857         tags in title if title headline does not have tags.
11859 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11861         * org-footnote.el (org-blank-before-new-entry)
11862         (org-export-footnotes-seen, org-export-footnotes-data): Fix bogus
11863         declarations.
11865 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11867         * org.el (org-beginning-of-line, org-end-of-line): Fix special C-a
11868         and C-e behavior with visual lines.
11870 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11872         * org-exp-blocks.el (org-export-blocks): Change the name of
11873         exporting comment blocks given that it seems regular comment
11874         blocks no longer export.
11876 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11878         * ob-exp.el (org-babel-exp-get-export-buffer): Access current
11879         export buffer.
11880         (org-babel-exp-in-export-file): Access current export buffer.
11881         (org-babel-exp-src-block): Access current export buffer.
11882         (org-babel-exp-inline-src-blocks): Access current export buffer.
11884 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11886         * ob-exp.el (org-babel-exp-in-export-file)
11887         (org-babel-exp-src-block, org-babel-exp-inline-src-blocks):
11888         Allow org-current-export-file to contain a buffer.
11890 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11892         * org-lparse.el (org-lparse-do-convert): Replace `call-process'
11893         with `shell-command-to-string'.
11895 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11897         * org-footnote.el (org-footnote-create-definition): Fix space
11898         insertion when creating a new footnote.  This fixes newline
11899         munching when `org-footnote-section' is nil and blank lines
11900         stacking when it isn't nil.
11902 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11904         * org-footnote.el (org-footnote-normalize): Make sure that
11905         footnotes are moved to a single place during export.
11907 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11909         * org-footnote.el (org-footnote-normalize): Ensure footnote
11910         definition will be inserted at the end of the section
11911         corresponding to to its first reference.
11913 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11915         * org-footnote.el (org-footnote-at-definition-p): Make sure to
11916         move point at the beginning of the separator before skiping white
11917         spaces.  Refactor code.
11919 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11921         * ob-exp.el (org-babel-exp-src-block): Strip noweb references on
11922         export when "strip-export".
11924         * ob.el (org-babel-common-header-args-w-values): New noweb
11925         header value.
11926         (org-babel-merge-params): New noweb header value.
11927         (org-babel-noweb-p): New noweb header value.
11929 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11931         * ob-tangle.el (org-babel-tangle-clean): Just use default value.
11933         * ob.el (org-babel-noweb-wrap): Add default value.
11934         (org-babel-expand-noweb-references): Just use default value.
11936 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11938         * org-exp.el (org-export-select-backend-specific-text): Always
11939         preserve original indentation as a text property so that lists do
11940         not get broken by indentation at column 0.
11942 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11944         * ob.el (org-babel-expand-noweb-references): Don't allow newlines
11945         in source names in noweb references.
11947 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11949         * org.el (org-fill-line-break-nobreak-p): New function.
11950         (org-set-autofill-regexps): Add previous function to
11951         `fill-nobreak-predicate'.
11953 2012-04-01  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
11955         * ob-R.el (org-babel-R-evaluate-session): Inhibit R evaluation
11956         visibility regardless of local user customization.
11958 2012-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
11960         * org-inlinetask.el (org-inlinetask-show-first-star): New option.
11961         (org-inlinetask-fontify): Honor `org-inlinetask-show-first-star'.
11963         * org-indent.el (org-indent-set-line-properties):
11964         Honor `org-inlinetask-show-first-star'.
11966 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11968         * org.el (org-set-regexps-and-options): Ensure `org-drawers'
11969         doesn't contain duplicates.
11971 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11973         * org.el (org-at-drawer-p): Normalize the docstring to match other
11974         `org-at-*-p' docstrings.
11975         (org-indent-block, org-indent-drawer, org-at-block-p):
11976         New functions.
11977         (org-metaright): Use the new functions to indent a drawer or a
11978         block depending on the context.  Also update the docstring.
11980 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11982         * org.el (org-set-regexps-and-options): Set the value of
11983         `org-drawers' by adding the value of the infile #+DRAWERS option
11984         to that of the existing `org-drawers'.
11986 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11988         * org.el (org-cycle-internal-local): Fix bug: hide drawers in
11989         inline tasks too.
11991 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11993         * org-inlinetask.el (org-inlinetask-toggle-visibility):
11994         Use `org-show-entry' instead of `outline-flag-region' to keep the
11995         drawers folded when unfolding an inline task.
11997 2012-04-01  Torsten Anders  <torsten.anders@beds.ac.uk>  (tiny change)
11999         * org-beamer.el (org-beamer-environments-default): Add support and
12000         keybinding for the `exampleblock' environment.
12002 2012-04-01  Michael Brand  <michael.ch.brand@gmail.com>
12004         * org.el (org-open-link-from-string): Regard `reference-buffer'
12005         when setting `org-inhibit-startup'.
12007 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12009         * ob-exp.el (org-babel-exp-non-block-elements): Don't insert extra
12010         space between inline src block and results on export.
12012 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12014         * ob.el (org-babel-get-inline-src-block-matches): Allow *any*
12015         punctuation to proceed an inline src block.
12017 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12019         * ob.el (org-babel-get-inline-src-block-matches): Add ( to the
12020         list of characters allowed to proceed an inline src block.
12022 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12024         * ob-tangle.el (org-babel-tangle-clean): Use the customizable
12025         noweb wrappers.
12027         * ob.el (org-babel-noweb-wrap-start): Begin a noweb reference.
12028         (org-babel-noweb-wrap-end): End a noweb reference.
12029         (org-babel-noweb-wrap): Apply the customizable noweb wrappers.
12030         (org-babel-expand-noweb-references): Use the customizable noweb
12031         wrappers.
12033 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12035         * org.el (org-beginning-of-line): Handle case when there's no
12036         character after box.
12038 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12040         * org-odt.el (org-odt-format-preamble): Don't insert TOC here.
12041         Delay it till the end of export.
12042         (org-odt-begin-document-body): Make a note of the default
12043         position of TOC in `org-lparse-dyn-first-heading-pos'.
12044         (org-odt-insert-toc): Insert TOC as directed by
12045         [TABLE-OF-CONTENTS] line or at the default position.
12046         (org-odt-end-export): Call `org-odt-insert-toc'.
12048 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12050         * org.el (org-preview-latex-fragment): Throw an error when called
12051         from a non-file buffer.
12053 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12055         * org.el (org-insert-property-drawer): Not an interactive
12056         command anymore.
12057         (org-insert-drawer): With a prefix argument, insert a property
12058         drawer.  Check for headline within the region before inserting the
12059         drawer.  Don't include special drawers in the completion table.
12060         (org-mode-map): New keybinding `C-c C-x d' for
12061         `org-insert-drawer'.
12063 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12065         * org.el (org-insert-drawer): Support completion over known drawer
12066         names and inserting a drawer around the current region.
12068 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12070         * org.el (org-insert-drawer): New function.
12071         (org-insert-property-drawer): Use it.
12073 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12075         * org-list.el (org-mark-list): New function.
12077 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12079         * org-pcomplete.el (pcomplete/org-mode/drawer): New function to
12080         complete drawer at point.
12081         (org-thing-at-point): Use it.
12083 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12085         * org.el (org-meta-return): Use `newline-and-indent' when in a
12086         property drawer.
12088 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12090         * org.el (org-structure-template-alist): Fix docstring: the
12091         feature is not experimental anymore.
12093 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12095         * org-agenda.el (org-agenda-show-and-scroll-up): Allow `C-u' to
12096         display the item without unfolding drawers and logbooks.
12098 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12100         * org-src.el (org-edit-src-code): Make sure `buffer-file-name' is
12101         always nil.
12103 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12105         * org.el (org-structure-template-alist): Fix missing angle
12106         brackets for muse export style.
12108 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12110         * org.el (org-read-date): New parameter `inactive' when reading
12111         for insertion of inactive timestamps.
12112         (org-time-stamp, org-read-date-display): Use the new
12113         parameter.
12115 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12117         * ob.el (org-babel-expand-noweb-references): Only allow
12118         reference names which start and end with non-whitespace characters.
12119         Also, raise errors as appropriate given org-babel-noweb-error-langs.
12121 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12123         * org-src.el (org-src-in-org-buffer): Save and restore
12124         `buffer-undo-list' after editing.
12126 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12128         * ob.el (org-babel-common-header-args-w-values): Add new header
12129         argument.
12130         (org-babel-expand-noweb-references): Use header argument rather than
12131         customization variable.
12133 2012-04-01  David Maus  <dmaus@ictsoc.de>
12135         * org-capture.el (org-capture-place-item): Don't search for
12136         position in existing list if :exact-position was supplied.
12138 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12140         * ob.el (org-babel-noweb-separator): Custom variable for
12141         accumulated noweb references.
12142         (org-babel-expand-noweb-references): Allow separator for noweb
12143         references.
12145 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12147         * org.el (org-beginning-of-line): In an item, special position
12148         for C-a is after check-box, if any.
12149         (org-special-ctrl-a/e): Modify doc-string accordingly.
12151 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12153         * org-odt.el (org-export-odt-format-formula): Use :style
12154         property to specify custom table styles.
12156 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12158         * ob-exp.el (org-babel-exp-call-line-template): Control export of
12159         additional call line information.
12160         (org-babel-exp-non-block-elements): Fancier call line export.
12162 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12164         * org-odt.el (org-odt-entity-frame-styles): Add frame params
12165         for images that are anchored as character.
12166         (org-export-odt-format-image): Handle new anchor type
12167         "as-char".
12168         (org-export-odt-default-image-sizes-alist): Misc. change.
12169         (org-export-odt-format-formula): Misc. change.
12171 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12173         * ob.el (org-babel-check-src-block): Don't report valid header
12174         arguments as suspicious.
12176 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12178         * ob-exp.el (org-babel-exp-non-block-elements): Map over both
12179         inline src blocks and call lines on export.
12181 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12183         * org-odt.el (org-odt-label-styles): Add a new style.
12184         (org-odt-category-map-alist): Use it.
12186 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12188         * org-odt.el (org-odt-table-style-format): New.  Template for
12189         auto-generated table styles.
12190         (org-odt-automatic-styles, org-odt-object-counters):
12191         New variables.
12192         (org-odt-add-automatic-style): New function.
12193         (org-odt-write-automatic-styles): New function.
12194         Create automatic styles for tables that have custom :rel-width.
12195         (org-odt-begin-table): Parse attributes specified with
12196         "#+ATTR_ODT: " option and use it to create an automatic table
12197         style.
12198         (org-odt-save-as-outfile):
12199         Call `org-odt-add-write-automatic-styles'.
12200         (org-odt-init-outfile): Init newly add variables.
12201         (org-odt-section-count): Remove it.
12202         (org-odt-begin-section): Use `org-odt-add-automatic-style' to
12203         generate an automatic section name.
12205 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12207         * ob.el (org-babel-map-executables): Correctly position point when
12208         mapping hits an inline code block.
12210 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12212         * ob.el (org-babel-execute-src-block): Ensure params are
12213         incorporated *before* checking if evaluation is legal.
12215 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12217         * ob-exp.el (org-babel-exp-lob-one-liners): Ensure `end' is a
12218         marker so it is updated as required during export.
12220 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12222         * org-src.el (org-src-in-org-buffer): Run commands in the parent
12223         buffer.
12224         (org-edit-src-save): Use new macro.
12225         (org-src-tangle): Tangle the parent buffer.
12227 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12229         * org.el (org-set-font-lock-defaults): Fix bug in done
12230         headline fontification.
12232 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12234         * org.el (org-set-font-lock-defaults): Fix bug in done
12235         headline fontification.
12237 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12239         * org.el (org-return): Act normally when in code blocks.
12241 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12243         * org.el (org-in-src-block-p): New function.
12244         (org-context): Return new contexts :clocktable and :src-block.
12246 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12248         * org.el (org-set-tags-command, org-set-tags): Make ̀C-u C-c
12249         C-q' do the right thing even when point is before the first
12250         heading.
12252 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12254         * ob.el (org-babel-noweb-p): Disambiguate intersection name.
12256 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12258         * org-odt.el (org-odt-format-textbox): Honor user-specified
12259         width in captioned images.
12261 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12263         * ob.el (org-babel-map-src-blocks): Replace gensym with make-symbol.
12264         (org-babel-map-inline-src-blocks): Replace gensym with make-symbol.
12265         (org-babel-map-call-lines): Replace gensym with make-symbol.
12266         (org-babel-map-executables): Replace gensym with make-symbol.
12268 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12270         * ob-exp.el (org-babel-exp-results): Alter a copy of info.
12272 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12274         * org-html.el (org-export-as-html):
12275         Initialize `html-pre-real-contents' correctly.
12277 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12279         * org-html.el (org-export-as-html):
12280         Initialize `html-pre-real-contents' correctly.
12282 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12284         * ob-exp.el (org-babel-exp-code): Ensure code block name is a
12285         string on export.
12287 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12289         * ob-exp.el (org-babel-exp-code-template): Customizable code
12290         block export format string.
12291         (org-babel-exp-code): Customizable code block export.
12293 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12295         * ob-clojure.el (org-babel-execute:clojure): Remove dependency
12296         on deprecated swank-clojure.
12298 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12300         * ob.el (org-babel-map-src-blocks): Don't pollute symbol space.
12301         (org-babel-map-inline-src-blocks): Don't pollute symbol space.
12302         (org-babel-map-call-lines): Don't pollute symbol space.
12303         (org-babel-map-executables): Map over *all* executable Org-mode
12304         elements.
12305         (org-babel-execute-buffer): Execute elements in buffer order instead
12306         of arbitrarily.
12308 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12310         * org.el (org-ctrl-c-ctrl-c): Fix a naive structure backup.
12311         Those must be done with `copy-tree'.
12313 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12315         * org-src.el (org-edit-src-code): Referenced code block should
12316         not be evaluated on code block edit.
12318 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12320         * org.el (org-structure-template-alist): Use uppercase for
12321         keywords.
12323 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12325         * ob.el (org-babel-insert-result): Capitalize RESULTS in :wrap'd
12326         code block results.
12328 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12330         * ob.el (org-babel-results-keyword): New user-configurable
12331         results keyword.
12332         (org-babel-where-is-src-block-result): Use new user-configurable
12333         results keyword.
12335 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12337         * org-indent.el (org-indent-refresh-maybe): Check for new
12338         headlines from the beginning of the line to be sure to catch
12339         any newly inserted headline there.
12341 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12343         * ob-exp.el (org-babel-exp-src-block): Use `org-babel-noweb-p'.
12344         (org-babel-exp-inline-src-blocks): Use `org-babel-noweb-p'.
12346         * ob-tangle.el (org-babel-tangle-collect-blocks):
12347         Use `org-babel-noweb-p'.
12349         * ob.el (org-babel-execute-src-block): Use `org-babel-noweb-p'.
12350         (org-babel-expand-src-block): Use `org-babel-noweb-p'.
12351         (org-babel-load-in-session): Use `org-babel-noweb-p'.
12352         (org-babel-merge-params): Use `org-babel-noweb-p'.
12353         (org-babel-noweb-p): New function used to determine if noweb
12354         expansion should be carried out in a given context.
12356 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12358         * org.el (org-update-property-plist): Fix bug in property list
12359         updates.
12361 2012-04-01  François Pinard  <pinard@iro.umontreal.ca>  (tiny change)
12363         * org.el (org-kill-line): Use `kill-visual-line' in
12364         `visual-line-mode'.
12366 2012-04-01  Bernt Hansen  <bernt@norang.ca>
12368         * org-agenda.el (org-agenda-switch-to): Widen org buffer only if point
12369         is outside the current restriction.
12371 2012-04-01  Bernt Hansen  <bernt@norang.ca>
12373         * org-agenda.el (org-agenda-clock-in): Save restriction when clocking
12374         in from the agenda.
12376 2012-04-01  Bernt Hansen  <bernt@norang.ca>
12378         * org.el: Honor existing restrictions when regenerating the agenda.
12380 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12382         * org-agenda.el: New alias for `list-diary-entries-hook'.
12384 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12386         * ob.el (org-babel-common-header-args-w-values): Add the new
12387         header argument name.
12388         (org-babel-insert-result): Respect the value of the :wrap header
12389         argument when inserting results.
12390         (org-babel-result-end): Find the end of arbitrarily named result
12391         blocks.
12393 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12395         * org-indent.el (org-indent-refresh-maybe): Check for new
12396         headlines from the beginning of the line to be sure to catch
12397         any newly inserted headline there.
12399 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12401         * org.el (org-update-property-plist): Remove old instances of
12402         property when adding a new value for property.
12404 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
12406         * ob-emacs-lisp.el: A comment on the last line of an emacs-lisp
12407         code block would cause an error when the block is was executed.
12408         This fix cures this behavior.
12410 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12412         * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12413         pieces of a previous patch.
12415 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12417         * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12419 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12421         * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12422         pieces of a previous patch.
12424 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12426         * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12428 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12430         * org-eshell.el (org-eshell-open): Use (goto-char (point-max))
12431         instead of (end-of-buffer).
12433 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12435         * org-bbdb.el (name): Declare variable.
12436         (bbdb-record-get-field, bbdb-search-name)
12437         (bbdb-search-organization): Declare as part of ext:bbdb.
12439 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12441         * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
12442         instead of the obsolete `org-agenda-filter'.
12444 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12446         * org-agenda.el: Add an alias for `org-agenda-filter'.
12447         (diary-list-entries-hook): Use the non-obsolete hook.
12448         (org-agenda-filter-apply): Silent compiler warning.
12450 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12452         * ob-ditaa.el (org-ditaa-jar-path): Make a defcustom.
12453         (org-ditaa-jar-option): New option.
12454         (org-babel-execute:ditaa): Use it.
12456 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12458         * ob.el (org-babel-balanced-split): Explicit checking if list
12459         before calling member.
12461 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12463         * ob.el (org-babel-balanced-split): Explicit checking if list
12464         before calling member.
12466 2012-02-14  Chong Yidong  <cyd@gnu.org>
12468         * org-footnote.el: Remove bogus defvar values (Bug#10745).
12470 2012-01-05  Eric Schulte  <eric.schulte@gmx.com>
12472         * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12473         pieces of a previous patch.
12475         * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12477 2012-01-05  Bastien Guerry  <bzg@gnu.org>
12479         * org-eshell.el (org-eshell-open): Use (goto-char (point-max))
12480         instead of (end-of-buffer).
12482         * org-bbdb.el (name): Declare variable.
12483         (bbdb-record-get-field, bbdb-search-name)
12484         (bbdb-search-organization): Declare as part of ext:bbdb.
12486         * org-agenda.el: Add an alias for `org-agenda-filter'.
12487         (diary-list-entries-hook): Use the non-obsolete hook.
12488         (org-agenda-filter-apply): Silent compiler warnings.
12490         * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
12491         instead of the obsolete `org-agenda-filter'.
12493 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12495         * org.el (org-ctrl-c-ctrl-c): Preserve symmetry when adding
12496         and removing checkboxes with `C-u C-c C-c' on the first item
12497         of a list.  Also, don't reinitialize checkboxes that are
12498         already ticked.
12500 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12502         * org.el (org-ts-regexp0, org-ts-regexp1): Also match a time
12503         value with only one digit for the hours.
12505 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12507         * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
12508         Remove deleted function `org-encode-for-stdout'.
12510 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12512         * org.el (org-show-context): Complete docstring.
12514 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12516         * org-agenda.el (org-agenda-filter-by-tag):
12517         Use `read-char-exclusive' instead of `read-char'.
12519 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
12521         * org-clock.el (org-clock-in, org-clock-find-position):
12522         Remove erraneous space in regexp.
12524 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12526         * ob.el (org-babel-expand-noweb-references): Rather than using
12527         a pure regexp solution to resolve noweb references, actually
12528         check the information of every code block in the buffer.
12529         This will cause a slowdown in noweb reference expansion, but is
12530         necessary for correct behavior.
12532 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12534         * org.el (org-map-continue-from): Fix typo in docstring.
12536 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12538         * org.el (org-property-re): Also match cumulating properties
12539         like ":prop+:".
12541 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12543         * org-exp-blocks.el (org-export-blocks-preprocess): Fix regexp for
12544         matching the end of a block.
12546 2012-01-03  David Maus  <dmaus@ictsoc.de>
12548         * org.el (org-open-at-point): Escape link path for http:,
12549         https:, ftp:, news:, and doi: links only if the path contains
12550         space or non-ascii character.
12552 2012-01-03  David Maus  <dmaus@ictsoc.de>
12554         * org.el (org-refile-get-targets): Ignore headlines without a
12555         true headline.
12557 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12559         * ob.el (org-babel-map-call-lines): Move this file from
12560         ob-lob.el into ob.el to ease dependency pains.
12562 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12564         * org-publish.el (org-publish-index-generate-theindex):
12565         Use theindex.inc for storing index entries, and theindex.org for
12566         including theindex.inc.
12568 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12570         * org-publish.el (org-publish-index-generate-theindex):
12571         Create proper file target for index entries in subdirectories.
12573 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12575         * org-protocol.el (org-protocol-check-filename-for-protocol):
12576         Fix spelling mistake.
12578 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12580         * org-odt.el (org-export-odt-default-org-styles-alist): Add styles
12581         for title and subtitle.
12582         (org-odt-format-toc): New.
12583         (org-odt-format-preamble): New.  Users can redefine this to
12584         customize what goes before the document body.  Currently it
12585         outputs title, author and email, date and toc.
12586         (org-odt-begin-document-body): Use `org-odt-format-preamble'.
12587         (org-odt-format-date): Rename from
12588         `org-odt-iso-date-from-org-timestamp'.  Also added an
12589         additional param for format string.
12590         (org-odt-begin-annotation, org-odt-update-meta-file):
12591         Use `org-odt-format-date'.
12593 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12595         * org.el (org-at-drawer-p): New function.
12596         (org-end-of-line): Use it.
12598 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12600         * ob.el (*org-babel-use-quick-and-dirty-noweb-expansion*):
12601         Controls the method in which noweb references are expanded.
12602         (org-babel-expand-noweb-references): Bring back the option for
12603         regexp-based noweb expansion.
12605 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12607         * org.el (org-ts-regexp0, org-ts-regexp1): Also match a time value
12608         with only one digit for the hours.
12610 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12612         * org.el (org-ctrl-c-ctrl-c): Don't make `C-c C-c' special
12613         when ticking the checkbox of the first item.
12615 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12617         * org-list.el (org-list-write-struct): Add an optional
12618         argument for structure changes happening outside the function.
12620         * org.el (org-ctrl-c-ctrl-c): Now, `C-u C-c C-c' on the first
12621         item of a sub-list should toggle check-box presence of every
12622         item in the same sub-list.  Also fix check-box insertion on a
12623         single item.
12625 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12627         * org-agenda.el (org-agenda-filter-preset): New alias.
12628         (org-agenda-filter-by-category): New command.
12629         (org-agenda-mode-map): Add the new command.
12630         (org-agenda-custom-commands-local-options): Add category
12631         filter preset.
12632         (org-agenda-mark-filtered-text): Mark both tag and filter
12633         overlays.
12634         (org-agenda-category-filter-preset): New variable.
12635         (org-finalize-agenda, org-agenda-redo)
12636         (org-agenda-filter-make-matcher, org-agenda-filter-apply):
12637         Handle both category and tag filters.
12638         (org-agenda-filter-show-all-tag): Rename from
12639         `org-agenda-filter-by-tag-show-all'.
12640         (org-agenda-filter-show-all-cat): New function.
12641         (org-agenda-set-mode-name): Show the category filter in the
12642         modeline.
12644 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12646         * org-bbdb.el (org-bbdb-old): New variable.
12647         (org-bbdb-store-link, org-bbdb-open): Check for
12648         `org-bbdb-old'.
12649         (org-bbdb-open-old, org-bbdb-open-new): New functions.
12651 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12653         * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
12654         Remove deleted function `org-encode-for-stdout'.
12656 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12658         * org.el (org-check-dates-range): New command.
12659         (org-sparse-tree): Use it.
12661 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12663         * org-agenda.el (org-agenda-write): Rename from
12664         `org-write-agenda'.
12665         (org-agenda-mode-map, org-agenda-menu)
12666         (org-batch-store-agenda-views): Use new name
12667         `org-agenda-write'.
12669 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12671         * org.el (org-loop-over-headlines-in-active-region):
12672         Fix docstring.
12673         (org-todo, org-deadline, org-schedule): Honor the 'start-level
12674         value of `org-loop-over-headlines-in-active-region'.
12676 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12678         * org-archive.el (org-archive-subtree)
12679         (org-archive-to-archive-sibling, org-toggle-archive-tag):
12680         Bugfix: use 'region-start-level.
12682 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12684         * org.el (org-show-context): Complete docstring.
12686 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12688         * org-agenda.el (org-agenda-filter-by-tag):
12689         Use `read-char-exclusive' instead of `read-char'.
12691 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12693         * org.el (org-scan-tags): Make sure `org-map-continue-from' is
12694         nil at each match.
12696 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
12698         * org-clock.el (org-clock-in, org-clock-find-position):
12699         Remove erraneous space in regexp.
12701 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12703         * org-odt.el (org-odt-lib-dir): Add docstring.
12704         (org-odt-data-dir): New variable.  Use this variable to
12705         control the locations from which the ODT exporter picks the
12706         OpenDocument styles and schema files from.  Set this variable
12707         explicitly only if the in-built heuristics for locating the
12708         above files fails.
12709         (org-odt-styles-dir-list, org-odt-schema-dir-list):
12710         New variables.  Pay specific attention to (eval-when-compile ...)
12711         form through which Makefile's $(datadir) - contained in
12712         `org-odt-data-dir' - gets compiled in as a "hard coded"
12713         constant.
12714         (org-odt-styles-dir, org-export-odt-schema-dir): Add messages to
12715         aid debugging.
12717 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12719         * org-archive.el (org-archive-subtree)
12720         (org-archive-to-archive-sibling, org-toggle-archive-tag)
12721         (org-archive-set-tag): Handle the 'start-level value for
12722         `org-loop-over-headlines-in-active-region'.
12724 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12726         * org.el (org-scan-tags): New parameter `start-level' to scan only
12727         through headlines of that level.
12728         (org-map-entries): New allowed value `region-start-level' for
12729         the `scope' parameter, to allow scanning through headlines of
12730         the same level than the first headline in the region.
12731         (org-loop-over-headlines-in-active-region): New allowed value
12732         'start-level.
12734 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12736         * org-archive.el (org-archive-subtree)
12737         (org-archive-to-archive-sibling, org-archive-set-tag)
12738         (org-toggle-archive-tag): Allow to loop over the active region by
12739         using `org-loop-over-headlines-in-active-region'.
12741 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12743         * org.el (org-todo): Allow to loop over the active region by
12744         using `org-loop-over-headlines-in-active-region'.
12746 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12748         * ob.el (org-babel-expand-noweb-references): Rather than using
12749         a pure regexp solution to resolve noweb references, actually
12750         check the information of every code block in the buffer.
12751         This will cause a slowdown in noweb reference expansion, but is
12752         necessary for correct behavior.
12754 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12756         * org.el (org-map-continue-from): Fix typo in docstring.
12758 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12760         * org-agenda.el (org-agenda-write-buffer-name): New variable.
12761         (org-write-agenda): Use it.
12763 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12765         * org-exp.el (org-export-date-timestamp-format): New option to
12766         define the way a timestamp in #+DATE will be exported.
12767         (org-infile-export-plist): Use the new option.
12769 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12771         * org.el (org-property-re): Also match cumulating properties
12772         like ":prop+:".
12774 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12776         * org-odt.el (org-odt-styles-dir): Assume that the styles
12777         files are located under `data-directory' of Emacs distribution
12778         as etc/org/OrgOdtStyles.xml and
12779         etc/org/OrgOdtContentTemplate.xml.  Also update docstring.
12780         (org-export-odt-schema-dir): Update docstring.
12782 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12784         * org-odt.el (org-odt-format-preamble): Honor following user
12785         options: author, timestamp and email.
12787 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12789         * org-exp-blocks.el (org-export-blocks-preprocess): Fix regexp
12790         for matching the end of a block.
12792 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12794         * org-eshell.el: New file.
12796 2012-01-03  David Maus  <dmaus@ictsoc.de>
12798         * org.el (org-open-at-point): Escape link path for http:,
12799         https:, ftp:, news:, and doi: links only if the path contains
12800         space or non-ascii character.
12802 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12804         * org-beamer.el (org-beamer-fragile-re): Also recognize
12805         \lstinline and \verb as commands that make a frame fragile.
12807 2012-01-03  David Maus  <dmaus@ictsoc.de>
12809         * org.el (org-refile-get-targets): Ignore headlines without a
12810         true headline.
12812 2012-01-03  Litvinov Sergey  <slitvinov@gmail.com>
12814         * ob-octave.el: Add graphical output to png file.
12816 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12818         * ob.el (org-babel-map-call-lines): Move this file from
12819         ob-lob.el into ob.el to ease dependency pains.
12821 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12823         * org-publish.el (org-publish-index-generate-theindex):
12824         Use theindex.inc for storing index entries, and theindex.org for
12825         including theindex.inc.
12827 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12829         * org-publish.el (org-publish-index-generate-theindex):
12830         Create proper file target for index entries in subdirectories.
12832 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12834         * org-protocol.el (org-protocol-check-filename-for-protocol):
12835         Fix spelling mistake.
12837 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12839         * org-odt.el (org-export-odt-default-org-styles-alist):
12840         Add styles for title and subtitle.
12841         (org-odt-format-toc): New.
12842         (org-odt-format-preamble): New.  Users can redefine this to
12843         customize what goes before the document body.  Currently it
12844         outputs title, author and email, date and toc.
12845         (org-odt-begin-document-body): Use `org-odt-format-preamble'.
12846         (org-odt-format-date): Rename from
12847         `org-odt-iso-date-from-org-timestamp'.  Also added an
12848         additional param for format string.
12849         (org-odt-begin-annotation, org-odt-update-meta-file):
12850         Use `org-odt-format-date'.
12852 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12854         * ob-ref.el (org-babel-ref-split-args): Now uses
12855         `org-babel-balanced-split'.
12857 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12859         * org-html.el (org-export-html-preamble)
12860         (org-export-html-postamble): Fix docstrings.
12861         (org-export-as-html): Insert the string used by a custom
12862         function for `org-export-html-pre/postamble'.
12864 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12866         * org.el (org-block-regexp)
12867         (org-heading-keyword-regexp-format)
12868         (org-heading-keyword-maybe-regexp-format): Move up to keep the
12869         byte-compiler happy.
12871 2012-01-03  Dave Abrahams  <dave@boostpro.com>  (tiny change)
12873         * org-agenda.el (org-agenda-do-tree-to-indirect-buffer):
12874         New function.
12875         (org-agenda-tree-to-indirect-buffer): Use the new function.
12877 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12879         * org-html.el (org-export-as-html): Fix bug when inserting the
12880         output of a custom function for the pre/postamble.
12882 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12884         * org-odt.el (org-odt-format-source-code-or-example):
12885         Try loading htmlfontify safely.
12887 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12889         * org-odt.el (require): Require htmlfontify.el only if
12890         emacs-version is greater than 23.2.
12892 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12894         * org-faces.el (org-agenda-calendar-event)
12895         (org-agenda-calendar-sexp): Use the default face.
12897 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12899         * ob.el (org-babel-expand-noweb-references): Fix regexp.
12901 2012-01-03  Michael Brand  <michael.ch.brand@gmail.com>
12903         * org.el (Key bindings): Remap the Outline functions from
12904         `outline-mode-prefix-map' where possible.
12906 2012-01-03  Christian Moe  <mail@christianmoe.com>  (tiny change)
12908         * org-html.el (org-export-as-html):
12909         Apply `org-export-html-get-todo-kwd-class-name' to the class
12910         attribute of the todo-keyword span tag, not to its text
12911         content.
12913 2012-01-03  Sebastien Vauban  <sva@mygooglest.com>
12915         * org-agenda.el (org-agenda-get-timestamps)
12916         (org-agenda-get-sexps): Use face for highlighting "calendar"
12917         events.
12919 2012-01-03  Peter Münster  <pmlists@free.fr>  (tiny change)
12921         * org.el (org-add-planning-info): Treat absolute time too.
12923 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12925         * org-table.el (org-table-transpose-table-at-point): Don't use
12926         ̀remove-if-not'.
12928 2012-01-03  Dave Abrahams  <dave@boostpro.com>  (tiny change)
12930         * org-clock.el (org-clock-out-if-current): Check the clock
12931         buffer is existing.
12933 2012-01-03  Bernt Hansen  <bernt@norang.ca>
12935         * org-clock.el (org-clock-out-if-current): Fix marker in no
12936         buffer error for task state change in an indirect buffer.
12938 2012-01-03  Michael Brand  <michael.ch.brand@gmail.com>
12940         * org.el (org-offer-links-in-entry): Make list when assigning
12941         a single link.
12943 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12945         * ob.el (org-babel-expand-noweb-references): Rather than
12946         collect the info from *every* block in the current buffer,
12947         simply regexp search for those blocks which appear to match
12948         the continued source name.
12950 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12952         * ob.el (org-babel-insert-result): Do not examplize wrapped
12953         scalar results, simply wrap them.
12954         (org-babel-result-end): Find the end of results wrapped in a
12955         RESULTS drawer.
12957 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12959         * org.el (org-todo-yesterday): When called from the agenda,
12960         use `org-agenda-todo-yesterday' instead.
12962 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12964         * org-table.el (org-table-transpose-table-at-point): New command.
12966 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12968         * org-html.el (org-export-html-headline-anchor-format):
12969         New option.
12970         (org-html-level-start): Use the new option.
12972 2012-01-03  Rob Giardina  <rob@giardina.us>  (tiny change)
12974         * org-agenda.el (org-agenda-with-point-at-orig-entry):
12975         Small bugfix.
12977 2012-01-03  Christian Moe  <mail@christianmoe.com>  (tiny change)
12979         * org-special-blocks.el
12980         (org-special-blocks-convert-html-special-cookies):
12981         Close paragraph before opening or closing the <div>, and open
12982         paragraph after.  Also changed newline placement to be the same
12983         as for other blocks.
12985 2012-01-03  Roberto Huelga  <rhuelga@gmail.com>
12987         * org-clock.el (org-program-exists): Make the function
12988         compatible with darwin systems.
12990 2012-01-03  David Maus  <dmaus@ictsoc.de>
12992         * org-exp.el (org-export-normalize-links): Mark bracket links
12993         before normalization to avoid erroneous normalization of
12994         bracket link parts.
12996 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12998         * org-odt.el (org-odt-data-dir): Remove.
12999         (org-odt-styles-dir, org-export-odt-schema-dir):
13000         New variables.
13002         * org-odt.el, org-lparse.el: New files.
13004 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13006         * org-capture.el (org-capture-set-target-location): Set the
13007         capture default time also to the prompt time.
13009 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13011         * org-exp.el (org-export-res/src-name-cleanup): Remove #+name
13012         and #+results lines during preprocess.
13014 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
13016         * ob-picolisp.el (ob-comint): Required.
13017         (comint): Required.
13018         (cl): Required.
13019         (run-picolisp): Declared.
13020         (org-babel-execute:picolisp): Capture free variable, and replace
13021         function from cl-extra with core function.
13023 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
13025         * ob-picolisp.el: New file.
13027         * org.el (org-babel-load-languages): Add Pico Lisp to the list
13028         of supported code block languages.
13030 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
13032         * org-bibtex.el (org-bibtex): Now catches bibtex errors and
13033         directs the user to the location of the error.
13035 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13037         * org-agenda.el (org-agenda-dim-blocked-tasks): Fix typo.
13039 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13041         * ob.el (org-babel-execute-src-block): Fix typo.
13043 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13045         * org-freemind.el (org-freemind-write-mm-buffer): Fix typo.
13047 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13049         * org.el (org-link-unescape, org-link-unescape-compound):
13050         Fix two typos in docstrings.
13052 2012-01-03  Thomas Dye  <dk@poto.local>
13054         * ob-R.el: Added tikzDevice support.
13056 2012-01-03  David Maus  <dmaus@ictsoc.de>
13058         * org.el (org-clone-subtree-with-time-shift): Remove clocking
13059         information and empty drawers when preparing a clone.
13061 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13063         * ob-exp.el: Don't add `org-exp-res/src-name-cleanup' to
13064         `org-export-blocks-postblock-hook'.
13066 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13068         * ob.el (org-babel-hide-result-toggle): Skip over header
13069         argument lines when toggling named code block visibility.
13071 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13073         * org-exp.el (org-export-grab-title-from-buffer):
13074         Don't license to kill text inside blocks when getting a title.
13076 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13078         * ob.el (org-babel-confirm-evaluate): Adding support for new
13079         range of :eval header arguments.
13081 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13083         * ob.el (org-babel-confirm-evaluate): Inhibit evaluation
13084         during export when eval is set to "non-export".
13086 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13088         * ob-ref.el (org-babel-update-intermediate): New custom
13089         variable.
13090         (org-babel-ref-resolve): Optionally update the in-buffer results
13091         of code blocks which are evaluated to resolve references.
13093 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13095         * ob.el (org-babel-join-splits-near-ch): Rejoins a list of a
13096         split string when a character appears on either side of the
13097         split.
13098         (org-babel-parse-multiple-vars): Rejoin splits around "=" signs.
13100 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13102         * org.el (org-reduce): Add a less functional Org-mode copy of
13103         the cl reduce function.
13105 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13107         * org.el (org-fontify-meta-lines-and-blocks-1):
13108         Recognize "name" as a valid keyword that can preceed a block.
13110 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13112         * ob-exp.el (org-babel-exp-lob-one-liners): Don't limit
13113         in-verbatim check to inline code blocks, do lob code blocks as
13114         well.
13116 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13118         * org.el (org-todo): Interpret 0 prefix arg as note inhibitor.
13120 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13122         * ob.el (org-babel-named-src-block-regexp-for-name):
13123         Ensure that partial names are not matched.
13124         (org-babel-named-data-regexp-for-name): Ensure that partial names
13125         are not matched.
13127 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13129         * ob-ref.el (org-babel-ref-resolve): Search for named code
13130         blocks before named data.
13132         * ob.el (org-babel-named-data-regexp-for-name): New function for
13133         finding named data.
13135 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13137         * ob.el (org-babel-insert-result): Gracefully handle results
13138         which are neither lists nor strings.
13140 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13142         * ob-ref.el (org-babel-ref-resolve): Don't change location when
13143         looking at the contents.
13145 2012-01-03  Milan Zamazal  <pdm@zamazal.org>
13147         * org.el (org-set-outline-overlay-data):
13148         Use outline-flag-region to make a region invisible.  This ensures
13149         all necessary actions, especially adding
13150         isearch-open-invisible property, are applied.
13152 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13154         * ob-lob.el (org-babel-in-example-or-verbatim):
13155         Fix compilation warning.
13157 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13159         * ob.el (org-babel-find-named-result): Downcase "name" before
13160         comparison.
13162 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13164         * ob-lisp.el (org-babel-execute:lisp): Fix typo.
13165         (org-babel-lisp-vector-to-list): Fix typo.
13167 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13169         * ob-exp.el (org-babel-in-example-or-verbatim): Some valid
13170         execution contexts (e.g., call lines) look like commented
13171         lines.
13173         * ob.el (org-babel-get-src-block-info): Empty match string doesn't
13174         count.
13175         (org-babel-process-params): Always process parameters, even if
13176         you don't to table splitting.
13178 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13180         * ob-exp.el (org-exp-res/src-name-cleanup): Update Documentation.
13182         * ob-lob.el (org-babel-block-lob-one-liner-regexp):
13183         Update regular expression.
13184         (org-babel-inline-lob-one-liner-regexp): Update regular
13185         expression.
13187         * ob-ref.el (org-babel-ref-resolve): Notice when something that
13188         looks like a data results may actually be a code block.
13190         * ob-table.el: Updated documentation.
13192         * ob.el (org-babel-src-name-regexp): Simplify regexp.
13193         (org-babel-get-src-block-info): Update match strings.
13194         (org-babel-data-names): Simplify acceptable names.
13195         (org-babel-find-named-block): Indentation.
13196         (org-babel-find-named-result): Update to not return a code block
13197         as a result.
13199         * org.el (org-fontify-meta-lines-and-blocks-1):
13200         Removing references to old syntactic elements.
13201         (org-additional-option-like-keywords): Removing references to
13202         old syntactic elements.
13204 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13206         * org-agenda.el (org-agenda-get-todos): Swap calls to `org-trim'
13207         and `buffer-substring'.
13209 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13211         * org-agenda.el (org-agenda-get-todos): Prevent an error when
13212         encountering tasks with only the TODO keyword.
13214 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13216         * org.el (org-try-cdlatex-tab): Don't try to expand a LaTeX
13217         environment when at an item or an headline, but allow LaTeX
13218         fragments.
13219         (org-cycle): Try to call `cdlatex-tab' before cycling item's or
13220         headline's visibility, in order to catch LaTeX fragments within.
13222 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13224         * org-exp-blocks.el (org-export-blocks-preprocess): Require a
13225         newline and spaces before a code block.
13227 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13229         * ob-lob.el (org-babel-map-call-lines): Allow mapping of code
13230         over all call lines in a buffer.
13232         * ob.el (org-babel-execute-buffer): Execute call lines when
13233         executing an entire buffer.
13235 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13237         * ob.el (org-babel-process-params): Don't disassemble tables
13238         twice.
13240 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13242         * org-clock.el (org-clock-in, org-clock-find-position): Make space
13243         after date optional.
13245         * org.el (org-set-regexps-and-options)
13246         (org-ts-regexp, org-ts-regexp-both, org-ts-regexp1)
13247         (org-ctrl-c-ctrl-c): Make `C-c C-c' on date fix the time stamp.
13249 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13251         * ob-lob.el (org-babel-lob-execute-maybe): Don't execute a call
13252         inside a verbatim block.
13254         * ob-exp.el (org-babel-in-example-or-verbatim): Check for example
13255         blocks.
13257 2012-01-03  Litvinov Sergey  <slitvinov@gmail.com>
13259         * ob-maxima.el (org-babel-tangle-lang-exts): Maxima extension.
13260         (org-babel-maxima-expand): Add input variables and graphic output.
13261         (org-babel-execute:maxima): Add input variables and graphic output.
13262         (org-babel-maxima-var-to-maxima): Add input variables and graphic
13263         output.
13264         (org-babel-maxima-graphical-output-file): Add input variables and
13265         graphic output.
13266         (org-babel-maxima-elisp-to-maxima): Add input variables and graphic
13267         output.
13269 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13271         * ob-fortran.el: New file.  Adding support for Fortran code blocks.
13272         * org.el (org-babel-load-languages): Adding fortran to this list.
13274 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13276         * org-footnote.el (org-footnote-new): Cannot insert an inline
13277         footnote at beginning of line anymore.
13278         (org-footnote-at-reference-p): Don't recognize inline footnotes at
13279         beginning of line.
13281 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13283         * org.el (org-set-font-lock-defaults): Fix small error in matching
13284         group that prevented fontification of keywords like
13285         org-comment-string and stars in headlines.
13287 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13289         * org.el (org-catch-invisible-edits): New option.
13290         (org-self-insert-command, org-delete-backward-char)
13291         (org-delete-char): Call `org-check-before-invisible-edit'.
13292         (org-check-before-invisible-edit): New function.
13294 2012-01-03  Suvayu Ali  <fatkasuvayu+linux@gmail.com>
13296         * org-exp.el (org-solidify-link-text): Respect
13297         org-export-with-tags when forming the export title during subtree
13298         export.
13300 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13302         * org.el (org-heading-regexp, org-heading-keyword-regexp-format)
13303         (org-heading-keyword-maybe-regexp-format): Globalize variables so
13304         they are accessible even in buffers not in Org mode.
13306 2012-01-03  David Maus  <dmaus@ictsoc.de>
13308         * org.el (org-insert-link): Don't use default-description if a
13309         `org-make-link-description-function' is defined.
13311 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13313         * org.el (org-set-regexps-and-options): Use property blocks for
13314         multi-line properties.
13316 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13318         * org.el (org-self-insert-command): Don't throw an error when
13319         editing takes place at the first point of the buffer.
13321 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13323         * org.el (org-self-insert-command): Unfold invisible region at
13324         point or right before point when editing.
13326 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13328         * org-faces.el (org-agenda-filter-tags): Use the 'modeline face as
13329         default.
13331 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13333         * org-html.el (org-html-expand): Prevent a nil value for STRING to
13334         return an error, just return nil.
13336 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13338         * org-latex.el (org-export-latex-set-initial-vars): Allow "/"
13339         character in the #+LaTeX_CLASS option.
13341 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13343         * org-footnote.el (org-footnote-at-reference-p)
13344         (org-footnote-at-definition-p): Don't store text-properties of
13345         footnote definitions.
13347 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13349         * org-html.el (org-export-as-html): Convert special characters in
13350         meta tag "author", "date", "keyword" and "description".
13352 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13354         * org-capture.el (org-capture-before-finalize-hook): Docstring
13355         improvement: mention that the buffer is widened when this hook is
13356         run.
13358 2012-01-03  Sebastien Vauban  <sva@mygooglest.com>
13360         * org-html.el (org-export-as-html): Make sure the div for preamble
13361         is not inserted when the preamble is empty.
13363 2012-01-03  Sebastien Vauban  <sva@mygooglest.com>
13365         * org-agenda.el (org-agenda-set-mode-name): Highlight tags used
13366         for filtering (shown in the mode-line).
13368 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13370         * ob.el (org-babel-parse-multiple-vars): Trimming excess white
13371         space from split variables.
13373 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13375         * org.el (org-link-search): Add an optional argument preventing
13376         function from revealing context around match.
13378 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13380         * org-agenda.el (calendar-check-holidays): Declare function.
13382 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13384         * org.el (org-return): Fix bug when matching the face property
13385         before following a link.
13387 2012-01-03  Matt Lundin  <mdl@imapmail.org>
13389         * org-agenda.el (org-class): Fix holidays symbol in org-class.
13390         This was resulting in an "Bad sexp..." warning.
13392 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13394         * org.el (org-scan-tags): Also remember
13395         `org-complex-heading-regexp' in a property.
13397 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13399         * org-latex.el (org-export-as-latex): Turn off auto-insert and set
13400         TeX-master to t when creating new TeX buffers.
13402         * org-docbook.el (org-export-as-docbook): Turn off auto-insert
13403         when creating new buffers.
13405         * org-html.el (org-export-as-html): Turn off auto-insert
13406         when creating new buffers.
13408 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13410         * org-table.el (org-table-formula-handle-first/last-rc): Do not
13411         expand pointers to first/last row/column that are inside a call to
13412         `remote'.
13413         (org-table-get-remote-range): Expand pointers to first/last
13414         row/column.
13416 2012-01-03  Michael Sperber  <sperber@deinprogramm.de>  (tiny change)
13418         * org-capture.el (org-capture-get-indirect-buffer): Fix XEmacs
13419         compatibility issue when creating an indirect buffer.
13421 2012-01-03  Christophe Rhodes  <csr21@cantab.net>
13423         * org-exp.el (org-infile-export-plist): Handle LATEX_CLASS_OPTIONS
13424         the same way than LATEX_CLASS.
13426 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13428         * org.el (org-return): Check the presence of the 'org-link face
13429         even in contexts where there is more than one face.
13431 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13433         * ob-sql.el (org-babel-header-arg-names:sql): SQL specific header
13434         argument names which should be inherited.
13436 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13438         * org.el (org-in-block-p): Return matched name of block, if any.
13439         It can be useful when a list of block names is provided as
13440         an argument.
13442 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13444         * org-docbook.el (org-export-as-docbook): Fix regexp.
13446         * org-html.el (org-export-as-html): Fix regexp.
13448 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13450         * org-agenda.el (org-class): Allow holidays to be skipped.
13452 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13454         * ob-shen.el (org-babel-execute:shen): Fix two compilation errors.
13456 2012-01-03  Peter Münster  <pmrb@free.fr>  (tiny change)
13458         * org-agenda.el (org-agenda-to-appt): Make sure filter-items are
13459         strings before calling `string-match'.
13461 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13463         * org-footnote.el (org-footnote-at-reference-p)
13464         (org-footnote-at-definition-p): Remove text-properties from label.
13466 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13468         * org-html.el (org-export-as-html): Add a "title" meta tag.
13470 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13472         * org-agenda.el (org-agenda-to-appt): Allow to refine the scope of
13473         entries to pass to `org-agenda-get-day-entries' and allow to
13474         filter out entries using a function.
13476 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13478         * org-agenda.el: Fix small display bug.
13480 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13482         * org.el (org-set-regexps-and-options): Fix small bug introduced
13483         by commit dfcb6faef11a2439b56b18a6289803361d402130.
13485 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13487         * org-agenda.el (org-search-view): Simplify regexp.
13488         (org-agenda-get-todos): Use new format string.
13490         * org-archive.el (org-archive-all-done): Simplify regexp.
13492         * org-ascii.el (org-export-as-ascii): More accurate regexp.
13494         * org-colview.el (org-columns-capture-view): Use new format string
13495         and new string.
13497         * org-docbook.el (org-export-as-docbook): More accurate
13498         regexp.  Also use new regexp to match generic headlines.
13500         * org-exp.el (org-export-protect-quoted-subtrees): More accurate
13501         regexp.  Also use new regexp to match generic headlines.
13503         * org-html.el (org-export-as-html): More accurate regexp.
13504         Also use new regexp to match generic headlines.
13506         * org-mouse.el (org-mouse-match-todo-keyword): Remove unused
13507         and now erroneous function.
13509         * org.el (org-heading-regexp, org-heading-keyword-regexp-format):
13510         New variables.
13511         (org-set-regexps-and-options): Create regexps according to the
13512         following rule: use spaces only to separate elements from an headline,
13513         while allowing mixed tabs and spaces for any indentation job.
13514         (org-nl-done-regexp, org-looking-at-done-regexp): Remove variables.
13515         (org-set-font-lock-defaults): Fontify again headlines with a keyword
13516         and no other text.  Use new format strings.
13517         (org-get-heading, org-toggle-comment, org-prepare-agenda-buffers)
13518         (org-toggle-fixed-width-section): Use new format string.
13519         (org-todo): More accurate regexps.
13520         (org-point-at-end-of-empty-headline): Simplify regexp.
13521         (org-insert-heading): Headline can sometimes be nil.
13523 2012-01-03  David Maus  <dmaus@ictsoc.de>
13525         * org-agenda.el (org-agenda-bulk-action): Bind
13526         `org-loop-over-headlines-in-active-region' to nil to avoid conflict
13527         with bulk command.
13529 2012-01-03  David Maus  <dmaus@ictsoc.de>
13531         * org.el (org-deadline, org-schedule): Skip invisible headlines when
13532         mapping over headlines in active region.
13534 2012-01-03  David Maus  <dmaus@ictsoc.de>
13536         * org.el (org-loop-over-headlines-in-active-region):
13537         New customization variable.  Loop over headlines in active region.
13538         (org-schedule, org-deadline): Apply to headlines in region depending
13539         on new customization variable.
13541 2012-01-03  David Maus  <dmaus@ictsoc.de>
13543         * org.el (org-map-entries): Immediately return if scope is 'region
13544         but no region is active.
13546 2012-01-03  David Maus  <dmaus@ictsoc.de>
13548         * org.el (org-map-entries): Extend scope 'region to include entire
13549         body of last headline in active region.
13551 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13553         * org-src.el (org-edit-src-code): Fix typo-bug.
13555 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13557         * org.el (org-format-agenda-item, org-scan-tags):
13558         Rename `org-format-agenda-item' to `org-agenda-format-item'.
13560 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13562         * org-agenda.el: Replace `category-pos' by `org-category-pos' to
13563         silent byte-compiler.
13565 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13567         * org.el: Declare external function `cdlatex-compute-tables'.
13569 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13571         * org-latex.el (org-export-latex-set-initial-vars): Fix problem
13572         when matching #+LaTeX_CLASS.
13574 2012-01-03  Rafael Laboissiere  <rafael@laboissiere.net>  (tiny change)
13576         * org.el (org-link-search-must-match-exact-headline): Fix typos.
13578 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13580         * org-latex.el (org-export-latex-make-header): Add some hyperref
13581         options.
13583 2012-01-03  Kai Tetzlaff  <kai.tetzlaff@web.de>  (tiny change)
13585         * org-publish.el (org-publish-file): Add 'eval'ing the value of
13586         the :publishing-directory property before using it as destination
13587         of the publishing project.  This allows to construct the publish
13588         destination directory dynamically at run-time using the return
13589         value of a function.
13591 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13593         * org-agenda.el (org-agenda-list-stuck-projects): Fix tiny bug.
13595 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13597         * org-agenda.el (org-agenda-move-date-from-past-immediately-to-today):
13598         New option.
13599         (org-agenda-date-later): Improve the logical structure.
13601 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13603         * ob-calc.el (featurep): Require calc-store.
13605         * org-agenda.el (org-agenda-list-stuck-projects): Fix regexp
13606         special handling.
13608         * org-compat.el (fboundp): Support for XEmacs.
13610         * org-exp.el (org-export): Protect XEmacs from `(redisplay)' call.
13612         * org-footnote.el (org-footnote-re): Optimize macro processing.
13614         * org.el (org-set-autofill-regexps): Xemacs compatibility.
13616 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13618         * ob.el (org-babel-balanced-split): Balance both [] and ()
13619         groupings.
13620         (org-babel-parse-header-arguments): Be sure to replace removed ":"
13621         characters.
13623 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13625         * ob.el (org-babel-parse-header-arguments): Quick fix for a
13626         tiny bug.
13628 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13630         * ob.el (org-babel-params-from-properties): Now splits
13631         multiple var arguments behind a single ":var".
13632         (org-babel-balanced-split): Separate balanced splitting of
13633         strings out into a new function.
13634         (org-babel-parse-multiple-vars): Splits multiple var arguments
13635         behind a single ":var".
13637 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13639         * org.el: Remap `outline-promote' and `outline-demote' keys to
13640         `org-promote-subtree' and `org-demote-subtree'.
13642 2012-01-03  Leo Liu  <sdl.web@gmail.com>
13644         * org-agenda.el (org-agenda-do-context-action): Check if marker is
13645         valid before use.
13647 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
13649         * org-agenda.el (org-agenda-date-later): Fix shifting of date
13650         ranges.
13652 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13654         * ob.el: Removing `org-babel-params-from-buffer' and
13655         #+PROPERTIES: entirely.
13657         * ob-exp.el (org-babel-exp-src-block):
13658         Removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely.
13660         * ob-lob.el (org-babel-lob-execute):
13661         Removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely.
13663 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13665         * ob.el (org-babel-params-from-buffer): Removing #+BABEL:
13666         lines in favor of general #+PROPERTIES: lines.
13668 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13670         * ob-sql.el (org-babel-execute:sql): Insert into a temporary
13671         buffer.
13673 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13675         * org.el (org-cdlatex-mode): Run `cdlatex-mode-hook' and
13676         update the internal cdlatex tables.
13678 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13680         * ob-sql.el (org-babel-execute:sql): Respect literal-results
13681         options.
13683 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13685         * ob.el (org-babel-disassemble-tables): Fix multi-table bug in
13686         code block colname and rowname handling.
13688 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13690         * org-publish.el (org-publish-cache-file-needs-publishing):
13691         Fix regexp to not inlcude newlines.
13693 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13695         * org.el (org-ctrl-c-ctrl-c): Remove table overlays before
13696         restart.
13698 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13700         * org.el (org-fontify-entities): Match entities before
13701         numbers, as in `\sim2'.
13703 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13705         * org-agenda.el (org-agenda-date-later): Make pushing forward
13706         a past date to jump immedialtely to today.
13708 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13710         * org-exp.el (org-store-forced-table-alignment): Parse the
13711         column cookie for both alignment and width
13712         specification.  Store the resulting value in `org-col-cookies'
13713         property.  Retire the previously used `org-forced-aligns'
13714         property for consistency.  Renamed local variable `aligns' to
13715         `cookies'.
13717         * org-html.el (org-format-org-table-html):
13718         Use `org-col-cookies'.  Renamed local variable forced-aligns to
13719         col-cookies.
13721 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13723         * org.el (org-latex-to-mathml-jar-file)
13724         (org-latex-to-mathml-convert-command): New user-customizable
13725         variables.
13726         (org-format-latex-mathml-available-p, org-create-math-formula)
13727         (org-format-latex-as-mathml): New functions.
13728         (org-format-latex): Add a new local variable block-type that notes
13729         the nature of the equation - inline or display.  Associate it's
13730         value to `org-latex-src-embed-type' property of dvipng links.
13731         Add mathml as new processing type.
13733 2012-01-03  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
13735         * org.el (org-refile): Add tree name to prompt.
13737 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13739         * org-latex.el (org-export-latex-tables):
13740         Honor `org-export-latex-table-caption-above'
13741         (org-export-latex-table-caption-above): New option.
13743 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13745         * ob.el (org-babel-insert-header-arg): Now including language
13746         specific header arg values in insertion options.
13748 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13750         * ob.el (org-babel-insert-header-arg): Fix typo.
13752 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
13754         * org-exp.el (org-export-number-lines): Modify.  Add a new
13755         parameter `preprocess' and use this for backend-agnostic
13756         handling of literal examples.
13758 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13760         * org.el (org-match-substring-regexp)
13761         (org-match-substring-with-braces-regexp): Allow subscripts and
13762         superscripts to start at beginning of line.
13764 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13766         * ob.el (org-babel-common-header-args-w-values): New variable to
13767         hold common header arguments and their default values.
13768         (org-babel-header-arg-names): Redefined using the new common
13769         header arg variable.
13770         (org-babel-insert-header-arg): New function to help when inserting
13771         header arguments.
13773 2012-01-03  David Maus  <dmaus@ictsoc.de>
13775         * org-html.el (org-html-handle-links): Remove unnecessary
13776         protection markers when publishing link in default format.
13778 2012-01-03  Pieter Praet  <pieter@praet.org>  (tiny change)
13780         * org-crypt.el (org-crypt-check-auto-save): New function, see
13781         next change.
13783         * org-crypt.el (org-decrypt-entry): Break the auto-save-mode
13784         check out into a separate function, and call it at a later
13785         point, to assure it only runs when visiting an encrypted
13786         entry.
13788 2012-01-03  John J Foerch  <jjfoerch@earthlink.net>  (tiny change)
13790         * org.el (org-log-note-headings): Document new %d and %D
13791         escapes.
13792         (org-store-log-note): Implement new %d and %D escapes.
13794 2012-01-03  Dave Abrahams  <dave@boostpro.com>
13796         * org-agenda.el (org-agenda-follow-indirect): New option.
13797         (org-agenda-follow-mode): Call `org-agenda-do-context-action' fro
13798         follow mode.
13799         (org-agenda-do-context-action): Also do indirect follow mode
13800         action.
13802 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13804         * ob-table.el (sbe): Fix typo in new sbe specification.
13806 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13808         * ob-table.el (sbe): If first variable is a string and not a
13809         cons cell, then interpret it as a string of header arguments
13810         to be passed to the code block.
13812 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13814         * ob-shen.el (shen-eval-defun): Declare external function.
13815         (org-babel-execute:shen): Move requirement of inf-shen into
13816         the function in which it is used to fix build error.
13818         * ob-shen.el: New file.
13820 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
13822         * org.el (org-open-at-point): Make `org-open-at-point' only
13823         ask once about creating a new headline.
13825 2012-01-03  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
13827         * org.el (org-refile-targets): Elaborated the documentation of
13828         the variable as suggested by Dave Abrahams.
13830 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
13832         * org.el (org-align-tags-here): Allow tags to be placed right
13833         after heading.
13834         (org-tags-column): Document the meaning of tags column 0.
13836 2012-01-03  Niels Giesen  <niels.giesen@gmail.com>
13838         * org-agenda.el (org-agenda-get-blocks): Show timestamp ranges
13839         in agenda if start day is same as end day.
13841 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13843         * org.el (org-refile-get-location): Ignore errors when
13844         collection heading to be excluded.
13846 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13848         * org-special-blocks.el
13849         (org-special-blocks-convert-html-special-cookies): Avoid XHTML
13850         strict problems by not enclosing special blocks in paragraph tags.
13852 2012-01-03  Bernt Hansen  <bernt@norang.ca>
13854         * org-html.el (org-export-as-html): Check string-match
13855         argument.
13856         (org-html-handle-time-stamps): Check string-match argument.
13858 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13860         * org-agenda.el
13861         (org-agenda-skip-additional-timestamps-same-entry):
13862         Change default value.
13864 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13866         * org.el (org-time-string-to-time):
13867         (org-time-string-to-absolute): Add optional arguments BUFFER and
13868         POS for error reporting.
13870         * org-agenda.el (org-get-all-dates):
13871         (org-agenda-get-timestamps, org-agenda-get-deadlines)
13872         (org-agenda-get-scheduled, org-agenda-get-blocks): Call time
13873         stamp parsing functions with information on where the
13874         timestamp was taken from.
13876 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13878         * org.el (org-tree-to-indirect-buffer): Run `org-cycle-hook'
13879         after `show-all' in indirect buffer.
13881 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13883         * org-list.el (org-list-parents-alist): When no parent is found
13884         for an item, set it as the closest less indented item above.
13885         If none is found, make it a top level item.
13886         (org-list-write-struct): Externalize code.
13887         (org-list-struct-fix-item-end): New function.
13888         (org-list-struct): Remove a now useless fix.
13890         * org.el (org-ctrl-c-ctrl-c): Use new function.
13892 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13894         * org.el (org-end-of-line): When on an item, move point at the
13895         end of the line, but before any hidden text.  Thus, it's still
13896         possible to use commands, like `C-c C-c', acting at
13897         items.  This is still disabled if `org-special-ctrl-a/e'
13898         ignores `C-e'.
13900 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13902         * org-footnote.el (org-footnote-renumber-fn:N): Small refactoring.
13904 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13906         * org-footnote.el (org-footnote-renumber-fn:N): Fix an
13907         infloop.
13909 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13911         * org-footnote.el (org-footnote-at-definition-p):
13912         Remove useless `org-re'.
13914 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13916         * org-footnote.el (org-footnote-renumber-fn:N): Verify point
13917         is at a real footnote reference or definition before
13918         renumbering it.
13920 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13922         * org-footnote.el (org-footnote-goto-definition): This patch
13923         makes sure the function says when a definition has been
13924         found.  Thus, moving from the reference to the definition
13925         doesn't offer to create the latter again.
13927 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13929         * org-footnote.el (org-footnote-create-definition):
13930         Explicitly move point after tag, if it has just been
13931         inserted.
13933 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13935         * ob-gnuplot.el (org-babel-execute:gnuplot): Don't quote file
13936         names on Windows systems.
13938 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13940         * org-footnote.el (org-footnote-create-definition): When the
13941         tag is missing, it is created before any existing footnote, or
13942         at end of buffer.  In the latter case, the marker pointing at
13943         the position where the new footnote is going to be inserted
13944         (at end of buffer) stays before the tag.  This patch makes
13945         sure that the marker will be kept after the tag.
13947 2012-01-03  Eli Zaretskii  <eliz@gnu.org>
13949         * org.el (org-mode): Force left-to-right paragraphs in Org
13950         buffers.  For a related discussions, see
13951         https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
13953 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13955         * ob-asymptote.el (org-babel-asymptote-define-type):
13956         Silence byte-compiler.
13958 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13960         * ob-R.el (org-babel-R-evaluate): Fix bug in R session
13961         evaluation.
13963 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13965         * org-bibtex.el (org-bibtex-type-property-name):
13966         Configurable property name for bibtex entry types.
13967         (org-bibtex-headline): Use new configurable property name.
13968         (org-bibtex-check): Use new configurable property name.
13969         (org-bibtex-create): Use new configurable property name.
13970         (org-bibtex-write): Use new configurable property name.
13972 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13974         * org.el (org-paste-subtree): Remove unnecessary `concat'.
13976 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13978         * org.el (org-paste-subtree): Remove useless (concat ...).
13980 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13982         * ob-C.el (org-babel-C-var-to-C): Replacing usage of
13983         characterp with integerp (which should work w/Emacs22).
13985 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13987         * org-footnote.el (org-footnote-at-definition-p): Context must
13988         be valid at the beginning of line, not at point.
13990 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13992         * ob-tangle.el (org-babel-tangle-collect-blocks):
13993         Better delimiting of Org-mode text preceding a code block.
13995 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13997         * ob.el (org-babel-get-src-block-info): Fixing bug,
13998         accidentally deleted variable values.
14000 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14002         * ob-tangle.el (org-babel-process-comment-text):
14003         Customizable function to process comment text.
14004         (org-babel-tangle-collect-blocks): Make use of new
14005         customizable processing function.
14006         (org-babel-spec-to-string): Call customizable function rather than
14007         `org-babel-trim'.
14009 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14011         * ob-R.el (org-babel-execute:R): Collect and pass along the
14012         result-params.
14013         (org-babel-R-evaluate): Accept result-params and if "scalar" or
14014         "verbatim" don't process output.
14015         (org-babel-R-evaluate-session): Accept result-params and if
14016         "scalar" or "verbatim" don't process output.
14018 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14020         * ob.el (org-babel-merge-params): Differentiate between result
14021         types and wrappers.
14023 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14025         * ob.el (org-babel-get-src-block-info): Check that
14026         functional-syntax variables are initialized.
14028 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14030         * ob.el (org-babel-check-src-block): Adding a note for a
14031         future enhancement.
14033 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
14035         * org-exp.el (org-export): Restore point when exporting a subtree.
14037 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14039         * ob.el (org-babel-parse-src-block-match): More robust to code
14040         blocks with empty bodies.
14042 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14044         * ob.el (org-babel-parse-src-block-match): Don't error on empty
14045         code block body.
14047 2012-01-03  David Maus  <dmaus@ictsoc.de>
14049         * org.el (org-open-at-point): Unescape plain link.
14051 2012-01-03  David Maus  <dmaus@ictsoc.de>
14053         * org-html.el (org-html-handle-links): Remove unnecessary link
14054         unescape.
14056 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14058         * ob.el (org-babel-merge-params): Better error message for
14059         unassigned variables.
14061 2012-01-03  Christian Egli  <christian.egli@alumni.ethz.ch>
14063         * org-taskjuggler.el (org-export-as-taskjuggler): Clone the
14064         buffer local variables to the temporary buffer before
14065         exporting.
14067 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14069         * org-exp.el (org-export-select-backend-specific-text):
14070         Only remove commas on the front line of a code block.
14072 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14074         * ob.el (org-babel-demarcate-block): Copy headers and indent to
14075         column of point when a block is split.
14077 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14079         * ob.el (org-babel-insert-result): Corrected file insertion
14080         for inline results.
14082 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14084         * org-footnote.el (org-footnote-in-valid-context-p):
14085         No footnote in latex fragments.
14087 2012-01-03  Martin Rudalics  <rudalics@gmx.at>
14089         * org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
14090         argument from `pop-to-buffer-same-window' call.
14092 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14094         * ob-R.el (org-babel-R-evaluate-session): Improve prompt
14095         detection regexp.
14097 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14099         * org-inlinetask.el (org-inlinetask-goto-end):
14100         Small refactoring.
14102 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14104         * ob-asymptote.el (org-babel-asymptote-var-to-asymptote):
14105         refactor code.
14106         (org-babel-asymptote-table-to-array): Remove function.
14108 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14110         * ob-asymptote.el (org-babel-asymptote-var-to-asymptote):
14111         recognize non-nested lists as uni-dimensional arrays.
14113 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14115         * ob.el (org-babel-params-from-properties): Don't check for
14116         header arguments in properties with leading ":"s.
14118 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14120         * org-inlinetask.el (org-inlinetask-goto-end):
14121         Correctly detect the end of an inlinetask when the next one starts
14122         immediately after the current one.  Also, return position of
14123         point.
14125 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14127         * ob.el (org-babel-inline-src-block-regexp): Allow regexp to
14128         start at bol.
14130 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14132         * ob-asymptote.el (org-babel-asymptote-define-type):
14133         Elisp floats are asymptote reals.
14135 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14137         * ob-asymptote.el (org-babel-asymptote-table-to-array):
14138         Require a new argument TYPE specifying the detected type of
14139         array.  If it's a string array, make sure every element is
14140         returned as a string.  Also improve doc-string.
14141         (org-babel-asymptote-var-to-asymptote): Fill new argument.
14142         Small refactoring.
14143         (org-babel-asymptote-define-type): Rewrite to avoid stopping
14144         search at first float found, as strings have precedence over
14145         floats.
14147 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14149         * org-footnote.el (org-footnote-normalize): Be sure to separate
14150         the last footnote definition from the rest of the buffer.
14152 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14154         * ob-awk.el (org-babel-expand-body:awk): Allow for symbolic
14155         variable names.
14157 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14159         * org.el (org-latex-regexps): Allow matching latex fragments
14160         of type "$" and "$1" at beginning of line.
14162 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14164         * org-agenda.el (org-search-view, org-agenda-get-todos)
14165         (org-agenda-get-deadlines, org-agenda-get-scheduled):
14166         Add `category-pos' in let construct.
14168 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14170         * org-footnote.el (org-footnote-get-definition): The function has
14171         to widen buffer if definition has not been found in the current
14172         narrowed part.  Be sure to restore that restriction once the
14173         definition is found.
14175 2012-01-03  Michal Sojka  <sojka@os.inf.tu-dresden.de>  (tiny change)
14177         * org-icalendar.el (org-print-icalendar-entries): Make alarm
14178         duration RFC5545 compliant.
14180 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14182         * org-agenda.el (org-agenda-get-timestamps)
14183         (org-agenda-get-sexps, org-agenda-get-progress): Correctly set
14184         the `org-category-pos' property.
14186 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14188         * org-html.el (org-export-html-divs): Improve docstring.
14190 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
14192         * org-table.el (org-table-fix-formulas): Throw error when
14193         changing formula leads to an invalid formula.
14195 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14197         * org.el (org-archive-location): Minor docstring fix.
14199 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14201         * org.el (org-block-todo-from-checkboxes):
14202         `org-list-search-forward' should be used when looking for an
14203         item, as it filters out contexts where match couldn't be in a
14204         list.  Also use a correct item regexp, taking into account
14205         alphabetical ordered lists and counters.
14207 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14209         * org-html.el (org-html-make-link): Minor fix to the
14210         docstring.
14212 2012-01-03  Suvayu Ali  <fatkasuvayu+linux@gmail.com>  (tiny change)
14214         * org-inlinetask.el (org-inlinetask): New customizable face
14215         for inlinetasks.
14217 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14219         * org-agenda.el (org-agenda-get-todos): Properly set
14220         `category-pos'.
14222 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14224         * org-list.el (org-list-struct-apply-struct): Don't use
14225         (copy-marker (point)) instead of (point-marker).
14227 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14229         * ob.el (org-babel-where-is-src-block-result): Don't try to
14230         resolve variables when simply checking if we're inside of a
14231         code block.
14233 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14235         * org.el (org-refresh-category-properties): New text property
14236         'org-category-position to point at the beginning of the
14237         headline from which the category is set.
14239 2012-01-03  Matt Lundin  <mdl@imapmail.org>
14241         * org.el (org-refile): Don't call `org-back-to-heading' with
14242         goto argument.
14244 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14246         * org.el (org-link-display-descriptive): Remove this option and
14247         rely on the existing `org-descriptive-links' instead.
14248         (org-toggle-link-display): Use `org-descriptive-links'.
14250 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14252         * ob-ref.el (org-babel-ref-resolve): Allow matching of results
14253         with tags after the result name.
14255 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14257         * org-table.el (org-table-get-specials): Allow the use of the
14258         underscore character in column names.
14259         (org-table-get-specials): Allow the use of the underscore
14260         character in field names.
14262 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14264         * org-exp-blocks.el (org-export-blocks-preprocess):
14265         Explicitly cleaning up markers.
14267 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14269         * ob-exp.el (org-babel-exp-inline-src-blocks): Save match data
14270         around `org-babel-exp-do-export' which now searches in this case.
14271         (org-babel-exp-results): Position the point in the inline source
14272         block during export evaluation.
14274         * ob.el (org-babel-insert-result): More readable code.
14276 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14278         * org-exp-blocks.el (org-export-blocks-preprocess): Use the built
14279         in function rather than the superfluous (and now removed)
14280         org-specific function.
14282 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14284         * ob-exp.el (org-babel-exp-inline-src-blocks): Don't examplize
14285         inline code blocks which are already escaped.
14287 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14289         * org-exp-blocks.el (org-marker-from-point): Helper function to
14290         create markers at specific points in source buffers.
14291         (org-export-blocks-preprocess): Use markers instead of points
14292         to delimit code blocks.
14294 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14296         * org-list.el (org-list-separating-blank-lines-number):
14297         The behavior of `org-back-over-empty-lines' depends on the
14298         associated value of `headline' in
14299         `org-blank-before-new-entry', which is out of context in a
14300         list.
14302 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14304         * org-indent.el (org-indent-initialize-agent): When the current
14305         buffer isn't being watched, resume initialization of other watched
14306         buffers.  In that case, give hand to others idle timers or
14307         processes more frequently.
14308         (org-indent-agent-active-delay): Rename from
14309         `org-indent-agent-process-duration'.
14310         (org-indent-agent-passive-delay): New variable.
14311         (org-indent-agent-resume-delay): Change value.
14312         (org-indent-initialize-buffer): Change argument name.
14313         (org-indent-add-properties): Change argument name and type
14314         expected.  It must be a time value now.
14316 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14318         * org.el (org-set-property): Bugfix.
14320 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14322         * ob.el (org-babel-remove-result): Idempotent code block
14323         evaluation and result removal.
14325 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14327         * ob-ruby.el (org-babel-ruby-initiate-session): No longer
14328         require inf-ruby when no session evaluation takes place.
14330 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14332         * org-agenda.el (org-agenda-prefix-format): Mention "%e" in
14333         the docstring.
14335 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
14337         * org-agenda.el (org-agenda-custom-commands): Set a default
14338         value for this command.
14340 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
14342         * org-agenda.el (org-agenda-include-all-todo): Declare this option
14343         as no longer working.
14344         (org-timeline): Rename the include-all argument to dotodo.
14345         (org-arg-loc): Rename from` org-include-all-loc'.
14346         (org-agenda-list): Rename the INCLUDE-ALL argument to ARG,
14347         because its function has changed.
14349 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14351         * org.el (org-fixup-indentation): Fix various small bugs.
14353 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14355         * org-indent.el (org-indent-agent-timer)
14356         (org-indent-agentized-buffers, org-indent-agent-resume-timer)
14357         (org-indent-agent-process-duration)
14358         (org-indent-agent-resume-delay): New variables.
14359         (org-indent-initial-marker): More accurate doc-string.
14360         (org-indent-initial-timer, org-indent-initial-resume-timer)
14361         (org-indent-initial-process-duration)
14362         (org-indent-initial-resume-delay)
14363         (org-indent-initial-lock): Remove variables.
14364         (org-indent-mode): Set up an agent to watch current buffer, or
14365         add it to the list of already watched buffers.
14366         (org-indent-initialize-agent): New function.
14367         (org-indent-initialize-buffer): Now requires a mandatory
14368         buffer argument.
14369         (org-indent-add-properties): Reflect changes to variables.
14370         The resume timer is now global.
14372 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14374         * org-footnote.el (org-footnote-normalize): Refactor, and fix
14375         some blank lines deletion.
14377 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14379         * org-indent.el (org-indent-mode):
14380         `org-indent-initial-resume-timer ' needs to be local.
14382 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14384         * org.el (org-fixup-indentation): Correctly indent meta lines.
14386 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14388         * org-indent.el (org-indent-set-line-properties): Add text
14389         properties down to the beginning of the next line.
14390         (org-indent-add-properties): When last position to add
14391         properties to is at the beginning of a line, all that line
14392         will have properties.
14394 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14396         * org-indent.el (org-indent-initial-resume-timer): New variable.
14397         (org-indent-initialize-buffer): Also resume after a small break.
14398         (org-indent-add-properties): When in asynchronous mode,
14399         proceed for 2 seconds, then take a break.
14401 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14403         * org-indent.el (org-indent-set-line-properties): New function.
14404         (org-indent-add-properties): Externalize worker function.
14406 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14408         * org-indent.el (org-indent-indent-buffer): Take into account
14409         narrowing.
14411 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14413         * org-indent.el (org-indent-modified-headline-flag): Rename from
14414         `org-indent-deleted-headline-flag'
14415         (org-indent-notify-modified-headline): Rename from
14416         `org-indent-notify-deleted-headline'.  Handle situations when
14417         the stars of an headline are modified.
14418         (org-indent-refresh-maybe): Remove case now handled by
14419         previous function.
14420         (org-indent-mode): Apply renames.
14422 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14424         * org-indent.el (org-indent-inlinetask-first-star):
14425         New variable.
14426         (org-indent-add-properties): Set the first star of inline-tasks'
14427         virtual indentation in `org-warning' face.
14429         * org-inlinetask.el (org-inlinetask-insert-task): Create a new
14430         inline-task slightly differently, so virtual indentation can
14431         be applied normally.
14433 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14435         * org-indent.el (org-indent-initial-marker)
14436         (org-indent-initial-timer, org-indent-initial-lock):
14437         New variables.
14438         (org-indent-mode): At initialization, start an idle timer to indent
14439         the whole buffer.  When the user is asking for control, interrupt the
14440         process, and resume at the same point when idle again.
14441         (org-indent-initialize-buffer): New function.
14442         (org-indent-add-properties): Throw an interrupt when indentation of
14443         buffer is stopped during initialization.
14445 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14447         * org-indent.el (org-indent-indent-buffer): Send more
14448         appropriate messages.
14450 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14452         * org-indent.el (org-indent-notify-deleted-headline)
14453         (org-indent-refresh-maybe): Replace `org-indent-outline-re'
14454         with `org-outline-regexp-bol'.
14456 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14458         * org-indent.el (org-indent-max-levels): Modify default value and
14459         add comment.
14460         (org-indent-add-properties): Pay attention to `org-indent-max'
14461         and `org-indent-max-levels' values.
14462         (org-indent-refresh-maybe): Refactor code to avoid an unnecessary
14463         save excursion.
14465 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14467         * org-table.el (org-table-align): Remove now useless hack.
14469 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14471         * org-indent.el (org-indent-fix-section-after-idle-time):
14472         Remove variable.
14473         (org-indent-initialize): Remove timer.
14474         (org-indent-add-properties): Refactor code.
14475         (org-indent-refresh-subtree, org-indent-refresh-section)
14476         (org-indent-refresh-buffer, org-indent-set-initial-properties):
14477         Remove functions.
14478         (org-indent-deleted-headline): New variable.
14479         (org-indent-notify-deleted-headline, org-indent-refresh-maybe):
14480         New functions.
14481         (org-indent-mode): Insert new functions into a hook.
14483 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14485         * org-indent.el (org-indent-mode): Completely refresh buffer
14486         before starting org-indent-mode.  Also set idle timer to refresh
14487         only visible portion of buffer, and refresh the subtree instead of
14488         section when promoting or demoting it.
14489         (org-indent-add-properties): Rewrite function to proceed line by
14490         line, as required by `wrap-prefix' specificity.
14491         (org-indent-refresh-section, org-indent-refresh-subtree): Refactor.
14492         (org-indent-refresh-view): New function.
14493         (org-indent-refresh-to, org-indent-refresh-section):
14494         Remove functions.
14496         * org.el (org-unfontify-region): Do not remove prefix
14497         properties when unfontifying a region.
14499 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14501         * org-colview.el (org-columns-cleanup-item): Correctly remove
14502         leading stars in items displayed in the agenda column view.
14504 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14506         * org-colview.el (org-columns-display-here): Clean up items in
14507         `org-agenda-mode' too.
14508         (org-columns-cleanup-item): Take a new argument CPHR to allow
14509         passing a complex heading regexp.  Rewrite to cleanup ITEM
14510         correctly in `org-agenda-mode'.
14512 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14514         * org-clock.el (org-duration-string-to-minutes)
14515         (org-minutes-to-hh:mm-string, org-hh:mm-string-to-minutes):
14516         Move from org.el.
14518 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14520         * org.el (org-refile-active-region-within-subtree): New option to
14521         allow refiling a region that is part of a subtree without
14522         containing a subtree itself.  This default to `nil'.
14523         (org-refile): Use the new option.  Put point at the beginning
14524         of the region/subtree to be refiled, so that users understand
14525         what will be refiled.  Also improve the prompt to tell whether
14526         the user is refiling a region or a headline.
14528 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14530         * org.el (org-properties-postprocess-alist): New option to allow
14531         postprocessing the values of properties set through
14532         `org-set-property'.
14533         (org-set-property): Use this option.
14535 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14537         * org.el (org-outline-regexp, org-outline-regexp-bol): Add a
14538         docstring.
14540 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14542         * org-archive.el (org-archive-to-archive-sibling):
14543         Use `org-outline-regexp' instead of `outline-regexp'.
14545 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14547         * org.el (org-between-regexps-p): Searching up to pos may
14548         match again beginning regexp.
14550 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14552         * org-footnote.el (org-footnote-goto-definition): Don't send
14553         erroneous message: suggested bindings might not be set outside
14554         Org.
14556 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14558         * org-footnote.el (org-footnote-normalize): Effectively remove
14559         any footnote tag in non Org buffers, as detailled in the
14560         docstring of `org-footnote-tag-for-non-org-mode-files'.
14562 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14564         * org-footnote.el (org-footnote-tag-for-non-org-mode-files):
14565         notify the opportunity to set the variable to the empty string.
14566         (org-footnote-normalize, org-footnote-create-definition):
14567         Carefully check for inserted newlines and presence of the
14568         footnote tag.
14570 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14572         * org-footnote.el (org-footnote-at-definition-p): Re-use
14573         `org-footnote-definition-re'.
14575 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14577         * org-footnote.el (org-footnote-definition-re): Remove an
14578         useless group.
14579         (org-footnote-at-definition-p): Reflect removal of the group.
14581 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14583         * org.el (org-set-regexps-and-options): Enforce white space
14584         after todo keyword, as word boundary isn't sufficient (i.e. in
14585         matches * TODO/this).
14587 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
14589         * org-inlinetask.el (org-inlinetask-export-templates):
14590         Fix template for html so that the exported file is valid
14591         xhtml.  Added template for odt.
14592         (org-inlinetask-export-handler): Fix typo in the regexp that
14593         trims content.  Make sure that the content is flanked by
14594         paragraph boundaries on either side.
14596 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14598         * org.el (org-add-planning-info): Don't insert superfluous
14599         space when updating timestamps.
14601 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14603         * org-agenda.el (org-cmp-effort): Fix docstring.
14605 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14607         * org-list.el (org-list-full-item-re): When an item has only a
14608         bullet and no space after it, list structure would not be
14609         recognized correctly.
14611 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14613         * org.el (org-overview): Use `outline-regexp' instead of
14614         `org-outline-regexp' so that global cycling using
14615         `orgstruct-mode' works outside of Org buffers.
14617 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14619         * org-table.el (org-table-eval-formula): Fix missing variable
14620         in let construct.
14621         (org-table-time-string-to-seconds): Fix missing variable in
14622         let construct.
14624 2012-01-03  Michael Brand  <michael.ch.brand@gmail.com>
14626         * org-agenda.el (org-agenda-get-deadlines): Fix dfrac for the
14627         case of wdays being 0.  Don't pass wdays to
14628         org-agenda-deadline-face, like before the old fix.
14629         (org-agenda-deadline-face): Revert to old state that was without
14630         wdays.
14632 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14634         * org-latex.el (org-export-latex-fixed-width): Only add one
14635         line break after exporting verbatim environments.
14637 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14639         * org-list.el (org-list-item-trim-br): New function.
14640         (org-list-to-generic): New parameter :nobr to use the new
14641         function.
14643 2012-01-03  David Maus  <dmaus@ictsoc.de>
14645         * org.el (org-paste-subtree): Fix wrong order of lines to move
14646         before pasting.
14648 2012-01-03  David Maus  <dmaus@ictsoc.de>
14650         * org.el (org-paste-subtree): Paste subtree above target
14651         headline if point is at bol.
14653 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14655         * org-list.el (org-toggle-checkbox): Don't clear lim-down
14656         while used in the while loop.
14658 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14660         * org-list.el (org-toggle-checkbox): Lim-down must be a
14661         marker.
14663 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14665         * org.el (org-activate-code): Correct regexp so ":.*" isn't
14666         matched.
14668 2012-01-03  David Maus  <dmaus@ictsoc.de>
14670         * org-macs.el (org-with-gensyms, org-called-interactively-p)
14671         (with-silent-modifications, org-bound-and-true-p)
14672         (org-unmodified, org-re, org-preserve-lc)
14673         (org-without-partial-completion, org-with-point-at)
14674         (org-no-warnings, org-if-unprotected, org-if-unprotected-1)
14675         (org-if-unprotected-at, org-with-remote-undo)
14676         (org-no-read-only, org-save-outline-visibility)
14677         (org-with-wide-buffer, org-with-limited-levels)
14678         (org-eval-in-environment): Provide edebug specifications.
14680         * org-src.el (org-src-do-at-code-block): Dto.
14682         * org-publish.el (org-publish-with-aux-preprocess-maybe): Dto.
14684         * org-compat.el (org-xemacs-without-invisibility): Dto.
14686         * org-clock.el (org-with-clock-position, org-with-clock): Dto.
14688         * org-agenda.el (org-agenda-with-point-at-orig-entry)
14689         (org-batch-agenda, org-batch-agenda-csv)
14690         (org-batch-store-agenda-views): Dto.
14692         * ob.el (org-babel-do-in-edit-buffer)
14693         (org-babel-map-src-blocks, org-babel-map-inline-src-blocks): Dto.
14695         * ob-tangle.el (org-babel-with-temp-filebuffer): Dto.
14697         * ob-table.el (sbe): Dto.
14699         * ob-exp.el (org-babel-exp-in-export-file): Dto.
14701         * ob-comint.el (org-babel-comint-in-buffer)
14702         (org-babel-comint-with-output): Dto.
14704 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14706         * org-inlinetask.el (org-inlinetask-export-templates):
14707         Fix docstring.
14709 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14711         * org-inlinetask.el (org-inlinetask-insert-task): Error when
14712         trying to nest inline tasks.
14714 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14716         * org.el (org-activate-code, org-toggle-fixed-width-section)
14717         (org-indent-line-function): Allow "[ \t]*:$" as a special case of
14718         fixed-width section.
14720 2012-01-03  David Maus  <dmaus@ictsoc.de>
14722         * org.el (org-paste-subtree): Don't eat headline when called
14723         with point at existing headline.
14725 2012-01-03  David Maus  <dmaus@ictsoc.de>
14727         * org.el (org-paste-subtree): Fix typo in variable name.
14729 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
14731         * org-inlinetask.el (org-inlinetask-export-handler):
14732         Don't export inline tasks if the current backend has provided no
14733         entries in `org-inlinetask-export-templates'.
14735 2012-01-03  Valentin Wüstholz  <wuestholz@gmail.com>  (tiny change)
14737         * org.el (org-indent-line-function): Made the way in which
14738         example blocks are indented more flexible.
14740 2012-01-03  David Maus  <dmaus@ictsoc.de>
14742         * org-agenda.el (org-batch-agenda-csv): Fix argument to append
14743         when creating final parameter alist.
14745 2012-01-03  David Maus  <dmaus@ictsoc.de>
14747         * org-agenda.el (org-batch-store-agenda-views): Use macro
14748         `org-eval-in-environment'.
14750 2012-01-03  David Maus  <dmaus@ictsoc.de>
14752         * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
14753         Use `org-eval-in-environment.
14755 2012-01-03  David Maus  <dmaus@ictsoc.de>
14757         * org-macs.el (org-make-parameter-alist): New function.
14758         Turn flat list of alternating symbol names and values into an alist
14759         with symbol name in car and value in cdr.
14761 2012-01-03  David Maus  <dmaus@ictsoc.de>
14763         * org-agenda.el (org-agenda-with-point-at-orig-entry):
14764         Use macro `org-with-gensyms'.
14766 2012-01-03  David Maus  <dmaus@ictsoc.de>
14768         * org-macs.el (org-substitute-posix-classes):
14769         New function.  Substitute posix classes in regular expression.
14770         (org-re): Use new function.
14772 2012-01-03  David Maus  <dmaus@ictsoc.de>
14774         * org-macs.el (org-eval-in-environment): New macro.  Evaluate FORM
14775         in ENVIRONMENT.
14777 2012-01-03  David Maus  <dmaus@ictsoc.de>
14779         * org-macs.el (org-preserve-lc, org-with-point-at)
14780         (org-with-remote-undo, org-save-outline-visibility): Use new
14781         macro `org-with-gensyms'.
14783 2012-01-03  David Maus  <dmaus@ictsoc.de>
14785         * org-macs.el (org-with-gensyms): New macro.  Wrap let-binding
14786         of SYMBOLS to new uninterned symbols around BODY.
14788 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14790         * org-inlinetask.el (org-inlinetask-export-handler): Make sure
14791         the task starts a paragraph or the HTML exporter will produce
14792         an incorrect output.
14794 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14796         * org.el (org-return): When filling happens, `newline' can
14797         change match data, hence modifying the indent column.
14799 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14801         * org-footnote.el (org-footnote-new): Only forbid non-inlined
14802         footnotes at column 0, as only them can be confused with a
14803         footnote definition.
14805 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14807         * org-footnote.el (org-footnote-new): Use `ido' or `iswitchb'
14808         when available when prompted for a label.  Also rename a local
14809         variable to avoid confusion with an existing function.
14811 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14813         * org-footnote.el (org-footnote-label-history):
14814         Remove variable
14815         (org-footnote-new): Remove call to that variable.
14817 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14819         * org.el (org-insert-heading): With `force-heading' non-nil,
14820         inserting an heading before any headline, and just after a
14821         list would return an error.
14823 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14825         * ob.el (org-babel-sha1-hash): Remove use of `copy-seq'.
14827 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14829         * org-bibtex.el (org-bibtex-get): Make the "FILE" property
14830         non-special when resolving bibtex values.
14832 2012-01-03  David Maus  <dmaus@ictsoc.de>
14834         * org.el (org-back-over-empty-lines): Don't move line upward
14835         if point is at eob.
14837 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14839         * org-footnote.el (org-footnote-in-valid-context-p):
14840         Check `org-protected' property before allowing to match a footnote.
14841         (org-footnote-at-reference-p): Remove an obsolete test.  It is now
14842         done in the previous function.
14844 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14846         * org.el (org-between-regexps-p): Previous name implied the
14847         function was related to blocks, which isn't mandatory.
14848         (org-narrow-to-block, org-in-block-p)
14849         (org-indent-line-function): Applied the rename.
14851         * ob-exp.el (org-babel-in-example-or-verbatim):
14852         Applied rename.  Also removed a white space.
14854 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14856         * org.el (org-in-regexps-block-p): Return an useful value when
14857         point is between START-RE and END-RE.  No incomplete block is
14858         allowed anymore.  Add another optional argument to bound the
14859         bottom part of the search.
14860         (org-narrow-to-block, org-in-block-p): Apply modifications.
14862 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14864         * ob.el (org-babel-src-block-regexp): If a code block has a
14865         body, its last character must be a newline.
14867 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14869         * org-footnote.el (org-footnote-next-reference-or-definition):
14870         If no more footnote is found, be sure to go back to the
14871         original position.  Otherwise, point might be left on a
14872         footnote-like element that has been dished out.
14874 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14876         * ob-exp.el (org-babel-inline-src-block-regexp): Declare this
14877         variable.
14879         * ob.el (defvar): Wrap variable declaration in
14880         `eval-when-compile'.
14882 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14884         * ob-keys.el (org-babel-key-bindings): Bound to `C-c C-v k'.
14886 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14888         * ob-java.el (org-babel-execute:java): Allow cmdline flags
14889         during compilation and evaluation.
14891 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
14893         * ob.el (org-babel-expand-body:generic, org-babel-number-p):
14894         * ob-ref.el (org-babel-ref-parse): Fix typos.
14896 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
14898         * ob.el (org-babel-execute-src-block): Fix typo.
14900 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
14902         * org.el (org-link-unescape, org-link-unescape-compound): Fix typos.
14904 2011-11-20  Andreas Schwab  <schwab@linux-m68k.org>
14906         * org-list.el (org-list-send-item): Use sort instead of sort*.
14908 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
14910         * org-table.el (org-table-line-to-dline): Fix typo.
14912 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
14914         * org-agenda.el (org-agenda-add-entry-text-descriptive-links)
14915         (org-agenda-custom-commands, org-write-agenda, org-check-for-org-mode)
14916         (org-search-syntax-table, org-modify-diary-entry-string)
14917         (org-write-agenda):
14918         * org-bbdb.el (org-bbdb-anniv-export-ical):
14919         * org-bibtex.el (org-bibtex-fields):
14920         * org-icalendar.el (org-icalendar-date-time-format):
14921         * org-latex.el (org-export-latex-inline-image-extensions):
14922         * org-list.el (org-list-insert-item): Fix typos.
14924 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
14926         * org-plot.el (org-plot/gnuplot-to-grid-data): Fix typo in docstring.
14928 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
14930         * org.el (org-mode): Force left-to-right paragraphs in Org
14931         buffers.  For a related discussions, see
14932         https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
14934 2011-09-17  Juanma Barranquero  <lekktu@gmail.com>
14936         * org.el (org-toggle-pretty-entities): Fix typo in message.
14938 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
14940         * org-compat.el (org-pop-to-buffer-same-window): Delete.
14942         * ob-ref.el (org-babel-ref-goto-headline-id):
14943         * org.el (org-get-location, org-tree-to-indirect-buffer)
14944         (org-mark-ring-goto, org-refile, org-add-log-note)
14945         (org-revert-all-org-buffers, org-switchb)
14946         (org-cycle-agenda-files, org-submit-bug-report)
14947         (org-goto-marker-or-bmk):
14948         * org-agenda.el (org-prepare-agenda, org-agenda-switch-to):
14949         * org-capture.el (org-capture-goto-target)
14950         (org-capture-fill-template):
14951         * org-clock.el (org-clock-goto):
14952         * org-ctags.el (org-ctags-visit-buffer-or-file):
14953         * org-exp.el (org-export-as-org):
14954         * org-feed.el (org-feed-show-raw-feed):
14955         * org-html.el (org-export-htmlize-generate-css):
14956         * org-id.el (org-id-goto):
14957         * org-irc.el (org-irc-visit-erc):
14958         * org-mobile.el (org-mobile-apply):
14959         * org-publish.el (org-publish-org-to, org-publish-find-date):
14960         * org-remember.el (org-go-to-remember-target):
14961         * org-src.el (org-src-switch-to-buffer)
14962         (org-edit-fixed-width-region): Use switch-to-buffer.
14964 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
14966         * org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
14967         argument from pop-to-buffer-same-window call.
14969 2011-07-30  Carsten Dominik  <carsten.dominik@gmail.com>
14971         * ob.el (org-babel-src-block-regexp): If a code block has a body,
14972         its last character must be a newline.
14974 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14976         * org-pcomplete.el: New file.  Rename from org-complete.el.
14977         * org-complete.el: Delete file.
14979 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14981         * org-publish.el (org-publish-index-generate-theindex):
14982         Rename from `org-publish-index-generate-theindex.inc'.  Use the file
14983         theindex.org directly instead of including theindex.inc.
14984         (org-publish-projects): Don't delete .orgx files.
14985         (org-publish-aux-preprocess): Use .file.orgx.
14987 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14989         * org-html.el (org-export-html-preamble-format): New default for
14990         the HTML preamble: don't include the title.  Also improve the
14991         docstring.
14992         (org-export-html-postamble-format): Improve the docstring.
14993         (org-export-as-html): Add the title within the "content" div.
14994         This is necessary for interaction with the org-info.js script.
14996 2011-07-28  Michael Brand  <michael.ch.brand@gmail.com>
14998         * org-table.el (org-table-edit-field): Display field coordinates.
15000 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15002         * org-publish.el (org-publish-find-title): Bugfix: kill buffers
15003         unless they were already visited.
15004         (org-sitemap-sort-files, org-sitemap-sort-folders)
15005         (org-sitemap-ignore-case, org-sitemap-requested)
15006         (org-sitemap-date-format, org-sitemap-file-entry-format):
15007         Use a correct prefix.
15008         (org-publish-projects): Make sure to delete .orgx files.
15009         (org-publish-index-generate-theindex.inc): Small docstring fix.
15011 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15013         * org-table.el (org-table-duration-custom-format): New defcustom
15014         to select output format of durations computations.
15015         (org-table-time-seconds-to-string): Use the new variable.
15016         (org-table-eval-formula): Allow `t' as a flag, on top of `T'.  `t'
15017         will use the custom output format defined in
15018         `org-table-duration-custom-format'.
15020 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15022         * org-list.el: Search blank lines down to the end of the item
15023         instead of stopping at the item, in order to possibly match such
15024         lines within the item.
15026 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15028         * org-latex.el (org-export-latex-href-format): Docstring fix to
15029         reflect the fact that you can use only one "%s".
15030         (org-export-latex-links): Allow `org-export-latex-href-format' to
15031         have only one "%s".
15033 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15035         * org.el (org-org-menu): Add `org-copy-visible' to the menu.
15037 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15039         * org.el (org-copy-visible): New command.
15041 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15043         * org-capture.el (org-capture-templates): Docstring fix.
15045 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15047         * ob.el (org-babel-view-src-block-info): New function to inspect
15048         code blocks.
15050         * ob-keys.el (org-babel-key-bindings): Key bindings for
15051         `org-babel-view-src-block-info'.
15053 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15055         * org-exp.el (org-infile-export-plist): Handle recursively
15056         included setup files.  The value of the last included file always
15057         takes precedence over previous values.
15059 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15061         * org.el (org-timestamp-change): Keep point in the same category
15062         when updating a time-stamp.  This requires to be careful, as,
15063         depending on the locale, name of day might change of length during
15064         the process.
15066 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15068         * org-footnote.el (org-footnote-create-definition): When skipping
15069         already written footnotes definition, the algorithme would assume
15070         each one was only one-line long.
15072 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15074         * org-table.el (org-table-eval-formula): Fix bug when a formula
15075         "range" is just one cell.
15076         (org-table-time-string-to-seconds): Don't check whether we
15077         manipulate a string.
15079 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15081         * org-exp.el (org-export-mark-list-end)
15082         (org-export-mark-list-properties): Don't remove the ending regexp
15083         when it consists in blank lines.
15085         * org-list.el (org-list-parse-list): Ditto, but remove it
15086         completely when it isn't made of blank lines (i.e. during export
15087         process).
15089 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15091         * org-table.el (org-table-time-string-to-seconds): Match either
15092         HH:MM:SS or HH:MM (instead of MM:SS).
15094 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15096         * org.el (org-ctrl-c-ctrl-c-final-hook): New hook to be run when
15097         `org-ctrl-c-ctrl-c' cannot do anything useful in the given
15098         context.
15100 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15102         * org-html.el (org-export-html-with-timestamp)
15103         (org-export-html-html-helper-timestamp): These are obsolete
15104         variables as of Org version 7.7 as you can already export the
15105         timestamp from the preamble or the postamble.
15106         (org-export-html-before-content-div): Delete variable.
15107         (org-export-html-content-div): Obsolete variable as of 7.7.
15108         (org-export-html-divs): New variable to define divs used in
15109         HTML export.
15110         (org-export-as-html): Now the preamble and the postamble are
15111         surrounded by a <div ...>.  The name of the div is defined through
15112         `org-export-html-divs'.
15114 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15116         * org-table.el (org-table-eval-formula): Throw an error when
15117         trying to replace complex range with invalid references.
15119 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15121         * org-macs.el (org-with-limited-levels): Some functions, like
15122         `org-back-to-heading', being deeply based on outline-mode, still
15123         refer to `outline-regexp' instead of `org-outline-regexp'.
15125 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15127         * org.el (org-refile-get-targets): New optional argument
15128         `excluded-entries' to exclude entries from the targets.
15129         (org-refile-get-location): From an org-mode buffer, exclude
15130         current heading and subheadings from the list of targets when
15131         `org-refile-use-cache' is nil.
15133 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15135         * org.el (org-imenu-get-tree): Headlines start at bol.
15137 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15139         * ob-maxima.el: New file.  Fixed self-proclaimed file name.
15141 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15143         * ob.el (org-babel-sha1-hash): Only call `copy-seq' on proper
15144         lists.
15146 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15148         * org.el (org-kill-is-subtree-p): Matched string needs to start at
15149         bol.
15151 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15153         * org.el (org-paste-subtree, org-kill-is-subtree-p)
15154         (org-yank-folding-would-swallow-text, org-yank-generic):
15155         Use `org-with-limited-levels' macro.
15157 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15159         * org-macs.el (org-with-limited-levels): Also modify, when
15160         appropriate, `org-outline-regexp-at-bol'.
15162 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15164         * org.el (org-timestamp-change): Some locales don't use the same
15165         length for date abbreviations.  Set a marker at origin in case
15166         length of new timestamp is different.
15168 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15170         * org.el (org-imenu-get-tree): Browse only true headlines.
15172 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15174         * org-archive.el (org-archive-subtree): While it might be possible
15175         to archive an headline of a temporary buffer (i.e. not visiting a
15176         file), it wouldn't be really sensible.
15178 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15180         * org-archive.el (org-extract-archive-file)
15181         (org-extract-archive-heading, org-archive-subtree):
15182         `buffer-file-name' is nil in an indirect buffer.  Thus, use
15183         `(buffer-file-name (buffer-base-buffer))', which will, in any
15184         case, return the file name.
15186 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15188         * org-capture.el (org-capture): If dired isn't loaded,
15189         `dired-buffers' isn't defined, and %F will fail.
15191 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15193         * ob-java.el (org-babel-execute:java): Don't create empty package
15194         directories.
15196 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15198         * ob-java.el: New file.
15200 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15202         * ob.el (org-babel-execute-src-block): Replace call to defunct
15203         function `org-babel-result-hash'.
15205 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15207         * org-footnote.el (org-footnote-in-valid-context-p): Avoid cited
15208         lines and headers in `message-mode'.
15209         (org-footnote-at-reference-p): Remove check for cited lines, this
15210         is now handled by the previous function.  Refactor.
15212 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15214         * org-capture.el (org-capture): If no file is associated to
15215         current buffer, check dired buffer and try to retrieve a possibly
15216         directory associated.
15218 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15220         * ob-exp.el (org-babel-exp-results): Resolve hashes in the current
15221         (not original) file buffer.
15223         * ob.el (org-babel-current-result-hash): More informative name,
15224         and remove useless optional argument.
15226 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15228         * org.el (org-refile-get-location): Exclude current heading from
15229         the refile table.
15231 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15233         * org-footnote.el (org-footnote-at-reference-p): Test if match is
15234         in cited text, when replying to a message.
15235         (org-footnote-new): Do not create a new footnote at bol, as it
15236         might be seen as a definition.
15237         (org-footnote-at-definition-p): Ignore definitions in forbidden
15238         blocks, as it is already the case for references.
15240 2011-07-28  Matt Lundin  <mdl@imapmail.org>
15242         * org-bibtex.el (org-bibtex-create, org-bibtex-write):
15243         Change argument of `org-toggle-tag' to 'on.  (Other arguments, e.g., t,
15244         have no effect).
15246 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15248         * org-bibtex.el (org-bibtex-get): Don't let trimming turn nils
15249         into empty strings.
15251 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15253         * org-list.el (org-list-insert-item): Actualize code comments.
15254         (org-insert-item): For consistency, point cannot be moved at a
15255         surprising place when the user is being asked to choose a new
15256         description term to insert in the list.  Point should stay where
15257         the user called the command.
15259 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15261         * org.el (org-outline-regexp-bol): New defconst.
15262         (org-outline-level, org-set-font-lock-defaults, org-cycle)
15263         (org-overview, org-content, org-flag-drawer)
15264         (org-first-headline-recenter, org-insert-todo-heading)
15265         (org-map-region, org-move-subtree-down, org-paste-subtree)
15266         (org-kill-is-subtree-p, org-context-p, org-refile)
15267         (org-refile-new-child, org-toggle-comment, org-todo)
15268         (org-add-planning-info, org-add-log-setup, org-scan-tags)
15269         (org-set-tags, org-insert-property-drawer)
15270         (org-prepare-agenda-buffers, org-preview-latex-fragment)
15271         (org-speed-command-default-hook, org-check-for-hidden)
15272         (org-toggle-item, org-toggle-heading)
15273         (org-indent-line-function, org-set-autofill-regexps)
15274         (org-fill-paragraph, org-toggle-fixed-width-section)
15275         (org-yank-generic, org-yank-folding-would-swallow-text)
15276         (org-first-sibling-p, org-goto-sibling)
15277         (org-goto-first-child, org-show-entry):
15278         Use `org-outline-regexp' and `org-outline-regexp-bol'.
15280 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15282         * org.el (org-update-parent-todo-statistics): COOKIE_DATA should
15283         be checked for parent, not current headline.  Also, this function
15284         doesn't need to be interactive.
15286 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15288         * org-list.el (org-list-send-item, org-list-struct-apply-struct)
15289         (org-apply-on-list, org-toggle-checkbox): Make markers point
15290         nowhere when they have become useless.
15292 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15294         * org-list.el (org-list-insert-item): When insertion point is in
15295         some white line after the end of the list, remove all unnecessary
15296         white lines there before proceeding.  Also refactor a snippet of
15297         code.
15299 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15301         * org-latex.el (org-export-latex-image-default-option):
15302         Change default value.
15304 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15306         * org.el (org-fontify-meta-lines-and-blocks-1): Blocks cannot be
15307         correctly fontified when the buffer is missing a final newline.
15309 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15311         * ob.el (org-babel-strip-protective-commas): Return `nil' instead
15312         of an error if no argument is given.
15313         (org-babel-parse-src-block-match): Make sure body is defined in
15314         the let construct.
15316 2011-07-28  Jon Anders Skorpen  <jonas@ifi.uio.no>  (tiny change)
15318         * org-publish.el (org-publish-cache-file-needs-publishing):
15319         Regexp did not find includes with double quoted file names.
15321 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15323         * org-footnote.el (org-footnote-normalize): Footnote section
15324         should be inserted only if there are footnotes to insert.
15326 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15328         * org-footnote.el (org-footnote-at-definition-p)
15329         (org-footnote-normalize): Do not grab signature in the definition
15330         of the last footnote.
15332 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15334         * org-bibtex.el (org-babel-trim): Declare this function to the
15335         compiler.
15336         (org-bibtex-get): Trimming whitespace off of bibtex fields read from
15337         properties.
15339 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15341         * org-exp.el (org-export-preprocess-string): Add the possibility
15342         to call recursively the function.  Also change order of some
15343         function calls.  Comment export process for footnotes.
15345         * org-footnote.el (org-footnote-normalize): Change the export
15346         specific parameter to hold properties of export.  Thus, the
15347         function can send every footnote definition in the buffer through
15348         `org-export-process-string'.
15350 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15352         * org-latex.el (org-export-latex-preprocess): First insert
15353         footnotes in the temporary buffer so their contents can properly
15354         be protected from further transformations if required.
15356 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15358         * org-list.el (org-list-indent-offset): New variable.
15359         (org-list-struct-fix-ind): Make use of the new variable.
15361 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15363         * org-latex.el (org-export-latex-list-parameters):
15364         Complete default value with cbtrans option.
15366         * org-list.el (org-list-to-latex): Set a more consistent default
15367         value.
15369 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15371         * org-list.el (org-list-swap-items): Move it to a meaningful
15372         position in source code (i.e. before any function using it), and
15373         rename it to an easier name.
15375 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15377         * org-list.el (org-list-separating-blank-lines-number): If there
15378         are blank lines already in the whole list, add a blank line.
15380 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15382         * org-list.el (org-list-use-circular-move): New variable.
15383         (org-previous-item, org-next-item): Make use of the new variable.
15384         (org-move-item-down, org-move-item-up): Make use of the new
15385         variable.  Simplify code.
15387 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15389         * org-list.el (org-list-delete-item, org-list-send-item):
15390         New functions.
15392 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15394         * org-agenda.el (org-agenda-bulk-custom-functions): New variable
15395         for custom bulk action functions.
15396         (org-agenda-bulk-action): Use it.
15398 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15400         * org-latex.el (org-export-latex-quotes): New defcustom.
15401         (org-export-latex-quotation-marks): Use it.
15403 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15405         * org-capture.el (org-capture-finalize): Bugfix about inserted
15406         blank line when killing the capture buffer and
15407         `org-blank-before-new-entry' tells to not insert anything before a
15408         heading.
15410 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15412         * org-html.el (org-export-html-content-div): Rename from
15413         `org-export-content-div'.
15414         (org-export-as-html): Use new name.
15416 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15418         * org-latex.el (org-export-latex-header-defs-re): Delete.
15420 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15422         * org.el (org-last-set-property): New variable.
15423         (org-read-property-name): Use the new variable: the prompt
15424         defaults to the last property set, unless there is a property in
15425         the line at point.
15427 2011-07-28  David Maus  <dmaus@ictsoc.de>
15429         * org-capture.el (org-capture-before-finalize-hook)
15430         (org-capture-after-finalize-hook, org-capture-mode-map)
15431         (org-capture-mode, org-capture-goto-last-stored): Fix docstring,
15432         consistently refer to capture, not remember.
15434 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15436         * ob-clojure.el (org-babel-execute:clojure): Respects "scalar" and
15437         "verbatim" results params.
15439 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15441         * ob-awk.el (org-babel-execute:awk): Use "verbatim" as synonym for
15442         "scalar".
15444         * ob-sh.el (org-babel-sh-evaluate): Use "verbatim" as synonym for
15445         "scalar".
15447         * ob-sqlite.el (org-babel-execute:sqlite): Use "verbatim" as
15448         synonym for "scalar".
15450         * ob.el (org-babel-merge-params): Use "verbatim" as synonym for
15451         "scalar".
15453 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15455         * ob.el (org-babel-script-escape): Parse odd parens when nested
15456         isnide lists.
15458 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15460         * ob-clojure.el (org-babel-execute:clojure): No longer force
15461         results into elisp if they don't naturally fit.
15463 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15465         * ob-clojure.el (org-babel-execute:clojure): Stop re-reading
15466         already parsed lisp results.
15468 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15470         * org-list.el (org-plain-list-ordered-item-terminator):
15471         Remove incorrect assumption.
15473 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15475         * org-footnote.el (org-footnote-forbidden-blocks): Add missing
15476         exporter specific blocks.
15478         * org-list.el (org-list-forbidden-blocks): Ditto.
15480 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15482         * org-latex.el (org-export-latex-tables): Bugfix: remove
15483         properties from fields.
15485 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15487         * org.el (org-shiftcontrolup, org-shiftcontroldown): New commands
15488         to use `org-clock-timestamps-change'.
15490 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15492         * org.el (org-timestamp-up, org-timestamp-down): Mention time
15493         changes in the docstring.
15495 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15497         * org-clock.el (org-clock-remove-empty-clock-drawer): New function
15498         to remove empty clock drawer.
15499         (org-clock-out-hook): Add the new function as a hook.
15501 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15503         * org-list.el (org-list-in-valid-context-p): Use `org-in-block-p'.
15505 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15507         * org.el (org-in-block-p): New function.
15509         * org-footnote.el (org-footnote-forbidden-blocks): New variable.
15510         (org-footnote-in-valid-context-p): New function.
15511         (org-footnote-at-reference-p): Use new function.  Allow inline
15512         footnotes to start at bol.
15514 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15516         * org-lparse.el (org-lparse-use-flashy-warning): New defcustom.
15517         (org-lparse-warn): Use it.
15519 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15521         * org-ascii.el (org-export-as-utf8): Fix call to
15522         `org-called-interactively-p': it requires an argument.  Also fix
15523         the docstring.
15525 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15527         * ob-lilypond.el (show-all): Declaring function from outline.el.
15528         (org-babel-default-header-args:lilypond): Declared.
15529         (ly-process-basic): Use the appropriate prefix for the temporary
15530         file, and don't call a function from ob-dot.el.
15531         (ly-version): Let-bind a free variable.
15533 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15535         * ob-lilypond.el: New file.
15537 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15539         * org-publish.el
15540         (org-publish-cache-file-needs-publishing): Only check against .org
15541         files.
15543 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15545         * org.el (org-mode): Use `org-default' as the default face in
15546         org-mode.
15548 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15550         * org-publish.el
15551         (org-publish-cache-file-needs-publishing): Takes care of more
15552         recently included files, returning `t' in case the file including
15553         them needs to be republished.
15555 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15557         * org-exp.el (org-export-preprocess-string): If the last subtree
15558         is a task, footnotes may be removed along with the subtree.
15559         This patch ensures footnotes are put at the end of the buffer after the
15560         subtree has been removed.
15562 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15564         * org-footnote.el (org-footnote-at-reference-p): Verify that what
15565         looks like a footnote doesn't belong to a link.
15566         (org-footnote-next-reference-or-definition): Check more strictly
15567         footnote definitions.
15569 2011-07-28  Deech  <deech@deech-ThinkPad-X200.(none)>  (tiny change)
15571         * ob-tangle.el (org-babel-tangle): Ignore errors thrown by
15572         language modes.
15574 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15576         * ob-python.el (org-babel-python-evaluate-session): Inhibit return
15577         of the eoe string during session evaluation.
15579 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15581         * ob-python.el (org-babel-python-evaluate-session):
15582         Enough newlines to ensure a return when ":results output :session".
15584 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15586         * ob-python.el (org-babel-python-evaluate-session): Introduced a
15587         new local function for sending input with a slight delay to allow
15588         pythong to re-draw the prompt.  No longer removing newlines inside
15589         code block bodies (was due to a defective regexp).
15591 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15593         * org-table.el (org-table-time-seconds-to-string):
15594         Use `org-format-seconds' instead of `format-seconds'.
15596 2011-07-28  David Maus  <dmaus@ictsoc.de>
15598         * org-publish.el (org-publish-cache-ctime-of-src): Properly handle
15599         relative symlinks.
15601 2011-07-28  David Maus  <dmaus@ictsoc.de>
15603         * org-latex.el (org-export-latex-preprocess): Use function
15604         argument instead of dynamically scoped symbol.
15606 2011-07-28  David Maus  <dmaus@ictsoc.de>
15608         * org-freemind.el (org-freemind-convert-links-helper)
15609         (org-freemind-convert-text-p, org-freemind-write-mm-buffer)
15610         (org-freemind-get-node-style): Use org-string-match-p for backward
15611         compatibility with Emacs 22.
15613 2011-07-28  David Maus  <dmaus@ictsoc.de>
15615         * org-html.el (org-export-html-protect-char-alist): Add missing
15616         :group keyword in defcustom.
15618 2011-07-28  David Maus  <dmaus@ictsoc.de>
15620         * ob-haskell.el (org-babel-haskell-export-to-lhs):
15621         Call `kill-buffer' with argument indiciating to kill current
15622         buffer.  Emacs 22 compatibility.
15624 2011-07-28  David Maus  <dmaus@ictsoc.de>
15626         * org-macs.el (org-without-partial-completion):
15627         Toggle partial-completion-mode only if it is turned on.
15629 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15631         * org.el (org-add-planning-info): Fix issues with timestamps not
15632         being inserted at the same position.
15634 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15636         * org-table.el (org-table-time-string-to-seconds)
15637         (org-table-time-seconds-to-string): New functions.
15638         (org-table-eval-formula): Implement the "T" (time) flag for
15639         computing durations.
15641 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
15643         * org.el (org-modules): Add org-lparse and org-odt as contrib
15644         modules.
15646 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15648         * org.el (org-fontify-meta-lines-and-blocks-1): Include header
15649         lines.
15650         (org-additional-option-like-keywords): Include data as a synonym
15651         for results.
15653 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15655         * ob.el (org-babel-sha1-hash): Improving code layout and removing
15656         export-variable headers in cache sha1.
15658 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15660         * ob-ref.el (org-babel-ref-goto-headline-id): Don't let `org-id'
15661         rescan all IDs when trying to resolve a reference.
15663 2011-07-28  Julien Barnier  <julien@nozav.org>
15665         * org.el (org-fontify-meta-lines-and-blocks-1): Fix test for src
15666         blocks lang attribute.
15668 2011-07-28  Eric S Fraga  <e.fraga@ucl.ac.uk>
15670         * org-latex.el (org-export-latex-timestamp-inactive-markup):
15671         New option to allow different markup for inactive timestamps.
15673 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15675         * ob-org.el (org-babel-expand-body:org): Implemented this
15676         function, only action is to expand variables.
15677         (org-babel-execute:org): Uses the new body-expansion function.
15679 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15681         * org-list.el (org-list-full-item-re): Allow counter and check-box
15682         to be separated by white spaces.
15683         (org-list-struct-apply-struct): Reflect changes made to
15684         `org-list-full-item-re'.
15686         * org-html.el (org-html-export-list-line): Recognize spaces
15687         between counter and check-boxes as valid.
15689         * org-docbook.el (org-export-docbook-list-line): Ditto.
15691 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15693         * org-list.el (org-list-insert-item): Make sure point is moved to
15694         the specified POS before starting the function.
15696 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15698         * org.el (org-activate-footnote-links): Properly fontify inline
15699         footnotes.
15700         (org-set-font-lock-defaults): Apply changes to previous function.
15702 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15704         * org-footnote.el (org-footnote-at-reference-p): First check if
15705         point is at the beginning of a footnote.  Indeed `org-in-regexp'
15706         first checks backwards and might find an incorrect footnote if
15707         they are side-by-side.
15709 2011-07-28  Michael Brand  <michael.ch.brand@gmail.com>
15711         * org-agenda.el (org-agenda-compact-blocks): Improve docstring.
15712         (org-agenda-block-separator): Add nil to docstring and customization.
15713         (org-prepare-agenda): Skip agenda block separator additionally if
15714         `org-agenda-block-separator' is nil.
15715         (org-agenda-overriding-header): Improve docstring.
15717 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15719         * org.el (org-set-tags): Remove useless
15720         `org-without-partial-completion'.
15722 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15724         * org-footnote.el (org-fill-paragraph): Declare function for the
15725         compiler.
15727 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15729         * ob-ref.el (org-narrow-to-subtree): Declare unknown function.
15731 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15733         * ob.el (org-babel-inline-lob-one-liner-regexp): Declare variable
15734         to appease compiler.
15736 2011-07-28  Michael Markert  <markert.michael@googlemail.com>
15738         * ob.el (org-babel-sha1-hash): Adding optional argument KIND to
15739         all `org-called-interactively-p' function invocations.
15741         * org-agenda.el (org-agenda-redo): Adding optional argument KIND
15742         to all `org-called-interactively-p' function invocations.
15743         (org-agenda-show-1): Adding optional argument KIND to all
15744         `org-called-interactively-p' function invocations.
15745         (org-agenda-set-tags): Adding optional argument KIND to all
15746         `org-called-interactively-p' function invocations.
15748         * org-ascii.el (org-export-as-latin1): Adding optional argument
15749         KIND to all `org-called-interactively-p' function invocations.
15750         (org-export-as-latin1-to-buffer): Adding optional argument KIND to
15751         all `org-called-interactively-p' function invocations.
15752         (org-export-as-utf8-to-buffer): Adding optional argument KIND to all
15753         `org-called-interactively-p' function invocations.
15754         (org-export-region-as-ascii): Adding optional argument KIND to all
15755         `org-called-interactively-p' function invocations.
15757         * org-docbook.el (org-export-region-as-docbook): Adding optional
15758         argument KIND to all `org-called-interactively-p' function
15759         invocations.
15761         * org-html.el (org-export-region-as-html): Adding optional
15762         argument KIND to all `org-called-interactively-p' function
15763         invocations.
15765         * org-latex.el (org-export-region-as-latex): Adding optional
15766         argument KIND to all `org-called-interactively-p' function
15767         invocations.
15769         * org-table.el (org-table-blank-field): Adding optional argument
15770         KIND to all `org-called-interactively-p' function invocations.
15771         (org-table-current-column): Adding optional argument KIND to all
15772         `org-called-interactively-p' function invocations.
15773         (org-table-current-dline): Adding optional argument KIND to all
15774         `org-called-interactively-p' function invocations.
15775         (org-table-sort-lines): Adding optional argument KIND to all
15776         `org-called-interactively-p' function invocations.
15777         (org-table-sum): Adding optional argument KIND to all
15778         `org-called-interactively-p' function invocations.
15779         (org-table-rotate-recalc-marks): Adding optional argument KIND to
15780         all `org-called-interactively-p' function invocations.
15781         (org-table-eval-formula): Adding optional argument KIND to all
15782         `org-called-interactively-p' function invocations.
15783         (orgtbl-send-table): Adding optional argument KIND to all
15784         `org-called-interactively-p' function invocations.
15786         * org.el (org-mode): Adding optional argument KIND to all
15787         `org-called-interactively-p' function invocations.
15788         (org-copy-subtree): Adding optional argument KIND to all
15789         `org-called-interactively-p' function invocations.
15790         (org-paste-subtree): Adding optional argument KIND to all
15791         `org-called-interactively-p' function invocations.
15792         (org-store-link): Adding optional argument KIND to all
15793         `org-called-interactively-p' function invocations.
15794         (org-todo): Adding optional argument KIND to all
15795         `org-called-interactively-p' function invocations.
15796         (org-occur): Adding optional argument KIND to all
15797         `org-called-interactively-p' function invocations.
15799 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15801         * org-footnote.el (org-footnote-action): Offer to create
15802         definition when none is found.
15804 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15806         * org-footnote.el (org-footnote-re): Avoid matching inactive
15807         time-stamps or check-box cookies.
15808         (org-footnote-next-reference-or-definition): Adapt to the new regexp.
15810 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15812         * org-exp.el (org-export-preprocess-string): If the last subtree
15813         is commented, footnotes inserted during normalizing at the end of
15814         the buffer may get deleted.  This patch ensures deletion comes
15815         first, normalization second.
15817 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15819         * org-exp.el (org-export-footnotes-data): Change docstring.
15820         (org-export-footnotes-seen): Rename from
15821         org-export-footnotes-markers.
15823         * org-ascii.el (org-export-as-ascii): Apply change.
15825         * org-docbook.el (org-export-as-docbook): Apply change.
15827         * org-footnote.el (org-footnote-normalize): Apply change.
15829         * org-html.el (org-export-as-html): Apply change.
15831         * org-latex.el (org-export-as-latex): Apply change.
15833 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15835         * org-latex.el (org-export-latex-preprocess): Rely on
15836         `org-export-footnotes-markers' to retrieve definition of the
15837         current footnote during export.
15839 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15841         * org-footnote.el (org-footnote-normalize): Remember footnotes
15842         seen so far by the exporter when choosing the new marker.
15844 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15846         * org-footnote.el (org-footnote-normalize): Make use of
15847         `org-footnote-insert-pos-for-preprocessor'.
15849 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15851         * org-footnote.el (org-footnote-normalize): Add `org-footnote'
15852         property to footnote markers when preparing for exportation.
15854         * org-html.el (org-export-as-html): Read new property to decide
15855         when to export a footnote.
15857         * org-docbook.el (org-export-as-docbook): Read new property to
15858         decide when to export a footnote.
15860         * org-latex.el (org-export-latex-preprocess): Ensure footnote at
15861         column 0 cannot end a list containing it by adding
15862         `original-indentation' property to it.
15864 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15866         * org-exp.el (org-export-preprocess-string): Normalize footnotes
15867         before marking lists ending.
15869         * org-latex.el (org-export-latex-preprocess): Work with labels as
15870         strings and not as numbers.
15872 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15874         * org-docbook.el (org-export-docbook-footnote-separator):
15875         New variable.
15876         (org-export-as-docbook): Add a separator between footnotes.
15878         * org-html.el (org-export-html-footnote-separator): New variable.
15879         (org-export-as-html): Add a separator between footnotes.
15881         * org-latex.el (org-export-latex-footnote-separator):
15882         New variable.
15883         (org-export-latex-preprocess): Add a separator between footnotes.
15885 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15887         * org-exp.el (org-export-footnotes-markers)
15888         (org-export-footnotes-data): New variables.
15889         (org-export-preprocess-string): Use a more explicit argument.
15891 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15893         * org-footnote.el (org-footnote-goto-definition): Now, determining
15894         if point is at a footnote reference is entirely determined by
15895         `org-footnote-at-reference-p'.  No need to check if pattern isn't
15896         at beginning of the line elsewhere.
15898 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15900         * org-footnote.el (org-footnote-next-reference-or-definition):
15901         New function.
15903         * org.el (org-activate-footnote-links): Activate the whole
15904         footnote, but only fontify its label.
15906 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15908         * org-footnote.el (org-footnote-normalize): Make use of changes to
15909         `org-footnote-at-reference-p' and creation of various functions..
15910         Also comment code.
15911         (org-footnote-get-next-reference, org-footnote-delete-references)
15912         (org-footnote-delete-definitions): New functions.
15913         (org-footnote-goto-previous-reference, org-footnote-all-labels)
15914         (org-insert-footnote-reference-near-definition, org-footnote-delete):
15915         Rewrite to use org-footnote-get-next-reference.
15917 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15919         * org-footnote.el (org-footnote-re): Don't end an inline footnote
15920         at unrelated closing square brackets.
15921         (org-footnote-at-reference-p): Improve accuracy of the function to
15922         determine if point is at a reference and to extract definition of an
15923         inline footnote.
15924         (org-footnote-all-labels, org-footnote-action, org-footnote-delete)
15925         (org-footnote-auto-adjust-maybe): Make use of previous function.
15927 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15929         * org.el (org-deadline, org-schedule):
15930         keep warning cookie when rescheduling/redeadlining.
15931         (org-time-stamp): Fix problem with warning cookie.
15933 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15935         * ob-clojure.el (org-babel-execute:clojure): Force escaping of
15936         clojure source into elisp source.
15938 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15940         * ob.el (org-babel-script-escape): Treats {} in the same manner as
15941         [] and allows for forcing string conversion.
15943 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15945         * org-exp.el (org-export-select-backend-specific-text):
15946         Strip protective commas from literal code blocks.
15948 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15950         * ob-ref.el (org-babel-ref-goto-headline-id): Fix bug.
15952 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15954         * ob-ref.el (org-babel-ref-goto-headline-id): Split out into its
15955         own function.
15956         (org-babel-ref-headline-body): Split out into its own function.
15957         (org-babel-ref-resolve): Using new functions, and alignment.
15959         * ob.el (org-babel-ref-goto-headline-id): Declare function.
15960         (org-babel-ref-headline-body): Declare function.
15961         (org-babel-expand-noweb-references): Now expands noweb references to
15962         headlines during expansion.
15964 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15966         * ob-ref.el (org-babel-ref-resolve): Now resolves references to
15967         headlines by either global or custom id, in which case the
15968         contents of the headline are returned literally.
15970 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15972         * ob-exp.el (org-babel-in-example-or-verbatim): Also check for in
15973         verbatim emphasis.
15974         (org-babel-exp-lob-one-liners): Cleaner checking for escaped call
15975         lines.
15977 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15979         * org-list.el (org-cycle-item-indentation): Cycling back to
15980         original position deleted any additional information in the item,
15981         like a counter or a tag.
15983 2011-07-28  Pieter Praet  <pieter@praet.org>
15985         * org-crypt.el (org-crypt-disable-auto-save): New defcustom.
15986         (org-decrypt-entry): Before decrypting, check whether
15987         `auto-save-mode' is enabled for the current buffer, and act on it
15988         according to how `org-crypt-disable-auto-save' is set.  Remove
15989         comment re "encrypt[ing] Org auto-saved buffers".  Remove on-init
15990         check for `auto-save-default'.
15992 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15994         * ob.el (org-babel-merge-params): Ensure variable parameters are
15995         not reversed.
15997 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15999         * ob.el (org-babel-insert-result): Fix results insertion for
16000         inline blocks which happen to start a line.
16002 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16004         * ob-exp.el (org-babel-exp-lob-one-liners): Fix the logic checking
16005         if a call line is commented.
16007 2011-07-28  Vincent Belaïche  <vincentb1@users.sourceforge.net>
16009         * org.el (org-read-property-name): Propose default property name.
16011 2011-07-28  Achim Gratz  <stromeko@nexgo.de>
16013         * org.el (org-log-into-drawer): Correct typo.
16015         * org-clock.el (org-clock-into-drawer): New function to change the
16016         location of clock events based on properties CLOCK_INTO_DRAWER or,
16017         as fallback, LOG_INTO_DRAWER, like it is already possible for
16018         state change logs.
16020         * org-clock.el (org-clock-jump-to-current-clock): Add statement to
16021         let clause to bind `org-clock-into-drawer' to result of function
16022         eval.
16024         * org-clock.el (org-clock-find-position): Add statement to let
16025         clause to bind `org-clock-into-drawer' to result of function eval,
16026         change let to let* since the binding is used later in the same
16027         clause.
16029 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16031         * ob-lob.el (require): Ensure 'cl is loaded during compilation so
16032         we can use flet.
16034 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16036         * ob-lob.el (org-babel-lob-get-info): Correctly indent results of
16037         non-inline call lines.
16039 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16041         * ob-exp.el (org-babel-exp-lob-one-liners): Don't export inline
16042         call_ blocks which aren't whitespace padded.
16044 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16046         * ob.el (org-babel-merge-params): Do not reverse variable order,
16047         and be sure to increment variable index as appropriate.
16049 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16051         * ob-lob.el (org-babel-inline-lob-one-liner-regexp): Update to
16052         successfully match optional trailing header arguments in square
16053         brackets.
16054         (org-babel-lob-get-info): Update to match the new regexp.
16056 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16058         * ob-lob.el (org-babel-lob-get-info): If the arguments are empty,
16059         then allow them to be so.
16061 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16063         * ob.el (org-babel-merge-params): If variables are not named they
16064         are assigned in order.
16066 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16068         * ob.el: Remove code comment about online documentation.
16070         * ob-exp.el: Remove code comment about online documentation.
16072         * ob-lob.el: Remove code comment about online documentation.
16074 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16076         * org-exp.el (org-export-format-source-code-or-example):
16077         Fix signature of org-<backend>-format-source-code-or-example function.
16079 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16081         * ob.el (org-babel-sha1-hash): Replace call to
16082         called-interactively-p with backwards-compatible interactive-p.
16084 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16086         * ob-exp.el (org-babel-exp-lob-one-liners):
16087         Appropriate replacement of inline call blocks with their results.
16089 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16091         * ob-lob.el (org-babel-inline-lob-one-liner-regexp): Removing this
16092         trailing space ensures that the insertion of the results looks
16093         nice.
16095         * ob.el (org-babel-insert-result): Insert inline lob line results
16096         as inline results.
16098 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16100         * ob-exp.el (org-babel-exp-lob-one-liners): Calculate length
16101         appropriately given the style (block or inline) of the lob line.
16103         * ob-lob.el (org-babel-block-lob-one-liner-regexp): New regexp
16104         specific for block lob lines.
16105         (org-babel-inline-lob-one-liner-regexp): New regexp specific for
16106         inline lob lines.
16107         (org-babel-lob-one-liner-regexp): Combination of two lob regexps.
16108         (org-babel-lob-get-info): Return info from *either* the block or
16109         inline lob lines.
16111 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16113         * ob-exp.el (org-babel-exp-lob-one-liners): Corrected the
16114         structure of the resulting info list.
16116         * ob-lob.el (org-babel-default-lob-header-args): Export the
16117         results of call lines by default.
16119 2011-07-28  Niels Giesen  <niels.giesen@gmail.com>  (tiny change)
16121         * org-icalendar.el (org-print-icalendar-entries): Add 'uid text
16122         property based on the ID property of the org entry to the first
16123         character of the diary entry.
16125 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16127         * org-footnote.el
16128         (org-footnote-insert-pos-for-preprocessor): New variable.
16129         (org-footnote-normalize): Use it.
16131 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16133         * org-exp.el (org-export-format-source-code-or-example):
16134         Simplify.  Also add `org-native-text' as a text property to the
16135         formatted text and throw error for unknown backends.
16137 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16139         * org-exp.el (org-export-format-source-code-or-example):
16140         Add support for: - custom formatters for existing backends - seamless
16141         plugging in of new backends.
16143 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16145         * org-exp.el (org-export-backends): New variable.
16146         (org-export-select-backend-specific-text): Use above
16147         variable.  Also mark text between #+BACKEND and
16148         #+BEGIN_BACKEND...#+END_BACKEND with org-native-text property.
16149         This text property is currently used only by the new line-oriented
16150         generic exporter (which is not yet part of the repo).
16152 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16154         * org-exp.el (org-export): Reserve keys 'o' and 'O' for
16155         OpenDocumentText export and bind them to `org-export-as-odt' and
16156         `org-export-as-odt-and-open'.
16158 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16160         * ob-exp.el (org-babel-exp-src-block): Less verbose when in batch
16161         mode.
16163 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16165         * ob-clojure.el (org-babel-execute:clojure): Convert vectors to
16166         lists before reading into emacs-lisp.
16168 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16170         * ob-C.el (ob-tangle): Initialize variable from `ob-tangle'.
16172         * ob-asymptote.el (ob-tangle): Initialize variable from `ob-tangle'.
16174         * ob-awk.el (ob-tangle): Initialize variable from `ob-tangle'.
16176         * ob-clojure.el (ob-tangle): Initialize variable from `ob-tangle'.
16178         * ob-haskell.el (ob-tangle): Initialize variable from `ob-tangle'.
16180         * ob-latex.el (ob-tangle): Initialize variable from `ob-tangle'.
16182         * ob-lisp.el (ob-tangle): Initialize variable from `ob-tangle'.
16184         * ob-ocaml.el (ob-tangle): Initialize variable from `ob-tangle'.
16186         * ob-perl.el (ob-tangle): Initialize variable from `ob-tangle'.
16188         * ob-python.el (ob-tangle): Initialize variable from `ob-tangle'.
16190         * ob-ruby.el (ob-tangle): Initialize variable from `ob-tangle'.
16192         * ob-tangle.el (ob-tangle): Initialize variable from `ob-tangle'.
16194 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16196         * ob-awk.el: New file.
16198 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16200         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
16201         Respects ":results verbatim".
16203 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16205         * org-agenda.el (org-float): Aliases for `diary-float'.
16207 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16209         * ob-python.el (org-babel-python-evaluate-session):
16210         Send comint-send-input after every line when interacting with an
16211         interactive python process.
16213 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16215         * org-list.el (org-reset-checkbox-state-subtree): Make the command
16216         more robust, and correctly update check-boxes in the whole
16217         sub-tree.
16218         (org-update-checkbox-count): Fix bug accumulating count of checkboxes
16219         when walking a subtree.
16220         (org-update-checkbox-count-maybe): Add an optional argument passed to
16221         org-update-checkbox-count.
16223 2011-07-28  Teodor Zlatanov  <tzz@lifelogs.com>
16225         * org.el (org-fontify-meta-lines-and-blocks): Ignore errors.
16227 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16229         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Respect the
16230         ":results scalar" header argument combination.
16232 2011-07-28  Dan Davison  <dandavison7@gmail.com>
16234         * org-src.el: Append a space character to copied text so that the
16235         final text property change is picked up correctly.
16237 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16239         * ob-tangle.el (org-babel-tangle-file): Use the new argument list
16240         to org-babel-tangle.
16241         (org-babel-tangle): Now when called with a prefix argument, only the
16242         current code block is tangled.
16244 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16246         * org-list.el (org-list-parse-list): Replace transitional
16247         check-boxes with "[CBTRANS]" string during parsing.
16248         (org-list-to-generic): Use the new property `:cbtrans' to configure
16249         export string for transitional check-boxes.
16251 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16253         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
16254         Use stable internal `org-anniversary' instead of
16255         diary-anniversary.
16256         (org-class): New function.
16257         (org-diary-class): Use `org-class'.
16258         (org-anniversary, org-cyclic, org-date, org-block): New functions.
16260 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16262         * ob.el (org-babel-header-arg-names): Adding noweb-ref to the list
16263         of header argument names.
16265 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16267         * ob.el (org-babel-expand-noweb-references): Concatenating all
16268         bodies with the appropriate name or :noweb-ref header argument.
16270 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
16272         * org.el (org-find-dblock, org-clocktable-try-shift): Make regexp
16273         work also when #+begin line is indentex.
16275 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16277         * ob.el (org-babel-src-block-regexp): Babel: code block may have
16278         empty bodies.
16280 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16282         * org-macs.el (org-without-partial-completion): Avoid calling by
16283         name a function unknown to the compiler but explicitly checked by
16284         program logic.
16286 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16288         * org-mouse.el (org-agenda-earlier): Declaring previously unknown
16289         function.
16290         (org-agenda-later): Declaring previously unknown function.
16291         (org-agenda-mode-map): Declaring previously unknown variable.
16293         * org.el (org-read-date-analyze): Explicitly ignore the return
16294         value of a function.
16296 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16298         * org-agenda.el (org-agenda-mode): Globally replace
16299         buffer-substring-filters with filter-buffer-substring-functions.
16301         * org-indent.el (org-indent-mode): Globally replace
16302         buffer-substring-filters with filter-buffer-substring-functions.
16304 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16306         * org-ascii.el (org-export-as-ascii): Replacing '(λ...) with
16307         #'(λ...).
16309         * org-attach.el: Replacing '(λ...) with #'(λ...).
16310         (org-attach-commit): Replacing '(λ...) with #'(λ...).
16312         * org-exp.el: Replacing '(λ...) with #'(λ...).
16313         (org-export-handle-include-files): Replacing '(λ...) with #'(λ...).
16315         * org-html.el: Replacing '(λ...) with #'(λ...).
16316         (org-export-as-html): Replacing '(λ...) with #'(λ...).
16318         * org-mouse.el: Replacing '(λ...) with #'(λ...).
16319         (org-mouse-popup-global-menu): Replacing '(λ...) with
16320         (org-mode-hook): Replacing '(λ...) with #'(λ...).
16321         (org-agenda-mode-hook): Replacing '(λ...) with #'(λ...).
16323         * org-src.el: Replacing '(λ...) with #'(λ...).
16324         (org-src-mode-configure-edit-buffer): Replacing '(λ...) with #'(λ...).
16326         * org-table.el: Replacing '(λ...) with #'(λ...).
16327         (org-table-fix-formulas-confirm): Replacing '(λ...) with #'(λ...).
16329         * org.el: Replacing '(λ...) with #'(λ...).
16330         (org-confirm-shell-link-function): Replacing '(λ...) with
16331         (org-category): Replacing '(λ...) with #'(λ...).
16333 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16335         * org.el (mailcap-parse-mailcaps): Declaring functions used by
16336         `org-open-file'.
16337         (mailcap-extension-to-mime): Declaring functions used by
16338         `org-open-file'.
16339         (mailcap-mime-info): Declaring functions used by `org-open-file'.
16341 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16343         * org-agenda.el (org-agenda-redo): Replacing call to now-defunct
16344         function `interactive-p'.
16345         (org-agenda-show-1): Replacing call to now-defunct function
16346         `interactive-p'.
16347         (org-agenda-set-tags): Replacing call to now-defunct function `interactive-p'.
16349         * org-ascii.el: Replacing call to now-defunct function
16350         `interactive-p'.
16351         (org-export-as-latin1): Replacing call to now-defunct function
16352         `interactive-p'.
16353         (org-export-as-latin1-to-buffer): Replacing call to now-defunct
16354         function `interactive-p'.
16355         (org-export-as-utf8): Replacing call to now-defunct function
16356         `interactive-p'.
16357         (org-export-as-utf8-to-buffer): Replacing call to now-defunct function
16358         `interactive-p'.
16359         (org-export-region-as-ascii): Replacing call to now-defunct
16360         function `interactive-p'.Replacing call to now-defunct function
16361         `interactive-p'.
16363         * org-docbook.el: Replacing call to now-defunct function
16364         `interactive-p'.
16365         (org-export-region-as-docbook): Replacing call to now-defunct
16366         function `interactive-p'.Replacing call to now-defunct function
16367         `interactive-p'.
16369         * org-html.el: Replacing call to now-defunct function
16370         `interactive-p'.
16371         (org-export-region-as-html): Replacing call to now-defunct
16372         function `interactive-p'.Replacing call to now-defunct function
16373         `interactive-p'.
16375         * org-latex.el: Replacing call to now-defunct function
16376         `interactive-p'.
16377         (org-export-region-as-latex): Replacing call to now-defunct
16378         function `interactive-p'.Replacing call to now-defunct function
16379         `interactive-p'.
16381         * org-macs.el: Replacing call to now-defunct function
16382         `interactive-p'.
16383         (org-called-interactively-p): Replacing call to now-defunct
16384         function `interactive-p'.Replacing call to now-defunct function
16385         `interactive-p'.
16387         * org-table.el: Replacing call to now-defunct function
16388         `interactive-p'.
16389         (org-table-blank-field): Replacing call to now-defunct function
16390         `interactive-p'.
16391         (org-table-current-column): Replacing call to now-defunct function
16392         `interactive-p'.Replacing call to now-defunct function
16393         `interactive-p'.
16394         (org-table-current-dline): Replacing call to now-defunct function
16395         `interactive-p'.Replacing call to now-defunct function
16396         `interactive-p'.
16397         (org-table-sort-lines): Replacing call to now-defunct function
16398         `interactive-p'.
16399         (org-table-sum): Replacing call to now-defunct function
16400         `interactive-p'.
16401         (org-table-rotate-recalc-marks): Replacing call to now-defunct
16402         function `interactive-p'.
16403         (org-table-eval-formula): Replacing call to now-defunct function
16404         `interactive-p'.
16405         (orgtbl-send-table): Replacing call to now-defunct function `interactive-p'.
16407         * org.el: Replacing call to now-defunct function `interactive-p'.
16408         (org-mode): Replacing call to now-defunct function
16409         `interactive-p'.
16410         (org-copy-subtree): Replacing call to now-defunct function
16411         `interactive-p'.
16412         (org-paste-subtree): Replacing call to now-defunct function
16413         `interactive-p'.
16414         (org-store-link): Replacing call to now-defunct function
16415         `interactive-p'.
16416         (org-todo): Replacing call to now-defunct function `interactive-p'.
16417         (org-occur): Replacing call to now-defunct function `interactive-p'.
16419 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16421         * ob-R.el (ess-local-process-name): This variable wasn't known to
16422         be defined.
16424         * ob-lisp.el (org-babel-lisp-dir-fmt): This defcustom now has a
16425         group specified.
16427         * ob-tangle.el (org-bracket-link-regexp): This variable wasn't
16428         known to be defined.
16429         (org-babel-tangle-combine-named-blocks): Roll my own version of a
16430         forbidden common lisp function.
16432         * ob.el (org-babel-sha1-hash): Using a non-deprecated version of
16433         called-interactively.
16435 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16437         * org-latex.el (org-export-latex-tables): Check for the
16438         "multiline" option and set the `floatp' option to true when
16439         multicolumn tables are requested.
16441 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16443         * org-html.el (org-export-as-html, org-html-level-start):
16444         Only convert section number underscores to dashes.
16446 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16448         * org-agenda.el (org-agenda-bulk-action): Fix bug caused by
16449         `days-to-time, converting relative to 1 BC, while the code assumed
16450         it would return a time relative to 1970.
16452 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16454         * ob-tangle.el (org-babel-tangle-combine-named-blocks): No longer
16455         inserting newlines between appended code blocks.
16457 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16459         * ob-exp.el: We may no longer need to export names along with code
16460         blocks.
16462 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16464         * org-exp-blocks.el (org-export-blocks-preprocess):
16465         Ensure balanced nested begin/end blocks in block bodies.
16467 2011-07-28  Dan Davison  <dandavison7@gmail.com>
16469         * org-latex.el: Add -shell-escape to pdflatex commands.
16471 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16473         * ob-tangle.el (org-babel-tangle-named-block-combination):
16474         Block combination can now take a number of values.
16475         (org-babel-tangle-combine-named-blocks): More sophisticated block
16476         combination behavior.
16478 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16480         * ob-tangle.el (org-babel-tangle-do-combine-named-blocks):
16481         Switch to turn on the combination of code blocks of the same name.
16482         (org-babel-tangle-combine-named-blocks): Combine blocks of the same
16483         name.
16485 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16487         * ob-ruby.el (xmp): Declaring this function to appease the
16488         compiler.
16489         (org-babel-execute:ruby): "xmp" result option for outputting
16490         annotated source code.
16492 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>  (tiny change)
16494         * org-list.el (org-list-to-latex): The enumerate environment in
16495         latex increments the counter before using it.  Therefore, org-mode
16496         should set the enumeration counter to the desired value minus one.
16498 2011-07-28  Michael Brand  <michael.ch.brand@gmail.com>  (tiny change)
16500         * org.el (org-toggle-heading): More comments and fix number of
16501         stars when toggling from list items.
16503 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
16505         * org-taskjuggler.el (org-taskjuggler-clean-effort): Handle any
16506         effort that is accepted by `org-duration-string-to-minutes´.
16508 2011-07-28  Julien Barnier  <julien@nozav.org>
16510         * ob-sh.el (org-babel-sh-evaluate): When sending input to comint,
16511         wait until previous line execution is finished.
16513         * ob-comint.el (org-babel-comint-with-output): When looking for
16514         end-of-evaluation indicator, search forward for the indicator
16515         before searching forward for the prompt.
16517 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16519         * org-entities.el (org-entities): Fix HTML entity for degree.
16521 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16523         * org.el (org-auto-align-tags): Change docstring.
16524         (org-update-parent-todo-statistics): Keep tags aligned even when
16525         statistics cookies are shifting them.
16527         * org-list.el (org-update-checkbox-count): Keep tags aligned even
16528         when statistics cookies are shifting them.
16530 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
16532         * ob.el (org-babel-sha1-hash): Don't modify info argument by
16533         side-effect when sorting result-params list.
16535 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
16537         * ob.el (org-babel-result-regexp): Use non-shy group around
16538         `org-babel-data-names'.
16540 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16542         * org.el (org-insert-link): Set truncate-line in the *Org Link*
16543         buffer and make sure that it really is set there.
16545 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16547         * ob-lisp.el (org-babel-lisp-dir-fmt): Defcustom for use in
16548         changing how/if the current directory is represented to lisp code.
16549         (org-babel-execute:lisp): More general handling of the default
16550         directory value.
16552 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16554         * ob-lisp.el (org-babel-execute:lisp): Setting the value of
16555         *default-pathname-defaults* to either the value of the :dir header
16556         argument or the directory of the containing Org-mode file.
16558 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16560         * ob-lisp.el (org-babel-execute:lisp): No real functional change,
16561         just aesthetic.
16563 2011-07-28  Sébastien Delafond  <sdelafond@gmail.com>  (tiny change)
16565         * org.el (org-mode-flyspell-verify): This is useful when using
16566         flyspell with a non-English dictionary, or if some of your
16567         keywords are in another language.
16569 2011-07-28  David Maus  <dmaus@ictsoc.de>
16571         * org-exp.el (org-export): Use new compatibility function
16572         `org-activate-mark'.
16574         * org-compat.el (org-activate-mark): New function.
16575         Provide `activate-mark' if not present (e.g. Emacs 22).
16577 2011-07-28  David Maus  <dmaus@ictsoc.de>
16579         * org-table.el (org-table-follow-field-mode): Declare variable to
16580         keep byte compiler happy.
16582 2011-07-28  David Maus  <dmaus@ictsoc.de>
16584         * org-footnote.el (org-id-uuid): Declare function, silence byte
16585         compiler.
16587 2011-07-28  David Maus  <dmaus@ictsoc.de>
16589         * org-bibtex.el (org-bibtex-headline): Don't use equalp at
16590         run-time, compare downcased strings.
16592 2011-07-28  David Maus  <dmaus@ictsoc.de>
16594         * org-bibtex.el (org-id-locations): Declare variable to silence
16595         byte compiler.
16597 2011-07-28  David Maus  <dmaus@ictsoc.de>
16599         * org-id.el (org-id-locations): Fix docstring, remove reference to
16600         non-existent option.
16602 2011-07-28  David Maus  <dmaus@ictsoc.de>
16604         * org.el (org-self-insert-command): Use `delete-char' instead of
16605         `delete-backward-char'.
16607         * org-table.el (orgtbl-self-insert-command): Ditto.
16609 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16611         * org-latex.el (org-export-latex-special-chars): Save match data
16612         when checking for table.el table.
16614 2011-07-28  David Maus  <dmaus@ictsoc.de>
16616         * org.el (org-re-property): Move before its first use.
16618 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16620         * org-latex.el (org-export-latex-preprocess):
16621         Add `original-indentation' property to footnotes so they cannot
16622         possibly end a list by being less indented than the item they
16623         belong to.
16625 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16627         * ob-lisp.el (org-babel-expand-body:lisp): No longer wraps biddies
16628         in `progn'.
16629         (org-babel-execute:lisp): Wraps bodies in `progn' as they are passed
16630         to swank.
16632 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16634         * org-clock.el (org-clocktable-write-default): Implement adding
16635         property columns to the clock table.
16637 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16639         * org.el (org-toggle-item): Move parenthesis to correct location.
16641 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16643         * org.el (org-default-priority):
16644         (org-priority-start-cycle-with-default): Improve docstring.
16645         (org-priority): Throw error when priority is out of range.
16647 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16649         * org.el (org-self-insert-command): Catch the case of
16650         `buffer-undo-list' eq t.
16652 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16654         * org.el (org-toggle-heading): Region should be considered as made
16655         of full lines, without the last one if region-end is at bol.
16656         Removed unused variables.  Refactored and commented code.
16658 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16660         * org.el (org-toggle-item): When region includes an headline less
16661         indented than first one, set it as the new reference.
16663 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16665         * org-list.el (org-list-to-subtree): If the list is before first
16666         heading and `org-odd-levels-only' is non-nil, the first item gets
16667         two stars instead of one.
16669         * org.el (org-reduced-level): A level of 0 was reduced to 1 with
16670         `org-odd-levels-only' non-nil.
16672 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16674         * org.el (org-toggle-item): Converting an heading to an item would
16675         sometimes insert unnecessary spaces before it, and unwanted space
16676         with `org-indent-mode' on.  Changing some text into an item
16677         wouldn't always preserve indentation.
16679 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16681         * org-capture.el (org-capture-current-plist): Improve docstring.
16682         (org-capture-put): Add docstring.
16683         (org-capture-get): Add docstring.
16684         (org-capture-member): Add LOCAL argument.  Add docstring.
16685         (org-capture-set-target-location): Store the time received from a
16686         date prompt into the :prompt-time property.
16688 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16690         * org-exp.el (org-export-mark-list-properties): Even if context is
16691         invalid, mark list item with `list-context' property.
16693         * org-list.el (org-list-forbidden-blocks): Add exporters specific
16694         blocks to the list of forbidden blocks.
16696 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16698         * org-list.el (org-sort-list): Function tries to intern
16699         getkey-func before it is defined, so it's always nil.
16701 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16703         * org.el (org-babel-load-languages): Adding ob-awk to the list of
16704         executable languages.
16706 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16708         * org-table.el (org-table-get-field): Make sure the new field
16709         content is at least one space character.
16711 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16713         * org-crypt.el: Check for `daemonp' before using it.
16715 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16717         * ob-sh.el (ob-ref): Uses `ob-ref' to resolve the value of the
16718         :stdin header argument.
16719         (org-babel-execute:sh): Use the :stdin header argument.
16720         (org-babel-sh-var-to-sh): Split the bulk of this function off into a
16721         new sub-function.
16722         (org-babel-sh-var-to-string): New function for converting elisp
16723         values to strings that make sense for parsing with sh.
16724         (org-babel-sh-evaluate): Adding "stdin" option to session and
16725         external evaluation options.
16727 2011-07-28  Roland Kaufmann  <rlndkfmn+orgmode@gmail.com>  (tiny change)
16729         * org-exp.el (org-remove-formatting-on-newlines-in-region):
16730         New function.
16731         (org-export-format-source-code-or-example):
16732         Call `org-remove-formatting-on-newlines-in-region'.
16734 2011-07-28  David Maus  <dmaus@ictsoc.de>
16736         * org.el (org-entry-put): Prevent adding of extra space to value
16737         if property already exists.
16739 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16741         * org-html.el (org-export-as-html): Don't expand non-data lines of
16742         table.el tables.
16743         (org-html-expand): Remove the (buggy) test for non-data lines
16744         in table.el tables.  The test is now done as part of
16745         org-export-as-html.
16746         (org-format-table-table-html-using-table-generate-source):
16747         Add test for spanning of cells in table.el tables using
16748         table.el's own library routine.  Optionally suppress export of
16749         simple table.el tables.
16750         (org-format-table-html): Remove the (buggy) test for spanned
16751         table.el tables.  The test is now done as part of
16752         org-format-table-table-html-using-table-generate-source.
16754 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16756         * org-latex.el (org-export-latex-special-chars): Do nothing in
16757         table.el tables.
16759 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16761         * org-capture.el (org-capture): Ignore errors when creating a
16762         link.
16764 2011-07-28  Nick Dokos  <nick@dokosmarshall.org>  (tiny change)
16766         * org-exp.el (org-export-define-heading-targets): Use dash instead
16767         of underscore to make labels valid.
16769 2011-07-28  Dan Davison  <dandavison7@gmail.com>
16771         * ob-R.el (org-babel-R-write-object-command): Ensure that all data
16772         is written to the results file before Emacs notices that the file
16773         exists.
16775 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16777         * ob-exp.el (org-babel-exp-code): Remove usage of a macro which is
16778         defined locally on my system, but not globally in Emacs.
16780 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16782         * ob-exp.el (org-babel-exp-do-export): Use `org-babel-exp-code' to
16783         generate code block output.
16784         (org-babel-exp-code): Re-create the code block body for exporting
16785         source code.
16787 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
16789         * org.el (org-read-date): Bury Calendar buffer after using it for
16790         selecting a date.
16792 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16794         * org-list.el (org-list-separating-blank-lines-number):
16795         Fix confusion between point and item beginning.  Now, if no
16796         information is available, truly follow user preference when it
16797         inserts blank lines manually.
16798         (org-list-insert-item): Send correct argument to the preceding
16799         function.
16801 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16803         * ob.el (org-babel-src-block-regexp): Keep the now-mandatory
16804         newline inside of the code block body.
16806 2011-07-28  Sean O'Halpin  <sean.ohalpin@gmail.com>  (tiny change)
16808         * ob.el: Avoid spurious matches to literal.
16810 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16812         * org.el (org-indent-line-function): Don't include #+include
16813         lines.
16815 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16817         * ob-keys.el (org-babel-key-bindings): Adding key sequence for
16818         org-babel-check-src-block.
16820         * ob.el (org-babel-expand-src-block): Fit within 80 cols.
16821         (org-babel-edit-distance): Returns the edit distance of two
16822         strings.
16823         (org-babel-check-src-block): Check a code block for errors.
16825 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
16827         * org-capture.el (org-capture-templates): Fix bug in customization
16828         setup.
16830 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16832         * org-table.el
16833         (org-table-exit-follow-field-mode-when-leaving-table): New option.
16834         (org-table-check-inside-data-field): New optional argument
16835         `noerror'.  When set, the function will only return nil instead of
16836         throwing an error.
16837         (org-table-edit-field): Interpret double prefix argument, and improve
16838         the properties of the editing window.
16839         (org-table-follow-field-mode): New minor mode.
16840         (org-table-follow-fields-with-editor): New function.
16842 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16844         * org-agenda.el (org-agenda-get-todos): Call `org-agenda-skip'
16845         first, then check if timestamps cause exclusion.
16847         * org.el (org-scan-tags): Call `org-agenda-skip' first, then check
16848         if timestamps cause exclusion.
16850 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16852         * org-list.el (org-list-full-item-re): Allow description term to
16853         have a newline character after the colons.
16855 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16857         * org-list.el (org-sort-list): No longer ignore with-case
16858         argument: the function sorted case-sensitively, regardless of
16859         argument.
16861 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16863         * ob-ref.el (org-babel-ref-resolve): Using the new result regexp.
16865         * ob.el (org-babel-data-names): Configurable list of names of
16866         data.
16867         (org-babel-result-regexp): Using new results regexp.
16869 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16871         * org.el (org-special-properties): Add CLOCKSUM to the special
16872         properties.
16874 2011-07-28  Robert P. Goldman  <rpgoldman@real-time.com>  (tiny change)
16876         * ob-exp.el (org-babel-exp-in-export-file):
16877         Bind `org-link-search-inhibit-query' to t to inhibit prompts.
16879 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16881         * org-exp.el (org-export-add-options-to-plist): Use the right
16882         match group.
16884 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16886         * org-latex.el (org-export-latex-preprocess): Protect index string.
16888 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16890         * org-latex.el (org-export-latex-preprocess): Pipe index entries
16891         through `org-export-latex-fontify-headline'.
16893 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16895         * org-exp.el (org-export-add-options-to-plist): Fix the option
16896         parser.
16898 2011-07-28  Robert P. Goldman  <rpgoldman@real-time.com>  (tiny change)
16900         * org-latex.el (org-export-latex-preprocess): Replace index
16901         entries.
16903 2011-07-28  Robert P. Goldman  <rpgoldman@real-time.com>  (tiny change)
16905         * org.el (org-structure-template-alist): Add an easy template for
16906         index (i), and move include file to I from i.
16908 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16910         * org-agenda.el (org-agenda-open-link): Pass entire text of agenda
16911         line to `org-offer-links-in-entry'.
16913 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16915         * org-bibtex.el (org-bibtex-search): New function.
16916         (org-bibtex-export-to-kill-ring): New function.  Export to kill
16917         ring.
16918         (org-bibtex-create-in-current-entry): New function
16919         (org-bibtex-create): Make it easier to add bib fields to an
16920         existing headline.
16921         (org-bibtex-export-arbitrary-fields)
16922         (org-bibtex-treat-headline-as-title): Fix typos
16923         (org-bibtex-fleshout): Don't upcase optional field; remove ":"
16924         from type completion.
16926 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16928         * org-bibtex.el (org-bibtex-treat-headline-as-title):
16929         New defcustom.
16930         (org-bibtex-headline): Only use headline text (not TODO or other
16931         metadata) to generate title field and auto key.
16932         (org-bibtex-fleshout): Allow user to choose whether to treat
16933         headline as title.
16935 2011-07-28  Tom Dye  <tsd@tsdye.com>
16937         * org-bibtex.el: Added crossref field to other fields.
16939 2011-07-28  Tom Dye  <tsd@tsdye.com>
16941         * org-bibtex.el: Add crossref option to incollection.
16943 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16945         * org-bibtex.el (org-bibtex-headline): Don't export TYPE property
16946         as field.
16948 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16950         * org-bibtex.el (org-bibtex-key-property): When storing key in ID,
16951         warn if a duplicate ID is generated.
16953 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16955         * org-bibtex.el (org-bibtex-tags): New variable.
16956         (org-bibtex-tags-are-keywords): New variable.
16957         (org-bibtex-no-export-tags): New variable.
16958         (org-bibtex-headline): Export tags as comma-separated bibtex
16959         keywords.
16960         (org-bibtex-read): Import bibtex keywords field as tags.
16962 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
16964         * org-publish.el (org-publish-find-date): Optimization.
16966 2011-07-28  Tassilo Horn  <tassilo@member.fsf.org>
16968         * org-gnus.el (org-gnus-follow-link): Don't request scan of group
16969         when following link.
16971 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
16973         * org-publish.el (org-publish-project-alist): Document new
16974         :sitemap-sans-extension property.
16975         (org-publish-org-sitemap): Use new `sitemap-sans-extension'
16976         setting.
16978 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16980         * org.el (org-remove-uninherited-tags): Rename from
16981         `org-remove-iniherited-tags'.
16982         (org-scan-tags): Fix typo in function call.
16983         (org-get-tags-at): Fix typo in function call.
16985 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16987         * org.el (org-get-tags-at): Don't include filetags if local is t.
16989 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16991         * ob-clojure.el (org-babel-expand-body:clojure): Qualify pp
16992         dispatch functions, wrap body in `(do )'.
16994 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16996         * org.el (org-fontify-meta-lines-and-blocks): Fix bug which
16997         resulted in the creation of multiple overlays in src blocks.
16999 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17001         * ob-clojure.el (org-babel-execute:clojure): If results are not
17002         readable by lisp, then return them as a string.
17004 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17006         * org-bibtex.el (org-bibtex): Now prompts for a file name.
17008 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17010         * org-bibtex.el (org-bibtex-create): Adding prefix argument which
17011         will result in prompting for optional fields.
17013 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17015         * org-bibtex.el (org-bibtex-headline): Rename flet function `get'
17016         which was causing compile problems.
17017         (org-bibtex-fleshout): Rename flet function `get' which was causing
17018         compile problems.
17019         (org-bibtex-write): Rename flet function `get' which was causing
17020         compile problems.
17022 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
17024         * org-taskjuggler.el (org-taskjuggler-clean-id): Make sure an id
17025         never starts with a number.
17027 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17029         * org-bibtex.el (org-bibtex-export-arbitrary-fields): New option.
17030         (org-bibtex-key-property): New option.
17031         (org-bibtex-put): Make use of new `org-bibtex-key-property'
17032         variable.
17033         (org-bibtex-headline): Make use of new
17034         `org-bibtex-export-arbitrary-fields' and `org-bibtex-key-property'
17035         variables.
17036         (org-bibtex-autokey): Make use of new `org-bibtex-key-property'
17037         variable.
17038         (org-bibtex-fleshout): Make use of new `org-bibtex-key-property'
17039         variable.
17040         (org-bibtex-write): Make use of new `org-bibtex-key-property'
17041         variable.
17043 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17045         * org-bibtex.el: Updating Copyright dates, author information,
17046         commentary and history notes.
17047         (org-bibtex-types): List of bibtex types with descriptions and
17048         required and optional fields.
17049         (org-bibtex-fields): List of bibtex fields with descriptions.
17050         (*org-bibtex-entries*): Special variable to hold parsed bibtex
17051         entries.
17052         (org-bibtex-autogen-keys): Custom variable controlling whether
17053         bibtex keys are automatically generated
17054         (org-bibtex-prefix): Custom variable allowing use of optional prefix
17055         for bibtex properties in Org-mode headlines.
17056         (org-bibtex-get): Helper function for accessing bibtex elements of a
17057         property list.
17058         (org-bibtex-put): Helper function for inserting bibtex element into
17059         a property list.
17060         (org-bibtex-headline): Return a bibtex entry of the given headline
17061         as a string.
17062         (org-bibtex-ask): Prompt the user to fill in the value of a bibtex
17063         field.
17064         (org-bibtex-autokey): Generate a bibtex key for the current
17065         headline.
17066         (org-bibtex-fleshout): Fill in missing bibtex properties of the
17067         current headline.
17068         (org-bibtex): Export the current Org-mode buffer to a bibtex buffer.
17069         (org-bibtex-check): Check that all bibtex properties are present in
17070         the current headline.
17071         (org-bibtex-check-all): Check all headlines in the current buffer.
17072         (org-bibtex-create): Create a new bibtex headline at the current
17073         level.
17074         (org-bibtex-read): Read the current bibtex entry from a bibtex file.
17075         (org-bibtex-write): Write the most recently read bibtex entry into
17076         an Org-mode file.
17078 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17080         * org-agenda.el (org-agenda-clock-consistency-checks): Allow to
17081         set properties.
17082         (org-agenda-show-clocking-issues): Handle faces.
17084 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17086         * ob-ditaa.el (org-babel-default-header-args:ditaa): Specify utf8
17087         content by default with "-Dfile.encoding=UTF-8".
17089 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17091         * ob-ditaa.el (org-babel-execute:ditaa): New ":java" header
17092         argument.
17094 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17096         * org-exp.el (org-export-preprocess-string): Mark list end before
17097         expanding macros.  Thus, a macro inside a list and containing
17098         blank lines cannot break the list structure.
17099         (org-export-preprocess-apply-macros): Multi-lines macros get
17100         indented with the same indentation as the first line.  Thus, we
17101         are sure that every line belongs to the same list as the first
17102         line, if such list exists.  Also add comments in code.
17104 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17106         * org-agenda.el (org-agenda-clock-consistency-checks): New option.
17107         (org-agenda-list): Handle display change to clock check.
17108         (org-agenda-get-progress): Show only clock entries if we are doing
17109         the consistency check.
17110         (org-agenda-show-clocking-issues): New function.
17111         (org-agenda-check-clock-gap): New function.
17112         (org-agenda-view-mode-dispatch): Offer consistency check.
17113         (org-agenda-log-mode): Handle switch to clock only display.
17114         (org-agenda-set-mode-name): Show lighter for Clockcheck.
17116         * org.el (org-hh:mm-string-to-minutes): Accept an integer argument
17117         and return it unchanged.
17119 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17121         * org-list.el (org-list-struct): When walking down the list, the
17122         function would not pay attention to drawers or blocks indentation.
17123         Thus, such constructs couldn't consistently end an item or a list.
17124         This patch ensures line indentation is stored (if applicable)
17125         before skipping them.  Also fixed doc-string and comments.
17127 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17129         * org-exp.el (org-export): Add EXPORT_FILE_NAME to the enclosing
17130         tree properties.
17132 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17134         * org-exp.el (org-export): Define a bound for finding enclosing
17135         tree with class/title definition.
17137 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17139         * org-exp.el (org-export): Go to next heading before searching
17140         backward, so make this also work if we are on the headline of the
17141         entry with the property.
17143 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17145         * org.el (org-promote):
17146         (org-demote): Soften the previous change, by only removing the
17147         flyspell function from after-change functions, because that was
17148         the one causing the slowdown - at least much of it.
17150 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17152         * org.el (org-promote, org-demote): Turn off
17153         after-change-functions to speed up the reindentation of text.
17155 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17157         * ob-ocaml.el (org-babel-ocaml-read-list):
17158         Use `org-babel-script-escape'.
17159         (org-babel-ocaml-read-array): Use `org-babel-script-escape'.
17161 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17163         * org-html.el (org-html-handle-links): Add an alternate for inline
17164         images.
17166 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17168         * org-agenda.el (org-agenda-bulk-action): Do not use the entries
17169         variable before it is defined.
17171 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17173         * org-src.el (org-src-lang-modes): Add a language alias of "C"
17174         to "c".
17176 2011-07-28  Shaun Johnson  <shaun@slugfest.demon.co.uk>  (tiny change)
17178         * ob-tangle.el (org-babel-tangle): Make it work in an indirect
17179         buffer.
17181 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17183         * org-html.el (org-html-make-link): Correct a bug in coderef link.
17185 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17187         * org-agenda.el (org-agenda-filter-by-tag): Fix variable name
17188         typo.
17190 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17192         * org-agenda.el (org-agenda-get-timestamps): Fix agenda display
17193         when headlines are missing.
17195 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17197         * org-mobile.el (org-mobile-push): Move call to hook, make it the
17198         first thing of the push operation.
17200 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17202         * ob.el (org-babel-params-from-buffer): Now looking for header
17203         arguments in #+Properties: as well as #+Babel:.  Also, we're no
17204         longer caching these results into a file local variable.
17206 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17208         * ob-python.el (org-babel-python-evaluate-external-process):
17209         Allow parsing as a table in the case of ":results output table".
17210         (org-babel-python-evaluate-session): Allow parsing as a table in
17211         the case of ":results output table".
17213 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17215         * org-agenda.el (org-agenda-bulk-action): Allow bulk scatter in
17216         all possible agenda views.  Use `org-agenda-schedule' instead of
17217         `org-agenda-date-later'.
17219 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17221         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Now supports
17222         ":results output".
17224 2011-07-28  Julien Danjou  <julien@danjou.info>
17226         * org.el (org-entry-get, org-entry-delete, org-entry-put)
17227         (org-property-values, org-delete-property-globally):
17228         Use `org-re-property'.
17229         (org-re-property): New function allowing to build a regexp to
17230         match a property.
17232 2011-07-28  Julien Danjou  <julien@danjou.info>
17234         * org.el (org-property-values): Enhance docstring.
17236 2011-07-28  Ethan Ligon  <ligon@are.berkeley.edu>  (tiny change)
17238         * org-html.el (org-html-export-list-line): Fix regexp for
17239         detecting description lists to allow "::" marker to be last
17240         visible element at end of line.
17241         * org-docbook.el (org-docbook-export-list-line): Fix regexp for
17242         detecting description lists to allow "::" marker to be last
17243         visible element at end of line.
17245 2011-07-28  Julien Danjou  <julien@danjou.info>
17247         * org-table.el (org-table-cleanup-narrow-column-properties):
17248         Use point-min rather than 1 when moving in the buffer.
17250 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17252         * org-list.el (org-list-in-valid-context-p): Rename from
17253         `org-list-in-valid-block-p'.
17254         (org-at-item-p, org-list-search-generic): Use renamed function.
17256 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17258         * org.el (org-set-font-lock-defaults): Be more strict when
17259         recognizing description items, and do not fontify wrong cases
17260         like: "- term ::description" or "1. term :: description".
17262 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17264         * org-latex.el: Pay attention to end of footnote.  Before closing
17265         the command, ensure that list is properly closed or that last link
17266         is separated from the curly brace.
17268 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17270         * org.el (org-indent-line-function): Footnote definition must stay
17271         at column 0 to be recognized as such.  Body below can have normal
17272         indentation, so it should ignore its definition when computing
17273         indentation.
17275 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17277         * org-protocol.el (org-protocol-remember, org-protocol-capture):
17278         More appropriate message.
17280 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17282         * org-capture.el (org-capture-clock-keep): New local variable.
17283         (org-capture, org-capture-finalize): Use it and fix a bug when
17284         :clock-keep is set to `t'.
17286 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
17288         * org-exp.el (org-export-preprocess-string): Handle include files
17289         before processing macros.
17291 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17293         * org-agenda.el: Remove obsolete code for adding todo list in
17294         front of the agenda.
17296 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17298         * org-latex.el (org-export-latex-convert-table.el-table):
17299         Fix format-string for insertion of captions.
17301 2011-07-28  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
17303         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
17304         Fix regexp.
17306 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
17308         * org.el (org-read-date-analyze): Help matching dotted European
17309         dates, like 31. 12. 2007
17311 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17313         * ob-lisp.el (org-babel-execute:lisp): Fix typo.
17315 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17317         * ob-lisp.el (org-babel-execute:lisp): Turn vectors into lists
17318         before reading by elisp.
17319         (org-bable-lisp-vector-to-list): Stub of a vector->list function,
17320         should be replaced with a cl-vector->el-vector function.
17322 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17324         * ob-lisp.el (org-babel-execute:lisp): Now using
17325         `org-babel-reassemble-table' to apply the appropriate header
17326         arguments to results.
17328 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17330         * org.el (org-end-of-meta-data-and-drawers): New function.
17332         * org-capture.el (org-capture-place-plain-text): Implement adding
17333         plain text templates to Org nodes.
17335 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17337         * org-beamer.el (org-beamer-environments-extra): Fix docstring.
17339 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17341         * org-exp.el (org-export-handle-comments): Add the org-protected
17342         property to the replacement string.
17344 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17346         * org-html.el (org-export-as-html, org-html-level-start):
17347         Fix logic for section number printing when NUM is an integer.
17349 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17351         * org-latex.el (org-export-latex-special-chars): Fix regexp for
17352         `single' special characters and ellipsis.
17354 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17356         * org.el (org-point-at-end-of-empty-headline):
17357         Bind `case-fold-search' to nil.
17359 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17361         * org-capture.el (org-capture-fill-template): Resolve new %<...>
17362         template escape.
17363         (org-capture-templates): Document new %<...> template escape.
17365 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17367         * ob.el (org-babel-process-params): Make this function idempotent,
17368         as it will sometimes be called multiple times.
17370 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17372         * org.el (org-ts-regexp-both): Add "]" to class of characters that
17373         should not be matched.
17374         (org-ts-regexp0, org-ts-regexp1): Do not start a class with
17375         "^]-+", because that tries to (not) match characters between "]"
17376         and "+".  Instead, move the "-" to the end of the class where it
17377         causes no harm.
17379 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17381         * ob-R.el (org-babel-edit-prep:R): Associate the appropriate R
17382         process with the edit buffer when :session is specified.
17384 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17386         * ob-tangle.el (org-babel-tangle-collect-blocks): Brought the link
17387         extraction code into line with a newer version of the
17388         `org-store-link' function.
17390 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17392         * ob-lisp.el (org-babel-expand-body:lisp): New body expansion
17393         wrapping the expression in either a let or progn, and possibly a
17394         pretty-print function invocation.
17395         (org-babel-execute:lisp): Greatly simplified method of executing
17396         lisp code blocks.
17398 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17400         * org-list.el: Move `org-update-checkbox-count-maybe' call outside
17401         of ̀save-excursion' to get back to original position.
17403 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17405         * org.el (org-numbered-action-format): New option.
17406         (org-new-numbered-action): New command.
17407         (org-collect-todos-in-subtree): New command.
17409 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17411         * org-exp.el (org-export-with-tasks): New option.
17412         (org-export-plist-vars): Add :tasks property.
17414 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17416         * org-ascii.el (org-export-as-ascii): Pass the :done-tasks
17417         property to the export preprocessor.
17419         * org-docbook.el (org-export-as-docbook): Pass the :done-tasks
17420         property to the export preprocessor.
17422         * org-html.el (org-export-as-html): Pass the :done-tasks property
17423         to the export preprocessor.
17425         * org-latex.el (org-export-as-latex): Pass the :done-tasks
17426         property to the export preprocessor.
17428         * org-exp.el (org-export-with-done-tasks): New option.
17429         (org-export-plist-vars): Add entry for :done-tasks.
17430         (org-export-preprocess-string): Call `org-export-remove-done-tasks'.
17431         (org-export-remove-done-tasks): New function.
17433 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17435         * org-latex.el (org-export-latex-keywords-maybe): Protect # in
17436         tags.
17438 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17440         * org.el (org-find-olp): Use the level of the correct match to
17441         continue search.
17443 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17445         * org-list.el (org-toggle-checkbox): Build value of
17446         org-keyword-time-regexp instead of using it directly, as it's
17447         buffer-local, and function might be called outside Org.
17449 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17451         * org-list.el (org-list-struct, org-in-item-p): Don't assume end of
17452         blocks or drawers necessarily start somewhere.  It it isn't the
17453         case, treat them as normal text.
17455 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17457         * ob-exp.el (org-babel-exp-results): Use code block name when
17458         finding cached results.
17460 2011-07-28  Julien Danjou  <julien@danjou.info>
17462         * org-latex.el (org-export-latex-date-format): Change default date
17463         format to \today.  This has the same result but respects the
17464         language set in the document by default.
17466 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17468         * org-list.el (org-list-checkbox): When called from an headline,
17469         function would normally skip drawers, but not if a SCHEDULED or
17470         DEADLINE keyword is standing before the drawer.  Also avoid
17471         problems if function is called in buffers not is Org mode.
17473 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17475         * org-clock.el (org-clock-report): Change the scope of the
17476         inserted clock report depending on whether the point is within a
17477         subtree (:scope subtree) or not (:scope file).
17479 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
17481         * org-html.el (org-export-as-html): Fix export of footnotes
17482         containing lists, tables, quotes, etc.
17484 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17486         * org-latex.el (org-export-latex-preprocess): Correctly match
17487         starred command names.
17489 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17491         * org-html.el (org-export-as-html): Get local value of
17492         org-export-with-section-numbers from the buffer's plist.
17493         Deal specially with the case the resulting value is an integer.
17494         (org-html-level-start): New optional argument of the option plist used
17495         instead of `org-export-with-section-numbers'.  Also deal specially
17496         with the case that the value is an integer.
17498 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17500         * org-latex.el (org-export-latex-subcontent): Deal specially with
17501         the case that NUM is an integer.
17503 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17505         * org-protocol.el (org-protocol-do-capture): Allow template keys
17506         of two characters.
17507         (org-protocol-default-template-key): Update the docstring to
17508         reflect the change in `org-protocol-do-capture'.
17510 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
17512         * org-taskjuggler.el: Fix a typo in the commentary.
17514 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
17516         * org-taskjuggler.el (org-taskjuggler-open-task): Only emit a
17517         "purge allocations" statement if we are not targeting tj3.
17519 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
17521         * org-taskjuggler.el (org-taskjuggler-assign-resource-ids):
17522         Replace recursive implementation with an iterative one.
17524 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17526         * ob-sh.el (org-babel-sh-var-to-sh): Fix insertion of tabular
17527         data into shell variables.
17529 2011-07-28  David Maus  <dmaus@ictsoc.de>
17531         * org-html.el (org-html-handle-time-stamps): Protected linebreak
17532         element after timestamp markup.
17534 2011-07-28  David Maus  <dmaus@ictsoc.de>
17536         * org-html.el (org-html-handle-links): Don't protect img tag in
17537         link description.
17539 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17541         * org-table.el (org-table-formula-handle-first/last-rc):
17542         Bind `char'.
17544 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17546         * org-list.el (org-in-item-p): Re-build `org-drawer-regexp',
17547         whatever the major mode is.
17549 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17551         * org-inlinetask.el (org-inlinetask-export-templates): Fix default
17552         templates.
17553         (org-inlinetask-export-handler): Ensure contents of inline task,
17554         if any, starts and ends with a newline character.  Refactor and
17555         comment code.
17557 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17559         * org-capture.el (org-datetree-find-date-create): Lower-case for
17560         variable names in `define-function' form.
17562 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17564         * org-table.el (org-table-convert-region): Throw error when
17565         SEPARATOR is smaller than 1.
17567 2011-07-28  Julien Danjou  <julien@danjou.info>
17569         * org-colview.el (org-columns-display-here): Fix heading retrieval
17570         in Org buffers.
17572 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17574         * org-latex.el (org-export-latex-preprocess): Last brace shouldn't
17575         be on the same line as a list end marker.
17577 2011-07-28  Julien Danjou  <julien@danjou.info>
17579         * org.el (org-icompleting-read): Do not use useless lambda.
17581 2011-07-28  Julien Danjou  <julien@danjou.info>
17583         * org-agenda.el (org-format-agenda-item): Fix length computing.
17585 2011-07-28  Julien Danjou  <julien@danjou.info>
17587         * org-agenda.el (org-format-agenda-item): Fix comment and use
17588         `add-text-properties'.
17590 2011-07-28  Julien Danjou  <julien@danjou.info>
17592         * org-agenda.el (org-agenda-highlight-todo): Remove useless
17593         `concat'.
17595 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17597         * org-list.el (org-list-to-generic): Set a default term for
17598         ill-formed description lists.  Do not insert newline characters
17599         unless told to.
17600         (org-list-to-texinfo, org-list-to-html): Apply changes to
17601         `org-list-parse-liste'.
17603 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17605         * org-clock.el (org-clock-clocktable-language-setup): Add a
17606         string.
17607         (org-clocktable-write-default): Use the new localized string
17608         in `org-clock-clocktable-language-setup'.
17610 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17612         * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness):
17613         (org-taskjuggler-assign-resource-ids): Replace recursive
17614         implementation with an iterative one.
17616 2011-07-28  Christian Egli  <christian.egli@alumni.ethz.ch>
17618         * org-taskjuggler.el (org-taskjuggler-components): Escape quotes
17619         in headlines.
17621 2011-07-28  Christian Egli  <christian.egli@alumni.ethz.ch>
17623         * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness):
17624         Compute the leafiness of a node.
17625         (org-taskjuggler-open-task, org-export-as-taskjuggler): Mark a
17626         node as a milestone if it is a leaf and has no effort.
17628 2011-07-28  Christian Egli  <christian.egli@alumni.ethz.ch>
17630         * org-taskjuggler.el (org-export-taskjuggler-target-version):
17631         (org-taskjuggler-targeting-tj3-p): Add some minimal infrastructure
17632         to handle export to both tj2 and tj3.
17633         (org-taskjuggler-open-task): Use a different way to purge
17634         allocations for tj2 and tj3.
17636 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17638         * org-footnote.el (org-footnote-auto-label): New random option.
17640         * org-footnote.el (org-footnote-new): Create random footnote
17641         labels with unique ids.
17643 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17645         * org-footnote.el (org-footnote-create-definition): Allow for
17646         footnote sections above the current footnote insertion point.
17648 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17650         * org-footnote.el (org-footnote-create-definition): Don't search
17651         for last footnote when in org-mode file.
17653 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17655         * org-html.el (org-export-as-html): Handle links with
17656         `org-html-handle-links' after we handle special characters
17657         conversions.
17658         (org-html-make-link, org-export-html-format-image):
17659         Don't protect html with @ anymore, as links are now handled after
17660         special characters conversions.
17662 2011-07-28  Julien Danjou  <julien@danjou.info>
17664         * org-agenda.el (org-agenda-get-timestamps):
17665         (org-agenda-get-scheduled): Fix call to `org-format-agenda-item'.
17666         (org-format-agenda-item): Remove no-prefix argument.
17667         (org-agenda-change-all-lines): Call org-format-agenda-item without the
17668         no-prefix argument.
17670 2011-07-28  Julien Danjou  <julien@danjou.info>
17672         * org-agenda.el (org-agenda-highlight-todo): Stop using
17673         prefix-length.
17674         (org-cmp-alpha): Stop using prefix-length.
17675         (org-agenda-open-link): Stop using prefix-length.
17676         (org-agenda-change-all-lines): Stop using prefix-length.
17678         * org-colview.el (org-columns-display-here): Stop using
17679         prefix-length.  Always return claned items.
17681         * org-mobile.el (org-mobile-write-agenda-for-mobile): Stop using
17682         prefix-length.
17684 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17686         * ob-tangle.el (org-babel-tangle-collect-blocks): Don't call
17687         `org-store-link' interactively as it can confuse the setting of
17688         `org-link-to-org-use-id' and cause undue edits to the org-mode
17689         buffer during tangling.
17691 2011-07-28  David Maus  <dmaus@ictsoc.de>
17693         * org-html.el (org-export-html-format-image): Protect <p> element
17694         of image caption.
17696 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17698         * org.el (org-read-date-force-compatible-dates): New option.
17699         (org-read-date, org-read-date-analyze): Check representable date range.
17701 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17703         * org-html.el (org-export-as-html): Fix export of email.
17705 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17707         * ob-tangle.el (org-babel-spec-to-string): Check value of padline
17708         on tangling, no longer use the now-removed variable
17709         `org-babel-tangle-pad-newline'.
17711         * ob.el (org-babel-header-arg-names): Add padline to the list of
17712         header argument names.
17713         (org-babel-default-header-args): Set the default value of padline to
17714         "yes".
17715         (org-babel-merge-params): Cleaned up the merge logic, added padline.
17717 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17719         * ob.el (org-babel-header-arg-names): Adding "shebang" to known
17720         code block header argument names.
17722 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17724         * org-crypt.el: Remove useless TODO in comments.
17726 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17728         * org-html.el (org-export-as-html): The default postamble now only
17729         export a date paragraph if `org-export-time-stamp-file' is
17730         non-nil.
17732 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17734         * org-exp.el (org-export-xml): Remove the defgroup of
17735         org-export-xml.
17737 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17739         * org-html.el (org-export-html-insert-plist-item): Remove.
17740         (org-export-html-preamble): Default to `t'.  Accept functions.
17741         (org-export-html-postamble): Default to `auto'.
17742         Accept functions and distinguish between 'auto (no formatting string)
17743         and `t' (default formatting string).
17744         (org-export-as-html): Handle org-export-html-preamble and
17745         org-export-html-postamble new defaults/allowed values.
17746         Define email and creator-info before using them.
17748 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17750         * org-html.el (org-export-html-protect-char-alist): Fix typo in
17751         custom type definition.
17753 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17755         * ob-exp.el (org-babel-exp-do-export): Now runs for empty :session
17756         arguments.
17758 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17760         * org-list.el (org-list-parse-list): Fix regexp.
17762 2011-07-28  David Maus  <dmaus@ictsoc.de>
17764         * org-html.el (org-export-html-format-image): Protect image
17765         elements.
17767 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17769         * ob-tangle.el (org-babel-tangle-body-hook): Hook for changing the
17770         contents of a code block body on export.
17771         (org-babel-tangle-collect-blocks): Apply
17772         `org-babel-tangle-body-hook' to the collected bodies of code blocks.
17774 2011-07-28  David Maus  <dmaus@ictsoc.de>
17776         * org-html.el (org-html-make-link, org-html-handle-links):
17777         Protect generated XHTML elements.
17778         (org-export-as-html): Expand character entities after creating markup
17779         for links and timestamps.
17781 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17783         * org-html.el (org-export-as-html): Bugfix: insert email
17784         correctly.
17786 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17788         * org-html.el: Bugfix: prevent infinite matching of the `&'
17789         character.
17791 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17793         * org.el (org-fill-paragraph): `fill-forward-paragraph' function
17794         has been introduced with emacs 23.1.
17796 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17798         * org-attach.el: Allow to store a link to the attach-dir location.
17800 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
17802         * org-agenda.el (org-agenda-bulk-action): Allow the user to run a
17803         function.
17805 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17807         * org-clock.el (org-clock-in): Allow clocking in new tasks
17808         inserted before the current clocking task.
17810 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17812         * org-clock.el (org-clock-in): Set default clocking task when
17813         already clocking the task.
17815 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17817         * org.el (org-adaptive-fill-function): When a region is specified
17818         first line of paragraph isn't skipped, so fill-paragraph have to
17819         be computed even if point is at an item.
17821 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17823         * org-list.el (org-list-in-valid-block-p): New function.
17824         (org-at-item-p, org-list-search-generic): Use new function.
17826 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17828         * org.el (org-indent-line-function): Text in both a list and a
17829         valid block is indented with regards to current item, not to block
17830         boundaries.
17832 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17834         * org-html.el (org-format-org-table-html): Fix anchors in HTML
17835         export (thanks to <aankhen@gmail.com>)
17836         (org-html-protect): Fix a  bug that prevents some target to be
17837         rendered correctly.
17839 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17841         * org.el (org-default-properties): Add EXPORT_TEXT.
17843 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17845         * org-footnote.el (org-footnote-create-definition)
17846         (org-insert-footnote-reference-near-definition): Fix sorting
17847         of footnotes.
17849 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17851         * org-html.el (org-export-as-html): Bugfix: don't insert closing
17852         HTML tags when exporting body only.
17854 2011-07-28  Jason Dunsmore  <emacs-orgmode@deathroller.dunsmor.com>  (tiny change)
17856         * org.el (org-back-over-empty-lines): Bugfix.
17857         Honor `org-blank-before-new-entry' correctly in various contexts.
17859 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17861         * org-macs.el (org-with-wide-buffer): Bugfix: use `save-excursion'
17862         and `save-restriction'.
17864 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17866         * org-timer.el (org-timer-item): `save-excursion' prevents
17867         `org-list-struct' to get the list structure when point isn't on
17868         the first line of the item.
17870 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17872         * org-capture.el (org-capture-templates): New option
17873         :no-clock-out.
17874         (org-capture): Use the new option.
17876 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17878         * org-list.el (org-update-checkbox-count): Ensure cookies on an
17879         heading are correctly updated when checkboxes are hidden.
17880         It allows, for example, to use C-c C-x C-b on a collapsed tree and
17881         still get the update.
17883 2011-07-28  David Maus  <dmaus@ictsoc.de>
17885         * org-exp.el (org-export-visible): Accept keys for
17886         `org-export-as-html-to-buffer' and `org-export-region-as-html'.
17888 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17890         * org.el (org-duration-string-to-minutes): Don't use
17891         `rx-to-string'.
17893 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17895         * org.el (org-effort-durations): New variable.
17897         * org.el (org-duration-string-to-minutes): New function.
17899         * org-agenda.el (org-agenda-filter-effort-form)
17900         (org-format-agenda-item): Use it.
17902         * org-clock.el (org-clock-notify-once-if-expired)
17903         (org-clock-modify-effort-estimate, org-clock-get-clock-string): Use it.
17905 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17907         * org-agenda.el (org-agenda-run-series): Rename from
17908         `org-run-agenda-series'.
17910 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17912         * org-capture.el: Don't allow currentfile anymore.
17914 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17916         * org-agenda.el (org-agenda-list): Fix bug: don't rely on
17917         `org-agenda-current-span' when calling `org-agenda-list'.
17919 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17921         * org-capture.el (org-capture-put-target-region-and-position):
17922         New function to store information about the target buffer.
17923         (org-capture-set-target-location): Use it.
17924         (org-capture-finalize): Restore the target buffer in its
17925         possibly narrowed state.  Also restore the cursor position.
17927 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17929         * org-crypt.el (auto-save-default): Make sure entries are
17930         encrypted before auto-saving.
17932 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17934         * org-inlinetask.el (org-inlinetask-promote)
17935         (org-inlinetask-demote): New functions.
17937 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17939         * org.el (org-demote-subtree, org-promote-subtree):
17940         Wrap `org-map-tree' into `org-with-limited-levels' macro, so it avoids
17941         operating on inline tasks.
17943 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17945         * org.el (org-narrow-to-subtree): Ensure `org-back-to-heading'
17946         will move point to a real heading and not an inline task by
17947         wraping function into a `org-with-limited-levels' macro.
17949 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17951         * org-capture.el (org-capture-finalize): New argument clock-out,
17952         to tell whether finalizing the capture process should clock out
17953         the running clock.
17954         (org-capture): Use the new argument.
17956 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17958         * org.el (org-refile-get-targets): Rename from
17959         `org-get-refile-targets'.
17961 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17963         * org-exp.el (org-export-table-remove-empty-lines): New custom
17964         variable.
17965         (org-export-remove-special-table-lines): Use it.
17967 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17969         * org-table.el (org-table-fix-formulas-confirm): New custom
17970         variable.
17971         (org-table-insert-column, org-table-delete-column)
17972         (org-table-move-column, org-table-move-row)
17973         (org-table-insert-row, org-table-kill-row): Use it.
17975 2011-07-28  Tassilo Horn  <tassilo@member.fsf.org>
17977         * org.el (org-refile-get-location): Set and show default value.
17978         (org-goto, org-refile): Adapt calls.
17980 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17982         * org-mobile.el (org-mobile-files-exclude-regexp): New custom
17983         variable.
17984         (org-mobile-files-alist): Use it.
17986 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17988         * org.el (org-todo): Bugfix: use `org-with-wide-buffer' to check
17989         against headings outside of a narrowed buffer.
17991 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17993         * org.el (org-confirm-shell-link-not-regexp)
17994         (org-confirm-elisp-link-not-regexp): New custom variables.
17995         (org-open-at-point): Use the new custom variables.
17997 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17999         * org-latex.el: Place \title \author \date before
18000         \begin{document}.
18002 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18004         * org-html.el (org-export-html-preamble)
18005         (org-export-html-postamble): Now default to `nil'.
18006         (org-export-as-html): When :html-pre/postamble is nil, fall
18007         back on the default pre/postamble, which depends on the
18008         :author-info, :email-info, :creator-info options.
18010 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18012         * ob-exp.el (org-babel-exp-results): Don't use cached results if
18013         there is no hash.
18015 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18017         * org-table.el (org-table-eval-formula): Treat relative column
18018         refs.
18020 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18022         * org-table.el (org-table-use-standard-references): Change default
18023         to `from'.
18025 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18027         * org.el (org-move-subtree-down): Leave the cursor at the same
18028         column we were at.
18030 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18032         * org-attach.el (org-attach-store-link-p): New variable.
18033         (org-attach-store-link): New function.
18034         (org-attach-attach): When `org-attach-store-link-p' is
18035         non-nil, store a link in `org-stored-links' to a newly
18036         attached file.
18038 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18040         * org-exp.el (org-export-remove-headline-metadata): Bugfix: don't
18041         case-fold-search to avoid mixing TODO keywords with real headline
18042         words.
18044 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18046         * org-table.el (org-table-fedit-finish): Read more general LHS of
18047         formulas.
18048         (org-table-formula-handle-@L): New function to hanle @L references.
18049         (org-table-current-ncol): New variable.
18050         (org-table-line-to-dline): New function.
18051         (org-table-get-stored-formulas): Accept range formulas as matches.
18052         (org-table-get-specials): Compute and store the number of columns.
18053         (org-table-get-range): New optional argument CORNERS-ONLY, to retrieve
18054         only the region marked by the range, not the content.
18055         (org-table-recalculate): Call `org-table-expand-lhs-ranges' to expand
18056         range targets.  Also check for duplicate access to fields.
18057         (org-table-expand-lhs-ranges): New funktion.
18058         (org-table-get-remote-range): Bind `org-table-current-ncol' to protect
18059         the caller's value.
18060         (org-table-edit-formulas): Support highlighting of range targets.
18061         (org-table-field-info): Handle renge formulas.
18063 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18065         * org-html.el (org-export-html-postamble-format)
18066         (org-export-html-preamble-format): Explain how to escape the
18067         `%' character.
18069 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18071         * ob.el (org-babel-read): Read string variable values wrapped in
18072         double quotes, removing the quotes.
18074 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18076         * ob-exp.el (org-babel-exp-results): Ensure that processed params
18077         are send to org-babel-execute-src-block.
18079 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18081         * org-special-blocks.el
18082         (org-special-blocks-make-special-cookies):
18083         Use `org-export-current-backend'.
18085 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18087         * ob-exp.el (org-babel-exp-in-export-file): Now takes the language
18088         as an argument.
18089         (org-babel-exp-src-block): Explicitly pass language to
18090         `org-babel-exp-in-export-file'.
18091         (org-babel-exp-inline-src-blocks): Remove unused code.
18092         (org-babel-exp-results): Explicitly pass language to
18093         `org-babel-exp-in-export-file'.
18095 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18097         * ob-calc.el (org-babel-execute:calc): Unquote quoted vectors
18098         returned from calc-eval.
18100 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18102         * ob.el (org-babel-read): Pass elisp vectors through to code
18103         blocks.
18105 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18107         * ob.el (org-src-lang-modes): Defvar.
18108         (org-at-item-p): Declare function.
18110         * ob-calc.el (calc-store): Require.
18111         (var-syms): Defvar.
18113         * ob-python.el (py-default-interpreter): Defvar.
18115 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18117         * org-exp-blocks.el (backend): defvar.
18119 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18121         * org-agenda.el (org-agenda-get-scheduled):
18122         (org-agenda-get-timestamps): Bind local variable `show-all'.
18124 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18126         * ob-ref.el (org-at-item-p): Declare function.
18128         * org-agenda.el (diary-time-regexp): defvar.
18130         * org-archive.el (org-archive-subtree): Bind local variable
18131         `infile-p'.
18133         * org-capture.el (org-capture-insert-template-here): Get template
18134         text from property list, to avoid byte compiler message.
18136         * org-latex.el (org-export-latex-tables): Bind local variable
18137         `width'.
18139         * org-special-blocks.el (org-compat): Add require statement.
18141         * org-table.el (orgtbl-ctrl-c-ctrl-c): Bind local variable
18142         `const-str'.
18144         * org.el (org-eval): Move function here from org-agenda.el.
18146 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18148         * ob.el (org-babel-read-table): Inhibit lisp evaluation of values
18149         when reading from tables.
18150         (org-babel-read-list): Inhibit lisp evaluation of values when
18151         reading from lists.
18152         (org-babel-read): Add optional argument which can be used to inhibit
18153         lisp evaluation of value.
18155 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18157         * ob-table.el (sbe): Ensure that ob-trim is only called on
18158         strings.
18160 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18162         * ob-exp.el (org-babel-exp-results): On export, ensure that the
18163         result hash is resolved in the original org-mode file.
18165 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18167         * org-exp.el (org-export-mark-list-end): Change end marker.
18169         * org-docbook.el (org-export-docbook-list-line): Use new marker.
18171         * org-html.el (org-html-export-list-line): Use new marker.
18173         * org-latex.el (org-export-latex-lists): Use new marker.
18175 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18177         * org-latex.el (org-export-latex-lists): Make sure markers used
18178         for export are taken into account by temporarily setting an
18179         appropriate value for `org-list-ending-method'.
18181 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18183         * org-exp-blocks.el (org-exp-blocks-block-regexp): Wrapping block
18184         regexp into its own variable, also allowing match of empty bodies.
18185         (org-export-blocks-preprocess): Using new regexp variable.
18187 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18189         * ob.el (org-babel-src-block-regexp): Code block regexp now
18190         matches blocks with empty bodies.
18192 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18194         * ob.el (org-babel-script-escape): If script escaped value doesn't
18195         parse cleanly, then return it literally.
18197 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18199         * ob-exp.el (org-babel-exp-src-block): When block will eventually
18200         be evaluated, pre-calculate the hash before noweb expansion, and
18201         expand the parameters before hash calculation.
18202         (org-babel-exp-do-export): Pass pre-calculated hash through to
18203         `org-babel-exp-results'.
18204         (org-babel-exp-results): Compare pre-calculated hash to results hash.
18206 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18208         * ob.el (org-babel-sha1-hash): Sort list values to header
18209         arguments, and sort the words in strings.
18211 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18213         * ob-ref.el (org-babel-ref-index-list): Special handling of hline
18214         rows.
18216 2011-07-28  Julien Danjou  <julien@danjou.info>
18218         * org-macs.el (org-with-point-at): Store evaluated version of
18219         pom.  This fixes a potential bug when using (org-with-point-at
18220         (func) …), where (func) would be evaluated multiple times,
18221         therefore might return different results if a marker was returned
18222         and different each time.
18224 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18226         * org.el (org-open-at-point): If a link to a radio target is the
18227         first, (resp. the last), element of a buffer, function cannot find
18228         the property change required to get its boundaries, and
18229         `buffer-substring' is called with an invalid nil argument.
18231 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18233         * org-table.el (org-table-copy-down): Fix docstring.
18235 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18237         * ob-latex.el (org-babel-execute:latex): Add imagemagick options,
18238         and for file types other than png and PDF it uses imagemagick to
18239         convert a compiled PDF file to the desired file type.
18240         (convert-pdf): Convert a PDF file to a new file type using
18241         imagemagick.
18243 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
18245         * org-capture.el (org-capture-fill-template): Fix bug with the
18246         display of interactive prompt in templates expansion.
18248 2011-07-28  Reiner Steib  <reiner.steib@gmx.de>
18250         * org-clock.el (org-clock-display): Document how to remove subtree
18251         times.
18253 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18255         * org-exp-blocks.el (org-export-blocks-format-comment):
18256         Explicitly append a newline to the body.
18258 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18260         * org-list.el (org-list-insert-item): When computing size of item
18261         being inserted, function has to take into account that indentation
18262         may not only be made of spaces.
18264 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18266         * org-clock.el (org-clock-find-position): If a list was adjacent
18267         to some clocks and a drawer was going to be created, only the
18268         first element of the list would make it into the drawer.
18270 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18272         * org-list.el (org-toggle-checkbox): Fix bug where top item in
18273         list was omitted when checking boxes.
18275 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18277         * ob-R.el: Don't print result to echo area after evaluation.
18279 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18281         * org-capture.el (org-capture-refile): Fix typo in docstring.
18283 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18285         * ob-calc.el (org-babel-execute:calc): Call out to new function
18286         for variables resolution.
18287         (ob-calc-maybe-resolve-var): Resolve (possibly recursively)
18288         variables in calc expressions.
18290 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18292         * ob-C.el (org-babel-tangle-lang-exts): Replace "c++" with "C++".
18293         (org-babel-C++-compiler): Replace "c++" with "C++".
18294         (org-babel-execute:cpp): Replace "c" with "C++".
18295         (org-babel-execute:C++): Replace "c" with "C++".
18296         (org-babel-expand-body:C++): Replace "c" with "C++".
18297         (org-babel-C-execute): Replace "c" with "C++".
18299 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18301         * ob-ref.el (org-babel-ref-at-ref-p): Only try to read results as
18302         a list if at the *beginning* of a list item.
18304         * ob.el (org-babel-read-result): Only try to read results as a
18305         list if at the *beginning* of a list item.
18307 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18309         * org-list.el (org-cycle-item-indentation): Do not break an
18310         indentation cycle because visibility cycling is requested.
18311         This happens when an item becomes a parent, due to indentation change.
18312         Not considered empty anymore, the function cannot change its
18313         indentation again.
18315 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18317         * org-clock.el (org-clocktable-write-default): Bugfix: falls back
18318         on `org-export-default-language' when no :lang parameter is set.
18320 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18322         * org-capture.el (org-capture-expand-file): New function.
18323         (org-capture-target-buffer):
18324         (org-capture-set-target-location): Use `org-capture-expand-file'.
18326 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18328         * ob.el (org-babel-read-list): Reading the value of a list has
18329         been updated to reflect the new structure of org-mode lists in
18330         elisp.
18331         (org-babel-insert-result): Writing code block results to lists has
18332         been updated to reflect the new list structure.
18333         (org-babel-result-end): Remove a previous change to end-of-list
18334         marker detection.
18336 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18338         * org-list.el (org-cycle-item-indentation): Each time the function
18339         moves item back to child position, a white space is added to the
18340         line.
18342 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18344         * ob.el (org-babel-process-params): Allow elisp code in
18345         specification of results header arguments.
18347 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18349         * org-agenda.el (org-agenda-append-agenda): New command.
18350         (org-agenda-mode-map): New keybinding to this new command.
18352 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18354         * org.el (org-ctrl-c-ctrl-c): Call `org-list-send-list' only when
18355         cursor it at very first item of the list, as specified in the
18356         manual.  Also refactored the list part of the function a bit.
18358 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18360         * org-agenda.el (org-agenda): Set the 'last-args property to nil
18361         when calling `org-agenda'.  Don't kill the local variable
18362         `org-agenda-current-span'.
18363         (org-run-agenda-series): Use the new property 'last-args.
18364         (org-agenda-change-time-span): Use the dynamically set
18365         `org-agenda-overriding-arguments' variable when non-nil.
18367 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18369         * ob.el (org-babel-result-end): Adjust marker of list end to
18370         changes in the list format.
18372 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18374         * org-list.el (org-toggle-checkbox, org-update-checkbox-count):
18375         No need to wrap `org-entry-get' in `ignore-errors'.
18377 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18379         * org.el (org-toggle-item, org-toggle-heading): Make sure every
18380         sub-item in a list is changed into a sub-heading and sub-headings
18381         are translated into sub-items.  Also ignore inline tasks in the
18382         process.
18384 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18386         * org-exp.el (org-export-select-backend-specific-text):
18387         Add `original-indentation' property when replacing #+begin_backend and
18388         #+backend blocks with their content.  This is needed for lists, as
18389         they must know if the block belonged to them.
18391 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18393         * org-html.el (org-html-export-list-line): Insert a newline
18394         character before ending an item, as anchor could be on a line
18395         going to be deleted, like a drawer ending string.
18397         * org-list.el (org-list-to-html): Same.
18399 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18401         * org.el (org-set-autofill-regexps): Use `org-item-re' in
18402         `paragraph-start' to recognize alphabetical lists.
18403         (org-fill-paragraph): Enforce a pre-computed fill-prefix before
18404         calling `fill-paragraph' when point is in an item.  Also prevent
18405         paragraphs getting merged into an adjacent list upon filling.
18406         (org-adaptive-fill-function): Make sure to determine real
18407         fill-prefix for auto-fill.
18408         (org-auto-fill-function): Use a pre-computed fill-prefix before
18409         calling `do-auto-fill'.
18411         * org-list.el (org-list-item-body-column): New function.
18413 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18415         * org-inlinetask.el (org-inlinetask-at-task-p)
18416         (org-inlinetask-toggle-visibility): New functions.
18418         * org-list.el (org-list-set-item-visibility): New function.
18420         * org.el (org-cycle, org-cycle-internal-local): Separate lists and
18421         inline tasks from headlines.
18422         (org-outline-level): Do not consider lists as headlines.
18423         Cycling visibility is using different tools.
18425 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18427         * org-list.el (org-list-struct): Mark items less indented than top
18428         item of the list, so that they will be modified.
18429         (org-list-struct-apply-struct): Compare struct's indentation with
18430         line's indentation instead of old-struct's.  This is needed
18431         because `org-list-struct' automatically fixes indentation so
18432         changes might not be seen otherwise.
18434         * org.el (org-ctrl-c-ctrl-c): Small refactoring.
18436 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18438         * org-list.el (org-update-checkbox-count): When a part of the
18439         buffer is processed to count checkboxes, lists are read from top
18440         to bottom, but inside lists (in drawers, blocks, or inline tasks)
18441         are skipped.  Thus, cookies cannot be updated.  This patch
18442         enforces reading of such lists if counter is itself in a special
18443         context.
18445 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18447         * org-list.el (org-list-struct-apply-struct): Inline tasks along
18448         with their content must stay at column 0 even if the item is
18449         gaining indentation.  Moreover, fix indentation of text in an
18450         inline task, now it can be in such a task within a list.
18452 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18454         * org-list.el (org-at-item-p): Also verify context is valid.
18455         Otherwise it would recognize valid items where `org-in-item-p'
18456         wouldn't.
18457         (org-in-item-p, org-list-struct-apply-struct): Use shorter version
18458         of org-at-item-p.
18459         (org-cycle-list-bullet): Fix typo.
18460         (org-list-parse-list): Avoid calling `org-at-item-p' two times by
18461         using an appropriate regexp.
18463         * org.el (org-indent-line-function): Use an appropriate regexp
18464         instead of calling `org-at-item-p' two times.
18466 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18468         * org-list.el (org-in-item-p): When point was just after
18469         org-list-end-re, check wouldn't be done for starting line.  So, if
18470         the first line was an item, it wouln't be noticed and function
18471         would return nil.  Simplify and comment code.
18473 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18475         * org.el (org-toggle-item): When used on normal text, ensure every
18476         line in region is included in the new item, regardless of its
18477         original indentation.
18479 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18481         * org-list.el (org-list-struct-apply-struct): If end of list was
18482         at eol, for example, with list inside a block, the last list
18483         wouldn't be shifted.  Thus, the patch ensures no blank lines is
18484         skipped.
18486 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18488         * org.el (org-toggle-item): Now accepts a prefix argument.
18489         When used without argument on normal text, it will make the whole
18490         region one item.  With an argument, it defaults to old behavior:
18491         change each line in region into an item.
18493 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18495         * org.el (org-return): When called from inside an item with the
18496         indent flag, function should keep text moved inside the item.
18497         This allows to use C-j to separate lines in an item: cursor won't
18498         go back to column 0.
18500 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18502         * org-list.el (org-list-struct): When a line has org-example
18503         property, skip the entire block.  This is needed during export,
18504         for example when src blocks in org markup contain lists, and are
18505         returned verbatim because org isn't in the list of interpreted
18506         languages.
18508 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18510         * org-list.el (org-in-item-p): Handle special cases when function
18511         is called with cursor amidst `org-list-end-re' or at an inline
18512         task.
18514 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18516         * ob.el (org-babel-result-end): Apply renaming.
18518         * org-exp.el (org-export-mark-list-properties): Apply renaming.
18520         * org-list.el (org-list-prevs-alist): Rename from
18521         `org-list-struct-prev-alist'.
18522         (org-list-parents-alist): Rename from `org-list-struct-parent-alist'.
18523         (org-list-write-struct): Rename from `org-list-struct-fix-struct'.
18524         (org-list-parse-list, org-sort-list, org-list-indent-item-generic)
18525         (org-toggle-checkbox, org-update-checkbox-count)
18526         (org-cycle-list-bullet, org-list-repair, org-insert-item)
18527         (org-move-item-up, org-move-item-up, org-move-item-down)
18528         (org-next-item, org-previous-item, org-end-of-item-list)
18529         (org-beginning-of-item-list, org-apply-on-list): Apply renaming.
18530         (org-get-bullet): Remove function, as it is not needed anymore.
18532 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18534         * org-list.el (org-list-insert-item-generic): Change arguments.
18535         The function now accepts structure and previous items alist.
18536         This allows to insert an item programmatically more easily.
18537         (org-insert-item): Apply changes to
18538         `org-list-insert-item-generic'.  The function now takes care about
18539         repairing structure and updating checkboxes.
18541         * org-timer.el (org-timer-item): Apply changes to
18542         `org-list-insert-item-generic'.  The function now takes care about
18543         repairing structure.
18545 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18547         * org-list.el (org-list-make-subtree): Function now uses
18548         `org-list-parse-list mechanism'.
18549         (org-list-make-subtrees): Remove function.
18550         (org-list-to-generic): Add a parameter and every parameter can
18551         be a sexp returning a string, for finer control.
18552         (org-list-to-html, org-list-to-latex, org-list-to-texinfo):
18553         Slight modifications to apply changes to `org-list-to-generic'.
18554         (org-list-to-subtree): New function.
18556 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18558         * org.el (org-beginning-of-line): Apply changes to
18559         `org-item-beginning-re' to correct sub-expression reference.
18561 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18563         * org-docbook.el (org-export-docbook-list-line): Even with
18564         alphabetical lists, Org shouldn't enforce a particular list type
18565         to exporters.  This is a job for style files.
18567         * org-html.el (org-html-export-list-line): Ib idem.
18569 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18571         * org-list.el (org-at-item-counter-p): New function.
18572         (org-list-parse-list): Handle counters and list depth.
18573         (org-list-to-generic): A special string is used when an item has a
18574         counter.
18575         (org-list-to-latex): Use new special string for counters.
18576         This fixes the counter bug in LaTeX export, as the enumi counter was
18577         the only one modified.
18579         * org-latex.el (org-export-latex-lists): Use new
18580         `org-list-parse-list' output.
18582 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18584         * org-list.el (org-list-get-list-type): New function.
18585         (org-list-parse-list): Use new function.
18587         * org-html.el (org-html-export-list-line): Use new function.
18589         * org-docbook.el (org-export-docbook-list-line): Use new function.
18591 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18593         * org-list.el (org-alphabetical-lists): New variable
18594         (org-item-re, org-list-full-item, org-cycle-list-bullet)
18595         (org-list-struct-fix-bul, org-list-inc-bullet-maybe):
18596         Reflect introduction of the new variable.
18597         (org-item-beginning-re): Change into a function, so any
18598         modification of `org-alphabetical-lists' will not require
18599         reloading Org.
18600         (org-at-item-p, org-toggle-checkbox, org-update-checkbox-count)
18601         (org-list-parse-list, org-list-send-list): Reflect changes to
18602         `org-item-beginning-re'.
18603         (org-list-use-alpha-bul-p): New function.
18605         * org.el (org-check-for-hidden): Reflect changes to
18606         `org-item-beginning-re'.
18608         * org-capture.el (org-capture-place-item): Reflect changes to
18609         `org-item-beginning-re'.
18611         * org-docbook.el (org-export-docbook-list-line): Handle New type
18612         of items.
18614         * org-exp.el (org-export-mark-list-end)
18615         (org-export-mark-list-properties): Reflect changes to
18616         `org-item-beginning-re'.
18618         * org-html.el (org-html-export-list-line): Handle new type of
18619         items.
18621         * org-latex.el (org-export-latex-lists): Handle new type of items
18622         and reflect changes to `org-item-beginning-re'.
18624         * org-ascii.el (org-export-ascii-preprocess): Handle new counters.
18626 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18628         * org-list.el (org-list-end-re): Remove function and made it a
18629         variable.  There's no need for the overhead of calling the
18630         function every at every line in a list.  User will have to reload
18631         Org if he change value of either `org-list-end-regexp' or
18632         `org-empty-line-terminates-plain-lists'.
18633         (org-in-item-p, org-list-struct, org-list-parse-list): Apply change.
18635         * org-exp.el (org-export-mark-list-end)
18636         (org-export-mark-list-properties): Apply change.
18638         * org-latex.el (org-export-latex-lists): Apply change.
18639         Also prevent items with org-example property to be considered as real
18640         items.
18642 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18644         * org-inlinetask.el (org-inlinetask-export-templates): Slightly
18645         modify templates so environment boundaries don't interfere with
18646         content of task.  Unprotect content of task so it might benefit
18647         from further transformations.  Set original-indentation property to
18648         a high value to ensure that task is always in the last item of the
18649         list.  Also, apply templates later in export process.
18651         * org-list.el (org-list-struct): Fix inline task skipping.
18653 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18655         * org-latex.el (org-export-latex-lists): Search for unprotected
18656         items only, and redefine `org-at-item'.  This change is required
18657         when verbatim lists are inserted during export, usually by Babel.
18659 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18661         * ob.el (org-babel-result-end): End position is end of current
18662         sublist instead of bottom point, as results might be inserted in a
18663         list themselves.
18665 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18667         * org-list.el (org-list-automatic-rules): Remove insert rule.
18668         (org-list-insert-item-generic): Remove code preventing user to
18669         insert another item in a block within a list.  It is because new
18670         list context make it impossible to see if a point in a block is
18671         also in a list.
18673 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18675         * org-exp.el (org-export-preprocess-string): Mark list endings
18676         before babel blocks preprocessing starts, so blank lines that may
18677         be inserted do not break list's structure.  Then, mark list with
18678         special properties required by exporters.  Thus output from babel
18679         can easily be included in lists.
18680         (org-export-mark-list-end): New function.
18681         (org-export-mark-list-properties): New function.
18682         (org-export-mark-lists): Remove function.  It was split into the
18683         two preceding functions.
18685 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18687         * org-list.el (org-update-checkbox-count): Do not recompute every
18688         list before next heading when there are more than one cookie in an
18689         headline.  Moreover, ignore the case where cookie is inserted
18690         neither at an heading nor at an item.
18692 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18694         * org-list.el (org-sort-list): Fix number of arguments to
18695         `org-list-repair', plus make `end-record' go to end of item before
18696         any blank line to keep them from being swallowed in the sorting.
18698 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18700         * org-list.el (org-list-forbidden-blocks): Rename from
18701         `org-list-blocks'.
18702         (org-list-export-context): New variable.
18704 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18706         * org-list.el (org-list-search-generic): Rename form
18707         `org-search-unenclosed-generic' to reflect the new behavior.  Now,
18708         match can only be in a valid context for lists, as determined by
18709         `org-list-context'.
18710         (org-list-search-backward): Rename from
18711         `org-search-backward-unenclosed'.
18712         (org-list-search-forward): Rename from
18713         `org-search-forward-unenclosed'.
18714         (org-toggle-checkbox, org-update-checkbox-count): Use new
18715         functions.
18716         (org-sort-list): Using default regexp search functions as context
18717         is not required in this case.
18719 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18721         * org-exp.el (org-export-mark-lists): New function, replacing
18722         org-export-mark-list-ending.  It adds information as text
18723         properties to every list, before changes done by exporter destruct
18724         them.
18726 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18728         * org-list.el (org-list-get-first-item): New alias for
18729         `org-list-get-list-begin'.
18730         (org-list-get-last-item): New function.
18731         (org-list-get-list-end): Use `org-list-get-last-item'.
18733 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18735         * org.el (org-get-string-indentation): Move in generally useful
18736         functions section, as it wasn't specific to plain lists and that
18737         no code was using it in org-list.el.
18739 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18741         * org.el (org-skip-over-state-notes, org-store-log-note): Use new
18742         accessors.
18744 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18746         * org-list.el (org-list-indent-item-generic): Remove error
18747         messages happening before process.  This belongs to interactive
18748         functions.
18749         (org-indent-item, org-indent-item-tree)
18750         (org-outdent-item, org-outdent-item-tree): Ensure point or region
18751         is correct before computing list structure.  Return an error
18752         message otherwise.
18754 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18756         * org-list.el (org-apply-on-list): Use new structures.
18757         Function is now applied in reverse order so modifications do not change
18758         positions of items in buffer.
18760 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18762         * org-list.el (org-list-parse-list): Rewrite of function to allow
18763         text following a sub-list in the same item.  See docstring for an
18764         example of output.
18765         (org-list-to-generic): Use new parsing function.
18766         (org-list-to-latex, org-list-to-html): Minor change for clearer
18767         export.
18769 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18771         * org-list.el (org-list-has-child-p): Rename from
18772         `org-list-get-child'.  Returning first child is only useful as a
18773         predicate, as we are allowing an item to have more than one
18774         sub-list.
18775         (org-list-indent-item-generic): Use `org-list-has-child-p' instead
18776         of org-list-get-child.
18777         (org-in-item-p): Also return item beginning when list starts at
18778         context beginning.
18779         (org-list-get-parent): Use of `org-list-struct-parent-alist'
18780         helper function is not optional anymore.
18781         (org-list-get-all-items): Shorten code with the help of cl.el.
18782         (org-list-get-children): Now returns all children of item, even if
18783         they do not belong to the same list.  Renamed from
18784         `org-list-get-all-children'.
18785         (org-list-get-list-begin): Function wasn't return value when item
18786         was already the first item of the list at point.
18787         (org-list-get-list-end): Function wasn't return value when item
18788         was already the last item of the list at point.
18789         (org-list-struct-fix-box, org-update-checkbox-count): Now uses
18790         `org-list-get-children'.
18792 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18794         * org.el (org-indent-line-function): Indentation of item's body
18795         starts just after the bullet, not after a checkbox.  Moreover, As
18796         `org-in-item-p' also returns item beginning position when point is
18797         in a list, do not compute it a second time.
18799 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18801         * org.el (org-ctrl-c-ctrl-c): When called at a list item, replace
18802         usage `org-repair-list', forcing another reading of the list, with
18803         only needed subroutines.
18805 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18807         * org-list.el (org-list-separating-blank-lines-number): Use new
18808         accessors.
18809         (org-list-insert-item-generic): Use list structures to insert a
18810         new item.
18811         (org-list-exchange-items): Refactor and comment code.  Now return
18812         new struct instead of modifying it, as list sorting would
18813         sometimes eat first item.
18814         (org-move-item-down, org-move-item-up): Reflect changes to
18815         `org-list-exchange-items'.
18816         (org-insert-item): As `org-in-item-p' also computes item beginning
18817         when applicable, reuse the result.
18819 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18821         * org-list.el (org-list-in-item-p): Unify methods for this
18822         predicate.
18823         (org-list-in-item-p-with-indent): Remove function.
18824         (org-list-ending-between): Remove function.
18825         (org-list-maybe-skip-block): Remove function.
18826         (org-list-in-item-p-with-regexp): Remove function.
18827         (org-list-top-point-with-regexp): Remove function.
18828         (org-list-top-point-with-indent): Remove function.
18829         (org-list-bottom-point-with-indent): Remove function.
18830         (org-list-bottom-point-with-regexp): Remove function.
18831         (org-list-get-item-same-level): Remove function.
18832         (org-list-top-point): Remove function.
18833         (org-list-bottom-point): Remove function.
18834         (org-get-item-beginning): Rename to `org-list-get-item-begin' to
18835         be consistent with naming policy of non-interactive functions.
18836         (org-get-beginning-of-list): Remove function.
18837         (org-beginning-of-item-list): Use new accessors.
18838         (org-get-end-of-list): Remove function.
18839         (org-end-of-list): Use new accessors.
18840         (org-get-end-of-item): Remove function.
18841         (org-end-of-item): Use new accessors.
18842         (org-get-previous-item): Remove function.
18843         (org-previous-item): Use new accessors.
18844         (org-get-next-item): Remove function.
18845         (org-next-item): Use new accessors.
18846         (org-list-get-item-end-before-blank): Use new accessors.
18848 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18850         * org-list.el (org-list-repair): Remove optional argument
18851         FORCE-BULLET.  The job of this interactive function is to
18852         completely fix a list at point.  Changing bullets is a separate
18853         task.  Also removed others optional arguments TOP and BOTTOM to
18854         follow the new structures.
18855         (org-list-indent-item-generic): Remove need for TOP and BOTTOM.
18856         STRUCT is a new required argument.  This avoids computing a list
18857         structure many times when function is called more than once in a
18858         row, for example in `org-cycle-item-indentation'.  Use new
18859         accessors.  Now, also call `org-update-checkbox-count-maybe'.
18860         (org-outdent-item, org-indent-item, org-outdent-item-tree)
18861         (org-indent-item-tree): Remove need for TOP and BOTTOM.
18862         (org-list-insert-item-generic): Reflect changes to `org-list-repair'.
18863         (org-list-exchange-items): Use new accessors.  Now modify struct
18864         to avoid re-reading it later.
18865         (org-move-item-down): Reflect changes to `org-list-repair'.
18866         Use new accessors.
18867         (org-move-item-up): Reflect changes to `org-list-repair'.  Use new
18868         accessors.
18869         (org-cycle-list-bullet): Use new structures.  Also use a shortcut
18870         to `org-list-struct-fix-struct' in order to avoid unnecessary
18871         fixes, like `org-list-struct-fix-box'
18872         (org-sort-list): Use of new structures.  Renamed an internal
18873         function for a little more clarity.
18874         (org-cycle-item-indentation): Remove dependency on
18875         `org-list-repair'.  Use new accessors.
18876         (org-list-get-child): Correct bug when asking for the child of the
18877         last item.
18878         (org-list-exchange-items): Use new accessors.
18880 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18882         * org-list.el (org-list-blocks): New variable.
18883         (org-list-context): New function.
18884         (org-list-full-item-re): New variable.
18885         (org-list-struct-assoc-at-point): Use new variable.
18886         (org-list-struct): Rewrite of function.  Now, list data is
18887         collected by looking at the list line after line.  It reads the
18888         whole list each time because reading only a subtree was not enough
18889         for some operations, like fixing checkboxes.  It also removes the
18890         need to get `org-list-top-point' and `org-list-bottom-point'
18891         first.  An added data is the position of item ending.  This aims
18892         to be able to have list followed by text inside an item.
18893         (org-list-struct-assoc-end): New function.
18894         (org-list-struct-parent-alist): New function.
18895         (org-list-get-parent): New function.
18896         (org-list-get-child): New function.
18897         (org-list-get-next-item): New function.
18898         (org-list-get-prev-item): New function.
18899         (org-list-get-subtree): Use helper function `org-list-struct-prev-alist'.
18900         (org-list-get-all-items): New function.
18901         (org-list-get-all-children): New function.
18902         (org-list-get-top-point): New function.
18903         (org-list-get-bottom-point): New function.
18904         (org-list-get-counter): New function.
18905         (org-list-get-item-end): New function.
18906         (org-list-struct-fix-bul): Rewrite for cleaner code.  Make use of
18907         new accessors.
18908         (org-list-struct-fix-ind): Make use of new accessors.
18909         (org-list-struct-fix-box): New function.
18910         (org-list-struct-fix-checkboxes): Remove function.
18911         (org-list-struct-outdent): Use new accessors.  Use the fact that
18912         there is no longer a virtual item at beginning of structure.
18913         (org-list-struct-indent): Use helper functions
18914         `org-list-struct-prev-alist' and `org-list-struct-parent-alist'.
18915         Also use new accessors.
18916         (org-list-struct-fix-struct): Comment function.  Call directly
18917         `org-list-struct-apply-struct', without removing unchanged items
18918         first.
18919         (org-list-struct-apply-struct): Comment function.  Rewrite using
18920         new accessors.  Use new variable `org-list-full-item-re'.
18921         (org-list-shift-item-indentation): Remove function, now included
18922         in `org-list-struct-apply-struct' because it is too specific.
18924 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18926         * org-list.el (org-toggle-checkbox): Use structures to fix
18927         checkboxes of a list.
18928         (org-update-checkbox-count): Use structures to update cookies.
18930 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18932         * org-list.el (org-list-struct-fix-checkboxes): New function.
18933         (org-checkbox-blocked-p): Remove function.
18935 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18937         * org-list.el (org-list-get-all-items): New function.
18938         (org-list-get-all-children): New function.
18939         (org-list-get-nth): New function.
18940         (org-list-set-nth): New function.
18941         (org-list-get-ind): New function.
18942         (org-list-set-ind): New function.
18943         (org-list-get-bullet): New function.
18944         (org-list-set-bullet): New function.
18945         (org-list-get-checkbox): New function.
18946         (org-list-set-checkbox): New function.
18947         (org-list-struct-fix-bul): Use new accessors.
18948         (org-list-repair): Use new accessors.
18949         (org-list-indent-item-generic): Make use of accessors.
18950         (org-list-get-parent): Rename from `org-list-struct-get-parent'.
18951         (org-list-get-child): Rename from `org-list-struct-get-child'.
18952         (org-list-struct-fix-ind): Make use of accessors.
18953         (org-list-get-next-item): New function.
18954         (org-list-get-subtree): New function.
18956 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18958         * org-list.el (org-list-struct-assoc-at-point): Add checkbox to
18959         list structure.
18961         * org-list.el (org-list-struct-assoc-at-point): Add checkbox as
18962         value in structure.
18964         * org-list.el (org-list-struct-apply-struct): Also apply
18965         checkboxes.
18967 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18969         * org-latex.el (org-export-latex-content): Bind local variables
18970         for export in the temporary export buffer.
18972 2011-07-28  David Maus  <dmaus@ictsoc.de>
18974         * org-protocol.el (org-protocol-unhex-single-byte-sequence)
18975         (org-protocol-unhex-string, org-protocol-unhex-compound):
18976         Change date of obsolete declaration to 2011-02-17.
18978 2011-07-28  David Maus  <dmaus@ictsoc.de>
18980         * org.el (org-link-escape): Throw error if encoding character in
18981         utf8 fails.
18983 2011-07-28  David Maus  <dmaus@ictsoc.de>
18985         * org-protocol.el (org-protocol-split-data)
18986         (org-protocol-open-source): Use `org-link-unescape' instead of
18987         obsolete unhex string function.
18989 2011-07-28  David Maus  <dmaus@ictsoc.de>
18991         * org.el (org-link-escape, org-link-escape-chars-browser)
18992         (org-link-escape-chars): Always percent escape the percent sign.
18994 2011-07-28  David Maus  <dmaus@ictsoc.de>
18996         * org.el (org-link-unescape): Simpler algorithm for replacing
18997         percent escapes.
18998         (org-link-unescape-compound): Use cond statements instead of nested
18999         if, convert hex string with string-to-number, save match data.
19000         (org-link-unescape-single-byte-sequence): Use mapconcat and
19001         string-to-number for unescaping single byte sequence.
19003 2011-07-28  David Maus  <dmaus@ictsoc.de>
19005         * org.el (org-link-escape): Rename lambda argument.
19007 2011-07-28  David Maus  <dmaus@ictsoc.de>
19009         * org.el (org-link-escape-chars-browser, org-link-escape-chars):
19010         Add percent sign to list of escape chars.
19012 2011-07-28  David Maus  <dmaus@ictsoc.de>
19014         * org-mobile.el (org-mobile-escape-olp): Use new percent escape
19015         character table format.
19017 2011-07-28  David Maus  <dmaus@ictsoc.de>
19019         * org-mobile.el (org-mobile-locate-entry): Remove obsolete
19020         argument in call to org-link-unescape.
19022 2011-07-28  David Maus  <dmaus@ictsoc.de>
19024         * org-protocol.el (org-protocol-unhex-string)
19025         (org-protocol-unhex-compound)
19026         (org-protocol-unhex-single-byte-sequence): Declare obsolete and
19027         alias to respective org-link-unescape-* functions.
19029 2011-07-28  David Maus  <dmaus@ictsoc.de>
19031         * org.el (org-link-unescape, org-link-unescape-compound)
19032         (org-link-unescape-single-byte-sequence): Functions moved and renamed
19033         from org-protocol.el.
19035 2011-07-28  David Maus  <dmaus@ictsoc.de>
19037         * org-macs.el (org-char-to-string): Inline function to properly
19038         decode utf8 characters in Emacs 22.  Moved and renamed from
19039         org-protocol.el.
19041 2011-07-28  David Maus  <dmaus@ictsoc.de>
19043         * org.el (org-link-escape): New optional argument.  Merge user
19044         table with default table.
19046 2011-07-28  David Maus  <dmaus@ictsoc.de>
19048         * org.el (org-link-escape): Fixup doc string.
19050 2011-07-28  David Maus  <dmaus@ictsoc.de>
19052         * org.el (org-link-escape-chars, org-link-escape-chars-browser):
19053         New format of percent escape table.
19054         (org-link-escape): Use new table format.
19056 2011-07-28  David Maus  <dmaus@ictsoc.de>
19058         * org.el (org-link-escape): New Unicode aware percent encoding
19059         algorithm.
19061 2011-07-28  Sebastian Rose  <sebastian_rose@gmx.de>
19063         * org-protocol.el (org-protocol-unhex-single-byte-sequence):
19064         New function.  Decode hex-encoded singly byte sequences.
19065         (org-protocol-unhex-compound): Use new function if decoding sequence
19066         as Unicode character failed.
19068 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19070         * org-html.el (org-export-as-html): Expand the HTML title.
19072 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19074         * org-publish.el (org-publish-cache-ctime-of-src):
19075         Improve docstring.
19076         (org-publish-find-title): New option to explicitly reset the title
19077         in the cache.
19078         (org-publish-format-file-entry): Use this new option.
19080 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19082         * org-exp.el (org-export-preprocess-string): Set the source buffer
19083         and use `org-clone-local-variables' to get local variables from
19084         it.
19086 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19088         * org-exp.el (org-export-format-source-code-or-example):
19089         Allow empty string as second element in minted/listings options.
19091 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19093         * org-exp.el (org-export-format-source-code-or-example):
19094         Support new user-customizable options.
19095         (org-export-latex-custom-lang-environments): Ensure new variable
19096         is defined.
19097         (org-export-latex-listings-options): Ensure new variable is defined.
19098         (org-export-latex-minted-options): Ensure new variable is defined.
19100 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19102         * org-html.el (org-export-as-html): Handle the case when
19103         `org-export-html-validation-link' is nil to keep backward
19104         compatible with the old default value of this variable.
19106 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19108         * ob.el (org-babel-insert-result): Don't choke if indent is not a
19109         number.
19111 2011-07-28  Christian Moe  <mail@christianmoe.com>  (tiny change)
19113         * org-bbdb.el (org-bbdb-export): When a link description has been
19114         added by `org-export-normalize-links', use path instead (remove
19115         the `bbdb:' prefix).
19117 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19119         * org-ascii.el (org-export-ascii-underline): Put the level's
19120         characters in the right order, as documented by the docstring.
19121         (org-ascii-level-start): Select the right char for underlining
19122         headlines.
19124 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19126         * org-src.el (org-edit-src-code): Allow to edit source code from
19127         modes derived from Org.
19129 2011-07-28  Niels Giesen  <niels.giesen@gmail.com>
19131         * org-clock.el (org-clock-clocktable-language-setup): Add list of
19132         dutch strings.
19134 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19136         * org-beamer.el: Mark frame as fragile when it is using minted for
19137         src block export.
19139 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19141         * org-agenda.el (org-agenda-date-later)
19142         (org-agenda-date-earlier): Enhance docstrings.
19143         (org-agenda-bulk-mark-regexp): Only match against headlines.
19144         Send a message when no entry is marked.
19145         (org-agenda-bulk-action): Fix bug about scattering deadlines.
19146         Send an error when trying to scatter outside an agenda or a
19147         timeline view.  Silently fail when trying to scatter sexp entries.
19149 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19151         * org-clock.el (org-clock-clocktable-language-setup): New custom
19152         variable.
19153         (org-clocktable-defaults): Set the default language.
19154         (org-clocktable-write-default): Use the new variable.
19156 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19158         * ob.el (org-babel-src-block-names): Don't strip text properties
19159         from search hits.
19160         (org-babel-result-names): Don't strip text properties from search
19161         hits.
19163 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19165         * ob-python.el (org-babel-python-evaluate-session): Pass nil as
19166         remove-echo part of META argument to
19167         `org-babel-comint-with-output'.
19169 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19171         * ob.el (org-babel-script-escape): Use `substring' comparison
19172         instead of regexp matching.
19174 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19176         * org-src.el (org-edit-src-code): When generating the code edit
19177         buffer, it is necessary for several variables to inherit their
19178         values from the parent org buffer.  These changes collect all such
19179         variables together into a single association list of
19180         `(variable-name value)' pairs.  In addition, a new variable is
19181         added to the list: `org-edit-src-content-indentation'.  This has
19182         the effect that a buffer local value can be used for that
19183         variable.
19185 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19187         * ob-table.el (sbe): Don't truncate sbe results.
19189 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
19191         * org-exp.el (org-export-add-options-to-plist): Require match to
19192         start at a word-boundary.
19194 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19196         * org-latex.el (org-export-latex-hyperref-format):
19197         Update docstring.
19199 2011-07-28  Tom Dye  <tsd@tsdye.com>
19201         * org.el: Update documentation of `org-add-link-type'.
19203 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19205         * org.el (org-open-at-point): Fix bug when using prefix arg to
19206         construct `org-link-search' call.  Rename prefix arg with a more
19207         generic name, to reflect its diverse uses in this function.
19209 2011-07-28  Rémi Vanicat  <vanicat@debian.org>
19211         * org-icalendar.el (org-icalendar-use-UTC-date-time): Remove.
19212         (org-icalendar-date-time-format): New custom variable.
19213         (org-icalendar-use-UTC-date-timep): New function.
19214         (org-ical-ts-to-string): Use the new variable.
19216 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19218         * org-vm.el (org-vm-store-link): Make sure the buffer is
19219         associated with a file when trying to store an Org link.
19221 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19223         * ob.el (org-babel-params-from-properties): Test for
19224         "header-arg-name" and ":header-arg-name", in that order.
19226 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19228         * org-capture.el (org-capture-templates): Document "currentfile"
19229         for capture template.
19230         (org-capture-templates): Allow to use currentfile for capture
19231         templates.
19232         (org-capture-set-target-location): Handle currentfile as a way to
19233         setting the capture buffer.
19235 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19237         * ob.el (org-babel-params-from-properties): Don't wrap
19238         `org-entry-get' into `condition-case'.
19240 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19242         * org.el (org-entry-get): Don't look for a property drawer if we
19243         are before the first heading in the file.
19244         (org-entry-get-with-inheritance): Don't attempt to move up the
19245         tree if we are before the first heading in the file.  Also,
19246         enclose less of the function in the `save-excursion'.
19248 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19250         * ob.el (org-babel-params-from-buffer): Return desired value
19251         rather than nil from failed re search.
19253 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19255         * org-agenda.el (org-get-entries-from-diary): Put multiline diary
19256         entries on a single line when lines don't start with a diary time.
19258 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19260         * org-html.el (org-export-html-protect-char-alist): New custom
19261         variable to define characters to be HTML protected.
19262         (org-html-protect): Use the new variable.
19264 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19266         * org-info.el (org-info-store-link): Use "#" to separate the info
19267         file and the node.
19268         (org-info-follow-link): Use both "#" to separate the info file and
19269         the node.  Continue to use ":" for backward compatibility.
19271 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19273         * org-icalendar.el (org-icalendar-honor-noexport-tag): New custom
19274         variable.
19275         (org-print-icalendar-entries): Use this new variable to prevent
19276         export of entries with a :noexport: tag.
19278 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19280         * org-exp.el (org-export-initial-scope): New custom variable.
19281         (org-export): Use this new variable.  If there is an active
19282         region, tell it when prompting the user for an export command.
19283         Also change the way the function handles selection of buffer and
19284         subtree export.
19286 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19288         * org-html.el (org-export-html-auto-preamble)
19289         (org-export-html-auto-postamble): Remove.
19290         (org-export-html-preamble, org-export-html-postamble): Turn into
19291         custom variables.  Update the docstrings.
19292         (org-export-html-preamble-format)
19293         (org-export-html-postamble-format): New custom variables.
19294         (org-export-as-html): Use `org-export-html-postamble-format' and
19295         `org-export-html-preamble-format'.
19296         (org-export-html-title-format): Delete.
19298 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19300         * org-exp-blocks.el (org-export-blocks-format-ditaa):
19301         This function is begin deprecated in favor of begin_src blocks.
19302         (org-export-blocks-format-dot): This function is begin deprecated in
19303         favor of begin_src blocks.
19305 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19307         * ob.el (org-babel-header-arg-names): no-expand is now part of the
19308         default header argument names list.
19310 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
19312         * org-publish.el (org-publish-sitemap-date-format)
19313         (org-publish-sitemap-file-entry-format): New custom variables.
19314         (org-publish-projects): Use these variables to format the sitemap
19315         entries.
19317 2011-07-28  Ulf Stegemann  <ulf-news@zeitform.de>
19319         * org-gnus.el (org-gnus-store-link): Allow `org-link' creation
19320         from `message-mode'.
19322 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19324         * org-agenda.el (org-agenda-filter-by-tag): Refresh agenda when
19325         updating the filter while the clock report is following the
19326         filter.
19328 2011-07-28  Julien Danjou  <julien@danjou.info>
19330         * org-agenda.el (org-agenda): Kill all local variables.
19331         This assures we are not keeping buffer variable from an old agenda view
19332         when switching to a new custom agenda.
19334 2011-07-28  Julien Danjou  <julien@danjou.info>
19336         * org-crypt.el (org-encrypt-string): New function.
19337         (org-encrypt-entry): Use org-encrypt-string to encrypt, so we use
19338         cached crypted values.
19339         (org-decrypt-entry): Store crypted text in decrypted text.
19341 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19343         * ob-exp.el (org-babel-exp-lob-one-liners): Only replace the match
19344         if a non-nil result is returned.
19346 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19348         * org-agenda.el (org-agenda-get-day-entries): Compare DATE with
19349         modified today.
19351 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19353         * org.el (org-update-parent-todo-statistics): Fix bug when
19354         updating statistics from the column view.
19356 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19358         * org-agenda.el (org-agenda-bulk-mark-regexp): New command.
19359         (org-agenda-menu): Add the new command to the menu.
19360         (org-agenda-mode-map): Add % as the keybinding for the new
19361         command.
19363 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19365         * org-exp.el (org-export-target-internal-links): Locally turn on
19366         `org-link-search-must-match-exact-headline' to match exact
19367         internal links.
19369 2011-07-28  Julien Danjou  <julien@danjou.info>
19371         * org-faces.el (org-special-keyword): Make it inherited from
19372         `font-lock-keyword-face'.
19374 2011-07-28  Julien Danjou  <julien@danjou.info>
19376         * org-faces.el (org-link): Make `org-link' inherits from `link'
19377         face.
19379 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19381         * org.el (org-narrow-to-block): New function to narrow to block.
19382         Bound this function to `C-x n b'.
19384 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19386         * org.el (org-schedule, org-deadline): Fix bug: take care of
19387         repeating timestamps like ".+1d/3d" or "+1d 10d".
19389 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19391         * org-agenda.el (org-agenda-repeating-timestamp-show-all):
19392         Allow to use a list of TODO keywords as the value of this variable.
19393         The agenda will show repeating stamps for entries matching these TODO
19394         keywords.
19395         (org-agenda-get-timestamps, org-agenda-get-deadlines)
19396         (org-agenda-get-scheduled): Allow the use of a list of keywords in
19397         `org-agenda-repeating-timestamp-show-all'.
19399 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19401         * org-latex.el (org-export-latex-emph-format): Don't use
19402         `org-export-latex-use-verb'.  Remove this variable.
19404 2011-07-28  Jason Dunsmore  <emacs-orgmode@dunsmor.com>  (tiny change)
19406         * org-html.el (org-html-handle-time-stamps): Fix bug when
19407         exporting inactive timestamps.
19409 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19411         * org-archive.el (org-archive-save-context-info): Fix docstring
19412         typo.
19413         (org-archive-subtree-add-inherited-tags): New variable to control
19414         whether inherited tags should be appended to local tags when
19415         archiving subtrees.
19416         (org-archive-subtree): Use the new variable.
19418 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19420         * org-archive.el (org-archive-save-context-info): Fix docstring.
19422 2011-07-28  Julien Danjou  <julien@danjou.info>
19424         * org-crypt.el (org-decrypt-entry): Delete \n on top level
19425         heading.  This avoids a display bug showing the heading outlined
19426         where the text is not since it does not have the outline property.
19427         Restore subtree visibility state after decryption.
19429 2011-07-28  Julien Danjou  <julien@danjou.info>
19431         * org-agenda.el (org-agenda-list): Use `org-agenda-current-span'
19432         as a possible default span if it is set.
19434 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19436         * org-src.el (org-edit-src-persistent-message): Change docstring.
19437         (org-edit-src-code): Get rid of help message in echo area.
19439         * ob.el (org-babel-do-in-edit-buffer): Do not pass 'quietly
19440         argument to org-edit-src-code as this has been removed.
19442 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19444         * org-latex.el (org-export-latex-emphasis-alist):
19445         Use \protectedtexttt for the =...= emphasis and \verb for the ~...~
19446         emphasis.
19447         (org-export-latex-use-verb): Now defaults to t.
19448         (org-export-latex-emph-format): Distinguish between =...= and
19449         ~...~ emphasis.
19451 2011-07-28  Julien Danjou  <julien@danjou.info>
19453         * org.el (org-link-expand-abbrev): Allow any type of character in
19454         link expand.
19456 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19458         * ob-lob.el (org-babel-lob-ingest): Add prefix to file prompt.
19460 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19462         * ob-ref.el (org-babel-ref-resolve): `save-window-excursion' when
19463         resolving references.
19465 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19467         * org-html.el (org-export-html-html-helper-timestamp): Use <hr/>
19468         instead of <hr> to keep w3c validator happy.
19470 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19472         * ob.el (org-babel-where-is-src-block-head): Detect src block if
19473         point is on a #+header line.
19475 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19477         * ob.el (org-babel-where-is-src-block-head): Skip over intervening
19478         #+header lines when searching for block associated with block name
19479         line.
19481 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19483         * ob.el (org-babel-result-end): Replace call to `org-in-item-p' to
19484         the more specific `org-at-item-p'.
19486 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19488         * org-latex.el (org-latex-default-figure-position): New defcustom
19489         for default placement of latex figures.
19490         (org-export-latex-tables): Positioning tables using the new
19491         defcustom variable.
19492         (org-export-latex-format-image): Positioning images using the new
19493         defcustom variable.
19495 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19497         * ob-ditaa.el (org-babel-execute:ditaa): Throw error when
19498         evaluated and :file header argument is missing.
19500 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19502         * ob-exp.el (org-babel-exp-do-export): Simplify, no longer need
19503         to do anything to export code.
19504         (org-babel-exp-results): No longer returns a replacement for the
19505         code block.
19506         (org-babel-exp-inline-src-blocks): Simplify.
19507         (org-babel-exp-src-block): Remove unnecessary pluralization from
19508         function name.
19510 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19512         * ob-exp.el (org-babel-exp-inline-src-blocks):
19513         Simplify exportation of inline code blocks using normal code block
19514         execution mechanism to insert results.
19515         (org-babel-exp-results): Results exportation mechanism is unified
19516         for both inline and regular code blocks.
19518         * ob.el (org-babel-where-is-src-block-result): Returns the point
19519         after an inline code block for inline code blocks.
19521 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19523         * ob.el (org-babel-insert-result): Special handling of the
19524         position of results of inline code blocks.
19525         (org-babel-examplize-region): Now able to comment inline regions.
19527 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
19529         * org-exp.el (org-export-with-LaTeX-fragments): Fix docstring so
19530         that \\[ a = b \\] is not interpreted as a keybinding by
19531         `substitute-command-keys'.
19533 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19535         * org-latex.el (org-export-as-latex): Process export property list
19536         with `org-export-process-option-filters' early in latex export.
19538 2011-07-28  Julien Danjou  <julien@danjou.info>
19540         * org.el: Remove `org-invisible-p': `outline-invisible-p' is
19541         available in Emacs 22 and in recent XEmacs 21.  Replace in various
19542         files.
19544 2011-07-28  Julien Danjou  <julien@danjou.info>
19546         * org-agenda.el (org-agenda-get-progress): Fix regexp for statep:
19547         it must has \\ at the end of the line.  This avoid matching the
19548         following heading when there's no newline between the logged state
19549         and the next heading.
19551 2011-07-28  Julien Danjou  <julien@danjou.info>
19553         * org-agenda.el (org-format-agenda-item): Simplify time comuting.
19555 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
19557         * org.el (org-current-level, org-store-link, org-mark-subtree):
19558         Use `org-with-limited-levels'.
19560 2011-07-28  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
19562         * org-publish.el (org-publish-get-base-files): Add sitemap file.
19564 2011-07-28  Matt Lundin  <mdl@imapmail.org>
19566         * org-agenda.el (org-agenda-todo-ignore-deadlines): New option.
19567         (org-agenda-todo-ignore-scheduled): New option.
19568         (org-agenda-todo-ignore-timestamp): New option.
19569         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
19570         Allow user to specify custom distance to ignore (future or past).
19571         (org-agenda-todo-custom-ignore-p): New function.
19573 2011-07-28  Matt Lundin  <mdl@imapmail.org>
19575         * org-habit.el (org-habit-parse-todo) Don't parse more days than
19576         needed.
19578 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19580         * ob.el (org-babel-map-inline-src-blocks): Macro for executing
19581         code in each inline code block.
19582         (org-babel-execute-buffer): Executes inline code blocks as well as
19583         regular code blocks.
19585 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19587         * ob.el (org-babel-result-end): Now recognizes "#+begin_org"
19588         blocks for removal.
19590 2011-07-28  Benjamin Drieu  <bdrieu@april.org>  (tiny change)
19592         * org-clock.el (org-clock-before-select-task-hook): New hook.
19593         (org-clock-select-task): Run new hook.
19595 2011-07-28  Julien Danjou  <julien@danjou.info>
19597         * org-agenda.el (org-agenda-get-blocks): Fix time of start/end of
19598         events with range.  This display things like: <2011-01-22 Sat
19599         14:00>--<2011-01-23 Sun 20:00> correctly, with the event starting
19600         at 14:00 and ending at 20:00.
19602 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19604         * ob.el (org-babel-inline-src-block-regexp): Character preceding
19605         "src_" can now be anything as long as it is neither alphanumeric
19606         nor '-'.
19608 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19610         * ob.el (org-babel-merge-params): Docstring typo.
19612 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19614         * ob.el (org-babel-params-from-buffer): Process all #+babel: lines
19615         in the buffer.
19617 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19619         * ob.el (org-babel-get-src-block-info): Alter order of merge
19620         arguments.
19622 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19624         * ob-python.el: Test whether non-nil buffer is #<killed buffer>.
19626 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19628         * ob.el (org-babel-insert-result): Ensure all parts of result
19629         wrappers end in newlines.
19631 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19633         * ob-tangle.el (org-babel-tangle): New :mkdirp header argument
19634         optionally creates parent directories of tangle targets.
19636 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19638         * org-ascii.el (org-ascii-level-start): Catch the case of levels
19639         which do not have an equivalent in the list of underline
19640         characters.
19642 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19644         * ob-sh.el (org-babel-sh-var-quote-fmt): Now possible to customize
19645         the format string used to escape arguments to shell code blocks.
19647 2011-07-28  Julien Danjou  <julien@danjou.info>
19649         * org-agenda.el (org-agenda-reset-view): New function.
19650         (org-agenda-view-mode-dispatch): Bind space to org-agenda-reset-view.
19652 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
19654         * org-exp.el (org-export-handle-include-files): Support :lines
19655         property.
19656         (org-get-file-contents): New argument lines to include specify a
19657         range of lines to include.
19659 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19661         * org.el (org-fast-tag-selection): Fix bug when assigning keys.
19663 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
19665         * org-latex.el (org-export-latex-make-header): Export email in
19666         author line if `org-export-email-info' is non-nil.
19668 2011-07-28  Julien Danjou  <julien@danjou.info>
19670         * org-agenda.el (org-agenda-goto-today): Respect current span.
19672 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19674         * org-complete.el (pcomplete/org-mode/link)
19675         (pcomplete/org-mode/todo, pcomplete/org-mode/prop): Copy list
19676         before uniquifying.
19678 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19680         * ob-tangle.el (org-babel-spec-to-string): Adding "noweb" as a
19681         linking comment type
19682         (org-babel-tangle-comment-links): Returns comment links for the
19683         source code block at point.
19685 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19687         * org.el (org-refile-check-position): Send a more explicit message
19688         on how to clear the cache before refiling again.
19690 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19692         * org-agenda.el (org-agenda-skip-function-global): New option.
19693         (org-agenda-skip-eval): New function.
19694         (org-agenda-skip): Use `org-agenda-skip-eval' and also check for
19695         the global skipping condition.
19697 2011-07-28  David Maus  <dmaus@ictsoc.de>
19699         * org-html.el (org-export-as-html): Handle timestamps after
19700         handling links.
19702 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19704         * ob-tangle.el (org-babel-tangle-jump-to-org): Ever wider searches
19705         until either a matching block is found, or the limits of the file
19706         are reached.
19708 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19710         * ob.el (org-babel-update-block-body): Literal argument to
19711         `replace-match' to allow insertion of text containing '\'.
19713 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19715         * ob-ref.el (org-babel-ref-parse): Allow passing empty strings
19716         into code blocks.
19718 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19720         * org.el (org-sort-entries): Fix sorting with a bold emphasis at bol.
19722 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19724         * ob.el (org-babel-open-src-block-result): Must collect result
19725         *before* jumping to the result buffer.
19727 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19729         * ob.el (org-babel-src-block-names): Fix bug, wrong match-string
19730         used after update to regexp.
19732 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19734         * ob.el (org-babel-temp-file): Ensure that
19735         `org-babel-temporary-directory' is bound before using.
19736         (org-babel-remove-temporary-directory): Safer error throwing.
19738 2011-07-28  niels giesen  <niels.giesen@gmail.com>
19740         * org-docbook.el (org-export-docbook-finalize-table): Do literal
19741         replacements.
19743 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19745         * ob.el (org-babel-execute-src-block): Uses org-src-lang-modes to
19746         resolve language names for evaluation.
19748 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19750         * org-capture.el (org-capture-templates): Add %f and %F escapes
19751         (org-capture): Add more information to capture property list
19752         (org-capture-fill-template): Handle %f and %F escapes.
19754 2011-07-28  David Maus  <dmaus@ictsoc.de>
19756         * org-publish.el (org-publish-cache-ctime-of-src): Use mtime of
19757         symlink target.
19759 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19761         * org.el (org-occur-next-match): New function.
19762         (org-mode): Set the variable `next-error-function'.
19763         (org-highlight-new-match): Add an `org-type' property to the
19764         overlays.
19766 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19768         * ob-calc.el: No longer require `calc-trail' on XEmacs.
19770 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19772         * org.el (org-modules): Add `org-eshell'.
19774 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19776         * org-special-blocks.el (htmlp, latexp, line): Add defvars for
19777         dynamically scoped variables.
19779         * org.el (org-modules): Move `org-special-blocks' into the core
19780         modules section.
19782 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19784         * org-special-blocks.el: New file.
19786 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19788         * org.el (org-plist-delete): Remove duplicate definition.
19790 2011-07-28  Bernt Hansen  <bernt@norang.ca>
19792         * org-agenda.el (org-agenda-goto): Display invisible entry text.
19794         * org-agenda.el (org-agenda-switch-to): Display invisible entry
19795         text.
19797 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19799         * org.el (org-get-category): New optional argument FORCE-REFRESH.
19800         Automatically refresh if the property is not there.
19801         (org-entry-properties): Remove refresh - this is now done in
19802         org-get-category.
19804         * org-clock.el (org-clock-insert-selection-line):
19805         Let `org-get-category' do the property refresh.
19807         * org-archive.el (org-archive-subtree): Force a refresh of
19808         category properties.
19810 2011-07-28  Julien Danjou  <julien@danjou.info>
19812         * org-icalendar.el (org-print-icalendar-entries): Do not manually
19813         refresh categories.
19815 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19817         * org.el (org-display-inline-images): Check for clear-image-cache
19818         before using it.
19820 2011-07-28  Bernt Hansen  <bernt@norang.ca>
19822         * org.el: Document missing value for org-link-frame-setup.
19824 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19826         * ob-R.el (org-babel-R-write-object-command): Force evaluation of
19827         user code prior to the R exception-handling, so that errors in
19828         user code are unhandled.
19830 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19832         * org-src.el (org-src-font-lock-fontify-block): Test, early on,
19833         that a major-mode function corresponding to the language string
19834         exists.
19836 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
19838         * org-exp.el (org-export-mark-list-ending): Insert additional
19839         newline characters if end-list-marker is at a wrong position.
19841 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19843         * ob.el (org-babel-script-escape): Replace commas with spaces for
19844         better list reading when list items are packed with commas,
19845         e.g. Haskell list output.
19847 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19849         * ob-sass.el (org-babel-execute:sass): Uses ob-eval for better
19850         error reporting.
19852 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19854         * ob.el (org-babel-confirm-evaluate): Fix for the case when
19855         org-confirm-babel-evaluate is a function (used to always ask no
19856         matter what the function returns).
19858 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19860         * ob-R.el: Delete duplicated function.
19862 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19864         * ob.el (org-babel-execute-src-block): Remove unused flet
19865         function.
19867 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19869         * ob-asymptote.el (org-babel-execute:asymptote): Return nil to
19870         signal that the intended content has been written to file.
19872         * ob-ditaa.el (org-babel-execute:ditaa): Return nil to signal that
19873         the intended content has been written to file.
19875         * ob-dot.el (org-babel-execute:dot): Return nil to signal that the
19876         intended content has been written to file.
19878         * ob-gnuplot.el (org-babel-execute:gnuplot): Return nil to signal
19879         that the intended content has been written to file.
19881         * ob-latex.el (org-babel-execute:latex): Return nil to signal that
19882         the intended content has been written to file.
19884         * ob-mscgen.el (org-babel-execute:mscgen): Return nil to signal
19885         that the intended content has been written to file.
19887         * ob-octave.el (org-babel-execute:octave): Return result; not name
19888         of output file.
19890         * ob-plantuml.el (org-babel-execute:plantuml): Return nil to
19891         signal that the intended content has been written to file.
19893         * ob-python.el (org-babel-execute:python): Return result; not name
19894         of output file.
19896         * ob-ruby.el (org-babel-execute:ruby): Return result; not name of
19897         output file.
19899         * ob-sass.el (org-babel-execute:sass): Return nil if result has
19900         been written to file.
19902 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19904         * ob-R.el (org-babel-R-graphical-output-file): New function
19905         returns the name of the output file iff R has been instructed to
19906         send graphical output to file by means of the ":results graphics"
19907         directive.
19908         (org-babel-expand-body:R): Use `org-babel-R-graphical-output-file'
19909         when constructing the R code to evaluate, which may be augmented
19910         with code implementing the writing of graohical output to file.
19911         (org-babel-execute:R): Use `org-babel-R-graphical-output-file' to
19912         determine whether R is taking responsibility for writing output to
19913         file; if so, this is signaled to ob.el by returning a nil result.
19915 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19917         * ob.el (org-babel-format-result): New function to format results
19918         of src block execution.
19919         (org-babel-execute-src-block): Use `org-babel-format-result' when
19920         writing to file.
19921         (org-babel-open-src-block-result): Use `org-babel-format-result'
19922         when displaying results in a buffer.  Name results buffer
19923         differently.
19925 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19927         * ob.el (org-babel-execute-src-block): Avoid calling
19928         `orgtbl-to-generic' on number results.
19930 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19932         * ob.el (org-babel-execute-src-block): Allow specification of
19933         table separator with :sep header argument.
19934         (org-babel-open-src-block-result): Allow specification of table
19935         separator with :sep header argument.
19937 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19939         * ob.el (org-babel-execute-buffer): Wipe error buffer at outset of
19940         executing buffer (note that this handles execute subtree also).
19942 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
19944         * org-inlinetask.el (org-inlinetask-in-task-p): Small refactoring,
19945         do not modify match data either.
19946         (org-inlinetask-goto-end): Small refactoring, remove
19947         case-sensitivity.
19948         (org-inlinetask-goto-beginning): Small refactoring, remove
19949         case-sensitivity.
19951 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19953         * org-capture.el (org-capture-set-target-location):
19954         Use `current-time'.
19956 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19958         * org-capture.el (org-capture-set-target-location):
19959         Use `current-time'.
19961 2011-07-28  Bernt Hansen  <bernt@norang.ca>
19963         * org.el (org-before-first-heading-p): If point is on an org-mode
19964         heading line then we are not before the first heading.
19966 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
19968         * org-timer.el (org-timer-continue-hook): Define the variable
19969         (org-timer-pause-or-continue): Run hook after relative timer is
19970         continued.
19972 2011-07-28  Julien Danjou  <julien@danjou.info>
19974         * org-agenda.el (org-compile-prefix-format): Allow %() expression.
19976 2011-07-28  Julien Danjou  <julien@danjou.info>
19978         * org-capture.el (org-capture-fill-template): Use org-eval.
19980 2011-07-28  Julien Danjou  <julien@danjou.info>
19982         * org-agenda.el (org-eval): New function.
19984 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19986         * ob.el (org-babel-execute-src-block): With :results file, when
19987         :file is not supplied, interpret result as a file link as long as
19988         it is a string.
19990 2011-07-28  David Maus  <dmaus@ictsoc.de>
19992         * org-latex.el (org-export-latex-preprocess): Don't convert link
19993         description parts that look like numeric footnote.
19995 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19997         * org-latex.el (org-export-latex-tables): Allowing specification
19998         of tabular[xy] inner environments through the ATTR_LaTeX line.
20000 2011-07-28  Julien Danjou  <julien@danjou.info>
20002         * org-capture.el (org-capture-fill-template):
20003         Use `org-set-property' directly.
20005 2011-07-28  Julien Danjou  <julien@danjou.info>
20007         * org-agenda.el (org-agenda-prefix-format): Add missing `search'
20008         item in docstring.
20010 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
20012         * org-exp.el (org-export-string): Use `format' to construct
20013         function call to allow symbolic or string arguments.
20015 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20017         * org-capture.el (org-capture-place-entry):
20018         (org-capture-insert-template-here): Check tree for validity before
20019         pasting it.
20021 2011-07-28  Julien Danjou  <julien@danjou.info>
20023         * org-gnus.el (org-gnus-store-link): Trim date.
20025 2011-07-28  Julien Danjou  <julien@danjou.info>
20027         * org.el (org-email-link-description): Allow to retrieve email
20028         link date.
20030 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
20032         * org.el (org-make-target-link-regexp): `regexp-quote' target
20033         before replacing whitespace.
20035 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
20037         * ob.el (org-babel-expand-noweb-references): Noweb references can
20038         now be resolved from the library of babel.
20040 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
20042         * ob.el (org-babel-result-end): No longer leaving trailing new
20043         line after block removal.
20045 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20047         * org-latex.el (org-export-latex-first-lines): Anchor outline
20048         regexp during LaTeX tree export.
20050 2011-07-28  Konrad Hinsen  <konrad.hinsen@fastmail.net>
20052         * ob-python.el (org-babel-python-initiate-session-by-key):
20053         Make sure that py-which-bufname is initialized, as otherwise it will be
20054         overwritten the first time a Python buffer is created.
20056 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
20058         * ob-sh.el (org-babel-sh-var-to-sh): Better escaping of variables
20059         with spaces.
20061 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
20063         * ob-org.el (org-babel-execute:org): Padding code block with an
20064         empty title on LaTeX export.
20066 2011-07-28  Matt Lundin  <mdl@imapmail.org>
20068         * org.el (org-entry-properties): Stop scanning for timestamps if a
20069         specific timestamp property (e.g., DEADLINE, SCHEDULED, etc.) is
20070         requested and a match is found.  Also, if a specific timestamp
20071         property is requested, do not push non-relevant timestamps onto
20072         property list.
20074 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20076         * org-agenda.el (org-agenda-add-time-grid-maybe): Show time only
20077         when grid is being made for today.
20079 2011-07-28  Matt Lundin  <mdl@imapmail.org>
20081         * org-agenda.el (org-agenda-get-scheduled): Don't call
20082         `org-is-habit-p' until after checking for
20083         `org-agenda-skip-scheduled-if-done'.
20085 2011-07-28  Achim Gratz  <Stromeko@nexgo.de>
20087         * org.el: Remove spurious linebreak introduced by earlier patch.
20089         * ob.el, ob-ref.el: Remove double fix of the same problem.
20091 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20093         * org-table.el (orgtbl-ctrl-c-ctrl-c): Parse buffer for constants.
20095 2011-07-28  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>
20097         * org-html.el (org-export-html-mathjax-template):
20098         Displaymath environment and MathJax.
20100 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20102         * org-faces.el (org-agenda-current-time): New face.
20104         * org-agenda.el (org-agenda-show-current-time-in-grid):
20105         (org-agenda-current-time-string): New options.
20106         (org-agenda-add-time-grid-maybe): Add current time to time grid.
20108 2011-05-10  Jim Meyering  <meyering@redhat.com>
20110         Fix doubled-word typos.
20111         * org-agenda.el (org-agenda-entry-types): the the -> the
20112         * org-table.el (org-table-get-remote-range): or or -> or
20113         * org-wl.el (org-wl-folder-type): the the -> the
20114         * org.el (org-goto, org-inside-LaTeX-fragment-p): Likewise.
20116 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20118         * org-src.el (org-src-switch-to-buffer):
20119         * org-plot.el (org-plot/gnuplot-script, org-plot/gnuplot):
20120         * org-mouse.el (org-mouse-agenda-type):
20121         * org-freemind.el (org-freemind-node-to-org):
20122         * ob-sql.el (org-babel-execute:sql):
20123         * ob-exp.el (org-babel-exp-do-export, org-babel-exp-code):
20124         * ob-ref.el (org-babel-ref-resolve): Fix use of case.
20126 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
20128         * Version 23.3 released.
20130 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
20132         * org.el (org-blank-before-new-entry, org-context-in-file-links)
20133         (org-refile-targets, org-log-repeat, org-insert-link)
20134         (org-speed-command-default-hook, org-speed-command-hook)
20135         (org-in-regexps-block-p, org-yank-generic, org-goto-first-child):
20136         Fix typos in docstrings.
20137         (org-toggle-pretty-entities): Fix typo in message.
20139 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
20141         * org-id.el: Don't set `kill-emacs-hook' on noninteractive sessions.
20143 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
20145         * org-remember.el (org-remember-mode-map):
20146         * org-src.el (org-src-mode-map): Move initialization into declaration.
20148 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
20150         * org-remember.el (org-remember-mode):
20151         * org-capture.el (org-capture-mode): Don't run hook redundantly.
20153 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
20155         * org-faces.el (org-link): Inherit from link face.
20156         Suggested by Joakim Verona.
20158 2010-12-11  Tassilo Horn  <tassilo@member.fsf.org>
20160         * org-footnote.el (org-footnote-create-definition): Place
20161         Footnotes section before message-signature-separator also in modes
20162         derived from message-mode.
20164 2010-12-11  Julien Danjou  <julien@danjou.info>
20166         * org.el (org-make-tags-matcher): Remove useless cat-p value.
20168 2010-12-11  Julien Danjou  <julien@danjou.info>
20170         * org.el (org-entry-properties): Enhance docstring.
20172 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20174         * org-list.el (org-list-top-point-with-indent)
20175         (org-list-bottom-point-with-indent): Pay also attention to
20176         'original-indentation property of text, as blocks are put to
20177         column 0 upon exporting.
20179 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20181         * ob.el (org-babel-remove-temporary-directory): Handle exception
20182         with message informing of failure to remove directory.
20184 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20186         * ob-clojure.el (org-babel-header-arg-names:clojure): Add
20187         `package' to the list of Clojure header arguments which will be read
20188         from heading properties.
20190 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20192         * org-inlinetask.el (org-inlinetask-export-templates): Add
20193         Sébastien Vauban's suggestion for LaTeX export in docstring.  This is
20194         not default as it requires an additional LaTeX package: "todonotes".
20196 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20198         * org-inlinetask.el (org-inlinetask-export-templates): New variable.
20200         * org-inlinetask.el (org-inlinetask-export-handler): Make use of
20201         templates to export inline tasks.
20203 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20205         * org.el (org-current-level): Ignore inline tasks when getting current
20206         level of entry.
20208 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20210         * org.el (org-indent-line-function): Ignore drawers inside inline
20211         tasks  if the line to indent isn't inside an inline task itself.
20213 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20215         * org-inlinetask.el (org-inlinetask-get-task-level): New function.
20217         * org-indent.el (org-indent-add-properties): Find true level of
20218         indentation wrt inline tasks.
20220 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20222         * org-inlinetask.el (org-inlinetask-outline-regexp): New function.
20224         * org-inlinetask.el (org-inlinetask-goto-beginning): New function.
20226         * org-inlinetask.el (org-inlinetask-goto-end): New function.
20228         * org.el (org-mark-subtree): New command.
20230         * org.el (org-speed-commands-default, org-mode-map): Make use of
20231         new command.
20233 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20235         * org-inlinetask.el (org-inlinetask-export-handler): Remove protection
20236         from @<span class...> so it can be removed during LaTeX export.
20238 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20240         * ob.el (org-babel-insert-result): More informative code block
20241         evaluation messages.
20243 2010-12-11  Matt Lundin  <mdl@imapmail.org>
20245         * org.el (org-make-heading-search-string): Optionally limit number
20246         of lines stored in file link search strings.
20247         (org-context-in-file-links): Add option to set to integer specifying
20248         number of lines.
20250 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20252         * org-capture.el (org-capture-finalize): New prefix argument
20253         STAY-WITH-CAPTURE.
20254         (org-capture-refile): Improve docstring.
20256 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20258         * ob-sql.el (org-babel-execute:sql): Add msosql as optional sql
20259         interaction engine.
20261 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20263         * org-agenda.el (org-agenda-list):
20264         (org-agenda-goto-today): Use `org-today'.
20266 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20268         * org-latex.el (org-export-latex-make-header): Swap \begin{document}
20269         and the title/author definitions.
20271 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20273         * org-macs.el: Better backup definition for
20274         `with-silent-modifications'.
20276 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20278         * ob-python.el (org-babel-execute:python): Rename "prefix" to
20279         "preamble".
20280         (org-babel-python-evaluate): Rename "prefix" to "preamble".
20281         (org-babel-python-evaluate-external-process): Rename "prefix" to
20282         "preamble".
20284 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20286         * ob.el (org-babel-examplize-region): Check if `end' is a marker
20287         or a point and handle appropriately.
20289 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20291         * ob-sql.el (org-babel-execute:sql): Explicitly set field
20292         separator to \t when importing tabular data.
20294 2010-12-11  Julien Danjou  <julien@danjou.info>
20296         * org-agenda.el (org-agenda-custom-commands-local-options):
20297         Allow org-agenda-span to be a symbol.
20298         (org-agenda-ndays): Make obsolete.
20299         (org-agenda-span): New variable superseding org-agenda-ndays.
20300         (org-agenda-menu): Use org-agenda-current-span.
20301         (org-agenda-current-span): New local variable storing current
20302         span.
20303         (org-agenda-list): Take a span instead of ndays as argument.
20304         This function is now responsible for computing the ndays based
20305         on span.
20306         (org-agenda-ndays-to-span): Return span only if number of days
20307         really matches.
20308         (org-agenda-span-to-ndays): New function.
20309         (org-agenda-manipulate-query): Use org-agenda-compute-starting-span.
20310         (org-agenda-goto-today): Use org-agenda-compute-starting-span.
20311         (org-agenda-later): Do not give compute a new span, use the
20312         current one.
20313         (org-agenda-day-view, org-agenda-week-view)
20314         (org-agenda-month-view, org-agenda-year-view): Stop touching
20315         org-agenda-ndays.
20316         (org-agenda-change-time-span): Only compute starting-span.
20317         (org-agenda-compute-starting-span): New function derived from
20318         the old org-agenda-compute-time-span.
20319         (org-agenda-set-mode-name): Compute mode based on
20320         org-agenda-current-span.
20321         (org-agenda-span-name): New function.
20323 2010-12-11  Robert Pluim  <rpluim@gmail.com>  (tiny change)
20325         * org-agenda.el (org-agenda-toggle-deadlines): Fix docstring.
20327 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20329         * org-clock.el (org-quarter-to-date): Define variables.
20330         (org-clock-special-range): Defin variables.  Use org-floor*.
20331         (org-clocktable-write-default): Define tcol.
20333         * org-compat.el (org-floor*): New function.
20335 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20336             John Wiegley  <jwiegley@gmail.com>
20338         * org-complete.el: New file.
20340 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20342         * org-clock.el (org-clocktable-write-default): Fix the % formula.
20344 2010-12-11  Matt Lundin  <mdl@imapmail.org>
20346         * org-agenda.el (org-format-agenda-item): The value of
20347         org-category is not converted to a string unless it is defined.
20349 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20351         * ob-python.el (org-babel-execute:python): Pass the new "prefix"
20352         header argument through to external evaluation.
20353         (org-babel-python-evaluate): Pass the new "prefix" header argument
20354         through to external evaluation.
20355         (org-babel-python-evaluate-external-process): When specified prepend
20356         "prefix" to the file used in external evaluation.
20358 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20360         * ob-python.el (org-babel-python-evaluate-session): Change python
20361         module name from 'pp' to 'pprint'.
20363 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20365         * ob-R.el (org-babel-R-evaluate-session): Removing empty lines
20366         from R session output, these are often the result of variable
20367         assignments.
20369 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20371         * ob-sql.el (orgtbl-to-csv): Declaring an external function to
20372         fix a compiler warning.
20374 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20376         * ob-eval.el (require): No longer require ob.el to allow
20377         requiring by ob.el.
20379         * ob.el (ob-eval): Require ob-eval.
20381 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20383         * ob.el (org-babel-confirm-evaluate): Show code block's name when
20384         it is available during evaluation query.
20386 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20388         * ob-sql.el (org-babel-expand-body:sql): Expand the body of a sql
20389         code block.
20390         (org-babel-execute:sql): Use sql specific body expansion function.
20391         (org-babel-sql-expand-vars): Insert variables into a sql code block.
20393 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20395         * ob.el (org-babel-insert-result): Using markers instead of
20396         points for more robust buffer anchors.
20398 2010-12-11  Julien Danjou  <julien@danjou.info>
20400         * org-capture.el: Use org-today.
20402 2010-12-11  Julien Danjou  <julien@danjou.info>
20404         * org-habit.el: Use org-today.
20406 2010-12-11  Julien Danjou  <julien@danjou.info>
20408         * org.el (org-auto-repeat-maybe): Use org-today.
20410 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20412         * org-clock.el (org-day-of-week): New function.
20413         (org-quarter-to-date): New function.
20414         (org-clock-special-range): Implement quarters.
20416 2010-12-11  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
20418         * org.el (org-complete-tags-always-offer-all-agenda-tags):
20419         Fix docstring.
20421 2010-12-11  Julien Danjou  <julien@danjou.info>
20423         * org-agenda.el (org-format-agenda-item): Convert category to a string
20424         if it is a symbol.  This fixes the following call to
20425         org-agenda-get-category-icon which fails if category is not a string.
20427 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20429         * ob-clojure.el: Updated requirements documentation to mention
20430         the minimum version of Clojure.
20431         (org-babel-expand-body:clojure): Fully qualified function name.
20433 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20435         * org-latex.el (org-export-latex-lists): Do not add an
20436         unnecessary newline character after a list.
20438         * org-list.el (org-list-bottom-point-with-indent): Ensure bottom
20439         point is just after a non blank line.
20441 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20443         * ob.el (org-babel-examplize-region): Remove old assertion which
20444         no longer applies to the result insertion code.
20446 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20448         * ob-python.el (org-babel-execute:python): Use a :return header
20449         argument for external evaluation in which the code block body need
20450         to be wrapped in a function.
20452 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20454         * ob-clojure.el (org-babel-expand-body:clojure): Trapped free
20455         variable.
20457 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20459         * org.el (org-edit-special): Edit formulas when in TBLMF line.
20461 2010-12-11  Allen S. Rout  <asr@ufl.edu>  (tiny change)
20463         * org-capture.el (org-capture-after-finalize-hook): New hook.
20464         (org-capture-finalize): Run the new hook.
20466 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20468         * ob-clojure.el (org-babel-expand-body:clojure): Support for
20469         pretty printing of Clojure code and data.
20471 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20473         * ob.el (org-babel-insert-result): No longer escape results which
20474         will be wrapped in a block.
20476 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20478         * ob-eval.el (org-babel-eval-wipe-error-buffer): Fix compiler
20479         warning and added documentation string.
20481 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20483         * ob-clojure.el (org-babel-execute:clojure): Remade using slime
20484         for all code evaluation.
20486 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20488         * org-beamer.el (org-beamer-sectioning): Allow overlay arguments for
20489         the column as well.
20491 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20493         * ob.el (org-babel-confirm-evaluate): More descriptive message
20494         when evaluation is aborted or disabled.
20496 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20498         * ob.el (org-babel-insert-result): Responds to new "wrap" header
20499         argument.
20500         (org-babel-merge-params): Includes new "wrap" header argument in
20501         one of the results header argument exclusive groups.
20503 2010-12-11  David Maus  <dmaus@ictsoc.de>
20505         * org-macs.el (with-silent-modifications): Fix condition for
20506         with-silent-modification.
20508 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20510         * ob.el (org-babel-parse-header-arguments): Stripping trailing
20511         spaces off of header arguments (even the first one).
20513 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20515         * ob-sh.el (org-babel-sh-var-to-sh): Wrap end token of heredoc in
20516         single quotes which is the best practice.
20517         (org-babel-sh-table-or-results): Use `org-babel-script-escape' for
20518         more robust parsing of shell output.
20520 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20522         * org.el (org-additional-option-like-keywords): Add more keywords,
20523         and colons to some old ones.
20525 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20527         * ob-eval.el (org-babel-error-buffer-name): Define new variable.
20529 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20531         * ob-python.el (org-babel-python-table-or-string):
20532         Using `org-babel-script-escape' for reading string input from scripting
20533         languages.
20535 2010-12-11  Achim Gratz  <Stromeko@nexgo.de>  (tiny change)
20537         * org-macs.el (org-called-interactively-p): Wrap function call in
20538         with-no-warnings.
20539         (with-silent-modifications): Declare macro for Emacs < 23.2.
20541 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20543         * ob.el (org-babel-parse-header-arguments): Remove addition of
20544         ":" to singleton first header arguments as it was leading to errors.
20546 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20548         * org-latex.el (org-export-latex-make-header): Run the title through
20549         `org-export-latex-fontify-headline'.
20550         (org-export-latex-fontify-headline): Do the protection of math
20551         snippets also here.
20553 2010-12-11  Richard Lawrence  <richard.lawrence@berkeley.edu>
20555         * org-latex.el (org-export-as-latex): Sent the section title
20556         through the preprocessor.
20558 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20560         * org-html.el (org-html-level-start): Mark listified headings
20561         with a custom id.
20563 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20565         * org.el (org-open-at-point): Don't do footnote action if cursor is
20566         on a bracket link.
20568 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20570         * org.el (org-edit-special): Check also for TBLFM line.
20572 2010-12-11  Achim Gratz  <Stromeko@Stromeko.DE>  (tiny change)
20574         * org-clock.el (org-get-clocktable): Previous patch incorrectly
20575         required whitespace in front of #+BEGIN: and #+END:.
20577 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20579         * org-src.el (org-edit-src-code): Allow region to be inherited by
20580         edit buffer when mark is one character beyond end of src block.
20582 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20584         * org-list.el (org-cycle-list-bullet): Ensure point is at bol before
20585         checking item indentation.
20587 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20589         * ob.el (org-babel-map-src-blocks): Move to earlier in the file
20590         and now autoloading.
20592 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20594         * ob-ref.el (org-babel-ref-at-ref-p): Use higher level function
20595         for testing list membership.
20597         * ob.el (org-babel-read-result): Use higher level function for
20598         testing list membership.
20599         (org-babel-result-end): Use higher level function for testing list
20600         membership.
20602 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20604         * ob-sqlite.el (ob-eval): Require ob-eval for external command
20605         execution.
20606         (org-babel-execute:sqlite): No longer uses the init option for
20607         passing commands to sqlite.
20609 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20611         * org.el (org-indent-line-function): Drawers and blocks have no
20612         influence on indentation of text below.  Also fix indentation
20613         problem with a block at column 0 and add a special case for
20614         literal examples.
20616 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20618         * ob.el (org-babel-map-src-blocks): Ensure that the file argument
20619         is only evaluated once.
20621 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20623         * ob-ref.el (org-babel-ref-resolve): Recognize `list' as a unique
20624         type of data
20625         (org-babel-ref-at-ref-p): Recognize `list' as a unique type of data.
20627 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20629         * ob-tangle.el (org-babel-load-file): Can be called interactively.
20631 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
20633         * org-table.el (orgtbl-after-send-table-hook): New hook.
20634         (orgtbl-ctrl-c-ctrl-c): Run `orgtbl-after-send-table-hook' when a
20635         table was sent.
20636         (orgtbl-send-table): Return the number of sent tables, or nil if no
20637         sending has happened.
20639 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20641         * org.el (org-get-priority-function): New option.
20642         (org-get-priority): Call `org-get-priority-function' if that
20643         has been set.
20645 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20647         * ob-table.el (org-babel-table-truncate-at-newline): Only add
20648         "..." if there is something after the newline.
20650 2010-12-11  Achim Gratz  <Stromeko@nexgo.de>  (tiny change)
20652         * org-clock.el (org-get-clocktable):
20653         (org-in-clocktable-p):
20654         (org-clocktable-shift):
20655         (org-clocktable-steps): Fix regexp to allow for indented clock tables.
20657 2010-12-11  Puneeth Chaganti  <punchagan@gmail.com>
20659         * org-exp.el (org-export-handle-include-files): Support :minlevel
20660         property.
20661         (org-get-file-contents): New argument minlevel to demote included
20662         content.
20664 2010-12-11  Noorul Islam  <noorul@noorul.com>
20666         * org-latex.el (org-export-latex-hyperref-format): New option.
20667         (org-export-latex-href-format): Rename the existing variable
20668         `org-export-latex-hyperref-format' as `org-export-latex-href-format'
20669         (org-export-latex-links): Use `org-export-latex-hyperref-format' and
20670         `org-export-latex-href-format'.
20672 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20674         * ob-calc.el (org-babel-execute:calc): Ensure the *Calculator*
20675         buffer exists before it is used.
20677 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20679         * org-exp.el (org-export-preprocess-string): Delay code block
20680         processing a bit to allow correct list parsing in the export string.
20682 2010-12-11  Christopher Allan Webber  <cwebber@dustycloud.org>
20684         * org-agenda.el (org-agenda-timegrid-use-ampm): New option.
20685         (org-agenda-time-of-day-to-ampm): New function.
20686         (org-agenda-time-of-day-to-ampm-maybe): New function.
20687         (org-format-agenda-item): Call org-agenda-time-of-day-to-ampm-maybe.
20689 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20691         * org-faces.el (org-cycle-level-faces): New option.
20693         * org.el (org-get-level-face): Honor org-cycle-level-faces.
20695 2010-12-11  Julien Danjou  <julien@danjou.info>
20697         * org-agenda.el (org-agenda-today): New function.
20698         (org-agenda-get-day-face): New function.
20699         (org-timeline): Use org-agenda-today and org-agenda-get-day-face.
20700         (org-agenda-list): Use org-agenda-today and org-agenda-get-day-face.
20701         (org-todo-list): Use org-agenda-today.
20702         (org-get-all-dates): Use org-agenda-today.
20703         (org-agenda-day-face-function): New variable.
20704         (org-agenda-get-day-face): Use org-agenda-day-face-function.
20706 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20708         * org.el (org-ctrl-c-ctrl-c): Consider sending a radio table also
20709         in Org.
20711 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20713         * org-html.el (org-export-as-html): Do not treat partially
20714         protected lines as if they were fully protected.
20716 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20718         * org-exp.el (org-export-format-source-code-or-example):
20719         Remove hard-wired configuration of minted export
20720         (org-export-latex-minted-with-line-numbers): Remove variable.
20722 2010-12-11  Bastien Guerry  <bzg@gnu.org>
20724         * org-clock.el (org-dblock-write:clocktable): Fix double
20725         reference to `link' in let construct.
20726         (org-clock-clocktable-formatter): Fix typo in docstring.
20727         (org-clocktable-write-default): Fix typo in docstring.
20729 2010-12-11  David Maus  <dmaus@ictsoc.de>
20731         * org-protocol.el (org-protocol-unhex-string): Normalize percent
20732         escape sequence to upper case letters.
20734 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20736         * ob-lob.el (org-babel-lob-get-info): Include pass-through
20737         header arguments in results variable header argument string.
20739 2010-12-11  David Maus  <dmaus@ictsoc.de>
20741         * org-exp.el (org-export-visible): Limit search for in-buffer options
20742         beginning of first headline.
20744 2010-12-11  David Maus  <dmaus@ictsoc.de>
20746         * org.el (org-open-at-point): Remove stale link handler for news:
20747         links.
20749 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20751         * org-clock.el (org-clocktable-write-default): Better handling of
20752         narrowing.
20754 2010-12-11  Julien Danjou  <julien@danjou.info>
20756         * org-agenda.el (org-agenda-category-icon-alist): Fix defcustom type.
20758 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20760         * org.el (org-indent-line-function): Simplify code and remove bug that
20761         would insert a tab at the beginning of the line when trying to
20762         indent the item.
20764 2010-12-11  Julien Danjou  <julien@danjou.info>
20766         * org.el (org-diary-sexp-entry): Split sexp result strings at semicolon.
20768 2010-12-11  Julien Danjou  <julien@danjou.info>
20770         * org-agenda.el (org-agenda-prefix-format): Insert place holder
20771         for icon.
20772         (org-agenda-category-icon-alist): New option.
20773         (org-agenda-get-category-icon): New function.
20774         (org-format-agenda-item): Support for icons.
20775         (org-compile-prefix-format): Support for icons.
20777 2010-12-11  Julien Danjou  <julien@danjou.info>
20779         * org-compat.el: Create defalias for `string-match-p' and
20780         looking-at-p.
20782 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20784         * ob-calc.el (org-babel-execute:calc): Support for variables --
20785         converts :var variables in calc variables.
20787 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20789         * org.el (org-sparse-tree): Mention [r] in dispatch menu.
20791 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20793         * org-list.el (org-list-parse-list): Use `org-looking-at-p'.
20795 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20797         * org-id.el (org-id-store-link): Test for org-mode before checking
20798         for IDs.
20800 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20802         * org.el (org-shorten-string): New function.
20804         * org-exp.el (org-export-convert-protected-spaces): New function.
20805         (org-export-preprocess-string):
20806         Call `org-export-convert-protected-spaces' to handle new hard spaces.
20808 2010-12-11  David Maus  <dmaus@ictsoc.de>
20810         * org.el (org-narrow-to-subtree): Check for heading that ends at end
20811         of buffer.
20813 2010-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
20815         * org-capture.el (org-capture-templates): Remove autoload from
20816         defcustom.
20818         * ob-lisp.el (slime): Don't expect slime to be present.
20820 2010-11-11  Dan Davison  <dandavison7@gmail.com>
20822         * ob.el: `copy-sequence' suffices to copy alist; no need for
20823         `copy-tree'.
20825 2010-11-11  Dan Davison  <dandavison7@gmail.com>
20827         * ob.el (org-babel-execute-src-block): If ":results file" is in
20828         effect, then ensure that the value of :file is returned as the
20829         result; don't rely on language files for this.
20831 2010-11-11  Dan Davison  <dandavison7@gmail.com>
20833         * ob.el (org-babel-sha1-hash): Avoid corrupting `info' data
20834         structure by side-effects of `sort'.
20836 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20838         * org-list.el (org-list-bottom-point-with-indent): Do not check
20839         indentation of a non-empty blank line.
20841         * org-list.el (org-sort-list): Sort a list with point anywhere
20842         inside it.
20844 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20846         * ob-calc.el (org-babel-execute:calc): Safer evaluation and
20847         hopefully better error messages.
20849 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20851         * org.el (org-babel-load-languages): Adding calc.
20853 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20855         * ob.el (org-babel-initiate-session): Don't resolve variable
20856         references unless prefix arg is supplied.
20858 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20860         * ob-calc.el (org-babel-execute:calc): Ensure that calc stack
20861         refers to the correct stack.
20863 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20865         * ob-calc.el: Adding the beginnings of support for calc code
20866         blocks.
20868 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20870         * ob-tangle.el (org-babel-update-block-body): Declaring function
20871         for updating code block bodies.
20872         (org-babel-spec-to-string):
20873         (org-babel-detangle): Detangle all tangled and commented code
20874         blocks in the current file back to org.
20875         (org-babel-tangle-jump-to-org): Jump from a tangled and commented
20876         file back to the originating org-mode code block ob-tangle:
20877         detangle changes in code files back to the original org files.
20879 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20881         * ob-tangle.el (org-babel-tangle-comment-format-beg): Fix typo.
20882         (org-babel-tangle-comment-format-end): Fix typo.
20884 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20886         * org-exp.el (org-export-format-source-code-or-example):
20887         Use minted for latex source code export if `org-export-latex-listings'
20888         has the value 'minted.
20890         * org-latex.el (org-export-latex-listings): Document special value
20891         'minted.
20893         * org-latex.el (org-export-latex-minted): Delete variable.
20895 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20897         * ob.el (org-babel-get-src-block-info): Retrieve contents of
20898         parentheses, excluding parentheses themselves.
20900 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20902         * ob-gnuplot.el (org-babel-variable-assignments:gnuplot):
20903         Fix bug in gnuplot data file assignment using user variables.
20905 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20907         * ob-latex.el (org-babel-execute:latex): Adding new :headers
20908         header argument for latex code blocks.
20910 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20912         * org-capture.el (org-capture-templates): New capture property
20913         `:kill-buffer'.
20914         (org-capture-finalize): Kill target buffer if that is desired.
20915         (org-capture-target-buffer): Remember if we have to make the buffer.
20917 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20919         * org-clock.el (org-dblock-write:clocktable): Fix bug when
20920         computing clock tables.
20922 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20924         * org-clock.el (org-dblock-write:clocktable): Pass file minutes up
20925         to caller even if no table is generated.
20927 2010-11-11  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>
20929         * org-agenda.el (org-agenda-get-sexps): Handle lists as return
20930         values from diary entries.
20932         * org-bbdb.el (org-bbdb-anniversaries): Handle lists of
20933         anniversaries.
20935         * org.el (org-diary-sexp-entry): Handle lists as return values
20936         from diary entries.
20938 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20940         * org-capture.el (org-capture-empty-lines-before):
20941         (org-capture-empty-lines-after): Make sure the n=0 does not insert
20942         any newlines.
20944 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20946         * ob-clojure.el (org-babel-clojure-babel-clojure-cmd): Fix error
20947         message when clojure binary is not found.
20949 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20951         * org-html.el (org-format-table-html): New argument DOCBOOK.
20952         (org-format-org-table-html): New argument DOCBOOK.  When set, use
20953         align instead of class to align table fields.
20955         * org-docbook.el (org-export-as-docbook): Specify the docbook
20956         argument for the table converter.
20958 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20960         * org-macs.el (org-called-interactively-p): New macro.
20962         * org-freemind.el: No longer require 'rx.
20963         (org-freemind): New customization group, use it for all the
20964         variables.
20965         (org-export-as-freemind): Add docstring.
20966         (org-freemind-show): Improve filen naming.
20967         (org-freemind-convert-links-helper): New function.
20968         (org-freemind-bol-helper-base-indent): New variable.
20969         (org-freemind-bol-helper): New function.
20970         (org-freemind-node-css-style): New option.
20971         (org-freemind-node-pattern): New variable.
20972         (org-freemind-from-org-mode): Better docstring.
20974 2010-11-11  David Maus  <dmaus@ictsoc.de>
20976         * ob-haskell.el (org-babel-variable-assignments:haskell):
20977         Don't pass more than two arguments to mapc.
20979 2010-11-11  David Maus  <dmaus@ictsoc.de>
20981         * ob.el (org-babel-ref-resolve): Declare to silence byte compiler.
20983 2010-11-11  David Maus  <dmaus@ictsoc.de>
20985         * org-footnote.el (message-signature-separator): Defvar to silence
20986         byte compiler.
20988 2010-11-11  David Maus  <dmaus@ictsoc.de>
20990         * org-exp.el (org-export-string): Fix reference to wrong symbol.
20992 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>
20994         * org.el (org-link-search): Return 'dedicated on successful match
20995         when org-link-search-must-match-exact-headline is set to t.
20997 2010-11-11  Daniel Clemente  <n142857@gmail.com>
20999         * org-html.el (org-html-make-link): Append fragment to file: links
21000         if present.
21002 2010-11-11  Tassilo Horn  <tassilo@member.fsf.org>
21004         * org-footnote.el (org-footnote-create-definition)
21005         (org-footnote-goto-local-insertion-point): Add footnotes before
21006         signature when in message-mode.
21008 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21010         * org.el (org-display-inline-images): Improve regexp.
21012 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21014         * org.el (org-cycle): Make sure resetting to startup visibility
21015         works after another cycle command.
21017 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21019         * org-exp.el (org-export-string): New function org-export-string
21020         can be used to convert a string of test in org-mode markup to a
21021         specified format.
21023 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21025         * org.el (org-display-inline-images): Allow non-ASCII characters
21026         in image file names.  Save match data.
21028 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21030         * org.el (org-auto-repeat-maybe): Fix shifting multiple time
21031         stamps.
21033 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21035         * org-exp.el (org-store-forced-table-alignment):
21036         (org-export-remove-special-table-lines): Allow the "c" cookie for
21037         table alignment.
21039         * org-html.el (org-export-table-header-tags):
21040         (org-export-table-data-tags): Add another %s format for the
21041         alignment.
21042         (org-export-html-table-align-individual-fields): New option.
21043         (org-format-org-table-html): Implement field-by-field alignment
21044         and support centering.
21045         (org-format-table-table-html): Make sure the new table tag formats
21046         don't break this function.
21048         * org-table.el (org-table-cookie-line-p):
21049         (org-table-align): Allow for the <c> cookie.
21051         * org.el (org-set-font-lock-defaults): Allow for the <c> cookie.
21053 2010-11-11  David Maus  <dmaus@ictsoc.de>
21055         * org-exp.el (org-export-normalize-links): Skip normalization of
21056         plain links that are part of another link.
21058 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21060         * ob-R.el (org-babel-expand-body:R): Fix bug in let binding.
21062 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21064         * org-indent.el (org-indent-add-properties):
21065         Use `with-silent-modifications'.
21066         (org-indent-remove-properties): Use `with-silent-modifications'.
21068 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21070         * org-table.el (org-table-cookie-line-p): Fix indentation.
21072         * org-exp.el (org-store-forced-table-alignment): New function.
21073         (org-export-preprocess-string):
21074         Call `org-store-forced-table-alignment'.
21076         * org-html.el (org-format-org-table-html): Use stored alignment
21077         information.
21079 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21081         * ob.el (org-babel-execute-src-block): Respects prefix argument
21082         (which forces re-calculation).
21084 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21086         * ob.el (org-babel-execute-src-block): Remove needless param
21087         sorting from ob-execute-src-block, the params are sorted already
21088         by ob-sha1-hash.
21090 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21092         * ob.el (org-babel-sha1-hash): Ensure that info is sorted at the
21093         header argument level.
21095 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21097         * ob.el (org-babel-sha1-hash): Consider words in different order
21098         as different input.
21100 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21102         * ob.el (org-babel-sha1-hash): Fix check for zero length sequences.
21104 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21106         * ob-sh.el (org-babel-sh-var-to-sh): Ensure value has the
21107         structure of an Org-mode table (list of lists).
21109 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21111         * ob-tangle.el (org-babel-tangle-collect-blocks): Fix bug
21112         (reference to unassigned variable `src-lang' and avoid calling
21113         org-babel-get-src-block-info twice.
21115 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21117         * ob.el (org-babel-demarcate-block): Update to reflect the new
21118         info list contents.
21120 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21122         * org-src.el (org-edit-src-code): Supply non-nil argument to
21123         `org-babel-get-src-block-info' to avoid resolving variable
21124         references.
21126 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21128         * ob.el (org-babel-map-src-blocks): Fix minor bug in and
21129         improved efficiency of org-babel-map-src-blocks.
21131 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21133         * ob-tangle.el (org-babel-tangle-collect-blocks): Now explicitly
21134         checks that a code block will actually be tangled before
21135         collecting it's full information (a process which could involve
21136         the execution of other code blocks).
21138 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21140         * ob.el (org-babel-demarcate-block): Use light version of
21141         `org-babel-get-src-block-info'.
21143 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21145         * ob.el (org-babel-sha1-hash): Now handles more complex types in
21146         params.
21148 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21150         * ob.el (org-babel-execute-src-block): Generally using the new
21151         more informative params
21152         (org-babel-process-params): Don't forget the :var portion of
21153         variable assignments.
21155 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21157         * ob-table.el (sbe): Simplify to reflect to var resolution.
21159 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21161         * ob-ref.el (org-babel-ref-resolve): Bringing the referent
21162         arguments back to their params before evaluation.
21164 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21166         * ob-ref.el (org-babel-ref-resolve): Cleanup of variable usage and
21167         indentation.
21169 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21171         * ob-table.el (sbe): Use `org-babel-process-params params' instead
21172         of `org-babel-expand-variables'.
21174 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21176         * ob-C.el (org-babel-C-execute): Remove call to
21177         org-babel-process-params which should no longer be called from
21178         within a language file.
21180         * ob-R.el (org-babel-execute:R): Remove call to
21181         org-babel-process-params which should no longer be called from
21182         within a language file
21183         (org-babel-R-variable-assignments): Remove call to
21184         org-babel-process-params which should no longer be called from
21185         within a language file.
21187         * ob-asymptote.el (org-babel-execute:asymptote): Remove call to
21188         org-babel-process-params which should no longer be called from
21189         within a language file.
21191         * ob-clojure.el (org-babel-execute:clojure): Remove call to
21192         org-babel-process-params which should no longer be called from
21193         within a language file.
21195         * ob-dot.el (org-babel-execute:dot): Remove call to
21196         org-babel-process-params which should no longer be called from
21197         within a language file.
21199         * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp): Remove
21200         call to org-babel-process-params which should no longer be called
21201         from within a language file
21202         (org-babel-execute:emacs-lisp): Remove call to
21203         org-babel-process-params which should no longer be called from
21204         within a language file.
21206         * ob-haskell.el (org-babel-execute:haskell): Remove call to
21207         org-babel-process-params which should no longer be called from
21208         within a language file.
21210         * ob-js.el (org-babel-execute:js): Remove call to
21211         org-babel-process-params which should no longer be called from
21212         within a language file.
21214         * ob-lisp.el (org-babel-execute:lisp): Remove call to
21215         org-babel-process-params which should no longer be called from
21216         within a language file.
21218         * ob-ocaml.el (org-babel-execute:ocaml): Remove call to
21219         org-babel-process-params which should no longer be called from
21220         within a language file.
21222         * ob-octave.el (org-babel-execute:octave): Remove call to
21223         org-babel-process-params which should no longer be called from
21224         within a language file.
21226         * ob-perl.el (org-babel-execute:perl): Remove call to
21227         org-babel-process-params which should no longer be called from
21228         within a language file.
21230         * ob-python.el (org-babel-execute:python): Remove call to
21231         org-babel-process-params which should no longer be called from
21232         within a language file.
21234         * ob-ruby.el (org-babel-execute:ruby): Remove call to
21235         org-babel-process-params which should no longer be called from
21236         within a language file.
21238         * ob-scheme.el (org-babel-execute:scheme): Remove call to
21239         org-babel-process-params which should no longer be called from
21240         within a language file.
21242         * ob-screen.el (org-babel-execute:screen): Remove call to
21243         org-babel-process-params which should no longer be called from
21244         within a language file
21245         (org-babel-prep-session:screen): Remove call to
21246         org-babel-process-params which should no longer be called from
21247         within a language file.
21249         * ob-sh.el (org-babel-execute:sh): Remove call to
21250         org-babel-process-params which should no longer be called from
21251         within a language file.
21253         * ob-sql.el (org-babel-execute:sql): Remove call to
21254         org-babel-process-params which should no longer be called from
21255         within a language file.
21257         * ob-haskell.el (org-babel-execute:haskell): Remove reference to
21258         processed params.
21260         * ob-clojure.el (org-babel-execute:clojure): Remove reference to
21261         processed params.
21263         * ob-R.el (org-babel-execute:R): Remove reference to processed
21264         params.
21266 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21268         * ob-sql.el (org-babel-execute:sql): Use generic expansion
21269         function
21270         (org-babel-expand-body:sql): Delete function.
21272 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21274         * ob-sh.el (org-babel-execute:sh): Use generic expansion function
21275         (org-babel-expand-body:sh): Delete function
21276         (org-babel-prep-session:sh): Change name of called function
21277         (org-babel-variable-assignments:sh): Change function name.
21279 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21281         * ob-screen.el (org-babel-execute:screen): Use generic expansion
21282         function
21283         (org-babel-expand-body:screen): Delete function
21284         (org-babel-prep-session:screen): Remove references to processed
21285         params.
21287 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21289         * ob-sass.el (org-babel-execute:sass): Use generic expansion
21290         function
21291         (org-babel-expand-body:sass): Delete function.
21293 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21295         * ob-ruby.el (org-babel-execute:ruby): Use generic expansion
21296         function
21297         (org-babel-prep-session:ruby): Use new variable assignment
21298         function
21299         (org-babel-variable-assignments:ruby): New function
21300         (org-babel-expand-body:ruby): Delete function.
21302 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21304         * ob-python.el (org-babel-execute:python): Use generic expansion
21305         function
21306         (org-babel-prep-session:python): Change name of called function
21307         (org-babel-variable-assignments:python): Change function name
21308         (org-babel-expand-body:python): Delete function.
21310 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21312         * ob-plantuml.el (org-babel-expand-body:plantuml): Delete function
21313         (automatically handled by generic version).
21315 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21317         * ob-perl.el (org-babel-execute:perl): Use generic expansion
21318         function
21319         (org-babel-expand-body:perl): Delete function
21320         (org-babel-variable-assignments:perl): New function.
21322 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21324         * ob-org.el (org-babel-expand-body:org): Delete function
21325         (automatically handled by generic version).
21327 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21329         * ob-octave.el (org-babel-execute:octave): Use generic expansion
21330         function
21331         (org-babel-variable-assignments:octave): Change name of function
21332         (org-babel-variable-assignments:matlab): New defalias
21333         (org-babel-prep-session:octave): Change name of function
21334         (org-babel-expand-body:matlab): Delete function
21335         (org-babel-expand-body:octave): Delete function.
21337 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21339         * ob-ocaml.el (org-babel-execute:ocaml): Use generic expansion
21340         function
21341         (org-babel-variable-assignments:ocaml): New function
21342         (org-babel-expand-body:ocaml): Delete function.
21344 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21346         * ob-mscgen.el (org-babel-expand-body:mscgen): Delete function
21347         (automatically handled by generic version).
21349 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21351         * ob-js.el (org-babel-execute:js): Use new variable assignment
21352         function
21353         (org-babel-expand-body:js): Delete function
21354         (org-babel-prep-session:js): Use new variable assignment function
21355         (org-babel-variable-assignments:js): New function.
21357 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21359         * ob-haskell.el (org-babel-execute:haskell): Use generic expansion
21360         function
21361         (org-babel-expand-body:haskell): Delete function
21362         (org-babel-prep-session:haskell): Use variable assignment function
21363         (org-babel-variable-assignments:haskell): New function.
21365 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21367         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Use variable
21368         assignment function
21369         (org-babel-prep-session:gnuplot): Use variable assignment function
21370         (org-babel-variable-assignments:gnuplot): New function.
21372 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21374         * ob-ditaa.el (org-babel-expand-body:ditaa): Delete function
21375         (automatically handled by generic version).
21377 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21379         * ob-css.el (org-babel-expand-body:css): Delete function
21380         (automatically handled by generic version).
21382 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21384         * ob-asymptote.el (org-babel-execute:asymptote): Use generic
21385         expansion function
21386         (org-babel-expand-body:asymptote): Delete function
21387         (org-babel-variable-assignments:asymptote): New function.
21389 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21391         * ob-R.el (org-babel-expand-body:R): Use new function
21392         `org-babel-variable-assignments:R'; don't trim body.
21393         (org-babel-execute:R): Respond to changes in
21394         `org-babel-expand-body:R'
21395         (org-babel-prep-session:R): Called function is now named
21396         `org-babel-variable-assignments:R'
21397         (org-babel-variable-assignments:R): Receives processed-params as
21398         new optional argument.
21400 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21402         * ob-C.el (org-babel-C-expand): Don't trim body.
21404 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21406         * ob-scheme.el (org-babel-expand-body:scheme): Fix bug in
21407         obtaining variable references.
21409 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21411         * ob-tangle.el (org-babel-tangle-collect-blocks): Supply variable
21412         assignment lines to generic expansion command.
21414 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21416         * ob.el (org-babel-expand-src-block): Supply variable assignment
21417         lines to generic expansion function
21418         (org-babel-expand-body:generic): Prepend body with optional
21419         variable assignment lines.
21421 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21423         * ob-exp.el (org-babel-exp-results): Replace old function call.
21425 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21427         * ob-lob.el (org-babel-lob-execute): Now expanding variable
21428         references before execution.
21430 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21432         * ob.el (org-babel-execute-src-block): Only sort parameters if
21433         it's required for caching.
21435 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21437         * ob-table.el (sbe): Reworking for better indentation and to
21438         integrate the new variable resolution.
21440 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21442         * ob-ref.el (org-babel-ref-resolve-reference): Now expanding
21443         variables when resolving references.
21445 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21447         * ob.el (org-babel-merge-params): Fix order or precedence for
21448         variables.
21450 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21452         * ob-C.el (org-babel-expand-body:c++, org-babel-C-expand):
21453         * ob-R.el (org-babel-expand-body:R, org-babel-execute:R)
21454         (org-babel-R-variable-assignments):
21455         * ob-asymptote.el (org-babel-expand-body:asymptote)
21456         (org-babel-execute:asymptote):
21457         * ob-clojure.el (org-babel-expand-body:clojure)
21458         (org-babel-execute:clojure):
21459         * ob-css.el (org-babel-expand-body:css):
21460         * ob-ditaa.el (org-babel-expand-body:ditaa):
21461         * ob-dot.el (org-babel-expand-body:dot, org-babel-execute:dot):
21462         * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp)
21463         (org-babel-execute:emacs-lisp):
21464         * ob-gnuplot.el (org-babel-expand-body:gnuplot)
21465         * ob-haskell.el (org-babel-expand-body:haskell)
21466         (org-babel-execute:haskell, org-babel-load-session:haskell)
21467         (org-babel-prep-session:haskell):
21468         * ob-js.el (org-babel-expand-body:js, org-babel-execute:js):
21469         * ob-latex.el (org-babel-expand-body:latex):
21470         * ob-lisp.el (org-babel-expand-body:lisp, org-babel-execute:lisp):
21471         * ob-mscgen.el (org-babel-expand-body:mscgen):
21472         * ob-ocaml.el (org-babel-expand-body:ocaml, org-babel-execute:ocaml):
21473         * ob-octave.el (org-babel-expand-body:matlab)
21474         (org-babel-expand-body:octave, org-babel-execute:octave)
21475         (org-babel-octave-variable-assignments):
21476         * ob-org.el (org-babel-expand-body:org):
21477         * ob-perl.el (org-babel-expand-body:perl, org-babel-execute:perl):
21478         * ob-plantuml.el (org-babel-expand-body:plantuml):
21479         * ob-python.el (org-babel-expand-body:python, org-babel-execute:python)
21480         (org-babel-python-variable-assignments):
21481         * ob-ruby.el (org-babel-expand-body:ruby, org-babel-execute:ruby):
21482         * ob-sass.el (org-babel-expand-body:sass):
21483         * ob-scheme.el (org-babel-expand-body:scheme, org-babel-execute:scheme):
21484         * ob-screen.el (org-babel-expand-body:screen):
21485         * ob-sh.el (org-babel-expand-body:sh, org-babel-execute:sh)
21486         (org-babel-sh-variable-assignments):
21487         * ob-sql.el (org-babel-expand-body:sql):
21488         * ob-sqlite.el (org-babel-expand-body:sqlite, org-babel-execute:sqlite):
21489         * ob.el (org-babel-expand-body:generic):
21490         Remove obsoleted optional third argument.
21492 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21494         * ob-clojure.el (org-babel-prep-session:clojure): Purging all
21495         calls to removed org-babel-ref-variables.
21497 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21499         * ob-lob.el (org-babel-lob-ingest): Now returns the count of
21500         ingested code blocks.
21502 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21504         * ob-exp.el (org-babel-exp-in-export-file): Wrapper for collecting
21505         information from within the original export file.
21507 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21509         * ob.el (org-babel-get-src-block-info): Small but crucial fix)
21510         (this should return nil if not match found.
21512 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21514         * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp):
21515         Whitespace (org-babel-execute:emacs-lisp): Whitespace.
21517 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21519         * ob-sh.el (org-babel-sh-variable-assignments): Provide missing
21520         docstring.
21522         * ob-python.el (org-babel-python-variable-assignments):
21523         Provide missing docstring.
21525 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21527         * ob-octave.el (org-babel-expand-body:octave): Refactor: break
21528         variable assignment part out into a separate function
21529         (org-babel-octave-variable-assignments): New function constructing
21530         list of variable assignment statements
21531         (org-babel-prep-session:octave): Use new function
21532         `org-babel-octave-variable-assignments' instead of previous
21533         (incorrect) variable assignment code.
21535 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21537         * ob-sh.el (org-babel-expand-body:sh): Refactor: break variable
21538         assignment part out into a separate function
21539         (org-babel-sh-variable-assignments): New function constructing
21540         list of variable assignment statements
21541         (org-babel-prep-session:sh): Use new function
21542         `org-babel-sh-variable-assignments' instead of previous
21543         (incorrect) variable assignment code.
21545 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21547         * ob-python.el (org-babel-expand-body:python): Refactor: break
21548         variable assignment part out into a separate function
21549         (org-babel-python-variable-assignments): New function constructing
21550         list of variable assignment statements
21551         (org-babel-prep-session:python): Use new function
21552         `org-babel-python-variable-assignments' instead of previous
21553         (incorrect) variable assignment code.
21555 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21557         * ob-R.el (org-babel-expand-body:R): Refactor: break variable
21558         assignment part out into a separate function
21559         (org-babel-R-variable-assignments): New function constructing list
21560         of variable assignment statements
21561         (org-babel-prep-session:R): Use new function
21562         `org-babel-R-variable-assignments' instead of previous
21563         (incorrect) variable assignment code.
21565 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21567         * ob.el (org-babel-initiate-session): Better variable names.
21569 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21571         * ob.el (org-number-sequence):
21572         Declared * ob-R.el (org-number-sequence): Declared.
21574 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21576         * ob.el (org-babel-map-src-blocks): Store correct value of
21577         `end-block'.
21579 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21581         * ob.el (org-babel-mark-block): New function to mark the body of a
21582         src block in the style of `mark-defun'.
21584 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21586         * org-compat.el (org-number-sequence): New function.
21588         * ob-R.el (org-babel-expand-body:R): Use `org-number-sequence'.
21590         * ob.el (org-babel-where-is-src-block-result):
21591         Use `org-number-sequence'.
21592         (org-babel-current-buffer-properties): Fix variable definition.
21594         * ob-ref.el (org-babel-ref-index-list): Use `org-number-sequence'.
21596         * ob-latex.el (org-babel-latex-tex-to-pdf): Use the 2-argument
21597         version of `shell-command'.
21599         * org-latex.el (org-export-as-pdf): Use the 2-argument version of
21600         `shell-command'.
21602 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21604         * org-list.el (org-list-search-unenclosed-generic): Replace call
21605         to booleanp.
21607 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21609         * org.el (org-agenda-jump-prefer-future): New option.
21611         * org-agenda.el (org-agenda-goto-date):
21612         Use `org-agenda-jump-prefer-future'.
21614 2010-11-11  Noorul Islam  <noorul@noorul.com>
21616         * org-latex.el (org-export-latex-links): Replace hard coded
21617         hyperref format with custom variable
21618         `org-export-latex-hyperref-format'.
21620 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21622         * org.el (org-insert-heading): Fix docstring.
21624 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
21626         * org-capture.el (org-capture-place-entry): If the first line is
21627         already a headline, just stay there.
21629 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21631         * ob-sh.el (org-babel-sh-evaluate): No longer assumes that results
21632         are non-nil.
21634 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21636         * org-ascii.el (org-ascii-replace-entities): Match an optional {}
21637         after an entity.
21639 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21641         * org-table.el (orgtbl-to-html): Apply `org-html-expand' to the
21642         table fields.
21644 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21646         * org.el (org-insert-heading): When on the headline of an inline
21647         task, insert another inline tasks.
21649 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21651         * ob-tangle.el (org-babel-tangle-collect-blocks): Only create
21652         links for blocks that will actually tangle.
21654 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21656         * ob-sh.el (org-babel-expand-body:sh): Don't insert extra newlines
21657         in expanded shell bodies.
21659 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21661         * ob-sh.el (org-babel-expand-body:sh): Avoid inserting extra
21662         newline characters.
21664 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21666         * ob-sh.el (org-babel-expand-body:sh): Align code.
21668 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21670         * ob.el (org-babel-params-from-properties): Max line with at <=80.
21672 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21674         * org-latex.el (org-export-latex-listings-langs): Clojure is now
21675         recognized as a lisp.
21677 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21679         * ob.el (org-babel-params-from-properties): Use `org-babel-read'
21680         to interpret property as header argument value.
21682 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21684         * ob.el (org-babel-parse-header-arguments): Simplify reading of
21685         header arg value.
21687 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21689         * org-publish.el (org-publish-org-to-ascii):
21690         (org-publish-org-to-latin1):
21691         (org-publish-org-to-utf8): New functions.
21693 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21695         * org.el (org-insert-heading): Skip inline tasks when trying to
21696         insert a new heading after the end of the subtree.
21698 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21700         * org-inlinetask.el (org-inlinetask-min-level): Set customization
21701         type to integer or nil.
21703         * org.el (org-insert-heading): When after an inline task, do not
21704         use level but go back to headline level before the inline task.
21706 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21708         * org-inlinetask.el (org-inlinetask-in-task-p): New function.
21710         * org.el (org-indent-line-function): Fix indentation of inline
21711         tasks.
21713 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21715         * org.el (org-activate-links): Fix customize type.
21717 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21719         * org-latex.el (org-latex-to-pdf-process): Add rubber as another
21720         default option.
21722 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21724         * org-latex.el (org-export-latex-minted): Document pygments
21725         dependency.
21727 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21729         * org-mobile.el (org-mobile-create-index-file): Encrypt the index
21730         file if encryption has been turned on.
21731         (org-mobile-copy-agenda-files): Avoid double encryption of
21732         `mobileorg.org'.
21734 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21736         * org-exp.el (org-export-latex-minted-with-line-numbers):
21737         Ensure that variable is declared.
21739 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21741         * ob-python.el (org-src-preserve-indentation): Fix compiler
21742         warning.
21744 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21746         * org-exp.el (org-export-format-source-code-or-example):
21747         Latex formatting of source code blocks using the minted package
21748         (org-export-plist-vars): Add :latex-minted property
21749         (org-export-latex-minted): Ensure variable is defined
21750         (org-export-latex-minted-langs): Ensure variable is defined.
21752 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21754         * org-src.el (org-edit-src-code): Use `org-region-active-p'.
21756 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21758         * ob-tangle.el (org-babel-spec-to-string): Whitespace changes.
21760 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21762         * ob-tangle.el (org-babel-spec-to-string): Don't trim whitespace
21763         when `org-src-preserve-indentation' is non-nil.
21765 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21767         * ob-lob.el (org-babel-lob-ingest): Provide message stating number
21768         of blocks added to Library of Babel.
21770 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21772         * ob-lob.el (org-babel-lob-ingest): Check for nil source block
21773         name.
21775 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21777         * org-beamer.el (org-beamer-place-default-actions-for-lists):
21778         Fix typo in regexp.
21780 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21782         * org-list.el (org-toggle-checkbox): Avoid some boundary error
21783         when inserting a checkbox in an empty last item of a list.
21785 2010-11-11  David Maus  <dmaus@ictsoc.de>
21787         * org-gnus.el (org-gnus-nnimap-query-article-no-from-file):
21788         Query article number from file is nil by default.
21790 2010-11-11  Stephen Eglen  <S.J.Eglen@damtp.cam.ac.uk>
21792         * org-beamer.el (org-beamer-amend-header): Fix typo in docstring.
21794 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21796         * org-capture.el (org-capture-place-entry): Move to `beg' before
21797         searching for `%?'.
21799 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21801         * org.el (org-format-latex): Fix mathjax treatment of single
21802         letters in between dollars.
21804 2010-11-11  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
21806         * org-latex.el (org-latex-to-pdf-process): Add a third pdflatex
21807         run.
21809 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21811         * org.el (org-blank-before-new-entry): Improve docstring.
21813 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21815         * org-mobile.el (org-mobile-force-id-on-agenda-items):
21816         Fix docstring.
21817         (org-mobile-write-agenda-for-mobile): Use outline path if we do
21818         not have an ID and are not allowed to make one.
21819         (org-mobile-get-outline-path-link): New function.
21821 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21823         * org-mobile.el (org-mobile-copy-agenda-files): Encrypt the empty
21824         file.
21825         (org-mobile-write-agenda-for-mobile): Use the right name, even if
21826         the file get encrypted.
21827         (org-mobile-move-capture): Only delete tempfile if it does exist.
21829 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21831         * ob.el (org-babel-number-p): Fix documentation string.
21833 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21835         * ob-tangle.el (org-babel-tangle-collect-blocks): Accepting
21836         "tangle" as a positive argument for the :noweb header argument
21837         during tangling.
21839 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21841         * ob-exp.el (org-babel-exp-src-blocks): Fix export when headings
21842         have links, with tests.
21844 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21846         * org-latex.el (org-latex-to-pdf-process): Use texi2dvi if
21847         available.
21848         (org-export-latex-get-error): New function.
21849         (org-export-as-pdf): Give an indication of the errors that
21850         happened during processing.
21852 2010-11-11  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>
21854         * org-exp.el (org-export-language-setup): Fix Polish entries.
21856 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21858         * org.el (org-set-tags): Allow comma as a separator when
21859         specifying tags at the completion interface.
21860         (org-tags-completion-function): Allow comma as a separator when
21861         specifying tags at the completion interface.
21863 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21865         * ob-exp.el (org-babel-exp-src-blocks): Don't jump back to
21866         export-file if exporting from a buffer which is not visiting a
21867         file.
21869 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21871         * ob-exp.el (org-babel-exp-src-blocks): Only append "::" to a file
21872         name in link construction if there is a heading to follow it.
21874 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21876         * org-html.el (org-export-html-inline-image-extensions): Add "svg"
21877         as an allowed extension.
21879 2010-11-11  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
21881         * org-agenda.el (org-agenda-add-time-grid-maybe): Pad clock times
21882         with zeros.  Start applying face earlier.
21884 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21886         * ob.el (or): Don't create org-babel-temporary-directory in batch
21887         as it won't be removed by emacs-kill-hook
21888         (org-babel-remove-temporary-directory): Only try to remove this
21889         directory if it exists.
21891 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21893         * ob.el (org-babel-temporary-directory): Fixing byte-compilation
21894         warning in ob.el.
21896 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21898         * ob-tangle.el (org-babel-tangle): Now sharing the file name in
21899         the tangling message.
21901 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21903         * ob.el (org-babel-load-languages): Fixes compiler warning.
21905 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21907         * ob-plantuml.el (org-babel-execute:plantuml): Fixes bug with svg
21908         output.
21910 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21912         * org-ascii.el (org-export-as-ascii): Use the correct match group.
21914 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21916         * ob.el (boundp): Uncommenting defvar form for
21917         org-babel-temporary-directory
21918         (org-babel-temp-file): Now using the org-babel-temporary-directory
21919         for holding new babel temporary files
21920         (org-babel-remove-temporary-directory): Removes the babel temp dir
21921         when Emacs shutsdown
21922         (kill-emacs-hook): Now removing the babel temp dir on Emacs
21923         shutdown.
21925 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21927         * org-capture.el (org-capture-fill-template): Initialize history
21928         variable.
21930 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21932         * org-src.el (org-edit-src-code): Don't move point when generating
21933         edit buffer.
21935 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21937         * org-src.el (org-edit-src-code): Deal with point being in
21938         #+end_src line.
21940 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21942         * org-table.el (org-table-current-column): Add interactive to turn
21943         this into a command.
21945 2010-11-11  Bernt Hansen  <bernt@norang.ca>
21947         * org.el (org-insert-heading): Run org-insert-heading-hook when
21948         creating the first heading in a file.
21950 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21952         * org.el (org-startup-with-inline-images): New option.
21953         (org-startup-options): Add new keywords inlineimages and
21954         noinlineimages.
21955         (org-mode): Inline images when this has been configured.
21957 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21959         * ob.el (org-babel-get-src-block-info): Remove optional
21960         HEADER-VARS-ONLY argument; further simplification.
21962 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21964         * ob.el (org-babel-confirm-evaluate): Fix bug causing extra
21965         prompt in ob-confirm-evaluate in some cases.
21967 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21969         * ob.el (org-babel-demarcate-block): Visible region and completion
21970         during language selection.
21972 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21974         * ob.el (org-babel-get-src-block-info): Remove comment.
21976 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21978         * ob.el (org-babel-get-src-block-info): Simplify function.
21980 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21982         * ob.el (org-babel-get-src-block-info): Form info list correctly
21983         when parenthesized arguments are missing.
21985 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21987         * ob-exp.el (org-export-babel-evaluate): Docstring typo
21988         (org-babel-exp-code): Docstring typo.
21990 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21992         * org-mobile.el (org-mobile-encryption-password):
21993         Improve docstring.
21994         (org-mobile-encryption-password-session): New variable.
21995         (org-mobile-encryption-password): New function.
21996         (org-mobile-check-setup):
21997         (org-mobile-encrypt-file):
21998         (org-mobile-decrypt-file): Use the new function.
22000 2010-11-11  David Maus  <dmaus@ictsoc.de>
22002         * org-capture.el (org-capture-place-template): Widen to remove
22003         possible restrictions in target buffer.
22005 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>
22007         * org.el (org-speed-command-hook): Add org-speed-command-hook
22008         (org-babel-speed-command-hook): Hook for Babel's speed commands.
22010 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22012         * ob.el (org-babel-execute-buffer): Re-implement using
22013         `org-babel-map-src-blocks'.
22015 2010-11-11  David Maus  <dmaus@ictsoc.de>
22017         * org-capture.el (org-capture-templates): Update doc string with
22018         new message date related escapes.
22020 2010-11-11  David Maus  <dmaus@ictsoc.de>
22022         * org-wl.el (org-wl-store-link-message): Define properties %:date)
22023         (%:date-timestamp, and %:date-timestamp-inactive.
22025         * org-mew.el (org-mew-store-link): Dto.
22027         * org-mhe.el (org-mhe-store-link): Dto.
22029         * org-rmail.el (org-rmail-store-link): Dto.
22031         * org-vm.el (org-vm-store-link): Dto.
22033 2010-11-11  David Maus  <dmaus@ictsoc.de>
22035         * org-wl.el (org-wl-message-field): Always get literal content of
22036         header fields.
22038 2010-11-11  David Maus  <dmaus@ictsoc.de>
22040         * org-gnus.el (org-gnus-store-link): Define properties
22041         %:date-timestamp and %:date-timestamp-inactive.
22043 2010-11-11  David Maus  <dmaus@ictsoc.de>
22045         * org-gnus.el (org-gnus-store-link): Handle empty date header
22046         field.
22048 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
22050         * org.el (org-speed-command-hook): New.  Hook for installing
22051         additional speed commands.  Use this for enabling speed commands on
22052         src blocks.
22053         (org-speed-command-default-hook): The default hook for
22054         org-speed-command-hook.  Factored out from org-self-insert-command
22055         and mimics existing behavior.
22056         (org-self-insert-command): Modify to use org-speed-command-hook.
22058 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22060         * org-agenda.el (org-search-view): Recover spaces in search words
22061         if they were escaped with \ or inside a regexp.
22063 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22065         * org.el (org-additional-option-like-keywords): Add PROPERTIES to
22066         the list of completable meta line words.
22067         (org-complete): Complete property names after #+PROPERTY.
22069 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22071         * ob-python.el (org-babel-python-evaluate-session): Make temp file
22072         names consistent.
22074 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22076         * ob-clojure.el (org-babel-clojure-evaluate-external-process):
22077         Delete extra format argument.
22079 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22081         * ob-org.el (org-babel-org-export): Typo in docstring.
22083 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22085         * ob-sh.el (org-babel-sh-evaluate): Remove unused temporary file
22086         variable.
22088 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22090         * ob-scheme.el (org-babel-execute:scheme): Alter temp file name.
22092 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22094         * ob.el (org-babel-process-file-name): New function
22095         (org-babel-maybe-remote-file): Delete function.
22097 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22099         * ob-C.el (org-babel-C-execute): Remove unused variable.
22101 2010-11-11  David Maus  <dmaus@ictsoc.de>
22103         * org.el (org-make-link-string): Prevent superfluous colon.
22105 2010-11-11  David Maus  <dmaus@ictsoc.de>
22107         * org.el (org-make-org-heading-search-string): Leave headline
22108         intact.
22110 2010-11-11  David Maus  <dmaus@ictsoc.de>
22112         * org.el (org-make-link-string): Don't escape characters in link
22113         type.
22115 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22117         * org-capture.el (org-capture-templates): Update docstring to
22118         advertise %:org-date.
22120 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22122         * ob-dot.el (org-babel-execute:dot): Automatically specifies
22123         "-T<ext>" based on file name extension.
22125 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22127         * ob-org.el (org-babel-org-export): Raise error on nested export
22128         call.
22130 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22132         * ob-plantuml.el (org-babel-execute:plantuml): Support for svg
22133         output files.
22135 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22137         * ob.el (org-babel-demarcate-block): Better initialization of
22138         stars.
22140 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22142         * org-src.el (org-src-tab-acts-natively): Add customize interface.
22144 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22146         * org-src.el (org-src-strip-leading-and-trailing-blank-lines):
22147         New variable allowing prevention of automatic stripping of leading and
22148         trailing blank lines when exiting edit buffer.
22149         (org-edit-src-exit): Respect value of
22150         `org-src-strip-leading-and-trailing-blank-lines'
22151         (org-src-native-tab-command-maybe):
22152         Bind `org-src-strip-leading-and-trailing-blank-lines' to nil during
22153         this function.
22155 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22157         * org-src.el (org-edit-src-code): If mark was inside code block
22158         then code edit buffer inherits mark with active region.
22160 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22162         * ob.el (org-babel-demarcate-block): Fix compiler warnings.
22164 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22166         * ob.el (org-babel-demarcate-block): Better handling of empty
22167         space around demarcated area.
22169 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22171         * org-agenda.el (org-agenda-goto-date): Turn off prefer future for
22172         this command.
22174 2010-11-11  David Maus  <dmaus@ictsoc.de>
22176         * org-gnus.el (org-gnus-open-nntp): New function.
22178 2010-11-11  David Maus  <dmaus@ictsoc.de>
22180         * org-wl.el (org-wl-open-nntp): New function.
22182 2010-11-11  David Maus  <dmaus@ictsoc.de>
22184         * org-wl.el (org-wl-open): Open message by numeric reference if
22185         article part is not a message id.
22187 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22189         * org-agenda.el (org-agenda-filter-apply): Move cursor to a
22190         visible line.
22192 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22194         * ob.el (org-babel-demarcate-block): Interactive demarcation of
22195         code blocks.
22197         * ob-keys.el (org-babel-key-bindings): Key bindings for block
22198         demarcation.
22200 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22202         * org.el (org-link-types): Add the "message" link type.
22204 2010-11-11  David Maus  <dmaus@ictsoc.de>
22206         * org.el (org-link-types): Add 'message:' link type to default
22207         link types.
22209 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22211         * org-gnus.el (org-gnus-store-link): Add the :date property to
22212         gnus links, allowing the use of %:date in capture templates.
22214 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22216         * org-list.el (org-cycle-list-bullet): Follow order of bullets
22217         indicated in doc-string.
22219         * org-list.el (org-list-bottom-point-with-indent): List is ended
22220         when a line is less indented that the last item, not the less
22221         indented item.
22223 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22225         * ob-exp.el (org-babel-exp-src-blocks): Now switching back to the
22226         original file before resolving code block parameters to ensure
22227         headline and buffer wide parameters are taken into consideration
22228         when only a narrowed portion of the file is exported.
22230 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22232         * org.el (org-forward-same-level): Fix docstring.
22234 2010-11-11  Sebastian Rose  <sebastian_rose@gmx.de>
22236         * org-publish.el (org-publish-attachment): Put the attachment into
22237         the right directory.
22239 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
22241         * org.el (org-goto-first-child): New command.
22243 2010-11-11  Matt Lundin  <mdl@imapmail.org>
22245         * org-agenda.el (org-prepare-agenda): If the agenda is called from
22246         within the agenda via an elisp link, such as
22247         [[elisp:(org-agenda-list)]], org-prepare-agenda erases the buffer
22248         of the file containing the link, since that buffer is current
22249         during org-prepare agenda (due to a with-current-buffer in
22250         org-agenda-open-link).  An additional test now ensures that the
22251         agenda buffer is in fact current when the buffer is erased and
22252         local variables for the agenda are set.
22254 2010-11-11  David Maus  <dmaus@ictsoc.de>  (tiny change)
22256         * org-exp.el (org-infile-export-plist): Define property macro.
22258 2010-11-11  David Maus  <dmaus@ictsoc.de>
22260         * org-mhe.el (org-mhe-get-header): Remove possible folding white
22261         space in message header field.
22263 2010-11-11  David Maus  <dmaus@ictsoc.de>
22265         * org-feed.el (org-feed): Fix typo in customization group :tag
22266         property.
22268 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22270         * org-latex.el (org-export-latex-tag-markup): New option.
22271         (org-export-latex-keywords-maybe):
22272         Use `org-export-latex-tag-markup'.
22274 2010-11-11  Rémi Vanicat  <vanicat@debian.org>  (tiny change)
22276         * org-icalendar.el (org-icalendar-use-UTC-date-time): New option.
22277         (org-ical-ts-to-string): Use UTC time when requested.
22279 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
22281         * org-html.el (org-html-cvt-org-as-html): Do not convert protocol
22282         from 'file' to 'http'.
22284 2010-11-11  David Maus  <dmaus@ictsoc.de>
22286         * org.el (org-store-log-note): Fix wrong usage
22287         of`org-adapt-indentation'.
22289 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22291         * org.el (org-skip-over-state-notes): Do not compute bottom point
22292         at each item.
22294         * org-mouse.el (org-mouse-for-each-item): Use `org-apply-on-list'
22295         instead of moving to each item.
22297 2010-11-11  David Maus  <dmaus@ictsoc.de>
22299         * org-capture.el (org-capture-templates): Small fix in doc string.
22301 2010-11-11  aaa bbb  <dominik@powerbook-g4-12-van-aaa-bbb.local>
22303         * org-archive.el (org-get-local-archive-location):
22304         Use `org-archive-location' as default.
22306 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22308         * ob-C.el (org): No longer requires org.
22310         * ob-ledger.el (org): No longer requires org.
22312 2010-11-11  David Maus  <dmaus@ictsoc.de>
22314         * org.el (org-priority): Save match data before call to
22315         `read-char-exclusive'.
22317 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22319         * org-list.el (org-list-to-generic): Descriptions labels can be
22320         any suit of symbols, and will end at double colons.
22322 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22324         * org.el (org-indent-line-function): Indent past [@num] and
22325         [@start:num], consistently with what is already done with
22326         checkboxes.
22328 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22330         * org.el (org-store-log-note): Indent new notes to the right
22331         column.  Also take `org-list-two-spaces-after-bullet-regexp' into
22332         consideration when creating the note.
22334 2010-11-11  David Maus  <dmaus@ictsoc.de>
22336         * org-gnus.el (nnimap-group-overview-filename): Declare function
22337         to silence byte compiler.
22339 2010-11-11  David Maus  <dmaus@ictsoc.de>
22341         * org-gnus.el (org-gnus-nnimap-query-article-no-from-file):
22342         New customization variable.
22343         (org-gnus-nnimap-cached-article-number): New function.
22344         (org-gnus-follow-link): Try to fetch cached article number of
22345         message-id.
22347 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22349         * ob-org.el (org-babel-org-default-header): Used to insert a dummy
22350         first line into code blocks before export so that the first line
22351         is not interpreted as a title
22352         (org-babel-org-export): Use new dummy code block prefix.
22354 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22356         * ob.el (org-babel-insert-result): No longer throws error when
22357         inserting an empty result.
22359 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22361         * ob-tangle.el: Autoload org-babel-tangle-lang-exts from ob-tangle.
22363 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22365         * ob.el (org-babel-do-in-edit-buffer):
22366         Use `org-babel-where-is-src-block-head' to test for source block at
22367         point.
22369 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22371         * ob-keys.el (org-babel-key-bindings): Adding key-binding for
22372         `org-babel-goto-src-block-head'.
22374         * ob.el (org-babel-goto-src-block-head): Jump to the head of the
22375         current code block.
22377 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22379         * ob.el (org-babel-next-src-block): Now raising more informative
22380         error when no further code blocks can be found.
22381         (org-babel-previous-src-block): Now raising more informative error
22382         when no previous code blocks can be found.
22384 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22386         * org-exp-blocks.el
22387         (org-export-preprocess-after-include-files-hook): Now using this
22388         hook instead of `org-export-preprocess-hook'.
22390 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22392         * ob-plantuml.el (org-babel-execute:plantuml): ????
22394 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22396         * ob-python.el (org-babel-python-evaluate): Refactor as call to
22397         either `org-babel-python-evaluate-external-process' or
22398         `org-babel-python-evaluate-session'.
22399         (org-babel-python-evaluate-external-process): New function to
22400         handle evaluation in external process.
22401         (org-babel-python-evaluate-session): New function to handle
22402         evaluation in emacs inferior process.
22404 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22406         * ob-org.el (org-babel-execute:org): Evaluates body to latex ascii
22407         or html respecting :results header arg
22408         (org-babel-org-export): Exports a string of text to an output
22409         format.
22411 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22413         * ob.el (org-babel-insert-result): Remove existing results when
22414         nil results are returned.
22416 2010-11-11  David Maus  <dmaus@ictsoc.de>
22418         * org-ascii.el (org-export-as-ascii): Bind and set link path for
22419         link type specific markup function.
22421 2010-11-11  David Maus  <dmaus@ictsoc.de>
22423         * org-clock.el (notifications-notify): Properly declare function
22424         to silence byte compiler.
22426 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22428         * org-list.el (org-insert-item): Check invisibility of point at a
22429         meaningful location.
22431 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22433         * org-list.el (org-list-insert-item-generic): Updating checkboxes
22434         can modify bottom point of a list, so make it a marker before
22435         calling `org-update-checkbox-count-maybe'.
22437 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22439         * org.el (org-src-fontify-natively): Set to nil by default.
22440         Supply customize interface.
22442 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22444         * org-ascii.el (org-export-as-ascii): Fix bug in ASCII export: use
22445         `org-bracket-link-analytic-regexp++' to match the link type.
22447 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22449         * ob-tangle.el (org-babel-tangle-collect-blocks): Rename `lang' to
22450         `language'.
22452 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22454         * ob-tangle.el (org-babel-tangle-comment-format-beg):
22455         Format string specifying the link-comment preceding a code block
22456         (org-babel-tangle-comment-format-end): Format string specifying
22457         the link-comment following a code block
22458         (org-babel-tangle-collect-blocks): Storing more information in the
22459         spec of a tangling code block
22460         (org-babel-spec-to-string): Now makes use of customizable
22461         link-comment formats.
22463 2010-11-11  Achim Gratz  <Stromeko@stromeko.net>  (tiny change)
22465         * org.el (org-delete-backward-char): Check for nil overwrite-mode
22466         before inserting spaces.
22468 2010-11-11  David Maus  <dmaus@ictsoc.de>
22470         * org-icalendar.el (org-print-icalendar-entries): Exclude tags
22471         from summary of non-TODO ical entries.
22472         (org-print-icalendar-entries): Use `org-complex-heading-regexp' to
22473         exclude tags from summary of TODO ical entries.
22475 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22477         * ob.el (org-babel-map-src-blocks): Now exposes much information
22478         about the code block in the form of let-bound local variables.
22480 2010-11-11  David Maus  <dmaus@ictsoc.de>
22482         * org-list.el (org-outline-regexp, org-ts-regexp)
22483         (org-ts-regexp-both, org-in-regexps-block-p)
22484         (org-level-increment, org-at-heading-p)
22485         (outline-previous-heading, org-icompleting-read)
22486         (org-time-string-to-seconds): Declare to fix compiler warning.
22488 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22490         * org-list.el (org-toggle-checkbox): Ignore items in drawers when
22491         used from an heading.  Send an error when no item is in region.
22493 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22495         * ob.el (org-babel-do-in-edit-buffer): Use unwind-protect to
22496         ensure that edit buffer is exited.
22498 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22500         * ob-tangle.el (org-babel-tangle-pad-newline): Can be used to
22501         control the amount of extra newlines inserted into tangled code
22502         (org-babel-tangle-collect-blocks): Now conditionally collects
22503         information to be used for "org" style comments
22504         (org-babel-spec-to-string): Now inserts "org" style comments, and
22505         obeys the newline configuration variable when inserting whitespace.
22507 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22509         * ob-tangle.el (org-babel-pre-tangle-hook): Defines new tangle
22510         hook
22511         (org-babel-tangle): Calls new tangle hook.
22513 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22515         * org-capture.el (org-capture): Compute the length of the correct
22516         string when removing properties.
22518 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22520         * ob-plantuml.el (org-babel-execute:plantuml): Now expanding file
22521         names before shell quoting.
22523 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22525         * org-src.el (org-src-tab-indents-natively): New variable
22526         controlling whether language-native TAB action should be performed
22527         (org-src-native-tab-command-maybe): New function to perform
22528         language-native TAB action.
22529         (org-tab-first-hook): Add `org-src-native-tab-command-maybe'.
22531 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22533         * ob-plantuml.el (org-babel-execute:plantuml): Explicitly check
22534         `org-plantuml-jar-path' before use.
22536 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22538         * org-src.el (org-src-font-lock-fontify-block): Re-use hidden
22539         language major mode buffers during fontification.
22541 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22543         * org.el (org-fontify-meta-lines-and-blocks): Alter main regexp to
22544         match code blocks with switches and header args.
22545         Call `org-src-font-lock-fontify-block' for automatic fontification of
22546         code in code blocks, controlled by variable
22547         `org-src-fontify-natively'.
22548         (org-src-fontify-natively): New variable.
22550 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22552         * ob-ruby.el (org-babel-expand-body:ruby): Remove requirement of
22553         inf-ruby.
22555 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
22557         * org-html.el (org-html-make-link): (expand-file-name) removes
22558         one "/" from "///path-to-file", so add one.  Anything other than
22559         'file' type should be exported along with the type.
22561 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
22563         * org.el (org-insert-subheading): Fix compiler warning
22564         (org-insert-todo-subheading): Fix compiler warning.
22566 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22568         * org-capture.el (org-capture): Remove read-only text properties
22569         from capture text.
22570         (org-capture-set-target-location): Throw an error if file+headline
22571         target does not point into a file which is in Org mode.
22573 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22575         * ob.el (org-babel-map-src-blocks): Prefer `when' to `if'.
22577 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22579         * org-src.el (org-edit-src-code): Improve docstring.
22581 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22583         * ob.el (org-babel-execute-src-block): Document prefix argument in
22584         docstring.
22586 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22588         * ob-ditaa.el (org-babel-execute:ditaa): Now expanding
22589         org-ditaa-jar-path with expand-file-name.
22591 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22593         * ob.el (org-babel-execute-subtree): Pass prefix arg through to
22594         `org-babel-execute-src-block'.
22596 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22598         * org-ascii.el (org-export-ascii-preprocess): Allow [@start:x] and
22599         [@x] syntax for list numbering.
22601 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22603         * org.el (org-indent-line-function): Indentation of source block
22604         is left to `org-edit-src-exit' and shouldn't be modified by
22605         `org-indent-line-function'.  Indentation of others blocks should be
22606         the same as the #+begin line.
22608 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22610         * ob.el (org-babel-map-src-blocks): If FILE is nil evaluate BODY
22611         forms on source blocks in current buffer; restore point in current
22612         buffer.
22614 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22616         * org-list.el (org-list-struct): Accept list boundaries as an
22617         argument in order to avoid computing `org-list-top-point' and
22618         `org-list-bottom-point' twice when indenting.
22620 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22622         * org-list.el (org-list-ending-method): Default value is now
22623         `both', to ensure maximum compatibility before previous
22624         implementation.
22626 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22628         * org-list.el (org-list-in-item-p-with-indent): Test if first line
22629         is the item beginning.
22631         * org-list.el (org-list-top-point-with-indent): Test if first line
22632         is a valid list beginning.
22634 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22636         * org-list.el (org-list-ending-method): New customizable variable
22637         to tell Org Mode how lists end.  See docstring.
22639 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22641         * org-list.el (org-indent-item-tree): Shifting step of top-level
22642         item depends on `org-level-increment'.
22644 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22646         * org.el (org-indent-line-function): Indent first non blank line
22647         after a list according to current heading level.
22649 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22651         * org-docbook.el (org-export-as-docbook): Remove check for
22652         indentation on lines that do not start with a list bullet.
22654         * org-html.el (org-export-as-html): Same thing.
22656 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22658         * org-list.el (org-list-bottom-point): Take into consideration
22659         that bound of search can be before true ending of the list.
22661 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22663         * org-list.el (org-list-struct-apply-struct): No longer shift
22664         item's body twice: one after replacing bullet and one after
22665         changing indentation.
22667 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22669         * org-list.el (org-list-struct-indent): Add code to replace
22670         bullets if needed when indenting.
22672 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22674         * org-list.el (org-list-insert-item-generic): A single item
22675         already counting blank lines in his body should be separated with
22676         the next one by a blank line.  Moreover, if user already provided
22677         blank lines, follow his wishes.
22679 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22681         * org-list.el (org-indent-item-tree): When moving top item of a
22682         *-list to column 0, only the first item had its bullet changed to
22683         -.  It now changes all items of the top-level list, as expected.
22685 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22687         * org-list.el (org-toggle-checkbox): Go to beginning of line
22688         before processing.
22690 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22692         * org-list.el (org-list-struct-apply-struct): Check if ancestor
22693         exists.
22695 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22697         * org-list.el (org-renumber-ordered-list): Check for [@start:x] is
22698         done at each item.
22700 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22702         * org-list.el: Removed unused variable
22703         `org-suppress-item-indentation'.
22705         * org-list.el (org-renumber-ordered-list): Skip item if bullet
22706         number is already good.
22708 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22710         * org-list.el (org-list-automatic-rules): Doc-string reflects this
22711         change.
22713         * org-list.el (org-indent-item-tree): Prevent whole list from
22714         being moved when user is not moving subtree.
22715         Thus `org-cycle-item-indentation' will not allow to move the list.
22717 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22719         * org-list.el (org-indent-item-tree): Remove region code.  It was
22720         prone to errors and undocumented.
22722         * org-list.el (org-item-indent-positions): Better heuristics to
22723         determine what bullet the item will have when demoted.
22725 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22727         * org-list.el (org-list-bullet-string): First check if
22728         `org-list-two-spaces-after-bullet-regexp' isn't nil.
22730 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22732         * org-list.el (org-list-bullet-string): Do not modify match-data.
22734         * org.el (org-toggle-item): Now working again when changing list
22735         items into plain text.  Moreover take into consideration
22736         `org-list-two-spaces-after-bullet-regexp'.
22738 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22740         * org-list.el (org-indent-item-tree): Remove unnecessary bullets
22741         fix, and improved heuristics to determine bullet when indenting.
22743         * org-list.el (org-item-indent-positions): Function now returns
22744         sane results when there are two lists separated with blank lines
22745         only.
22747 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22749         * org-docbook.el (org-export-as-docbook): Use override="num" in
22750         any listitem matching [@start:num].
22752         * org-html.el (org-export-as-html): Use value="num" in any li
22753         matching [@start:num].
22755 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22757         * org.el (org-set-font-lock-defaults): Correct fontification for
22758         checkboxes found after [@start:?].
22760         * org-list.el (org-list-at-regexp-after-bullet-p): Skip any
22761         [@start:?]  when looking at a regex after a bullet.
22763         * org-list.el (org-toggle-checkbox): Correct insertion of
22764         checkboxes when there is already a [@start:?] in the item.
22766         * org-list.el (org-checkbox-blocked-p): Properly check if there's
22767         an unchecked item before.
22769         * org-list.el (org-list-parse-list): Function handles items having
22770         both a counter and a checkbox.
22772 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22774         * org-list.el (org-cycle-item-indentation): Org-tab-ind-state
22775         stores both indentation and bullet when cycle started.
22777 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22779         * org-list.el: `org-at-description-p' renamed to
22780         `org-at-item-description-p', `org-first-list-item-p' renamed to
22781         `org-list-first-item-p', `org-end-of-item-text-before-children'
22782         renamed to `org-end-of-item-or-at-child'.
22784 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22786         * org.el (org-ctrl-c-ctrl-c): Call `org-fix-bullet-type' instead
22787         of `org-maybe-renumber-ordered-list' and `org-fix-bullet-type'
22788         before toggling a checkbox.
22790 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22792         * org-list.el (org-list-bullet-string): New function returning
22793         bullet concatenated with an appropriate number of white spaces.
22795         * org-list.el (org-list-insert-item-generic): Insert the right
22796         bullet, with help of `org-list-bullet-string'.
22798         * org-list.el (org-indent-item-tree):
22799         Use `org-list-bullet-string'.
22801         * org-list.el (org-fix-bullet-type): Use `org-list-bullet-string'.
22803         * org-list.el (org-toggle-checkbox): Send an error when
22804         `org-toggle-checkbox' is trying to insert a checkbox at a
22805         description item.
22807         * org-list.el (org-item-re): Modify regexp so it can catch
22808         correct number of white space before item body.
22810         * org-list.el (org-list-at-regexp-after-bullet-p): Take into
22811         consideration new `org-item-re'.
22813 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22815         * org-list.el (org-list-insert-item-generic): The second item in a
22816         list will be separated from its predecessor with the number of
22817         blank lines separating the first item from its parent, if any, or
22818         no blank line.
22820 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22822         * org-list.el (org-indent-item-tree): Fix and reorder every list
22823         and sublist, from parent of list that has moved if indenting, or
22824         from list at point if outdenting.
22826 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22828         * org-list.el (org-indent-item-tree): Try to keep relative
22829         position on line.  It can't if point is in white spaces before
22830         bullet because mixed tabs and spaces make some columns
22831         unattainable.
22833 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22835         * org-list.el (org-cycle-item-indentation): Cycle when the whole
22836         item only contains bullet and maybe a checkbox.  Previously, TAB
22837         would cycle when the first line of the item was blank.
22839 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22841         * org-list.el (org-cycle-item-indentation): Allow a point just
22842         after a description item or a checkboxed item to start cycling.
22844 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22846         * org-list.el (org-cycle-list-bullet):
22847         Check `org-plain-list-ordered-item-terminator' before allowing 1. or 1)
22848         as valid bullets when cycling.
22850 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22852         * org-list.el (org-cycle-item-indentation): Do return t if and
22853         only if cycling is possible and succeded.
22855 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22857         * org-list.el (org-indent-item-tree): When outdenting a subtree,
22858         the last item shouldn't have a children.
22860 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22862         * org-list.el (org-cycle-item-indentation): Cycling should play
22863         nicely with indent rule in `org-list-automatic-rules'.
22865 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22867         * org-list.el (org-indent-item-tree): If indent rule is activated,
22868         it should be impossible to outdent an item having children without
22869         moving its subtree.  Improved reordering of lists modified by
22870         cycling indentation.
22872 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22874         * org-list.el (org-maybe-renumber-ordered-list): Remove call for
22875         `org-fix-bullet-type' to prevent infinite loop, and some checks
22876         already done in `org-renumber-ordered-list'.
22878         * org-list.el (org-fix-bullet-type): Remove a check and call
22879         directly `org-maybe-renumber-ordered-list'.
22881 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22883         * org-list.el (org-indent-item-tree): It shouldn't be possible to
22884         indent the first item of a sublist (though outdent is possible) as
22885         it would break list's structure.
22887 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22889         * org-list.el (org-list-insert-item-generic): When local search
22890         doesn't help, search the list globally for blank lines.  Moreover,
22891         don't bother with new lists, and add 1 blank line.
22893 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22895         * org-capture.el (org-capture-place-item):
22896         Use `org-search-forward-unenclosed' and
22897         `org-search-backward-unenclosed' and new variable
22898         `org-item-beginning-re'.
22900         * org-list.el (org-item-beginning-re): Regexp matching beginning
22901         of an item.
22903 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22905         * org-list.el (org-cycle-list-bullet): Put back support for
22906         'previous argument.
22908 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22910         * org-list.el (org-in-item-p): Handle case when point is at an
22911         heading.
22913         * org-list.el (org-list-make-subtree): Add protection when used
22914         outside of list.
22916         * org-list.el (org-insert-item): Remove useless hack now
22917         `org-in-item-p' is fixed.
22919         * org-timer.el (org-timer-item): Remove useless hack now
22920         `org-in-item-p' is fixed.
22922 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22924         * org-list.el (org-cycle-list-bullet): Prevent description items
22925         from being numbered.  String argument is also recognized now, as
22926         long as it is a valid bullet.
22928 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22930         * org-list.el (org-indent-item-tree): Moving indentation of top
22931         list item will make the whole list move.
22933         * org-list.el (org-apply-on-list): Function is less sensitive to
22934         changes of indentation.
22936 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22938         * org-list.el (org-at-item-checkbox-p): Add whitespaces at the end
22939         of the regexp.
22941         * org-list.el (org-checkbox-blocked-p): Use new checkbox regexp.
22943         * org-list.el (org-cycle-item-indentation): Allow cycling
22944         description items and checkbox items.
22946         * org-list.el (org-toggle-checkbox): Use new checkbox regexp.
22948         * org-list.el (org-reset-checkbox-state-subtree): Use new checkbox
22949         regexp.
22951 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22953         * org-list.el (org-insert-item-internal): Guessing of blank lines
22954         number is made by looking at neighboring items, if any.
22956 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22958         * org-list.el (org-sort-list): Add the possibility to sort timer
22959         lists with the ?t or ?T options.
22961 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22963         * org-list.el (org-search-unenclosed-internal): New function to
22964         handle both `org-search-forward-unenclosed' and
22965         `org-search-backward-unenclosed'.
22967         * org-list.el (org-search-backward-unenclosed): Can send errors
22968         now.  Removed useless usage of COUNT.
22970         * org-list.el (org-search-forward-unenclosed): Can send errors
22971         now.  Removed useless usage of COUNT.
22973         * org-list.el (org-update-checkbox-count):
22974         Use `org-search-forward-unenclosed' and
22975         `org-search-backward-unenclosed' instead of `re-search-forward'
22976         and `re-search-backward'.
22978         * org-list.el (org-sort-list): Use `org-search-forward-unenclosed'
22979         and `org-search-backward-unenclosed' instead of
22980         `re-search-forward' and `re-search-backward'.
22982         * org-list.el (org-list-make-subtree):
22983         Use `org-search-forward-unenclosed' and
22984         `org-search-backward-unenclosed' instead of `re-search-forward'
22985         and `re-search-backward'.
22987 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22989         * org-list.el (org-insert-item-internal): Fixes the problem when
22990         point was before the first char of the item's body.
22992 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22994         * org-timer.el (org-timer-item): Refactoring.  Compute timer string
22995         before inserting it in the buffer.
22997         * org-timer.el (org-timer): Add an optional argument to return
22998         timer string instead of inserting it.
23000 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23002         * org-list.el (org-insert-item-internal): New function to handle
23003         positioning and contents of an item being inserted at a specific
23004         pos.  It is not possible anymore to split a term in a description
23005         list or a checkbox when inserting a new item.
23007         * org-list.el (org-insert-item): Refactored by using the new
23008         `org-insert-item-internal' function.
23010         * org-timer.el (org-timer-item): Refactored by using the new
23011         `org-insert-item-internal' function.
23013 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23015         * org-list.el (org-list-bottom-point): Be sure to check real
23016         ORG-OUTLINE-REGEXP and not outline-regexp, that might be modified.
23018         * org.el (org-cycle-internal-local): Cycle up to end of subtree or
23019         end of item if we are in a list.
23021 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23023         * org-list.el (org-insert-item): Move before any special block in
23024         a list prior to add a new item.
23026         * org-timer.el (org-timer-item): When in a timer list, insert a
23027         new timer item like `org-insert-item'.  If in another list, send an
23028         error.  Otherwise, start a new timer list.
23030 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23032         * org-list.el: Minor refactoring.
23034 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23036         * org-timer.el (org-timer-item): Insert description list item at
23037         the right column.
23039         * org-list.el (org-insert-item): Insert the right number of blank
23040         lines before a relative timer.
23042 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23044         * org-list.el (org-insert-item): Remove restriction on latex
23045         blocks.
23047 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23049         * org-list.el (org-search-backward-unenclosed): Do not stop in
23050         protected places.
23052         * org-list.el (org-search-forward-unenclosed): Do not stop in
23053         protected places.
23055         * org-latex.el (org-export-latex-lists): Use the fact that
23056         org-search-forward do not stop anymore at protected places.
23058 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23060         * org-list.el (org-search-backward-unenclosed): Do not prevent
23061         list items from being inside LaTeX blocks.
23063         * org-list.el (org-search-forward-unenclosed): Do not prevent list
23064         items from being inside LaTeX blocks.
23066 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23068         * org-list.el (org-in-item-p): Do not widen before checking if we
23069         are in item.
23071         * org-list.el (org-list-send-list): We cannot count on
23072         `org-list-top-point' and `org-list-bottom-point' before buffer is
23073         narrowed.  Find bounds of list otherwise.
23075 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23077         * org-list.el (org-list-end-regexp): By default, list ending is
23078         exactly 2 blank lines.
23080 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23082         * org-docbook.el (org-export-as-docbook): When we find an empty
23083         line, we do not need to check for
23084         `org-empty-line-terminates-plain-lists' because we would have
23085         found end-list marker before.
23087         * org-html.el (org-export-as-html): Same.
23089 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23091         * org-list.el (org-insert-item): Simplify count of blank lines to
23092         insert.
23094 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23096         * org-list.el (org-list-end-regexp): New customizable variable to
23097         define what string should end lists.
23099         * org-list.el (org-list-end-re): Function is now aware of
23100         `org-list-end-regexp'.
23102 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23104         * org-html.el (org-export-as-html): Code cleanup.
23106 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23108         * org-docbook.el (org-export-as-docbook): Properly close any open
23109         list when seeing ORG-LIST-END.  Removed any reference to now
23110         unneeded DIDCLOSE variable.
23112 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23114         * org-exp.el (org-export-mark-list-ending): Fix number of blank
23115         lines inserted after a list.
23117         * org-list.el (org-list-parse-list): Fix case when
23118         `org-list-end-re' would have an indentation greater than current
23119         list.
23121 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23123         * org-exp.el (org-export-mark-list-ending): Differentiate between
23124         export backends, and replace `org-list-end-re' by a blank line
23125         upon exporting.
23127 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23129         * org-html.el (org-export-as-html): Delete didclose and everything
23130         related to it, as it is no longer needed.
23132 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23134         * org-html.el (org-export-html-preprocess): Remove unneeded
23135         insertion of list end marker, as it is now handled by
23136         `org-export-mark-list-ending'.
23138         * org-html.el (org-export-as-html): Cleaner termination of lists.
23140         * org-exp.el (org-export-mark-list-ending): New function to insert
23141         specific markers at the end of lists when exporting to a backend
23142         not using `org-list-parse-list'.  This function is called early in
23143         `org-export-preprocess-string', while it is still able to
23144         recognize lists.
23146         * org-latex.el (org-export-latex-lists): Better search for
23147         lists.  It now only finds items not enclosed and not protected.
23149 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23151         * org-list.el: Replaced `re-search-forward' by
23152         `org-search-forward-unenclosed' where it made sense.
23154 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23156         * org-list.el (org-apply-to-list): Now a return value is handed at
23157         each new call of the function applied.
23159         * org-list.el (org-fix-bullet-type): Use the new
23160         `org-apply-to-list' format.
23162         * org-list.el (org-renumber-ordered-list): Use the new
23163         `org-apply-to-list' format.
23165 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23167         * org.el (org-in-regexps-block-p): Minor fix: limit wasn't
23168         correctly used.
23170         * org-list.el (org-search-forward-unenclosed): Better regexp used.
23172         * org-list.el (org-search-backward-unenclosed): Better regexp
23173         used.
23175 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23177         * org-list.el (org-sort-list): End-rec function was ill-defined.
23179 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23181         * org-list.el (org-search-forward-unenclosed): Fix behavior when
23182         last occurrence was enclosed.
23184         * org-list.el (org-search-backward-unenclosed): Fix behavior when
23185         last occurrence was enclosed.
23187 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23189         * org.el (org-in-regexps-block-p): Fix documentation.
23191 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23193         * org-list.el (org-search-backward-unenclosed): Fix block regexp.
23195         * org-list.el (org-search-forward-unenclosed): Fix block regexp.
23197         * org-list.el (org-list-parse-list): Minor fix.
23199 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23201         * org-list.el (org-list-parse-list): Delete `org-list-end-re' when
23202         called with t argument.
23204 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23206         * org-html.el (org-export-html-preprocess):
23207         Replace `org-list-end-re' by a blank line during pre-process.
23209 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23211         * org-list.el (org-list-bottom-point): No need for square brackets
23212         for `skip-chars-backward'.
23214 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23216         * org-html.el: Do not delete space between end of list and
23217         beginning of the following.
23219 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23221         * org-html.el: Preprocess buffer string and add ORG-LIST-END where
23222         needed.  Lists should not end before seeing this.
23224 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23226         * org-html.el: Notice end of lists.
23228 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23230         * org-list.el (org-list-parse-list): Better handling of
23231         restrictions when function is called on a list with sublists.
23233         * org-list.el (org-list-send-list): Find the true ending of the
23234         list being sent.
23236         * org-list.el (org-list-radio-list-templates): Templates are more
23237         specific to lists.
23239 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23241         * ob-js.el (org-babel-js-eoe): Indicate end of input
23242         (org-babel-execute:js): Support for session evaluation
23243         (org-babel-prep-session:js): Fleshed out definition
23244         (org-babel-js-initiate-session): Can initiate a session using
23245         mozrepl.
23247 2010-11-11  David Maus  <dmaus@ictsoc.de>
23249         * org.el (org-set-regexps-and-options): Protect escape char in
23250         `org-complex-heading-regexp-format'.
23252 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23254         * ob-scheme.el (org-babel-scheme-eoe): For marking the end of
23255         session-based evaluation
23256         (org-babel-execute:scheme): Now supports session-based evaluation
23257         (org-babel-prep-session:scheme): Now works and defines variables
23258         (org-babel-scheme-initiate-session): Now works using run-scheme
23259         from cmuscheme.
23261 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23263         * org.el (org-export-latex-default-packages-alist): Remove the
23264         t1enc package - this is already covered by fontenc.
23266 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23268         * ob.el (with-parsed-tramp-file-name): Declared
23269         (org-babel-tramp-localname): Ensure variable name exists locally.
23271 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23273         * ob.el (org-babel-temp-file): Don't use babel temporary directory
23274         in remote case; use make-temp-file with remote file name so that
23275         temp file is guaranteed not to exist previously on remote machine.
23276         (org-babel-tramp-localname): New function to return local name
23277         portion of possibly remote file specification.
23279 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23281         * ob-R.el (org-babel-R-write-object-command): New unified R
23282         command for writing results to file
23283         (org-babel-R-wrapper-method): Remove variable
23284         (org-babel-R-wrapper-lastvar): Remove variable
23285         (org-babel-R-evaluate-external-process): Use new R command
23286         (org-babel-R-evaluate-session): Use new R command.
23288 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23290         * ob-comint.el
23291         (org-babel-comint-eval-invisibly-and-wait-for-file): New function
23292         to evaluate code invisibly and block until output file exists.
23294         * ob-R.el (org-babel-R-evaluate-session): Use `ess-eval-buffer' to
23295         evaluate R code in session for :results value.  Write result to
23296         file invisibly using new function
23297         `org-babel-comint-eval-invisibly-and-wait-for-file'.
23299 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23301         * org-capture.el (org-capture-fill-template): Align tags after
23302         insertion.
23304 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23306         * org-exp.el (org-export-concatenate-multiline-emphasis):
23307         Ignore matches that start in a headline.
23309 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23311         * ob-plantuml.el (org-babel-execute:plantuml): Wrapping in-file
23312         and out-file in shell-quote-argument.
23314 2010-11-11  David Maus  <dmaus@ictsoc.de>
23316         * org-docview.el (org-docview-store-link): Use expanded macro to
23317         get current page.
23318         (doc-view-goto-page, image-mode-window-get): Declare functions for
23319         byte compiler.
23321 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23323         * ob-scheme.el: Very preliminary support for evaluating scheme
23324         code blocks.
23326         * org.el (org-babel-load-languages): Adding scheme.
23328 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23330         * ob.el (require): Remove circular (require 'org).
23332 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23334         * ob-R.el (ess-make-buffer-current): Declared.
23335         (ess-ask-for-ess-directory): Declared.
23336         (ess-local-process-name): Declared.
23337         * ob-latex.el (org-babel-latex-tex-to-pdf): Capturing free variable.
23339         * ob.el (org-edit-src-code): Fixing arguments.
23340         (org-edit-src-exit): Declared.
23341         (org-outline-overlay-data): Declared.
23342         (org-set-outline-overlay-data): Declared.
23344 2010-11-11  Glenn Morris  <rgm@gnu.org>
23346         * ob.el: Require org when compiling.
23347         (org-save-outline-visibility): Remove macro declaration.
23349         * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
23350         Remove unnecessary/macro declarations.
23352         * org-docview.el: Require doc-view when compiling.
23353         (doc-view-goto-page): Autoload rather than declaring.
23354         (doc-view-current-page): Remove macro declaration.
23356         * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
23357         (org-entry-get, org-table-import): Fix declarations.
23358         (org-match-string-no-properties): Remove declaration.
23360         * ob-sh.el (org-babel-comint-in-buffer)
23361         (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
23362         (org-babel-comint-with-output): Remove unnecessary declarations.
23364         * ob-R.el (orgtbl-to-tsv): Fix declaration.
23366         * org-list.el (org-entry-get): Fix declaration.
23368 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23370         * ob.el (org-babel-remove-temporary-directory): Remove explicit
23371         second argument.
23373 2010-11-11  Magnus Henoch  <magnus.henoch@gmail.com>  (tiny change)
23375         * org-clock.el (org-clocktable-steps): Allow ts and te to be day
23376         numbers.
23378 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23380         * org-macs.el (org-save-outline-visibility): Move from org.el.
23382 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23384         * ob-org.el (org-babel-default-header-args:org): Additional
23385         ":results silent" default header argument for org code blocks.
23387 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23389         * ob-exp.el (org-babel-exp-do-export): Remove hacky ":noeval",
23390         which is now an alias to ":eval no".
23392 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23394         * ob.el (org-babel-remove-temporary-directory): The version of
23395         `delete-directory' found in files.el can not be assumed to be
23396         present on all versions, so this copies the recursive behavior of
23397         that command in such a way that all calls to delete-directory will
23398         also work with the built-in internal C implementation of that
23399         function.  This is not overly difficult as all elements of the
23400         directory can be assumed to be files.
23402 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23404         * ob-C.el (org-babel-C-execute): Corrected arguments to
23405         org-babel-temp-file.
23407 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23409         * ob.el (org-babel-temporary-directory): Variable to hold the
23410         value of the Babel temporary directory.
23412 2010-11-11  Aditya Siram  <aditya.siram@gmail.com>
23414         * ob.el (org-babel-load-in-session): Expanding noweb references
23415         when appropriate.
23417 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23419         * org.el (org-make-link-regexps): Modify regexp of
23420         org-plain-link-re.
23422 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
23424         * org-habit.el (org-habit-parse-todo): Find sr-days only if
23425         scheduled-repeat is non nil.  Use 4th element of the list returned
23426         by (org-heading-components) as habit-entry.  Modify the error
23427         message to be more meaningful.
23429 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23431         * ob-latex.el (org-babel-execute:latex): Adding new ":fit" and
23432         ":border" header arguments which both use the "preview" latex
23433         package to fit the resulting PDF image to the figure.
23435 2010-11-11  David Maus  <dmaus@ictsoc.de>
23437         * org-wl.el (org-wl-store-link): Don't try to store link if point
23438         is at end of buffer.
23440 2010-11-11  Harri Kiiskinen  <harkiisk@gmail.com>
23442         * org-publish.el (org-publish-project-alist): Document the new
23443         body-only property.
23444         (org-publish-org-to): Use the body-only property.
23446 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
23448         * org.el (org-store-link): Return link when invoked
23449         non-interactively from an agenda buffer.
23451 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
23453         * org.el (org-store-link): Storing of links to headlines in
23454         indirect buffers was broken.  Fix it.
23456 2010-11-11  Aidan Kehoe  <kehoea@parhasard.net>
23458         * ob-tangle.el (org-babel-tangle): Change the MODE argument to
23459         #'set-file-modes to use integer, not character syntax, avoiding
23460         compile problems with recent XEmacs.
23462 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23464         * org-agenda.el (org-agenda-add-entry-text): Make sure we move
23465         forward even if there is no text to be added.
23467 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23469         * org.el (org-make-tags-matcher): Read "\\-" as "-" in the
23470         tags/property matcher.
23472 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23474         * org-exp.el (org-infile-export-plist): Bind case-fold-search to
23475         t.
23477 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23479         * org-agenda.el (org-agenda-with-point-at-orig-entry): New macro.
23481 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23483         * org-latex.el (org-export-latex-set-initial-vars):
23484         Bind `case-fold-search' to t around the search for special LaTeX setup.
23486         * org-beamer.el (org-beamer-after-initial-vars):
23487         Bind `case-fold-search' to t around the search for special BEAMER
23488         setup.
23490 2010-11-11  David Maus  <dmaus@ictsoc.de>
23492         * org-agenda.el (org-write-agenda): Delete PostScript file after
23493         creating conversion to PDF.
23495 2010-11-11  David Maus  <dmaus@ictsoc.de>
23497         * org-agenda.el (org-write-agenda): Move require statements to
23498         proper place in evaluated lisp expression.
23500 2010-11-11  David Maus  <dmaus@ictsoc.de>
23502         * org-agenda.el (org-write-agenda): Rename temporary buffer to
23503         remove dependency of `flet' macro.
23505 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23507         * ob-lob.el (org-babel-lob-get-info): Edit docstring.
23509 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23511         * ob-exp.el (org-babel-exp-lob-one-liners): Get parameter values
23512         from all standard sources when executing #+lob/#+call lines.
23514 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23516         * ob-R.el (org-babel-R-evaluate): Break the two branches into two
23517         separate functions
23518         (org-babel-R-evaluate-external-process): New function to handle
23519         external process evaluation
23520         (org-babel-R-evaluate-session): New function to handle session
23521         evaluation.
23523 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23525         * ob.el (org-babel-initiate-session): New function derived from
23526         previous `org-babel-switch-to-session'
23527         (org-babel-switch-to-session): Refactored to use new
23528         `org-babel-initiate-session'.
23530 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23532         * ob.el (org-babel-switch-to-session): Supply missing "P" argument
23533         to (interactive).
23535 2010-11-11  David Maus  <dmaus@ictsoc.de>
23537         * org-feed.el (org-feed-format-entry): Decode entry according to
23538         its character encoding.
23540 2010-11-11  David Maus  <dmaus@ictsoc.de>  (tiny change)
23542         * org-feed.el (xml-substitute-special): Declare function for byte
23543         compiler.
23544         (org-feed-unescape): Remove.
23545         (org-feed-parse-rss-entry, org-feed-parse-atom-entry):
23546         Use `xml-substitute-special' to unescape XML entities.
23548 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23550         * ob.el (org-babel-switch-to-session): Throw error if block if
23551         :session not in effect for the block.
23553 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23555         * org-table.el (org-table-create-with-table.el): Align table
23556         before converting.
23558 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23560         * ob.el (org-babel-do-in-edit-buffer): Suppress message and check
23561         that org-src buffer is current before attempting exit.
23563 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23565         * org-src.el (ob-comint): Require 'ob-comint
23566         (org-src-babel-info): Define variable.
23568 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23570         * ob.el (org-babel-do-in-edit-buffer): New macro to evaluate lisp
23571         in the language major mode edit buffer.
23572         (org-babel-do-key-sequence-in-edit-buffer): New function to call
23573         an arbitrary key sequence in the language major mode edit buffer.
23575         * org-src.el (org-src-switch-to-buffer): Add new allowed value
23576         'switch-invisibly for `org-src-window-setup'.
23578 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23580         * org-src.el (ob-keys): Require ob-keys, because `org-babel-map'
23581         is used.
23582         (org-src-do-at-code-block): New macro to evaluate lisp with point
23583         at the start of the Org code block containing the code in this
23584         edit buffer.
23585         (org-src-do-key-sequence-at-code-block): New function to execute
23586         command bound to key at the Org code block containing the code in
23587         this edit buffer.
23589 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23591         * ob-R.el (org-babel-R-associate-session): New function to
23592         associate R code edit buffers with ESS comint session.
23594 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23596         * org-src.el (org-edit-src-code): If at src block, store babel
23597         info as buffer local variable.
23598         (org-src-associate-babel-session): New function to associate code
23599         edit buffer with comint session.  Does nothing unless a
23600         language-specific function named
23601         `org-babel-LANG-associate-session' exists.
23602         (org-src-babel-configure-edit-buffer): New function to be called
23603         in `org-src-mode-hook'.
23604         (org-src-mode-hook): Add `org-src-babel-configure-edit-buffer' to
23605         hook.
23607 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23609         * ob.el (org-babel-switch-to-session-with-code): New function to
23610         generate split frame displaying edit buffer and session.
23612 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23614         * org.el (org-set-tags): Consider org-indent-mode when computing
23615         the tags column.
23617 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23619         * org-compat.el (org-looking-at-p): Only use looking-at-p when
23620         defined.
23622 2010-11-11  David Maus  <dmaus@ictsoc.de>
23624         * org-agenda.el (org-finalize-agenda-entries): Delete excluded
23625         lines directly after call to sorting filter function.
23627 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23629         * org.el (org-complex-heading-regexp-format): Document the
23630         variable.
23631         (org-get-refile-targets): Use `org-complex-heading-regexp-format'
23632         to make the regular expression for matching the headline.
23634 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23636         * org.el (org-refile-check-position): New function.
23637         (org-goto):
23638         (org-refile-get-location): Call `org-refile-check-position'.
23640 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23642         * ob-python.el (org-babel-python-initiate-session-by-key): Use eq
23643         instead of equal to compare symbols.
23645 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23647         * org-agenda.el (org-agenda-before-sorting-filter-function):
23648         New hook function.
23649         (org-finalize-agenda-entries):
23650         Apply `org-agenda-before-sorting-filter-function'.
23652 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23654         * org-latex.el (org-export-latex-first-lines): Do not protect meta
23655         lines that have nothing to do with babel.
23657 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23659         * org-capture.el (org-capture-place-template): Handle the
23660         checkitem case.
23661         (org-capture-place-item): Provide boundaries for the search to
23662         make sure we do not get a match in a different tree.
23664 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23666         * org-exp.el (org-export-preprocess-apply-macros): Fix the macro
23667         argument parser.
23669 2010-11-11  Noorul Islam  <noorul@noorul.com>
23671         * org-latex.el (org-latex-to-pdf-process): Add output-directory
23672         option for the command pdflatex.
23673         (org-export-as-pdf): Respect directory in path of
23674         EXPORT_FILE_NAME.
23676 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23678         * org-exp.el (org-export-with-LaTeX-fragments): New default t,
23679         which now means to use MathJax processing for HTML.  Also allow
23680         new value `dvipng' to force the old image processing.
23681         (org-infile-export-plist): Parse for MATHJAX setup line.
23683         * org-html.el (org-export-html-mathjax-options): New option.
23684         (org-export-html-mathjax-config): New function.
23685         (org-export-html-mathjax-template): New option.
23686         (org-export-html-preprocess): Call the LaTeX snippet processor
23687         with an additional argument to declare special ways of processing.
23688         (org-export-as-html): Bind the dynamical variable
23689         `org-export-have-math'.  Insert the MathJax script template when
23690         it is needed by the document.
23692         * org.el (org-preview-latex-fragment): Call `org-format-latex'
23693         with the additional processing argument.
23694         (org-export-have-math): New variable, for dynamic scoping.
23695         (org-format-latex): Implement specific ways of processing.
23696         New function argument for processing type.
23697         (org-org-menu): Remove the entry to configure LaTeX snippet
23698         processing.
23700 2010-11-11  Bastien Guerry  <bzg@gnu.org>
23702         * org-agenda.el (org-agenda-clock-goto): Use `\C-c\C-x\C-j' for
23703         `org-clock-goto' and `J' for `org-agenda-clock-goto'.  If the
23704         heading currently clocked in is not listed in the agenda, display
23705         this entry in another buffer.  If there is no running clock,
23706         display a help message.
23708 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23710         * org-latex.el (org-export-latex-tables): Return "" instead of nil
23711         when no label is attached.
23713 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23715         * org-agenda.el (org-agenda-menu-show-match): New option.
23716         (org-agenda-menu-two-column): New option.
23717         (org-agenda-get-restriction-and-command): Implement dispatch menu
23718         without showing the matcher, and with two-column display.
23720 2010-11-11  Bernt Hansen  <bernt@norang.ca>
23722         * org-indent.el (org-indent-mode): Fix grammar for message when
23723         mode is refused.
23725 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23727         * ob.el (org-babel-insert-result): Ensures `beg' is set, even if
23728         no previous result exists.
23730 2010-11-11  Noorul Islam  <noorul@noorul.com>
23732         * ob.el Declare org-babel-lob-execute-maybe() to avoid compiler
23733         warning.
23735 2010-11-11  Noorul Islam  <noorul@noorul.com>
23737         * org.el (org-set-visibility-according-to-property): Use backward
23738         search instead of forward, so that top hierarchy gets priority.
23740 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23742         * org-agenda.el (org-timeline): Allow indirect buffer.
23744 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23746         * org-exp.el (org-export-preprocess-after-radio-targets-hook):
23747         (org-export-define-heading-targets-headline-hook): New hooks.
23749         * org.el (org-modules): Add entry for org-wikinodes.el.
23750         (org-font-lock-set-keywords-hook): New hook.
23751         (org-open-at-point-functions): New hook.
23752         (org-find-exact-headling-in-buffer):
23753         (org-find-exact-heading-in-directory): New functions.
23754         (org-mode-flyspell-verify): Better cursor position for checking if
23755         flyspell should ignore a word.
23757 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23759         * org-indent.el (org-indent-remove-properties):
23760         (org-indent-add-properties): Make sure changing these properties
23761         does not trigger modification hooks.
23763 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23765         * org.el (org-link-search-must-match-exact-headline): New option.
23766         (org-link-search-inhibit-query): New variable.
23767         (org-link-search): Search for exact headline match in Org files.
23769 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23771         * ob.el (org-babel-execute-src-block-maybe): Remove check for
23772         `org-babel-no-eval-on-ctrl-c-ctrl-c'; this is done in the new
23773         function `org-babel-execute-safely-maybe'.
23775 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23777         * ob.el (org-babel-load-in-session): Set directory in case :dir
23778         arg is in effect.
23780 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23782         * ob-tangle.el (org-babel-tangle-collect-blocks): Don't throw
23783         errors when we're not under of a headline.
23785 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23787         * ob-octave.el (org-babel-octave-wrapper-method): Use dlmwrite to
23788         write delimited text instead of save -ascii
23789         (org-babel-octave-import-elisp-from-file): Specify that data
23790         written to file is tab-delimited.
23792 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23794         * ob-R.el (org-babel-R-evaluate): Specify that tabular data is
23795         tab-delimited.
23797 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23799         * ob.el (org-babel-import-elisp-from-file): Allow separator to be
23800         specified.
23802 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23804         * ob-python.el (org-babel-python-table-or-string): Fix recognition
23805         of lists and tuples.
23807 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23809         * ob-octave.el (org-babel-octave-evaluate-external-process):
23810         Allow remote files.
23812 2010-11-11  Juan Pechiar  <pechiar@computer.org>
23814         * ob-octave.el (org-babel-octave-evaluate-external-process):
23815         Use `org-babel-octave-import-elisp-from-file' instead of
23816         `org-babel-eval-read-file'.
23817         (org-babel-octave-var-to-octave): Separate matrix rows with ';',
23818         and use '%s' as format specifier instead of '%S'.
23820 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23822         * ob-octave.el: Only (require 'matlab) when necessary.
23823         (org-babel-octave-initiate-session): (require) octave-inf or matlab
23824         as appropriate.
23825         (org-babel-execute:matlab): Remove (require).
23826         (org-babel-prep-session:matlab): Remove (require).
23827         (org-babel-matlab-initiate-session): Remove (require).
23829 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23831         * ob-octave.el (org-babel-octave-evaluate): Fix formal argument
23832         list.
23834 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23836         * ob-python.el (org-babel-python-table-or-string): Can now handle
23837         VERY long result lines.
23839 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23841         * org-latex.el (org-export-latex-tables): Add label if any.
23843         * org-latex.el (org-export-latex-convert-table.el-table):
23844         Fix little mistake when inserting label.
23846 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23848         * org.el (org-cycle-internal-local): Remove an unnecessary call
23849         to `org-back-to-heading' that was preventing point to stay at its
23850         column when cycling visibility.
23852 2010-11-11  Noorul Islam  <noorul@noorul.com>
23854         * org-capture.el (org-capture-finalize): Make messages consistent.
23856 2010-11-11  Noorul Islam  <noorul@noorul.com>
23858         * org-gnus.el: Suppress compiler warning by declaring outside
23859         function nnimap-retrieve-headers-from-file.
23861 2010-11-11  Noorul Islam  <noorul@noorul.com>
23863         * org-colview.el Use org-beamer-select-environment instead of
23864         org-beamer-set-environment-tag.
23866 2010-11-11  Matt Lundin  <mdl@imapmail.org>
23868         * org.el (org-insert-time-stamp): Fix org-insert-time-stamp so
23869         that the value of org-last-inserted-timestamp includes time range.
23871 2010-11-11  David Maus  <dmaus@ictsoc.de>
23873         * org-wl.el (org-wl-store-link-message): Provide link property for
23874         message-id without angle brackets.
23876 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23878         * ob-R.el (org-babel-R-evaluate): Improve prompt-stripping regexp.
23880 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23882         * ob-tangle.el (org-babel-find-file-noselect-refresh): Finds a
23883         file ensuing that the latest changes on disk are represented.
23885 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23887         * ob-sqlite.el (org-babel-sqlite-expand-vars): Now inserts string
23888         arguments w/o quotes.
23890 2010-11-11  Bernt Hansen  <bernt@norang.ca>
23892         * org-capture.el (org-capture-finalize): Fix clock in of
23893         interrupted task during capture finalize.
23895 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23897         * ob-R.el (org-babel-R-evaluate): Clean up extra prompts in
23898         session output.
23900 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23902         * ob-C.el (org-babel-C-ensure-main-wrap): More generous regular
23903         expression for matching main function.
23905 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23907         * ob-lob.el (org-babel-lob-one-liner-regexp): Fix error in lob
23908         regexp -- it wasn't matching lob lines w/o indices.
23910 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23912         * org-exp.el (org-export-latex-listings-w-names): Fix compiler
23913         warning in org-exp.el.
23915 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23917         * org-publish.el (org-publish-file): Better error message if
23918         base-directory or publishing-directory are not defined.
23920 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23922         * org-colview.el (org-columns-display-here): Use overlays to
23923         overrule line prefix properties during column view.
23925 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23927         * org-agenda.el (org-agenda-filter-preset): Document the
23928         limitation for the filter preset - it can only be used for an
23929         entire agenda view, not in an individual block in a block agenda.
23931 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23933         * ob-table.el (sbe): Now able to accept range references from
23934         tables.
23936 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23938         * ob.el (org-babel-pick-name): If colnames or rownames contain a
23939         list of names, then use those directly.
23941 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23943         * org-exp.el (org-export-format-source-code-or-example):
23944         Escape underscores in code block names on latex listings export.
23946 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23948         * ob-tangle.el (org-babel-with-temp-filebuffer):
23949         Use find-file-noselect to avoid excess buffer movement.
23951 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23953         * org-html.el (org-html-should-inline-p): Only inline images if
23954         they should be.
23956 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23958         * org-id.el (org-id-store-link): Autoload.
23960         * org.el ("org-id"): Autoload `org-id-store-link'.
23962 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23964         * org-html.el (org-html-should-inline-p): Only inline images if
23965         they should be.
23967 2010-11-11  Eric S Fraga  <e.fraga@ucl.ac.uk>
23969         * org-icalendar.el (org-icalendar-alarm-time): New option.
23971         * org-icalendar.el (org-print-icalendar-entries): Timed events are
23972         exported with alarm events, a.k.a. reminders.
23974 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23976         * org-capture.el (org-capture-target-buffer): Throw an error if we
23977         have no target file.
23978         (org-capture-select-template): Use a default template if the user
23979         has not specified any.
23981 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23983         * org.el (org-modules): Add entry for org-velocity.
23985 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23987         * ob-lob.el (org-babel-lob-execute): Changing indentation to
23988         improve line length.
23990 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23992         * org-exp.el (org-export-handle-table-metalines): Choose a better
23993         position for checking protectedness.
23995 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23997         * org-table.el (org-table-convert-region): Don't continue csv
23998         importation which the point catches the end, this fixes an
23999         infinite loop which was caused by the (point) never catching up
24000         with the "end" marker.
24002 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
24004         * org-macs.el (org-string-nw-p): New function.
24006         * org-capture.el (org-capture-import-remember-templates):
24007         Interpret an empty string as request to use
24008         `org-default-notes-file'.
24009         (org-capture-target-buffer): If the FILE is not a (non-empty)
24010         string, use `org-default-notes-file'.
24012 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
24014         * org-capture.el (org-capture-templates): Fix customize type.
24016 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
24018         * org.el (org-refile-targets):
24019         * org-agenda.el (org-agenda-hide-tags-regexp): Fix typos in docstrings.
24021 2010-08-19  Glenn Morris  <rgm@gnu.org>
24023         * org.el (org-outline-overlay-data, org-set-outline-overlay-data)
24024         (org-save-outline-visibility): Move to org-macs.
24025         * org-macs.el (org-outline-overlay-data, org-set-outline-overlay-data)
24026         (org-save-outline-visibility): Move here from org.el.
24027         (show-all): Autoload it.
24028         * ob.el: Don't require org when compiling.
24030 2010-08-18  Glenn Morris  <rgm@gnu.org>
24032         * ob.el: Require org when compiling.
24033         (org-save-outline-visibility): Remove macro declaration.
24034         * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
24035         Remove unnecessary/macro declarations.
24036         * org-docview.el: Require doc-view when compiling.
24037         (doc-view-goto-page): Autoload rather than declaring.
24038         (doc-view-current-page): Remove macro declaration.
24040 2010-08-17  Glenn Morris  <rgm@gnu.org>
24042         * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
24043         (org-entry-get, org-table-import): Fix declarations.
24044         (org-match-string-no-properties): Remove unnecessary declaration.
24045         * ob-sh.el (org-babel-comint-in-buffer)
24046         (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
24047         (org-babel-comint-with-output): Remove unnecessary declarations.
24048         * ob-R.el (orgtbl-to-tsv): Fix declaration.
24049         * org-list.el (org-entry-get): Fix declaration.
24051 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24053         * ob-C.el: New file.
24054         * ob-R.el: New file.
24055         * ob-asymptote.el: New file.
24056         * ob-clojure.el: New file.
24057         * ob-comint.el: New file.
24058         * ob-css.el: New file.
24059         * ob-ditaa.el: New file.
24060         * ob-dot.el: New file.
24061         * ob-emacs-lisp.el: New file.
24062         * ob-eval.el: New file.
24063         * ob-exp.el: New file.
24064         * ob-gnuplot.el: New file.
24065         * ob-haskell.el: New file.
24066         * ob-keys.el: New file.
24067         * ob-latex.el: New file.
24068         * ob-lob.el: New file.
24069         * ob-matlab.el: New file.
24070         * ob-mscgen.el: New file.
24071         * ob-ocaml.el: New file.
24072         * ob-octave.el: New file.
24073         * ob-perl.el: New file.
24074         * ob-python.el: New file.
24075         * ob-ref.el: New file.
24076         * ob-ruby.el: New file.
24077         * ob-sass.el: New file.
24078         * ob-screen.el: New file.
24079         * ob-sh.el: New file.
24080         * ob-sql.el: New file.
24081         * ob-sqlite.el: New file.
24082         * ob-table.el: New file.
24083         * ob-tangle.el: New file.
24084         * ob.el: New file.
24086 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24088         * org-mks.el: New file.
24089         * org-capture.el: New file.
24091 2010-07-19  Christian Egli  <christian.egli@sbszh.ch>
24093         * org-taskjuggler.el: New file.
24095 2010-07-19  Matt Lundin  <mdl@imapmail.org>
24097         * org-agenda.el (org-search-view): Fix inclusion of agenda-archives
24098         in org-agenda-text-search-extra-files.
24100 2010-07-19  David Maus  <dmaus@ictsoc.de>
24102         * org-list.el (org-list-send-list): Locally bind variable `txt'.
24104 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24106         * org.el (org-reload): Now also reloading babel files.
24108 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24110         * org-capture.el (org-capture-set-plist): Make sure txt is a string
24111         before calling `string-match'.
24112         (org-capture-templates): Fix customization type.
24114 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24116         * org-latex.el (org-export-latex-preprocess): Make a special case
24117         for \nbsp.
24118         (org-latex-entities): Remove the entry for \nbsp.
24119         (org-latex-entities-exceptions): Variable removed.
24121 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24123         * org-capture.el (org-capture-refile): Do not try to manipulate
24124         bookmark list.
24126         * org.el (org-refile): Use the correct bookmark here.
24128 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24130         * org-list.el (org-list-send-list): Parse list from its true beginning.
24132         * org.el (org-ctrl-c-ctrl-c): Maybe send the list when at a list item.
24134 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24136         * org.el (org-insert-link): Correctly determine if we should use
24137         a relative path.
24139 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24141         * org-list.el (org-list-radio-list-templates): Fix templates.
24143 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24145         * org-list.el (org-list-send-list): Regexp defining the start of
24146         a radio list is now on par with the one used for radio tables.
24148 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24150         * org-entities.el (org-entities-help): Add a headline for
24151         the user-defined entities.
24153 2010-07-19  Dirk-Jan C. Binnema  <djcb.bulk@gmail.com>  (tiny change)
24155         * org-agenda.el (org-agenda-action): Document capture key and add it
24156         to the prompt.
24158 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24160         * org-latex.el (org-export-latex-listings-langs): Add (sqlite "SQL").
24162 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24164         * org-latex.el (org-export-latex-first-lines): Do not mark
24165         meta lines for removal.  Do not remove BABEL config lines during export.
24167 2010-07-19  David Maus  <dmaus@ictsoc.de>
24169         * org-capture.el (org-capture): Check if
24170         `org-capture-link-is-already-stored' is bound before evaluating.
24172 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24174         * org.el: Add autoload for org-babel-do-load-languages.
24176 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24178         * org-src.el (org-src-lang-modes): Add sqlite to sql-mode.
24180 2010-07-19  David Maus  <dmaus@ictsoc.de>
24182         * org-feed.el: Change indentation to match coding style
24183         guideline.
24185 2010-07-19  David Maus  <dmaus@ictsoc.de>
24187         * org-feed.el (org-feed-unescape, org-feed-parse-atom-feed): Load XML
24188         library if necessary.
24190 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24192         * org-beamer.el (org-beamer-amend-header): Standardize the
24193         header cookie for the beamer extra stuff.
24195 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24197         * org-beamer.el (org-beamer-amend-header): Put extra header
24198         last in header.
24200 2010-07-19  David Maus  <dmaus@ictsoc.de>
24202         * org-exp-blocks.el (org-export-blocks-format-ditaa)
24203         (org-export-blocks-format-dot): Remove text properties of body before
24204         calculating cache hash.
24206 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24208         * org-latex.el (org-export-latex-tabular-environment): New option.
24209         (org-export-latex-tables): Use `org-export-latex-tabular-environment'.
24211 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24213         * org-compat.el (org-version-check): New function.
24215         * org-indent.el (org-indent-mode): Check for exact emacs version.
24217 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24219         * org-capture.el (org-capture-templates): Allow the template
24220         to come from a file or function call.
24221         (org-capture-place-entry): Get the template from file or function.
24223 2010-07-19  David Maus  <dmaus@ictsoc.de>
24225         * org-agenda.el (org-agenda-bulk-action): Don't create marker for
24226         position if target is entire file.
24228 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24230         * org.el (org-autoload): Autoload a few more org-table functions.
24232 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24234         * org.el (org-babel-load-languages): Add ob-mscgen.
24236 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24238         * org-latex.el (org-export-latex-tables): Format string now
24239         matches options.
24241 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24243         * org.el (org-babel-load-languages): This variable controls which
24244         languages will be loaded by org-babel.  It is customizable through
24245         the customize interface.
24247 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24249         * org-latex.el (org-export-latex-format-image): Update number of
24250         arguments to allow for an optional short-name.
24252 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24254         * org-indent.el (org-indent-mode): Refuse to turn on prior to Emacs 23.2.
24256 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24258         * org-capture.el (org-capture-set-target-location):
24259         Store exact positions for file+regexp and file+function targets.
24260         (org-capture-place-entry, org-capture-place-item)
24261         (org-capture-place-table-line, org-capture-place-plain-text):
24262         Respect exact positions.
24263         (org-capture-finalize): Make sure we are at the beginning of a line
24264         when fixing the empty lines after the entry.
24266 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24268         * org.el (org-entry-get-with-inheritance): New argument LITERAL-NIL.
24269         (org-entry-get): Pass `literal-nil' into
24270         `org-entry-get-with-inheritance'.
24271         (org-todo): React to nil values of the LOGGING property.
24273 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24275         * org.el (org-default-notes-file): Update docstring.
24277 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24279         * org.el (org-link-frame-setup): Use `org-gnus-no-new-news' as default.
24281 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24283         * org-exp.el (org-export-attach-captions-and-attributes):
24284         Add a shortname attribute to caption strings under the symbol name
24285         org-caption-shortn.
24287 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24289         * org.el (org-switchb): Rename from `org-iswitchb'.
24290         Improve docstring.
24291         (org-iswitchb): New alias.
24292         (org-ido-switchb): Make alias point to `org-switchb'.
24294 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24296         * org-capture.el (org-capture-fill-template):
24297         Respect time-of-day preference in template prompt.
24299 2010-07-19  David Maus  <dmaus@ictsoc.de>
24301         * org-feed.el (org-feed-unescape): Remove superfluous lambda.
24303 2010-07-19  David Maus  <dmaus@ictsoc.de>
24305         * org-wl.el (org-wl-disable-folder-check): New customization
24306         variable.
24307         (org-wl-open): Disable folder check depending on
24308         `org-wl-disable-folder-check'.
24310 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24312         * org-capture.el (org-capture-set-target-location):
24313         Fix file+function interpretation.
24315 2010-07-19  David Maus  <dmaus@ictsoc.de>
24317         * org-feed.el (org-feed-parse-rss-entry): Unescape rss element
24318         content.
24320 2010-07-19  David Maus  <dmaus@ictsoc.de>
24322         * org-feed.el (xml-entity-alist): Declare variable
24323         `xml-entity-alist' for byte compiler.
24325 2010-07-19  David Maus  <dmaus@ictsoc.de>
24327         * org-feed.el (org-feed-unescape): New function.
24328         Unescape protected entities.
24329         (org-feed-parse-atom-entry): Use function for atom:content
24330         type text and html.
24332 2010-07-19  David Maus  <dmaus@ictsoc.de>
24334         * org-feed.el (org-feed-parse-rss-feed): Ignore case of rss
24335         element names.
24337 2010-07-19  Bernt Hansen  <bernt@norang.ca>
24339         * org.el (org-time-string-to-absolute): Ignore cyclic repeater
24340         when displaying items on todays agenda date.
24342 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24344         * org-agenda.el (org-agenda-get-progress): Avoid reusing previous
24345         value of EXTRA.
24347 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24349         * org-publish.el (org-publish-initialize-cache):
24350         Make timestamp directory, the entire path to it.
24352 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24354         * org-exp.el (org-export-handle-comments): Make sure to check
24355         for protection in the comment line, and not in the line after it.
24357 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24359         * org-html.el (org-export-html-preprocess): Call org-format-latex,
24360         possibly with a protect-only argument.
24362         * org.el (org-format-latex): New argument PROTECT-ONLY.
24364 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24366         * org-exp.el (org-export-handle-table-metalines): This function
24367         removes table specific meta-lines, now that we aren't wiping
24368         everything that looks remotely like a comment at the end of the
24369         export process we have to be sure to catch all of the specific lines
24370         in org-exp.el.
24372 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24374         * org-exp.el (org-export-select-backend-specific-text): Properly
24375         get rid of #+Backend and #+ATTR_Backend specifics to backends not
24376         matching the one we're exporting to.
24378 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24380         * org-table.el (orgtbl-to-generic): Add the :remove-newlines
24381         option which will strip newline characters from the text of table
24382         cells and replace then with "\n".
24384 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24386         * org.el (org-confirm-shell-link-function)
24387         (org-confirm-elisp-link-function): Limit the values that can be set by
24388         file variables.
24390 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24392         * org.el (org-compute-latex-and-specials-regexp): Deal with
24393         string elements by discarding them.
24395 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24397         * org.el (org-iswitchb): Make sure to use at least iswitchb.
24399 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24401         * org-capture.el (org-capture-position-for-last-stored)
24402         (org-capture-bookmark-last-stored-position): New functions.
24403         (org-capture-place-table-line): Better error catching.
24404         (org-capture-place-item, org-capture-place-entry)
24405         (org-capture-place-plain-text):
24406         Call `org-capture-position-for-last-stored'.
24407         (org-capture-finalize): Just call
24408         `org-capture-bookmark-last-stored-position'.
24410 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24412         * org-exp.el (org-export-mark-blockquote-verse-center):
24413         Fix small bug, now grabbing match data before overwritten by looking-at
24414         this fixes a problem with remainders of #+end_quote lines appearing
24415         in exported output.
24417 2010-07-19  David Maus  <dmaus@ictsoc.de>
24419         * org.el (org-link-frame-setup): Add customization option for
24420         Wanderlust.
24422 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24424         * org-latex.el (org-export-latex-fixed-width): Now check
24425         org-example rather than org-protected on verbatim export, because by
24426         default all ": " prefixed lines are marked protected.
24428 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24430         * org-latex.el (org-export-latex-fixed-width): Check for
24431         protection before wrapping ": " lines as verbatim.
24433 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24435         * org-exp.el (org-export-handle-comments): Check for protection
24436         before removing comments.
24438 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24440         * org-entities.el (org-entities): Restructure the list.
24441         (org-entities-help): Turn the help output into a buffer
24442         in Org-mode, so that it becomes easier to find a symbol
24443         in the structure.
24444         (org-entities-create-table): Deal with new structure.
24446 2010-07-19  David Maus  <dmaus@ictsoc.de>
24448         * org-agenda.el (org-write-agenda): Use backquotes to expand
24449         `flet' at compile time.
24451 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24453         * org.el (org-entry-properties): Make sure that standard property
24454         names are used even if the user has customized time keywords.
24456 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24458         * org-macs.el (org-not-nil): Return the value if not interpreted
24459         as nil.
24461         * org.el (org-entry-get)
24462         (org-entry-get-with-inheritance): Interpret the value "nil"
24463         as nil for properties.
24465 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24467         * org.el (org-switch-to-buffer-other-window): Return the buffer.
24469 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24471         * org-macs.el (org-not-nil): New function.
24473         * org.el (org-block-todo-from-children-or-siblings-or-parent):
24474         Use `org-not-nil' to interpret a property value of nil.
24476 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24478         * org.el (org-truely-invisible-p): New function.
24479         (org-beginning-of-line): Use `org-truely-invisible-p'.
24481 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24483         * org-agenda.el (org-agenda-get-timestamps): No errors
24484         while getting TODO state.
24485         (org-agenda-highlight-todo): No error when no keyword has
24486         been matched.
24488 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24490         * org.el (org-timestamp-change): New optional argument UPDOWN.
24491         Use this to identify calls from org-timestamp-up/down, so that we can
24492         skip by rounding minutes in this case.
24493         (org-timestamp-up, org-timestamp-down, org-timestamp-up-day)
24494         (org-timestamp-down-day): Call org-timestamp-change with the
24495         updown argument.
24497 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24499         * org-agenda.el (org-agenda-action): Make `c' key call org-capture.
24501         * org-capture.el: New file.
24503         * org-compat.el (org-get-x-clipboard): Function moved here from
24504         remember.el.
24506         * org-mks.el: New file.
24508         * org.el (org-set-regexps-and-options): Allow statistic cookies as
24509         part of complex headlines.
24510         (org-find-olp): New argument THIS-BUFFER.  When set, assume that the
24511         OLP does not contain a file name.
24513 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24515         * org.el (org-mode): Set `comment-start' instead of changing the
24516         syntax of the `#' character.
24518 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24520         * org-exp.el (org-export-format-source-code-or-example): Mark examples
24521         by a property.
24523         * org-html.el (org-export-html-close-lists-maybe): Check if raw
24524         HTML stuff was actually made from an example.
24526 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24528         * org-latex.el: Items are no longer skipped when their first line
24529         ends on a protected element.
24531         * org-list.el: Protected environments looking like lists are not
24532         exported anymore.
24534 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24536         * org-exp-blocks.el (org-export-blocks-preprocess):
24537         Cleanup trailing newline after block.
24539 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24541         * org-exp.el: Comment regexp now matches documentation.  No more
24542         protection check when deleting comments before export.
24544 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24546         * org-exp.el (org-export-preprocess-string):
24547         Now using `org-export-handle-include-files-recurse' to resolve
24548         included files.
24550 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24552         * org-agenda.el (org-agenda-get-deadlines)
24553         (org-agenda-get-scheduled):
24554         * org.el (org-time-string-to-seconds):
24555         For deadline and scheduled agenda display ignore the cyclic repeater
24556         when calculating how many days late the task is.  If you have a weekly
24557         task and miss the date the agenda view will show more than a week late
24558         now instead of resetting on the cyclic repeating date.  This makes it
24559         much more obvious when you missed a repeating task after the repeater.
24561 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24563         * org-exp.el (org-export-mark-blockquote-verse-center):
24564         Consider environments that end at eob.
24566 2010-07-19  Mikael Fornius  <mfo@abc.se>
24568         * org.el (org-raise-scripts): Do not fontify sub/superscripts of text
24569         with face `org-special-keyword'.  Make property keys as :LAST_REPEAT:
24570         display correctly.
24572 2010-07-19  Mikael Fornius  <mfo@abc.se>
24574         * org.el (org-at-property-p): Use save-match-data macro instead of let.
24576 2010-07-19  Mikael Fornius  <mfo@abc.se>
24578         * org.el (test): Remove unused test function.
24580 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24582         * org-exp-blocks.el (org-export-blocks-preprocess): Fix typo.
24584 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24586         * org-exp-blocks.el (org-export-blocks-postblock-hook):
24587         Add documentation to and turn into a defcustom.
24589 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24591         * org-exp.el (org-get-file-contents): By un-setting prefix1 to ""
24592         instead of to nil we avoid errors when :prefix1 is defined, but
24593         prefix is not.
24595 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24597         * org-latex.el (org-export-latex-preprocess): Environments coming
24598         from latex backend specific instructions (#+LaTeX) are already
24599         protected and won't be treated as normal environments.
24601 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24603         * org-timer.el (org-timer-set-timer): Fix typo in the docstring.
24605 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24607         * org-timer.el (org-timer-set-timer): Use a prefix argument.
24608         See the docstring of the function.
24610 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24612         * org-timer.el (org-timer-set-timer): Fix bug about canceling
24613         timers.
24615 2010-07-19  David Maus  <dmaus@ictsoc.de>
24617         * org-w3m.el (org-w3m-copy-for-org-mode)
24618         (org-w3m-get-next-link-start, org-w3m-get-prev-link-start):
24619         Get text property directly, not using macro `w3m-anchor'.
24621 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24623         * org.el (org-emph-re): Document the match groups.
24625 2010-07-19  Bernt Hansen  <bernt@norang.ca>
24627         * org-clock.el (org-clock-in): Set `org-clock-clocking-in' to
24628         t before calling `org-clock-out', so that that function can
24629         know its call context.
24631 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24633         * org-timer.el (org-timer-default-timer): New variable.
24634         (org-timer-set-timer): Use the new variable.  Also offer the
24635         possibility to replace the current timer by a new one.
24637 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24639         * org.el (org-kill-note-or-show-branches): Hide subtree before
24640         exposing the headings.
24642 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24644         * org.el (org-add-planning-info): Remove the empty line also
24645         if there is no whitespace at all in there.
24647         * org-table.el (org-table-align): Fix alignment of strings
24648         with invisible characters.
24650 2010-07-19  David Maus  <dmaus@ictsoc.de>
24652         * org.el (org-refile-cache-get): Return empty list of targets
24653         when cache was cleared.
24654         (org-clone-subtree-with-time-shift): Maybe create ID property
24655         in cloned subtrees.
24656         (org-clone-delete-id): New customization variable.
24657         (org-clone-subtree-with-time-shift): Use customization
24658         variable `org-clone-delete-id'.
24659         (org-clone-subtree-with-time-shift): Remove empty property
24660         drawer in cloned subtrees.
24662 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24664         * org.el (org-refile-use-cache): New option.
24665         (org-refile-cache, org-refile-markers): New variable.
24666         (org-refile-marker, org-refile-cache-clear)
24667         (org-refile-cache-check-set, org-refile-cache-put)
24668         (org-refile-cache-get): New function.
24669         (org-get-refile-targets): Use the refile cache.
24671         * org-clock.el (org-clock-sum): Don't include running clock if
24672         the time block is wrong.
24674 2010-07-19  John Wiegley  <jwiegley@gmail.com>
24676         * org-clock.el (org-clock-clock-in, org-clock-in):
24677         Add parameter `start-time'.
24678         (org-clock-resolve-clock): Add parameter `clock-out-time'.
24679         If set, and resolve-to is a past time, then the clock out
24680         event occurs at `clock-out-time' rather than at `resolve-to'.
24681         In this case, `resolve-to' becomes the clock in time.
24682         (org-clock-jump-to-current-clock): Create new global command
24683         to reveal the current clock.
24684         (org-clock-resolve): Add new commands g/G and j/J, and a
24685         help window describing all commands and their meaning.
24686         (org-clock-resolve-expert): New customization variable.
24687         (org-find-open-clocks): Fix a bug that caused discovered
24688         clocks not to match up with the currently active clock.
24689         (org-resolve-clocks): Change the argument
24690         `also-non-dangling-p' to `only-dangling-p', since due to a bug
24691         this was the default behavior all along.
24693 2010-07-19  David Maus  <dmaus@ictsoc.de>
24695         * org-id.el (org-id-uuid): New function.  Return string with
24696         random (version 4) UUID.
24697         (org-id-method): Make 'uuid the new default value.
24698         (org-id-new): Use `org-id-uuid' if call to uuidgen program
24699         does not return a UUID.
24701 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24703         * org-latex.el (org-export-latex-format-image): Add support
24704         for multicolumn figures in LaTeX.
24706 2010-07-19  David Maus  <dmaus@ictsoc.de>
24708         * org.el (org-clone-subtree-with-time-shift): Remove ID
24709         property of original subtree in cloned subtrees.
24711 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24713         * org-exp.el (org-export-format-source-code-or-example):
24714         XEmacs compatibility.
24716         * org-latex.el (org-export-latex-tables): Accept comma in
24717         align string.
24719         * org-docbook.el (org-export-docbook-xslt-stylesheet): New option.
24720         (org-export-docbook-xslt-proc-command): Fix docstring.
24721         (org-export-docbook-xsl-fo-proc-command): Fix docstring.
24722         (org-export-as-docbook-pdf):
24723         Improve formatting of the xslt command.
24725         * org-exp.el (org-infile-export-plist): Check for XSLT setting.
24727         * org.el (org-file-contents): Improve error message.
24728         (org-set-regexps-and-options): Remove spaces at both ends.
24730 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24732         * org-docbook.el (org-export-as-docbook-pdf):
24733         Improve formatting of the xslt command.
24735 2010-07-19  Sebastian Rose  <sebastian_rose@gmx.de>
24737         * org-publish.el (org-publish-cache): Use one big hashmap for
24738         each project defined in `org-publish-project-alist'.
24739         (initialize-files-alist): Function removed.
24740         (org-publish-validate-link): Function removed.
24741         (org-publish-get-base-files): Add variable `sitemap-requested'
24742         to avoid sorting where possible.
24743         (org-publish-get-files): Function removed.
24744         (org-publish-get-project-from-filename): Make independent of
24745         file list.
24746         (org-publish-file): New argument NO-CACHE.
24748 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24750         * org.el (org-beginning-of-defun, org-end-of-defun):
24751         New functions.
24752         (org-mode): Install the `org-beginning-of-defun' and
24753         `org-end-of-defun' functions.
24754         (org-pretty-entities): New option.
24755         (org-toggle-pretty-entities): New command.
24756         (org-fontify-entities): New function.
24757         (org-startup-options): New keywords for pretty entities.
24758         (org-set-font-lock-defaults): Call the pretty entities
24759         function.
24761         * org-latex.el (org-export-latex-keywords-maybe): Protect the
24762         TODO markup.
24764 2010-07-19  Mikael Fornius  <mfo@abc.se>
24766         * org-habit.el (org-habit-build-graph): Help-echo date when
24767         mouse is over stars.
24769 2010-07-19  Jan Böcker  <jan.boecker@jboecker.de>
24771         * org.el (org-file-apps): Improve docstring to reflect
24772         grouping matches.
24774 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24776         * org.el (org-set-startup-visibility): Fix empty line display.
24778         * org-latex.el (org-export-latex-links): Use the formatting
24779         function of the link type, if it is available.
24781         * org-table.el (org-table-get-remote-range): Return to
24782         original buffer when retrieving remote reference.
24784         * org.el (org-display-inline-images): Do the entire buffer,
24785         not just the narrowed region.  Clear the cache.
24786         (org-display-inline-images): Match mode file paths.
24788 2010-07-19  David Maus  <dmaus@ictsoc.de>
24790         * org-wl.el (org-wl-store-link-folder): Don't throw error when
24791         called on WL folder group.
24793 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24795         * org.el (org-replace-escapes): Make sure the cdr is not nil.
24796         (org-read-date): Make `M-v' and `C-v' scroll the popup calendar.
24797         (org-mode): Revert comment syntax changes.
24799 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24801         * org.el (org-sparse-tree): Make `C-c / t' search for all TODO
24802         keywords, and `C-c / T' for a specific one.
24804 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24806         * org.el (org-mode): Fix comment syntax settings.
24808         * org-src.el (org-edit-src-allow-write-back-p):
24809         Define variable.
24811         * org.el (org-inline-image-overlays): New variable.
24812         (org-toggle-inline-images, org-display-inline-images)
24813         (org-remove-inline-images): New commands.
24814         (org-mode-map): Define a key for `org-toggle-inline-images'.
24816 2010-07-19  David Maus  <dmaus@ictsoc.de>
24818         * org-wl.el (org-wl-message-field): New function.
24819         Return content of header field in message entity.
24820         (org-wl-store-link): Call `org-wl-store-link-folder' or
24821         `org-wl-store-link-message' depending on major-mode.
24822         (org-wl-store-link-folder): New function.  Store link to
24823         Wanderlust folder.
24824         (org-wl-store-link-message): New function.  Store link to
24825         Wanderlust message.
24826         (org-wl-store-link-message): Store link to message while
24827         visiting message.
24828         (org-wl-open): Don't try to jump to message when opening a
24829         folder link.
24831 2010-07-19  David Maus  <dmaus@ictsoc.de>
24833         * org.el (org-replace-escapes): Avoid infinite loop when
24834         replace string contains escape sequence it replaces.
24836 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24838         * org-crypt.el (org-crypt-key-for-heading): Use symmetric
24839         encryption when now key is set.
24841 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24843         * org-table.el (org-table-recalculate-buffer-tables)
24844         (org-table-iterate-buffer-tables): New commands.
24846         * org.el (org-check-for-hidden): When there is a region, skip
24847         the check.
24849 2010-07-19  Dan Davison  <davison@stats.ox.ac.uk>
24851         * org-src.el (org-edit-src-code): allow-write-back-p had
24852         erroneously been omitted from let binding.
24854 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24856         * org-agenda.el (org-sorting-choice): New sorting type alpha.
24857         (org-cmp-alpha): New defsubst.
24858         (org-em): New defsubst.
24859         (org-entries-lessp): Only compute needed comparisons.
24861 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24863         * org-html.el (org-format-org-table-html): Test all columns
24864         for number content.
24866 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24868         * org-latex.el (org-export-latex-treat-sub-super-char):
24869         Make sure parenthesis matching is consistent.
24871         * org-table.el (org-table-colgroup-line-p)
24872         (org-table-cookie-line-p): New functions.
24874         * org-exp.el (org-table-clean-before-export): Better tests for
24875         colgroup and cookie lines.
24877 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24879         * org-agenda.el (org-agenda-goto): Push a mark before changing
24880         the position.
24882         * org-footnote.el (org-footnote): New group.
24883         (org-footnote-section)
24884         (org-footnote-tag-for-non-org-mode-files): Fix typos.
24886         * org-list.el (org-end-of-item-text-before-children): Also do
24887         the right thing at the end of a file.
24889         * org.el (org-set-packages-alist, org-get-packages-alist):
24890         New function.
24891         (org-export-latex-default-packages-alist)
24892         (org-export-latex-packages-alist): Add extra flag to
24893         each package, indicating if it should be used for snippets.
24894         (org-create-formula-image): Add the snippet argument.
24895         (org-splice-latex-header): New argument SNIPPET-P, pass it
24896         through to `org-latex-packages-to-string'.
24897         (org-latex-packages-to-string): New argument SNIPPET-P.
24899         * org-latex.el (org-export-latex-make-header): Add the snippet
24900         argument.
24902         * org-docbook.el (org-export-as-docbook): Implement ordered
24903         lists starting at some offset.
24905 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24907         * org.el (org-link-types, org-open-at-point): Add doi links.
24909         * org-ascii.el (org-export-ascii-preprocess): Remove list
24910         startcounter cookies.
24912         * org-list.el (org-renumber-ordered-list): Respect counter
24913         start values.
24915         * org-latex.el (org-export-latex-lists): Accept ordered list
24916         item offset cookie.
24918         * org-html.el (org-export-as-html): Accept ordered list
24919         item offset cookie.
24921         * org-indent.el (org-indent-mode): Turn off `indent-tabs-mode'
24922         which messes up alignment of tags.
24924 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24926         * org-clock.el (org-clock-cancel, org-clock-out): Make sure
24927         the modeline display is removed.
24929         * org-exp.el (org-export-format-drawer-function):
24930         Fix docstring.
24932         * org-agenda.el (org-agenda-refile): New optional argument
24933         NO-UPDATE.
24934         (org-agenda-refile): Call `org-agenda-redo' unless NO-UPDATE
24935         is set.
24936         (org-agenda-bulk-action): Call the refile command with updates
24937         suppressed - but arrange for `org-agenda-redo' to be called at
24938         the end.
24940         * org.el (org-mode): Make table mapping quiet.
24941         (org-table-map-tables): New optional argument QUIETLY.
24943         * org-ascii.el (org-export-ascii-preprocess): Make table
24944         mapping quiet.
24946         * org-html.el (org-export-as-html, org-html-level-start):
24947         Change XHTML IDs to not use dots.
24949         * org-exp.el (org-export-define-heading-targets):
24950         Change XHTML IDs to not use dots.
24952         * org-docbook.el (org-export-docbook-level-start):
24953         Change XHTML IDs to not use dots.
24955         * org-latex.el (org-export-as-latex): Make sure that the
24956         result buffer is in latex-mode.
24958         * org.el (org-shiftup-final-hook, org-shiftdown-final-hook)
24959         (org-shiftleft-final-hook, org-shiftright-final-hook):
24960         New hooks.
24962 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24964         * org-table.el (org-table-justify-field-maybe): Make sure that
24965         inserting a value does not turn a line into a hline.
24967 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24969         * org-clock.el (org-clock-sum): New argument HEADLINE-FILTER.
24970         (org-clock-sum): Add property to selected headlines.
24971         (org-dblock-write:clocktable): Make tags matcher.
24973         * org.el (org-set-autofill-regexps): XEmacs compatibility.
24975         * org-latex.el (org-export-latex-set-initial-vars): Allow "-"
24976         in latex class definitions.
24978         * org.el (org-shiftup-hook, org-shiftdown-hook)
24979         (org-shiftleft-hook, org-shiftright-hook): New hooks.
24981         * org-entities.el (org-entities): Use \land and \lor for logical
24982         operators.
24984         * org.el (org-shiftmetaleft, org-shiftmetaright): Call the subtree
24985         indentation commands.
24986         (org-hidden-tree-error): New defsubst.
24987         (org-metaleft, org-metaright): Check for hidden stuff and throw an
24988         error.
24989         (org-check-for-hidden): New function.
24991         * org-list.el (org-item-re): New function.
24992         (org-at-item-p): Use `org-item-re'.
24993         (org-end-of-item-text-before-children): New function.
24994         (org-outdent-item, org-indent-item): Arrange for leaving the
24995         subtree alone.
24996         (org-outdent-item-tree, org-indent-item-tree): New argument
24997         NO-SUBTREE.
24998         (org-indent-item-tree): Use `org-end-of-item-text-before-children'
24999         to find the end for processing while ignoring the subtree.
25001         * org-publish.el (org-publish-sitemap-sort-alphabetically)
25002         (org-publish-sitemap-sort-folders)
25003         (org-publish-sitemap-sort-ignore-case): New options.
25005 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25007         * org-publish.el (org-publish-compare-directory-files): Fix sorting.
25009         * org-compat.el (org-get-x-clipboard-compat): Use (featurep 'xemacs).
25011         * org-publish.el (org-publish-project-alist): Update docstring.
25012         (org-publish-file-title-cache): New variable.
25013         (org-publish-initialize-files-alist):
25014         Initialize `org-publish-initialize-files-alist' to nil.
25015         (org-publish-sort-directory-files): New function.
25016         (org-publish-projects): Access the new properties.
25017         (org-publish-find-title): Use the file title cache.
25018         (org-publish-find-title): Build the file title cache.
25019         (org-publish-get-base-files-1): Sort files.
25020         (org-publish-aux-preprocess): Do not throw an error when before
25021         the first headline.  Allow an empty target, meaning to link just
25022         to the file.
25023         (org-publish-index-generate-theindex.inc): Check if there is
25024         actually a target and only then add it to the link.
25025         (org-publish-projects): Fix a remaining issue with the last commit.
25027         * org-html.el (org-export-as-html): Treat verse as open/close
25028         paragraph.
25029         (org-export-html-close-lists-maybe): Allow to splice raw HTML into
25030         and out of lists.
25032 2010-07-19  Dan Davison  <davison@stats.ox.ac.uk>
25034         * org-src.el (org-edit-src-code): Allow the org-src edit buffer to
25035         be used in a read-only mode.
25036         (org-edit-src-code): Different message in read-only mode.
25038 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25040         * org-src.el (org-edit-src-find-region-and-lang): Test for
25041         table.el as late as possible.
25043         * org-colview.el: Make sure this file is never loaded into XEmacs.
25045         * org-agenda.el (org-highlight, org-unhighlight): Use direct
25046         overlay calls.
25048         * org.el (org-key): Apply the translations defined in
25049         `org-xemacs-key-equivalents'.
25051         * org-mouse.el (org-mode-hook): Use `org-defkey'.
25053         * org-compat.el (org-xemacs-key-equivalents): New constant.
25055 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25057         * org-inlinetask.el (org-inlinetask-defaut-state): New option.
25058         (org-inlinetask-insert-task): Use `org-inlinetask-defaut-state'.
25059         Obey `org-odd-levels-only'.
25061         * org-compat.el (org-find-overlays): Use overlays-in/at.
25063         * org.el (org-remove-empty-overlays-at)
25064         (org-outline-overlay-data, org-hide-block-toggle)
25065         (org-format-latex, org-context): Use overlays-in/at.
25067         * org-src.el (org-edit-src-exit): Use overlays-in/at.
25069         * org-agenda.el (org-agenda-mark-clocking-task)
25070         (org-agenda-fontify-priorities, org-agenda-dim-blocked-tasks)
25071         (org-agenda-entry-text-hide)
25072         (org-agenda-fix-tags-filter-overlays-at)
25073         (org-agenda-bulk-remove-overlays): Use overlays-in/at.
25075         * org-compat.el (org-overlays-at): Function removed.
25076         (org-overlays-in): Function removed.
25078 2010-07-19  Bastien Guerry  <bzg@gnu.org>
25080         * org-clock.el (org-clock-set-current): Just return the headline
25081         itself, strip the TODO keyword, the priority cookie and the tags.
25083 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25085         * org-compat.el (org-xemacs-without-invisibility): New macro.
25086         (org-xemacs-without-invisibility): New macro.
25087         (org-indent-to-column, org-indent-line-to, org-move-to-column):
25088         Redefine using the macro `org-xemacs-without-invisibility'.
25090         * org.el (org-mode, org-org-menu): Use `add-to-invisibility-spec'.
25092         * org-table.el (orgtbl-mode): Use `add-to-invisibility-spec'.
25094         * org-compat.el (org-make-overlay, org-delete-overlay)
25095         (org-overlay-start, org-overlay-end, org-overlay-put)
25096         (org-overlay-get, org-overlay-move, org-overlay-buffer):
25097         Functions removed.
25098         (org-add-to-invisibility-spec): Function removed.
25100         * org-html.el (org-export-as-html-and-open): Add argument to
25101         kill-buffer.
25103         * org-habit.el (require): `calendar' is now required already by
25104         org.el on top level.
25106         * org-clock.el (require): `calendar' is now required already by
25107         org.el on top level.
25109         * org-agenda.el (require, org-timeline, org-agenda-list)
25110         (org-todo-list, org-agenda-to-appt): `calendar' is now required
25111         already by org.el on top level.
25113         * org.el (org-export-latex-fix-inputenc): Declare function.
25115         * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
25116         variables.
25118         * org.el (calendar): Require calendar now on top level in org.el
25119         and define aliases to new variables when needed.
25120         (org-read-date, org-goto-calendar): Do not bind obsolete
25121         variables.
25123         * org-clock.el (org-clock-out, org-clock-cancel): Get rid of
25124         compilation warning, add comment that this cannot be done with
25125         `with-current-buffer'.
25127         * org-wl.el (org-wl-open): Use `with-current-buffer'.
25129         * org.el (overlay, org-remove-empty-overlays-at)
25130         (org-outline-overlay-data, org-set-outline-overlay-data)
25131         (org-show-block-all, org-hide-block-toggle)
25132         (org-highlight-new-match, org-remove-occur-highlights)
25133         (org-tags-overlay, org-fast-tag-selection, org-date-ovl)
25134         (org-read-date, org-read-date-display, org-eval-in-calendar)
25135         (org-format-latex, org-context)
25136         (org-speedbar-restriction-lock-overlay)
25137         (org-speedbar-set-agenda-restriction): Use the normal overlay API.
25139         * org-table.el (org-table-add-rectangle-overlay)
25140         (org-table-remove-rectangle-highlight)
25141         (org-table-overlay-coordinates)
25142         (org-table-toggle-coordinate-overlays): Use the normal overlay
25143         API.
25145         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
25146         (org-edit-src-exit, org-src-mode-configure-edit-buffer): Use the
25147         normal overlay API.
25149         * org-colview.el (org-columns-new-overlay)
25150         (org-columns-display-here, org-columns-remove-overlays)
25151         (org-columns-edit-value, org-columns-next-allowed-value)
25152         (org-columns-update): Use the normal overlay API.
25154         * org-clock.el (org-clock-out, org-clock-cancel)
25155         (org-clock-put-overlay, org-clock-remove-overlays): Use the normal
25156         overlay API.
25158         * org-agenda.el (org-agenda-mark-filtered-text)
25159         (org-agenda-mark-clocking-task, org-agenda-fontify-priorities)
25160         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
25161         (org-agenda-entry-text-hide)
25162         (org-agenda-restriction-lock-overlay)
25163         (org-agenda-set-restriction-lock)
25164         (org-agenda-filter-by-tag-hide-line)
25165         (org-agenda-fix-tags-filter-overlays-at)
25166         (org-agenda-filter-by-tag-show-all, org-hl)
25167         (org-agenda-goto-calendar, org-agenda-bulk-mark)
25168         (org-agenda-bulk-remove-overlays): Use the normal overlay API.
25170         * org-freemind.el (org-freemind-from-org-mode-node)
25171         (org-freemind-from-org-mode)
25172         (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
25173         Use interactive-p instead of called-interactively, because this is
25174         backward compatible with older Emacsen I still support..
25176 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25178         * org-exp.el (org-export-define-heading-targets): Fix bug in
25179         regexp finding ID and CUSTOM_ID properties.
25181 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25183         * org-footnote.el (org-footnote-goto-previous-reference):
25184         Rename from `org-footnote-goto-next-reference'.
25186         * org.el (org-auto-repeat-maybe): Only record LAST_REPEAT if
25187         org-log-repeat is non-nil, or if there is clocking data in the
25188         entry.
25190         * org-crypt.el (org-encrypt-entry): Improve mapping behavior.
25192 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25194         * org.el (org-align-all-tags): New command.
25196 2010-07-19  David Maus  <dmaus@ictsoc.de>
25198         * org-wl.el (org-wl-link-remove-filter): New customizable
25199         variable.  If non-nil, filter conditions are stripped when storing
25200         link to message in filter folder.
25201         (org-wl-shimbun-prefer-web-links): New customizable variable.
25202         If non-nil, links to shimbun messages are created as web links to
25203         message source.
25204         (org-wl-nntp-prefer-web-links): New customizable variable.
25205         If non-nil, links to nntp message are created as web links to gmane
25206         or googlegroups.
25207         (org-wl-namazu-default-index): New customizable variable.
25208         Directory of namazu search index that should be used as default
25209         when opening a link in a search folder.
25210         (org-wl-folder-types): New constant.  Wanderlust folder type
25211         indicators.
25212         (org-wl-folder-type): New function.  Return type of Wanderlust
25213         folder.
25214         (org-wl-store-link): Create web links for shimbun or nntp messages
25215         and strip filter conditions depending on customizable variables.
25216         (org-wl-open): Open namazu search folder for message when called
25217         with prefix.
25219 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25221         * org.el (org-remove-if, org-remove-if-not): New functions.
25222         (org-open-file): Use internal remove-if functions.
25224 2010-07-19  Jan Böcker  <jan.boecker@jboecker.de>
25226         * org.el (org-file-apps-entry-match-against-dlink-p): New function.
25227         (org-file-apps-ex): Remove variable.
25228         (org-open-file): Integrate org-file-apps-ex functionality back
25229         into org-file-apps, and decide whether to match a regexp against
25230         the link or the filename using org-file-apps-entry-uses-grouping-p.
25232 2010-07-19  Jan Böcker  <jan.boecker@jboecker.de>
25234         * org.el (org-file-apps-ex): New variable.
25235         (org-open-file): Before considering org-file-apps, first match the
25236         regexps from org-file-apps-ex against the whole link.
25237         See docstring of org-file-apps-ex.
25239 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25241         * org.el (org-export-latex-default-packages-alist):
25242         Remove microtype package.
25243         (org-todo-repeat-to-state): New variable.
25244         (org-auto-repeat-maybe): Allow user-selected target states.
25245         (org-default-properties): Add the new property REPEAT_TO_STATE.
25247 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25249         * org-mobile.el (org-mobile-check-setup): Make sure that there is
25250         a binary to compute checksums.
25252 2010-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
25254         * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
25255         variables.
25257         * org.el (calendar): Require calendar now on top level in org.el
25258         and define aliases to new variables when needed.
25259         (org-read-date, org-goto-calendar): Do not bind obsolete
25260         variables.
25262 2010-06-22  Glenn Morris  <rgm@gnu.org>
25264         * org-entities.el: Add explicit utf-8 coding cookie to file with
25265         utf-8 characters.
25267 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
25269         * org.el (org-file-complete-link): Avoid (expand-file-name ".").
25271 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
25273         * Version 23.2 released.
25275 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
25277         * org-table.el (orgtbl-setup):
25278         * org-agenda.el (org-agenda-entry-text-mode): Simplify.
25280 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
25282         * org-table.el (orgtbl-mode): Use define-minor-mode.
25284 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25286         * org.el (org-insert-link): Find the link buffer on visible frames.
25287         (org-export-latex-default-packages-alist): Hyperref must be loaded
25288         late.
25289         (org-open-file): More care with the new matching for file links.
25291 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25293         * org-latex.el (org-export-latex-preprocess): Do not yet protect
25294         defined entities - these will be taken care of later.
25295         (org-export-latex-special-chars): Post-process entity replacement.
25296         (org-export-latex-fontify-headline): Do not yet protect defined
25297         entities - these will be taken care of later.
25298         (org-export-latex-tables, org-export-latex-links): Format the
25299         caption properly.
25301         * org-entities.el (org-entities-user): Fix typo.
25303         * org.el (org-prepare-agenda-buffers): Uniquify TODO keywords.
25305         * org-entities.el (org-entities-user): Improve docstring.
25307 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25309         * org-entities.el (org-macs): Require org-macs, to be sure that we
25310         have `declare-function' defined.
25312 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25314         * org-latex.el (org-export-latex-classes): Update docstring.
25316         * org.el (org-format-latex-header): Add cookies to the header.
25317         (org-splice-latex-header): Implement placement according to cookies.
25319 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25321         * org-publish.el (org-publish-aux-preprocess): Control case
25322         sensitivity.
25324 2010-04-10  Bastien Guerry  <bzg@gnu.org>
25326         * org.el (org-splice-latex-header): Fix typo.
25328 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25330         * org-latex.el (org-export-latex-make-header):
25331         Use `org-splice-latex-header' to build the header.
25332         (org-export-latex-classes): Update docstring.
25334         * org.el (org-splice-latex-header): New function.
25335         (org-create-formula-image): Use `org-splice-latex-header' to build
25336         the header.
25338         * org-gnus.el (org-gnus-follow-link): Handle nndoc backend.
25340 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25342         * org.el (org-export-latex-packages-alist)
25343         (org-export-latex-default-packages-alist): Fix docstring to
25344         reflect the expected structure.
25346         * org-docbook.el (org-docbook-do-expand): Fix bug with variable names.
25347         (org-export-docbook-finalize-table): Make use of label for tables.
25349 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25351         * org-attach.el (org-attach-commit): Split on newlines.
25353         * org.el (org-export-latex-default-packages-alist): Use list
25354         instead of cons for the entries.
25356 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25358         * org-entities.el (org-entity-get-representation): Catch the case
25359         that there is not entry in the list.
25361         * org-mobile.el (org-mobile-use-encryption)
25362         (org-mobile-encryption-tempfile, org-mobile-encryption-password):
25363         New options.
25364         (org-mobile-check-setup): CHeck the encryption setup.
25365         (org-mobile-copy-agenda-files, org-mobile-sumo-agenda-command)
25366         (org-mobile-create-sumo-agenda): Use encryption code.
25367         (org-mobile-encrypt-and-move): New function.
25368         (org-mobile-encrypt-file, org-mobile-decrypt-file):
25369         New functions.
25370         (org-mobile-move-capture): Decrypt the capture file.
25372         * org.el (org-entities): Require the new file.
25373         (org-export-latex-default-packages-alist): New variable.
25374         (org-complete): Use new entity code for completion.
25375         (org-create-formula-image): Use the new packages variable.
25377         * org-latex.el (org-export-latex-classes): Remove the standard
25378         packages from the class headers.
25379         (org-export-latex-make-header): Use the new package variable.
25380         (org-export-latex-special-chars): Better regexp for entities, to
25381         support entity name that contain numbers.
25382         (org-export-latex-treat-backslash-char): Use the new entity code.
25384         * org-html.el (org-html-do-expand): Use the new entity code.
25386         * org-exp.el (org-export): Add the new export commands.
25387         (org-html-entities): Constant removed.
25388         (org-export-visible): Add the new export commands.
25390         * org-docbook.el (org-docbook-do-expand): Use new entity code.
25392         * org-ascii.el (org-export-ascii-entities): New variable.
25393         (org-export-as-latin1, org-export-as-latin1-to-buffer)
25394         (org-export-as-utf8, org-export-as-utf8-to-buffer): New commands.
25395         (org-export-as-encoding): New function.
25396         (org-export-ascii-preprocess): Call `org-ascii-replace-entities'.
25397         (org-ascii-replace-entities): New function.
25399 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25400             Ulf Stegemann  <ulf@zeitform.de>
25402         * org-entities.el: New file.
25404 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25406         * org-html.el (org-html-level-start): Catch the case that target
25407         might be nil.
25409 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25411         * org.el (org-appearance): Change Customize group variable name
25412         from org-font-lock to org-appearance, and change tag from "Org
25413         Font Lock" to "Org Appearance".
25414         (org-odd-levels-only): Change Customize group variable name.
25415         (org-level-color-stars-only): Change Customize group variable name.
25416         (org-hide-leading-stars): Change Customize group variable name.
25417         (org-hidden-keywords): Change Customize group variable name.
25418         (org-fontify-done-headline): Change Customize group variable name.
25419         (org-fontify-emphasized-text): Change Customize group variable name.
25420         (org-fontify-whole-heading-line): Change Customize group variable name.
25421         (org-highlight-latex-fragments-and-specials): Change Customize
25422         group variable name.
25423         (org-hide-emphasis-markers): Change Customize group variable name.
25424         (org-emphasis-alist): Change Customize group variable name.
25425         (org-emphasis-regexp-components): Change Customize group variable
25426         name.
25427         (org-modules): Remove mention of org-R.
25429         * org-faces.el (org-faces): Change Customize group variable name.
25431 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25433         * org-agenda.el (org-diary-last-run-time): New variable.
25434         (org-diary): Prepare agenda buffers only if last call was some
25435         time ago.
25437         * org-html.el (org-export-html-preprocess): Replace \ref macros
25438         with a link.
25439         (org-format-org-table-html): Add the label as an anchor.
25441         * org-docbook.el (org-export-docbook-format-image): Do some
25442         formatting on captions.
25444         * org-latex.el (org-export-latex-tables, org-export-latex-links):
25445         Do some formatting on captions.
25447         * org-html.el (org-export-html-format-image)
25448         (org-format-org-table-html): Do some formatting on captions.
25450 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25452         * org.el (org-hidden-keywords): New customizable variable.  This is
25453         a list of symbols specifying which of the special keywords #+DATE,
25454         #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock.
25455         (org-fontify-meta-lines-and-blocks): Changes to font-lock code
25456         implementing new faces and hiding behavior.
25458         * org-faces.el (org-document-title): New face for #+TITLE lines.
25459         (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines.
25460         (org-document-info-keyword): New face for #+DATE, #+AUTHOR, #+EMAIL
25461         keywords.
25463 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25465         * org-publish.el (org-publish-sanitize-plist): New function to
25466         rename "index" properties to "sitemap".  Do this renaming
25467         globally.
25468         (org-publish-with-aux-preprocess-maybe): New macro.
25469         (org-publish-org-to-pdf, org-publish-org-to-html): Use the new
25470         macro.
25471         (org-publish-aux-preprocess)
25472         (org-publish-index-generate-theindex.inc): New function.
25474 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25476         * org-table.el (org-table-align): Interpret <N> at fixed width,
25477         not as maximum width.
25479 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25481         * org-exp.el (org-export-author-info, org-export-email-info):
25482         Fix docstrings.
25484         * org-beamer.el (org-beamer-select-environment): Rename from
25485         `org-beamer-set-environment-tag'.  Improve docstring.
25487         * org-freemind.el (org-freemind-write-mm-buffer): Fix another
25488         problem with odd levels.
25490         * org-ascii.el (org-export-as-ascii): Export email only if the
25491         author wants it.
25493         * org-docbook.el (org-export-as-docbook): Export email only if the
25494         author wants it.
25496         * org-html.el (org-export-as-html): Export email only if the
25497         author wants it.
25499         * org-exp.el (org-export-email-info): New option.
25500         (org-export-plist-vars): Add entry for `org-export-email'.
25502 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25504         * org-table.el (org-table-goto-line): Fix typo.
25506 2010-04-10  Mikael Fornius  <mfo@abc.se>
25508         * org.el (org-agenda-files): Typo.
25509         (org-read-agenda-file-list): Add optional argument to help
25510         `org-store-new-agenda-file-list' to remember un-expanded file
25511         names.  Expand file names relative to `org-directory'.
25512         (org-store-new-agenda-file-list): Keep un-expanded file names when
25513         saving, if available.
25514         (org-agenda-files): Update documentation.
25516 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25518         * org-ascii.el (org-export-as-ascii): Catch the case of exporting
25519         a buffer with no file name attached.
25521         * org.el (org-log-refile): New option.
25522         (org-log-note-headings): Add a heading for refiling.
25523         (org-startup-options): Add keywords for logging of the refile
25524         action.
25525         (org-refile): Add logging action.
25526         (org-add-log-note): Allow for refiling action.
25528         * org-agenda.el (org-agenda-bulk-action): Make sure
25529         `org-log-refile' is not `note' during a bulk action.
25531 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25533         * org.el (org-map-dblocks): Use save-excursion to remember the
25534         position.
25536         * org-attach.el (org-attach-commit): Remove dependence on xargs.
25537         (org-attach-delete-one): Commit after deleting a file.
25539         * org-latex.el (org-export-latex-fontify): Do not mistake table.el
25540         borders for strike-through emphasis.
25542         * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
25543         handling of odd levels.
25545         * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
25546         and `future' values.
25547         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
25548         Handle `past' and `future' values.
25550         * org.el (org-read-agenda-file-list): Interpret file names
25551         relative to org-directory and allow environment variables and
25552         "~".
25554         * org-latex.el (org-export-latex-special-chars): Allow a
25555         parenthesis before an exponent or subscript.
25557 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25559         * org-src.el (org-edit-src-exit): When returning from code edit
25560         buffer, if code block is hidden, leave point at start of
25561         #+begin_src line.
25563 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25565         * org.el (org-insert-heading): Do not remove all spaces if the
25566         headline is empty.
25568         * org-indent.el (org-indent): Fix group name.
25570 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25572         * org-table.el (org-table-goto-column): Fix forcing a non-existing
25573         column.
25574         (org-table-get, org-table-put, org-table-goto-line)
25575         (org-table-current-line): New functions.
25577 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
25579         * org.el (org-open-file): Allow regular expressions in
25580         org-file-apps to capture link parameters using groups.  In a
25581         command string to be executed, the parameters can be referenced
25582         using %1, %2, etc.  Lisp forms can access them using
25583         (match-string n link).
25584         (org-apps-regexp-alist): Adopt the created regexp, as this is now
25585         matched against a file: link instead of the file name.
25587 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25589         * org-crypt.el (org-reveal-start-hook): Add a decryption function
25590         to this hook.
25591         (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry):
25592         Add docstrings.
25594         * org.el (org-point-at-end-of-empty-headline)
25595         (org-level-increment, org-get-previous-line-level): New function.
25596         (org-cycle-level): Rewritten to be independent of when this
25597         function is called.
25598         (org-in-regexps-block-p): New function.
25599         (org-reveal-start-hook): New hook.
25600         (org-reveal): Run new hook.
25602 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25604         * org-latex.el (org-export-latex-keywords): Start a new paragraph
25605         after time keywords, do not add "\newline".
25607         * org-html.el (org-export-as-html): Avoid double # in href.
25609         * org.el (org-refile-get-location): Catch an invalid target
25610         specification.
25612 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25614         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
25615         Make sure the behavior regarding to extracting time is
25616         consistent.
25618 2010-04-10  Stephen Eglen  <stephen@gnu.org>
25620         * org-agenda.el (org-agenda-insert-diary-extract-time):
25621         New variable.
25622         (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
25623         variable rather than `org-agenda-search-headline-for-time'.
25625 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25627         * org-list.el (org-fix-bullet-type): Improve cursor positioning.
25629 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25631         * org.el (org-adaptive-fill-regexp-backup): New variable.
25632         (org-set-autofill-regexps): Store a backup of
25633         `adaptive-fill-regexp'.
25634         (org-adaptive-fill-function): Fix filling of comments and ordered
25635         lists.  If there is no other match, till try adaptive fill.
25637 2010-04-10  John Wiegley  <jwiegley@gmail.com>
25639         * org-agenda.el (org-agenda-include-deadlines): Add new
25640         customization variable to determine whether unscheduled tasks
25641         should appear in the agenda solely because of their deadline.
25642         Default to true, which was the previous behavior (it just wasn't
25643         configurable).
25644         (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
25645         the agenda to show/hide deadline tasks.
25646         (org-agenda-menu): Add menu option for show/hide deadlines.
25647         (org-agenda-list): Make the agenda list sensitive to the value of
25648         `org-agenda-include-deadlines'.
25649         (org-agenda-toggle-deadlines): New function to toggle the value of
25650         `org-agenda-include-deadlines' and repaint the modeline
25651         indicators.
25652         (org-agenda-set-mode-name): Show "Deadlines" in the agenda
25653         modeline if deadline tasks are being displayed.
25655 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25657         * org-table.el (org-table-eval-formula): Replace $# and @# by
25658         current column and row number.
25660 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25662         * org.el (org-set-property, org-delete-property): Go back to
25663         prompting for the property.
25665         * org-latex.el (org-export-latex-make-header): Fully process
25666         author line.
25667         (org-export-latex-fontify-headline): Allow several arguments, not
25668         just one.
25669         (org-export-latex-fix-inputenc): Catch the error when
25670         `latexenc-coding-system-to-inputenc' is not defined.
25672         * org-agenda.el (org-agenda-skip-if-todo): New function.
25673         (org-agenda-skip-if): Add conditions for TODO keywords.
25674         (org-agenda-skip-if): Document the new todo conditions.
25676 2010-04-10  Mikael Fornius  <mfo@abc.se>
25678         * org.el (org-at-property-p): Check if we are inside a property
25679         drawer not just any drawer.
25680         (org-set-property, org-delete-property): When cursor is on a
25681         property key value pair do not prompt for property name instead
25682         use name at cursor.
25683         (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
25684         on the first line of a property drawer.
25685         (org-property-end-re): Spell check.
25687 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25689         * org-exp.el (org-export-attach-captions-and-attributes): Add the
25690         properties to the entire table, in case the first line is
25691         removed.
25693         * org-archive.el (org-archive-reversed-order): New option.
25694         (org-archive-subtree, org-archive-to-archive-sibling): Use the new
25695         option `org-archive-reversed-order'.
25697 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25699         * org-agenda.el (org-agenda-entry-types): New variable.
25700         (org-agenda-list): Use `org-agenda-entry-types'.
25701         (org-agenda-custom-commands-local-options): Support for setting
25702         `org-agenda-entry-types' as an option.
25703         (org-diary): Shift some documentation from here to the variable
25704         `org-agenda-entry-types'.
25706 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25708         * org-latex.el (org-export-latex-make-header): Apply macros in
25709         author field.
25711         * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
25712         (org-clock-select-task, org-clock-notify-once-if-expired)
25713         (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
25714         (org-clock-out-if-current, org-clock-save): Use the new functions.
25716 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25718         * org-docbook.el (org-export-as-docbook): Remove unnecessary
25719         newline.
25720         (org-export-as-docbook): Remove unnecessary newline.
25721         (org-export-as-docbook): Fix problem with double footnote
25722         reference in one place.
25724         * org-exp.el (org-export-format-source-code-or-example):
25725         Remove unnecessary newline.
25727         * org.el (org-deadline, org-schedule): Allow rescheduling entries
25728         with repeaters.
25730         * org-table.el (org-table-convert-refs-to-rc): Better way to catch
25731         function calls that look like references.
25733         * org.el (org-open-at-point): Get link abbreviations from
25734         reference buffer.
25736 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25738         * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
25739         as a reference.
25741 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25743         * org.el (org-link-unescape): Solve issue with lower-case escapes.
25745 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25747         * org-latex.el (org-export-latex-classes):
25748         Add \usepackage{latexsym} to all classes.
25750 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25752         * org-html.el (org-export-as-html): Do not allow protected lines
25753         into the table of contents.
25755         * org-latex.el (org-export-latex-special-chars): Find subsequent
25756         occurrences of special characters.
25757         (org-export-latex-tables): Do not convert table-like stuff that is
25758         protected.
25760 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25762         * org-list.el (org-toggle-checkbox): No errors when updating
25763         checkbox count fails because there is no heading.
25765 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25767         * org-clock.el (org-clock-report-include-clocking-task):
25768         New option.
25769         (org-clock-sum): Add the current clocking task.
25771 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25773         * org.el (org-cycle): Print a message when in a table.el table.
25774         (org-edit-special): Recognize the table.el context.
25775         (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
25777         * org-src.el (org-at-table.el-p): Declare.
25778         (org-edit-src-code): Handle a special case for table.el editing.
25779         (org-edit-src-find-region-and-lang): Recognize the table.el
25780         context.
25782         * org-latex.el (org-export-latex-tables): Convert table.el
25783         tables.
25784         (org-export-latex-convert-table.el-table): New function.
25786         * org-html.el (org-html-expand): Fix table.el export.
25788         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
25789         headings.
25791         * org-id.el (org-id-find-id-file): Fix bug when there is no hash
25792         table for the id locations.
25794         * org.el (org-read-date-analyze): Match American-style dates, like
25795         5/30 or 5/13/7.  Make sure cal-iso.el is loaded.  Don't force he
25796         current year when reading ISO and American dates.
25798 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25800         * org.el (org-face-from-face-or-color): New function.
25801         (org-get-todo-face, org-font-lock-add-priority-faces)
25802         (org-get-tag-face): Use `org-face-from-face-or-color'.
25804         * org-faces.el (org-todo-keyword-faces, org-priority-faces):
25805         Allow simple colors as values.
25806         (org-faces-easy-properties): New option.
25808         * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
25809         restricted, as an agenda mode.
25810         (org-agenda-fontify-priorities): Allow simple colors as values.
25812 2010-04-10  Bastien Guerry  <bzg@gnu.org>
25814         * org-timer.el (org-timer-current-timer): Rename from
25815         `org-timer-last-timer'.
25816         (org-timer-timer1, org-timer-timer2, org-timer-timer3): Remove.
25817         (org-timer-cancel-timer, org-timer-show-remaining-time)
25818         (org-timer-set-timer): Update to use only one timer.
25820         * org.el (org-set-property): Remove useless space in the prompt.
25822 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25824         * org-html.el (org-export-html-style-default): Add a default style
25825         for textareas.
25827         * org-exp.el (org-export-format-source-code-or-example):
25828         Fix textarea tag.
25830 2010-04-10  Bastien Guerry  <bzg@gnu.org>
25832         * org-clock.el (org-clock-current-task): New variable to store
25833         last clocked in task.
25834         (org-clock-set-current, org-clock-delete-current): New functions.
25836 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25838         * org-remember.el (org-remember-apply-template): Extend comment.
25839         (org-remember-handler): Implement clock sibling filing.
25841 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25843         * org-publish.el (org-publish-all, org-publish-current-file)
25844         (org-publish-current-project): When called with prefix argument
25845         FORCE, also rebuild the validation file list.
25847         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
25848         section headings.
25850 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25852         * org-html.el (org-export-as-html-and-open): Kill product buffer
25853         if the user wants that.
25855         * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
25856         if the user wants that.
25858         * org-exp.el (org-export-kill-product-buffer-when-displayed):
25859         New option.
25861         * org-agenda.el (org-batch-agenda-csv): Use the time property
25862         instead of the `time-of-day' property.
25864 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25866         * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
25867         (org-timer-pause-hook, org-timer-set-hook)
25868         (org-timer-cancel-hook): New hooks.
25869         (org-timer-start): Run `org-timer-start-hook'.
25870         (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
25871         (org-timer-stop): Run `org-timer-stop-hook'.
25872         (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
25874 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25876         * org.el (org-reveal): Double prefix arg shows the subtree of the
25877         parent.
25879 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25881         * org-agenda.el (org-search-view): Fix bug with searching full
25882         words in headlines in search view.
25883         (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
25884         (org-agenda-get-deadlines): Suppress pre-warning if the entry is
25885         scheduled (if the user configures it so.
25887 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25889         * org.el (org-hide-archived-subtrees): Don't jump to end of
25890         subtree if the match was not in a headline.
25891         (org-inside-latex-macro-p): Allow more complex arguments.
25892         (org-emphasize): Protect against use at end of buffer.
25894 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25896         * org-agenda.el (org-agenda-align-tags): Avoid side effects on
25897         text properties.
25899 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25901         * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
25902         values.
25903         (org-agenda-todo-ignore-scheduled)
25904         (org-agenda-todo-ignore-deadlines): More control with different
25905         allowed values.
25906         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
25907         Honor the new option settings.
25909 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25911         * org.el (org-get-location): Make sure the selection buffer is
25912         shown in the current frame.
25914         * org-ascii.el (org-export-ascii-table-widen-columns):
25915         New option.
25916         (org-export-ascii-preprocess): Realign tables to remove narrowing
25917         if `org-export-ascii-table-widen-columns' is set.
25919         * org-table.el (org-table-do-narrow): New variable.
25920         (org-table-align): Narrow only if `org-table-do-narrow' is t.
25922         * org.el (org-deadline, org-schedule): Allow updating if the
25923         relevant time stamp does not have a repeater, i.e. do not require
25924         that no time stamp has a repeater.
25926         * org-agenda.el (org-agenda-align-tags): Don't add a face to the
25927         new white space before the tags.
25929         * org-latex.el (org-export-as-latex): Do nit require the buffer to
25930         be visiting a file when only exporting to a buffer or string.
25931         (org-export-latex-fix-inputenc): Only save the buffer is there is
25932         a file name attached to it.
25934 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25936         * org-src.el (org-edit-src-exit): Widen before exiting edit buffers.
25938 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25940         * org.el (org-fontify-meta-lines-and-blocks):
25941         Honor `org-fontify-quote-and-verse-blocks'.
25943         * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
25945 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25947         * org.el (org-open-at-point): Also check for text property
25948         org-linked-text before offering collected links.
25950 2010-04-10  Stephen Eglen  <stephen@gnu.org>
25952         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
25953         Optionally extract time specification from text and add to the
25954         timestamp.
25956 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25958         * org-exp.el (org-html-entities): Fix typo.
25960         * org-latex.el (org-export-latex-make-header): Use \providecommand
25961         to make sure the \alert macro is defined.
25963         * org.el (org-format-latex-signal-error)
25964         (org-create-formula-image): Use `org-format-latex-signal-error'.
25966 2010-04-10  Stephen Eglen  <stephen@gnu.org>
25968         * org.el (org-store-link): For dired buffers, use
25969         default-directory as link name if dired-get-filename returns
25970         nil.
25972 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25974         * org-exp.el (org-export-concatenate-multiline-links): The for
25975         protectedness at beginning of match.
25977         * org-latex.el (org-export-latex-fix-inputenc): Never leave the
25978         AUTO as a coding system, instead default to utf8.
25980 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25982         * org.el (org-block-todo-from-children-or-siblings-or-parent)
25983         (org-block-todo-from-checkboxes): Respect the local variable
25984         value when deciding if blocking should be active.
25986         * org-latex.el (org-export-latex-make-header): Define the align
25987         macro if it is not yet defined.
25989         * org-agenda.el (org-agenda-insert-diary-make-new-entry):
25990         Call `org-insert-heading' with the INVISIBLE-OK argument.
25992         * org-mac-message.el (org-mac-message-insert-flagged):
25993         Call `org-insert-heading' with the INVISIBLE-OK argument.
25995         * org.el (org-insert-heading): New argument INVISIBLE-OK.
25997         * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
25998         prompt message.
26000         * org-html.el (org-html-level-start): Use the
26001         `html-container-class' text property to set an additional class
26002         for an outline container.
26004         * org-exp.el (org-export-remember-html-container-classes):
26005         New function.
26006         (org-export-preprocess-string):
26007         Call `org-export-remember-html-container-classes'.
26009         * org.el (org-cycle): Mention level cycling in the docstring.
26010         (org-default-properties): Add new property HTML_CONTAINER_CLASS.
26012         * org-remember.el (org-remember-apply-template): Do file insertion
26013         first.
26015 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26017         * org-habit.el (org-habit-insert-consistency-graphs): Fix a
26018         problem with mis-aligned graphs when showing habits.
26020 2010-04-10  Mikael Fornius  <mfo@abc.se>
26022         * org.el (org-assign-fast-keys): Prefer keys used in keyword name
26023         when assigning.  Begin using numerical characters when all in name
26024         is used up.  This is to spare alphanumeric characters for better
26025         match with other keywords.
26027 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26029         * org-exp.el (org-export-preprocess-hook): Improve documentation.
26031         * org-latex.el (org-export-latex-preprocess): More consistent
26032         conversion and protection of the words LaTeX and TeX.
26033         (org-export-latex-fontify-headline, org-export-latex-preprocess):
26034         Allow angle brackets in commands, for beamer.
26036 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26038         * org-clock.el (org-clock-in): Improve the look of the clock line
26039         by formatting links.
26041 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26043         * org-latex.el (org-export-latex-classes): Use AUTO as the place
26044         holder string for the coding system.  And improve the
26045         documentation.
26046         (org-export-latex-fix-inputenc): Only modify the coding system if
26047         it is given by the placeholder AUTO.
26049 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26051         * org-clock.el (org-task-overrun-text): New option.
26052         (org-task-overrun, org-clock-update-period): New variables.
26053         (org-clock-get-clock-string, org-clock-update-mode-line):
26054         Mark overrun clock.
26055         (org-clock-notify-once-if-expired): Check if clock is overrun.
26057         * org-faces.el: New face `org-mode-line-clock-overrun'.
26059 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
26061         * org.el (org-narrow-to-subtree): Position the end of the narrowed
26062         region before the line with the next heading, to prevent the user
26063         from prepending text to the next headline.
26065 2010-04-10  Stephen Eglen  <stephen@gnu.org>
26067         * org-agenda.el (org-get-time-of-day):
26068         Use org-agenda-time-leading-zero to allow leading zero (rather than
26069         space) for times.
26071 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26073         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
26074         org-datetree.el is loaded.
26076         * org-datetree.el: Autoload `org-datetree-find-day-create'.
26078         * org-latex.el (org-export-latex-hyperref-format): New option.
26079         (org-export-latex-links): Use `org-export-latex-hyperref-format'.
26081 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26083         * org-ctags.el (org-ctags-enable): Change order of functions.
26084         (org-ctags-create-tags): Add wildcard to file name expansion.
26086 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26088         * org.el (org-entry-properties): Fix some important bugs.
26090 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26092         * org.el (org-link-unescape, org-link-escape): Only use hexlify if
26093         the table is not explicitly given.
26095 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26097         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
26098         as value.
26099         (org-clock-out-if-current): Work with the new list value of
26100         `org-clock-out-when-done'.
26101         (org-clock-out, org-clock-out-if-current): Avoid circular logic
26102         between clocking out and state changes.
26104         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
26106         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
26107         accident protect a character that is before a backslash.
26109 2010-04-10  Paul Sexton  <eeeickythump@gmail.com>
26111         * org-ctags.el: New file.
26113 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26115         * org-agenda.el (org-diary-class):
26116         Use `org-order-calendar-date-args'.
26118         * org.el (org-order-calendar-date-args): New function.
26120         * org-exp.el (org-export-target-internal-links): Check for
26121         protectedness after the first bracket.
26123         * org.el (org-entry-properties): Don't match wrong-case TODO
26124         keywords.
26126         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
26127         Document that ARG is passed through to remove the date.
26128         (org-agenda-bulk-action): Accept prefix arg and pass it on.
26129         Do not read a date when the user has given a `C-u' prefix.
26131 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26133         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
26134         tags are hidden.
26136 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26138         * org-latex.el (org-export-latex-fix-inputenc): New function.
26139         (org-export-latex-inputenc-alist): New option.
26141         * org-exp.el (org-export): New key SPC to publish enclosing
26142         subtree.
26144 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26146         * org-indent.el (org-indent-add-properties): Catch case when there
26147         is no headline in the buffer.
26149 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26151         * org-exp.el (org-html-entities): Add checkmark symbol.
26153         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
26154         verbatim code for ASCII export.
26156         * org.el (org-update-statistics-cookies): Also see checkboxes in
26157         ordered lists.
26159 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26161         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
26162         key.
26164         * org-beamer.el (org-beamer-amend-header): Change the location
26165         where `org-beamer-header-extra' is inserted.
26167         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
26168         just for computing this regexp.
26170 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26172         * org-beamer.el (org-beamer-frame-default-options): New option.
26173         (org-beamer-sectioning): Use default options if the user does not
26174         have defined any.
26175         (org-beamer-fix-toc): Put a frame around the table of contents.
26177         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
26178         Make sure case-folding works well when processing comment stuff.
26180         * org-latex.el (org-export-latex-after-save-hook): New hook.
26181         (org-export-as-latex): Run the new hook.
26183 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26185         * org-beamer.el (org-beamer-environments-default): Add the note
26186         environments.
26187         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
26188         lines and collect and combine the content.
26189         (org-beamer-after-initial-vars): Check for note tags and make sure
26190         they will be seen like a property.
26192         * org.el (org-offer-links-in-entry): Fix bug when there is a
26193         single link.
26195         * org-exp.el (org-export): Make sure the mark is activated, also
26196         when `transient-mark-mode' is off.
26198         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
26199         (org-agenda-search-view-search-words-only): Obsolete variable, is
26200         now an alias for `org-agenda-search-view-always-boolean'.
26201         (org-agenda-search-view-force-full-words): New option.
26202         (org-search-view): Improve docstring, and implement a better logic
26203         for Boolean and phrase searches.
26204         (org-agenda-last-search-view-search-was-boolean): New variable.
26205         (org-agenda-manipulate-query): Consider the type of the last
26206         search when modifying the search string.
26208 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26210         * org-latex.el (org-export-as-latex): Do the first letbind in the
26211         right moment.
26213         * org-agenda.el (org-get-entries-from-diary): Add the new face to
26214         these entries.
26216         * org-faces.el (org-agenda-diary): New face.
26218         * org.el (org-make-link-regexps): Allow regexp-special characters
26219         in link types.
26220         (org-open-file): When in-emacs is `system', also force system
26221         opening, like when the value was `(16)'.
26222         (org-update-statistics-cookies): Handle entries without children.
26224         * org-exp.el
26225         (org-export-preprocess-before-normalizing-links-hook): New hook.
26226         (org-export-preprocess-string): Run the new hook.
26228         * org.el (org-offer-links-in-entry): Make RET open all links.
26230         * org-html.el (org-export-as-html): Remove any leftover display
26231         properties in the html file.
26233         * org-wl.el (org-wl-store-link): Work-around for format bug with
26234         text properties.
26236         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
26237         invisibility while adding the graphs.
26239 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26241         * org-remember.el (org-select-remember-template): Use C letter to
26242         customize remember templates.
26244         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
26245         Move cursor to next visible line.
26247 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26249         * org-beamer.el (org-beamer-sectioning): Leave columns environment
26250         by specifying 0 or 1 for column width.
26251         (org-beamer-column-widths): Make 0 stand for 0.0.
26253 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26255         * org-exp.el (org-export-mark-radio-links): Don't match inside
26256         <<target>>.
26258         * org.el (org-format-latex-header-extra): New variable.
26259         (org-format-latex): Set org-format-latex-header-extra from
26260         in-buffer stuff.
26261         (org-format-latex): Add org-format-latex-header-extra to the
26262         variables on which image creation depends.
26263         (org-create-formula-image): Add the header stuff from in-buffer
26264         settings.
26265         (org-read-date-analyze): Base the analysis for future preference
26266         on NOW, not on the default date.
26268         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
26269         for TODO keyword in inline tasks.
26271         * org.el (org-log-note-headings): New headings for removing
26272         deadline or scheduling date.
26273         (org-deadline, org-schedule): Arrange for logging when removing a
26274         date.
26275         (org-add-log-note): Handle deadline and scheduling removal.
26277 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26279         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
26281 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26283         * org-agenda.el (org-diary-class): New function.
26285 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26287         * org-latex.el (org-export-latex-preprocess): Do process the text
26288         of a radio target.
26290 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26292         * org.el (org-entry-properties): Add TIMESTAMP properties back
26293         in.
26295 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26297         * org.el (org-all-time-keywords): New variable.
26298         (org-set-regexps-and-options): Set `org-all-time-keywords'.
26299         (org-entry-blocked-p): New function.
26300         (org-special-properties): Add BLOCKED as a new special property.
26301         (org-entry-properties): New optional argument SPECIFIC, only parse
26302         for this property when it is specified.
26303         (org-entry-get): Pass a SPECIFIC argument to
26304         `org-entry-properties'.
26306         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
26308 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26310         * org-latex.el (org-export-latex-tables): No forced line end if
26311         there is no caption.
26313 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26315         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
26316         package.
26318         * org-latex.el (org-export-latex-tables): Only add a caption when
26319         macro is in longtable environments if one has been defined.
26321         * org-html.el (org-export-as-html): Only take title from buffer if
26322         not exporting body-only.
26324         * org-latex.el (org-export-latex-preprocess): Better version of
26325         the regular expression for protecting LaTeX macros.
26326         (org-export-latex-preprocess): Start searching for macros to
26327         protect from beginning of buffer.
26329         * org-exp.el (org-export-target-internal-links): Check for
26330         protectedness earlier in the string.
26332         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
26333         case sensitively.
26335         * org-id.el (org-id-store-link): Match TODO keywords case
26336         sensitively.
26338         * org.el (org-heading-components, org-get-outline-path)
26339         (org-display-outline-path): Match TODO keywords case sensitively.
26341         * org-latex.el (org-export-as-latex): Ignore read-only
26342         properties.
26344         * org-exp.el (org-export-preprocess-string): Remove any
26345         `read-only' properties.
26347         * org-agenda.el (org-agenda-inactive-leader): New option.
26348         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
26349         (org-tags-view): Prompt for matcher if MATCH is an empty string.
26350         (org-todo-list): Prompt for matcher if ARG is an empty string.
26352 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26354         * org.el (org-open-link-functions): New hook.
26355         (org-open-at-point): Run `org-open-link-functions'.
26357 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26359         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
26360         stamps as well.
26362         * org.el (org-inhibit-startup-visibility-stuff): New variable.
26363         (org-mode): Don't do startup visibility if inhibited.
26364         (org-outline-overlay-data, org-set-outline-overlay-data):
26365         New functions.
26366         (org-save-outline-visibility): New macro.
26367         (org-log-note-headings): Document that one should not change the
26368         `state' note format.
26370 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26372         * org.el (org-make-link-regexps): Capture link path into a group.
26374 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26376         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
26377         the options plist.
26379 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26381         * org.el (org-startup-with-beamer-mode): New option.
26382         (org-property-changed-functions)
26383         (org-property-allowed-value-functions): New hooks.
26384         (org-entry-put, org-property-get-allowed-values): Run the new
26385         hooks.
26386         (org-property-next-allowed-value): Run the new hooks.
26388         * org-exp.el (org-export-select-backend-specific-text): Add the
26389         special beamer tags.
26391         * org-beamer.el: New file.
26393         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
26394         (org-export-as-latex):
26395         Run `org-export-latex-after-initial-vars-hook'.
26396         (org-export-latex-format-toc-function)
26397         (org-export-latex-make-header):
26398         Call `org-export-latex-format-toc-function'.
26400         * org.el (org-fill-template): Make template searches case sensitive.
26402         * org-exp.el (org-export): Use "1" as a sign to export only the
26403         subtree.
26405         * org-colview.el (org-columns-edit-value):
26406         Use org-unrestricted property.
26408         * org.el (org-compute-property-at-point): Set org-unrestricted
26409         text property if the list contains ":ETC".
26410         (org-insert-property-drawer):
26411         Use org-unrestricted property.
26413         * org-exp.el
26414         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
26415         (org-export-preprocess-string):
26416         Run `org-export-preprocess-before-selecting-backend-code-hook'.
26418         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
26420         * org-latex.el (org-export-region-as-latex):
26421         Run `org-export-first-hook'.
26423         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
26425         * org-docbook.el (org-export-as-docbook):
26426         Run `org-export-first-hook'.
26428         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
26430         * org-exp.el (org-export-first-hook): New hook.
26432 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26434         * org-list.el (org-previous-item): Exit at the beginning of the
26435         buffer.
26437         * org-id.el (org-id-locations-save): Only write the id locations
26438         if any are defined.
26440         * org-archive.el (org-archive-all-done): Make this work in a file
26441         with org-odd-levels-only set.
26443         * org.el (org-get-refile-targets): Catch the case when a buffer
26444         has no file.
26446         * org-latex.el (org-export-as-latex): Cleanup forced line ends
26447         where they are not needed.
26448         (org-export-latex-subcontent): Remove unnecessary newlines.
26450 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26452         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
26453         (org-export-latex-fontify): Fix regexp bug that takes special
26454         care of protecting the right boundary characters in emphasis
26455         matches.
26456         (org-export-latex-preprocess): Allow multiple arguments to latex
26457         macros.
26459         * org.el (org-make-link-regexps): Use John Gruber's regexp for
26460         urls.
26462         * org-macs.el (org-re): Interpret :punct: in regexps.
26464         * org-exp.el (org-export-replace-src-segments-and-examples):
26465         Also take the final newline after the END line.
26467         * org.el (org-clean-visibility-after-subtree-move): Only fix
26468         entries that are not entirely invisible already.
26469         (org-insert-link): Respect org-link-file-path-type for
26470         "docview:" links in addition to "file:" links.
26472 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26474         * org-exp.el (org-export-format-source-code-or-example):
26475         Avoid additional extra white lines in LaTeX.
26477         * org-list.el (org-list-parse-list): Leave empty lines after the
26478         list, don't consider them as part of the list.
26480         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
26481         searches.
26483         * org-clock.el (org-clock-select-task): Convert integer to
26484         character for XEmacs.
26486 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26488         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
26489         compatible.
26491 2010-04-10  Tassilo Horn  <tassilo@member.fsf.org>
26493         * org.el (org-complete-tags-always-offer-all-agenda-tags):
26494         New variable.
26495         (org-set-tags): Use it.
26497 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26499         * org-list.el (org-empty-line-terminates-plain-lists):
26500         Update docstring.
26502         * org.el (org-format-latex): Fix link creation for processed latex
26503         snippets.
26505 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26507         * org-footnote.el (org-footnote-normalize): Protect replacement
26508         text.
26510         * org.el (org-inside-latex-macro-p): Save match data.
26512 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
26514         * org-docview.el: New file.
26516 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26518         * org-latex.el (org-export-latex-class-options): New variable.
26519         (org-export-latex-set-initial-vars): Use the class options.
26521         * org.el (org-forward-same-level): Stop at headings that start
26522         with an invisible character.
26523         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
26525 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26527         * org-footnote.el (org-footnote-normalize): Don't take optional
26528         arguments in LaTeX macros as footnotes.
26530         * org.el (org-inside-latex-macro-p): New function.
26532         * org-latex.el (org-latex-to-pdf-process): Change customization
26533         group to `org-export-pdf'.
26535         * org-agenda.el (org-agenda-get-blocks): Look at time string also
26536         on days after the first one.
26538         * org.el (org-insert-heading): Also check for item before assuming
26539         before-first-heading condition.
26541         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
26542         (org-export-pdf-logfiles): New option.
26543         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
26544         (org-export-pdf-logfiles): Fix customization type.
26546         * org.el (org-insert-link): Improve error message when there is no
26547         default link to select with RET.
26549         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
26550         parameter list.
26552 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26554         * org-latex.el (org-export-latex-parse-global)
26555         (org-export-latex-parse-content)
26556         (org-export-latex-parse-subcontent):
26557         Use `org-re-search-forward-unprotected'.
26558         (org-export-as-pdf): Remove log files produced by XeTeX.
26560         * org-macs.el (org-re-search-forward-unprotected): New function.
26562 2010-04-10  James TD Smith  <ahktenzero@mohorovi.cc>
26564         * org-colview.el (org-agenda-colview-summarize): Sort out some
26565         confusion between properties and titles, which resulted in
26566         agenda summaries not working if a title was set for a column.
26568 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26570         * org-mobile.el (org-mobile-agendas): New option.
26571         (org-mobile-sumo-agenda-command): Select the right agendas.
26573         * org-latex.el (org-export-latex-format-image): Preserve the
26574         original-indentation property.
26576 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26578         * org-clock.el (org-clock-insert-selection-line): Catch error when
26579         an old tasks no longer exists.
26581         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
26582         (org-export-as-pdf): Don't remove the old PDF file before making
26583         the new one.
26585         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
26586         (org-mouse-context-menu): Use `org-looking-back'.
26588         * org.el (org-cycle-level): Use `org-looking-back'.
26590         * org-list.el (org-cycle-item-indentation):
26591         Use `org-looking-back'.
26593         * org-compat.el (org-looking-back): New function.
26595         * org.el (org-insert-heading): Catch before-first-headline when
26596         inserting a headline.
26598 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26600         * org-latex.el (org-export-latex-format-image): Indent figure
26601         environment, so that it does not interrupt plain list.
26603         * org.el (org-open-at-point): Allow long link descriptions.
26605 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26607         * org-html.el (org-export-as-html): Remove empty lines at the
26608         beginning of the exported text.
26610 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
26612         * org.el (org): Remove from hypermedia group.
26614 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
26616         * Branch for 23.2.
26618 2010-02-15  Chong Yidong  <cyd@stupidchicken.com>
26620         * org-freemind.el (org-freemind-from-org-mode-node)
26621         (org-freemind-from-org-mode)
26622         (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
26623         Pass arg to called-interactively-p.
26625 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
26627         * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten):
26628         Fix typos in docstrings.
26630 2010-01-01  Juanma Barranquero  <lekktu@gmail.com>
26632         * org.el (org-get-outline-path, org-speed-command-help):
26633         Fix typos in error messages.
26635 2009-12-14  Juri Linkov  <juri@jurta.org>
26637         * org-html.el (org-export-html-style-include-default):
26638         Put `safe-local-variable booleanp' on
26639         `org-export-html-style-include-default' instead of mistakenly
26640         duplicate `org-export-html-style'.
26642 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
26644         * org-agenda.el (org-agenda-diary-entry-in-org-file):
26645         Rebuild agenda after adding new entry.
26647         * org-datetree.el (org-datetree-find-day-create): Fix regular
26648         expression.
26650         * org.el (org-display-outline-path): Use a format specifier for
26651         message, to avoid problems with heading containing `%'.
26653         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
26654         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
26655         (org-agenda-fix-displayed-tags): New function.
26656         (org-agenda-do-context-action): Just call
26657         `org-display-outline-path', without piping the result through
26658         `message'.
26660         * org-latex.el (org-export-latex-preprocess): Protect secondary
26661         footnote references.
26663         * org-indent.el (org-indent-initialize): Avoid empty strings as
26664         line prefixes.
26666         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
26667         hat checking for the mark does not throw an error.
26668         (org-agenda-diary-entry-in-org-file): Catch the case that there is
26669         not `day' text property in the cursor line.
26671         * org.el (org-sort-entries-or-items): Make sure that the final
26672         entry has a newline before doing the sorting.
26674         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
26675         property at the beginning of the line.
26677         * org.el (org-make-link-string): Don't allow a description with
26678         only white space.
26680         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
26681         (org-agenda-insert-diary-as-top-level): New function.
26682         (org-agenda-add-entry-to-org-agenda-diary-file):
26683         Call `org-agenda-insert-diary-as-top-level'.
26685         * org.el (org-occur-in-agenda-files): Make sure none of the
26686         buffers is narrowed.
26687         (org-activate-plain-links): Add the face property here.
26688         (org-set-font-lock-defaults): Do not add the face to plain links,
26689         the activator function does this.
26691         * org-habit.el (org-is-habit-p): Add doc string.
26693         * org-archive.el (org-archive-subtree-default-with-confirmation):
26694         Autoload.
26696         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
26697         after match optional (happens at the end of a line...).
26699         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
26700         for special blocks.
26702         * org-faces.el (org-copy-face): Set lisp indentation.
26703         (org-quote, org-verse): New faces.
26705         * org-agenda.el (org-agenda-remove-date): Remove variable.
26707         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
26709         * org-html.el (org-export-as-html): Move the home/up link into
26710         the content div.
26712         * org.el (org-export-latex-packages-alist): Option definition
26713         moved here from org-latex.el.
26715         * org-html.el (org-export-html-home/up-format): Add an ID to the
26716         up/home div.
26718         * org-wl.el (org-wl-store-link): Handle the case that
26719         `wl-use-petname' is set.
26721         * org.el (org-set-effort): Improve prompt.
26722         (org-get-outline-path): Widen to get full path.
26723         (org-compact-display-after-subtree-move): Function removed.
26725 2009-11-20  Eric Schulte  <schulte.eric@gmail.com>
26727         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
26728         hash keys to cache and re-use images generated by the
26729         org-exp-blocks interface to ditaa and dot.
26731         * org.el (org-format-latex): Latex images are now saved to files
26732         named by the sha1 hash of the latex source text avoiding
26733         regeneration of identical images.
26735 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
26737         * org-latex.el (org-export-as-latex): Add the :drawers property.
26739 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
26741         * org.el (org-speed-commands-user): Allow documentation headlines.
26742         (org-speed-commands-default): Organize the value of this constant
26743         with descriptive headlines.
26744         (org-print-speed-command): Output the headlines.
26746 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
26748         * org-agenda.el (org-agenda-show-outline-path): New option.
26749         (org-agenda-do-context-action): New function.
26750         (org-agenda-next-line, org-agenda-previous-line):
26751         Use `org-agenda-do-context-action'.
26753         * org.el (org-use-speed-commands): Allow function value.
26754         (org-speed-commands-default): Make headline motion safe, so that
26755         these commands always end on a headline.
26756         (org-speed-commands-default): New key `v' for `org-agenda'.
26757         (org-speed-move-safe): New function.
26758         (org-self-insert-command): Use the function value of
26759         `org-use-speed-commands'.
26760         (org-get-outline-path): Improve docstring.
26761         (org-format-outline-path): New function.
26762         (org-display-outline-path): New function.
26764 2009-11-15  John Wiegley  <jwiegley@gmail.com>
26766         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
26767         a string, use that to find the LOGBOOK drawer.
26769 2009-11-15  Glenn Morris  <rgm@gnu.org>
26771         * org-agenda.el (org-datetree-find-date-create)
26772         (org-habit-get-priority):
26773         * org.el (org-format-agenda-item): Fix declarations.
26775 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26777         * org.el (org-clone-subtree-with-time-shift): Make it work at the
26778         end of the buffer.
26780         * org-mobile.el (org-mobile-write-checksums): Specify coding
26781         system.
26782         (org-mobile-timestamp-buffer): Keep local variable/mode line at
26783         beginning of buffer.
26785         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
26787         * org.el (org-block-todo-from-children-or-siblings-or-parent)
26788         (org-block-todo-from-checkboxes): Do not block changes to a nil
26789         TODO state.
26791 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
26793         * org-habit.el (org-habit-parse-todo): Indicate which habit is
26794         wrongly set up in the error messages.
26796         * org-colview.el (org-columns-display-here): Don't try to
26797         calculate values if the underlying property is not set.
26798         (org-columns-string-to-number): Convert age strings back into
26799         fractional days.
26800         (org-agenda-colview-summarize): Handle extended summary types
26801         properly.
26803 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26805         * org-exp.el (org-export-format-drawer-function): New variable.
26806         (org-export-format-drawer): New function.
26807         (org-export-preprocess-string): Pass the backend as a parameter to
26808         `org-export-remove-or-extract-drawers'.
26809         (org-export-remove-or-extract-drawers): New parameter BACKEND.
26811         * org-protocol.el (org-protocol-char-to-string): New defsubst.
26813 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26815         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
26816         message when no block is selected.
26818         * org-latex.el (org-export-latex-links): Check for protectedness
26819         in the last matched character, not after the match.
26821         * org-datetree.el (org-datetree-find-date-create):
26822         Respect restriction when KEEP-RESTRICTION is set.
26823         (org-datetree-file-entry-under): New function.
26824         (org-datetree-cleanup): New command.
26826 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
26828         * org-src.el (org-edit-src-code): New optional argument context
26829         allows calling functions to avoid altering the saved window
26830         configuration.
26831         (org-edit-src-exit): Do not restore window configuration when this
26832         function is used in the context of saving the edit buffer.
26834 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26836         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
26837         instances to switching to with-current-buffer, because these seem
26838         to cause problems - no idea why.
26840         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
26841         Require diary-lib for (diary-date-display-form).
26843 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26845         * org.el (org-log-reschedule, org-log-redeadline): New options.
26846         (org-log-note-headings): Add templates for rescheduling and
26847         deadline changing.
26848         (org-startup-options): Add in-buffer settings for logging changing
26849         schedule and deadline time stamps.
26850         (org-deadline, org-schedule): Check for existing date and arrange
26851         for logging if the user requests it.
26852         (org-add-log-note): Prepare proper note buffers for rescheduling
26853         and deadline changes.
26855 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26857         * org-agenda.el (org-agenda-diary-entry-in-org-file)
26858         (org-agenda-add-entry-to-org-agenda-diary-file)
26859         (org-agenda-insert-diary-make-new-entry): New functions.
26860         (org-agenda-diary-entry):
26861         Call `org-agenda-diary-entry-in-org-file' when appropriate.
26863         * org.el (org-calendar-insert-diary-entry-key): New option.
26864         (org-agenda-diary-file): New option.
26865         ("calendar"): Install our insertion function in the calendar.
26867         * org-remember.el (org-datetree): Require.
26868         (org-remember-templates): Add new positioning option.
26869         (org-remember-reference-date): New variable.
26870         (org-remember-apply-template): Store the reference date in a local
26871         variable.
26872         (org-remember-handler): Implement date tree positioning of entries.
26874         * org-datetree.el: New file.
26876         * org-latex.el (org-export-latex-preprocess): Protect targets in
26877         verbatim emphasis.
26879         * org-html.el (org-export-as-html): Protect targets in verbatim
26880         emphasis.
26882         * org-docbook.el (org-export-as-docbook): Protect targets in
26883         verbatim emphasis.
26885 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26887         * org-clock.el (org-show-notification): Handle messages that
26888         contain a percent character.
26890         * org-remember.el (org-remember-apply-template): Turn of partial
26891         completion.
26893         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
26894         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
26896         * org.el (org-indent-mode): Define variable already in org.el.
26897         (org-unfontify-region): Remove line-prefix and wrap-prefix
26898         properties only if org-indent-mode is active.
26900 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26902         * org-icalendar.el (org-print-icalendar-entries): Save match data
26903         around call to verify function.
26904         (org-print-icalendar-entries): Add a call to the verification
26905         function.
26907         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
26908         save-restrivtion' form.
26910 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
26912         * org-exp.el (org-export-format-source-code-or-example):
26913         Restrict scope of preserve-indentp to the let binding.
26914         (org-src): Require org-src, since org-src-preserve-indentation is used.
26916 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26918         * org-timer.el (org-timer-set-timer): Set variables
26919         org-timer-timer[123] correctly.
26921         * org-mobile.el (org-mobile-files-alist): Make it work when
26922         `agenda-archives' is included in
26923         `org-agenda-text-search-extra-files'.
26924         (org-mobile-push): Restore agenda after mobile push.
26926 2009-11-13  John Wiegley  <jwiegley@gmail.com>
26928         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
26929         way the amount of idle time is presented in the minibuffer.
26931 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26933         * org-icalendar.el (org-print-icalendar-entries):
26934         Use org-icalendar-verify-function only if non-nil.
26936         * org.el (org-refile): Refile to clock only if the prefix arg is
26937         2.
26938         (org-sparse-tree): Fix docstring to be in line with prompt.
26939         (org-update-parent-todo-statistics):
26940         Call `org-after-todo-statistics-hook' on each level.
26942 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26944         * org-remember.el (org-remember-apply-template): Make sure the
26945         buffer exists.
26947 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26949         * org.el (org-tab-ind-state): New variable.
26950         (org-cycle-level): New function.
26951         (org-cycle-level-after-item/entry-creation): New option.
26952         (org-flag-subtree): New function.
26953         (org-hide-archived-subtrees): Call `org-flag-subtree'.
26954         (org-set-effort): Indexed access.
26956         * org-list.el (org-cycle-item-indentation): New function.
26958         * org.el (org-refile): Make prefix argument 2 refile to current
26959         clock.
26960         (org-priority): Interpret action `remove' as call to remove the
26961         priority cookie.
26963         * org-remember.el (org-remember-apply-template): Don't depend on
26964         buffer name being like file name.
26966 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26968         * org-clock.el (org-clock-play-sound): Expand file in
26969         org-clock-sound, to allow ~ for home.
26971         * org-remember.el (org-remember-handler):
26972         Set text-before-node-creation even if this already looks like a node,
26973         because the string might be needed on non-org-mode target files.
26975         * org-agenda.el (org-agenda-open-link): Make this work in agenda
26976         clocktables.
26977         (org-agenda-switch-to): Follow a link at point if
26978         org-return-follows-link' is set and there is nothing else to do in
26979         this line.
26981 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
26983         * org-exp-blocks.el: Modify split separator regexp to avoid empty
26984         strings.
26986 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
26988         * org-colview.el (org-columns-new): Make this work with the new
26989         operators.
26990         (org-columns-store-format): Make this work with the new operators.
26992 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26994         * org-src.el (org-src-preserve-indentation): Document that this
26995         variable is also used during export.
26997         * org-exp.el (org-export-format-source-code-or-example):
26998         Preserve indentation if a block has a -i option, or if
26999         `org-src-preserve-indentation' is set.
27001         * org-exp-blocks.el (org-export-blocks-preprocess):
27002         Preserve indentation if a block has a -i option, or if
27003         `org-src-preserve-indentation' is set.
27005 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27007         * org.el (org-mode-map): Define the new archiving keys.
27008         (org-speed-commands-default): Define an archiving key in the speed
27009         command map.
27010         (org-org-menu): Improve the menu structure concerning archiving.
27012         * org-archive.el (org-archive-subtree-default-with-confirmation):
27013         New command.
27015         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
27016         (org-agenda-menu): Add the new archiving commands to the menu.
27017         (org-agenda-archive-default)
27018         (org-agenda-archive-default-with-confirmation): New commands.
27019         (org-agenda-archive, org-agenda-archive-to-archive-sibling):
27020         Just call `org-agenda-archive-with'.
27021         (org-agenda-archive-with): New function.
27023         * org-table.el (org-table-convert-region): Inert spaces around "|"
27024         to avoid line beginnings like "|-1" which will be mistaken as
27025         hlines.
27027 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27029         * org.el (org-offer-links-in-entry): Return nil if there are no
27030         links, t if a link has been selected.
27031         (org-open-at-point): Open attachment directory when called in the
27032         headline and there are no links in the entry body.
27033         (org-speed-commands-default): Add "o" for open-at-point as a speed
27034         command.
27036         * org-attach.el (org-attach-reveal): Optional prefix arg
27037         IF-EXISTS, which avoids creating the attachment directory if it
27038         does not yet exist.
27040         * org-agenda.el (org-agenda, org-run-agenda-series):
27041         Evaluate MATCH.
27043 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27045         * org.el ("abbrev"): Work with abbrev tables only after they have
27046         been loaded.
27048         * org-list.el (org-list-send-list): Fix bug related to match
27049         data.
27051         * org-latex.el (org-export-latex-fontify): Apply verbatim
27052         emphasis.
27053         (org-export-latex-make-header): Insert \obeylines if line breaks
27054         should be preserved.
27056         * org-exp.el (org-export-protect-verbatim): Add an
27057         `org-verbatim-emph' property to such text.
27059 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27061         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
27062         (org-print-icalendar-entries): Skip entries where the timestamp is
27063         not a deadline and not scheduled, if the user requests that.
27065         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
27066         before an opening quote.
27068         * org-archive.el (org-archive-subtree): Keep archive after
27069         archiving something.
27071         * org-id.el (org-id-update-id-locations): Add archive files if
27072         that is required by `org-id-extra-files'.
27074 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27076         * org-src.el (org-src-window-setup): New option.
27077         (org-src-switch-to-buffer): New function.
27078         (org-edit-src-exit): Add optional argument CONTEXT and use it to
27079         restore window configuration.
27080         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
27081         Call `org-src-switch-to-buffer'.
27083         * org.el (org-default-properties): Add STYLE property.
27084         (org-files-list): Use the function call to get the files.
27085         (org-additional-option-like-keywords): Add SETUPFILE to completion
27086         list.
27088 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27090         * org-table.el (org-table-convert-region): Correctly interpret
27091         quoting in csv import.
27093         * org.el (org-icompleting-read): Make iswitchb completion work
27094         with lists and tables.
27096         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
27097         while pushing the mobile agenda.
27099 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27101         * org-clock.el (org-clock-auto-clock-resolution): Now takes three
27102         values: nil, t and `when-no-clock-is-running'.
27103         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
27104         whether or not to resolve Org buffers on clock in.
27106 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27108         * org-colview.el (org-format-time-period): Function to format
27109         times in fractional days for display.
27110         (org-columns-display-here): Add support for showing a calculated
27111         value in place of the property.
27112         (org-columns): Set `org-columns-time' to the current time so time
27113         difference calculations will work.
27114         (org-columns-time): Use to store the current time when column view
27115         is displayed, so all time differences will use the same reference
27116         point.
27117         (org-columns-compile-map): There is now an extra position in each
27118         entry specifying the function to use to calculate the displayed
27119         value for the non-calculated properties in the column.
27120         (org-columns-compute-all): Set `org-columns-time' to the current
27121         time so time difference calculations will work.
27122         (org-columns-compute): Handle column operators where the values
27123         used are calculated from the underlying property.
27124         (org-columns-number-to-string): Handle the 'age' column format.
27125         (org-columns-string-to-number): Correct the function name (was
27126         org-column...).  Add support for the 'age' column format.
27127         (org-columns-compile-format): Support the additional parameter in
27128         org-columns-compile-map.
27130 2009-11-13  Bastien Guerry  <bzg@gnu.org>
27132         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
27133         variable.
27135 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27137         * org-clock.el (org-clock-has-been-used): New variable.
27138         (org-clock-in): Set `org-clock-has-been-used'.
27139         (org-clock-save): Save only if clock data has been used or created
27140         during this session.
27142 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27144         * org-clock.el (org-clock-persist): New value, to store only the
27145         clock history.
27146         (org-clock-save): Don't save the clock if only the history should
27147         be stored.
27148         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
27149         when restoring a saved clock.
27151 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27153         * org-clock.el (org-clock-display, org-clock-put-overlay):
27154         Use `org-time-clock-use-fractional'.
27156         * org.el (org-time-clocksum-use-fractional)
27157         (org-time-clocksum-fractional-format): Two new customizable
27158         variables which allow the user to select fractional times (1.25
27159         instead of 1:25) in the `org-clock-display' report.
27161 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27163         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
27164         New option.
27166         * org.el (org-tag-alist): Fix customization type.
27168 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27170         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
27171         Make sure the regexp search can fail without throwing an error.
27172         (org-mobile-apply): Save the inbox buffer after removing
27173         successfully applied changes.
27175 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27177         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
27178         time is reported after the user comes back (but before they
27179         resolve time).
27181         * org.el (org-get-repeat): Change so that this function can be
27182         called with either `org-scheduled-string' or
27183         `org-deadline-string'.
27185         * org-clock.el (org-clock-auto-clock-resolution): Rename from
27186         `org-clock-disable-clock-resolution', since negatives don't sound
27187         good in customization variables.
27188         (org-clock-in): Don't use the auto-resolution logic if the user is
27189         clocking into a different task while an active clock is running.
27190         This then allows the default behavior of clocking out of the open
27191         task and then into the new task.
27193         * org.el (org-modules): Made this variable more consistent, since
27194         it was referring to Org, OrgMode and Org-mode, whereas the docs
27195         for the variable always refer to Org-mode.
27197 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27199         * org.el (org-repeat-re): The changed org-repeat-re no longer
27200         matched simple +2d type repeaters.  Fix it so it does.
27202 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27204         * org-latex.el (org-export-latex-preprocess): Protect the vspace
27205         macro in the VERSE environment.
27207 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27209         * org-habit.el (org-habit-get-priority): A new function that
27210         determines the relative priority of a habit, based on how long
27211         past its scheduled date it is, and how near the deadline is.
27213         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
27214         using `org-habit-get-priority'.
27216         * org-habit.el (org-habit-build-graph): Start displaying colors
27217         from the first scheduled date, if that date is earlier than the
27218         first completion date.
27220         * org-habit.el: Changed all "color" variables to faces, and made
27221         them appropriate for light and dark backgrounds.
27223         * org-habit.el (org-habit-duration-to-days): Made this function
27224         more general.
27225         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
27227         * org-agenda.el (org-agenda-get-deadlines): Remove all mention of
27228         habits, since they don't use DEADLINE anymore.
27230         * org.el (org-repeat-re, org-display-custom-time)
27231         (org-timestamp-change): Extend to support the new ".+N/N"
27232         syntax, used for habits.
27234         * org-clock.el (org-clock-resolve-clock): Fix an incorrect
27235         variable reference.
27237         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
27238         modeline when habits are being displayed (if that module is being
27239         loaded).
27241 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27243         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
27244         idle time using the xscreensaver extension.
27245         (org-user-idle-seconds): Use X11 idle time if available.
27247 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27249         * org-agenda.el (org-agenda-next-line): New command.
27250         (org-agenda-previous-line): New commands.
27251         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down):
27252         New commands.
27253         (org-agenda-follow-mode): Do the follow immediately if the mode is
27254         turned on here.
27255         (previous-line, next-line): Replace keys with the corresponding
27256         org functions.
27257         (org-agenda-mode-map): Bind backspace and delete to the scrolling
27258         command.
27260         * org.el (org-icompleting-read): Turn off partial completion mode
27261         for the duration of this completion round.
27263         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
27264         macros in author lines and similar stuff.
27266         * org.el (org-file-tags): Fix docstring.
27267         (org-get-buffer-tags): Add the #+FILETAGS tags.
27268         ("ecb"): Make ecb show context after jumping into an Org file.
27270 2009-11-13  John Wiegley  <johnw@newartisans.com>
27272         * org-agenda.el (org-finalize-agenda): Draw habit consistency
27273         graphs after everything else in the buffer has been setup.
27275 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27277         * org-mobile.el (org-mobile-apply): Count success and failure.
27279         * org.el (org-indent-line-function): Fix regexp replace problem.
27281 2009-11-13  John Wiegley  <johnw@newartisans.com>
27283         * org-clock.el (org-clock-disable-clock-resolution):
27284         New customization variable that disable automatic clock resolution on
27285         clock in.
27286         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
27287         not automatically resolve anything.  This is does not affect
27288         idle-time resolution, however, if `org-clock-idle-time' is set.
27290 2009-11-13  John Wiegley  <johnw@newartisans.com>
27292         * org-habit.el: New file, which implements code to build a "habit
27293         consistency graph".
27295         * org-agenda.el (org-agenda-get-deadlines)
27296         (org-agenda-get-scheduled): Display consistency graphs when
27297         outputting habits into the agenda.  The graphs are always relative
27298         to the current time.
27299         (org-format-agenda-item): Add new parameter `habitp', which
27300         indicates whether we are formatting a habit or not.  Do not
27301         display "extra" leading information if habitp is true.
27303         * org.el (org-repeat-re): Improve regexp to include .+ and ++
27304         leaders for repeat strings.
27305         (org-get-repeat): Now takes a string parameter `tagline', so the
27306         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
27308 2009-11-13  John Wiegley  <johnw@newartisans.com>
27310         * org-agenda.el (org-agenda-auto-exclude-function):
27311         New customization variable for allowing the user to create an "auto
27312         exclusion" filter for doing context-aware auto tag filtering.
27313         (org-agenda-filter-by-tag): Changes to support the use of
27314         `org-agenda-auto-exclude-function'.  See the new manual addition.
27316 2009-11-13  John Wiegley  <johnw@newartisans.com>
27318         * org.el (org-files-list): Don't attempt to return a file name for
27319         Org buffers which have no associated file.
27321         * org-agenda.el (org-agenda-do-action): Fix a typo.
27323 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27325         * org-mobile.el (org-mobile-locate-entry): Interpret files
27326         relative to org-directory.
27327         (org-mobile-inbox-for-pull): Document the best location for this
27328         file.
27329         (org-mobile-check-setup): Verify `org-directory'.
27330         (org-mobile-create-index-file): Sort the files to be listed in
27331         index.org.
27333 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27335         * org.el (org-fast-tag-selection): Add a way to display a
27336         description for a tag group.  This is done by adding a string to
27337         either the startgroup or endgroup cell.
27339 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27341         * org-clock.el (org-clock-resolve, org-resolve-clocks)
27342         (org-emacs-idle-seconds): Use `org-float-time' instead of
27343         `time-to-seconds'.
27345 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27347         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
27348         type.
27350         * org.el (org-pre-cycle-hook): Document that `empty' can also be
27351         the value of ARG when doing local cycling.
27353 2009-11-13  John Wiegley  <johnw@newartisans.com>
27355         * org-clock.el (org-clock-resolve-clock): If keeping or
27356         subtracting time results in a clock out at a time in the past, and
27357         if the resolution occurred due to idleness or invoking `M-x
27358         org-resolve-clocks', remember that past moment in time.  On the
27359         next clock in, the user will be prompted to see if they want to
27360         back-date their new clock to then.
27361         (org-clock-resolve): Do not jump the user to the location of a
27362         dangling clock if the resolution is occurring due to an idle
27363         timeout.  In that case there is typically only one dangling clock,
27364         the active one, and there is no value gained by shuffling their
27365         windows around to show it to them.  Being prompted to resolve an
27366         idle clock should be as inobtrusive as possible.
27367         (org-resolve-clocks-if-idle): New function that resolves only the
27368         currently active clock if the user has exceeded the time returned
27369         by `org-user-idle-seconds', based on the value of
27370         `org-clock-idle-time'.
27371         (org-clock-in): If, after resolving clocks, (???)
27372         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
27374         * org-clock.el (org-clock-resolve-clock): New function that
27375         resolves a clock to a specific time, closing or resuming as need
27376         be, and possibly even starting a new clock.
27377         (org-clock-resolve): New function used by `org-resolve-clocks'
27378         that sets up for the call to `org-clock-resolve-clock'.
27379         It determines the time to resolve to based on a single-character
27380         selection from the user to either keep time, subtract away time or
27381         cancel the clock.
27382         (org-resolve-clocks): New user command which resolves dangling
27383         clocks -- that is, open but not active -- anywhere in the file
27384         list returned by `org-files-list'.
27385         (org-clock-in): Automatically resolve dangling clocks whenever a
27386         user clocks in.
27387         (org-clock-cancel): If the user cancels the solely clock in a
27388         LOGBOOK, remove the empty drawer.
27390         * org-clock.el (org-clock-idle-time): New user customizable option
27391         for detecting whether the user has left a clock idle.  Note: it is
27392         only used in this commit to test whether it's worthwhile to check
27393         OS X to get the Mac user's current idle time.  If the Emacs idle
27394         time is less than the value, the user hasn't been away long enough
27395         to be worth checking (a more expensive test than just getting
27396         Emacs idle time).
27397         (org-user-idle-seconds, org-mac-idle-seconds)
27398         (org-emacs-idle-seconds): This three functions, in conjunction
27399         with the user customization variable `org-clock-idle-time', return
27400         the number of seconds (as a floating point) that the user has been
27401         away from their Emacs (or, if running on OS X, their computer).
27403         * org-clock.el (org-find-open-clocks): New function that returns a
27404         list of all open clocks in the given FILE.  Note that each clock
27405         it returns is a cons cell of the format (MARKER . START-TIME).
27406         This "clock" value is used by several of the new clock module
27407         utility functions.
27408         (org-is-active-clock): New inline function which tests whether the
27409         given clock value is the same as the currently active clock.
27410         Returns non-nil if this is the case.
27411         (org-with-clock-position): New macro that evaluates FORMS with
27412         point in the buffer and at the position of the given clock.
27413         Changes to the current clock are global.
27414         (org-with-clock): New macro that evaluates FORMS with point in the
27415         buffer and at the position of the given clock.  However, changes
27416         to the current clock are local and have no effect on the user's
27417         active clock.  This allows, for example, far any clock to be
27418         canceled without canceling the active clock.
27419         (org-clock-clock-in): New inline function that switches the active
27420         clock to the given clock.  If either the argument RESUME, or the
27421         global `org-clock-in-resume', are non-nil, it will resume a clock
27422         that was previously left open.
27423         (org-clock-clock-out): New inline function that clocks out the
27424         given clock value without affecting the currently active clock.
27425         (org-clock-clock-cancel): New inline function that cancels the
27426         given clock value without affecting the currently active clock.
27428         * org-clock.el (org-clock-in): Before creating
27429         `org-clock-mode-line-timer', check to make sure an older timer is
27430         not currently running.
27431         (org-clock-out): Accept new third parameter `at-time', which
27432         permits a clock to be clocked out at a specific time.  Note that
27433         no attempt is made to verify that the clock out time is later than
27434         the clock in time.
27436         * org.el (org-files-list): New utility function for returning a
27437         list of all open org-mode buffers, plus all files used to build
27438         the agenda buffer.  Note that not all the files will necessarily
27439         be visited by a buffer at time of call.
27440         (org-entry-beginning-position): Like the function
27441         `line-beginning-position', this inline function returns the
27442         beginning position of the current heading/entry.
27443         (org-entry-end-position): Like the function `line-end-position',
27444         this inline function returns the end position of the current
27445         heading/entry.
27447 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27449         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
27450         a header line.
27452 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27454         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
27456 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27458         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
27459         entries that have no tags.
27460         (org-agenda-search-view): New customize group.
27461         (org-agenda-search-view-search-words-only): New option.
27462         (org-search-view): Implement substring search.
27464 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27466         * org.el (org-outline-level): Add doc string.
27468 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27470         * org-inlinetask.el (org-inlinetask-export): Re-introduce
27471         variable.
27472         (org-inlinetask-export-handler): Only export inline task if the
27473         user option calls for it.
27475 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27477         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
27478         END if present.
27480 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27482         * org-latex.el (org-export-latex-tables): Don't format in
27483         protected regions.
27485 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27487         * org-src.el (org-edit-src-code)
27488         (org-edit-src-find-region-and-lang, org-edit-src-exit):
27489         Handle macro editing.
27491         * org-agenda.el (org-prefix-category-max-length): New variable.
27492         (org-format-agenda-item): Use `org-prefix-category-max-length'.
27493         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
27495 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27497         * org-mobile.el (org-mobile-create-index-file): Improve the
27498         listing of tags and todo keywords.
27500         * org-latex.el (org-export-latex-format-image): New function.
27501         (org-export-latex-links): Use `org-export-latex-format-image'.
27503 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27505         * org-inlinetask.el (org-inlinetask-get-current-indentation)
27506         (org-inlinetask-remove-terminator): New functions.
27507         (org-inlinetask-export-handler): Terminate the description list.
27509         * org-exp.el (org-export-select-backend-specific-text): Remove the
27510         region markers.
27512         * org-inlinetask.el (org-inlinetask-export-handler): Fix bug for
27513         tasks without content.
27515         * org-clock.el: Make sure the clock-in target position does not
27516         move to a different node by widening the buffer.
27518         * org-html.el (org-export-html-format-image): Wrap image into
27519         figure div only when there is a caption.
27521         * org-archive.el (org-archive-mark-done): Change default value to
27522         nil.
27524 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27526         * org.el (org-context): Call `bobp', not `eobp'.
27528         * org-clock.el (org-clock-cancel): Remove quotes from marker
27529         variables.
27531         * org.el (org-read-date-prefer-future): New allowed value `time'.
27532         (org-read-date-analyze): Shift day to tomorrow depending on time
27533         entered and value of `org-read-date-prefer-future'.
27535 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
27537         * org.el (org-version, org-get-refile-targets, org-refile)
27538         (org-store-log-note, org-diary-to-ical-string)
27539         (org-speedbar-set-agenda-restriction):
27540         * org-publish.el (org-publish-find-title):
27541         * org-plot.el (org-plot/gnuplot):
27542         * org-mouse.el (org-mouse-do-remotely):
27543         * org-mobile.el (org-mobile-move-capture):
27544         * org-mac-message.el (org-mac-message-insert-flagged):
27545         * org-latex.el (org-replace-region-by-latex):
27546         * org-docbook.el (org-replace-region-by-docbook):
27547         * org-clock.el (org-clock-out, org-clock-cancel):
27548         * org-bibtex.el (org-execute-file-search-in-bibtex):
27549         Use with-current-buffer.
27551 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
27553         * org.el (org-directory, org-map-entries):
27554         * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
27556 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27558         * org.el (org-set-tags-to): New command.
27560         * org-latex.el (org-export-latex-set-initial-vars): Also check in
27561         the plist.
27563         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
27564         keyword.
27566         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
27568 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27570         * org-inlinetask.el (org-inlinetask-export): Option removed.
27571         (org-inlinetask-export-handler): Better export.
27573         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
27574         (org-export-as-xoxo): Run the new hook.
27576         * org-html.el (org-export-html-final-hook): New hook.
27577         (org-export-as-html): Run the new hook.
27579         * org-docbook.el (org-export-docbook-final-hook): New hook.
27580         (org-export-as-docbook): Run the new hook.
27582         * org-ascii.el (org-export-ascii-final-hook): New hook.
27583         (org-export-as-ascii): Run the new hook.
27585         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
27586         space character as the character before the ^/_.
27587         (org-export-latex-final-hook): New hook.
27588         (org-export-as-latex): Run `org-export-latex-final-hook'.
27590 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27592         * org-macs.el (org-if-unprotected-at): Fix docstring.
27594         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
27595         text in the prefix (if category is a link).
27597         * org-latex.el (org-export-latex-preprocess): Deal properly with
27598         empty lines in verse environments.
27600         * org.el (org-format-latex-header): Inline fullpage.sty.
27602         * org-footnote.el (org-footnote-create-definition): Reveal context
27603         to add a new footnote definition.
27605         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
27606         org-table-recalculate when cursor is in TBLFM line.
27608         * org-list.el (org-renumber-ordered-list): Fix cursor position
27609         when bullet length has changed.
27611 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27613         * org.el (org-format-latex): Mention `org-format-latex-options' in
27614         the docstring.
27616 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27618         * org.el (org-agenda-get): New function.
27620         * org-agenda.el (org-agenda-post-command-hook): No longer move
27621         point away from end of line.
27622         (org-agenda-add-entry-text, org-agenda-collect-markers)
27623         (org-finalize-agenda, org-agenda-mark-clocking-task)
27624         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
27625         (org-agenda-entry-text-show, org-agenda-highlight-todo)
27626         (org-agenda-compare-effort, org-agenda-filter-apply)
27627         (org-agenda-later, org-agenda-change-time-span)
27628         (org-agenda-post-command-hook, org-agenda-show-priority)
27629         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
27630         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
27631         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
27632         (org-agenda-open-link, org-agenda-copy-local-variable)
27633         (org-agenda-switch-to, org-agenda-check-no-diary)
27634         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
27635         (org-agenda-add-note, org-agenda-change-all-lines)
27636         (org-agenda-priority, org-agenda-set-tags)
27637         (org-agenda-set-property, org-agenda-set-effort)
27638         (org-agenda-toggle-archive-tag, org-agenda-date-later)
27639         (org-agenda-show-new-time, org-agenda-date-prompt)
27640         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
27641         (org-agenda-clock-in, org-agenda-bulk-mark)
27642         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note):
27643         Use `org-get-at-bol'.
27645         * org-colview.el (org-columns-display-here)
27646         (org-columns-edit-allowed, org-agenda-columns):
27647         Use `org-get-at-bol'.
27649 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27651         * org.el (org-special-ctrl-a/e): Improve documentation and
27652         customize type.
27653         (org-end-of-line): Don't jump to after the ellipsis.
27654         (org-mode-map): Bind <home> and <end> as well.
27656 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27658         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
27659         space after #+ as comments.
27660         (org-open-at-point): Run `org-follow-link-hook' always.
27662         * org-latex.el (org-export-latex-emph-format): Use better commands
27663         to insert special characters in verbatim snippets.
27665 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27667         * org-faces.el (org-copy-face): New function.  Use it to create
27668         various faces formerly created by using `copy-face'.
27670         * org-agenda.el (org-prepare-agenda): Don't officially mark this
27671         window dedicated.
27672         (org-agenda-quit): Kill the frame containing the agenda window if
27673         that frame was created for the agenda.
27675 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27677         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
27678         stamp in the agenda.
27680 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27682         * org-agenda.el (org-prepare-agenda):
27683         Reset `org-drawers-for-agenda'.
27684         (org-prepare-agenda): Uniquify list of drawers.
27686         * org.el (org-complex-heading-regexp-format): New variable.
27687         (org-set-regexps-and-options):
27688         Define `org-complex-heading-regexp-format'.
27689         (org-drawers-for-agenda): New variable.
27690         (org-map-entries): Bind `org-drawers-for-agenda'.
27691         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
27693         * org-remember.el (org-go-to-remember-target)
27694         (org-remember-handler): Use `org-complex-heading-regexp-format'.
27696 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27698         * org-agenda.el (org-agenda-highlight-todo): Fix text property
27699         problem.
27701         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
27702         always with `invisible-ok'.
27703         (org-store-link): No error when there is nothing to link to in the
27704         agenda.
27706         * org-list.el (org-update-checkbox-count): Insert changed cookie
27707         before the old, to avoid problems with invisibility at the end of
27708         the line.
27709         (org-update-checkbox-count): Insert changed cookie before the old,
27710         to avoid problems with invisibility at the end of the line.
27712         * org.el (org-sort-entries-or-items): Include the final newline.
27713         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
27714         lines for fontification.
27715         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
27716         (org-prepare-dblock): Store the current indentation of the BEGIN
27717         line.
27718         (org-update-dblock): Apply the indentation of the begin line to
27719         the rest of the block.
27720         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
27721         (org-startup-folded): New allowed value `showeverything'.
27722         (org-startup-options): Add STARTUP keyword `showeverything'.
27723         (org-set-startup-visibility): Respect value `showeverything' in
27724         org-startup-folded.
27726 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27728         * org.el (org-closest-date): Fix issue with past preference.
27730         * org-archive.el (org-archive-set-tag)
27731         (org-archive-subtree-default): New commands.
27733         * org-clock.el (org-clock-clocktable-default-properties):
27734         New option.
27735         (org-clock-report):
27736         Use `org-clock-clocktable-default-properties'.
27738 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27740         * org.el (org-iswitchb-completing-read): Fix typo.
27742         * org-crypt.el: New file.
27744         * org.el: Add an entry for org-crypt.
27746 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27748         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
27749         consistency.
27750         (org-batch-store-agenda-views): New function.
27751         (org-agenda-title-append): Define variable.
27752         (org-write-agenda): New export to Org files.
27753         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
27754         (org-agenda): Allow to keep the restricted file list if a special
27755         variable is bound to t.
27756         (org-agenda): Define a special agenda view for working on flagged
27757         entries.
27758         (org-agenda-get-restriction-and-command): List the new agenda
27759         view.
27760         (org-agenda-show-the-flagging-note): New command.
27761         (org-agenda-mode-map): New key `?' for looking at the flagging
27762         note.
27764         * org.el (org-autoload): Autoload org-mobile.el.
27765         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
27767         * org-mobile.el: New file.
27769         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
27771 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27773         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
27774         statements.
27775         (org-table-get-remote-range): Match indented #+TBLNAME
27776         statements.
27778         * org.el (org-convert-to-odd-levels)
27779         (org-convert-to-oddeven-levels): Work also correctly if the file
27780         is in outline-mode.
27782 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27784         * org.el (org-store-link): When in agenda buffer, link to
27785         referenced entry.
27786         (org-add-planning-info): Remove spaces at eol.
27788         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
27789         property.
27791 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27793         * org-latex.el (org-export-latex-first-lines): Fix problem with
27794         LaTeX export of first line and selected subtree.
27796         * org.el (org-shifttab): Interpret arg differently when using only
27797         odd levels.
27799 2009-10-01  Bastien Guerry  <bzg@gnu.org>
27801         * org.el (org-check-agenda-file): Use a more explicit message.
27803 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27805         * org-exp.el (org-export-remove-special-table-lines): Don't remove
27806         normal lines.
27808 2009-10-01  Bastien Guerry  <bzg@gnu.org>
27810         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
27811         prompt in the temporary window.
27813         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
27814         prefix for marked entries in the agenda view.
27816 2009-10-01  Andreas Burtzlaff  <andy13@gmx.net>  (tiny change)
27818         * org.el (outline-end-of-subtree): Bugfix: advise this function in
27819         a way that prevents any trailing character from being displayed.
27821 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27823         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
27824         menu.
27826         * org-exp.el (org-export-remove-special-table-lines): Remove bad
27827         slow regexp match.
27829 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27831         * org-latex.el (org-export-latex-preprocess): Do not protect in
27832         the LaTeX header.
27834         * org-src.el (org-edit-src-save): Save window setup while saving.
27835         (org-edit-src-code): Use new buffer name construction scheme.
27837 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27839         * org-agenda.el (org-agenda-entry-text-exclude-regexps):
27840         New variable.
27841         (org-agenda-entry-text-cleanup-hook): New hook.
27842         (org-agenda-get-some-entry-text): Remove matches of
27843         `org-agenda-entry-text-exclude-regexps' and run the hook
27844         `org-agenda-entry-text-cleanup-hook'.
27846         * org.el (org-offer-links-in-entry): New argument ZERO to
27847         implement a link with index zero.
27848         (org-cycle-show-empty-lines): Not keep empty line under header
27849         hidden.
27850         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
27851         to nil for special completion.
27852         (org-store-link): Don't error before the first heading.
27854         * org-agenda.el (org-agenda-open-link): Pass the prefix to
27855         `org-offer-links-in-entry'.
27857 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27859         * org-agenda.el (org-agenda-quit): Provide the window argument for
27860         `window-dedicated-p', Emacs 22 needs it.
27861         (org-format-agenda-item): If the category is a link, arrange for
27862         invisible text to replaced with spaces.
27863         (org-compile-prefix-format): Add the extra space.
27864         (org-prefix-category-length): New variable.
27866         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
27867         references from TOC lines.
27869         * org.el (org-selected-window): New variable.
27871         * org-table.el (org-table-edit-formulas): Remember the selected
27872         window.
27873         (org-table-fedit-finish, org-table-fedit-abort): Select the window
27874         that was originally selected.
27876         * org-exp.el (org-export-preprocess-apply-macros): Scan the
27877         expansion of a macro for more macro definitions.
27879         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
27880         invisibility overlay starts on the newline.
27882 2009-10-01  Glenn Morris  <rgm@gnu.org>
27884         * org-agenda.el (calendar-check-holidays):
27885         * org-exp.el (org-agenda-skip):
27886         * org-list.el (outline-back-to-heading):
27887         * org-wl.el (wl-summary-goto-folder-subr):
27888         * org.el (iswitchb-mode, remember, remember-buffer-desc)
27889         (remember-finalize, remember-save-after-remembering, remember-register)
27890         (remember-buffer, remember-handler-functions)
27891         (remember-annotation-functions): Remove unused declarations.
27893         * org.el (iswitchb-read-buffer): Fix declaration.
27895 2009-09-30  Glenn Morris  <rgm@gnu.org>
27897         * org-compat.el (w32-focus-frame):
27898         * org-exp-blocks.el (R):
27899         * org-exp.el (htmlize-buffer):
27900         * org-protocol.el (server-edit):
27901         * org-table.el (org-format-org-table-html):
27902         * org.el (org-indent-mode): Fix declarations.
27904         * org-colview.el (org-columns-uncompile-format): Avoid assignment to
27905         free variable `fun'.
27907 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
27909         * org-agenda.el (org-agenda-restore-windows-after-quit):
27910         Fix typo in docstring.
27912 2009-09-23  Juanma Barranquero  <lekktu@gmail.com>
27914         * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
27915         (org-shiftselect-error, org-ctrl-c-ctrl-c):
27916         * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
27917         * org-attach.el (org-attach-check-absolute-path):
27918         * org-docbook.el (org-export-as-docbook):
27919         * org-html.el (org-export-as-html):
27920         * org-id.el (org-id-update-id-locations):
27921         * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
27922         Fix typos in error messages.
27924 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
27926         * org-ascii.el: Require CL for the `loop' macro.
27928 2009-09-05  Carsten Dominik  <dominik@u016822.science.uva.nl>
27930         * org-gnus.el (require): Wrap (require gnus-sum) into
27931         eval-when-compile.
27933 2009-09-03  Carsten Dominik  <dominik@u016822.science.uva.nl>
27935         * org-protocol.el (org-protocol-store-link)
27936         (org-protocol-remember, org-protocol-open-source): Remove autoload
27937         cookies again.
27939         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
27940         referencing the start of the line.
27942         * org-gnus.el: Remove unnecessary declare-function forms.
27943         (gnus-sum): Always require gnus-sum.
27945 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27947         * org-protocol.el (org-protocol-store-link)
27948         (org-protocol-remember, org-protocol-open-source): Add autoloads.
27950         * org-compat.el (org-float-time): New function.
27952         * org.el (org-clock-update-time-maybe)
27953         (org-sort-entries-or-items, org-do-sort)
27954         (org-evaluate-time-range, org-time-string-to-seconds)
27955         (org-closed-in-range): Use `org-float-time'.
27957         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
27958         (org-timer-seconds): Use `org-float-time'.
27960         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
27961         (org-clock-sum, org-dblock-write:clocktable)
27962         (org-clocktable-steps): Use `org-float-time'.
27964         * org-agenda.el (org-agenda-last-marker-time)
27965         (org-agenda-new-marker, org-diary): Use `org-float-time'.
27967         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
27968         function.
27970         * org-exp.el (org-get-file-contents): Only protect lines that
27971         really need it.
27973         * org-html.el (require): Require cl for compilation.
27975         * org.el: Avoid using `default-major-mode'.
27977         * org-plot.el (require): Require CL only at compile time.
27979         * org-exp.el (require): Require CL only at compile time.
27981         * org-agenda.el (org-agenda-quit): When the agenda window is
27982         dedicated, remove other windows before exiting, so that the frame
27983         really will be killed.
27985         * org-exp.el (org-export-handle-include-files): Reset START and
27986         END for each loop cycle.
27988 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27990         * org.el (org-eval-in-calendar):
27991         Use `org-select-frame-set-input-focus'.
27993         * org-compat.el (org-select-frame-set-input-focus): New function.
27995         * org.el (org-update-statistics-cookies): New function.
27996         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
27998 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28000         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
28001         after the local variables are set.
28003         * org-latex.el (org-export-latex-protect-amp): New function.
28004         (org-export-latex-links): Protect link ampersands in tables.
28006         * org-exp.el (org-export-select-backend-specific-text): Match in
28007         two steps, to avoid regexp problems.
28009         * org.el (org-offer-links-in-entry): Improve working with many and
28010         duplicate links.
28012         * org-agenda.el (org-agenda-show-1): Make more consistent with
28013         normal cycling.
28014         (org-agenda-cycle-show): Make more consistent with normal cycling.
28016         * org-gnus.el (org-gnus-store-link): Restore the linking to a
28017         website.
28019 2009-09-02  Bastien Guerry  <bzg@gnu.org>
28021         * org-latex.el (org-export-latex-first-lines): Bugfix.
28023 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28025         * org-clock.el (org-clock-modify-effort-estimate): Emit message
28026         about new effort.
28028         * org.el (org-set-effort): New function.
28029         (org-mode-map): New key for effort setting command.
28031         * org-agenda.el (org-agenda): Keep window setup when calling
28032         agenda from within agenda window.
28033         (org-agenda-mode-map): New keys for effort setting commands.
28034         (org-agenda-menu): Add effort setting commands to menu.
28035         (org-agenda-set-property, org-agenda-set-effort): New functions.
28037         * org-latex.el (org-export-latex-tables):
28038         Fix `org-table-last-alignment' and `org-table-last-column-widths' if
28039         the first column has been removed.
28041 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28043         * org.el (org-remove-timestamp-with-keyword): Only remove in
28044         entry, not in subtree.
28046         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
28047         emacs lisp.
28049         * org.el (org-open-at-point): When on headline, offer all strings
28050         in entry.
28052         * org-remember.el (org-remember-templates): Documentation fix.
28054         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
28055         `org-get-last-sibling' instead of the outline versions of these
28056         functions.
28057         (org-get-last-sibling): New function.
28058         (org-refile): Use `org-get-next-sibling' instead of the outline
28059         version of this function.
28060         (org-clean-visibility-after-subtree-move):
28061         Use `org-get-next-sibling' and `org-get-last-sibling' instead of the
28062         outline versions of these functions.
28064 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28066         * org-agenda.el (org-prepare-agenda): When creating a new frame
28067         for the agenda, make the window dedicated.
28069         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
28071         * org-table.el (org-table-align): Change the order of reinsertion
28072         and deletion, to avoid problems with overlays following the table.
28074         * org.el (org-parse-time-string): Better error message.
28075         (org-show-subtree): Use org-end-of-subtree.
28077         * org-macs.el (org-goto-line): New defsubst.
28079         * org.el (org-open-file, org-change-tag-in-region)
28080         (org-fast-tag-show-exit): Don't use `goto-line'.
28082         * org-table.el (org-table-align, org-table-insert-column)
28083         (org-table-delete-column, org-table-move-column)
28084         (org-table-sort-lines, org-table-copy-region)
28085         (org-table-paste-rectangle, org-table-wrap-region)
28086         (org-table-get-specials, org-table-rotate-recalc-marks)
28087         (org-table-get-range, org-table-recalculate)
28088         (org-table-edit-formulas, org-table-fedit-convert-buffer)
28089         (org-table-show-reference, org-table-highlight-rectangle):
28090         Don't use `goto-line'.
28092         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
28093         (org-edit-src-exit): Don't use `goto-line'.
28095         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
28097         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
28098         Don't use `goto-line'.
28100         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
28102         * org-colview.el (org-columns, org-columns-redo)
28103         (org-agenda-columns): Don't use `goto-line'.
28105         * org-agenda.el (org-agenda-mode): Force visual line motion off.
28106         (org-agenda-add-entry-text-maxlines): Improve docstring.
28107         (org-agenda-start-with-entry-text-mode): New option.
28108         (org-agenda-entry-text-maxlines): New option.
28109         (org-agenda-entry-text-mode): New variable.
28110         (org-agenda-mode): Set initial value of
28111         `org-agenda-entry-text-mode'.
28112         (org-agenda-mode-map): Add the `E' key.
28113         (org-agenda-menu): Add entry text mode to the menu.
28114         (org-agenda-get-some-entry-text): Fix line count bug.
28115         (org-finalize-agenda): Apply entry text mode if appropriate.
28116         (org-agenda-entry-text-show-here): New function.
28117         (org-agenda-entry-text-show): New function.
28118         (org-agenda-entry-text-hide): New function.
28119         (org-agenda-view-mode-dispatch): Add entry text mode to the view
28120         key menu.
28121         (org-agenda-entry-text-mode): New command.
28122         (org-agenda-set-mode-name): Add entry text mode to the mode line
28123         string.
28124         (org-agenda-undo, org-agenda-get-restriction-and-command)
28125         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
28126         `goto-line'.
28128 2009-09-02  Bernt Hansen  <bernt@norang.ca>
28130         * org-clock.el (org-notify): Bugfix.
28132 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28134         * org-agenda.el (org-agenda-open-link): Handle multiple links and
28135         check for after-string.
28137         * org-gnus.el (org-gnus-store-link): Simplify.
28139         * org.el (org-latex-regexps): Don't add extra empty lines for
28140         display formulas.
28142 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28144         * org-agenda.el (org-agenda-get-some-entry-text): New function.
28145         (org-agenda-add-entry-text):
28146         Use `org-agenda-get-some-entry-text'.
28148         * org.el (org-cycle-separator-lines): Update docstring.
28149         (org-cycle-show-empty-lines): Handle negative values for
28150         `org-cycle-show-empty-lines'.
28152         * org-exp.el (org-export-protect-sub-super): New function.
28153         (org-export-normalize-links): Protect the url of plain links from
28154         supscript and superscript processing.
28156         * org-remember.el (org-remember-escaped-%): New function.
28157         (org-remember-apply-template): Use `org-remember-escaped-%' to
28158         detect escaped % signs.
28160 2009-09-02  Bastien Guerry  <bzg@gnu.org>
28162         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
28163         sound when showing the notification.
28165         * org-clock.el (org-notify): New function.
28166         (org-clock-notify-once-if-expired): Use `org-notify'.
28168         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
28169         and `gnus-article-mode' separately.
28170         (gnus-summary-article-header): Fix the declare-function.
28172 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28174         * org-exp.el (org-export-format-source-code-or-example):
28175         Translate language.
28177         * org-src.el (org-src-lang-modes): New variable.
28178         (org-edit-src-code): Translate language.
28180         * org-exp.el (org-export-format-source-code-or-example): Deal wit
28181         the new structure of the `org-export-latex-listings-langs'
28182         variable.
28184         * org-latex.el (org-export-latex-listings-langs): Change structure
28185         of the variable from plist to alist.
28187 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28189         * org.el (org-in-commented-line): New function.
28191 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28193         * org.el (org-hide-block-toggle): Make folded blocks searchable.
28195 2009-09-02  Friedrich Delgado Friedrichs  <friedel@nomaden.org>  (tiny change)
28197         * org.el (org-flag-drawer): More useful error.
28199 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28201         * org-remember.el (org-remember-apply-template):
28202         Use org-icompleting-read.
28204         * org-publish.el (org-publish): Use org-icompleting-read.
28206         * org-colview.el (org-columns-edit-value, org-columns-new)
28207         (org-insert-columns-dblock): Use org-icompleting-read.
28209         * org-attach.el (org-attach-delete-one, org-attach-open):
28210         Use org-icompleting-read.
28212 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28214         * org.el (org-hierarchical-todo-statistics): Improve docstring.
28215         (org-version): Return the version text.
28216         (org-org-menu): Add a menu entry for the new bug reporter.
28217         (org-submit-bug-report): New command.
28219         * org-list.el (org-hierarchical-checkbox-statistics):
28220         Improve docstring.
28222         * org.el (org-emphasis-regexp-components): Add "`" to set of
28223         pre-emphasis characters.
28225         * org-latex.el (org-export-latex-classes): Always include the soul
28226         package.
28227         (org-export-latex-emphasis-alist): Use \st for strikethough.
28229         * org-exp-blocks.el (org-export-blocks-preprocess):
28230         Use `indent-code-rigidly' to indent.
28232         * org-agenda.el (org-agenda-get-restriction-and-command):
28233         Remove properties only if MATCH really is a string.
28235 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28237         * org-latex.el (org-export-latex-packages-alist):
28238         Fix customization type.
28240         * org.el (org-create-formula-image): Also use
28241         `org-export-latex-packages-alist'.
28243         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
28244         (org-export-as-html): Format footnotes correctly.
28246 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28248         * org.el (org-fast-tag-selection): Avoid text properties on tags
28249         in the alist.
28251         * org-agenda.el (org-agenda-get-restriction-and-command):
28252         Avoid text properties on the match element.
28254 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28256         * org.el (org-set-regexps-and-options): Make sure the list of done
28257         keywords is not invalid.
28259         * org-exp.el (org-export-interpolate-newlines): New function.
28261 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28263         * org.el (org-format-latex): Avoid nested overlays.
28265         * org-latex.el (org-export-latex-listings-langs): Add a few more
28266         languages.
28268         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
28269         ignore newlines and space before the first macro argument.
28271         * org-latex.el (org-export-latex-tables): Remove save-excursion
28272         around `org-table-align'.
28274 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28276         * org.el (org-export-html-special-string-regexps):
28277         Definition moved into org.el.
28279         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
28280         in macro calls.
28282 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28284         * org-latex.el (org-export-latex-listings)
28285         (org-export-latex-listings-langs): New options.
28287         * org-exp.el (org-export-format-source-code-or-example):
28288         Use listing package if requested by the user.
28290 2009-09-02  Bastien Guerry  <bzg@gnu.org>
28292         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
28293         command before actually switching to a buffer.
28295 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28297         * org-exp.el (org-get-file-contents): Only quote org lines when
28298         the markup is src or example.
28300         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
28301         New option.
28302         (org-agenda-get-day-entries): Remember deadline results and pass
28303         them on into the function getting the scheduling information.
28304         (org-agenda-get-scheduled): Accept deadline results as parameters
28305         and maybe skip some entries.
28306         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
28308         * org.el (org-insert-heading): When respecting content, do not
28309         convert current line to headline.
28311         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
28312         Also cheeeeeck the hd marker.
28313         (org-clock-in): Also set the hd marker.
28314         (org-clock-out): Also set the hd marker.
28315         (org-clock-cancel): Reset markers.
28317         * org.el (org-clock-hd-marker): New marker.
28319         * org-faces.el (org-agenda-clocking): New face.
28321         * org-agenda.el (org-agenda-mark-clocking-task): New function.
28322         (org-finalize-agenda): Call `org-agenda-mark-clocking-task'.
28324         * org.el (org-modules): Add org-track.el.
28326         * org-agenda.el (org-agenda-bulk-marked-p): New function.
28327         (org-agenda-bulk-mark, org-agenda-bulk-unmark):
28328         Use `org-agenda-bulk-marked-p'.
28329         (org-agenda-bulk-toggle): New command.
28331 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28333         * org.el (org-move-subtree-down): Hide subtree if it was folded,
28334         not just the body.
28336         * org-remember.el (org-remember-finalize): Avoid buffer-modified
28337         messages.
28339 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
28341         * org-html.el (org-export-as-html):
28342         * org-docbook.el (org-export-as-docbook):
28343         Use (default-value 'major-mode) instead of default-major-mode.
28345 2009-08-08  Carsten Dominik  <carsten.dominik@gmail.com>
28347         * org-docbook.el: Add arch-tag.
28349         * org-exp-blocks.el: Add arch-tag.
28351         * org-id.el: Add arch-tag.
28353         * org-indent.el: Add arch-tag.
28355         * org-inlinetask.el: Add arch-tag.
28357         * org-protocol.el: Add arch-tag.
28359 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28361         * org.el (org-create-formula-image): Remove the -E option for
28362         dvipng.
28364         * org-exp.el (org-default-export-plist): Respect #+BIND.
28365         (org-export-confirm-letbind): New function.
28367         * org.el (org-paste-subtree): Test the kill ring entry if it is
28368         going to be used.
28369         (org-copy-subtree): Use `org-forward-same-level'.
28370         (org-forward-same-level): Respect the `invisibe-ok' arg for
28371         back-to-heading.
28373 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28375         * org.el (org-table-map-tables): Make sure cursor is back at table
28376         beginning after funcall.
28378         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
28379         handled before children, and do not error if an entry is not
28380         found, probably because it hase been remove when the parent was
28381         archived or refiled.
28383         * org.el (org-ido-completing-read): Accept straight lists for
28384         completion as well as alists.
28386         * org-timer.el (org-timer-cancel-timers): Rename from
28387         `org-timer-cancel-timers'.
28389         * org.el (org-cycle-internal-local): Fix problem with finding next
28390         invisible line.
28392 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28394         * org-list.el (org-list-send-list):
28395         Call `org-list-goto-true-beginning' instead of
28396         `org-list-find-true-beginning', which does not exist.
28398         * org-timer.el (org-timer-reset-timers): Use `mapc'.
28399         (org-timer-set-timer): Do not assign to heading.
28401         * org-id.el (org-id-open): Quote function name.
28403         * org-macs.el (org-unmodified): Turn off recording undo
28404         information while running inside the macro.
28406         * org-table.el (org-table-export): Also work in file-less
28407         buffers.
28409         * org.el (org-startup-indented): New option.
28410         (org-startup-options): Add new options indent and noindent.
28411         (org-unfontify-region): Remove line-prefix and wrap-prefix
28412         properties.
28413         (org-after-demote-entry-hook, org-after-promote-entry-hook):
28414         New hooks.
28415         (org-promote, org-demote): Run the new hooks.
28417         * org-table.el (org-table-align): Replace leading \n as well.
28419         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
28420         and `line-wrap' text properties.
28422         * org-compat.el (org-kill-new): New function.
28424         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
28425         `line-wrap' text properties.
28427         * org-indent.el: New file.
28429 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28431         * org.el (org-provide-todo-statistics): Tweak docstring.
28433         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
28435 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28437         * org-exp.el (org-export-as-org): Insert the "-source" string
28438         before the extension.
28440         * org.el (org-read-date): Make sure the calendar is in the current
28441         frame.
28442         (org-set-emph-re): Remove the ? from the post-match.
28443         (org-emphasis-regexp-components): Add backslash to the
28444         postmatch class.
28445         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
28446         optional so that also lines at the end of the buffers will still
28447         be matched as headlines.
28449         * org-table.el (org-table-error-on-row-ref-crossing-hline):
28450         Variable made obsolete.
28451         (org-table-relative-ref-may-cross-hline): New option.
28452         (org-table-find-row-type): Honow the new option
28453         `org-table-relative-ref-may-cross-hline'.
28455 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28457         * org-table.el (org-table-cut-region, org-table-copy-region):
28458         Work on single field if no active region.
28460 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28462         * org-latex.el (org-export-latex-make-header): Only insert title
28463         if one is defined.
28465         * org.el (org-make-options-regexp): Allow empty values.
28467 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28469         * org.el (org-cycle-internal-local): Improve version of finding
28470         next visible line.
28471         (org-cycle-hide-drawers): Only hide drawers if this is really
28472         necessary.
28473         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
28474         org-version of this function in Org-mode.  We use advice to
28475         implement this change, so that future changes to this function in
28476         outline.el wil be handled properly.
28477         (org-forward-same-level, org-backward-same-level): New commands.
28479 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28481         * org.el (org-remove-empty-overlays-at)
28482         (org-clean-visibility-after-subtree-move): New functions.
28483         (org-move-subtree-down): Simplify cleanup of display.
28485 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28487         * org-mac-message.el (org-mac-message-get-links): Improve
28488         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
28489         "s".  Fix the return value.
28490         (org-mac-message-insert-flagged): Simplify.
28492         * org.el (org-refile-get-location): Tamper with refile history o
28493         that history contains compete matches instead of the entered
28494         string.
28496 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28498         * org.el (org-store-link): Never store a link to an inline task.
28500         * org-footnote.el (org-footnote-goto-local-insertion-point):
28501         Skip inline tasks when positioning footnotes.
28503         * org.el (org-refile): Remove the END line when archiving an
28504         inline task that does have an END line.
28506         * org-archive.el (org-archive-subtree): Remove the END line when
28507         archiving an inline task that does have an END line.
28509         * org-macs.el (org-with-limited-levels): New macro.
28510         (org-get-limited-outline-regexp): New function.
28512         * org-exp.el (org-export-format-source-code-or-example): Fix bug
28513         that did not enumerate first line.
28514         (org-export-mark-radio-links): Skip matches in links.
28516 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28518         * org.el (org-activate-plain-links): Make single-match.
28519         (org-adapt-indentation): Fix docstring.
28521         * org-macs.el (org-unmodified): Turn of modification hooks while
28522         running this macro.
28524 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28526         * org.el (org-adapt-indentation): Slightly improve the docstring.
28527         (org-occur): Sends an error when the user inputs an empty string.
28528         (org-priority): Bugfix: the tag alignement should happen within
28529         save-excursion.
28531 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28533         * org.el (org-make-link-regexps): Don't exclude parentheses from
28534         `org-plain-link-re'.
28535         (org-cycle-internal-local): When locally cycling, switch directly
28536         from CHILDREN to FOLDED if there is no subtree.
28537         (org-cycle): Update the docstring to document the new behavior of
28538         `org-cycle-internal-local'.
28540 2009-08-06  Nicolas Goaziou  <n.goaziou@neuf.fr>  (tiny change)
28542         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
28543         an abbreviated format for days.
28545 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28547         * org-protocol.el (org-protocol-default-template-key):
28548         New option.
28550         * org.el (org-refile): Bugfix: save-excursion before reading the
28551         refile target, otherwise cursor moves might confuse `org-refile'.
28553         * org.el (org-toggle-heading): Bugfix: correctly convert list
28554         items before the first headline.
28556         * org.el (org-provide-todo-statistics): Allow a list of TODO
28557         keywords to compute statistics against headlines containing a
28558         keyword from this list.
28559         (org-update-parent-todo-statistics): Possibly use the new allowed
28560         value of `org-provide-todo-statistics'.
28562 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28564         * org-timer.el: Add autoload cookie.
28566         * org.el (org-occur-link-in-agenda-files): New function.
28568         * org-timer.el (org-timer-last-timer): New variable.
28570         * org-agenda.el (org-agenda-mode-map): New key for
28571         org-timer-set-timer called from the agenda.
28573         * org.el (org-mode-map): New key for org-timer-set-timer.
28575         * org-timer.el (org-timer-reset-timers)
28576         (org-timer-show-remaining-time, org-timer-set-timer):
28577         New functions.
28579         * org-clock.el (org-show-notification): Update the docstring.
28581         * org.el (org-provide-todo-statistics): Allow new value
28582         'all-headlines for this option, which includes entries with no
28583         TODO keywords in the todo statistics.
28584         (org-update-parent-todo-statistics): Possibly use the new
28585         'all-headline value from `org-provide-todo-statistics'.
28587 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28589         * org-clock.el (org-dblock-write:clocktable): Add a new option
28590         :timestamp which allows display of timestamps in clock reports.
28592         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
28593         list to a subtree, preserving the structure of the list.
28594         (org-set-emph-re): Make the last element optional in the regexp.
28595         This regexp now matches an emphasized string at the end of a line.
28597         * org-list.el (org-list-goto-true-beginning)
28598         (org-list-make-subtree, org-list-make-subtrees): New functions.
28600         * org.el (org-eval-in-calendar): Select the right frame.
28601         (org-save-frame-excursion): Remove this macro.
28603 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28605         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
28606         trying to find the beginning of a list.
28608         * org-exp.el (org-get-file-contents): Use a new argument: markup.
28609         When present, tell org-get-file-contents not to protect org-like
28610         lines.
28612         * org-id.el (org-id-uuid-program): New option to set the name of
28613         the uuidgen program.
28614         (org-id-method): Use `org-id-uuid-program'.
28615         (org-id-new): Use `org-id-uuid-program'.
28617 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28619         * org-exp.el (org-export-number-lines): Allow whitespace in code
28620         references.  Allow the -r switch to remove the references in the
28621         source code even when the lines are not numbered: the labels can
28622         be explicit enough.
28624         * org.el (org-fontify-whole-heading-line): New option.
28625         (org-set-font-lock-defaults): Use the new option.
28627         * org-clock.el (org-show-notification-handler): New option.
28628         (org-show-notification): Use the new option.
28630 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28632         * org.el (org-eval-in-calendar): Fix a bug about calendar
28633         navigation when `calendar-setup' value is 'calendar-only.
28635 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28637         * org.el (orgstruct++-mode): Fix typo in docstring.
28638         (org-insert-link): Clean up: (or (...)) => (...)
28639         (org-insert-link): Use TAB for stored links completion.
28641 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28643         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
28644         building the list of targets.
28646         * org-remember.el (org-remember-delete-empty-lines-at-end):
28647         New option.
28648         (org-remember-handler): Use the new option.
28650 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
28652         * org.el (org-tags-sort-function): New option for sorting tags.
28653         (org-set-tags): Use the new option to sort tags.
28655         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
28656         premature deletion of the data when using org-plot in a script.
28658 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28660         * org-clock.el (org-clock-in-prepare-hook): New hook.
28661         (org-clock-in): Use this new hook.
28663 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28665         * org.el (org-special-ctrl-a/e): Explicitly bind the value
28666         'reversed for this option to the "true line boundary first"
28667         behavior.
28668         (org-tags-match-list-sublevels): Document the 'indented value for
28669         this variable.
28671         * org-latex.el (org-export-latex-first-lines): Fix problem with
28672         publishing the region.
28674         * org-exp.el (org-export-format-source-code-or-example):
28675         Fix bad line numbering when exporting examples in HTML.
28677 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
28679         * org-colview.el (org-format-time-period): Formats a time in
28680         fractional days as days, hours, mins, seconds.
28681         (org-columns-display-here): Add special handling for SINCE and
28682         SINCE_IA to format for display.
28684         * org.el (org-time-since): Add a function to get the time since an
28685         org timestamp.
28686         (org-entry-properties): Add two new special properties: SINCE and
28687         SINCE_IA.  These give the time since any active or inactive
28688         timestamp in an entry.
28689         (org-special-properties): Add SINCE, SINCE_IA.
28690         (org-tags-sort-function): Add custom declaration for tags
28691         sorting function.
28692         (org-set-tags): Sort tags if org-tags-sort-function is set.
28694 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28696         * org-clock.el (org-clock-goto): Find hidden headlines as well.
28698         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
28700         * org-plot.el (org-plot/add-options-to-plist): Add timeind
28701         option.
28703 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28705         * org-publish.el (org-publish-remove-all-timestamps): New function.
28706         (org-publish-all): Remove all timestamp files if `org-publish-all'
28707         is called with a prefix argument.
28709         * org-list.el (org-indent-item): Fix typo.
28710         (org-item-indent-positions): Normalize ordered bullet.
28712 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28714         * org-macs.el (org-set-local): Make a local variable, do not make
28715         the variable buffer-local!
28717         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
28719         * org-exp.el (org-infile-export-plist): Read BIND lines.
28720         (org-install-letbind): New function.
28721         (org-export-as-org, org-export-preprocess-string):
28722         Call `org-install-letbind'.
28724         * org-list.el (org-list-demote-modify-bullet): New option.
28725         (org-first-list-item-p): Save point.
28726         (org-fix-bullet-type): New optional argument FORCE-BULLET.
28727         (org-indent-item): Honor `org-list-demote-modify-bullet'.
28728         (org-item-indent-positions): Return bullet types along with
28729         indentation.
28731 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28733         * org.el (org-show-entry): Hide drawers.
28735 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28737         * org-footnote.el (org-footnote-auto-adjust): New option.
28738         (org-footnote-auto-adjust-maybe): New function.
28739         (org-footnote-new, org-footnote-delete):
28740         Call `org-footnote-auto-adjust-maybe'.
28742         * org.el (org-startup-options): Add new footnote-related
28743         keywords.
28745         * org-publish.el (org-publish-timestamp-filename): Additional
28746         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
28747         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
28748         TRUE-PUB-DIR.  Pass them through to
28749         `org-publish-timestamp-filename'.
28750         (org-publish-update-timestamp): Additional arguments PUB-DIR and
28751         PUB-FUNC, which are included in the hash.
28752         (org-publish-file): Delay timestamp test until the publishing
28753         function is known.
28755 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28757         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
28758         setting the deadline.
28760         * org.el (org-read-date-final-answer): New variable.
28761         (org-read-date): Store the final answer string, including the date
28762         from the calendar, for reuse by agenda bulk commands.
28764         * org-publish.el (org-publish-attachment): Fix publishing of
28765         attachments.
28767         * org-latex.el (org-export-latex-quotation-marks): Fix export of
28768         quotation makrs in parenthesis.
28769         (org-remove-initial-hash): New function.
28770         (org-export-latex-preprocess): Fix bug with infinite loop if
28771         environment is not properly closed.
28773         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
28774         when indented.
28776         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
28777         highlight also when indented.
28779 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28781         * org-footnote.el (org-footnote-renumber-fn:N): New command.
28782         (org-footnote-action): Offer renumbering.
28784         * org.el (org-cycle): Honor the `integrate' value of
28785         org-cycle-include-plain-lists'.
28787         * org-list.el (org-cycle-include-plain-lists): New allowed value
28788         `internal'.  Improve the docstring.
28790         * org.el (org-set-autofill-regexps): Improve the paragraph-start
28791         regexp to work better with LaTeX commands.
28793 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28795         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
28796         and eps extensions.
28798 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28800         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
28801         loaded.
28803         * org.el (org-map-entries): No longer force
28804         `org-tags-match-list-sublevels' to t during a todo-only tags
28805         search.
28807 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28809         * org-latex.el (org-export-latex-low-levels): Allow user-defined
28810         environment.
28811         (org-export-latex-subcontent): Handle user-defined environment.
28813         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
28814         the View dispatcher.
28816         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
28817         `make-overlay'.
28819         * org-latex.el (org-export-as-pdf): Protect match data during call
28820         to shell-quote-argument.
28822         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
28823         (org-agenda-view-mode-dispatch): New function.
28825 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28827         * org-agenda.el (org-agenda-mode): Reset list of marks.
28828         (org-agenda-mode-map): Define new keys for refile and bulk action.
28829         (org-agenda-menu): Add menu itesm for refile and bulk action.
28830         (org-agenda-refile): New function.
28831         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
28832         (org-agenda-marked-entries): New variable.
28833         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
28834         (org-agenda-remove-all-bulk-action-marks)
28835         (org-agenda-bulk-action): New functions/commands.
28837 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28839         * org-exp.el (org-get-file-contents): Protect org-like lines in
28840         included files.
28841         (org-export-format-source-code-or-example): Remove newlines.
28843         * org-latex.el (org-export-latex-links): Check for no-description
28844         marking.
28846         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
28847         argument separator back to comma.
28848         (org-export-normalize-links): Mark links without description.
28850 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28852         * org-exp.el (org-infile-export-plist): Fix bug in macro
28853         processing.
28855         * org-agenda.el (org-agenda-clock-out): Update line after clocking
28856         out.
28857         (org-agenda-highlight-todo): Fix bug with highlighting.
28859 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28861         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
28862         new alignment strings.
28864         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
28865         command list.
28866         (org-table-align): Check for forced align type.
28868         * org.el (org-self-insert-command): Add yas/expand to command
28869         list.
28871         * org-clock.el (org-clock-in-hook): New hook.
28872         (org-clock-in): Run `org-clock-in-hook.
28873         (org-clock-out-hook): New hook.
28874         (org-clock-out): Run `org-clock-out-hook.
28875         (org-clock-cancel-hook): New hook.
28876         (org-clock-cancel): Run `org-clock-cancel-hook.
28877         (org-clock-goto-hook): New hook.
28878         (org-clock-goto): Run `org-clock-goto-hook.
28880 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28882         * org.el (org-store-link): Better default description for link to
28883         Org-mode headline.
28885         * org-exp.el (org-export-generic): Autoload the generic exporter
28886         function.
28887         (org-export): Implement the `g' key for the generic exporter.
28889 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28891         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
28892         and for zbacktab'.
28894         * org-exp.el (org-infile-export-plist): Get macros also from
28895         #+SETUPFILE.
28897 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28899         * org-colview.el (org-columns-capture-view): Protect vertical bars
28900         in column values.
28901         (org-columns-capture-view): Exclude comment and archived trees.
28903         * org.el (org-quote-vert): New function.
28905         * org-latex.el (org-export-latex-verbatim-wrap): New option.
28907         * org-exp.el (org-export-format-source-code-or-example):
28908         Use `org-export-latex-verbatim-wrap'.
28910         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
28911         time stamps.
28913 2009-08-06  Eric Schulte  <schulte.eric@gmail.com>
28915         * org-exp-blocks.el: New file.
28917 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28919         * org-remember.el (org-remember-templates): Allow the headline
28920         element to be a function.
28921         (org-remember-apply-template): If the headline is a function, call
28922         it to get the true function.
28924         * org-clock.el (org-clock-menu): New function.
28925         (org-clock-update-mode-line): Update help string.
28926         (org-clock-modify-effort-estimate): New function.
28927         (org-clock-mark-default-task): New function.
28929         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
28930         minutes as input.
28931         (org-org-menu): Add new clocking stuff.
28932         (org-clock-is-active): New function.
28934 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28936         * org.el (org-open-non-existing-files): Improve docstring.
28938 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28940         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries):
28941         New option.
28942         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
28944         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
28946         * org-list.el (org-get-checkbox-statistics-face): Use the new
28947         faces.
28949         * org-faces.el (org-checkbox-statistics-todo)
28950         (org-checkbox-statistics-done): New faces.
28952 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28954         * org-latex.el (org-export-latex-use-verb): New variable.
28955         (org-export-latex-emph-format): Prefer \texttt over \verb when
28956         org-export-latex-use-verb is set.
28958 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28960         * org-remember.el (org-remember-handler): Abort remember if the
28961         buffer is empty.
28963         * org-exp.el (org-export-format-source-code-or-example):
28964         Run `org-src-mode-hook'.
28966 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28968         * org.el (org-indent-line-function): Fix indentation of +#end lines.
28970 2009-08-06  Tassilo Horn  <tassilo@member.fsf.org>
28972         * org-gnus.el (org-gnus-store-link): Require message.el in
28973         org-gnus-store-link.
28975 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28977         * org-src.el: New file, split out of org.el.
28979         * org-macs.el (org-replace-match-keep-properties): New function.
28981         * org-exp.el (org-export-mark-blockquote-verse-center):
28982         Better preprocessing of center and quote and verse blocks.
28984         * org-list.el (org-list-end): Respect the stored "original"
28985         indentation when determining the end of the list.
28987         * org-exp.el (org-export-replace-src-segments-and-examples):
28988         Remember indentation correctly.
28990 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28992         * org-clock.el (org-clock-update-mode-line): Apply face
28993         org-mode-line-clock.
28995         * org-faces.el (org-mode-line-clock): New face.
28997 2009-08-06  Tassilo Horn  <tassilo@member.fsf.org>
28999         * org-gnus.el (org-gnus-store-link): Fix bug where
29000         `org-gnus-store-link' used wrong subject when called in an article
29001         buffer.  Patch provided by fengli AT gmail DOT com.
29003 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29005         * org-exp.el (org-export-format-source-code-or-example):
29006         Remember the original indentation of source code snippets and examples.
29008         * org-latex.el (org-export-as-latex): Relocate the table of
29009         contents.
29011         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
29013         * org-agenda.el (org-run-agenda-series): Scope global options also
29014         when creating the agenda buffer.
29016 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29018         * org.el (org-adapt-indentation): Improve documentation.
29019         (org-insert-property-drawer): Respect org-adapt-indentation when
29020         inserting the drawer.
29021         (org-remove-flyspell-overlays-in): New function.
29022         (org-do-emphasis-faces, org-activate-plain-links)
29023         (org-activate-code, org-fontify-meta-lines-and-blocks)
29024         (org-activate-angle-links, org-activate-footnote-links)
29025         (org-activate-bracket-links, org-activate-dates)
29026         (org-activate-target-links, org-activate-tags): Remove flyspell
29027         overlays.
29029 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29031         * org.el (org-edit-src-save): New function.
29033         * org-clock.el (org-clock-out-switch-to-state): New option.
29034         (org-clock-out): Honor `org-clock-out-switch-to-state'.
29036         * org-compat.el (org-compatible-face): Improve macro.
29038         * org.el (org-global-properties-fixed): Add default for
29039         CLOCK_MODELINE_TOTAL.
29041         * org-clock.el (org-clock-sum): Accept lists and strings as tstart
29042         and tend.
29043         (org-clock-sum-current-item): Optional argument TSTART, pass it to
29044         org-clock-sum.
29045         (org-clock-get-sum-start): New function.
29047         * org.el (org-startup-options): New keywords blockhide and
29048         blockshow.
29049         (org-mode): Add new invisibility spec.
29050         (org-set-startup-visibility): Hide block on startup if so
29051         desired.
29052         (org-hide-block-startup): New option.
29053         (org-block-regexp): New constant.
29054         (org-hide-block-overlays): New variable.
29055         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
29056         (org-show-block-all, org-hide-block-toggle-maybe)
29057         (org-hide-block-toggle): New functions.
29058         (org-edit-src-exit): Do not quote lines starting with # and no +
29059         behind it.
29060         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
29061         entry.
29063 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29065         * org.el (org-buffer-property-keys): Add Effort property for
29066         completion.
29068 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29070         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
29071         when retrieving total clocked time in the subtree.
29073         * org.el (org-quoting-blocks): New variable.
29075 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29077         * org-table.el (org-table-store-formulas)
29078         (org-table-get-stored-formulas, org-table-fix-formulas)
29079         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
29080         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
29082         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c):
29083         Allow indented #+TBLFM line.
29085         * org-footnote.el (org-footnote-goto-local-insertion-point):
29086         Allow indented #+TBLFM line.
29088         * org-colview.el (org-dblock-write:columnview): Allow indented
29089         #+TBLFM line.
29091         * org-clock.el (org-dblock-write:clocktable): Allow indented
29092         #+TBLFM line.
29094 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29096         * org-exp.el (org-export-format-source-code-or-example):
29097         Make editing indented blocks work correctly.
29099         * org.el (org-edit-src-nindent): New variable.
29100         (org-edit-src-code, org-edit-fixed-width-region)
29101         (org-edit-src-find-region-and-lang, org-edit-src-exit):
29102         Make editing indented blocks work correctly.
29104 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29106         * org-exp.el (org-export-replace-src-segments-and-examples):
29107         Find indented blocks.
29108         (org-export-format-source-code-or-example): Fix indentation of
29109         blocks.
29110         (org-export-remove-indentation): New function.
29111         (org-export-select-backend-specific-text): Allow backend-specific
29112         code to be indented.
29113         (org-export-mark-blockquote-verse-center): Allow markers to be
29114         indented.
29116         * org.el (org-fontify-meta-lines): New function.
29117         (org-set-font-lock-defaults): Call the new fontification
29118         function.
29120         * org-faces.el (org-meta-line): New face.
29121         (org-block): New face.
29123 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29125         * org.el (org-treat-insert-todo-heading-as-state-change)
29126         (org-treat-S-cursor-todo-selection-as-state-change):
29127         New variables.
29128         (org-insert-todo-heading):
29129         Honor `org-treat-insert-todo-heading-as-state-change'.
29130         (org-shiftright, org-shiftleft):
29131         Honor `org-treat-S-cursor-todo-selection-as-state-change'.
29132         (org-inhibit-logging): New variable.
29134 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29136         * org-agenda.el (org-remove-subtree-entries-from-agenda):
29137         Reduce range for marker position checking.
29139         * org-latex.el (org-export-latex-first-lines): Fix bug when
29140         exporting a region.
29142 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29144         * org-exp.el (org-export-push-to-kill-ring): Protect using
29145         x-set-selection, because that does not always work.
29147         * org-agenda.el (org-agenda-list): Apply the new face
29148         `org-agenda-date-today'.
29150         * org-faces.el (org-agenda-date-today): New face.
29152 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29154         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
29155         creating appointments.
29157         * org-latex.el (org-export-latex-low-levels): Fix customization
29158         type.
29160         * org.el (org-priority, org-shiftup, org-shiftdown):
29161         Disable priority commands.
29163         * org-agenda.el (org-agenda-priority): Disable priority commands.
29165         * org.el (org-enable-priority-commands): New option.
29167         * org-colview.el (org-columns-compute)
29168         (org-columns-number-to-string): Fix problems with empty fields.
29170         * org-exp.el (org-export-push-to-kill-ring): New function.
29171         (org-export-copy-to-kill-ring): New option.
29173         * org-latex.el (org-export-as-latex):
29174         Call `org-export-push-to-kill-ring'.
29176         * org-exp.el (org-export-show-temporary-export-buffer):
29177         New option.
29179         * org-latex.el (org-export-as-latex):
29180         Use `org-export-show-temporary-export-buffer'.
29182         * org-exp.el (org-export-show-temporary-export-buffer):
29183         New option.
29184         (org-export-push-to-kill-ring): New function.
29186         * org-colview.el (org-columns-compile-map): New variable.
29187         (org-columns-new, org-columns-compute)
29188         (org-columns-number-to-string, org-columns-uncompile-format)
29189         (org-columns-compile-format): Implement new operators.
29191 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29193         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
29195         * org-list.el (org-update-checkbox-count): Make property
29196         dependent.
29198         * org.el (org-hierarchical-todo-statistics): New option.
29199         (org-update-parent-todo-statistics): Modify to handle recursive
29200         statistics.
29202 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29204         * org-publish.el (org-publish): Make this function behave
29205         correctly in interactive use when called with a prefix argument.
29207         * org.el (org-todo-statistics-hook): New hook.
29208         (org-update-parent-todo-statistics): Use new hook.
29209         (org-log-into-drawer): New function.
29210         (org-add-log-setup): Use the new `org-log-into-drawer' function to
29211         determine if we should be logging into a drawer.
29212         (org-log-into-drawer): Update docstring.
29213         (org-default-properties): Add LOG_INTO_DRAWER as a property.
29215         * org-list.el (org-checkbox-statistics-hook): New hook.
29216         (org-update-checkbox-count-maybe): Use new hook.
29218 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29220         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
29221         better buffer-generating mechanism.
29222         (org-edit-src-find-buffer): New function.
29224         * org-icalendar.el (org-print-icalendar-entries): Don't check for
29225         archive tag, this is already done by `org-agenda-skip'.
29226         data while constructing lost of tags.
29228 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29230         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
29231         as argument separator in macros.
29233 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29235         * org.el (org-after-sorting-entries-or-items-hook): New hook.
29236         (org-sort-entries-or-items): Run the new hook.
29237         (org-after-refile-insert-hook): New hook.
29238         (org-refile): Run `org-after-refile-insert-hook'.
29240         * org-agenda.el (org-agenda-get-progress): Never take time of day
29241         from headline when displaying progress.
29243         * org-latex.el (org-export-latex-complex-heading-re): New variable.
29244         (org-export-as-latex): Force the correct regexp in the
29245         preprocessor buffer.
29246         (org-export-latex-set-initial-vars):
29247         Set `org-export-latex-complex-heading-re'.
29249         * org-agenda.el (org-agenda-start-with-log-mode): New option.
29250         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
29252 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29254         * org-latex.el (org-export-latex-tables-centered): New option.
29255         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
29257         * org-exp.el (org-export-as-org): New command.
29258         (org-export-as-org): New command.
29260         * org-publish.el (org-publish-org-to-org): New function.
29262 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29264         * org.el (org-yank): Just call `org-yank-generic'.
29265         (org-yank-generic): New function, containing the formaer
29266         functionality of `org-yank'.
29268         * org-latex.el (org-export-latex-not-done-keywords)
29269         (org-export-latex-done-keywords): New variables.
29270         (org-export-latex-todo-keyword-markup): New option.
29271         (org-export-latex-set-initial-vars): Remember the TODO keywords.
29272         (org-export-latex-keywords-maybe): Apply the TODO markup.
29274 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29276         * org-exp.el (org-infile-export-plist): Add more default macros.
29277         (org-export-preprocess-apply-macros): Process macro arguments.
29279 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29281         * org-icalendar.el (org-icalendar-include-todo): New allowed value
29282         `unblocked'.
29283         (org-print-icalendar-entries): Respect the new value of
29284         `org-icalendar-include-todo'.
29286         * org.el (org-link-try-special-completion)
29287         (org-file-complete-link): New functions.
29288         (org-insert-link): Add special completion support for some link
29289         types.
29291         * org-bbdb.el (org-bbdb-complete-link): New function.
29293 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29295         * org-list.el (org-update-checkbox-count): Allow recursive
29296         statistics.
29297         (org-hierarchical-checkbox-statistics): New option.
29299         * org.el (org-cycle): Remove erraneous space character.
29301         * org-icalendar.el (org-icalendar-timezone): Initialize from
29302         environment.
29304 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29306         * org.el (org-autoload): Fix autoloading of ascii export
29307         functions.
29308         (org-modules): Add org-special-blocks.
29310 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29312         * org-icalendar.el (org-start-icalendar-file): Use the new option.
29313         (org-ical-timezone): New option.
29315         * org-exp.el (org-export-get-coderef-format): Use the description
29316         is present.
29318         * org.el (org-sort-entries-or-items): Improve docstring, and make
29319         better implementation for time sorting.
29321 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29323         * org.el (org-edit-src-persistent-message): New option.
29324         (org-edit-src-code, org-edit-fixed-width-region): Use the new
29325         option.
29327         * org-clock.el (org-clock-insert-selection-line): Fix prefious
29328         patch.
29330         * org.el (org-edit-src-code, org-edit-fixed-width-region):
29331         Use separate buffer instead of indirect buffer to edit source code.
29332         (org-edit-src-exit): Make this function work with the new setup.
29334         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
29335         are properly fontified before shown in the selection menu.
29337         * org.el (org-fontify-like-in-org-mode): New function.
29339         * org-latex.el (org-export-latex-links): Use the property list to
29340         retrieve the default image attributes.
29342         * org-exp.el (org-export-plist-vars): Add a new option.
29344 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29346         * org-exp.el (org-export, org-export-visible): Support ASCII
29347         export to buffer.
29348         (org-export-normalize-links): Do not protect the description if it
29349         is explicitly given.
29351         * org-list.el (org-reset-checkbox-state-subtree): Move here from
29352         org-checklist.el.
29353         (org-reset-checkbox-state-subtree):
29354         Call `org-reset-checkbox-state-subtree'.
29356         * org-remember.el (org-select-remember-template): For the
29357         selection of a valid template.
29359         * org-latex.el (org-export-region-as-latex): Supply the
29360         force-no-subtree argument.
29361         (org-export-as-latex): Provide better limits when exporting the
29362         first line.  When exporting to string, we still want the first
29363         lines.
29364         (org-export-latex-first-lines): New argument END, to force the end
29365         of the region.
29366         (org-export-region-as-latex): Use the property list.
29367         (org-export-as-latex): ????
29369 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29371         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
29372         (org-export-latex-preprocess): Run the new hook.
29374         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
29375         (org-export-preprocess-string): Run the new hook.
29377 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29379         * org-macs.el (org-check-external-command): New defsubst.
29381         * org.el (org-mode-map): New key for reload.
29382         (org-format-latex): Better error message when external programs
29383         are not available.
29385         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
29387         * org.el (org-sort-entries-or-items): Explicit sorting function
29388         for priorities, needed for XEmacs compatibility.
29390         * org-remember.el (org-remember-apply-template): Improve auto-save
29391         behavior.
29393 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29395         * org-latex.el (org-export-latex-preprocess): Also protect
29396         environments ending in a star.
29398         * org-list.el (org-at-item-p): Fix regular expression.
29400 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29402         * org.el (org-end-of-subtree): Improve speed.
29404         * org-agenda.el (org-agenda-get-timestamps)
29405         (org-agenda-get-progress, org-agenda-get-deadlines)
29406         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
29407         in particular, wait as long as possible to collect the tags.
29408         (org-stuck-projects): Improve docstring.
29410         * org.el (org-store-link): No errors when getting custom id before
29411         first headline.
29412         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
29414 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29416         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
29418         * org-protocol.el: Remove dependency on url.el.
29419         (org-protocol-unhex-compound, org-protocol-open-source):
29420         Remove dependency on url.el.
29422         * org-latex.el (org-export-as-pdf):
29423         Use `org-latex-to-pdf-process'.
29425 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29427         * org-latex.el (org-latex-to-pdf-process): New option.
29429         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
29430         New option.
29431         (org-agenda-get-timestamps):
29432         Honor `org-agenda-skip-additional-timestamps-same-entry'.
29434         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
29435         (org-clock-goto): Find recent task only if
29436         `org-clock-goto-may-find-recent-task' allows it.
29438         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
29439         drawers, and drawers that are missing the :END: line.
29441 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29443         * org-clock.el (org-clock-goto): Go to recently clocked task if no
29444         clock is running.
29446 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29448         * org.el (org-update-parent-todo-statistics): Check for
29449         STATISTICS_FROM property.
29451         * org-list.el (org-update-checkbox-count): Check for
29452         STATISTICS_FROM property.
29454         * org.el (org-tab-first-hook)
29455         (org-tab-after-check-for-table-hook)
29456         (org-tab-after-check-for-cycling-hook): New hooks.
29457         (org-cycle-internal-global, org-cycle-internal-local):
29458         New functions, split out from `org-cycle'.
29459         (org-cycle): Call the new hooks.
29461 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29463         * org-exp.el (org-export-preprocess-string): Reset the list of
29464         preferred targets for each run of the preprocessor.
29466         * org.el (org-refile-target-verify-function):
29467         Improve documentation.
29468         (org-get-refile-targets): Respect point being moved by the
29469         verification function.
29471         * org-latex.el (org-export-latex-timestamp-keyword-markup):
29472         New option.
29473         (org-export-latex-keywords): Use new option.
29475         * org.el (org-rear-nonsticky-at): New defsubst.
29476         (org-activate-plain-links, org-activate-angle-links)
29477         (org-activate-footnote-links, org-activate-bracket-links)
29478         (org-activate-dates, org-activate-target-links)
29479         (org-activate-tags): Place the rear-nonsticky properties at the
29480         correct location.
29482 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29484         * org-protocol.el (server-edit): Declare `server-edit'.
29485         (org-protocol-unhex-string, org-protocol-unhex-compound):
29486         New functions.
29487         (org-protocol-check-filename-for-protocol): Call `server-edit'.
29489         * org.el (org-default-properties): New default properteis for
29490         completion.
29492         * org-exp.el (org-export-add-subtree-options): Add new properties
29493         for subtree export.
29495 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29497         * org-id.el (org-id-get-with-outline-path-completion): Turn off
29498         org-refile-target-verify-function for the duration of the command.
29500         * org.el (org-link-to-org-use-id): New possible value
29501         `create-if-interactive-and-no-custom-id'.
29502         (org-store-link): Use custom IDs.
29503         (org-link-search): Find custom ID properties from #link.
29504         (org-default-properties): Add CUSTOM_ID for property completion.
29505         (org-refile-target-verify-function): New option.
29506         (org-goto): Turn off org-refile-target-verify-function
29507         for the duration of the command.
29509 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29511         * org-exp.el (org-export-preferred-target-alist): New variable.
29512         (org-export-define-heading-targets): Find the new CUSTOM_ID
29513         property.
29514         (org-export-target-internal-links): Target the custom ids when
29515         possible.
29517         * org-latex.el (org-export-latex-preprocess): Better regexp for
29518         matching latex macros with arguments.
29520 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29522         * org-remember.el (org-remember-handler): Allow filing to non-org
29523         files.
29525 2009-08-06  Magnus Henoch  <magnus.henoch@gmail.com>
29527         * org-table.el (org-table-fix-formulas): Do not change references
29528         to remote tables.
29529         (org-table-get-remote-range): Convert standard coordinates to RC
29530         format.
29532         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
29534 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29536         * org-compat.el (org-sha1-string): Function removed.
29538         * org.el (org-refile-allow-creating-parent-nodes): New option.
29539         (org-refile-get-location): New argument NEW-NODES.
29540         (org-refile): Call `org-refile-get-location' with the new
29541         argument.
29542         (org-refile-get-location): Arrange for adding a new child.
29543         (org-refile-new-child): New function.
29545         * org-clock.el: Fix a number of docstrings.
29546         (org-clock-find-position): New argument
29547         FIND-UNCLOSED to make the function find an unclosed clock in the
29548         entry.
29549         (org-clock-in): Call `org-clock-find-position' with the new
29550         argument if we might be resuming a clock.
29552 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29554         * org-latex.el (org-export-latex-display-custom-times): New variable.
29555         (org-export-latex-timestamp-markup): New option.
29556         (org-export-latex-set-initial-vars): Remember the local value of
29557         `org-display-custom-times'.
29558         (org-export-latex-content): Process time stamps.
29559         (org-export-latex-time-stamps): New function.
29561         * org-macs.el (org-maybe-intangible): Add intangible property
29562         again to invisible text.
29564 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29566         * org-exp.el (org-default-export-plist): Handle undefined
29567         variables.
29569 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29571         * org.el (org-sort-entries-or-items): Match TODO keywords
29572         case-sensitively, when sorting.
29573         (org-priority): Do not match TODO keywords with wrong case.
29575 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29577         * org.el (org-todo): Honor the NOBLOCKING property.
29579         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
29580         NOBLOCKING property.
29582         * org.el (org-scan-tags): Fix bug in tag scanner.
29584 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29586         * org.el (org-modules): Mark obsolete packages.
29588         * org-html.el: New file, split out from org-exp.el.
29590         * org-icalendar.el: New file, split out from org-exp.el.
29592         * org-xoxo.el: New file, split out from org-exp.el.
29594         * org-ascii.el: New file, split out from org-exp.el.
29596 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29598         * org-compat.el (org-find-library-name): New function.
29600         * org.el (org-pre-cycle-hook): New hook.
29601         (org-cycle): Call the new hook in appropriate places.
29602         (org-reload): Only reload files that have been loaded before.
29604 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29606         * org.el (org-set-font-lock-defaults): Enforxe space or line end
29607         after todo keyword.
29608         (org-todo): When changing TODO state, do matching
29609         case-sensitively.
29610         (org-map-continue-from): New variable.
29611         (org-scan-tags): Respect values in `org-map-continue-from'.
29612         (org-reload): Make XEmacs compatible.
29614 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29616         * org-protocol.el (org-protocol-flatten-greedy): New function.
29617         (org-protocol-flatten): New function.
29619         * org.el (org-open-link-from-string): Pass reference buffer to
29620         `org-open-at-point'.
29621         (org-open-at-point): New optional argument `reference-buffer'.
29623 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29625         * org.el (org-scan-tags): Make tag scan find headline in first
29626         line, 2nd attempt.
29627         (org-get-refile-targets): Add the naked file name.
29628         (org-refile): Store as top-level entry when only file name was
29629         given.
29631         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
29633         * org.el (org-block-todo-from-children-or-siblings-or-parent):
29634         Rename from org-block-todo-from-children-or-siblings, and
29635         enhanced to look for the parent's status as well.
29637         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
29638         (org-agenda-get-progress): Add first notes line to log entry if so
29639         desired.
29641 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29643         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
29644         (org-agenda-cleanup-fancy-diary): Call the new hook.
29646         * org-remember.el (org-remember-apply-template): Take the default
29647         for the annotation from the :annotation property.
29649         * org-mac-message.el (org-mac-message-get-link): Remove the
29650         quotes.
29651         (org-mac-message-get-link): Return the result.
29653 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29655         * org.el (org-refile-get-location): Add file name only if not
29656         already included in outline path.
29658         * org-faces.el (org-n-level-faces): Fix customization type from
29659         number to integer.
29661         * org-exp.el (org-export-headline-levels): Fix customization type
29662         from number to integer.
29664         * org-agenda.el (org-agenda-confirm-kill)
29665         (org-agenda-custom-commands-local-options)
29666         (org-timeline-show-empty-dates, org-agenda-ndays)
29667         (org-agenda-start-on-weekday, org-scheduled-past-days):
29668         Fix customization type from number to integer.
29670 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29672         * org-protocol.el: Declare some functions.
29674         * org-agenda.el (org-agenda-compare-effort):
29675         Honor `org-sort-agenda-noeffort-is-high'.
29676         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
29677         (org-agenda-compare-effort): Implement the "?" operator for
29678         finding entries without effort setting.
29680         * org.el (org-extract-attributes-from-string): New function.
29682         * org-exp.el (org-export-splice-attributes): New function.
29684 2009-08-06  Bastien Guerry  <bzg@gnu.org>
29685         Daniel M German  <dmg@uvic.org>
29686         Sebastian Rose  <sebastian_rose@gmx.de>
29687         Ross Patterson  <me@rpatterson.net>
29689         * org-protocol.el: New file.
29691 2009-08-06  Baoqiu Cui  <cbaoqiu@yahoo.com>
29693         * org-docbook.el: New file.
29695 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29697         * org-mouse.el: XEmacs compatibility fixes.
29699         * org.el (org-modules): Add org-inlinetasks.el.
29700         (org-cycle): Implement limiting level on cycling.
29701         (org-move-subtree-down): Fix bug with swapping subtrees at end of
29702         buffer.
29704         * org-inlinetask.el: New file.
29706         * org.el (org-emphasis-regexp-components): Allow braces in
29707         emphasis pre and post match.
29709         * org-footnote.el (org-footnote-normalize): When only sorting, do
29710         not insert inline notes at the end.
29712         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
29714 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29716         * org.el (org-reftex-citation): New command.
29718 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29720         * org-agenda.el (org-agenda-cmp-user-defined): New option.
29721         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
29722         sorting options.
29723         (org-entries-lessp): Apply the new sorting option.
29725         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
29726         blocker code, when an older sibling has children.
29728         * org-mac-message.el (org-mac-message-get-link): Improve getting
29729         links from multiple selected messages.
29731 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29733         * org-remember.el (org-remember-finalize): Do not set buffer file
29734         name to nil.
29735         (org-remember-handler): Mark buffer as unmodified.
29736         (org-remember-handler): Delete backup file and show message about
29737         remaining backup files.
29738         (org-remember-auto-remove-backup-files): New option.
29740         * org.el (org-store-link): Use buffer name as link description in
29741         w3-mode buffers.
29742         (org-ido-switchb): Fix argument bug for completion.
29744         * org-remember.el (org-remember-apply-template): Set local
29745         variable `auto-save-visited-file-name' instead of global one.
29747 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29749         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
29750         (org-agenda-get-todos): Mark file tags as inherited.
29751         (org-agenda-list): Always search diary lines for a time.
29753 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29755         * org-feed.el: New file.
29757         * org-exp.el (org-export-as-html): Close local lists depending on
29758         indentation, also when starting a table.
29760         * org-remember.el (org-remember-backup-directory)
29761         (org-remember-backup-name): New internal variable.
29763 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29765         * org-clock.el (org-clock-out-if-current): Make buffer detection
29766         work in indirect buffers as well.
29768         * org.el (org-emphasis-regexp-components): Add the exxclamation
29769         mark to the post-emphasis characters.
29771 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29773         * org.el (org-read-date-minibiffer-septup-hook): New hook.
29774         (org-read-date): Run the new hook.
29776         * org-mac-message.el (org-mac-flagged-mail): New group.
29777         (org-mac-mail-account): New variable.
29778         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail):
29779         New commands.
29781         * org-remember.el (org-remember-backup-directory): New variable.
29782         (org-remember-apply-template): Write file to backup directory.
29784 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29786         * org-mouse.el (org-mouse-todo-menu): New function.
29787         (org-mouse-todo-keywords): Function removed.
29788         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
29790         * org-table.el (org-table-beginning-of-field)
29791         (org-table-end-of-field): New commands.
29792         (org-table-previous-field, org-table-beginning-of-field):
29793         Better error messages.
29794         (orgtbl-setup): Include `M-a' and `M-e'.
29796         * org.el (org-backward-sentence, org-forward-sentence):
29797         New commands.
29799         * org-colview.el (org-colview-initial-truncate-line-value):
29800         New variable.
29801         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
29802         (org-columns): Remember the value of `truncate-lines'.
29804         * org.el (org-columns-skip-arrchived-trees): New option.
29806         * org-agenda.el (org-agenda-export-html-style): Define color for
29807         org-agenda-done face.
29808         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
29809         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
29811         * org.el (org-scan-tags): Use the new face.
29813         * org-faces.el (org-agenda-done): New face.
29815         * org.el (org-scan-tags): Test the value org
29816         `org-tags-match-list-sublevels'.
29817         (org-tags-match-list-sublevels): New allowed value: indented.
29819         * org-latex.el (org-export-latex-make-header): Apply macros
29820         in header.
29822         * org-exp.el (org-export-apply-macros-in-string): New function.
29824         * org-latex.el (org-export-latex-list-parameters): Fix bug
29825         with the definition of a checked box.
29827         * org-clock.el (org-clock-find-position): Fix drawer indentations.
29829         * org-latex.el (org-export-latex-low-levels): More options
29830         for how to process lower levels in LaTeX.
29831         (org-export-latex-subcontent): Better treatment for lists as a
29832         means of publishing lower levels.
29834 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29836         * org.el (org-set-font-lock-defaults): Use new checkbox face.
29838         * org-faces.el (org-checkbox): New face.
29840         * org-exp.el (org-export-html-preprocess): Only create LaTeX
29841         fragement images if there is an export file.
29843 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29845         * org-agenda.el (org-stuck-projects): Document that the subtree of
29846         projects that are not stuck will now be searched for stuck
29847         sub-projects.
29848         (org-agenda-skip-entry-when-regexp-matches)
29849         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
29850         (org-agenda-list-stuck-projects):
29851         Use `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
29853         * org-latex.el (org-export-latex-preprocess):
29854         Improve export of verses.
29856         * org-exp.el (org-export-as-html): Implement centering as a div
29857         rather than a paragraph.  Do a better job with line-end in verse
29858         environments.
29860 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29862         * org.el (org-open-at-point): Fix tags searches by mouse click.
29864 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29866         * org-latex.el (org-export-latex-preprocess): Implement the
29867         centering markup.
29869         * org-exp.el (org-export-mark-blockquote-verse-center):
29870         Rename from `org-export-mark-blockquote-and-verse'.
29871         (org-export-as-html): Implement the centering markup.
29873         * org-latex.el (org-export-latex-tables): Fix vertical
29874         lines in tables.
29876 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29878         * org.el (org-read-date-history): New variable.
29879         (org-read-date): Use new history variable.
29880         (org-toggle-heading): Fix bug when used before first headline.
29881         (org-store-log-note): Remove drawer if empty while note is
29882         aborted.
29883         (org-remove-empty-drawer-at): New function.
29884         (org-check-after-date): New command.
29885         (org-sparse-tree): New sparse tree command "a".
29887         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
29889 2009-08-06  Bastien Guerry  <bzg@gnu.org>
29891         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
29892         column and a space, not only a column.
29894 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29896         * org-latex.el (org-export-latex-emphasis-alist):
29897         Better defaults for verbose emphasis.
29898         (org-export-latex-emph-format): New function.
29899         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
29901         * org-agenda.el (org-agenda-menu): Add new commands to menu.
29902         (org-agenda-do-date-later, org-agenda-do-date-earlier)
29903         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
29904         (org-agenda-date-later-hours, org-agenda-date-earlier-hours):
29905         New commands.
29907         * org.el (org-timestamp-change): Move end-time along with start
29908         time.
29910 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29912         * org-exp.el (org-export-target-internal-links)
29913         (org-export-as-html): Protect links specified as #name.
29915 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29917         * org.el (org-clone-subtree-with-time-shift): New command.
29919         * org-latex.el (org-export-latex-special-chars)
29920         (org-export-latex-treat-sub-super-char): Fix subscript export.
29922         * org-exp.el (org-create-multibrace-regexp): Do not add
29923         backslashes to the class.
29925 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29927         * org-colview.el (org-columns-map): Better functions for moving up
29928         and down a row, even if `truncate-line' is nil.
29930         * org.el (org-insert-todo-heading): Make sure the keyword is
29931         inserted at the correct position.
29933         * org-publish.el (org-publish-project-alist)
29934         (org-publish-projects, org-publish-org-index): Change default anme
29935         for the index of file names to "sitemap.org".
29937         * org-latex.el (org-export-latex-tables):
29938         Use `org-split-string', for Emacs 21 compatibility.
29940 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29942         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
29944 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29946         * org-exp.el (org-export-page-description)
29947         (org-export-page-keywords): New variables.
29948         (org-export-plist-vars): Add entries for :keywords and
29949         :description.
29950         (org-infile-export-plist): Parse for new keywords.
29951         (org-get-current-options): Add new keywords.
29952         (org-export-as-html): Publish description and keywords.
29954         * org-agenda.el (org-agenda-add-entry-text-descriptive-links):
29955         New option.
29956         (org-agenda-add-entry-text):
29957         Honor `org-agenda-add-entry-text-descriptive-links'.
29959         * org-latex.el (org-export-latex-preprocess): Make all
29960         external preprocess functions use a PARAMETER arg.
29962         * org-exp.el (org-export-preprocess-string)
29963         (org-export-select-backend-specific-text)
29964         (org-export-format-source-code-or-example)
29965         (org-format-org-table-html): Support docbook export.
29966         (org-export-preprocess-string): Make all external preprocess
29967         functions use a PARAMETER arg.
29969 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29971         * org-exp.el (org-export-html-style-include-scripts): New option.
29972         (org-export-plist-vars): Add new option
29973         `org-export-html-style-include-scripts'.
29974         (org-export-as-html): Honor new option
29975         `org-export-html-style-include-scripts'.
29976         (org-export-html-scripts, org-export-html-style-default):
29977         Fix xml issues with the Safari browser.
29979 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29981         * org-publish.el (org-publish-attachment): Only copy file when the
29982         directories differ.
29984 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29986         * org-clock.el (org-clocktable-steps): Use inactive time stamps
29987         for clocktable steps.
29989         * org.el (org-additional-option-like-keywords): Add two more
29990         keywords.
29992 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29994         * org-exp.el (org-export-format-source-code-or-example):
29995         Mark temporary buffer unmodified, so that it will be killed even if
29996         mode like message mode has decided to assign a file name.
29998         * org.el (org-scan-tags): Improve tag inheritance.
29999         (org-scan-tags, org-make-tags-matcher): Make tag comparison
30000         case-sensitive.
30001         (org-scan-tags): Use the internal tags list instead of creating it
30002         from scratch.
30003         (org-trust-scanner-tags, org-scanner-tags): New variables.
30004         (org-scan-tags): Set `org-scanner-tags'.
30005         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
30006         (org-map-entries): Document the possible speedup using scanner
30007         tags.
30009 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30011         * org.el (org-add-planning-info): Fix bug with looking for keyword
30012         only at column 0.
30014         * org-agenda.el (org-agenda-custom-commands-local-options):
30015         Add option for tags filter preset.
30016         (org-prepare-agenda): Store filter preset as a property on the
30017         filter variable.
30018         (org-finalize-agenda): Call the filter, if there is a preset.
30019         (org-agenda-filter-by-tag): Filter again after clearing the
30020         filter, when there still is a preset.
30021         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
30022         Include the preset filter.
30023         (org-agenda-redo): Apply the filter again, also the preset filter.
30025         * org-exp.el (org-export-as-html): Use IDs in the correct way.
30027         * org.el (org-uuidgen-p): New function.
30029         * org-agenda.el (org-agenda-fontify-priorities): New default value
30030         `cookies'.
30031         (org-agenda-fontify-priorities): Rename from
30032         org-fontify-priorities.
30034         * org.el (org-set-font-lock-defaults):
30035         Call `org-font-lock-add-priority-faces'.
30036         (org-font-lock-add-priority-faces): New function.
30038         * org-faces.el (org-set-tag-faces): New option.
30039         (org-priority-faces): New variable.
30041         * org-exp.el (org-export-as-html): Add a "content" div around the
30042         entire content of the body tag.
30043         (org-export-html-get-bibliography): New function.
30044         (org-export-html-validation-link): New variable.
30045         (org-export-as-html): Add validation link to exported page.
30047         * org.el (org-match-sparse-tree): Rename from
30048         `org-tags-sparse-tree'.
30049         (org-tags-sparse-tree): New alias.
30051 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30053         * org.el (org-get-valid-level): Catch the case where the level
30054         change is nil.
30056         * org-clock.el (org-clock-find-position): Better indentation of
30057         new clock drawers.
30059 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30061         * org-agenda.el (org-agenda-quit): Delete window only when the
30062         frame-setup was not `current-window'.
30064         * org.el (org-tag-persistent-alist): New option.
30065         (org-startup-options): Add keyword `noptag'.
30066         (org-fast-todo-selection): Handle :newline correctly.
30067         (org-set-tags): Handle :newline correctly.
30068         (org-fast-tag-selection): Handle :newline correctly.
30070 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30072         * org-exp.el (org-export-as-ascii): Reverse link buffer before
30073         outputting it.
30074         (org-export-ascii-push-links): Fix bug with pussing links into the
30075         export buffer.
30077 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30079         * org-archive.el (org-archive-subtree): Do not add 1 to level if
30080         pasting at top level.
30082         * org-bbdb.el: Improve documentation.
30084 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30086         * org-list.el (org-insert-item): Only consider insert empty lines
30087         is `org-empty-line-terminates-plain-lists' is not nil.
30089         * org.el (org-blank-before-new-entry): Mention the dependence on
30090         `org-empty-line-terminates-plain-lists' in the docstring.
30092         * org-publish.el (org-publish-get-project-from-filename):
30093         New optional argument UP.  Only find the top project if UP is set.
30094         (org-publish-current-project): Find the top encloding project.
30096         * org-agenda.el (org-agenda-before-write-hook)
30097         (org-agenda-add-entry-text-maxlines): New options.
30098         (org-write-agenda): Run the new hook in the temporary buffer.
30099         (org-agenda-add-entry-text): New function.
30100         (org-write-agenda): Implement PDF export, using ps2pdf.
30102         * org.el (org-global-properties-fixed, org-global-properties):
30103         Improve documentation string.
30105         * org-exp.el (org-export-ascii-links-to-notes): New option.
30106         (org-export-as-ascii): Handle links better.
30107         (org-export-ascii-wrap, org-export-ascii-push-links):
30108         New functions.
30110 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30112         * org-agenda.el (org-agenda): Make prefix arg optional.
30113         (org-agenda-search-headline-for-time): New option.
30114         (org-format-agenda-item):
30115         Honor `org-agenda-search-headline-for-time'.
30117         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
30118         characters.
30120         * org.el (org-self-insert-cluster-for-undo): New option.
30121         (org-self-insert-command): Cluster undo for 20 characters.
30122         (org-self-insert-command-undo-counter): New variable.
30124 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30126         * org-exp.el (org-export-as-html): Fix problem with closing colone
30127         example.
30129 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30131         * org-latex.el (org-export-as-latex)
30132         (org-export-latex-first-lines): Avoid modification flag when
30133         adding or removing text properties.
30134         (org-export-latex-fontify): Catch error when org-emph-alist has
30135         entries that are not defined for LaTeX export.
30137         * org-export-latex.el: Rename to org-latex.el.
30139         * org-latex.el: Rename from org-export-latex.el.
30141         * org.el (orgstruct++-mode): New function.
30142         (turn-on-orgstruct++): Call `orgstruct++-mode'.
30143         (org-context-p): Allow detecting item context after the first line
30144         of an item.
30145         (orgstruct-make-binding): Detect if item-body context should be
30146         seen.
30147         (orgstruct-is-++): New variable.
30148         (org-add-planning-info): Catch the case when there is no planning
30149         info yet and the call does not want to add anything, only maybe
30150         tries to remove something.
30151         (org-special-ctrl-a/e): All value to be a cons cell with separate
30152         settings for `C-a' and `C-e'.
30153         (org-beginning-of-line, org-end-of-line): Honor separate values
30154         for `C-a' and `C-e'.
30156 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30158         * org.el (org-reload): New command.
30160 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
30162         * org-gnus.el (org-gnus-store-link): Fix bug where
30163         org-gnus-store-link used wrong subject when called in an article
30164         buffer.  Patch provided by fengli AT gmail DOT com.
30166 2009-03-13  D. Goel  <deego3@gmail.com>
30168         * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
30169         replace ls by (values-list ls).
30171 2009-02-20  Carsten Dominik  <dominik@science.uva.nl>
30173         * org-remember.el (org-remember-apply-template): Turn off ido for
30174         this completion.
30176         * org.el (org-priority): Also find invisible headings, for remote
30177         editing.
30178         (org-completing-read-no-ido): New function.
30179         (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
30181         * org-colview.el (org-columns-edit-value): No special treatment of
30182         prefix arg.
30184 2009-02-19  Carsten Dominik  <dominik@science.uva.nl>
30186         * org.el (org-block-todo-from-children-or-siblings):
30187         Use `org-up-heading-all' so that this will work correctly with hidden
30188         property drawers and entries.
30189         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
30190         falling back to normal, default command.
30191         (org-get-location): Temporarily turn off special behavior.
30193 2009-02-13  Glenn Morris  <rgm@gnu.org>
30195         * org-rmail.el (rmail-show-message): Restore argument list to the
30196         declaration now that this functions behaves in Emacs 23 as in 22.
30198 2009-02-12  Glenn Morris  <rgm@gnu.org>
30200         * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
30202 2009-02-12  Joachim Reiter  <Reiter.Joachim@web.de>  (tiny change)
30204         * org-footnote.el (org-footnote-action): Fix doc typo.
30206 2009-02-06  Carsten Dominik  <dominik@science.uva.nl>
30208         * org-exp.el (org-export-preprocess-string): Fix bug with skipping
30209         text before first headline.
30210         (org-export-remove-or-extract-drawers): Fix regular expression for
30211         extracting drawers.
30213         * org.el (org-format-latex): Stop LaTeX fragment processing in
30214         protected examples.
30216 2009-02-05  Glenn Morris  <rgm@gnu.org>
30218         * org-rmail.el (rmail-show-message): Update declaration.
30219         (rmail-buffer, rmail-view-buffer): Declare.
30220         (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
30222 2009-02-04  Carsten Dominik  <dominik@science.uva.nl>
30224         * org.el (org-return-follows-link): Revert setting
30225         `org-return-follows-link' to t by default.
30227 2009-02-02  Carsten Dominik  <dominik@science.uva.nl>
30229         * org.el (org-cycle-global-at-bob): Fix typo.
30231         * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
30233 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
30235         * org.el (org-mode): Make dependence stuff work more reliably.
30236         (org-update-parent-todo-statistics): Fix bug with updating
30237         statistics cookie.
30238         (org-yank-adjusted-subtrees, org-return-follows-link)
30239         (org-use-fast-todo-selection, org-tags-column): New default
30240         setting for variables.
30242         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
30243         ~ as verbatim delimiters, to avoid table bug.
30244         (org-export-latex-classes): Remove the a4paper option from the
30245         default styles.
30247         * org-exp.el (org-export-html-format-image): New argument
30248         PAR-OPEN, to fix XHTM validation bug.
30249         (org-export-as-html): Pass par-open to
30250         `org-export-html-format-image'.
30251         (org-export-html-footnotes-section): Use a more consistent id for
30252         footnotes.
30254         * org-agenda.el (org-agenda-sorting-strategy)
30255         (org-agenda-tags-column): New default setting for variables, based
30256         on a poll what typical uses use.
30257         (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
30258         setting the blocked tag.
30260 2009-01-31  Carsten Dominik  <dominik@science.uva.nl>
30262         * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
30263         only checking for blocks.
30265         * org-exp.el (org-export-html-footnotes-section): Make the div id
30266         consistent.
30268         * org-export-latex.el (org-export-latex-classes):
30269         Remove paper size option from LaTeX classes.
30271 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
30273         * org.el (org-enforce-todo-checkbox-dependencies): New option.
30274         (org-block-todo-from-checkboxes): New function.
30275         (org-todo): Make triple prefix arg circumvent blocking.
30277 2009-01-30  Glenn Morris  <rgm@gnu.org>
30279         * org-list.el (org-empty-line-terminates-plain-lists)
30280         (org-toggle-checkbox): Doc fixes.
30282         * org-table.el (org-table-clean-before-export): Fix declaration.
30284 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
30286         * org-timer.el (org-timer): Provide the timer feature.
30288         * org.el (org-require-autoloaded-modules): Add a few more files to
30289         the list of autoloaded modules.
30291         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
30293         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
30294         drawers that are unprotected.
30295         (org-export-html-format-image): Make sure inlined LaTeX fragment
30296         images remain inlined.
30298         * org.el (org-toggle-ordered-property): New function.
30299         (org-mode-map): Add a key for `org-toggle-ordered-property'.
30300         (org-org-menu): Add menu entries for TODO dependencies.
30302         * org.el (org-default-properties): Add ORDERED to the default
30303         properties, to get completion support for it.
30305         * org-list.el (org-update-checkbox-count): Update more than one cookie.
30307         * org.el (org-update-parent-todo-statistics): Update more than one
30308         cookie.
30310 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
30312         * org-agenda.el (org-agenda-get-todos): Start search from correct
30313         position.
30315         * org.el (org-fast-todo-selection): Make sure TODO selection does
30316         not change buffer position.
30318         * org-list.el (org-toggle-checkbox): Implement adding or removing
30319         checkboxes from line or region when called with a prefix
30320         argument.
30322         * org-rmail.el (org-rmail-store-link): Protect the call to
30323         `rmail-narrow-to-non-pruned-header'.
30325         * org-clock.el (org-clock-special-range): Fix week display in
30326         clock tables.
30328         * org-exp.el (org-get-current-options): Fix bug when in indirect
30329         buffer.
30331         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
30332         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
30333         (org-agenda-dim-blocked-tasks): New function.
30335         * org.el (org-enforce-todo-dependencies): New option.
30336         (org-block-todo-from-children-or-siblings): New function.
30338         * org-faces.el (org-agenda-dimmed-todo-face): New face.
30340 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
30342         * org.el (org-todo): Return correct state type even if the blocker
30343         throws an error.
30344         (org-modifier-cursor-error): Rename from
30345         `org-shiftcursor-error'.
30346         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
30347         (org-shiftmetadown): Call `org-modifier-cursor-error'.
30349         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
30350         to get real errors from the blocker hook.
30352         * org.el (org-shiftselect-error, org-call-for-shift-select):
30353         New functions.
30354         (org-set-visibility-according-to-property): Turn off the setting
30355         of `org-show-entry-below', to avoid overruling a FOLDED visibility
30356         property.
30358         * org.el (org-support-shift-select): New option.
30359         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
30360         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
30361         selection outside contexts.
30363         * org-list.el (org-at-item-bullet-p): New function.
30365         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
30366         variables.
30368         * org-footnote.el (org-footnote-normalize): Remove unnecessary
30369         variable.
30370         (org-insert-footnote-reference-near-definition):
30371         Remove unnecessary let form.
30373 2009-01-26  Carsten Dominik  <dominik@science.uva.nl>
30375         * org-export-latex.el (org-export-as-latex):
30376         Call `org-export-latex-first-lines' with OPT-PLIST as a parameter.
30377         (org-export-latex-first-lines): New parameter OPT-PLIST.
30379         * org.el (org-yank): Tell `delete-selection-mode' about
30380         `org-yank'.
30382         * org-faces.el (org-clock-overlay): Fix face definition.
30384         * org-export-latex.el (org-export-latex-first-lines):
30385         Pass timestamp and footnote parameters to the preprocessor.
30387         * org-exp.el (org-export-remove-timestamps): Do not remove time
30388         stamps inside tables.
30390 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30392         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
30394         * org.el (org-agenda-tags-todo-honor-ignore-options):
30395         Declare variable.
30397         * org-table.el (org-table-insert-hline): Fix typo in function call
30398         to `backward-char'.
30400         * org-exp.el (org-export-as-html): Remove the initial space from
30401         colon examples.
30403         * org.el (org-scan-tags):
30404         Call `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
30406         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view):
30407         New customization groups.
30408         (org-agenda-tags-todo-honor-ignore-options): New option.
30409         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
30410         New function.
30411         (org-agenda-get-todos):
30412         Use `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
30414 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30416         * org-exp.el (org-export-format-source-code-or-example):
30417         Escape HTML characters also in examples that anre not treated with
30418         htmlize.  Also, just switch to EXAMPLE processing if we do not
30419         have a good version of htmlize.
30421         * org-rmail.el: Fix copyright notice.
30423         * org.el (org-activate-footnote-links): Improve footnote link
30424         highlighting.
30426         * org-footnote.el (org-footnote-normalize): Fix finding the end of
30427         a footnote definition at the end of the file.
30429         * org-table.el (org-table-get-specials): Add an imagined hline at
30430         the end of the table.  This can be useful for references that want
30431         to go to the end of the table.  Also fix bug when computing last
30432         row constants, in tables that do not start right at the right
30433         margin.
30434         (org-table-eval-formula): Match and replace remove references.
30435         (org-table-formula-substitute-names): Make sure that names inside
30436         a "remote" call are left alone, the will be replaced later when
30437         the remote call is handled.
30438         (org-table-convert-refs-to-rc): Do not convert things that might
30439         look like a reference, but are really part of an ID or namei n a
30440         remote reference.
30441         (org-table-get-remote-range): New function.
30443 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30445         * org-faces.el (org-clock-overlay): Fix bug in face definition.
30447         * org-clock.el (org-clock-put-overlay): Use new face instead of
30448         `secondary-selection'.
30450         * org-faces.el (org-clock-overlay): New face.
30452 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30454         * org-exp.el (org-get-current-options): Include the option for
30455         publishing time stamps.
30457         * org.el (org-toggle-heading): Rename from
30458         `org-toggel-region-headings'.
30459         No longer needs a region defined, but will use it if there is one.
30460         (org-ctrl-c-star): Simplify, relying more on the internal
30461         workings of `org-toggle-heading'.
30462         (org-toggle-item): Rename from `org-toggle-region-items'.
30463         No longer needs a region defined, but will use it if there is one.
30464         (org-ctrl-c-minus): Simplify, relying more on the inernal
30465         workings of `org-toggle-item'.
30467         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
30468         environment detection.  Also, do real changes only in unprotected
30469         places.
30471 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30473         * org-export-latex.el (org-export-latex-quotation-marks):
30474         Use `org-if-unprotected-1'.
30475         (org-export-latex-set-initial-vars): Check for class definition in
30476         property.
30478         * org-macs.el (org-if-unprotected-1): New macro.
30480 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30482         * org-compat.el (org-count-lines): New function.
30484         * org-exp.el (org-export-format-source-code-or-example):
30485         Handle switches related to text areas.
30487         * org.el (org-activate-footnote-links): Don't allow match inside a
30488         link.
30490         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
30492         * org-export-latex.el (org-export-latex-links): Keep a relative
30493         path relative also after export.
30495         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
30497         * org.el (org-make-tags-matcher): Never use IDO for completing the
30498         tags matcher match string.
30499         (org-completing-read): Also remove the special biding for "?".
30501         * org-attach.el (org-attach-allow-inheritance): New option.
30502         (org-attach-inherited): New variable.
30503         (org-attach-dir): Handle properties related to the attachment
30504         directory.
30505         (org-attach-check-absolute-path): New function.
30506         (org-attach-set-directory, org-attach-set-inherit): New commands.
30507         (org-attach): Accommodate the new commands in the dispatcher.
30509 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30511         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
30512         `window-full-width-p'.
30514         * org-exp.el (org-export-as-html): Only check for images files
30515         that really can be inlined.
30517         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
30518         list of extensions to be a parameter.
30520         * org-exp.el (org-export-html-inline-image-extensions):
30521         New variable.
30523         * org-agenda.el (org-prepare-agenda):
30524         Use `org-agenda-block-separator'.
30525         (org-agenda-block-separator): New option.
30527 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30529         * org-export-latex.el (org-export-latex-tables):
30530         Call `org-table-clean-before-export' with the new optional argument.
30532         * org-exp.el (org-table-clean-before-export): New optional
30533         parameter MAYBE-QUOTED, allows for quoted characters like \# in
30534         first column.
30536 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30538         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
30539         histograms.
30541         * org-colview.el (org-colview-construct-allowed-dates):
30542         Better error catching when a date/time property does not have allowed
30543         values defined.
30545 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30547         * org.el (org-map-entries): Restore point and restriction after
30548         `org-map-entries'.
30550 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30552         * org.el (org-time=, org-time<, org-time<=, org-time>)
30553         (org-time>=, org-time<>): Make sure both values are dates.
30555 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30557         * org-archive.el (org-extract-archive-heading): Allow %s for file
30558         name also in achive location heading.
30560 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30562         * org-archive.el (org-add-archive-files): Uniquify the list before
30563         returning it.
30565 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30567         * org-compat.el (org-fit-window-to-buffer):
30568         Use `window-full-width-p'.
30570         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
30571         space after the colon in short examples.
30573         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
30574         enforce a space after the colon.  However, we also allow lines
30575         that are *only* a colon.
30576         (org-export-as-html): Enforce the space after the colon in short
30577         examples.
30578         (org-export-preprocess-string): Do the colon example protection
30579         earlier.
30580         (org-export-remove-timestamps): Do not check for protection at the
30581         end of the line.
30583 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30585         * org.el (org-format-latex-options): Add new matcher for single
30586         letters between dollars.
30587         (org-get-header): Function removed.
30588         (org-heading-components): New function.
30590         * org-exp.el (org-export-define-heading-targets): Record ID's also
30591         as alternative targets.
30592         (org-export-as-html): Interpret "id:" links to other files by
30593         preserving the relative path.
30595         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
30596         is nil.
30598         * org-exp.el (org-export-normalize-links): Protect the main link,
30599         to avoid special character processing.
30601         * org-export-latex.el (org-export-latex-special-keyword-regexp):
30602         New variable.
30603         (org-export-latex-special-string-regexps): Variable removed.
30604         (org-export-latex-keywords): Use the new regexp.
30606         * org-exp.el (org-export-handle-include-files): Fetch switches and
30607         put them into the BEGIN statement.
30609         * org-timer.el (org-timer-mode-line-string): New variable.
30611         * org-clock.el (org-clock-mode-line-map): Rename from
30612         `org-clock-mode-map'.
30613         (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
30614         (org-clock-update-mode-line): Rename from `org-update-mode-line'.
30615         (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
30616         (org-clock-remove-overlays): Rename from
30617         `org-remove-clock-overlays'.
30619         * org-timer.el (org-timer-pause-or-continue): Implement stopping
30620         and mode line display.
30621         (org-timer-stop): New command.
30622         (org-timer-seconds): Return correct time when timer is paused.
30623         (org-timer-mode-line-timer): New variable.
30624         (org-timer-set-mode-line, org-timer-update-mode-line):
30625         New functions.
30627         * org.el (org-insert-heading): Handle new value `auto' for
30628         `org-blank-before-new-entry'.
30629         (org-org-menu): Add new items for timer functions.
30631         * org-list.el (org-insert-item): Handle new value `auto' for
30632         `org-blank-before-new-entry'.
30634         * org.el (org-blank-before-new-entry): New value `auto', made
30635         default.
30637 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30639         * org-exp.el (org-export-normalize-links): If the link is also
30640         used as the description, protect the description.
30642 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30644         * org.el (org-closest-date): Fix bug with yearly repeats, in
30645         combination with preference of the past as it is used for deadline
30646         and scheduling search.
30648         * org-exp.el (org-html-handle-time-stamps): No longer check for
30649         the `org-export-with-timestamps' option, because the preprocesser
30650         has taken care of this already.
30652         * org.el (org-entry-properties): Catch the case when this is
30653         called in a non-org-mode file.
30655         * org-export-latex.el (org-export-latex-remove-from-headlines):
30656         Variable made obsolete, also LaTeX export now uses the standard
30657         variables.
30658         (org-export-as-latex): Add the timestamps parameter to the
30659         preprocessor parameter list.
30660         (org-export-latex-content): Export the remaining keywords without
30661         considering to remove them.
30662         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
30663         Use bold font instead of tt font for the keywords.
30664         (org-export-latex-fontify-headline): Format headlines, assuming
30665         that all keywords still present should be published.
30666         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
30667         publish what ever remains of the time stamps.
30668         (org-export-latex-list-parameters): New option.
30669         (org-export-latex-lists): Pass additional parameters to the list
30670         converter.
30672         * org-exp.el (org-export-preprocess-string): Remove clock lines
30673         and timestamps already in the preprocesor.
30674         (org-export-remove-timestamps, org-export-remove-clock-lines):
30675         New functions.
30676         (org-export-as-ascii, org-export-as-html): Add the timestamps
30677         parameter to the preprocessor parameter list.
30679         * org-list.el (org-list-parse-list): Parse for checkboxes.
30680         (org-list-to-generic): Introduce and handle new parameters :cbon
30681         and :cboff.
30682         (org-list-to-latex, org-list-to-html, org-list-to-texinfo):
30683         Add optional parameter PARAMS.
30685         * org-export-latex.el (org-export-latex-special-chars):
30686         Fix problems with interpreting dollar signs.
30687         (org-inside-latex-math-p): New function.
30688         (org-export-latex-preprocess): Protect all the math fragments.
30690         * org.el (org-latex-regexps): Allow a dash after a dollar.
30692         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
30693         mark after copying.
30695         * org-agenda.el (org-run-agenda-series): Have series options set
30696         when finalizing the agenda.
30698         * org-exp.el (org-export-format-source-code-or-example):
30699         Protect the converted examples.
30701         * org.el (org-set-regexps-and-options): Fix the regexp
30702         `org-complex-heading-regexp'.
30704 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30706         * org.el (org-edit-src-get-label-format): New function.
30707         (org-coderef-label-format): New option.
30708         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
30709         a label format specification and make sure it is used in the edit
30710         buffer.
30711         (org-edit-src-get-label-format): New function.
30712         (org-store-link): Handle new coderef formats.
30713         (org-link-search): Handle new coderef formats.
30715         * org-footnote.el (org-footnote-create-definition)
30716         (org-footnote-goto-local-insertion-point): Make footnote insertion
30717         work correctly when the "Footnotes" headline is the last line in
30718         the buffer.
30720         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
30721         the location.
30723 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30725         * org-w3m.el (org-w3m): New customization group.
30726         (org-w3m-deactivate-mark): New option.
30727         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
30728         option say not to.
30730 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30732         * org.el (org-set-font-lock-defaults): Trigger footnote
30733         fontification.
30734         (org-activate-footnote-links): New function.
30735         (org-activate-links): New entry `footnote'.
30737         * org-faces.el (org-footnote): New face.
30739 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30741         * org-macs.el (org-re): Handle the [:word:] class.
30743         * org-exp.el (org-export-preprocess-string):
30744         Call `org-export-protect-colon-examples'.
30745         (org-export-protect-colon-examples): Rename from
30746         `org-export-protect-examples', and scope limited to lines starting
30747         with a colon.
30749 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30751         * org-exp.el (org-export-preprocess-string): Move the preprocess
30752         hook to after turning on Org-mode.
30753         (org-export-preprocess-after-include-files-hook)
30754         (org-export-preprocess-after-tree-selection-hook)
30755         (org-export-preprocess-before-backend-specifics-hook)
30756         (org-export-preprocess-final-hook): New hooks.
30757         (org-export-preprocess-string): Run the new hooks.
30759         * org.el (org-ctrl-c-minus): Fix indentation for new items.
30761         * org-footnote.el: New file.
30763         * org.el (org-footnote): Require footnote code.
30764         (org-startup-options): Add new footnote options.
30765         (org-mode-map): New keybindig for footnotes.
30766         (org-ctrl-c-ctrl-c): Add function at footnotes.
30767         (org-org-menu): New menu entries for footnotes.
30769         * org-export-latex.el (org-export-as-latex): Pass footnote
30770         variable to preprocessor.
30771         (org-export-latex-preprocess): Treat multiple references to a
30772         footnote.
30774         * org-exp.el (org-export-preprocess-string):
30775         Call `org-footnote-normalize'.
30776         (org-export-as-ascii, org-export-as-html): Pass footnote variable
30777         to preprocessor.
30778         (org-export-as-html): Treat multiple references to a footnote.
30780 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30782         * org-export-latex.el (org-export-latex-links): Handle coderef
30783         links.
30785         * org.el (org-bracket-link-analytic-regexp++): New variable.
30786         (org-make-link-regexps):
30787         Initialize `org-bracket-link-analytic-regexp++'.
30788         (org-store-link): Implement special case in edit-src buffer.
30789         (org-insert-link): No use of ide to insert stored links.
30790         (org-link-search): Implement special case for coderefs.
30792         * org-exp.el (org-export-html-scripts): New constant.
30793         (org-export-html-style-default): Add a new style for highlighted
30794         code.
30795         (org-export-code-refs): New variable.
30796         (org-export-preprocess-string): Initialize `org-export-code-refs'.
30797         Call `org-export-replace-src-segments-and-examples'
30798         No longer call `org-export-protect-examples'.
30799         (org-export-target-internal-links): Take care of coderef targets.
30800         (org-export-last-code-line-counter-value): New variable.
30801         (org-export-replace-src-segments-and-examples): Rename from
30802         `org-export-replace-src-segments', and modified.
30803         (org-export-format-source-code-or-example): Rename from
30804         `org-export-format-source-code'.
30805         (org-export-number-lines): New function.
30806         (org-export-as-ascii, org-export-as-html): Handle coderef links.
30808 2009-01-23  Glenn Morris  <rgm@gnu.org>
30810         * org-rmail.el (rmail-narrow-to-non-pruned-header):
30811         Remove declaration of deleted function.
30813 2009-01-16  Glenn Morris  <rgm@gnu.org>
30815         * org-mouse.el (org-mouse-show-context-menu):
30816         Use mouse-menu-major-mode-map, if defined, rather than the obsolete
30817         mouse-major-mode-menu.
30819 2008-12-23  Carsten Dominik  <dominik@science.uva.nl>
30821         * org-remember.el (org-remember-handler): Safer way to get a new
30822         buffer accessing the target file.
30824         * org.el (org-refile-get-location): Handle case of current buffer
30825         not having a file associated with it.
30827 2008-12-22  Carsten Dominik  <dominik@science.uva.nl>
30829         * org-table.el (org-table-get-formula): Only ask to overwrite
30830         field formula if there really is one.
30832 2008-12-21  Carsten Dominik  <dominik@science.uva.nl>
30834         * org-export-latex.el (org-export-latex-make-header): Double the
30835         commenting % in the time stamp format.
30836         (org-export-latex-special-chars): Handle case where there is no
30837         match group 3.
30839 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
30841         * org.el (org-get-refile-targets, org-refile-get-location):
30842         Use expanded file name to improve comparison.
30844 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
30846         * org.el (org-scan-tags): Rescan for tags, to get the correct
30847         upcase/downcase stuff.  This slows things down for now, but it
30848         works.
30849         (org-mode): Make sure the tag-faces regexp is initialized.
30851         * org-export-latex.el (org-export-latex-links): Fix bug with
30852         undefined label.
30854         * org-table.el (org-table-get-specials):
30855         Set `org-table-current-last-data-line'.
30856         (org-table-current-last-data-line): New variable.
30857         (org-table-insert-column, org-table-delete-column)
30858         (org-table-move-column, org-table-fix-formulas):
30859         Call `org-table-fix-formulas' a second time to fix the $LR references.
30860         (org-table-get-specials): Add the $LR references to the tables.
30861         (org-table-get-formula): Do not offer last-row names as LHS of
30862         formulas.
30864         * org.el (org-store-link): Capture link description from
30865         `org-id-store-link'.
30867         * org-exp.el (org-export-html-format-image): Add the / to the end
30868         of the <img> tag.
30869         (org-export-format-source-code): Surround example by empty lines,
30870         to make sure it will not be inside a paragraph.
30872         * org.el (org-ido-switchb): New function.
30874 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
30876         * org-agenda.el (org-agenda-show): New prefix argument
30877         FULL-ENTRY.
30879         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
30880         argument.
30882 2008-12-20  Glenn Morris  <rgm@gnu.org>
30884         * org.el (org-org-menu): Fix some more menu entries.
30886 2008-12-18  Carsten Dominik  <dominik@science.uva.nl>
30888         * org-table.el (org-table-get-specials): Revert introduction of @0
30889         as reference of the last table row, because of conflicts.
30891         * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
30892         argument, get the current tags directly.
30893         (org-agenda-set-tags): Leave getting current tags to
30894         `org-agenda-change-all-lines'.
30896 2008-12-17  Carsten Dominik  <dominik@science.uva.nl>
30898         * org.el (org-org-menu): Do not quote the set-tags command.
30900 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
30902         * Fix typos in comments and docstrings throughout Org-mode.
30904         * org.el (org-get-outline-path): Fix bug if level is not given.
30906         * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
30908 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30910         * org.el (org-refile): Avoid refiling to within the region to be
30911         refiled.
30913         * org-export-latex.el (org-export-latex-special-chars):
30914         Replace special characters also in tables.
30916         * org-agenda.el (org-agenda-change-all-lines): New argument
30917         FORCE-TAGS.
30918         (org-agenda-set-tags): Get the new tags and pass them to
30919         `org-format-agenda-item'.
30921 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30923         * org-export-latex.el (org-export-latex-classes): Add longable as
30924         a default package to all classes.
30925         (org-export-latex-tables): Handle the longtable attribute and the
30926         align attribute.
30928         * org-table.el (orgtbl-to-generic): Handle tables that start with
30929         a hline.
30931         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
30932         \verb for colde-like snippets.
30933         (org-export-as-latex): Fix issues with region export.
30935         * org.el (org-up-heading-safe): Speed up function by using a
30936         direct regexp search.
30937         (org-olpa): New variable.
30938         (org-get-outline-path): Speed-up path constructions in cases where
30939         this is possible because the entire hierarchy is scanned anyway.
30940         (org-refile-get-location): Don't compare the truenames of files,
30941         this is too slow.
30942         (org-goto-max-level): New option.
30943         (org-goto): Use `org-goto-max-level'.
30945 2008-12-16  Tassilo Horn  <tassilo@member.fsf.org>
30947         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
30948         Strip angle brackets from message-ids in the former and don't do
30949         it in the latter.
30950         (org-gnus-follow-link): Open summary reliable, even if the last
30951         messages were deleted, and handle empty groups, too.
30953 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30955         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
30956         instead of \texttt for the =...= and ~===~ emphasis environments.
30957         (org-export-as-latex): Remove any old :org-license-to-kill text
30958         properties.
30959         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
30960         (org-export-latex-make-header): Add some hard space after the
30961         table of contents.
30962         (org-export-latex-first-lines): Accept RBEG argument.
30963         Mark exported text so that it will be excuded in further steps.
30965         * org-table.el (org-table-get-specials): Make @0 reference the
30966         last line in a table.
30967         (org-table-recalculate): Improve docstring.
30969 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30971         * org.el (org-log-done): Fix docstring.
30973 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30975         * org-exp.el (org-export-html-format-image): Fix bugs.
30977         * org-export-latex.el (org-export-latex-tables)
30978         (org-export-latex-links): Implement attribute, label, and caption
30979         handling.
30981         * org-exp.el (org-export-html-style-default): Add style
30982         definitions for the figure div.
30983         (org-export-preprocess-string, org-export-as-html):
30984         Implement attribute, label, and caption handling.
30985         (org-export-attach-captions-and-attributes): New function.
30986         (org-export-html-format-image): New function.
30987         (org-format-org-table-html): Implement attribute, label, and
30988         caption handling.
30990         * org.el (org-find-text-property-in-string): New function.
30991         (org-extract-attributes): Use the property org-attr instead of
30992         org-attrobutes, because this property is now set with the #+ATTR
30993         lines.
30995 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30997         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
30998         the case that FROM is nil.
31000         * org.el (org-before-first-heading-p): New function.
31002 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
31004         * org-exp.el (org-export-as-html): Do not add a space before
31005         enforces line breaks.
31006         (org-export-as-html): Close paragraph before blockquote and verse
31007         tags.
31009 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
31011         * org-id.el (org-id-locations-file): Wrap file name with
31012         `convert-standard-filename'.
31013         (org-id-files): New variable.
31014         (org-id-use-hash): New option.
31015         (org-id-update-id-locations): Also search in all files current
31016         listed in `org-id-files'.  Convert the resulting alist to a hash
31017         if the user customation says so.
31018         (org-id-locations-save): Handle he case if `org-id-locations' is a
31019         hash.
31020         (org-id-locations-load): Convert the alist to a hash.
31021         (org-id-add-location): Handle the hast case.
31022         (kill-emacs-hook): Make sure id locations are saved when Emacs is
31023         exited.
31024         (org-id-hash-to-alist, org-id-alist-to-hash)
31025         (org-id-paste-tracker): New functions.
31027 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31029         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
31030         bindings of calendar variables.
31032         * org-table.el (org-table-find-row-type): Rename from
31033         `org-find-row-type'.
31034         (org-table-rewrite-old-row-references): Rename from
31035         `org-rewrite-old-row-references'.
31036         (org-table-shift-refpart): Rename from `org-shift-refpart'.
31037         (org-table-cleanup-narrow-column-properties): Rename from
31038         `org-cleanup-narrow-column-properties'.
31040 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31042         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
31043         for better error messages.
31044         (org-table-get-descriptor-line): Supply the new arguments to
31045         `org-find-row-type'.
31046         (org-table-error-on-row-ref-crossing-hline): New option.
31048         * org.el (org-target-link-regexp): Make buffer-local.
31049         (org-move-subtree-down): Fix bug with trees at beginning of
31050         buffer.
31052 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31054         * org-faces.el (org-set-tag-faces): New function.
31055         (org-tags-special-faces-re): New variable.
31057         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
31059         * org-faces.el (org-tag-faces): New option.
31060         (org-tag): Mention `org-tag-faces' in the docstring.
31062 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31064         * org-exp.el (org-export-html-style-default): Implement new
31065         quoting.
31067         * org-jsinfo.el (org-infojs-template): Implement new quoting.
31069         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
31070         command to the `w3m-minor-mode-map'.
31072         * org-archive.el (org-archive-to-archive-sibling):
31073         Protect `this-command' to avoid appending kills during archiving.
31075         * org-exp.el (org-export-with-priority): New variable.
31076         (org-export-add-options-to-plist): Use `org-export-plist-vars'
31077         instead of internal list of strings and properties.
31078         (org-print-icalendar-entries): Retrieve the location property with
31079         inheritance.
31081 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31083         * org-exp.el (org-export-with-todo-keywords): New option.
31084         (org-export-plist-vars): Include also the keys for the #+OPTIONS
31085         line.
31086         (org-default-export-plist, org-export-add-options-to-plist)
31087         (org-export-as-ascii, org-export-as-html): Use the new structure
31088         of `org-export-plist-vars'.
31090         * org.el (org-map-entries): Return all values.
31092 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31094         * org.el (org-matcher-time): Recognize more special values.
31096         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
31098 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31100         * org.el (org-tags-exclude-from-inheritance): New option.
31101         (org-tag-inherit-p, org-remove-uniherited-tags):
31102         Respect `org-tags-exclude-from-inheritance'.
31104         * org-agenda.el (org-agenda-show-inherited-tags): New option.
31105         (org-format-agenda-item): Add inherited tags to the agenda line
31106         string, and make sure that properties are kept when downcasing the
31107         tags list.
31108         (org-agenda-add-inherited-tags): New function.
31109         (org-downcase-keep-props): New function.
31111         * org.el (org-scan-tags): Mark inherited tags with a text
31112         property.
31113         (org-get-tags-at): Mark inherited tags with a text property.
31114         (org-add-prop-inherited): New function.
31116         * org-agenda.el (org-agenda-add-inherited-tags): New function.
31117         (org-agenda-show-inherited-tags): New option.
31119 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31121         * org.el (org-modules): Add org-w3m to the default modules.
31123         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
31124         orgtbl-mode.
31125         (orgtabl-create-or-convert-from-region): New command.
31127         * org-exp.el (org-export-as-ascii): Remove the handling of
31128         targets.
31129         (org-export-ascii-preprocess): Handle targets already in this
31130         function.
31132 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31134         * org-timer.el (org-timer-start-time): Define this variable.
31135         (org-timer-item): Make argument optional.
31137         * org-list.el (org-insert-item): Automatically insert a timer item
31138         if the current list is a timer list.
31140         * org-timer.el: New file.
31142         * org-publish.el (org-publish-org-index): Only exclude the index
31143         file in the main directory from being added to the site-map.
31144         (org-publish-get-project-from-filename): If the current project is
31145         a component, start publishing from the parent project.
31147 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31149         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
31151         * org-publish.el (org-publish-org-index): Improve removal of
31152         temporary buffers.
31154 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
31156         * org-agenda.el (org-get-closed): Re-apply changes
31157         accidentially overwritten by last commit to Emacs.
31159         * org.el (org-outline-path-complete-in-steps): New option.
31160         (org-refile-get-location):
31161         Honor `org-outline-path-complete-in-steps'.
31162         (org-agenda-change-all-lines, org-tags-sparse-tree)
31163         (org-time-string-to-absolute, org-small-year-to-year)
31164         (org-link-escape): Re-apply changes accidentially overwritten
31165         by last commit to Emacs.
31167 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31169         * org-clock.el (org-dblock-write:clocktable): Make sure the
31170         clocktable sees the first line.
31171         (org-clock-in): Warn if the clock cannot be resumed.
31173 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31175         * org.el (org-open-at-point): Fix mixup about interactive and
31176         non-interactive elisp links.
31178 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31180         * org-exp.el (org-export-preprocess-string): Allow one comment
31181         line before the first headline to always be included.  This is
31182         to not miss a commented target.
31184         * org-mouse.el (org-mouse-insert-item):
31185         Call `org-indent-to-column' instead of `indent-to', for XEmacs
31186         compatibility.
31188         * org.el (org-refile-targets): Fix customize definition so
31189         that it works also in XEmacs.
31190         (org-fixup-indentation): Call `org-indent-to-column' instead
31191         of `indent-to', for XEmacs compatibility.
31193 2008-11-23  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
31195         * org-mew.el (org-mew-store-link): Get the correct case folder
31196         for refiled messages.
31198 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31200         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
31201         line break indicators.
31203         * org.el (org-ido-completing-read): Remove the "i:" prefix for
31204         ido-completion propts.
31206 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31208         * org-remember.el (org-remember-apply-template):
31209         Use `org-substring-no-properties'.
31211         * org-compat.el (org-substring-no-properties): New function.
31213         * org-remember.el (org-remember-apply-template):
31214         Use `org-substring-no-properties' for compatibility.
31216         * org-list.el (org-list-two-spaces-after-bullet-regexp):
31217         New option.
31218         (org-fix-bullet-type):
31219         Respect `org-list-two-spaces-after-bullet-regexp'.
31221         * org-clock.el (org-clock-load): Clean up the code.
31223         * org.el (org-adaptive-fill-function): Allow two spaces after
31224         "1." as a list bullet.
31226 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31228         * org-clock.el (org-clock-save, org-clock-load): Check for
31229         live buffers, existing files, and buffer file names to ensure
31230         consistent information.
31231         (org-clock-persist): Make `clock' a special value of this
31232         variable, and improve docstring.
31234         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
31235         (org-get-string-indentation): Adapt indentation when the bullet
31236         width changes.
31238 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31240         * org-remember.el (org-remember-finalize): Make interactive.
31241         (org-remember-kill): New command.
31242         (org-remember-finish-immediately): Call `org-remember-finalize'
31243         directly.
31244         (org-remember-finalize): Make `org-remember-finalize' an interactive
31245         function.
31247 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31249         * org-remember.el (org-remember-apply-template): No ido completion
31250         for free prompts in remember templates.
31251         (org-remember-before-finalize-hook): New hook.
31252         (org-remember-mode): New minor mode.
31253         (org-remember-apply-template): Turn on `org-remember-mode'.
31255         * org-remember.el (org-remember-apply-template): Fix the way how
31256         the list of allowed properties is retrieved from the target file.
31258         * org.el (org-insert-link): Improve file link matching.
31260 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31262         * org-colview.el (org-columns-display-here): New argument
31263         DATELINE, to trigger using the new face.
31264         (org-agenda-colview-summarize): Call `org-columns-display-here'
31265         with the new argument.
31267         * org-faces.el (org-agenda-column-dateline): New face.
31269         * org-publish.el (org-publish-org-index): Use index-title at page
31270         title, not as section.
31272         * org-exp.el (org-export-html-format-desc): Respect the
31273         org-protect property.
31274         (org-export-as-html): Protect image specifiers that are in the
31275         description part of a link.
31277         * org.el (org-sort-entries-or-items, org-completing-read)
31278         (org-refile-get-location, org-olpath-completing-read, org-todo)
31279         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
31280         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
31281         (org-set-property, org-delete-property)
31282         (org-delete-property-globally): Use `org-ido-completing-read'.
31284         * org-remember.el (org-remember-apply-template):
31285         Use `org-ido-completing-read'.
31287         * org-publish.el (org-publish): Use `org-ido-completing-read'.
31289         * org-colview.el (org-columns-edit-value, org-columns-new)
31290         (org-insert-columns-dblock): Use `org-ido-completing-read'.
31292         * org-attach.el (org-attach-delete-one, org-attach-open):
31293         Use `org-ido-completing-read'.
31295         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag):
31296         Use `org-ido-completing-read'.
31298         * org.el (org-time-today): New function.
31299         (org-matcher-time): Use `org-time-today'.  Add special treatment
31300         for "<tomorrow>" and "<yesterday>".
31301         (org-ido-completing-read): New function.
31302         (org-completion-use-ido): New option.
31304         * org-exp.el (org-export-format-source-code): Fix bug in require
31305         htmlize code.
31306         (org-export-target-internal-links): Fix bug in search for text
31307         property.
31309 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31311         * org-export-latex.el (org-export-latex-subcontent):
31312         Interpret target aliases as additional labels.
31314         * org-exp.el (org-export-target-aliases): New variable.
31315         (org-export-preprocess-string)
31316         (org-export-handle-invisible-targets): Fill the alias alist.
31317         (org-export-as-html): Remove the &nbsp; from the anchor, and also
31318         assign an id.
31319         (org-html-level-start): Insert the target aliases as additional
31320         anchors.
31322         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
31323         picture area.
31325 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31327         * org.el (org-open-at-mouse): Ensure correct link abbreviations
31328         when following a link with the mouse from the agenda.
31330         * org-exp.el (org-export-as-html): Avoid lone </div> when no
31331         headlines are created.
31333 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31335         * org.el (org-link-translation-function): New option.
31336         (org-open-at-point): Call `org-link-translation-function' if
31337         non-nil.
31338         (org-translate-link): New function.
31339         (org-translate-link-from-planner): New function.
31340         (org-open-at-point): Allow interactive commands in elisp links.
31342         * org-exp.el (org-icalendar-cleanup-string): Restore the old
31343         iCalendar quoting.  The new one seems to caus problems with
31344         applications.
31346         * org.el (org-yank): Set `this-command' to `yank', so that
31347         `yank-pop' will work.
31349 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31351         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
31352         compliance as far as quoting is concerned.
31354         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
31355         hexified version of the tag.
31357         * org-vm.el (org-vm-follow-link): Require `vm-search'.
31359         * org.el (org-up-heading-safe, org-forward-same-level):
31360         Always call `org-back-to-heading' instead of `outline-back-to-heading'.
31361         (org-back-to-heading): New wrapper around outline-back-to-heading,
31362         with a useful error message telling where the error happened.
31364         * org-list.el (org-update-checkbox-count): Always call
31365         `org-back-to-heading' instead of `outline-back-to-heading'.
31367         * org-exp.el (org-export-as-html): Make sure that each <img> tag
31368         has an `alt' attribute, to ensure XHTML validation.
31370 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31372         * org-publish.el (org-publish-attachment): Allow publishing to
31373         overwrite attachment files.
31375         * org-agenda.el (org-agenda-timerange-leaders): New option.
31376         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
31378         * org.el (org-edit-src-exit): Untabify ASCII image before
31379         returning.
31381 2008-11-19  Glenn Morris  <rgm@gnu.org>
31383         * org.el, org-mouse.el (org-agenda-change-all-lines):
31384         Fix declaration.
31386 2008-11-18  Carsten Dominik  <dominik@science.uva.nl>
31388         * org.el ("speedbar"): Only show context if the file really is an
31389         org-mode buffer.
31391 2008-11-17  Juanma Barranquero  <lekktu@gmail.com>
31393         * org.el (org-time-string-to-absolute, org-small-year-to-year)
31394         (org-tags-sparse-tree): Fix typos in docstrings.
31396 2008-11-15  Carsten Dominik  <dominik@science.uva.nl>
31398         * org-publish.el (org-publish-attachment): Allow copy-file to
31399         overwrite files.
31401 2008-11-13  Glenn Morris  <rgm@gnu.org>
31403         * org-agenda.el (org-get-closed): Fix alias.
31405 2008-11-12  Juanma Barranquero  <lekktu@gmail.com>
31407         * org.el (org-link-escape): Fix typo in docstring.
31409 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31411         * org.el (org-yank): Make any prefix force normal yanking.
31412         Suppress folding if text would be swallowed into a folded
31413         subtree.
31414         (org-yank-folded-subtrees, org-yank): Docstring updates.
31416         * org-agenda.el (org-agenda-compare-effort): Treat no effort
31417         defined as 0.
31419         * org-exp.el (org-export-language-setup): Add Catalan and
31420         Esperanto language entries.
31422 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31424         * org.el (org-refile): Allow refiling of entire regions.
31426         * org-clock.el (org-clock-time%): New function.
31428         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
31429         retrieve property values.
31431 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31433         * org-agenda.el (org-agenda-list): Handle the value `only' of
31434         org-agenda-show-log'.
31435         (org-agenda-log-mode): Interpret a double prefix arg.
31437 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31439         * org-exp.el (org-export-html-footnotes-section): New variable.
31440         (org-export-as-html): Use `org-export-html-footnotes-section' to
31441         insert the footnotes.
31442         (org-export-language-setup): Add "Footnotes" to language words.
31444 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31446         * org.el (org-yank): Fix bug when not inserting a subtree.
31448 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31450         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
31451         instead of `vm-beginning-of-message'.
31453         * org.el (org-make-link-regexps): Make sure that links to gnus can
31454         contain brackets.
31456 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31458         * org-attach.el (org-attach-dir): Remove duplicate ID creation
31459         code.
31461         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
31462         shell output.
31464         * org.el (org-link-abbrev-alist): Improve customization type.
31466         * org-attach.el (org-attach-expand-link, org-attach-expand):
31467         New functions.
31469         * org-agenda.el (org-agenda-get-progress): Rename from
31470         `org-get-closed'.  Implement searching for state changes as well.
31471         (org-agenda-log-mode-items): New option.
31472         (org-agenda-log-mode): New option prefix argument, interpreted as
31473         request to show all possible progress info.
31474         (org-agenda-get-day-entries): Call `org-get-progress' instead of
31475         `org-get-closed'.
31476         (org-agenda-set-mode-name): Handle the more complex log mode
31477         settings.
31478         (org-get-closed): New alias, pointing to `org-get-progress'.
31480 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31482         * org.el (org-file-apps-defaults-gnu)
31483         (org-file-apps-defaults-macosx)
31484         (org-file-apps-defaults-windowsnt): Add an entry defining the
31485         system command.
31486         (org-file-apps): Allow `system' as key and value.
31487         (org-open-at-point): Explain the effect of a double prefix arg.
31488         (org-open-file): If the argument `in-emacs' is (16),
31489         i.e. corresponding to a double prefix argument, try to open the
31490         file externally.
31492 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31494         * org.el (org-insert-link): Abbreviate absolute files names in
31495         links.  Also, fix a bug in which the double C-u prefix would not
31496         be honored.
31498 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31500         * org.el (org-insert-heading): If buffer does not end with a
31501         newline, add one if necessary to insert headline correctly.
31503         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
31504         paragraphs, not inside.
31506         * org.el (org-todo):
31507         Quote `org-agenda-headline-snapshot-before-repeat'.
31509         * org-exp.el (org-export-as-html): Fully process link descriptions.
31510         (org-export-html-format-desc): New function.
31511         (org-export-as-html): Collect footnotes into the correct basket.
31512         (org-html-protect): No longer protect quotations marks here, this
31513         goes wrong.
31515         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
31516         BEG.
31518         * org-compat.el (org-fit-window-to-buffer): New function (not
31519         really, a preliminary and incomplete version was present earlier,
31520         but not used).
31522         * org.el (org-fast-todo-selection, org-fast-tag-selection):
31523         Use `org-fit-window-to-buffer'.
31525         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
31527         * org-agenda.el (org-agenda-get-restriction-and-command)
31528         (org-fit-agenda-window, org-agenda-convert-date):
31529         Use `org-fit-window-to-buffer'.
31531         * org-exp.el (org-export-as-html): Process href links through
31532         `org-export-html-format-href'.
31533         (org-export-html-format-href): New function.
31535         * org-agenda.el (org-agenda-todo): Update only the current
31536         headline if this is a repeated TODO, marked done for today.
31537         (org-agenda-change-all-lines): New argument JUST-THIS, to change
31538         only the current line.
31540         * org.el (org-todo): Take a snapshot of the headline if the
31541         repeater might change it.
31543 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31545         * org-publish.el (org-publish-find-title): Remove buffers visited
31546         only for extracting the title.
31548         * org-exp.el (org-export-html-style)
31549         (org-export-html-style-default): Mark style definitions as
31550         unparsed CDATA.
31552         * org-publish.el (org-publish-validate-link):
31553         Function re-introduced.
31555 2008-11-12  Charles Sebold  <csebold@gmail.com>
31557         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
31558         property.
31559         (org-plot-quote-timestamp-field): New function.
31560         (org-plot-quote-tsv-field): Call timestamp field function when
31561         necessary rather than just quoting as a string.
31562         (org-plot/gnuplot-to-data): Pass in timefmt property.
31563         (org-plot/gnuplot-script): Supports timefmt property.
31564         (org-plot/gnuplot): Checks for timestamp column before checking
31565         for text index column.
31567 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31569         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
31571         * org-publish.el (org-publish-org-index): Create a section in the
31572         index file.
31573         (org-publish-org-index): Stop linking to directories.
31575         * org.el (org-emphasis-alist): Use span instead of <u> to
31576         underline text.
31578         * org-exp.el (org-export-as-html): Make sure <p> is closed before
31579         <pre> sections.
31581 2008-11-12  Sebastian Rose  <sebastian_rose@gmx.de>
31583         * org-jsinfo.el (org-infojs-template): Remove language attribute
31584         from script tag.
31586 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31588         * org-agenda.el (org-agenda-remove-marked-text): New function.
31589         (org-agenda-mark-filtered-text)
31590         (org-agenda-unmark-filtered-text): New functions.
31591         (org-write-agenda): Remove filtered text.
31593         * org.el (org-make-tags-matcher): Give access to TODO "property"
31594         without speed penalty.
31596 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31598         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
31599         option.
31600         (org-store-link-props): Make sure adding to the plist works
31601         correctly.
31603         * org-gnus.el (org-gnus-no-new-news): New function.
31604         (org-gnus-follow-link): Allow the article ID to be a message-id,
31605         in addition to allowing article numbers.  Message IDs make much
31606         more roubust links.
31607         (org-gnus-store-link): Use message-id to create link.
31609 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31611         * org.el (org-emphasize): Reverse the selection array.
31612         (org-emphasis-alist): Set <code> tags for the verbatim
31613         environment.
31615         * org-remember.el (org-remember-handler): Fix bug with
31616         prefix-related changing of the note storage target.
31618         * org-exp.el (org-print-icalendar-entries): Make the exported
31619         priorities compatible with RFC 2445.
31621         * org-clock.el (org-clock-save): Insert time stamp without
31622         dependence on time-stamp.el.
31624 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31626         * org.el ("saveplace"): If saveplace puts point into an invisible
31627         location, make it visible.
31628         (org-make-tags-matcher): Allow inactive time stamps in time
31629         comparisons.
31630         (org-yank-adjusted-subtrees): New option.
31631         (org-yank): Incorporate adjusting trees.
31632         (org-paste-subtree): New argument FOR-YANK which will cause
31633         insertion at point without backing up over white lines, and leave
31634         point at the end of the inserted text.  Also if the cursor is
31635         at the beginning of a headline, use the same level or the inserted
31636         tree.
31638         * org-publish.el (org-publish-get-base-files-1): Deal correctly
31639         with broken symlinks.
31641 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31643         * org-exp.el (org-export-select-tags, org-get-current-options):
31644         Fix typo.
31646 2008-11-06  Glenn Morris  <rgm@gnu.org>
31648         * org-publish.el (org-publish-attachment): Use copy-file rather than
31649         eshell/cp.
31651 2008-11-04  Juanma Barranquero  <lekktu@gmail.com>
31653         * org.el (org-columns-modify-value-for-display-function):
31654         * org-table.el (org-table-convert-region): Fix typos in docstrings.
31656 2008-10-28  Glenn Morris  <rgm@gnu.org>
31658         * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
31660         * org-list.el (outline-next-heading, outline-back-to-heading):
31661         Fix declarations.
31663 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31665         * org-agenda.el (org-format-agenda-item)
31666         (org-agenda-filter-make-matcher): Make sure tags are stored and
31667         compared downcased.
31669 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31671         * org.el (org-insert-todo-heading): Fix bug with force-heading
31672         argument.
31674 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31676         * org-exp.el (org-export-as-ascii): Handle the case that we are
31677         bulishing from an indirect buffer.
31679         * org-table.el (org-table-copy-down): Fix bug with time stamp
31680         increment.
31682         * org-mouse.el (org-mouse-features): New option.
31683         (org-mode-hook): Turn on features depending on
31684         `org-mouse-features'.
31686         * org.el (org-insert-heading-respect-content): Force heading
31687         creation.
31688         (org-insert-heading): Keep the folding state of the heading before
31689         the inserted one.
31691 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31693         * org-archive.el (org-archive-to-archive-sibling): Handle top
31694         level headlines better.
31696 2008-10-26  Bastien Guerry  <bzg@gnu.org>
31698         * org-export-latex.el (org-export-latex-classes):
31699         Add \usepackage{graphicx} to the default list of packages.
31701 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31703         * org-agenda.el (org-agenda-filter): Rename from
31704         `org-agenda-filter-tags'.
31706 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31708         * org.el (org-entry-properties): Add CATEGORY property, iven if it
31709         is not defined as a property in this entry.
31710         (org-add-log-note): Mask prefix argument when immediately storing
31711         the note.
31713         * org-agenda.el (org-agenda-filter-effort-default-operator):
31714         New option.
31716 2008-10-26  James TD Smith  <ahktenzero@mohorovi.cc>
31718         * org.el (org-add-log-setup): Bugfix; code to find insertion point
31719         after drawers was skipping ahead one line too many, so notes were
31720         inserted after the first note instead of before it.
31722 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31724         * org-agenda.el (org-agenda-filter-tags, org-agenda-filter-form):
31725         New variables.
31726         (org-prepare-agenda): Reset the filter tags.
31727         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
31728         Show filter tags in mode line.
31730         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
31731         formatter.
31733         * org-export-latex.el (org-latex-entities-regexp): New constant.
31734         (org-export-as-pdf): Use two calls to `shell-command'.
31736 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31738         * org-export-latex.el (org-export-latex-treat-sub-super-char):
31739         Honor the {} value of the subsuperscript setting.  Make sure that
31740         longer subsuperscripts are typeset in a roman font.
31742         * org.el (org-clock-update-time-maybe): Compute negative clock
31743         intervals correctly.
31745 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31747         * org.el (org-add-log-setup):
31748         Respect `org-log-state-notes-insert-after-drawers'.
31749         (org-log-state-notes-insert-after-drawers): New option.
31750         (org-todo-trigger-tag-changes): New function.
31751         (org-todo): Call `org-todo-trigger-tag-changes'.
31753 2008-10-26  James TD Smith  <ahktenzero@mohorovi.cc>
31755         * org.el (org-add-log-setup): Only skip drawers if they are
31756         immediately after the scheduling keywords.
31758         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
31759         function.
31760         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
31761         call it with the current todo state to get the state to switch to
31762         when clocking in.
31763         (org-clock-in): Use org-indent-line-function to indent clock lines.
31764         (org-clock-find-position): Fix indentation of empty clock drawers.
31766 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31768         * org-publish.el (org-publish-org-to): Handle case when
31769         org-export-to-pdf does return a file name, not a buffer.
31770         (org-publish-org-to-pdf): New function.
31772         * org-export-latex.el (org-export-as-pdf)
31773         (org-export-as-pdf-and-open): New commands.
31775         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
31776         forms as ranges.
31778         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
31779         things in protexted regions.
31781 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31783         * org-export-latex.el (org-export-latex-preprocess):
31784         Improve quoting of LaTeX environments.
31786 2008-10-19  Eli Zaretskii  <eliz@gnu.org>
31788         * org.el (org-default-notes-file):
31789         * org-publish.el (org-publish-timestamp-directory):
31790         * org-id.el (org-id-locations-file): Run file names that begin
31791         with a period thru `convert-standard-filename'.
31793 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31795         * org-plot.el: Switch coding system to unix.
31797 2008-10-12  John Wiegley  <johnw@newartisans.com>
31799         * org-attach.el: New file.
31801 2008-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
31803         * org.el (org-edit-fixed-width-region): Exclude final newline from
31804         picture area.
31806         * org-export-latex.el (org-export-latex-subcontent): Add labels to
31807         sections, to make internal links work.
31808         (org-export-latex-fontify-headline): Do not remove all text
31809         properties, to make sure that target properties survive this
31810         process.
31812         * org-exp.el (org-export-preprocess-string): Change sequence of
31813         modifications, to make sure links are prepared before the LaTeX
31814         conversions do happen.
31816         * org-attach.el (org-attach-delete-all): Rename from
31817         `org-attch-delete'.  Add a security query before deleting the
31818         entire directory.  New optional argument FORCE can overrule the
31819         security query.
31820         (org-attach-delete-one): New command.
31822         * org-attach.el (org-attach-file-list): Fix bug with directory.
31824         * org.el (org-apps-regexp-alist): New function.
31825         (org-file-apps): Add auto-mode to the default value.
31826         (org-open-file): Use the new structure of org-file-apps.
31828         * org-attach.el (org-attach): Support the new keys.
31829         (org-attach-method): New option.
31831         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
31832         March.
31834         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
31835         of the list value o `org-use-tag-inheritance'.
31837         * org-attach.el (org-attach-auto-tag): New option.
31838         (org-attach-tag, org-attach-untag): New functions.
31839         (org-attach-attach, org-attach-new, org-attach-sync):
31840         Call `org-attach-tag'.
31841         (org-attach-delete): Call `org-attach-untag'.
31843         * org-table.el (orgtbl-self-insert-command): Make this work for
31844         the keypad as well.
31846         * org.el (org-add-log-setup): Limit searc for drawers to entry
31847         text, not to subtree.
31849         * org-clock.el (org-clock-heading-for-remember): New variable.
31850         (org-clock-in): Set `org-clock-heading-for-remember'.
31852 2008-10-12  James TD Smith  <ahktenzero@mohorovi.cc>
31854         * org-remember.el (org-remember-apply-template): Add new
31855         expansions: %k, %K for currently clocked task and a link to the
31856         currently clocked task, and %< to file notes in the currently
31857         clocked task.
31859 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31861         * org-export-latex.el (org-export-latex-make-header): Also insert
31862         the content of the property :latex-header-extra.
31864         * org-exp.el (org-infile-export-plist): Put the content of
31865         #+LATEX_HEADER: into the property :latex-header-extra.
31867         * org-colview.el (org-columns-get-format-and-top-level):
31868         Remove resetting the marker.
31870         * org.el (org-entry-property-inherited-from): Improve docstring.
31871         (org-entry-get-with-inheritance): Reset marker before starting the
31872         search.
31874         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
31876         * org.el (org-entry-get-multivalued-property)
31877         (org-entry-protect-space, org-entry-restore-space):
31878         New functions.
31879         (org-file-apps-defaults-macosx): Let PostScript files be opened by
31880         preview.
31881         (org-time-stamp-inactive): Call `org-time-stamp'.
31882         (org-time-stamp): New argument `inactive'.  Also edit inactive
31883         stamps.  Convert time stamp type.
31884         (org-open-file): Interpret the `default' value for the `command'
31885         in `org-file-apps'.
31887         * org-id.el (org-id-int-to-b36-one-digit)
31888         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
31889         (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
31890         b36.
31892         * org-id.el (org-id-reverse-string): New function.
31893         (org-id-new): Use `org-id-reverse-string' to make sure the
31894         beginning chars of the ID are mutating fast.  This allows to use a
31895         directory structure to spread things better.
31896         (org-id-prefix): Change default to nil.
31898         * org-list.el (org-move-item-down, org-move-item-up): Remember and
31899         restore the column of the cursor position.
31901         * org-remember.el (org-remember-apply-template): Remove properties
31902         from `initial'.
31904         * org-wl.el (org-wl-open): Remove useless call to
31905         `wl-thread-open-all'.
31907         * org-remember.el (org-remember-handler): Fix bug with `bottom'
31908         location.
31910         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
31911         `org-bbdb-anniversaries'.
31913         * org.el (org-get-next-sibling, org-forward-same-level):
31914         New functions, similar to the outline versions, but invisible headings
31915         are OK.
31917 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31919         * org.el (org-auto-repeat-maybe): Insert a space between
31920         the timestamp's type and the timestamp itself.
31922 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31924         * org-table.el (org-table-sum): Do not format the result with %g,
31925         it does rounding when there are too many digits.
31927         * org.el (org-map-entries): Protect the keyword-selecting variables.
31929 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31931         * org-agenda.el (org-agenda-to-appt): Make sure the function check
31932         against all agenda files.
31934 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31935             Bastien Guerry  <bzg@gnu.org>
31937         * org-list.el: New file, aggregating list functions from org.el
31938         and org-export-latex.el.
31940 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31942         * org.el (org-edit-src-region-extra): New option.
31944         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
31945         time before 1am.
31947 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31949         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
31951 2008-10-12  James TD Smith  <ahktenzero@mohorovi.cc>
31953         * org-plot.el (org-plot/gnuplot): Make tables starting with a
31954         hline work correctly.
31955         (org-plot/gnuplot-script): Put commas at the end of each script
31956         line.
31958         * org.el (org-get-refile-targets): Replace links with their
31959         descriptions.
31960         (org-imenu-get-tree): Replace links with their descriptions.
31962         * org-remember.el (org-remember-apply-template): Add a new
31963         expansion for adding properties to remember items.
31965         * org.el (org-add-log-setup): Skip over drawers (properties,
31966         clocks etc) when adding notes.
31968         * org-agenda.el (org-agenda-get-closed): Show durations of clocked
31969         items as well as the start and end times.
31971         * org-compat.el (org-get-x-clipboard-compat): Add a compat
31972         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
31974         * org-remember.el (org-get-x-clipboard): Use the compat
31975         function to get clipboard values when x-selection-value is
31976         unavailable.  Use substring-no-properties instead of
31977         set-text-properties to remove text properties from the clipboard
31978         value.
31980         * org-clock.el (org-update-mode-line): Support limiting the
31981         modeline clock string, and display the full todo value in the
31982         tooltip.  Set a local keymap so mouse-3 on the clock string goes to
31983         the currently clocked task.
31984         (org-clock-string-limit): Add a custom value for the maximum
31985         length of the clock string in the modeline.
31986         (org-clock-mode-map): Add a keymap for the modeline string.
31988 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31990         * org-compat.el (org-propertize): New function.
31992 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31994         * org-export-latex.el (org-export-latex-tables): Protect exported
31995         tables from further special chars conversion.
31996         (org-export-latex-preprocess): Preserve LaTeX environments.
31997         (org-list-parse-list): Parse descriptive lists.
31998         (org-list-to-generic, org-list-to-latex, org-list-to-html)
31999         (org-list-to-texinfo): Export descriptive lists.
32000         (org-quote-chars): Remove.
32001         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
32002         (org-export-latex-list-beginning-re): Rename to
32003         `org-list-beginning-re'.
32004         (org-list-item-begin): Rename to `org-list-item-beginning'.
32006 2008-10-12  Eric Schulte  <schulte.eric@gmail.com>
32008         * org-plot.el: New file.
32010 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
32012         * org.el (org-refile): Allow refiling to the last entry in the
32013         buffer.
32014         (org-get-tags-at): Fix bug when inheritance is turned off.
32016         * org.el (org-indent-line-function): No longer check for src
32017         regions, this is too much overhead.
32019         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
32020         matching.
32022         * org.el (org-scan-tags): Make sure that tags matching is not case
32023         sensitive.  TODO keyword matching is case sensitive, however, to
32024         avoid confusion with similar words that are not meant to be
32025         keywords.
32027         * org.el (org-get-local-tags-at): New function.
32028         (org-get-local-tags): New function.
32030         * org-exp.el (org-export-get-categories): New function.
32032         * org-agenda.el (org-sorting-choice)
32033         (org-agenda-sorting-strategy, org-agenda-get-todos)
32034         (org-agenda-get-timestamps, org-agenda-get-deadlines)
32035         (org-agenda-get-scheduled, org-agenda-get-blocks)
32036         (org-entries-lessp): Implement sorting by TODO state.
32037         (org-cmp-todo-state): New defsubst.
32039         * org-colview.el (org-colview-construct-allowed-dates):
32040         New function.
32041         (org-columns-next-allowed-value):
32042         Use `org-colview-construct-allowed-dates'.
32044         * org.el (org-protect-slash): New function.
32045         (org-get-refile-targets): Use `org-protect-slash'.
32047         * org-agenda.el (org-global-tags-completion-table): New variable.
32049         * org-exp.el (org-export-handle-export-tags): New function.
32050         (org-export-preprocess-string):
32051         Call `org-export-handle-export-tags'.
32053         * org-publish.el (org-publish-expand-components): Function removed.
32054         (org-publish-expand-projects): Allow components to have components.
32056         * org.el (org-indent-line-function): Do not indent in regions that
32057         are external source code.
32058         (org-yank-and-fold-if-subtree): New function.
32060         * org-agenda.el (org-agenda-todayp): New function.
32061         (org-agenda-get-deadlines, org-agenda-get-scheduled):
32062         Use `org-agenda-todayp'.
32064         * org.el (org-insert-heading-respect-content)
32065         (org-insert-todo-heading-respect-content): New commands.
32066         (org-insert-heading-respect-content): New option.
32067         (org-insert-heading): Respect `org-insert-heading-respect-content'.
32069         * org-clock.el (org-clock-find-position): Make sure the note after
32070         the clock line gets moved into the new clock drawer.
32072         * org-id.el (org-id-new): New option.
32074         * org-table.el (org-table-copy-down): Avoid overflow during
32075         increment.  Use prefix argument 0 to temporarily disable the
32076         increment.
32078         * org-exp.el (org-export-as-html): Do not turn on the major mode
32079         if the buffer will be killed anyway.
32080         (org-get-current-options): Exclude the #+TEXT field.
32081         (org-export-as-html): Make sure text before the first headline is
32082         a paragraph.
32084         * org-publish.el (org-publish-org-to): Tell the exporter that this
32085         buffer will be killed, so it is not necessary to do major mode
32086         initialization.
32088         * org-archive.el (org-archive-to-archive-sibling): Show empty
32089         lines after folding the archive sibling.
32091         * org.el (org-log-note-extra): New variable.
32093 2008-10-12  Bastien Guerry  <bzg@gnu.org>
32095         * org.el (org-additional-option-like-keywords): Add keywords for
32096         the _QUOTE, _VERSE and _SRC environments.
32098         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
32099         exporting _QUOTE and _VERSE environments.
32101 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
32103         * org-agenda.el (org-agenda-filter-by-tag): New command.
32105         * org-exp.el (org-get-current-options): Remove angular brackets
32106         from the date entry.
32108         * org.el (org-edit-fixed-width-region): New function.
32109         (org-edit-fixed-width-region): Also try
32110         `org-edit-fixed-width-region'.
32111         (org-edit-fixed-width-region-mode): New option.
32112         (org-activate-code): Only interpret lines starting with colon
32113         plus a space as example lines.
32115         * org-remember.el (org-remember-templates): Add nil instead of
32116         empty strings to fix the length of remember templates.
32118         * org-table.el (org-calc-default-modes): Fix the time format for
32119         calc, from 12 hour to 24 hour clock.
32121         * org-agenda.el (org-agenda-get-deadlines)
32122         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
32123         entries that are pre-warnings of deadlines or reminders.
32125         * org.el (org-sort-entries-or-items): Make numeric and alpha
32126         comparisons ignore any TODO keyword and priority cookie.
32128         * org-remember.el (org-remember-handler): Reinterpretation of the
32129         prefix argument.
32131         * org-agenda.el (org-agenda-get-scheduled): Use new
32132         `org-scheduled' face.
32134         * org-faces.el (org-scheduled): New face.
32136         * org-wl.el (org-wl-open): Remove incorrect declaration.
32138         * org-gnus.el (org-gnus-store-link): Support for :to information
32139         in gnus links.
32141         * org-exp.el (org-export-as-html): Fix typo in creator
32142         information.
32143         (org-export-protect-examples): New parameter indent.  Insert extra
32144         spaces only when this parameter is specified.
32145         (org-export-preprocess-string): Call `org-export-protect-examples'
32146         with an indentation parameter when exporting to ASCII.
32148         * org-remember.el (org-remember-templates)
32149         (org-remember-apply-template): Allow the file component to be a
32150         function.
32152         * org.el (org-goto-local-search-headings): Rename from
32153         `org-goto-local-search-forward-headings'.  Added the possibility
32154         to search backwards.
32156         * org-export-latex.el (org-export-latex): New customization
32157         group.
32159         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
32161         * org-exp.el (org-html-do-expand): Allow {} to terminate
32162         tex macro.
32164         * org.el (org-buffer-list): Select buffers based on major mode,
32165         not on file name.
32167         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
32168         face property.
32170         * org-colview.el (org-columns-display-here):
32171         Use `org-columns-modify-value-for-display-function'.
32173         * org.el (org-columns-modify-value-for-display-function): New option.
32175         * org-publish.el (org-publish-file): Make sure the directory match
32176         for the publishing directory works correctly.
32178         * org-agenda.el (org-agenda-execute-calendar-command)
32179         (org-agenda-diary-entry): Additional optional argument.
32181 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
32183         * org-exp.el (org-export-as-html): Add attributes also in mailto
32184         and ftp links.
32186         * org.el (org-autoload): Add `org-dblock-write:columnview'.
32188 2008-08-11  Glenn Morris  <rgm@gnu.org>
32190         * org-mac-message.el (do-applescript): Fix declaration.
32192 2008-08-10  Glenn Morris  <rgm@gnu.org>
32194         * org-exp.el (org-export-as-html): Let-bind `i'.
32196         * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
32197         (org-extract-attributes): Let-bind `key', `value'.
32198         (org-make-tags-matcher): Let-bind `time-p'.
32200 2008-07-27  Carsten Dominik  <dominik@science.uva.nl>
32202         * org-install.el: New file.
32204 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
32206         * org-exp.el (org-export-html-style)
32207         (org-export-html-style-extra): Declare as safe-local-variable.
32209 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
32211         * org-publish.el (org-publish-file): Use the true name of the
32212         file.
32214         * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
32215         instead of :style.
32217         * org-exp.el (org-export-plist-vars)
32218         (org-export-add-options-to-plist): Handle creator setting flag.
32219         (org-export-as-html): Handle attributes also for ftp and mailto
32220         links.
32222         * org-agenda.el (org-agenda-diary-entry)
32223         (org-agenda-execute-calendar-command): Cater for the second
32224         argument of `calendar-cursor-to-date'.
32226 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
32228         * org-exp.el (org-export-region-as-html, org-export-as-html):
32229         Make sure that calls from `org-export-region-as-html' do not do the
32230         special check for a subtree.
32232         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
32234         * org.el (org-open-file):
32235         Use `org-open-directory-means-index-dot-org'.
32236         (org-open-directory-means-index-dot-org): New option.
32238         * org.el (org-make-link-string): Remove link attributes from
32239         description.
32240         (org-open-at-point): Remove link attributes before using the path.
32242         * org-exp.el (org-export-as-html): Handle link attributes.
32244         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
32246         * org-table.el (org-table-to-lisp): New function.
32248         * org.el (org-narrow-to-subtree): Do not include the final newline
32249         into the narrowed region.
32251         * org-agenda.el (org-agenda-custom-commands-local-options):
32252         Fix bug with user-define skipping condition.
32254         * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
32256         * org-exp.el (org-export-html-style-default): Automatic overflow
32257         handling for pre fields.
32258         (org-export-as-ascii, org-export-as-html): Change default format
32259         for time stamp.
32261         * org-table.el (org-table-export): Offer completion for translator
32262         functions, and do not require a heading above the table.
32264         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
32265         Cater for the case of a list starting in the first line of the
32266         buffer.
32268         * org-publish.el (org-publish-find-title): Bug fix.
32269         (org-publish-org-index): Implement new :index-style option.
32271         * org-publish.el (org-publish-timestamp-filename):
32272         Use SHA1-encoded file names in the timestamp directory.
32274         * org-publish.el (org-publish-needed-p): Be verbose about files
32275         published and files skipped.
32277         * org-exp.el (org-export-preprocess-string): Swap link
32278         normalization and internal link targeting.
32280         * org-publish.el (org-publish-needed-p): Create timestamp
32281         directory when it does not exist.
32283         * org-clock.el (org-clock-out-when-done): Doc fix.
32285         * org.el (org-agenda-skip-unavailable-files): Doc fix.
32287         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
32288         Ignore case when searching for the COMMENT cookie at export time.
32290         * org-exp.el (org-get-file-contents)
32291         (org-get-and-remove-property): New functions.
32292         (org-export-handle-include-files): Handle the new prefix options.
32293         (org-export-as-html): Fix the verse environment.
32295         * org.el (org-time=, org-time<, org-time<=, org-time>)
32296         (org-time>=, org-time<>, org-2ft): New functions.
32297         (org-op-to-function): Also provide for the time testing functions.
32299         * org-exp.el (org-export-html-style-default): New constant.
32301         * org-exp.el (org-export-html-style-extra): New variable.
32302         (org-export-splice-style): New function.
32304         * org-exp.el (org-export-plist-vars, org-export-as-html):
32305         Implement `org-export-creator-info'.
32306         (org-export-creator-info): New option.
32308         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
32309         (org-property-drawer-re, org-clock-drawer-re): New constants.
32311         * org-exp.el (org-icalendar-use-deadline)
32312         (org-icalendar-use-scheduled): New options.
32313         (org-icalendar-include-todo): Default changed to t.
32314         (org-print-icalendar-entries): Implement better utilization of
32315         scheduling and deadline time stamps.
32316         (org-export-target-internal-links, org-export-as-html): Allow file
32317         lines without the "file:" prefix if the file path is an absolute
32318         path or starts with ".".
32320         * org-clock.el (org-clocktable-shift): Also understand yesterday,
32321         lastweek etc.
32322         (org-clock-special-range): Also understand yesterday, lastweek etc.
32324         * org.el (org-agenda-skip-archived-trees): Docstring now
32325         discourages using this.
32326         (org-scan-tags): Check for org-agenda-archives-mode.
32327         (org-map-entries): Make sure org-agenda-archives-mode is nil.
32328         (org-agenda-files): Functionality of second arg changed.
32330         * org-agenda.el (org-agenda-archives-mode): New variable.
32331         (org-write-agenda, org-prepare-agenda, org-agenda-list)
32332         (org-search-view, org-todo-list, org-tags-view)
32333         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
32334         `ifmode' argument.
32335         (org-agenda-quit): Reset the archives mode.
32336         (org-agenda-archives-mode): New command.
32337         (org-agenda-set-mode-name): Include archives info.
32339         * org.el (org-paste-subtree): Make sure the yanked headline is
32340         visible if it was yanked at a visible point.
32341         (org-move-item-up): Fix the bug with moving white space at the end
32342         of the item.
32343         (org-show-empty-lines-in-parent): New function.
32345 2008-07-19  Juri Linkov  <juri@jurta.org>
32347         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
32348         new keymap `narrow-map' instead of binding "\C-xns".
32350 2008-07-02  Juanma Barranquero  <lekktu@gmail.com>
32352         * org.el (org-agenda-skip-unavailable-files):
32353         * org-clock.el (org-clock-out-when-done): Doc fixes.
32355 2008-06-18  Glenn Morris  <rgm@gnu.org>
32357         * org.el (org-map-entries): Let-bind `file'.
32359 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32361         * org-colview.el (org-columns-next-allowed-value): Bug fix.
32363         * org-agenda.el (org-agenda-get-closed): Get the end time into the
32364         agenda prefix as well.
32366         * org-publish.el (org-publish-org-index): Make a properly indented
32367         list.
32369         * org.el (org-calendar-agenda-action-key): New option.
32370         (org-get-cursor-date): New function.
32371         (org-mark-entry-for-agenda-action): New command.
32372         (org-overriding-default-time): New variable.
32373         (org-read-date): Respect `org-overriding-default-time'.
32375         * org-remember.el (org-remember-apply-template): Respect the
32376         overriding default time.
32378         * org-agenda.el (org-agenda-action-marker): New variable.
32379         (org-agenda-action): New command.
32380         (org-agenda-do-action): New function.
32382 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32384         * org.el (org-schedule, org-deadline): Protect scheduled and
32385         deadline tasks against changes that accidentally remove the
32386         repeater.  Also show a message with the new date when done.
32388 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32390         * org.el (org-beginning-of-line): Cater for the case when there
32391         are tags but no headline text.
32392         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
32393         it set.
32395 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32397         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
32398         the return value is nil instead of "nil" when there is no match.
32400         * org-exp.el (org-insert-centered): Use fill-column instead of
32401         80.
32402         (org-export-as-ascii): Use string-width to measure the width of
32403         the heading.
32405         * org.el (org-diary-to-ical-string): No longer kill buffer
32406         FROMBUF, this is now done by the caller.
32408         * org-exp.el (org-print-icalendar-entries): Move the call to
32409         `org-diary-to-ical-string' out of the loop, and kill the buffer
32410         afterwords.
32412         * org-remember.el (org-remember-visit-immediately):
32413         Position cursor after moving to the note.
32414         (org-remember-apply-template): Use a text property to record the
32415         cursor position.
32416         (org-remember-handler): Align tags after pasting the note.
32418 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32420         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
32422         * org-agenda.el (org-agenda-open-link): If there is an
32423         org-bbdb-name property in the current line, jump to that bbdb
32424         entry.
32426         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
32427         text property, so that the agenda knows where this entry comes
32428         from.
32430         * org-agenda.el (org-agenda-clock-in): Fix bug in the
32431         interaction between clocking-in from the agenda, and  automatic
32432         task state switching.
32434         * org-macs.el (org-with-point-at): Bug fix in macro definition.
32436         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
32437         zmacs-region stays after this command in XEmacs.
32439 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32441         * org.el (org-scan-tags): Allow new values for ACTION parameter.
32443         * org-remember.el (org-remember-templates): Fix bug in
32444         customization type definition.
32446         * org.el (org-map-entries): New function.
32448 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32450         * org-agenda.el (org-agenda-skip-comment-trees): New option.
32451         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
32453 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32455         * org-remember.el (org-jump-to-target-location): New variable.
32456         (org-remember-apply-template):
32457         Set `org-remember-apply-template' if requested by template.
32458         (org-remember-handler): Start an idle timer to jump to
32459         remember location.
32461         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
32463         * org.el (org-set-regexps-and-options): Fix bug with parsing of
32464         file tags.
32465         (org-get-tags-at): Add the content of `org-file-tags'.
32467         * org-exp.el (org-export-handle-comments): Fix bug with several
32468         comment lines after each other.
32469         (org-number-to-roman, org-number-to-counter): New functions.
32470         (org-export-section-number-format): New option.
32472 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32474         * org-exp.el (org-export-protect-examples): Catch the case of a
32475         missing end_example line.
32477         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
32478         `org-file-tags' to nil.
32480         * org-colview.el (org-columns-next-allowed-value): Handle next
32481         argument NTH to directly select a value.
32483 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32485         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
32487 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32489         * org.el (org-columns-ellipses): New option.
32491 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32493         * org-colview.el (org-columns-add-ellipses): New function.
32494         (org-columns-compact-links): New function.
32495         (org-columns-cleanup-item): Call `org-columns-compact-links'.
32496         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
32497         when in agenda.
32498         (org-columns-edit-value): Fix bug with editing values from
32499         agenda column view.
32500         (org-columns-redo): Also redo the agenda itself.
32502 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32504         * org-agenda.el (org-agenda-columns-remove-prefix-from-item):
32505         New option.
32507         * org-colview.el (org-agenda-columns-cleanup-item): New function.
32509         * org-exp.el (org-export-ascii-preprocess): Rename from
32510         `org-export-ascii-clean-string'.
32511         (org-export-kill-licensed-text)
32512         (org-export-define-heading-targets)
32513         (org-export-handle-invisible-targets)
32514         (org-export-target-internal-links)
32515         (org-export-remove-or-extract-drawers)
32516         (org-export-remove-archived-trees)
32517         (org-export-protect-quoted-subtrees)
32518         (org-export-protect-verbatim, org-export-protect-examples)
32519         (org-export-select-backend-specific-text)
32520         (org-export-mark-blockquote-and-verse)
32521         (org-export-remove-comment-blocks-and-subtrees)
32522         (org-export-handle-comments, org-export-mark-radio-links)
32523         (org-export-remove-special-table-lines)
32524         (org-export-normalize-links)
32525         (org-export-concatenate-multiline-links)
32526         (org-export-concatenate-multiline-emphasis): New functions,
32527         obtained from spliting the export preprocessor.
32529         * org-table.el (org-table-recalculate): Improve error message if
32530         the row number is invalid.
32532 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32534         * org-archive.el (org-archive-save-context-info): Fix bugs in
32535         customization setup and docstring.
32537         * org-exp.el (org-export-html-style): Change the size of in the
32538         <pre> element to 90%.
32540 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32542         * org.el (org-find-src-example-start): Function removed.
32543         (org-edit-src-find-region-and-lang): New function.
32545 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32547         * org.el (org-edit-src-exit): New function.
32548         (org-exit-edit-mode): New minor mode.
32550         * org-exp.el (org-export-preprocess-string): Fix bug with removing
32551         comment-like lines from protected examples.
32553         * org.el (org-edit-src-example, org-find-src-example-start)
32554         (org-protect-source-example, org-edit-special): New functions.
32556 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32558         * org-publish.el (org-publish-project-alist): Fix typo in
32559         docstring.
32560         (org-publish-project-alist): Handle :index-title property.
32562 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32564         * org-export-latex.el (org-export-as-latex): Make sure region
32565         bounds are correct.  Parse subtree properties relating to export.
32567         * org-exp.el (org-export-add-options-to-plist): New function.
32568         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
32570 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32572         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
32573         EXPORT_TITLE.
32575         * org-exp.el (org-export-get-title-from-subtree)
32576         (org-export-as-ascii, org-export-as-html): Make sure the original
32577         region-beginning and region-end are used, even after moving point.
32578         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
32579         property.
32581         * org-remember.el (org-remember-last-stored-marker): New variable.
32582         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
32583         (org-remember-handler): Also use marker to remember
32584         last-stored position.
32586         * org.el (org-goto-marker-or-bmk): New function.
32588 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32590         * org.el (org-file-properties): Rename from `org-local-properties'.
32591         (org-scan-tags): Take file tags into account.
32592         (org-tags-match-list-sublevels): Default changed to t.
32594         * org-exp.el (org-export-as-html): Close paragraph after a footnote.
32596         * org.el (org-update-parent-todo-statistics): New function.
32598         * org-exp.el (org-icalendar-store-UID): New option.
32599         (org-icalendar-force-UID): Option removed.
32600         (org-print-icalendar-entries): IMplement UIDs.
32602 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32604         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
32606 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32608         * org-faces.el (org-column): Document how this face is being used
32609         and why sometimes the background faces shine through.
32611         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
32613         * org-publish.el (org-publish-attachment): Create publishing
32614         directory if it does not yet exist.
32616         * org-table.el (org-calc-default-modes): Change default number
32617         format to (float 8).
32619         * org.el (org-olpath-completing-read): New function.
32620         (org-time-clocksum-format): New option.
32621         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
32623         * org-clock.el (org-clock-display, org-clock-out)
32624         (org-update-mode-line): Use `org-time-clocksum-format'.
32626         * org-colview.el (org-columns-number-to-string):
32627         Use `org-time-clocksum-format'.
32629 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32631         * org-id.el: New file, move from contrib to core.
32633         * org-exp.el (org-icalendar-force-UID): New option.
32635 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32637         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
32638         shifted by one day if there is a date range without an end time.
32640         * org.el (org-try-structure-completion): New function.
32642 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32644         * org.el (org-set-font-lock-defaults): Improve fontification of
32645         description lists.
32646         (org-insert-item): Handle description lists.
32647         (org-adaptive-fill-function): Improve auto indentation in
32648         description lists.
32650         * org-exp.el (org-export-as-html, org-export-preprocess-string):
32651         Implement VERSE environment.
32652         (org-export-preprocess-string): Implement the COMMENT
32653         environment.
32655         * org-export-latex.el (org-export-latex-preprocess):
32656         Implement VERSE environment.
32658 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32660         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
32661         option.
32663 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32665         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
32667         * org.el (org-quote-csv-field): New functions.
32669         * org-table.el (org-table-export-default-format): Remove :splice
32670         from default format, we get the same effect by not specifying
32671         :tstart and :tend.
32672         (org-table-export): Improve setup, distinguish better between
32673         interactive and non-interactive use, allow specifying the format
32674         on the fly, better protection against wrong file names.
32675         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
32676         and :tend when :splice is omitted.
32678 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32680         * org-clock.el (org-clock-select-task): Make sure the selection
32681         letters are 1-9 and A-Z, no special characters.
32683 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32685         * org-exp.el (org-export-htmlize): New group.
32686         (org-export-htmlize-output-type)
32687         (org-export-htmlize-css-font-prefix): New options.
32688         (org-export-htmlize-region-for-paste): New function.
32689         (org-export-htmlize-generate-css): New command.
32691 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32693         * org.el (org-set-visibility-according-to-property): New function.
32694         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
32695         and compute the regular expressions, and update font-lock.
32696         (org-property-re): Allow a dash in property names.
32698         * org-archive.el (org-extract-archive-file): Insert the file name
32699         without the path into the format, to allow the location format to
32700         contain a subdirectory.
32702         * org-agenda.el (org-agenda-post-command-hook): If point is at end
32703         of buffer, and the `org-agenda-type' property undefined, use the
32704         value from the character before.
32706         * org.el (org-add-planning-info): Don't let indentation for
32707         would-be timestamp become extra whitespace at the end of headline.
32709 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32711         * org.el (org-remove-double-quotes, org-file-contents):
32712         New functions.
32714         * org-exp.el (org-infile-export-plist): Also parse the
32715         contents of #+SETUPFILE files, recursively.
32717         * org.el (org-set-regexps-and-options): Also parse the
32718         contents of #+SETUPFILE files, recursively.
32720         * org-exp.el (org-export-handle-include-files): New function.
32721         (org-export-preprocess-string):
32722         Call `org-export-handle-include-files'.
32724         * org.el (org-delete-property-globally)
32725         (org-delete-property, org-set-property): Ignore case during
32726         completion.
32727         (org-set-property): Use `org-completing-read' instead of
32728         `completing-read'.
32730         * org.el (org-complete-expand-structure-template): New,
32731         experimental function.
32732         (org-structure-template-alist): New, experimental option.
32733         (org-complete): Call `org-complete-expand-structure-template'.
32735 2008-06-17  Bastien Guerry  <bzg@gnu.org>
32737         * org-export-latex.el (org-export-latex-preprocess):
32738         Add support for blockquotes.
32740 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32742         * org.el (org-read-date-analyze): Catch the case where only a
32743         weekday is given.
32745 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32747         * org.el (org-set-font-lock-defaults): Make the description
32748         tag bold.
32750         * org-exp.el (org-export-as-html, org-close-li):
32751         Implement description lists.
32753 2008-06-17  Jason Riedy  <jason@acm.org>
32755         * org-table.el (*orgtbl-default-fmt*): New variable.
32756         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
32757         when there is no other fmt available.
32759         (orgtbl-to-generic): Allow an explicitly nil :tstart or
32760         :tend to suppress the appropriate string.
32762         (orgtbl-to-orgtbl): New function for translating to another orgtbl
32763         table.
32765 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32767         * org.el (org-read-date-analyze): "." as an alias for "+0" in
32768         read date.
32770         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
32771         New function.
32773         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
32774         New function.
32776 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32778         * org-clock.el (org-clock-find-position): Don't include notes
32779         into clock drawer.
32781         * org-archive.el (org-archive-subtree): No longer remove an
32782         extra line after cutting the subtree.  `org-cut-subtree' already
32783         takes care of this.
32785         * org-remember.el (org-remember-handler): Only kill the target
32786         buffer if it does not contain the running clock.
32788         * org.el (org-markers-to-move): New variable.
32789         (org-save-markers-in-region, org-check-and-save-marker)
32790         (org-reinstall-markers-in-region): New function.
32791         (org-move-subtree-down, org-copy-subtree): Remember relative
32792         marker positions before cutting.
32793         (org-move-subtree-down, org-paste-subtree): Restore relative
32794         marker positions after pasting.
32796         * org-remember.el (org-remember-clock-out-on-exit): New option.
32797         (org-remember-finalize): Clock out only if the setting in
32798         `org-remember-clock-out-on-exit' requires it.
32799         (org-remember-handler): Do the cleanup in the buffer, to make sure
32800         that the clock marker remains in tact.
32802 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32804         * org-clock.el (org-clock-goto): Widen buffer if necessary.
32805         (org-clock-in): Make sure that also tasks outside the narrowed
32806         region will be clocked in correctly.
32807         (org-clock-insert-selection-line): Widen the buffer so that we can
32808         find the correct task heading.
32810         * org.el (org-base-buffer): New function.
32812         * org-exp.el (org-icalendar-cleanup-string): Make sure ","
32813         and ";" are escaped.
32814         (org-print-icalendar-entries): Also apply
32815         `org-icalendar-cleanup-string' to the headline, not only to the
32816         summary property.
32818 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32820         * org-exp.el (org-export-preprocess-hook): New hook.
32821         (org-export-preprocess-string): Call `org-export-preprocess-hook'.
32823         * org.el (org-font-lock-hook): New variable.
32824         (org-font-lock-hook): New function.
32825         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
32827 ;; Local Variables:
32828 ;; coding: utf-8
32829 ;; add-log-time-zone-rule: t
32830 ;; End:
32832         Copyright (C) 2008-2015 Free Software Foundation, Inc.
32834   This file is part of GNU Emacs.
32836   GNU Emacs is free software: you can redistribute it and/or modify
32837   it under the terms of the GNU General Public License as published by
32838   the Free Software Foundation, either version 3 of the License, or
32839   (at your option) any later version.
32841   GNU Emacs is distributed in the hope that it will be useful,
32842   but WITHOUT ANY WARRANTY; without even the implied warranty of
32843   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32844   GNU General Public License for more details.
32846   You should have received a copy of the GNU General Public License
32847   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.