Merge branch 'master' into comment-cache
[emacs.git] / lisp / org / ChangeLog.1
blob4fc9f5fe1c13ddb260b3de47911f6402fa1358b1
1 2014-12-29  Paul Eggert  <eggert@cs.ucla.edu>
3         * org-clock.el (org-clock-save): Prefer (system-name) to system-name.
5 2014-10-29  Paul Eggert  <eggert@cs.ucla.edu>
7         Simplify use of current-time and friends.
8         * org-archive.el (org-archive-subtree)
9         (org-archive-to-archive-sibling):
10         * org-clock.el (org-resolve-clocks, org-clock-get-sum-start)
11         (org-clock-special-range):
12         * org-timer.el (org-timer-seconds):
13         * org.el (org-read-date-analyze, org-get-cursor-date):
14         * ox-html.el (org-html-format-spec):
15         * ox-icalendar.el (org-icalendar--vtodo):
16         Omit unnecessary call to current-time.
17         * org-clock.el (org-clock-get-table-data): Omit unnecessary, lossy
18         conversion from floating point to Emacs time and back.
19         (org-resolve-clocks): Prefer two-argument floor.
20         * org-compat.el (org-float-time): Simplify to an alias because
21         time-to-seconds now behaves like float-time with respect to nil arg.
22         * org.el (org-get-cursor-date):
23         Don't call current-time twice to get the current time stamp,
24         as this can lead to inconsistent results.
26 2014-10-20  Glenn Morris  <rgm@gnu.org>
28         * Merge in all changes up to 24.4 release.
30 2014-10-12  Marco Wahl  <marcowahlsoft@gmail.com>
32         * org-agenda.el (org-get-entries-from-diary):
33         Use `diary-fancy-display' instead of the obsolete
34         `diary-display-hook'.
36 2014-10-12  Nicolas Goaziou  <mail@nicolasgoaziou.fr>
38         * ox.el (org-export-async-start): Limit first argument to lambda
39         expressions.
41         * ox-publish.el (org-publish, org-publish-all)
42         (org-publish-current-file): Replace `ignore', per limit stated above.
44 2014-10-12  Christopher Schmidt  <ch@ristopher.com>
46         * org.el (orgstruct-make-binding): Do not use loop in interpreted code.
48 2014-10-12  Mike McLean  <mike.mclean@pobox.com>  (tiny change)
50         * org-agenda.el (org-agenda-time-grid): Change docstring.
52 2014-10-12  Nicolas Goaziou  <mail@nicolasgoaziou.fr>
54         * ox.el (org-export-async-start): Allow to use symbols as function.
56 2014-10-03  Achim Gratz  <Stromeko@Stromeko.DE>
58         * ob-sh.el (org-babel-sh-initiate-session): After initiating a
59         session, initialize the marker `comint-last-output-start' since it
60         is going to be used by the ANSI color filter without further
61         checks in Emacs 23 and throws an error.
63         * ob-lilypond.el: Change prefix from `ly-' to
64         `org-babel-lilypond-' throughout.
66         * org-footnote.el: Forward declare `org-element-context',
67         `org-element-property' and `org-element-type'.
69         * org.el: Add forward declarations for a number of functions that
70         the compiler otherwise warns about as potentially undefined at
71         runtime.
73         * ob-core.el: Add comment to forward declaration of
74         'org-src-preserve-indentations'.
76         * ob-exp.el: Require org-src to import
77         'org-src-preserve-indentations'.
79         * ob-haskell.el, ob-python.el: Remove superfluous forward
80         declaration of 'org-src-preserve-indentations', since it gets
81         imported by other requires.
83         * ob-core.el (org-every): Forward declare 'org-every'.
85         * ob-C.el: Require cl during compilation so that lexical-let is
86         known.
88         * org-entities.el: Remove superfluous require of org-macs.
89         Forward declare 'org-toggle-pretty-entities' and
90         'org-pretty-entities'.
92         * ox.el (org-export-get-parent): Move definition of
93         'org-export-get-parent' before first use.  Leave comment at original
94         place of definition.
96         * org.el (org-uniquify): Move definition of 'org-uniquify' before
97         first use.  Leave comment at original place of definition.
99         * ob-tangle.el (org-babel-tangle): When `file-name-directory'
100         returns nil, do not run make-directory.  Remove superfluous when
101         clauses by using short-circuiting `and' instead.
103 2014-10-03  Alex Kosorukoff  <alex@3form.com>  (tiny change)
105         * org-capture.el (org-capture-fill-template): Set `mark-active' to
106         nil.
108 2014-10-03  Bastien Guerry  <bzg@gnu.org>
110         * org-agenda.el (org-agenda-prepare): Reset preset filters when
111         using sticky agendas.
113         * org-agenda.el (org-agenda-get-sexps): Don't add tags as text
114         properties.
116         * org-capture.el (org-capture-fill-template):
117         Take `org-extend-today-until' into account when setting the format time
118         string.
120         * org.el (org-paste-subtree): Fix match subexpression.
122         * org.el (org-fix-ellipsis-at-bol): Delete.
123         (org-mode, org-show-context, org-isearch-end): Don't use
124         `org-fix-ellipsis-at-bol'.
126         * org-agenda.el (org-agenda-filter-apply): Fix setting of
127         `org-agenda-filtered-by-category'.
129         * org.el (org-fontify-meta-lines-and-blocks-1): Fix handling
130         of `org-hidden-keywords'.
132         * org-agenda.el (org-cmp-ts): Fix agenda entry type checking.
134         * org-agenda.el (org-entries-lessp): Fix inactive timestamp
135         comparison.
137         * org-agenda.el (org-agenda-mode): Let `org-agenda-redo' DTRT
138         when agenda are sticky.
139         (org-agenda-tag-filter-while-redo): Delete.
140         (org-agenda-list, org-agenda-redo, org-agenda-filter-by-tag):
141         Remove unused code.
142         (org-agenda-clockreport-mode, org-agenda-set-mode-name):
143         Don't consider tag filters.
145         * org.el (org-fix-ellipsis-at-bol)
146         (org-first-headline-recenter): Use `set-window-start' instead
147         of `recenter'.
149         * org-agenda.el (org-recenter-heading): Delete.
151         * org.el (org-insert-heading): With one universal prefix argument
152         or `org-insert-heading-respect-content' set to `t', always respect
153         the content, i.e. don't insert a list item and don't convert
154         normal lines into headings.  Update docstring.
155         (org-insert-heading-respect-content): Remove unused arg.
156         (org-insert-todo-heading-respect-content): Don't use
157         `org-insert-todo-heading-respect-content', use the second argument
158         of `org-insert-todo-heading' instead.
160         * org-mobile.el (org-mobile-edit): Use only one arg.
162         * org.el (org-overview): Don't call `recenter'.
164         * org-agenda.el (org-agenda-custom-commands-local-options):
165         Fix misquoted values.
167         * org.el (org-property-re): Also match null properties by default.
168         (org-entry-delete): Also delete null properties.
169         (org-read-property-value): Allow the empty string as a new value.
170         (org-delete-property): Throw a message when there is not property
171         to delete.
173         * org-agenda.el (org-agenda-insert-diary-make-new-entry):
174         Fix docstring.
176         * org.el (org-re-property): New parameter `allow-null' to match
177         property with a null value.
178         (org-entry-put): Correctly update a property with a null
179         value.
181         * ox-md.el (org-md-headline): When exporting with a HTML table of
182         contents, add HTML anchors to Markdown headlines.
184         * org.el (org-insert-heading): Don't insert an item when called
185         with two universal prefix arguments.
187         * org-agenda.el (org-agenda-finalize): Remove duplicate check for
188         'org-hd-marker.
190         * org-agenda.el (org-agenda-prepare-window): New parameter
191         `filter-alist' to set the filters correctly when
192         `org-agenda-persistent-filter' is on.
193         (org-agenda-prepare): Use the new parameter for
194         `org-agenda-prepare-window'.
196         * org-compat.el (org-in-invisibility-spec-p): Tiny code cleanup.
197         (org-move-to-column): Only remove '(org-filtered) from
198         `buffer-invisibility-spec'.
200         * org-agenda.el (org-agenda-mode): Add buffer invisibility specs.
201         (org-agenda-filter-hide-line, org-agenda-remove-filter):
202         Set the 'invisible text property to 'org-filtered.
203         (org-agenda-show-new-time): Add the default face to avoid the
204         foreground of the last character on the line to leak into the
205         timestamp notification.
207         * org-agenda.el (org-get-time-of-day): Don't return time string
208         from within links.
210         * org-timer.el (org-timer-value-string): Always return a positive
211         value.  Add docstring.
213         * org-capture.el (org-capture-steal-local-variables): Don't steal
214         `mark-active', which should be nil in the target buffer.
216         * org-agenda.el (org-agenda-remove-filter): Use `save-excursion'.
218         * org.el (org-move-subtree-down): Use `org-end-of-subtree' instead
219         of `outline-end-of-subtree'.
220         (outline-end-of-subtree): Remove advice.
222         * org-mouse.el (org-mouse-move-tree, org-mouse-do-remotely):
223         Use `org-end-of-subtree' instead of `outline-end-of-subtree'.
225         * org-agenda.el (org-cmp-ts): Argument `type' is not optional.
226         Don't quote it.
228         * org-habit.el (org-habit-insert-consistency-graphs): Don't remove
229         filter overlays as we don't use overlays for filters anymore.
231         * org-agenda.el (org-agenda-local-vars):
232         Add `org-agenda-top-headline-filter'.
233         (org-agenda-filter-by-category): Fix syntax.
234         (org-agenda-filter-show-all-top-filter): New function.
235         (org-agenda-filter-by-top-headline)
236         (org-agenda-filter-remove-all): Use the new function.
237         (org-agenda-filter-top-headline-apply): Use a dedicated symbol
238         `top-headline'.
240         * org.el (org-entry-properties): Ensure the special property is
241         not commented out when matched.
243         * org-agenda.el (org-agenda-write): Code cleanup.
244         (org-agenda-mark-filtered-text)
245         (org-agenda-unmark-filtered-text)
246         (org-agenda-fix-tags-filter-overlays-at): Delete.
247         (org-agenda-remove-marked-text): Use the `property' argument
248         instead of hard-coding 'org-filtered.
249         (org-agenda-filter-remove-all): Use `org-agenda-finalize'.
250         (org-agenda-filter-hide-line): Rewrite using text properties
251         instead of overlays.
252         (org-agenda-remove-filter): New function.
253         (org-agenda-filter-show-all-tag)
254         (org-agenda-filter-show-all-cat)
255         (org-agenda-filter-show-all-re): Rewrite using
256         `org-agenda-remove-filter'.
258         * org-attach.el (org-attach-dir): When the property is "inherited"
259         from a variable outside of the file, do not use
260         `org-entry-property-inherited-from' to find the attachment
261         position, assume we need to go back to the current headline.
263         * ob-R.el (org-babel-R-assign-elisp): Fix parsing of a
264         one-dimensional value.
266         * org.el (org-insert-heading): Fix bug when trying to insert a
267         heading when point is before the first headline and not at the
268         beginning of a line.
270         * org-table.el (org-table-eval-formula): Fix conversion of
271         inactive timestamps to active ones.
273         * org.el (org-set-regexps-and-options):
274         Allow `org-complex-heading-regexp-format' to match [/] and [%] cookies
275         when they are both before and after the heading.
277         * org-agenda.el (org-agenda-max-todos, org-agenda-max-tags)
278         (org-agenda-max-effort): Fix type strings.
280         * org-capture.el (org-capture-fill-template): Deactivate region
281         while trying to align tags on the current headline.
283         * org-agenda.el (org-agenda-finalize): Filter by top headline if
284         `org-agenda-top-headline-filter' is set.
286 2014-10-03  Bernt Hansen  <bernt@norang.ca>
288         * org-macs.el: Remove restriction when locating markers.
290 2014-10-03  Dmitry Gorbik  <dgorbik@me.com>  (tiny change)
292         * org.el (org-fast-tag-selection): Fix window splitting.
294 2014-10-03  Eric Schulte  <schulte.eric@gmail.com>
296         * ob-screen.el (org-babel-screen-test): Use unpredictable name for
297         temporary file.
299         * ob-screen.el (org-babel-screen-session-write-temp-file):
300         Use unpredictable temp file name, fixes bug#17416.
302 2014-10-03  Ian Kelling  <ian@iankelling.org>
304         * ob-core.el (org-babel-insert-result): Test all list elements
305         against listp and (eq element 'hline) instead of checking just the
306         first.
308 2014-10-03  Konstantin Kliakhandler  <kosta@slumpy.org>  (tiny change)
310         * org-agenda.el (org-agenda-redo): Reapply the filters correctly.
312 2014-10-03  Kyle Meyer  <kyle@kyleam.com>  (tiny change)
314         * ox.el (org-export-show-temporary-export-buffer): Fix typo.
316 2014-10-03  Matt Lundin  <mdl@imapmail.org>
318         * ox-publish.el (org-publish-find-title, org-publish-find-date):
319         Make sure to call org-export-get-environment in copy of buffer if
320         emacs is already visiting. Otherwise, #+bind variables meant for
321         export can be set in live buffers.
323         * org.el (org-agenda-inhibit-startup): fix docstring to reflect
324         default value
326         * ox-publish.el (org-publish-find-title, org-publish-find-date):
327         Fix unnecessary invocations of org-mode with org-inhibit-startup.
329 2014-10-03  Nick Dokos  <ndokos@gmail.com>
331         * org-table.el (org-table-clean-before-export): The regexes match
332         spaces in addition to the special characters that might be used in
333         the first column as special marking characters.  Remove the space
334         from the character class.
336         * ox-ascii.el (org-ascii-superscript): Change _ to ^ in the
337         output.
339 2014-10-03  Nick Dokos  <ndokos@redhat.com>
341         * org-table.el (org-table-show-reference): Call `set-window-start'
342         with the calculated values `min' and `max', not with
343         (point-min) and (point-max).
345 2014-10-03  Nicolas Goaziou  <n.goaziou@gmail.com>
347         * ox-latex.el (org-latex-link): Improve test for unnumbered
348         headlines.
350         * ox-ascii.el (org-ascii--fill-string): Allow filling even when
351         `org-export-preserve-breaks' is non-nil.
353         * org.el (org-N-empty-lines-before-current): Make sure to delete
354         only empty lines, not trailing whitespaces.
356         * ox-html.el (org-html-headline): Make sure even listified
357         headlines have proper anchors so internal links can refer to them.
358         Small refactoring.
360         * org-src.el (org-edit-src-code): Fix regexp.
361         (org-edit-src-exit): Do not remove auto-save timer.  This is
362         handled by the timer itself.
364         * org.el (org-re-property): Fix regexp.  Improve docstring.
366         * org-element.el (org-element-property-drawer-parser)
367         (org-element-node-property-parser): Ignore lines that are not node
368         properties.
369         (org-element-node-property-interpreter): Allow nil properties.
371         * org.el (org-re-property): Fix regexp to match properties with
372         empty values.
374         * org-element.el (org-element-headline-interpreter): Take into
375         consideration `org-odd-levels-only' value.  Small refactoring.
377         * ox-texinfo.el (org-texinfo--get-node): Return a node or anchor
378         name.
379         (org-texinfo--sanitize-content): Fix regexp.
380         (org-texinfo-link): Fix various bugs in link export.
382         * ox-beamer.el (org-beamer-link):
383         * ox-html.el (org-html-link):
384         * ox-latex.el (org-latex-link):
385         * ox-odt.el (org-odt-link): When radio link has no valid
386         target (e.g., this is a subtree export and the radio target is not
387         in the exported subtree), simply return contents.
389         * org.el (org-called-with-limited-levels): Initialize variable.
391         * org-agenda.el (org-agenda-write): Write headings in proper
392         order.
394         * org-element.el (org-element-table-interpreter):
395         Enhance docstring.
397         * ox-md.el (org-md-link): Allow custom link type export function.
399         * ox-texinfo.el (org-texinfo-template): Fix language and encoding
400         case.
402         * ox-md.el (org-md-separate-elements): Outside of lists, preserve
403         blank lines between paragraphs and plain lists.
405         * org-element.el (org-element-normalize-contents): Fix indentation
406         removal when there is an empty line within a verse block.
408         * ox-texinfo.el (org-texinfo--normalize-headlines): Properly add a
409         section to the contents.
411         * ox-texinfo.el (org-texinfo--normalize-headlines): Do not set pre
412         blanks since the value is now hard-coded.
413         (org-texinfo-headline): Force one blank line before contents, when non
414         empty.  Refactoring.
415         (org-texinfo-src-block): Refactor code.  Comply to predicate naming.
417         * ox-texinfo.el (org-texinfo--sanitize-node):
418         Handle " (not)allowed" case.
420         * ox-texinfo.el (org-texinfo-headline): Remove wrong code
421         comments.
423         * ox-texinfo.el (org-texinfo-headline): Remove `not-in-toc'
424         special case for tags.
426         * ox-texinfo.el (org-texinfo-headline): Remove LaTeXism (optional
427         arguments within square brackets).
429         * ox-texinfo.el (org-texinfo-info-process): Fix docstring.
430         (org-texinfo-compile): Do not check for impossible cases (e.g., if the
431         previous variable contains a function).
433         * ox-texinfo.el (org-texinfo-max-toc-depth): Fix docstring.
435         * ox-texinfo.el (org-texinfo--make-option-string,
436         org-texinfo--sanitize-headline,
437         org-texinfo--sanitize-headline-contents): Remove.
439         * ox-texinfo.el (org-texinfo--sanitize-node): "@", "{" and "}"
440         characters are allowed in a node name.  So are "(" and ")" unless
441         "(" starts the name and there is ")" somewhere in the name.
442         Also trim and collapse whitespace characters.  Renamed from
443         `org-texinfo--sanitize-menu'.
444         (org-texinfo--get-node): Do not sanitize node names over zealously.
445         Ensure returned node names are unique.
446         (org-texinfo-headline): Only add @node command where it makes sense.
448         * ox-texinfo.el (org-texinfo--sanitize-menu)
449         (org-texinfo--sanitize-content): Fix docstrings.
451         * ox-texinfo.el (org-texinfo--normalize-headlines): Make sure a
452         blank line always follows nodes.
454         * ox-texinfo.el (org-texinfo-make-menu): Change signature.
455         Remove some intermediate functions.  Generate the full master menu when
456         asked.
457         (org-texinfo--build-menu): Use a simpler algorithm.
458         (org-texinfo--format-entries): Fix entries when both node and title
459         are different.
460         (org-texinfo--menu-entries): Rename from `org-texinfo--generate-menu-list'.
461         (org-texinfo-headline): Move menu handling to next function.
462         (org-texinfo-section): Handle menu for current parent.
463         (org-texinfo--menu-headlines, org-texinfo--generate-detailed):
464         Remove functions.
465         (org-texinfo--normalize-headlines): New function.
467         * ox-texinfo.el (org-texinfo-headline): Fix @appendix command.
469         * ox-texinfo.el (org-texinfo-headline): Do not sanitize heading
470         text for sectioning command.
472         * ox-texinfo.el (org-texinfo--generate-menu-list): ":COPYING: nil"
473         is expected to be equivalent to no COPYING property at all.
475         * ox-texinfo.el (org-texinfo-item): Fix blank lines between items.
477         * ox-texinfo.el (org-texinfo-plain-list): Fix format string.
478         Small refactoring.
480         * ox-texinfo.el (texinfo): Provide new export property.
481         (org-texinfo-template): Use dedicated title for hard copy, when
482         available.
484         * ox-texinfo.el (org-texinfo-headline): Always obey to a non-nil
485         :APPENDIX: property.  Small refactoring.
487         * ox-texinfo.el (org-texinfo-verse-block): Generate somewhat
488         meaningful Texinfo code instead of LaTeX.
490         * ox-texinfo.el (org-texinfo-table): Remove reference to
491         "verbatim" attribute.  Handle table.el tables.  Tiny refactoring.
492         (org-texinfo-table--org-table, org-texinfo-table--table.el-table):
493         Remove functions.
494         (org-texinfo-table-column-widths): Indent code correctly.  Ignore
495         special column, if any.  Add a comment about the limitation on the
496         width computation.
497         (org-texinfo-table-row): Small refactoring.
499         * ox-texinfo.el (texinfo): Do not provide a default value for
500         @setfilename value.
501         (org-texinfo-filename): Remove variable.
502         (org-texinfo-template): Correctly find value for @setfilename command.
503         If none is possible, do not provide the command at all.
505         * ox.el (org-export-to-file): Provide output file name in
506         communication channel, through :output-file property.
508         * ox-texinfo.el (org-texinfo-template): Do not hardcode "Manual"
509         in top node.
511         * ox-texinfo.el (org-texinfo-classes): Change default value.
512         Update docstring.
513         (org-texinfo-template): Insert header string from current class after
514         "@settitle" command.  Always provide "\input texinfo" at the beginning
515         of the output.
517         * ox-texinfo.el (org-texinfo-template): Remove spurious blank
518         lines in output.  Refactor code.
520         * ox-texinfo.el (org-texinfo-template): Fix multi-line subtitles.
522         * ox-texinfo.el (org-texinfo-template): Make sure table of
523         contents are allowed before inserting them.
525         * ox-texinfo.el (org-texinfo-template): Check if copying data is
526         not nil before using it.
528         * ox-texinfo.el (org-texinfo-template): Fix multi-line subauthors.
529         Correctly add email, when provided.  Check if author info is
530         wanted first.
532         * ox-texinfo.el (org-texinfo-node-description-column)
533         (org-texinfo-format-drawer-function): Fix docstrings.
535         * ox-texinfo.el (texinfo): Make sure comments are ignored.
536         (org-texinfo-comment, org-texinfo-comment-block): Remove functions.
538         * ox-texinfo.el (org-texinfo-template): Properly pad @direntry
539         description.
541         * org-element.el (org-element-headline-parser): Add missing
542         `:post-blank' property in docstring.
544         * ox-latex.el (org-latex-table-scientific-notation):
545         Set appropriate value.
546         (org-latex-listings-options): Fix docstring.
548         * ox.el (org-export-raw-special-block-p): New function.
550         * org-element.el (org-element-link-parser): Properly handle
551         multi-line links according to RFC 3986 when enclosed within square
552         brackets.
554         * org-element.el (org-element-parse-secondary-string): Clone all
555         local variables from current buffer before parsing a secondary
556         string.  Small refactoring.
557         (org-element-object-variables): Remove variable.
559         * ox-odt.el (org-odt--format-paragraph): Change signature to
560         include info.
561         (org-odt-footnote-reference, org-odt-paragraph): Apply signature
562         change.
564         * org-clock.el (org-clocktable-indent-string): Use "\emsp" instead
565         of "\__", which is not supported anymore since Org 8.0.
567         * ox-odt.el (org-odt--paragraph-style): New function.
568         (org-odt--format-paragraph): Use new function to get proper style
569         to apply.
571         * org-element.el (org-element--current-element): Fix regexp.
573         * org-element.el (org-element--current-element): Fix regexp
574         matching latex environments.  Discrepancy with regexp used in
575         `org-element-latex-environment-parser' introduced matching errors.
577         * ox-ascii.el (org-ascii--table-cell-width): Correctly export
578         tables with width cookies.
580         * org.el (org-insert-heading): Fix error when inserting a headline
581         before first headline, with point not at bol.  Remove source block
582         check for consistency with behavior after first headline.
583         Tiny fix to docstring.
585         * org.el (org-scan-tags): Fix typo in docstring.
587         * ox.el (org-export--get-inbuffer-options): Return the empty
588         string instead of nil when TITLE keywords has no value.
589         (org-export--get-buffer-attributes): Do not set :title property
590         early.
591         (org-export--get-global-options): Do not ignore anymore nil values.
592         Small refactoring.
593         (org-export-as): Correctly set :title here.
595         * org-list.el (org-list-repair): Fix typo in docstring.
597         * ox-ascii.el (org-ascii--current-text-width): Tiny fix.
599         * ox-org.el (org-org-section): Tiny refactoring.  Use appropriate
600         property.
602         * ox-org.el (org-org-headline): Ignore footnote sections.
603         (org-org-section): New function.
605         * ox-beamer.el (org-beamer-select-environment): Ignore persistent
606         tags when displaying environments.
608         * ox-ascii.el (org-ascii-indented-line-width): Update docstring.
609         (org-ascii-paragraph): Do not apply indentation to the very first line
610         of a section.
612         * ox-latex.el (org-latex-inlinetask): Skip body if contents are
613         empty.
615         * ox-html.el (org-html-standalone-image-p): Ensure paragraph
616         contains at least a link before return a non-nil value.
617         Clarify docstring.
619         * ox.el (org-export-data): Always return a string, as specified
620         by the docstring.
622         * ox-ascii.el (org-ascii--indent-string): Fix regexp to avoid
623         stack overflow in regexp matcher on very long lines.
625         * org-element.el (org-element-timestamp-parser): Fix docstring.
627         * ox-icalendar.el (org-icalendar-include-sexps,
628         org-icalendar-blocked-headline-p): Fix docstrings.
629         (org-icalendar-clear-blank-lines): Fix docstring and regexp.
631         * ox-icalendar.el (org-icalendar-entry):
632         Use `org-icalendar-with-timestamps'.
634 2014-10-03  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
636         * org.el (org-cycle-internal-local): Don't show a trailing
637         character when cycling a subtree that ends with a non-newline
638         character at the end of the buffer or the narrowed region.
640 2014-10-03  Sebastien Vauban  <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
642         * ox-ascii.el (org-ascii--box-string): Choose more universal
643         Unicode characters for boxquote corners.
645 2014-10-03  Marco Wahl  <marcowahlsoft@gmail.com>  (tiny change)
647         * org-agenda.el (org-agenda-bulk-mark)
648         (org-agenda-bulk-mark-regexp, org-agenda-bulk-toggle-all):
649         Fix org-agenda-bulk-mark-all when time-grid is shown.
651 2014-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
653         * org-compat.el (activate-mark): Set transient-mark-mode buffer-locally.
655 2014-06-22  Mario Lang  <mlang@delysid.org>
657         * org-list.el (org-list-insert-item): The the -> the.
659         * org-bibtex.el (org-bibtex-fields): The the -> the.
661 2013-06-22  Dmitry Antipov  <dmantipov@yandex.ru>
663         * ob-core.el (org-babel-insert-result): Prefer point-min-marker
664         and point-max-marker.
665         * org-mouse.el (org-mouse-do-remotely): Prefer point-marker
666         to copy-marker of point.
668 2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
670         * org-compat.el (org-font-lock-ensure): New function.
671         * ox-odt.el (org-odt-do-format-code):
672         * ox-html.el (org-html-fontify-code):
673         * org.el (org-fontify-like-in-org-mode):
674         * org-src.el (org-src-font-lock-fontify-block):
675         * org-clock.el (org-clock-get-clocktable): Use it.
676         * ox-org.el (org-org-publish-to-org): Use it.  Avoid using find-file
677         from Elisp.
679 2014-05-12  Eric Schulte  <eric.schulte@gmx.com>
681         * ob-screen.el (org-babel-screen-session-write-temp-file)
682         (org-babel-screen-test):
683         Use unpredictable names for temporary files.  (Bug#17416)
685 2014-04-22  Aaron Ecay  <aaronecay@gmail.com>
687         * org-src.el (org-edit-src-exit): Place an undo boundary before
688         writing changes back to parent buffer.
690 2014-04-22  Achim Gratz  <Stromeko@Stromeko.DE>
692         * ob-gnuplot.el (org-babel-gnuplot-process-vars):
693         `org-babel-gnuplot-table-to-data´ expects a table, so we need to
694         construct one when Babel hands us a vector.
696         * ob-ref.el (org-babel-ref-parse):
697         If `org-babel-current-src-block-location' is a marker, it can be from
698         another buffer, use marker-position instead in this case.
700 2014-04-22  Arun Persaud  <apersaud@lbl.gov>  (tiny change)
702         * org-src.el (org-edit-src-exit): Don't add indentation on empty lines.
704 2014-04-22  Bastien Guerry  <bzg@gnu.org>
706         * org.el (org-insert-heading): Fix behavior when point is at the
707         beginning of a heading or a list item.  Enhance docstring.
709         * ox-html.el (org-html-infojs-install-script): Don't install
710         infojs scripts when #+INFOJS_OPT: is empty.
712         * org.el (org-mode): Fix the use of `org-*-element' functions for
713         C-M-a and C-M-e but fix C-M-e.
715         * org-agenda.el (org-agenda-search-view): Fix tag.
717         * org.el (org-check-before-invisible-edit): Don't just cycle, show
718         the subtree, as cycling may leave the current heading folded.
719         (org-contextualize-validate-key): Fix wrong test.
721         * org-bibtex.el (org-bibtex-headline): Don't throw an error when
722         trying to add a keyword field to a BibTeX entry that is not known
723         by BibTeX or defined by the user.
724         (org-bibtex, org-bibtex-no-export-tags): Fix docstrings.
726         * ox-latex.el (org-latex-src-block): Fix wrong propagation of
727         labels and captions when using the listings environment.
729         * org.el (org-sort-entries): Fix the number of blank lines to
730         keep for the last entry to sort.
732         * org-clock.el (org-clock-put-overlay): Fix display when
733         `org-indent-mode' is on.
735         * org.el (org-sort-entries): Allow to sort by clocking time.
737         * org-agenda.el (org-agenda-finalize): Apply all filters
738         correctly.
740         * org.el (org-update-dblock): Use `save-excursion' instead of
741         `save-window-excursion' so that blocks can edit other windows and
742         change the window layout.
744         * org-agenda.el (org-agenda-mode): Disable `indent-tabs-mode'.
745         (org-agenda-dim-blocked-tasks): Make overlays intangible.
746         (org-agenda-show-new-time): Fix bug when deleting a timestamp
747         right after changing it.
748         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item)
749         (org-agenda-get-sexps, org-agenda-filter-by-regexp)
750         (org-agenda-filter-top-headline-apply): Fix indentation.
752         * org.el (org-cycle): Try `org-try-cdlatex-tab' before trying
753         to edit/move as in a table.
755         * org-agenda.el (org-agenda-show-new-time): Don't use
756         `move-beginning-of-line' as it is slower and not needed.
758         * org-compat.el (org-move-to-column): Temporarily set
759         `buffer-invisibility-spec' more accurately.
761         * ox-latex.el (org-latex-text-markup-alist): Use \ul{...} for
762         underlining instead of \uline{...} as requiring the hyperref
763         package makes \uline{...} unusable on headline.
765         * org.el (org-latex-default-packages-alist): Add the "soul"
766         package.
768         * org.el (org-refresh-properties): Don't add the property to
769         the whole subtree, only to the part between the beginning of
770         the headline and the end of the "content", before any other
771         headline.  This fix a bug about properties displayed as
772         inherited in the agenda, where Org properties are checked
773         against text properties.
775         * ox-latex.el (org-latex--text-markup): Replace newlines by
776         whitespaces in \verb constructs.
778         * org-agenda.el (org-agenda-filter-hide-line): Hide from the
779         beginning of the line to the beginning of the next line.
780         (org-agenda-show-new-time): Use `move-beginning-of-line' and
781         `move-end-of-line'.
782         (org-agenda-drag-line-forward): Adapt to the new definition of
783         hidden filtered lines.
785         * org-compat.el (org-move-to-column): Always ignore invisible
786         text in agenda buffer, and when there is both a bracket link
787         and '(org-link) as a member of `buffer-invisibility-spec'.
788         Add a docstring.
790         * org.el (org-align-tags-here): Add docstring and remove useless
791         arguments when calling `org-move-to-column'.
793         * org-table.el (org-table-copy-down)
794         (org-table-find-dataline, org-table-move-row)
795         (org-table-insert-hline, org-table-kill-row):
796         * org-agenda.el (org-agenda-next-item)
797         (org-agenda-previous-item, org-agenda-todo)
798         (org-agenda-priority, org-agenda-show-new-time)
799         (org-agenda-clock-in, org-agenda-clock-out): Remove useless
800         arguments when calling `org-move-to-column'.
802         * org.el (org-refile): Fix calling with a numeric prefix argument
803         of 3 to refile and keep.
805         * org-clock.el (org-clock-get-table-data): When :link is `t' in
806         the clocktable parameters, bracket links in the clocktable should
807         only contain their description, other C-c C-o will try to open the
808         bracket link at point instead of the headline.
810         * org-agenda.el (org-agenda-todo): Always restore the window state
811         after `org-agenda-change-all-lines' has been called.
812         (org-agenda-open-link): Don't throw an error when trying to open a
813         link when the point is on a place that is not associated with a
814         buffer.
816         * ox-latex.el (org-latex-link): Escape `%' characters.
818         * org.el (org-entry-get-with-inheritance): Remove wrong quote.
819         (org-entry-get): Only try to combine file properties with local
820         properties when the property drawer contains such local property,
821         not when the property drawer exists.
823         * ox-latex.el (org-latex-link):
824         * ox-html.el (org-html-link):
825         * ox-beamer.el (org-beamer-link): Fix links to radio targets.
827         * ox-ascii.el (org-ascii-link): For links to a radio target, use
828         the link, not the target.
830         * org.el (org-do-emphasis-faces): Explicitly prevent nested
831         emphasis.
832         (org-insert-heading): Don't remove whitespaces following an empty
833         headline.
835         * org-timer.el (org-timer-stop): Set `org-timer-current-timer' to
836         nil.
838         * org.el (org-store-link): Ensure desc is not nil before matching
839         a regexp against it.  Fall back on an empty string when no
840         description is available.
842         * org-agenda.el (org-agenda-list-stuck-projects): Bugfix: set
843         `org-agenda-buffer-name'.
845         * org-capture.el (org-capture-finalize): Ensure to widen the
846         buffer when the target buffer is not initially narrowed.
848         * org-compat.el (org-move-to-column): Fix bug about ignoring
849         bracket links visibility status in tables with S-RET.
851         * org-src.el (org-edit-src-find-region-and-lang): Check if we are
852         in a table.el table last.
854         * org.el (org-delete-property): Don't suggest to delete the
855         CATEGORY property when the category is not explicitly set in the
856         property drawer.  Also enforce matching when completing.
857         (org-insert-heading): Fix regression: with two universal prefixes,
858         insert heading at the end of the subtree.
859         (org-insert-todo-heading): Bugfix: only enforce the first TODO
860         state when arg is '(4).
862         * org-agenda.el (org-agenda-skip-subtree-if): Fix docstring.
864         * org.el (org-contextualize-validate-key): Fix bug: perform the
865         check even when (buffer-file-name) returns `nil'.
867         * org-colview.el (org-columns-display-here): Let-bind `fm'.
869         * org.el (org-emphasis-alist): Use `org-verbatim' for =text=
870         and `org-code' for ~text~.
871         (org-open-link-marker): Fix typo in docstring.
873         * org-colview.el (org-columns-display-here): Fix the column
874         view for numbers with a format specifier (e.g. {+; %5.1f}).
876         * org-src.el (org-edit-src-code): Throw a warning instead of
877         an error when loading the mode fails, otherwise the user is
878         left with unusable buffers.
880         * org-table.el (org-table-copy-down)
881         (org-table-find-dataline, org-table-move-row)
882         (org-table-insert-hline, org-table-kill-row):
883         Use `org-move-to-column' with the IGNORE-INVISIBLE arg set to `t', so
884         that abbreviated rows don't interfer with setting the cursor back
885         at the correct position.
887         * org.el (org-agenda-prepare-buffers): Use `save-excursion'
888         instead of `save-window-excursion'.
889         (org-file-contents): Return an empty string instead of the
890         message.
891         (org-open-at-point): Fix bug when opening a plain link followed by
892         a bracket link.
893         (org-ctrl-c-ctrl-c): Fix behavior when hitting C-c C-c on LaTeX
894         formulas in tables.
895         (org-refile--get-location): New internal function using a wider
896         set of possible refile locations.
897         (org-refile-get-location): Use it.
898         (org-refile): Fix bug when refiling the last subtree of the
899         buffer: don't leave out the last character.
900         (org-sort-entries): Restore the point location when there is
901         nothing to sort.
903         * org-table.el (org-table-field-info): Throw a user error when not
904         at a table.
906         * org-agenda.el (org-agenda-drag-line-forward):
907         Call `org-agenda-mark-clocking-task' when done.
908         (org-agenda-mark-clocking-task): Small refactoring.
910         * org-compat.el (org-set-transient-map): Alias pointing at
911         `set-transient-map' if defined, at `set-temporary-overlay-map'
912         otherwise.
914         * org-agenda.el (org-agenda-next-item)
915         (org-agenda-previous-item, org-agenda-toggle-archive-tag)
916         (org-agenda-todo, org-agenda-priority, org-agenda-clock-in)
917         (org-agenda-clock-out): Put the cursor back on the correct
918         column, when possible.
919         (org-agenda-todo): When `org-clock-out-when-done' is `t', also
920         remove the current clock overlay.
922         * org.el (org-format-latex-options): Fix docstring.
924         * ox.el (org-export--get-subtree-options): When using the headline
925         as a title for a subtree export, only take the true heading, no
926         TODO keyword, no priority cookie, no tag.
928         * org.el (customize-package-emacs-version-alist): Fix Org version
929         for Emacs 24.4.
931         * org.el (org-demote): Ignore invisible text when aligning tags.
932         (org-set-tags): When JUST-ALIGN is 'ignore-column, ignore
933         invisible text when restoring the cursor to the correct column.
935         * ob-python.el (org-babel-python-var-to-python): Bugfix: Strip
936         properties before formatting the results.
938         * org-agenda.el (org-agenda-regexp-filter-preset): Fix typo in
939         docstring.
940         (org-agenda-reapply-filters): New function.
941         (org-agenda-drag-line-forward): Rewrite to fix a bug when used
942         in filtered agendas.
943         (org-agenda-drag-line-backward): Rewrite using
944         `org-agenda-drag-line-forward'.
946         * ob-table.el (org-sbe): Rename from `sbe'.
948         * org.el (org-store-link): When a link has been stored, always
949         returns it.
951         * ob-python.el (org-babel-python-var-to-python): Fix code typo.
953         * org-entities.el (org-entities-help): Prevent the display of
954         pretty entities, as this help buffer is meant to list literal
955         strings, not utf-8 representations.
957 2014-04-22  Benjamin Drieu  <bdrieu@april.org>
959         * org.el (org-store-link): Fix selection of the function to store
960         the link.
962 2014-04-22  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>
964         * org.el (org-entry-get-with-inheritance): Temporarily let-bind
965         `org-file-properties', `org-global-properties' and
966         `org-global-properties-fixed' to nil before calling
967         `org-entry-get' on entries up the hierarchy from the queried
968         entry.
970 2014-04-22  Justin Gordon  <justin.gordon@gmail.com>
972         * ox-md.el (org-md-separate-elements): Fix blank line insertion
973         between elements.
975         * ox-md.el (org-md-inner-template): New function.
977 2014-04-22  Leonard Randall  <leonard.a.randall@gmail.com>  (tiny change)
979         * org-bibtex.el (org-bibtex-headline): Fix insertion of keywords
980         of unknown BibTeX entries.
982 2014-04-22  Markus Hauck  <markus1189@gmail.com>  (tiny change)
984         * org-agenda.el (org-agenda-get-scheduled):
985         If `org-agenda-skip-scheduled-if-deadline-is-shown' is set to
986         'repeated-after-deadline, still show tasks without any deadline
988 2014-04-22  Michael Brand  <michael.ch.brand@gmail.com>
990         * org-table.el (org-table-fix-formulas): Handle multiple #+TBLFM
991         lines with `forward-line'.
993 2014-04-22  Michael Weylandt  <michael.weylandt@gmail.com>  (tiny change)
995         * ox-latex.el (org-latex-export-to-latex): Downcase the language
996         name when using minted highlighting for src block exports.
998 2014-04-22  Nick Dokos  <ndokos@gmail.com>
1000         * org-mobile.el (org-mobile-create-index-file): delete :grouptags
1001         entries from tags list when creating the org-mobile index file.
1003 2014-04-22  Nicolas Goaziou  <n.goaziou@gmail.com>
1005         * ox.el (org-export-copy-to-kill-ring): Comply to docstrings
1006         standards.
1008         * org.el (org-sparse-tree): Fix code typo.  Small refactoring.
1010         * ox-latex.el (org-latex-link):
1011         * ox-html.el (org-html-link):  Do not expand absolute file names
1012         and do not try to fix hierarchy part, as it is already taken care of
1013         at the parser level.
1015         * ox-md.el (org-md-link): Ditto.  Also fix absolute file names.
1017         * ox-odt.el (org-odt-link):
1018         * ox-man.el (org-man-link):
1019         * ox-texinfo.el (org-texinfo-link):
1020         * org-element.el (org-element-link-parser): Fix ill-defined "file"
1021         type links.  Expand absolute file names in the process.
1023         * org.el (org-make-link-regexps): Use `regexp-opt' instead of
1024         `mapconcat' and `regexp-quote'.
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-html.el (org-html-link):
1031         * ox-latex.el (org-latex-link):
1032         * ox-man.el (org-man-link):
1033         * ox-odt.el (org-odt-link):
1034         * ox-texinfo.el (org-texinfo-link): Append "//" after some link
1035         types.
1037         * ox-md.el (org-md-link):
1038         * org.el (org-make-link-regexps): Allow optional double slashes
1039         after type.  Small refactoring.
1041         * org-element.el (org-element-headline-parser): Tiny refactoring.
1043         * org-element.el (org-element-headline-parser): Correctly parse
1044         blank lines after a headline.
1046         * org-element.el (org-element-table-cell-parser)
1047         (org-element-table-cell-successor): Recognize cell even when last
1048         vertical bar is missing.
1050         * ox-md.el (org-md-example-block): handle switches and references
1051         in source blocks.
1053         * org.el (org-latex-packages-alist)
1054         (org-latex-default-packages-alist): Update docstrings.
1056         * ox-ascii.el (org-ascii--unique-links): Ignore white spaces when
1057         uniquifying links in section.
1059         * ox-odt.el (org-odt-template): Ignore blank titles.
1061         * ox-publish.el (org-publish-find-title): Fix (invalid-read-syntax
1062         "#").
1064         * ox-ascii.el (org-ascii-link):
1065         * ox-beamer.el (org-beamer-link):
1066         * ox-html.el (org-html-link):
1067         * ox-latex.el (org-latex-link):
1068         * ox-md.el (org-md-link):
1069         * ox-odt.el (org-odt-link): Update radio target export according
1070         to recent changes.
1072         * org-element.el (org-element-all-successors)
1073         (org-element-object-restrictions): Prioritize `link' over other
1074         successors in order to find radio links starting with another
1075         syntax object (e.g., an entity).  Also allow text markup within
1076         radio targets.
1077         (org-element-link-parser): Add contents to radio targets.
1079         * org.el (org-make-target-link-regexp): Fix regexp so it can match
1080         targets starting with an Org object (e.g., an entity).
1081         (org-ctrl-c-ctrl-c): Fix function when applied on an object contained
1082         within a radio target.
1084         * org.el (org-mode): Change "\" and "~" characters syntax from
1085         `punctuation' to `symbol' so they are on par with other characters
1086         used in Org syntax (e.g., "/", "*"...).
1088         * ox-beamer.el (org-beamer-publish-to-pdf):
1089         * ox-latex.el (org-latex-publish-to-pdf): Ensure ".tex" file is
1090         generated in the same directory as the ".org" file.
1092         * ox-latex.el (org-latex-headline): Hard-code "\underline" in
1093         sections because "\uline" ("ulem" package) returns an error and
1094         "\ul" ("soul" package) doesn't support chinese characters.
1096         * ox-ascii.el (org-ascii-link): Correctly handle case mismatch
1097         between radio targets and radio links.
1099         * org-element.el (org-element-link-parser): "radio" links have
1100         their path downcased to avoid introducing case mismatch with their
1101         relative radio target.  With this change it is also necessary to
1102         add contents to them, since `:path' property no longer matches
1103         real value of the link.
1104         (org-element-radio-target-parser): Downcase value as explained
1105         above.  Store the initial value in a new `:raw-value' property.
1107         * org-element.el (org-element-context): Fix parsing of bold
1108         objects at the beginning of a headline.
1110         * org-element.el (org-element-context): Fix timestamps parsing.
1112         * ox-beamer.el (org-beamer-item): Insert the export snippet right
1113         after the first \item, not all of them.
1115         * org-element.el (org-element--list-struct): Fix regexp.
1117         * org-element.el (org-element-inlinetask-parser): Fix parsing when
1118         regular and degenerate inlinetasks are mixed in the section.
1120         * ox-md.el (org-md-link): Generate md links to other Org files
1121         instead of html links.  Do not confuse caption and alt-text.
1122         Provide "img" as default alt-text.
1124         * org-element.el (org-element-normalize-contents): Do not ignore
1125         empty lines when an object follows.
1126         (org-element-interpret-data): Do not remove properties by
1127         side-effect when interpreting a string, as it also removes them
1128         from the parse tree, making the string unusable without its
1129         :parent property.
1131         * ob-exp.el (org-babel-exp-process-buffer): Also check
1132         `org-src-preserve-indentation' to know when to preserve indentation.
1133         (org-babel-exp-code-template): Include switches in template.
1134         (org-babel-exp-code): Provide %switches placeholder.
1136         * ox-latex.el (org-latex-plain-list): Do not automatically
1137         enclose value for :options attribute within square brackets.
1138         Instead, append them verbatim next to the block name, as special
1139         blocks do.
1141         * ob-exp.el (org-babel-exp-code): Fix export of src blocks with
1142         flags.
1143         (org-babel-exp-process-buffer): Make processing more robust when
1144         results are inserted before source block or when source block is
1145         followed by multiple blank lines.
1147         * ox.el (org-export-insert-default-template): Only insert
1148         keywords and options relatives to the selected back-end.
1149         Ignore those relatives to its parent in the case of a derived back-end.
1151         * ox-beamer.el: Remove unnecessary package definitions in default
1152         class.
1154         * ox-latex.el (org-latex-headline, org-latex-item): Fix items
1155         starting with a square bracket.
1157         * org.el (org-mode-restart): Fix turning off `org-indent-mode'
1158         when necessary.
1159         (org-get-previous-line-level): Do not call `org-current-level'
1160         twice unless necessary.  Also, avoid using `line-number-at-pos'
1161         when the information needed is to know if point is in the first
1162         line of the visible part of the buffer.
1164         * ob-core.el (org-babel-get-inline-src-block-matches): Do not
1165         compute line number if all is needed is to know if we're on the
1166         first one.
1168         * ox-md.el (org-md-item): Do not return an error when exporting
1169         an empty item.
1171         * ox-beamer.el (org-beamer-select-environment): Function doesn't
1172         work if fast tag selection is disabled, so make sure it is always
1173         on, independently on user's configuration.
1175 2014-04-22  Nikolai Weibull  <now@disu.se>  (tiny change)
1177         * org.el (org-mode): Add guard around set-face-foreground.
1179 2014-04-22  Rasmus  <w530@pank.eu>
1181         * ox-html.el (org-html-html5-elements): Drop reference to hgroup.
1183 2014-04-22  Rick Frankel  <rick@rickster.com>
1185         * ox-html.el (org-html-link): Unescape org-escaped links an
1186         re-escape for html (browser).
1188 2014-04-22  Sacha Chua  <sacha@sachachua.com>
1190         * org.el (org-refresh-properties): Don't throw an error when
1191         reaching the end of the buffer.
1193 2014-04-22  Stefan-W. Hahn  <stefan.hahn@s-hahn.de>  (tiny change)
1195         * org-bibtex.el (org-bibtex-read): Check string length before
1196         using aref.
1198 2014-04-22  Yasushi SHOJI  <yashi@atmark-techno.com>
1200         * ox-ascii.el (org-ascii--current-text-width): Convert `length'
1201         to `string-width'.
1202         (org-ascii--build-title, org-ascii--build-toc)
1203         (org-ascii--list-listings, org-ascii--list-tables)
1204         (org-ascii-template--document-title)
1205         (org-ascii-inner-template, org-ascii-format-inlinetask-default)
1206         (org-ascii-format-inlinetask-default, org-ascii-item
1207         (org-ascii--table-cell-width, org-ascii-table-cell)
1208         (org-ascii--current-text-width): Likewise.
1210 2014-02-25  Glenn Morris  <rgm@gnu.org>
1212         * org-version.el (org-odt-data-dir):
1213         Remove incorrect, duplicate definition.  (Bug#16734)
1215 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
1217         Spelling fixes.
1218         * org-irc.el (org-irc-ellipsify-description): Rename from
1219         org-irc-elipsify-description.  All uses changed.
1221 2013-01-07  Bastien Guerry  <bzg@gnu.org>
1223         * org-clock.el (org-clock-cancel-hook)
1224         (org-clock-leftover-time): Fix typo in docstring.
1226         * ox-odt.el (org-odt--frame): Add a draw:name property to the
1227         draw:frame tag.
1228         (org-odt-format-label): Don't use short-caption at all.
1230         * org-rmail.el (org-rmail-follow-link): Don't raise an error when
1231         no article is matched.
1233         * org.el (org-set-tags): Ignore invisible text when restoring
1234         cursor position.
1235         (org-refile-get-location): Check for a refile position when the
1236         position is not nil, otherwise allow to create the parent node if
1237         the user requests it.
1238         (org-refile-allow-creating-parent-nodes): Fix typo in
1239         docstring.
1240         (org-entry-get): Minor docstring enhancement.
1241         (org-set-startup-visibility): Bugfix.
1242         (org-shiftcontrolup, org-shiftcontroldown):
1243         When `org-support-shift-select' is not `nil', let-bind it to nil if
1244         point is on a clock log.  Otherwise throw an error.
1246         * ob-lob.el (org-babel-lob-files): Fix custom type.
1247         (org-babel-lob-ingest): Small docstring fix.
1249         * org-agenda.el (org-cmp-ts): Fix bug: interpret `late' as
1250         `later than any date' instead of `later than today'.
1252         * org.el (org-do-emphasis-faces): Handle false positives by
1253         restarting the re-search one char after the beginning of the
1254         match, not one char before its ending.
1255         (org-entry-put): Check that the value provided is a string.  If it
1256         is nil, convert it to the empty string.
1258         * ob-latex.el (org-babel-latex-htlatex-packages): Use repeat
1259         instead of list as the defcustom type.
1261         * ox.el (org-export-with-creator):
1262         * org.el (org-loop-over-headlines-in-active-region)
1263         (org-mouse-1-follows-link, org-provide-todo-statistics):
1264         * org-agenda.el (org-agenda-custom-commands-local-options)
1265         (org-agenda-start-with-log-mode)
1266         (org-agenda-show-inherited-tags): Don't quote const values.
1268         * ox-texinfo.el (org-texinfo-def-table-markup):
1269         * org-inlinetask.el (org-inlinetask-show-first-star):
1270         * ob-maxima.el (org-babel-maxima-command): Add type.
1272         * org-table.el (org-table-fix-formulas): Handle multiple
1273         #+tblfm: lines.
1275         * ox.el (org-export-to-file): Fix typo in docstring.
1277         * org.el (org-self-insert-command)
1278         (orgtbl-self-insert-command): Change the value of the
1279         `delete-selection' property to allow other commands like
1280         `electric-pair-will-use-region' to be run before deletion.
1282         * org-attach.el (vc-git): Require.
1283         (org-attach-commit): Check whether git is installed.
1285 2013-01-07  Nicolas Goaziou  <n.goaziou@gmail.com>
1287         * ox-icalendar.el (org-icalendar--combine-files): Make sure
1288         anniversaries do not end up in *Message* buffer instead of the ICS
1289         file.
1291         * ox-html.el: Clean up "FIXME" comments.
1293         * ox-publish.el (org-publish-resolve-external-fuzzy-link):
1294         Fix docstring.
1296         * ox.el (org-export-smart-quotes-regexps): Fix smart quote
1297         detection when it is followed by an open parenthesis syntax class.
1299         * org-element.el (org-element-inline-babel-call-successor):
1300         Use original regexp to stay up-to-date with Babel changes.
1301         (org-element--affiliated-re): Fix affiliated keyword regexp.
1303         * ox-org.el (org-org-identity): Since back-end specific keywords
1304         are stripped from output, also remove attr_backend keywords.
1305         (org-babel-exp-process-buffer): Fix duplicate evaluation with
1306         :wrap src.
1307         (org-babel-exp-non-block-elements): Remove function.
1309 2013-01-07  Ted Wiles  <thewiles@wharton.upenn.edu>  (tiny change)
1311         * org-habit.el (org-habit-parse-todo): Match all TODO keywords,
1312         not just "TODO".
1314 2013-01-07  Miguel Ruiz  <rbenit68@yahoo.es>  (tiny change)
1316         * ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Fix code
1317         typo.
1319 2013-01-07  Vladimir Lomov  <lomov.vl@gmail.com>  (tiny change)
1321         * ox-html.el (org-html-style-default): New classes caption.t-above
1322         and caption.t-bottom.
1323         (org-html-table): Use new classes.
1325 2013-12-23  Chong Yidong  <cyd@gnu.org>
1327         * org.el (orgstruct-make-binding): Call set-transient-map instead
1328         of old name set-temporary-overlay-map.
1330 2013-12-06  Achim Gratz  <Stromeko@Stromeko.DE>
1332         * org-crypt.el: Declare `epg-context´.
1333         (org-encrypt-string): Correct indentation.
1335         * org.el (org-version): Replace `_version´ by `version1´.
1337 2013-12-06  Alexander Vorobiev  <alexander.vorobiev@gmail.com>  (tiny change)
1339         * org-compat.el (org-get-x-clipboard): Use w32-get-clipboard-data
1340         to get the clipboard data under Windows.
1342 2013-12-06  Bastien Guerry  <bzg@gnu.org>
1344         * ox.el (org-export-with-sub-superscripts):
1345         * org.el (org-use-sub-superscripts): Fix version and enhance
1346         docstring again.
1348         * ox.el (org-export-with-sub-superscripts):
1349         * org.el (org-use-sub-superscripts): Enhance docstrings.
1351         * org-macs.el (org-autoload): Delete.
1353         * org-docview.el ("docview"): Fix declarations and require
1354         doc-view directly.
1356         * org-id.el (org-id-copy)
1357         (org-id-get-with-outline-path-completion)
1358         (org-id-get-with-outline-drilling, org-id-new):
1360         * org-colview.el:
1361         (org-colview-initial-truncate-line-value)
1362         (org-columns-open-link, org-string-to-number):
1363         * org-clock.el:
1364         (org-clock-put-overlay, org-count-quarter, org-clock-loaded):
1365         * org-archive.el (org-get-local-archive-location):
1366         * org-agenda.el (org-agenda-todo-custom-ignore-p):
1367         Autoload.
1369         * org.el (org-return-follows-link):
1370         * ob-python.el (org-babel-python-command): Don't use :set.
1372         * ox-odt.el (org-odt-content-template-file): Fix version.
1374         * ox-texinfo.el (org-texinfo-filename): Fix default value.
1375         (org-texinfo-format-headline-function): Use 'ignore as the
1376         default value.
1377         (org-texinfo-format-drawer-function): Use a function as the
1378         default value.  Update docstring.
1379         (org-texinfo-drawer): Always use
1380         `org-texinfo-format-drawer-function' as it is now a function
1381         by default.
1382         (org-texinfo-headline):
1383         Compare `org-texinfo-format-headline-function' against 'ignore.
1384         (org-texinfo-inlinetask):
1385         Compare `org-texinfo-format-inlinetask-function' against 'ignore.
1387         * ox-odt.el (org-odt-format-drawer-function): Use a function as
1388         the default value.  Update docstring.
1389         (org-odt-format-headline-function)
1390         (org-odt-format-inlinetask-function): Fix default value.
1391         (org-odt-drawer): Always use `org-odt-format-drawer-function'
1392         as it is now a function by default.
1393         (org-odt-format-headline--wrap):
1394         Compare `org-odt-format-headline-function' against 'ignore.
1396         * ox-latex.el (org-latex-format-drawer-function): Use a function
1397         as the default value.  Update docstring.
1398         (org-latex-format-inlinetask-function): Fix default value.
1399         (org-latex-drawer): Always use
1400         `org-latex-format-drawer-function' as it is now a function by
1401         default.
1402         (org-latex-inlinetask):
1403         Compare `org-latex-format-inlinetask-function' against 'ignore.
1405         * ox-html.el (org-html-format-drawer-function): Use a function as
1406         the default value.  Update docstring.
1407         (org-html-format-headline-function)
1408         (org-html-format-inlinetask-function): Fix default value.
1409         (org-html--format-toc-headline)
1410         (org-html-format-headline--wrap):
1411         Compare `org-html-format-headline-function' against 'ignore.
1412         (org-html-inlinetask):
1413         Compare `org-html-format-inlinetask-function' against 'ignore.
1415         * ox-ascii.el (org-ascii-format-drawer-function): Use a
1416         function as the default value.  Update docstring.
1417         (org-ascii-drawer): Always use
1418         `org-ascii-format-drawer-function' as it is now a function by
1419         default.
1420         (org-ascii-format-inlinetask-default): New function.
1421         (org-ascii-format-inlinetask-function):
1422         Use `org-ascii-format-inlinetask-default' as the default.
1424         * org.el (org-mouse-1-follows-link): Use :set to set the default
1425         value.  Update custom type.
1426         (org-log-note-headings): Fix order or list items in the custom
1427         type.
1428         (orgstruct-heading-prefix-regexp): Use an empty string as the
1429         default value.  Use 'regexp as the custom type.
1430         (orgstruct-make-binding): Tiny docstring enhancement.
1431         Assume `orgstruct-heading-prefix-regexp' is a string.
1433         * org-agenda.el (org-agenda-search-view-max-outline-level):
1434         Set default value to 0.  Update docstring.
1435         (org-agenda-deadline-leaders): Fix custom type.
1436         (org-search-view):
1437         Assume `org-agenda-search-view-max-outline-level' is a number.
1439         * ob-ruby.el (org-babel-ruby-nil-to): Fix custom type.
1441         * ob-python.el (org-babel-python-mode): Use :set to set the
1442         default value.
1443         (org-babel-python-None-to): Fix custom type.
1445         * ob-plantuml.el (org-plantuml-jar-path): Fix default value.
1446         (org-babel-execute:plantuml): Assume `org-plantuml-jar-path' is a
1447         string.
1449         * ob-latex.el (org-babel-latex-htlatex): Fix default value.
1450         (org-babel-latex-htlatex-packages): Fix custom type.
1451         (org-babel-execute:latex): Assume `org-babel-latex-htlatex' is a
1452         string.
1454         * ox-odt.el (org-odt-display-outline-level): Fix version.
1456         * ox-odt.el (org-odt-inline-formula-rules)
1457         (org-odt-inline-image-rules, org-odt-use-date-fields): Add version
1458         and package-version.
1460         * ox-html.el (org-html-format-drawer-function)
1461         (org-html-format-headline-function)
1462         (org-html-format-inlinetask-function)
1463         (org-html-creator-string): Add version and package-version.
1465         * ox-html.el (org-html-text-markup-alist): Fix version.
1467         * org-agenda.el (org-agenda-set-restriction-lock): Autoload.
1469         * ob-calc.el (org--var-syms): Rename from `var-syms'.
1471         * ob-lilypond.el (ly-compile-lilyfile): Remove redundant
1472         let-binding.
1474         * ob-table.el (sbe): Move debug declaration.
1476         * org-clock.el (org--msg-extra): Rename from `msg-extra'.
1478 2013-12-06  Nicolas Goaziou  <n.goaziou@gmail.com>
1480         * org.el (org-ctrl-c-ctrl-c): When point is on an unsupported
1481         object, look for something to do at a higher level instead of
1482         bailing out.
1484         * ox-html.el (org-html-format-latex): Add an argument.  Ensure
1485         latex header is the same as specified in the original buffer when
1486         exporting a LaTeX fragment or environment.
1487         (org-html-latex-environment, org-html-latex-fragment):
1488         Apply signature change.
1490         * ox-publish.el (org-publish-cache-ctime-of-src): Return an error
1491         when publishing a non-existent file.
1493         * org-element.el (org-element-paragraph-separate): More accurate
1494         regexp.
1496         * org.el (org-entry-get): Widen buffer in order to retrieve
1497         properties, as `org-entry-properties' and
1498         `org-entry-get-with-inheritance' already do.
1500         * ox-html.el (org-html--format-toc-headline): Add missing headline
1501         number in TOC entries.
1503         * org.el (org-entry-properties): Ignore narrowing when retrieving
1504         current headline properties.
1506 2013-12-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
1508         * org-crypt.el (org-encrypt-string, org-encrypt-entry)
1509         (org-decrypt-entry): Fix warning.
1511 2013-11-17  Paul Eggert  <eggert@cs.ucla.edu>
1513         Spelling fixes.
1514         * ob-python.el (org-babel-python-with-earmuffs):
1515         Rename from org-babel-python-with-earmufs.  All uses changed.
1516         (org-babel-python-without-earmuffs):
1517         Rename from org-babel-python-without-earmufs.  All uses changed.
1519 2013-11-12  Bastien Guerry  <bzg@gnu.org>
1521         * org-agenda.el (org-agenda-set-restriction-lock): Autoload.
1523 2013-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1525         Address some byte-compiler warnings.
1526         * ob-calc.el (org--var-syms): Rename from `var-syms'.
1527         * ob-lilypond.el (ly-compile-lilyfile): Remove redundant let-binding.
1528         * ob-table.el (sbe): Move debug declaration.
1529         * org-clock.el (org--msg-extra): Rename from `msg-extra'.
1530         * org.el (org-version): Avoid var name starting with _.
1531         (org-inhibit-startup, org-called-with-limited-levels)
1532         (org-link-search-inhibit-query, org-time-was-given)
1533         (org-end-time-was-given, org-def, org-defdecode, org-with-time):
1534         * org-colview.el (org-agenda-overriding-columns-format):
1535         * org-agenda.el (org-agenda-multi, org-depend-tag-blocked)
1536         (org-agenda-show-log-scoped):
1537         * ob-python.el (py-which-bufname, python-shell-buffer-name):
1538         * ob-haskell.el (org-export-copy-to-kill-ring):
1539         * ob-exp.el (org-link-search-inhibit-query):
1540         * ob-R.el (ess-eval-visibly-p):
1541         * ob-core.el (org-src-window-setup): Declare before use.
1542         (org-babel-expand-noweb-references): Remove unused `blocks-in-buffer'.
1543         * ox-odt.el (org-odt-hfy-face-to-css):
1544         * org-src.el (org-src-associate-babel-session, org-src-get-lang-mode):
1545         * org-bibtex.el (org-bibtex-get, org-bibtex-ask, org-bibtex)
1546         (org-bibtex-check):
1547         * ob-tangle.el (org-babel-tangle, org-babel-spec-to-string)
1548         (org-babel-tangle-single-block, org-babel-tangle-comment-links):
1549         * ob-table.el (sbe):
1550         * ob-sqlite.el (org-babel-sqlite-expand-vars):
1551         * ob-sql.el (org-babel-sql-expand-vars):
1552         * ob-shen.el (org-babel-execute:shen):
1553         * ob-sh.el (org-babel-execute:sh, org-babel-sh-evaluate):
1554         * ob-scala.el (org-babel-scala-evaluate):
1555         * ob-ruby.el (org-babel-ruby-table-or-string)
1556         (org-babel-ruby-evaluate):
1557         * ob-python.el (org-babel-python-table-or-string)
1558         (org-babel-python-evaluate-external-process)
1559         (org-babel-python-evaluate-session):
1560         * ob-picolisp.el (org-babel-execute:picolisp):
1561         * ob-perl.el (org-babel-perl-evaluate):
1562         * ob-maxima.el (org-babel-execute:maxima):
1563         * ob-lisp.el (org-babel-execute:lisp):
1564         * ob-java.el (org-babel-execute:java):
1565         * ob-io.el (org-babel-io-evaluate):
1566         * ob-haskell.el (org-babel-execute:haskell):
1567         * ob-fortran.el (org-babel-execute:fortran):
1568         * ob-exp.el (org-babel-exp-code):
1569         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
1570         * ob-ditaa.el (org-babel-execute:ditaa):
1571         * ob-core.el (org-babel-execute-src-block, org-babel-sha1-hash)
1572         (org-babel-parse-header-arguments, org-babel-reassemble-table)
1573         (org-babel-goto-src-block-head, org-babel-mark-block)
1574         (org-babel-expand-noweb-references, org-babel-script-escape)
1575         (org-babel-process-file-name):
1576         * ob-clojure.el (org-babel-execute:clojure):
1577         * ob-calc.el (org-babel-execute:calc):
1578         * ob-awk.el (org-babel-execute:awk):
1579         * ob-R.el (org-babel-expand-body:R):
1580         * ob-C.el (org-babel-C-execute): Avoid deprecated ((lambda) ...).
1582 2013-11-12  Glenn Morris  <rgm@gnu.org>
1584         * ox-html.el (org-html-scripts): Add 2013 to copyright years.
1585         (org-html-infojs-template): Copyright holder to FSF.
1587 2013-11-12  Aaron Ecay  <aaronecay@gmail.com>
1589         * ox-latex.el (org-latex-inline-image-rules): Add "svg" to
1590         supported filetypes.
1591         (org-latex--inline-image): Implement SVG files inclusion.
1592         (org-latex-headline): Don’t insert alternate title if identical to
1593         regular one.
1595         * ob-python.el: Update the arglist passed to `declare-function'
1596         for `run-python'.
1598         * ob-tangle.el (org-babel-tangle): Use `light' argument to
1599         `org-babel-get-src-block-info'.
1601         * ob-core.el (org-babel-execute-src-block): Return nil in case of
1602         `:results none'.  Also run `org-babel-after-execute-hook' in this
1603         circumstance.
1605         * org-id.el (org-id-locations-save): Bind print-(level,length) to
1606         nil in this function.
1608         * ob-R.el (org-babel-R-graphics-devices): New defvar.
1609         (org-babel-R-construct-graphics-device-call): Use it instead of a
1610         hard-coded list of graphics devices.
1612         * ob-core.el (org-babel-when-in-src-block): New macro.
1613         (org-babel-execute-src-block-maybe)
1614         (org-babel-expand-src-block-maybe)
1615         (org-babel-load-in-session-maybe, org-babel-pop-to-session-maybe):
1616         Use it.
1617         (org-babel-execute-src-block): Use `copy-tree' to prevent setf
1618         from modifying users variables withing let-bound `info' variable.
1620         * ob-exp.el (org-export-babel-evaluate): Add a 'inline-only
1621         option.
1622         (org-babel-exp-results): Implement 'inline-only for
1623         `org-export-babel-evaluate'.
1625         * org.el (org-edit-special): Use prefix arg.
1627         * ob-awk.el (org-babel-expand-body:awk, ob-picolisp.el)
1628         (org-babel-expand-body:picolisp): Remove optional arg.
1630         * ob-R.el (org-babel-R-initiate-session): Handle case where the
1631         session buffer exists, but does not have a live process.
1632         (org-babel-R-construct-graphics-device-call): Change file
1633         extension of tikz graphics files to .tikz.
1635         * org-src.el (org-edit-src-exit): Don't modify the undo list when
1636         inserting the code.
1638         * ox-latex.el (org-latex-plain-text): Properly escape "~" for
1639         LaTeX export.
1640         (org-latex-image-default-option): Change default value to "".
1641         (org-latex-image-default-width, org-latex-image-default-height):
1642         New variables.
1643         (org-latex-inline-image-rules): Make .tikz files as exportable
1644         with LaTeX.
1645         (org-latex--inline-image): Support tikz images.  Also support
1646         separate :width and :height parameters for images.
1648         * org-bibtex.el (org-bibtex-ask): Use `visual-line-mode' instead
1649         of longlines-mode.
1651 2013-11-12  Abdó Roig-Maranges  <abdo.roig@gmail.com>
1653         * org.el (org-format-latex): Do not re-generate a LaTeX preview if
1654         the image already exists.
1656         * org-agenda.el (org-agenda-search-view-max-outline-level):
1657         New option to define the max level for the entries shown by the search
1658         view.  A value of 1 means to show the top parent of the entries.
1660         * org.el (org-create-formula-image-with-dvipng): Fix bug that made
1661         this function fail with no :foreground and :background attributes
1662         set, due to bad handling of "Transparent" color.  Fix bug when
1663         colors are not `default'.
1664         (org-format-latex-options): Add `auto' to docstring.
1665         (org-format-latex): Get face colors at point and put them inside
1666         opt.
1667         (org-create-formula-image-with-imagemagick): Fix bug when handling
1668         "Transparent" bg color.
1669         (org-dvipng-color-format): Same as `org-latex-color-format' for
1670         dvipng-style color specification.
1672 2013-11-12  Achim Gratz  <Stromeko@Stromeko.DE>
1674         * ob-core.el (org-babel-check-confirm-evaluate): Return result of
1675         evaluating the function pointed to by `org-confirm-babel-evaluate'
1676         when it is a functionp and its value as a variable otherwise.
1677         (org-babel-get-rownames, org-table.el)
1678         (org-table-transpose-table-at-point): Replace the inadvertent use
1679         of mapcar* (from cl) by plain mapcar and direct cons manipulation.
1680         (org-babel-params-from-properties):
1681         Use `org-babel-current-src-block-location' for evaluating new-style
1682         header-argument properties.  Remove superfluous save-match-data
1683         clauses.  Comment which properties get evaluated where.
1684         (org-babel-insert-header-arg, org-babel-parse-src-block-match):
1685         Replace `if' with empty else part by `when' for readability.
1686         (org-babel-params-from-properties): Inquire for language specific
1687         and default header properties.  Language specific header
1688         properties take precedence over default header properties and
1689         old-style header property specifications.
1691         * org.el (org-re-property): Re-implement using full regex for
1692         `org-re-property'.  Add optional argument LITERAL to flag when
1693         PROPERTY should to be regex-quoted.  Move before definition of
1694         `org-re-property'.
1695         (org-re-property-keyword): Remove, functionality is subsumed by
1696         `org-re-property'.
1697         (org-property-re): Define using `org-re-property'.
1698         Improve definition so that this regex can be
1699         (org-entry-get, org-property-values): Adjust match number for
1700         PROPVAL.  (org-entry-put): Use `org-re-property' instead of
1701         `org-re-property-keyword'.
1702         used in all situations.  Extend docstring with explanation of
1703         matching groups.
1704         (org-at-property-p): Implement using `org-element-at-point'.
1705         (org-entry-properties, org-buffer-property-keys, org-indent-line):
1706         Use `org-property-re' and adjust match group numbers accordingly.
1708         * org-compat.el (define-obsolete-variable-alias)
1709         (define-obsolete-function-alias): Actually remove the third (and
1710         any following) argument from the argument list before calling the
1711         advised function.  Extend eval-and-compile clause and add advices
1712         for functions that have different parameter lists in XEmacs.
1713         Add variable definitions that XEmacs lacks .
1715         * ob-fortran.el (org-every): Declare.
1717         * org-element.el (org-element-node-property-parser):
1718         Use `org-property-re' and adjust match group numbers accordingly.
1719         Move `looking-at' out of the let clause to not rely on the
1720         unspecified evaluation order inside the let.
1722         * ob-eval.el, ob.el, org-macro.el, org-mhe.el: Require org-macs
1723         and org-compat as necessary.
1725         * ob-tangle.el (org-edit-special, org-store-link)
1726         (org-open-link-from-string): Declare functions.
1728         * org-macs.el (declare-function): Define macro to use autoload
1729         instead for XEmacs.
1731         * ox-html.el, ox-odt.el: XEmacs does not have table.el, so use
1732         'noerror on the require form.
1734         * ox-texinfo.el (org-texinfo-table-column-widths): Fix spliced
1735         argument list that XEmacs complains about by adding parenthesis.
1737         * ob-octave.el (org-babel-octave-initiate-session): If octave-inf
1738         can't be loaded, try octave instead before giving up.
1739         Emacs 24.3.50 and upwards replaces octave-inf with just plain octave.
1741         * org-id.el (org-id-update-id-locations): Autoload interactive
1742         function.
1744         * ob-core.el (org-babel-parse-inline-src-block-match):
1745         * ob-exp.el (org-babel-exp-src-block): Give header arguments from
1746         properties priority over default header arguments.
1748         * ob-sh.el (org-babel-sh-var-to-sh): When detecting a table, the
1749         first line could be the symbol `hline' rather than a list of table
1750         cells, so check for that as well.
1752         * org.el (org-table-clean-did-remove-column):
1753         * org-table.el (org-table-clean-did-remove-column): Move defvar,
1754         this dynamic variable is only used in org-table.
1756         * org-table.el (org-table-colgroup-info): Remove unused defvar for
1757         `org-table-colgroup-info'.
1758         (org-table-clean-before-export): Let-bind regular expression
1759         strings and remove unused matching group.
1760         Use `org-table-clean-did-remove-column' in cond statement rather than
1761         branching via if to avoid code duplication.  Remove the code
1762         associated with the removed `org-table-colgroup-info'.
1763         (orgtbl-export): Remove unused internal function.
1765         * org-macro.el (org-macro-expand): Do not try to interpret the
1766         macro replacement text as a regex so that escaped backslashes and
1767         commas in macro arguments will be interpreted correctly.
1769         * ob-perl.el (org-babel-perl-wrapper-method): Select output handle
1770         only after evaluation so that output is not mixed into results
1771         eavaluation.
1772         (org-babel-perl-evaluate): Fix the handling of results for
1773         ":results output" to also parse tables.  Use the same lambda
1774         construction as in ob-sh.el to avoid code duplication.
1776         * ob-exp.el (org-babel-exp-results, org-babel-lob-execute):
1777         Suppress user confirmation of the emacs-lisp wrapper execution
1778         around a lob call.
1780         * ob-perl.el (org-babel-perl-wrapper-method): Use TAB as separator
1781         for table results as expected by
1782         `org-babel-import-elisp-from-file´.
1784         * ob-core.el (org-babel-number-p): String match for any number
1785         moved first so that the match data for the length check does not
1786         become corrupted.
1787         (org-babel-confirm-evaluate-answer-no): Dynamically scoped
1788         variable, if bound non-nil the confirmation dialog will not be
1789         initiated and denial of evaluation is assumed.
1790         (org-babel-check-confirm-evaluate): New macro to establish
1791         bindings based on INFO.
1792         (org-babel-check-evaluate): New defsubst that checks if the
1793         evaluation of a code block is disabled.  Refactors the first part
1794         of the original function `org-babel-confirm-evaluate´.
1795         (org-babel-confirm-evaluate): New defsubst that checks if the user
1796         should be queried and returns the answer.  Keeps the second part
1797         of the original function `org-babel-confirm-evaluate´.
1798         Re-implement using bindings for common subexpressions.
1799         (org-babel-execute-src-block): Do not ask for confirmation if the
1800         cached result is current.
1801         (org-babel-call-process-region-original): Change declaration into
1802         definition with nil initial value at the beginning of the file and
1803         drop the later definition.  Add comment that the dynamic scoping
1804         of this variable is done for tramp.
1806         * org-table.el (org-table-eval-formula): The condition-case to
1807         check for must be "error", not "user-error".
1809         * ob-perl.el (org-babel-execute:perl): Pass `result-params´
1810         through to `org-babel-perl-evaluate´.
1811         (org-babel-variable-assignments:perl): Add "my" to variable
1812         declaration so that it becomes compatible with "use strict;".
1813         Use new internal formatting function `org-babel-perl--var-to-perl´.
1814         (org-babel-perl--var-to-perl): New internal function, uses Perl
1815         non-interpolating quoting on the string that defines the variable
1816         to suppress spurious interpretation of it as Perl syntax.
1817         (org-babel-perl-wrapper-method): Use a block and declare all
1818         variables as "my", also use Perl quoting throughout.  Redirect
1819         STDOUT to the temporary file so that simply "print" will put the
1820         results there.  Check the return value and output in table form if
1821         it is an ARRAY ref, otherwise print it without a final newline.
1822         (org-babel-perl-preface): Content of this variable is prepended to
1823         body before invocation of perl.  Rename input parameter body to
1824         ibody and let-bind body to concatentation of
1825         `org-babel-perl-preface' and ibody.  Implement results
1826         interpretation so that tables are easier to produce.
1828         * ob-eval.el (org-babel-eval): Use simplified version of
1829         `org-babel--shell-command-on-region´, we are the only caller of
1830         this function.
1831         (org-babel--shell-command-on-region):
1832         Replace `org-babel-shell-command-on-region´ with a much more simplified
1833         internal version, remove superfluous DOCSTRING and interactive
1834         clause, strip out all conditionals which were never used.  Prevent
1835         deletion of temporary input file to aid debugging when the symbol
1836         `org-babel--debug-input´ is bound and has non-nil value.
1838         * ob-tangle.el (org-babel-tangle): Do not change signature, a nil
1839         arg is even documented in the manual.
1841         * org-src.el: Change declaration of `org-babel-tangle´ to "arg"
1842         for first argument.
1844         * ob-core.el (org-babel-execute-src-block): Add binding for
1845         merged-params to avoid multiple evaluation of
1846         `org-babel-merge-params´.  Rename cache? to cache-p, add binding
1847         for cache-current-p and use it.  Do not run
1848         `org-babel-confirm-evaluate´ if source block has a cache and the
1849         cache value is current (there is no evaluation involved in this
1850         case).
1852         * org.el (org-current-time): Replace call to obsolete function
1853         `time-to-seconds´ with a call to compatibility function
1854         `org-float-time´.
1856         * org-compat.el (user-emacs-directory): If not bound, define as an
1857         alias to `user-init-directory´ so that XEmacs continues to be
1858         happy with Org.
1860         * org-macs.el: New macro to allow the 5-argument form of load to
1861         be used where possible without breaking compatibility with XEmacs.
1863         * org.el (org-version, org-reload):
1864         Use `org-load-noerror-mustsuffix´ instead of adding a fifth argument
1865         to load directly.  Guard against undefined variable load-suffixes,
1866         which doesn't exist in XEmacs.
1868         * org.el: Use
1869         `org-define-obsolete-{function,variable}-alias´instead of
1870         `define-obsolate{function,variable}-alias´.
1872         * org-compat.el (user-error): Defalias to `error´ for Emacsen that
1873         don't have it.
1875         * ob-python.el (org-babel-python-hline-to)
1876         (org-babel-python-None-to): Specify customize group as 'org-babel
1877         and widget type as 'string.
1879         * ob.el (org-babel-result-cond): Macro expansion needs to unquote
1880         formal parameter `result-params´.
1882         * org.el (org-reload): Major rewrite.
1884         * org.el (org-clock-get-last-clock-out-time): Declare function.
1886 2013-11-12  Alan Schmitt  <alan.schmitt@polytechnique.org>
1888         * ob-ocaml.el (org-babel-prep-session:ocaml):
1889         Use `save-window-excursion' around the code starting the tuareg
1890         process.
1891         (org-babel-ocaml-command): New option to specify the name of the
1892         toplevel to run.
1893         (org-babel-prep-session:ocaml): Directly call
1894         `tuareg-run-process-if-needed' with `org-babel-ocaml-command' as
1895         argument.
1896         (org-babel-execute:ocaml): Always append ";;" at the end of the
1897         expression before sending it to the toplevel.  Do not remove the
1898         type information if "verbatim" is a results parameter of the code
1899         block.
1900         (org-babel-ocaml-parse-output): Make sure the complete type is
1901         taken into account when matching against known types.
1903         * org-faces.el (org-footnote): Fix docstring.
1905 2013-11-12  Andreas Leha  <andreas@lehas.net>
1907         * ob-latex.el (org-babel-execute:latex): Add a tizk option that
1908         copies the body of the block into a tikz file.
1910 2013-11-12  Arun Persaud  <apersaud@lbl.gov>
1912         * org-agenda.el (org-agenda-prefix-format): Add documentation for
1913         the new %b option.
1914         (org-prefix-has-breadcrumbs): Add flag, `t' when %b is set.
1915         (org-agenda-format-item): Add breadcrumbs if requested.
1916         (org-compile-prefix-format): Add compiled information for
1917         breadcrumbs, add %b option.
1919 2013-11-12  Aurélien Aptel  <aurelien.aptel@gmail.com>  (tiny change)
1921         * ox-html.el (org-html-code, org-html-verbatim): Remove fancy
1922         string replacements for code and verbatim text when exporting to
1923         HTML.
1925 2013-11-12  Bastien Guerry  <bzg@gnu.org>
1927         * org.el (org-align-tags-here): Fix bug: move to the correct
1928         position.
1929         (org-agenda-prepare-buffers): Restore the point position.
1930         (org-insert-link): Don't remove brackets when they belong to a
1931         timestamp in a headline.
1933         * org-capture.el (org-capture-refile): Don't finalize prematurely.
1934         (org-capture): Store :return-to-wconf earlier.
1935         (org-capture-place-template): Don't store :return-to-wconf when
1936         called from a capture template using `function', rely on the early
1937         :return-to-wconf value store from `org-capture'.
1939         * org-compat.el (org-move-to-column): New argument
1940         `ignore-invisible' to turn on `buffer-invisibility-spec'.
1942         * org-agenda.el (org-agenda-show-new-time): Ignore invisible text
1943         when inserting the new time as a text property.
1944         (org-agenda-filter-make-matcher): When filtering tags and hitting
1945         space, filter out entries with tags, only keep those without tags.
1946         (org-agenda-drag-line-forward, org-agenda-drag-line-backward):
1947         Fix bugs: don't drag lines without text and don't drag lines
1948         before/after hidden lines.
1950         * ox-odt.el (org-odt-table-style-format): Use %s for inserting the
1951         rel-width property as a string.
1952         (org-odt-template): Fall back on a string for :rel-width.
1954         * org.el (org-directory, org-default-notes-file)
1955         (org-reverse-note-order): Don't use the `org-remember'
1956         customization group.
1957         (org-require-autoloaded-modules): Don't require
1958         `org-remember'.
1960         * org-capture.el: Update commentary section to reflect the fact
1961         that org-remember.el is not used anymore.
1963         * org.el (org-babel-load-file): Set `exported-file' correctly, in
1964         case the file as been tangled using a buffer-local value.
1966         * ob-tangle.el (org-babel-tangle-file): Return the list of tangled
1967         files.
1969         * ox-org.el (org-org-publish-to-org): When htmlizing an .org file,
1970         ensure to show all headings and all blocks before fontifying.
1972         * ob-shen.el (org-babel-ruby-var-to-ruby): Declare.
1974         * ox.el: Fix comment: remove reference to the obsolete variable
1975         `org-export-language-setup'.
1977         * org.el (org-set-regexps-and-options-for-tags): Fix concatenation
1978         of the tags list.
1980         * ox-odt.el (org-odt-pixels-per-inch): Use 96.0 as the default.
1982         * org.el (org-refile): With a numeric prefix argument of `3',
1983         emulate (setq org-refile-keep t) and copy the subtree to the
1984         target location, don't delete it.
1985         (org-set-regexps-and-options-for-tags): Fix the setting of tag
1986         groups when relying on `org-tag-alist', not on tags directly set
1987         in the buffer with the #+TAGS option.
1989         * org-agenda.el (org-agenda-archive-with): Save window excursion.
1991         * org.el (org-forward-element, org-backward-element): Throw a
1992         message instead of an error when trying to move from a position
1993         where there is no element.
1994         (org-clock-is-active): Fix docstring.
1996         * org-list.el (org-sort-list): Use `x' instead of `c' for sorting
1997         plain list by checked status.
1999         * org.el (org-structure-template-alist): Fix custom type and
2000         default value.
2001         (org-set-regexps-and-options-for-tags): Enhance docstring.
2002         (org-set-regexps-and-options): Make sure not to add
2003         `org-tag-alist' twice when setting this variable through et
2004         #+setupfile: directive.
2005         (org-tags-expand): Use `with-syntax-table'.
2007         * org-list.el (org-sort-list): Implement sorting by "checked"
2008         status for check lists.
2010         * org-table.el (org-table-sum): Fix rounding error when summing
2011         times.
2013         * ob-scheme.el (org-babel-scheme-execute-with-geiser): Fix code
2014         typo.  Add declarations.
2016         * ox-html.el (org-html-link-use-abs-url): New option.
2017         (org-html-link): Use it to prepend relative links with the value
2018         of HTML_LINK_HOME, when defined.
2020         * org.el (org-refile): Fix refiling the active region within an
2021         list.  Don't store the last refiled subtree in the kill ring.
2023         * org.el (org-mode-map): Remap `forward-paragraph' and
2024         `backward-paragraph' to `org-forward-element' and
2025         `org-backward-element'.
2027         * ox-html.el (org-html-begin-plain-list): New parameter
2028         `ordered-num' to tell whether the list is ordered numerically.
2029         (org-html-plain-list): Handle alphabetical ordered list.
2031         * org-agenda.el (org-batch-agenda): Let-bind `org-agenda-sticky'
2032         to nil during batch export.
2034         * org.el (org-copy-subtree): Fix typo in docstring.
2035         (org-scan-tags): Don't disable `case-fold-search' too early.
2037         * org-agenda.el (org-agenda-skip-eval): Fix typo in docstring.
2039         * org-capture.el (org-capture-set-target-location): Don't throw an
2040         error when `org-time-was-given' is not bound.
2042         * org-clock.el (org-clock-modify-effort-estimate):
2043         Clarify docstring.
2045         * org.el (org-set-regexps-and-options-for-tags): Return a list
2046         with tag-related variables.
2047         (org-set-regexps-and-options): Append tags from a setup file to
2048         the local tags of the file.
2049         (org-agenda-prepare-buffers): Set tags from a setup file by
2050         calling `org-set-regexps-and-options' when necessary.
2051         (org-set-regexps-and-options): Fix `org-deadline-time-hour-regexp'
2052         and `org-scheduled-time-hour-regexp'.
2054         * org-table.el (org-table-TBLFM-begin-regexp): Rename from
2055         `org-TBLFM-begin-regexp'.
2056         (org-table-calc-current-TBLFM): Rename from
2057         `org-calc-current-TBLFM'.
2059         * org.el (org-ctrl-c-ctrl-c): Require org-table if needed.
2060         (org-refresh-properties): Put the text property on the whole
2061         subtree, not just on the headline.
2062         (org-get-outline-path): Remove statistical and checkboxes cookies.
2064         * org-agenda.el (org-agenda, org-search-view, org-tags-view)
2065         (org-agenda-get-day-entries, org-agenda-set-restriction-lock):
2066         Use (current-buffer) as the value of `org-agenda-restrict'.  Fix a bug
2067         about narrowing to wrong region boundaries when
2068         `org-agenda-restrict' is non-nil.
2070         * org.el (org-agenda-text-search-extra-files): Fix typos in
2071         docstring.
2072         (org-insert-heading): Fix case when there the first heading starts
2073         at the beginning of the buffer.
2075         * ob-core.el (org-babel-expand-src-block):
2076         Use `org-called-interactively-p'.
2078         * org.el (org-agenda-prepare-buffers): Avoid duplicates in
2079         `org-tag-alist-for-agenda' correctly.
2080         (org-read-date-minibuffer-local-map): Check if we are at the
2081         beginning of the prompt, not if we are after a whitespace.
2082         Bind C-. to `calendar-goto-today'.
2084         * org-clock.el (org-clock-in): Don't forward by one character when
2085         setting the marker in the clock history.
2087         * org.el (org-read-date-minibuffer-local-map):
2088         Call `calendar-goto-today' only if there is a space before point in the
2089         minibuffer prompt.
2090         (org-insert-heading): Reveal context when called interactively.
2091         Fix bug about wrong conversion of lines with :END: or #+end_ into
2092         headlines.
2093         (org-in-drawer-p): New function.
2094         (org-meta-return): Use `org-catch-invisible-edits' and the
2095         `org-in-drawer-p' to check whether we are within a drawer.
2097         * org-list.el (org-sort-list): Fix infloop.
2099         * org.el (org-clone-subtree-with-time-shift): Unconditionally ask
2100         for a time shift if there is a time-stamp.  Don't ask for a time
2101         shift when called with a universal prefix argument.
2103         * ob-core.el (org-babel-insert-result): Fix bug when inserting
2104         results as a list: ensure we split a string containing "\n".
2106         * ox-html.el: Fix copyright header.
2108         * org.el (org-store-link): Don't add a search string when storing
2109         a link from a radio target.
2110         (org-open-at-point): Jump to the radio link (<<<radio>>>), not to
2111         the simple target (<<target>>).
2113         * org-table.el (org-table-get-remote-range): Fix typo.
2115         * org-datetree.el (org-datetree-find-month-create)
2116         (org-datetree-find-day-create): Add a docstring.
2117         (org-datetree-find-year-create): Only match headlines with a
2118         year or a year and one or more tags.
2120         * org-crypt.el (org-crypt-check-auto-save)
2121         (org-crypt-use-before-save-magic): Use `org-add-hook' when the
2122         hooks are local hooks.
2124         * org-agenda.el (org-agenda-mode): Use `org-add-hook' and merge
2125         upstream change from Emacs 2013-04-18T00:12:33Z!monnier@iro.umontreal.ca.
2127         * ob-core.el (org-babel-pop-to-session-maybe): Fix docstring.
2128         (org-babel-pop-to-session-maybe): Use true function's name,
2129         not its alias.
2131         * org-agenda.el (org-agenda-drag-line-forward)
2132         (org-agenda-drag-line-backward): New commands.
2133         (org-agenda-mode-map): Bind the new commands to M-<down> and
2134         M-<up> respectively.
2136         * org.el (org-insert-heading): Fix insertion of items.
2138         * org-capture.el (org-capture-use-agenda-date): Fix docstring.
2140         * org-agenda.el (org-agenda-bulk-toggle): Fix docstring.
2141         (org-agenda-bulk-toggle-all): New command.
2142         (org-agenda-mode-map): Bind `org-agenda-bulk-toggle' to `M-m'
2143         and `org-agenda-bulk-toggle-all' to `M-*'.
2144         (org-agenda-menu): Add `org-agenda-bulk-toggle' and
2145         `org-agenda-bulk-toggle-all'.
2146         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Jump to the
2147         next headline, not the next line.
2149         * org-capture.el (org-mks): Fix bug: let-bind `case-fold-search'
2150         to nil while matching the first letter of a multi-letters
2151         template.
2153         * org.el (org-store-link): When a bracket link is found in a
2154         headline, use the link description or the link path.
2155         (org-flag-drawer, org-hide-block-toggle)
2156         (org-goto-left, org-goto-right, org-promote)
2157         (org-paste-subtree, org-narrow-to-block, org-sort-entries)
2158         (org-insert-link, org-offer-links-in-entry, org-open-file)
2159         (org-refile, org-refile-get-location)
2160         (org-refile-check-position, org-prepare-dblock, org-todo)
2161         (org-auto-repeat-maybe, org-show-todo-tree, org-sparse-tree)
2162         (org-occur, org-priority, org-scan-tags)
2163         (org-get-tags-string, org-property-action, org-set-effort)
2164         (org-entry-put, org-insert-drawer)
2165         (org-compute-property-at-point)
2166         (org-property-next-allowed-value, org-evaluate-time-range)
2167         (org-closest-date, org-timestamp-change)
2168         (org-revert-all-org-buffers, org-cycle-agenda-files)
2169         (org-agenda-file-to-front, org-remove-file)
2170         (org-preview-latex-fragment, org-format-latex)
2171         (org-create-math-formula, org-create-formula-image)
2172         (org-speed-command-help, org-check-before-invisible-edit)
2173         (org-modifier-cursor-error, org-hidden-tree-error)
2174         (org-mark-subtree, org-kill-line, org-first-sibling-p)
2175         (org-up-element, org-down-element)
2176         (org-drag-element-backward, org-drag-element-forward)
2177         (org-unindent-buffer, org-speedbar-set-agenda-restriction):
2178         Use `user-error' instead of `error'.
2180         * ox-latex.el (latex): Don't force exporting with smart quotes.
2182         * ox.el (org-export-with-smart-quotes): Mention the need to use
2183         the relevant Babel package when setting this option to non-nil.
2185         * org-src.el (org-edit-src-turn-on-auto-save): New option.
2186         (org-edit-src-code): Use it.
2187         (org-edit-src-auto-save-idle-delay): Enhance docstring.
2189         * org-capture.el (org-mks): Make cursor invisible.
2191         * org.el (org-link-expand-abbrev): Save match data before before
2192         calling the replacement function.
2194         * org-list.el (org-sort-list): Don't move point when matching time
2195         values.
2197         * org.el (org-shifttab): Show the correct number of empty
2198         headlines when called with a numeric prefix argument.
2199         Enhance docstring.
2200         (org-uniquify): Use `copy-sequence'.
2201         (org-adaptive-fill-function, org-fill-paragraph): Throw a useful
2202         error message when parse an element fails in the current buffer.
2204         * ox.el (org-export-with-planning): Enhance docstring.
2206         * org.el (org-closed-keep-when-no-todo): New option.
2207         (org-todo): Use the new option.
2208         (org-open-line): Rename from `org-ctrl-o'.
2209         (org-mode-map): Use `remap'.
2210         (org-cycle-emulate-tab, org-file-apps)
2211         (org-set-font-lock-defaults)
2212         (org-translate-link-from-planner, org-link-search)
2213         (org-refile-get-targets, org-read-date-get-relative):
2214         Minor code clean-up: fix dangling parentheses.
2216         * org-agenda.el (org-agenda-entry-text-mode): Also check against
2217         regexp filters.
2218         (org-timeline): Handle `org-agenda-show-log'.
2220         * org-clock.el (org-clock-select-task): Remove successive
2221         duplicates in the clock history to consider.
2223         * org.el (org-uniquify-alist): Improve docstring.
2224         (org-make-tags-matcher, org-change-tag-in-region): Add buffer's
2225         tags to the tags completion table.
2226         (org-tags-expand): Prevent circular replacement of group tags.
2227         Tiny docstring formatting.
2228         (org-uniquify): Make a defsubst.  Use `delete-dups' instead of
2229         `add-to-list'.
2230         (org-todo): Also remove the CLOSED planning information when
2231         removing the TODO keyword.
2232         (org-forward-heading-same-level): Fix bug when forwarding
2233         to a hidden subtree of the same level.
2234         (org-tags-expand): Use word delimiters when building the tag
2235         search regexp.
2237         * org-clock.el (org-clock-insert-selection-line): Don't display
2238         the clockout time.
2240         * org.el (org-emphasis-regexp-components): Make a defvar.
2241         (org-emphasis-alist): New default value: don't set HTML tags.
2242         (org-emphasize, org-set-emph-re): Use the new value of
2243         `org-emphasis-alist'.
2245         * org-mobile.el (org-mobile-edit): Insert new headings at the end
2246         of the parent subtree.  Use `org-at-heading-p' instead of the
2247         obsolete `org-on-heading-p'.
2249         * org.el (org-insert-heading): When called from a list item and
2250         `org-insert-heading-respect-content' is non-nil, insert a heading,
2251         not an item.
2252         (org-insert-heading-respect-content): Fix docstring.
2253         (org-insert-heading): When in a non-empty non-headline line,
2254         convert the current line into a headline.
2256         * org-table.el (org-table-copy-down): Don't move cursor when
2257         getting the field.
2259         * ox-icalendar.el (org-icalendar-export-current-agenda): Do not
2260         evaluate babel code blocks.
2262         * ox-html.el (html): Add more options.
2264         * ox-publish.el (org-publish-project-alist): Add :with-planning in
2265         docstring.
2267         * ob-exp.el (org-babel-exp-src-block): Tiny docstring fix.
2269         * ox-icalendar.el (org-icalendar--combine-files): Fix typo.
2271         * org-mouse.el (org-mouse-agenda-context-menu): Fix a function's
2272         name.
2274         * ox.el (org-export-options-alist, org-export--skip-p):
2275         Use `:with-planning' instead of `:with-plannings', to keep in sync
2276         with the corresponding option's name.
2278         * ob-core.el (org-babel-confirm-evaluate): Fix typo in docstring.
2280         * org-agenda.el (org-agenda-undo, org-agenda)
2281         (org-agenda-append-agenda)
2282         (org-agenda-get-restriction-and-command, org-agenda-write)
2283         (org-agenda-clock-cancel)
2284         (org-agenda-diary-entry-in-org-file, org-agenda-diary-entry)
2285         (org-agenda-execute-calendar-command)
2286         (org-agenda-goto-calendar, org-agenda-convert-date)
2287         (org-agenda-bulk-mark, org-agenda-bulk-action)
2288         (org-agenda-show-the-flagging-note): Use `user-error' instead of
2289         `error'.
2291         * org-macs.el (org-with-remote-undo): Normalize argument names.
2293         * org.el (org-store-log-note): Fix `buffer-undo-list' when called
2294         after `org-agenda-todo'.
2295         (org-add-log-note): Minor formatting fix.
2297         * org-agenda.el (org-agenda-append-agenda): Set buffer read only.
2299         * org-clock.el (org-clock-select-task): Throw a user error when
2300         the clock history is empty.
2302         * org-table.el (org-table-get-remote-range): Fix docstring: use
2303         #+NAME instead of #+TBLNAME.
2305         * ob-ref.el: Use #+NAME instead of #+TBLNAME in comment.
2307         * ox-html.el (org-html-table-row-tags): Better example.
2309         * org-clock.el (org-clock-select-task): Fix window to buffer.
2310         Hide the cursor.
2311         (org-clock-insert-selection-line): Add the clock-out time.
2313         * ox-html.el (org-html-table-row-tags): Allow new dynamically
2314         bound value `row-number'.
2315         (org-html-table-row): Bind `row-number' to the number of the
2316         row (first row is 0).
2318         * org.el (org-minutes-to-clocksum-string): Round fractions of
2319         minutes.
2321         * ox-html.el (org-html-table-row-tags): Fix example in docstring.
2323         * org-agenda.el (org-agenda-span-to-ndays): Enhance docstring.
2324         (org-agenda-goto-date): Fix bug when going to a date in month
2325         view.
2326         (org-agenda-goto-date): Put the cursor on the agenda line with the
2327         selected date.
2328         (scheduled/deadline items with hour spec) then redo an agenda*.
2330         * org-clock.el (org-clock-resolve): Enhance the content of the
2331         help window.
2333         * org-footnote.el (org-footnote-auto-label): Minor docstring fix.
2335         * ox-odt.el (org-odt-link): Fix bug: convert & to &amp; in
2336         links.
2338         * ox-html.el (org-html-table-row): Dynamically bind
2339         `rowgroup-number', `start-rowgroup-p', `end-rowgroup-p',
2340         `top-row-p', `bottom-row-p'.
2341         (org-html-table-row-tags): Update docstring: tell what variables
2342         are dynamically bound.
2344         * org-src.el (org-edit-src-code): Don't set
2345         `buffer-auto-save-file-name' unless `auto-save-default' is
2346         non-nil.
2348         * ox.el (org-export-table-row-group): Fix typo in docstring.
2350         * org-table.el (orgtbl-apply-fmt): Enhance docstring.
2352         * org.el (org-file-contents): Make the message more prominent.
2354         * ox.el (org-export-replace-region-by): New function.
2356         * ox-texinfo.el (org-texinfo-convert-region-to-texinfo),
2357         * ox-md.el (org-md-convert-region-to-md),
2358         * ox-latex.el (org-latex-convert-region-to-latex),
2359         * ox-html.el (org-html-convert-region-to-html): New functions to
2360         replace the active region by its export into various backends.
2362         * org-faces.el (org-agenda-restriction-lock): Use less flashy
2363         colors.
2365         * org-agenda.el
2366         (org-agenda-restriction-lock-highlight-subtree): New option.
2367         (org-agenda-top-headline-filter): Rename from
2368         `org-agenda-top-headline-filter'.
2369         (org-find-top-headline): Rename from `org-find-top-category'.
2370         Add a docstring.
2371         (org-agenda-filtered-by-top-headline): Rename from
2372         `org-agenda-filtered-by-top-category'.
2373         (org-agenda-filter-by-top-headline): Rename from
2374         `org-agenda-filter-by-top-category'.  Fix docstring.
2375         (org-agenda-filter-top-headline-apply): Rename from
2376         `org-agenda-filter-top-category-apply'.  Fix docstring.
2377         (org-agenda-mode-map): Update binding.
2378         (org-agenda-get-todos): Set `todo-state' earlier so that we can
2379         skip false-positives in time.
2381         * org.el (org-get-todo-state): Add a docstring.
2382         (org-ctrl-o): New command to insert a new row in tables
2383         (like `M-S-<down>' does) and open a line elsewhere.
2384         (org-mode-map): Bind the new command to `C-o'.
2385         (org-set-regexps-and-options): Process tags from an external setup
2386         file.
2388         * org-agenda.el (org-agenda-dim-blocked-tasks): Enhance docstring.
2389         (org-agenda-finalize-entries): Conditionally apply limits so
2390         that we don't manipulate big lists uselessly.
2391         (org-agenda-limit-entries): Limit exclusively.  E.g., when
2392         limiting to a maximum of "2 tags", don't limit among tagged
2393         entries only, but limit among all entries.
2394         (org-agenda-limit-interactively): New command.
2395         (org-agenda-mode-map): Bind the new command to "~".
2396         (org-agenda-redo): Small fix: don't use `eval'.
2398         * org.el (org-ctrl-c-ctrl-c): Fix bug wrt updating checkboxes: the
2399         list beginning should be stored using a marker so that updating
2400         [%0] to [%50] will not throw an error.
2401         (org-babel-load-file): Move `org-babel-load-file' from
2402         ob-tangle.el to here so that it is correctly autoloaded by Emacs
2403         before Org is required.
2405         * org-mac-message.el: Delete.
2407         * org.el (org-modules): org-mac-message.el is not a core package
2408         anymore.
2410         * org-table.el (orgtbl-to-generic): Fix bug when exporting the
2411         cells of radio tables with 'hline.
2413         * org.el (org-speed-commands-default): Use ?s for
2414         `org-narrow-to-subtree'.
2416         * org-agenda.el (org-agenda-start-on-weekday): Fix typo.
2417         (org-agenda-start-day): Enhance docstring.
2419         * org-src.el (org-src-native-tab-command-maybe): Check that we are
2420         in a source code block.
2422         * org-mobile.el: Remove useless defvar.
2424         * org.el (org-indent-line): A line just below a line with a list
2425         item is now indented depending on the indentation of this list
2426         item.
2428         * org.el (org-options-keywords): Add #+TARGET.
2430         * org-clock.el (org-resolve-clocks-if-idle): Only try to resolve
2431         last clock if the clock buffer still exists.
2432         (org-clock-out, org-clock-cancel): Set markers to nil.
2434         * ox-org.el (org-org-publish-to-org):
2435         * ox-html.el (org-html-publish-to-html): Use the custom extension.
2437         * org.el (org-cycle-internal-local): Fix invalid search bound when
2438         `org-cycle-include-plain-lists' is set to 'integrate.
2440         * org.el (org-sparse-tree-default-date-type): Add an option for
2441         closed time-stamps.
2442         (org-sparse-tree): Allow to check against closed time-stamps.
2443         (org-re-timestamp): Handle closed time-stamps.
2444         (org-closed-in-range): Delete.
2446         * org-capture.el (org-capture-import-remember-templates):
2447         Take care of adding :jump-to-captured option if needed.
2449         * org.el (org-toggle-pretty-entities): Enhance messages.
2450         (org-raise-scripts): Handle scripts like "a_b^c".
2452         * org-capture.el (org-capture-templates): Document new option
2453         :jump-to-captured in the docstring.  Offer the complete list of
2454         options when customizing.
2455         (org-capture-finalize): Handle :jump-to-captured.
2457         * org.el (org-agenda-prepare-buffers): Fix bugs: don't let-bind
2458         `org-tag-alist' to nil and don't append duplicate tags to
2459         `org-tag-alist-for-agenda'.
2460         (org-store-link): Storing multiple links in the active region now
2461         requires a triple prefix argument.
2462         (org-store-link, org-link-search): Fix handling of links to #+NAME
2463         and #+TARGET keywords.
2465         * org-compat.el (org-ignore-region): Tiny docstring fix.
2467         * org-capture.el (org-capture): Don't store multiple links over
2468         lines in the active region.
2470         * ox-odt.el (org-odt-special-block): Don't wrap annotations into
2471         <text:p>...</text:p> at all.
2472         (org-odt--fix-annotations): New function.
2473         (org-odt--export-wrap): Use the new function to fix annotations
2474         insertion in content.xml.
2476         * org.el (org-mode-flyspell-verify): Require 'org-element so that
2477         `org-element-affiliated-keywords' is defined.
2479         * ox-odt.el (org-odt-special-block): Don't insert annotations
2480         using style "Text_20_body".
2482         * org.el (org-toggle-tags-groups): Correctly highlight group tags.
2483         (org-tags-expand): Expand tags as words, with characters ?@
2484         and ?_ being considered words constituents.
2485         (org-set-regexps-and-options): Don't read setup files from
2486         read-only buffers.
2487         (org-file-contents): When no-error is non-nil, throw a less
2488         intrusive message.
2490         * org-agenda.el (org-agenda-scheduled-leaders)
2491         (org-agenda-deadline-leaders): Re-align leaders to the left,
2492         back to a 11 characters width.
2494         * org.el (org-refile-cache-check-set): More informative message.
2496         * org-agenda.el (org-tags-view): Set the matcher after preparing
2497         the agenda, as `org-tag-groups-alist-for-agenda' might be needed.
2498         (org-agenda-filter-make-matcher): New parameter `filter' and
2499         `type'.  Handle group tags.
2500         (org-agenda-filter-expand-tags): New function.
2501         (org-agenda-filter-apply): Handle group tags.
2503         * org.el (org-blank-before-new-entry): Tiny docstring fix.
2504         (org-tag-alist-for-agenda): Add docstring.
2505         (org-tag-groups-alist-for-agenda): New global variable.
2506         (org-tag-groups-alist): New buffer-local variable.
2507         (org-tag-alist, org-tag-persistent-alist): Handle :grouptags.
2508         (org-group-tags): New option.
2509         (org-toggle-group-tags): New command.
2510         (org-mode-map): Bind `org-toggle-group-tags' to `C-c C-x q'.
2511         (org-set-regexps-and-options-for-tags): New function, factored
2512         out from `org-set-regexps-and-options'.
2513         (org-set-regexps-and-options): Don't handle tags, they are now
2514         handled separately by `org-set-regexps-and-options-for-tags'.
2515         (org-assign-fast-keys): Handle :grouptags.
2516         (org-mode): Use `org-set-regexps-and-options-for-tags' on top
2517         of `org-set-regexps-and-options'.
2518         (org-fontify-meta-lines-and-blocks-1): Fontify group tags.
2519         (org-make-tags-matcher): Expand group tags in the matcher.
2520         (org-tags-expand): New function.
2521         (org-tags-completion-function): Tiny code clean up.
2522         (org-set-current-tags-overlay): Add a docstring.
2523         (org-fast-tag-selection): Highlight group tags.
2524         (org-agenda-prepare-buffers): Set `org-tag-alist-for-agenda'
2525         and `org-tag-groups-alist-for-agenda'.  Don't uniquify
2526         `org-tag-alist-for-agenda' as we may need the grouping
2527         information for filtering in the agenda buffer.
2528         (org-uniquify-alist): New function.
2530         * org-pcomplete.el (pcomplete/org-mode/file-option/tags):
2531         Handle :grouptags.
2533         * org-faces.el (mode-line): New face for group tags.
2535         * ob-core.el (org-babel-hash-show-time): Tiny docstring
2536         enhancement.
2538         * org-element.el (org-element-paragraph-separate): Use new name
2539         `org-list-allow-alphabetical'.
2541         * org-list.el (org-list-allow-alphabetical): Rename from
2542         `org-alphabetical-lists'.
2543         (org-list-empty-line-terminates-plain-lists): Rename from
2544         `org-empty-line-terminates-plain-lists'.
2545         (org-checkbox-hierarchical-statistics): Rename from
2546         `org-hierarchical-checkbox-statistics'.
2548         * org.el (org-image-actual-width): Update docstring.
2549         (org-display-inline-images): Use the #+attr_html: :width syntax.
2550         (org-modules): Remove deleted libraries, add new ones.
2552         * ox-html.el (org-html-indent): Default to nil, as non-nil can
2553         break indentation of source code blocks.
2554         (org-html-link): Don't insert nil if there is no attributes.
2555         (org-html-link--inline-image): Use the correct syntax for image
2556         attributes.  Allow :width :height and :alt as predefined
2557         attributes for inline images.
2558         (org-html-link, org-html-table): Use the standard syntax---
2559         e.g. "#+attr_html: :options ..."--- to get attributes.
2561         * ox.el (org-export-table-cell-alignment): Treat an empty cell as
2562         a number if it follows a number.
2564         * ox.el (org-export-as): Allow user functions in
2565         `org-export-before-parsing-hook' to modify the point.
2567         * org.el (org-entry-add-to-multivalued-property): Add the new
2568         value by appending it at the end of the line.
2570         * org-table.el (orgtbl-to-generic): New parameter `backend' to
2571         export cells content using a specific backend.
2572         (orgtbl-to-latex, orgtbl-to-texinfo): Export cells to LaTeX
2573         and Texinfo before sending the table.
2575         * ox.el (org-export-define-backend)
2576         (org-export-define-derived-backend): Make defuns and update
2577         docstrings.
2579         * ox-texinfo.el (texinfo):
2580         * ox-org.el (org):
2581         * ox-odt.el (odt):
2582         * ox-md.el (md):
2583         * ox-man.el (man):
2584         * ox-latex.el (latex):
2585         * ox-icalendar.el (icalendar):
2586         * ox-html.el (html):
2587         * ox-beamer.el (beamer):
2588         * ox-ascii.el (ascii): Use `org-export-define-backend' and
2589         `org-export-define-derived-backend' as defuns, not macros.
2591         * org.el (org-set-regexps-and-options):
2592         Use `org-table-set-constants'.
2594         * org-table.el (org-table-set-constants): New function.
2595         (orgtbl-ctrl-c-ctrl-c): Use it.
2597         * org-pcomplete.el
2598         (pcomplete/org-mode/block-option/clocktable): Add parameters.
2600         * org.el (org-options-keywords): Remove "INFOJS_OPT": it is added
2601         through ox-html.el now.
2603         * org-agenda.el (org-agenda-redo): Set filters after agenda has
2604         been redone.
2606         * org.el (org-store-link): When there is an active region, store
2607         each line as a separate link.
2608         (org-insert-all-links): Use a default description when links
2609         do not have one already.
2611         * org-agenda.el (org-agenda-redo): Fix code typo.
2613         * org.el (org-link-display-format): Fix docstring.
2615         * ox-publish.el (org-publish-org-to)
2616         (org-publish-org-sitemap, org-publish-find-title)
2617         (org-publish-find-date)
2618         (org-publish-cache-file-needs-publishing):
2619         Set `org-inhibit-startup' to t when visiting files for
2620         publication.
2622         * ox-org.el (org-org-publish-to-org): Kill buffers not visited at
2623         publication time.
2625         * org.el (org-set-font-lock-defaults): Set font-lock keywords
2626         correctly for plain links.
2628         * ox-texinfo.el (org-texinfo-logfiles-extensions)
2629         (org-texinfo-remove-logfiles): New options.
2630         (org-texinfo-compile): Use the new options to remove files
2631         after compiling a Texinfo file.
2633         * ox-texinfo.el (org-texinfo-coding-system): New option.
2634         (org-texinfo-template): Add @documentlanguage and
2635         @documentencoding.
2636         (org-texinfo-headline): Add a space before tags.
2637         (org-texinfo-export-to-texinfo, org-texinfo-export-to-info):
2638         Use `org-texinfo-coding-system' as the coding system for
2639         exported buffers.
2640         (org-texinfo-publish-to-texinfo): New function.
2642         * ox-texinfo.el (org-texinfo-filename)
2643         (org-texinfo-info-process, org-texinfo-max-toc-depth)
2644         (org-texinfo--sanitize-menu): Docstrings tiny fixes.
2646         * org-agenda.el (org-agenda-dim-blocked-tasks): Only throw a
2647         message when called interactively.  Fix docstring position in the
2648         defun.
2650         * ox-html.el (org-html--build-meta-info): Fix setting of
2651         http-equiv="Content-Type".
2653         * org-agenda.el (org-agenda-mode-map): Use ?= for filtering by
2654         regexp and ?| for removing all filters.
2655         (org-agenda-filter-remove-all): New command.
2656         (org-agenda-filter-show-all-re): Rename from
2657         `org-agenda-filter-show-all-regexp'.
2658         (org-agenda-filter-by-regexp):
2659         Call `org-agenda-filter-show-all-re'.
2661         * org-list.el (org-insert-item): Don't ask for a definition term
2662         when insert an item in a description list.
2664         * org-agenda.el (org-agenda-Quit): Set `org-agenda-buffer' to nil.
2665         This prevents bugs when calling e.g., `org-diary' after quitting
2666         an agenda window.
2667         (org-agenda-entry-types): Move earlier in the file.
2668         (org-agenda-custom-commands-local-options, org-diary)
2669         (org-agenda-get-day-entries): Don't hardcode the default agenda
2670         entry types, use `org-agenda-entry-types'.
2671         (org-agenda-custom-commands): Fix default setting so that the
2672         customize interface does not complain about a mismatch.
2674         * org.el (org-export-backends): Add new backends.
2676         * ox-html.el (org-html-indent): New option.
2677         (org-html-use-unicode-chars): New option.
2678         (org-html-pretty-output): Delete.
2679         (org-html-final-function): Use the new options.
2681         * ox-html.el (org-html-link): Fix handling of abbreviated links
2682         which include a file: protocol.
2683         (org-html--build-postamble): Default to today's date.
2684         (org-html--build-meta-info): When #+DATE contains a time stamp,
2685         parse it as a RFC 822 time string, otherwise simply insert the
2686         date as a string.
2688         * ox.el (org-export--copy-to-kill-ring-p): New function.
2689         (org-export-copy-to-kill-ring): Use 'if-interactive as the
2690         default.
2691         (org-export-to-buffer, org-export-to-file):
2692         Use `org-export--copy-to-kill-ring-p' and fix docstrings.
2694         * ox-odt.el (org-odt-export-as-odf):
2695         Use `org-export--copy-to-kill-ring-p'.
2697         * org.el (org-set-font-lock-defaults): Fontify macros.
2699         * org-faces.el (org-macro): New face.
2701         * org.el (org-clone-subtree-with-time-shift): Only prompt for a
2702         time shift when the entry at point has a time stamp and when the
2703         command is called with a universal prefix argument.
2704         (org-execute-file-search-functions): Docstring fix.
2706         * org-compat.el (org-defvaralias): Fix declare form.
2708         * org-clock.el (org-clocktable-defaults): Add :mstart parameter.
2709         (org-clock-special-range): New argument mstart.
2710         (org-dblock-write:clocktable, org-dblock-write:clocktable)
2711         (org-clocktable-write-default, org-clocktable-steps)
2712         (org-clock-get-table-data): Handle the :mstart parameter.
2714         * org.el (org-map-entries): Use `save-window-excursion'.
2716         * org-compat.el (org-defvaralias): New compatibility function.
2718         * org-list.el (org-cycle-include-plain-lists): Also add to the
2719         'org-cycle customization group.
2720         (org-list-allow-alphabetical)
2721         (org-checkbox-hierarchical-statistics)
2722         (org-list-empty-line-terminates-plain-lists)
2723         (org-list-description-max-indent): Rename and add aliases to old
2724         names.
2726         * org-element.el (org-element-context): Prevent an error when
2727         getting the context of a table rule.
2729         * org.el (org-deadline-time-hour-regexp)
2730         (org-scheduled-time-hour-regexp): New buffer local variables.
2731         (org-set-regexps-and-options): Set the new variables.
2733         * org-agenda.el (org-agenda-custom-commands-local-options):
2734         Add :deadline* and :scheduled* to the list of possible agenda entry
2735         types.
2736         (org-agenda): Implement a new agenda type agenda* with :scheduled*
2737         and :deadline* replacing :scheduled and :deadline respectively in
2738         agenda entry types.  In such agenda, only scheduled and deadline
2739         items with a time specification [h]h:mm will be considered.
2740         (org-agenda-entry-types): Document the new agenda entry types
2741         :scheduled* and :deadline*.
2742         (org-agenda-list): New parameter `with-hour'.  Use :scheduled* and
2743         :deadline*.
2744         (org-agenda-get-day-entries): Handle :scheduled* and :deadline*.
2745         (org-agenda-get-deadlines, org-agenda-get-scheduled):
2746         New parameter `with-hour'.  Use `org-deadline-time-hour-regexp' or
2747         `org-scheduled-time-hour-regexp' as the search string if needed.
2748         (org-agenda-to-appt): Use :scheduled* and :deadline* by default,
2749         as other scheduled and deadline items don't have a time spec and
2750         cannot be turned into appointments.  Trim bracket links and use
2751         only the description as the appointment text.
2752         (org-agenda-get-restriction-and-command):
2753         Add default description for the agenda* view.
2754         (org-agenda-run-series): Handle agenda* views.
2756         * org-faces.el (org-agenda-filter-tags)
2757         (org-agenda-diary, org-agenda-calendar-event)
2758         (org-agenda-calendar-sexp): Minor code clean up.
2759         (org-agenda-filter-category): Docstring fix.
2760         (org-agenda-filter-category): New face.
2762         * org-agenda.el (org-agenda-local-vars):
2763         Add `org-agenda-re-filter-overlays' and `org-agenda-regexp-filter'.
2764         (org-agenda-mode-map): Use "|" for
2765         `org-agenda-filtered-by-regexp'.
2766         (org-agenda-re-filter-overlays): New variable.
2767         (org-agenda-mark-filtered-text):
2768         Use `org-agenda-re-filter-overlays'.
2769         (org-agenda-finalize, org-agenda-redo): Allow regexp filtering.
2770         (org-agenda-filter-by-category): Set `org-agenda-category-filter'
2771         here instead of within `org-agenda-apply-filter'.
2772         (org-agenda-regexp-filter): New variable.
2773         (org-agenda-filter-by-regexp): New function to filter agenda
2774         buffers by regexp.
2775         (org-agenda-filter-make-matcher): Make matcher for regexp filters.
2776         (org-agenda-filter-apply): Don't set `org-agenda-tag-filter' and
2777         `org-agenda-category-filter'.  Maybe apply regexp filter.
2778         (org-agenda-filter-hide-line): Add docstring.
2779         Hide regexp-filtered lines.
2780         (org-agenda-filter-show-all-tag, org-agenda-filter-show-all-cat):
2781         Add docstring.
2782         (org-agenda-filter-show-all-regexp): New function.
2783         (org-agenda-set-mode-name): Add regexp-filter information.
2784         (org-agenda-custom-commands-local-options): Add regexp filter.
2785         (org-agenda-regexp-filter-preset): New variable.
2786         (org-agenda-prepare): Use the new variable.
2788         * ox-odt.el (org-odt-code, org-odt-verbatim):
2789         Use `org-odt--encode-plain-text'.
2791         * ox-html.el (org-html-link): Minor code clean-up.
2793         * org.el (org-insert-heading): DTRT when in a narrowed region.
2795         * org-compat.el (org-buffer-narrowed-p): New compatibility
2796         function.
2798         * ox-html.el (org-html-format-inline-image): Fix missing string in
2799         formatting string.
2801         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
2802         New allowed value `repeated-after-deadline' which will prevent the
2803         display of scheduled items when repeated after the current
2804         deadline.
2805         (org-agenda-get-scheduled): Handle the new value.
2807         * org.el (org-time-string-to-absolute): Tiny docstring fix.
2809         * ox-html.el (org-html-style-default): New classes `footpara' and
2810         `footdef' for the footnotes paragraphs and definitions.
2811         (org-html-format-footnote-definition): Wrap the footnote
2812         definitions into their own div.
2813         (org-html-paragraph): Don't add extra <br/> after a paragraph in a
2814         footnote.
2815         (org-html-container-element, org-html-divs): Mention that
2816         org-info.js will not work when changing the defaults.
2818         * ox-md.el (md): Export underlined text as verbatim.
2820         * ox-html.el (org-html-style-default): New CSS .underline and
2821         #org-div-home-and-up.
2822         (org-html-text-markup-alist): Don't hardcode the style, use the
2823         new class .underline.
2824         (org-html-home/up-format): Don't hardcode the style, use
2825         #org-div-home-and-up.
2826         (org-html-center-block): Use the .center class.
2828         * ox-md.el (org-md-underline): New function.
2830         * org-agenda.el (org-sorting-choice): Fix default value.
2832         * ox-html.el (org-html-format-footnote-definition)
2833         (org-html-footnote-section): Don't wrap footnote definitions into
2834         tables.
2835         (org-html-paragraph): Add HTML style and class parameter when the
2836         paragraph is in a footnote definition.  Also allow to add an extra
2837         string after the paragraph.  Further parameters can be added for
2838         paragraphs in other environments.
2839         (org-html-template): Always include the title as <h1
2840         class="title"></h1>, even when there is no title, as org-info.js
2841         needs it.
2843         * org-element.el (org-element-map): Fix tiny typo in docstring.
2845         * org-agenda.el (org-agenda-day-view): Fix parameter's name.
2847         * ox-html.el (org-html-format-inline-image): Don't add superfluous
2848         <p></p> when there is an empty caption.
2850         * org-agenda.el (org-agenda-refile): Enhance docstring.  Allow to
2851         clear the refile cache with C-0 or C-u C-u C-u.
2853         * ox-md.el (org-md-export-as-markdown): Tiny docstring fix.  Fix a
2854         library keyword in the comment section.
2856         * org.el (org-toggle-item): Convert all normal lines as items when
2857         there is a region, and only convert the first line when called
2858         with a universal prefix argument.  This is consistent with the
2859         behavior of `org-toggle-heading'.
2860         (org-toggle-heading): When the region contains only normal lines,
2861         a universal prefix arg will only convert the first line.  This is
2862         more consistent with `org-toggle-item'.
2863         (orgstruct-setup): Add `org-ctrl-c-minus' and `org-ctrl-c-star'.
2864         (customize-package-emacs-version-alist):
2865         Update `customize-package-emacs-version-alist'.
2867         * ox-texinfo.el (org-export-texinfo)
2868         (org-texinfo-filename, org-texinfo-classes)
2869         (org-texinfo-format-headline-function)
2870         (org-texinfo-node-description-column)
2871         (org-texinfo-active-timestamp-format)
2872         (org-texinfo-link-with-unknown-path-format)
2873         (org-texinfo-tables-verbatim)
2874         (org-texinfo-table-scientific-notation)
2875         (org-texinfo-text-markup-alist)
2876         (org-texinfo-format-drawer-function)
2877         (org-texinfo-format-inlinetask-function)
2878         (org-texinfo-info-process):
2879         * ox-odt.el (org-odt-format-drawer-function)
2880         (org-odt-format-headline-function)
2881         (org-odt-format-inlinetask-function):
2882         * ox-md.el (org-export-md, org-md-headline-style): Fix :version
2883         and :package-version keywords.
2885         * org.el (org-time-clocksum-use-effort-durations): Don't set to t
2886         by default as it will change many clocktables out there.  Let the
2887         user decides whether she wants to turn this on.
2889         * org.el (org-agenda-inhibit-startup): Revert to nil as the default.
2891         * org-agenda.el (org-agenda-dim-blocked-tasks): Revert to t as the
2892         default.
2894         * ox-html.el (org-html-style-default): More cosmetic tweaks.
2895         (org-html-head-include-default-style): Minor docstring update.
2897         * ox.el (org-export-snippet-translation-alist)
2898         (org-export-coding-system, org-export-in-background)
2899         (org-export-async-init-file, org-export-invisible-backends)
2900         (org-export-dispatch-use-expert-ui):
2901         * ox-texinfo.el (org-texinfo-filename, org-texinfo-classes)
2902         (org-texinfo-format-headline-function)
2903         (org-texinfo-node-description-column)
2904         (org-texinfo-active-timestamp-format)
2905         (org-texinfo-link-with-unknown-path-format)
2906         (org-texinfo-tables-verbatim)
2907         (org-texinfo-table-scientific-notation)
2908         (org-texinfo-text-markup-alist)
2909         (org-texinfo-format-drawer-function)
2910         (org-texinfo-format-inlinetask-function)
2911         (org-texinfo-info-process):
2912         * ox-man.el (org-man-tables-centered)
2913         (org-man-table-scientific-notation)
2914         (org-man-source-highlight, org-man-source-highlight-langs)
2915         (org-man-pdf-process, org-man-logfiles-extensions):
2916         * ox-html.el (org-html-allow-name-attribute-in-anchors)
2917         (org-html-coding-system, org-html-divs):
2918         * ox-ascii.el (org-ascii-text-width)
2919         (org-ascii-headline-spacing, org-ascii-indented-line-width)
2920         (org-ascii-paragraph-spacing, org-ascii-charset)
2921         (org-ascii-underline, org-ascii-bullets)
2922         (org-ascii-links-to-notes)
2923         (org-ascii-table-keep-all-vertical-lines)
2924         (org-ascii-table-widen-columns)
2925         (org-ascii-table-use-ascii-art)
2926         (org-ascii-format-drawer-function)
2927         (org-ascii-format-inlinetask-function):
2928         * org.el (org-modules, org-export-backends)
2929         (org-highlight-latex-and-related, orgstruct-setup-hook):
2930         * org-attach.el (org-attach-git-annex-cutoff):
2931         * org-archive.el (org-archive-file-header-format):
2932         * org-agenda.el (org-agenda-todo-ignore-time-comparison-use-seconds):
2933         * ob-python.el (org-babel-python-hline-to)
2934         (org-babel-python-None-to):
2935         * ob-ditaa.el (org-ditaa-eps-jar-path):
2936         * ob-core.el (org-babel-results-keyword): Add :version and
2937         :package-version.
2939         * ox-ascii.el: Use utf-8-emacs as the file coding system.
2941         * org-capture.el (org-capture-templates, org-capture-string)
2942         (org-capture-steal-local-variables)
2943         (org-capture-empty-lines-before)
2944         (org-capture-empty-lines-after)
2945         (org-capture-insert-template-here)
2946         (org-capture-import-remember-templates): Fix or add docstring.
2948         * ox-html.el (org-html-style-default): Cosmetic changes.
2949         (org-html-postamble, org-html-preamble)
2950         (org-html-preamble-format): Update docstring.
2952         * org-agenda.el (org-agenda-format-date-aligned)
2953         (org-agenda-time-of-day-to-ampm-maybe)
2954         (org-scheduled-past-days)
2955         (org-agenda-normalize-custom-commands)
2956         (org-agenda-run-series, org-store-agenda-views): Fix or add
2957         docstring.
2959         * ox-latex.el:
2960         (org-latex-table-scientific-notation, org-latex-verse-block):
2961         Fix typos in docstrings.
2963         * ox-html.el (org-html-text-markup-alist)
2964         (org-html-pretty-output, org-html-link-org-files-as-html)
2965         (org-html-postamble, org-html-preamble)
2966         (org-html-format-inline-image, org-html-splice-attributes)
2967         (org-export-splice-style, org-html-htmlize-region-for-paste)
2968         (org-html-fix-class-name)
2969         (org-html-format-footnote-reference)
2970         (org-html-format-footnotes-section)
2971         (org-html-footnote-section, org-html--anchor)
2972         (org-html--todo, org-html--tags, org-html-format-headline)
2973         (org-html-toc, org-html-format-section, org-html-checkbox)
2974         (org-html-format-list-item, org-html-format-latex)
2975         (org-html-encode-plain-text)
2976         (org-html-table-first-row-data-cells)
2977         (org-html-table--table.el-table, org-html-final-function):
2978         Fix or add docstring.
2980         * org.el (org-insert-heading): If the current item has a checkbox,
2981         insert the new item with a checkbox.
2983         * org.el (org-insert-heading): Don't delete spaces in empty
2984         headlines.
2986         * ox-odt.el (org-odt-keyword): Fix typo.
2988         * ox-latex.el (org-latex-toc-command): Cosmetic docstring change.
2990         * ox-html.el (org-html-encode-plain-text): Fix typo in docstring.
2992         * org-faces.el (org-column): Update docstring.
2994         * org-colview.el: Update error message.
2996         * org.el (org-modules): Do not include org-mew.el, org-vm.el,
2997         org-w3m.el, org-wl.el as these files are now part of contrib/.
2999         * org-mew.el:
3000         * org-vm.el:
3001         * org-w3m.el:
3002         * org-wl.el: Delete (moved to Org's contrib/ directory.)
3004         * org-capture.el (org-mks): Move from org-mks.el.
3006         * org-mks.el: Delete.
3008         * ox-html.el (html): Update HTML options names.
3010         * org.el (org-show-context): Don't try to fix ellipsis when
3011         showing a subtree in agenda.
3013         * ox-html.el (html): Reintroduce #+HTML_HEAD_EXTRA, previously
3014         known as HTML_STYLE_EXTRA.
3015         (org-html-head): Enhance docstring.
3016         (org-html-head-extra): Reintroduce.  Was `org-html-style-extra'.
3017         (org-html--build-head): Rename from `org-html--build-head'.
3018         Add information from `org-html-head-extra'.
3019         (org-html-template): Use `org-html--build-head'.
3021         * ox-html.el (org-html-display-buffer-mode): Delete.
3022         (org-html-export-as-html): Use `set-auto-mode' instead of
3023         `org-html-display-buffer-mode'.
3025         * org-agenda.el (org-agenda-write): Overwrite file when called
3026         non-interactively.
3028         * org-mobile.el (org-mobile-edit): Workaround a
3029         `org-insert-heading-respect-content' bug which prevents correct
3030         insertion when point is invisible
3032         * org.el (org-previous-line-empty-p): New parameter to allow
3033         checking next line.  Add a docstring.
3034         (org-insert-heading): Handle two universal prefix arguments as
3035         advertised in the docstring.  Don't insert new lines when
3036         creating a heading after the first heading in the current
3037         subtree.
3038         (org-insert-heading-respect-content): New optional argument
3039         arg, passed to `org-insert-heading'.
3041         * org.el (org-mode): Remove syntax entries.
3042         Use `org-backward-element' and `org-forward-element' for
3043         `beginning-of-defun-function' and `end-of-defun-function': this
3044         allows using C-M-a and C-M-e before the first headline.
3046         * ox-html.el (html): Remove :html-htmlized-css-url :options-alist.
3048         * ox-org.el (org-org-htmlized-css-url): Rename from
3049         `org-html-htmlized-org-css-url' and moved here from ox-html.el.
3050         (org-org-publish-to-org): Handle :htmlized-source in
3051         publishing projects.
3053         * ox-html.el (org-html-style-default): Update docstring.
3054         (org-html-infojs-install-script, org-html--build-style):
3055         Update property names.
3056         (org-html-head-include-scripts)
3057         (org-html-head-include-default-style, org-html-head):
3058         Respectively rename from `org-html-style-include-scripts',
3059         `org-html-style-include-default' and `org-html-style', now
3060         obsolete.
3061         (org-html-style-extra): Delete.
3063         * org-clock.el (org-clock-out): Fix bug: if a closing note needs
3064         to be stored in the drawer where clocks are stored, let's
3065         temporarily remove `org-clock-remove-empty-clock-drawer' from
3066         `org-clock-out-hook'.
3068         * ob-tangle.el (org-babel-tangle): Remove unused attempt of
3069         prompting the user of the tangle file name since :tangle is always
3070         set.  Don't prompt for a tangle file name when called with two
3071         universal prefix arg outside of a src block.
3072         Use `org-babel-tangle-single-block'.
3073         (org-babel-tangle-single-block): New function.
3074         (org-babel-tangle-collect-blocks): Use the new function.
3076         * org-table.el (org-table-convert-region, org-table-export)
3077         (org-table-align, org-table-beginning-of-field)
3078         (org-table-copy-down, org-table-check-inside-data-field)
3079         (org-table-insert-column, org-table-find-dataline)
3080         (org-table-delete-column, org-table-move-column)
3081         (org-table-insert-row, org-table-insert-hline)
3082         (org-table-kill-row, org-table-paste-rectangle)
3083         (org-table-wrap-region, org-table-sum, org-table-get-formula)
3084         (org-table-get-formula, org-table-get-stored-formulas)
3085         (org-table-fix-formulas, org-table-maybe-eval-formula)
3086         (org-table-rotate-recalc-marks, org-table-eval-formula)
3087         (org-table-get-range, org-table-get-descriptor-line)
3088         (org-table-find-row-type, org-table-recalculate)
3089         (org-table-iterate, org-table-iterate-buffer-tables)
3090         (org-table-formula-handle-first/last-rc)
3091         (org-table-edit-formulas, org-table-fedit-shift-reference)
3092         (org-rematch-and-replace, org-table-shift-refpart)
3093         (org-table-fedit-finish, org-table-fedit-lisp-indent)
3094         (org-table-show-reference, org-table-show-reference)
3095         (org-table-show-reference, org-table-show-reference)
3096         (org-table-force-dataline, orgtbl-error, orgtbl-export)
3097         (orgtbl-send-replace-tbl, org-table-to-lisp)
3098         (orgtbl-send-table, orgtbl-send-table, orgtbl-send-table)
3099         (orgtbl-toggle-comment, orgtbl-insert-radio-table)
3100         (orgtbl-to-unicode, org-table-get-remote-range)
3101         (org-table-get-remote-range, org-table-copy-dow)
3102         (org-table-check-inside-data-field, org-table-insert-colum)
3103         (org-table-find-dataline, org-table-delete-colum)
3104         (org-table-move-column, org-table-insert-ro)
3105         (org-table-insert-hline, org-table-kill-ro)
3106         (org-table-paste-rectangle, org-table-wrap-regio)
3107         (org-table-sum, org-table-get-formul)
3108         (org-table-get-stored-formulas, org-table-fix-formula)
3109         (org-table-maybe-eval-formul, org-table-rotate-recalc-marks)
3110         (org-table-eval-formul, org-table-get-range)
3111         (org-table-get-descriptor-lin, org-table-find-row-type)
3112         (org-table-recalculat, org-table-iterate)
3113         (org-table-iterate-buffer-table)
3114         (org-table-formula-handle-first/last-r)
3115         (org-table-edit-formulas, org-table-fedit-shift-referenc)
3116         (org-rematch-and-replace, org-table-shift-refpar)
3117         (org-table-fedit-finish, org-table-fedit-lisp-inden)
3118         (org-table-show-reference, org-table-force-datalin)
3119         (orgtbl-error, orgtbl-export, orgtbl-send-replace-tb)
3120         (org-table-to-lisp, orgtbl-send-tabl, orgtbl-toggle-comment)
3121         (orgtbl-insert-radio-tabl, orgtbl-to-unicode)
3122         (org-table-get-remote-range): Use `user-error' instead of
3123         `error' for user errors.
3125         * ob-core.el (org-babel-load-in-session): Throw a useful error
3126         when there is no code block at point.
3128         * ob-tangle.el (org-babel-tangle): Rename the ONLY-THIS-BLOCK
3129         parameter to ARG.  Allow two universal prefix arguments to tangle
3130         by the target file of the block at point.
3131         (org-babel-tangle-collect-blocks): New parameter TANGLE-FILE
3132         to restrict the collection of blocks to those who will be
3133         tangled in TARGET-FILE.
3135         * org-src.el (org-edit-src-auto-save-idle-delay): Use a delay of 0
3136         by default (i.e., deactivate auto-saving.)
3137         (org-edit-src-code): Set `buffer-auto-save-file-name' for
3138         auto-saving with `auto-save-mode'.
3140         * org.el (org-deadline, org-schedule): When called with two
3141         universal prefix arguments, set the warning time or the delay
3142         relatively to the current timestamp, not to today's date.
3144         * org-agenda.el (org-agenda-filter-apply):
3145         Deactive `org-agenda-entry-text-mode' when filtering.
3146         (org-agenda-entry-text-mode): Don't allow in filtered views.
3147         Don't show the maximum number of lines when turning off.
3149         * ox-html.el (org-html-headline): Add comment.
3151         * org.el (org-mode): Set `paragraph-start'.
3153         * org-agenda.el (org-agenda-entry-text-leaders): New option.
3154         (org-agenda-entry-text-show-here): Use it.
3156         * ox-html.el (org-html-link--inline-image): Always retrieve
3157         attributes for inline images.
3158         (org-html-link): Fix trailing whitespace at the end of the opening
3159         <a ...> HTML tag.
3160         (org-html-headline): For headlines whose first element is a
3161         headline and not a section, pretend there is an empty section (as
3162         "") for the correct HTML div to be inserted.
3164         * org-agenda.el (org-agenda-collect-markers)
3165         (org-create-marker-find-array): Move to ox-icalendar.el.
3166         (org-agenda-marker-table, org-check-agenda-marker-table):
3167         Delete.
3169         * ox-icalendar.el (org-icalendar-create-uid): New parameter
3170         H-MARKERS to only update some headlines, not the whole file.
3171         (org-icalendar--combine-files): When exporting to an .ics file
3172         only add UID to the headlines shown in the agenda buffer.
3173         (org-agenda-collect-markers, org-create-marker-find-array):
3174         Move here.
3176         * org-agenda.el (org-agenda-write): Ask before overwriting an
3177         existing file.
3179         * org-pcomplete.el (pcomplete/org-mode/file-option/infojs_opt):
3180         Use `org-html-infojs-opts-table'.
3182         * ox-html.el (org-html-infojs-opts-table):
3183         (org-html-use-infojs, org-html-infojs-options)
3184         (org-html-infojs-template): Move from ox-jsinfo.el.  Rename using
3185         the org-html- prefix.
3186         (org-html-infojs-install-script): Move from ox-jsinfo.el.
3188         * ox-jsinfo.el: Delete.
3190         * ox-html.el (org-html-section): Fix indentation.
3191         (org-html-inner-template): Add the document title here, within the
3192         "content" class, as the org-info.js needs it.
3193         (org-html-template): Don't include the document's title here.
3194         (org-html-format-inlinetask-function): Remove wrong example.
3196         * ob-tangle.el (org-babel-tangle-collect-blocks): Don't collect
3197         blocks in commented out headings.
3199         * ox-latex.el (org-latex-logfiles-extensions)
3200         (org-latex-remove-logfiles): Improve docstrings.
3202         * org-capture.el (org-capture): Cosmetic fix.
3204         * org-protocol.el (org-protocol-create-for-org)
3205         (org-protocol-create): Small docstrings enhancements.
3207         * org-protocol.el (org-protocol-capture): Small docstring fix.
3209         * org.el (org-speed-command-activate): Only forbid in src code
3210         blocks.
3212         * org-indent.el
3213         (org-indent-add-properties): Bugfix: prevent negative value for
3214         `added-ind-per-lvl'.
3216         * org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
3217         `isearch-mode-end-hook' so that any isearch fixes the problem with
3218         ellipsis on the first line.
3219         (org-fix-ellipsis-at-bol): New defsubst.
3220         (org-show-context, org-isearch-end): Use it.
3222         * org-agenda.el (org-agenda-deadline-leaders): New formatting
3223         string for past deadlines.
3224         (org-agenda-scheduled-leaders): Small change.
3225         (org-agenda-get-deadlines): Use the new formatting string.
3227         * ob-lob.el (org-babel-lob-execute): Rename cache? to cache-p.
3229         * org.el (org-speed-command-activate): Don't activate speed
3230         commands within blocks.
3232         * org.el (org-show-context): Remove useless catch.  Make sure the
3233         top of the window is a visible headline.
3234         (org-activate-plain-links): Remove unused catch.
3236         * org-macs.el (org-get-alist-option): Return nil, not (nil), so
3237         that `org-show-context' DTRT.
3239         * org.el (org-imenu-get-tree): Fix bug when matching against empty
3240         headlines.
3241         (org-overview): Stay on current line.
3242         (org-map-entries): Fix docstring.
3244         * org-macs.el (org-unmodified): Update comment.  Don't define
3245         `with-silent-modifications' for emacsen that don't have it.
3247         * org-compat.el (org-with-silent-modifications):
3248         New compatibility macro.
3250         * org.el (org-refresh-category-properties)
3251         (org-refresh-properties, org-entry-blocked-p)
3252         (org-agenda-prepare-buffers):
3254         * org-indent.el (org-indent-remove-properties)
3255         (org-indent-add-properties):
3257         * org-colview.el (org-columns-display-here)
3258         (org-columns-remove-overlays, org-columns-quit)
3259         (org-columns-edit-value, org-columns-compute-all)
3260         (org-columns-compute, org-agenda-colview-compute):
3262         * org-clock.el (org-clock-sum): Use the compatibility macro
3263         `org-with-silent-modifications' instead of
3264         `with-silent-modifications'.
3266         * org.el (org-sort-remove-invisible): Remove emphasis markers.
3268         * org.el (org-sort-remove-invisible): Use defsust.  Do not only
3269         check against invisible links, truly returns the visible part of
3270         the string.
3271         (org-sort-remove-invisible): Add a docstring.
3272         (org-sort-entries): Remove hidden links when comparing entries.
3274         * org-list.el (org-sort-list): Remove hidden links when comparing
3275         list items.
3277         * ox-html.el (org-html-headline): Fix typo.
3278         (org-html-format-headline--wrap): Cosmetic change.
3280         * org.el (org-at-clock-log-p): Delete.
3282         * org-clock.el (org-at-clock-log-p): Move here.
3284         * ox-html.el (org-html-format-headline-function): Fix docstring.
3286         * ob-sql.el (org-babel-execute:sql): Add header row delimiter for
3287         both mysql and postgresql.
3289         * org.el (org-agenda-prepare-buffers): Don't use
3290         `with-silent-modifications' too early.
3292         * org-macs.el: Add a comment on when to use `org-unmodified' and
3293         when to use `with-silent-modifications'.
3295         * org-colview.el (org-columns-display-here)
3296         (org-columns-remove-overlays, org-columns-quit)
3297         (org-columns-edit-value, org-columns-compute-all)
3298         (org-columns-compute, org-agenda-colview-compute):
3299         * org-clock.el (org-clock-sum):
3300         * org.el (org-refresh-category-properties)
3301         (org-refresh-properties, org-entry-blocked-p)
3302         (org-agenda-prepare-buffers): Use `with-silent-modifications'
3303         instead of `org-unmodified'.
3305         * ox-publish.el (org-publish-sitemap-date-format): Small docstring
3306         enhancement.
3308         * ox-latex.el (org-latex-format-headline-default-function):
3309         New option.
3310         (org-latex-format-headline-function): Use the new option as
3311         the default value.
3312         (org-latex-toc-command): Don't add vertical space after the table
3313         of contents.
3315         * org.el (org-entry-blocked-p): Use `org-unmodified' instead of
3316         `org-with-buffer-modified-unmodified'.
3317         (org-agenda-prepare-buffers): Fix indentation.
3319         * org-macs.el (org-unmodified): Rename from
3320         `org-with-buffer-modified-unmodified'.
3321         (org-with-buffer-modified-unmodified): Delete.
3323         * ob-python.el (org-babel-python-command): Use a defcustom.
3324         (org-babel-python-mode): Use a defcustom and default to
3325         'python-mode when featured.
3327         * org-agenda.el (org-agenda-start-day): Refer to `org-read-date'
3328         in the docstring.
3330         * ox-org.el (org-org-publish-to-org): Autoload.
3332         * org-protocol.el:
3333         * org-bibtex.el: Remove remember support.
3335         * org-clock.el (org-clock-heading-for-remember): Delete.
3336         (org-clock-in): Do not set the heading for remember.
3338         * org.el (org-move-subtree-down, org-forward-element)
3339         (org-backward-element):
3341         * org-table.el (org-table-previous-field)
3342         (org-table-move-column, org-table-move-row):
3344         * org-list.el (org-move-item-down, org-move-item-up)
3345         (org-cycle-item-indentation): Use `user-error' when moving or
3346         modifying the element at point is not possible.
3348         * ox-html.el (org-html-table-header-tags)
3349         (org-html-table-data-tags, org-html-table-row-tags)
3350         (org-html-table-align-individual-fields): Use the
3351         org-export-html group.
3352         (org-html-inline-src-block, org-html-link): Fix error messages.
3353         (org-html-begin-plain-list): Fix formatting, better FIXME
3354         comment.
3356         * org.el (org-fill-paragraph): Fill using
3357         `org-mode-transpose-word-syntax-table'.
3359         * ox-org.el (org-org-publish-to-org): New defun.
3361         * ox-html.el (org-export-htmlize): Delete group.
3362         (org-html-htmlize-output-type)
3363         (org-html-htmlized-org-css-url)
3364         (org-html-htmlize-region-for-paste): Rename from
3365         org-export-htmlize-*.
3366         (org-html-htmlize-generate-css, org-html-fontify-code):
3367         Use the correct names.
3369         * org-compat.el (org-file-equal-p): New compatibility function.
3371         * ox.el (org-export-output-file-name): Use the new function.
3373         * org-clock.el (org-clock-set-current)
3374         (org-clock-delete-current): Delete.
3375         (org-clock-in, org-clock-out): Set and delete
3376         `org-clock-current-task'.  Minor code clean-up.
3378         * org-clock.el (org-clock-in, org-clock-in-last):
3379         Tell `org-current-time' to always return a past time.
3381         * org.el (org-current-time): New argument `past' to force
3382         returning a past time when rounding.
3384         * org-agenda.el (org-agenda-unmark-clocking-task): New function.
3385         (org-agenda-mark-clocking-task): Use it.
3386         (org-agenda-clock-in): Let the cursor where it is.
3387         (org-agenda-clock-out): Ditto.  Also remove the
3388         `org-agenda-clocking' overlay.
3390         * org-agenda.el (org-agenda-set-restriction-lock): Fix restriction
3391         so that it ends at the beginning of the next headline at the same
3392         level.
3394         * org.el (org-set-effort, org-property-next-allowed-value):
3395         When needed, update the current clock effort time.
3396         (org-next-link): New parameter `search-backward'.  Fix bug when at
3397         a link with no 'org-link face, e.g., in a DONE headline.  Throw a
3398         message instead of an error.
3399         (org-previous-link): Use `org-next-link'.
3401         * org-agenda.el (org-agenda-format-item): Only set the breadcrumbs
3402         when `org-prefix-has-breadcrumbs' is non-nil.
3404         * org.el (org-mode): Don't make characters from
3405         `org-emphasis-alist' word constituents.
3406         (org-mode-transpose-word-syntax-table): Rename from
3407         `org-syntax-table'.
3408         (org-transpose-words):
3409         Use `org-mode-transpose-word-syntax-table'.
3411         * ox.el (org-export--dispatch-ui)
3412         (org-export--dispatch-action): Use integers for control chars.
3414         * org-agenda.el (org-agenda-set-restriction-lock): Put the
3415         overlay until the end of the subtree, not the end of the
3416         headline.
3418         * org.el (org-entry-delete, org-delete-property): New optional
3419         arg delete-empty-drawer, a string, to delete any empty drawer
3420         with that name.
3421         (org-toggle-ordered-property): Delete the drawer "PROPERTIES"
3422         if empty.
3424         * org-src.el (org-src-mode-map, org-edit-src-code)
3425         (org-edit-fixed-width-region, org-edit-src-save): Use C-c C-k
3426         for `org-edit-src-abort'.
3428         * org.el (org-mode): Use org-unmodified during startup
3429         initialization for functions that may be inhibited.
3431         * org-table.el (org-table-align): Only set the window start
3432         when table alignment is performed in the selected window.
3434         * org-src.el (org-edit-src-auto-save-idle-delay): New option.
3435         (org-src-ask-before-returning-to-edit-buffer): Make a defcustom.
3436         (org-edit-src-code-timer): New timer variable.
3437         (org-edit-src-code): Run the timer.
3438         (org-edit-fixed-width-region): Enhance message.
3439         (org-edit-src-exit): Cancel the timer.
3440         (org-edit-src-save): Prevent saving when editing fixed-width
3441         buffer, exiting will save already.
3442         (org-edit-src-exit): Inconditionally kill the src/example
3443         editing buffer.
3445         * org-pcomplete.el (pcomplete/org-mode/file-option):
3446         Require 'org-element.  This fixes a bug about unbound variable
3447         `org-element-affiliated-keywords' when trying to complete a
3448         keyword before 'org-element was required.
3450         * org-list.el (org-list-bullet-string): Replace match when there
3451         is a match, otherwise just return the bullet.
3453         * org-src.el (org-src-mode-map): New binding C-c k to abort
3454         editing.
3455         (org-edit-src-code): Mention the keybinding to abort editing
3456         and go back to the correct position.
3457         (org-edit-src-abort): New command to abort editing.
3459         * ox-html.el (org-html--build-meta-info): Add a newline before
3460         the title meta information.
3462         * org.el (org-return-follows-link): Mention that this does not
3463         affect the behavior of RET in tables.
3465         * ox-html.el (org-html--build-mathjax-config): Only include
3466         MathJax configuration if the resulting HTML contains LaTeX
3467         fragments.
3469         * org.el (org-syntax-table, org-transpose-words): Delete.
3470         (org-mode): Syntactically Define {} and <> as parentheses.
3471         (org-drag-line-forward, org-drag-line-backward):
3472         New functions.
3473         (org-shiftmetaup, org-shiftmetadown): Fall back on the new
3474         functions instead of throwing an error.
3475         (org-make-org-heading-search-string): Don't use statistic or [x/y]
3476         cookies when creating a link.
3478         * ox-html.el (org-html-table): Append #+attr_html attributes.
3480         * org.el (org-emphasis-alist, org-protecting-blocks):
3481         * org-src.el (org-edit-src-find-region-and-lang):
3482         * org-list.el (org-list-forbidden-blocks):
3483         * org-footnote.el (org-footnote-forbidden-blocks):
3484         Remove references to the deleted DocBook exporter.
3486         * org.el (org-end-of-line): Don't throw an error outside elements.
3488         * ox-html.el (org-html-link): Don't throw an error if the value
3489         of the :ID: property has not been generated by uuidgen.
3491         * org-pcomplete.el (pcomplete/org-mode/file-option/x):
3492         Resurrect.  Use `org-default-options' to initialize completion
3493         fonctions for the most important keywords.
3495         * org-macs.el (org-default-options): Rename and adapt from
3496         `org-get-current-options'.
3498         * org.el (org-options-keywords): Add keywords.
3500         * ox-odt.el (org-odt-convert-read-params): Fix typo in prompt.
3502         * ox-latex.el (org-latex-horizontal-rule): Fix typo in docstring.
3504         * ox-html.el (org-html-display-buffer-mode): New option.
3505         (org-html-export-as-html): Use it.
3507         * ob-core.el (org-babel-insert-result): Fix bug when inserting
3508         an empty string as the result.
3510         * org.el (org-timestamp-change): New optional parameter
3511         `suppress-tmp-delay' to suppress temporary delay like "--2d".
3512         (org-auto-repeat-maybe): Suppress temporary delays.
3514         * org-agenda.el (org-agenda-get-scheduled): When the delay is
3515         of the form "--2d" and there is a repeater, ignore the delay
3516         for further repeated occurrences.
3518         * org-agenda.el (org-agenda-get-deadlines)
3519         (org-agenda-get-scheduled): Minor refactoring.
3521         * org.el (org-time-string-to-absolute): Tiny docstring enhancement.
3522         (org-edit-special): Don't allow to edit when buffer is read only.
3524         * ox-html.el (org-html-format-latex): Don't set `cache-relpath'
3525         and `cache-dir' when `processing-type' is 'mathjax.
3526         (org-html-format-latex): Fix conversion in non-file buffers.
3528         * org.el (org-speed-commands-default): Bind `B' and `F' to
3529         `org-previous-block' and `org-next-block'.
3530         (org-read-date-minibuffer-local-map): Use "!" instead of "?" to
3531         see today's diary as "?" is already bounded by Calendar.
3532         (org-read-date-minibuffer-local-map): Use "." to go to today's
3533         date.
3535         * ob-core.el (org-babel-next-src-block)
3536         (org-babel-previous-src-block): Rewrite using
3537         `org-next-block'.
3539         * org.el (org-next-block, org-previous-block): New navigation
3540         commands.
3541         (org-mode-map): Bind the new commands to C-c C-F and C-c C-B
3542         respectively.
3544         * org-agenda.el (org-agenda-write): Don't copy headlines' subtrees
3545         when writing to an .org file.
3547         * org.el (org-copy-subtree): New parameter `nosubtrees'.
3549         * org-agenda.el (org-agenda-write): Allow writing to an .org file.
3551         * org.el (org-paste-subtree): Fix typo in docstring.
3553         * org-agenda.el (org-agenda-get-todos)
3554         (org-agenda-get-timestamps): Use nil as `ts-date' for diary
3555         sexpressions.
3556         (org-agenda-get-todos): Skip diary sexps when trying to sort by
3557         timestamp.
3558         (org-agenda-max-entries, org-agenda-max-todos)
3559         (org-agenda-max-tags, org-agenda-max-effort): New options.
3560         (org-timeline, org-agenda-list, org-search-view)
3561         (org-todo-list, org-tags-view): Tell `org-agenda-finalize-entries'
3562         what agenda type we are currently finalizing for.
3563         (org-agenda-finalize-entries): Limit the number of entries
3564         depending on the new options.
3565         (org-agenda-limit-entries): New function.
3567         * org.el (org-deadline): Allow a double universal prefix argument
3568         to insert/update a warning cookie.
3569         (org-deadline): Allow a double universal prefix argument to
3570         insert/update a delay cookie.
3572         * org-agenda.el (org-agenda-skip-scheduled-delay-if-deadline):
3573         New option.  The structure of the possible values is copied
3574         from `org-agenda-skip-deadline-prewarning-if-scheduled'.
3575         (org-agenda-get-scheduled): Honor the two new option,
3576         `org-scheduled-delay-days' and
3577         `org-agenda-skip-deadline-prewarning-if-scheduled'.  I.e. if a
3578         scheduled entry has a delay cookie like "-2d" (similar to the
3579         prewarning cookie for deadline), don't show the entry until
3580         needed.
3582         * org.el (org-deadline-warning-days): Small docstring fix.
3583         (org-scheduled-delay-days): New option (see
3584         `org-deadline-warning-days'.)
3585         (org-get-wdays): Use the new option.
3587         * org-agenda.el (org-agenda-sorting-strategy): Document the
3588         new sorting strategies.
3589         (org-agenda-get-todos, org-agenda-get-timestamps)
3590         (org-agenda-get-deadlines, org-agenda-get-scheduled): Add a
3591         `ts-date' text property with scheduled, deadline or timetamp
3592         date.
3593         (org-cmp-ts): New function to compare timestamps.
3594         (org-em): Add a docstring.
3595         (org-entries-lessp): Use `org-cmp-ts' to compare timestamps.
3596         Implement the following sorting strategies: timestamp-up/down,
3597         scheduled-up/down, deadline-up/down, ts-up/down (for active
3598         timestamps) and tsia-up/down (for inactive timestamps.)
3600         * ob-lilypond.el (ly-process-basic): Bugfix, don't use `pcase'.
3602         * org.el (org-contextualize-validate-key): Check against two new
3603         context predicates [not-]in-buffer.
3605         * org-agenda.el (org-agenda-custom-commands-contexts):
3606         Document the new [not-]in-buffer context predicates.
3608         * ob-core.el (org-ts-regexp): Remove duplicate defconst'ing.
3609         (org-babel-result-regexp): Don't use `org-ts-regexp', use a regexp
3610         string directly.
3612         * ob-lilypond.el (ly-process-basic): Don't use `ly-gen-png' and
3613         friends, rely on the extension of the output file.
3615         * org-archive.el (org-archive-file-header-format): New option.
3616         (org-archive-subtree): Use it.
3618         * ob-lilypond.el (ly-process-basic): Rely on ly-gen-png/pdf/eps to
3619         set the output type.
3621         * org.el (org-read-date-minibuffer-local-map): New variable.
3622         (org-read-date): Use it.
3623         (org-read-date-minibuffer-setup-hook): Mark as obsolete.
3624         (org-read-date): Bind `!' to `diary-view-entries' in order to
3625         check diary entries while setting an Org date.
3627         * org-agenda.el (org-diary): Only keep the descriptions of the
3628         links since Org links are not active in the diary buffer.
3630         * org-faces.el (org-priority): New face.
3632         * org.el (org-font-lock-add-priority-faces): Use the new face.
3634         * org-agenda.el (org-agenda-fontify-priorities): Use the
3635         org-priority face and add specific agenda face on top of it.
3637         * org-agenda.el (org-agenda-show-clocking-issues)
3638         (org-agenda-format-item): Let-bind
3639         `org-time-clocksum-use-effort-durations' to nil.
3641         * org.el (org-ctrl-c-ctrl-c): Only throw a message when using two
3642         universal prefix arguments on a list where all items are already
3643         in a transitory state.  Refine the error when the checkbox cannot
3644         be toggled.
3646         * org.el ("org-loaddefs.el"): Load org-loaddefs.el before
3647         requiring any org library.  Also use `load', not
3648         `org-load-noerror-mustsuffix'.
3649         (org-effort-durations): Move up to fix a compiler warning.
3650         (org-edit-special): Fix typo in docstring.
3651         (org-time-clocksum-format): Add a version tag and add to the
3652         'org-clock group.
3653         (org-time-clocksum-use-fractional): Ditto.
3654         (org-time-clocksum-use-effort-durations): New option to allow
3655         using `org-effort-durations' when computing clocksum durations.
3656         (org-minutes-to-clocksum-string): Use the new option.
3658         * org-clock.el (org-clocktable-write-default): Let-bind
3659         `org-time-clocksum-use-effort-durations' to a new clocktable
3660         parameter ":effort-durations".
3662         * org-entities.el (org-entities): "neg" should be used in LaTeX
3663         math mode.  Add the "neg" entity.
3665         * org-mobile.el (org-mobile-allpriorities): New option.
3666         (org-mobile-create-index-file): Use the new option.
3668         * org-latex.el (org-export-latex-inline-images): New option.
3670         * org.el (org-forward-heading-same-level): Before the first
3671         headline, go to the first headline.
3672         (org-backward-heading-same-level): Before the first headline,
3673         go to the beginning of the buffer, like
3674         `outline-previous-visible-heading' does.
3676         * org-exp.el (org-export-plist-vars): Don't use
3677         `org-export-html-inline-images' to set the :inline-images
3678         property, use distinct properties for the various backends.
3680         * org-publish.el (org-publish-project-alist): Ditto.
3682         * org-latex.el (org-export-latex-links): Use :latex-inline-images
3683         instead of :inline-images.
3685         * org-odt.el (org-compat): Require.
3687         * org.el (org-parse-time-string): Allow strings supported by
3688         tags/properties matcher (eg <now>, <yesterday>, <-7d>).
3690         * org-clock.el (org-clock-rounding-minutes): New option to round
3691         the time by N minutes in the past when clocking in or out.
3692         (org-clock-in, org-clock-in-last, org-clock-out): Use the new
3693         option.
3695         * org.el (org-current-time): New optional parameter
3696         `rounding-minutes' to override the use of
3697         `org-time-stamp-rounding-minutes' for rounding.
3699         * org-clock.el (org-clock-special-range): Small docstring fix.
3700         New parameter 'weekstart to define the week start day.
3701         (org-clock-special-range, org-dblock-write:clocktable)
3702         (org-dblock-write:clocktable, org-clocktable-write-default)
3703         (org-clocktable-steps, org-clock-get-table-data): Use the new
3704         parameter.
3705         (org-clocktable-defaults): Set monday as the starting day of the
3706         week by setting :wstart to 1.
3708         * org.el (org-store-link): Fix the naming of internal links to
3709         lines starting with a keyword.
3711         * org-agenda.el (org-agenda-Quit, org-agenda-quit)
3712         (org-agenda-exit, org-agenda-kill-all-agenda-buffers):
3713         Docstring fixes.
3715         * org.el (org-last-set-property-value): New variable.
3716         (org-read-property-name): Fix dangling parentheses.
3717         (org-set-property-and-value): New command to manually set
3718         both the property and the value.  A prefix arg will use the
3719         last property-value pair set without prompting the user.
3720         (org-set-property): Set `org-last-set-property-value'.
3721         (org-mode-map): Bind the new command to `C-c C-x P'.
3722         (org-find-invisible-foreground): Delete.
3723         (org-mode): Use `face-background' instead of
3724         `org-find-invisible-foreground'.
3725         (org-startup-options): New startup keywords.
3726         (org-log-into-drawer): Update docstring to explain how to set this
3727         variable through the startup keyword "logdrawer" and "nologdrawer".
3728         (org-log-states-order-reversed): Document the new startup keywords
3729         "logstatesreversed" and "nologstatesreversed".
3730         (org-mode-map): Use `org-remap' instead of binding `M-t' to
3731         `org-transpose-words' directly.
3732         (org-syntax-table): New variable.
3733         (org-transpose-words): New command, simply wrapping the new
3734         syntax table around `transpose-words'.
3735         (org-mode-map): Bind `org-transpose-words' to `M-t'.
3736         (org-store-link): Use keyword at point as the search string.
3737         Use `delq nil' instead of `delete nil'.
3738         (org-make-org-heading-search-string): Rewrite using
3739         org-element.el.  Not an interactive function anymore.
3741         * org-pcomplete.el (pcomplete/org-mode/drawer): Ditto.
3743         * org-mobile.el (org-mobile-files-alist): Ditto.
3745         * org.el (org-store-link): When creating a link to a heading with
3746         a bracket link, don't escape this link with curly braces as the
3747         escaped link is not active anyway; use the description instead.
3748         If the headline only consists of a bracket link, add a star to the
3749         description so that the user knows this is an internal link.
3751         * org-w3m.el (org-w3m-store-link): New function.
3753         * org.el (org-store-link): Update the error message when no method
3754         is available for storing a link.  Use `user-error' for this.
3755         Remove handling w3m links from this function.
3756         (org-insert-heading, org-insert-todo-heading): A double prefix arg
3757         force the insertion of the subtree at the end of the parent
3758         subtree.
3759         (org-store-link): A double prefix argument now skips module
3760         store-link functions to only use Org's core functions.  Also, when
3761         several modular store-link functions match, ask for which one to
3762         use.
3763         (org-cycle, org-cycle-internal-global)
3764         (org-cycle-internal-local, org-display-outline-path): Let-bind
3765         `message-log-max' to nil so that messages don't populate the
3766         *Messages* buffer.
3768         * org-table.el (org-table-eval-formula): Handle localized
3769         time-stamps by internally converting them to english during
3770         formulas evaluation.
3772         * org.el (org-clock-timestamps-up): Fix declarations.
3774         * ob-core.el (org-split-string): Declare function.
3776         * org-html.el (org-html-export-list-line): Add CSS classes to
3777         these list HTML tags: <ul> <dl> and <ol>.
3779         * org-clock.el (org-clock-timestamps-up)
3780         (org-clock-timestamps-down, org-clock-timestamps-change):
3781         Add an optional argument N to change timestamps by several units.
3783         * org.el (org-shiftcontrolup, org-shiftcontroldown): Ditto.
3785         * org-exp.el (org-export-copy-to-kill-ring): Add a new choice
3786         'if-interactive and use it as the default.
3787         (org-export-push-to-kill-ring): Use the new choice.
3789         * org.el (org-block-entry-blocking): New variable.
3790         (org-todo): Use it.  Also use `user-error' when a TODO state
3791         change is blocked.
3792         (org-block-todo-from-children-or-siblings-or-parent):
3793         Display `org-block-entry-blocking' in the user-error message.
3795         * org.el (org-get-cursor-date): New optional argument WITH-TIME to
3796         add the time of the day.
3798         * org-capture.el (org-capture): When capturing from the agenda and
3799         with a non-nil value for `org-capture-use-agenda-date', a `C-1'
3800         prefix will set the capture time to the HH:MM of the current line
3801         or the current HH:MM.
3803         * org-agenda.el (org-agenda-capture): New optional argument
3804         WITH-TIME: when set to 1, the capture time will be set to the
3805         HH:MM time of the current line, or the current HH:MM time.
3807         * org.el (org-latex-preview-ltxpng-directory): Fix docstring
3808         formatting.
3809         (org-deadline-close): Use `org-time-stamp-to-now'.
3810         (org-time-stamp-to-now): Use `org-float-time' instead of the
3811         obsolete `time-to-seconds' function.
3812         (org-format-outline-path): Fix bug: add the separator string after
3813         the prefix.
3814         (org-display-inline-images): Search for #+ATTR within the current
3815         paragraph.
3816         (org-days-to-time): Make obsolete.
3817         (org-time-stamp-to-now): Rename from `org-days-to-time'.
3818         Allow to compare time-stamps based on seconds.
3820         * org-agenda.el (org-agenda-todo-ignore-time-comparison-use-seconds):
3821         New option to compare time stamps using seconds, not days.
3822         (org-agenda-todo-custom-ignore-p)
3823         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3824         Use the new function's name and the new option.
3826         * org-clock.el (org-clock-sound): Enhance docstring.
3827         (org-notify): Use the parameter `play-sound' as argument for
3828         `org-clock-play-sound'.
3829         (org-clock-play-sound): New optional argument `clock-sound' to
3830         override `org-clock-sound'.
3832         * org-agenda.el (org-agenda-format-item): Fix initialization
3833         of the level text property.
3835         * org.el (org-format-outline-path): Small docstring
3836         enhancement.
3837         (org-display-outline-path): Fix order or arguments.
3839         * org.el (org-activate-plain-links)
3840         (org-activate-bracket-links): Add a new 'htmlize-link text
3841         property, so that htmlize (> version 1.42) can linkify the
3842         links.
3843         (org-display-outline-path): Allow a string value for the
3844         `as-string' parameter.  Such a value will replace the "/"
3845         separator in the output.  New argument `as-string'.
3846         (org-refile-keep): New variable.
3847         (org-copy): New command to copy notes.
3848         (org-refile): New parameter msg to override the "Refile" string in
3849         the default prompt.
3850         (org-mode-map): Bind "C-c M-w" to `org-copy'.
3851         (org-refile-get-location): Use the current file name as the
3852         default target when there is no refile history.
3853         (org-cycle-hide-inline-tasks): New function to hide inline tasks
3854         when cycling.
3855         (org-cycle-hook): Use the new function.
3856         (org-entry-put): Fix bug when updating the last clock.
3857         (org-use-last-clock-out-time-as-effective-time): New option.
3858         (org-current-effective-time): Use the new option.
3860         * org-clock.el (org-clock-get-last-clock-out-time):
3861         New function.
3863         * org.el (org-toggle-inline-images): Only send a message when
3864         called interactively.
3865         (org-scan-tags): Fix the declaration and the use of
3866         `org-agenda-format-item'.
3868         * org-agenda.el (org-agenda-add-time-grid-maybe): Use the
3869         correct number of parameters for `org-agenda-format-item'.
3870         Add a docstring.
3872         * org.el (org-outline-level): Go at the beginning of the
3873         headline first to always return a sensible result.
3875         * org-agenda.el (org-search-view, org-agenda-get-todos)
3876         (org-agenda-get-timestamps, org-agenda-get-sexps)
3877         (org-agenda-get-progress, org-agenda-get-deadlines)
3878         (org-agenda-get-scheduled, org-agenda-get-blocks): Return the
3879         correct level depending on `org-odd-levels-only'.
3880         (org-agenda-prefix-format): A new specifier `%l' allows to insert
3881         X spaces when the item is of level X.
3882         (org-search-view, org-get-entries-from-diary)
3883         (org-agenda-get-todos, org-agenda-get-timestamps)
3884         (org-agenda-get-sexps, org-agenda-get-progress)
3885         (org-agenda-get-deadlines, org-agenda-get-scheduled)
3886         (org-agenda-get-blocks, org-agenda-change-all-lines): Add a
3887         new text property 'level, a string with as many whitespaces as
3888         the level of the item.
3889         (org-agenda-format-item, org-compile-prefix-format):
3890         Handle the new `%l' specifier.
3892         * org-colview.el (org-columns-next-allowed-value): Add the
3893         CLOCKSUM property to the list of properties that can be
3894         changed interactively from the column view.
3896         * org.el (org-entry-put): Allow to set the CLOCKSUM property
3897         by updating the most recent clock.  This is useful in the
3898         column view when you want to use S-<left/right> to update the
3899         last clock of the entry at point.
3900         (org-image-actual-width): New choice: use #+ATTR* or fall back on
3901         a number.
3902         (org-display-inline-images): Implement the new choice.
3903         (org-image-actual-width): Rename from `org-image-fixed-width'.
3904         Update the docstring.  Give more choice.
3905         (org-display-inline-images): Use the option new choices.
3906         (org-image-fixed-width): New option to set a fixed width for
3907         inline images.
3908         (org-display-inline-images): Use the new option.
3910         * org-agenda.el (org-class): Allow to use holiday strings for
3911         the `skip-weeks' arguments.
3913         * org.el (org-mode): Set the syntax of the " character to "string
3914         quote".
3916         * org-agenda.el (org-agenda-append-agenda): Bugfix: correctly
3917         check whether we are in `org-agenda-mode'.
3918         (org-agenda): Set `org-agenda-buffer-name' correctly with sticky
3919         agendas and non-custom commands.
3921 2013-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
3923         * org-src.el (org-edit-src-exit): Let overlay survive after the
3924         buffer has been saved.
3926         * ox-texinfo.el (org-texinfo-export-to-texinfo): Use new style
3927         backquoting.
3928         (org-texinfo-export-to-info): Use new style backquoting.
3930         * ob-latex.el (org-babel-execute:latex): Call `file-name-sans-extension'
3931         instead of `file-base-name'.
3933         * org.el (org-insert-heading): Improve whitespace behavior at
3934         end of subtree.
3935         (org-latex-default-packages-alist): Add the `rotating' package to
3936         the list of default packages.  Improve docstring.
3937         (org-insert-property-drawer): Insert only after space in current
3938         line.
3939         (org-forward-paragraph, org-backward-paragraph): Do not deactivate
3940         the mark.
3941         (org-special-ctrl-o): New option.
3942         (org-open-line): Don't do anything special unless `org-special-ctrl-o'
3943         is non-nil.
3945         * org-agenda.el (org-agenda-custom-commands-local-options):
3946         (org-agenda-span, org-agenda-ndays-to-span)
3947         (org-agenda-span-to-ndays, org-agenda-list, org-agenda-later)
3948         (org-agenda-change-time-span, org-agenda-compute-starting-span):
3949         Add support for fortnight view.
3950         (org-agenda-menu): Add fortnight view command.
3951         (org-agenda-fortnight-view): New command.
3953         * org-timer.el (org-clock-sound): Silence compiler.
3955         * org.el (org-beginning-of-line, org-end-of-line):
3956         Bind deactivate-mark to avoid that this command deactivates it.
3957         (org-make-tags-matcher): Do not interpret / in property value as
3958         starter of TODO match.
3959         (org-overview): Preserve point.
3960         (org-read-date-minibuffer-local-map): Don't replace disputed keys
3961         when defining this keymap.
3962         (org-read-date): Remove unnecessary binding of
3963         `org-replace-disputed-keys'.
3964         (org-insert-heading): Allow to remove blank lines if the user does
3965         not want any.
3966         (org-unlogged-message): Fix typo in dostring.
3968         * ob-ruby.el: New customizations `org-babel-ruby-hline-to' and
3969         `org-babel-ruby-nil-to'
3970         (org-babel-ruby-var-to-ruby): Convert incoming 'hlines.
3971         (org-babel-ruby-table-or-string): Convert outgoing nils.
3973         * org.el (org-file-apps-defaults-gnu): Use `xdg-open' to open
3974         files where available.
3976         * org-table.el (orgtbl-radio-table-templates): Improve docstring.
3978         * org.el (org-unlogged-message): New function.
3979         (org-cycle, org-cycle-internal-global, org-cycle-internal-local)
3980         (org-global-cycle, org-display-outline-path):
3981         Use `org-unlogged-message'.
3983         * org-pcomplete.el (org-make-org-heading-search-string):
3984         Fix function declaration.
3985         (pcomplete/org-mode/searchhead): Remove incorrect second arguments
3986         to `org-make-org-heading-search-string'.
3988         * org.el (org-read-date): Turn off replacing disputed keys when
3989         defining the minibuffer keys during date selection.
3990         (org-insert-heading): Improve the empty line insertion behavior.
3991         Basically, never remove empty lines, only add them.
3993         * org-attach.el (org-attach-commit): Use vc-git to find the git
3994         repository.
3996         * org-compat.el (org-move-to-column): Turn off invisibility stuff
3997         for moving the cursor to a column.
3999         * org.el (org-modules): Update with the new module org-mac-link.
4000         (org-display-outline-path): Do not log outline path in Message
4001         buffer.
4002         (org-agenda-ignore-drawer-properties): New option.
4003         (org-agenda-prepare-buffers):
4004         Honour `org-agenda-ignore-drawer-properties'.
4006         * org-clock.el (org-clock-goto): Recenter to thrd line
4008         * org-table.el (orgtbl-send-replace-tbl): Allow multiple spaces
4009         between keywords in RECEIVE ORGTBL lines.
4011         * org.el (org-bookmark-names-plist): New user option.
4012         (org-set-regexps-and-options-for-tags): Use `org-bookmark-names-plist'.
4013         (org-refile): Use `org-bookmark-names-plist'.
4015         * org-capture.el (org-capture-bookmark-last-stored-position):
4016         Use `org-bookmark-names-plist'.
4018         * org.el (org-insert-heading): Rewritten from scratch.
4019         (org-N-empty-lines-before-current): New function
4020         (org-insert-heading-respect-content): Set the correct argument to
4021         force a heading even in lists.
4023         * org-colview.el (org-columns-display-here): Enforce fixed width
4024         font.
4026         * org-faces.el (org-column): Setting font width has been shifted
4027         to org-colview.el.
4029         * org.el (org-mode-flyspell-verify): Check for src block.
4031         * org-table.el (org-table-convert-region): Fix interactive
4032         statement.
4034         * org-ctags.el (org-ctags-path-to-ctags): Avoid usine `case'.
4036         * org.el (org-beginning-of-line, org-end-of-line):
4037         Set disable-point-adjustment when the command ends next to invisible
4038         text.
4040         * ob-lob.el (org-babel-lob-files): Fix custom type.
4042         * org-agenda.el (org-agenda-export-html-style, org-agenda-ndays)
4043         (org-agenda-inactive-leader, org-agenda-day-face-function)
4044         (org-agenda-auto-exclude-function): Fix custom type.
4046         * org-bibtex.el (org-bibtex-prefix): Fix custom type.
4048         * org-clock.el (org-clock-heading-function):
4049         (org-show-notification-handler): Fix custom type.
4051         * org-footnote.el (org-footnote-auto-adjust): Fix custom type.
4053         * org-protocol.el (org-protocol-default-template-key): Fix custom
4054         type.
4056         * org.el (org-make-link-description-function):
4057         (org-link-translation-function):
4058         (org-link-frame-setup):
4059         (org-refile-target-verify-function):
4060         (org-get-priority-function):
4061         (org-use-fast-tag-selection):
4062         (org-columns-modify-value-for-display-function):
4063         (org-sparse-tree-default-date-type):
4064         * ox-html.el (org-html-postamble):
4065         (org-html-postamble-format):
4066         (org-html-preamble-format):
4067         * ox-odt.el (org-odt-content-template-file):
4068         * ox.el (org-export-with-archived-trees):
4069         (org-export-initial-scope): Fix custom type.
4071         * org.el (org-insert-heading): Fix problem with inserting heading.
4072         Check for checkbox at the beginning of the item, not just at the
4073         beginning of the line.
4074         (org-small-year-to-year): Fix docstring typo.
4075         (org-show-siblings): By default, also show siblings from a
4076         bookmark jump.
4078         * org-agenda.el (org-agenda-set-restriction-lock): Highlight only
4079         the headline when agenda is restricted to a subtree.  Do not
4080         highlight the entire subtree.
4082         * org-table.el (org-table-eval-formula): Work-around for calc-eval
4083         regression.
4085         * ox.el (org-export-dispatch): Make sure the last position marker
4086         uses the base buffer if there is one.
4087         (org-export-dispatch-last-position): New variable.
4088         (org-export-dispatch): Save position of cursor at the moment when
4089         the export command is called.  Restore that position temporarily
4090         when repeating the previous export command.
4092         * org.el (org-insert-heading): Shrink whitespace at end of subtree
4093         when `org-insert-heading-respect-content' is on.
4095         * org-list.el (org-sort-list): Respect sorting-type and
4096         getkey-func when they are specified in the call.
4098         * org.el (org-sort-entries): Respect sorting-type and getkey-func
4099         when they are specified in the call.
4100         (org-format-outline-path): New argument SEPARATOR to specify a
4101         string that is inserted between parts of the outline path.
4102         (org-display-outline-path): New argument SEPARATOR, to specify a
4103         string that is inserted between parts of the outline path.
4105         * org-colview.el (org-dblock-write:columnview): Change the capture
4106         of pos to after inserting the original content
4108 2013-11-12  Christian Moe  <mail@christianmoe.com>
4110         * ox-odt.el (org-odt-line-break, org-odt-plain-text):
4111         Remove newline after line-break tag.
4113 2013-11-12  Christophe Junke  <christophe.junke@inria.fr>  (tiny change)
4115         * org.el (org-set-font-lock-defaults): Let footnote fontifications
4116         be done before other links' fontification.  This allows links
4117         appearing inside footnotes to be both visible and active.
4119 2013-11-12  Christopher Schmidt  <christopher@ch.ristopher.com>
4121         * org.el (orgstruct-setup): Major rewrite.
4122         (orgstruct++-mode): Overwrite local non-org vars again.
4123         (orgstruct-mode): Simplify implementation.  Emulate outline's
4124         buffer-invisiblity-spec.
4125         (orgstruct-heading-prefix-regexp): Change default value to nil.
4126         (orgstruct-error): Use `user-error' if available.
4127         {pro,de}motion commands if `orgstruct-heading-prefix-regexp' is
4128         non-nil.  Always use `org-outline-level'.  Bind org-shift*.
4129         (orgstruct-make-binding): Major rewrite.
4130         (org-cycle-global-status, org-cycle-subtree-status): Set state
4131         property.
4132         (org-heading-components): Use `org-heading-regexp' in
4133         orgstruct-mode.
4134         (orgstruct-heading-prefix-regexp, orgstruct-setup-hook):
4135         New options.
4136         (orgstruct-initialized): New variable.
4137         (org-get-local-variables): Honour state property.
4138         (org-run-like-in-org-mode): Use `let' instead of `progv'.  Do not
4139         override variables with non-default values.
4140         (org-forward-heading-same-level): Do not skip to headlines on
4141         another level.  Handle negative prefix argument correctly.
4142         (org-backward-heading-same-level):
4143         Use `org-forward-heading-same-level'.
4145 2013-11-12  Craig Tanis  <craig-tanis@utc.edu>  (tiny change)
4147         * ox-latex.el (org-latex-src-block): Change format string to position
4148         caption after figure content.
4150 2013-11-12  Eric Abrahamsen  <eric@ericabrahamsen.net>
4152         * org.el (org-ctrl-c-ctrl-c): `C-c C-c' on a link is usually a
4153         no-op.  If that link is in a headline, act as if the `C-c C-c' was
4154         called on the headline, not the link.
4156         * ox-html.el (org-html-doctype-alist): New variable holding an
4157         alist of (X)HTML doctypes
4158         (org-html-xhtml-p, org-html-html5-p, org-html-close-tag):
4159         New function.
4160         (org-html-html5-fancy): New export option, determining whether or
4161         not to use HTML5-specific elements.
4162         (org-html-html5-elements): New variable, new HTML5 elements.
4163         (org-html-special-block): Export special blocks to new HTML5
4164         elements.
4165         (org-html-format-inline-image): Use <figure> and <figcaption> for
4166         standalone images.
4167         (org-html-format-inline-image, org-html--build-meta-info)
4168         (org-html--build-head, org-html--build-pre/postable)
4169         (org-html-template, org-html-horizontal-rule)
4170         (org-html-format-list-item, org-html-line-break, org-html-table)
4171         (org-html-verse-block): Changes to allow flavored export.
4173         * ox-latex.el (org-latex--org-table, org-latex-table-row):
4174         Allow use of the "tabu" and "longtabu" table environments.  New table
4175         attribute :spread handles the width specification syntax of "tabu"
4176         and "longtabu" table environments.
4178 2013-11-12  Eric Schulte  <eric.schulte@gmx.com>
4180         * org-bibtex.el (org-bibtex-read-buffer): Reads all bibtex entries
4181         in a buffer.
4182         (org-bibtex-read-file): Read all bibtex entries in a file.
4183         (org-bibtex-import-from-file): Import all bibtex entries from a
4184         file into the current buffer.
4186         * ob-tangle.el (org-babel-load-file): When called with a prefix
4187         argument the tangled emacs-lisp file will be byte compiled.
4189         * ob-tangle.el (org-babel-tangle): Tangled files should not be
4190         writable.
4192         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Better about
4193         when to fully escape the results or just print them close to
4194         verbatim.
4196         * ob.el (org-babel-result-cond): This function should now be used
4197         by all language backends to handle the processing of raw code
4198         block output into scalar results, table results, or ignored
4199         results depending on the value of result-params.
4201         * ob-C.el (org-babel-C-execute): Use org-babel-result-cond.
4203         * ob-R.el (org-babel-R-evaluate-external-process)
4204         (org-babel-R-evaluate-session):
4205         * ob-awk.el (org-babel-execute:awk):
4206         * ob-clojure.el (org-babel-execute:clojure):
4207         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
4208         * ob-fortran.el (org-babel-execute:fortran):
4209         * ob-io.el (org-babel-io-evaluate):
4210         * ob-java.el (org-babel-execute:java):
4211         * ob-lisp.el (org-babel-execute:lisp):
4212         * ob-maxima.el (org-babel-execute:maxima):
4213         * ob-picolisp.el (org-babel-execute:picolisp):
4214         * ob-python.el (org-babel-python-evaluate-external-process):
4215         (org-babel-python-evaluate-session):
4216         * ob-scala.el (org-babel-scala-evaluate):
4217         * ob-sh.el (org-babel-sh-evaluate):
4218         * ob-shen.el (org-babel-execute:shen):
4219         * ob-sql.el (org-babel-execute:sql):
4220         * ob-sqlite.el (org-babel-execute:sqlite):
4221         Use `org-babel-result-cond'.
4223         * ob.el (org-babel-common-header-args-w-values): Add a new "none"
4224         header argument.
4225         (org-babel-execute-src-block): Don't do *any* result processing if
4226         the "none" header argument has been specified.
4227         (org-babel-sha1-hash): Remove the none header argument from header
4228         arg lists when calculating cache sums.
4229         (org-babel-insert-result): Flesh out some documentation.
4231         * ob.el (org-babel-insert-result): Don't escape results in
4232         drawers.
4234         * ob-python.el (org-babel-python-hline-to): Customize hline
4235         conversion to python.
4236         (org-babel-python-None-to): Customize none conversion from python.
4237         (org-babel-python-var-to-python): Use new variable.
4238         (org-babel-python-table-or-string): Use new variable.
4240         * org.el (org-babel-load-languages): Add ob-makefile to
4241         `org-babel-load-languages'.
4243         * ob-makefile.el: New file.
4245         * ob-sh.el (org-babel-sh-evaluate): Don't could 0-length shebangs.
4247         * org.el (org-format-latex): Simplify and now make use of the new
4248         `org-create-formula-image' function.
4249         (org-create-formula-image): Provides a simpler interface to the
4250         two backend-specific functions.
4252         * ob-core.el (org-babel-default-header-args): It is likely that
4253         someone meant to set :padlines to "yes", but accidentally set
4254         :padnewlines to "yes".  Either way lets just remove this which
4255         shouldn't have any functional effect.
4257         * ob-haskell.el (org-babel-default-header-args:haskell):
4258         Set :padlines to "no" by default.
4260         * ob-exp.el (org-babel-exp-non-block-elements): Ignore inline
4261         source block on #+ prefixed lines.
4263         * ob-core.el (org-babel-merge-params): Replace `remove-if' with
4264         `org-remove-if'.  More careful to check that the colname- and
4265         rowname-names header arguments exist during merge.  When merging
4266         parameters, if a variable is replaced with a new value, then
4267         delete colnames/rownames for the original value of that variable.
4269         * ob-ditaa.el (org-babel-ditaa-java-cmd): Make java executable
4270         configurable for ditaa blocks.
4272         * ob-sh.el (org-babel-sh-var-to-string): Fix bug in ob-sh when
4273         dealing with list variables.
4275         * ob-core.el (org-babel-demarcate-block):
4276         Include `org-src-lang-modes' in block demarcation options.
4278         * ob-C.el: Don't modify `org-babel-load-languages' from ob-*
4279         files.
4281         * ob-latex.el (org-babel-latex-htlatex): Set this variable to
4282         "htlatex" (or path to said) to enable svg generation from latex
4283         code blocks.
4284         (org-babel-latex-htlatex-packages): Libraries required for
4285         automatic svg generation.
4286         (org-babel-execute:latex): Generate SVG images directly from latex
4287         code blocks (assumes tikz).
4289         * ob-exp.el (org-babel-exp-non-block-elements): Use lob call name
4290         when exporting.
4292         * ob-scheme.el (org-babel-scheme-get-repl)
4293         (org-babel-scheme-make-session-name)
4294         (org-babel-scheme-execute-with-geiser, org-babel-execute:scheme):
4295         Fix whitespace and indentation.
4297         * ob-core.el (org-babel-set-current-result-hash): Update the
4298         match-string holding the hash data, and correct overlay
4299         maintenance.
4300         (org-babel-find-named-result): Call lines are not results.
4301         (org-babel-where-is-src-block-result): Don't implicitly name the
4302         results of call lines.
4303         (org-babel-exp-non-block-elements): There is now another element
4304         on the call line info list.
4306         * ob-lob.el (org-babel-lob-get-info): Return the name (if any) at
4307         the end of the info list.
4308         (org-babel-lob-execute): Pass the name through to execution.
4310         * ob-core.el (org-babel-execute-src-block): Ensure that the
4311         location is set before anything else is done.
4313         * ob-ref.el (org-babel-ref-parse): Evaluate Emacs Lisp values in
4314         header arguments at the location of the original code block.
4316         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Use new header
4317         arguments.
4319         * ob-core.el (org-babel-common-header-args-w-values): Mention new
4320         header arguments.
4321         (org-babel-expand-body:generic): Use new header arguments.
4322         (org-babel-read-result): More robust matching of examplized
4323         ranges.
4324         (org-babel-result-end): More robust matching of examplized ranges.
4326         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Gnuplot, close
4327         output terminal when opened.
4328         (org-babel-gnuplot-prefix): Customization variable prefix gnuplot
4329         code blocks.
4330         (org-babel-expand-body:gnuplot): Customization variable prefix
4331         gnuplot code blocks.
4333         * ob-core.el (org-babel-params-from-properties): Now returns a
4334         list of alists and does *not* call `org-babel-merge-params'.
4335         (org-babel-parse-src-block-match):
4336         (org-babel-parse-inline-src-block-match):
4337         * ob-exp.el (org-babel-exp-src-block):
4338         (org-babel-exp-non-block-elements):
4339         * ob-lob.el (org-babel-lob-execute): Handle new list of lists
4340         output of `org-babel-params-from-properties'.
4342         * ob-gnuplot.el (org-babel-header-args:gnuplot): Term is a gnuplot
4343         header argument.
4345         * ob-tangle.el (org-babel-tangle): Fix bug in tangle-file.
4346         Collect tangle modes, and only apply them to the file after all
4347         tangling has completed, including the post-tangle-hook.
4349         * ob-core.el (org-babel-read): Do not read #-prefix header-arg
4350         value as emacs lisp.
4352         * ob-core.el (org-babel-current-src-block-location):
4353         (org-babel-execute-src-block):
4354         * ob-exp.el (org-babel-exp-results):
4355         * ob-lob.el (org-babel-lob-execute):
4356         Rename `org-babel-current-exec-src-block-head' to
4357         `org-babel-current-src-block-location'.
4359         * ob-core.el (org-babel-common-header-args-w-values): Adding the
4360         new :tangle-mode header argument.
4361         (org-babel-read): Read values starting with a "#" character as
4362         emacs lisp.
4364         * ob-tangle.el (org-babel-tangle): Use the new :tangle-mode header
4365         argument.
4367         * org-pcomplete.el (pcomplete/org-mode/block-option/src): Use the
4368         new :tangle-mode header argument.
4370         * ob-exp.el (org-babel-exp-results): Save the code block location
4371         into `org-babel-current-exec-src-block-head' during export.
4373         * ob-comint.el (org-babel-comint-with-output): More robust edebug
4374         spec.
4376         * ob-lob.el (org-babel-lob-execute): Set the
4377         `org-babel-current-exec-src-block-head' variable when executing
4378         inline or lob style code.
4380         * ob-core.el (org-babel-execute-src-block):
4381         The `org-babel-current-exec-src-block-head' variable should point to
4382         the outermost code block.
4384         * org.el (org-some): An org-mode version of the cl some function.
4386         * ob-fortran.el (org-babel-fortran-var-to-fortran): More careful
4387         check if values are matrices.
4389         * org.el (org-every): An Org-mode version of the cl every
4390         function.
4392         * ob-tangle.el (org-babel-tangle-jump-to-org):
4393         Use `org-src-switch-to-buffer' to jump from src to org.  Use the
4394         existing `org-edit-src' functionality to jump back to the correct
4395         point in the code block in the original Org-mode buffer.
4397         * ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Only wrap
4398         gnuplot data values in " when necessary.  Replace missing values
4399         with blank space in gnuplot.
4400         (org-babel-expand-body:gnuplot):
4401         (org-babel-gnuplot-quote-timestamp-field): Fix indentation.
4402         (org-babel-header-args:gnuplot): Declare the.
4403         (org-babel-expand-body:gnuplot): Params is an alist not a plist.
4404         (org-babel-header-args:gnuplot): Declare gnuplot-specific header
4405         argument.
4406         (*org-babel-gnuplot-missing*): Dynamic variable used to hold the
4407         value of the missing header argument.
4408         (org-babel-gnuplot-process-vars): Wrap in local binding for
4409         missing value.
4410         (org-babel-gnuplot-quote-tsv-field): Replace missing value with
4411         the missing header argument value when present.
4413         * ob-org.el (org-babel-expand-body:org): Allow insertion of
4414         non-strings into Org code blocks.
4415         (org-babel-inline-result-wrap): New option controlling the
4416         wrapping of inline results.
4417         (org-babel-examplize-region): Use the new defcustom.
4419         * ox-beamer.el (org-beamer--format-frame): If contents is nil,
4420         then replace it with an empty string.
4422         * ob-core.el (org-babel-read): More restrictive elisp eval of
4423         header arguments.
4425         * ob-lob.el (org-babel-lob-execute): Include default elisp header
4426         args in call lines.
4428         * ob-core.el (org-babel-result-cond): Don't over-evaluate
4429         result-params in macro.
4431         * ob-ruby.el (org-babel-execute:ruby): Use `org-babel-result-cond'
4432         in Ruby code blocks.
4433         (org-babel-ruby-evaluate): Delay table processing.
4435         * ob-js.el (org-babel-execute:js): Use `org-babel-result-cond' in
4436         JavaScript code blocks.
4438         * ob-scheme.el (org-babel-execute:scheme):
4439         Use `org-babel-result-cond' in scheme code blocks.
4441         * ob-ocaml.el (org-babel-execute:ocaml):
4442         Use `org-babel-result-cond' in OCaml code blocks.
4444         * ob-haskell.el (org-babel-execute:haskell):
4445         Use `org-babel-result-cond' in Haskell code blocks.
4447         * ob-core.el (org-babel-result-cond): The "raw", "org" and
4448         "drawer" :results header argument values preclude table processing
4449         unless the "table" argument is given as well.
4450         (org-babel-execute-src-block): Make sure we process file results
4451         before they are passed to the post-processing code block, and not
4452         afterwards.  Tangles these two header arguments in the code, but
4453         makes for more intuitive behavior and enables important use cases.
4454         (org-babel-read): Read code block values with earmuffs as Emacs
4455         Lisp.
4456         (org-babel-common-header-args-w-values): Add :post to the list of
4457         header arguments.
4458         (org-babel-execute-src-block): Post process results when the :post
4459         header argument has been supplied.
4461         * ob-R.el (org-babel-R-initiate-session): Remove unnecessary
4462         save-excursion nested inside a save-window-excursion.
4464         * ob-core.el (org-babel-src-name-w-name-regexp): Update the regexp
4465         used to match code block names.
4466         (org-babel-get-src-block-info): Remove the code used to parse this
4467         alternate variable specification syntax.
4468         (org-babel-insert-result): Cycle tables for :results org and
4469         :results wrap.
4471         * ob-python.el (org-babel-python-initiate-session-by-key): Fix a
4472         bug pointed out by Gary Oberbrunner.
4473         (org-babel-python-initiate-session-by-key): Add "-i" to the python
4474         command on windows sessions.  Actually setting new session names.
4475         Pass Python buffer names to the new `run-python' command.
4476         (org-babel-python-with-earmufs): Add earmufs to a buffer name.
4477         (org-babel-python-without-earmufs): Remove earmufs from a buffer name.
4478         (org-babel-python-initiate-session-by-key): Set the buffer name in
4479         a way which is understandable by the new python.el
4480         (org-babel-python-buffers): Change the default python buffer name.
4482         * ob-core.el (org-babel-number-p): Don't interpret single "-" as a
4483         number.
4485         * ob-perl.el (org-babel-perl--var-to-perl): Print Perl variables
4486         with a format string.
4488         * ob-core.el (org-babel-where-is-src-block-result): Allow comments
4489         between code blocks and un-named results.
4491         * ob-sqlite.el (org-babel-sqlite-table-or-scalar): Don't read
4492         sqlite output as lisp.
4494         * ob-core.el (org-babel-check-confirm-evaluate): Refactoring.
4495         (org-babel-confirm-evaluate): Fix whitespaces.
4496         (org-babel-execute-src-block): A cond makes it more clear that we
4497         definitely do not execute without user confirmation.
4498         (org-babel-call-process-region-original): Fix line over 80 chars
4499         long.
4501         * ob-tangle.el (org-babel-tangle-collect-blocks): Update comment
4502         to reflect changed variable name.
4504         * ob-core.el (org-babel-expand-src-block): Return value of
4505         expanded code block on non-interactive calls.
4507         * ob-perl.el (org-babel-perl-var-wrap): Customizable wrapper for
4508         variables in perl code.
4509         (org-babel-perl-var-to-perl): Use said wrapper.
4511         * ob-sql.el (org-babel-execute:sql): Use the org-babel-eval
4512         command instead of shell-command.
4514         * ob-ocaml.el (org-babel-prep-session:ocaml): Check that
4515         `tuareg-run-caml' is defined before use.
4516         (tuareg-run-ocaml): Declare for compiler.
4518         * ob-core.el (org-babel-result-regexp): Simplify regexp given new
4519         time hash layout.
4520         (org-babel-current-result-hash): New match string.
4521         (org-babel-hide-hash): New match string.
4522         (org-babel-where-is-src-block-result): New match string, and
4523         insert hashes in the new format.
4525         * ob-core.el (org-ts-regexp): Declare.
4526         (org-babel-result-regexp): Now matching time stamp as well.
4527         (org-babel-hash-show-time): New variable controlling the display
4528         of time stamps.
4529         (org-babel-current-result-hash):
4530         (org-babel-hide-all-hashes):
4531         (org-babel-where-is-src-block-result): Use hash time stamps.
4533         * ob-core.el: New file.
4535         * org-macs.el: `org-load-noerror-mustsuffix' requires an autoload.
4537 2013-11-12  Feng Shu  <tumashu@gmail.com>
4539         * ox-odt.el (org-odt--translate-latex-fragments):
4540         * ox-html.el (org-html-latex-environment)
4541         (org-html-latex-fragment): Fix imagemagick support.
4543         * org.el (org-create-formula-image-with-imagemagick):
4544         Generate correct size formula image.
4545         (org-format-latex-header): Change pagestyle command position.
4547         * ox-latex.el (org-latex--caption/label-string): Allow to build a
4548         caption string from `:caption' attribute of #+ATTR_LATEX.
4550         * ox.el (org-export-dictionary): Add Simplified Chinese
4551         translations for `org-export-dictionary'.
4553 2013-11-12  Florian Beck  <fb@miszellen.de>  (tiny change)
4555         * org.el (org-activate-bracket-links): Remove escapes from the
4556         help string.
4558 2013-11-12  Francesco Pizzolante  <xxx@public.gmane.org>  (tiny change)
4560         * ox-html.el (org-html-headline): Normalize the construction of
4561         outline-container DIVs by always using the inner headline ID.
4563         * org.el (org-agenda-prepare-buffers): Protect with
4564         `org-unmodified'.
4566 2013-11-12  Gregor Kappler  <gregor@alcedo.(none)>  (tiny change)
4568         * ox.el (org-export-as): Make sure org-export-babel-evaluate is
4569         not nil before calling `org-export-execute-babel-code'.
4571 2013-11-12  Grégoire Jadi  <gregoire.jadi@gmail.com>
4573         * org.el (org-reftex-citation): Fix contrib package name in the
4574         docstring.
4575         (org-preview-latex-fragment, org-display-inline-images):
4576         Detect whether a graphic display is available before inlining images to
4577         prevent an error.
4578         (org-startup-with-latex-preview): New option.
4579         (org-startup-options): New startup keywords for the new option.
4580         (org-mode): Turn on/off LaTeX preview depending on the new option.
4581         (org-reverse-string): Add `org-reverse-string' to reverse a
4582         string.
4584         * org-id.el (org-id-new, org-id-decode):
4585         Replace `org-id-reverse-string' by `org-reverse-string'.
4587         * ob-core.el (org-babel-trim): Replace `org-babel-reverse-string'
4588         by `org-reverse-string' and declare it.
4590 2013-11-12  Gustav Wikström  <gustav.erik@gmail.com>  (tiny change)
4592         * org-agenda.el (org-agenda-filter-by-category): Display all
4593         filtered out categories.
4595 2013-11-12  Ilya Zonov  <izonov@gmail.com>  (tiny change)
4597         * org-mouse.el (org-mouse-context-menu): Add a correct newtext
4598         parameter for "All Set" and "All Clear" menu items.
4600 2013-11-12  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
4602         * org.el (org-insert-todo-heading-respect-content): Pass correct
4603         prefix arg to always insert heading.
4605         * org-agenda.el
4606         (org-agenda-propertize-selected-todo-keywords): New function to
4607         highlight the current agenda todo keywords depending on
4608         `org-todo-keyword-faces'.
4609         (org-todo-list): Use the new function.
4611 2013-11-12  Ippei FURUHASHI  <top.tuna+orgmode@gmail.com>
4613         * org-table.el (org-calc-current-TBLFM): New function to
4614         re-calculate the table by applying the #+TBLFM in the line where
4615         the point is.  Ensure to remove the currently inserted TBLFM line,
4616         when calling `org-table-recalculate' returns an error and the
4617         processing stops.
4619         * org.el (org-ctrl-c-ctrl-c): Call `org-calc-current-TBLFM' when
4620         point is in the #+TBLFM line.
4622         * org-table.el (org-TBLFM-begin): New function.
4623         (org-TBLFM-begin-regexp): New variable.
4625         * org.el (org-at-TBLFM-p): New function.
4626         (org-TBLFM-regexp): New defconst.
4628 2013-11-12  Ivan Vilata i Balaguer  <ivan@selidor.net>  (tiny change)
4630         * org-clock.el (org-clock-get-table-data): Pass tstart and tend
4631         time strings through `org-matcher-time' to allow relative times
4632         besides absolute ones, convert result to encoded time.
4634 2013-11-12  Jambunathan K  <kjambunathan@gmail.com>
4636         * ox-html.el (org-html-code, org-html-verbatim): Transcode value.
4637         (org-html--tags, org-html-format-headline)
4638         (org-html--format-toc-headline, org-html-checkbox)
4639         (org-html-table-cell, org-html-timestamp)
4640         (org-html-verse-block, org-html-special-string-regexps): Replace
4641         named HTML entities with their numeric counterparts.  This keeps
4642         Freemind backend happy.
4644         * org-odt.el (org-export-odt-schema-dir): Modify to accommodate
4645         change in rnc file names.
4647         * org-lparse.el (org-lparse-and-open)
4648         (org-lparse-do-convert): Open exported files with system-specific
4649         application.
4651         * org-odt.el: Don't meddle with `org-file-apps'.
4653 2013-11-12  Jarmo Hurri  <jarmo.hurri@syk.fi>
4655         * org-table.el (org-define-lookup-function): New macro.  Call it
4656         to generate new lookup functions `org-lookup-first',
4657         `org-lookup-last' and `org-lookup-all'.
4659         * org-gnus.el (org-gnus-no-server): New option to start Gnus using
4660         `gnus-no-server'.
4661         (org-gnus-no-new-news): Use the new option.
4663 2013-11-12  Jonas Hoersch  <coroa@online.de>  (tiny change)
4665         * org.el (org-cycle-hide-inline-tasks): Re-hide inline tasks when
4666         switching to 'children visibility state.
4668         * org-inlinetask.el (org-inlinetask-toggle-visibility): Don't use
4669         `org-show-entry' as it cannot unfold an inlinetask properly.
4671 2013-11-12  Jonathan Leech-Pepin  <jonathan.leechpepin@gmail.com>
4673         * ox-texinfo.el: New file.
4675 2013-11-12  Joost Diepenmaat  <joost@zeekat.nl>  (tiny change)
4677         * org.el (org-indent-region): BEGIN_SRC and END_SRC lines should
4678         not be considered part of the source block for the purposes of
4679         indentation.
4681 2013-11-12  Justus Piater  <justus-dev@piater.name>
4683         * org-agenda.el
4684         (org-agenda-skip-deadline-prewarning-if-scheduled): Add an option
4685         to skip the deadline prewarning if the scheduled date is in the
4686         future.
4688 2013-11-12  Kodi Arfer  <git@arfer.net>  (tiny change)
4690         * ox-html.el (org-html-toc): Use <nav> instead of <div> for the
4691         root element when appropriate.
4692         (org-html-paragraph): Wrap "Figure %d:" in <span
4693         class="figure-number">.
4694         (org-html-list-of-tables, org-html-table): Wrap "Table %d:" in
4695         <span class="table-number">.
4696         (org-html-list-of-listings): Wrap "Listing %d:" in
4697         <span class="listing-number">.
4698         (org-html-table): For HTML5, omit :html-table-attributes but not
4699         :id or :attr_html.
4700         (org-html--build-meta-info): Insert no timestamp when
4701         :time-stamp-file is nil.
4703 2013-11-12  Lawrence Mitchell  <wence@gmx.li>
4705         * ox-html.el (org-html-close-tag): Add space before attr.
4707         * ox.el (org-export-resolve-fuzzy-link): Look for fuzzy link in a
4708         cache before trying to resolve it in the parse tree.
4710 2013-11-12  Le Wang  <le.wang@agworld.com.au>
4712         * org-src.el (org-edit-src-code): Use marker with insertion type t
4713         to track end and remove hack requiring delete from beg to (1-
4714         end).
4716 2013-11-12  Max Mikhanosha  <max@openchat.com>
4718         * org-habit.el (org-habit-get-faces): Add show done days green
4719         option.
4721         * org-agenda.el (org-agenda-format-item): Ensure effort is "" when
4722         unset
4724 2013-11-12  Michael Brand  <michael.ch.brand@gmail.com>
4726         * org-table.el (org-table-eval-formula): Align the arrow pointing
4727         to the error in a Calc formula to the other fomula debugger logs.
4729         * org.el (org-link-escape-chars-browser): Add char double quote.
4730         (org-open-at-point): Use the constant
4731         `org-link-escape-chars-browser'.
4733         * org-table.el (org-table-get-remote-range): Extend regexp to
4734         match "#+NAME: table" additionally to "#+TBLNAME: table".
4736         * org-table.el (org-table-eval-formula): Use `keep-empty' in more
4737         places.  Keep empty fields during preprocessing.
4738         (org-table-make-reference): Use nan (not a number) for empty
4739         fields in Calc formulas.  A range with only empty fields should
4740         not always return 0 but also empty string, consistent with field
4741         reference of an empty field.  Use future design for nan but
4742         replicate current behavior.
4743         (org-table-number-regexp): Extend 0x hex to fixed-point number,
4744         add <radix>#<number>, add Calc infinite numbers uinf, -inf and
4745         inf.
4747 2013-11-12  Muchenxuan Tong  <demon386@gmail.com>  (tiny change)
4749         * org-mobile.el (org-mobile-push): Add `save-restriction'.
4751 2013-11-12  Nicolas Goaziou  <n.goaziou@gmail.com>
4753         * ox-latex.el (org-latex-compile): Remove all numbered temporary
4754         files after compiling.
4756         * org-element.el (org-element-headline-interpreter): Take into
4757         consideration `org-odd-levels-only' when building a headline.
4759         * ox-org.el (org-org-headline): Correctly set transcoded headline
4760         level during subtree export.
4762         * ox-html.el (org-html--format-toc-headline): TOC entries are
4763         closer to regular headline formatting.
4765         * org-element.el (org-element-context): Fix error when parsing
4766         affiliated keywords, e.g. "caption".
4768         * org.el (org-do-emphasis-faces): Look for verbatim status at
4769         correct location.
4770         (org-open-at-point): Check if link is non-nil before matching it.
4771         (org-export-insert-default-template): Make sure strings are
4772         properly quoted when inserting a template.  Specifically, default
4773         value for drawers should be d:(not "LOGBOOK"), not d:(not
4774         LOGBOOK).
4775         (org-insert-heading): Do not error out when inserting is to be
4776         done at one of the buffer's boundaries.
4778         * ox-latex.el (org-latex-listings-options): Use correct number of
4779         backslash characters in the example.
4781         * org-element.el (org-element-latex-or-entity-successor)
4782         (org-element-latex-fragment-parser): Use `org-latex-regexps'
4783         instead of `org-format-latex-options'.
4785         * ox-ascii.el:
4786         * ox-beamer.el:
4787         * ox-html.el:
4788         * ox-icalendar.el:
4789         * ox-md.el: Remove comments at the beginning of the file since
4790         the library is documented in Org manual.
4792         * org-element.el (org-element--list-struct):
4793         Use `org-match-string-no-properties'.  Fix block parsing in lists.
4795         * ox-publish.el (org-publish-all): Fix compilation problem.
4797         * org-element.el (org-element-timestamp-interpreter):
4798         Correctly interpret timestamps with delays.
4799         (org-element-timestamp-parser)
4800         (org-element-timestamp-interpreter): Parse warning delays.
4802         * ox-beamer.el (org-beamer--format-section): Fix regression which
4803         prevents frames from being propely exported.
4805         * ox.el (org-export-with-backend): Ensure function will use
4806         provided back-end.
4808         * org-list.el (org-list-allow-alphabetical): Remove reference to
4809         unused VALUE.
4811         * ox-beamer.el (org-beamer--format-section): Protect fragile
4812         commands in sections.
4814         * org.el (org-ctrl-c-ctrl-c): When using C-c C-c at an item with
4815         point on a link, make sure checkbox, if any, is toggled.
4817         * ox-beamer.el (org-beamer--format-block): Return an error message
4818         when using a special environment as a block type.  Also check for
4819         incomplete environment definitions.
4821         * org-element.el (org-element-at-point): If point is at the end of
4822         the buffer, and that buffer ends with a list, and there's no final
4823         newline, return last element in last item instead of plain list.
4824         Fix infloop when called on a blank line at the end of the buffer
4825         after a headline.
4827         * org.el (org-forward-paragraph, org-backward-paragraph):
4828         New functions.
4830         * org.el (org-meta-return): Allow M-RET to insert items within
4831         drawers.  Rewrite function.
4833         * org-element.el (org-element-footnote-definition-parser):
4834         Fix value for :contents-begin when first line of footnote definition
4835         is empty besides the label.
4836         (org-element-at-point): Return correct element when point is on a
4837         blank line just below a headline.
4838         (org-element-paragraph-parser):
4839         Use `org-match-string-no-properties'.  Small fixes to paragraph
4840         parsing.
4842         * org.el (org-adaptive-fill-function): Do not handle
4843         `adaptive-fill-regexp' in comments as the behavior is not
4844         satisfying.
4846         * org-list.el (org-list-struct-apply-struct): Do not move item's
4847         contents within a child above when repairing indentation.
4849         * ox-html.el (org-html--build-meta-info): Fix output of meta tags
4850         when properties are present.
4852         * ox.el (org-export-collect-headlines): Do not build TOC for
4853         headlines below H value.
4855         * org-element.el (org-element-context): Modify misleading
4856         comment.
4857         (org-element-text-markup-successor)
4858         (org-element-latex-or-entity-successor)
4859         (org-element-export-snippet-successor)
4860         (org-element-footnote-reference-successor)
4861         (org-element-inline-babel-call-successor)
4862         (org-element-inline-src-block-successor)
4863         (org-element-line-break-successor, org-element-link-successor)
4864         (org-element-plain-link-successor, org-element-macro-successor)
4865         (org-element-radio-target-successor)
4866         (org-element-statistics-cookie-successor)
4867         (org-element-sub/superscript-successor)
4868         (org-element-table-cell-successor, org-element-target-successor)
4869         (org-element-timestamp-successor): Remove LIMIT argument.
4870         (org-element--parse-objects, org-element--get-next-object-candidates):
4871         Apply signature change to successors.
4872         (org-element-context): Narrow buffer around object containers so
4873         parsing of objects when using this function is done under the same
4874         restrictions as in buffer parsing.
4876         * ox.el (org-export-table-cell-alignment): Ensure required
4877         variables are available.  Use correct :test.
4878         (org-export-table-cell-width): Modify key (now an element) and
4879         value structure (now a vector) of cache so it can use `eq' as
4880         test.  Elements are circular lists so `equal' cannot apply on them.
4882         * ox-publish.el (project-plist): Remove variable.
4884         * ox.el (org-export-to-buffer, org-export-to-file):
4885         Fix docstrings.
4887         * ox-org.el (org-export-as-org): Add missing BODY-ONLY argument,
4888         which is always nil in this back-end.
4890         * org.el (org-adaptive-fill-function): Look for a fill prefix at
4891         the beginning of the paragraph and subsquently on its second line
4892         instead of the current line.
4894         * ob-core.el (org-babel-get-src-block-info): Look for indentation
4895         value at the correct location.
4897         * ox.el (org-export-data-with-backend): Set temporary back-end as
4898         the new back-end in local communication channel.
4899         (org-export-filter-apply-functions): Handle corner case where
4900         back-end is nil.  Only provide back-end name (a symbol) as second
4901         argument of filters, not the full back-end (a vector).
4903         * ox-publish.el (org-publish-find-title): Fix title when no
4904         #+TITLE property is provided.
4906         * ox.el (org-export-store-default-title): Remove-function.
4907         (org-export--default-title): Remove variable.
4908         (org-export-options-alist): Do not use a default value.
4909         (org-export--get-buffer-attributes): Store a default title.
4910         (org-export-as): Apply function removal.
4911         (org-export--get-global-options): Do not set a property with an
4912         explicitly nil value.
4914         * ox-publish.el (org-publish-sitemap-sort-files)
4915         (org-publish-sitemap-sort-folders)
4916         (org-publish-sitemap-ignore-case, org-publish-sitemap-requested)
4917         (org-publish-sitemap-date-format)
4918         (org-publish-sitemap-file-entry-format): Set prefix to
4919         "org-publish-sitemap" instead of "org-sitemap".
4920         (org-publish-compare-directory-files)
4921         (org-publish-get-base-files-1, org-publish-projects)
4922         (org-publish-format-file-entry): Use new prefix.
4924         * org-clock.el (org-clock-total-time-cell-format)
4925         (org-clock-file-time-cell-format): Use correct type.
4927         * ob-haskell.el:
4928         * ox-ascii.el (org-ascii-export-as-ascii)
4929         (org-ascii-export-to-ascii):
4930         * ox-beamer.el (org-beamer-export-as-latex)
4931         (org-beamer-export-to-latex, org-beamer-export-to-pdf):
4932         * ox-html.el (org-html-export-as-html, org-html-export-to-html):
4933         * ox-icalendar.el (org-icalendar-export-to-ics):
4934         * ox-latex.el (org-latex-export-as-latex)
4935         (org-latex-export-to-pdf):
4936         * ox-man.el (org-man-export-to-man, org-man-export-to-pdf):
4937         * ox-md.el (org-md-export-as-markdown, org-md-export-to-markdown):
4938         * ox-odt.el (org-odt-export-to-odt):
4939         * ox-org.el (org-org-export-as-org, org-org-export-to-org):
4940         * ox-publish.el (org-publish-org-to):
4941         * ox-texinfo.el (org-texinfo-export-to-texinfo)
4942         (org-texinfo-export-to-info):
4943         * ox.el (org-export-to-buffer): Add two arguments: one to trigger
4944         asynchronous export and the other to do extra processing from
4945         within the buffer.
4946         (org-export-to-file): Add two arguments: one to trigger
4947         asynchronous export and the other to do extra processing on the
4948         output file.
4949         (org-export-async-start): Small clean up.
4951         * ox.el (org-export-as): Use new back-end structure.
4952         (org-export-current-backend): New variable.
4953         (org-export-as): Use new variable.
4955         * ox-ascii.el (org-ascii-table): Remove spurious new line between
4956         a table and the caption below.
4958         * ox.el (org-export-to-file): Preserve coding system when writing
4959         output.
4960         (org-export-stack-mode-map): Fix compilation error with Emacs <
4961         24.
4962         (org-export--dispatch-action): Maintain compatibility with Emacs
4963         23.
4965         * org.el (org-adaptive-fill-function, org-fill-paragraph):
4966         Add support for `adaptive-fill-regexp' in paragraphs and comments.
4967         (org-indent-line): Fix indentation after a list.
4969         * ox.el (org-export--get-inbuffer-options): Multiple options can
4970         now be set through the same buffer keyword.
4972         * org-element.el (org-element-plain-list-parser): Fix infloop when
4973         parsing a list at the end of buffer, if buffer doesn't end at a
4974         line beginning.
4975         (org-element-link-parser): Do not url-decode parsed links.
4977         * org-pcomplete.el (pcomplete/org-mode/file-option): Remove
4978         spurious white spaces, excepted for source blocks' opening string.
4979         Small refactoring.
4980         (pcomplete/org-mode/file-option): Remove spurious colons from
4981         block boundaries.
4983         * ox-publish.el (org-publish-find-date): Also return date for
4984         directories.
4985         (org-publish-get-base-files-1): Fix :recursive parameter ignoring
4986         extension restriction.
4988         * ox-beamer.el: Remove strange indentation in default header.
4989         (org-beamer-template): Fix missing newlines in header.
4991         * ox-latex.el (org-latex-template): Fix missing newlines in
4992         header.
4994         * ox.el (org-export-insert-default-template):
4995         Fix "wrong-type-argument" error in template insertion.
4997         * org.el (org-fill-paragraph): Use empty commented lines as
4998         separators when filling comments.  This mimics default behavior
4999         from "newcomment.el", which is not used in Org.
5001         * ox-html.el (org-html-link): Add image attributes to "img" tag,
5002         not to the "a" container.  Also fix spacing for attributes.
5004         * org.el (org-fill-paragraph): Do not mix consecutive comments
5005         when filling any of them.
5007         * ox-html.el (org-html-format-headline--wrap): Fix number of
5008         arguments when setting `org-html-format-headline-function'.
5010         * org-element.el (org-element-item-interpreter): This patch fixes
5011         "(wrong-type-argument arrayp nil)" error when trying to interpret
5012         empty items.  Correctly interpret back plain lists with "*" items.
5013         This fixes "This is not a list" error returned in this case.
5015         * ox-latex.el (org-latex-listings): Update docstring.
5017         * org-pcomplete.el (pcomplete/org-mode/file-option/options):
5018         Apply changes to export back-end definiton.
5020         * org.el (org-get-export-keywords): Apply changes to export
5021         back-end definiton.
5023         * ox-html.el (org-html--format-toc-headline): Make use of
5024         anonymous back-ends.
5026         * ox-odt.el (org-odt-footnote-reference): Make use of anonymous
5027         back-ends.
5028         (org-odt-format-label, org-odt-toc)
5029         (org-odt-format-headline--wrap): Use `org-export-with-backend'
5030         instead of `org-export-with-translations'.
5032         * ox.el (org-export--registered-backends): Rename from
5033         `org-export-registered-backends'.
5034         (org-export-invisible-backends): Remove variable.
5035         (org-export-get-backend, org-export-get-all-transcoders
5036         org-export-get-all-options, org-export-get-all-filters):
5037         New functions.  It replaces `org-export-backend-translate-table'.
5038         (org-export-barf-if-invalid-backend, org-export-derived-backend-p,
5039         org-export-define-backend, org-export-define-derived-backend):
5040         Rewrite functions using new representation.
5041         (org-export-backend-translate-table): Remove function.
5042         (org-export-get-environment): Use new function.
5043         (org-export--get-subtree-options, org-export--parse-option-keyword,
5044         org-export--get-inbuffer-options, org-export--get-global-options,
5045         org-export-to-buffer org-export-to-file, org-export-string-as
5046         org-export-replace-region-by): Update docstring.
5047         (org-export-data-with-translations): Remove function.
5048         Use `org-export-data-with-backend' with a temporary back-end instead.
5049         (org-export-data-with-backend, org-export-as): Reflect new definition
5050         for back-ends.
5051         (org-export--dispatch-action, org-export--dispatch-ui): Reflect new
5052         definition for back-ends and variable removal.  Refactoring.
5053         (org-export-filter-apply-functions): Call functions with
5054         current back-end's name, not full back-end.
5056         * org.el (org-export-backends, org-create-formula--latex-header):
5057         Use new structure and variables.
5059         * ox-html.el (org-html-inline-images): Change default value and
5060         remove `maybe'.
5061         (org-html-format-inline-image): Remove functions.
5062         (org-html--wrap-image, org-html--format-image)
5063         (org-html-inline-image-p): New functions.
5064         (org-html-latex-environment, org-html-latex-fragment): Use new
5065         functions.
5066         (org-html-standalone-image-p): Use new functions.  Also remove an
5067         unused optional argument.
5068         (org-html-link, org-html-paragraph): Correctly export hyperlinked
5069         images.
5071         * ox.el (org-export-dictionary): Update some translations.
5073         * ox-odt.el (org-odt-label-styles, org-odt-category-map-alist):
5074         Fix docstring.
5075         (org-odt-format-label): Add docstring.  Internationalize prefix.
5077         * ox.el (org-export-dictionary): Add entry for colons.
5079         * ox-odt.el (org-odt--suppress-some-translators): Remove function.
5081         * ox-html.el (org-html-link): Remove left-over binding.
5083         * ox-beamer.el (org-beamer-environments-extra): Allow to add raw
5084         title in environment definition.
5085         (org-beamer--format-block): Handle new placeholders.
5087         * ox-html.el (org-html-link): Small refactoring.
5089         * org-element.el (org-element--current-element):
5090         Fix org-meta-return error at the end of buffer.
5092         * ox-odt.el (org-odt-category-map-alist): Fix internationalization
5093         of "Table" and "Listing".
5095         * ox.el (org-export-dictionary): Remove useless dictionary
5096         entries.
5098         * ox-ascii.el (org-ascii--build-caption): Apply removal.
5100         * ox.el (org-export-dictionary): Add spanish and german
5101         translations.
5103         * ox-odt.el (org-odt-link): Fuzzy links to an headline with a
5104         description always use that description, even if the description
5105         is the same as the headline title.
5106         (org-odt-plain-text): Allow to turn smart quotes off.
5108         * ox-latex.el (org-latex--get-footnote-counter): Remove function.
5110         * org.el (org-setup-filling): Set `paragraph-start' and
5111         `paragraph-separate'.
5112         (org-fill-paragraph-separate-nobreak-p): Remove function.
5113         (org-mode): Do not set `paragraph-start'.
5115         * ox-html.el (html): Replace "HTML_HTML5_FANCY",
5116         "HTML_INCLUDE_STYLE" and "HTML_INCLUDE_SCRIPTS" with,
5117         respectively, ":html5-fancy", "html-style" and "html-scripts"
5118         options.
5119         (org-html-html5-fancy): Reformat docstring.
5120         (org-html-template): Fix typo preventing insertion of link up/link
5121         home anchors.
5123         * org.el (org-create-formula--latex-header): Replace AUTO with
5124         appropriate language when previewing snippets.
5126         * ox-latex.el (org-latex-item): Allow hyperref and footnotemark in
5127         items description tags.  Also remove a unnecessary hack allowing
5128         footnotemark with an optional argument in the tag.
5130         * ox.el (org-export-resolve-fuzzy-link): Fix link resolution when
5131         link lives before the first headline.
5133         * org-element.el (org-element-special-block-parser): Fix typo in
5134         regexp matching block type.  Also quote the type so it can contain
5135         special characters.
5137         * ox-latex.el (org-latex-pdf-process): This argument can cause
5138         problem with links with a relative path, since compilation happens
5139         in a different directory.
5141         * org.el (org-latex-default-packages-alist): Load "ulem" package
5142         by default.  Use "[normalem]" option to preserve \emph definition.
5144         * ox-latex.el (org-latex-text-markup-alist): Use "\uline" and
5145         "\sout" commands from "ulem" package.
5147         * org.el (org-latex-default-packages-alist): Document need for
5148         "soul" package.
5150         * ox-latex.el (org-latex-text-markup-alist): Use \ul (from "soul"
5151         package) instead of \underline for underline text.
5153         * ox.el (org-export-read-attribute): Fix "Wrong argument type"
5154         error when attributes start with :key "".
5156         * org.el (org-fill-paragraph-separate-nobreak-p)
5157         (org-fill-line-break-nobreak-p)
5158         (org-fill-paragraph-with-timestamp-nobreak-p): Fix docstrings.
5160         * org-element.el (org-element--list-struct): Fix failing
5161         "plain-list-parser" test.
5163         * ox-latex.el (org-latex-src-block): Handle :float attribute.
5164         Its value can be set to "t", "multicolumn" or "nil".  Also remove
5165         :long-listing attribute, which is now replaced with :float nil.
5166         (org-latex--org-table): Replace :float table with :float t.
5167         (org-latex--inline-image): Replace :float figure with :float t.
5168         (org-latex-long-listings): Remove variable.
5170         * org-element.el (org-element--list-struct): New function.
5171         (org-element-plain-list-parser, org-element--current-element):
5172         Use new function.
5174         * ox-man.el (org-man-compile):
5175         * ox-texinfo.el (org-texinfo-compile): Use appropriate argument.
5177         * ox-latex.el (org-latex-compile):
5178         * ox-man.el (org-man-compile):
5179         * ox-texinfo.el (org-texinfo-compile): Properly set working
5180         directory.
5182         * ox-latex.el (org-latex-compile):
5183         * ox-texinfo.el (org-texinfo-compile): Make sure generated file
5184         can be found by `file-exists-p'.
5186         * ox-md.el (md): Delegate underscore transcoding to HTML back-end.
5188         * org-element.el (org-element--remove-indentation):
5189         Small optimization.
5190         (org-element--remove-indentation): New function.
5191         (org-element-example-block-parser, org-element-src-block-parser):
5192         Use new function.
5193         (org-element-src-block-interpreter): Update function according to
5194         change.
5196         * ox.el (org-export-unravel-code): Do not remove any indentation
5197         since it now happens at the parser level.
5198         (org-export-table-cell-width): Be sure to use cache even when
5199         stored value is nil.
5200         (org-export--default-title): Fix "Symbol's value as variable is
5201         void: org-export--default-title".
5203         * ox-ascii.el (org-ascii--table-cell-width): Cache results of this
5204         internal function since it is called at each cell, though its
5205         value only change column wise.
5207         * ox.el (org-export-resolve-fuzzy-link): Change property name
5208         holding cache.
5209         (org-export-table-has-header-p, org-export-table-row-group)
5210         (org-export-table-cell-width, org-export-table-cell-alignment):
5211         Cache results.
5212         (org-export-table-cell-address): Refactor.
5213         (org-export-get-parent): Inline function.
5214         (org-export-options-alist): Change default value for :title
5215         property.
5216         (org-export--default-title): New dynamically scoped variable.
5217         (org-export-store-default-title): New function.
5218         (org-export--get-buffer-attributes): Remove title handling.
5219         (org-export--get-global-options): Revert "ox: Fix default title".
5220         Refactor code.
5222         * ox-html.el (org-html-format-latex): Provide a prefix for
5223         temporary file when using dvipng, even if the current buffer isn't
5224         associated to a file.
5226         * ox.el (org-export-resolve-radio-link): Ignore whitespace
5227         differences when resolving a radio link.
5228         (org-export-resolve-radio-link): Fix radio target resolution.
5230         * org-element.el (org-element--current-element): Be stricter when
5231         matching arguments in LaTeX environments.  In particular, do not
5232         allow anything else than options and arguments in the opening
5233         line.
5235         * ox-html.el (org-html-inner-template): Remove code relative to
5236         bibliography.
5237         (org-html-bibliography): Remove function.
5239         * ox-latex.el (org-latex-plain-text): Protect ^ char with \^{},
5240         not only \^, so it doesn't become a diacritic.
5242         * ox-html.el (org-html--build-meta-info): Fix code typo.
5244         * ox.el (org-export-expand-include-keyword): Avoid using `read' to
5245         determine file name.
5246         (org-export--get-global-options): Properly set default title,
5247         i.e. when to TITLE keyword is provided.
5249         * org-element.el (org-element--parse-elements): Also parse visible
5250         headlines within an otherwise compacted headline.
5252         * ox.el (org-export-expand-include-keyword): Tolerate included
5253         file names without double quotes.
5254         (org-export-resolve-fuzzy-link): Fix caching process.
5256         * ox-publish.el (org-publish-find-date): Fix "Invalid time
5257         specification" error with timestamps in DATE.
5259         * org-element.el (org-element--current-element): Allow the opening
5260         string of a LaTeX environment to contain additional arguments.
5262         * org.el (org-insert-heading): Refactor to use `org-in-item-p'
5263         only once.
5265         * ox.el (org-export-expand): Optionally add affiliated keywords to
5266         results.
5268         * ox-org.el (org-org-identity): Use new argument for
5269         `org-export-expand'.
5271         * org.el (org-fill-paragraph): Move to table beginning before
5272         aligning the table when M-q is called from an affiliated keyword.
5274         * org-list.el (org-list-allow-alphabetical): Properly update
5275         `org-list-allow-alphabetical' when changed after org.el has been
5276         loaded.
5278         * org-element.el (org-element-fixed-width-interpreter):
5279         Fix interpretation of fixed-width elements with a nil or empty string
5280         value.
5282         * ox-html.el (org-html-link): Don't skip the link description when
5283         it matches the name of the headline it targets.
5285         * ox-html.el (org-html-link): Don't skip the link description when
5286         it matches the name of the headline it targets.
5288         * ox-ascii.el (ascii): Remove nonexistent function.
5290         * ox-icalendar.el (icalendar): Ignore footnotes.
5291         (org-icalendar--combine-files): Small refactoring.
5293         * ox.el (org-export--skip-p, org-export--interpret-p):
5294         When `org-export-with-footnotes' is nil, ignore completely footnotes
5295         references and definitions instead of exporting them verbatim.
5297         * ox-beamer.el (org-beamer--frame-level): Small refactoring.
5298         (org-beamer--format-block, org-beamer-headline): Do not systematically
5299         downcase environment names as some require upper case in their
5300         names (e.g. noteNH and CJK).
5302         * ox.el (org-export-with-timestamps): Only applies to isolated
5303         timestamps, i.e. timestamps in a paragraph containing only
5304         timestamps and empty strings.
5305         (org-export--skip-p): Skip timestamps according to new behavior.
5307         * ox-latex.el (org-latex--script-size): Handle consecutive
5308         alterning sub and superscript.
5310         * ox-org.el (org-org-identity): Fix docstring.  Tiny refactoring.
5311         (org-org-headline, org-org-keyword): Fix docstring.
5313         * ox-latex.el (org-latex--script-size): Use \text command for
5314         subscript and superscript.  This is far superior to \mathrm, but
5315         it requires "amstext" package.  In particular, accented characters
5316         are now allowed within sub/superscript.
5318         * org.el (org-latex-default-packages-alist): Add "amstext"
5319         package.
5321         * ox-latex.el (org-latex--script-size): Fix error when using
5322         sub/superscript within sub/superscript.
5324         * ox-latex.el (org-latex--script-size): New function.
5325         (org-latex-subscript, org-latex-superscript): Use new function.
5326         Remove instructions since everything is documented in Org manual.
5328         * ox.el (org-export-with-smart-quotes): Use LATEX instead of LaTeX
5329         for keywords, the latter being hard to type, somewhat difficult to
5330         read, and overall just pedantic.
5332         * ox-latex.el (org-latex-classes): Be more explicit about
5333         LATEX_HEADER_EXTRA.
5335         * ox-html.el (org-html--build-meta-info): Fix invalid characters
5336         in html attributes.
5338         * ox.el (org-export-filters-alist): Remove macro filter.
5339         (org-export-filter-macro-functions): Remove variable.
5341         * ox-beamer.el (beamer): Install a default class set-up when
5342         loading library.
5344         * ox-latex.el (org-latex-classes): Update docstring.
5346         * ox-latex.el (org-latex--inline-image): Remove specific default
5347         image width for floats.  If no width nor height is provided, it
5348         should default to `org-latex-image-default-width' value.
5350         * org.el (org-extract-attributes-from-string)
5351         (org-attributes-to-string): Remove functions.
5353         * ox-html.el (html): Rename :html-table-tag property into
5354         :org-table-attributes.
5355         (org-html-table-default-attributes): New variable.
5356         (org-html-table-tag): Remove variable.
5357         (org-html--make-attribute-string): New function.
5358         (org-html-link--inline-image, org-html-table): Use new function.
5359         (org-html-splice-attributes, org-export-splice-style):
5360         Remove functions.
5361         (org-html-inline-image-rules): Remove out of context part of the
5362         docstring.
5364         * ox.el (org-export-read-attribute): Allow to use empty strings in
5365         attributes.
5367         * ox-html.el (org-html-metadata-timestamp-format): New variable,
5368         renamed from `org-html--timestamp-format'.
5369         (org-html--build-meta-info, org-html-format-spec,
5370         org-html--build-pre/postamble): Use new variable.
5372         * ox.el (org-export-table-row-number): New function.
5373         (org-export-table-cell-address): Use new function.
5375         * org-element.el (org-element-table-cell-successor): Parse table
5376         cells with missing ending space.
5378         * ox-latex.el (org-latex--math-table): Fix inline-math table
5379         environment.
5381         * ox-html.el (org-html-doctype): Make value fit on a single line
5382         so `org-export-insert-default-template' can handle it.
5383         (org-html-creator-string): Change default value.
5385         * ox.el (org-export-creator-string): Change default value.
5387         * ox-html.el (org-html-postamble-format)
5388         (org-html-preamble-format): Allow last modification time of source
5389         in template.  Fix docstrings.
5390         (org-html-format-spec): Produce last modification time when the source
5391         is a file.
5393         * ox.el (org-export-with-archived-trees, org-export-with-author)
5394         (org-export-with-clocks, org-export-with-date)
5395         (org-export-creator-string, org-export-with-drawers)
5396         (org-export-with-email, org-export-with-emphasize)
5397         (org-export-exclude-tags, org-export-with-fixed-width)
5398         (org-export-with-footnotes, org-export-with-latex)
5399         (org-export-headline-levels, org-export-default-language)
5400         (org-export-preserve-breaks, org-export-with-entities)
5401         (org-export-with-inlinetasks, org-export-with-planning)
5402         (org-export-with-priority, org-export-with-section-numbers)
5403         (org-export-select-tags, org-export-with-smart-quotes)
5404         (org-export-with-special-strings)
5405         (org-export-with-statistics-cookies)
5406         (org-export-with-sub-superscripts, org-export-with-toc)
5407         (org-export-with-tables, org-export-with-tags)
5408         (org-export-with-tasks, org-export-time-stamp-file)
5409         (org-export-with-timestamps, org-export-with-todo-keywords):
5410         Fix docstrings.
5412         * ox-html.el (org-html-postamble-format): Slightly change default
5413         value so "Generated by" string doesn't get duplicated.
5414         (org-html-creator-string): Fix docstring.
5416         * ox.el (org-export--get-inbuffer-options)
5417         (org-export--list-bound-variables)
5418         (org-export--generate-copy-script, org-export-string-as)
5419         (org-export-expand-include-keyword)
5420         (org-export--prepare-file-contents): Inhibit startup process when
5421         calling `org-mode'.
5423         * ox-publish.el (org-publish-find-date): Fix "bad timestamp" error
5424         with some DATE values: :date property in communication channel is
5425         no longer a string.
5427         * ox.el (org-export-insert-default-template): New function.
5428         (org-export--dispatch-ui, org-export--dispatch-action): Access to
5429         the function through the dispatcher.
5431         * ox-icalendar.el (org-icalendar-convert-timestamp):
5432         Update docstring.
5433         (org-icalendar-dtstamp): New function.
5434         (org-icalendar--vevent, org-icalendar--vtodo): Use new function.
5436         * ox-ascii.el (org-ascii-link):
5437         * ox-html.el (org-html-keyword):
5438         * ox-latex.el (org-latex-keyword, org-latex-link):
5439         * ox-man.el (org-man-keyword):
5440         * ox-md.el (org-md-link):
5441         * ox-odt.el (org-odt-keyword):
5442         * org.el (org-store-link, org-link-search, org-options-keywords):
5443         Remove reference to TARGET keyword.
5445         * ox.el (org-export-resolve-fuzzy-link, org-export-get-ordinal):
5446         Do not use TARGET as a destination for links anymore.
5448         * ox-org.el (org): Add a menu entry for the back-end.
5449         (org-org-export-as-org, org-org-export-to-org): New functions.
5451         * org.el (org-export-backends): Accept `org' as a loadable
5452         back-end.
5454         * ox-ascii.el (org-ascii-template--document-title): Use new function.
5456         * ox-beamer.el (org-beamer-template): Use new function.
5458         * ox-html.el (org-html-format-spec): Use new function.
5460         * ox-latex.el (org-latex-template): Use new function.
5461         (org-latex-date-timestamp-format): Remove variable.
5463         * ox.el (org-export-date-timestamp-format): New variable.
5464         (org-export-get-date): New function.
5466         * ox-odt.el (org-odt--format-paragraph): New function.
5467         (org-odt-paragraph): Use new function to limit code duplication.
5468         (org-odt-footnote-reference): Change default style for paragraphs
5469         when transcoding a footnote definition.
5471         * org-macro.el (org-macro--collect-macros): Fix a bug where
5472         reading a macro in a setup file would remove other macros read so
5473         far from template.  Change function signature.
5474         (org-macro-initialize-templates): Apply signature change from function
5475         above.
5477         * ox.el (org-export--list-bound-variables): Rename from
5478         `org-export--install-letbind-maybe'.  Though, only return list of
5479         bound variables instead of installing them as buffer-local
5480         variables.
5481         (org-export-get-environment): Use new function.  Take care of the
5482         installation of bound variables.
5483         (org-export--generate-copy-script): Make sure non-Org variables are
5484         also installed in buffer copy.
5486         * ox.el (org-export-get-environment): Update comment.
5487         (org-export--install-letbind-maybe): Go into SETUPFILE files and
5488         handle BIND keywords there.
5490         * ox-latex.el (org-latex-link): Do not prefix relative paths with
5491         "file://".
5493         * org.el (org-link-search): Preserve priority of #+TARGET over
5494         #+NAME when resolving a link.
5496         * ox-latex.el (org-latex-long-listings): New variable.
5497         (org-latex-src-block): Use new variable.
5499         * ox.el (org-export-data): White spaces after export snippets are
5500         never ignored.
5502         * org-element.el (org-element-macro-parser): Allow to escape
5503         escaping character before a comma.  Also do not trim spaces at
5504         argument boundaries.
5506         * ox.el (org-export-async-start): Use correct coding system so
5507         unibyte characters do not appear in the resulting buffer or file.
5508         (org-export--copy-to-kill-ring-p): Move function elsewhere in the
5509         file.
5511         * ox-latex.el (org-latex--inline-image): Fix error when no default
5512         width, height and option are provided and no attribute is set for
5513         the inline image.
5515         * org.el (org-comment-or-uncomment-region): Fix commenting lines
5516         beginning with a link.
5517         (org-delete-char): Fix "Invalid use of `\\' in replacement text"
5518         when deleting a character in a cell which contains "\"
5519         (org-export-backends): Remove duplicates.  Reorder alphabetically.
5521         * ox-texinfo.el (org-texinfo-plain-list): Use `member' instead of
5522         `memq' when matching strings.
5524         * ox.el (org-export-read-attribute): Do not use `read' to read
5525         attributes.  Instead, extract keywords and values from it, which
5526         means each value will be a string when non-nil.
5528         * ox-beamer.el (org-beamer-plain-list): Use new attribute syntax.
5530         * ox-html.el (org-html--textarea-block): Use new attribute syntax.
5532         * ox-latex.el (org-latex--inline-image, org-latex--org-table)
5533         (org-latex--math-table): Use new attribute syntax.
5535         * ox-man.el (org-man-table--org-table): Use new attribute syntax.
5536         Small refactoring.
5538         * ox-odt.el (org-odt-link--inline-image, org-odt-table-cell):
5539         Use new attribute syntax.
5541         * ox.el (org-export-async-start): Remove code evaluation queries
5542         from asynchronous export.
5544         * ox-latex.el (latex): Activate smart quotes by default.
5545         (org-latex--inline-image): Don't insert a default width when
5546         height is provided in a figure environment.
5547         (org-latex--inline-image): Do not use default width
5548         (resp. height) when an user height (resp. width) is provided.
5549         Also, default height is only used when image is not wrapped within
5550         a figure or wrapfigure environment, in order to preserve ratio.
5551         (org-latex-image-default-width, org-latex-image-default-height):
5552         Update docstring.
5554         * ox-icalendar.el (org-icalendar-create-uid): Fix error when
5555         `org-icalendar-store-UID' is non-nil.
5557         * ox-latex.el (latex): Introduce new buffer keyword.
5558         (org-latex-template): Use new keyword.
5560         * ox-beamer.el (org-beamer-template): Use new keyword.
5562         * org.el (org-create-formula--latex-header): Use new keyword.
5564         * ox-beamer.el (org-beamer-column-view-format, org-beamer-theme)
5565         (org-beamer-environments-extra): Add :version and
5566         :package-version.
5568         * ox-html.el (org-html-with-latex, org-html-inline-image-rules):
5569         Add :version and :package-version.
5571         * ox-latex.el (org-latex-inline-image-rules)
5572         (org-latex-default-table-environment)
5573         (org-latex-default-table-mode, org-latex-tables-booktabs)
5574         (org-latex-table-scientific-notation, org-latex-known-errors):
5575         Add :version and :package-version.
5577         * ox-md.el (org-md-headline-style): Add :version and
5578         :package-version.
5580         * ox-odt.el (org-odt-with-latex): Add :version
5581         and :package-version.
5583         * ox.el (org-export-with-drawers, org-export-with-latex)
5584         (org-export-with-inlinetasks, org-export-with-planning)
5585         (org-export-with-smart-quotes, org-export-with-statistics-cookies)
5586         (org-export-allow-bind-keywords, org-export-async-init-file):
5587         Add :version and :package-version.
5589         * ox-icalendar.el (org-icalendar-export-to-ics): Change back-end
5590         name from `e-ascii' to `ascii'.
5592         * ox.el (org-export--generate-copy-script): Call `org-mode' when
5593         duplicating a buffer.  It will properly set every variable, like
5594         `comment-start'.
5595         (org-export-async-start): Do not call `org-mode' since this is done
5596         already in the previous function.
5598         * ox-beamer.el (org-beamer-keyword): Remove frame arount toc when
5599         generated from a TOC keyword.
5601         * org.el (org-export-backends): Do not reset list of loaded
5602         back-ends to variable's value after a reload.
5604         * ox-latex.el (org-latex-src-block): Do not overwrite provided
5605         numbering options in minted and listings.
5606         (org-latex-headline): Don't add optional title on unnumbered
5607         headlines.
5609         * ox-html.el (html): Fix "HTML_HEAD" and "HTML_HEAD_EXTRA"
5610         keywords.  Allow multiple #+LATEX_HEAD and #+LATEX_HEAD_EXTRA
5611         again.
5613         * org.el (org-fill-paragraph): Small refactoring to
5614         `org-fill-paragraph'.  Do not look for table cells in a paragraph.
5616         * org-element.el (org-element-object-restrictions):
5617         Simplify restrictions within secondary strings and objects.
5619         * org-list.el (org-list-send-list): Do not rely on
5620         `org-list-parse-list'.
5621         (org-list-to-latex, org-list-to-html, org-list-to-texinfo):
5622         Use appropriate export back-end instead of using
5623         `org-list-to-generic'.
5625         * ox-html.el (org-html-inner-template): Remove contents div and
5626         title.
5627         (org-html-template): Add contents div and title.
5628         (org-html-infojs-install-script): Can't activate jsinfo script
5629         during a body-only export.
5631         * ox.el (org-export-as): Store export options in :export-options
5632         porperty within communication channel.
5634         * ox-latex.el (org-latex-item): Fix wrong behavior when a counter
5635         is set in an ordered list while its parent is not ordered.
5637         * ox.el (org-export-format-code-default): Handle empty source
5638         blocks more gracefully.
5640         * ox-ascii.el (org-ascii-src-block): Handle empty blocks more
5641         gracefully.
5643         * org.el (org-export-backends): Update variable.  `infojs' was
5644         merged into ox-html and `freemind' was added.
5646         * ox.el (org-export--selected-trees): Also mark inlinetasks with a
5647         select tag.
5648         (org-export--skip-p): Skip inlinetasks with a :noexport: tag.
5650         * ob-tangle.el (org-babel-spec-to-string): Use dedicated function
5651         for unescaping code.
5653         * ox-html.el (org-html-link): Silence byte-compiler.
5654         (html): Add infojs installation script in options filter.
5655         (org-html-infojs-install-script): Remove check for back-end as we
5656         can safely assume the function will be called from `html' back-end
5657         or one of its derivative.
5659         * ox-icalendar.el (org-agenda-collect-markers)
5660         (org-create-marker-find-array): Remove functions.
5661         (org-icalendar-export-current-agenda): Integrate previous
5662         functions.
5664         * ox-latex.el (org-latex-format-headline-default-function):
5665         Use declarative shape to nest makup for TODO keywords.
5666         Previous syntax generated errors during export.
5668         * ox.el (org-export-async-start): Ignore `org-mode-hook' and
5669         `kill-emacs-hook'.  The first one has been run in the original
5670         buffer.  The second is not necessary and can pollute output to a
5671         temporary buffer (e.g. with `org-clock-persistence-insinuate').
5673         * ox-html.el (org-html-inner-template): Remove title.
5674         (org-html-template): Add title.
5676         * ox.el (org-export--get-min-level): Ignore footnote section when
5677         computing minimal headline level.
5679         * org.el (org-do-latex-and-related): Fix infloop when user
5680         provides a wrong value for `org-highlight-latex-and-related'.
5681         In this case, `org-latex-and-related-regexp' is the empty string and
5682         generates an infloop since matching it doesn't move point.
5684         * org-element.el (org-element-headline-parser):
5685         Rename :optional-title into :alt-title.
5687         * ox.el (org-export-get-alt-title): Rename from
5688         `org-export-get-optional-title'.
5690         * ox-ascii.el (org-ascii--build-title):
5691         * ox-html.el (org-html--format-toc-headline):
5692         * ox-latex.el (org-latex-headline):
5693         * ox-texinfo.el (org-texinfo--get-node)
5694         (org-texinfo--generate-menu-items): Apply name change.
5696         * ox.el (org-export--get-inbuffer-options): Remove an optional
5697         argument.  Rewrite function.  Properties read from a setupfile do
5698         not overwrite anymore previously computed properties.
5699         (org-export-get-environment): Apply changes to previous function.
5701         * org.el (org-create-formula--latex-header): Apply arity change
5702         from `org-export--get-inbuffer-options'.
5704         * ox-latex.el (org-latex-compile): Add an optional argument for
5705         latex snippet previewing.
5707         * org.el (org-create-formula-image-with-imagemagick):
5708         Use `org-latex-compile' instead of rewriting it.
5710         * ox-html.el (org-html-fontify-code): Do not use [^\000] in
5711         regexps that may match large strings.
5713         * org.el (org-create-formula--latex-header): New function.
5714         (org-create-formula-image-with-dvipng)
5715         (org-create-formula-image-with-imagemagick): Use new function.
5717         * ox.el (org-export-get-previous-element): Change order of retured
5718         elements in `org-export-get-previous-element'.
5720         * org-element.el (org-element-all-successors): Add `plain-link'
5721         successor.
5722         (org-element-object-restrictions): Remove `link' within `link'.
5723         Allow `plain-link' instead.
5724         (org-element-plain-link-successor): New function.
5726         * org.el (org-match-substring-regexp)
5727         (org-match-substring-with-braces-regexp): Update regexp.
5728         A sub/superscript cannot start anymore at the beginning of the line
5729         or after a space.
5731         * org-element.el (org-element--get-next-object-candidates):
5732         Rewrite function to simplify algorithm.
5733         (org-element-context, org-element--parse-elements): Apply changes.
5735         * org.el (org-fill-paragraph): Apply changes.
5737         * ox-html.el (org-html-link, org-html-link--inline-image):
5738         Attributes specified to a paragraph only apply to first link
5739         within.
5741         * ox-latex.el (org-latex-headline): Do not add optional section
5742         name when section is unnumbered.
5744         * org.el (org-in-verbatim-emphasis): Fix false positive when point
5745         is just after the closing emphasis marker.
5746         (org-fill-paragraph): Do not move point when filling a table.
5748         * ox-ascii.el (ascii): Add new filter.
5749         (org-ascii-filter-comment-spacing): New function.
5750         (org-latex-keyword): Remove "figures" value.
5752         * ox-ascii.el (org-ascii--list-tables): Fix docstring.
5754         * ox-html.el (org-html--format-toc-headline): Fix function name.
5755         (org-html-toc, org-html--toc-text): Change to docstring.
5756         (org-html-list-of-listings, org-html-list-of-tables):
5757         New functions.
5758         (org-html-keyword): Use new functions.
5759         (org-html-src-block): Add an ID attribute when a name is given.
5761         * org-element.el (org-element-footnote-definition-parser):
5762         Require 2 blank lines to separate footnote definition.
5764         * org-footnote.el (org-footnote-at-definition-p): Require 2 blank
5765         lines to separate footnote definition.
5767         * ox.el (org-export-stack): Rewrite.
5768         (org-export-stack-refresh): Refactor.
5769         (org-export-stack-remove, org-export-stack-view): Apply renaming.
5770         (org-export-stack-mode-map): Use tabulated list map as a basis.
5771         (org-export-stack--generate, org-export-stack--num-predicate):
5772         New function.
5773         (org-export-get-optional-title): Return regular title when no
5774         optional title is found.
5776         * ox-ascii.el (org-ascii--build-title): Apply change to
5777         `org-export-get-optional-title'.
5779         * ox-html.el (org-html--format-toc-headline): Apply change to
5780         `org-export-get-optional-title'.
5782         * ox-latex.el (org-latex-headline): Apply change to
5783         `org-export-get-optional-title'.
5785         * ox-ascii.el (org-ascii--build-title): Add an argument.
5786         Use optional title when building a toc line.
5787         (org-ascii--build-toc): Call `org-ascii--build-title' with
5788         appropriate arguments.
5790         * ox-latex.el (org-latex-headline): Use optional title for table
5791         of contents.
5793         * ox-html.el (org-html--toc-text): Rename from
5794         `org-html-toc-text'.  Add docstring.
5795         (org-html--format-toc-headline): Rename from
5796         `org-html-format-toc-headline'.  Add docstring.  Use optional
5797         title if possible.
5798         (org-html-toc): Add docstring.
5800         * org-element.el (org-element-headline-parser): Node property
5801         :OPTIONAL_TITLE: in a headline will be parsed and stored under
5802         :optional-title property.
5804         * ox.el (org-export-get-optional-title): New function.
5806         * ox-latex.el (org-latex-format-headline-default-function):
5807         Make the variable a function.
5809         * ox-publish.el (org-publish-resolve-external-fuzzy-link):
5810         No error when resolving external fuzzy links outside publishing.
5811         Though search option for these links will not be resolved.
5813         * ox-latex.el (org-latex-guess-inputenc): Set inputenc option
5814         according to `org-export-coding-system'.
5816         * ox.el (org-export--generate-copy-script):
5817         Clone `buffer-file-coding-system' when creating a buffer copy.
5819         * ox-html.el (org-html-link): Resolve external links with search
5820         options like [[file.org::#custom-id]] or
5821         [[file.org::*headline-search]].
5823         * ox-publish.el (org-publish-collect-numbering)
5824         (org-publish-resolve-external-fuzzy-link): New functions.
5825         (org-publish-org-to): Add new collecting function to final output
5826         filter.  Move index collecting function to the same filter.
5827         (org-publish-collect-index): Called from final output filter.
5829         * ox-html.el (org-html-format-headline--wrap, org-html-headline):
5830         Use :CUSTOM_ID, not :custom-id.
5832         * org-element.el (org-element-latex-environment-parser): Fix wrong
5833         value for :post-affiliated property when parsing a latex
5834         environment.
5836         * ox-latex.el (org-latex-property-drawer): Remove function.
5838         * ox-ascii.el (org-ascii-filter-paragraph-spacing):
5839         Remove reference to now renamed `e-ascii' back-end.
5841         * ox-beamer.el (org-beamer-template): Allow to span documentclass
5842         options accross multiple lines in template.
5844         * ox-latex.el (org-latex-template): Allow to span documentclass
5845         options accross multiple lines in template.
5847         * ox-texinfo.el (org-texinfo--get-node): Upcase property name.
5848         (org-texinfo--get-node): New function.
5849         (org-texinfo-headline, org-texinfo-link): Use new function.
5851         * ox-ascii.el (org-ascii-quote-block): Do not fill quote block
5852         contents.  Just indent them.
5854         * ox-publish.el (org-publish-index-generate-theindex): Do not
5855         create an "* Index" headline in "theindex.inc".  Though, create an
5856         "Index" title in fallback "theindex.org".
5858         * ox-publish.el (org-publish-projects): Publish "theindex.org"
5859         last, so that "theindex.inc" can be completed.
5861         * ox-publish.el (org-publish-project-alist): Fix docstring.
5862         (org-publish-collect-index): Fix typo.
5864         * ox.el (org-export--dispatch-ui): Prevent invisible cursor from
5865         highlighting brackets in UI
5867         * org-element.el (org-element-headline-parser)
5868         (org-element-inlinetask-parser): Fix docstring.
5870         * org.el (org-export-backends): Add new back-end in customize
5871         interface.
5873         * ox-beamer.el (org-beamer--get-label, org-beamer--frame-level)
5874         (org-beamer--format-section, org-beamer--format-frame)
5875         (org-beamer--format-block, org-beamer-headline): Apply changes to
5876         properties.
5878         * ox-html.el (org-html-headline, org-html-link, org-html-section):
5879         Apply changes to properties.
5881         * ox-icalendar.el (org-icalendar-create-uid)
5882         (org-icalendar-blocked-headline-p, org-icalendar-entry)
5883         (org-icalendar--valarm): Apply changes to properties.
5885         * ox-odt.el (org-odt-headline): Apply changes
5887         * ox-publish.el (org-publish-collect-index): Apply changes to
5888         properties.
5890         * ox-texinfo.el (org-texinfo--generate-menu-list)
5891         (org-texinfo--generate-menu-items, org-texinfo-template)
5892         (org-texinfo-headline, org-texinfo-link): Apply changes to
5893         properties.
5895         * ox.el (org-export-resolve-id-link, org-export-get-category):
5896         Apply changes to properties.
5897         (org-export-get-node-property): Update docstring.
5899         * org-element.el (org-element-headline-parser)
5900         (org-element-inlinetask-parser): Upcase properties.  This is done
5901         to avoid confusion between properties from parser (e.g. `:end')
5902         and properties from the property drawer (e.g. :END:).
5904         * ox-publish.el (org-publish-index-generate-theindex): Preserve
5905         order in file.  Fix error when two index entries were identical.
5906         Create again theindex.inc.
5908         * org-element.el (org-element-map): Allow to map over any list.
5909         Do not restrict mapping to object types.
5911         * org-faces.el (org-latex-and-related): Rename from
5912         `org-latex-and-export-specials', which wasn't appropriate anymore.
5914         * org.el (org-highlight-latex-and-related)
5915         (org-latex-and-related-regexp): New variables.
5916         (org-compute-latex-and-related-regexp, org-do-latex-and-related):
5917         New function, revived from a previous commit.
5918         (org-set-regexps-and-options, org-set-font-lock-defaults): Use new
5919         functions.
5920         (org-set-regexps-and-options): Remove reference to LATEX_CLASS and
5921         beamer back-end.
5923         * ox-publish.el (org-publish-org-to): Small refactoring.
5925         * ox.el (org-export-install-filters): Properly install filters
5926         send through ext-plist mechanism.
5928         * ox-publish.el (org-publish-org-to): Small refactoring.
5930         * ox-html.el (org-html-keyword): Remove INDEX keyword handling.
5931         ox-publish.el takes care of it already.
5933         * org-macro.el: New file.
5935         * org.el: Remove macro code.
5937         * ox.el: Require new library
5939         * ox.el (org-export-resolve-fuzzy-link): Ignore statistics cookies
5940         when matching an headline.
5941         (org-export--dispatch-ui): Display a help message in header line
5942         for scrolling dispatcher's buffer
5943         (org-export-resolve-radio-link): Radio targets are
5944         case-insensitive.
5946         * ox-icalendar.el (org-export-icalendar): Fix docstring.
5948         * ox.el (org-export-dispatch): Fix docstring.
5949         (org-export--dispatch-action): Small improvement to line by line
5950         scrolling.
5951         (org-export-resolve-fuzzy-link): Refactor.  Whitespaces are not
5952         significant when matching a fuzzy link.
5954         * org-element.el (org-element-link-parser): Do not remove newlines
5955         characters in paths anymore, since this is not required.
5957         * ox.el (org-export--dispatch-ui): Rename from
5958         `org-export-dispatch-ui'.  Handle scrolling.
5959         (org-export--dispatch-action): Rename from
5960         `org-export-dispatch-action'.  Implement scrolling.
5961         (org-export-dispatch): Apply renaming.
5963         * org.el (org-ctrl-c-ctrl-c): Do nothing when at a blank line,
5964         but still run `org-ctrl-c-ctrl-c-final-hook'.
5965         (org-end-of-line): Remove `ignore-error'.
5967         * org-element.el (org-element-at-point): Return nil when in the
5968         first empty lines of the buffer.  Return headline when in empty
5969         lines just after the headline.
5971         * ox.el (org-export-output-file-name): Add a protection when
5972         output file name is the same as the original org.
5974         * ox-beamer.el (org-beamer-template): Add missing `class' argument
5975         for `format-string'.
5977         * ox-latex.el (org-latex-template): Add missing `class' argument
5978         for `format-string'.
5980         * ox.el (org-export-stack-mode): Fix docstring.
5982         * org-pcomplete.el (pcomplete/org-mode/file-option):
5983         Allow completion for ATTR_ prefixed keywords.
5985         * org.el (org-options-keywords): Add missing colons.
5987         * org-macs.el (org-default-options): Remove function.
5989         * org-pcomplete.el (org-command-at-point): Fix bug with some file
5990         options.
5991         (pcomplete/org-mode/file-option/x): Remove macro.
5992         (pcomplete/org-mode/file-option): Refactor code.
5993         (pcomplete/org-mode/file-option/author)
5994         (pcomplete/org-mode/file-option/date)
5995         (pcomplete/org-mode/file-option/title)
5996         (pcomplete/org-mode/file-option/tags)
5997         (pcomplete/org-mode/file-option/select_tags)
5998         (pcomplete/org-mode/file-option/priorities)
5999         (pcomplete/org-mode/file-option/language)
6000         (pcomplete/org-mode/file-option/filetags)
6001         (pcomplete/org-mode/file-option/exclude_tags)
6002         (pcomplete/org-mode/file-option/email): New functions.
6004         * ox.el (org-export--collect-headline-numbering): Remove footnote
6005         section from TOC.
6006         (org-export-collect-headlines): Do not count footnote section when
6007         numbering a headline.
6009         * ox-beamer.el (org-beamer-plain-list): Also read #+attr_latex
6010         attributes in order to determine list's options.
6012         * ox-ascii.el (org-ascii-inner-template): New function.
6013         (org-ascii-template): Use new function.
6014         (org-ascii-export-as-ascii, org-ascii-export-to-ascii):
6015         Update docstring.
6017         * org-element.el (org-element-link-parser): Take into
6018         consideration links filled and indented.
6020         * org-element.el (org-element-link-parser): Remove all newline
6021         characters in path property.
6023         * ox.el (org-export-as): Call `inner-template' function, if
6024         available.
6026         * ox-html.el (org-html-inner-template): New function.
6027         (org-html-template): Move all parts that should be inserted even
6028         in a body-only export into `org-html-inner-template'.
6030         * org.el (org-forward-element, org-backward-element): When no
6031         headline is found at the same level, still move forward or
6032         backward.
6034         * org-element.el (org-element--current-element): Add a limit
6035         argument.
6036         (org-element--collect-affiliated-keywords): Fix parsing of orphaned
6037         keyword at the end of an element.
6039         * ox-texinfo.el (org-texinfo-src-block): Remove spurious newline
6040         character as `org-export-format-code-default' already makes sure
6041         the string returned will end with a single one.
6043         * ox-latex.el (org-latex-headline): When a function returns a
6044         sectioning command, only one placeholder should be required.
6046         * org-element.el (org-element-nested-p): Do not inline function.
6048         * ox.el (org-export-copy-buffer, org-export-with-buffer-copy)
6049         (org-export--generate-copy-script): Move earlier in the file.
6051         * ox-texinfo.el (org-texinfo-link): Do not transform path part of
6052         internal links.
6054         * org.el (org-org-menu): Small refactoring.
6056         * ox-beamer.el (require):
6057         * ox-icalendar.el (require):
6058         * ox-jsinfo.el (require):
6059         * ox-md.el (require): Require cl when compiling.
6061         * org.el (org-export-backends):
6062         * ox.el (org-export-dispatch): Fix docstring.
6064         * ox.el (org-export-dispatch-ui): Widen UI by 2 characters.
6066         * ox-latex.el (org-latex-special-block): Add :options attribute to
6067         special blocks to specify options.
6069         * ox-beamer.el (org-beamer-template): Add BEAMER_HEADER keywords
6070         below LATEX_HEADER.
6072         * ox-latex.el (org-latex-format-headline-function): Fix missing
6073         parens in the docstring.
6075         * org.el (org-export-backends): Remove `:initialize' function.
6077         * org.el (org-reload): Also reload export back-ends in use.
6079         * ox-latex.el (org-latex-example-block, org-latex-src-block):
6080         Ignore element if it's empty.  This fixes error "apply: Wrong
6081         number of arguments: max, 0".
6083         * ox-beamer.el (org-beamer-template): Provide an error when LaTeX
6084         class is invalid.
6086         * ox-latex.el (org-latex-template): Provide an error when LaTeX
6087         class is invalid.
6089         * org.el (org-modules): Remove export back-ends from the list.
6090         Update docstring.
6091         (org-export-backends): New variable.
6093         * ox.el (org-export-async-start): Make sure export framework is
6094         required in the external process.
6096         * org.el (org-format-latex-header-extra, org-export-have-math):
6097         Remove variables.
6098         (org-latex-default-packages-alist): Rename from
6099         `org-export-latex-default-packages-alist'.
6100         (org-latex-packages-alist): Rename from
6101         `org-export-latex-packages-alist'.
6102         (org-try-cdlatex-tab, org-cdlatex-underscore-caret,
6103         org-cdlatex-math-modify): Reorder in file.
6104         (org-format-latex): Remove `org-format-latex-header-extra'.
6105         (org-create-formula-image-with-dvipng,
6106         org-create-formula-image-with-imagemagick): Apply variables renaming
6107         and removal.
6109         * org-entities.el (org-entities-user): Update docstring.
6111         * ox-latex.el (org-latex-classes, org-latex-listings):
6112         Update docstring.
6113         (org-latex-guess-inputenc): Rename from `org-latex--guess-inputenc'.
6114         (org-latex-guess-babel-language): Rename from
6115         `org-latex--guess-babel-language'.
6116         (org-latex-template): Apply renaming.
6118         * ox-beamer.el (org-beamer-template): Apply renaming.
6120         * ob-latex.el (org-babel-execute:latex): Apply variable renaming
6121         and removal.
6122         (org-babel-latex-tex-to-pdf): Call `org-latex-compile' instead of
6123         copying it.
6125         * org-macs.el (org-if-unprotected, org-if-unprotected-1)
6126         (org-if-unprotected-at): Remove macros.
6127         (org-re-search-forward-unprotected): Remove function.
6129         * org.el (org-format-latex):
6130         * org-list.el (org-list-struct):
6131         * org-footnote.el (org-footnote-at-reference-p):
6132         * org-capture.el (org-capture-fill-template): Remove reference to
6133         `org-protected'.
6135         * ob-exp.el (org-babel-exp-process-buffer): Rename from
6136         `org-export-blocks-preprocess'.
6138         * ox.el (org-export-execute-babel-code): Apply previous renaming.
6140         * org-pcomplete.el (pcomplete/org-mode/file-option): Collect valid
6141         keywords for completion without requiring the whole export
6142         framework.
6143         (pcomplete/org-mode/file-option/options): Rewrite using new export
6144         framework.  Only complete up to the colon.
6145         (pcomplete/org-mode/file-option/x): Remove macro.
6146         (pcomplete/org-mode/file-option/title)
6147         (pcomplete/org-mode/file-option/author)
6148         (pcomplete/org-mode/file-option/email)
6149         (pcomplete/org-mode/file-option/date): Remove functions.
6150         (pcomplete/org-mode/file-option/infojs_opt): New function.
6152         * org-clock.el (org-clocktable-defaults)
6153         (org-clocktable-write-default): Avoid requiring the whole export
6154         framework just to check one variable.
6156         * org-footnote.el (org-footnote-section): Update docstring.
6157         (org-footnote-normalize): Remove all export related part from the
6158         function.
6160         * org-inlinetask.el (org-inlinetask-export)
6161         (org-inlinetask-export-templates): Remove variables.
6162         (org-inlinetask-export-handler): Remove function.
6164         * org-plot.el: Remove dependency on `org-exp' library.
6166         * org.el (org-additional-option-like-keywords): Remove variable.
6167         (org-get-export-keywords): New function.
6168         (org-options-keywords): Update default list of keywords.
6169         (org-remove-flyspell-overlays-in): Apply changes to keywords
6170         compilation.
6171         (org-highlight-latex-fragments-and-specials)
6172         (org-latex-and-specials-regexp)
6173         (org-export-html-special-string-regexps): Remove variables.
6174         (org-compute-latex-and-specials-regexp)
6175         (org-do-latex-and-special-faces, org-remove-file-link-modifiers):
6176         Remove functions.
6177         (org-set-regexps-and-options, org-set-font-lock-defaults): Apply all
6178         removals.
6179         (org-use-sub-superscripts): Fix docstring.  Remove unused group.
6180         (org-match-sexp-depth): Make it a defconst instead of a defcustom
6181         in order to remove `org-export-translation' group completely.
6183         * ob-haskell.el (org-babel-haskell-export-to-lhs): Use new
6184         exporter.
6186         * ob-latex.el (org-babel-execute:latex): Use new exporter.
6188         * ob-org.el (org-babel-execute:org): Use new exporter.
6190         * org-agenda.el (org-agenda-menu, org-agenda-write): Use new
6191         iCalendar export back-end.
6193         * org-table.el (org-table-export, orgtbl-export):
6194         Remove dependency on `org-exp' library.
6195         (org-table-clean-before-export): New function.
6196         (org-table-colgroup-info): New variable.
6197         (orgtbl-to-html): Use to new HTML export back-end.
6199         * org.el (org-modules): Remove modules relative to obsolete export
6200         framework and add those relative to the new one.
6201         (org-create-formula-image-with-dvipng, org-format-latex
6202         org-create-formula-image-with-imagemagick): Use new exporter.
6203         (org-indent-line): INCLUDE keywords are indented like regular
6204         keywords.
6205         (org-mode-map): Bind C-c C-e to new export dispatcher.
6206         (org-menu): Install new exporter in menu.
6208         * org-ascii.el:
6209         * org-beamer.el:
6210         * org-docbook.el:
6211         * org-exp-blocks.el:
6212         * org-exp.el:
6213         * org-freemind.el:
6214         * org-html.el:
6215         * org-icalendar.el:
6216         * org-jsinfo.el:
6217         * org-latex.el:
6218         * org-lparse.el:
6219         * org-odt.el:
6220         * org-publish.el:
6221         * org-special-blocks.el:
6222         * org-taskjuggler.el:
6223         * org-xoxo.el: Remove
6225         * ox-ascii.el:
6226         * ox-beamer.el:
6227         * ox-html.el:
6228         * ox-icalendar.el:
6229         * ox-jsinfo.el:
6230         * ox-latex.el:
6231         * ox-man.el:
6232         * ox-md.el:
6233         * ox-odt.el:
6234         * ox-publish.el:
6235         * ox-texinfo.el:
6236         * ox.el: New file.
6238         * ob-exp.el (org-export-blocks-preprocess): Do not use
6239         `indent-code-rigidly' as it doesn't indent contents of strings.
6241         * org-element.el (org-element-map): Change to function
6242         indentation.  Also complete docstring.
6244         * org.el (org-ctrl-c-ctrl-c): Major rewrite function using
6245         Elements.
6247         * org-element.el (org-element-at-point): When point is before any
6248         element, in the first blank lines of the buffer, return nil.
6249         When point is within blank lines just after a headline, return that
6250         headline.
6251         (org-element-context): Return nil when point is within the blank at
6252         the beginning of the buffer.
6254         * org.el (org-edit-special): Fix regression.
6255         (org-timestamp-has-time-p, org-timestamp-format)
6256         (org-timestamp-split-range, org-timestamp-translate):
6257         New functions.
6259         * org-element.el (org-element-timestamp-interpreter):
6260         Interpret timestamps ranges with repeaters.
6262         * org.el (org-edit-special): Rewrite `org-edit-special' using Org
6263         Elements tools.  Behavior should be unchanged.
6265         * org-element.el (org-element-context): Add an optional argument
6266         so that (org-element-context) and (org-element-context
6267         (org-element-at-point)) are equivalent.
6269         * ob.el: Only use the :wrap argument up to the first space when
6270         creating the #+END_ directive.
6272         * org-element.el (org-element-object-variables): New variable.
6273         (org-element-parse-secondary-string): Copy some buffer-local
6274         variables to the temporary buffer created to parse the string so
6275         links can still be properly expanded.
6276         (org-element-link-parser): Link expansion and translation are applied
6277         transparently for the parser.
6279         * org-element.el (org-element-line-break-parser): Line break
6280         includes the newline character following the backslashes.
6281         (org-element-line-break-interpreter): Apply changes to line break
6282         parsing.
6284         * org.el (org-all-targets): Fix radio targets detection when
6285         object is directly followed by a non-whitespace character.
6287         * ob.el (org-babel-use-quick-and-dirty-noweb-expansion):
6288         Rename from `org-babel-use-quick-and-dirty-noweb-expansion'.
6289         (org-babel-expand-noweb-references): Use new variable name.
6291         * org-element.el (org-element-timestamp-interpreter):
6292         Fix timestamp interpreter when raw value isn't available.
6294         * ob-exp.el (org-babel-exp-non-block-elements): Make sure to parse
6295         inline babel call or inline src block instead of the following
6296         object.
6298         * org-element.el (org-element-timestamp-parser): Timestamp with
6299         time range has active/inactive-range type.
6300         (org-element-block-name-alist): Do not reset
6301         `org-element-block-name-alist' at each reload.
6302         (org-element-object-restrictions): Allow timestamps in parsed
6303         keywords (i.e. DATE).
6305         * org-agenda.el (org-agenda-show-clocking-issues)
6306         (org-agenda-format-item): Silence byte compiler.
6308         * org-colview.el (org-agenda-columns): Silence byte compiler.
6310         * org.el (org-properties-postprocess-alist): Silence byte
6311         compiler.
6313         * org-element.el (org-element-timestamp-parser): Return nil for
6314         unspecified :hour-end and :minute-end properties.
6315         (org-element-object-restrictions): Add footnote references objects
6316         in table cells.
6317         (org-element-interpret-data): Clear text properties when
6318         interpreting a string .
6320         * org-capture.el (org-capture--expand-keyword-in-embedded-elisp):
6321         Fix docstring.
6323         * org.el (org-adaptive-fill-function): Items do not have
6324         a :post-affiliated property.  Use :begin property instead.
6326         * org-element.el (org-element-headline-parser)
6327         (org-element-inlinetask-parser): Remove :clockedp property.
6329         * org.el (org-adaptive-fill-function): All elements do not have a
6330         :post-affiliated property.
6331         (org-macro-replace-all): Signal an error when a circular macro
6332         expansion happens.
6333         (org-macro-initialize-templates): Fix docstring.
6335         * org-element.el (org-element-map): Fix docstring.
6336         (org-element-contents, org-element-set-contents)
6337         (org-element-adopt-elements): Fix accessors and setters wrt
6338         secondary strings.
6339         (org-element-headline-parser)
6340         (org-element-inlinetask-parser): Fix void-function
6341         `org-clocking-buffer' error.
6342         (org-element-context): Fix org-element-context on parsed keywords.
6343         (org-element-context): Find objects in document and parsable
6344         affiliated keywords.
6345         (org-element-center-block-parser)
6346         (org-element-drawer-parser, org-element-dynamic-block-parser)
6347         (org-element-footnote-definition-parser)
6348         (org-element-plain-list-parser)
6349         (org-element-property-drawer-parser)
6350         (org-element-quote-block-parser, org-element-special-block-parser)
6351         (org-element-babel-call-parser, org-element-comment-parser)
6352         (org-element-comment-block-parser, org-element-diary-sexp-parser)
6353         (org-element-example-block-parser)
6354         (org-element-export-block-parser, org-element-fixed-width-parser)
6355         (org-element-horizontal-rule-parser, org-element-keyword-parser)
6356         (org-element-latex-environment-parser)
6357         (org-element-paragraph-parser, org-element-src-block-parser)
6358         (org-element-table-parser, org-element-verse-block-parser):
6359         Add `:post-affiliated' property to elements.
6360         (org-element-inlinetask-parser): Remove affilated keywords.
6362         * org.el (org-adaptive-fill-function): Use new property.
6364         * org-element.el (org-element--collect-affiliated-keywords):
6365         Allow duals keywords with only secondary value.
6366         (org-element-timestamp-parser): Modify timestamp objects
6367         properties.
6368         (org-element-headline-parser, org-element-inlinetask-parser): Remove
6369         `:timestamp' and `:clock' property.  Add `:clockedp' property.  Also,
6370         set `:closed', `:deadline' and `:scheduled' values to timestamp
6371         objects, not strings.  Small refactoring.
6372         (org-element-clock-parser): Rename `:time' property into `:duration'.
6373         Also, set `:value' value as a timestamp object, not a string.
6374         (org-element-planning-parser): Set `:closed', `:deadline' and
6375         `:scheduled' values to timestamp objects, not strings.
6376         (org-element-clock-interpreter, org-element-planning-interpreter)
6377         (org-element-timestamp-interpreter): Update interpreters.
6378         (org-element--current-element): Tiny refactoring.
6380         * ob.el (org-babel-where-is-src-block-result): Insert new results
6381         keyword in current narrowed part of buffer, if necessary.
6382         Small refactoring.
6383         (org-babel-insert-result): Do not widen buffer when new results have
6384         to be inserted.  Therefore, results inserted after the last block of
6385         a narrowed buffer still belong to the narrowed part of the buffer.
6387         * org-agenda.el (org-agenda-get-deadlines): Tiny stylistic change.
6389         * org-element.el (org-element-paragraph-separate): Diary-sexp
6390         elements can separate paragraphs.
6391         (org-element-all-elements): Install new `diary-sexp' type.
6392         (org-element--current-element): Recognize new `diary-sexp' elements.
6393         (org-element-diary-sexp-parser)
6394         (org-element-diary-sexp-interpreter): New functions.
6395         (org-element-horizontal-rule-parser)
6396         (org-element-keyword-parser, org-element--current-element):
6397         Small refactoring.
6398         (org-element-property): Access to text properties when argument is
6399         a string.
6400         (org-element-put-property): Correctly set property when target is
6401         a string.
6402         (org-element-adopt-elements): Also put :parent properties on
6403         strings.
6405         * ob-exp.el (org-babel-exp-code): Escape code when re-creating a
6406         src blocks.
6407         (org-export-blocks-preprocess): Pos can sometimes be set to a
6408         value greater than start, because of indentation, and lead to a
6409         search bound error.
6410         (org-babel-exp-code): Remove comma-escaping special rule for Org
6411         blocks.
6412         (org-export-blocks-preprocess): Results of an evaluated code block
6413         can be inserted within the blank lines after the block.  Hence, if
6414         the block has to be removed, delete everything down to the first
6415         non-blank line after the end of block closing string, instead of
6416         removing everything down to the very end of the block.
6418         * org.el (org-all-targets): Make sure the regexp really matched a
6419         radio target.
6420         (org-macro-expand, org-macro-replace-all): Change signature.
6421         The function now accepts an alist of templates so it doesn't have to
6422         rely only on `org-macro-templates'.
6423         (org-macro-initialize-templates): {{{date}}} is not anymore an
6424         alias for {{{time}}}.  During export, it will provide the value
6425         stored in DATE keyword instead.
6427         * org-element.el (org-element-object-restrictions): Allow links in
6428         caption.  Also allow inline-src-blocks and inline-babel-calls.
6429         (org-element-map): Change signature.
6430         (org-element-parsed-keywords): Remove document properties from the
6431         value.
6432         (org-element-dual-keywords): Fix docstring.
6433         (org-element-document-properties): New variable
6434         (org-element-all-elements): Add `node-property' as a new element
6435         type.
6436         (org-element-greater-elements): Add property-drawer element to
6437         greater elements since they now contain node-property elements.
6438         (org-element-drawer-parser): Small refactoring.
6439         (org-element-property-drawer-parser): Move into Greater Elements
6440         file section.
6441         (org-element-node-property-parser,
6442         org-element-node-property-interpreter): New functions.
6443         (org-element--current-element, org-element-at-point)
6444         (org-element--parse-elements): Handle new element type.
6445         (org-element--collect-affiliated-keywords): Fix return value.
6446         (org-element-center-block-parser)
6447         (org-element-drawer-parser, org-element-dynamic-block-parser)
6448         (org-element-footnote-definition-parser)
6449         (org-element-plain-list-parser, org-element-quote-block-parser)
6450         (org-element-special-block-parser, org-element-babel-call-parser)
6451         (org-element-comment-parser, org-element-comment-block-parser)
6452         (org-element-example-block-parser)
6453         (org-element-export-block-parser, org-element-fixed-width-parser)
6454         (org-element-horizontal-rule-parser, org-element-keyword-parser)
6455         (org-element-latex-environment-parser)
6456         (org-element-paragraph-parser, org-element-property-drawer-parser)
6457         (org-element-src-block-parser, org-element-table-parser)
6458         (org-element-verse-block-parser): Change signature.  Now use an
6459         additional argument: affiliated.
6460         (org-element--current-element): Skip affiliated keywords and pass
6461         them as an argument to parsers.  It prevents to walk through these
6462         keywords twice: the first time to get to the first line of the
6463         element, and a second time to collect the affiliated keywords.
6465         * ob-exp.el (org-babel-exp-non-block-elements): More accurate
6466         white space handling when evaluating inline-src-block, babel-call
6467         and inline-babel-call elements or objects.  Also removed use of
6468         `org-babel-examplize-region' since it would never be called
6469         anyway; return value from `org-babel-exp-do-export' is never nil.
6470         (org-export-blocks-preprocess): Preserve affiliated keywords when
6471         replacing a code block.
6473         * org-element.el (org-element-multiple-keywords): Allow multiple
6474         caption keywords.
6476         * ob-exp.el (org-export-blocks-preprocess): Fix block evaluation
6477         when results are before the block.
6478         (org-export-blocks-preprocess): Improve blank lines handling in
6479         function.  Add comments.  Remove `org-export-blocks-postblock-hook'
6480         since it's defined nowhere now (and doesn't need to, there's
6481         `org-export-before-parsing-hook' already).
6483         * org-exp-blocks.el: Delete.
6485         * ob-exp.el (org-export-blocks-preprocess):
6486         * ob-ditaa.el (org-ditaa-jar-path): Move from
6487         "org-export-blocks.el".
6489         * ob-exp.el (org-babel-exp-src-block): Remove unused argument.
6490         (org-babel-exp-non-block-elements): Rewrite function using Org
6491         Element.
6493         * org-exp-blocks.el (org-export-blocks-preprocess):
6494         Rewrite function using Org Element.
6496         * org-element.el (org-element-recursive-objects)
6497         (org-element-object-restrictions): Remove `macro' from recursive
6498         object types.
6500         * org.el (org-macro-initialize-templates): Small refactoring.
6501         (org-mode): Initialize macros templates.
6502         (org-macro-templates): New variable.
6503         (org-macro-expand, org-macro-replace-all)
6504         (org-macro-initialize-templates): New functions.
6506         * org-element.el (org-element-link-type-is-file): New variable.
6507         (org-element-link-parser): Extract search option and application
6508         in "file"-type links.
6510         * org.el (org-mode): Set back comment-start-skip so comment-dwin
6511         can tell a keyword from a comment.
6513 2013-11-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
6515         * org.el (org-time-stamp): When INACTIVE is non-nil, insert an
6516         inactive timestamp also with double universal argument.
6517         (org-set-regexps-and-options): Don't set font-lock defaults here.
6518         (org-mode): Set font-lock defaults here.
6519         (org-insert-link): Call `org-link-try-special-completion' from the
6520         original buffer.
6522 2013-11-12  Oleh  <oleh.krehel@gmail.com>
6524         * org.el (org-open-at-point): The new code is being run in the
6525         same spot as `org-open-link-functions'.  In case they failed,
6526         check if link matches "^id:" and if so, load the id interface and
6527         follwo the link.
6529 2013-11-12  Rasmus  <rasmus@gmx.us>  (tiny change)
6531         * ox-latex.el (org-latex--inline-image): The pgf format is
6532         associated to an inline image and treated like tikz files.
6534 2013-11-12  Richard Lawrence  <richard.lawrence@berkeley.edu>  (tiny change)
6536         * org-agenda.el (org-cmp-ts): Avoid error when trying to
6537         `string-match' against nil.
6539 2013-11-12  Rick Frankel  <rick@rickster.com>
6541         * ox-html.el (org-html-doctype): New function.
6542         (org-html-template): Use `org-html-doctype' instead of inline
6543         code.
6544         (org-html-headline): Use the new
6545         `org-html--container' function to set container element.
6546         (org-html--container): Returns appropriate element for headline
6547         container.
6548         (org-html-divs): Extra character in doc string.
6549         (org-babel-execute:sql): Unquote cmdline argument in
6550         format string, dbish requires three separate arguments.  Add dbi
6551         to the list of engines with automatically added header separator.
6552         (org-html--build-pre/postamble): Add css class to wrapper div
6553         (defaults to `org-pre/postamble-class').  Move spec building to
6554         separate function (`org-html-format-spec').
6555         (org-html-format-spec): New function.
6556         (org-pre/postamble-class): New variable.
6557         (org-html--timestamp-format): New variable used in the metadata
6558         and the pre/postamble.
6559         (org-html-style-default): Make the preamble and postamble use the
6560         same style.  Make all anchors font-size %100.  Remove margin from
6561         the content section.
6562         (org-html-container-element): Fix docstring.
6563         (org-html-postamble-format, org-html-preamble-format):
6564         Update docstrings.
6565         (org-html-template): Use `org-html--build-pre/postamble'.
6566         (org-html--build-pre/postamble): New function, combining the
6567         pre/postamble generator.  Merge lists of formatters from the
6568         preamble and postamble.  Fix bug, using :time-stamp-file instead
6569         of :with-date for auto display of date: this brings usage in-line
6570         with the latex and beamer exporter.
6571         (org-html--build-postamble, org-html--build-postamble): Delete.
6572         (define-backend): Add :html-doctype and :html-container
6573         parameters.
6574         (org-html-doctype): New option for doctype declaration.
6575         (org-html-container-elemnt): New option for specifying the wrapper
6576         container element.
6577         (org-html-divs): Change to alist of three entries each containing
6578         a key ('preamble, 'content, 'postamble), an HTML element type and
6579         an id to allow setting container elements.
6580         (org-html--build-preamble, org-html--build-postamble): Modify to
6581         use `org-html-divs'.
6582         (org-html-template): Modify to use doctype and container-element
6583         settings.
6584         (org-export-define-backend): Add css url option.
6585         (org-export-htmlized-org-css-url): Modify docstring and options.
6586         (org-html--build-style): Include css-url if specified.
6588 2013-11-12  Roberto Huelga Díaz  <rhuelga@gmail.com>  (tiny change)
6590         * org-timer.el (org-timer-set-timer): Use the variable
6591         `org-clock-sound' when calling `org-notify'.
6593 2013-11-12  Ryo TAKAISHI  <ryo.takaishi.0@gmail.com>
6595         * org-capture.el (org-capture--expand-keyword-in-embedded-elisp):
6596         New function.
6597         (org-capture-expand-embedded-elisp): Use the new function.
6599         * ob-tangle.el (org-babel-tangle-collect-blocks): Change argument
6600         name collid `org-babel-map-src-blocks' variable 'lang'.
6602         * org-protocol.el (org-protocol-convert-query-to-plist):
6603         New function.
6604         (org-protocol-do-capture): Use new function.
6605         (org-protocol-data-separator): Change default separator.
6607 2013-11-12  Rémi Vanicat  <vanicat@debian.org>  (tiny change)
6609         * org-table.el (orgtbl-format-line): Fix bug when formatting line.
6611 2013-11-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6613         * ox-latex.el (org-latex-listings): Don't quote const value.
6615         * ob-C.el (org-babel-C-var-to-C): Add list support
6616         (org-babel-C-val-to-C-list-type, org-babel-C-val-to-C-type)
6617         (org-babel-C-format-val): New functions.
6618         (org-babel-C-ensure-main-wrap, org-babel-execute:C)
6619         (org-babel-execute:C++, rg-babel-execute:cpp)
6620         (org-babel-C++-compiler, org-babel-C-compiler): Improve docstring.
6622         * org-entities.el (org-entities): Add support for hbar.
6624 2013-11-12  Sacha Chua  <sacha@sachachua.com>  (tiny change)
6626         * org.el (org-read-date-get-relative): Handle positive and
6627         negative weekday specifications so that they don't return today.
6628         If today is Friday, "fri" should mean next Friday.  This changes
6629         the previous behavior, which required you to specify "+2fri" in
6630         order to mean next Friday if today was Friday.  If you want to
6631         schedule something for today, you can use ".".
6633 2013-11-12  Samuel Loury  <konubinix@gmail.com>  (tiny change)
6635         * org.el (org-open-at-point): Open a plain link even if the cursor
6636         is before it, which is consistent with the behavior with respect
6637         to bracket and angle links.
6639 2013-11-12  Sean O'Halpin  <sean.ohalpin@gmail.com>  (tiny change)
6641         * ob.el (org-babel-expand-noweb-references): Capture current noweb
6642         start and end patterns then use them to set buffer locals in a
6643         (with-temp-buffer ...) form.
6645 2013-11-12  Sebastien Vauban  <xxx@public.gmane.org>
6647         * ox-latex.el (org-latex-listings-langs): Update custom variable.
6649         * ob-core.el (org-babel-parse-src-block-match): Fix order of list
6650         of header arguments.
6652         * org-clock.el (org-clock-goto-before-context): New option.
6653         (org-clock-goto): Use the new option.
6654         (org-clocktable-write-default): Insert the summary as a standard
6655         #+CAPTION keyword for the (clock) table.
6657 2013-11-12  Stephen Eglen  <S.J.Eglen@damtp.cam.ac.uk>  (tiny change)
6659         * org-agenda.el (org-agenda-prefix-format): Small docstring
6660         enhancement.
6662 2013-11-12  Suhail Shergill  <suhailshergill@gmail.com>  (tiny change)
6664         * ob-core.el (org-babel-temp-file): For remote hosts, modify the
6665         prefix and leave `temporary-file-directory' unchanged.
6667 2013-11-12  Suvayu Ali  <fatkasuvayu+linux@gmail.com>  (tiny change)
6669         * org.el (org-speed-commands-default): Change default binding for
6670         org-mark-subtree from "." to "@" to be more consistent with "C-c
6671         @".
6673 2013-11-12  Tim Burt  <tcburt@rochester.rr.com>  (tiny change)
6675         * org-datetree.el (org-datetree-find-year-create): Also match
6676         headlines with tags.
6678 2013-11-12  Toby S. Cubitt  <tsc25@cantab.net>
6680         * org.el (org-time-clocksum-format)
6681         (org-time-clocksum-fractional-format): In addition to a single
6682         format string, the clocksum formats can now be plists specifying
6683         separate formats for different time units.
6684         (org-minutes-to-clocksum-string): New function to replace
6685         `org-minutes-to-hh:mm-string', which converts a number of minutes
6686         to a string according to the customization options.
6688         * org-colview.el (org-columns-number-to-string): Use the new
6689         `org-minutes-to-clocksum-string' function to format clocksum
6690         durations.
6692         * org-clock.el: Always call new `org-minutes-to-clocksum-string'
6693         function when formatting time durations, instead of calling
6694         `org-minutes-to-hh:mm-string' or passing
6695         `org-time-clocksum-format' directly to format.
6697 2013-11-12  Tokuya Kameshima  <kametoku@gmail.com>
6699         * org-mew.el (org-mew-inbox-folder, org-mew-use-id-db)
6700         (org-mew-subject-alist, org-mew-capture-inbox-folders)
6701         (org-mew-capture-guess-alist): New options.
6702         (org-mew-store-link, org-mew-open): Rewrite.
6703         (org-mew-folder-name, org-mew-follow-link)
6704         (org-mew-folder-eixsts-p, org-mew-get-msgnum)
6705         (org-mew-open-by-message-id, org-mew-search, org-mew-capture)
6706         (org-mew-capture-guess-selection-keys): New functions.
6708 2013-11-12  Trevor Murphy  <trevor.m.murphy@gmail.com>
6710         * org.el (org-get-compact-tod): Always pad minutes to two places.
6712 2013-11-12  Viktor Rosenfeld  <listuser36@gmail.com>  (tiny change)
6714         * org.el (org-agenda-prepare-buffers): Add tags defined in
6715         `org-tag-persistent-alist' to `org-tag-alist-for-agenda'.
6717 2013-11-12  Vitalie Spinu  <spinuvit@gmail.com>
6719         * ob-tangle.el (org-babel-find-file-noselect-refresh):
6720         Call `find-file-noselect' with 'nowarn argument to surpress
6721         `yes-or-no-p' reversion message.
6723         * ob-core.el (org-babel-where-is-src-block-head):
6724         Return `point-marker' instead of `point'.
6726 2013-11-12  Yann Hodique  <yann.hodique@gmail.com>
6728         * org-publish.el (org-publish-org-to-taskjuggler): New function to
6729         publish taskjuggler projects.
6731 2013-11-12  Yasushi Shoji  <yashi@atmark-techno.com>
6733         * org-clock.el (org-clock-x11idle-program-name): New option.
6734         (org-x11idle-exists-p, org-x11-idle-seconds): Use it.
6736 2013-11-12  Yoshinari Nomura  <nom@quickhack.net>
6738         * ox-html.el (org-html--has-caption-p): New function.
6739         (org-html-link--inline-image, org-html-table): Prepend ordinal
6740         number to caption.
6741         (org-html-link): Make numbered link by counting captioned figures
6742         and tables.
6744         * ox.el (org-export-dictionary): Add Japanese translations for
6745         figures and tables.  Add "Figure %d:" entry in the same manner
6746         with "Table %d:".
6748 2013-11-12  Nicolas Richard  <nrichard@ulb.ac.be>
6750         * ob.el (org-babel-edit-distance): When insertion or deletion are
6751         needed, make sure the distance is incremented.  In addition, the
6752         now obsolete mmin function was removed.
6754 2013-11-12  Oleh Krehel  <wave@mail.ua>
6756         * org-capture.el (org-capture-expand-embedded-elisp): Throw error
6757         if result is not a string and not nil.  If the result is nil,
6758         treat it as if it was the empty string.
6760         * org-clock.el (org-clock-notify-once-if-expired):
6761         Honor `org-clock-sound'.
6763 2013-11-12  Rasmus Pank  <rasmus.pank@gmail.com>
6765         * org.el (org-format-latex-header): Remove eucal and amsmath.
6766         (org-latex-default-packages-alist): Remove amstext and add
6767         amsmath.
6769         * ox-latex.el (org-latex-item): Use square as unchecked symbol.
6771         * org.el (org-latex-default-packages-alist): Remove latexsym.
6773         * org-entities.el (org-entities): Add support for ell, imath,
6774         jmath, varphi, varpi, aleph, gimel, beth, dalet, cdots, S (§),
6775         dag, ddag, colon, therefore, because, triangleq, leq, geq,
6776         lessgtr, lesseqgtr, ll, lll, gg, ggg, prec, preceq, preccurlyeq,
6777         succ, succeq, succurlyeq, setminus, nexist(s), mho, check, frown,
6778         diamond.  Changes loz, vert, checkmark, smile and tilde.
6780         * ob-C.el: Added C++ to `org-babel-load-languages' automatically
6781         after loading C.
6783         * org-src.el (org-src-lang-modes): Add association between
6784         language C++ and `c++-mode'.
6786         * ox.el (org-export-smart-quotes-alist): Add ("da" "no" "nb"
6787         "nn" "sv").
6788         (org-export-dictionary): Add some entries ("da" "no" "nb" "nn"
6789         "sv").
6790         (org-export-default-language): Mention other variables affected by
6791         language.
6793         * ox-latex.el (org-latex-babel-language-alist): Add 'nb', 'nn',
6794         and 'no' for Norwegian.  Removed 'no-no'.
6795         (org-latex-pdf-process): let `latexmk' be a preconfigured choice
6796         and change the wording of the docstring.
6797         (org-latex-guess-babel-language): Replace AUTO with language if
6798         AUTO is the option of the LaTeX package Babel.
6799         (org-latex-classes): Update documentation with respect
6800         to `org-latex-guess-babel-language'.
6802 2013-11-12  Дядов Васил Стоянов  <vdyadov@elvees.com>  (tiny change)
6804         * org-docview.el (org-docview-export): New function to export
6805         docview links.
6807 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6809         * org-agenda.el (org-agenda-mode):
6810         * org-indent.el (org-indent-mode): Use the `local' arg of
6811         add-hook/remove-hook.
6813 2013-03-08  Bastien Guerry  <bzg@gnu.org>
6815         * org-exp.el (org-export-normalize-links): Fix critical bug: do
6816         not rely on `org-context' to guess where to prevent links
6817         normalization.
6819 2013-02-28  Achim Gratz  <Stromeko@Stromeko.DE>
6821         * org.el (org-org-menu): Use correct key "C-u C-c C-x !" to do
6822         org-reload uncompiled in the menu.
6824 2013-02-28  Bastien Guerry  <bzg@gnu.org>
6826         * org-indent.el (org-indent-add-properties): Bugfix: prevent
6827         negative value for `added-ind-per-lvl'.
6829         * org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
6830         `isearch-mode-end-hook' so that any isearch fixes the problem with
6831         ellipsis on the first line.
6832         (org-fix-ellipsis-at-bol): New defsubst.
6833         (org-show-context, org-isearch-end): Use it.
6835         * org.el (org-show-context): Remove useless catch.
6836         Make sure the top of the window is a visible headline.
6837         (org-activate-plain-links): Remove unused catch.
6839         * org-macs.el (org-get-alist-option): Return nil, not (nil),
6840         so that `org-show-context' DTRT.
6842         * org.el (org-imenu-get-tree): Fix bug when matching against empty
6843         headlines.
6845         * org.el (org-overview): Stay on current line.
6846         (org-map-entries): Fix docstring.
6847         (org-at-clock-log-p): Delete.
6848         * org-clock.el (org-at-clock-log-p): Move here.
6850         * org.el (org-tsr-regexp-both): Don't activate dates in links.
6851         (org-activate-dates): Change match boundaries according to the new
6852         value of `org-tsr-regexp-both'.
6854         * org-agenda.el (org-agenda-to-appt): Fix typos.
6856         * org-agenda.el (org-agenda-local-vars): Don't include
6857         `org-agenda-show-window' as it needs to be checked outside of the
6858         agenda window.
6860         * org.el (org-set-tags-command): Fix bug when setting tags for
6861         multiple headlines in an active region.
6863         * org-mobile.el (org-mobile-edit): DTRT when inserting a heading
6864         in an invisible region.
6866         * org.el (org-insert-heading-respect-content): Add docstring.
6867         New `invisible-ok' parameter.
6868         (org-insert-todo-heading-respect-content): Add docstring.
6870         * ob-tangle.el (org-babel-tangle-collect-blocks):
6871         Bugfix: remove code references from blocks.
6873         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
6874         Cosmetic changes.
6875         (org-agenda-show-new-time): Fix bug when displaying a temporary
6876         overlay with the scheduled/deadline information.
6878         * org.el (org-fill-paragraph-with-timestamp-nobreak-p): New function.
6879         (org-setup-filling): Use it to prevent breaking a timestamp when
6880         filling a paragraph.
6882         * org-id.el (org-id-get-with-outline-path-completion): Fix docstring.
6884 2013-02-28  Tim Burt  <tcburt@rochester.rr.com>  (tiny change)
6886         * org-datetree.el (org-datetree-find-year-create):
6887         Match headlines with tags.
6889 2013-02-07  Bastien Guerry  <bzg@gnu.org>
6891         * org-agenda.el (org-agenda-get-deadlines)
6892         (org-agenda-get-scheduled): Fix bug: use text properties for the
6893         headline text since we rely on properties to get e.g. the effort.
6895         * org-exp.el (org-export-normalize-links): Don't match links
6896         within tags.
6898         * org-html.el (org-export-html-preamble-format)
6899         (org-export-html-postamble-format): Mention that
6900         org-export-html-preamble/postamble need to be `t' in order for
6901         these variables to have any effect.
6903         * org-html.el (org-html-handle-links): When the link description
6904         is an image and the attribute is "width", pass the attribute to
6905         the <img ...> tag.
6907         * org.el (org-mode): Always honor `org-startup-indented', even
6908         when `org-inhibit-startup' is non-nil.
6910         * org-indent.el (org-indent-mode): Don't check
6911         `org-inhibit-startup'.
6913         * org.el (org-fontify-meta-lines-and-blocks-1): Don't try to add
6914         text properties outside of the buffer.
6916         * org.el (org-agenda-inhibit-startup): Rename from
6917         `org-agenda-inhibit-startup-visibility-cycling'.
6918         (org-agenda-prepare-buffers): Bind `org-inhibit-startup' to
6919         `org-agenda-inhibit-startup'.
6921         * org.el (org-mode): Don't initialize `org-beamer-mode' when
6922         `org-inhibit-startup' is non-nil.
6924         * org-footnote.el (org-footnote-create-definition): Prevent
6925         `electric-indent-mode' from inserting the definition at the wrong
6926         place.
6928         * org-agenda.el (org-agenda-no-heading-message): Delete.
6929         (org-agenda-get-timestamps, org-agenda-get-progress)
6930         (org-agenda-get-deadlines, org-agenda-get-scheduled)
6931         (org-agenda-get-blocks): Don't use
6932         `org-agenda-no-heading-message', skip the entry.
6934         * org.el (org-agenda-inhibit-startup-visibility-cycling):
6935         New option.
6936         (org-agenda-prepare-buffers): Use it to speed up the agenda
6937         generation.
6939         * org-agenda.el (org-agenda-skip): Fix bug by correctly skipping
6940         commented scheduled/deadline lines.
6942         * org-clock.el (org-clock-in): Fix bug when fetching the effort
6943         value.
6945         * ob-python.el (org-babel-python-command): Fix docstring.
6946         (org-babel-python-initiate-session-by-key): Fix bug: `run-python'
6947         from Emacs >24.1 requires a python command as an argument.
6949         * org-element.el (org-element-at-point): Fix typo in docstring.
6951         * org-agenda.el (org-agenda-get-deadlines): Fix bug: use
6952         `org-agenda-show-inherited-tags'.
6954         * org-agenda.el (org-agenda-skip): Correctly handle commented out
6955         scheduled/deadline lines.  Refactor.
6957         * org-install.el: Do not warn users.
6959         * org.el (org-adaptive-fill-function): In message-mode, don't
6960         lines in the message header, nor table lines in the body.
6961         Correctly fill lines starting with `org-outline-regexp' in the
6962         body.
6964         * org-agenda.el (org-agenda-open-link): Fix bug with opening all
6965         links.
6967 2013-02-07  Francesco Pizzolante  <fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>  (tiny change)
6969         * org-clock.el (org-clock-sum): Protect with `org-unmodified'.
6971         * org-macs.el (org-unmodified): Inhibit modification hooks.
6973 2013-02-07  John K. Luebs  <jkluebs@luebsphoto.com>  (tiny change)
6975         * org.el (org-get-wdays): Handle matching a lead time specified in
6976         hours.
6978 2013-02-07  Muchenxuan Tong  <demon386@gmail.com>  (tiny change)
6980         * org-agenda.el (org-agenda-quit): Delete indirect buffer's window
6981         only when it exists.
6983 2013-02-07  Nicolas Goaziou  <n.goaziou@gmail.com>
6985         * org-element.el (org-element-macro-parser): Fix error when last
6986         argument ends with a protected comma.
6988         * org-element.el (org-element-parse-buffer, org-element-map)
6989         (org-element-at-point, org-element-context): Be more verbose in
6990         docstrings.  Also fix typos.
6992         * org-list.el (org-list-struct-fix-box): When a checkbox has to be
6993         resetted because of a non-nil ORDERED property value, make sure it
6994         had a checkbox already.
6996 2013-02-07  Tokuya Kameshima  <kametoku@gmail.com>  (tiny change)
6998         * org-agenda.el (org-search-view): Fix checking
6999         `org-agenda-show-inherited-tags'.
7001 2013-02-07  racin  <racin@free.fr>  (tiny change)
7003         * org-bibtex.el (org-bibtex-search): Don't throw an error when
7004         `org-bibtex-prefix' is nil.
7006 2013-01-13  Bastien Guerry  <bzg@gnu.org>
7008         * org-compat.el (org-condition-case-unless-debug): Delete.
7010         * org-odt.el (org-odt-cleanup-xml-buffers):
7011         Use `condition-case' instead of `org-condition-case-unless-debug',
7012         which is now deleted.
7014         * org-capture.el (org-capture-templates-contexts):
7015         * org-agenda.el (org-agenda-custom-commands-contexts):
7016         Docstring fix.
7018         * org.el (org-get-tags-at): Remove duplicate inherited tags.
7020         * org-agenda.el (org-agenda-show-inherited-tags): Allow to be set
7021         to 'always or to a list of agenda types.
7022         (org-agenda-finalize): Rework conditions under which inherited
7023         tags should be made available even when not displayed.
7024         (org-search-view, org-agenda-get-todos)
7025         (org-agenda-get-timestamps, org-agenda-get-sexps)
7026         (org-agenda-get-progress, org-agenda-get-scheduled)
7027         (org-agenda-get-blocks): Use new possible values of
7028         `org-agenda-show-inherited-tags'.
7030         * org.el (org-open-at-point): Fix opening all links at point.
7032         * org-agenda.el (org-get-entries-from-diary): Turn off
7033         `diary-file-name-prefix' instead of
7034         `diary-file-name-prefix-function', the former is checked before
7035         the latter.
7037         * org.el (org-edit-special): Check for table.el before checking
7038         for Org tables.
7040 2013-01-13  Michael Albinus  <michael.albinus@gmx.de>
7042         * ob-eval.el (org-babel-shell-command-on-region):
7043         Use `executable-find' for local `shell-file-name'.
7045 2013-01-09  Achim Gratz  <Stromeko@Stromeko.de>
7047         * org-faces.el: Define face alias mode-line for XEmacs (it's
7048         called modeline there).
7050         * org-compat.el (org-no-popups): New wrapper macro which let-binds
7051         the correct variables to suppress popup windows depending on the
7052         Emacs version in use.  This is a compile-time decision when
7053         byte-compiling.
7055         * org.el (org-get-location, org-switch-to-buffer-other-window):
7056         Use the wrapper `org-no-popups' to let-bind the correct variables
7057         for suppression of popup windows.
7059         * org-compat.el (user-error): Defalias to `error' for Emacsen that
7060         don't have it.
7062         * org-agenda.el (org-agenda-write): Use org-called-interactively-p
7063         instead of called-interactively-p.
7065         * org.el (org-find-invisible-foreground): Do not use the value of
7066         variables `default-frame-alist', `initial-frame-alist' and
7067         `window-system-default-frame-alist' when their symbol is not bound.
7069 2013-01-09  Bastien Guerry  <bzg@gnu.org>
7071         * org-src.el (org-edit-src-code): Fix bug when trying to edit a
7072         table.el table.
7074         * org-agenda.el (org-agenda-finalize): Inhibit readonly for the
7075         whole function.
7077         * org.el (org-entry-get): Speed up by let-binding some variables
7078         only if needed.  Also fix a bug: consider an empty drawer as no drawer.
7080         * org-agenda.el (org-search-view, org-agenda-get-todos)
7081         (org-agenda-get-timestamps, org-agenda-get-sexps)
7082         (org-agenda-get-progress, org-agenda-get-deadlines)
7083         (org-agenda-get-scheduled, org-agenda-get-blocks)
7084         (org-agenda-change-all-lines): Get local tags only.
7085         (org-agenda-use-tag-inheritance): New option.
7086         (org-agenda-finalize): When `org-agenda-use-tag-inheritance'
7087         is non-nil, possibly reset tags in the agenda buffer.
7088         (org-agenda-check-type): Enhance docstring.
7090         * org.el (org-use-tag-inheritance): Fix typo in docstring.
7092         * org-agenda.el (org-float): Don't alias `org-float'.
7094         * org.el (org-scan-tags): The skipper already checks for archived
7095         entries.
7097         * org.el (org-refresh-properties): Rename from
7098         `org-refresh-effort-properties' and use two new parameters.
7099         (org-agenda-prepare-buffers): Use `org-refresh-properties'.
7100         Also refresh the 'org-appt-warntime text property.
7102         * org-clock.el (org-clock-in): Use the renamed defun.
7104         * org-icalendar.el (org-icalendar-print-entries):
7105         Refresh the 'org-appt-warntime property.
7106         (org-icalendar-print-entries):
7107         * org-agenda.el (org-agenda-get-timestamps)
7108         (org-agenda-get-sexps, org-agenda-get-deadlines)
7109         (org-agenda-get-scheduled): Do not use `org-entry-get' to get the
7110         "APPT_WARNTIME" property value.
7112         * org.el (org-id-link-to-org-use-id): Fix compiler warning.
7114         * org-agenda.el (org-agenda-format-item): Do not use
7115         `org-get-effort' to get the effort text property.
7116         (org-agenda-get-sexps): Use `org-back-to-heading' when setting tags.
7118         * org-clock.el (org-clock-in): Refresh effort properties.
7120         * org.el (org-refresh-effort-properties): New defun.
7121         (org-get-effort): Delete.
7122         (org-set-effort):
7123         (org-property-next-allowed-value): Set the 'org-effort text property.
7124         (org-agenda-prepare-buffers): Refresh effort properties.
7126         * org.el (org-read-date): Let-bind `mouse-autoselect-window' to
7127         nil so that the mouse doesn't jump when the option is set to t globally.
7129         * org-agenda.el (org-agenda-dim-blocked-tasks): Default to nil.
7130         (org-agenda-dim-blocked-tasks): Make interactive and allow an
7131         optional parameter 'invisible to hide blocked tasks instead of
7132         just dimming them.
7133         (org-agenda-mode-map): Bind `org-agenda-dim-blocked-tasks' to "#".
7135         * org-agenda.el (org-agenda-finalize): Don't try to align tags
7136         when there are no tags.  Only try to draw the habit consistency
7137         graph when there is a habit in the buffer.  Only mark clocking
7138         task when there is one.
7140         * org.el (org-adaptive-fill-function): DTRT in `message-mode'.
7142         * org.el (org-get-priority): Save match data even when using
7143         `org-get-priority-function'.
7145         * org-mobile.el (org-mobile-create-index-file):
7146         Possibly normalize `org-todo-keywords'.
7148         * org-mobile.el (org-mobile-push): Use the correct agenda buffer names.
7150         * org.el (org-store-link): Use `org-id-link-to-org-use-id' instead
7151         of the obsolete variable name.
7153         * org.el (org-fontify-meta-lines-and-blocks-1):
7154         Fix bug when fontifying keywords with no value.
7156         * org.el (org-goto-auto-isearch): Enhance docstring.
7157         (org-goto-map): Make a defun, so that the customized value of
7158         org-goto-auto-isearch is correctly initialized.
7159         (org-goto): Initialize the keymap with `org-goto-map'.
7160         (org-get-location): Use *Org Help* as a temporary buffer.
7161         Tell whether auto-isearch is on or off.
7163         * org-exp.el (org-export-as-org): Remove useless argument.
7165         * org-docbook.el (org-export-as-docbook-batch)
7166         (org-export-region-as-docbook, org-export-as-docbook-pdf):
7167         Fix the number of arguments.
7168         (org-export-as-docbook): Remove useless argument.
7170         * org.el (org-speed-commands-default): Use ":" instead of ";" for
7171         `org-set-tags-command', which is consistent with ":" in agenda
7172         view.  Use "=" for `org-columns".
7174         * org.el (org-sparse-tree): Fix redundant information in prompt.
7176         * org-exp.el (org-export-string): Fix number of arguments passed
7177         to the org-export-as-* functions.
7179         * org-latex.el (org-export-as-latex): Fix typo in docstring.
7181         * org-list.el (org-cycle-include-plain-lists): Docstring enhancement.
7183         * org.el (org-fontify-meta-lines-and-blocks-1): Fix fontification
7184         bug when fontifying a keyword with no associated value.
7185         (org-cycle-internal-local): Don't run hooks when cycling a plain
7186         list before first headline.
7187         (org-ctrl-c-ctrl-c): Throw a user error when trying to toggle a
7188         blocked checkbox.
7189         (org-indent-line): Fix table formulas indenting.
7191         * org-agenda.el (org-agenda-open-link): Fix bug when no link is
7192         matched.  Return a message instead of an error.
7193         (org-agenda-priority): Remove useless parameter and fix showing
7194         priority in agenda buffers.
7196         * org-macs.el (org-with-buffer-modified-unmodified): New macro.
7198         * org.el (org-entry-blocked-p): Use the new macro.
7200         * org-src.el (org-edit-src-exit): Don't comma-escape the content
7201         of a fixed width region.
7203         * org.el (org-blocker-hook): Update the docstring to mention that
7204         functions in this hook should not modify the buffer.
7205         (org-trigger-hook): Small docstring fix.
7206         (org-entry-blocked-p): Use `with-buffer-modified-unmodified'
7207         so that the function never modifies the buffer.
7209         * org-agenda.el (org-agenda-open-link): Allow to open an internal
7210         link by using the new `org-offer-links-in-entry' function.
7212         * org.el (org-offer-links-in-entry): Do not open the link directly
7213         through `org-open-link-from-string', only offer to select a link
7214         and return a cons with the link (as a string) and the end of entry.
7215         (org-open-at-point): Use `org-offer-links-in-entry' correctly.
7217         * org.el (org-cycle-internal-local):
7218         Fix bug: allow headings with leading blank characters.
7220         * org-clock.el (org-clock-persist):
7221         Docstring fix: document the 'history value.
7223         * org.el (org-insert-link): Fix bug when inserting links to
7224         headlines containing the ">" character.
7226         * org-crypt.el (org-at-encrypted-entry-p): Fix search boundary.
7228         * org-compat.el (org-delete-directory): New compatibility function
7229         for Emacs 22, where `delete-directory' does not support recursive
7230         deletion.
7232         * org-odt.el (org-odt-cleanup-xml-buffers):
7233         Use the new compatibility function.
7235         * org.el (org-table-map-tables): Fix allowed blocks.
7237         * org.el (org-edit-special):
7238         * org-src.el (org-edit-src-code): Fix regression: allow editing
7239         HTML and LaTeX source blocks again.
7241         * org.el (org-nonsticky-props): Add `htmlize-link'.
7242         (org-nonsticky-props): Add `htmlize-link'.
7244         * org.el (org-edit-special):
7245         * org-src.el (org-edit-src-code): Don't edit in verbatim blocks.
7247         * org-table.el (org-table-fedit-lisp-indent)
7248         (orgtbl-self-insert-command): Use `org-delete-backward-char'
7249         instead of `backward-delete-char'.
7251         * org-src.el (org-edit-src-code): Fix another bug about editing
7252         special blocks "example" and "verbatim".
7254         * org.el (org-structure-template-alist): Add verbatim.
7255         (org-edit-special): Fix bug about editing special blocks
7256         "example" and "verbatim".
7258         * org.el (org-delete-backward-char, org-delete-char):
7259         Save match data, `delete-backward-char' and `delete-char' don't.
7261         * org.el (org-enable-table-editor, org-insert-heading)
7262         (org-remove-timestamp-with-keyword, org-self-insert-command):
7263         * org-table.el (org-table-fedit-lisp-indent)
7264         (orgtbl-self-insert-command):
7265         * org-latex.el (org-export-latex-subcontent):
7266         * org-clock.el (org-clocktable-write-default):
7267         * org-ascii.el (org-export-ascii-preprocess):
7268         Use `delete-backward-char' instead of `backward-delete-char'.
7270         * org.el (org-todo): Ignore the comment string when changing the
7271         TODO state of a headline.
7272         (org-edit-special): Fix docstring.
7273         (org-in-src-block-p): Small enhancement.
7275         * org-publish.el (org-publish-org-to): Call `org-export-as-*'
7276         functions with the correct list of arguments.
7278         * org-html.el (org-export-as-html): Delete obsolete arg `hidden'.
7279         (org-export-as-html-and-open, org-export-as-html-batch)
7280         (org-export-region-as-html): Don't use obsolete arg.
7282         * org-ascii.el (org-export-as-ascii): Delete obsolete arg `hidden'.
7283         (org-export-as-ascii-to-buffer): Don't use obsolete arg.
7285         * org.el (org-in-fixed-width-region-p): Save match data.
7286         (org-in-src-block-p): Use case-folding for searching the block
7287         boundaries.
7288         (org-activate-plain-links, org-activate-angle-links)
7289         (org-activate-bracket-links): Prevent link activation in
7290         source code blocks.
7292         * org-odt.el (org-odt-cleanup-xml-buffers): Fix Emacs Bug#13197 by
7293         setting the correct buffer before marking it unmodified to
7294         silently kill him.
7296         * org.el (org-set-font-lock-defaults): Don't activate links in
7297         source code blocks and fixed-width regions.
7299         * org-agenda.el (org-agenda-finalize): Fix links activation.
7301         * org.el (org-open-at-point): Throw the correct error on
7302         non-links.  Use `user-error' instead of `error'.
7304         * org.el (org-in-fixed-width-region-p): Define before use.
7306         * org-src.el (org-in-src-block-p): Declare function.
7308         * org-compat.el: Fix bug: don't use `eval-when-compile' when
7309         aliasing `user-error'.
7311         * org-agenda.el (org-agenda-skip): Only check if point is
7312         inside a code block, not at a code block.
7314         * org.el (org-in-fixed-width-region-p):
7315         Rewrite using org-element.el.
7317         * org.el (org-fill-paragraph): Fill correctly in source code block.
7319         * org.el (org-in-fixed-width-region-p): New function.
7320         (org-edit-special): Fix bug: make sure to DTRT in every
7321         special environment.  Also use the new function to check
7322         against fixed-width environment.
7324         * org-src.el (org-edit-src-code): Check if we are in a source code
7325         block with `org-in-src-block-p'.  Slightly reformat the docstring.
7327         * org.el (org-in-src-block-p): Return t when point is at the
7328         #+BEGIN_SRC/#+END_SRC lines unless the new optional parameter
7329         'inside is set to t.
7331         * ob-exp.el (obe-marker): Delete useless var.
7333         * org-src.el (org-edit-src-code): Fix bug triggered by the sexp
7334         (copy-marker nil) on Emacs <24.1.
7336 2013-01-09  Dmitry Antipov  <dmantipov@yandex.ru>
7338         * org-agenda.el (org-agenda-get-restriction-and-command):
7339         * org-capture.el (org-capture-place-template):
7340         * org-colview.el (org-dblock-write:columnview):
7341         * org-mobile.el (org-mobile-locate-entry):
7342         * org-table.el (org-table-convert-region):
7343         * org.el (org-update-statistics-cookies): Use `point-marker'.
7345 2013-01-09  Eric Schulte  <eric.schulte@gmx.com>
7347         * org-exp.el (org-export-string): Pass the dir option on through
7348         to any subsequent export functions.
7350 2013-01-09  Henning Weiss  <hdweiss@gmail.com>  (tiny change)
7352         * org-mobile.el (org-mobile-sumo-agenda-command): Remove match
7353         description from block agendas when they have a title.
7355 2013-01-09  Jambunathan K  <kjambunathan@gmail.com>
7357         * org-odt.el (org-export-as-odt-batch): Init `org-odt-zip-dir'.
7358         Fix Emacs Bug#13254.
7360         * org-odt.el (org-odt-format-org-link): Add check for presence of
7361         description in headline links.
7363 2013-01-09  Michael Gauland  <mike_gauland@stanfordalumni.org>  (tiny change)
7365         * org-src.el: Create a marker to pass to copy-marker.
7367 2013-01-09  Nicolas Goaziou  <n.goaziou@gmail.com>
7369         * org.el (org-setup-filling): Set `auto-fill-inhibit-regexp' to
7370         nil because `org-adaptive-fill-function' already determines which
7371         lines should be filled.
7373         * org.el (org-fill-paragraph): Small refactoring.
7375         * org-element.el (org-element--parse-elements)
7376         (org-element-at-point): Fix parsing of a list in a block in a list.
7378 2013-01-09  Sebastien Vauban  <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
7380         * org.el (org-copy-subtree, org-paste-subtree):
7381         Fix whitespace handling when copying/pasting a subtree.
7383 2012-12-20  Michael Albinus  <michael.albinus@gmx.de>
7385         * ob.el (org-babel-temp-file): Fix setting of
7386         `temporary-file-directory' on remote hosts.
7388         * ob-eval.el (org-babel-shell-command-on-region):
7389         Use `process-file' instead of `call-process-region'.  The latter one
7390         does not work on remote hosts.
7392 2012-12-13  Bastien Guerry  <bzg@gnu.org>
7394         * org-latex.el (org-export-latex-links): Escape raw path when
7395         exporting links to files.
7397         * org-src.el (org-src-native-tab-command-maybe): Fix bug: the
7398         S-TAB key should not trigger a native TAB command.
7400         * org.el (org-open-at-point): Allow to open any link within
7401         footnotes definition, not only bracket links.
7403         * org.el (org-sort-entries): Bugfix: keep track of the clock
7404         marker when sorting entries.  Enhance the docstring.
7406         * org-clock.el (org-clock-out): Use `user-error' when the user
7407         tries to clock out while there is no running clock.
7409         * org-table.el (org-table-sort-lines): Ensure coordinates are
7410         correctly displayed when sorting.
7412         * org.el (org-do-sort): Enhance prompt.
7414         * org-agenda.el (org-agenda-finalize): Also activate plain links.
7416         * org-timer.el (org-timer-stop): Add message.
7418         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
7419         Fix redundant messages.
7421         * org-agenda.el (org-agenda-finalize): Fix clock highlighting.
7423         * org.el (org-additional-option-like-keywords): Add "INDEX:".
7425         * org-install.el: Enhance warning.
7427 2012-12-13  Erik Hetzner  <egh@e6h.org>  (tiny change)
7429         * org.el (org-log-into-drawer): Honor the nil value for the
7430         :LOG_INTO_DRAWER: property.
7432 2012-12-13  Le Wang  <l26wang@gmail.com>  (tiny change)
7434         * org-src.el (org-edit-src-exit): Fix editing source section with
7435         blank lines.
7437 2012-12-13  Le Wang  <le.wang@agworld.com.au>
7439         * org-src.el (org-edit-src-code): Use marker with insertion type
7440         t to track end and remove hack requiring delete from beg to (1- end).
7442 2012-12-13  Nicolas Goaziou  <n.goaziou@gmail.com>
7444         * org-element.el (org-element-context): When point is between two
7445         objects, be sure to return the second one.
7447         * org-list.el (org-list-separating-blank-lines-number):
7448         When computing number of blank lines separating items, also count those
7449         in unparsed blocks, like example blocks.
7451         * org.el (org-end-of-line): When visual line mode is on, really
7452         move by visual lines.  Small refactoring.
7454         * org.el (org-end-of-line): On a hidden block make sure to
7455         delegate motion to `end-of-line' instead of `move-end-of-line' in
7456         order to stay on the current line.
7458 2012-12-13  Rafael Laboissiere  <rafael@laboissiere.net>  (tiny change)
7460         * org-bibtex.el: In the documentation section of the file, fix the
7461         broken URL to Andrew Roberts' document on BibTeX entries.
7463         * org-remember.el (org-remember-handler): Correctly strip the
7464         comment lines in the temporary buffer *Remember* when handling a
7465         remember note.
7467         * org-remember.el (org-remember-apply-template): Start the
7468         commented lines in the Remember temporary buffer with the
7469         appropriate characters.
7471 2012-12-13  Toby S. Cubitt  <tsc25@cantab.net>
7473         * org.el (org-beginning-of-line): Check `visual-line-mode' instead
7474         of `line-visual-mode' to determine whether to move by visual lines.
7476         * org.el (org-kill-line): Use the `org-bound-and-true-p' macro.
7478 2012-12-04  Chong Yidong  <cyd@gnu.org>
7480         * org-bibtex.el (org-bibtex-ask): Use visual-line-mode instead of
7481         longlines-mode.
7483 2012-10-26  Achim Gratz  <stromeko@stromeko.de>
7485         * ob-ditaa.el: Needs to (require 'org-compat) for
7486         org-find-library-dir.
7488         * org.el: Remove utf-8 codepoints in docstrings, bytecode doesn't
7489         work when loaded from compressed files.
7491         * org-compat.el: Make sure that file-name-directory is getting a
7492         stringp.  This avoids a possible " (wrong-type-argument stringp
7493         nil)" error when the library in question does not exist.
7495         * org-odt.el: Replace arc-mode.el by arc-mode.
7497         * org.el: Replace org-macs.el by org-macs.
7499         * org-install.el: Provide an empty file that prints a warning
7500         about an outdated configuration.
7502 2012-10-26  Bastien Guerry  <bzg@gnu.org>
7504         * org-latex.el (org-export-as-latex): Remove obsolete argument
7505         `hidden'.  Also fix the docstring: using 'string as the value
7506         for `to-buffer' outputs a string with no LaTeX header.
7507         (org-export-as-latex-batch)
7508         (org-export-as-latex-to-buffer, org-export-region-as-latex)
7509         (org-export-as-pdf): Don't use the obsoleted argument.
7511         * ob-haskell.el (org-export-as-latex): Don't use the obsoleted
7512         argument `hidden'.
7514         * org.el (org-refile): Run within `with-demoted-errors' so that a
7515         corrupted bookmark file does not stop the refile process.
7517         * org-capture.el (org-capture-bookmark-last-stored-position):
7518         Ditto for the capture process.
7520         * org-src.el (org-edit-src-exit): Fix bug when saving an empty
7521         source buffer.
7523         * org-lparse.el (org-lparse): Fix bug by returning the output
7524         of `org-do-lparse'.
7526         * org.el (org-refile-check-position): Throw an error when the
7527         refile target is the current buffer and is not a file.
7528         (org-agenda-file-to-front, org-remove-file): Throw an error
7529         when the current buffer is not a file.
7530         (org-check-agenda-file): Enhance the message.
7531         (org-element-type): Autoload.
7532         (org-element-context, org-element-paragraph-parser):
7533         Don't declare as these two functions are not used in org.el.
7535         * org-lparse.el (browse-url-file-url): Declare.
7537         * org.el (org-refile-check-position): Fix typo in docstring.
7539         * org-clock.el (org-clock-modeline-total): Make obsolete.
7540         (org-clock-mode-line-total): Rename from
7541         `org-clock-modeline-total'.
7542         (org-clock-get-sum-start): Fix references to
7543         `org-clock-modeline-total'.
7545         * org-faces.el (org-agenda-filter-tags)
7546         (org-agenda-filter-category, mode-line): Use the 'mode-line
7547         face instead of the obsolete 'modeline.
7549         * org-odt.el (org-odt-styles-dir): Try more directories.
7550         Don't throw an error, just send a message.
7552         * org-odt.el (org-odt-lib-dir, org-odt-data-dir)
7553         (org-odt-schema-dir-list, org-odt-styles-dir-list): Delete.
7554         (org-export-odt-schema-dir, org-odt-styles-dir): Infer the
7555         correct directories without requiring other variables.
7557         * org-loaddefs.el: New file.
7559         * org.el ("org-loaddefs.el"): Don't throw an error if the file
7560         cannot be fund.
7561         (org-version): Use org-loaddefs.el instead of org-install.el.
7563         * org.el: Don't dynamically autoload already autoloaded
7564         functions.
7565         (org-clock-update-time-maybe): Move to org-clock.el.
7567         * org-exp.el (org-insert-export-options-template):
7568         Remove autoload cookie.
7570         * org-clock.el (org-resolve-clocks, org-clock-in)
7571         (org-clock-out, org-clock-cancel, org-clock-goto)
7572         (org-clock-sum, org-clock-display, org-clock-report)
7573         (org-dblock-write:clocktable): Add autoload cookie.
7574         (org-clock-update-time-maybe): Move from org.el.
7576         * org-beamer.el (org-beamer-sectioning, org-beamer-mode): Ditto.
7578         * org-ascii.el (org-export-ascii-preprocess): Ditto.
7580         * org-archive.el (org-archive-subtree)
7581         (org-archive-to-archive-sibling, org-toggle-archive-tag):
7582         Add autoload cookie.
7584         * org-colview.el (org-columns, org-dblock-write:columnview)
7585         (org-insert-columns-dblock, org-agenda-columns): Ditto.
7587         * org-table.el (org-table-create-with-table.el)
7588         (org-table-create-or-convert-from-region, org-table-create)
7589         (org-table-convert-region, org-table-import)
7590         (org-table-export, org-table-align)
7591         (org-table-justify-field-maybe, org-table-next-field)
7592         (org-table-previous-field, org-table-next-row)
7593         (org-table-copy-down, org-table-field-info)
7594         (org-table-current-dline, org-table-goto-column)
7595         (org-table-insert-column, org-table-delete-column)
7596         (org-table-move-column-right, org-table-move-column-left)
7597         (org-table-move-column, org-table-move-row-down)
7598         (org-table-move-row-up, org-table-move-row)
7599         (org-table-insert-row, org-table-insert-hline)
7600         (org-table-hline-and-move, org-table-kill-row)
7601         (org-table-sort-lines, org-table-cut-region)
7602         (org-table-copy-region, org-table-paste-rectangle)
7603         (org-table-convert, org-table-wrap-region)
7604         (org-table-edit-field, org-table-sum)
7605         (org-table-get-stored-formulas)
7606         (org-table-maybe-eval-formula)
7607         (org-table-rotate-recalc-marks)
7608         (org-table-maybe-recalculate-line, org-table-eval-formula)
7609         (org-table-recalculate, org-table-iterate)
7610         (org-table-edit-formulas)
7611         (org-table-toggle-coordinate-overlays)
7612         (org-table-toggle-formula-debugger, orgtbl-to-generic)
7613         (orgtbl-to-tsv, orgtbl-to-csv, orgtbl-to-latex)
7614         (orgtbl-to-html, orgtbl-to-texinfo, orgtbl-to-orgtbl): Ditto.
7616         * org.el (turn-on-orgtbl): Move here from org-table.el.
7617         (org-clock-persistence-insinuate): Move here from org-clock.el.
7618         (org-update-all-dblocks, org-map-entries)
7619         (org-require-autoloaded-modules, org-forward-element)
7620         (org-backward-element, org-up-element)
7621         (org-element-greater-elements, org-drag-element-backward)
7622         (org-drag-element-forward, org-mark-element)
7623         (org-narrow-to-element, org-transpose-element)
7624         (org-unindent-buffer): Don't autoload.
7626         * org-clock.el (org-clock-get-clocktable): Rename from
7627         `org-get-clocktable'.
7628         (org-clock-persistence-insinuate): Move to org.el.
7630         * org-capture.el: Do no set `generated-autoload-file' locally.
7631         Minor code clean up.
7633         * org-agenda.el (org-agenda-list):
7634         Use `org-clock-get-clocktable'.  Do no set
7635         `generated-autoload-file' locally.
7637         * org-table.el (org-table-iterate-buffer-tables):
7638         Minor reformatting.
7639         (turn-on-orgtbl): Move to org.el.
7641         * org-html.el (org-export-htmlize-generate-css): Don't autoload.
7643         * org-timer.el (org-timer-pause-or-continue, org-timer-stop):
7644         Ditto.
7646         * ob-tangle.el (org-babel-tangle-lang-exts): Ditto.
7648         * ob-lob.el (org-babel-lob-ingest): Ditto.
7650         * org-id.el (org-id-copy)
7651         (org-id-get-with-outline-path-completion)
7652         (org-id-get-with-outline-drilling): Ditto.
7654         * org-lparse.el (org-lparse-and-open, org-lparse-batch)
7655         (org-lparse-to-buffer, org-replace-region-by)
7656         (org-lparse-region): Ditto.
7658         * org-mobile.el (org-mobile-create-sumo-agenda): Ditto.
7660         * org.el (org-cycle): Fix misplaced autoload cookie.
7662         * org-agenda.el (org-agenda-get-timestamps): Check if the item
7663         is an habit when formatting it with `org-agenda-format-item'.
7664         (org-agenda-get-blocks): Fix bug: don't assume the item is an
7665         habit when formatting with `org-agenda-format-item'.
7667         * org.el (org-calendar-agenda-action-key): Delete an option.
7668         (org-mode-map): Delete its keybinding.
7669         (org-agenda-action-marker, org-mark-entry-for-agenda-action):
7670         Delete.
7672         * org-agenda.el (org-agenda-diary-entry): Don't prevent from
7673         being used outside of Org agendas, as it can be used in
7674         calendar buffers too.
7676 2012-10-26  Caio Tiago Oliveira  <asrail@gmail.com>  (tiny change)
7678         * ob-scala.el (org-babel-scala-wrapper-method): Use a Scala
7679         block enclosing the submitted code.
7681 2012-10-26  Myles English  <mylesenglish@gmail.com>  (tiny change)
7683         * org-clock.el (org-clock-in): Move the call to
7684         org-clock-in-prepare-hook until the task's properties
7685         can be accessed.
7687 2012-10-26  Nicolas Goaziou  <n.goaziou@gmail.com>
7689         * org.el (org-auto-fill-function): Make sure `adaptive-fill-mode'
7690         mode is nil when pre-computed `fill-prefix' is the empty string.
7691         Otherwise filling functions from fill.el think it has to be computed
7692         again and overwrite it.
7694         * org.el: Make `org-closest-date' aware of hours repeaters.
7696         * org.el (org-end-of-line): Do not call `end-of-visual-line' when
7697         moving to the end of line.  Also improve behavior on elements that
7698         can be hidden.
7700         * org.el (org-sparse-tree): Allow to call `org-show-todo-tree'
7701         with an argument.
7703         * org-element.el (org-element--get-next-object-candidates):
7704         Fix parsing of objects of the same type in a single paragraph.
7706         * org-element.el (org-element-sub/superscript-successor):
7707         Fix parsing of sub/superscript at beginning of item.
7708         (org-element-latex-or-entity-successor): Fix parsing of latex
7709         fragments at beginning of item.
7711         * org-agenda.el (org-agenda-later): Fix function when span is
7712         a number and an argument was provided.  Also fix typo in docstring.
7714         * org.el (org-read-date-analyze): Fix analyzing for dates like
7715         "29.03 16:40".
7717         * org-element.el (org-element-center-block-parser)
7718         (org-element-drawer-parser, org-element-footnote-definition-parser)
7719         (org-element-inlinetask-parser, org-element-plain-list-parser)
7720         (org-element-quote-block-parser, org-element-special-block-parser)
7721         (org-element-babel-call-parser, org-element-clock-parser)
7722         (org-element-comment-parser, org-element-comment-block-parser)
7723         (org-element-example-block-parser, org-element-export-block-parser)
7724         (org-element-fixed-width-parser, org-element-horizontal-rule-parser)
7725         (org-element-keyword-parser, org-element-latex-environment-parser)
7726         (org-element-paragraph-parser, org-element-planning-parser)
7727         (org-element-property-drawer-parser, org-element-src-block-parser)
7728         (org-element-table-parser)
7729         (org-element-verse-block-parserorg-element-dynamic-block-parser):
7730         Make sure element never ends at the end of a blank non-empty line.
7732         * org-element.el (org-element-context)
7733         (org-element--get-next-object-candidates): Fix `org-element-context'.
7734         In particular, the restrictions for an object may be different from
7735         those of its container (i.e. table rows and table cells).
7737         * org-element.el (org-element-example-block-parser)
7738         (org-element-src-block-parser): Store value of example-blocks and
7739         src-blocks unescaped.
7740         (org-element-example-block-interpreter)
7741         (org-element-src-block-interpreter): Escape value again when storing
7742         it.
7744         * org-src.el (org-escape-code-in-string)
7745         (org-unescape-code-in-string, org-escape-code-in-region)
7746         (org-unescape-code-in-region): New functions.
7747         (org-edit-src-code, org-edit-src-exit): Use new functions.
7749         * org.el (org-strip-protective-commas): Remove function.
7751         * org-exp.el (org-export-select-backend-specific-text): Use new
7752         function.
7754         * ob.el (org-babel-parse-src-block-match)
7755         (org-babel-parse-inline-src-block-match, org-babel-insert-result):
7756         Always escape produced blocks, independently on the language of the
7757         block, if any.  Use new functions.
7759         * org-element.el (org-element-paragraph-parser): Fix regexp
7760         starting a block.
7762         * org-element.el (org-element-center-block-parser):
7763         (org-element-drawer-parser, org-element-dynamic-block-parser)
7764         (org-element-example-block-parser, org-element-export-block-parser)
7765         (org-element-latex-environment-parser, org-element-paragraph-parser)
7766         (org-element-property-drawer-parser, org-element-src-block-parser)
7767         (org-element-verse-block-parser): Use stricter regexps for boundaries
7768         of elements.
7770 2012-10-26  Toby S. Cubitt  <tsc25@cantab.net>
7772         * org-agenda.el (org-agenda-get-sexps): Reset `extra' to nil at
7773         beginning of re-search-forward loop, otherwise next iteration picks up
7774         `extra' value from previous entry.
7776 2012-09-30  Abdó Roig-Maranges  <abdo.roig@gmail.com>
7778         * org-html.el (org-export-html-preprocess)
7779         (org-export-html-format-image):
7780         Use `org-latex-preview-ltxpng-directory'.
7782         * org-odt.el (org-export-odt-do-preprocess-latex-fragments):
7783         Ditto.
7785         * org.el (org-latex-preview-ltxpng-directory): New option.
7786         (org-preview-latex-fragment): Store LaTeX preview images in
7787         `org-latex-preview-ltxpng-directory'.
7789 2012-09-30  Achim Gratz  <Stromeko@Stromeko.DE>
7791         * ob-R.el (org-babel-R-initiate-session): Protect against use of
7792         unbound variable `ess-ask-for-ess-directory´.  The default for this
7793         variable is true, so act accordingly if it is found unbound.
7795         * ob-R.el: Remove initialization with `nil´ from
7796         `ess-ask-for-ess-directory´ and `ess-local-process-name´.
7797         Remove second declaration for `ess-local-process-name´.
7799         * org-gnus.el: Add a missing require for gnus-util.
7801         * org-compat.el: Rename utils to make throughout.
7803         * org.el: Move check for outline-mode-keymap after (require
7804         'outline).
7806         * org-element.el: New file.  Do not (require 'org).
7808         * org-agenda.el: Remove duplicate requires.
7810         * org.el (org-mode-map): Add keybindings to
7811         `org-element-transpose' and `org-narrow-to-element'.
7812         (org-metaup): Fall back on `org-element-drag-backward'.
7813         (org-metadown): Fall back on `org-element-drag-forward'.
7814         Also move chunks of declarations and require statements to get rid of
7815         compiler warnings.
7817         * org-exp-blocks.el (org): Don't require org.  Add declarations.
7819         * org-clock.el (org): Don't require org.
7821         * ob-exp.el (org-list-forbidden-blocks): Add declarations.
7823         * ob.el (org-babel-exeext): New defconst to hold extension for
7824         executables or nil if none.  Should be ".exe" for both Windows and
7825         Cygwin.
7827         * ob-C.el (org-babel-C-execute): Use org-babel-exeext when
7828         constructing the target file name for the compiled executable.
7830         * ob-fortran.el (org-babel-execute:fortran): Add org-babel-exeext
7831         when constructing the target file name for the compiled
7832         executable.
7834         * org-version.el: New file.
7836         * org-compat.el (org-check-version): New macro.  Check if
7837         org-version.el exists and provide autoloads to that.  Otherwise
7838         check if org-fixup.el exists and use it to provide definitions.
7839         Finally if nothing worked, complain about a botched installation
7840         and provide fallback definitions.
7842         * org.el: Use org-check-version.
7844         * org.el: Fix a subtle error resulting in version functions
7845         sometimes not being defined and byte-compiling failing.
7846         Always compile in fallback definitions into org.elc -- org-fixup either
7847         provides re-definitions at compile-time or checks org-version.el
7848         and then the git work tree when run uncompiled.  So the fallback
7849         definitions will only come into effect when org-fixup is not
7850         available.
7852         * org.el (org-version): Make org-version more robust, e.g. when
7853         byte-compiling single files with 'make compile-dirty'.
7855         * org.el (org-reload): Revert an undesirable change in org-reload.
7856         Do not prepend org-dir to babel-files, which prevents the files
7857         from being found in load-path.
7859         * org.el (org-version): Add optional parameters 'full and 'message
7860         to optionally return the full version string and echo to message
7861         area in non-interactive calls.
7863         * org.el (org-submit-bug-report): Add optional parameter 'full to
7864         call of (org-version) so that the bug report has all version
7865         information.
7867         * org.el (org-reload): Simplify file-re (orgtbl-*.el files do not
7868         exist anymore).  Keep org-*.el at the end of the files list.
7869         Explicitly load org-version.el (since it doesn't provide feature
7870         'org-version) at the very end, but ignore errors when it doesn't
7871         exist.  Add parameters 'full and 'message to the call of
7872         (org-version) so that after reload the full version information is
7873         displayed in the message area again.
7875         * org-agenda.el: Replace with-no-warnings with org-no-warnings
7876         (defined in org-macs.el).
7878         * org-bbdb.el: Replace with-no-warnings with org-no-warnings
7879         (defined in org-macs.el).
7881         * org-clock.el: Replace with-no-warnings with org-no-warnings
7882         (defined in org-macs.el).
7884         * org.el: Replace with-no-warnings with org-no-warnings (defined
7885         in org-macs.el).
7887         * org.el: Add with-not-warnings around call of (org-fixup).
7889         * org-compat.el (org-find-library-dir):
7890         Rename org-find-library-name (misleading) and implement with a function
7891         that exists identically in Emacs/XEmacs.
7893         * org-exp-blocks.el: Change calls to org-find-library-dir.
7895         * org.el: change calls to org-find-library-dir.  Make require for
7896         noutline fail silently because it is missing from XEmacs.
7898         * org.el (org-version): Use functions instead of global variables
7899         to get the version strings and remove the defvaralias to
7900         org-version.  Warn when encountering a mixed installation (org and
7901         org-install.el should be found in the same directory).
7903         * org.el: Add with-no-warning to defvar for two unprefixed global
7904         variables from calendar.el (there's nothing else we can do inside
7905         org until it is fixed in calendar.el).
7907         * org.el: Require find-func and remove declare-function for
7908         find-library-name, otherwise autoloaded org-version doesn't show
7909         all info correctly.
7911         * org.el (org-version): Show the full path to org-install.el in
7912         the version string to avoid confusion if multiple installations
7913         exist or a previously loaded org-install.el has already defined a
7914         version string that is now out of date.
7916         * org.el (org-version): Remove determination of version
7917         information, show "N/A" if the information is not provided via
7918         org-install.el.
7920         * org.el (org-git-version): Placeholder for recording the Git
7921         version of org during install
7923         * org.el (org-version): Initialize local git-version with
7924         placeholder and fall through using it when org is not installed in
7925         a Git repository
7927 2012-09-30  Adam Spiers  <orgmode@adamspiers.org>  (tiny change)
7929         * org-html.el: Add hyperlink to http://orgmode.org/ from export
7930         footer.
7932         * org-clock.el (org-clock-modify-effort-estimate): Display a
7933         message when no clock is currently active.
7935 2012-09-30  Andrew Hyatt  <ahyatt@gmail.com>  (tiny change)
7937         * org-archive.el (org-archive-subtree): Allow archiving to a
7938         datetree.
7940         * org.el (org-archive-location): Ditto.
7942 2012-09-30  Bastien Guerry  <bzg@gnu.org>
7944         * ob-io.el: New file.
7946         * ob-scala.el: New file.
7948         * org.el (org-url-hexify-p, org-doi-server-url)
7949         (org-latex-preview-ltxpng-directory, org-custom-properties)
7950         (org-sparse-tree-default-date-type): Add :version "24.3".
7952         * org-agenda.el (org-agenda-sticky)
7953         (org-agenda-custom-commands-contexts): Ditto.
7955         * org-capture.el (org-capture-bookmark)
7956         (org-capture-templates-contexts) (org-capture-use-agenda-date):
7957         Ditto.
7959         * org-latex.el (org-export-latex-hyperref-options-format)
7960         (org-export-latex-link-with-unknown-path-format): Ditto.
7962         * org-id.el (org-id-link-to-org-use-id): Ditto.
7964         * org-datetree.el (org-datetree-add-timestamp): Ditto.
7966         * org.el (org-make-link-description-function): Enhance docstring.
7967         (org-insert-link): Fall back on interactive prompt when
7968         `org-make-link-description-function' fails.
7970         * org-agenda.el (org-todo-list): Fix redoing of todo agenda when
7971         `org-agenda-sticky' is non-nil.
7973         * org-agenda.el (org-agenda-quit): Delete last indirect buffer.
7974         (org-agenda-pre-follow-window-conf): New variable.
7975         (org-agenda-tree-to-indirect-buffer): Fix bug: don't split agenda
7976         window when there an indirect buffer is already displayed.
7978         * org-agenda.el (org-agenda-manipulate-query)
7979         (org-agenda-goto-date, org-agenda-goto-today)
7980         (org-agenda-find-same-or-today-or-agenda, )
7981         (org-agenda-later, org-agenda-change-time-span)
7982         (org-agenda-change-all-lines)
7983         (org-agenda-execute-calendar-command)
7984         (org-agenda-goto-calendar, org-agenda-convert-date): Make sure to
7985         get a property from (1- (point-max)), not (point-max)).
7987         * ob-dot.el (org-babel-execute:dot): Throw an error when there is
7988         no :file parameter.
7990         * org-table.el (org-table-eval-formula): Convert time-stamps to
7991         inactive time-stamp so that Calc can handle them correctly.
7993         * org-table.el (org-table-fix-formulas): Warn with a message when
7994         formulas have been updated.
7996         * org-publish.el (org-publish-cache-ctime-of-src): Delete the
7997         base-dir argument and use (file-name-directory file) to get the
7998         file's directory.
7999         (org-publish-update-timestamp)
8000         (org-publish-cache-file-needs-publishing):
8001         Call `org-publish-cache-ctime-of-src' with only one argument.
8003         * org.el (org-follow-timestamp-link): Fix bug when using sticky
8004         agenda.  Add a docstring.
8006         * org-agenda.el (org-agenda-sticky): Don't use a function to set.
8007         Add a :version string.
8009         * org.el (org-priority): Use a new argument to show priority
8010         instead of setting it.
8011         (org-show-priority): New function to show priority both in normal
8012         Org buffers and in Org Agenda buffers.
8013         (org-speed-commands-default): Use "," as a speed command for
8014         setting priority.
8016         * org-agenda.el (org-agenda-mode-map): Bind `org-agenda-priority'
8017         to `C-c ,' as it was before.
8018         (org-agenda-show-priority): Delete.
8019         (org-agenda-priority): Use a new argument to show priority instead
8020         of setting it.
8022         * org.el (org-font-lock-hook, org-set-font-lock-defaults): Add a
8023         docstring.
8024         (org-display-inline-remove-overlay): Rename from
8025         `org-display-inline-modification-hook'.
8026         (org-speed-command-activate): Rename from
8027         `org-speed-command-default-hook'.
8028         (org-babel-speed-command-hook): Rename from
8029         `org-babel-speed-command-activate'.
8031         * org-agenda.el (org-agenda-update-agenda-type): Rename from
8032         `org-agenda-post-command-hook'.
8033         (org-agenda-mode): Use the new name.
8034         (org-agenda-post-command-hook): Define as obsolete function.
8036         * org-lparse.el (org-lparse): Temporarily activate the hooks
8037         needed for the ODT conversion.
8038         (org-lparse-preprocess-after-blockquote): Rename from
8039         `org-lparse-preprocess-after-blockquote-hook'.
8040         (org-lparse-strip-experimental-blocks-maybe): Rename from
8041         `org-lparse-strip-experimental-blocks-maybe'.
8042         (org-lparse-preprocess-after-blockquote-hook)
8043         (org-lparse-strip-experimental-blocks-maybe-hook): Define as
8044         obsolete functions.
8046         * ob.el (org-babel-insert-result): Comma-escape results inserted
8047         with ":results org".
8049         * org-src.el (org-edit-src-code, org-edit-src-exit): Fix bug about
8050         saving the source editing window with the default value for
8051         `org-src-window-setup' (i.e. 'reorganize-frame).
8053         * org-src.el (org-src-font-lock-fontify-block): Fix bug: don't
8054         fontify the last character.
8056         * org.el (org-open-at-point): Don't follow timestamp within
8057         bracket links.
8059         * org-capture.el (org-capture-templates): Fix typo in docstring.
8061         * org-agenda.el (org-agenda-skip): Skip information retrieved from
8062         a source block.
8064         * ob.el (org-babel-common-header-args-w-values)
8065         (org-babel-insert-result): Reintroduce ":results org" but using
8066         "#+BEGIN_SRC org", not "#+BEGIN_ORG".
8068         * ob.el (org-babel-common-header-args-w-values): Remove "org" the
8069         list of predefined values for the ":results" parameter.
8071         * ob.el (org-babel-insert-result): Remove support for ":results
8072         org".
8074         * ob.el (org-babel-common-header-args-w-values)
8075         (org-babel-insert-result): Deprecate ":results wrap" in favor of
8076         ":results drawer".
8078         * org-crypt.el (org-at-encrypted-entry-p): Fix bug when the check
8079         happens before the first headline.
8081         * org-capture.el (org-at-encrypted-entry-p)
8082         (org-encrypt-entry, org-decrypt-entry): Declare.
8083         (org-capture-set-target-location): Check whether `org-crypt' has
8084         been loaded.
8086         * org-agenda.el (org-agenda-todo-custom-ignore-p): Fix typo in
8087         docstring.
8089         * org-capture.el (org-capture-finalize): Maybe re-encrypt the
8090         target headline if it was decrypted.
8091         (org-capture-set-target-location): Maybe decrypt the target
8092         headline.
8094         * org-crypt.el (org-at-encrypted-entry-p): New function.
8096         * org.el (org-options-keywords): Add "STYLE:".
8098         * org-agenda.el (org-agenda-ndays): Don't make an alias, as
8099         `org-agenda-span' is defined separately.
8101         * org.el (org-in-subtree-not-table-p): New utility function for
8102         building the menu.
8103         (org-org-menu): Add an item for refiling.  Check more contexts
8104         when activating items.
8105         (org-tree-to-indirect-buffer): Use `org-up-heading-safe'.
8107         * org-agenda.el (org-agenda-tree-to-indirect-buffer)
8108         (org-agenda-do-tree-to-indirect-buffer): Use argument `arg'.
8110         * org-capture.el (org-capture-set-target-location): Set a correct
8111         time value when storing a note in a datetree and prompting the
8112         user for a date.
8114         * org-capture.el (org-capture-mode): Fix bug: don't run the mode's
8115         hook twice.
8117         * org-agenda.el (org-agenda-menu-two-column)
8118         (org-finalize-agenda-hook, org-agenda-ndays):
8119         Use `define-obsolete-variable-alias' instead of
8120         `make-obsolete-variable'.
8122         * org.el (org-link-to-org-use-id): Move to org-id.el.
8124         * org-id.el (org-id-link-to-org-use-id): Rename from
8125         `org-link-to-org-use-id'.  Use `nil' as the default value.
8126         (org-link-to-org-use-id): Alias and define as obsolete.
8128         * org-agenda.el (org-search-view, org-agenda-get-todos)
8129         (org-agenda-get-timestamps, org-agenda-get-blocks): Use the dotime
8130         parameter of `org-agenda-format-item' so that 'time-up and
8131         'time-down agenda sorting strategies are handled correctly.
8133         * org-capture.el (org-capture-fill-template): Fix checking of
8134         protected template entries.
8136         * org.el (org-cycle-global-at-bob): Fix typo in docstring.
8138         * org.el (org-insert-drawer): Deactivate the mark before trying to
8139         indent the :END: of the drawer.
8141         * org-agenda.el (org-agenda-export-html-style): Default to nil as
8142         any string value will replace the htmlize style.
8144         * org.el (org-cycle-hook): Fix tiny typo in docstring.
8146         * org.el (org-time-string-to-time)
8147         (org-time-string-to-seconds, org-end-of-subtree): Add a dosctring.
8149         * org-freemind.el (org-freemind-write-node): Enhance links
8150         conversion in nodes.
8152         * org-freemind.el (org-freemind-write-node): Convert links in
8153         nodes.
8155         * org.el (org-link-to-org-use-id, org-directory)
8156         (org-default-notes-file, org-reverse-note-order)
8157         (org-extend-today-until, org-finish-function)
8158         (org-store-link-functions): Use "capture" instead of "remember" in
8159         docstrings.  Also use the `org-capture' group when it makes sense.
8161         * org-agenda.el (org-agenda-tree-to-indirect-buffer): Find the
8162         correct agenda buffer.  Don't split the agenda window when the
8163         indirect buffer is displayed in another frame.
8165         * org.el (org-mode): Try to set the org-hide face correctly.
8167         * org-exp.el (org-export): Set the mark correctly when exporting a
8168         subtree.
8170         * org-agenda.el (org-agenda-get-restriction-and-command): Fix the
8171         display of the number of commands for block agendas.
8173         * org-agenda.el (org-agenda-before-write-hook)
8174         (org-agenda-add-entry-text-maxlines): Enhance phrasing.
8175         (org-agenda-finalize-hook, org-agenda-mode-hook): Tell that the
8176         buffer is writable when the hook is called.
8177         (org-agenda-finalize): Allow org-agenda-finalize-hook to modify
8178         the buffer.
8180         * org-agenda.el (org-habit-show-all-today): Only use defvar to
8181         silent the byte-compiler.
8182         (org-agenda-get-scheduled): Check whether some org-habit.el
8183         options have been defined.
8185         * org-capture.el (org-capture-entry): New variable.
8186         (org-capture-string, org-capture): Use it to possibly skip the
8187         interactive prompt for a capture template.
8189         * org.el (org-activate-plain-links): Don't try to check if we are
8190         in a bracket link already.
8192         * org.el (org-read-date-analyze): Fix bug introduced in commit
8193         cc5f9f: adding a time should not prevent relative answers to be
8194         parsed correctly.
8196         * org-agenda.el (org-agenda-bulk-action): Always read the date
8197         through `org-read-date'.  When possible, use the date at point as
8198         the default date.
8200         * org-agenda.el (org-agenda-bulk-action): Fix bug when
8201         bulk-shifting timestamps.
8203         * org.el (org-version): New constant.
8205         * org-compat.el (org-random): New compatibility function.
8207         * org-id.el (org-id-uuid): Use it.
8209         * org-capture.el (org-capture-use-agenda-date): New option.
8210         (org-capture): Use it.
8212         * org-agenda.el (org-agenda-capture): New command.
8213         (org-agenda-mode-map): Bind it to `k'.
8214         (org-agenda-menu): Add it to the menu.
8216         * org-capture.el (org-capture): Update docstring.
8218         * org-capture.el (org-capture): When called from an agenda buffer,
8219         use the cursor date at the default date.
8221         * org-agenda.el (org-agenda-bulk-action): Use the let-bound
8222         `entries' instead the variable.
8224         * org-agenda.el (org-agenda-bulk-action): Fix bug: don't remove
8225         persistent marks too early.
8227         * org-agenda.el (org-agenda-bulk-action): Possibly use the day at
8228         point to reset the scheduled or deadline cookie.  On date headers,
8229         use it without prompting the user.  On an item, use the item's
8230         date as the default prompt for `org-read-date'.
8232         * org.el (org-read-date): Docstring fix.
8234         * org-agenda.el (org-agenda-bulk-action): Reorder possible actions
8235         in the message.
8237         * org-agenda.el (org-agenda-action, org-agenda-do-action): Delete.
8238         (org-agenda-mode-map): Delete related keys.
8240         * org-agenda.el (org-agenda-menu): Fix a keybinding.
8242         * org-colview.el (org-columns-goto-top-level): Correctly move the
8243         marker `org-columns-top-level-marker'.
8244         (org-agenda-columns): Don't set
8245         `org-agenda-overriding-columns-format' as a buffer variable, as we
8246         only need it dynamically.
8247         (org-agenda-colview-summarize): Fix a bug in returning the match
8248         string.
8250         * org-agenda.el (org-agenda-span-to-ndays): Make the second
8251         argument `starting-day' optional.
8252         (org-agenda-goto-date): Keep parameters of custom agendas.
8254         * org-agenda.el (org-agenda-list): Allow setting the agenda buffer
8255         name through a temporary variable.
8256         (org-agenda-buffer-tmp-name): New variable to temporary store the
8257         agenda buffer name.
8259         * org-agenda.el (org-agenda-goto-date): Fix behavior when using
8260         sticky agendas.
8262         * org-agenda.el (org-diary): Don't check whether there is an
8263         agenda buffer when trying to compile the prefix format.
8264         (org-compile-prefix-format): Check if there is an agenda buffer.
8265         If not, use the current buffer.
8267         * org-agenda.el (org-agenda-get-day-entries): Set the agenda
8268         buffer inconditionnally.
8270         * ob.el (org-babel-named-src-block-regexp-for-name): Generate a
8271         more general regexp.
8273         * ob.el (org-babel-where-is-src-block-head): Find a src block head
8274         correctly when #+header(s) is before #+name.
8276         * org-agenda.el (org-agenda-finalize-hook)
8277         (org-agenda-finalize, org-agenda-finalize-entries): Rename from
8278         org-finalize-agenda-*.
8279         (org-agenda-run-series, org-agenda-finalize, org-timeline)
8280         (org-agenda-list, org-search-view, org-todo-list)
8281         (org-tags-view, org-diary, org-agenda-finalize-entries)
8282         (org-agenda-change-all-lines): Use the new names.
8284         * org-agenda.el (org-agenda-local-vars):
8285         Remove ̀org-agenda-last-arguments' from the list of local variables.
8286         (org-agenda-mode-map): `g' does the same than `r' in buffers with
8287         only one agenda view, but its behavior differs when there are
8288         several views.  In manually appended agendas (with `A'), `g'
8289         displays only the agenda under the point.  With multiple agenda
8290         blocks, `g' reinitializes the view by discarding any temporary
8291         changes (e.g. with ̀f' or `w'), while ̀r' keeps those temporary
8292         changes for the agenda view under the point.
8293         (org-agenda-run-series, org-agenda-redo): Implement the above
8294         changes.
8295         (org-agenda-mark-header-line): Don't set useless properties.
8296         (org-agenda-list, org-todo-only, org-search-view)
8297         (org-todo-list, org-tags-view, org-agenda-list-stuck-projects)
8298         (org-agenda-manipulate-query, org-agenda-goto-today)
8299         (org-agenda-later, org-agenda-change-time-span): Use text
8300         properties for storing the last command and the last arguments for
8301         each agenda block.
8302         (org-unhighlight-once): Delete.
8304         * org-agenda.el (org-agenda-append-agenda): Fit agenda window to
8305         buffer.
8307         * org-agenda.el (org-agenda-append-agenda): Bugfix: correctly
8308         check whether we are in org-agenda-mode.
8310         * org-agenda.el (org-agenda-pre-window-conf): Rename from
8311         `org-pre-agenda-window-conf'.
8312         (org-agenda-local-vars, org-agenda-prepare-window)
8313         (org-agenda-Quit, org-agenda-quit): Use the new name.
8315         * org-agenda.el (org-keys, org-match): New variable, dynamically
8316         scoped in `org-agenda'.
8317         (org-agenda, org-agenda-list, org-search-view, org-todo-list)
8318         (org-tags-view): Use the new variables.
8319         (org-batch-store-agenda-views): Let-bind `match'.
8321         * org-agenda.el (org-search-view, org-todo-list)
8322         (org-tags-view): Do not let `org-agenda-sticky' prevent the use of
8323         these functions programmatically.  Also use the sticky agenda
8324         function correctly.
8326         * org-agenda.el (org-agenda): Set `org-agenda-buffer-name'
8327         correctly with sticky agendas and non-custom commands.
8329         * org-agenda.el (org-agenda-fit-window-to-buffer): Rename from
8330         `org-fit-agenda-window'.
8331         (org-agenda-run-series, org-agenda-prepare, org-agenda-list)
8332         (org-search-view, org-todo-list, org-tags-view): Use the new name.
8334         * org-agenda.el (org-agenda-prepare): Let `throw' display an
8335         error.
8337         * org-agenda.el (org-agenda-list): Fix bug: don't throw an error
8338         when called from programs as (org-agenda-list).
8340         * org-agenda.el (org-todo-list): Make arg optional.
8342         * org.el (org-agenda-prepare-buffers): Rename from
8343         `org-prepare-agenda-buffers'.
8344         (org-match-sparse-tree, org-map-entries): Use the new names.
8346         * org-agenda.el (org-agenda-prepare-window): Rename from
8347         `org-prepare-agenda-window'.
8348         (org-agenda-prepare): Rename from `org-prepare-agenda'.
8349         (org-agenda-run-series, org-agenda-prepare, org-timeline)
8350         (org-agenda-list, org-search-view, org-todo-list)
8351         (org-tags-view, org-agenda-list-stuck-projects, org-diary)
8352         (org-agenda-to-appt): Use the new names.
8354         * org-mobile.el (org-mobile-create-index-file): Ditto.
8356         * org-icalendar.el (org-export-icalendar): Ditto.
8358         * org-clock.el (org-dblock-write:clocktable)
8359         (org-dblock-write:clocktable): Ditto.
8361         * org-agenda.el (org-agenda): In sticky agendas, use the current
8362         command's match to set the buffer name.  This gives more
8363         information to the user and allows to distinguish various agendas
8364         triggered by the same key.
8365         (org-batch-store-agenda-views): Handle the new sticky agenda
8366         buffer name.
8368         * org-agenda.el (org-agenda)
8369         (org-agenda-get-restriction-and-command): Use `S' as a key for
8370         searching words in TODO-only entries.
8372         * org-agenda.el (org-prepare-agenda): Fit agenda window when
8373         displaying a sticky agenda.
8375         * org-table.el (org-table-number-regexp): Allow the user to set it
8376         to a new regexp, which allows commas as decimal mark.  The default
8377         is to not use this setting, but the one before commit 7ff8c1,
8378         which has ben reverted.
8380         * org-agenda.el (org-agenda-overriding-cmd)
8381         (org-agenda-multi-current-cmd)
8382         (org-agenda-multi-overriding-arguments): New variables.
8383         (org-agenda-run-series): `org-agenda-overriding-arguments'
8384         defaults to the last agenda block arguments, so don't use it
8385         globally.
8386         (org-agenda-mark-header-line): Add properties needed so that
8387         `org-agenda-overriding-arguments', `org-agenda-current-span' and
8388         `org-agenda-last-arguments' can be set to their correct contextual
8389         value.
8390         (org-agenda-multi-back-to-pos): New variable.
8391         (org-agenda-later): Retrieve `org-agenda-current-span' and
8392         `org-agenda-overriding-arguments' from text properties.
8393         Also handle numeric span.
8394         (org-agenda-later, org-agenda-change-time-span):
8395         Set `org-agenda-overriding-cmd' so that we to take overriding
8396         arguments into account for this command only.
8398         * org-agenda.el (org-agenda-kill, org-agenda-archive-with):
8399         Fix bug when called with a non-nil value of `org-agenda-stick'.
8401         * org-agenda.el (org-agenda-refile): Fix bug when refiling an
8402         entry from a sticky agenda.
8404         * org-agenda.el (org-prepare-agenda-window):
8405         Use `org-pre-agenda-window-conf' if already set.
8406         (org-agenda-Quit): Set `org-pre-agenda-window-conf' to nil when
8407         quitting.
8408         (org-agenda-quit): Ditto.
8410         * org-capture.el (org-capture-fill-template): Protect the text
8411         used for replacement from being further replaced.
8413         * org.el (org-contextualize-validate-key): Fix the check against a
8414         function.
8416         * org.el (org-contextualize-keys): Rename from
8417         `org-contextualize-agenda-or-capture'.  Fix normalization to
8418         handle empty key replacement string.
8419         (org-contextualize-validate-key): Rename from
8420         `org-contexts-validate'.  Allow checking against a custom
8421         function.
8423         * org-agenda.el (org-agenda-custom-commands-contexts): Update.
8424         (org-agenda): Use `org-contextualize-keys'.
8426         * org-capture.el (org-capture-templates-contexts): Ditto.
8428         * org.el (org-contextualize-agenda-or-capture):
8429         Normalize contexts.
8431         * org.el (org-contextualize-agenda-or-capture): Handle key
8432         replacement depending on the contexts.
8434         * org-capture.el (org-capture-templates-contexts): Allow to use
8435         the context as a way to replace one capture template by another
8436         one.
8438         * org-agenda.el (org-agenda-custom-commands-contexts): Allow to
8439         use the context as a way to replace one agenda custom command by
8440         another one.
8442         * org.el (org-contextualize-agenda-or-capture)
8443         (org-rule-validate): New functions, implement context filtering
8444         for agenda commands and capture templates.
8446         * org-agenda.el (org-agenda-custom-commands-contexts): New option.
8447         (org-agenda): Use it.
8449         * org-capture.el (org-capture-templates-contexts): New option.
8450         (org-capture-select-template): Use it.
8452         * org.el (org-beginning-of-defun, org-end-of-defun): Delete.
8453         (org-mode): Set `beginning-of-defun-function' and
8454         `end-of-defun-function' directly.
8456         * org.el (org-insert-link): Fix bug: include links abbreviations
8457         when completing.
8459         * org-icalendar.el (org-icalendar-print-entries): Fix bug: when
8460         `org-icalendar-use-plain-timestamp' is nil, scheduled and deadline
8461         items should not be ignored.
8463         * org.el (org-ds-keyword-length, org-make-tags-matcher):
8464         Docstring clean-up.
8466         * org-freemind.el (org-freemind-convert-links-from-org): Replace
8467         literally to prevent errors when replacing with string containing
8468         backslashes.
8470         * org-pcomplete.el (org-thing-at-point): Allow to match (and then
8471         complete) a "thing" containing dashes.
8473         * org-table.el (org-table-toggle-coordinate-overlays):
8474         Better message when interactively toggling.
8476         * org-table.el (org-table-number-regexp): Update the docstring to
8477         show an example of a decimal number using the comma as a
8478         separation mark.
8480         * org-agenda.el (org-prepare-agenda): Minor code clean-up.
8481         (org-agenda-filter-by-category): Filtering must be turned off only
8482         when a category filter has been set and this filter is not empty.
8484         * org-agenda.el (org-search-view, org-agenda-get-todos)
8485         (org-agenda-get-timestamps, org-agenda-get-sexps)
8486         (org-agenda-get-progress, org-agenda-get-deadlines)
8487         (org-agenda-get-scheduled, org-agenda-get-blocks):
8488         Use `category-pos' instead of `org-category-pos'.
8490         * ob-fortran.el (org-babel-fortran-transform-list): Rename from
8491         `ob-fortran-transform-list'.
8492         (org-babel-fortran-var-to-fortran): Use the new function's name.
8494         * ob-calc.el (org-babel-calc-maybe-resolve-var): Rename from
8495         `ob-calc-maybe-resolve-var'.
8496         (org-babel-execute:calc): Use the new function's name.
8498         * org-jsinfo.el (org-infojs-template): Add a license.
8499         (org-infojs-handle-options): Replace all template elements.
8501         * org-html.el (org-export-html-scripts): Add a license.
8502         (org-export-html-mathjax-config): Replace all template elements.
8503         (org-export-html-mathjax-template): Add a license.
8504         (org-export-as-html): Minor code clean-up.
8506         * org.el (org-options-keywords): Add "#+MATHJAX" and
8507         "#+INFOJS_OPT" to the list of keywords for completion.
8509         * org.el (org-src-prevent-auto-filling): Remove unused and useless
8510         option.
8512         * org.el (org-element-at-point): Autoload.
8513         (org-element-up): Remove useless declaration.
8514         (org-fill-context-prefix, org-fill-paragraph)
8515         (org-mark-element, org-narrow-to-element)
8516         (org-transpose-element, org-unindent-buffer): Do not require
8517         org-element.
8519         * org.el (org-fill-paragraph): Require org-element.
8521         * org-agenda.el (org-agenda-persistent-marks): Minor docstring
8522         enhancement.
8524         * org.el (org-create-math-formula): Use the compatibility function
8525         `org-region-active-p'.
8527         * org-odt.el (org-export-as-odf): Ditto.
8529         * ob.el (org-babel-demarcate-block): Ditto.
8531         * org.el (org-mark-subtree): Maybe call `org-mark-element'
8532         interactively.
8533         (org-mark-element): Only mark further elements when called
8534         interactively.
8536         * org.el (org-mark-element, org-narrow-to-element)
8537         (org-transpose-element): Require org-element.
8539         * org-agenda.el (org-agenda-get-timestamps)
8540         (org-agenda-get-sexps, org-agenda-get-deadlines)
8541         (org-agenda-get-scheduled): Add the 'warntime as a text property,
8542         getting its value from the APPT_WARNTIME property.
8543         (org-agenda-to-appt): Use the 'warntime text property.
8545         * org-capture.el (org-capture-place-table-line): Fix bug.
8547         * org.el (org-activate-plain-links): Don't activate a plain link
8548         when it is part of a bracketed link, unless bracketed links are
8549         not enlisted in `org-activate-links'.
8550         (org-open-at-point): Don't consider the text immediately after a
8551         bracketed link is part of a plain link.
8553         * org.el (org-compute-latex-and-specials-regexp)
8554         (org-paste-subtree, org-sort-entries, org-store-link)
8555         (org-open-at-point, org-file-remote-p, org-add-log-setup)
8556         (org-set-tags-to, org-fast-tag-selection)
8557         (org-diary-sexp-entry): Ditto.
8559         * org-agenda.el (org-agenda-get-blocks, org-cmp-priority)
8560         (org-cmp-effort, org-cmp-todo-state, org-cmp-alpha)
8561         (org-cmp-tag, org-cmp-time): Remove useless (t nil) sexps at the
8562         end of (cond ...) constructs.
8564         * org-mobile.el (org-mobile-create-index-file): Ditto.
8566         * org-lparse.el (org-lparse-format-table-row): Ditto.
8568         * org-list.el (org-sort-list): Ditto.
8570         * org-id.el (org-id-get): Ditto.
8572         * org-html.el (org-export-html-preprocess): Ditto.
8574         * org-exp.el (org-default-export-plist)
8575         (org-table-clean-before-export): Ditto.
8577         * org.el (org-options-keywords): Add "TODO".
8578         (org-make-options-regexp): Make the hashtag mandatory for options
8579         and don't allow whitespaces between the hashtag and the plus sign.
8581         * org.el (org-refresh-category-properties)
8582         (org-find-dblock, org-dblock-start-re, org-dblock-end-re):
8583         Allow lowercase "#+category" and "#+begin:" dynamic blocks.
8585         * org.el (org-context): Use case-folding when trying to match
8586         clocktables and source blocks contexts.
8588         * org-clock.el (org-clock-put-overlay): Put the overlay on the
8589         whole headline, not only on the last character.  This fixes a bug
8590         with overlays on headlines ending with a bracketed link.
8592         * org-html.el (org-export-as-html): Make sure we always process a
8593         string.
8595         * org-exp.el (org-export-cleanup-toc-line): Always return a
8596         string.
8598         * org.el (org-fontify-meta-lines-and-blocks-1): Correctly handle
8599         metalines with #+results[...]:.
8601         * org-exp.el (org-export-handle-metalines): Rename from
8602         `org-export-handle-table-metalines'.  Now also handle source block
8603         metalines.
8604         (org-export-res/src-name-cleanup): Delete.
8605         (org-export-preprocess-string): Use `org-export-handle-metalines'.
8606         Don't use `org-export-res/src-name-cleanup' anymore.
8608         * org-html.el (org-format-org-table-html): Don't include the
8609         caption tag for empty captions in HTML export.  Keep it in the
8610         DocBook export so that it produces valid DocBook XML.
8612         * org.el (org-read-date-analyze): Allow both "8am Wed" and "Wed
8613         8am" to be parsed correctly with respect to possible values of
8614         `org-read-date-prefer-future'.
8615         (org-read-date-prefer-future): Update docstring to remove the
8616         restriction about inserting only the time.  The user can now
8617         insert the time and the day.
8619         * org-icalendar.el (org-icalendar-print-entries): Rename from
8620         `org-print-icalendar-entries'.
8621         (org-icalendar-start-file): Rename from
8622         `org-start-icalendar-file'.
8623         (org-icalendar-finish-file): Rename from
8624         `org-finish-icalendar-file'.
8625         (org-icalendar-ts-to-string): Rename from `org-ical-ts-to-string'.
8626         (org-export-icalendar): Use the correct functions.
8628         * ob-ref.el (org-babel-ref-index-list): Fix bug introduced by
8629         commit e85479.
8631         * org.el (org-fill-context-prefix): Require org-element.
8632         (org-timestamp-change): Fix bug by saving excursion when adjusting
8633         another clock.
8635         * org.el (org-read-date-prefer-future): Fix docstring formatting.
8636         (org-read-date-analyze): Fix the interpretation of
8637         `org-read-date-prefer-future'.
8639         * org-agenda.el (org-agenda-menu-two-column): Rename to
8640         `org-agenda-menu-two-columns'.
8642         * ob.el (org-babel-sha1-hash, org-babel-noweb-p):
8643         Replace `org-labels' by `let*'.
8645         * org-bibtex.el (org-bibtex-headline): Ditto.
8647         * org-compat.el: Delete `org-labels'.
8649         * ob.el (org-babel-get-src-block-info)
8650         (org-babel-check-src-block, org-babel-current-result-hash)
8651         (org-babel-parse-src-block-match, org-babel-read-link)
8652         (org-babel-insert-result, org-babel-clean-text-properties):
8653         Use ̀org-no-properties' instead of `org-babel-clean-text-properties'.
8654         (org-babel-clean-text-properties): Delete redundant function
8655         `org-babel-clean-text-properties'.
8657         * ob-tangle.el (org-babel-tangle-collect-blocks)
8658         (org-babel-tangle-comment-links): Ditto.
8660         * ob-table.el (sbe): Ditto.
8662         * ob-lob.el (org-babel-lob-get-info)
8663         (org-babel-lob-execute): Ditto.
8665         * ob-exp.el (org-babel-exp-non-block-elements): Ditto.
8667         * org-macs.el (org-no-properties): Allow a new parameter
8668         `restricted' to restrict the properties removal to those in
8669         `org-rm-props'.  The default is now to remove all properties.
8671         * org-compat.el (org-substring-no-properties): Remove unused
8672         defun.
8674         * org-remember.el (org-remember-apply-template): Remove redundant
8675         removal of text properties.
8676         (org-remember-apply-template): Use `org-no-properties'.
8678         * org-capture.el (org-capture-fill-template): Remove redundant
8679         removal of text properties.
8680         (org-capture-fill-template): Use `org-no-properties'.
8682         * org-gnus.el (org-gnus-open, org-gnus-follow-link):
8683         Use `org-no-properties'.
8685         * org-colview.el (org-columns-display-here): Ditto.
8687         * org-table.el (org-table-eval-formula): Ditto.
8689         * org.el (org-entry-properties): Ditto.
8691         * org-icalendar.el (org-print-icalendar-entries): Fix bug about
8692         handling `alarm-time'.
8694         * ob-R.el (org-babel-edit-prep:R): Don't set the session.
8696         * org.el (org-store-log-note): Only skip comments starting with "#
8697         " when storing a note.
8699         * org.el (org-custom-properties): New option.
8700         (org-custom-properties-overlays): New variable.
8701         (org-toggle-custom-properties-visibility): New command to toggle
8702         the visibility of custom properties.
8703         (org-check-before-invisible-edit): Also prevent errors when trying
8704         to edit invisible properties.
8706         * org-datetree.el (org-datetree-add-timestamp): New option.
8707         (org-datetree-insert-line): Use it.
8709         * org.el (org-fill-template): Fix bug when filling template for a
8710         key associated to the nil value.
8712         * org-agenda.el (org-diary): Fix tiny typo.
8714         * org.el (message-in-body-p): Move declaration up to fix compiler
8715         warning.
8717         * org.el (org-fill-context-prefix): Fix auto-filling in
8718         `message-mode'.
8720         * org.el (org-fill-paragraph): Correctly fill paragraph in
8721         message-mode.
8722         (org-indent-line): Correctly indent according to mode when
8723         `orgstruct++-mode' is on.
8724         (orgstruct++-mode): Add `fill-prefix' to the variable temporarily
8725         stored in `org-fb-vars'.
8727         * org.el (org-fill-paragraph): Make a command.  Fix bug about
8728         filling message headers and citations.
8730         * org.el (org-redisplay-inline-images): New command.
8731         (org-mode-map): Bind it to C-c C-x C-M-v.
8733         * org-colview.el (org-columns-get-format-and-top-level): Fix bug.
8734         (org-columns-get-format): Fix compiler warning.
8736         * org-feed.el: Add declarations.
8738         * org-agenda.el (org-agenda-get-sexps): Use `org-get-tags-at' to
8739         allow tag inheritance.
8741         * org-capture.el (org-capture): Fix bug introduced by commit
8742         1737d3.
8744         * org-publish.el (org-publish-needed-p)
8745         (org-publish-update-timestamp, org-publish-file)
8746         (org-publish-cache-file-needs-publishing): New argument
8747         `base-dir'.
8748         (org-publish-cache-ctime-of-src): Use the new argument to make
8749         sure we find the file according to :base-directory.
8751         * org-capture.el (org-capture-string): New command to prompt for
8752         the interactive text interactively.  This can also be used in
8753         Elisp programs to use ̀org-capture' with some initial text.
8754         (org-capture-initial): New variable to store the initial text.
8755         (org-capture): Use `org-capture-initial'.
8757         * org.el (org-emph-re): Tiny docstring formatting fix.
8759         * org-compat.el (org-labels): Remove.
8761         * org-bibtex.el (org-bibtex-headline): Don't use `org-labels'.
8763         * ob.el (org-babel-sha1-hash, org-babel-noweb-p): Ditto.
8765         * org.el (org-emph-re): Tiny formatting fix.
8767         * org.el (orgstruct-setup): Require `org-element'.
8769         * org.el (org-store-link, org-open-at-point): New link type
8770         "help".
8772         * org-compat.el (org-flet): Remove alias.
8774         * ob.el (org-babel-edit-distance, org-babel-sha1-hash)
8775         (org-babel-get-rownames, org-babel-insert-result)
8776         (org-babel-merge-params)
8777         (org-babel-expand-noweb-references): Don't use `org-flet'.
8778         Also indent some functions correctly.
8780         * ob.el (org-babel-execute-src-block)
8781         (org-babel-join-splits-near-ch, org-babel-format-result)
8782         (org-babel-examplize-region): Don't use `org-flet'.
8783         (org-babel-tramp-handle-call-process-region): Fix typo.
8785         * ob-awk.el (org-babel-awk-var-to-awk): Don't use `org-flet'.
8787         * ob-sh.el (org-babel-sh-var-to-string): Ditto.
8789         * ob-tangle.el (org-babel-tangle, org-babel-spec-to-string):
8790         Don't use `org-flet'.
8792         * org-pcomplete.el (org-compat): Require.
8794         * ob-tangle.el (org-babel-load-file): Don't use `org-flet'.
8796         * org-bibtex.el (org-bibtex-write): Use let*.
8798         * org-plot.el (org-plot/gnuplot-script): Don't use `org-flet'.
8800         * org-bibtex.el (org-bibtex-headline, org-bibtex-fleshout)
8801         (org-bibtex-read, org-bibtex-write): Don't use `org-flet'.
8803         * org-clock.el (org-clock-cancel): Use `org-looking-back'.
8805         * org-pcomplete.el (org-thing-at-point): Ditto.
8807         * org.el (org-timestamp-change): Ditto.
8809         * org-mouse.el (org-mouse-timestamp-today)
8810         (org-mouse-set-priority, org-mouse-popup-global-menu)
8811         (org-mouse-context-menu): Don't use ̀org-flet'.
8813         * org.el (org-priority): Fix docstring.
8815         * org-publish.el (org-publish-write-cache-file)
8816         (org-publish-initialize-cache)
8817         (org-publish-cache-file-needs-publishing)
8818         (org-publish-cache-get): Small code clean-up.
8820         * org-publish.el (org-publish-cache-ctime-of-src): Simplify.
8822         * org-agenda.el (org-agenda-get-sexps): Add a 'tags property for
8823         agenda entries created from sexps.
8825         * org-capture.el (org-capture-templates): Docstring clean up.
8826         (org-capture-place-entry, org-capture-place-item)
8827         (org-capture-place-plain-text, org-capture-place-table-line):
8828         Ensure to always position the point according to %?.
8830         * org-table.el (org-table-convert-refs-to-rc): Fix bug when
8831         converting remote table references.
8833         * org-agenda.el (org-agenda-switch-to): Run hooks in
8834         ̀org-agenda-after-show-hook'.
8836         * ob-ref.el (org-babel-ref-index-list): Use let* and rename the
8837         variable `length' to `lgth'.
8839         * org-plot.el (org-plot/gnuplot-to-grid-data): Don't use
8840         ̀org-flet'.
8842         * org-exp.el (org-export-format-source-code-or-example): Ditto.
8844         * org-exp-blocks.el (org-export-blocks-preprocess): Ditto.
8846         * ob.el (org-babel-view-src-block-info)
8847         (org-babel-execute-src-block, org-babel-edit-distance)
8848         (org-babel-switch-to-session-with-code)
8849         (org-babel-balanced-split, org-babel-insert-result): Ditto.
8851         * ob-ref.el (org-babel-ref-index-list): Ditto.
8853         * ob-python.el (org-babel-python-evaluate-session): Ditto.
8855         * ob-lob.el (org-babel-lob-get-info): Ditto.
8857         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Ditto.
8859         * ob-exp.el (org-babel-exp-do-export): Ditto.
8861         * org-table.el (orgtbl-to-generic): Fix docstring.
8863         * org-clock.el (org-clock-in): Call `org-clock-out' with the new
8864         argument `switch-to-state' set to nil.  Fix docstring.
8865         (org-clock-in-last): Prompt for a todo state to switch to when
8866         called with three universal prefix arguments.  Don't display a
8867         message when the clock is already running.  Update docstring.
8868         (org-clock-out): New argument `switch-to-state'.  When this
8869         argument is non-nil, prompt for a state to switch the clocked out
8870         task to, overriding `org-clock-out-switch-to-state'.
8872         * org.el (org-entry-get): Don't use `org-flet'.
8874         * org.el (org-forward-heading-same-level): Rename from
8875         `org-forward-same-level'.
8876         (org-backward-heading-same-level): Rename from
8877         `org-backward-same-level'.
8879         * org.el (org-forward-element): Rename from `org-element-forward'.
8880         (org-backward-element): Rename from `org-element-backward'.
8881         (org-up-element): Rename from `org-element-up'.
8882         (org-down-element): Rename from `org-element-down'.
8883         (org-drag-element-backward): Rename from
8884         `org-element-drag-backward'.
8885         (org-drag-element-forward): Rename from
8886         `org-element-drag-forward'.
8887         (org-mark-element): Rename from `org-element-mark-element'.
8888         (org-transpose-element): Rename from `org-element-transpose'.
8889         (org-unindent-buffer): Rename from `org-element-unindent-buffer'.
8890         (org-mode-map): Update the names of a commands.  Remove useless
8891         declarations.
8893         * org-element.el (org-element-forward, org-element-backward)
8894         (org-element-up, org-element-down)
8895         (org-element-drag-backward, org-element-drag-forward)
8896         (org-element-mark-element, org-narrow-to-element)
8897         (org-element-transpose, org-element-unindent-buffer): Move to
8898         org.el.
8900         * org.el (org-forward-same-level): Fix typo in docstring.
8902         * org-agenda.el (org-agenda-mode-map):
8903         Bind `org-agenda-show-priority' to `C-c,' instead of `P'.
8904         (org-agenda-next-item, org-agenda-previous-item): New commands to
8905         move by one item down/up in the agenda.
8906         (org-agenda-mode-map): Bind `org-agenda-next-item' and
8907         `org-agenda-previous-item' to `N' and `P' respectively.
8909         * org-rmail.el (org-rmail-store-link, org-rmail-follow-link):
8910         Toggle headers when necessary.
8912         * org-element.el (org-narrow-to-element): Autoload.
8914         * org.el (org-mode-map): Use `M-h' for `org-element-mark-element'.
8915         (org-mark-subtree): Allow a numeric prefix argument to move up
8916         into the hierarchy of headlines.
8918         * org-element.el (org-element-up, org-element-down): Autoload.
8920         * org.el: Declare functions and don't require org-element.
8922         * org-element.el (org-element-at-point, org-element-forward)
8923         (org-element-backward, org-element-drag-backward)
8924         (org-element-drag-forward, org-element-mark-element)
8925         (org-element-transpose, org-element-unindent-buffer): Autoload.
8926         Require 'org and remove all declarations.
8928         * org.el (org-outline-regexp-bol, org-heading-regexp):
8929         Use variables instead of constants.
8931         * org-archive.el (org-datetree-find-date-create): Declare.
8933         * org.el (org-open-at-point): Only set
8934         `clean-buffer-list-kill-buffer-names' when the feature 'midnight
8935         has been loaded.
8937         * org-icalendar.el (org-print-icalendar-entries):
8938         Let APPT_WARNTIME take precedence over ̀org-icalendar-alarm-time'.
8940         * org.el (org-special-properties): New special property
8941         CLOCKSUM_T.
8942         (org-entry-properties): Handle the new special property.
8944         * org-colview.el (org-columns): Handle a new special property
8945         CLOCKSUM_T.
8946         (org-agenda-colview-summarize, org-agenda-colview-compute): Ditto.
8948         * org-clock.el (org-clock-sum-today): New function.
8949         (org-clock-sum): New argument PROPNAME to set a custom text
8950         property instead of :org-clock-minutes.
8952         * org-agenda.el (org-agenda-check-type): Throw a more appropriate
8953         error message when no agenda is currently being displayed.
8955         * org.el (org-get-property-block): Find blocks before the first
8956         headline.
8957         (org-entry-properties): Minor code cleanup.
8958         (org-entry-get, org-entry-get-with-inheritance): Get property
8959         before the first headline.
8961         * org-mobile.el (org-mobile-create-index-file): Use `files-alist'.
8963         * org.el (org-make-link): Delete.
8964         (org-store-link, org-insert-link)
8965         (org-file-complete-link): Don't use `org-make-link'.
8967         * org-wl.el (org-wl-store-link-folder)
8968         (org-wl-store-link-message): Ditto.
8970         * org-vm.el (org-vm-store-link): Ditto.
8972         * org-rmail.el (org-rmail-store-link): Ditto.
8974         * org-mhe.el (org-mhe-store-link): Ditto.
8976         * org-mew.el (org-mew-store-link): Ditto.
8978         * org-irc.el (org-irc-erc-store-link): Ditto.
8980         * org-info.el (org-info-store-link): Ditto.
8982         * org-id.el (org-id-store-link): Ditto.
8984         * org-gnus.el (org-gnus-group-link, org-gnus-article-link): Ditto.
8986         * org-eshell.el (org-eshell-store-link): Ditto.
8988         * org-bbdb.el (org-bbdb-store-link): Ditto.
8990         * org.el (org-url-hexify-p): New option.  When non-nil (the
8991         default), hexify URLs when creating a link.
8993         * org.el (org-insert-link): Make sure point is at the beginning of
8994         the buffer.
8996         * org.el (clean-buffer-list-kill-buffer-names): Declare.
8997         (org-open-at-point): Allow opening multiple shell links by
8998         creating a new output buffer for each shell process.  The new
8999         buffer is added to `clean-buffer-list-kill-buffer-names'.
9001         * org-mobile.el (org-mobile-create-index-file):
9002         Use `org-global-tags-completion-table' instead of
9003         `org-tag-alist-for-agenda' to get the tags for the index file.
9005         * org.el (org-global-tags-completion-table): Fix typo in
9006         docstring.
9008         * org.el (org-link-to-org-use-id): Use `org-capture' instead of
9009         `org-remember' in the docstring.
9010         (org-link-fontify-links-to-this-file): New function to fontify
9011         links to the current buffer in `org-stored-links'.
9012         (org-store-link): Small code simplification.
9013         (org-link-prettify): Enclose literal links into <...> instead of
9014         [[...]].
9015         (org-insert-link): Use `org-link-fontify-links-to-this-file'.
9016         Also allow completion over links' descriptions, as well as links
9017         destinations.  When the user uses the description for completion,
9018         don't prompt again for a description.
9020         * org-capture.el (org-capture-templates): Fix docstring by adding
9021         Gnus to the list of mail clients.
9023         * org.el (org-log-repeat): Enhance docstring.
9025         * org.el (org-mode-map): Don't bind C-<up> and C-<down> to
9026         `org-element-backward/forward' as these functions stops when there
9027         is no element of the same type before/after point.  It is useful
9028         to navigate with `forward/backward-paragraph' with no stop in most
9029         cases.
9031         * org-capture.el (org-capture-templates): New template %l to
9032         insert the literal link pointing at the current buffer.
9034         * org.el (org-todo-keywords): Ditto.
9036         * org.el (org-fill-paragraph): Falls back on
9037         `message-fill-paragraph' if required in `message-mode'.
9039         * org-pcomplete.el (pcomplete/org-mode/file-option/x): New macro.
9040         (pcomplete/org-mode/file-option/options)
9041         (pcomplete/org-mode/file-option/title)
9042         (pcomplete/org-mode/file-option/author)
9043         (pcomplete/org-mode/file-option/email)
9044         (pcomplete/org-mode/file-option/date): Use the new macro to offer
9045         completion over default values for #+OPTIONS, #+TITLE, #+AUTHOR,
9046         #+EMAIL and #+DATE.
9048         * org-agenda.el (org-agenda-write): Fix bug when writing agenda to
9049         an external file while `org-agenda-sticky' is non-nil.
9051         * org.el (org-speed-commands-default): New speedy command to
9052         quickly add the :APPT_WARNTIME: property.
9054         * org-agenda.el (org-agenda-to-appt): Use the :APPT_WARNTIME:
9055         property to override `appt-message-warning-time' when adding an
9056         appointment from an entry.
9058         * org.el (org-version): Improve docstring.
9059         (org-self-insert-cluster-for-undo): The default value should be
9060         nil for Emacs >=24.1.  See bug#11774.
9062         * org.el (org-fontify-meta-lines-and-blocks-1): Fix previous
9063         commit.
9065         * org.el (org-options-keywords): New constant.
9066         (org-additional-option-like-keywords): Remove duplicates with
9067         keywords in the new constant.
9068         (org-additional-option-like-keywords-for-flyspell): Use the new
9069         constant.
9070         (org-mode-flyspell-verify): Exclude keywords from the new
9071         constant.
9073         * org-pcomplete.el (pcomplete/org-mode/file-option):
9074         Use `org-options-keywords'.
9076         * org.el (org-toggle-heading): Bugfix: use
9077         `org-element-mark-element' instead of `org-mark-list'.
9079         * org-list.el (org-mark-list): Delete.
9081         * org.el: Update a few keybindings.
9083         * org-element.el (org-element-down): Throw an error when the
9084         element has no content.
9086         * org-table.el (orgtbl-radio-table-templates): Add a template for
9087         org-mode.
9088         (orgtbl-to-orgtbl): Complete and align the table created with
9089         orgtbl-to-orgtbl, in case the user use the function for radio
9090         tables.
9091         (orgtbl-to-table.el): New function to export a table to another
9092         one using the table.el format.
9093         (orgtbl-to-unicode): New function to export a table using unicode
9094         characters.
9096         * org-exp.el (org-export-language-setup): Use "Sommaire" for the
9097         french translation of "Table of contents", to avoid a possible bug
9098         when exporting to ODT.
9100         * org.el (org-additional-option-like-keywords): Add keywords.
9101         (org-additional-option-like-keywords-for-flyspell): New constant
9102         to use with flyspell.
9103         (org-mode-flyspell-verify): Use the dedicated constant and don't
9104         check `org-startup-options'.
9106         * org-agenda.el (org-batch-store-agenda-views): Use the sticky
9107         agenda buffer name, if required.
9108         (org-agenda-write): New parameter `agenda-bufname' to allow
9109         setting the agenda buffer name.
9111         * org.el (org-mode-map): Add keybindings for
9112         `org-element-forward', `org-element-backward', `org-element-up'
9113         and `org-element-down'.
9115         * org.el (org-auto-fill-function): Don't call `do-auto-fill'
9116         within (org-let org-fb-vars ...) as `do-auto-fill' should do the
9117         right thing whether orgstruct++-mode is turned on or off.
9119         * org.el (org-sparse-tree-default-date-type): New option.
9120         (org-ts-type): New variable.
9121         (org-sparse-tree): New argument `type'.  Use the new option
9122         `org-sparse-tree-default-date-type' as the default value for
9123         `type'.  Fix docstring.
9124         (org-re-timestamp): New function.
9125         (org-check-before-date, org-check-after-date)
9126         (org-check-dates-range): Use `org-ts-type' and `org-re-timestamp'
9127         to tell compute the date regexp.
9129         * org.el (orgstruct++-mode, org-get-local-variables): Also set
9130         `normal-auto-fill-function' when turning on/off orgstruct++-mode.
9132         * org-agenda.el (org-agenda-start-with-log-mode): Add relevant
9133         customization types.
9135         * org-faces.el (org-document-title): Use the normal height.
9137         * org-clock.el (org-x11idle-exists-p): New variable.
9138         (org-user-idle-seconds): Use it.
9140         * org.el (org-mode-map): Rebind `org-insert-all-links' to `C-c
9141         C-M-l'.
9143         * org.el (org-insert-all-links): New command.
9144         (org-insert-link): `org-keep-stored-link-after-insertion' is now
9145         checked when the link to insert has been defined, regardless on
9146         how it has been defined.  Also don't read the description
9147         interactively when the `default-description' parameter was given.
9148         (org-mode-map): Bind `org-insert-all-links' to `C-c C-L'.
9150         * org.el (org-inc-effort): New command to increment the effort
9151         property.
9152         (org-set-effort): Use it.
9153         (org-mode-map): Bind it to `C-c C-x E'.
9154         (org-speed-commands-default): Use `E' as a speed command for it.
9156         * org.el (org-re-property-keyword): New function.
9157         (org-entry-put): Use it to fix a bug with respect to setting the
9158         value of a property when a property line with no value already
9159         exists.
9161         * org.el (org-timestamp-change): Adjust clock in other org files
9162         correctly.
9164         * org-clock.el (org-user-idle-seconds): Simplify.
9166         * org.el (org-mode-map): Bind `org-resolve-clocks' to `C-c C-x
9167         C-z'.
9169         * org.el (org-mode-map): Add keybindings to
9170         `org-element-transpose' and `org-narrow-to-element'.
9171         (org-metaup): Fall back on `org-element-drag-backward'.
9172         (org-metadown): Fall back on `org-element-drag-forward'.
9173         Also move chunks of declarations and require statements to get rid of
9174         compiler warnings.
9176         * org-exp-blocks.el (org): Don't require org.  Add declarations.
9178         * org-clock.el (org): Don't require org.
9180         * ob-exp.el (org-list-forbidden-blocks): Add declarations.
9182         * org.el (org-timestamp-change): Don't use the `position'.
9184         * org.el (org-clock-history, org-clock-adjust-closest):
9185         New variables.
9186         (org-timestamp-change): Maybe adjust the next or previous clock in
9187         `org-clock-history'.
9188         (org-shiftmetaup, org-shiftmetadown): On clock logs, update the
9189         timestamp at point and adjust the next or previous clock in
9190         `org-clock-history', when possible.
9192         * org-clock.el (org-clock-in): Set the marker for
9193         `org-clock-history' at a safer position.
9195         * org-timer.el (org-timer-pause-or-continue, org-timer-stop):
9196         Autoload.
9198         * org-mobile.el (org-mobile-post-pull-hook): Fix docstring.
9200         * org.el (org-indent-line): Fix indentation of a property line
9201         starting at the beginning of a line.
9203         * org-odt.el (org-odt-cleanup-xml-buffers): Use the new alias.
9205         * org-compat.el: Alias `org-condition-case-unless-debug' to
9206         `condition-case-unless-debug' or `condition-case-no-debug'.
9208         * org.el (org-todo-keywords): Ditto.
9210         * org.el (org-use-fast-todo-selection): Reformat docstring.
9212         * org.el (org-flag-drawer): Add a docstring.
9213         (org-mode-map): Bind ̀org-clock-cancel' to "C-cC-xC-q" and
9214         `org-clock-in-last' to "C-cC-xC-x".  This fixes a bug in the
9215         previous keybinding for `org-clock-in-last', which would override
9216         the one for `org-clock-in'.
9218         * org-clock.el (org-clock-in-last): Prevent errors when there is
9219         no clocking history.
9220         (org-clock-cancel): Fix bug when checking against a clock log in a
9221         folded drawer.
9223         * org.el (org-link-expand-abbrev): Implement "%(my-function)" as a
9224         new specifier.  Update the docstring.
9226         * org.el (org-startup-options): Fix docstring formatting.
9228         * org.el (org-use-sub-superscripts): Fix typo in docstring.
9230         * org.el (org-refile): Fix bug: prevent looping when calling
9231         `org-set-tags' internally.
9233         * org.el (org-mode-map): Add `C-c C-x C-I' as a keybinding for
9234         `org-clock-in-last'.
9236         * org-clock.el (org-clock-continuously): New option.
9237         (org-clock-in): Three universal prefix arguments set
9238         `org-clock-continuously' to `t' temporarily.
9239         (org-clock-in-last): Fix call to `org-clock-select-task' and
9240         support continuous clocking.
9241         (org-clock-out-time): New variable.
9242         (org-clock-out): Set `org-clock-out-time' when clocking out.
9243         Small docstring rewriting.
9244         (org-clock-remove-empty-clock-drawer): Fix "invalid search bound"
9245         bug when trying to delete empty logbook drawer.
9246         (org-clock-cancel): If the clock log is gone, send a warning
9247         instead of deleting the region that is supposed to contain it.
9249         * org.el (org-move-line-down, org-move-line-up): Remove.
9250         (org-metaup, org-metadown): When the region is active, move it
9251         up/down by one line, with no regard to the context.
9253         * org-odt.el (org-odt-cleanup-xml-buffers): Use the new alias.
9255         * org-compat.el: Alias `org-condition-case-unless-debug' to
9256         `condition-case-unless-debug' or `condition-case-no-debug'.
9258         * org-pcomplete.el (org-thing-at-point): Ignore trailing
9259         whitespaces while looking-back at properties.
9261         * org.el (org-mode): Set `indent-region-function'.
9262         (org-indent-region): New function.
9263         (org-fill-paragraph): When in a src block, use `indent-region' to
9264         indent the whole source code instead of falling back on
9265         `fill-paragraph', as this function messes up the code.
9267         * org-src.el (org-edit-src-code): Fix docstring formatting.
9269         * ob.el (org-babel-do-key-sequence-in-edit-buffer): Ditto.
9271         * org.el (org-mode, org-add-log-setup)
9272         (org-get-property-block, org-entry-put)
9273         (org-property-next-allowed-value, org-return)
9274         (org-indent-line): Rename `org-indent-line-function' to
9275         `org-indent-line'.
9277         * org-timer.el (org-timer-item): Ditto.
9279         * org-table.el (org-table-store-formulas): Ditto.
9281         * org-clock.el (org-clock-in, org-clock-find-position): Ditto.
9283         * org-src.el (org-src-font-lock-fontify-block)
9284         (org-src-strip-leading-and-trailing-blank-lines)
9285         (org-src-ask-before-returning-to-edit-buffer)
9286         (org-edit-src-code, org-edit-src-continue)
9287         (org-edit-fixed-width-region)
9288         (org-src-do-key-sequence-at-code-block)
9289         (org-src-font-lock-fontify-block, org-src-fontify-buffer):
9290         Fix typos in docstrings.
9292         * org-docbook.el (org-export-docbook-emphasis-alist): Fix typo:
9293         use "format string" instead of "formatting string".
9295         * org-latex.el (org-export-latex-emphasis-alist)
9296         (org-export-latex-title-command, org-export-latex-tables): Ditto.
9298         * org-html.el (org-export-html-postamble): Ditto.
9300         * org-latex.el (org-export-latex-hyperref-options-format):
9301         New option.
9302         (org-export-latex-make-header): Use it.
9304         * ob.el (org-babel-confirm-evaluate): Prevent errors when
9305         `org-current-export-file' is void.
9307         * org-table.el (org-table-export): Use the file name extension to
9308         suggest the right conversion format.  Also amend the docstring.
9310         * org.el (org-speed-commands-default): Two new speed commands.
9311         Use `:' for `org-columns' and ̀#' for `org-toggle-comment'.
9313         * org.el (org-time-stamp): With two universal arguments, insert an
9314         active timestamp with the current time without prompting the user.
9316         * org-clock.el (org-clock-in-last): New command.
9318         * org-clock.el (org-clock-in): Fix typo in docstring.
9320         * org-mobile.el (org-mobile-edit): Fix reference to a free
9321         variable.
9323         * org.el (org-doi-server-url): Update :group.
9325         * ob-lob.el (org-babel-lob-execute): Fix reference to non-existent
9326         variable.
9328         * org.el (org-doi-server-url): New option.
9329         (org-open-at-point): Use it.
9331         * org.el (org-at-comment-p): New function.
9332         (org-toggle-heading): Use `org-at-comment-p' to skip comments.
9334         * org-html.el (org-export-as-html): Add links to the Org mode and
9335         GNU Emacs websites When :html-postamble is set to 't.
9337         * org-export.el (org-export-creator-string): Add links to the Org
9338         mode and GNU Emacs websites.
9340         * org-special-blocks.el
9341         (org-special-blocks-convert-html-special-cookies): Prevent errors
9342         by first checking `org-line' is not nil.
9344         * org-clock.el (org-clock-string-limit)
9345         (org-clock-modeline-total, org-clock-task-overrun-text)
9346         (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
9348         * org.el (org-at-timestamp-p): Set ̀org-ts-what' to 'after when the
9349         point is right after the timestamp.  `org-at-timestamp-p' still
9350         returns `t' in this case, as this is more practical.
9351         (org-return): Check against ̀org-ts-what' to verify that point is
9352         really within the timestamp (if any).
9354         * org.el (org-return): Follow time-stamp links when point is an a
9355         time-stamp.
9357         * org-capture.el (org-capture-bookmark): New option.
9358         (org-capture-finalize): Use it.
9360         * org-publish.el (org-publish-cache-file-needs-publishing):
9361         Make the column mandatory after #+include:.
9363         * org-exp.el (org-export-handle-include-files): Ditto.
9365         * org-bibtex.el (org-bibtex-entries): Rename from
9366         (org-bibtex-read, org-bibtex-write): Use the new name.
9368         * org-exp.el (org-export-handle-include-files): Allow to use
9369         #+include with no column.
9371         * org-publish.el (org-publish-cache-file-needs-publishing):
9372         Make quotes mandatory around the file name and allow spaces in it.
9374         * org-html.el (org-export-as-html): Add link to Org's and Emacs's
9375         websites.
9377         * org-latex.el
9378         (org-export-latex-link-with-unknown-path-format): New option.
9379         (org-export-latex-links): Use it.
9381         * org-agenda.el (org-agenda-get-timestamps): Remove any active
9382         timestamp from the headline text, not only those for the current
9383         date.
9385         * org.el (org-set-tags): Allow setting tags for headlines in the
9386         region when `org-loop-over-headlines-in-active-region' is non-nil.
9388         * org.el (org-allow-promoting-top-level-subtree): New option to
9389         allow promoting a top-level subtree.
9390         (org-called-with-limited-levels): New variable, dynamically bound
9391         within the `org-with-limited-levels' macro.
9392         (org-promote): Use the new option to allow promoting a top-level
9393         subtree.
9395         * org-macs.el (org-with-limited-levels): Let-bind
9396         `org-called-interactively-p' to t.
9398         * org.el (org-create-formula-image-with-dvipng)
9399         (org-create-formula-image-with-imagemagick): Make sure a file
9400         exists before trying to delete it.
9402         * org.el (org-scan-tags): Correctly match TODO keywords.
9404         * org-agenda.el (org-agenda-bulk-action): Fix bug: use
9405         `org-agenda-bulk-unmark-all'.
9407         * org.el (orgstruct++-mode): Fix docstring.
9408         (org-fill-paragraph): Use the 'justify parameter when falling back
9409         on `fill-paragraph'.
9411         * org.el (org-indent-line-function): Use `org-let' instead of
9412         `orgstruct++-ignore-org-filling'.
9413         (org-fill-paragraph, org-auto-fill-function): Ditto.
9415         * org-macs.el (orgstruct++-ignore-org-filling): Delete.
9417         * org-table.el (org-table-time-string-to-seconds): Return the
9418         empty string if provided.
9419         (org-table-eval-formula): When assigning a duration string, handle
9420         it correctly -- i.e. don't make any computation on it, except the
9421         one to insert it using the correct duration format.
9423         * org.el (org-indent-line-function): Fix bug.
9425         * org-clock.el (org-frame-title-format-backup): New variable to
9426         store the value of `frame-title-format' before `org-clock' might
9427         replace it by `org-clock-frame-title-format'.
9428         (org-clock-frame-title-format): New option.
9429         (org-frame-title-string): Delete.
9430         (org-clock-update-mode-line): Minor code reformatting.
9431         (org-clock-in, org-clock-out, org-clock-cancel):
9432         Use `org-clock-frame-title-format'.
9434         * org-clock.el (org-clock-get-clock-string): Add a space.
9436         * org-list.el (org-mark-list): Return an error when there is no
9437         list at point.
9439         * org.el (org-toggle-heading): Allow `C-u C-c *' to mark the list
9440         at point before converting items to headings.  With a simple
9441         universal-argument, set `current-prefix-arg' to 1, otherwise keep
9442         the numeric value.
9444         * org-agenda.el (org-agenda-view-mode-dispatch): Make the message
9445         more readable.
9447         * org-agenda.el (org-agenda-mode-map): New keybinding ̀*' to mark
9448         all entries for bulk action.
9449         (org-agenda-menu): New menu item for marking all entries.
9450         (org-agenda-bulk-mark-all): New function to mark all entries.
9451         (org-agenda-bulk-mark-regexp): Minor docstring fix.
9452         (org-agenda-bulk-unmark): With a prefix argument, unmark all.
9453         Also send a better message.
9454         (org-agenda-bulk-remove-all-marks): Rename to
9455         `org-agenda-bulk-unmark-all'.  Check against
9456         `org-agenda-bulk-marked-entries' before trying to unmark entries.
9457         Minor docstring fix.
9458         (org-agenda-bulk-unmark-all): Rename from
9459         ̀org-agenda-bulk-remove-all-marks'.
9461         * org-agenda.el (org-agenda-bulk-mark-char): New option.
9462         (org-agenda-bulk-mark): Use the new option.
9464         * org.el (org-src-prevent-auto-filling): New option to prevent
9465         auto-filling in src blocks.  This defaults to nil to avoid people
9466         being surprised that no auto-fill occurs in Org buffers where they
9467         use `auto-fill-mode'.
9468         (org-auto-fill-function): Use the new option.
9470         * org.el (org-properties-postprocess-alist): Better customization
9471         type.
9472         (org-set-property): Fix the check against
9473         `org-properties-postprocess-alist'.
9475         * org-macs.el (orgstruct++-ignore-org-filling):
9476         Set `def-edebug-spec' correctly.
9478         * org-colview.el (org-columns-string-to-number): When computing
9479         the values for the colview, match durations and convert them to
9480         HH:MM values.
9482         * org.el (org-duration-string-to-minutes): Match non-round
9483         numbers.  Add a new optional parameter to allow returning the
9484         output as a string.
9486         * org.el (org-auto-fill-fallback-function)
9487         (org-indent-line-fallback-function)
9488         (org-fill-paragraph-fallback-function)
9489         (org-auto-fill-fallback-function)
9490         (org-indent-line-fallback-function)
9491         (org-fill-paragraph-fallback-function): Remove.
9492         (org-fb-vars): New buffer-local variable.
9493         (orgstruct++-mode): Use the fallback variable `org-fb-vars' to
9494         store, use and restore variables if needed.
9495         (org-fill-paragraph): Ignore `orgstruct++-mode' filling variables
9496         when needed.
9497         (org-auto-fill-function, org-indent-line-function): Ditto.
9499         * org-macs.el (orgstruct++-ignore-org-filling): New macro.
9501         * org-exp-blocks.el: Use `org-find-library-name' instead of
9502         `find-library-name'.
9504         * org-compat.el (org-find-library-name): Convert into a macro to
9505         avoid compilation of a function from XEmacs in Emacs and vice
9506         versa.
9508         * org-table.el (org-table-store-formulas): Fix typo.
9509         (org-table-maybe-eval-formula): Fix the regexp to only match
9510         formulas, which never end with the `=' character.  If the field
9511         only contain this character, don't eval either.
9513         * org.el (org-set-property): Perform the correct check against
9514         `org-properties-postprocess-alist'.
9516         * org-bbdb.el (org-bbdb-anniversary-format-alist): Update the
9517         customization type.
9518         (name): Suppress (defvar 'name) as name is not eval'ed when
9519         setting `org-bbdb-anniversary-format-alist'.
9521         * org.el (org-version): When called non-interactively, insert the
9522         short version string, otherwise send a message with the complete
9523         version string.
9525         * org-odt.el (org-odt-update-meta-file): Use (org-version) and
9526         delegate checking whether `org-version' is known as a variable
9527         there.
9529         * org-html.el (org-export-as-html): Use (org-version).
9531         * org-docbook.el (org-export-as-docbook): Ditto.
9533         * org-latex.el (org-export-latex-make-header): Ditto.
9535         * org-clock.el (org-clocktable-write-default): Temporarily disable
9536         `delete-active-region' so that we don't accidently delete an
9537         active region when exporting a subtree/region.
9539         * org-clock.el (org-program-exists): Remove.
9540         (org-show-notification, org-clock-play-sound):
9541         Use `executable-find' instead of `org-program-exists'.
9543         * org-agenda.el (org-diary): Prevent failure from
9544         `org-compile-prefix-format' when there is no agenda buffer.
9546         * org-agenda.el (org-agenda-mode): Replace obsolete variable
9547         `buffer-substring-filters'.
9549         * org-indent.el (org-indent-mode): Ditto.
9551         * org-compat.el (org-find-library-name): Silent the byte-compiler
9552         about a warning related to XEmacs support.
9554         * org-special-blocks.el
9555         (org-special-blocks-convert-html-special-cookies): Use `org-line'
9556         instead of `line'.
9558         * org-html.el (org-html-handle-links, org-export-as-html)
9559         (org-format-org-table-html, org-format-table-table-html)
9560         (org-html-export-list-line): Use `org-line' instead of `line' as
9561         the free variable name.
9563         * org-latex.el (org-export-latex-tables): Let-bind `hfmt'.
9565         * org-faces.el (org-list-dt): New face.
9567         * org.el (org-set-font-lock-defaults): Use `org-list-dt' as the
9568         face for definition terms in definition lists.
9570         * org.el (org-fill-paragraph): Pass the `justify' argument to
9571         `org-fill-paragraph-fallback-function'.
9573         * org.el (org-eval-in-calendar): Fix docstring to mention the
9574         KEEPDATE parameter.
9576         * org.el (org-refresh-category-properties): Let-bind
9577         `inhibit-read-only' to t.
9579         * org.el (org-auto-fill-fallback-function)
9580         (org-indent-line-fallback-function)
9581         (org-fill-paragraph-fallback-function): New variables to store
9582         some fall-back functions when turning `orgstruct++-mode' on.
9583         (orgstruct++-mode): Set the new variables.
9584         (org-indent-line-function, org-fill-paragraph)
9585         (org-auto-fill-function): Use them.
9587         * org.el (org-read-date): Bugfix: call `org-eval-in-calendar' with
9588         the 'keepdate parameter set to t when setting the cursor type.
9590         * org-agenda.el (org-agenda-persistent-marks): New option to keep
9591         marks after a bulk action.  The option defaults to nil.
9592         (org-agenda-bulk-action): Use the new option.
9594         * org-capture.el (org-capture-fill-template): Use %\n instead of
9595         %n as a template element to be replaced with the nth prompted
9596         string.
9597         (org-capture-templates): Update docstring.
9599         * org.el (org-goto): Fix docstring and document what C-u does.
9601         * org-publish.el (org-publish-cache-file-needs-publishing):
9602         Use (case-fold-search t) when looking for #+INCLUDE:.
9604         * org.el: Use (case-fold-search t).
9605         (org-edit-special, org-ctrl-c-ctrl-c): Ditto.
9607         * org-table.el:
9608         (org-table-store-formulas, org-table-get-stored-formulas)
9609         (org-table-fix-formulas, org-table-edit-formulas)
9610         (org-old-auto-fill-inhibit-regexp, orgtbl-ctrl-c-ctrl-c)
9611         (orgtbl-toggle-comment, org-table-get-remote-range): Ditto.
9613         * org-footnote.el:
9614         (org-footnote-goto-local-insertion-point): Ditto.
9616         * org-exp.el: Ditto.
9618         * org-colview.el:
9619         (org-dblock-write:columnview, org-dblock-write:columnview): Ditto.
9621         * org-clock.el (org-clocktable-write-default): Ditto.
9623         * org-capture.el (org-capture-place-table-line): Ditto.
9625         * ob.el (org-babel-data-names, org-babel-goto-named-src-block)
9626         (org-babel-src-block-names)
9627         (org-babel-where-is-src-block-result, org-babel-result-end)
9628         (org-babel-where-is-src-block-head)
9629         (org-babel-find-named-result, org-babel-result-names): Ditto.
9631         * org-table.el (orgtbl-send-table): Escape special characters.
9632         Introduce a new parameter :no-escape to prevent escaping.
9634         * org-agenda.el (org-toggle-sticky-agenda): Only shout a message
9635         when called interactively.
9636         (org-agenda-get-restriction-and-command):
9637         Call `org-toggle-sticky-agenda' interactively.
9639         * org-agenda.el (org-agenda-top-category-filter): New variable for
9640         storing the current top-category filter.
9641         (org-agenda-redo): Apply a top-category filter, if any.
9642         (org-agenda-filter-by-top-category)
9643         (org-agenda-filter-top-category-apply):
9644         Set `org-agenda-top-category-filter' to the right value.
9646         * org-clock.el (org-clock-out, org-clock-cancel)
9647         (org-clock-in): Don't modify `frame-title-format' if it is a
9648         string.
9650         * org-latex.el (org-export-latex-special-chars): Fix bug when
9651         escaping special characters in a table.
9653         * org.el (org-read-date): Set cursor-type to nil in the calendar.
9655         * org-faces.el (org-date-selected): Use inverse video.
9656         Don't explicitly set bold to nil as it causes `customize-face' to show
9657         the weight property and thus encourage the user to change it.
9658         Warn in the docstring that using bold might cause problems when
9659         displaying the calendar.
9661         * org-id.el (org-id-update-id-locations): New parameter to silent
9662         `org-id-find'.
9663         (org-id-find): Use the new parameter.
9665         * org.el (org-show-hierarchy-above, org-cycle)
9666         (org-global-cycle, org-files-list, org-store-link)
9667         (org-link-search, org-open-file, org-display-outline-path)
9668         (org-refile-get-location, org-update-all-dblocks)
9669         (org-change-tag-in-region, org-entry-properties)
9670         (org-save-all-org-buffers, org-revert-all-org-buffers)
9671         (org-buffer-list, org-cdlatex-mode)
9672         (org-install-agenda-files-menu, org-end-of-subtree)
9673         (org-speedbar-set-agenda-restriction): Use (derived-mode-p
9674         'org-mode) instead of (eq major-mode 'org-mode).
9676         * org-timer.el (org-timer-set-timer): Ditto.
9678         * org-table.el (orgtbl-mode, org-table-align, orgtbl-mode): Ditto.
9680         * org-src.el (org-edit-src-exit, org-edit-src-code)
9681         (org-edit-fixed-width-region, org-edit-src-exit): Ditto.
9683         * org-remember.el (org-remember-handler): Ditto.
9685         * org-mouse.el (dnd-open-file, org-mouse-insert-item): Ditto.
9687         * org-macs.el (org-get-limited-outline-regexp): Ditto.
9689         * org-lparse.el (org-replace-region-by): Ditto.
9691         * org-latex.el (org-latex-to-pdf-process)
9692         (org-replace-region-by-latex): Ditto.
9694         * org-indent.el (org-indent-indent-buffer): Ditto.
9696         * org-id.el (org-id-store-link, org-id-update-id-locations)
9697         (org-id-store-link): Ditto.
9699         * org-html.el (org-export-html-preprocess)
9700         (org-replace-region-by-html): Ditto.
9702         * org-footnote.el (org-footnote-normalize)
9703         (org-footnote-goto-definition)
9704         (org-footnote-create-definition, org-footnote-normalize): Ditto.
9706         * org-docbook.el (org-replace-region-by-docbook): Ditto.
9708         * org-ctags.el (find-tag): Ditto.
9710         * org-colview.el (org-columns-redo)
9711         (org-columns-display-here, org-columns-edit-value)
9712         (org-columns-redo): Ditto.
9714         * org-capture.el (org-capture-insert-template-here)
9715         (org-capture, org-capture-finalize)
9716         (org-capture-set-target-location)
9717         (org-capture-insert-template-here): Ditto.
9719         * org-ascii.el (org-replace-region-by-ascii): Ditto.
9721         * org-archive.el (org-archive-subtree): Ditto.
9723         * org-agenda.el (org-agenda)
9724         (org-agenda-get-restriction-and-command)
9725         (org-agenda-get-some-entry-text, org-search-view)
9726         (org-tags-view, org-agenda-get-day-entries)
9727         (org-agenda-format-item, org-agenda-goto, org-agenda-kill)
9728         (org-agenda-archive-with, org-agenda-switch-to): Ditto.
9730         * org.el (org-repeat-re)
9731         (org-clone-subtree-with-time-shift, org-auto-repeat-maybe)
9732         (org-deadline, org-schedule, org-matcher-time)
9733         (org-time-stamp, org-read-date, org-read-date-get-relative)
9734         (org-display-custom-time, org-get-wdays)
9735         (org-time-string-to-absolute, org-closest-date)
9736         (org-timestamp-change): Allow to set hourly repeat cookie.
9737         Send an error when an hourly repeat cookie is set and no hour is
9738         specified in the timestamp.
9740         * org-icalendar.el (org-print-icalendar-entries): Handle hourly
9741         repeat cookies.
9743         * org-clock.el (org-program-exists): Fix docstring.
9745         * org-clock.el (org-clock-file-time-cell-format): New option.
9746         (org-clocktable-write-default): Use it.
9748         * org-faces.el (org-date-selected): New face.
9750         * org.el (org-date-ovl): Use `org-date-selected'.
9752         * org.el (org-mode): Don't use `buffer-face-mode' by default.
9754         * org-agenda.el (org-agenda-mode-map): Bind `^' to
9755         `org-agenda-filter-by-top-category'.
9757         * org-ascii.el (org-export-ascii-underline): Change the default
9758         underlining characters for headlines of level 1 and 2.
9759         Also introduce \. as the underline character for headlines of level 5.
9761         * org-table.el (org-table-recalculate-buffer-tables)
9762         (org-table-iterate-buffer-tables): Add autoload cookie.
9764         * org.el (org-table-map-tables): Exclude tables in src and example
9765         blocks.
9767         * org.el (org-fill-paragraph): Leave scheduled/deadline lines
9768         untouched when filling an adjacent paragraph.
9770         * org-html.el (org-export-html-preamble-format)
9771         (org-export-html-postamble-format): Improve the docstring.
9773         * org.el (org-todo): Fix regression: rename `state' to
9774         `org-state'.
9776         * org-clock.el (org-show-notification): Use `fboundp' instead of
9777         `featurep' and the additional `require'.
9779         * org-clock.el (org-clock-in-prepare-hook): New option to format
9780         the total time cells.
9781         (org-clocktable-write-default): Use the new option.
9783         * org.el (org-open-at-point): Allow to open the agenda from an
9784         active or inactive timestamp in a headline.
9786         * org-html.el (org-export-html-date-format-string): Make a
9787         defcustom.
9789         * org-latex.el (org-export-as-latex): Fix TeX-master declaration.
9791 2012-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
9793         * org-table.el (org-table-expand-lhs-ranges): Allow hline
9794         references to be expanded correctly in LHS of formulas.
9796         * org-beamer.el (org-beamer-inherited-properties): New option.
9797         (org-beamer-after-initial-vars): Use new option to look for
9798         inherited properties.
9800         * org.el (org-ts-regexp0): Allow time stamps without name of day.
9802         * org-agenda.el (org-toggle-sticky-agenda):
9803         (org-agenda-sticky): Improve :set property.
9805         * org-agenda.el (org-agenda-local-vars): Clean up the variable
9806         list.
9807         (org-agenda-get-restriction-and-command): Add a key for toggling
9808         sticky agenda views.
9810         * org-agenda.el (org-agenda-local-vars): Final decisions about
9811         global/local
9813         * org-agenda.el (org-agenda-force-single-file): Variable removed.
9814         (org-prepare-agenda-window): Store pre-agenda window config
9815         locally.
9816         (org-timeline): Introduce a scoped version of
9817         `org-agenda-show-log'.
9818         (org-agenda-list): Introduce a scoped version of
9819         `org-agenda-show-log'.
9820         (org-agenda-get-progress): Use the scoped version of
9821         `org-agenda-show-log'.
9822         (org-agenda-local-vars): Write the analysis result as a comment -
9823         to be cleaned up in the next iteration.
9825         * org-agenda.el (org-toggle-sticky-agenda): Kill all agenda
9826         buffers when toggling sticky-agendas.
9827         (org-agenda-get-restriction-and-command): Add `C-c a C-k' as a key
9828         to explicitly kill all agenda buffers.
9829         (org-agenda-run-series): Remove any old agenda markers in the
9830         buffer that is going to take the new block agenda.
9831         (org-prepare-agenda): Reset markers before erasing the buffer anc
9832         running `org-agenda-mode', because after that the local variable
9833         `org-agenda-markers' will have gone away.
9834         (org-agenda-Quit):
9835         (org-finalize-agenda): Install the marker resetter into the
9836         `kill-buffer-hook'.
9837         (org-agenda-save-markers-for-cut-and-paste): Look for markers in
9838         all agenda buffers.
9839         (org-agenda-kill-all-agenda-buffers): New function.
9841 2012-09-30  Chris Gray  <chrismgray@gmail.com>
9843         * org-html.el (org-export-as-html): Remove the check for body-only
9844         in the code for generating tables of contents.
9846 2012-09-30  Christoph Dittmann  <github@christoph-d.de>  (tiny change)
9848         * org-beamer.el (org-beamer-auto-fragile-frames):
9849         Make [fragile] work with overlay specifications.
9851 2012-09-30  Christophe Junke  <christophe.junke@inria.fr>  (tiny change)
9853         * org-agenda.el (org-agenda-list): Ensures that the list returned
9854         by `org-agenda-add-time-grid-maybe' is appended to ̀rtnall' before
9855         checking if the latter is empty.
9857 2012-09-30  Christophe Rhodes  <csr21@cantab.net>  (tiny change)
9859         * org-latex.el (org-export-latex-tables): Support setting the
9860         :hfmt parameter from #+ATTR_LaTeX.
9862 2012-09-30  Daniel Dehennin  <daniel.dehennin@baby-gnu.org>  (tiny change)
9864         * org-exp.el (org-export-handle-include-files)
9865         (org-get-file-contents): Handle new parameter :addlevel.
9867 2012-09-30  Dave Abrahams  <dave@boostpro.com>  (tiny change)
9869         * org.el (org-link-prettify): New function to prettify links while
9870         displaying them with `org-insert-link'.
9871         (org-insert-link): Use the new function.
9873 2012-09-30  David Maus  <dmaus@ictsoc.de>
9875         * org-exp.el (org-export-language-setup): Use numeric character
9876         entities for proper rendering of non-UTF8 documents.
9878         * org-exp.el (org-export-language-setup): Add japanese
9879         translation.
9881 2012-09-30  Eric Schulte  <eric.schulte@gmx.com>
9883         * ob-sh.el (org-babel-sh-evaluate): Don't could 0-length shebangs.
9885         * ob.el (org-babel-insert-result): Replace key sequence with
9886         function call.  Use a more informative flag to the local function.
9887         (org-add-protective-commas): Declare a new external function.
9889         * org-src.el (org-add-protective-commas): This should be its own
9890         function.
9891         (org-edit-src-exit): Use the new function.
9893         * org-compat.el (org-labels): Remove.
9895         * org-bibtex.el (org-bibtex-headline): Don't use `org-labels'.
9897         * ob.el (org-babel-sha1-hash, org-babel-noweb-p): Ditto.
9899         * ob.el (org-babel-string-read): Don't automatically evaluate code
9900         block results which look like elisp.
9901         (org-babel-import-elisp-from-file): Raise a warning message when
9902         the process of reading code block results raises an error.
9904         * ob-tangle.el (org-babel-with-temp-filebuffer): Don't execute
9905         macro argument multiple times.
9907         * org.el (org-compat): Require org-compat before we first use one
9908         of its functions (a macro actually).
9910         * ob-comint.el (org-babel-comint-with-output): Don't name the
9911         filter function, but rather pass through the anonymous lambda
9912         directly.
9914         * org.el (org-babel-load-languages): Common lisp should be
9915         mentioned as a supported babel language.
9917         * org-clock.el (org-clock-special-range): "concat 'string" ->
9918         "concat"
9919         (org-clocktable-shift): "concat 'string" -> "concat"
9921         * org-bibtex.el (org-bibtex-headline): Replacing org-flet with
9922         org-labels.
9924         * ob-calc.el (org-babel-execute:calc): Strip single quotes from
9925         calc internal representations.
9927         * org-clock.el (org-clock-special-range): Replacing cl concatenate
9928         with concat.
9929         (org-clocktable-shift): Replacing cl concatenate with concat.
9931         * ob.el (org-babel-edit-distance): Remove use of map at runtime.
9933         * org-compat.el (org-flet): Compatibility function now that flet
9934         has been removed from cl-macs.
9935         (org-labels): Compatibility function now that labels has been
9936         removed from cl-macs.
9938         * ob-R.el (org-compat): Require org-compat.
9940         * ob-comint.el: Require org-compat.
9942         * ob-exp.el (org-babel-exp-do-export): Switch to compatibility
9943         function.
9945         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Switch to
9946         compatibility function.
9948         * ob-lob.el (org-babel-lob-get-info): Switch to compatibility
9949         function.
9950         (org-babel-lob-execute): Switch to compatibility function.
9952         * ob-python.el (org-babel-python-evaluate-session): Switch to
9953         compatibility function.
9955         * ob-ref.el (org-babel-ref-index-list): Switch to compatibility
9956         function.
9958         * ob-sh.el (org-babel-sh-var-to-string): Switch to compatibility
9959         function.
9961         * ob-tangle.el (org-babel-load-file): Switch to compatibility
9962         function.
9963         (org-babel-tangle): Switch to compatibility function.
9964         (org-babel-spec-to-string): Switch to compatibility function.
9966         * ob.el (org-babel-view-src-block-info): Switch to compatibility
9967         function.
9968         (org-babel-execute-src-block): Switch to compatibility function.
9969         (org-babel-edit-distance): Switch to compatibility function.
9970         (org-babel-switch-to-session-with-code): Switch to compatibility
9971         function.
9972         (org-babel-sha1-hash): Switch to compatibility function.
9973         (org-babel-balanced-split): Switch to compatibility function.
9974         (org-babel-join-splits-near-ch): Switch to compatibility function.
9975         (org-babel-get-rownames): Switch to compatibility function.
9976         (org-babel-format-result): Switch to compatibility function.
9977         (org-babel-insert-result): Switch to compatibility function.
9978         (org-babel-examplize-region): Switch to compatibility function.
9979         (org-babel-merge-params): Switch to compatibility function.
9980         (org-babel-noweb-p): Switch to compatibility function.
9981         (org-babel-expand-noweb-references): Switch to compatibility
9982         function.
9984         * org-bibtex.el (org-bibtex-headline): Switch to compatibility
9985         function.
9986         (org-bibtex-fleshout): Switch to compatibility function.
9987         (org-bibtex-read): Switch to compatibility function.
9988         (org-bibtex-write): Switch to compatibility function.
9990         * org-exp-blocks.el (org-export-blocks-preprocess): Switch to
9991         compatibility function.
9993         * org-exp.el (org-export-format-source-code-or-example): Switch to
9994         compatibility function.
9996         * org-macs.el (org-called-interactively-p): Indentation fix.
9998         * org-mouse.el (org-mouse-timestamp-today): Switch to
9999         compatibility function.
10000         (org-mouse-set-priority): Switch to compatibility function.
10001         (org-mouse-popup-global-menu): Switch to compatibility function.
10002         (org-mouse-context-menu): Switch to compatibility function.
10004         * org-plot.el (org-plot/gnuplot-to-grid-data): Switch to
10005         compatibility function.
10006         (org-plot/gnuplot-script): Switch to compatibility function.
10008         * org.el (org-entry-get): Switch to compatibility function.
10009         (org-fill-paragraph): Switch to compatibility function.
10010         (org-auto-fill-function): Switch to compatibility function.
10012         * ob-lob.el (org-babel-lob-execute): Only try to insert extant
10013         hashes.
10015         * ob-R.el (org-babel-R-command): From a defvar to a defcustom.
10017         * ob.el (org-babel-set-current-result-hash): Change the hash of
10018         the results for the current code block.
10019         (org-babel-current-result-hash): Fix documentation.
10021         * ob-lob.el (org-babel-lob-execute): Don't re-execute the called
10022         function if the current call line hash matches that in its
10023         results.
10025         * ob-R.el (org-babel-R-assign-elisp): Can't assume every entry in
10026         a table is a sequence.
10028         * ob-R.el (org-babel-R-assign-elisp): Clean up the code
10029         implementing reads of irregular data into R.
10031         * ob.el (org-babel-header-arg-expand): In new buffers
10032         (char-before) may return nil so use equal rather than =.
10034         * ob-R.el (org-babel-header-args:R): Adding values.
10036         * ob-clojure.el (org-babel-header-args:clojure): Adding values.
10038         * ob-lisp.el (org-babel-header-args:lisp): Adding values.
10040         * ob-sql.el (org-babel-header-args:sql): Adding values.
10042         * ob-sqlite.el (org-babel-header-args:sqlite): Adding values.
10044         * ob.el (org-babel-combine-header-arg-lists): Combine lists of
10045         arguments and values.
10046         (org-babel-insert-header-arg): Use new combined header argument
10047         lists.
10048         (org-babel-header-arg-expand): Add support for completing-read
10049         insertion of header arguments after ":"
10050         (org-babel-enter-header-arg-w-completion): Completing read
10051         insertion of header arguments
10052         (org-tab-first-hook): Adding header argument completion.
10053         (org-babel-params-from-properties): Combining header argument
10054         lists.
10056         * ob-exp.el (org-babel-exp-results): Ensure noweb expanded body is
10057         used on export.
10059         * ob.el (org-babel-result-to-file): New optional description
10060         argument.
10061         (org-babel-insert-result): Move description logic to another
10062         function.
10064         * ob.el (org-babel-insert-result): Change name of filelinkdescr to
10065         file-desc.
10066         (org-babel-common-header-args-w-values): Change name of
10067         filelinkdescr to file-desc.
10069         * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled C
10070         files on windows.
10072         * ob-exp.el (org-babel-exp-code): Escape all lines when exporting
10073         Org-mode blocks.
10075         * ob.el (org-babel-parse-src-block-match): Make use of the new
10076         language argument to org-babel-strip-protective-commas.
10077         (org-babel-parse-inline-src-block-match): Make use of the new
10078         language argument to org-babel-strip-protective-commas.
10079         (org-babel-strip-protective-commas): Now accepts a language
10080         argument.
10082 2012-09-30  Fabrice Niessen  <fniessen-TA4HMoP+1wHrZ44/DZwexQ@public.gmane.org>  (tiny change)
10084         * org-agenda.el (org-agenda-write-buffer-name): Remove the test
10085         for the presence of <style> tag.
10087 2012-09-30  Feng Shu  <tumashu@gmail.com>
10089         * org.el (org-create-formula-image-with-imagemagick):
10090         Use 'call-process to launch latex so that no shell output buffer will
10091         be shown when previewing formulas.
10093         * org.el (org-create-formula-image-with-imagemagick): Fix typo.
10095         * org.el (org-latex-create-formula-image-program): New option to
10096         use either dvipng or imagemagick to convert and preview LaTeX
10097         fragments.
10098         (org-preview-latex-fragment, org-format-latex): Handle the new
10099         option.
10100         (org-create-formula-image-with-dvipng): Rename from
10101         `org-create-formula-image'.
10102         (org-create-formula-image-with-imagemagick): New defun to handle
10103         LaTeX preview with imagemagick.
10104         (org-latex-color, org-latex-color-format): New defuns to handle
10105         color conversions.
10107         * org-latex.el (org-latex-to-pdf-process, org-export-as-pdf):
10108         Allow to use imagemagick to convert LaTeX fragments.
10110         * org-html.el (org-export-html-preprocess): Ditto.
10112         * org-exp.el (org-export-with-LaTeX-fragments): Ditto.
10114 2012-09-30  George Kettleborough  <g.kettleborough@member.fsf.org>
10116         * org-clock.el: New option `org-clock-clocked-in-display' to
10117         control whether the current clock is displayed in the mode line
10118         and/or frame title.
10120         * org-timer.el: New option `org-timer-display' to control whether
10121         the current timer is displayed in the mode line and/or frame
10122         title.
10124 2012-09-30  Hans-Peter Deifel  <hpdeifel@gmx.de>  (tiny change)
10126         * ob.el (org-babel-execute-src-block): Allow the :dir header
10127         argument to take relative file names.
10129 2012-09-30  Harri Kiiskinen  <harri@pp-kaitue.(none)>  (tiny change)
10131         * org-protocol.el: New option.
10132         (org-protocol-store-link, org-protocol-do-capture): Use it.
10134 2012-09-30  Henning Weiss  <hdweiss@gmail.com>
10136         * org-mobile.el (org-mobile-edit): Add handling of addheading,
10137         refile, archive, archive-sibling and delete edit nodes.
10138         (org-mobile-locate-entry): Olp links containing only a file are
10139         now be located correctly.
10140         (org-mobile-apply): Instead of finding the location of all target
10141         headings for edit nodes in a separate loop, they will be found
10142         immediately before applying edits.
10144         * org-mobile.el (org-mobile-sumo-agenda-command): Use a shorter
10145         title.
10147 2012-09-30  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
10149         * org.el (org-parse-time-string): Allow strings supported by
10150         tags/properties matcher (eg <now>, <yesterday>, <-7d>) if the time
10151         starts with < and ends with >.  This means that e.g. in the
10152         clocktable parameters you can specify :tstart "<-1w>" :tend
10153         "<now>".
10155 2012-09-30  Ippei FURUHASHI  <top.tuna+orgmode@gmail.com>  (tiny change)
10157         * org-colview.el (org-columns): New argument `columns-fmt-string'.
10159         * org-colview.el (org-columns-get-format-end-top-level):
10160         Split into `org-columns-get-format' and `org-columns-goto-top-level'.
10162         * org-colview.el (org-dblock-write:columnview): Add a new
10163         parameter :format which specifies the column view format for the
10164         output of the columnview dynamic block.
10166 2012-09-30  Jambunathan K  <kjambunathan@gmail.com>
10168         * org-lparse.el (org-lparse-and-open)
10169         (org-lparse-do-convert): Open exported files with system-specific
10170         application.
10172         * org-odt.el: Don't meddle with `org-file-apps'.
10174         * org-compat.el (org-condition-case-unless-debug): Alias to
10175         `condition-case' when both `condition-case-no-debug' and
10176         `condition-case-unless-debug' is unavailable.
10178         * org-odt.el (org-odt-do-image-size): Replace `flet' with
10179         equivalent construct.
10181         * org-odt.el (org-odt-cleanup-xml-buffers):
10182         Use `condition-case-no-debug' instead of
10183         `condition-case-unless-debug'.  This ensures backward
10184         compatibility with Emacs versions < 24.1.
10186         * org-odt.el (org-odt-zip-dir)
10187         (org-odt-cleanup-xml-buffers): New.
10188         (org-export-as-odt-and-open, org-export-as-odt)
10189         (org-odt-init-outfile, org-odt-save-as-outfile)
10190         (org-export-as-odf, org-export-as-odf-and-open):
10191         Use `org-odt-cleanup-xml-buffers'.
10193         * org-odt.el (org-export-odt-default-org-styles-alist):
10194         Add default character style.
10196         * org-odt.el (org-export-odt-default-org-styles-alist):
10197         Add default character style.
10199         * org-lparse.el (org-do-lparse): Remove stray call to
10200         `org-export-html-after-blockquotes-hook'.
10202         * org-bbdb.el (org-bbdb-export): Add support for ODT format.
10204         * org-odt.el (org-odt-update-meta-file): Check for `org-version'
10205         is bound before accessing it.
10207         * org-odt.el (org-odt-schema-dir-list): OD Schema files have been
10208         moved away from $(git-root)/contrib/odt/etc/schema/ to
10209         $(git-root)/etc/schema/.
10211         * org-odt.el (org-odt-format-org-link): Pay no heed to whether the
10212         internal links destined for headlines provide a description or
10213         not.  In fact, the `org-store-link' and `org-insert-link' create
10214         internal links which do have a description.
10216         * org-lparse.el (org-lparse-insert-org-table): Consider short
10217         caption as plain text and not as org text.
10219         * org-odt.el (org-export-odt-format-formula)
10220         (org-export-odt-format-image): Ditto.
10222         * org-odt.el (org-odt-begin-table)
10223         (org-export-odt-format-formula, org-export-odt-format-image)
10224         (org-odt-format-entity): Handle short caption.
10226         * org-lparse.el (org-lparse-insert-org-table)
10227         (org-lparse-insert-list-table, org-lparse-insert-table-table):
10228         Ditto.
10230 2012-09-30  Jay McCarthy  <jay.mccarthy@gmail.com>  (tiny change)
10232         * org-colview.el (org-columns-new-overlay): Make sure to add a
10233         face to a string that has no face.
10235 2012-09-30  Jérémie Courrèges-Anglas  <jca@wxcvbn.org>  (tiny change)
10237         * org-latex.el: Ensure a final newline is appended to the export
10238         buffer.
10240 2012-09-30  Levin Du  <zslevin@gmail.com>  (tiny change)
10242         * org-clock.el (org-clock-in): Fix bug in setting the clock
10243         heading.
10245 2012-09-30  Madan Ramakrishnan  <madanr79@gmail.com>  (tiny change)
10247         * org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as
10248         advertised by the function.
10250 2012-09-30  Mark E. Shoulson  <mark@kli.org>  (tiny change)
10252         * org.el (org-fontify-entities): Hide {} when prettifying
10253         entities.
10255 2012-09-30  Mark Shoulson  <mark@kli.org>  (tiny change)
10257         * org-entities.el (org-entities): Add new entities for characters
10258         which could cause formatting changes if typed directly.
10260         * org-entities.el (org-entities): Add \asciicirc entity for ^;
10261         also fixed \circ expansion in latex.
10263         * org.el (org-fontify-entities): Fix bug: The entities \sup[123]
10264         and \there4 were not "prettified" when org-pretty-entities was
10265         enabled.
10267 2012-09-30  Mats Lidell  <matsl@xemacs.org>  (tiny change)
10269         * org-element.el (org-element-paragraph-separate):
10270         Remove redundant and misplaced t clause in case.
10272 2012-09-30  Matt Lundin  <mdl@imapmail.org>
10274         * org-datetree.el: Fix regexp to allow datetree to find headings
10275         with trailing whitespace.  This fixes a bug in which an existing
10276         datetree heading (e.g., "* 2012 ") would not be found by
10277         org-datetree-find-year-create if it had trailing whitespace.
10278         This can cause problems, for instance, if one is using column view on
10279         the date tree, since editing subheadings with column view adds
10280         whitespace at the end of the top heading.
10282         * org-footnote.el (org-footnote-new): Don't call
10283         org-footnote-unique-label if org-footnote-auto-label is set to
10284         random.
10286         * org-gnus.el (org-gnus-follow-link): Fix argument to
10287         gnus-group-read-group so that following a link does not result in
10288         unread article being selected.
10290         * org-bbdb.el (org-bbdb-anniv-extract-date)
10291         (org-bbdb-make-anniv-hash): Fix org-bbdb anniversary functionality
10292         to accommodate BBDB 3.x.  There are two major changes in BBDB 3.x
10293         that need to be taken into account.  The first is that
10294         `bbdb-split' reverses the order of its parameters in 3.x.
10295         The second is that `bbdb-record-getprop' is replaced by
10296         bbdb-record-note in 3.x.
10298 2012-09-30  Max Mikhanosha  <max@openchat.com>
10300         * org-agenda.el (org-agenda-change-all-lines): Speedup refresh of
10301         a single line of agenda by narrowing the agenda buffer to just
10302         that line before calling `org-agenda-finalize'.
10304         * org.el (org-mode): Don't set org-hide's foreground to
10305         "invisible-bg".
10306         (org-find-invisible-foreground): New function.
10308         * org-agenda.el (defvar org-habit-show-all-today): New variable
10309         (org-agenda-get-scheduled): Show all habits if user wants it
10311         * org-habit.el (defcustom org-habit-show-all-today): New variable
10313         * org-agenda.el (org-agenda-quit): Copy the code for optionally
10314         restoring window configuration after burying the sticky agenda
10315         buffer.
10317         * org-agenda.el (org-agenda-new-marker): Check for NIL
10318         org-agenda-buffer
10319         (org-agenda-to-appt): Bind org-agenda-buffer to NIL
10321         * org-agenda.el (org-agenda-change-all-lines): Move accessing of
10322         'extra text property outside of with-current-buffer for original
10323         buffer
10325         * org-agenda.el (defvar org-habit-show-habits-only-for-today):
10326         initialize to nil
10328 2012-09-30  Michael Brand  <michael.ch.brand@gmail.com>
10330         * org-id.el (org-id-link-to-org-use-id): Align the doc string to
10331         the changed default.
10333         * ob-tangle.el (org-babel-tangle-collect-blocks): Use dummy string
10334         when heading has no text.
10336         * org-capture.el (org-capture-inside-embedded-elisp-p):
10337         Improve parsing.
10339         * org-feed.el (org-feed-format-entry): Require `org-capture'.
10340         Expand Elisp %(...) templates.
10341         (org-feed-default-template): Update docstring.
10343         * org-capture.el (org-capture-expand-embedded-elisp):
10344         New function.
10345         (org-capture-fill-template): Use it.
10346         (org-capture-inside-embedded-elisp-p): New function to tell if we
10347         are within an Elisp %(...) template.
10349         * org-list.el (org-at-item-description-p)
10350         (org-list-item-body-column): Make the inline regexp more
10351         consistent with `org-list-full-item-re', the inline regexp
10352         "Description list items" from `org-set-font-lock-defaults and
10353         others'.
10355 2012-09-30  Mike Sperber  <sperber@deinprogramm.de>
10357         * org.el (org-fill-paragraph): Pass optional argument to
10358         `fill-paragraph' to fix compatibility with XEmacs.
10360         * org.el (org-self-insert-cluster-for-undo):
10361         Default `org-self-insert-cluster-for-undo' also on XEmacs.
10363         * org.el (org-kill-line): Access `visual-line-mode' only if it's
10364         bound.
10366 2012-09-30  Muchenxuan Tong  <demon386@gmail.com>  (tiny change)
10368         * org-timer.el (org-timer-set-mode-line):
10369         Check `org-timer-display' when value is 'off.
10371 2012-09-30  Nicolas Calderon Asselin  <nicolas.calderon.asselin@gmail.com>  (tiny change)
10373         * org-clock.el (org-clock-idle-time): Org-mode assumed that
10374         x11idle was an available command, and returned an idle time of 0
10375         if it was not
10376         (never idle): Add checks so that org-idle-time will come from
10377         emacs' own current-idle-time if x11idle cannot be found or if it
10378         cannot retrieve the idle time from X11
10380 2012-09-30  Nicolas Goaziou  <n.goaziou@gmail.com>
10382         * org-element.el: Properly remove COMMENT and QUOTE keywords from
10383         title in parser.
10385         * org-element.el (org-element-headline-parser): Fix parsing for
10386         headlines with a single COMMENT or QUOTE keyword.
10388         * ob-org.el (org-babel-default-header-args:org): By default,
10389         export code from Org src blocks.
10391         * org-element.el (org-element-inline-src-block-successor):
10392         Fix inline-src-block parsing at the beginning of an item.
10394         * org-element.el (org-element--collect-affiliated-keywords):
10395         Fix caption parsing.
10397         * org-element.el (org-element--current-element): At the very
10398         beginning of a footnote definition or an item, next element is
10399         always a paragraph.
10401         * org-element.el (org-element-headline-parser): Handle nil titles.
10402         (org-element-inlinetask-parser): Add :raw-value property.
10403         Also handle nil titles.
10405         * org.el (org-set-regexps-and-options): Don't consider tags as a
10406         replacement for a missing title in an headline.
10408         * org.el (org-setup-filling): Remove duplicate code.
10410         * org.el (org-adaptive-fill-function): Make sure fill prefix is
10411         computed from beginning of line.
10413         * org-element.el (org-element-section-parser): Make sure section
10414         cannot contain an headline.
10415         (org-element--current-element): Fix bug requiring to parse a quote
10416         section even when point is at an headline.
10418         * org.el (org-adaptive-fill-function): Remove occasional spurious
10419         space character when auto-filling.
10421         * org.el (org-mode): Call external initalizers.  Now both filling
10422         code and comments code have their own independant part in org.el.
10423         (org-setup-filling): Rename from `org-set-autofill-regexps'.
10424         (org-setup-comments-handling): New function.
10426         * org.el (org-fill-paragraph): Refine filling in comments and in
10427         paragraphs.  Allow commented blank lines.  Take into consideration
10428         the indentation of the second line of the paragraph being filled.
10429         (org-comment-or-uncomment-region): Rewrite function.  Now comment
10430         region at a fixed column: the minimal indentation of the region.
10431         (org-fill-context-prefix): Rename function into
10432         `org-adaptive-fill-function'.  Also, In a paragraph, choose the
10433         same prefix as the current line.
10435         * org-exp.el (org-export-handle-comments): Also remove comments at
10436         column 0.
10438         * org-exp.el (org-export-handle-comments): Handle inline comments
10439         with new syntax.
10441         * org.el (org-structure-template-alist): Add missing colon to
10442         #+INCLUDE.
10444         * org.el (org-backward-element): When called at the beginning of
10445         first element in section, the function shouldn't return an error
10446         but move point to headline or point-min instead.
10448         * org-element.el (org-element-paragraph-parser): Tiny refactoring.
10450         * org-element.el (org-element-paragraph-parser): Remove trailing
10451         code comments.
10453         * org.el (org-fill-context-prefix): Fix incorrect output when
10454         called at the beginning of a plain list with an affiliated
10455         keyword.
10456         (org-fill-paragraph): Remove useless variable.
10458         * org-element.el (org-element-paragraph-parser): Fix parsing of
10459         paragraph at the beginning of an item.
10461         * org.el (org-mode): Set back comment-start-skip so comment-dwim
10462         can tell a keyword from a comment.
10464         * org.el (org-set-autofill-regexps): Install new comment line
10465         break function.
10466         (org-comment-line-break-function): New function.
10467         (org-mode): Remove unnecessary line.
10469         * org.el (org-fill-context-prefix, org-fill-paragraph): Do not
10470         fill verse blocks contents.  Verse blocks can be used to format
10471         free-form poetry, so filling has to be done manually.
10473         * org.el (org-fill-paragraph-separate-nobreak-p): New function.
10474         (org-set-autofill-regexps): Introduce new predicate.
10475         (org-fill-item-nobreak-p): Remove function.
10477         * org-element.el (org-element-paragraph-separate): Since this
10478         variable is meant to be searched forward, \end{...} shouldn't
10479         trigger the end of a paragraph before checking if it is the end of
10480         a complete environment.
10481         (org-element-latex-environment-parser): Slight change to the
10482         regexp matching the beginning of a latex environment.
10483         (org-element-paragraph-parser): Paragraphs don't end at incomplete
10484         latex environments.
10485         (org-element-latex-or-entity-successor): Remove paragraph
10486         environments from latex fragment search.
10488         * org-table.el (org-table-number-regexp): By default, accept comma
10489         as a decimal mark to represent numbers.
10491         * org-element.el (org-element-map): Fix comment typo.
10493         * org.el (org-fill-paragraph): Add a `save-excursion' to avoid
10494         returning funny results.
10496         * org.el (org-fill-paragraph): Try not to include message header
10497         and citation lines in a paragraph when filling it.
10499         * org.el (org-fill-paragraph): Fix filling in a narrowed buffer.
10500         (org-fill-context-prefix): Fill prefix doesn't depend on current
10501         narrowing.
10503         * org.el (org-mode): Line with a single hash sign on it is a
10504         comment.
10506         * org.el (org-set-font-lock-defaults): Fix comment fontification.
10508         * org-element.el (org-element-item-parser): Do not remove tag from
10509         body if list isn't descriptive.
10511         * org-list.el (org-insert-item): Only ask about a term for
10512         descriptive lists.
10513         (org-list-struct, org-list-insert-item): Do not recognize a tag in
10514         an ordered list.
10516         * org-element.el (org-element-set-element): Rewrite function.
10517         (org-element-adopt-elements): New function.
10518         (org-element-adopt-element): Remove function.
10519         (org-element--parse-elements, org-element--parse-objects): Use new
10520         function.
10522         * org-list.el (org-list-automatic-rules): Remove `bullet' rule,
10523         which is now hard-coded.
10524         (org-cycle-list-bullet): Hard code `bullet' rule.
10525         (org-list-get-list-type): Make sure a list with numbered bullets
10526         cannot have `descriptive' type.
10528         * org-element.el (org-element-paragraph-parser): Fix previous
10529         patch.
10531         * org.el (org-fill-paragraph): No need to use
10532         `org-element-paragraph-separate' in a verse block since blank
10533         lines only can end a "paragraph".
10535         * org-element.el (org-element-paragraph-separate): Apply changes
10536         to comments.
10537         (org-element-paragraph-parser): Correctly find end of paragraphs.
10538         (org-element--current-element): Require colons for Babel calls.
10539         (org-element-center-block-parser)
10540         (org-element-dynamic-block-parser, org-element-quote-block-parser)
10541         (org-element-special-block-parser)
10542         (org-element-comment-block-parser)
10543         (org-element-example-block-parser)
10544         (org-element-export-block-parser, org-element-src-block-parser)
10545         (org-element-verse-block-parser): Fall-back to paragraph parsing
10546         when incomplete or ill-formed.
10548         * org-element.el (org-element-swap-A-B): Small refactoring.
10550         * org-element.el (org-element-text-markup-successor): Fix typo in
10551         docstring.
10553         * org-element.el (org-element-at-point): Return consistent value
10554         when function is called on a blank line within a plain list.
10556         * org-element.el (org-element-paragraph-separate): Fix comments in
10557         paragraph separator regexp.  Optimize it.
10559         * org-element.el: Update code commets.
10561         * org.el (org-mark-subtree): Fix bug when marking subtree with
10562         point on an inlinetask.  Refactor code.
10564         * org.el (org-mark-subtree): Do not make a special case for
10565         inlinetasks when marking a subtree.  These are handled by
10566         `org-element-mark-element'.
10568         * org-element.el (org-element-comment-parser): Consider first "+"
10569         as a comment when parsing an ill-defined keyword.
10571         * org-element.el (org-element-item-interpreter): Simplify bullet
10572         creation.
10573         (org-element-plain-list-interpreter): Fix wrong bullets, if
10574         needed.
10576         * org-element.el (org-element-comment-parser): Fix parsing when a
10577         keyword follows the commented line.
10579         * org.el (org-fill-context-prefix): Auto-fill first paragraph in
10580         footnote definitions.
10582         * org.el (org-mode): Define new comment syntax.
10583         (org-fontify-meta-lines-and-blocks-1, org-strip-protective-commas)
10584         (org-fill-context-prefix, org-insert-comment)
10585         (org-comment-or-uncomment-region): Use new comment syntax.
10587         * org-element.el (org-element-comment-parser)
10588         (org-element-comment-interpreter, org-element--current-element):
10589         Use new comment syntax.
10591         * org.el (org-fill-paragraph): When at an item or a footnote
10592         definition, fill first paragraph instead.
10594         * org.el (org-fill-paragraph): Fix filling when point is at the
10595         very end of a paragraph.
10597         * org.el (org-mode): Set comments related variables.
10598         (org-insert-comment, org-comment-or-uncomment-region):
10599         New functions.
10601         * org.el (org-fill-context-prefix): Small refactoring.
10602         (org-fill-paragraph): Add code comments.
10604         * org-element.el (org-element-at-point): Add :parent property to
10605         output.
10606         (org-element-context): Add :parent property to output.
10607         Also return a single element or object instead of a list of parents.
10608         (org-element-forward, org-element-up): Apply changes.
10610         * org.el (org-fill-context-prefix): New function.
10611         (org-fill-paragraph, org-auto-fill-function): Use new function.
10612         Also handle comments.
10613         (org-adaptive-fill-function): Remove function.
10614         (org-get-local-variables, orgstruct++-mode): Don't store now
10615         unused adaptive-fill* functions.
10617         * org-element.el (org-element-at-point): Fix function when buffer
10618         starts with an inlinetask.  Also fix it when called on the last
10619         element in a greater element or the buffer.
10621         * org-element.el (org-element-center-block-parser)
10622         (org-element-dynamic-block-parser)
10623         (org-element-footnote-definition-parser)
10624         (org-element-headline-parser, org-element-inlinetask-parser)
10625         (org-element-quote-block-parser, org-element-special-block-parser)
10626         (org-element-plain-list-parser): Refactor code.
10627         (org-element-drawer-parser): Fall-back to paragraph parser when
10628         drawer is incomplete.
10630         * org-macs.el (org-with-limited-levels): Fix typo.
10632         * org-element.el (org-element-paragraph-separate): Refactor.
10633         (org-element-paragraph-parser): Fix paragraph parsing.
10635         * org.el (org-fill-paragraph): Rewrite function using
10636         `org-element-at-point'.
10638         * org-element.el (org-element-fill-paragraph): Remove function.
10640         * org.el (org-planning-or-clock-line-re): Make it a defconst.
10641         It's no use to make it a buffer-local variable since variables on
10642         which it depends are not buffer-local anyway.
10644         * org.el (org-drawer-regexp): Provide default value for
10645         `org-drawer-regexp' in non-Org buffers.
10647         * org-entities.el (org-entities-create-table): Function chokes
10648         when CAR of `org-entities' is a string.
10650         * org-list.el (org-list-automatic-rules): Allow check-boxes in
10651         description lists.
10652         (org-list-struct-apply-struct, org-insert-item): Remove rule
10653         check.
10655         * org-footnote.el (org-footnote-normalize): Fix positionning in
10656         HTML export without a footnote section.
10658         * org-list.el (org-list-struct-indent):
10659         Follow `org-list-demote-modify-bullet' specifications for ordered
10660         bullets.
10661         (org-list-indent-item-generic, org-indent-item-tree)
10662         (org-outdent-item-tree): Fix bug when operating on a region.
10663         (org-outdent-item, org-indent-item): Allow to operate on a region.
10665         * org.el (org-shiftmetaleft, org-shiftmetaright): Allow to operate
10666         on a region.
10668         * org-footnote.el (org-footnote-delete-definitions): Remove blank
10669         lines before the footnote definition instead of removing those
10670         after it.
10672         * org-footnote.el (org-footnote-at-definition-p): Don't grab
10673         trailing blank lines in a footnote definition.
10674         (org-footnote-delete-definitions): Remove both footnote definition
10675         and trailing blank lines.
10677 2012-09-30  Rick Frankel  <rick@rickster.com>
10679         * ob-sql.el: Add dbi engine type and pre/post processing.
10681 2012-09-30  Sean O'Halpin  <sean.ohalpin@gmail.com>  (tiny change)
10683         * ob.el (org-babel-expand-noweb-references): Capture current noweb
10684         start and end patterns then use to set buffer locals in
10685         (with-temp-buffer) form.
10687 2012-09-30  Sebastien Vauban  <sva@mygooglest.com>  (tiny change)
10689         * org.el (org-update-all-dblocks): Autoload function.
10691 2012-09-30  Simon Thum  <simon.thum@gmx.de>  (tiny change)
10693         * ob-maxima.el (org-babel-execute:maxima): Let cmdline always
10694         return a string.
10696 2012-09-30  Stephen Eglen  <S.J.Eglen@damtp.cam.ac.uk>  (tiny change)
10698         * org-icalendar.el (org-icalendar-timezone): Fix typo and clarify
10699         meaning.
10701 2012-09-30  Stuart Hickinbottom  <stuart@hickinbottom.com>  (tiny change)
10703         * org-clock.el (org-x11idle-exists-p): Only shell out when running
10704         on X.
10706 2012-09-30  Suhail Shergill  <suhailshergill@gmail.com>  (tiny change)
10708         * org-html.el (org-export-as-html): If possible, use the
10709         :CUSTOM_ID: property to assign unique ids to footnotes.
10711 2012-09-30  T.F. Torrey  <tftorrey@tftorrey.com>  (tiny change)
10713         * org-exp.el (org-export-remember-html-container-classes):
10714         Allow exporting a single subtree with HTML_CONTAINER_CLASS property.
10716         * org-rmail.el (org-rmail-follow-link): Use `rmail-widen' instead
10717         of `widen' and don't toggle header as `rmail-widen' already takes
10718         care of this.
10720 2012-09-30  Tim Howe  <vsync@quadium.net>  (tiny change)
10722         * org-clock.el (org-clocktable-defaults): Revert extra layer of
10723         quoting.
10725 2012-09-30  Toby S. Cubitt  <tsc25@cantab.net>
10727         * org-capture.el (org-capture-fill-template): Expand %<num> escape
10728         sequences into text entered for <num>'th %^{PROMPT} escape.
10730         * org-capture.el (org-capture-fill-template): Fix regexp for
10731         %<n> expandos to match any positive integer.
10732         (org-capture-templates): Update docstring accordingly.
10734         * org-agenda.el (org-agenda-skip-timestamp-if-deadline-is-shown):
10735         Skip timestamp items in agenda view if item is already shown as a
10736         deadline item.
10737         (org-agenda-skip-deadline-if-done): Pass deadline results to
10738         org-agenda-get-timestamps.
10739         (org-agenda-get-timestamps): Optionally take list of deadline
10740         results, so that timestamp results can be skipped if already
10741         included in deadline results.
10743         * org-agenda.el (org-agenda-diary-sexp-prefix): Regexp matching
10744         deadline/scheduling information to be displayed in diary sexp
10745         agenda items.
10746         (org-agenda-get-sexps): Extract deadline/scheduling information
10747         from diary sexp entries.
10749         * org-capture.el (org-capture-place-entry): Place captured entry
10750         immediately after last subheading of target, instead of just
10751         before next heading at same level as target.
10753         * org-capture.el (org-capture-templates): Document new capture
10754         template properties.
10756         * org-capture.el (org-capture-place-entry)
10757         (org-capture-empty-lines-before): Make new :empty-lines-before
10758         property override :empty-lines when inserting empty lines before
10759         captured captured entry.
10761         * org-capture.el (org-capture-finalize)
10762         (org-capture-empty-lines-after): Make new :empty-lines-after
10763         property override :empty-lines when inserting empty lines after
10764         captured captured entry.
10766         * org-agenda.el (org-agenda-skip-if, org-agenda-skip-if-todo):
10767         Add new todo-unblocked and nottodo-unblocked skip conditions.
10768         These match as for todo and nottodo, but only for unblocked todo items.
10770 2012-09-30  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
10772         * org.el (org-read-date-display): Fix bug when displaying the
10773         overlay.
10775 2012-09-30  Niels Giesen  <niels.giesen@gmail.com>
10777         * org-table.el (orgtbl-to-generic): Add check for :skipheadrule.
10778         When present, the :hline following the head will be skipped.
10779         This is necessary to avoid doubling of horizontal rules in LaTeX
10780         longtable environments and consequent width problems.
10782         * org-latex.el (org-export-latex-tables-tstart)
10783         (org-export-latex-tables-hline)
10784         (org-export-latex-tables-tend): New options.
10785         (org-export-latex-tables): Use the new options.
10787 2012-09-30  Feng Shu  <tumashu@gmail.com>  (tiny change)
10789         * org-exp.el (org-export-language-setup): Add simplified chinese
10790         translation.
10792 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
10794         Better seed support for (random).
10795         * org-id.el (org-id-uuid):
10796         Change (random t) to (random), now that the latter is more random.
10798 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
10800         Don't use the abbreviation "win" to refer to Windows (Bug#10421).
10801         * ob-lilypond.el (ly-w32-ly-path): Rename from ly-win32-ly-path.
10802         (ly-w32-pdf-path): Rename from ly-win32-pdf-path.
10803         (ly-w32-midi-path): Rename from ly-win32-midi-path.
10804         (ly-determine-ly-path, ly-determine-pdf-path, ly-determine-midi-path):
10805         Check for "windows-nt", not "win32", in system-type.
10807 2012-06-02  Chong Yidong  <cyd@gnu.org>
10809         * org-clock.el (org-clock-string-limit)
10810         (org-clock-modeline-total, org-clock-task-overrun-text)
10811         (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
10813 2012-05-27  Mark Shoulson  <mark@kli.org>  (tiny change)
10815         * org.el (org-fontify-entities): Fix bug: The entities \sup[123] and
10816         \there4 were not "prettified" when org-pretty-entities was enabled.
10818 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10820         * org.el (org-font-lock-add-priority-faces):
10821         Restrict priorities fontification to headlines and inlinetasks.
10823 2012-05-27  Jambunathan K  <kjambunathan@gmail.com>
10825         * org-odt.el (org-odt-init-outfile)
10826         (org-odt-write-manifest-file):
10827         Disable `nxml-auto-insert-xml-declaration-flag'.
10829         * org-lparse.el (org-do-lparse): Don't trigger auto-mode processing.
10831 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10833         * org.el (org-scan-tags): Fix bug when building the scanner regexp.
10835 2012-05-27  Eric Schulte  <eric.schulte@gmx.com>
10837         * ob.el (org-babel-capitalize-examplize-region-markers):
10838         Controls the capitalization of begin and end example blocks.
10839         (org-babel-examplize-region):
10840         Optionally capitalize example block delimiters.
10842         * ob-plantuml.el (org-babel-execute:plantuml):
10843         Add a :java header argument to plantuml.
10845         * org-exp-blocks.el (org-export-blocks-preprocess):
10846         Even when the body of a block is not indented the boundary markers
10847         should be indented to their original positions so things like list
10848         indentation still work.
10850         * ob.el (org-babel-parse-src-block-match):
10851         Save match data during indentation check.
10853 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10855         * org.el (org-scan-tags): Correctly match TODO keywords.
10857 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10859         * org-list.el (org-list-struct): Fix white spaces.
10860         (org-list-swap-items, org-list-send-item): Fix visibility preservation.
10862         * org-list.el (org-list-swap-items, org-list-send-item):
10863         Preserve visibility when moving items.
10865 2012-05-27  Mark E. Shoulson  <mark@kli.org>  (tiny change)
10867         * org.el (org-fontify-entities): Hide {} when prettifying entities.
10869 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10871         * org.el (org-cycle-internal-global): Prevent the display of
10872         messages when cycling from with a Gnus article buffer.
10874         * org-table.el (org-table-time-seconds-to-string):
10875         Fix bug about handling a negative duration value.
10877 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10879         * org.el (org-link-expand-abbrev): Fix docstring.
10881         * org.el (org-translate-link): Fix bug.
10883 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10885         * org-agenda.el (org-agenda-bulk-mark-regexp):
10886         Fix bug when setting the number of marked entries.
10888         * org-table.el (org-tbl-calc-modes): Rename from `org-table-modes'.
10889         (org-set-calc-mode, org-table-eval-formula): Use it.
10891 2012-05-27  Eric Schulte  <eric.schulte@gmx.com>
10893         * ob.el (org-babel-find-named-result):
10894         Fix bug finding empty named results.
10896 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10898         * org.el (org-set-regexps-and-options):
10899         Fix `org-planning-or-clock-line-re' regexp.  Indeed "\\>" will never
10900         match since time keywords must end with colons, which are not word
10901         constituents.
10903 2012-05-27  Bastien Guerry  <bzg@gnu.org>
10905         * org-ctags.el (org-ctags-new-topic-template):
10906         Fix the option default value back again.
10908 2012-05-27  Eric Schulte  <eric.schulte@gmx.com>
10910         * org-bibtex.el (org-bibtex-export-to-kill-ring):
10911         Don't rely on kill-new to return a string.
10913         * org-bibtex.el (org-bibtex-headline):
10914         Remove call to bibtex-reformat which often hangs.
10916 2012-04-27  Glenn Morris  <rgm@gnu.org>
10918         * org-ctags.el (org-ctags-new-topic-template):
10919         Revert 2012-04-09 removal of * from defcustom value, not doc.
10921 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10923         * org-table.el (org-table-number-fraction): Fix typo.
10925 2012-04-27  Eric Schulte  <eric.schulte@gmx.com>
10927         * ob-python.el (org-babel-execute:python): Ensure newline precedes
10928         automatically-added returns.
10930 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10932         * org-mouse.el (org-mode-hook): Do not move point when clicking on
10933         a footnote reference.
10935 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10937         * org-faces.el (org-date-selected): Fix docstring.
10939 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10941         * org-list.el (org-list-struct-indent):
10942         Follow `org-list-demote-modify-bullet' specifications for ordered
10943         bullets.
10944         (org-list-indent-item-generic, org-indent-item-tree)
10945         (org-outdent-item-tree): Fix bug when operating on a region.
10946         (org-outdent-item, org-indent-item): Allow to operate on a region.
10948         * org.el (org-shiftmetaleft, org-shiftmetaright): Allow to operate
10949         on a region.
10951 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
10953         * org-footnote.el (org-footnote-normalize): Fix positioning in
10954         HTML export without a footnote section.
10956 2012-04-27  Madan Ramakrishnan  <madanr79@gmail.com>  (tiny change)
10958         * org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as
10959         advertised by the function.
10961 2012-04-27  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
10963         * org.el (org-read-date-display): Fix bug when displaying the
10964         overlay.
10966 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10968         * org.el (org-mode): Don't use `buffer-face-mode' by default.
10970 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10972         * org-faces.el (org-date-selected): New face.
10974 2012-04-27  Jambunathan K  <kjambunathan@gmail.com>
10976         * org-odt.el (org-odt-format-org-link): Pay no heed to whether the
10977         internal links destined for headlines provide a description or
10978         not.  In fact, the `org-store-link' and `org-insert-link' create
10979         internal links which do have a description.
10981 2012-04-27  Bastien Guerry  <bzg@gnu.org>
10983         * org-clock.el (org-program-exists): Fix docstring.
10985 2012-04-14  Bastien Guerry  <bzg@gnu.org>
10987         * org.el (org-point-at-end-of-empty-headline): Only try to match
10988         `org-todo-line-regexp' when the value is non-nil, e.g. in non-org
10989         modes.
10990         (org-fontify-meta-lines-and-blocks-1): Prevent errors when trying
10991         to fontify beyond (point-max).
10993         * org-clock.el (org-clock-task-overrun-text)
10994         (org-task-overrun, org-clock-get-clock-string)
10995         (org-clock-update-mode-line)
10996         (org-clock-notify-once-if-expired): Rename `org-task-overrun'
10997         and `org-task-overrun-text' to `org-clock-task-overrun' and
10998         `org-clock-task-overrun-text' respectively.
10999         (org-task-overrun-text): New alias.
11001         * org-table.el (org-table-eval-formula): Fix bug about handling
11002         remote references as durations.
11003         (org-table-get-range): Fix bug: make sure references to $0 are
11004         correctly handled.
11006         * org-pcomplete.el (pcomplete/org-mode/file-option):
11007         Fix bug in `pcomplete/org-mode/file-option'.
11008         (org-thing-at-point): Also match line options like LATEX_CLASS
11009         when pcompleting from LATEX_.
11011         * org-agenda.el (org-agenda-filter-make-matcher)
11012         (org-agenda-filter-apply): Allow filtering entries out by
11013         category.  Using `C-u <' from the agenda view will redisplay
11014         the agenda without entries from categories of the current line.
11016 2012-04-14  Eric Schulte  <eric.schulte@gmx.com>
11018         * ob-C.el (org-babel-C-ensure-main-wrap):
11019         Add an explicit return to automatically generated main methods.
11021 2012-04-14  Matt Lundin  <mdl@imapmail.org>
11023         * org.el (org-after-todo-state-change-hook):
11024         Fix docstring to reflect name change of state to `org-state'.
11026 2012-04-14  Mike Sperber  <sperber@deinprogramm.de>  (tiny change)
11028         * org-footnote.el (org-footnote-normalize):
11029         Correctly pass keyword arguments to `org-export-preprocess-string'.
11031 2012-04-03  Bastien Guerry  <bzg@gnu.org>
11033         * org.el (org-todo): Fix regression: rename `state' to
11034         `org-state'.
11035         (org-use-effective-time): Fix group and type.
11037 2012-04-02  Bastien Guerry  <bzg@gnu.org>
11039         * org-clock.el (org-clock-out-if-current): Fix regression: rename
11040         `org-clock-state' to `org-state' to match the name of the
11041         dynamically-scoped variable in `org-todo'.
11043         * org-agenda.el (entry, org-diary, org-class): Fix regression:
11044         rename `org-entry' to `entry'.
11046 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11048         * org.el (org-todo): Fix regression in `org-todo'.
11050 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11052         * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled
11053         C files on windows.
11055 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11057         * ob-exp.el (org-babel-exp-code): Escape all lines when exporting
11058         Org-mode blocks.
11060         * ob.el (org-babel-parse-src-block-match): Make use of the new
11061         language argument to org-babel-strip-protective-commas.
11062         (org-babel-parse-inline-src-block-match): Make use of the new
11063         language argument to org-babel-strip-protective-commas.
11064         (org-babel-strip-protective-commas): Now accepts a language
11065         argument.
11067 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11069         * org.el (org-fast-tag-selection): Fix an bug when listing tags
11070         for completion.
11072 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11074         * org.el (org-delete-property-globally): Fix a bug that left
11075         blank line in place of the property, instead of removing the line.
11077 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11079         * ob-maxima.el (org-babel-maxima-command): Add group information
11080         to the defcustom.
11082 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11084         * org.el (org-mode): Use `buffer-face-mode' to remap the 'default
11085         face to 'org-default.
11087 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11089         * org-ascii.el (org-export-as-ascii): Fix escaping of underscores
11090         in links.
11092 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11094         * org.el: Prevent a bug while defining the menu by requiring
11095         `org-beamer' when necessary.
11097 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11099         * org-table.el (orgtbl-self-insert-command):
11100         Use `backward-delete-char' instead of `delete-backward-char' as this
11101         last command gets caught by the compiler which says to not use it
11102         in programs.  `backward-delete-char' is just an alias for
11103         `delete-backward-char' which is internally remapped to
11104         `org-delete-backward-char' for optimization purpose.
11106 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11108         * org-latex.el (org-export-latex-subcontent): Bugfix: when
11109         `org-export-latex-low-levels' is nil, do not export low levels.
11111 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11113         * ob.el (org-babel-insert-result): Fix bug in indented wrapped
11114         results insertion.
11116 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11118         * org.el (org-set-tags): Include `org-tag-alist' in the list of
11119         possible completions, even when there are tags defined in the
11120         buffer.
11122 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11124         * org.el (org-set-tags): Don't add a column when there is only one
11125         tag offered for completion.
11127 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11129         * org.el (org-fast-tag-selection): Include tags from
11130         `org-tag-alist' when completing with the TAB key.
11132 2012-04-01  Shoji Nishimura  <nishimura.shoji@gmail.com>  (tiny change)
11134         * org.el (org-display-inline-images): Honor the ̀beg' parameter.
11136 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11138         * org-latex.el (org-export-latex-subcontent): Don't insert a
11139         linebreak when itemizing a subtree that is just a headline.
11141 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11143         * ob-lob.el (org-babel-lob-get-info): Remove extra []s when
11144         parsing inline call_foo lines.
11146 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11148         * ob-maxima.el (org-babel-maxima-command): The maxima command used
11149         should be configurable (defaults to maxima-command if defined).
11150         (org-babel-execute:maxima): The maxima command used should be
11151         configurable (defaults to maxima-command if defined).
11153 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11155         * ob-C.el (org-babel-C-execute): Add the local directory to the
11156         library search path for C/C++ block compilation.
11158 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11160         * ob.el (org-babel-where-is-src-block-result): Don't truncate
11161         results name on call line execution.
11163 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11165         * org-colview.el (org-columns-cleanup-item): Handle case of empty
11166         headline.
11168 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11170         * org-footnote.el (org-footnote-delete-definitions): Fix LaTeX
11171         export error when a src block produces fake footnotes.
11173 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11175         * org.el (org-read-date): Don't mention `parse-time-weekdays' and
11176         `parse-time-months' in the docstring.
11178 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11180         * org-agenda.el (org-agenda-filter-apply): Bugfix: Add let
11181         binding.
11183 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11185         * org-colview.el (org-columns-compute): Also consider inline tasks
11186         when computing the sum.
11188 2012-04-01  Thomas Morgan  <tlm@ziiuu.com>  (tiny change)
11190         * org-habit.el (org-habit-insert-consistency-graphs):
11191         Fix alignment of consistency graph in filtered agenda view.
11193 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11195         * org-latex.el (org-export-as-latex): Fix bug in setting the
11196         export directory according to the LaTeX options.
11198 2012-04-01  K.Nagashima  <uni.naga@gmail.com>  (tiny change)
11200         * org.el (org-show-subtree): Make interactive.
11202 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>
11204         * org-clock.el (org-clock-get-table-data): Make sure todo-only
11205         does not leak when it is set by make-org-tags-macher.
11207 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11209         * org.el (org-cycle-internal-local): Don't try to hide drawers
11210         within subtrees in this function, it slows cycling down.
11212 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11214         * org-agenda.el (org-agenda-custom-commands-local-options):
11215         Fix incorrect custom option definition.
11217 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11219         * org-colview.el (org-columns-display-here): Bugfix: use the date
11220         as the value for the ITEM column when displaying a summary.
11222 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11224         * ob-lilypond.el: Re-direct homepage to Worg.
11226 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11228         * ob-lilypond.el: Leave versioning to Org.
11230 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11232         * ob-lilypond.el: Fix compiler warning.
11234 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11236         * org-odt.el (org-odt-format-entity-caption): Enumerate entities
11237         that have either a caption or a label.
11238         (org-odt-label-styles, org-odt-category-map-alist): Add a
11239         separator between sequence number and caption.  Introduced two
11240         new label styles for handling of math formula and math label.
11241         (org-odt-format-label-definition)
11242         (org-export-odt-format-formula): Propagate above changes.
11244 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11246         * org.el (org-enforce-todo-dependencies): Fix docstring.
11248 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11250         * org-odt.el (org-export-odt-category-strings): New custom
11251         variable.
11252         (org-odt-category-map-alist): Modify interpretation.
11253         Don't use the same field to double up as both a OpenDocument
11254         variable and a category string.  Entries in this list now
11255         specify only the OpenDocument variable.  Category strings are
11256         obtained through an indirect lookup of
11257         `org-export-odt-category-strings'.  Use same OpenDocument
11258         variables as what LibreOffice uses for various entities.
11259         Fix docstring.
11260         (org-odt-add-label-definition)
11261         (org-odt-format-label-definition)
11262         (org-odt-format-label-reference): Propagate above changes.
11264 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11266         * org-latex.el (org-export-as-latex): Check TeX-master correctly.
11268 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11270         * org-odt.el (org-odt-category-map-alist): Update docstring.
11271         (org-export-odt-user-categories)
11272         (org-export-odt-get-category-from-label)
11273         (org-odt-get-label-category-and-style): Remove.
11274         (org-odt-add-label-definition): Propagate above changes.
11276 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11278         * org.el (org-refile): Don't allow creation of parents when using
11279         the refile command to go to a headline.
11281 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11283         * org-odt.el (org-odt-format-org-link): Resolve links to headlines
11284         as section numbers only if section numbering is on.
11286 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11288         * org.el (format-spec): Require 'format-spec.
11290 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11292         * org-latex.el (org-export-as-latex): Fix TeX-master declaration.
11294 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11296         * org.el (org-imenu-get-tree): Check that looking-at succeeds
11297         before using match results.
11299 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11301         * org-exp-blocks.el (org-ditaa-jar-path): Make a defcustom.
11303 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11305         * org-lparse.el (org-do-lparse): Make effective setting of
11306         `org-export-headline-levels' available to the ODT exporter.
11307         Also remove some stale comments.
11309 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11311         * org-odt.el (org-odt-begin-toc): Handle named HTML entities in
11312         per-language string for "Table Of Contents".
11314 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11316         * org-exp-blocks.el (org-ditaa-jar-path): Fix merge conflict.
11318 2012-04-01  Shaun Johnson  <shaun@slugfest.demon.co.uk>  (tiny change)
11320         * org-exp-blocks.el (org-ditaa-jar-path): Better heuristic to find
11321         the libary name.
11323 2012-04-01  Suvayu Ali  <fatkasuvayu+linux@gmail.com>
11325         * org-src.el (org-edit-src-code): Change let bind to let*, e.g. if
11326         case-fold-search is bound to nil globally, the
11327         (case-fold-search t) doesn't work until we get to the body.
11329 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11331         * org-latex.el (org-export-latex-tables): Allow to use
11332         sidewaystable.
11334 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11336         * ob.el (org-babel-expand-noweb-references): Fix bug in src name
11337         regexp when using *org-babel-use-quick-and-dirty-noweb-expansion*.
11339 2012-04-01  David Maus  <dmaus@ictsoc.de>
11341         * org.el (org-scan-tags): Require one or more spaces (+) between
11342         keyword and headline.
11344 2012-04-01  David Maus  <dmaus@ictsoc.de>
11346         * org-agenda.el (org-prepare-agenda): Don't reset
11347         `org-done-keywords-for-agenda' when `org-agenda-multi'.
11349 2012-04-01  Thomas Morgan  <tlm@ziiuu.com>  (tiny change)
11351         * org-habit.el (org-habit-insert-consistency-graphs): Fix bug
11352         while inserting habit graph in the agenda buffer.
11354 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11356         * org-src.el (org-src-edit-buffer-p): New function.
11358 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11360         * org-agenda.el (org-agenda-skip-if): Fix the order conditions are
11361         being checked.  Also enhance the docstring a bit.
11363 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11365         * org-agenda.el (org-agenda-tree-to-indirect-buffer): Fix the
11366         display of indirect agenda window.
11368 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
11370         * org.el (org-create-formula-image, org-dvipng-color): Fix XEmacs
11371         compatibility bug.
11373 2012-04-01  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
11375         * org-clock.el (org-clock-get-table-data): Bind org-scanner-tags
11376         to tags-list and org-trust-scanner-tags to t while evaluating the
11377         matcher, since the matcher is always evaluated at the current
11378         entry.
11380 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11382         * org.el (org-scan-tags): Bind org-trust-scanner-tags to t while
11383         evaluating the matcher, since the matcher is always evaluated at
11384         the current entry.
11386 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
11388         * ob-lilypond.el (ly-compile-lilyfile): Fix misplaced comma in a
11389         quoting expression.
11391 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11393         * ob.el (org-babel-merge-params): Add "eval" as acceptable noweb
11394         argument.
11395         (org-babel-noweb-p): The "eval" argument only expands during
11396         evaluation.
11398 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11400         * ob.el (org-strip-protective-commas): Declared.
11402         * org-agenda.el (org-agenda-filtered-by-category): Declared.
11403         (org-agenda-filter-apply): Capture free variable.
11405         * org-footnote.el (org-skip-whitespace): Declared.
11407         * org-mobile.el (org-agenda-filter): Declared.
11409         * org-src.el (org-strip-protective-commas): Declared.
11411 2012-04-01  Sebastien Vauban  <sva@mygooglest.com>  (tiny change)
11413         * org.el (org-version): Add autoload cookie.
11415 2012-04-01  David Maus  <dmaus@ictsoc.de>
11417         * org-attach.el (org-attach-store-link-p): Remove spurious quote
11418         in customization form choice.
11420 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11422         * ob-sh.el (org-babel-execute:sh): Pass all params to subroutine.
11423         (org-babel-sh-evaluate): Apply :shebang and :padline to shell script
11424         execution.
11426 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11428         * ob.el (org-babel-insert-result): Ensure correct order for empty
11429         result wrapping blocks.
11431 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11433         * ob-lilypond.el: Make auditioning of midi and pdf asynchronous,
11434         and add easy pdf generation in the form of `ly-gen-pdf' variable.
11436 2012-04-01  Deech  <deech@deech-ThinkPad-X200.none>  (tiny change)
11438         * ob-tangle.el (org-babel-spec-to-string): The link generated by
11439         org-store-link is escaped twice when tangling with ":comments yes"
11440         flag.
11442 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11444         * org-html.el (org-export-as-html): Remove another useless space
11445         before tag.
11447 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11449         * org-html.el (org-export-as-html): Remove another useless space
11450         before tag.
11452 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11454         * org-html.el (org-export-as-html): Remove useless space before
11455         tag.
11457 2012-04-01  Sebastien Vauban  <sva@mygooglest.com>  (tiny change)
11459         * org.el (org-version): Add autoload cookie.
11461 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11463         * org.el (org-get-category): Save match data.
11465 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11467         * ob-tangle.el (org-babel-tangle): Don't prompt for a file name if
11468         :tangle is specified.
11470         * ob.el (org-babel-expand-noweb-references): Widen buffer when
11471         expanding noweb references.
11473 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11475         * ob-table.el (sbe): Don't accidentally leave a `t' value when
11476         variables are force interpreted as strings.
11478 2012-04-01  David Maus  <dmaus@ictsoc.de>
11480         * org-bbdb.el (org-bbdb-open, org-bbdb-open-old)
11481         (org-bbdb-open-new): Pass record name to avoid dynamic scoping.
11483 2012-04-01  David Maus  <dmaus@ictsoc.de>
11485         * org-bbdb.el (bbdb-record-get-field, bbdb-search-name)
11486         (bbdb-search-organization): Declare functions to silence byte
11487         compiler.
11489 2012-04-01  Bernt Hansen  <bernt@norang.ca>
11491         * org.el (org-clone-subtree-with-time-shift): Fix task cloning for
11492         repeating tasks using .+n and ++n syntax.
11494 2012-04-01  Karl Fogel  <kfogel@red-bean.com>  (tiny change)
11496         * org-agenda.el (org-agenda-highlight-todo): Handle the case of a
11497         heading that has a date but no todo keyword.
11499 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11501         * ob.el (org-babel-find-named-result): Fix code block replacement
11502         with results.
11504 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11506         * org-footnote.el (org-footnote-normalize): Do not normalize
11507         labels when sort-only is non-nil.
11509 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11511         * org-footnote.el (org-footnote-normalize): Remove an useless part
11512         of the function.
11513         (org-insert-footnote-reference-near-definition): Remove function.
11515 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11517         * org-footnote.el (org-footnote-normalize): Fix normalization of
11518         inline footnotes with no footnote section.
11520 2012-04-01  David Maus  <dmaus@ictsoc.de>
11522         * org-bbdb.el (org-bbdb-old): Replace `defvar' after loading 'bbdb
11523         to check for old or new version by a check for the required
11524         function in `org-bbdb-open' and `org-bbdb-store-link'.
11525         (org-bbdb-store-link, org-bbdb-open): Check which version of bbdb is
11526         to be used.
11528 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11530         * ob.el (org-babel-find-named-result): Don't miss a code block
11531         when there are confounding spaces after the result name.
11533 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11535         * ob-lob.el (org-babel-block-lob-one-liner-regexp): Less greedy
11536         regular expressions.
11537         (org-babel-inline-lob-one-liner-regexp): Less greedy regular
11538         expressions.
11540 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11542         * ob.el (org-babel-examplize-region): Fix bug in examplization.
11544 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11546         * org.el (org-link-search): Search for #+name affiliated keywords
11547         and invisible targets.
11549 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11551         * org-lparse.el (org-lparse-end-footnote-definition): Cleanup
11552         newlines in a transcoded footnote definition.  This ensures that
11553         the line that is currently being processed by `org-do-lparse' loop
11554         doesn't get broken up into multiple lines.  Fix for the following
11555         bug -
11557 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11559         * org-footnote.el (org-footnote-normalize): Force a paragraph
11560         break after the last footnote definition.  This is an an implicit
11561         assumption made by the org-lparse.el library.  With this change,
11562         footnote definitions can reliably be exported with ODT backend.
11563         See http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg01013.html.
11565 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11567         * ob-ditaa.el (org-ditaa-jar-path): Fix a recursive load error.
11569 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11571         * org-list.el (org-list-struct): Fix small bug introduced by
11572         commit 8b7a3f249803aba612f9ad3ae50c2fc986247da4 in Org's git repo.
11574 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11576         * ob-ditaa.el (org-ditaa-jar-path): Already defined in
11577         org-exp-blocks.el.
11579         * org-exp-blocks.el (org-ditaa-jar-path): Declare appropriately
11580         for the fact that this is really now a Babel thing -- even if it
11581         is used here and the definition should remain here for reasons of
11582         load dependencies.
11584 2012-04-01  David Maus  <dmaus@ictsoc.de>
11586         * org-bbdb.el (org-bbdb-old): Wrap `defvar' so the variable gets
11587         defined after bbdb was loaded.
11589 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11591         * org-latex.el (org-export-latex-tables): Don't add spurious
11592         preceding newline if caption is not above a longtable.
11594 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11596         * org-odt.el (org-odt-insert-toc): Remove this stray,
11597         dysfunctional routine.  This possibly has crept in because of the
11598         broken merges between "maint" and "origin" branches.
11599         (org-odt-begin-table): Don't emit an empty paragraph when a table is
11600         neither labeled nor captioned.
11601         (org-odt-init-outfile): Remove reference to an unused variable.
11603 2012-04-01  Viktor Rosenfeld  <listuser36@googlemail.com>
11605         * ob-sql.el (org-babel-execute:sql): Add support for MonetDB to
11606         SQL code blocks.
11608 2012-04-01  Andreas Leha  <andreas.leha@med.uni-goettingen.de>
11610         * ob.el (org-babel-goto-named-src-block): Pushing the point to the
11611         org-mark-ring and guessing at the code block name to jump to.
11613 2012-04-01  David Maus  <dmaus@ictsoc.de>
11615         * org-agenda.el (org-agenda-tree-to-indirect-buffer): Fix handling
11616         of indirect buffer and window.
11618 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11620         * org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes
11621         in verse blocks.
11623 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11625         * org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes
11626         in verse blocks.
11628 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11630         * org-exp.el (org-table-clean-before-export): Ignore table rows
11631         defining parameters for formulas during export.
11633 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11635         * org-list.el (org-list-get-item-number): New function.
11637 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11639         * org-list.el (org-list-ending-method, org-list-end-regexp):
11640         Remove variables.
11641         (org-in-item-p, org-list-separating-blank-lines-number)
11642         (org-list-parse-list, org-list-struct): Apply changes.
11644         * org-exp.el (org-export-mark-list-end)
11645         (org-export-mark-list-properties): Apply changes.
11647         * org-latex.el (org-export-latex-lists): Apply changes.
11649 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11651         * org.el (org-cycle-internal-local): Correctly unfold headlines
11652         containing an inlinetask.
11654 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11656         * org.el (org-structure-template-alist): Fix missing angle
11657         brackets for muse export style.
11659 2012-04-01  David Maus  <dmaus@ictsoc.de>
11661         * org.el (org-recenter-calendar): Use `with-selected-window' to
11662         select calendar window and save currently selected window and
11663         current buffer.
11665 2012-04-01  Toby S. Cubitt  <tsc25@cantab.net>  (tiny change)
11667         * org.el (org-goto): Call org-refile-get-location with NO-EXCLUDE
11668         argument set, otherwise not only are headlines in the current
11669         subtree excluded, but it throws an error if point happens not to
11670         be within a subtree (e.g. at start of buffer).
11672 2012-04-01  David Maus  <dmaus@ictsoc.de>
11674         * org.el (org-scan-tags): Fix highlighting in sparse-tree.
11676 2012-04-01  David Maus  <dmaus@ictsoc.de>
11678         * org-clock.el (org-in-clocktable-p): Move to org.el.
11680         * org.el (org-in-clocktable-p): New function.  Moved from
11681         org-clock.el.
11683 2012-04-01  David Maus  <dmaus@ictsoc.de>
11685         * org-exp.el (org-export-get-title-from-subtree): Don't format
11686         tags in title if title headline does not have tags.
11688 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11690         * org.el (org-cycle-internal-local): Fix bug: hide drawers in
11691         inline tasks too.
11693 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11695         * org-odt.el (org-odt-format-preamble): Don't insert TOC here.
11696         Delay it till the end of export.
11697         (org-odt-begin-document-body): Make a note of the default
11698         position of TOC in `org-lparse-dyn-first-heading-pos'.
11699         (org-odt-insert-toc): Insert TOC as directed by
11700         [TABLE-OF-CONTENTS] line or at the default position.
11701         (org-odt-end-export): Call `org-odt-insert-toc'.
11703 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11705         * org.el (org-preview-latex-fragment): Throw an error when called
11706         from a non-file buffer.
11708 2012-04-01  David Maus  <dmaus@ictsoc.de>
11710         * org-capture.el (org-capture-place-item): Don't search for
11711         position in existing list if :exact-position was supplied.
11713 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11715         * org.el (org-set-font-lock-defaults): Fix bug in done headline
11716         fontification.
11718 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11720         * org-odt.el (org-odt-format-textbox): Honor user-specified width
11721         in captioned images.
11723 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11725         * org.el (org-update-property-plist): Fix bug in property list
11726         updates.
11728 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11730         * ob.el (org-babel-balanced-split): Explicit checking if list
11731         before calling member.
11733 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11735         * ob-sqlite.el (org-babel-execute:sqlite): Specify the use of ","
11736         as the separator to `org-table-convert-region'.  Fixes errors when
11737         only one result per line of output.
11739 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11741         * ob.el (org-babel-strip-protective-commas):
11742         Use `org-strip-protective-commas'.
11744         * org-exp.el (org-export-select-backend-specific-text):
11745         Use `org-strip-protective-commas'.
11747         * org-src.el (org-edit-src-code):
11748         Use `org-strip-protective-commas'.
11750         * org.el (org-strip-protective-commas): Single definition for this
11751         functionality.
11753 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11755         * ob-sql.el: Mention ob-sqlite in the comments of ob-sql.
11757 2012-04-01  David Maus  <dmaus@ictsoc.de>
11759         * org-capture.el (org-capture-prepare-finalize-hook): New hook.
11760         Run before the finalization process starts.
11761         (org-capture-finalize): Run new hook.
11763 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11765         * org.el (org-entry-get): Generalize to multiple "prop+"
11766         properties.
11768 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11770         * org-src.el (org-src-mode-map): Rebinding `org-edit-src-save' in
11771         the `org-src-mode-map'.
11773 2012-04-01  David Maus  <dmaus@ictsoc.de>
11775         * org.el (org-recenter-calendar): Use `with-selected-window' to
11776         select calendar window and save currently selected window and
11777         current buffer.
11779 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11781         * org-list.el (org-list-ending-method, org-list-end-regexp):
11782         Remove variables.
11783         (org-in-item-p, org-list-separating-blank-lines-number)
11784         (org-list-parse-list, org-list-struct): Apply changes.
11786         * org-exp.el (org-export-mark-list-end)
11787         (org-export-mark-list-properties): Apply changes.
11789         * org-latex.el (org-export-latex-lists): Apply changes.
11791 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11793         * org.el (org-entry-get): Accumulate properties from subtree
11794         property drawers.
11796 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11798         * org.el (org-entry-get): Accumulate properties from subtree
11799         property drawers.
11801 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11803         * org-odt.el (org-export-odt-image-size-probe-method)
11804         (org-odt-do-image-size): Use imagemagick preferentially to
11805         determine image sizes.
11807 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11809         * org-odt.el (org-export-as-odt-to-buffer)
11810         (org-replace-region-by-odt, org-export-region-as-odt):
11811         Remove these interactive functions.  They are of questionable value.
11813 2012-04-01  Toby S. Cubitt  <tsc25@cantab.net>  (tiny change)
11815         * org.el (org-goto): Call org-refile-get-location with NO-EXCLUDE
11816         argument set, otherwise not only are headlines in the current
11817         subtree excluded, but it throws an error if point happens not to
11818         be within a subtree (e.g. at start of buffer).
11820 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11822         * org-exp.el (org-export-kill-product-buffer-when-displayed)
11823         (org-export-initial-scope, org-export-date-timestamp-format)
11824         (org-export-with-tasks, org-export-email-info)
11825         (org-export-table-remove-empty-lines): Add version tag.
11827 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11829         * org.el (org-cycle-internal-local): Correctly unfold headlines
11830         containing an inlinetask.
11832 2012-04-01  Bernt Hansen  <bernt@norang.ca>
11834         * org-clock.el (org-clock-out): Do not delete the current clocking
11835         task when org-clock-out-hook clocks in another task.
11837 2012-04-01  David Maus  <dmaus@ictsoc.de>
11839         * org.el (org-scan-tags): Fix highlighting in sparse-tree.
11841 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11843         * org-odt.el (org-export-odt-convert-processes): Re-define
11844         (org-export-odt-convert-capabilities): Fix an accidental
11845         regression.
11847 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11849         * org-odt.el (org-export-odt-convert-capabilities): Change the
11850         default value.
11852 2012-04-01  David Maus  <dmaus@ictsoc.de>
11854         * org-clock.el (org-in-clocktable-p): Move to org.el.
11856         * org.el (org-in-clocktable-p): New function.  Moved from org-clock.el.
11858 2012-04-01  David Maus  <dmaus@ictsoc.de>
11860         * org-exp.el (org-export-get-title-from-subtree): Don't format
11861         tags in title if title headline does not have tags.
11863 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11865         * org-footnote.el (org-blank-before-new-entry)
11866         (org-export-footnotes-seen, org-export-footnotes-data): Fix bogus
11867         declarations.
11869 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11871         * org.el (org-beginning-of-line, org-end-of-line): Fix special C-a
11872         and C-e behavior with visual lines.
11874 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11876         * org-exp-blocks.el (org-export-blocks): Change the name of
11877         exporting comment blocks given that it seems regular comment
11878         blocks no longer export.
11880 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11882         * ob-exp.el (org-babel-exp-get-export-buffer): Access current
11883         export buffer.
11884         (org-babel-exp-in-export-file): Access current export buffer.
11885         (org-babel-exp-src-block): Access current export buffer.
11886         (org-babel-exp-inline-src-blocks): Access current export buffer.
11888 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11890         * ob-exp.el (org-babel-exp-in-export-file)
11891         (org-babel-exp-src-block, org-babel-exp-inline-src-blocks):
11892         Allow org-current-export-file to contain a buffer.
11894 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11896         * org-lparse.el (org-lparse-do-convert): Replace `call-process'
11897         with `shell-command-to-string'.
11899 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11901         * org-footnote.el (org-footnote-create-definition): Fix space
11902         insertion when creating a new footnote.  This fixes newline
11903         munching when `org-footnote-section' is nil and blank lines
11904         stacking when it isn't nil.
11906 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11908         * org-footnote.el (org-footnote-normalize): Make sure that
11909         footnotes are moved to a single place during export.
11911 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11913         * org-footnote.el (org-footnote-normalize): Ensure footnote
11914         definition will be inserted at the end of the section
11915         corresponding to to its first reference.
11917 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11919         * org-footnote.el (org-footnote-at-definition-p): Make sure to
11920         move point at the beginning of the separator before skiping white
11921         spaces.  Refactor code.
11923 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11925         * ob-exp.el (org-babel-exp-src-block): Strip noweb references on
11926         export when "strip-export".
11928         * ob.el (org-babel-common-header-args-w-values): New noweb
11929         header value.
11930         (org-babel-merge-params): New noweb header value.
11931         (org-babel-noweb-p): New noweb header value.
11933 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11935         * ob-tangle.el (org-babel-tangle-clean): Just use default value.
11937         * ob.el (org-babel-noweb-wrap): Add default value.
11938         (org-babel-expand-noweb-references): Just use default value.
11940 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11942         * org-exp.el (org-export-select-backend-specific-text): Always
11943         preserve original indentation as a text property so that lists do
11944         not get broken by indentation at column 0.
11946 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11948         * ob.el (org-babel-expand-noweb-references): Don't allow newlines
11949         in source names in noweb references.
11951 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11953         * org.el (org-fill-line-break-nobreak-p): New function.
11954         (org-set-autofill-regexps): Add previous function to
11955         `fill-nobreak-predicate'.
11957 2012-04-01  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
11959         * ob-R.el (org-babel-R-evaluate-session): Inhibit R evaluation
11960         visibility regardless of local user customization.
11962 2012-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
11964         * org-inlinetask.el (org-inlinetask-show-first-star): New option.
11965         (org-inlinetask-fontify): Honor `org-inlinetask-show-first-star'.
11967         * org-indent.el (org-indent-set-line-properties):
11968         Honor `org-inlinetask-show-first-star'.
11970 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11972         * org.el (org-set-regexps-and-options): Ensure `org-drawers'
11973         doesn't contain duplicates.
11975 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11977         * org.el (org-at-drawer-p): Normalize the docstring to match other
11978         `org-at-*-p' docstrings.
11979         (org-indent-block, org-indent-drawer, org-at-block-p):
11980         New functions.
11981         (org-metaright): Use the new functions to indent a drawer or a
11982         block depending on the context.  Also update the docstring.
11984 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11986         * org.el (org-set-regexps-and-options): Set the value of
11987         `org-drawers' by adding the value of the infile #+DRAWERS option
11988         to that of the existing `org-drawers'.
11990 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11992         * org.el (org-cycle-internal-local): Fix bug: hide drawers in
11993         inline tasks too.
11995 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11997         * org-inlinetask.el (org-inlinetask-toggle-visibility):
11998         Use `org-show-entry' instead of `outline-flag-region' to keep the
11999         drawers folded when unfolding an inline task.
12001 2012-04-01  Torsten Anders  <torsten.anders@beds.ac.uk>  (tiny change)
12003         * org-beamer.el (org-beamer-environments-default): Add support and
12004         keybinding for the `exampleblock' environment.
12006 2012-04-01  Michael Brand  <michael.ch.brand@gmail.com>
12008         * org.el (org-open-link-from-string): Regard `reference-buffer'
12009         when setting `org-inhibit-startup'.
12011 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12013         * ob-exp.el (org-babel-exp-non-block-elements): Don't insert extra
12014         space between inline src block and results on export.
12016 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12018         * ob.el (org-babel-get-inline-src-block-matches): Allow *any*
12019         punctuation to proceed an inline src block.
12021 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12023         * ob.el (org-babel-get-inline-src-block-matches): Add ( to the
12024         list of characters allowed to proceed an inline src block.
12026 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12028         * ob-tangle.el (org-babel-tangle-clean): Use the customizable
12029         noweb wrappers.
12031         * ob.el (org-babel-noweb-wrap-start): Begin a noweb reference.
12032         (org-babel-noweb-wrap-end): End a noweb reference.
12033         (org-babel-noweb-wrap): Apply the customizable noweb wrappers.
12034         (org-babel-expand-noweb-references): Use the customizable noweb
12035         wrappers.
12037 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12039         * org.el (org-beginning-of-line): Handle case when there's no
12040         character after box.
12042 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12044         * org-odt.el (org-odt-format-preamble): Don't insert TOC here.
12045         Delay it till the end of export.
12046         (org-odt-begin-document-body): Make a note of the default
12047         position of TOC in `org-lparse-dyn-first-heading-pos'.
12048         (org-odt-insert-toc): Insert TOC as directed by
12049         [TABLE-OF-CONTENTS] line or at the default position.
12050         (org-odt-end-export): Call `org-odt-insert-toc'.
12052 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12054         * org.el (org-preview-latex-fragment): Throw an error when called
12055         from a non-file buffer.
12057 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12059         * org.el (org-insert-property-drawer): Not an interactive
12060         command anymore.
12061         (org-insert-drawer): With a prefix argument, insert a property
12062         drawer.  Check for headline within the region before inserting the
12063         drawer.  Don't include special drawers in the completion table.
12064         (org-mode-map): New keybinding `C-c C-x d' for
12065         `org-insert-drawer'.
12067 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12069         * org.el (org-insert-drawer): Support completion over known drawer
12070         names and inserting a drawer around the current region.
12072 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12074         * org.el (org-insert-drawer): New function.
12075         (org-insert-property-drawer): Use it.
12077 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12079         * org-list.el (org-mark-list): New function.
12081 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12083         * org-pcomplete.el (pcomplete/org-mode/drawer): New function to
12084         complete drawer at point.
12085         (org-thing-at-point): Use it.
12087 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12089         * org.el (org-meta-return): Use `newline-and-indent' when in a
12090         property drawer.
12092 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12094         * org.el (org-structure-template-alist): Fix docstring: the
12095         feature is not experimental anymore.
12097 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12099         * org-agenda.el (org-agenda-show-and-scroll-up): Allow `C-u' to
12100         display the item without unfolding drawers and logbooks.
12102 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12104         * org-src.el (org-edit-src-code): Make sure `buffer-file-name' is
12105         always nil.
12107 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12109         * org.el (org-structure-template-alist): Fix missing angle
12110         brackets for muse export style.
12112 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12114         * org.el (org-read-date): New parameter `inactive' when reading
12115         for insertion of inactive timestamps.
12116         (org-time-stamp, org-read-date-display): Use the new
12117         parameter.
12119 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12121         * ob.el (org-babel-expand-noweb-references): Only allow
12122         reference names which start and end with non-whitespace characters.
12123         Also, raise errors as appropriate given org-babel-noweb-error-langs.
12125 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12127         * org-src.el (org-src-in-org-buffer): Save and restore
12128         `buffer-undo-list' after editing.
12130 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12132         * ob.el (org-babel-common-header-args-w-values): Add new header
12133         argument.
12134         (org-babel-expand-noweb-references): Use header argument rather than
12135         customization variable.
12137 2012-04-01  David Maus  <dmaus@ictsoc.de>
12139         * org-capture.el (org-capture-place-item): Don't search for
12140         position in existing list if :exact-position was supplied.
12142 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12144         * ob.el (org-babel-noweb-separator): Custom variable for
12145         accumulated noweb references.
12146         (org-babel-expand-noweb-references): Allow separator for noweb
12147         references.
12149 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12151         * org.el (org-beginning-of-line): In an item, special position
12152         for C-a is after check-box, if any.
12153         (org-special-ctrl-a/e): Modify doc-string accordingly.
12155 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12157         * org-odt.el (org-export-odt-format-formula): Use :style
12158         property to specify custom table styles.
12160 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12162         * ob-exp.el (org-babel-exp-call-line-template): Control export of
12163         additional call line information.
12164         (org-babel-exp-non-block-elements): Fancier call line export.
12166 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12168         * org-odt.el (org-odt-entity-frame-styles): Add frame params
12169         for images that are anchored as character.
12170         (org-export-odt-format-image): Handle new anchor type
12171         "as-char".
12172         (org-export-odt-default-image-sizes-alist): Misc. change.
12173         (org-export-odt-format-formula): Misc. change.
12175 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12177         * ob.el (org-babel-check-src-block): Don't report valid header
12178         arguments as suspicious.
12180 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12182         * ob-exp.el (org-babel-exp-non-block-elements): Map over both
12183         inline src blocks and call lines on export.
12185 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12187         * org-odt.el (org-odt-label-styles): Add a new style.
12188         (org-odt-category-map-alist): Use it.
12190 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12192         * org-odt.el (org-odt-table-style-format): New.  Template for
12193         auto-generated table styles.
12194         (org-odt-automatic-styles, org-odt-object-counters):
12195         New variables.
12196         (org-odt-add-automatic-style): New function.
12197         (org-odt-write-automatic-styles): New function.
12198         Create automatic styles for tables that have custom :rel-width.
12199         (org-odt-begin-table): Parse attributes specified with
12200         "#+ATTR_ODT: " option and use it to create an automatic table
12201         style.
12202         (org-odt-save-as-outfile):
12203         Call `org-odt-add-write-automatic-styles'.
12204         (org-odt-init-outfile): Init newly add variables.
12205         (org-odt-section-count): Remove it.
12206         (org-odt-begin-section): Use `org-odt-add-automatic-style' to
12207         generate an automatic section name.
12209 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12211         * ob.el (org-babel-map-executables): Correctly position point when
12212         mapping hits an inline code block.
12214 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12216         * ob.el (org-babel-execute-src-block): Ensure params are
12217         incorporated *before* checking if evaluation is legal.
12219 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12221         * ob-exp.el (org-babel-exp-lob-one-liners): Ensure `end' is a
12222         marker so it is updated as required during export.
12224 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12226         * org-src.el (org-src-in-org-buffer): Run commands in the parent
12227         buffer.
12228         (org-edit-src-save): Use new macro.
12229         (org-src-tangle): Tangle the parent buffer.
12231 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12233         * org.el (org-set-font-lock-defaults): Fix bug in done
12234         headline fontification.
12236 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12238         * org.el (org-set-font-lock-defaults): Fix bug in done
12239         headline fontification.
12241 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12243         * org.el (org-return): Act normally when in code blocks.
12245 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12247         * org.el (org-in-src-block-p): New function.
12248         (org-context): Return new contexts :clocktable and :src-block.
12250 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12252         * org.el (org-set-tags-command, org-set-tags): Make ̀C-u C-c
12253         C-q' do the right thing even when point is before the first
12254         heading.
12256 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12258         * ob.el (org-babel-noweb-p): Disambiguate intersection name.
12260 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
12262         * org-odt.el (org-odt-format-textbox): Honor user-specified
12263         width in captioned images.
12265 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12267         * ob.el (org-babel-map-src-blocks): Replace gensym with make-symbol.
12268         (org-babel-map-inline-src-blocks): Replace gensym with make-symbol.
12269         (org-babel-map-call-lines): Replace gensym with make-symbol.
12270         (org-babel-map-executables): Replace gensym with make-symbol.
12272 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12274         * ob-exp.el (org-babel-exp-results): Alter a copy of info.
12276 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12278         * org-html.el (org-export-as-html):
12279         Initialize `html-pre-real-contents' correctly.
12281 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12283         * org-html.el (org-export-as-html):
12284         Initialize `html-pre-real-contents' correctly.
12286 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12288         * ob-exp.el (org-babel-exp-code): Ensure code block name is a
12289         string on export.
12291 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12293         * ob-exp.el (org-babel-exp-code-template): Customizable code
12294         block export format string.
12295         (org-babel-exp-code): Customizable code block export.
12297 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12299         * ob-clojure.el (org-babel-execute:clojure): Remove dependency
12300         on deprecated swank-clojure.
12302 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12304         * ob.el (org-babel-map-src-blocks): Don't pollute symbol space.
12305         (org-babel-map-inline-src-blocks): Don't pollute symbol space.
12306         (org-babel-map-call-lines): Don't pollute symbol space.
12307         (org-babel-map-executables): Map over *all* executable Org-mode
12308         elements.
12309         (org-babel-execute-buffer): Execute elements in buffer order instead
12310         of arbitrarily.
12312 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12314         * org.el (org-ctrl-c-ctrl-c): Fix a naive structure backup.
12315         Those must be done with `copy-tree'.
12317 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12319         * org-src.el (org-edit-src-code): Referenced code block should
12320         not be evaluated on code block edit.
12322 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12324         * org.el (org-structure-template-alist): Use uppercase for
12325         keywords.
12327 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12329         * ob.el (org-babel-insert-result): Capitalize RESULTS in :wrap'd
12330         code block results.
12332 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12334         * ob.el (org-babel-results-keyword): New user-configurable
12335         results keyword.
12336         (org-babel-where-is-src-block-result): Use new user-configurable
12337         results keyword.
12339 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12341         * org-indent.el (org-indent-refresh-maybe): Check for new
12342         headlines from the beginning of the line to be sure to catch
12343         any newly inserted headline there.
12345 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12347         * ob-exp.el (org-babel-exp-src-block): Use `org-babel-noweb-p'.
12348         (org-babel-exp-inline-src-blocks): Use `org-babel-noweb-p'.
12350         * ob-tangle.el (org-babel-tangle-collect-blocks):
12351         Use `org-babel-noweb-p'.
12353         * ob.el (org-babel-execute-src-block): Use `org-babel-noweb-p'.
12354         (org-babel-expand-src-block): Use `org-babel-noweb-p'.
12355         (org-babel-load-in-session): Use `org-babel-noweb-p'.
12356         (org-babel-merge-params): Use `org-babel-noweb-p'.
12357         (org-babel-noweb-p): New function used to determine if noweb
12358         expansion should be carried out in a given context.
12360 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12362         * org.el (org-update-property-plist): Fix bug in property list
12363         updates.
12365 2012-04-01  François Pinard  <pinard@iro.umontreal.ca>  (tiny change)
12367         * org.el (org-kill-line): Use `kill-visual-line' in
12368         `visual-line-mode'.
12370 2012-04-01  Bernt Hansen  <bernt@norang.ca>
12372         * org-agenda.el (org-agenda-switch-to): Widen org buffer only if point
12373         is outside the current restriction.
12375 2012-04-01  Bernt Hansen  <bernt@norang.ca>
12377         * org-agenda.el (org-agenda-clock-in): Save restriction when clocking
12378         in from the agenda.
12380 2012-04-01  Bernt Hansen  <bernt@norang.ca>
12382         * org.el: Honor existing restrictions when regenerating the agenda.
12384 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12386         * org-agenda.el: New alias for `list-diary-entries-hook'.
12388 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12390         * ob.el (org-babel-common-header-args-w-values): Add the new
12391         header argument name.
12392         (org-babel-insert-result): Respect the value of the :wrap header
12393         argument when inserting results.
12394         (org-babel-result-end): Find the end of arbitrarily named result
12395         blocks.
12397 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
12399         * org-indent.el (org-indent-refresh-maybe): Check for new
12400         headlines from the beginning of the line to be sure to catch
12401         any newly inserted headline there.
12403 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12405         * org.el (org-update-property-plist): Remove old instances of
12406         property when adding a new value for property.
12408 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
12410         * ob-emacs-lisp.el: A comment on the last line of an emacs-lisp
12411         code block would cause an error when the block is was executed.
12412         This fix cures this behavior.
12414 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12416         * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12417         pieces of a previous patch.
12419 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12421         * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12423 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12425         * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12426         pieces of a previous patch.
12428 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12430         * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12432 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12434         * org-eshell.el (org-eshell-open): Use (goto-char (point-max))
12435         instead of (end-of-buffer).
12437 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12439         * org-bbdb.el (name): Declare variable.
12440         (bbdb-record-get-field, bbdb-search-name)
12441         (bbdb-search-organization): Declare as part of ext:bbdb.
12443 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12445         * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
12446         instead of the obsolete `org-agenda-filter'.
12448 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12450         * org-agenda.el: Add an alias for `org-agenda-filter'.
12451         (diary-list-entries-hook): Use the non-obsolete hook.
12452         (org-agenda-filter-apply): Silent compiler warning.
12454 2012-04-01  Bastien Guerry  <bzg@gnu.org>
12456         * ob-ditaa.el (org-ditaa-jar-path): Make a defcustom.
12457         (org-ditaa-jar-option): New option.
12458         (org-babel-execute:ditaa): Use it.
12460 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12462         * ob.el (org-babel-balanced-split): Explicit checking if list
12463         before calling member.
12465 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
12467         * ob.el (org-babel-balanced-split): Explicit checking if list
12468         before calling member.
12470 2012-02-14  Chong Yidong  <cyd@gnu.org>
12472         * org-footnote.el: Remove bogus defvar values (Bug#10745).
12474 2012-01-05  Eric Schulte  <eric.schulte@gmx.com>
12476         * ob.el (org-babel-expand-noweb-references): Resurrect dropped
12477         pieces of a previous patch.
12479         * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
12481 2012-01-05  Bastien Guerry  <bzg@gnu.org>
12483         * org-eshell.el (org-eshell-open): Use (goto-char (point-max))
12484         instead of (end-of-buffer).
12486         * org-bbdb.el (name): Declare variable.
12487         (bbdb-record-get-field, bbdb-search-name)
12488         (bbdb-search-organization): Declare as part of ext:bbdb.
12490         * org-agenda.el: Add an alias for `org-agenda-filter'.
12491         (diary-list-entries-hook): Use the non-obsolete hook.
12492         (org-agenda-filter-apply): Silent compiler warnings.
12494         * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
12495         instead of the obsolete `org-agenda-filter'.
12497 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12499         * org.el (org-ctrl-c-ctrl-c): Preserve symmetry when adding
12500         and removing checkboxes with `C-u C-c C-c' on the first item
12501         of a list.  Also, don't reinitialize checkboxes that are
12502         already ticked.
12504 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12506         * org.el (org-ts-regexp0, org-ts-regexp1): Also match a time
12507         value with only one digit for the hours.
12509 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12511         * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
12512         Remove deleted function `org-encode-for-stdout'.
12514 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12516         * org.el (org-show-context): Complete docstring.
12518 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12520         * org-agenda.el (org-agenda-filter-by-tag):
12521         Use `read-char-exclusive' instead of `read-char'.
12523 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
12525         * org-clock.el (org-clock-in, org-clock-find-position):
12526         Remove erraneous space in regexp.
12528 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12530         * ob.el (org-babel-expand-noweb-references): Rather than using
12531         a pure regexp solution to resolve noweb references, actually
12532         check the information of every code block in the buffer.
12533         This will cause a slowdown in noweb reference expansion, but is
12534         necessary for correct behavior.
12536 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12538         * org.el (org-map-continue-from): Fix typo in docstring.
12540 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12542         * org.el (org-property-re): Also match cumulating properties
12543         like ":prop+:".
12545 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12547         * org-exp-blocks.el (org-export-blocks-preprocess): Fix regexp for
12548         matching the end of a block.
12550 2012-01-03  David Maus  <dmaus@ictsoc.de>
12552         * org.el (org-open-at-point): Escape link path for http:,
12553         https:, ftp:, news:, and doi: links only if the path contains
12554         space or non-ascii character.
12556 2012-01-03  David Maus  <dmaus@ictsoc.de>
12558         * org.el (org-refile-get-targets): Ignore headlines without a
12559         true headline.
12561 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12563         * ob.el (org-babel-map-call-lines): Move this file from
12564         ob-lob.el into ob.el to ease dependency pains.
12566 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12568         * org-publish.el (org-publish-index-generate-theindex):
12569         Use theindex.inc for storing index entries, and theindex.org for
12570         including theindex.inc.
12572 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12574         * org-publish.el (org-publish-index-generate-theindex):
12575         Create proper file target for index entries in subdirectories.
12577 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12579         * org-protocol.el (org-protocol-check-filename-for-protocol):
12580         Fix spelling mistake.
12582 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12584         * org-odt.el (org-export-odt-default-org-styles-alist): Add styles
12585         for title and subtitle.
12586         (org-odt-format-toc): New.
12587         (org-odt-format-preamble): New.  Users can redefine this to
12588         customize what goes before the document body.  Currently it
12589         outputs title, author and email, date and toc.
12590         (org-odt-begin-document-body): Use `org-odt-format-preamble'.
12591         (org-odt-format-date): Rename from
12592         `org-odt-iso-date-from-org-timestamp'.  Also added an
12593         additional param for format string.
12594         (org-odt-begin-annotation, org-odt-update-meta-file):
12595         Use `org-odt-format-date'.
12597 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12599         * org.el (org-at-drawer-p): New function.
12600         (org-end-of-line): Use it.
12602 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12604         * ob.el (*org-babel-use-quick-and-dirty-noweb-expansion*):
12605         Controls the method in which noweb references are expanded.
12606         (org-babel-expand-noweb-references): Bring back the option for
12607         regexp-based noweb expansion.
12609 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12611         * org.el (org-ts-regexp0, org-ts-regexp1): Also match a time value
12612         with only one digit for the hours.
12614 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12616         * org.el (org-ctrl-c-ctrl-c): Don't make `C-c C-c' special
12617         when ticking the checkbox of the first item.
12619 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12621         * org-list.el (org-list-write-struct): Add an optional
12622         argument for structure changes happening outside the function.
12624         * org.el (org-ctrl-c-ctrl-c): Now, `C-u C-c C-c' on the first
12625         item of a sub-list should toggle check-box presence of every
12626         item in the same sub-list.  Also fix check-box insertion on a
12627         single item.
12629 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12631         * org-agenda.el (org-agenda-filter-preset): New alias.
12632         (org-agenda-filter-by-category): New command.
12633         (org-agenda-mode-map): Add the new command.
12634         (org-agenda-custom-commands-local-options): Add category
12635         filter preset.
12636         (org-agenda-mark-filtered-text): Mark both tag and filter
12637         overlays.
12638         (org-agenda-category-filter-preset): New variable.
12639         (org-finalize-agenda, org-agenda-redo)
12640         (org-agenda-filter-make-matcher, org-agenda-filter-apply):
12641         Handle both category and tag filters.
12642         (org-agenda-filter-show-all-tag): Rename from
12643         `org-agenda-filter-by-tag-show-all'.
12644         (org-agenda-filter-show-all-cat): New function.
12645         (org-agenda-set-mode-name): Show the category filter in the
12646         modeline.
12648 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12650         * org-bbdb.el (org-bbdb-old): New variable.
12651         (org-bbdb-store-link, org-bbdb-open): Check for
12652         `org-bbdb-old'.
12653         (org-bbdb-open-old, org-bbdb-open-new): New functions.
12655 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12657         * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
12658         Remove deleted function `org-encode-for-stdout'.
12660 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12662         * org.el (org-check-dates-range): New command.
12663         (org-sparse-tree): Use it.
12665 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12667         * org-agenda.el (org-agenda-write): Rename from
12668         `org-write-agenda'.
12669         (org-agenda-mode-map, org-agenda-menu)
12670         (org-batch-store-agenda-views): Use new name
12671         `org-agenda-write'.
12673 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12675         * org.el (org-loop-over-headlines-in-active-region):
12676         Fix docstring.
12677         (org-todo, org-deadline, org-schedule): Honor the 'start-level
12678         value of `org-loop-over-headlines-in-active-region'.
12680 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12682         * org-archive.el (org-archive-subtree)
12683         (org-archive-to-archive-sibling, org-toggle-archive-tag):
12684         Bugfix: use 'region-start-level.
12686 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12688         * org.el (org-show-context): Complete docstring.
12690 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12692         * org-agenda.el (org-agenda-filter-by-tag):
12693         Use `read-char-exclusive' instead of `read-char'.
12695 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12697         * org.el (org-scan-tags): Make sure `org-map-continue-from' is
12698         nil at each match.
12700 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
12702         * org-clock.el (org-clock-in, org-clock-find-position):
12703         Remove erraneous space in regexp.
12705 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12707         * org-odt.el (org-odt-lib-dir): Add docstring.
12708         (org-odt-data-dir): New variable.  Use this variable to
12709         control the locations from which the ODT exporter picks the
12710         OpenDocument styles and schema files from.  Set this variable
12711         explicitly only if the in-built heuristics for locating the
12712         above files fails.
12713         (org-odt-styles-dir-list, org-odt-schema-dir-list):
12714         New variables.  Pay specific attention to (eval-when-compile ...)
12715         form through which Makefile's $(datadir) - contained in
12716         `org-odt-data-dir' - gets compiled in as a "hard coded"
12717         constant.
12718         (org-odt-styles-dir, org-export-odt-schema-dir): Add messages to
12719         aid debugging.
12721 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12723         * org-archive.el (org-archive-subtree)
12724         (org-archive-to-archive-sibling, org-toggle-archive-tag)
12725         (org-archive-set-tag): Handle the 'start-level value for
12726         `org-loop-over-headlines-in-active-region'.
12728 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12730         * org.el (org-scan-tags): New parameter `start-level' to scan only
12731         through headlines of that level.
12732         (org-map-entries): New allowed value `region-start-level' for
12733         the `scope' parameter, to allow scanning through headlines of
12734         the same level than the first headline in the region.
12735         (org-loop-over-headlines-in-active-region): New allowed value
12736         'start-level.
12738 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12740         * org-archive.el (org-archive-subtree)
12741         (org-archive-to-archive-sibling, org-archive-set-tag)
12742         (org-toggle-archive-tag): Allow to loop over the active region by
12743         using `org-loop-over-headlines-in-active-region'.
12745 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12747         * org.el (org-todo): Allow to loop over the active region by
12748         using `org-loop-over-headlines-in-active-region'.
12750 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12752         * ob.el (org-babel-expand-noweb-references): Rather than using
12753         a pure regexp solution to resolve noweb references, actually
12754         check the information of every code block in the buffer.
12755         This will cause a slowdown in noweb reference expansion, but is
12756         necessary for correct behavior.
12758 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12760         * org.el (org-map-continue-from): Fix typo in docstring.
12762 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12764         * org-agenda.el (org-agenda-write-buffer-name): New variable.
12765         (org-write-agenda): Use it.
12767 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12769         * org-exp.el (org-export-date-timestamp-format): New option to
12770         define the way a timestamp in #+DATE will be exported.
12771         (org-infile-export-plist): Use the new option.
12773 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12775         * org.el (org-property-re): Also match cumulating properties
12776         like ":prop+:".
12778 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12780         * org-odt.el (org-odt-styles-dir): Assume that the styles
12781         files are located under `data-directory' of Emacs distribution
12782         as etc/org/OrgOdtStyles.xml and
12783         etc/org/OrgOdtContentTemplate.xml.  Also update docstring.
12784         (org-export-odt-schema-dir): Update docstring.
12786 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12788         * org-odt.el (org-odt-format-preamble): Honor following user
12789         options: author, timestamp and email.
12791 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12793         * org-exp-blocks.el (org-export-blocks-preprocess): Fix regexp
12794         for matching the end of a block.
12796 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12798         * org-eshell.el: New file.
12800 2012-01-03  David Maus  <dmaus@ictsoc.de>
12802         * org.el (org-open-at-point): Escape link path for http:,
12803         https:, ftp:, news:, and doi: links only if the path contains
12804         space or non-ascii character.
12806 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12808         * org-beamer.el (org-beamer-fragile-re): Also recognize
12809         \lstinline and \verb as commands that make a frame fragile.
12811 2012-01-03  David Maus  <dmaus@ictsoc.de>
12813         * org.el (org-refile-get-targets): Ignore headlines without a
12814         true headline.
12816 2012-01-03  Litvinov Sergey  <slitvinov@gmail.com>
12818         * ob-octave.el: Add graphical output to png file.
12820 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12822         * ob.el (org-babel-map-call-lines): Move this file from
12823         ob-lob.el into ob.el to ease dependency pains.
12825 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12827         * org-publish.el (org-publish-index-generate-theindex):
12828         Use theindex.inc for storing index entries, and theindex.org for
12829         including theindex.inc.
12831 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12833         * org-publish.el (org-publish-index-generate-theindex):
12834         Create proper file target for index entries in subdirectories.
12836 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12838         * org-protocol.el (org-protocol-check-filename-for-protocol):
12839         Fix spelling mistake.
12841 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12843         * org-odt.el (org-export-odt-default-org-styles-alist):
12844         Add styles for title and subtitle.
12845         (org-odt-format-toc): New.
12846         (org-odt-format-preamble): New.  Users can redefine this to
12847         customize what goes before the document body.  Currently it
12848         outputs title, author and email, date and toc.
12849         (org-odt-begin-document-body): Use `org-odt-format-preamble'.
12850         (org-odt-format-date): Rename from
12851         `org-odt-iso-date-from-org-timestamp'.  Also added an
12852         additional param for format string.
12853         (org-odt-begin-annotation, org-odt-update-meta-file):
12854         Use `org-odt-format-date'.
12856 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12858         * ob-ref.el (org-babel-ref-split-args): Now uses
12859         `org-babel-balanced-split'.
12861 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12863         * org-html.el (org-export-html-preamble)
12864         (org-export-html-postamble): Fix docstrings.
12865         (org-export-as-html): Insert the string used by a custom
12866         function for `org-export-html-pre/postamble'.
12868 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12870         * org.el (org-block-regexp)
12871         (org-heading-keyword-regexp-format)
12872         (org-heading-keyword-maybe-regexp-format): Move up to keep the
12873         byte-compiler happy.
12875 2012-01-03  Dave Abrahams  <dave@boostpro.com>  (tiny change)
12877         * org-agenda.el (org-agenda-do-tree-to-indirect-buffer):
12878         New function.
12879         (org-agenda-tree-to-indirect-buffer): Use the new function.
12881 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12883         * org-html.el (org-export-as-html): Fix bug when inserting the
12884         output of a custom function for the pre/postamble.
12886 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12888         * org-odt.el (org-odt-format-source-code-or-example):
12889         Try loading htmlfontify safely.
12891 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12893         * org-odt.el (require): Require htmlfontify.el only if
12894         emacs-version is greater than 23.2.
12896 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12898         * org-faces.el (org-agenda-calendar-event)
12899         (org-agenda-calendar-sexp): Use the default face.
12901 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12903         * ob.el (org-babel-expand-noweb-references): Fix regexp.
12905 2012-01-03  Michael Brand  <michael.ch.brand@gmail.com>
12907         * org.el (Key bindings): Remap the Outline functions from
12908         `outline-mode-prefix-map' where possible.
12910 2012-01-03  Christian Moe  <mail@christianmoe.com>  (tiny change)
12912         * org-html.el (org-export-as-html):
12913         Apply `org-export-html-get-todo-kwd-class-name' to the class
12914         attribute of the todo-keyword span tag, not to its text
12915         content.
12917 2012-01-03  Sebastien Vauban  <sva@mygooglest.com>
12919         * org-agenda.el (org-agenda-get-timestamps)
12920         (org-agenda-get-sexps): Use face for highlighting "calendar"
12921         events.
12923 2012-01-03  Peter Münster  <pmlists@free.fr>  (tiny change)
12925         * org.el (org-add-planning-info): Treat absolute time too.
12927 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12929         * org-table.el (org-table-transpose-table-at-point): Don't use
12930         ̀remove-if-not'.
12932 2012-01-03  Dave Abrahams  <dave@boostpro.com>  (tiny change)
12934         * org-clock.el (org-clock-out-if-current): Check the clock
12935         buffer is existing.
12937 2012-01-03  Bernt Hansen  <bernt@norang.ca>
12939         * org-clock.el (org-clock-out-if-current): Fix marker in no
12940         buffer error for task state change in an indirect buffer.
12942 2012-01-03  Michael Brand  <michael.ch.brand@gmail.com>
12944         * org.el (org-offer-links-in-entry): Make list when assigning
12945         a single link.
12947 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12949         * ob.el (org-babel-expand-noweb-references): Rather than
12950         collect the info from *every* block in the current buffer,
12951         simply regexp search for those blocks which appear to match
12952         the continued source name.
12954 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
12956         * ob.el (org-babel-insert-result): Do not examplize wrapped
12957         scalar results, simply wrap them.
12958         (org-babel-result-end): Find the end of results wrapped in a
12959         RESULTS drawer.
12961 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12963         * org.el (org-todo-yesterday): When called from the agenda,
12964         use `org-agenda-todo-yesterday' instead.
12966 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12968         * org-table.el (org-table-transpose-table-at-point): New command.
12970 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12972         * org-html.el (org-export-html-headline-anchor-format):
12973         New option.
12974         (org-html-level-start): Use the new option.
12976 2012-01-03  Rob Giardina  <rob@giardina.us>  (tiny change)
12978         * org-agenda.el (org-agenda-with-point-at-orig-entry):
12979         Small bugfix.
12981 2012-01-03  Christian Moe  <mail@christianmoe.com>  (tiny change)
12983         * org-special-blocks.el
12984         (org-special-blocks-convert-html-special-cookies):
12985         Close paragraph before opening or closing the <div>, and open
12986         paragraph after.  Also changed newline placement to be the same
12987         as for other blocks.
12989 2012-01-03  Roberto Huelga  <rhuelga@gmail.com>
12991         * org-clock.el (org-program-exists): Make the function
12992         compatible with darwin systems.
12994 2012-01-03  David Maus  <dmaus@ictsoc.de>
12996         * org-exp.el (org-export-normalize-links): Mark bracket links
12997         before normalization to avoid erroneous normalization of
12998         bracket link parts.
13000 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
13002         * org-odt.el (org-odt-data-dir): Remove.
13003         (org-odt-styles-dir, org-export-odt-schema-dir):
13004         New variables.
13006         * org-odt.el, org-lparse.el: New files.
13008 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13010         * org-capture.el (org-capture-set-target-location): Set the
13011         capture default time also to the prompt time.
13013 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13015         * org-exp.el (org-export-res/src-name-cleanup): Remove #+name
13016         and #+results lines during preprocess.
13018 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
13020         * ob-picolisp.el (ob-comint): Required.
13021         (comint): Required.
13022         (cl): Required.
13023         (run-picolisp): Declared.
13024         (org-babel-execute:picolisp): Capture free variable, and replace
13025         function from cl-extra with core function.
13027 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
13029         * ob-picolisp.el: New file.
13031         * org.el (org-babel-load-languages): Add Pico Lisp to the list
13032         of supported code block languages.
13034 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
13036         * org-bibtex.el (org-bibtex): Now catches bibtex errors and
13037         directs the user to the location of the error.
13039 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13041         * org-agenda.el (org-agenda-dim-blocked-tasks): Fix typo.
13043 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13045         * ob.el (org-babel-execute-src-block): Fix typo.
13047 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13049         * org-freemind.el (org-freemind-write-mm-buffer): Fix typo.
13051 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13053         * org.el (org-link-unescape, org-link-unescape-compound):
13054         Fix two typos in docstrings.
13056 2012-01-03  Thomas Dye  <dk@poto.local>
13058         * ob-R.el: Added tikzDevice support.
13060 2012-01-03  David Maus  <dmaus@ictsoc.de>
13062         * org.el (org-clone-subtree-with-time-shift): Remove clocking
13063         information and empty drawers when preparing a clone.
13065 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13067         * ob-exp.el: Don't add `org-exp-res/src-name-cleanup' to
13068         `org-export-blocks-postblock-hook'.
13070 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13072         * ob.el (org-babel-hide-result-toggle): Skip over header
13073         argument lines when toggling named code block visibility.
13075 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13077         * org-exp.el (org-export-grab-title-from-buffer):
13078         Don't license to kill text inside blocks when getting a title.
13080 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13082         * ob.el (org-babel-confirm-evaluate): Adding support for new
13083         range of :eval header arguments.
13085 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13087         * ob.el (org-babel-confirm-evaluate): Inhibit evaluation
13088         during export when eval is set to "non-export".
13090 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13092         * ob-ref.el (org-babel-update-intermediate): New custom
13093         variable.
13094         (org-babel-ref-resolve): Optionally update the in-buffer results
13095         of code blocks which are evaluated to resolve references.
13097 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13099         * ob.el (org-babel-join-splits-near-ch): Rejoins a list of a
13100         split string when a character appears on either side of the
13101         split.
13102         (org-babel-parse-multiple-vars): Rejoin splits around "=" signs.
13104 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13106         * org.el (org-reduce): Add a less functional Org-mode copy of
13107         the cl reduce function.
13109 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13111         * org.el (org-fontify-meta-lines-and-blocks-1):
13112         Recognize "name" as a valid keyword that can precede a block.
13114 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13116         * ob-exp.el (org-babel-exp-lob-one-liners): Don't limit
13117         in-verbatim check to inline code blocks, do lob code blocks as
13118         well.
13120 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13122         * org.el (org-todo): Interpret 0 prefix arg as note inhibitor.
13124 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13126         * ob.el (org-babel-named-src-block-regexp-for-name):
13127         Ensure that partial names are not matched.
13128         (org-babel-named-data-regexp-for-name): Ensure that partial names
13129         are not matched.
13131 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13133         * ob-ref.el (org-babel-ref-resolve): Search for named code
13134         blocks before named data.
13136         * ob.el (org-babel-named-data-regexp-for-name): New function for
13137         finding named data.
13139 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13141         * ob.el (org-babel-insert-result): Gracefully handle results
13142         which are neither lists nor strings.
13144 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13146         * ob-ref.el (org-babel-ref-resolve): Don't change location when
13147         looking at the contents.
13149 2012-01-03  Milan Zamazal  <pdm@zamazal.org>
13151         * org.el (org-set-outline-overlay-data):
13152         Use outline-flag-region to make a region invisible.  This ensures
13153         all necessary actions, especially adding
13154         isearch-open-invisible property, are applied.
13156 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13158         * ob-lob.el (org-babel-in-example-or-verbatim):
13159         Fix compilation warning.
13161 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13163         * ob.el (org-babel-find-named-result): Downcase "name" before
13164         comparison.
13166 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13168         * ob-lisp.el (org-babel-execute:lisp): Fix typo.
13169         (org-babel-lisp-vector-to-list): Fix typo.
13171 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13173         * ob-exp.el (org-babel-in-example-or-verbatim): Some valid
13174         execution contexts (e.g., call lines) look like commented
13175         lines.
13177         * ob.el (org-babel-get-src-block-info): Empty match string doesn't
13178         count.
13179         (org-babel-process-params): Always process parameters, even if
13180         you don't to table splitting.
13182 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13184         * ob-exp.el (org-exp-res/src-name-cleanup): Update Documentation.
13186         * ob-lob.el (org-babel-block-lob-one-liner-regexp):
13187         Update regular expression.
13188         (org-babel-inline-lob-one-liner-regexp): Update regular
13189         expression.
13191         * ob-ref.el (org-babel-ref-resolve): Notice when something that
13192         looks like a data results may actually be a code block.
13194         * ob-table.el: Updated documentation.
13196         * ob.el (org-babel-src-name-regexp): Simplify regexp.
13197         (org-babel-get-src-block-info): Update match strings.
13198         (org-babel-data-names): Simplify acceptable names.
13199         (org-babel-find-named-block): Indentation.
13200         (org-babel-find-named-result): Update to not return a code block
13201         as a result.
13203         * org.el (org-fontify-meta-lines-and-blocks-1):
13204         Removing references to old syntactic elements.
13205         (org-additional-option-like-keywords): Removing references to
13206         old syntactic elements.
13208 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13210         * org-agenda.el (org-agenda-get-todos): Swap calls to `org-trim'
13211         and `buffer-substring'.
13213 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13215         * org-agenda.el (org-agenda-get-todos): Prevent an error when
13216         encountering tasks with only the TODO keyword.
13218 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13220         * org.el (org-try-cdlatex-tab): Don't try to expand a LaTeX
13221         environment when at an item or an headline, but allow LaTeX
13222         fragments.
13223         (org-cycle): Try to call `cdlatex-tab' before cycling item's or
13224         headline's visibility, in order to catch LaTeX fragments within.
13226 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13228         * org-exp-blocks.el (org-export-blocks-preprocess): Require a
13229         newline and spaces before a code block.
13231 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13233         * ob-lob.el (org-babel-map-call-lines): Allow mapping of code
13234         over all call lines in a buffer.
13236         * ob.el (org-babel-execute-buffer): Execute call lines when
13237         executing an entire buffer.
13239 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13241         * ob.el (org-babel-process-params): Don't disassemble tables
13242         twice.
13244 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13246         * org-clock.el (org-clock-in, org-clock-find-position): Make space
13247         after date optional.
13249         * org.el (org-set-regexps-and-options)
13250         (org-ts-regexp, org-ts-regexp-both, org-ts-regexp1)
13251         (org-ctrl-c-ctrl-c): Make `C-c C-c' on date fix the time stamp.
13253 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13255         * ob-lob.el (org-babel-lob-execute-maybe): Don't execute a call
13256         inside a verbatim block.
13258         * ob-exp.el (org-babel-in-example-or-verbatim): Check for example
13259         blocks.
13261 2012-01-03  Litvinov Sergey  <slitvinov@gmail.com>
13263         * ob-maxima.el (org-babel-tangle-lang-exts): Maxima extension.
13264         (org-babel-maxima-expand): Add input variables and graphic output.
13265         (org-babel-execute:maxima): Add input variables and graphic output.
13266         (org-babel-maxima-var-to-maxima): Add input variables and graphic
13267         output.
13268         (org-babel-maxima-graphical-output-file): Add input variables and
13269         graphic output.
13270         (org-babel-maxima-elisp-to-maxima): Add input variables and graphic
13271         output.
13273 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13275         * ob-fortran.el: New file.  Adding support for Fortran code blocks.
13276         * org.el (org-babel-load-languages): Adding fortran to this list.
13278 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13280         * org-footnote.el (org-footnote-new): Cannot insert an inline
13281         footnote at beginning of line anymore.
13282         (org-footnote-at-reference-p): Don't recognize inline footnotes at
13283         beginning of line.
13285 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13287         * org.el (org-set-font-lock-defaults): Fix small error in matching
13288         group that prevented fontification of keywords like
13289         org-comment-string and stars in headlines.
13291 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13293         * org.el (org-catch-invisible-edits): New option.
13294         (org-self-insert-command, org-delete-backward-char)
13295         (org-delete-char): Call `org-check-before-invisible-edit'.
13296         (org-check-before-invisible-edit): New function.
13298 2012-01-03  Suvayu Ali  <fatkasuvayu+linux@gmail.com>
13300         * org-exp.el (org-solidify-link-text): Respect
13301         org-export-with-tags when forming the export title during subtree
13302         export.
13304 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13306         * org.el (org-heading-regexp, org-heading-keyword-regexp-format)
13307         (org-heading-keyword-maybe-regexp-format): Globalize variables so
13308         they are accessible even in buffers not in Org mode.
13310 2012-01-03  David Maus  <dmaus@ictsoc.de>
13312         * org.el (org-insert-link): Don't use default-description if a
13313         `org-make-link-description-function' is defined.
13315 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13317         * org.el (org-set-regexps-and-options): Use property blocks for
13318         multi-line properties.
13320 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13322         * org.el (org-self-insert-command): Don't throw an error when
13323         editing takes place at the first point of the buffer.
13325 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13327         * org.el (org-self-insert-command): Unfold invisible region at
13328         point or right before point when editing.
13330 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13332         * org-faces.el (org-agenda-filter-tags): Use the 'modeline face as
13333         default.
13335 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13337         * org-html.el (org-html-expand): Prevent a nil value for STRING to
13338         return an error, just return nil.
13340 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13342         * org-latex.el (org-export-latex-set-initial-vars): Allow "/"
13343         character in the #+LaTeX_CLASS option.
13345 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13347         * org-footnote.el (org-footnote-at-reference-p)
13348         (org-footnote-at-definition-p): Don't store text-properties of
13349         footnote definitions.
13351 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13353         * org-html.el (org-export-as-html): Convert special characters in
13354         meta tag "author", "date", "keyword" and "description".
13356 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13358         * org-capture.el (org-capture-before-finalize-hook): Docstring
13359         improvement: mention that the buffer is widened when this hook is
13360         run.
13362 2012-01-03  Sebastien Vauban  <sva@mygooglest.com>
13364         * org-html.el (org-export-as-html): Make sure the div for preamble
13365         is not inserted when the preamble is empty.
13367 2012-01-03  Sebastien Vauban  <sva@mygooglest.com>
13369         * org-agenda.el (org-agenda-set-mode-name): Highlight tags used
13370         for filtering (shown in the mode-line).
13372 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13374         * ob.el (org-babel-parse-multiple-vars): Trimming excess white
13375         space from split variables.
13377 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13379         * org.el (org-link-search): Add an optional argument preventing
13380         function from revealing context around match.
13382 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13384         * org-agenda.el (calendar-check-holidays): Declare function.
13386 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13388         * org.el (org-return): Fix bug when matching the face property
13389         before following a link.
13391 2012-01-03  Matt Lundin  <mdl@imapmail.org>
13393         * org-agenda.el (org-class): Fix holidays symbol in org-class.
13394         This was resulting in an "Bad sexp..." warning.
13396 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13398         * org.el (org-scan-tags): Also remember
13399         `org-complex-heading-regexp' in a property.
13401 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13403         * org-latex.el (org-export-as-latex): Turn off auto-insert and set
13404         TeX-master to t when creating new TeX buffers.
13406         * org-docbook.el (org-export-as-docbook): Turn off auto-insert
13407         when creating new buffers.
13409         * org-html.el (org-export-as-html): Turn off auto-insert
13410         when creating new buffers.
13412 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13414         * org-table.el (org-table-formula-handle-first/last-rc): Do not
13415         expand pointers to first/last row/column that are inside a call to
13416         `remote'.
13417         (org-table-get-remote-range): Expand pointers to first/last
13418         row/column.
13420 2012-01-03  Michael Sperber  <sperber@deinprogramm.de>  (tiny change)
13422         * org-capture.el (org-capture-get-indirect-buffer): Fix XEmacs
13423         compatibility issue when creating an indirect buffer.
13425 2012-01-03  Christophe Rhodes  <csr21@cantab.net>
13427         * org-exp.el (org-infile-export-plist): Handle LATEX_CLASS_OPTIONS
13428         the same way than LATEX_CLASS.
13430 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13432         * org.el (org-return): Check the presence of the 'org-link face
13433         even in contexts where there is more than one face.
13435 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13437         * ob-sql.el (org-babel-header-arg-names:sql): SQL specific header
13438         argument names which should be inherited.
13440 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13442         * org.el (org-in-block-p): Return matched name of block, if any.
13443         It can be useful when a list of block names is provided as
13444         an argument.
13446 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13448         * org-docbook.el (org-export-as-docbook): Fix regexp.
13450         * org-html.el (org-export-as-html): Fix regexp.
13452 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13454         * org-agenda.el (org-class): Allow holidays to be skipped.
13456 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13458         * ob-shen.el (org-babel-execute:shen): Fix two compilation errors.
13460 2012-01-03  Peter Münster  <pmrb@free.fr>  (tiny change)
13462         * org-agenda.el (org-agenda-to-appt): Make sure filter-items are
13463         strings before calling `string-match'.
13465 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13467         * org-footnote.el (org-footnote-at-reference-p)
13468         (org-footnote-at-definition-p): Remove text-properties from label.
13470 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13472         * org-html.el (org-export-as-html): Add a "title" meta tag.
13474 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13476         * org-agenda.el (org-agenda-to-appt): Allow to refine the scope of
13477         entries to pass to `org-agenda-get-day-entries' and allow to
13478         filter out entries using a function.
13480 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13482         * org-agenda.el: Fix small display bug.
13484 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13486         * org.el (org-set-regexps-and-options): Fix small bug introduced
13487         by commit dfcb6faef11a2439b56b18a6289803361d402130.
13489 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13491         * org-agenda.el (org-search-view): Simplify regexp.
13492         (org-agenda-get-todos): Use new format string.
13494         * org-archive.el (org-archive-all-done): Simplify regexp.
13496         * org-ascii.el (org-export-as-ascii): More accurate regexp.
13498         * org-colview.el (org-columns-capture-view): Use new format string
13499         and new string.
13501         * org-docbook.el (org-export-as-docbook): More accurate
13502         regexp.  Also use new regexp to match generic headlines.
13504         * org-exp.el (org-export-protect-quoted-subtrees): More accurate
13505         regexp.  Also use new regexp to match generic headlines.
13507         * org-html.el (org-export-as-html): More accurate regexp.
13508         Also use new regexp to match generic headlines.
13510         * org-mouse.el (org-mouse-match-todo-keyword): Remove unused
13511         and now erroneous function.
13513         * org.el (org-heading-regexp, org-heading-keyword-regexp-format):
13514         New variables.
13515         (org-set-regexps-and-options): Create regexps according to the
13516         following rule: use spaces only to separate elements from an headline,
13517         while allowing mixed tabs and spaces for any indentation job.
13518         (org-nl-done-regexp, org-looking-at-done-regexp): Remove variables.
13519         (org-set-font-lock-defaults): Fontify again headlines with a keyword
13520         and no other text.  Use new format strings.
13521         (org-get-heading, org-toggle-comment, org-prepare-agenda-buffers)
13522         (org-toggle-fixed-width-section): Use new format string.
13523         (org-todo): More accurate regexps.
13524         (org-point-at-end-of-empty-headline): Simplify regexp.
13525         (org-insert-heading): Headline can sometimes be nil.
13527 2012-01-03  David Maus  <dmaus@ictsoc.de>
13529         * org-agenda.el (org-agenda-bulk-action): Bind
13530         `org-loop-over-headlines-in-active-region' to nil to avoid conflict
13531         with bulk command.
13533 2012-01-03  David Maus  <dmaus@ictsoc.de>
13535         * org.el (org-deadline, org-schedule): Skip invisible headlines when
13536         mapping over headlines in active region.
13538 2012-01-03  David Maus  <dmaus@ictsoc.de>
13540         * org.el (org-loop-over-headlines-in-active-region):
13541         New customization variable.  Loop over headlines in active region.
13542         (org-schedule, org-deadline): Apply to headlines in region depending
13543         on new customization variable.
13545 2012-01-03  David Maus  <dmaus@ictsoc.de>
13547         * org.el (org-map-entries): Immediately return if scope is 'region
13548         but no region is active.
13550 2012-01-03  David Maus  <dmaus@ictsoc.de>
13552         * org.el (org-map-entries): Extend scope 'region to include entire
13553         body of last headline in active region.
13555 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13557         * org-src.el (org-edit-src-code): Fix typo-bug.
13559 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13561         * org.el (org-format-agenda-item, org-scan-tags):
13562         Rename `org-format-agenda-item' to `org-agenda-format-item'.
13564 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13566         * org-agenda.el: Replace `category-pos' by `org-category-pos' to
13567         silent byte-compiler.
13569 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13571         * org.el: Declare external function `cdlatex-compute-tables'.
13573 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13575         * org-latex.el (org-export-latex-set-initial-vars): Fix problem
13576         when matching #+LaTeX_CLASS.
13578 2012-01-03  Rafael Laboissiere  <rafael@laboissiere.net>  (tiny change)
13580         * org.el (org-link-search-must-match-exact-headline): Fix typos.
13582 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13584         * org-latex.el (org-export-latex-make-header): Add some hyperref
13585         options.
13587 2012-01-03  Kai Tetzlaff  <kai.tetzlaff@web.de>  (tiny change)
13589         * org-publish.el (org-publish-file): Add 'eval'ing the value of
13590         the :publishing-directory property before using it as destination
13591         of the publishing project.  This allows to construct the publish
13592         destination directory dynamically at run-time using the return
13593         value of a function.
13595 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13597         * org-agenda.el (org-agenda-list-stuck-projects): Fix tiny bug.
13599 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13601         * org-agenda.el (org-agenda-move-date-from-past-immediately-to-today):
13602         New option.
13603         (org-agenda-date-later): Improve the logical structure.
13605 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13607         * ob-calc.el (featurep): Require calc-store.
13609         * org-agenda.el (org-agenda-list-stuck-projects): Fix regexp
13610         special handling.
13612         * org-compat.el (fboundp): Support for XEmacs.
13614         * org-exp.el (org-export): Protect XEmacs from `(redisplay)' call.
13616         * org-footnote.el (org-footnote-re): Optimize macro processing.
13618         * org.el (org-set-autofill-regexps): Xemacs compatibility.
13620 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13622         * ob.el (org-babel-balanced-split): Balance both [] and ()
13623         groupings.
13624         (org-babel-parse-header-arguments): Be sure to replace removed ":"
13625         characters.
13627 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13629         * ob.el (org-babel-parse-header-arguments): Quick fix for a
13630         tiny bug.
13632 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13634         * ob.el (org-babel-params-from-properties): Now splits
13635         multiple var arguments behind a single ":var".
13636         (org-babel-balanced-split): Separate balanced splitting of
13637         strings out into a new function.
13638         (org-babel-parse-multiple-vars): Splits multiple var arguments
13639         behind a single ":var".
13641 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13643         * org.el: Remap `outline-promote' and `outline-demote' keys to
13644         `org-promote-subtree' and `org-demote-subtree'.
13646 2012-01-03  Leo Liu  <sdl.web@gmail.com>
13648         * org-agenda.el (org-agenda-do-context-action): Check if marker is
13649         valid before use.
13651 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
13653         * org-agenda.el (org-agenda-date-later): Fix shifting of date
13654         ranges.
13656 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13658         * ob.el: Removing `org-babel-params-from-buffer' and
13659         #+PROPERTIES: entirely.
13661         * ob-exp.el (org-babel-exp-src-block):
13662         Removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely.
13664         * ob-lob.el (org-babel-lob-execute):
13665         Removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely.
13667 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13669         * ob.el (org-babel-params-from-buffer): Removing #+BABEL:
13670         lines in favor of general #+PROPERTIES: lines.
13672 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13674         * ob-sql.el (org-babel-execute:sql): Insert into a temporary
13675         buffer.
13677 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13679         * org.el (org-cdlatex-mode): Run `cdlatex-mode-hook' and
13680         update the internal cdlatex tables.
13682 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13684         * ob-sql.el (org-babel-execute:sql): Respect literal-results
13685         options.
13687 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13689         * ob.el (org-babel-disassemble-tables): Fix multi-table bug in
13690         code block colname and rowname handling.
13692 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13694         * org-publish.el (org-publish-cache-file-needs-publishing):
13695         Fix regexp to not inlcude newlines.
13697 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13699         * org.el (org-ctrl-c-ctrl-c): Remove table overlays before
13700         restart.
13702 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13704         * org.el (org-fontify-entities): Match entities before
13705         numbers, as in `\sim2'.
13707 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13709         * org-agenda.el (org-agenda-date-later): Make pushing forward
13710         a past date to jump immedialtely to today.
13712 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13714         * org-exp.el (org-store-forced-table-alignment): Parse the
13715         column cookie for both alignment and width
13716         specification.  Store the resulting value in `org-col-cookies'
13717         property.  Retire the previously used `org-forced-aligns'
13718         property for consistency.  Renamed local variable `aligns' to
13719         `cookies'.
13721         * org-html.el (org-format-org-table-html):
13722         Use `org-col-cookies'.  Renamed local variable forced-aligns to
13723         col-cookies.
13725 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13727         * org.el (org-latex-to-mathml-jar-file)
13728         (org-latex-to-mathml-convert-command): New user-customizable
13729         variables.
13730         (org-format-latex-mathml-available-p, org-create-math-formula)
13731         (org-format-latex-as-mathml): New functions.
13732         (org-format-latex): Add a new local variable block-type that notes
13733         the nature of the equation - inline or display.  Associate it's
13734         value to `org-latex-src-embed-type' property of dvipng links.
13735         Add mathml as new processing type.
13737 2012-01-03  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
13739         * org.el (org-refile): Add tree name to prompt.
13741 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13743         * org-latex.el (org-export-latex-tables):
13744         Honor `org-export-latex-table-caption-above'
13745         (org-export-latex-table-caption-above): New option.
13747 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13749         * ob.el (org-babel-insert-header-arg): Now including language
13750         specific header arg values in insertion options.
13752 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13754         * ob.el (org-babel-insert-header-arg): Fix typo.
13756 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
13758         * org-exp.el (org-export-number-lines): Modify.  Add a new
13759         parameter `preprocess' and use this for backend-agnostic
13760         handling of literal examples.
13762 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13764         * org.el (org-match-substring-regexp)
13765         (org-match-substring-with-braces-regexp): Allow subscripts and
13766         superscripts to start at beginning of line.
13768 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13770         * ob.el (org-babel-common-header-args-w-values): New variable to
13771         hold common header arguments and their default values.
13772         (org-babel-header-arg-names): Redefined using the new common
13773         header arg variable.
13774         (org-babel-insert-header-arg): New function to help when inserting
13775         header arguments.
13777 2012-01-03  David Maus  <dmaus@ictsoc.de>
13779         * org-html.el (org-html-handle-links): Remove unnecessary
13780         protection markers when publishing link in default format.
13782 2012-01-03  Pieter Praet  <pieter@praet.org>  (tiny change)
13784         * org-crypt.el (org-crypt-check-auto-save): New function, see
13785         next change.
13787         * org-crypt.el (org-decrypt-entry): Break the auto-save-mode
13788         check out into a separate function, and call it at a later
13789         point, to assure it only runs when visiting an encrypted
13790         entry.
13792 2012-01-03  John J Foerch  <jjfoerch@earthlink.net>  (tiny change)
13794         * org.el (org-log-note-headings): Document new %d and %D
13795         escapes.
13796         (org-store-log-note): Implement new %d and %D escapes.
13798 2012-01-03  Dave Abrahams  <dave@boostpro.com>
13800         * org-agenda.el (org-agenda-follow-indirect): New option.
13801         (org-agenda-follow-mode): Call `org-agenda-do-context-action' fro
13802         follow mode.
13803         (org-agenda-do-context-action): Also do indirect follow mode
13804         action.
13806 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13808         * ob-table.el (sbe): Fix typo in new sbe specification.
13810 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13812         * ob-table.el (sbe): If first variable is a string and not a
13813         cons cell, then interpret it as a string of header arguments
13814         to be passed to the code block.
13816 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13818         * ob-shen.el (shen-eval-defun): Declare external function.
13819         (org-babel-execute:shen): Move requirement of inf-shen into
13820         the function in which it is used to fix build error.
13822         * ob-shen.el: New file.
13824 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
13826         * org.el (org-open-at-point): Make `org-open-at-point' only
13827         ask once about creating a new headline.
13829 2012-01-03  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
13831         * org.el (org-refile-targets): Elaborated the documentation of
13832         the variable as suggested by Dave Abrahams.
13834 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
13836         * org.el (org-align-tags-here): Allow tags to be placed right
13837         after heading.
13838         (org-tags-column): Document the meaning of tags column 0.
13840 2012-01-03  Niels Giesen  <niels.giesen@gmail.com>
13842         * org-agenda.el (org-agenda-get-blocks): Show timestamp ranges
13843         in agenda if start day is same as end day.
13845 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13847         * org.el (org-refile-get-location): Ignore errors when
13848         collection heading to be excluded.
13850 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13852         * org-special-blocks.el
13853         (org-special-blocks-convert-html-special-cookies): Avoid XHTML
13854         strict problems by not enclosing special blocks in paragraph tags.
13856 2012-01-03  Bernt Hansen  <bernt@norang.ca>
13858         * org-html.el (org-export-as-html): Check string-match
13859         argument.
13860         (org-html-handle-time-stamps): Check string-match argument.
13862 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13864         * org-agenda.el
13865         (org-agenda-skip-additional-timestamps-same-entry):
13866         Change default value.
13868 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13870         * org.el (org-time-string-to-time):
13871         (org-time-string-to-absolute): Add optional arguments BUFFER and
13872         POS for error reporting.
13874         * org-agenda.el (org-get-all-dates):
13875         (org-agenda-get-timestamps, org-agenda-get-deadlines)
13876         (org-agenda-get-scheduled, org-agenda-get-blocks): Call time
13877         stamp parsing functions with information on where the
13878         timestamp was taken from.
13880 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13882         * org.el (org-tree-to-indirect-buffer): Run `org-cycle-hook'
13883         after `show-all' in indirect buffer.
13885 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13887         * org-list.el (org-list-parents-alist): When no parent is found
13888         for an item, set it as the closest less indented item above.
13889         If none is found, make it a top level item.
13890         (org-list-write-struct): Externalize code.
13891         (org-list-struct-fix-item-end): New function.
13892         (org-list-struct): Remove a now useless fix.
13894         * org.el (org-ctrl-c-ctrl-c): Use new function.
13896 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13898         * org.el (org-end-of-line): When on an item, move point at the
13899         end of the line, but before any hidden text.  Thus, it's still
13900         possible to use commands, like `C-c C-c', acting at
13901         items.  This is still disabled if `org-special-ctrl-a/e'
13902         ignores `C-e'.
13904 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13906         * org-footnote.el (org-footnote-renumber-fn:N): Small refactoring.
13908 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13910         * org-footnote.el (org-footnote-renumber-fn:N): Fix an
13911         infloop.
13913 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13915         * org-footnote.el (org-footnote-at-definition-p):
13916         Remove useless `org-re'.
13918 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13920         * org-footnote.el (org-footnote-renumber-fn:N): Verify point
13921         is at a real footnote reference or definition before
13922         renumbering it.
13924 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13926         * org-footnote.el (org-footnote-goto-definition): This patch
13927         makes sure the function says when a definition has been
13928         found.  Thus, moving from the reference to the definition
13929         doesn't offer to create the latter again.
13931 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13933         * org-footnote.el (org-footnote-create-definition):
13934         Explicitly move point after tag, if it has just been
13935         inserted.
13937 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13939         * ob-gnuplot.el (org-babel-execute:gnuplot): Don't quote file
13940         names on Windows systems.
13942 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13944         * org-footnote.el (org-footnote-create-definition): When the
13945         tag is missing, it is created before any existing footnote, or
13946         at end of buffer.  In the latter case, the marker pointing at
13947         the position where the new footnote is going to be inserted
13948         (at end of buffer) stays before the tag.  This patch makes
13949         sure that the marker will be kept after the tag.
13951 2012-01-03  Eli Zaretskii  <eliz@gnu.org>
13953         * org.el (org-mode): Force left-to-right paragraphs in Org
13954         buffers.  For a related discussions, see
13955         https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
13957 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13959         * ob-asymptote.el (org-babel-asymptote-define-type):
13960         Silence byte-compiler.
13962 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13964         * ob-R.el (org-babel-R-evaluate): Fix bug in R session
13965         evaluation.
13967 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13969         * org-bibtex.el (org-bibtex-type-property-name):
13970         Configurable property name for bibtex entry types.
13971         (org-bibtex-headline): Use new configurable property name.
13972         (org-bibtex-check): Use new configurable property name.
13973         (org-bibtex-create): Use new configurable property name.
13974         (org-bibtex-write): Use new configurable property name.
13976 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13978         * org.el (org-paste-subtree): Remove unnecessary `concat'.
13980 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13982         * org.el (org-paste-subtree): Remove useless (concat ...).
13984 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13986         * ob-C.el (org-babel-C-var-to-C): Replacing usage of
13987         characterp with integerp (which should work w/Emacs22).
13989 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13991         * org-footnote.el (org-footnote-at-definition-p): Context must
13992         be valid at the beginning of line, not at point.
13994 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13996         * ob-tangle.el (org-babel-tangle-collect-blocks):
13997         Better delimiting of Org-mode text preceding a code block.
13999 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14001         * ob.el (org-babel-get-src-block-info): Fixing bug,
14002         accidentally deleted variable values.
14004 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14006         * ob-tangle.el (org-babel-process-comment-text):
14007         Customizable function to process comment text.
14008         (org-babel-tangle-collect-blocks): Make use of new
14009         customizable processing function.
14010         (org-babel-spec-to-string): Call customizable function rather than
14011         `org-babel-trim'.
14013 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14015         * ob-R.el (org-babel-execute:R): Collect and pass along the
14016         result-params.
14017         (org-babel-R-evaluate): Accept result-params and if "scalar" or
14018         "verbatim" don't process output.
14019         (org-babel-R-evaluate-session): Accept result-params and if
14020         "scalar" or "verbatim" don't process output.
14022 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14024         * ob.el (org-babel-merge-params): Differentiate between result
14025         types and wrappers.
14027 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14029         * ob.el (org-babel-get-src-block-info): Check that
14030         functional-syntax variables are initialized.
14032 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14034         * ob.el (org-babel-check-src-block): Adding a note for a
14035         future enhancement.
14037 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
14039         * org-exp.el (org-export): Restore point when exporting a subtree.
14041 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14043         * ob.el (org-babel-parse-src-block-match): More robust to code
14044         blocks with empty bodies.
14046 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14048         * ob.el (org-babel-parse-src-block-match): Don't error on empty
14049         code block body.
14051 2012-01-03  David Maus  <dmaus@ictsoc.de>
14053         * org.el (org-open-at-point): Unescape plain link.
14055 2012-01-03  David Maus  <dmaus@ictsoc.de>
14057         * org-html.el (org-html-handle-links): Remove unnecessary link
14058         unescape.
14060 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14062         * ob.el (org-babel-merge-params): Better error message for
14063         unassigned variables.
14065 2012-01-03  Christian Egli  <christian.egli@alumni.ethz.ch>
14067         * org-taskjuggler.el (org-export-as-taskjuggler): Clone the
14068         buffer local variables to the temporary buffer before
14069         exporting.
14071 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14073         * org-exp.el (org-export-select-backend-specific-text):
14074         Only remove commas on the front line of a code block.
14076 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14078         * ob.el (org-babel-demarcate-block): Copy headers and indent to
14079         column of point when a block is split.
14081 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14083         * ob.el (org-babel-insert-result): Corrected file insertion
14084         for inline results.
14086 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14088         * org-footnote.el (org-footnote-in-valid-context-p):
14089         No footnote in latex fragments.
14091 2012-01-03  Martin Rudalics  <rudalics@gmx.at>
14093         * org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
14094         argument from `pop-to-buffer-same-window' call.
14096 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14098         * ob-R.el (org-babel-R-evaluate-session): Improve prompt
14099         detection regexp.
14101 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14103         * org-inlinetask.el (org-inlinetask-goto-end):
14104         Small refactoring.
14106 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14108         * ob-asymptote.el (org-babel-asymptote-var-to-asymptote):
14109         refactor code.
14110         (org-babel-asymptote-table-to-array): Remove function.
14112 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14114         * ob-asymptote.el (org-babel-asymptote-var-to-asymptote):
14115         recognize non-nested lists as uni-dimensional arrays.
14117 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14119         * ob.el (org-babel-params-from-properties): Don't check for
14120         header arguments in properties with leading ":"s.
14122 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14124         * org-inlinetask.el (org-inlinetask-goto-end):
14125         Correctly detect the end of an inlinetask when the next one starts
14126         immediately after the current one.  Also, return position of
14127         point.
14129 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14131         * ob.el (org-babel-inline-src-block-regexp): Allow regexp to
14132         start at bol.
14134 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14136         * ob-asymptote.el (org-babel-asymptote-define-type):
14137         Elisp floats are asymptote reals.
14139 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14141         * ob-asymptote.el (org-babel-asymptote-table-to-array):
14142         Require a new argument TYPE specifying the detected type of
14143         array.  If it's a string array, make sure every element is
14144         returned as a string.  Also improve doc-string.
14145         (org-babel-asymptote-var-to-asymptote): Fill new argument.
14146         Small refactoring.
14147         (org-babel-asymptote-define-type): Rewrite to avoid stopping
14148         search at first float found, as strings have precedence over
14149         floats.
14151 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14153         * org-footnote.el (org-footnote-normalize): Be sure to separate
14154         the last footnote definition from the rest of the buffer.
14156 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14158         * ob-awk.el (org-babel-expand-body:awk): Allow for symbolic
14159         variable names.
14161 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14163         * org.el (org-latex-regexps): Allow matching latex fragments
14164         of type "$" and "$1" at beginning of line.
14166 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14168         * org-agenda.el (org-search-view, org-agenda-get-todos)
14169         (org-agenda-get-deadlines, org-agenda-get-scheduled):
14170         Add `category-pos' in let construct.
14172 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14174         * org-footnote.el (org-footnote-get-definition): The function has
14175         to widen buffer if definition has not been found in the current
14176         narrowed part.  Be sure to restore that restriction once the
14177         definition is found.
14179 2012-01-03  Michal Sojka  <sojka@os.inf.tu-dresden.de>  (tiny change)
14181         * org-icalendar.el (org-print-icalendar-entries): Make alarm
14182         duration RFC5545 compliant.
14184 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14186         * org-agenda.el (org-agenda-get-timestamps)
14187         (org-agenda-get-sexps, org-agenda-get-progress): Correctly set
14188         the `org-category-pos' property.
14190 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14192         * org-html.el (org-export-html-divs): Improve docstring.
14194 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
14196         * org-table.el (org-table-fix-formulas): Throw error when
14197         changing formula leads to an invalid formula.
14199 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14201         * org.el (org-archive-location): Minor docstring fix.
14203 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14205         * org.el (org-block-todo-from-checkboxes):
14206         `org-list-search-forward' should be used when looking for an
14207         item, as it filters out contexts where match couldn't be in a
14208         list.  Also use a correct item regexp, taking into account
14209         alphabetical ordered lists and counters.
14211 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14213         * org-html.el (org-html-make-link): Minor fix to the
14214         docstring.
14216 2012-01-03  Suvayu Ali  <fatkasuvayu+linux@gmail.com>  (tiny change)
14218         * org-inlinetask.el (org-inlinetask): New customizable face
14219         for inlinetasks.
14221 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14223         * org-agenda.el (org-agenda-get-todos): Properly set
14224         `category-pos'.
14226 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14228         * org-list.el (org-list-struct-apply-struct): Don't use
14229         (copy-marker (point)) instead of (point-marker).
14231 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14233         * ob.el (org-babel-where-is-src-block-result): Don't try to
14234         resolve variables when simply checking if we're inside of a
14235         code block.
14237 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14239         * org.el (org-refresh-category-properties): New text property
14240         'org-category-position to point at the beginning of the
14241         headline from which the category is set.
14243 2012-01-03  Matt Lundin  <mdl@imapmail.org>
14245         * org.el (org-refile): Don't call `org-back-to-heading' with
14246         goto argument.
14248 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14250         * org.el (org-link-display-descriptive): Remove this option and
14251         rely on the existing `org-descriptive-links' instead.
14252         (org-toggle-link-display): Use `org-descriptive-links'.
14254 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14256         * ob-ref.el (org-babel-ref-resolve): Allow matching of results
14257         with tags after the result name.
14259 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14261         * org-table.el (org-table-get-specials): Allow the use of the
14262         underscore character in column names.
14263         (org-table-get-specials): Allow the use of the underscore
14264         character in field names.
14266 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14268         * org-exp-blocks.el (org-export-blocks-preprocess):
14269         Explicitly cleaning up markers.
14271 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14273         * ob-exp.el (org-babel-exp-inline-src-blocks): Save match data
14274         around `org-babel-exp-do-export' which now searches in this case.
14275         (org-babel-exp-results): Position the point in the inline source
14276         block during export evaluation.
14278         * ob.el (org-babel-insert-result): More readable code.
14280 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14282         * org-exp-blocks.el (org-export-blocks-preprocess): Use the built
14283         in function rather than the superfluous (and now removed)
14284         org-specific function.
14286 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14288         * ob-exp.el (org-babel-exp-inline-src-blocks): Don't examplize
14289         inline code blocks which are already escaped.
14291 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14293         * org-exp-blocks.el (org-marker-from-point): Helper function to
14294         create markers at specific points in source buffers.
14295         (org-export-blocks-preprocess): Use markers instead of points
14296         to delimit code blocks.
14298 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14300         * org-list.el (org-list-separating-blank-lines-number):
14301         The behavior of `org-back-over-empty-lines' depends on the
14302         associated value of `headline' in
14303         `org-blank-before-new-entry', which is out of context in a
14304         list.
14306 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14308         * org-indent.el (org-indent-initialize-agent): When the current
14309         buffer isn't being watched, resume initialization of other watched
14310         buffers.  In that case, give hand to others idle timers or
14311         processes more frequently.
14312         (org-indent-agent-active-delay): Rename from
14313         `org-indent-agent-process-duration'.
14314         (org-indent-agent-passive-delay): New variable.
14315         (org-indent-agent-resume-delay): Change value.
14316         (org-indent-initialize-buffer): Change argument name.
14317         (org-indent-add-properties): Change argument name and type
14318         expected.  It must be a time value now.
14320 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14322         * org.el (org-set-property): Bugfix.
14324 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14326         * ob.el (org-babel-remove-result): Idempotent code block
14327         evaluation and result removal.
14329 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14331         * ob-ruby.el (org-babel-ruby-initiate-session): No longer
14332         require inf-ruby when no session evaluation takes place.
14334 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14336         * org-agenda.el (org-agenda-prefix-format): Mention "%e" in
14337         the docstring.
14339 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
14341         * org-agenda.el (org-agenda-custom-commands): Set a default
14342         value for this command.
14344 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
14346         * org-agenda.el (org-agenda-include-all-todo): Declare this option
14347         as no longer working.
14348         (org-timeline): Rename the include-all argument to dotodo.
14349         (org-arg-loc): Rename from` org-include-all-loc'.
14350         (org-agenda-list): Rename the INCLUDE-ALL argument to ARG,
14351         because its function has changed.
14353 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14355         * org.el (org-fixup-indentation): Fix various small bugs.
14357 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14359         * org-indent.el (org-indent-agent-timer)
14360         (org-indent-agentized-buffers, org-indent-agent-resume-timer)
14361         (org-indent-agent-process-duration)
14362         (org-indent-agent-resume-delay): New variables.
14363         (org-indent-initial-marker): More accurate doc-string.
14364         (org-indent-initial-timer, org-indent-initial-resume-timer)
14365         (org-indent-initial-process-duration)
14366         (org-indent-initial-resume-delay)
14367         (org-indent-initial-lock): Remove variables.
14368         (org-indent-mode): Set up an agent to watch current buffer, or
14369         add it to the list of already watched buffers.
14370         (org-indent-initialize-agent): New function.
14371         (org-indent-initialize-buffer): Now requires a mandatory
14372         buffer argument.
14373         (org-indent-add-properties): Reflect changes to variables.
14374         The resume timer is now global.
14376 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14378         * org-footnote.el (org-footnote-normalize): Refactor, and fix
14379         some blank lines deletion.
14381 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14383         * org-indent.el (org-indent-mode):
14384         `org-indent-initial-resume-timer ' needs to be local.
14386 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14388         * org.el (org-fixup-indentation): Correctly indent meta lines.
14390 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14392         * org-indent.el (org-indent-set-line-properties): Add text
14393         properties down to the beginning of the next line.
14394         (org-indent-add-properties): When last position to add
14395         properties to is at the beginning of a line, all that line
14396         will have properties.
14398 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14400         * org-indent.el (org-indent-initial-resume-timer): New variable.
14401         (org-indent-initialize-buffer): Also resume after a small break.
14402         (org-indent-add-properties): When in asynchronous mode,
14403         proceed for 2 seconds, then take a break.
14405 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14407         * org-indent.el (org-indent-set-line-properties): New function.
14408         (org-indent-add-properties): Externalize worker function.
14410 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14412         * org-indent.el (org-indent-indent-buffer): Take into account
14413         narrowing.
14415 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14417         * org-indent.el (org-indent-modified-headline-flag): Rename from
14418         `org-indent-deleted-headline-flag'
14419         (org-indent-notify-modified-headline): Rename from
14420         `org-indent-notify-deleted-headline'.  Handle situations when
14421         the stars of an headline are modified.
14422         (org-indent-refresh-maybe): Remove case now handled by
14423         previous function.
14424         (org-indent-mode): Apply renames.
14426 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14428         * org-indent.el (org-indent-inlinetask-first-star):
14429         New variable.
14430         (org-indent-add-properties): Set the first star of inline-tasks'
14431         virtual indentation in `org-warning' face.
14433         * org-inlinetask.el (org-inlinetask-insert-task): Create a new
14434         inline-task slightly differently, so virtual indentation can
14435         be applied normally.
14437 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14439         * org-indent.el (org-indent-initial-marker)
14440         (org-indent-initial-timer, org-indent-initial-lock):
14441         New variables.
14442         (org-indent-mode): At initialization, start an idle timer to indent
14443         the whole buffer.  When the user is asking for control, interrupt the
14444         process, and resume at the same point when idle again.
14445         (org-indent-initialize-buffer): New function.
14446         (org-indent-add-properties): Throw an interrupt when indentation of
14447         buffer is stopped during initialization.
14449 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14451         * org-indent.el (org-indent-indent-buffer): Send more
14452         appropriate messages.
14454 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14456         * org-indent.el (org-indent-notify-deleted-headline)
14457         (org-indent-refresh-maybe): Replace `org-indent-outline-re'
14458         with `org-outline-regexp-bol'.
14460 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14462         * org-indent.el (org-indent-max-levels): Modify default value and
14463         add comment.
14464         (org-indent-add-properties): Pay attention to `org-indent-max'
14465         and `org-indent-max-levels' values.
14466         (org-indent-refresh-maybe): Refactor code to avoid an unnecessary
14467         save excursion.
14469 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14471         * org-table.el (org-table-align): Remove now useless hack.
14473 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14475         * org-indent.el (org-indent-fix-section-after-idle-time):
14476         Remove variable.
14477         (org-indent-initialize): Remove timer.
14478         (org-indent-add-properties): Refactor code.
14479         (org-indent-refresh-subtree, org-indent-refresh-section)
14480         (org-indent-refresh-buffer, org-indent-set-initial-properties):
14481         Remove functions.
14482         (org-indent-deleted-headline): New variable.
14483         (org-indent-notify-deleted-headline, org-indent-refresh-maybe):
14484         New functions.
14485         (org-indent-mode): Insert new functions into a hook.
14487 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14489         * org-indent.el (org-indent-mode): Completely refresh buffer
14490         before starting org-indent-mode.  Also set idle timer to refresh
14491         only visible portion of buffer, and refresh the subtree instead of
14492         section when promoting or demoting it.
14493         (org-indent-add-properties): Rewrite function to proceed line by
14494         line, as required by `wrap-prefix' specificity.
14495         (org-indent-refresh-section, org-indent-refresh-subtree): Refactor.
14496         (org-indent-refresh-view): New function.
14497         (org-indent-refresh-to, org-indent-refresh-section):
14498         Remove functions.
14500         * org.el (org-unfontify-region): Do not remove prefix
14501         properties when unfontifying a region.
14503 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14505         * org-colview.el (org-columns-cleanup-item): Correctly remove
14506         leading stars in items displayed in the agenda column view.
14508 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14510         * org-colview.el (org-columns-display-here): Clean up items in
14511         `org-agenda-mode' too.
14512         (org-columns-cleanup-item): Take a new argument CPHR to allow
14513         passing a complex heading regexp.  Rewrite to cleanup ITEM
14514         correctly in `org-agenda-mode'.
14516 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14518         * org-clock.el (org-duration-string-to-minutes)
14519         (org-minutes-to-hh:mm-string, org-hh:mm-string-to-minutes):
14520         Move from org.el.
14522 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14524         * org.el (org-refile-active-region-within-subtree): New option to
14525         allow refiling a region that is part of a subtree without
14526         containing a subtree itself.  This default to `nil'.
14527         (org-refile): Use the new option.  Put point at the beginning
14528         of the region/subtree to be refiled, so that users understand
14529         what will be refiled.  Also improve the prompt to tell whether
14530         the user is refiling a region or a headline.
14532 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14534         * org.el (org-properties-postprocess-alist): New option to allow
14535         postprocessing the values of properties set through
14536         `org-set-property'.
14537         (org-set-property): Use this option.
14539 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14541         * org.el (org-outline-regexp, org-outline-regexp-bol): Add a
14542         docstring.
14544 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14546         * org-archive.el (org-archive-to-archive-sibling):
14547         Use `org-outline-regexp' instead of `outline-regexp'.
14549 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14551         * org.el (org-between-regexps-p): Searching up to pos may
14552         match again beginning regexp.
14554 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14556         * org-footnote.el (org-footnote-goto-definition): Don't send
14557         erroneous message: suggested bindings might not be set outside
14558         Org.
14560 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14562         * org-footnote.el (org-footnote-normalize): Effectively remove
14563         any footnote tag in non Org buffers, as detailled in the
14564         docstring of `org-footnote-tag-for-non-org-mode-files'.
14566 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14568         * org-footnote.el (org-footnote-tag-for-non-org-mode-files):
14569         notify the opportunity to set the variable to the empty string.
14570         (org-footnote-normalize, org-footnote-create-definition):
14571         Carefully check for inserted newlines and presence of the
14572         footnote tag.
14574 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14576         * org-footnote.el (org-footnote-at-definition-p): Re-use
14577         `org-footnote-definition-re'.
14579 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14581         * org-footnote.el (org-footnote-definition-re): Remove an
14582         useless group.
14583         (org-footnote-at-definition-p): Reflect removal of the group.
14585 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14587         * org.el (org-set-regexps-and-options): Enforce white space
14588         after todo keyword, as word boundary isn't sufficient (i.e. in
14589         matches * TODO/this).
14591 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
14593         * org-inlinetask.el (org-inlinetask-export-templates):
14594         Fix template for html so that the exported file is valid
14595         xhtml.  Added template for odt.
14596         (org-inlinetask-export-handler): Fix typo in the regexp that
14597         trims content.  Make sure that the content is flanked by
14598         paragraph boundaries on either side.
14600 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14602         * org.el (org-add-planning-info): Don't insert superfluous
14603         space when updating timestamps.
14605 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14607         * org-agenda.el (org-cmp-effort): Fix docstring.
14609 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14611         * org-list.el (org-list-full-item-re): When an item has only a
14612         bullet and no space after it, list structure would not be
14613         recognized correctly.
14615 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14617         * org.el (org-overview): Use `outline-regexp' instead of
14618         `org-outline-regexp' so that global cycling using
14619         `orgstruct-mode' works outside of Org buffers.
14621 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14623         * org-table.el (org-table-eval-formula): Fix missing variable
14624         in let construct.
14625         (org-table-time-string-to-seconds): Fix missing variable in
14626         let construct.
14628 2012-01-03  Michael Brand  <michael.ch.brand@gmail.com>
14630         * org-agenda.el (org-agenda-get-deadlines): Fix dfrac for the
14631         case of wdays being 0.  Don't pass wdays to
14632         org-agenda-deadline-face, like before the old fix.
14633         (org-agenda-deadline-face): Revert to old state that was without
14634         wdays.
14636 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14638         * org-latex.el (org-export-latex-fixed-width): Only add one
14639         line break after exporting verbatim environments.
14641 2012-01-03  Bastien Guerry  <bzg@gnu.org>
14643         * org-list.el (org-list-item-trim-br): New function.
14644         (org-list-to-generic): New parameter :nobr to use the new
14645         function.
14647 2012-01-03  David Maus  <dmaus@ictsoc.de>
14649         * org.el (org-paste-subtree): Fix wrong order of lines to move
14650         before pasting.
14652 2012-01-03  David Maus  <dmaus@ictsoc.de>
14654         * org.el (org-paste-subtree): Paste subtree above target
14655         headline if point is at bol.
14657 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14659         * org-list.el (org-toggle-checkbox): Don't clear lim-down
14660         while used in the while loop.
14662 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14664         * org-list.el (org-toggle-checkbox): Lim-down must be a
14665         marker.
14667 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14669         * org.el (org-activate-code): Correct regexp so ":.*" isn't
14670         matched.
14672 2012-01-03  David Maus  <dmaus@ictsoc.de>
14674         * org-macs.el (org-with-gensyms, org-called-interactively-p)
14675         (with-silent-modifications, org-bound-and-true-p)
14676         (org-unmodified, org-re, org-preserve-lc)
14677         (org-without-partial-completion, org-with-point-at)
14678         (org-no-warnings, org-if-unprotected, org-if-unprotected-1)
14679         (org-if-unprotected-at, org-with-remote-undo)
14680         (org-no-read-only, org-save-outline-visibility)
14681         (org-with-wide-buffer, org-with-limited-levels)
14682         (org-eval-in-environment): Provide edebug specifications.
14684         * org-src.el (org-src-do-at-code-block): Dto.
14686         * org-publish.el (org-publish-with-aux-preprocess-maybe): Dto.
14688         * org-compat.el (org-xemacs-without-invisibility): Dto.
14690         * org-clock.el (org-with-clock-position, org-with-clock): Dto.
14692         * org-agenda.el (org-agenda-with-point-at-orig-entry)
14693         (org-batch-agenda, org-batch-agenda-csv)
14694         (org-batch-store-agenda-views): Dto.
14696         * ob.el (org-babel-do-in-edit-buffer)
14697         (org-babel-map-src-blocks, org-babel-map-inline-src-blocks): Dto.
14699         * ob-tangle.el (org-babel-with-temp-filebuffer): Dto.
14701         * ob-table.el (sbe): Dto.
14703         * ob-exp.el (org-babel-exp-in-export-file): Dto.
14705         * ob-comint.el (org-babel-comint-in-buffer)
14706         (org-babel-comint-with-output): Dto.
14708 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14710         * org-inlinetask.el (org-inlinetask-export-templates):
14711         Fix docstring.
14713 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14715         * org-inlinetask.el (org-inlinetask-insert-task): Error when
14716         trying to nest inline tasks.
14718 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14720         * org.el (org-activate-code, org-toggle-fixed-width-section)
14721         (org-indent-line-function): Allow "[ \t]*:$" as a special case of
14722         fixed-width section.
14724 2012-01-03  David Maus  <dmaus@ictsoc.de>
14726         * org.el (org-paste-subtree): Don't eat headline when called
14727         with point at existing headline.
14729 2012-01-03  David Maus  <dmaus@ictsoc.de>
14731         * org.el (org-paste-subtree): Fix typo in variable name.
14733 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
14735         * org-inlinetask.el (org-inlinetask-export-handler):
14736         Don't export inline tasks if the current backend has provided no
14737         entries in `org-inlinetask-export-templates'.
14739 2012-01-03  Valentin Wüstholz  <wuestholz@gmail.com>  (tiny change)
14741         * org.el (org-indent-line-function): Made the way in which
14742         example blocks are indented more flexible.
14744 2012-01-03  David Maus  <dmaus@ictsoc.de>
14746         * org-agenda.el (org-batch-agenda-csv): Fix argument to append
14747         when creating final parameter alist.
14749 2012-01-03  David Maus  <dmaus@ictsoc.de>
14751         * org-agenda.el (org-batch-store-agenda-views): Use macro
14752         `org-eval-in-environment'.
14754 2012-01-03  David Maus  <dmaus@ictsoc.de>
14756         * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
14757         Use `org-eval-in-environment.
14759 2012-01-03  David Maus  <dmaus@ictsoc.de>
14761         * org-macs.el (org-make-parameter-alist): New function.
14762         Turn flat list of alternating symbol names and values into an alist
14763         with symbol name in car and value in cdr.
14765 2012-01-03  David Maus  <dmaus@ictsoc.de>
14767         * org-agenda.el (org-agenda-with-point-at-orig-entry):
14768         Use macro `org-with-gensyms'.
14770 2012-01-03  David Maus  <dmaus@ictsoc.de>
14772         * org-macs.el (org-substitute-posix-classes):
14773         New function.  Substitute posix classes in regular expression.
14774         (org-re): Use new function.
14776 2012-01-03  David Maus  <dmaus@ictsoc.de>
14778         * org-macs.el (org-eval-in-environment): New macro.  Evaluate FORM
14779         in ENVIRONMENT.
14781 2012-01-03  David Maus  <dmaus@ictsoc.de>
14783         * org-macs.el (org-preserve-lc, org-with-point-at)
14784         (org-with-remote-undo, org-save-outline-visibility): Use new
14785         macro `org-with-gensyms'.
14787 2012-01-03  David Maus  <dmaus@ictsoc.de>
14789         * org-macs.el (org-with-gensyms): New macro.  Wrap let-binding
14790         of SYMBOLS to new uninterned symbols around BODY.
14792 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14794         * org-inlinetask.el (org-inlinetask-export-handler): Make sure
14795         the task starts a paragraph or the HTML exporter will produce
14796         an incorrect output.
14798 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14800         * org.el (org-return): When filling happens, `newline' can
14801         change match data, hence modifying the indent column.
14803 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14805         * org-footnote.el (org-footnote-new): Only forbid non-inlined
14806         footnotes at column 0, as only them can be confused with a
14807         footnote definition.
14809 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14811         * org-footnote.el (org-footnote-new): Use `ido' or `iswitchb'
14812         when available when prompted for a label.  Also rename a local
14813         variable to avoid confusion with an existing function.
14815 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14817         * org-footnote.el (org-footnote-label-history):
14818         Remove variable
14819         (org-footnote-new): Remove call to that variable.
14821 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14823         * org.el (org-insert-heading): With `force-heading' non-nil,
14824         inserting an heading before any headline, and just after a
14825         list would return an error.
14827 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14829         * ob.el (org-babel-sha1-hash): Remove use of `copy-seq'.
14831 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14833         * org-bibtex.el (org-bibtex-get): Make the "FILE" property
14834         non-special when resolving bibtex values.
14836 2012-01-03  David Maus  <dmaus@ictsoc.de>
14838         * org.el (org-back-over-empty-lines): Don't move line upward
14839         if point is at eob.
14841 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14843         * org-footnote.el (org-footnote-in-valid-context-p):
14844         Check `org-protected' property before allowing to match a footnote.
14845         (org-footnote-at-reference-p): Remove an obsolete test.  It is now
14846         done in the previous function.
14848 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14850         * org.el (org-between-regexps-p): Previous name implied the
14851         function was related to blocks, which isn't mandatory.
14852         (org-narrow-to-block, org-in-block-p)
14853         (org-indent-line-function): Applied the rename.
14855         * ob-exp.el (org-babel-in-example-or-verbatim):
14856         Applied rename.  Also removed a white space.
14858 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14860         * org.el (org-in-regexps-block-p): Return an useful value when
14861         point is between START-RE and END-RE.  No incomplete block is
14862         allowed anymore.  Add another optional argument to bound the
14863         bottom part of the search.
14864         (org-narrow-to-block, org-in-block-p): Apply modifications.
14866 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14868         * ob.el (org-babel-src-block-regexp): If a code block has a
14869         body, its last character must be a newline.
14871 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
14873         * org-footnote.el (org-footnote-next-reference-or-definition):
14874         If no more footnote is found, be sure to go back to the
14875         original position.  Otherwise, point might be left on a
14876         footnote-like element that has been dished out.
14878 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14880         * ob-exp.el (org-babel-inline-src-block-regexp): Declare this
14881         variable.
14883         * ob.el (defvar): Wrap variable declaration in
14884         `eval-when-compile'.
14886 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14888         * ob-keys.el (org-babel-key-bindings): Bound to `C-c C-v k'.
14890 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
14892         * ob-java.el (org-babel-execute:java): Allow cmdline flags
14893         during compilation and evaluation.
14895 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
14897         * ob.el (org-babel-expand-body:generic, org-babel-number-p):
14898         * ob-ref.el (org-babel-ref-parse): Fix typos.
14900 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
14902         * ob.el (org-babel-execute-src-block): Fix typo.
14904 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
14906         * org.el (org-link-unescape, org-link-unescape-compound): Fix typos.
14908 2011-11-20  Andreas Schwab  <schwab@linux-m68k.org>
14910         * org-list.el (org-list-send-item): Use sort instead of sort*.
14912 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
14914         * org-table.el (org-table-line-to-dline): Fix typo.
14916 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
14918         * org-agenda.el (org-agenda-add-entry-text-descriptive-links)
14919         (org-agenda-custom-commands, org-write-agenda, org-check-for-org-mode)
14920         (org-search-syntax-table, org-modify-diary-entry-string)
14921         (org-write-agenda):
14922         * org-bbdb.el (org-bbdb-anniv-export-ical):
14923         * org-bibtex.el (org-bibtex-fields):
14924         * org-icalendar.el (org-icalendar-date-time-format):
14925         * org-latex.el (org-export-latex-inline-image-extensions):
14926         * org-list.el (org-list-insert-item): Fix typos.
14928 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
14930         * org-plot.el (org-plot/gnuplot-to-grid-data): Fix typo in docstring.
14932 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
14934         * org.el (org-mode): Force left-to-right paragraphs in Org
14935         buffers.  For a related discussions, see
14936         https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
14938 2011-09-17  Juanma Barranquero  <lekktu@gmail.com>
14940         * org.el (org-toggle-pretty-entities): Fix typo in message.
14942 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
14944         * org-compat.el (org-pop-to-buffer-same-window): Delete.
14946         * ob-ref.el (org-babel-ref-goto-headline-id):
14947         * org.el (org-get-location, org-tree-to-indirect-buffer)
14948         (org-mark-ring-goto, org-refile, org-add-log-note)
14949         (org-revert-all-org-buffers, org-switchb)
14950         (org-cycle-agenda-files, org-submit-bug-report)
14951         (org-goto-marker-or-bmk):
14952         * org-agenda.el (org-prepare-agenda, org-agenda-switch-to):
14953         * org-capture.el (org-capture-goto-target)
14954         (org-capture-fill-template):
14955         * org-clock.el (org-clock-goto):
14956         * org-ctags.el (org-ctags-visit-buffer-or-file):
14957         * org-exp.el (org-export-as-org):
14958         * org-feed.el (org-feed-show-raw-feed):
14959         * org-html.el (org-export-htmlize-generate-css):
14960         * org-id.el (org-id-goto):
14961         * org-irc.el (org-irc-visit-erc):
14962         * org-mobile.el (org-mobile-apply):
14963         * org-publish.el (org-publish-org-to, org-publish-find-date):
14964         * org-remember.el (org-go-to-remember-target):
14965         * org-src.el (org-src-switch-to-buffer)
14966         (org-edit-fixed-width-region): Use switch-to-buffer.
14968 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
14970         * org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
14971         argument from pop-to-buffer-same-window call.
14973 2011-07-30  Carsten Dominik  <carsten.dominik@gmail.com>
14975         * ob.el (org-babel-src-block-regexp): If a code block has a body,
14976         its last character must be a newline.
14978 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14980         * org-pcomplete.el: New file.  Rename from org-complete.el.
14981         * org-complete.el: Delete file.
14983 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14985         * org-publish.el (org-publish-index-generate-theindex):
14986         Rename from `org-publish-index-generate-theindex.inc'.  Use the file
14987         theindex.org directly instead of including theindex.inc.
14988         (org-publish-projects): Don't delete .orgx files.
14989         (org-publish-aux-preprocess): Use .file.orgx.
14991 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14993         * org-html.el (org-export-html-preamble-format): New default for
14994         the HTML preamble: don't include the title.  Also improve the
14995         docstring.
14996         (org-export-html-postamble-format): Improve the docstring.
14997         (org-export-as-html): Add the title within the "content" div.
14998         This is necessary for interaction with the org-info.js script.
15000 2011-07-28  Michael Brand  <michael.ch.brand@gmail.com>
15002         * org-table.el (org-table-edit-field): Display field coordinates.
15004 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15006         * org-publish.el (org-publish-find-title): Bugfix: kill buffers
15007         unless they were already visited.
15008         (org-sitemap-sort-files, org-sitemap-sort-folders)
15009         (org-sitemap-ignore-case, org-sitemap-requested)
15010         (org-sitemap-date-format, org-sitemap-file-entry-format):
15011         Use a correct prefix.
15012         (org-publish-projects): Make sure to delete .orgx files.
15013         (org-publish-index-generate-theindex.inc): Small docstring fix.
15015 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15017         * org-table.el (org-table-duration-custom-format): New defcustom
15018         to select output format of durations computations.
15019         (org-table-time-seconds-to-string): Use the new variable.
15020         (org-table-eval-formula): Allow `t' as a flag, on top of `T'.  `t'
15021         will use the custom output format defined in
15022         `org-table-duration-custom-format'.
15024 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15026         * org-list.el: Search blank lines down to the end of the item
15027         instead of stopping at the item, in order to possibly match such
15028         lines within the item.
15030 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15032         * org-latex.el (org-export-latex-href-format): Docstring fix to
15033         reflect the fact that you can use only one "%s".
15034         (org-export-latex-links): Allow `org-export-latex-href-format' to
15035         have only one "%s".
15037 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15039         * org.el (org-org-menu): Add `org-copy-visible' to the menu.
15041 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15043         * org.el (org-copy-visible): New command.
15045 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15047         * org-capture.el (org-capture-templates): Docstring fix.
15049 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15051         * ob.el (org-babel-view-src-block-info): New function to inspect
15052         code blocks.
15054         * ob-keys.el (org-babel-key-bindings): Key bindings for
15055         `org-babel-view-src-block-info'.
15057 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15059         * org-exp.el (org-infile-export-plist): Handle recursively
15060         included setup files.  The value of the last included file always
15061         takes precedence over previous values.
15063 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15065         * org.el (org-timestamp-change): Keep point in the same category
15066         when updating a time-stamp.  This requires to be careful, as,
15067         depending on the locale, name of day might change of length during
15068         the process.
15070 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15072         * org-footnote.el (org-footnote-create-definition): When skipping
15073         already written footnotes definition, the algorithme would assume
15074         each one was only one-line long.
15076 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15078         * org-table.el (org-table-eval-formula): Fix bug when a formula
15079         "range" is just one cell.
15080         (org-table-time-string-to-seconds): Don't check whether we
15081         manipulate a string.
15083 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15085         * org-exp.el (org-export-mark-list-end)
15086         (org-export-mark-list-properties): Don't remove the ending regexp
15087         when it consists in blank lines.
15089         * org-list.el (org-list-parse-list): Ditto, but remove it
15090         completely when it isn't made of blank lines (i.e. during export
15091         process).
15093 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15095         * org-table.el (org-table-time-string-to-seconds): Match either
15096         HH:MM:SS or HH:MM (instead of MM:SS).
15098 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15100         * org.el (org-ctrl-c-ctrl-c-final-hook): New hook to be run when
15101         `org-ctrl-c-ctrl-c' cannot do anything useful in the given
15102         context.
15104 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15106         * org-html.el (org-export-html-with-timestamp)
15107         (org-export-html-html-helper-timestamp): These are obsolete
15108         variables as of Org version 7.7 as you can already export the
15109         timestamp from the preamble or the postamble.
15110         (org-export-html-before-content-div): Delete variable.
15111         (org-export-html-content-div): Obsolete variable as of 7.7.
15112         (org-export-html-divs): New variable to define divs used in
15113         HTML export.
15114         (org-export-as-html): Now the preamble and the postamble are
15115         surrounded by a <div ...>.  The name of the div is defined through
15116         `org-export-html-divs'.
15118 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15120         * org-table.el (org-table-eval-formula): Throw an error when
15121         trying to replace complex range with invalid references.
15123 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15125         * org-macs.el (org-with-limited-levels): Some functions, like
15126         `org-back-to-heading', being deeply based on outline-mode, still
15127         refer to `outline-regexp' instead of `org-outline-regexp'.
15129 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15131         * org.el (org-refile-get-targets): New optional argument
15132         `excluded-entries' to exclude entries from the targets.
15133         (org-refile-get-location): From an org-mode buffer, exclude
15134         current heading and subheadings from the list of targets when
15135         `org-refile-use-cache' is nil.
15137 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15139         * org.el (org-imenu-get-tree): Headlines start at bol.
15141 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15143         * ob-maxima.el: New file.  Fixed self-proclaimed file name.
15145 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15147         * ob.el (org-babel-sha1-hash): Only call `copy-seq' on proper
15148         lists.
15150 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15152         * org.el (org-kill-is-subtree-p): Matched string needs to start at
15153         bol.
15155 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15157         * org.el (org-paste-subtree, org-kill-is-subtree-p)
15158         (org-yank-folding-would-swallow-text, org-yank-generic):
15159         Use `org-with-limited-levels' macro.
15161 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15163         * org-macs.el (org-with-limited-levels): Also modify, when
15164         appropriate, `org-outline-regexp-at-bol'.
15166 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15168         * org.el (org-timestamp-change): Some locales don't use the same
15169         length for date abbreviations.  Set a marker at origin in case
15170         length of new timestamp is different.
15172 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15174         * org.el (org-imenu-get-tree): Browse only true headlines.
15176 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15178         * org-archive.el (org-archive-subtree): While it might be possible
15179         to archive an headline of a temporary buffer (i.e. not visiting a
15180         file), it wouldn't be really sensible.
15182 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15184         * org-archive.el (org-extract-archive-file)
15185         (org-extract-archive-heading, org-archive-subtree):
15186         `buffer-file-name' is nil in an indirect buffer.  Thus, use
15187         `(buffer-file-name (buffer-base-buffer))', which will, in any
15188         case, return the file name.
15190 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15192         * org-capture.el (org-capture): If dired isn't loaded,
15193         `dired-buffers' isn't defined, and %F will fail.
15195 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15197         * ob-java.el (org-babel-execute:java): Don't create empty package
15198         directories.
15200 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15202         * ob-java.el: New file.
15204 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15206         * ob.el (org-babel-execute-src-block): Replace call to defunct
15207         function `org-babel-result-hash'.
15209 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15211         * org-footnote.el (org-footnote-in-valid-context-p): Avoid cited
15212         lines and headers in `message-mode'.
15213         (org-footnote-at-reference-p): Remove check for cited lines, this
15214         is now handled by the previous function.  Refactor.
15216 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15218         * org-capture.el (org-capture): If no file is associated to
15219         current buffer, check dired buffer and try to retrieve a possibly
15220         directory associated.
15222 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15224         * ob-exp.el (org-babel-exp-results): Resolve hashes in the current
15225         (not original) file buffer.
15227         * ob.el (org-babel-current-result-hash): More informative name,
15228         and remove useless optional argument.
15230 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15232         * org.el (org-refile-get-location): Exclude current heading from
15233         the refile table.
15235 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15237         * org-footnote.el (org-footnote-at-reference-p): Test if match is
15238         in cited text, when replying to a message.
15239         (org-footnote-new): Do not create a new footnote at bol, as it
15240         might be seen as a definition.
15241         (org-footnote-at-definition-p): Ignore definitions in forbidden
15242         blocks, as it is already the case for references.
15244 2011-07-28  Matt Lundin  <mdl@imapmail.org>
15246         * org-bibtex.el (org-bibtex-create, org-bibtex-write):
15247         Change argument of `org-toggle-tag' to 'on.  (Other arguments, e.g., t,
15248         have no effect).
15250 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15252         * org-bibtex.el (org-bibtex-get): Don't let trimming turn nils
15253         into empty strings.
15255 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15257         * org-list.el (org-list-insert-item): Actualize code comments.
15258         (org-insert-item): For consistency, point cannot be moved at a
15259         surprising place when the user is being asked to choose a new
15260         description term to insert in the list.  Point should stay where
15261         the user called the command.
15263 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15265         * org.el (org-outline-regexp-bol): New defconst.
15266         (org-outline-level, org-set-font-lock-defaults, org-cycle)
15267         (org-overview, org-content, org-flag-drawer)
15268         (org-first-headline-recenter, org-insert-todo-heading)
15269         (org-map-region, org-move-subtree-down, org-paste-subtree)
15270         (org-kill-is-subtree-p, org-context-p, org-refile)
15271         (org-refile-new-child, org-toggle-comment, org-todo)
15272         (org-add-planning-info, org-add-log-setup, org-scan-tags)
15273         (org-set-tags, org-insert-property-drawer)
15274         (org-prepare-agenda-buffers, org-preview-latex-fragment)
15275         (org-speed-command-default-hook, org-check-for-hidden)
15276         (org-toggle-item, org-toggle-heading)
15277         (org-indent-line-function, org-set-autofill-regexps)
15278         (org-fill-paragraph, org-toggle-fixed-width-section)
15279         (org-yank-generic, org-yank-folding-would-swallow-text)
15280         (org-first-sibling-p, org-goto-sibling)
15281         (org-goto-first-child, org-show-entry):
15282         Use `org-outline-regexp' and `org-outline-regexp-bol'.
15284 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15286         * org.el (org-update-parent-todo-statistics): COOKIE_DATA should
15287         be checked for parent, not current headline.  Also, this function
15288         doesn't need to be interactive.
15290 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15292         * org-list.el (org-list-send-item, org-list-struct-apply-struct)
15293         (org-apply-on-list, org-toggle-checkbox): Make markers point
15294         nowhere when they have become useless.
15296 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15298         * org-list.el (org-list-insert-item): When insertion point is in
15299         some white line after the end of the list, remove all unnecessary
15300         white lines there before proceeding.  Also refactor a snippet of
15301         code.
15303 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15305         * org-latex.el (org-export-latex-image-default-option):
15306         Change default value.
15308 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15310         * org.el (org-fontify-meta-lines-and-blocks-1): Blocks cannot be
15311         correctly fontified when the buffer is missing a final newline.
15313 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15315         * ob.el (org-babel-strip-protective-commas): Return `nil' instead
15316         of an error if no argument is given.
15317         (org-babel-parse-src-block-match): Make sure body is defined in
15318         the let construct.
15320 2011-07-28  Jon Anders Skorpen  <jonas@ifi.uio.no>  (tiny change)
15322         * org-publish.el (org-publish-cache-file-needs-publishing):
15323         Regexp did not find includes with double quoted file names.
15325 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15327         * org-footnote.el (org-footnote-normalize): Footnote section
15328         should be inserted only if there are footnotes to insert.
15330 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15332         * org-footnote.el (org-footnote-at-definition-p)
15333         (org-footnote-normalize): Do not grab signature in the definition
15334         of the last footnote.
15336 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15338         * org-bibtex.el (org-babel-trim): Declare this function to the
15339         compiler.
15340         (org-bibtex-get): Trimming whitespace off of bibtex fields read from
15341         properties.
15343 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15345         * org-exp.el (org-export-preprocess-string): Add the possibility
15346         to call recursively the function.  Also change order of some
15347         function calls.  Comment export process for footnotes.
15349         * org-footnote.el (org-footnote-normalize): Change the export
15350         specific parameter to hold properties of export.  Thus, the
15351         function can send every footnote definition in the buffer through
15352         `org-export-process-string'.
15354 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15356         * org-latex.el (org-export-latex-preprocess): First insert
15357         footnotes in the temporary buffer so their contents can properly
15358         be protected from further transformations if required.
15360 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15362         * org-list.el (org-list-indent-offset): New variable.
15363         (org-list-struct-fix-ind): Make use of the new variable.
15365 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15367         * org-latex.el (org-export-latex-list-parameters):
15368         Complete default value with cbtrans option.
15370         * org-list.el (org-list-to-latex): Set a more consistent default
15371         value.
15373 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15375         * org-list.el (org-list-swap-items): Move it to a meaningful
15376         position in source code (i.e. before any function using it), and
15377         rename it to an easier name.
15379 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15381         * org-list.el (org-list-separating-blank-lines-number): If there
15382         are blank lines already in the whole list, add a blank line.
15384 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15386         * org-list.el (org-list-use-circular-move): New variable.
15387         (org-previous-item, org-next-item): Make use of the new variable.
15388         (org-move-item-down, org-move-item-up): Make use of the new
15389         variable.  Simplify code.
15391 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15393         * org-list.el (org-list-delete-item, org-list-send-item):
15394         New functions.
15396 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15398         * org-agenda.el (org-agenda-bulk-custom-functions): New variable
15399         for custom bulk action functions.
15400         (org-agenda-bulk-action): Use it.
15402 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15404         * org-latex.el (org-export-latex-quotes): New defcustom.
15405         (org-export-latex-quotation-marks): Use it.
15407 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15409         * org-capture.el (org-capture-finalize): Bugfix about inserted
15410         blank line when killing the capture buffer and
15411         `org-blank-before-new-entry' tells to not insert anything before a
15412         heading.
15414 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15416         * org-html.el (org-export-html-content-div): Rename from
15417         `org-export-content-div'.
15418         (org-export-as-html): Use new name.
15420 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15422         * org-latex.el (org-export-latex-header-defs-re): Delete.
15424 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15426         * org.el (org-last-set-property): New variable.
15427         (org-read-property-name): Use the new variable: the prompt
15428         defaults to the last property set, unless there is a property in
15429         the line at point.
15431 2011-07-28  David Maus  <dmaus@ictsoc.de>
15433         * org-capture.el (org-capture-before-finalize-hook)
15434         (org-capture-after-finalize-hook, org-capture-mode-map)
15435         (org-capture-mode, org-capture-goto-last-stored): Fix docstring,
15436         consistently refer to capture, not remember.
15438 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15440         * ob-clojure.el (org-babel-execute:clojure): Respects "scalar" and
15441         "verbatim" results params.
15443 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15445         * ob-awk.el (org-babel-execute:awk): Use "verbatim" as synonym for
15446         "scalar".
15448         * ob-sh.el (org-babel-sh-evaluate): Use "verbatim" as synonym for
15449         "scalar".
15451         * ob-sqlite.el (org-babel-execute:sqlite): Use "verbatim" as
15452         synonym for "scalar".
15454         * ob.el (org-babel-merge-params): Use "verbatim" as synonym for
15455         "scalar".
15457 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15459         * ob.el (org-babel-script-escape): Parse odd parens when nested
15460         isnide lists.
15462 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15464         * ob-clojure.el (org-babel-execute:clojure): No longer force
15465         results into elisp if they don't naturally fit.
15467 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15469         * ob-clojure.el (org-babel-execute:clojure): Stop re-reading
15470         already parsed lisp results.
15472 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15474         * org-list.el (org-plain-list-ordered-item-terminator):
15475         Remove incorrect assumption.
15477 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15479         * org-footnote.el (org-footnote-forbidden-blocks): Add missing
15480         exporter specific blocks.
15482         * org-list.el (org-list-forbidden-blocks): Ditto.
15484 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15486         * org-latex.el (org-export-latex-tables): Bugfix: remove
15487         properties from fields.
15489 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15491         * org.el (org-shiftcontrolup, org-shiftcontroldown): New commands
15492         to use `org-clock-timestamps-change'.
15494 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15496         * org.el (org-timestamp-up, org-timestamp-down): Mention time
15497         changes in the docstring.
15499 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15501         * org-clock.el (org-clock-remove-empty-clock-drawer): New function
15502         to remove empty clock drawer.
15503         (org-clock-out-hook): Add the new function as a hook.
15505 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15507         * org-list.el (org-list-in-valid-context-p): Use `org-in-block-p'.
15509 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15511         * org.el (org-in-block-p): New function.
15513         * org-footnote.el (org-footnote-forbidden-blocks): New variable.
15514         (org-footnote-in-valid-context-p): New function.
15515         (org-footnote-at-reference-p): Use new function.  Allow inline
15516         footnotes to start at bol.
15518 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15520         * org-lparse.el (org-lparse-use-flashy-warning): New defcustom.
15521         (org-lparse-warn): Use it.
15523 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15525         * org-ascii.el (org-export-as-utf8): Fix call to
15526         `org-called-interactively-p': it requires an argument.  Also fix
15527         the docstring.
15529 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15531         * ob-lilypond.el (show-all): Declaring function from outline.el.
15532         (org-babel-default-header-args:lilypond): Declared.
15533         (ly-process-basic): Use the appropriate prefix for the temporary
15534         file, and don't call a function from ob-dot.el.
15535         (ly-version): Let-bind a free variable.
15537 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15539         * ob-lilypond.el: New file.
15541 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15543         * org-publish.el
15544         (org-publish-cache-file-needs-publishing): Only check against .org
15545         files.
15547 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15549         * org.el (org-mode): Use `org-default' as the default face in
15550         org-mode.
15552 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15554         * org-publish.el
15555         (org-publish-cache-file-needs-publishing): Takes care of more
15556         recently included files, returning `t' in case the file including
15557         them needs to be republished.
15559 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15561         * org-exp.el (org-export-preprocess-string): If the last subtree
15562         is a task, footnotes may be removed along with the subtree.
15563         This patch ensures footnotes are put at the end of the buffer after the
15564         subtree has been removed.
15566 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15568         * org-footnote.el (org-footnote-at-reference-p): Verify that what
15569         looks like a footnote doesn't belong to a link.
15570         (org-footnote-next-reference-or-definition): Check more strictly
15571         footnote definitions.
15573 2011-07-28  Deech  <deech@deech-ThinkPad-X200.(none)>  (tiny change)
15575         * ob-tangle.el (org-babel-tangle): Ignore errors thrown by
15576         language modes.
15578 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15580         * ob-python.el (org-babel-python-evaluate-session): Inhibit return
15581         of the eoe string during session evaluation.
15583 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15585         * ob-python.el (org-babel-python-evaluate-session):
15586         Enough newlines to ensure a return when ":results output :session".
15588 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15590         * ob-python.el (org-babel-python-evaluate-session): Introduced a
15591         new local function for sending input with a slight delay to allow
15592         pythong to re-draw the prompt.  No longer removing newlines inside
15593         code block bodies (was due to a defective regexp).
15595 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15597         * org-table.el (org-table-time-seconds-to-string):
15598         Use `org-format-seconds' instead of `format-seconds'.
15600 2011-07-28  David Maus  <dmaus@ictsoc.de>
15602         * org-publish.el (org-publish-cache-ctime-of-src): Properly handle
15603         relative symlinks.
15605 2011-07-28  David Maus  <dmaus@ictsoc.de>
15607         * org-latex.el (org-export-latex-preprocess): Use function
15608         argument instead of dynamically scoped symbol.
15610 2011-07-28  David Maus  <dmaus@ictsoc.de>
15612         * org-freemind.el (org-freemind-convert-links-helper)
15613         (org-freemind-convert-text-p, org-freemind-write-mm-buffer)
15614         (org-freemind-get-node-style): Use org-string-match-p for backward
15615         compatibility with Emacs 22.
15617 2011-07-28  David Maus  <dmaus@ictsoc.de>
15619         * org-html.el (org-export-html-protect-char-alist): Add missing
15620         :group keyword in defcustom.
15622 2011-07-28  David Maus  <dmaus@ictsoc.de>
15624         * ob-haskell.el (org-babel-haskell-export-to-lhs):
15625         Call `kill-buffer' with argument indiciating to kill current
15626         buffer.  Emacs 22 compatibility.
15628 2011-07-28  David Maus  <dmaus@ictsoc.de>
15630         * org-macs.el (org-without-partial-completion):
15631         Toggle partial-completion-mode only if it is turned on.
15633 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15635         * org.el (org-add-planning-info): Fix issues with timestamps not
15636         being inserted at the same position.
15638 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15640         * org-table.el (org-table-time-string-to-seconds)
15641         (org-table-time-seconds-to-string): New functions.
15642         (org-table-eval-formula): Implement the "T" (time) flag for
15643         computing durations.
15645 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
15647         * org.el (org-modules): Add org-lparse and org-odt as contrib
15648         modules.
15650 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15652         * org.el (org-fontify-meta-lines-and-blocks-1): Include header
15653         lines.
15654         (org-additional-option-like-keywords): Include data as a synonym
15655         for results.
15657 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15659         * ob.el (org-babel-sha1-hash): Improving code layout and removing
15660         export-variable headers in cache sha1.
15662 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15664         * ob-ref.el (org-babel-ref-goto-headline-id): Don't let `org-id'
15665         rescan all IDs when trying to resolve a reference.
15667 2011-07-28  Julien Barnier  <julien@nozav.org>
15669         * org.el (org-fontify-meta-lines-and-blocks-1): Fix test for src
15670         blocks lang attribute.
15672 2011-07-28  Eric S Fraga  <e.fraga@ucl.ac.uk>
15674         * org-latex.el (org-export-latex-timestamp-inactive-markup):
15675         New option to allow different markup for inactive timestamps.
15677 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15679         * ob-org.el (org-babel-expand-body:org): Implemented this
15680         function, only action is to expand variables.
15681         (org-babel-execute:org): Uses the new body-expansion function.
15683 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15685         * org-list.el (org-list-full-item-re): Allow counter and check-box
15686         to be separated by white spaces.
15687         (org-list-struct-apply-struct): Reflect changes made to
15688         `org-list-full-item-re'.
15690         * org-html.el (org-html-export-list-line): Recognize spaces
15691         between counter and check-boxes as valid.
15693         * org-docbook.el (org-export-docbook-list-line): Ditto.
15695 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15697         * org-list.el (org-list-insert-item): Make sure point is moved to
15698         the specified POS before starting the function.
15700 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15702         * org.el (org-activate-footnote-links): Properly fontify inline
15703         footnotes.
15704         (org-set-font-lock-defaults): Apply changes to previous function.
15706 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15708         * org-footnote.el (org-footnote-at-reference-p): First check if
15709         point is at the beginning of a footnote.  Indeed `org-in-regexp'
15710         first checks backwards and might find an incorrect footnote if
15711         they are side-by-side.
15713 2011-07-28  Michael Brand  <michael.ch.brand@gmail.com>
15715         * org-agenda.el (org-agenda-compact-blocks): Improve docstring.
15716         (org-agenda-block-separator): Add nil to docstring and customization.
15717         (org-prepare-agenda): Skip agenda block separator additionally if
15718         `org-agenda-block-separator' is nil.
15719         (org-agenda-overriding-header): Improve docstring.
15721 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15723         * org.el (org-set-tags): Remove useless
15724         `org-without-partial-completion'.
15726 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15728         * org-footnote.el (org-fill-paragraph): Declare function for the
15729         compiler.
15731 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15733         * ob-ref.el (org-narrow-to-subtree): Declare unknown function.
15735 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15737         * ob.el (org-babel-inline-lob-one-liner-regexp): Declare variable
15738         to appease compiler.
15740 2011-07-28  Michael Markert  <markert.michael@googlemail.com>
15742         * ob.el (org-babel-sha1-hash): Adding optional argument KIND to
15743         all `org-called-interactively-p' function invocations.
15745         * org-agenda.el (org-agenda-redo): Adding optional argument KIND
15746         to all `org-called-interactively-p' function invocations.
15747         (org-agenda-show-1): Adding optional argument KIND to all
15748         `org-called-interactively-p' function invocations.
15749         (org-agenda-set-tags): Adding optional argument KIND to all
15750         `org-called-interactively-p' function invocations.
15752         * org-ascii.el (org-export-as-latin1): Adding optional argument
15753         KIND to all `org-called-interactively-p' function invocations.
15754         (org-export-as-latin1-to-buffer): Adding optional argument KIND to
15755         all `org-called-interactively-p' function invocations.
15756         (org-export-as-utf8-to-buffer): Adding optional argument KIND to all
15757         `org-called-interactively-p' function invocations.
15758         (org-export-region-as-ascii): Adding optional argument KIND to all
15759         `org-called-interactively-p' function invocations.
15761         * org-docbook.el (org-export-region-as-docbook): Adding optional
15762         argument KIND to all `org-called-interactively-p' function
15763         invocations.
15765         * org-html.el (org-export-region-as-html): Adding optional
15766         argument KIND to all `org-called-interactively-p' function
15767         invocations.
15769         * org-latex.el (org-export-region-as-latex): Adding optional
15770         argument KIND to all `org-called-interactively-p' function
15771         invocations.
15773         * org-table.el (org-table-blank-field): Adding optional argument
15774         KIND to all `org-called-interactively-p' function invocations.
15775         (org-table-current-column): Adding optional argument KIND to all
15776         `org-called-interactively-p' function invocations.
15777         (org-table-current-dline): Adding optional argument KIND to all
15778         `org-called-interactively-p' function invocations.
15779         (org-table-sort-lines): Adding optional argument KIND to all
15780         `org-called-interactively-p' function invocations.
15781         (org-table-sum): Adding optional argument KIND to all
15782         `org-called-interactively-p' function invocations.
15783         (org-table-rotate-recalc-marks): Adding optional argument KIND to
15784         all `org-called-interactively-p' function invocations.
15785         (org-table-eval-formula): Adding optional argument KIND to all
15786         `org-called-interactively-p' function invocations.
15787         (orgtbl-send-table): Adding optional argument KIND to all
15788         `org-called-interactively-p' function invocations.
15790         * org.el (org-mode): Adding optional argument KIND to all
15791         `org-called-interactively-p' function invocations.
15792         (org-copy-subtree): Adding optional argument KIND to all
15793         `org-called-interactively-p' function invocations.
15794         (org-paste-subtree): Adding optional argument KIND to all
15795         `org-called-interactively-p' function invocations.
15796         (org-store-link): Adding optional argument KIND to all
15797         `org-called-interactively-p' function invocations.
15798         (org-todo): Adding optional argument KIND to all
15799         `org-called-interactively-p' function invocations.
15800         (org-occur): Adding optional argument KIND to all
15801         `org-called-interactively-p' function invocations.
15803 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15805         * org-footnote.el (org-footnote-action): Offer to create
15806         definition when none is found.
15808 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15810         * org-footnote.el (org-footnote-re): Avoid matching inactive
15811         time-stamps or check-box cookies.
15812         (org-footnote-next-reference-or-definition): Adapt to the new regexp.
15814 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15816         * org-exp.el (org-export-preprocess-string): If the last subtree
15817         is commented, footnotes inserted during normalizing at the end of
15818         the buffer may get deleted.  This patch ensures deletion comes
15819         first, normalization second.
15821 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15823         * org-exp.el (org-export-footnotes-data): Change docstring.
15824         (org-export-footnotes-seen): Rename from
15825         org-export-footnotes-markers.
15827         * org-ascii.el (org-export-as-ascii): Apply change.
15829         * org-docbook.el (org-export-as-docbook): Apply change.
15831         * org-footnote.el (org-footnote-normalize): Apply change.
15833         * org-html.el (org-export-as-html): Apply change.
15835         * org-latex.el (org-export-as-latex): Apply change.
15837 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15839         * org-latex.el (org-export-latex-preprocess): Rely on
15840         `org-export-footnotes-markers' to retrieve definition of the
15841         current footnote during export.
15843 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15845         * org-footnote.el (org-footnote-normalize): Remember footnotes
15846         seen so far by the exporter when choosing the new marker.
15848 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15850         * org-footnote.el (org-footnote-normalize): Make use of
15851         `org-footnote-insert-pos-for-preprocessor'.
15853 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15855         * org-footnote.el (org-footnote-normalize): Add `org-footnote'
15856         property to footnote markers when preparing for exportation.
15858         * org-html.el (org-export-as-html): Read new property to decide
15859         when to export a footnote.
15861         * org-docbook.el (org-export-as-docbook): Read new property to
15862         decide when to export a footnote.
15864         * org-latex.el (org-export-latex-preprocess): Ensure footnote at
15865         column 0 cannot end a list containing it by adding
15866         `original-indentation' property to it.
15868 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15870         * org-exp.el (org-export-preprocess-string): Normalize footnotes
15871         before marking lists ending.
15873         * org-latex.el (org-export-latex-preprocess): Work with labels as
15874         strings and not as numbers.
15876 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15878         * org-docbook.el (org-export-docbook-footnote-separator):
15879         New variable.
15880         (org-export-as-docbook): Add a separator between footnotes.
15882         * org-html.el (org-export-html-footnote-separator): New variable.
15883         (org-export-as-html): Add a separator between footnotes.
15885         * org-latex.el (org-export-latex-footnote-separator):
15886         New variable.
15887         (org-export-latex-preprocess): Add a separator between footnotes.
15889 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15891         * org-exp.el (org-export-footnotes-markers)
15892         (org-export-footnotes-data): New variables.
15893         (org-export-preprocess-string): Use a more explicit argument.
15895 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15897         * org-footnote.el (org-footnote-goto-definition): Now, determining
15898         if point is at a footnote reference is entirely determined by
15899         `org-footnote-at-reference-p'.  No need to check if pattern isn't
15900         at beginning of the line elsewhere.
15902 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15904         * org-footnote.el (org-footnote-next-reference-or-definition):
15905         New function.
15907         * org.el (org-activate-footnote-links): Activate the whole
15908         footnote, but only fontify its label.
15910 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15912         * org-footnote.el (org-footnote-normalize): Make use of changes to
15913         `org-footnote-at-reference-p' and creation of various functions..
15914         Also comment code.
15915         (org-footnote-get-next-reference, org-footnote-delete-references)
15916         (org-footnote-delete-definitions): New functions.
15917         (org-footnote-goto-previous-reference, org-footnote-all-labels)
15918         (org-insert-footnote-reference-near-definition, org-footnote-delete):
15919         Rewrite to use org-footnote-get-next-reference.
15921 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15923         * org-footnote.el (org-footnote-re): Don't end an inline footnote
15924         at unrelated closing square brackets.
15925         (org-footnote-at-reference-p): Improve accuracy of the function to
15926         determine if point is at a reference and to extract definition of an
15927         inline footnote.
15928         (org-footnote-all-labels, org-footnote-action, org-footnote-delete)
15929         (org-footnote-auto-adjust-maybe): Make use of previous function.
15931 2011-07-28  Bastien Guerry  <bzg@gnu.org>
15933         * org.el (org-deadline, org-schedule):
15934         keep warning cookie when rescheduling/redeadlining.
15935         (org-time-stamp): Fix problem with warning cookie.
15937 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15939         * ob-clojure.el (org-babel-execute:clojure): Force escaping of
15940         clojure source into elisp source.
15942 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15944         * ob.el (org-babel-script-escape): Treats {} in the same manner as
15945         [] and allows for forcing string conversion.
15947 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15949         * org-exp.el (org-export-select-backend-specific-text):
15950         Strip protective commas from literal code blocks.
15952 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15954         * ob-ref.el (org-babel-ref-goto-headline-id): Fix bug.
15956 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15958         * ob-ref.el (org-babel-ref-goto-headline-id): Split out into its
15959         own function.
15960         (org-babel-ref-headline-body): Split out into its own function.
15961         (org-babel-ref-resolve): Using new functions, and alignment.
15963         * ob.el (org-babel-ref-goto-headline-id): Declare function.
15964         (org-babel-ref-headline-body): Declare function.
15965         (org-babel-expand-noweb-references): Now expands noweb references to
15966         headlines during expansion.
15968 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15970         * ob-ref.el (org-babel-ref-resolve): Now resolves references to
15971         headlines by either global or custom id, in which case the
15972         contents of the headline are returned literally.
15974 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15976         * ob-exp.el (org-babel-in-example-or-verbatim): Also check for in
15977         verbatim emphasis.
15978         (org-babel-exp-lob-one-liners): Cleaner checking for escaped call
15979         lines.
15981 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15983         * org-list.el (org-cycle-item-indentation): Cycling back to
15984         original position deleted any additional information in the item,
15985         like a counter or a tag.
15987 2011-07-28  Pieter Praet  <pieter@praet.org>
15989         * org-crypt.el (org-crypt-disable-auto-save): New defcustom.
15990         (org-decrypt-entry): Before decrypting, check whether
15991         `auto-save-mode' is enabled for the current buffer, and act on it
15992         according to how `org-crypt-disable-auto-save' is set.  Remove
15993         comment re "encrypt[ing] Org auto-saved buffers".  Remove on-init
15994         check for `auto-save-default'.
15996 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15998         * ob.el (org-babel-merge-params): Ensure variable parameters are
15999         not reversed.
16001 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16003         * ob.el (org-babel-insert-result): Fix results insertion for
16004         inline blocks which happen to start a line.
16006 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16008         * ob-exp.el (org-babel-exp-lob-one-liners): Fix the logic checking
16009         if a call line is commented.
16011 2011-07-28  Vincent Belaïche  <vincentb1@users.sourceforge.net>
16013         * org.el (org-read-property-name): Propose default property name.
16015 2011-07-28  Achim Gratz  <stromeko@nexgo.de>
16017         * org.el (org-log-into-drawer): Correct typo.
16019         * org-clock.el (org-clock-into-drawer): New function to change the
16020         location of clock events based on properties CLOCK_INTO_DRAWER or,
16021         as fallback, LOG_INTO_DRAWER, like it is already possible for
16022         state change logs.
16024         * org-clock.el (org-clock-jump-to-current-clock): Add statement to
16025         let clause to bind `org-clock-into-drawer' to result of function
16026         eval.
16028         * org-clock.el (org-clock-find-position): Add statement to let
16029         clause to bind `org-clock-into-drawer' to result of function eval,
16030         change let to let* since the binding is used later in the same
16031         clause.
16033 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16035         * ob-lob.el (require): Ensure 'cl is loaded during compilation so
16036         we can use flet.
16038 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16040         * ob-lob.el (org-babel-lob-get-info): Correctly indent results of
16041         non-inline call lines.
16043 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16045         * ob-exp.el (org-babel-exp-lob-one-liners): Don't export inline
16046         call_ blocks which aren't whitespace padded.
16048 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16050         * ob.el (org-babel-merge-params): Do not reverse variable order,
16051         and be sure to increment variable index as appropriate.
16053 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16055         * ob-lob.el (org-babel-inline-lob-one-liner-regexp): Update to
16056         successfully match optional trailing header arguments in square
16057         brackets.
16058         (org-babel-lob-get-info): Update to match the new regexp.
16060 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16062         * ob-lob.el (org-babel-lob-get-info): If the arguments are empty,
16063         then allow them to be so.
16065 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16067         * ob.el (org-babel-merge-params): If variables are not named they
16068         are assigned in order.
16070 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16072         * ob.el: Remove code comment about online documentation.
16074         * ob-exp.el: Remove code comment about online documentation.
16076         * ob-lob.el: Remove code comment about online documentation.
16078 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16080         * org-exp.el (org-export-format-source-code-or-example):
16081         Fix signature of org-<backend>-format-source-code-or-example function.
16083 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16085         * ob.el (org-babel-sha1-hash): Replace call to
16086         called-interactively-p with backwards-compatible interactive-p.
16088 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16090         * ob-exp.el (org-babel-exp-lob-one-liners):
16091         Appropriate replacement of inline call blocks with their results.
16093 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16095         * ob-lob.el (org-babel-inline-lob-one-liner-regexp): Removing this
16096         trailing space ensures that the insertion of the results looks
16097         nice.
16099         * ob.el (org-babel-insert-result): Insert inline lob line results
16100         as inline results.
16102 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16104         * ob-exp.el (org-babel-exp-lob-one-liners): Calculate length
16105         appropriately given the style (block or inline) of the lob line.
16107         * ob-lob.el (org-babel-block-lob-one-liner-regexp): New regexp
16108         specific for block lob lines.
16109         (org-babel-inline-lob-one-liner-regexp): New regexp specific for
16110         inline lob lines.
16111         (org-babel-lob-one-liner-regexp): Combination of two lob regexps.
16112         (org-babel-lob-get-info): Return info from *either* the block or
16113         inline lob lines.
16115 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16117         * ob-exp.el (org-babel-exp-lob-one-liners): Corrected the
16118         structure of the resulting info list.
16120         * ob-lob.el (org-babel-default-lob-header-args): Export the
16121         results of call lines by default.
16123 2011-07-28  Niels Giesen  <niels.giesen@gmail.com>  (tiny change)
16125         * org-icalendar.el (org-print-icalendar-entries): Add 'uid text
16126         property based on the ID property of the org entry to the first
16127         character of the diary entry.
16129 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16131         * org-footnote.el
16132         (org-footnote-insert-pos-for-preprocessor): New variable.
16133         (org-footnote-normalize): Use it.
16135 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16137         * org-exp.el (org-export-format-source-code-or-example):
16138         Simplify.  Also add `org-native-text' as a text property to the
16139         formatted text and throw error for unknown backends.
16141 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16143         * org-exp.el (org-export-format-source-code-or-example):
16144         Add support for: - custom formatters for existing backends - seamless
16145         plugging in of new backends.
16147 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16149         * org-exp.el (org-export-backends): New variable.
16150         (org-export-select-backend-specific-text): Use above
16151         variable.  Also mark text between #+BACKEND and
16152         #+BEGIN_BACKEND...#+END_BACKEND with org-native-text property.
16153         This text property is currently used only by the new line-oriented
16154         generic exporter (which is not yet part of the repo).
16156 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16158         * org-exp.el (org-export): Reserve keys 'o' and 'O' for
16159         OpenDocumentText export and bind them to `org-export-as-odt' and
16160         `org-export-as-odt-and-open'.
16162 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16164         * ob-exp.el (org-babel-exp-src-block): Less verbose when in batch
16165         mode.
16167 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16169         * ob-clojure.el (org-babel-execute:clojure): Convert vectors to
16170         lists before reading into emacs-lisp.
16172 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16174         * ob-C.el (ob-tangle): Initialize variable from `ob-tangle'.
16176         * ob-asymptote.el (ob-tangle): Initialize variable from `ob-tangle'.
16178         * ob-awk.el (ob-tangle): Initialize variable from `ob-tangle'.
16180         * ob-clojure.el (ob-tangle): Initialize variable from `ob-tangle'.
16182         * ob-haskell.el (ob-tangle): Initialize variable from `ob-tangle'.
16184         * ob-latex.el (ob-tangle): Initialize variable from `ob-tangle'.
16186         * ob-lisp.el (ob-tangle): Initialize variable from `ob-tangle'.
16188         * ob-ocaml.el (ob-tangle): Initialize variable from `ob-tangle'.
16190         * ob-perl.el (ob-tangle): Initialize variable from `ob-tangle'.
16192         * ob-python.el (ob-tangle): Initialize variable from `ob-tangle'.
16194         * ob-ruby.el (ob-tangle): Initialize variable from `ob-tangle'.
16196         * ob-tangle.el (ob-tangle): Initialize variable from `ob-tangle'.
16198 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16200         * ob-awk.el: New file.
16202 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16204         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
16205         Respects ":results verbatim".
16207 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16209         * org-agenda.el (org-float): Aliases for `diary-float'.
16211 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16213         * ob-python.el (org-babel-python-evaluate-session):
16214         Send comint-send-input after every line when interacting with an
16215         interactive python process.
16217 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16219         * org-list.el (org-reset-checkbox-state-subtree): Make the command
16220         more robust, and correctly update check-boxes in the whole
16221         sub-tree.
16222         (org-update-checkbox-count): Fix bug accumulating count of checkboxes
16223         when walking a subtree.
16224         (org-update-checkbox-count-maybe): Add an optional argument passed to
16225         org-update-checkbox-count.
16227 2011-07-28  Teodor Zlatanov  <tzz@lifelogs.com>
16229         * org.el (org-fontify-meta-lines-and-blocks): Ignore errors.
16231 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16233         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Respect the
16234         ":results scalar" header argument combination.
16236 2011-07-28  Dan Davison  <dandavison7@gmail.com>
16238         * org-src.el: Append a space character to copied text so that the
16239         final text property change is picked up correctly.
16241 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16243         * ob-tangle.el (org-babel-tangle-file): Use the new argument list
16244         to org-babel-tangle.
16245         (org-babel-tangle): Now when called with a prefix argument, only the
16246         current code block is tangled.
16248 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16250         * org-list.el (org-list-parse-list): Replace transitional
16251         check-boxes with "[CBTRANS]" string during parsing.
16252         (org-list-to-generic): Use the new property `:cbtrans' to configure
16253         export string for transitional check-boxes.
16255 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16257         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
16258         Use stable internal `org-anniversary' instead of
16259         diary-anniversary.
16260         (org-class): New function.
16261         (org-diary-class): Use `org-class'.
16262         (org-anniversary, org-cyclic, org-date, org-block): New functions.
16264 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16266         * ob.el (org-babel-header-arg-names): Adding noweb-ref to the list
16267         of header argument names.
16269 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16271         * ob.el (org-babel-expand-noweb-references): Concatenating all
16272         bodies with the appropriate name or :noweb-ref header argument.
16274 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
16276         * org.el (org-find-dblock, org-clocktable-try-shift): Make regexp
16277         work also when #+begin line is indentex.
16279 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16281         * ob.el (org-babel-src-block-regexp): Babel: code block may have
16282         empty bodies.
16284 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16286         * org-macs.el (org-without-partial-completion): Avoid calling by
16287         name a function unknown to the compiler but explicitly checked by
16288         program logic.
16290 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16292         * org-mouse.el (org-agenda-earlier): Declaring previously unknown
16293         function.
16294         (org-agenda-later): Declaring previously unknown function.
16295         (org-agenda-mode-map): Declaring previously unknown variable.
16297         * org.el (org-read-date-analyze): Explicitly ignore the return
16298         value of a function.
16300 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16302         * org-agenda.el (org-agenda-mode): Globally replace
16303         buffer-substring-filters with filter-buffer-substring-functions.
16305         * org-indent.el (org-indent-mode): Globally replace
16306         buffer-substring-filters with filter-buffer-substring-functions.
16308 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16310         * org-ascii.el (org-export-as-ascii): Replacing '(λ...) with
16311         #'(λ...).
16313         * org-attach.el: Replacing '(λ...) with #'(λ...).
16314         (org-attach-commit): Replacing '(λ...) with #'(λ...).
16316         * org-exp.el: Replacing '(λ...) with #'(λ...).
16317         (org-export-handle-include-files): Replacing '(λ...) with #'(λ...).
16319         * org-html.el: Replacing '(λ...) with #'(λ...).
16320         (org-export-as-html): Replacing '(λ...) with #'(λ...).
16322         * org-mouse.el: Replacing '(λ...) with #'(λ...).
16323         (org-mouse-popup-global-menu): Replacing '(λ...) with
16324         (org-mode-hook): Replacing '(λ...) with #'(λ...).
16325         (org-agenda-mode-hook): Replacing '(λ...) with #'(λ...).
16327         * org-src.el: Replacing '(λ...) with #'(λ...).
16328         (org-src-mode-configure-edit-buffer): Replacing '(λ...) with #'(λ...).
16330         * org-table.el: Replacing '(λ...) with #'(λ...).
16331         (org-table-fix-formulas-confirm): Replacing '(λ...) with #'(λ...).
16333         * org.el: Replacing '(λ...) with #'(λ...).
16334         (org-confirm-shell-link-function): Replacing '(λ...) with
16335         (org-category): Replacing '(λ...) with #'(λ...).
16337 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16339         * org.el (mailcap-parse-mailcaps): Declaring functions used by
16340         `org-open-file'.
16341         (mailcap-extension-to-mime): Declaring functions used by
16342         `org-open-file'.
16343         (mailcap-mime-info): Declaring functions used by `org-open-file'.
16345 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16347         * org-agenda.el (org-agenda-redo): Replacing call to now-defunct
16348         function `interactive-p'.
16349         (org-agenda-show-1): Replacing call to now-defunct function
16350         `interactive-p'.
16351         (org-agenda-set-tags): Replacing call to now-defunct function `interactive-p'.
16353         * org-ascii.el: Replacing call to now-defunct function
16354         `interactive-p'.
16355         (org-export-as-latin1): Replacing call to now-defunct function
16356         `interactive-p'.
16357         (org-export-as-latin1-to-buffer): Replacing call to now-defunct
16358         function `interactive-p'.
16359         (org-export-as-utf8): Replacing call to now-defunct function
16360         `interactive-p'.
16361         (org-export-as-utf8-to-buffer): Replacing call to now-defunct function
16362         `interactive-p'.
16363         (org-export-region-as-ascii): Replacing call to now-defunct
16364         function `interactive-p'.Replacing call to now-defunct function
16365         `interactive-p'.
16367         * org-docbook.el: Replacing call to now-defunct function
16368         `interactive-p'.
16369         (org-export-region-as-docbook): Replacing call to now-defunct
16370         function `interactive-p'.Replacing call to now-defunct function
16371         `interactive-p'.
16373         * org-html.el: Replacing call to now-defunct function
16374         `interactive-p'.
16375         (org-export-region-as-html): Replacing call to now-defunct
16376         function `interactive-p'.Replacing call to now-defunct function
16377         `interactive-p'.
16379         * org-latex.el: Replacing call to now-defunct function
16380         `interactive-p'.
16381         (org-export-region-as-latex): Replacing call to now-defunct
16382         function `interactive-p'.Replacing call to now-defunct function
16383         `interactive-p'.
16385         * org-macs.el: Replacing call to now-defunct function
16386         `interactive-p'.
16387         (org-called-interactively-p): Replacing call to now-defunct
16388         function `interactive-p'.Replacing call to now-defunct function
16389         `interactive-p'.
16391         * org-table.el: Replacing call to now-defunct function
16392         `interactive-p'.
16393         (org-table-blank-field): Replacing call to now-defunct function
16394         `interactive-p'.
16395         (org-table-current-column): Replacing call to now-defunct function
16396         `interactive-p'.Replacing call to now-defunct function
16397         `interactive-p'.
16398         (org-table-current-dline): Replacing call to now-defunct function
16399         `interactive-p'.Replacing call to now-defunct function
16400         `interactive-p'.
16401         (org-table-sort-lines): Replacing call to now-defunct function
16402         `interactive-p'.
16403         (org-table-sum): Replacing call to now-defunct function
16404         `interactive-p'.
16405         (org-table-rotate-recalc-marks): Replacing call to now-defunct
16406         function `interactive-p'.
16407         (org-table-eval-formula): Replacing call to now-defunct function
16408         `interactive-p'.
16409         (orgtbl-send-table): Replacing call to now-defunct function `interactive-p'.
16411         * org.el: Replacing call to now-defunct function `interactive-p'.
16412         (org-mode): Replacing call to now-defunct function
16413         `interactive-p'.
16414         (org-copy-subtree): Replacing call to now-defunct function
16415         `interactive-p'.
16416         (org-paste-subtree): Replacing call to now-defunct function
16417         `interactive-p'.
16418         (org-store-link): Replacing call to now-defunct function
16419         `interactive-p'.
16420         (org-todo): Replacing call to now-defunct function `interactive-p'.
16421         (org-occur): Replacing call to now-defunct function `interactive-p'.
16423 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16425         * ob-R.el (ess-local-process-name): This variable wasn't known to
16426         be defined.
16428         * ob-lisp.el (org-babel-lisp-dir-fmt): This defcustom now has a
16429         group specified.
16431         * ob-tangle.el (org-bracket-link-regexp): This variable wasn't
16432         known to be defined.
16433         (org-babel-tangle-combine-named-blocks): Roll my own version of a
16434         forbidden common lisp function.
16436         * ob.el (org-babel-sha1-hash): Using a non-deprecated version of
16437         called-interactively.
16439 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16441         * org-latex.el (org-export-latex-tables): Check for the
16442         "multiline" option and set the `floatp' option to true when
16443         multicolumn tables are requested.
16445 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16447         * org-html.el (org-export-as-html, org-html-level-start):
16448         Only convert section number underscores to dashes.
16450 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16452         * org-agenda.el (org-agenda-bulk-action): Fix bug caused by
16453         `days-to-time, converting relative to 1 BC, while the code assumed
16454         it would return a time relative to 1970.
16456 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16458         * ob-tangle.el (org-babel-tangle-combine-named-blocks): No longer
16459         inserting newlines between appended code blocks.
16461 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16463         * ob-exp.el: We may no longer need to export names along with code
16464         blocks.
16466 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16468         * org-exp-blocks.el (org-export-blocks-preprocess):
16469         Ensure balanced nested begin/end blocks in block bodies.
16471 2011-07-28  Dan Davison  <dandavison7@gmail.com>
16473         * org-latex.el: Add -shell-escape to pdflatex commands.
16475 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16477         * ob-tangle.el (org-babel-tangle-named-block-combination):
16478         Block combination can now take a number of values.
16479         (org-babel-tangle-combine-named-blocks): More sophisticated block
16480         combination behavior.
16482 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16484         * ob-tangle.el (org-babel-tangle-do-combine-named-blocks):
16485         Switch to turn on the combination of code blocks of the same name.
16486         (org-babel-tangle-combine-named-blocks): Combine blocks of the same
16487         name.
16489 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16491         * ob-ruby.el (xmp): Declaring this function to appease the
16492         compiler.
16493         (org-babel-execute:ruby): "xmp" result option for outputting
16494         annotated source code.
16496 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>  (tiny change)
16498         * org-list.el (org-list-to-latex): The enumerate environment in
16499         latex increments the counter before using it.  Therefore, org-mode
16500         should set the enumeration counter to the desired value minus one.
16502 2011-07-28  Michael Brand  <michael.ch.brand@gmail.com>  (tiny change)
16504         * org.el (org-toggle-heading): More comments and fix number of
16505         stars when toggling from list items.
16507 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
16509         * org-taskjuggler.el (org-taskjuggler-clean-effort): Handle any
16510         effort that is accepted by `org-duration-string-to-minutes´.
16512 2011-07-28  Julien Barnier  <julien@nozav.org>
16514         * ob-sh.el (org-babel-sh-evaluate): When sending input to comint,
16515         wait until previous line execution is finished.
16517         * ob-comint.el (org-babel-comint-with-output): When looking for
16518         end-of-evaluation indicator, search forward for the indicator
16519         before searching forward for the prompt.
16521 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16523         * org-entities.el (org-entities): Fix HTML entity for degree.
16525 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16527         * org.el (org-auto-align-tags): Change docstring.
16528         (org-update-parent-todo-statistics): Keep tags aligned even when
16529         statistics cookies are shifting them.
16531         * org-list.el (org-update-checkbox-count): Keep tags aligned even
16532         when statistics cookies are shifting them.
16534 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
16536         * ob.el (org-babel-sha1-hash): Don't modify info argument by
16537         side-effect when sorting result-params list.
16539 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
16541         * ob.el (org-babel-result-regexp): Use non-shy group around
16542         `org-babel-data-names'.
16544 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16546         * org.el (org-insert-link): Set truncate-line in the *Org Link*
16547         buffer and make sure that it really is set there.
16549 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16551         * ob-lisp.el (org-babel-lisp-dir-fmt): Defcustom for use in
16552         changing how/if the current directory is represented to lisp code.
16553         (org-babel-execute:lisp): More general handling of the default
16554         directory value.
16556 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16558         * ob-lisp.el (org-babel-execute:lisp): Setting the value of
16559         *default-pathname-defaults* to either the value of the :dir header
16560         argument or the directory of the containing Org-mode file.
16562 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16564         * ob-lisp.el (org-babel-execute:lisp): No real functional change,
16565         just aesthetic.
16567 2011-07-28  Sébastien Delafond  <sdelafond@gmail.com>  (tiny change)
16569         * org.el (org-mode-flyspell-verify): This is useful when using
16570         flyspell with a non-English dictionary, or if some of your
16571         keywords are in another language.
16573 2011-07-28  David Maus  <dmaus@ictsoc.de>
16575         * org-exp.el (org-export): Use new compatibility function
16576         `org-activate-mark'.
16578         * org-compat.el (org-activate-mark): New function.
16579         Provide `activate-mark' if not present (e.g. Emacs 22).
16581 2011-07-28  David Maus  <dmaus@ictsoc.de>
16583         * org-table.el (org-table-follow-field-mode): Declare variable to
16584         keep byte compiler happy.
16586 2011-07-28  David Maus  <dmaus@ictsoc.de>
16588         * org-footnote.el (org-id-uuid): Declare function, silence byte
16589         compiler.
16591 2011-07-28  David Maus  <dmaus@ictsoc.de>
16593         * org-bibtex.el (org-bibtex-headline): Don't use equalp at
16594         run-time, compare downcased strings.
16596 2011-07-28  David Maus  <dmaus@ictsoc.de>
16598         * org-bibtex.el (org-id-locations): Declare variable to silence
16599         byte compiler.
16601 2011-07-28  David Maus  <dmaus@ictsoc.de>
16603         * org-id.el (org-id-locations): Fix docstring, remove reference to
16604         non-existent option.
16606 2011-07-28  David Maus  <dmaus@ictsoc.de>
16608         * org.el (org-self-insert-command): Use `delete-char' instead of
16609         `delete-backward-char'.
16611         * org-table.el (orgtbl-self-insert-command): Ditto.
16613 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16615         * org-latex.el (org-export-latex-special-chars): Save match data
16616         when checking for table.el table.
16618 2011-07-28  David Maus  <dmaus@ictsoc.de>
16620         * org.el (org-re-property): Move before its first use.
16622 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16624         * org-latex.el (org-export-latex-preprocess):
16625         Add `original-indentation' property to footnotes so they cannot
16626         possibly end a list by being less indented than the item they
16627         belong to.
16629 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16631         * ob-lisp.el (org-babel-expand-body:lisp): No longer wraps biddies
16632         in `progn'.
16633         (org-babel-execute:lisp): Wraps bodies in `progn' as they are passed
16634         to swank.
16636 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16638         * org-clock.el (org-clocktable-write-default): Implement adding
16639         property columns to the clock table.
16641 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16643         * org.el (org-toggle-item): Move parenthesis to correct location.
16645 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16647         * org.el (org-default-priority):
16648         (org-priority-start-cycle-with-default): Improve docstring.
16649         (org-priority): Throw error when priority is out of range.
16651 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16653         * org.el (org-self-insert-command): Catch the case of
16654         `buffer-undo-list' eq t.
16656 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16658         * org.el (org-toggle-heading): Region should be considered as made
16659         of full lines, without the last one if region-end is at bol.
16660         Removed unused variables.  Refactored and commented code.
16662 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16664         * org.el (org-toggle-item): When region includes an headline less
16665         indented than first one, set it as the new reference.
16667 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16669         * org-list.el (org-list-to-subtree): If the list is before first
16670         heading and `org-odd-levels-only' is non-nil, the first item gets
16671         two stars instead of one.
16673         * org.el (org-reduced-level): A level of 0 was reduced to 1 with
16674         `org-odd-levels-only' non-nil.
16676 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16678         * org.el (org-toggle-item): Converting an heading to an item would
16679         sometimes insert unnecessary spaces before it, and unwanted space
16680         with `org-indent-mode' on.  Changing some text into an item
16681         wouldn't always preserve indentation.
16683 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16685         * org-capture.el (org-capture-current-plist): Improve docstring.
16686         (org-capture-put): Add docstring.
16687         (org-capture-get): Add docstring.
16688         (org-capture-member): Add LOCAL argument.  Add docstring.
16689         (org-capture-set-target-location): Store the time received from a
16690         date prompt into the :prompt-time property.
16692 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16694         * org-exp.el (org-export-mark-list-properties): Even if context is
16695         invalid, mark list item with `list-context' property.
16697         * org-list.el (org-list-forbidden-blocks): Add exporters specific
16698         blocks to the list of forbidden blocks.
16700 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16702         * org-list.el (org-sort-list): Function tries to intern
16703         getkey-func before it is defined, so it's always nil.
16705 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16707         * org.el (org-babel-load-languages): Adding ob-awk to the list of
16708         executable languages.
16710 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16712         * org-table.el (org-table-get-field): Make sure the new field
16713         content is at least one space character.
16715 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16717         * org-crypt.el: Check for `daemonp' before using it.
16719 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16721         * ob-sh.el (ob-ref): Uses `ob-ref' to resolve the value of the
16722         :stdin header argument.
16723         (org-babel-execute:sh): Use the :stdin header argument.
16724         (org-babel-sh-var-to-sh): Split the bulk of this function off into a
16725         new sub-function.
16726         (org-babel-sh-var-to-string): New function for converting elisp
16727         values to strings that make sense for parsing with sh.
16728         (org-babel-sh-evaluate): Adding "stdin" option to session and
16729         external evaluation options.
16731 2011-07-28  Roland Kaufmann  <rlndkfmn+orgmode@gmail.com>  (tiny change)
16733         * org-exp.el (org-remove-formatting-on-newlines-in-region):
16734         New function.
16735         (org-export-format-source-code-or-example):
16736         Call `org-remove-formatting-on-newlines-in-region'.
16738 2011-07-28  David Maus  <dmaus@ictsoc.de>
16740         * org.el (org-entry-put): Prevent adding of extra space to value
16741         if property already exists.
16743 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
16745         * org-html.el (org-export-as-html): Don't expand non-data lines of
16746         table.el tables.
16747         (org-html-expand): Remove the (buggy) test for non-data lines
16748         in table.el tables.  The test is now done as part of
16749         org-export-as-html.
16750         (org-format-table-table-html-using-table-generate-source):
16751         Add test for spanning of cells in table.el tables using
16752         table.el's own library routine.  Optionally suppress export of
16753         simple table.el tables.
16754         (org-format-table-html): Remove the (buggy) test for spanned
16755         table.el tables.  The test is now done as part of
16756         org-format-table-table-html-using-table-generate-source.
16758 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16760         * org-latex.el (org-export-latex-special-chars): Do nothing in
16761         table.el tables.
16763 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16765         * org-capture.el (org-capture): Ignore errors when creating a
16766         link.
16768 2011-07-28  Nick Dokos  <nick@dokosmarshall.org>  (tiny change)
16770         * org-exp.el (org-export-define-heading-targets): Use dash instead
16771         of underscore to make labels valid.
16773 2011-07-28  Dan Davison  <dandavison7@gmail.com>
16775         * ob-R.el (org-babel-R-write-object-command): Ensure that all data
16776         is written to the results file before Emacs notices that the file
16777         exists.
16779 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16781         * ob-exp.el (org-babel-exp-code): Remove usage of a macro which is
16782         defined locally on my system, but not globally in Emacs.
16784 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16786         * ob-exp.el (org-babel-exp-do-export): Use `org-babel-exp-code' to
16787         generate code block output.
16788         (org-babel-exp-code): Re-create the code block body for exporting
16789         source code.
16791 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
16793         * org.el (org-read-date): Bury Calendar buffer after using it for
16794         selecting a date.
16796 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16798         * org-list.el (org-list-separating-blank-lines-number):
16799         Fix confusion between point and item beginning.  Now, if no
16800         information is available, truly follow user preference when it
16801         inserts blank lines manually.
16802         (org-list-insert-item): Send correct argument to the preceding
16803         function.
16805 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16807         * ob.el (org-babel-src-block-regexp): Keep the now-mandatory
16808         newline inside of the code block body.
16810 2011-07-28  Sean O'Halpin  <sean.ohalpin@gmail.com>  (tiny change)
16812         * ob.el: Avoid spurious matches to literal.
16814 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16816         * org.el (org-indent-line-function): Don't include #+include
16817         lines.
16819 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16821         * ob-keys.el (org-babel-key-bindings): Adding key sequence for
16822         org-babel-check-src-block.
16824         * ob.el (org-babel-expand-src-block): Fit within 80 cols.
16825         (org-babel-edit-distance): Returns the edit distance of two
16826         strings.
16827         (org-babel-check-src-block): Check a code block for errors.
16829 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
16831         * org-capture.el (org-capture-templates): Fix bug in customization
16832         setup.
16834 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16836         * org-table.el
16837         (org-table-exit-follow-field-mode-when-leaving-table): New option.
16838         (org-table-check-inside-data-field): New optional argument
16839         `noerror'.  When set, the function will only return nil instead of
16840         throwing an error.
16841         (org-table-edit-field): Interpret double prefix argument, and improve
16842         the properties of the editing window.
16843         (org-table-follow-field-mode): New minor mode.
16844         (org-table-follow-fields-with-editor): New function.
16846 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16848         * org-agenda.el (org-agenda-get-todos): Call `org-agenda-skip'
16849         first, then check if timestamps cause exclusion.
16851         * org.el (org-scan-tags): Call `org-agenda-skip' first, then check
16852         if timestamps cause exclusion.
16854 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16856         * org-list.el (org-list-full-item-re): Allow description term to
16857         have a newline character after the colons.
16859 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16861         * org-list.el (org-sort-list): No longer ignore with-case
16862         argument: the function sorted case-sensitively, regardless of
16863         argument.
16865 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16867         * ob-ref.el (org-babel-ref-resolve): Using the new result regexp.
16869         * ob.el (org-babel-data-names): Configurable list of names of
16870         data.
16871         (org-babel-result-regexp): Using new results regexp.
16873 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16875         * org.el (org-special-properties): Add CLOCKSUM to the special
16876         properties.
16878 2011-07-28  Robert P. Goldman  <rpgoldman@real-time.com>  (tiny change)
16880         * ob-exp.el (org-babel-exp-in-export-file):
16881         Bind `org-link-search-inhibit-query' to t to inhibit prompts.
16883 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16885         * org-exp.el (org-export-add-options-to-plist): Use the right
16886         match group.
16888 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16890         * org-latex.el (org-export-latex-preprocess): Protect index string.
16892 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16894         * org-latex.el (org-export-latex-preprocess): Pipe index entries
16895         through `org-export-latex-fontify-headline'.
16897 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16899         * org-exp.el (org-export-add-options-to-plist): Fix the option
16900         parser.
16902 2011-07-28  Robert P. Goldman  <rpgoldman@real-time.com>  (tiny change)
16904         * org-latex.el (org-export-latex-preprocess): Replace index
16905         entries.
16907 2011-07-28  Robert P. Goldman  <rpgoldman@real-time.com>  (tiny change)
16909         * org.el (org-structure-template-alist): Add an easy template for
16910         index (i), and move include file to I from i.
16912 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16914         * org-agenda.el (org-agenda-open-link): Pass entire text of agenda
16915         line to `org-offer-links-in-entry'.
16917 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16919         * org-bibtex.el (org-bibtex-search): New function.
16920         (org-bibtex-export-to-kill-ring): New function.  Export to kill
16921         ring.
16922         (org-bibtex-create-in-current-entry): New function
16923         (org-bibtex-create): Make it easier to add bib fields to an
16924         existing headline.
16925         (org-bibtex-export-arbitrary-fields)
16926         (org-bibtex-treat-headline-as-title): Fix typos
16927         (org-bibtex-fleshout): Don't upcase optional field; remove ":"
16928         from type completion.
16930 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16932         * org-bibtex.el (org-bibtex-treat-headline-as-title):
16933         New defcustom.
16934         (org-bibtex-headline): Only use headline text (not TODO or other
16935         metadata) to generate title field and auto key.
16936         (org-bibtex-fleshout): Allow user to choose whether to treat
16937         headline as title.
16939 2011-07-28  Tom Dye  <tsd@tsdye.com>
16941         * org-bibtex.el: Added crossref field to other fields.
16943 2011-07-28  Tom Dye  <tsd@tsdye.com>
16945         * org-bibtex.el: Add crossref option to incollection.
16947 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16949         * org-bibtex.el (org-bibtex-headline): Don't export TYPE property
16950         as field.
16952 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16954         * org-bibtex.el (org-bibtex-key-property): When storing key in ID,
16955         warn if a duplicate ID is generated.
16957 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16959         * org-bibtex.el (org-bibtex-tags): New variable.
16960         (org-bibtex-tags-are-keywords): New variable.
16961         (org-bibtex-no-export-tags): New variable.
16962         (org-bibtex-headline): Export tags as comma-separated bibtex
16963         keywords.
16964         (org-bibtex-read): Import bibtex keywords field as tags.
16966 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
16968         * org-publish.el (org-publish-find-date): Optimization.
16970 2011-07-28  Tassilo Horn  <tassilo@member.fsf.org>
16972         * org-gnus.el (org-gnus-follow-link): Don't request scan of group
16973         when following link.
16975 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
16977         * org-publish.el (org-publish-project-alist): Document new
16978         :sitemap-sans-extension property.
16979         (org-publish-org-sitemap): Use new `sitemap-sans-extension'
16980         setting.
16982 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16984         * org.el (org-remove-uninherited-tags): Rename from
16985         `org-remove-iniherited-tags'.
16986         (org-scan-tags): Fix typo in function call.
16987         (org-get-tags-at): Fix typo in function call.
16989 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16991         * org.el (org-get-tags-at): Don't include filetags if local is t.
16993 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16995         * ob-clojure.el (org-babel-expand-body:clojure): Qualify pp
16996         dispatch functions, wrap body in `(do )'.
16998 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17000         * org.el (org-fontify-meta-lines-and-blocks): Fix bug which
17001         resulted in the creation of multiple overlays in src blocks.
17003 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17005         * ob-clojure.el (org-babel-execute:clojure): If results are not
17006         readable by lisp, then return them as a string.
17008 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17010         * org-bibtex.el (org-bibtex): Now prompts for a file name.
17012 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17014         * org-bibtex.el (org-bibtex-create): Adding prefix argument which
17015         will result in prompting for optional fields.
17017 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17019         * org-bibtex.el (org-bibtex-headline): Rename flet function `get'
17020         which was causing compile problems.
17021         (org-bibtex-fleshout): Rename flet function `get' which was causing
17022         compile problems.
17023         (org-bibtex-write): Rename flet function `get' which was causing
17024         compile problems.
17026 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
17028         * org-taskjuggler.el (org-taskjuggler-clean-id): Make sure an id
17029         never starts with a number.
17031 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17033         * org-bibtex.el (org-bibtex-export-arbitrary-fields): New option.
17034         (org-bibtex-key-property): New option.
17035         (org-bibtex-put): Make use of new `org-bibtex-key-property'
17036         variable.
17037         (org-bibtex-headline): Make use of new
17038         `org-bibtex-export-arbitrary-fields' and `org-bibtex-key-property'
17039         variables.
17040         (org-bibtex-autokey): Make use of new `org-bibtex-key-property'
17041         variable.
17042         (org-bibtex-fleshout): Make use of new `org-bibtex-key-property'
17043         variable.
17044         (org-bibtex-write): Make use of new `org-bibtex-key-property'
17045         variable.
17047 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17049         * org-bibtex.el: Updating Copyright dates, author information,
17050         commentary and history notes.
17051         (org-bibtex-types): List of bibtex types with descriptions and
17052         required and optional fields.
17053         (org-bibtex-fields): List of bibtex fields with descriptions.
17054         (*org-bibtex-entries*): Special variable to hold parsed bibtex
17055         entries.
17056         (org-bibtex-autogen-keys): Custom variable controlling whether
17057         bibtex keys are automatically generated
17058         (org-bibtex-prefix): Custom variable allowing use of optional prefix
17059         for bibtex properties in Org-mode headlines.
17060         (org-bibtex-get): Helper function for accessing bibtex elements of a
17061         property list.
17062         (org-bibtex-put): Helper function for inserting bibtex element into
17063         a property list.
17064         (org-bibtex-headline): Return a bibtex entry of the given headline
17065         as a string.
17066         (org-bibtex-ask): Prompt the user to fill in the value of a bibtex
17067         field.
17068         (org-bibtex-autokey): Generate a bibtex key for the current
17069         headline.
17070         (org-bibtex-fleshout): Fill in missing bibtex properties of the
17071         current headline.
17072         (org-bibtex): Export the current Org-mode buffer to a bibtex buffer.
17073         (org-bibtex-check): Check that all bibtex properties are present in
17074         the current headline.
17075         (org-bibtex-check-all): Check all headlines in the current buffer.
17076         (org-bibtex-create): Create a new bibtex headline at the current
17077         level.
17078         (org-bibtex-read): Read the current bibtex entry from a bibtex file.
17079         (org-bibtex-write): Write the most recently read bibtex entry into
17080         an Org-mode file.
17082 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17084         * org-agenda.el (org-agenda-clock-consistency-checks): Allow to
17085         set properties.
17086         (org-agenda-show-clocking-issues): Handle faces.
17088 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17090         * ob-ditaa.el (org-babel-default-header-args:ditaa): Specify utf8
17091         content by default with "-Dfile.encoding=UTF-8".
17093 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17095         * ob-ditaa.el (org-babel-execute:ditaa): New ":java" header
17096         argument.
17098 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17100         * org-exp.el (org-export-preprocess-string): Mark list end before
17101         expanding macros.  Thus, a macro inside a list and containing
17102         blank lines cannot break the list structure.
17103         (org-export-preprocess-apply-macros): Multi-lines macros get
17104         indented with the same indentation as the first line.  Thus, we
17105         are sure that every line belongs to the same list as the first
17106         line, if such list exists.  Also add comments in code.
17108 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17110         * org-agenda.el (org-agenda-clock-consistency-checks): New option.
17111         (org-agenda-list): Handle display change to clock check.
17112         (org-agenda-get-progress): Show only clock entries if we are doing
17113         the consistency check.
17114         (org-agenda-show-clocking-issues): New function.
17115         (org-agenda-check-clock-gap): New function.
17116         (org-agenda-view-mode-dispatch): Offer consistency check.
17117         (org-agenda-log-mode): Handle switch to clock only display.
17118         (org-agenda-set-mode-name): Show lighter for Clockcheck.
17120         * org.el (org-hh:mm-string-to-minutes): Accept an integer argument
17121         and return it unchanged.
17123 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17125         * org-list.el (org-list-struct): When walking down the list, the
17126         function would not pay attention to drawers or blocks indentation.
17127         Thus, such constructs couldn't consistently end an item or a list.
17128         This patch ensures line indentation is stored (if applicable)
17129         before skipping them.  Also fixed doc-string and comments.
17131 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17133         * org-exp.el (org-export): Add EXPORT_FILE_NAME to the enclosing
17134         tree properties.
17136 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17138         * org-exp.el (org-export): Define a bound for finding enclosing
17139         tree with class/title definition.
17141 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17143         * org-exp.el (org-export): Go to next heading before searching
17144         backward, so make this also work if we are on the headline of the
17145         entry with the property.
17147 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17149         * org.el (org-promote):
17150         (org-demote): Soften the previous change, by only removing the
17151         flyspell function from after-change functions, because that was
17152         the one causing the slowdown - at least much of it.
17154 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17156         * org.el (org-promote, org-demote): Turn off
17157         after-change-functions to speed up the reindentation of text.
17159 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17161         * ob-ocaml.el (org-babel-ocaml-read-list):
17162         Use `org-babel-script-escape'.
17163         (org-babel-ocaml-read-array): Use `org-babel-script-escape'.
17165 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17167         * org-html.el (org-html-handle-links): Add an alternate for inline
17168         images.
17170 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17172         * org-agenda.el (org-agenda-bulk-action): Do not use the entries
17173         variable before it is defined.
17175 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17177         * org-src.el (org-src-lang-modes): Add a language alias of "C"
17178         to "c".
17180 2011-07-28  Shaun Johnson  <shaun@slugfest.demon.co.uk>  (tiny change)
17182         * ob-tangle.el (org-babel-tangle): Make it work in an indirect
17183         buffer.
17185 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17187         * org-html.el (org-html-make-link): Correct a bug in coderef link.
17189 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17191         * org-agenda.el (org-agenda-filter-by-tag): Fix variable name
17192         typo.
17194 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17196         * org-agenda.el (org-agenda-get-timestamps): Fix agenda display
17197         when headlines are missing.
17199 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17201         * org-mobile.el (org-mobile-push): Move call to hook, make it the
17202         first thing of the push operation.
17204 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17206         * ob.el (org-babel-params-from-buffer): Now looking for header
17207         arguments in #+Properties: as well as #+Babel:.  Also, we're no
17208         longer caching these results into a file local variable.
17210 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17212         * ob-python.el (org-babel-python-evaluate-external-process):
17213         Allow parsing as a table in the case of ":results output table".
17214         (org-babel-python-evaluate-session): Allow parsing as a table in
17215         the case of ":results output table".
17217 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17219         * org-agenda.el (org-agenda-bulk-action): Allow bulk scatter in
17220         all possible agenda views.  Use `org-agenda-schedule' instead of
17221         `org-agenda-date-later'.
17223 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17225         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Now supports
17226         ":results output".
17228 2011-07-28  Julien Danjou  <julien@danjou.info>
17230         * org.el (org-entry-get, org-entry-delete, org-entry-put)
17231         (org-property-values, org-delete-property-globally):
17232         Use `org-re-property'.
17233         (org-re-property): New function allowing to build a regexp to
17234         match a property.
17236 2011-07-28  Julien Danjou  <julien@danjou.info>
17238         * org.el (org-property-values): Enhance docstring.
17240 2011-07-28  Ethan Ligon  <ligon@are.berkeley.edu>  (tiny change)
17242         * org-html.el (org-html-export-list-line): Fix regexp for
17243         detecting description lists to allow "::" marker to be last
17244         visible element at end of line.
17245         * org-docbook.el (org-docbook-export-list-line): Fix regexp for
17246         detecting description lists to allow "::" marker to be last
17247         visible element at end of line.
17249 2011-07-28  Julien Danjou  <julien@danjou.info>
17251         * org-table.el (org-table-cleanup-narrow-column-properties):
17252         Use point-min rather than 1 when moving in the buffer.
17254 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17256         * org-list.el (org-list-in-valid-context-p): Rename from
17257         `org-list-in-valid-block-p'.
17258         (org-at-item-p, org-list-search-generic): Use renamed function.
17260 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17262         * org.el (org-set-font-lock-defaults): Be more strict when
17263         recognizing description items, and do not fontify wrong cases
17264         like: "- term ::description" or "1. term :: description".
17266 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17268         * org-latex.el: Pay attention to end of footnote.  Before closing
17269         the command, ensure that list is properly closed or that last link
17270         is separated from the curly brace.
17272 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17274         * org.el (org-indent-line-function): Footnote definition must stay
17275         at column 0 to be recognized as such.  Body below can have normal
17276         indentation, so it should ignore its definition when computing
17277         indentation.
17279 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17281         * org-protocol.el (org-protocol-remember, org-protocol-capture):
17282         More appropriate message.
17284 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17286         * org-capture.el (org-capture-clock-keep): New local variable.
17287         (org-capture, org-capture-finalize): Use it and fix a bug when
17288         :clock-keep is set to `t'.
17290 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
17292         * org-exp.el (org-export-preprocess-string): Handle include files
17293         before processing macros.
17295 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17297         * org-agenda.el: Remove obsolete code for adding todo list in
17298         front of the agenda.
17300 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17302         * org-latex.el (org-export-latex-convert-table.el-table):
17303         Fix format-string for insertion of captions.
17305 2011-07-28  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
17307         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
17308         Fix regexp.
17310 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
17312         * org.el (org-read-date-analyze): Help matching dotted European
17313         dates, like 31. 12. 2007
17315 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17317         * ob-lisp.el (org-babel-execute:lisp): Fix typo.
17319 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17321         * ob-lisp.el (org-babel-execute:lisp): Turn vectors into lists
17322         before reading by elisp.
17323         (org-bable-lisp-vector-to-list): Stub of a vector->list function,
17324         should be replaced with a cl-vector->el-vector function.
17326 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17328         * ob-lisp.el (org-babel-execute:lisp): Now using
17329         `org-babel-reassemble-table' to apply the appropriate header
17330         arguments to results.
17332 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17334         * org.el (org-end-of-meta-data-and-drawers): New function.
17336         * org-capture.el (org-capture-place-plain-text): Implement adding
17337         plain text templates to Org nodes.
17339 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17341         * org-beamer.el (org-beamer-environments-extra): Fix docstring.
17343 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17345         * org-exp.el (org-export-handle-comments): Add the org-protected
17346         property to the replacement string.
17348 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17350         * org-html.el (org-export-as-html, org-html-level-start):
17351         Fix logic for section number printing when NUM is an integer.
17353 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17355         * org-latex.el (org-export-latex-special-chars): Fix regexp for
17356         `single' special characters and ellipsis.
17358 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17360         * org.el (org-point-at-end-of-empty-headline):
17361         Bind `case-fold-search' to nil.
17363 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17365         * org-capture.el (org-capture-fill-template): Resolve new %<...>
17366         template escape.
17367         (org-capture-templates): Document new %<...> template escape.
17369 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17371         * ob.el (org-babel-process-params): Make this function idempotent,
17372         as it will sometimes be called multiple times.
17374 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17376         * org.el (org-ts-regexp-both): Add "]" to class of characters that
17377         should not be matched.
17378         (org-ts-regexp0, org-ts-regexp1): Do not start a class with
17379         "^]-+", because that tries to (not) match characters between "]"
17380         and "+".  Instead, move the "-" to the end of the class where it
17381         causes no harm.
17383 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17385         * ob-R.el (org-babel-edit-prep:R): Associate the appropriate R
17386         process with the edit buffer when :session is specified.
17388 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17390         * ob-tangle.el (org-babel-tangle-collect-blocks): Brought the link
17391         extraction code into line with a newer version of the
17392         `org-store-link' function.
17394 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17396         * ob-lisp.el (org-babel-expand-body:lisp): New body expansion
17397         wrapping the expression in either a let or progn, and possibly a
17398         pretty-print function invocation.
17399         (org-babel-execute:lisp): Greatly simplified method of executing
17400         lisp code blocks.
17402 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17404         * org-list.el: Move `org-update-checkbox-count-maybe' call outside
17405         of ̀save-excursion' to get back to original position.
17407 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17409         * org.el (org-numbered-action-format): New option.
17410         (org-new-numbered-action): New command.
17411         (org-collect-todos-in-subtree): New command.
17413 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17415         * org-exp.el (org-export-with-tasks): New option.
17416         (org-export-plist-vars): Add :tasks property.
17418 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17420         * org-ascii.el (org-export-as-ascii): Pass the :done-tasks
17421         property to the export preprocessor.
17423         * org-docbook.el (org-export-as-docbook): Pass the :done-tasks
17424         property to the export preprocessor.
17426         * org-html.el (org-export-as-html): Pass the :done-tasks property
17427         to the export preprocessor.
17429         * org-latex.el (org-export-as-latex): Pass the :done-tasks
17430         property to the export preprocessor.
17432         * org-exp.el (org-export-with-done-tasks): New option.
17433         (org-export-plist-vars): Add entry for :done-tasks.
17434         (org-export-preprocess-string): Call `org-export-remove-done-tasks'.
17435         (org-export-remove-done-tasks): New function.
17437 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17439         * org-latex.el (org-export-latex-keywords-maybe): Protect # in
17440         tags.
17442 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17444         * org.el (org-find-olp): Use the level of the correct match to
17445         continue search.
17447 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17449         * org-list.el (org-toggle-checkbox): Build value of
17450         org-keyword-time-regexp instead of using it directly, as it's
17451         buffer-local, and function might be called outside Org.
17453 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17455         * org-list.el (org-list-struct, org-in-item-p): Don't assume end of
17456         blocks or drawers necessarily start somewhere.  It it isn't the
17457         case, treat them as normal text.
17459 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17461         * ob-exp.el (org-babel-exp-results): Use code block name when
17462         finding cached results.
17464 2011-07-28  Julien Danjou  <julien@danjou.info>
17466         * org-latex.el (org-export-latex-date-format): Change default date
17467         format to \today.  This has the same result but respects the
17468         language set in the document by default.
17470 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17472         * org-list.el (org-list-checkbox): When called from an headline,
17473         function would normally skip drawers, but not if a SCHEDULED or
17474         DEADLINE keyword is standing before the drawer.  Also avoid
17475         problems if function is called in buffers not is Org mode.
17477 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17479         * org-clock.el (org-clock-report): Change the scope of the
17480         inserted clock report depending on whether the point is within a
17481         subtree (:scope subtree) or not (:scope file).
17483 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
17485         * org-html.el (org-export-as-html): Fix export of footnotes
17486         containing lists, tables, quotes, etc.
17488 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17490         * org-latex.el (org-export-latex-preprocess): Correctly match
17491         starred command names.
17493 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17495         * org-html.el (org-export-as-html): Get local value of
17496         org-export-with-section-numbers from the buffer's plist.
17497         Deal specially with the case the resulting value is an integer.
17498         (org-html-level-start): New optional argument of the option plist used
17499         instead of `org-export-with-section-numbers'.  Also deal specially
17500         with the case that the value is an integer.
17502 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17504         * org-latex.el (org-export-latex-subcontent): Deal specially with
17505         the case that NUM is an integer.
17507 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17509         * org-protocol.el (org-protocol-do-capture): Allow template keys
17510         of two characters.
17511         (org-protocol-default-template-key): Update the docstring to
17512         reflect the change in `org-protocol-do-capture'.
17514 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
17516         * org-taskjuggler.el: Fix a typo in the commentary.
17518 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
17520         * org-taskjuggler.el (org-taskjuggler-open-task): Only emit a
17521         "purge allocations" statement if we are not targeting tj3.
17523 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
17525         * org-taskjuggler.el (org-taskjuggler-assign-resource-ids):
17526         Replace recursive implementation with an iterative one.
17528 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17530         * ob-sh.el (org-babel-sh-var-to-sh): Fix insertion of tabular
17531         data into shell variables.
17533 2011-07-28  David Maus  <dmaus@ictsoc.de>
17535         * org-html.el (org-html-handle-time-stamps): Protected linebreak
17536         element after timestamp markup.
17538 2011-07-28  David Maus  <dmaus@ictsoc.de>
17540         * org-html.el (org-html-handle-links): Don't protect img tag in
17541         link description.
17543 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17545         * org-table.el (org-table-formula-handle-first/last-rc):
17546         Bind `char'.
17548 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17550         * org-list.el (org-in-item-p): Re-build `org-drawer-regexp',
17551         whatever the major mode is.
17553 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17555         * org-inlinetask.el (org-inlinetask-export-templates): Fix default
17556         templates.
17557         (org-inlinetask-export-handler): Ensure contents of inline task,
17558         if any, starts and ends with a newline character.  Refactor and
17559         comment code.
17561 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17563         * org-capture.el (org-datetree-find-date-create): Lower-case for
17564         variable names in `define-function' form.
17566 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17568         * org-table.el (org-table-convert-region): Throw error when
17569         SEPARATOR is smaller than 1.
17571 2011-07-28  Julien Danjou  <julien@danjou.info>
17573         * org-colview.el (org-columns-display-here): Fix heading retrieval
17574         in Org buffers.
17576 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17578         * org-latex.el (org-export-latex-preprocess): Last brace shouldn't
17579         be on the same line as a list end marker.
17581 2011-07-28  Julien Danjou  <julien@danjou.info>
17583         * org.el (org-icompleting-read): Do not use useless lambda.
17585 2011-07-28  Julien Danjou  <julien@danjou.info>
17587         * org-agenda.el (org-format-agenda-item): Fix length computing.
17589 2011-07-28  Julien Danjou  <julien@danjou.info>
17591         * org-agenda.el (org-format-agenda-item): Fix comment and use
17592         `add-text-properties'.
17594 2011-07-28  Julien Danjou  <julien@danjou.info>
17596         * org-agenda.el (org-agenda-highlight-todo): Remove useless
17597         `concat'.
17599 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17601         * org-list.el (org-list-to-generic): Set a default term for
17602         ill-formed description lists.  Do not insert newline characters
17603         unless told to.
17604         (org-list-to-texinfo, org-list-to-html): Apply changes to
17605         `org-list-parse-liste'.
17607 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17609         * org-clock.el (org-clock-clocktable-language-setup): Add a
17610         string.
17611         (org-clocktable-write-default): Use the new localized string
17612         in `org-clock-clocktable-language-setup'.
17614 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17616         * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness):
17617         (org-taskjuggler-assign-resource-ids): Replace recursive
17618         implementation with an iterative one.
17620 2011-07-28  Christian Egli  <christian.egli@alumni.ethz.ch>
17622         * org-taskjuggler.el (org-taskjuggler-components): Escape quotes
17623         in headlines.
17625 2011-07-28  Christian Egli  <christian.egli@alumni.ethz.ch>
17627         * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness):
17628         Compute the leafiness of a node.
17629         (org-taskjuggler-open-task, org-export-as-taskjuggler): Mark a
17630         node as a milestone if it is a leaf and has no effort.
17632 2011-07-28  Christian Egli  <christian.egli@alumni.ethz.ch>
17634         * org-taskjuggler.el (org-export-taskjuggler-target-version):
17635         (org-taskjuggler-targeting-tj3-p): Add some minimal infrastructure
17636         to handle export to both tj2 and tj3.
17637         (org-taskjuggler-open-task): Use a different way to purge
17638         allocations for tj2 and tj3.
17640 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17642         * org-footnote.el (org-footnote-auto-label): New random option.
17644         * org-footnote.el (org-footnote-new): Create random footnote
17645         labels with unique ids.
17647 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17649         * org-footnote.el (org-footnote-create-definition): Allow for
17650         footnote sections above the current footnote insertion point.
17652 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17654         * org-footnote.el (org-footnote-create-definition): Don't search
17655         for last footnote when in org-mode file.
17657 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17659         * org-html.el (org-export-as-html): Handle links with
17660         `org-html-handle-links' after we handle special characters
17661         conversions.
17662         (org-html-make-link, org-export-html-format-image):
17663         Don't protect html with @ anymore, as links are now handled after
17664         special characters conversions.
17666 2011-07-28  Julien Danjou  <julien@danjou.info>
17668         * org-agenda.el (org-agenda-get-timestamps):
17669         (org-agenda-get-scheduled): Fix call to `org-format-agenda-item'.
17670         (org-format-agenda-item): Remove no-prefix argument.
17671         (org-agenda-change-all-lines): Call org-format-agenda-item without the
17672         no-prefix argument.
17674 2011-07-28  Julien Danjou  <julien@danjou.info>
17676         * org-agenda.el (org-agenda-highlight-todo): Stop using
17677         prefix-length.
17678         (org-cmp-alpha): Stop using prefix-length.
17679         (org-agenda-open-link): Stop using prefix-length.
17680         (org-agenda-change-all-lines): Stop using prefix-length.
17682         * org-colview.el (org-columns-display-here): Stop using
17683         prefix-length.  Always return claned items.
17685         * org-mobile.el (org-mobile-write-agenda-for-mobile): Stop using
17686         prefix-length.
17688 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17690         * ob-tangle.el (org-babel-tangle-collect-blocks): Don't call
17691         `org-store-link' interactively as it can confuse the setting of
17692         `org-link-to-org-use-id' and cause undue edits to the org-mode
17693         buffer during tangling.
17695 2011-07-28  David Maus  <dmaus@ictsoc.de>
17697         * org-html.el (org-export-html-format-image): Protect <p> element
17698         of image caption.
17700 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17702         * org.el (org-read-date-force-compatible-dates): New option.
17703         (org-read-date, org-read-date-analyze): Check representable date range.
17705 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17707         * org-html.el (org-export-as-html): Fix export of email.
17709 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17711         * ob-tangle.el (org-babel-spec-to-string): Check value of padline
17712         on tangling, no longer use the now-removed variable
17713         `org-babel-tangle-pad-newline'.
17715         * ob.el (org-babel-header-arg-names): Add padline to the list of
17716         header argument names.
17717         (org-babel-default-header-args): Set the default value of padline to
17718         "yes".
17719         (org-babel-merge-params): Cleaned up the merge logic, added padline.
17721 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17723         * ob.el (org-babel-header-arg-names): Adding "shebang" to known
17724         code block header argument names.
17726 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17728         * org-crypt.el: Remove useless TODO in comments.
17730 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17732         * org-html.el (org-export-as-html): The default postamble now only
17733         export a date paragraph if `org-export-time-stamp-file' is
17734         non-nil.
17736 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17738         * org-exp.el (org-export-xml): Remove the defgroup of
17739         org-export-xml.
17741 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17743         * org-html.el (org-export-html-insert-plist-item): Remove.
17744         (org-export-html-preamble): Default to `t'.  Accept functions.
17745         (org-export-html-postamble): Default to `auto'.
17746         Accept functions and distinguish between 'auto (no formatting string)
17747         and `t' (default formatting string).
17748         (org-export-as-html): Handle org-export-html-preamble and
17749         org-export-html-postamble new defaults/allowed values.
17750         Define email and creator-info before using them.
17752 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17754         * org-html.el (org-export-html-protect-char-alist): Fix typo in
17755         custom type definition.
17757 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17759         * ob-exp.el (org-babel-exp-do-export): Now runs for empty :session
17760         arguments.
17762 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17764         * org-list.el (org-list-parse-list): Fix regexp.
17766 2011-07-28  David Maus  <dmaus@ictsoc.de>
17768         * org-html.el (org-export-html-format-image): Protect image
17769         elements.
17771 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17773         * ob-tangle.el (org-babel-tangle-body-hook): Hook for changing the
17774         contents of a code block body on export.
17775         (org-babel-tangle-collect-blocks): Apply
17776         `org-babel-tangle-body-hook' to the collected bodies of code blocks.
17778 2011-07-28  David Maus  <dmaus@ictsoc.de>
17780         * org-html.el (org-html-make-link, org-html-handle-links):
17781         Protect generated XHTML elements.
17782         (org-export-as-html): Expand character entities after creating markup
17783         for links and timestamps.
17785 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17787         * org-html.el (org-export-as-html): Bugfix: insert email
17788         correctly.
17790 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17792         * org-html.el: Bugfix: prevent infinite matching of the `&'
17793         character.
17795 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17797         * org.el (org-fill-paragraph): `fill-forward-paragraph' function
17798         has been introduced with emacs 23.1.
17800 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17802         * org-attach.el: Allow to store a link to the attach-dir location.
17804 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
17806         * org-agenda.el (org-agenda-bulk-action): Allow the user to run a
17807         function.
17809 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17811         * org-clock.el (org-clock-in): Allow clocking in new tasks
17812         inserted before the current clocking task.
17814 2011-07-28  Bernt Hansen  <bernt@norang.ca>
17816         * org-clock.el (org-clock-in): Set default clocking task when
17817         already clocking the task.
17819 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17821         * org.el (org-adaptive-fill-function): When a region is specified
17822         first line of paragraph isn't skipped, so fill-paragraph have to
17823         be computed even if point is at an item.
17825 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17827         * org-list.el (org-list-in-valid-block-p): New function.
17828         (org-at-item-p, org-list-search-generic): Use new function.
17830 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17832         * org.el (org-indent-line-function): Text in both a list and a
17833         valid block is indented with regards to current item, not to block
17834         boundaries.
17836 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17838         * org-html.el (org-format-org-table-html): Fix anchors in HTML
17839         export (thanks to <aankhen@gmail.com>)
17840         (org-html-protect): Fix a  bug that prevents some target to be
17841         rendered correctly.
17843 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17845         * org.el (org-default-properties): Add EXPORT_TEXT.
17847 2011-07-28  Matt Lundin  <mdl@imapmail.org>
17849         * org-footnote.el (org-footnote-create-definition)
17850         (org-insert-footnote-reference-near-definition): Fix sorting
17851         of footnotes.
17853 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
17855         * org-html.el (org-export-as-html): Bugfix: don't insert closing
17856         HTML tags when exporting body only.
17858 2011-07-28  Jason Dunsmore  <emacs-orgmode@deathroller.dunsmor.com>  (tiny change)
17860         * org.el (org-back-over-empty-lines): Bugfix.
17861         Honor `org-blank-before-new-entry' correctly in various contexts.
17863 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17865         * org-macs.el (org-with-wide-buffer): Bugfix: use `save-excursion'
17866         and `save-restriction'.
17868 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17870         * org-timer.el (org-timer-item): `save-excursion' prevents
17871         `org-list-struct' to get the list structure when point isn't on
17872         the first line of the item.
17874 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17876         * org-capture.el (org-capture-templates): New option
17877         :no-clock-out.
17878         (org-capture): Use the new option.
17880 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17882         * org-list.el (org-update-checkbox-count): Ensure cookies on an
17883         heading are correctly updated when checkboxes are hidden.
17884         It allows, for example, to use C-c C-x C-b on a collapsed tree and
17885         still get the update.
17887 2011-07-28  David Maus  <dmaus@ictsoc.de>
17889         * org-exp.el (org-export-visible): Accept keys for
17890         `org-export-as-html-to-buffer' and `org-export-region-as-html'.
17892 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17894         * org.el (org-duration-string-to-minutes): Don't use
17895         `rx-to-string'.
17897 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
17899         * org.el (org-effort-durations): New variable.
17901         * org.el (org-duration-string-to-minutes): New function.
17903         * org-agenda.el (org-agenda-filter-effort-form)
17904         (org-format-agenda-item): Use it.
17906         * org-clock.el (org-clock-notify-once-if-expired)
17907         (org-clock-modify-effort-estimate, org-clock-get-clock-string): Use it.
17909 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17911         * org-agenda.el (org-agenda-run-series): Rename from
17912         `org-run-agenda-series'.
17914 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17916         * org-capture.el: Don't allow currentfile anymore.
17918 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17920         * org-agenda.el (org-agenda-list): Fix bug: don't rely on
17921         `org-agenda-current-span' when calling `org-agenda-list'.
17923 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17925         * org-capture.el (org-capture-put-target-region-and-position):
17926         New function to store information about the target buffer.
17927         (org-capture-set-target-location): Use it.
17928         (org-capture-finalize): Restore the target buffer in its
17929         possibly narrowed state.  Also restore the cursor position.
17931 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17933         * org-crypt.el (auto-save-default): Make sure entries are
17934         encrypted before auto-saving.
17936 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17938         * org-inlinetask.el (org-inlinetask-promote)
17939         (org-inlinetask-demote): New functions.
17941 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17943         * org.el (org-demote-subtree, org-promote-subtree):
17944         Wrap `org-map-tree' into `org-with-limited-levels' macro, so it avoids
17945         operating on inline tasks.
17947 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17949         * org.el (org-narrow-to-subtree): Ensure `org-back-to-heading'
17950         will move point to a real heading and not an inline task by
17951         wraping function into a `org-with-limited-levels' macro.
17953 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17955         * org-capture.el (org-capture-finalize): New argument clock-out,
17956         to tell whether finalizing the capture process should clock out
17957         the running clock.
17958         (org-capture): Use the new argument.
17960 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17962         * org.el (org-refile-get-targets): Rename from
17963         `org-get-refile-targets'.
17965 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17967         * org-exp.el (org-export-table-remove-empty-lines): New custom
17968         variable.
17969         (org-export-remove-special-table-lines): Use it.
17971 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17973         * org-table.el (org-table-fix-formulas-confirm): New custom
17974         variable.
17975         (org-table-insert-column, org-table-delete-column)
17976         (org-table-move-column, org-table-move-row)
17977         (org-table-insert-row, org-table-kill-row): Use it.
17979 2011-07-28  Tassilo Horn  <tassilo@member.fsf.org>
17981         * org.el (org-refile-get-location): Set and show default value.
17982         (org-goto, org-refile): Adapt calls.
17984 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17986         * org-mobile.el (org-mobile-files-exclude-regexp): New custom
17987         variable.
17988         (org-mobile-files-alist): Use it.
17990 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17992         * org.el (org-todo): Bugfix: use `org-with-wide-buffer' to check
17993         against headings outside of a narrowed buffer.
17995 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17997         * org.el (org-confirm-shell-link-not-regexp)
17998         (org-confirm-elisp-link-not-regexp): New custom variables.
17999         (org-open-at-point): Use the new custom variables.
18001 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
18003         * org-latex.el: Place \title \author \date before
18004         \begin{document}.
18006 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18008         * org-html.el (org-export-html-preamble)
18009         (org-export-html-postamble): Now default to `nil'.
18010         (org-export-as-html): When :html-pre/postamble is nil, fall
18011         back on the default pre/postamble, which depends on the
18012         :author-info, :email-info, :creator-info options.
18014 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18016         * ob-exp.el (org-babel-exp-results): Don't use cached results if
18017         there is no hash.
18019 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18021         * org-table.el (org-table-eval-formula): Treat relative column
18022         refs.
18024 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18026         * org-table.el (org-table-use-standard-references): Change default
18027         to `from'.
18029 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18031         * org.el (org-move-subtree-down): Leave the cursor at the same
18032         column we were at.
18034 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18036         * org-attach.el (org-attach-store-link-p): New variable.
18037         (org-attach-store-link): New function.
18038         (org-attach-attach): When `org-attach-store-link-p' is
18039         non-nil, store a link in `org-stored-links' to a newly
18040         attached file.
18042 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18044         * org-exp.el (org-export-remove-headline-metadata): Bugfix: don't
18045         case-fold-search to avoid mixing TODO keywords with real headline
18046         words.
18048 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18050         * org-table.el (org-table-fedit-finish): Read more general LHS of
18051         formulas.
18052         (org-table-formula-handle-@L): New function to hanle @L references.
18053         (org-table-current-ncol): New variable.
18054         (org-table-line-to-dline): New function.
18055         (org-table-get-stored-formulas): Accept range formulas as matches.
18056         (org-table-get-specials): Compute and store the number of columns.
18057         (org-table-get-range): New optional argument CORNERS-ONLY, to retrieve
18058         only the region marked by the range, not the content.
18059         (org-table-recalculate): Call `org-table-expand-lhs-ranges' to expand
18060         range targets.  Also check for duplicate access to fields.
18061         (org-table-expand-lhs-ranges): New funktion.
18062         (org-table-get-remote-range): Bind `org-table-current-ncol' to protect
18063         the caller's value.
18064         (org-table-edit-formulas): Support highlighting of range targets.
18065         (org-table-field-info): Handle renge formulas.
18067 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18069         * org-html.el (org-export-html-postamble-format)
18070         (org-export-html-preamble-format): Explain how to escape the
18071         `%' character.
18073 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18075         * ob.el (org-babel-read): Read string variable values wrapped in
18076         double quotes, removing the quotes.
18078 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18080         * ob-exp.el (org-babel-exp-results): Ensure that processed params
18081         are send to org-babel-execute-src-block.
18083 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18085         * org-special-blocks.el
18086         (org-special-blocks-make-special-cookies):
18087         Use `org-export-current-backend'.
18089 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18091         * ob-exp.el (org-babel-exp-in-export-file): Now takes the language
18092         as an argument.
18093         (org-babel-exp-src-block): Explicitly pass language to
18094         `org-babel-exp-in-export-file'.
18095         (org-babel-exp-inline-src-blocks): Remove unused code.
18096         (org-babel-exp-results): Explicitly pass language to
18097         `org-babel-exp-in-export-file'.
18099 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18101         * ob-calc.el (org-babel-execute:calc): Unquote quoted vectors
18102         returned from calc-eval.
18104 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18106         * ob.el (org-babel-read): Pass elisp vectors through to code
18107         blocks.
18109 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18111         * ob.el (org-src-lang-modes): Defvar.
18112         (org-at-item-p): Declare function.
18114         * ob-calc.el (calc-store): Require.
18115         (var-syms): Defvar.
18117         * ob-python.el (py-default-interpreter): Defvar.
18119 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18121         * org-exp-blocks.el (backend): defvar.
18123 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18125         * org-agenda.el (org-agenda-get-scheduled):
18126         (org-agenda-get-timestamps): Bind local variable `show-all'.
18128 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18130         * ob-ref.el (org-at-item-p): Declare function.
18132         * org-agenda.el (diary-time-regexp): defvar.
18134         * org-archive.el (org-archive-subtree): Bind local variable
18135         `infile-p'.
18137         * org-capture.el (org-capture-insert-template-here): Get template
18138         text from property list, to avoid byte compiler message.
18140         * org-latex.el (org-export-latex-tables): Bind local variable
18141         `width'.
18143         * org-special-blocks.el (org-compat): Add require statement.
18145         * org-table.el (orgtbl-ctrl-c-ctrl-c): Bind local variable
18146         `const-str'.
18148         * org.el (org-eval): Move function here from org-agenda.el.
18150 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18152         * ob.el (org-babel-read-table): Inhibit lisp evaluation of values
18153         when reading from tables.
18154         (org-babel-read-list): Inhibit lisp evaluation of values when
18155         reading from lists.
18156         (org-babel-read): Add optional argument which can be used to inhibit
18157         lisp evaluation of value.
18159 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18161         * ob-table.el (sbe): Ensure that ob-trim is only called on
18162         strings.
18164 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18166         * ob-exp.el (org-babel-exp-results): On export, ensure that the
18167         result hash is resolved in the original org-mode file.
18169 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18171         * org-exp.el (org-export-mark-list-end): Change end marker.
18173         * org-docbook.el (org-export-docbook-list-line): Use new marker.
18175         * org-html.el (org-html-export-list-line): Use new marker.
18177         * org-latex.el (org-export-latex-lists): Use new marker.
18179 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18181         * org-latex.el (org-export-latex-lists): Make sure markers used
18182         for export are taken into account by temporarily setting an
18183         appropriate value for `org-list-ending-method'.
18185 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18187         * org-exp-blocks.el (org-exp-blocks-block-regexp): Wrapping block
18188         regexp into its own variable, also allowing match of empty bodies.
18189         (org-export-blocks-preprocess): Using new regexp variable.
18191 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18193         * ob.el (org-babel-src-block-regexp): Code block regexp now
18194         matches blocks with empty bodies.
18196 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18198         * ob.el (org-babel-script-escape): If script escaped value doesn't
18199         parse cleanly, then return it literally.
18201 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18203         * ob-exp.el (org-babel-exp-src-block): When block will eventually
18204         be evaluated, pre-calculate the hash before noweb expansion, and
18205         expand the parameters before hash calculation.
18206         (org-babel-exp-do-export): Pass pre-calculated hash through to
18207         `org-babel-exp-results'.
18208         (org-babel-exp-results): Compare pre-calculated hash to results hash.
18210 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18212         * ob.el (org-babel-sha1-hash): Sort list values to header
18213         arguments, and sort the words in strings.
18215 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18217         * ob-ref.el (org-babel-ref-index-list): Special handling of hline
18218         rows.
18220 2011-07-28  Julien Danjou  <julien@danjou.info>
18222         * org-macs.el (org-with-point-at): Store evaluated version of
18223         pom.  This fixes a potential bug when using (org-with-point-at
18224         (func) …), where (func) would be evaluated multiple times,
18225         therefore might return different results if a marker was returned
18226         and different each time.
18228 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18230         * org.el (org-open-at-point): If a link to a radio target is the
18231         first, (resp. the last), element of a buffer, function cannot find
18232         the property change required to get its boundaries, and
18233         `buffer-substring' is called with an invalid nil argument.
18235 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18237         * org-table.el (org-table-copy-down): Fix docstring.
18239 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18241         * ob-latex.el (org-babel-execute:latex): Add imagemagick options,
18242         and for file types other than png and PDF it uses imagemagick to
18243         convert a compiled PDF file to the desired file type.
18244         (convert-pdf): Convert a PDF file to a new file type using
18245         imagemagick.
18247 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
18249         * org-capture.el (org-capture-fill-template): Fix bug with the
18250         display of interactive prompt in templates expansion.
18252 2011-07-28  Reiner Steib  <reiner.steib@gmx.de>
18254         * org-clock.el (org-clock-display): Document how to remove subtree
18255         times.
18257 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18259         * org-exp-blocks.el (org-export-blocks-format-comment):
18260         Explicitly append a newline to the body.
18262 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18264         * org-list.el (org-list-insert-item): When computing size of item
18265         being inserted, function has to take into account that indentation
18266         may not only be made of spaces.
18268 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18270         * org-clock.el (org-clock-find-position): If a list was adjacent
18271         to some clocks and a drawer was going to be created, only the
18272         first element of the list would make it into the drawer.
18274 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18276         * org-list.el (org-toggle-checkbox): Fix bug where top item in
18277         list was omitted when checking boxes.
18279 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18281         * ob-R.el: Don't print result to echo area after evaluation.
18283 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18285         * org-capture.el (org-capture-refile): Fix typo in docstring.
18287 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18289         * ob-calc.el (org-babel-execute:calc): Call out to new function
18290         for variables resolution.
18291         (ob-calc-maybe-resolve-var): Resolve (possibly recursively)
18292         variables in calc expressions.
18294 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18296         * ob-C.el (org-babel-tangle-lang-exts): Replace "c++" with "C++".
18297         (org-babel-C++-compiler): Replace "c++" with "C++".
18298         (org-babel-execute:cpp): Replace "c" with "C++".
18299         (org-babel-execute:C++): Replace "c" with "C++".
18300         (org-babel-expand-body:C++): Replace "c" with "C++".
18301         (org-babel-C-execute): Replace "c" with "C++".
18303 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18305         * ob-ref.el (org-babel-ref-at-ref-p): Only try to read results as
18306         a list if at the *beginning* of a list item.
18308         * ob.el (org-babel-read-result): Only try to read results as a
18309         list if at the *beginning* of a list item.
18311 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18313         * org-list.el (org-cycle-item-indentation): Do not break an
18314         indentation cycle because visibility cycling is requested.
18315         This happens when an item becomes a parent, due to indentation change.
18316         Not considered empty anymore, the function cannot change its
18317         indentation again.
18319 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18321         * org-clock.el (org-clocktable-write-default): Bugfix: falls back
18322         on `org-export-default-language' when no :lang parameter is set.
18324 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18326         * org-capture.el (org-capture-expand-file): New function.
18327         (org-capture-target-buffer):
18328         (org-capture-set-target-location): Use `org-capture-expand-file'.
18330 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18332         * ob.el (org-babel-read-list): Reading the value of a list has
18333         been updated to reflect the new structure of org-mode lists in
18334         elisp.
18335         (org-babel-insert-result): Writing code block results to lists has
18336         been updated to reflect the new list structure.
18337         (org-babel-result-end): Remove a previous change to end-of-list
18338         marker detection.
18340 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18342         * org-list.el (org-cycle-item-indentation): Each time the function
18343         moves item back to child position, a white space is added to the
18344         line.
18346 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18348         * ob.el (org-babel-process-params): Allow elisp code in
18349         specification of results header arguments.
18351 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18353         * org-agenda.el (org-agenda-append-agenda): New command.
18354         (org-agenda-mode-map): New keybinding to this new command.
18356 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18358         * org.el (org-ctrl-c-ctrl-c): Call `org-list-send-list' only when
18359         cursor it at very first item of the list, as specified in the
18360         manual.  Also refactored the list part of the function a bit.
18362 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18364         * org-agenda.el (org-agenda): Set the 'last-args property to nil
18365         when calling `org-agenda'.  Don't kill the local variable
18366         `org-agenda-current-span'.
18367         (org-run-agenda-series): Use the new property 'last-args.
18368         (org-agenda-change-time-span): Use the dynamically set
18369         `org-agenda-overriding-arguments' variable when non-nil.
18371 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18373         * ob.el (org-babel-result-end): Adjust marker of list end to
18374         changes in the list format.
18376 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18378         * org-list.el (org-toggle-checkbox, org-update-checkbox-count):
18379         No need to wrap `org-entry-get' in `ignore-errors'.
18381 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18383         * org.el (org-toggle-item, org-toggle-heading): Make sure every
18384         sub-item in a list is changed into a sub-heading and sub-headings
18385         are translated into sub-items.  Also ignore inline tasks in the
18386         process.
18388 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18390         * org-exp.el (org-export-select-backend-specific-text):
18391         Add `original-indentation' property when replacing #+begin_backend and
18392         #+backend blocks with their content.  This is needed for lists, as
18393         they must know if the block belonged to them.
18395 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18397         * org-html.el (org-html-export-list-line): Insert a newline
18398         character before ending an item, as anchor could be on a line
18399         going to be deleted, like a drawer ending string.
18401         * org-list.el (org-list-to-html): Same.
18403 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18405         * org.el (org-set-autofill-regexps): Use `org-item-re' in
18406         `paragraph-start' to recognize alphabetical lists.
18407         (org-fill-paragraph): Enforce a pre-computed fill-prefix before
18408         calling `fill-paragraph' when point is in an item.  Also prevent
18409         paragraphs getting merged into an adjacent list upon filling.
18410         (org-adaptive-fill-function): Make sure to determine real
18411         fill-prefix for auto-fill.
18412         (org-auto-fill-function): Use a pre-computed fill-prefix before
18413         calling `do-auto-fill'.
18415         * org-list.el (org-list-item-body-column): New function.
18417 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18419         * org-inlinetask.el (org-inlinetask-at-task-p)
18420         (org-inlinetask-toggle-visibility): New functions.
18422         * org-list.el (org-list-set-item-visibility): New function.
18424         * org.el (org-cycle, org-cycle-internal-local): Separate lists and
18425         inline tasks from headlines.
18426         (org-outline-level): Do not consider lists as headlines.
18427         Cycling visibility is using different tools.
18429 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18431         * org-list.el (org-list-struct): Mark items less indented than top
18432         item of the list, so that they will be modified.
18433         (org-list-struct-apply-struct): Compare struct's indentation with
18434         line's indentation instead of old-struct's.  This is needed
18435         because `org-list-struct' automatically fixes indentation so
18436         changes might not be seen otherwise.
18438         * org.el (org-ctrl-c-ctrl-c): Small refactoring.
18440 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18442         * org-list.el (org-update-checkbox-count): When a part of the
18443         buffer is processed to count checkboxes, lists are read from top
18444         to bottom, but inside lists (in drawers, blocks, or inline tasks)
18445         are skipped.  Thus, cookies cannot be updated.  This patch
18446         enforces reading of such lists if counter is itself in a special
18447         context.
18449 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18451         * org-list.el (org-list-struct-apply-struct): Inline tasks along
18452         with their content must stay at column 0 even if the item is
18453         gaining indentation.  Moreover, fix indentation of text in an
18454         inline task, now it can be in such a task within a list.
18456 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18458         * org-list.el (org-at-item-p): Also verify context is valid.
18459         Otherwise it would recognize valid items where `org-in-item-p'
18460         wouldn't.
18461         (org-in-item-p, org-list-struct-apply-struct): Use shorter version
18462         of org-at-item-p.
18463         (org-cycle-list-bullet): Fix typo.
18464         (org-list-parse-list): Avoid calling `org-at-item-p' two times by
18465         using an appropriate regexp.
18467         * org.el (org-indent-line-function): Use an appropriate regexp
18468         instead of calling `org-at-item-p' two times.
18470 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18472         * org-list.el (org-in-item-p): When point was just after
18473         org-list-end-re, check wouldn't be done for starting line.  So, if
18474         the first line was an item, it wouln't be noticed and function
18475         would return nil.  Simplify and comment code.
18477 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18479         * org.el (org-toggle-item): When used on normal text, ensure every
18480         line in region is included in the new item, regardless of its
18481         original indentation.
18483 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18485         * org-list.el (org-list-struct-apply-struct): If end of list was
18486         at eol, for example, with list inside a block, the last list
18487         wouldn't be shifted.  Thus, the patch ensures no blank lines is
18488         skipped.
18490 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18492         * org.el (org-toggle-item): Now accepts a prefix argument.
18493         When used without argument on normal text, it will make the whole
18494         region one item.  With an argument, it defaults to old behavior:
18495         change each line in region into an item.
18497 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18499         * org.el (org-return): When called from inside an item with the
18500         indent flag, function should keep text moved inside the item.
18501         This allows to use C-j to separate lines in an item: cursor won't
18502         go back to column 0.
18504 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18506         * org-list.el (org-list-struct): When a line has org-example
18507         property, skip the entire block.  This is needed during export,
18508         for example when src blocks in org markup contain lists, and are
18509         returned verbatim because org isn't in the list of interpreted
18510         languages.
18512 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18514         * org-list.el (org-in-item-p): Handle special cases when function
18515         is called with cursor amidst `org-list-end-re' or at an inline
18516         task.
18518 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18520         * ob.el (org-babel-result-end): Apply renaming.
18522         * org-exp.el (org-export-mark-list-properties): Apply renaming.
18524         * org-list.el (org-list-prevs-alist): Rename from
18525         `org-list-struct-prev-alist'.
18526         (org-list-parents-alist): Rename from `org-list-struct-parent-alist'.
18527         (org-list-write-struct): Rename from `org-list-struct-fix-struct'.
18528         (org-list-parse-list, org-sort-list, org-list-indent-item-generic)
18529         (org-toggle-checkbox, org-update-checkbox-count)
18530         (org-cycle-list-bullet, org-list-repair, org-insert-item)
18531         (org-move-item-up, org-move-item-up, org-move-item-down)
18532         (org-next-item, org-previous-item, org-end-of-item-list)
18533         (org-beginning-of-item-list, org-apply-on-list): Apply renaming.
18534         (org-get-bullet): Remove function, as it is not needed anymore.
18536 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18538         * org-list.el (org-list-insert-item-generic): Change arguments.
18539         The function now accepts structure and previous items alist.
18540         This allows to insert an item programmatically more easily.
18541         (org-insert-item): Apply changes to
18542         `org-list-insert-item-generic'.  The function now takes care about
18543         repairing structure and updating checkboxes.
18545         * org-timer.el (org-timer-item): Apply changes to
18546         `org-list-insert-item-generic'.  The function now takes care about
18547         repairing structure.
18549 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18551         * org-list.el (org-list-make-subtree): Function now uses
18552         `org-list-parse-list mechanism'.
18553         (org-list-make-subtrees): Remove function.
18554         (org-list-to-generic): Add a parameter and every parameter can
18555         be a sexp returning a string, for finer control.
18556         (org-list-to-html, org-list-to-latex, org-list-to-texinfo):
18557         Slight modifications to apply changes to `org-list-to-generic'.
18558         (org-list-to-subtree): New function.
18560 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18562         * org.el (org-beginning-of-line): Apply changes to
18563         `org-item-beginning-re' to correct sub-expression reference.
18565 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18567         * org-docbook.el (org-export-docbook-list-line): Even with
18568         alphabetical lists, Org shouldn't enforce a particular list type
18569         to exporters.  This is a job for style files.
18571         * org-html.el (org-html-export-list-line): Ib idem.
18573 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18575         * org-list.el (org-at-item-counter-p): New function.
18576         (org-list-parse-list): Handle counters and list depth.
18577         (org-list-to-generic): A special string is used when an item has a
18578         counter.
18579         (org-list-to-latex): Use new special string for counters.
18580         This fixes the counter bug in LaTeX export, as the enumi counter was
18581         the only one modified.
18583         * org-latex.el (org-export-latex-lists): Use new
18584         `org-list-parse-list' output.
18586 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18588         * org-list.el (org-list-get-list-type): New function.
18589         (org-list-parse-list): Use new function.
18591         * org-html.el (org-html-export-list-line): Use new function.
18593         * org-docbook.el (org-export-docbook-list-line): Use new function.
18595 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18597         * org-list.el (org-alphabetical-lists): New variable
18598         (org-item-re, org-list-full-item, org-cycle-list-bullet)
18599         (org-list-struct-fix-bul, org-list-inc-bullet-maybe):
18600         Reflect introduction of the new variable.
18601         (org-item-beginning-re): Change into a function, so any
18602         modification of `org-alphabetical-lists' will not require
18603         reloading Org.
18604         (org-at-item-p, org-toggle-checkbox, org-update-checkbox-count)
18605         (org-list-parse-list, org-list-send-list): Reflect changes to
18606         `org-item-beginning-re'.
18607         (org-list-use-alpha-bul-p): New function.
18609         * org.el (org-check-for-hidden): Reflect changes to
18610         `org-item-beginning-re'.
18612         * org-capture.el (org-capture-place-item): Reflect changes to
18613         `org-item-beginning-re'.
18615         * org-docbook.el (org-export-docbook-list-line): Handle New type
18616         of items.
18618         * org-exp.el (org-export-mark-list-end)
18619         (org-export-mark-list-properties): Reflect changes to
18620         `org-item-beginning-re'.
18622         * org-html.el (org-html-export-list-line): Handle new type of
18623         items.
18625         * org-latex.el (org-export-latex-lists): Handle new type of items
18626         and reflect changes to `org-item-beginning-re'.
18628         * org-ascii.el (org-export-ascii-preprocess): Handle new counters.
18630 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18632         * org-list.el (org-list-end-re): Remove function and made it a
18633         variable.  There's no need for the overhead of calling the
18634         function every at every line in a list.  User will have to reload
18635         Org if he change value of either `org-list-end-regexp' or
18636         `org-empty-line-terminates-plain-lists'.
18637         (org-in-item-p, org-list-struct, org-list-parse-list): Apply change.
18639         * org-exp.el (org-export-mark-list-end)
18640         (org-export-mark-list-properties): Apply change.
18642         * org-latex.el (org-export-latex-lists): Apply change.
18643         Also prevent items with org-example property to be considered as real
18644         items.
18646 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18648         * org-inlinetask.el (org-inlinetask-export-templates): Slightly
18649         modify templates so environment boundaries don't interfere with
18650         content of task.  Unprotect content of task so it might benefit
18651         from further transformations.  Set original-indentation property to
18652         a high value to ensure that task is always in the last item of the
18653         list.  Also, apply templates later in export process.
18655         * org-list.el (org-list-struct): Fix inline task skipping.
18657 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18659         * org-latex.el (org-export-latex-lists): Search for unprotected
18660         items only, and redefine `org-at-item'.  This change is required
18661         when verbatim lists are inserted during export, usually by Babel.
18663 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18665         * ob.el (org-babel-result-end): End position is end of current
18666         sublist instead of bottom point, as results might be inserted in a
18667         list themselves.
18669 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18671         * org-list.el (org-list-automatic-rules): Remove insert rule.
18672         (org-list-insert-item-generic): Remove code preventing user to
18673         insert another item in a block within a list.  It is because new
18674         list context make it impossible to see if a point in a block is
18675         also in a list.
18677 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18679         * org-exp.el (org-export-preprocess-string): Mark list endings
18680         before babel blocks preprocessing starts, so blank lines that may
18681         be inserted do not break list's structure.  Then, mark list with
18682         special properties required by exporters.  Thus output from babel
18683         can easily be included in lists.
18684         (org-export-mark-list-end): New function.
18685         (org-export-mark-list-properties): New function.
18686         (org-export-mark-lists): Remove function.  It was split into the
18687         two preceding functions.
18689 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18691         * org-list.el (org-update-checkbox-count): Do not recompute every
18692         list before next heading when there are more than one cookie in an
18693         headline.  Moreover, ignore the case where cookie is inserted
18694         neither at an heading nor at an item.
18696 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18698         * org-list.el (org-sort-list): Fix number of arguments to
18699         `org-list-repair', plus make `end-record' go to end of item before
18700         any blank line to keep them from being swallowed in the sorting.
18702 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18704         * org-list.el (org-list-forbidden-blocks): Rename from
18705         `org-list-blocks'.
18706         (org-list-export-context): New variable.
18708 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18710         * org-list.el (org-list-search-generic): Rename form
18711         `org-search-unenclosed-generic' to reflect the new behavior.  Now,
18712         match can only be in a valid context for lists, as determined by
18713         `org-list-context'.
18714         (org-list-search-backward): Rename from
18715         `org-search-backward-unenclosed'.
18716         (org-list-search-forward): Rename from
18717         `org-search-forward-unenclosed'.
18718         (org-toggle-checkbox, org-update-checkbox-count): Use new
18719         functions.
18720         (org-sort-list): Using default regexp search functions as context
18721         is not required in this case.
18723 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18725         * org-exp.el (org-export-mark-lists): New function, replacing
18726         org-export-mark-list-ending.  It adds information as text
18727         properties to every list, before changes done by exporter destruct
18728         them.
18730 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18732         * org-list.el (org-list-get-first-item): New alias for
18733         `org-list-get-list-begin'.
18734         (org-list-get-last-item): New function.
18735         (org-list-get-list-end): Use `org-list-get-last-item'.
18737 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18739         * org.el (org-get-string-indentation): Move in generally useful
18740         functions section, as it wasn't specific to plain lists and that
18741         no code was using it in org-list.el.
18743 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18745         * org.el (org-skip-over-state-notes, org-store-log-note): Use new
18746         accessors.
18748 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18750         * org-list.el (org-list-indent-item-generic): Remove error
18751         messages happening before process.  This belongs to interactive
18752         functions.
18753         (org-indent-item, org-indent-item-tree)
18754         (org-outdent-item, org-outdent-item-tree): Ensure point or region
18755         is correct before computing list structure.  Return an error
18756         message otherwise.
18758 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18760         * org-list.el (org-apply-on-list): Use new structures.
18761         Function is now applied in reverse order so modifications do not change
18762         positions of items in buffer.
18764 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18766         * org-list.el (org-list-parse-list): Rewrite of function to allow
18767         text following a sub-list in the same item.  See docstring for an
18768         example of output.
18769         (org-list-to-generic): Use new parsing function.
18770         (org-list-to-latex, org-list-to-html): Minor change for clearer
18771         export.
18773 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18775         * org-list.el (org-list-has-child-p): Rename from
18776         `org-list-get-child'.  Returning first child is only useful as a
18777         predicate, as we are allowing an item to have more than one
18778         sub-list.
18779         (org-list-indent-item-generic): Use `org-list-has-child-p' instead
18780         of org-list-get-child.
18781         (org-in-item-p): Also return item beginning when list starts at
18782         context beginning.
18783         (org-list-get-parent): Use of `org-list-struct-parent-alist'
18784         helper function is not optional anymore.
18785         (org-list-get-all-items): Shorten code with the help of cl.el.
18786         (org-list-get-children): Now returns all children of item, even if
18787         they do not belong to the same list.  Renamed from
18788         `org-list-get-all-children'.
18789         (org-list-get-list-begin): Function wasn't return value when item
18790         was already the first item of the list at point.
18791         (org-list-get-list-end): Function wasn't return value when item
18792         was already the last item of the list at point.
18793         (org-list-struct-fix-box, org-update-checkbox-count): Now uses
18794         `org-list-get-children'.
18796 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18798         * org.el (org-indent-line-function): Indentation of item's body
18799         starts just after the bullet, not after a checkbox.  Moreover, As
18800         `org-in-item-p' also returns item beginning position when point is
18801         in a list, do not compute it a second time.
18803 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18805         * org.el (org-ctrl-c-ctrl-c): When called at a list item, replace
18806         usage `org-repair-list', forcing another reading of the list, with
18807         only needed subroutines.
18809 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18811         * org-list.el (org-list-separating-blank-lines-number): Use new
18812         accessors.
18813         (org-list-insert-item-generic): Use list structures to insert a
18814         new item.
18815         (org-list-exchange-items): Refactor and comment code.  Now return
18816         new struct instead of modifying it, as list sorting would
18817         sometimes eat first item.
18818         (org-move-item-down, org-move-item-up): Reflect changes to
18819         `org-list-exchange-items'.
18820         (org-insert-item): As `org-in-item-p' also computes item beginning
18821         when applicable, reuse the result.
18823 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18825         * org-list.el (org-list-in-item-p): Unify methods for this
18826         predicate.
18827         (org-list-in-item-p-with-indent): Remove function.
18828         (org-list-ending-between): Remove function.
18829         (org-list-maybe-skip-block): Remove function.
18830         (org-list-in-item-p-with-regexp): Remove function.
18831         (org-list-top-point-with-regexp): Remove function.
18832         (org-list-top-point-with-indent): Remove function.
18833         (org-list-bottom-point-with-indent): Remove function.
18834         (org-list-bottom-point-with-regexp): Remove function.
18835         (org-list-get-item-same-level): Remove function.
18836         (org-list-top-point): Remove function.
18837         (org-list-bottom-point): Remove function.
18838         (org-get-item-beginning): Rename to `org-list-get-item-begin' to
18839         be consistent with naming policy of non-interactive functions.
18840         (org-get-beginning-of-list): Remove function.
18841         (org-beginning-of-item-list): Use new accessors.
18842         (org-get-end-of-list): Remove function.
18843         (org-end-of-list): Use new accessors.
18844         (org-get-end-of-item): Remove function.
18845         (org-end-of-item): Use new accessors.
18846         (org-get-previous-item): Remove function.
18847         (org-previous-item): Use new accessors.
18848         (org-get-next-item): Remove function.
18849         (org-next-item): Use new accessors.
18850         (org-list-get-item-end-before-blank): Use new accessors.
18852 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18854         * org-list.el (org-list-repair): Remove optional argument
18855         FORCE-BULLET.  The job of this interactive function is to
18856         completely fix a list at point.  Changing bullets is a separate
18857         task.  Also removed others optional arguments TOP and BOTTOM to
18858         follow the new structures.
18859         (org-list-indent-item-generic): Remove need for TOP and BOTTOM.
18860         STRUCT is a new required argument.  This avoids computing a list
18861         structure many times when function is called more than once in a
18862         row, for example in `org-cycle-item-indentation'.  Use new
18863         accessors.  Now, also call `org-update-checkbox-count-maybe'.
18864         (org-outdent-item, org-indent-item, org-outdent-item-tree)
18865         (org-indent-item-tree): Remove need for TOP and BOTTOM.
18866         (org-list-insert-item-generic): Reflect changes to `org-list-repair'.
18867         (org-list-exchange-items): Use new accessors.  Now modify struct
18868         to avoid re-reading it later.
18869         (org-move-item-down): Reflect changes to `org-list-repair'.
18870         Use new accessors.
18871         (org-move-item-up): Reflect changes to `org-list-repair'.  Use new
18872         accessors.
18873         (org-cycle-list-bullet): Use new structures.  Also use a shortcut
18874         to `org-list-struct-fix-struct' in order to avoid unnecessary
18875         fixes, like `org-list-struct-fix-box'
18876         (org-sort-list): Use of new structures.  Renamed an internal
18877         function for a little more clarity.
18878         (org-cycle-item-indentation): Remove dependency on
18879         `org-list-repair'.  Use new accessors.
18880         (org-list-get-child): Correct bug when asking for the child of the
18881         last item.
18882         (org-list-exchange-items): Use new accessors.
18884 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18886         * org-list.el (org-list-blocks): New variable.
18887         (org-list-context): New function.
18888         (org-list-full-item-re): New variable.
18889         (org-list-struct-assoc-at-point): Use new variable.
18890         (org-list-struct): Rewrite of function.  Now, list data is
18891         collected by looking at the list line after line.  It reads the
18892         whole list each time because reading only a subtree was not enough
18893         for some operations, like fixing checkboxes.  It also removes the
18894         need to get `org-list-top-point' and `org-list-bottom-point'
18895         first.  An added data is the position of item ending.  This aims
18896         to be able to have list followed by text inside an item.
18897         (org-list-struct-assoc-end): New function.
18898         (org-list-struct-parent-alist): New function.
18899         (org-list-get-parent): New function.
18900         (org-list-get-child): New function.
18901         (org-list-get-next-item): New function.
18902         (org-list-get-prev-item): New function.
18903         (org-list-get-subtree): Use helper function `org-list-struct-prev-alist'.
18904         (org-list-get-all-items): New function.
18905         (org-list-get-all-children): New function.
18906         (org-list-get-top-point): New function.
18907         (org-list-get-bottom-point): New function.
18908         (org-list-get-counter): New function.
18909         (org-list-get-item-end): New function.
18910         (org-list-struct-fix-bul): Rewrite for cleaner code.  Make use of
18911         new accessors.
18912         (org-list-struct-fix-ind): Make use of new accessors.
18913         (org-list-struct-fix-box): New function.
18914         (org-list-struct-fix-checkboxes): Remove function.
18915         (org-list-struct-outdent): Use new accessors.  Use the fact that
18916         there is no longer a virtual item at beginning of structure.
18917         (org-list-struct-indent): Use helper functions
18918         `org-list-struct-prev-alist' and `org-list-struct-parent-alist'.
18919         Also use new accessors.
18920         (org-list-struct-fix-struct): Comment function.  Call directly
18921         `org-list-struct-apply-struct', without removing unchanged items
18922         first.
18923         (org-list-struct-apply-struct): Comment function.  Rewrite using
18924         new accessors.  Use new variable `org-list-full-item-re'.
18925         (org-list-shift-item-indentation): Remove function, now included
18926         in `org-list-struct-apply-struct' because it is too specific.
18928 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18930         * org-list.el (org-toggle-checkbox): Use structures to fix
18931         checkboxes of a list.
18932         (org-update-checkbox-count): Use structures to update cookies.
18934 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18936         * org-list.el (org-list-struct-fix-checkboxes): New function.
18937         (org-checkbox-blocked-p): Remove function.
18939 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18941         * org-list.el (org-list-get-all-items): New function.
18942         (org-list-get-all-children): New function.
18943         (org-list-get-nth): New function.
18944         (org-list-set-nth): New function.
18945         (org-list-get-ind): New function.
18946         (org-list-set-ind): New function.
18947         (org-list-get-bullet): New function.
18948         (org-list-set-bullet): New function.
18949         (org-list-get-checkbox): New function.
18950         (org-list-set-checkbox): New function.
18951         (org-list-struct-fix-bul): Use new accessors.
18952         (org-list-repair): Use new accessors.
18953         (org-list-indent-item-generic): Make use of accessors.
18954         (org-list-get-parent): Rename from `org-list-struct-get-parent'.
18955         (org-list-get-child): Rename from `org-list-struct-get-child'.
18956         (org-list-struct-fix-ind): Make use of accessors.
18957         (org-list-get-next-item): New function.
18958         (org-list-get-subtree): New function.
18960 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18962         * org-list.el (org-list-struct-assoc-at-point): Add checkbox to
18963         list structure.
18965         * org-list.el (org-list-struct-assoc-at-point): Add checkbox as
18966         value in structure.
18968         * org-list.el (org-list-struct-apply-struct): Also apply
18969         checkboxes.
18971 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18973         * org-latex.el (org-export-latex-content): Bind local variables
18974         for export in the temporary export buffer.
18976 2011-07-28  David Maus  <dmaus@ictsoc.de>
18978         * org-protocol.el (org-protocol-unhex-single-byte-sequence)
18979         (org-protocol-unhex-string, org-protocol-unhex-compound):
18980         Change date of obsolete declaration to 2011-02-17.
18982 2011-07-28  David Maus  <dmaus@ictsoc.de>
18984         * org.el (org-link-escape): Throw error if encoding character in
18985         utf8 fails.
18987 2011-07-28  David Maus  <dmaus@ictsoc.de>
18989         * org-protocol.el (org-protocol-split-data)
18990         (org-protocol-open-source): Use `org-link-unescape' instead of
18991         obsolete unhex string function.
18993 2011-07-28  David Maus  <dmaus@ictsoc.de>
18995         * org.el (org-link-escape, org-link-escape-chars-browser)
18996         (org-link-escape-chars): Always percent escape the percent sign.
18998 2011-07-28  David Maus  <dmaus@ictsoc.de>
19000         * org.el (org-link-unescape): Simpler algorithm for replacing
19001         percent escapes.
19002         (org-link-unescape-compound): Use cond statements instead of nested
19003         if, convert hex string with string-to-number, save match data.
19004         (org-link-unescape-single-byte-sequence): Use mapconcat and
19005         string-to-number for unescaping single byte sequence.
19007 2011-07-28  David Maus  <dmaus@ictsoc.de>
19009         * org.el (org-link-escape): Rename lambda argument.
19011 2011-07-28  David Maus  <dmaus@ictsoc.de>
19013         * org.el (org-link-escape-chars-browser, org-link-escape-chars):
19014         Add percent sign to list of escape chars.
19016 2011-07-28  David Maus  <dmaus@ictsoc.de>
19018         * org-mobile.el (org-mobile-escape-olp): Use new percent escape
19019         character table format.
19021 2011-07-28  David Maus  <dmaus@ictsoc.de>
19023         * org-mobile.el (org-mobile-locate-entry): Remove obsolete
19024         argument in call to org-link-unescape.
19026 2011-07-28  David Maus  <dmaus@ictsoc.de>
19028         * org-protocol.el (org-protocol-unhex-string)
19029         (org-protocol-unhex-compound)
19030         (org-protocol-unhex-single-byte-sequence): Declare obsolete and
19031         alias to respective org-link-unescape-* functions.
19033 2011-07-28  David Maus  <dmaus@ictsoc.de>
19035         * org.el (org-link-unescape, org-link-unescape-compound)
19036         (org-link-unescape-single-byte-sequence): Functions moved and renamed
19037         from org-protocol.el.
19039 2011-07-28  David Maus  <dmaus@ictsoc.de>
19041         * org-macs.el (org-char-to-string): Inline function to properly
19042         decode utf8 characters in Emacs 22.  Moved and renamed from
19043         org-protocol.el.
19045 2011-07-28  David Maus  <dmaus@ictsoc.de>
19047         * org.el (org-link-escape): New optional argument.  Merge user
19048         table with default table.
19050 2011-07-28  David Maus  <dmaus@ictsoc.de>
19052         * org.el (org-link-escape): Fixup doc string.
19054 2011-07-28  David Maus  <dmaus@ictsoc.de>
19056         * org.el (org-link-escape-chars, org-link-escape-chars-browser):
19057         New format of percent escape table.
19058         (org-link-escape): Use new table format.
19060 2011-07-28  David Maus  <dmaus@ictsoc.de>
19062         * org.el (org-link-escape): New Unicode aware percent encoding
19063         algorithm.
19065 2011-07-28  Sebastian Rose  <sebastian_rose@gmx.de>
19067         * org-protocol.el (org-protocol-unhex-single-byte-sequence):
19068         New function.  Decode hex-encoded singly byte sequences.
19069         (org-protocol-unhex-compound): Use new function if decoding sequence
19070         as Unicode character failed.
19072 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19074         * org-html.el (org-export-as-html): Expand the HTML title.
19076 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19078         * org-publish.el (org-publish-cache-ctime-of-src):
19079         Improve docstring.
19080         (org-publish-find-title): New option to explicitly reset the title
19081         in the cache.
19082         (org-publish-format-file-entry): Use this new option.
19084 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19086         * org-exp.el (org-export-preprocess-string): Set the source buffer
19087         and use `org-clone-local-variables' to get local variables from
19088         it.
19090 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19092         * org-exp.el (org-export-format-source-code-or-example):
19093         Allow empty string as second element in minted/listings options.
19095 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19097         * org-exp.el (org-export-format-source-code-or-example):
19098         Support new user-customizable options.
19099         (org-export-latex-custom-lang-environments): Ensure new variable
19100         is defined.
19101         (org-export-latex-listings-options): Ensure new variable is defined.
19102         (org-export-latex-minted-options): Ensure new variable is defined.
19104 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19106         * org-html.el (org-export-as-html): Handle the case when
19107         `org-export-html-validation-link' is nil to keep backward
19108         compatible with the old default value of this variable.
19110 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19112         * ob.el (org-babel-insert-result): Don't choke if indent is not a
19113         number.
19115 2011-07-28  Christian Moe  <mail@christianmoe.com>  (tiny change)
19117         * org-bbdb.el (org-bbdb-export): When a link description has been
19118         added by `org-export-normalize-links', use path instead (remove
19119         the `bbdb:' prefix).
19121 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19123         * org-ascii.el (org-export-ascii-underline): Put the level's
19124         characters in the right order, as documented by the docstring.
19125         (org-ascii-level-start): Select the right char for underlining
19126         headlines.
19128 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19130         * org-src.el (org-edit-src-code): Allow to edit source code from
19131         modes derived from Org.
19133 2011-07-28  Niels Giesen  <niels.giesen@gmail.com>
19135         * org-clock.el (org-clock-clocktable-language-setup): Add list of
19136         dutch strings.
19138 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19140         * org-beamer.el: Mark frame as fragile when it is using minted for
19141         src block export.
19143 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19145         * org-agenda.el (org-agenda-date-later)
19146         (org-agenda-date-earlier): Enhance docstrings.
19147         (org-agenda-bulk-mark-regexp): Only match against headlines.
19148         Send a message when no entry is marked.
19149         (org-agenda-bulk-action): Fix bug about scattering deadlines.
19150         Send an error when trying to scatter outside an agenda or a
19151         timeline view.  Silently fail when trying to scatter sexp entries.
19153 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19155         * org-clock.el (org-clock-clocktable-language-setup): New custom
19156         variable.
19157         (org-clocktable-defaults): Set the default language.
19158         (org-clocktable-write-default): Use the new variable.
19160 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19162         * ob.el (org-babel-src-block-names): Don't strip text properties
19163         from search hits.
19164         (org-babel-result-names): Don't strip text properties from search
19165         hits.
19167 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19169         * ob-python.el (org-babel-python-evaluate-session): Pass nil as
19170         remove-echo part of META argument to
19171         `org-babel-comint-with-output'.
19173 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19175         * ob.el (org-babel-script-escape): Use `substring' comparison
19176         instead of regexp matching.
19178 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19180         * org-src.el (org-edit-src-code): When generating the code edit
19181         buffer, it is necessary for several variables to inherit their
19182         values from the parent org buffer.  These changes collect all such
19183         variables together into a single association list of
19184         `(variable-name value)' pairs.  In addition, a new variable is
19185         added to the list: `org-edit-src-content-indentation'.  This has
19186         the effect that a buffer local value can be used for that
19187         variable.
19189 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19191         * ob-table.el (sbe): Don't truncate sbe results.
19193 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
19195         * org-exp.el (org-export-add-options-to-plist): Require match to
19196         start at a word-boundary.
19198 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19200         * org-latex.el (org-export-latex-hyperref-format):
19201         Update docstring.
19203 2011-07-28  Tom Dye  <tsd@tsdye.com>
19205         * org.el: Update documentation of `org-add-link-type'.
19207 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19209         * org.el (org-open-at-point): Fix bug when using prefix arg to
19210         construct `org-link-search' call.  Rename prefix arg with a more
19211         generic name, to reflect its diverse uses in this function.
19213 2011-07-28  Rémi Vanicat  <vanicat@debian.org>
19215         * org-icalendar.el (org-icalendar-use-UTC-date-time): Remove.
19216         (org-icalendar-date-time-format): New custom variable.
19217         (org-icalendar-use-UTC-date-timep): New function.
19218         (org-ical-ts-to-string): Use the new variable.
19220 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19222         * org-vm.el (org-vm-store-link): Make sure the buffer is
19223         associated with a file when trying to store an Org link.
19225 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19227         * ob.el (org-babel-params-from-properties): Test for
19228         "header-arg-name" and ":header-arg-name", in that order.
19230 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19232         * org-capture.el (org-capture-templates): Document "currentfile"
19233         for capture template.
19234         (org-capture-templates): Allow to use currentfile for capture
19235         templates.
19236         (org-capture-set-target-location): Handle currentfile as a way to
19237         setting the capture buffer.
19239 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19241         * ob.el (org-babel-params-from-properties): Don't wrap
19242         `org-entry-get' into `condition-case'.
19244 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19246         * org.el (org-entry-get): Don't look for a property drawer if we
19247         are before the first heading in the file.
19248         (org-entry-get-with-inheritance): Don't attempt to move up the
19249         tree if we are before the first heading in the file.  Also,
19250         enclose less of the function in the `save-excursion'.
19252 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19254         * ob.el (org-babel-params-from-buffer): Return desired value
19255         rather than nil from failed re search.
19257 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19259         * org-agenda.el (org-get-entries-from-diary): Put multiline diary
19260         entries on a single line when lines don't start with a diary time.
19262 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19264         * org-html.el (org-export-html-protect-char-alist): New custom
19265         variable to define characters to be HTML protected.
19266         (org-html-protect): Use the new variable.
19268 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19270         * org-info.el (org-info-store-link): Use "#" to separate the info
19271         file and the node.
19272         (org-info-follow-link): Use both "#" to separate the info file and
19273         the node.  Continue to use ":" for backward compatibility.
19275 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19277         * org-icalendar.el (org-icalendar-honor-noexport-tag): New custom
19278         variable.
19279         (org-print-icalendar-entries): Use this new variable to prevent
19280         export of entries with a :noexport: tag.
19282 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19284         * org-exp.el (org-export-initial-scope): New custom variable.
19285         (org-export): Use this new variable.  If there is an active
19286         region, tell it when prompting the user for an export command.
19287         Also change the way the function handles selection of buffer and
19288         subtree export.
19290 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19292         * org-html.el (org-export-html-auto-preamble)
19293         (org-export-html-auto-postamble): Remove.
19294         (org-export-html-preamble, org-export-html-postamble): Turn into
19295         custom variables.  Update the docstrings.
19296         (org-export-html-preamble-format)
19297         (org-export-html-postamble-format): New custom variables.
19298         (org-export-as-html): Use `org-export-html-postamble-format' and
19299         `org-export-html-preamble-format'.
19300         (org-export-html-title-format): Delete.
19302 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19304         * org-exp-blocks.el (org-export-blocks-format-ditaa):
19305         This function is begin deprecated in favor of begin_src blocks.
19306         (org-export-blocks-format-dot): This function is begin deprecated in
19307         favor of begin_src blocks.
19309 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19311         * ob.el (org-babel-header-arg-names): no-expand is now part of the
19312         default header argument names list.
19314 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
19316         * org-publish.el (org-publish-sitemap-date-format)
19317         (org-publish-sitemap-file-entry-format): New custom variables.
19318         (org-publish-projects): Use these variables to format the sitemap
19319         entries.
19321 2011-07-28  Ulf Stegemann  <ulf-news@zeitform.de>
19323         * org-gnus.el (org-gnus-store-link): Allow `org-link' creation
19324         from `message-mode'.
19326 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19328         * org-agenda.el (org-agenda-filter-by-tag): Refresh agenda when
19329         updating the filter while the clock report is following the
19330         filter.
19332 2011-07-28  Julien Danjou  <julien@danjou.info>
19334         * org-agenda.el (org-agenda): Kill all local variables.
19335         This assures we are not keeping buffer variable from an old agenda view
19336         when switching to a new custom agenda.
19338 2011-07-28  Julien Danjou  <julien@danjou.info>
19340         * org-crypt.el (org-encrypt-string): New function.
19341         (org-encrypt-entry): Use org-encrypt-string to encrypt, so we use
19342         cached crypted values.
19343         (org-decrypt-entry): Store crypted text in decrypted text.
19345 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19347         * ob-exp.el (org-babel-exp-lob-one-liners): Only replace the match
19348         if a non-nil result is returned.
19350 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19352         * org-agenda.el (org-agenda-get-day-entries): Compare DATE with
19353         modified today.
19355 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19357         * org.el (org-update-parent-todo-statistics): Fix bug when
19358         updating statistics from the column view.
19360 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19362         * org-agenda.el (org-agenda-bulk-mark-regexp): New command.
19363         (org-agenda-menu): Add the new command to the menu.
19364         (org-agenda-mode-map): Add % as the keybinding for the new
19365         command.
19367 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19369         * org-exp.el (org-export-target-internal-links): Locally turn on
19370         `org-link-search-must-match-exact-headline' to match exact
19371         internal links.
19373 2011-07-28  Julien Danjou  <julien@danjou.info>
19375         * org-faces.el (org-special-keyword): Make it inherited from
19376         `font-lock-keyword-face'.
19378 2011-07-28  Julien Danjou  <julien@danjou.info>
19380         * org-faces.el (org-link): Make `org-link' inherits from `link'
19381         face.
19383 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19385         * org.el (org-narrow-to-block): New function to narrow to block.
19386         Bound this function to `C-x n b'.
19388 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19390         * org.el (org-schedule, org-deadline): Fix bug: take care of
19391         repeating timestamps like ".+1d/3d" or "+1d 10d".
19393 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19395         * org-agenda.el (org-agenda-repeating-timestamp-show-all):
19396         Allow to use a list of TODO keywords as the value of this variable.
19397         The agenda will show repeating stamps for entries matching these TODO
19398         keywords.
19399         (org-agenda-get-timestamps, org-agenda-get-deadlines)
19400         (org-agenda-get-scheduled): Allow the use of a list of keywords in
19401         `org-agenda-repeating-timestamp-show-all'.
19403 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19405         * org-latex.el (org-export-latex-emph-format): Don't use
19406         `org-export-latex-use-verb'.  Remove this variable.
19408 2011-07-28  Jason Dunsmore  <emacs-orgmode@dunsmor.com>  (tiny change)
19410         * org-html.el (org-html-handle-time-stamps): Fix bug when
19411         exporting inactive timestamps.
19413 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19415         * org-archive.el (org-archive-save-context-info): Fix docstring
19416         typo.
19417         (org-archive-subtree-add-inherited-tags): New variable to control
19418         whether inherited tags should be appended to local tags when
19419         archiving subtrees.
19420         (org-archive-subtree): Use the new variable.
19422 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19424         * org-archive.el (org-archive-save-context-info): Fix docstring.
19426 2011-07-28  Julien Danjou  <julien@danjou.info>
19428         * org-crypt.el (org-decrypt-entry): Delete \n on top level
19429         heading.  This avoids a display bug showing the heading outlined
19430         where the text is not since it does not have the outline property.
19431         Restore subtree visibility state after decryption.
19433 2011-07-28  Julien Danjou  <julien@danjou.info>
19435         * org-agenda.el (org-agenda-list): Use `org-agenda-current-span'
19436         as a possible default span if it is set.
19438 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19440         * org-src.el (org-edit-src-persistent-message): Change docstring.
19441         (org-edit-src-code): Get rid of help message in echo area.
19443         * ob.el (org-babel-do-in-edit-buffer): Do not pass 'quietly
19444         argument to org-edit-src-code as this has been removed.
19446 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19448         * org-latex.el (org-export-latex-emphasis-alist):
19449         Use \protectedtexttt for the =...= emphasis and \verb for the ~...~
19450         emphasis.
19451         (org-export-latex-use-verb): Now defaults to t.
19452         (org-export-latex-emph-format): Distinguish between =...= and
19453         ~...~ emphasis.
19455 2011-07-28  Julien Danjou  <julien@danjou.info>
19457         * org.el (org-link-expand-abbrev): Allow any type of character in
19458         link expand.
19460 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19462         * ob-lob.el (org-babel-lob-ingest): Add prefix to file prompt.
19464 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19466         * ob-ref.el (org-babel-ref-resolve): `save-window-excursion' when
19467         resolving references.
19469 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19471         * org-html.el (org-export-html-html-helper-timestamp): Use <hr/>
19472         instead of <hr> to keep w3c validator happy.
19474 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19476         * ob.el (org-babel-where-is-src-block-head): Detect src block if
19477         point is on a #+header line.
19479 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19481         * ob.el (org-babel-where-is-src-block-head): Skip over intervening
19482         #+header lines when searching for block associated with block name
19483         line.
19485 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19487         * ob.el (org-babel-result-end): Replace call to `org-in-item-p' to
19488         the more specific `org-at-item-p'.
19490 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19492         * org-latex.el (org-latex-default-figure-position): New defcustom
19493         for default placement of latex figures.
19494         (org-export-latex-tables): Positioning tables using the new
19495         defcustom variable.
19496         (org-export-latex-format-image): Positioning images using the new
19497         defcustom variable.
19499 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19501         * ob-ditaa.el (org-babel-execute:ditaa): Throw error when
19502         evaluated and :file header argument is missing.
19504 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19506         * ob-exp.el (org-babel-exp-do-export): Simplify, no longer need
19507         to do anything to export code.
19508         (org-babel-exp-results): No longer returns a replacement for the
19509         code block.
19510         (org-babel-exp-inline-src-blocks): Simplify.
19511         (org-babel-exp-src-block): Remove unnecessary pluralization from
19512         function name.
19514 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19516         * ob-exp.el (org-babel-exp-inline-src-blocks):
19517         Simplify exportation of inline code blocks using normal code block
19518         execution mechanism to insert results.
19519         (org-babel-exp-results): Results exportation mechanism is unified
19520         for both inline and regular code blocks.
19522         * ob.el (org-babel-where-is-src-block-result): Returns the point
19523         after an inline code block for inline code blocks.
19525 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19527         * ob.el (org-babel-insert-result): Special handling of the
19528         position of results of inline code blocks.
19529         (org-babel-examplize-region): Now able to comment inline regions.
19531 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
19533         * org-exp.el (org-export-with-LaTeX-fragments): Fix docstring so
19534         that \\[ a = b \\] is not interpreted as a keybinding by
19535         `substitute-command-keys'.
19537 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19539         * org-latex.el (org-export-as-latex): Process export property list
19540         with `org-export-process-option-filters' early in latex export.
19542 2011-07-28  Julien Danjou  <julien@danjou.info>
19544         * org.el: Remove `org-invisible-p': `outline-invisible-p' is
19545         available in Emacs 22 and in recent XEmacs 21.  Replace in various
19546         files.
19548 2011-07-28  Julien Danjou  <julien@danjou.info>
19550         * org-agenda.el (org-agenda-get-progress): Fix regexp for statep:
19551         it must has \\ at the end of the line.  This avoid matching the
19552         following heading when there's no newline between the logged state
19553         and the next heading.
19555 2011-07-28  Julien Danjou  <julien@danjou.info>
19557         * org-agenda.el (org-format-agenda-item): Simplify time comuting.
19559 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
19561         * org.el (org-current-level, org-store-link, org-mark-subtree):
19562         Use `org-with-limited-levels'.
19564 2011-07-28  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
19566         * org-publish.el (org-publish-get-base-files): Add sitemap file.
19568 2011-07-28  Matt Lundin  <mdl@imapmail.org>
19570         * org-agenda.el (org-agenda-todo-ignore-deadlines): New option.
19571         (org-agenda-todo-ignore-scheduled): New option.
19572         (org-agenda-todo-ignore-timestamp): New option.
19573         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
19574         Allow user to specify custom distance to ignore (future or past).
19575         (org-agenda-todo-custom-ignore-p): New function.
19577 2011-07-28  Matt Lundin  <mdl@imapmail.org>
19579         * org-habit.el (org-habit-parse-todo) Don't parse more days than
19580         needed.
19582 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19584         * ob.el (org-babel-map-inline-src-blocks): Macro for executing
19585         code in each inline code block.
19586         (org-babel-execute-buffer): Executes inline code blocks as well as
19587         regular code blocks.
19589 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19591         * ob.el (org-babel-result-end): Now recognizes "#+begin_org"
19592         blocks for removal.
19594 2011-07-28  Benjamin Drieu  <bdrieu@april.org>  (tiny change)
19596         * org-clock.el (org-clock-before-select-task-hook): New hook.
19597         (org-clock-select-task): Run new hook.
19599 2011-07-28  Julien Danjou  <julien@danjou.info>
19601         * org-agenda.el (org-agenda-get-blocks): Fix time of start/end of
19602         events with range.  This display things like: <2011-01-22 Sat
19603         14:00>--<2011-01-23 Sun 20:00> correctly, with the event starting
19604         at 14:00 and ending at 20:00.
19606 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19608         * ob.el (org-babel-inline-src-block-regexp): Character preceding
19609         "src_" can now be anything as long as it is neither alphanumeric
19610         nor '-'.
19612 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19614         * ob.el (org-babel-merge-params): Docstring typo.
19616 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19618         * ob.el (org-babel-params-from-buffer): Process all #+babel: lines
19619         in the buffer.
19621 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19623         * ob.el (org-babel-get-src-block-info): Alter order of merge
19624         arguments.
19626 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19628         * ob-python.el: Test whether non-nil buffer is #<killed buffer>.
19630 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19632         * ob.el (org-babel-insert-result): Ensure all parts of result
19633         wrappers end in newlines.
19635 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19637         * ob-tangle.el (org-babel-tangle): New :mkdirp header argument
19638         optionally creates parent directories of tangle targets.
19640 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19642         * org-ascii.el (org-ascii-level-start): Catch the case of levels
19643         which do not have an equivalent in the list of underline
19644         characters.
19646 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19648         * ob-sh.el (org-babel-sh-var-quote-fmt): Now possible to customize
19649         the format string used to escape arguments to shell code blocks.
19651 2011-07-28  Julien Danjou  <julien@danjou.info>
19653         * org-agenda.el (org-agenda-reset-view): New function.
19654         (org-agenda-view-mode-dispatch): Bind space to org-agenda-reset-view.
19656 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
19658         * org-exp.el (org-export-handle-include-files): Support :lines
19659         property.
19660         (org-get-file-contents): New argument lines to include specify a
19661         range of lines to include.
19663 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19665         * org.el (org-fast-tag-selection): Fix bug when assigning keys.
19667 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
19669         * org-latex.el (org-export-latex-make-header): Export email in
19670         author line if `org-export-email-info' is non-nil.
19672 2011-07-28  Julien Danjou  <julien@danjou.info>
19674         * org-agenda.el (org-agenda-goto-today): Respect current span.
19676 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19678         * org-complete.el (pcomplete/org-mode/link)
19679         (pcomplete/org-mode/todo, pcomplete/org-mode/prop): Copy list
19680         before uniquifying.
19682 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19684         * ob-tangle.el (org-babel-spec-to-string): Adding "noweb" as a
19685         linking comment type
19686         (org-babel-tangle-comment-links): Returns comment links for the
19687         source code block at point.
19689 2011-07-28  Bastien Guerry  <bzg@gnu.org>
19691         * org.el (org-refile-check-position): Send a more explicit message
19692         on how to clear the cache before refiling again.
19694 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19696         * org-agenda.el (org-agenda-skip-function-global): New option.
19697         (org-agenda-skip-eval): New function.
19698         (org-agenda-skip): Use `org-agenda-skip-eval' and also check for
19699         the global skipping condition.
19701 2011-07-28  David Maus  <dmaus@ictsoc.de>
19703         * org-html.el (org-export-as-html): Handle timestamps after
19704         handling links.
19706 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19708         * ob-tangle.el (org-babel-tangle-jump-to-org): Ever wider searches
19709         until either a matching block is found, or the limits of the file
19710         are reached.
19712 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19714         * ob.el (org-babel-update-block-body): Literal argument to
19715         `replace-match' to allow insertion of text containing '\'.
19717 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19719         * ob-ref.el (org-babel-ref-parse): Allow passing empty strings
19720         into code blocks.
19722 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19724         * org.el (org-sort-entries): Fix sorting with a bold emphasis at bol.
19726 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19728         * ob.el (org-babel-open-src-block-result): Must collect result
19729         *before* jumping to the result buffer.
19731 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19733         * ob.el (org-babel-src-block-names): Fix bug, wrong match-string
19734         used after update to regexp.
19736 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19738         * ob.el (org-babel-temp-file): Ensure that
19739         `org-babel-temporary-directory' is bound before using.
19740         (org-babel-remove-temporary-directory): Safer error throwing.
19742 2011-07-28  niels giesen  <niels.giesen@gmail.com>
19744         * org-docbook.el (org-export-docbook-finalize-table): Do literal
19745         replacements.
19747 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19749         * ob.el (org-babel-execute-src-block): Uses org-src-lang-modes to
19750         resolve language names for evaluation.
19752 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19754         * org-capture.el (org-capture-templates): Add %f and %F escapes
19755         (org-capture): Add more information to capture property list
19756         (org-capture-fill-template): Handle %f and %F escapes.
19758 2011-07-28  David Maus  <dmaus@ictsoc.de>
19760         * org-publish.el (org-publish-cache-ctime-of-src): Use mtime of
19761         symlink target.
19763 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19765         * org.el (org-occur-next-match): New function.
19766         (org-mode): Set the variable `next-error-function'.
19767         (org-highlight-new-match): Add an `org-type' property to the
19768         overlays.
19770 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19772         * ob-calc.el: No longer require `calc-trail' on XEmacs.
19774 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19776         * org.el (org-modules): Add `org-eshell'.
19778 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19780         * org-special-blocks.el (htmlp, latexp, line): Add defvars for
19781         dynamically scoped variables.
19783         * org.el (org-modules): Move `org-special-blocks' into the core
19784         modules section.
19786 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19788         * org-special-blocks.el: New file.
19790 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19792         * org.el (org-plist-delete): Remove duplicate definition.
19794 2011-07-28  Bernt Hansen  <bernt@norang.ca>
19796         * org-agenda.el (org-agenda-goto): Display invisible entry text.
19798         * org-agenda.el (org-agenda-switch-to): Display invisible entry
19799         text.
19801 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19803         * org.el (org-get-category): New optional argument FORCE-REFRESH.
19804         Automatically refresh if the property is not there.
19805         (org-entry-properties): Remove refresh - this is now done in
19806         org-get-category.
19808         * org-clock.el (org-clock-insert-selection-line):
19809         Let `org-get-category' do the property refresh.
19811         * org-archive.el (org-archive-subtree): Force a refresh of
19812         category properties.
19814 2011-07-28  Julien Danjou  <julien@danjou.info>
19816         * org-icalendar.el (org-print-icalendar-entries): Do not manually
19817         refresh categories.
19819 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19821         * org.el (org-display-inline-images): Check for clear-image-cache
19822         before using it.
19824 2011-07-28  Bernt Hansen  <bernt@norang.ca>
19826         * org.el: Document missing value for org-link-frame-setup.
19828 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19830         * ob-R.el (org-babel-R-write-object-command): Force evaluation of
19831         user code prior to the R exception-handling, so that errors in
19832         user code are unhandled.
19834 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19836         * org-src.el (org-src-font-lock-fontify-block): Test, early on,
19837         that a major-mode function corresponding to the language string
19838         exists.
19840 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
19842         * org-exp.el (org-export-mark-list-ending): Insert additional
19843         newline characters if end-list-marker is at a wrong position.
19845 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19847         * ob.el (org-babel-script-escape): Replace commas with spaces for
19848         better list reading when list items are packed with commas,
19849         e.g. Haskell list output.
19851 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19853         * ob-sass.el (org-babel-execute:sass): Uses ob-eval for better
19854         error reporting.
19856 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19858         * ob.el (org-babel-confirm-evaluate): Fix for the case when
19859         org-confirm-babel-evaluate is a function (used to always ask no
19860         matter what the function returns).
19862 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19864         * ob-R.el: Delete duplicated function.
19866 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19868         * ob.el (org-babel-execute-src-block): Remove unused flet
19869         function.
19871 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19873         * ob-asymptote.el (org-babel-execute:asymptote): Return nil to
19874         signal that the intended content has been written to file.
19876         * ob-ditaa.el (org-babel-execute:ditaa): Return nil to signal that
19877         the intended content has been written to file.
19879         * ob-dot.el (org-babel-execute:dot): Return nil to signal that the
19880         intended content has been written to file.
19882         * ob-gnuplot.el (org-babel-execute:gnuplot): Return nil to signal
19883         that the intended content has been written to file.
19885         * ob-latex.el (org-babel-execute:latex): Return nil to signal that
19886         the intended content has been written to file.
19888         * ob-mscgen.el (org-babel-execute:mscgen): Return nil to signal
19889         that the intended content has been written to file.
19891         * ob-octave.el (org-babel-execute:octave): Return result; not name
19892         of output file.
19894         * ob-plantuml.el (org-babel-execute:plantuml): Return nil to
19895         signal that the intended content has been written to file.
19897         * ob-python.el (org-babel-execute:python): Return result; not name
19898         of output file.
19900         * ob-ruby.el (org-babel-execute:ruby): Return result; not name of
19901         output file.
19903         * ob-sass.el (org-babel-execute:sass): Return nil if result has
19904         been written to file.
19906 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19908         * ob-R.el (org-babel-R-graphical-output-file): New function
19909         returns the name of the output file iff R has been instructed to
19910         send graphical output to file by means of the ":results graphics"
19911         directive.
19912         (org-babel-expand-body:R): Use `org-babel-R-graphical-output-file'
19913         when constructing the R code to evaluate, which may be augmented
19914         with code implementing the writing of graohical output to file.
19915         (org-babel-execute:R): Use `org-babel-R-graphical-output-file' to
19916         determine whether R is taking responsibility for writing output to
19917         file; if so, this is signaled to ob.el by returning a nil result.
19919 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19921         * ob.el (org-babel-format-result): New function to format results
19922         of src block execution.
19923         (org-babel-execute-src-block): Use `org-babel-format-result' when
19924         writing to file.
19925         (org-babel-open-src-block-result): Use `org-babel-format-result'
19926         when displaying results in a buffer.  Name results buffer
19927         differently.
19929 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19931         * ob.el (org-babel-execute-src-block): Avoid calling
19932         `orgtbl-to-generic' on number results.
19934 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
19936         * ob.el (org-babel-execute-src-block): Allow specification of
19937         table separator with :sep header argument.
19938         (org-babel-open-src-block-result): Allow specification of table
19939         separator with :sep header argument.
19941 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19943         * ob.el (org-babel-execute-buffer): Wipe error buffer at outset of
19944         executing buffer (note that this handles execute subtree also).
19946 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
19948         * org-inlinetask.el (org-inlinetask-in-task-p): Small refactoring,
19949         do not modify match data either.
19950         (org-inlinetask-goto-end): Small refactoring, remove
19951         case-sensitivity.
19952         (org-inlinetask-goto-beginning): Small refactoring, remove
19953         case-sensitivity.
19955 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19957         * org-capture.el (org-capture-set-target-location):
19958         Use `current-time'.
19960 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
19962         * org-capture.el (org-capture-set-target-location):
19963         Use `current-time'.
19965 2011-07-28  Bernt Hansen  <bernt@norang.ca>
19967         * org.el (org-before-first-heading-p): If point is on an org-mode
19968         heading line then we are not before the first heading.
19970 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
19972         * org-timer.el (org-timer-continue-hook): Define the variable
19973         (org-timer-pause-or-continue): Run hook after relative timer is
19974         continued.
19976 2011-07-28  Julien Danjou  <julien@danjou.info>
19978         * org-agenda.el (org-compile-prefix-format): Allow %() expression.
19980 2011-07-28  Julien Danjou  <julien@danjou.info>
19982         * org-capture.el (org-capture-fill-template): Use org-eval.
19984 2011-07-28  Julien Danjou  <julien@danjou.info>
19986         * org-agenda.el (org-eval): New function.
19988 2011-07-28  Dan Davison  <dandavison7@gmail.com>
19990         * ob.el (org-babel-execute-src-block): With :results file, when
19991         :file is not supplied, interpret result as a file link as long as
19992         it is a string.
19994 2011-07-28  David Maus  <dmaus@ictsoc.de>
19996         * org-latex.el (org-export-latex-preprocess): Don't convert link
19997         description parts that look like numeric footnote.
19999 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
20001         * org-latex.el (org-export-latex-tables): Allowing specification
20002         of tabular[xy] inner environments through the ATTR_LaTeX line.
20004 2011-07-28  Julien Danjou  <julien@danjou.info>
20006         * org-capture.el (org-capture-fill-template):
20007         Use `org-set-property' directly.
20009 2011-07-28  Julien Danjou  <julien@danjou.info>
20011         * org-agenda.el (org-agenda-prefix-format): Add missing `search'
20012         item in docstring.
20014 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
20016         * org-exp.el (org-export-string): Use `format' to construct
20017         function call to allow symbolic or string arguments.
20019 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20021         * org-capture.el (org-capture-place-entry):
20022         (org-capture-insert-template-here): Check tree for validity before
20023         pasting it.
20025 2011-07-28  Julien Danjou  <julien@danjou.info>
20027         * org-gnus.el (org-gnus-store-link): Trim date.
20029 2011-07-28  Julien Danjou  <julien@danjou.info>
20031         * org.el (org-email-link-description): Allow to retrieve email
20032         link date.
20034 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
20036         * org.el (org-make-target-link-regexp): `regexp-quote' target
20037         before replacing whitespace.
20039 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
20041         * ob.el (org-babel-expand-noweb-references): Noweb references can
20042         now be resolved from the library of babel.
20044 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
20046         * ob.el (org-babel-result-end): No longer leaving trailing new
20047         line after block removal.
20049 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20051         * org-latex.el (org-export-latex-first-lines): Anchor outline
20052         regexp during LaTeX tree export.
20054 2011-07-28  Konrad Hinsen  <konrad.hinsen@fastmail.net>
20056         * ob-python.el (org-babel-python-initiate-session-by-key):
20057         Make sure that py-which-bufname is initialized, as otherwise it will be
20058         overwritten the first time a Python buffer is created.
20060 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
20062         * ob-sh.el (org-babel-sh-var-to-sh): Better escaping of variables
20063         with spaces.
20065 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
20067         * ob-org.el (org-babel-execute:org): Padding code block with an
20068         empty title on LaTeX export.
20070 2011-07-28  Matt Lundin  <mdl@imapmail.org>
20072         * org.el (org-entry-properties): Stop scanning for timestamps if a
20073         specific timestamp property (e.g., DEADLINE, SCHEDULED, etc.) is
20074         requested and a match is found.  Also, if a specific timestamp
20075         property is requested, do not push non-relevant timestamps onto
20076         property list.
20078 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20080         * org-agenda.el (org-agenda-add-time-grid-maybe): Show time only
20081         when grid is being made for today.
20083 2011-07-28  Matt Lundin  <mdl@imapmail.org>
20085         * org-agenda.el (org-agenda-get-scheduled): Don't call
20086         `org-is-habit-p' until after checking for
20087         `org-agenda-skip-scheduled-if-done'.
20089 2011-07-28  Achim Gratz  <Stromeko@nexgo.de>
20091         * org.el: Remove spurious linebreak introduced by earlier patch.
20093         * ob.el, ob-ref.el: Remove double fix of the same problem.
20095 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20097         * org-table.el (orgtbl-ctrl-c-ctrl-c): Parse buffer for constants.
20099 2011-07-28  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>
20101         * org-html.el (org-export-html-mathjax-template):
20102         Displaymath environment and MathJax.
20104 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
20106         * org-faces.el (org-agenda-current-time): New face.
20108         * org-agenda.el (org-agenda-show-current-time-in-grid):
20109         (org-agenda-current-time-string): New options.
20110         (org-agenda-add-time-grid-maybe): Add current time to time grid.
20112 2011-05-10  Jim Meyering  <meyering@redhat.com>
20114         Fix doubled-word typos.
20115         * org-agenda.el (org-agenda-entry-types): the the -> the
20116         * org-table.el (org-table-get-remote-range): or or -> or
20117         * org-wl.el (org-wl-folder-type): the the -> the
20118         * org.el (org-goto, org-inside-LaTeX-fragment-p): Likewise.
20120 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20122         * org-src.el (org-src-switch-to-buffer):
20123         * org-plot.el (org-plot/gnuplot-script, org-plot/gnuplot):
20124         * org-mouse.el (org-mouse-agenda-type):
20125         * org-freemind.el (org-freemind-node-to-org):
20126         * ob-sql.el (org-babel-execute:sql):
20127         * ob-exp.el (org-babel-exp-do-export, org-babel-exp-code):
20128         * ob-ref.el (org-babel-ref-resolve): Fix use of case.
20130 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
20132         * Version 23.3 released.
20134 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
20136         * org.el (org-blank-before-new-entry, org-context-in-file-links)
20137         (org-refile-targets, org-log-repeat, org-insert-link)
20138         (org-speed-command-default-hook, org-speed-command-hook)
20139         (org-in-regexps-block-p, org-yank-generic, org-goto-first-child):
20140         Fix typos in docstrings.
20141         (org-toggle-pretty-entities): Fix typo in message.
20143 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
20145         * org-id.el: Don't set `kill-emacs-hook' on noninteractive sessions.
20147 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
20149         * org-remember.el (org-remember-mode-map):
20150         * org-src.el (org-src-mode-map): Move initialization into declaration.
20152 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
20154         * org-remember.el (org-remember-mode):
20155         * org-capture.el (org-capture-mode): Don't run hook redundantly.
20157 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
20159         * org-faces.el (org-link): Inherit from link face.
20160         Suggested by Joakim Verona.
20162 2010-12-11  Tassilo Horn  <tassilo@member.fsf.org>
20164         * org-footnote.el (org-footnote-create-definition): Place
20165         Footnotes section before message-signature-separator also in modes
20166         derived from message-mode.
20168 2010-12-11  Julien Danjou  <julien@danjou.info>
20170         * org.el (org-make-tags-matcher): Remove useless cat-p value.
20172 2010-12-11  Julien Danjou  <julien@danjou.info>
20174         * org.el (org-entry-properties): Enhance docstring.
20176 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20178         * org-list.el (org-list-top-point-with-indent)
20179         (org-list-bottom-point-with-indent): Pay also attention to
20180         'original-indentation property of text, as blocks are put to
20181         column 0 upon exporting.
20183 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20185         * ob.el (org-babel-remove-temporary-directory): Handle exception
20186         with message informing of failure to remove directory.
20188 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20190         * ob-clojure.el (org-babel-header-arg-names:clojure): Add
20191         `package' to the list of Clojure header arguments which will be read
20192         from heading properties.
20194 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20196         * org-inlinetask.el (org-inlinetask-export-templates): Add
20197         Sébastien Vauban's suggestion for LaTeX export in docstring.  This is
20198         not default as it requires an additional LaTeX package: "todonotes".
20200 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20202         * org-inlinetask.el (org-inlinetask-export-templates): New variable.
20204         * org-inlinetask.el (org-inlinetask-export-handler): Make use of
20205         templates to export inline tasks.
20207 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20209         * org.el (org-current-level): Ignore inline tasks when getting current
20210         level of entry.
20212 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20214         * org.el (org-indent-line-function): Ignore drawers inside inline
20215         tasks  if the line to indent isn't inside an inline task itself.
20217 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20219         * org-inlinetask.el (org-inlinetask-get-task-level): New function.
20221         * org-indent.el (org-indent-add-properties): Find true level of
20222         indentation wrt inline tasks.
20224 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20226         * org-inlinetask.el (org-inlinetask-outline-regexp): New function.
20228         * org-inlinetask.el (org-inlinetask-goto-beginning): New function.
20230         * org-inlinetask.el (org-inlinetask-goto-end): New function.
20232         * org.el (org-mark-subtree): New command.
20234         * org.el (org-speed-commands-default, org-mode-map): Make use of
20235         new command.
20237 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20239         * org-inlinetask.el (org-inlinetask-export-handler): Remove protection
20240         from @<span class...> so it can be removed during LaTeX export.
20242 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20244         * ob.el (org-babel-insert-result): More informative code block
20245         evaluation messages.
20247 2010-12-11  Matt Lundin  <mdl@imapmail.org>
20249         * org.el (org-make-heading-search-string): Optionally limit number
20250         of lines stored in file link search strings.
20251         (org-context-in-file-links): Add option to set to integer specifying
20252         number of lines.
20254 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20256         * org-capture.el (org-capture-finalize): New prefix argument
20257         STAY-WITH-CAPTURE.
20258         (org-capture-refile): Improve docstring.
20260 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20262         * ob-sql.el (org-babel-execute:sql): Add msosql as optional sql
20263         interaction engine.
20265 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20267         * org-agenda.el (org-agenda-list):
20268         (org-agenda-goto-today): Use `org-today'.
20270 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20272         * org-latex.el (org-export-latex-make-header): Swap \begin{document}
20273         and the title/author definitions.
20275 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20277         * org-macs.el: Better backup definition for
20278         `with-silent-modifications'.
20280 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20282         * ob-python.el (org-babel-execute:python): Rename "prefix" to
20283         "preamble".
20284         (org-babel-python-evaluate): Rename "prefix" to "preamble".
20285         (org-babel-python-evaluate-external-process): Rename "prefix" to
20286         "preamble".
20288 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20290         * ob.el (org-babel-examplize-region): Check if `end' is a marker
20291         or a point and handle appropriately.
20293 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20295         * ob-sql.el (org-babel-execute:sql): Explicitly set field
20296         separator to \t when importing tabular data.
20298 2010-12-11  Julien Danjou  <julien@danjou.info>
20300         * org-agenda.el (org-agenda-custom-commands-local-options):
20301         Allow org-agenda-span to be a symbol.
20302         (org-agenda-ndays): Make obsolete.
20303         (org-agenda-span): New variable superseding org-agenda-ndays.
20304         (org-agenda-menu): Use org-agenda-current-span.
20305         (org-agenda-current-span): New local variable storing current
20306         span.
20307         (org-agenda-list): Take a span instead of ndays as argument.
20308         This function is now responsible for computing the ndays based
20309         on span.
20310         (org-agenda-ndays-to-span): Return span only if number of days
20311         really matches.
20312         (org-agenda-span-to-ndays): New function.
20313         (org-agenda-manipulate-query): Use org-agenda-compute-starting-span.
20314         (org-agenda-goto-today): Use org-agenda-compute-starting-span.
20315         (org-agenda-later): Do not give compute a new span, use the
20316         current one.
20317         (org-agenda-day-view, org-agenda-week-view)
20318         (org-agenda-month-view, org-agenda-year-view): Stop touching
20319         org-agenda-ndays.
20320         (org-agenda-change-time-span): Only compute starting-span.
20321         (org-agenda-compute-starting-span): New function derived from
20322         the old org-agenda-compute-time-span.
20323         (org-agenda-set-mode-name): Compute mode based on
20324         org-agenda-current-span.
20325         (org-agenda-span-name): New function.
20327 2010-12-11  Robert Pluim  <rpluim@gmail.com>  (tiny change)
20329         * org-agenda.el (org-agenda-toggle-deadlines): Fix docstring.
20331 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20333         * org-clock.el (org-quarter-to-date): Define variables.
20334         (org-clock-special-range): Defin variables.  Use org-floor*.
20335         (org-clocktable-write-default): Define tcol.
20337         * org-compat.el (org-floor*): New function.
20339 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20340             John Wiegley  <jwiegley@gmail.com>
20342         * org-complete.el: New file.
20344 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20346         * org-clock.el (org-clocktable-write-default): Fix the % formula.
20348 2010-12-11  Matt Lundin  <mdl@imapmail.org>
20350         * org-agenda.el (org-format-agenda-item): The value of
20351         org-category is not converted to a string unless it is defined.
20353 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20355         * ob-python.el (org-babel-execute:python): Pass the new "prefix"
20356         header argument through to external evaluation.
20357         (org-babel-python-evaluate): Pass the new "prefix" header argument
20358         through to external evaluation.
20359         (org-babel-python-evaluate-external-process): When specified prepend
20360         "prefix" to the file used in external evaluation.
20362 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20364         * ob-python.el (org-babel-python-evaluate-session): Change python
20365         module name from 'pp' to 'pprint'.
20367 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20369         * ob-R.el (org-babel-R-evaluate-session): Removing empty lines
20370         from R session output, these are often the result of variable
20371         assignments.
20373 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20375         * ob-sql.el (orgtbl-to-csv): Declaring an external function to
20376         fix a compiler warning.
20378 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20380         * ob-eval.el (require): No longer require ob.el to allow
20381         requiring by ob.el.
20383         * ob.el (ob-eval): Require ob-eval.
20385 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20387         * ob.el (org-babel-confirm-evaluate): Show code block's name when
20388         it is available during evaluation query.
20390 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20392         * ob-sql.el (org-babel-expand-body:sql): Expand the body of a sql
20393         code block.
20394         (org-babel-execute:sql): Use sql specific body expansion function.
20395         (org-babel-sql-expand-vars): Insert variables into a sql code block.
20397 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20399         * ob.el (org-babel-insert-result): Using markers instead of
20400         points for more robust buffer anchors.
20402 2010-12-11  Julien Danjou  <julien@danjou.info>
20404         * org-capture.el: Use org-today.
20406 2010-12-11  Julien Danjou  <julien@danjou.info>
20408         * org-habit.el: Use org-today.
20410 2010-12-11  Julien Danjou  <julien@danjou.info>
20412         * org.el (org-auto-repeat-maybe): Use org-today.
20414 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20416         * org-clock.el (org-day-of-week): New function.
20417         (org-quarter-to-date): New function.
20418         (org-clock-special-range): Implement quarters.
20420 2010-12-11  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
20422         * org.el (org-complete-tags-always-offer-all-agenda-tags):
20423         Fix docstring.
20425 2010-12-11  Julien Danjou  <julien@danjou.info>
20427         * org-agenda.el (org-format-agenda-item): Convert category to a string
20428         if it is a symbol.  This fixes the following call to
20429         org-agenda-get-category-icon which fails if category is not a string.
20431 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20433         * ob-clojure.el: Updated requirements documentation to mention
20434         the minimum version of Clojure.
20435         (org-babel-expand-body:clojure): Fully qualified function name.
20437 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20439         * org-latex.el (org-export-latex-lists): Do not add an
20440         unnecessary newline character after a list.
20442         * org-list.el (org-list-bottom-point-with-indent): Ensure bottom
20443         point is just after a non blank line.
20445 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20447         * ob.el (org-babel-examplize-region): Remove old assertion which
20448         no longer applies to the result insertion code.
20450 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20452         * ob-python.el (org-babel-execute:python): Use a :return header
20453         argument for external evaluation in which the code block body need
20454         to be wrapped in a function.
20456 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20458         * ob-clojure.el (org-babel-expand-body:clojure): Trapped free
20459         variable.
20461 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20463         * org.el (org-edit-special): Edit formulas when in TBLMF line.
20465 2010-12-11  Allen S. Rout  <asr@ufl.edu>  (tiny change)
20467         * org-capture.el (org-capture-after-finalize-hook): New hook.
20468         (org-capture-finalize): Run the new hook.
20470 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20472         * ob-clojure.el (org-babel-expand-body:clojure): Support for
20473         pretty printing of Clojure code and data.
20475 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20477         * ob.el (org-babel-insert-result): No longer escape results which
20478         will be wrapped in a block.
20480 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20482         * ob-eval.el (org-babel-eval-wipe-error-buffer): Fix compiler
20483         warning and added documentation string.
20485 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20487         * ob-clojure.el (org-babel-execute:clojure): Remade using slime
20488         for all code evaluation.
20490 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20492         * org-beamer.el (org-beamer-sectioning): Allow overlay arguments for
20493         the column as well.
20495 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20497         * ob.el (org-babel-confirm-evaluate): More descriptive message
20498         when evaluation is aborted or disabled.
20500 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20502         * ob.el (org-babel-insert-result): Responds to new "wrap" header
20503         argument.
20504         (org-babel-merge-params): Includes new "wrap" header argument in
20505         one of the results header argument exclusive groups.
20507 2010-12-11  David Maus  <dmaus@ictsoc.de>
20509         * org-macs.el (with-silent-modifications): Fix condition for
20510         with-silent-modification.
20512 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20514         * ob.el (org-babel-parse-header-arguments): Stripping trailing
20515         spaces off of header arguments (even the first one).
20517 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20519         * ob-sh.el (org-babel-sh-var-to-sh): Wrap end token of heredoc in
20520         single quotes which is the best practice.
20521         (org-babel-sh-table-or-results): Use `org-babel-script-escape' for
20522         more robust parsing of shell output.
20524 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20526         * org.el (org-additional-option-like-keywords): Add more keywords,
20527         and colons to some old ones.
20529 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20531         * ob-eval.el (org-babel-error-buffer-name): Define new variable.
20533 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20535         * ob-python.el (org-babel-python-table-or-string):
20536         Using `org-babel-script-escape' for reading string input from scripting
20537         languages.
20539 2010-12-11  Achim Gratz  <Stromeko@nexgo.de>  (tiny change)
20541         * org-macs.el (org-called-interactively-p): Wrap function call in
20542         with-no-warnings.
20543         (with-silent-modifications): Declare macro for Emacs < 23.2.
20545 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20547         * ob.el (org-babel-parse-header-arguments): Remove addition of
20548         ":" to singleton first header arguments as it was leading to errors.
20550 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20552         * org-latex.el (org-export-latex-make-header): Run the title through
20553         `org-export-latex-fontify-headline'.
20554         (org-export-latex-fontify-headline): Do the protection of math
20555         snippets also here.
20557 2010-12-11  Richard Lawrence  <richard.lawrence@berkeley.edu>
20559         * org-latex.el (org-export-as-latex): Sent the section title
20560         through the preprocessor.
20562 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20564         * org-html.el (org-html-level-start): Mark listified headings
20565         with a custom id.
20567 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20569         * org.el (org-open-at-point): Don't do footnote action if cursor is
20570         on a bracket link.
20572 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20574         * org.el (org-edit-special): Check also for TBLFM line.
20576 2010-12-11  Achim Gratz  <Stromeko@Stromeko.DE>  (tiny change)
20578         * org-clock.el (org-get-clocktable): Previous patch incorrectly
20579         required whitespace in front of #+BEGIN: and #+END:.
20581 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20583         * org-src.el (org-edit-src-code): Allow region to be inherited by
20584         edit buffer when mark is one character beyond end of src block.
20586 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20588         * org-list.el (org-cycle-list-bullet): Ensure point is at bol before
20589         checking item indentation.
20591 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20593         * ob.el (org-babel-map-src-blocks): Move to earlier in the file
20594         and now autoloading.
20596 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20598         * ob-ref.el (org-babel-ref-at-ref-p): Use higher level function
20599         for testing list membership.
20601         * ob.el (org-babel-read-result): Use higher level function for
20602         testing list membership.
20603         (org-babel-result-end): Use higher level function for testing list
20604         membership.
20606 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20608         * ob-sqlite.el (ob-eval): Require ob-eval for external command
20609         execution.
20610         (org-babel-execute:sqlite): No longer uses the init option for
20611         passing commands to sqlite.
20613 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20615         * org.el (org-indent-line-function): Drawers and blocks have no
20616         influence on indentation of text below.  Also fix indentation
20617         problem with a block at column 0 and add a special case for
20618         literal examples.
20620 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20622         * ob.el (org-babel-map-src-blocks): Ensure that the file argument
20623         is only evaluated once.
20625 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20627         * ob-ref.el (org-babel-ref-resolve): Recognize `list' as a unique
20628         type of data
20629         (org-babel-ref-at-ref-p): Recognize `list' as a unique type of data.
20631 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20633         * ob-tangle.el (org-babel-load-file): Can be called interactively.
20635 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
20637         * org-table.el (orgtbl-after-send-table-hook): New hook.
20638         (orgtbl-ctrl-c-ctrl-c): Run `orgtbl-after-send-table-hook' when a
20639         table was sent.
20640         (orgtbl-send-table): Return the number of sent tables, or nil if no
20641         sending has happened.
20643 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20645         * org.el (org-get-priority-function): New option.
20646         (org-get-priority): Call `org-get-priority-function' if that
20647         has been set.
20649 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20651         * ob-table.el (org-babel-table-truncate-at-newline): Only add
20652         "..." if there is something after the newline.
20654 2010-12-11  Achim Gratz  <Stromeko@nexgo.de>  (tiny change)
20656         * org-clock.el (org-get-clocktable):
20657         (org-in-clocktable-p):
20658         (org-clocktable-shift):
20659         (org-clocktable-steps): Fix regexp to allow for indented clock tables.
20661 2010-12-11  Puneeth Chaganti  <punchagan@gmail.com>
20663         * org-exp.el (org-export-handle-include-files): Support :minlevel
20664         property.
20665         (org-get-file-contents): New argument minlevel to demote included
20666         content.
20668 2010-12-11  Noorul Islam  <noorul@noorul.com>
20670         * org-latex.el (org-export-latex-hyperref-format): New option.
20671         (org-export-latex-href-format): Rename the existing variable
20672         `org-export-latex-hyperref-format' as `org-export-latex-href-format'
20673         (org-export-latex-links): Use `org-export-latex-hyperref-format' and
20674         `org-export-latex-href-format'.
20676 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20678         * ob-calc.el (org-babel-execute:calc): Ensure the *Calculator*
20679         buffer exists before it is used.
20681 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20683         * org-exp.el (org-export-preprocess-string): Delay code block
20684         processing a bit to allow correct list parsing in the export string.
20686 2010-12-11  Christopher Allan Webber  <cwebber@dustycloud.org>
20688         * org-agenda.el (org-agenda-timegrid-use-ampm): New option.
20689         (org-agenda-time-of-day-to-ampm): New function.
20690         (org-agenda-time-of-day-to-ampm-maybe): New function.
20691         (org-format-agenda-item): Call org-agenda-time-of-day-to-ampm-maybe.
20693 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20695         * org-faces.el (org-cycle-level-faces): New option.
20697         * org.el (org-get-level-face): Honor org-cycle-level-faces.
20699 2010-12-11  Julien Danjou  <julien@danjou.info>
20701         * org-agenda.el (org-agenda-today): New function.
20702         (org-agenda-get-day-face): New function.
20703         (org-timeline): Use org-agenda-today and org-agenda-get-day-face.
20704         (org-agenda-list): Use org-agenda-today and org-agenda-get-day-face.
20705         (org-todo-list): Use org-agenda-today.
20706         (org-get-all-dates): Use org-agenda-today.
20707         (org-agenda-day-face-function): New variable.
20708         (org-agenda-get-day-face): Use org-agenda-day-face-function.
20710 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20712         * org.el (org-ctrl-c-ctrl-c): Consider sending a radio table also
20713         in Org.
20715 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20717         * org-html.el (org-export-as-html): Do not treat partially
20718         protected lines as if they were fully protected.
20720 2010-12-11  Dan Davison  <dandavison7@gmail.com>
20722         * org-exp.el (org-export-format-source-code-or-example):
20723         Remove hard-wired configuration of minted export
20724         (org-export-latex-minted-with-line-numbers): Remove variable.
20726 2010-12-11  Bastien Guerry  <bzg@gnu.org>
20728         * org-clock.el (org-dblock-write:clocktable): Fix double
20729         reference to `link' in let construct.
20730         (org-clock-clocktable-formatter): Fix typo in docstring.
20731         (org-clocktable-write-default): Fix typo in docstring.
20733 2010-12-11  David Maus  <dmaus@ictsoc.de>
20735         * org-protocol.el (org-protocol-unhex-string): Normalize percent
20736         escape sequence to upper case letters.
20738 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20740         * ob-lob.el (org-babel-lob-get-info): Include pass-through
20741         header arguments in results variable header argument string.
20743 2010-12-11  David Maus  <dmaus@ictsoc.de>
20745         * org-exp.el (org-export-visible): Limit search for in-buffer options
20746         beginning of first headline.
20748 2010-12-11  David Maus  <dmaus@ictsoc.de>
20750         * org.el (org-open-at-point): Remove stale link handler for news:
20751         links.
20753 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20755         * org-clock.el (org-clocktable-write-default): Better handling of
20756         narrowing.
20758 2010-12-11  Julien Danjou  <julien@danjou.info>
20760         * org-agenda.el (org-agenda-category-icon-alist): Fix defcustom type.
20762 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20764         * org.el (org-indent-line-function): Simplify code and remove bug that
20765         would insert a tab at the beginning of the line when trying to
20766         indent the item.
20768 2010-12-11  Julien Danjou  <julien@danjou.info>
20770         * org.el (org-diary-sexp-entry): Split sexp result strings at semicolon.
20772 2010-12-11  Julien Danjou  <julien@danjou.info>
20774         * org-agenda.el (org-agenda-prefix-format): Insert place holder
20775         for icon.
20776         (org-agenda-category-icon-alist): New option.
20777         (org-agenda-get-category-icon): New function.
20778         (org-format-agenda-item): Support for icons.
20779         (org-compile-prefix-format): Support for icons.
20781 2010-12-11  Julien Danjou  <julien@danjou.info>
20783         * org-compat.el: Create defalias for `string-match-p' and
20784         looking-at-p.
20786 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
20788         * ob-calc.el (org-babel-execute:calc): Support for variables --
20789         converts :var variables in calc variables.
20791 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20793         * org.el (org-sparse-tree): Mention [r] in dispatch menu.
20795 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20797         * org-list.el (org-list-parse-list): Use `org-looking-at-p'.
20799 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20801         * org-id.el (org-id-store-link): Test for org-mode before checking
20802         for IDs.
20804 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
20806         * org.el (org-shorten-string): New function.
20808         * org-exp.el (org-export-convert-protected-spaces): New function.
20809         (org-export-preprocess-string):
20810         Call `org-export-convert-protected-spaces' to handle new hard spaces.
20812 2010-12-11  David Maus  <dmaus@ictsoc.de>
20814         * org.el (org-narrow-to-subtree): Check for heading that ends at end
20815         of buffer.
20817 2010-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
20819         * org-capture.el (org-capture-templates): Remove autoload from
20820         defcustom.
20822         * ob-lisp.el (slime): Don't expect slime to be present.
20824 2010-11-11  Dan Davison  <dandavison7@gmail.com>
20826         * ob.el: `copy-sequence' suffices to copy alist; no need for
20827         `copy-tree'.
20829 2010-11-11  Dan Davison  <dandavison7@gmail.com>
20831         * ob.el (org-babel-execute-src-block): If ":results file" is in
20832         effect, then ensure that the value of :file is returned as the
20833         result; don't rely on language files for this.
20835 2010-11-11  Dan Davison  <dandavison7@gmail.com>
20837         * ob.el (org-babel-sha1-hash): Avoid corrupting `info' data
20838         structure by side-effects of `sort'.
20840 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20842         * org-list.el (org-list-bottom-point-with-indent): Do not check
20843         indentation of a non-empty blank line.
20845         * org-list.el (org-sort-list): Sort a list with point anywhere
20846         inside it.
20848 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20850         * ob-calc.el (org-babel-execute:calc): Safer evaluation and
20851         hopefully better error messages.
20853 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20855         * org.el (org-babel-load-languages): Adding calc.
20857 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20859         * ob.el (org-babel-initiate-session): Don't resolve variable
20860         references unless prefix arg is supplied.
20862 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20864         * ob-calc.el (org-babel-execute:calc): Ensure that calc stack
20865         refers to the correct stack.
20867 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20869         * ob-calc.el: Adding the beginnings of support for calc code
20870         blocks.
20872 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20874         * ob-tangle.el (org-babel-update-block-body): Declaring function
20875         for updating code block bodies.
20876         (org-babel-spec-to-string):
20877         (org-babel-detangle): Detangle all tangled and commented code
20878         blocks in the current file back to org.
20879         (org-babel-tangle-jump-to-org): Jump from a tangled and commented
20880         file back to the originating org-mode code block ob-tangle:
20881         detangle changes in code files back to the original org files.
20883 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20885         * ob-tangle.el (org-babel-tangle-comment-format-beg): Fix typo.
20886         (org-babel-tangle-comment-format-end): Fix typo.
20888 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20890         * org-exp.el (org-export-format-source-code-or-example):
20891         Use minted for latex source code export if `org-export-latex-listings'
20892         has the value 'minted.
20894         * org-latex.el (org-export-latex-listings): Document special value
20895         'minted.
20897         * org-latex.el (org-export-latex-minted): Delete variable.
20899 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20901         * ob.el (org-babel-get-src-block-info): Retrieve contents of
20902         parentheses, excluding parentheses themselves.
20904 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20906         * ob-gnuplot.el (org-babel-variable-assignments:gnuplot):
20907         Fix bug in gnuplot data file assignment using user variables.
20909 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20911         * ob-latex.el (org-babel-execute:latex): Adding new :headers
20912         header argument for latex code blocks.
20914 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20916         * org-capture.el (org-capture-templates): New capture property
20917         `:kill-buffer'.
20918         (org-capture-finalize): Kill target buffer if that is desired.
20919         (org-capture-target-buffer): Remember if we have to make the buffer.
20921 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20923         * org-clock.el (org-dblock-write:clocktable): Fix bug when
20924         computing clock tables.
20926 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20928         * org-clock.el (org-dblock-write:clocktable): Pass file minutes up
20929         to caller even if no table is generated.
20931 2010-11-11  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>
20933         * org-agenda.el (org-agenda-get-sexps): Handle lists as return
20934         values from diary entries.
20936         * org-bbdb.el (org-bbdb-anniversaries): Handle lists of
20937         anniversaries.
20939         * org.el (org-diary-sexp-entry): Handle lists as return values
20940         from diary entries.
20942 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20944         * org-capture.el (org-capture-empty-lines-before):
20945         (org-capture-empty-lines-after): Make sure the n=0 does not insert
20946         any newlines.
20948 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20950         * ob-clojure.el (org-babel-clojure-babel-clojure-cmd): Fix error
20951         message when clojure binary is not found.
20953 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20955         * org-html.el (org-format-table-html): New argument DOCBOOK.
20956         (org-format-org-table-html): New argument DOCBOOK.  When set, use
20957         align instead of class to align table fields.
20959         * org-docbook.el (org-export-as-docbook): Specify the docbook
20960         argument for the table converter.
20962 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20964         * org-macs.el (org-called-interactively-p): New macro.
20966         * org-freemind.el: No longer require 'rx.
20967         (org-freemind): New customization group, use it for all the
20968         variables.
20969         (org-export-as-freemind): Add docstring.
20970         (org-freemind-show): Improve filen naming.
20971         (org-freemind-convert-links-helper): New function.
20972         (org-freemind-bol-helper-base-indent): New variable.
20973         (org-freemind-bol-helper): New function.
20974         (org-freemind-node-css-style): New option.
20975         (org-freemind-node-pattern): New variable.
20976         (org-freemind-from-org-mode): Better docstring.
20978 2010-11-11  David Maus  <dmaus@ictsoc.de>
20980         * ob-haskell.el (org-babel-variable-assignments:haskell):
20981         Don't pass more than two arguments to mapc.
20983 2010-11-11  David Maus  <dmaus@ictsoc.de>
20985         * ob.el (org-babel-ref-resolve): Declare to silence byte compiler.
20987 2010-11-11  David Maus  <dmaus@ictsoc.de>
20989         * org-footnote.el (message-signature-separator): Defvar to silence
20990         byte compiler.
20992 2010-11-11  David Maus  <dmaus@ictsoc.de>
20994         * org-exp.el (org-export-string): Fix reference to wrong symbol.
20996 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>
20998         * org.el (org-link-search): Return 'dedicated on successful match
20999         when org-link-search-must-match-exact-headline is set to t.
21001 2010-11-11  Daniel Clemente  <n142857@gmail.com>
21003         * org-html.el (org-html-make-link): Append fragment to file: links
21004         if present.
21006 2010-11-11  Tassilo Horn  <tassilo@member.fsf.org>
21008         * org-footnote.el (org-footnote-create-definition)
21009         (org-footnote-goto-local-insertion-point): Add footnotes before
21010         signature when in message-mode.
21012 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21014         * org.el (org-display-inline-images): Improve regexp.
21016 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21018         * org.el (org-cycle): Make sure resetting to startup visibility
21019         works after another cycle command.
21021 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21023         * org-exp.el (org-export-string): New function org-export-string
21024         can be used to convert a string of test in org-mode markup to a
21025         specified format.
21027 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21029         * org.el (org-display-inline-images): Allow non-ASCII characters
21030         in image file names.  Save match data.
21032 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21034         * org.el (org-auto-repeat-maybe): Fix shifting multiple time
21035         stamps.
21037 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21039         * org-exp.el (org-store-forced-table-alignment):
21040         (org-export-remove-special-table-lines): Allow the "c" cookie for
21041         table alignment.
21043         * org-html.el (org-export-table-header-tags):
21044         (org-export-table-data-tags): Add another %s format for the
21045         alignment.
21046         (org-export-html-table-align-individual-fields): New option.
21047         (org-format-org-table-html): Implement field-by-field alignment
21048         and support centering.
21049         (org-format-table-table-html): Make sure the new table tag formats
21050         don't break this function.
21052         * org-table.el (org-table-cookie-line-p):
21053         (org-table-align): Allow for the <c> cookie.
21055         * org.el (org-set-font-lock-defaults): Allow for the <c> cookie.
21057 2010-11-11  David Maus  <dmaus@ictsoc.de>
21059         * org-exp.el (org-export-normalize-links): Skip normalization of
21060         plain links that are part of another link.
21062 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21064         * ob-R.el (org-babel-expand-body:R): Fix bug in let binding.
21066 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21068         * org-indent.el (org-indent-add-properties):
21069         Use `with-silent-modifications'.
21070         (org-indent-remove-properties): Use `with-silent-modifications'.
21072 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21074         * org-table.el (org-table-cookie-line-p): Fix indentation.
21076         * org-exp.el (org-store-forced-table-alignment): New function.
21077         (org-export-preprocess-string):
21078         Call `org-store-forced-table-alignment'.
21080         * org-html.el (org-format-org-table-html): Use stored alignment
21081         information.
21083 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21085         * ob.el (org-babel-execute-src-block): Respects prefix argument
21086         (which forces re-calculation).
21088 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21090         * ob.el (org-babel-execute-src-block): Remove needless param
21091         sorting from ob-execute-src-block, the params are sorted already
21092         by ob-sha1-hash.
21094 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21096         * ob.el (org-babel-sha1-hash): Ensure that info is sorted at the
21097         header argument level.
21099 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21101         * ob.el (org-babel-sha1-hash): Consider words in different order
21102         as different input.
21104 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21106         * ob.el (org-babel-sha1-hash): Fix check for zero length sequences.
21108 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21110         * ob-sh.el (org-babel-sh-var-to-sh): Ensure value has the
21111         structure of an Org-mode table (list of lists).
21113 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21115         * ob-tangle.el (org-babel-tangle-collect-blocks): Fix bug
21116         (reference to unassigned variable `src-lang' and avoid calling
21117         org-babel-get-src-block-info twice.
21119 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21121         * ob.el (org-babel-demarcate-block): Update to reflect the new
21122         info list contents.
21124 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21126         * org-src.el (org-edit-src-code): Supply non-nil argument to
21127         `org-babel-get-src-block-info' to avoid resolving variable
21128         references.
21130 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21132         * ob.el (org-babel-map-src-blocks): Fix minor bug in and
21133         improved efficiency of org-babel-map-src-blocks.
21135 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21137         * ob-tangle.el (org-babel-tangle-collect-blocks): Now explicitly
21138         checks that a code block will actually be tangled before
21139         collecting it's full information (a process which could involve
21140         the execution of other code blocks).
21142 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21144         * ob.el (org-babel-demarcate-block): Use light version of
21145         `org-babel-get-src-block-info'.
21147 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21149         * ob.el (org-babel-sha1-hash): Now handles more complex types in
21150         params.
21152 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21154         * ob.el (org-babel-execute-src-block): Generally using the new
21155         more informative params
21156         (org-babel-process-params): Don't forget the :var portion of
21157         variable assignments.
21159 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21161         * ob-table.el (sbe): Simplify to reflect to var resolution.
21163 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21165         * ob-ref.el (org-babel-ref-resolve): Bringing the referent
21166         arguments back to their params before evaluation.
21168 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21170         * ob-ref.el (org-babel-ref-resolve): Cleanup of variable usage and
21171         indentation.
21173 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21175         * ob-table.el (sbe): Use `org-babel-process-params params' instead
21176         of `org-babel-expand-variables'.
21178 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21180         * ob-C.el (org-babel-C-execute): Remove call to
21181         org-babel-process-params which should no longer be called from
21182         within a language file.
21184         * ob-R.el (org-babel-execute:R): Remove call to
21185         org-babel-process-params which should no longer be called from
21186         within a language file
21187         (org-babel-R-variable-assignments): Remove call to
21188         org-babel-process-params which should no longer be called from
21189         within a language file.
21191         * ob-asymptote.el (org-babel-execute:asymptote): Remove call to
21192         org-babel-process-params which should no longer be called from
21193         within a language file.
21195         * ob-clojure.el (org-babel-execute:clojure): Remove call to
21196         org-babel-process-params which should no longer be called from
21197         within a language file.
21199         * ob-dot.el (org-babel-execute:dot): Remove call to
21200         org-babel-process-params which should no longer be called from
21201         within a language file.
21203         * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp): Remove
21204         call to org-babel-process-params which should no longer be called
21205         from within a language file
21206         (org-babel-execute:emacs-lisp): Remove call to
21207         org-babel-process-params which should no longer be called from
21208         within a language file.
21210         * ob-haskell.el (org-babel-execute:haskell): Remove call to
21211         org-babel-process-params which should no longer be called from
21212         within a language file.
21214         * ob-js.el (org-babel-execute:js): Remove call to
21215         org-babel-process-params which should no longer be called from
21216         within a language file.
21218         * ob-lisp.el (org-babel-execute:lisp): Remove call to
21219         org-babel-process-params which should no longer be called from
21220         within a language file.
21222         * ob-ocaml.el (org-babel-execute:ocaml): Remove call to
21223         org-babel-process-params which should no longer be called from
21224         within a language file.
21226         * ob-octave.el (org-babel-execute:octave): Remove call to
21227         org-babel-process-params which should no longer be called from
21228         within a language file.
21230         * ob-perl.el (org-babel-execute:perl): Remove call to
21231         org-babel-process-params which should no longer be called from
21232         within a language file.
21234         * ob-python.el (org-babel-execute:python): Remove call to
21235         org-babel-process-params which should no longer be called from
21236         within a language file.
21238         * ob-ruby.el (org-babel-execute:ruby): Remove call to
21239         org-babel-process-params which should no longer be called from
21240         within a language file.
21242         * ob-scheme.el (org-babel-execute:scheme): Remove call to
21243         org-babel-process-params which should no longer be called from
21244         within a language file.
21246         * ob-screen.el (org-babel-execute:screen): Remove call to
21247         org-babel-process-params which should no longer be called from
21248         within a language file
21249         (org-babel-prep-session:screen): Remove call to
21250         org-babel-process-params which should no longer be called from
21251         within a language file.
21253         * ob-sh.el (org-babel-execute:sh): Remove call to
21254         org-babel-process-params which should no longer be called from
21255         within a language file.
21257         * ob-sql.el (org-babel-execute:sql): Remove call to
21258         org-babel-process-params which should no longer be called from
21259         within a language file.
21261         * ob-haskell.el (org-babel-execute:haskell): Remove reference to
21262         processed params.
21264         * ob-clojure.el (org-babel-execute:clojure): Remove reference to
21265         processed params.
21267         * ob-R.el (org-babel-execute:R): Remove reference to processed
21268         params.
21270 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21272         * ob-sql.el (org-babel-execute:sql): Use generic expansion
21273         function
21274         (org-babel-expand-body:sql): Delete function.
21276 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21278         * ob-sh.el (org-babel-execute:sh): Use generic expansion function
21279         (org-babel-expand-body:sh): Delete function
21280         (org-babel-prep-session:sh): Change name of called function
21281         (org-babel-variable-assignments:sh): Change function name.
21283 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21285         * ob-screen.el (org-babel-execute:screen): Use generic expansion
21286         function
21287         (org-babel-expand-body:screen): Delete function
21288         (org-babel-prep-session:screen): Remove references to processed
21289         params.
21291 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21293         * ob-sass.el (org-babel-execute:sass): Use generic expansion
21294         function
21295         (org-babel-expand-body:sass): Delete function.
21297 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21299         * ob-ruby.el (org-babel-execute:ruby): Use generic expansion
21300         function
21301         (org-babel-prep-session:ruby): Use new variable assignment
21302         function
21303         (org-babel-variable-assignments:ruby): New function
21304         (org-babel-expand-body:ruby): Delete function.
21306 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21308         * ob-python.el (org-babel-execute:python): Use generic expansion
21309         function
21310         (org-babel-prep-session:python): Change name of called function
21311         (org-babel-variable-assignments:python): Change function name
21312         (org-babel-expand-body:python): Delete function.
21314 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21316         * ob-plantuml.el (org-babel-expand-body:plantuml): Delete function
21317         (automatically handled by generic version).
21319 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21321         * ob-perl.el (org-babel-execute:perl): Use generic expansion
21322         function
21323         (org-babel-expand-body:perl): Delete function
21324         (org-babel-variable-assignments:perl): New function.
21326 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21328         * ob-org.el (org-babel-expand-body:org): Delete function
21329         (automatically handled by generic version).
21331 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21333         * ob-octave.el (org-babel-execute:octave): Use generic expansion
21334         function
21335         (org-babel-variable-assignments:octave): Change name of function
21336         (org-babel-variable-assignments:matlab): New defalias
21337         (org-babel-prep-session:octave): Change name of function
21338         (org-babel-expand-body:matlab): Delete function
21339         (org-babel-expand-body:octave): Delete function.
21341 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21343         * ob-ocaml.el (org-babel-execute:ocaml): Use generic expansion
21344         function
21345         (org-babel-variable-assignments:ocaml): New function
21346         (org-babel-expand-body:ocaml): Delete function.
21348 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21350         * ob-mscgen.el (org-babel-expand-body:mscgen): Delete function
21351         (automatically handled by generic version).
21353 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21355         * ob-js.el (org-babel-execute:js): Use new variable assignment
21356         function
21357         (org-babel-expand-body:js): Delete function
21358         (org-babel-prep-session:js): Use new variable assignment function
21359         (org-babel-variable-assignments:js): New function.
21361 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21363         * ob-haskell.el (org-babel-execute:haskell): Use generic expansion
21364         function
21365         (org-babel-expand-body:haskell): Delete function
21366         (org-babel-prep-session:haskell): Use variable assignment function
21367         (org-babel-variable-assignments:haskell): New function.
21369 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21371         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Use variable
21372         assignment function
21373         (org-babel-prep-session:gnuplot): Use variable assignment function
21374         (org-babel-variable-assignments:gnuplot): New function.
21376 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21378         * ob-ditaa.el (org-babel-expand-body:ditaa): Delete function
21379         (automatically handled by generic version).
21381 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21383         * ob-css.el (org-babel-expand-body:css): Delete function
21384         (automatically handled by generic version).
21386 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21388         * ob-asymptote.el (org-babel-execute:asymptote): Use generic
21389         expansion function
21390         (org-babel-expand-body:asymptote): Delete function
21391         (org-babel-variable-assignments:asymptote): New function.
21393 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21395         * ob-R.el (org-babel-expand-body:R): Use new function
21396         `org-babel-variable-assignments:R'; don't trim body.
21397         (org-babel-execute:R): Respond to changes in
21398         `org-babel-expand-body:R'
21399         (org-babel-prep-session:R): Called function is now named
21400         `org-babel-variable-assignments:R'
21401         (org-babel-variable-assignments:R): Receives processed-params as
21402         new optional argument.
21404 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21406         * ob-C.el (org-babel-C-expand): Don't trim body.
21408 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21410         * ob-scheme.el (org-babel-expand-body:scheme): Fix bug in
21411         obtaining variable references.
21413 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21415         * ob-tangle.el (org-babel-tangle-collect-blocks): Supply variable
21416         assignment lines to generic expansion command.
21418 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21420         * ob.el (org-babel-expand-src-block): Supply variable assignment
21421         lines to generic expansion function
21422         (org-babel-expand-body:generic): Prepend body with optional
21423         variable assignment lines.
21425 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21427         * ob-exp.el (org-babel-exp-results): Replace old function call.
21429 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21431         * ob-lob.el (org-babel-lob-execute): Now expanding variable
21432         references before execution.
21434 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21436         * ob.el (org-babel-execute-src-block): Only sort parameters if
21437         it's required for caching.
21439 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21441         * ob-table.el (sbe): Reworking for better indentation and to
21442         integrate the new variable resolution.
21444 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21446         * ob-ref.el (org-babel-ref-resolve-reference): Now expanding
21447         variables when resolving references.
21449 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21451         * ob.el (org-babel-merge-params): Fix order or precedence for
21452         variables.
21454 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21456         * ob-C.el (org-babel-expand-body:c++, org-babel-C-expand):
21457         * ob-R.el (org-babel-expand-body:R, org-babel-execute:R)
21458         (org-babel-R-variable-assignments):
21459         * ob-asymptote.el (org-babel-expand-body:asymptote)
21460         (org-babel-execute:asymptote):
21461         * ob-clojure.el (org-babel-expand-body:clojure)
21462         (org-babel-execute:clojure):
21463         * ob-css.el (org-babel-expand-body:css):
21464         * ob-ditaa.el (org-babel-expand-body:ditaa):
21465         * ob-dot.el (org-babel-expand-body:dot, org-babel-execute:dot):
21466         * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp)
21467         (org-babel-execute:emacs-lisp):
21468         * ob-gnuplot.el (org-babel-expand-body:gnuplot)
21469         * ob-haskell.el (org-babel-expand-body:haskell)
21470         (org-babel-execute:haskell, org-babel-load-session:haskell)
21471         (org-babel-prep-session:haskell):
21472         * ob-js.el (org-babel-expand-body:js, org-babel-execute:js):
21473         * ob-latex.el (org-babel-expand-body:latex):
21474         * ob-lisp.el (org-babel-expand-body:lisp, org-babel-execute:lisp):
21475         * ob-mscgen.el (org-babel-expand-body:mscgen):
21476         * ob-ocaml.el (org-babel-expand-body:ocaml, org-babel-execute:ocaml):
21477         * ob-octave.el (org-babel-expand-body:matlab)
21478         (org-babel-expand-body:octave, org-babel-execute:octave)
21479         (org-babel-octave-variable-assignments):
21480         * ob-org.el (org-babel-expand-body:org):
21481         * ob-perl.el (org-babel-expand-body:perl, org-babel-execute:perl):
21482         * ob-plantuml.el (org-babel-expand-body:plantuml):
21483         * ob-python.el (org-babel-expand-body:python, org-babel-execute:python)
21484         (org-babel-python-variable-assignments):
21485         * ob-ruby.el (org-babel-expand-body:ruby, org-babel-execute:ruby):
21486         * ob-sass.el (org-babel-expand-body:sass):
21487         * ob-scheme.el (org-babel-expand-body:scheme, org-babel-execute:scheme):
21488         * ob-screen.el (org-babel-expand-body:screen):
21489         * ob-sh.el (org-babel-expand-body:sh, org-babel-execute:sh)
21490         (org-babel-sh-variable-assignments):
21491         * ob-sql.el (org-babel-expand-body:sql):
21492         * ob-sqlite.el (org-babel-expand-body:sqlite, org-babel-execute:sqlite):
21493         * ob.el (org-babel-expand-body:generic):
21494         Remove obsoleted optional third argument.
21496 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21498         * ob-clojure.el (org-babel-prep-session:clojure): Purging all
21499         calls to removed org-babel-ref-variables.
21501 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21503         * ob-lob.el (org-babel-lob-ingest): Now returns the count of
21504         ingested code blocks.
21506 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21508         * ob-exp.el (org-babel-exp-in-export-file): Wrapper for collecting
21509         information from within the original export file.
21511 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21513         * ob.el (org-babel-get-src-block-info): Small but crucial fix)
21514         (this should return nil if not match found.
21516 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21518         * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp):
21519         Whitespace (org-babel-execute:emacs-lisp): Whitespace.
21521 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21523         * ob-sh.el (org-babel-sh-variable-assignments): Provide missing
21524         docstring.
21526         * ob-python.el (org-babel-python-variable-assignments):
21527         Provide missing docstring.
21529 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21531         * ob-octave.el (org-babel-expand-body:octave): Refactor: break
21532         variable assignment part out into a separate function
21533         (org-babel-octave-variable-assignments): New function constructing
21534         list of variable assignment statements
21535         (org-babel-prep-session:octave): Use new function
21536         `org-babel-octave-variable-assignments' instead of previous
21537         (incorrect) variable assignment code.
21539 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21541         * ob-sh.el (org-babel-expand-body:sh): Refactor: break variable
21542         assignment part out into a separate function
21543         (org-babel-sh-variable-assignments): New function constructing
21544         list of variable assignment statements
21545         (org-babel-prep-session:sh): Use new function
21546         `org-babel-sh-variable-assignments' instead of previous
21547         (incorrect) variable assignment code.
21549 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21551         * ob-python.el (org-babel-expand-body:python): Refactor: break
21552         variable assignment part out into a separate function
21553         (org-babel-python-variable-assignments): New function constructing
21554         list of variable assignment statements
21555         (org-babel-prep-session:python): Use new function
21556         `org-babel-python-variable-assignments' instead of previous
21557         (incorrect) variable assignment code.
21559 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21561         * ob-R.el (org-babel-expand-body:R): Refactor: break variable
21562         assignment part out into a separate function
21563         (org-babel-R-variable-assignments): New function constructing list
21564         of variable assignment statements
21565         (org-babel-prep-session:R): Use new function
21566         `org-babel-R-variable-assignments' instead of previous
21567         (incorrect) variable assignment code.
21569 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21571         * ob.el (org-babel-initiate-session): Better variable names.
21573 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21575         * ob.el (org-number-sequence):
21576         Declared * ob-R.el (org-number-sequence): Declared.
21578 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21580         * ob.el (org-babel-map-src-blocks): Store correct value of
21581         `end-block'.
21583 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21585         * ob.el (org-babel-mark-block): New function to mark the body of a
21586         src block in the style of `mark-defun'.
21588 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21590         * org-compat.el (org-number-sequence): New function.
21592         * ob-R.el (org-babel-expand-body:R): Use `org-number-sequence'.
21594         * ob.el (org-babel-where-is-src-block-result):
21595         Use `org-number-sequence'.
21596         (org-babel-current-buffer-properties): Fix variable definition.
21598         * ob-ref.el (org-babel-ref-index-list): Use `org-number-sequence'.
21600         * ob-latex.el (org-babel-latex-tex-to-pdf): Use the 2-argument
21601         version of `shell-command'.
21603         * org-latex.el (org-export-as-pdf): Use the 2-argument version of
21604         `shell-command'.
21606 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21608         * org-list.el (org-list-search-unenclosed-generic): Replace call
21609         to booleanp.
21611 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21613         * org.el (org-agenda-jump-prefer-future): New option.
21615         * org-agenda.el (org-agenda-goto-date):
21616         Use `org-agenda-jump-prefer-future'.
21618 2010-11-11  Noorul Islam  <noorul@noorul.com>
21620         * org-latex.el (org-export-latex-links): Replace hard coded
21621         hyperref format with custom variable
21622         `org-export-latex-hyperref-format'.
21624 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21626         * org.el (org-insert-heading): Fix docstring.
21628 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
21630         * org-capture.el (org-capture-place-entry): If the first line is
21631         already a headline, just stay there.
21633 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21635         * ob-sh.el (org-babel-sh-evaluate): No longer assumes that results
21636         are non-nil.
21638 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21640         * org-ascii.el (org-ascii-replace-entities): Match an optional {}
21641         after an entity.
21643 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21645         * org-table.el (orgtbl-to-html): Apply `org-html-expand' to the
21646         table fields.
21648 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21650         * org.el (org-insert-heading): When on the headline of an inline
21651         task, insert another inline tasks.
21653 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21655         * ob-tangle.el (org-babel-tangle-collect-blocks): Only create
21656         links for blocks that will actually tangle.
21658 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21660         * ob-sh.el (org-babel-expand-body:sh): Don't insert extra newlines
21661         in expanded shell bodies.
21663 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21665         * ob-sh.el (org-babel-expand-body:sh): Avoid inserting extra
21666         newline characters.
21668 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21670         * ob-sh.el (org-babel-expand-body:sh): Align code.
21672 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21674         * ob.el (org-babel-params-from-properties): Max line with at <=80.
21676 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21678         * org-latex.el (org-export-latex-listings-langs): Clojure is now
21679         recognized as a lisp.
21681 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21683         * ob.el (org-babel-params-from-properties): Use `org-babel-read'
21684         to interpret property as header argument value.
21686 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21688         * ob.el (org-babel-parse-header-arguments): Simplify reading of
21689         header arg value.
21691 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21693         * org-publish.el (org-publish-org-to-ascii):
21694         (org-publish-org-to-latin1):
21695         (org-publish-org-to-utf8): New functions.
21697 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21699         * org.el (org-insert-heading): Skip inline tasks when trying to
21700         insert a new heading after the end of the subtree.
21702 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21704         * org-inlinetask.el (org-inlinetask-min-level): Set customization
21705         type to integer or nil.
21707         * org.el (org-insert-heading): When after an inline task, do not
21708         use level but go back to headline level before the inline task.
21710 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21712         * org-inlinetask.el (org-inlinetask-in-task-p): New function.
21714         * org.el (org-indent-line-function): Fix indentation of inline
21715         tasks.
21717 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21719         * org.el (org-activate-links): Fix customize type.
21721 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21723         * org-latex.el (org-latex-to-pdf-process): Add rubber as another
21724         default option.
21726 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21728         * org-latex.el (org-export-latex-minted): Document pygments
21729         dependency.
21731 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21733         * org-mobile.el (org-mobile-create-index-file): Encrypt the index
21734         file if encryption has been turned on.
21735         (org-mobile-copy-agenda-files): Avoid double encryption of
21736         `mobileorg.org'.
21738 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21740         * org-exp.el (org-export-latex-minted-with-line-numbers):
21741         Ensure that variable is declared.
21743 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21745         * ob-python.el (org-src-preserve-indentation): Fix compiler
21746         warning.
21748 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21750         * org-exp.el (org-export-format-source-code-or-example):
21751         Latex formatting of source code blocks using the minted package
21752         (org-export-plist-vars): Add :latex-minted property
21753         (org-export-latex-minted): Ensure variable is defined
21754         (org-export-latex-minted-langs): Ensure variable is defined.
21756 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21758         * org-src.el (org-edit-src-code): Use `org-region-active-p'.
21760 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21762         * ob-tangle.el (org-babel-spec-to-string): Whitespace changes.
21764 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21766         * ob-tangle.el (org-babel-spec-to-string): Don't trim whitespace
21767         when `org-src-preserve-indentation' is non-nil.
21769 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21771         * ob-lob.el (org-babel-lob-ingest): Provide message stating number
21772         of blocks added to Library of Babel.
21774 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21776         * ob-lob.el (org-babel-lob-ingest): Check for nil source block
21777         name.
21779 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21781         * org-beamer.el (org-beamer-place-default-actions-for-lists):
21782         Fix typo in regexp.
21784 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21786         * org-list.el (org-toggle-checkbox): Avoid some boundary error
21787         when inserting a checkbox in an empty last item of a list.
21789 2010-11-11  David Maus  <dmaus@ictsoc.de>
21791         * org-gnus.el (org-gnus-nnimap-query-article-no-from-file):
21792         Query article number from file is nil by default.
21794 2010-11-11  Stephen Eglen  <S.J.Eglen@damtp.cam.ac.uk>
21796         * org-beamer.el (org-beamer-amend-header): Fix typo in docstring.
21798 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21800         * org-capture.el (org-capture-place-entry): Move to `beg' before
21801         searching for `%?'.
21803 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21805         * org.el (org-format-latex): Fix mathjax treatment of single
21806         letters in between dollars.
21808 2010-11-11  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
21810         * org-latex.el (org-latex-to-pdf-process): Add a third pdflatex
21811         run.
21813 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21815         * org.el (org-blank-before-new-entry): Improve docstring.
21817 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21819         * org-mobile.el (org-mobile-force-id-on-agenda-items):
21820         Fix docstring.
21821         (org-mobile-write-agenda-for-mobile): Use outline path if we do
21822         not have an ID and are not allowed to make one.
21823         (org-mobile-get-outline-path-link): New function.
21825 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21827         * org-mobile.el (org-mobile-copy-agenda-files): Encrypt the empty
21828         file.
21829         (org-mobile-write-agenda-for-mobile): Use the right name, even if
21830         the file get encrypted.
21831         (org-mobile-move-capture): Only delete tempfile if it does exist.
21833 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21835         * ob.el (org-babel-number-p): Fix documentation string.
21837 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21839         * ob-tangle.el (org-babel-tangle-collect-blocks): Accepting
21840         "tangle" as a positive argument for the :noweb header argument
21841         during tangling.
21843 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21845         * ob-exp.el (org-babel-exp-src-blocks): Fix export when headings
21846         have links, with tests.
21848 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21850         * org-latex.el (org-latex-to-pdf-process): Use texi2dvi if
21851         available.
21852         (org-export-latex-get-error): New function.
21853         (org-export-as-pdf): Give an indication of the errors that
21854         happened during processing.
21856 2010-11-11  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>
21858         * org-exp.el (org-export-language-setup): Fix Polish entries.
21860 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21862         * org.el (org-set-tags): Allow comma as a separator when
21863         specifying tags at the completion interface.
21864         (org-tags-completion-function): Allow comma as a separator when
21865         specifying tags at the completion interface.
21867 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21869         * ob-exp.el (org-babel-exp-src-blocks): Don't jump back to
21870         export-file if exporting from a buffer which is not visiting a
21871         file.
21873 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21875         * ob-exp.el (org-babel-exp-src-blocks): Only append "::" to a file
21876         name in link construction if there is a heading to follow it.
21878 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21880         * org-html.el (org-export-html-inline-image-extensions): Add "svg"
21881         as an allowed extension.
21883 2010-11-11  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
21885         * org-agenda.el (org-agenda-add-time-grid-maybe): Pad clock times
21886         with zeros.  Start applying face earlier.
21888 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21890         * ob.el (or): Don't create org-babel-temporary-directory in batch
21891         as it won't be removed by emacs-kill-hook
21892         (org-babel-remove-temporary-directory): Only try to remove this
21893         directory if it exists.
21895 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21897         * ob.el (org-babel-temporary-directory): Fixing byte-compilation
21898         warning in ob.el.
21900 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21902         * ob-tangle.el (org-babel-tangle): Now sharing the file name in
21903         the tangling message.
21905 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21907         * ob.el (org-babel-load-languages): Fixes compiler warning.
21909 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21911         * ob-plantuml.el (org-babel-execute:plantuml): Fixes bug with svg
21912         output.
21914 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21916         * org-ascii.el (org-export-as-ascii): Use the correct match group.
21918 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21920         * ob.el (boundp): Uncommenting defvar form for
21921         org-babel-temporary-directory
21922         (org-babel-temp-file): Now using the org-babel-temporary-directory
21923         for holding new babel temporary files
21924         (org-babel-remove-temporary-directory): Removes the babel temp dir
21925         when Emacs shutsdown
21926         (kill-emacs-hook): Now removing the babel temp dir on Emacs
21927         shutdown.
21929 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21931         * org-capture.el (org-capture-fill-template): Initialize history
21932         variable.
21934 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21936         * org-src.el (org-edit-src-code): Don't move point when generating
21937         edit buffer.
21939 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21941         * org-src.el (org-edit-src-code): Deal with point being in
21942         #+end_src line.
21944 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21946         * org-table.el (org-table-current-column): Add interactive to turn
21947         this into a command.
21949 2010-11-11  Bernt Hansen  <bernt@norang.ca>
21951         * org.el (org-insert-heading): Run org-insert-heading-hook when
21952         creating the first heading in a file.
21954 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21956         * org.el (org-startup-with-inline-images): New option.
21957         (org-startup-options): Add new keywords inlineimages and
21958         noinlineimages.
21959         (org-mode): Inline images when this has been configured.
21961 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21963         * ob.el (org-babel-get-src-block-info): Remove optional
21964         HEADER-VARS-ONLY argument; further simplification.
21966 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21968         * ob.el (org-babel-confirm-evaluate): Fix bug causing extra
21969         prompt in ob-confirm-evaluate in some cases.
21971 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21973         * ob.el (org-babel-demarcate-block): Visible region and completion
21974         during language selection.
21976 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21978         * ob.el (org-babel-get-src-block-info): Remove comment.
21980 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21982         * ob.el (org-babel-get-src-block-info): Simplify function.
21984 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21986         * ob.el (org-babel-get-src-block-info): Form info list correctly
21987         when parenthesized arguments are missing.
21989 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21991         * ob-exp.el (org-export-babel-evaluate): Docstring typo
21992         (org-babel-exp-code): Docstring typo.
21994 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21996         * org-mobile.el (org-mobile-encryption-password):
21997         Improve docstring.
21998         (org-mobile-encryption-password-session): New variable.
21999         (org-mobile-encryption-password): New function.
22000         (org-mobile-check-setup):
22001         (org-mobile-encrypt-file):
22002         (org-mobile-decrypt-file): Use the new function.
22004 2010-11-11  David Maus  <dmaus@ictsoc.de>
22006         * org-capture.el (org-capture-place-template): Widen to remove
22007         possible restrictions in target buffer.
22009 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>
22011         * org.el (org-speed-command-hook): Add org-speed-command-hook
22012         (org-babel-speed-command-hook): Hook for Babel's speed commands.
22014 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22016         * ob.el (org-babel-execute-buffer): Re-implement using
22017         `org-babel-map-src-blocks'.
22019 2010-11-11  David Maus  <dmaus@ictsoc.de>
22021         * org-capture.el (org-capture-templates): Update doc string with
22022         new message date related escapes.
22024 2010-11-11  David Maus  <dmaus@ictsoc.de>
22026         * org-wl.el (org-wl-store-link-message): Define properties %:date)
22027         (%:date-timestamp, and %:date-timestamp-inactive.
22029         * org-mew.el (org-mew-store-link): Dto.
22031         * org-mhe.el (org-mhe-store-link): Dto.
22033         * org-rmail.el (org-rmail-store-link): Dto.
22035         * org-vm.el (org-vm-store-link): Dto.
22037 2010-11-11  David Maus  <dmaus@ictsoc.de>
22039         * org-wl.el (org-wl-message-field): Always get literal content of
22040         header fields.
22042 2010-11-11  David Maus  <dmaus@ictsoc.de>
22044         * org-gnus.el (org-gnus-store-link): Define properties
22045         %:date-timestamp and %:date-timestamp-inactive.
22047 2010-11-11  David Maus  <dmaus@ictsoc.de>
22049         * org-gnus.el (org-gnus-store-link): Handle empty date header
22050         field.
22052 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
22054         * org.el (org-speed-command-hook): New.  Hook for installing
22055         additional speed commands.  Use this for enabling speed commands on
22056         src blocks.
22057         (org-speed-command-default-hook): The default hook for
22058         org-speed-command-hook.  Factored out from org-self-insert-command
22059         and mimics existing behavior.
22060         (org-self-insert-command): Modify to use org-speed-command-hook.
22062 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22064         * org-agenda.el (org-search-view): Recover spaces in search words
22065         if they were escaped with \ or inside a regexp.
22067 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22069         * org.el (org-additional-option-like-keywords): Add PROPERTIES to
22070         the list of completable meta line words.
22071         (org-complete): Complete property names after #+PROPERTY.
22073 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22075         * ob-python.el (org-babel-python-evaluate-session): Make temp file
22076         names consistent.
22078 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22080         * ob-clojure.el (org-babel-clojure-evaluate-external-process):
22081         Delete extra format argument.
22083 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22085         * ob-org.el (org-babel-org-export): Typo in docstring.
22087 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22089         * ob-sh.el (org-babel-sh-evaluate): Remove unused temporary file
22090         variable.
22092 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22094         * ob-scheme.el (org-babel-execute:scheme): Alter temp file name.
22096 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22098         * ob.el (org-babel-process-file-name): New function
22099         (org-babel-maybe-remote-file): Delete function.
22101 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22103         * ob-C.el (org-babel-C-execute): Remove unused variable.
22105 2010-11-11  David Maus  <dmaus@ictsoc.de>
22107         * org.el (org-make-link-string): Prevent superfluous colon.
22109 2010-11-11  David Maus  <dmaus@ictsoc.de>
22111         * org.el (org-make-org-heading-search-string): Leave headline
22112         intact.
22114 2010-11-11  David Maus  <dmaus@ictsoc.de>
22116         * org.el (org-make-link-string): Don't escape characters in link
22117         type.
22119 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22121         * org-capture.el (org-capture-templates): Update docstring to
22122         advertise %:org-date.
22124 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22126         * ob-dot.el (org-babel-execute:dot): Automatically specifies
22127         "-T<ext>" based on file name extension.
22129 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22131         * ob-org.el (org-babel-org-export): Raise error on nested export
22132         call.
22134 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22136         * ob-plantuml.el (org-babel-execute:plantuml): Support for svg
22137         output files.
22139 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22141         * ob.el (org-babel-demarcate-block): Better initialization of
22142         stars.
22144 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22146         * org-src.el (org-src-tab-acts-natively): Add customize interface.
22148 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22150         * org-src.el (org-src-strip-leading-and-trailing-blank-lines):
22151         New variable allowing prevention of automatic stripping of leading and
22152         trailing blank lines when exiting edit buffer.
22153         (org-edit-src-exit): Respect value of
22154         `org-src-strip-leading-and-trailing-blank-lines'
22155         (org-src-native-tab-command-maybe):
22156         Bind `org-src-strip-leading-and-trailing-blank-lines' to nil during
22157         this function.
22159 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22161         * org-src.el (org-edit-src-code): If mark was inside code block
22162         then code edit buffer inherits mark with active region.
22164 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22166         * ob.el (org-babel-demarcate-block): Fix compiler warnings.
22168 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22170         * ob.el (org-babel-demarcate-block): Better handling of empty
22171         space around demarcated area.
22173 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22175         * org-agenda.el (org-agenda-goto-date): Turn off prefer future for
22176         this command.
22178 2010-11-11  David Maus  <dmaus@ictsoc.de>
22180         * org-gnus.el (org-gnus-open-nntp): New function.
22182 2010-11-11  David Maus  <dmaus@ictsoc.de>
22184         * org-wl.el (org-wl-open-nntp): New function.
22186 2010-11-11  David Maus  <dmaus@ictsoc.de>
22188         * org-wl.el (org-wl-open): Open message by numeric reference if
22189         article part is not a message id.
22191 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22193         * org-agenda.el (org-agenda-filter-apply): Move cursor to a
22194         visible line.
22196 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22198         * ob.el (org-babel-demarcate-block): Interactive demarcation of
22199         code blocks.
22201         * ob-keys.el (org-babel-key-bindings): Key bindings for block
22202         demarcation.
22204 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22206         * org.el (org-link-types): Add the "message" link type.
22208 2010-11-11  David Maus  <dmaus@ictsoc.de>
22210         * org.el (org-link-types): Add 'message:' link type to default
22211         link types.
22213 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22215         * org-gnus.el (org-gnus-store-link): Add the :date property to
22216         gnus links, allowing the use of %:date in capture templates.
22218 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22220         * org-list.el (org-cycle-list-bullet): Follow order of bullets
22221         indicated in doc-string.
22223         * org-list.el (org-list-bottom-point-with-indent): List is ended
22224         when a line is less indented that the last item, not the less
22225         indented item.
22227 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22229         * ob-exp.el (org-babel-exp-src-blocks): Now switching back to the
22230         original file before resolving code block parameters to ensure
22231         headline and buffer wide parameters are taken into consideration
22232         when only a narrowed portion of the file is exported.
22234 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22236         * org.el (org-forward-same-level): Fix docstring.
22238 2010-11-11  Sebastian Rose  <sebastian_rose@gmx.de>
22240         * org-publish.el (org-publish-attachment): Put the attachment into
22241         the right directory.
22243 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
22245         * org.el (org-goto-first-child): New command.
22247 2010-11-11  Matt Lundin  <mdl@imapmail.org>
22249         * org-agenda.el (org-prepare-agenda): If the agenda is called from
22250         within the agenda via an elisp link, such as
22251         [[elisp:(org-agenda-list)]], org-prepare-agenda erases the buffer
22252         of the file containing the link, since that buffer is current
22253         during org-prepare agenda (due to a with-current-buffer in
22254         org-agenda-open-link).  An additional test now ensures that the
22255         agenda buffer is in fact current when the buffer is erased and
22256         local variables for the agenda are set.
22258 2010-11-11  David Maus  <dmaus@ictsoc.de>  (tiny change)
22260         * org-exp.el (org-infile-export-plist): Define property macro.
22262 2010-11-11  David Maus  <dmaus@ictsoc.de>
22264         * org-mhe.el (org-mhe-get-header): Remove possible folding white
22265         space in message header field.
22267 2010-11-11  David Maus  <dmaus@ictsoc.de>
22269         * org-feed.el (org-feed): Fix typo in customization group :tag
22270         property.
22272 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22274         * org-latex.el (org-export-latex-tag-markup): New option.
22275         (org-export-latex-keywords-maybe):
22276         Use `org-export-latex-tag-markup'.
22278 2010-11-11  Rémi Vanicat  <vanicat@debian.org>  (tiny change)
22280         * org-icalendar.el (org-icalendar-use-UTC-date-time): New option.
22281         (org-ical-ts-to-string): Use UTC time when requested.
22283 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
22285         * org-html.el (org-html-cvt-org-as-html): Do not convert protocol
22286         from 'file' to 'http'.
22288 2010-11-11  David Maus  <dmaus@ictsoc.de>
22290         * org.el (org-store-log-note): Fix wrong usage
22291         of`org-adapt-indentation'.
22293 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22295         * org.el (org-skip-over-state-notes): Do not compute bottom point
22296         at each item.
22298         * org-mouse.el (org-mouse-for-each-item): Use `org-apply-on-list'
22299         instead of moving to each item.
22301 2010-11-11  David Maus  <dmaus@ictsoc.de>
22303         * org-capture.el (org-capture-templates): Small fix in doc string.
22305 2010-11-11  aaa bbb  <dominik@powerbook-g4-12-van-aaa-bbb.local>
22307         * org-archive.el (org-get-local-archive-location):
22308         Use `org-archive-location' as default.
22310 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22312         * ob-C.el (org): No longer requires org.
22314         * ob-ledger.el (org): No longer requires org.
22316 2010-11-11  David Maus  <dmaus@ictsoc.de>
22318         * org.el (org-priority): Save match data before call to
22319         `read-char-exclusive'.
22321 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22323         * org-list.el (org-list-to-generic): Descriptions labels can be
22324         any suit of symbols, and will end at double colons.
22326 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22328         * org.el (org-indent-line-function): Indent past [@num] and
22329         [@start:num], consistently with what is already done with
22330         checkboxes.
22332 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22334         * org.el (org-store-log-note): Indent new notes to the right
22335         column.  Also take `org-list-two-spaces-after-bullet-regexp' into
22336         consideration when creating the note.
22338 2010-11-11  David Maus  <dmaus@ictsoc.de>
22340         * org-gnus.el (nnimap-group-overview-filename): Declare function
22341         to silence byte compiler.
22343 2010-11-11  David Maus  <dmaus@ictsoc.de>
22345         * org-gnus.el (org-gnus-nnimap-query-article-no-from-file):
22346         New customization variable.
22347         (org-gnus-nnimap-cached-article-number): New function.
22348         (org-gnus-follow-link): Try to fetch cached article number of
22349         message-id.
22351 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22353         * ob-org.el (org-babel-org-default-header): Used to insert a dummy
22354         first line into code blocks before export so that the first line
22355         is not interpreted as a title
22356         (org-babel-org-export): Use new dummy code block prefix.
22358 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22360         * ob.el (org-babel-insert-result): No longer throws error when
22361         inserting an empty result.
22363 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22365         * ob-tangle.el: Autoload org-babel-tangle-lang-exts from ob-tangle.
22367 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22369         * ob.el (org-babel-do-in-edit-buffer):
22370         Use `org-babel-where-is-src-block-head' to test for source block at
22371         point.
22373 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22375         * ob-keys.el (org-babel-key-bindings): Adding key-binding for
22376         `org-babel-goto-src-block-head'.
22378         * ob.el (org-babel-goto-src-block-head): Jump to the head of the
22379         current code block.
22381 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22383         * ob.el (org-babel-next-src-block): Now raising more informative
22384         error when no further code blocks can be found.
22385         (org-babel-previous-src-block): Now raising more informative error
22386         when no previous code blocks can be found.
22388 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22390         * org-exp-blocks.el
22391         (org-export-preprocess-after-include-files-hook): Now using this
22392         hook instead of `org-export-preprocess-hook'.
22394 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22396         * ob-plantuml.el (org-babel-execute:plantuml): ????
22398 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22400         * ob-python.el (org-babel-python-evaluate): Refactor as call to
22401         either `org-babel-python-evaluate-external-process' or
22402         `org-babel-python-evaluate-session'.
22403         (org-babel-python-evaluate-external-process): New function to
22404         handle evaluation in external process.
22405         (org-babel-python-evaluate-session): New function to handle
22406         evaluation in emacs inferior process.
22408 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22410         * ob-org.el (org-babel-execute:org): Evaluates body to latex ascii
22411         or html respecting :results header arg
22412         (org-babel-org-export): Exports a string of text to an output
22413         format.
22415 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22417         * ob.el (org-babel-insert-result): Remove existing results when
22418         nil results are returned.
22420 2010-11-11  David Maus  <dmaus@ictsoc.de>
22422         * org-ascii.el (org-export-as-ascii): Bind and set link path for
22423         link type specific markup function.
22425 2010-11-11  David Maus  <dmaus@ictsoc.de>
22427         * org-clock.el (notifications-notify): Properly declare function
22428         to silence byte compiler.
22430 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22432         * org-list.el (org-insert-item): Check invisibility of point at a
22433         meaningful location.
22435 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22437         * org-list.el (org-list-insert-item-generic): Updating checkboxes
22438         can modify bottom point of a list, so make it a marker before
22439         calling `org-update-checkbox-count-maybe'.
22441 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22443         * org.el (org-src-fontify-natively): Set to nil by default.
22444         Supply customize interface.
22446 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22448         * org-ascii.el (org-export-as-ascii): Fix bug in ASCII export: use
22449         `org-bracket-link-analytic-regexp++' to match the link type.
22451 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22453         * ob-tangle.el (org-babel-tangle-collect-blocks): Rename `lang' to
22454         `language'.
22456 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22458         * ob-tangle.el (org-babel-tangle-comment-format-beg):
22459         Format string specifying the link-comment preceding a code block
22460         (org-babel-tangle-comment-format-end): Format string specifying
22461         the link-comment following a code block
22462         (org-babel-tangle-collect-blocks): Storing more information in the
22463         spec of a tangling code block
22464         (org-babel-spec-to-string): Now makes use of customizable
22465         link-comment formats.
22467 2010-11-11  Achim Gratz  <Stromeko@stromeko.net>  (tiny change)
22469         * org.el (org-delete-backward-char): Check for nil overwrite-mode
22470         before inserting spaces.
22472 2010-11-11  David Maus  <dmaus@ictsoc.de>
22474         * org-icalendar.el (org-print-icalendar-entries): Exclude tags
22475         from summary of non-TODO ical entries.
22476         (org-print-icalendar-entries): Use `org-complex-heading-regexp' to
22477         exclude tags from summary of TODO ical entries.
22479 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22481         * ob.el (org-babel-map-src-blocks): Now exposes much information
22482         about the code block in the form of let-bound local variables.
22484 2010-11-11  David Maus  <dmaus@ictsoc.de>
22486         * org-list.el (org-outline-regexp, org-ts-regexp)
22487         (org-ts-regexp-both, org-in-regexps-block-p)
22488         (org-level-increment, org-at-heading-p)
22489         (outline-previous-heading, org-icompleting-read)
22490         (org-time-string-to-seconds): Declare to fix compiler warning.
22492 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22494         * org-list.el (org-toggle-checkbox): Ignore items in drawers when
22495         used from an heading.  Send an error when no item is in region.
22497 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22499         * ob.el (org-babel-do-in-edit-buffer): Use unwind-protect to
22500         ensure that edit buffer is exited.
22502 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22504         * ob-tangle.el (org-babel-tangle-pad-newline): Can be used to
22505         control the amount of extra newlines inserted into tangled code
22506         (org-babel-tangle-collect-blocks): Now conditionally collects
22507         information to be used for "org" style comments
22508         (org-babel-spec-to-string): Now inserts "org" style comments, and
22509         obeys the newline configuration variable when inserting whitespace.
22511 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22513         * ob-tangle.el (org-babel-pre-tangle-hook): Defines new tangle
22514         hook
22515         (org-babel-tangle): Calls new tangle hook.
22517 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22519         * org-capture.el (org-capture): Compute the length of the correct
22520         string when removing properties.
22522 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22524         * ob-plantuml.el (org-babel-execute:plantuml): Now expanding file
22525         names before shell quoting.
22527 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22529         * org-src.el (org-src-tab-indents-natively): New variable
22530         controlling whether language-native TAB action should be performed
22531         (org-src-native-tab-command-maybe): New function to perform
22532         language-native TAB action.
22533         (org-tab-first-hook): Add `org-src-native-tab-command-maybe'.
22535 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22537         * ob-plantuml.el (org-babel-execute:plantuml): Explicitly check
22538         `org-plantuml-jar-path' before use.
22540 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22542         * org-src.el (org-src-font-lock-fontify-block): Re-use hidden
22543         language major mode buffers during fontification.
22545 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22547         * org.el (org-fontify-meta-lines-and-blocks): Alter main regexp to
22548         match code blocks with switches and header args.
22549         Call `org-src-font-lock-fontify-block' for automatic fontification of
22550         code in code blocks, controlled by variable
22551         `org-src-fontify-natively'.
22552         (org-src-fontify-natively): New variable.
22554 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22556         * ob-ruby.el (org-babel-expand-body:ruby): Remove requirement of
22557         inf-ruby.
22559 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
22561         * org-html.el (org-html-make-link): (expand-file-name) removes
22562         one "/" from "///path-to-file", so add one.  Anything other than
22563         'file' type should be exported along with the type.
22565 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
22567         * org.el (org-insert-subheading): Fix compiler warning
22568         (org-insert-todo-subheading): Fix compiler warning.
22570 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22572         * org-capture.el (org-capture): Remove read-only text properties
22573         from capture text.
22574         (org-capture-set-target-location): Throw an error if file+headline
22575         target does not point into a file which is in Org mode.
22577 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22579         * ob.el (org-babel-map-src-blocks): Prefer `when' to `if'.
22581 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22583         * org-src.el (org-edit-src-code): Improve docstring.
22585 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22587         * ob.el (org-babel-execute-src-block): Document prefix argument in
22588         docstring.
22590 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22592         * ob-ditaa.el (org-babel-execute:ditaa): Now expanding
22593         org-ditaa-jar-path with expand-file-name.
22595 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22597         * ob.el (org-babel-execute-subtree): Pass prefix arg through to
22598         `org-babel-execute-src-block'.
22600 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22602         * org-ascii.el (org-export-ascii-preprocess): Allow [@start:x] and
22603         [@x] syntax for list numbering.
22605 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22607         * org.el (org-indent-line-function): Indentation of source block
22608         is left to `org-edit-src-exit' and shouldn't be modified by
22609         `org-indent-line-function'.  Indentation of others blocks should be
22610         the same as the #+begin line.
22612 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22614         * ob.el (org-babel-map-src-blocks): If FILE is nil evaluate BODY
22615         forms on source blocks in current buffer; restore point in current
22616         buffer.
22618 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22620         * org-list.el (org-list-struct): Accept list boundaries as an
22621         argument in order to avoid computing `org-list-top-point' and
22622         `org-list-bottom-point' twice when indenting.
22624 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22626         * org-list.el (org-list-ending-method): Default value is now
22627         `both', to ensure maximum compatibility before previous
22628         implementation.
22630 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22632         * org-list.el (org-list-in-item-p-with-indent): Test if first line
22633         is the item beginning.
22635         * org-list.el (org-list-top-point-with-indent): Test if first line
22636         is a valid list beginning.
22638 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22640         * org-list.el (org-list-ending-method): New customizable variable
22641         to tell Org Mode how lists end.  See docstring.
22643 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22645         * org-list.el (org-indent-item-tree): Shifting step of top-level
22646         item depends on `org-level-increment'.
22648 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22650         * org.el (org-indent-line-function): Indent first non blank line
22651         after a list according to current heading level.
22653 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22655         * org-docbook.el (org-export-as-docbook): Remove check for
22656         indentation on lines that do not start with a list bullet.
22658         * org-html.el (org-export-as-html): Same thing.
22660 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22662         * org-list.el (org-list-bottom-point): Take into consideration
22663         that bound of search can be before true ending of the list.
22665 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22667         * org-list.el (org-list-struct-apply-struct): No longer shift
22668         item's body twice: one after replacing bullet and one after
22669         changing indentation.
22671 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22673         * org-list.el (org-list-struct-indent): Add code to replace
22674         bullets if needed when indenting.
22676 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22678         * org-list.el (org-list-insert-item-generic): A single item
22679         already counting blank lines in his body should be separated with
22680         the next one by a blank line.  Moreover, if user already provided
22681         blank lines, follow his wishes.
22683 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22685         * org-list.el (org-indent-item-tree): When moving top item of a
22686         *-list to column 0, only the first item had its bullet changed to
22687         -.  It now changes all items of the top-level list, as expected.
22689 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22691         * org-list.el (org-toggle-checkbox): Go to beginning of line
22692         before processing.
22694 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22696         * org-list.el (org-list-struct-apply-struct): Check if ancestor
22697         exists.
22699 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22701         * org-list.el (org-renumber-ordered-list): Check for [@start:x] is
22702         done at each item.
22704 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22706         * org-list.el: Removed unused variable
22707         `org-suppress-item-indentation'.
22709         * org-list.el (org-renumber-ordered-list): Skip item if bullet
22710         number is already good.
22712 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22714         * org-list.el (org-list-automatic-rules): Doc-string reflects this
22715         change.
22717         * org-list.el (org-indent-item-tree): Prevent whole list from
22718         being moved when user is not moving subtree.
22719         Thus `org-cycle-item-indentation' will not allow to move the list.
22721 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22723         * org-list.el (org-indent-item-tree): Remove region code.  It was
22724         prone to errors and undocumented.
22726         * org-list.el (org-item-indent-positions): Better heuristics to
22727         determine what bullet the item will have when demoted.
22729 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22731         * org-list.el (org-list-bullet-string): First check if
22732         `org-list-two-spaces-after-bullet-regexp' isn't nil.
22734 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22736         * org-list.el (org-list-bullet-string): Do not modify match-data.
22738         * org.el (org-toggle-item): Now working again when changing list
22739         items into plain text.  Moreover take into consideration
22740         `org-list-two-spaces-after-bullet-regexp'.
22742 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22744         * org-list.el (org-indent-item-tree): Remove unnecessary bullets
22745         fix, and improved heuristics to determine bullet when indenting.
22747         * org-list.el (org-item-indent-positions): Function now returns
22748         sane results when there are two lists separated with blank lines
22749         only.
22751 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22753         * org-docbook.el (org-export-as-docbook): Use override="num" in
22754         any listitem matching [@start:num].
22756         * org-html.el (org-export-as-html): Use value="num" in any li
22757         matching [@start:num].
22759 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22761         * org.el (org-set-font-lock-defaults): Correct fontification for
22762         checkboxes found after [@start:?].
22764         * org-list.el (org-list-at-regexp-after-bullet-p): Skip any
22765         [@start:?]  when looking at a regex after a bullet.
22767         * org-list.el (org-toggle-checkbox): Correct insertion of
22768         checkboxes when there is already a [@start:?] in the item.
22770         * org-list.el (org-checkbox-blocked-p): Properly check if there's
22771         an unchecked item before.
22773         * org-list.el (org-list-parse-list): Function handles items having
22774         both a counter and a checkbox.
22776 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22778         * org-list.el (org-cycle-item-indentation): Org-tab-ind-state
22779         stores both indentation and bullet when cycle started.
22781 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22783         * org-list.el: `org-at-description-p' renamed to
22784         `org-at-item-description-p', `org-first-list-item-p' renamed to
22785         `org-list-first-item-p', `org-end-of-item-text-before-children'
22786         renamed to `org-end-of-item-or-at-child'.
22788 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22790         * org.el (org-ctrl-c-ctrl-c): Call `org-fix-bullet-type' instead
22791         of `org-maybe-renumber-ordered-list' and `org-fix-bullet-type'
22792         before toggling a checkbox.
22794 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22796         * org-list.el (org-list-bullet-string): New function returning
22797         bullet concatenated with an appropriate number of white spaces.
22799         * org-list.el (org-list-insert-item-generic): Insert the right
22800         bullet, with help of `org-list-bullet-string'.
22802         * org-list.el (org-indent-item-tree):
22803         Use `org-list-bullet-string'.
22805         * org-list.el (org-fix-bullet-type): Use `org-list-bullet-string'.
22807         * org-list.el (org-toggle-checkbox): Send an error when
22808         `org-toggle-checkbox' is trying to insert a checkbox at a
22809         description item.
22811         * org-list.el (org-item-re): Modify regexp so it can catch
22812         correct number of white space before item body.
22814         * org-list.el (org-list-at-regexp-after-bullet-p): Take into
22815         consideration new `org-item-re'.
22817 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22819         * org-list.el (org-list-insert-item-generic): The second item in a
22820         list will be separated from its predecessor with the number of
22821         blank lines separating the first item from its parent, if any, or
22822         no blank line.
22824 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22826         * org-list.el (org-indent-item-tree): Fix and reorder every list
22827         and sublist, from parent of list that has moved if indenting, or
22828         from list at point if outdenting.
22830 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22832         * org-list.el (org-indent-item-tree): Try to keep relative
22833         position on line.  It can't if point is in white spaces before
22834         bullet because mixed tabs and spaces make some columns
22835         unattainable.
22837 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22839         * org-list.el (org-cycle-item-indentation): Cycle when the whole
22840         item only contains bullet and maybe a checkbox.  Previously, TAB
22841         would cycle when the first line of the item was blank.
22843 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22845         * org-list.el (org-cycle-item-indentation): Allow a point just
22846         after a description item or a checkboxed item to start cycling.
22848 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22850         * org-list.el (org-cycle-list-bullet):
22851         Check `org-plain-list-ordered-item-terminator' before allowing 1. or 1)
22852         as valid bullets when cycling.
22854 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22856         * org-list.el (org-cycle-item-indentation): Do return t if and
22857         only if cycling is possible and succeded.
22859 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22861         * org-list.el (org-indent-item-tree): When outdenting a subtree,
22862         the last item shouldn't have a children.
22864 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22866         * org-list.el (org-cycle-item-indentation): Cycling should play
22867         nicely with indent rule in `org-list-automatic-rules'.
22869 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22871         * org-list.el (org-indent-item-tree): If indent rule is activated,
22872         it should be impossible to outdent an item having children without
22873         moving its subtree.  Improved reordering of lists modified by
22874         cycling indentation.
22876 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22878         * org-list.el (org-maybe-renumber-ordered-list): Remove call for
22879         `org-fix-bullet-type' to prevent infinite loop, and some checks
22880         already done in `org-renumber-ordered-list'.
22882         * org-list.el (org-fix-bullet-type): Remove a check and call
22883         directly `org-maybe-renumber-ordered-list'.
22885 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22887         * org-list.el (org-indent-item-tree): It shouldn't be possible to
22888         indent the first item of a sublist (though outdent is possible) as
22889         it would break list's structure.
22891 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22893         * org-list.el (org-list-insert-item-generic): When local search
22894         doesn't help, search the list globally for blank lines.  Moreover,
22895         don't bother with new lists, and add 1 blank line.
22897 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22899         * org-capture.el (org-capture-place-item):
22900         Use `org-search-forward-unenclosed' and
22901         `org-search-backward-unenclosed' and new variable
22902         `org-item-beginning-re'.
22904         * org-list.el (org-item-beginning-re): Regexp matching beginning
22905         of an item.
22907 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22909         * org-list.el (org-cycle-list-bullet): Put back support for
22910         'previous argument.
22912 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22914         * org-list.el (org-in-item-p): Handle case when point is at an
22915         heading.
22917         * org-list.el (org-list-make-subtree): Add protection when used
22918         outside of list.
22920         * org-list.el (org-insert-item): Remove useless hack now
22921         `org-in-item-p' is fixed.
22923         * org-timer.el (org-timer-item): Remove useless hack now
22924         `org-in-item-p' is fixed.
22926 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22928         * org-list.el (org-cycle-list-bullet): Prevent description items
22929         from being numbered.  String argument is also recognized now, as
22930         long as it is a valid bullet.
22932 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22934         * org-list.el (org-indent-item-tree): Moving indentation of top
22935         list item will make the whole list move.
22937         * org-list.el (org-apply-on-list): Function is less sensitive to
22938         changes of indentation.
22940 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22942         * org-list.el (org-at-item-checkbox-p): Add whitespaces at the end
22943         of the regexp.
22945         * org-list.el (org-checkbox-blocked-p): Use new checkbox regexp.
22947         * org-list.el (org-cycle-item-indentation): Allow cycling
22948         description items and checkbox items.
22950         * org-list.el (org-toggle-checkbox): Use new checkbox regexp.
22952         * org-list.el (org-reset-checkbox-state-subtree): Use new checkbox
22953         regexp.
22955 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22957         * org-list.el (org-insert-item-internal): Guessing of blank lines
22958         number is made by looking at neighboring items, if any.
22960 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22962         * org-list.el (org-sort-list): Add the possibility to sort timer
22963         lists with the ?t or ?T options.
22965 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22967         * org-list.el (org-search-unenclosed-internal): New function to
22968         handle both `org-search-forward-unenclosed' and
22969         `org-search-backward-unenclosed'.
22971         * org-list.el (org-search-backward-unenclosed): Can send errors
22972         now.  Removed useless usage of COUNT.
22974         * org-list.el (org-search-forward-unenclosed): Can send errors
22975         now.  Removed useless usage of COUNT.
22977         * org-list.el (org-update-checkbox-count):
22978         Use `org-search-forward-unenclosed' and
22979         `org-search-backward-unenclosed' instead of `re-search-forward'
22980         and `re-search-backward'.
22982         * org-list.el (org-sort-list): Use `org-search-forward-unenclosed'
22983         and `org-search-backward-unenclosed' instead of
22984         `re-search-forward' and `re-search-backward'.
22986         * org-list.el (org-list-make-subtree):
22987         Use `org-search-forward-unenclosed' and
22988         `org-search-backward-unenclosed' instead of `re-search-forward'
22989         and `re-search-backward'.
22991 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22993         * org-list.el (org-insert-item-internal): Fixes the problem when
22994         point was before the first char of the item's body.
22996 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22998         * org-timer.el (org-timer-item): Refactoring.  Compute timer string
22999         before inserting it in the buffer.
23001         * org-timer.el (org-timer): Add an optional argument to return
23002         timer string instead of inserting it.
23004 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23006         * org-list.el (org-insert-item-internal): New function to handle
23007         positioning and contents of an item being inserted at a specific
23008         pos.  It is not possible anymore to split a term in a description
23009         list or a checkbox when inserting a new item.
23011         * org-list.el (org-insert-item): Refactored by using the new
23012         `org-insert-item-internal' function.
23014         * org-timer.el (org-timer-item): Refactored by using the new
23015         `org-insert-item-internal' function.
23017 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23019         * org-list.el (org-list-bottom-point): Be sure to check real
23020         ORG-OUTLINE-REGEXP and not outline-regexp, that might be modified.
23022         * org.el (org-cycle-internal-local): Cycle up to end of subtree or
23023         end of item if we are in a list.
23025 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23027         * org-list.el (org-insert-item): Move before any special block in
23028         a list prior to add a new item.
23030         * org-timer.el (org-timer-item): When in a timer list, insert a
23031         new timer item like `org-insert-item'.  If in another list, send an
23032         error.  Otherwise, start a new timer list.
23034 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23036         * org-list.el: Minor refactoring.
23038 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23040         * org-timer.el (org-timer-item): Insert description list item at
23041         the right column.
23043         * org-list.el (org-insert-item): Insert the right number of blank
23044         lines before a relative timer.
23046 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23048         * org-list.el (org-insert-item): Remove restriction on latex
23049         blocks.
23051 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23053         * org-list.el (org-search-backward-unenclosed): Do not stop in
23054         protected places.
23056         * org-list.el (org-search-forward-unenclosed): Do not stop in
23057         protected places.
23059         * org-latex.el (org-export-latex-lists): Use the fact that
23060         org-search-forward do not stop anymore at protected places.
23062 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23064         * org-list.el (org-search-backward-unenclosed): Do not prevent
23065         list items from being inside LaTeX blocks.
23067         * org-list.el (org-search-forward-unenclosed): Do not prevent list
23068         items from being inside LaTeX blocks.
23070 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23072         * org-list.el (org-in-item-p): Do not widen before checking if we
23073         are in item.
23075         * org-list.el (org-list-send-list): We cannot count on
23076         `org-list-top-point' and `org-list-bottom-point' before buffer is
23077         narrowed.  Find bounds of list otherwise.
23079 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23081         * org-list.el (org-list-end-regexp): By default, list ending is
23082         exactly 2 blank lines.
23084 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23086         * org-docbook.el (org-export-as-docbook): When we find an empty
23087         line, we do not need to check for
23088         `org-empty-line-terminates-plain-lists' because we would have
23089         found end-list marker before.
23091         * org-html.el (org-export-as-html): Same.
23093 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23095         * org-list.el (org-insert-item): Simplify count of blank lines to
23096         insert.
23098 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23100         * org-list.el (org-list-end-regexp): New customizable variable to
23101         define what string should end lists.
23103         * org-list.el (org-list-end-re): Function is now aware of
23104         `org-list-end-regexp'.
23106 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23108         * org-html.el (org-export-as-html): Code cleanup.
23110 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23112         * org-docbook.el (org-export-as-docbook): Properly close any open
23113         list when seeing ORG-LIST-END.  Removed any reference to now
23114         unneeded DIDCLOSE variable.
23116 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23118         * org-exp.el (org-export-mark-list-ending): Fix number of blank
23119         lines inserted after a list.
23121         * org-list.el (org-list-parse-list): Fix case when
23122         `org-list-end-re' would have an indentation greater than current
23123         list.
23125 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23127         * org-exp.el (org-export-mark-list-ending): Differentiate between
23128         export backends, and replace `org-list-end-re' by a blank line
23129         upon exporting.
23131 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23133         * org-html.el (org-export-as-html): Delete didclose and everything
23134         related to it, as it is no longer needed.
23136 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23138         * org-html.el (org-export-html-preprocess): Remove unneeded
23139         insertion of list end marker, as it is now handled by
23140         `org-export-mark-list-ending'.
23142         * org-html.el (org-export-as-html): Cleaner termination of lists.
23144         * org-exp.el (org-export-mark-list-ending): New function to insert
23145         specific markers at the end of lists when exporting to a backend
23146         not using `org-list-parse-list'.  This function is called early in
23147         `org-export-preprocess-string', while it is still able to
23148         recognize lists.
23150         * org-latex.el (org-export-latex-lists): Better search for
23151         lists.  It now only finds items not enclosed and not protected.
23153 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23155         * org-list.el: Replaced `re-search-forward' by
23156         `org-search-forward-unenclosed' where it made sense.
23158 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23160         * org-list.el (org-apply-to-list): Now a return value is handed at
23161         each new call of the function applied.
23163         * org-list.el (org-fix-bullet-type): Use the new
23164         `org-apply-to-list' format.
23166         * org-list.el (org-renumber-ordered-list): Use the new
23167         `org-apply-to-list' format.
23169 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23171         * org.el (org-in-regexps-block-p): Minor fix: limit wasn't
23172         correctly used.
23174         * org-list.el (org-search-forward-unenclosed): Better regexp used.
23176         * org-list.el (org-search-backward-unenclosed): Better regexp
23177         used.
23179 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23181         * org-list.el (org-sort-list): End-rec function was ill-defined.
23183 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23185         * org-list.el (org-search-forward-unenclosed): Fix behavior when
23186         last occurrence was enclosed.
23188         * org-list.el (org-search-backward-unenclosed): Fix behavior when
23189         last occurrence was enclosed.
23191 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23193         * org.el (org-in-regexps-block-p): Fix documentation.
23195 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23197         * org-list.el (org-search-backward-unenclosed): Fix block regexp.
23199         * org-list.el (org-search-forward-unenclosed): Fix block regexp.
23201         * org-list.el (org-list-parse-list): Minor fix.
23203 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23205         * org-list.el (org-list-parse-list): Delete `org-list-end-re' when
23206         called with t argument.
23208 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23210         * org-html.el (org-export-html-preprocess):
23211         Replace `org-list-end-re' by a blank line during pre-process.
23213 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23215         * org-list.el (org-list-bottom-point): No need for square brackets
23216         for `skip-chars-backward'.
23218 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23220         * org-html.el: Do not delete space between end of list and
23221         beginning of the following.
23223 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23225         * org-html.el: Preprocess buffer string and add ORG-LIST-END where
23226         needed.  Lists should not end before seeing this.
23228 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23230         * org-html.el: Notice end of lists.
23232 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23234         * org-list.el (org-list-parse-list): Better handling of
23235         restrictions when function is called on a list with sublists.
23237         * org-list.el (org-list-send-list): Find the true ending of the
23238         list being sent.
23240         * org-list.el (org-list-radio-list-templates): Templates are more
23241         specific to lists.
23243 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23245         * ob-js.el (org-babel-js-eoe): Indicate end of input
23246         (org-babel-execute:js): Support for session evaluation
23247         (org-babel-prep-session:js): Fleshed out definition
23248         (org-babel-js-initiate-session): Can initiate a session using
23249         mozrepl.
23251 2010-11-11  David Maus  <dmaus@ictsoc.de>
23253         * org.el (org-set-regexps-and-options): Protect escape char in
23254         `org-complex-heading-regexp-format'.
23256 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23258         * ob-scheme.el (org-babel-scheme-eoe): For marking the end of
23259         session-based evaluation
23260         (org-babel-execute:scheme): Now supports session-based evaluation
23261         (org-babel-prep-session:scheme): Now works and defines variables
23262         (org-babel-scheme-initiate-session): Now works using run-scheme
23263         from cmuscheme.
23265 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23267         * org.el (org-export-latex-default-packages-alist): Remove the
23268         t1enc package - this is already covered by fontenc.
23270 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23272         * ob.el (with-parsed-tramp-file-name): Declared
23273         (org-babel-tramp-localname): Ensure variable name exists locally.
23275 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23277         * ob.el (org-babel-temp-file): Don't use babel temporary directory
23278         in remote case; use make-temp-file with remote file name so that
23279         temp file is guaranteed not to exist previously on remote machine.
23280         (org-babel-tramp-localname): New function to return local name
23281         portion of possibly remote file specification.
23283 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23285         * ob-R.el (org-babel-R-write-object-command): New unified R
23286         command for writing results to file
23287         (org-babel-R-wrapper-method): Remove variable
23288         (org-babel-R-wrapper-lastvar): Remove variable
23289         (org-babel-R-evaluate-external-process): Use new R command
23290         (org-babel-R-evaluate-session): Use new R command.
23292 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23294         * ob-comint.el
23295         (org-babel-comint-eval-invisibly-and-wait-for-file): New function
23296         to evaluate code invisibly and block until output file exists.
23298         * ob-R.el (org-babel-R-evaluate-session): Use `ess-eval-buffer' to
23299         evaluate R code in session for :results value.  Write result to
23300         file invisibly using new function
23301         `org-babel-comint-eval-invisibly-and-wait-for-file'.
23303 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23305         * org-capture.el (org-capture-fill-template): Align tags after
23306         insertion.
23308 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23310         * org-exp.el (org-export-concatenate-multiline-emphasis):
23311         Ignore matches that start in a headline.
23313 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23315         * ob-plantuml.el (org-babel-execute:plantuml): Wrapping in-file
23316         and out-file in shell-quote-argument.
23318 2010-11-11  David Maus  <dmaus@ictsoc.de>
23320         * org-docview.el (org-docview-store-link): Use expanded macro to
23321         get current page.
23322         (doc-view-goto-page, image-mode-window-get): Declare functions for
23323         byte compiler.
23325 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23327         * ob-scheme.el: Very preliminary support for evaluating scheme
23328         code blocks.
23330         * org.el (org-babel-load-languages): Adding scheme.
23332 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23334         * ob.el (require): Remove circular (require 'org).
23336 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23338         * ob-R.el (ess-make-buffer-current): Declared.
23339         (ess-ask-for-ess-directory): Declared.
23340         (ess-local-process-name): Declared.
23341         * ob-latex.el (org-babel-latex-tex-to-pdf): Capturing free variable.
23343         * ob.el (org-edit-src-code): Fixing arguments.
23344         (org-edit-src-exit): Declared.
23345         (org-outline-overlay-data): Declared.
23346         (org-set-outline-overlay-data): Declared.
23348 2010-11-11  Glenn Morris  <rgm@gnu.org>
23350         * ob.el: Require org when compiling.
23351         (org-save-outline-visibility): Remove macro declaration.
23353         * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
23354         Remove unnecessary/macro declarations.
23356         * org-docview.el: Require doc-view when compiling.
23357         (doc-view-goto-page): Autoload rather than declaring.
23358         (doc-view-current-page): Remove macro declaration.
23360         * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
23361         (org-entry-get, org-table-import): Fix declarations.
23362         (org-match-string-no-properties): Remove declaration.
23364         * ob-sh.el (org-babel-comint-in-buffer)
23365         (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
23366         (org-babel-comint-with-output): Remove unnecessary declarations.
23368         * ob-R.el (orgtbl-to-tsv): Fix declaration.
23370         * org-list.el (org-entry-get): Fix declaration.
23372 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23374         * ob.el (org-babel-remove-temporary-directory): Remove explicit
23375         second argument.
23377 2010-11-11  Magnus Henoch  <magnus.henoch@gmail.com>  (tiny change)
23379         * org-clock.el (org-clocktable-steps): Allow ts and te to be day
23380         numbers.
23382 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23384         * org-macs.el (org-save-outline-visibility): Move from org.el.
23386 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23388         * ob-org.el (org-babel-default-header-args:org): Additional
23389         ":results silent" default header argument for org code blocks.
23391 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23393         * ob-exp.el (org-babel-exp-do-export): Remove hacky ":noeval",
23394         which is now an alias to ":eval no".
23396 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23398         * ob.el (org-babel-remove-temporary-directory): The version of
23399         `delete-directory' found in files.el can not be assumed to be
23400         present on all versions, so this copies the recursive behavior of
23401         that command in such a way that all calls to delete-directory will
23402         also work with the built-in internal C implementation of that
23403         function.  This is not overly difficult as all elements of the
23404         directory can be assumed to be files.
23406 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23408         * ob-C.el (org-babel-C-execute): Corrected arguments to
23409         org-babel-temp-file.
23411 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23413         * ob.el (org-babel-temporary-directory): Variable to hold the
23414         value of the Babel temporary directory.
23416 2010-11-11  Aditya Siram  <aditya.siram@gmail.com>
23418         * ob.el (org-babel-load-in-session): Expanding noweb references
23419         when appropriate.
23421 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23423         * org.el (org-make-link-regexps): Modify regexp of
23424         org-plain-link-re.
23426 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
23428         * org-habit.el (org-habit-parse-todo): Find sr-days only if
23429         scheduled-repeat is non nil.  Use 4th element of the list returned
23430         by (org-heading-components) as habit-entry.  Modify the error
23431         message to be more meaningful.
23433 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23435         * ob-latex.el (org-babel-execute:latex): Adding new ":fit" and
23436         ":border" header arguments which both use the "preview" latex
23437         package to fit the resulting PDF image to the figure.
23439 2010-11-11  David Maus  <dmaus@ictsoc.de>
23441         * org-wl.el (org-wl-store-link): Don't try to store link if point
23442         is at end of buffer.
23444 2010-11-11  Harri Kiiskinen  <harkiisk@gmail.com>
23446         * org-publish.el (org-publish-project-alist): Document the new
23447         body-only property.
23448         (org-publish-org-to): Use the body-only property.
23450 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
23452         * org.el (org-store-link): Return link when invoked
23453         non-interactively from an agenda buffer.
23455 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
23457         * org.el (org-store-link): Storing of links to headlines in
23458         indirect buffers was broken.  Fix it.
23460 2010-11-11  Aidan Kehoe  <kehoea@parhasard.net>
23462         * ob-tangle.el (org-babel-tangle): Change the MODE argument to
23463         #'set-file-modes to use integer, not character syntax, avoiding
23464         compile problems with recent XEmacs.
23466 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23468         * org-agenda.el (org-agenda-add-entry-text): Make sure we move
23469         forward even if there is no text to be added.
23471 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23473         * org.el (org-make-tags-matcher): Read "\\-" as "-" in the
23474         tags/property matcher.
23476 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23478         * org-exp.el (org-infile-export-plist): Bind case-fold-search to
23479         t.
23481 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23483         * org-agenda.el (org-agenda-with-point-at-orig-entry): New macro.
23485 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23487         * org-latex.el (org-export-latex-set-initial-vars):
23488         Bind `case-fold-search' to t around the search for special LaTeX setup.
23490         * org-beamer.el (org-beamer-after-initial-vars):
23491         Bind `case-fold-search' to t around the search for special BEAMER
23492         setup.
23494 2010-11-11  David Maus  <dmaus@ictsoc.de>
23496         * org-agenda.el (org-write-agenda): Delete PostScript file after
23497         creating conversion to PDF.
23499 2010-11-11  David Maus  <dmaus@ictsoc.de>
23501         * org-agenda.el (org-write-agenda): Move require statements to
23502         proper place in evaluated lisp expression.
23504 2010-11-11  David Maus  <dmaus@ictsoc.de>
23506         * org-agenda.el (org-write-agenda): Rename temporary buffer to
23507         remove dependency of `flet' macro.
23509 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23511         * ob-lob.el (org-babel-lob-get-info): Edit docstring.
23513 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23515         * ob-exp.el (org-babel-exp-lob-one-liners): Get parameter values
23516         from all standard sources when executing #+lob/#+call lines.
23518 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23520         * ob-R.el (org-babel-R-evaluate): Break the two branches into two
23521         separate functions
23522         (org-babel-R-evaluate-external-process): New function to handle
23523         external process evaluation
23524         (org-babel-R-evaluate-session): New function to handle session
23525         evaluation.
23527 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23529         * ob.el (org-babel-initiate-session): New function derived from
23530         previous `org-babel-switch-to-session'
23531         (org-babel-switch-to-session): Refactored to use new
23532         `org-babel-initiate-session'.
23534 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23536         * ob.el (org-babel-switch-to-session): Supply missing "P" argument
23537         to (interactive).
23539 2010-11-11  David Maus  <dmaus@ictsoc.de>
23541         * org-feed.el (org-feed-format-entry): Decode entry according to
23542         its character encoding.
23544 2010-11-11  David Maus  <dmaus@ictsoc.de>  (tiny change)
23546         * org-feed.el (xml-substitute-special): Declare function for byte
23547         compiler.
23548         (org-feed-unescape): Remove.
23549         (org-feed-parse-rss-entry, org-feed-parse-atom-entry):
23550         Use `xml-substitute-special' to unescape XML entities.
23552 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23554         * ob.el (org-babel-switch-to-session): Throw error if block if
23555         :session not in effect for the block.
23557 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23559         * org-table.el (org-table-create-with-table.el): Align table
23560         before converting.
23562 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23564         * ob.el (org-babel-do-in-edit-buffer): Suppress message and check
23565         that org-src buffer is current before attempting exit.
23567 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23569         * org-src.el (ob-comint): Require 'ob-comint
23570         (org-src-babel-info): Define variable.
23572 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23574         * ob.el (org-babel-do-in-edit-buffer): New macro to evaluate lisp
23575         in the language major mode edit buffer.
23576         (org-babel-do-key-sequence-in-edit-buffer): New function to call
23577         an arbitrary key sequence in the language major mode edit buffer.
23579         * org-src.el (org-src-switch-to-buffer): Add new allowed value
23580         'switch-invisibly for `org-src-window-setup'.
23582 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23584         * org-src.el (ob-keys): Require ob-keys, because `org-babel-map'
23585         is used.
23586         (org-src-do-at-code-block): New macro to evaluate lisp with point
23587         at the start of the Org code block containing the code in this
23588         edit buffer.
23589         (org-src-do-key-sequence-at-code-block): New function to execute
23590         command bound to key at the Org code block containing the code in
23591         this edit buffer.
23593 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23595         * ob-R.el (org-babel-R-associate-session): New function to
23596         associate R code edit buffers with ESS comint session.
23598 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23600         * org-src.el (org-edit-src-code): If at src block, store babel
23601         info as buffer local variable.
23602         (org-src-associate-babel-session): New function to associate code
23603         edit buffer with comint session.  Does nothing unless a
23604         language-specific function named
23605         `org-babel-LANG-associate-session' exists.
23606         (org-src-babel-configure-edit-buffer): New function to be called
23607         in `org-src-mode-hook'.
23608         (org-src-mode-hook): Add `org-src-babel-configure-edit-buffer' to
23609         hook.
23611 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23613         * ob.el (org-babel-switch-to-session-with-code): New function to
23614         generate split frame displaying edit buffer and session.
23616 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23618         * org.el (org-set-tags): Consider org-indent-mode when computing
23619         the tags column.
23621 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23623         * org-compat.el (org-looking-at-p): Only use looking-at-p when
23624         defined.
23626 2010-11-11  David Maus  <dmaus@ictsoc.de>
23628         * org-agenda.el (org-finalize-agenda-entries): Delete excluded
23629         lines directly after call to sorting filter function.
23631 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23633         * org.el (org-complex-heading-regexp-format): Document the
23634         variable.
23635         (org-get-refile-targets): Use `org-complex-heading-regexp-format'
23636         to make the regular expression for matching the headline.
23638 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23640         * org.el (org-refile-check-position): New function.
23641         (org-goto):
23642         (org-refile-get-location): Call `org-refile-check-position'.
23644 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23646         * ob-python.el (org-babel-python-initiate-session-by-key): Use eq
23647         instead of equal to compare symbols.
23649 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23651         * org-agenda.el (org-agenda-before-sorting-filter-function):
23652         New hook function.
23653         (org-finalize-agenda-entries):
23654         Apply `org-agenda-before-sorting-filter-function'.
23656 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23658         * org-latex.el (org-export-latex-first-lines): Do not protect meta
23659         lines that have nothing to do with babel.
23661 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23663         * org-capture.el (org-capture-place-template): Handle the
23664         checkitem case.
23665         (org-capture-place-item): Provide boundaries for the search to
23666         make sure we do not get a match in a different tree.
23668 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23670         * org-exp.el (org-export-preprocess-apply-macros): Fix the macro
23671         argument parser.
23673 2010-11-11  Noorul Islam  <noorul@noorul.com>
23675         * org-latex.el (org-latex-to-pdf-process): Add output-directory
23676         option for the command pdflatex.
23677         (org-export-as-pdf): Respect directory in path of
23678         EXPORT_FILE_NAME.
23680 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23682         * org-exp.el (org-export-with-LaTeX-fragments): New default t,
23683         which now means to use MathJax processing for HTML.  Also allow
23684         new value `dvipng' to force the old image processing.
23685         (org-infile-export-plist): Parse for MATHJAX setup line.
23687         * org-html.el (org-export-html-mathjax-options): New option.
23688         (org-export-html-mathjax-config): New function.
23689         (org-export-html-mathjax-template): New option.
23690         (org-export-html-preprocess): Call the LaTeX snippet processor
23691         with an additional argument to declare special ways of processing.
23692         (org-export-as-html): Bind the dynamical variable
23693         `org-export-have-math'.  Insert the MathJax script template when
23694         it is needed by the document.
23696         * org.el (org-preview-latex-fragment): Call `org-format-latex'
23697         with the additional processing argument.
23698         (org-export-have-math): New variable, for dynamic scoping.
23699         (org-format-latex): Implement specific ways of processing.
23700         New function argument for processing type.
23701         (org-org-menu): Remove the entry to configure LaTeX snippet
23702         processing.
23704 2010-11-11  Bastien Guerry  <bzg@gnu.org>
23706         * org-agenda.el (org-agenda-clock-goto): Use `\C-c\C-x\C-j' for
23707         `org-clock-goto' and `J' for `org-agenda-clock-goto'.  If the
23708         heading currently clocked in is not listed in the agenda, display
23709         this entry in another buffer.  If there is no running clock,
23710         display a help message.
23712 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23714         * org-latex.el (org-export-latex-tables): Return "" instead of nil
23715         when no label is attached.
23717 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23719         * org-agenda.el (org-agenda-menu-show-match): New option.
23720         (org-agenda-menu-two-column): New option.
23721         (org-agenda-get-restriction-and-command): Implement dispatch menu
23722         without showing the matcher, and with two-column display.
23724 2010-11-11  Bernt Hansen  <bernt@norang.ca>
23726         * org-indent.el (org-indent-mode): Fix grammar for message when
23727         mode is refused.
23729 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23731         * ob.el (org-babel-insert-result): Ensures `beg' is set, even if
23732         no previous result exists.
23734 2010-11-11  Noorul Islam  <noorul@noorul.com>
23736         * ob.el Declare org-babel-lob-execute-maybe() to avoid compiler
23737         warning.
23739 2010-11-11  Noorul Islam  <noorul@noorul.com>
23741         * org.el (org-set-visibility-according-to-property): Use backward
23742         search instead of forward, so that top hierarchy gets priority.
23744 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23746         * org-agenda.el (org-timeline): Allow indirect buffer.
23748 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23750         * org-exp.el (org-export-preprocess-after-radio-targets-hook):
23751         (org-export-define-heading-targets-headline-hook): New hooks.
23753         * org.el (org-modules): Add entry for org-wikinodes.el.
23754         (org-font-lock-set-keywords-hook): New hook.
23755         (org-open-at-point-functions): New hook.
23756         (org-find-exact-headling-in-buffer):
23757         (org-find-exact-heading-in-directory): New functions.
23758         (org-mode-flyspell-verify): Better cursor position for checking if
23759         flyspell should ignore a word.
23761 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23763         * org-indent.el (org-indent-remove-properties):
23764         (org-indent-add-properties): Make sure changing these properties
23765         does not trigger modification hooks.
23767 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23769         * org.el (org-link-search-must-match-exact-headline): New option.
23770         (org-link-search-inhibit-query): New variable.
23771         (org-link-search): Search for exact headline match in Org files.
23773 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23775         * ob.el (org-babel-execute-src-block-maybe): Remove check for
23776         `org-babel-no-eval-on-ctrl-c-ctrl-c'; this is done in the new
23777         function `org-babel-execute-safely-maybe'.
23779 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23781         * ob.el (org-babel-load-in-session): Set directory in case :dir
23782         arg is in effect.
23784 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23786         * ob-tangle.el (org-babel-tangle-collect-blocks): Don't throw
23787         errors when we're not under of a headline.
23789 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23791         * ob-octave.el (org-babel-octave-wrapper-method): Use dlmwrite to
23792         write delimited text instead of save -ascii
23793         (org-babel-octave-import-elisp-from-file): Specify that data
23794         written to file is tab-delimited.
23796 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23798         * ob-R.el (org-babel-R-evaluate): Specify that tabular data is
23799         tab-delimited.
23801 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23803         * ob.el (org-babel-import-elisp-from-file): Allow separator to be
23804         specified.
23806 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23808         * ob-python.el (org-babel-python-table-or-string): Fix recognition
23809         of lists and tuples.
23811 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23813         * ob-octave.el (org-babel-octave-evaluate-external-process):
23814         Allow remote files.
23816 2010-11-11  Juan Pechiar  <pechiar@computer.org>
23818         * ob-octave.el (org-babel-octave-evaluate-external-process):
23819         Use `org-babel-octave-import-elisp-from-file' instead of
23820         `org-babel-eval-read-file'.
23821         (org-babel-octave-var-to-octave): Separate matrix rows with ';',
23822         and use '%s' as format specifier instead of '%S'.
23824 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23826         * ob-octave.el: Only (require 'matlab) when necessary.
23827         (org-babel-octave-initiate-session): (require) octave-inf or matlab
23828         as appropriate.
23829         (org-babel-execute:matlab): Remove (require).
23830         (org-babel-prep-session:matlab): Remove (require).
23831         (org-babel-matlab-initiate-session): Remove (require).
23833 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
23835         * ob-octave.el (org-babel-octave-evaluate): Fix formal argument
23836         list.
23838 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23840         * ob-python.el (org-babel-python-table-or-string): Can now handle
23841         VERY long result lines.
23843 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23845         * org-latex.el (org-export-latex-tables): Add label if any.
23847         * org-latex.el (org-export-latex-convert-table.el-table):
23848         Fix little mistake when inserting label.
23850 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
23852         * org.el (org-cycle-internal-local): Remove an unnecessary call
23853         to `org-back-to-heading' that was preventing point to stay at its
23854         column when cycling visibility.
23856 2010-11-11  Noorul Islam  <noorul@noorul.com>
23858         * org-capture.el (org-capture-finalize): Make messages consistent.
23860 2010-11-11  Noorul Islam  <noorul@noorul.com>
23862         * org-gnus.el: Suppress compiler warning by declaring outside
23863         function nnimap-retrieve-headers-from-file.
23865 2010-11-11  Noorul Islam  <noorul@noorul.com>
23867         * org-colview.el Use org-beamer-select-environment instead of
23868         org-beamer-set-environment-tag.
23870 2010-11-11  Matt Lundin  <mdl@imapmail.org>
23872         * org.el (org-insert-time-stamp): Fix org-insert-time-stamp so
23873         that the value of org-last-inserted-timestamp includes time range.
23875 2010-11-11  David Maus  <dmaus@ictsoc.de>
23877         * org-wl.el (org-wl-store-link-message): Provide link property for
23878         message-id without angle brackets.
23880 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23882         * ob-R.el (org-babel-R-evaluate): Improve prompt-stripping regexp.
23884 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23886         * ob-tangle.el (org-babel-find-file-noselect-refresh): Finds a
23887         file ensuing that the latest changes on disk are represented.
23889 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23891         * ob-sqlite.el (org-babel-sqlite-expand-vars): Now inserts string
23892         arguments w/o quotes.
23894 2010-11-11  Bernt Hansen  <bernt@norang.ca>
23896         * org-capture.el (org-capture-finalize): Fix clock in of
23897         interrupted task during capture finalize.
23899 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23901         * ob-R.el (org-babel-R-evaluate): Clean up extra prompts in
23902         session output.
23904 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23906         * ob-C.el (org-babel-C-ensure-main-wrap): More generous regular
23907         expression for matching main function.
23909 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23911         * ob-lob.el (org-babel-lob-one-liner-regexp): Fix error in lob
23912         regexp -- it wasn't matching lob lines w/o indices.
23914 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23916         * org-exp.el (org-export-latex-listings-w-names): Fix compiler
23917         warning in org-exp.el.
23919 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23921         * org-publish.el (org-publish-file): Better error message if
23922         base-directory or publishing-directory are not defined.
23924 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23926         * org-colview.el (org-columns-display-here): Use overlays to
23927         overrule line prefix properties during column view.
23929 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23931         * org-agenda.el (org-agenda-filter-preset): Document the
23932         limitation for the filter preset - it can only be used for an
23933         entire agenda view, not in an individual block in a block agenda.
23935 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23937         * ob-table.el (sbe): Now able to accept range references from
23938         tables.
23940 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23942         * ob.el (org-babel-pick-name): If colnames or rownames contain a
23943         list of names, then use those directly.
23945 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23947         * org-exp.el (org-export-format-source-code-or-example):
23948         Escape underscores in code block names on latex listings export.
23950 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23952         * ob-tangle.el (org-babel-with-temp-filebuffer):
23953         Use find-file-noselect to avoid excess buffer movement.
23955 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23957         * org-html.el (org-html-should-inline-p): Only inline images if
23958         they should be.
23960 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23962         * org-id.el (org-id-store-link): Autoload.
23964         * org.el ("org-id"): Autoload `org-id-store-link'.
23966 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23968         * org-html.el (org-html-should-inline-p): Only inline images if
23969         they should be.
23971 2010-11-11  Eric S Fraga  <e.fraga@ucl.ac.uk>
23973         * org-icalendar.el (org-icalendar-alarm-time): New option.
23975         * org-icalendar.el (org-print-icalendar-entries): Timed events are
23976         exported with alarm events, a.k.a. reminders.
23978 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23980         * org-capture.el (org-capture-target-buffer): Throw an error if we
23981         have no target file.
23982         (org-capture-select-template): Use a default template if the user
23983         has not specified any.
23985 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23987         * org.el (org-modules): Add entry for org-velocity.
23989 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
23991         * ob-lob.el (org-babel-lob-execute): Changing indentation to
23992         improve line length.
23994 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
23996         * org-exp.el (org-export-handle-table-metalines): Choose a better
23997         position for checking protectedness.
23999 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
24001         * org-table.el (org-table-convert-region): Don't continue csv
24002         importation which the point catches the end, this fixes an
24003         infinite loop which was caused by the (point) never catching up
24004         with the "end" marker.
24006 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
24008         * org-macs.el (org-string-nw-p): New function.
24010         * org-capture.el (org-capture-import-remember-templates):
24011         Interpret an empty string as request to use
24012         `org-default-notes-file'.
24013         (org-capture-target-buffer): If the FILE is not a (non-empty)
24014         string, use `org-default-notes-file'.
24016 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
24018         * org-capture.el (org-capture-templates): Fix customize type.
24020 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
24022         * org.el (org-refile-targets):
24023         * org-agenda.el (org-agenda-hide-tags-regexp): Fix typos in docstrings.
24025 2010-08-19  Glenn Morris  <rgm@gnu.org>
24027         * org.el (org-outline-overlay-data, org-set-outline-overlay-data)
24028         (org-save-outline-visibility): Move to org-macs.
24029         * org-macs.el (org-outline-overlay-data, org-set-outline-overlay-data)
24030         (org-save-outline-visibility): Move here from org.el.
24031         (show-all): Autoload it.
24032         * ob.el: Don't require org when compiling.
24034 2010-08-18  Glenn Morris  <rgm@gnu.org>
24036         * ob.el: Require org when compiling.
24037         (org-save-outline-visibility): Remove macro declaration.
24038         * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
24039         Remove unnecessary/macro declarations.
24040         * org-docview.el: Require doc-view when compiling.
24041         (doc-view-goto-page): Autoload rather than declaring.
24042         (doc-view-current-page): Remove macro declaration.
24044 2010-08-17  Glenn Morris  <rgm@gnu.org>
24046         * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
24047         (org-entry-get, org-table-import): Fix declarations.
24048         (org-match-string-no-properties): Remove unnecessary declaration.
24049         * ob-sh.el (org-babel-comint-in-buffer)
24050         (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
24051         (org-babel-comint-with-output): Remove unnecessary declarations.
24052         * ob-R.el (orgtbl-to-tsv): Fix declaration.
24053         * org-list.el (org-entry-get): Fix declaration.
24055 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24057         * ob-C.el: New file.
24058         * ob-R.el: New file.
24059         * ob-asymptote.el: New file.
24060         * ob-clojure.el: New file.
24061         * ob-comint.el: New file.
24062         * ob-css.el: New file.
24063         * ob-ditaa.el: New file.
24064         * ob-dot.el: New file.
24065         * ob-emacs-lisp.el: New file.
24066         * ob-eval.el: New file.
24067         * ob-exp.el: New file.
24068         * ob-gnuplot.el: New file.
24069         * ob-haskell.el: New file.
24070         * ob-keys.el: New file.
24071         * ob-latex.el: New file.
24072         * ob-lob.el: New file.
24073         * ob-matlab.el: New file.
24074         * ob-mscgen.el: New file.
24075         * ob-ocaml.el: New file.
24076         * ob-octave.el: New file.
24077         * ob-perl.el: New file.
24078         * ob-python.el: New file.
24079         * ob-ref.el: New file.
24080         * ob-ruby.el: New file.
24081         * ob-sass.el: New file.
24082         * ob-screen.el: New file.
24083         * ob-sh.el: New file.
24084         * ob-sql.el: New file.
24085         * ob-sqlite.el: New file.
24086         * ob-table.el: New file.
24087         * ob-tangle.el: New file.
24088         * ob.el: New file.
24090 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24092         * org-mks.el: New file.
24093         * org-capture.el: New file.
24095 2010-07-19  Christian Egli  <christian.egli@sbszh.ch>
24097         * org-taskjuggler.el: New file.
24099 2010-07-19  Matt Lundin  <mdl@imapmail.org>
24101         * org-agenda.el (org-search-view): Fix inclusion of agenda-archives
24102         in org-agenda-text-search-extra-files.
24104 2010-07-19  David Maus  <dmaus@ictsoc.de>
24106         * org-list.el (org-list-send-list): Locally bind variable `txt'.
24108 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24110         * org.el (org-reload): Now also reloading babel files.
24112 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24114         * org-capture.el (org-capture-set-plist): Make sure txt is a string
24115         before calling `string-match'.
24116         (org-capture-templates): Fix customization type.
24118 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24120         * org-latex.el (org-export-latex-preprocess): Make a special case
24121         for \nbsp.
24122         (org-latex-entities): Remove the entry for \nbsp.
24123         (org-latex-entities-exceptions): Variable removed.
24125 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24127         * org-capture.el (org-capture-refile): Do not try to manipulate
24128         bookmark list.
24130         * org.el (org-refile): Use the correct bookmark here.
24132 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24134         * org-list.el (org-list-send-list): Parse list from its true beginning.
24136         * org.el (org-ctrl-c-ctrl-c): Maybe send the list when at a list item.
24138 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24140         * org.el (org-insert-link): Correctly determine if we should use
24141         a relative path.
24143 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24145         * org-list.el (org-list-radio-list-templates): Fix templates.
24147 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24149         * org-list.el (org-list-send-list): Regexp defining the start of
24150         a radio list is now on par with the one used for radio tables.
24152 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24154         * org-entities.el (org-entities-help): Add a headline for
24155         the user-defined entities.
24157 2010-07-19  Dirk-Jan C. Binnema  <djcb.bulk@gmail.com>  (tiny change)
24159         * org-agenda.el (org-agenda-action): Document capture key and add it
24160         to the prompt.
24162 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24164         * org-latex.el (org-export-latex-listings-langs): Add (sqlite "SQL").
24166 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24168         * org-latex.el (org-export-latex-first-lines): Do not mark
24169         meta lines for removal.  Do not remove BABEL config lines during export.
24171 2010-07-19  David Maus  <dmaus@ictsoc.de>
24173         * org-capture.el (org-capture): Check if
24174         `org-capture-link-is-already-stored' is bound before evaluating.
24176 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24178         * org.el: Add autoload for org-babel-do-load-languages.
24180 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24182         * org-src.el (org-src-lang-modes): Add sqlite to sql-mode.
24184 2010-07-19  David Maus  <dmaus@ictsoc.de>
24186         * org-feed.el: Change indentation to match coding style
24187         guideline.
24189 2010-07-19  David Maus  <dmaus@ictsoc.de>
24191         * org-feed.el (org-feed-unescape, org-feed-parse-atom-feed): Load XML
24192         library if necessary.
24194 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24196         * org-beamer.el (org-beamer-amend-header): Standardize the
24197         header cookie for the beamer extra stuff.
24199 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24201         * org-beamer.el (org-beamer-amend-header): Put extra header
24202         last in header.
24204 2010-07-19  David Maus  <dmaus@ictsoc.de>
24206         * org-exp-blocks.el (org-export-blocks-format-ditaa)
24207         (org-export-blocks-format-dot): Remove text properties of body before
24208         calculating cache hash.
24210 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24212         * org-latex.el (org-export-latex-tabular-environment): New option.
24213         (org-export-latex-tables): Use `org-export-latex-tabular-environment'.
24215 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24217         * org-compat.el (org-version-check): New function.
24219         * org-indent.el (org-indent-mode): Check for exact emacs version.
24221 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24223         * org-capture.el (org-capture-templates): Allow the template
24224         to come from a file or function call.
24225         (org-capture-place-entry): Get the template from file or function.
24227 2010-07-19  David Maus  <dmaus@ictsoc.de>
24229         * org-agenda.el (org-agenda-bulk-action): Don't create marker for
24230         position if target is entire file.
24232 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24234         * org.el (org-autoload): Autoload a few more org-table functions.
24236 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24238         * org.el (org-babel-load-languages): Add ob-mscgen.
24240 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24242         * org-latex.el (org-export-latex-tables): Format string now
24243         matches options.
24245 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24247         * org.el (org-babel-load-languages): This variable controls which
24248         languages will be loaded by org-babel.  It is customizable through
24249         the customize interface.
24251 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24253         * org-latex.el (org-export-latex-format-image): Update number of
24254         arguments to allow for an optional short-name.
24256 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24258         * org-indent.el (org-indent-mode): Refuse to turn on prior to Emacs 23.2.
24260 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24262         * org-capture.el (org-capture-set-target-location):
24263         Store exact positions for file+regexp and file+function targets.
24264         (org-capture-place-entry, org-capture-place-item)
24265         (org-capture-place-table-line, org-capture-place-plain-text):
24266         Respect exact positions.
24267         (org-capture-finalize): Make sure we are at the beginning of a line
24268         when fixing the empty lines after the entry.
24270 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24272         * org.el (org-entry-get-with-inheritance): New argument LITERAL-NIL.
24273         (org-entry-get): Pass `literal-nil' into
24274         `org-entry-get-with-inheritance'.
24275         (org-todo): React to nil values of the LOGGING property.
24277 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24279         * org.el (org-default-notes-file): Update docstring.
24281 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24283         * org.el (org-link-frame-setup): Use `org-gnus-no-new-news' as default.
24285 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24287         * org-exp.el (org-export-attach-captions-and-attributes):
24288         Add a shortname attribute to caption strings under the symbol name
24289         org-caption-shortn.
24291 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24293         * org.el (org-switchb): Rename from `org-iswitchb'.
24294         Improve docstring.
24295         (org-iswitchb): New alias.
24296         (org-ido-switchb): Make alias point to `org-switchb'.
24298 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24300         * org-capture.el (org-capture-fill-template):
24301         Respect time-of-day preference in template prompt.
24303 2010-07-19  David Maus  <dmaus@ictsoc.de>
24305         * org-feed.el (org-feed-unescape): Remove superfluous lambda.
24307 2010-07-19  David Maus  <dmaus@ictsoc.de>
24309         * org-wl.el (org-wl-disable-folder-check): New customization
24310         variable.
24311         (org-wl-open): Disable folder check depending on
24312         `org-wl-disable-folder-check'.
24314 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24316         * org-capture.el (org-capture-set-target-location):
24317         Fix file+function interpretation.
24319 2010-07-19  David Maus  <dmaus@ictsoc.de>
24321         * org-feed.el (org-feed-parse-rss-entry): Unescape rss element
24322         content.
24324 2010-07-19  David Maus  <dmaus@ictsoc.de>
24326         * org-feed.el (xml-entity-alist): Declare variable
24327         `xml-entity-alist' for byte compiler.
24329 2010-07-19  David Maus  <dmaus@ictsoc.de>
24331         * org-feed.el (org-feed-unescape): New function.
24332         Unescape protected entities.
24333         (org-feed-parse-atom-entry): Use function for atom:content
24334         type text and html.
24336 2010-07-19  David Maus  <dmaus@ictsoc.de>
24338         * org-feed.el (org-feed-parse-rss-feed): Ignore case of rss
24339         element names.
24341 2010-07-19  Bernt Hansen  <bernt@norang.ca>
24343         * org.el (org-time-string-to-absolute): Ignore cyclic repeater
24344         when displaying items on todays agenda date.
24346 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24348         * org-agenda.el (org-agenda-get-progress): Avoid reusing previous
24349         value of EXTRA.
24351 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24353         * org-publish.el (org-publish-initialize-cache):
24354         Make timestamp directory, the entire path to it.
24356 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24358         * org-exp.el (org-export-handle-comments): Make sure to check
24359         for protection in the comment line, and not in the line after it.
24361 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24363         * org-html.el (org-export-html-preprocess): Call org-format-latex,
24364         possibly with a protect-only argument.
24366         * org.el (org-format-latex): New argument PROTECT-ONLY.
24368 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24370         * org-exp.el (org-export-handle-table-metalines): This function
24371         removes table specific meta-lines, now that we aren't wiping
24372         everything that looks remotely like a comment at the end of the
24373         export process we have to be sure to catch all of the specific lines
24374         in org-exp.el.
24376 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24378         * org-exp.el (org-export-select-backend-specific-text): Properly
24379         get rid of #+Backend and #+ATTR_Backend specifics to backends not
24380         matching the one we're exporting to.
24382 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24384         * org-table.el (orgtbl-to-generic): Add the :remove-newlines
24385         option which will strip newline characters from the text of table
24386         cells and replace then with "\n".
24388 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24390         * org.el (org-confirm-shell-link-function)
24391         (org-confirm-elisp-link-function): Limit the values that can be set by
24392         file variables.
24394 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24396         * org.el (org-compute-latex-and-specials-regexp): Deal with
24397         string elements by discarding them.
24399 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24401         * org.el (org-iswitchb): Make sure to use at least iswitchb.
24403 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24405         * org-capture.el (org-capture-position-for-last-stored)
24406         (org-capture-bookmark-last-stored-position): New functions.
24407         (org-capture-place-table-line): Better error catching.
24408         (org-capture-place-item, org-capture-place-entry)
24409         (org-capture-place-plain-text):
24410         Call `org-capture-position-for-last-stored'.
24411         (org-capture-finalize): Just call
24412         `org-capture-bookmark-last-stored-position'.
24414 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24416         * org-exp.el (org-export-mark-blockquote-verse-center):
24417         Fix small bug, now grabbing match data before overwritten by looking-at
24418         this fixes a problem with remainders of #+end_quote lines appearing
24419         in exported output.
24421 2010-07-19  David Maus  <dmaus@ictsoc.de>
24423         * org.el (org-link-frame-setup): Add customization option for
24424         Wanderlust.
24426 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24428         * org-latex.el (org-export-latex-fixed-width): Now check
24429         org-example rather than org-protected on verbatim export, because by
24430         default all ": " prefixed lines are marked protected.
24432 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24434         * org-latex.el (org-export-latex-fixed-width): Check for
24435         protection before wrapping ": " lines as verbatim.
24437 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24439         * org-exp.el (org-export-handle-comments): Check for protection
24440         before removing comments.
24442 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24444         * org-entities.el (org-entities): Restructure the list.
24445         (org-entities-help): Turn the help output into a buffer
24446         in Org-mode, so that it becomes easier to find a symbol
24447         in the structure.
24448         (org-entities-create-table): Deal with new structure.
24450 2010-07-19  David Maus  <dmaus@ictsoc.de>
24452         * org-agenda.el (org-write-agenda): Use backquotes to expand
24453         `flet' at compile time.
24455 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24457         * org.el (org-entry-properties): Make sure that standard property
24458         names are used even if the user has customized time keywords.
24460 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24462         * org-macs.el (org-not-nil): Return the value if not interpreted
24463         as nil.
24465         * org.el (org-entry-get)
24466         (org-entry-get-with-inheritance): Interpret the value "nil"
24467         as nil for properties.
24469 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24471         * org.el (org-switch-to-buffer-other-window): Return the buffer.
24473 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24475         * org-macs.el (org-not-nil): New function.
24477         * org.el (org-block-todo-from-children-or-siblings-or-parent):
24478         Use `org-not-nil' to interpret a property value of nil.
24480 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24482         * org.el (org-truely-invisible-p): New function.
24483         (org-beginning-of-line): Use `org-truely-invisible-p'.
24485 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24487         * org-agenda.el (org-agenda-get-timestamps): No errors
24488         while getting TODO state.
24489         (org-agenda-highlight-todo): No error when no keyword has
24490         been matched.
24492 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24494         * org.el (org-timestamp-change): New optional argument UPDOWN.
24495         Use this to identify calls from org-timestamp-up/down, so that we can
24496         skip by rounding minutes in this case.
24497         (org-timestamp-up, org-timestamp-down, org-timestamp-up-day)
24498         (org-timestamp-down-day): Call org-timestamp-change with the
24499         updown argument.
24501 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24503         * org-agenda.el (org-agenda-action): Make `c' key call org-capture.
24505         * org-capture.el: New file.
24507         * org-compat.el (org-get-x-clipboard): Function moved here from
24508         remember.el.
24510         * org-mks.el: New file.
24512         * org.el (org-set-regexps-and-options): Allow statistic cookies as
24513         part of complex headlines.
24514         (org-find-olp): New argument THIS-BUFFER.  When set, assume that the
24515         OLP does not contain a file name.
24517 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24519         * org.el (org-mode): Set `comment-start' instead of changing the
24520         syntax of the `#' character.
24522 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24524         * org-exp.el (org-export-format-source-code-or-example): Mark examples
24525         by a property.
24527         * org-html.el (org-export-html-close-lists-maybe): Check if raw
24528         HTML stuff was actually made from an example.
24530 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24532         * org-latex.el: Items are no longer skipped when their first line
24533         ends on a protected element.
24535         * org-list.el: Protected environments looking like lists are not
24536         exported anymore.
24538 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24540         * org-exp-blocks.el (org-export-blocks-preprocess):
24541         Cleanup trailing newline after block.
24543 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24545         * org-exp.el: Comment regexp now matches documentation.  No more
24546         protection check when deleting comments before export.
24548 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24550         * org-exp.el (org-export-preprocess-string):
24551         Now using `org-export-handle-include-files-recurse' to resolve
24552         included files.
24554 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24556         * org-agenda.el (org-agenda-get-deadlines)
24557         (org-agenda-get-scheduled):
24558         * org.el (org-time-string-to-seconds):
24559         For deadline and scheduled agenda display ignore the cyclic repeater
24560         when calculating how many days late the task is.  If you have a weekly
24561         task and miss the date the agenda view will show more than a week late
24562         now instead of resetting on the cyclic repeating date.  This makes it
24563         much more obvious when you missed a repeating task after the repeater.
24565 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24567         * org-exp.el (org-export-mark-blockquote-verse-center):
24568         Consider environments that end at eob.
24570 2010-07-19  Mikael Fornius  <mfo@abc.se>
24572         * org.el (org-raise-scripts): Do not fontify sub/superscripts of text
24573         with face `org-special-keyword'.  Make property keys as :LAST_REPEAT:
24574         display correctly.
24576 2010-07-19  Mikael Fornius  <mfo@abc.se>
24578         * org.el (org-at-property-p): Use save-match-data macro instead of let.
24580 2010-07-19  Mikael Fornius  <mfo@abc.se>
24582         * org.el (test): Remove unused test function.
24584 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24586         * org-exp-blocks.el (org-export-blocks-preprocess): Fix typo.
24588 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24590         * org-exp-blocks.el (org-export-blocks-postblock-hook):
24591         Add documentation to and turn into a defcustom.
24593 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24595         * org-exp.el (org-get-file-contents): By un-setting prefix1 to ""
24596         instead of to nil we avoid errors when :prefix1 is defined, but
24597         prefix is not.
24599 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
24601         * org-latex.el (org-export-latex-preprocess): Environments coming
24602         from latex backend specific instructions (#+LaTeX) are already
24603         protected and won't be treated as normal environments.
24605 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24607         * org-timer.el (org-timer-set-timer): Fix typo in the docstring.
24609 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24611         * org-timer.el (org-timer-set-timer): Use a prefix argument.
24612         See the docstring of the function.
24614 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24616         * org-timer.el (org-timer-set-timer): Fix bug about canceling
24617         timers.
24619 2010-07-19  David Maus  <dmaus@ictsoc.de>
24621         * org-w3m.el (org-w3m-copy-for-org-mode)
24622         (org-w3m-get-next-link-start, org-w3m-get-prev-link-start):
24623         Get text property directly, not using macro `w3m-anchor'.
24625 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24627         * org.el (org-emph-re): Document the match groups.
24629 2010-07-19  Bernt Hansen  <bernt@norang.ca>
24631         * org-clock.el (org-clock-in): Set `org-clock-clocking-in' to
24632         t before calling `org-clock-out', so that that function can
24633         know its call context.
24635 2010-07-19  Bastien Guerry  <bzg@gnu.org>
24637         * org-timer.el (org-timer-default-timer): New variable.
24638         (org-timer-set-timer): Use the new variable.  Also offer the
24639         possibility to replace the current timer by a new one.
24641 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24643         * org.el (org-kill-note-or-show-branches): Hide subtree before
24644         exposing the headings.
24646 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24648         * org.el (org-add-planning-info): Remove the empty line also
24649         if there is no whitespace at all in there.
24651         * org-table.el (org-table-align): Fix alignment of strings
24652         with invisible characters.
24654 2010-07-19  David Maus  <dmaus@ictsoc.de>
24656         * org.el (org-refile-cache-get): Return empty list of targets
24657         when cache was cleared.
24658         (org-clone-subtree-with-time-shift): Maybe create ID property
24659         in cloned subtrees.
24660         (org-clone-delete-id): New customization variable.
24661         (org-clone-subtree-with-time-shift): Use customization
24662         variable `org-clone-delete-id'.
24663         (org-clone-subtree-with-time-shift): Remove empty property
24664         drawer in cloned subtrees.
24666 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24668         * org.el (org-refile-use-cache): New option.
24669         (org-refile-cache, org-refile-markers): New variable.
24670         (org-refile-marker, org-refile-cache-clear)
24671         (org-refile-cache-check-set, org-refile-cache-put)
24672         (org-refile-cache-get): New function.
24673         (org-get-refile-targets): Use the refile cache.
24675         * org-clock.el (org-clock-sum): Don't include running clock if
24676         the time block is wrong.
24678 2010-07-19  John Wiegley  <jwiegley@gmail.com>
24680         * org-clock.el (org-clock-clock-in, org-clock-in):
24681         Add parameter `start-time'.
24682         (org-clock-resolve-clock): Add parameter `clock-out-time'.
24683         If set, and resolve-to is a past time, then the clock out
24684         event occurs at `clock-out-time' rather than at `resolve-to'.
24685         In this case, `resolve-to' becomes the clock in time.
24686         (org-clock-jump-to-current-clock): Create new global command
24687         to reveal the current clock.
24688         (org-clock-resolve): Add new commands g/G and j/J, and a
24689         help window describing all commands and their meaning.
24690         (org-clock-resolve-expert): New customization variable.
24691         (org-find-open-clocks): Fix a bug that caused discovered
24692         clocks not to match up with the currently active clock.
24693         (org-resolve-clocks): Change the argument
24694         `also-non-dangling-p' to `only-dangling-p', since due to a bug
24695         this was the default behavior all along.
24697 2010-07-19  David Maus  <dmaus@ictsoc.de>
24699         * org-id.el (org-id-uuid): New function.  Return string with
24700         random (version 4) UUID.
24701         (org-id-method): Make 'uuid the new default value.
24702         (org-id-new): Use `org-id-uuid' if call to uuidgen program
24703         does not return a UUID.
24705 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24707         * org-latex.el (org-export-latex-format-image): Add support
24708         for multicolumn figures in LaTeX.
24710 2010-07-19  David Maus  <dmaus@ictsoc.de>
24712         * org.el (org-clone-subtree-with-time-shift): Remove ID
24713         property of original subtree in cloned subtrees.
24715 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24717         * org-exp.el (org-export-format-source-code-or-example):
24718         XEmacs compatibility.
24720         * org-latex.el (org-export-latex-tables): Accept comma in
24721         align string.
24723         * org-docbook.el (org-export-docbook-xslt-stylesheet): New option.
24724         (org-export-docbook-xslt-proc-command): Fix docstring.
24725         (org-export-docbook-xsl-fo-proc-command): Fix docstring.
24726         (org-export-as-docbook-pdf):
24727         Improve formatting of the xslt command.
24729         * org-exp.el (org-infile-export-plist): Check for XSLT setting.
24731         * org.el (org-file-contents): Improve error message.
24732         (org-set-regexps-and-options): Remove spaces at both ends.
24734 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24736         * org-docbook.el (org-export-as-docbook-pdf):
24737         Improve formatting of the xslt command.
24739 2010-07-19  Sebastian Rose  <sebastian_rose@gmx.de>
24741         * org-publish.el (org-publish-cache): Use one big hashmap for
24742         each project defined in `org-publish-project-alist'.
24743         (initialize-files-alist): Function removed.
24744         (org-publish-validate-link): Function removed.
24745         (org-publish-get-base-files): Add variable `sitemap-requested'
24746         to avoid sorting where possible.
24747         (org-publish-get-files): Function removed.
24748         (org-publish-get-project-from-filename): Make independent of
24749         file list.
24750         (org-publish-file): New argument NO-CACHE.
24752 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24754         * org.el (org-beginning-of-defun, org-end-of-defun):
24755         New functions.
24756         (org-mode): Install the `org-beginning-of-defun' and
24757         `org-end-of-defun' functions.
24758         (org-pretty-entities): New option.
24759         (org-toggle-pretty-entities): New command.
24760         (org-fontify-entities): New function.
24761         (org-startup-options): New keywords for pretty entities.
24762         (org-set-font-lock-defaults): Call the pretty entities
24763         function.
24765         * org-latex.el (org-export-latex-keywords-maybe): Protect the
24766         TODO markup.
24768 2010-07-19  Mikael Fornius  <mfo@abc.se>
24770         * org-habit.el (org-habit-build-graph): Help-echo date when
24771         mouse is over stars.
24773 2010-07-19  Jan Böcker  <jan.boecker@jboecker.de>
24775         * org.el (org-file-apps): Improve docstring to reflect
24776         grouping matches.
24778 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24780         * org.el (org-set-startup-visibility): Fix empty line display.
24782         * org-latex.el (org-export-latex-links): Use the formatting
24783         function of the link type, if it is available.
24785         * org-table.el (org-table-get-remote-range): Return to
24786         original buffer when retrieving remote reference.
24788         * org.el (org-display-inline-images): Do the entire buffer,
24789         not just the narrowed region.  Clear the cache.
24790         (org-display-inline-images): Match mode file paths.
24792 2010-07-19  David Maus  <dmaus@ictsoc.de>
24794         * org-wl.el (org-wl-store-link-folder): Don't throw error when
24795         called on WL folder group.
24797 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24799         * org.el (org-replace-escapes): Make sure the cdr is not nil.
24800         (org-read-date): Make `M-v' and `C-v' scroll the popup calendar.
24801         (org-mode): Revert comment syntax changes.
24803 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24805         * org.el (org-sparse-tree): Make `C-c / t' search for all TODO
24806         keywords, and `C-c / T' for a specific one.
24808 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24810         * org.el (org-mode): Fix comment syntax settings.
24812         * org-src.el (org-edit-src-allow-write-back-p):
24813         Define variable.
24815         * org.el (org-inline-image-overlays): New variable.
24816         (org-toggle-inline-images, org-display-inline-images)
24817         (org-remove-inline-images): New commands.
24818         (org-mode-map): Define a key for `org-toggle-inline-images'.
24820 2010-07-19  David Maus  <dmaus@ictsoc.de>
24822         * org-wl.el (org-wl-message-field): New function.
24823         Return content of header field in message entity.
24824         (org-wl-store-link): Call `org-wl-store-link-folder' or
24825         `org-wl-store-link-message' depending on major-mode.
24826         (org-wl-store-link-folder): New function.  Store link to
24827         Wanderlust folder.
24828         (org-wl-store-link-message): New function.  Store link to
24829         Wanderlust message.
24830         (org-wl-store-link-message): Store link to message while
24831         visiting message.
24832         (org-wl-open): Don't try to jump to message when opening a
24833         folder link.
24835 2010-07-19  David Maus  <dmaus@ictsoc.de>
24837         * org.el (org-replace-escapes): Avoid infinite loop when
24838         replace string contains escape sequence it replaces.
24840 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24842         * org-crypt.el (org-crypt-key-for-heading): Use symmetric
24843         encryption when now key is set.
24845 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24847         * org-table.el (org-table-recalculate-buffer-tables)
24848         (org-table-iterate-buffer-tables): New commands.
24850         * org.el (org-check-for-hidden): When there is a region, skip
24851         the check.
24853 2010-07-19  Dan Davison  <davison@stats.ox.ac.uk>
24855         * org-src.el (org-edit-src-code): allow-write-back-p had
24856         erroneously been omitted from let binding.
24858 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24860         * org-agenda.el (org-sorting-choice): New sorting type alpha.
24861         (org-cmp-alpha): New defsubst.
24862         (org-em): New defsubst.
24863         (org-entries-lessp): Only compute needed comparisons.
24865 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24867         * org-html.el (org-format-org-table-html): Test all columns
24868         for number content.
24870 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24872         * org-latex.el (org-export-latex-treat-sub-super-char):
24873         Make sure parenthesis matching is consistent.
24875         * org-table.el (org-table-colgroup-line-p)
24876         (org-table-cookie-line-p): New functions.
24878         * org-exp.el (org-table-clean-before-export): Better tests for
24879         colgroup and cookie lines.
24881 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24883         * org-agenda.el (org-agenda-goto): Push a mark before changing
24884         the position.
24886         * org-footnote.el (org-footnote): New group.
24887         (org-footnote-section)
24888         (org-footnote-tag-for-non-org-mode-files): Fix typos.
24890         * org-list.el (org-end-of-item-text-before-children): Also do
24891         the right thing at the end of a file.
24893         * org.el (org-set-packages-alist, org-get-packages-alist):
24894         New function.
24895         (org-export-latex-default-packages-alist)
24896         (org-export-latex-packages-alist): Add extra flag to
24897         each package, indicating if it should be used for snippets.
24898         (org-create-formula-image): Add the snippet argument.
24899         (org-splice-latex-header): New argument SNIPPET-P, pass it
24900         through to `org-latex-packages-to-string'.
24901         (org-latex-packages-to-string): New argument SNIPPET-P.
24903         * org-latex.el (org-export-latex-make-header): Add the snippet
24904         argument.
24906         * org-docbook.el (org-export-as-docbook): Implement ordered
24907         lists starting at some offset.
24909 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24911         * org.el (org-link-types, org-open-at-point): Add doi links.
24913         * org-ascii.el (org-export-ascii-preprocess): Remove list
24914         startcounter cookies.
24916         * org-list.el (org-renumber-ordered-list): Respect counter
24917         start values.
24919         * org-latex.el (org-export-latex-lists): Accept ordered list
24920         item offset cookie.
24922         * org-html.el (org-export-as-html): Accept ordered list
24923         item offset cookie.
24925         * org-indent.el (org-indent-mode): Turn off `indent-tabs-mode'
24926         which messes up alignment of tags.
24928 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24930         * org-clock.el (org-clock-cancel, org-clock-out): Make sure
24931         the modeline display is removed.
24933         * org-exp.el (org-export-format-drawer-function):
24934         Fix docstring.
24936         * org-agenda.el (org-agenda-refile): New optional argument
24937         NO-UPDATE.
24938         (org-agenda-refile): Call `org-agenda-redo' unless NO-UPDATE
24939         is set.
24940         (org-agenda-bulk-action): Call the refile command with updates
24941         suppressed - but arrange for `org-agenda-redo' to be called at
24942         the end.
24944         * org.el (org-mode): Make table mapping quiet.
24945         (org-table-map-tables): New optional argument QUIETLY.
24947         * org-ascii.el (org-export-ascii-preprocess): Make table
24948         mapping quiet.
24950         * org-html.el (org-export-as-html, org-html-level-start):
24951         Change XHTML IDs to not use dots.
24953         * org-exp.el (org-export-define-heading-targets):
24954         Change XHTML IDs to not use dots.
24956         * org-docbook.el (org-export-docbook-level-start):
24957         Change XHTML IDs to not use dots.
24959         * org-latex.el (org-export-as-latex): Make sure that the
24960         result buffer is in latex-mode.
24962         * org.el (org-shiftup-final-hook, org-shiftdown-final-hook)
24963         (org-shiftleft-final-hook, org-shiftright-final-hook):
24964         New hooks.
24966 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24968         * org-table.el (org-table-justify-field-maybe): Make sure that
24969         inserting a value does not turn a line into a hline.
24971 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24973         * org-clock.el (org-clock-sum): New argument HEADLINE-FILTER.
24974         (org-clock-sum): Add property to selected headlines.
24975         (org-dblock-write:clocktable): Make tags matcher.
24977         * org.el (org-set-autofill-regexps): XEmacs compatibility.
24979         * org-latex.el (org-export-latex-set-initial-vars): Allow "-"
24980         in latex class definitions.
24982         * org.el (org-shiftup-hook, org-shiftdown-hook)
24983         (org-shiftleft-hook, org-shiftright-hook): New hooks.
24985         * org-entities.el (org-entities): Use \land and \lor for logical
24986         operators.
24988         * org.el (org-shiftmetaleft, org-shiftmetaright): Call the subtree
24989         indentation commands.
24990         (org-hidden-tree-error): New defsubst.
24991         (org-metaleft, org-metaright): Check for hidden stuff and throw an
24992         error.
24993         (org-check-for-hidden): New function.
24995         * org-list.el (org-item-re): New function.
24996         (org-at-item-p): Use `org-item-re'.
24997         (org-end-of-item-text-before-children): New function.
24998         (org-outdent-item, org-indent-item): Arrange for leaving the
24999         subtree alone.
25000         (org-outdent-item-tree, org-indent-item-tree): New argument
25001         NO-SUBTREE.
25002         (org-indent-item-tree): Use `org-end-of-item-text-before-children'
25003         to find the end for processing while ignoring the subtree.
25005         * org-publish.el (org-publish-sitemap-sort-alphabetically)
25006         (org-publish-sitemap-sort-folders)
25007         (org-publish-sitemap-sort-ignore-case): New options.
25009 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25011         * org-publish.el (org-publish-compare-directory-files): Fix sorting.
25013         * org-compat.el (org-get-x-clipboard-compat): Use (featurep 'xemacs).
25015         * org-publish.el (org-publish-project-alist): Update docstring.
25016         (org-publish-file-title-cache): New variable.
25017         (org-publish-initialize-files-alist):
25018         Initialize `org-publish-initialize-files-alist' to nil.
25019         (org-publish-sort-directory-files): New function.
25020         (org-publish-projects): Access the new properties.
25021         (org-publish-find-title): Use the file title cache.
25022         (org-publish-find-title): Build the file title cache.
25023         (org-publish-get-base-files-1): Sort files.
25024         (org-publish-aux-preprocess): Do not throw an error when before
25025         the first headline.  Allow an empty target, meaning to link just
25026         to the file.
25027         (org-publish-index-generate-theindex.inc): Check if there is
25028         actually a target and only then add it to the link.
25029         (org-publish-projects): Fix a remaining issue with the last commit.
25031         * org-html.el (org-export-as-html): Treat verse as open/close
25032         paragraph.
25033         (org-export-html-close-lists-maybe): Allow to splice raw HTML into
25034         and out of lists.
25036 2010-07-19  Dan Davison  <davison@stats.ox.ac.uk>
25038         * org-src.el (org-edit-src-code): Allow the org-src edit buffer to
25039         be used in a read-only mode.
25040         (org-edit-src-code): Different message in read-only mode.
25042 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25044         * org-src.el (org-edit-src-find-region-and-lang): Test for
25045         table.el as late as possible.
25047         * org-colview.el: Make sure this file is never loaded into XEmacs.
25049         * org-agenda.el (org-highlight, org-unhighlight): Use direct
25050         overlay calls.
25052         * org.el (org-key): Apply the translations defined in
25053         `org-xemacs-key-equivalents'.
25055         * org-mouse.el (org-mode-hook): Use `org-defkey'.
25057         * org-compat.el (org-xemacs-key-equivalents): New constant.
25059 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25061         * org-inlinetask.el (org-inlinetask-defaut-state): New option.
25062         (org-inlinetask-insert-task): Use `org-inlinetask-defaut-state'.
25063         Obey `org-odd-levels-only'.
25065         * org-compat.el (org-find-overlays): Use overlays-in/at.
25067         * org.el (org-remove-empty-overlays-at)
25068         (org-outline-overlay-data, org-hide-block-toggle)
25069         (org-format-latex, org-context): Use overlays-in/at.
25071         * org-src.el (org-edit-src-exit): Use overlays-in/at.
25073         * org-agenda.el (org-agenda-mark-clocking-task)
25074         (org-agenda-fontify-priorities, org-agenda-dim-blocked-tasks)
25075         (org-agenda-entry-text-hide)
25076         (org-agenda-fix-tags-filter-overlays-at)
25077         (org-agenda-bulk-remove-overlays): Use overlays-in/at.
25079         * org-compat.el (org-overlays-at): Function removed.
25080         (org-overlays-in): Function removed.
25082 2010-07-19  Bastien Guerry  <bzg@gnu.org>
25084         * org-clock.el (org-clock-set-current): Just return the headline
25085         itself, strip the TODO keyword, the priority cookie and the tags.
25087 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25089         * org-compat.el (org-xemacs-without-invisibility): New macro.
25090         (org-xemacs-without-invisibility): New macro.
25091         (org-indent-to-column, org-indent-line-to, org-move-to-column):
25092         Redefine using the macro `org-xemacs-without-invisibility'.
25094         * org.el (org-mode, org-org-menu): Use `add-to-invisibility-spec'.
25096         * org-table.el (orgtbl-mode): Use `add-to-invisibility-spec'.
25098         * org-compat.el (org-make-overlay, org-delete-overlay)
25099         (org-overlay-start, org-overlay-end, org-overlay-put)
25100         (org-overlay-get, org-overlay-move, org-overlay-buffer):
25101         Functions removed.
25102         (org-add-to-invisibility-spec): Function removed.
25104         * org-html.el (org-export-as-html-and-open): Add argument to
25105         kill-buffer.
25107         * org-habit.el (require): `calendar' is now required already by
25108         org.el on top level.
25110         * org-clock.el (require): `calendar' is now required already by
25111         org.el on top level.
25113         * org-agenda.el (require, org-timeline, org-agenda-list)
25114         (org-todo-list, org-agenda-to-appt): `calendar' is now required
25115         already by org.el on top level.
25117         * org.el (org-export-latex-fix-inputenc): Declare function.
25119         * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
25120         variables.
25122         * org.el (calendar): Require calendar now on top level in org.el
25123         and define aliases to new variables when needed.
25124         (org-read-date, org-goto-calendar): Do not bind obsolete
25125         variables.
25127         * org-clock.el (org-clock-out, org-clock-cancel): Get rid of
25128         compilation warning, add comment that this cannot be done with
25129         `with-current-buffer'.
25131         * org-wl.el (org-wl-open): Use `with-current-buffer'.
25133         * org.el (overlay, org-remove-empty-overlays-at)
25134         (org-outline-overlay-data, org-set-outline-overlay-data)
25135         (org-show-block-all, org-hide-block-toggle)
25136         (org-highlight-new-match, org-remove-occur-highlights)
25137         (org-tags-overlay, org-fast-tag-selection, org-date-ovl)
25138         (org-read-date, org-read-date-display, org-eval-in-calendar)
25139         (org-format-latex, org-context)
25140         (org-speedbar-restriction-lock-overlay)
25141         (org-speedbar-set-agenda-restriction): Use the normal overlay API.
25143         * org-table.el (org-table-add-rectangle-overlay)
25144         (org-table-remove-rectangle-highlight)
25145         (org-table-overlay-coordinates)
25146         (org-table-toggle-coordinate-overlays): Use the normal overlay
25147         API.
25149         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
25150         (org-edit-src-exit, org-src-mode-configure-edit-buffer): Use the
25151         normal overlay API.
25153         * org-colview.el (org-columns-new-overlay)
25154         (org-columns-display-here, org-columns-remove-overlays)
25155         (org-columns-edit-value, org-columns-next-allowed-value)
25156         (org-columns-update): Use the normal overlay API.
25158         * org-clock.el (org-clock-out, org-clock-cancel)
25159         (org-clock-put-overlay, org-clock-remove-overlays): Use the normal
25160         overlay API.
25162         * org-agenda.el (org-agenda-mark-filtered-text)
25163         (org-agenda-mark-clocking-task, org-agenda-fontify-priorities)
25164         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
25165         (org-agenda-entry-text-hide)
25166         (org-agenda-restriction-lock-overlay)
25167         (org-agenda-set-restriction-lock)
25168         (org-agenda-filter-by-tag-hide-line)
25169         (org-agenda-fix-tags-filter-overlays-at)
25170         (org-agenda-filter-by-tag-show-all, org-hl)
25171         (org-agenda-goto-calendar, org-agenda-bulk-mark)
25172         (org-agenda-bulk-remove-overlays): Use the normal overlay API.
25174         * org-freemind.el (org-freemind-from-org-mode-node)
25175         (org-freemind-from-org-mode)
25176         (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
25177         Use interactive-p instead of called-interactively, because this is
25178         backward compatible with older Emacsen I still support..
25180 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25182         * org-exp.el (org-export-define-heading-targets): Fix bug in
25183         regexp finding ID and CUSTOM_ID properties.
25185 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25187         * org-footnote.el (org-footnote-goto-previous-reference):
25188         Rename from `org-footnote-goto-next-reference'.
25190         * org.el (org-auto-repeat-maybe): Only record LAST_REPEAT if
25191         org-log-repeat is non-nil, or if there is clocking data in the
25192         entry.
25194         * org-crypt.el (org-encrypt-entry): Improve mapping behavior.
25196 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25198         * org.el (org-align-all-tags): New command.
25200 2010-07-19  David Maus  <dmaus@ictsoc.de>
25202         * org-wl.el (org-wl-link-remove-filter): New customizable
25203         variable.  If non-nil, filter conditions are stripped when storing
25204         link to message in filter folder.
25205         (org-wl-shimbun-prefer-web-links): New customizable variable.
25206         If non-nil, links to shimbun messages are created as web links to
25207         message source.
25208         (org-wl-nntp-prefer-web-links): New customizable variable.
25209         If non-nil, links to nntp message are created as web links to gmane
25210         or googlegroups.
25211         (org-wl-namazu-default-index): New customizable variable.
25212         Directory of namazu search index that should be used as default
25213         when opening a link in a search folder.
25214         (org-wl-folder-types): New constant.  Wanderlust folder type
25215         indicators.
25216         (org-wl-folder-type): New function.  Return type of Wanderlust
25217         folder.
25218         (org-wl-store-link): Create web links for shimbun or nntp messages
25219         and strip filter conditions depending on customizable variables.
25220         (org-wl-open): Open namazu search folder for message when called
25221         with prefix.
25223 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25225         * org.el (org-remove-if, org-remove-if-not): New functions.
25226         (org-open-file): Use internal remove-if functions.
25228 2010-07-19  Jan Böcker  <jan.boecker@jboecker.de>
25230         * org.el (org-file-apps-entry-match-against-dlink-p): New function.
25231         (org-file-apps-ex): Remove variable.
25232         (org-open-file): Integrate org-file-apps-ex functionality back
25233         into org-file-apps, and decide whether to match a regexp against
25234         the link or the filename using org-file-apps-entry-uses-grouping-p.
25236 2010-07-19  Jan Böcker  <jan.boecker@jboecker.de>
25238         * org.el (org-file-apps-ex): New variable.
25239         (org-open-file): Before considering org-file-apps, first match the
25240         regexps from org-file-apps-ex against the whole link.
25241         See docstring of org-file-apps-ex.
25243 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25245         * org.el (org-export-latex-default-packages-alist):
25246         Remove microtype package.
25247         (org-todo-repeat-to-state): New variable.
25248         (org-auto-repeat-maybe): Allow user-selected target states.
25249         (org-default-properties): Add the new property REPEAT_TO_STATE.
25251 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
25253         * org-mobile.el (org-mobile-check-setup): Make sure that there is
25254         a binary to compute checksums.
25256 2010-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
25258         * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
25259         variables.
25261         * org.el (calendar): Require calendar now on top level in org.el
25262         and define aliases to new variables when needed.
25263         (org-read-date, org-goto-calendar): Do not bind obsolete
25264         variables.
25266 2010-06-22  Glenn Morris  <rgm@gnu.org>
25268         * org-entities.el: Add explicit utf-8 coding cookie to file with
25269         utf-8 characters.
25271 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
25273         * org.el (org-file-complete-link): Avoid (expand-file-name ".").
25275 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
25277         * Version 23.2 released.
25279 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
25281         * org-table.el (orgtbl-setup):
25282         * org-agenda.el (org-agenda-entry-text-mode): Simplify.
25284 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
25286         * org-table.el (orgtbl-mode): Use define-minor-mode.
25288 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25290         * org.el (org-insert-link): Find the link buffer on visible frames.
25291         (org-export-latex-default-packages-alist): Hyperref must be loaded
25292         late.
25293         (org-open-file): More care with the new matching for file links.
25295 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25297         * org-latex.el (org-export-latex-preprocess): Do not yet protect
25298         defined entities - these will be taken care of later.
25299         (org-export-latex-special-chars): Post-process entity replacement.
25300         (org-export-latex-fontify-headline): Do not yet protect defined
25301         entities - these will be taken care of later.
25302         (org-export-latex-tables, org-export-latex-links): Format the
25303         caption properly.
25305         * org-entities.el (org-entities-user): Fix typo.
25307         * org.el (org-prepare-agenda-buffers): Uniquify TODO keywords.
25309         * org-entities.el (org-entities-user): Improve docstring.
25311 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25313         * org-entities.el (org-macs): Require org-macs, to be sure that we
25314         have `declare-function' defined.
25316 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25318         * org-latex.el (org-export-latex-classes): Update docstring.
25320         * org.el (org-format-latex-header): Add cookies to the header.
25321         (org-splice-latex-header): Implement placement according to cookies.
25323 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25325         * org-publish.el (org-publish-aux-preprocess): Control case
25326         sensitivity.
25328 2010-04-10  Bastien Guerry  <bzg@gnu.org>
25330         * org.el (org-splice-latex-header): Fix typo.
25332 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25334         * org-latex.el (org-export-latex-make-header):
25335         Use `org-splice-latex-header' to build the header.
25336         (org-export-latex-classes): Update docstring.
25338         * org.el (org-splice-latex-header): New function.
25339         (org-create-formula-image): Use `org-splice-latex-header' to build
25340         the header.
25342         * org-gnus.el (org-gnus-follow-link): Handle nndoc backend.
25344 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25346         * org.el (org-export-latex-packages-alist)
25347         (org-export-latex-default-packages-alist): Fix docstring to
25348         reflect the expected structure.
25350         * org-docbook.el (org-docbook-do-expand): Fix bug with variable names.
25351         (org-export-docbook-finalize-table): Make use of label for tables.
25353 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25355         * org-attach.el (org-attach-commit): Split on newlines.
25357         * org.el (org-export-latex-default-packages-alist): Use list
25358         instead of cons for the entries.
25360 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25362         * org-entities.el (org-entity-get-representation): Catch the case
25363         that there is not entry in the list.
25365         * org-mobile.el (org-mobile-use-encryption)
25366         (org-mobile-encryption-tempfile, org-mobile-encryption-password):
25367         New options.
25368         (org-mobile-check-setup): CHeck the encryption setup.
25369         (org-mobile-copy-agenda-files, org-mobile-sumo-agenda-command)
25370         (org-mobile-create-sumo-agenda): Use encryption code.
25371         (org-mobile-encrypt-and-move): New function.
25372         (org-mobile-encrypt-file, org-mobile-decrypt-file):
25373         New functions.
25374         (org-mobile-move-capture): Decrypt the capture file.
25376         * org.el (org-entities): Require the new file.
25377         (org-export-latex-default-packages-alist): New variable.
25378         (org-complete): Use new entity code for completion.
25379         (org-create-formula-image): Use the new packages variable.
25381         * org-latex.el (org-export-latex-classes): Remove the standard
25382         packages from the class headers.
25383         (org-export-latex-make-header): Use the new package variable.
25384         (org-export-latex-special-chars): Better regexp for entities, to
25385         support entity name that contain numbers.
25386         (org-export-latex-treat-backslash-char): Use the new entity code.
25388         * org-html.el (org-html-do-expand): Use the new entity code.
25390         * org-exp.el (org-export): Add the new export commands.
25391         (org-html-entities): Constant removed.
25392         (org-export-visible): Add the new export commands.
25394         * org-docbook.el (org-docbook-do-expand): Use new entity code.
25396         * org-ascii.el (org-export-ascii-entities): New variable.
25397         (org-export-as-latin1, org-export-as-latin1-to-buffer)
25398         (org-export-as-utf8, org-export-as-utf8-to-buffer): New commands.
25399         (org-export-as-encoding): New function.
25400         (org-export-ascii-preprocess): Call `org-ascii-replace-entities'.
25401         (org-ascii-replace-entities): New function.
25403 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25404             Ulf Stegemann  <ulf@zeitform.de>
25406         * org-entities.el: New file.
25408 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25410         * org-html.el (org-html-level-start): Catch the case that target
25411         might be nil.
25413 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25415         * org.el (org-appearance): Change Customize group variable name
25416         from org-font-lock to org-appearance, and change tag from "Org
25417         Font Lock" to "Org Appearance".
25418         (org-odd-levels-only): Change Customize group variable name.
25419         (org-level-color-stars-only): Change Customize group variable name.
25420         (org-hide-leading-stars): Change Customize group variable name.
25421         (org-hidden-keywords): Change Customize group variable name.
25422         (org-fontify-done-headline): Change Customize group variable name.
25423         (org-fontify-emphasized-text): Change Customize group variable name.
25424         (org-fontify-whole-heading-line): Change Customize group variable name.
25425         (org-highlight-latex-fragments-and-specials): Change Customize
25426         group variable name.
25427         (org-hide-emphasis-markers): Change Customize group variable name.
25428         (org-emphasis-alist): Change Customize group variable name.
25429         (org-emphasis-regexp-components): Change Customize group variable
25430         name.
25431         (org-modules): Remove mention of org-R.
25433         * org-faces.el (org-faces): Change Customize group variable name.
25435 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25437         * org-agenda.el (org-diary-last-run-time): New variable.
25438         (org-diary): Prepare agenda buffers only if last call was some
25439         time ago.
25441         * org-html.el (org-export-html-preprocess): Replace \ref macros
25442         with a link.
25443         (org-format-org-table-html): Add the label as an anchor.
25445         * org-docbook.el (org-export-docbook-format-image): Do some
25446         formatting on captions.
25448         * org-latex.el (org-export-latex-tables, org-export-latex-links):
25449         Do some formatting on captions.
25451         * org-html.el (org-export-html-format-image)
25452         (org-format-org-table-html): Do some formatting on captions.
25454 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25456         * org.el (org-hidden-keywords): New customizable variable.  This is
25457         a list of symbols specifying which of the special keywords #+DATE,
25458         #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock.
25459         (org-fontify-meta-lines-and-blocks): Changes to font-lock code
25460         implementing new faces and hiding behavior.
25462         * org-faces.el (org-document-title): New face for #+TITLE lines.
25463         (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines.
25464         (org-document-info-keyword): New face for #+DATE, #+AUTHOR, #+EMAIL
25465         keywords.
25467 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25469         * org-publish.el (org-publish-sanitize-plist): New function to
25470         rename "index" properties to "sitemap".  Do this renaming
25471         globally.
25472         (org-publish-with-aux-preprocess-maybe): New macro.
25473         (org-publish-org-to-pdf, org-publish-org-to-html): Use the new
25474         macro.
25475         (org-publish-aux-preprocess)
25476         (org-publish-index-generate-theindex.inc): New function.
25478 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25480         * org-table.el (org-table-align): Interpret <N> at fixed width,
25481         not as maximum width.
25483 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25485         * org-exp.el (org-export-author-info, org-export-email-info):
25486         Fix docstrings.
25488         * org-beamer.el (org-beamer-select-environment): Rename from
25489         `org-beamer-set-environment-tag'.  Improve docstring.
25491         * org-freemind.el (org-freemind-write-mm-buffer): Fix another
25492         problem with odd levels.
25494         * org-ascii.el (org-export-as-ascii): Export email only if the
25495         author wants it.
25497         * org-docbook.el (org-export-as-docbook): Export email only if the
25498         author wants it.
25500         * org-html.el (org-export-as-html): Export email only if the
25501         author wants it.
25503         * org-exp.el (org-export-email-info): New option.
25504         (org-export-plist-vars): Add entry for `org-export-email'.
25506 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25508         * org-table.el (org-table-goto-line): Fix typo.
25510 2010-04-10  Mikael Fornius  <mfo@abc.se>
25512         * org.el (org-agenda-files): Typo.
25513         (org-read-agenda-file-list): Add optional argument to help
25514         `org-store-new-agenda-file-list' to remember un-expanded file
25515         names.  Expand file names relative to `org-directory'.
25516         (org-store-new-agenda-file-list): Keep un-expanded file names when
25517         saving, if available.
25518         (org-agenda-files): Update documentation.
25520 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25522         * org-ascii.el (org-export-as-ascii): Catch the case of exporting
25523         a buffer with no file name attached.
25525         * org.el (org-log-refile): New option.
25526         (org-log-note-headings): Add a heading for refiling.
25527         (org-startup-options): Add keywords for logging of the refile
25528         action.
25529         (org-refile): Add logging action.
25530         (org-add-log-note): Allow for refiling action.
25532         * org-agenda.el (org-agenda-bulk-action): Make sure
25533         `org-log-refile' is not `note' during a bulk action.
25535 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25537         * org.el (org-map-dblocks): Use save-excursion to remember the
25538         position.
25540         * org-attach.el (org-attach-commit): Remove dependence on xargs.
25541         (org-attach-delete-one): Commit after deleting a file.
25543         * org-latex.el (org-export-latex-fontify): Do not mistake table.el
25544         borders for strike-through emphasis.
25546         * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
25547         handling of odd levels.
25549         * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
25550         and `future' values.
25551         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
25552         Handle `past' and `future' values.
25554         * org.el (org-read-agenda-file-list): Interpret file names
25555         relative to org-directory and allow environment variables and
25556         "~".
25558         * org-latex.el (org-export-latex-special-chars): Allow a
25559         parenthesis before an exponent or subscript.
25561 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25563         * org-src.el (org-edit-src-exit): When returning from code edit
25564         buffer, if code block is hidden, leave point at start of
25565         #+begin_src line.
25567 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25569         * org.el (org-insert-heading): Do not remove all spaces if the
25570         headline is empty.
25572         * org-indent.el (org-indent): Fix group name.
25574 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25576         * org-table.el (org-table-goto-column): Fix forcing a non-existing
25577         column.
25578         (org-table-get, org-table-put, org-table-goto-line)
25579         (org-table-current-line): New functions.
25581 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
25583         * org.el (org-open-file): Allow regular expressions in
25584         org-file-apps to capture link parameters using groups.  In a
25585         command string to be executed, the parameters can be referenced
25586         using %1, %2, etc.  Lisp forms can access them using
25587         (match-string n link).
25588         (org-apps-regexp-alist): Adopt the created regexp, as this is now
25589         matched against a file: link instead of the file name.
25591 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25593         * org-crypt.el (org-reveal-start-hook): Add a decryption function
25594         to this hook.
25595         (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry):
25596         Add docstrings.
25598         * org.el (org-point-at-end-of-empty-headline)
25599         (org-level-increment, org-get-previous-line-level): New function.
25600         (org-cycle-level): Rewritten to be independent of when this
25601         function is called.
25602         (org-in-regexps-block-p): New function.
25603         (org-reveal-start-hook): New hook.
25604         (org-reveal): Run new hook.
25606 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25608         * org-latex.el (org-export-latex-keywords): Start a new paragraph
25609         after time keywords, do not add "\newline".
25611         * org-html.el (org-export-as-html): Avoid double # in href.
25613         * org.el (org-refile-get-location): Catch an invalid target
25614         specification.
25616 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25618         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
25619         Make sure the behavior regarding to extracting time is
25620         consistent.
25622 2010-04-10  Stephen Eglen  <stephen@gnu.org>
25624         * org-agenda.el (org-agenda-insert-diary-extract-time):
25625         New variable.
25626         (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
25627         variable rather than `org-agenda-search-headline-for-time'.
25629 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25631         * org-list.el (org-fix-bullet-type): Improve cursor positioning.
25633 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25635         * org.el (org-adaptive-fill-regexp-backup): New variable.
25636         (org-set-autofill-regexps): Store a backup of
25637         `adaptive-fill-regexp'.
25638         (org-adaptive-fill-function): Fix filling of comments and ordered
25639         lists.  If there is no other match, till try adaptive fill.
25641 2010-04-10  John Wiegley  <jwiegley@gmail.com>
25643         * org-agenda.el (org-agenda-include-deadlines): Add new
25644         customization variable to determine whether unscheduled tasks
25645         should appear in the agenda solely because of their deadline.
25646         Default to true, which was the previous behavior (it just wasn't
25647         configurable).
25648         (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
25649         the agenda to show/hide deadline tasks.
25650         (org-agenda-menu): Add menu option for show/hide deadlines.
25651         (org-agenda-list): Make the agenda list sensitive to the value of
25652         `org-agenda-include-deadlines'.
25653         (org-agenda-toggle-deadlines): New function to toggle the value of
25654         `org-agenda-include-deadlines' and repaint the modeline
25655         indicators.
25656         (org-agenda-set-mode-name): Show "Deadlines" in the agenda
25657         modeline if deadline tasks are being displayed.
25659 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25661         * org-table.el (org-table-eval-formula): Replace $# and @# by
25662         current column and row number.
25664 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25666         * org.el (org-set-property, org-delete-property): Go back to
25667         prompting for the property.
25669         * org-latex.el (org-export-latex-make-header): Fully process
25670         author line.
25671         (org-export-latex-fontify-headline): Allow several arguments, not
25672         just one.
25673         (org-export-latex-fix-inputenc): Catch the error when
25674         `latexenc-coding-system-to-inputenc' is not defined.
25676         * org-agenda.el (org-agenda-skip-if-todo): New function.
25677         (org-agenda-skip-if): Add conditions for TODO keywords.
25678         (org-agenda-skip-if): Document the new todo conditions.
25680 2010-04-10  Mikael Fornius  <mfo@abc.se>
25682         * org.el (org-at-property-p): Check if we are inside a property
25683         drawer not just any drawer.
25684         (org-set-property, org-delete-property): When cursor is on a
25685         property key value pair do not prompt for property name instead
25686         use name at cursor.
25687         (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
25688         on the first line of a property drawer.
25689         (org-property-end-re): Spell check.
25691 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25693         * org-exp.el (org-export-attach-captions-and-attributes): Add the
25694         properties to the entire table, in case the first line is
25695         removed.
25697         * org-archive.el (org-archive-reversed-order): New option.
25698         (org-archive-subtree, org-archive-to-archive-sibling): Use the new
25699         option `org-archive-reversed-order'.
25701 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25703         * org-agenda.el (org-agenda-entry-types): New variable.
25704         (org-agenda-list): Use `org-agenda-entry-types'.
25705         (org-agenda-custom-commands-local-options): Support for setting
25706         `org-agenda-entry-types' as an option.
25707         (org-diary): Shift some documentation from here to the variable
25708         `org-agenda-entry-types'.
25710 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25712         * org-latex.el (org-export-latex-make-header): Apply macros in
25713         author field.
25715         * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
25716         (org-clock-select-task, org-clock-notify-once-if-expired)
25717         (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
25718         (org-clock-out-if-current, org-clock-save): Use the new functions.
25720 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25722         * org-docbook.el (org-export-as-docbook): Remove unnecessary
25723         newline.
25724         (org-export-as-docbook): Remove unnecessary newline.
25725         (org-export-as-docbook): Fix problem with double footnote
25726         reference in one place.
25728         * org-exp.el (org-export-format-source-code-or-example):
25729         Remove unnecessary newline.
25731         * org.el (org-deadline, org-schedule): Allow rescheduling entries
25732         with repeaters.
25734         * org-table.el (org-table-convert-refs-to-rc): Better way to catch
25735         function calls that look like references.
25737         * org.el (org-open-at-point): Get link abbreviations from
25738         reference buffer.
25740 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25742         * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
25743         as a reference.
25745 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25747         * org.el (org-link-unescape): Solve issue with lower-case escapes.
25749 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25751         * org-latex.el (org-export-latex-classes):
25752         Add \usepackage{latexsym} to all classes.
25754 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25756         * org-html.el (org-export-as-html): Do not allow protected lines
25757         into the table of contents.
25759         * org-latex.el (org-export-latex-special-chars): Find subsequent
25760         occurrences of special characters.
25761         (org-export-latex-tables): Do not convert table-like stuff that is
25762         protected.
25764 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25766         * org-list.el (org-toggle-checkbox): No errors when updating
25767         checkbox count fails because there is no heading.
25769 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25771         * org-clock.el (org-clock-report-include-clocking-task):
25772         New option.
25773         (org-clock-sum): Add the current clocking task.
25775 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25777         * org.el (org-cycle): Print a message when in a table.el table.
25778         (org-edit-special): Recognize the table.el context.
25779         (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
25781         * org-src.el (org-at-table.el-p): Declare.
25782         (org-edit-src-code): Handle a special case for table.el editing.
25783         (org-edit-src-find-region-and-lang): Recognize the table.el
25784         context.
25786         * org-latex.el (org-export-latex-tables): Convert table.el
25787         tables.
25788         (org-export-latex-convert-table.el-table): New function.
25790         * org-html.el (org-html-expand): Fix table.el export.
25792         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
25793         headings.
25795         * org-id.el (org-id-find-id-file): Fix bug when there is no hash
25796         table for the id locations.
25798         * org.el (org-read-date-analyze): Match American-style dates, like
25799         5/30 or 5/13/7.  Make sure cal-iso.el is loaded.  Don't force he
25800         current year when reading ISO and American dates.
25802 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25804         * org.el (org-face-from-face-or-color): New function.
25805         (org-get-todo-face, org-font-lock-add-priority-faces)
25806         (org-get-tag-face): Use `org-face-from-face-or-color'.
25808         * org-faces.el (org-todo-keyword-faces, org-priority-faces):
25809         Allow simple colors as values.
25810         (org-faces-easy-properties): New option.
25812         * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
25813         restricted, as an agenda mode.
25814         (org-agenda-fontify-priorities): Allow simple colors as values.
25816 2010-04-10  Bastien Guerry  <bzg@gnu.org>
25818         * org-timer.el (org-timer-current-timer): Rename from
25819         `org-timer-last-timer'.
25820         (org-timer-timer1, org-timer-timer2, org-timer-timer3): Remove.
25821         (org-timer-cancel-timer, org-timer-show-remaining-time)
25822         (org-timer-set-timer): Update to use only one timer.
25824         * org.el (org-set-property): Remove useless space in the prompt.
25826 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25828         * org-html.el (org-export-html-style-default): Add a default style
25829         for textareas.
25831         * org-exp.el (org-export-format-source-code-or-example):
25832         Fix textarea tag.
25834 2010-04-10  Bastien Guerry  <bzg@gnu.org>
25836         * org-clock.el (org-clock-current-task): New variable to store
25837         last clocked in task.
25838         (org-clock-set-current, org-clock-delete-current): New functions.
25840 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25842         * org-remember.el (org-remember-apply-template): Extend comment.
25843         (org-remember-handler): Implement clock sibling filing.
25845 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25847         * org-publish.el (org-publish-all, org-publish-current-file)
25848         (org-publish-current-project): When called with prefix argument
25849         FORCE, also rebuild the validation file list.
25851         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
25852         section headings.
25854 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25856         * org-html.el (org-export-as-html-and-open): Kill product buffer
25857         if the user wants that.
25859         * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
25860         if the user wants that.
25862         * org-exp.el (org-export-kill-product-buffer-when-displayed):
25863         New option.
25865         * org-agenda.el (org-batch-agenda-csv): Use the time property
25866         instead of the `time-of-day' property.
25868 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25870         * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
25871         (org-timer-pause-hook, org-timer-set-hook)
25872         (org-timer-cancel-hook): New hooks.
25873         (org-timer-start): Run `org-timer-start-hook'.
25874         (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
25875         (org-timer-stop): Run `org-timer-stop-hook'.
25876         (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
25878 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25880         * org.el (org-reveal): Double prefix arg shows the subtree of the
25881         parent.
25883 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25885         * org-agenda.el (org-search-view): Fix bug with searching full
25886         words in headlines in search view.
25887         (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
25888         (org-agenda-get-deadlines): Suppress pre-warning if the entry is
25889         scheduled (if the user configures it so.
25891 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25893         * org.el (org-hide-archived-subtrees): Don't jump to end of
25894         subtree if the match was not in a headline.
25895         (org-inside-latex-macro-p): Allow more complex arguments.
25896         (org-emphasize): Protect against use at end of buffer.
25898 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25900         * org-agenda.el (org-agenda-align-tags): Avoid side effects on
25901         text properties.
25903 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25905         * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
25906         values.
25907         (org-agenda-todo-ignore-scheduled)
25908         (org-agenda-todo-ignore-deadlines): More control with different
25909         allowed values.
25910         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
25911         Honor the new option settings.
25913 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25915         * org.el (org-get-location): Make sure the selection buffer is
25916         shown in the current frame.
25918         * org-ascii.el (org-export-ascii-table-widen-columns):
25919         New option.
25920         (org-export-ascii-preprocess): Realign tables to remove narrowing
25921         if `org-export-ascii-table-widen-columns' is set.
25923         * org-table.el (org-table-do-narrow): New variable.
25924         (org-table-align): Narrow only if `org-table-do-narrow' is t.
25926         * org.el (org-deadline, org-schedule): Allow updating if the
25927         relevant time stamp does not have a repeater, i.e. do not require
25928         that no time stamp has a repeater.
25930         * org-agenda.el (org-agenda-align-tags): Don't add a face to the
25931         new white space before the tags.
25933         * org-latex.el (org-export-as-latex): Do nit require the buffer to
25934         be visiting a file when only exporting to a buffer or string.
25935         (org-export-latex-fix-inputenc): Only save the buffer is there is
25936         a file name attached to it.
25938 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
25940         * org-src.el (org-edit-src-exit): Widen before exiting edit buffers.
25942 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25944         * org.el (org-fontify-meta-lines-and-blocks):
25945         Honor `org-fontify-quote-and-verse-blocks'.
25947         * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
25949 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25951         * org.el (org-open-at-point): Also check for text property
25952         org-linked-text before offering collected links.
25954 2010-04-10  Stephen Eglen  <stephen@gnu.org>
25956         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
25957         Optionally extract time specification from text and add to the
25958         timestamp.
25960 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25962         * org-exp.el (org-html-entities): Fix typo.
25964         * org-latex.el (org-export-latex-make-header): Use \providecommand
25965         to make sure the \alert macro is defined.
25967         * org.el (org-format-latex-signal-error)
25968         (org-create-formula-image): Use `org-format-latex-signal-error'.
25970 2010-04-10  Stephen Eglen  <stephen@gnu.org>
25972         * org.el (org-store-link): For dired buffers, use
25973         default-directory as link name if dired-get-filename returns
25974         nil.
25976 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25978         * org-exp.el (org-export-concatenate-multiline-links): The for
25979         protectedness at beginning of match.
25981         * org-latex.el (org-export-latex-fix-inputenc): Never leave the
25982         AUTO as a coding system, instead default to utf8.
25984 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25986         * org.el (org-block-todo-from-children-or-siblings-or-parent)
25987         (org-block-todo-from-checkboxes): Respect the local variable
25988         value when deciding if blocking should be active.
25990         * org-latex.el (org-export-latex-make-header): Define the align
25991         macro if it is not yet defined.
25993         * org-agenda.el (org-agenda-insert-diary-make-new-entry):
25994         Call `org-insert-heading' with the INVISIBLE-OK argument.
25996         * org-mac-message.el (org-mac-message-insert-flagged):
25997         Call `org-insert-heading' with the INVISIBLE-OK argument.
25999         * org.el (org-insert-heading): New argument INVISIBLE-OK.
26001         * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
26002         prompt message.
26004         * org-html.el (org-html-level-start): Use the
26005         `html-container-class' text property to set an additional class
26006         for an outline container.
26008         * org-exp.el (org-export-remember-html-container-classes):
26009         New function.
26010         (org-export-preprocess-string):
26011         Call `org-export-remember-html-container-classes'.
26013         * org.el (org-cycle): Mention level cycling in the docstring.
26014         (org-default-properties): Add new property HTML_CONTAINER_CLASS.
26016         * org-remember.el (org-remember-apply-template): Do file insertion
26017         first.
26019 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26021         * org-habit.el (org-habit-insert-consistency-graphs): Fix a
26022         problem with mis-aligned graphs when showing habits.
26024 2010-04-10  Mikael Fornius  <mfo@abc.se>
26026         * org.el (org-assign-fast-keys): Prefer keys used in keyword name
26027         when assigning.  Begin using numerical characters when all in name
26028         is used up.  This is to spare alphanumeric characters for better
26029         match with other keywords.
26031 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26033         * org-exp.el (org-export-preprocess-hook): Improve documentation.
26035         * org-latex.el (org-export-latex-preprocess): More consistent
26036         conversion and protection of the words LaTeX and TeX.
26037         (org-export-latex-fontify-headline, org-export-latex-preprocess):
26038         Allow angle brackets in commands, for beamer.
26040 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26042         * org-clock.el (org-clock-in): Improve the look of the clock line
26043         by formatting links.
26045 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26047         * org-latex.el (org-export-latex-classes): Use AUTO as the place
26048         holder string for the coding system.  And improve the
26049         documentation.
26050         (org-export-latex-fix-inputenc): Only modify the coding system if
26051         it is given by the placeholder AUTO.
26053 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26055         * org-clock.el (org-task-overrun-text): New option.
26056         (org-task-overrun, org-clock-update-period): New variables.
26057         (org-clock-get-clock-string, org-clock-update-mode-line):
26058         Mark overrun clock.
26059         (org-clock-notify-once-if-expired): Check if clock is overrun.
26061         * org-faces.el: New face `org-mode-line-clock-overrun'.
26063 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
26065         * org.el (org-narrow-to-subtree): Position the end of the narrowed
26066         region before the line with the next heading, to prevent the user
26067         from prepending text to the next headline.
26069 2010-04-10  Stephen Eglen  <stephen@gnu.org>
26071         * org-agenda.el (org-get-time-of-day):
26072         Use org-agenda-time-leading-zero to allow leading zero (rather than
26073         space) for times.
26075 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26077         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
26078         org-datetree.el is loaded.
26080         * org-datetree.el: Autoload `org-datetree-find-day-create'.
26082         * org-latex.el (org-export-latex-hyperref-format): New option.
26083         (org-export-latex-links): Use `org-export-latex-hyperref-format'.
26085 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26087         * org-ctags.el (org-ctags-enable): Change order of functions.
26088         (org-ctags-create-tags): Add wildcard to file name expansion.
26090 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26092         * org.el (org-entry-properties): Fix some important bugs.
26094 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26096         * org.el (org-link-unescape, org-link-escape): Only use hexlify if
26097         the table is not explicitly given.
26099 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26101         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
26102         as value.
26103         (org-clock-out-if-current): Work with the new list value of
26104         `org-clock-out-when-done'.
26105         (org-clock-out, org-clock-out-if-current): Avoid circular logic
26106         between clocking out and state changes.
26108         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
26110         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
26111         accident protect a character that is before a backslash.
26113 2010-04-10  Paul Sexton  <eeeickythump@gmail.com>
26115         * org-ctags.el: New file.
26117 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26119         * org-agenda.el (org-diary-class):
26120         Use `org-order-calendar-date-args'.
26122         * org.el (org-order-calendar-date-args): New function.
26124         * org-exp.el (org-export-target-internal-links): Check for
26125         protectedness after the first bracket.
26127         * org.el (org-entry-properties): Don't match wrong-case TODO
26128         keywords.
26130         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
26131         Document that ARG is passed through to remove the date.
26132         (org-agenda-bulk-action): Accept prefix arg and pass it on.
26133         Do not read a date when the user has given a `C-u' prefix.
26135 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26137         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
26138         tags are hidden.
26140 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26142         * org-latex.el (org-export-latex-fix-inputenc): New function.
26143         (org-export-latex-inputenc-alist): New option.
26145         * org-exp.el (org-export): New key SPC to publish enclosing
26146         subtree.
26148 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26150         * org-indent.el (org-indent-add-properties): Catch case when there
26151         is no headline in the buffer.
26153 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26155         * org-exp.el (org-html-entities): Add checkmark symbol.
26157         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
26158         verbatim code for ASCII export.
26160         * org.el (org-update-statistics-cookies): Also see checkboxes in
26161         ordered lists.
26163 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26165         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
26166         key.
26168         * org-beamer.el (org-beamer-amend-header): Change the location
26169         where `org-beamer-header-extra' is inserted.
26171         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
26172         just for computing this regexp.
26174 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26176         * org-beamer.el (org-beamer-frame-default-options): New option.
26177         (org-beamer-sectioning): Use default options if the user does not
26178         have defined any.
26179         (org-beamer-fix-toc): Put a frame around the table of contents.
26181         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
26182         Make sure case-folding works well when processing comment stuff.
26184         * org-latex.el (org-export-latex-after-save-hook): New hook.
26185         (org-export-as-latex): Run the new hook.
26187 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26189         * org-beamer.el (org-beamer-environments-default): Add the note
26190         environments.
26191         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
26192         lines and collect and combine the content.
26193         (org-beamer-after-initial-vars): Check for note tags and make sure
26194         they will be seen like a property.
26196         * org.el (org-offer-links-in-entry): Fix bug when there is a
26197         single link.
26199         * org-exp.el (org-export): Make sure the mark is activated, also
26200         when `transient-mark-mode' is off.
26202         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
26203         (org-agenda-search-view-search-words-only): Obsolete variable, is
26204         now an alias for `org-agenda-search-view-always-boolean'.
26205         (org-agenda-search-view-force-full-words): New option.
26206         (org-search-view): Improve docstring, and implement a better logic
26207         for Boolean and phrase searches.
26208         (org-agenda-last-search-view-search-was-boolean): New variable.
26209         (org-agenda-manipulate-query): Consider the type of the last
26210         search when modifying the search string.
26212 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26214         * org-latex.el (org-export-as-latex): Do the first letbind in the
26215         right moment.
26217         * org-agenda.el (org-get-entries-from-diary): Add the new face to
26218         these entries.
26220         * org-faces.el (org-agenda-diary): New face.
26222         * org.el (org-make-link-regexps): Allow regexp-special characters
26223         in link types.
26224         (org-open-file): When in-emacs is `system', also force system
26225         opening, like when the value was `(16)'.
26226         (org-update-statistics-cookies): Handle entries without children.
26228         * org-exp.el
26229         (org-export-preprocess-before-normalizing-links-hook): New hook.
26230         (org-export-preprocess-string): Run the new hook.
26232         * org.el (org-offer-links-in-entry): Make RET open all links.
26234         * org-html.el (org-export-as-html): Remove any leftover display
26235         properties in the html file.
26237         * org-wl.el (org-wl-store-link): Work-around for format bug with
26238         text properties.
26240         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
26241         invisibility while adding the graphs.
26243 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26245         * org-remember.el (org-select-remember-template): Use C letter to
26246         customize remember templates.
26248         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
26249         Move cursor to next visible line.
26251 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26253         * org-beamer.el (org-beamer-sectioning): Leave columns environment
26254         by specifying 0 or 1 for column width.
26255         (org-beamer-column-widths): Make 0 stand for 0.0.
26257 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26259         * org-exp.el (org-export-mark-radio-links): Don't match inside
26260         <<target>>.
26262         * org.el (org-format-latex-header-extra): New variable.
26263         (org-format-latex): Set org-format-latex-header-extra from
26264         in-buffer stuff.
26265         (org-format-latex): Add org-format-latex-header-extra to the
26266         variables on which image creation depends.
26267         (org-create-formula-image): Add the header stuff from in-buffer
26268         settings.
26269         (org-read-date-analyze): Base the analysis for future preference
26270         on NOW, not on the default date.
26272         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
26273         for TODO keyword in inline tasks.
26275         * org.el (org-log-note-headings): New headings for removing
26276         deadline or scheduling date.
26277         (org-deadline, org-schedule): Arrange for logging when removing a
26278         date.
26279         (org-add-log-note): Handle deadline and scheduling removal.
26281 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26283         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
26285 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26287         * org-agenda.el (org-diary-class): New function.
26289 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26291         * org-latex.el (org-export-latex-preprocess): Do process the text
26292         of a radio target.
26294 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26296         * org.el (org-entry-properties): Add TIMESTAMP properties back
26297         in.
26299 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26301         * org.el (org-all-time-keywords): New variable.
26302         (org-set-regexps-and-options): Set `org-all-time-keywords'.
26303         (org-entry-blocked-p): New function.
26304         (org-special-properties): Add BLOCKED as a new special property.
26305         (org-entry-properties): New optional argument SPECIFIC, only parse
26306         for this property when it is specified.
26307         (org-entry-get): Pass a SPECIFIC argument to
26308         `org-entry-properties'.
26310         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
26312 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26314         * org-latex.el (org-export-latex-tables): No forced line end if
26315         there is no caption.
26317 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26319         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
26320         package.
26322         * org-latex.el (org-export-latex-tables): Only add a caption when
26323         macro is in longtable environments if one has been defined.
26325         * org-html.el (org-export-as-html): Only take title from buffer if
26326         not exporting body-only.
26328         * org-latex.el (org-export-latex-preprocess): Better version of
26329         the regular expression for protecting LaTeX macros.
26330         (org-export-latex-preprocess): Start searching for macros to
26331         protect from beginning of buffer.
26333         * org-exp.el (org-export-target-internal-links): Check for
26334         protectedness earlier in the string.
26336         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
26337         case sensitively.
26339         * org-id.el (org-id-store-link): Match TODO keywords case
26340         sensitively.
26342         * org.el (org-heading-components, org-get-outline-path)
26343         (org-display-outline-path): Match TODO keywords case sensitively.
26345         * org-latex.el (org-export-as-latex): Ignore read-only
26346         properties.
26348         * org-exp.el (org-export-preprocess-string): Remove any
26349         `read-only' properties.
26351         * org-agenda.el (org-agenda-inactive-leader): New option.
26352         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
26353         (org-tags-view): Prompt for matcher if MATCH is an empty string.
26354         (org-todo-list): Prompt for matcher if ARG is an empty string.
26356 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26358         * org.el (org-open-link-functions): New hook.
26359         (org-open-at-point): Run `org-open-link-functions'.
26361 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26363         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
26364         stamps as well.
26366         * org.el (org-inhibit-startup-visibility-stuff): New variable.
26367         (org-mode): Don't do startup visibility if inhibited.
26368         (org-outline-overlay-data, org-set-outline-overlay-data):
26369         New functions.
26370         (org-save-outline-visibility): New macro.
26371         (org-log-note-headings): Document that one should not change the
26372         `state' note format.
26374 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26376         * org.el (org-make-link-regexps): Capture link path into a group.
26378 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26380         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
26381         the options plist.
26383 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26385         * org.el (org-startup-with-beamer-mode): New option.
26386         (org-property-changed-functions)
26387         (org-property-allowed-value-functions): New hooks.
26388         (org-entry-put, org-property-get-allowed-values): Run the new
26389         hooks.
26390         (org-property-next-allowed-value): Run the new hooks.
26392         * org-exp.el (org-export-select-backend-specific-text): Add the
26393         special beamer tags.
26395         * org-beamer.el: New file.
26397         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
26398         (org-export-as-latex):
26399         Run `org-export-latex-after-initial-vars-hook'.
26400         (org-export-latex-format-toc-function)
26401         (org-export-latex-make-header):
26402         Call `org-export-latex-format-toc-function'.
26404         * org.el (org-fill-template): Make template searches case sensitive.
26406         * org-exp.el (org-export): Use "1" as a sign to export only the
26407         subtree.
26409         * org-colview.el (org-columns-edit-value):
26410         Use org-unrestricted property.
26412         * org.el (org-compute-property-at-point): Set org-unrestricted
26413         text property if the list contains ":ETC".
26414         (org-insert-property-drawer):
26415         Use org-unrestricted property.
26417         * org-exp.el
26418         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
26419         (org-export-preprocess-string):
26420         Run `org-export-preprocess-before-selecting-backend-code-hook'.
26422         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
26424         * org-latex.el (org-export-region-as-latex):
26425         Run `org-export-first-hook'.
26427         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
26429         * org-docbook.el (org-export-as-docbook):
26430         Run `org-export-first-hook'.
26432         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
26434         * org-exp.el (org-export-first-hook): New hook.
26436 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26438         * org-list.el (org-previous-item): Exit at the beginning of the
26439         buffer.
26441         * org-id.el (org-id-locations-save): Only write the id locations
26442         if any are defined.
26444         * org-archive.el (org-archive-all-done): Make this work in a file
26445         with org-odd-levels-only set.
26447         * org.el (org-get-refile-targets): Catch the case when a buffer
26448         has no file.
26450         * org-latex.el (org-export-as-latex): Cleanup forced line ends
26451         where they are not needed.
26452         (org-export-latex-subcontent): Remove unnecessary newlines.
26454 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26456         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
26457         (org-export-latex-fontify): Fix regexp bug that takes special
26458         care of protecting the right boundary characters in emphasis
26459         matches.
26460         (org-export-latex-preprocess): Allow multiple arguments to latex
26461         macros.
26463         * org.el (org-make-link-regexps): Use John Gruber's regexp for
26464         urls.
26466         * org-macs.el (org-re): Interpret :punct: in regexps.
26468         * org-exp.el (org-export-replace-src-segments-and-examples):
26469         Also take the final newline after the END line.
26471         * org.el (org-clean-visibility-after-subtree-move): Only fix
26472         entries that are not entirely invisible already.
26473         (org-insert-link): Respect org-link-file-path-type for
26474         "docview:" links in addition to "file:" links.
26476 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26478         * org-exp.el (org-export-format-source-code-or-example):
26479         Avoid additional extra white lines in LaTeX.
26481         * org-list.el (org-list-parse-list): Leave empty lines after the
26482         list, don't consider them as part of the list.
26484         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
26485         searches.
26487         * org-clock.el (org-clock-select-task): Convert integer to
26488         character for XEmacs.
26490 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26492         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
26493         compatible.
26495 2010-04-10  Tassilo Horn  <tassilo@member.fsf.org>
26497         * org.el (org-complete-tags-always-offer-all-agenda-tags):
26498         New variable.
26499         (org-set-tags): Use it.
26501 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26503         * org-list.el (org-empty-line-terminates-plain-lists):
26504         Update docstring.
26506         * org.el (org-format-latex): Fix link creation for processed latex
26507         snippets.
26509 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26511         * org-footnote.el (org-footnote-normalize): Protect replacement
26512         text.
26514         * org.el (org-inside-latex-macro-p): Save match data.
26516 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
26518         * org-docview.el: New file.
26520 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26522         * org-latex.el (org-export-latex-class-options): New variable.
26523         (org-export-latex-set-initial-vars): Use the class options.
26525         * org.el (org-forward-same-level): Stop at headings that start
26526         with an invisible character.
26527         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
26529 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26531         * org-footnote.el (org-footnote-normalize): Don't take optional
26532         arguments in LaTeX macros as footnotes.
26534         * org.el (org-inside-latex-macro-p): New function.
26536         * org-latex.el (org-latex-to-pdf-process): Change customization
26537         group to `org-export-pdf'.
26539         * org-agenda.el (org-agenda-get-blocks): Look at time string also
26540         on days after the first one.
26542         * org.el (org-insert-heading): Also check for item before assuming
26543         before-first-heading condition.
26545         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
26546         (org-export-pdf-logfiles): New option.
26547         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
26548         (org-export-pdf-logfiles): Fix customization type.
26550         * org.el (org-insert-link): Improve error message when there is no
26551         default link to select with RET.
26553         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
26554         parameter list.
26556 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26558         * org-latex.el (org-export-latex-parse-global)
26559         (org-export-latex-parse-content)
26560         (org-export-latex-parse-subcontent):
26561         Use `org-re-search-forward-unprotected'.
26562         (org-export-as-pdf): Remove log files produced by XeTeX.
26564         * org-macs.el (org-re-search-forward-unprotected): New function.
26566 2010-04-10  James TD Smith  <ahktenzero@mohorovi.cc>
26568         * org-colview.el (org-agenda-colview-summarize): Sort out some
26569         confusion between properties and titles, which resulted in
26570         agenda summaries not working if a title was set for a column.
26572 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26574         * org-mobile.el (org-mobile-agendas): New option.
26575         (org-mobile-sumo-agenda-command): Select the right agendas.
26577         * org-latex.el (org-export-latex-format-image): Preserve the
26578         original-indentation property.
26580 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26582         * org-clock.el (org-clock-insert-selection-line): Catch error when
26583         an old tasks no longer exists.
26585         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
26586         (org-export-as-pdf): Don't remove the old PDF file before making
26587         the new one.
26589         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
26590         (org-mouse-context-menu): Use `org-looking-back'.
26592         * org.el (org-cycle-level): Use `org-looking-back'.
26594         * org-list.el (org-cycle-item-indentation):
26595         Use `org-looking-back'.
26597         * org-compat.el (org-looking-back): New function.
26599         * org.el (org-insert-heading): Catch before-first-headline when
26600         inserting a headline.
26602 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26604         * org-latex.el (org-export-latex-format-image): Indent figure
26605         environment, so that it does not interrupt plain list.
26607         * org.el (org-open-at-point): Allow long link descriptions.
26609 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
26611         * org-html.el (org-export-as-html): Remove empty lines at the
26612         beginning of the exported text.
26614 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
26616         * org.el (org): Remove from hypermedia group.
26618 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
26620         * Branch for 23.2.
26622 2010-02-15  Chong Yidong  <cyd@stupidchicken.com>
26624         * org-freemind.el (org-freemind-from-org-mode-node)
26625         (org-freemind-from-org-mode)
26626         (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
26627         Pass arg to called-interactively-p.
26629 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
26631         * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten):
26632         Fix typos in docstrings.
26634 2010-01-01  Juanma Barranquero  <lekktu@gmail.com>
26636         * org.el (org-get-outline-path, org-speed-command-help):
26637         Fix typos in error messages.
26639 2009-12-14  Juri Linkov  <juri@jurta.org>
26641         * org-html.el (org-export-html-style-include-default):
26642         Put `safe-local-variable booleanp' on
26643         `org-export-html-style-include-default' instead of mistakenly
26644         duplicate `org-export-html-style'.
26646 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
26648         * org-agenda.el (org-agenda-diary-entry-in-org-file):
26649         Rebuild agenda after adding new entry.
26651         * org-datetree.el (org-datetree-find-day-create): Fix regular
26652         expression.
26654         * org.el (org-display-outline-path): Use a format specifier for
26655         message, to avoid problems with heading containing `%'.
26657         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
26658         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
26659         (org-agenda-fix-displayed-tags): New function.
26660         (org-agenda-do-context-action): Just call
26661         `org-display-outline-path', without piping the result through
26662         `message'.
26664         * org-latex.el (org-export-latex-preprocess): Protect secondary
26665         footnote references.
26667         * org-indent.el (org-indent-initialize): Avoid empty strings as
26668         line prefixes.
26670         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
26671         hat checking for the mark does not throw an error.
26672         (org-agenda-diary-entry-in-org-file): Catch the case that there is
26673         not `day' text property in the cursor line.
26675         * org.el (org-sort-entries-or-items): Make sure that the final
26676         entry has a newline before doing the sorting.
26678         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
26679         property at the beginning of the line.
26681         * org.el (org-make-link-string): Don't allow a description with
26682         only white space.
26684         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
26685         (org-agenda-insert-diary-as-top-level): New function.
26686         (org-agenda-add-entry-to-org-agenda-diary-file):
26687         Call `org-agenda-insert-diary-as-top-level'.
26689         * org.el (org-occur-in-agenda-files): Make sure none of the
26690         buffers is narrowed.
26691         (org-activate-plain-links): Add the face property here.
26692         (org-set-font-lock-defaults): Do not add the face to plain links,
26693         the activator function does this.
26695         * org-habit.el (org-is-habit-p): Add doc string.
26697         * org-archive.el (org-archive-subtree-default-with-confirmation):
26698         Autoload.
26700         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
26701         after match optional (happens at the end of a line...).
26703         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
26704         for special blocks.
26706         * org-faces.el (org-copy-face): Set lisp indentation.
26707         (org-quote, org-verse): New faces.
26709         * org-agenda.el (org-agenda-remove-date): Remove variable.
26711         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
26713         * org-html.el (org-export-as-html): Move the home/up link into
26714         the content div.
26716         * org.el (org-export-latex-packages-alist): Option definition
26717         moved here from org-latex.el.
26719         * org-html.el (org-export-html-home/up-format): Add an ID to the
26720         up/home div.
26722         * org-wl.el (org-wl-store-link): Handle the case that
26723         `wl-use-petname' is set.
26725         * org.el (org-set-effort): Improve prompt.
26726         (org-get-outline-path): Widen to get full path.
26727         (org-compact-display-after-subtree-move): Function removed.
26729 2009-11-20  Eric Schulte  <schulte.eric@gmail.com>
26731         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
26732         hash keys to cache and re-use images generated by the
26733         org-exp-blocks interface to ditaa and dot.
26735         * org.el (org-format-latex): Latex images are now saved to files
26736         named by the sha1 hash of the latex source text avoiding
26737         regeneration of identical images.
26739 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
26741         * org-latex.el (org-export-as-latex): Add the :drawers property.
26743 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
26745         * org.el (org-speed-commands-user): Allow documentation headlines.
26746         (org-speed-commands-default): Organize the value of this constant
26747         with descriptive headlines.
26748         (org-print-speed-command): Output the headlines.
26750 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
26752         * org-agenda.el (org-agenda-show-outline-path): New option.
26753         (org-agenda-do-context-action): New function.
26754         (org-agenda-next-line, org-agenda-previous-line):
26755         Use `org-agenda-do-context-action'.
26757         * org.el (org-use-speed-commands): Allow function value.
26758         (org-speed-commands-default): Make headline motion safe, so that
26759         these commands always end on a headline.
26760         (org-speed-commands-default): New key `v' for `org-agenda'.
26761         (org-speed-move-safe): New function.
26762         (org-self-insert-command): Use the function value of
26763         `org-use-speed-commands'.
26764         (org-get-outline-path): Improve docstring.
26765         (org-format-outline-path): New function.
26766         (org-display-outline-path): New function.
26768 2009-11-15  John Wiegley  <jwiegley@gmail.com>
26770         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
26771         a string, use that to find the LOGBOOK drawer.
26773 2009-11-15  Glenn Morris  <rgm@gnu.org>
26775         * org-agenda.el (org-datetree-find-date-create)
26776         (org-habit-get-priority):
26777         * org.el (org-format-agenda-item): Fix declarations.
26779 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26781         * org.el (org-clone-subtree-with-time-shift): Make it work at the
26782         end of the buffer.
26784         * org-mobile.el (org-mobile-write-checksums): Specify coding
26785         system.
26786         (org-mobile-timestamp-buffer): Keep local variable/mode line at
26787         beginning of buffer.
26789         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
26791         * org.el (org-block-todo-from-children-or-siblings-or-parent)
26792         (org-block-todo-from-checkboxes): Do not block changes to a nil
26793         TODO state.
26795 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
26797         * org-habit.el (org-habit-parse-todo): Indicate which habit is
26798         wrongly set up in the error messages.
26800         * org-colview.el (org-columns-display-here): Don't try to
26801         calculate values if the underlying property is not set.
26802         (org-columns-string-to-number): Convert age strings back into
26803         fractional days.
26804         (org-agenda-colview-summarize): Handle extended summary types
26805         properly.
26807 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26809         * org-exp.el (org-export-format-drawer-function): New variable.
26810         (org-export-format-drawer): New function.
26811         (org-export-preprocess-string): Pass the backend as a parameter to
26812         `org-export-remove-or-extract-drawers'.
26813         (org-export-remove-or-extract-drawers): New parameter BACKEND.
26815         * org-protocol.el (org-protocol-char-to-string): New defsubst.
26817 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26819         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
26820         message when no block is selected.
26822         * org-latex.el (org-export-latex-links): Check for protectedness
26823         in the last matched character, not after the match.
26825         * org-datetree.el (org-datetree-find-date-create):
26826         Respect restriction when KEEP-RESTRICTION is set.
26827         (org-datetree-file-entry-under): New function.
26828         (org-datetree-cleanup): New command.
26830 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
26832         * org-src.el (org-edit-src-code): New optional argument context
26833         allows calling functions to avoid altering the saved window
26834         configuration.
26835         (org-edit-src-exit): Do not restore window configuration when this
26836         function is used in the context of saving the edit buffer.
26838 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26840         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
26841         instances to switching to with-current-buffer, because these seem
26842         to cause problems - no idea why.
26844         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
26845         Require diary-lib for (diary-date-display-form).
26847 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26849         * org.el (org-log-reschedule, org-log-redeadline): New options.
26850         (org-log-note-headings): Add templates for rescheduling and
26851         deadline changing.
26852         (org-startup-options): Add in-buffer settings for logging changing
26853         schedule and deadline time stamps.
26854         (org-deadline, org-schedule): Check for existing date and arrange
26855         for logging if the user requests it.
26856         (org-add-log-note): Prepare proper note buffers for rescheduling
26857         and deadline changes.
26859 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26861         * org-agenda.el (org-agenda-diary-entry-in-org-file)
26862         (org-agenda-add-entry-to-org-agenda-diary-file)
26863         (org-agenda-insert-diary-make-new-entry): New functions.
26864         (org-agenda-diary-entry):
26865         Call `org-agenda-diary-entry-in-org-file' when appropriate.
26867         * org.el (org-calendar-insert-diary-entry-key): New option.
26868         (org-agenda-diary-file): New option.
26869         ("calendar"): Install our insertion function in the calendar.
26871         * org-remember.el (org-datetree): Require.
26872         (org-remember-templates): Add new positioning option.
26873         (org-remember-reference-date): New variable.
26874         (org-remember-apply-template): Store the reference date in a local
26875         variable.
26876         (org-remember-handler): Implement date tree positioning of entries.
26878         * org-datetree.el: New file.
26880         * org-latex.el (org-export-latex-preprocess): Protect targets in
26881         verbatim emphasis.
26883         * org-html.el (org-export-as-html): Protect targets in verbatim
26884         emphasis.
26886         * org-docbook.el (org-export-as-docbook): Protect targets in
26887         verbatim emphasis.
26889 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26891         * org-clock.el (org-show-notification): Handle messages that
26892         contain a percent character.
26894         * org-remember.el (org-remember-apply-template): Turn of partial
26895         completion.
26897         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
26898         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
26900         * org.el (org-indent-mode): Define variable already in org.el.
26901         (org-unfontify-region): Remove line-prefix and wrap-prefix
26902         properties only if org-indent-mode is active.
26904 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26906         * org-icalendar.el (org-print-icalendar-entries): Save match data
26907         around call to verify function.
26908         (org-print-icalendar-entries): Add a call to the verification
26909         function.
26911         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
26912         save-restrivtion' form.
26914 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
26916         * org-exp.el (org-export-format-source-code-or-example):
26917         Restrict scope of preserve-indentp to the let binding.
26918         (org-src): Require org-src, since org-src-preserve-indentation is used.
26920 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26922         * org-timer.el (org-timer-set-timer): Set variables
26923         org-timer-timer[123] correctly.
26925         * org-mobile.el (org-mobile-files-alist): Make it work when
26926         `agenda-archives' is included in
26927         `org-agenda-text-search-extra-files'.
26928         (org-mobile-push): Restore agenda after mobile push.
26930 2009-11-13  John Wiegley  <jwiegley@gmail.com>
26932         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
26933         way the amount of idle time is presented in the minibuffer.
26935 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26937         * org-icalendar.el (org-print-icalendar-entries):
26938         Use org-icalendar-verify-function only if non-nil.
26940         * org.el (org-refile): Refile to clock only if the prefix arg is
26941         2.
26942         (org-sparse-tree): Fix docstring to be in line with prompt.
26943         (org-update-parent-todo-statistics):
26944         Call `org-after-todo-statistics-hook' on each level.
26946 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26948         * org-remember.el (org-remember-apply-template): Make sure the
26949         buffer exists.
26951 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26953         * org.el (org-tab-ind-state): New variable.
26954         (org-cycle-level): New function.
26955         (org-cycle-level-after-item/entry-creation): New option.
26956         (org-flag-subtree): New function.
26957         (org-hide-archived-subtrees): Call `org-flag-subtree'.
26958         (org-set-effort): Indexed access.
26960         * org-list.el (org-cycle-item-indentation): New function.
26962         * org.el (org-refile): Make prefix argument 2 refile to current
26963         clock.
26964         (org-priority): Interpret action `remove' as call to remove the
26965         priority cookie.
26967         * org-remember.el (org-remember-apply-template): Don't depend on
26968         buffer name being like file name.
26970 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26972         * org-clock.el (org-clock-play-sound): Expand file in
26973         org-clock-sound, to allow ~ for home.
26975         * org-remember.el (org-remember-handler):
26976         Set text-before-node-creation even if this already looks like a node,
26977         because the string might be needed on non-org-mode target files.
26979         * org-agenda.el (org-agenda-open-link): Make this work in agenda
26980         clocktables.
26981         (org-agenda-switch-to): Follow a link at point if
26982         org-return-follows-link' is set and there is nothing else to do in
26983         this line.
26985 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
26987         * org-exp-blocks.el: Modify split separator regexp to avoid empty
26988         strings.
26990 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
26992         * org-colview.el (org-columns-new): Make this work with the new
26993         operators.
26994         (org-columns-store-format): Make this work with the new operators.
26996 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26998         * org-src.el (org-src-preserve-indentation): Document that this
26999         variable is also used during export.
27001         * org-exp.el (org-export-format-source-code-or-example):
27002         Preserve indentation if a block has a -i option, or if
27003         `org-src-preserve-indentation' is set.
27005         * org-exp-blocks.el (org-export-blocks-preprocess):
27006         Preserve indentation if a block has a -i option, or if
27007         `org-src-preserve-indentation' is set.
27009 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27011         * org.el (org-mode-map): Define the new archiving keys.
27012         (org-speed-commands-default): Define an archiving key in the speed
27013         command map.
27014         (org-org-menu): Improve the menu structure concerning archiving.
27016         * org-archive.el (org-archive-subtree-default-with-confirmation):
27017         New command.
27019         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
27020         (org-agenda-menu): Add the new archiving commands to the menu.
27021         (org-agenda-archive-default)
27022         (org-agenda-archive-default-with-confirmation): New commands.
27023         (org-agenda-archive, org-agenda-archive-to-archive-sibling):
27024         Just call `org-agenda-archive-with'.
27025         (org-agenda-archive-with): New function.
27027         * org-table.el (org-table-convert-region): Inert spaces around "|"
27028         to avoid line beginnings like "|-1" which will be mistaken as
27029         hlines.
27031 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27033         * org.el (org-offer-links-in-entry): Return nil if there are no
27034         links, t if a link has been selected.
27035         (org-open-at-point): Open attachment directory when called in the
27036         headline and there are no links in the entry body.
27037         (org-speed-commands-default): Add "o" for open-at-point as a speed
27038         command.
27040         * org-attach.el (org-attach-reveal): Optional prefix arg
27041         IF-EXISTS, which avoids creating the attachment directory if it
27042         does not yet exist.
27044         * org-agenda.el (org-agenda, org-run-agenda-series):
27045         Evaluate MATCH.
27047 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27049         * org.el ("abbrev"): Work with abbrev tables only after they have
27050         been loaded.
27052         * org-list.el (org-list-send-list): Fix bug related to match
27053         data.
27055         * org-latex.el (org-export-latex-fontify): Apply verbatim
27056         emphasis.
27057         (org-export-latex-make-header): Insert \obeylines if line breaks
27058         should be preserved.
27060         * org-exp.el (org-export-protect-verbatim): Add an
27061         `org-verbatim-emph' property to such text.
27063 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27065         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
27066         (org-print-icalendar-entries): Skip entries where the timestamp is
27067         not a deadline and not scheduled, if the user requests that.
27069         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
27070         before an opening quote.
27072         * org-archive.el (org-archive-subtree): Keep archive after
27073         archiving something.
27075         * org-id.el (org-id-update-id-locations): Add archive files if
27076         that is required by `org-id-extra-files'.
27078 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27080         * org-src.el (org-src-window-setup): New option.
27081         (org-src-switch-to-buffer): New function.
27082         (org-edit-src-exit): Add optional argument CONTEXT and use it to
27083         restore window configuration.
27084         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
27085         Call `org-src-switch-to-buffer'.
27087         * org.el (org-default-properties): Add STYLE property.
27088         (org-files-list): Use the function call to get the files.
27089         (org-additional-option-like-keywords): Add SETUPFILE to completion
27090         list.
27092 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27094         * org-table.el (org-table-convert-region): Correctly interpret
27095         quoting in csv import.
27097         * org.el (org-icompleting-read): Make iswitchb completion work
27098         with lists and tables.
27100         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
27101         while pushing the mobile agenda.
27103 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27105         * org-clock.el (org-clock-auto-clock-resolution): Now takes three
27106         values: nil, t and `when-no-clock-is-running'.
27107         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
27108         whether or not to resolve Org buffers on clock in.
27110 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27112         * org-colview.el (org-format-time-period): Function to format
27113         times in fractional days for display.
27114         (org-columns-display-here): Add support for showing a calculated
27115         value in place of the property.
27116         (org-columns): Set `org-columns-time' to the current time so time
27117         difference calculations will work.
27118         (org-columns-time): Use to store the current time when column view
27119         is displayed, so all time differences will use the same reference
27120         point.
27121         (org-columns-compile-map): There is now an extra position in each
27122         entry specifying the function to use to calculate the displayed
27123         value for the non-calculated properties in the column.
27124         (org-columns-compute-all): Set `org-columns-time' to the current
27125         time so time difference calculations will work.
27126         (org-columns-compute): Handle column operators where the values
27127         used are calculated from the underlying property.
27128         (org-columns-number-to-string): Handle the 'age' column format.
27129         (org-columns-string-to-number): Correct the function name (was
27130         org-column...).  Add support for the 'age' column format.
27131         (org-columns-compile-format): Support the additional parameter in
27132         org-columns-compile-map.
27134 2009-11-13  Bastien Guerry  <bzg@gnu.org>
27136         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
27137         variable.
27139 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27141         * org-clock.el (org-clock-has-been-used): New variable.
27142         (org-clock-in): Set `org-clock-has-been-used'.
27143         (org-clock-save): Save only if clock data has been used or created
27144         during this session.
27146 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27148         * org-clock.el (org-clock-persist): New value, to store only the
27149         clock history.
27150         (org-clock-save): Don't save the clock if only the history should
27151         be stored.
27152         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
27153         when restoring a saved clock.
27155 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27157         * org-clock.el (org-clock-display, org-clock-put-overlay):
27158         Use `org-time-clock-use-fractional'.
27160         * org.el (org-time-clocksum-use-fractional)
27161         (org-time-clocksum-fractional-format): Two new customizable
27162         variables which allow the user to select fractional times (1.25
27163         instead of 1:25) in the `org-clock-display' report.
27165 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27167         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
27168         New option.
27170         * org.el (org-tag-alist): Fix customization type.
27172 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27174         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
27175         Make sure the regexp search can fail without throwing an error.
27176         (org-mobile-apply): Save the inbox buffer after removing
27177         successfully applied changes.
27179 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27181         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
27182         time is reported after the user comes back (but before they
27183         resolve time).
27185         * org.el (org-get-repeat): Change so that this function can be
27186         called with either `org-scheduled-string' or
27187         `org-deadline-string'.
27189         * org-clock.el (org-clock-auto-clock-resolution): Rename from
27190         `org-clock-disable-clock-resolution', since negatives don't sound
27191         good in customization variables.
27192         (org-clock-in): Don't use the auto-resolution logic if the user is
27193         clocking into a different task while an active clock is running.
27194         This then allows the default behavior of clocking out of the open
27195         task and then into the new task.
27197         * org.el (org-modules): Made this variable more consistent, since
27198         it was referring to Org, OrgMode and Org-mode, whereas the docs
27199         for the variable always refer to Org-mode.
27201 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27203         * org.el (org-repeat-re): The changed org-repeat-re no longer
27204         matched simple +2d type repeaters.  Fix it so it does.
27206 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27208         * org-latex.el (org-export-latex-preprocess): Protect the vspace
27209         macro in the VERSE environment.
27211 2009-11-13  John Wiegley  <jwiegley@gmail.com>
27213         * org-habit.el (org-habit-get-priority): A new function that
27214         determines the relative priority of a habit, based on how long
27215         past its scheduled date it is, and how near the deadline is.
27217         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
27218         using `org-habit-get-priority'.
27220         * org-habit.el (org-habit-build-graph): Start displaying colors
27221         from the first scheduled date, if that date is earlier than the
27222         first completion date.
27224         * org-habit.el: Changed all "color" variables to faces, and made
27225         them appropriate for light and dark backgrounds.
27227         * org-habit.el (org-habit-duration-to-days): Made this function
27228         more general.
27229         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
27231         * org-agenda.el (org-agenda-get-deadlines): Remove all mention of
27232         habits, since they don't use DEADLINE anymore.
27234         * org.el (org-repeat-re, org-display-custom-time)
27235         (org-timestamp-change): Extend to support the new ".+N/N"
27236         syntax, used for habits.
27238         * org-clock.el (org-clock-resolve-clock): Fix an incorrect
27239         variable reference.
27241         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
27242         modeline when habits are being displayed (if that module is being
27243         loaded).
27245 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27247         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
27248         idle time using the xscreensaver extension.
27249         (org-user-idle-seconds): Use X11 idle time if available.
27251 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27253         * org-agenda.el (org-agenda-next-line): New command.
27254         (org-agenda-previous-line): New commands.
27255         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down):
27256         New commands.
27257         (org-agenda-follow-mode): Do the follow immediately if the mode is
27258         turned on here.
27259         (previous-line, next-line): Replace keys with the corresponding
27260         org functions.
27261         (org-agenda-mode-map): Bind backspace and delete to the scrolling
27262         command.
27264         * org.el (org-icompleting-read): Turn off partial completion mode
27265         for the duration of this completion round.
27267         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
27268         macros in author lines and similar stuff.
27270         * org.el (org-file-tags): Fix docstring.
27271         (org-get-buffer-tags): Add the #+FILETAGS tags.
27272         ("ecb"): Make ecb show context after jumping into an Org file.
27274 2009-11-13  John Wiegley  <johnw@newartisans.com>
27276         * org-agenda.el (org-finalize-agenda): Draw habit consistency
27277         graphs after everything else in the buffer has been setup.
27279 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27281         * org-mobile.el (org-mobile-apply): Count success and failure.
27283         * org.el (org-indent-line-function): Fix regexp replace problem.
27285 2009-11-13  John Wiegley  <johnw@newartisans.com>
27287         * org-clock.el (org-clock-disable-clock-resolution):
27288         New customization variable that disable automatic clock resolution on
27289         clock in.
27290         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
27291         not automatically resolve anything.  This is does not affect
27292         idle-time resolution, however, if `org-clock-idle-time' is set.
27294 2009-11-13  John Wiegley  <johnw@newartisans.com>
27296         * org-habit.el: New file, which implements code to build a "habit
27297         consistency graph".
27299         * org-agenda.el (org-agenda-get-deadlines)
27300         (org-agenda-get-scheduled): Display consistency graphs when
27301         outputting habits into the agenda.  The graphs are always relative
27302         to the current time.
27303         (org-format-agenda-item): Add new parameter `habitp', which
27304         indicates whether we are formatting a habit or not.  Do not
27305         display "extra" leading information if habitp is true.
27307         * org.el (org-repeat-re): Improve regexp to include .+ and ++
27308         leaders for repeat strings.
27309         (org-get-repeat): Now takes a string parameter `tagline', so the
27310         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
27312 2009-11-13  John Wiegley  <johnw@newartisans.com>
27314         * org-agenda.el (org-agenda-auto-exclude-function):
27315         New customization variable for allowing the user to create an "auto
27316         exclusion" filter for doing context-aware auto tag filtering.
27317         (org-agenda-filter-by-tag): Changes to support the use of
27318         `org-agenda-auto-exclude-function'.  See the new manual addition.
27320 2009-11-13  John Wiegley  <johnw@newartisans.com>
27322         * org.el (org-files-list): Don't attempt to return a file name for
27323         Org buffers which have no associated file.
27325         * org-agenda.el (org-agenda-do-action): Fix a typo.
27327 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27329         * org-mobile.el (org-mobile-locate-entry): Interpret files
27330         relative to org-directory.
27331         (org-mobile-inbox-for-pull): Document the best location for this
27332         file.
27333         (org-mobile-check-setup): Verify `org-directory'.
27334         (org-mobile-create-index-file): Sort the files to be listed in
27335         index.org.
27337 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
27339         * org.el (org-fast-tag-selection): Add a way to display a
27340         description for a tag group.  This is done by adding a string to
27341         either the startgroup or endgroup cell.
27343 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27345         * org-clock.el (org-clock-resolve, org-resolve-clocks)
27346         (org-emacs-idle-seconds): Use `org-float-time' instead of
27347         `time-to-seconds'.
27349 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27351         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
27352         type.
27354         * org.el (org-pre-cycle-hook): Document that `empty' can also be
27355         the value of ARG when doing local cycling.
27357 2009-11-13  John Wiegley  <johnw@newartisans.com>
27359         * org-clock.el (org-clock-resolve-clock): If keeping or
27360         subtracting time results in a clock out at a time in the past, and
27361         if the resolution occurred due to idleness or invoking `M-x
27362         org-resolve-clocks', remember that past moment in time.  On the
27363         next clock in, the user will be prompted to see if they want to
27364         back-date their new clock to then.
27365         (org-clock-resolve): Do not jump the user to the location of a
27366         dangling clock if the resolution is occurring due to an idle
27367         timeout.  In that case there is typically only one dangling clock,
27368         the active one, and there is no value gained by shuffling their
27369         windows around to show it to them.  Being prompted to resolve an
27370         idle clock should be as inobtrusive as possible.
27371         (org-resolve-clocks-if-idle): New function that resolves only the
27372         currently active clock if the user has exceeded the time returned
27373         by `org-user-idle-seconds', based on the value of
27374         `org-clock-idle-time'.
27375         (org-clock-in): If, after resolving clocks, (???)
27376         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
27378         * org-clock.el (org-clock-resolve-clock): New function that
27379         resolves a clock to a specific time, closing or resuming as need
27380         be, and possibly even starting a new clock.
27381         (org-clock-resolve): New function used by `org-resolve-clocks'
27382         that sets up for the call to `org-clock-resolve-clock'.
27383         It determines the time to resolve to based on a single-character
27384         selection from the user to either keep time, subtract away time or
27385         cancel the clock.
27386         (org-resolve-clocks): New user command which resolves dangling
27387         clocks -- that is, open but not active -- anywhere in the file
27388         list returned by `org-files-list'.
27389         (org-clock-in): Automatically resolve dangling clocks whenever a
27390         user clocks in.
27391         (org-clock-cancel): If the user cancels the solely clock in a
27392         LOGBOOK, remove the empty drawer.
27394         * org-clock.el (org-clock-idle-time): New user customizable option
27395         for detecting whether the user has left a clock idle.  Note: it is
27396         only used in this commit to test whether it's worthwhile to check
27397         OS X to get the Mac user's current idle time.  If the Emacs idle
27398         time is less than the value, the user hasn't been away long enough
27399         to be worth checking (a more expensive test than just getting
27400         Emacs idle time).
27401         (org-user-idle-seconds, org-mac-idle-seconds)
27402         (org-emacs-idle-seconds): This three functions, in conjunction
27403         with the user customization variable `org-clock-idle-time', return
27404         the number of seconds (as a floating point) that the user has been
27405         away from their Emacs (or, if running on OS X, their computer).
27407         * org-clock.el (org-find-open-clocks): New function that returns a
27408         list of all open clocks in the given FILE.  Note that each clock
27409         it returns is a cons cell of the format (MARKER . START-TIME).
27410         This "clock" value is used by several of the new clock module
27411         utility functions.
27412         (org-is-active-clock): New inline function which tests whether the
27413         given clock value is the same as the currently active clock.
27414         Returns non-nil if this is the case.
27415         (org-with-clock-position): New macro that evaluates FORMS with
27416         point in the buffer and at the position of the given clock.
27417         Changes to the current clock are global.
27418         (org-with-clock): New macro that evaluates FORMS with point in the
27419         buffer and at the position of the given clock.  However, changes
27420         to the current clock are local and have no effect on the user's
27421         active clock.  This allows, for example, far any clock to be
27422         canceled without canceling the active clock.
27423         (org-clock-clock-in): New inline function that switches the active
27424         clock to the given clock.  If either the argument RESUME, or the
27425         global `org-clock-in-resume', are non-nil, it will resume a clock
27426         that was previously left open.
27427         (org-clock-clock-out): New inline function that clocks out the
27428         given clock value without affecting the currently active clock.
27429         (org-clock-clock-cancel): New inline function that cancels the
27430         given clock value without affecting the currently active clock.
27432         * org-clock.el (org-clock-in): Before creating
27433         `org-clock-mode-line-timer', check to make sure an older timer is
27434         not currently running.
27435         (org-clock-out): Accept new third parameter `at-time', which
27436         permits a clock to be clocked out at a specific time.  Note that
27437         no attempt is made to verify that the clock out time is later than
27438         the clock in time.
27440         * org.el (org-files-list): New utility function for returning a
27441         list of all open org-mode buffers, plus all files used to build
27442         the agenda buffer.  Note that not all the files will necessarily
27443         be visited by a buffer at time of call.
27444         (org-entry-beginning-position): Like the function
27445         `line-beginning-position', this inline function returns the
27446         beginning position of the current heading/entry.
27447         (org-entry-end-position): Like the function `line-end-position',
27448         this inline function returns the end position of the current
27449         heading/entry.
27451 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27453         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
27454         a header line.
27456 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27458         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
27460 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27462         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
27463         entries that have no tags.
27464         (org-agenda-search-view): New customize group.
27465         (org-agenda-search-view-search-words-only): New option.
27466         (org-search-view): Implement substring search.
27468 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27470         * org.el (org-outline-level): Add doc string.
27472 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27474         * org-inlinetask.el (org-inlinetask-export): Re-introduce
27475         variable.
27476         (org-inlinetask-export-handler): Only export inline task if the
27477         user option calls for it.
27479 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27481         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
27482         END if present.
27484 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27486         * org-latex.el (org-export-latex-tables): Don't format in
27487         protected regions.
27489 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27491         * org-src.el (org-edit-src-code)
27492         (org-edit-src-find-region-and-lang, org-edit-src-exit):
27493         Handle macro editing.
27495         * org-agenda.el (org-prefix-category-max-length): New variable.
27496         (org-format-agenda-item): Use `org-prefix-category-max-length'.
27497         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
27499 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27501         * org-mobile.el (org-mobile-create-index-file): Improve the
27502         listing of tags and todo keywords.
27504         * org-latex.el (org-export-latex-format-image): New function.
27505         (org-export-latex-links): Use `org-export-latex-format-image'.
27507 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27509         * org-inlinetask.el (org-inlinetask-get-current-indentation)
27510         (org-inlinetask-remove-terminator): New functions.
27511         (org-inlinetask-export-handler): Terminate the description list.
27513         * org-exp.el (org-export-select-backend-specific-text): Remove the
27514         region markers.
27516         * org-inlinetask.el (org-inlinetask-export-handler): Fix bug for
27517         tasks without content.
27519         * org-clock.el: Make sure the clock-in target position does not
27520         move to a different node by widening the buffer.
27522         * org-html.el (org-export-html-format-image): Wrap image into
27523         figure div only when there is a caption.
27525         * org-archive.el (org-archive-mark-done): Change default value to
27526         nil.
27528 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
27530         * org.el (org-context): Call `bobp', not `eobp'.
27532         * org-clock.el (org-clock-cancel): Remove quotes from marker
27533         variables.
27535         * org.el (org-read-date-prefer-future): New allowed value `time'.
27536         (org-read-date-analyze): Shift day to tomorrow depending on time
27537         entered and value of `org-read-date-prefer-future'.
27539 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
27541         * org.el (org-version, org-get-refile-targets, org-refile)
27542         (org-store-log-note, org-diary-to-ical-string)
27543         (org-speedbar-set-agenda-restriction):
27544         * org-publish.el (org-publish-find-title):
27545         * org-plot.el (org-plot/gnuplot):
27546         * org-mouse.el (org-mouse-do-remotely):
27547         * org-mobile.el (org-mobile-move-capture):
27548         * org-mac-message.el (org-mac-message-insert-flagged):
27549         * org-latex.el (org-replace-region-by-latex):
27550         * org-docbook.el (org-replace-region-by-docbook):
27551         * org-clock.el (org-clock-out, org-clock-cancel):
27552         * org-bibtex.el (org-execute-file-search-in-bibtex):
27553         Use with-current-buffer.
27555 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
27557         * org.el (org-directory, org-map-entries):
27558         * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
27560 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27562         * org.el (org-set-tags-to): New command.
27564         * org-latex.el (org-export-latex-set-initial-vars): Also check in
27565         the plist.
27567         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
27568         keyword.
27570         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
27572 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27574         * org-inlinetask.el (org-inlinetask-export): Option removed.
27575         (org-inlinetask-export-handler): Better export.
27577         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
27578         (org-export-as-xoxo): Run the new hook.
27580         * org-html.el (org-export-html-final-hook): New hook.
27581         (org-export-as-html): Run the new hook.
27583         * org-docbook.el (org-export-docbook-final-hook): New hook.
27584         (org-export-as-docbook): Run the new hook.
27586         * org-ascii.el (org-export-ascii-final-hook): New hook.
27587         (org-export-as-ascii): Run the new hook.
27589         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
27590         space character as the character before the ^/_.
27591         (org-export-latex-final-hook): New hook.
27592         (org-export-as-latex): Run `org-export-latex-final-hook'.
27594 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27596         * org-macs.el (org-if-unprotected-at): Fix docstring.
27598         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
27599         text in the prefix (if category is a link).
27601         * org-latex.el (org-export-latex-preprocess): Deal properly with
27602         empty lines in verse environments.
27604         * org.el (org-format-latex-header): Inline fullpage.sty.
27606         * org-footnote.el (org-footnote-create-definition): Reveal context
27607         to add a new footnote definition.
27609         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
27610         org-table-recalculate when cursor is in TBLFM line.
27612         * org-list.el (org-renumber-ordered-list): Fix cursor position
27613         when bullet length has changed.
27615 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27617         * org.el (org-format-latex): Mention `org-format-latex-options' in
27618         the docstring.
27620 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27622         * org.el (org-agenda-get): New function.
27624         * org-agenda.el (org-agenda-post-command-hook): No longer move
27625         point away from end of line.
27626         (org-agenda-add-entry-text, org-agenda-collect-markers)
27627         (org-finalize-agenda, org-agenda-mark-clocking-task)
27628         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
27629         (org-agenda-entry-text-show, org-agenda-highlight-todo)
27630         (org-agenda-compare-effort, org-agenda-filter-apply)
27631         (org-agenda-later, org-agenda-change-time-span)
27632         (org-agenda-post-command-hook, org-agenda-show-priority)
27633         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
27634         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
27635         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
27636         (org-agenda-open-link, org-agenda-copy-local-variable)
27637         (org-agenda-switch-to, org-agenda-check-no-diary)
27638         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
27639         (org-agenda-add-note, org-agenda-change-all-lines)
27640         (org-agenda-priority, org-agenda-set-tags)
27641         (org-agenda-set-property, org-agenda-set-effort)
27642         (org-agenda-toggle-archive-tag, org-agenda-date-later)
27643         (org-agenda-show-new-time, org-agenda-date-prompt)
27644         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
27645         (org-agenda-clock-in, org-agenda-bulk-mark)
27646         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note):
27647         Use `org-get-at-bol'.
27649         * org-colview.el (org-columns-display-here)
27650         (org-columns-edit-allowed, org-agenda-columns):
27651         Use `org-get-at-bol'.
27653 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27655         * org.el (org-special-ctrl-a/e): Improve documentation and
27656         customize type.
27657         (org-end-of-line): Don't jump to after the ellipsis.
27658         (org-mode-map): Bind <home> and <end> as well.
27660 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27662         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
27663         space after #+ as comments.
27664         (org-open-at-point): Run `org-follow-link-hook' always.
27666         * org-latex.el (org-export-latex-emph-format): Use better commands
27667         to insert special characters in verbatim snippets.
27669 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27671         * org-faces.el (org-copy-face): New function.  Use it to create
27672         various faces formerly created by using `copy-face'.
27674         * org-agenda.el (org-prepare-agenda): Don't officially mark this
27675         window dedicated.
27676         (org-agenda-quit): Kill the frame containing the agenda window if
27677         that frame was created for the agenda.
27679 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27681         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
27682         stamp in the agenda.
27684 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27686         * org-agenda.el (org-prepare-agenda):
27687         Reset `org-drawers-for-agenda'.
27688         (org-prepare-agenda): Uniquify list of drawers.
27690         * org.el (org-complex-heading-regexp-format): New variable.
27691         (org-set-regexps-and-options):
27692         Define `org-complex-heading-regexp-format'.
27693         (org-drawers-for-agenda): New variable.
27694         (org-map-entries): Bind `org-drawers-for-agenda'.
27695         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
27697         * org-remember.el (org-go-to-remember-target)
27698         (org-remember-handler): Use `org-complex-heading-regexp-format'.
27700 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27702         * org-agenda.el (org-agenda-highlight-todo): Fix text property
27703         problem.
27705         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
27706         always with `invisible-ok'.
27707         (org-store-link): No error when there is nothing to link to in the
27708         agenda.
27710         * org-list.el (org-update-checkbox-count): Insert changed cookie
27711         before the old, to avoid problems with invisibility at the end of
27712         the line.
27713         (org-update-checkbox-count): Insert changed cookie before the old,
27714         to avoid problems with invisibility at the end of the line.
27716         * org.el (org-sort-entries-or-items): Include the final newline.
27717         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
27718         lines for fontification.
27719         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
27720         (org-prepare-dblock): Store the current indentation of the BEGIN
27721         line.
27722         (org-update-dblock): Apply the indentation of the begin line to
27723         the rest of the block.
27724         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
27725         (org-startup-folded): New allowed value `showeverything'.
27726         (org-startup-options): Add STARTUP keyword `showeverything'.
27727         (org-set-startup-visibility): Respect value `showeverything' in
27728         org-startup-folded.
27730 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27732         * org.el (org-closest-date): Fix issue with past preference.
27734         * org-archive.el (org-archive-set-tag)
27735         (org-archive-subtree-default): New commands.
27737         * org-clock.el (org-clock-clocktable-default-properties):
27738         New option.
27739         (org-clock-report):
27740         Use `org-clock-clocktable-default-properties'.
27742 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27744         * org.el (org-iswitchb-completing-read): Fix typo.
27746         * org-crypt.el: New file.
27748         * org.el: Add an entry for org-crypt.
27750 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27752         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
27753         consistency.
27754         (org-batch-store-agenda-views): New function.
27755         (org-agenda-title-append): Define variable.
27756         (org-write-agenda): New export to Org files.
27757         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
27758         (org-agenda): Allow to keep the restricted file list if a special
27759         variable is bound to t.
27760         (org-agenda): Define a special agenda view for working on flagged
27761         entries.
27762         (org-agenda-get-restriction-and-command): List the new agenda
27763         view.
27764         (org-agenda-show-the-flagging-note): New command.
27765         (org-agenda-mode-map): New key `?' for looking at the flagging
27766         note.
27768         * org.el (org-autoload): Autoload org-mobile.el.
27769         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
27771         * org-mobile.el: New file.
27773         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
27775 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27777         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
27778         statements.
27779         (org-table-get-remote-range): Match indented #+TBLNAME
27780         statements.
27782         * org.el (org-convert-to-odd-levels)
27783         (org-convert-to-oddeven-levels): Work also correctly if the file
27784         is in outline-mode.
27786 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27788         * org.el (org-store-link): When in agenda buffer, link to
27789         referenced entry.
27790         (org-add-planning-info): Remove spaces at eol.
27792         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
27793         property.
27795 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27797         * org-latex.el (org-export-latex-first-lines): Fix problem with
27798         LaTeX export of first line and selected subtree.
27800         * org.el (org-shifttab): Interpret arg differently when using only
27801         odd levels.
27803 2009-10-01  Bastien Guerry  <bzg@gnu.org>
27805         * org.el (org-check-agenda-file): Use a more explicit message.
27807 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27809         * org-exp.el (org-export-remove-special-table-lines): Don't remove
27810         normal lines.
27812 2009-10-01  Bastien Guerry  <bzg@gnu.org>
27814         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
27815         prompt in the temporary window.
27817         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
27818         prefix for marked entries in the agenda view.
27820 2009-10-01  Andreas Burtzlaff  <andy13@gmx.net>  (tiny change)
27822         * org.el (outline-end-of-subtree): Bugfix: advise this function in
27823         a way that prevents any trailing character from being displayed.
27825 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27827         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
27828         menu.
27830         * org-exp.el (org-export-remove-special-table-lines): Remove bad
27831         slow regexp match.
27833 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27835         * org-latex.el (org-export-latex-preprocess): Do not protect in
27836         the LaTeX header.
27838         * org-src.el (org-edit-src-save): Save window setup while saving.
27839         (org-edit-src-code): Use new buffer name construction scheme.
27841 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27843         * org-agenda.el (org-agenda-entry-text-exclude-regexps):
27844         New variable.
27845         (org-agenda-entry-text-cleanup-hook): New hook.
27846         (org-agenda-get-some-entry-text): Remove matches of
27847         `org-agenda-entry-text-exclude-regexps' and run the hook
27848         `org-agenda-entry-text-cleanup-hook'.
27850         * org.el (org-offer-links-in-entry): New argument ZERO to
27851         implement a link with index zero.
27852         (org-cycle-show-empty-lines): Not keep empty line under header
27853         hidden.
27854         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
27855         to nil for special completion.
27856         (org-store-link): Don't error before the first heading.
27858         * org-agenda.el (org-agenda-open-link): Pass the prefix to
27859         `org-offer-links-in-entry'.
27861 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
27863         * org-agenda.el (org-agenda-quit): Provide the window argument for
27864         `window-dedicated-p', Emacs 22 needs it.
27865         (org-format-agenda-item): If the category is a link, arrange for
27866         invisible text to replaced with spaces.
27867         (org-compile-prefix-format): Add the extra space.
27868         (org-prefix-category-length): New variable.
27870         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
27871         references from TOC lines.
27873         * org.el (org-selected-window): New variable.
27875         * org-table.el (org-table-edit-formulas): Remember the selected
27876         window.
27877         (org-table-fedit-finish, org-table-fedit-abort): Select the window
27878         that was originally selected.
27880         * org-exp.el (org-export-preprocess-apply-macros): Scan the
27881         expansion of a macro for more macro definitions.
27883         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
27884         invisibility overlay starts on the newline.
27886 2009-10-01  Glenn Morris  <rgm@gnu.org>
27888         * org-agenda.el (calendar-check-holidays):
27889         * org-exp.el (org-agenda-skip):
27890         * org-list.el (outline-back-to-heading):
27891         * org-wl.el (wl-summary-goto-folder-subr):
27892         * org.el (iswitchb-mode, remember, remember-buffer-desc)
27893         (remember-finalize, remember-save-after-remembering, remember-register)
27894         (remember-buffer, remember-handler-functions)
27895         (remember-annotation-functions): Remove unused declarations.
27897         * org.el (iswitchb-read-buffer): Fix declaration.
27899 2009-09-30  Glenn Morris  <rgm@gnu.org>
27901         * org-compat.el (w32-focus-frame):
27902         * org-exp-blocks.el (R):
27903         * org-exp.el (htmlize-buffer):
27904         * org-protocol.el (server-edit):
27905         * org-table.el (org-format-org-table-html):
27906         * org.el (org-indent-mode): Fix declarations.
27908         * org-colview.el (org-columns-uncompile-format): Avoid assignment to
27909         free variable `fun'.
27911 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
27913         * org-agenda.el (org-agenda-restore-windows-after-quit):
27914         Fix typo in docstring.
27916 2009-09-23  Juanma Barranquero  <lekktu@gmail.com>
27918         * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
27919         (org-shiftselect-error, org-ctrl-c-ctrl-c):
27920         * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
27921         * org-attach.el (org-attach-check-absolute-path):
27922         * org-docbook.el (org-export-as-docbook):
27923         * org-html.el (org-export-as-html):
27924         * org-id.el (org-id-update-id-locations):
27925         * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
27926         Fix typos in error messages.
27928 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
27930         * org-ascii.el: Require CL for the `loop' macro.
27932 2009-09-05  Carsten Dominik  <dominik@u016822.science.uva.nl>
27934         * org-gnus.el (require): Wrap (require gnus-sum) into
27935         eval-when-compile.
27937 2009-09-03  Carsten Dominik  <dominik@u016822.science.uva.nl>
27939         * org-protocol.el (org-protocol-store-link)
27940         (org-protocol-remember, org-protocol-open-source): Remove autoload
27941         cookies again.
27943         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
27944         referencing the start of the line.
27946         * org-gnus.el: Remove unnecessary declare-function forms.
27947         (gnus-sum): Always require gnus-sum.
27949 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27951         * org-protocol.el (org-protocol-store-link)
27952         (org-protocol-remember, org-protocol-open-source): Add autoloads.
27954         * org-compat.el (org-float-time): New function.
27956         * org.el (org-clock-update-time-maybe)
27957         (org-sort-entries-or-items, org-do-sort)
27958         (org-evaluate-time-range, org-time-string-to-seconds)
27959         (org-closed-in-range): Use `org-float-time'.
27961         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
27962         (org-timer-seconds): Use `org-float-time'.
27964         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
27965         (org-clock-sum, org-dblock-write:clocktable)
27966         (org-clocktable-steps): Use `org-float-time'.
27968         * org-agenda.el (org-agenda-last-marker-time)
27969         (org-agenda-new-marker, org-diary): Use `org-float-time'.
27971         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
27972         function.
27974         * org-exp.el (org-get-file-contents): Only protect lines that
27975         really need it.
27977         * org-html.el (require): Require cl for compilation.
27979         * org.el: Avoid using `default-major-mode'.
27981         * org-plot.el (require): Require CL only at compile time.
27983         * org-exp.el (require): Require CL only at compile time.
27985         * org-agenda.el (org-agenda-quit): When the agenda window is
27986         dedicated, remove other windows before exiting, so that the frame
27987         really will be killed.
27989         * org-exp.el (org-export-handle-include-files): Reset START and
27990         END for each loop cycle.
27992 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27994         * org.el (org-eval-in-calendar):
27995         Use `org-select-frame-set-input-focus'.
27997         * org-compat.el (org-select-frame-set-input-focus): New function.
27999         * org.el (org-update-statistics-cookies): New function.
28000         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
28002 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28004         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
28005         after the local variables are set.
28007         * org-latex.el (org-export-latex-protect-amp): New function.
28008         (org-export-latex-links): Protect link ampersands in tables.
28010         * org-exp.el (org-export-select-backend-specific-text): Match in
28011         two steps, to avoid regexp problems.
28013         * org.el (org-offer-links-in-entry): Improve working with many and
28014         duplicate links.
28016         * org-agenda.el (org-agenda-show-1): Make more consistent with
28017         normal cycling.
28018         (org-agenda-cycle-show): Make more consistent with normal cycling.
28020         * org-gnus.el (org-gnus-store-link): Restore the linking to a
28021         website.
28023 2009-09-02  Bastien Guerry  <bzg@gnu.org>
28025         * org-latex.el (org-export-latex-first-lines): Bugfix.
28027 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28029         * org-clock.el (org-clock-modify-effort-estimate): Emit message
28030         about new effort.
28032         * org.el (org-set-effort): New function.
28033         (org-mode-map): New key for effort setting command.
28035         * org-agenda.el (org-agenda): Keep window setup when calling
28036         agenda from within agenda window.
28037         (org-agenda-mode-map): New keys for effort setting commands.
28038         (org-agenda-menu): Add effort setting commands to menu.
28039         (org-agenda-set-property, org-agenda-set-effort): New functions.
28041         * org-latex.el (org-export-latex-tables):
28042         Fix `org-table-last-alignment' and `org-table-last-column-widths' if
28043         the first column has been removed.
28045 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28047         * org.el (org-remove-timestamp-with-keyword): Only remove in
28048         entry, not in subtree.
28050         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
28051         emacs lisp.
28053         * org.el (org-open-at-point): When on headline, offer all strings
28054         in entry.
28056         * org-remember.el (org-remember-templates): Documentation fix.
28058         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
28059         `org-get-last-sibling' instead of the outline versions of these
28060         functions.
28061         (org-get-last-sibling): New function.
28062         (org-refile): Use `org-get-next-sibling' instead of the outline
28063         version of this function.
28064         (org-clean-visibility-after-subtree-move):
28065         Use `org-get-next-sibling' and `org-get-last-sibling' instead of the
28066         outline versions of these functions.
28068 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28070         * org-agenda.el (org-prepare-agenda): When creating a new frame
28071         for the agenda, make the window dedicated.
28073         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
28075         * org-table.el (org-table-align): Change the order of reinsertion
28076         and deletion, to avoid problems with overlays following the table.
28078         * org.el (org-parse-time-string): Better error message.
28079         (org-show-subtree): Use org-end-of-subtree.
28081         * org-macs.el (org-goto-line): New defsubst.
28083         * org.el (org-open-file, org-change-tag-in-region)
28084         (org-fast-tag-show-exit): Don't use `goto-line'.
28086         * org-table.el (org-table-align, org-table-insert-column)
28087         (org-table-delete-column, org-table-move-column)
28088         (org-table-sort-lines, org-table-copy-region)
28089         (org-table-paste-rectangle, org-table-wrap-region)
28090         (org-table-get-specials, org-table-rotate-recalc-marks)
28091         (org-table-get-range, org-table-recalculate)
28092         (org-table-edit-formulas, org-table-fedit-convert-buffer)
28093         (org-table-show-reference, org-table-highlight-rectangle):
28094         Don't use `goto-line'.
28096         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
28097         (org-edit-src-exit): Don't use `goto-line'.
28099         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
28101         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
28102         Don't use `goto-line'.
28104         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
28106         * org-colview.el (org-columns, org-columns-redo)
28107         (org-agenda-columns): Don't use `goto-line'.
28109         * org-agenda.el (org-agenda-mode): Force visual line motion off.
28110         (org-agenda-add-entry-text-maxlines): Improve docstring.
28111         (org-agenda-start-with-entry-text-mode): New option.
28112         (org-agenda-entry-text-maxlines): New option.
28113         (org-agenda-entry-text-mode): New variable.
28114         (org-agenda-mode): Set initial value of
28115         `org-agenda-entry-text-mode'.
28116         (org-agenda-mode-map): Add the `E' key.
28117         (org-agenda-menu): Add entry text mode to the menu.
28118         (org-agenda-get-some-entry-text): Fix line count bug.
28119         (org-finalize-agenda): Apply entry text mode if appropriate.
28120         (org-agenda-entry-text-show-here): New function.
28121         (org-agenda-entry-text-show): New function.
28122         (org-agenda-entry-text-hide): New function.
28123         (org-agenda-view-mode-dispatch): Add entry text mode to the view
28124         key menu.
28125         (org-agenda-entry-text-mode): New command.
28126         (org-agenda-set-mode-name): Add entry text mode to the mode line
28127         string.
28128         (org-agenda-undo, org-agenda-get-restriction-and-command)
28129         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
28130         `goto-line'.
28132 2009-09-02  Bernt Hansen  <bernt@norang.ca>
28134         * org-clock.el (org-notify): Bugfix.
28136 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28138         * org-agenda.el (org-agenda-open-link): Handle multiple links and
28139         check for after-string.
28141         * org-gnus.el (org-gnus-store-link): Simplify.
28143         * org.el (org-latex-regexps): Don't add extra empty lines for
28144         display formulas.
28146 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28148         * org-agenda.el (org-agenda-get-some-entry-text): New function.
28149         (org-agenda-add-entry-text):
28150         Use `org-agenda-get-some-entry-text'.
28152         * org.el (org-cycle-separator-lines): Update docstring.
28153         (org-cycle-show-empty-lines): Handle negative values for
28154         `org-cycle-show-empty-lines'.
28156         * org-exp.el (org-export-protect-sub-super): New function.
28157         (org-export-normalize-links): Protect the url of plain links from
28158         supscript and superscript processing.
28160         * org-remember.el (org-remember-escaped-%): New function.
28161         (org-remember-apply-template): Use `org-remember-escaped-%' to
28162         detect escaped % signs.
28164 2009-09-02  Bastien Guerry  <bzg@gnu.org>
28166         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
28167         sound when showing the notification.
28169         * org-clock.el (org-notify): New function.
28170         (org-clock-notify-once-if-expired): Use `org-notify'.
28172         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
28173         and `gnus-article-mode' separately.
28174         (gnus-summary-article-header): Fix the declare-function.
28176 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28178         * org-exp.el (org-export-format-source-code-or-example):
28179         Translate language.
28181         * org-src.el (org-src-lang-modes): New variable.
28182         (org-edit-src-code): Translate language.
28184         * org-exp.el (org-export-format-source-code-or-example): Deal wit
28185         the new structure of the `org-export-latex-listings-langs'
28186         variable.
28188         * org-latex.el (org-export-latex-listings-langs): Change structure
28189         of the variable from plist to alist.
28191 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28193         * org.el (org-in-commented-line): New function.
28195 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28197         * org.el (org-hide-block-toggle): Make folded blocks searchable.
28199 2009-09-02  Friedrich Delgado Friedrichs  <friedel@nomaden.org>  (tiny change)
28201         * org.el (org-flag-drawer): More useful error.
28203 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28205         * org-remember.el (org-remember-apply-template):
28206         Use org-icompleting-read.
28208         * org-publish.el (org-publish): Use org-icompleting-read.
28210         * org-colview.el (org-columns-edit-value, org-columns-new)
28211         (org-insert-columns-dblock): Use org-icompleting-read.
28213         * org-attach.el (org-attach-delete-one, org-attach-open):
28214         Use org-icompleting-read.
28216 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28218         * org.el (org-hierarchical-todo-statistics): Improve docstring.
28219         (org-version): Return the version text.
28220         (org-org-menu): Add a menu entry for the new bug reporter.
28221         (org-submit-bug-report): New command.
28223         * org-list.el (org-hierarchical-checkbox-statistics):
28224         Improve docstring.
28226         * org.el (org-emphasis-regexp-components): Add "`" to set of
28227         pre-emphasis characters.
28229         * org-latex.el (org-export-latex-classes): Always include the soul
28230         package.
28231         (org-export-latex-emphasis-alist): Use \st for strikethough.
28233         * org-exp-blocks.el (org-export-blocks-preprocess):
28234         Use `indent-code-rigidly' to indent.
28236         * org-agenda.el (org-agenda-get-restriction-and-command):
28237         Remove properties only if MATCH really is a string.
28239 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28241         * org-latex.el (org-export-latex-packages-alist):
28242         Fix customization type.
28244         * org.el (org-create-formula-image): Also use
28245         `org-export-latex-packages-alist'.
28247         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
28248         (org-export-as-html): Format footnotes correctly.
28250 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28252         * org.el (org-fast-tag-selection): Avoid text properties on tags
28253         in the alist.
28255         * org-agenda.el (org-agenda-get-restriction-and-command):
28256         Avoid text properties on the match element.
28258 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28260         * org.el (org-set-regexps-and-options): Make sure the list of done
28261         keywords is not invalid.
28263         * org-exp.el (org-export-interpolate-newlines): New function.
28265 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28267         * org.el (org-format-latex): Avoid nested overlays.
28269         * org-latex.el (org-export-latex-listings-langs): Add a few more
28270         languages.
28272         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
28273         ignore newlines and space before the first macro argument.
28275         * org-latex.el (org-export-latex-tables): Remove save-excursion
28276         around `org-table-align'.
28278 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28280         * org.el (org-export-html-special-string-regexps):
28281         Definition moved into org.el.
28283         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
28284         in macro calls.
28286 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28288         * org-latex.el (org-export-latex-listings)
28289         (org-export-latex-listings-langs): New options.
28291         * org-exp.el (org-export-format-source-code-or-example):
28292         Use listing package if requested by the user.
28294 2009-09-02  Bastien Guerry  <bzg@gnu.org>
28296         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
28297         command before actually switching to a buffer.
28299 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28301         * org-exp.el (org-get-file-contents): Only quote org lines when
28302         the markup is src or example.
28304         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
28305         New option.
28306         (org-agenda-get-day-entries): Remember deadline results and pass
28307         them on into the function getting the scheduling information.
28308         (org-agenda-get-scheduled): Accept deadline results as parameters
28309         and maybe skip some entries.
28310         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
28312         * org.el (org-insert-heading): When respecting content, do not
28313         convert current line to headline.
28315         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
28316         Also cheeeeeck the hd marker.
28317         (org-clock-in): Also set the hd marker.
28318         (org-clock-out): Also set the hd marker.
28319         (org-clock-cancel): Reset markers.
28321         * org.el (org-clock-hd-marker): New marker.
28323         * org-faces.el (org-agenda-clocking): New face.
28325         * org-agenda.el (org-agenda-mark-clocking-task): New function.
28326         (org-finalize-agenda): Call `org-agenda-mark-clocking-task'.
28328         * org.el (org-modules): Add org-track.el.
28330         * org-agenda.el (org-agenda-bulk-marked-p): New function.
28331         (org-agenda-bulk-mark, org-agenda-bulk-unmark):
28332         Use `org-agenda-bulk-marked-p'.
28333         (org-agenda-bulk-toggle): New command.
28335 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
28337         * org.el (org-move-subtree-down): Hide subtree if it was folded,
28338         not just the body.
28340         * org-remember.el (org-remember-finalize): Avoid buffer-modified
28341         messages.
28343 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
28345         * org-html.el (org-export-as-html):
28346         * org-docbook.el (org-export-as-docbook):
28347         Use (default-value 'major-mode) instead of default-major-mode.
28349 2009-08-08  Carsten Dominik  <carsten.dominik@gmail.com>
28351         * org-docbook.el: Add arch-tag.
28353         * org-exp-blocks.el: Add arch-tag.
28355         * org-id.el: Add arch-tag.
28357         * org-indent.el: Add arch-tag.
28359         * org-inlinetask.el: Add arch-tag.
28361         * org-protocol.el: Add arch-tag.
28363 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28365         * org.el (org-create-formula-image): Remove the -E option for
28366         dvipng.
28368         * org-exp.el (org-default-export-plist): Respect #+BIND.
28369         (org-export-confirm-letbind): New function.
28371         * org.el (org-paste-subtree): Test the kill ring entry if it is
28372         going to be used.
28373         (org-copy-subtree): Use `org-forward-same-level'.
28374         (org-forward-same-level): Respect the `invisibe-ok' arg for
28375         back-to-heading.
28377 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28379         * org.el (org-table-map-tables): Make sure cursor is back at table
28380         beginning after funcall.
28382         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
28383         handled before children, and do not error if an entry is not
28384         found, probably because it hase been remove when the parent was
28385         archived or refiled.
28387         * org.el (org-ido-completing-read): Accept straight lists for
28388         completion as well as alists.
28390         * org-timer.el (org-timer-cancel-timers): Rename from
28391         `org-timer-cancel-timers'.
28393         * org.el (org-cycle-internal-local): Fix problem with finding next
28394         invisible line.
28396 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28398         * org-list.el (org-list-send-list):
28399         Call `org-list-goto-true-beginning' instead of
28400         `org-list-find-true-beginning', which does not exist.
28402         * org-timer.el (org-timer-reset-timers): Use `mapc'.
28403         (org-timer-set-timer): Do not assign to heading.
28405         * org-id.el (org-id-open): Quote function name.
28407         * org-macs.el (org-unmodified): Turn off recording undo
28408         information while running inside the macro.
28410         * org-table.el (org-table-export): Also work in file-less
28411         buffers.
28413         * org.el (org-startup-indented): New option.
28414         (org-startup-options): Add new options indent and noindent.
28415         (org-unfontify-region): Remove line-prefix and wrap-prefix
28416         properties.
28417         (org-after-demote-entry-hook, org-after-promote-entry-hook):
28418         New hooks.
28419         (org-promote, org-demote): Run the new hooks.
28421         * org-table.el (org-table-align): Replace leading \n as well.
28423         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
28424         and `line-wrap' text properties.
28426         * org-compat.el (org-kill-new): New function.
28428         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
28429         `line-wrap' text properties.
28431         * org-indent.el: New file.
28433 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28435         * org.el (org-provide-todo-statistics): Tweak docstring.
28437         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
28439 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28441         * org-exp.el (org-export-as-org): Insert the "-source" string
28442         before the extension.
28444         * org.el (org-read-date): Make sure the calendar is in the current
28445         frame.
28446         (org-set-emph-re): Remove the ? from the post-match.
28447         (org-emphasis-regexp-components): Add backslash to the
28448         postmatch class.
28449         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
28450         optional so that also lines at the end of the buffers will still
28451         be matched as headlines.
28453         * org-table.el (org-table-error-on-row-ref-crossing-hline):
28454         Variable made obsolete.
28455         (org-table-relative-ref-may-cross-hline): New option.
28456         (org-table-find-row-type): Honow the new option
28457         `org-table-relative-ref-may-cross-hline'.
28459 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28461         * org-table.el (org-table-cut-region, org-table-copy-region):
28462         Work on single field if no active region.
28464 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28466         * org-latex.el (org-export-latex-make-header): Only insert title
28467         if one is defined.
28469         * org.el (org-make-options-regexp): Allow empty values.
28471 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28473         * org.el (org-cycle-internal-local): Improve version of finding
28474         next visible line.
28475         (org-cycle-hide-drawers): Only hide drawers if this is really
28476         necessary.
28477         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
28478         org-version of this function in Org-mode.  We use advice to
28479         implement this change, so that future changes to this function in
28480         outline.el wil be handled properly.
28481         (org-forward-same-level, org-backward-same-level): New commands.
28483 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28485         * org.el (org-remove-empty-overlays-at)
28486         (org-clean-visibility-after-subtree-move): New functions.
28487         (org-move-subtree-down): Simplify cleanup of display.
28489 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28491         * org-mac-message.el (org-mac-message-get-links): Improve
28492         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
28493         "s".  Fix the return value.
28494         (org-mac-message-insert-flagged): Simplify.
28496         * org.el (org-refile-get-location): Tamper with refile history o
28497         that history contains compete matches instead of the entered
28498         string.
28500 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28502         * org.el (org-store-link): Never store a link to an inline task.
28504         * org-footnote.el (org-footnote-goto-local-insertion-point):
28505         Skip inline tasks when positioning footnotes.
28507         * org.el (org-refile): Remove the END line when archiving an
28508         inline task that does have an END line.
28510         * org-archive.el (org-archive-subtree): Remove the END line when
28511         archiving an inline task that does have an END line.
28513         * org-macs.el (org-with-limited-levels): New macro.
28514         (org-get-limited-outline-regexp): New function.
28516         * org-exp.el (org-export-format-source-code-or-example): Fix bug
28517         that did not enumerate first line.
28518         (org-export-mark-radio-links): Skip matches in links.
28520 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28522         * org.el (org-activate-plain-links): Make single-match.
28523         (org-adapt-indentation): Fix docstring.
28525         * org-macs.el (org-unmodified): Turn of modification hooks while
28526         running this macro.
28528 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28530         * org.el (org-adapt-indentation): Slightly improve the docstring.
28531         (org-occur): Sends an error when the user inputs an empty string.
28532         (org-priority): Bugfix: the tag alignement should happen within
28533         save-excursion.
28535 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28537         * org.el (org-make-link-regexps): Don't exclude parentheses from
28538         `org-plain-link-re'.
28539         (org-cycle-internal-local): When locally cycling, switch directly
28540         from CHILDREN to FOLDED if there is no subtree.
28541         (org-cycle): Update the docstring to document the new behavior of
28542         `org-cycle-internal-local'.
28544 2009-08-06  Nicolas Goaziou  <n.goaziou@neuf.fr>  (tiny change)
28546         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
28547         an abbreviated format for days.
28549 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28551         * org-protocol.el (org-protocol-default-template-key):
28552         New option.
28554         * org.el (org-refile): Bugfix: save-excursion before reading the
28555         refile target, otherwise cursor moves might confuse `org-refile'.
28557         * org.el (org-toggle-heading): Bugfix: correctly convert list
28558         items before the first headline.
28560         * org.el (org-provide-todo-statistics): Allow a list of TODO
28561         keywords to compute statistics against headlines containing a
28562         keyword from this list.
28563         (org-update-parent-todo-statistics): Possibly use the new allowed
28564         value of `org-provide-todo-statistics'.
28566 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28568         * org-timer.el: Add autoload cookie.
28570         * org.el (org-occur-link-in-agenda-files): New function.
28572         * org-timer.el (org-timer-last-timer): New variable.
28574         * org-agenda.el (org-agenda-mode-map): New key for
28575         org-timer-set-timer called from the agenda.
28577         * org.el (org-mode-map): New key for org-timer-set-timer.
28579         * org-timer.el (org-timer-reset-timers)
28580         (org-timer-show-remaining-time, org-timer-set-timer):
28581         New functions.
28583         * org-clock.el (org-show-notification): Update the docstring.
28585         * org.el (org-provide-todo-statistics): Allow new value
28586         'all-headlines for this option, which includes entries with no
28587         TODO keywords in the todo statistics.
28588         (org-update-parent-todo-statistics): Possibly use the new
28589         'all-headline value from `org-provide-todo-statistics'.
28591 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28593         * org-clock.el (org-dblock-write:clocktable): Add a new option
28594         :timestamp which allows display of timestamps in clock reports.
28596         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
28597         list to a subtree, preserving the structure of the list.
28598         (org-set-emph-re): Make the last element optional in the regexp.
28599         This regexp now matches an emphasized string at the end of a line.
28601         * org-list.el (org-list-goto-true-beginning)
28602         (org-list-make-subtree, org-list-make-subtrees): New functions.
28604         * org.el (org-eval-in-calendar): Select the right frame.
28605         (org-save-frame-excursion): Remove this macro.
28607 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28609         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
28610         trying to find the beginning of a list.
28612         * org-exp.el (org-get-file-contents): Use a new argument: markup.
28613         When present, tell org-get-file-contents not to protect org-like
28614         lines.
28616         * org-id.el (org-id-uuid-program): New option to set the name of
28617         the uuidgen program.
28618         (org-id-method): Use `org-id-uuid-program'.
28619         (org-id-new): Use `org-id-uuid-program'.
28621 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28623         * org-exp.el (org-export-number-lines): Allow whitespace in code
28624         references.  Allow the -r switch to remove the references in the
28625         source code even when the lines are not numbered: the labels can
28626         be explicit enough.
28628         * org.el (org-fontify-whole-heading-line): New option.
28629         (org-set-font-lock-defaults): Use the new option.
28631         * org-clock.el (org-show-notification-handler): New option.
28632         (org-show-notification): Use the new option.
28634 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28636         * org.el (org-eval-in-calendar): Fix a bug about calendar
28637         navigation when `calendar-setup' value is 'calendar-only.
28639 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28641         * org.el (orgstruct++-mode): Fix typo in docstring.
28642         (org-insert-link): Clean up: (or (...)) => (...)
28643         (org-insert-link): Use TAB for stored links completion.
28645 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28647         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
28648         building the list of targets.
28650         * org-remember.el (org-remember-delete-empty-lines-at-end):
28651         New option.
28652         (org-remember-handler): Use the new option.
28654 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
28656         * org.el (org-tags-sort-function): New option for sorting tags.
28657         (org-set-tags): Use the new option to sort tags.
28659         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
28660         premature deletion of the data when using org-plot in a script.
28662 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28664         * org-clock.el (org-clock-in-prepare-hook): New hook.
28665         (org-clock-in): Use this new hook.
28667 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28669         * org.el (org-special-ctrl-a/e): Explicitly bind the value
28670         'reversed for this option to the "true line boundary first"
28671         behavior.
28672         (org-tags-match-list-sublevels): Document the 'indented value for
28673         this variable.
28675         * org-latex.el (org-export-latex-first-lines): Fix problem with
28676         publishing the region.
28678         * org-exp.el (org-export-format-source-code-or-example):
28679         Fix bad line numbering when exporting examples in HTML.
28681 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
28683         * org-colview.el (org-format-time-period): Formats a time in
28684         fractional days as days, hours, mins, seconds.
28685         (org-columns-display-here): Add special handling for SINCE and
28686         SINCE_IA to format for display.
28688         * org.el (org-time-since): Add a function to get the time since an
28689         org timestamp.
28690         (org-entry-properties): Add two new special properties: SINCE and
28691         SINCE_IA.  These give the time since any active or inactive
28692         timestamp in an entry.
28693         (org-special-properties): Add SINCE, SINCE_IA.
28694         (org-tags-sort-function): Add custom declaration for tags
28695         sorting function.
28696         (org-set-tags): Sort tags if org-tags-sort-function is set.
28698 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28700         * org-clock.el (org-clock-goto): Find hidden headlines as well.
28702         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
28704         * org-plot.el (org-plot/add-options-to-plist): Add timeind
28705         option.
28707 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28709         * org-publish.el (org-publish-remove-all-timestamps): New function.
28710         (org-publish-all): Remove all timestamp files if `org-publish-all'
28711         is called with a prefix argument.
28713         * org-list.el (org-indent-item): Fix typo.
28714         (org-item-indent-positions): Normalize ordered bullet.
28716 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28718         * org-macs.el (org-set-local): Make a local variable, do not make
28719         the variable buffer-local!
28721         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
28723         * org-exp.el (org-infile-export-plist): Read BIND lines.
28724         (org-install-letbind): New function.
28725         (org-export-as-org, org-export-preprocess-string):
28726         Call `org-install-letbind'.
28728         * org-list.el (org-list-demote-modify-bullet): New option.
28729         (org-first-list-item-p): Save point.
28730         (org-fix-bullet-type): New optional argument FORCE-BULLET.
28731         (org-indent-item): Honor `org-list-demote-modify-bullet'.
28732         (org-item-indent-positions): Return bullet types along with
28733         indentation.
28735 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28737         * org.el (org-show-entry): Hide drawers.
28739 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28741         * org-footnote.el (org-footnote-auto-adjust): New option.
28742         (org-footnote-auto-adjust-maybe): New function.
28743         (org-footnote-new, org-footnote-delete):
28744         Call `org-footnote-auto-adjust-maybe'.
28746         * org.el (org-startup-options): Add new footnote-related
28747         keywords.
28749         * org-publish.el (org-publish-timestamp-filename): Additional
28750         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
28751         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
28752         TRUE-PUB-DIR.  Pass them through to
28753         `org-publish-timestamp-filename'.
28754         (org-publish-update-timestamp): Additional arguments PUB-DIR and
28755         PUB-FUNC, which are included in the hash.
28756         (org-publish-file): Delay timestamp test until the publishing
28757         function is known.
28759 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28761         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
28762         setting the deadline.
28764         * org.el (org-read-date-final-answer): New variable.
28765         (org-read-date): Store the final answer string, including the date
28766         from the calendar, for reuse by agenda bulk commands.
28768         * org-publish.el (org-publish-attachment): Fix publishing of
28769         attachments.
28771         * org-latex.el (org-export-latex-quotation-marks): Fix export of
28772         quotation makrs in parenthesis.
28773         (org-remove-initial-hash): New function.
28774         (org-export-latex-preprocess): Fix bug with infinite loop if
28775         environment is not properly closed.
28777         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
28778         when indented.
28780         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
28781         highlight also when indented.
28783 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28785         * org-footnote.el (org-footnote-renumber-fn:N): New command.
28786         (org-footnote-action): Offer renumbering.
28788         * org.el (org-cycle): Honor the `integrate' value of
28789         org-cycle-include-plain-lists'.
28791         * org-list.el (org-cycle-include-plain-lists): New allowed value
28792         `internal'.  Improve the docstring.
28794         * org.el (org-set-autofill-regexps): Improve the paragraph-start
28795         regexp to work better with LaTeX commands.
28797 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28799         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
28800         and eps extensions.
28802 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28804         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
28805         loaded.
28807         * org.el (org-map-entries): No longer force
28808         `org-tags-match-list-sublevels' to t during a todo-only tags
28809         search.
28811 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28813         * org-latex.el (org-export-latex-low-levels): Allow user-defined
28814         environment.
28815         (org-export-latex-subcontent): Handle user-defined environment.
28817         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
28818         the View dispatcher.
28820         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
28821         `make-overlay'.
28823         * org-latex.el (org-export-as-pdf): Protect match data during call
28824         to shell-quote-argument.
28826         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
28827         (org-agenda-view-mode-dispatch): New function.
28829 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28831         * org-agenda.el (org-agenda-mode): Reset list of marks.
28832         (org-agenda-mode-map): Define new keys for refile and bulk action.
28833         (org-agenda-menu): Add menu itesm for refile and bulk action.
28834         (org-agenda-refile): New function.
28835         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
28836         (org-agenda-marked-entries): New variable.
28837         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
28838         (org-agenda-remove-all-bulk-action-marks)
28839         (org-agenda-bulk-action): New functions/commands.
28841 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28843         * org-exp.el (org-get-file-contents): Protect org-like lines in
28844         included files.
28845         (org-export-format-source-code-or-example): Remove newlines.
28847         * org-latex.el (org-export-latex-links): Check for no-description
28848         marking.
28850         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
28851         argument separator back to comma.
28852         (org-export-normalize-links): Mark links without description.
28854 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28856         * org-exp.el (org-infile-export-plist): Fix bug in macro
28857         processing.
28859         * org-agenda.el (org-agenda-clock-out): Update line after clocking
28860         out.
28861         (org-agenda-highlight-todo): Fix bug with highlighting.
28863 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28865         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
28866         new alignment strings.
28868         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
28869         command list.
28870         (org-table-align): Check for forced align type.
28872         * org.el (org-self-insert-command): Add yas/expand to command
28873         list.
28875         * org-clock.el (org-clock-in-hook): New hook.
28876         (org-clock-in): Run `org-clock-in-hook.
28877         (org-clock-out-hook): New hook.
28878         (org-clock-out): Run `org-clock-out-hook.
28879         (org-clock-cancel-hook): New hook.
28880         (org-clock-cancel): Run `org-clock-cancel-hook.
28881         (org-clock-goto-hook): New hook.
28882         (org-clock-goto): Run `org-clock-goto-hook.
28884 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28886         * org.el (org-store-link): Better default description for link to
28887         Org-mode headline.
28889         * org-exp.el (org-export-generic): Autoload the generic exporter
28890         function.
28891         (org-export): Implement the `g' key for the generic exporter.
28893 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28895         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
28896         and for zbacktab'.
28898         * org-exp.el (org-infile-export-plist): Get macros also from
28899         #+SETUPFILE.
28901 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28903         * org-colview.el (org-columns-capture-view): Protect vertical bars
28904         in column values.
28905         (org-columns-capture-view): Exclude comment and archived trees.
28907         * org.el (org-quote-vert): New function.
28909         * org-latex.el (org-export-latex-verbatim-wrap): New option.
28911         * org-exp.el (org-export-format-source-code-or-example):
28912         Use `org-export-latex-verbatim-wrap'.
28914         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
28915         time stamps.
28917 2009-08-06  Eric Schulte  <schulte.eric@gmail.com>
28919         * org-exp-blocks.el: New file.
28921 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28923         * org-remember.el (org-remember-templates): Allow the headline
28924         element to be a function.
28925         (org-remember-apply-template): If the headline is a function, call
28926         it to get the true function.
28928         * org-clock.el (org-clock-menu): New function.
28929         (org-clock-update-mode-line): Update help string.
28930         (org-clock-modify-effort-estimate): New function.
28931         (org-clock-mark-default-task): New function.
28933         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
28934         minutes as input.
28935         (org-org-menu): Add new clocking stuff.
28936         (org-clock-is-active): New function.
28938 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28940         * org.el (org-open-non-existing-files): Improve docstring.
28942 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28944         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries):
28945         New option.
28946         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
28948         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
28950         * org-list.el (org-get-checkbox-statistics-face): Use the new
28951         faces.
28953         * org-faces.el (org-checkbox-statistics-todo)
28954         (org-checkbox-statistics-done): New faces.
28956 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28958         * org-latex.el (org-export-latex-use-verb): New variable.
28959         (org-export-latex-emph-format): Prefer \texttt over \verb when
28960         org-export-latex-use-verb is set.
28962 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28964         * org-remember.el (org-remember-handler): Abort remember if the
28965         buffer is empty.
28967         * org-exp.el (org-export-format-source-code-or-example):
28968         Run `org-src-mode-hook'.
28970 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28972         * org.el (org-indent-line-function): Fix indentation of +#end lines.
28974 2009-08-06  Tassilo Horn  <tassilo@member.fsf.org>
28976         * org-gnus.el (org-gnus-store-link): Require message.el in
28977         org-gnus-store-link.
28979 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28981         * org-src.el: New file, split out of org.el.
28983         * org-macs.el (org-replace-match-keep-properties): New function.
28985         * org-exp.el (org-export-mark-blockquote-verse-center):
28986         Better preprocessing of center and quote and verse blocks.
28988         * org-list.el (org-list-end): Respect the stored "original"
28989         indentation when determining the end of the list.
28991         * org-exp.el (org-export-replace-src-segments-and-examples):
28992         Remember indentation correctly.
28994 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28996         * org-clock.el (org-clock-update-mode-line): Apply face
28997         org-mode-line-clock.
28999         * org-faces.el (org-mode-line-clock): New face.
29001 2009-08-06  Tassilo Horn  <tassilo@member.fsf.org>
29003         * org-gnus.el (org-gnus-store-link): Fix bug where
29004         `org-gnus-store-link' used wrong subject when called in an article
29005         buffer.  Patch provided by fengli AT gmail DOT com.
29007 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29009         * org-exp.el (org-export-format-source-code-or-example):
29010         Remember the original indentation of source code snippets and examples.
29012         * org-latex.el (org-export-as-latex): Relocate the table of
29013         contents.
29015         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
29017         * org-agenda.el (org-run-agenda-series): Scope global options also
29018         when creating the agenda buffer.
29020 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29022         * org.el (org-adapt-indentation): Improve documentation.
29023         (org-insert-property-drawer): Respect org-adapt-indentation when
29024         inserting the drawer.
29025         (org-remove-flyspell-overlays-in): New function.
29026         (org-do-emphasis-faces, org-activate-plain-links)
29027         (org-activate-code, org-fontify-meta-lines-and-blocks)
29028         (org-activate-angle-links, org-activate-footnote-links)
29029         (org-activate-bracket-links, org-activate-dates)
29030         (org-activate-target-links, org-activate-tags): Remove flyspell
29031         overlays.
29033 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29035         * org.el (org-edit-src-save): New function.
29037         * org-clock.el (org-clock-out-switch-to-state): New option.
29038         (org-clock-out): Honor `org-clock-out-switch-to-state'.
29040         * org-compat.el (org-compatible-face): Improve macro.
29042         * org.el (org-global-properties-fixed): Add default for
29043         CLOCK_MODELINE_TOTAL.
29045         * org-clock.el (org-clock-sum): Accept lists and strings as tstart
29046         and tend.
29047         (org-clock-sum-current-item): Optional argument TSTART, pass it to
29048         org-clock-sum.
29049         (org-clock-get-sum-start): New function.
29051         * org.el (org-startup-options): New keywords blockhide and
29052         blockshow.
29053         (org-mode): Add new invisibility spec.
29054         (org-set-startup-visibility): Hide block on startup if so
29055         desired.
29056         (org-hide-block-startup): New option.
29057         (org-block-regexp): New constant.
29058         (org-hide-block-overlays): New variable.
29059         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
29060         (org-show-block-all, org-hide-block-toggle-maybe)
29061         (org-hide-block-toggle): New functions.
29062         (org-edit-src-exit): Do not quote lines starting with # and no +
29063         behind it.
29064         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
29065         entry.
29067 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29069         * org.el (org-buffer-property-keys): Add Effort property for
29070         completion.
29072 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29074         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
29075         when retrieving total clocked time in the subtree.
29077         * org.el (org-quoting-blocks): New variable.
29079 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29081         * org-table.el (org-table-store-formulas)
29082         (org-table-get-stored-formulas, org-table-fix-formulas)
29083         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
29084         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
29086         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c):
29087         Allow indented #+TBLFM line.
29089         * org-footnote.el (org-footnote-goto-local-insertion-point):
29090         Allow indented #+TBLFM line.
29092         * org-colview.el (org-dblock-write:columnview): Allow indented
29093         #+TBLFM line.
29095         * org-clock.el (org-dblock-write:clocktable): Allow indented
29096         #+TBLFM line.
29098 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29100         * org-exp.el (org-export-format-source-code-or-example):
29101         Make editing indented blocks work correctly.
29103         * org.el (org-edit-src-nindent): New variable.
29104         (org-edit-src-code, org-edit-fixed-width-region)
29105         (org-edit-src-find-region-and-lang, org-edit-src-exit):
29106         Make editing indented blocks work correctly.
29108 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29110         * org-exp.el (org-export-replace-src-segments-and-examples):
29111         Find indented blocks.
29112         (org-export-format-source-code-or-example): Fix indentation of
29113         blocks.
29114         (org-export-remove-indentation): New function.
29115         (org-export-select-backend-specific-text): Allow backend-specific
29116         code to be indented.
29117         (org-export-mark-blockquote-verse-center): Allow markers to be
29118         indented.
29120         * org.el (org-fontify-meta-lines): New function.
29121         (org-set-font-lock-defaults): Call the new fontification
29122         function.
29124         * org-faces.el (org-meta-line): New face.
29125         (org-block): New face.
29127 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29129         * org.el (org-treat-insert-todo-heading-as-state-change)
29130         (org-treat-S-cursor-todo-selection-as-state-change):
29131         New variables.
29132         (org-insert-todo-heading):
29133         Honor `org-treat-insert-todo-heading-as-state-change'.
29134         (org-shiftright, org-shiftleft):
29135         Honor `org-treat-S-cursor-todo-selection-as-state-change'.
29136         (org-inhibit-logging): New variable.
29138 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29140         * org-agenda.el (org-remove-subtree-entries-from-agenda):
29141         Reduce range for marker position checking.
29143         * org-latex.el (org-export-latex-first-lines): Fix bug when
29144         exporting a region.
29146 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29148         * org-exp.el (org-export-push-to-kill-ring): Protect using
29149         x-set-selection, because that does not always work.
29151         * org-agenda.el (org-agenda-list): Apply the new face
29152         `org-agenda-date-today'.
29154         * org-faces.el (org-agenda-date-today): New face.
29156 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29158         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
29159         creating appointments.
29161         * org-latex.el (org-export-latex-low-levels): Fix customization
29162         type.
29164         * org.el (org-priority, org-shiftup, org-shiftdown):
29165         Disable priority commands.
29167         * org-agenda.el (org-agenda-priority): Disable priority commands.
29169         * org.el (org-enable-priority-commands): New option.
29171         * org-colview.el (org-columns-compute)
29172         (org-columns-number-to-string): Fix problems with empty fields.
29174         * org-exp.el (org-export-push-to-kill-ring): New function.
29175         (org-export-copy-to-kill-ring): New option.
29177         * org-latex.el (org-export-as-latex):
29178         Call `org-export-push-to-kill-ring'.
29180         * org-exp.el (org-export-show-temporary-export-buffer):
29181         New option.
29183         * org-latex.el (org-export-as-latex):
29184         Use `org-export-show-temporary-export-buffer'.
29186         * org-exp.el (org-export-show-temporary-export-buffer):
29187         New option.
29188         (org-export-push-to-kill-ring): New function.
29190         * org-colview.el (org-columns-compile-map): New variable.
29191         (org-columns-new, org-columns-compute)
29192         (org-columns-number-to-string, org-columns-uncompile-format)
29193         (org-columns-compile-format): Implement new operators.
29195 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29197         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
29199         * org-list.el (org-update-checkbox-count): Make property
29200         dependent.
29202         * org.el (org-hierarchical-todo-statistics): New option.
29203         (org-update-parent-todo-statistics): Modify to handle recursive
29204         statistics.
29206 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29208         * org-publish.el (org-publish): Make this function behave
29209         correctly in interactive use when called with a prefix argument.
29211         * org.el (org-todo-statistics-hook): New hook.
29212         (org-update-parent-todo-statistics): Use new hook.
29213         (org-log-into-drawer): New function.
29214         (org-add-log-setup): Use the new `org-log-into-drawer' function to
29215         determine if we should be logging into a drawer.
29216         (org-log-into-drawer): Update docstring.
29217         (org-default-properties): Add LOG_INTO_DRAWER as a property.
29219         * org-list.el (org-checkbox-statistics-hook): New hook.
29220         (org-update-checkbox-count-maybe): Use new hook.
29222 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29224         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
29225         better buffer-generating mechanism.
29226         (org-edit-src-find-buffer): New function.
29228         * org-icalendar.el (org-print-icalendar-entries): Don't check for
29229         archive tag, this is already done by `org-agenda-skip'.
29230         data while constructing lost of tags.
29232 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29234         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
29235         as argument separator in macros.
29237 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29239         * org.el (org-after-sorting-entries-or-items-hook): New hook.
29240         (org-sort-entries-or-items): Run the new hook.
29241         (org-after-refile-insert-hook): New hook.
29242         (org-refile): Run `org-after-refile-insert-hook'.
29244         * org-agenda.el (org-agenda-get-progress): Never take time of day
29245         from headline when displaying progress.
29247         * org-latex.el (org-export-latex-complex-heading-re): New variable.
29248         (org-export-as-latex): Force the correct regexp in the
29249         preprocessor buffer.
29250         (org-export-latex-set-initial-vars):
29251         Set `org-export-latex-complex-heading-re'.
29253         * org-agenda.el (org-agenda-start-with-log-mode): New option.
29254         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
29256 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29258         * org-latex.el (org-export-latex-tables-centered): New option.
29259         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
29261         * org-exp.el (org-export-as-org): New command.
29262         (org-export-as-org): New command.
29264         * org-publish.el (org-publish-org-to-org): New function.
29266 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29268         * org.el (org-yank): Just call `org-yank-generic'.
29269         (org-yank-generic): New function, containing the formaer
29270         functionality of `org-yank'.
29272         * org-latex.el (org-export-latex-not-done-keywords)
29273         (org-export-latex-done-keywords): New variables.
29274         (org-export-latex-todo-keyword-markup): New option.
29275         (org-export-latex-set-initial-vars): Remember the TODO keywords.
29276         (org-export-latex-keywords-maybe): Apply the TODO markup.
29278 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29280         * org-exp.el (org-infile-export-plist): Add more default macros.
29281         (org-export-preprocess-apply-macros): Process macro arguments.
29283 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29285         * org-icalendar.el (org-icalendar-include-todo): New allowed value
29286         `unblocked'.
29287         (org-print-icalendar-entries): Respect the new value of
29288         `org-icalendar-include-todo'.
29290         * org.el (org-link-try-special-completion)
29291         (org-file-complete-link): New functions.
29292         (org-insert-link): Add special completion support for some link
29293         types.
29295         * org-bbdb.el (org-bbdb-complete-link): New function.
29297 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29299         * org-list.el (org-update-checkbox-count): Allow recursive
29300         statistics.
29301         (org-hierarchical-checkbox-statistics): New option.
29303         * org.el (org-cycle): Remove erraneous space character.
29305         * org-icalendar.el (org-icalendar-timezone): Initialize from
29306         environment.
29308 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29310         * org.el (org-autoload): Fix autoloading of ascii export
29311         functions.
29312         (org-modules): Add org-special-blocks.
29314 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29316         * org-icalendar.el (org-start-icalendar-file): Use the new option.
29317         (org-ical-timezone): New option.
29319         * org-exp.el (org-export-get-coderef-format): Use the description
29320         is present.
29322         * org.el (org-sort-entries-or-items): Improve docstring, and make
29323         better implementation for time sorting.
29325 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29327         * org.el (org-edit-src-persistent-message): New option.
29328         (org-edit-src-code, org-edit-fixed-width-region): Use the new
29329         option.
29331         * org-clock.el (org-clock-insert-selection-line): Fix prefious
29332         patch.
29334         * org.el (org-edit-src-code, org-edit-fixed-width-region):
29335         Use separate buffer instead of indirect buffer to edit source code.
29336         (org-edit-src-exit): Make this function work with the new setup.
29338         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
29339         are properly fontified before shown in the selection menu.
29341         * org.el (org-fontify-like-in-org-mode): New function.
29343         * org-latex.el (org-export-latex-links): Use the property list to
29344         retrieve the default image attributes.
29346         * org-exp.el (org-export-plist-vars): Add a new option.
29348 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29350         * org-exp.el (org-export, org-export-visible): Support ASCII
29351         export to buffer.
29352         (org-export-normalize-links): Do not protect the description if it
29353         is explicitly given.
29355         * org-list.el (org-reset-checkbox-state-subtree): Move here from
29356         org-checklist.el.
29357         (org-reset-checkbox-state-subtree):
29358         Call `org-reset-checkbox-state-subtree'.
29360         * org-remember.el (org-select-remember-template): For the
29361         selection of a valid template.
29363         * org-latex.el (org-export-region-as-latex): Supply the
29364         force-no-subtree argument.
29365         (org-export-as-latex): Provide better limits when exporting the
29366         first line.  When exporting to string, we still want the first
29367         lines.
29368         (org-export-latex-first-lines): New argument END, to force the end
29369         of the region.
29370         (org-export-region-as-latex): Use the property list.
29371         (org-export-as-latex): ????
29373 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29375         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
29376         (org-export-latex-preprocess): Run the new hook.
29378         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
29379         (org-export-preprocess-string): Run the new hook.
29381 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29383         * org-macs.el (org-check-external-command): New defsubst.
29385         * org.el (org-mode-map): New key for reload.
29386         (org-format-latex): Better error message when external programs
29387         are not available.
29389         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
29391         * org.el (org-sort-entries-or-items): Explicit sorting function
29392         for priorities, needed for XEmacs compatibility.
29394         * org-remember.el (org-remember-apply-template): Improve auto-save
29395         behavior.
29397 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29399         * org-latex.el (org-export-latex-preprocess): Also protect
29400         environments ending in a star.
29402         * org-list.el (org-at-item-p): Fix regular expression.
29404 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29406         * org.el (org-end-of-subtree): Improve speed.
29408         * org-agenda.el (org-agenda-get-timestamps)
29409         (org-agenda-get-progress, org-agenda-get-deadlines)
29410         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
29411         in particular, wait as long as possible to collect the tags.
29412         (org-stuck-projects): Improve docstring.
29414         * org.el (org-store-link): No errors when getting custom id before
29415         first headline.
29416         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
29418 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29420         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
29422         * org-protocol.el: Remove dependency on url.el.
29423         (org-protocol-unhex-compound, org-protocol-open-source):
29424         Remove dependency on url.el.
29426         * org-latex.el (org-export-as-pdf):
29427         Use `org-latex-to-pdf-process'.
29429 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29431         * org-latex.el (org-latex-to-pdf-process): New option.
29433         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
29434         New option.
29435         (org-agenda-get-timestamps):
29436         Honor `org-agenda-skip-additional-timestamps-same-entry'.
29438         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
29439         (org-clock-goto): Find recent task only if
29440         `org-clock-goto-may-find-recent-task' allows it.
29442         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
29443         drawers, and drawers that are missing the :END: line.
29445 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29447         * org-clock.el (org-clock-goto): Go to recently clocked task if no
29448         clock is running.
29450 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29452         * org.el (org-update-parent-todo-statistics): Check for
29453         STATISTICS_FROM property.
29455         * org-list.el (org-update-checkbox-count): Check for
29456         STATISTICS_FROM property.
29458         * org.el (org-tab-first-hook)
29459         (org-tab-after-check-for-table-hook)
29460         (org-tab-after-check-for-cycling-hook): New hooks.
29461         (org-cycle-internal-global, org-cycle-internal-local):
29462         New functions, split out from `org-cycle'.
29463         (org-cycle): Call the new hooks.
29465 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29467         * org-exp.el (org-export-preprocess-string): Reset the list of
29468         preferred targets for each run of the preprocessor.
29470         * org.el (org-refile-target-verify-function):
29471         Improve documentation.
29472         (org-get-refile-targets): Respect point being moved by the
29473         verification function.
29475         * org-latex.el (org-export-latex-timestamp-keyword-markup):
29476         New option.
29477         (org-export-latex-keywords): Use new option.
29479         * org.el (org-rear-nonsticky-at): New defsubst.
29480         (org-activate-plain-links, org-activate-angle-links)
29481         (org-activate-footnote-links, org-activate-bracket-links)
29482         (org-activate-dates, org-activate-target-links)
29483         (org-activate-tags): Place the rear-nonsticky properties at the
29484         correct location.
29486 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29488         * org-protocol.el (server-edit): Declare `server-edit'.
29489         (org-protocol-unhex-string, org-protocol-unhex-compound):
29490         New functions.
29491         (org-protocol-check-filename-for-protocol): Call `server-edit'.
29493         * org.el (org-default-properties): New default properteis for
29494         completion.
29496         * org-exp.el (org-export-add-subtree-options): Add new properties
29497         for subtree export.
29499 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29501         * org-id.el (org-id-get-with-outline-path-completion): Turn off
29502         org-refile-target-verify-function for the duration of the command.
29504         * org.el (org-link-to-org-use-id): New possible value
29505         `create-if-interactive-and-no-custom-id'.
29506         (org-store-link): Use custom IDs.
29507         (org-link-search): Find custom ID properties from #link.
29508         (org-default-properties): Add CUSTOM_ID for property completion.
29509         (org-refile-target-verify-function): New option.
29510         (org-goto): Turn off org-refile-target-verify-function
29511         for the duration of the command.
29513 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29515         * org-exp.el (org-export-preferred-target-alist): New variable.
29516         (org-export-define-heading-targets): Find the new CUSTOM_ID
29517         property.
29518         (org-export-target-internal-links): Target the custom ids when
29519         possible.
29521         * org-latex.el (org-export-latex-preprocess): Better regexp for
29522         matching latex macros with arguments.
29524 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29526         * org-remember.el (org-remember-handler): Allow filing to non-org
29527         files.
29529 2009-08-06  Magnus Henoch  <magnus.henoch@gmail.com>
29531         * org-table.el (org-table-fix-formulas): Do not change references
29532         to remote tables.
29533         (org-table-get-remote-range): Convert standard coordinates to RC
29534         format.
29536         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
29538 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29540         * org-compat.el (org-sha1-string): Function removed.
29542         * org.el (org-refile-allow-creating-parent-nodes): New option.
29543         (org-refile-get-location): New argument NEW-NODES.
29544         (org-refile): Call `org-refile-get-location' with the new
29545         argument.
29546         (org-refile-get-location): Arrange for adding a new child.
29547         (org-refile-new-child): New function.
29549         * org-clock.el: Fix a number of docstrings.
29550         (org-clock-find-position): New argument
29551         FIND-UNCLOSED to make the function find an unclosed clock in the
29552         entry.
29553         (org-clock-in): Call `org-clock-find-position' with the new
29554         argument if we might be resuming a clock.
29556 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29558         * org-latex.el (org-export-latex-display-custom-times): New variable.
29559         (org-export-latex-timestamp-markup): New option.
29560         (org-export-latex-set-initial-vars): Remember the local value of
29561         `org-display-custom-times'.
29562         (org-export-latex-content): Process time stamps.
29563         (org-export-latex-time-stamps): New function.
29565         * org-macs.el (org-maybe-intangible): Add intangible property
29566         again to invisible text.
29568 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29570         * org-exp.el (org-default-export-plist): Handle undefined
29571         variables.
29573 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29575         * org.el (org-sort-entries-or-items): Match TODO keywords
29576         case-sensitively, when sorting.
29577         (org-priority): Do not match TODO keywords with wrong case.
29579 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29581         * org.el (org-todo): Honor the NOBLOCKING property.
29583         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
29584         NOBLOCKING property.
29586         * org.el (org-scan-tags): Fix bug in tag scanner.
29588 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29590         * org.el (org-modules): Mark obsolete packages.
29592         * org-html.el: New file, split out from org-exp.el.
29594         * org-icalendar.el: New file, split out from org-exp.el.
29596         * org-xoxo.el: New file, split out from org-exp.el.
29598         * org-ascii.el: New file, split out from org-exp.el.
29600 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29602         * org-compat.el (org-find-library-name): New function.
29604         * org.el (org-pre-cycle-hook): New hook.
29605         (org-cycle): Call the new hook in appropriate places.
29606         (org-reload): Only reload files that have been loaded before.
29608 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29610         * org.el (org-set-font-lock-defaults): Enforxe space or line end
29611         after todo keyword.
29612         (org-todo): When changing TODO state, do matching
29613         case-sensitively.
29614         (org-map-continue-from): New variable.
29615         (org-scan-tags): Respect values in `org-map-continue-from'.
29616         (org-reload): Make XEmacs compatible.
29618 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29620         * org-protocol.el (org-protocol-flatten-greedy): New function.
29621         (org-protocol-flatten): New function.
29623         * org.el (org-open-link-from-string): Pass reference buffer to
29624         `org-open-at-point'.
29625         (org-open-at-point): New optional argument `reference-buffer'.
29627 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29629         * org.el (org-scan-tags): Make tag scan find headline in first
29630         line, 2nd attempt.
29631         (org-get-refile-targets): Add the naked file name.
29632         (org-refile): Store as top-level entry when only file name was
29633         given.
29635         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
29637         * org.el (org-block-todo-from-children-or-siblings-or-parent):
29638         Rename from org-block-todo-from-children-or-siblings, and
29639         enhanced to look for the parent's status as well.
29641         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
29642         (org-agenda-get-progress): Add first notes line to log entry if so
29643         desired.
29645 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29647         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
29648         (org-agenda-cleanup-fancy-diary): Call the new hook.
29650         * org-remember.el (org-remember-apply-template): Take the default
29651         for the annotation from the :annotation property.
29653         * org-mac-message.el (org-mac-message-get-link): Remove the
29654         quotes.
29655         (org-mac-message-get-link): Return the result.
29657 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29659         * org.el (org-refile-get-location): Add file name only if not
29660         already included in outline path.
29662         * org-faces.el (org-n-level-faces): Fix customization type from
29663         number to integer.
29665         * org-exp.el (org-export-headline-levels): Fix customization type
29666         from number to integer.
29668         * org-agenda.el (org-agenda-confirm-kill)
29669         (org-agenda-custom-commands-local-options)
29670         (org-timeline-show-empty-dates, org-agenda-ndays)
29671         (org-agenda-start-on-weekday, org-scheduled-past-days):
29672         Fix customization type from number to integer.
29674 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29676         * org-protocol.el: Declare some functions.
29678         * org-agenda.el (org-agenda-compare-effort):
29679         Honor `org-sort-agenda-noeffort-is-high'.
29680         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
29681         (org-agenda-compare-effort): Implement the "?" operator for
29682         finding entries without effort setting.
29684         * org.el (org-extract-attributes-from-string): New function.
29686         * org-exp.el (org-export-splice-attributes): New function.
29688 2009-08-06  Bastien Guerry  <bzg@gnu.org>
29689         Daniel M German  <dmg@uvic.org>
29690         Sebastian Rose  <sebastian_rose@gmx.de>
29691         Ross Patterson  <me@rpatterson.net>
29693         * org-protocol.el: New file.
29695 2009-08-06  Baoqiu Cui  <cbaoqiu@yahoo.com>
29697         * org-docbook.el: New file.
29699 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29701         * org-mouse.el: XEmacs compatibility fixes.
29703         * org.el (org-modules): Add org-inlinetasks.el.
29704         (org-cycle): Implement limiting level on cycling.
29705         (org-move-subtree-down): Fix bug with swapping subtrees at end of
29706         buffer.
29708         * org-inlinetask.el: New file.
29710         * org.el (org-emphasis-regexp-components): Allow braces in
29711         emphasis pre and post match.
29713         * org-footnote.el (org-footnote-normalize): When only sorting, do
29714         not insert inline notes at the end.
29716         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
29718 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29720         * org.el (org-reftex-citation): New command.
29722 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29724         * org-agenda.el (org-agenda-cmp-user-defined): New option.
29725         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
29726         sorting options.
29727         (org-entries-lessp): Apply the new sorting option.
29729         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
29730         blocker code, when an older sibling has children.
29732         * org-mac-message.el (org-mac-message-get-link): Improve getting
29733         links from multiple selected messages.
29735 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29737         * org-remember.el (org-remember-finalize): Do not set buffer file
29738         name to nil.
29739         (org-remember-handler): Mark buffer as unmodified.
29740         (org-remember-handler): Delete backup file and show message about
29741         remaining backup files.
29742         (org-remember-auto-remove-backup-files): New option.
29744         * org.el (org-store-link): Use buffer name as link description in
29745         w3-mode buffers.
29746         (org-ido-switchb): Fix argument bug for completion.
29748         * org-remember.el (org-remember-apply-template): Set local
29749         variable `auto-save-visited-file-name' instead of global one.
29751 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29753         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
29754         (org-agenda-get-todos): Mark file tags as inherited.
29755         (org-agenda-list): Always search diary lines for a time.
29757 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29759         * org-feed.el: New file.
29761         * org-exp.el (org-export-as-html): Close local lists depending on
29762         indentation, also when starting a table.
29764         * org-remember.el (org-remember-backup-directory)
29765         (org-remember-backup-name): New internal variable.
29767 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29769         * org-clock.el (org-clock-out-if-current): Make buffer detection
29770         work in indirect buffers as well.
29772         * org.el (org-emphasis-regexp-components): Add the exxclamation
29773         mark to the post-emphasis characters.
29775 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29777         * org.el (org-read-date-minibiffer-septup-hook): New hook.
29778         (org-read-date): Run the new hook.
29780         * org-mac-message.el (org-mac-flagged-mail): New group.
29781         (org-mac-mail-account): New variable.
29782         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail):
29783         New commands.
29785         * org-remember.el (org-remember-backup-directory): New variable.
29786         (org-remember-apply-template): Write file to backup directory.
29788 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29790         * org-mouse.el (org-mouse-todo-menu): New function.
29791         (org-mouse-todo-keywords): Function removed.
29792         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
29794         * org-table.el (org-table-beginning-of-field)
29795         (org-table-end-of-field): New commands.
29796         (org-table-previous-field, org-table-beginning-of-field):
29797         Better error messages.
29798         (orgtbl-setup): Include `M-a' and `M-e'.
29800         * org.el (org-backward-sentence, org-forward-sentence):
29801         New commands.
29803         * org-colview.el (org-colview-initial-truncate-line-value):
29804         New variable.
29805         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
29806         (org-columns): Remember the value of `truncate-lines'.
29808         * org.el (org-columns-skip-arrchived-trees): New option.
29810         * org-agenda.el (org-agenda-export-html-style): Define color for
29811         org-agenda-done face.
29812         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
29813         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
29815         * org.el (org-scan-tags): Use the new face.
29817         * org-faces.el (org-agenda-done): New face.
29819         * org.el (org-scan-tags): Test the value org
29820         `org-tags-match-list-sublevels'.
29821         (org-tags-match-list-sublevels): New allowed value: indented.
29823         * org-latex.el (org-export-latex-make-header): Apply macros
29824         in header.
29826         * org-exp.el (org-export-apply-macros-in-string): New function.
29828         * org-latex.el (org-export-latex-list-parameters): Fix bug
29829         with the definition of a checked box.
29831         * org-clock.el (org-clock-find-position): Fix drawer indentations.
29833         * org-latex.el (org-export-latex-low-levels): More options
29834         for how to process lower levels in LaTeX.
29835         (org-export-latex-subcontent): Better treatment for lists as a
29836         means of publishing lower levels.
29838 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29840         * org.el (org-set-font-lock-defaults): Use new checkbox face.
29842         * org-faces.el (org-checkbox): New face.
29844         * org-exp.el (org-export-html-preprocess): Only create LaTeX
29845         fragement images if there is an export file.
29847 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29849         * org-agenda.el (org-stuck-projects): Document that the subtree of
29850         projects that are not stuck will now be searched for stuck
29851         sub-projects.
29852         (org-agenda-skip-entry-when-regexp-matches)
29853         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
29854         (org-agenda-list-stuck-projects):
29855         Use `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
29857         * org-latex.el (org-export-latex-preprocess):
29858         Improve export of verses.
29860         * org-exp.el (org-export-as-html): Implement centering as a div
29861         rather than a paragraph.  Do a better job with line-end in verse
29862         environments.
29864 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29866         * org.el (org-open-at-point): Fix tags searches by mouse click.
29868 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29870         * org-latex.el (org-export-latex-preprocess): Implement the
29871         centering markup.
29873         * org-exp.el (org-export-mark-blockquote-verse-center):
29874         Rename from `org-export-mark-blockquote-and-verse'.
29875         (org-export-as-html): Implement the centering markup.
29877         * org-latex.el (org-export-latex-tables): Fix vertical
29878         lines in tables.
29880 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29882         * org.el (org-read-date-history): New variable.
29883         (org-read-date): Use new history variable.
29884         (org-toggle-heading): Fix bug when used before first headline.
29885         (org-store-log-note): Remove drawer if empty while note is
29886         aborted.
29887         (org-remove-empty-drawer-at): New function.
29888         (org-check-after-date): New command.
29889         (org-sparse-tree): New sparse tree command "a".
29891         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
29893 2009-08-06  Bastien Guerry  <bzg@gnu.org>
29895         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
29896         column and a space, not only a column.
29898 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29900         * org-latex.el (org-export-latex-emphasis-alist):
29901         Better defaults for verbose emphasis.
29902         (org-export-latex-emph-format): New function.
29903         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
29905         * org-agenda.el (org-agenda-menu): Add new commands to menu.
29906         (org-agenda-do-date-later, org-agenda-do-date-earlier)
29907         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
29908         (org-agenda-date-later-hours, org-agenda-date-earlier-hours):
29909         New commands.
29911         * org.el (org-timestamp-change): Move end-time along with start
29912         time.
29914 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29916         * org-exp.el (org-export-target-internal-links)
29917         (org-export-as-html): Protect links specified as #name.
29919 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29921         * org.el (org-clone-subtree-with-time-shift): New command.
29923         * org-latex.el (org-export-latex-special-chars)
29924         (org-export-latex-treat-sub-super-char): Fix subscript export.
29926         * org-exp.el (org-create-multibrace-regexp): Do not add
29927         backslashes to the class.
29929 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29931         * org-colview.el (org-columns-map): Better functions for moving up
29932         and down a row, even if `truncate-line' is nil.
29934         * org.el (org-insert-todo-heading): Make sure the keyword is
29935         inserted at the correct position.
29937         * org-publish.el (org-publish-project-alist)
29938         (org-publish-projects, org-publish-org-index): Change default anme
29939         for the index of file names to "sitemap.org".
29941         * org-latex.el (org-export-latex-tables):
29942         Use `org-split-string', for Emacs 21 compatibility.
29944 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29946         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
29948 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29950         * org-exp.el (org-export-page-description)
29951         (org-export-page-keywords): New variables.
29952         (org-export-plist-vars): Add entries for :keywords and
29953         :description.
29954         (org-infile-export-plist): Parse for new keywords.
29955         (org-get-current-options): Add new keywords.
29956         (org-export-as-html): Publish description and keywords.
29958         * org-agenda.el (org-agenda-add-entry-text-descriptive-links):
29959         New option.
29960         (org-agenda-add-entry-text):
29961         Honor `org-agenda-add-entry-text-descriptive-links'.
29963         * org-latex.el (org-export-latex-preprocess): Make all
29964         external preprocess functions use a PARAMETER arg.
29966         * org-exp.el (org-export-preprocess-string)
29967         (org-export-select-backend-specific-text)
29968         (org-export-format-source-code-or-example)
29969         (org-format-org-table-html): Support docbook export.
29970         (org-export-preprocess-string): Make all external preprocess
29971         functions use a PARAMETER arg.
29973 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29975         * org-exp.el (org-export-html-style-include-scripts): New option.
29976         (org-export-plist-vars): Add new option
29977         `org-export-html-style-include-scripts'.
29978         (org-export-as-html): Honor new option
29979         `org-export-html-style-include-scripts'.
29980         (org-export-html-scripts, org-export-html-style-default):
29981         Fix xml issues with the Safari browser.
29983 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29985         * org-publish.el (org-publish-attachment): Only copy file when the
29986         directories differ.
29988 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29990         * org-clock.el (org-clocktable-steps): Use inactive time stamps
29991         for clocktable steps.
29993         * org.el (org-additional-option-like-keywords): Add two more
29994         keywords.
29996 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
29998         * org-exp.el (org-export-format-source-code-or-example):
29999         Mark temporary buffer unmodified, so that it will be killed even if
30000         mode like message mode has decided to assign a file name.
30002         * org.el (org-scan-tags): Improve tag inheritance.
30003         (org-scan-tags, org-make-tags-matcher): Make tag comparison
30004         case-sensitive.
30005         (org-scan-tags): Use the internal tags list instead of creating it
30006         from scratch.
30007         (org-trust-scanner-tags, org-scanner-tags): New variables.
30008         (org-scan-tags): Set `org-scanner-tags'.
30009         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
30010         (org-map-entries): Document the possible speedup using scanner
30011         tags.
30013 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30015         * org.el (org-add-planning-info): Fix bug with looking for keyword
30016         only at column 0.
30018         * org-agenda.el (org-agenda-custom-commands-local-options):
30019         Add option for tags filter preset.
30020         (org-prepare-agenda): Store filter preset as a property on the
30021         filter variable.
30022         (org-finalize-agenda): Call the filter, if there is a preset.
30023         (org-agenda-filter-by-tag): Filter again after clearing the
30024         filter, when there still is a preset.
30025         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
30026         Include the preset filter.
30027         (org-agenda-redo): Apply the filter again, also the preset filter.
30029         * org-exp.el (org-export-as-html): Use IDs in the correct way.
30031         * org.el (org-uuidgen-p): New function.
30033         * org-agenda.el (org-agenda-fontify-priorities): New default value
30034         `cookies'.
30035         (org-agenda-fontify-priorities): Rename from
30036         org-fontify-priorities.
30038         * org.el (org-set-font-lock-defaults):
30039         Call `org-font-lock-add-priority-faces'.
30040         (org-font-lock-add-priority-faces): New function.
30042         * org-faces.el (org-set-tag-faces): New option.
30043         (org-priority-faces): New variable.
30045         * org-exp.el (org-export-as-html): Add a "content" div around the
30046         entire content of the body tag.
30047         (org-export-html-get-bibliography): New function.
30048         (org-export-html-validation-link): New variable.
30049         (org-export-as-html): Add validation link to exported page.
30051         * org.el (org-match-sparse-tree): Rename from
30052         `org-tags-sparse-tree'.
30053         (org-tags-sparse-tree): New alias.
30055 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30057         * org.el (org-get-valid-level): Catch the case where the level
30058         change is nil.
30060         * org-clock.el (org-clock-find-position): Better indentation of
30061         new clock drawers.
30063 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30065         * org-agenda.el (org-agenda-quit): Delete window only when the
30066         frame-setup was not `current-window'.
30068         * org.el (org-tag-persistent-alist): New option.
30069         (org-startup-options): Add keyword `noptag'.
30070         (org-fast-todo-selection): Handle :newline correctly.
30071         (org-set-tags): Handle :newline correctly.
30072         (org-fast-tag-selection): Handle :newline correctly.
30074 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30076         * org-exp.el (org-export-as-ascii): Reverse link buffer before
30077         outputting it.
30078         (org-export-ascii-push-links): Fix bug with pussing links into the
30079         export buffer.
30081 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30083         * org-archive.el (org-archive-subtree): Do not add 1 to level if
30084         pasting at top level.
30086         * org-bbdb.el: Improve documentation.
30088 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30090         * org-list.el (org-insert-item): Only consider insert empty lines
30091         is `org-empty-line-terminates-plain-lists' is not nil.
30093         * org.el (org-blank-before-new-entry): Mention the dependence on
30094         `org-empty-line-terminates-plain-lists' in the docstring.
30096         * org-publish.el (org-publish-get-project-from-filename):
30097         New optional argument UP.  Only find the top project if UP is set.
30098         (org-publish-current-project): Find the top encloding project.
30100         * org-agenda.el (org-agenda-before-write-hook)
30101         (org-agenda-add-entry-text-maxlines): New options.
30102         (org-write-agenda): Run the new hook in the temporary buffer.
30103         (org-agenda-add-entry-text): New function.
30104         (org-write-agenda): Implement PDF export, using ps2pdf.
30106         * org.el (org-global-properties-fixed, org-global-properties):
30107         Improve documentation string.
30109         * org-exp.el (org-export-ascii-links-to-notes): New option.
30110         (org-export-as-ascii): Handle links better.
30111         (org-export-ascii-wrap, org-export-ascii-push-links):
30112         New functions.
30114 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30116         * org-agenda.el (org-agenda): Make prefix arg optional.
30117         (org-agenda-search-headline-for-time): New option.
30118         (org-format-agenda-item):
30119         Honor `org-agenda-search-headline-for-time'.
30121         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
30122         characters.
30124         * org.el (org-self-insert-cluster-for-undo): New option.
30125         (org-self-insert-command): Cluster undo for 20 characters.
30126         (org-self-insert-command-undo-counter): New variable.
30128 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30130         * org-exp.el (org-export-as-html): Fix problem with closing colone
30131         example.
30133 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30135         * org-latex.el (org-export-as-latex)
30136         (org-export-latex-first-lines): Avoid modification flag when
30137         adding or removing text properties.
30138         (org-export-latex-fontify): Catch error when org-emph-alist has
30139         entries that are not defined for LaTeX export.
30141         * org-export-latex.el: Rename to org-latex.el.
30143         * org-latex.el: Rename from org-export-latex.el.
30145         * org.el (orgstruct++-mode): New function.
30146         (turn-on-orgstruct++): Call `orgstruct++-mode'.
30147         (org-context-p): Allow detecting item context after the first line
30148         of an item.
30149         (orgstruct-make-binding): Detect if item-body context should be
30150         seen.
30151         (orgstruct-is-++): New variable.
30152         (org-add-planning-info): Catch the case when there is no planning
30153         info yet and the call does not want to add anything, only maybe
30154         tries to remove something.
30155         (org-special-ctrl-a/e): All value to be a cons cell with separate
30156         settings for `C-a' and `C-e'.
30157         (org-beginning-of-line, org-end-of-line): Honor separate values
30158         for `C-a' and `C-e'.
30160 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
30162         * org.el (org-reload): New command.
30164 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
30166         * org-gnus.el (org-gnus-store-link): Fix bug where
30167         org-gnus-store-link used wrong subject when called in an article
30168         buffer.  Patch provided by fengli AT gmail DOT com.
30170 2009-03-13  D. Goel  <deego3@gmail.com>
30172         * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
30173         replace ls by (values-list ls).
30175 2009-02-20  Carsten Dominik  <dominik@science.uva.nl>
30177         * org-remember.el (org-remember-apply-template): Turn off ido for
30178         this completion.
30180         * org.el (org-priority): Also find invisible headings, for remote
30181         editing.
30182         (org-completing-read-no-ido): New function.
30183         (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
30185         * org-colview.el (org-columns-edit-value): No special treatment of
30186         prefix arg.
30188 2009-02-19  Carsten Dominik  <dominik@science.uva.nl>
30190         * org.el (org-block-todo-from-children-or-siblings):
30191         Use `org-up-heading-all' so that this will work correctly with hidden
30192         property drawers and entries.
30193         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
30194         falling back to normal, default command.
30195         (org-get-location): Temporarily turn off special behavior.
30197 2009-02-13  Glenn Morris  <rgm@gnu.org>
30199         * org-rmail.el (rmail-show-message): Restore argument list to the
30200         declaration now that this functions behaves in Emacs 23 as in 22.
30202 2009-02-12  Glenn Morris  <rgm@gnu.org>
30204         * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
30206 2009-02-12  Joachim Reiter  <Reiter.Joachim@web.de>  (tiny change)
30208         * org-footnote.el (org-footnote-action): Fix doc typo.
30210 2009-02-06  Carsten Dominik  <dominik@science.uva.nl>
30212         * org-exp.el (org-export-preprocess-string): Fix bug with skipping
30213         text before first headline.
30214         (org-export-remove-or-extract-drawers): Fix regular expression for
30215         extracting drawers.
30217         * org.el (org-format-latex): Stop LaTeX fragment processing in
30218         protected examples.
30220 2009-02-05  Glenn Morris  <rgm@gnu.org>
30222         * org-rmail.el (rmail-show-message): Update declaration.
30223         (rmail-buffer, rmail-view-buffer): Declare.
30224         (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
30226 2009-02-04  Carsten Dominik  <dominik@science.uva.nl>
30228         * org.el (org-return-follows-link): Revert setting
30229         `org-return-follows-link' to t by default.
30231 2009-02-02  Carsten Dominik  <dominik@science.uva.nl>
30233         * org.el (org-cycle-global-at-bob): Fix typo.
30235         * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
30237 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
30239         * org.el (org-mode): Make dependence stuff work more reliably.
30240         (org-update-parent-todo-statistics): Fix bug with updating
30241         statistics cookie.
30242         (org-yank-adjusted-subtrees, org-return-follows-link)
30243         (org-use-fast-todo-selection, org-tags-column): New default
30244         setting for variables.
30246         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
30247         ~ as verbatim delimiters, to avoid table bug.
30248         (org-export-latex-classes): Remove the a4paper option from the
30249         default styles.
30251         * org-exp.el (org-export-html-format-image): New argument
30252         PAR-OPEN, to fix XHTM validation bug.
30253         (org-export-as-html): Pass par-open to
30254         `org-export-html-format-image'.
30255         (org-export-html-footnotes-section): Use a more consistent id for
30256         footnotes.
30258         * org-agenda.el (org-agenda-sorting-strategy)
30259         (org-agenda-tags-column): New default setting for variables, based
30260         on a poll what typical uses use.
30261         (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
30262         setting the blocked tag.
30264 2009-01-31  Carsten Dominik  <dominik@science.uva.nl>
30266         * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
30267         only checking for blocks.
30269         * org-exp.el (org-export-html-footnotes-section): Make the div id
30270         consistent.
30272         * org-export-latex.el (org-export-latex-classes):
30273         Remove paper size option from LaTeX classes.
30275 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
30277         * org.el (org-enforce-todo-checkbox-dependencies): New option.
30278         (org-block-todo-from-checkboxes): New function.
30279         (org-todo): Make triple prefix arg circumvent blocking.
30281 2009-01-30  Glenn Morris  <rgm@gnu.org>
30283         * org-list.el (org-empty-line-terminates-plain-lists)
30284         (org-toggle-checkbox): Doc fixes.
30286         * org-table.el (org-table-clean-before-export): Fix declaration.
30288 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
30290         * org-timer.el (org-timer): Provide the timer feature.
30292         * org.el (org-require-autoloaded-modules): Add a few more files to
30293         the list of autoloaded modules.
30295         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
30297         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
30298         drawers that are unprotected.
30299         (org-export-html-format-image): Make sure inlined LaTeX fragment
30300         images remain inlined.
30302         * org.el (org-toggle-ordered-property): New function.
30303         (org-mode-map): Add a key for `org-toggle-ordered-property'.
30304         (org-org-menu): Add menu entries for TODO dependencies.
30306         * org.el (org-default-properties): Add ORDERED to the default
30307         properties, to get completion support for it.
30309         * org-list.el (org-update-checkbox-count): Update more than one cookie.
30311         * org.el (org-update-parent-todo-statistics): Update more than one
30312         cookie.
30314 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
30316         * org-agenda.el (org-agenda-get-todos): Start search from correct
30317         position.
30319         * org.el (org-fast-todo-selection): Make sure TODO selection does
30320         not change buffer position.
30322         * org-list.el (org-toggle-checkbox): Implement adding or removing
30323         checkboxes from line or region when called with a prefix
30324         argument.
30326         * org-rmail.el (org-rmail-store-link): Protect the call to
30327         `rmail-narrow-to-non-pruned-header'.
30329         * org-clock.el (org-clock-special-range): Fix week display in
30330         clock tables.
30332         * org-exp.el (org-get-current-options): Fix bug when in indirect
30333         buffer.
30335         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
30336         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
30337         (org-agenda-dim-blocked-tasks): New function.
30339         * org.el (org-enforce-todo-dependencies): New option.
30340         (org-block-todo-from-children-or-siblings): New function.
30342         * org-faces.el (org-agenda-dimmed-todo-face): New face.
30344 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
30346         * org.el (org-todo): Return correct state type even if the blocker
30347         throws an error.
30348         (org-modifier-cursor-error): Rename from
30349         `org-shiftcursor-error'.
30350         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
30351         (org-shiftmetadown): Call `org-modifier-cursor-error'.
30353         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
30354         to get real errors from the blocker hook.
30356         * org.el (org-shiftselect-error, org-call-for-shift-select):
30357         New functions.
30358         (org-set-visibility-according-to-property): Turn off the setting
30359         of `org-show-entry-below', to avoid overruling a FOLDED visibility
30360         property.
30362         * org.el (org-support-shift-select): New option.
30363         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
30364         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
30365         selection outside contexts.
30367         * org-list.el (org-at-item-bullet-p): New function.
30369         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
30370         variables.
30372         * org-footnote.el (org-footnote-normalize): Remove unnecessary
30373         variable.
30374         (org-insert-footnote-reference-near-definition):
30375         Remove unnecessary let form.
30377 2009-01-26  Carsten Dominik  <dominik@science.uva.nl>
30379         * org-export-latex.el (org-export-as-latex):
30380         Call `org-export-latex-first-lines' with OPT-PLIST as a parameter.
30381         (org-export-latex-first-lines): New parameter OPT-PLIST.
30383         * org.el (org-yank): Tell `delete-selection-mode' about
30384         `org-yank'.
30386         * org-faces.el (org-clock-overlay): Fix face definition.
30388         * org-export-latex.el (org-export-latex-first-lines):
30389         Pass timestamp and footnote parameters to the preprocessor.
30391         * org-exp.el (org-export-remove-timestamps): Do not remove time
30392         stamps inside tables.
30394 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30396         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
30398         * org.el (org-agenda-tags-todo-honor-ignore-options):
30399         Declare variable.
30401         * org-table.el (org-table-insert-hline): Fix typo in function call
30402         to `backward-char'.
30404         * org-exp.el (org-export-as-html): Remove the initial space from
30405         colon examples.
30407         * org.el (org-scan-tags):
30408         Call `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
30410         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view):
30411         New customization groups.
30412         (org-agenda-tags-todo-honor-ignore-options): New option.
30413         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
30414         New function.
30415         (org-agenda-get-todos):
30416         Use `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
30418 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30420         * org-exp.el (org-export-format-source-code-or-example):
30421         Escape HTML characters also in examples that anre not treated with
30422         htmlize.  Also, just switch to EXAMPLE processing if we do not
30423         have a good version of htmlize.
30425         * org-rmail.el: Fix copyright notice.
30427         * org.el (org-activate-footnote-links): Improve footnote link
30428         highlighting.
30430         * org-footnote.el (org-footnote-normalize): Fix finding the end of
30431         a footnote definition at the end of the file.
30433         * org-table.el (org-table-get-specials): Add an imagined hline at
30434         the end of the table.  This can be useful for references that want
30435         to go to the end of the table.  Also fix bug when computing last
30436         row constants, in tables that do not start right at the right
30437         margin.
30438         (org-table-eval-formula): Match and replace remove references.
30439         (org-table-formula-substitute-names): Make sure that names inside
30440         a "remote" call are left alone, the will be replaced later when
30441         the remote call is handled.
30442         (org-table-convert-refs-to-rc): Do not convert things that might
30443         look like a reference, but are really part of an ID or namei n a
30444         remote reference.
30445         (org-table-get-remote-range): New function.
30447 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30449         * org-faces.el (org-clock-overlay): Fix bug in face definition.
30451         * org-clock.el (org-clock-put-overlay): Use new face instead of
30452         `secondary-selection'.
30454         * org-faces.el (org-clock-overlay): New face.
30456 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30458         * org-exp.el (org-get-current-options): Include the option for
30459         publishing time stamps.
30461         * org.el (org-toggle-heading): Rename from
30462         `org-toggel-region-headings'.
30463         No longer needs a region defined, but will use it if there is one.
30464         (org-ctrl-c-star): Simplify, relying more on the internal
30465         workings of `org-toggle-heading'.
30466         (org-toggle-item): Rename from `org-toggle-region-items'.
30467         No longer needs a region defined, but will use it if there is one.
30468         (org-ctrl-c-minus): Simplify, relying more on the inernal
30469         workings of `org-toggle-item'.
30471         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
30472         environment detection.  Also, do real changes only in unprotected
30473         places.
30475 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30477         * org-export-latex.el (org-export-latex-quotation-marks):
30478         Use `org-if-unprotected-1'.
30479         (org-export-latex-set-initial-vars): Check for class definition in
30480         property.
30482         * org-macs.el (org-if-unprotected-1): New macro.
30484 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30486         * org-compat.el (org-count-lines): New function.
30488         * org-exp.el (org-export-format-source-code-or-example):
30489         Handle switches related to text areas.
30491         * org.el (org-activate-footnote-links): Don't allow match inside a
30492         link.
30494         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
30496         * org-export-latex.el (org-export-latex-links): Keep a relative
30497         path relative also after export.
30499         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
30501         * org.el (org-make-tags-matcher): Never use IDO for completing the
30502         tags matcher match string.
30503         (org-completing-read): Also remove the special biding for "?".
30505         * org-attach.el (org-attach-allow-inheritance): New option.
30506         (org-attach-inherited): New variable.
30507         (org-attach-dir): Handle properties related to the attachment
30508         directory.
30509         (org-attach-check-absolute-path): New function.
30510         (org-attach-set-directory, org-attach-set-inherit): New commands.
30511         (org-attach): Accommodate the new commands in the dispatcher.
30513 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30515         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
30516         `window-full-width-p'.
30518         * org-exp.el (org-export-as-html): Only check for images files
30519         that really can be inlined.
30521         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
30522         list of extensions to be a parameter.
30524         * org-exp.el (org-export-html-inline-image-extensions):
30525         New variable.
30527         * org-agenda.el (org-prepare-agenda):
30528         Use `org-agenda-block-separator'.
30529         (org-agenda-block-separator): New option.
30531 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30533         * org-export-latex.el (org-export-latex-tables):
30534         Call `org-table-clean-before-export' with the new optional argument.
30536         * org-exp.el (org-table-clean-before-export): New optional
30537         parameter MAYBE-QUOTED, allows for quoted characters like \# in
30538         first column.
30540 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30542         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
30543         histograms.
30545         * org-colview.el (org-colview-construct-allowed-dates):
30546         Better error catching when a date/time property does not have allowed
30547         values defined.
30549 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30551         * org.el (org-map-entries): Restore point and restriction after
30552         `org-map-entries'.
30554 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30556         * org.el (org-time=, org-time<, org-time<=, org-time>)
30557         (org-time>=, org-time<>): Make sure both values are dates.
30559 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30561         * org-archive.el (org-extract-archive-heading): Allow %s for file
30562         name also in achive location heading.
30564 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30566         * org-archive.el (org-add-archive-files): Uniquify the list before
30567         returning it.
30569 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30571         * org-compat.el (org-fit-window-to-buffer):
30572         Use `window-full-width-p'.
30574         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
30575         space after the colon in short examples.
30577         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
30578         enforce a space after the colon.  However, we also allow lines
30579         that are *only* a colon.
30580         (org-export-as-html): Enforce the space after the colon in short
30581         examples.
30582         (org-export-preprocess-string): Do the colon example protection
30583         earlier.
30584         (org-export-remove-timestamps): Do not check for protection at the
30585         end of the line.
30587 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30589         * org.el (org-format-latex-options): Add new matcher for single
30590         letters between dollars.
30591         (org-get-header): Function removed.
30592         (org-heading-components): New function.
30594         * org-exp.el (org-export-define-heading-targets): Record ID's also
30595         as alternative targets.
30596         (org-export-as-html): Interpret "id:" links to other files by
30597         preserving the relative path.
30599         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
30600         is nil.
30602         * org-exp.el (org-export-normalize-links): Protect the main link,
30603         to avoid special character processing.
30605         * org-export-latex.el (org-export-latex-special-keyword-regexp):
30606         New variable.
30607         (org-export-latex-special-string-regexps): Variable removed.
30608         (org-export-latex-keywords): Use the new regexp.
30610         * org-exp.el (org-export-handle-include-files): Fetch switches and
30611         put them into the BEGIN statement.
30613         * org-timer.el (org-timer-mode-line-string): New variable.
30615         * org-clock.el (org-clock-mode-line-map): Rename from
30616         `org-clock-mode-map'.
30617         (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
30618         (org-clock-update-mode-line): Rename from `org-update-mode-line'.
30619         (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
30620         (org-clock-remove-overlays): Rename from
30621         `org-remove-clock-overlays'.
30623         * org-timer.el (org-timer-pause-or-continue): Implement stopping
30624         and mode line display.
30625         (org-timer-stop): New command.
30626         (org-timer-seconds): Return correct time when timer is paused.
30627         (org-timer-mode-line-timer): New variable.
30628         (org-timer-set-mode-line, org-timer-update-mode-line):
30629         New functions.
30631         * org.el (org-insert-heading): Handle new value `auto' for
30632         `org-blank-before-new-entry'.
30633         (org-org-menu): Add new items for timer functions.
30635         * org-list.el (org-insert-item): Handle new value `auto' for
30636         `org-blank-before-new-entry'.
30638         * org.el (org-blank-before-new-entry): New value `auto', made
30639         default.
30641 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30643         * org-exp.el (org-export-normalize-links): If the link is also
30644         used as the description, protect the description.
30646 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30648         * org.el (org-closest-date): Fix bug with yearly repeats, in
30649         combination with preference of the past as it is used for deadline
30650         and scheduling search.
30652         * org-exp.el (org-html-handle-time-stamps): No longer check for
30653         the `org-export-with-timestamps' option, because the preprocesser
30654         has taken care of this already.
30656         * org.el (org-entry-properties): Catch the case when this is
30657         called in a non-org-mode file.
30659         * org-export-latex.el (org-export-latex-remove-from-headlines):
30660         Variable made obsolete, also LaTeX export now uses the standard
30661         variables.
30662         (org-export-as-latex): Add the timestamps parameter to the
30663         preprocessor parameter list.
30664         (org-export-latex-content): Export the remaining keywords without
30665         considering to remove them.
30666         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
30667         Use bold font instead of tt font for the keywords.
30668         (org-export-latex-fontify-headline): Format headlines, assuming
30669         that all keywords still present should be published.
30670         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
30671         publish what ever remains of the time stamps.
30672         (org-export-latex-list-parameters): New option.
30673         (org-export-latex-lists): Pass additional parameters to the list
30674         converter.
30676         * org-exp.el (org-export-preprocess-string): Remove clock lines
30677         and timestamps already in the preprocesor.
30678         (org-export-remove-timestamps, org-export-remove-clock-lines):
30679         New functions.
30680         (org-export-as-ascii, org-export-as-html): Add the timestamps
30681         parameter to the preprocessor parameter list.
30683         * org-list.el (org-list-parse-list): Parse for checkboxes.
30684         (org-list-to-generic): Introduce and handle new parameters :cbon
30685         and :cboff.
30686         (org-list-to-latex, org-list-to-html, org-list-to-texinfo):
30687         Add optional parameter PARAMS.
30689         * org-export-latex.el (org-export-latex-special-chars):
30690         Fix problems with interpreting dollar signs.
30691         (org-inside-latex-math-p): New function.
30692         (org-export-latex-preprocess): Protect all the math fragments.
30694         * org.el (org-latex-regexps): Allow a dash after a dollar.
30696         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
30697         mark after copying.
30699         * org-agenda.el (org-run-agenda-series): Have series options set
30700         when finalizing the agenda.
30702         * org-exp.el (org-export-format-source-code-or-example):
30703         Protect the converted examples.
30705         * org.el (org-set-regexps-and-options): Fix the regexp
30706         `org-complex-heading-regexp'.
30708 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30710         * org.el (org-edit-src-get-label-format): New function.
30711         (org-coderef-label-format): New option.
30712         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
30713         a label format specification and make sure it is used in the edit
30714         buffer.
30715         (org-edit-src-get-label-format): New function.
30716         (org-store-link): Handle new coderef formats.
30717         (org-link-search): Handle new coderef formats.
30719         * org-footnote.el (org-footnote-create-definition)
30720         (org-footnote-goto-local-insertion-point): Make footnote insertion
30721         work correctly when the "Footnotes" headline is the last line in
30722         the buffer.
30724         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
30725         the location.
30727 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30729         * org-w3m.el (org-w3m): New customization group.
30730         (org-w3m-deactivate-mark): New option.
30731         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
30732         option say not to.
30734 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30736         * org.el (org-set-font-lock-defaults): Trigger footnote
30737         fontification.
30738         (org-activate-footnote-links): New function.
30739         (org-activate-links): New entry `footnote'.
30741         * org-faces.el (org-footnote): New face.
30743 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30745         * org-macs.el (org-re): Handle the [:word:] class.
30747         * org-exp.el (org-export-preprocess-string):
30748         Call `org-export-protect-colon-examples'.
30749         (org-export-protect-colon-examples): Rename from
30750         `org-export-protect-examples', and scope limited to lines starting
30751         with a colon.
30753 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30755         * org-exp.el (org-export-preprocess-string): Move the preprocess
30756         hook to after turning on Org-mode.
30757         (org-export-preprocess-after-include-files-hook)
30758         (org-export-preprocess-after-tree-selection-hook)
30759         (org-export-preprocess-before-backend-specifics-hook)
30760         (org-export-preprocess-final-hook): New hooks.
30761         (org-export-preprocess-string): Run the new hooks.
30763         * org.el (org-ctrl-c-minus): Fix indentation for new items.
30765         * org-footnote.el: New file.
30767         * org.el (org-footnote): Require footnote code.
30768         (org-startup-options): Add new footnote options.
30769         (org-mode-map): New keybindig for footnotes.
30770         (org-ctrl-c-ctrl-c): Add function at footnotes.
30771         (org-org-menu): New menu entries for footnotes.
30773         * org-export-latex.el (org-export-as-latex): Pass footnote
30774         variable to preprocessor.
30775         (org-export-latex-preprocess): Treat multiple references to a
30776         footnote.
30778         * org-exp.el (org-export-preprocess-string):
30779         Call `org-footnote-normalize'.
30780         (org-export-as-ascii, org-export-as-html): Pass footnote variable
30781         to preprocessor.
30782         (org-export-as-html): Treat multiple references to a footnote.
30784 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
30786         * org-export-latex.el (org-export-latex-links): Handle coderef
30787         links.
30789         * org.el (org-bracket-link-analytic-regexp++): New variable.
30790         (org-make-link-regexps):
30791         Initialize `org-bracket-link-analytic-regexp++'.
30792         (org-store-link): Implement special case in edit-src buffer.
30793         (org-insert-link): No use of ide to insert stored links.
30794         (org-link-search): Implement special case for coderefs.
30796         * org-exp.el (org-export-html-scripts): New constant.
30797         (org-export-html-style-default): Add a new style for highlighted
30798         code.
30799         (org-export-code-refs): New variable.
30800         (org-export-preprocess-string): Initialize `org-export-code-refs'.
30801         Call `org-export-replace-src-segments-and-examples'
30802         No longer call `org-export-protect-examples'.
30803         (org-export-target-internal-links): Take care of coderef targets.
30804         (org-export-last-code-line-counter-value): New variable.
30805         (org-export-replace-src-segments-and-examples): Rename from
30806         `org-export-replace-src-segments', and modified.
30807         (org-export-format-source-code-or-example): Rename from
30808         `org-export-format-source-code'.
30809         (org-export-number-lines): New function.
30810         (org-export-as-ascii, org-export-as-html): Handle coderef links.
30812 2009-01-23  Glenn Morris  <rgm@gnu.org>
30814         * org-rmail.el (rmail-narrow-to-non-pruned-header):
30815         Remove declaration of deleted function.
30817 2009-01-16  Glenn Morris  <rgm@gnu.org>
30819         * org-mouse.el (org-mouse-show-context-menu):
30820         Use mouse-menu-major-mode-map, if defined, rather than the obsolete
30821         mouse-major-mode-menu.
30823 2008-12-23  Carsten Dominik  <dominik@science.uva.nl>
30825         * org-remember.el (org-remember-handler): Safer way to get a new
30826         buffer accessing the target file.
30828         * org.el (org-refile-get-location): Handle case of current buffer
30829         not having a file associated with it.
30831 2008-12-22  Carsten Dominik  <dominik@science.uva.nl>
30833         * org-table.el (org-table-get-formula): Only ask to overwrite
30834         field formula if there really is one.
30836 2008-12-21  Carsten Dominik  <dominik@science.uva.nl>
30838         * org-export-latex.el (org-export-latex-make-header): Double the
30839         commenting % in the time stamp format.
30840         (org-export-latex-special-chars): Handle case where there is no
30841         match group 3.
30843 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
30845         * org.el (org-get-refile-targets, org-refile-get-location):
30846         Use expanded file name to improve comparison.
30848 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
30850         * org.el (org-scan-tags): Rescan for tags, to get the correct
30851         upcase/downcase stuff.  This slows things down for now, but it
30852         works.
30853         (org-mode): Make sure the tag-faces regexp is initialized.
30855         * org-export-latex.el (org-export-latex-links): Fix bug with
30856         undefined label.
30858         * org-table.el (org-table-get-specials):
30859         Set `org-table-current-last-data-line'.
30860         (org-table-current-last-data-line): New variable.
30861         (org-table-insert-column, org-table-delete-column)
30862         (org-table-move-column, org-table-fix-formulas):
30863         Call `org-table-fix-formulas' a second time to fix the $LR references.
30864         (org-table-get-specials): Add the $LR references to the tables.
30865         (org-table-get-formula): Do not offer last-row names as LHS of
30866         formulas.
30868         * org.el (org-store-link): Capture link description from
30869         `org-id-store-link'.
30871         * org-exp.el (org-export-html-format-image): Add the / to the end
30872         of the <img> tag.
30873         (org-export-format-source-code): Surround example by empty lines,
30874         to make sure it will not be inside a paragraph.
30876         * org.el (org-ido-switchb): New function.
30878 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
30880         * org-agenda.el (org-agenda-show): New prefix argument
30881         FULL-ENTRY.
30883         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
30884         argument.
30886 2008-12-20  Glenn Morris  <rgm@gnu.org>
30888         * org.el (org-org-menu): Fix some more menu entries.
30890 2008-12-18  Carsten Dominik  <dominik@science.uva.nl>
30892         * org-table.el (org-table-get-specials): Revert introduction of @0
30893         as reference of the last table row, because of conflicts.
30895         * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
30896         argument, get the current tags directly.
30897         (org-agenda-set-tags): Leave getting current tags to
30898         `org-agenda-change-all-lines'.
30900 2008-12-17  Carsten Dominik  <dominik@science.uva.nl>
30902         * org.el (org-org-menu): Do not quote the set-tags command.
30904 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
30906         * Fix typos in comments and docstrings throughout Org-mode.
30908         * org.el (org-get-outline-path): Fix bug if level is not given.
30910         * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
30912 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30914         * org.el (org-refile): Avoid refiling to within the region to be
30915         refiled.
30917         * org-export-latex.el (org-export-latex-special-chars):
30918         Replace special characters also in tables.
30920         * org-agenda.el (org-agenda-change-all-lines): New argument
30921         FORCE-TAGS.
30922         (org-agenda-set-tags): Get the new tags and pass them to
30923         `org-format-agenda-item'.
30925 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30927         * org-export-latex.el (org-export-latex-classes): Add longable as
30928         a default package to all classes.
30929         (org-export-latex-tables): Handle the longtable attribute and the
30930         align attribute.
30932         * org-table.el (orgtbl-to-generic): Handle tables that start with
30933         a hline.
30935         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
30936         \verb for colde-like snippets.
30937         (org-export-as-latex): Fix issues with region export.
30939         * org.el (org-up-heading-safe): Speed up function by using a
30940         direct regexp search.
30941         (org-olpa): New variable.
30942         (org-get-outline-path): Speed-up path constructions in cases where
30943         this is possible because the entire hierarchy is scanned anyway.
30944         (org-refile-get-location): Don't compare the truenames of files,
30945         this is too slow.
30946         (org-goto-max-level): New option.
30947         (org-goto): Use `org-goto-max-level'.
30949 2008-12-16  Tassilo Horn  <tassilo@member.fsf.org>
30951         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
30952         Strip angle brackets from message-ids in the former and don't do
30953         it in the latter.
30954         (org-gnus-follow-link): Open summary reliable, even if the last
30955         messages were deleted, and handle empty groups, too.
30957 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30959         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
30960         instead of \texttt for the =...= and ~===~ emphasis environments.
30961         (org-export-as-latex): Remove any old :org-license-to-kill text
30962         properties.
30963         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
30964         (org-export-latex-make-header): Add some hard space after the
30965         table of contents.
30966         (org-export-latex-first-lines): Accept RBEG argument.
30967         Mark exported text so that it will be excuded in further steps.
30969         * org-table.el (org-table-get-specials): Make @0 reference the
30970         last line in a table.
30971         (org-table-recalculate): Improve docstring.
30973 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30975         * org.el (org-log-done): Fix docstring.
30977 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
30979         * org-exp.el (org-export-html-format-image): Fix bugs.
30981         * org-export-latex.el (org-export-latex-tables)
30982         (org-export-latex-links): Implement attribute, label, and caption
30983         handling.
30985         * org-exp.el (org-export-html-style-default): Add style
30986         definitions for the figure div.
30987         (org-export-preprocess-string, org-export-as-html):
30988         Implement attribute, label, and caption handling.
30989         (org-export-attach-captions-and-attributes): New function.
30990         (org-export-html-format-image): New function.
30991         (org-format-org-table-html): Implement attribute, label, and
30992         caption handling.
30994         * org.el (org-find-text-property-in-string): New function.
30995         (org-extract-attributes): Use the property org-attr instead of
30996         org-attrobutes, because this property is now set with the #+ATTR
30997         lines.
30999 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
31001         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
31002         the case that FROM is nil.
31004         * org.el (org-before-first-heading-p): New function.
31006 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
31008         * org-exp.el (org-export-as-html): Do not add a space before
31009         enforces line breaks.
31010         (org-export-as-html): Close paragraph before blockquote and verse
31011         tags.
31013 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
31015         * org-id.el (org-id-locations-file): Wrap file name with
31016         `convert-standard-filename'.
31017         (org-id-files): New variable.
31018         (org-id-use-hash): New option.
31019         (org-id-update-id-locations): Also search in all files current
31020         listed in `org-id-files'.  Convert the resulting alist to a hash
31021         if the user customation says so.
31022         (org-id-locations-save): Handle he case if `org-id-locations' is a
31023         hash.
31024         (org-id-locations-load): Convert the alist to a hash.
31025         (org-id-add-location): Handle the hast case.
31026         (kill-emacs-hook): Make sure id locations are saved when Emacs is
31027         exited.
31028         (org-id-hash-to-alist, org-id-alist-to-hash)
31029         (org-id-paste-tracker): New functions.
31031 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31033         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
31034         bindings of calendar variables.
31036         * org-table.el (org-table-find-row-type): Rename from
31037         `org-find-row-type'.
31038         (org-table-rewrite-old-row-references): Rename from
31039         `org-rewrite-old-row-references'.
31040         (org-table-shift-refpart): Rename from `org-shift-refpart'.
31041         (org-table-cleanup-narrow-column-properties): Rename from
31042         `org-cleanup-narrow-column-properties'.
31044 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31046         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
31047         for better error messages.
31048         (org-table-get-descriptor-line): Supply the new arguments to
31049         `org-find-row-type'.
31050         (org-table-error-on-row-ref-crossing-hline): New option.
31052         * org.el (org-target-link-regexp): Make buffer-local.
31053         (org-move-subtree-down): Fix bug with trees at beginning of
31054         buffer.
31056 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31058         * org-faces.el (org-set-tag-faces): New function.
31059         (org-tags-special-faces-re): New variable.
31061         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
31063         * org-faces.el (org-tag-faces): New option.
31064         (org-tag): Mention `org-tag-faces' in the docstring.
31066 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31068         * org-exp.el (org-export-html-style-default): Implement new
31069         quoting.
31071         * org-jsinfo.el (org-infojs-template): Implement new quoting.
31073         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
31074         command to the `w3m-minor-mode-map'.
31076         * org-archive.el (org-archive-to-archive-sibling):
31077         Protect `this-command' to avoid appending kills during archiving.
31079         * org-exp.el (org-export-with-priority): New variable.
31080         (org-export-add-options-to-plist): Use `org-export-plist-vars'
31081         instead of internal list of strings and properties.
31082         (org-print-icalendar-entries): Retrieve the location property with
31083         inheritance.
31085 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31087         * org-exp.el (org-export-with-todo-keywords): New option.
31088         (org-export-plist-vars): Include also the keys for the #+OPTIONS
31089         line.
31090         (org-default-export-plist, org-export-add-options-to-plist)
31091         (org-export-as-ascii, org-export-as-html): Use the new structure
31092         of `org-export-plist-vars'.
31094         * org.el (org-map-entries): Return all values.
31096 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31098         * org.el (org-matcher-time): Recognize more special values.
31100         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
31102 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31104         * org.el (org-tags-exclude-from-inheritance): New option.
31105         (org-tag-inherit-p, org-remove-uniherited-tags):
31106         Respect `org-tags-exclude-from-inheritance'.
31108         * org-agenda.el (org-agenda-show-inherited-tags): New option.
31109         (org-format-agenda-item): Add inherited tags to the agenda line
31110         string, and make sure that properties are kept when downcasing the
31111         tags list.
31112         (org-agenda-add-inherited-tags): New function.
31113         (org-downcase-keep-props): New function.
31115         * org.el (org-scan-tags): Mark inherited tags with a text
31116         property.
31117         (org-get-tags-at): Mark inherited tags with a text property.
31118         (org-add-prop-inherited): New function.
31120         * org-agenda.el (org-agenda-add-inherited-tags): New function.
31121         (org-agenda-show-inherited-tags): New option.
31123 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31125         * org.el (org-modules): Add org-w3m to the default modules.
31127         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
31128         orgtbl-mode.
31129         (orgtabl-create-or-convert-from-region): New command.
31131         * org-exp.el (org-export-as-ascii): Remove the handling of
31132         targets.
31133         (org-export-ascii-preprocess): Handle targets already in this
31134         function.
31136 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31138         * org-timer.el (org-timer-start-time): Define this variable.
31139         (org-timer-item): Make argument optional.
31141         * org-list.el (org-insert-item): Automatically insert a timer item
31142         if the current list is a timer list.
31144         * org-timer.el: New file.
31146         * org-publish.el (org-publish-org-index): Only exclude the index
31147         file in the main directory from being added to the site-map.
31148         (org-publish-get-project-from-filename): If the current project is
31149         a component, start publishing from the parent project.
31151 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
31153         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
31155         * org-publish.el (org-publish-org-index): Improve removal of
31156         temporary buffers.
31158 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
31160         * org-agenda.el (org-get-closed): Re-apply changes
31161         accidentially overwritten by last commit to Emacs.
31163         * org.el (org-outline-path-complete-in-steps): New option.
31164         (org-refile-get-location):
31165         Honor `org-outline-path-complete-in-steps'.
31166         (org-agenda-change-all-lines, org-tags-sparse-tree)
31167         (org-time-string-to-absolute, org-small-year-to-year)
31168         (org-link-escape): Re-apply changes accidentially overwritten
31169         by last commit to Emacs.
31171 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31173         * org-clock.el (org-dblock-write:clocktable): Make sure the
31174         clocktable sees the first line.
31175         (org-clock-in): Warn if the clock cannot be resumed.
31177 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31179         * org.el (org-open-at-point): Fix mixup about interactive and
31180         non-interactive elisp links.
31182 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31184         * org-exp.el (org-export-preprocess-string): Allow one comment
31185         line before the first headline to always be included.  This is
31186         to not miss a commented target.
31188         * org-mouse.el (org-mouse-insert-item):
31189         Call `org-indent-to-column' instead of `indent-to', for XEmacs
31190         compatibility.
31192         * org.el (org-refile-targets): Fix customize definition so
31193         that it works also in XEmacs.
31194         (org-fixup-indentation): Call `org-indent-to-column' instead
31195         of `indent-to', for XEmacs compatibility.
31197 2008-11-23  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
31199         * org-mew.el (org-mew-store-link): Get the correct case folder
31200         for refiled messages.
31202 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31204         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
31205         line break indicators.
31207         * org.el (org-ido-completing-read): Remove the "i:" prefix for
31208         ido-completion propts.
31210 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31212         * org-remember.el (org-remember-apply-template):
31213         Use `org-substring-no-properties'.
31215         * org-compat.el (org-substring-no-properties): New function.
31217         * org-remember.el (org-remember-apply-template):
31218         Use `org-substring-no-properties' for compatibility.
31220         * org-list.el (org-list-two-spaces-after-bullet-regexp):
31221         New option.
31222         (org-fix-bullet-type):
31223         Respect `org-list-two-spaces-after-bullet-regexp'.
31225         * org-clock.el (org-clock-load): Clean up the code.
31227         * org.el (org-adaptive-fill-function): Allow two spaces after
31228         "1." as a list bullet.
31230 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31232         * org-clock.el (org-clock-save, org-clock-load): Check for
31233         live buffers, existing files, and buffer file names to ensure
31234         consistent information.
31235         (org-clock-persist): Make `clock' a special value of this
31236         variable, and improve docstring.
31238         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
31239         (org-get-string-indentation): Adapt indentation when the bullet
31240         width changes.
31242 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31244         * org-remember.el (org-remember-finalize): Make interactive.
31245         (org-remember-kill): New command.
31246         (org-remember-finish-immediately): Call `org-remember-finalize'
31247         directly.
31248         (org-remember-finalize): Make `org-remember-finalize' an interactive
31249         function.
31251 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31253         * org-remember.el (org-remember-apply-template): No ido completion
31254         for free prompts in remember templates.
31255         (org-remember-before-finalize-hook): New hook.
31256         (org-remember-mode): New minor mode.
31257         (org-remember-apply-template): Turn on `org-remember-mode'.
31259         * org-remember.el (org-remember-apply-template): Fix the way how
31260         the list of allowed properties is retrieved from the target file.
31262         * org.el (org-insert-link): Improve file link matching.
31264 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31266         * org-colview.el (org-columns-display-here): New argument
31267         DATELINE, to trigger using the new face.
31268         (org-agenda-colview-summarize): Call `org-columns-display-here'
31269         with the new argument.
31271         * org-faces.el (org-agenda-column-dateline): New face.
31273         * org-publish.el (org-publish-org-index): Use index-title at page
31274         title, not as section.
31276         * org-exp.el (org-export-html-format-desc): Respect the
31277         org-protect property.
31278         (org-export-as-html): Protect image specifiers that are in the
31279         description part of a link.
31281         * org.el (org-sort-entries-or-items, org-completing-read)
31282         (org-refile-get-location, org-olpath-completing-read, org-todo)
31283         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
31284         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
31285         (org-set-property, org-delete-property)
31286         (org-delete-property-globally): Use `org-ido-completing-read'.
31288         * org-remember.el (org-remember-apply-template):
31289         Use `org-ido-completing-read'.
31291         * org-publish.el (org-publish): Use `org-ido-completing-read'.
31293         * org-colview.el (org-columns-edit-value, org-columns-new)
31294         (org-insert-columns-dblock): Use `org-ido-completing-read'.
31296         * org-attach.el (org-attach-delete-one, org-attach-open):
31297         Use `org-ido-completing-read'.
31299         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag):
31300         Use `org-ido-completing-read'.
31302         * org.el (org-time-today): New function.
31303         (org-matcher-time): Use `org-time-today'.  Add special treatment
31304         for "<tomorrow>" and "<yesterday>".
31305         (org-ido-completing-read): New function.
31306         (org-completion-use-ido): New option.
31308         * org-exp.el (org-export-format-source-code): Fix bug in require
31309         htmlize code.
31310         (org-export-target-internal-links): Fix bug in search for text
31311         property.
31313 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31315         * org-export-latex.el (org-export-latex-subcontent):
31316         Interpret target aliases as additional labels.
31318         * org-exp.el (org-export-target-aliases): New variable.
31319         (org-export-preprocess-string)
31320         (org-export-handle-invisible-targets): Fill the alias alist.
31321         (org-export-as-html): Remove the &nbsp; from the anchor, and also
31322         assign an id.
31323         (org-html-level-start): Insert the target aliases as additional
31324         anchors.
31326         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
31327         picture area.
31329 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31331         * org.el (org-open-at-mouse): Ensure correct link abbreviations
31332         when following a link with the mouse from the agenda.
31334         * org-exp.el (org-export-as-html): Avoid lone </div> when no
31335         headlines are created.
31337 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31339         * org.el (org-link-translation-function): New option.
31340         (org-open-at-point): Call `org-link-translation-function' if
31341         non-nil.
31342         (org-translate-link): New function.
31343         (org-translate-link-from-planner): New function.
31344         (org-open-at-point): Allow interactive commands in elisp links.
31346         * org-exp.el (org-icalendar-cleanup-string): Restore the old
31347         iCalendar quoting.  The new one seems to caus problems with
31348         applications.
31350         * org.el (org-yank): Set `this-command' to `yank', so that
31351         `yank-pop' will work.
31353 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31355         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
31356         compliance as far as quoting is concerned.
31358         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
31359         hexified version of the tag.
31361         * org-vm.el (org-vm-follow-link): Require `vm-search'.
31363         * org.el (org-up-heading-safe, org-forward-same-level):
31364         Always call `org-back-to-heading' instead of `outline-back-to-heading'.
31365         (org-back-to-heading): New wrapper around outline-back-to-heading,
31366         with a useful error message telling where the error happened.
31368         * org-list.el (org-update-checkbox-count): Always call
31369         `org-back-to-heading' instead of `outline-back-to-heading'.
31371         * org-exp.el (org-export-as-html): Make sure that each <img> tag
31372         has an `alt' attribute, to ensure XHTML validation.
31374 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
31376         * org-publish.el (org-publish-attachment): Allow publishing to
31377         overwrite attachment files.
31379         * org-agenda.el (org-agenda-timerange-leaders): New option.
31380         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
31382         * org.el (org-edit-src-exit): Untabify ASCII image before
31383         returning.
31385 2008-11-19  Glenn Morris  <rgm@gnu.org>
31387         * org.el, org-mouse.el (org-agenda-change-all-lines):
31388         Fix declaration.
31390 2008-11-18  Carsten Dominik  <dominik@science.uva.nl>
31392         * org.el ("speedbar"): Only show context if the file really is an
31393         org-mode buffer.
31395 2008-11-17  Juanma Barranquero  <lekktu@gmail.com>
31397         * org.el (org-time-string-to-absolute, org-small-year-to-year)
31398         (org-tags-sparse-tree): Fix typos in docstrings.
31400 2008-11-15  Carsten Dominik  <dominik@science.uva.nl>
31402         * org-publish.el (org-publish-attachment): Allow copy-file to
31403         overwrite files.
31405 2008-11-13  Glenn Morris  <rgm@gnu.org>
31407         * org-agenda.el (org-get-closed): Fix alias.
31409 2008-11-12  Juanma Barranquero  <lekktu@gmail.com>
31411         * org.el (org-link-escape): Fix typo in docstring.
31413 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31415         * org.el (org-yank): Make any prefix force normal yanking.
31416         Suppress folding if text would be swallowed into a folded
31417         subtree.
31418         (org-yank-folded-subtrees, org-yank): Docstring updates.
31420         * org-agenda.el (org-agenda-compare-effort): Treat no effort
31421         defined as 0.
31423         * org-exp.el (org-export-language-setup): Add Catalan and
31424         Esperanto language entries.
31426 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31428         * org.el (org-refile): Allow refiling of entire regions.
31430         * org-clock.el (org-clock-time%): New function.
31432         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
31433         retrieve property values.
31435 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31437         * org-agenda.el (org-agenda-list): Handle the value `only' of
31438         org-agenda-show-log'.
31439         (org-agenda-log-mode): Interpret a double prefix arg.
31441 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31443         * org-exp.el (org-export-html-footnotes-section): New variable.
31444         (org-export-as-html): Use `org-export-html-footnotes-section' to
31445         insert the footnotes.
31446         (org-export-language-setup): Add "Footnotes" to language words.
31448 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31450         * org.el (org-yank): Fix bug when not inserting a subtree.
31452 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31454         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
31455         instead of `vm-beginning-of-message'.
31457         * org.el (org-make-link-regexps): Make sure that links to gnus can
31458         contain brackets.
31460 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
31462         * org-attach.el (org-attach-dir): Remove duplicate ID creation
31463         code.
31465         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
31466         shell output.
31468         * org.el (org-link-abbrev-alist): Improve customization type.
31470         * org-attach.el (org-attach-expand-link, org-attach-expand):
31471         New functions.
31473         * org-agenda.el (org-agenda-get-progress): Rename from
31474         `org-get-closed'.  Implement searching for state changes as well.
31475         (org-agenda-log-mode-items): New option.
31476         (org-agenda-log-mode): New option prefix argument, interpreted as
31477         request to show all possible progress info.
31478         (org-agenda-get-day-entries): Call `org-get-progress' instead of
31479         `org-get-closed'.
31480         (org-agenda-set-mode-name): Handle the more complex log mode
31481         settings.
31482         (org-get-closed): New alias, pointing to `org-get-progress'.
31484 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31486         * org.el (org-file-apps-defaults-gnu)
31487         (org-file-apps-defaults-macosx)
31488         (org-file-apps-defaults-windowsnt): Add an entry defining the
31489         system command.
31490         (org-file-apps): Allow `system' as key and value.
31491         (org-open-at-point): Explain the effect of a double prefix arg.
31492         (org-open-file): If the argument `in-emacs' is (16),
31493         i.e. corresponding to a double prefix argument, try to open the
31494         file externally.
31496 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31498         * org.el (org-insert-link): Abbreviate absolute files names in
31499         links.  Also, fix a bug in which the double C-u prefix would not
31500         be honored.
31502 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31504         * org.el (org-insert-heading): If buffer does not end with a
31505         newline, add one if necessary to insert headline correctly.
31507         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
31508         paragraphs, not inside.
31510         * org.el (org-todo):
31511         Quote `org-agenda-headline-snapshot-before-repeat'.
31513         * org-exp.el (org-export-as-html): Fully process link descriptions.
31514         (org-export-html-format-desc): New function.
31515         (org-export-as-html): Collect footnotes into the correct basket.
31516         (org-html-protect): No longer protect quotations marks here, this
31517         goes wrong.
31519         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
31520         BEG.
31522         * org-compat.el (org-fit-window-to-buffer): New function (not
31523         really, a preliminary and incomplete version was present earlier,
31524         but not used).
31526         * org.el (org-fast-todo-selection, org-fast-tag-selection):
31527         Use `org-fit-window-to-buffer'.
31529         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
31531         * org-agenda.el (org-agenda-get-restriction-and-command)
31532         (org-fit-agenda-window, org-agenda-convert-date):
31533         Use `org-fit-window-to-buffer'.
31535         * org-exp.el (org-export-as-html): Process href links through
31536         `org-export-html-format-href'.
31537         (org-export-html-format-href): New function.
31539         * org-agenda.el (org-agenda-todo): Update only the current
31540         headline if this is a repeated TODO, marked done for today.
31541         (org-agenda-change-all-lines): New argument JUST-THIS, to change
31542         only the current line.
31544         * org.el (org-todo): Take a snapshot of the headline if the
31545         repeater might change it.
31547 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31549         * org-publish.el (org-publish-find-title): Remove buffers visited
31550         only for extracting the title.
31552         * org-exp.el (org-export-html-style)
31553         (org-export-html-style-default): Mark style definitions as
31554         unparsed CDATA.
31556         * org-publish.el (org-publish-validate-link):
31557         Function re-introduced.
31559 2008-11-12  Charles Sebold  <csebold@gmail.com>
31561         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
31562         property.
31563         (org-plot-quote-timestamp-field): New function.
31564         (org-plot-quote-tsv-field): Call timestamp field function when
31565         necessary rather than just quoting as a string.
31566         (org-plot/gnuplot-to-data): Pass in timefmt property.
31567         (org-plot/gnuplot-script): Supports timefmt property.
31568         (org-plot/gnuplot): Checks for timestamp column before checking
31569         for text index column.
31571 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31573         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
31575         * org-publish.el (org-publish-org-index): Create a section in the
31576         index file.
31577         (org-publish-org-index): Stop linking to directories.
31579         * org.el (org-emphasis-alist): Use span instead of <u> to
31580         underline text.
31582         * org-exp.el (org-export-as-html): Make sure <p> is closed before
31583         <pre> sections.
31585 2008-11-12  Sebastian Rose  <sebastian_rose@gmx.de>
31587         * org-jsinfo.el (org-infojs-template): Remove language attribute
31588         from script tag.
31590 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31592         * org-agenda.el (org-agenda-remove-marked-text): New function.
31593         (org-agenda-mark-filtered-text)
31594         (org-agenda-unmark-filtered-text): New functions.
31595         (org-write-agenda): Remove filtered text.
31597         * org.el (org-make-tags-matcher): Give access to TODO "property"
31598         without speed penalty.
31600 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31602         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
31603         option.
31604         (org-store-link-props): Make sure adding to the plist works
31605         correctly.
31607         * org-gnus.el (org-gnus-no-new-news): New function.
31608         (org-gnus-follow-link): Allow the article ID to be a message-id,
31609         in addition to allowing article numbers.  Message IDs make much
31610         more roubust links.
31611         (org-gnus-store-link): Use message-id to create link.
31613 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31615         * org.el (org-emphasize): Reverse the selection array.
31616         (org-emphasis-alist): Set <code> tags for the verbatim
31617         environment.
31619         * org-remember.el (org-remember-handler): Fix bug with
31620         prefix-related changing of the note storage target.
31622         * org-exp.el (org-print-icalendar-entries): Make the exported
31623         priorities compatible with RFC 2445.
31625         * org-clock.el (org-clock-save): Insert time stamp without
31626         dependence on time-stamp.el.
31628 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31630         * org.el ("saveplace"): If saveplace puts point into an invisible
31631         location, make it visible.
31632         (org-make-tags-matcher): Allow inactive time stamps in time
31633         comparisons.
31634         (org-yank-adjusted-subtrees): New option.
31635         (org-yank): Incorporate adjusting trees.
31636         (org-paste-subtree): New argument FOR-YANK which will cause
31637         insertion at point without backing up over white lines, and leave
31638         point at the end of the inserted text.  Also if the cursor is
31639         at the beginning of a headline, use the same level or the inserted
31640         tree.
31642         * org-publish.el (org-publish-get-base-files-1): Deal correctly
31643         with broken symlinks.
31645 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
31647         * org-exp.el (org-export-select-tags, org-get-current-options):
31648         Fix typo.
31650 2008-11-06  Glenn Morris  <rgm@gnu.org>
31652         * org-publish.el (org-publish-attachment): Use copy-file rather than
31653         eshell/cp.
31655 2008-11-04  Juanma Barranquero  <lekktu@gmail.com>
31657         * org.el (org-columns-modify-value-for-display-function):
31658         * org-table.el (org-table-convert-region): Fix typos in docstrings.
31660 2008-10-28  Glenn Morris  <rgm@gnu.org>
31662         * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
31664         * org-list.el (outline-next-heading, outline-back-to-heading):
31665         Fix declarations.
31667 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31669         * org-agenda.el (org-format-agenda-item)
31670         (org-agenda-filter-make-matcher): Make sure tags are stored and
31671         compared downcased.
31673 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31675         * org.el (org-insert-todo-heading): Fix bug with force-heading
31676         argument.
31678 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31680         * org-exp.el (org-export-as-ascii): Handle the case that we are
31681         bulishing from an indirect buffer.
31683         * org-table.el (org-table-copy-down): Fix bug with time stamp
31684         increment.
31686         * org-mouse.el (org-mouse-features): New option.
31687         (org-mode-hook): Turn on features depending on
31688         `org-mouse-features'.
31690         * org.el (org-insert-heading-respect-content): Force heading
31691         creation.
31692         (org-insert-heading): Keep the folding state of the heading before
31693         the inserted one.
31695 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31697         * org-archive.el (org-archive-to-archive-sibling): Handle top
31698         level headlines better.
31700 2008-10-26  Bastien Guerry  <bzg@gnu.org>
31702         * org-export-latex.el (org-export-latex-classes):
31703         Add \usepackage{graphicx} to the default list of packages.
31705 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31707         * org-agenda.el (org-agenda-filter): Rename from
31708         `org-agenda-filter-tags'.
31710 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31712         * org.el (org-entry-properties): Add CATEGORY property, iven if it
31713         is not defined as a property in this entry.
31714         (org-add-log-note): Mask prefix argument when immediately storing
31715         the note.
31717         * org-agenda.el (org-agenda-filter-effort-default-operator):
31718         New option.
31720 2008-10-26  James TD Smith  <ahktenzero@mohorovi.cc>
31722         * org.el (org-add-log-setup): Bugfix; code to find insertion point
31723         after drawers was skipping ahead one line too many, so notes were
31724         inserted after the first note instead of before it.
31726 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31728         * org-agenda.el (org-agenda-filter-tags, org-agenda-filter-form):
31729         New variables.
31730         (org-prepare-agenda): Reset the filter tags.
31731         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
31732         Show filter tags in mode line.
31734         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
31735         formatter.
31737         * org-export-latex.el (org-latex-entities-regexp): New constant.
31738         (org-export-as-pdf): Use two calls to `shell-command'.
31740 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31742         * org-export-latex.el (org-export-latex-treat-sub-super-char):
31743         Honor the {} value of the subsuperscript setting.  Make sure that
31744         longer subsuperscripts are typeset in a roman font.
31746         * org.el (org-clock-update-time-maybe): Compute negative clock
31747         intervals correctly.
31749 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31751         * org.el (org-add-log-setup):
31752         Respect `org-log-state-notes-insert-after-drawers'.
31753         (org-log-state-notes-insert-after-drawers): New option.
31754         (org-todo-trigger-tag-changes): New function.
31755         (org-todo): Call `org-todo-trigger-tag-changes'.
31757 2008-10-26  James TD Smith  <ahktenzero@mohorovi.cc>
31759         * org.el (org-add-log-setup): Only skip drawers if they are
31760         immediately after the scheduling keywords.
31762         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
31763         function.
31764         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
31765         call it with the current todo state to get the state to switch to
31766         when clocking in.
31767         (org-clock-in): Use org-indent-line-function to indent clock lines.
31768         (org-clock-find-position): Fix indentation of empty clock drawers.
31770 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31772         * org-publish.el (org-publish-org-to): Handle case when
31773         org-export-to-pdf does return a file name, not a buffer.
31774         (org-publish-org-to-pdf): New function.
31776         * org-export-latex.el (org-export-as-pdf)
31777         (org-export-as-pdf-and-open): New commands.
31779         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
31780         forms as ranges.
31782         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
31783         things in protexted regions.
31785 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
31787         * org-export-latex.el (org-export-latex-preprocess):
31788         Improve quoting of LaTeX environments.
31790 2008-10-19  Eli Zaretskii  <eliz@gnu.org>
31792         * org.el (org-default-notes-file):
31793         * org-publish.el (org-publish-timestamp-directory):
31794         * org-id.el (org-id-locations-file): Run file names that begin
31795         with a period thru `convert-standard-filename'.
31797 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31799         * org-plot.el: Switch coding system to unix.
31801 2008-10-12  John Wiegley  <johnw@newartisans.com>
31803         * org-attach.el: New file.
31805 2008-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
31807         * org.el (org-edit-fixed-width-region): Exclude final newline from
31808         picture area.
31810         * org-export-latex.el (org-export-latex-subcontent): Add labels to
31811         sections, to make internal links work.
31812         (org-export-latex-fontify-headline): Do not remove all text
31813         properties, to make sure that target properties survive this
31814         process.
31816         * org-exp.el (org-export-preprocess-string): Change sequence of
31817         modifications, to make sure links are prepared before the LaTeX
31818         conversions do happen.
31820         * org-attach.el (org-attach-delete-all): Rename from
31821         `org-attch-delete'.  Add a security query before deleting the
31822         entire directory.  New optional argument FORCE can overrule the
31823         security query.
31824         (org-attach-delete-one): New command.
31826         * org-attach.el (org-attach-file-list): Fix bug with directory.
31828         * org.el (org-apps-regexp-alist): New function.
31829         (org-file-apps): Add auto-mode to the default value.
31830         (org-open-file): Use the new structure of org-file-apps.
31832         * org-attach.el (org-attach): Support the new keys.
31833         (org-attach-method): New option.
31835         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
31836         March.
31838         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
31839         of the list value o `org-use-tag-inheritance'.
31841         * org-attach.el (org-attach-auto-tag): New option.
31842         (org-attach-tag, org-attach-untag): New functions.
31843         (org-attach-attach, org-attach-new, org-attach-sync):
31844         Call `org-attach-tag'.
31845         (org-attach-delete): Call `org-attach-untag'.
31847         * org-table.el (orgtbl-self-insert-command): Make this work for
31848         the keypad as well.
31850         * org.el (org-add-log-setup): Limit searc for drawers to entry
31851         text, not to subtree.
31853         * org-clock.el (org-clock-heading-for-remember): New variable.
31854         (org-clock-in): Set `org-clock-heading-for-remember'.
31856 2008-10-12  James TD Smith  <ahktenzero@mohorovi.cc>
31858         * org-remember.el (org-remember-apply-template): Add new
31859         expansions: %k, %K for currently clocked task and a link to the
31860         currently clocked task, and %< to file notes in the currently
31861         clocked task.
31863 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31865         * org-export-latex.el (org-export-latex-make-header): Also insert
31866         the content of the property :latex-header-extra.
31868         * org-exp.el (org-infile-export-plist): Put the content of
31869         #+LATEX_HEADER: into the property :latex-header-extra.
31871         * org-colview.el (org-columns-get-format-and-top-level):
31872         Remove resetting the marker.
31874         * org.el (org-entry-property-inherited-from): Improve docstring.
31875         (org-entry-get-with-inheritance): Reset marker before starting the
31876         search.
31878         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
31880         * org.el (org-entry-get-multivalued-property)
31881         (org-entry-protect-space, org-entry-restore-space):
31882         New functions.
31883         (org-file-apps-defaults-macosx): Let PostScript files be opened by
31884         preview.
31885         (org-time-stamp-inactive): Call `org-time-stamp'.
31886         (org-time-stamp): New argument `inactive'.  Also edit inactive
31887         stamps.  Convert time stamp type.
31888         (org-open-file): Interpret the `default' value for the `command'
31889         in `org-file-apps'.
31891         * org-id.el (org-id-int-to-b36-one-digit)
31892         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
31893         (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
31894         b36.
31896         * org-id.el (org-id-reverse-string): New function.
31897         (org-id-new): Use `org-id-reverse-string' to make sure the
31898         beginning chars of the ID are mutating fast.  This allows to use a
31899         directory structure to spread things better.
31900         (org-id-prefix): Change default to nil.
31902         * org-list.el (org-move-item-down, org-move-item-up): Remember and
31903         restore the column of the cursor position.
31905         * org-remember.el (org-remember-apply-template): Remove properties
31906         from `initial'.
31908         * org-wl.el (org-wl-open): Remove useless call to
31909         `wl-thread-open-all'.
31911         * org-remember.el (org-remember-handler): Fix bug with `bottom'
31912         location.
31914         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
31915         `org-bbdb-anniversaries'.
31917         * org.el (org-get-next-sibling, org-forward-same-level):
31918         New functions, similar to the outline versions, but invisible headings
31919         are OK.
31921 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31923         * org.el (org-auto-repeat-maybe): Insert a space between
31924         the timestamp's type and the timestamp itself.
31926 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31928         * org-table.el (org-table-sum): Do not format the result with %g,
31929         it does rounding when there are too many digits.
31931         * org.el (org-map-entries): Protect the keyword-selecting variables.
31933 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31935         * org-agenda.el (org-agenda-to-appt): Make sure the function check
31936         against all agenda files.
31938 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31939             Bastien Guerry  <bzg@gnu.org>
31941         * org-list.el: New file, aggregating list functions from org.el
31942         and org-export-latex.el.
31944 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31946         * org.el (org-edit-src-region-extra): New option.
31948         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
31949         time before 1am.
31951 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31953         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
31955 2008-10-12  James TD Smith  <ahktenzero@mohorovi.cc>
31957         * org-plot.el (org-plot/gnuplot): Make tables starting with a
31958         hline work correctly.
31959         (org-plot/gnuplot-script): Put commas at the end of each script
31960         line.
31962         * org.el (org-get-refile-targets): Replace links with their
31963         descriptions.
31964         (org-imenu-get-tree): Replace links with their descriptions.
31966         * org-remember.el (org-remember-apply-template): Add a new
31967         expansion for adding properties to remember items.
31969         * org.el (org-add-log-setup): Skip over drawers (properties,
31970         clocks etc) when adding notes.
31972         * org-agenda.el (org-agenda-get-closed): Show durations of clocked
31973         items as well as the start and end times.
31975         * org-compat.el (org-get-x-clipboard-compat): Add a compat
31976         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
31978         * org-remember.el (org-get-x-clipboard): Use the compat
31979         function to get clipboard values when x-selection-value is
31980         unavailable.  Use substring-no-properties instead of
31981         set-text-properties to remove text properties from the clipboard
31982         value.
31984         * org-clock.el (org-update-mode-line): Support limiting the
31985         modeline clock string, and display the full todo value in the
31986         tooltip.  Set a local keymap so mouse-3 on the clock string goes to
31987         the currently clocked task.
31988         (org-clock-string-limit): Add a custom value for the maximum
31989         length of the clock string in the modeline.
31990         (org-clock-mode-map): Add a keymap for the modeline string.
31992 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
31994         * org-compat.el (org-propertize): New function.
31996 2008-10-12  Bastien Guerry  <bzg@gnu.org>
31998         * org-export-latex.el (org-export-latex-tables): Protect exported
31999         tables from further special chars conversion.
32000         (org-export-latex-preprocess): Preserve LaTeX environments.
32001         (org-list-parse-list): Parse descriptive lists.
32002         (org-list-to-generic, org-list-to-latex, org-list-to-html)
32003         (org-list-to-texinfo): Export descriptive lists.
32004         (org-quote-chars): Remove.
32005         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
32006         (org-export-latex-list-beginning-re): Rename to
32007         `org-list-beginning-re'.
32008         (org-list-item-begin): Rename to `org-list-item-beginning'.
32010 2008-10-12  Eric Schulte  <schulte.eric@gmail.com>
32012         * org-plot.el: New file.
32014 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
32016         * org.el (org-refile): Allow refiling to the last entry in the
32017         buffer.
32018         (org-get-tags-at): Fix bug when inheritance is turned off.
32020         * org.el (org-indent-line-function): No longer check for src
32021         regions, this is too much overhead.
32023         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
32024         matching.
32026         * org.el (org-scan-tags): Make sure that tags matching is not case
32027         sensitive.  TODO keyword matching is case sensitive, however, to
32028         avoid confusion with similar words that are not meant to be
32029         keywords.
32031         * org.el (org-get-local-tags-at): New function.
32032         (org-get-local-tags): New function.
32034         * org-exp.el (org-export-get-categories): New function.
32036         * org-agenda.el (org-sorting-choice)
32037         (org-agenda-sorting-strategy, org-agenda-get-todos)
32038         (org-agenda-get-timestamps, org-agenda-get-deadlines)
32039         (org-agenda-get-scheduled, org-agenda-get-blocks)
32040         (org-entries-lessp): Implement sorting by TODO state.
32041         (org-cmp-todo-state): New defsubst.
32043         * org-colview.el (org-colview-construct-allowed-dates):
32044         New function.
32045         (org-columns-next-allowed-value):
32046         Use `org-colview-construct-allowed-dates'.
32048         * org.el (org-protect-slash): New function.
32049         (org-get-refile-targets): Use `org-protect-slash'.
32051         * org-agenda.el (org-global-tags-completion-table): New variable.
32053         * org-exp.el (org-export-handle-export-tags): New function.
32054         (org-export-preprocess-string):
32055         Call `org-export-handle-export-tags'.
32057         * org-publish.el (org-publish-expand-components): Function removed.
32058         (org-publish-expand-projects): Allow components to have components.
32060         * org.el (org-indent-line-function): Do not indent in regions that
32061         are external source code.
32062         (org-yank-and-fold-if-subtree): New function.
32064         * org-agenda.el (org-agenda-todayp): New function.
32065         (org-agenda-get-deadlines, org-agenda-get-scheduled):
32066         Use `org-agenda-todayp'.
32068         * org.el (org-insert-heading-respect-content)
32069         (org-insert-todo-heading-respect-content): New commands.
32070         (org-insert-heading-respect-content): New option.
32071         (org-insert-heading): Respect `org-insert-heading-respect-content'.
32073         * org-clock.el (org-clock-find-position): Make sure the note after
32074         the clock line gets moved into the new clock drawer.
32076         * org-id.el (org-id-new): New option.
32078         * org-table.el (org-table-copy-down): Avoid overflow during
32079         increment.  Use prefix argument 0 to temporarily disable the
32080         increment.
32082         * org-exp.el (org-export-as-html): Do not turn on the major mode
32083         if the buffer will be killed anyway.
32084         (org-get-current-options): Exclude the #+TEXT field.
32085         (org-export-as-html): Make sure text before the first headline is
32086         a paragraph.
32088         * org-publish.el (org-publish-org-to): Tell the exporter that this
32089         buffer will be killed, so it is not necessary to do major mode
32090         initialization.
32092         * org-archive.el (org-archive-to-archive-sibling): Show empty
32093         lines after folding the archive sibling.
32095         * org.el (org-log-note-extra): New variable.
32097 2008-10-12  Bastien Guerry  <bzg@gnu.org>
32099         * org.el (org-additional-option-like-keywords): Add keywords for
32100         the _QUOTE, _VERSE and _SRC environments.
32102         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
32103         exporting _QUOTE and _VERSE environments.
32105 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
32107         * org-agenda.el (org-agenda-filter-by-tag): New command.
32109         * org-exp.el (org-get-current-options): Remove angular brackets
32110         from the date entry.
32112         * org.el (org-edit-fixed-width-region): New function.
32113         (org-edit-fixed-width-region): Also try
32114         `org-edit-fixed-width-region'.
32115         (org-edit-fixed-width-region-mode): New option.
32116         (org-activate-code): Only interpret lines starting with colon
32117         plus a space as example lines.
32119         * org-remember.el (org-remember-templates): Add nil instead of
32120         empty strings to fix the length of remember templates.
32122         * org-table.el (org-calc-default-modes): Fix the time format for
32123         calc, from 12 hour to 24 hour clock.
32125         * org-agenda.el (org-agenda-get-deadlines)
32126         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
32127         entries that are pre-warnings of deadlines or reminders.
32129         * org.el (org-sort-entries-or-items): Make numeric and alpha
32130         comparisons ignore any TODO keyword and priority cookie.
32132         * org-remember.el (org-remember-handler): Reinterpretation of the
32133         prefix argument.
32135         * org-agenda.el (org-agenda-get-scheduled): Use new
32136         `org-scheduled' face.
32138         * org-faces.el (org-scheduled): New face.
32140         * org-wl.el (org-wl-open): Remove incorrect declaration.
32142         * org-gnus.el (org-gnus-store-link): Support for :to information
32143         in gnus links.
32145         * org-exp.el (org-export-as-html): Fix typo in creator
32146         information.
32147         (org-export-protect-examples): New parameter indent.  Insert extra
32148         spaces only when this parameter is specified.
32149         (org-export-preprocess-string): Call `org-export-protect-examples'
32150         with an indentation parameter when exporting to ASCII.
32152         * org-remember.el (org-remember-templates)
32153         (org-remember-apply-template): Allow the file component to be a
32154         function.
32156         * org.el (org-goto-local-search-headings): Rename from
32157         `org-goto-local-search-forward-headings'.  Added the possibility
32158         to search backwards.
32160         * org-export-latex.el (org-export-latex): New customization
32161         group.
32163         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
32165         * org-exp.el (org-html-do-expand): Allow {} to terminate
32166         tex macro.
32168         * org.el (org-buffer-list): Select buffers based on major mode,
32169         not on file name.
32171         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
32172         face property.
32174         * org-colview.el (org-columns-display-here):
32175         Use `org-columns-modify-value-for-display-function'.
32177         * org.el (org-columns-modify-value-for-display-function): New option.
32179         * org-publish.el (org-publish-file): Make sure the directory match
32180         for the publishing directory works correctly.
32182         * org-agenda.el (org-agenda-execute-calendar-command)
32183         (org-agenda-diary-entry): Additional optional argument.
32185 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
32187         * org-exp.el (org-export-as-html): Add attributes also in mailto
32188         and ftp links.
32190         * org.el (org-autoload): Add `org-dblock-write:columnview'.
32192 2008-08-11  Glenn Morris  <rgm@gnu.org>
32194         * org-mac-message.el (do-applescript): Fix declaration.
32196 2008-08-10  Glenn Morris  <rgm@gnu.org>
32198         * org-exp.el (org-export-as-html): Let-bind `i'.
32200         * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
32201         (org-extract-attributes): Let-bind `key', `value'.
32202         (org-make-tags-matcher): Let-bind `time-p'.
32204 2008-07-27  Carsten Dominik  <dominik@science.uva.nl>
32206         * org-install.el: New file.
32208 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
32210         * org-exp.el (org-export-html-style)
32211         (org-export-html-style-extra): Declare as safe-local-variable.
32213 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
32215         * org-publish.el (org-publish-file): Use the true name of the
32216         file.
32218         * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
32219         instead of :style.
32221         * org-exp.el (org-export-plist-vars)
32222         (org-export-add-options-to-plist): Handle creator setting flag.
32223         (org-export-as-html): Handle attributes also for ftp and mailto
32224         links.
32226         * org-agenda.el (org-agenda-diary-entry)
32227         (org-agenda-execute-calendar-command): Cater for the second
32228         argument of `calendar-cursor-to-date'.
32230 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
32232         * org-exp.el (org-export-region-as-html, org-export-as-html):
32233         Make sure that calls from `org-export-region-as-html' do not do the
32234         special check for a subtree.
32236         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
32238         * org.el (org-open-file):
32239         Use `org-open-directory-means-index-dot-org'.
32240         (org-open-directory-means-index-dot-org): New option.
32242         * org.el (org-make-link-string): Remove link attributes from
32243         description.
32244         (org-open-at-point): Remove link attributes before using the path.
32246         * org-exp.el (org-export-as-html): Handle link attributes.
32248         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
32250         * org-table.el (org-table-to-lisp): New function.
32252         * org.el (org-narrow-to-subtree): Do not include the final newline
32253         into the narrowed region.
32255         * org-agenda.el (org-agenda-custom-commands-local-options):
32256         Fix bug with user-define skipping condition.
32258         * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
32260         * org-exp.el (org-export-html-style-default): Automatic overflow
32261         handling for pre fields.
32262         (org-export-as-ascii, org-export-as-html): Change default format
32263         for time stamp.
32265         * org-table.el (org-table-export): Offer completion for translator
32266         functions, and do not require a heading above the table.
32268         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
32269         Cater for the case of a list starting in the first line of the
32270         buffer.
32272         * org-publish.el (org-publish-find-title): Bug fix.
32273         (org-publish-org-index): Implement new :index-style option.
32275         * org-publish.el (org-publish-timestamp-filename):
32276         Use SHA1-encoded file names in the timestamp directory.
32278         * org-publish.el (org-publish-needed-p): Be verbose about files
32279         published and files skipped.
32281         * org-exp.el (org-export-preprocess-string): Swap link
32282         normalization and internal link targeting.
32284         * org-publish.el (org-publish-needed-p): Create timestamp
32285         directory when it does not exist.
32287         * org-clock.el (org-clock-out-when-done): Doc fix.
32289         * org.el (org-agenda-skip-unavailable-files): Doc fix.
32291         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
32292         Ignore case when searching for the COMMENT cookie at export time.
32294         * org-exp.el (org-get-file-contents)
32295         (org-get-and-remove-property): New functions.
32296         (org-export-handle-include-files): Handle the new prefix options.
32297         (org-export-as-html): Fix the verse environment.
32299         * org.el (org-time=, org-time<, org-time<=, org-time>)
32300         (org-time>=, org-time<>, org-2ft): New functions.
32301         (org-op-to-function): Also provide for the time testing functions.
32303         * org-exp.el (org-export-html-style-default): New constant.
32305         * org-exp.el (org-export-html-style-extra): New variable.
32306         (org-export-splice-style): New function.
32308         * org-exp.el (org-export-plist-vars, org-export-as-html):
32309         Implement `org-export-creator-info'.
32310         (org-export-creator-info): New option.
32312         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
32313         (org-property-drawer-re, org-clock-drawer-re): New constants.
32315         * org-exp.el (org-icalendar-use-deadline)
32316         (org-icalendar-use-scheduled): New options.
32317         (org-icalendar-include-todo): Default changed to t.
32318         (org-print-icalendar-entries): Implement better utilization of
32319         scheduling and deadline time stamps.
32320         (org-export-target-internal-links, org-export-as-html): Allow file
32321         lines without the "file:" prefix if the file path is an absolute
32322         path or starts with ".".
32324         * org-clock.el (org-clocktable-shift): Also understand yesterday,
32325         lastweek etc.
32326         (org-clock-special-range): Also understand yesterday, lastweek etc.
32328         * org.el (org-agenda-skip-archived-trees): Docstring now
32329         discourages using this.
32330         (org-scan-tags): Check for org-agenda-archives-mode.
32331         (org-map-entries): Make sure org-agenda-archives-mode is nil.
32332         (org-agenda-files): Functionality of second arg changed.
32334         * org-agenda.el (org-agenda-archives-mode): New variable.
32335         (org-write-agenda, org-prepare-agenda, org-agenda-list)
32336         (org-search-view, org-todo-list, org-tags-view)
32337         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
32338         `ifmode' argument.
32339         (org-agenda-quit): Reset the archives mode.
32340         (org-agenda-archives-mode): New command.
32341         (org-agenda-set-mode-name): Include archives info.
32343         * org.el (org-paste-subtree): Make sure the yanked headline is
32344         visible if it was yanked at a visible point.
32345         (org-move-item-up): Fix the bug with moving white space at the end
32346         of the item.
32347         (org-show-empty-lines-in-parent): New function.
32349 2008-07-19  Juri Linkov  <juri@jurta.org>
32351         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
32352         new keymap `narrow-map' instead of binding "\C-xns".
32354 2008-07-02  Juanma Barranquero  <lekktu@gmail.com>
32356         * org.el (org-agenda-skip-unavailable-files):
32357         * org-clock.el (org-clock-out-when-done): Doc fixes.
32359 2008-06-18  Glenn Morris  <rgm@gnu.org>
32361         * org.el (org-map-entries): Let-bind `file'.
32363 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32365         * org-colview.el (org-columns-next-allowed-value): Bug fix.
32367         * org-agenda.el (org-agenda-get-closed): Get the end time into the
32368         agenda prefix as well.
32370         * org-publish.el (org-publish-org-index): Make a properly indented
32371         list.
32373         * org.el (org-calendar-agenda-action-key): New option.
32374         (org-get-cursor-date): New function.
32375         (org-mark-entry-for-agenda-action): New command.
32376         (org-overriding-default-time): New variable.
32377         (org-read-date): Respect `org-overriding-default-time'.
32379         * org-remember.el (org-remember-apply-template): Respect the
32380         overriding default time.
32382         * org-agenda.el (org-agenda-action-marker): New variable.
32383         (org-agenda-action): New command.
32384         (org-agenda-do-action): New function.
32386 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32388         * org.el (org-schedule, org-deadline): Protect scheduled and
32389         deadline tasks against changes that accidentally remove the
32390         repeater.  Also show a message with the new date when done.
32392 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32394         * org.el (org-beginning-of-line): Cater for the case when there
32395         are tags but no headline text.
32396         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
32397         it set.
32399 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32401         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
32402         the return value is nil instead of "nil" when there is no match.
32404         * org-exp.el (org-insert-centered): Use fill-column instead of
32405         80.
32406         (org-export-as-ascii): Use string-width to measure the width of
32407         the heading.
32409         * org.el (org-diary-to-ical-string): No longer kill buffer
32410         FROMBUF, this is now done by the caller.
32412         * org-exp.el (org-print-icalendar-entries): Move the call to
32413         `org-diary-to-ical-string' out of the loop, and kill the buffer
32414         afterwords.
32416         * org-remember.el (org-remember-visit-immediately):
32417         Position cursor after moving to the note.
32418         (org-remember-apply-template): Use a text property to record the
32419         cursor position.
32420         (org-remember-handler): Align tags after pasting the note.
32422 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32424         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
32426         * org-agenda.el (org-agenda-open-link): If there is an
32427         org-bbdb-name property in the current line, jump to that bbdb
32428         entry.
32430         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
32431         text property, so that the agenda knows where this entry comes
32432         from.
32434         * org-agenda.el (org-agenda-clock-in): Fix bug in the
32435         interaction between clocking-in from the agenda, and  automatic
32436         task state switching.
32438         * org-macs.el (org-with-point-at): Bug fix in macro definition.
32440         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
32441         zmacs-region stays after this command in XEmacs.
32443 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32445         * org.el (org-scan-tags): Allow new values for ACTION parameter.
32447         * org-remember.el (org-remember-templates): Fix bug in
32448         customization type definition.
32450         * org.el (org-map-entries): New function.
32452 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32454         * org-agenda.el (org-agenda-skip-comment-trees): New option.
32455         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
32457 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32459         * org-remember.el (org-jump-to-target-location): New variable.
32460         (org-remember-apply-template):
32461         Set `org-remember-apply-template' if requested by template.
32462         (org-remember-handler): Start an idle timer to jump to
32463         remember location.
32465         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
32467         * org.el (org-set-regexps-and-options): Fix bug with parsing of
32468         file tags.
32469         (org-get-tags-at): Add the content of `org-file-tags'.
32471         * org-exp.el (org-export-handle-comments): Fix bug with several
32472         comment lines after each other.
32473         (org-number-to-roman, org-number-to-counter): New functions.
32474         (org-export-section-number-format): New option.
32476 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32478         * org-exp.el (org-export-protect-examples): Catch the case of a
32479         missing end_example line.
32481         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
32482         `org-file-tags' to nil.
32484         * org-colview.el (org-columns-next-allowed-value): Handle next
32485         argument NTH to directly select a value.
32487 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32489         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
32491 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32493         * org.el (org-columns-ellipses): New option.
32495 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32497         * org-colview.el (org-columns-add-ellipses): New function.
32498         (org-columns-compact-links): New function.
32499         (org-columns-cleanup-item): Call `org-columns-compact-links'.
32500         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
32501         when in agenda.
32502         (org-columns-edit-value): Fix bug with editing values from
32503         agenda column view.
32504         (org-columns-redo): Also redo the agenda itself.
32506 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32508         * org-agenda.el (org-agenda-columns-remove-prefix-from-item):
32509         New option.
32511         * org-colview.el (org-agenda-columns-cleanup-item): New function.
32513         * org-exp.el (org-export-ascii-preprocess): Rename from
32514         `org-export-ascii-clean-string'.
32515         (org-export-kill-licensed-text)
32516         (org-export-define-heading-targets)
32517         (org-export-handle-invisible-targets)
32518         (org-export-target-internal-links)
32519         (org-export-remove-or-extract-drawers)
32520         (org-export-remove-archived-trees)
32521         (org-export-protect-quoted-subtrees)
32522         (org-export-protect-verbatim, org-export-protect-examples)
32523         (org-export-select-backend-specific-text)
32524         (org-export-mark-blockquote-and-verse)
32525         (org-export-remove-comment-blocks-and-subtrees)
32526         (org-export-handle-comments, org-export-mark-radio-links)
32527         (org-export-remove-special-table-lines)
32528         (org-export-normalize-links)
32529         (org-export-concatenate-multiline-links)
32530         (org-export-concatenate-multiline-emphasis): New functions,
32531         obtained from splitting the export preprocessor.
32533         * org-table.el (org-table-recalculate): Improve error message if
32534         the row number is invalid.
32536 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32538         * org-archive.el (org-archive-save-context-info): Fix bugs in
32539         customization setup and docstring.
32541         * org-exp.el (org-export-html-style): Change the size of in the
32542         <pre> element to 90%.
32544 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32546         * org.el (org-find-src-example-start): Function removed.
32547         (org-edit-src-find-region-and-lang): New function.
32549 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32551         * org.el (org-edit-src-exit): New function.
32552         (org-exit-edit-mode): New minor mode.
32554         * org-exp.el (org-export-preprocess-string): Fix bug with removing
32555         comment-like lines from protected examples.
32557         * org.el (org-edit-src-example, org-find-src-example-start)
32558         (org-protect-source-example, org-edit-special): New functions.
32560 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32562         * org-publish.el (org-publish-project-alist): Fix typo in
32563         docstring.
32564         (org-publish-project-alist): Handle :index-title property.
32566 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32568         * org-export-latex.el (org-export-as-latex): Make sure region
32569         bounds are correct.  Parse subtree properties relating to export.
32571         * org-exp.el (org-export-add-options-to-plist): New function.
32572         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
32574 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32576         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
32577         EXPORT_TITLE.
32579         * org-exp.el (org-export-get-title-from-subtree)
32580         (org-export-as-ascii, org-export-as-html): Make sure the original
32581         region-beginning and region-end are used, even after moving point.
32582         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
32583         property.
32585         * org-remember.el (org-remember-last-stored-marker): New variable.
32586         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
32587         (org-remember-handler): Also use marker to remember
32588         last-stored position.
32590         * org.el (org-goto-marker-or-bmk): New function.
32592 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32594         * org.el (org-file-properties): Rename from `org-local-properties'.
32595         (org-scan-tags): Take file tags into account.
32596         (org-tags-match-list-sublevels): Default changed to t.
32598         * org-exp.el (org-export-as-html): Close paragraph after a footnote.
32600         * org.el (org-update-parent-todo-statistics): New function.
32602         * org-exp.el (org-icalendar-store-UID): New option.
32603         (org-icalendar-force-UID): Option removed.
32604         (org-print-icalendar-entries): IMplement UIDs.
32606 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32608         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
32610 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32612         * org-faces.el (org-column): Document how this face is being used
32613         and why sometimes the background faces shine through.
32615         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
32617         * org-publish.el (org-publish-attachment): Create publishing
32618         directory if it does not yet exist.
32620         * org-table.el (org-calc-default-modes): Change default number
32621         format to (float 8).
32623         * org.el (org-olpath-completing-read): New function.
32624         (org-time-clocksum-format): New option.
32625         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
32627         * org-clock.el (org-clock-display, org-clock-out)
32628         (org-update-mode-line): Use `org-time-clocksum-format'.
32630         * org-colview.el (org-columns-number-to-string):
32631         Use `org-time-clocksum-format'.
32633 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32635         * org-id.el: New file, move from contrib to core.
32637         * org-exp.el (org-icalendar-force-UID): New option.
32639 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32641         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
32642         shifted by one day if there is a date range without an end time.
32644         * org.el (org-try-structure-completion): New function.
32646 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32648         * org.el (org-set-font-lock-defaults): Improve fontification of
32649         description lists.
32650         (org-insert-item): Handle description lists.
32651         (org-adaptive-fill-function): Improve auto indentation in
32652         description lists.
32654         * org-exp.el (org-export-as-html, org-export-preprocess-string):
32655         Implement VERSE environment.
32656         (org-export-preprocess-string): Implement the COMMENT
32657         environment.
32659         * org-export-latex.el (org-export-latex-preprocess):
32660         Implement VERSE environment.
32662 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32664         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
32665         option.
32667 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32669         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
32671         * org.el (org-quote-csv-field): New functions.
32673         * org-table.el (org-table-export-default-format): Remove :splice
32674         from default format, we get the same effect by not specifying
32675         :tstart and :tend.
32676         (org-table-export): Improve setup, distinguish better between
32677         interactive and non-interactive use, allow specifying the format
32678         on the fly, better protection against wrong file names.
32679         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
32680         and :tend when :splice is omitted.
32682 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32684         * org-clock.el (org-clock-select-task): Make sure the selection
32685         letters are 1-9 and A-Z, no special characters.
32687 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32689         * org-exp.el (org-export-htmlize): New group.
32690         (org-export-htmlize-output-type)
32691         (org-export-htmlize-css-font-prefix): New options.
32692         (org-export-htmlize-region-for-paste): New function.
32693         (org-export-htmlize-generate-css): New command.
32695 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32697         * org.el (org-set-visibility-according-to-property): New function.
32698         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
32699         and compute the regular expressions, and update font-lock.
32700         (org-property-re): Allow a dash in property names.
32702         * org-archive.el (org-extract-archive-file): Insert the file name
32703         without the path into the format, to allow the location format to
32704         contain a subdirectory.
32706         * org-agenda.el (org-agenda-post-command-hook): If point is at end
32707         of buffer, and the `org-agenda-type' property undefined, use the
32708         value from the character before.
32710         * org.el (org-add-planning-info): Don't let indentation for
32711         would-be timestamp become extra whitespace at the end of headline.
32713 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32715         * org.el (org-remove-double-quotes, org-file-contents):
32716         New functions.
32718         * org-exp.el (org-infile-export-plist): Also parse the
32719         contents of #+SETUPFILE files, recursively.
32721         * org.el (org-set-regexps-and-options): Also parse the
32722         contents of #+SETUPFILE files, recursively.
32724         * org-exp.el (org-export-handle-include-files): New function.
32725         (org-export-preprocess-string):
32726         Call `org-export-handle-include-files'.
32728         * org.el (org-delete-property-globally)
32729         (org-delete-property, org-set-property): Ignore case during
32730         completion.
32731         (org-set-property): Use `org-completing-read' instead of
32732         `completing-read'.
32734         * org.el (org-complete-expand-structure-template): New,
32735         experimental function.
32736         (org-structure-template-alist): New, experimental option.
32737         (org-complete): Call `org-complete-expand-structure-template'.
32739 2008-06-17  Bastien Guerry  <bzg@gnu.org>
32741         * org-export-latex.el (org-export-latex-preprocess):
32742         Add support for blockquotes.
32744 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32746         * org.el (org-read-date-analyze): Catch the case where only a
32747         weekday is given.
32749 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32751         * org.el (org-set-font-lock-defaults): Make the description
32752         tag bold.
32754         * org-exp.el (org-export-as-html, org-close-li):
32755         Implement description lists.
32757 2008-06-17  Jason Riedy  <jason@acm.org>
32759         * org-table.el (*orgtbl-default-fmt*): New variable.
32760         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
32761         when there is no other fmt available.
32763         (orgtbl-to-generic): Allow an explicitly nil :tstart or
32764         :tend to suppress the appropriate string.
32766         (orgtbl-to-orgtbl): New function for translating to another orgtbl
32767         table.
32769 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32771         * org.el (org-read-date-analyze): "." as an alias for "+0" in
32772         read date.
32774         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
32775         New function.
32777         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
32778         New function.
32780 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32782         * org-clock.el (org-clock-find-position): Don't include notes
32783         into clock drawer.
32785         * org-archive.el (org-archive-subtree): No longer remove an
32786         extra line after cutting the subtree.  `org-cut-subtree' already
32787         takes care of this.
32789         * org-remember.el (org-remember-handler): Only kill the target
32790         buffer if it does not contain the running clock.
32792         * org.el (org-markers-to-move): New variable.
32793         (org-save-markers-in-region, org-check-and-save-marker)
32794         (org-reinstall-markers-in-region): New function.
32795         (org-move-subtree-down, org-copy-subtree): Remember relative
32796         marker positions before cutting.
32797         (org-move-subtree-down, org-paste-subtree): Restore relative
32798         marker positions after pasting.
32800         * org-remember.el (org-remember-clock-out-on-exit): New option.
32801         (org-remember-finalize): Clock out only if the setting in
32802         `org-remember-clock-out-on-exit' requires it.
32803         (org-remember-handler): Do the cleanup in the buffer, to make sure
32804         that the clock marker remains in tact.
32806 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32808         * org-clock.el (org-clock-goto): Widen buffer if necessary.
32809         (org-clock-in): Make sure that also tasks outside the narrowed
32810         region will be clocked in correctly.
32811         (org-clock-insert-selection-line): Widen the buffer so that we can
32812         find the correct task heading.
32814         * org.el (org-base-buffer): New function.
32816         * org-exp.el (org-icalendar-cleanup-string): Make sure ","
32817         and ";" are escaped.
32818         (org-print-icalendar-entries): Also apply
32819         `org-icalendar-cleanup-string' to the headline, not only to the
32820         summary property.
32822 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
32824         * org-exp.el (org-export-preprocess-hook): New hook.
32825         (org-export-preprocess-string): Call `org-export-preprocess-hook'.
32827         * org.el (org-font-lock-hook): New variable.
32828         (org-font-lock-hook): New function.
32829         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
32831 ;; Local Variables:
32832 ;; coding: utf-8
32833 ;; add-log-time-zone-rule: t
32834 ;; End:
32836         Copyright (C) 2008-2017 Free Software Foundation, Inc.
32838   This file is part of GNU Emacs.
32840   GNU Emacs is free software: you can redistribute it and/or modify
32841   it under the terms of the GNU General Public License as published by
32842   the Free Software Foundation, either version 3 of the License, or
32843   (at your option) any later version.
32845   GNU Emacs is distributed in the hope that it will be useful,
32846   but WITHOUT ANY WARRANTY; without even the implied warranty of
32847   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
32848   GNU General Public License for more details.
32850   You should have received a copy of the GNU General Public License
32851   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.