Spelling fixes.
[emacs.git] / lisp / org / ChangeLog
blobe116129521f1eb05a84ded2b61cd7736e2ee6d20
1 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
3         Spelling fixes.
4         * org-irc.el (org-irc-ellipsify-description): Rename from
5         org-irc-elipsify-description.  All uses changed.
7 2013-01-07  Bastien Guerry  <bzg@gnu.org>
9         * org-clock.el (org-clock-cancel-hook)
10         (org-clock-leftover-time): Fix typo in docstring.
12         * ox-odt.el (org-odt--frame): Add a draw:name property to the
13         draw:frame tag.
14         (org-odt-format-label): Don't use short-caption at all.
16         * org-rmail.el (org-rmail-follow-link): Don't raise an error when
17         no article is matched.
19         * org.el (org-set-tags): Ignore invisible text when restoring
20         cursor position.
21         (org-refile-get-location): Check for a refile position when the
22         position is not nil, otherwise allow to create the parent node if
23         the user requests it.
24         (org-refile-allow-creating-parent-nodes): Fix typo in
25         docstring.
26         (org-entry-get): Minor docstring enhancement.
27         (org-set-startup-visibility): Bugfix.
28         (org-shiftcontrolup, org-shiftcontroldown): When
29         `org-support-shift-select' is not `nil', let-bind it to nil if
30         point is on a clock log.  Otherwise throw an error.
32         * ob-lob.el (org-babel-lob-files): Fix custom type.
33         (org-babel-lob-ingest): Small docstring fix.
35         * org-agenda.el (org-cmp-ts): Fix bug: interpret `late' as
36         `later than any date' instead of `later than today'.
38         * org.el (org-do-emphasis-faces): Handle false positives by
39         restarting the re-search one char after the beginning of the
40         match, not one char before its ending.
41         (org-entry-put): Check that the value provided is a string.  If it
42         is nil, convert it to the empty string.
44         * ob-latex.el (org-babel-latex-htlatex-packages): Use repeat
45         instead of list as the defcustom type.
47         * ox.el (org-export-with-creator):
48         * org.el (org-loop-over-headlines-in-active-region)
49         (org-mouse-1-follows-link, org-provide-todo-statistics):
50         * org-agenda.el (org-agenda-custom-commands-local-options)
51         (org-agenda-start-with-log-mode)
52         (org-agenda-show-inherited-tags): Don't quote const values.
54         * ox-texinfo.el (org-texinfo-def-table-markup):
55         * org-inlinetask.el (org-inlinetask-show-first-star):
56         * ob-maxima.el (org-babel-maxima-command): Add type.
58         * org-table.el (org-table-fix-formulas): Handle multiple
59         #+tblfm: lines.
61         * ox.el (org-export-to-file): Fix typo in docstring.
63         * org.el (org-self-insert-command)
64         (orgtbl-self-insert-command): Change the value of the
65         `delete-selection' property to allow other commands like
66         `electric-pair-will-use-region' to be run before deletion.
68         * org-attach.el (vc-git): Require.
69         (org-attach-commit): Check whether git is installed.
71 2013-01-07  Nicolas Goaziou  <n.goaziou@gmail.com>
73         * ox-icalendar.el (org-icalendar--combine-files): Make sure
74         anniversaries do not end up in *Message* buffer instead of the ICS
75         file.
77         * ox-html.el: Clean up "FIXME" comments.
79         * ox-publish.el (org-publish-resolve-external-fuzzy-link): Fix
80         docstring.
82         * ox.el (org-export-smart-quotes-regexps): Fix smart quote
83         detection when it is followed by an open parenthesis syntax class.
85         * org-element.el (org-element-inline-babel-call-successor): Use
86         original regexp to stay up-to-date with Babel changes.
87         (org-element--affiliated-re): Fix affiliated keyword regexp.
89         * ox-org.el (org-org-identity): Since back-end specific keywords
90         are stripped from output, also remove attr_backend keywords.
91         (org-babel-exp-process-buffer): Fix duplicate evaluation with
92         :wrap src.
93         (org-babel-exp-non-block-elements): Removed function.
95 2013-01-07  Ted Wiles  <thewiles@wharton.upenn.edu>  (tiny change)
97         * org-habit.el (org-habit-parse-todo): Match all TODO keywords,
98         not just "TODO".
100 2013-01-07  U-usuario  <rbenit68@yahoo.es>  (tiny change)
102         * ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Fix code
103         typo.
105 2013-01-07  Vladimir Lomov  <lomov.vl@gmail.com>  (tiny change)
107         * ox-html.el (org-html-style-default): New classes caption.t-above
108         and caption.t-bottom.
109         (org-html-table): Use new classes.
111 2013-12-23  Chong Yidong  <cyd@gnu.org>
113         * org.el (orgstruct-make-binding): Call set-transient-map instead
114         of old name set-temporary-overlay-map.
116 2013-12-06  Achim Gratz  <Stromeko@Stromeko.DE>
118         * org-crypt.el: Declare `epg-context´.
119         (org-encrypt-string): Correct indentation.
121         * org.el (org-version): Replace `_version´ by `version1´.
123 2013-12-06  Alexander Vorobiev  <alexander.vorobiev@gmail.com>  (tiny change)
125         * org-compat.el (org-get-x-clipboard): Use w32-get-clipboard-data
126         to get the clipboard data under Windows.
128 2013-12-06  Bastien Guerry  <bzg@gnu.org>
130         * ox.el (org-export-with-sub-superscripts):
131         * org.el (org-use-sub-superscripts): Fix version and enhance
132         docstring again.
134         * ox.el (org-export-with-sub-superscripts):
135         * org.el (org-use-sub-superscripts): Enhance docstrings.
137         * org-macs.el (org-autoload): Delete.
139         * org-docview.el ("docview"): Fix declarations and require
140         doc-view directly.
142         * org-id.el (org-id-copy)
143         (org-id-get-with-outline-path-completion)
144         (org-id-get-with-outline-drilling, org-id-new):
146         * org-colview.el:
147         (org-colview-initial-truncate-line-value)
148         (org-columns-open-link, org-string-to-number):
149         * org-clock.el:
150         (org-clock-put-overlay, org-count-quarter, org-clock-loaded):
151         * org-archive.el (org-get-local-archive-location):
152         * org-agenda.el (org-agenda-todo-custom-ignore-p):
153         Autoload.
155         * org.el (org-return-follows-link):
156         * ob-python.el (org-babel-python-command): Don't use :set.
158         * ox-odt.el (org-odt-content-template-file): Fix version.
160         * ox-texinfo.el (org-texinfo-filename): Fix default value.
161         (org-texinfo-format-headline-function): Use 'ignore as the
162         default value.
163         (org-texinfo-format-drawer-function): Use a function as the
164         default value.  Update docstring.
165         (org-texinfo-drawer): Always use
166         `org-texinfo-format-drawer-function' as it is now a function
167         by default.
168         (org-texinfo-headline): Compare
169         `org-texinfo-format-headline-function' against 'ignore.
170         (org-texinfo-inlinetask): Compare
171         `org-texinfo-format-inlinetask-function' against 'ignore.
173         * ox-odt.el (org-odt-format-drawer-function): Use a function as
174         the default value.  Update docstring.
175         (org-odt-format-headline-function)
176         (org-odt-format-inlinetask-function): Fix default value.
177         (org-odt-drawer): Always use `org-odt-format-drawer-function'
178         as it is now a function by default.
179         (org-odt-format-headline--wrap): Compare
180         `org-odt-format-headline-function' against 'ignore.
182         * ox-latex.el (org-latex-format-drawer-function): Use a function
183         as the default value.  Update docstring.
184         (org-latex-format-inlinetask-function): Fix default value.
185         (org-latex-drawer): Always use
186         `org-latex-format-drawer-function' as it is now a function by
187         default.
188         (org-latex-inlinetask): Compare
189         `org-latex-format-inlinetask-function' against 'ignore.
191         * ox-html.el (org-html-format-drawer-function): Use a function as
192         the default value.  Update docstring.
193         (org-html-format-headline-function)
194         (org-html-format-inlinetask-function): Fix default value.
195         (org-html--format-toc-headline)
196         (org-html-format-headline--wrap): Compare
197         `org-html-format-headline-function' against 'ignore.
198         (org-html-inlinetask): Compare
199         `org-html-format-inlinetask-function' against 'ignore.
201         * ox-ascii.el (org-ascii-format-drawer-function): Use a
202         function as the default value.  Update docstring.
203         (org-ascii-drawer): Always use
204         `org-ascii-format-drawer-function' as it is now a function by
205         default.
206         (org-ascii-format-inlinetask-default): New function.
207         (org-ascii-format-inlinetask-function): Use
208         `org-ascii-format-inlinetask-default' as the default.
210         * org.el (org-mouse-1-follows-link): Use :set to set the default
211         value.  Update custom type.
212         (org-log-note-headings): Fix order or list items in the custom
213         type.
214         (orgstruct-heading-prefix-regexp): Use an empty string as the
215         default value.  Use 'regexp as the custom type.
216         (orgstruct-make-binding): Tiny docstring enhancement.  Assume
217         `orgstruct-heading-prefix-regexp' is a string.
219         * org-agenda.el (org-agenda-search-view-max-outline-level): Set
220         default value to 0.  Update docstring.
221         (org-agenda-deadline-leaders): Fix custom type.
222         (org-search-view): Assume
223         `org-agenda-search-view-max-outline-level' is a number.
225         * ob-ruby.el (org-babel-ruby-nil-to): Fix custom type.
227         * ob-python.el (org-babel-python-mode): Use :set to set the
228         default value.
229         (org-babel-python-None-to): Fix custom type.
231         * ob-plantuml.el (org-plantuml-jar-path): Fix default value.
232         (org-babel-execute:plantuml): Assume `org-plantuml-jar-path' is a
233         string.
235         * ob-latex.el (org-babel-latex-htlatex): Fix default value.
236         (org-babel-latex-htlatex-packages): Fix custom type.
237         (org-babel-execute:latex): Assume `org-babel-latex-htlatex' is a
238         string.
240         * ox-odt.el (org-odt-display-outline-level): Fix version.
242         * ox-odt.el (org-odt-inline-formula-rules)
243         (org-odt-inline-image-rules, org-odt-use-date-fields): Add version
244         and package-version.
246         * ox-html.el (org-html-format-drawer-function)
247         (org-html-format-headline-function)
248         (org-html-format-inlinetask-function)
249         (org-html-creator-string): Add version and package-version.
251         * ox-html.el (org-html-text-markup-alist): Fix version.
253         * org-agenda.el (org-agenda-set-restriction-lock): Autoload.
255         * ob-abc.el (org-babel-expand-body:abc): Use dolist.
256         (org-babel-execute:abc): Fix regexp quoting.
258         * ob-calc.el (org--var-syms): Rename from `var-syms'.
260         * ob-lilypond.el (ly-compile-lilyfile): Remove redundant
261         let-binding.
263         * ob-table.el (sbe): Move debug declaration.
265         * org-clock.el (org--msg-extra): Rename from `msg-extra'.
267 2013-12-06  Nicolas Goaziou  <n.goaziou@gmail.com>
269         * org.el (org-ctrl-c-ctrl-c): When point is on an unsupported
270         object, look for something to do at a higher level instead of
271         bailing out.
273         * ox-html.el (org-html-format-latex): Add an argument.  Ensure
274         latex header is the same as specified in the original buffer when
275         exporting a LaTeX fragment or environment.
276         (org-html-latex-environment, org-html-latex-fragment): Apply
277         signature change.
279         * ox-publish.el (org-publish-cache-ctime-of-src): Return an error
280         when publishing a non-existent file.
282         * org-element.el (org-element-paragraph-separate): More accurate
283         regexp.
285         * org.el (org-entry-get): Widen buffer in order to retrieve
286         properties, as `org-entry-properties' and
287         `org-entry-get-with-inheritance' already do.
289         * ox-html.el (org-html--format-toc-headline): Add missing headline
290         number in TOC entries.
292         * org.el (org-entry-properties): Ignore narrowing when retrieving
293         current headline properties.
295 2013-12-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
297         * org-crypt.el (org-encrypt-string, org-encrypt-entry)
298         (org-decrypt-entry): Fix warning.
300 2013-11-17  Paul Eggert  <eggert@cs.ucla.edu>
302         Spelling fixes.
303         * ob-python.el (org-babel-python-with-earmuffs):
304         Rename from org-babel-python-with-earmufs.  All uses changed.
305         (org-babel-python-without-earmuffs):
306         Rename from org-babel-python-without-earmufs.  All uses changed.
308 2013-11-12  Bastien Guerry  <bzg@gnu.org>
310         * org-agenda.el (org-agenda-set-restriction-lock): Autoload.
312 2013-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
314         Address some byte-compiler warnings.
315         * ob-abc.el (org-babel-expand-body:abc): Use dolist.
316         (org-babel-execute:abc): Fix regexp quoting.
317         * ob-calc.el (org--var-syms): Rename from `var-syms'.
318         * ob-lilypond.el (ly-compile-lilyfile): Remove redundant let-binding.
319         * ob-table.el (sbe): Move debug declaration.
320         * org-clock.el (org--msg-extra): Rename from `msg-extra'.
321         * org.el (org-version): Avoid var name starting with _.
322         (org-inhibit-startup, org-called-with-limited-levels)
323         (org-link-search-inhibit-query, org-time-was-given)
324         (org-end-time-was-given, org-def, org-defdecode, org-with-time):
325         * org-colview.el (org-agenda-overriding-columns-format):
326         * org-agenda.el (org-agenda-multi, org-depend-tag-blocked)
327         (org-agenda-show-log-scoped):
328         * ob-python.el (py-which-bufname, python-shell-buffer-name):
329         * ob-haskell.el (org-export-copy-to-kill-ring):
330         * ob-exp.el (org-link-search-inhibit-query):
331         * ob-R.el (ess-eval-visibly-p):
332         * ob-core.el (org-src-window-setup): Declare before use.
333         (org-babel-expand-noweb-references): Remove unused `blocks-in-buffer'.
334         * ox-odt.el (org-odt-hfy-face-to-css):
335         * org-src.el (org-src-associate-babel-session, org-src-get-lang-mode):
336         * org-bibtex.el (org-bibtex-get, org-bibtex-ask, org-bibtex)
337         (org-bibtex-check):
338         * ob-tangle.el (org-babel-tangle, org-babel-spec-to-string)
339         (org-babel-tangle-single-block, org-babel-tangle-comment-links):
340         * ob-table.el (sbe):
341         * ob-sqlite.el (org-babel-sqlite-expand-vars):
342         * ob-sql.el (org-babel-sql-expand-vars):
343         * ob-shen.el (org-babel-execute:shen):
344         * ob-sh.el (org-babel-execute:sh, org-babel-sh-evaluate):
345         * ob-scala.el (org-babel-scala-evaluate):
346         * ob-ruby.el (org-babel-ruby-table-or-string)
347         (org-babel-ruby-evaluate):
348         * ob-python.el (org-babel-python-table-or-string)
349         (org-babel-python-evaluate-external-process)
350         (org-babel-python-evaluate-session):
351         * ob-picolisp.el (org-babel-execute:picolisp):
352         * ob-perl.el (org-babel-perl-evaluate):
353         * ob-maxima.el (org-babel-execute:maxima):
354         * ob-lisp.el (org-babel-execute:lisp):
355         * ob-java.el (org-babel-execute:java):
356         * ob-io.el (org-babel-io-evaluate):
357         * ob-haskell.el (org-babel-execute:haskell):
358         * ob-fortran.el (org-babel-execute:fortran):
359         * ob-exp.el (org-babel-exp-code):
360         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
361         * ob-ditaa.el (org-babel-execute:ditaa):
362         * ob-core.el (org-babel-execute-src-block, org-babel-sha1-hash)
363         (org-babel-parse-header-arguments, org-babel-reassemble-table)
364         (org-babel-goto-src-block-head, org-babel-mark-block)
365         (org-babel-expand-noweb-references, org-babel-script-escape)
366         (org-babel-process-file-name):
367         * ob-clojure.el (org-babel-execute:clojure):
368         * ob-calc.el (org-babel-execute:calc):
369         * ob-awk.el (org-babel-execute:awk):
370         * ob-abc.el (org-babel-execute:abc):
371         * ob-R.el (org-babel-expand-body:R):
372         * ob-C.el (org-babel-C-execute): Avoid deprecated ((lambda) ...).
374 2013-11-12  Glenn Morris  <rgm@gnu.org>
376         * ox-html.el (org-html-scripts): Add 2013 to copyright years.
377         (org-html-infojs-template): Copyright holder to FSF.
379 2013-11-12  Aaron Ecay  <aaronecay@gmail.com>
381         * ox-latex.el (org-latex-inline-image-rules): Add "svg" to
382         supported filetypes.
383         (org-latex--inline-image): Implement SVG files inclusion.
384         (org-latex-headline): Don’t insert alternate title if identical to
385         regular one.
387         * ob-python.el: Update the arglist passed to `declare-function'
388         for `run-python'.
390         * ob-tangle.el (org-babel-tangle): Use `light' argument to
391         `org-babel-get-src-block-info'.
393         * ob-core.el (org-babel-execute-src-block): Return nil in case of
394         `:results none'.  Also run `org-babel-after-execute-hook' in this
395         circumstance.
397         * org-id.el (org-id-locations-save): Bind print-(level,length) to
398         nil in this function.
400         * ob-R.el (org-babel-R-graphics-devices): New defvar.
401         (org-babel-R-construct-graphics-device-call): Use it instead of a
402         hard-coded list of graphics devices.
404         * ob-core.el (org-babel-when-in-src-block): New macro.
405         (org-babel-execute-src-block-maybe)
406         (org-babel-expand-src-block-maybe)
407         (org-babel-load-in-session-maybe, org-babel-pop-to-session-maybe):
408         Use it.
409         (org-babel-execute-src-block): Use `copy-tree' to prevent setf
410         from modifying users variables withing let-bound `info' variable.
412         * ob-exp.el (org-export-babel-evaluate): Add a 'inline-only
413         option.
414         (org-babel-exp-results): Implement 'inline-only for
415         `org-export-babel-evaluate'.
417         * org.el (org-edit-special): Use prefix arg.
419         * ob-awk.el (org-babel-expand-body:awk, ob-picolisp.el)
420         (org-babel-expand-body:picolisp): Remove optional arg.
422         * ob-R.el (org-babel-R-initiate-session): Handle case where the
423         session buffer exists, but does not have a live process.
424         (org-babel-R-construct-graphics-device-call): Change file
425         extension of tikz graphics files to .tikz.
427         * org-src.el (org-edit-src-exit): Don't modify the undo list when
428         inserting the code.
430         * ox-latex.el (org-latex-plain-text): Properly escape "~" for
431         LaTeX export.
432         (org-latex-image-default-option): Change default value to "".
433         (org-latex-image-default-width, org-latex-image-default-height):
434         New variables.
435         (org-latex-inline-image-rules): Make .tikz files as exportable
436         with LaTeX.
437         (org-latex--inline-image): Support tikz images.  Also support
438         separate :width and :height parameters for images.
440         * org-bibtex.el (org-bibtex-ask): Use `visual-line-mode' instead
441         of longlines-mode.
443 2013-11-12  Abdó Roig-Maranges  <abdo.roig@gmail.com>
445         * org.el (org-format-latex): Do not re-generate a LaTeX preview if
446         the image already exists.
448         * org-agenda.el (org-agenda-search-view-max-outline-level): New
449         option to define the max level for the entries shown by the search
450         view.  A value of 1 means to show the top parent of the entries.
452         * org.el (org-create-formula-image-with-dvipng): Fix bug that made
453         this function fail with no :foreground and :background attributes
454         set, due to bad handling of "Transparent" color.  Fix bug when
455         colors are not `default'.
456         (org-format-latex-options): Add `auto' to docstring.
457         (org-format-latex): Get face colors at point and put them inside
458         opt.
459         (org-create-formula-image-with-imagemagick): Fix bug when handling
460         "Transparent" bg color.
461         (org-dvipng-color-format): Same as `org-latex-color-format' for
462         dvipng-style color specification.
464 2013-11-12  Achim Gratz  <Stromeko@Stromeko.DE>
466         * ob-core.el (org-babel-check-confirm-evaluate): Return result of
467         evaluating the function pointed to by `org-confirm-babel-evaluate'
468         when it is a functionp and its value as a variable otherwise.
469         (org-babel-get-rownames, org-table.el)
470         (org-table-transpose-table-at-point): Replace the inadvertent use
471         of mapcar* (from cl) by plain mapcar and direct cons manipulation.
472         (org-babel-params-from-properties): Use
473         `org-babel-current-src-block-location' for evaluating new-style
474         header-argument properties.  Remove superfluous save-match-data
475         clauses.  Comment which properties get evaluated where.
476         (org-babel-insert-header-arg, org-babel-parse-src-block-match):
477         Replace `if' with empty else part by `when' for readability.
478         (org-babel-params-from-properties): Inquire for language specific
479         and default header properties.  Language specific header
480         properties take precedence over default header properties and
481         old-style header property specifications.
483         * org.el (org-re-property): Re-implement using full regex for
484         `org-re-property'.  Add optional argument LITERAL to flag when
485         PROPERTY should to be regex-quoted.  Move before definition of
486         `org-re-property'.
487         (org-re-property-keyword): Remove, functionality is subsumed by
488         `org-re-property'.
489         (org-property-re): Define using `org-re-property'.  Improve
490         definition so that this regex can be
491         (org-entry-get, org-property-values): Adjust match number for
492         PROPVAL.  (org-entry-put): Use `org-re-property' instead of
493         `org-re-property-keyword'.
494         used in all situations.  Extend docstring with explanation of
495         matching groups.
496         (org-at-property-p): Implement using `org-element-at-point'.
497         (org-entry-properties, org-buffer-property-keys, org-indent-line):
498         Use `org-property-re' and adjust match group numbers accordingly.
500         * org-compat.el (define-obsolete-variable-alias)
501         (define-obsolete-function-alias): Actually remove the third (and
502         any following) argument from the argument list before calling the
503         advised function.  Extend eval-and-compile clause and add advices
504         for functions that have different parameter lists in XEmacs. Add
505         variable definitions that XEmacs lacks .
507         * ob-fortran.el (org-every): Declare.
509         * org-element.el (org-element-node-property-parser): Use
510         `org-property-re' and adjust match group numbers accordingly.
511         Move `looking-at' out of the let clause to not rely on the
512         unspecified evaluation order inside the let.
514         * ob-eval.el, ob.el, org-macro.el, org-mhe.el: Require org-macs
515         and org-compat as necessary.
517         * ob-tangle.el (org-edit-special, org-store-link)
518         (org-open-link-from-string): Declare functions.
520         * org-macs.el (declare-function): Define macro to use autoload
521         instead for XEmacs.
523         * ox-html.el, ox-odt.el: XEmacs does not have table.el, so use
524         'noerror on the require form.
526         * ox-texinfo.el (org-texinfo-table-column-widths): Fix spliced
527         argument list that XEmacs complains about by adding parenthesis.
529         * ob-octave.el (org-babel-octave-initiate-session): If octave-inf
530         can't be loaded, try octave instead before giving up.  Emacs
531         24.3.50 and upwards replaces octave-inf with just plain octave.
533         * org-id.el (org-id-update-id-locations): Autoload interactive
534         function.
536         * ob-core.el (org-babel-parse-inline-src-block-match):
537         * ob-exp.el (org-babel-exp-src-block): Give header arguments from
538         properties priority over default header arguments.
540         * ob-sh.el (org-babel-sh-var-to-sh): When detecting a table, the
541         first line could be the symbol `hline' rather than a list of table
542         cells, so check for that as well.
544         * org.el (org-table-clean-did-remove-column):
545         * org-table.el (org-table-clean-did-remove-column): Move defvar,
546         this dynamic variable is only used in org-table.
548         * org-table.el (org-table-colgroup-info): Remove unused defvar for
549         `org-table-colgroup-info'.
550         (org-table-clean-before-export): Let-bind regular expression
551         strings and remove unused matching group.  Use
552         `org-table-clean-did-remove-column' in cond statement rather than
553         branching via if to avoid code duplication.  Remove the code
554         associated with the removed `org-table-colgroup-info'.
555         (orgtbl-export): Remove unused internal function.
557         * org-macro.el (org-macro-expand): Do not try to interpret the
558         macro replacement text as a regex so that escaped backslashes and
559         commas in macro arguments will be interpreted correctly.
561         * ob-perl.el (org-babel-perl-wrapper-method): Select output handle
562         only after evaluation so that output is not mixed into results
563         eavaluation.
564         (org-babel-perl-evaluate): Fix the handling of results for
565         ":results output" to also parse tables.  Use the same lambda
566         construction as in ob-sh.el to avoid code duplication.
568         * ob-exp.el (org-babel-exp-results, org-babel-lob-execute):
569         Suppress user confirmation of the emacs-lisp wrapper execution
570         around a lob call.
572         * ob-perl.el (org-babel-perl-wrapper-method): Use TAB as separator
573         for table results as expected by
574         `org-babel-import-elisp-from-file´.
576         * ob-core.el (org-babel-number-p): String match for any number
577         moved first so that the match data for the length check does not
578         become corrupted.
579         (org-babel-confirm-evaluate-answer-no): Dynamically scoped
580         variable, if bound non-nil the confirmation dialog will not be
581         initiated and denial of evaluation is assumed.
582         (org-babel-check-confirm-evaluate): New macro to establish
583         bindings based on INFO.
584         (org-babel-check-evaluate): New defsubst that checks if the
585         evaluation of a code block is disabled.  Refactors the first part
586         of the original function `org-babel-confirm-evaluate´.
587         (org-babel-confirm-evaluate): New defsubst that checks if the user
588         should be queried and returns the answer.  Keeps the second part
589         of the original function `org-babel-confirm-evaluate´.
590         Re-implement using bindings for common subexpressions.
591         (org-babel-execute-src-block): Do not ask for confirmation if the
592         cached result is current.
593         (org-babel-call-process-region-original): Change declaration into
594         definition with nil initial value at the beginning of the file and
595         drop the later definition.  Add comment that the dynamic scoping
596         of this variable is done for tramp.
598         * org-table.el (org-table-eval-formula): The condition-case to
599         check for must be "error", not "user-error".
601         * ob-perl.el (org-babel-execute:perl): Pass `result-params´
602         through to `org-babel-perl-evaluate´.
603         (org-babel-variable-assignments:perl): Add "my" to variable
604         declaration so that it becomes compatible with "use strict;".  Use
605         new internal formatting function `org-babel-perl--var-to-perl´.
606         (org-babel-perl--var-to-perl): New internal function, uses Perl
607         non-interpolating quoting on the string that defines the variable
608         to suppress spurious interpretation of it as Perl syntax.
609         (org-babel-perl-wrapper-method): Use a block and declare all
610         variables as "my", also use Perl quoting throughout.  Redirect
611         STDOUT to the temporary file so that simply "print" will put the
612         results there.  Check the return value and output in table form if
613         it is an ARRAY ref, otherwise print it without a final newline.
614         (org-babel-perl-preface): Content of this variable is prepended to
615         body before invocation of perl.  Rename input parameter body to
616         ibody and let-bind body to concatentation of
617         `org-babel-perl-preface' and ibody.  Implement results
618         interpretation so that tables are easier to produce.
620         * ob-eval.el (org-babel-eval): Use simplified version of
621         `org-babel--shell-command-on-region´, we are the only caller of
622         this function.
623         (org-babel--shell-command-on-region): Replace
624         `org-babel-shell-command-on-region´ with a much more simplified
625         internal version, remove superfluous DOCSTRING and interactive
626         clause, strip out all conditionals which were never used.  Prevent
627         deletion of temporary input file to aid debugging when the symbol
628         `org-babel--debug-input´ is bound and has non-nil value.
630         * ob-tangle.el (org-babel-tangle): Do not change signature, a nil
631         arg is even documented in the manual.
633         * org-src.el: Change declaration of `org-babel-tangle´ to "arg"
634         for first argument.
636         * ob-core.el (org-babel-execute-src-block): Add binding for
637         merged-params to avoid multiple evaluation of
638         `org-babel-merge-params´.  Rename cache? to cache-p, add binding
639         for cache-current-p and use it.  Do not run
640         `org-babel-confirm-evaluate´ if source block has a cache and the
641         cache value is current (there is no evaluation involved in this
642         case).
644         * org.el (org-current-time): Replace call to obsolete function
645         `time-to-seconds´ with a call to compatibility function
646         `org-float-time´.
648         * org-compat.el (user-emacs-directory): If not bound, define as an
649         alias to `user-init-directory´ so that XEmacs continues to be
650         happy with Org.
652         * org-macs.el: New macro to allow the 5-argument form of load to
653         be used where possible without breaking compatibility with XEmacs.
655         * org.el (org-version, org-reload): Use
656         `org-load-noerror-mustsuffix´ instead of adding a fifth argument
657         to load directly.  Guard against undefined variable load-suffixes,
658         which doesn't exist in XEmacs.
660         * org.el: Use
661         `org-define-obsolete-{function,variable}-alias´instead of
662         `define-obsolate{function,variable}-alias´.
664         * org-compat.el (user-error): Defalias to `error´ for Emacsen that
665         don't have it.
667         * ob-python.el (org-babel-python-hline-to)
668         (org-babel-python-None-to): Specify customize group as 'org-babel
669         and widget type as 'string.
671         * ob.el (org-babel-result-cond): Macro expansion needs to unquote
672         formal parameter `result-params´.
674         * org.el (org-reload): Major rewrite.
676         * org.el (org-clock-get-last-clock-out-time): Declare function.
678 2013-11-12  Alan Schmitt  <alan.schmitt@polytechnique.org>
680         * ob-ocaml.el (org-babel-prep-session:ocaml): Use
681         `save-window-excursion' around the code starting the tuareg
682         process.
683         (org-babel-ocaml-command): New option to specify the name of the
684         toplevel to run.
685         (org-babel-prep-session:ocaml): Directly call
686         `tuareg-run-process-if-needed' with `org-babel-ocaml-command' as
687         argument.
688         (org-babel-execute:ocaml): Always append ";;" at the end of the
689         expression before sending it to the toplevel.  Do not remove the
690         type information if "verbatim" is a results parameter of the code
691         block.
692         (org-babel-ocaml-parse-output): Make sure the complete type is
693         taken into account when matching against known types.
695         * org-faces.el (org-footnote): Fix docstring.
697 2013-11-12  Andreas Leha  <andreas@lehas.net>
699         * ob-latex.el (org-babel-execute:latex): Add a tizk option that
700         copies the body of the block into a tikz file.
702 2013-11-12  Arun Persaud  <apersaud@lbl.gov>
704         * org-agenda.el (org-agenda-prefix-format): Add documentation for
705         the new %b option.
706         (org-prefix-has-breadcrumbs): Add flag, `t' when %b is set.
707         (org-agenda-format-item): Add breadcrumbs if requested.
708         (org-compile-prefix-format): Add compiled information for
709         breadcrumbs, add %b option.
711 2013-11-12  Aurélien Aptel  <aurelien.aptel@gmail.com>  (tiny change)
713         * ox-html.el (org-html-code, org-html-verbatim): Remove fancy
714         string replacements for code and verbatim text when exporting to
715         HTML.
717 2013-11-12  Bastien Guerry  <bzg@gnu.org>
719         * org.el (org-align-tags-here): Fix bug: move to the correct
720         position.
721         (org-agenda-prepare-buffers): Restore the point position.
722         (org-insert-link): Don't remove brackets when they belong to a
723         timestamp in a headline.
725         * org-capture.el (org-capture-refile): Don't finalize prematurely.
726         (org-capture): Store :return-to-wconf earlier.
727         (org-capture-place-template): Don't store :return-to-wconf when
728         called from a capture template using `function', rely on the early
729         :return-to-wconf value store from `org-capture'.
731         * org-compat.el (org-move-to-column): New argument
732         `ignore-invisible' to turn on `buffer-invisibility-spec'.
734         * org-agenda.el (org-agenda-show-new-time): Ignore invisible text
735         when inserting the new time as a text property.
736         (org-agenda-filter-make-matcher): When filtering tags and hitting
737         space, filter out entries with tags, only keep those without tags.
738         (org-agenda-drag-line-forward, org-agenda-drag-line-backward): Fix
739         bugs: don't drag lines without text and don't drag lines
740         before/after hidden lines.
742         * ox-odt.el (org-odt-table-style-format): Use %s for inserting the
743         rel-width property as a string.
744         (org-odt-template): Fall back on a string for :rel-width.
746         * org.el (org-directory, org-default-notes-file)
747         (org-reverse-note-order): Don't use the `org-remember'
748         customization group.
749         (org-require-autoloaded-modules): Don't require
750         `org-remember'.
752         * org-capture.el: Update commentary section to reflect the fact
753         that org-remember.el is not used anymore.
755         * org.el (org-babel-load-file): Set `exported-file' correctly, in
756         case the file as been tangled using a buffer-local value.
758         * ob-tangle.el (org-babel-tangle-file): Return the list of tangled
759         files.
761         * ox-org.el (org-org-publish-to-org): When htmlizing an .org file,
762         ensure to show all headings and all blocks before fontifying.
764         * ob-shen.el (org-babel-ruby-var-to-ruby): Declare.
766         * ox.el: Fix comment: remove reference to the obsolete variable
767         `org-export-language-setup'.
769         * org.el (org-set-regexps-and-options-for-tags): Fix concatenation
770         of the tags list.
772         * ox-odt.el (org-odt-pixels-per-inch): Use 96.0 as the default.
774         * org.el (org-refile): With a numeric prefix argument of `3',
775         emulate (setq org-refile-keep t) and copy the subtree to the
776         target location, don't delete it.
777         (org-set-regexps-and-options-for-tags): Fix the setting of tag
778         groups when relying on `org-tag-alist', not on tags directly set
779         in the buffer with the #+TAGS option.
781         * org-agenda.el (org-agenda-archive-with): Save window excursion.
783         * org.el (org-forward-element, org-backward-element): Throw a
784         message instead of an error when trying to move from a position
785         where there is no element.
786         (org-clock-is-active): Fix docstring.
788         * org-list.el (org-sort-list): Use `x' instead of `c' for sorting
789         plain list by checked status.
791         * org.el (org-structure-template-alist): Fix custom type and
792         default value.
793         (org-set-regexps-and-options-for-tags): Enhance docstring.
794         (org-set-regexps-and-options): Make sure not to add
795         `org-tag-alist' twice when setting this variable through et
796         #+setupfile: directive.
797         (org-tags-expand): Use `with-syntax-table'.
799         * org-list.el (org-sort-list): Implement sorting by "checked"
800         status for check lists.
802         * org-table.el (org-table-sum): Fix rounding error when summing
803         times.
805         * ob-scheme.el (org-babel-scheme-execute-with-geiser): Fix code
806         typo.  Add declarations.
808         * ox-html.el (org-html-link-use-abs-url): New option.
809         (org-html-link): Use it to prepend relative links with the value
810         of HTML_LINK_HOME, when defined.
812         * org.el (org-refile): Fix refiling the active region within an
813         list.  Don't store the last refiled subtree in the kill ring.
815         * org.el (org-mode-map): Remap `forward-paragraph' and
816         `backward-paragraph' to `org-forward-element' and
817         `org-backward-element'.
819         * ox-html.el (org-html-begin-plain-list): New parameter
820         `ordered-num' to tell whether the list is ordered numerically.
821         (org-html-plain-list): Handle alphabetical ordered list.
823         * org-agenda.el (org-batch-agenda): Let-bind `org-agenda-sticky'
824         to nil during batch export.
826         * org.el (org-copy-subtree): Fix typo in docstring.
827         (org-scan-tags): Don't disable `case-fold-search' too early.
829         * org-agenda.el (org-agenda-skip-eval): Fix typo in docstring.
831         * org-capture.el (org-capture-set-target-location): Don't throw an
832         error when `org-time-was-given' is not bound.
834         * org-clock.el (org-clock-modify-effort-estimate): Clarify
835         docstring.
837         * org.el (org-set-regexps-and-options-for-tags): Return a list
838         with tag-related variables.
839         (org-set-regexps-and-options): Append tags from a setup file to
840         the local tags of the file.
841         (org-agenda-prepare-buffers): Set tags from a setup file by
842         calling `org-set-regexps-and-options' when necessary.
843         (org-set-regexps-and-options): Fix `org-deadline-time-hour-regexp'
844         and `org-scheduled-time-hour-regexp'.
846         * org-table.el (org-table-TBLFM-begin-regexp): Rename from
847         `org-TBLFM-begin-regexp'.
848         (org-table-calc-current-TBLFM): Rename from
849         `org-calc-current-TBLFM'.
851         * org.el (org-ctrl-c-ctrl-c): Require org-table if needed.
852         (org-refresh-properties): Put the text property on the whole
853         subtree, not just on the headline.
854         (org-get-outline-path): Remove statistical and checkboxes cookies.
856         * org-agenda.el (org-agenda, org-search-view, org-tags-view)
857         (org-agenda-get-day-entries, org-agenda-set-restriction-lock): Use
858         (current-buffer) as the value of `org-agenda-restrict'.  Fix a bug
859         about narrowing to wrong region boundaries when
860         `org-agenda-restrict' is non-nil.
862         * org.el (org-agenda-text-search-extra-files): Fix typos in
863         docstring.
864         (org-insert-heading): Fix case when there the first heading starts
865         at the beginning of the buffer.
867         * ob-core.el (org-babel-expand-src-block): Use
868         `org-called-interactively-p'.
870         * org.el (org-agenda-prepare-buffers): Avoid duplicates in
871         `org-tag-alist-for-agenda' correctly.
872         (org-read-date-minibuffer-local-map): Check if we are at the
873         beginning of the prompt, not if we are after a whitespace.  Bind
874         C-. to `calendar-goto-today'.
876         * org-clock.el (org-clock-in): Don't forward by one character when
877         setting the marker in the clock history.
879         * org.el (org-read-date-minibuffer-local-map): Call
880         `calendar-goto-today' only if there is a space before point in the
881         minibuffer prompt.
882         (org-insert-heading): Reveal context when called interactively.
883         Fix bug about wrong conversion of lines with :END: or #+end_ into
884         headlines.
885         (org-in-drawer-p): New function.
886         (org-meta-return): Use `org-catch-invisible-edits' and the
887         `org-in-drawer-p' to check whether we are within a drawer.
889         * org-list.el (org-sort-list): Fix infloop.
891         * org.el (org-clone-subtree-with-time-shift): Unconditionally ask
892         for a time shift if there is a time-stamp.  Don't ask for a time
893         shift when called with a universal prefix argument.
895         * ob-core.el (org-babel-insert-result): Fix bug when inserting
896         results as a list: ensure we split a string containing "\n".
898         * ox-html.el: Fix copyright header.
900         * org.el (org-store-link): Don't add a search string when storing
901         a link from a radio target.
902         (org-open-at-point): Jump to the radio link (<<<radio>>>), not to
903         the simple target (<<target>>).
905         * org-table.el (org-table-get-remote-range): Fix typo.
907         * org-datetree.el (org-datetree-find-month-create)
908         (org-datetree-find-day-create): Add a docstring.
909         (org-datetree-find-year-create): Only match headlines with a
910         year or a year and one or more tags.
912         * org-crypt.el (org-crypt-check-auto-save)
913         (org-crypt-use-before-save-magic): Use `org-add-hook' when the
914         hooks are local hooks.
916         * org-agenda.el (org-agenda-mode): Use `org-add-hook' and merge
917         upstream change from Emacs 2013-04-18T00:12:33Z!monnier@iro.umontreal.ca.
919         * ob-core.el (org-babel-pop-to-session-maybe): Fix docstring.
920         (org-babel-pop-to-session-maybe): Use true function's name,
921         not its alias.
923         * org-agenda.el (org-agenda-drag-line-forward)
924         (org-agenda-drag-line-backward): New commands.
925         (org-agenda-mode-map): Bind the new commands to M-<down> and
926         M-<up> respectively.
928         * org.el (org-insert-heading): Fix insertion of items.
930         * org-capture.el (org-capture-use-agenda-date): Fix docstring.
932         * org-agenda.el (org-agenda-bulk-toggle): Fix docstring.
933         (org-agenda-bulk-toggle-all): New command.
934         (org-agenda-mode-map): Bind `org-agenda-bulk-toggle' to `M-m'
935         and `org-agenda-bulk-toggle-all' to `M-*'.
936         (org-agenda-menu): Add `org-agenda-bulk-toggle' and
937         `org-agenda-bulk-toggle-all'.
938         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Jump to the
939         next headline, not the next line.
941         * org-capture.el (org-mks): Fix bug: let-bind `case-fold-search'
942         to nil while matching the first letter of a multi-letters
943         template.
945         * org.el (org-store-link): When a bracket link is found in a
946         headline, use the link description or the link path.
947         (org-flag-drawer, org-hide-block-toggle)
948         (org-goto-left, org-goto-right, org-promote)
949         (org-paste-subtree, org-narrow-to-block, org-sort-entries)
950         (org-insert-link, org-offer-links-in-entry, org-open-file)
951         (org-refile, org-refile-get-location)
952         (org-refile-check-position, org-prepare-dblock, org-todo)
953         (org-auto-repeat-maybe, org-show-todo-tree, org-sparse-tree)
954         (org-occur, org-priority, org-scan-tags)
955         (org-get-tags-string, org-property-action, org-set-effort)
956         (org-entry-put, org-insert-drawer)
957         (org-compute-property-at-point)
958         (org-property-next-allowed-value, org-evaluate-time-range)
959         (org-closest-date, org-timestamp-change)
960         (org-revert-all-org-buffers, org-cycle-agenda-files)
961         (org-agenda-file-to-front, org-remove-file)
962         (org-preview-latex-fragment, org-format-latex)
963         (org-create-math-formula, org-create-formula-image)
964         (org-speed-command-help, org-check-before-invisible-edit)
965         (org-modifier-cursor-error, org-hidden-tree-error)
966         (org-mark-subtree, org-kill-line, org-first-sibling-p)
967         (org-up-element, org-down-element)
968         (org-drag-element-backward, org-drag-element-forward)
969         (org-unindent-buffer, org-speedbar-set-agenda-restriction): Use
970         `user-error' instead of `error'.
972         * ox-latex.el (latex): Don't force exporting with smart quotes.
974         * ox.el (org-export-with-smart-quotes): Mention the need to use
975         the relevant Babel package when setting this option to non-nil.
977         * org-src.el (org-edit-src-turn-on-auto-save): New option.
978         (org-edit-src-code): Use it.
979         (org-edit-src-auto-save-idle-delay): Enhance docstring.
981         * org-capture.el (org-mks): Make cursor invisible.
983         * org.el (org-link-expand-abbrev): Save match data before before
984         calling the replacement function.
986         * org-list.el (org-sort-list): Don't move point when matching time
987         values.
989         * org.el (org-shifttab): Show the correct number of empty
990         headlines when called with a numeric prefix argument.  Enhance
991         docstring.
992         (org-uniquify): Use `copy-sequence'.
993         (org-adaptive-fill-function, org-fill-paragraph): Throw a useful
994         error message when parse an element fails in the current buffer.
996         * ox.el (org-export-with-planning): Enhance docstring.
998         * org.el (org-closed-keep-when-no-todo): New option.
999         (org-todo): Use the new option.
1000         (org-open-line): Rename from `org-ctrl-o'.
1001         (org-mode-map): Use `remap'.
1002         (org-cycle-emulate-tab, org-file-apps)
1003         (org-set-font-lock-defaults)
1004         (org-translate-link-from-planner, org-link-search)
1005         (org-refile-get-targets, org-read-date-get-relative): Minor
1006         code clean-up: fix dangling parentheses.
1008         * org-agenda.el (org-agenda-entry-text-mode): Also check against
1009         regexp filters.
1010         (org-timeline): Handle `org-agenda-show-log'.
1012         * org-clock.el (org-clock-select-task): Remove successive
1013         duplicates in the clock history to consider.
1015         * org.el (org-uniquify-alist): Improve docstring.
1016         (org-make-tags-matcher, org-change-tag-in-region): Add buffer's
1017         tags to the tags completion table.
1018         (org-tags-expand): Prevent circular replacement of group tags.
1019         Tiny docstring formatting.
1020         (org-uniquify): Make a defsubst.  Use `delete-dups' instead of
1021         `add-to-list'.
1022         (org-todo): Also remove the CLOSED planning information when
1023         removing the TODO keyword.
1024         (org-forward-heading-same-level): Fix bug when forwarding
1025         to a hidden subtree of the same level.
1026         (org-tags-expand): Use word delimiters when building the tag
1027         search regexp.
1029         * org-clock.el (org-clock-insert-selection-line): Don't display
1030         the clockout time.
1032         * org.el (org-emphasis-regexp-components): Make a defvar.
1033         (org-emphasis-alist): New default value: don't set HTML tags.
1034         (org-emphasize, org-set-emph-re): Use the new value of
1035         `org-emphasis-alist'.
1037         * org-mobile.el (org-mobile-edit): Insert new headings at the end
1038         of the parent subtree.  Use `org-at-heading-p' instead of the
1039         obsolete `org-on-heading-p'.
1041         * org.el (org-insert-heading): When called from a list item and
1042         `org-insert-heading-respect-content' is non-nil, insert a heading,
1043         not an item.
1044         (org-insert-heading-respect-content): Fix docstring.
1045         (org-insert-heading): When in a non-empty non-headline line,
1046         convert the current line into a headline.
1048         * org-table.el (org-table-copy-down): Don't move cursor when
1049         getting the field.
1051         * ox-icalendar.el (org-icalendar-export-current-agenda): Do not
1052         evaluate babel code blocks.
1054         * ox-html.el (html): Add more options.
1056         * ox-publish.el (org-publish-project-alist): Add :with-planning in
1057         docstring.
1059         * ob-exp.el (org-babel-exp-src-block): Tiny docstring fix.
1061         * ox-icalendar.el (org-icalendar--combine-files): Fix typo.
1063         * org-mouse.el (org-mouse-agenda-context-menu): Fix a function's
1064         name.
1066         * ox.el (org-export-options-alist, org-export--skip-p): Use
1067         `:with-planning' instead of `:with-plannings', to keep in sync
1068         with the corresponding option's name.
1070         * ob-core.el (org-babel-confirm-evaluate): Fix typo in docstring.
1072         * org-agenda.el (org-agenda-undo, org-agenda)
1073         (org-agenda-append-agenda)
1074         (org-agenda-get-restriction-and-command, org-agenda-write)
1075         (org-agenda-clock-cancel)
1076         (org-agenda-diary-entry-in-org-file, org-agenda-diary-entry)
1077         (org-agenda-execute-calendar-command)
1078         (org-agenda-goto-calendar, org-agenda-convert-date)
1079         (org-agenda-bulk-mark, org-agenda-bulk-action)
1080         (org-agenda-show-the-flagging-note): Use `user-error' instead of
1081         `error'.
1083         * org-macs.el (org-with-remote-undo): Normalize argument names.
1085         * org.el (org-store-log-note): Fix `buffer-undo-list' when called
1086         after `org-agenda-todo'.
1087         (org-add-log-note): Minor formatting fix.
1089         * org-agenda.el (org-agenda-append-agenda): Set buffer read only.
1091         * org-clock.el (org-clock-select-task): Throw a user error when
1092         the clock history is empty.
1094         * org-table.el (org-table-get-remote-range): Fix docstring: use
1095         #+NAME instead of #+TBLNAME.
1097         * ob-ref.el: Use #+NAME instead of #+TBLNAME in comment.
1099         * ox-html.el (org-html-table-row-tags): Better example.
1101         * org-clock.el (org-clock-select-task): Fix window to buffer.
1102         Hide the cursor.
1103         (org-clock-insert-selection-line): Add the clock-out time.
1105         * ox-html.el (org-html-table-row-tags): Allow new dynamically
1106         bound value `row-number'.
1107         (org-html-table-row): Bind `row-number' to the number of the
1108         row (first row is 0).
1110         * org.el (org-minutes-to-clocksum-string): Round fractions of
1111         minutes.
1113         * ox-html.el (org-html-table-row-tags): Fix example in docstring.
1115         * org-agenda.el (org-agenda-span-to-ndays): Enhance docstring.
1116         (org-agenda-goto-date): Fix bug when going to a date in month
1117         view.
1118         (org-agenda-goto-date): Put the cursor on the agenda line with the
1119         selected date.
1120         (scheduled/deadline items with hour spec) then redo an agenda*.
1122         * org-clock.el (org-clock-resolve): Enhance the content of the
1123         help window.
1125         * org-footnote.el (org-footnote-auto-label): Minor docstring fix.
1127         * ox-odt.el (org-odt-link): Fix bug: convert & to &amp; in
1128         links.
1130         * ox-html.el (org-html-table-row): Dynamically bind
1131         `rowgroup-number', `start-rowgroup-p', `end-rowgroup-p',
1132         `top-row-p', `bottom-row-p'.
1133         (org-html-table-row-tags): Update docstring: tell what variables
1134         are dynamically bound.
1136         * org-src.el (org-edit-src-code): Don't set
1137         `buffer-auto-save-file-name' unless `auto-save-default' is
1138         non-nil.
1140         * ox.el (org-export-table-row-group): Fix typo in docstring.
1142         * org-table.el (orgtbl-apply-fmt): Enhance docstring.
1144         * org.el (org-file-contents): Make the message more prominent.
1146         * ox.el (org-export-replace-region-by): New function.
1148         * ox-texinfo.el (org-texinfo-convert-region-to-texinfo),
1149         * ox-md.el (org-md-convert-region-to-md),
1150         * ox-latex.el (org-latex-convert-region-to-latex),
1151         * ox-html.el (org-html-convert-region-to-html): New functions to
1152         replace the active region by its export into various backends.
1154         * org-faces.el (org-agenda-restriction-lock): Use less flashy
1155         colors.
1157         * org-agenda.el
1158         (org-agenda-restriction-lock-highlight-subtree): New option.
1159         (org-agenda-top-headline-filter): Rename from
1160         `org-agenda-top-headline-filter'.
1161         (org-find-top-headline): Rename from `org-find-top-category'.
1162         Add a docstring.
1163         (org-agenda-filtered-by-top-headline): Rename from
1164         `org-agenda-filtered-by-top-category'.
1165         (org-agenda-filter-by-top-headline): Rename from
1166         `org-agenda-filter-by-top-category'.  Fix docstring.
1167         (org-agenda-filter-top-headline-apply): Rename from
1168         `org-agenda-filter-top-category-apply'.  Fix docstring.
1169         (org-agenda-mode-map): Update binding.
1170         (org-agenda-get-todos): Set `todo-state' earlier so that we can
1171         skip false-positives in time.
1173         * org.el (org-get-todo-state): Add a docstring.
1174         (org-ctrl-o): New command to insert a new row in tables
1175         (like `M-S-<down>' does) and open a line elsewhere.
1176         (org-mode-map): Bind the new command to `C-o'.
1177         (org-set-regexps-and-options): Process tags from an external setup
1178         file.
1180         * org-agenda.el (org-agenda-dim-blocked-tasks): Enhance docstring.
1181         (org-agenda-finalize-entries): Conditionally apply limits so
1182         that we don't manipulate big lists uselessly.
1183         (org-agenda-limit-entries): Limit exclusively.  E.g., when
1184         limiting to a maximum of "2 tags", don't limit among tagged
1185         entries only, but limit among all entries.
1186         (org-agenda-limit-interactively): New command.
1187         (org-agenda-mode-map): Bind the new command to "~".
1188         (org-agenda-redo): Small fix: don't use `eval'.
1190         * org.el (org-ctrl-c-ctrl-c): Fix bug wrt updating checkboxes: the
1191         list beginning should be stored using a marker so that updating
1192         [%0] to [%50] will not throw an error.
1193         (org-babel-load-file): Move `org-babel-load-file' from
1194         ob-tangle.el to here so that it is correctly autoloaded by Emacs
1195         before Org is required.
1197         * org-mac-message.el: Delete.
1199         * org.el (org-modules): org-mac-message.el is not a core package
1200         anymore.
1202         * org-table.el (orgtbl-to-generic): Fix bug when exporting the
1203         cells of radio tables with 'hline.
1205         * org.el (org-speed-commands-default): Use ?s for
1206         `org-narrow-to-subtree'.
1208         * org-agenda.el (org-agenda-start-on-weekday): Fix typo.
1209         (org-agenda-start-day): Enhance docstring.
1211         * org-src.el (org-src-native-tab-command-maybe): Check that we are
1212         in a source code block.
1214         * org-mobile.el: Remove useless defvar.
1216         * org.el (org-indent-line): A line just below a line with a list
1217         item is now indented depending on the indentation of this list
1218         item.
1220         * org.el (org-options-keywords): Add #+TARGET.
1222         * org-clock.el (org-resolve-clocks-if-idle): Only try to resolve
1223         last clock if the clock buffer still exists.
1224         (org-clock-out, org-clock-cancel): Set markers to nil.
1226         * ox-org.el (org-org-publish-to-org):
1227         * ox-html.el (org-html-publish-to-html): Use the custom extension.
1229         * org.el (org-cycle-internal-local): Fix invalid search bound when
1230         `org-cycle-include-plain-lists' is set to 'integrate.
1232         * org.el (org-sparse-tree-default-date-type): Add an option for
1233         closed time-stamps.
1234         (org-sparse-tree): Allow to check against closed time-stamps.
1235         (org-re-timestamp): Handle closed time-stamps.
1236         (org-closed-in-range): Delete.
1238         * org-capture.el (org-capture-import-remember-templates): Take
1239         care of adding :jump-to-captured option if needed.
1241         * org.el (org-toggle-pretty-entities): Enhance messages.
1242         (org-raise-scripts): Handle scripts like "a_b^c".
1244         * org-capture.el (org-capture-templates): Document new option
1245         :jump-to-captured in the docstring.  Offer the complete list of
1246         options when customizing.
1247         (org-capture-finalize): Handle :jump-to-captured.
1249         * org.el (org-agenda-prepare-buffers): Fix bugs: don't let-bind
1250         `org-tag-alist' to nil and don't append duplicate tags to
1251         `org-tag-alist-for-agenda'.
1252         (org-store-link): Storing multiple links in the active region now
1253         requires a triple prefix argument.
1254         (org-store-link, org-link-search): Fix handling of links to #+NAME
1255         and #+TARGET keywords.
1257         * org-compat.el (org-ignore-region): Tiny docstring fix.
1259         * org-capture.el (org-capture): Don't store multiple links over
1260         lines in the active region.
1262         * ox-odt.el (org-odt-special-block): Don't wrap annotations into
1263         <text:p>...</text:p> at all.
1264         (org-odt--fix-annotations): New function.
1265         (org-odt--export-wrap): Use the new function to fix annotations
1266         insertion in content.xml.
1268         * org.el (org-mode-flyspell-verify): Require 'org-element so that
1269         `org-element-affiliated-keywords' is defined.
1271         * ox-odt.el (org-odt-special-block): Don't insert annotations
1272         using style "Text_20_body".
1274         * org.el (org-toggle-tags-groups): Correctly highlight group tags.
1275         (org-tags-expand): Expand tags as words, with characters ?@
1276         and ?_ being considered words constituents.
1277         (org-set-regexps-and-options): Don't read setup files from
1278         read-only buffers.
1279         (org-file-contents): When no-error is non-nil, throw a less
1280         intrusive message.
1282         * org-agenda.el (org-agenda-scheduled-leaders)
1283         (org-agenda-deadline-leaders): Re-align leaders to the left,
1284         back to a 11 characters width.
1286         * org.el (org-refile-cache-check-set): More informative message.
1288         * org-agenda.el (org-tags-view): Set the matcher after preparing
1289         the agenda, as `org-tag-groups-alist-for-agenda' might be needed.
1290         (org-agenda-filter-make-matcher): New parameter `filter' and
1291         `type'.  Handle group tags.
1292         (org-agenda-filter-expand-tags): New function.
1293         (org-agenda-filter-apply): Handle group tags.
1295         * org.el (org-blank-before-new-entry): Tiny docstring fix.
1296         (org-tag-alist-for-agenda): Add docstring.
1297         (org-tag-groups-alist-for-agenda): New global variable.
1298         (org-tag-groups-alist): New buffer-local variable.
1299         (org-tag-alist, org-tag-persistent-alist): Handle :grouptags.
1300         (org-group-tags): New option.
1301         (org-toggle-group-tags): New command.
1302         (org-mode-map): Bind `org-toggle-group-tags' to `C-c C-x q'.
1303         (org-set-regexps-and-options-for-tags): New function, factored
1304         out from `org-set-regexps-and-options'.
1305         (org-set-regexps-and-options): Don't handle tags, they are now
1306         handled separately by `org-set-regexps-and-options-for-tags'.
1307         (org-assign-fast-keys): Handle :grouptags.
1308         (org-mode): Use `org-set-regexps-and-options-for-tags' on top
1309         of `org-set-regexps-and-options'.
1310         (org-fontify-meta-lines-and-blocks-1): Fontify group tags.
1311         (org-make-tags-matcher): Expand group tags in the matcher.
1312         (org-tags-expand): New function.
1313         (org-tags-completion-function): Tiny code clean up.
1314         (org-set-current-tags-overlay): Add a docstring.
1315         (org-fast-tag-selection): Highlight group tags.
1316         (org-agenda-prepare-buffers): Set `org-tag-alist-for-agenda'
1317         and `org-tag-groups-alist-for-agenda'.  Don't uniquify
1318         `org-tag-alist-for-agenda' as we may need the grouping
1319         information for filtering in the agenda buffer.
1320         (org-uniquify-alist): New function.
1322         * org-pcomplete.el (pcomplete/org-mode/file-option/tags): Handle
1323         :grouptags.
1325         * org-faces.el (mode-line): New face for group tags.
1327         * ob-core.el (org-babel-hash-show-time): Tiny docstring
1328         enhancement.
1330         * org-element.el (org-element-paragraph-separate): Use new name
1331         `org-list-allow-alphabetical'.
1333         * org-list.el (org-list-allow-alphabetical): Rename from
1334         `org-alphabetical-lists'.
1335         (org-list-empty-line-terminates-plain-lists): Rename from
1336         `org-empty-line-terminates-plain-lists'.
1337         (org-checkbox-hierarchical-statistics): Rename from
1338         `org-hierarchical-checkbox-statistics'.
1340         * org.el (org-image-actual-width): Update docstring.
1341         (org-display-inline-images): Use the #+attr_html: :width syntax.
1342         (org-modules): Remove deleted libraries, add new ones.
1344         * ox-html.el (org-html-indent): Default to nil, as non-nil can
1345         break indentation of source code blocks.
1346         (org-html-link): Don't insert nil if there is no attributes.
1347         (org-html-link--inline-image): Use the correct syntax for image
1348         attributes.  Allow :width :height and :alt as predefined
1349         attributes for inline images.
1350         (org-html-link, org-html-table): Use the standard syntax---
1351         e.g. "#+attr_html: :options ..."--- to get attributes.
1353         * ox.el (org-export-table-cell-alignment): Treat an empty cell as
1354         a number if it follows a number.
1356         * ox.el (org-export-as): Allow user functions in
1357         `org-export-before-parsing-hook' to modify the point.
1359         * org.el (org-entry-add-to-multivalued-property): Add the new
1360         value by appending it at the end of the line.
1362         * org-table.el (orgtbl-to-generic): New parameter `backend' to
1363         export cells content using a specific backend.
1364         (orgtbl-to-latex, orgtbl-to-texinfo): Export cells to LaTeX
1365         and Texinfo before sending the table.
1367         * ox.el (org-export-define-backend)
1368         (org-export-define-derived-backend): Make defuns and update
1369         docstrings.
1371         * ox-texinfo.el (texinfo):
1372         * ox-org.el (org):
1373         * ox-odt.el (odt):
1374         * ox-md.el (md):
1375         * ox-man.el (man):
1376         * ox-latex.el (latex):
1377         * ox-icalendar.el (icalendar):
1378         * ox-html.el (html):
1379         * ox-beamer.el (beamer):
1380         * ox-ascii.el (ascii): Use `org-export-define-backend' and
1381         `org-export-define-derived-backend' as defuns, not macros.
1383         * org.el (org-set-regexps-and-options): Use
1384         `org-table-set-constants'.
1386         * org-table.el (org-table-set-constants): New function.
1387         (orgtbl-ctrl-c-ctrl-c): Use it.
1389         * org-pcomplete.el
1390         (pcomplete/org-mode/block-option/clocktable): Add parameters.
1392         * org.el (org-options-keywords): Remove "INFOJS_OPT": it is added
1393         through ox-html.el now.
1395         * org-agenda.el (org-agenda-redo): Set filters after agenda has
1396         been redone.
1398         * org.el (org-store-link): When there is an active region, store
1399         each line as a separate link.
1400         (org-insert-all-links): Use a default description when links
1401         do not have one already.
1403         * org-agenda.el (org-agenda-redo): Fix code typo.
1405         * org.el (org-link-display-format): Fix docstring.
1407         * ox-publish.el (org-publish-org-to)
1408         (org-publish-org-sitemap, org-publish-find-title)
1409         (org-publish-find-date)
1410         (org-publish-cache-file-needs-publishing): Set
1411         `org-inhibit-startup' to t when visiting files for
1412         publication.
1414         * ox-org.el (org-org-publish-to-org): Kill buffers not visited at
1415         publication time.
1417         * org.el (org-set-font-lock-defaults): Set font-lock keywords
1418         correctly for plain links.
1420         * ox-texinfo.el (org-texinfo-logfiles-extensions)
1421         (org-texinfo-remove-logfiles): New options.
1422         (org-texinfo-compile): Use the new options to remove files
1423         after compiling a Texinfo file.
1425         * ox-texinfo.el (org-texinfo-coding-system): New option.
1426         (org-texinfo-template): Add @documentlanguage and
1427         @documentencoding.
1428         (org-texinfo-headline): Add a space before tags.
1429         (org-texinfo-export-to-texinfo, org-texinfo-export-to-info):
1430         Use `org-texinfo-coding-system' as the coding system for
1431         exported buffers.
1432         (org-texinfo-publish-to-texinfo): New function.
1434         * ox-texinfo.el (org-texinfo-filename)
1435         (org-texinfo-info-process, org-texinfo-max-toc-depth)
1436         (org-texinfo--sanitize-menu): Docstrings tiny fixes.
1438         * org-agenda.el (org-agenda-dim-blocked-tasks): Only throw a
1439         message when called interactively.  Fix docstring position in the
1440         defun.
1442         * ox-html.el (org-html--build-meta-info): Fix setting of
1443         http-equiv="Content-Type".
1445         * org-agenda.el (org-agenda-mode-map): Use ?= for filtering by
1446         regexp and ?| for removing all filters.
1447         (org-agenda-filter-remove-all): New command.
1448         (org-agenda-filter-show-all-re): Rename from
1449         `org-agenda-filter-show-all-regexp'.
1450         (org-agenda-filter-by-regexp): Call
1451         `org-agenda-filter-show-all-re'.
1453         * org-list.el (org-insert-item): Don't ask for a definition term
1454         when insert an item in a description list.
1456         * org-agenda.el (org-agenda-Quit): Set `org-agenda-buffer' to nil.
1457         This prevents bugs when calling e.g., `org-diary' after quitting
1458         an agenda window.
1459         (org-agenda-entry-types): Move earlier in the file.
1460         (org-agenda-custom-commands-local-options, org-diary)
1461         (org-agenda-get-day-entries): Don't hardcode the default agenda
1462         entry types, use `org-agenda-entry-types'.
1463         (org-agenda-custom-commands): Fix default setting so that the
1464         customize interface does not complain about a mismatch.
1466         * org.el (org-export-backends): Add new backends.
1468         * ox-html.el (org-html-indent): New option.
1469         (org-html-use-unicode-chars): New option.
1470         (org-html-pretty-output): Delete.
1471         (org-html-final-function): Use the new options.
1473         * ox-html.el (org-html-link): Fix handling of abbreviated links
1474         which include a file: protocol.
1475         (org-html--build-postamble): Default to today's date.
1476         (org-html--build-meta-info): When #+DATE contains a time stamp,
1477         parse it as a RFC 822 time string, otherwise simply insert the
1478         date as a string.
1480         * ox.el (org-export--copy-to-kill-ring-p): New function.
1481         (org-export-copy-to-kill-ring): Use 'if-interactive as the
1482         default.
1483         (org-export-to-buffer, org-export-to-file): Use
1484         `org-export--copy-to-kill-ring-p' and fix docstrings.
1486         * ox-odt.el (org-odt-export-as-odf): Use
1487         `org-export--copy-to-kill-ring-p'.
1489         * org.el (org-set-font-lock-defaults): Fontify macros.
1491         * org-faces.el (org-macro): New face.
1493         * org.el (org-clone-subtree-with-time-shift): Only prompt for a
1494         time shift when the entry at point has a time stamp and when the
1495         command is called with a universal prefix argument.
1496         (org-execute-file-search-functions): Docstring fix.
1498         * org-compat.el (org-defvaralias): Fix declare form.
1500         * org-clock.el (org-clocktable-defaults): Add :mstart parameter.
1501         (org-clock-special-range): New argument mstart.
1502         (org-dblock-write:clocktable, org-dblock-write:clocktable)
1503         (org-clocktable-write-default, org-clocktable-steps)
1504         (org-clock-get-table-data): Handle the :mstart parameter.
1506         * org.el (org-map-entries): Use `save-window-excursion'.
1508         * org-compat.el (org-defvaralias): New compatibility function.
1510         * org-list.el (org-cycle-include-plain-lists): Also add to the
1511         'org-cycle customization group.
1512         (org-list-allow-alphabetical)
1513         (org-checkbox-hierarchical-statistics)
1514         (org-list-empty-line-terminates-plain-lists)
1515         (org-list-description-max-indent): Rename and add aliases to old
1516         names.
1518         * org-element.el (org-element-context): Prevent an error when
1519         getting the context of a table rule.
1521         * org.el (org-deadline-time-hour-regexp)
1522         (org-scheduled-time-hour-regexp): New buffer local variables.
1523         (org-set-regexps-and-options): Set the new variables.
1525         * org-agenda.el (org-agenda-custom-commands-local-options): Add
1526         :deadline* and :scheduled* to the list of possible agenda entry
1527         types.
1528         (org-agenda): Implement a new agenda type agenda* with :scheduled*
1529         and :deadline* replacing :scheduled and :deadline respectively in
1530         agenda entry types.  In such agenda, only scheduled and deadline
1531         items with a time specification [h]h:mm will be considered.
1532         (org-agenda-entry-types): Document the new agenda entry types
1533         :scheduled* and :deadline*.
1534         (org-agenda-list): New parameter `with-hour'.  Use :scheduled* and
1535         :deadline*.
1536         (org-agenda-get-day-entries): Handle :scheduled* and :deadline*.
1537         (org-agenda-get-deadlines, org-agenda-get-scheduled): New
1538         parameter `with-hour'.  Use `org-deadline-time-hour-regexp' or
1539         `org-scheduled-time-hour-regexp' as the search string if needed.
1540         (org-agenda-to-appt): Use :scheduled* and :deadline* by default,
1541         as other scheduled and deadline items don't have a time spec and
1542         cannot be turned into appointments.  Trim bracket links and use
1543         only the description as the appointment text.
1544         (org-agenda-get-restriction-and-command): Add
1545         default description for the agenda* view.
1546         (org-agenda-run-series): Handle agenda* views.
1548         * org-faces.el (org-agenda-filter-tags)
1549         (org-agenda-diary, org-agenda-calendar-event)
1550         (org-agenda-calendar-sexp): Minor code clean up.
1551         (org-agenda-filter-category): Docstring fix.
1552         (org-agenda-filter-category): New face.
1554         * org-agenda.el (org-agenda-local-vars): Add
1555         `org-agenda-re-filter-overlays' and `org-agenda-regexp-filter'.
1556         (org-agenda-mode-map): Use "|" for
1557         `org-agenda-filtered-by-regexp'.
1558         (org-agenda-re-filter-overlays): New variable.
1559         (org-agenda-mark-filtered-text): Use
1560         `org-agenda-re-filter-overlays'.
1561         (org-agenda-finalize, org-agenda-redo): Allow regexp filtering.
1562         (org-agenda-filter-by-category): Set `org-agenda-category-filter'
1563         here instead of within `org-agenda-apply-filter'.
1564         (org-agenda-regexp-filter): New variable.
1565         (org-agenda-filter-by-regexp): New function to filter agenda
1566         buffers by regexp.
1567         (org-agenda-filter-make-matcher): Make matcher for regexp filters.
1568         (org-agenda-filter-apply): Don't set `org-agenda-tag-filter' and
1569         `org-agenda-category-filter'.  Maybe apply regexp filter.
1570         (org-agenda-filter-hide-line): Add docstring.  Hide
1571         regexp-filtered lines.
1572         (org-agenda-filter-show-all-tag, org-agenda-filter-show-all-cat):
1573         Add docstring.
1574         (org-agenda-filter-show-all-regexp): New function.
1575         (org-agenda-set-mode-name): Add regexp-filter information.
1576         (org-agenda-custom-commands-local-options): Add regexp filter.
1577         (org-agenda-regexp-filter-preset): New variable.
1578         (org-agenda-prepare): Use the new variable.
1580         * ox-odt.el (org-odt-code, org-odt-verbatim): Use
1581         `org-odt--encode-plain-text'.
1583         * ox-html.el (org-html-link): Minor code clean-up.
1585         * org.el (org-insert-heading): DTRT when in a narrowed region.
1587         * org-compat.el (org-buffer-narrowed-p): New compatibility
1588         function.
1590         * ox-html.el (org-html-format-inline-image): Fix missing string in
1591         formatting string.
1593         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1594         New allowed value `repeated-after-deadline' which will prevent the
1595         display of scheduled items when repeated after the current
1596         deadline.
1597         (org-agenda-get-scheduled): Handle the new value.
1599         * org.el (org-time-string-to-absolute): Tiny docstring fix.
1601         * ox-html.el (org-html-style-default): New classes `footpara' and
1602         `footdef' for the footnotes paragraphs and definitions.
1603         (org-html-format-footnote-definition): Wrap the footnote
1604         defintions into their own div.
1605         (org-html-paragraph): Don't add extra <br/> after a paragraph in a
1606         footnote.
1607         (org-html-container-element, org-html-divs): Mention that
1608         org-info.js will not work when changing the defaults.
1610         * ox-md.el (md): Export underlined text as verbatim.
1612         * ox-html.el (org-html-style-default): New CSS .underline and
1613         #org-div-home-and-up.
1614         (org-html-text-markup-alist): Don't hardcode the style, use the
1615         new class .underline.
1616         (org-html-home/up-format): Don't hardcode the style, use
1617         #org-div-home-and-up.
1618         (org-html-center-block): Use the .center class.
1620         * ox-md.el (org-md-underline): New function.
1622         * org-agenda.el (org-sorting-choice): Fix default value.
1624         * ox-html.el (org-html-format-footnote-definition)
1625         (org-html-footnote-section): Don't wrap footnote definitions into
1626         tables.
1627         (org-html-paragraph): Add HTML style and class parameter when the
1628         paragraph is in a footnote definition.  Also allow to add an extra
1629         string after the paragraph.  Further parameters can be added for
1630         paragraphs in other environments.
1631         (org-html-template): Always include the title as <h1
1632         class="title"></h1>, even when there is no title, as org-info.js
1633         needs it.
1635         * org-element.el (org-element-map): Fix tiny typo in docstring.
1637         * org-agenda.el (org-agenda-day-view): Fix parameter's name.
1639         * ox-html.el (org-html-format-inline-image): Don't add superfluous
1640         <p></p> when there is an empty caption.
1642         * org-agenda.el (org-agenda-refile): Enhance docstring.  Allow to
1643         clear the refile cache with C-0 or C-u C-u C-u.
1645         * ox-md.el (org-md-export-as-markdown): Tiny docstring fix.  Fix a
1646         library keyword in the comment section.
1648         * org.el (org-toggle-item): Convert all normal lines as items when
1649         there is a region, and only convert the first line when called
1650         with a universal prefix argument.  This is consistent with the
1651         behavior of `org-toggle-heading'.
1652         (org-toggle-heading): When the region contains only normal lines,
1653         a universal prefix arg will only convert the first line.  This is
1654         more consistent with `org-toggle-item'.
1655         (orgstruct-setup): Add `org-ctrl-c-minus' and `org-ctrl-c-star'.
1656         (customize-package-emacs-version-alist): Update
1657         `customize-package-emacs-version-alist'.
1659         * ox-texinfo.el (org-export-texinfo)
1660         (org-texinfo-filename, org-texinfo-classes)
1661         (org-texinfo-format-headline-function)
1662         (org-texinfo-node-description-column)
1663         (org-texinfo-active-timestamp-format)
1664         (org-texinfo-link-with-unknown-path-format)
1665         (org-texinfo-tables-verbatim)
1666         (org-texinfo-table-scientific-notation)
1667         (org-texinfo-text-markup-alist)
1668         (org-texinfo-format-drawer-function)
1669         (org-texinfo-format-inlinetask-function)
1670         (org-texinfo-info-process):
1671         * ox-odt.el (org-odt-format-drawer-function)
1672         (org-odt-format-headline-function)
1673         (org-odt-format-inlinetask-function):
1674         * ox-md.el (org-export-md, org-md-headline-style): Fix :version
1675         and :package-version keywords.
1677         * org.el (org-time-clocksum-use-effort-durations): Don't set to t
1678         by default as it will change many clocktables out there.  Let the
1679         user decides whether she wants to turn this on.
1681         * org.el (org-agenda-inhibit-startup): Revert to nil as the default.
1683         * org-agenda.el (org-agenda-dim-blocked-tasks): Revert to t as the
1684         default.
1686         * ox-html.el (org-html-style-default): More cosmetic tweaks.
1687         (org-html-head-include-default-style): Minor docstring update.
1689         * ox.el (org-export-snippet-translation-alist)
1690         (org-export-coding-system, org-export-in-background)
1691         (org-export-async-init-file, org-export-invisible-backends)
1692         (org-export-dispatch-use-expert-ui):
1693         * ox-texinfo.el (org-texinfo-filename, org-texinfo-classes)
1694         (org-texinfo-format-headline-function)
1695         (org-texinfo-node-description-column)
1696         (org-texinfo-active-timestamp-format)
1697         (org-texinfo-link-with-unknown-path-format)
1698         (org-texinfo-tables-verbatim)
1699         (org-texinfo-table-scientific-notation)
1700         (org-texinfo-text-markup-alist)
1701         (org-texinfo-format-drawer-function)
1702         (org-texinfo-format-inlinetask-function)
1703         (org-texinfo-info-process):
1704         * ox-man.el (org-man-tables-centered)
1705         (org-man-table-scientific-notation)
1706         (org-man-source-highlight, org-man-source-highlight-langs)
1707         (org-man-pdf-process, org-man-logfiles-extensions):
1708         * ox-html.el (org-html-allow-name-attribute-in-anchors)
1709         (org-html-coding-system, org-html-divs):
1710         * ox-ascii.el (org-ascii-text-width)
1711         (org-ascii-headline-spacing, org-ascii-indented-line-width)
1712         (org-ascii-paragraph-spacing, org-ascii-charset)
1713         (org-ascii-underline, org-ascii-bullets)
1714         (org-ascii-links-to-notes)
1715         (org-ascii-table-keep-all-vertical-lines)
1716         (org-ascii-table-widen-columns)
1717         (org-ascii-table-use-ascii-art)
1718         (org-ascii-format-drawer-function)
1719         (org-ascii-format-inlinetask-function):
1720         * org.el (org-modules, org-export-backends)
1721         (org-highlight-latex-and-related, orgstruct-setup-hook):
1722         * org-attach.el (org-attach-git-annex-cutoff):
1723         * org-archive.el (org-archive-file-header-format):
1724         * org-agenda.el (org-agenda-todo-ignore-time-comparison-use-seconds):
1725         * ob-python.el (org-babel-python-hline-to)
1726         (org-babel-python-None-to):
1727         * ob-ditaa.el (org-ditaa-eps-jar-path):
1728         * ob-core.el (org-babel-results-keyword): Add :version and
1729         :package-version.
1731         * ox-ascii.el: Use utf-8-emacs as the file coding system.
1733         * org-capture.el (org-capture-templates, org-capture-string)
1734         (org-capture-steal-local-variables)
1735         (org-capture-empty-lines-before)
1736         (org-capture-empty-lines-after)
1737         (org-capture-insert-template-here)
1738         (org-capture-import-remember-templates): Fix or add docstring.
1740         * ox-html.el (org-html-style-default): Cosmetic changes.
1741         (org-html-postamble, org-html-preamble)
1742         (org-html-preamble-format): Update docstring.
1744         * org-agenda.el (org-agenda-format-date-aligned)
1745         (org-agenda-time-of-day-to-ampm-maybe)
1746         (org-scheduled-past-days)
1747         (org-agenda-normalize-custom-commands)
1748         (org-agenda-run-series, org-store-agenda-views): Fix or add
1749         docstring.
1751         * ox-latex.el:
1752         (org-latex-table-scientific-notation, org-latex-verse-block): Fix
1753         typos in docstrings.
1755         * ox-html.el (org-html-text-markup-alist)
1756         (org-html-pretty-output, org-html-link-org-files-as-html)
1757         (org-html-postamble, org-html-preamble)
1758         (org-html-format-inline-image, org-html-splice-attributes)
1759         (org-export-splice-style, org-html-htmlize-region-for-paste)
1760         (org-html-fix-class-name)
1761         (org-html-format-footnote-reference)
1762         (org-html-format-footnotes-section)
1763         (org-html-footnote-section, org-html--anchor)
1764         (org-html--todo, org-html--tags, org-html-format-headline)
1765         (org-html-toc, org-html-format-section, org-html-checkbox)
1766         (org-html-format-list-item, org-html-format-latex)
1767         (org-html-encode-plain-text)
1768         (org-html-table-first-row-data-cells)
1769         (org-html-table--table.el-table, org-html-final-function): Fix
1770         or add docstring.
1772         * org.el (org-insert-heading): If the current item has a checkbox,
1773         insert the new item with a checkbox.
1775         * org.el (org-insert-heading): Don't delete spaces in empty
1776         headlines.
1778         * ox-odt.el (org-odt-keyword): Fix typo.
1780         * ox-latex.el (org-latex-toc-command): Cosmetic docstring change.
1782         * ox-html.el (org-html-encode-plain-text): Fix typo in docstring.
1784         * org-faces.el (org-column): Update docstring.
1786         * org-colview.el: Update error message.
1788         * org.el (org-modules): Do not include org-mew.el, org-vm.el,
1789         org-w3m.el, org-wl.el as these files are now part of contrib/.
1791         * org-w3m.el:
1792         * org-vm.el:
1793         * org-w3m.el:
1794         * org-wl.el: Delete (moved to Org's contrib/ directory.)
1796         * org-capture.el (org-mks): Move from org-mks.el.
1798         * org-mks.el: Delete.
1800         * ox-html.el (html): Update HTML options names.
1802         * org.el (org-show-context): Don't try to fix ellipsis when
1803         showing a subtree in agenda.
1805         * ox-html.el (html): Reintroduce #+HTML_HEAD_EXTRA, previously
1806         known as HTML_STYLE_EXTRA.
1807         (org-html-head): Enhance docstring.
1808         (org-html-head-extra): Reintroduce.  Was `org-html-style-extra'.
1809         (org-html--build-head): Rename from `org-html--build-head'.  Add
1810         information from `org-html-head-extra'.
1811         (org-html-template): Use `org-html--build-head'.
1813         * ox-html.el (org-html-display-buffer-mode): Delete.
1814         (org-html-export-as-html): Use `set-auto-mode' instead of
1815         `org-html-display-buffer-mode'.
1817         * org-agenda.el (org-agenda-write): Overwrite file when called
1818         non-interactively.
1820         * org-mobile.el (org-mobile-edit): Workaround a
1821         `org-insert-heading-respect-content' bug which prevents correct
1822         insertion when point is invisible
1824         * org.el (org-previous-line-empty-p): New parameter to allow
1825         checking next line.  Add a docstring.
1826         (org-insert-heading): Handle two universal prefix arguments as
1827         advertised in the docstring.  Don't insert new lines when
1828         creating a heading after the first heading in the current
1829         subtree.
1830         (org-insert-heading-respect-content): New optional argument
1831         arg, passed to `org-insert-heading'.
1833         * org.el (org-mode): Remove syntax entries.  Use
1834         `org-backward-element' and `org-forward-element' for
1835         `beginning-of-defun-function' and `end-of-defun-function': this
1836         allows using C-M-a and C-M-e before the first headline.
1838         * ox-html.el (html): Remove :html-htmlized-css-url :options-alist.
1840         * ox-org.el (org-org-htmlized-css-url): Rename from
1841         `org-html-htmlized-org-css-url' and moved here from ox-html.el.
1842         (org-org-publish-to-org): Handle :htmlized-source in
1843         publishing projects.
1845         * ox-html.el (org-html-style-default): Update docstring.
1846         (org-html-infojs-install-script, org-html--build-style): Update
1847         property names.
1848         (org-html-head-include-scripts)
1849         (org-html-head-include-default-style, org-html-head):
1850         Respectively rename from `org-html-style-include-scripts',
1851         `org-html-style-include-default' and `org-html-style', now
1852         obsolete.
1853         (org-html-style-extra): Delete.
1855         * org-clock.el (org-clock-out): Fix bug: if a closing note needs
1856         to be stored in the drawer where clocks are stored, let's
1857         temporarily remove `org-clock-remove-empty-clock-drawer' from
1858         `org-clock-out-hook'.
1860         * ob-tangle.el (org-babel-tangle): Remove unused attempt of
1861         prompting the user of the tangle file name since :tangle is always
1862         set.  Don't prompt for a tangle file name when called with two
1863         universal prefix arg outside of a src block.  Use
1864         `org-babel-tangle-single-block'.
1865         (org-babel-tangle-single-block): New function.
1866         (org-babel-tangle-collect-blocks): Use the new function.
1868         * org-table.el (org-table-convert-region, org-table-export)
1869         (org-table-align, org-table-beginning-of-field)
1870         (org-table-copy-down, org-table-check-inside-data-field)
1871         (org-table-insert-column, org-table-find-dataline)
1872         (org-table-delete-column, org-table-move-column)
1873         (org-table-insert-row, org-table-insert-hline)
1874         (org-table-kill-row, org-table-paste-rectangle)
1875         (org-table-wrap-region, org-table-sum, org-table-get-formula)
1876         (org-table-get-formula, org-table-get-stored-formulas)
1877         (org-table-fix-formulas, org-table-maybe-eval-formula)
1878         (org-table-rotate-recalc-marks, org-table-eval-formula)
1879         (org-table-get-range, org-table-get-descriptor-line)
1880         (org-table-find-row-type, org-table-recalculate)
1881         (org-table-iterate, org-table-iterate-buffer-tables)
1882         (org-table-formula-handle-first/last-rc)
1883         (org-table-edit-formulas, org-table-fedit-shift-reference)
1884         (org-rematch-and-replace, org-table-shift-refpart)
1885         (org-table-fedit-finish, org-table-fedit-lisp-indent)
1886         (org-table-show-reference, org-table-show-reference)
1887         (org-table-show-reference, org-table-show-reference)
1888         (org-table-force-dataline, orgtbl-error, orgtbl-export)
1889         (orgtbl-send-replace-tbl, org-table-to-lisp)
1890         (orgtbl-send-table, orgtbl-send-table, orgtbl-send-table)
1891         (orgtbl-toggle-comment, orgtbl-insert-radio-table)
1892         (orgtbl-to-unicode, org-table-get-remote-range)
1893         (org-table-get-remote-range, org-table-copy-dow)
1894         (org-table-check-inside-data-field, org-table-insert-colum)
1895         (org-table-find-dataline, org-table-delete-colum)
1896         (org-table-move-column, org-table-insert-ro)
1897         (org-table-insert-hline, org-table-kill-ro)
1898         (org-table-paste-rectangle, org-table-wrap-regio)
1899         (org-table-sum, org-table-get-formul)
1900         (org-table-get-stored-formulas, org-table-fix-formula)
1901         (org-table-maybe-eval-formul, org-table-rotate-recalc-marks)
1902         (org-table-eval-formul, org-table-get-range)
1903         (org-table-get-descriptor-lin, org-table-find-row-type)
1904         (org-table-recalculat, org-table-iterate)
1905         (org-table-iterate-buffer-table)
1906         (org-table-formula-handle-first/last-r)
1907         (org-table-edit-formulas, org-table-fedit-shift-referenc)
1908         (org-rematch-and-replace, org-table-shift-refpar)
1909         (org-table-fedit-finish, org-table-fedit-lisp-inden)
1910         (org-table-show-reference, org-table-force-datalin)
1911         (orgtbl-error, orgtbl-export, orgtbl-send-replace-tb)
1912         (org-table-to-lisp, orgtbl-send-tabl, orgtbl-toggle-comment)
1913         (orgtbl-insert-radio-tabl, orgtbl-to-unicode)
1914         (org-table-get-remote-range): Use `user-error' instead of
1915         `error' for user errors.
1917         * ob-core.el (org-babel-load-in-session): Throw a useful error
1918         when there is no code block at point.
1920         * ob-tangle.el (org-babel-tangle): Rename the ONLY-THIS-BLOCK
1921         parameter to ARG.  Allow two universal prefix arguments to tangle
1922         by the target file of the block at point.
1923         (org-babel-tangle-collect-blocks): New parameter TANGLE-FILE
1924         to restrict the collection of blocks to those who will be
1925         tangled in TARGET-FILE.
1927         * org-src.el (org-edit-src-auto-save-idle-delay): Use a delay of 0
1928         by default (i.e., deactivate auto-saving.)
1929         (org-edit-src-code): Set `buffer-auto-save-file-name' for
1930         auto-saving with `auto-save-mode'.
1932         * org.el (org-deadline, org-schedule): When called with two
1933         universal prefix arguments, set the warning time or the delay
1934         relatively to the current timestamp, not to today's date.
1936         * org-agenda.el (org-agenda-filter-apply): Deactive
1937         `org-agenda-entry-text-mode' when filtering.
1938         (org-agenda-entry-text-mode): Don't allow in filtered views.
1939         Don't show the maximum number of lines when turning off.
1941         * ox-html.el (org-html-headline): Add comment.
1943         * org.el (org-mode): Set `paragraph-start'.
1945         * org-agenda.el (org-agenda-entry-text-leaders): New option.
1946         (org-agenda-entry-text-show-here): Use it.
1948         * ox-html.el (org-html-link--inline-image): Always retrieve
1949         attributes for inline images.
1950         (org-html-link): Fix trailing whitespace at the end of the opening
1951         <a ...> HTML tag.
1952         (org-html-headline): For headlines whose first element is a
1953         headline and not a section, pretend there is an empty section (as
1954         "") for the correct HTML div to be inserted.
1956         * org-agenda.el (org-agenda-collect-markers)
1957         (org-create-marker-find-array): Move to ox-icalendar.el.
1958         (org-agenda-marker-table, org-check-agenda-marker-table):
1959         Delete.
1961         * ox-icalendar.el (org-icalendar-create-uid): New parameter
1962         H-MARKERS to only update some headlines, not the whole file.
1963         (org-icalendar--combine-files): When exporting to an .ics file
1964         only add UID to the headlines shown in the agenda buffer.
1965         (org-agenda-collect-markers, org-create-marker-find-array):
1966         Move here.
1968         * org-agenda.el (org-agenda-write): Ask before overwriting an
1969         existing file.
1971         * org-pcomplete.el (pcomplete/org-mode/file-option/infojs_opt):
1972         Use `org-html-infojs-opts-table'.
1974         * ox-html.el (org-html-infojs-opts-table):
1975         (org-html-use-infojs, org-html-infojs-options)
1976         (org-html-infojs-template): Move from ox-jsinfo.el.  Rename using
1977         the org-html- prefix.
1978         (org-html-infojs-install-script): Move from ox-infojs.el.
1980         * ox-infojs.el: Delete.
1982         * ox-html.el (org-html-section): Fix indentation.
1983         (org-html-inner-template): Add the document title here, within the
1984         "content" class, as the org-info.js needs it.
1985         (org-html-template): Don't include the document's title here.
1986         (org-html-format-inlinetask-function): Remove wrong example.
1988         * ob-tangle.el (org-babel-tangle-collect-blocks): Don't collect
1989         blocks in commented out headings.
1991         * ox-latex.el (org-latex-logfiles-extensions)
1992         (org-latex-remove-logfiles): Improve docstrings.
1994         * org-capture.el (org-capture): Cosmetic fix.
1996         * org-protocol.el (org-protocol-create-for-org)
1997         (org-protocol-create): Small docstrings enhancements.
1999         * org-protocol.el (org-protocol-capture): Small docstring fix.
2001         * org.el (org-speed-command-activate): Only forbid in src code
2002         blocks.
2004         * org-indent.el
2005         (org-indent-add-properties): Bugfix: prevent negative value for
2006         `added-ind-per-lvl'.
2008         * org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
2009         `isearch-mode-end-hook' so that any isearch fixes the problem with
2010         ellipsis on the first line.
2011         (org-fix-ellipsis-at-bol): New defsubst.
2012         (org-show-context, org-isearch-end): Use it.
2014         * org-agenda.el (org-agenda-deadline-leaders): New formatting
2015         string for past deadlines.
2016         (org-agenda-scheduled-leaders): Small change.
2017         (org-agenda-get-deadlines): Use the new formatting string.
2019         * ob-lob.el (org-babel-lob-execute): Rename cache? to cache-p.
2021         * org.el (org-speed-command-activate): Don't activate speed
2022         commands within blocks.
2024         * org.el (org-show-context): Remove useless catch.  Make sure the
2025         top of the window is a visible headline.
2026         (org-activate-plain-links): Remove unused catch.
2028         * org-macs.el (org-get-alist-option): Return nil, not (nil), so
2029         that `org-show-context' DTRT.
2031         * org.el (org-imenu-get-tree): Fix bug when matching against empty
2032         headlines.
2033         (org-overview): Stay on current line.
2034         (org-map-entries): Fix docstring.
2036         * org-macs.el (org-unmodified): Update comment.  Don't define
2037         `with-silent-modifications' for emacsen that don't have it.
2039         * org-compat.el (org-with-silent-modifications): New
2040         compatibility macro.
2042         * org.el (org-refresh-category-properties)
2043         (org-refresh-properties, org-entry-blocked-p)
2044         (org-agenda-prepare-buffers):
2046         * org-indent.el (org-indent-remove-properties)
2047         (org-indent-add-properties):
2049         * org-colview.el (org-columns-display-here)
2050         (org-columns-remove-overlays, org-columns-quit)
2051         (org-columns-edit-value, org-columns-compute-all)
2052         (org-columns-compute, org-agenda-colview-compute):
2054         * org-clock.el (org-clock-sum): Use the compatibility macro
2055         `org-with-silent-modifications' instead of
2056         `with-silent-modifications'.
2058         * org.el (org-sort-remove-invisible): Remove emphasis markers.
2060         * org.el (org-sort-remove-invisible): Use defsust.  Do not only
2061         check against invisible links, truly returns the visible part of
2062         the string.
2063         (org-sort-remove-invisible): Add a docstring.
2064         (org-sort-entries): Remove hidden links when comparing entries.
2066         * org-list.el (org-sort-list): Remove hidden links when comparing
2067         list items.
2069         * ox-html.el (org-html-headline): Fix typo.
2070         (org-html-format-headline--wrap): Cosmetic change.
2072         * org.el (org-at-clock-log-p): Delete.
2074         * org-clock.el (org-at-clock-log-p): Move here.
2076         * ox-html.el (org-html-format-headline-function): Fix docstring.
2078         * ob-sql.el (org-babel-execute:sql): Add header row delimiter for
2079         both mysql and postgresql.
2081         * org.el (org-agenda-prepare-buffers): Don't use
2082         `with-silent-modifications' too early.
2084         * org-macs.el: Add a comment on when to use `org-unmodified' and
2085         when to use `with-silent-modifications'.
2087         * org-colview.el (org-columns-display-here)
2088         (org-columns-remove-overlays, org-columns-quit)
2089         (org-columns-edit-value, org-columns-compute-all)
2090         (org-columns-compute, org-agenda-colview-compute):
2091         * org-clock.el (org-clock-sum):
2092         * org.el (org-refresh-category-properties)
2093         (org-refresh-properties, org-entry-blocked-p)
2094         (org-agenda-prepare-buffers): Use `with-silent-modifications'
2095         instead of `org-unmodified'.
2097         * ox-publish.el (org-publish-sitemap-date-format): Small docstring
2098         enhancement.
2100         * ox-latex.el (org-latex-format-headline-default-function): New
2101         option.
2102         (org-latex-format-headline-function): Use the new option as
2103         the default value.
2104         (org-latex-toc-command): Don't add vertical space after the table
2105         of contents.
2107         * org.el (org-entry-blocked-p): Use `org-unmodified' instead of
2108         `org-with-buffer-modified-unmodified'.
2109         (org-agenda-prepare-buffers): Fix indentation.
2111         * org-macs.el (org-unmodified): Rename from
2112         `org-with-buffer-modified-unmodified'.
2113         (org-with-buffer-modified-unmodified): Delete.
2115         * ob-python.el (org-babel-python-command): Use a defcustom.
2116         (org-babel-python-mode): Use a defcustom and default to
2117         'python-mode when featured.
2119         * org-agenda.el (org-agenda-start-day): Refer to `org-read-date'
2120         in the docstring.
2122         * ox-org.el (org-org-publish-to-org): Autoload.
2124         * org-protocol.el:
2125         * org-bibtex.el: Remove remember support.
2127         * org-clock.el (org-clock-heading-for-remember): Delete.
2128         (org-clock-in): Do not set the heading for remember.
2130         * org.el (org-move-subtree-down, org-forward-element)
2131         (org-backward-element):
2133         * org-table.el (org-table-previous-field)
2134         (org-table-move-column, org-table-move-row):
2136         * org-list.el (org-move-item-down, org-move-item-up)
2137         (org-cycle-item-indentation): Use `user-error' when moving or
2138         modifying the element at point is not possible.
2140         * ox-html.el (org-html-table-header-tags)
2141         (org-html-table-data-tags, org-html-table-row-tags)
2142         (org-html-table-align-individual-fields): Use the
2143         org-export-html group.
2144         (org-html-inline-src-block, org-html-link): Fix error messages.
2145         (org-html-begin-plain-list): Fix formatting, better FIXME
2146         comment.
2148         * org.el (org-fill-paragraph): Fill using
2149         `org-mode-transpose-word-syntax-table'.
2151         * ox-org.el (org-org-publish-to-org): New defun.
2153         * ox-html.el (org-export-htmlize): Delete group.
2154         (org-html-htmlize-output-type)
2155         (org-html-htmlized-org-css-url)
2156         (org-html-htmlize-region-for-paste): Rename from
2157         org-export-htmlize-*.
2158         (org-html-htmlize-generate-css, org-html-fontify-code): Use
2159         the correct names.
2161         * org-compat.el (org-file-equal-p): New compatibility function.
2163         * ox.el (org-export-output-file-name): Use the new function.
2165         * org-clock.el (org-clock-set-current)
2166         (org-clock-delete-current): Delete.
2167         (org-clock-in, org-clock-out): Set and delete
2168         `org-clock-current-task'.  Minor code clean-up.
2170         * org-clock.el (org-clock-in, org-clock-in-last): Tell
2171         `org-current-time' to always return a past time.
2173         * org.el (org-current-time): New argument `past' to force
2174         returning a past time when rounding.
2176         * org-agenda.el (org-agenda-unmark-clocking-task): New function.
2177         (org-agenda-mark-clocking-task): Use it.
2178         (org-agenda-clock-in): Let the cursor where it is.
2179         (org-agenda-clock-out): Ditto.  Also remove the
2180         `org-agenda-clocking' overlay.
2182         * org-agenda.el (org-agenda-set-restriction-lock): Fix restriction
2183         so that it ends at the beginning of the next headline at the same
2184         level.
2186         * org.el (org-set-effort, org-property-next-allowed-value):
2187         When needed, update the current clock effort time.
2188         (org-next-link): New parameter `search-backward'.  Fix bug when at
2189         a link with no 'org-link face, e.g., in a DONE headline.  Throw a
2190         message instead of an error.
2191         (org-previous-link): Use `org-next-link'.
2193         * org-agenda.el (org-agenda-format-item): Only set the breadcrumbs
2194         when `org-prefix-has-breadcrumbs' is non-nil.
2196         * org.el (org-mode): Don't make characters from
2197         `org-emphasis-alist' word constituents.
2198         (org-mode-transpose-word-syntax-table): Rename from
2199         `org-syntax-table'.
2200         (org-transpose-words): Use
2201         `org-mode-transpose-word-syntax-table'.
2203         * ox.el (org-export--dispatch-ui)
2204         (org-export--dispatch-action): Use integers for control chars.
2206         * org-agenda.el (org-agenda-set-restriction-lock): Put the
2207         overlay until the end of the subtree, not the end of the
2208         headline.
2210         * org.el (org-entry-delete, org-delete-property): New optional
2211         arg delete-empty-drawer, a string, to delete any empty drawer
2212         with that name.
2213         (org-toggle-ordered-property): Delete the drawer "PROPERTIES"
2214         if empty.
2216         * org-src.el (org-src-mode-map, org-edit-src-code)
2217         (org-edit-fixed-width-region, org-edit-src-save): Use C-c C-k
2218         for `org-edit-src-abort'.
2220         * org.el (org-mode): Use org-unmodified during startup
2221         initialization for functions that may be inhibited.
2223         * org-table.el (org-table-align): Only set the window start
2224         when table alignment is performed in the selected window.
2226         * org-src.el (org-edit-src-auto-save-idle-delay): New option.
2227         (org-src-ask-before-returning-to-edit-buffer): Make a defcustom.
2228         (org-edit-src-code-timer): New timer variable.
2229         (org-edit-src-code): Run the timer.
2230         (org-edit-fixed-width-region): Enhance message.
2231         (org-edit-src-exit): Cancel the timer.
2232         (org-edit-src-save): Prevent saving when editing fixed-width
2233         buffer, exiting will save already.
2234         (org-edit-src-exit): Inconditionally kill the src/example
2235         editing buffer.
2237         * org-pcomplete.el (pcomplete/org-mode/file-option): Require
2238         'org-element.  This fixes a bug about unbound variable
2239         `org-element-affiliated-keywords' when trying to complete a
2240         keyword before 'org-element was required.
2242         * org-list.el (org-list-bullet-string): Replace match when there
2243         is a match, otherwise just return the bullet.
2245         * org-src.el (org-src-mode-map): New binding C-c k to abort
2246         editing.
2247         (org-edit-src-code): Mention the keybinding to abort editing
2248         and go back to the correct position.
2249         (org-edit-src-abort): New command to abort editing.
2251         * ox-html.el (org-html--build-meta-info): Add a newline before
2252         the title meta information.
2254         * org.el (org-return-follows-link): Mention that this does not
2255         affect the behavior of RET in tables.
2257         * ox-html.el (org-html--build-mathjax-config): Only include
2258         MathJax configuration if the resulting HTML contains LaTeX
2259         fragments.
2261         * org.el (org-syntax-table, org-transpose-words): Delete.
2262         (org-mode): Syntactically Define {} and <> as parentheses.
2263         (org-drag-line-forward, org-drag-line-backward): New
2264         functions.
2265         (org-shiftmetaup, org-shiftmetadown): Fall back on the new
2266         functions instead of throwing an error.
2267         (org-make-org-heading-search-string): Don't use statistic or [x/y]
2268         cookies when creating a link.
2270         * ox-html.el (org-html-table): Append #+attr_html attributes.
2272         * org.el (org-emphasis-alist, org-protecting-blocks):
2273         * org-src.el (org-edit-src-find-region-and-lang):
2274         * org-list.el (org-list-forbidden-blocks):
2275         * org-footnote.el (org-footnote-forbidden-blocks): Remove
2276         references to the deleted DocBook exporter.
2278         * org.el (org-end-of-line): Don't throw an error outside elements.
2280         * ox-html.el (org-html-link): Don't throw an error if the value
2281         of the :ID: property has not been generated by uuidgen.
2283         * org-pcomplete.el (pcomplete/org-mode/file-option/x):
2284         Resurrect.  Use `org-default-options' to initialize completion
2285         fonctions for the most important keywords.
2287         * org-macs.el (org-default-options): Rename and adapt from
2288         `org-get-current-options'.
2290         * org.el (org-options-keywords): Add keywords.
2292         * ox-odt.el (org-odt-convert-read-params): Fix typo in prompt.
2294         * ox-latex.el (org-latex-horizontal-rule): Fix typo in docstring.
2296         * ox-html.el (org-html-display-buffer-mode): New option.
2297         (org-html-export-as-html): Use it.
2299         * ob-core.el (org-babel-insert-result): Fix bug when inserting
2300         an empty string as the result.
2302         * org.el (org-timestamp-change): New optional parameter
2303         `suppress-tmp-delay' to suppress temporary delay like "--2d".
2304         (org-auto-repeat-maybe): Suppress temporary delays.
2306         * org-agenda.el (org-agenda-get-scheduled): When the delay is
2307         of the form "--2d" and there is a repeater, ignore the delay
2308         for further repeated occurrences.
2310         * org-agenda.el (org-agenda-get-deadlines)
2311         (org-agenda-get-scheduled): Minor refactoring.
2313         * org.el (org-time-string-to-absolute): Tiny docstring enhancement.
2314         (org-edit-special): Don't allow to edit when buffer is read only.
2316         * ox-html.el (org-html-format-latex): Don't set `cache-relpath'
2317         and `cache-dir' when `processing-type' is 'mathjax.
2318         (org-html-format-latex): Fix conversion in non-file buffers.
2320         * org.el (org-speed-commands-default): Bind `B' and `F' to
2321         `org-previous-block' and `org-next-block'.
2322         (org-read-date-minibuffer-local-map): Use "!" instead of "?" to
2323         see today's diary as "?" is already bounded by Calendar.
2324         (org-read-date-minibuffer-local-map): Use "." to go to today's
2325         date.
2327         * ob-core.el (org-babel-next-src-block)
2328         (org-babel-previous-src-block): Rewrite using
2329         `org-next-block'.
2331         * org.el (org-next-block, org-previous-block): New navigation
2332         commands.
2333         (org-mode-map): Bind the new commands to C-c C-F and C-c C-B
2334         respectively.
2336         * org-agenda.el (org-agenda-write): Don't copy headlines' subtrees
2337         when writing to an .org file.
2339         * org.el (org-copy-subtree): New parameter `nosubtrees'.
2341         * org-agenda.el (org-agenda-write): Allow writing to an .org file.
2343         * org.el (org-paste-subtree): Fix typo in docstring.
2345         * org-agenda.el (org-agenda-get-todos)
2346         (org-agenda-get-timestamps): Use nil as `ts-date' for diary
2347         sexpressions.
2348         (org-agenda-get-todos): Skip diary sexps when trying to sort by
2349         timestamp.
2350         (org-agenda-max-entries, org-agenda-max-todos)
2351         (org-agenda-max-tags, org-agenda-max-effort): New options.
2352         (org-timeline, org-agenda-list, org-search-view)
2353         (org-todo-list, org-tags-view): Tell `org-agenda-finalize-entries'
2354         what agenda type we are currently finalizing for.
2355         (org-agenda-finalize-entries): Limit the number of entries
2356         depending on the new options.
2357         (org-agenda-limit-entries): New function.
2359         * org.el (org-deadline): Allow a double universal prefix argument
2360         to insert/update a warning cookie.
2361         (org-deadline): Allow a double universal prefix argument to
2362         insert/update a delay cookie.
2364         * org-agenda.el (org-agenda-skip-scheduled-delay-if-deadline):
2365         New option.  The structure of the possible values is copied
2366         from `org-agenda-skip-deadline-prewarning-if-scheduled'.
2367         (org-agenda-get-scheduled): Honor the two new option,
2368         `org-scheduled-delay-days' and
2369         `org-agenda-skip-deadline-prewarning-if-scheduled'.  I.e. if a
2370         scheduled entry has a delay cookie like "-2d" (similar to the
2371         prewarning cookie for deadline), don't show the entry until
2372         needed.
2374         * org.el (org-deadline-warning-days): Small docstring fix.
2375         (org-scheduled-delay-days): New option (see
2376         `org-deadline-warning-days'.)
2377         (org-get-wdays): Use the new option.
2379         * org-agenda.el (org-agenda-sorting-strategy): Document the
2380         new sorting strategies.
2381         (org-agenda-get-todos, org-agenda-get-timestamps)
2382         (org-agenda-get-deadlines, org-agenda-get-scheduled): Add a
2383         `ts-date' text property with scheduled, deadline or timetamp
2384         date.
2385         (org-cmp-ts): New function to compare timestamps.
2386         (org-em): Add a docstring.
2387         (org-entries-lessp): Use `org-cmp-ts' to compare timestamps.
2388         Implement the following sorting strategies: timestamp-up/down,
2389         scheduled-up/down, deadline-up/down, ts-up/down (for active
2390         timestamps) and tsia-up/down (for inactive timestamps.)
2392         * ob-lilypond.el (ly-process-basic): Bugfix, don't use `pcase'.
2394         * org.el (org-contextualize-validate-key): Check against two new
2395         context predicates [not-]in-buffer.
2397         * org-agenda.el (org-agenda-custom-commands-contexts):
2398         Document the new [not-]in-buffer context predicates.
2400         * ob-core.el (org-ts-regexp): Remove duplicate defconst'ing.
2401         (org-babel-result-regexp): Don't use `org-ts-regexp', use a regexp
2402         string directly.
2404         * ob-lilypond.el (ly-process-basic): Don't use `ly-gen-png' and
2405         friends, rely on the extension of the output file.
2407         * org-archive.el (org-archive-file-header-format): New option.
2408         (org-archive-subtree): Use it.
2410         * ob-lilypond.el (ly-process-basic): Rely on ly-gen-png/pdf/eps to
2411         set the output type.
2413         * org.el (org-read-date-minibuffer-local-map): New variable.
2414         (org-read-date): Use it.
2415         (org-read-date-minibuffer-setup-hook): Mark as obsolete.
2416         (org-read-date): Bind `!' to `diary-view-entries' in order to
2417         check diary entries while setting an Org date.
2419         * org-agenda.el (org-diary): Only keep the descriptions of the
2420         links since Org links are not active in the diary buffer.
2422         * org-faces.el (org-priority): New face.
2424         * org.el (org-font-lock-add-priority-faces): Use the new face.
2426         * org-agenda.el (org-agenda-fontify-priorities): Use the
2427         org-priority face and add specific agenda face on top of it.
2429         * org-agenda.el (org-agenda-show-clocking-issues)
2430         (org-agenda-format-item): Let-bind
2431         `org-time-clocksum-use-effort-durations' to nil.
2433         * org.el (org-ctrl-c-ctrl-c): Only throw a message when using two
2434         universal prefix arguments on a list where all items are already
2435         in a transitory state.  Refine the error when the checkbox cannot
2436         be toggled.
2438         * org.el ("org-loaddefs.el"): Load org-loaddefs.el before
2439         requiring any org library.  Also use `load', not
2440         `org-load-noerror-mustsuffix'.
2441         (org-effort-durations): Move up to fix a compiler warning.
2442         (org-edit-special): Fix typo in docstring.
2443         (org-time-clocksum-format): Add a version tag and add to the
2444         'org-clock group.
2445         (org-time-clocksum-use-fractional): Ditto.
2446         (org-time-clocksum-use-effort-durations): New option to allow
2447         using `org-effort-durations' when computing clocksum durations.
2448         (org-minutes-to-clocksum-string): Use the new option.
2450         * org-clock.el (org-clocktable-write-default): Let-bind
2451         `org-time-clocksum-use-effort-durations' to a new clocktable
2452         parameter ":effort-durations".
2454         * org-entities.el (org-entities): "neg" should be used in LaTeX
2455         math mode.  Add the "neg" entity.
2457         * org-mobile.el (org-mobile-allpriorities): New option.
2458         (org-mobile-create-index-file): Use the new option.
2460         * org-latex.el (org-export-latex-inline-images): New option.
2462         * org.el (org-forward-heading-same-level): Before the first
2463         headline, go to the first headline.
2464         (org-backward-heading-same-level): Before the first headline,
2465         go to the beginning of the buffer, like
2466         `outline-previous-visible-heading' does.
2468         * org-exp.el (org-export-plist-vars): Don't use
2469         `org-export-html-inline-images' to set the :inline-images
2470         property, use distinct properties for the various backends.
2472         * org-publish.el (org-publish-project-alist): Ditto.
2474         * org-latex.el (org-export-latex-links): Use :latex-inline-images
2475         instead of :inline-images.
2477         * org-odt.el (org-compat): Require.
2479         * org.el (org-parse-time-string): Allow strings supported by
2480         tags/properties matcher (eg <now>, <yesterday>, <-7d>).
2482         * org-clock.el (org-clock-rounding-minutes): New option to round
2483         the time by N minutes in the past when clocking in or out.
2484         (org-clock-in, org-clock-in-last, org-clock-out): Use the new
2485         option.
2487         * org.el (org-current-time): New optional parameter
2488         `rounding-minutes' to override the use of
2489         `org-time-stamp-rounding-minutes' for rounding.
2491         * org-clock.el (org-clock-special-range): Small docstring fix.
2492         New parameter 'weekstart to define the week start day.
2493         (org-clock-special-range, org-dblock-write:clocktable)
2494         (org-dblock-write:clocktable, org-clocktable-write-default)
2495         (org-clocktable-steps, org-clock-get-table-data): Use the new
2496         parameter.
2497         (org-clocktable-defaults): Set monday as the starting day of the
2498         week by setting :wstart to 1.
2500         * org.el (org-store-link): Fix the naming of internal links to
2501         lines starting with a keyword.
2503         * org-agenda.el (org-agenda-Quit, org-agenda-quit)
2504         (org-agenda-exit, org-agenda-kill-all-agenda-buffers):
2505         Docstring fixes.
2507         * org.el (org-last-set-property-value): New variable.
2508         (org-read-property-name): Fix dangling parentheses.
2509         (org-set-property-and-value): New command to manually set
2510         both the property and the value.  A prefix arg will use the
2511         last property-value pair set without prompting the user.
2512         (org-set-property): Set `org-last-set-property-value'.
2513         (org-mode-map): Bind the new command to `C-c C-x P'.
2514         (org-find-invisible-foreground): Delete.
2515         (org-mode): Use `face-background' instead of
2516         `org-find-invisible-foreground'.
2517         (org-startup-options): New startup keywords.
2518         (org-log-into-drawer): Update docstring to explain how to set this
2519         variable through the startup keyword "logdrawer" and "nologdrawer".
2520         (org-log-states-order-reversed): Document the new startup keywords
2521         "logstatesreversed" and "nologstatesreversed".
2522         (org-mode-map): Use `org-remap' instead of binding `M-t' to
2523         `org-transpose-words' directly.
2524         (org-syntax-table): New variable.
2525         (org-transpose-words): New command, simply wrapping the new
2526         syntax table around `transpose-words'.
2527         (org-mode-map): Bind `org-transpose-words' to `M-t'.
2528         (org-store-link): Use keyword at point as the search string.  Use
2529         `delq nil' instead of `delete nil'.
2530         (org-make-org-heading-search-string): Rewrite using
2531         org-element.el.  Not an interactive function anymore.
2533         * org-pcomplete.el (pcomplete/org-mode/drawer): Ditto.
2535         * org-mobile.el (org-mobile-files-alist): Ditto.
2537         * org.el (org-store-link): When creating a link to a heading with
2538         a bracket link, don't escape this link with curly braces as the
2539         escaped link is not active anyway; use the description instead.
2540         If the headline only consists of a bracket link, add a star to the
2541         description so that the user knows this is an internal link.
2543         * org-w3m.el (org-w3m-store-link): New function.
2545         * org.el (org-store-link): Update the error message when no method
2546         is available for storing a link.  Use `user-error' for this.
2547         Remove handling w3m links from this function.
2548         (org-insert-heading, org-insert-todo-heading): A double prefix arg
2549         force the insertion of the subtree at the end of the parent
2550         subtree.
2551         (org-store-link): A double prefix argument now skips module
2552         store-link functions to only use Org's core functions.  Also, when
2553         several modular store-link functions match, ask for which one to
2554         use.
2555         (org-cycle, org-cycle-internal-global)
2556         (org-cycle-internal-local, org-display-outline-path): Let-bind
2557         `message-log-max' to nil so that messages don't populate the
2558         *Messages* buffer.
2560         * org-table.el (org-table-eval-formula): Handle localized
2561         time-stamps by internally converting them to english during
2562         formulas evaluation.
2564         * org.el (org-clock-timestamps-up): Fix declarations.
2566         * ob-core.el (org-split-string): Declare function.
2568         * org-html.el (org-html-export-list-line): Add CSS classes to
2569         these list HTML tags: <ul> <dl> and <ol>.
2571         * org-clock.el (org-clock-timestamps-up)
2572         (org-clock-timestamps-down, org-clock-timestamps-change): Add
2573         an optional argument N to change timestamps by several units.
2575         * org.el (org-shiftcontrolup, org-shiftcontroldown): Ditto.
2577         * org-exp.el (org-export-copy-to-kill-ring): Add a new choice
2578         'if-interactive and use it as the default.
2579         (org-export-push-to-kill-ring): Use the new choice.
2581         * org.el (org-block-entry-blocking): New variable.
2582         (org-todo): Use it.  Also use `user-error' when a TODO state
2583         change is blocked.
2584         (org-block-todo-from-children-or-siblings-or-parent): Display
2585         `org-block-entry-blocking' in the user-error message.
2587         * org.el (org-get-cursor-date): New optional argument WITH-TIME to
2588         add the time of the day.
2590         * org-capture.el (org-capture): When capturing from the agenda and
2591         with a non-nil value for `org-capture-use-agenda-date', a `C-1'
2592         prefix will set the capture time to the HH:MM of the current line
2593         or the current HH:MM.
2595         * org-agenda.el (org-agenda-capture): New optional argument
2596         WITH-TIME: when set to 1, the capture time will be set to the
2597         HH:MM time of the current line, or the current HH:MM time.
2599         * org.el (org-latex-preview-ltxpng-directory): Fix docstring
2600         formatting.
2601         (org-deadline-close): Use `org-time-stamp-to-now'.
2602         (org-time-stamp-to-now): Use `org-float-time' instead of the
2603         obsolete `time-to-seconds' function.
2604         (org-format-outline-path): Fix bug: add the separator string after
2605         the prefix.
2606         (org-display-inline-images): Search for #+ATTR within the current
2607         paragraph.
2608         (org-days-to-time): Make obsolete.
2609         (org-time-stamp-to-now): Rename from `org-days-to-time'.
2610         Allow to compare time-stamps based on seconds.
2612         * org-agenda.el (org-agenda-todo-ignore-time-comparison-use-seconds):
2613         New option to compare time stamps using seconds, not days.
2614         (org-agenda-todo-custom-ignore-p)
2615         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
2616         Use the new function's name and the new option.
2618         * org-clock.el (org-clock-sound): Enhance docstring.
2619         (org-notify): Use the parameter `play-sound' as argument for
2620         `org-clock-play-sound'.
2621         (org-clock-play-sound): New optional argument `clock-sound' to
2622         override `org-clock-sound'.
2624         * org-agenda.el (org-agenda-format-item): Fix initialization
2625         of the level text property.
2627         * org.el (org-format-outline-path): Small docstring
2628         enhancement.
2629         (org-display-outline-path): Fix order or arguments.
2631         * org.el (org-activate-plain-links)
2632         (org-activate-bracket-links): Add a new 'htmlize-link text
2633         property, so that htmlize (> version 1.42) can linkify the
2634         links.
2635         (org-display-outline-path): Allow a string value for the
2636         `as-string' parameter.  Such a value will replace the "/"
2637         separator in the output.  New argument `as-string'.
2638         (org-refile-keep): New variable.
2639         (org-copy): New command to copy notes.
2640         (org-refile): New parameter msg to override the "Refile" string in
2641         the default prompt.
2642         (org-mode-map): Bind "C-c M-w" to `org-copy'.
2643         (org-refile-get-location): Use the current file name as the
2644         default target when there is no refile history.
2645         (org-cycle-hide-inline-tasks): New function to hide inline tasks
2646         when cycling.
2647         (org-cycle-hook): Use the new function.
2648         (org-entry-put): Fix bug when updating the last clock.
2649         (org-use-last-clock-out-time-as-effective-time): New option.
2650         (org-current-effective-time): Use the new option.
2652         * org-clock.el (org-clock-get-last-clock-out-time): New
2653         function.
2655         * org.el (org-toggle-inline-images): Only send a message when
2656         called interactively.
2657         (org-scan-tags): Fix the declaration and the use of
2658         `org-agenda-format-item'.
2660         * org-agenda.el (org-agenda-add-time-grid-maybe): Use the
2661         correct number of parameters for `org-agenda-format-item'.
2662         Add a docstring.
2664         * org.el (org-outline-level): Go at the beginning of the
2665         headline first to always return a sensible result.
2667         * org-agenda.el (org-search-view, org-agenda-get-todos)
2668         (org-agenda-get-timestamps, org-agenda-get-sexps)
2669         (org-agenda-get-progress, org-agenda-get-deadlines)
2670         (org-agenda-get-scheduled, org-agenda-get-blocks): Return the
2671         correct level depending on `org-odd-levels-only'.
2672         (org-agenda-prefix-format): A new specifier `%l' allows to insert
2673         X spaces when the item is of level X.
2674         (org-search-view, org-get-entries-from-diary)
2675         (org-agenda-get-todos, org-agenda-get-timestamps)
2676         (org-agenda-get-sexps, org-agenda-get-progress)
2677         (org-agenda-get-deadlines, org-agenda-get-scheduled)
2678         (org-agenda-get-blocks, org-agenda-change-all-lines): Add a
2679         new text property 'level, a string with as many whitespaces as
2680         the level of the item.
2681         (org-agenda-format-item, org-compile-prefix-format): Handle
2682         the new `%l' specifier.
2684         * org-colview.el (org-columns-next-allowed-value): Add the
2685         CLOCKSUM property to the list of properties that can be
2686         changed interactively from the column view.
2688         * org.el (org-entry-put): Allow to set the CLOCKSUM property
2689         by updating the most recent clock.  This is useful in the
2690         column view when you want to use S-<left/right> to update the
2691         last clock of the entry at point.
2692         (org-image-actual-width): New choice: use #+ATTR* or fall back on
2693         a number.
2694         (org-display-inline-images): Implement the new choice.
2695         (org-image-actual-width): Rename from `org-image-fixed-width'.
2696         Update the docstring.  Give more choice.
2697         (org-display-inline-images): Use the option new choices.
2698         (org-image-fixed-width): New option to set a fixed width for
2699         inline images.
2700         (org-display-inline-images): Use the new option.
2702         * org-agenda.el (org-class): Allow to use holiday strings for
2703         the `skip-weeks' arguments.
2705         * org.el (org-mode): Set the syntax of the " character to "string
2706         quote".
2708         * org-agenda.el (org-agenda-append-agenda): Bugfix: correctly
2709         check whether we are in `org-agenda-mode'.
2710         (org-agenda): Set `org-agenda-buffer-name' correctly with sticky
2711         agendas and non-custom commands.
2713 2013-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
2715         * org-src.el (org-edit-src-exit): Let overlay survive after the
2716         buffer has been saved.
2718         * ox-texinfo.el (org-texinfo-export-to-texinfo): Use new style
2719         backquoting.
2720         (org-texinfo-export-to-info): Use new style backquoting.
2722         * ob-latex.el (org-babel-execute:latex): Call `file-name-sans-extension'
2723         instead of `file-base-name'.
2725         * org.el (org-insert-heading): Improve whitespace behavior at
2726         end of subtree.
2727         (org-latex-default-packages-alist): Add the `rotating' package to
2728         the list of default packages.  Improve docstring.
2729         (org-insert-property-drawer): Insert only after space in current
2730         line.
2731         (org-forward-paragraph, org-backward-paragraph): Do not deactivate
2732         the mark.
2733         (org-special-ctrl-o): New option.
2734         (org-open-line): Don't do anything special unless `org-special-ctrl-o'
2735         is non-nil.
2737         * org-agenda.el (org-agenda-custom-commands-local-options):
2738         (org-agenda-span, org-agenda-ndays-to-span)
2739         (org-agenda-span-to-ndays, org-agenda-list, org-agenda-later)
2740         (org-agenda-change-time-span, org-agenda-compute-starting-span): Add
2741         support for fortnight view.
2742         (org-agenda-menu): Add fortnight view command.
2743         (org-agenda-fortnight-view): New command.
2745         * org-timer.el (org-clock-sound): Silence compiler.
2747         * org.el (org-beginning-of-line, org-end-of-line): Bind
2748         deactivate-mark to avoid that this command deactivates it.
2749         (org-make-tags-matcher): Do not interpret / in property value as
2750         starter of TODO match.
2751         (org-overview): Preserve point.
2752         (org-read-date-minibuffer-local-map): Don't replace disputed keys
2753         when defining this keymap.
2754         (org-read-date): Remove unnecessary binding of
2755         `org-replace-disputed-keys'.
2756         (org-insert-heading): Allow to remove blank lines if the user does
2757         not want any.
2758         (org-unlogged-message): Fix typo in dostring.
2760         * ob-ruby.el: New customizations `org-babel-ruby-hline-to' and
2761         `org-babel-ruby-nil-to'
2762         (org-babel-ruby-var-to-ruby): Convert incoming 'hlines.
2763         (org-babel-ruby-table-or-string): Convert outgoing nils.
2765         * org.el (org-file-apps-defaults-gnu): Use `xdg-open' to open
2766         files where available.
2768         * org-table.el (orgtbl-radio-table-templates): Improve docstring.
2770         * org.el (org-unlogged-message): New function.
2771         (org-cycle, org-cycle-internal-global, org-cycle-internal-local)
2772         (org-global-cycle, org-display-outline-path): Use
2773         `org-unlogged-message'.
2775         * org-pcomplete.el (org-make-org-heading-search-string): Fix
2776         function declaration.
2777         (pcomplete/org-mode/searchhead): Remove incorrect second arguments
2778         to `org-make-org-heading-search-string'.
2780         * org.el (org-read-date): Turn off replacing disputed keys when
2781         defining the minibuffer keys during date selection.
2782         (org-insert-heading): Improve the empty line insertion behavior.
2783         Basically, never remove empty lines, only add them.
2785         * org-attach.el (org-attach-commit): Use vc-git to find the git
2786         repository.
2788         * org-compat.el (org-move-to-column): Turn off invisibility stuff
2789         for moving the cursor to a column.
2791         * org.el (org-modules): Update with the new module org-mac-link.
2792         (org-display-outline-path): Do not log outline path in Message
2793         buffer.
2794         (org-agenda-ignore-drawer-properties): New option.
2795         (org-agenda-prepare-buffers): Honour
2796         `org-agenda-ignore-drawer-properties'.
2798         * org-clock.el (org-clock-goto): Recenter to thrd line
2800         * org-table.el (orgtbl-send-replace-tbl): Allow multiple spaces
2801         between keywords in RECEIVE ORGTBL lines.
2803         * org.el (org-bookmark-names-plist): New user option.
2804         (org-set-regexps-and-options-for-tags): Use `org-bookmark-names-plist'.
2805         (org-refile): Use `org-bookmark-names-plist'.
2807         * org-capture.el (org-capture-bookmark-last-stored-position): Use
2808         `org-bookmark-names-plist'.
2810         * org.el (org-insert-heading): Rewritten from scratch.
2811         (org-N-empty-lines-before-current): New function
2812         (org-insert-heading-respect-content): Set the correct argument to
2813         force a heading even in lists.
2815         * org-colview.el (org-columns-display-here): Enforce fixed width
2816         font.
2818         * org-faces.el (org-column): Setting font width has been shifted
2819         to org-colview.el.
2821         * org.el (org-mode-flyspell-verify): Check for src block.
2823         * org-table.el (org-table-convert-region): Fix interactive
2824         statement.
2826         * org-ctags.el (org-ctags-path-to-ctags): Avoid usine `case'.
2828         * org.el (org-beginning-of-line,org-end-of-line): Set
2829         disable-point-adjustment when the command ends next to invisible
2830         text.
2832         * ob-lob.el (org-babel-lob-files): Fix custom type.
2834         * org-agenda.el (org-agenda-export-html-style, org-agenda-ndays)
2835         (org-agenda-inactive-leader, org-agenda-day-face-function)
2836         (org-agenda-auto-exclude-function): Fix custom type.
2838         * org-bibtex.el (org-bibtex-prefix): Fix custom type.
2840         * org-clock.el (org-clock-heading-function):
2841         (org-show-notification-handler): Fix custom type.
2843         * org-footnote.el (org-footnote-auto-adjust): Fix custom type.
2845         * org-protocol.el (org-protocol-default-template-key): Fix custom
2846         type.
2848         * org.el (org-make-link-description-function):
2849         (org-link-translation-function):
2850         (org-link-frame-setup):
2851         (org-refile-target-verify-function):
2852         (org-get-priority-function):
2853         (org-use-fast-tag-selection):
2854         (org-columns-modify-value-for-display-function):
2855         (org-sparse-tree-default-date-type):
2856         * ox-html.el (org-html-postamble):
2857         (org-html-postamble-format):
2858         (org-html-preamble-format):
2859         * ox-odt.el (org-odt-content-template-file):
2860         * ox.el (org-export-with-archived-trees):
2861         (org-export-initial-scope): Fix custom type.
2863         * org.el (org-insert-heading): Fix problem with inserting heading.
2864         Check for checkbox at the beginning of the item, not just at the
2865         beginning of the line.
2866         (org-small-year-to-year): Fix docstring typo.
2867         (org-show-siblings): By default, also show siblings from a
2868         bookmark jump.
2870         * org-agenda.el (org-agenda-set-restriction-lock): Highlight only
2871         the headline when agenda is restricted to a subtree.  Do not
2872         highlight the entire subtree.
2874         * org-table.el (org-table-eval-formula): Work-around for calc-eval
2875         regression.
2877         * ox.el (org-export-dispatch): Make sure the last position marker
2878         uses the base buffer if there is one.
2879         (org-export-dispatch-last-position): New variable.
2880         (org-export-dispatch): Save position of cursor at the moment when
2881         the export command is called.  Restore that position temporarily
2882         when repeating the previous export command.
2884         * org.el (org-insert-heading): Shrink whitespace at end of subtree
2885         when `org-insert-heading-respect-content' is on.
2887         * org-list.el (org-sort-list): Respect sorting-type and
2888         getkey-func when they are specified in the call.
2890         * org.el (org-sort-entries): Respect sorting-type and getkey-func
2891         when they are specified in the call.
2892         (org-format-outline-path): New argument SEPARATOR to specify a
2893         string that is inserted between parts of the outline path.
2894         (org-display-outline-path): New argument SEPARATOR, to specify a
2895         string that is inserted between parts of the outline path.
2897         * org-colview.el (org-dblock-write:columnview): Change the capture
2898         of pos to after inserting the original content
2900 2013-11-12  Christian Moe  <mail@christianmoe.com>
2902         * ox-odt.el (org-odt-line-break, org-odt-plain-text): Remove
2903         newline after line-break tag.
2905 2013-11-12  Christophe Junke  <christophe.junke@inria.fr>  (tiny change)
2907         * org.el (org-set-font-lock-defaults): Let footnote fontifications
2908         be done before other links' fontification.  This allows links
2909         appearing inside footnotes to be both visible and active.
2911 2013-11-12  Christopher Schmidt  <christopher@ch.ristopher.com>
2913         * org.el (orgstruct-setup): Major rewrite.
2914         (orgstruct++-mode): Overwrite local non-org vars again.
2915         (orgstruct-mode): Simplify implementation.  Emulate outline's
2916         buffer-invisiblity-spec.
2917         (orgstruct-heading-prefix-regexp): Change default value to nil.
2918         (orgstruct-error): Use `user-error' if available.
2919         {pro,de}motion commands if `orgstruct-heading-prefix-regexp' is
2920         non-nil.  Always use `org-outline-level'.  Bind org-shift*.
2921         (orgstruct-make-binding): Major rewrite.
2922         (org-cycle-global-status, org-cycle-subtree-status): Set state
2923         property.
2924         (org-heading-components): Use `org-heading-regexp' in
2925         orgstruct-mode.
2926         (orgstruct-heading-prefix-regexp, orgstruct-setup-hook): New
2927         options.
2928         (orgstruct-initialized): New variable.
2929         (org-get-local-variables): Honour state property.
2930         (org-run-like-in-org-mode): Use `let' instead of `progv'.  Do not
2931         override variables with non-default values.
2932         (org-forward-heading-same-level): Do not skip to headlines on
2933         another level.  Handle negative prefix argument correctly.
2934         (org-backward-heading-same-level): Use
2935         `org-forward-heading-same-level'.
2937 2013-11-12  Craig Tanis  <craig-tanis@utc.edu>  (tiny change)
2939         * ox-latex.el (org-latex-src-block): Change format string to position
2940         caption after figure content.
2942 2013-11-12  Eric Abrahamsen  <eric@ericabrahamsen.net>
2944         * org.el (org-ctrl-c-ctrl-c): `C-c C-c' on a link is usually a
2945         no-op.  If that link is in a headline, act as if the `C-c C-c' was
2946         called on the headline, not the link.
2948         * ox-html.el (org-html-doctype-alist): New variable holding an
2949         alist of (X)HTML doctypes
2950         (org-html-xhtml-p, org-html-html5-p, org-html-close-tag): New
2951         function.
2952         (org-html-html5-fancy): New export option, determining whether or
2953         not to use HTML5-specific elements.
2954         (org-html-html5-elements): New variable, new HTML5 elements.
2955         (org-html-special-block): Export special blocks to new HTML5
2956         elements.
2957         (org-html-format-inline-image): Use <figure> and <figcaption> for
2958         standalone images.
2959         (org-html-format-inline-image, org-html--build-meta-info)
2960         (org-html--build-head, org-html--build-pre/postable)
2961         (org-html-template, org-html-horizontal-rule)
2962         (org-html-format-list-item, org-html-line-break, org-html-table)
2963         (org-html-verse-block): Changes to allow flavored export.
2965         * ox-latex.el (org-latex--org-table, org-latex-table-row): Allow
2966         use of the "tabu" and "longtabu" table environments.  New table
2967         attribute :spread handles the width specification syntax of "tabu"
2968         and "longtabu" table environments.
2970 2013-11-12  Eric Schulte  <eric.schulte@gmx.com>
2972         * org-bibtex.el (org-bibtex-read-buffer): Reads all bibtex entries
2973         in a buffer.
2974         (org-bibtex-read-file): Read all bibtex entries in a file.
2975         (org-bibtex-import-from-file): Import all bibtex entries from a
2976         file into the current buffer.
2978         * ob-tangle.el (org-babel-load-file): When called with a prefix
2979         argument the tangled emacs-lisp file will be byte compiled.
2981         * ob-tangle.el (org-babel-tangle): Tangled files should not be
2982         writable.
2984         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Better about
2985         when to fully escape the results or just print them close to
2986         verbatim.
2988         * ob.el (org-babel-result-cond): This function should now be used
2989         by all language backends to handle the processing of raw code
2990         block output into scalar results, table results, or ignored
2991         results depending on the value of result-params.
2993         * ob-C.el (org-babel-C-execute): Use org-babel-result-cond.
2995         * ob-R.el (org-babel-R-evaluate-external-process)
2996         (org-babel-R-evaluate-session):
2997         * ob-awk.el (org-babel-execute:awk):
2998         * ob-clojure.el (org-babel-execute:clojure):
2999         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
3000         * ob-fortran.el (org-babel-execute:fortran):
3001         * ob-io.el (org-babel-io-evaluate):
3002         * ob-java.el (org-babel-execute:java):
3003         * ob-lisp.el (org-babel-execute:lisp):
3004         * ob-maxima.el (org-babel-execute:maxima):
3005         * ob-picolisp.el (org-babel-execute:picolisp):
3006         * ob-python.el (org-babel-python-evaluate-external-process):
3007         (org-babel-python-evaluate-session):
3008         * ob-scala.el (org-babel-scala-evaluate):
3009         * ob-sh.el (org-babel-sh-evaluate):
3010         * ob-shen.el (org-babel-execute:shen):
3011         * ob-sql.el (org-babel-execute:sql):
3012         * ob-sqlite.el (org-babel-execute:sqlite): Use
3013         `org-babel-result-cond'.
3015         * ob.el (org-babel-common-header-args-w-values): Add a new "none"
3016         header argument.
3017         (org-babel-execute-src-block): Don't do *any* result processing if
3018         the "none" header argument has been specified.
3019         (org-babel-sha1-hash): Remove the none header argument from header
3020         arg lists when calculating cache sums.
3021         (org-babel-insert-result): Flesh out some documentation.
3023         * ob.el (org-babel-insert-result): Don't escape results in
3024         drawers.
3026         * ob-python.el (org-babel-python-hline-to): Customize hline
3027         conversion to python.
3028         (org-babel-python-None-to): Customize none conversion from python.
3029         (org-babel-python-var-to-python): Use new variable.
3030         (org-babel-python-table-or-string): Use new variable.
3032         * org.el (org-babel-load-languages): Add ob-makefile to
3033         `org-babel-load-languages'.
3035         * ob-makefile.el: New file.
3037         * ob-sh.el (org-babel-sh-evaluate): Don't could 0-length shebangs.
3039         * org.el (org-format-latex): Simplify and now make use of the new
3040         `org-create-formula-image' function.
3041         (org-create-formula-image): Provides a simpler interface to the
3042         two backend-specific functions.
3044         * ob-core.el (org-babel-default-header-args): It is likely that
3045         someone meant to set :padlines to "yes", but accidentally set
3046         :padnewlines to "yes".  Either way lets just remove this which
3047         shouldn't have any functional effect.
3049         * ob-haskell.el (org-babel-default-header-args:haskell): Set
3050         :padlines to "no" by default.
3052         * ob-exp.el (org-babel-exp-non-block-elements): Ignore inline
3053         source block on #+ prefixed lines.
3055         * ob-core.el (org-babel-merge-params): Replace `remove-if' with
3056         `org-remove-if'.  More careful to check that the colname- and
3057         rowname-names header arguments exist during merge.  When merging
3058         parameters, if a variable is replaced with a new value, then
3059         delete colnames/rownames for the original value of that variable.
3061         * ob-ditaa.el (org-babel-ditaa-java-cmd): Make java executable
3062         configurable for ditaa blocks.
3064         * ob-sh.el (org-babel-sh-var-to-string): Fix bug in ob-sh when
3065         dealing with list variables.
3067         * ob-core.el (org-babel-demarcate-block): Include
3068         `org-src-lang-modes' in block demarcation options.
3070         * ob-C.el: Don't modify `org-babel-load-languages' from ob-*
3071         files.
3073         * ob-latex.el (org-babel-latex-htlatex): Set this variable to
3074         "htlatex" (or path to said) to enable svg generation from latex
3075         code blocks.
3076         (org-babel-latex-htlatex-packages): Libraries required for
3077         automatic svg generation.
3078         (org-babel-execute:latex): Generate SVG images directly from latex
3079         code blocks (assumes tikz).
3081         * ob-exp.el (org-babel-exp-non-block-elements): Use lob call name
3082         when exporting.
3084         * ob-scheme.el (org-babel-scheme-get-repl)
3085         (org-babel-scheme-make-session-name)
3086         (org-babel-scheme-execute-with-geiser, org-babel-execute:scheme):
3087         Fix whitespace and indentation.
3089         * ob-core.el (org-babel-set-current-result-hash): Update the
3090         match-string holding the hash data, and correct overlay
3091         maintenance.
3092         (org-babel-find-named-result): Call lines are not results.
3093         (org-babel-where-is-src-block-result): Don't implicitly name the
3094         results of call lines.
3095         (org-babel-exp-non-block-elements): There is now another element
3096         on the call line info list.
3098         * ob-lob.el (org-babel-lob-get-info): Return the name (if any) at
3099         the end of the info list.
3100         (org-babel-lob-execute): Pass the name through to execution.
3102         * ob-core.el (org-babel-execute-src-block): Ensure that the
3103         location is set before anything else is done.
3105         * ob-ref.el (org-babel-ref-parse): Evaluate Emacs Lisp values in
3106         header arguments at the location of the original code block.
3108         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Use new header
3109         arguments.
3111         * ob-core.el (org-babel-common-header-args-w-values): Mention new
3112         header arguments.
3113         (org-babel-expand-body:generic): Use new header arguments.
3114         (org-babel-read-result): More robust matching of examplized
3115         ranges.
3116         (org-babel-result-end): More robust matching of examplized ranges.
3118         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Gnuplot, close
3119         output terminal when opened.
3120         (org-babel-gnuplot-prefix): Customization variable prefix gnuplot
3121         code blocks.
3122         (org-babel-expand-body:gnuplot): Customization variable prefix
3123         gnuplot code blocks.
3125         * ob-core.el (org-babel-params-from-properties): Now returns a
3126         list of alists and does *not* call `org-babel-merge-params'.
3127         (org-babel-parse-src-block-match):
3128         (org-babel-parse-inline-src-block-match):
3129         * ob-exp.el (org-babel-exp-src-block):
3130         (org-babel-exp-non-block-elements):
3131         * ob-lob.el (org-babel-lob-execute): Handle new list of lists
3132         output of `org-babel-params-from-properties'.
3134         * ob-gnuplot.el (org-babel-header-args:gnuplot): Term is a gnuplot
3135         header argument.
3137         * ob-tangle.el (org-babel-tangle): Fixed bug in tangle-file.
3138         Collect tangle modes, and only apply them to the file after all
3139         tangling has completed, including the post-tangle-hook.
3141         * ob-core.el (org-babel-read): Do not read #-prefix header-arg
3142         value as emacs lisp.
3144         * ob-core.el (org-babel-current-src-block-location):
3145         (org-babel-execute-src-block):
3146         * ob-exp.el (org-babel-exp-results):
3147         * ob-lob.el (org-babel-lob-execute): Rename
3148         `org-babel-current-exec-src-block-head' to
3149         `org-babel-current-src-block-location'.
3151         * ob-core.el (org-babel-common-header-args-w-values): Adding the
3152         new :tangle-mode header argument.
3153         (org-babel-read): Read values starting with a "#" character as
3154         emacs lisp.
3156         * ob-tangle.el (org-babel-tangle): Use the new :tangle-mode header
3157         argument.
3159         * org-pcomplete.el (pcomplete/org-mode/block-option/src): Use the
3160         new :tangle-mode header argument.
3162         * ob-exp.el (org-babel-exp-results): Save the code block location
3163         into `org-babel-current-exec-src-block-head' during export.
3165         * ob-comint.el (org-babel-comint-with-output): More robust edebug
3166         spec.
3168         * ob-lob.el (org-babel-lob-execute): Set the
3169         `org-babel-current-exec-src-block-head' variable when executing
3170         inline or lob style code.
3172         * ob-core.el (org-babel-execute-src-block): The
3173         `org-babel-current-exec-src-block-head' variable should point to
3174         the outermost code block.
3176         * org.el (org-some): An org-mode version of the cl some function.
3178         * ob-fortran.el (org-babel-fortran-var-to-fortran): More careful
3179         check if values are matrices.
3181         * org.el (org-every): An Org-mode version of the cl every
3182         function.
3184         * ob-tangle.el (org-babel-tangle-jump-to-org): Use
3185         `org-src-switch-to-buffer' to jump from src to org.  Use the
3186         existing `org-edit-src' functionality to jump back to the correct
3187         point in the code block in the original Org-mode buffer.
3189         * ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Only wrap
3190         gnuplot data values in " when necessary.  Replace missing values
3191         with blank space in gnuplot.
3192         (org-babel-expand-body:gnuplot):
3193         (org-babel-gnuplot-quote-timestamp-field): Fix indentation.
3194         (org-babel-header-args:gnuplot): Declare the.
3195         (org-babel-expand-body:gnuplot): Params is an alist not a plist.
3196         (org-babel-header-args:gnuplot): Declare gnuplot-specific header
3197         argument.
3198         (*org-babel-gnuplot-missing*): Dynamic variable used to hold the
3199         value of the missing header argument.
3200         (org-babel-gnuplot-process-vars): Wrap in local binding for
3201         missing value.
3202         (org-babel-gnuplot-quote-tsv-field): Replace missing value with
3203         the missing header argument value when present.
3205         * ob-org.el (org-babel-expand-body:org): Allow insertion of
3206         non-strings into Org code blocks.
3207         (org-babel-inline-result-wrap): New option controlling the
3208         wrapping of inline results.
3209         (org-babel-examplize-region): Use the new defcustom.
3211         * ox-beamer.el (org-beamer--format-frame): If contents is nil,
3212         then replace it with an empty string.
3214         * ob-core.el (org-babel-read): More restrictive elisp eval of
3215         header arguments.
3217         * ob-lob.el (org-babel-lob-execute): Include default elisp header
3218         args in call lines.
3220         * ob-core.el (org-babel-result-cond): Don't over-evaluate
3221         result-params in macro.
3223         * ob-ruby.el (org-babel-execute:ruby): Use `org-babel-result-cond'
3224         in Ruby code blocks.
3225         (org-babel-ruby-evaluate): Delay table processing.
3227         * ob-js.el (org-babel-execute:js): Use `org-babel-result-cond' in
3228         JavaScript code blocks.
3230         * ob-scheme.el (org-babel-execute:scheme): Use
3231         `org-babel-result-cond' in scheme code blocks.
3233         * ob-ocaml.el (org-babel-execute:ocaml): Use
3234         `org-babel-result-cond' in OCaml code blocks.
3236         * ob-haskell.el (org-babel-execute:haskell): Use
3237         `org-babel-result-cond' in Haskell code blocks.
3239         * ob-core.el (org-babel-result-cond): The "raw", "org" and
3240         "drawer" :results header argument values preclude table processing
3241         unless the "table" argument is given as well.
3242         (org-babel-execute-src-block): Make sure we process file results
3243         before they are passed to the post-processing code block, and not
3244         afterwards.  Tangles these two header arguments in the code, but
3245         makes for more intuitive behavior and enables important use cases.
3246         (org-babel-read): Read code block values with earmuffs as Emacs
3247         Lisp.
3248         (org-babel-common-header-args-w-values): Add :post to the list of
3249         header arguments.
3250         (org-babel-execute-src-block): Post process results when the :post
3251         header argument has been supplied.
3253         * ob-R.el (org-babel-R-initiate-session): Remove unnecessary
3254         save-excursion nested inside a save-window-excursion.
3256         * ob-core.el (org-babel-src-name-w-name-regexp): Update the regexp
3257         used to match code block names.
3258         (org-babel-get-src-block-info): Remove the code used to parse this
3259         alternate variable specification syntax.
3260         (org-babel-insert-result): Cycle tables for :results org and
3261         :results wrap.
3263         * ob-python.el (org-babel-python-initiate-session-by-key): Fixed a
3264         bug pointed out by Gary Oberbrunner.
3265         (org-babel-python-initiate-session-by-key): Add "-i" to the python
3266         command on windows sessions.  Actually setting new session names.
3267         Pass Python buffer names to the new `run-python' command.
3268         (org-babel-python-with-earmufs): Add earmufs to a buffer name.
3269         (org-babel-python-without-earmufs): Remove earmufs from a buffer name.
3270         (org-babel-python-initiate-session-by-key): Set the buffer name in
3271         a way which is understandable by the new python.el
3272         (org-babel-python-buffers): Change the default python buffer name.
3274         * ob-core.el (org-babel-number-p): Don't interpret single "-" as a
3275         number.
3277         * ob-perl.el (org-babel-perl--var-to-perl): Print Perl variables
3278         with a format string.
3280         * ob-core.el (org-babel-where-is-src-block-result): Allow comments
3281         between code blocks and un-named results.
3283         * ob-sqlite.el (org-babel-sqlite-table-or-scalar): Don't read
3284         sqlite output as lisp.
3286         * ob-core.el (org-babel-check-confirm-evaluate): Refactoring.
3287         (org-babel-confirm-evaluate): Fix whitespaces.
3288         (org-babel-execute-src-block): A cond makes it more clear that we
3289         definitely do not execute without user confirmation.
3290         (org-babel-call-process-region-original): Fixed line over 80 chars
3291         long.
3293         * ob-tangle.el (org-babel-tangle-collect-blocks): Update comment
3294         to reflect changed variable name.
3296         * ob-core.el (org-babel-expand-src-block): Return value of
3297         expanded code block on non-interactive calls.
3299         * ob-perl.el (org-babel-perl-var-wrap): Customizable wrapper for
3300         variables in perl code.
3301         (org-babel-perl-var-to-perl): Use said wrapper.
3303         * ob-sql.el (org-babel-execute:sql): Use the org-babel-eval
3304         command instead of shell-command.
3306         * ob-ocaml.el (org-babel-prep-session:ocaml): Check that
3307         `tuareg-run-caml' is defined before use.
3308         (tuareg-run-ocaml): Declare for compiler.
3310         * ob-core.el (org-babel-result-regexp): Simplify regexp given new
3311         time hash layout.
3312         (org-babel-current-result-hash): New match string.
3313         (org-babel-hide-hash): New match string.
3314         (org-babel-where-is-src-block-result): New match string, and
3315         insert hashes in the new format.
3317         * ob-core.el (org-ts-regexp): Declare.
3318         (org-babel-result-regexp): Now matching time stamp as well.
3319         (org-babel-hash-show-time): New variable controlling the display
3320         of time stamps.
3321         (org-babel-current-result-hash):
3322         (org-babel-hide-all-hashes):
3323         (org-babel-where-is-src-block-result): Use hash time stamps.
3325         * ob-core.el: New file.
3327         * org-macs.el: `org-load-noerror-mustsuffix' requires an autoload.
3329 2013-11-12  Feng Shu  <tumashu@gmail.com>
3331         * ox-odt.el (org-odt--translate-latex-fragments):
3332         * ox-html.el (org-html-latex-environment)
3333         (org-html-latex-fragment): Fix imagemagick support.
3335         * org.el (org-create-formula-image-with-imagemagick): Generate
3336         correct size formula image.
3337         (org-format-latex-header): Change pagestyle command position.
3339         * ox-latex.el (org-latex--caption/label-string): Allow to build a
3340         caption string from `:caption' attribute of #+ATTR_LATEX.
3342         * ox.el (org-export-dictionary): Add Simplified Chinese
3343         translations for `org-export-dictionary'.
3345 2013-11-12  Florian Beck  <fb@miszellen.de>  (tiny change)
3347         * org.el (org-activate-bracket-links): Remove escapes from the
3348         help string.
3350 2013-11-12  Francesco Pizzolante  <xxx@public.gmane.org>  (tiny change)
3352         * ox-html.el (org-html-headline): Normalize the construction of
3353         outline-container DIVs by always using the inner headline ID.
3355         * org.el (org-agenda-prepare-buffers): Protect with
3356         `org-unmodified'.
3358 2013-11-12  Gregor Kappler  <gregor@alcedo.(none)>  (tiny change)
3360         * ox.el (org-export-as): Make sure org-export-babel-evaluate is
3361         not nil before calling `org-export-execute-babel-code'.
3363 2013-11-12  Grégoire Jadi  <gregoire.jadi@gmail.com>
3365         * org.el (org-reftex-citation): Fix contrib package name in the
3366         docstring.
3367         (org-preview-latex-fragment, org-display-inline-images): Detect
3368         whether a graphic display is available before inlining images to
3369         prevent an error.
3370         (org-startup-with-latex-preview): New option.
3371         (org-startup-options): New startup keywords for the new option.
3372         (org-mode): Turn on/off LaTeX preview depending on the new option.
3373         (org-reverse-string): Add `org-reverse-string' to reverse a
3374         string.
3376         * org-id.el (org-id-new, org-id-decode): Replace
3377         `org-id-reverse-string' by `org-reverse-string'.
3379         * ob-core.el (org-babel-trim): Replace `org-babel-reverse-string'
3380         by `org-reverse-string' and declare it.
3382 2013-11-12  Gustav Wikström  <gustav.erik@gmail.com>  (tiny change)
3384         * org-agenda.el (org-agenda-filter-by-category): Display all
3385         filtered out categories.
3387 2013-11-12  Ilya Zonov  <izonov@gmail.com>  (tiny change)
3389         * org-mouse.el (org-mouse-context-menu): Add a correct newtext
3390         parameter for "All Set" and "All Clear" menu items.
3392 2013-11-12  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
3394         * org.el (org-insert-todo-heading-respect-content): Pass correct
3395         prefix arg to always insert heading.
3397         * org-agenda.el
3398         (org-agenda-propertize-selected-todo-keywords): New function to
3399         highlight the current agenda todo keywords depending on
3400         `org-todo-keyword-faces'.
3401         (org-todo-list): Use the new function.
3403 2013-11-12  Ippei FURUHASHI  <top.tuna+orgmode@gmail.com>
3405         * org-table.el (org-calc-current-TBLFM): New function to
3406         re-calculate the table by applying the #+TBLFM in the line where
3407         the point is.  Ensure to remove the currently inserted TBLFM line,
3408         when calling `org-table-recalculate' returns an error and the
3409         processing stops.
3411         * org.el (org-ctrl-c-ctrl-c): Call `org-calc-current-TBLFM' when
3412         point is in the #+TBLFM line.
3414         * org-table.el (org-TBLFM-begin): New function.
3415         (org-TBLFM-begin-regexp): New variable.
3417         * org.el (org-at-TBLFM-p): New function.
3418         (org-TBLFM-regexp): New defconst.
3420 2013-11-12  Ivan Vilata i Balaguer  <ivan@selidor.net>  (tiny change)
3422         * org-clock.el (org-clock-get-table-data): Pass tstart and tend
3423         time strings through `org-matcher-time' to allow relative times
3424         besides absolute ones, convert result to encoded time.
3426 2013-11-12  Jambunathan K  <kjambunathan@gmail.com>
3428         * ox-html.el (org-html-code, org-html-verbatim): Transcode value.
3429         (org-html--tags, org-html-format-headline)
3430         (org-html--format-toc-headline, org-html-checkbox)
3431         (org-html-table-cell, org-html-timestamp)
3432         (org-html-verse-block, org-html-special-string-regexps): Replace
3433         named HTML entities with their numeric counterparts.  This keeps
3434         Freemind backend happy.
3436         * org-odt.el (org-export-odt-schema-dir): Modify to accommodate
3437         change in rnc file names.
3439         * org-lparse.el (org-lparse-and-open)
3440         (org-lparse-do-convert): Open exported files with system-specific
3441         application.
3443         * org-odt.el: Don't meddle with `org-file-apps'.
3445 2013-11-12  Jarmo Hurri  <jarmo.hurri@syk.fi>
3447         * org-table.el (org-define-lookup-function): New macro.  Call it
3448         to generate new lookup functions `org-lookup-first',
3449         `org-lookup-last' and `org-lookup-all'.
3451         * org-gnus.el (org-gnus-no-server): New option to start Gnus using
3452         `gnus-no-server'.
3453         (org-gnus-no-new-news): Use the new option.
3455 2013-11-12  Jonas Hoersch  <coroa@online.de>  (tiny change)
3457         * org.el (org-cycle-hide-inline-tasks): Re-hide inline tasks when
3458         switching to 'children visibility state.
3460         * org-inlinetask.el (org-inlinetask-toggle-visibility): Don't use
3461         `org-show-entry' as it cannot unfold an inlinetask properly.
3463 2013-11-12  Jonathan Leech-Pepin  <jonathan.leechpepin@gmail.com>
3465         * ox-texinfo.el: New file.
3467 2013-11-12  Joost Diepenmaat  <joost@zeekat.nl>  (tiny change)
3469         * org.el (org-indent-region): BEGIN_SRC and END_SRC lines should
3470         not be considered part of the source block for the purposes of
3471         indentation.
3473 2013-11-12  Justus Piater  <justus-dev@piater.name>
3475         * org-agenda.el
3476         (org-agenda-skip-deadline-prewarning-if-scheduled): Add an option
3477         to skip the deadline prewarning if the scheduled date is in the
3478         future.
3480 2013-11-12  Kodi Arfer  <git@arfer.net>  (tiny change)
3482         * ox-html.el (org-html-toc): Use <nav> instead of <div> for the
3483         root element when appropriate.
3484         (org-html-paragraph): Wrap "Figure %d:" in <span
3485         class="figure-number">.
3486         (org-html-list-of-tables, org-html-table): Wrap "Table %d:" in
3487         <span class="table-number">.
3488         (org-html-list-of-listings): Wrap "Listing %d:" in
3489         <span class="listing-number">.
3490         (org-html-table): For HTML5, omit :html-table-attributes but not
3491         :id or :attr_html.
3492         (org-html--build-meta-info): Insert no timestamp when
3493         :time-stamp-file is nil.
3495 2013-11-12  Lawrence Mitchell  <wence@gmx.li>
3497         * ox-html.el (org-html-close-tag): Add space before attr.
3499         * ox.el (org-export-resolve-fuzzy-link): Look for fuzzy link in a
3500         cache before trying to resolve it in the parse tree.
3502 2013-11-12  Le Wang  <le.wang@agworld.com.au>
3504         * org-src.el (org-edit-src-code): Use marker with insertion type t
3505         to track end and remove hack requiring delete from beg to (1-
3506         end).
3508 2013-11-12  Max Mikhanosha  <max@openchat.com>
3510         * org-habit.el (org-habit-get-faces): Add show done days green
3511         option.
3513         * org-agenda.el (org-agenda-format-item): Ensure effort is "" when
3514         unset
3516 2013-11-12  Michael Brand  <michael.ch.brand@gmail.com>
3518         * org-table.el (org-table-eval-formula): Align the arrow pointing
3519         to the error in a Calc formula to the other fomula debugger logs.
3521         * org.el (org-link-escape-chars-browser): Add char double quote.
3522         (org-open-at-point): Use the constant
3523         `org-link-escape-chars-browser'.
3525         * org-table.el (org-table-get-remote-range): Extend regexp to
3526         match "#+NAME: table" additionally to "#+TBLNAME: table".
3528         * org-table.el (org-table-eval-formula): Use `keep-empty' in more
3529         places.  Keep empty fields during preprocessing.
3530         (org-table-make-reference): Use nan (not a number) for empty
3531         fields in Calc formulas.  A range with only empty fields should
3532         not always return 0 but also empty string, consistent with field
3533         reference of an empty field.  Use future design for nan but
3534         replicate current behavior.
3535         (org-table-number-regexp): Extend 0x hex to fixed-point number,
3536         add <radix>#<number>, add Calc infinite numbers uinf, -inf and
3537         inf.
3539 2013-11-12  Muchenxuan Tong  <demon386@gmail.com>  (tiny change)
3541         * org-mobile.el (org-mobile-push): Add `save-restriction'.
3543 2013-11-12  Nicolas Goaziou  <n.goaziou@gmail.com>
3545         * ox-latex.el (org-latex-compile): Remove all numbered temporary
3546         files after compiling.
3548         * org-element.el (org-element-headline-interpreter): Take into
3549         consideration `org-odd-levels-only' when building a headline.
3551         * ox-org.el (org-org-headline): Correctly set transcoded headline
3552         level during subtree export.
3554         * ox-html.el (org-html--format-toc-headline): TOC entries are
3555         closer to regular headline formatting.
3557         * org-element.el (org-element-context): Fix error when parsing
3558         affiliated keywords, e.g. "caption".
3560         * org.el (org-do-emphasis-faces): Look for verbatim status at
3561         correct location.
3562         (org-open-at-point): Check if link is non-nil before matching it.
3563         (org-export-insert-default-template): Make sure strings are
3564         properly quoted when inserting a template.  Specifically, default
3565         value for drawers should be d:(not "LOGBOOK"), not d:(not
3566         LOGBOOK).
3567         (org-insert-heading): Do not error out when inserting is to be
3568         done at one of the buffer's boundaries.
3570         * ox-latex.el (org-latex-listings-options): Use correct number of
3571         backslash characters in the example.
3573         * org-element.el (org-element-latex-or-entity-successor)
3574         (org-element-latex-fragment-parser): Use `org-latex-regexps'
3575         instead of `org-format-latex-options'.
3577         * ox-ascii.el:
3578         * ox-beamer.el:
3579         * ox-html.el:
3580         * ox-icalendar.el:
3581         * ox-md.el: Remove comments at the beginning of the file since
3582         the library is documented in Org manual.
3584         * org-element.el (org-element--list-struct): Use
3585         `org-match-string-no-properties'.  Fix block parsing in lists.
3587         * ox-publish.el (org-publish-all): Fix compilation problem.
3589         * org-element.el (org-element-timestamp-interpreter): Correctly
3590         interpret timestamps with delays.
3591         (org-element-timestamp-parser)
3592         (org-element-timestamp-interpreter): Parse warning delays.
3594         * ox-beamer.el (org-beamer--format-section): Fix regression which
3595         prevents frames from being propely exported.
3597         * ox.el (org-export-with-backend): Ensure function will use
3598         provided back-end.
3600         * org-list.el (org-list-allow-alphabetical): Remove reference to
3601         unused VALUE.
3603         * ox-beamer.el (org-beamer--format-section): Protect fragile
3604         commands in sections.
3606         * org.el (org-ctrl-c-ctrl-c): When using C-c C-c at an item with
3607         point on a link, make sure checkbox, if any, is toggled.
3609         * ox-beamer.el (org-beamer--format-block): Return an error message
3610         when using a special environment as a block type.  Also check for
3611         incomplete environment definitions.
3613         * org-element.el (org-element-at-point): If point is at the end of
3614         the buffer, and that buffer ends with a list, and there's no final
3615         newline, return last element in last item instead of plain list.
3616         Fix infloop when called on a blank line at the end of the buffer
3617         after a headline.
3619         * org.el (org-forward-paragraph, org-backward-paragraph): New
3620         functions.
3622         * org.el (org-meta-return): Allow M-RET to insert items within
3623         drawers.  Rewrite function.
3625         * org-element.el (org-element-footnote-definition-parser): Fix
3626         value for :contents-begin when first line of footnote definition
3627         is empty besides the label.
3628         (org-element-at-point): Return correct element when point is on a
3629         blank line just below a headline.
3630         (org-element-paragraph-parser): Use
3631         `org-match-string-no-properties'.  Small fixes to paragraph
3632         parsing.
3634         * org.el (org-adaptive-fill-function): Do not handle
3635         `adaptive-fill-regexp' in comments as the behavior is not
3636         satisfying.
3638         * org-list.el (org-list-struct-apply-struct): Do not move item's
3639         contents within a child above when repairing indentation.
3641         * ox-html.el (org-html--build-meta-info): Fix output of meta tags
3642         when properties are present.
3644         * ox.el (org-export-collect-headlines): Do not build TOC for
3645         headlines below H value.
3647         * org-element.el (org-element-context): Modify misleading
3648         comment.
3649         (org-element-text-markup-successor)
3650         (org-element-latex-or-entity-successor)
3651         (org-element-export-snippet-successor)
3652         (org-element-footnote-reference-successor)
3653         (org-element-inline-babel-call-successor)
3654         (org-element-inline-src-block-successor)
3655         (org-element-line-break-successor, org-element-link-successor)
3656         (org-element-plain-link-successor, org-element-macro-successor)
3657         (org-element-radio-target-successor)
3658         (org-element-statistics-cookie-successor)
3659         (org-element-sub/superscript-successor)
3660         (org-element-table-cell-successor, org-element-target-successor)
3661         (org-element-timestamp-successor): Remove LIMIT argument.
3662         (org-element--parse-objects, org-element--get-next-object-candidates):
3663         Apply signature change to successors.
3664         (org-element-context): Narrow buffer around object containers so
3665         parsing of objects when using this function is done under the same
3666         restrictions as in buffer parsing.
3668         * ox.el (org-export-table-cell-alignment): Ensure required
3669         variables are available.  Use correct :test.
3670         (org-export-table-cell-width): Modify key (now an element) and
3671         value structure (now a vector) of cache so it can use `eq' as
3672         test. Elements are circular lists so `equal' cannot apply on them.
3674         * ox-publish.el (project-plist): Remove variable.
3676         * ox.el (org-export-to-buffer, org-export-to-file): Fix
3677         docstrings.
3679         * ox-org.el (org-export-as-org): Add missing BODY-ONLY argument,
3680         which is always nil in this back-end.
3682         * org.el (org-adaptive-fill-function): Look for a fill prefix at
3683         the beginning of the paragraph and subsquently on its second line
3684         instead of the current line.
3686         * ob-core.el (org-babel-get-src-block-info): Look for indentation
3687         value at the correct location.
3689         * ox.el (org-export-data-with-backend): Set temporary back-end as
3690         the new back-end in local communication channel.
3691         (org-export-filter-apply-functions): Handle corner case where
3692         back-end is nil.  Only provide back-end name (a symbol) as second
3693         argument of filters, not the full back-end (a vector).
3695         * ox-publish.el (org-publish-find-title): Fix title when no
3696         #+TITLE property is provided.
3698         * ox.el (org-export-store-default-title): Remove-function.
3699         (org-export--default-title): Remove variable.
3700         (org-export-options-alist): Do not use a default value.
3701         (org-export--get-buffer-attributes): Store a default title.
3702         (org-export-as): Apply function removal.
3703         (org-export--get-global-options): Do not set a property with an
3704         explicitly nil value.
3706         * ox-publish.el (org-publish-sitemap-sort-files)
3707         (org-publish-sitemap-sort-folders)
3708         (org-publish-sitemap-ignore-case, org-publish-sitemap-requested)
3709         (org-publish-sitemap-date-format)
3710         (org-publish-sitemap-file-entry-format): Set prefix to
3711         "org-publish-sitemap" instead of "org-sitemap".
3712         (org-publish-compare-directory-files)
3713         (org-publish-get-base-files-1, org-publish-projects)
3714         (org-publish-format-file-entry): Use new prefix.
3716         * org-clock.el (org-clock-total-time-cell-format)
3717         (org-clock-file-time-cell-format): Use correct type.
3719         * ob-haskell.el:
3720         * ox-ascii.el (org-ascii-export-as-ascii)
3721         (org-ascii-export-to-ascii):
3722         * ox-beamer.el (org-beamer-export-as-latex)
3723         (org-beamer-export-to-latex, org-beamer-export-to-pdf):
3724         * ox-html.el (org-html-export-as-html, org-html-export-to-html):
3725         * ox-icalendar.el (org-icalendar-export-to-ics):
3726         * ox-latex.el (org-latex-export-as-latex)
3727         (org-latex-export-to-pdf):
3728         * ox-man.el (org-man-export-to-man, org-man-export-to-pdf):
3729         * ox-md.el (org-md-export-as-markdown, org-md-export-to-markdown):
3730         * ox-odt.el (org-odt-export-to-odt):
3731         * ox-org.el (org-org-export-as-org, org-org-export-to-org):
3732         * ox-publish.el (org-publish-org-to):
3733         * ox-texinfo.el (org-texinfo-export-to-texinfo)
3734         (org-texinfo-export-to-info):
3735         * ox.el (org-export-to-buffer): Add two arguments: one to trigger
3736         asynchronous export and the other to do extra processing from
3737         within the buffer.
3738         (org-export-to-file): Add two arguments: one to trigger
3739         asynchronous export and the other to do extra processing on the
3740         output file.
3741         (org-export-async-start): Small clean up.
3743         * ox.el (org-export-as): Use new back-end structure.
3744         (org-export-current-backend): New variable.
3745         (org-export-as): Use new variable.
3747         * ox-ascii.el (org-ascii-table): Remove spurious new line between
3748         a table and the caption below.
3750         * ox.el (org-export-to-file): Preserve coding system when writing
3751         output.
3752         (org-export-stack-mode-map): Fix compilation error with Emacs <
3753         24.
3754         (org-export--dispatch-action): Maintain compatibility with Emacs
3755         23.
3757         * org.el (org-adaptive-fill-function, org-fill-paragraph): Add
3758         support for `adaptive-fill-regexp' in paragraphs and comments.
3759         (org-indent-line): Fix indentation after a list.
3761         * ox.el (org-export--get-inbuffer-options): Multiple options can
3762         now be set through the same buffer keyword.
3764         * org-element.el (org-element-plain-list-parser): Fix infloop when
3765         parsing a list at the end of buffer, if buffer doesn't end at a
3766         line beginning.
3767         (org-element-link-parser): Do not url-decode parsed links.
3769         * org-pcomplete.el (pcomplete/org-mode/file-option): Remove
3770         spurious white spaces, excepted for source blocks' opening string.
3771         Small refactoring.
3772         (pcomplete/org-mode/file-option): Remove spurious colons from
3773         block boundaries.
3775         * ox-publish.el (org-publish-find-date): Also return date for
3776         directories.
3777         (org-publish-get-base-files-1): Fix :recursive parameter ignoring
3778         extension restriction.
3780         * ox-beamer.el: Remove strange indentation in default header.
3781         (org-beamer-template): Fix missing newlines in header.
3783         * ox-latex.el (org-latex-template): Fix missing newlines in
3784         header.
3786         * ox.el (org-export-insert-default-template): Fix
3787         "wrong-type-argument" error in template insertion.
3789         * org.el (org-fill-paragraph): Use empty commented lines as
3790         separators when filling comments.  This mimics default behavior
3791         from "newcomment.el", which is not used in Org.
3793         * ox-html.el (org-html-link): Add image attributes to "img" tag,
3794         not to the "a" container.  Also fix spacing for attributes.
3796         * org.el (org-fill-paragraph): Do not mix consecutive comments
3797         when filling any of them.
3799         * ox-html.el (org-html-format-headline--wrap): Fix number of
3800         arguments when setting `org-html-format-headline-function'.
3802         * org-element.el (org-element-item-interpreter): This patch fixes
3803         "(wrong-type-argument arrayp nil)" error when trying to interpret
3804         empty items.  Correctly interpret back plain lists with "*" items.
3805         This fixes "This is not a list" error returned in this case.
3807         * ox-latex.el (org-latex-listings): Update docstring.
3809         * org-pcomplete.el (pcomplete/org-mode/file-option/options): Apply
3810         changes to export back-end definiton.
3812         * org.el (org-get-export-keywords): Apply changes to export
3813         back-end definiton.
3815         * ox-html.el (org-html--format-toc-headline): Make use of
3816         anonymous back-ends.
3818         * ox-odt.el (org-odt-footnote-reference): Make use of anonymous
3819         back-ends.
3820         (org-odt-format-label, org-odt-toc)
3821         (org-odt-format-headline--wrap): Use `org-export-with-backend'
3822         instead of `org-export-with-translations'.
3824         * ox.el (org-export--registered-backends): Renamed from
3825         `org-export-registered-backends'.
3826         (org-export-invisible-backends): Removed variable.
3827         (org-export-get-backend, org-export-get-all-transcoders
3828         org-export-get-all-options, org-export-get-all-filters): New
3829         functions.  It replaces `org-export-backend-translate-table'.
3830         (org-export-barf-if-invalid-backend, org-export-derived-backend-p,
3831         org-export-define-backend, org-export-define-derived-backend):
3832         Rewrite functions using new representation.
3833         (org-export-backend-translate-table): Remove function.
3834         (org-export-get-environment): Use new function.
3835         (org-export--get-subtree-options, org-export--parse-option-keyword,
3836         org-export--get-inbuffer-options, org-export--get-global-options,
3837         org-export-to-buffer org-export-to-file, org-export-string-as
3838         org-export-replace-region-by): Update docstring.
3839         (org-export-data-with-translations): Remove function.  Use
3840         `org-export-data-with-backend' with a temporary back-end instead.
3841         (org-export-data-with-backend, org-export-as): Reflect new definition
3842         for back-ends.
3843         (org-export--dispatch-action, org-export--dispatch-ui): Reflect new
3844         definition for back-ends and variable removal.  Refactoring.
3845         (org-export-filter-apply-functions): Call functions with
3846         current back-end's name, not full back-end.
3848         * org.el (org-export-backends, org-create-formula--latex-header):
3849         Use new structure and variables.
3851         * ox-html.el (org-html-inline-images): Change default value and
3852         remove `maybe'.
3853         (org-html-format-inline-image): Remove functions.
3854         (org-html--wrap-image, org-html--format-image)
3855         (org-html-inline-image-p): New functions.
3856         (org-html-latex-environment, org-html-latex-fragment): Use new
3857         functions.
3858         (org-html-standalone-image-p): Use new functions.  Also remove an
3859         unused optional argument.
3860         (org-html-link, org-html-paragraph): Correctly export hyperlinked
3861         images.
3863         * ox.el (org-export-dictionary): Update some translations.
3865         * ox-odt.el (org-odt-label-styles, org-odt-category-map-alist):
3866         Fix docstring.
3867         (org-odt-format-label): Add docstring.  Internationalize prefix.
3869         * ox.el (org-export-dictionary): Add entry for colons.
3871         * ox-odt.el (org-odt--suppress-some-translators): Remove function.
3873         * ox-html.el (org-html-link): Remove left-over binding.
3875         * ox-beamer.el (org-beamer-environments-extra): Allow to add raw
3876         title in environment definition.
3877         (org-beamer--format-block): Handle new placeholders.
3879         * ox-html.el (org-html-link): Small refactoring.
3881         * org-element.el (org-element--current-element): Fix
3882         org-meta-return error at the end of buffer.
3884         * ox-odt.el (org-odt-category-map-alist): Fix internationalization
3885         of "Table" and "Listing".
3887         * ox.el (org-export-dictionary): Remove useless dictionary
3888         entries.
3890         * ox-ascii.el (org-ascii--build-caption): Apply removal.
3892         * ox.el (org-export-dictionary): Add spanish and german
3893         translations.
3895         * ox-odt.el (org-odt-link): Fuzzy links to an headline with a
3896         description always use that description, even if the description
3897         is the same as the headline title.
3898         (org-odt-plain-text): Allow to turn smart quotes off.
3900         * ox-latex.el (org-latex--get-footnote-counter): Remove function.
3902         * org.el (org-setup-filling): Set `paragraph-start' and
3903         `paragraph-separate'.
3904         (org-fill-paragraph-separate-nobreak-p): Remove function.
3905         (org-mode): Do not set `paragraph-start'.
3907         * ox-html.el (html): Replace "HTML_HTML5_FANCY",
3908         "HTML_INCLUDE_STYLE" and "HTML_INCLUDE_SCRIPTS" with,
3909         respectively, ":html5-fancy", "html-style" and "html-scripts"
3910         options.
3911         (org-html-html5-fancy): Reformat docstring.
3912         (org-html-template): Fix typo preventing insertion of link up/link
3913         home anchors.
3915         * org.el (org-create-formula--latex-header): Replace AUTO with
3916         appropriate language when previewing snippets.
3918         * ox-latex.el (org-latex-item): Allow hyperref and footnotemark in
3919         items description tags.  Also remove a unnecessary hack allowing
3920         footnotemark with an optional argument in the tag.
3922         * ox.el (org-export-resolve-fuzzy-link): Fix link resolution when
3923         link lives before the first headline.
3925         * org-element.el (org-element-special-block-parser): Fix typo in
3926         regexp matching block type.  Also quote the type so it can contain
3927         special characters.
3929         * ox-latex.el (org-latex-pdf-process): This argument can cause
3930         problem with links with a relative path, since compilation happens
3931         in a different directory.
3933         * org.el (org-latex-default-packages-alist): Load "ulem" package
3934         by default.  Use "[normalem]" option to preserve \emph definition.
3936         * ox-latex.el (org-latex-text-markup-alist): Use "\uline" and
3937         "\sout" commands from "ulem" package.
3939         * org.el (org-latex-default-packages-alist): Document need for
3940         "soul" package.
3942         * ox-latex.el (org-latex-text-markup-alist): Use \ul (from "soul"
3943         package) instead of \underline for underline text.
3945         * ox.el (org-export-read-attribute): Fix "Wrong argument type"
3946         error when attributes start with :key "".
3948         * org.el (org-fill-paragraph-separate-nobreak-p)
3949         (org-fill-line-break-nobreak-p)
3950         (org-fill-paragraph-with-timestamp-nobreak-p): Fix docstrings.
3952         * org-element.el (org-element--list-struct): Fix failing
3953         "plain-list-parser" test.
3955         * ox-latex.el (org-latex-src-block): Handle :float attribute. Its
3956         value can be set to "t", "multicolumn" or "nil".  Also remove
3957         :long-listing attribute, which is now replaced with :float nil.
3958         (org-latex--org-table): Replace :float table with :float t.
3959         (org-latex--inline-image): Replace :float figure with :float t.
3960         (org-latex-long-listings): Remove variable.
3962         * org-element.el (org-element--list-struct): New function.
3963         (org-element-plain-list-parser, org-element--current-element): Use
3964         new function.
3966         * ox-man.el (org-man-compile):
3967         * ox-texinfo.el (org-texinfo-compile): Use appropriate argument.
3969         * ox-latex.el (org-latex-compile):
3970         * ox-man.el (org-man-compile):
3971         * ox-texinfo.el (org-texinfo-compile): Properly set working
3972         directory.
3974         * ox-latex.el (org-latex-compile):
3975         * ox-texinfo.el (org-texinfo-compile): Make sure generated file
3976         can be found by `file-exists-p'.
3978         * ox-md.el (md): Delegate underscore transcoding to HTML back-end.
3980         * org-element.el (org-element--remove-indentation): Small
3981         optimization.
3982         (org-element--remove-indentation): New function.
3983         (org-element-example-block-parser, org-element-src-block-parser):
3984         Use new function.
3985         (org-element-src-block-interpreter): Update function according to
3986         change.
3988         * ox.el (org-export-unravel-code): Do not remove any indentation
3989         since it now happens at the parser level.
3990         (org-export-table-cell-width): Be sure to use cache even when
3991         stored value is nil.
3992         (org-export--default-title): Fix "Symbol's value as variable is
3993         void: org-export--default-title".
3995         * ox-ascii.el (org-ascii--table-cell-width): Cache results of this
3996         internal function since it is called at each cell, though its
3997         value only change column wise.
3999         * ox.el (org-export-resolve-fuzzy-link): Change property name
4000         holding cache.
4001         (org-export-table-has-header-p, org-export-table-row-group)
4002         (org-export-table-cell-width, org-export-table-cell-alignment):
4003         Cache results.
4004         (org-export-table-cell-address): Refactor.
4005         (org-export-get-parent): Inline function.
4006         (org-export-options-alist): Change default value for :title
4007         property.
4008         (org-export--default-title): New dynamically scoped variable.
4009         (org-export-store-default-title): New function.
4010         (org-export--get-buffer-attributes): Remove title handling.
4011         (org-export--get-global-options): Revert "ox: Fix default title".
4012         Refactor code.
4014         * ox-html.el (org-html-format-latex): Provide a prefix for
4015         temporary file when using dvipng, even if the current buffer isn't
4016         associated to a file.
4018         * ox.el (org-export-resolve-radio-link): Ignore whitespace
4019         differences when resolving a radio link.
4020         (org-export-resolve-radio-link): Fix radio target resolution.
4022         * org-element.el (org-element--current-element): Be stricter when
4023         matching arguments in LaTeX environments.  In particular, do not
4024         allow anything else than options and arguments in the opening
4025         line.
4027         * ox-html.el (org-html-inner-template): Remove code relative to
4028         bibliography.
4029         (org-html-bibliography): Remove function.
4031         * ox-latex.el (org-latex-plain-text): Protect ^ char with \^{},
4032         not only \^, so it doesn't become a diacritic.
4034         * ox-html.el (org-html--build-meta-info): Fix code typo.
4036         * ox.el (org-export-expand-include-keyword): Avoid using `read' to
4037         determine file name.
4038         (org-export--get-global-options): Properly set default title,
4039         i.e. when to TITLE keyword is provided.
4041         * org-element.el (org-element--parse-elements): Also parse visible
4042         headlines within an otherwise compacted headline.
4044         * ox.el (org-export-expand-include-keyword): Tolerate included
4045         file names without double quotes.
4046         (org-export-resolve-fuzzy-link): Fix caching process.
4048         * ox-publish.el (org-publish-find-date): Fix "Invalid time
4049         specification" error with timestamps in DATE.
4051         * org-element.el (org-element--current-element): Allow the opening
4052         string of a LaTeX environment to contain additional arguments.
4054         * org.el (org-insert-heading): Refactor to use `org-in-item-p'
4055         only once.
4057         * ox.el (org-export-expand): Optionally add affiliated keywords to
4058         results.
4060         * ox-org.el (org-org-identity): Use new argument for
4061         `org-export-expand'.
4063         * org.el (org-fill-paragraph): Move to table beginning before
4064         aligning the table when M-q is called from an affiliated keyword.
4066         * org-list.el (org-list-allow-alphabetical): Properly update
4067         `org-list-allow-alphabetical' when changed after org.el has been
4068         loaded.
4070         * org-element.el (org-element-fixed-width-interpreter): Fix
4071         interpretation of fixed-width elements with a nil or empty string
4072         value.
4074         * ox-html.el (org-html-link): Don't skip the link description when
4075         it matches the name of the headline it targets.
4077         * ox-html.el (org-html-link): Don't skip the link description when
4078         it matches the name of the headline it targets.
4080         * ox-ascii.el (ascii): Remove inexistant function.
4082         * ox-icalendar.el (icalendar): Ignore footnotes.
4083         (org-icalendar--combine-files): Small refactoring.
4085         * ox.el (org-export--skip-p, org-export--interpret-p): When
4086         `org-export-with-footnotes' is nil, ignore completely footnotes
4087         references and definitions instead of exporting them verbatim.
4089         * ox-beamer.el (org-beamer--frame-level): Small refactoring.
4090         (org-beamer--format-block, org-beamer-headline): Do not systematically
4091         downcase environment names as some require upper case in their
4092         names (e.g. noteNH and CJK).
4094         * ox.el (org-export-with-timestamps): Only applies to isolated
4095         timestamps, i.e. timestamps in a paragraph containing only
4096         timestamps and empty strings.
4097         (org-export--skip-p): Skip timestamps according to new behavior.
4099         * ox-latex.el (org-latex--script-size): Handle consecutive
4100         alterning sub and superscript.
4102         * ox-org.el (org-org-identity): Fix docstring.  Tiny refactoring.
4103         (org-org-headline, org-org-keyword): Fix docstring.
4105         * ox-latex.el (org-latex--script-size): Use \text command for
4106         subscript and superscript.  This is far superior to \mathrm, but
4107         it requires "amstext" package.  In particular, accented characters
4108         are now allowed within sub/superscript.
4110         * org.el (org-latex-default-packages-alist): Add "amstext"
4111         package.
4113         * ox-latex.el (org-latex--script-size): Fix error when using
4114         sub/superscript within sub/superscript.
4116         * ox-latex.el (org-latex--script-size): New function.
4117         (org-latex-subscript, org-latex-superscript): Use new function.
4118         Remove instructions since everything is documented in Org manual.
4120         * ox.el (org-export-with-smart-quotes): Use LATEX instead of LaTeX
4121         for keywords, the latter being hard to type, somewhat difficult to
4122         read, and overall just pedantic.
4124         * ox-latex.el (org-latex-classes): Be more explicit about
4125         LATEX_HEADER_EXTRA.
4127         * ox-html.el (org-html--build-meta-info): Fix invalid characters
4128         in html attributes.
4130         * ox.el (org-export-filters-alist): Remove macro filter.
4131         (org-export-filter-macro-functions): Remove variable.
4133         * ox-beamer.el (beamer): Install a default class set-up when
4134         loading library.
4136         * ox-latex.el (org-latex-classes): Update docstring.
4138         * ox-latex.el (org-latex--inline-image): Remove specific default
4139         image width for floats.  If no width nor height is provided, it
4140         should default to `org-latex-image-default-width' value.
4142         * org.el (org-extract-attributes-from-string)
4143         (org-attributes-to-string): Remove functions.
4145         * ox-html.el (html): Rename :html-table-tag property into
4146         :org-table-attributes.
4147         (org-html-table-default-attributes): New variable.
4148         (org-html-table-tag): Removed variable.
4149         (org-html--make-attribute-string): New function.
4150         (org-html-link--inline-image, org-html-table): Use new function.
4151         (org-html-splice-attributes, org-export-splice-style): Remove
4152         functions.
4153         (org-html-inline-image-rules): Remove out of context part of the
4154         docstring.
4156         * ox.el (org-export-read-attribute): Allow to use empty strings in
4157         attributes.
4159         * ox-html.el (org-html-metadata-timestamp-format): New variable,
4160         renamed from `org-html--timestamp-format'.
4161         (org-html--build-meta-info, org-html-format-spec,
4162         org-html--build-pre/postamble): Use new variable.
4164         * ox.el (org-export-table-row-number): New function.
4165         (org-export-table-cell-address): Use new function.
4167         * org-element.el (org-element-table-cell-successor): Parse table
4168         cells with missing ending space.
4170         * ox-latex.el (org-latex--math-table): Fix inline-math table
4171         environment.
4173         * ox-html.el (org-html-doctype): Make value fit on a single line
4174         so `org-export-insert-default-template' can handle it.
4175         (org-html-creator-string): Change default value.
4177         * ox.el (org-export-creator-string): Change default value.
4179         * ox-html.el (org-html-postamble-format)
4180         (org-html-preamble-format): Allow last modification time of source
4181         in template.  Fix docstrings.
4182         (org-html-format-spec): Produce last modification time when the source
4183         is a file.
4185         * ox.el (org-export-with-archived-trees, org-export-with-author)
4186         (org-export-with-clocks, org-export-with-date)
4187         (org-export-creator-string, org-export-with-drawers)
4188         (org-export-with-email, org-export-with-emphasize)
4189         (org-export-exclude-tags, org-export-with-fixed-width)
4190         (org-export-with-footnotes, org-export-with-latex)
4191         (org-export-headline-levels, org-export-default-language)
4192         (org-export-preserve-breaks, org-export-with-entities)
4193         (org-export-with-inlinetasks, org-export-with-planning)
4194         (org-export-with-priority, org-export-with-section-numbers)
4195         (org-export-select-tags, org-export-with-smart-quotes)
4196         (org-export-with-special-strings)
4197         (org-export-with-statistics-cookies)
4198         (org-export-with-sub-superscripts, org-export-with-toc)
4199         (org-export-with-tables, org-export-with-tags)
4200         (org-export-with-tasks, org-export-time-stamp-file)
4201         (org-export-with-timestamps, org-export-with-todo-keywords): Fix
4202         docstrings.
4204         * ox-html.el (org-html-postamble-format): Slightly change default
4205         value so "Generated by" string doesn't get duplicated.
4206         (org-html-creator-string): Fix docstring.
4208         * ox.el (org-export--get-inbuffer-options)
4209         (org-export--list-bound-variables)
4210         (org-export--generate-copy-script, org-export-string-as)
4211         (org-export-expand-include-keyword)
4212         (org-export--prepare-file-contents): Inhibit startup process when
4213         calling `org-mode'.
4215         * ox-publish.el (org-publish-find-date): Fix "bad timestamp" error
4216         with some DATE values: :date property in communication channel is
4217         no longer a string.
4219         * ox.el (org-export-insert-default-template): New function.
4220         (org-export--dispatch-ui, org-export--dispatch-action): Access to
4221         the function through the dispatcher.
4223         * ox-icalendar.el (org-icalendar-convert-timestamp): Update
4224         docstring.
4225         (org-icalendar-dtstamp): New function.
4226         (org-icalendar--vevent, org-icalendar--vtodo): Use new function.
4228         * ox-ascii.el (org-ascii-link):
4229         * ox-html.el (org-html-keyword):
4230         * ox-latex.el (org-latex-keyword, org-latex-link):
4231         * ox-man.el (org-man-keyword):
4232         * ox-md.el (org-md-link):
4233         * ox-odt.el (org-odt-keyword):
4234         * org.el (org-store-link, org-link-search, org-options-keywords):
4235         Remove reference to TARGET keyword.
4237         * ox.el (org-export-resolve-fuzzy-link, org-export-get-ordinal):
4238         Do not use TARGET as a destination for links anymore.
4240         * ox-org.el (org): Add a menu entry for the back-end.
4241         (org-org-export-as-org, org-org-export-to-org): New functions.
4243         * org.el (org-export-backends): Accept `org' as a loadable
4244         back-end.
4246         * ox-ascii.el (org-ascii-template--document-title): Use new function.
4248         * ox-beamer.el (org-beamer-template): Use new function.
4250         * ox-html.el (org-html-format-spec): Use new function.
4252         * ox-latex.el (org-latex-template): Use new function.
4253         (org-latex-date-timestamp-format): Remove variable.
4255         * ox.el (org-export-date-timestamp-format): New variable.
4256         (org-export-get-date): New function.
4258         * ox-odt.el (org-odt--format-paragraph): New function.
4259         (org-odt-paragraph): Use new function to limit code duplication.
4260         (org-odt-footnote-reference): Change default style for paragraphs
4261         when transcoding a footnote definition.
4263         * org-macro.el (org-macro--collect-macros): Fix a bug where
4264         reading a macro in a setup file would remove other macros read so
4265         far from template.  Change function signature.
4266         (org-macro-initialize-templates): Apply signature change from function
4267         above.
4269         * ox.el (org-export--list-bound-variables): Renamed from
4270         `org-export--install-letbind-maybe'.  Though, only return list of
4271         bound variables instead of installing them as buffer-local
4272         variables.
4273         (org-export-get-environment): Use new function.  Take care of the
4274         installation of bound variables.
4275         (org-export--generate-copy-script): Make sure non-Org variables are
4276         also installed in buffer copy.
4278         * ox.el (org-export-get-environment): Update comment.
4279         (org-export--install-letbind-maybe): Go into SETUPFILE files and
4280         handle BIND keywords there.
4282         * ox-latex.el (org-latex-link): Do not prefix relative paths with
4283         "file://".
4285         * org.el (org-link-search): Preserve priority of #+TARGET over
4286         #+NAME when resolving a link.
4288         * ox-latex.el (org-latex-long-listings): New variable.
4289         (org-latex-src-block): Use new variable.
4291         * ox.el (org-export-data): White spaces after export snippets are
4292         never ignored.
4294         * org-element.el (org-element-macro-parser): Allow to escape
4295         escaping character before a comma.  Also do not trim spaces at
4296         argument boundaries.
4298         * ox.el (org-export-async-start): Use correct coding system so
4299         unibyte characters do not appear in the resulting buffer or file.
4300         (org-export--copy-to-kill-ring-p): Move function elsewhere in the
4301         file.
4303         * ox-latex.el (org-latex--inline-image): Fix error when no default
4304         width, height and option are provided and no attribute is set for
4305         the inline image.
4307         * org.el (org-comment-or-uncomment-region): Fix commenting lines
4308         beginning with a link.
4309         (org-delete-char): Fix "Invalid use of `\\' in replacement text"
4310         when deleting a character in a cell which contains "\"
4311         (org-export-backends): Remove duplicates.  Reorder alphabetically.
4313         * ox-texinfo.el (org-texinfo-plain-list): Use `member' instead of
4314         `memq' when matching strings.
4316         * ox.el (org-export-read-attribute): Do not use `read' to read
4317         attributes.  Instead, extract keywords and values from it, which
4318         means each value will be a string when non-nil.
4320         * ox-beamer.el (org-beamer-plain-list): Use new attribute syntax.
4322         * ox-html.el (org-html--textarea-block): Use new attribute syntax.
4324         * ox-latex.el (org-latex--inline-image, org-latex--org-table)
4325         (org-latex--math-table): Use new attribute syntax.
4327         * ox-man.el (org-man-table--org-table): Use new attribute syntax.
4328         Small refactoring.
4330         * ox-odt.el (org-odt-link--inline-image, org-odt-table-cell): Use
4331         new attribute syntax.
4333         * ox.el (org-export-async-start): Remove code evaluation queries
4334         from asynchronous export.
4336         * ox-latex.el (latex): Activate smart quotes by default.
4337         (org-latex--inline-image): Don't insert a default width when
4338         height is provided in a figure environment.
4339         (org-latex--inline-image): Do not use default width
4340         (resp. height) when an user height (resp. width) is provided.
4341         Also, default height is only used when image is not wrapped within
4342         a figure or wrapfigure environment, in order to preserve ratio.
4343         (org-latex-image-default-width, org-latex-image-default-height):
4344         Update docstring.
4346         * ox-icalendar.el (org-icalendar-create-uid): Fix error when
4347         `org-icalendar-store-UID' is non-nil.
4349         * ox-latex.el (latex): Introduce new buffer keyword.
4350         (org-latex-template): Use new keyword.
4352         * ox-beamer.el (org-beamer-template): Use new keyword.
4354         * org.el (org-create-formula--latex-header): Use new keyword.
4356         * ox-beamer.el (org-beamer-column-view-format, org-beamer-theme)
4357         (org-beamer-environments-extra): Add :version and
4358         :package-version.
4360         * ox-html.el (org-html-with-latex, org-html-inline-image-rules):
4361         Add :version and :package-version.
4363         * ox-latex.el (org-latex-inline-image-rules)
4364         (org-latex-default-table-environment)
4365         (org-latex-default-table-mode, org-latex-tables-booktabs)
4366         (org-latex-table-scientific-notation, org-latex-known-errors): Add
4367         :version and :package-version.
4369         * ox-md.el (org-md-headline-style): Add :version and
4370         :package-version.
4372         * ox-odt.el (org-odt-with-latex): Add :version
4373         and :package-version.
4375         * ox.el (org-export-with-drawers, org-export-with-latex)
4376         (org-export-with-inlinetasks, org-export-with-planning)
4377         (org-export-with-smart-quotes, org-export-with-statistics-cookies)
4378         (org-export-allow-bind-keywords, org-export-async-init-file): Add
4379         :version and :package-version.
4381         * ox-icalendar.el (org-icalendar-export-to-ics): Change back-end
4382         name from `e-ascii' to `ascii'.
4384         * ox.el (org-export--generate-copy-script): Call `org-mode' when
4385         duplicating a buffer.  It will properly set every variable, like
4386         `comment-start'.
4387         (org-export-async-start): Do not call `org-mode' since this is done
4388         already in the previous function.
4390         * ox-beamer.el (org-beamer-keyword): Remove frame arount toc when
4391         generated from a TOC keyword.
4393         * org.el (org-export-backends): Do not reset list of loaded
4394         back-ends to variable's value after a reload.
4396         * ox-latex.el (org-latex-src-block): Do not overwrite provided
4397         numbering options in minted and listings.
4398         (org-latex-headline): Don't add optional title on unnumbered
4399         headlines.
4401         * ox-html.el (html): Fix "HTML_HEAD" and "HTML_HEAD_EXTRA"
4402         keywords.  Allow multiple #+LATEX_HEAD and #+LATEX_HEAD_EXTRA
4403         again.
4405         * org.el (org-fill-paragraph): Small refactoring to
4406         `org-fill-paragraph'.  Do not look for table cells in a paragraph.
4408         * org-element.el (org-element-object-restrictions): Simplify
4409         restrictions within secondary strings and objects.
4411         * org-list.el (org-list-send-list): Do not rely on
4412         `org-list-parse-list'.
4413         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Use
4414         appropriate export back-end instead of using
4415         `org-list-to-generic'.
4417         * ox-html.el (org-html-inner-template): Remove contents div and
4418         title.
4419         (org-html-template): Add contents div and title.
4420         (org-html-infojs-install-script): Can't activate jsinfo script
4421         during a body-only export.
4423         * ox.el (org-export-as): Store export options in :export-options
4424         porperty within communication channel.
4426         * ox-latex.el (org-latex-item): Fix wrong behavior when a counter
4427         is set in an ordered list while its parent is not ordered.
4429         * ox.el (org-export-format-code-default): Handle empty source
4430         blocks more gracefully.
4432         * ox-ascii.el (org-ascii-src-block): Handle empty blocks more
4433         gracefully.
4435         * org.el (org-export-backends): Update variable.  `infojs' was
4436         merged into ox-html and `freemind' was added.
4438         * ox.el (org-export--selected-trees): Also mark inlinetasks with a
4439         select tag.
4440         (org-export--skip-p): Skip inlinetasks with a :noexport: tag.
4442         * ob-tangle.el (org-babel-spec-to-string): Use dedicated function
4443         for unescaping code.
4445         * ox-html.el (org-html-link): Silence byte-compiler.
4446         (html): Add infojs installation script in options filter.
4447         (org-html-infojs-install-script): Remove check for back-end as we
4448         can safely assume the function will be called from `html' back-end
4449         or one of its derivative.
4451         * ox-icalendar.el (org-agenda-collect-markers)
4452         (org-create-marker-find-array): Remove functions.
4453         (org-icalendar-export-current-agenda): Integrate previous
4454         functions.
4456         * ox-latex.el (org-latex-format-headline-default-function): Use
4457         declarative shape to nest makup for TODO keywords.  Previous
4458         syntax generated errors during export.
4460         * ox.el (org-export-async-start): Ignore `org-mode-hook' and
4461         `kill-emacs-hook'.  The first one has been run in the original
4462         buffer.  The second is not necessary and can pollute output to a
4463         temporary buffer (e.g. with `org-clock-persistence-insinuate').
4465         * ox-html.el (org-html-inner-template): Remove title.
4466         (org-html-template): Add title.
4468         * ox.el (org-export--get-min-level): Ignore footnote section when
4469         computing minimal headline level.
4471         * org.el (org-do-latex-and-related): Fix infloop when user
4472         provides a wrong value for `org-highlight-latex-and-related'. In
4473         this case, `org-latex-and-related-regexp' is the empty string and
4474         generates an infloop since matching it doesn't move point.
4476         * org-element.el (org-element-headline-parser): Rename
4477         :optional-title into :alt-title.
4479         * ox.el (org-export-get-alt-title): Renamed from
4480         `org-export-get-optional-title'.
4482         * ox-ascii.el (org-ascii--build-title):
4483         * ox-html.el (org-html--format-toc-headline):
4484         * ox-latex.el (org-latex-headline):
4485         * ox-texinfo.el (org-texinfo--get-node)
4486         (org-texinfo--generate-menu-items): Apply name change.
4488         * ox.el (org-export--get-inbuffer-options): Remove an optional
4489         argument.  Rewrite function.  Properties read from a setupfile do
4490         not overwrite anymore previously computed properties.
4491         (org-export-get-environment): Apply changes to previous function.
4493         * org.el (org-create-formula--latex-header): Apply arity change
4494         from `org-export--get-inbuffer-options'.
4496         * ox-latex.el (org-latex-compile): Add an optional argument for
4497         latex snippet previewing.
4499         * org.el (org-create-formula-image-with-imagemagick): Use
4500         `org-latex-compile' instead of rewriting it.
4502         * ox-html.el (org-html-fontify-code): Do not use [^\000] in
4503         regexps that may match large strings.
4505         * org.el (org-create-formula--latex-header): New function.
4506         (org-create-formula-image-with-dvipng)
4507         (org-create-formula-image-with-imagemagick): Use new function.
4509         * ox.el (org-export-get-previous-element): Change order of retured
4510         elements in `org-export-get-previous-element'.
4512         * org-element.el (org-element-all-successors): Add `plain-link'
4513         successor.
4514         (org-element-object-restrictions): Remove `link' within `link'.
4515         Allow `plain-link' instead.
4516         (org-element-plain-link-successor): New function.
4518         * org.el (org-match-substring-regexp)
4519         (org-match-substring-with-braces-regexp): Update regexp.  A
4520         sub/superscript cannot start anymore at the beginning of the line
4521         or after a space.
4523         * org-element.el (org-element--get-next-object-candidates):
4524         Rewrite function to simplify algorithm.
4525         (org-element-context, org-element--parse-elements): Apply changes.
4527         * org.el (org-fill-paragraph): Apply changes.
4529         * ox-html.el (org-html-link, org-html-link--inline-image):
4530         Attributes specified to a paragraph only apply to first link
4531         within.
4533         * ox-latex.el (org-latex-headline): Do not add optional section
4534         name when section is unnumbered.
4536         * org.el (org-in-verbatim-emphasis): Fix false positive when point
4537         is just after the closing emphasis marker.
4538         (org-fill-paragraph): Do not move point when filling a table.
4540         * ox-ascii.el (ascii): Add new filter.
4541         (org-ascii-filter-comment-spacing): New function.
4542         (org-latex-keyword): Remove "figures" value.
4544         * ox-ascii.el (org-ascii--list-tables): Fix docstring.
4546         * ox-html.el (org-html--format-toc-headline): Fix function name.
4547         (org-html-toc, org-html--toc-text): Change to docstring.
4548         (org-html-list-of-listings, org-html-list-of-tables): New
4549         functions.
4550         (org-html-keyword): Use new functions.
4551         (org-html-src-block): Add an ID attribute when a name is given.
4553         * org-element.el (org-element-footnote-definition-parser): Require
4554         2 blank lines to separate footnote definition.
4556         * org-footnote.el (org-footnote-at-definition-p): Require 2 blank
4557         lines to separate footnote definition.
4559         * ox.el (org-export-stack): Rewrite.
4560         (org-export-stack-refresh): Refactor.
4561         (org-export-stack-remove, org-export-stack-view): Apply renaming.
4562         (org-export-stack-mode-map): Use tabulated list map as a basis.
4563         (org-export-stack--generate, org-export-stack--num-predicate): New
4564         function.
4565         (org-export-get-optional-title): Return regular title when no
4566         optional title is found.
4568         * ox-ascii.el (org-ascii--build-title): Apply change to
4569         `org-export-get-optional-title'.
4571         * ox-html.el (org-html--format-toc-headline): Apply change to
4572         `org-export-get-optional-title'.
4574         * ox-latex.el (org-latex-headline): Apply change to
4575         `org-export-get-optional-title'.
4577         * ox-ascii.el (org-ascii--build-title): Add an argument.  Use
4578         optional title when building a toc line.
4579         (org-ascii--build-toc): Call `org-ascii--build-title' with
4580         appropriate arguments.
4582         * ox-latex.el (org-latex-headline): Use optional title for table
4583         of contents.
4585         * ox-html.el (org-html--toc-text): Renamed from
4586         `org-html-toc-text'.  Add docstring.
4587         (org-html--format-toc-headline): Renamed from
4588         `org-html-format-toc-headline'.  Add docstring.  Use optional
4589         title if possible.
4590         (org-html-toc): Add docstring.
4592         * org-element.el (org-element-headline-parser): Node property
4593         :OPTIONAL_TITLE: in a headline will be parsed and stored under
4594         :optional-title property.
4596         * ox.el (org-export-get-optional-title): New function.
4598         * ox-latex.el (org-latex-format-headline-default-function): Make
4599         the variable a function.
4601         * ox-publish.el (org-publish-resolve-external-fuzzy-link): No
4602         error when resolving external fuzzy links outside publishing.
4603         Though search option for these links will not be resolved.
4605         * ox-latex.el (org-latex-guess-inputenc): Set inputenc option
4606         according to `org-export-coding-system'.
4608         * ox.el (org-export--generate-copy-script): Clone
4609         `buffer-file-coding-system' when creating a buffer copy.
4611         * ox-html.el (org-html-link): Resolve external links with search
4612         options like [[file.org::#custom-id]] or
4613         [[file.org::*headline-search]].
4615         * ox-publish.el (org-publish-collect-numbering)
4616         (org-publish-resolve-external-fuzzy-link): New functions.
4617         (org-publish-org-to): Add new collecting function to final output
4618         filter.  Move index collecting function to the same filter.
4619         (org-publish-collect-index): Called from final output filter.
4621         * ox-html.el (org-html-format-headline--wrap, org-html-headline):
4622         Use :CUSTOM_ID, not :custom-id.
4624         * org-element.el (org-element-latex-environment-parser): Fix wrong
4625         value for :post-affiliated property when parsing a latex
4626         environment.
4628         * ox-latex.el (org-latex-property-drawer): Remove function.
4630         * ox-ascii.el (org-ascii-filter-paragraph-spacing): Remove
4631         reference to now renamed `e-ascii' back-end.
4633         * ox-beamer.el (org-beamer-template): Allow to span documentclass
4634         options accross multiple lines in template.
4636         * ox-latex.el (org-latex-template): Allow to span documentclass
4637         options accross multiple lines in template.
4639         * ox-texinfo.el (org-texinfo--get-node): Upcase property name.
4640         (org-texinfo--get-node): New function.
4641         (org-texinfo-headline, org-texinfo-link): Use new function.
4643         * ox-ascii.el (org-ascii-quote-block): Do not fill quote block
4644         contents.  Just indent them.
4646         * ox-publish.el (org-publish-index-generate-theindex): Do not
4647         create an "* Index" headline in "theindex.inc".  Though, create an
4648         "Index" title in fallback "theindex.org".
4650         * ox-publish.el (org-publish-projects): Publish "theindex.org"
4651         last, so that "theindex.inc" can be completed.
4653         * ox-publish.el (org-publish-project-alist): Fix docstring.
4654         (org-publish-collect-index): Fix typo.
4656         * ox.el (org-export--dispatch-ui): Prevent invisible cursor from
4657         highlighting brackets in UI
4659         * org-element.el (org-element-headline-parser)
4660         (org-element-inlinetask-parser): Fix docstring.
4662         * org.el (org-export-backends): Add new back-end in customize
4663         interface.
4665         * ox-beamer.el (org-beamer--get-label, org-beamer--frame-level)
4666         (org-beamer--format-section, org-beamer--format-frame)
4667         (org-beamer--format-block, org-beamer-headline): Apply changes to
4668         properties.
4670         * ox-html.el (org-html-headline, org-html-link, org-html-section):
4671         Apply changes to properties.
4673         * ox-icalendar.el (org-icalendar-create-uid)
4674         (org-icalendar-blocked-headline-p, org-icalendar-entry)
4675         (org-icalendar--valarm): Apply changes to properties.
4677         * ox-odt.el (org-odt-headline): Apply changes
4679         * ox-publish.el (org-publish-collect-index): Apply changes to
4680         properties.
4682         * ox-texinfo.el (org-texinfo--generate-menu-list)
4683         (org-texinfo--generate-menu-items, org-texinfo-template)
4684         (org-texinfo-headline, org-texinfo-link): Apply changes to
4685         properties.
4687         * ox.el (org-export-resolve-id-link, org-export-get-category):
4688         Apply changes to properties.
4689         (org-export-get-node-property): Update docstring.
4691         * org-element.el (org-element-headline-parser)
4692         (org-element-inlinetask-parser): Upcase properties.  This is done
4693         to avoid confusion between properties from parser (e.g. `:end')
4694         and properties from the property drawer (e.g. :END:).
4696         * ox-publish.el (org-publish-index-generate-theindex): Preserve
4697         order in file.  Fix error when two index entries were identical.
4698         Create again theindex.inc.
4700         * org-element.el (org-element-map): Allow to map over any list.
4701         Do not restrict mapping to object types.
4703         * org-faces.el (org-latex-and-related): Renamed from
4704         `org-latex-and-export-specials', which wasn't appropriate anymore.
4706         * org.el (org-highlight-latex-and-related)
4707         (org-latex-and-related-regexp): New variables.
4708         (org-compute-latex-and-related-regexp, org-do-latex-and-related): New
4709         function, revived from a previous commit.
4710         (org-set-regexps-and-options, org-set-font-lock-defaults): Use new
4711         functions.
4712         (org-set-regexps-and-options): Remove reference to LATEX_CLASS and
4713         beamer back-end.
4715         * ox-publish.el (org-publish-org-to): Small refactoring.
4717         * ox.el (org-export-install-filters): Properly install filters
4718         send through ext-plist mechanism.
4720         * ox-publish.el (org-publish-org-to): Small refactoring.
4722         * ox-html.el (org-html-keyword): Remove INDEX keyword handling.
4723         ox-publish.el takes care of it already.
4725         * org-macro.el: New file.
4727         * org.el: Remove macro code.
4729         * ox.el: Require new library
4731         * ox.el (org-export-resolve-fuzzy-link): Ignore statistics cookies
4732         when matching an headline.
4733         (org-export--dispatch-ui): Display a help message in header line
4734         for scrolling dispatcher's buffer
4735         (org-export-resolve-radio-link): Radio targets are
4736         case-insensitive.
4738         * ox-icalendar.el (org-export-icalendar): Fix docstring.
4740         * ox.el (org-export-dispatch): Fix docstring.
4741         (org-export--dispatch-action): Small improvement to line by line
4742         scrolling.
4743         (org-export-resolve-fuzzy-link): Refactor.  Whitespaces are not
4744         significant when matching a fuzzy link.
4746         * org-element.el (org-element-link-parser): Do not remove newlines
4747         characters in paths anymore, since this is not required.
4749         * ox.el (org-export--dispatch-ui): Renamed from
4750         `org-export-dispatch-ui'.  Handle scrolling.
4751         (org-export--dispatch-action): Renamed from
4752         `org-export-dispatch-action'.  Implement scrolling.
4753         (org-export-dispatch): Apply renaming.
4755         * org.el (org-ctrl-c-ctrl-c): Do nothing when at a blank line,
4756         but still run `org-ctrl-c-ctrl-c-final-hook'.
4757         (org-end-of-line): Remove `ignore-error'.
4759         * org-element.el (org-element-at-point): Return nil when in the
4760         first empty lines of the buffer.  Return headline when in empty
4761         lines just after the headline.
4763         * ox.el (org-export-output-file-name): Add a protection when
4764         output file name is the same as the original org.
4766         * ox-beamer.el (org-beamer-template): Add missing `class' argument
4767         for `format-string'.
4769         * ox-latex.el (org-latex-template): Add missing `class' argument
4770         for `format-string'.
4772         * ox.el (org-export-stack-mode): Fix docstring.
4774         * org-pcomplete.el (pcomplete/org-mode/file-option): Allow
4775         completion for ATTR_ prefixed keywords.
4777         * org.el (org-options-keywords): Add missing colons.
4779         * org-macs.el (org-default-options): Removed function.
4781         * org-pcomplete.el (org-command-at-point): Fix bug with some file
4782         options.
4783         (pcomplete/org-mode/file-option/x): Removed macro.
4784         (pcomplete/org-mode/file-option): Refactor code.
4785         (pcomplete/org-mode/file-option/author)
4786         (pcomplete/org-mode/file-option/date)
4787         (pcomplete/org-mode/file-option/title)
4788         (pcomplete/org-mode/file-option/tags)
4789         (pcomplete/org-mode/file-option/select_tags)
4790         (pcomplete/org-mode/file-option/priorities)
4791         (pcomplete/org-mode/file-option/language)
4792         (pcomplete/org-mode/file-option/filetags)
4793         (pcomplete/org-mode/file-option/exclude_tags)
4794         (pcomplete/org-mode/file-option/email): New functions.
4796         * ox.el (org-export--collect-headline-numbering): Remove footnote
4797         section from TOC.
4798         (org-export-collect-headlines): Do not count footnote section when
4799         numbering a headline.
4801         * ox-beamer.el (org-beamer-plain-list): Also read #+attr_latex
4802         attributes in order to determine list's options.
4804         * ox-ascii.el (org-ascii-inner-template): New function.
4805         (org-ascii-template): Use new function.
4806         (org-ascii-export-as-ascii, org-ascii-export-to-ascii): Update
4807         docstring.
4809         * org-element.el (org-element-link-parser): Take into
4810         consideration links filled and indented.
4812         * org-element.el (org-element-link-parser): Remove all newline
4813         characters in path property.
4815         * ox.el (org-export-as): Call `inner-template' function, if
4816         available.
4818         * ox-html.el (org-html-inner-template): New function.
4819         (org-html-template): Move all parts that should be inserted even
4820         in a body-only export into `org-html-inner-template'.
4822         * org.el (org-forward-element, org-backward-element): When no
4823         headline is found at the same level, still move forward or
4824         backward.
4826         * org-element.el (org-element--current-element): Add a limit
4827         argument.
4828         (org-element--collect-affiliated-keywords): Fix parsing of orphaned
4829         keyword at the end of an element.
4831         * ox-texinfo.el (org-texinfo-src-block): Remove spurious newline
4832         character as `org-export-format-code-default' already makes sure
4833         the string returned will end with a single one.
4835         * ox-latex.el (org-latex-headline): When a function returns a
4836         sectioning command, only one placeholder should be required.
4838         * org-element.el (org-element-nested-p): Do not inline function.
4840         * ox.el (org-export-copy-buffer, org-export-with-buffer-copy)
4841         (org-export--generate-copy-script): Moved earlier in the file.
4843         * ox-texinfo.el (org-texinfo-link): Do not transform path part of
4844         internal links.
4846         * org.el (org-org-menu): Small refactoring.
4848         * ox-beamer.el (require):
4849         * ox-icalendar.el (require):
4850         * ox-jsinfo.el (require):
4851         * ox-md.el (require): Require cl when compiling.
4853         * org.el (org-export-backends):
4854         * ox.el (org-export-dispatch): Fix docstring.
4856         * ox.el (org-export-dispatch-ui): Widen UI by 2 characters.
4858         * ox-latex.el (org-latex-special-block): Add :options attribute to
4859         special blocks to specify options.
4861         * ox-beamer.el (org-beamer-template): Add BEAMER_HEADER keywords
4862         below LATEX_HEADER.
4864         * ox-latex.el (org-latex-format-headline-function): Fix missing
4865         parens in the docstring.
4867         * org.el (org-export-backends): Remove `:initialize' function.
4869         * org.el (org-reload): Also reload export back-ends in use.
4871         * ox-latex.el (org-latex-example-block, org-latex-src-block):
4872         Ignore element if it's empty.  This fixes error "apply: Wrong
4873         number of arguments: max, 0".
4875         * ox-beamer.el (org-beamer-template): Provide an error when LaTeX
4876         class is invalid.
4878         * ox-latex.el (org-latex-template): Provide an error when LaTeX
4879         class is invalid.
4881         * org.el (org-modules): Remove export back-ends from the list.
4882         Update docstring.
4883         (org-export-backends): New variable.
4885         * ox.el (org-export-async-start): Make sure export framework is
4886         required in the external process.
4888         * org.el (org-format-latex-header-extra, org-export-have-math):
4889         Removed variables.
4890         (org-latex-default-packages-alist): Renamed from
4891         `org-export-latex-default-packages-alist'.
4892         (org-latex-packages-alist): Renamed from
4893         `org-export-latex-packages-alist'.
4894         (org-try-cdlatex-tab, org-cdlatex-underscore-caret,
4895         org-cdlatex-math-modify): Reorder in file.
4896         (org-format-latex): Remove `org-format-latex-header-extra'.
4897         (org-create-formula-image-with-dvipng,
4898         org-create-formula-image-with-imagemagick): Apply variables renaming
4899         and removal.
4901         * org-entities.el (org-entities-user): Update docstring.
4903         * ox-latex.el (org-latex-classes, org-latex-listings): Update
4904         docstring.
4905         (org-latex-guess-inputenc): Renamed from `org-latex--guess-inputenc'.
4906         (org-latex-guess-babel-language): Renamed from
4907         `org-latex--guess-babel-language'.
4908         (org-latex-template): Apply renaming.
4910         * ox-beamer.el (org-beamer-template): Apply renaming.
4912         * ob-latex.el (org-babel-execute:latex): Apply variable renaming
4913         and removal.
4914         (org-babel-latex-tex-to-pdf): Call `org-latex-compile' instead of
4915         copying it.
4917         * org-macs.el (org-if-unprotected, org-if-unprotected-1)
4918         (org-if-unprotected-at): Removed macros.
4919         (org-re-search-forward-unprotected): Removed function.
4921         * org.el (org-format-latex):
4922         * org-list.el (org-list-struct):
4923         * org-footnote.el (org-footnote-at-reference-p):
4924         * org-capture.el (org-capture-fill-template): Remove reference to
4925         `org-protected'.
4927         * ob-exp.el (org-babel-exp-process-buffer): Renamed from
4928         `org-export-blocks-preprocess'.
4930         * ox.el (org-export-execute-babel-code): Apply previous renaming.
4932         * org-pcomplete.el (pcomplete/org-mode/file-option): Collect valid
4933         keywords for completion without requiring the whole export
4934         framework.
4935         (pcomplete/org-mode/file-option/options): Rewrite using new export
4936         framework.  Only complete up to the colon.
4937         (pcomplete/org-mode/file-option/x): Removed macro.
4938         (pcomplete/org-mode/file-option/title)
4939         (pcomplete/org-mode/file-option/author)
4940         (pcomplete/org-mode/file-option/email)
4941         (pcomplete/org-mode/file-option/date): Removed functions.
4942         (pcomplete/org-mode/file-option/infojs_opt): New function.
4944         * org-clock.el (org-clocktable-defaults)
4945         (org-clocktable-write-default): Avoid requiring the whole export
4946         framework just to check one variable.
4948         * org-footnote.el (org-footnote-section): Update docstring.
4949         (org-footnote-normalize): Remove all export related part from the
4950         function.
4952         * org-inlinetask.el (org-inlinetask-export)
4953         (org-inlinetask-export-templates): Removed variables.
4954         (org-inlinetask-export-handler): Removed function.
4956         * org-plot.el: Remove dependency on `org-exp' library.
4958         * org.el (org-additional-option-like-keywords): Remove variable.
4959         (org-get-export-keywords): New function.
4960         (org-options-keywords): Update default list of keywords.
4961         (org-remove-flyspell-overlays-in): Apply changes to keywords
4962         compilation.
4963         (org-highlight-latex-fragments-and-specials)
4964         (org-latex-and-specials-regexp)
4965         (org-export-html-special-string-regexps): Remove variables.
4966         (org-compute-latex-and-specials-regexp)
4967         (org-do-latex-and-special-faces, org-remove-file-link-modifiers):
4968         Remove functions.
4969         (org-set-regexps-and-options, org-set-font-lock-defaults): Apply all
4970         removals.
4971         (org-use-sub-superscripts): Fix docstring.  Remove unused group.
4972         (org-match-sexp-depth): Make it a defconst instead of a defcustom
4973         in order to remove `org-export-translation' group completely.
4975         * ob-haskell.el (org-babel-haskell-export-to-lhs): Use new
4976         exporter.
4978         * ob-latex.el (org-babel-execute:latex): Use new exporter.
4980         * ob-org.el (org-babel-execute:org): Use new exporter.
4982         * org-agenda.el (org-agenda-menu, org-agenda-write): Use new
4983         iCalendar export back-end.
4985         * org-table.el (org-table-export, orgtbl-export): Remove
4986         dependency on `org-exp' library.
4987         (org-table-clean-before-export): New function.
4988         (org-table-colgroup-info): New variable.
4989         (orgtbl-to-html): Use to new HTML export back-end.
4991         * org.el (org-modules): Remove modules relative to obsolete export
4992         framework and add those relative to the new one.
4993         (org-create-formula-image-with-dvipng, org-format-latex
4994         org-create-formula-image-with-imagemagick): Use new exporter.
4995         (org-indent-line): INCLUDE keywords are indented like regular
4996         keywords.
4997         (org-mode-map): Bind C-c C-e to new export dispatcher.
4998         (org-menu): Install new exporter in menu.
5000         * org-ascii.el:
5001         * org-beamer.el:
5002         * org-docbook.el:
5003         * org-exp-blocks.el:
5004         * org-exp.el:
5005         * org-freemind.el:
5006         * org-html.el:
5007         * org-icalendar.el:
5008         * org-jsinfo.el:
5009         * org-latex.el:
5010         * org-lparse.el:
5011         * org-odt.el:
5012         * org-publish.el:
5013         * org-special-blocks.el:
5014         * org-taskjuggler.el:
5015         * org-xoxo.el: Remove
5017         * ox-ascii.el:
5018         * ox-beamer.el:
5019         * ox-html.el:
5020         * ox-icalendar.el:
5021         * ox-jsinfo.el:
5022         * ox-latex.el:
5023         * ox-man.el:
5024         * ox-md.el:
5025         * ox-odt.el:
5026         * ox-publish.el:
5027         * ox-texinfo.el:
5028         * ox.el: New file.
5030         * ob-exp.el (org-export-blocks-preprocess): Do not use
5031         `indent-code-rigidly' as it doesn't indent contents of strings.
5033         * org-element.el (org-element-map): Change to function
5034         indentation.  Also complete docstring.
5036         * org.el (org-ctrl-c-ctrl-c): Major rewrite function using
5037         Elements.
5039         * org-element.el (org-element-at-point): When point is before any
5040         element, in the first blank lines of the buffer, return nil.  When
5041         point is within blank lines just after a headline, return that
5042         headline.
5043         (org-element-context): Return nil when point is within the blank at
5044         the beginning of the buffer.
5046         * org.el (org-edit-special): Fix regression.
5047         (org-timestamp-has-time-p, org-timestamp-format)
5048         (org-timestamp-split-range, org-timestamp-translate): New
5049         functions.
5051         * org-element.el (org-element-timestamp-interpreter): Interpret
5052         timestamps ranges with repeaters.
5054         * org.el (org-edit-special): Rewrite `org-edit-special' using Org
5055         Elements tools.  Behavior should be unchanged.
5057         * org-element.el (org-element-context): Add an optional argument
5058         so that (org-element-context) and (org-element-context
5059         (org-element-at-point)) are equivalent.
5061         * ob.el: Only use the :wrap argument up to the first space when
5062         creating the #+END_ directive.
5064         * org-element.el (org-element-object-variables): New variable.
5065         (org-element-parse-secondary-string): Copy some buffer-local
5066         variables to the temporary buffer created to parse the string so
5067         links can still be properly expanded.
5068         (org-element-link-parser): Link expansion and translation are applied
5069         transparently for the parser.
5071         * org-element.el (org-element-line-break-parser): Line break
5072         includes the newline character following the backslashes.
5073         (org-element-line-break-interpreter): Apply changes to line break
5074         parsing.
5076         * org.el (org-all-targets): Fix radio targets detection when
5077         object is directly followed by a non-whitespace character.
5079         * ob.el (org-babel-use-quick-and-dirty-noweb-expansion): Renamed
5080         from `org-babel-use-quick-and-dirty-noweb-expansion'.
5081         (org-babel-expand-noweb-references): Use new variable name.
5083         * org-element.el (org-element-timestamp-interpreter): Fix
5084         timestamp interpreter when raw value isn't available.
5086         * ob-exp.el (org-babel-exp-non-block-elements): Make sure to parse
5087         inline babel call or inline src block instead of the following
5088         object.
5090         * org-element.el (org-element-timestamp-parser): Timestamp with
5091         time range has active/inactive-range type.
5092         (org-element-block-name-alist): Do not reset
5093         `org-element-block-name-alist' at each reload.
5094         (org-element-object-restrictions): Allow timestamps in parsed
5095         keywords (i.e. DATE).
5097         * org-agenda.el (org-agenda-show-clocking-issues)
5098         (org-agenda-format-item): Silence byte compiler.
5100         * org-colview-xemacs.el (org-agenda-columns): Silence byte
5101         compiler.
5103         * org-colview.el (org-agenda-columns): Silence byte compiler.
5105         * org.el (org-properties-postprocess-alist): Silence byte
5106         compiler.
5108         * org-element.el (org-element-timestamp-parser): Return nil for
5109         unspecified :hour-end and :minute-end properties.
5110         (org-element-object-restrictions): Add footnote references objects
5111         in table cells.
5112         (org-element-interpret-data): Clear text properties when
5113         interpreting a string .
5115         * org-capture.el (org-capture--expand-keyword-in-embedded-elisp):
5116         Fix docstring.
5118         * org.el (org-adaptive-fill-function): Items do not have
5119         a :post-affiliated property. Use :begin property instead.
5121         * org-element.el (org-element-headline-parser)
5122         (org-element-inlinetask-parser): Remove :clockedp property.
5124         * org.el (org-adaptive-fill-function): All elements do not have a
5125         :post-affiliated property.
5126         (org-macro-replace-all): Signal an error when a circular macro
5127         expansion happens.
5128         (org-macro-initialize-templates): Fix docstring.
5130         * org-element.el (org-element-map): Fix docstring.
5131         (org-element-contents, org-element-set-contents)
5132         (org-element-adopt-elements): Fix accessors and setters wrt
5133         secondary strings.
5134         (org-element-headline-parser)
5135         (org-element-inlinetask-parser): Fix void-function
5136         `org-clocking-buffer' error.
5137         (org-element-context): Fix org-element-context on parsed keywords.
5138         (org-element-context): Find objects in document and parsable
5139         affiliated keywords.
5140         (org-element-center-block-parser)
5141         (org-element-drawer-parser, org-element-dynamic-block-parser)
5142         (org-element-footnote-definition-parser)
5143         (org-element-plain-list-parser)
5144         (org-element-property-drawer-parser)
5145         (org-element-quote-block-parser, org-element-special-block-parser)
5146         (org-element-babel-call-parser, org-element-comment-parser)
5147         (org-element-comment-block-parser, org-element-diary-sexp-parser)
5148         (org-element-example-block-parser)
5149         (org-element-export-block-parser, org-element-fixed-width-parser)
5150         (org-element-horizontal-rule-parser, org-element-keyword-parser)
5151         (org-element-latex-environment-parser)
5152         (org-element-paragraph-parser, org-element-src-block-parser)
5153         (org-element-table-parser, org-element-verse-block-parser): Add
5154         `:post-affiliated' property to elements.
5155         (org-element-inlinetask-parser): Remove affilated keywords.
5157         * org.el (org-adaptive-fill-function): Use new property.
5159         * org-element.el (org-element--collect-affiliated-keywords):
5160         Allow duals keywords with only secondary value.
5161         (org-element-timestamp-parser): Modify timestamp objects
5162         properties.
5163         (org-element-headline-parser, org-element-inlinetask-parser): Remove
5164         `:timestamp' and `:clock' property.  Add `:clockedp' property.  Also,
5165         set `:closed', `:deadline' and `:scheduled' values to timestamp
5166         objects, not strings.  Small refactoring.
5167         (org-element-clock-parser): Rename `:time' property into `:duration'.
5168         Also, set `:value' value as a timestamp object, not a string.
5169         (org-element-planning-parser): Set `:closed', `:deadline' and
5170         `:scheduled' values to timestamp objects, not strings.
5171         (org-element-clock-interpreter, org-element-planning-interpreter)
5172         (org-element-timestamp-interpreter): Update interpreters.
5173         (org-element--current-element): Tiny refactoring.
5175         * ob.el (org-babel-where-is-src-block-result): Insert new results
5176         keyword in current narrowed part of buffer, if necessary. Small
5177         refactoring.
5178         (org-babel-insert-result): Do not widen buffer when new results have
5179         to be inserted.  Therefore, results inserted after the last block of
5180         a narrowed buffer still belong to the narrowed part of the buffer.
5182         * org-agenda.el (org-agenda-get-deadlines): Tiny stylistic change.
5184         * org-element.el (org-element-paragraph-separate): Diary-sexp
5185         elements can separate paragraphs.
5186         (org-element-all-elements): Install new `diary-sexp' type.
5187         (org-element--current-element): Recognize new `diary-sexp' elements.
5188         (org-element-diary-sexp-parser)
5189         (org-element-diary-sexp-interpreter): New functions.
5190         (org-element-horizontal-rule-parser)
5191         (org-element-keyword-parser, org-element--current-element): Small
5192         refactoring.
5193         (org-element-property): Access to text properties when argument is
5194         a string.
5195         (org-element-put-property): Correctly set property when target is
5196         a string.
5197         (org-element-adopt-elements): Also put :parent properties on
5198         strings.
5200         * ob-exp.el (org-babel-exp-code): Escape code when re-creating a
5201         src blocks.
5202         (org-export-blocks-preprocess): Pos can sometimes be set to a
5203         value greater than start, because of indentation, and lead to a
5204         search bound error.
5205         (org-babel-exp-code): Remove comma-escaping special rule for Org
5206         blocks.
5207         (org-export-blocks-preprocess): Results of an evaluated code block
5208         can be inserted within the blank lines after the block.  Hence, if
5209         the block has to be removed, delete everything down to the first
5210         non-blank line after the end of block closing string, instead of
5211         removing everything down to the very end of the block.
5213         * org.el (org-all-targets): Make sure the regexp really matched a
5214         radio target.
5215         (org-macro-expand, org-macro-replace-all): Change signature.  The
5216         function now accepts an alist of templates so it doesn't have to
5217         rely only on `org-macro-templates'.
5218         (org-macro-initialize-templates): {{{date}}} is not anymore an
5219         alias for {{{time}}}.  During export, it will provide the value
5220         stored in DATE keyword instead.
5222         * org-element.el (org-element-object-restrictions): Allow links in
5223         caption. Also allow inline-src-blocks and inline-babel-calls.
5224         (org-element-map): Change signature.
5225         (org-element-parsed-keywords): Remove document properties from the
5226         value.
5227         (org-element-dual-keywords): Fix docstring.
5228         (org-element-document-properties): New variable
5229         (org-element-all-elements): Add `node-property' as a new element
5230         type.
5231         (org-element-greater-elements): Add property-drawer element to
5232         greater elements since they now contain node-property elements.
5233         (org-element-drawer-parser): Small refactoring.
5234         (org-element-property-drawer-parser): Move into Greater Elements
5235         file section.
5236         (org-element-node-property-parser,
5237         org-element-node-property-interpreter): New functions.
5238         (org-element--current-element, org-element-at-point)
5239         (org-element--parse-elements): Handle new element type.
5240         (org-element--collect-affiliated-keywords): Fix return value.
5241         (org-element-center-block-parser)
5242         (org-element-drawer-parser, org-element-dynamic-block-parser)
5243         (org-element-footnote-definition-parser)
5244         (org-element-plain-list-parser, org-element-quote-block-parser)
5245         (org-element-special-block-parser, org-element-babel-call-parser)
5246         (org-element-comment-parser, org-element-comment-block-parser)
5247         (org-element-example-block-parser)
5248         (org-element-export-block-parser, org-element-fixed-width-parser)
5249         (org-element-horizontal-rule-parser, org-element-keyword-parser)
5250         (org-element-latex-environment-parser)
5251         (org-element-paragraph-parser, org-element-property-drawer-parser)
5252         (org-element-src-block-parser, org-element-table-parser)
5253         (org-element-verse-block-parser): Change signature. Now use an
5254         additional argument: affiliated.
5255         (org-element--current-element): Skip affiliated keywords and pass
5256         them as an argument to parsers.  It prevents to walk through these
5257         keywords twice: the first time to get to the first line of the
5258         element, and a second time to collect the affiliated keywords.
5260         * ob-exp.el (org-babel-exp-non-block-elements): More accurate
5261         white space handling when evaluating inline-src-block, babel-call
5262         and inline-babel-call elements or objects.  Also removed use of
5263         `org-babel-examplize-region' since it would never be called
5264         anyway; return value from `org-babel-exp-do-export' is never nil.
5265         (org-export-blocks-preprocess): Preserve affiliated keywords when
5266         replacing a code block.
5268         * org-element.el (org-element-multiple-keywords): Allow multiple
5269         caption keywords.
5271         * ob-exp.el (org-export-blocks-preprocess): Fix block evaluation
5272         when results are before the block.
5273         (org-export-blocks-preprocess): Improve blank lines handling in
5274         function. Add comments. Remove `org-export-blocks-postblock-hook'
5275         since it's defined nowhere now
5276         (and doesn't need to, there's `org-export-before-parsing-hook'
5277         already).
5279         * org-exp-blocks.el: Delete.
5281         * ob-exp.el (org-export-blocks-preprocess):
5282         * ob-ditaa.el (org-ditaa-jar-path): Moved from
5283         "org-export-blocks.el".
5285         * ob-exp.el (org-babel-exp-src-block): Remove unused argument.
5286         (org-babel-exp-non-block-elements): Rewrite function using Org
5287         Element.
5289         * org-exp-blocks.el (org-export-blocks-preprocess): Rewrite
5290         function using Org Element.
5292         * org-element.el (org-element-recursive-objects)
5293         (org-element-object-restrictions): Remove `macro' from recursive
5294         object types.
5296         * org.el (org-macro-initialize-templates): Small refactoring.
5297         (org-mode): Initialize macros templates.
5298         (org-macro-templates): New variable.
5299         (org-macro-expand, org-macro-replace-all)
5300         (org-macro-initialize-templates): New functions.
5302         * org-element.el (org-element-link-type-is-file): New variable.
5303         (org-element-link-parser): Extract search option and application
5304         in "file"-type links.
5306         * org.el (org-mode): Set back comment-start-skip so comment-dwin
5307         can tell a keyword from a comment.
5309 2013-11-12  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
5311         * org.el (org-time-stamp): When INACTIVE is non-nil, insert an
5312         inactive timestamp also with double universal argument.
5313         (org-set-regexps-and-options): Don't set font-lock defaults here.
5314         (org-mode): Set font-lock defaults here.
5315         (org-insert-link): Call `org-link-try-special-completion' from the
5316         original buffer.
5318 2013-11-12  Oleh  <oleh.krehel@gmail.com>
5320         * org.el (org-open-at-point): The new code is being run in the
5321         same spot as `org-open-link-functions'.  In case they failed,
5322         check if link matches "^id:" and if so, load the id interface and
5323         follwo the link.
5325 2013-11-12  Rasmus  <rasmus@gmx.us>  (tiny change)
5327         * ox-latex.el (org-latex--inline-image): The pgf format is
5328         associated to an inline image and treated like tikz files.
5330 2013-11-12  Richard Lawrence  <richard.lawrence@berkeley.edu>  (tiny change)
5332         * org-agenda.el (org-cmp-ts): Avoid error when trying to
5333         `string-match' against nil.
5335 2013-11-12  Rick Frankel  <rick@rickster.com>
5337         * ox-html.el (org-html-doctype): New function.
5338         (org-html-template): Use `org-html-doctype' instead of inline
5339         code.
5340         (org-html-headline): Use the new
5341         `org-html--container' function to set container element.
5342         (org-html--container): Returns appropriate element for headline
5343         container.
5344         (org-html-divs): Extra character in doc string.
5345         (org-babel-execute:sql): Unquote cmdline argument in
5346         format string, dbish requires three separate arguments. Add dbi to
5347         the list of engines with automatically added header separator.
5348         (org-html--build-pre/postamble): Add css class to wrapper div
5349         (defaults to `org-pre/postamble-class').  Move spec building to
5350         separate function (`org-html-format-spec').
5351         (org-html-format-spec): New function.
5352         (org-pre/postamble-class): New variable.
5353         (org-html--timestamp-format): New variable used in the metadata
5354         and the pre/postamble.
5355         (org-html-style-default): Make the preamble and postamble use the
5356         same style.  Make all anchors font-size %100.  Remove margin from
5357         the content section.
5358         (org-html-container-element): Fix docstring.
5359         (org-html-postamble-format, org-html-preamble-format): Update
5360         docstrings.
5361         (org-html-template): Use `org-html--build-pre/postamble'.
5362         (org-html--build-pre/postamble): New function, combining the
5363         pre/postamble generator.  Merge lists of formatters from the
5364         preamble and postamble.  Fix bug, using :time-stamp-file instead
5365         of :with-date for auto display of date: this brings usage in-line
5366         with the latex and beamer exporter.
5367         (org-html--build-postamble, org-html--build-postamble): Delete.
5368         (define-backend): Add :html-doctype and :html-container
5369         parameters.
5370         (org-html-doctype): New option for doctype declaration.
5371         (org-html-container-elemnt): New option for specifying the wrapper
5372         container element.
5373         (org-html-divs): Change to alist of three entries each containing
5374         a key ('preamble, 'content, 'postamble), an HTML element type and
5375         an id to allow setting container elements.
5376         (org-html--build-preamble, org-html--build-postamble): Modified to
5377         use `org-html-divs'.
5378         (org-html-template): Modified to use doctype and container-element
5379         settings.
5380         (org-export-define-backend): Add css url option.
5381         (org-export-htmlized-org-css-url): Modify docstring and options.
5382         (org-html--build-style): Include css-url if specified.
5384 2013-11-12  Roberto Huelga Díaz  <rhuelga@gmail.com>  (tiny change)
5386         * org-timer.el (org-timer-set-timer): Use the variable
5387         `org-clock-sound' when calling `org-notify'.
5389 2013-11-12  Ryo TAKAISHI  <ryo.takaishi.0@gmail.com>
5391         * org-capture.el (org-capture--expand-keyword-in-embedded-elisp):
5392         New function.
5393         (org-capture-expand-embedded-elisp): Use the new function.
5395         * ob-tangle.el (org-babel-tangle-collect-blocks): Change argument
5396         name collid `org-babel-map-src-blocks' variable 'lang'.
5398         * org-protocol.el (org-protocol-convert-query-to-plist): New
5399         function.
5400         (org-protocol-do-capture): Use new function.
5401         (org-protocol-data-separator): Change default separator.
5403 2013-11-12  Rémi Vanicat  <vanicat@debian.org>  (tiny change)
5405         * org-table.el (orgtbl-format-line): Fix bug when formatting line.
5407 2013-11-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5409         * ox-latex.el (org-latex-listings): Don't quote const value.
5411         * ob-C.el (org-babel-C-var-to-C): Add list support
5412         (org-babel-C-val-to-C-list-type, org-babel-C-val-to-C-type)
5413         (org-babel-C-format-val): New functions.
5414         (org-babel-C-ensure-main-wrap, org-babel-execute:C)
5415         (org-babel-execute:C++, rg-babel-execute:cpp)
5416         (org-babel-C++-compiler, org-babel-C-compiler): Improve docstring.
5418         * org-entities.el (org-entities): Add support for hbar.
5420 2013-11-12  Sacha Chua  <sacha@sachachua.com>  (tiny change)
5422         * org.el (org-read-date-get-relative): Handle positive and
5423         negative weekday specifications so that they don't return today.
5424         If today is Friday, "fri" should mean next Friday.  This changes
5425         the previous behavior, which required you to specify "+2fri" in
5426         order to mean next Friday if today was Friday.  If you want to
5427         schedule something for today, you can use ".".
5429 2013-11-12  Samuel Loury  <konubinix@gmail.com>  (tiny change)
5431         * org.el (org-open-at-point): Open a plain link even if the cursor
5432         is before it, which is consistent with the behavior with respect
5433         to bracket and angle links.
5435 2013-11-12  Sean O'Halpin  <sean.ohalpin@gmail.com>  (tiny change)
5437         * ob.el (org-babel-expand-noweb-references): Capture current noweb
5438         start and end patterns then use them to set buffer locals in a
5439         (with-temp-buffer ...) form.
5441 2013-11-12  Sebastien Vauban  <xxx@public.gmane.org>
5443         * ox-latex.el (org-latex-listings-langs): Update custom variable.
5445         * ob-core.el (org-babel-parse-src-block-match): Fix order of list
5446         of header arguments.
5448         * org-clock.el (org-clock-goto-before-context): New option.
5449         (org-clock-goto): Use the new option.
5450         (org-clocktable-write-default): Insert the summary as a standard
5451         #+CAPTION keyword for the (clock) table.
5453 2013-11-12  Stephen Eglen  <S.J.Eglen@damtp.cam.ac.uk>  (tiny change)
5455         * org-agenda.el (org-agenda-prefix-format): Small docstring
5456         enhancement.
5458 2013-11-12  Suhail Shergill  <suhailshergill@gmail.com>  (tiny change)
5460         * ob-core.el (org-babel-temp-file): For remote hosts, modify the
5461         prefix and leave `temporary-file-directory' unchanged.
5463 2013-11-12  Suvayu Ali  <fatkasuvayu+linux@gmail.com>  (tiny change)
5465         * org.el (org-speed-commands-default): Change default binding for
5466         org-mark-subtree from "." to "@" to be more consistent with "C-c
5467         @".
5469 2013-11-12  Tim Burt  <tcburt@rochester.rr.com>  (tiny change)
5471         * org-datetree.el (org-datetree-find-year-create): Also match
5472         headlines with tags.
5474 2013-11-12  Toby S. Cubitt  <tsc25@cantab.net>
5476         * org.el (org-time-clocksum-format)
5477         (org-time-clocksum-fractional-format): In addition to a single
5478         format string, the clocksum formats can now be plists specifying
5479         separate formats for different time units.
5480         (org-minutes-to-clocksum-string): New function to replace
5481         `org-minutes-to-hh:mm-string', which converts a number of minutes
5482         to a string according to the customization options.
5484         * org-colview.el (org-columns-number-to-string): Use the new
5485         `org-minutes-to-clocksum-string' function to format clocksum
5486         durations.
5488         * org-clock.el: Always call new `org-minutes-to-clocksum-string'
5489         function when formatting time durations, instead of calling
5490         `org-minutes-to-hh:mm-string' or passing
5491         `org-time-clocksum-format' directly to format.
5493 2013-11-12  Tokuya Kameshima  <kametoku@gmail.com>
5495         * org-mew.el (org-mew-inbox-folder, org-mew-use-id-db)
5496         (org-mew-subject-alist, org-mew-capture-inbox-folders)
5497         (org-mew-capture-guess-alist): New options.
5498         (org-mew-store-link, org-mew-open): Rewrite.
5499         (org-mew-folder-name, org-mew-follow-link)
5500         (org-mew-folder-eixsts-p, org-mew-get-msgnum)
5501         (org-mew-open-by-message-id, org-mew-search, org-mew-capture)
5502         (org-mew-capture-guess-selection-keys): New functions.
5504 2013-11-12  Trevor Murphy  <trevor.m.murphy@gmail.com>  (tiny change)
5506         * org.el (org-get-compact-tod): Always pad minutes to two places.
5508 2013-11-12  Viktor Rosenfeld  <listuser36@gmail.com>  (tiny change)
5510         * org.el (org-agenda-prepare-buffers): Add tags defined in
5511         `org-tag-persistent-alist' to `org-tag-alist-for-agenda'.
5513 2013-11-12  Vitalie Spinu  <spinuvit@gmail.com>
5515         * ob-tangle.el (org-babel-find-file-noselect-refresh): Call
5516         `find-file-noselect' with 'nowarn argument to surpress
5517         `yes-or-no-p' reversion message.
5519         * ob-core.el (org-babel-where-is-src-block-head): Return
5520         `point-marker' instead of `point'.
5522 2013-11-12  Yann Hodique  <yann.hodique@gmail.com>
5524         * org-publish.el (org-publish-org-to-taskjuggler): New function to
5525         publish taskjuggler projects.
5527 2013-11-12  Yasushi Shoji  <yashi@atmark-techno.com>
5529         * org-clock.el (org-clock-x11idle-program-name): New option.
5530         (org-x11idle-exists-p, org-x11-idle-seconds): Use it.
5532 2013-11-12  Yoshinari Nomura  <nom@quickhack.net>
5534         * ox-html.el (org-html--has-caption-p): New function.
5535         (org-html-link--inline-image, org-html-table): Prepend ordinal
5536         number to caption.
5537         (org-html-link): Make numbered link by counting captioned figures
5538         and tables.
5540         * ox.el (org-export-dictionary): Add Japanese translations for
5541         figures and tables.  Add "Figure %d:" entry in the same manner
5542         with "Table %d:".
5544 2013-11-12  Nicolas Richard  <nrichard@ulb.ac.be>
5546         * ob.el (org-babel-edit-distance): When insertion or deletion are
5547         needed, make sure the distance is incremented.  In addition, the
5548         now obsolete mmin function was removed.
5550 2013-11-12  Oleh Krehel <wave@mail.ua>
5552         * org-capture.el (org-capture-expand-embedded-elisp): Throw error
5553         if result is not a string and not nil.  If the result is nil,
5554         treat it as if it was the empty string.
5556         * org-clock.el (org-clock-notify-once-if-expired): Honor
5557         `org-clock-sound'.
5559 2013-11-12  Rasmus Pank  <rasmus.pank@gmail.com>
5561         * org.el (org-format-latex-header): Remove eucal and amsmath.
5562         (org-latex-default-packages-alist): Remove amstext and add
5563         amsmath.
5565         * ox-latex.el (org-latex-item): Use square as unchecked symbol.
5567         * org.el (org-latex-default-packages-alist): Remove latexsym.
5569         * org-entities.el (org-entities): Add support for ell, imath,
5570         jmath, varphi, varpi, aleph, gimel, beth, dalet, cdots, S (§),
5571         dag, ddag, colon, therefore, because, triangleq, leq, geq,
5572         lessgtr, lesseqgtr, ll, lll, gg, ggg, prec, preceq, preccurlyeq,
5573         succ, succeq, succurlyeq, setminus, nexist(s), mho, check, frown,
5574         diamond.  Changes loz, vert, checkmark, smile and tilde.
5576         * ob-C.el: Added C++ to `org-babel-load-languages' automatically
5577         after loading C.
5579         * org-src.el (org-src-lang-modes): Added association between
5580         language C++ and `c++-mode'.
5582         * ox.el (org-export-smart-quotes-alist): Added ("da" "no" "nb"
5583         "nn" "sv").
5584         (org-export-dictionary): Added some entries ("da" "no" "nb" "nn"
5585         "sv").
5586         (org-export-default-language): Mention other variables affected by
5587         language.
5589         * ox-latex.el (org-latex-babel-language-alist): Added 'nb', 'nn',
5590         and 'no' for Norwegian.  Removed 'no-no'.
5591         (org-latex-pdf-process): let `latexmk' be a preconfigured choice
5592         and change the wording of the docstring.
5593         (org-latex-guess-babel-language): Replace AUTO with language if
5594         AUTO is the option of the LaTeX package Babel.
5595         (org-latex-classes): updated documentation with respect
5596         to `org-latex-guess-babel-language'.
5598 2013-11-12  Дядов Васил Стоянов  <vdyadov@elvees.com>  (tiny change)
5600         * org-docview.el (org-docview-export): New function to export
5601         docview links.
5603 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5605         * org-agenda.el (org-agenda-mode):
5606         * org-indent.el (org-indent-mode): Use the `local' arg of
5607         add-hook/remove-hook.
5609 2013-03-08  Bastien Guerry  <bzg@gnu.org>
5611         * org-exp.el (org-export-normalize-links): Fix critical bug: do
5612         not rely on `org-context' to guess where to prevent links
5613         normalization.
5615 2013-02-28  Achim Gratz  <Stromeko@Stromeko.DE>
5617         * org.el (org-org-menu): Use correct key "C-u C-c C-x !" to do
5618         org-reload uncompiled in the menu.
5620 2013-02-28  Bastien Guerry  <bzg@gnu.org>
5622         * org-indent.el (org-indent-add-properties): Bugfix: prevent
5623         negative value for `added-ind-per-lvl'.
5625         * org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
5626         `isearch-mode-end-hook' so that any isearch fixes the problem with
5627         ellipsis on the first line.
5628         (org-fix-ellipsis-at-bol): New defsubst.
5629         (org-show-context, org-isearch-end): Use it.
5631         * org.el (org-show-context): Remove useless catch.
5632         Make sure the top of the window is a visible headline.
5633         (org-activate-plain-links): Remove unused catch.
5635         * org-macs.el (org-get-alist-option): Return nil, not (nil),
5636         so that `org-show-context' DTRT.
5638         * org.el (org-imenu-get-tree): Fix bug when matching against empty
5639         headlines.
5641         * org.el (org-overview): Stay on current line.
5642         (org-map-entries): Fix docstring.
5643         (org-at-clock-log-p): Delete.
5644         * org-clock.el (org-at-clock-log-p): Move here.
5646         * org.el (org-tsr-regexp-both): Don't activate dates in links.
5647         (org-activate-dates): Change match boundaries according to the new
5648         value of `org-tsr-regexp-both'.
5650         * org-agenda.el (org-agenda-to-appt): Fix typos.
5652         * org-agenda.el (org-agenda-local-vars): Don't include
5653         `org-agenda-show-window' as it needs to be checked outside of the
5654         agenda window.
5656         * org.el (org-set-tags-command): Fix bug when setting tags for
5657         multiple headlines in an active region.
5659         * org-mobile.el (org-mobile-edit): DTRT when inserting a heading
5660         in an invisible region.
5662         * org.el (org-insert-heading-respect-content): Add docstring.
5663         New `invisible-ok' parameter.
5664         (org-insert-todo-heading-respect-content): Add docstring.
5666         * ob-tangle.el (org-babel-tangle-collect-blocks):
5667         Bugfix: remove code references from blocks.
5669         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
5670         Cosmetic changes.
5671         (org-agenda-show-new-time): Fix bug when displaying a temporary
5672         overlay with the scheduled/deadline information.
5674         * org.el (org-fill-paragraph-with-timestamp-nobreak-p): New function.
5675         (org-setup-filling): Use it to prevent breaking a timestamp when
5676         filling a paragraph.
5678         * org-id.el (org-id-get-with-outline-path-completion): Fix docstring.
5680 2013-02-28  Tim Burt  <tcburt@rochester.rr.com>  (tiny change)
5682         * org-datetree.el (org-datetree-find-year-create):
5683         Match headlines with tags.
5685 2013-02-07  Bastien Guerry  <bzg@gnu.org>
5687         * org-agenda.el (org-agenda-get-deadlines)
5688         (org-agenda-get-scheduled): Fix bug: use text properties for the
5689         headline text since we rely on properties to get e.g. the effort.
5691         * org-exp.el (org-export-normalize-links): Don't match links
5692         within tags.
5694         * org-html.el (org-export-html-preamble-format)
5695         (org-export-html-postamble-format): Mention that
5696         org-export-html-preamble/postamble need to be `t' in order for
5697         these variables to have any effect.
5699         * org-html.el (org-html-handle-links): When the link description
5700         is an image and the attribute is "width", pass the attribute to
5701         the <img ...> tag.
5703         * org.el (org-mode): Always honor `org-startup-indented', even
5704         when `org-inhibit-startup' is non-nil.
5706         * org-indent.el (org-indent-mode): Don't check
5707         `org-inhibit-startup'.
5709         * org.el (org-fontify-meta-lines-and-blocks-1): Don't try to add
5710         text properties outside of the buffer.
5712         * org.el (org-agenda-inhibit-startup): Rename from
5713         `org-agenda-inhibit-startup-visibility-cycling'.
5714         (org-agenda-prepare-buffers): Bind `org-inhibit-startup' to
5715         `org-agenda-inhibit-startup'.
5717         * org.el (org-mode): Don't initialize `org-beamer-mode' when
5718         `org-inhibit-startup' is non-nil.
5720         * org-footnote.el (org-footnote-create-definition): Prevent
5721         `electric-indent-mode' from inserting the definition at the wrong
5722         place.
5724         * org-agenda.el (org-agenda-no-heading-message): Delete.
5725         (org-agenda-get-timestamps, org-agenda-get-progress)
5726         (org-agenda-get-deadlines, org-agenda-get-scheduled)
5727         (org-agenda-get-blocks): Don't use
5728         `org-agenda-no-heading-message', skip the entry.
5730         * org.el (org-agenda-inhibit-startup-visibility-cycling):
5731         New option.
5732         (org-agenda-prepare-buffers): Use it to speed up the agenda
5733         generation.
5735         * org-agenda.el (org-agenda-skip): Fix bug by correctly skipping
5736         commented scheduled/deadline lines.
5738         * org-clock.el (org-clock-in): Fix bug when fetching the effort
5739         value.
5741         * ob-python.el (org-babel-python-command): Fix docstring.
5742         (org-babel-python-initiate-session-by-key): Fix bug: `run-python'
5743         from Emacs >24.1 requires a python command as an argument.
5745         * org-element.el (org-element-at-point): Fix typo in docstring.
5747         * org-agenda.el (org-agenda-get-deadlines): Fix bug: use
5748         `org-agenda-show-inherited-tags'.
5750         * org-agenda.el (org-agenda-skip): Correctly handle commented out
5751         scheduled/deadline lines.  Refactor.
5753         * org-install.el: Do not warn users.
5755         * org.el (org-adaptive-fill-function): In message-mode, don't
5756         lines in the message header, nor table lines in the body.
5757         Correctly fill lines starting with `org-outline-regexp' in the
5758         body.
5760         * org-agenda.el (org-agenda-open-link): Fix bug with opening all
5761         links.
5763 2013-02-07  Francesco Pizzolante  <fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org>  (tiny change)
5765         * org-clock.el (org-clock-sum): Protect with `org-unmodified'.
5767         * org-macs.el (org-unmodified): Inhibit modification hooks.
5769 2013-02-07  John K. Luebs  <jkluebs@luebsphoto.com>  (tiny change)
5771         * org.el (org-get-wdays): Handle matching a lead time specified in
5772         hours.
5774 2013-02-07  Muchenxuan Tong  <demon386@gmail.com>  (tiny change)
5776         * org-agenda.el (org-agenda-quit): Delete indirect buffer's window
5777         only when it exists.
5779 2013-02-07  Nicolas Goaziou  <n.goaziou@gmail.com>
5781         * org-element.el (org-element-macro-parser): Fix error when last
5782         argument ends with a protected comma.
5784         * org-element.el (org-element-parse-buffer, org-element-map)
5785         (org-element-at-point, org-element-context): Be more verbose in
5786         docstrings.  Also fix typos.
5788         * org-list.el (org-list-struct-fix-box): When a checkbox has to be
5789         resetted because of a non-nil ORDERED property value, make sure it
5790         had a checkbox already.
5792 2013-02-07  Tokuya Kameshima  <kametoku@gmail.com>  (tiny change)
5794         * org-agenda.el (org-search-view): Fix checking
5795         `org-agenda-show-inherited-tags'.
5797 2013-02-07  racin  <racin@free.fr>  (tiny change)
5799         * org-bibtex.el (org-bibtex-search): Don't throw an error when
5800         `org-bibtex-prefix' is nil.
5802 2013-01-13  Bastien Guerry  <bzg@gnu.org>
5804         * org-compat.el (org-condition-case-unless-debug): Delete.
5806         * org-odt.el (org-odt-cleanup-xml-buffers):
5807         Use `condition-case' instead of `org-condition-case-unless-debug',
5808         which is now deleted.
5810         * org-capture.el (org-capture-templates-contexts):
5811         * org-agenda.el (org-agenda-custom-commands-contexts):
5812         Docstring fix.
5814         * org.el (org-get-tags-at): Remove duplicate inherited tags.
5816         * org-agenda.el (org-agenda-show-inherited-tags): Allow to be set
5817         to 'always or to a list of agenda types.
5818         (org-agenda-finalize): Rework conditions under which inherited
5819         tags should be made available even when not displayed.
5820         (org-search-view, org-agenda-get-todos)
5821         (org-agenda-get-timestamps, org-agenda-get-sexps)
5822         (org-agenda-get-progress, org-agenda-get-scheduled)
5823         (org-agenda-get-blocks): Use new possible values of
5824         `org-agenda-show-inherited-tags'.
5826         * org.el (org-open-at-point): Fix opening all links at point.
5828         * org-agenda.el (org-get-entries-from-diary): Turn off
5829         `diary-file-name-prefix' instead of
5830         `diary-file-name-prefix-function', the former is checked before
5831         the latter.
5833         * org.el (org-edit-special): Check for table.el before checking
5834         for Org tables.
5836 2013-01-13  Michael Albinus  <michael.albinus@gmx.de>
5838         * ob-eval.el (org-babel-shell-command-on-region):
5839         Use `executable-find' for local `shell-file-name'.
5841 2013-01-09  Achim Gratz  <Stromeko@Stromeko.de>
5843         * org-faces.el: Define face alias mode-line for XEmacs (it's
5844         called modeline there).
5846         * org-compat.el (org-no-popups): New wrapper macro which let-binds
5847         the correct variables to suppress popup windows depending on the
5848         Emacs version in use.  This is a compile-time decision when
5849         byte-compiling.
5851         * org.el (org-get-location, org-switch-to-buffer-other-window):
5852         Use the wrapper `org-no-popups' to let-bind the correct variables
5853         for suppression of popup windows.
5855         * org-compat.el (user-error): Defalias to `error' for Emacsen that
5856         don't have it.
5858         * org-agenda.el (org-agenda-write): Use org-called-interactively-p
5859         instead of called-interactively-p.
5861         * org.el (org-find-invisible-foreground): Do not use the value of
5862         variables `default-frame-alist', `initial-frame-alist' and
5863         `window-system-default-frame-alist' when their symbol is not bound.
5865 2013-01-09  Bastien Guerry  <bzg@gnu.org>
5867         * org-src.el (org-edit-src-code): Fix bug when trying to edit a
5868         table.el table.
5870         * org-agenda.el (org-agenda-finalize): Inhibit readonly for the
5871         whole function.
5873         * org.el (org-entry-get): Speed up by let-binding some variables
5874         only if needed.  Also fix a bug: consider an empty drawer as no drawer.
5876         * org-agenda.el (org-search-view, org-agenda-get-todos)
5877         (org-agenda-get-timestamps, org-agenda-get-sexps)
5878         (org-agenda-get-progress, org-agenda-get-deadlines)
5879         (org-agenda-get-scheduled, org-agenda-get-blocks)
5880         (org-agenda-change-all-lines): Get local tags only.
5881         (org-agenda-use-tag-inheritance): New option.
5882         (org-agenda-finalize): When `org-agenda-use-tag-inheritance'
5883         is non-nil, possibly reset tags in the agenda buffer.
5884         (org-agenda-check-type): Enhance docstring.
5886         * org.el (org-use-tag-inheritance): Fix typo in docstring.
5888         * org-agenda.el (org-float): Don't alias `org-float'.
5890         * org.el (org-scan-tags): The skipper already checks for archived
5891         entries.
5893         * org.el (org-refresh-properties): Rename from
5894         `org-refresh-effort-properties' and use two new parameters.
5895         (org-agenda-prepare-buffers): Use `org-refresh-properties'.
5896         Also refresh the 'org-appt-warntime text property.
5898         * org-clock.el (org-clock-in): Use the renamed defun.
5900         * org-icalendar.el (org-icalendar-print-entries):
5901         Refresh the 'org-appt-warntime property.
5902         (org-icalendar-print-entries):
5903         * org-agenda.el (org-agenda-get-timestamps)
5904         (org-agenda-get-sexps, org-agenda-get-deadlines)
5905         (org-agenda-get-scheduled): Do not use `org-entry-get' to get the
5906         "APPT_WARNTIME" property value.
5908         * org.el (org-id-link-to-org-use-id): Fix compiler warning.
5910         * org-agenda.el (org-agenda-format-item): Do not use
5911         `org-get-effort' to get the effort text property.
5912         (org-agenda-get-sexps): Use `org-back-to-heading' when setting tags.
5914         * org-clock.el (org-clock-in): Refresh effort properties.
5916         * org.el (org-refresh-effort-properties): New defun.
5917         (org-get-effort): Delete.
5918         (org-set-effort):
5919         (org-property-next-allowed-value): Set the 'org-effort text property.
5920         (org-agenda-prepare-buffers): Refresh effort properties.
5922         * org.el (org-read-date): Let-bind `mouse-autoselect-window' to
5923         nil so that the mouse doesn't jump when the option is set to t globally.
5925         * org-agenda.el (org-agenda-dim-blocked-tasks): Default to nil.
5926         (org-agenda-dim-blocked-tasks): Make interactive and allow an
5927         optional parameter 'invisible to hide blocked tasks instead of
5928         just dimming them.
5929         (org-agenda-mode-map): Bind `org-agenda-dim-blocked-tasks' to "#".
5931         * org-agenda.el (org-agenda-finalize): Don't try to align tags
5932         when there are no tags.  Only try to draw the habit consistency
5933         graph when there is a habit in the buffer.  Only mark clocking
5934         task when there is one.
5936         * org.el (org-adaptive-fill-function): DTRT in `message-mode'.
5938         * org.el (org-get-priority): Save match data even when using
5939         `org-get-priority-function'.
5941         * org-mobile.el (org-mobile-create-index-file):
5942         Possibly normalize `org-todo-keywords'.
5944         * org-mobile.el (org-mobile-push): Use the correct agenda buffer names.
5946         * org.el (org-store-link): Use `org-id-link-to-org-use-id' instead
5947         of the obsolete variable name.
5949         * org.el (org-fontify-meta-lines-and-blocks-1):
5950         Fix bug when fontifying keywords with no value.
5952         * org.el (org-goto-auto-isearch): Enhance docstring.
5953         (org-goto-map): Make a defun, so that the customized value of
5954         org-goto-auto-isearch is correctly initialized.
5955         (org-goto): Initialize the keymap with `org-goto-map'.
5956         (org-get-location): Use *Org Help* as a temporary buffer.
5957         Tell whether auto-isearch is on or off.
5959         * org-exp.el (org-export-as-org): Remove useless argument.
5961         * org-docbook.el (org-export-as-docbook-batch)
5962         (org-export-region-as-docbook, org-export-as-docbook-pdf):
5963         Fix the number of arguments.
5964         (org-export-as-docbook): Remove useless argument.
5966         * org.el (org-speed-commands-default): Use ":" instead of ";" for
5967         `org-set-tags-command', which is consistent with ":" in agenda
5968         view.  Use "=" for `org-columns".
5970         * org.el (org-sparse-tree): Fix redundant information in prompt.
5972         * org-exp.el (org-export-string): Fix number of arguments passed
5973         to the org-export-as-* functions.
5975         * org-latex.el (org-export-as-latex): Fix typo in docstring.
5977         * org-list.el (org-cycle-include-plain-lists): Docstring enhancement.
5979         * org.el (org-fontify-meta-lines-and-blocks-1): Fix fontification
5980         bug when fontifying a keyword with no associated value.
5981         (org-cycle-internal-local): Don't run hooks when cycling a plain
5982         list before first headline.
5983         (org-ctrl-c-ctrl-c): Throw a user error when trying to toggle a
5984         blocked checkbox.
5985         (org-indent-line): Fix table formulas indenting.
5987         * org-agenda.el (org-agenda-open-link): Fix bug when no link is
5988         matched.  Return a message instead of an error.
5989         (org-agenda-priority): Remove useless parameter and fix showing
5990         priority in agenda buffers.
5992         * org-macs.el (org-with-buffer-modified-unmodified): New macro.
5994         * org.el (org-entry-blocked-p): Use the new macro.
5996         * org-src.el (org-edit-src-exit): Don't comma-escape the content
5997         of a fixed width region.
5999         * org.el (org-blocker-hook): Update the docstring to mention that
6000         functions in this hook should not modify the buffer.
6001         (org-trigger-hook): Small docstring fix.
6002         (org-entry-blocked-p): Use `with-buffer-modified-unmodified'
6003         so that the function never modifies the buffer.
6005         * org-agenda.el (org-agenda-open-link): Allow to open an internal
6006         link by using the new `org-offer-links-in-entry' function.
6008         * org.el (org-offer-links-in-entry): Do not open the link directly
6009         through `org-open-link-from-string', only offer to select a link
6010         and return a cons with the link (as a string) and the end of entry.
6011         (org-open-at-point): Use `org-offer-links-in-entry' correctly.
6013         * org.el (org-cycle-internal-local):
6014         Fix bug: allow headings with leading blank characters.
6016         * org-clock.el (org-clock-persist):
6017         Docstring fix: document the 'history value.
6019         * org.el (org-insert-link): Fix bug when inserting links to
6020         headlines containing the ">" character.
6022         * org-crypt.el (org-at-encrypted-entry-p): Fix search boundary.
6024         * org-compat.el (org-delete-directory): New compatibility function
6025         for Emacs 22, where `delete-directory' does not support recursive
6026         deletion.
6028         * org-odt.el (org-odt-cleanup-xml-buffers):
6029         Use the new compatibility function.
6031         * org.el (org-table-map-tables): Fix allowed blocks.
6033         * org.el (org-edit-special):
6034         * org-src.el (org-edit-src-code): Fix regression: allow editing
6035         HTML and LaTeX source blocks again.
6037         * org.el (org-nonsticky-props): Add `htmlize-link'.
6038         (org-nonsticky-props): Add `htmlize-link'.
6040         * org.el (org-edit-special):
6041         * org-src.el (org-edit-src-code): Don't edit in verbatim blocks.
6043         * org-table.el (org-table-fedit-lisp-indent)
6044         (orgtbl-self-insert-command): Use `org-delete-backward-char'
6045         instead of `backward-delete-char'.
6047         * org-src.el (org-edit-src-code): Fix another bug about editing
6048         special blocks "example" and "verbatim".
6050         * org.el (org-structure-template-alist): Add verbatim.
6051         (org-edit-special): Fix bug about editing special blocks
6052         "example" and "verbatim".
6054         * org.el (org-delete-backward-char, org-delete-char):
6055         Save match data, `delete-backward-char' and `delete-char' don't.
6057         * org.el (org-enable-table-editor, org-insert-heading)
6058         (org-remove-timestamp-with-keyword, org-self-insert-command):
6059         * org-table.el (org-table-fedit-lisp-indent)
6060         (orgtbl-self-insert-command):
6061         * org-latex.el (org-export-latex-subcontent):
6062         * org-clock.el (org-clocktable-write-default):
6063         * org-ascii.el (org-export-ascii-preprocess):
6064         Use `delete-backward-char' instead of `backward-delete-char'.
6066         * org.el (org-todo): Ignore the comment string when changing the
6067         TODO state of a headline.
6068         (org-edit-special): Fix docstring.
6069         (org-in-src-block-p): Small enhancement.
6071         * org-publish.el (org-publish-org-to): Call `org-export-as-*'
6072         functions with the correct list of arguments.
6074         * org-html.el (org-export-as-html): Delete obsolete arg `hidden'.
6075         (org-export-as-html-and-open, org-export-as-html-batch)
6076         (org-export-region-as-html): Don't use obsolete arg.
6078         * org-ascii.el (org-export-as-ascii): Delete obsolete arg `hidden'.
6079         (org-export-as-ascii-to-buffer): Don't use obsolete arg.
6081         * org.el (org-in-fixed-width-region-p): Save match data.
6082         (org-in-src-block-p): Use case-folding for searching the block
6083         boundaries.
6084         (org-activate-plain-links, org-activate-angle-links)
6085         (org-activate-bracket-links): Prevent link activation in
6086         source code blocks.
6088         * org-odt.el (org-odt-cleanup-xml-buffers): Fix Emacs Bug#13197 by
6089         setting the correct buffer before marking it unmodified to
6090         silently kill him.
6092         * org.el (org-set-font-lock-defaults): Don't activate links in
6093         source code blocks and fixed-width regions.
6095         * org-agenda.el (org-agenda-finalize): Fix links activation.
6097         * org.el (org-open-at-point): Throw the correct error on
6098         non-links.  Use `user-error' instead of `error'.
6100         * org.el (org-in-fixed-width-region-p): Define before use.
6102         * org-src.el (org-in-src-block-p): Declare function.
6104         * org-compat.el: Fix bug: don't use `eval-when-compile' when
6105         aliasing `user-error'.
6107         * org-agenda.el (org-agenda-skip): Only check if point is
6108         inside a code block, not at a code block.
6110         * org.el (org-in-fixed-width-region-p):
6111         Rewrite using org-element.el.
6113         * org.el (org-fill-paragraph): Fill correctly in source code block.
6115         * org.el (org-in-fixed-width-region-p): New function.
6116         (org-edit-special): Fix bug: make sure to DTRT in every
6117         special environment.  Also use the new function to check
6118         against fixed-width environment.
6120         * org-src.el (org-edit-src-code): Check if we are in a source code
6121         block with `org-in-src-block-p'.  Slightly reformat the docstring.
6123         * org.el (org-in-src-block-p): Return t when point is at the
6124         #+BEGIN_SRC/#+END_SRC lines unless the new optional parameter
6125         'inside is set to t.
6127         * ob-exp.el (obe-marker): Delete useless var.
6129         * org-src.el (org-edit-src-code): Fix bug triggered by the sexp
6130         (copy-marker nil) on Emacs <24.1.
6132 2013-01-09  Dmitry Antipov  <dmantipov@yandex.ru>
6134         * org-agenda.el (org-agenda-get-restriction-and-command):
6135         * org-capture.el (org-capture-place-template):
6136         * org-colview.el (org-dblock-write:columnview):
6137         * org-mobile.el (org-mobile-locate-entry):
6138         * org-table.el (org-table-convert-region):
6139         * org.el (org-update-statistics-cookies): Use `point-marker'.
6141 2013-01-09  Eric Schulte  <eric.schulte@gmx.com>
6143         * org-exp.el (org-export-string): Pass the dir option on through
6144         to any subsequent export functions.
6146 2013-01-09  Henning Weiss  <hdweiss@gmail.com>  (tiny change)
6148         * org-mobile.el (org-mobile-sumo-agenda-command): Remove match
6149         description from block agendas when they have a title.
6151 2013-01-09  Jambunathan K  <kjambunathan@gmail.com>
6153         * org-odt.el (org-export-as-odt-batch): Init `org-odt-zip-dir'.
6154         Fix Emacs Bug#13254.
6156         * org-odt.el (org-odt-format-org-link): Add check for presence of
6157         description in headline links.
6159 2013-01-09  Michael Gauland  <mike_gauland@stanfordalumni.org>  (tiny change)
6161         * org-src.el: Create a marker to pass to copy-marker.
6163 2013-01-09  Nicolas Goaziou  <n.goaziou@gmail.com>
6165         * org.el (org-setup-filling): Set `auto-fill-inhibit-regexp' to
6166         nil because `org-adaptive-fill-function' already determines which
6167         lines should be filled.
6169         * org.el (org-fill-paragraph): Small refactoring.
6171         * org-element.el (org-element--parse-elements)
6172         (org-element-at-point): Fix parsing of a list in a block in a list.
6174 2013-01-09  Sebastien Vauban  <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
6176         * org.el (org-copy-subtree, org-paste-subtree):
6177         Fix whitespace handling when copying/pasting a subtree.
6179 2012-12-20  Michael Albinus  <michael.albinus@gmx.de>
6181         * ob.el (org-babel-temp-file): Fix setting of
6182         `temporary-file-directory' on remote hosts.
6184         * ob-eval.el (org-babel-shell-command-on-region):
6185         Use `process-file' instead of `call-process-region'.  The latter one
6186         does not work on remote hosts.
6188 2012-12-13  Bastien Guerry  <bzg@gnu.org>
6190         * org-latex.el (org-export-latex-links): Escape raw path when
6191         exporting links to files.
6193         * org-src.el (org-src-native-tab-command-maybe): Fix bug: the
6194         S-TAB key should not trigger a native TAB command.
6196         * org.el (org-open-at-point): Allow to open any link within
6197         footnotes definition, not only bracket links.
6199         * org.el (org-sort-entries): Bugfix: keep track of the clock
6200         marker when sorting entries.  Enhance the docstring.
6202         * org-clock.el (org-clock-out): Use `user-error' when the user
6203         tries to clock out while there is no running clock.
6205         * org-table.el (org-table-sort-lines): Ensure coordinates are
6206         correctly displayed when sorting.
6208         * org.el (org-do-sort): Enhance prompt.
6210         * org-agenda.el (org-agenda-finalize): Also activate plain links.
6212         * org-timer.el (org-timer-stop): Add message.
6214         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
6215         Fix redundant messages.
6217         * org-agenda.el (org-agenda-finalize): Fix clock highlighting.
6219         * org.el (org-additional-option-like-keywords): Add "INDEX:".
6221         * org-install.el: Enhance warning.
6223 2012-12-13  Erik Hetzner  <egh@e6h.org>  (tiny change)
6225         * org.el (org-log-into-drawer): Honor the nil value for the
6226         :LOG_INTO_DRAWER: property.
6228 2012-12-13  Le Wang  <l26wang@gmail.com>  (tiny change)
6230         * org-src.el (org-edit-src-exit): Fix editing source section with
6231         blank lines.
6233 2012-12-13  Le Wang  <le.wang@agworld.com.au>
6235         * org-src.el (org-edit-src-code): Use marker with insertion type
6236         t to track end and remove hack requiring delete from beg to (1- end).
6238 2012-12-13  Nicolas Goaziou  <n.goaziou@gmail.com>
6240         * org-element.el (org-element-context): When point is between two
6241         objects, be sure to return the second one.
6243         * org-list.el (org-list-separating-blank-lines-number):
6244         When computing number of blank lines separating items, also count those
6245         in unparsed blocks, like example blocks.
6247         * org.el (org-end-of-line): When visual line mode is on, really
6248         move by visual lines.  Small refactoring.
6250         * org.el (org-end-of-line): On a hidden block make sure to
6251         delegate motion to `end-of-line' instead of `move-end-of-line' in
6252         order to stay on the current line.
6254 2012-12-13  Rafael Laboissiere  <rafael@laboissiere.net>  (tiny change)
6256         * org-bibtex.el: In the documentation section of the file, fix the
6257         broken URL to Andrew Roberts' document on BibTeX entries.
6259         * org-remember.el (org-remember-handler): Correctly strip the
6260         comment lines in the temporary buffer *Remember* when handling a
6261         remember note.
6263         * org-remember.el (org-remember-apply-template): Start the
6264         commented lines in the Remember temporary buffer with the
6265         appropriate characters.
6267 2012-12-13  Toby S. Cubitt  <tsc25@cantab.net>
6269         * org.el (org-beginning-of-line): Check `visual-line-mode' instead
6270         of `line-visual-mode' to determine whether to move by visual lines.
6272         * org.el (org-kill-line): Use the `org-bound-and-true-p' macro.
6274 2012-12-04  Chong Yidong  <cyd@gnu.org>
6276         * org-bibtex.el (org-bibtex-ask): Use visual-line-mode instead of
6277         longlines-mode.
6279 2012-10-26  Achim Gratz  <stromeko@stromeko.de>
6281         * ob-ditaa.el: Needs to (require 'org-compat) for
6282         org-find-library-dir.
6284         * org.el: Remove utf-8 codepoints in docstrings, bytecode doesn't
6285         work when loaded from compressed files.
6287         * org-compat.el: Make sure that file-name-directory is getting a
6288         stringp.  This avoids a possible " (wrong-type-argument stringp
6289         nil)" error when the library in question does not exist.
6291         * org-odt.el: Replace arc-mode.el by arc-mode.
6293         * org.el: Replace org-macs.el by org-macs.
6295         * org-install.el: Provide an empty file that prints a warning
6296         about an outdated configuration.
6298 2012-10-26  Bastien Guerry  <bzg@gnu.org>
6300         * org-latex.el (org-export-as-latex): Remove obsolete argument
6301         `hidden'.  Also fix the docstring: using 'string as the value
6302         for `to-buffer' outputs a string with no LaTeX header.
6303         (org-export-as-latex-batch)
6304         (org-export-as-latex-to-buffer, org-export-region-as-latex)
6305         (org-export-as-pdf): Don't use the obsoleted argument.
6307         * ob-haskell.el (org-export-as-latex): Don't use the obsoleted
6308         argument `hidden'.
6310         * org.el (org-refile): Run within `with-demoted-errors' so that a
6311         corrupted bookmark file does not stop the refile process.
6313         * org-capture.el (org-capture-bookmark-last-stored-position):
6314         Ditto for the capture process.
6316         * org-src.el (org-edit-src-exit): Fix bug when saving an empty
6317         source buffer.
6319         * org-lparse.el (org-lparse): Fix bug by returning the output
6320         of `org-do-lparse'.
6322         * org.el (org-refile-check-position): Throw an error when the
6323         refile target is the current buffer and is not a file.
6324         (org-agenda-file-to-front, org-remove-file): Throw an error
6325         when the current buffer is not a file.
6326         (org-check-agenda-file): Enhance the message.
6327         (org-element-type): Autoload.
6328         (org-element-context, org-element-paragraph-parser):
6329         Don't declare as these two functions are not used in org.el.
6331         * org-lparse.el (browse-url-file-url): Declare.
6333         * org.el (org-refile-check-position): Fix typo in docstring.
6335         * org-clock.el (org-clock-modeline-total): Make obsolete.
6336         (org-clock-mode-line-total): Rename from
6337         `org-clock-modeline-total'.
6338         (org-clock-get-sum-start): Fix references to
6339         `org-clock-modeline-total'.
6341         * org-faces.el (org-agenda-filter-tags)
6342         (org-agenda-filter-category, mode-line): Use the 'mode-line
6343         face instead of the obsolete 'modeline.
6345         * org-odt.el (org-odt-styles-dir): Try more directories.
6346         Don't throw an error, just send a message.
6348         * org-odt.el (org-odt-lib-dir, org-odt-data-dir)
6349         (org-odt-schema-dir-list, org-odt-styles-dir-list): Delete.
6350         (org-export-odt-schema-dir, org-odt-styles-dir): Infer the
6351         correct directories without requiring other variables.
6353         * org-fixup.el (org-make-org-version, org-make-autoloads):
6354         Don't define `org-odt-data-dir' in org-version.el.
6356         * org-loaddefs.el: New file.
6358         * org.el ("org-loaddefs.el"): Don't throw an error if the file
6359         cannot be fund.
6360         (org-version): Use org-loaddefs.el instead of org-install.el.
6362         * org.el: Don't dynamically autoload already autoloaded
6363         functions.
6364         (org-clock-update-time-maybe): Move to org-clock.el.
6366         * org-exp.el (org-insert-export-options-template):
6367         Remove autoload cookie.
6369         * org-clock.el (org-resolve-clocks, org-clock-in)
6370         (org-clock-out, org-clock-cancel, org-clock-goto)
6371         (org-clock-sum, org-clock-display, org-clock-report)
6372         (org-dblock-write:clocktable): Add autoload cookie.
6373         (org-clock-update-time-maybe): Move from org.el.
6375         * org-beamer.el (org-beamer-sectioning, org-beamer-mode): Ditto.
6377         * org-ascii.el (org-export-ascii-preprocess): Ditto.
6379         * org-archive.el (org-archive-subtree)
6380         (org-archive-to-archive-sibling, org-toggle-archive-tag):
6381         Add autoload cookie.
6383         * org-colview.el (org-columns, org-dblock-write:columnview)
6384         (org-insert-columns-dblock, org-agenda-columns): Ditto.
6386         * org-table.el (org-table-create-with-table.el)
6387         (org-table-create-or-convert-from-region, org-table-create)
6388         (org-table-convert-region, org-table-import)
6389         (org-table-export, org-table-align)
6390         (org-table-justify-field-maybe, org-table-next-field)
6391         (org-table-previous-field, org-table-next-row)
6392         (org-table-copy-down, org-table-field-info)
6393         (org-table-current-dline, org-table-goto-column)
6394         (org-table-insert-column, org-table-delete-column)
6395         (org-table-move-column-right, org-table-move-column-left)
6396         (org-table-move-column, org-table-move-row-down)
6397         (org-table-move-row-up, org-table-move-row)
6398         (org-table-insert-row, org-table-insert-hline)
6399         (org-table-hline-and-move, org-table-kill-row)
6400         (org-table-sort-lines, org-table-cut-region)
6401         (org-table-copy-region, org-table-paste-rectangle)
6402         (org-table-convert, org-table-wrap-region)
6403         (org-table-edit-field, org-table-sum)
6404         (org-table-get-stored-formulas)
6405         (org-table-maybe-eval-formula)
6406         (org-table-rotate-recalc-marks)
6407         (org-table-maybe-recalculate-line, org-table-eval-formula)
6408         (org-table-recalculate, org-table-iterate)
6409         (org-table-edit-formulas)
6410         (org-table-toggle-coordinate-overlays)
6411         (org-table-toggle-formula-debugger, orgtbl-to-generic)
6412         (orgtbl-to-tsv, orgtbl-to-csv, orgtbl-to-latex)
6413         (orgtbl-to-html, orgtbl-to-texinfo, orgtbl-to-orgtbl): Ditto.
6415         * org.el (turn-on-orgtbl): Move here from org-table.el.
6416         (org-clock-persistence-insinuate): Move here from org-clock.el.
6417         (org-update-all-dblocks, org-map-entries)
6418         (org-require-autoloaded-modules, org-forward-element)
6419         (org-backward-element, org-up-element)
6420         (org-element-greater-elements, org-drag-element-backward)
6421         (org-drag-element-forward, org-mark-element)
6422         (org-narrow-to-element, org-transpose-element)
6423         (org-unindent-buffer): Don't autoload.
6425         * org-clock.el (org-clock-get-clocktable): Rename from
6426         `org-get-clocktable'.
6427         (org-clock-persistence-insinuate): Move to org.el.
6429         * org-capture.el: Do no set `generated-autoload-file' locally.
6430         Minor code clean up.
6432         * org-agenda.el (org-agenda-list):
6433         Use `org-clock-get-clocktable'.  Do no set
6434         `generated-autoload-file' locally.
6436         * org-table.el (org-table-iterate-buffer-tables):
6437         Minor reformatting.
6438         (turn-on-orgtbl): Move to org.el.
6440         * org-html.el (org-export-htmlize-generate-css): Don't autoload.
6442         * org-timer.el (org-timer-pause-or-continue, org-timer-stop):
6443         Ditto.
6445         * ob-tangle.el (org-babel-tangle-lang-exts): Ditto.
6447         * ob-lob.el (org-babel-lob-ingest): Ditto.
6449         * org-id.el (org-id-copy)
6450         (org-id-get-with-outline-path-completion)
6451         (org-id-get-with-outline-drilling): Ditto.
6453         * org-lparse.el (org-lparse-and-open, org-lparse-batch)
6454         (org-lparse-to-buffer, org-replace-region-by)
6455         (org-lparse-region): Ditto.
6457         * org-mobile.el (org-mobile-create-sumo-agenda): Ditto.
6459         * org.el (org-cycle): Fix misplaced autoload cookie.
6461         * org-agenda.el (org-agenda-get-timestamps): Check if the item
6462         is an habit when formatting it with `org-agenda-format-item'.
6463         (org-agenda-get-blocks): Fix bug: don't assume the item is an
6464         habit when formatting with `org-agenda-format-item'.
6466         * org.el (org-calendar-agenda-action-key): Delete an option.
6467         (org-mode-map): Delete its keybinding.
6468         (org-agenda-action-marker, org-mark-entry-for-agenda-action):
6469         Delete.
6471         * org-agenda.el (org-agenda-diary-entry): Don't prevent from
6472         being used outside of Org agendas, as it can be used in
6473         calendar buffers too.
6475 2012-10-26  Caio Tiago Oliveira  <asrail@gmail.com>  (tiny change)
6477         * ob-scala.el (org-babel-scala-wrapper-method): Use a Scala
6478         block enclosing the submitted code.
6480 2012-10-26  Myles English  <mylesenglish@gmail.com>  (tiny change)
6482         * org-clock.el (org-clock-in): Move the call to
6483         org-clock-in-prepare-hook until the task's properties
6484         can be accessed.
6486 2012-10-26  Nicolas Goaziou  <n.goaziou@gmail.com>
6488         * org.el (org-auto-fill-function): Make sure `adaptive-fill-mode'
6489         mode is nil when pre-computed `fill-prefix' is the empty string.
6490         Otherwise filling functions from fill.el think it has to be computed
6491         again and overwrite it.
6493         * org.el: Make `org-closest-date' aware of hours repeaters.
6495         * org.el (org-end-of-line): Do not call `end-of-visual-line' when
6496         moving to the end of line.  Also improve behavior on elements that
6497         can be hidden.
6499         * org.el (org-sparse-tree): Allow to call `org-show-todo-tree'
6500         with an argument.
6502         * org-element.el (org-element--get-next-object-candidates):
6503         Fix parsing of objects of the same type in a single paragraph.
6505         * org-element.el (org-element-sub/superscript-successor):
6506         Fix parsing of sub/superscript at beginning of item.
6507         (org-element-latex-or-entity-successor): Fix parsing of latex
6508         fragments at beginning of item.
6510         * org-agenda.el (org-agenda-later): Fix function when span is
6511         a number and an argument was provided.  Also fix typo in docstring.
6513         * org.el (org-read-date-analyze): Fix analyzing for dates like
6514         "29.03 16:40".
6516         * org-element.el (org-element-center-block-parser)
6517         (org-element-drawer-parser, , org-element-footnote-definition-parser)
6518         (org-element-inlinetask-parser, org-element-plain-list-parser)
6519         (org-element-quote-block-parser, org-element-special-block-parser)
6520         (org-element-babel-call-parser, org-element-clock-parser)
6521         (org-element-comment-parser, org-element-comment-block-parser)
6522         (org-element-example-block-parser, org-element-export-block-parser)
6523         (org-element-fixed-width-parser, org-element-horizontal-rule-parser)
6524         (org-element-keyword-parser, org-element-latex-environment-parser)
6525         (org-element-paragraph-parser, org-element-planning-parser)
6526         (org-element-property-drawer-parser, org-element-src-block-parser)
6527         (org-element-table-parser)
6528         (org-element-verse-block-parserorg-element-dynamic-block-parser):
6529         Make sure element never ends at the end of a blank non-empty line.
6531         * org-element.el (org-element-context)
6532         (org-element--get-next-object-candidates): Fix `org-element-context'.
6533         In particular, the restrictions for an object may be different from
6534         those of its container (i.e. table rows and table cells).
6536         * org-element.el (org-element-example-block-parser)
6537         (org-element-src-block-parser): Store value of example-blocks and
6538         src-blocks unescaped.
6539         (org-element-example-block-interpreter)
6540         (org-element-src-block-interpreter): Escape value again when storing
6541         it.
6543         * org-src.el (org-escape-code-in-string)
6544         (org-unescape-code-in-string, org-escape-code-in-region)
6545         (org-unescape-code-in-region): New functions.
6546         (org-edit-src-code, org-edit-src-exit): Use new functions.
6548         * org.el (org-strip-protective-commas): Remove function.
6550         * org-exp.el (org-export-select-backend-specific-text): Use new
6551         function.
6553         * ob.el (org-babel-parse-src-block-match)
6554         (org-babel-parse-inline-src-block-match, org-babel-insert-result):
6555         Always escape produced blocks, independently on the language of the
6556         block, if any.  Use new functions.
6558         * org-element.el (org-element-paragraph-parser): Fix regexp
6559         starting a block.
6561         * org-element.el (org-element-center-block-parser):
6562         (org-element-drawer-parser, org-element-dynamic-block-parser)
6563         (org-element-example-block-parser, org-element-export-block-parser)
6564         (org-element-latex-environment-parser, org-element-paragraph-parser)
6565         (org-element-property-drawer-parser, org-element-src-block-parser)
6566         (org-element-verse-block-parser): Use stricter regexps for boundaries
6567         of elements.
6569 2012-10-26  Toby S. Cubitt  <tsc25@cantab.net>
6571         * org-agenda.el (org-agenda-get-sexps): Reset `extra' to nil at
6572         beginning of re-search-forward loop, otherwise next iteration picks up
6573         `extra' value from previous entry.
6575 2012-09-30  Abdó Roig-Maranges  <abdo.roig@gmail.com>
6577         * org-html.el (org-export-html-preprocess)
6578         (org-export-html-format-image):
6579         Use `org-latex-preview-ltxpng-directory'.
6581         * org-odt.el (org-export-odt-do-preprocess-latex-fragments):
6582         Ditto.
6584         * org.el (org-latex-preview-ltxpng-directory): New option.
6585         (org-preview-latex-fragment): Store LaTeX preview images in
6586         `org-latex-preview-ltxpng-directory'.
6588 2012-09-30  Achim Gratz  <Stromeko@Stromeko.DE>
6590         * ob-R.el (org-babel-R-initiate-session): Protect against use of
6591         unbound variable `ess-ask-for-ess-directory´.  The default for this
6592         variable is true, so act accordingly if it is found unbound.
6594         * ob-R.el: Remove initialization with `nil´ from
6595         `ess-ask-for-ess-directory´ and `ess-local-process-name´.
6596         Remove second declaration for `ess-local-process-name´.
6598         * org-gnus.el: Add a missing require for gnus-util.
6600         * org-compat.el: Rename utils to make throughout.
6602         * org.el: Move check for outline-mode-keymap after (require
6603         'outline).
6605         * org-element.el: New file.  Do not (require 'org).
6607         * org-agenda.el: Remove duplicate requires.
6609         * org.el (org-mode-map): Add keybindings to
6610         `org-element-transpose' and `org-narrow-to-element'.
6611         (org-metaup): Fall back on `org-element-drag-backward'.
6612         (org-metadown): Fall back on `org-element-drag-forward'.
6613         Also move chunks of declarations and require statements to get rid of
6614         compiler warnings.
6616         * org-exp-blocks.el (org): Don't require org.  Add declarations.
6618         * org-clock.el (org): Don't require org.
6620         * ob-exp.el (org-list-forbidden-blocks): Add declarations.
6622         * ob.el (org-babel-exeext): New defconst to hold extension for
6623         executables or nil if none.  Should be ".exe" for both Windows and
6624         Cygwin.
6626         * ob-C.el (org-babel-C-execute): Use org-babel-exeext when
6627         constructing the target file name for the compiled executable.
6629         * ob-fortran.el (org-babel-execute:fortran): Add org-babel-exeext
6630         when constructing the target file name for the compiled
6631         executable.
6633         * org-version.el: New file.
6635         * org-compat.el (org-check-version): New macro.  Check if
6636         org-version.el exists and provide autoloads to that.  Otherwise
6637         check if org-fixup.el exists and use it to provide definitions.
6638         Finally if nothing worked, complain about a botched installation
6639         and provide fallback definitions.
6641         * org.el: Use org-check-version.
6643         * org.el: Fix a subtle error resulting in version functions
6644         sometimes not being defined and byte-compiling failing.
6645         Always compile in fallback definitions into org.elc -- org-fixup either
6646         provides re-definitions at compile-time or checks org-version.el
6647         and then the git work tree when run uncompiled.  So the fallback
6648         definitions will only come into effect when org-fixup is not
6649         available.
6651         * org.el (org-version): Make org-version more robust, e.g. when
6652         byte-compiling single files with 'make compile-dirty'.
6654         * org.el (org-reload): Revert an undesirable change in org-reload.
6655         Do not prepend org-dir to babel-files, which prevents the files
6656         from being found in load-path.
6658         * org.el (org-version): Add optional parameters 'full and 'message
6659         to optionally return the full version string and echo to message
6660         area in non-interactive calls.
6662         * org.el (org-submit-bug-report): Add optional parameter 'full to
6663         call of (org-version) so that the bug report has all version
6664         information.
6666         * org.el (org-reload): Simplify file-re (orgtbl-*.el files do not
6667         exist anymore).  Keep org-*.el at the end of the files list.
6668         Explicitly load org-version.el (since it doesn't provide feature
6669         'org-version) at the very end, but ignore errors when it doesn't
6670         exist.  Add parameters 'full and 'message to the call of
6671         (org-version) so that after reload the full version information is
6672         displayed in the message area again.
6674         * org-agenda.el: Replace with-no-warnings with org-no-warnings
6675         (defined in org-macs.el).
6677         * org-bbdb.el: Replace with-no-warnings with org-no-warnings
6678         (defined in org-macs.el).
6680         * org-clock.el: Replace with-no-warnings with org-no-warnings
6681         (defined in org-macs.el).
6683         * org.el: Replace with-no-warnings with org-no-warnings (defined
6684         in org-macs.el).
6686         * org.el: Add with-not-warnings around call of (org-fixup).
6688         * org-compat.el (org-find-library-dir):
6689         Rename org-find-library-name (misleading) and implement with a function
6690         that exists identically in Emacs/XEmacs.
6692         * org-exp-blocks.el: Change calls to org-find-library-dir.
6694         * org.el: change calls to org-find-library-dir.  Make require for
6695         noutline fail silently because it is missing from XEmacs.
6697         * org.el (org-version): Use functions instead of global variables
6698         to get the version strings and remove the defvaralias to
6699         org-version.  Warn when encountering a mixed installation (org and
6700         org-install.el should be found in the same directory).
6702         * org.el: Add with-no-warning to defvar for two unprefixed global
6703         variables from calendar.el (there's nothing else we can do inside
6704         org until it is fixed in calendar.el).
6706         * org.el: Require find-func and remove declare-function for
6707         find-library-name, otherwise autoloaded org-version doesn't show
6708         all info correctly.
6710         * org.el (org-version): Show the full path to org-install.el in
6711         the version string to avoid confusion if multiple installations
6712         exist or a previously loaded org-install.el has already defined a
6713         version string that is now out of date.
6715         * org.el (org-version): Remove determination of version
6716         information, show "N/A" if the information is not provided via
6717         org-install.el.
6719         * org.el (org-git-version): Placeholder for recording the Git
6720         version of org during install
6722         * org.el (org-version): Initialize local git-version with
6723         placeholder and fall through using it when org is not installed in
6724         a Git repository
6726 2012-09-30  Adam Spiers  <orgmode@adamspiers.org>  (tiny change)
6728         * org-html.el: Add hyperlink to http://orgmode.org/ from export
6729         footer.
6731         * org-clock.el (org-clock-modify-effort-estimate): Display a
6732         message when no clock is currently active.
6734 2012-09-30  Andrew Hyatt  <ahyatt@gmail.com>  (tiny change)
6736         * org-archive.el (org-archive-subtree): Allow archiving to a
6737         datetree.
6739         * org.el (org-archive-location): Ditto.
6741 2012-09-30  Bastien Guerry  <bzg@gnu.org>
6743         * ob-io.el: New file.
6745         * ob-scala.el: New file.
6747         * org.el (org-url-hexify-p, org-doi-server-url)
6748         (org-latex-preview-ltxpng-directory, org-custom-properties)
6749         (org-sparse-tree-default-date-type): Add :version "24.3".
6751         * org-agenda.el (org-agenda-sticky)
6752         (org-agenda-custom-commands-contexts): Ditto.
6754         * org-capture.el (org-capture-bookmark)
6755         (org-capture-templates-contexts) (org-capture-use-agenda-date):
6756         Ditto.
6758         * org-latex.el (org-export-latex-hyperref-options-format)
6759         (org-export-latex-link-with-unknown-path-format): Ditto.
6761         * org-id.el (org-id-link-to-org-use-id): Ditto.
6763         * org-datetree.el (org-datetree-add-timestamp): Ditto.
6765         * org.el (org-make-link-description-function): Enhance docstring.
6766         (org-insert-link): Fall back on interactive prompt when
6767         `org-make-link-description-function' fails.
6769         * org-agenda.el (org-todo-list): Fix redoing of todo agenda when
6770         `org-agenda-sticky' is non-nil.
6772         * org-agenda.el (org-agenda-quit): Delete last indirect buffer.
6773         (org-agenda-pre-follow-window-conf): New variable.
6774         (org-agenda-tree-to-indirect-buffer): Fix bug: don't split agenda
6775         window when there an indirect buffer is already displayed.
6777         * org-agenda.el (org-agenda-manipulate-query)
6778         (org-agenda-goto-date, org-agenda-goto-today)
6779         (org-agenda-find-same-or-today-or-agenda, )
6780         (org-agenda-later, org-agenda-change-time-span)
6781         (org-agenda-change-all-lines)
6782         (org-agenda-execute-calendar-command)
6783         (org-agenda-goto-calendar, org-agenda-convert-date): Make sure to
6784         get a property from (1- (point-max)), not (point-max)).
6786         * ob-dot.el (org-babel-execute:dot): Throw an error when there is
6787         no :file parameter.
6789         * org-table.el (org-table-eval-formula): Convert time-stamps to
6790         inactive time-stamp so that Calc can handle them correctly.
6792         * org-table.el (org-table-fix-formulas): Warn with a message when
6793         formulas have been updated.
6795         * org-publish.el (org-publish-cache-ctime-of-src): Delete the
6796         base-dir argument and use (file-name-directory file) to get the
6797         file's directory.
6798         (org-publish-update-timestamp)
6799         (org-publish-cache-file-needs-publishing):
6800         Call `org-publish-cache-ctime-of-src' with only one argument.
6802         * org.el (org-follow-timestamp-link): Fix bug when using sticky
6803         agenda.  Add a docstring.
6805         * org-agenda.el (org-agenda-sticky): Don't use a function to set.
6806         Add a :version string.
6808         * org.el (org-priority): Use a new argument to show priority
6809         instead of setting it.
6810         (org-show-priority): New function to show priority both in normal
6811         Org buffers and in Org Agenda buffers.
6812         (org-speed-commands-default): Use "," as a speed command for
6813         setting priority.
6815         * org-agenda.el (org-agenda-mode-map): Bind `org-agenda-priority'
6816         to `C-c ,' as it was before.
6817         (org-agenda-show-priority): Delete.
6818         (org-agenda-priority): Use a new argument to show priority instead
6819         of setting it.
6821         * org.el (org-font-lock-hook, org-set-font-lock-defaults): Add a
6822         docstring.
6823         (org-display-inline-remove-overlay): Rename from
6824         `org-display-inline-modification-hook'.
6825         (org-speed-command-activate): Rename from
6826         `org-speed-command-default-hook'.
6827         (org-babel-speed-command-hook): Rename from
6828         `org-babel-speed-command-activate'.
6830         * org-agenda.el (org-agenda-update-agenda-type): Rename from
6831         `org-agenda-post-command-hook'.
6832         (org-agenda-mode): Use the new name.
6833         (org-agenda-post-command-hook): Define as obsolete function.
6835         * org-lparse.el (org-lparse): Temporarily activate the hooks
6836         needed for the ODT conversion.
6837         (org-lparse-preprocess-after-blockquote): Rename from
6838         `org-lparse-preprocess-after-blockquote-hook'.
6839         (org-lparse-strip-experimental-blocks-maybe): Rename from
6840         `org-lparse-strip-experimental-blocks-maybe'.
6841         (org-lparse-preprocess-after-blockquote-hook)
6842         (org-lparse-strip-experimental-blocks-maybe-hook): Define as
6843         obsolete functions.
6845         * ob.el (org-babel-insert-result): Comma-escape results inserted
6846         with ":results org".
6848         * org-src.el (org-edit-src-code, org-edit-src-exit): Fix bug about
6849         saving the source editing window with the default value for
6850         `org-src-window-setup' (i.e. 'reorganize-frame).
6852         * org-src.el (org-src-font-lock-fontify-block): Fix bug: don't
6853         fontify the last character.
6855         * org.el (org-open-at-point): Don't follow timestamp within
6856         bracket links.
6858         * org-capture.el (org-capture-templates): Fix typo in docstring.
6860         * org-agenda.el (org-agenda-skip): Skip information retrieved from
6861         a source block.
6863         * ob.el (org-babel-common-header-args-w-values)
6864         (org-babel-insert-result): Reintroduce ":results org" but using
6865         "#+BEGIN_SRC org", not "#+BEGIN_ORG".
6867         * ob.el (org-babel-common-header-args-w-values): Remove "org" the
6868         list of predefined values for the ":results" parameter.
6870         * ob.el (org-babel-insert-result): Remove support for ":results
6871         org".
6873         * ob.el (org-babel-common-header-args-w-values)
6874         (org-babel-insert-result): Deprecate ":results wrap" in favor of
6875         ":results drawer".
6877         * org-crypt.el (org-at-encrypted-entry-p): Fix bug when the check
6878         happens before the first headline.
6880         * org-capture.el (org-at-encrypted-entry-p)
6881         (org-encrypt-entry, org-decrypt-entry): Declare.
6882         (org-capture-set-target-location): Check whether `org-crypt' has
6883         been loaded.
6885         * org-agenda.el (org-agenda-todo-custom-ignore-p): Fix typo in
6886         docstring.
6888         * org-capture.el (org-capture-finalize): Maybe re-encrypt the
6889         target headline if it was decrypted.
6890         (org-capture-set-target-location): Maybe decrypt the target
6891         headline.
6893         * org-crypt.el (org-at-encrypted-entry-p): New function.
6895         * org.el (org-options-keywords): Add "STYLE:".
6897         * org-agenda.el (org-agenda-ndays): Don't make an alias, as
6898         `org-agenda-span' is defined separately.
6900         * org.el (org-in-subtree-not-table-p): New utility function for
6901         building the menu.
6902         (org-org-menu): Add an item for refiling.  Check more contexts
6903         when activating items.
6904         (org-tree-to-indirect-buffer): Use `org-up-heading-safe'.
6906         * org-agenda.el (org-agenda-tree-to-indirect-buffer)
6907         (org-agenda-do-tree-to-indirect-buffer): Use argument `arg'.
6909         * org-capture.el (org-capture-set-target-location): Set a correct
6910         time value when storing a note in a datetree and prompting the
6911         user for a date.
6913         * org-capture.el (org-capture-mode): Fix bug: don't run the mode's
6914         hook twice.
6916         * org-agenda.el (org-agenda-menu-two-column)
6917         (org-finalize-agenda-hook, org-agenda-ndays):
6918         Use `define-obsolete-variable-alias' instead of
6919         `make-obsolete-variable'.
6921         * org.el (org-link-to-org-use-id): Move to org-id.el.
6923         * org-id.el (org-id-link-to-org-use-id): Rename from
6924         `org-link-to-org-use-id'.  Use `nil' as the default value.
6925         (org-link-to-org-use-id): Alias and define as obsolete.
6927         * org-agenda.el (org-search-view, org-agenda-get-todos)
6928         (org-agenda-get-timestamps, org-agenda-get-blocks): Use the dotime
6929         parameter of `org-agenda-format-item' so that 'time-up and
6930         'time-down agenda sorting strategies are handled correctly.
6932         * org-capture.el (org-capture-fill-template): Fix checking of
6933         protected template entries.
6935         * org.el (org-cycle-global-at-bob): Fix typo in docstring.
6937         * org.el (org-insert-drawer): Deactivate the mark before trying to
6938         indent the :END: of the drawer.
6940         * org-agenda.el (org-agenda-export-html-style): Default to nil as
6941         any string value will replace the htmlize style.
6943         * org.el (org-cycle-hook): Fix tiny typo in docstring.
6945         * org.el (org-time-string-to-time)
6946         (org-time-string-to-seconds, org-end-of-subtree): Add a dosctring.
6948         * org-freemind.el (org-freemind-write-node): Enhance links
6949         conversion in nodes.
6951         * org-freemind.el (org-freemind-write-node): Convert links in
6952         nodes.
6954         * org.el (org-link-to-org-use-id, org-directory)
6955         (org-default-notes-file, org-reverse-note-order)
6956         (org-extend-today-until, org-finish-function)
6957         (org-store-link-functions): Use "capture" instead of "remember" in
6958         docstrings.  Also use the `org-capture' group when it makes sense.
6960         * org-agenda.el (org-agenda-tree-to-indirect-buffer): Find the
6961         correct agenda buffer.  Don't split the agenda window when the
6962         indirect buffer is displayed in another frame.
6964         * org.el (org-mode): Try to set the org-hide face correctly.
6966         * org-exp.el (org-export): Set the mark correctly when exporting a
6967         subtree.
6969         * org-agenda.el (org-agenda-get-restriction-and-command): Fix the
6970         display of the number of commands for block agendas.
6972         * org-agenda.el (org-agenda-before-write-hook)
6973         (org-agenda-add-entry-text-maxlines): Enhance phrasing.
6974         (org-agenda-finalize-hook, org-agenda-mode-hook): Tell that the
6975         buffer is writable when the hook is called.
6976         (org-agenda-finalize): Allow org-agenda-finalize-hook to modify
6977         the buffer.
6979         * org-agenda.el (org-habit-show-all-today): Only use defvar to
6980         silent the byte-compiler.
6981         (org-agenda-get-scheduled): Check whether some org-habit.el
6982         options have been defined.
6984         * org-capture.el (org-capture-entry): New variable.
6985         (org-capture-string, org-capture): Use it to possibly skip the
6986         interactive prompt for a capture template.
6988         * org.el (org-activate-plain-links): Don't try to check if we are
6989         in a bracket link already.
6991         * org.el (org-read-date-analyze): Fix bug introduced in commit
6992         cc5f9f: adding a time should not prevent relative answers to be
6993         parsed correctly.
6995         * org-agenda.el (org-agenda-bulk-action): Always read the date
6996         through `org-read-date'.  When possible, use the date at point as
6997         the default date.
6999         * org-agenda.el (org-agenda-bulk-action): Fix bug when
7000         bulk-shifting timestamps.
7002         * org.el (org-version): New constant.
7004         * org-compat.el (org-random): New compatibility function.
7006         * org-id.el (org-id-uuid): Use it.
7008         * org-capture.el (org-capture-use-agenda-date): New option.
7009         (org-capture): Use it.
7011         * org-agenda.el (org-agenda-capture): New command.
7012         (org-agenda-mode-map): Bind it to `k'.
7013         (org-agenda-menu): Add it to the menu.
7015         * org-capture.el (org-capture): Update docstring.
7017         * org-capture.el (org-capture): When called from an agenda buffer,
7018         use the cursor date at the default date.
7020         * org-agenda.el (org-agenda-bulk-action): Use the let-bound
7021         `entries' instead the variable.
7023         * org-agenda.el (org-agenda-bulk-action): Fix bug: don't remove
7024         persistent marks too early.
7026         * org-agenda.el (org-agenda-bulk-action): Possibly use the day at
7027         point to reset the scheduled or deadline cookie.  On date headers,
7028         use it without prompting the user.  On an item, use the item's
7029         date as the default prompt for `org-read-date'.
7031         * org.el (org-read-date): Docstring fix.
7033         * org-agenda.el (org-agenda-bulk-action): Reorder possible actions
7034         in the message.
7036         * org-agenda.el (org-agenda-action, org-agenda-do-action): Delete.
7037         (org-agenda-mode-map): Delete related keys.
7039         * org-agenda.el (org-agenda-menu): Fix a keybinding.
7041         * org-colview.el (org-columns-goto-top-level): Correctly move the
7042         marker `org-columns-top-level-marker'.
7043         (org-agenda-columns): Don't set
7044         `org-agenda-overriding-columns-format' as a buffer variable, as we
7045         only need it dynamically.
7046         (org-agenda-colview-summarize): Fix a bug in returning the match
7047         string.
7049         * org-agenda.el (org-agenda-span-to-ndays): Make the second
7050         argument `starting-day' optional.
7051         (org-agenda-goto-date): Keep parameters of custom agendas.
7053         * org-agenda.el (org-agenda-list): Allow setting the agenda buffer
7054         name through a temporary variable.
7055         (org-agenda-buffer-tmp-name): New variable to temporary store the
7056         agenda buffer name.
7058         * org-agenda.el (org-agenda-goto-date): Fix behavior when using
7059         sticky agendas.
7061         * org-agenda.el (org-diary): Don't check whether there is an
7062         agenda buffer when trying to compile the prefix format.
7063         (org-compile-prefix-format): Check if there is an agenda buffer.
7064         If not, use the current buffer.
7066         * org-agenda.el (org-agenda-get-day-entries): Set the agenda
7067         buffer inconditionnally.
7069         * ob.el (org-babel-named-src-block-regexp-for-name): Generate a
7070         more general regexp.
7072         * ob.el (org-babel-where-is-src-block-head): Find a src block head
7073         correctly when #+header(s) is before #+name.
7075         * org-agenda.el (org-agenda-finalize-hook)
7076         (org-agenda-finalize, org-agenda-finalize-entries): Rename from
7077         org-finalize-agenda-*.
7078         (org-agenda-run-series, org-agenda-finalize, org-timeline)
7079         (org-agenda-list, org-search-view, org-todo-list)
7080         (org-tags-view, org-diary, org-agenda-finalize-entries)
7081         (org-agenda-change-all-lines): Use the new names.
7083         * org-agenda.el (org-agenda-local-vars):
7084         Remove ̀org-agenda-last-arguments' from the list of local variables.
7085         (org-agenda-mode-map): `g' does the same than `r' in buffers with
7086         only one agenda view, but its behavior differs when there are
7087         several views.  In manually appended agendas (with `A'), `g'
7088         displays only the agenda under the point.  With multiple agenda
7089         blocks, `g' reinitializes the view by discarding any temporary
7090         changes (e.g. with ̀f' or `w'), while ̀r' keeps those temporary
7091         changes for the agenda view under the point.
7092         (org-agenda-run-series, org-agenda-redo): Implement the above
7093         changes.
7094         (org-agenda-mark-header-line): Don't set useless properties.
7095         (org-agenda-list, org-todo-only, org-search-view)
7096         (org-todo-list, org-tags-view, org-agenda-list-stuck-projects)
7097         (org-agenda-manipulate-query, org-agenda-goto-today)
7098         (org-agenda-later, org-agenda-change-time-span): Use text
7099         properties for storing the last command and the last arguments for
7100         each agenda block.
7101         (org-unhighlight-once): Delete.
7103         * org-agenda.el (org-agenda-append-agenda): Fit agenda window to
7104         buffer.
7106         * org-agenda.el (org-agenda-append-agenda): Bugfix: correctly
7107         check whether we are in org-agenda-mode.
7109         * org-agenda.el (org-agenda-pre-window-conf): Rename from
7110         `org-pre-agenda-window-conf'.
7111         (org-agenda-local-vars, org-agenda-prepare-window)
7112         (org-agenda-Quit, org-agenda-quit): Use the new name.
7114         * org-agenda.el (org-keys, org-match): New variable, dynamically
7115         scoped in `org-agenda'.
7116         (org-agenda, org-agenda-list, org-search-view, org-todo-list)
7117         (org-tags-view): Use the new variables.
7118         (org-batch-store-agenda-views): Let-bind `match'.
7120         * org-agenda.el (org-search-view, org-todo-list)
7121         (org-tags-view): Do not let `org-agenda-sticky' prevent the use of
7122         these functions programmatically.  Also use the sticky agenda
7123         function correctly.
7125         * org-agenda.el (org-agenda): Set `org-agenda-buffer-name'
7126         correctly with sticky agendas and non-custom commands.
7128         * org-agenda.el (org-agenda-fit-window-to-buffer): Rename from
7129         `org-fit-agenda-window'.
7130         (org-agenda-run-series, org-agenda-prepare, org-agenda-list)
7131         (org-search-view, org-todo-list, org-tags-view): Use the new name.
7133         * org-agenda.el (org-agenda-prepare): Let `throw' display an
7134         error.
7136         * org-agenda.el (org-agenda-list): Fix bug: don't throw an error
7137         when called from programs as (org-agenda-list).
7139         * org-agenda.el (org-todo-list): Make arg optional.
7141         * org.el (org-agenda-prepare-buffers): Rename from
7142         `org-prepare-agenda-buffers'.
7143         (org-match-sparse-tree, org-map-entries): Use the new names.
7145         * org-agenda.el (org-agenda-prepare-window): Rename from
7146         `org-prepare-agenda-window'.
7147         (org-agenda-prepare): Rename from `org-prepare-agenda'.
7148         (org-agenda-run-series, org-agenda-prepare, org-timeline)
7149         (org-agenda-list, org-search-view, org-todo-list)
7150         (org-tags-view, org-agenda-list-stuck-projects, org-diary)
7151         (org-agenda-to-appt): Use the new names.
7153         * org-mobile.el (org-mobile-create-index-file): Ditto.
7155         * org-icalendar.el (org-export-icalendar): Ditto.
7157         * org-clock.el (org-dblock-write:clocktable)
7158         (org-dblock-write:clocktable): Ditto.
7160         * org2rem.el (org2rem): Ditto.
7162         * org-agenda.el (org-agenda): In sticky agendas, use the current
7163         command's match to set the buffer name.  This gives more
7164         information to the user and allows to distinguish various agendas
7165         triggered by the same key.
7166         (org-batch-store-agenda-views): Handle the new sticky agenda
7167         buffer name.
7169         * org-agenda.el (org-agenda)
7170         (org-agenda-get-restriction-and-command): Use `S' as a key for
7171         searching words in TODO-only entries.
7173         * org-agenda.el (org-prepare-agenda): Fit agenda window when
7174         displaying a sticky agenda.
7176         * org-table.el (org-table-number-regexp): Allow the user to set it
7177         to a new regexp, which allows commas as decimal mark.  The default
7178         is to not use this setting, but the one before commit 7ff8c1,
7179         which has ben reverted.
7181         * org-agenda.el (org-agenda-overriding-cmd)
7182         (org-agenda-multi-current-cmd)
7183         (org-agenda-multi-overriding-arguments): New variables.
7184         (org-agenda-run-series): `org-agenda-overriding-arguments'
7185         defaults to the last agenda block arguments, so don't use it
7186         globally.
7187         (org-agenda-mark-header-line): Add properties needed so that
7188         `org-agenda-overriding-arguments', `org-agenda-current-span' and
7189         `org-agenda-last-arguments' can be set to their correct contextual
7190         value.
7191         (org-agenda-multi-back-to-pos): New variable.
7192         (org-agenda-later): Retrieve `org-agenda-current-span' and
7193         `org-agenda-overriding-arguments' from text properties.
7194         Also handle numeric span.
7195         (org-agenda-later, org-agenda-change-time-span):
7196         Set `org-agenda-overriding-cmd' so that we to take overriding
7197         arguments into account for this command only.
7199         * org-agenda.el (org-agenda-kill, org-agenda-archive-with):
7200         Fix bug when called with a non-nil value of `org-agenda-stick'.
7202         * org-agenda.el (org-agenda-refile): Fix bug when refiling an
7203         entry from a sticky agenda.
7205         * org-agenda.el (org-prepare-agenda-window):
7206         Use `org-pre-agenda-window-conf' if already set.
7207         (org-agenda-Quit): Set `org-pre-agenda-window-conf' to nil when
7208         quitting.
7209         (org-agenda-quit): Ditto.
7211         * org-capture.el (org-capture-fill-template): Protect the text
7212         used for replacement from being further replaced.
7214         * org.el (org-contextualize-validate-key): Fix the check against a
7215         function.
7217         * org.el (org-contextualize-keys): Rename from
7218         `org-contextualize-agenda-or-capture'.  Fix normalization to
7219         handle empty key replacement string.
7220         (org-contextualize-validate-key): Rename from
7221         `org-contexts-validate'.  Allow checking against a custom
7222         function.
7224         * org-agenda.el (org-agenda-custom-commands-contexts): Update.
7225         (org-agenda): Use `org-contextualize-keys'.
7227         * org-capture.el (org-capture-templates-contexts): Ditto.
7229         * org.el (org-contextualize-agenda-or-capture):
7230         Normalize contexts.
7232         * org.el (org-contextualize-agenda-or-capture): Handle key
7233         replacement depending on the contexts.
7235         * org-capture.el (org-capture-templates-contexts): Allow to use
7236         the context as a way to replace one capture template by another
7237         one.
7239         * org-agenda.el (org-agenda-custom-commands-contexts): Allow to
7240         use the context as a way to replace one agenda custom command by
7241         another one.
7243         * org.el (org-contextualize-agenda-or-capture)
7244         (org-rule-validate): New functions, implement context filtering
7245         for agenda commands and capture templates.
7247         * org-agenda.el (org-agenda-custom-commands-contexts): New option.
7248         (org-agenda): Use it.
7250         * org-capture.el (org-capture-templates-contexts): New option.
7251         (org-capture-select-template): Use it.
7253         * org.el (org-beginning-of-defun, org-end-of-defun): Delete.
7254         (org-mode): Set `beginning-of-defun-function' and
7255         `end-of-defun-function' directly.
7257         * org.el (org-insert-link): Fix bug: include links abbreviations
7258         when completing.
7260         * org-icalendar.el (org-icalendar-print-entries): Fix bug: when
7261         `org-icalendar-use-plain-timestamp' is nil, scheduled and deadline
7262         items should not be ignored.
7264         * org.el (org-ds-keyword-length, org-make-tags-matcher):
7265         Docstring clean-up.
7267         * org-freemind.el (org-freemind-convert-links-from-org): Replace
7268         literally to prevent errors when replacing with string containing
7269         backslashes.
7271         * org-pcomplete.el (org-thing-at-point): Allow to match (and then
7272         complete) a "thing" containing dashes.
7274         * org-table.el (org-table-toggle-coordinate-overlays):
7275         Better message when interactively toggling.
7277         * org-table.el (org-table-number-regexp): Update the docstring to
7278         show an example of a decimal number using the comma as a
7279         separation mark.
7281         * org-agenda.el (org-prepare-agenda): Minor code clean-up.
7282         (org-agenda-filter-by-category): Filtering must be turned off only
7283         when a category filter has been set and this filter is not empty.
7285         * org-agenda.el (org-search-view, org-agenda-get-todos)
7286         (org-agenda-get-timestamps, org-agenda-get-sexps)
7287         (org-agenda-get-progress, org-agenda-get-deadlines)
7288         (org-agenda-get-scheduled, org-agenda-get-blocks):
7289         Use `category-pos' instead of `org-category-pos'.
7291         * ob-fortran.el (org-babel-fortran-transform-list): Rename from
7292         `ob-fortran-transform-list'.
7293         (org-babel-fortran-var-to-fortran): Use the new function's name.
7295         * ob-calc.el (org-babel-calc-maybe-resolve-var): Rename from
7296         `ob-calc-maybe-resolve-var'.
7297         (org-babel-execute:calc): Use the new function's name.
7299         * org-jsinfo.el (org-infojs-template): Add a license.
7300         (org-infojs-handle-options): Replace all template elements.
7302         * org-html.el (org-export-html-scripts): Add a license.
7303         (org-export-html-mathjax-config): Replace all template elements.
7304         (org-export-html-mathjax-template): Add a license.
7305         (org-export-as-html): Minor code clean-up.
7307         * org.el (org-options-keywords): Add "#+MATHJAX" and
7308         "#+INFOJS_OPT" to the list of keywords for completion.
7310         * org.el (org-src-prevent-auto-filling): Remove unused and useless
7311         option.
7313         * org.el (org-element-at-point): Autoload.
7314         (org-element-up): Remove useless declaration.
7315         (org-fill-context-prefix, org-fill-paragraph)
7316         (org-mark-element, org-narrow-to-element)
7317         (org-transpose-element, org-unindent-buffer): Do not require
7318         org-element.
7320         * org.el (org-fill-paragraph): Require org-element.
7322         * org-agenda.el (org-agenda-persistent-marks): Minor docstring
7323         enhancement.
7325         * org.el (org-create-math-formula): Use the compatibility function
7326         `org-region-active-p'.
7328         * org-odt.el (org-export-as-odf): Ditto.
7330         * ob.el (org-babel-demarcate-block): Ditto.
7332         * org.el (org-mark-subtree): Maybe call `org-mark-element'
7333         interactively.
7334         (org-mark-element): Only mark further elements when called
7335         interactively.
7337         * org.el (org-mark-element, org-narrow-to-element)
7338         (org-transpose-element): Require org-element.
7340         * org-agenda.el (org-agenda-get-timestamps)
7341         (org-agenda-get-sexps, org-agenda-get-deadlines)
7342         (org-agenda-get-scheduled): Add the 'warntime as a text property,
7343         getting its value from the APPT_WARNTIME property.
7344         (org-agenda-to-appt): Use the 'warntime text property.
7346         * org-capture.el (org-capture-place-table-line): Fix bug.
7348         * org.el (org-activate-plain-links): Don't activate a plain link
7349         when it is part of a bracketed link, unless bracketed links are
7350         not enlisted in `org-activate-links'.
7351         (org-open-at-point): Don't consider the text immediately after a
7352         bracketed link is part of a plain link.
7354         * org.el (org-compute-latex-and-specials-regexp)
7355         (org-paste-subtree, org-sort-entries, org-store-link)
7356         (org-open-at-point, org-file-remote-p, org-add-log-setup)
7357         (org-set-tags-to, org-fast-tag-selection)
7358         (org-diary-sexp-entry): Ditto.
7360         * org-agenda.el (org-agenda-get-blocks, org-cmp-priority)
7361         (org-cmp-effort, org-cmp-todo-state, org-cmp-alpha)
7362         (org-cmp-tag, org-cmp-time): Remove useless (t nil) sexps at the
7363         end of (cond ...) constructs.
7365         * org-mobile.el (org-mobile-create-index-file): Ditto.
7367         * org-lparse.el (org-lparse-format-table-row): Ditto.
7369         * org-list.el (org-sort-list): Ditto.
7371         * org-id.el (org-id-get): Ditto.
7373         * org-html.el (org-export-html-preprocess): Ditto.
7375         * org-exp.el (org-default-export-plist)
7376         (org-table-clean-before-export): Ditto.
7378         * org.el (org-options-keywords): Add "TODO".
7379         (org-make-options-regexp): Make the hashtag mandatory for options
7380         and don't allow whitespaces between the hashtag and the plus sign.
7382         * org.el (org-refresh-category-properties)
7383         (org-find-dblock, org-dblock-start-re, org-dblock-end-re):
7384         Allow lowercase "#+category" and "#+begin:" dynamic blocks.
7386         * org.el (org-context): Use case-folding when trying to match
7387         clocktables and source blocks contexts.
7389         * org-clock.el (org-clock-put-overlay): Put the overlay on the
7390         whole headline, not only on the last character.  This fixes a bug
7391         with overlays on headlines ending with a bracketed link.
7393         * org-html.el (org-export-as-html): Make sure we always process a
7394         string.
7396         * org-exp.el (org-export-cleanup-toc-line): Always return a
7397         string.
7399         * org.el (org-fontify-meta-lines-and-blocks-1): Correctly handle
7400         metalines with #+results[...]:.
7402         * org-exp.el (org-export-handle-metalines): Rename from
7403         `org-export-handle-table-metalines'.  Now also handle source block
7404         metalines.
7405         (org-export-res/src-name-cleanup): Delete.
7406         (org-export-preprocess-string): Use `org-export-handle-metalines'.
7407         Don't use `org-export-res/src-name-cleanup' anymore.
7409         * org-html.el (org-format-org-table-html): Don't include the
7410         caption tag for empty captions in HTML export.  Keep it in the
7411         DocBook export so that it produces valid DocBook XML.
7413         * org.el (org-read-date-analyze): Allow both "8am Wed" and "Wed
7414         8am" to be parsed correctly with respect to possible values of
7415         `org-read-date-prefer-future'.
7416         (org-read-date-prefer-future): Update docstring to remove the
7417         restriction about inserting only the time.  The user can now
7418         insert the time and the day.
7420         * org-icalendar.el (org-icalendar-print-entries): Rename from
7421         `org-print-icalendar-entries'.
7422         (org-icalendar-start-file): Rename from
7423         `org-start-icalendar-file'.
7424         (org-icalendar-finish-file): Rename from
7425         `org-finish-icalendar-file'.
7426         (org-icalendar-ts-to-string): Rename from `org-ical-ts-to-string'.
7427         (org-export-icalendar): Use the correct functions.
7429         * ob-ref.el (org-babel-ref-index-list): Fix bug introduced by
7430         commit e85479.
7432         * org.el (org-fill-context-prefix): Require org-element.
7433         (org-timestamp-change): Fix bug by saving excursion when adjusting
7434         another clock.
7436         * org.el (org-read-date-prefer-future): Fix docstring formatting.
7437         (org-read-date-analyze): Fix the interpretation of
7438         `org-read-date-prefer-future'.
7440         * org-agenda.el (org-agenda-menu-two-column): Rename to
7441         `org-agenda-menu-two-columns'.
7443         * ob.el (org-babel-sha1-hash, org-babel-noweb-p):
7444         Replace `org-labels' by `let*'.
7446         * org-bibtex.el (org-bibtex-headline): Ditto.
7448         * org-compat.el: Delete `org-labels'.
7450         * ob.el (org-babel-get-src-block-info)
7451         (org-babel-check-src-block, org-babel-current-result-hash)
7452         (org-babel-parse-src-block-match, org-babel-read-link)
7453         (org-babel-insert-result, org-babel-clean-text-properties):
7454         Use ̀org-no-properties' instead of `org-babel-clean-text-properties'.
7455         (org-babel-clean-text-properties): Delete redundant function
7456         `org-babel-clean-text-properties'.
7458         * ob-tangle.el (org-babel-tangle-collect-blocks)
7459         (org-babel-tangle-comment-links): Ditto.
7461         * ob-table.el (sbe): Ditto.
7463         * ob-lob.el (org-babel-lob-get-info)
7464         (org-babel-lob-execute): Ditto.
7466         * ob-exp.el (org-babel-exp-non-block-elements): Ditto.
7468         * org-macs.el (org-no-properties): Allow a new parameter
7469         `restricted' to restrict the properties removal to those in
7470         `org-rm-props'.  The default is now to remove all properties.
7472         * org-compat.el (org-substring-no-properties): Remove unused
7473         defun.
7475         * org-remember.el (org-remember-apply-template): Remove redundant
7476         removal of text properties.
7477         (org-remember-apply-template): Use `org-no-properties'.
7479         * org-capture.el (org-capture-fill-template): Remove redundant
7480         removal of text properties.
7481         (org-capture-fill-template): Use `org-no-properties'.
7483         * org-gnus.el (org-gnus-open, org-gnus-follow-link):
7484         Use `org-no-properties'.
7486         * org-colview.el (org-columns-display-here): Ditto.
7488         * org-table.el (org-table-eval-formula): Ditto.
7490         * org.el (org-entry-properties): Ditto.
7492         * org-icalendar.el (org-print-icalendar-entries): Fix bug about
7493         handling `alarm-time'.
7495         * ob-R.el (org-babel-edit-prep:R): Don't set the session.
7497         * org.el (org-store-log-note): Only skip comments starting with "#
7498         " when storing a note.
7500         * org.el (org-custom-properties): New option.
7501         (org-custom-properties-overlays): New variable.
7502         (org-toggle-custom-properties-visibility): New command to toggle
7503         the visibility of custom properties.
7504         (org-check-before-invisible-edit): Also prevent errors when trying
7505         to edit invisible properties.
7507         * org-datetree.el (org-datetree-add-timestamp): New option.
7508         (org-datetree-insert-line): Use it.
7510         * org.el (org-fill-template): Fix bug when filling template for a
7511         key associated to the nil value.
7513         * org-agenda.el (org-diary): Fix tiny typo.
7515         * org.el (message-in-body-p): Move declaration up to fix compiler
7516         warning.
7518         * org.el (org-fill-context-prefix): Fix auto-filling in
7519         `message-mode'.
7521         * org.el (org-fill-paragraph): Correctly fill paragraph in
7522         message-mode.
7523         (org-indent-line): Correctly indent according to mode when
7524         `orgstruct++-mode' is on.
7525         (orgstruct++-mode): Add `fill-prefix' to the variable temporarily
7526         stored in `org-fb-vars'.
7528         * org.el (org-fill-paragraph): Make a command.  Fix bug about
7529         filling message headers and citations.
7531         * org.el (org-redisplay-inline-images): New command.
7532         (org-mode-map): Bind it to C-c C-x C-M-v.
7534         * org-colview.el (org-columns-get-format-and-top-level): Fix bug.
7535         (org-columns-get-format): Fix compiler warning.
7537         * org-feed.el: Add declarations.
7539         * org-agenda.el (org-agenda-get-sexps): Use `org-get-tags-at' to
7540         allow tag inheritance.
7542         * org-capture.el (org-capture): Fix bug introduced by commit
7543         1737d3.
7545         * org-publish.el (org-publish-needed-p)
7546         (org-publish-update-timestamp, org-publish-file)
7547         (org-publish-cache-file-needs-publishing): New argument
7548         `base-dir'.
7549         (org-publish-cache-ctime-of-src): Use the new argument to make
7550         sure we find the file according to :base-directory.
7552         * org-capture.el (org-capture-string): New command to prompt for
7553         the interactive text interactively.  This can also be used in
7554         Elisp programs to use ̀org-capture' with some initial text.
7555         (org-capture-initial): New variable to store the initial text.
7556         (org-capture): Use `org-capture-initial'.
7558         * org.el (org-emph-re): Tiny docstring formatting fix.
7560         * org-compat.el (org-labels): Remove.
7562         * org-bibtex.el (org-bibtex-headline): Don't use `org-labels'.
7564         * ob.el (org-babel-sha1-hash, org-babel-noweb-p): Ditto.
7566         * org.el (org-emph-re): Tiny formatting fix.
7568         * org.el (orgstruct-setup): Require `org-element'.
7570         * org.el (org-store-link, org-open-at-point): New link type
7571         "help".
7573         * org-compat.el (org-flet): Remove alias.
7575         * ob.el (org-babel-edit-distance, org-babel-sha1-hash)
7576         (org-babel-get-rownames, org-babel-insert-result)
7577         (org-babel-merge-params)
7578         (org-babel-expand-noweb-references): Don't use `org-flet'.
7579         Also indent some functions correctly.
7581         * ob.el (org-babel-execute-src-block)
7582         (org-babel-join-splits-near-ch, org-babel-format-result)
7583         (org-babel-examplize-region): Don't use `org-flet'.
7584         (org-babel-tramp-handle-call-process-region): Fix typo.
7586         * ob-awk.el (org-babel-awk-var-to-awk): Don't use `org-flet'.
7588         * ob-sh.el (org-babel-sh-var-to-string): Ditto.
7590         * ob-tangle.el (org-babel-tangle, org-babel-spec-to-string):
7591         Don't use `org-flet'.
7593         * org-pcomplete.el (org-compat): Require.
7595         * ob-tangle.el (org-babel-load-file): Don't use `org-flet'.
7597         * org-bibtex.el (org-bibtex-write): Use let*.
7599         * org-plot.el (org-plot/gnuplot-script): Don't use `org-flet'.
7601         * org-bibtex.el (org-bibtex-headline, org-bibtex-fleshout)
7602         (org-bibtex-read, org-bibtex-write): Don't use `org-flet'.
7604         * org-clock.el (org-clock-cancel): Use `org-looking-back'.
7606         * org-pcomplete.el (org-thing-at-point): Ditto.
7608         * org.el (org-timestamp-change): Ditto.
7610         * org-mouse.el (org-mouse-timestamp-today)
7611         (org-mouse-set-priority, org-mouse-popup-global-menu)
7612         (org-mouse-context-menu): Don't use ̀org-flet'.
7614         * org.el (org-priority): Fix docstring.
7616         * org-publish.el (org-publish-write-cache-file)
7617         (org-publish-initialize-cache)
7618         (org-publish-cache-file-needs-publishing)
7619         (org-publish-cache-get): Small code clean-up.
7621         * org-publish.el (org-publish-cache-ctime-of-src): Simplify.
7623         * org-agenda.el (org-agenda-get-sexps): Add a 'tags property for
7624         agenda entries created from sexps.
7626         * org-capture.el (org-capture-templates): Docstring clean up.
7627         (org-capture-place-entry, org-capture-place-item)
7628         (org-capture-place-plain-text, org-capture-place-table-line):
7629         Ensure to always position the point according to %?.
7631         * org-table.el (org-table-convert-refs-to-rc): Fix bug when
7632         converting remote table references.
7634         * org-agenda.el (org-agenda-switch-to): Run hooks in
7635         ̀org-agenda-after-show-hook'.
7637         * ob-ref.el (org-babel-ref-index-list): Use let* and rename the
7638         variable `length' to `lgth'.
7640         * org-plot.el (org-plot/gnuplot-to-grid-data): Don't use
7641         ̀org-flet'.
7643         * org-exp.el (org-export-format-source-code-or-example): Ditto.
7645         * org-exp-blocks.el (org-export-blocks-preprocess): Ditto.
7647         * ob.el (org-babel-view-src-block-info)
7648         (org-babel-execute-src-block, org-babel-edit-distance)
7649         (org-babel-switch-to-session-with-code)
7650         (org-babel-balanced-split, org-babel-insert-result): Ditto.
7652         * ob-ref.el (org-babel-ref-index-list): Ditto.
7654         * ob-python.el (org-babel-python-evaluate-session): Ditto.
7656         * ob-lob.el (org-babel-lob-get-info): Ditto.
7658         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Ditto.
7660         * ob-exp.el (org-babel-exp-do-export): Ditto.
7662         * org-table.el (orgtbl-to-generic): Fix docstring.
7664         * org-clock.el (org-clock-in): Call `org-clock-out' with the new
7665         argument `switch-to-state' set to nil.  Fix docstring.
7666         (org-clock-in-last): Prompt for a todo state to switch to when
7667         called with three universal prefix arguments.  Don't display a
7668         message when the clock is already running.  Update docstring.
7669         (org-clock-out): New argument `switch-to-state'.  When this
7670         argument is non-nil, prompt for a state to switch the clocked out
7671         task to, overriding `org-clock-out-switch-to-state'.
7673         * org.el (org-entry-get): Don't use `org-flet'.
7675         * org.el (org-forward-heading-same-level): Rename from
7676         `org-forward-same-level'.
7677         (org-backward-heading-same-level): Rename from
7678         `org-backward-same-level'.
7680         * org.el (org-forward-element): Rename from `org-element-forward'.
7681         (org-backward-element): Rename from `org-element-backward'.
7682         (org-up-element): Rename from `org-element-up'.
7683         (org-down-element): Rename from `org-element-down'.
7684         (org-drag-element-backward): Rename from
7685         `org-element-drag-backward'.
7686         (org-drag-element-forward): Rename from
7687         `org-element-drag-forward'.
7688         (org-mark-element): Rename from `org-element-mark-element'.
7689         (org-transpose-element): Rename from `org-element-transpose'.
7690         (org-unindent-buffer): Rename from `org-element-unindent-buffer'.
7691         (org-mode-map): Update the names of a commands.  Remove useless
7692         declarations.
7694         * org-element.el (org-element-forward, org-element-backward)
7695         (org-element-up, org-element-down)
7696         (org-element-drag-backward, org-element-drag-forward)
7697         (org-element-mark-element, org-narrow-to-element)
7698         (org-element-transpose, org-element-unindent-buffer): Move to
7699         org.el.
7701         * org.el (org-forward-same-level): Fix typo in docstring.
7703         * org-agenda.el (org-agenda-mode-map):
7704         Bind `org-agenda-show-priority' to `C-c,' instead of `P'.
7705         (org-agenda-next-item, org-agenda-previous-item): New commands to
7706         move by one item down/up in the agenda.
7707         (org-agenda-mode-map): Bind `org-agenda-next-item' and
7708         `org-agenda-previous-item' to `N' and `P' respectively.
7710         * org-rmail.el (org-rmail-store-link, org-rmail-follow-link):
7711         Toggle headers when necessary.
7713         * org-element.el (org-narrow-to-element): Autoload.
7715         * org.el (org-mode-map): Use `M-h' for `org-element-mark-element'.
7716         (org-mark-subtree): Allow a numeric prefix argument to move up
7717         into the hierarchy of headlines.
7719         * org-element.el (org-element-up, org-element-down): Autoload.
7721         * org.el: Declare functions and don't require org-element.
7723         * org-element.el (org-element-at-point, org-element-forward)
7724         (org-element-backward, org-element-drag-backward)
7725         (org-element-drag-forward, org-element-mark-element)
7726         (org-element-transpose, org-element-unindent-buffer): Autoload.
7727         Require 'org and remove all declarations.
7729         * org.el (org-outline-regexp-bol, org-heading-regexp):
7730         Use variables instead of constants.
7732         * org-archive.el (org-datetree-find-date-create): Declare.
7734         * org.el (org-open-at-point): Only set
7735         `clean-buffer-list-kill-buffer-names' when the feature 'midnight
7736         has been loaded.
7738         * org-icalendar.el (org-print-icalendar-entries):
7739         Let APPT_WARNTIME take precedence over ̀org-icalendar-alarm-time'.
7741         * org.el (org-special-properties): New special property
7742         CLOCKSUM_T.
7743         (org-entry-properties): Handle the new special property.
7745         * org-colview.el (org-columns): Handle a new special property
7746         CLOCKSUM_T.
7747         (org-agenda-colview-summarize, org-agenda-colview-compute): Ditto.
7749         * org-clock.el (org-clock-sum-today): New function.
7750         (org-clock-sum): New argument PROPNAME to set a custom text
7751         property instead of :org-clock-minutes.
7753         * org-agenda.el (org-agenda-check-type): Throw a more appropriate
7754         error message when no agenda is currently being displayed.
7756         * org.el (org-get-property-block): Find blocks before the first
7757         headline.
7758         (org-entry-properties): Minor code cleanup.
7759         (org-entry-get, org-entry-get-with-inheritance): Get property
7760         before the first headline.
7762         * org-mobile.el (org-mobile-create-index-file): Use `files-alist'.
7764         * org.el (org-make-link): Delete.
7765         (org-store-link, org-insert-link)
7766         (org-file-complete-link): Don't use `org-make-link'.
7768         * org-wl.el (org-wl-store-link-folder)
7769         (org-wl-store-link-message): Ditto.
7771         * org-vm.el (org-vm-store-link): Ditto.
7773         * org-rmail.el (org-rmail-store-link): Ditto.
7775         * org-mhe.el (org-mhe-store-link): Ditto.
7777         * org-mew.el (org-mew-store-link): Ditto.
7779         * org-irc.el (org-irc-erc-store-link): Ditto.
7781         * org-info.el (org-info-store-link): Ditto.
7783         * org-id.el (org-id-store-link): Ditto.
7785         * org-gnus.el (org-gnus-group-link, org-gnus-article-link): Ditto.
7787         * org-eshell.el (org-eshell-store-link): Ditto.
7789         * org-bbdb.el (org-bbdb-store-link): Ditto.
7791         * org.el (org-url-hexify-p): New option.  When non-nil (the
7792         default), hexify URLs when creating a link.
7794         * org.el (org-insert-link): Make sure point is at the beginning of
7795         the buffer.
7797         * org.el (clean-buffer-list-kill-buffer-names): Declare.
7798         (org-open-at-point): Allow opening multiple shell links by
7799         creating a new output buffer for each shell process.  The new
7800         buffer is added to `clean-buffer-list-kill-buffer-names'.
7802         * org-mobile.el (org-mobile-create-index-file):
7803         Use `org-global-tags-completion-table' instead of
7804         `org-tag-alist-for-agenda' to get the tags for the index file.
7806         * org.el (org-global-tags-completion-table): Fix typo in
7807         docstring.
7809         * org.el (org-link-to-org-use-id): Use `org-capture' instead of
7810         `org-remember' in the docstring.
7811         (org-link-fontify-links-to-this-file): New function to fontify
7812         links to the current buffer in `org-stored-links'.
7813         (org-store-link): Small code simplification.
7814         (org-link-prettify): Enclose literal links into <...> instead of
7815         [[...]].
7816         (org-insert-link): Use `org-link-fontify-links-to-this-file'.
7817         Also allow completion over links' descriptions, as well as links
7818         destinations.  When the user uses the description for completion,
7819         don't prompt again for a description.
7821         * org-capture.el (org-capture-templates): Fix docstring by adding
7822         Gnus to the list of mail clients.
7824         * org.el (org-log-repeat): Enhance docstring.
7826         * org.el (org-mode-map): Don't bind C-<up> and C-<down> to
7827         `org-element-backward/forward' as these functions stops when there
7828         is no element of the same type before/after point.  It is useful
7829         to navigate with `forward/backward-paragraph' with no stop in most
7830         cases.
7832         * org-capture.el (org-capture-templates): New template %l to
7833         insert the literal link pointing at the current buffer.
7835         * org.el (org-todo-keywords): Ditto.
7837         * org.el (org-fill-paragraph): Falls back on
7838         `message-fill-paragraph' if required in `message-mode'.
7840         * org-pcomplete.el (pcomplete/org-mode/file-option/x): New macro.
7841         (pcomplete/org-mode/file-option/options)
7842         (pcomplete/org-mode/file-option/title)
7843         (pcomplete/org-mode/file-option/author)
7844         (pcomplete/org-mode/file-option/email)
7845         (pcomplete/org-mode/file-option/date): Use the new macro to offer
7846         completion over default values for #+OPTIONS, #+TITLE, #+AUTHOR,
7847         #+EMAIL and #+DATE.
7849         * org-agenda.el (org-agenda-write): Fix bug when writing agenda to
7850         an external file while `org-agenda-sticky' is non-nil.
7852         * org.el (org-speed-commands-default): New speedy command to
7853         quickly add the :APPT_WARNTIME: property.
7855         * org-agenda.el (org-agenda-to-appt): Use the :APPT_WARNTIME:
7856         property to override `appt-message-warning-time' when adding an
7857         appointment from an entry.
7859         * org.el (org-version): Improve docstring.
7860         (org-self-insert-cluster-for-undo): The default value should be
7861         nil for Emacs >=24.1.  See bug#11774.
7863         * org.el (org-fontify-meta-lines-and-blocks-1): Fix previous
7864         commit.
7866         * org.el (org-options-keywords): New constant.
7867         (org-additional-option-like-keywords): Remove duplicates with
7868         keywords in the new constant.
7869         (org-additional-option-like-keywords-for-flyspell): Use the new
7870         constant.
7871         (org-mode-flyspell-verify): Exclude keywords from the new
7872         constant.
7874         * org-pcomplete.el (pcomplete/org-mode/file-option):
7875         Use `org-options-keywords'.
7877         * org.el (org-toggle-heading): Bugfix: use
7878         `org-element-mark-element' instead of `org-mark-list'.
7880         * org-list.el (org-mark-list): Delete.
7882         * org.el: Update a few keybindings.
7884         * org-element.el (org-element-down): Throw an error when the
7885         element has no content.
7887         * org-table.el (orgtbl-radio-table-templates): Add a template for
7888         org-mode.
7889         (orgtbl-to-orgtbl): Complete and align the table created with
7890         orgtbl-to-orgtbl, in case the user use the function for radio
7891         tables.
7892         (orgtbl-to-table.el): New function to export a table to another
7893         one using the table.el format.
7894         (orgtbl-to-unicode): New function to export a table using unicode
7895         characters.
7897         * org-exp.el (org-export-language-setup): Use "Sommaire" for the
7898         french translation of "Table of contents", to avoid a possible bug
7899         when exporting to ODT.
7901         * org.el (org-additional-option-like-keywords): Add keywords.
7902         (org-additional-option-like-keywords-for-flyspell): New constant
7903         to use with flyspell.
7904         (org-mode-flyspell-verify): Use the dedicated constant and don't
7905         check `org-startup-options'.
7907         * org-agenda.el (org-batch-store-agenda-views): Use the sticky
7908         agenda buffer name, if required.
7909         (org-agenda-write): New parameter `agenda-bufname' to allow
7910         setting the agenda buffer name.
7912         * org.el (org-mode-map): Add keybindings for
7913         `org-element-forward', `org-element-backward', `org-element-up'
7914         and `org-element-down'.
7916         * org.el (org-auto-fill-function): Don't call `do-auto-fill'
7917         within (org-let org-fb-vars ...) as `do-auto-fill' should do the
7918         right thing whether orgstruct++-mode is turned on or off.
7920         * org.el (org-sparse-tree-default-date-type): New option.
7921         (org-ts-type): New variable.
7922         (org-sparse-tree): New argument `type'.  Use the new option
7923         `org-sparse-tree-default-date-type' as the default value for
7924         `type'.  Fix docstring.
7925         (org-re-timestamp): New function.
7926         (org-check-before-date, org-check-after-date)
7927         (org-check-dates-range): Use `org-ts-type' and `org-re-timestamp'
7928         to tell compute the date regexp.
7930         * org.el (orgstruct++-mode, org-get-local-variables): Also set
7931         `normal-auto-fill-function' when turning on/off orgstruct++-mode.
7933         * org-agenda.el (org-agenda-start-with-log-mode): Add relevant
7934         customization types.
7936         * org-faces.el (org-document-title): Use the normal height.
7938         * org-clock.el (org-x11idle-exists-p): New variable.
7939         (org-user-idle-seconds): Use it.
7941         * org.el (org-mode-map): Rebind `org-insert-all-links' to `C-c
7942         C-M-l'.
7944         * org.el (org-insert-all-links): New command.
7945         (org-insert-link): `org-keep-stored-link-after-insertion' is now
7946         checked when the link to insert has been defined, regardless on
7947         how it has been defined.  Also don't read the description
7948         interactively when the `default-description' parameter was given.
7949         (org-mode-map): Bind `org-insert-all-links' to `C-c C-L'.
7951         * org.el (org-inc-effort): New command to increment the effort
7952         property.
7953         (org-set-effort): Use it.
7954         (org-mode-map): Bind it to `C-c C-x E'.
7955         (org-speed-commands-default): Use `E' as a speed command for it.
7957         * org.el (org-re-property-keyword): New function.
7958         (org-entry-put): Use it to fix a bug with respect to setting the
7959         value of a property when a property line with no value already
7960         exists.
7962         * org.el (org-timestamp-change): Adjust clock in other org files
7963         correctly.
7965         * org-clock.el (org-user-idle-seconds): Simplify.
7967         * org.el (org-mode-map): Bind `org-resolve-clocks' to `C-c C-x
7968         C-z'.
7970         * org.el (org-mode-map): Add keybindings to
7971         `org-element-transpose' and `org-narrow-to-element'.
7972         (org-metaup): Fall back on `org-element-drag-backward'.
7973         (org-metadown): Fall back on `org-element-drag-forward'.
7974         Also move chunks of declarations and require statements to get rid of
7975         compiler warnings.
7977         * org-exp-blocks.el (org): Don't require org.  Add declarations.
7979         * org-clock.el (org): Don't require org.
7981         * ob-exp.el (org-list-forbidden-blocks): Add declarations.
7983         * org.el (org-timestamp-change): Don't use the `position'.
7985         * org.el (org-clock-history, org-clock-adjust-closest):
7986         New variables.
7987         (org-timestamp-change): Maybe adjust the next or previous clock in
7988         `org-clock-history'.
7989         (org-shiftmetaup, org-shiftmetadown): On clock logs, update the
7990         timestamp at point and adjust the next or previous clock in
7991         `org-clock-history', when possible.
7993         * org-clock.el (org-clock-in): Set the marker for
7994         `org-clock-history' at a safer position.
7996         * org-timer.el (org-timer-pause-or-continue, org-timer-stop):
7997         Autoload.
7999         * org-mobile.el (org-mobile-post-pull-hook): Fix docstring.
8001         * org.el (org-indent-line): Fix indentation of a property line
8002         starting at the beginning of a line.
8004         * org-odt.el (org-odt-cleanup-xml-buffers): Use the new alias.
8006         * org-compat.el: Alias `org-condition-case-unless-debug' to
8007         `condition-case-unless-debug' or `condition-case-no-debug'.
8009         * org.el (org-todo-keywords): Ditto.
8011         * org.el (org-use-fast-todo-selection): Reformat docstring.
8013         * org.el (org-flag-drawer): Add a docstring.
8014         (org-mode-map): Bind ̀org-clock-cancel' to "C-cC-xC-q" and
8015         `org-clock-in-last' to "C-cC-xC-x".  This fixes a bug in the
8016         previous keybinding for `org-clock-in-last', which would override
8017         the one for `org-clock-in'.
8019         * org-clock.el (org-clock-in-last): Prevent errors when there is
8020         no clocking history.
8021         (org-clock-cancel): Fix bug when checking against a clock log in a
8022         folded drawer.
8024         * org.el (org-link-expand-abbrev): Implement "%(my-function)" as a
8025         new specifier.  Update the docstring.
8027         * org.el (org-startup-options): Fix docstring formatting.
8029         * org.el (org-use-sub-superscripts): Fix typo in docstring.
8031         * org.el (org-refile): Fix bug: prevent looping when calling
8032         `org-set-tags' internally.
8034         * org.el (org-mode-map): Add `C-c C-x C-I' as a keybinding for
8035         `org-clock-in-last'.
8037         * org-clock.el (org-clock-continuously): New option.
8038         (org-clock-in): Three universal prefix arguments set
8039         `org-clock-continuously' to `t' temporarily.
8040         (org-clock-in-last): Fix call to `org-clock-select-task' and
8041         support continuous clocking.
8042         (org-clock-out-time): New variable.
8043         (org-clock-out): Set `org-clock-out-time' when clocking out.
8044         Small docstring rewriting.
8045         (org-clock-remove-empty-clock-drawer): Fix "invalid search bound"
8046         bug when trying to delete empty logbook drawer.
8047         (org-clock-cancel): If the clock log is gone, send a warning
8048         instead of deleting the region that is supposed to contain it.
8050         * org.el (org-move-line-down, org-move-line-up): Remove.
8051         (org-metaup, org-metadown): When the region is active, move it
8052         up/down by one line, with no regard to the context.
8054         * org-odt.el (org-odt-cleanup-xml-buffers): Use the new alias.
8056         * org-compat.el: Alias `org-condition-case-unless-debug' to
8057         `condition-case-unless-debug' or `condition-case-no-debug'.
8059         * org-pcomplete.el (org-thing-at-point): Ignore trailing
8060         whitespaces while looking-back at properties.
8062         * org.el (org-mode): Set `indent-region-function'.
8063         (org-indent-region): New function.
8064         (org-fill-paragraph): When in a src block, use `indent-region' to
8065         indent the whole source code instead of falling back on
8066         `fill-paragraph', as this function messes up the code.
8068         * org-src.el (org-edit-src-code): Fix docstring formatting.
8070         * ob.el (org-babel-do-key-sequence-in-edit-buffer): Ditto.
8072         * org.el (org-mode, org-add-log-setup)
8073         (org-get-property-block, org-entry-put)
8074         (org-property-next-allowed-value, org-return)
8075         (org-indent-line): Rename `org-indent-line-function' to
8076         `org-indent-line'.
8078         * org-timer.el (org-timer-item): Ditto.
8080         * org-table.el (org-table-store-formulas): Ditto.
8082         * org-clock.el (org-clock-in, org-clock-find-position): Ditto.
8084         * org-src.el (org-src-font-lock-fontify-block)
8085         (org-src-strip-leading-and-trailing-blank-lines)
8086         (org-src-ask-before-returning-to-edit-buffer)
8087         (org-edit-src-code, org-edit-src-continue)
8088         (org-edit-fixed-width-region)
8089         (org-src-do-key-sequence-at-code-block)
8090         (org-src-font-lock-fontify-block, org-src-fontify-buffer):
8091         Fix typos in docstrings.
8093         * org-docbook.el (org-export-docbook-emphasis-alist): Fix typo:
8094         use "format string" instead of "formatting string".
8096         * org-latex.el (org-export-latex-emphasis-alist)
8097         (org-export-latex-title-command, org-export-latex-tables): Ditto.
8099         * org-html.el (org-export-html-postamble): Ditto.
8101         * org-latex.el (org-export-latex-hyperref-options-format):
8102         New option.
8103         (org-export-latex-make-header): Use it.
8105         * ob.el (org-babel-confirm-evaluate): Prevent errors when
8106         `org-current-export-file' is void.
8108         * org-table.el (org-table-export): Use the file name extension to
8109         suggest the right conversion format.  Also amend the docstring.
8111         * org.el (org-speed-commands-default): Two new speed commands.
8112         Use `:' for `org-columns' and ̀#' for `org-toggle-comment'.
8114         * org.el (org-time-stamp): With two universal arguments, insert an
8115         active timestamp with the current time without prompting the user.
8117         * org-clock.el (org-clock-in-last): New command.
8119         * org-clock.el (org-clock-in): Fix typo in docstring.
8121         * org-mobile.el (org-mobile-edit): Fix reference to a free
8122         variable.
8124         * org.el (org-doi-server-url): Update :group.
8126         * ob-lob.el (org-babel-lob-execute): Fix reference to non-existent
8127         variable.
8129         * org.el (org-doi-server-url): New option.
8130         (org-open-at-point): Use it.
8132         * org.el (org-at-comment-p): New function.
8133         (org-toggle-heading): Use `org-at-comment-p' to skip comments.
8135         * org-html.el (org-export-as-html): Add links to the Org mode and
8136         GNU Emacs websites When :html-postamble is set to 't.
8138         * org-export.el (org-export-creator-string): Add links to the Org
8139         mode and GNU Emacs websites.
8141         * org-special-blocks.el
8142         (org-special-blocks-convert-html-special-cookies): Prevent errors
8143         by first checking `org-line' is not nil.
8145         * org-clock.el (org-clock-string-limit)
8146         (org-clock-modeline-total, org-clock-task-overrun-text)
8147         (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
8149         * org.el (org-at-timestamp-p): Set ̀org-ts-what' to 'after when the
8150         point is right after the timestamp.  `org-at-timestamp-p' still
8151         returns `t' in this case, as this is more practical.
8152         (org-return): Check against ̀org-ts-what' to verify that point is
8153         really within the timestamp (if any).
8155         * org.el (org-return): Follow time-stamp links when point is an a
8156         time-stamp.
8158         * org-capture.el (org-capture-bookmark): New option.
8159         (org-capture-finalize): Use it.
8161         * org-publish.el (org-publish-cache-file-needs-publishing):
8162         Make the column mandatory after #+include:.
8164         * org-exp.el (org-export-handle-include-files): Ditto.
8166         * org-bibtex.el (org-bibtex-entries): Rename from
8167         (org-bibtex-read, org-bibtex-write): Use the new name.
8169         * org-exp.el (org-export-handle-include-files): Allow to use
8170         #+include with no column.
8172         * org-publish.el (org-publish-cache-file-needs-publishing):
8173         Make quotes mandatory around the file name and allow spaces in it.
8175         * org-html.el (org-export-as-html): Add link to Org's and Emacs's
8176         websites.
8178         * org-latex.el
8179         (org-export-latex-link-with-unknown-path-format): New option.
8180         (org-export-latex-links): Use it.
8182         * org-agenda.el (org-agenda-get-timestamps): Remove any active
8183         timestamp from the headline text, not only those for the current
8184         date.
8186         * org.el (org-set-tags): Allow setting tags for headlines in the
8187         region when `org-loop-over-headlines-in-active-region' is non-nil.
8189         * org.el (org-allow-promoting-top-level-subtree): New option to
8190         allow promoting a top-level subtree.
8191         (org-called-with-limited-levels): New variable, dynamically bound
8192         within the `org-with-limited-levels' macro.
8193         (org-promote): Use the new option to allow promoting a top-level
8194         subtree.
8196         * org-macs.el (org-with-limited-levels): Let-bind
8197         `org-called-interactively-p' to t.
8199         * org.el (org-create-formula-image-with-dvipng)
8200         (org-create-formula-image-with-imagemagick): Make sure a file
8201         exists before trying to delete it.
8203         * org.el (org-scan-tags): Correctly match TODO keywords.
8205         * org-agenda.el (org-agenda-bulk-action): Fix bug: use
8206         `org-agenda-bulk-unmark-all'.
8208         * org.el (orgstruct++-mode): Fix docstring.
8209         (org-fill-paragraph): Use the 'justify parameter when falling back
8210         on `fill-paragraph'.
8212         * org.el (org-indent-line-function): Use `org-let' instead of
8213         `orgstruct++-ignore-org-filling'.
8214         (org-fill-paragraph, org-auto-fill-function): Ditto.
8216         * org-macs.el (orgstruct++-ignore-org-filling): Delete.
8218         * org-table.el (org-table-time-string-to-seconds): Return the
8219         empty string if provided.
8220         (org-table-eval-formula): When assigning a duration string, handle
8221         it correctly -- i.e. don't make any computation on it, except the
8222         one to insert it using the correct duration format.
8224         * org.el (org-indent-line-function): Fix bug.
8226         * org-clock.el (org-frame-title-format-backup): New variable to
8227         store the value of `frame-title-format' before `org-clock' might
8228         replace it by `org-clock-frame-title-format'.
8229         (org-clock-frame-title-format): New option.
8230         (org-frame-title-string): Delete.
8231         (org-clock-update-mode-line): Minor code reformatting.
8232         (org-clock-in, org-clock-out, org-clock-cancel):
8233         Use `org-clock-frame-title-format'.
8235         * org-clock.el (org-clock-get-clock-string): Add a space.
8237         * org-list.el (org-mark-list): Return an error when there is no
8238         list at point.
8240         * org.el (org-toggle-heading): Allow `C-u C-c *' to mark the list
8241         at point before converting items to headings.  With a simple
8242         universal-argument, set `current-prefix-arg' to 1, otherwise keep
8243         the numeric value.
8245         * org-agenda.el (org-agenda-view-mode-dispatch): Make the message
8246         more readable.
8248         * org-agenda.el (org-agenda-mode-map): New keybinding ̀*' to mark
8249         all entries for bulk action.
8250         (org-agenda-menu): New menu item for marking all entries.
8251         (org-agenda-bulk-mark-all): New function to mark all entries.
8252         (org-agenda-bulk-mark-regexp): Minor docstring fix.
8253         (org-agenda-bulk-unmark): With a prefix argument, unmark all.
8254         Also send a better message.
8255         (org-agenda-bulk-remove-all-marks): Rename to
8256         `org-agenda-bulk-unmark-all'.  Check against
8257         `org-agenda-bulk-marked-entries' before trying to unmark entries.
8258         Minor docstring fix.
8259         (org-agenda-bulk-unmark-all): Rename from
8260         ̀org-agenda-bulk-remove-all-marks'.
8262         * org-agenda.el (org-agenda-bulk-mark-char): New option.
8263         (org-agenda-bulk-mark): Use the new option.
8265         * org.el (org-src-prevent-auto-filling): New option to prevent
8266         auto-filling in src blocks.  This defaults to nil to avoid people
8267         being surprised that no auto-fill occurs in Org buffers where they
8268         use `auto-fill-mode'.
8269         (org-auto-fill-function): Use the new option.
8271         * org.el (org-properties-postprocess-alist): Better customization
8272         type.
8273         (org-set-property): Fix the check against
8274         `org-properties-postprocess-alist'.
8276         * org-macs.el (orgstruct++-ignore-org-filling):
8277         Set `def-edebug-spec' correctly.
8279         * org-colview.el (org-columns-string-to-number): When computing
8280         the values for the colview, match durations and convert them to
8281         HH:MM values.
8283         * org.el (org-duration-string-to-minutes): Match non-round
8284         numbers.  Add a new optional parameter to allow returning the
8285         output as a string.
8287         * org.el (org-auto-fill-fallback-function)
8288         (org-indent-line-fallback-function)
8289         (org-fill-paragraph-fallback-function)
8290         (org-auto-fill-fallback-function)
8291         (org-indent-line-fallback-function)
8292         (org-fill-paragraph-fallback-function): Remove.
8293         (org-fb-vars): New buffer-local variable.
8294         (orgstruct++-mode): Use the fallback variable `org-fb-vars' to
8295         store, use and restore variables if needed.
8296         (org-fill-paragraph): Ignore `orgstruct++-mode' filling variables
8297         when needed.
8298         (org-auto-fill-function, org-indent-line-function): Ditto.
8300         * org-macs.el (orgstruct++-ignore-org-filling): New macro.
8302         * org-exp-block.el: Use `org-find-library-name' instead of
8303         `find-library-name'.
8305         * org-compat.el (org-find-library-name): Convert into a macro to
8306         avoid compilation of a function from XEmacs in Emacs and vice
8307         versa.
8309         * org-table.el (org-table-store-formulas): Fix typo.
8310         (org-table-maybe-eval-formula): Fix the regexp to only match
8311         formulas, which never end with the `=' character.  If the field
8312         only contain this character, don't eval either.
8314         * org.el (org-set-property): Perform the correct check against
8315         `org-properties-postprocess-alist'.
8317         * org-bbdb.el (org-bbdb-anniversary-format-alist): Update the
8318         customization type.
8319         (name): Suppress (defvar 'name) as name is not eval'ed when
8320         setting `org-bbdb-anniversary-format-alist'.
8322         * org.el (org-version): When called non-interactively, insert the
8323         short version string, otherwise send a message with the complete
8324         version string.
8326         * org-odt.el (org-odt-update-meta-file): Use (org-version) and
8327         delegate checking whether `org-version' is known as a variable
8328         there.
8330         * org-html.el (org-export-as-html): Use (org-version).
8332         * org-docbook.el (org-export-as-docbook): Ditto.
8334         * org-latex.el (org-export-latex-make-header): Ditto.
8336         * org-clock.el (org-clocktable-write-default): Temporarily disable
8337         `delete-active-region' so that we don't accidently delete an
8338         active region when exporting a subtree/region.
8340         * org-clock.el (org-program-exists): Remove.
8341         (org-show-notification, org-clock-play-sound):
8342         Use `executable-find' instead of `org-program-exists'.
8344         * org-agenda.el (org-diary): Prevent failure from
8345         `org-compile-prefix-format' when there is no agenda buffer.
8347         * org-agenda.el (org-agenda-mode): Replace obsolete variable
8348         `buffer-substring-filters'.
8350         * org-indent.el (org-indent-mode): Ditto.
8352         * org-compat.el (org-find-library-name): Silent the byte-compiler
8353         about a warning related to XEmacs support.
8355         * org-special-blocks.el
8356         (org-special-blocks-convert-html-special-cookies): Use `org-line'
8357         instead of `line'.
8359         * org-html.el (org-html-handle-links, org-export-as-html)
8360         (org-format-org-table-html, org-format-table-table-html)
8361         (org-html-export-list-line): Use `org-line' instead of `line' as
8362         the free variable name.
8364         * org-latex.el (org-export-latex-tables): Let-bind `hfmt'.
8366         * org-faces.el (org-list-dt): New face.
8368         * org.el (org-set-font-lock-defaults): Use `org-list-dt' as the
8369         face for definition terms in definition lists.
8371         * org.el (org-fill-paragraph): Pass the `justify' argument to
8372         `org-fill-paragraph-fallback-function'.
8374         * org.el (org-eval-in-calendar): Fix docstring to mention the
8375         KEEPDATE parameter.
8377         * org.el (org-refresh-category-properties): Let-bind
8378         `inhibit-read-only' to t.
8380         * org.el (org-auto-fill-fallback-function)
8381         (org-indent-line-fallback-function)
8382         (org-fill-paragraph-fallback-function): New variables to store
8383         some fall-back functions when turning `orgstruct++-mode' on.
8384         (orgstruct++-mode): Set the new variables.
8385         (org-indent-line-function, org-fill-paragraph)
8386         (org-auto-fill-function): Use them.
8388         * org.el (org-read-date): Bugfix: call `org-eval-in-calendar' with
8389         the 'keepdate parameter set to t when setting the cursor type.
8391         * org-agenda.el (org-agenda-persistent-marks): New option to keep
8392         marks after a bulk action.  The option defaults to nil.
8393         (org-agenda-bulk-action): Use the new option.
8395         * org-capture.el (org-capture-fill-template): Use %\n instead of
8396         %n as a template element to be replaced with the nth prompted
8397         string.
8398         (org-capture-templates): Update docstring.
8400         * org.el (org-goto): Fix docstring and document what C-u does.
8402         * org-publish.el (org-publish-cache-file-needs-publishing):
8403         Use (case-fold-search t) when looking for #+INCLUDE:.
8405         * org.el: Use (case-fold-search t).
8406         (org-edit-special, org-ctrl-c-ctrl-c): Ditto.
8408         * org-table.el:
8409         (org-table-store-formulas, org-table-get-stored-formulas)
8410         (org-table-fix-formulas, org-table-edit-formulas)
8411         (org-old-auto-fill-inhibit-regexp, orgtbl-ctrl-c-ctrl-c)
8412         (orgtbl-toggle-comment, org-table-get-remote-range): Ditto.
8414         * org-footnote.el:
8415         (org-footnote-goto-local-insertion-point): Ditto.
8417         * org-exp.el: Ditto.
8419         * org-colview.el:
8420         (org-dblock-write:columnview, org-dblock-write:columnview): Ditto.
8422         * org-clock.el (org-clocktable-write-default): Ditto.
8424         * org-capture.el (org-capture-place-table-line): Ditto.
8426         * ob.el (org-babel-data-names, org-babel-goto-named-src-block)
8427         (org-babel-src-block-names)
8428         (org-babel-where-is-src-block-result, org-babel-result-end)
8429         (org-babel-where-is-src-block-head)
8430         (org-babel-find-named-result, org-babel-result-names): Ditto.
8432         * org-table.el (orgtbl-send-table): Escape special characters.
8433         Introduce a new parameter :no-escape to prevent escaping.
8435         * org-agenda.el (org-toggle-sticky-agenda): Only shout a message
8436         when called interactively.
8437         (org-agenda-get-restriction-and-command):
8438         Call `org-toggle-sticky-agenda' interactively.
8440         * org-agenda.el (org-agenda-top-category-filter): New variable for
8441         storing the current top-category filter.
8442         (org-agenda-redo): Apply a top-category filter, if any.
8443         (org-agenda-filter-by-top-category)
8444         (org-agenda-filter-top-category-apply):
8445         Set `org-agenda-top-category-filter' to the right value.
8447         * org-clock.el (org-clock-out, org-clock-cancel)
8448         (org-clock-in): Don't modify `frame-title-format' if it is a
8449         string.
8451         * org-latex.el (org-export-latex-special-chars): Fix bug when
8452         escaping special characters in a table.
8454         * org.el (org-read-date): Set cursor-type to nil in the calendar.
8456         * org-faces.el (org-date-selected): Use inverse video.
8457         Don't explicitly set bold to nil as it causes `customize-face' to show
8458         the weight property and thus encourage the user to change it.
8459         Warn in the docstring that using bold might cause problems when
8460         displaying the calendar.
8462         * org-id.el (org-id-update-id-locations): New parameter to silent
8463         `org-id-find'.
8464         (org-id-find): Use the new parameter.
8466         * org.el (org-show-hierarchy-above, org-cycle)
8467         (org-global-cycle, org-files-list, org-store-link)
8468         (org-link-search, org-open-file, org-display-outline-path)
8469         (org-refile-get-location, org-update-all-dblocks)
8470         (org-change-tag-in-region, org-entry-properties)
8471         (org-save-all-org-buffers, org-revert-all-org-buffers)
8472         (org-buffer-list, org-cdlatex-mode)
8473         (org-install-agenda-files-menu, org-end-of-subtree)
8474         (org-speedbar-set-agenda-restriction): Use (derived-mode-p
8475         'org-mode) instead of (eq major-mode 'org-mode).
8477         * org-timer.el (org-timer-set-timer): Ditto.
8479         * org-table.el (orgtbl-mode, org-table-align, orgtbl-mode): Ditto.
8481         * org-src.el (org-edit-src-exit, org-edit-src-code)
8482         (org-edit-fixed-width-region, org-edit-src-exit): Ditto.
8484         * org-remember.el (org-remember-handler): Ditto.
8486         * org-mouse.el (dnd-open-file, org-mouse-insert-item): Ditto.
8488         * org-macs.el (org-get-limited-outline-regexp): Ditto.
8490         * org-lparse.el (org-replace-region-by): Ditto.
8492         * org-latex.el (org-latex-to-pdf-process)
8493         (org-replace-region-by-latex): Ditto.
8495         * org-indent.el (org-indent-indent-buffer): Ditto.
8497         * org-id.el (org-id-store-link, org-id-update-id-locations)
8498         (org-id-store-link): Ditto.
8500         * org-html.el (org-export-html-preprocess)
8501         (org-replace-region-by-html): Ditto.
8503         * org-footnote.el (org-footnote-normalize)
8504         (org-footnote-goto-definition)
8505         (org-footnote-create-definition, org-footnote-normalize): Ditto.
8507         * org-docbook.el (org-replace-region-by-docbook): Ditto.
8509         * org-ctags.el (find-tag): Ditto.
8511         * org-colview.el (org-columns-redo)
8512         (org-columns-display-here, org-columns-edit-value)
8513         (org-columns-redo): Ditto.
8515         * org-capture.el (org-capture-insert-template-here)
8516         (org-capture, org-capture-finalize)
8517         (org-capture-set-target-location)
8518         (org-capture-insert-template-here): Ditto.
8520         * org-ascii.el (org-replace-region-by-ascii): Ditto.
8522         * org-archive.el (org-archive-subtree): Ditto.
8524         * org-agenda.el (org-agenda)
8525         (org-agenda-get-restriction-and-command)
8526         (org-agenda-get-some-entry-text, org-search-view)
8527         (org-tags-view, org-agenda-get-day-entries)
8528         (org-agenda-format-item, org-agenda-goto, org-agenda-kill)
8529         (org-agenda-archive-with, org-agenda-switch-to): Ditto.
8531         * org.el (org-repeat-re)
8532         (org-clone-subtree-with-time-shift, org-auto-repeat-maybe)
8533         (org-deadline, org-schedule, org-matcher-time)
8534         (org-time-stamp, org-read-date, org-read-date-get-relative)
8535         (org-display-custom-time, org-get-wdays)
8536         (org-time-string-to-absolute, org-closest-date)
8537         (org-timestamp-change): Allow to set hourly repeat cookie.
8538         Send an error when an hourly repeat cookie is set and no hour is
8539         specified in the timestamp.
8541         * org-icalendar.el (org-print-icalendar-entries): Handle hourly
8542         repeat cookies.
8544         * org-clock.el (org-program-exists): Fix docstring.
8546         * org-clock.el (org-clock-file-time-cell-format): New option.
8547         (org-clocktable-write-default): Use it.
8549         * org-faces.el (org-date-selected): New face.
8551         * org.el (org-date-ovl): Use `org-date-selected'.
8553         * org.el (org-mode): Don't use `buffer-face-mode' by default.
8555         * org-agenda.el (org-agenda-mode-map): Bind `^' to
8556         `org-agenda-filter-by-top-category'.
8558         * org-ascii.el (org-export-ascii-underline): Change the default
8559         underlining characters for headlines of level 1 and 2.
8560         Also introduce \. as the underline character for headlines of level 5.
8562         * org-table.el (org-table-recalculate-buffer-tables)
8563         (org-table-iterate-buffer-tables): Add autoload cookie.
8565         * org.el (org-table-map-tables): Exclude tables in src and example
8566         blocks.
8568         * org.el (org-fill-paragraph): Leave scheduled/deadline lines
8569         untouched when filling an adjacent paragraph.
8571         * org-html.el (org-export-html-preamble-format)
8572         (org-export-html-postamble-format): Improve the docstring.
8574         * org.el (org-todo): Fix regression: rename `state' to
8575         `org-state'.
8577         * org-clock.el (org-show-notification): Use `fboundp' instead of
8578         `featurep' and the additional `require'.
8580         * org-clock.el (org-clock-in-prepare-hook): New option to format
8581         the total time cells.
8582         (org-clocktable-write-default): Use the new option.
8584         * org.el (org-open-at-point): Allow to open the agenda from an
8585         active or inactive timestamp in a headline.
8587         * org-html.el (org-export-html-date-format-string): Make a
8588         defcustom.
8590         * org-latex.el (org-export-as-latex): Fix TeX-master declaration.
8592 2012-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
8594         * org-table.el (org-table-expand-lhs-ranges): Allow hline
8595         references to be expanded correctly in LHS of formulas.
8597         * org-beamer.el (org-beamer-inherited-properties): New option.
8598         (org-beamer-after-initial-vars): Use new option to look for
8599         inherited properties.
8601         * org.el (org-ts-regexp0): Allow time stamps without name of day.
8603         * org-agenda.el (org-toggle-sticky-agenda):
8604         (org-agenda-sticky): Improve :set property.
8606         * org-agenda.el (org-agenda-local-vars): Clean up the variable
8607         list.
8608         (org-agenda-get-restriction-and-command): Add a key for toggling
8609         sticky agenda views.
8611         * org-agenda.el (org-agenda-local-vars): Final decisions about
8612         global/local
8614         * org-agenda.el (org-agenda-force-single-file): Variable removed.
8615         (org-prepare-agenda-window): Store pre-agenda window config
8616         locally.
8617         (org-timeline): Introduce a scoped version of
8618         `org-agenda-show-log'.
8619         (org-agenda-list): Introduce a scoped version of
8620         `org-agenda-show-log'.
8621         (org-agenda-get-progress): Use the scoped version of
8622         `org-agenda-show-log'.
8623         (org-agenda-local-vars): Write the analysis result as a comment -
8624         to be cleaned up in the next iteration.
8626         * org-agenda.el (org-toggle-sticky-agenda): Kill all agenda
8627         buffers when toggling sticky-agendas.
8628         (org-agenda-get-restriction-and-command): Add `C-c a C-k' as a key
8629         to explicitly kill all agenda buffers.
8630         (org-agenda-run-series): Remove any old agenda markers in the
8631         buffer that is going to take the new block agenda.
8632         (org-prepare-agenda): Reset markers before erasing the buffer anc
8633         running `org-agenda-mode', because after that hte local variable
8634         `org-agenda-markers' will have gone away.
8635         (org-agenda-Quit):
8636         (org-finalize-agenda): Install the marker resetter into the
8637         `kill-buffer-hook'.
8638         (org-agenda-save-markers-for-cut-and-paste): Look for markers in
8639         all agenda buffers.
8640         (org-agenda-kill-all-agenda-buffers): New function.
8642 2012-09-30  Chris Gray  <chrismgray@gmail.com>
8644         * org-html.el (org-export-as-html): Remove the check for body-only
8645         in the code for generating tables of contents.
8647 2012-09-30  Christoph Dittmann  <github@christoph-d.de>  (tiny change)
8649         * org-beamer.el (org-beamer-auto-fragile-frames):
8650         Make [fragile] work with overlay specifications.
8652 2012-09-30  Christophe Junke  <christophe.junke@inria.fr>  (tiny change)
8654         * org-agenda.el (org-agenda-list): Ensures that the list returned
8655         by `org-agenda-add-time-grid-maybe' is appended to ̀rtnall' before
8656         checking if the latter is empty.
8658 2012-09-30  Christophe Rhodes  <csr21@cantab.net>  (tiny change)
8660         * org-latex.el (org-export-latex-tables): Support setting the
8661         :hfmt parameter from #+ATTR_LaTeX.
8663 2012-09-30  Daniel Dehennin  <daniel.dehennin@baby-gnu.org>  (tiny change)
8665         * org-exp.el (org-export-handle-include-files)
8666         (org-get-file-contents): Handle new parameter :addlevel.
8668 2012-09-30  Dave Abrahams  <dave@boostpro.com>  (tiny change)
8670         * org.el (org-link-prettify): New function to prettify links while
8671         displaying them with `org-insert-link'.
8672         (org-insert-link): Use the new function.
8674 2012-09-30  David Maus  <dmaus@ictsoc.de>
8676         * org-exp.el (org-export-language-setup): Use numeric character
8677         entities for proper rendering of non-UTF8 documents.
8679         * org-exp.el (org-export-language-setup): Add japanese
8680         translation.
8682 2012-09-30  Eric Schulte  <eric.schulte@gmx.com>
8684         * ob-sh.el (org-babel-sh-evaluate): Don't could 0-length shebangs.
8686         * ob.el (org-babel-insert-result): Replace key sequence with
8687         function call.  Use a more informative flag to the local function.
8688         (org-add-protective-commas): Declare a new external function.
8690         * org-src.el (org-add-protective-commas): This should be its own
8691         function.
8692         (org-edit-src-exit): Use the new function.
8694         * org-compat.el (org-labels): Remove.
8696         * org-bibtex.el (org-bibtex-headline): Don't use `org-labels'.
8698         * ob.el (org-babel-sha1-hash, org-babel-noweb-p): Ditto.
8700         * ob.el (org-babel-string-read): Don't automatically evaluate code
8701         block results which look like elisp.
8702         (org-babel-import-elisp-from-file): Raise a warning message when
8703         the process of reading code block results raises an error.
8705         * ob-tangle.el (org-babel-with-temp-filebuffer): Don't execute
8706         macro argument multiple times.
8708         * org.el (org-compat): Require org-compat before we first use one
8709         of its functions (a macro actually).
8711         * ob-comint.el (org-babel-comint-with-output): Don't name the
8712         filter function, but rather pass through the anonymous lambda
8713         directly.
8715         * org.el (org-babel-load-languages): Common lisp should be
8716         mentioned as a supported babel language.
8718         * org-clock.el (org-clock-special-range): "concat 'string" ->
8719         "concat"
8720         (org-clocktable-shift): "concat 'string" -> "concat"
8722         * org-bibtex.el (org-bibtex-headline): Replacing org-flet with
8723         org-labels.
8725         * ob-calc.el (org-babel-execute:calc): Strip single quotes from
8726         calc internal representations.
8728         * org-clock.el (org-clock-special-range): Replacing cl concatenate
8729         with concat.
8730         (org-clocktable-shift): Replacing cl concatenate with concat.
8732         * ob.el (org-babel-edit-distance): Remove use of map at runtime.
8734         * org-compat.el (org-flet): Compatibility function now that flet
8735         has been removed from cl-macs.
8736         (org-labels): Compatibility function now that labels has been
8737         removed from cl-macs.
8739         * ob-R.el (org-compat): Require org-compat.
8741         * ob-comint.el: Require org-compat.
8743         * ob-exp.el (org-babel-exp-do-export): Switch to compatibility
8744         function.
8746         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Switch to
8747         compatibility function.
8749         * ob-lob.el (org-babel-lob-get-info): Switch to compatibility
8750         function.
8751         (org-babel-lob-execute): Switch to compatibility function.
8753         * ob-python.el (org-babel-python-evaluate-session): Switch to
8754         compatibility function.
8756         * ob-ref.el (org-babel-ref-index-list): Switch to compatibility
8757         function.
8759         * ob-sh.el (org-babel-sh-var-to-string): Switch to compatibility
8760         function.
8762         * ob-tangle.el (org-babel-load-file): Switch to compatibility
8763         function.
8764         (org-babel-tangle): Switch to compatibility function.
8765         (org-babel-spec-to-string): Switch to compatibility function.
8767         * ob.el (org-babel-view-src-block-info): Switch to compatibility
8768         function.
8769         (org-babel-execute-src-block): Switch to compatibility function.
8770         (org-babel-edit-distance): Switch to compatibility function.
8771         (org-babel-switch-to-session-with-code): Switch to compatibility
8772         function.
8773         (org-babel-sha1-hash): Switch to compatibility function.
8774         (org-babel-balanced-split): Switch to compatibility function.
8775         (org-babel-join-splits-near-ch): Switch to compatibility function.
8776         (org-babel-get-rownames): Switch to compatibility function.
8777         (org-babel-format-result): Switch to compatibility function.
8778         (org-babel-insert-result): Switch to compatibility function.
8779         (org-babel-examplize-region): Switch to compatibility function.
8780         (org-babel-merge-params): Switch to compatibility function.
8781         (org-babel-noweb-p): Switch to compatibility function.
8782         (org-babel-expand-noweb-references): Switch to compatibility
8783         function.
8785         * org-bibtex.el (org-bibtex-headline): Switch to compatibility
8786         function.
8787         (org-bibtex-fleshout): Switch to compatibility function.
8788         (org-bibtex-read): Switch to compatibility function.
8789         (org-bibtex-write): Switch to compatibility function.
8791         * org-exp-blocks.el (org-export-blocks-preprocess): Switch to
8792         compatibility function.
8794         * org-exp.el (org-export-format-source-code-or-example): Switch to
8795         compatibility function.
8797         * org-macs.el (org-called-interactively-p): Indentation fix.
8799         * org-mouse.el (org-mouse-timestamp-today): Switch to
8800         compatibility function.
8801         (org-mouse-set-priority): Switch to compatibility function.
8802         (org-mouse-popup-global-menu): Switch to compatibility function.
8803         (org-mouse-context-menu): Switch to compatibility function.
8805         * org-plot.el (org-plot/gnuplot-to-grid-data): Switch to
8806         compatibility function.
8807         (org-plot/gnuplot-script): Switch to compatibility function.
8809         * org.el (org-entry-get): Switch to compatibility function.
8810         (org-fill-paragraph): Switch to compatibility function.
8811         (org-auto-fill-function): Switch to compatibility function.
8813         * ob-lob.el (org-babel-lob-execute): Only try to insert extant
8814         hashes.
8816         * ob-R.el (org-babel-R-command): From a defvar to a defcustom.
8818         * ob.el (org-babel-set-current-result-hash): Change the hash of
8819         the results for the current code block.
8820         (org-babel-current-result-hash): Fix documentation.
8822         * ob-lob.el (org-babel-lob-execute): Don't re-execute the called
8823         function if the current call line hash matches that in its
8824         results.
8826         * ob-R.el (org-babel-R-assign-elisp): Can't assume every entry in
8827         a table is a sequence.
8829         * ob-R.el (org-babel-R-assign-elisp): Clean up the code
8830         implementing reads of irregular data into R.
8832         * ob.el (org-babel-header-arg-expand): In new buffers
8833         (char-before) may return nil so use equal rather than =.
8835         * ob-R.el (org-babel-header-args:R): Adding values.
8837         * ob-clojure.el (org-babel-header-args:clojure): Adding values.
8839         * ob-lisp.el (org-babel-header-args:lisp): Adding values.
8841         * ob-sql.el (org-babel-header-args:sql): Adding values.
8843         * ob-sqlite.el (org-babel-header-args:sqlite): Adding values.
8845         * ob.el (org-babel-combine-header-arg-lists): Combine lists of
8846         arguments and values.
8847         (org-babel-insert-header-arg): Use new combined header argument
8848         lists.
8849         (org-babel-header-arg-expand): Add support for completing-read
8850         insertion of header arguments after ":"
8851         (org-babel-enter-header-arg-w-completion): Completing read
8852         insertion of header arguments
8853         (org-tab-first-hook): Adding header argument completion.
8854         (org-babel-params-from-properties): Combining header argument
8855         lists.
8857         * ob-exp.el (org-babel-exp-results): Ensure noweb expanded body is
8858         used on export.
8860         * ob.el (org-babel-result-to-file): New optional description
8861         argument.
8862         (org-babel-insert-result): Move description logic to another
8863         function.
8865         * ob.el (org-babel-insert-result): Change name of filelinkdescr to
8866         file-desc.
8867         (org-babel-common-header-args-w-values): Change name of
8868         filelinkdescr to file-desc.
8870         * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled C
8871         files on windows.
8873         * ob-exp.el (org-babel-exp-code): Escape all lines when exporting
8874         Org-mode blocks.
8876         * ob.el (org-babel-parse-src-block-match): Make use of the new
8877         language argument to org-babel-strip-protective-commas.
8878         (org-babel-parse-inline-src-block-match): Make use of the new
8879         language argument to org-babel-strip-protective-commas.
8880         (org-babel-strip-protective-commas): Now accepts a language
8881         argument.
8883 2012-09-30  Fabrice Niessen  <fniessen-TA4HMoP+1wHrZ44/DZwexQ@public.gmane.org>  (tiny change)
8885         * org-agenda.el (org-agenda-write-buffer-name): Remove the test
8886         for the presence of <style> tag.
8888 2012-09-30  Feng Shu  <tumashu@gmail.com>
8890         * org.el (org-create-formula-image-with-imagemagick):
8891         Use 'call-process to launch latex so that no shell output buffer will
8892         be shown when previewing formulas.
8894         * org.el (org-create-formula-image-with-imagemagick): Fix typo.
8896         * org.el (org-latex-create-formula-image-program): New option to
8897         use either dvipng or imagemagick to convert and preview LaTeX
8898         fragments.
8899         (org-preview-latex-fragment, org-format-latex): Handle the new
8900         option.
8901         (org-create-formula-image-with-dvipng): Rename from
8902         `org-create-formula-image'.
8903         (org-create-formula-image-with-imagemagick): New defun to handle
8904         LaTeX preview with imagemagick.
8905         (org-latex-color, org-latex-color-format): New defuns to handle
8906         color conversions.
8908         * org-latex.el (org-latex-to-pdf-process, org-export-as-pdf):
8909         Allow to use imagemagick to convert LaTeX fragments.
8911         * org-html.el (org-export-html-preprocess): Ditto.
8913         * org-exp.el (org-export-with-LaTeX-fragments): Ditto.
8915 2012-09-30  George Kettleborough  <g.kettleborough@member.fsf.org>
8917         * org-clock.el: New option `org-clock-clocked-in-display' to
8918         control whether the current clock is displayed in the mode line
8919         and/or frame title.
8921         * org-timer.el: New option `org-timer-display' to control whether
8922         the current timer is displayed in the mode line and/or frame
8923         title.
8925 2012-09-30  Hans-Peter Deifel  <hpdeifel@gmx.de>  (tiny change)
8927         * ob.el (org-babel-execute-src-block): Allow the :dir header
8928         argument to take relative file names.
8930 2012-09-30  Harri Kiiskinen  <harri@pp-kaitue.(none)>  (tiny change)
8932         * org-protocol.el: New option.
8933         (org-protocol-store-link, org-protocol-do-capture): Use it.
8935 2012-09-30  Henning Weiss  <hdweiss@gmail.com>
8937         * org-mobile.el (org-mobile-edit): Add handling of addheading,
8938         refile, archive, archive-sibling and delete edit nodes.
8939         (org-mobile-locate-entry): Olp links containing only a file are
8940         now be located correctly.
8941         (org-mobile-apply): Instead of finding the location of all target
8942         headings for edit nodes in a separate loop, they will be found
8943         immediately before applying edits.
8945         * org-mobile.el (org-mobile-sumo-agenda-command): Use a shorter
8946         title.
8948 2012-09-30  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
8950         * org.el (org-parse-time-string): Allow strings supported by
8951         tags/properties matcher (eg <now>, <yesterday>, <-7d>) if the time
8952         starts with < and ends with >.  This means that e.g. in the
8953         clocktable parameters you can specify :tstart "<-1w>" :tend
8954         "<now>".
8956 2012-09-30  Ippei FURUHASHI  <top.tuna+orgmode@gmail.com>  (tiny change)
8958         * org-colview.el (org-columns): New argument `columns-fmt-string'.
8960         * org-colview.el (org-columns-get-format-end-top-level):
8961         Split into `org-columns-get-format' and `org-columns-goto-top-level'.
8963         * org-colview.el (org-dblock-write:columnview): Add a new
8964         parameter :format which specifies the column view format for the
8965         output of the columnview dynamic block.
8967 2012-09-30  Jambunathan K  <kjambunathan@gmail.com>
8969         * org-lparse.el (org-lparse-and-open)
8970         (org-lparse-do-convert): Open exported files with system-specific
8971         application.
8973         * org-odt.el: Don't meddle with `org-file-apps'.
8975         * org-compat.el (org-condition-case-unless-debug): Alias to
8976         `condition-case' when both `condition-case-no-debug' and
8977         `condition-case-unless-debug' is unavailable.
8979         * org-odt.el (org-odt-do-image-size): Replace `flet' with
8980         equivalent construct.
8982         * org-odt.el (org-odt-cleanup-xml-buffers):
8983         Use `condition-case-no-debug' instead of
8984         `condition-case-unless-debug'.  This ensures backward
8985         compatibility with Emacs versions < 24.1.
8987         * org-odt.el (org-odt-zip-dir)
8988         (org-odt-cleanup-xml-buffers): New.
8989         (org-export-as-odt-and-open, org-export-as-odt)
8990         (org-odt-init-outfile, org-odt-save-as-outfile)
8991         (org-export-as-odf, org-export-as-odf-and-open):
8992         Use `org-odt-cleanup-xml-buffers'.
8994         * org-odt.el (org-export-odt-default-org-styles-alist):
8995         Add default character style.
8997         * org-odt.el (org-export-odt-default-org-styles-alist):
8998         Add default character style.
9000         * org-lparse.el (org-do-lparse): Remove stray call to
9001         `org-export-html-after-blockquotes-hook'.
9003         * org-bbdb.el (org-bbdb-export): Add support for ODT format.
9005         * org-odt.el (org-odt-update-meta-file): Check for `org-version'
9006         is bound before accessing it.
9008         * org-odt.el (org-odt-schema-dir-list): OD Schema files have been
9009         moved away from $(git-root)/contrib/odt/etc/schema/ to
9010         $(git-root)/etc/schema/.
9012         * org-odt.el (org-odt-format-org-link): Pay no heed to whether the
9013         internal links destined for headlines provide a description or
9014         not.  In fact, the `org-store-link' and `org-insert-link' create
9015         internal links which do have a description.
9017         * org-lparse.el (org-lparse-insert-org-table): Consider short
9018         caption as plain text and not as org text.
9020         * org-odt.el (org-export-odt-format-formula)
9021         (org-export-odt-format-image): Ditto.
9023         * org-odt.el (org-odt-begin-table)
9024         (org-export-odt-format-formula, org-export-odt-format-image)
9025         (org-odt-format-entity): Handle short caption.
9027         * org-lparse.el (org-lparse-insert-org-table)
9028         (org-lparse-insert-list-table, org-lparse-insert-table-table):
9029         Ditto.
9031 2012-09-30  Jay McCarthy  <jay.mccarthy@gmail.com>  (tiny change)
9033         * org-colview.el (org-columns-new-overlay): Make sure to add a
9034         face to a string that has no face.
9036 2012-09-30  Jérémie Courrèges-Anglas  <jca@wxcvbn.org>  (tiny change)
9038         * org-latex.el: Ensure a final newline is appended to the export
9039         buffer.
9041 2012-09-30  Levin Du  <zslevin@gmail.com>  (tiny change)
9043         * org-clock.el (org-clock-in): Fix bug in setting the clock
9044         heading.
9046 2012-09-30  Madan Ramakrishnan  <madanr79@gmail.com>  (tiny change)
9048         * org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as
9049         advertised by the function.
9051 2012-09-30  Mark E. Shoulson  <mark@kli.org>  (tiny change)
9053         * org.el (org-fontify-entities): Hide {} when prettifying
9054         entities.
9056 2012-09-30  Mark Shoulson  <mark@kli.org>  (tiny change)
9058         * org-entities.el (org-entities): Add new entities for characters
9059         which could cause formatting changes if typed directly.
9061         * org-entities.el (org-entities): Add \asciicirc entity for ^;
9062         also fixed \circ expansion in latex.
9064         * org.el (org-fontify-entities): Fix bug: The entities \sup[123]
9065         and \there4 were not "prettified" when org-pretty-entities was
9066         enabled.
9068 2012-09-30  Mats Lidell  <matsl@xemacs.org>  (tiny change)
9070         * org-element.el (org-element-paragraph-separate):
9071         Remove redundant and misplaced t clause in case.
9073 2012-09-30  Matt Lundin  <mdl@imapmail.org>
9075         * org-datetree.el: Fix regexp to allow datetree to find headings
9076         with trailing whitespace.  This fixes a bug in which an existing
9077         datetree heading (e.g., "* 2012 ") would not be found by
9078         org-datetree-find-year-create if it had trailing whitespace.
9079         This can cause problems, for instance, if one is using column view on
9080         the date tree, since editing subheadings with column view adds
9081         whitespace at the end of the top heading.
9083         * org-footnote.el (org-footnote-new): Don't call
9084         org-footnote-unique-label if org-footnote-auto-label is set to
9085         random.
9087         * org-gnus.el (org-gnus-follow-link): Fix argument to
9088         gnus-group-read-group so that following a link does not result in
9089         unread article being selected.
9091         * org-bbdb.el (org-bbdb-anniv-extract-date)
9092         (org-bbdb-make-anniv-hash): Fix org-bbdb anniversary functionality
9093         to accommodate BBDB 3.x.  There are two major changes in BBDB 3.x
9094         that need to be taken into account.  The first is that
9095         `bbdb-split' reverses the order of its parameters in 3.x.
9096         The second is that `bbdb-record-getprop' is replaced by
9097         bbdb-record-note in 3.x.
9099 2012-09-30  Max Mikhanosha  <max@openchat.com>
9101         * org-agenda.el (org-agenda-change-all-lines): Speedup refresh of
9102         a single line of agenda by narrowing the agenda buffer to just
9103         that line before calling `org-agenda-finalize'.
9105         * org.el (org-mode): Don't set org-hide's foreground to
9106         "invisible-bg".
9107         (org-find-invisible-foreground): New function.
9109         * org-agenda.el (defvar org-habit-show-all-today): New variable
9110         (org-agenda-get-scheduled): Show all habits if user wants it
9112         * org-habit.el (defcustom org-habit-show-all-today): New variable
9114         * org-agenda.el (org-agenda-quit): Copy the code for optionally
9115         restoring window configuration after burying the sticky agenda
9116         buffer.
9118         * org-agenda.el (org-agenda-new-marker): Check for NIL
9119         org-agenda-buffer
9120         (org-agenda-to-appt): Bind org-agenda-buffer to NIL
9122         * org-agenda.el (org-agenda-change-all-lines): Move accessing of
9123         'extra text property outside of with-current-buffer for original
9124         buffer
9126         * org-agenda.el (defvar org-habit-show-habits-only-for-today):
9127         initialize to nil
9129 2012-09-30  Michael Brand  <michael.ch.brand@gmail.com>
9131         * org-id.el (org-id-link-to-org-use-id): Align the doc string to
9132         the changed default.
9134         * ob-tangle.el (org-babel-tangle-collect-blocks): Use dummy string
9135         when heading has no text.
9137         * org-capture.el (org-capture-inside-embedded-elisp-p):
9138         Improve parsing.
9140         * org-feed.el (org-feed-format-entry): Require `org-capture'.
9141         Expand Elisp %(...) templates.
9142         (org-feed-default-template): Update docstring.
9144         * org-capture.el (org-capture-expand-embedded-elisp):
9145         New function.
9146         (org-capture-fill-template): Use it.
9147         (org-capture-inside-embedded-elisp-p): New function to tell if we
9148         are within an Elisp %(...) template.
9150         * org-list.el (org-at-item-description-p)
9151         (org-list-item-body-column): Make the inline regexp more
9152         consistent with `org-list-full-item-re', the inline regexp
9153         "Description list items" from `org-set-font-lock-defaults and
9154         others'.
9156 2012-09-30  Mike Sperber  <sperber@deinprogramm.de>
9158         * org.el (org-fill-paragraph): Pass optional argument to
9159         `fill-paragraph' to fix compatibility with XEmacs.
9161         * org.el (org-self-insert-cluster-for-undo):
9162         Default `org-self-insert-cluster-for-undo' also on XEmacs.
9164         * org.el (org-kill-line): Access `visual-line-mode' only if it's
9165         bound.
9167 2012-09-30  Muchenxuan Tong  <demon386@gmail.com>  (tiny change)
9169         * org-timer.el (org-timer-set-mode-line):
9170         Check `org-timer-display' when value is 'off.
9172 2012-09-30  Nicolas Calderon Asselin  <nicolas.calderon.asselin@gmail.com>  (tiny change)
9174         * org-clock.el (org-clock-idle-time): Org-mode assumed that
9175         x11idle was an available command, and returned an idle time of 0
9176         if it was not
9177         (never idle): Added checks so that org-idle-time will come from
9178         emacs' own current-idle-time if x11idle cannot be found or if it
9179         cannot retrieve the idle time from X11
9181 2012-09-30  Nicolas Goaziou  <n.goaziou@gmail.com>
9183         * org-element.el: Properly remove COMMENT and QUOTE keywords from
9184         title in parser.
9186         * org-element.el (org-element-headline-parser): Fix parsing for
9187         headlines with a single COMMENT or QUOTE keyword.
9189         * ob-org.el (org-babel-default-header-args:org): By default,
9190         export code from Org src blocks.
9192         * org-element.el (org-element-inline-src-block-successor):
9193         Fix inline-src-block parsing at the beginning of an item.
9195         * org-element.el (org-element--collect-affiliated-keywords):
9196         Fix caption parsing.
9198         * org-element.el (org-element--current-element): At the very
9199         beginning of a footnote definition or an item, next element is
9200         always a paragraph.
9202         * org-element.el (org-element-headline-parser): Handle nil titles.
9203         (org-element-inlinetask-parser): Add :raw-value property.
9204         Also handle nil titles.
9206         * org.el (org-set-regexps-and-options): Don't consider tags as a
9207         replacement for a missing title in an headline.
9209         * org.el (org-setup-filling): Remove duplicate code.
9211         * org.el (org-adaptive-fill-function): Make sure fill prefix is
9212         computed from beginning of line.
9214         * org-element.el (org-element-section-parser): Make sure section
9215         cannot contain an headline.
9216         (org-element--current-element): Fix bug requiring to parse a quote
9217         section even when point is at an headline.
9219         * org.el (org-adaptive-fill-function): Remove occasional spurious
9220         space character when auto-filling.
9222         * org.el (org-mode): Call external initalizers.  Now both filling
9223         code and comments code have their own independant part in org.el.
9224         (org-setup-filling): Rename from `org-set-autofill-regexps'.
9225         (org-setup-comments-handling): New function.
9227         * org.el (org-fill-paragraph): Refine filling in comments and in
9228         paragraphs.  Allow commented blank lines.  Take into consideration
9229         the indentation of the second line of the paragraph being filled.
9230         (org-comment-or-uncomment-region): Rewrite function.  Now comment
9231         region at a fixed column: the minimal indentation of the region.
9232         (org-fill-context-prefix): Rename function into
9233         `org-adaptive-fill-function'.  Also, In a paragraph, choose the
9234         same prefix as the current line.
9236         * org-exp.el (org-export-handle-comments): Also remove comments at
9237         column 0.
9239         * org-exp.el (org-export-handle-comments): Handle inline comments
9240         with new syntax.
9242         * org.el (org-structure-template-alist): Add missing colon to
9243         #+INCLUDE.
9245         * org.el (org-backward-element): When called at the beginning of
9246         first element in section, the function shouldn't return an error
9247         but move point to headline or point-min instead.
9249         * org-element.el (org-element-paragraph-parser): Tiny refactoring.
9251         * org-element.el (org-element-paragraph-parser): Remove trailing
9252         code comments.
9254         * org.el (org-fill-context-prefix): Fix incorrect output when
9255         called at the beginning of a plain list with an affiliated
9256         keyword.
9257         (org-fill-paragraph): Remove useless variable.
9259         * org-element.el (org-element-paragraph-parser): Fix parsing of
9260         paragraph at the beginning of an item.
9262         * org.el (org-mode): Set back comment-start-skip so comment-dwim
9263         can tell a keyword from a comment.
9265         * org.el (org-set-autofill-regexps): Install new comment line
9266         break function.
9267         (org-comment-line-break-function): New function.
9268         (org-mode): Remove unnecessary line.
9270         * org.el (org-fill-context-prefix, org-fill-paragraph): Do not
9271         fill verse blocks contents.  Verse blocks can be used to format
9272         free-form poetry, so filling has to be done manually.
9274         * org.el (org-fill-paragraph-separate-nobreak-p): New function.
9275         (org-set-autofill-regexps): Introduce new predicate.
9276         (org-fill-item-nobreak-p): Remove function.
9278         * org-element.el (org-element-paragraph-separate): Since this
9279         variable is meant to be searched forward, \end{...} shouldn't
9280         trigger the end of a paragraph before checking if it is the end of
9281         a complete environment.
9282         (org-element-latex-environment-parser): Slight change to the
9283         regexp matching the beginning of a latex environment.
9284         (org-element-paragraph-parser): Paragraphs don't end at incomplete
9285         latex environments.
9286         (org-element-latex-or-entity-successor): Remove paragraph
9287         environments from latex fragment search.
9289         * org-table.el (org-table-number-regexp): By default, accept comma
9290         as a decimal mark to represent numbers.
9292         * org-element.el (org-element-map): Fix comment typo.
9294         * org.el (org-fill-paragraph): Add a `save-excursion' to avoid
9295         returning funny results.
9297         * org.el (org-fill-paragraph): Try not to include message header
9298         and citation lines in a paragraph when filling it.
9300         * org.el (org-fill-paragraph): Fix filling in a narrowed buffer.
9301         (org-fill-context-prefix): Fill prefix doesn't depend on current
9302         narrowing.
9304         * org.el (org-mode): Line with a single hash sign on it is a
9305         comment.
9307         * org.el (org-set-font-lock-defaults): Fix comment fontification.
9309         * org-element.el (org-element-item-parser): Do not remove tag from
9310         body if list isn't descriptive.
9312         * org-list.el (org-insert-item): Only ask about a term for
9313         descriptive lists.
9314         (org-list-struct, org-list-insert-item): Do not recognize a tag in
9315         an ordered list.
9317         * org-element.el (org-element-set-element): Rewrite function.
9318         (org-element-adopt-elements): New function.
9319         (org-element-adopt-element): Remove function.
9320         (org-element--parse-elements, org-element--parse-objects): Use new
9321         function.
9323         * org-list.el (org-list-automatic-rules): Remove `bullet' rule,
9324         which is now hard-coded.
9325         (org-cycle-list-bullet): Hard code `bullet' rule.
9326         (org-list-get-list-type): Make sure a list with numbered bullets
9327         cannot have `descriptive' type.
9329         * org-element.el (org-element-paragraph-parser): Fix previous
9330         patch.
9332         * org.el (org-fill-paragraph): No need to use
9333         `org-element-paragraph-separate' in a verse block since blank
9334         lines only can end a "paragraph".
9336         * org-element.el (org-element-paragraph-separate): Apply changes
9337         to comments.
9338         (org-element-paragraph-parser): Correctly find end of paragraphs.
9339         (org-element--current-element): Require colons for Babel calls.
9340         (org-element-center-block-parser)
9341         (org-element-dynamic-block-parser, org-element-quote-block-parser)
9342         (org-element-special-block-parser)
9343         (org-element-comment-block-parser)
9344         (org-element-example-block-parser)
9345         (org-element-export-block-parser, org-element-src-block-parser)
9346         (org-element-verse-block-parser): Fall-back to paragraph parsing
9347         when incomplete or ill-formed.
9349         * org-element.el (org-element-swap-A-B): Small refactoring.
9351         * org-element.el (org-element-text-markup-successor): Fix typo in
9352         docstring.
9354         * org-element.el (org-element-at-point): Return consistent value
9355         when function is called on a blank line within a plain list.
9357         * org-element.el (org-element-paragraph-separate): Fix comments in
9358         paragraph separator regexp.  Optimize it.
9360         * org-element.el: Update code commets.
9362         * org.el (org-mark-subtree): Fix bug when marking subtree with
9363         point on an inlinetask.  Refactor code.
9365         * org.el (org-mark-subtree): Do not make a special case for
9366         inlinetasks when marking a subtree.  These are handled by
9367         `org-element-mark-element'.
9369         * org-element.el (org-element-comment-parser): Consider first "+"
9370         as a comment when parsing an ill-defined keyword.
9372         * org-element.el (org-element-item-interpreter): Simplify bullet
9373         creation.
9374         (org-element-plain-list-interpreter): Fix wrong bullets, if
9375         needed.
9377         * org-element.el (org-element-comment-parser): Fix parsing when a
9378         keyword follows the commented line.
9380         * org.el (org-fill-context-prefix): Auto-fill first paragraph in
9381         footnote definitions.
9383         * org.el (org-mode): Define new comment syntax.
9384         (org-fontify-meta-lines-and-blocks-1, org-strip-protective-commas)
9385         (org-fill-context-prefix, org-insert-comment)
9386         (org-comment-or-uncomment-region): Use new comment syntax.
9388         * org-element.el (org-element-comment-parser)
9389         (org-element-comment-interpreter, org-element--current-element):
9390         Use new comment syntax.
9392         * org.el (org-fill-paragraph): When at an item or a footnote
9393         definition, fill first paragraph instead.
9395         * org.el (org-fill-paragraph): Fix filling when point is at the
9396         very end of a paragraph.
9398         * org.el (org-mode): Set comments related variables.
9399         (org-insert-comment, org-comment-or-uncomment-region):
9400         New functions.
9402         * org.el (org-fill-context-prefix): Small refactoring.
9403         (org-fill-paragraph): Add code comments.
9405         * org-element.el (org-element-at-point): Add :parent property to
9406         output.
9407         (org-element-context): Add :parent property to output.
9408         Also return a single element or object instead of a list of parents.
9409         (org-element-forward, org-element-up): Apply changes.
9411         * org.el (org-fill-context-prefix): New function.
9412         (org-fill-paragraph, org-auto-fill-function): Use new function.
9413         Also handle comments.
9414         (org-adaptive-fill-function): Remove function.
9415         (org-get-local-variables, orgstruct++-mode): Don't store now
9416         unused adaptive-fill* functions.
9418         * org-element.el (org-element-at-point): Fix function when buffer
9419         starts with an inlinetask.  Also fix it when called on the last
9420         element in a greater element or the buffer.
9422         * org-element.el (org-element-center-block-parser)
9423         (org-element-dynamic-block-parser)
9424         (org-element-footnote-definition-parser)
9425         (org-element-headline-parser, org-element-inlinetask-parser)
9426         (org-element-quote-block-parser, org-element-special-block-parser)
9427         (org-element-plain-list-parser): Refactor code.
9428         (org-element-drawer-parser): Fall-back to paragraph parser when
9429         drawer is incomplete.
9431         * org-macs.el (org-with-limited-levels): Fix typo.
9433         * org-element.el (org-element-paragraph-separate): Refactor.
9434         (org-element-paragraph-parser): Fix paragraph parsing.
9436         * org.el (org-fill-paragraph): Rewrite function using
9437         `org-element-at-point'.
9439         * org-element.el (org-element-fill-paragraph): Remove function.
9441         * org.el (org-planning-or-clock-line-re): Make it a defconst.
9442         It's no use to make it a buffer-local variable since variables on
9443         which it depends are not buffer-local anyway.
9445         * org.el (org-drawer-regexp): Provide default value for
9446         `org-drawer-regexp' in non-Org buffers.
9448         * org-entities.el (org-entities-create-table): Function chokes
9449         when CAR of `org-entities' is a string.
9451         * org-list.el (org-list-automatic-rules): Allow check-boxes in
9452         description lists.
9453         (org-list-struct-apply-struct, org-insert-item): Remove rule
9454         check.
9456         * org-footnote.el (org-footnote-normalize): Fix positionning in
9457         HTML export without a footnote section.
9459         * org-list.el (org-list-struct-indent):
9460         Follow `org-list-demote-modify-bullet' specifications for ordered
9461         bullets.
9462         (org-list-indent-item-generic, org-indent-item-tree)
9463         (org-outdent-item-tree): Fix bug when operating on a region.
9464         (org-outdent-item, org-indent-item): Allow to operate on a region.
9466         * org.el (org-shiftmetaleft, org-shiftmetaright): Allow to operate
9467         on a region.
9469         * org-footnote.el (org-footnote-delete-definitions): Remove blank
9470         lines before the footnote definition instead of removing those
9471         after it.
9473         * org-footnote.el (org-footnote-at-definition-p): Don't grab
9474         trailing blank lines in a footnote definition.
9475         (org-footnote-delete-definitions): Remove both footnote definition
9476         and trailing blank lines.
9478 2012-09-30  Rick Frankel  <rick@rickster.com>
9480         * ob-sql.el: Add dbi engine type and pre/post processing.
9482 2012-09-30  Sean O'Halpin  <sean.ohalpin@gmail.com>  (tiny change)
9484         * ob.el (org-babel-expand-noweb-references): Capture current noweb
9485         start and end patterns then use to set buffer locals in
9486         (with-temp-buffer) form.
9488 2012-09-30  Sebastien Vauban  <sva@mygooglest.com>  (tiny change)
9490         * org.el (org-update-all-dblocks): Autoload function.
9492 2012-09-30  Simon Thum  <simon.thum@gmx.de>  (tiny change)
9494         * ob-maxima.el (org-babel-execute:maxima): Let cmdline always
9495         return a string.
9497 2012-09-30  Stephen Eglen  <S.J.Eglen@damtp.cam.ac.uk>  (tiny change)
9499         * org-icalendar.el (org-icalendar-timezone): Fix typo and clarify
9500         meaning.
9502 2012-09-30  Stuart Hickinbottom  <stuart@hickinbottom.com>  (tiny change)
9504         * org-clock.el (org-x11idle-exists-p): Only shell out when running
9505         on X.
9507 2012-09-30  Suhail Shergill  <suhailshergill@gmail.com>  (tiny change)
9509         * org-html.el (org-export-as-html): If possible, use the
9510         :CUSTOM_ID: property to assign unique ids to footnotes.
9512 2012-09-30  T.F. Torrey  <tftorrey@tftorrey.com>  (tiny change)
9514         * org-exp.el (org-export-remember-html-container-classes):
9515         Allow exporting a single subtree with HTML_CONTAINER_CLASS property.
9517         * org-rmail.el (org-rmail-follow-link): Use `rmail-widen' instead
9518         of `widen' and don't toggle header as `rmail-widen' already takes
9519         care of this.
9521 2012-09-30  Tim Howe  <vsync@quadium.net>  (tiny change)
9523         * org-clock.el (org-clocktable-defaults): Revert extra layer of
9524         quoting.
9526 2012-09-30  Toby S. Cubitt  <tsc25@cantab.net>
9528         * org-capture.el (org-capture-fill-template): Expand %<num> escape
9529         sequences into text entered for <num>'th %^{PROMPT} escape.
9531         * org-capture.el (org-capture-fill-template): Fix regexp for
9532         %<n> expandos to match any positive integer.
9533         (org-capture-templates): Update docstring accordingly.
9535         * org-agenda.el (org-agenda-skip-timestamp-if-deadline-is-shown):
9536         Skip timestamp items in agenda view if item is already shown as a
9537         deadline item.
9538         (org-agenda-skip-deadline-if-done): Pass deadline results to
9539         org-agenda-get-timestamps.
9540         (org-agenda-get-timestamps): Optionally take list of deadline
9541         results, so that timestamp results can be skipped if already
9542         included in deadline results.
9544         * org-agenda.el (org-agenda-diary-sexp-prefix): Regexp matching
9545         deadline/scheduling information to be displayed in diary sexp
9546         agenda items.
9547         (org-agenda-get-sexps): Extract deadline/scheduling information
9548         from diary sexp entries.
9550         * org-capture.el (org-capture-place-entry): Place captured entry
9551         immediately after last subheading of target, instead of just
9552         before next heading at same level as target.
9554         * org-capture.el (org-capture-templates): Document new capture
9555         template properties.
9557         * org-capture.el (org-capture-place-entry)
9558         (org-capture-empty-lines-before): Make new :empty-lines-before
9559         property override :empty-lines when inserting empty lines before
9560         captured captured entry.
9562         * org-capture.el (org-capture-finalize)
9563         (org-capture-empty-lines-after): Make new :empty-lines-after
9564         property override :empty-lines when inserting empty lines after
9565         captured captured entry.
9567         * org-agenda.el (org-agenda-skip-if, org-agenda-skip-if-todo):
9568         Add new todo-unblocked and nottodo-unblocked skip conditions.
9569         These match as for todo and nottodo, but only for unblocked todo items.
9571 2012-09-30  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
9573         * org.el (org-read-date-display): Fix bug when displaying the
9574         overlay.
9576 2012-09-30  Niels Giesen  <niels.giesen@gmail.com>
9578         * org-table.el (orgtbl-to-generic): Add check for :skipheadrule.
9579         When present, the :hline following the head will be skipped.
9580         This is necessary to avoid doubling of horizontal rules in LaTeX
9581         longtable environments and consequent width problems.
9583         * org-latex.el (org-export-latex-tables-tstart)
9584         (org-export-latex-tables-hline)
9585         (org-export-latex-tables-tend): New options.
9586         (org-export-latex-tables): Use the new options.
9588 2012-09-30  Feng Shu  <tumashu@gmail.com>  (tiny change)
9590         * org-exp.el (org-export-language-setup): Add simplified chinese
9591         translation.
9593 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
9595         Better seed support for (random).
9596         * org-id.el (org-id-uuid):
9597         Change (random t) to (random), now that the latter is more random.
9599 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
9601         Don't use the abbreviation "win" to refer to Windows (Bug#10421).
9602         * ob-lilypond.el (ly-w32-ly-path): Rename from ly-win32-ly-path.
9603         (ly-w32-pdf-path): Rename from ly-win32-pdf-path.
9604         (ly-w32-midi-path): Rename from ly-win32-midi-path.
9605         (ly-determine-ly-path, ly-determine-pdf-path, ly-determine-midi-path):
9606         Check for "windows-nt", not "win32", in system-type.
9608 2012-06-02  Chong Yidong  <cyd@gnu.org>
9610         * org-clock.el (org-clock-string-limit)
9611         (org-clock-modeline-total, org-clock-task-overrun-text)
9612         (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
9614 2012-05-27  Mark Shoulson  <mark@kli.org>  (tiny change)
9616         * org.el (org-fontify-entities): Fix bug: The entities \sup[123] and
9617         \there4 were not "prettified" when org-pretty-entities was enabled.
9619 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
9621         * org.el (org-font-lock-add-priority-faces):
9622         Restrict priorities fontification to headlines and inlinetasks.
9624 2012-05-27  Jambunathan K  <kjambunathan@gmail.com>
9626         * org-odt.el (org-odt-init-outfile)
9627         (org-odt-write-manifest-file):
9628         Disable `nxml-auto-insert-xml-declaration-flag'.
9630         * org-lparse.el (org-do-lparse): Don't trigger auto-mode processing.
9632 2012-05-27  Bastien Guerry  <bzg@gnu.org>
9634         * org.el (org-scan-tags): Fix bug when building the scanner regexp.
9636 2012-05-27  Eric Schulte  <eric.schulte@gmx.com>
9638         * ob.el (org-babel-capitalize-examplize-region-markers):
9639         Controls the capitalization of begin and end example blocks.
9640         (org-babel-examplize-region):
9641         Optionally capitalize example block delimiters.
9643         * ob-plantuml.el (org-babel-execute:plantuml):
9644         Add a :java header argument to plantuml.
9646         * org-exp-blocks.el (org-export-blocks-preprocess):
9647         Even when the body of a block is not indented the boundary markers
9648         should be indented to their original positions so things like list
9649         indentation still work.
9651         * ob.el (org-babel-parse-src-block-match):
9652         Save match data during indentation check.
9654 2012-05-27  Bastien Guerry  <bzg@gnu.org>
9656         * org.el (org-scan-tags): Correctly match TODO keywords.
9658 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
9660         * org-list.el (org-list-struct): Fix white spaces.
9661         (org-list-swap-items, org-list-send-item): Fix visibility preservation.
9663         * org-list.el (org-list-swap-items, org-list-send-item):
9664         Preserve visibility when moving items.
9666 2012-05-27  Mark E. Shoulson  <mark@kli.org>  (tiny change)
9668         * org.el (org-fontify-entities): Hide {} when prettifying entities.
9670 2012-05-27  Bastien Guerry  <bzg@gnu.org>
9672         * org.el (org-cycle-internal-global): Prevent the display of
9673         messages when cycling from with a Gnus article buffer.
9675         * org-table.el (org-table-time-seconds-to-string):
9676         Fix bug about handling a negative duration value.
9678 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
9680         * org.el (org-link-expand-abbrev): Fix docstring.
9682         * org.el (org-translate-link): Fix bug.
9684 2012-05-27  Bastien Guerry  <bzg@gnu.org>
9686         * org-agenda.el (org-agenda-bulk-mark-regexp):
9687         Fix bug when setting the number of marked entries.
9689         * org-table.el (org-tbl-calc-modes): Rename from `org-table-modes'.
9690         (org-set-calc-mode, org-table-eval-formula): Use it.
9692 2012-05-27  Eric Schulte  <eric.schulte@gmx.com>
9694         * ob.el (org-babel-find-named-result):
9695         Fix bug finding empty named results.
9697 2012-05-27  Nicolas Goaziou  <n.goaziou@gmail.com>
9699         * org.el (org-set-regexps-and-options):
9700         Fix `org-planning-or-clock-line-re' regexp.  Indeed "\\>" will never
9701         match since time keywords must end with colons, which are not word
9702         constituents.
9704 2012-05-27  Bastien Guerry  <bzg@gnu.org>
9706         * org-ctags.el (org-ctags-new-topic-template):
9707         Fix the option default value back again.
9709 2012-05-27  Eric Schulte  <eric.schulte@gmx.com>
9711         * org-bibtex.el (org-bibtex-export-to-kill-ring):
9712         Don't rely on kill-new to return a string.
9714         * org-bibtex.el (org-bibtex-headline):
9715         Remove call to bibtex-reformat which often hangs.
9717 2012-04-27  Glenn Morris  <rgm@gnu.org>
9719         * org-ctags.el (org-ctags-new-topic-template):
9720         Revert 2012-04-09 removal of * from defcustom value, not doc.
9722 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
9724         * org-table.el (org-table-number-fraction): Fix typo.
9726 2012-04-27  Eric Schulte  <eric.schulte@gmx.com>
9728         * ob-python.el (org-babel-execute:python): Ensure newline precedes
9729         automatically-added returns.
9731 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
9733         * org-mouse.el (org-mode-hook): Do not move point when clicking on
9734         a footnote reference.
9736 2012-04-27  Bastien Guerry  <bzg@gnu.org>
9738         * org-faces.el (org-date-selected): Fix docstring.
9740 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
9742         * org-list.el (org-list-struct-indent):
9743         Follow `org-list-demote-modify-bullet' specifications for ordered
9744         bullets.
9745         (org-list-indent-item-generic, org-indent-item-tree)
9746         (org-outdent-item-tree): Fix bug when operating on a region.
9747         (org-outdent-item, org-indent-item): Allow to operate on a region.
9749         * org.el (org-shiftmetaleft, org-shiftmetaright): Allow to operate
9750         on a region.
9752 2012-04-27  Nicolas Goaziou  <n.goaziou@gmail.com>
9754         * org-footnote.el (org-footnote-normalize): Fix positioning in
9755         HTML export without a footnote section.
9757 2012-04-27  Madan Ramakrishnan  <madanr79@gmail.com>  (tiny change)
9759         * org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as
9760         advertised by the function.
9762 2012-04-27  Zachary Kanfer  <zkanfer@gmail.com>  (tiny change)
9764         * org.el (org-read-date-display): Fix bug when displaying the
9765         overlay.
9767 2012-04-27  Bastien Guerry  <bzg@gnu.org>
9769         * org.el (org-mode): Don't use `buffer-face-mode' by default.
9771 2012-04-27  Bastien Guerry  <bzg@gnu.org>
9773         * org-faces.el (org-date-selected): New face.
9775 2012-04-27  Jambunathan K  <kjambunathan@gmail.com>
9777         * org-odt.el (org-odt-format-org-link): Pay no heed to whether the
9778         internal links destined for headlines provide a description or
9779         not.  In fact, the `org-store-link' and `org-insert-link' create
9780         internal links which do have a description.
9782 2012-04-27  Bastien Guerry  <bzg@gnu.org>
9784         * org-clock.el (org-program-exists): Fix docstring.
9786 2012-04-14  Bastien Guerry  <bzg@gnu.org>
9788         * org.el (org-point-at-end-of-empty-headline): Only try to match
9789         `org-todo-line-regexp' when the value is non-nil, e.g. in non-org
9790         modes.
9791         (org-fontify-meta-lines-and-blocks-1): Prevent errors when trying
9792         to fontify beyond (point-max).
9794         * org-clock.el (org-clock-task-overrun-text)
9795         (org-task-overrun, org-clock-get-clock-string)
9796         (org-clock-update-mode-line)
9797         (org-clock-notify-once-if-expired): Rename `org-task-overrun'
9798         and `org-task-overrun-text' to `org-clock-task-overrun' and
9799         `org-clock-task-overrun-text' respectively.
9800         (org-task-overrun-text): New alias.
9802         * org-table.el (org-table-eval-formula): Fix bug about handling
9803         remote references as durations.
9804         (org-table-get-range): Fix bug: make sure references to $0 are
9805         correctly handled.
9807         * org-pcomplete.el (pcomplete/org-mode/file-option):
9808         Fix bug in `pcomplete/org-mode/file-option'.
9809         (org-thing-at-point): Also match line options like LATEX_CLASS
9810         when pcompleting from LATEX_.
9812         * org-agenda.el (org-agenda-filter-make-matcher)
9813         (org-agenda-filter-apply): Allow filtering entries out by
9814         category.  Using `C-u <' from the agenda view will redisplay
9815         the agenda without entries from categories of the current line.
9817 2012-04-14  Eric Schulte  <eric.schulte@gmx.com>
9819         * ob-C.el (org-babel-C-ensure-main-wrap):
9820         Add an explicit return to automatically generated main methods.
9822 2012-04-14  Matt Lundin  <mdl@imapmail.org>
9824         * org.el (org-after-todo-state-change-hook):
9825         Fix docstring to reflect name change of state to `org-state'.
9827 2012-04-14  Mike Sperber  <sperber@deinprogramm.de>  (tiny change)
9829         * org-footnote.el (org-footnote-normalize):
9830         Correctly pass keyword arguments to `org-export-preprocess-string'.
9832 2012-04-03  Bastien Guerry  <bzg@gnu.org>
9834         * org.el (org-todo): Fix regression: rename `state' to
9835         `org-state'.
9836         (org-use-effective-time): Fix group and type.
9838 2012-04-02  Bastien Guerry  <bzg@gnu.org>
9840         * org-clock.el (org-clock-out-if-current): Fix regression: rename
9841         `org-clock-state' to `org-state' to match the name of the
9842         dynamically-scoped variable in `org-todo'.
9844         * org-agenda.el (entry, org-diary, org-class): Fix regression:
9845         rename `org-entry' to `entry'.
9847 2012-04-01  Bastien Guerry  <bzg@gnu.org>
9849         * org.el (org-todo): Fix regression in `org-todo'.
9851 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
9853         * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled
9854         C files on windows.
9856 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
9858         * ob-exp.el (org-babel-exp-code): Escape all lines when exporting
9859         Org-mode blocks.
9861         * ob.el (org-babel-parse-src-block-match): Make use of the new
9862         language argument to org-babel-strip-protective-commas.
9863         (org-babel-parse-inline-src-block-match): Make use of the new
9864         language argument to org-babel-strip-protective-commas.
9865         (org-babel-strip-protective-commas): Now accepts a language
9866         argument.
9868 2012-04-01  Bastien Guerry  <bzg@gnu.org>
9870         * org.el (org-fast-tag-selection): Fix an bug when listing tags
9871         for completion.
9873 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
9875         * org.el (org-delete-property-globally): Fix a bug that left
9876         blank line in place of the property, instead of removing the line.
9878 2012-04-01  Bastien Guerry  <bzg@gnu.org>
9880         * ob-maxima.el (org-babel-maxima-command): Add group information
9881         to the defcustom.
9883 2012-04-01  Bastien Guerry  <bzg@gnu.org>
9885         * org.el (org-mode): Use `buffer-face-mode' to remap the 'default
9886         face to 'org-default.
9888 2012-04-01  Bastien Guerry  <bzg@gnu.org>
9890         * org-ascii.el (org-export-as-ascii): Fix escaping of underscores
9891         in links.
9893 2012-04-01  Bastien Guerry  <bzg@gnu.org>
9895         * org.el: Prevent a bug while defining the menu by requiring
9896         `org-beamer' when necessary.
9898 2012-04-01  Bastien Guerry  <bzg@gnu.org>
9900         * org-table.el (orgtbl-self-insert-command):
9901         Use `backward-delete-char' instead of `delete-backward-char' as this
9902         last command gets caught by the compiler which says to not use it
9903         in programs.  `backward-delete-char' is just an alias for
9904         `delete-backward-char' which is internally remapped to
9905         `org-delete-backward-char' for optimization purpose.
9907 2012-04-01  Bastien Guerry  <bzg@gnu.org>
9909         * org-latex.el (org-export-latex-subcontent): Bugfix: when
9910         `org-export-latex-low-levels' is nil, do not export low levels.
9912 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
9914         * ob.el (org-babel-insert-result): Fix bug in indented wrapped
9915         results insertion.
9917 2012-04-01  Bastien Guerry  <bzg@gnu.org>
9919         * org.el (org-set-tags): Include `org-tag-alist' in the list of
9920         possible completions, even when there are tags defined in the
9921         buffer.
9923 2012-04-01  Bastien Guerry  <bzg@gnu.org>
9925         * org-mime.el (org-mime-htmlize):
9926         Set `org-export-with-LaTeX-fragments' correctly.
9928 2012-04-01  Bastien Guerry  <bzg@gnu.org>
9930         * org.el (org-set-tags): Don't add a column when there is only one
9931         tag offered for completion.
9933 2012-04-01  Bastien Guerry  <bzg@gnu.org>
9935         * org.el (org-fast-tag-selection): Include tags from
9936         `org-tag-alist' when completing with the TAB key.
9938 2012-04-01  Shoji Nishimura  <nishimura.shoji@gmail.com>  (tiny change)
9940         * org.el (org-display-inline-images): Honor the ̀beg' parameter.
9942 2012-04-01  Bastien Guerry  <bzg@gnu.org>
9944         * org-latex.el (org-export-latex-subcontent): Don't insert a
9945         linebreak when itemizing a subtree that is just a headline.
9947 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
9949         * ob-lob.el (org-babel-lob-get-info): Remove extra []s when
9950         parsing inline call_foo lines.
9952 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
9954         * ob-maxima.el (org-babel-maxima-command): The maxima command used
9955         should be configurable (defaults to maxima-command if defined).
9956         (org-babel-execute:maxima): The maxima command used should be
9957         configurable (defaults to maxima-command if defined).
9959 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
9961         * ob-C.el (org-babel-C-execute): Add the local directory to the
9962         library search path for C/C++ block compilation.
9964 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
9966         * ob.el (org-babel-where-is-src-block-result): Don't truncate
9967         results name on call line execution.
9969 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
9971         * org-colview.el (org-columns-cleanup-item): Handle case of empty
9972         headline.
9974 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
9976         * org-footnote.el (org-footnote-delete-definitions): Fix LaTeX
9977         export error when a src block produces fake footnotes.
9979 2012-04-01  Bastien Guerry  <bzg@gnu.org>
9981         * org.el (org-read-date): Don't mention `parse-time-weekdays' and
9982         `parse-time-months' in the docstring.
9984 2012-04-01  Bastien Guerry  <bzg@gnu.org>
9986         * org-agenda.el (org-agenda-filter-apply): Bugfix: Add let
9987         binding.
9989 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
9991         * org-colview.el (org-columns-compute): Also consider inline tasks
9992         when computing the sum.
9994 2012-04-01  Thomas Morgan  <tlm@ziiuu.com>  (tiny change)
9996         * org-habit.el (org-habit-insert-consistency-graphs):
9997         Fix alignment of consistency graph in filtered agenda view.
9999 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10001         * org-latex.el (org-export-as-latex): Fix bug in setting the
10002         export directory according to the LaTeX options.
10004 2012-04-01  K.Nagashima  <uni.naga@gmail.com>  (tiny change)
10006         * org.el (org-show-subtree): Make interactive.
10008 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>
10010         * org-clock.el (org-clock-get-table-data): Make sure todo-only
10011         does not leak when it is set by make-org-tags-macher.
10013 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10015         * org.el (org-cycle-internal-local): Don't try to hide drawers
10016         within subtrees in this function, it slows cycling down.
10018 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10020         * org-agenda.el (org-agenda-custom-commands-local-options):
10021         Fix incorrect custom option definition.
10023 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10025         * org-colview.el (org-columns-display-here): Bugfix: use the date
10026         as the value for the ITEM column when displaying a summary.
10028 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
10030         * ob-lilypond.el: Re-direct homepage to Worg.
10032 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
10034         * ob-lilypond.el: Leave versioning to Org.
10036 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
10038         * ob-lilypond.el: Fix compiler warning.
10040 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
10042         * org-odt.el (org-odt-format-entity-caption): Enumerate entities
10043         that have either a caption or a label.
10044         (org-odt-label-styles, org-odt-category-map-alist): Add a
10045         separator between sequence number and caption.  Introduced two
10046         new label styles for handling of math formula and math label.
10047         (org-odt-format-label-definition)
10048         (org-export-odt-format-formula): Propagate above changes.
10050 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10052         * org.el (org-enforce-todo-dependencies): Fix docstring.
10054 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
10056         * org-odt.el (org-export-odt-category-strings): New custom
10057         variable.
10058         (org-odt-category-map-alist): Modify interpretation.
10059         Don't use the same field to double up as both a OpenDocument
10060         variable and a category string.  Entries in this list now
10061         specify only the OpenDocument variable.  Category strings are
10062         obtained through an indirect lookup of
10063         `org-export-odt-category-strings'.  Use same OpenDocument
10064         variables as what LibreOffice uses for various entities.
10065         Fix docstring.
10066         (org-odt-add-label-definition)
10067         (org-odt-format-label-definition)
10068         (org-odt-format-label-reference): Propagate above changes.
10070 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
10072         * org-latex.el (org-export-as-latex): Check TeX-master correctly.
10074 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
10076         * org-odt.el (org-odt-category-map-alist): Update docstring.
10077         (org-export-odt-user-categories)
10078         (org-export-odt-get-category-from-label)
10079         (org-odt-get-label-category-and-style): Remove.
10080         (org-odt-add-label-definition): Propagate above changes.
10082 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
10084         * org.el (org-refile): Don't allow creation of parents when using
10085         the refile command to go to a headline.
10087 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
10089         * org-odt.el (org-odt-format-org-link): Resolve links to headlines
10090         as section numbers only if section numbering is on.
10092 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10094         * org.el (format-spec): Require 'format-spec.
10096 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
10098         * org-latex.el (org-export-as-latex): Fix TeX-master declaration.
10100 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
10102         * org.el (org-imenu-get-tree): Check that looking-at succeeds
10103         before using match results.
10105 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10107         * org-exp-blocks.el (org-ditaa-jar-path): Make a defcustom.
10109 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
10111         * org-lparse.el (org-do-lparse): Make effective setting of
10112         `org-export-headline-levels' available to the ODT exporter.
10113         Also remove some stale comments.
10115 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
10117         * org-odt.el (org-odt-begin-toc): Handle named HTML entities in
10118         per-language string for "Table Of Contents".
10120 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10122         * org-exp-blocks.el (org-ditaa-jar-path): Fix merge conflict.
10124 2012-04-01  Shaun Johnson  <shaun@slugfest.demon.co.uk>  (tiny change)
10126         * org-exp-blocks.el (org-ditaa-jar-path): Better heuristic to find
10127         the libary name.
10129 2012-04-01  Suvayu Ali  <fatkasuvayu+linux@gmail.com>
10131         * org-src.el (org-edit-src-code): Change let bind to let*, e.g. if
10132         case-fold-search is bound to nil globally, the
10133         (case-fold-search t) doesn't work until we get to the body.
10135 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
10137         * org-latex.el (org-export-latex-tables): Allow to use
10138         sidewaystable.
10140 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10142         * ob.el (org-babel-expand-noweb-references): Fix bug in src name
10143         regexp when using *org-babel-use-quick-and-dirty-noweb-expansion*.
10145 2012-04-01  David Maus  <dmaus@ictsoc.de>
10147         * org.el (org-scan-tags): Require one or more spaces (+) between
10148         keyword and headline.
10150 2012-04-01  David Maus  <dmaus@ictsoc.de>
10152         * org-agenda.el (org-prepare-agenda): Don't reset
10153         `org-done-keywords-for-agenda' when `org-agenda-multi'.
10155 2012-04-01  Thomas Morgan  <tlm@ziiuu.com>  (tiny change)
10157         * org-habit.el (org-habit-insert-consistency-graphs): Fix bug
10158         while inserting habit graph in the agenda buffer.
10160 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
10162         * org-src.el (org-src-edit-buffer-p): New function.
10164 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
10166         * org-agenda.el (org-agenda-skip-if): Fix the order conditions are
10167         being checked.  Also enhance the docstring a bit.
10169 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
10171         * org-agenda.el (org-agenda-tree-to-indirect-buffer): Fix the
10172         display of indirect agenda window.
10174 2012-04-01  Bastien Guerry  <bzg@gnu.org>  (tiny change)
10176         * org.el (org-create-formula-image, org-dvipng-color): Fix XEmacs
10177         compatibility bug.
10179 2012-04-01  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
10181         * org-clock.el (org-clock-get-table-data): Bind org-scanner-tags
10182         to tags-list and org-trust-scanner-tags to t while evaluating the
10183         matcher, since the matcher is always evaluated at the current
10184         entry.
10186 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
10188         * org.el (org-scan-tags): Bind org-trust-scanner-tags to t while
10189         evaluating the matcher, since the matcher is always evaluated at
10190         the current entry.
10192 2012-04-01  Ilya Shlyakhter  <ilya_shl@alum.mit.edu>  (tiny change)
10194         * ob-lilypond.el (ly-compile-lilyfile): Fix misplaced comma in a
10195         quoting expression.
10197 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10199         * ob.el (org-babel-merge-params): Add "eval" as acceptable noweb
10200         argument.
10201         (org-babel-noweb-p): The "eval" argument only expands during
10202         evaluation.
10204 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10206         * ob.el (org-strip-protective-commas): Declared.
10208         * org-agenda.el (org-agenda-filtered-by-category): Declared.
10209         (org-agenda-filter-apply): Capture free variable.
10211         * org-footnote.el (org-skip-whitespace): Declared.
10213         * org-mobile.el (org-agenda-filter): Declared.
10215         * org-src.el (org-strip-protective-commas): Declared.
10217 2012-04-01  Sebastien Vauban  <sva@mygooglest.com>  (tiny change)
10219         * org.el (org-version): Add autoload cookie.
10221 2012-04-01  David Maus  <dmaus@ictsoc.de>
10223         * org-attach.el (org-attach-store-link-p): Remove spurious quote
10224         in customization form choice.
10226 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10228         * ob-sh.el (org-babel-execute:sh): Pass all params to subroutine.
10229         (org-babel-sh-evaluate): Apply :shebang and :padline to shell script
10230         execution.
10232 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10234         * ob.el (org-babel-insert-result): Ensure correct order for empty
10235         result wrapping blocks.
10237 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
10239         * ob-lilypond.el: Make auditioning of midi and pdf asynchronous,
10240         and add easy pdf generation in the form of `ly-gen-pdf' variable.
10242 2012-04-01  Deech  <deech@deech-ThinkPad-X200.none>  (tiny change)
10244         * ob-tangle.el (org-babel-spec-to-string): The link generated by
10245         org-store-link is escaped twice when tangling with ":comments yes"
10246         flag.
10248 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10250         * org-html.el (org-export-as-html): Remove another useless space
10251         before tag.
10253 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10255         * org-html.el (org-export-as-html): Remove another useless space
10256         before tag.
10258 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10260         * org-html.el (org-export-as-html): Remove useless space before
10261         tag.
10263 2012-04-01  Sebastien Vauban  <sva@mygooglest.com>  (tiny change)
10265         * org.el (org-version): Add autoload cookie.
10267 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10269         * org.el (org-get-category): Save match data.
10271 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10273         * ob-tangle.el (org-babel-tangle): Don't prompt for a file name if
10274         :tangle is specified.
10276         * ob.el (org-babel-expand-noweb-references): Widen buffer when
10277         expanding noweb references.
10279 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10281         * ob-table.el (sbe): Don't accidentally leave a `t' value when
10282         variables are force interpreted as strings.
10284 2012-04-01  David Maus  <dmaus@ictsoc.de>
10286         * org-bbdb.el (org-bbdb-open, org-bbdb-open-old)
10287         (org-bbdb-open-new): Pass record name to avoid dynamic scoping.
10289 2012-04-01  David Maus  <dmaus@ictsoc.de>
10291         * org-bbdb.el (bbdb-record-get-field, bbdb-search-name)
10292         (bbdb-search-organization): Declare functions to silence byte
10293         compiler.
10295 2012-04-01  Bernt Hansen  <bernt@norang.ca>
10297         * org.el (org-clone-subtree-with-time-shift): Fix task cloning for
10298         repeating tasks using .+n and ++n syntax.
10300 2012-04-01  Karl Fogel  <kfogel@red-bean.com>  (tiny change)
10302         * org-agenda.el (org-agenda-highlight-todo): Handle the case of a
10303         heading that has a date but no todo keyword.
10305 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10307         * ob.el (org-babel-find-named-result): Fix code block replacement
10308         with results.
10310 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10312         * org-footnote.el (org-footnote-normalize): Do not normalize
10313         labels when sort-only is non-nil.
10315 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10317         * org-footnote.el (org-footnote-normalize): Remove an useless part
10318         of the function.
10319         (org-insert-footnote-reference-near-definition): Remove function.
10321 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10323         * org-footnote.el (org-footnote-normalize): Fix normalization of
10324         inline footnotes with no footnote section.
10326 2012-04-01  David Maus  <dmaus@ictsoc.de>
10328         * org-bbdb.el (org-bbdb-old): Replace `defvar' after loading 'bbdb
10329         to check for old or new version by a check for the required
10330         function in `org-bbdb-open' and `org-bbdb-store-link'.
10331         (org-bbdb-store-link, org-bbdb-open): Check which version of bbdb is
10332         to be used.
10334 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10336         * ob.el (org-babel-find-named-result): Don't miss a code block
10337         when there are confounding spaces after the result name.
10339 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10341         * ob-lob.el (org-babel-block-lob-one-liner-regexp): Less greedy
10342         regular expressions.
10343         (org-babel-inline-lob-one-liner-regexp): Less greedy regular
10344         expressions.
10346 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10348         * ob.el (org-babel-examplize-region): Fix bug in examplization.
10350 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10352         * org.el (org-link-search): Search for #+name affiliated keywords
10353         and invisible targets.
10355 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
10357         * org-lparse.el (org-lparse-end-footnote-definition): Cleanup
10358         newlines in a transcoded footnote definition.  This ensures that
10359         the line that is currently being processed by `org-do-lparse' loop
10360         doesn't get broken up into multiple lines.  Fix for the following
10361         bug -
10363 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
10365         * org-footnote.el (org-footnote-normalize): Force a paragraph
10366         break after the last footnote definition.  This is an an implicit
10367         assumption made by the org-lparse.el library.  With this change,
10368         footnote definitions can reliably be exported with ODT backend.
10369         See http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg01013.html.
10371 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10373         * ob-ditaa.el (org-ditaa-jar-path): Fix a recursive load error.
10375 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10377         * org-list.el (org-list-struct): Fix small bug introduced by
10378         commit 8b7a3f249803aba612f9ad3ae50c2fc986247da4 in Org's git repo.
10380 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10382         * ob-ditaa.el (org-ditaa-jar-path): Already defined in
10383         org-exp-blocks.el.
10385         * org-exp-blocks.el (org-ditaa-jar-path): Declare appropriately
10386         for the fact that this is really now a Babel thing -- even if it
10387         is used here and the definition should remain here for reasons of
10388         load dependencies.
10390 2012-04-01  David Maus  <dmaus@ictsoc.de>
10392         * org-bbdb.el (org-bbdb-old): Wrap `defvar' so the variable gets
10393         defined after bbdb was loaded.
10395 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10397         * org-latex.el (org-export-latex-tables): Don't add spurious
10398         preceding newline if caption is not above a longtable.
10400 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
10402         * org-odt.el (org-odt-insert-toc): Remove this stray,
10403         dysfunctional routine.  This possibly has crept in because of the
10404         broken merges between "maint" and "origin" branches.
10405         (org-odt-begin-table): Don't emit an empty paragraph when a table is
10406         neither labeled nor captioned.
10407         (org-odt-init-outfile): Remove reference to an unused variable.
10409 2012-04-01  Viktor Rosenfeld  <listuser36@googlemail.com>
10411         * ob-sql.el (org-babel-execute:sql): Add support for MonetDB to
10412         SQL code blocks.
10414 2012-04-01  Andreas Leha  <andreas.leha@med.uni-goettingen.de>
10416         * ob.el (org-babel-goto-named-src-block): Pushing the point to the
10417         org-mark-ring and guessing at the code block name to jump to.
10419 2012-04-01  David Maus  <dmaus@ictsoc.de>
10421         * org-agenda.el (org-agenda-tree-to-indirect-buffer): Fix handling
10422         of indirect buffer and window.
10424 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10426         * org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes
10427         in verse blocks.
10429 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10431         * org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes
10432         in verse blocks.
10434 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10436         * org-exp.el (org-table-clean-before-export): Ignore table rows
10437         defining parameters for formulas during export.
10439 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10441         * org-list.el (org-list-get-item-number): New function.
10443 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10445         * org-list.el (org-list-ending-method, org-list-end-regexp):
10446         Remove variables.
10447         (org-in-item-p, org-list-separating-blank-lines-number)
10448         (org-list-parse-list, org-list-struct): Apply changes.
10450         * org-exp.el (org-export-mark-list-end)
10451         (org-export-mark-list-properties): Apply changes.
10453         * org-latex.el (org-export-latex-lists): Apply changes.
10455 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10457         * org.el (org-cycle-internal-local): Correctly unfold headlines
10458         containing an inlinetask.
10460 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10462         * org.el (org-structure-template-alist): Fix missing angle
10463         brackets for muse export style.
10465 2012-04-01  David Maus  <dmaus@ictsoc.de>
10467         * org.el (org-recenter-calendar): Use `with-selected-window' to
10468         select calendar window and save currently selected window and
10469         current buffer.
10471 2012-04-01  Toby S. Cubitt  <tsc25@cantab.net>  (tiny change)
10473         * org.el (org-goto): Call org-refile-get-location with NO-EXCLUDE
10474         argument set, otherwise not only are headlines in the current
10475         subtree excluded, but it throws an error if point happens not to
10476         be within a subtree (e.g. at start of buffer).
10478 2012-04-01  David Maus  <dmaus@ictsoc.de>
10480         * org.el (org-scan-tags): Fix highlighting in sparse-tree.
10482 2012-04-01  David Maus  <dmaus@ictsoc.de>
10484         * org-clock.el (org-in-clocktable-p): Move to org.el.
10486         * org.el (org-in-clocktable-p): New function.  Moved from
10487         org-clock.el.
10489 2012-04-01  David Maus  <dmaus@ictsoc.de>
10491         * org-exp.el (org-export-get-title-from-subtree): Don't format
10492         tags in title if title headline does not have tags.
10494 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10496         * org.el (org-cycle-internal-local): Fix bug: hide drawers in
10497         inline tasks too.
10499 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
10501         * org-odt.el (org-odt-format-preamble): Don't insert TOC here.
10502         Delay it till the end of export.
10503         (org-odt-begin-document-body): Make a note of the default
10504         position of TOC in `org-lparse-dyn-first-heading-pos'.
10505         (org-odt-insert-toc): Insert TOC as directed by
10506         [TABLE-OF-CONTENTS] line or at the default position.
10507         (org-odt-end-export): Call `org-odt-insert-toc'.
10509 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10511         * org.el (org-preview-latex-fragment): Throw an error when called
10512         from a non-file buffer.
10514 2012-04-01  David Maus  <dmaus@ictsoc.de>
10516         * org-capture.el (org-capture-place-item): Don't search for
10517         position in existing list if :exact-position was supplied.
10519 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10521         * org.el (org-set-font-lock-defaults): Fix bug in done headline
10522         fontification.
10524 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
10526         * org-odt.el (org-odt-format-textbox): Honor user-specified width
10527         in captioned images.
10529 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10531         * org.el (org-update-property-plist): Fix bug in property list
10532         updates.
10534 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10536         * ob.el (org-babel-balanced-split): Explicit checking if list
10537         before calling member.
10539 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10541         * ob-sqlite.el (org-babel-execute:sqlite): Specify the use of ","
10542         as the separator to `org-table-convert-region'.  Fixes errors when
10543         only one result per line of output.
10545 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10547         * ob.el (org-babel-strip-protective-commas):
10548         Use `org-strip-protective-commas'.
10550         * org-exp.el (org-export-select-backend-specific-text):
10551         Use `org-strip-protective-commas'.
10553         * org-src.el (org-edit-src-code):
10554         Use `org-strip-protective-commas'.
10556         * org.el (org-strip-protective-commas): Single definition for this
10557         functionality.
10559 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10561         * ob-sql.el: Mention ob-sqlite in the comments of ob-sql.
10563 2012-04-01  David Maus  <dmaus@ictsoc.de>
10565         * org-capture.el (org-capture-prepare-finalize-hook): New hook.
10566         Run before the finalization process starts.
10567         (org-capture-finalize): Run new hook.
10569 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10571         * org.el (org-entry-get): Generalize to multiple "prop+"
10572         properties.
10574 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10576         * org-src.el (org-src-mode-map): Rebinding `org-edit-src-save' in
10577         the `org-src-mode-map'.
10579 2012-04-01  David Maus  <dmaus@ictsoc.de>
10581         * org.el (org-recenter-calendar): Use `with-selected-window' to
10582         select calendar window and save currently selected window and
10583         current buffer.
10585 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10587         * org-list.el (org-list-ending-method, org-list-end-regexp):
10588         Remove variables.
10589         (org-in-item-p, org-list-separating-blank-lines-number)
10590         (org-list-parse-list, org-list-struct): Apply changes.
10592         * org-exp.el (org-export-mark-list-end)
10593         (org-export-mark-list-properties): Apply changes.
10595         * org-latex.el (org-export-latex-lists): Apply changes.
10597 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10599         * org.el (org-entry-get): Accumulate properties from subtree
10600         property drawers.
10602 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10604         * org.el (org-entry-get): Accumulate properties from subtree
10605         property drawers.
10607 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
10609         * org-odt.el (org-export-odt-image-size-probe-method)
10610         (org-odt-do-image-size): Use imagemagick preferentially to
10611         determine image sizes.
10613 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
10615         * org-odt.el (org-export-as-odt-to-buffer)
10616         (org-replace-region-by-odt, org-export-region-as-odt):
10617         Remove these interactive functions.  They are of questionable value.
10619 2012-04-01  Toby S. Cubitt  <tsc25@cantab.net>  (tiny change)
10621         * org.el (org-goto): Call org-refile-get-location with NO-EXCLUDE
10622         argument set, otherwise not only are headlines in the current
10623         subtree excluded, but it throws an error if point happens not to
10624         be within a subtree (e.g. at start of buffer).
10626 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10628         * org-exp.el (org-export-kill-product-buffer-when-displayed)
10629         (org-export-initial-scope, org-export-date-timestamp-format)
10630         (org-export-with-tasks, org-export-email-info)
10631         (org-export-table-remove-empty-lines): Add version tag.
10633 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10635         * org.el (org-cycle-internal-local): Correctly unfold headlines
10636         containing an inlinetask.
10638 2012-04-01  Bernt Hansen  <bernt@norang.ca>
10640         * org-clock.el (org-clock-out): Do not delete the current clocking
10641         task when org-clock-out-hook clocks in another task.
10643 2012-04-01  David Maus  <dmaus@ictsoc.de>
10645         * org.el (org-scan-tags): Fix highlighting in sparse-tree.
10647 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
10649         * org-odt.el (org-export-odt-convert-processes): Re-define
10650         (org-export-odt-convert-capabilities): Fix an accidental
10651         regression.
10653 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
10655         * org-odt.el (org-export-odt-convert-capabilities): Change the
10656         default value.
10658 2012-04-01  David Maus  <dmaus@ictsoc.de>
10660         * org-clock.el (org-in-clocktable-p): Move to org.el.
10662         * org.el (org-in-clocktable-p): New function.  Moved from org-clock.el.
10664 2012-04-01  David Maus  <dmaus@ictsoc.de>
10666         * org-exp.el (org-export-get-title-from-subtree): Don't format
10667         tags in title if title headline does not have tags.
10669 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10671         * org-footnote.el (org-blank-before-new-entry)
10672         (org-export-footnotes-seen, org-export-footnotes-data): Fix bogus
10673         declarations.
10675 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10677         * org.el (org-beginning-of-line, org-end-of-line): Fix special C-a
10678         and C-e behavior with visual lines.
10680 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10682         * org-exp-blocks.el (org-export-blocks): Change the name of
10683         exporting comment blocks given that it seems regular comment
10684         blocks no longer export.
10686 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10688         * ob-exp.el (org-babel-exp-get-export-buffer): Access current
10689         export buffer.
10690         (org-babel-exp-in-export-file): Access current export buffer.
10691         (org-babel-exp-src-block): Access current export buffer.
10692         (org-babel-exp-inline-src-blocks): Access current export buffer.
10694 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10696         * ob-exp.el (org-babel-exp-in-export-file)
10697         (org-babel-exp-src-block, org-babel-exp-inline-src-blocks):
10698         Allow org-current-export-file to contain a buffer.
10700 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
10702         * org-lparse.el (org-lparse-do-convert): Replace `call-process'
10703         with `shell-command-to-string'.
10705 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10707         * org-footnote.el (org-footnote-create-definition): Fix space
10708         insertion when creating a new footnote.  This fixes newline
10709         munching when `org-footnote-section' is nil and blank lines
10710         stacking when it isn't nil.
10712 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10714         * org-footnote.el (org-footnote-normalize): Make sure that
10715         footnotes are moved to a single place during export.
10717 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10719         * org-footnote.el (org-footnote-normalize): Ensure footnote
10720         definition will be inserted at the end of the section
10721         corresponding to to its first reference.
10723 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10725         * org-footnote.el (org-footnote-at-definition-p): Make sure to
10726         move point at the beginning of the separator before skiping white
10727         spaces.  Refactor code.
10729 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10731         * ob-exp.el (org-babel-exp-src-block): Strip noweb references on
10732         export when "strip-export".
10734         * ob.el (org-babel-common-header-args-w-values): New noweb
10735         header value.
10736         (org-babel-merge-params): New noweb header value.
10737         (org-babel-noweb-p): New noweb header value.
10739 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10741         * ob-tangle.el (org-babel-tangle-clean): Just use default value.
10743         * ob.el (org-babel-noweb-wrap): Add default value.
10744         (org-babel-expand-noweb-references): Just use default value.
10746 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10748         * org-exp.el (org-export-select-backend-specific-text): Always
10749         preserve original indentation as a text property so that lists do
10750         not get broken by indentation at column 0.
10752 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10754         * ob.el (org-babel-expand-noweb-references): Don't allow newlines
10755         in source names in noweb references.
10757 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10759         * org.el (org-fill-line-break-nobreak-p): New function.
10760         (org-set-autofill-regexps): Add previous function to
10761         `fill-nobreak-predicate'.
10763 2012-04-01  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
10765         * ob-R.el (org-babel-R-evaluate-session): Inhibit R evaluation
10766         visibility regardless of local user customization.
10768 2012-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
10770         * org-inlinetask.el (org-inlinetask-show-first-star): New option.
10771         (org-inlinetask-fontify): Honor `org-inlinetask-show-first-star'.
10773         * org-indent.el (org-indent-set-line-properties):
10774         Honor `org-inlinetask-show-first-star'.
10776 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10778         * org.el (org-set-regexps-and-options): Ensure `org-drawers'
10779         doesn't contain duplicates.
10781 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10783         * org.el (org-at-drawer-p): Normalize the docstring to match other
10784         `org-at-*-p' docstrings.
10785         (org-indent-block, org-indent-drawer, org-at-block-p):
10786         New functions.
10787         (org-metaright): Use the new functions to indent a drawer or a
10788         block depending on the context.  Also update the docstring.
10790 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10792         * org.el (org-set-regexps-and-options): Set the value of
10793         `org-drawers' by adding the value of the infile #+DRAWERS option
10794         to that of the existing `org-drawers'.
10796 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10798         * org.el (org-cycle-internal-local): Fix bug: hide drawers in
10799         inline tasks too.
10801 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10803         * org-inlinetask.el (org-inlinetask-toggle-visibility):
10804         Use `org-show-entry' instead of `outline-flag-region' to keep the
10805         drawers folded when unfolding an inline task.
10807 2012-04-01  Torsten Anders  <torsten.anders@beds.ac.uk>  (tiny change)
10809         * org-beamer.el (org-beamer-environments-default): Add support and
10810         keybinding for the `exampleblock' environment.
10812 2012-04-01  Michael Brand  <michael.ch.brand@gmail.com>
10814         * org.el (org-open-link-from-string): Regard `reference-buffer'
10815         when setting `org-inhibit-startup'.
10817 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10819         * ob-exp.el (org-babel-exp-non-block-elements): Don't insert extra
10820         space between inline src block and results on export.
10822 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10824         * ob.el (org-babel-get-inline-src-block-matches): Allow *any*
10825         punctuation to proceed an inline src block.
10827 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10829         * ob.el (org-babel-get-inline-src-block-matches): Add ( to the
10830         list of characters allowed to proceed an inline src block.
10832 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10834         * ob-tangle.el (org-babel-tangle-clean): Use the customizable
10835         noweb wrappers.
10837         * ob.el (org-babel-noweb-wrap-start): Begin a noweb reference.
10838         (org-babel-noweb-wrap-end): End a noweb reference.
10839         (org-babel-noweb-wrap): Apply the customizable noweb wrappers.
10840         (org-babel-expand-noweb-references): Use the customizable noweb
10841         wrappers.
10843 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10845         * org.el (org-beginning-of-line): Handle case when there's no
10846         character after box.
10848 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
10850         * org-odt.el (org-odt-format-preamble): Don't insert TOC here.
10851         Delay it till the end of export.
10852         (org-odt-begin-document-body): Make a note of the default
10853         position of TOC in `org-lparse-dyn-first-heading-pos'.
10854         (org-odt-insert-toc): Insert TOC as directed by
10855         [TABLE-OF-CONTENTS] line or at the default position.
10856         (org-odt-end-export): Call `org-odt-insert-toc'.
10858 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10860         * org.el (org-preview-latex-fragment): Throw an error when called
10861         from a non-file buffer.
10863 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10865         * org.el (org-insert-property-drawer): Not an interactive
10866         command anymore.
10867         (org-insert-drawer): With a prefix argument, insert a property
10868         drawer.  Check for headline within the region before inserting the
10869         drawer.  Don't include special drawers in the completion table.
10870         (org-mode-map): New keybinding `C-c C-x d' for
10871         `org-insert-drawer'.
10873 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10875         * org.el (org-insert-drawer): Support completion over known drawer
10876         names and inserting a drawer around the current region.
10878 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10880         * org.el (org-insert-drawer): New function.
10881         (org-insert-property-drawer): Use it.
10883 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10885         * org-list.el (org-mark-list): New function.
10887 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10889         * org-pcomplete.el (pcomplete/org-mode/drawer): New function to
10890         complete drawer at point.
10891         (org-thing-at-point): Use it.
10893 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10895         * org.el (org-meta-return): Use `newline-and-indent' when in a
10896         property drawer.
10898 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10900         * org.el (org-structure-template-alist): Fix docstring: the
10901         feature is not experimental anymore.
10903 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10905         * org-agenda.el (org-agenda-show-and-scroll-up): Allow `C-u' to
10906         display the item without unfolding drawers and logbooks.
10908 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10910         * org-src.el (org-edit-src-code): Make sure `buffer-file-name' is
10911         always nil.
10913 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10915         * org.el (org-structure-template-alist): Fix missing angle
10916         brackets for muse export style.
10918 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10920         * org.el (org-read-date): New parameter `inactive' when reading
10921         for insertion of inactive timestamps.
10922         (org-time-stamp, org-read-date-display): Use the new
10923         parameter.
10925 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10927         * ob.el (org-babel-expand-noweb-references): Only allow
10928         reference names which start and end with non-whitespace characters.
10929         Also, raise errors as appropriate given org-babel-noweb-error-langs.
10931 2012-04-01  Bastien Guerry  <bzg@gnu.org>
10933         * org-src.el (org-src-in-org-buffer): Save and restore
10934         `buffer-undo-list' after editing.
10936 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10938         * ob.el (org-babel-common-header-args-w-values): Add new header
10939         argument.
10940         (org-babel-expand-noweb-references): Use header argument rather than
10941         customization variable.
10943 2012-04-01  David Maus  <dmaus@ictsoc.de>
10945         * org-capture.el (org-capture-place-item): Don't search for
10946         position in existing list if :exact-position was supplied.
10948 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10950         * ob.el (org-babel-noweb-separator): Custom variable for
10951         accumulated noweb references.
10952         (org-babel-expand-noweb-references): Allow separator for noweb
10953         references.
10955 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
10957         * org.el (org-beginning-of-line): In an item, special position
10958         for C-a is after check-box, if any.
10959         (org-special-ctrl-a/e): Modify doc-string accordingly.
10961 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
10963         * org-odt.el (org-export-odt-format-formula): Use :style
10964         property to specify custom table styles.
10966 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10968         * ob-exp.el (org-babel-exp-call-line-template): Control export of
10969         additional call line information.
10970         (org-babel-exp-non-block-elements): Fancier call line export.
10972 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
10974         * org-odt.el (org-odt-entity-frame-styles): Add frame params
10975         for images that are anchored as character.
10976         (org-export-odt-format-image): Handle new anchor type
10977         "as-char".
10978         (org-export-odt-default-image-sizes-alist): Misc. change.
10979         (org-export-odt-format-formula): Misc. change.
10981 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10983         * ob.el (org-babel-check-src-block): Don't report valid header
10984         arguments as suspicious.
10986 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
10988         * ob-exp.el (org-babel-exp-non-block-elements): Map over both
10989         inline src blocks and call lines on export.
10991 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
10993         * org-odt.el (org-odt-label-styles): Add a new style.
10994         (org-odt-category-map-alist): Use it.
10996 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
10998         * org-odt.el (org-odt-table-style-format): New.  Template for
10999         auto-generated table styles.
11000         (org-odt-automatic-styles, org-odt-object-counters):
11001         New variables.
11002         (org-odt-add-automatic-style): New function.
11003         (org-odt-write-automatic-styles): New function.
11004         Create automatic styles for tables that have custom :rel-width.
11005         (org-odt-begin-table): Parse attributes specified with
11006         "#+ATTR_ODT: " option and use it to create an automatic table
11007         style.
11008         (org-odt-save-as-outfile):
11009         Call `org-odt-add-write-automatic-styles'.
11010         (org-odt-init-outfile): Init newly add variables.
11011         (org-odt-section-count): Remove it.
11012         (org-odt-begin-section): Use `org-odt-add-automatic-style' to
11013         generate an automatic section name.
11015 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11017         * ob.el (org-babel-map-executables): Correctly position point when
11018         mapping hits an inline code block.
11020 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11022         * ob.el (org-babel-execute-src-block): Ensure params are
11023         incorporated *before* checking if evaluation is legal.
11025 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11027         * ob-exp.el (org-babel-exp-lob-one-liners): Ensure `end' is a
11028         marker so it is updated as required during export.
11030 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11032         * org-src.el (org-src-in-org-buffer): Run commands in the parent
11033         buffer.
11034         (org-edit-src-save): Use new macro.
11035         (org-src-tangle): Tangle the parent buffer.
11037 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11039         * org.el (org-set-font-lock-defaults): Fix bug in done
11040         headline fontification.
11042 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11044         * org.el (org-set-font-lock-defaults): Fix bug in done
11045         headline fontification.
11047 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11049         * org.el (org-return): Act normally when in code blocks.
11051 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11053         * org.el (org-in-src-block-p): New function.
11054         (org-context): Return new contexts :clocktable and :src-block.
11056 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11058         * org.el (org-set-tags-command, org-set-tags): Make ̀C-u C-c
11059         C-q' do the right thing even when point is before the first
11060         heading.
11062 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11064         * ob.el (org-babel-noweb-p): Disambiguate intersection name.
11066 2012-04-01  Jambunathan K  <kjambunathan@gmail.com>
11068         * org-odt.el (org-odt-format-textbox): Honor user-specified
11069         width in captioned images.
11071 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11073         * ob.el (org-babel-map-src-blocks): Replace gensym with make-symbol.
11074         (org-babel-map-inline-src-blocks): Replace gensym with make-symbol.
11075         (org-babel-map-call-lines): Replace gensym with make-symbol.
11076         (org-babel-map-executables): Replace gensym with make-symbol.
11078 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11080         * ob-exp.el (org-babel-exp-results): Alter a copy of info.
11082 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11084         * org-html.el (org-export-as-html):
11085         Initialize `html-pre-real-contents' correctly.
11087 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11089         * org-html.el (org-export-as-html):
11090         Initialize `html-pre-real-contents' correctly.
11092 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11094         * ob-exp.el (org-babel-exp-code): Ensure code block name is a
11095         string on export.
11097 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11099         * ob-exp.el (org-babel-exp-code-template): Customizable code
11100         block export format string.
11101         (org-babel-exp-code): Customizable code block export.
11103 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11105         * ob-clojure.el (org-babel-execute:clojure): Remove dependency
11106         on deprecated swank-clojure.
11108 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11110         * ob.el (org-babel-map-src-blocks): Don't pollute symbol space.
11111         (org-babel-map-inline-src-blocks): Don't pollute symbol space.
11112         (org-babel-map-call-lines): Don't pollute symbol space.
11113         (org-babel-map-executables): Map over *all* executable Org-mode
11114         elements.
11115         (org-babel-execute-buffer): Execute elements in buffer order instead
11116         of arbitrarily.
11118 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11120         * org.el (org-ctrl-c-ctrl-c): Fix a naive structure backup.
11121         Those must be done with `copy-tree'.
11123 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11125         * org-src.el (org-edit-src-code): Referenced code block should
11126         not be evaluated on code block edit.
11128 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11130         * org.el (org-structure-template-alist): Use uppercase for
11131         keywords.
11133 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11135         * ob.el (org-babel-insert-result): Capitalize RESULTS in :wrap'd
11136         code block results.
11138 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11140         * ob.el (org-babel-results-keyword): New user-configurable
11141         results keyword.
11142         (org-babel-where-is-src-block-result): Use new user-configurable
11143         results keyword.
11145 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11147         * org-indent.el (org-indent-refresh-maybe): Check for new
11148         headlines from the beginning of the line to be sure to catch
11149         any newly inserted headline there.
11151 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11153         * ob-exp.el (org-babel-exp-src-block): Use `org-babel-noweb-p'.
11154         (org-babel-exp-inline-src-blocks): Use `org-babel-noweb-p'.
11156         * ob-tangle.el (org-babel-tangle-collect-blocks):
11157         Use `org-babel-noweb-p'.
11159         * ob.el (org-babel-execute-src-block): Use `org-babel-noweb-p'.
11160         (org-babel-expand-src-block): Use `org-babel-noweb-p'.
11161         (org-babel-load-in-session): Use `org-babel-noweb-p'.
11162         (org-babel-merge-params): Use `org-babel-noweb-p'.
11163         (org-babel-noweb-p): New function used to determine if noweb
11164         expansion should be carried out in a given context.
11166 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11168         * org.el (org-update-property-plist): Fix bug in property list
11169         updates.
11171 2012-04-01  François Pinard  <pinard@iro.umontreal.ca>  (tiny change)
11173         * org.el (org-kill-line): Use `kill-visual-line' in
11174         `visual-line-mode'.
11176 2012-04-01  Bernt Hansen  <bernt@norang.ca>
11178         * org-agenda.el (org-agenda-switch-to): Widen org buffer only if point
11179         is outside the current restriction.
11181 2012-04-01  Bernt Hansen  <bernt@norang.ca>
11183         * org-agenda.el (org-agenda-clock-in): Save restriction when clocking
11184         in from the agenda.
11186 2012-04-01  Bernt Hansen  <bernt@norang.ca>
11188         * org.el: Honor existing restrictions when regenerating the agenda.
11190 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11192         * org-agenda.el: New alias for `list-diary-entries-hook'.
11194 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11196         * ob.el (org-babel-common-header-args-w-values): Add the new
11197         header argument name.
11198         (org-babel-insert-result): Respect the value of the :wrap header
11199         argument when inserting results.
11200         (org-babel-result-end): Find the end of arbitrarily named result
11201         blocks.
11203 2012-04-01  Nicolas Goaziou  <n.goaziou@gmail.com>
11205         * org-indent.el (org-indent-refresh-maybe): Check for new
11206         headlines from the beginning of the line to be sure to catch
11207         any newly inserted headline there.
11209 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11211         * org.el (org-update-property-plist): Remove old instances of
11212         property when adding a new value for property.
11214 2012-04-01  Martyn Jago  <martyn.jago@btinternet.com>
11216         * ob-emacs-lisp.el: A comment on the last line of an emacs-lisp
11217         code block would cause an error when the block is was executed.
11218         This fix cures this behavior.
11220 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11222         * ob.el (org-babel-expand-noweb-references): Resurrect dropped
11223         pieces of a previous patch.
11225 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11227         * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
11229 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11231         * ob.el (org-babel-expand-noweb-references): Resurrect dropped
11232         pieces of a previous patch.
11234 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11236         * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
11238 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11240         * org-eshell.el (org-eshell-open): Use (goto-char (point-max))
11241         instead of (end-of-buffer).
11243 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11245         * org-bbdb.el (name): Declare variable.
11246         (bbdb-record-get-field, bbdb-search-name)
11247         (bbdb-search-organization): Declare as part of ext:bbdb.
11249 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11251         * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
11252         instead of the obsolete `org-agenda-filter'.
11254 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11256         * org-agenda.el: Add an alias for `org-agenda-filter'.
11257         (diary-list-entries-hook): Use the non-obsolete hook.
11258         (org-agenda-filter-apply): Silent compiler warning.
11260 2012-04-01  Bastien Guerry  <bzg@gnu.org>
11262         * ob-ditaa.el (org-ditaa-jar-path): Make a defcustom.
11263         (org-ditaa-jar-option): New option.
11264         (org-babel-execute:ditaa): Use it.
11266 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11268         * ob.el (org-babel-balanced-split): Explicit checking if list
11269         before calling member.
11271 2012-04-01  Eric Schulte  <eric.schulte@gmx.com>
11273         * ob.el (org-babel-balanced-split): Explicit checking if list
11274         before calling member.
11276 2012-02-14  Chong Yidong  <cyd@gnu.org>
11278         * org-footnote.el: Remove bogus defvar values (Bug#10745).
11280 2012-01-05  Eric Schulte  <eric.schulte@gmx.com>
11282         * ob.el (org-babel-expand-noweb-references): Resurrect dropped
11283         pieces of a previous patch.
11285         * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
11287 2012-01-05  Bastien Guerry  <bzg@gnu.org>
11289         * org-eshell.el (org-eshell-open): Use (goto-char (point-max))
11290         instead of (end-of-buffer).
11292         * org-bbdb.el (name): Declare variable.
11293         (bbdb-record-get-field, bbdb-search-name)
11294         (bbdb-search-organization): Declare as part of ext:bbdb.
11296         * org-agenda.el: Add an alias for `org-agenda-filter'.
11297         (diary-list-entries-hook): Use the non-obsolete hook.
11298         (org-agenda-filter-apply): Silent compiler warnings.
11300         * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
11301         instead of the obsolete `org-agenda-filter'.
11303 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11305         * org.el (org-ctrl-c-ctrl-c): Preserve symmetry when adding
11306         and removing checkboxes with `C-u C-c C-c' on the first item
11307         of a list.  Also, don't reinitialize checkboxes that are
11308         already ticked.
11310 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11312         * org.el (org-ts-regexp0, org-ts-regexp1): Also match a time
11313         value with only one digit for the hours.
11315 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11317         * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
11318         Remove deleted function `org-encode-for-stdout'.
11320 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11322         * org.el (org-show-context): Complete docstring.
11324 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11326         * org-agenda.el (org-agenda-filter-by-tag):
11327         Use `read-char-exclusive' instead of `read-char'.
11329 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
11331         * org-clock.el (org-clock-in, org-clock-find-position):
11332         Remove erraneous space in regexp.
11334 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
11336         * ob.el (org-babel-expand-noweb-references): Rather than using
11337         a pure regexp solution to resolve noweb references, actually
11338         check the information of every code block in the buffer.
11339         This will cause a slowdown in noweb reference expansion, but is
11340         necessary for correct behavior.
11342 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11344         * org.el (org-map-continue-from): Fix typo in docstring.
11346 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11348         * org.el (org-property-re): Also match cumulating properties
11349         like ":prop+:".
11351 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11353         * org-exp-blocks.el (org-export-blocks-preprocess): Fix regexp for
11354         matching the end of a block.
11356 2012-01-03  David Maus  <dmaus@ictsoc.de>
11358         * org.el (org-open-at-point): Escape link path for http:,
11359         https:, ftp:, news:, and doi: links only if the path contains
11360         space or non-ascii character.
11362 2012-01-03  David Maus  <dmaus@ictsoc.de>
11364         * org.el (org-refile-get-targets): Ignore headlines without a
11365         true headline.
11367 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
11369         * ob.el (org-babel-map-call-lines): Move this file from
11370         ob-lob.el into ob.el to ease dependency pains.
11372 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11374         * org-publish.el (org-publish-index-generate-theindex):
11375         Use theindex.inc for storing index entries, and theindex.org for
11376         including theindex.inc.
11378 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11380         * org-publish.el (org-publish-index-generate-theindex):
11381         Create proper file target for index entries in subdirectories.
11383 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11385         * org-protocol.el (org-protocol-check-filename-for-protocol):
11386         Fix spelling mistake.
11388 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
11390         * org-odt.el (org-export-odt-default-org-styles-alist): Add styles
11391         for title and subtitle.
11392         (org-odt-format-toc): New.
11393         (org-odt-format-preamble): New.  Users can redefine this to
11394         customize what goes before the document body.  Currently it
11395         outputs title, author and email, date and toc.
11396         (org-odt-begin-document-body): Use `org-odt-format-preamble'.
11397         (org-odt-format-date): Rename from
11398         `org-odt-iso-date-from-org-timestamp'.  Also added an
11399         additional param for format string.
11400         (org-odt-begin-annotation, org-odt-update-meta-file):
11401         Use `org-odt-format-date'.
11403 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11405         * org.el (org-at-drawer-p): New function.
11406         (org-end-of-line): Use it.
11408 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
11410         * ob.el (*org-babel-use-quick-and-dirty-noweb-expansion*):
11411         Controls the method in which noweb references are expanded.
11412         (org-babel-expand-noweb-references): Bring back the option for
11413         regexp-based noweb expansion.
11415 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11417         * org.el (org-ts-regexp0, org-ts-regexp1): Also match a time value
11418         with only one digit for the hours.
11420 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11422         * org.el (org-ctrl-c-ctrl-c): Don't make `C-c C-c' special
11423         when ticking the checkbox of the first item.
11425 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
11427         * org-list.el (org-list-write-struct): Add an optional
11428         argument for structure changes happening outside the function.
11430         * org.el (org-ctrl-c-ctrl-c): Now, `C-u C-c C-c' on the first
11431         item of a sub-list should toggle check-box presence of every
11432         item in the same sub-list.  Also fix check-box insertion on a
11433         single item.
11435 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11437         * org-agenda.el (org-agenda-filter-preset): New alias.
11438         (org-agenda-filter-by-category): New command.
11439         (org-agenda-mode-map): Add the new command.
11440         (org-agenda-custom-commands-local-options): Add category
11441         filter preset.
11442         (org-agenda-mark-filtered-text): Mark both tag and filter
11443         overlays.
11444         (org-agenda-category-filter-preset): New variable.
11445         (org-finalize-agenda, org-agenda-redo)
11446         (org-agenda-filter-make-matcher, org-agenda-filter-apply):
11447         Handle both category and tag filters.
11448         (org-agenda-filter-show-all-tag): Rename from
11449         `org-agenda-filter-by-tag-show-all'.
11450         (org-agenda-filter-show-all-cat): New function.
11451         (org-agenda-set-mode-name): Show the category filter in the
11452         modeline.
11454 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
11456         * org-bbdb.el (org-bbdb-old): New variable.
11457         (org-bbdb-store-link, org-bbdb-open): Check for
11458         `org-bbdb-old'.
11459         (org-bbdb-open-old, org-bbdb-open-new): New functions.
11461 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11463         * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
11464         Remove deleted function `org-encode-for-stdout'.
11466 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11468         * org.el (org-check-dates-range): New command.
11469         (org-sparse-tree): Use it.
11471 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11473         * org-agenda.el (org-agenda-write): Rename from
11474         `org-write-agenda'.
11475         (org-agenda-mode-map, org-agenda-menu)
11476         (org-batch-store-agenda-views): Use new name
11477         `org-agenda-write'.
11479 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11481         * org.el (org-loop-over-headlines-in-active-region):
11482         Fix docstring.
11483         (org-todo, org-deadline, org-schedule): Honor the 'start-level
11484         value of `org-loop-over-headlines-in-active-region'.
11486 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11488         * org-archive.el (org-archive-subtree)
11489         (org-archive-to-archive-sibling, org-toggle-archive-tag):
11490         Bugfix: use 'region-start-level.
11492 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11494         * org.el (org-show-context): Complete docstring.
11496 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11498         * org-agenda.el (org-agenda-filter-by-tag):
11499         Use `read-char-exclusive' instead of `read-char'.
11501 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
11503         * org.el (org-scan-tags): Make sure `org-map-continue-from' is
11504         nil at each match.
11506 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
11508         * org-clock.el (org-clock-in, org-clock-find-position):
11509         Remove erraneous space in regexp.
11511 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
11513         * org-odt.el (org-odt-lib-dir): Add docstring.
11514         (org-odt-data-dir): New variable.  Use this variable to
11515         control the locations from which the ODT exporter picks the
11516         OpenDocument styles and schema files from.  Set this variable
11517         explicitly only if the in-built heuristics for locating the
11518         above files fails.
11519         (org-odt-styles-dir-list, org-odt-schema-dir-list):
11520         New variables.  Pay specific attention to (eval-when-compile ...)
11521         form through which Makefile's $(datadir) - contained in
11522         `org-odt-data-dir' - gets compiled in as a "hard coded"
11523         constant.
11524         (org-odt-styles-dir, org-export-odt-schema-dir): Add messages to
11525         aid debugging.
11527 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11529         * org-archive.el (org-archive-subtree)
11530         (org-archive-to-archive-sibling, org-toggle-archive-tag)
11531         (org-archive-set-tag): Handle the 'start-level value for
11532         `org-loop-over-headlines-in-active-region'.
11534 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11536         * org.el (org-scan-tags): New parameter `start-level' to scan only
11537         through headlines of that level.
11538         (org-map-entries): New allowed value `region-start-level' for
11539         the `scope' parameter, to allow scanning through headlines of
11540         the same level than the first headline in the region.
11541         (org-loop-over-headlines-in-active-region): New allowed value
11542         'start-level.
11544 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11546         * org-archive.el (org-archive-subtree)
11547         (org-archive-to-archive-sibling, org-archive-set-tag)
11548         (org-toggle-archive-tag): Allow to loop over the active region by
11549         using `org-loop-over-headlines-in-active-region'.
11551 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11553         * org.el (org-todo): Allow to loop over the active region by
11554         using `org-loop-over-headlines-in-active-region'.
11556 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
11558         * ob.el (org-babel-expand-noweb-references): Rather than using
11559         a pure regexp solution to resolve noweb references, actually
11560         check the information of every code block in the buffer.
11561         This will cause a slowdown in noweb reference expansion, but is
11562         necessary for correct behavior.
11564 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11566         * org.el (org-map-continue-from): Fix typo in docstring.
11568 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11570         * org-agenda.el (org-agenda-write-buffer-name): New variable.
11571         (org-write-agenda): Use it.
11573 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11575         * org-exp.el (org-export-date-timestamp-format): New option to
11576         define the way a timestamp in #+DATE will be exported.
11577         (org-infile-export-plist): Use the new option.
11579 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11581         * org.el (org-property-re): Also match cumulating properties
11582         like ":prop+:".
11584 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
11586         * org-odt.el (org-odt-styles-dir): Assume that the styles
11587         files are located under `data-directory' of Emacs distribution
11588         as etc/org/OrgOdtStyles.xml and
11589         etc/org/OrgOdtContentTemplate.xml.  Also update docstring.
11590         (org-export-odt-schema-dir): Update docstring.
11592 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
11594         * org-odt.el (org-odt-format-preamble): Honor following user
11595         options: author, timestamp and email.
11597 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11599         * org-exp-blocks.el (org-export-blocks-preprocess): Fix regexp
11600         for matching the end of a block.
11602 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11604         * org-eshell.el: New file.
11606 2012-01-03  David Maus  <dmaus@ictsoc.de>
11608         * org.el (org-open-at-point): Escape link path for http:,
11609         https:, ftp:, news:, and doi: links only if the path contains
11610         space or non-ascii character.
11612 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11614         * org-beamer.el (org-beamer-fragile-re): Also recognize
11615         \lstinline and \verb as commands that make a frame fragile.
11617 2012-01-03  David Maus  <dmaus@ictsoc.de>
11619         * org.el (org-refile-get-targets): Ignore headlines without a
11620         true headline.
11622 2012-01-03  Litvinov Sergey  <slitvinov@gmail.com>
11624         * ob-octave.el: Add graphical output to png file.
11626 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
11628         * ob.el (org-babel-map-call-lines): Move this file from
11629         ob-lob.el into ob.el to ease dependency pains.
11631 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11633         * org-publish.el (org-publish-index-generate-theindex):
11634         Use theindex.inc for storing index entries, and theindex.org for
11635         including theindex.inc.
11637 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11639         * org-publish.el (org-publish-index-generate-theindex):
11640         Create proper file target for index entries in subdirectories.
11642 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11644         * org-protocol.el (org-protocol-check-filename-for-protocol):
11645         Fix spelling mistake.
11647 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
11649         * org-odt.el (org-export-odt-default-org-styles-alist):
11650         Add styles for title and subtitle.
11651         (org-odt-format-toc): New.
11652         (org-odt-format-preamble): New.  Users can redefine this to
11653         customize what goes before the document body.  Currently it
11654         outputs title, author and email, date and toc.
11655         (org-odt-begin-document-body): Use `org-odt-format-preamble'.
11656         (org-odt-format-date): Rename from
11657         `org-odt-iso-date-from-org-timestamp'.  Also added an
11658         additional param for format string.
11659         (org-odt-begin-annotation, org-odt-update-meta-file):
11660         Use `org-odt-format-date'.
11662 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
11664         * ob-ref.el (org-babel-ref-split-args): Now uses
11665         `org-babel-balanced-split'.
11667 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11669         * org-html.el (org-export-html-preamble)
11670         (org-export-html-postamble): Fix docstrings.
11671         (org-export-as-html): Insert the string used by a custom
11672         function for `org-export-html-pre/postamble'.
11674 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11676         * org.el (org-block-regexp)
11677         (org-heading-keyword-regexp-format)
11678         (org-heading-keyword-maybe-regexp-format): Move up to keep the
11679         byte-compiler happy.
11681 2012-01-03  Dave Abrahams  <dave@boostpro.com>  (tiny change)
11683         * org-agenda.el (org-agenda-do-tree-to-indirect-buffer):
11684         New function.
11685         (org-agenda-tree-to-indirect-buffer): Use the new function.
11687 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11689         * org-html.el (org-export-as-html): Fix bug when inserting the
11690         output of a custom function for the pre/postamble.
11692 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
11694         * org-odt.el (org-odt-format-source-code-or-example):
11695         Try loading htmlfontify safely.
11697 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11699         * org-odt.el (require): Require htmlfontify.el only if
11700         emacs-version is greater than 23.2.
11702 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11704         * org-faces.el (org-agenda-calendar-event)
11705         (org-agenda-calendar-sexp): Use the default face.
11707 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
11709         * ob.el (org-babel-expand-noweb-references): Fix regexp.
11711 2012-01-03  Michael Brand  <michael.ch.brand@gmail.com>
11713         * org.el (Key bindings): Remap the Outline functions from
11714         `outline-mode-prefix-map' where possible.
11716 2012-01-03  Christian Moe  <mail@christianmoe.com>  (tiny change)
11718         * org-html.el (org-export-as-html):
11719         Apply `org-export-html-get-todo-kwd-class-name' to the class
11720         attribute of the todo-keyword span tag, not to its text
11721         content.
11723 2012-01-03  Sebastien Vauban  <sva@mygooglest.com>
11725         * org-agenda.el (org-agenda-get-timestamps)
11726         (org-agenda-get-sexps): Use face for highlighting "calendar"
11727         events.
11729 2012-01-03  Peter Münster  <pmlists@free.fr>  (tiny change)
11731         * org.el (org-add-planning-info): Treat absolute time too.
11733 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11735         * org-table.el (org-table-transpose-table-at-point): Don't use
11736         ̀remove-if-not'.
11738 2012-01-03  Dave Abrahams  <dave@boostpro.com>  (tiny change)
11740         * org-clock.el (org-clock-out-if-current): Check the clock
11741         buffer is existing.
11743 2012-01-03  Bernt Hansen  <bernt@norang.ca>
11745         * org-clock.el (org-clock-out-if-current): Fix marker in no
11746         buffer error for task state change in an indirect buffer.
11748 2012-01-03  Michael Brand  <michael.ch.brand@gmail.com>
11750         * org.el (org-offer-links-in-entry): Make list when assigning
11751         a single link.
11753 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
11755         * ob.el (org-babel-expand-noweb-references): Rather than
11756         collect the info from *every* block in the current buffer,
11757         simply regexp search for those blocks which appear to match
11758         the continued source name.
11760 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
11762         * ob.el (org-babel-insert-result): Do not examplize wrapped
11763         scalar results, simply wrap them.
11764         (org-babel-result-end): Find the end of results wrapped in a
11765         RESULTS drawer.
11767 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11769         * org.el (org-todo-yesterday): When called from the agenda,
11770         use `org-agenda-todo-yesterday' instead.
11772 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11774         * org-table.el (org-table-transpose-table-at-point): New command.
11776 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11778         * org-html.el (org-export-html-headline-anchor-format):
11779         New option.
11780         (org-html-level-start): Use the new option.
11782 2012-01-03  Rob Giardina  <rob@giardina.us>  (tiny change)
11784         * org-agenda.el (org-agenda-with-point-at-orig-entry):
11785         Small bugfix.
11787 2012-01-03  Christian Moe  <mail@christianmoe.com>  (tiny change)
11789         * org-special-blocks.el
11790         (org-special-blocks-convert-html-special-cookies):
11791         Close paragraph before opening or closing the <div>, and open
11792         paragraph after.  Also changed newline placement to be the same
11793         as for other blocks.
11795 2012-01-03  Roberto Huelga  <rhuelga@gmail.com>
11797         * org-clock.el (org-program-exists): Make the function
11798         compatible with darwin systems.
11800 2012-01-03  David Maus  <dmaus@ictsoc.de>
11802         * org-exp.el (org-export-normalize-links): Mark bracket links
11803         before normalization to avoid erroneous normalization of
11804         bracket link parts.
11806 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
11808         * org-odt.el (org-odt-data-dir): Remove.
11809         (org-odt-styles-dir, org-export-odt-schema-dir):
11810         New variables.
11812         * org-odt.el, org-lparse.el: New files.
11814 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
11816         * org-capture.el (org-capture-set-target-location): Set the
11817         capture default time also to the prompt time.
11819 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
11821         * org-exp.el (org-export-res/src-name-cleanup): Remove #+name
11822         and #+results lines during preprocess.
11824 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
11826         * ob-picolisp.el (ob-comint): Required.
11827         (comint): Required.
11828         (cl): Required.
11829         (run-picolisp): Declared.
11830         (org-babel-execute:picolisp): Capture free variable, and replace
11831         function from cl-extra with core function.
11833 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
11835         * ob-picolisp.el: New file.
11837         * org.el (org-babel-load-languages): Add Pico Lisp to the list
11838         of supported code block languages.
11840 2012-01-03  Eric Schulte  <eric.schulte@gmx.com>
11842         * org-bibtex.el (org-bibtex): Now catches bibtex errors and
11843         directs the user to the location of the error.
11845 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11847         * org-agenda.el (org-agenda-dim-blocked-tasks): Fix typo.
11849 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11851         * ob.el (org-babel-execute-src-block): Fix typo.
11853 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11855         * org-freemind.el (org-freemind-write-mm-buffer): Fix typo.
11857 2012-01-03  Bastien Guerry  <bzg@gnu.org>
11859         * org.el (org-link-unescape, org-link-unescape-compound):
11860         Fix two typos in docstrings.
11862 2012-01-03  Thomas Dye  <dk@poto.local>
11864         * ob-R.el: Added tikzDevice support.
11866 2012-01-03  David Maus  <dmaus@ictsoc.de>
11868         * org.el (org-clone-subtree-with-time-shift): Remove clocking
11869         information and empty drawers when preparing a clone.
11871 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
11873         * ob-exp.el: Don't add `org-exp-res/src-name-cleanup' to
11874         `org-export-blocks-postblock-hook'.
11876 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
11878         * ob.el (org-babel-hide-result-toggle): Skip over header
11879         argument lines when toggling named code block visibility.
11881 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
11883         * org-exp.el (org-export-grab-title-from-buffer):
11884         Don't license to kill text inside blocks when getting a title.
11886 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
11888         * ob.el (org-babel-confirm-evaluate): Adding support for new
11889         range of :eval header arguments.
11891 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
11893         * ob.el (org-babel-confirm-evaluate): Inhibit evaluation
11894         during export when eval is set to "non-export".
11896 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
11898         * ob-ref.el (org-babel-update-intermediate): New custom
11899         variable.
11900         (org-babel-ref-resolve): Optionally update the in-buffer results
11901         of code blocks which are evaluated to resolve references.
11903 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
11905         * ob.el (org-babel-join-splits-near-ch): Rejoins a list of a
11906         split string when a character appears on either side of the
11907         split.
11908         (org-babel-parse-multiple-vars): Rejoin splits around "=" signs.
11910 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
11912         * org.el (org-reduce): Add a less functional Org-mode copy of
11913         the cl reduce function.
11915 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
11917         * org.el (org-fontify-meta-lines-and-blocks-1):
11918         Recognize "name" as a valid keyword that can preceed a block.
11920 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
11922         * ob-exp.el (org-babel-exp-lob-one-liners): Don't limit
11923         in-verbatim check to inline code blocks, do lob code blocks as
11924         well.
11926 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
11928         * org.el (org-todo): Interpret 0 prefix arg as note inhibitor.
11930 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
11932         * ob.el (org-babel-named-src-block-regexp-for-name):
11933         Ensure that partial names are not matched.
11934         (org-babel-named-data-regexp-for-name): Ensure that partial names
11935         are not matched.
11937 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
11939         * ob-ref.el (org-babel-ref-resolve): Search for named code
11940         blocks before named data.
11942         * ob.el (org-babel-named-data-regexp-for-name): New function for
11943         finding named data.
11945 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
11947         * ob.el (org-babel-insert-result): Gracefully handle results
11948         which are neither lists nor strings.
11950 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
11952         * ob-ref.el (org-babel-ref-resolve): Don't change location when
11953         looking at the contents.
11955 2012-01-03  Milan Zamazal  <pdm@zamazal.org>
11957         * org.el (org-set-outline-overlay-data):
11958         Use outline-flag-region to make a region invisible.  This ensures
11959         all necessary actions, especially adding
11960         isearch-open-invisible property, are applied.
11962 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
11964         * ob-lob.el (org-babel-in-example-or-verbatim):
11965         Fix compilation warning.
11967 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
11969         * ob.el (org-babel-find-named-result): Downcase "name" before
11970         comparison.
11972 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
11974         * ob-lisp.el (org-babel-execute:lisp): Fix typo.
11975         (org-babel-lisp-vector-to-list): Fix typo.
11977 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
11979         * ob-exp.el (org-babel-in-example-or-verbatim): Some valid
11980         execution contexts (e.g., call lines) look like commented
11981         lines.
11983         * ob.el (org-babel-get-src-block-info): Empty match string doesn't
11984         count.
11985         (org-babel-process-params): Always process parameters, even if
11986         you don't to table splitting.
11988 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
11990         * ob-exp.el (org-exp-res/src-name-cleanup): Update Documentation.
11992         * ob-lob.el (org-babel-block-lob-one-liner-regexp):
11993         Update regular expression.
11994         (org-babel-inline-lob-one-liner-regexp): Update regular
11995         expression.
11997         * ob-ref.el (org-babel-ref-resolve): Notice when something that
11998         looks like a data results may actually be a code block.
12000         * ob-table.el: Updated documentation.
12002         * ob.el (org-babel-src-name-regexp): Simplify regexp.
12003         (org-babel-get-src-block-info): Update match strings.
12004         (org-babel-data-names): Simplify acceptable names.
12005         (org-babel-find-named-block): Indentation.
12006         (org-babel-find-named-result): Update to not return a code block
12007         as a result.
12009         * org.el (org-fontify-meta-lines-and-blocks-1):
12010         Removing references to old syntactic elements.
12011         (org-additional-option-like-keywords): Removing references to
12012         old syntactic elements.
12014 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12016         * org-agenda.el (org-agenda-get-todos): Swap calls to `org-trim'
12017         and `buffer-substring'.
12019 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12021         * org-agenda.el (org-agenda-get-todos): Prevent an error when
12022         encountering tasks with only the TODO keyword.
12024 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12026         * org.el (org-try-cdlatex-tab): Don't try to expand a LaTeX
12027         environment when at an item or an headline, but allow LaTeX
12028         fragments.
12029         (org-cycle): Try to call `cdlatex-tab' before cycling item's or
12030         headline's visibility, in order to catch LaTeX fragments within.
12032 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12034         * org-exp-blocks.el (org-export-blocks-preprocess): Require a
12035         newline and spaces before a code block.
12037 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12039         * ob-lob.el (org-babel-map-call-lines): Allow mapping of code
12040         over all call lines in a buffer.
12042         * ob.el (org-babel-execute-buffer): Execute call lines when
12043         executing an entire buffer.
12045 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12047         * ob.el (org-babel-process-params): Don't disassemble tables
12048         twice.
12050 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12052         * org-clock.el (org-clock-in, org-clock-find-position): Make space
12053         after date optional.
12055         * org.el (org-set-regexps-and-options)
12056         (org-ts-regexp, org-ts-regexp-both, org-ts-regexp1)
12057         (org-ctrl-c-ctrl-c): Make `C-c C-c' on date fix the time stamp.
12059 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12061         * ob-lob.el (org-babel-lob-execute-maybe): Don't execute a call
12062         inside a verbatim block.
12064         * ob-exp.el (org-babel-in-example-or-verbatim): Check for example
12065         blocks.
12067 2012-01-03  Litvinov Sergey  <slitvinov@gmail.com>
12069         * ob-maxima.el (org-babel-tangle-lang-exts): Maxima extension.
12070         (org-babel-maxima-expand): Add input variables and graphic output.
12071         (org-babel-execute:maxima): Add input variables and graphic output.
12072         (org-babel-maxima-var-to-maxima): Add input variables and graphic
12073         output.
12074         (org-babel-maxima-graphical-output-file): Add input variables and
12075         graphic output.
12076         (org-babel-maxima-elisp-to-maxima): Add input variables and graphic
12077         output.
12079 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12081         * ob-fortran.el: New file.  Adding support for Fortran code blocks.
12082         * org.el (org-babel-load-languages): Adding fortran to this list.
12084 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12086         * org-footnote.el (org-footnote-new): Cannot insert an inline
12087         footnote at beginning of line anymore.
12088         (org-footnote-at-reference-p): Don't recognize inline footnotes at
12089         beginning of line.
12091 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12093         * org.el (org-set-font-lock-defaults): Fix small error in matching
12094         group that prevented fontification of keywords like
12095         org-comment-string and stars in headlines.
12097 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12099         * org.el (org-catch-invisible-edits): New option.
12100         (org-self-insert-command, org-delete-backward-char)
12101         (org-delete-char): Call `org-check-before-invisible-edit'.
12102         (org-check-before-invisible-edit): New function.
12104 2012-01-03  Suvayu Ali  <fatkasuvayu+linux@gmail.com>
12106         * org-exp.el (org-solidify-link-text): Respect
12107         org-export-with-tags when forming the export title during subtree
12108         export.
12110 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12112         * org.el (org-heading-regexp, org-heading-keyword-regexp-format)
12113         (org-heading-keyword-maybe-regexp-format): Globalize variables so
12114         they are accessible even in buffers not in Org mode.
12116 2012-01-03  David Maus  <dmaus@ictsoc.de>
12118         * org.el (org-insert-link): Don't use default-description if a
12119         `org-make-link-description-function' is defined.
12121 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12123         * org.el (org-set-regexps-and-options): Use property blocks for
12124         multi-line properties.
12126 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12128         * org.el (org-self-insert-command): Don't throw an error when
12129         editing takes place at the first point of the buffer.
12131 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12133         * org.el (org-self-insert-command): Unfold invisible region at
12134         point or right before point when editing.
12136 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12138         * org-faces.el (org-agenda-filter-tags): Use the 'modeline face as
12139         default.
12141 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12143         * org-html.el (org-html-expand): Prevent a nil value for STRING to
12144         return an error, just return nil.
12146 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12148         * org-latex.el (org-export-latex-set-initial-vars): Allow "/"
12149         character in the #+LaTeX_CLASS option.
12151 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12153         * org-footnote.el (org-footnote-at-reference-p)
12154         (org-footnote-at-definition-p): Don't store text-properties of
12155         footnote definitions.
12157 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12159         * org-html.el (org-export-as-html): Convert special characters in
12160         meta tag "author", "date", "keyword" and "description".
12162 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12164         * org-capture.el (org-capture-before-finalize-hook): Docstring
12165         improvement: mention that the buffer is widened when this hook is
12166         run.
12168 2012-01-03  Sebastien Vauban  <sva@mygooglest.com>
12170         * org-html.el (org-export-as-html): Make sure the div for preamble
12171         is not inserted when the preamble is empty.
12173 2012-01-03  Sebastien Vauban  <sva@mygooglest.com>
12175         * org-agenda.el (org-agenda-set-mode-name): Highlight tags used
12176         for filtering (shown in the mode-line).
12178 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12180         * ob.el (org-babel-parse-multiple-vars): Trimming excess white
12181         space from split variables.
12183 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12185         * org.el (org-link-search): Add an optional argument preventing
12186         function from revealing context around match.
12188 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12190         * org-agenda.el (calendar-check-holidays): Declare function.
12192 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12194         * org.el (org-return): Fix bug when matching the face property
12195         before following a link.
12197 2012-01-03  Matt Lundin  <mdl@imapmail.org>
12199         * org-agenda.el (org-class): Fix holidays symbol in org-class.
12200         This was resulting in an "Bad sexp..." warning.
12202 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12204         * org.el (org-scan-tags): Also remember
12205         `org-complex-heading-regexp' in a property.
12207 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12209         * org-latex.el (org-export-as-latex): Turn off auto-insert and set
12210         TeX-master to t when creating new TeX buffers.
12212         * org-docbook.el (org-export-as-docbook): Turn off auto-insert
12213         when creating new buffers.
12215         * org-html.el (org-export-as-html): Turn off auto-insert
12216         when creating new buffers.
12218 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12220         * org-table.el (org-table-formula-handle-first/last-rc): Do not
12221         expand pointers to first/last row/column that are inside a call to
12222         `remote'.
12223         (org-table-get-remote-range): Expand pointers to first/last
12224         row/column.
12226 2012-01-03  Michael Sperber  <sperber@deinprogramm.de>  (tiny change)
12228         * org-capture.el (org-capture-get-indirect-buffer): Fix XEmacs
12229         compatibility issue when creating an indirect buffer.
12231 2012-01-03  Christophe Rhodes  <csr21@cantab.net>
12233         * org-exp.el (org-infile-export-plist): Handle LATEX_CLASS_OPTIONS
12234         the same way than LATEX_CLASS.
12236 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12238         * org.el (org-return): Check the presence of the 'org-link face
12239         even in contexts where there is more than one face.
12241 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12243         * ob-sql.el (org-babel-header-arg-names:sql): SQL specific header
12244         argument names which should be inherited.
12246 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12248         * org.el (org-in-block-p): Return matched name of block, if any.
12249         It can be useful when a list of block names is provided as
12250         an argument.
12252 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12254         * org-docbook.el (org-export-as-docbook): Fix regexp.
12256         * org-html.el (org-export-as-html): Fix regexp.
12258 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12260         * org-agenda.el (org-class): Allow holidays to be skipped.
12262 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12264         * ob-shen.el (org-babel-execute:shen): Fix two compilation errors.
12266 2012-01-03  Peter Münster  <pmrb@free.fr>  (tiny change)
12268         * org-agenda.el (org-agenda-to-appt): Make sure filter-items are
12269         strings before calling `string-match'.
12271 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12273         * org-footnote.el (org-footnote-at-reference-p)
12274         (org-footnote-at-definition-p): Remove text-properties from label.
12276 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12278         * org-html.el (org-export-as-html): Add a "title" meta tag.
12280 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12282         * org-agenda.el (org-agenda-to-appt): Allow to refine the scope of
12283         entries to pass to `org-agenda-get-day-entries' and allow to
12284         filter out entries using a function.
12286 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12288         * org-agenda.el: Fix small display bug.
12290 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12292         * org.el (org-set-regexps-and-options): Fix small bug introduced
12293         by commit dfcb6faef11a2439b56b18a6289803361d402130.
12295 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12297         * org-agenda.el (org-search-view): Simplify regexp.
12298         (org-agenda-get-todos): Use new format string.
12300         * org-archive.el (org-archive-all-done): Simplify regexp.
12302         * org-ascii.el (org-export-as-ascii): More accurate regexp.
12304         * org-colview.el (org-columns-capture-view): Use new format string
12305         and new string.
12307         * org-docbook.el (org-export-as-docbook): More accurate
12308         regexp.  Also use new regexp to match generic headlines.
12310         * org-exp.el (org-export-protect-quoted-subtrees): More accurate
12311         regexp.  Also use new regexp to match generic headlines.
12313         * org-html.el (org-export-as-html): More accurate regexp.
12314         Also use new regexp to match generic headlines.
12316         * org-mouse.el (org-mouse-match-todo-keyword): Remove unused
12317         and now erroneous function.
12319         * org.el (org-heading-regexp, org-heading-keyword-regexp-format):
12320         New variables.
12321         (org-set-regexps-and-options): Create regexps according to the
12322         following rule: use spaces only to separate elements from an headline,
12323         while allowing mixed tabs and spaces for any indentation job.
12324         (org-nl-done-regexp, org-looking-at-done-regexp): Remove variables.
12325         (org-set-font-lock-defaults): Fontify again headlines with a keyword
12326         and no other text.  Use new format strings.
12327         (org-get-heading, org-toggle-comment, org-prepare-agenda-buffers)
12328         (org-toggle-fixed-width-section): Use new format string.
12329         (org-todo): More accurate regexps.
12330         (org-point-at-end-of-empty-headline): Simplify regexp.
12331         (org-insert-heading): Headline can sometimes be nil.
12333 2012-01-03  David Maus  <dmaus@ictsoc.de>
12335         * org-agenda.el (org-agenda-bulk-action): Bind
12336         `org-loop-over-headlines-in-active-region' to nil to avoid conflict
12337         with bulk command.
12339 2012-01-03  David Maus  <dmaus@ictsoc.de>
12341         * org.el (org-deadline, org-schedule): Skip invisible headlines when
12342         mapping over headlines in active region.
12344 2012-01-03  David Maus  <dmaus@ictsoc.de>
12346         * org.el (org-loop-over-headlines-in-active-region):
12347         New customization variable.  Loop over headlines in active region.
12348         (org-schedule, org-deadline): Apply to headlines in region depending
12349         on new customization variable.
12351 2012-01-03  David Maus  <dmaus@ictsoc.de>
12353         * org.el (org-map-entries): Immediately return if scope is 'region
12354         but no region is active.
12356 2012-01-03  David Maus  <dmaus@ictsoc.de>
12358         * org.el (org-map-entries): Extend scope 'region to include entire
12359         body of last headline in active region.
12361 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12363         * org-src.el (org-edit-src-code): Fix typo-bug.
12365 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12367         * org.el (org-format-agenda-item, org-scan-tags):
12368         Rename `org-format-agenda-item' to `org-agenda-format-item'.
12370 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12372         * org-agenda.el: Replace `category-pos' by `org-category-pos' to
12373         silent byte-compiler.
12375 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12377         * org.el: Declare external function `cdlatex-compute-tables'.
12379 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12381         * org-latex.el (org-export-latex-set-initial-vars): Fix problem
12382         when matching #+LaTeX_CLASS.
12384 2012-01-03  Rafael Laboissiere  <rafael@laboissiere.net>  (tiny change)
12386         * org.el (org-link-search-must-match-exact-headline): Fix typos.
12388 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12390         * org-latex.el (org-export-latex-make-header): Add some hyperref
12391         options.
12393 2012-01-03  Kai Tetzlaff  <kai.tetzlaff@web.de>  (tiny change)
12395         * org-publish.el (org-publish-file): Add 'eval'ing the value of
12396         the :publishing-directory property before using it as destination
12397         of the publishing project.  This allows to construct the publish
12398         destination directory dynamically at run-time using the return
12399         value of a function.
12401 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12403         * org-agenda.el (org-agenda-list-stuck-projects): Fix tiny bug.
12405 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12407         * org-agenda.el (org-agenda-move-date-from-past-immediately-to-today):
12408         New option.
12409         (org-agenda-date-later): Improve the logical structure.
12411 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12413         * ob-calc.el (featurep): Require calc-store.
12415         * org-agenda.el (org-agenda-list-stuck-projects): Fix regexp
12416         special handling.
12418         * org-compat.el (fboundp): Support for XEmacs.
12420         * org-exp.el (org-export): Protect XEmacs from `(redisplay)' call.
12422         * org-footnote.el (org-footnote-re): Optimize macro processing.
12424         * org.el (org-set-autofill-regexps): Xemacs compatibility.
12426 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12428         * ob.el (org-babel-balanced-split): Balance both [] and ()
12429         groupings.
12430         (org-babel-parse-header-arguments): Be sure to replace removed ":"
12431         characters.
12433 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12435         * ob.el (org-babel-parse-header-arguments): Quick fix for a
12436         tiny bug.
12438 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12440         * ob.el (org-babel-params-from-properties): Now splits
12441         multiple var arguments behind a single ":var".
12442         (org-babel-balanced-split): Separated balanced splitting of
12443         strings out into a new function.
12444         (org-babel-parse-multiple-vars): Splits multiple var arguments
12445         behind a single ":var".
12447 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12449         * org.el: Remap `outline-promote' and `outline-demote' keys to
12450         `org-promote-subtree' and `org-demote-subtree'.
12452 2012-01-03  Leo Liu  <sdl.web@gmail.com>
12454         * org-agenda.el (org-agenda-do-context-action): Check if marker is
12455         valid before use.
12457 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
12459         * org-agenda.el (org-agenda-date-later): Fix shifting of date
12460         ranges.
12462 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12464         * ob.el: Removing `org-babel-params-from-buffer' and
12465         #+PROPERTIES: entirely.
12467         * ob-exp.el (org-babel-exp-src-block):
12468         Removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely.
12470         * ob-lob.el (org-babel-lob-execute):
12471         Removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely.
12473 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12475         * ob.el (org-babel-params-from-buffer): Removing #+BABEL:
12476         lines in favor of general #+PROPERTIES: lines.
12478 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12480         * ob-sql.el (org-babel-execute:sql): Insert into a temporary
12481         buffer.
12483 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12485         * org.el (org-cdlatex-mode): Run `cdlatex-mode-hook' and
12486         update the internal cdlatex tables.
12488 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12490         * ob-sql.el (org-babel-execute:sql): Respect literal-results
12491         options.
12493 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12495         * ob.el (org-babel-disassemble-tables): Fix multi-table bug in
12496         code block colname and rowname handling.
12498 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12500         * org-publish.el (org-publish-cache-file-needs-publishing):
12501         Fix regexp to not inlcude newlines.
12503 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12505         * org.el (org-ctrl-c-ctrl-c): Remove table overlays before
12506         restart.
12508 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12510         * org.el (org-fontify-entities): Match entities before
12511         numbers, as in `\sim2'.
12513 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12515         * org-agenda.el (org-agenda-date-later): Make pushing forward
12516         a past date to jump immedialtely to today.
12518 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12520         * org-exp.el (org-store-forced-table-alignment): Parse the
12521         column cookie for both alignment and width
12522         specification.  Store the resulting value in `org-col-cookies'
12523         property.  Retire the previously used `org-forced-aligns'
12524         property for consistency.  Renamed local variable `aligns' to
12525         `cookies'.
12527         * org-html.el (org-format-org-table-html):
12528         Use `org-col-cookies'.  Renamed local variable forced-aligns to
12529         col-cookies.
12531 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12533         * org.el (org-latex-to-mathml-jar-file)
12534         (org-latex-to-mathml-convert-command): New user-customizable
12535         variables.
12536         (org-format-latex-mathml-available-p, org-create-math-formula)
12537         (org-format-latex-as-mathml): New functions.
12538         (org-format-latex): Add a new local variable block-type that notes
12539         the nature of the equation - inline or display.  Associate it's
12540         value to `org-latex-src-embed-type' property of dvipng links.
12541         Add mathml as new processing type.
12543 2012-01-03  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
12545         * org.el (org-refile): Add tree name to prompt.
12547 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12549         * org-latex.el (org-export-latex-tables):
12550         Honor `org-export-latex-table-caption-above'
12551         (org-export-latex-table-caption-above): New option.
12553 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12555         * ob.el (org-babel-insert-header-arg): Now including language
12556         specific header arg values in insertion options.
12558 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12560         * ob.el (org-babel-insert-header-arg): Fix typo.
12562 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
12564         * org-exp.el (org-export-number-lines): Modify.  Add a new
12565         parameter `preprocess' and use this for backend-agnostic
12566         handling of literal examples.
12568 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12570         * org.el (org-match-substring-regexp)
12571         (org-match-substring-with-braces-regexp): Allow subscripts and
12572         superscripts to start at beginning of line.
12574 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12576         * ob.el (org-babel-common-header-args-w-values): New variable to
12577         hold common header arguments and their default values.
12578         (org-babel-header-arg-names): Redefined using the new common
12579         header arg variable.
12580         (org-babel-insert-header-arg): New function to help when inserting
12581         header arguments.
12583 2012-01-03  David Maus  <dmaus@ictsoc.de>
12585         * org-html.el (org-html-handle-links): Remove unnecessary
12586         protection markers when publishing link in default format.
12588 2012-01-03  Pieter Praet  <pieter@praet.org>  (tiny change)
12590         * org-crypt.el (org-crypt-check-auto-save): New function, see
12591         next change.
12593         * org-crypt.el (org-decrypt-entry): Break the auto-save-mode
12594         check out into a separate function, and call it at a later
12595         point, to assure it only runs when visiting an encrypted
12596         entry.
12598 2012-01-03  John J Foerch  <jjfoerch@earthlink.net>  (tiny change)
12600         * org.el (org-log-note-headings): Document new %d and %D
12601         escapes.
12602         (org-store-log-note): Implement new %d and %D escapes.
12604 2012-01-03  Dave Abrahams  <dave@boostpro.com>
12606         * org-agenda.el (org-agenda-follow-indirect): New option.
12607         (org-agenda-follow-mode): Call `org-agenda-do-context-action' fro
12608         follow mode.
12609         (org-agenda-do-context-action): Also do indirect follow mode
12610         action.
12612 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12614         * ob-table.el (sbe): Fix typo in new sbe specification.
12616 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12618         * ob-table.el (sbe): If first variable is a string and not a
12619         cons cell, then interpret it as a string of header arguments
12620         to be passed to the code block.
12622 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12624         * ob-shen.el (shen-eval-defun): Declare external function.
12625         (org-babel-execute:shen): Move requirement of inf-shen into
12626         the function in which it is used to fix build error.
12628         * ob-shen.el: New file.
12630 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
12632         * org.el (org-open-at-point): Make `org-open-at-point' only
12633         ask once about creating a new headline.
12635 2012-01-03  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
12637         * org.el (org-refile-targets): Elaborated the documentation of
12638         the variable as suggested by Dave Abrahams.
12640 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
12642         * org.el (org-align-tags-here): Allow tags to be placed right
12643         after heading.
12644         (org-tags-column): Document the meaning of tags column 0.
12646 2012-01-03  Niels Giesen  <niels.giesen@gmail.com>
12648         * org-agenda.el (org-agenda-get-blocks): Show timestamp ranges
12649         in agenda if start day is same as end day.
12651 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12653         * org.el (org-refile-get-location): Ignore errors when
12654         collection heading to be excluded.
12656 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12658         * org-special-blocks.el
12659         (org-special-blocks-convert-html-special-cookies): Avoid XHTML
12660         strict problems by not enclosing special blocks in paragraph tags.
12662 2012-01-03  Bernt Hansen  <bernt@norang.ca>
12664         * org-html.el (org-export-as-html): Check string-match
12665         argument.
12666         (org-html-handle-time-stamps): Check string-match argument.
12668 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12670         * org-agenda.el
12671         (org-agenda-skip-additional-timestamps-same-entry):
12672         Change default value.
12674 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12676         * org.el (org-time-string-to-time):
12677         (org-time-string-to-absolute): Add optional arguments BUFFER and
12678         POS for error reporting.
12680         * org-agenda.el (org-get-all-dates):
12681         (org-agenda-get-timestamps, org-agenda-get-deadlines)
12682         (org-agenda-get-scheduled, org-agenda-get-blocks): Call time
12683         stamp parsing functions with information on where the
12684         timestamp was taken from.
12686 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12688         * org.el (org-tree-to-indirect-buffer): Run `org-cycle-hook'
12689         after `show-all' in indirect buffer.
12691 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12693         * org-list.el (org-list-parents-alist): When no parent is found
12694         for an item, set it as the closest less indented item above.
12695         If none is found, make it a top level item.
12696         (org-list-write-struct): Externalize code.
12697         (org-list-struct-fix-item-end): New function.
12698         (org-list-struct): Remove a now useless fix.
12700         * org.el (org-ctrl-c-ctrl-c): Use new function.
12702 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12704         * org.el (org-end-of-line): When on an item, move point at the
12705         end of the line, but before any hidden text.  Thus, it's still
12706         possible to use commands, like `C-c C-c', acting at
12707         items.  This is still disabled if `org-special-ctrl-a/e'
12708         ignores `C-e'.
12710 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12712         * org-footnote.el (org-footnote-renumber-fn:N): Small refactoring.
12714 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12716         * org-footnote.el (org-footnote-renumber-fn:N): Fix an
12717         infloop.
12719 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12721         * org-footnote.el (org-footnote-at-definition-p):
12722         Remove useless `org-re'.
12724 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12726         * org-footnote.el (org-footnote-renumber-fn:N): Verify point
12727         is at a real footnote reference or definition before
12728         renumbering it.
12730 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12732         * org-footnote.el (org-footnote-goto-definition): This patch
12733         makes sure the function says when a definition has been
12734         found.  Thus, moving from the reference to the definition
12735         doesn't offer to create the latter again.
12737 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12739         * org-footnote.el (org-footnote-create-definition):
12740         Explicitly move point after tag, if it has just been
12741         inserted.
12743 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12745         * ob-gnuplot.el (org-babel-execute:gnuplot): Don't quote file
12746         names on Windows systems.
12748 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12750         * org-footnote.el (org-footnote-create-definition): When the
12751         tag is missing, it is created before any existing footnote, or
12752         at end of buffer.  In the latter case, the marker pointing at
12753         the position where the new footnote is going to be inserted
12754         (at end of buffer) stays before the tag.  This patch makes
12755         sure that the marker will be kept after the tag.
12757 2012-01-03  Eli Zaretskii  <eliz@gnu.org>
12759         * org.el (org-mode): Force left-to-right paragraphs in Org
12760         buffers.  For a related discussions, see
12761         https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
12763 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12765         * ob-asymptote.el (org-babel-asymptote-define-type):
12766         Silence byte-compiler.
12768 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12770         * ob-R.el (org-babel-R-evaluate): Fix bug in R session
12771         evaluation.
12773 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12775         * org-bibtex.el (org-bibtex-type-property-name):
12776         Configurable property name for bibtex entry types.
12777         (org-bibtex-headline): Use new configurable property name.
12778         (org-bibtex-check): Use new configurable property name.
12779         (org-bibtex-create): Use new configurable property name.
12780         (org-bibtex-write): Use new configurable property name.
12782 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12784         * org.el (org-paste-subtree): Remove unnecessary `concat'.
12786 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12788         * org.el (org-paste-subtree): Remove useless (concat ...).
12790 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12792         * ob-C.el (org-babel-C-var-to-C): Replacing usage of
12793         characterp with integerp (which should work w/Emacs22).
12795 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12797         * org-footnote.el (org-footnote-at-definition-p): Context must
12798         be valid at the beginning of line, not at point.
12800 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12802         * ob-tangle.el (org-babel-tangle-collect-blocks):
12803         Better delimiting of Org-mode text preceding a code block.
12805 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12807         * ob.el (org-babel-get-src-block-info): Fixing bug,
12808         accidentally deleted variable values.
12810 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12812         * ob-tangle.el (org-babel-process-comment-text):
12813         Customizable function to process comment text.
12814         (org-babel-tangle-collect-blocks): Make use of new
12815         customizable processing function.
12816         (org-babel-spec-to-string): Call customizable function rather than
12817         `org-babel-trim'.
12819 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12821         * ob-R.el (org-babel-execute:R): Collect and pass along the
12822         result-params.
12823         (org-babel-R-evaluate): Accept result-params and if "scalar" or
12824         "verbatim" don't process output.
12825         (org-babel-R-evaluate-session): Accept result-params and if
12826         "scalar" or "verbatim" don't process output.
12828 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12830         * ob.el (org-babel-merge-params): Differentiate between result
12831         types and wrappers.
12833 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12835         * ob.el (org-babel-get-src-block-info): Check that
12836         functional-syntax variables are initialized.
12838 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12840         * ob.el (org-babel-check-src-block): Adding a note for a
12841         future enhancement.
12843 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
12845         * org-exp.el (org-export): Restore point when exporting a subtree.
12847 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12849         * ob.el (org-babel-parse-src-block-match): More robust to code
12850         blocks with empty bodies.
12852 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12854         * ob.el (org-babel-parse-src-block-match): Don't error on empty
12855         code block body.
12857 2012-01-03  David Maus  <dmaus@ictsoc.de>
12859         * org.el (org-open-at-point): Unescape plain link.
12861 2012-01-03  David Maus  <dmaus@ictsoc.de>
12863         * org-html.el (org-html-handle-links): Remove unnecessary link
12864         unescape.
12866 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12868         * ob.el (org-babel-merge-params): Better error message for
12869         unassigned variables.
12871 2012-01-03  Christian Egli  <christian.egli@alumni.ethz.ch>
12873         * org-taskjuggler.el (org-export-as-taskjuggler): Clone the
12874         buffer local variables to the temporary buffer before
12875         exporting.
12877 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12879         * org-exp.el (org-export-select-backend-specific-text):
12880         Only remove commas on the front line of a code block.
12882 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12884         * ob.el (org-babel-demarcate-block): Copy headers and indent to
12885         column of point when a block is split.
12887 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12889         * ob.el (org-babel-insert-result): Corrected file insertion
12890         for inline results.
12892 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12894         * org-footnote.el (org-footnote-in-valid-context-p):
12895         No footnote in latex fragments.
12897 2012-01-03  Martin Rudalics  <rudalics@gmx.at>
12899         * org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
12900         argument from `pop-to-buffer-same-window' call.
12902 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12904         * ob-R.el (org-babel-R-evaluate-session): Improve prompt
12905         detection regexp.
12907 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12909         * org-inlinetask.el (org-inlinetask-goto-end):
12910         Small refactoring.
12912 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12914         * ob-asymptote.el (org-babel-asymptote-var-to-asymptote):
12915         refactor code.
12916         (org-babel-asymptote-table-to-array): Remove function.
12918 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12920         * ob-asymptote.el (org-babel-asymptote-var-to-asymptote):
12921         recognize non-nested lists as uni-dimensional arrays.
12923 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12925         * ob.el (org-babel-params-from-properties): Don't check for
12926         header arguments in properties with leading ":"s.
12928 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12930         * org-inlinetask.el (org-inlinetask-goto-end):
12931         Correctly detect the end of an inlinetask when the next one starts
12932         immediately after the current one.  Also, return position of
12933         point.
12935 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12937         * ob.el (org-babel-inline-src-block-regexp): Allow regexp to
12938         start at bol.
12940 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12942         * ob-asymptote.el (org-babel-asymptote-define-type):
12943         Elisp floats are asymptote reals.
12945 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12947         * ob-asymptote.el (org-babel-asymptote-table-to-array):
12948         Require a new argument TYPE specifying the detected type of
12949         array.  If it's a string array, make sure every element is
12950         returned as a string.  Also improve doc-string.
12951         (org-babel-asymptote-var-to-asymptote): Fill new argument.
12952         Small refactoring.
12953         (org-babel-asymptote-define-type): Rewrite to avoid stopping
12954         search at first float found, as strings have precedence over
12955         floats.
12957 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12959         * org-footnote.el (org-footnote-normalize): Be sure to separate
12960         the last footnote definition from the rest of the buffer.
12962 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
12964         * ob-awk.el (org-babel-expand-body:awk): Allow for symbolic
12965         variable names.
12967 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12969         * org.el (org-latex-regexps): Allow matching latex fragments
12970         of type "$" and "$1" at beginning of line.
12972 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12974         * org-agenda.el (org-search-view, org-agenda-get-todos)
12975         (org-agenda-get-deadlines, org-agenda-get-scheduled):
12976         Add `category-pos' in let construct.
12978 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
12980         * org-footnote.el (org-footnote-get-definition): The function has
12981         to widen buffer if definition has not been found in the current
12982         narrowed part.  Be sure to restore that restriction once the
12983         definition is found.
12985 2012-01-03  Michal Sojka  <sojka@os.inf.tu-dresden.de>  (tiny change)
12987         * org-icalendar.el (org-print-icalendar-entries): Make alarm
12988         duration RFC5545 compliant.
12990 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12992         * org-agenda.el (org-agenda-get-timestamps)
12993         (org-agenda-get-sexps, org-agenda-get-progress): Correctly set
12994         the `org-category-pos' property.
12996 2012-01-03  Bastien Guerry  <bzg@gnu.org>
12998         * org-html.el (org-export-html-divs): Improve docstring.
13000 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13002         * org-table.el (org-table-fix-formulas): Throw error when
13003         changing formula leads to an invalid formula.
13005 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13007         * org.el (org-archive-location): Minor docstring fix.
13009 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13011         * org.el (org-block-todo-from-checkboxes):
13012         `org-list-search-forward' should be used when looking for an
13013         item, as it filters out contexts where match couldn't be in a
13014         list.  Also use a correct item regexp, taking into account
13015         alphabetical ordered lists and counters.
13017 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13019         * org-html.el (org-html-make-link): Minor fix to the
13020         docstring.
13022 2012-01-03  Suvayu Ali  <fatkasuvayu+linux@gmail.com>  (tiny change)
13024         * org-inlinetask.el (org-inlinetask): New customizable face
13025         for inlinetasks.
13027 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13029         * org-agenda.el (org-agenda-get-todos): Properly set
13030         `category-pos'.
13032 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13034         * org-list.el (org-list-struct-apply-struct): Don't use
13035         (copy-marker (point)) instead of (point-marker).
13037 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13039         * ob.el (org-babel-where-is-src-block-result): Don't try to
13040         resolve variables when simply checking if we're inside of a
13041         code block.
13043 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13045         * org.el (org-refresh-category-properties): New text property
13046         'org-category-position to point at the beginning of the
13047         headline from which the category is set.
13049 2012-01-03  Matt Lundin  <mdl@imapmail.org>
13051         * org.el (org-refile): Don't call `org-back-to-heading' with
13052         goto argument.
13054 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13056         * org.el (org-link-display-descriptive): Remove this option and
13057         rely on the existing `org-descriptive-links' instead.
13058         (org-toggle-link-display): Use `org-descriptive-links'.
13060 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13062         * ob-ref.el (org-babel-ref-resolve): Allow matching of results
13063         with tags after the result name.
13065 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13067         * org-table.el (org-table-get-specials): Allow the use of the
13068         underscore character in column names.
13069         (org-table-get-specials): Allow the use of the underscore
13070         character in field names.
13072 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13074         * org-exp-blocks.el (org-export-blocks-preprocess):
13075         Explicitly cleaning up markers.
13077 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13079         * ob-exp.el (org-babel-exp-inline-src-blocks): Save match data
13080         around `org-babel-exp-do-export' which now searches in this case.
13081         (org-babel-exp-results): Position the point in the inline source
13082         block during export evaluation.
13084         * ob.el (org-babel-insert-result): More readable code.
13086 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13088         * org-exp-blocks.el (org-export-blocks-preprocess): Use the built
13089         in function rather than the superfluous (and now removed)
13090         org-specific function.
13092 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13094         * ob-exp.el (org-babel-exp-inline-src-blocks): Don't examplize
13095         inline code blocks which are already escaped.
13097 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13099         * org-exp-blocks.el (org-marker-from-point): Helper function to
13100         create markers at specific points in source buffers.
13101         (org-export-blocks-preprocess): Use markers instead of points
13102         to delimit code blocks.
13104 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13106         * org-list.el (org-list-separating-blank-lines-number):
13107         The behavior of `org-back-over-empty-lines' depends on the
13108         associated value of `headline' in
13109         `org-blank-before-new-entry', which is out of context in a
13110         list.
13112 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13114         * org-indent.el (org-indent-initialize-agent): When the current
13115         buffer isn't being watched, resume initialization of other watched
13116         buffers.  In that case, give hand to others idle timers or
13117         processes more frequently.
13118         (org-indent-agent-active-delay): Rename from
13119         `org-indent-agent-process-duration'.
13120         (org-indent-agent-passive-delay): New variable.
13121         (org-indent-agent-resume-delay): Change value.
13122         (org-indent-initialize-buffer): Change argument name.
13123         (org-indent-add-properties): Change argument name and type
13124         expected.  It must be a time value now.
13126 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13128         * org.el (org-set-property): Bugfix.
13130 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13132         * ob.el (org-babel-remove-result): Idempotent code block
13133         evaluation and result removal.
13135 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13137         * ob-ruby.el (org-babel-ruby-initiate-session): No longer
13138         require inf-ruby when no session evaluation takes place.
13140 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13142         * org-agenda.el (org-agenda-prefix-format): Mention "%e" in
13143         the docstring.
13145 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13147         * org-agenda.el (org-agenda-custom-commands): Set a default
13148         value for this command.
13150 2012-01-03  Carsten Dominik  <carsten.dominik@gmail.com>
13152         * org-agenda.el (org-agenda-include-all-todo): Declare this option
13153         as no longer working.
13154         (org-timeline): Rename the include-all argument to dotodo.
13155         (org-arg-loc): Rename from` org-include-all-loc'.
13156         (org-agenda-list): Rename the INCLUDE-ALL argument to ARG,
13157         because its function has changed.
13159 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13161         * org.el (org-fixup-indentation): Fix various small bugs.
13163 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13165         * org-indent.el (org-indent-agent-timer)
13166         (org-indent-agentized-buffers, org-indent-agent-resume-timer)
13167         (org-indent-agent-process-duration)
13168         (org-indent-agent-resume-delay): New variables.
13169         (org-indent-initial-marker): More accurate doc-string.
13170         (org-indent-initial-timer, org-indent-initial-resume-timer)
13171         (org-indent-initial-process-duration)
13172         (org-indent-initial-resume-delay)
13173         (org-indent-initial-lock): Remove variables.
13174         (org-indent-mode): Set up an agent to watch current buffer, or
13175         add it to the list of already watched buffers.
13176         (org-indent-initialize-agent): New function.
13177         (org-indent-initialize-buffer): Now requires a mandatory
13178         buffer argument.
13179         (org-indent-add-properties): Reflect changes to variables.
13180         The resume timer is now global.
13182 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13184         * org-footnote.el (org-footnote-normalize): Refactor, and fix
13185         some blank lines deletion.
13187 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13189         * org-indent.el (org-indent-mode):
13190         `org-indent-initial-resume-timer ' needs to be local.
13192 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13194         * org.el (org-fixup-indentation): Correctly indent meta lines.
13196 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13198         * org-indent.el (org-indent-set-line-properties): Add text
13199         properties down to the beginning of the next line.
13200         (org-indent-add-properties): When last position to add
13201         properties to is at the beginning of a line, all that line
13202         will have properties.
13204 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13206         * org-indent.el (org-indent-initial-resume-timer): New variable.
13207         (org-indent-initialize-buffer): Also resume after a small break.
13208         (org-indent-add-properties): When in asynchronous mode,
13209         proceed for 2 seconds, then take a break.
13211 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13213         * org-indent.el (org-indent-set-line-properties): New function.
13214         (org-indent-add-properties): Externalize worker function.
13216 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13218         * org-indent.el (org-indent-indent-buffer): Take into account
13219         narrowing.
13221 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13223         * org-indent.el (org-indent-modified-headline-flag): Rename from
13224         `org-indent-deleted-headline-flag'
13225         (org-indent-notify-modified-headline): Rename from
13226         `org-indent-notify-deleted-headline'.  Handle situations when
13227         the stars of an headline are modified.
13228         (org-indent-refresh-maybe): Remove case now handled by
13229         previous function.
13230         (org-indent-mode): Apply renames.
13232 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13234         * org-indent.el (org-indent-inlinetask-first-star):
13235         New variable.
13236         (org-indent-add-properties): Set the first star of inline-tasks'
13237         virtual indentation in `org-warning' face.
13239         * org-inlinetask.el (org-inlinetask-insert-task): Create a new
13240         inline-task slightly differently, so virtual indentation can
13241         be applied normally.
13243 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13245         * org-indent.el (org-indent-initial-marker)
13246         (org-indent-initial-timer, org-indent-initial-lock):
13247         New variables.
13248         (org-indent-mode): At initialization, start an idle timer to indent
13249         the whole buffer.  When the user is asking for control, interrupt the
13250         process, and resume at the same point when idle again.
13251         (org-indent-initialize-buffer): New function.
13252         (org-indent-add-properties): Throw an interrupt when indentation of
13253         buffer is stopped during initialization.
13255 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13257         * org-indent.el (org-indent-indent-buffer): Send more
13258         appropriate messages.
13260 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13262         * org-indent.el (org-indent-notify-deleted-headline)
13263         (org-indent-refresh-maybe): Replace `org-indent-outline-re'
13264         with `org-outline-regexp-bol'.
13266 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13268         * org-indent.el (org-indent-max-levels): Modify default value and
13269         add comment.
13270         (org-indent-add-properties): Pay attention to `org-indent-max'
13271         and `org-indent-max-levels' values.
13272         (org-indent-refresh-maybe): Refactor code to avoid an unnecessary
13273         save excursion.
13275 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13277         * org-table.el (org-table-align): Remove now useless hack.
13279 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13281         * org-indent.el (org-indent-fix-section-after-idle-time):
13282         Remove variable.
13283         (org-indent-initialize): Remove timer.
13284         (org-indent-add-properties): Refactor code.
13285         (org-indent-refresh-subtree, org-indent-refresh-section)
13286         (org-indent-refresh-buffer,org-indent-set-initial-properties):
13287         Remove functions.
13288         (org-indent-deleted-headline): New variable.
13289         (org-indent-notify-deleted-headline,org-indent-refresh-maybe):
13290         New functions.
13291         (org-indent-mode): Insert new functions into a hook.
13293 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13295         * org-indent.el (org-indent-mode): Completely refresh buffer
13296         before starting org-indent-mode.  Also set idle timer to refresh
13297         only visible portion of buffer, and refresh the subtree instead of
13298         section when promoting or demoting it.
13299         (org-indent-add-properties): Rewrite function to proceed line by
13300         line, as required by `wrap-prefix' specificity.
13301         (org-indent-refresh-section,org-indent-refresh-subtree): Refactor.
13302         (org-indent-refresh-view): New function.
13303         (org-indent-refresh-to, org-indent-refresh-section):
13304         Remove functions.
13306         * org.el (org-unfontify-region): Do not remove prefix
13307         properties when unfontifying a region.
13309 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13311         * org-colview.el (org-columns-cleanup-item): Correctly remove
13312         leading stars in items displayed in the agenda column view.
13314 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13316         * org-colview.el (org-columns-display-here): Clean up items in
13317         `org-agenda-mode' too.
13318         (org-columns-cleanup-item): Take a new argument CPHR to allow
13319         passing a complex heading regexp.  Rewrite to cleanup ITEM
13320         correctly in `org-agenda-mode'.
13322 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13324         * org-clock.el (org-duration-string-to-minutes)
13325         (org-minutes-to-hh:mm-string, org-hh:mm-string-to-minutes):
13326         Move from org.el.
13328 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13330         * org.el (org-refile-active-region-within-subtree): New option to
13331         allow refiling a region that is part of a subtree without
13332         containing a subtree itself.  This default to `nil'.
13333         (org-refile): Use the new option.  Put point at the beginning
13334         of the region/subtree to be refiled, so that users understand
13335         what will be refiled.  Also improve the prompt to tell whether
13336         the user is refiling a region or a headline.
13338 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13340         * org.el (org-properties-postprocess-alist): New option to allow
13341         postprocessing the values of properties set through
13342         `org-set-property'.
13343         (org-set-property): Use this option.
13345 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13347         * org.el (org-outline-regexp, org-outline-regexp-bol): Add a
13348         docstring.
13350 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13352         * org-archive.el (org-archive-to-archive-sibling):
13353         Use `org-outline-regexp' instead of `outline-regexp'.
13355 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13357         * org.el (org-between-regexps-p): Searching up to pos may
13358         match again beginning regexp.
13360 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13362         * org-footnote.el (org-footnote-goto-definition): Don't send
13363         erroneous message: suggested bindings might not be set outside
13364         Org.
13366 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13368         * org-footnote.el (org-footnote-normalize): Effectively remove
13369         any footnote tag in non Org buffers, as detailled in the
13370         docstring of `org-footnote-tag-for-non-org-mode-files'.
13372 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13374         * org-footnote.el (org-footnote-tag-for-non-org-mode-files):
13375         notify the opportunity to set the variable to the empty string.
13376         (org-footnote-normalize, org-footnote-create-definition):
13377         Carefully check for inserted newlines and presence of the
13378         footnote tag.
13380 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13382         * org-footnote.el (org-footnote-at-definition-p): Re-use
13383         `org-footnote-definition-re'.
13385 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13387         * org-footnote.el (org-footnote-definition-re): Remove an
13388         useless group.
13389         (org-footnote-at-definition-p): Reflect removal of the group.
13391 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13393         * org.el (org-set-regexps-and-options): Enforce white space
13394         after todo keyword, as word boundary isn't sufficient (i.e. in
13395         matches * TODO/this).
13397 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
13399         * org-inlinetask.el (org-inlinetask-export-templates):
13400         Fix template for html so that the exported file is valid
13401         xhtml.  Added template for odt.
13402         (org-inlinetask-export-handler): Fix typo in the regexp that
13403         trims content.  Make sure that the content is flanked by
13404         paragraph boundaries on either side.
13406 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13408         * org.el (org-add-planning-info): Don't insert superfluous
13409         space when updating timestamps.
13411 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13413         * org-agenda.el (org-cmp-effort): Fix docstring.
13415 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13417         * org-list.el (org-list-full-item-re): When an item has only a
13418         bullet and no space after it, list structure would not be
13419         recognized correctly.
13421 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13423         * org.el (org-overview): Use `outline-regexp' instead of
13424         `org-outline-regexp' so that global cycling using
13425         `orgstruct-mode' works outside of Org buffers.
13427 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13429         * org-table.el (org-table-eval-formula): Fix missing variable
13430         in let construct.
13431         (org-table-time-string-to-seconds): Fix missing variable in
13432         let construct.
13434 2012-01-03  Michael Brand  <michael.ch.brand@gmail.com>
13436         * org-agenda.el (org-agenda-get-deadlines): Fix dfrac for the
13437         case of wdays being 0.  Don't pass wdays to
13438         org-agenda-deadline-face, like before the old fix.
13439         (org-agenda-deadline-face): Revert to old state that was without
13440         wdays.
13442 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13444         * org-latex.el (org-export-latex-fixed-width): Only add one
13445         line break after exporting verbatim environments.
13447 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13449         * org-mw.el (org-mw-export-lists): Fix list export.
13451 2012-01-03  Bastien Guerry  <bzg@gnu.org>
13453         * org-list.el (org-list-item-trim-br): New function.
13454         (org-list-to-generic): New parameter :nobr to use the new
13455         function.
13457 2012-01-03  David Maus  <dmaus@ictsoc.de>
13459         * org.el (org-paste-subtree): Fix wrong order of lines to move
13460         before pasting.
13462 2012-01-03  David Maus  <dmaus@ictsoc.de>
13464         * org.el (org-paste-subtree): Paste subtree above target
13465         headline if point is at bol.
13467 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13469         * org-list.el (org-toggle-checkbox): Don't clear lim-down
13470         while used in the while loop.
13472 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13474         * org-list.el (org-toggle-checkbox): Lim-down must be a
13475         marker.
13477 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13479         * org.el (org-activate-code): Correct regexp so ":.*" isn't
13480         matched.
13482 2012-01-03  David Maus  <dmaus@ictsoc.de>
13484         * org-macs.el (org-with-gensyms, org-called-interactively-p)
13485         (with-silent-modifications, org-bound-and-true-p)
13486         (org-unmodified, org-re, org-preserve-lc)
13487         (org-without-partial-completion, org-with-point-at)
13488         (org-no-warnings, org-if-unprotected, org-if-unprotected-1)
13489         (org-if-unprotected-at, org-with-remote-undo)
13490         (org-no-read-only, org-save-outline-visibility)
13491         (org-with-wide-buffer, org-with-limited-levels)
13492         (org-eval-in-environment): Provide edebug specifications.
13494         * org-src.el (org-src-do-at-code-block): Dto.
13496         * org-publish.el (org-publish-with-aux-preprocess-maybe): Dto.
13498         * org-compat.el (org-xemacs-without-invisibility): Dto.
13500         * org-clock.el (org-with-clock-position, org-with-clock): Dto.
13502         * org-agenda.el (org-agenda-with-point-at-orig-entry)
13503         (org-batch-agenda, org-batch-agenda-csv)
13504         (org-batch-store-agenda-views): Dto.
13506         * ob.el (org-babel-do-in-edit-buffer)
13507         (org-babel-map-src-blocks, org-babel-map-inline-src-blocks): Dto.
13509         * ob-tangle.el (org-babel-with-temp-filebuffer): Dto.
13511         * ob-table.el (sbe): Dto.
13513         * ob-exp.el (org-babel-exp-in-export-file): Dto.
13515         * ob-comint.el (org-babel-comint-in-buffer)
13516         (org-babel-comint-with-output): Dto.
13518 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13520         * org-inlinetask.el (org-inlinetask-export-templates):
13521         Fix docstring.
13523 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13525         * org-inlinetask.el (org-inlinetask-insert-task): Error when
13526         trying to nest inline tasks.
13528 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13530         * org.el (org-activate-code, org-toggle-fixed-width-section)
13531         (org-indent-line-function): Allow "[ \t]*:$" as a special case of
13532         fixed-width section.
13534 2012-01-03  David Maus  <dmaus@ictsoc.de>
13536         * org.el (org-paste-subtree): Don't eat headline when called
13537         with point at existing headline.
13539 2012-01-03  David Maus  <dmaus@ictsoc.de>
13541         * org.el (org-paste-subtree): Fix typo in variable name.
13543 2012-01-03  Jambunathan K  <kjambunathan@gmail.com>
13545         * org-inlinetask.el (org-inlinetask-export-handler):
13546         Don't export inline tasks if the current backend has provided no
13547         entries in `org-inlinetask-export-templates'.
13549 2012-01-03  Valentin Wüstholz  <wuestholz@gmail.com>  (tiny change)
13551         * org.el (org-indent-line-function): Made the way in which
13552         example blocks are indented more flexible.
13554 2012-01-03  David Maus  <dmaus@ictsoc.de>
13556         * org-agenda.el (org-batch-agenda-csv): Fix argument to append
13557         when creating final parameter alist.
13559 2012-01-03  David Maus  <dmaus@ictsoc.de>
13561         * org-agenda.el (org-batch-store-agenda-views): Use macro
13562         `org-eval-in-environment'.
13564 2012-01-03  David Maus  <dmaus@ictsoc.de>
13566         * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
13567         Use `org-eval-in-environment.
13569 2012-01-03  David Maus  <dmaus@ictsoc.de>
13571         * org-macs.el (org-make-parameter-alist): New function.
13572         Turn flat list of alternating symbol names and values into an alist
13573         with symbol name in car and value in cdr.
13575 2012-01-03  David Maus  <dmaus@ictsoc.de>
13577         * org-agenda.el (org-agenda-with-point-at-orig-entry):
13578         Use macro `org-with-gensyms'.
13580 2012-01-03  David Maus  <dmaus@ictsoc.de>
13582         * org-macs.el (org-substitute-posix-classes):
13583         New function.  Substitute posix classes in regular expression.
13584         (org-re): Use new function.
13586 2012-01-03  David Maus  <dmaus@ictsoc.de>
13588         * org-macs.el (org-eval-in-environment): New macro.  Evaluate FORM
13589         in ENVIRONMENT.
13591 2012-01-03  David Maus  <dmaus@ictsoc.de>
13593         * org-macs.el (org-preserve-lc, org-with-point-at)
13594         (org-with-remote-undo, org-save-outline-visibility): Use new
13595         macro `org-with-gensyms'.
13597 2012-01-03  David Maus  <dmaus@ictsoc.de>
13599         * org-macs.el (org-with-gensyms): New macro.  Wrap let-binding
13600         of SYMBOLS to new uninterned symbols around BODY.
13602 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13604         * org-inlinetask.el (org-inlinetask-export-handler): Make sure
13605         the task starts a paragraph or the HTML exporter will produce
13606         an incorrect output.
13608 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13610         * org.el (org-return): When filling happens, `newline' can
13611         change match data, hence modifying the indent column.
13613 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13615         * org-footnote.el (org-footnote-new): Only forbid non-inlined
13616         footnotes at column 0, as only them can be confused with a
13617         footnote definition.
13619 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13621         * org-footnote.el (org-footnote-new): Use `ido' or `iswitchb'
13622         when available when prompted for a label.  Also rename a local
13623         variable to avoid confusion with an existing function.
13625 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13627         * org-footnote.el (org-footnote-label-history):
13628         Remove variable
13629         (org-footnote-new): Remove call to that variable.
13631 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13633         * org.el (org-insert-heading): With `force-heading' non-nil,
13634         inserting an heading before any headline, and just after a
13635         list would return an error.
13637 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13639         * ob.el (org-babel-sha1-hash): Remove use of `copy-seq'.
13641 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13643         * org-bibtex.el (org-bibtex-get): Make the "FILE" property
13644         non-special when resolving bibtex values.
13646 2012-01-03  David Maus  <dmaus@ictsoc.de>
13648         * org.el (org-back-over-empty-lines): Don't move line upward
13649         if point is at eob.
13651 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13653         * org-footnote.el (org-footnote-in-valid-context-p):
13654         Check `org-protected' property before allowing to match a footnote.
13655         (org-footnote-at-reference-p): Remove an obsolete test.  It is now
13656         done in the previous function.
13658 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13660         * org.el (org-between-regexps-p): Previous name implied the
13661         function was related to blocks, which isn't mandatory.
13662         (org-narrow-to-block, org-in-block-p)
13663         (org-indent-line-function): Applied the rename.
13665         * ob-exp.el (org-babel-in-example-or-verbatim):
13666         Applied rename.  Also removed a white space.
13668 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13670         * org.el (org-in-regexps-block-p): Return an useful value when
13671         point is between START-RE and END-RE.  No incomplete block is
13672         allowed anymore.  Add another optional argument to bound the
13673         bottom part of the search.
13674         (org-narrow-to-block, org-in-block-p): Apply modifications.
13676 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13678         * ob.el (org-babel-src-block-regexp): If a code block has a
13679         body, its last character must be a newline.
13681 2012-01-03  Nicolas Goaziou  <n.goaziou@gmail.com>
13683         * org-footnote.el (org-footnote-next-reference-or-definition):
13684         If no more footnote is found, be sure to go back to the
13685         original position.  Otherwise, point might be left on a
13686         footnote-like element that has been dished out.
13688 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13690         * ob-exp.el (org-babel-inline-src-block-regexp): Declare this
13691         variable.
13693         * ob.el (defvar): Wrap variable declaration in
13694         `eval-when-compile'.
13696 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13698         * ob-keys.el (org-babel-key-bindings): Bound to `C-c C-v k'.
13700 2012-01-03  Eric Schulte  <schulte.eric@gmail.com>
13702         * ob-java.el (org-babel-execute:java): Allow cmdline flags
13703         during compilation and evaluation.
13705 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
13707         * ob.el (org-babel-expand-body:generic, org-babel-number-p):
13708         * ob-ref.el (org-babel-ref-parse): Fix typos.
13710 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
13712         * ob.el (org-babel-execute-src-block): Fix typo.
13714 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
13716         * org.el (org-link-unescape, org-link-unescape-compound): Fix typos.
13718 2011-11-20  Andreas Schwab  <schwab@linux-m68k.org>
13720         * org-list.el (org-list-send-item): Use sort instead of sort*.
13722 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
13724         * org-table.el (org-table-line-to-dline): Fix typo.
13726 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
13728         * org-agenda.el (org-agenda-add-entry-text-descriptive-links)
13729         (org-agenda-custom-commands, org-write-agenda, org-check-for-org-mode)
13730         (org-search-syntax-table, org-modify-diary-entry-string)
13731         (org-write-agenda):
13732         * org-bbdb.el (org-bbdb-anniv-export-ical):
13733         * org-bibtex.el (org-bibtex-fields):
13734         * org-icalendar.el (org-icalendar-date-time-format):
13735         * org-latex.el (org-export-latex-inline-image-extensions):
13736         * org-list.el (org-list-insert-item): Fix typos.
13738 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
13740         * org-plot.el (org-plot/gnuplot-to-grid-data): Fix typo in docstring.
13742 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
13744         * org.el (org-mode): Force left-to-right paragraphs in Org
13745         buffers.  For a related discussions, see
13746         https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
13748 2011-09-17  Juanma Barranquero  <lekktu@gmail.com>
13750         * org.el (org-toggle-pretty-entities): Fix typo in message.
13752 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
13754         * org-compat.el (org-pop-to-buffer-same-window): Delete.
13756         * ob-ref.el (org-babel-ref-goto-headline-id):
13757         * org.el (org-get-location, org-tree-to-indirect-buffer)
13758         (org-mark-ring-goto, org-refile, org-add-log-note)
13759         (org-revert-all-org-buffers, org-switchb)
13760         (org-cycle-agenda-files, org-submit-bug-report)
13761         (org-goto-marker-or-bmk):
13762         * org-agenda.el (org-prepare-agenda, org-agenda-switch-to):
13763         * org-capture.el (org-capture-goto-target)
13764         (org-capture-fill-template):
13765         * org-clock.el (org-clock-goto):
13766         * org-ctags.el (org-ctags-visit-buffer-or-file):
13767         * org-exp.el (org-export-as-org):
13768         * org-feed.el (org-feed-show-raw-feed):
13769         * org-html.el (org-export-htmlize-generate-css):
13770         * org-id.el (org-id-goto):
13771         * org-irc.el (org-irc-visit-erc):
13772         * org-mobile.el (org-mobile-apply):
13773         * org-publish.el (org-publish-org-to, org-publish-find-date):
13774         * org-remember.el (org-go-to-remember-target):
13775         * org-src.el (org-src-switch-to-buffer)
13776         (org-edit-fixed-width-region): Use switch-to-buffer.
13778 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
13780         * org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
13781         argument from pop-to-buffer-same-window call.
13783 2011-07-30  Carsten Dominik  <carsten.dominik@gmail.com>
13785         * ob.el (org-babel-src-block-regexp): If a code block has a body,
13786         its last character must be a newline.
13788 2011-07-28  Bastien Guerry  <bzg@gnu.org>
13790         * org-pcomplete.el: New file.  Rename from org-complete.el.
13791         * org-complete.el: Delete file.
13793 2011-07-28  Bastien Guerry  <bzg@gnu.org>
13795         * org-publish.el (org-publish-index-generate-theindex):
13796         Rename from `org-publish-index-generate-theindex.inc'.  Use the file
13797         theindex.org directly instead of including theindex.inc.
13798         (org-publish-projects): Don't delete .orgx files.
13799         (org-publish-aux-preprocess): Use .file.orgx.
13801 2011-07-28  Bastien Guerry  <bzg@gnu.org>
13803         * org-html.el (org-export-html-preamble-format): New default for
13804         the HTML preamble: don't include the title.  Also improve the
13805         docstring.
13806         (org-export-html-postamble-format): Improve the docstring.
13807         (org-export-as-html): Add the title within the "content" div.
13808         This is necessary for interaction with the org-info.js script.
13810 2011-07-28  Michael Brand  <michael.ch.brand@gmail.com>
13812         * org-table.el (org-table-edit-field): Display field coordinates.
13814 2011-07-28  Bastien Guerry  <bzg@gnu.org>
13816         * org-publish.el (org-publish-find-title): Bugfix: kill buffers
13817         unless they were already visited.
13818         (org-sitemap-sort-files, org-sitemap-sort-folders)
13819         (org-sitemap-ignore-case, org-sitemap-requested)
13820         (org-sitemap-date-format, org-sitemap-file-entry-format):
13821         Use a correct prefix.
13822         (org-publish-projects): Make sure to delete .orgx files.
13823         (org-publish-index-generate-theindex.inc): Small docstring fix.
13825 2011-07-28  Bastien Guerry  <bzg@gnu.org>
13827         * org-table.el (org-table-duration-custom-format): New defcustom
13828         to select output format of durations computations.
13829         (org-table-time-seconds-to-string): Use the new variable.
13830         (org-table-eval-formula): Allow `t' as a flag, on top of `T'.  `t'
13831         will use the custom output format defined in
13832         `org-table-duration-custom-format'.
13834 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
13836         * org-list.el: Search blank lines down to the end of the item
13837         instead of stopping at the item, in order to possibly match such
13838         lines within the item.
13840 2011-07-28  Bastien Guerry  <bzg@gnu.org>
13842         * org-latex.el (org-export-latex-href-format): Docstring fix to
13843         reflect the fact that you can use only one "%s".
13844         (org-export-latex-links): Allow `org-export-latex-href-format' to
13845         have only one "%s".
13847 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
13849         * org.el (org-org-menu): Add `org-copy-visible' to the menu.
13851 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
13853         * org.el (org-copy-visible): New command.
13855 2011-07-28  Bastien Guerry  <bzg@gnu.org>
13857         * org-capture.el (org-capture-templates): Docstring fix.
13859 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
13861         * ob.el (org-babel-view-src-block-info): New function to inspect
13862         code blocks.
13864         * ob-keys.el (org-babel-key-bindings): Key bindings for
13865         `org-babel-view-src-block-info'.
13867 2011-07-28  Bastien Guerry  <bzg@gnu.org>
13869         * org-exp.el (org-infile-export-plist): Handle recursively
13870         included setup files.  The value of the last included file always
13871         takes precedence over previous values.
13873 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
13875         * org.el (org-timestamp-change): Keep point in the same category
13876         when updating a time-stamp.  This requires to be careful, as,
13877         depending on the locale, name of day might change of length during
13878         the process.
13880 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
13882         * org-footnote.el (org-footnote-create-definition): When skipping
13883         already written footnotes definition, the algorithme would assume
13884         each one was only one-line long.
13886 2011-07-28  Bastien Guerry  <bzg@gnu.org>
13888         * org-table.el (org-table-eval-formula): Fix bug when a formula
13889         "range" is just one cell.
13890         (org-table-time-string-to-seconds): Don't check whether we
13891         manipulate a string.
13893 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
13895         * org-exp.el (org-export-mark-list-end)
13896         (org-export-mark-list-properties): Don't remove the ending regexp
13897         when it consists in blank lines.
13899         * org-list.el (org-list-parse-list): Ditto, but remove it
13900         completely when it isn't made of blank lines (i.e. during export
13901         process).
13903 2011-07-28  Bastien Guerry  <bzg@gnu.org>
13905         * org-table.el (org-table-time-string-to-seconds): Match either
13906         HH:MM:SS or HH:MM (instead of MM:SS).
13908 2011-07-28  Bastien Guerry  <bzg@gnu.org>
13910         * org.el (org-ctrl-c-ctrl-c-final-hook): New hook to be run when
13911         `org-ctrl-c-ctrl-c' cannot do anything useful in the given
13912         context.
13914 2011-07-28  Bastien Guerry  <bzg@gnu.org>
13916         * org-html.el (org-export-html-with-timestamp)
13917         (org-export-html-html-helper-timestamp): These are obsolete
13918         variables as of Org version 7.7 as you can already export the
13919         timestamp from the preamble or the postamble.
13920         (org-export-html-before-content-div): Delete variable.
13921         (org-export-html-content-div): Obsolete variable as of 7.7.
13922         (org-export-html-divs): New variable to define divs used in
13923         HTML export.
13924         (org-export-as-html): Now the preamble and the postamble are
13925         surrounded by a <div ...>.  The name of the div is defined through
13926         `org-export-html-divs'.
13928 2011-07-28  Bastien Guerry  <bzg@gnu.org>
13930         * org-table.el (org-table-eval-formula): Throw an error when
13931         trying to replace complex range with invalid references.
13933 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
13935         * org-macs.el (org-with-limited-levels): Some functions, like
13936         `org-back-to-heading', being deeply based on outline-mode, still
13937         refer to `outline-regexp' instead of `org-outline-regexp'.
13939 2011-07-28  Bastien Guerry  <bzg@gnu.org>
13941         * org.el (org-refile-get-targets): New optional argument
13942         `excluded-entries' to exclude entries from the targets.
13943         (org-refile-get-location): From an org-mode buffer, exclude
13944         current heading and subheadings from the list of targets when
13945         `org-refile-use-cache' is nil.
13947 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
13949         * org.el (org-imenu-get-tree): Headlines start at bol.
13951 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
13953         * ob-maxima.el: New file.  Fixed self-proclaimed file name.
13955 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
13957         * ob.el (org-babel-sha1-hash): Only call `copy-seq' on proper
13958         lists.
13960 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
13962         * org.el (org-kill-is-subtree-p): Matched string needs to start at
13963         bol.
13965 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
13967         * org.el (org-paste-subtree, org-kill-is-subtree-p)
13968         (org-yank-folding-would-swallow-text, org-yank-generic):
13969         Use `org-with-limited-levels' macro.
13971 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
13973         * org-macs.el (org-with-limited-levels): Also modify, when
13974         appropriate, `org-outline-regexp-at-bol'.
13976 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
13978         * org.el (org-timestamp-change): Some locales don't use the same
13979         length for date abbreviations.  Set a marker at origin in case
13980         length of new timestamp is different.
13982 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
13984         * org.el (org-imenu-get-tree): Browse only true headlines.
13986 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
13988         * org-archive.el (org-archive-subtree): While it might be possible
13989         to archive an headline of a temporary buffer (i.e. not visiting a
13990         file), it wouldn't be really sensible.
13992 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
13994         * org-archive.el (org-extract-archive-file)
13995         (org-extract-archive-heading, org-archive-subtree):
13996         `buffer-file-name' is nil in an indirect buffer.  Thus, use
13997         `(buffer-file-name (buffer-base-buffer))', which will, in any
13998         case, return the file name.
14000 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14002         * org-capture.el (org-capture): If dired isn't loaded,
14003         `dired-buffers' isn't defined, and %F will fail.
14005 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14007         * ob-java.el (org-babel-execute:java): Don't create empty package
14008         directories.
14010 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14012         * ob-java.el: New file.
14014 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14016         * ob.el (org-babel-execute-src-block): Replace call to defunct
14017         function `org-babel-result-hash'.
14019 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14021         * org-footnote.el (org-footnote-in-valid-context-p): Avoid cited
14022         lines and headers in `message-mode'.
14023         (org-footnote-at-reference-p): Remove check for cited lines, this
14024         is now handled by the previous function.  Refactor.
14026 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14028         * org-capture.el (org-capture): If no file is associated to
14029         current buffer, check dired buffer and try to retrieve a possibly
14030         directory associated.
14032 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14034         * ob-exp.el (org-babel-exp-results): Resolve hashes in the current
14035         (not original) file buffer.
14037         * ob.el (org-babel-current-result-hash): More informative name,
14038         and remove useless optional argument.
14040 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14042         * org.el (org-refile-get-location): Exclude current heading from
14043         the refile table.
14045 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14047         * org-footnote.el (org-footnote-at-reference-p): Test if match is
14048         in cited text, when replying to a message.
14049         (org-footnote-new): Do not create a new footnote at bol, as it
14050         might be seen as a definition.
14051         (org-footnote-at-definition-p): Ignore definitions in forbidden
14052         blocks, as it is already the case for references.
14054 2011-07-28  Matt Lundin  <mdl@imapmail.org>
14056         * org-bibtex.el (org-bibtex-create, org-bibtex-write):
14057         Change argument of `org-toggle-tag' to 'on.  (Other arguments, e.g., t,
14058         have no effect).
14060 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14062         * org-bibtex.el (org-bibtex-get): Don't let trimming turn nils
14063         into empty strings.
14065 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14067         * org-list.el (org-list-insert-item): Actualize code comments.
14068         (org-insert-item): For consistency, point cannot be moved at a
14069         surprising place when the user is being asked to choose a new
14070         description term to insert in the list.  Point should stay where
14071         the user called the command.
14073 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14075         * org-toc.el (org-toc-before-first-heading-p, org-toc-show)
14076         (org-toc-get-headlines-status): Use `org-outline-regexp-bol'.
14078 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14080         * org.el (org-outline-regexp-bol): New defconst.
14081         (org-outline-level, org-set-font-lock-defaults, org-cycle)
14082         (org-overview, org-content, org-flag-drawer)
14083         (org-first-headline-recenter, org-insert-todo-heading)
14084         (org-map-region, org-move-subtree-down, org-paste-subtree)
14085         (org-kill-is-subtree-p, org-context-p, org-refile)
14086         (org-refile-new-child, org-toggle-comment, org-todo)
14087         (org-add-planning-info, org-add-log-setup, org-scan-tags)
14088         (org-set-tags, org-insert-property-drawer)
14089         (org-prepare-agenda-buffers, org-preview-latex-fragment)
14090         (org-speed-command-default-hook, org-check-for-hidden)
14091         (org-toggle-item, org-toggle-heading)
14092         (org-indent-line-function, org-set-autofill-regexps)
14093         (org-fill-paragraph, org-toggle-fixed-width-section)
14094         (org-yank-generic, org-yank-folding-would-swallow-text)
14095         (org-first-sibling-p, org-goto-sibling)
14096         (org-goto-first-child, org-show-entry):
14097         Use `org-outline-regexp' and `org-outline-regexp-bol'.
14099 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14101         * org.el (org-update-parent-todo-statistics): COOKIE_DATA should
14102         be checked for parent, not current headline.  Also, this function
14103         doesn't need to be interactive.
14105 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14107         * org-list.el (org-list-send-item, org-list-struct-apply-struct)
14108         (org-apply-on-list, org-toggle-checkbox): Make markers point
14109         nowhere when they have become useless.
14111 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14113         * org-list.el (org-list-insert-item): When insertion point is in
14114         some white line after the end of the list, remove all unnecessary
14115         white lines there before proceeding.  Also refactor a snippet of
14116         code.
14118 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14120         * org-latex.el (org-export-latex-image-default-option):
14121         Change default value.
14123 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14125         * org.el (org-fontify-meta-lines-and-blocks-1): Blocks cannot be
14126         correctly fontified when the buffer is missing a final newline.
14128 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14130         * ob.el (org-babel-strip-protective-commas): Return `nil' instead
14131         of an error if no argument is given.
14132         (org-babel-parse-src-block-match): Make sure body is defined in
14133         the let construct.
14135 2011-07-28  Jon Anders Skorpen  <jonas@ifi.uio.no>  (tiny change)
14137         * org-publish.el (org-publish-cache-file-needs-publishing):
14138         Regexp did not find includes with double quoted file names.
14140 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14142         * org-footnote.el (org-footnote-normalize): Footnote section
14143         should be inserted only if there are footnotes to insert.
14145 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14147         * org-footnote.el (org-footnote-at-definition-p)
14148         (org-footnote-normalize): Do not grab signature in the definition
14149         of the last footnote.
14151 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14153         * org-bibtex.el (org-babel-trim): Declare this function to the
14154         compiler.
14155         (org-bibtex-get): Trimming whitespace off of bibtex fields read from
14156         properties.
14158 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14160         * org-exp.el (org-export-preprocess-string): Add the possibility
14161         to call recursively the function.  Also change order of some
14162         function calls.  Comment export process for footnotes.
14164         * org-footnote.el (org-footnote-normalize): Change the export
14165         specific parameter to hold properties of export.  Thus, the
14166         function can send every footnote definition in the buffer through
14167         `org-export-process-string'.
14169 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14171         * org-latex.el (org-export-latex-preprocess): First insert
14172         footnotes in the temporary buffer so their contents can properly
14173         be protected from further transformations if required.
14175 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14177         * org-list.el (org-list-indent-offset): New variable.
14178         (org-list-struct-fix-ind): Make use of the new variable.
14180 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14182         * org-latex.el (org-export-latex-list-parameters):
14183         Complete default value with cbtrans option.
14185         * org-list.el (org-list-to-latex): Set a more consistent default
14186         value.
14188 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14190         * org-list.el (org-list-swap-items): Move it to a meaningful
14191         position in source code (i.e. before any function using it), and
14192         rename it to an easier name.
14194 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14196         * org-list.el (org-list-separating-blank-lines-number): If there
14197         are blank lines already in the whole list, add a blank line.
14199 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14201         * org-list.el (org-list-use-circular-move): New variable.
14202         (org-previous-item, org-next-item): Make use of the new variable.
14203         (org-move-item-down, org-move-item-up): Make use of the new
14204         variable.  Simplify code.
14206 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14208         * org-list.el (org-list-delete-item, org-list-send-item):
14209         New functions.
14211 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14213         * org-agenda.el (org-agenda-bulk-custom-functions): New variable
14214         for custom bulk action functions.
14215         (org-agenda-bulk-action): Use it.
14217 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14219         * org-latex.el (org-export-latex-quotes): New defcustom.
14220         (org-export-latex-quotation-marks): Use it.
14222 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14224         * org-capture.el (org-capture-finalize): Bugfix about inserted
14225         blank line when killing the capture buffer and
14226         `org-blank-before-new-entry' tells to not insert anything before a
14227         heading.
14229 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14231         * org-html.el (org-export-html-content-div): Rename from
14232         `org-export-content-div'.
14233         (org-export-as-html): Use new name.
14235 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14237         * org-latex.el (org-export-latex-header-defs-re): Delete.
14239 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14241         * org.el (org-last-set-property): New variable.
14242         (org-read-property-name): Use the new variable: the prompt
14243         defaults to the last property set, unless there is a property in
14244         the line at point.
14246 2011-07-28  David Maus  <dmaus@ictsoc.de>
14248         * org-capture.el (org-capture-before-finalize-hook)
14249         (org-capture-after-finalize-hook, org-capture-mode-map)
14250         (org-capture-mode, org-capture-goto-last-stored): Fix docstring,
14251         consistently refer to capture, not remember.
14253 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14255         * ob-clojure.el (org-babel-execute:clojure): Respects "scalar" and
14256         "verbatim" results params.
14258 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14260         * ob-awk.el (org-babel-execute:awk): Use "verbatim" as synonym for
14261         "scalar".
14263         * ob-sh.el (org-babel-sh-evaluate): Use "verbatim" as synonym for
14264         "scalar".
14266         * ob-sqlite.el (org-babel-execute:sqlite): Use "verbatim" as
14267         synonym for "scalar".
14269         * ob.el (org-babel-merge-params): Use "verbatim" as synonym for
14270         "scalar".
14272 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14274         * ob.el (org-babel-script-escape): Parse odd parens when nested
14275         isnide lists.
14277 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14279         * ob-clojure.el (org-babel-execute:clojure): No longer force
14280         results into elisp if they don't naturally fit.
14282 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14284         * ob-clojure.el (org-babel-execute:clojure): Stop re-reading
14285         already parsed lisp results.
14287 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14289         * org-list.el (org-plain-list-ordered-item-terminator):
14290         Remove incorrect assumption.
14292 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14294         * org-footnote.el (org-footnote-forbidden-blocks): Add missing
14295         exporter specific blocks.
14297         * org-list.el (org-list-forbidden-blocks): Ditto.
14299 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14301         * org-latex.el (org-export-latex-tables): Bugfix: remove
14302         properties from fields.
14304 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14306         * org.el (org-shiftcontrolup, org-shiftcontroldown): New commands
14307         to use `org-clock-timestamps-change'.
14309 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14311         * org.el (org-timestamp-up, org-timestamp-down): Mention time
14312         changes in the docstring.
14314 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14316         * org-clock.el (org-clock-remove-empty-clock-drawer): New function
14317         to remove empty clock drawer.
14318         (org-clock-out-hook): Add the new function as a hook.
14320 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14322         * org-list.el (org-list-in-valid-context-p): Use `org-in-block-p'.
14324 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14326         * org.el (org-in-block-p): New function.
14328         * org-footnote.el (org-footnote-forbidden-blocks): New variable.
14329         (org-footnote-in-valid-context-p): New function.
14330         (org-footnote-at-reference-p): Use new function.  Allow inline
14331         footnotes to start at bol.
14333 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14335         * org-lparse.el (org-lparse-use-flashy-warning): New defcustom.
14336         (org-lparse-warn): Use it.
14338 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14340         * org-ascii.el (org-export-as-utf8): Fix call to
14341         `org-called-interactively-p': it requires an argument.  Also fix
14342         the docstring.
14344 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14346         * ob-lilypond.el (show-all): Declaring function from outline.el.
14347         (org-babel-default-header-args:lilypond): Declared.
14348         (ly-process-basic): Use the appropriate prefix for the temporary
14349         file, and don't call a function from ob-dot.el.
14350         (ly-version): Let-bind a free variable.
14352 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14354         * ob-lilypond.el: New file.
14356 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14358         * org-publish.el
14359         (org-publish-cache-file-needs-publishing): Only check against .org
14360         files.
14362 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14364         * org.el (org-mode): Use `org-default' as the default face in
14365         org-mode.
14367 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14369         * org-publish.el
14370         (org-publish-cache-file-needs-publishing): Takes care of more
14371         recently included files, returning `t' in case the file including
14372         them needs to be republished.
14374 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14376         * org-exp.el (org-export-preprocess-string): If the last subtree
14377         is a task, footnotes may be removed along with the subtree.
14378         This patch ensures footnotes are put at the end of the buffer after the
14379         subtree has been removed.
14381 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14383         * org-footnote.el (org-footnote-at-reference-p): Verify that what
14384         looks like a footnote doesn't belong to a link.
14385         (org-footnote-next-reference-or-definition): Check more strictly
14386         footnote definitions.
14388 2011-07-28  Deech  <deech@deech-ThinkPad-X200.(none)>  (tiny change)
14390         * ob-tangle.el (org-babel-tangle): Ignore errors thrown by
14391         language modes.
14393 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14395         * ob-python.el (org-babel-python-evaluate-session): Inhibit return
14396         of the eoe string during session evaluation.
14398 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14400         * ob-python.el (org-babel-python-evaluate-session):
14401         Enough newlines to ensure a return when ":results output :session".
14403 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14405         * ob-python.el (org-babel-python-evaluate-session): Introduced a
14406         new local function for sending input with a slight delay to allow
14407         pythong to re-draw the prompt.  No longer removing newlines inside
14408         code block bodies (was due to a defective regexp).
14410 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14412         * org-table.el (org-table-time-seconds-to-string):
14413         Use `org-format-seconds' instead of `format-seconds'.
14415 2011-07-28  David Maus  <dmaus@ictsoc.de>
14417         * org-publish.el (org-publish-cache-ctime-of-src): Properly handle
14418         relative symlinks.
14420 2011-07-28  David Maus  <dmaus@ictsoc.de>
14422         * org-latex.el (org-export-latex-preprocess): Use function
14423         argument instead of dynamically scoped symbol.
14425 2011-07-28  David Maus  <dmaus@ictsoc.de>
14427         * org-freemind.el (org-freemind-convert-links-helper)
14428         (org-freemind-convert-text-p, org-freemind-write-mm-buffer)
14429         (org-freemind-get-node-style): Use org-string-match-p for backward
14430         compatibility with Emacs 22.
14432 2011-07-28  David Maus  <dmaus@ictsoc.de>
14434         * org-html.el (org-export-html-protect-char-alist): Add missing
14435         :group keyword in defcustom.
14437 2011-07-28  David Maus  <dmaus@ictsoc.de>
14439         * ob-haskell.el (org-babel-haskell-export-to-lhs):
14440         Call `kill-buffer' with argument indiciating to kill current
14441         buffer.  Emacs 22 compatibility.
14443 2011-07-28  David Maus  <dmaus@ictsoc.de>
14445         * org-macs.el (org-without-partial-completion):
14446         Toggle partial-completion-mode only if it is turned on.
14448 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14450         * org.el (org-add-planning-info): Fix issues with timestamps not
14451         being inserted at the same position.
14453 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14455         * org-table.el (org-table-time-string-to-seconds)
14456         (org-table-time-seconds-to-string): New functions.
14457         (org-table-eval-formula): Implement the "T" (time) flag for
14458         computing durations.
14460 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
14462         * org.el (org-modules): Add org-lparse and org-odt as contrib
14463         modules.
14465 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14467         * org.el (org-fontify-meta-lines-and-blocks-1): Include header
14468         lines.
14469         (org-additional-option-like-keywords): Include data as a synonym
14470         for results.
14472 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14474         * ob.el (org-babel-sha1-hash): Improving code layout and removing
14475         export-variable headers in cache sha1.
14477 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14479         * ob-ref.el (org-babel-ref-goto-headline-id): Don't let `org-id'
14480         rescan all IDs when trying to resolve a reference.
14482 2011-07-28  Julien Barnier  <julien@nozav.org>
14484         * org.el (org-fontify-meta-lines-and-blocks-1): Fix test for src
14485         blocks lang attribute.
14487 2011-07-28  Eric S Fraga  <e.fraga@ucl.ac.uk>
14489         * org-latex.el (org-export-latex-timestamp-inactive-markup):
14490         New option to allow different markup for inactive timestamps.
14492 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14494         * ob-org.el (org-babel-expand-body:org): Implemented this
14495         function, only action is to expand variables.
14496         (org-babel-execute:org): Uses the new body-expansion function.
14498 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14500         * org-list.el (org-list-full-item-re): Allow counter and check-box
14501         to be separated by white spaces.
14502         (org-list-struct-apply-struct): Reflect changes made to
14503         `org-list-full-item-re'.
14505         * org-html.el (org-html-export-list-line): Recognize spaces
14506         between counter and check-boxes as valid.
14508         * org-docbook.el (org-export-docbook-list-line): Ditto.
14510 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14512         * org-list.el (org-list-insert-item): Make sure point is moved to
14513         the specified POS before starting the function.
14515 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14517         * org.el (org-activate-footnote-links): Properly fontify inline
14518         footnotes.
14519         (org-set-font-lock-defaults): Apply changes to previous function.
14521 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14523         * org-footnote.el (org-footnote-at-reference-p): First check if
14524         point is at the beginning of a footnote.  Indeed `org-in-regexp'
14525         first checks backwards and might find an incorrect footnote if
14526         they are side-by-side.
14528 2011-07-28  Michael Brand  <michael.ch.brand@gmail.com>
14530         * org-agenda.el (org-agenda-compact-blocks): Improve docstring.
14531         (org-agenda-block-separator): Add nil to docstring and customization.
14532         (org-prepare-agenda): Skip agenda block separator additionally if
14533         `org-agenda-block-separator' is nil.
14534         (org-agenda-overriding-header): Improve docstring.
14536 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14538         * org.el (org-set-tags): Remove useless
14539         `org-without-partial-completion'.
14541 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14543         * org-footnote.el (org-fill-paragraph): Declare function for the
14544         compiler.
14546 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14548         * ob-ref.el (org-narrow-to-subtree): Declare unknown function.
14550 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14552         * ob.el (org-babel-inline-lob-one-liner-regexp): Declare variable
14553         to appease compiler.
14555 2011-07-28  Michael Markert  <markert.michael@googlemail.com>
14557         * ob.el (org-babel-sha1-hash): Adding optional argument KIND to
14558         all `org-called-interactively-p' function invocations.
14560         * org-agenda.el (org-agenda-redo): Adding optional argument KIND
14561         to all `org-called-interactively-p' function invocations.
14562         (org-agenda-show-1): Adding optional argument KIND to all
14563         `org-called-interactively-p' function invocations.
14564         (org-agenda-set-tags): Adding optional argument KIND to all
14565         `org-called-interactively-p' function invocations.
14567         * org-ascii.el (org-export-as-latin1): Adding optional argument
14568         KIND to all `org-called-interactively-p' function invocations.
14569         (org-export-as-latin1-to-buffer): Adding optional argument KIND to
14570         all `org-called-interactively-p' function invocations.
14571         (org-export-as-utf8-to-buffer): Adding optional argument KIND to all
14572         `org-called-interactively-p' function invocations.
14573         (org-export-region-as-ascii): Adding optional argument KIND to all
14574         `org-called-interactively-p' function invocations.
14576         * org-docbook.el (org-export-region-as-docbook): Adding optional
14577         argument KIND to all `org-called-interactively-p' function
14578         invocations.
14580         * org-html.el (org-export-region-as-html): Adding optional
14581         argument KIND to all `org-called-interactively-p' function
14582         invocations.
14584         * org-latex.el (org-export-region-as-latex): Adding optional
14585         argument KIND to all `org-called-interactively-p' function
14586         invocations.
14588         * org-table.el (org-table-blank-field): Adding optional argument
14589         KIND to all `org-called-interactively-p' function invocations.
14590         (org-table-current-column): Adding optional argument KIND to all
14591         `org-called-interactively-p' function invocations.
14592         (org-table-current-dline): Adding optional argument KIND to all
14593         `org-called-interactively-p' function invocations.
14594         (org-table-sort-lines): Adding optional argument KIND to all
14595         `org-called-interactively-p' function invocations.
14596         (org-table-sum): Adding optional argument KIND to all
14597         `org-called-interactively-p' function invocations.
14598         (org-table-rotate-recalc-marks): Adding optional argument KIND to
14599         all `org-called-interactively-p' function invocations.
14600         (org-table-eval-formula): Adding optional argument KIND to all
14601         `org-called-interactively-p' function invocations.
14602         (orgtbl-send-table): Adding optional argument KIND to all
14603         `org-called-interactively-p' function invocations.
14605         * org.el (org-mode): Adding optional argument KIND to all
14606         `org-called-interactively-p' function invocations.
14607         (org-copy-subtree): Adding optional argument KIND to all
14608         `org-called-interactively-p' function invocations.
14609         (org-paste-subtree): Adding optional argument KIND to all
14610         `org-called-interactively-p' function invocations.
14611         (org-store-link): Adding optional argument KIND to all
14612         `org-called-interactively-p' function invocations.
14613         (org-todo): Adding optional argument KIND to all
14614         `org-called-interactively-p' function invocations.
14615         (org-occur): Adding optional argument KIND to all
14616         `org-called-interactively-p' function invocations.
14618 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14620         * org-footnote.el (org-footnote-action): Offer to create
14621         definition when none is found.
14623 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14625         * org-footnote.el (org-footnote-re): Avoid matching inactive
14626         time-stamps or check-box cookies.
14627         (org-footnote-next-reference-or-definition): Adapt to the new regexp.
14629 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14631         * org-exp.el (org-export-preprocess-string): If the last subtree
14632         is commented, footnotes inserted during normalizing at the end of
14633         the buffer may get deleted.  This patch ensures deletion comes
14634         first, normalization second.
14636 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14638         * org-exp.el (org-export-footnotes-data): Change docstring.
14639         (org-export-footnotes-seen): Rename from
14640         org-export-footnotes-markers.
14642         * org-ascii.el (org-export-as-ascii): Apply change.
14644         * org-docbook.el (org-export-as-docbook): Apply change.
14646         * org-footnote.el (org-footnote-normalize): Apply change.
14648         * org-html.el (org-export-as-html): Apply change.
14650         * org-latex.el (org-export-as-latex): Apply change.
14652 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14654         * org-latex.el (org-export-latex-preprocess): Rely on
14655         `org-export-footnotes-markers' to retrieve definition of the
14656         current footnote during export.
14658 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14660         * org-footnote.el (org-footnote-normalize): Remember footnotes
14661         seen so far by the exporter when choosing the new marker.
14663 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14665         * org-footnote.el (org-footnote-normalize): Make use of
14666         `org-footnote-insert-pos-for-preprocessor'.
14668 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14670         * org-footnote.el (org-footnote-normalize): Add `org-footnote'
14671         property to footnote markers when preparing for exportation.
14673         * org-html.el (org-export-as-html): Read new property to decide
14674         when to export a footnote.
14676         * org-docbook.el (org-export-as-docbook): Read new property to
14677         decide when to export a footnote.
14679         * org-latex.el (org-export-latex-preprocess): Ensure footnote at
14680         column 0 cannot end a list containing it by adding
14681         `original-indentation' property to it.
14683 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14685         * org-exp.el (org-export-preprocess-string): Normalize footnotes
14686         before marking lists ending.
14688         * org-latex.el (org-export-latex-preprocess): Work with labels as
14689         strings and not as numbers.
14691 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14693         * org-docbook.el (org-export-docbook-footnote-separator):
14694         New variable.
14695         (org-export-as-docbook): Add a separator between footnotes.
14697         * org-html.el (org-export-html-footnote-separator): New variable.
14698         (org-export-as-html): Add a separator between footnotes.
14700         * org-latex.el (org-export-latex-footnote-separator):
14701         New variable.
14702         (org-export-latex-preprocess): Add a separator between footnotes.
14704 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14706         * org-exp.el (org-export-footnotes-markers)
14707         (org-export-footnotes-data): New variables.
14708         (org-export-preprocess-string): Use a more explicit argument.
14710 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14712         * org-footnote.el (org-footnote-goto-definition): Now, determining
14713         if point is at a footnote reference is entirely determined by
14714         `org-footnote-at-reference-p'.  No need to check if pattern isn't
14715         at beginning of the line elsewhere.
14717 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14719         * org-footnote.el (org-footnote-next-reference-or-definition):
14720         New function.
14722         * org.el (org-activate-footnote-links): Activate the whole
14723         footnote, but only fontify its label.
14725 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14727         * org-footnote.el (org-footnote-normalize): Make use of changes to
14728         `org-footnote-at-reference-p' and creation of various functions..
14729         Also comment code.
14730         (org-footnote-get-next-reference, org-footnote-delete-references)
14731         (org-footnote-delete-definitions): New functions.
14732         (org-footnote-goto-previous-reference, org-footnote-all-labels)
14733         (org-insert-footnote-reference-near-definition, org-footnote-delete):
14734         Rewrite to use org-footnote-get-next-reference.
14736 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14738         * org-footnote.el (org-footnote-re): Don't end an inline footnote
14739         at unrelated closing square brackets.
14740         (org-footnote-at-reference-p): Improve accuracy of the function to
14741         determine if point is at a reference and to extract definition of an
14742         inline footnote.
14743         (org-footnote-all-labels, org-footnote-action, org-footnote-delete)
14744         (org-footnote-auto-adjust-maybe): Make use of previous function.
14746 2011-07-28  Bastien Guerry  <bzg@gnu.org>
14748         * org.el (org-deadline, org-schedule):
14749         keep warning cookie when rescheduling/redeadlining.
14750         (org-time-stamp): Fix problem with warning cookie.
14752 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14754         * ob-clojure.el (org-babel-execute:clojure): Force escaping of
14755         clojure source into elisp source.
14757 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14759         * ob.el (org-babel-script-escape): Treats {} in the same manner as
14760         [] and allows for forcing string conversion.
14762 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14764         * org-exp.el (org-export-select-backend-specific-text):
14765         Strip protective commas from literal code blocks.
14767 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14769         * ob-ref.el (org-babel-ref-goto-headline-id): Fix bug.
14771 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14773         * ob-ref.el (org-babel-ref-goto-headline-id): Split out into its
14774         own function.
14775         (org-babel-ref-headline-body): Split out into its own function.
14776         (org-babel-ref-resolve): Using new functions, and alignment.
14778         * ob.el (org-babel-ref-goto-headline-id): Declare function.
14779         (org-babel-ref-headline-body): Declare function.
14780         (org-babel-expand-noweb-references): Now expands noweb references to
14781         headlines during expansion.
14783 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14785         * ob-ref.el (org-babel-ref-resolve): Now resolves references to
14786         headlines by either global or custom id, in which case the
14787         contents of the headline are returned literally.
14789 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14791         * ob-exp.el (org-babel-in-example-or-verbatim): Also check for in
14792         verbatim emphasis.
14793         (org-babel-exp-lob-one-liners): Cleaner checking for escaped call
14794         lines.
14796 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
14798         * org-list.el (org-cycle-item-indentation): Cycling back to
14799         original position deleted any additional information in the item,
14800         like a counter or a tag.
14802 2011-07-28  Pieter Praet  <pieter@praet.org>
14804         * org-crypt.el (org-crypt-disable-auto-save): New defcustom.
14805         (org-decrypt-entry): Before decrypting, check whether
14806         `auto-save-mode' is enabled for the current buffer, and act on it
14807         according to how `org-crypt-disable-auto-save' is set.  Remove
14808         comment re "encrypt[ing] Org auto-saved buffers".  Remove on-init
14809         check for `auto-save-default'.
14811 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14813         * ob.el (org-babel-merge-params): Ensure variable parameters are
14814         not reversed.
14816 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14818         * ob.el (org-babel-insert-result): Fix results insertion for
14819         inline blocks which happen to start a line.
14821 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14823         * ob-exp.el (org-babel-exp-lob-one-liners): Fix the logic checking
14824         if a call line is commented.
14826 2011-07-28  Vincent Belaïche  <vincentb1@users.sourceforge.net>
14828         * org.el (org-read-property-name): Propose default property name.
14830 2011-07-28  Achim Gratz  <stromeko@nexgo.de>
14832         * org.el (org-log-into-drawer): Correct typo.
14834         * org-clock.el (org-clock-into-drawer): New function to change the
14835         location of clock events based on properties CLOCK_INTO_DRAWER or,
14836         as fallback, LOG_INTO_DRAWER, like it is already possible for
14837         state change logs.
14839         * org-clock.el (org-clock-jump-to-current-clock): Add statement to
14840         let clause to bind `org-clock-into-drawer' to result of function
14841         eval.
14843         * org-clock.el (org-clock-find-position): Add statement to let
14844         clause to bind `org-clock-into-drawer' to result of function eval,
14845         change let to let* since the binding is used later in the same
14846         clause.
14848 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14850         * ob-lob.el (require): Ensure 'cl is loaded during compilation so
14851         we can use flet.
14853 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14855         * ob-lob.el (org-babel-lob-get-info): Correctly indent results of
14856         non-inline call lines.
14858 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14860         * ob-exp.el (org-babel-exp-lob-one-liners): Don't export inline
14861         call_ blocks which aren't whitespace padded.
14863 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14865         * ob.el (org-babel-merge-params): Do not reverse variable order,
14866         and be sure to increment variable index as appropriate.
14868 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14870         * ob-lob.el (org-babel-inline-lob-one-liner-regexp): Update to
14871         successfully match optional trailing header arguments in square
14872         brackets.
14873         (org-babel-lob-get-info): Update to match the new regexp.
14875 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14877         * ob-lob.el (org-babel-lob-get-info): If the arguments are empty,
14878         then allow them to be so.
14880 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14882         * ob.el (org-babel-merge-params): If variables are not named they
14883         are assigned in order.
14885 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14887         * ob.el: Remove code comment about online documentation.
14889         * ob-exp.el: Remove code comment about online documentation.
14891         * ob-lob.el: Remove code comment about online documentation.
14893 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
14895         * org-exp.el (org-export-format-source-code-or-example):
14896         Fix signature of org-<backend>-format-source-code-or-example function.
14898 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14900         * ob.el (org-babel-sha1-hash): Replace call to
14901         called-interactively-p with backwards-compatible interactive-p.
14903 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14905         * ob-exp.el (org-babel-exp-lob-one-liners):
14906         Appropriate replacement of inline call blocks with their results.
14908 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14910         * ob-lob.el (org-babel-inline-lob-one-liner-regexp): Removing this
14911         trailing space ensures that the insertion of the results looks
14912         nice.
14914         * ob.el (org-babel-insert-result): Insert inline lob line results
14915         as inline results.
14917 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14919         * ob-exp.el (org-babel-exp-lob-one-liners): Calculate length
14920         appropriately given the style (block or inline) of the lob line.
14922         * ob-lob.el (org-babel-block-lob-one-liner-regexp): New regexp
14923         specific for block lob lines.
14924         (org-babel-inline-lob-one-liner-regexp): New regexp specific for
14925         inline lob lines.
14926         (org-babel-lob-one-liner-regexp): Combination of two lob regexps.
14927         (org-babel-lob-get-info): Return info from *either* the block or
14928         inline lob lines.
14930 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14932         * ob-exp.el (org-babel-exp-lob-one-liners): Corrected the
14933         structure of the resulting info list.
14935         * ob-lob.el (org-babel-default-lob-header-args): Export the
14936         results of call lines by default.
14938 2011-07-28  Niels Giesen  <niels.giesen@gmail.com>  (tiny change)
14940         * org-icalendar.el (org-print-icalendar-entries): Add 'uid text
14941         property based on the ID property of the org entry to the first
14942         character of the diary entry.
14944 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
14946         * org-footnote.el
14947         (org-footnote-insert-pos-for-preprocessor): New variable.
14948         (org-footnote-normalize): Use it.
14950 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
14952         * org-exp.el (org-export-format-source-code-or-example):
14953         Simplify.  Also add `org-native-text' as a text property to the
14954         formatted text and throw error for unknown backends.
14956 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
14958         * org-exp.el (org-export-format-source-code-or-example):
14959         Add support for: - custom formatters for existing backends - seamless
14960         plugging in of new backends.
14962 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
14964         * org-exp.el (org-export-backends): New variable.
14965         (org-export-select-backend-specific-text): Use above
14966         variable.  Also mark text between #+BACKEND and
14967         #+BEGIN_BACKEND...#+END_BACKEND with org-native-text property.
14968         This text property is currently used only by the new line-oriented
14969         generic exporter (which is not yet part of the repo).
14971 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
14973         * org-exp.el (org-export): Reserve keys 'o' and 'O' for
14974         OpenDocumentText export and bind them to `org-export-as-odt' and
14975         `org-export-as-odt-and-open'.
14977 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14979         * ob-exp.el (org-babel-exp-src-block): Less verbose when in batch
14980         mode.
14982 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14984         * ob-clojure.el (org-babel-execute:clojure): Convert vectors to
14985         lists before reading into emacs-lisp.
14987 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
14989         * ob-C.el (ob-tangle): Initialize variable from `ob-tangle'.
14991         * ob-asymptote.el (ob-tangle): Initialize variable from `ob-tangle'.
14993         * ob-awk.el (ob-tangle): Initialize variable from `ob-tangle'.
14995         * ob-clojure.el (ob-tangle): Initialize variable from `ob-tangle'.
14997         * ob-haskell.el (ob-tangle): Initialize variable from `ob-tangle'.
14999         * ob-latex.el (ob-tangle): Initialize variable from `ob-tangle'.
15001         * ob-lisp.el (ob-tangle): Initialize variable from `ob-tangle'.
15003         * ob-ocaml.el (ob-tangle): Initialize variable from `ob-tangle'.
15005         * ob-perl.el (ob-tangle): Initialize variable from `ob-tangle'.
15007         * ob-python.el (ob-tangle): Initialize variable from `ob-tangle'.
15009         * ob-ruby.el (ob-tangle): Initialize variable from `ob-tangle'.
15011         * ob-tangle.el (ob-tangle): Initialize variable from `ob-tangle'.
15013 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15015         * ob-awk.el: New file.
15017 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15019         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
15020         Respects ":results verbatim".
15022 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15024         * org-agenda.el (org-float): Aliases for `diary-float'.
15026 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15028         * ob-python.el (org-babel-python-evaluate-session):
15029         Send comint-send-input after every line when interacting with an
15030         interactive python process.
15032 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15034         * org-list.el (org-reset-checkbox-state-subtree): Make the command
15035         more robust, and correctly update check-boxes in the whole
15036         sub-tree.
15037         (org-update-checkbox-count): Fix bug accumulating count of checkboxes
15038         when walking a subtree.
15039         (org-update-checkbox-count-maybe): Add an optional argument passed to
15040         org-update-checkbox-count.
15042 2011-07-28  Teodor Zlatanov  <tzz@lifelogs.com>
15044         * org.el (org-fontify-meta-lines-and-blocks): Ignore errors.
15046 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15048         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Respect the
15049         ":results scalar" header argument combination.
15051 2011-07-28  Dan Davison  <dandavison7@gmail.com>
15053         * org-src.el: Append a space character to copied text so that the
15054         final text property change is picked up correctly.
15056 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15058         * ob-tangle.el (org-babel-tangle-file): Use the new argument list
15059         to org-babel-tangle.
15060         (org-babel-tangle): Now when called with a prefix argument, only the
15061         current code block is tangled.
15063 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15065         * org-list.el (org-list-parse-list): Replace transitional
15066         check-boxes with "[CBTRANS]" string during parsing.
15067         (org-list-to-generic): Use the new property `:cbtrans' to configure
15068         export string for transitional check-boxes.
15070 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15072         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
15073         Use stable internal `org-anniversary' instead of
15074         diary-anniversary.
15075         (org-class): New function.
15076         (org-diary-class): Use `org-class'.
15077         (org-anniversary, org-cyclic, org-date, org-block): New functions.
15079 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15081         * ob.el (org-babel-header-arg-names): Adding noweb-ref to the list
15082         of header argument names.
15084 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15086         * ob.el (org-babel-expand-noweb-references): Concatenating all
15087         bodies with the appropriate name or :noweb-ref header argument.
15089 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
15091         * org.el (org-find-dblock, org-clocktable-try-shift): Make regexp
15092         work also when #+begin line is indentex.
15094 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15096         * ob.el (org-babel-src-block-regexp): Babel: code block may have
15097         empty bodies.
15099 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15101         * org-macs.el (org-without-partial-completion): Avoid calling by
15102         name a function unknown to the compiler but explicitly checked by
15103         program logic.
15105 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15107         * org-mouse.el (org-agenda-earlier): Declaring previously unknown
15108         function.
15109         (org-agenda-later): Declaring previously unknown function.
15110         (org-agenda-mode-map): Declaring previously unknown variable.
15112         * org.el (org-read-date-analyze): Explicitly ignore the return
15113         value of a function.
15115 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15117         * org-agenda.el (org-agenda-mode): Globally replace
15118         buffer-substring-filters with filter-buffer-substring-functions.
15120         * org-indent.el (org-indent-mode): Globally replace
15121         buffer-substring-filters with filter-buffer-substring-functions.
15123 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15125         * org-ascii.el (org-export-as-ascii): Replacing '(λ...) with
15126         #'(λ...).
15128         * org-attach.el: Replacing '(λ...) with #'(λ...).
15129         (org-attach-commit): Replacing '(λ...) with #'(λ...).
15131         * org-exp.el: Replacing '(λ...) with #'(λ...).
15132         (org-export-handle-include-files): Replacing '(λ...) with #'(λ...).
15134         * org-html.el: Replacing '(λ...) with #'(λ...).
15135         (org-export-as-html): Replacing '(λ...) with #'(λ...).
15137         * org-mouse.el: Replacing '(λ...) with #'(λ...).
15138         (org-mouse-popup-global-menu): Replacing '(λ...) with
15139         (org-mode-hook): Replacing '(λ...) with #'(λ...).
15140         (org-agenda-mode-hook): Replacing '(λ...) with #'(λ...).
15142         * org-src.el: Replacing '(λ...) with #'(λ...).
15143         (org-src-mode-configure-edit-buffer): Replacing '(λ...) with #'(λ...).
15145         * org-table.el: Replacing '(λ...) with #'(λ...).
15146         (org-table-fix-formulas-confirm): Replacing '(λ...) with #'(λ...).
15148         * org.el: Replacing '(λ...) with #'(λ...).
15149         (org-confirm-shell-link-function): Replacing '(λ...) with
15150         (org-category): Replacing '(λ...) with #'(λ...).
15152 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15154         * org.el (mailcap-parse-mailcaps): Declaring functions used by
15155         `org-open-file'.
15156         (mailcap-extension-to-mime): Declaring functions used by
15157         `org-open-file'.
15158         (mailcap-mime-info): Declaring functions used by `org-open-file'.
15160 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15162         * org-agenda.el (org-agenda-redo): Replacing call to now-defunct
15163         function `interactive-p'.
15164         (org-agenda-show-1): Replacing call to now-defunct function
15165         `interactive-p'.
15166         (org-agenda-set-tags): Replacing call to now-defunct function `interactive-p'.
15168         * org-ascii.el: Replacing call to now-defunct function
15169         `interactive-p'.
15170         (org-export-as-latin1): Replacing call to now-defunct function
15171         `interactive-p'.
15172         (org-export-as-latin1-to-buffer): Replacing call to now-defunct
15173         function `interactive-p'.
15174         (org-export-as-utf8): Replacing call to now-defunct function
15175         `interactive-p'.
15176         (org-export-as-utf8-to-buffer): Replacing call to now-defunct function
15177         `interactive-p'.
15178         (org-export-region-as-ascii): Replacing call to now-defunct
15179         function `interactive-p'.Replacing call to now-defunct function
15180         `interactive-p'.
15182         * org-docbook.el: Replacing call to now-defunct function
15183         `interactive-p'.
15184         (org-export-region-as-docbook): Replacing call to now-defunct
15185         function `interactive-p'.Replacing call to now-defunct function
15186         `interactive-p'.
15188         * org-html.el: Replacing call to now-defunct function
15189         `interactive-p'.
15190         (org-export-region-as-html): Replacing call to now-defunct
15191         function `interactive-p'.Replacing call to now-defunct function
15192         `interactive-p'.
15194         * org-latex.el: Replacing call to now-defunct function
15195         `interactive-p'.
15196         (org-export-region-as-latex): Replacing call to now-defunct
15197         function `interactive-p'.Replacing call to now-defunct function
15198         `interactive-p'.
15200         * org-macs.el: Replacing call to now-defunct function
15201         `interactive-p'.
15202         (org-called-interactively-p): Replacing call to now-defunct
15203         function `interactive-p'.Replacing call to now-defunct function
15204         `interactive-p'.
15206         * org-table.el: Replacing call to now-defunct function
15207         `interactive-p'.
15208         (org-table-blank-field): Replacing call to now-defunct function
15209         `interactive-p'.
15210         (org-table-current-column): Replacing call to now-defunct function
15211         `interactive-p'.Replacing call to now-defunct function
15212         `interactive-p'.
15213         (org-table-current-dline): Replacing call to now-defunct function
15214         `interactive-p'.Replacing call to now-defunct function
15215         `interactive-p'.
15216         (org-table-sort-lines): Replacing call to now-defunct function
15217         `interactive-p'.
15218         (org-table-sum): Replacing call to now-defunct function
15219         `interactive-p'.
15220         (org-table-rotate-recalc-marks): Replacing call to now-defunct
15221         function `interactive-p'.
15222         (org-table-eval-formula): Replacing call to now-defunct function
15223         `interactive-p'.
15224         (orgtbl-send-table): Replacing call to now-defunct function `interactive-p'.
15226         * org.el: Replacing call to now-defunct function `interactive-p'.
15227         (org-mode): Replacing call to now-defunct function
15228         `interactive-p'.
15229         (org-copy-subtree): Replacing call to now-defunct function
15230         `interactive-p'.
15231         (org-paste-subtree): Replacing call to now-defunct function
15232         `interactive-p'.
15233         (org-store-link): Replacing call to now-defunct function
15234         `interactive-p'.
15235         (org-todo): Replacing call to now-defunct function `interactive-p'.
15236         (org-occur): Replacing call to now-defunct function `interactive-p'.
15238 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15240         * ob-R.el (ess-local-process-name): This variable wasn't known to
15241         be defined.
15243         * ob-lisp.el (org-babel-lisp-dir-fmt): This defcustom now has a
15244         group specified.
15246         * ob-tangle.el (org-bracket-link-regexp): This variable wasn't
15247         known to be defined.
15248         (org-babel-tangle-combine-named-blocks): Roll my own version of a
15249         forbidden common lisp function.
15251         * ob.el (org-babel-sha1-hash): Using a non-deprecated version of
15252         called-interactively.
15254 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15256         * org-latex.el (org-export-latex-tables): Check for the
15257         "multiline" option and set the `floatp' option to true when
15258         multicolumn tables are requested.
15260 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15262         * org-html.el (org-export-as-html, org-html-level-start):
15263         Only convert section number underscores to dashes.
15265 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15267         * org-agenda.el (org-agenda-bulk-action): Fix bug caused by
15268         `days-to-time, converting relative to 1 BC, while the code assumed
15269         it would return a time relative to 1970.
15271 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15273         * ob-tangle.el (org-babel-tangle-combine-named-blocks): No longer
15274         inserting newlines between appended code blocks.
15276 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15278         * ob-exp.el: We may no longer need to export names along with code
15279         blocks.
15281 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15283         * org-exp-blocks.el (org-export-blocks-preprocess):
15284         Ensure balanced nested begin/end blocks in block bodies.
15286 2011-07-28  Dan Davison  <dandavison7@gmail.com>
15288         * org-latex.el: Add -shell-escape to pdflatex commands.
15290 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15292         * ob-tangle.el (org-babel-tangle-named-block-combination):
15293         Block combination can now take a number of values.
15294         (org-babel-tangle-combine-named-blocks): More sophisticated block
15295         combination behavior.
15297 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15299         * ob-tangle.el (org-babel-tangle-do-combine-named-blocks):
15300         Switch to turn on the combination of code blocks of the same name.
15301         (org-babel-tangle-combine-named-blocks): Combine blocks of the same
15302         name.
15304 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15306         * ob-ruby.el (xmp): Declaring this function to appease the
15307         compiler.
15308         (org-babel-execute:ruby): "xmp" result option for outputting
15309         annotated source code.
15311 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>  (tiny change)
15313         * org-list.el (org-list-to-latex): The enumerate environment in
15314         latex increments the counter before using it.  Therefore, org-mode
15315         should set the enumeration counter to the desired value minus one.
15317 2011-07-28  Michael Brand  <michael.ch.brand@gmail.com>  (tiny change)
15319         * org.el (org-toggle-heading): More comments and fix number of
15320         stars when toggling from list items.
15322 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
15324         * org-taskjuggler.el (org-taskjuggler-clean-effort): Handle any
15325         effort that is accepted by `org-duration-string-to-minutes´.
15327 2011-07-28  Julien Barnier  <julien@nozav.org>
15329         * ob-sh.el (org-babel-sh-evaluate): When sending input to comint,
15330         wait until previous line execution is finished.
15332         * ob-comint.el (org-babel-comint-with-output): When looking for
15333         end-of-evaluation indicator, search forward for the indicator
15334         before searching forward for the prompt.
15336 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15338         * org-entities.el (org-entities): Fix HTML entity for degree.
15340 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15342         * org.el (org-auto-align-tags): Change docstring.
15343         (org-update-parent-todo-statistics): Keep tags aligned even when
15344         statistics cookies are shifting them.
15346         * org-list.el (org-update-checkbox-count): Keep tags aligned even
15347         when statistics cookies are shifting them.
15349 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
15351         * ob.el (org-babel-sha1-hash): Don't modify info argument by
15352         side-effect when sorting result-params list.
15354 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
15356         * ob.el (org-babel-result-regexp): Use non-shy group around
15357         `org-babel-data-names'.
15359 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15361         * org.el (org-insert-link): Set truncate-line in the *Org Link*
15362         buffer and make sure that it really is set there.
15364 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15366         * ob-lisp.el (org-babel-lisp-dir-fmt): Defcustom for use in
15367         changing how/if the current directory is represented to lisp code.
15368         (org-babel-execute:lisp): More general handling of the default
15369         directory value.
15371 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15373         * ob-lisp.el (org-babel-execute:lisp): Setting the value of
15374         *default-pathname-defaults* to either the value of the :dir header
15375         argument or the directory of the containing Org-mode file.
15377 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15379         * ob-lisp.el (org-babel-execute:lisp): No real functional change,
15380         just aesthetic.
15382 2011-07-28  Sébastien Delafond  <sdelafond@gmail.com>  (tiny change)
15384         * org.el (org-mode-flyspell-verify): This is useful when using
15385         flyspell with a non-English dictionary, or if some of your
15386         keywords are in another language.
15388 2011-07-28  David Maus  <dmaus@ictsoc.de>
15390         * org-exp.el (org-export): Use new compatibility function
15391         `org-activate-mark'.
15393         * org-compat.el (org-activate-mark): New function.
15394         Provide `activate-mark' if not present (e.g. Emacs 22).
15396 2011-07-28  David Maus  <dmaus@ictsoc.de>
15398         * org-table.el (org-table-follow-field-mode): Declare variable to
15399         keep byte compiler happy.
15401 2011-07-28  David Maus  <dmaus@ictsoc.de>
15403         * org-footnote.el (org-id-uuid): Declare function, silence byte
15404         compiler.
15406 2011-07-28  David Maus  <dmaus@ictsoc.de>
15408         * org-bibtex.el (org-bibtex-headline): Don't use equalp at
15409         run-time, compare downcased strings.
15411 2011-07-28  David Maus  <dmaus@ictsoc.de>
15413         * org-bibtex.el (org-id-locations): Declare variable to silence
15414         byte compiler.
15416 2011-07-28  David Maus  <dmaus@ictsoc.de>
15418         * org-id.el (org-id-locations): Fix docstring, remove reference to
15419         non-existent option.
15421 2011-07-28  David Maus  <dmaus@ictsoc.de>
15423         * org.el (org-self-insert-command): Use `delete-char' instead of
15424         `delete-backward-char'.
15426         * org-table.el (orgtbl-self-insert-command): Ditto.
15428 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15430         * org-latex.el (org-export-latex-special-chars): Save match data
15431         when checking for table.el table.
15433 2011-07-28  David Maus  <dmaus@ictsoc.de>
15435         * org.el (org-re-property): Move before its first use.
15437 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15439         * org-latex.el (org-export-latex-preprocess):
15440         Add `original-indentation' property to footnotes so they cannot
15441         possibly end a list by being less indented than the item they
15442         belong to.
15444 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15446         * ob-lisp.el (org-babel-expand-body:lisp): No longer wraps biddies
15447         in `progn'.
15448         (org-babel-execute:lisp): Wraps bodies in `progn' as they are passed
15449         to swank.
15451 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15453         * org-clock.el (org-clocktable-write-default): Implement adding
15454         property columns to the clock table.
15456 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15458         * org.el (org-toggle-item): Move parenthesis to correct location.
15460 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15462         * org.el (org-default-priority):
15463         (org-priority-start-cycle-with-default): Improve docstring.
15464         (org-priority): Throw error when priority is out of range.
15466 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15468         * org.el (org-self-insert-command): Catch the case of
15469         `buffer-undo-list' eq t.
15471 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15473         * org.el (org-toggle-heading): Region should be considered as made
15474         of full lines, without the last one if region-end is at bol.
15475         Removed unused variables.  Refactored and commented code.
15477 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15479         * org.el (org-toggle-item): When region includes an headline less
15480         indented than first one, set it as the new reference.
15482 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15484         * org-list.el (org-list-to-subtree): If the list is before first
15485         heading and `org-odd-levels-only' is non-nil, the first item gets
15486         two stars instead of one.
15488         * org.el (org-reduced-level): A level of 0 was reduced to 1 with
15489         `org-odd-levels-only' non-nil.
15491 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15493         * org.el (org-toggle-item): Converting an heading to an item would
15494         sometimes insert unnecessary spaces before it, and unwanted space
15495         with `org-indent-mode' on.  Changing some text into an item
15496         wouldn't always preserve indentation.
15498 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15500         * org-capture.el (org-capture-current-plist): Improve docstring.
15501         (org-capture-put): Add docstring.
15502         (org-capture-get): Add docstring.
15503         (org-capture-member): Add LOCAL argument.  Add docstring.
15504         (org-capture-set-target-location): Store the time received from a
15505         date prompt into the :prompt-time property.
15507 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15509         * org-exp.el (org-export-mark-list-properties): Even if context is
15510         invalid, mark list item with `list-context' property.
15512         * org-list.el (org-list-forbidden-blocks): Add exporters specific
15513         blocks to the list of forbidden blocks.
15515 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15517         * org-list.el (org-sort-list): Function tries to intern
15518         getkey-func before it is defined, so it's always nil.
15520 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15522         * org.el (org-babel-load-languages): Adding ob-awk to the list of
15523         executable languages.
15525 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15527         * org-table.el (org-table-get-field): Make sure the new field
15528         content is at least one space character.
15530 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15532         * org-crypt.el: Check for `daemonp' before using it.
15534 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15536         * ob-sh.el (ob-ref): Uses `ob-ref' to resolve the value of the
15537         :stdin header argument.
15538         (org-babel-execute:sh): Use the :stdin header argument.
15539         (org-babel-sh-var-to-sh): Split the bulk of this function off into a
15540         new sub-function.
15541         (org-babel-sh-var-to-string): New function for converting elisp
15542         values to strings that make sense for parsing with sh.
15543         (org-babel-sh-evaluate): Adding "stdin" option to session and
15544         external evaluation options.
15546 2011-07-28  Roland Kaufmann  <rlndkfmn+orgmode@gmail.com>  (tiny change)
15548         * org-exp.el (org-remove-formatting-on-newlines-in-region):
15549         New function.
15550         (org-export-format-source-code-or-example):
15551         Call `org-remove-formatting-on-newlines-in-region'.
15553 2011-07-28  David Maus  <dmaus@ictsoc.de>
15555         * org.el (org-entry-put): Prevent adding of extra space to value
15556         if property already exists.
15558 2011-07-28  Jambunathan K  <kjambunathan@gmail.com>
15560         * org-html.el (org-export-as-html): Don't expand non-data lines of
15561         table.el tables.
15562         (org-html-expand): Remove the (buggy) test for non-data lines
15563         in table.el tables.  The test is now done as part of
15564         org-export-as-html.
15565         (org-format-table-table-html-using-table-generate-source):
15566         Add test for spanning of cells in table.el tables using
15567         table.el's own library routine.  Optionally suppress export of
15568         simple table.el tables.
15569         (org-format-table-html): Remove the (buggy) test for spanned
15570         table.el tables.  The test is now done as part of
15571         org-format-table-table-html-using-table-generate-source.
15573 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15575         * org-latex.el (org-export-latex-special-chars): Do nothing in
15576         table.el tables.
15578 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15580         * org-capture.el (org-capture): Ignore errors when creating a
15581         link.
15583 2011-07-28  Nick Dokos  <nick@dokosmarshall.org>  (tiny change)
15585         * org-exp.el (org-export-define-heading-targets): Use dash instead
15586         of underscore to make labels valid.
15588 2011-07-28  Dan Davison  <dandavison7@gmail.com>
15590         * ob-R.el (org-babel-R-write-object-command): Ensure that all data
15591         is written to the results file before Emacs notices that the file
15592         exists.
15594 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15596         * ob-exp.el (org-babel-exp-code): Remove usage of a macro which is
15597         defined locally on my system, but not globally in Emacs.
15599 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15601         * ob-exp.el (org-babel-exp-do-export): Use `org-babel-exp-code' to
15602         generate code block output.
15603         (org-babel-exp-code): Re-create the code block body for exporting
15604         source code.
15606 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
15608         * org.el (org-read-date): Bury Calendar buffer after using it for
15609         selecting a date.
15611 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15613         * org-list.el (org-list-separating-blank-lines-number):
15614         Fix confusion between point and item beginning.  Now, if no
15615         information is available, truly follow user preference when it
15616         inserts blank lines manually.
15617         (org-list-insert-item): Send correct argument to the preceding
15618         function.
15620 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15622         * ob.el (org-babel-src-block-regexp): Keep the now-mandatory
15623         newline inside of the code block body.
15625 2011-07-28  Sean O'Halpin  <sean.ohalpin@gmail.com>  (tiny change)
15627         * ob.el: Avoid spurious matches to literal.
15629 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15631         * org.el (org-indent-line-function): Don't include #+include
15632         lines.
15634 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15636         * ob-keys.el (org-babel-key-bindings): Adding key sequence for
15637         org-babel-check-src-block.
15639         * ob.el (org-babel-expand-src-block): Fit within 80 cols.
15640         (org-babel-edit-distance): Returns the edit distance of two
15641         strings.
15642         (org-babel-check-src-block): Check a code block for errors.
15644 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
15646         * org-capture.el (org-capture-templates): Fix bug in customization
15647         setup.
15649 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15651         * org-table.el
15652         (org-table-exit-follow-field-mode-when-leaving-table): New option.
15653         (org-table-check-inside-data-field): New optional argument
15654         `noerror'.  When set, the function will only return nil instead of
15655         throwing an error.
15656         (org-table-edit-field): Interpret double prefix argument, and improve
15657         the properties of the editing window.
15658         (org-table-follow-field-mode): New minor mode.
15659         (org-table-follow-fields-with-editor): New function.
15661 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15663         * org-agenda.el (org-agenda-get-todos): Call `org-agenda-skip'
15664         first, then check if timestamps cause exclusion.
15666         * org.el (org-scan-tags): Call `org-agenda-skip' first, then check
15667         if timestamps cause exclusion.
15669 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15671         * org-list.el (org-list-full-item-re): Allow description term to
15672         have a newline character after the colons.
15674 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15676         * org-list.el (org-sort-list): No longer ignore with-case
15677         argument: the function sorted case-sensitively, regardless of
15678         argument.
15680 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15682         * ob-ref.el (org-babel-ref-resolve): Using the new result regexp.
15684         * ob.el (org-babel-data-names): Configurable list of names of
15685         data.
15686         (org-babel-result-regexp): Using new results regexp.
15688 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15690         * org.el (org-special-properties): Add CLOCKSUM to the special
15691         properties.
15693 2011-07-28  Robert P. Goldman  <rpgoldman@real-time.com>  (tiny change)
15695         * ob-exp.el (org-babel-exp-in-export-file):
15696         Bind `org-link-search-inhibit-query' to t to inhibit prompts.
15698 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15700         * org-exp.el (org-export-add-options-to-plist): Use the right
15701         match group.
15703 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15705         * org-latex.el (org-export-latex-preprocess): Protect index string.
15707 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15709         * org-latex.el (org-export-latex-preprocess): Pipe index entries
15710         through `org-export-latex-fontify-headline'.
15712 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15714         * org-exp.el (org-export-add-options-to-plist): Fix the option
15715         parser.
15717 2011-07-28  Robert P. Goldman  <rpgoldman@real-time.com>  (tiny change)
15719         * org-latex.el (org-export-latex-preprocess): Replace index
15720         entries.
15722 2011-07-28  Robert P. Goldman  <rpgoldman@real-time.com>  (tiny change)
15724         * org.el (org-structure-template-alist): Add an easy template for
15725         index (i), and move include file to I from i.
15727 2011-07-28  Matt Lundin  <mdl@imapmail.org>
15729         * org-agenda.el (org-agenda-open-link): Pass entire text of agenda
15730         line to `org-offer-links-in-entry'.
15732 2011-07-28  Matt Lundin  <mdl@imapmail.org>
15734         * org-bibtex.el (org-bibtex-search): New function.
15735         (org-bibtex-export-to-kill-ring): New function.  Export to kill
15736         ring.
15737         (org-bibtex-create-in-current-entry): New function
15738         (org-bibtex-create): Make it easier to add bib fields to an
15739         existing headline.
15740         (org-bibtex-export-arbitrary-fields)
15741         (org-bibtex-treat-headline-as-title): Fix typos
15742         (org-bibtex-fleshout): Don't upcase optional field; remove ":"
15743         from type completion.
15745 2011-07-28  Matt Lundin  <mdl@imapmail.org>
15747         * org-bibtex.el (org-bibtex-treat-headline-as-title):
15748         New defcustom.
15749         (org-bibtex-headline): Only use headline text (not TODO or other
15750         metadata) to generate title field and auto key.
15751         (org-bibtex-fleshout): Allow user to choose whether to treat
15752         headline as title.
15754 2011-07-28  Tom Dye  <tsd@tsdye.com>
15756         * org-bibtex.el: Added crossref field to other fields.
15758 2011-07-28  Tom Dye  <tsd@tsdye.com>
15760         * org-bibtex.el: Add crossref option to incollection.
15762 2011-07-28  Matt Lundin  <mdl@imapmail.org>
15764         * org-bibtex.el (org-bibtex-headline): Don't export TYPE property
15765         as field.
15767 2011-07-28  Matt Lundin  <mdl@imapmail.org>
15769         * org-bibtex.el (org-bibtex-key-property): When storing key in ID,
15770         warn if a duplicate ID is generated.
15772 2011-07-28  Matt Lundin  <mdl@imapmail.org>
15774         * org-bibtex.el (org-bibtex-tags): New variable.
15775         (org-bibtex-tags-are-keywords): New variable.
15776         (org-bibtex-no-export-tags): New variable.
15777         (org-bibtex-headline): Export tags as comma-separated bibtex
15778         keywords.
15779         (org-bibtex-read): Import bibtex keywords field as tags.
15781 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
15783         * org-publish.el (org-publish-find-date): Optimization.
15785 2011-07-28  Tassilo Horn  <tassilo@member.fsf.org>
15787         * org-gnus.el (org-gnus-follow-link): Don't request scan of group
15788         when following link.
15790 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
15792         * org-publish.el (org-publish-project-alist): Document new
15793         :sitemap-sans-extension property.
15794         (org-publish-org-sitemap): Use new `sitemap-sans-extension'
15795         setting.
15797 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15799         * org.el (org-remove-uninherited-tags): Rename from
15800         `org-remove-iniherited-tags'.
15801         (org-scan-tags): Fix typo in function call.
15802         (org-get-tags-at): Fix typo in function call.
15804 2011-07-28  Matt Lundin  <mdl@imapmail.org>
15806         * org.el (org-get-tags-at): Don't include filetags if local is t.
15808 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15810         * ob-clojure.el (org-babel-expand-body:clojure): Qualify pp
15811         dispatch functions, wrap body in `(do )'.
15813 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15815         * org.el (org-fontify-meta-lines-and-blocks): Fix bug which
15816         resulted in the creation of multiple overlays in src blocks.
15818 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15820         * ob-clojure.el (org-babel-execute:clojure): If results are not
15821         readable by lisp, then return them as a string.
15823 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15825         * org-bibtex.el (org-bibtex): Now prompts for a file name.
15827 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15829         * org-bibtex.el (org-bibtex-create): Adding prefix argument which
15830         will result in prompting for optional fields.
15832 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15834         * org-bibtex.el (org-bibtex-headline): Rename flet function `get'
15835         which was causing compile problems.
15836         (org-bibtex-fleshout): Rename flet function `get' which was causing
15837         compile problems.
15838         (org-bibtex-write): Rename flet function `get' which was causing
15839         compile problems.
15841 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
15843         * org-taskjuggler.el (org-taskjuggler-clean-id): Make sure an id
15844         never starts with a number.
15846 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15848         * org-bibtex.el (org-bibtex-export-arbitrary-fields): New option.
15849         (org-bibtex-key-property): New option.
15850         (org-bibtex-put): Make use of new `org-bibtex-key-property'
15851         variable.
15852         (org-bibtex-headline): Make use of new
15853         `org-bibtex-export-arbitrary-fields' and `org-bibtex-key-property'
15854         variables.
15855         (org-bibtex-autokey): Make use of new `org-bibtex-key-property'
15856         variable.
15857         (org-bibtex-fleshout): Make use of new `org-bibtex-key-property'
15858         variable.
15859         (org-bibtex-write): Make use of new `org-bibtex-key-property'
15860         variable.
15862 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15864         * org-bibtex.el: Updating Copyright dates, author information,
15865         commentary and history notes.
15866         (org-bibtex-types): List of bibtex types with descriptions and
15867         required and optional fields.
15868         (org-bibtex-fields): List of bibtex fields with descriptions.
15869         (*org-bibtex-entries*): Special variable to hold parsed bibtex
15870         entries.
15871         (org-bibtex-autogen-keys): Custom variable controlling whether
15872         bibtex keys are automatically generated
15873         (org-bibtex-prefix): Custom variable allowing use of optional prefix
15874         for bibtex properties in Org-mode headlines.
15875         (org-bibtex-get): Helper function for accessing bibtex elements of a
15876         property list.
15877         (org-bibtex-put): Helper function for inserting bibtex element into
15878         a property list.
15879         (org-bibtex-headline): Return a bibtex entry of the given headline
15880         as a string.
15881         (org-bibtex-ask): Prompt the user to fill in the value of a bibtex
15882         field.
15883         (org-bibtex-autokey): Generate a bibtex key for the current
15884         headline.
15885         (org-bibtex-fleshout): Fill in missing bibtex properties of the
15886         current headline.
15887         (org-bibtex): Export the current Org-mode buffer to a bibtex buffer.
15888         (org-bibtex-check): Check that all bibtex properties are present in
15889         the current headline.
15890         (org-bibtex-check-all): Check all headlines in the current buffer.
15891         (org-bibtex-create): Create a new bibtex headline at the current
15892         level.
15893         (org-bibtex-read): Read the current bibtex entry from a bibtex file.
15894         (org-bibtex-write): Write the most recently read bibtex entry into
15895         an Org-mode file.
15897 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15899         * org-agenda.el (org-agenda-clock-consistency-checks): Allow to
15900         set properties.
15901         (org-agenda-show-clocking-issues): Handle faces.
15903 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15905         * ob-ditaa.el (org-babel-default-header-args:ditaa): Specify utf8
15906         content by default with "-Dfile.encoding=UTF-8".
15908 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15910         * ob-ditaa.el (org-babel-execute:ditaa): New ":java" header
15911         argument.
15913 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15915         * org-exp.el (org-export-preprocess-string): Mark list end before
15916         expanding macros.  Thus, a macro inside a list and containing
15917         blank lines cannot break the list structure.
15918         (org-export-preprocess-apply-macros): Multi-lines macros get
15919         indented with the same indentation as the first line.  Thus, we
15920         are sure that every line belongs to the same list as the first
15921         line, if such list exists.  Also add comments in code.
15923 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15925         * org-agenda.el (org-agenda-clock-consistency-checks): New option.
15926         (org-agenda-list): Handle display change to clock check.
15927         (org-agenda-get-progress): Show only clock entries if we are doing
15928         the consistency check.
15929         (org-agenda-show-clocking-issues): New function.
15930         (org-agenda-check-clock-gap): New function.
15931         (org-agenda-view-mode-dispatch): Offer consistency check.
15932         (org-agenda-log-mode): Handle switch to clock only display.
15933         (org-agenda-set-mode-name): Show lighter for Clockcheck.
15935         * org.el (org-hh:mm-string-to-minutes): Accept an integer argument
15936         and return it unchanged.
15938 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
15940         * org-list.el (org-list-struct): When walking down the list, the
15941         function would not pay attention to drawers or blocks indentation.
15942         Thus, such constructs couldn't consistently end an item or a list.
15943         This patch ensures line indentation is stored (if applicable)
15944         before skipping them.  Also fixed doc-string and comments.
15946 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15948         * org-exp.el (org-export): Add EXPORT_FILE_NAME to the enclosing
15949         tree properties.
15951 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15953         * org-exp.el (org-export): Define a bound for finding enclosing
15954         tree with class/title definition.
15956 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15958         * org-exp.el (org-export): Go to next heading before searching
15959         backward, so make this also work if we are on the headline of the
15960         entry with the property.
15962 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15964         * org.el (org-promote):
15965         (org-demote): Soften the previous change, by only removing the
15966         flyspell function from after-change functions, because that was
15967         the one causing the slowdown - at least much of it.
15969 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15971         * org.el (org-promote, org-demote): Turn off
15972         after-change-functions to speed up the reindentation of text.
15974 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15976         * ob-ocaml.el (org-babel-ocaml-read-list):
15977         Use `org-babel-script-escape'.
15978         (org-babel-ocaml-read-array): Use `org-babel-script-escape'.
15980 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
15982         * org-html.el (org-html-handle-links): Add an alternate for inline
15983         images.
15985 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
15987         * org-agenda.el (org-agenda-bulk-action): Do not use the entries
15988         variable before it is defined.
15990 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
15992         * org-src.el (org-src-lang-modes): Add a language alias of "C"
15993         to "c".
15995 2011-07-28  Shaun Johnson  <shaun@slugfest.demon.co.uk>  (tiny change)
15997         * ob-tangle.el (org-babel-tangle): Make it work in an indirect
15998         buffer.
16000 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
16002         * org-html.el (org-html-make-link): Correct a bug in coderef link.
16004 2011-07-28  Bernt Hansen  <bernt@norang.ca>
16006         * org-agenda.el (org-agenda-filter-by-tag): Fix variable name
16007         typo.
16009 2011-07-28  Bernt Hansen  <bernt@norang.ca>
16011         * org-agenda.el (org-agenda-get-timestamps): Fix agenda display
16012         when headlines are missing.
16014 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16016         * org-mobile.el (org-mobile-push): Move call to hook, make it the
16017         first thing of the push operation.
16019 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16021         * ob.el (org-babel-params-from-buffer): Now looking for header
16022         arguments in #+Properties: as well as #+Babel:.  Also, we're no
16023         longer caching these results into a file local variable.
16025 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16027         * ob-python.el (org-babel-python-evaluate-external-process):
16028         Allow parsing as a table in the case of ":results output table".
16029         (org-babel-python-evaluate-session): Allow parsing as a table in
16030         the case of ":results output table".
16032 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16034         * org-agenda.el (org-agenda-bulk-action): Allow bulk scatter in
16035         all possible agenda views.  Use `org-agenda-schedule' instead of
16036         `org-agenda-date-later'.
16038 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16040         * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Now supports
16041         ":results output".
16043 2011-07-28  Julien Danjou  <julien@danjou.info>
16045         * org.el (org-entry-get, org-entry-delete, org-entry-put)
16046         (org-property-values, org-delete-property-globally):
16047         Use `org-re-property'.
16048         (org-re-property): New function allowing to build a regexp to
16049         match a property.
16051 2011-07-28  Julien Danjou  <julien@danjou.info>
16053         * org.el (org-property-values): Enhance docstring.
16055 2011-07-28  Ethan Ligon  <ligon@are.berkeley.edu>  (tiny change)
16057         * org-html.el (org-html-export-list-line): Fix regexp for
16058         detecting description lists to allow "::" marker to be last
16059         visible element at end of line.
16060         * org-docbook.el (org-docbook-export-list-line): Fix regexp for
16061         detecting description lists to allow "::" marker to be last
16062         visible element at end of line.
16064 2011-07-28  Julien Danjou  <julien@danjou.info>
16066         * org-table.el (org-table-cleanup-narrow-column-properties):
16067         Use point-min rather than 1 when moving in the buffer.
16069 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16071         * org-list.el (org-list-in-valid-context-p): Rename from
16072         `org-list-in-valid-block-p'.
16073         (org-at-item-p,org-list-search-generic): Use renamed function.
16075 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16077         * org.el (org-set-font-lock-defaults): Be more strict when
16078         recognizing description items, and do not fontify wrong cases
16079         like: "- term ::description" or "1. term :: description".
16081 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16083         * org-latex.el: Pay attention to end of footnote.  Before closing
16084         the command, ensure that list is properly closed or that last link
16085         is separated from the curly brace.
16087 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16089         * org.el (org-indent-line-function): Footnote definition must stay
16090         at column 0 to be recognized as such.  Body below can have normal
16091         indentation, so it should ignore its definition when computing
16092         indentation.
16094 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16096         * org-protocol.el (org-protocol-remember, org-protocol-capture):
16097         More appropriate message.
16099 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16101         * org-capture.el (org-capture-clock-keep): New local variable.
16102         (org-capture, org-capture-finalize): Use it and fix a bug when
16103         :clock-keep is set to `t'.
16105 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
16107         * org-exp.el (org-export-preprocess-string): Handle include files
16108         before processing macros.
16110 2011-07-28  Bernt Hansen  <bernt@norang.ca>
16112         * org-agenda.el: Remove obsolete code for adding todo list in
16113         front of the agenda.
16115 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
16117         * org-latex.el (org-export-latex-convert-table.el-table):
16118         Fix format-string for insertion of captions.
16120 2011-07-28  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
16122         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
16123         Fix regexp.
16125 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
16127         * org.el (org-read-date-analyze): Help matching dotted European
16128         dates, like 31. 12. 2007
16130 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16132         * ob-lisp.el (org-babel-execute:lisp): Fix typo.
16134 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16136         * ob-lisp.el (org-babel-execute:lisp): Turn vectors into lists
16137         before reading by elisp.
16138         (org-bable-lisp-vector-to-list): Stub of a vector->list function,
16139         should be replaced with a cl-vector->el-vector function.
16141 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16143         * ob-lisp.el (org-babel-execute:lisp): Now using
16144         `org-babel-reassemble-table' to apply the appropriate header
16145         arguments to results.
16147 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16149         * org.el (org-end-of-meta-data-and-drawers): New function.
16151         * org-capture.el (org-capture-place-plain-text): Implement adding
16152         plain text templates to Org nodes.
16154 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16156         * org-beamer.el (org-beamer-environments-extra): Fix docstring.
16158 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
16160         * org-exp.el (org-export-handle-comments): Add the org-protected
16161         property to the replacement string.
16163 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
16165         * org-html.el (org-export-as-html, org-html-level-start):
16166         Fix logic for section number printing when NUM is an integer.
16168 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
16170         * org-latex.el (org-export-latex-special-chars): Fix regexp for
16171         `single' special characters and ellipsis.
16173 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
16175         * org.el (org-point-at-end-of-empty-headline):
16176         Bind `case-fold-search' to nil.
16178 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16180         * org-capture.el (org-capture-fill-template): Resolve new %<...>
16181         template escape.
16182         (org-capture-templates): Document new %<...> template escape.
16184 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16186         * ob.el (org-babel-process-params): Make this function idempotent,
16187         as it will sometimes be called multiple times.
16189 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16191         * org.el (org-ts-regexp-both): Add "]" to class of characters that
16192         should not be matched.
16193         (org-ts-regexp0, org-ts-regexp1): Do not start a class with
16194         "^]-+", because that tries to (not) match characters between "]"
16195         and "+".  Instead, move the "-" to the end of the class where it
16196         causes no harm.
16198 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16200         * ob-R.el (org-babel-edit-prep:R): Associate the appropriate R
16201         process with the edit buffer when :session is specified.
16203 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16205         * ob-tangle.el (org-babel-tangle-collect-blocks): Brought the link
16206         extraction code into line with a newer version of the
16207         `org-store-link' function.
16209 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16211         * ob-lisp.el (org-babel-expand-body:lisp): New body expansion
16212         wrapping the expression in either a let or progn, and possibly a
16213         pretty-print function invocation.
16214         (org-babel-execute:lisp): Greatly simplified method of executing
16215         lisp code blocks.
16217 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16219         * org-list.el: Move `org-update-checkbox-count-maybe' call outside
16220         of ̀save-excursion' to get back to original position.
16222 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16224         * org.el (org-numbered-action-format): New option.
16225         (org-new-numbered-action): New command.
16226         (org-collect-todos-in-subtree): New command.
16228 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16230         * org-exp.el (org-export-with-tasks): New option.
16231         (org-export-plist-vars): Add :tasks property.
16233 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16235         * org-ascii.el (org-export-as-ascii): Pass the :done-tasks
16236         property to the export preprocessor.
16238         * org-docbook.el (org-export-as-docbook): Pass the :done-tasks
16239         property to the export preprocessor.
16241         * org-html.el (org-export-as-html): Pass the :done-tasks property
16242         to the export preprocessor.
16244         * org-latex.el (org-export-as-latex): Pass the :done-tasks
16245         property to the export preprocessor.
16247         * org-exp.el (org-export-with-done-tasks): New option.
16248         (org-export-plist-vars): Add entry for :done-tasks.
16249         (org-export-preprocess-string): Call `org-export-remove-done-tasks'.
16250         (org-export-remove-done-tasks): New function.
16252 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16254         * org-latex.el (org-export-latex-keywords-maybe): Protect # in
16255         tags.
16257 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16259         * org.el (org-find-olp): Use the level of the correct match to
16260         continue search.
16262 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16264         * org-list.el (org-toggle-checkbox): Build value of
16265         org-keyword-time-regexp instead of using it directly, as it's
16266         buffer-local, and function might be called outside Org.
16268 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16270         * org-list.el (org-list-struct,org-in-item-p): Don't assume end of
16271         blocks or drawers necessarily start somewhere.  It it isn't the
16272         case, treat them as normal text.
16274 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16276         * ob-exp.el (org-babel-exp-results): Use code block name when
16277         finding cached results.
16279 2011-07-28  Julien Danjou  <julien@danjou.info>
16281         * org-latex.el (org-export-latex-date-format): Change default date
16282         format to \today.  This has the same result but respects the
16283         language set in the document by default.
16285 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16287         * org-list.el (org-list-checkbox): When called from an headline,
16288         function would normally skip drawers, but not if a SCHEDULED or
16289         DEADLINE keyword is standing before the drawer.  Also avoid
16290         problems if function is called in buffers not is Org mode.
16292 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16294         * org-clock.el (org-clock-report): Change the scope of the
16295         inserted clock report depending on whether the point is within a
16296         subtree (:scope subtree) or not (:scope file).
16298 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
16300         * org-html.el (org-export-as-html): Fix export of footnotes
16301         containing lists, tables, quotes, etc.
16303 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
16305         * org-latex.el (org-export-latex-preprocess): Correctly match
16306         starred command names.
16308 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
16310         * org-html.el (org-export-as-html): Get local value of
16311         org-export-with-section-numbers from the buffer's plist.
16312         Deal specially with the case the resulting value is an integer.
16313         (org-html-level-start): New optional argument of the option plist used
16314         instead of `org-export-with-section-numbers'.  Also deal specially
16315         with the case that the value is an integer.
16317 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
16319         * org-latex.el (org-export-latex-subcontent): Deal specially with
16320         the case that NUM is an integer.
16322 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16324         * org-protocol.el (org-protocol-do-capture): Allow template keys
16325         of two characters.
16326         (org-protocol-default-template-key): Update the docstring to
16327         reflect the change in `org-protocol-do-capture'.
16329 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
16331         * org-taskjuggler.el: Fix a typo in the commentary.
16333 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
16335         * org-taskjuggler.el (org-taskjuggler-open-task): Only emit a
16336         "purge allocations" statement if we are not targeting tj3.
16338 2011-07-28  Christian Egli  <christian.egli@sbszh.ch>
16340         * org-taskjuggler.el (org-taskjuggler-assign-resource-ids):
16341         Replace recursive implementation with an iterative one.
16343 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16345         * ob-sh.el (org-babel-sh-var-to-sh): Fix insertion of tabular
16346         data into shell variables.
16348 2011-07-28  David Maus  <dmaus@ictsoc.de>
16350         * org-html.el (org-html-handle-time-stamps): Protected linebreak
16351         element after timestamp markup.
16353 2011-07-28  David Maus  <dmaus@ictsoc.de>
16355         * org-html.el (org-html-handle-links): Don't protect img tag in
16356         link description.
16358 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16360         * org-table.el (org-table-formula-handle-first/last-rc):
16361         Bind `char'.
16363 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16365         * org-list.el (org-in-item-p): Re-build `org-drawer-regexp',
16366         whatever the major mode is.
16368 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16370         * org-inlinetask.el (org-inlinetask-export-templates): Fix default
16371         templates.
16372         (org-inlinetask-export-handler): Ensure contents of inline task,
16373         if any, starts and ends with a newline character.  Refactor and
16374         comment code.
16376 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16378         * org-capture.el (org-datetree-find-date-create): Lower-case for
16379         variable names in `define-function' form.
16381 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16383         * org-table.el (org-table-convert-region): Throw error when
16384         SEPARATOR is smaller than 1.
16386 2011-07-28  Julien Danjou  <julien@danjou.info>
16388         * org-colview.el (org-columns-display-here): Fix heading retrieval
16389         in Org buffers.
16391 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16393         * org-latex.el (org-export-latex-preprocess): Last brace shouldn't
16394         be on the same line as a list end marker.
16396 2011-07-28  Julien Danjou  <julien@danjou.info>
16398         * org.el (org-icompleting-read): Do not use useless lambda.
16400 2011-07-28  Julien Danjou  <julien@danjou.info>
16402         * org-agenda.el (org-format-agenda-item): Fix length computing.
16404 2011-07-28  Julien Danjou  <julien@danjou.info>
16406         * org-agenda.el (org-format-agenda-item): Fix comment and use
16407         `add-text-properties'.
16409 2011-07-28  Julien Danjou  <julien@danjou.info>
16411         * org-agenda.el (org-agenda-highlight-todo): Remove useless
16412         `concat'.
16414 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16416         * org-list.el (org-list-to-generic): Set a default term for
16417         ill-formed description lists.  Do not insert newline characters
16418         unless told to.
16419         (org-list-to-texinfo,org-list-to-html): Apply changes to
16420         `org-list-parse-liste'.
16422 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16424         * org-clock.el (org-clock-clocktable-language-setup): Add a
16425         string.
16426         (org-clocktable-write-default): Use the new localized string
16427         in `org-clock-clocktable-language-setup'.
16429 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16431         * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness):
16432         (org-taskjuggler-assign-resource-ids): Replace recursive
16433         implementation with an iterative one.
16435 2011-07-28  Christian Egli  <christian.egli@alumni.ethz.ch>
16437         * org-taskjuggler.el (org-taskjuggler-components): Escape quotes
16438         in headlines.
16440 2011-07-28  Christian Egli  <christian.egli@alumni.ethz.ch>
16442         * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness):
16443         Compute the leafiness of a node.
16444         (org-taskjuggler-open-task, org-export-as-taskjuggler): Mark a
16445         node as a milestone if it is a leaf and has no effort.
16447 2011-07-28  Christian Egli  <christian.egli@alumni.ethz.ch>
16449         * org-taskjuggler.el (org-export-taskjuggler-target-version):
16450         (org-taskjuggler-targeting-tj3-p): Add some minimal infrastructure
16451         to handle export to both tj2 and tj3.
16452         (org-taskjuggler-open-task): Use a different way to purge
16453         allocations for tj2 and tj3.
16455 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16457         * org-footnote.el (org-footnote-auto-label): New random option.
16459         * org-footnote.el (org-footnote-new): Create random footnote
16460         labels with unique ids.
16462 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16464         * org-footnote.el (org-footnote-create-definition): Allow for
16465         footnote sections above the current footnote insertion point.
16467 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16469         * org-footnote.el (org-footnote-create-definition): Don't search
16470         for last footnote when in org-mode file.
16472 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16474         * org-html.el (org-export-as-html): Handle links with
16475         `org-html-handle-links' after we handle special characters
16476         conversions.
16477         (org-html-make-link, org-export-html-format-image):
16478         Don't protect html with @ anymore, as links are now handled after
16479         special characters conversions.
16481 2011-07-28  Julien Danjou  <julien@danjou.info>
16483         * org-agenda.el (org-agenda-get-timestamps):
16484         (org-agenda-get-scheduled): Fix call to `org-format-agenda-item'.
16485         (org-format-agenda-item): Remove no-prefix argument.
16486         (org-agenda-change-all-lines): Call org-format-agenda-item without the
16487         no-prefix argument.
16489 2011-07-28  Julien Danjou  <julien@danjou.info>
16491         * org-agenda.el (org-agenda-highlight-todo): Stop using
16492         prefix-length.
16493         (org-cmp-alpha): Stop using prefix-length.
16494         (org-agenda-open-link): Stop using prefix-length.
16495         (org-agenda-change-all-lines): Stop using prefix-length.
16497         * org-colview.el (org-columns-display-here): Stop using
16498         prefix-length.  Always return claned items.
16500         * org-mobile.el (org-mobile-write-agenda-for-mobile): Stop using
16501         prefix-length.
16503 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16505         * ob-tangle.el (org-babel-tangle-collect-blocks): Don't call
16506         `org-store-link' interactively as it can confuse the setting of
16507         `org-link-to-org-use-id' and cause undue edits to the org-mode
16508         buffer during tangling.
16510 2011-07-28  David Maus  <dmaus@ictsoc.de>
16512         * org-html.el (org-export-html-format-image): Protect <p> element
16513         of image caption.
16515 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16517         * org.el (org-read-date-force-compatible-dates): New option.
16518         (org-read-date, org-read-date-analyze): Check representable date range.
16520 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16522         * org-html.el (org-export-as-html): Fix export of email.
16524 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16526         * ob-tangle.el (org-babel-spec-to-string): Check value of padline
16527         on tangling, no longer use the now-removed variable
16528         `org-babel-tangle-pad-newline'.
16530         * ob.el (org-babel-header-arg-names): Add padline to the list of
16531         header argument names.
16532         (org-babel-default-header-args): Set the default value of padline to
16533         "yes".
16534         (org-babel-merge-params): Cleaned up the merge logic, added padline.
16536 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16538         * ob.el (org-babel-header-arg-names): Adding "shebang" to known
16539         code block header argument names.
16541 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16543         * org-crypt.el: Remove useless TODO in comments.
16545 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16547         * org-html.el (org-export-as-html): The default postamble now only
16548         export a date paragraph if `org-export-time-stamp-file' is
16549         non-nil.
16551 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16553         * org-exp.el (org-export-xml): Remove the defgroup of
16554         org-export-xml.
16556 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16558         * org-html.el (org-export-html-insert-plist-item): Remove.
16559         (org-export-html-preamble): Default to `t'.  Accept functions.
16560         (org-export-html-postamble): Default to `auto'.
16561         Accept functions and distinguish between 'auto (no formatting string)
16562         and `t' (default formatting string).
16563         (org-export-as-html): Handle org-export-html-preamble and
16564         org-export-html-postamble new defaults/allowed values.
16565         Define email and creator-info before using them.
16567 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16569         * org-html.el (org-export-html-protect-char-alist): Fix typo in
16570         custom type definition.
16572 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16574         * ob-exp.el (org-babel-exp-do-export): Now runs for empty :session
16575         arguments.
16577 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16579         * org-list.el (org-list-parse-list): Fix regexp.
16581 2011-07-28  David Maus  <dmaus@ictsoc.de>
16583         * org-html.el (org-export-html-format-image): Protect image
16584         elements.
16586 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16588         * ob-tangle.el (org-babel-tangle-body-hook): Hook for changing the
16589         contents of a code block body on export.
16590         (org-babel-tangle-collect-blocks): Apply
16591         `org-babel-tangle-body-hook' to the collected bodies of code blocks.
16593 2011-07-28  David Maus  <dmaus@ictsoc.de>
16595         * org-html.el (org-html-make-link, org-html-handle-links):
16596         Protect generated XHTML elements.
16597         (org-export-as-html): Expand character entities after creating markup
16598         for links and timestamps.
16600 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16602         * org-html.el (org-export-as-html): Bugfix: insert email
16603         correctly.
16605 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16607         * org-html.el: Bugfix: prevent infinite matching of the `&'
16608         character.
16610 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16612         * org.el (org-fill-paragraph): `fill-forward-paragraph' function
16613         has been introduced with emacs 23.1.
16615 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16617         * org-attach.el: Allow to store a link to the attach-dir location.
16619 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
16621         * org-agenda.el (org-agenda-bulk-action): Allow the user to run a
16622         function.
16624 2011-07-28  Bernt Hansen  <bernt@norang.ca>
16626         * org-clock.el (org-clock-in): Allow clocking in new tasks
16627         inserted before the current clocking task.
16629 2011-07-28  Bernt Hansen  <bernt@norang.ca>
16631         * org-clock.el (org-clock-in): Set default clocking task when
16632         already clocking the task.
16634 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16636         * org.el (org-adaptive-fill-function): When a region is specified
16637         first line of paragraph isn't skipped, so fill-paragraph have to
16638         be computed even if point is at an item.
16640 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16642         * org-list.el (org-list-in-valid-block-p): New function.
16643         (org-at-item-p,org-list-search-generic): Use new function.
16645 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16647         * org.el (org-indent-line-function): Text in both a list and a
16648         valid block is indented with regards to current item, not to block
16649         boundaries.
16651 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
16653         * org-html.el (org-format-org-table-html): Fix anchors in HTML
16654         export (thanks to <aankhen@gmail.com>)
16655         (org-html-protect): Fix a  bug that prevents some target to be
16656         rendered correctly.
16658 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16660         * org.el (org-default-properties): Add EXPORT_TEXT.
16662 2011-07-28  Matt Lundin  <mdl@imapmail.org>
16664         * org-footnote.el (org-footnote-create-definition)
16665         (org-insert-footnote-reference-near-definition): Fix sorting
16666         of footnotes.
16668 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
16670         * org-html.el (org-export-as-html): Bugfix: don't insert closing
16671         HTML tags when exporting body only.
16673 2011-07-28  Jason Dunsmore  <emacs-orgmode@deathroller.dunsmor.com>  (tiny change)
16675         * org.el (org-back-over-empty-lines): Bugfix.
16676         Honor `org-blank-before-new-entry' correctly in various contexts.
16678 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16680         * org-macs.el (org-with-wide-buffer): Bugfix: use `save-excursion'
16681         and `save-restriction'.
16683 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16685         * org-timer.el (org-timer-item): `save-excursion' prevents
16686         `org-list-struct' to get the list structure when point isn't on
16687         the first line of the item.
16689 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16691         * org-capture.el (org-capture-templates): New option
16692         :no-clock-out.
16693         (org-capture): Use the new option.
16695 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16697         * org-list.el (org-update-checkbox-count): Ensure cookies on an
16698         heading are correctly updated when checkboxes are hidden.
16699         It allows, for example, to use C-c C-x C-b on a collapsed tree and
16700         still get the update.
16702 2011-07-28  David Maus  <dmaus@ictsoc.de>
16704         * org-exp.el (org-export-visible): Accept keys for
16705         `org-export-as-html-to-buffer' and `org-export-region-as-html'.
16707 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16709         * org.el (org-duration-string-to-minutes): Don't use
16710         `rx-to-string'.
16712 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
16714         * org.el (org-effort-durations): New variable.
16716         * org.el (org-duration-string-to-minutes): New function.
16718         * org-agenda.el (org-agenda-filter-effort-form)
16719         (org-format-agenda-item): Use it.
16721         * org-clock.el (org-clock-notify-once-if-expired)
16722         (org-clock-modify-effort-estimate, org-clock-get-clock-string): Use it.
16724 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16726         * org-agenda.el (org-agenda-run-series): Rename from
16727         `org-run-agenda-series'.
16729 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16731         * org-capture.el: Don't allow currentfile anymore.
16733 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16735         * org-agenda.el (org-agenda-list): Fix bug: don't rely on
16736         `org-agenda-current-span' when calling `org-agenda-list'.
16738 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16740         * org-capture.el (org-capture-put-target-region-and-position):
16741         New function to store information about the target buffer.
16742         (org-capture-set-target-location): Use it.
16743         (org-capture-finalize): Restore the target buffer in its
16744         possibly narrowed state.  Also restore the cursor position.
16746 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16748         * org-crypt.el (auto-save-default): Make sure entries are
16749         encrypted before auto-saving.
16751 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16753         * org-inlinetask.el (org-inlinetask-promote)
16754         (org-inlinetask-demote): New functions.
16756 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16758         * org.el (org-demote-subtree,org-promote-subtree):
16759         Wrap `org-map-tree' into `org-with-limited-levels' macro, so it avoids
16760         operating on inline tasks.
16762 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16764         * org.el (org-narrow-to-subtree): Ensure `org-back-to-heading'
16765         will move point to a real heading and not an inline task by
16766         wraping function into a `org-with-limited-levels' macro.
16768 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16770         * org-capture.el (org-capture-finalize): New argument clock-out,
16771         to tell whether finalizing the capture process should clock out
16772         the running clock.
16773         (org-capture): Use the new argument.
16775 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16777         * org.el (org-refile-get-targets): Rename from
16778         `org-get-refile-targets'.
16780 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16782         * org-exp.el (org-export-table-remove-empty-lines): New custom
16783         variable.
16784         (org-export-remove-special-table-lines): Use it.
16786 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16788         * org-table.el (org-table-fix-formulas-confirm): New custom
16789         variable.
16790         (org-table-insert-column, org-table-delete-column)
16791         (org-table-move-column, org-table-move-row)
16792         (org-table-insert-row, org-table-kill-row): Use it.
16794 2011-07-28  Tassilo Horn  <tassilo@member.fsf.org>
16796         * org.el (org-refile-get-location): Set and show default value.
16797         (org-goto, org-refile): Adapt calls.
16799 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16801         * org-mobile.el (org-mobile-files-exclude-regexp): New custom
16802         variable.
16803         (org-mobile-files-alist): Use it.
16805 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16807         * org.el (org-todo): Bugfix: use `org-with-wide-buffer' to check
16808         against headings outside of a narrowed buffer.
16810 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16812         * org.el (org-confirm-shell-link-not-regexp)
16813         (org-confirm-elisp-link-not-regexp): New custom variables.
16814         (org-open-at-point): Use the new custom variables.
16816 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
16818         * org-latex.el: Place \title \author \date before
16819         \begin{document}.
16821 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16823         * org-html.el (org-export-html-preamble)
16824         (org-export-html-postamble): Now default to `nil'.
16825         (org-export-as-html): When :html-pre/postamble is nil, fall
16826         back on the default pre/postamble, which depends on the
16827         :author-info, :email-info, :creator-info options.
16829 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16831         * ob-exp.el (org-babel-exp-results): Don't use cached results if
16832         there is no hash.
16834 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16836         * org-table.el (org-table-eval-formula): Treat relative column
16837         refs.
16839 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16841         * org-table.el (org-table-use-standard-references): Change default
16842         to `from'.
16844 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16846         * org.el (org-move-subtree-down): Leave the cursor at the same
16847         column we were at.
16849 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16851         * org-attach.el (org-attach-store-link-p): New variable.
16852         (org-attach-store-link): New function.
16853         (org-attach-attach): When `org-attach-store-link-p' is
16854         non-nil, store a link in `org-stored-links' to a newly
16855         attached file.
16857 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16859         * org-exp.el (org-export-remove-headline-metadata): Bugfix: don't
16860         case-fold-search to avoid mixing TODO keywords with real headline
16861         words.
16863 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16865         * org-table.el (org-table-fedit-finish): Read more general LHS of
16866         formulas.
16867         (org-table-formula-handle-@L): New function to hanle @L references.
16868         (org-table-current-ncol): New variable.
16869         (org-table-line-to-dline): New function.
16870         (org-table-get-stored-formulas): Accept range formulas as matches.
16871         (org-table-get-specials): Compute and store the number of columns.
16872         (org-table-get-range): New optional argument CORNERS-ONLY, to retrieve
16873         only the region marked by the range, not the content.
16874         (org-table-recalculate): Call `org-table-expand-lhs-ranges' to expand
16875         range targets.  Also check for duplicate access to fields.
16876         (org-table-expand-lhs-ranges): New funktion.
16877         (org-table-get-remote-range): Bind `org-table-current-ncol' to protect
16878         the caller's value.
16879         (org-table-edit-formulas): Support highlighting of range targets.
16880         (org-table-field-info): Handle renge formulas.
16882 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16884         * org-html.el (org-export-html-postamble-format)
16885         (org-export-html-preamble-format): Explain how to escape the
16886         `%' character.
16888 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16890         * org-exp-bibtex.el (org-export-bibtex-preprocess):
16891         Use `org-export-current-backend'.
16893 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16895         * ob.el (org-babel-read): Read string variable values wrapped in
16896         double quotes, removing the quotes.
16898 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16900         * ob-exp.el (org-babel-exp-results): Ensure that processed params
16901         are send to org-babel-execute-src-block.
16903 2011-07-28  Bastien Guerry  <bzg@gnu.org>
16905         * org-special-blocks.el
16906         (org-special-blocks-make-special-cookies):
16907         Use `org-export-current-backend'.
16909 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16911         * ob-exp.el (org-babel-exp-in-export-file): Now takes the language
16912         as an argument.
16913         (org-babel-exp-src-block): Explicitly pass language to
16914         `org-babel-exp-in-export-file'.
16915         (org-babel-exp-inline-src-blocks): Remove unused code.
16916         (org-babel-exp-results): Explicitly pass language to
16917         `org-babel-exp-in-export-file'.
16919 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16921         * ob-calc.el (org-babel-execute:calc): Unquote quoted vectors
16922         returned from calc-eval.
16924 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16926         * ob.el (org-babel-read): Pass elisp vectors through to code
16927         blocks.
16929 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16931         * ob.el (org-src-lang-modes): Defvar.
16932         (org-at-item-p): Declare function.
16934         * ob-calc.el (calc-store): Require.
16935         (var-syms): Defvar.
16937         * ob-python.el (py-default-interpreter): Defvar.
16939 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16941         * org-exp-blocks.el (backend): defvar.
16943 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16945         * org-agenda.el (org-agenda-get-scheduled):
16946         (org-agenda-get-timestamps): Bind local variable `show-all'.
16948 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
16950         * ob-ref.el (org-at-item-p): Declare function.
16952         * org-agenda.el (diary-time-regexp): defvar.
16954         * org-archive.el (org-archive-subtree): Bind local variable
16955         `infile-p'.
16957         * org-capture.el (org-capture-insert-template-here): Get template
16958         text from property list, to avoid byte compiler message.
16960         * org-latex.el (org-export-latex-tables): Bind local variable
16961         `width'.
16963         * org-special-blocks.el (org-compat): Add require statement.
16965         * org-table.el (orgtbl-ctrl-c-ctrl-c): Bind local variable
16966         `const-str'.
16968         * org.el (org-eval): Move function here from org-agenda.el.
16970 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16972         * ob.el (org-babel-read-table): Inhibit lisp evaluation of values
16973         when reading from tables.
16974         (org-babel-read-list): Inhibit lisp evaluation of values when
16975         reading from lists.
16976         (org-babel-read): Add optional argument which can be used to inhibit
16977         lisp evaluation of value.
16979 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16981         * ob-table.el (sbe): Ensure that ob-trim is only called on
16982         strings.
16984 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
16986         * ob-exp.el (org-babel-exp-results): On export, ensure that the
16987         result hash is resolved in the original org-mode file.
16989 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
16991         * org-exp.el (org-export-mark-list-end): Change end marker.
16993         * org-docbook.el (org-export-docbook-list-line): Use new marker.
16995         * org-html.el (org-html-export-list-line): Use new marker.
16997         * org-latex.el (org-export-latex-lists): Use new marker.
16999 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17001         * org-latex.el (org-export-latex-lists): Make sure markers used
17002         for export are taken into account by temporarily setting an
17003         appropriate value for `org-list-ending-method'.
17005 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17007         * org-exp-blocks.el (org-exp-blocks-block-regexp): Wrapping block
17008         regexp into its own variable, also allowing match of empty bodies.
17009         (org-export-blocks-preprocess): Using new regexp variable.
17011 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17013         * ob.el (org-babel-src-block-regexp): Code block regexp now
17014         matches blocks with empty bodies.
17016 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17018         * ob.el (org-babel-script-escape): If script escaped value doesn't
17019         parse cleanly, then return it literally.
17021 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17023         * ob-exp.el (org-babel-exp-src-block): When block will eventually
17024         be evaluated, pre-calculate the hash before noweb expansion, and
17025         expand the parameters before hash calculation.
17026         (org-babel-exp-do-export): Pass pre-calculated hash through to
17027         `org-babel-exp-results'.
17028         (org-babel-exp-results): Compare pre-calculated hash to results hash.
17030 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17032         * ob.el (org-babel-sha1-hash): Sort list values to header
17033         arguments, and sort the words in strings.
17035 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17037         * ob-ref.el (org-babel-ref-index-list): Special handling of hline
17038         rows.
17040 2011-07-28  Julien Danjou  <julien@danjou.info>
17042         * org-macs.el (org-with-point-at): Store evaluated version of
17043         pom.  This fixes a potential bug when using (org-with-point-at
17044         (func) …), where (func) would be evaluated multiple times,
17045         therefore might return different results if a marker was returned
17046         and different each time.
17048 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17050         * org.el (org-open-at-point): If a link to a radio target is the
17051         first, (resp. the last), element of a buffer, function cannot find
17052         the property change required to get its boundaries, and
17053         `buffer-substring' is called with an invalid nil argument.
17055 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17057         * org-table.el (org-table-copy-down): Fix docstring.
17059 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17061         * ob-latex.el (org-babel-execute:latex): Add imagemagick options,
17062         and for file types other than png and PDF it uses imagemagick to
17063         convert a compiled PDF file to the desired file type.
17064         (convert-pdf): Convert a PDF file to a new file type using
17065         imagemagick.
17067 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
17069         * org-capture.el (org-capture-fill-template): Fix bug with the
17070         display of interactive prompt in templates expansion.
17072 2011-07-28  Reiner Steib  <reiner.steib@gmx.de>
17074         * org-clock.el (org-clock-display): Document how to remove subtree
17075         times.
17077 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17079         * org-exp-blocks.el (org-export-blocks-format-comment):
17080         Explicitly append a newline to the body.
17082 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17084         * org-list.el (org-list-insert-item): When computing size of item
17085         being inserted, function has to take into account that indentation
17086         may not only be made of spaces.
17088 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17090         * org-clock.el (org-clock-find-position): If a list was adjacent
17091         to some clocks and a drawer was going to be created, only the
17092         first element of the list would make it into the drawer.
17094 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17096         * org-list.el (org-toggle-checkbox): Fix bug where top item in
17097         list was omitted when checking boxes.
17099 2011-07-28  Dan Davison  <dandavison7@gmail.com>
17101         * ob-R.el: Don't print result to echo area after evaluation.
17103 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17105         * org-capture.el (org-capture-refile): Fix typo in docstring.
17107 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17109         * ob-calc.el (org-babel-execute:calc): Call out to new function
17110         for variables resolution.
17111         (ob-calc-maybe-resolve-var): Resolve (possibly recursively)
17112         variables in calc expressions.
17114 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17116         * ob-C.el (org-babel-tangle-lang-exts): Replace "c++" with "C++".
17117         (org-babel-C++-compiler): Replace "c++" with "C++".
17118         (org-babel-execute:cpp): Replace "c" with "C++".
17119         (org-babel-execute:C++): Replace "c" with "C++".
17120         (org-babel-expand-body:C++): Replace "c" with "C++".
17121         (org-babel-C-execute): Replace "c" with "C++".
17123 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17125         * ob-ref.el (org-babel-ref-at-ref-p): Only try to read results as
17126         a list if at the *beginning* of a list item.
17128         * ob.el (org-babel-read-result): Only try to read results as a
17129         list if at the *beginning* of a list item.
17131 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17133         * org-list.el (org-cycle-item-indentation): Do not break an
17134         indentation cycle because visibility cycling is requested.
17135         This happens when an item becomes a parent, due to indentation change.
17136         Not considered empty anymore, the function cannot change its
17137         indentation again.
17139 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17141         * org-clock.el (org-clocktable-write-default): Bugfix: falls back
17142         on `org-export-default-language' when no :lang parameter is set.
17144 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
17146         * org-capture.el (org-capture-expand-file): New function.
17147         (org-capture-target-buffer):
17148         (org-capture-set-target-location): Use `org-capture-expand-file'.
17150 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17152         * ob.el (org-babel-read-list): Reading the value of a list has
17153         been updated to reflect the new structure of org-mode lists in
17154         elisp.
17155         (org-babel-insert-result): Writing code block results to lists has
17156         been updated to reflect the new list structure.
17157         (org-babel-result-end): Remove a previous change to end-of-list
17158         marker detection.
17160 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17162         * org-list.el (org-cycle-item-indentation): Each time the function
17163         moves item back to child position, a white space is added to the
17164         line.
17166 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17168         * ob.el (org-babel-process-params): Allow elisp code in
17169         specification of results header arguments.
17171 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17173         * org-agenda.el (org-agenda-append-agenda): New command.
17174         (org-agenda-mode-map): New keybinding to this new command.
17176 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17178         * org.el (org-ctrl-c-ctrl-c): Call `org-list-send-list' only when
17179         cursor it at very first item of the list, as specified in the
17180         manual.  Also refactored the list part of the function a bit.
17182 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17184         * org-agenda.el (org-agenda): Set the 'last-args property to nil
17185         when calling `org-agenda'.  Don't kill the local variable
17186         `org-agenda-current-span'.
17187         (org-run-agenda-series): Use the new property 'last-args.
17188         (org-agenda-change-time-span): Use the dynamically set
17189         `org-agenda-overriding-arguments' variable when non-nil.
17191 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17193         * ob.el (org-babel-result-end): Adjust marker of list end to
17194         changes in the list format.
17196 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17198         * org-list.el (org-toggle-checkbox, org-update-checkbox-count):
17199         No need to wrap `org-entry-get' in `ignore-errors'.
17201 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17203         * org.el (org-toggle-item, org-toggle-heading): Make sure every
17204         sub-item in a list is changed into a sub-heading and sub-headings
17205         are translated into sub-items.  Also ignore inline tasks in the
17206         process.
17208 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17210         * org-exp.el (org-export-select-backend-specific-text):
17211         Add `original-indentation' property when replacing #+begin_backend and
17212         #+backend blocks with their content.  This is needed for lists, as
17213         they must know if the block belonged to them.
17215 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17217         * org-html.el (org-html-export-list-line): Insert a newline
17218         character before ending an item, as anchor could be on a line
17219         going to be deleted, like a drawer ending string.
17221         * org-list.el (org-list-to-html): Same.
17223 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17225         * org.el (org-set-autofill-regexps): Use `org-item-re' in
17226         `paragraph-start' to recognize alphabetical lists.
17227         (org-fill-paragraph): Enforce a pre-computed fill-prefix before
17228         calling `fill-paragraph' when point is in an item.  Also prevent
17229         paragraphs getting merged into an adjacent list upon filling.
17230         (org-adaptive-fill-function): Make sure to determine real
17231         fill-prefix for auto-fill.
17232         (org-auto-fill-function): Use a pre-computed fill-prefix before
17233         calling `do-auto-fill'.
17235         * org-list.el (org-list-item-body-column): New function.
17237 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17239         * org-inlinetask.el (org-inlinetask-at-task-p)
17240         (org-inlinetask-toggle-visibility): New functions.
17242         * org-list.el (org-list-set-item-visibility): New function.
17244         * org.el (org-cycle, org-cycle-internal-local): Separate lists and
17245         inline tasks from headlines.
17246         (org-outline-level): Do not consider lists as headlines.
17247         Cycling visibility is using different tools.
17249 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17251         * org-list.el (org-list-struct): Mark items less indented than top
17252         item of the list, so that they will be modified.
17253         (org-list-struct-apply-struct): Compare struct's indentation with
17254         line's indentation instead of old-struct's.  This is needed
17255         because `org-list-struct' automatically fixes indentation so
17256         changes might not be seen otherwise.
17258         * org.el (org-ctrl-c-ctrl-c): Small refactoring.
17260 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17262         * org-list.el (org-update-checkbox-count): When a part of the
17263         buffer is processed to count checkboxes, lists are read from top
17264         to bottom, but inside lists (in drawers, blocks, or inline tasks)
17265         are skipped.  Thus, cookies cannot be updated.  This patch
17266         enforces reading of such lists if counter is itself in a special
17267         context.
17269 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17271         * org-list.el (org-list-struct-apply-struct): Inline tasks along
17272         with their content must stay at column 0 even if the item is
17273         gaining indentation.  Moreover, fix indentation of text in an
17274         inline task, now it can be in such a task within a list.
17276 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17278         * org-list.el (org-at-item-p): Also verify context is valid.
17279         Otherwise it would recognize valid items where `org-in-item-p'
17280         wouldn't.
17281         (org-in-item-p, org-list-struct-apply-struct): Use shorter version
17282         of org-at-item-p.
17283         (org-cycle-list-bullet): Fix typo.
17284         (org-list-parse-list): Avoid calling `org-at-item-p' two times by
17285         using an appropriate regexp.
17287         * org.el (org-indent-line-function): Use an appropriate regexp
17288         instead of calling `org-at-item-p' two times.
17290 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17292         * org-list.el (org-in-item-p): When point was just after
17293         org-list-end-re, check wouldn't be done for starting line.  So, if
17294         the first line was an item, it wouln't be noticed and function
17295         would return nil.  Simplify and comment code.
17297 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17299         * org.el (org-toggle-item): When used on normal text, ensure every
17300         line in region is included in the new item, regardless of its
17301         original indentation.
17303 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17305         * org-list.el (org-list-struct-apply-struct): If end of list was
17306         at eol, for example, with list inside a block, the last list
17307         wouldn't be shifted.  Thus, the patch ensures no blank lines is
17308         skipped.
17310 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17312         * org.el (org-toggle-item): Now accepts a prefix argument.
17313         When used without argument on normal text, it will make the whole
17314         region one item.  With an argument, it defaults to old behavior:
17315         change each line in region into an item.
17317 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17319         * org.el (org-return): When called from inside an item with the
17320         indent flag, function should keep text moved inside the item.
17321         This allows to use C-j to separate lines in an item: cursor won't
17322         go back to column 0.
17324 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17326         * org-list.el (org-list-struct): When a line has org-example
17327         property, skip the entire block.  This is needed during export,
17328         for example when src blocks in org markup contain lists, and are
17329         returned verbatim because org isn't in the list of interpreted
17330         languages.
17332 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17334         * org-list.el (org-in-item-p): Handle special cases when function
17335         is called with cursor amidst `org-list-end-re' or at an inline
17336         task.
17338 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17340         * ob.el (org-babel-result-end): Apply renaming.
17342         * org-exp.el (org-export-mark-list-properties): Apply renaming.
17344         * org-list.el (org-list-prevs-alist): Rename from
17345         `org-list-struct-prev-alist'.
17346         (org-list-parents-alist): Rename from `org-list-struct-parent-alist'.
17347         (org-list-write-struct): Rename from `org-list-struct-fix-struct'.
17348         (org-list-parse-list, org-sort-list, org-list-indent-item-generic)
17349         (org-toggle-checkbox, org-update-checkbox-count)
17350         (org-cycle-list-bullet, org-list-repair, org-insert-item)
17351         (org-move-item-up, org-move-item-up, org-move-item-down)
17352         (org-next-item, org-previous-item, org-end-of-item-list)
17353         (org-beginning-of-item-list, org-apply-on-list): Apply renaming.
17354         (org-get-bullet): Remove function, as it is not needed anymore.
17356 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17358         * org-list.el (org-list-insert-item-generic): Change arguments.
17359         The function now accepts structure and previous items alist.
17360         This allows to insert an item programmatically more easily.
17361         (org-insert-item): Apply changes to
17362         `org-list-insert-item-generic'.  The function now takes care about
17363         repairing structure and updating checkboxes.
17365         * org-timer.el (org-timer-item): Apply changes to
17366         `org-list-insert-item-generic'.  The function now takes care about
17367         repairing structure.
17369 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17371         * org-list.el (org-list-make-subtree): Function now uses
17372         `org-list-parse-list mechanism'.
17373         (org-list-make-subtrees): Remove function.
17374         (org-list-to-generic): Add a parameter and every parameter can
17375         be a sexp returning a string, for finer control.
17376         (org-list-to-html, org-list-to-latex, org-list-to-texinfo):
17377         Slight modifications to apply changes to `org-list-to-generic'.
17378         (org-list-to-subtree): New function.
17380 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17382         * org.el (org-beginning-of-line): Apply changes to
17383         `org-item-beginning-re' to correct sub-expression reference.
17385 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17387         * org-docbook.el (org-export-docbook-list-line): Even with
17388         alphabetical lists, Org shouldn't enforce a particular list type
17389         to exporters.  This is a job for style files.
17391         * org-html.el (org-html-export-list-line): Ib idem.
17393 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17395         * org-list.el (org-at-item-counter-p): New function.
17396         (org-list-parse-list): Handle counters and list depth.
17397         (org-list-to-generic): A special string is used when an item has a
17398         counter.
17399         (org-list-to-latex): Use new special string for counters.
17400         This fixes the counter bug in LaTeX export, as the enumi counter was
17401         the only one modified.
17403         * org-latex.el (org-export-latex-lists): Use new
17404         `org-list-parse-list' output.
17406 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17408         * org-list.el (org-list-get-list-type): New function.
17409         (org-list-parse-list): Use new function.
17411         * org-html.el (org-html-export-list-line): Use new function.
17413         * org-docbook.el (org-export-docbook-list-line): Use new function.
17415 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17417         * org-list.el (org-alphabetical-lists): New variable
17418         (org-item-re, org-list-full-item, org-cycle-list-bullet)
17419         (org-list-struct-fix-bul, org-list-inc-bullet-maybe):
17420         Reflect introduction of the new variable.
17421         (org-item-beginning-re): Change into a function, so any
17422         modification of `org-alphabetical-lists' will not require
17423         reloading Org.
17424         (org-at-item-p, org-toggle-checkbox, org-update-checkbox-count)
17425         (org-list-parse-list, org-list-send-list): Reflect changes to
17426         `org-item-beginning-re'.
17427         (org-list-use-alpha-bul-p): New function.
17429         * org.el (org-check-for-hidden): Reflect changes to
17430         `org-item-beginning-re'.
17432         * org-capture.el (org-capture-place-item): Reflect changes to
17433         `org-item-beginning-re'.
17435         * org-docbook.el (org-export-docbook-list-line): Handle New type
17436         of items.
17438         * org-exp.el (org-export-mark-list-end)
17439         (org-export-mark-list-properties): Reflect changes to
17440         `org-item-beginning-re'.
17442         * org-html.el (org-html-export-list-line): Handle new type of
17443         items.
17445         * org-latex.el (org-export-latex-lists): Handle new type of items
17446         and reflect changes to `org-item-beginning-re'.
17448         * org-ascii.el (org-export-ascii-preprocess): Handle new counters.
17450 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17452         * org-list.el (org-list-end-re): Remove function and made it a
17453         variable.  There's no need for the overhead of calling the
17454         function every at every line in a list.  User will have to reload
17455         Org if he change value of either `org-list-end-regexp' or
17456         `org-empty-line-terminates-plain-lists'.
17457         (org-in-item-p,org-list-struct,org-list-parse-list): Apply change.
17459         * org-exp.el (org-export-mark-list-end)
17460         (org-export-mark-list-properties): Apply change.
17462         * org-latex.el (org-export-latex-lists): Apply change.
17463         Also prevent items with org-example property to be considered as real
17464         items.
17466 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17468         * org-inlinetask.el (org-inlinetask-export-templates): Slightly
17469         modify templates so environment boundaries don't interfere with
17470         content of task.  Unprotect content of task so it might benefit
17471         from further transformations.  Set original-indentation property to
17472         a high value to ensure that task is always in the last item of the
17473         list.  Also, apply templates later in export process.
17475         * org-list.el (org-list-struct): Fix inline task skipping.
17477 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17479         * org-latex.el (org-export-latex-lists): Search for unprotected
17480         items only, and redefine `org-at-item'.  This change is required
17481         when verbatim lists are inserted during export, usually by Babel.
17483 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17485         * ob.el (org-babel-result-end): End position is end of current
17486         sublist instead of bottom point, as results might be inserted in a
17487         list themselves.
17489 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17491         * org-list.el (org-list-automatic-rules): Remove insert rule.
17492         (org-list-insert-item-generic): Remove code preventing user to
17493         insert another item in a block within a list.  It is because new
17494         list context make it impossible to see if a point in a block is
17495         also in a list.
17497 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17499         * org-exp.el (org-export-preprocess-string): Mark list endings
17500         before babel blocks preprocessing starts, so blank lines that may
17501         be inserted do not break list's structure.  Then, mark list with
17502         special properties required by exporters.  Thus output from babel
17503         can easily be included in lists.
17504         (org-export-mark-list-end): New function.
17505         (org-export-mark-list-properties): New function.
17506         (org-export-mark-lists): Remove function.  It was split into the
17507         two preceding functions.
17509 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17511         * org-list.el (org-update-checkbox-count): Do not recompute every
17512         list before next heading when there are more than one cookie in an
17513         headline.  Moreover, ignore the case where cookie is inserted
17514         neither at an heading nor at an item.
17516 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17518         * org-list.el (org-sort-list): Fix number of arguments to
17519         `org-list-repair', plus make `end-record' go to end of item before
17520         any blank line to keep them from being swallowed in the sorting.
17522 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17524         * org-list.el (org-list-forbidden-blocks): Rename from
17525         `org-list-blocks'.
17526         (org-list-export-context): New variable.
17528 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17530         * org-list.el (org-list-search-generic): Rename form
17531         `org-search-unenclosed-generic' to reflect the new behavior.  Now,
17532         match can only be in a valid context for lists, as determined by
17533         `org-list-context'.
17534         (org-list-search-backward): Rename from
17535         `org-search-backward-unenclosed'.
17536         (org-list-search-forward): Rename from
17537         `org-search-forward-unenclosed'.
17538         (org-toggle-checkbox,org-update-checkbox-count): Use new
17539         functions.
17540         (org-sort-list): Using default regexp search functions as context
17541         is not required in this case.
17543 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17545         * org-exp.el (org-export-mark-lists): New function, replacing
17546         org-export-mark-list-ending.  It adds information as text
17547         properties to every list, before changes done by exporter destruct
17548         them.
17550 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17552         * org-list.el (org-list-get-first-item): New alias for
17553         `org-list-get-list-begin'.
17554         (org-list-get-last-item): New function.
17555         (org-list-get-list-end): Use `org-list-get-last-item'.
17557 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17559         * org.el (org-get-string-indentation): Move in generally useful
17560         functions section, as it wasn't specific to plain lists and that
17561         no code was using it in org-list.el.
17563 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17565         * org.el (org-skip-over-state-notes,org-store-log-note): Use new
17566         accessors.
17568 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17570         * org-list.el (org-list-indent-item-generic): Remove error
17571         messages happening before process.  This belongs to interactive
17572         functions.
17573         (org-indent-item,org-indent-item-tree)
17574         (org-outdent-item,org-outdent-item-tree): Ensure point or region
17575         is correct before computing list structure.  Return an error
17576         message otherwise.
17578 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17580         * org-list.el (org-apply-on-list): Use new structures.
17581         Function is now applied in reverse order so modifications do not change
17582         positions of items in buffer.
17584 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17586         * org-list.el (org-list-parse-list): Rewrite of function to allow
17587         text following a sub-list in the same item.  See docstring for an
17588         example of output.
17589         (org-list-to-generic): Use new parsing function.
17590         (org-list-to-latex,org-list-to-html): Minor change for clearer
17591         export.
17593 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17595         * org-list.el (org-list-has-child-p): Rename from
17596         `org-list-get-child'.  Returning first child is only useful as a
17597         predicate, as we are allowing an item to have more than one
17598         sub-list.
17599         (org-list-indent-item-generic): Use `org-list-has-child-p' instead
17600         of org-list-get-child.
17601         (org-in-item-p): Also return item beginning when list starts at
17602         context beginning.
17603         (org-list-get-parent): Use of `org-list-struct-parent-alist'
17604         helper function is not optional anymore.
17605         (org-list-get-all-items): Shorten code with the help of cl.el.
17606         (org-list-get-children): Now returns all children of item, even if
17607         they do not belong to the same list.  Renamed from
17608         `org-list-get-all-children'.
17609         (org-list-get-list-begin): Function wasn't return value when item
17610         was already the first item of the list at point.
17611         (org-list-get-list-end): Function wasn't return value when item
17612         was already the last item of the list at point.
17613         (org-list-struct-fix-box,org-update-checkbox-count): Now uses
17614         `org-list-get-children'.
17616 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17618         * org.el (org-indent-line-function): Indentation of item's body
17619         starts just after the bullet, not after a checkbox.  Moreover, As
17620         `org-in-item-p' also returns item beginning position when point is
17621         in a list, do not compute it a second time.
17623 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17625         * org.el (org-ctrl-c-ctrl-c): When called at a list item, replace
17626         usage `org-repair-list', forcing another reading of the list, with
17627         only needed subroutines.
17629 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17631         * org-list.el (org-list-separating-blank-lines-number): Use new
17632         accessors.
17633         (org-list-insert-item-generic): Use list structures to insert a
17634         new item.
17635         (org-list-exchange-items): Refactor and comment code.  Now return
17636         new struct instead of modifying it, as list sorting would
17637         sometimes eat first item.
17638         (org-move-item-down,org-move-item-up): Reflect changes to
17639         `org-list-exchange-items'.
17640         (org-insert-item): As `org-in-item-p' also computes item beginning
17641         when applicable, reuse the result.
17643 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17645         * org-list.el (org-list-in-item-p): Unify methods for this
17646         predicate.
17647         (org-list-in-item-p-with-indent): Remove function.
17648         (org-list-ending-between): Remove function.
17649         (org-list-maybe-skip-block): Remove function.
17650         (org-list-in-item-p-with-regexp): Remove function.
17651         (org-list-top-point-with-regexp): Remove function.
17652         (org-list-top-point-with-indent): Remove function.
17653         (org-list-bottom-point-with-indent): Remove function.
17654         (org-list-bottom-point-with-regexp): Remove function.
17655         (org-list-get-item-same-level): Remove function.
17656         (org-list-top-point): Remove function.
17657         (org-list-bottom-point): Remove function.
17658         (org-get-item-beginning): Rename to `org-list-get-item-begin' to
17659         be consistent with naming policy of non-interactive functions.
17660         (org-get-beginning-of-list): Remove function.
17661         (org-beginning-of-item-list): Use new accessors.
17662         (org-get-end-of-list): Remove function.
17663         (org-end-of-list): Use new accessors.
17664         (org-get-end-of-item): Remove function.
17665         (org-end-of-item): Use new accessors.
17666         (org-get-previous-item): Remove function.
17667         (org-previous-item): Use new accessors.
17668         (org-get-next-item): Remove function.
17669         (org-next-item): Use new accessors.
17670         (org-list-get-item-end-before-blank): Use new accessors.
17672 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17674         * org-list.el (org-list-repair): Remove optional argument
17675         FORCE-BULLET.  The job of this interactive function is to
17676         completely fix a list at point.  Changing bullets is a separate
17677         task.  Also removed others optional arguments TOP and BOTTOM to
17678         follow the new structures.
17679         (org-list-indent-item-generic): Remove need for TOP and BOTTOM.
17680         STRUCT is a new required argument.  This avoids computing a list
17681         structure many times when function is called more than once in a
17682         row, for example in `org-cycle-item-indentation'.  Use new
17683         accessors.  Now, also call `org-update-checkbox-count-maybe'.
17684         (org-outdent-item, org-indent-item, org-outdent-item-tree)
17685         (org-indent-item-tree): Remove need for TOP and BOTTOM.
17686         (org-list-insert-item-generic): Reflect changes to `org-list-repair'.
17687         (org-list-exchange-items): Use new accessors.  Now modify struct
17688         to avoid re-reading it later.
17689         (org-move-item-down): Reflect changes to `org-list-repair'.
17690         Use new accessors.
17691         (org-move-item-up): Reflect changes to `org-list-repair'.  Use new
17692         accessors.
17693         (org-cycle-list-bullet): Use new structures.  Also use a shortcut
17694         to `org-list-struct-fix-struct' in order to avoid unnecessary
17695         fixes, like `org-list-struct-fix-box'
17696         (org-sort-list): Use of new structures.  Renamed an internal
17697         function for a little more clarity.
17698         (org-cycle-item-indentation): Remove dependency on
17699         `org-list-repair'.  Use new accessors.
17700         (org-list-get-child): Correct bug when asking for the child of the
17701         last item.
17702         (org-list-exchange-items): Use new accessors.
17704 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17706         * org-list.el (org-list-blocks): New variable.
17707         (org-list-context): New function.
17708         (org-list-full-item-re): New variable.
17709         (org-list-struct-assoc-at-point): Use new variable.
17710         (org-list-struct): Rewrite of function.  Now, list data is
17711         collected by looking at the list line after line.  It reads the
17712         whole list each time because reading only a subtree was not enough
17713         for some operations, like fixing checkboxes.  It also removes the
17714         need to get `org-list-top-point' and `org-list-bottom-point'
17715         first.  An added data is the position of item ending.  This aims
17716         to be able to have list followed by text inside an item.
17717         (org-list-struct-assoc-end): New function.
17718         (org-list-struct-parent-alist): New function.
17719         (org-list-get-parent): New function.
17720         (org-list-get-child): New function.
17721         (org-list-get-next-item): New function.
17722         (org-list-get-prev-item): New function.
17723         (org-list-get-subtree): Use helper function `org-list-struct-prev-alist'.
17724         (org-list-get-all-items): New function.
17725         (org-list-get-all-children): New function.
17726         (org-list-get-top-point): New function.
17727         (org-list-get-bottom-point): New function.
17728         (org-list-get-counter): New function.
17729         (org-list-get-item-end): New function.
17730         (org-list-struct-fix-bul): Rewrite for cleaner code.  Make use of
17731         new accessors.
17732         (org-list-struct-fix-ind): Make use of new accessors.
17733         (org-list-struct-fix-box): New function.
17734         (org-list-struct-fix-checkboxes): Remove function.
17735         (org-list-struct-outdent): Use new accessors.  Use the fact that
17736         there is no longer a virtual item at beginning of structure.
17737         (org-list-struct-indent): Use helper functions
17738         `org-list-struct-prev-alist' and `org-list-struct-parent-alist'.
17739         Also use new accessors.
17740         (org-list-struct-fix-struct): Comment function.  Call directly
17741         `org-list-struct-apply-struct', without removing unchanged items
17742         first.
17743         (org-list-struct-apply-struct): Comment function.  Rewrite using
17744         new accessors.  Use new variable `org-list-full-item-re'.
17745         (org-list-shift-item-indentation): Remove function, now included
17746         in `org-list-struct-apply-struct' because it is too specific.
17748 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17750         * org-list.el (org-toggle-checkbox): Use structures to fix
17751         checkboxes of a list.
17752         (org-update-checkbox-count): Use structures to update cookies.
17754 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17756         * org-list.el (org-list-struct-fix-checkboxes): New function.
17757         (org-checkbox-blocked-p): Remove function.
17759 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17761         * org-list.el (org-list-get-all-items): New function.
17762         (org-list-get-all-children): New function.
17763         (org-list-get-nth): New function.
17764         (org-list-set-nth): New function.
17765         (org-list-get-ind): New function.
17766         (org-list-set-ind): New function.
17767         (org-list-get-bullet): New function.
17768         (org-list-set-bullet): New function.
17769         (org-list-get-checkbox): New function.
17770         (org-list-set-checkbox): New function.
17771         (org-list-struct-fix-bul): Use new accessors.
17772         (org-list-repair): Use new accessors.
17773         (org-list-indent-item-generic): Make use of accessors.
17774         (org-list-get-parent): Rename from `org-list-struct-get-parent'.
17775         (org-list-get-child): Rename from `org-list-struct-get-child'.
17776         (org-list-struct-fix-ind): Make use of accessors.
17777         (org-list-get-next-item): New function.
17778         (org-list-get-subtree): New function.
17780 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
17782         * org-list.el (org-list-struct-assoc-at-point): Add checkbox to
17783         list structure.
17785         * org-list.el (org-list-struct-assoc-at-point): Add checkbox as
17786         value in structure.
17788         * org-list.el (org-list-struct-apply-struct): Also apply
17789         checkboxes.
17791 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17793         * org-latex.el (org-export-latex-content): Bind local variables
17794         for export in the temporary export buffer.
17796 2011-07-28  David Maus  <dmaus@ictsoc.de>
17798         * org-protocol.el (org-protocol-unhex-single-byte-sequence)
17799         (org-protocol-unhex-string, org-protocol-unhex-compound):
17800         Change date of obsolete declaration to 2011-02-17.
17802 2011-07-28  David Maus  <dmaus@ictsoc.de>
17804         * org.el (org-link-escape): Throw error if encoding character in
17805         utf8 fails.
17807 2011-07-28  David Maus  <dmaus@ictsoc.de>
17809         * org-protocol.el (org-protocol-split-data)
17810         (org-protocol-open-source): Use `org-link-unescape' instead of
17811         obsolete unhex string function.
17813 2011-07-28  David Maus  <dmaus@ictsoc.de>
17815         * org.el (org-link-escape, org-link-escape-chars-browser)
17816         (org-link-escape-chars): Always percent escape the percent sign.
17818 2011-07-28  David Maus  <dmaus@ictsoc.de>
17820         * org.el (org-link-unescape): Simpler algorithm for replacing
17821         percent escapes.
17822         (org-link-unescape-compound): Use cond statements instead of nested
17823         if, convert hex string with string-to-number, save match data.
17824         (org-link-unescape-single-byte-sequence): Use mapconcat and
17825         string-to-number for unescaping single byte sequence.
17827 2011-07-28  David Maus  <dmaus@ictsoc.de>
17829         * org.el (org-link-escape): Rename lambda argument.
17831 2011-07-28  David Maus  <dmaus@ictsoc.de>
17833         * org.el (org-link-escape-chars-browser, org-link-escape-chars):
17834         Add percent sign to list of escape chars.
17836 2011-07-28  David Maus  <dmaus@ictsoc.de>
17838         * org-mobile.el (org-mobile-escape-olp): Use new percent escape
17839         character table format.
17841 2011-07-28  David Maus  <dmaus@ictsoc.de>
17843         * org-mobile.el (org-mobile-locate-entry): Remove obsolete
17844         argument in call to org-link-unescape.
17846 2011-07-28  David Maus  <dmaus@ictsoc.de>
17848         * org-protocol.el (org-protocol-unhex-string)
17849         (org-protocol-unhex-compound)
17850         (org-protocol-unhex-single-byte-sequence): Declare obsolete and
17851         alias to respective org-link-unescape-* functions.
17853 2011-07-28  David Maus  <dmaus@ictsoc.de>
17855         * org.el (org-link-unescape, org-link-unescape-compound)
17856         (org-link-unescape-single-byte-sequence): Functions moved and renamed
17857         from org-protocol.el.
17859 2011-07-28  David Maus  <dmaus@ictsoc.de>
17861         * org-macs.el (org-char-to-string): Inline function to properly
17862         decode utf8 characters in Emacs 22.  Moved and renamed from
17863         org-protocol.el.
17865 2011-07-28  David Maus  <dmaus@ictsoc.de>
17867         * org.el (org-link-escape): New optional argument.  Merge user
17868         table with default table.
17870 2011-07-28  David Maus  <dmaus@ictsoc.de>
17872         * org.el (org-link-escape): Fixup doc string.
17874 2011-07-28  David Maus  <dmaus@ictsoc.de>
17876         * org.el (org-link-escape-chars, org-link-escape-chars-browser):
17877         New format of percent escape table.
17878         (org-link-escape): Use new table format.
17880 2011-07-28  David Maus  <dmaus@ictsoc.de>
17882         * org.el (org-link-escape): New Unicode aware percent encoding
17883         algorithm.
17885 2011-07-28  Sebastian Rose  <sebastian_rose@gmx.de>
17887         * org-protocol.el (org-protocol-unhex-single-byte-sequence):
17888         New function.  Decode hex-encoded singly byte sequences.
17889         (org-protocol-unhex-compound): Use new function if decoding sequence
17890         as Unicode character failed.
17892 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17894         * org-html.el (org-export-as-html): Expand the HTML title.
17896 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17898         * org-publish.el (org-publish-cache-ctime-of-src):
17899         Improve docstring.
17900         (org-publish-find-title): New option to explicitly reset the title
17901         in the cache.
17902         (org-publish-format-file-entry): Use this new option.
17904 2011-07-28  Dan Davison  <dandavison7@gmail.com>
17906         * org-exp.el (org-export-preprocess-string): Set the source buffer
17907         and use `org-clone-local-variables' to get local variables from
17908         it.
17910 2011-07-28  Dan Davison  <dandavison7@gmail.com>
17912         * org-exp.el (org-export-format-source-code-or-example):
17913         Allow empty string as second element in minted/listings options.
17915 2011-07-28  Dan Davison  <dandavison7@gmail.com>
17917         * org-exp.el (org-export-format-source-code-or-example):
17918         Support new user-customizable options.
17919         (org-export-latex-custom-lang-environments): Ensure new variable
17920         is defined.
17921         (org-export-latex-listings-options): Ensure new variable is defined.
17922         (org-export-latex-minted-options): Ensure new variable is defined.
17924 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17926         * org-html.el (org-export-as-html): Handle the case when
17927         `org-export-html-validation-link' is nil to keep backward
17928         compatible with the old default value of this variable.
17930 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
17932         * ob.el (org-babel-insert-result): Don't choke if indent is not a
17933         number.
17935 2011-07-28  Christian Moe  <mail@christianmoe.com>  (tiny change)
17937         * org-bbdb.el (org-bbdb-export): When a link description has been
17938         added by `org-export-normalize-links', use path instead (remove
17939         the `bbdb:' prefix).
17941 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17943         * org-ascii.el (org-export-ascii-underline): Put the level's
17944         characters in the right order, as documented by the docstring.
17945         (org-ascii-level-start): Select the right char for underlining
17946         headlines.
17948 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17950         * org-src.el (org-edit-src-code): Allow to edit source code from
17951         modes derived from Org.
17953 2011-07-28  Niels Giesen  <niels.giesen@gmail.com>
17955         * org-clock.el (org-clock-clocktable-language-setup): Add list of
17956         dutch strings.
17958 2011-07-28  Dan Davison  <dandavison7@gmail.com>
17960         * org-beamer.el: Mark frame as fragile when it is using minted for
17961         src block export.
17963 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17965         * org-agenda.el (org-agenda-date-later)
17966         (org-agenda-date-earlier): Enhance docstrings.
17967         (org-agenda-bulk-mark-regexp): Only match against headlines.
17968         Send a message when no entry is marked.
17969         (org-agenda-bulk-action): Fix bug about scattering deadlines.
17970         Send an error when trying to scatter outside an agenda or a
17971         timeline view.  Silently fail when trying to scatter sexp entries.
17973 2011-07-28  Bastien Guerry  <bzg@gnu.org>
17975         * org-clock.el (org-clock-clocktable-language-setup): New custom
17976         variable.
17977         (org-clocktable-defaults): Set the default language.
17978         (org-clocktable-write-default): Use the new variable.
17980 2011-07-28  Dan Davison  <dandavison7@gmail.com>
17982         * ob.el (org-babel-src-block-names): Don't strip text properties
17983         from search hits.
17984         (org-babel-result-names): Don't strip text properties from search
17985         hits.
17987 2011-07-28  Dan Davison  <dandavison7@gmail.com>
17989         * ob-python.el (org-babel-python-evaluate-session): Pass nil as
17990         remove-echo part of META argument to
17991         `org-babel-comint-with-output'.
17993 2011-07-28  Dan Davison  <dandavison7@gmail.com>
17995         * ob.el (org-babel-script-escape): Use `substring' comparison
17996         instead of regexp matching.
17998 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18000         * org-src.el (org-edit-src-code): When generating the code edit
18001         buffer, it is necessary for several variables to inherit their
18002         values from the parent org buffer.  These changes collect all such
18003         variables together into a single association list of
18004         `(variable-name value)' pairs.  In addition, a new variable is
18005         added to the list: `org-edit-src-content-indentation'.  This has
18006         the effect that a buffer local value can be used for that
18007         variable.
18009 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18011         * ob-table.el (sbe): Don't truncate sbe results.
18013 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
18015         * org-exp.el (org-export-add-options-to-plist): Require match to
18016         start at a word-boundary.
18018 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18020         * org-latex.el (org-export-latex-hyperref-format):
18021         Update docstring.
18023 2011-07-28  Tom Dye  <tsd@tsdye.com>
18025         * org.el: Update documentation of `org-add-link-type'.
18027 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18029         * org.el (org-open-at-point): Fix bug when using prefix arg to
18030         construct `org-link-search' call.  Rename prefix arg with a more
18031         generic name, to reflect its diverse uses in this function.
18033 2011-07-28  Rémi Vanicat  <vanicat@debian.org>
18035         * org-icalendar.el (org-icalendar-use-UTC-date-time): Remove.
18036         (org-icalendar-date-time-format): New custom variable.
18037         (org-icalendar-use-UTC-date-timep): New function.
18038         (org-ical-ts-to-string): Use the new variable.
18040 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18042         * org-vm.el (org-vm-store-link): Make sure the buffer is
18043         associated with a file when trying to store an Org link.
18045 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18047         * ob.el (org-babel-params-from-properties): Test for
18048         "header-arg-name" and ":header-arg-name", in that order.
18050 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18052         * org-capture.el (org-capture-templates): Document "currentfile"
18053         for capture template.
18054         (org-capture-templates): Allow to use currentfile for capture
18055         templates.
18056         (org-capture-set-target-location): Handle currentfile as a way to
18057         setting the capture buffer.
18059 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18061         * ob.el (org-babel-params-from-properties): Don't wrap
18062         `org-entry-get' into `condition-case'.
18064 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18066         * org.el (org-entry-get): Don't look for a property drawer if we
18067         are before the first heading in the file.
18068         (org-entry-get-with-inheritance): Don't attempt to move up the
18069         tree if we are before the first heading in the file.  Also,
18070         enclose less of the function in the `save-excursion'.
18072 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18074         * ob.el (org-babel-params-from-buffer): Return desired value
18075         rather than nil from failed re search.
18077 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18079         * org-agenda.el (org-get-entries-from-diary): Put multiline diary
18080         entries on a single line when lines don't start with a diary time.
18082 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18084         * org-html.el (org-export-html-protect-char-alist): New custom
18085         variable to define characters to be HTML protected.
18086         (org-html-protect): Use the new variable.
18088 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18090         * org-info.el (org-info-store-link): Use "#" to separate the info
18091         file and the node.
18092         (org-info-follow-link): Use both "#" to separate the info file and
18093         the node.  Continue to use ":" for backward compatibility.
18095 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18097         * org-icalendar.el (org-icalendar-honor-noexport-tag): New custom
18098         variable.
18099         (org-print-icalendar-entries): Use this new variable to prevent
18100         export of entries with a :noexport: tag.
18102 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18104         * org-exp.el (org-export-initial-scope): New custom variable.
18105         (org-export): Use this new variable.  If there is an active
18106         region, tell it when prompting the user for an export command.
18107         Also change the way the function handles selection of buffer and
18108         subtree export.
18110 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18112         * org-html.el (org-export-html-auto-preamble)
18113         (org-export-html-auto-postamble): Remove.
18114         (org-export-html-preamble, org-export-html-postamble): Turn into
18115         custom variables.  Update the docstrings.
18116         (org-export-html-preamble-format)
18117         (org-export-html-postamble-format): New custom variables.
18118         (org-export-as-html): Use `org-export-html-postamble-format' and
18119         `org-export-html-preamble-format'.
18120         (org-export-html-title-format): Delete.
18122 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18124         * org-exp-blocks.el (org-export-blocks-format-ditaa):
18125         This function is begin deprecated in favor of begin_src blocks.
18126         (org-export-blocks-format-dot): This function is begin deprecated in
18127         favor of begin_src blocks.
18129 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18131         * ob.el (org-babel-header-arg-names): no-expand is now part of the
18132         default header argument names list.
18134 2011-07-28  Manuel Giraud  <manuel.giraud@univ-nantes.fr>
18136         * org-publish.el (org-publish-sitemap-date-format)
18137         (org-publish-sitemap-file-entry-format): New custom variables.
18138         (org-publish-projects): Use these variables to format the sitemap
18139         entries.
18141 2011-07-28  Ulf Stegemann  <ulf-news@zeitform.de>
18143         * org-gnus.el (org-gnus-store-link): Allow `org-link' creation
18144         from `message-mode'.
18146 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18148         * org-agenda.el (org-agenda-filter-by-tag): Refresh agenda when
18149         updating the filter while the clock report is following the
18150         filter.
18152 2011-07-28  Julien Danjou  <julien@danjou.info>
18154         * org-agenda.el (org-agenda): Kill all local variables.
18155         This assures we are not keeping buffer variable from an old agenda view
18156         when switching to a new custom agenda.
18158 2011-07-28  Julien Danjou  <julien@danjou.info>
18160         * org-crypt.el (org-encrypt-string): New function.
18161         (org-encrypt-entry): Use org-encrypt-string to encrypt, so we use
18162         cached crypted values.
18163         (org-decrypt-entry): Store crypted text in decrypted text.
18165 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18167         * ob-exp.el (org-babel-exp-lob-one-liners): Only replace the match
18168         if a non-nil result is returned.
18170 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18172         * org-agenda.el (org-agenda-get-day-entries): Compare DATE with
18173         modified today.
18175 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18177         * org.el (org-update-parent-todo-statistics): Fix bug when
18178         updating statistics from the column view.
18180 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18182         * org-agenda.el (org-agenda-bulk-mark-regexp): New command.
18183         (org-agenda-menu): Add the new command to the menu.
18184         (org-agenda-mode-map): Add % as the keybinding for the new
18185         command.
18187 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18189         * org-exp.el (org-export-target-internal-links): Locally turn on
18190         `org-link-search-must-match-exact-headline' to match exact
18191         internal links.
18193 2011-07-28  Julien Danjou  <julien@danjou.info>
18195         * org-faces.el (org-special-keyword): Make it inherited from
18196         `font-lock-keyword-face'.
18198 2011-07-28  Julien Danjou  <julien@danjou.info>
18200         * org-faces.el (org-link): Make `org-link' inherits from `link'
18201         face.
18203 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18205         * org.el (org-narrow-to-block): New function to narrow to block.
18206         Bound this function to `C-x n b'.
18208 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18210         * org.el (org-schedule, org-deadline): Fix bug: take care of
18211         repeating timestamps like ".+1d/3d" or "+1d 10d".
18213 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18215         * org-agenda.el (org-agenda-repeating-timestamp-show-all): Allow
18216         to use a list of TODO keywords as the value of this variable.
18217         The agenda will show repeating stamps for entries matching these TODO
18218         keywords.
18219         (org-agenda-get-timestamps, org-agenda-get-deadlines)
18220         (org-agenda-get-scheduled): Allow the use of a list of keywords in
18221         `org-agenda-repeating-timestamp-show-all'.
18223 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18225         * org-latex.el (org-export-latex-emph-format): Don't use
18226         `org-export-latex-use-verb'.  Remove this variable.
18228 2011-07-28  Jason Dunsmore  <emacs-orgmode@dunsmor.com>  (tiny change)
18230         * org-html.el (org-html-handle-time-stamps): Fix bug when
18231         exporting inactive timestamps.
18233 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18235         * org-archive.el (org-archive-save-context-info): Fix docstring
18236         typo.
18237         (org-archive-subtree-add-inherited-tags): New variable to control
18238         whether inherited tags should be appended to local tags when
18239         archiving subtrees.
18240         (org-archive-subtree): Use the new variable.
18242 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18244         * org-archive.el (org-archive-save-context-info): Fix docstring.
18246 2011-07-28  Julien Danjou  <julien@danjou.info>
18248         * org-crypt.el (org-decrypt-entry): Delete \n on top level
18249         heading.  This avoids a display bug showing the heading outlined
18250         where the text is not since it does not have the outline property.
18251         Restore subtree visibility state after decryption.
18253 2011-07-28  Julien Danjou  <julien@danjou.info>
18255         * org-agenda.el (org-agenda-list): Use `org-agenda-current-span'
18256         as a possible default span if it is set.
18258 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18260         * org-src.el (org-edit-src-persistent-message): Change docstring.
18261         (org-edit-src-code): Get rid of help message in echo area.
18263         * ob.el (org-babel-do-in-edit-buffer): Do not pass 'quietly
18264         argument to org-edit-src-code as this has been removed.
18266 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18268         * org-latex.el (org-export-latex-emphasis-alist):
18269         Use \protectedtexttt for the =...= emphasis and \verb for the ~...~
18270         emphasis.
18271         (org-export-latex-use-verb): Now defaults to t.
18272         (org-export-latex-emph-format): Distinguish between =...= and
18273         ~...~ emphasis.
18275 2011-07-28  Julien Danjou  <julien@danjou.info>
18277         * org.el (org-link-expand-abbrev): Allow any type of character in
18278         link expand.
18280 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18282         * ob-lob.el (org-babel-lob-ingest): Add prefix to file prompt.
18284 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18286         * ob-ref.el (org-babel-ref-resolve): `save-window-excursion' when
18287         resolving references.
18289 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18291         * org-html.el (org-export-html-html-helper-timestamp): Use <hr/>
18292         instead of <hr> to keep w3c validator happy.
18294 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18296         * ob.el (org-babel-where-is-src-block-head): Detect src block if
18297         point is on a #+header line.
18299 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18301         * ob.el (org-babel-where-is-src-block-head): Skip over intervening
18302         #+header lines when searching for block associated with block name
18303         line.
18305 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18307         * ob.el (org-babel-result-end): Replace call to `org-in-item-p' to
18308         the more specific `org-at-item-p'.
18310 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18312         * org-latex.el (org-latex-default-figure-position): New defcustom
18313         for default placement of latex figures.
18314         (org-export-latex-tables): Positioning tables using the new
18315         defcustom variable.
18316         (org-export-latex-format-image): Positioning images using the new
18317         defcustom variable.
18319 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18321         * ob-ditaa.el (org-babel-execute:ditaa): Throw error when
18322         evaluated and :file header argument is missing.
18324 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18326         * ob-exp.el (org-babel-exp-do-export): Simplify, no longer need
18327         to do anything to export code.
18328         (org-babel-exp-results): No longer returns a replacement for the
18329         code block.
18330         (org-babel-exp-inline-src-blocks): Simplify.
18331         (org-babel-exp-src-block): Remove unnecessary pluralization from
18332         function name.
18334 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18336         * ob-exp.el (org-babel-exp-inline-src-blocks):
18337         Simplify exportation of inline code blocks using normal code block
18338         execution mechanism to insert results.
18339         (org-babel-exp-results): Results exportation mechanism is unified
18340         for both inline and regular code blocks.
18342         * ob.el (org-babel-where-is-src-block-result): Returns the point
18343         after an inline code block for inline code blocks.
18345 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18347         * ob.el (org-babel-insert-result): Special handling of the
18348         position of results of inline code blocks.
18349         (org-babel-examplize-region): Now able to comment inline regions.
18351 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
18353         * org-exp.el (org-export-with-LaTeX-fragments): Fix docstring so
18354         that \\[ a = b \\] is not interpreted as a keybinding by
18355         `substitute-command-keys'.
18357 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18359         * org-latex.el (org-export-as-latex): Process export property list
18360         with `org-export-process-option-filters' early in latex export.
18362 2011-07-28  Julien Danjou  <julien@danjou.info>
18364         * org.el: Remove `org-invisible-p': `outline-invisible-p' is
18365         available in Emacs 22 and in recent XEmacs 21.  Replace in various
18366         files.
18368 2011-07-28  Julien Danjou  <julien@danjou.info>
18370         * org-agenda.el (org-agenda-get-progress): Fix regexp for statep:
18371         it must has \\ at the end of the line.  This avoid matching the
18372         following heading when there's no newline between the logged state
18373         and the next heading.
18375 2011-07-28  Julien Danjou  <julien@danjou.info>
18377         * org-agenda.el (org-format-agenda-item): Simplify time comuting.
18379 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18381         * org.el (org-current-level, org-store-link, org-mark-subtree):
18382         Use `org-with-limited-levels'.
18384 2011-07-28  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
18386         * org-publish.el (org-publish-get-base-files): Add sitemap file.
18388 2011-07-28  Matt Lundin  <mdl@imapmail.org>
18390         * org-agenda.el (org-agenda-todo-ignore-deadlines): New option.
18391         (org-agenda-todo-ignore-scheduled): New option.
18392         (org-agenda-todo-ignore-timestamp): New option.
18393         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
18394         Allow user to specify custom distance to ignore (future or past).
18395         (org-agenda-todo-custom-ignore-p): New function.
18397 2011-07-28  Matt Lundin  <mdl@imapmail.org>
18399         * org-habit.el (org-habit-parse-todo) Don't parse more days than
18400         needed.
18402 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18404         * ob.el (org-babel-map-inline-src-blocks): Macro for executing
18405         code in each inline code block.
18406         (org-babel-execute-buffer): Executes inline code blocks as well as
18407         regular code blocks.
18409 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18411         * ob.el (org-babel-result-end): Now recognizes "#+begin_org"
18412         blocks for removal.
18414 2011-07-28  Benjamin Drieu  <bdrieu@april.org>  (tiny change)
18416         * org-clock.el (org-clock-before-select-task-hook): New hook.
18417         (org-clock-select-task): Run new hook.
18419 2011-07-28  Julien Danjou  <julien@danjou.info>
18421         * org-agenda.el (org-agenda-get-blocks): Fix time of start/end of
18422         events with range.  This display things like: <2011-01-22 Sat
18423         14:00>--<2011-01-23 Sun 20:00> correctly, with the event starting
18424         at 14:00 and ending at 20:00.
18426 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18428         * ob.el (org-babel-inline-src-block-regexp): Character preceding
18429         "src_" can now be anything as long as it is neither alphanumeric
18430         nor '-'.
18432 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18434         * ob.el (org-babel-merge-params): Docstring typo.
18436 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18438         * ob.el (org-babel-params-from-buffer): Process all #+babel: lines
18439         in the buffer.
18441 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18443         * ob.el (org-babel-get-src-block-info): Alter order of merge
18444         arguments.
18446 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18448         * ob-python.el: Test whether non-nil buffer is #<killed buffer>.
18450 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18452         * ob.el (org-babel-insert-result): Ensure all parts of result
18453         wrappers end in newlines.
18455 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18457         * ob-tangle.el (org-babel-tangle): New :mkdirp header argument
18458         optionally creates parent directories of tangle targets.
18460 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18462         * org-ascii.el (org-ascii-level-start): Catch the case of levels
18463         which do not have an equivalent in the list of underline
18464         characters.
18466 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18468         * ob-sh.el (org-babel-sh-var-quote-fmt): Now possible to customize
18469         the format string used to escape arguments to shell code blocks.
18471 2011-07-28  Julien Danjou  <julien@danjou.info>
18473         * org-agenda.el (org-agenda-reset-view): New function.
18474         (org-agenda-view-mode-dispatch): Bind space to org-agenda-reset-view.
18476 2011-07-28  Puneeth Chaganti  <punchagan@gmail.com>
18478         * org-exp.el (org-export-handle-include-files): Support :lines
18479         property.
18480         (org-get-file-contents): New argument lines to include specify a
18481         range of lines to include.
18483 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18485         * org.el (org-fast-tag-selection): Fix bug when assigning keys.
18487 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
18489         * org-latex.el (org-export-latex-make-header): Export email in
18490         author line if `org-export-email-info' is non-nil.
18492 2011-07-28  Julien Danjou  <julien@danjou.info>
18494         * org-agenda.el (org-agenda-goto-today): Respect current span.
18496 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18498         * org-complete.el (pcomplete/org-mode/link)
18499         (pcomplete/org-mode/todo, pcomplete/org-mode/prop): Copy list
18500         before uniquifying.
18502 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18504         * ob-tangle.el (org-babel-spec-to-string): Adding "noweb" as a
18505         linking comment type
18506         (org-babel-tangle-comment-links): Returns comment links for the
18507         source code block at point.
18509 2011-07-28  Bastien Guerry  <bzg@gnu.org>
18511         * org.el (org-refile-check-position): Send a more explicit message
18512         on how to clear the cache before refiling again.
18514 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18516         * org-agenda.el (org-agenda-skip-function-global): New option.
18517         (org-agenda-skip-eval): New function.
18518         (org-agenda-skip): Use `org-agenda-skip-eval' and also check for
18519         the global skipping condition.
18521 2011-07-28  David Maus  <dmaus@ictsoc.de>
18523         * org-html.el (org-export-as-html): Handle timestamps after
18524         handling links.
18526 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18528         * ob-tangle.el (org-babel-tangle-jump-to-org): Ever wider searches
18529         until either a matching block is found, or the limits of the file
18530         are reached.
18532 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18534         * ob.el (org-babel-update-block-body): Literal argument to
18535         `replace-match' to allow insertion of text containing '\'.
18537 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18539         * ob-ref.el (org-babel-ref-parse): Allow passing empty strings
18540         into code blocks.
18542 2011-07-28  David Maus  <dmaus@ictsoc.de>
18544         * test-org-table.el
18545         (test-org-table/org-table-convert-refs-to-rc/3)
18546         (test-org-table/org-table-convert-refs-to-rc/2)
18547         (test-org-table/org-table-convert-refs-to-rc/1)
18548         (test-org-table/org-table-convert-refs-to-an/3)
18549         (test-org-table/org-table-convert-refs-to-an/2)
18550         (test-org-table/org-table-convert-refs-to-an/1): Provide tests for
18551         table formular format conversion.
18553 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18555         * org.el (org-sort-entries): Fix sorting with a bold emphasis at
18556         bol.
18558 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18560         * ob.el (org-babel-open-src-block-result): Must collect result
18561         *before* jumping to the result buffer.
18563 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18565         * ob.el (org-babel-src-block-names): Fix bug, wrong match-string
18566         used after update to regexp.
18568 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18570         * ob.el (org-babel-temp-file): Ensure that
18571         `org-babel-temporary-directory' is bound before using.
18572         (org-babel-remove-temporary-directory): Safer error throwing.
18574 2011-07-28  niels giesen  <niels.giesen@gmail.com>
18576         * org-docbook.el (org-export-docbook-finalize-table): Do literal
18577         replacements.
18579 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18581         * ob.el (org-babel-execute-src-block): Uses org-src-lang-modes to
18582         resolve language names for evaluation.
18584 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18586         * org-capture.el (org-capture-templates): Add %f and %F escapes
18587         (org-capture): Add more information to capture property list
18588         (org-capture-fill-template): Handle %f and %F escapes.
18590 2011-07-28  David Maus  <dmaus@ictsoc.de>
18592         * org-publish.el (org-publish-cache-ctime-of-src): Use mtime of
18593         symlink target.
18595 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18597         * org.el (org-occur-next-match): New function.
18598         (org-mode): Set the variable `next-error-function'.
18599         (org-highlight-new-match): Add an `org-type' property to the
18600         overlays.
18602 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18604         * ob-calc.el: No longer require `calc-trail' on XEmacs.
18606 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18608         * org.el (org-modules): Add `org-eshell'.
18610 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18612         * org-special-blocks.el (htmlp, latexp, line): Add defvars for
18613         dynamically scoped variables.
18615         * org.el (org-modules): Move `org-special-blocks' into the core
18616         modules section.
18618 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18620         * org-special-blocks.el: New file.
18622 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18624         * org.el (org-plist-delete): Remove duplicate definition.
18626 2011-07-28  Bernt Hansen  <bernt@norang.ca>
18628         * org-agenda.el (org-agenda-goto): Display invisible entry text.
18630         * org-agenda.el (org-agenda-switch-to): Display invisible entry
18631         text.
18633 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18635         * org.el (org-get-category): New optional argument FORCE-REFRESH.
18636         Automatically refresh if the property is not there.
18637         (org-entry-properties): Remove refresh - this is now done in
18638         org-get-category.
18640         * org-clock.el (org-clock-insert-selection-line):
18641         Let `org-get-category' do the property refresh.
18643         * org-archive.el (org-archive-subtree): Force a refresh of
18644         category properties.
18646 2011-07-28  Julien Danjou  <julien@danjou.info>
18648         * org-icalendar.el (org-print-icalendar-entries): Do not manually
18649         refresh categories.
18651 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18653         * org.el (org-display-inline-images): Check for clear-image-cache
18654         before using it.
18656 2011-07-28  Bernt Hansen  <bernt@norang.ca>
18658         * org.el: Document missing value for org-link-frame-setup.
18660 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18662         * ob-R.el (org-babel-R-write-object-command): Force evaluation of
18663         user code prior to the R exception-handling, so that errors in
18664         user code are unhandled.
18666 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18668         * org-src.el (org-src-font-lock-fontify-block): Test, early on,
18669         that a major-mode function corresponding to the language string
18670         exists.
18672 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18674         * org-exp.el (org-export-mark-list-ending): Insert additional
18675         newline characters if end-list-marker is at a wrong position.
18677 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18679         * ob.el (org-babel-script-escape): Replace commas with spaces for
18680         better list reading when list items are packed with commas,
18681         e.g. Haskell list output.
18683 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18685         * ob-sass.el (org-babel-execute:sass): Uses ob-eval for better
18686         error reporting.
18688 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18690         * ob.el (org-babel-confirm-evaluate): Fix for the case when
18691         org-confirm-babel-evaluate is a function (used to always ask no
18692         matter what the function returns).
18694 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18696         * ob-R.el: Delete duplicated function.
18698 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18700         * ob.el (org-babel-execute-src-block): Remove unused flet
18701         function.
18703 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18705         * ob-asymptote.el (org-babel-execute:asymptote): Return nil to
18706         signal that the intended content has been written to file.
18708         * ob-ditaa.el (org-babel-execute:ditaa): Return nil to signal that
18709         the intended content has been written to file.
18711         * ob-dot.el (org-babel-execute:dot): Return nil to signal that the
18712         intended content has been written to file.
18714         * ob-gnuplot.el (org-babel-execute:gnuplot): Return nil to signal
18715         that the intended content has been written to file.
18717         * ob-latex.el (org-babel-execute:latex): Return nil to signal that
18718         the intended content has been written to file.
18720         * ob-mscgen.el (org-babel-execute:mscgen): Return nil to signal
18721         that the intended content has been written to file.
18723         * ob-octave.el (org-babel-execute:octave): Return result; not name
18724         of output file.
18726         * ob-plantuml.el (org-babel-execute:plantuml): Return nil to
18727         signal that the intended content has been written to file.
18729         * ob-python.el (org-babel-execute:python): Return result; not name
18730         of output file.
18732         * ob-ruby.el (org-babel-execute:ruby): Return result; not name of
18733         output file.
18735         * ob-sass.el (org-babel-execute:sass): Return nil if result has
18736         been written to file.
18738 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18740         * ob-R.el (org-babel-R-graphical-output-file): New function
18741         returns the name of the output file iff R has been instructed to
18742         send graphical output to file by means of the ":results graphics"
18743         directive.
18744         (org-babel-expand-body:R): Use `org-babel-R-graphical-output-file'
18745         when constructing the R code to evaluate, which may be augmented
18746         with code implementing the writing of graohical output to file.
18747         (org-babel-execute:R): Use `org-babel-R-graphical-output-file' to
18748         determine whether R is taking responsibility for writing output to
18749         file; if so, this is signaled to ob.el by returning a nil result.
18751 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18753         * ob.el (org-babel-format-result): New function to format results
18754         of src block execution.
18755         (org-babel-execute-src-block): Use `org-babel-format-result' when
18756         writing to file.
18757         (org-babel-open-src-block-result): Use `org-babel-format-result'
18758         when displaying results in a buffer.  Name results buffer
18759         differently.
18761 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18763         * ob.el (org-babel-execute-src-block): Avoid calling
18764         `orgtbl-to-generic' on number results.
18766 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18768         * ob.el (org-babel-execute-src-block): Allow specification of
18769         table separator with :sep header argument.
18770         (org-babel-open-src-block-result): Allow specification of table
18771         separator with :sep header argument.
18773 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18775         * ob.el (org-babel-execute-buffer): Wipe error buffer at outset of
18776         executing buffer (note that this handles execute subtree also).
18778 2011-07-28  Nicolas Goaziou  <n.goaziou@gmail.com>
18780         * org-inlinetask.el (org-inlinetask-in-task-p): Small refactoring,
18781         do not modify match data either.
18782         (org-inlinetask-goto-end): Small refactoring, remove
18783         case-sensitivity.
18784         (org-inlinetask-goto-beginning): Small refactoring, remove
18785         case-sensitivity.
18787 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18789         * org-capture.el (org-capture-set-target-location):
18790         Use `current-time'.
18792 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18794         * org-capture.el (org-capture-set-target-location):
18795         Use `current-time'.
18797 2011-07-28  Bernt Hansen  <bernt@norang.ca>
18799         * org.el (org-before-first-heading-p): If point is on an org-mode
18800         heading line then we are not before the first heading.
18802 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
18804         * org-timer.el (org-timer-continue-hook): Define the variable
18805         (org-timer-pause-or-continue): Run hook after relative timer is
18806         continued.
18808 2011-07-28  Julien Danjou  <julien@danjou.info>
18810         * org-agenda.el (org-compile-prefix-format): Allow %() expression.
18812 2011-07-28  Julien Danjou  <julien@danjou.info>
18814         * org-capture.el (org-capture-fill-template): Use org-eval.
18816 2011-07-28  Julien Danjou  <julien@danjou.info>
18818         * org-agenda.el (org-eval): New function.
18820 2011-07-28  Dan Davison  <dandavison7@gmail.com>
18822         * ob.el (org-babel-execute-src-block): With :results file, when
18823         :file is not supplied, interpret result as a file link as long as
18824         it is a string.
18826 2011-07-28  David Maus  <dmaus@ictsoc.de>
18828         * org-latex.el (org-export-latex-preprocess): Don't convert link
18829         description parts that look like numeric footnote.
18831 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18833         * org-latex.el (org-export-latex-tables): Allowing specification
18834         of tabular[xy] inner environments through the ATTR_LaTeX line.
18836 2011-07-28  Julien Danjou  <julien@danjou.info>
18838         * org-capture.el (org-capture-fill-template):
18839         Use `org-set-property' directly.
18841 2011-07-28  Julien Danjou  <julien@danjou.info>
18843         * org-agenda.el (org-agenda-prefix-format): Add missing `search'
18844         item in docstring.
18846 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18848         * org-exp.el (org-export-string): Use `format' to construct
18849         function call to allow symbolic or string arguments.
18851 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18853         * org-capture.el (org-capture-place-entry):
18854         (org-capture-insert-template-here): Check tree for validity before
18855         pasting it.
18857 2011-07-28  Julien Danjou  <julien@danjou.info>
18859         * org-gnus.el (org-gnus-store-link): Trim date.
18861 2011-07-28  Julien Danjou  <julien@danjou.info>
18863         * org.el (org-email-link-description): Allow to retrieve email
18864         link date.
18866 2011-07-28  Lawrence Mitchell  <wence@gmx.li>
18868         * org.el (org-make-target-link-regexp): `regexp-quote' target
18869         before replacing whitespace.
18871 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18873         * ob.el (org-babel-expand-noweb-references): Noweb references can
18874         now be resolved from the library of babel.
18876 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18878         * ob.el (org-babel-result-end): No longer leaving trailing new
18879         line after block removal.
18881 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18883         * org-latex.el (org-export-latex-first-lines): Anchor outline
18884         regexp during LaTeX tree export.
18886 2011-07-28  Konrad Hinsen  <konrad.hinsen@fastmail.net>
18888         * ob-python.el (org-babel-python-initiate-session-by-key):
18889         Make sure that py-which-bufname is initialized, as otherwise it will be
18890         overwritten the first time a Python buffer is created.
18892 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18894         * ob-sh.el (org-babel-sh-var-to-sh): Better escaping of variables
18895         with spaces.
18897 2011-07-28  Eric Schulte  <schulte.eric@gmail.com>
18899         * ob-org.el (org-babel-execute:org): Padding code block with an
18900         empty title on LaTeX export.
18902 2011-07-28  Matt Lundin  <mdl@imapmail.org>
18904         * org.el (org-entry-properties): Stop scanning for timestamps if a
18905         specific timestamp property (e.g., DEADLINE, SCHEDULED, etc.) is
18906         requested and a match is found.  Also, if a specific timestamp
18907         property is requested, do not push non-relevant timestamps onto
18908         property list.
18910 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18912         * org-agenda.el (org-agenda-add-time-grid-maybe): Show time only
18913         when grid is being made for today.
18915 2011-07-28  Matt Lundin  <mdl@imapmail.org>
18917         * org-agenda.el (org-agenda-get-scheduled): Don't call
18918         `org-is-habit-p' until after checking for
18919         `org-agenda-skip-scheduled-if-done'.
18921 2011-07-28  Achim Gratz  <Stromeko@nexgo.de>
18923         * org.el: Remove spurious linebreak introduced by earlier patch.
18925         * ob.el, ob-ref.el: Remove double fix of the same problem.
18927 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18929         * org-table.el (orgtbl-ctrl-c-ctrl-c): Parse buffer for constants.
18931 2011-07-28  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>
18933         * org-html.el (org-export-html-mathjax-template):
18934         Displaymath environment and MathJax.
18936 2011-07-28  Carsten Dominik  <carsten.dominik@gmail.com>
18938         * org-faces.el (org-agenda-current-time): New face.
18940         * org-agenda.el (org-agenda-show-current-time-in-grid):
18941         (org-agenda-current-time-string): New options.
18942         (org-agenda-add-time-grid-maybe): Add current time to time grid.
18944 2011-05-10  Jim Meyering  <meyering@redhat.com>
18946         Fix doubled-word typos.
18947         * org-agenda.el (org-agenda-entry-types): the the -> the
18948         * org-table.el (org-table-get-remote-range): or or -> or
18949         * org-wl.el (org-wl-folder-type): the the -> the
18950         * org.el (org-goto, org-inside-LaTeX-fragment-p): Likewise.
18952 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18954         * org-src.el (org-src-switch-to-buffer):
18955         * org-plot.el (org-plot/gnuplot-script, org-plot/gnuplot):
18956         * org-mouse.el (org-mouse-agenda-type):
18957         * org-freemind.el (org-freemind-node-to-org):
18958         * ob-sql.el (org-babel-execute:sql):
18959         * ob-exp.el (org-babel-exp-do-export, org-babel-exp-code):
18960         * ob-ref.el (org-babel-ref-resolve): Fix use of case.
18962 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
18964         * Version 23.3 released.
18966 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
18968         * org.el (org-blank-before-new-entry, org-context-in-file-links)
18969         (org-refile-targets, org-log-repeat, org-insert-link)
18970         (org-speed-command-default-hook, org-speed-command-hook)
18971         (org-in-regexps-block-p, org-yank-generic, org-goto-first-child):
18972         Fix typos in docstrings.
18973         (org-toggle-pretty-entities): Fix typo in message.
18975 2011-03-06  Juanma Barranquero  <lekktu@gmail.com>
18977         * org-id.el: Don't set `kill-emacs-hook' on noninteractive sessions.
18979 2011-02-10  Stefan Monnier  <monnier@iro.umontreal.ca>
18981         * org-remember.el (org-remember-mode-map):
18982         * org-src.el (org-src-mode-map): Move initialization into declaration.
18984 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18986         * org-remember.el (org-remember-mode):
18987         * org-capture.el (org-capture-mode): Don't run hook redundantly.
18989 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
18991         * org-faces.el (org-link): Inherit from link face.
18992         Suggested by Joakim Verona.
18994 2010-12-11  Tassilo Horn  <tassilo@member.fsf.org>
18996         * org-footnote.el (org-footnote-create-definition): Place
18997         Footnotes section before message-signature-separator also in modes
18998         derived from message-mode.
19000 2010-12-11  Julien Danjou  <julien@danjou.info>
19002         * org.el (org-make-tags-matcher): Remove useless cat-p value.
19004 2010-12-11  Julien Danjou  <julien@danjou.info>
19006         * org.el (org-entry-properties): Enhance docstring.
19008 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
19010         * org-list.el (org-list-top-point-with-indent)
19011         (org-list-bottom-point-with-indent): Pay also attention to
19012         'original-indentation property of text, as blocks are put to
19013         column 0 upon exporting.
19015 2010-12-11  Dan Davison  <dandavison7@gmail.com>
19017         * ob.el (org-babel-remove-temporary-directory): Handle exception
19018         with message informing of failure to remove directory.
19020 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19022         * ob-clojure.el (org-babel-header-arg-names:clojure): Add
19023         `package' to the list of Clojure header arguments which will be read
19024         from heading properties.
19026 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
19028         * org-inlinetask.el (org-inlinetask-export-templates): Add
19029         Sébastien Vauban's suggestion for LaTeX export in docstring.  This is
19030         not default as it requires an additional LaTeX package: "todonotes".
19032 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
19034         * org-inlinetask.el (org-inlinetask-export-templates): New variable.
19036         * org-inlinetask.el (org-inlinetask-export-handler): Make use of
19037         templates to export inline tasks.
19039 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
19041         * org.el (org-current-level): Ignore inline tasks when getting current
19042         level of entry.
19044 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
19046         * org.el (org-indent-line-function): Ignore drawers inside inline
19047         tasks  if the line to indent isn't inside an inline task itself.
19049 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
19051         * org-inlinetask.el (org-inlinetask-get-task-level): New function.
19053         * org-indent.el (org-indent-add-properties): Find true level of
19054         indentation wrt inline tasks.
19056 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
19058         * org-inlinetask.el (org-inlinetask-outline-regexp): New function.
19060         * org-inlinetask.el (org-inlinetask-goto-beginning): New function.
19062         * org-inlinetask.el (org-inlinetask-goto-end): New function.
19064         * org.el (org-mark-subtree): New command.
19066         * org.el (org-speed-commands-default, org-mode-map): Make use of
19067         new command.
19069 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
19071         * org-inlinetask.el (org-inlinetask-export-handler): Remove protection
19072         from @<span class...> so it can be removed during LaTeX export.
19074 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19076         * ob.el (org-babel-insert-result): More informative code block
19077         evaluation messages.
19079 2010-12-11  Matt Lundin  <mdl@imapmail.org>
19081         * org.el (org-make-heading-search-string): Optionally limit number
19082         of lines stored in file link search strings.
19083         (org-context-in-file-links): Add option to set to integer specifying
19084         number of lines.
19086 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
19088         * org-capture.el (org-capture-finalize): New prefix argument
19089         STAY-WITH-CAPTURE.
19090         (org-capture-refile): Improve docstring.
19092 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19094         * ob-sql.el (org-babel-execute:sql): Add msosql as optional sql
19095         interaction engine.
19097 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
19099         * org-agenda.el (org-agenda-list):
19100         (org-agenda-goto-today): Use `org-today'.
19102 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
19104         * org-latex.el (org-export-latex-make-header): Swap \begin{document}
19105         and the title/author definitions.
19107 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
19109         * org-macs.el: Better backup definition for
19110         `with-silent-modifications'.
19112 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19114         * ob-python.el (org-babel-execute:python): Rename "prefix" to
19115         "preamble".
19116         (org-babel-python-evaluate): Rename "prefix" to "preamble".
19117         (org-babel-python-evaluate-external-process): Rename "prefix" to
19118         "preamble".
19120 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19122         * ob.el (org-babel-examplize-region): Check if `end' is a marker
19123         or a point and handle appropriately.
19125 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19127         * ob-sql.el (org-babel-execute:sql): Explicitly set field
19128         separator to \t when importing tabular data.
19130 2010-12-11  Julien Danjou  <julien@danjou.info>
19132         * org-agenda.el (org-agenda-custom-commands-local-options):
19133         Allow org-agenda-span to be a symbol.
19134         (org-agenda-ndays): Make obsolete.
19135         (org-agenda-span): New variable superseding org-agenda-ndays.
19136         (org-agenda-menu): Use org-agenda-current-span.
19137         (org-agenda-current-span): New local variable storing current
19138         span.
19139         (org-agenda-list): Take a span instead of ndays as argument.
19140         This function is now responsible for computing the ndays based
19141         on span.
19142         (org-agenda-ndays-to-span): Return span only if number of days
19143         really matches.
19144         (org-agenda-span-to-ndays): New function.
19145         (org-agenda-manipulate-query): Use org-agenda-compute-starting-span.
19146         (org-agenda-goto-today): Use org-agenda-compute-starting-span.
19147         (org-agenda-later): Do not give compute a new span, use the
19148         current one.
19149         (org-agenda-day-view, org-agenda-week-view)
19150         (org-agenda-month-view, org-agenda-year-view): Stop touching
19151         org-agenda-ndays.
19152         (org-agenda-change-time-span): Only compute starting-span.
19153         (org-agenda-compute-starting-span): New function derived from
19154         the old org-agenda-compute-time-span.
19155         (org-agenda-set-mode-name): Compute mode based on
19156         org-agenda-current-span.
19157         (org-agenda-span-name): New function.
19159 2010-12-11  Robert Pluim  <rpluim@gmail.com>  (tiny change)
19161         * org-agenda.el (org-agenda-toggle-deadlines): Fix docstring.
19163 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
19165         * org-clock.el (org-quarter-to-date): Define variables.
19166         (org-clock-special-range): Defin variables.  Use org-floor*.
19167         (org-clocktable-write-default): Define tcol.
19169         * org-compat.el (org-floor*): New function.
19171 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
19172             John Wiegley  <jwiegley@gmail.com>
19174         * org-complete.el: New file.
19176 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
19178         * org-clock.el (org-clocktable-write-default): Fix the % formula.
19180 2010-12-11  Matt Lundin  <mdl@imapmail.org>
19182         * org-agenda.el (org-format-agenda-item): The value of
19183         org-category is not converted to a string unless it is defined.
19185 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19187         * ob-python.el (org-babel-execute:python): Pass the new "prefix"
19188         header argument through to external evaluation.
19189         (org-babel-python-evaluate): Pass the new "prefix" header argument
19190         through to external evaluation.
19191         (org-babel-python-evaluate-external-process): When specified prepend
19192         "prefix" to the file used in external evaluation.
19194 2010-12-11  Dan Davison  <dandavison7@gmail.com>
19196         * ob-python.el (org-babel-python-evaluate-session): Change python
19197         module name from 'pp' to 'pprint'.
19199 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19201         * ob-R.el (org-babel-R-evaluate-session): Removing empty lines
19202         from R session output, these are often the result of variable
19203         assignments.
19205 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19207         * ob-sql.el (orgtbl-to-csv): Declaring an external function to
19208         fix a compiler warning.
19210 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19212         * ob-eval.el (require): No longer require ob.el to allow
19213         requiring by ob.el.
19215         * ob.el (ob-eval): Require ob-eval.
19217 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19219         * ob.el (org-babel-confirm-evaluate): Show code block's name when
19220         it is available during evaluation query.
19222 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19224         * ob-sql.el (org-babel-expand-body:sql): Expand the body of a sql
19225         code block.
19226         (org-babel-execute:sql): Use sql specific body expansion function.
19227         (org-babel-sql-expand-vars): Insert variables into a sql code block.
19229 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19231         * ob.el (org-babel-insert-result): Using markers instead of
19232         points for more robust buffer anchors.
19234 2010-12-11  Julien Danjou  <julien@danjou.info>
19236         * org-capture.el: Use org-today.
19238 2010-12-11  Julien Danjou  <julien@danjou.info>
19240         * org-habit.el: Use org-today.
19242 2010-12-11  Julien Danjou  <julien@danjou.info>
19244         * org.el (org-auto-repeat-maybe): Use org-today.
19246 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
19248         * org-clock.el (org-day-of-week): New function.
19249         (org-quarter-to-date): New function.
19250         (org-clock-special-range): Implement quarters.
19252 2010-12-11  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
19254         * org.el (org-complete-tags-always-offer-all-agenda-tags):
19255         Fix docstring.
19257 2010-12-11  Julien Danjou  <julien@danjou.info>
19259         * org-agenda.el (org-format-agenda-item): Convert category to a string
19260         if it is a symbol.  This fixes the following call to
19261         org-agenda-get-category-icon which fails if category is not a string.
19263 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19265         * ob-clojure.el: Updated requirements documentation to mention
19266         the minimum version of Clojure.
19267         (org-babel-expand-body:clojure): Fully qualified function name.
19269 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
19271         * org-latex.el (org-export-latex-lists): Do not add an
19272         unnecessary newline character after a list.
19274         * org-list.el (org-list-bottom-point-with-indent): Ensure bottom
19275         point is just after a non blank line.
19277 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19279         * ob.el (org-babel-examplize-region): Remove old assertion which
19280         no longer applies to the result insertion code.
19282 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19284         * ob-python.el (org-babel-execute:python): Use a :return header
19285         argument for external evaluation in which the code block body need
19286         to be wrapped in a function.
19288 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19290         * ob-clojure.el (org-babel-expand-body:clojure): Trapped free
19291         variable.
19293 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
19295         * org.el (org-edit-special): Edit formulas when in TBLMF line.
19297 2010-12-11  Allen S. Rout  <asr@ufl.edu>  (tiny change)
19299         * org-capture.el (org-capture-after-finalize-hook): New hook.
19300         (org-capture-finalize): Run the new hook.
19302 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19304         * ob-clojure.el (org-babel-expand-body:clojure): Support for
19305         pretty printing of Clojure code and data.
19307 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19309         * ob.el (org-babel-insert-result): No longer escape results which
19310         will be wrapped in a block.
19312 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19314         * ob-eval.el (org-babel-eval-wipe-error-buffer): Fix compiler
19315         warning and added documentation string.
19317 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19319         * ob-clojure.el (org-babel-execute:clojure): Remade using slime
19320         for all code evaluation.
19322 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
19324         * org-beamer.el (org-beamer-sectioning): Allow overlay arguments for
19325         the column as well.
19327 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19329         * ob.el (org-babel-confirm-evaluate): More descriptive message
19330         when evaluation is aborted or disabled.
19332 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19334         * ob.el (org-babel-insert-result): Responds to new "wrap" header
19335         argument.
19336         (org-babel-merge-params): Includes new "wrap" header argument in
19337         one of the results header argument exclusive groups.
19339 2010-12-11  David Maus  <dmaus@ictsoc.de>
19341         * org-macs.el (with-silent-modifications): Fix condition for
19342         with-silent-modification.
19344 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19346         * ob.el (org-babel-parse-header-arguments): Stripping trailing
19347         spaces off of header arguments (even the first one).
19349 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19351         * ob-sh.el (org-babel-sh-var-to-sh): Wrap end token of heredoc in
19352         single quotes which is the best practice.
19353         (org-babel-sh-table-or-results): Use `org-babel-script-escape' for
19354         more robust parsing of shell output.
19356 2010-12-11  Dan Davison  <dandavison7@gmail.com>
19358         * org.el (org-additional-option-like-keywords): Add more keywords,
19359         and colons to some old ones.
19361 2010-12-11  Dan Davison  <dandavison7@gmail.com>
19363         * ob-eval.el (org-babel-error-buffer-name): Define new variable.
19365 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19367         * ob-python.el (org-babel-python-table-or-string):
19368         Using `org-babel-script-escape' for reading string input from scripting
19369         languages.
19371 2010-12-11  Achim Gratz  <Stromeko@nexgo.de>  (tiny change)
19373         * org-macs.el (org-called-interactively-p): Wrap function call in
19374         with-no-warnings.
19375         (with-silent-modifications): Declare macro for Emacs < 23.2.
19377 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19379         * ob.el (org-babel-parse-header-arguments): Remove addition of
19380         ":" to singleton first header arguments as it was leading to errors.
19382 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
19384         * org-latex.el (org-export-latex-make-header): Run the title through
19385         `org-export-latex-fontify-headline'.
19386         (org-export-latex-fontify-headline): Do the protection of math
19387         snippets also here.
19389 2010-12-11  Richard Lawrence  <richard.lawrence@berkeley.edu>
19391         * org-latex.el (org-export-as-latex): Sent the section title
19392         through the preprocessor.
19394 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
19396         * org-html.el (org-html-level-start): Mark listified headings
19397         with a custom id.
19399 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
19401         * org.el (org-open-at-point): Don't do footnote action if cursor is
19402         on a bracket link.
19404 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
19406         * org.el (org-edit-special): Check also for TBLFM line.
19408 2010-12-11  Achim Gratz  <Stromeko@Stromeko.DE>  (tiny change)
19410         * org-clock.el (org-get-clocktable): Previous patch incorrectly
19411         required whitespace in front of #+BEGIN: and #+END:.
19413 2010-12-11  Dan Davison  <dandavison7@gmail.com>
19415         * org-src.el (org-edit-src-code): Allow region to be inherited by
19416         edit buffer when mark is one character beyond end of src block.
19418 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
19420         * org-list.el (org-cycle-list-bullet): Ensure point is at bol before
19421         checking item indentation.
19423 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19425         * ob.el (org-babel-map-src-blocks): Move to earlier in the file
19426         and now autoloading.
19428 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19430         * ob-ref.el (org-babel-ref-at-ref-p): Use higher level function
19431         for testing list membership.
19433         * ob.el (org-babel-read-result): Use higher level function for
19434         testing list membership.
19435         (org-babel-result-end): Use higher level function for testing list
19436         membership.
19438 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19440         * ob-sqlite.el (ob-eval): Require ob-eval for external command
19441         execution.
19442         (org-babel-execute:sqlite): No longer uses the init option for
19443         passing commands to sqlite.
19445 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
19447         * org.el (org-indent-line-function): Drawers and blocks have no
19448         influence on indentation of text below.  Also fix indentation
19449         problem with a block at column 0 and add a special case for
19450         literal examples.
19452 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19454         * ob.el (org-babel-map-src-blocks): Ensure that the file argument
19455         is only evaluated once.
19457 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19459         * ob-ref.el (org-babel-ref-resolve): Recognize `list' as a unique
19460         type of data
19461         (org-babel-ref-at-ref-p): Recognize `list' as a unique type of data.
19463 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19465         * ob-tangle.el (org-babel-load-file): Can be called interactively.
19467 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
19469         * org-table.el (orgtbl-after-send-table-hook): New hook.
19470         (orgtbl-ctrl-c-ctrl-c): Run `orgtbl-after-send-table-hook' when a
19471         table was sent.
19472         (orgtbl-send-table): Return the number of sent tables, or nil if no
19473         sending has happened.
19475 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
19477         * org.el (org-get-priority-function): New option.
19478         (org-get-priority): Call `org-get-priority-function' if that
19479         has been set.
19481 2010-12-11  Dan Davison  <dandavison7@gmail.com>
19483         * ob-table.el (org-babel-table-truncate-at-newline): Only add
19484         "..." if there is something after the newline.
19486 2010-12-11  Achim Gratz  <Stromeko@nexgo.de>  (tiny change)
19488         * org-clock.el (org-get-clocktable):
19489         (org-in-clocktable-p):
19490         (org-clocktable-shift):
19491         (org-clocktable-steps): Fix regexp to allow for indented clock tables.
19493 2010-12-11  Puneeth Chaganti  <punchagan@gmail.com>
19495         * org-exp.el (org-export-handle-include-files): Support :minlevel
19496         property.
19497         (org-get-file-contents): New argument minlevel to demote included
19498         content.
19500 2010-12-11  Noorul Islam  <noorul@noorul.com>
19502         * org-latex.el (org-export-latex-hyperref-format): New option.
19503         (org-export-latex-href-format): Rename the existing variable
19504         `org-export-latex-hyperref-format' as `org-export-latex-href-format'
19505         (org-export-latex-links): Use `org-export-latex-hyperref-format' and
19506         `org-export-latex-href-format'.
19508 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19510         * ob-calc.el (org-babel-execute:calc): Ensure the *Calculator*
19511         buffer exists before it is used.
19513 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
19515         * org-exp.el (org-export-preprocess-string): Delay code block
19516         processing a bit to allow correct list parsing in the export string.
19518 2010-12-11  Christopher Allan Webber  <cwebber@dustycloud.org>
19520         * org-agenda.el (org-agenda-timegrid-use-ampm): New option.
19521         (org-agenda-time-of-day-to-ampm): New function.
19522         (org-agenda-time-of-day-to-ampm-maybe): New function.
19523         (org-format-agenda-item): Call org-agenda-time-of-day-to-ampm-maybe.
19525 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
19527         * org-faces.el (org-cycle-level-faces): New option.
19529         * org.el (org-get-level-face): Honor org-cycle-level-faces.
19531 2010-12-11  Julien Danjou  <julien@danjou.info>
19533         * org-agenda.el (org-agenda-today): New function.
19534         (org-agenda-get-day-face): New function.
19535         (org-timeline): Use org-agenda-today and org-agenda-get-day-face.
19536         (org-agenda-list): Use org-agenda-today and org-agenda-get-day-face.
19537         (org-todo-list): Use org-agenda-today.
19538         (org-get-all-dates): Use org-agenda-today.
19539         (org-agenda-day-face-function): New variable.
19540         (org-agenda-get-day-face): Use org-agenda-day-face-function.
19542 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
19544         * org.el (org-ctrl-c-ctrl-c): Consider sending a radio table also
19545         in Org.
19547 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
19549         * org-html.el (org-export-as-html): Do not treat partially
19550         protected lines as if they were fully protected.
19552 2010-12-11  Dan Davison  <dandavison7@gmail.com>
19554         * org-exp.el (org-export-format-source-code-or-example):
19555         Remove hard-wired configuration of minted export
19556         (org-export-latex-minted-with-line-numbers): Remove variable.
19558 2010-12-11  Bastien Guerry  <bzg@gnu.org>
19560         * org-clock.el (org-dblock-write:clocktable): Fix double
19561         reference to `link' in let construct.
19562         (org-clock-clocktable-formatter): Fix typo in docstring.
19563         (org-clocktable-write-default): Fix typo in docstring.
19565 2010-12-11  David Maus  <dmaus@ictsoc.de>
19567         * org-protocol.el (org-protocol-unhex-string): Normalize percent
19568         escape sequence to upper case letters.
19570 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19572         * ob-lob.el (org-babel-lob-get-info): Include pass-through
19573         header arguments in results variable header argument string.
19575 2010-12-11  David Maus  <dmaus@ictsoc.de>
19577         * org-exp.el (org-export-visible): Limit search for in-buffer options
19578         beginning of first headline.
19580 2010-12-11  David Maus  <dmaus@ictsoc.de>
19582         * org.el (org-open-at-point): Remove stale link handler for news:
19583         links.
19585 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
19587         * org-clock.el (org-clocktable-write-default): Better handling of
19588         narrowing.
19590 2010-12-11  Julien Danjou  <julien@danjou.info>
19592         * org-agenda.el (org-agenda-category-icon-alist): Fix defcustom type.
19594 2010-12-11  Nicolas Goaziou  <n.goaziou@gmail.com>
19596         * org.el (org-indent-line-function): Simplify code and remove bug that
19597         would insert a tab at the beginning of the line when trying to
19598         indent the item.
19600 2010-12-11  Julien Danjou  <julien@danjou.info>
19602         * org.el (org-diary-sexp-entry): Split sexp result strings at semicolon.
19604 2010-12-11  Julien Danjou  <julien@danjou.info>
19606         * org-agenda.el (org-agenda-prefix-format): Insert place holder
19607         for icon.
19608         (org-agenda-category-icon-alist): New option.
19609         (org-agenda-get-category-icon): New function.
19610         (org-format-agenda-item): Support for icons.
19611         (org-compile-prefix-format): Support for icons.
19613 2010-12-11  Julien Danjou  <julien@danjou.info>
19615         * org-compat.el: Create defalias for `string-match-p' and
19616         looking-at-p.
19618 2010-12-11  Eric Schulte  <schulte.eric@gmail.com>
19620         * ob-calc.el (org-babel-execute:calc): Support for variables --
19621         converts :var variables in calc variables.
19623 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
19625         * org.el (org-sparse-tree): Mention [r] in dispatch menu.
19627 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
19629         * org-list.el (org-list-parse-list): Use `org-looking-at-p'.
19631 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
19633         * org-id.el (org-id-store-link): Test for org-mode before checking
19634         for IDs.
19636 2010-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
19638         * org.el (org-shorten-string): New function.
19640         * org-exp.el (org-export-convert-protected-spaces): New function.
19641         (org-export-preprocess-string):
19642         Call `org-export-convert-protected-spaces' to handle new hard spaces.
19644 2010-12-11  David Maus  <dmaus@ictsoc.de>
19646         * org.el (org-narrow-to-subtree): Check for heading that ends at end
19647         of buffer.
19649 2010-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
19651         * org-capture.el (org-capture-templates): Remove autoload from
19652         defcustom.
19654         * ob-lisp.el (slime): Don't expect slime to be present.
19656 2010-11-11  Dan Davison  <dandavison7@gmail.com>
19658         * ob.el: `copy-sequence' suffices to copy alist; no need for
19659         `copy-tree'.
19661 2010-11-11  Dan Davison  <dandavison7@gmail.com>
19663         * ob.el (org-babel-execute-src-block): If ":results file" is in
19664         effect, then ensure that the value of :file is returned as the
19665         result; don't rely on language files for this.
19667 2010-11-11  Dan Davison  <dandavison7@gmail.com>
19669         * ob.el (org-babel-sha1-hash): Avoid corrupting `info' data
19670         structure by side-effects of `sort'.
19672 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
19674         * org-list.el (org-list-bottom-point-with-indent): Do not check
19675         indentation of a non-empty blank line.
19677         * org-list.el (org-sort-list): Sort a list with point anywhere
19678         inside it.
19680 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
19682         * ob-calc.el (org-babel-execute:calc): Safer evaluation and
19683         hopefully better error messages.
19685 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
19687         * org.el (org-babel-load-languages): Adding calc.
19689 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
19691         * ob.el (org-babel-initiate-session): Don't resolve variable
19692         references unless prefix arg is supplied.
19694 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
19696         * ob-calc.el (org-babel-execute:calc): Ensure that calc stack
19697         refers to the correct stack.
19699 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
19701         * ob-calc.el: Adding the beginnings of support for calc code
19702         blocks.
19704 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
19706         * ob-tangle.el (org-babel-update-block-body): Declaring function
19707         for updating code block bodies.
19708         (org-babel-spec-to-string):
19709         (org-babel-detangle): Detangle all tangled and commented code
19710         blocks in the current file back to org.
19711         (org-babel-tangle-jump-to-org): Jump from a tangled and commented
19712         file back to the originating org-mode code block ob-tangle:
19713         detangle changes in code files back to the original org files.
19715 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
19717         * ob-tangle.el (org-babel-tangle-comment-format-beg): Fix typo.
19718         (org-babel-tangle-comment-format-end): Fix typo.
19720 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
19722         * org-exp.el (org-export-format-source-code-or-example):
19723         Use minted for latex source code export if `org-export-latex-listings'
19724         has the value 'minted.
19726         * org-latex.el (org-export-latex-listings): Document special value
19727         'minted.
19729         * org-latex.el (org-export-latex-minted): Delete variable.
19731 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
19733         * ob.el (org-babel-get-src-block-info): Retrieve contents of
19734         parentheses, excluding parentheses themselves.
19736 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
19738         * ob-gnuplot.el (org-babel-variable-assignments:gnuplot):
19739         Fix bug in gnuplot data file assignment using user variables.
19741 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
19743         * ob-latex.el (org-babel-execute:latex): Adding new :headers
19744         header argument for latex code blocks.
19746 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
19748         * org-capture.el (org-capture-templates): New capture property
19749         `:kill-buffer'.
19750         (org-capture-finalize): Kill target buffer if that is desired.
19751         (org-capture-target-buffer): Remember if we have to make the buffer.
19753 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
19755         * org-clock.el (org-dblock-write:clocktable): Fix bug when
19756         computing clock tables.
19758 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
19760         * org-clock.el (org-dblock-write:clocktable): Pass file minutes up
19761         to caller even if no table is generated.
19763 2010-11-11  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>
19765         * org-agenda.el (org-agenda-get-sexps): Handle lists as return
19766         values from diary entries.
19768         * org-bbdb.el (org-bbdb-anniversaries): Handle lists of
19769         anniversaries.
19771         * org.el (org-diary-sexp-entry): Handle lists as return values
19772         from diary entries.
19774 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
19776         * org-capture.el (org-capture-empty-lines-before):
19777         (org-capture-empty-lines-after): Make sure the n=0 does not insert
19778         any newlines.
19780 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
19782         * ob-clojure.el (org-babel-clojure-babel-clojure-cmd): Fix error
19783         message when clojure binary is not found.
19785 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
19787         * org-html.el (org-format-table-html): New argument DOCBOOK.
19788         (org-format-org-table-html): New argument DOCBOOK.  When set, use
19789         align instead of class to align table fields.
19791         * org-docbook.el (org-export-as-docbook): Specify the docbook
19792         argument for the table converter.
19794 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
19796         * org-macs.el (org-called-interactively-p): New macro.
19798         * org-freemind.el: No longer require 'rx.
19799         (org-freemind): New customization group, use it for all the
19800         variables.
19801         (org-export-as-freemind): Add docstring.
19802         (org-freemind-show): Improve filen naming.
19803         (org-freemind-convert-links-helper): New function.
19804         (org-freemind-bol-helper-base-indent): New variable.
19805         (org-freemind-bol-helper): New function.
19806         (org-freemind-node-css-style): New option.
19807         (org-freemind-node-pattern): New variable.
19808         (org-freemind-from-org-mode): Better docstring.
19810 2010-11-11  David Maus  <dmaus@ictsoc.de>
19812         * ob-haskell.el (org-babel-variable-assignments:haskell):
19813         Don't pass more than two arguments to mapc.
19815 2010-11-11  David Maus  <dmaus@ictsoc.de>
19817         * ob.el (org-babel-ref-resolve): Declare to silence byte compiler.
19819 2010-11-11  David Maus  <dmaus@ictsoc.de>
19821         * org-footnote.el (message-signature-separator): Defvar to silence
19822         byte compiler.
19824 2010-11-11  David Maus  <dmaus@ictsoc.de>
19826         * org-exp.el (org-export-string): Fix reference to wrong symbol.
19828 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>
19830         * org.el (org-link-search): Return 'dedicated on successful match
19831         when org-link-search-must-match-exact-headline is set to t.
19833 2010-11-11  Daniel Clemente  <n142857@gmail.com>
19835         * org-html.el (org-html-make-link): Append fragment to file: links
19836         if present.
19838 2010-11-11  Tassilo Horn  <tassilo@member.fsf.org>
19840         * org-footnote.el (org-footnote-create-definition)
19841         (org-footnote-goto-local-insertion-point): Add footnotes before
19842         signature when in message-mode.
19844 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
19846         * org.el (org-display-inline-images): Improve regexp.
19848 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
19850         * org.el (org-cycle): Make sure resetting to startup visibility
19851         works after another cycle command.
19853 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
19855         * org-exp.el (org-export-string): New function org-export-string
19856         can be used to convert a string of test in org-mode markup to a
19857         specified format.
19859 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
19861         * org.el (org-display-inline-images): Allow non-ASCII characters
19862         in image file names.  Save match data.
19864 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
19866         * org.el (org-auto-repeat-maybe): Fix shifting multiple time
19867         stamps.
19869 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
19871         * org-exp.el (org-store-forced-table-alignment):
19872         (org-export-remove-special-table-lines): Allow the "c" cookie for
19873         table alignment.
19875         * org-html.el (org-export-table-header-tags):
19876         (org-export-table-data-tags): Add another %s format for the
19877         alignment.
19878         (org-export-html-table-align-individual-fields): New option.
19879         (org-format-org-table-html): Implement field-by-field alignment
19880         and support centering.
19881         (org-format-table-table-html): Make sure the new table tag formats
19882         don't break this function.
19884         * org-table.el (org-table-cookie-line-p):
19885         (org-table-align): Allow for the <c> cookie.
19887         * org.el (org-set-font-lock-defaults): Allow for the <c> cookie.
19889 2010-11-11  David Maus  <dmaus@ictsoc.de>
19891         * org-exp.el (org-export-normalize-links): Skip normalization of
19892         plain links that are part of another link.
19894 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
19896         * ob-R.el (org-babel-expand-body:R): Fix bug in let binding.
19898 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
19900         * org-indent.el (org-indent-add-properties):
19901         Use `with-silent-modifications'.
19902         (org-indent-remove-properties): Use `with-silent-modifications'.
19904 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
19906         * org-table.el (org-table-cookie-line-p): Fix indentation.
19908         * org-exp.el (org-store-forced-table-alignment): New function.
19909         (org-export-preprocess-string):
19910         Call `org-store-forced-table-alignment'.
19912         * org-html.el (org-format-org-table-html): Use stored alignment
19913         information.
19915 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
19917         * ob.el (org-babel-execute-src-block): Respects prefix argument
19918         (which forces re-calculation).
19920 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
19922         * ob.el (org-babel-execute-src-block): Remove needless param
19923         sorting from ob-execute-src-block, the params are sorted already
19924         by ob-sha1-hash.
19926 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
19928         * ob.el (org-babel-sha1-hash): Ensure that info is sorted at the
19929         header argument level.
19931 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
19933         * ob.el (org-babel-sha1-hash): Consider words in different order
19934         as different input.
19936 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
19938         * ob.el (org-babel-sha1-hash): Fix check for zero length sequences.
19940 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
19942         * ob-sh.el (org-babel-sh-var-to-sh): Ensure value has the
19943         structure of an Org-mode table (list of lists).
19945 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
19947         * ob-tangle.el (org-babel-tangle-collect-blocks): Fix bug
19948         (reference to unassigned variable `src-lang' and avoid calling
19949         org-babel-get-src-block-info twice.
19951 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
19953         * ob.el (org-babel-demarcate-block): Update to reflect the new
19954         info list contents.
19956 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
19958         * org-src.el (org-edit-src-code): Supply non-nil argument to
19959         `org-babel-get-src-block-info' to avoid resolving variable
19960         references.
19962 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
19964         * ob.el (org-babel-map-src-blocks): Fix minor bug in and
19965         improved efficiency of org-babel-map-src-blocks.
19967 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
19969         * ob-tangle.el (org-babel-tangle-collect-blocks): Now explicitly
19970         checks that a code block will actually be tangled before
19971         collecting it's full information (a process which could involve
19972         the execution of other code blocks).
19974 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
19976         * ob.el (org-babel-demarcate-block): Use light version of
19977         `org-babel-get-src-block-info'.
19979 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
19981         * ob.el (org-babel-sha1-hash): Now handles more complex types in
19982         params.
19984 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
19986         * ob.el (org-babel-execute-src-block): Generally using the new
19987         more informative params
19988         (org-babel-process-params): Don't forget the :var portion of
19989         variable assignments.
19991 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
19993         * ob-table.el (sbe): Simplify to reflect to var resolution.
19995 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
19997         * ob-ref.el (org-babel-ref-resolve): Bringing the referent
19998         arguments back to their params before evaluation.
20000 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20002         * ob-ref.el (org-babel-ref-resolve): Cleanup of variable usage and
20003         indentation.
20005 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20007         * ob-table.el (sbe): Use `org-babel-process-params params' instead
20008         of `org-babel-expand-variables'.
20010 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20012         * ob-C.el (org-babel-C-execute): Remove call to
20013         org-babel-process-params which should no longer be called from
20014         within a language file.
20016         * ob-R.el (org-babel-execute:R): Remove call to
20017         org-babel-process-params which should no longer be called from
20018         within a language file
20019         (org-babel-R-variable-assignments): Remove call to
20020         org-babel-process-params which should no longer be called from
20021         within a language file.
20023         * ob-asymptote.el (org-babel-execute:asymptote): Remove call to
20024         org-babel-process-params which should no longer be called from
20025         within a language file.
20027         * ob-clojure.el (org-babel-execute:clojure): Remove call to
20028         org-babel-process-params which should no longer be called from
20029         within a language file.
20031         * ob-dot.el (org-babel-execute:dot): Remove call to
20032         org-babel-process-params which should no longer be called from
20033         within a language file.
20035         * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp): Remove
20036         call to org-babel-process-params which should no longer be called
20037         from within a language file
20038         (org-babel-execute:emacs-lisp): Remove call to
20039         org-babel-process-params which should no longer be called from
20040         within a language file.
20042         * ob-haskell.el (org-babel-execute:haskell): Remove call to
20043         org-babel-process-params which should no longer be called from
20044         within a language file.
20046         * ob-js.el (org-babel-execute:js): Remove call to
20047         org-babel-process-params which should no longer be called from
20048         within a language file.
20050         * ob-lisp.el (org-babel-execute:lisp): Remove call to
20051         org-babel-process-params which should no longer be called from
20052         within a language file.
20054         * ob-ocaml.el (org-babel-execute:ocaml): Remove call to
20055         org-babel-process-params which should no longer be called from
20056         within a language file.
20058         * ob-octave.el (org-babel-execute:octave): Remove call to
20059         org-babel-process-params which should no longer be called from
20060         within a language file.
20062         * ob-perl.el (org-babel-execute:perl): Remove call to
20063         org-babel-process-params which should no longer be called from
20064         within a language file.
20066         * ob-python.el (org-babel-execute:python): Remove call to
20067         org-babel-process-params which should no longer be called from
20068         within a language file.
20070         * ob-ruby.el (org-babel-execute:ruby): Remove call to
20071         org-babel-process-params which should no longer be called from
20072         within a language file.
20074         * ob-scheme.el (org-babel-execute:scheme): Remove call to
20075         org-babel-process-params which should no longer be called from
20076         within a language file.
20078         * ob-screen.el (org-babel-execute:screen): Remove call to
20079         org-babel-process-params which should no longer be called from
20080         within a language file
20081         (org-babel-prep-session:screen): Remove call to
20082         org-babel-process-params which should no longer be called from
20083         within a language file.
20085         * ob-sh.el (org-babel-execute:sh): Remove call to
20086         org-babel-process-params which should no longer be called from
20087         within a language file.
20089         * ob-sql.el (org-babel-execute:sql): Remove call to
20090         org-babel-process-params which should no longer be called from
20091         within a language file.
20093         * ob-haskell.el (org-babel-execute:haskell): Remove reference to
20094         processed params.
20096         * ob-clojure.el (org-babel-execute:clojure): Remove reference to
20097         processed params.
20099         * ob-R.el (org-babel-execute:R): Remove reference to processed
20100         params.
20102 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20104         * ob-sql.el (org-babel-execute:sql): Use generic expansion
20105         function
20106         (org-babel-expand-body:sql): Delete function.
20108 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20110         * ob-sh.el (org-babel-execute:sh): Use generic expansion function
20111         (org-babel-expand-body:sh): Delete function
20112         (org-babel-prep-session:sh): Change name of called function
20113         (org-babel-variable-assignments:sh): Change function name.
20115 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20117         * ob-screen.el (org-babel-execute:screen): Use generic expansion
20118         function
20119         (org-babel-expand-body:screen): Delete function
20120         (org-babel-prep-session:screen): Remove references to processed
20121         params.
20123 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20125         * ob-sass.el (org-babel-execute:sass): Use generic expansion
20126         function
20127         (org-babel-expand-body:sass): Delete function.
20129 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20131         * ob-ruby.el (org-babel-execute:ruby): Use generic expansion
20132         function
20133         (org-babel-prep-session:ruby): Use new variable assignment
20134         function
20135         (org-babel-variable-assignments:ruby): New function
20136         (org-babel-expand-body:ruby): Delete function.
20138 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20140         * ob-python.el (org-babel-execute:python): Use generic expansion
20141         function
20142         (org-babel-prep-session:python): Change name of called function
20143         (org-babel-variable-assignments:python): Change function name
20144         (org-babel-expand-body:python): Delete function.
20146 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20148         * ob-plantuml.el (org-babel-expand-body:plantuml): Delete function
20149         (automatically handled by generic version).
20151 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20153         * ob-perl.el (org-babel-execute:perl): Use generic expansion
20154         function
20155         (org-babel-expand-body:perl): Delete function
20156         (org-babel-variable-assignments:perl): New function.
20158 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20160         * ob-org.el (org-babel-expand-body:org): Delete function
20161         (automatically handled by generic version).
20163 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20165         * ob-octave.el (org-babel-execute:octave): Use generic expansion
20166         function
20167         (org-babel-variable-assignments:octave): Change name of function
20168         (org-babel-variable-assignments:matlab): New defalias
20169         (org-babel-prep-session:octave): Change name of function
20170         (org-babel-expand-body:matlab): Delete function
20171         (org-babel-expand-body:octave): Delete function.
20173 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20175         * ob-ocaml.el (org-babel-execute:ocaml): Use generic expansion
20176         function
20177         (org-babel-variable-assignments:ocaml): New function
20178         (org-babel-expand-body:ocaml): Delete function.
20180 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20182         * ob-mscgen.el (org-babel-expand-body:mscgen): Delete function
20183         (automatically handled by generic version).
20185 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20187         * ob-js.el (org-babel-execute:js): Use new variable assignment
20188         function
20189         (org-babel-expand-body:js): Delete function
20190         (org-babel-prep-session:js): Use new variable assignment function
20191         (org-babel-variable-assignments:js): New function.
20193 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20195         * ob-haskell.el (org-babel-execute:haskell): Use generic expansion
20196         function
20197         (org-babel-expand-body:haskell): Delete function
20198         (org-babel-prep-session:haskell): Use variable assignment function
20199         (org-babel-variable-assignments:haskell): New function.
20201 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20203         * ob-gnuplot.el (org-babel-expand-body:gnuplot): Use variable
20204         assignment function
20205         (org-babel-prep-session:gnuplot): Use variable assignment function
20206         (org-babel-variable-assignments:gnuplot): New function.
20208 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20210         * ob-ditaa.el (org-babel-expand-body:ditaa): Delete function
20211         (automatically handled by generic version).
20213 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20215         * ob-css.el (org-babel-expand-body:css): Delete function
20216         (automatically handled by generic version).
20218 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20220         * ob-asymptote.el (org-babel-execute:asymptote): Use generic
20221         expansion function
20222         (org-babel-expand-body:asymptote): Delete function
20223         (org-babel-variable-assignments:asymptote): New function.
20225 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20227         * ob-R.el (org-babel-expand-body:R): Use new function
20228         `org-babel-variable-assignments:R'; don't trim body.
20229         (org-babel-execute:R): Respond to changes in
20230         `org-babel-expand-body:R'
20231         (org-babel-prep-session:R): Called function is now named
20232         `org-babel-variable-assignments:R'
20233         (org-babel-variable-assignments:R): Receives processed-params as
20234         new optional argument.
20236 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20238         * ob-C.el (org-babel-C-expand): Don't trim body.
20240 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20242         * ob-scheme.el (org-babel-expand-body:scheme): Fix bug in
20243         obtaining variable references.
20245 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20247         * ob-tangle.el (org-babel-tangle-collect-blocks): Supply variable
20248         assignment lines to generic expansion command.
20250 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20252         * ob.el (org-babel-expand-src-block): Supply variable assignment
20253         lines to generic expansion function
20254         (org-babel-expand-body:generic): Prepend body with optional
20255         variable assignment lines.
20257 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20259         * ob-exp.el (org-babel-exp-results): Replaced old function call.
20261 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20263         * ob-lob.el (org-babel-lob-execute): Now expanding variable
20264         references before execution.
20266 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20268         * ob.el (org-babel-execute-src-block): Only sort parameters if
20269         it's required for caching.
20271 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20273         * ob-table.el (sbe): Reworking for better indentation and to
20274         integrate the new variable resolution.
20276 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20278         * ob-ref.el (org-babel-ref-resolve-reference): Now expanding
20279         variables when resolving references.
20281 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20283         * ob.el (org-babel-merge-params): Fix order or precedence for
20284         variables.
20286 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20288         * ob-C.el (org-babel-expand-body:c++, org-babel-C-expand):
20289         * ob-R.el (org-babel-expand-body:R, org-babel-execute:R)
20290         (org-babel-R-variable-assignments):
20291         * ob-asymptote.el (org-babel-expand-body:asymptote)
20292         (org-babel-execute:asymptote):
20293         * ob-clojure.el (org-babel-expand-body:clojure)
20294         (org-babel-execute:clojure):
20295         * ob-css.el (org-babel-expand-body:css):
20296         * ob-ditaa.el (org-babel-expand-body:ditaa):
20297         * ob-dot.el (org-babel-expand-body:dot, org-babel-execute:dot):
20298         * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp)
20299         (org-babel-execute:emacs-lisp):
20300         * ob-gnuplot.el (org-babel-expand-body:gnuplot)
20301         * ob-haskell.el (org-babel-expand-body:haskell)
20302         (org-babel-execute:haskell, org-babel-load-session:haskell)
20303         (org-babel-prep-session:haskell):
20304         * ob-js.el (org-babel-expand-body:js, org-babel-execute:js):
20305         * ob-latex.el (org-babel-expand-body:latex):
20306         * ob-lisp.el (org-babel-expand-body:lisp, org-babel-execute:lisp):
20307         * ob-mscgen.el (org-babel-expand-body:mscgen):
20308         * ob-ocaml.el (org-babel-expand-body:ocaml, org-babel-execute:ocaml):
20309         * ob-octave.el (org-babel-expand-body:matlab)
20310         (org-babel-expand-body:octave, org-babel-execute:octave)
20311         (org-babel-octave-variable-assignments):
20312         * ob-org.el (org-babel-expand-body:org):
20313         * ob-perl.el (org-babel-expand-body:perl, org-babel-execute:perl):
20314         * ob-plantuml.el (org-babel-expand-body:plantuml):
20315         * ob-python.el (org-babel-expand-body:python, org-babel-execute:python)
20316         (org-babel-python-variable-assignments):
20317         * ob-ruby.el (org-babel-expand-body:ruby, org-babel-execute:ruby):
20318         * ob-sass.el (org-babel-expand-body:sass):
20319         * ob-scheme.el (org-babel-expand-body:scheme, org-babel-execute:scheme):
20320         * ob-screen.el (org-babel-expand-body:screen):
20321         * ob-sh.el (org-babel-expand-body:sh, org-babel-execute:sh)
20322         (org-babel-sh-variable-assignments):
20323         * ob-sql.el (org-babel-expand-body:sql):
20324         * ob-sqlite.el (org-babel-expand-body:sqlite, org-babel-execute:sqlite):
20325         * ob.el (org-babel-expand-body:generic):
20326         Remove obsoleted optional third argument.
20328 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20330         * ob-clojure.el (org-babel-prep-session:clojure): Purging all
20331         calls to removed org-babel-ref-variables.
20333 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20335         * ob-lob.el (org-babel-lob-ingest): Now returns the count of
20336         ingested code blocks.
20338 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20340         * ob-exp.el (org-babel-exp-in-export-file): Wrapper for collecting
20341         information from within the original export file.
20343 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20345         * ob.el (org-babel-get-src-block-info): Small but crucial fix)
20346         (this should return nil if not match found.
20348 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20350         * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp):
20351         Whitespace (org-babel-execute:emacs-lisp): Whitespace.
20353 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20355         * ob-sh.el (org-babel-sh-variable-assignments): Provide missing
20356         docstring.
20358         * ob-python.el (org-babel-python-variable-assignments):
20359         Provide missing docstring.
20361 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20363         * ob-octave.el (org-babel-expand-body:octave): Refactor: break
20364         variable assignment part out into a separate function
20365         (org-babel-octave-variable-assignments): New function constructing
20366         list of variable assignment statements
20367         (org-babel-prep-session:octave): Use new function
20368         `org-babel-octave-variable-assignments' instead of previous
20369         (incorrect) variable assignment code.
20371 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20373         * ob-sh.el (org-babel-expand-body:sh): Refactor: break variable
20374         assignment part out into a separate function
20375         (org-babel-sh-variable-assignments): New function constructing
20376         list of variable assignment statements
20377         (org-babel-prep-session:sh): Use new function
20378         `org-babel-sh-variable-assignments' instead of previous
20379         (incorrect) variable assignment code.
20381 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20383         * ob-python.el (org-babel-expand-body:python): Refactor: break
20384         variable assignment part out into a separate function
20385         (org-babel-python-variable-assignments): New function constructing
20386         list of variable assignment statements
20387         (org-babel-prep-session:python): Use new function
20388         `org-babel-python-variable-assignments' instead of previous
20389         (incorrect) variable assignment code.
20391 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20393         * ob-R.el (org-babel-expand-body:R): Refactor: break variable
20394         assignment part out into a separate function
20395         (org-babel-R-variable-assignments): New function constructing list
20396         of variable assignment statements
20397         (org-babel-prep-session:R): Use new function
20398         `org-babel-R-variable-assignments' instead of previous
20399         (incorrect) variable assignment code.
20401 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20403         * ob.el (org-babel-initiate-session): Better variable names.
20405 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20407         * ob.el (org-number-sequence):
20408         Declared * ob-R.el (org-number-sequence): Declared.
20410 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20412         * ob.el (org-babel-map-src-blocks): Store correct value of
20413         `end-block'.
20415 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20417         * ob.el (org-babel-mark-block): New function to mark the body of a
20418         src block in the style of `mark-defun'.
20420 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20422         * org-compat.el (org-number-sequence): New function.
20424         * ob-R.el (org-babel-expand-body:R): Use `org-number-sequence'.
20426         * ob.el (org-babel-where-is-src-block-result):
20427         Use `org-number-sequence'.
20428         (org-babel-current-buffer-properties): Fix variable definition.
20430         * ob-ref.el (org-babel-ref-index-list): Use `org-number-sequence'.
20432         * ob-latex.el (org-babel-latex-tex-to-pdf): Use the 2-argument
20433         version of `shell-command'.
20435         * org-latex.el (org-export-as-pdf): Use the 2-argument version of
20436         `shell-command'.
20438 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20440         * org-list.el (org-list-search-unenclosed-generic): Replace call
20441         to booleanp.
20443 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20445         * org.el (org-agenda-jump-prefer-future): New option.
20447         * org-agenda.el (org-agenda-goto-date):
20448         Use `org-agenda-jump-prefer-future'.
20450 2010-11-11  Noorul Islam  <noorul@noorul.com>
20452         * org-latex.el (org-export-latex-links): Replaced hard coded
20453         hyperref format with custom variable
20454         `org-export-latex-hyperref-format'.
20456 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20458         * org.el (org-insert-heading): Fix docstring.
20460 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>  (tiny change)
20462         * org-capture.el (org-capture-place-entry): If the first line is
20463         already a headline, just stay there.
20465 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20467         * ob-sh.el (org-babel-sh-evaluate): No longer assumes that results
20468         are non-nil.
20470 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20472         * org-ascii.el (org-ascii-replace-entities): Match an optional {}
20473         after an entity.
20475 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20477         * org-table.el (orgtbl-to-html): Apply `org-html-expand' to the
20478         table fields.
20480 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20482         * org.el (org-insert-heading): When on the headline of an inline
20483         task, insert another inline tasks.
20485 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20487         * ob-tangle.el (org-babel-tangle-collect-blocks): Only create
20488         links for blocks that will actually tangle.
20490 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20492         * ob-sh.el (org-babel-expand-body:sh): Don't insert extra newlines
20493         in expanded shell bodies.
20495 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20497         * ob-sh.el (org-babel-expand-body:sh): Avoid inserting extra
20498         newline characters.
20500 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20502         * ob-sh.el (org-babel-expand-body:sh): Align code.
20504 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20506         * ob.el (org-babel-params-from-properties): Max line with at <=80.
20508 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20510         * org-latex.el (org-export-latex-listings-langs): Clojure is now
20511         recognized as a lisp.
20513 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20515         * ob.el (org-babel-params-from-properties): Use `org-babel-read'
20516         to interpret property as header argument value.
20518 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20520         * ob.el (org-babel-parse-header-arguments): Simplify reading of
20521         header arg value.
20523 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20525         * org-publish.el (org-publish-org-to-ascii):
20526         (org-publish-org-to-latin1):
20527         (org-publish-org-to-utf8): New functions.
20529 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20531         * org.el (org-insert-heading): Skip inline tasks when trying to
20532         insert a new heading after the end of the subtree.
20534 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20536         * org-inlinetask.el (org-inlinetask-min-level): Set customization
20537         type to integer or nil.
20539         * org.el (org-insert-heading): When after an inline task, do not
20540         use level but go back to headline level before the inline task.
20542 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20544         * org-inlinetask.el (org-inlinetask-in-task-p): New function.
20546         * org.el (org-indent-line-function): Fix indentation of inline
20547         tasks.
20549 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20551         * org.el (org-activate-links): Fix customize type.
20553 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20555         * org-latex.el (org-latex-to-pdf-process): Add rubber as another
20556         default option.
20558 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20560         * org-latex.el (org-export-latex-minted): Document pygments
20561         dependency.
20563 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20565         * org-mobile.el (org-mobile-create-index-file): Encrypt the index
20566         file if encryption has been turned on.
20567         (org-mobile-copy-agenda-files): Avoid double encryption of
20568         `mobileorg.org'.
20570 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20572         * org-exp.el (org-export-latex-minted-with-line-numbers):
20573         Ensure that variable is declared.
20575 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20577         * ob-python.el (org-src-preserve-indentation): Fix compiler
20578         warning.
20580 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20582         * org-exp.el (org-export-format-source-code-or-example):
20583         Latex formatting of source code blocks using the minted package
20584         (org-export-plist-vars): Add :latex-minted property
20585         (org-export-latex-minted): Ensure variable is defined
20586         (org-export-latex-minted-langs): Ensure variable is defined.
20588 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20590         * org-src.el (org-edit-src-code): Use `org-region-active-p'.
20592 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20594         * ob-tangle.el (org-babel-spec-to-string): Whitespace changes.
20596 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20598         * ob-tangle.el (org-babel-spec-to-string): Don't trim whitespace
20599         when `org-src-preserve-indentation' is non-nil.
20601 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20603         * ob-lob.el (org-babel-lob-ingest): Provide message stating number
20604         of blocks added to Library of Babel.
20606 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20608         * ob-lob.el (org-babel-lob-ingest): Check for nil source block
20609         name.
20611 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20613         * org-beamer.el (org-beamer-place-default-actions-for-lists):
20614         Fix typo in regexp.
20616 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
20618         * org-list.el (org-toggle-checkbox): Avoid some boundary error
20619         when inserting a checkbox in an empty last item of a list.
20621 2010-11-11  David Maus  <dmaus@ictsoc.de>
20623         * org-gnus.el (org-gnus-nnimap-query-article-no-from-file):
20624         Query article number from file is nil by default.
20626 2010-11-11  Stephen Eglen  <S.J.Eglen@damtp.cam.ac.uk>
20628         * org-beamer.el (org-beamer-amend-header): Fix typo in docstring.
20630 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20632         * org-capture.el (org-capture-place-entry): Move to `beg' before
20633         searching for `%?'.
20635 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20637         * org.el (org-format-latex): Fix mathjax treatment of single
20638         letters in between dollars.
20640 2010-11-11  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
20642         * org-latex.el (org-latex-to-pdf-process): Add a third pdflatex
20643         run.
20645 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20647         * org.el (org-blank-before-new-entry): Improve docstring.
20649 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20651         * org-mobile.el (org-mobile-force-id-on-agenda-items):
20652         Fix docstring.
20653         (org-mobile-write-agenda-for-mobile): Use outline path if we do
20654         not have an ID and are not allowed to make one.
20655         (org-mobile-get-outline-path-link): New function.
20657 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20659         * org-mobile.el (org-mobile-copy-agenda-files): Encrypt the empty
20660         file.
20661         (org-mobile-write-agenda-for-mobile): Use the right name, even if
20662         the file get encrypted.
20663         (org-mobile-move-capture): Only delete tempfile if it does exist.
20665 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20667         * ob.el (org-babel-number-p): Fix documentation string.
20669 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20671         * ob-tangle.el (org-babel-tangle-collect-blocks): Accepting
20672         "tangle" as a positive argument for the :noweb header argument
20673         during tangling.
20675 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20677         * ob-exp.el (org-babel-exp-src-blocks): Fix export when headings
20678         have links, with tests.
20680 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20682         * org-latex.el (org-latex-to-pdf-process): Use texi2dvi if
20683         available.
20684         (org-export-latex-get-error): New function.
20685         (org-export-as-pdf): Give an indication of the errors that
20686         happened during processing.
20688 2010-11-11  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>
20690         * org-exp.el (org-export-language-setup): Fix Polish entries.
20692 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20694         * org.el (org-set-tags): Allow comma as a separator when
20695         specifying tags at the completion interface.
20696         (org-tags-completion-function): Allow comma as a separator when
20697         specifying tags at the completion interface.
20699 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20701         * ob-exp.el (org-babel-exp-src-blocks): Don't jump back to
20702         export-file if exporting from a buffer which is not visiting a
20703         file.
20705 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20707         * ob-exp.el (org-babel-exp-src-blocks): Only append "::" to a file
20708         name in link construction if there is a heading to follow it.
20710 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20712         * org-html.el (org-export-html-inline-image-extensions): Add "svg"
20713         as an allowed extension.
20715 2010-11-11  Sébastien Vauban  <wxhgmqzgwmuf@spammotel.com>
20717         * org-agenda.el (org-agenda-add-time-grid-maybe): Pad clock times
20718         with zeros.  Start applying face earlier.
20720 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20722         * ob.el (or): Don't create org-babel-temporary-directory in batch
20723         as it won't be removed by emacs-kill-hook
20724         (org-babel-remove-temporary-directory): Only try to remove this
20725         directory if it exists.
20727 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20729         * ob.el (org-babel-temporary-directory): Fixing byte-compilation
20730         warning in ob.el.
20732 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20734         * ob-tangle.el (org-babel-tangle): Now sharing the file name in
20735         the tangling message.
20737 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20739         * ob.el (org-babel-load-languages): Fixes compiler warning.
20741 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20743         * ob-plantuml.el (org-babel-execute:plantuml): Fixes bug with svg
20744         output.
20746 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20748         * org-ascii.el (org-export-as-ascii): Use the correct match group.
20750 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20752         * ob.el (boundp): Uncommenting defvar form for
20753         org-babel-temporary-directory
20754         (org-babel-temp-file): Now using the org-babel-temporary-directory
20755         for holding new babel temporary files
20756         (org-babel-remove-temporary-directory): Removes the babel temp dir
20757         when Emacs shutsdown
20758         (kill-emacs-hook): Now removing the babel temp dir on Emacs
20759         shutdown.
20761 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20763         * org-capture.el (org-capture-fill-template): Initialize history
20764         variable.
20766 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20768         * org-src.el (org-edit-src-code): Don't move point when generating
20769         edit buffer.
20771 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20773         * org-src.el (org-edit-src-code): Deal with point being in
20774         #+end_src line.
20776 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20778         * org-table.el (org-table-current-column): Add interactive to turn
20779         this into a command.
20781 2010-11-11  Bernt Hansen  <bernt@norang.ca>
20783         * org.el (org-insert-heading): Run org-insert-heading-hook when
20784         creating the first heading in a file.
20786 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20788         * org.el (org-startup-with-inline-images): New option.
20789         (org-startup-options): Add new keywords inlineimages and
20790         noinlineimages.
20791         (org-mode): Inline images when this has been configured.
20793 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20795         * ob.el (org-babel-get-src-block-info): Remove optional
20796         HEADER-VARS-ONLY argument; further simplification.
20798 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20800         * ob.el (org-babel-confirm-evaluate): Fix bug causing extra
20801         prompt in ob-confirm-evaluate in some cases.
20803 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20805         * ob.el (org-babel-demarcate-block): Visible region and completion
20806         during language selection.
20808 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20810         * ob.el (org-babel-get-src-block-info): Remove comment.
20812 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20814         * ob.el (org-babel-get-src-block-info): Simplify function.
20816 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20818         * ob.el (org-babel-get-src-block-info): Form info list correctly
20819         when parenthesized arguments are missing.
20821 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20823         * ob-exp.el (org-export-babel-evaluate): Docstring typo
20824         (org-babel-exp-code): Docstring typo.
20826 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20828         * org-mobile.el (org-mobile-encryption-password):
20829         Improve docstring.
20830         (org-mobile-encryption-password-session): New variable.
20831         (org-mobile-encryption-password): New function.
20832         (org-mobile-check-setup):
20833         (org-mobile-encrypt-file):
20834         (org-mobile-decrypt-file): Use the new function.
20836 2010-11-11  David Maus  <dmaus@ictsoc.de>
20838         * org-capture.el (org-capture-place-template): Widen to remove
20839         possible restrictions in target buffer.
20841 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>
20843         * org.el (org-speed-command-hook): Add org-speed-command-hook
20844         (org-babel-speed-command-hook): Hook for Babel's speed commands.
20846 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20848         * ob.el (org-babel-execute-buffer): Re-implement using
20849         `org-babel-map-src-blocks'.
20851 2010-11-11  David Maus  <dmaus@ictsoc.de>
20853         * org-capture.el (org-capture-templates): Update doc string with
20854         new message date related escapes.
20856 2010-11-11  David Maus  <dmaus@ictsoc.de>
20858         * org-wl.el (org-wl-store-link-message): Define properties %:date)
20859         (%:date-timestamp, and %:date-timestamp-inactive.
20861         * org-mew.el (org-mew-store-link): Dto.
20863         * org-mhe.el (org-mhe-store-link): Dto.
20865         * org-rmail.el (org-rmail-store-link): Dto.
20867         * org-vm.el (org-vm-store-link): Dto.
20869 2010-11-11  David Maus  <dmaus@ictsoc.de>
20871         * org-wl.el (org-wl-message-field): Always get literal content of
20872         header fields.
20874 2010-11-11  David Maus  <dmaus@ictsoc.de>
20876         * org-gnus.el (org-gnus-store-link): Define properties
20877         %:date-timestamp and %:date-timestamp-inactive.
20879 2010-11-11  David Maus  <dmaus@ictsoc.de>
20881         * org-gnus.el (org-gnus-store-link): Handle empty date header
20882         field.
20884 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
20886         * org.el (org-speed-command-hook): New.  Hook for installing
20887         additional speed commands.  Use this for enabling speed commands on
20888         src blocks.
20889         (org-speed-command-default-hook): The default hook for
20890         org-speed-command-hook.  Factored out from org-self-insert-command
20891         and mimics existing behavior.
20892         (org-self-insert-command): Modify to use org-speed-command-hook.
20894 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20896         * org-agenda.el (org-search-view): Recover spaces in search words
20897         if they were escaped with \ or inside a regexp.
20899 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
20901         * org.el (org-additional-option-like-keywords): Add PROPERTIES to
20902         the list of completable meta line words.
20903         (org-complete): Complete property names after #+PROPERTY.
20905 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20907         * ob-python.el (org-babel-python-evaluate-session): Make temp file
20908         names consistent.
20910 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20912         * ob-clojure.el (org-babel-clojure-evaluate-external-process):
20913         Delete extra format argument.
20915 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20917         * ob-org.el (org-babel-org-export): Typo in docstring.
20919 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20921         * ob-sh.el (org-babel-sh-evaluate): Remove unused temporary file
20922         variable.
20924 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20926         * ob-scheme.el (org-babel-execute:scheme): Alter temp file name.
20928 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20930         * ob.el (org-babel-process-file-name): New function
20931         (org-babel-maybe-remote-file): Delete function.
20933 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20935         * ob-C.el (org-babel-C-execute): Remove unused variable.
20937 2010-11-11  David Maus  <dmaus@ictsoc.de>
20939         * org.el (org-make-link-string): Prevent superfluous colon.
20941 2010-11-11  David Maus  <dmaus@ictsoc.de>
20943         * org.el (org-make-org-heading-search-string): Leave headline
20944         intact.
20946 2010-11-11  David Maus  <dmaus@ictsoc.de>
20948         * org.el (org-make-link-string): Don't escape characters in link
20949         type.
20951 2010-11-11  Bastien Guerry  <bzg@gnu.org>
20953         * org-capture.el (org-capture-templates): Update docstring to
20954         advertise %:org-date.
20956 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20958         * ob-dot.el (org-babel-execute:dot): Automatically specifies
20959         "-T<ext>" based on file name extension.
20961 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20963         * ob-org.el (org-babel-org-export): Raise error on nested export
20964         call.
20966 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20968         * ob-plantuml.el (org-babel-execute:plantuml): Support for svg
20969         output files.
20971 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20973         * ob.el (org-babel-demarcate-block): Better initialization of
20974         stars.
20976 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20978         * org-src.el (org-src-tab-acts-natively): Add customize interface.
20980 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20982         * org-src.el (org-src-strip-leading-and-trailing-blank-lines):
20983         New variable allowing prevention of automatic stripping of leading and
20984         trailing blank lines when exiting edit buffer.
20985         (org-edit-src-exit): Respect value of
20986         `org-src-strip-leading-and-trailing-blank-lines'
20987         (org-src-native-tab-command-maybe):
20988         Bind `org-src-strip-leading-and-trailing-blank-lines' to nil during
20989         this function.
20991 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
20993         * org-src.el (org-edit-src-code): If mark was inside code block
20994         then code edit buffer inherits mark with active region.
20996 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
20998         * ob.el (org-babel-demarcate-block): Fix compiler warnings.
21000 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21002         * ob.el (org-babel-demarcate-block): Better handling of empty
21003         space around demarcated area.
21005 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21007         * org-agenda.el (org-agenda-goto-date): Turn off prefer future for
21008         this command.
21010 2010-11-11  David Maus  <dmaus@ictsoc.de>
21012         * org-gnus.el (org-gnus-open-nntp): New function.
21014 2010-11-11  David Maus  <dmaus@ictsoc.de>
21016         * org-wl.el (org-wl-open-nntp): New function.
21018 2010-11-11  David Maus  <dmaus@ictsoc.de>
21020         * org-wl.el (org-wl-open): Open message by numeric reference if
21021         article part is not a message id.
21023 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21025         * org-agenda.el (org-agenda-filter-apply): Move cursor to a
21026         visible line.
21028 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21030         * ob.el (org-babel-demarcate-block): Interactive demarcation of
21031         code blocks.
21033         * ob-keys.el (org-babel-key-bindings): Key bindings for block
21034         demarcation.
21036 2010-11-11  Bastien Guerry  <bzg@gnu.org>
21038         * org.el (org-link-types): Add the "message" link type.
21040 2010-11-11  David Maus  <dmaus@ictsoc.de>
21042         * org.el (org-link-types): Add 'message:' link type to default
21043         link types.
21045 2010-11-11  Bastien Guerry  <bzg@gnu.org>
21047         * org-gnus.el (org-gnus-store-link): Add the :date property to
21048         gnus links, allowing the use of %:date in capture templates.
21050 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21052         * org-list.el (org-cycle-list-bullet): Follow order of bullets
21053         indicated in doc-string.
21055         * org-list.el (org-list-bottom-point-with-indent): List is ended
21056         when a line is less indented that the last item, not the less
21057         indented item.
21059 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21061         * ob-exp.el (org-babel-exp-src-blocks): Now switching back to the
21062         original file before resolving code block parameters to ensure
21063         headline and buffer wide parameters are taken into consideration
21064         when only a narrowed portion of the file is exported.
21066 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21068         * org.el (org-forward-same-level): Fix docstring.
21070 2010-11-11  Sebastian Rose  <sebastian_rose@gmx.de>
21072         * org-publish.el (org-publish-attachment): Put the attachment into
21073         the right directory.
21075 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
21077         * org.el (org-goto-first-child): New command.
21079 2010-11-11  Matt Lundin  <mdl@imapmail.org>
21081         * org-agenda.el (org-prepare-agenda): If the agenda is called from
21082         within the agenda via an elisp link, such as
21083         [[elisp:(org-agenda-list)]], org-prepare-agenda erases the buffer
21084         of the file containing the link, since that buffer is current
21085         during org-prepare agenda (due to a with-current-buffer in
21086         org-agenda-open-link).  An additional test now ensures that the
21087         agenda buffer is in fact current when the buffer is erased and
21088         local variables for the agenda are set.
21090 2010-11-11  David Maus  <dmaus@ictsoc.de>  (tiny change)
21092         * org-exp.el (org-infile-export-plist): Define property macro.
21094 2010-11-11  David Maus  <dmaus@ictsoc.de>
21096         * org-mhe.el (org-mhe-get-header): Remove possible folding white
21097         space in message header field.
21099 2010-11-11  David Maus  <dmaus@ictsoc.de>
21101         * org-feed.el (org-feed): Fix typo in customization group :tag
21102         property.
21104 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21106         * org-latex.el (org-export-latex-tag-markup): New option.
21107         (org-export-latex-keywords-maybe):
21108         Use `org-export-latex-tag-markup'.
21110 2010-11-11  Rémi Vanicat  <vanicat@debian.org>  (tiny change)
21112         * org-icalendar.el (org-icalendar-use-UTC-date-time): New option.
21113         (org-ical-ts-to-string): Use UTC time when requested.
21115 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
21117         * org-html.el (org-html-cvt-org-as-html): Do not convert protocol
21118         from 'file' to 'http'.
21120 2010-11-11  David Maus  <dmaus@ictsoc.de>
21122         * org.el (org-store-log-note): Fix wrong usage
21123         of`org-adapt-indentation'.
21125 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21127         * org.el (org-skip-over-state-notes): Do not compute bottom point
21128         at each item.
21130         * org-mouse.el (org-mouse-for-each-item): Use `org-apply-on-list'
21131         instead of moving to each item.
21133 2010-11-11  David Maus  <dmaus@ictsoc.de>
21135         * org-capture.el (org-capture-templates): Small fix in doc string.
21137 2010-11-11  aaa bbb  <dominik@powerbook-g4-12-van-aaa-bbb.local>
21139         * org-archive.el (org-get-local-archive-location):
21140         Use `org-carchive-location' as default.
21142 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21144         * ob-C.el (org): No longer requires org.
21146         * ob-ledger.el (org): No longer requires org.
21148 2010-11-11  David Maus  <dmaus@ictsoc.de>
21150         * org.el (org-priority): Save match data before call to
21151         `read-char-exclusive'.
21153 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21155         * org-list.el (org-list-to-generic): Descriptions labels can be
21156         any suit of symbols, and will end at double colons.
21158 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21160         * org.el (org-indent-line-function): Indent past [@num] and
21161         [@start:num], consistently with what is already done with
21162         checkboxes.
21164 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21166         * org.el (org-store-log-note): Indent new notes to the right
21167         column.  Also take `org-list-two-spaces-after-bullet-regexp' into
21168         consideration when creating the note.
21170 2010-11-11  David Maus  <dmaus@ictsoc.de>
21172         * org-gnus.el (nnimap-group-overview-filename): Declare function
21173         to silence byte compiler.
21175 2010-11-11  David Maus  <dmaus@ictsoc.de>
21177         * org-gnus.el (org-gnus-nnimap-query-article-no-from-file):
21178         New customization variable.
21179         (org-gnus-nnimap-cached-article-number): New function.
21180         (org-gnus-follow-link): Try to fetch cached article number of
21181         message-id.
21183 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21185         * ob-org.el (org-babel-org-default-header): Used to insert a dummy
21186         first line into code blocks before export so that the first line
21187         is not interpreted as a title
21188         (org-babel-org-export): Use new dummy code block prefix.
21190 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21192         * ob.el (org-babel-insert-result): No longer throws error when
21193         inserting an empty result.
21195 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21197         * ob-tangle.el: Autoload org-babel-tangle-lang-exts from ob-tangle.
21199 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21201         * ob.el (org-babel-do-in-edit-buffer):
21202         Use `org-babel-where-is-src-block-head' to test for source block at
21203         point.
21205 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21207         * ob-keys.el (org-babel-key-bindings): Adding key-binding for
21208         `org-babel-goto-src-block-head'.
21210         * ob.el (org-babel-goto-src-block-head): Jump to the head of the
21211         current code block.
21213 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21215         * ob.el (org-babel-next-src-block): Now raising more informative
21216         error when no further code blocks can be found.
21217         (org-babel-previous-src-block): Now raising more informative error
21218         when no previous code blocks can be found.
21220 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21222         * org-exp-blocks.el
21223         (org-export-preprocess-after-include-files-hook): Now using this
21224         hook instead of `org-export-preprocess-hook'.
21226 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21228         * ob-plantuml.el (org-babel-execute:plantuml): ????
21230 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21232         * ob-python.el (org-babel-python-evaluate): Refactor as call to
21233         either `org-babel-python-evaluate-external-process' or
21234         `org-babel-python-evaluate-session'.
21235         (org-babel-python-evaluate-external-process): New function to
21236         handle evaluation in external process.
21237         (org-babel-python-evaluate-session): New function to handle
21238         evaluation in emacs inferior process.
21240 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21242         * ob-org.el (org-babel-execute:org): Evaluates body to latex ascii
21243         or html respecting :results header arg
21244         (org-babel-org-export): Exports a string of text to an output
21245         format.
21247 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21249         * ob.el (org-babel-insert-result): Remove existing results when
21250         nil results are returned.
21252 2010-11-11  David Maus  <dmaus@ictsoc.de>
21254         * org-ascii.el (org-export-as-ascii): Bind and set link path for
21255         link type specific markup function.
21257 2010-11-11  David Maus  <dmaus@ictsoc.de>
21259         * org-clock.el (notifications-notify): Properly declare function
21260         to silence byte compiler.
21262 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21264         * org-list.el (org-insert-item): Check invisibility of point at a
21265         meaningful location.
21267 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21269         * org-list.el (org-list-insert-item-generic): Updating checkboxes
21270         can modify bottom point of a list, so make it a marker before
21271         calling `org-update-checkbox-count-maybe'.
21273 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21275         * org.el (org-src-fontify-natively): Set to nil by default.
21276         Supply customize interface.
21278 2010-11-11  Bastien Guerry  <bzg@gnu.org>
21280         * org-ascii.el (org-export-as-ascii): Fix bug in ASCII export: use
21281         `org-bracket-link-analytic-regexp++' to match the link type.
21283 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21285         * ob-tangle.el (org-babel-tangle-collect-blocks): Rename `lang' to
21286         `language'.
21288 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21290         * ob-tangle.el (org-babel-tangle-comment-format-beg):
21291         Format string specifying the link-comment preceding a code block
21292         (org-babel-tangle-comment-format-end): Format string specifying
21293         the link-comment following a code block
21294         (org-babel-tangle-collect-blocks): Storing more information in the
21295         spec of a tangling code block
21296         (org-babel-spec-to-string): Now makes use of customizable
21297         link-comment formats.
21299 2010-11-11  Achim Gratz  <Stromeko@stromeko.net>  (tiny change)
21301         * org.el (org-delete-backward-char): Check for nil overwrite-mode
21302         before inserting spaces.
21304 2010-11-11  David Maus  <dmaus@ictsoc.de>
21306         * org-icalendar.el (org-print-icalendar-entries): Exclude tags
21307         from summary of non-TODO ical entries.
21308         (org-print-icalendar-entries): Use `org-complex-heading-regexp' to
21309         exclude tags from summary of TODO ical entries.
21311 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21313         * ob.el (org-babel-map-src-blocks): Now exposes much information
21314         about the code block in the form of let-bound local variables.
21316 2010-11-11  David Maus  <dmaus@ictsoc.de>
21318         * org-list.el (org-outline-regexp, org-ts-regexp)
21319         (org-ts-regexp-both, org-in-regexps-block-p)
21320         (org-level-increment, org-at-heading-p)
21321         (outline-previous-heading, org-icompleting-read)
21322         (org-time-string-to-seconds): Declare to fix compiler warning.
21324 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21326         * org-list.el (org-toggle-checkbox): Ignore items in drawers when
21327         used from an heading.  Send an error when no item is in region.
21329 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21331         * ob.el (org-babel-do-in-edit-buffer): Use unwind-protect to
21332         ensure that edit buffer is exited.
21334 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21336         * ob-tangle.el (org-babel-tangle-pad-newline): Can be used to
21337         control the amount of extra newlines inserted into tangled code
21338         (org-babel-tangle-collect-blocks): Now conditionally collects
21339         information to be used for "org" style comments
21340         (org-babel-spec-to-string): Now inserts "org" style comments, and
21341         obeys the newline configuration variable when inserting whitespace.
21343 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21345         * ob-tangle.el (org-babel-pre-tangle-hook): Defines new tangle
21346         hook
21347         (org-babel-tangle): Calls new tangle hook.
21349 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21351         * org-capture.el (org-capture): Compute the length of the correct
21352         string when removing properties.
21354 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21356         * ob-plantuml.el (org-babel-execute:plantuml): Now expanding file
21357         names before shell quoting.
21359 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21361         * org-src.el (org-src-tab-indents-natively): New variable
21362         controlling whether language-native TAB action should be performed
21363         (org-src-native-tab-command-maybe): New function to perform
21364         language-native TAB action.
21365         (org-tab-first-hook): Add `org-src-native-tab-command-maybe'.
21367 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21369         * ob-plantuml.el (org-babel-execute:plantuml): Explicitly check
21370         `org-plantuml-jar-path' before use.
21372 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21374         * org-src.el (org-src-font-lock-fontify-block): Re-use hidden
21375         language major mode buffers during fontification.
21377 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21379         * org.el (org-fontify-meta-lines-and-blocks): Alter main regexp to
21380         match code blocks with switches and header args.
21381         Call `org-src-font-lock-fontify-block' for automatic fontification of
21382         code in code blocks, controlled by variable
21383         `org-src-fontify-natively'.
21384         (org-src-fontify-natively): New variable.
21386 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21388         * ob-ruby.el (org-babel-expand-body:ruby): Remove requirement of
21389         inf-ruby.
21391 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
21393         * org-html.el (org-html-make-link): (expand-file-name) removes
21394         one "/" from "///path-to-file", so add one.  Anything other than
21395         'file' type should be exported along with the type.
21397 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
21399         * org.el (org-insert-subheading): Fix compiler warning
21400         (org-insert-todo-subheading): Fix compiler warning.
21402 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
21404         * org-capture.el (org-capture): Remove read-only text properties
21405         from capture text.
21406         (org-capture-set-target-location): Throw an error if file+headline
21407         target does not point into a file which is in Org mode.
21409 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21411         * ob.el (org-babel-map-src-blocks): Prefer `when' to `if'.
21413 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21415         * org-src.el (org-edit-src-code): Improve docstring.
21417 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21419         * ob.el (org-babel-execute-src-block): Document prefix argument in
21420         docstring.
21422 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
21424         * ob-ditaa.el (org-babel-execute:ditaa): Now expanding
21425         org-ditaa-jar-path with expand-file-name.
21427 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21429         * ob.el (org-babel-execute-subtree): Pass prefix arg through to
21430         `org-babel-execute-src-block'.
21432 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21434         * org-ascii.el (org-export-ascii-preprocess): Allow [@start:x] and
21435         [@x] syntax for list numbering.
21437 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21439         * org.el (org-indent-line-function): Indentation of source block
21440         is left to `org-edit-src-exit' and shouldn't be modified by
21441         `org-indent-line-function'.  Indentation of others blocks should be
21442         the same as the #+begin line.
21444 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
21446         * ob.el (org-babel-map-src-blocks): If FILE is nil evaluate BODY
21447         forms on source blocks in current buffer; restore point in current
21448         buffer.
21450 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21452         * org-list.el (org-list-struct): Accept list boundaries as an
21453         argument in order to avoid computing `org-list-top-point' and
21454         `org-list-bottom-point' twice when indenting.
21456 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21458         * org-list.el (org-list-ending-method): Default value is now
21459         `both', to ensure maximum compatibility before previous
21460         implementation.
21462 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21464         * org-list.el (org-list-in-item-p-with-indent): Test if first line
21465         is the item beginning.
21467         * org-list.el (org-list-top-point-with-indent): Test if first line
21468         is a valid list beginning.
21470 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21472         * org-list.el (org-list-ending-method): New customizable variable
21473         to tell Org Mode how lists end.  See docstring.
21475 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21477         * org-list.el (org-indent-item-tree): Shifting step of top-level
21478         item depends on `org-level-increment'.
21480 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21482         * org.el (org-indent-line-function): Indent first non blank line
21483         after a list according to current heading level.
21485 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21487         * org-docbook.el (org-export-as-docbook): Remove check for
21488         indentation on lines that do not start with a list bullet.
21490         * org-html.el (org-export-as-html): Same thing.
21492 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21494         * org-list.el (org-list-bottom-point): Take into consideration
21495         that bound of search can be before true ending of the list.
21497 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21499         * org-list.el (org-list-struct-apply-struct): No longer shift
21500         item's body twice: one after replacing bullet and one after
21501         changing indentation.
21503 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21505         * org-list.el (org-list-struct-indent): Add code to replace
21506         bullets if needed when indenting.
21508 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21510         * org-list.el (org-list-insert-item-generic): A single item
21511         already counting blank lines in his body should be separated with
21512         the next one by a blank line.  Moreover, if user already provided
21513         blank lines, follow his wishes.
21515 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21517         * org-list.el (org-indent-item-tree): When moving top item of a
21518         *-list to column 0, only the first item had its bullet changed to
21519         -.  It now changes all items of the top-level list, as expected.
21521 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21523         * org-list.el (org-toggle-checkbox): Go to beginning of line
21524         before processing.
21526 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21528         * org-list.el (org-list-struct-apply-struct): Check if ancestor
21529         exists.
21531 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21533         * org-list.el (org-renumber-ordered-list): Check for [@start:x] is
21534         done at each item.
21536 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21538         * org-list.el : Removed unused variable
21539         `org-suppress-item-indentation'.
21541         * org-list.el (org-renumber-ordered-list): Skip item if bullet
21542         number is already good.
21544 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21546         * org-list.el (org-list-automatic-rules): Doc-string reflects this
21547         change.
21549         * org-list.el (org-indent-item-tree): Prevent whole list from
21550         being moved when user is not moving subtree.
21551         Thus `org-cycle-item-indentation' will not allow to move the list.
21553 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21555         * org-list.el (org-indent-item-tree): Remove region code.  It was
21556         prone to errors and undocumented.
21558         * org-list.el (org-item-indent-positions): Better heuristics to
21559         determine what bullet the item will have when demoted.
21561 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21563         * org-list.el (org-list-bullet-string): First check if
21564         `org-list-two-spaces-after-bullet-regexp' isn't nil.
21566 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21568         * org-list.el (org-list-bullet-string): Do not modify match-data.
21570         * org.el (org-toggle-item): Now working again when changing list
21571         items into plain text.  Moreover take into consideration
21572         `org-list-two-spaces-after-bullet-regexp'.
21574 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21576         * org-list.el (org-indent-item-tree): Remove unnecessary bullets
21577         fix, and improved heuristics to determine bullet when indenting.
21579         * org-list.el (org-item-indent-positions): Function now returns
21580         sane results when there are two lists separated with blank lines
21581         only.
21583 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21585         * org-docbook.el (org-export-as-docbook): Use override="num" in
21586         any listitem matching [@start:num].
21588         * org-html.el (org-export-as-html): Use value="num" in any li
21589         matching [@start:num].
21591 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21593         * org.el (org-set-font-lock-defaults): Correct fontification for
21594         checkboxes found after [@start:?].
21596         * org-list.el (org-list-at-regexp-after-bullet-p): Skip any
21597         [@start:?]  when looking at a regex after a bullet.
21599         * org-list.el (org-toggle-checkbox): Correct insertion of
21600         checkboxes when there is already a [@start:?] in the item.
21602         * org-list.el (org-checkbox-blocked-p): Properly check if there's
21603         an unchecked item before.
21605         * org-list.el (org-list-parse-list): Function handles items having
21606         both a counter and a checkbox.
21608 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21610         * org-list.el (org-cycle-item-indentation): Org-tab-ind-state
21611         stores both indentation and bullet when cycle started.
21613 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21615         * org-list.el: `org-at-description-p' renamed to
21616         `org-at-item-description-p', `org-first-list-item-p' renamed to
21617         `org-list-first-item-p', `org-end-of-item-text-before-children'
21618         renamed to `org-end-of-item-or-at-child'.
21620 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21622         * org.el (org-ctrl-c-ctrl-c): Call `org-fix-bullet-type' instead
21623         of `org-maybe-renumber-ordered-list' and `org-fix-bullet-type'
21624         before toggling a checkbox.
21626 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21628         * org-list.el (org-list-bullet-string): New function returning
21629         bullet concatenated with an appropriate number of white spaces.
21631         * org-list.el (org-list-insert-item-generic): Insert the right
21632         bullet, with help of `org-list-bullet-string'.
21634         * org-list.el (org-indent-item-tree):
21635         Use `org-list-bullet-string'.
21637         * org-list.el (org-fix-bullet-type): Use `org-list-bullet-string'.
21639         * org-list.el (org-toggle-checkbox): Send an error when
21640         `org-toggle-checkbox' is trying to insert a checkbox at a
21641         description item.
21643         * org-list.el (org-item-re): Modify regexp so it can catch
21644         correct number of white space before item body.
21646         * org-list.el (org-list-at-regexp-after-bullet-p): Take into
21647         consideration new `org-item-re'.
21649 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21651         * org-list.el (org-list-insert-item-generic): The second item in a
21652         list will be separated from its predecessor with the number of
21653         blank lines separating the first item from its parent, if any, or
21654         no blank line.
21656 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21658         * org-list.el (org-indent-item-tree): Fix and reorder every list
21659         and sublist, from parent of list that has moved if indenting, or
21660         from list at point if outdenting.
21662 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21664         * org-list.el (org-indent-item-tree): Try to keep relative
21665         position on line.  It can't if point is in white spaces before
21666         bullet because mixed tabs and spaces make some columns
21667         unattainable.
21669 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21671         * org-list.el (org-cycle-item-indentation): Cycle when the whole
21672         item only contains bullet and maybe a checkbox.  Previously, TAB
21673         would cycle when the first line of the item was blank.
21675 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21677         * org-list.el (org-cycle-item-indentation): Allow a point just
21678         after a description item or a checkboxed item to start cycling.
21680 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21682         * org-list.el (org-cycle-list-bullet):
21683         Check `org-plain-list-ordered-item-terminator' before allowing 1. or 1)
21684         as valid bullets when cycling.
21686 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21688         * org-list.el (org-cycle-item-indentation): Do return t if and
21689         only if cycling is possible and succeded.
21691 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21693         * org-list.el (org-indent-item-tree): When outdenting a subtree,
21694         the last item shouldn't have a children.
21696 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21698         * org-list.el (org-cycle-item-indentation): Cycling should play
21699         nicely with indent rule in `org-list-automatic-rules'.
21701 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21703         * org-list.el (org-indent-item-tree): If indent rule is activated,
21704         it should be impossible to outdent an item having children without
21705         moving its subtree.  Improved reordering of lists modified by
21706         cycling indentation.
21708 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21710         * org-list.el (org-maybe-renumber-ordered-list): Remove call for
21711         `org-fix-bullet-type' to prevent infinite loop, and some checks
21712         already done in `org-renumber-ordered-list'.
21714         * org-list.el (org-fix-bullet-type): Remove a check and call
21715         directly `org-maybe-renumber-ordered-list'.
21717 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21719         * org-list.el (org-indent-item-tree): It shouldn't be possible to
21720         indent the first item of a sublist (though outdent is possible) as
21721         it would break list's structure.
21723 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21725         * org-list.el (org-list-insert-item-generic): When local search
21726         doesn't help, search the list globally for blank lines.  Moreover,
21727         don't bother with new lists, and add 1 blank line.
21729 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21731         * org-capture.el (org-capture-place-item):
21732         Use `org-search-forward-unenclosed' and
21733         `org-search-backward-unenclosed' and new variable
21734         `org-item-beginning-re'.
21736         * org-list.el (org-item-beginning-re): Regexp matching beginning
21737         of an item.
21739 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21741         * org-list.el (org-cycle-list-bullet): Put back support for
21742         'previous argument.
21744 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21746         * org-list.el (org-in-item-p): Handle case when point is at an
21747         heading.
21749         * org-list.el (org-list-make-subtree): Add protection when used
21750         outside of list.
21752         * org-list.el (org-insert-item): Remove useless hack now
21753         `org-in-item-p' is fixed.
21755         * org-timer.el (org-timer-item): Remove useless hack now
21756         `org-in-item-p' is fixed.
21758 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21760         * org-list.el (org-cycle-list-bullet): Prevent description items
21761         from being numbered.  String argument is also recognized now, as
21762         long as it is a valid bullet.
21764 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21766         * org-list.el (org-indent-item-tree): Moving indentation of top
21767         list item will make the whole list move.
21769         * org-list.el (org-apply-on-list): Function is less sensitive to
21770         changes of indentation.
21772 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21774         * org-list.el (org-at-item-checkbox-p): Add whitespaces at the end
21775         of the regexp.
21777         * org-list.el (org-checkbox-blocked-p): Use new checkbox regexp.
21779         * org-list.el (org-cycle-item-indentation): Allow cycling
21780         description items and checkbox items.
21782         * org-list.el (org-toggle-checkbox): Use new checkbox regexp.
21784         * org-list.el (org-reset-checkbox-state-subtree): Use new checkbox
21785         regexp.
21787 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21789         * org-list.el (org-insert-item-internal): Guessing of blank lines
21790         number is made by looking at neighboring items, if any.
21792 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21794         * org-list.el (org-sort-list): Add the possibility to sort timer
21795         lists with the ?t or ?T options.
21797 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21799         * org-list.el (org-search-unenclosed-internal): New function to
21800         handle both `org-search-forward-unenclosed' and
21801         `org-search-backward-unenclosed'.
21803         * org-list.el (org-search-backward-unenclosed): Can send errors
21804         now.  Removed useless usage of COUNT.
21806         * org-list.el (org-search-forward-unenclosed): Can send errors
21807         now.  Removed useless usage of COUNT.
21809         * org-list.el (org-update-checkbox-count):
21810         Use `org-search-forward-unenclosed' and
21811         `org-search-backward-unenclosed' instead of `re-search-forward'
21812         and `re-search-backward'.
21814         * org-list.el (org-sort-list): Use `org-search-forward-unenclosed'
21815         and `org-search-backward-unenclosed' instead of
21816         `re-search-forward' and `re-search-backward'.
21818         * org-list.el (org-list-make-subtree):
21819         Use `org-search-forward-unenclosed' and
21820         `org-search-backward-unenclosed' instead of `re-search-forward'
21821         and `re-search-backward'.
21823 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21825         * org-list.el (org-insert-item-internal): Fixes the problem when
21826         point was before the first char of the item's body.
21828 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21830         * org-timer.el (org-timer-item): Refactoring.  Compute timer string
21831         before inserting it in the buffer.
21833         * org-timer.el (org-timer): Add an optional argument to return
21834         timer string instead of inserting it.
21836 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21838         * org-list.el (org-insert-item-internal): New function to handle
21839         positioning and contents of an item being inserted at a specific
21840         pos.  It is not possible anymore to split a term in a description
21841         list or a checkbox when inserting a new item.
21843         * org-list.el (org-insert-item): Refactored by using the new
21844         `org-insert-item-internal' function.
21846         * org-timer.el (org-timer-item): Refactored by using the new
21847         `org-insert-item-internal' function.
21849 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21851         * org-list.el (org-list-bottom-point): Be sure to check real
21852         ORG-OUTLINE-REGEXP and not outline-regexp, that might be modified.
21854         * org.el (org-cycle-internal-local): Cycle up to end of subtree or
21855         end of item if we are in a list.
21857 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21859         * org-list.el (org-insert-item): Move before any special block in
21860         a list prior to add a new item.
21862         * org-timer.el (org-timer-item): When in a timer list, insert a
21863         new timer item like `org-insert-item'.  If in another list, send an
21864         error.  Otherwise, start a new timer list.
21866 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21868         * org-list.el: Minor refactoring.
21870 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21872         * org-timer.el (org-timer-item): Insert description list item at
21873         the right column.
21875         * org-list.el (org-insert-item): Insert the right number of blank
21876         lines before a relative timer.
21878 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21880         * org-list.el (org-insert-item): Remove restriction on latex
21881         blocks.
21883 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21885         * org-list.el (org-search-backward-unenclosed): Do not stop in
21886         protected places.
21888         * org-list.el (org-search-forward-unenclosed): Do not stop in
21889         protected places.
21891         * org-latex.el (org-export-latex-lists): Use the fact that
21892         org-search-forward do not stop anymore at protected places.
21894 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21896         * org-list.el (org-search-backward-unenclosed): Do not prevent
21897         list items from being inside LaTeX blocks.
21899         * org-list.el (org-search-forward-unenclosed): Do not prevent list
21900         items from being inside LaTeX blocks.
21902 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21904         * org-list.el (org-in-item-p): Do not widen before checking if we
21905         are in item.
21907         * org-list.el (org-list-send-list): We cannot count on
21908         `org-list-top-point' and `org-list-bottom-point' before buffer is
21909         narrowed.  Find bounds of list otherwise.
21911 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21913         * org-list.el (org-list-end-regexp): By default, list ending is
21914         exactly 2 blank lines.
21916 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21918         * org-docbook.el (org-export-as-docbook): When we find an empty
21919         line, we do not need to check for
21920         `org-empty-line-terminates-plain-lists' because we would have
21921         found end-list marker before.
21923         * org-html.el (org-export-as-html): Same.
21925 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21927         * org-list.el (org-insert-item): Simplify count of blank lines to
21928         insert.
21930 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21932         * org-list.el (org-list-end-regexp): New customizable variable to
21933         define what string should end lists.
21935         * org-list.el (org-list-end-re): Function is now aware of
21936         `org-list-end-regexp'.
21938 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21940         * org-html.el (org-export-as-html): Code cleanup.
21942 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21944         * org-docbook.el (org-export-as-docbook): Properly close any open
21945         list when seeing ORG-LIST-END.  Removed any reference to now
21946         unneeded DIDCLOSE variable.
21948 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21950         * org-exp.el (org-export-mark-list-ending): Fix number of blank
21951         lines inserted after a list.
21953         * org-list.el (org-list-parse-list): Fix case when
21954         `org-list-end-re' would have an indentation greater than current
21955         list.
21957 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21959         * org-exp.el (org-export-mark-list-ending): Differentiate between
21960         export backends, and replace `org-list-end-re' by a blank line
21961         upon exporting.
21963 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21965         * org-html.el (org-export-as-html): Delete didclose and everything
21966         related to it, as it is no longer needed.
21968 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21970         * org-html.el (org-export-html-preprocess): Remove unneeded
21971         insertion of list end marker, as it is now handled by
21972         `org-export-mark-list-ending'.
21974         * org-html.el (org-export-as-html): Cleaner termination of lists.
21976         * org-exp.el (org-export-mark-list-ending): New function to insert
21977         specific markers at the end of lists when exporting to a backend
21978         not using `org-list-parse-list'.  This function is called early in
21979         `org-export-preprocess-string', while it is still able to
21980         recognize lists.
21982         * org-latex.el (org-export-latex-lists): Better search for
21983         lists.  It now only finds items not enclosed and not protected.
21985 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21987         * org-list.el: Replaced `re-search-forward' by
21988         `org-search-forward-unenclosed' where it made sense.
21990 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
21992         * org-list.el (org-apply-to-list): Now a return value is handed at
21993         each new call of the function applied.
21995         * org-list.el (org-fix-bullet-type): Use the new
21996         `org-apply-to-list' format.
21998         * org-list.el (org-renumber-ordered-list): Use the new
21999         `org-apply-to-list' format.
22001 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22003         * org.el (org-in-regexps-block-p): Minor fix: limit wasn't
22004         correctly used.
22006         * org-list.el (org-search-forward-unenclosed): Better regexp used.
22008         * org-list.el (org-search-backward-unenclosed): Better regexp
22009         used.
22011 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22013         * org-list.el (org-sort-list): End-rec function was ill-defined.
22015 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22017         * org-list.el (org-search-forward-unenclosed): Fix behavior when
22018         last occurrence was enclosed.
22020         * org-list.el (org-search-backward-unenclosed): Fix behavior when
22021         last occurrence was enclosed.
22023 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22025         * org.el (org-in-regexps-block-p): Fix documentation.
22027 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22029         * org-list.el (org-search-backward-unenclosed): Fix block regexp.
22031         * org-list.el (org-search-forward-unenclosed): Fix block regexp.
22033         * org-list.el (org-list-parse-list): Minor fix.
22035 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22037         * org-list.el (org-list-parse-list): Delete `org-list-end-re' when
22038         called with t argument.
22040 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22042         * org-html.el (org-export-html-preprocess):
22043         Replace `org-list-end-re' by a blank line during pre-process.
22045 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22047         * org-list.el (org-list-bottom-point): No need for square brackets
22048         for `skip-chars-backward'.
22050 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22052         * org-html.el: Do not delete space between end of list and
22053         beginning of the following.
22055 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22057         * org-html.el: Preprocess buffer string and add ORG-LIST-END where
22058         needed.  Lists should not end before seeing this.
22060 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22062         * org-html.el: Notice end of lists.
22064 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22066         * org-list.el (org-list-parse-list): Better handling of
22067         restrictions when function is called on a list with sublists.
22069         * org-list.el (org-list-send-list): Find the true ending of the
22070         list being sent.
22072         * org-list.el (org-list-radio-list-templates): Templates are more
22073         specific to lists.
22075 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22077         * ob-js.el (org-babel-js-eoe): Indicate end of input
22078         (org-babel-execute:js): Support for session evaluation
22079         (org-babel-prep-session:js): Fleshed out definition
22080         (org-babel-js-initiate-session): Can initiate a session using
22081         mozrepl.
22083 2010-11-11  David Maus  <dmaus@ictsoc.de>
22085         * org.el (org-set-regexps-and-options): Protect escape char in
22086         `org-complex-heading-regexp-format'.
22088 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22090         * ob-scheme.el (org-babel-scheme-eoe): For marking the end of
22091         session-based evaluation
22092         (org-babel-execute:scheme): Now supports session-based evaluation
22093         (org-babel-prep-session:scheme): Now works and defines variables
22094         (org-babel-scheme-initiate-session): Now works using run-scheme
22095         from cmuscheme.
22097 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22099         * org.el (org-export-latex-default-packages-alist): Remove the
22100         t1enc package - this is already covered by fontenc.
22102 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22104         * ob.el (with-parsed-tramp-file-name): Declared
22105         (org-babel-tramp-localname): Ensure variable name exists locally.
22107 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22109         * ob.el (org-babel-temp-file): Don't use babel temporary directory
22110         in remote case; use make-temp-file with remote file name so that
22111         temp file is guaranteed not to exist previously on remote machine.
22112         (org-babel-tramp-localname): New function to return local name
22113         portion of possibly remote file specification.
22115 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22117         * ob-R.el (org-babel-R-write-object-command): New unified R
22118         command for writing results to file
22119         (org-babel-R-wrapper-method): Remove variable
22120         (org-babel-R-wrapper-lastvar): Remove variable
22121         (org-babel-R-evaluate-external-process): Use new R command
22122         (org-babel-R-evaluate-session): Use new R command.
22124 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22126         * ob-comint.el
22127         (org-babel-comint-eval-invisibly-and-wait-for-file): New function
22128         to evaluate code invisibly and block until output file exists.
22130         * ob-R.el (org-babel-R-evaluate-session): Use `ess-eval-buffer' to
22131         evaluate R code in session for :results value.  Write result to
22132         file invisibly using new function
22133         `org-babel-comint-eval-invisibly-and-wait-for-file'.
22135 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22137         * org-capture.el (org-capture-fill-template): Align tags after
22138         insertion.
22140 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22142         * org-exp.el (org-export-concatenate-multiline-emphasis):
22143         Ignore matches that start in a headline.
22145 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22147         * ob-plantuml.el (org-babel-execute:plantuml): Wrapping in-file
22148         and out-file in shell-quote-argument.
22150 2010-11-11  David Maus  <dmaus@ictsoc.de>
22152         * org-docview.el (org-docview-store-link): Use expanded macro to
22153         get current page.
22154         (doc-view-goto-page, image-mode-window-get): Declare functions for
22155         byte compiler.
22157 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22159         * ob-scheme.el: Very preliminary support for evaluating scheme
22160         code blocks.
22162         * org.el (org-babel-load-languages): Adding scheme.
22164 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22166         * ob.el (require): Remove circular (require 'org).
22168 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22170         * ob-R.el (ess-make-buffer-current): Declared.
22171         (ess-ask-for-ess-directory): Declared.
22172         (ess-local-process-name): Declared.
22173         * ob-latex.el (org-babel-latex-tex-to-pdf): Capturing free variable.
22175         * ob.el (org-edit-src-code): Fixing arguments.
22176         (org-edit-src-exit): Declared.
22177         (org-outline-overlay-data): Declared.
22178         (org-set-outline-overlay-data): Declared.
22180 2010-11-11  Glenn Morris  <rgm@gnu.org>
22182         * ob.el: Require org when compiling.
22183         (org-save-outline-visibility): Remove macro declaration.
22185         * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
22186         Remove unnecessary/macro declarations.
22188         * org-docview.el: Require doc-view when compiling.
22189         (doc-view-goto-page): Autoload rather than declaring.
22190         (doc-view-current-page): Remove macro declaration.
22192         * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
22193         (org-entry-get, org-table-import): Fix declarations.
22194         (org-match-string-no-properties): Remove declaration.
22196         * ob-sh.el (org-babel-comint-in-buffer)
22197         (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
22198         (org-babel-comint-with-output): Remove unnecessary declarations.
22200         * ob-R.el (orgtbl-to-tsv): Fix declaration.
22202         * org-list.el (org-entry-get): Fix declaration.
22204 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22206         * ob.el (org-babel-remove-temporary-directory): Remove explicit
22207         second argument.
22209 2010-11-11  Magnus Henoch  <magnus.henoch@gmail.com>  (tiny change)
22211         * org-clock.el (org-clocktable-steps): Allow ts and te to be day
22212         numbers.
22214 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22216         * org-macs.el (org-save-outline-visibility): Move from org.el.
22218 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22220         * ob-org.el (org-babel-default-header-args:org): Additional
22221         ":results silent" default header argument for org code blocks.
22223 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22225         * ob-exp.el (org-babel-exp-do-export): Remove hacky ":noeval",
22226         which is now an alias to ":eval no".
22228 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22230         * ob.el (org-babel-remove-temporary-directory): The version of
22231         `delete-directory' found in files.el can not be assumed to be
22232         present on all versions, so this copies the recursive behavior of
22233         that command in such a way that all calls to delete-directory will
22234         also work with the built-in internal C implementation of that
22235         function.  This is not overly difficult as all elements of the
22236         directory can be assumed to be files.
22238 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22240         * ob-C.el (org-babel-C-execute): Corrected arguments to
22241         org-babel-temp-file.
22243 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22245         * ob.el (org-babel-temporary-directory): Variable to hold the
22246         value of the Babel temporary directory.
22248 2010-11-11  Aditya Siram  <aditya.siram@gmail.com>
22250         * ob.el (org-babel-load-in-session): Expanding noweb references
22251         when appropriate.
22253 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22255         * org.el (org-make-link-regexps): Modify regexp of
22256         org-plain-link-re.
22258 2010-11-11  Noorul Islam  <noorul@noorul.com>  (tiny change)
22260         * org-habit.el (org-habit-parse-todo): Find sr-days only if
22261         scheduled-repeat is non nil.  Use 4th element of the list returned
22262         by (org-heading-components) as habit-entry.  Modify the error
22263         message to be more meaningful.
22265 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22267         * ob-latex.el (org-babel-execute:latex): Adding new ":fit" and
22268         ":border" header arguments which both use the "preview" latex
22269         package to fit the resulting PDF image to the figure.
22271 2010-11-11  David Maus  <dmaus@ictsoc.de>
22273         * org-wl.el (org-wl-store-link): Don't try to store link if point
22274         is at end of buffer.
22276 2010-11-11  Harri Kiiskinen  <harkiisk@gmail.com>
22278         * org-publish.el (org-publish-project-alist): Document the new
22279         body-only property.
22280         (org-publish-org-to): Use the body-only property.
22282 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
22284         * org.el (org-store-link): Return link when invoked
22285         non-interactively from an agenda buffer.
22287 2010-11-11  Jambunathan K  <kjambunathan@gmail.com>  (tiny change)
22289         * org.el (org-store-link): Storing of links to headlines in
22290         indirect buffers was broken.  Fix it.
22292 2010-11-11  Aidan Kehoe  <kehoea@parhasard.net>
22294         * ob-tangle.el (org-babel-tangle): Change the MODE argument to
22295         #'set-file-modes to use integer, not character syntax, avoiding
22296         compile problems with recent XEmacs.
22298 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22300         * org-agenda.el (org-agenda-add-entry-text): Make sure we move
22301         forward even if there is no text to be added.
22303 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22305         * org.el (org-make-tags-matcher): Read "\\-" as "-" in the
22306         tags/property matcher.
22308 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22310         * org-exp.el (org-infile-export-plist): Bind case-fold-search to
22311         t.
22313 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22315         * org-agenda.el (org-agenda-with-point-at-orig-entry): New macro.
22317 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22319         * org-latex.el (org-export-latex-set-initial-vars):
22320         Bind `case-fold-search' to t around the search for special LaTeX setup.
22322         * org-beamer.el (org-beamer-after-initial-vars):
22323         Bind `case-fold-search' to t around the search for special BEAMER
22324         setup.
22326 2010-11-11  David Maus  <dmaus@ictsoc.de>
22328         * org-agenda.el (org-write-agenda): Delete PostScript file after
22329         creating conversion to PDF.
22331 2010-11-11  David Maus  <dmaus@ictsoc.de>
22333         * org-agenda.el (org-write-agenda): Move require statements to
22334         proper place in evaluated lisp expression.
22336 2010-11-11  David Maus  <dmaus@ictsoc.de>
22338         * org-agenda.el (org-write-agenda): Rename temporary buffer to
22339         remove dependency of `flet' macro.
22341 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22343         * ob-lob.el (org-babel-lob-get-info): Edit docstring.
22345 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22347         * ob-exp.el (org-babel-exp-lob-one-liners): Get parameter values
22348         from all standard sources when executing #+lob/#+call lines.
22350 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22352         * ob-R.el (org-babel-R-evaluate): Break the two branches into two
22353         separate functions
22354         (org-babel-R-evaluate-external-process): New function to handle
22355         external process evaluation
22356         (org-babel-R-evaluate-session): New function to handle session
22357         evaluation.
22359 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22361         * ob.el (org-babel-initiate-session): New function derived from
22362         previous `org-babel-switch-to-session'
22363         (org-babel-switch-to-session): Refactored to use new
22364         `org-babel-initiate-session'.
22366 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22368         * ob.el (org-babel-switch-to-session): Supply missing "P" argument
22369         to (interactive).
22371 2010-11-11  David Maus  <dmaus@ictsoc.de>
22373         * org-feed.el (org-feed-format-entry): Decode entry according to
22374         its character encoding.
22376 2010-11-11  David Maus  <dmaus@ictsoc.de>  (tiny change)
22378         * org-feed.el (xml-substitute-special): Declare function for byte
22379         compiler.
22380         (org-feed-unescape): Remove.
22381         (org-feed-parse-rss-entry, org-feed-parse-atom-entry):
22382         Use `xml-substitute-special' to unescape XML entities.
22384 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22386         * ob.el (org-babel-switch-to-session): Throw error if block if
22387         :session not in effect for the block.
22389 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22391         * org-table.el (org-table-create-with-table.el): Align table
22392         before converting.
22394 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22396         * ob.el (org-babel-do-in-edit-buffer): Suppress message and check
22397         that org-src buffer is current before attempting exit.
22399 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22401         * org-src.el (ob-comint): Require 'ob-comint
22402         (org-src-babel-info): Define variable.
22404 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22406         * ob.el (org-babel-do-in-edit-buffer): New macro to evaluate lisp
22407         in the language major mode edit buffer.
22408         (org-babel-do-key-sequence-in-edit-buffer): New function to call
22409         an arbitrary key sequence in the language major mode edit buffer.
22411         * org-src.el (org-src-switch-to-buffer): Add new allowed value
22412         'switch-invisibly for `org-src-window-setup'.
22414 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22416         * org-src.el (ob-keys): Require ob-keys, because `org-babel-map'
22417         is used.
22418         (org-src-do-at-code-block): New macro to evaluate lisp with point
22419         at the start of the Org code block containing the code in this
22420         edit buffer.
22421         (org-src-do-key-sequence-at-code-block): New function to execute
22422         command bound to key at the Org code block containing the code in
22423         this edit buffer.
22425 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22427         * ob-R.el (org-babel-R-associate-session): New function to
22428         associate R code edit buffers with ESS comint session.
22430 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22432         * org-src.el (org-edit-src-code): If at src block, store babel
22433         info as buffer local variable.
22434         (org-src-associate-babel-session): New function to associate code
22435         edit buffer with comint session.  Does nothing unless a
22436         language-specific function named
22437         `org-babel-LANG-associate-session' exists.
22438         (org-src-babel-configure-edit-buffer): New function to be called
22439         in `org-src-mode-hook'.
22440         (org-src-mode-hook): Add `org-src-babel-configure-edit-buffer' to
22441         hook.
22443 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22445         * ob.el (org-babel-switch-to-session-with-code): New function to
22446         generate split frame displaying edit buffer and session.
22448 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22450         * org.el (org-set-tags): Consider org-indent-mode when computing
22451         the tags column.
22453 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22455         * org-compat.el (org-looking-at-p): Only use looking-at-p when
22456         defined.
22458 2010-11-11  David Maus  <dmaus@ictsoc.de>
22460         * org-agenda.el (org-finalize-agenda-entries): Delete excluded
22461         lines directly after call to sorting filter function.
22463 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22465         * org.el (org-complex-heading-regexp-format): Document the
22466         variable.
22467         (org-get-refile-targets): Use `org-complex-heading-regexp-format'
22468         to make the regular expression for matching the headline.
22470 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22472         * org.el (org-refile-check-position): New function.
22473         (org-goto):
22474         (org-refile-get-location): Call `org-refile-check-position'.
22476 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22478         * ob-python.el (org-babel-python-initiate-session-by-key): Use eq
22479         instead of equal to compare symbols.
22481 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22483         * org-agenda.el (org-agenda-before-sorting-filter-function):
22484         New hook function.
22485         (org-finalize-agenda-entries):
22486         Apply `org-agenda-before-sorting-filter-function'.
22488 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22490         * org-latex.el (org-export-latex-first-lines): Do not protect meta
22491         lines that have nothing to do with babel.
22493 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22495         * org-capture.el (org-capture-place-template): Handle the
22496         checkitem case.
22497         (org-capture-place-item): Provide boundaries for the search to
22498         make sure we do not get a match in a different tree.
22500 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22502         * org-exp.el (org-export-preprocess-apply-macros): Fix the macro
22503         argument parser.
22505 2010-11-11  Noorul Islam  <noorul@noorul.com>
22507         * org-latex.el (org-latex-to-pdf-process): Add output-directory
22508         option for the command pdflatex.
22509         (org-export-as-pdf): Respect directory in path of
22510         EXPORT_FILE_NAME.
22512 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22514         * org-exp.el (org-export-with-LaTeX-fragments): New default t,
22515         which now means to use MathJax processing for HTML.  Also allow
22516         new value `dvipng' to force the old image processing.
22517         (org-infile-export-plist): Parse for MATHJAX setup line.
22519         * org-html.el (org-export-html-mathjax-options): New option.
22520         (org-export-html-mathjax-config): New function.
22521         (org-export-html-mathjax-template): New option.
22522         (org-export-html-preprocess): Call the LaTeX snippet processor
22523         with an additional argument to declare special ways of processing.
22524         (org-export-as-html): Bind the dynamical variable
22525         `org-export-have-math'.  Insert the MathJax script template when
22526         it is needed by the document.
22528         * org.el (org-preview-latex-fragment): Call `org-format-latex'
22529         with the additional processing argument.
22530         (org-export-have-math): New variable, for dynamic scoping.
22531         (org-format-latex): Implement specific ways of processing.
22532         New function argument for processing type.
22533         (org-org-menu): Remove the entry to configure LaTeX snippet
22534         processing.
22536 2010-11-11  Bastien Guerry  <bzg@gnu.org>
22538         * org-agenda.el (org-agenda-clock-goto): Use `\C-c\C-x\C-j' for
22539         `org-clock-goto' and `J' for `org-agenda-clock-goto'.  If the
22540         heading currently clocked in is not listed in the agenda, display
22541         this entry in another buffer.  If there is no running clock,
22542         display a help message.
22544 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22546         * org-latex.el (org-export-latex-tables): Return "" instead of nil
22547         when no label is attached.
22549 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22551         * org-agenda.el (org-agenda-menu-show-match): New option.
22552         (org-agenda-menu-two-column): New option.
22553         (org-agenda-get-restriction-and-command): Implement dispatch menu
22554         without showing the matcher, and with two-column display.
22556 2010-11-11  Bernt Hansen  <bernt@norang.ca>
22558         * org-indent.el (org-indent-mode): Fix grammar for message when
22559         mode is refused.
22561 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22563         * ob.el (org-babel-insert-result): Ensures `beg' is set, even if
22564         no previous result exists.
22566 2010-11-11  Noorul Islam  <noorul@noorul.com>
22568         * ob.el Declare org-babel-lob-execute-maybe() to avoid compiler
22569         warning.
22571 2010-11-11  Noorul Islam  <noorul@noorul.com>
22573         * org.el (org-set-visibility-according-to-property): Use backward
22574         search instead of forward, so that top hierarchy gets priority.
22576 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22578         * org-agenda.el (org-timeline): Allow indirect buffer.
22580 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22582         * org-exp.el (org-export-preprocess-after-radio-targets-hook):
22583         (org-export-define-heading-targets-headline-hook): New hooks.
22585         * org.el (org-modules): Add entry for org-wikinodes.el.
22586         (org-font-lock-set-keywords-hook): New hook.
22587         (org-open-at-point-functions): New hook.
22588         (org-find-exact-headling-in-buffer):
22589         (org-find-exact-heading-in-directory): New functions.
22590         (org-mode-flyspell-verify): Better cursor position for checking if
22591         flyspell should ignore a word.
22593 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22595         * org-indent.el (org-indent-remove-properties):
22596         (org-indent-add-properties): Make sure changing these properties
22597         does not trigger modification hooks.
22599 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22601         * org.el (org-link-search-must-match-exact-headline): New option.
22602         (org-link-search-inhibit-query): New variable.
22603         (org-link-search): Search for exact headline match in Org files.
22605 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22607         * ob.el (org-babel-execute-src-block-maybe): Remove check for
22608         `org-babel-no-eval-on-ctrl-c-ctrl-c'; this is done in the new
22609         function `org-babel-execute-safely-maybe'.
22611 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22613         * ob.el (org-babel-load-in-session): Set directory in case :dir
22614         arg is in effect.
22616 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22618         * ob-tangle.el (org-babel-tangle-collect-blocks): Don't throw
22619         errors when we're not under of a headline.
22621 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22623         * ob-octave.el (org-babel-octave-wrapper-method): Use dlmwrite to
22624         write delimited text instead of save -ascii
22625         (org-babel-octave-import-elisp-from-file): Specify that data
22626         written to file is tab-delimited.
22628 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22630         * ob-R.el (org-babel-R-evaluate): Specify that tabular data is
22631         tab-delimited.
22633 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22635         * ob.el (org-babel-import-elisp-from-file): Allow separator to be
22636         specified.
22638 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22640         * ob-python.el (org-babel-python-table-or-string): Fix recognition
22641         of lists and tuples.
22643 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22645         * ob-octave.el (org-babel-octave-evaluate-external-process):
22646         Allow remote files.
22648 2010-11-11  Juan Pechiar  <pechiar@computer.org>
22650         * ob-octave.el (org-babel-octave-evaluate-external-process):
22651         Use `org-babel-octave-import-elisp-from-file' instead of
22652         `org-babel-eval-read-file'.
22653         (org-babel-octave-var-to-octave): Separate matrix rows with ';',
22654         and use '%s' as format specifier instead of '%S'.
22656 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22658         * ob-octave.el: Only (require 'matlab) when necessary.
22659         (org-babel-octave-initiate-session): (require) octave-inf or matlab
22660         as appropriate.
22661         (org-babel-execute:matlab): Remove (require).
22662         (org-babel-prep-session:matlab): Remove (require).
22663         (org-babel-matlab-initiate-session): Remove (require).
22665 2010-11-11  Dan Davison  <davison@stats.ox.ac.uk>
22667         * ob-octave.el (org-babel-octave-evaluate): Fix formal argument
22668         list.
22670 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22672         * ob-python.el (org-babel-python-table-or-string): Can now handle
22673         VERY long result lines.
22675 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22677         * org-latex.el (org-export-latex-tables): Add label if any.
22679         * org-latex.el (org-export-latex-convert-table.el-table):
22680         Fix little mistake when inserting label.
22682 2010-11-11  Nicolas Goaziou  <n.goaziou@gmail.com>
22684         * org.el (org-cycle-internal-local): Remove an unnecessary call
22685         to `org-back-to-heading' that was preventing point to stay at its
22686         column when cycling visibility.
22688 2010-11-11  Noorul Islam  <noorul@noorul.com>
22690         * org-capture.el (org-capture-finalize): Make messages consistent.
22692 2010-11-11  Noorul Islam  <noorul@noorul.com>
22694         * org-gnus.el: Suppress compiler warning by declaring outside
22695         function nnimap-retrieve-headers-from-file.
22697 2010-11-11  Noorul Islam  <noorul@noorul.com>
22699         * org-colview.el Use org-beamer-select-environment instead of
22700         org-beamer-set-environment-tag.
22702 2010-11-11  Matt Lundin  <mdl@imapmail.org>
22704         * org.el (org-insert-time-stamp): Fix org-insert-time-stamp so
22705         that the value of org-last-inserted-timestamp includes time range.
22707 2010-11-11  David Maus  <dmaus@ictsoc.de>
22709         * org-wl.el (org-wl-store-link-message): Provide link property for
22710         message-id without angle brackets.
22712 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22714         * ob-R.el (org-babel-R-evaluate): Improve prompt-stripping regexp.
22716 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22718         * ob-tangle.el (org-babel-find-file-noselect-refresh): Finds a
22719         file ensuing that the latest changes on disk are represented.
22721 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22723         * ob-sqlite.el (org-babel-sqlite-expand-vars): Now inserts string
22724         arguments w/o quotes.
22726 2010-11-11  Bernt Hansen  <bernt@norang.ca>
22728         * org-capture.el (org-capture-finalize): Fix clock in of
22729         interrupted task during capture finalize.
22731 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22733         * ob-R.el (org-babel-R-evaluate): Clean up extra prompts in
22734         session output.
22736 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22738         * ob-C.el (org-babel-C-ensure-main-wrap): More generous regular
22739         expression for matching main function.
22741 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22743         * ob-lob.el (org-babel-lob-one-liner-regexp): Fix error in lob
22744         regexp -- it wasn't matching lob lines w/o indices.
22746 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22748         * org-exp.el (org-export-latex-listings-w-names): Fix compiler
22749         warning in org-exp.el.
22751 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22753         * org-publish.el (org-publish-file): Better error message if
22754         base-directory or publishing-directory are not defined.
22756 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22758         * org-colview.el (org-columns-display-here): Use overlays to
22759         overrule line prefix properties during column view.
22761 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22763         * org-agenda.el (org-agenda-filter-preset): Document the
22764         limitation for the filter preset - it can only be used for an
22765         entire agenda view, not in an individual block in a block agenda.
22767 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22769         * ob-table.el (sbe): Now able to accept range references from
22770         tables.
22772 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22774         * ob.el (org-babel-pick-name): If colnames or rownames contain a
22775         list of names, then use those directly.
22777 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22779         * org-exp.el (org-export-format-source-code-or-example):
22780         Escape underscores in code block names on latex listings export.
22782 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22784         * ob-tangle.el (org-babel-with-temp-filebuffer):
22785         Use find-file-noselect to avoid excess buffer movement.
22787 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22789         * org-html.el (org-html-should-inline-p): Only inline images if
22790         they should be.
22792 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22794         * org-id.el (org-id-store-link): Autoload.
22796         * org.el ("org-id"): Autoload `org-id-store-link'.
22798 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22800         * org-html.el (org-html-should-inline-p): Only inline images if
22801         they should be.
22803 2010-11-11  Eric S Fraga  <e.fraga@ucl.ac.uk>
22805         * org-icalendar.el (org-icalendar-alarm-time): New option.
22807         * org-icalendar.el (org-print-icalendar-entries): Timed events are
22808         exported with alarm events, a.k.a. reminders.
22810 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22812         * org-capture.el (org-capture-target-buffer): Throw an error if we
22813         have no target file.
22814         (org-capture-select-template): Use a default template if the user
22815         has not specified any.
22817 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22819         * org.el (org-modules): Add entry for org-velocity.
22821 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22823         * ob-lob.el (org-babel-lob-execute): Changing indentation to
22824         improve line length.
22826 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22828         * org-exp.el (org-export-handle-table-metalines): Choose a better
22829         position for checking protectedness.
22831 2010-11-11  Eric Schulte  <schulte.eric@gmail.com>
22833         * org-table.el (org-table-convert-region): Don't continue csv
22834         importation which the point catches the end, this fixes an
22835         infinite loop which was caused by the (point) never catching up
22836         with the "end" marker.
22838 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22840         * org-macs.el (org-string-nw-p): New function.
22842         * org-capture.el (org-capture-import-remember-templates):
22843         Interpret an empty string as request to use
22844         `org-default-notes-file'.
22845         (org-capture-target-buffer): If the FILE is not a (non-empty)
22846         string, use `org-default-notes-file'.
22848 2010-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
22850         * org-capture.el (org-capture-templates): Fix customize type.
22852 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
22854         * org.el (org-refile-targets):
22855         * org-agenda.el (org-agenda-hide-tags-regexp): Fix typos in docstrings.
22857 2010-08-19  Glenn Morris  <rgm@gnu.org>
22859         * org.el (org-outline-overlay-data, org-set-outline-overlay-data)
22860         (org-save-outline-visibility): Move to org-macs.
22861         * org-macs.el (org-outline-overlay-data, org-set-outline-overlay-data)
22862         (org-save-outline-visibility): Move here from org.el.
22863         (show-all): Autoload it.
22864         * ob.el: Don't require org when compiling.
22866 2010-08-18  Glenn Morris  <rgm@gnu.org>
22868         * ob.el: Require org when compiling.
22869         (org-save-outline-visibility): Remove macro declaration.
22870         * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
22871         Remove unnecessary/macro declarations.
22872         * org-docview.el: Require doc-view when compiling.
22873         (doc-view-goto-page): Autoload rather than declaring.
22874         (doc-view-current-page): Remove macro declaration.
22876 2010-08-17  Glenn Morris  <rgm@gnu.org>
22878         * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
22879         (org-entry-get, org-table-import): Fix declarations.
22880         (org-match-string-no-properties): Remove unnecessary declaration.
22881         * ob-sh.el (org-babel-comint-in-buffer)
22882         (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
22883         (org-babel-comint-with-output): Remove unnecessary declarations.
22884         * ob-R.el (orgtbl-to-tsv): Fix declaration.
22885         * org-list.el (org-entry-get): Fix declaration.
22887 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
22889         * ob-C.el: New file.
22890         * ob-R.el: New file.
22891         * ob-asymptote.el: New file.
22892         * ob-clojure.el: New file.
22893         * ob-comint.el: New file.
22894         * ob-css.el: New file.
22895         * ob-ditaa.el: New file.
22896         * ob-dot.el: New file.
22897         * ob-emacs-lisp.el: New file.
22898         * ob-eval.el: New file.
22899         * ob-exp.el: New file.
22900         * ob-gnuplot.el: New file.
22901         * ob-haskell.el: New file.
22902         * ob-keys.el: New file.
22903         * ob-latex.el: New file.
22904         * ob-lob.el: New file.
22905         * ob-matlab.el: New file.
22906         * ob-mscgen.el: New file.
22907         * ob-ocaml.el: New file.
22908         * ob-octave.el: New file.
22909         * ob-perl.el: New file.
22910         * ob-python.el: New file.
22911         * ob-ref.el: New file.
22912         * ob-ruby.el: New file.
22913         * ob-sass.el: New file.
22914         * ob-screen.el: New file.
22915         * ob-sh.el: New file.
22916         * ob-sql.el: New file.
22917         * ob-sqlite.el: New file.
22918         * ob-table.el: New file.
22919         * ob-tangle.el: New file.
22920         * ob.el: New file.
22922 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
22924         * org-mks.el: New file.
22925         * org-capture.el: New file.
22927 2010-07-19  Christian Egli  <christian.egli@sbszh.ch>
22929         * org-taskjuggler.el: New file.
22931 2010-07-19  Matt Lundin  <mdl@imapmail.org>
22933         * org-agenda.el (org-search-view): Fix inclusion of agenda-archives
22934         in org-agenda-text-search-extra-files.
22936 2010-07-19  David Maus  <dmaus@ictsoc.de>
22938         * org-list.el (org-list-send-list): Locally bind variable `txt'.
22940 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
22942         * org.el (org-reload): Now also reloading babel files.
22944 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
22946         * org-capture.el (org-capture-set-plist): Make sure txt is a string
22947         before calling `string-match'.
22948         (org-capture-templates): Fix customization type.
22950 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
22952         * org-latex.el (org-export-latex-preprocess): Make a special case
22953         for \nbsp.
22954         (org-latex-entities): Remove the entry for \nbsp.
22955         (org-latex-entities-exceptions): Variable removed.
22957 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
22959         * org-capture.el (org-capture-refile): Do not try to manipulate
22960         bookmark list.
22962         * org.el (org-refile): Use the correct bookmark here.
22964 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
22966         * org-list.el (org-list-send-list): Parse list from its true beginning.
22968         * org.el (org-ctrl-c-ctrl-c): Maybe send the list when at a list item.
22970 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
22972         * org.el (org-insert-link): Correctly determine if we should use
22973         a relative path.
22975 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
22977         * org-list.el (org-list-radio-list-templates): Fix templates.
22979 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
22981         * org-list.el (org-list-send-list): Regexp defining the start of
22982         a radio list is now on par with the one used for radio tables.
22984 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
22986         * org-entities.el (org-entities-help): Add a headline for
22987         the user-defined entities.
22989 2010-07-19  Dirk-Jan C. Binnema  <djcb.bulk@gmail.com>  (tiny change)
22991         * org-agenda.el (org-agenda-action): Document capture key and add it
22992         to the prompt.
22994 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
22996         * org-latex.el (org-export-latex-listings-langs): Add (sqlite "SQL").
22998 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23000         * org-latex.el (org-export-latex-first-lines): Do not mark
23001         meta lines for removal.  Do not remove BABEL config lines during export.
23003 2010-07-19  David Maus  <dmaus@ictsoc.de>
23005         * org-capture.el (org-capture): Check if
23006         `org-capture-link-is-already-stored' is bound before evaluating.
23008 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
23010         * org.el: Add autoload for org-babel-do-load-languages.
23012 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
23014         * org-src.el (org-src-lang-modes): Add sqlite to sql-mode.
23016 2010-07-19  David Maus  <dmaus@ictsoc.de>
23018         * org-feed.el: Change indentation to match coding style
23019         guideline.
23021 2010-07-19  David Maus  <dmaus@ictsoc.de>
23023         * org-feed.el (org-feed-unescape, org-feed-parse-atom-feed): Load XML
23024         library if necessary.
23026 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23028         * org-beamer.el (org-beamer-amend-header): Standardize the
23029         header cookie for the beamer extra stuff.
23031 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23033         * org-beamer.el (org-beamer-amend-header): Put extra header
23034         last in header.
23036 2010-07-19  David Maus  <dmaus@ictsoc.de>
23038         * org-exp-blocks.el (org-export-blocks-format-ditaa)
23039         (org-export-blocks-format-dot): Remove text properties of body before
23040         calculating cache hash.
23042 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23044         * org-latex.el (org-export-latex-tabular-environment): New option.
23045         (org-export-latex-tables): Use `org-export-latex-tabular-environment'.
23047 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23049         * org-compat.el (org-version-check): New function.
23051         * org-indent.el (org-indent-mode): Check for exact emacs version.
23053 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23055         * org-capture.el (org-capture-templates): Allow the template
23056         to come from a file or function call.
23057         (org-capture-place-entry): Get the template from file or function.
23059 2010-07-19  David Maus  <dmaus@ictsoc.de>
23061         * org-agenda.el (org-agenda-bulk-action): Don't create marker for
23062         position if target is entire file.
23064 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23066         * org.el (org-autoload): Autoload a few more org-table functions.
23068 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
23070         * org.el (org-babel-load-languages): Add ob-mscgen.
23072 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
23074         * org-latex.el (org-export-latex-tables): Format string now
23075         matches options.
23077 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
23079         * org.el (org-babel-load-languages): This variable controls which
23080         languages will be loaded by org-babel.  It is customizable through
23081         the customize interface.
23083 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
23085         * org-latex.el (org-export-latex-format-image): Update number of
23086         arguments to allow for an optional short-name.
23088 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23090         * org-indent.el (org-indent-mode): Refuse to turn on prior to Emacs 23.2.
23092 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23094         * org-capture.el (org-capture-set-target-location):
23095         Store exact positions for file+regexp and file+function targets.
23096         (org-capture-place-entry, org-capture-place-item)
23097         (org-capture-place-table-line, org-capture-place-plain-text):
23098         Respect exact positions.
23099         (org-capture-finalize): Make sure we are at the beginning of a line
23100         when fixing the empty lines after the entry.
23102 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23104         * org.el (org-entry-get-with-inheritance): New argument LITERAL-NIL.
23105         (org-entry-get): Pass `literal-nil' into
23106         `org-entry-get-with-inheritance'.
23107         (org-todo): React to nil values of the LOGGING property.
23109 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23111         * org.el (org-default-notes-file): Update docstring.
23113 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23115         * org.el (org-link-frame-setup): Use `org-gnus-no-new-news' as default.
23117 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
23119         * org-exp.el (org-export-attach-captions-and-attributes):
23120         Add a shortname attribute to caption strings under the symbol name
23121         org-caption-shortn.
23123 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23125         * org.el (org-switchb): Rename from `org-iswitchb'.
23126         Improve docstring.
23127         (org-iswitchb): New alias.
23128         (org-ido-switchb): Make alias point to `org-switchb'.
23130 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23132         * org-capture.el (org-capture-fill-template):
23133         Respect time-of-day preference in template prompt.
23135 2010-07-19  David Maus  <dmaus@ictsoc.de>
23137         * org-feed.el (org-feed-unescape): Remove superfluous lambda.
23139 2010-07-19  David Maus  <dmaus@ictsoc.de>
23141         * org-wl.el (org-wl-disable-folder-check): New customization
23142         variable.
23143         (org-wl-open): Disable folder check depending on
23144         `org-wl-disable-folder-check'.
23146 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23148         * org-capture.el (org-capture-set-target-location):
23149         Fix file+function interpretation.
23151 2010-07-19  David Maus  <dmaus@ictsoc.de>
23153         * org-feed.el (org-feed-parse-rss-entry): Unescape rss element
23154         content.
23156 2010-07-19  David Maus  <dmaus@ictsoc.de>
23158         * org-feed.el (xml-entity-alist): Declare variable
23159         `xml-entity-alist' for byte compiler.
23161 2010-07-19  David Maus  <dmaus@ictsoc.de>
23163         * org-feed.el (org-feed-unescape): New function.
23164         Unescape protected entities.
23165         (org-feed-parse-atom-entry): Use function for atom:content
23166         type text and html.
23168 2010-07-19  David Maus  <dmaus@ictsoc.de>
23170         * org-feed.el (org-feed-parse-rss-feed): Ignore case of rss
23171         element names.
23173 2010-07-19  Bernt Hansen  <bernt@norang.ca>
23175         * org.el (org-time-string-to-absolute): Ignore cyclic repeater
23176         when displaying items on todays agenda date.
23178 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23180         * org-agenda.el (org-agenda-get-progress): Avoid reusing previous
23181         value of EXTRA.
23183 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23185         * org-publish.el (org-publish-initialize-cache):
23186         Make timestamp directory, the entire path to it.
23188 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23190         * org-exp.el (org-export-handle-comments): Make sure to check
23191         for protection in the comment line, and not in the line after it.
23193 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23195         * org-html.el (org-export-html-preprocess): Call org-format-latex,
23196         possibly with a protect-only argument.
23198         * org.el (org-format-latex): New argument PROTECT-ONLY.
23200 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
23202         * org-exp.el (org-export-handle-table-metalines): This function
23203         removes table specific meta-lines, now that we aren't wiping
23204         everything that looks remotely like a comment at the end of the
23205         export process we have to be sure to catch all of the specific lines
23206         in org-exp.el.
23208 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
23210         * org-exp.el (org-export-select-backend-specific-text): Properly
23211         get rid of #+Backend and #+ATTR_Backend specifics to backends not
23212         matching the one we're exporting to.
23214 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
23216         * org-table.el (orgtbl-to-generic): Add the :remove-newlines
23217         option which will strip newline characters from the text of table
23218         cells and replace then with "\n".
23220 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23222         * org.el (org-confirm-shell-link-function)
23223         (org-confirm-elisp-link-function): Limit the values that can be set by
23224         file variables.
23226 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23228         * org.el (org-compute-latex-and-specials-regexp): Deal with
23229         string elements by discarding them.
23231 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23233         * org.el (org-iswitchb): Make sure to use at least iswitchb.
23235 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23237         * org-capture.el (org-capture-position-for-last-stored)
23238         (org-capture-bookmark-last-stored-position): New functions.
23239         (org-capture-place-table-line): Better error catching.
23240         (org-capture-place-item, org-capture-place-entry)
23241         (org-capture-place-plain-text):
23242         Call `org-capture-position-for-last-stored'.
23243         (org-capture-finalize): Just call
23244         `org-capture-bookmark-last-stored-position'.
23246 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
23248         * org-exp.el (org-export-mark-blockquote-verse-center):
23249         Fix small bug, now grabbing match data before overwritten by looking-at
23250         this fixes a problem with remainders of #+end_quote lines appearing
23251         in exported output.
23253 2010-07-19  David Maus  <dmaus@ictsoc.de>
23255         * org.el (org-link-frame-setup): Add customization option for
23256         Wanderlust.
23258 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
23260         * org-latex.el (org-export-latex-fixed-width): Now check
23261         org-example rather than org-protected on verbatim export, because by
23262         default all ": " prefixed lines are marked protected.
23264 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
23266         * org-latex.el (org-export-latex-fixed-width): Check for
23267         protection before wrapping ": " lines as verbatim.
23269 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
23271         * org-exp.el (org-export-handle-comments): Check for protection
23272         before removing comments.
23274 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23276         * org-entities.el (org-entities): Restructure the list.
23277         (org-entities-help): Turn the help output into a buffer
23278         in Org-mode, so that it becomes easier to find a symbol
23279         in the structure.
23280         (org-entities-create-table): Deal with new structure.
23282 2010-07-19  David Maus  <dmaus@ictsoc.de>
23284         * org-agenda.el (org-write-agenda): Use backquotes to expand
23285         `flet' at compile time.
23287 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23289         * org.el (org-entry-properties): Make sure that standard property
23290         names are used even if the user has customized time keywords.
23292 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23294         * org-macs.el (org-not-nil): Return the value if not interpreted
23295         as nil.
23297         * org.el (org-entry-get)
23298         (org-entry-get-with-inheritance): Interpret the value "nil"
23299         as nil for properties.
23301 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23303         * org.el (org-switch-to-buffer-other-window): Return the buffer.
23305 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23307         * org-macs.el (org-not-nil): New function.
23309         * org.el (org-block-todo-from-children-or-siblings-or-parent):
23310         Use `org-not-nil' to interpret a property value of nil.
23312 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23314         * org.el (org-truely-invisible-p): New function.
23315         (org-beginning-of-line): Use `org-truely-invisible-p'.
23317 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23319         * org-agenda.el (org-agenda-get-timestamps): No errors
23320         while getting TODO state.
23321         (org-agenda-highlight-todo): No error when no keyword has
23322         been matched.
23324 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23326         * org.el (org-timestamp-change): New optional argument UPDOWN.
23327         Use this to identify calls from org-timestamp-up/down, so that we can
23328         skip by rounding minutes in this case.
23329         (org-timestamp-up, org-timestamp-down, org-timestamp-up-day)
23330         (org-timestamp-down-day): Call org-timestamp-change with the
23331         updown argument.
23333 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23335         * org-agenda.el (org-agenda-action): Make `c' key call org-capture.
23337         * org-capture.el: New file.
23339         * org-compat.el (org-get-x-clipboard): Function moved here from
23340         remember.el.
23342         * org-mks.el: New file.
23344         * org.el (org-set-regexps-and-options): Allow statistic cookies as
23345         part of complex headlines.
23346         (org-find-olp): New argument THIS-BUFFER.  When set, assume that the
23347         OLP does not contain a file name.
23349 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23351         * org.el (org-mode): Set `comment-start' instead of changing the
23352         syntax of the `#' character.
23354 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23356         * org-exp.el (org-export-format-source-code-or-example): Mark examples
23357         by a property.
23359         * org-html.el (org-export-html-close-lists-maybe): Check if raw
23360         HTML stuff was actually made from an example.
23362 2010-07-19  Bastien Guerry  <bzg@gnu.org>
23364         * org-latex.el: Items are no longer skipped when their first line
23365         ends on a protected element.
23367         * org-list.el: Protected environments looking like lists are not
23368         exported anymore.
23370 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
23372         * org-exp-blocks.el (org-export-blocks-preprocess):
23373         Cleanup trailing newline after block.
23375 2010-07-19  Bastien Guerry  <bzg@gnu.org>
23377         * org-exp.el: Comment regexp now matches documentation.  No more
23378         protection check when deleting comments before export.
23380 2010-07-19  Bastien Guerry  <bzg@gnu.org>
23382         * org-exp.el (org-export-preprocess-string):
23383         Now using `org-export-handle-include-files-recurse' to resolve
23384         included files.
23386 2010-07-19  Bastien Guerry  <bzg@gnu.org>
23388         * org-agenda.el (org-agenda-get-deadlines)
23389         (org-agenda-get-scheduled):
23390         * org.el (org-time-string-to-seconds):
23391         For deadline and scheduled agenda display ignore the cyclic repeater
23392         when calculating how many days late the task is.  If you have a weekly
23393         task and miss the date the agenda view will show more than a week late
23394         now instead of resetting on the cyclic repeating date.  This makes it
23395         much more obvious when you missed a repeating task after the repeater.
23397 2010-07-19  Bastien Guerry  <bzg@gnu.org>
23399         * org-exp.el (org-export-mark-blockquote-verse-center):
23400         Consider environments that end at eob.
23402 2010-07-19  Mikael Fornius  <mfo@abc.se>
23404         * org.el (org-raise-scripts): Do not fontify sub/superscripts of text
23405         with face `org-special-keyword'.  Make property keys as :LAST_REPEAT:
23406         display correctly.
23408 2010-07-19  Mikael Fornius  <mfo@abc.se>
23410         * org.el (org-at-property-p): Use save-match-data macro instead of let.
23412 2010-07-19  Mikael Fornius  <mfo@abc.se>
23414         * org.el (test): Remove unused test function.
23416 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
23418         * org-exp-blocks.el (org-export-blocks-preprocess): Fix typo.
23420 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
23422         * org-exp-blocks.el (org-export-blocks-postblock-hook):
23423         Add documentation to and turn into a defcustom.
23425 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
23427         * org-exp.el (org-get-file-contents): By un-setting prefix1 to ""
23428         instead of to nil we avoid errors when :prefix1 is defined, but
23429         prefix is not.
23431 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
23433         * org-latex.el (org-export-latex-preprocess): Environments coming
23434         from latex backend specific instructions (#+LaTeX) are already
23435         protected and won't be treated as normal environments.
23437 2010-07-19  Bastien Guerry  <bzg@gnu.org>
23439         * org-timer.el (org-timer-set-timer): Fix typo in the docstring.
23441 2010-07-19  Bastien Guerry  <bzg@gnu.org>
23443         * org-timer.el (org-timer-set-timer): Use a prefix argument.
23444         See the docstring of the function.
23446 2010-07-19  Bastien Guerry  <bzg@gnu.org>
23448         * org-timer.el (org-timer-set-timer): Fix bug about canceling
23449         timers.
23451 2010-07-19  David Maus  <dmaus@ictsoc.de>
23453         * org-w3m.el (org-w3m-copy-for-org-mode)
23454         (org-w3m-get-next-link-start, org-w3m-get-prev-link-start):
23455         Get text property directly, not using macro `w3m-anchor'.
23457 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23459         * org.el (org-emph-re): Document the match groups.
23461 2010-07-19  Bernt Hansen  <bernt@norang.ca>
23463         * org-clock.el (org-clock-in): Set `org-clock-clocking-in' to
23464         t before calling `org-clock-out', so that that function can
23465         know its call context.
23467 2010-07-19  Bastien Guerry  <bzg@gnu.org>
23469         * org-timer.el (org-timer-default-timer): New variable.
23470         (org-timer-set-timer): Use the new variable.  Also offer the
23471         possibility to replace the current timer by a new one.
23473 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23475         * org.el (org-kill-note-or-show-branches): Hide subtree before
23476         exposing the headings.
23478 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23480         * org.el (org-add-planning-info): Remove the empty line also
23481         if there is no whitespace at all in there.
23483         * org-table.el (org-table-align): Fix alignment of strings
23484         with invisible characters.
23486 2010-07-19  David Maus  <dmaus@ictsoc.de>
23488         * org.el (org-refile-cache-get): Return empty list of targets
23489         when cache was cleared.
23490         (org-clone-subtree-with-time-shift): Maybe create ID property
23491         in cloned subtrees.
23492         (org-clone-delete-id): New customization variable.
23493         (org-clone-subtree-with-time-shift): Use customization
23494         variable `org-clone-delete-id'.
23495         (org-clone-subtree-with-time-shift): Remove empty property
23496         drawer in cloned subtrees.
23498 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23500         * org.el (org-refile-use-cache): New option.
23501         (org-refile-cache, org-refile-markers): New variable.
23502         (org-refile-marker, org-refile-cache-clear)
23503         (org-refile-cache-check-set, org-refile-cache-put)
23504         (org-refile-cache-get): New function.
23505         (org-get-refile-targets): Use the refile cache.
23507         * org-clock.el (org-clock-sum): Don't include running clock if
23508         the time block is wrong.
23510 2010-07-19  John Wiegley  <jwiegley@gmail.com>
23512         * org-clock.el (org-clock-clock-in, org-clock-in):
23513         Add parameter `start-time'.
23514         (org-clock-resolve-clock): Add parameter `clock-out-time'.
23515         If set, and resolve-to is a past time, then the clock out
23516         event occurs at `clock-out-time' rather than at `resolve-to'.
23517         In this case, `resolve-to' becomes the clock in time.
23518         (org-clock-jump-to-current-clock): Create new global command
23519         to reveal the current clock.
23520         (org-clock-resolve): Add new commands g/G and j/J, and a
23521         help window describing all commands and their meaning.
23522         (org-clock-resolve-expert): New customization variable.
23523         (org-find-open-clocks): Fix a bug that caused discovered
23524         clocks not to match up with the currently active clock.
23525         (org-resolve-clocks): Change the argument
23526         `also-non-dangling-p' to `only-dangling-p', since due to a bug
23527         this was the default behavior all along.
23529 2010-07-19  David Maus  <dmaus@ictsoc.de>
23531         * org-id.el (org-id-uuid): New function.  Return string with
23532         random (version 4) UUID.
23533         (org-id-method): Make 'uuid the new default value.
23534         (org-id-new): Use `org-id-uuid' if call to uuidgen program
23535         does not return a UUID.
23537 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23539         * org-latex.el (org-export-latex-format-image): Add support
23540         for multicolumn figures in LaTeX.
23542 2010-07-19  David Maus  <dmaus@ictsoc.de>
23544         * org.el (org-clone-subtree-with-time-shift): Remove ID
23545         property of original subtree in cloned subtrees.
23547 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23549         * org-exp.el (org-export-format-source-code-or-example):
23550         XEmacs compatibility.
23552         * org-latex.el (org-export-latex-tables): Accept comma in
23553         align string.
23555         * org-docbook.el (org-export-docbook-xslt-stylesheet): New option.
23556         (org-export-docbook-xslt-proc-command): Fix docstring.
23557         (org-export-docbook-xsl-fo-proc-command): Fix docstring.
23558         (org-export-as-docbook-pdf):
23559         Improve formatting of the xslt command.
23561         * org-exp.el (org-infile-export-plist): Check for XSLT setting.
23563         * org.el (org-file-contents): Improve error message.
23564         (org-set-regexps-and-options): Remove spaces at both ends.
23566 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23568         * org-docbook.el (org-export-as-docbook-pdf):
23569         Improve formatting of the xslt command.
23571 2010-07-19  Sebastian Rose  <sebastian_rose@gmx.de>
23573         * org-publish.el (org-publish-cache): Use one big hashmap for
23574         each project defined in `org-publish-project-alist'.
23575         (initialize-files-alist): Function removed.
23576         (org-publish-validate-link): Function removed.
23577         (org-publish-get-base-files): Add variable `sitemap-requested'
23578         to avoid sorting where possible.
23579         (org-publish-get-files): Function removed.
23580         (org-publish-get-project-from-filename): Make independent of
23581         file list.
23582         (org-publish-file): New argument NO-CACHE.
23584 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23586         * org.el (org-beginning-of-defun, org-end-of-defun):
23587         New functions.
23588         (org-mode): Install the `org-beginning-of-defun' and
23589         `org-end-of-defun' functions.
23590         (org-pretty-entities): New option.
23591         (org-toggle-pretty-entities): New command.
23592         (org-fontify-entities): New function.
23593         (org-startup-options): New keywords for pretty entities.
23594         (org-set-font-lock-defaults): Call the pretty entities
23595         function.
23597         * org-latex.el (org-export-latex-keywords-maybe): Protect the
23598         TODO markup.
23600 2010-07-19  Mikael Fornius  <mfo@abc.se>
23602         * org-habit.el (org-habit-build-graph): Help-echo date when
23603         mouse is over stars.
23605 2010-07-19  Jan Böcker  <jan.boecker@jboecker.de>
23607         * org.el (org-file-apps): Improve docstring to reflect
23608         grouping matches.
23610 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23612         * org.el (org-set-startup-visibility): Fix empty line display.
23614         * org-latex.el (org-export-latex-links): Use the formatting
23615         function of the link type, if it is available.
23617         * org-table.el (org-table-get-remote-range): Return to
23618         original buffer when retrieving remote reference.
23620         * org.el (org-display-inline-images): Do the entire buffer,
23621         not just the narrowed region.  Clear the cache.
23622         (org-display-inline-images): Match mode file paths.
23624 2010-07-19  David Maus  <dmaus@ictsoc.de>
23626         * org-wl.el (org-wl-store-link-folder): Don't throw error when
23627         called on WL folder group.
23629 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23631         * org.el (org-replace-escapes): Make sure the cdr is not nil.
23632         (org-read-date): Make `M-v' and `C-v' scroll the popup calendar.
23633         (org-mode): Revert comment syntax changes.
23635 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23637         * org.el (org-sparse-tree): Make `C-c / t' search for all TODO
23638         keywords, and `C-c / T' for a specific one.
23640 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23642         * org.el (org-mode): Fix comment syntax settings.
23644         * org-src.el (org-edit-src-allow-write-back-p):
23645         Define variable.
23647         * org.el (org-inline-image-overlays): New variable.
23648         (org-toggle-inline-images, org-display-inline-images)
23649         (org-remove-inline-images): New commands.
23650         (org-mode-map): Define a key for `org-toggle-inline-images'.
23652 2010-07-19  David Maus  <dmaus@ictsoc.de>
23654         * org-wl.el (org-wl-message-field): New function.
23655         Return content of header field in message entity.
23656         (org-wl-store-link): Call `org-wl-store-link-folder' or
23657         `org-wl-store-link-message' depending on major-mode.
23658         (org-wl-store-link-folder): New function.  Store link to
23659         Wanderlust folder.
23660         (org-wl-store-link-message): New function.  Store link to
23661         Wanderlust message.
23662         (org-wl-store-link-message): Store link to message while
23663         visiting message.
23664         (org-wl-open): Don't try to jump to message when opening a
23665         folder link.
23667 2010-07-19  David Maus  <dmaus@ictsoc.de>
23669         * org.el (org-replace-escapes): Avoid infinite loop when
23670         replace string contains escape sequence it replaces.
23672 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23674         * org-crypt.el (org-crypt-key-for-heading): Use symmetric
23675         encryption when now key is set.
23677 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23679         * org-table.el (org-table-recalculate-buffer-tables)
23680         (org-table-iterate-buffer-tables): New commands.
23682         * org.el (org-check-for-hidden): When there is a region, skip
23683         the check.
23685 2010-07-19  Dan Davison  <davison@stats.ox.ac.uk>
23687         * org-src.el (org-edit-src-code): allow-write-back-p had
23688         erroneously been omitted from let binding.
23690 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23692         * org-agenda.el (org-sorting-choice): New sorting type alpha.
23693         (org-cmp-alpha): New defsubst.
23694         (org-em): New defsubst.
23695         (org-entries-lessp): Only compute needed comparisons.
23697 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23699         * org-html.el (org-format-org-table-html): Test all columns
23700         for number content.
23702 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23704         * org-latex.el (org-export-latex-treat-sub-super-char):
23705         Make sure parenthesis matching is consistent.
23707         * org-table.el (org-table-colgroup-line-p)
23708         (org-table-cookie-line-p): New functions.
23710         * org-exp.el (org-table-clean-before-export): Better tests for
23711         colgroup and cookie lines.
23713 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23715         * org-agenda.el (org-agenda-goto): Push a mark before changing
23716         the position.
23718         * org-footnote.el (org-footnote): New group.
23719         (org-footnote-section)
23720         (org-footnote-tag-for-non-org-mode-files): Fix typos.
23722         * org-list.el (org-end-of-item-text-before-children): Also do
23723         the right thing at the end of a file.
23725         * org.el (org-set-packages-alist, org-get-packages-alist):
23726         New function.
23727         (org-export-latex-default-packages-alist)
23728         (org-export-latex-packages-alist): Add extra flag to
23729         each package, indicating if it should be used for snippets.
23730         (org-create-formula-image): Add the snippet argument.
23731         (org-splice-latex-header): New argument SNIPPET-P, pass it
23732         through to `org-latex-packages-to-string'.
23733         (org-latex-packages-to-string): New argument SNIPPET-P.
23735         * org-latex.el (org-export-latex-make-header): Add the snippet
23736         argument.
23738         * org-docbook.el (org-export-as-docbook): Implement ordered
23739         lists starting at some offset.
23741 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23743         * org.el (org-link-types, org-open-at-point): Add doi links.
23745         * org-ascii.el (org-export-ascii-preprocess): Remove list
23746         startcounter cookies.
23748         * org-list.el (org-renumber-ordered-list): Respect counter
23749         start values.
23751         * org-latex.el (org-export-latex-lists): Accept ordered list
23752         item offset cookie.
23754         * org-html.el (org-export-as-html): Accept ordered list
23755         item offset cookie.
23757         * org-indent.el (org-indent-mode): Turn off `indent-tabs-mode'
23758         which messes up alignment of tags.
23760 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23762         * org-clock.el (org-clock-cancel, org-clock-out): Make sure
23763         the modeline display is removed.
23765         * org-exp.el (org-export-format-drawer-function):
23766         Fix docstring.
23768         * org-agenda.el (org-agenda-refile): New optional argument
23769         NO-UPDATE.
23770         (org-agenda-refile): Call `org-agenda-redo' unless NO-UPDATE
23771         is set.
23772         (org-agenda-bulk-action): Call the refile command with updates
23773         suppressed - but arrange for `org-agenda-redo' to be called at
23774         the end.
23776         * org.el (org-mode): Make table mapping quiet.
23777         (org-table-map-tables): New optional argument QUIETLY.
23779         * org-ascii.el (org-export-ascii-preprocess): Make table
23780         mapping quiet.
23782         * org-html.el (org-export-as-html, org-html-level-start):
23783         Change XHTML IDs to not use dots.
23785         * org-exp.el (org-export-define-heading-targets):
23786         Change XHTML IDs to not use dots.
23788         * org-docbook.el (org-export-docbook-level-start):
23789         Change XHTML IDs to not use dots.
23791         * org-latex.el (org-export-as-latex): Make sure that the
23792         result buffer is in latex-mode.
23794         * org.el (org-shiftup-final-hook, org-shiftdown-final-hook)
23795         (org-shiftleft-final-hook, org-shiftright-final-hook):
23796         New hooks.
23798 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23800         * org-table.el (org-table-justify-field-maybe): Make sure that
23801         inserting a value does not turn a line into a hline.
23803 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23805         * org-clock.el (org-clock-sum): New argument HEADLINE-FILTER.
23806         (org-clock-sum): Add property to selected headlines.
23807         (org-dblock-write:clocktable): Make tags matcher.
23809         * org.el (org-set-autofill-regexps): XEmacs compatibility.
23811         * org-latex.el (org-export-latex-set-initial-vars): Allow "-"
23812         in latex class definitions.
23814         * org.el (org-shiftup-hook, org-shiftdown-hook)
23815         (org-shiftleft-hook, org-shiftright-hook): New hooks.
23817         * org-entities.el (org-entities): Use \land and \lor for logical
23818         operators.
23820         * org.el (org-shiftmetaleft, org-shiftmetaright): Call the subtree
23821         indentation commands.
23822         (org-hidden-tree-error): New defsubst.
23823         (org-metaleft, org-metaright): Check for hidden stuff and throw an
23824         error.
23825         (org-check-for-hidden): New function.
23827         * org-list.el (org-item-re): New function.
23828         (org-at-item-p): Use `org-item-re'.
23829         (org-end-of-item-text-before-children): New function.
23830         (org-outdent-item, org-indent-item): Arrange for leaving the
23831         subtree alone.
23832         (org-outdent-item-tree, org-indent-item-tree): New argument
23833         NO-SUBTREE.
23834         (org-indent-item-tree): Use `org-end-of-item-text-before-children'
23835         to find the end for processing while ignoring the subtree.
23837         * org-publish.el (org-publish-sitemap-sort-alphabetically)
23838         (org-publish-sitemap-sort-folders)
23839         (org-publish-sitemap-sort-ignore-case): New options.
23841 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23843         * org-publish.el (org-publish-compare-directory-files): Fix sorting.
23845         * org-compat.el (org-get-x-clipboard-compat): Use (featurep 'xemacs).
23847         * org-publish.el (org-publish-project-alist): Update docstring.
23848         (org-publish-file-title-cache): New variable.
23849         (org-publish-initialize-files-alist):
23850         Initialize `org-publish-initialize-files-alist' to nil.
23851         (org-publish-sort-directory-files): New function.
23852         (org-publish-projects): Access the new properties.
23853         (org-publish-find-title): Use the file title cache.
23854         (org-publish-find-title): Build the file title cache.
23855         (org-publish-get-base-files-1): Sort files.
23856         (org-publish-aux-preprocess): Do not throw an error when before
23857         the first headline.  Allow an empty target, meaning to link just
23858         to the file.
23859         (org-publish-index-generate-theindex.inc): Check if there is
23860         actually a target and only then add it to the link.
23861         (org-publish-projects): Fix a remaining issue with the last commit.
23863         * org-html.el (org-export-as-html): Treat verse as open/close
23864         paragraph.
23865         (org-export-html-close-lists-maybe): Allow to splice raw HTML into
23866         and out of lists.
23868 2010-07-19  Dan Davison  <davison@stats.ox.ac.uk>
23870         * org-src.el (org-edit-src-code): Allow the org-src edit buffer to
23871         be used in a read-only mode.
23872         (org-edit-src-code): Different message in read-only mode.
23874 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23876         * org-src.el (org-edit-src-find-region-and-lang): Test for
23877         table.el as late as possible.
23879         * org-colview.el: Make sure this file is never loaded into XEmacs.
23881         * org-agenda.el (org-highlight, org-unhighlight): Use direct
23882         overlay calls.
23884         * org.el (org-key): Apply the translations defined in
23885         `org-xemacs-key-equivalents'.
23887         * org-mouse.el (org-mode-hook): Use `org-defkey'.
23889         * org-compat.el (org-xemacs-key-equivalents): New constant.
23891 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23893         * org-inlinetask.el (org-inlinetask-defaut-state): New option.
23894         (org-inlinetask-insert-task): Use `org-inlinetask-defaut-state'.
23895         Obey `org-odd-levels-only'.
23897         * org-compat.el (org-find-overlays): Use overlays-in/at.
23899         * org.el (org-remove-empty-overlays-at)
23900         (org-outline-overlay-data, org-hide-block-toggle)
23901         (org-format-latex, org-context): Use overlays-in/at.
23903         * org-src.el (org-edit-src-exit): Use overlays-in/at.
23905         * org-agenda.el (org-agenda-mark-clocking-task)
23906         (org-agenda-fontify-priorities, org-agenda-dim-blocked-tasks)
23907         (org-agenda-entry-text-hide)
23908         (org-agenda-fix-tags-filter-overlays-at)
23909         (org-agenda-bulk-remove-overlays): Use overlays-in/at.
23911         * org-compat.el (org-overlays-at): Function removed.
23912         (org-overlays-in): Function removed.
23914 2010-07-19  Bastien Guerry  <bzg@gnu.org>
23916         * org-clock.el (org-clock-set-current): Just return the headline
23917         itself, strip the TODO keyword, the priority cookie and the tags.
23919 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
23921         * org-compat.el (org-xemacs-without-invisibility): New macro.
23922         (org-xemacs-without-invisibility): New macro.
23923         (org-indent-to-column, org-indent-line-to, org-move-to-column):
23924         Redefine using the macro `org-xemacs-without-invisibility'.
23926         * org.el (org-mode, org-org-menu): Use `add-to-invisibility-spec'.
23928         * org-table.el (orgtbl-mode): Use `add-to-invisibility-spec'.
23930         * org-compat.el (org-make-overlay, org-delete-overlay)
23931         (org-overlay-start, org-overlay-end, org-overlay-put)
23932         (org-overlay-get, org-overlay-move, org-overlay-buffer):
23933         Functions removed.
23934         (org-add-to-invisibility-spec): Function removed.
23936         * org-html.el (org-export-as-html-and-open): Add argument to
23937         kill-buffer.
23939         * org-habit.el (require): `calendar' is now required already by
23940         org.el on top level.
23942         * org-clock.el (require): `calendar' is now required already by
23943         org.el on top level.
23945         * org-agenda.el (require, org-timeline, org-agenda-list)
23946         (org-todo-list, org-agenda-to-appt): `calendar' is now required
23947         already by org.el on top level.
23949         * org.el (org-export-latex-fix-inputenc): Declare function.
23951         * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
23952         variables.
23954         * org.el (calendar): Require calendar now on top level in org.el
23955         and define aliases to new variables when needed.
23956         (org-read-date, org-goto-calendar): Do not bind obsolete
23957         variables.
23959         * org-clock.el (org-clock-out, org-clock-cancel): Get rid of
23960         compilation warning, add comment that this cannot be done with
23961         `with-current-buffer'.
23963         * org-wl.el (org-wl-open): Use `with-current-buffer'.
23965         * org.el (overlay, org-remove-empty-overlays-at)
23966         (org-outline-overlay-data, org-set-outline-overlay-data)
23967         (org-show-block-all, org-hide-block-toggle)
23968         (org-highlight-new-match, org-remove-occur-highlights)
23969         (org-tags-overlay, org-fast-tag-selection, org-date-ovl)
23970         (org-read-date, org-read-date-display, org-eval-in-calendar)
23971         (org-format-latex, org-context)
23972         (org-speedbar-restriction-lock-overlay)
23973         (org-speedbar-set-agenda-restriction): Use the normal overlay API.
23975         * org-table.el (org-table-add-rectangle-overlay)
23976         (org-table-remove-rectangle-highlight)
23977         (org-table-overlay-coordinates)
23978         (org-table-toggle-coordinate-overlays): Use the normal overlay
23979         API.
23981         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
23982         (org-edit-src-exit, org-src-mode-configure-edit-buffer): Use the
23983         normal overlay API.
23985         * org-colview.el (org-columns-new-overlay)
23986         (org-columns-display-here, org-columns-remove-overlays)
23987         (org-columns-edit-value, org-columns-next-allowed-value)
23988         (org-columns-update): Use the normal overlay API.
23990         * org-clock.el (org-clock-out, org-clock-cancel)
23991         (org-clock-put-overlay, org-clock-remove-overlays): Use the normal
23992         overlay API.
23994         * org-agenda.el (org-agenda-mark-filtered-text)
23995         (org-agenda-mark-clocking-task, org-agenda-fontify-priorities)
23996         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
23997         (org-agenda-entry-text-hide)
23998         (org-agenda-restriction-lock-overlay)
23999         (org-agenda-set-restriction-lock)
24000         (org-agenda-filter-by-tag-hide-line)
24001         (org-agenda-fix-tags-filter-overlays-at)
24002         (org-agenda-filter-by-tag-show-all, org-hl)
24003         (org-agenda-goto-calendar, org-agenda-bulk-mark)
24004         (org-agenda-bulk-remove-overlays): Use the normal overlay API.
24006         * org-freemind.el (org-freemind-from-org-mode-node)
24007         (org-freemind-from-org-mode)
24008         (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
24009         Use interactive-p instead of called-interactively, because this is
24010         backward compatible with older Emacsen I still support..
24012 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24014         * org-exp.el (org-export-define-heading-targets): Fix bug in
24015         regexp finding ID and CUSTOM_ID properties.
24017 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24019         * org-footnote.el (org-footnote-goto-previous-reference):
24020         Rename from `org-footnote-goto-next-reference'.
24022         * org.el (org-auto-repeat-maybe): Only record LAST_REPEAT if
24023         org-log-repeat is non-nil, or if there is clocking data in the
24024         entry.
24026         * org-crypt.el (org-encrypt-entry): Improve mapping behavior.
24028 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24030         * org.el (org-align-all-tags): New command.
24032 2010-07-19  David Maus  <dmaus@ictsoc.de>
24034         * org-wl.el (org-wl-link-remove-filter): New customizable
24035         variable.  If non-nil, filter conditions are stripped when storing
24036         link to message in filter folder.
24037         (org-wl-shimbun-prefer-web-links): New customizable variable.
24038         If non-nil, links to shimbun messages are created as web links to
24039         message source.
24040         (org-wl-nntp-prefer-web-links): New customizable variable.
24041         If non-nil, links to nntp message are created as web links to gmane
24042         or googlegroups.
24043         (org-wl-namazu-default-index): New customizable variable.
24044         Directory of namazu search index that should be used as default
24045         when opening a link in a search folder.
24046         (org-wl-folder-types): New constant.  Wanderlust folder type
24047         indicators.
24048         (org-wl-folder-type): New function.  Return type of Wanderlust
24049         folder.
24050         (org-wl-store-link): Create web links for shimbun or nntp messages
24051         and strip filter conditions depending on customizable variables.
24052         (org-wl-open): Open namazu search folder for message when called
24053         with prefix.
24055 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24057         * org.el (org-remove-if, org-remove-if-not): New functions.
24058         (org-open-file): Use internal remove-if functions.
24060 2010-07-19  Jan Böcker  <jan.boecker@jboecker.de>
24062         * org.el (org-file-apps-entry-match-against-dlink-p): New function.
24063         (org-file-apps-ex): Remove variable.
24064         (org-open-file): Integrate org-file-apps-ex functionality back
24065         into org-file-apps, and decide whether to match a regexp against
24066         the link or the filename using org-file-apps-entry-uses-grouping-p.
24068 2010-07-19  Jan Böcker  <jan.boecker@jboecker.de>
24070         * org.el (org-file-apps-ex): New variable.
24071         (org-open-file): Before considering org-file-apps, first match the
24072         regexps from org-file-apps-ex against the whole link.
24073         See docstring of org-file-apps-ex.
24075 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24077         * org.el (org-export-latex-default-packages-alist):
24078         Remove microtype package.
24079         (org-todo-repeat-to-state): New variable.
24080         (org-auto-repeat-maybe): Allow user-selected target states.
24081         (org-default-properties): Add the new property REPEAT_TO_STATE.
24083 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
24085         * org-mobile.el (org-mobile-check-setup): Make sure that there is
24086         a binary to compute checksums.
24088 2010-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
24090         * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
24091         variables.
24093         * org.el (calendar): Require calendar now on top level in org.el
24094         and define aliases to new variables when needed.
24095         (org-read-date, org-goto-calendar): Do not bind obsolete
24096         variables.
24098 2010-06-22  Glenn Morris  <rgm@gnu.org>
24100         * org-entities.el: Add explicit utf-8 coding cookie to file with
24101         utf-8 characters.
24103 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
24105         * org.el (org-file-complete-link): Avoid (expand-file-name ".").
24107 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
24109         * Version 23.2 released.
24111 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
24113         * org-table.el (orgtbl-setup):
24114         * org-agenda.el (org-agenda-entry-text-mode): Simplify.
24116 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
24118         * org-table.el (orgtbl-mode): Use define-minor-mode.
24120 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24122         * org.el (org-insert-link): Find the link buffer on visible frames.
24123         (org-export-latex-default-packages-alist): Hyperref must be loaded
24124         late.
24125         (org-open-file): More care with the new matching for file links.
24127 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24129         * org-latex.el (org-export-latex-preprocess): Do not yet protect
24130         defined entities - these will be taken care of later.
24131         (org-export-latex-special-chars): Post-process entity replacement.
24132         (org-export-latex-fontify-headline): Do not yet protect defined
24133         entities - these will be taken care of later.
24134         (org-export-latex-tables, org-export-latex-links): Format the
24135         caption properly.
24137         * org-entities.el (org-entities-user): Fix typo.
24139         * org.el (org-prepare-agenda-buffers): Uniquify TODO keywords.
24141         * org-entities.el (org-entities-user): Improve docstring.
24143 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24145         * org-entities.el (org-macs): Require org-macs, to be sure that we
24146         have `declare-function' defined.
24148 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24150         * org-latex.el (org-export-latex-classes): Update docstring.
24152         * org.el (org-format-latex-header): Add cookies to the header.
24153         (org-splice-latex-header): Implement placement according to cookies.
24155 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24157         * org-publish.el (org-publish-aux-preprocess): Control case
24158         sensitivity.
24160 2010-04-10  Bastien Guerry  <bzg@gnu.org>
24162         * org.el (org-splice-latex-header): Fix typo.
24164 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24166         * org-latex.el (org-export-latex-make-header):
24167         Use `org-splice-latex-header' to build the header.
24168         (org-export-latex-classes): Update docstring.
24170         * org.el (org-splice-latex-header): New function.
24171         (org-create-formula-image): Use `org-splice-latex-header' to build
24172         the header.
24174         * org-gnus.el (org-gnus-follow-link): Handle nndoc backend.
24176 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24178         * org.el (org-export-latex-packages-alist)
24179         (org-export-latex-default-packages-alist): Fix docstring to
24180         reflect the expected structure.
24182         * org-docbook.el (org-docbook-do-expand): Fix bug with variable names.
24183         (org-export-docbook-finalize-table): Make use of label for tables.
24185 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24187         * org-attach.el (org-attach-commit): Split on newlines.
24189         * org.el (org-export-latex-default-packages-alist): Use list
24190         instead of cons for the entries.
24192 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24194         * org-entities.el (org-entity-get-representation): Catch the case
24195         that there is not entry in the list.
24197         * org-mobile.el (org-mobile-use-encryption)
24198         (org-mobile-encryption-tempfile, org-mobile-encryption-password):
24199         New options.
24200         (org-mobile-check-setup): CHeck the encryption setup.
24201         (org-mobile-copy-agenda-files, org-mobile-sumo-agenda-command)
24202         (org-mobile-create-sumo-agenda): Use encryption code.
24203         (org-mobile-encrypt-and-move): New function.
24204         (org-mobile-encrypt-file, org-mobile-decrypt-file):
24205         New functions.
24206         (org-mobile-move-capture): Decrypt the capture file.
24208         * org.el (org-entities): Require the new file.
24209         (org-export-latex-default-packages-alist): New variable.
24210         (org-complete): Use new entity code for completion.
24211         (org-create-formula-image): Use the new packages variable.
24213         * org-latex.el (org-export-latex-classes): Remove the standard
24214         packages from the class headers.
24215         (org-export-latex-make-header): Use the new package variable.
24216         (org-export-latex-special-chars): Better regexp for entities, to
24217         support entity name that contain numbers.
24218         (org-export-latex-treat-backslash-char): Use the new entity code.
24220         * org-html.el (org-html-do-expand): Use the new entity code.
24222         * org-exp.el (org-export): Add the new export commands.
24223         (org-html-entities): Constant removed.
24224         (org-export-visible): Add the new export commands.
24226         * org-docbook.el (org-docbook-do-expand): Use new entity code.
24228         * org-ascii.el (org-export-ascii-entities): New variable.
24229         (org-export-as-latin1, org-export-as-latin1-to-buffer)
24230         (org-export-as-utf8, org-export-as-utf8-to-buffer): New commands.
24231         (org-export-as-encoding): New function.
24232         (org-export-ascii-preprocess): Call `org-ascii-replace-entities'.
24233         (org-ascii-replace-entities): New function.
24235 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24236             Ulf Stegemann  <ulf@zeitform.de>
24238         * org-entities.el: New file.
24240 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24242         * org-html.el (org-html-level-start): Catch the case that target
24243         might be nil.
24245 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
24247         * org.el (org-appearance): Change Customize group variable name
24248         from org-font-lock to org-appearance, and change tag from "Org
24249         Font Lock" to "Org Appearance".
24250         (org-odd-levels-only): Change Customize group variable name.
24251         (org-level-color-stars-only): Change Customize group variable name.
24252         (org-hide-leading-stars): Change Customize group variable name.
24253         (org-hidden-keywords): Change Customize group variable name.
24254         (org-fontify-done-headline): Change Customize group variable name.
24255         (org-fontify-emphasized-text): Change Customize group variable name.
24256         (org-fontify-whole-heading-line): Change Customize group variable name.
24257         (org-highlight-latex-fragments-and-specials): Change Customize
24258         group variable name.
24259         (org-hide-emphasis-markers): Change Customize group variable name.
24260         (org-emphasis-alist): Change Customize group variable name.
24261         (org-emphasis-regexp-components): Change Customize group variable
24262         name.
24263         (org-modules): Remove mention of org-R.
24265         * org-faces.el (org-faces): Change Customize group variable name.
24267 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24269         * org-agenda.el (org-diary-last-run-time): New variable.
24270         (org-diary): Prepare agenda buffers only if last call was some
24271         time ago.
24273         * org-html.el (org-export-html-preprocess): Replace \ref macros
24274         with a link.
24275         (org-format-org-table-html): Add the label as an anchor.
24277         * org-docbook.el (org-export-docbook-format-image): Do some
24278         formatting on captions.
24280         * org-latex.el (org-export-latex-tables, org-export-latex-links):
24281         Do some formatting on captions.
24283         * org-html.el (org-export-html-format-image)
24284         (org-format-org-table-html): Do some formatting on captions.
24286 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
24288         * org.el (org-hidden-keywords): New customizable variable.  This is
24289         a list of symbols specifying which of the special keywords #+DATE,
24290         #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock.
24291         (org-fontify-meta-lines-and-blocks): Changes to font-lock code
24292         implementing new faces and hiding behavior.
24294         * org-faces.el (org-document-title): New face for #+TITLE lines.
24295         (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines.
24296         (org-document-info-keyword): New face for #+DATE, #+AUTHOR, #+EMAIL
24297         keywords.
24299 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24301         * org-publish.el (org-publish-sanitize-plist): New function to
24302         rename "index" properties to "sitemap".  Do this renaming
24303         globally.
24304         (org-publish-with-aux-preprocess-maybe): New macro.
24305         (org-publish-org-to-pdf, org-publish-org-to-html): Use the new
24306         macro.
24307         (org-publish-aux-preprocess)
24308         (org-publish-index-generate-theindex.inc): New function.
24310 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24312         * org-table.el (org-table-align): Interpret <N> at fixed width,
24313         not as maximum width.
24315 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24317         * org-exp.el (org-export-author-info, org-export-email-info):
24318         Fix docstrings.
24320         * org-beamer.el (org-beamer-select-environment): Rename from
24321         `org-beamer-set-environment-tag'.  Improve docstring.
24323         * org-freemind.el (org-freemind-write-mm-buffer): Fix another
24324         problem with odd levels.
24326         * org-ascii.el (org-export-as-ascii): Export email only if the
24327         author wants it.
24329         * org-docbook.el (org-export-as-docbook): Export email only if the
24330         author wants it.
24332         * org-html.el (org-export-as-html): Export email only if the
24333         author wants it.
24335         * org-exp.el (org-export-email-info): New option.
24336         (org-export-plist-vars): Add entry for `org-export-email'.
24338 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24340         * org-table.el (org-table-goto-line): Fix typo.
24342 2010-04-10  Mikael Fornius  <mfo@abc.se>
24344         * org.el (org-agenda-files): Typo.
24345         (org-read-agenda-file-list): Add optional argument to help
24346         `org-store-new-agenda-file-list' to remember un-expanded file
24347         names.  Expand file names relative to `org-directory'.
24348         (org-store-new-agenda-file-list): Keep un-expanded file names when
24349         saving, if available.
24350         (org-agenda-files): Update documentation.
24352 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24354         * org-ascii.el (org-export-as-ascii): Catch the case of exporting
24355         a buffer with no file name attached.
24357         * org.el (org-log-refile): New option.
24358         (org-log-note-headings): Add a heading for refiling.
24359         (org-startup-options): Add keywords for logging of the refile
24360         action.
24361         (org-refile): Add logging action.
24362         (org-add-log-note): Allow for refiling action.
24364         * org-agenda.el (org-agenda-bulk-action): Make sure
24365         `org-log-refile' is not `note' during a bulk action.
24367 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24369         * org.el (org-map-dblocks): Use save-excursion to remember the
24370         position.
24372         * org-attach.el (org-attach-commit): Remove dependence on xargs.
24373         (org-attach-delete-one): Commit after deleting a file.
24375         * org-latex.el (org-export-latex-fontify): Do not mistake table.el
24376         borders for strike-through emphasis.
24378         * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
24379         handling of odd levels.
24381         * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
24382         and `future' values.
24383         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
24384         Handle `past' and `future' values.
24386         * org.el (org-read-agenda-file-list): Interpret file names
24387         relative to org-directory and allow environment variables and
24388         "~".
24390         * org-latex.el (org-export-latex-special-chars): Allow a
24391         parenthesis before an exponent or subscript.
24393 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
24395         * org-src.el (org-edit-src-exit): When returning from code edit
24396         buffer, if code block is hidden, leave point at start of
24397         #+begin_src line.
24399 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24401         * org.el (org-insert-heading): Do not remove all spaces if the
24402         headline is empty.
24404         * org-indent.el (org-indent): Fix group name.
24406 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24408         * org-table.el (org-table-goto-column): Fix forcing a non-existing
24409         column.
24410         (org-table-get, org-table-put, org-table-goto-line)
24411         (org-table-current-line): New functions.
24413 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
24415         * org.el (org-open-file): Allow regular expressions in
24416         org-file-apps to capture link parameters using groups.  In a
24417         command string to be executed, the parameters can be referenced
24418         using %1, %2, etc.  Lisp forms can access them using
24419         (match-string n link).
24420         (org-apps-regexp-alist): Adopt the created regexp, as this is now
24421         matched against a file: link instead of the file name.
24423 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24425         * org-crypt.el (org-reveal-start-hook): Add a decryption function
24426         to this hook.
24427         (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry):
24428         Add docstrings.
24430         * org.el (org-point-at-end-of-empty-headline)
24431         (org-level-increment, org-get-previous-line-level): New function.
24432         (org-cycle-level): Rewritten to be independent of when this
24433         function is called.
24434         (org-in-regexps-block-p): New function.
24435         (org-reveal-start-hook): New hook.
24436         (org-reveal): Run new hook.
24438 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24440         * org-latex.el (org-export-latex-keywords): Start a new paragraph
24441         after time keywords, do not add "\newline".
24443         * org-html.el (org-export-as-html): Avoid double # in href.
24445         * org.el (org-refile-get-location): Catch an invalid target
24446         specification.
24448 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24450         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
24451         Make sure the behavior regarding to extracting time is
24452         consistent.
24454 2010-04-10  Stephen Eglen  <stephen@gnu.org>
24456         * org-agenda.el (org-agenda-insert-diary-extract-time):
24457         New variable.
24458         (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
24459         variable rather than `org-agenda-search-headline-for-time'.
24461 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24463         * org-list.el (org-fix-bullet-type): Improve cursor positioning.
24465 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24467         * org.el (org-adaptive-fill-regexp-backup): New variable.
24468         (org-set-autofill-regexps): Store a backup of
24469         `adaptive-fill-regexp'.
24470         (org-adaptive-fill-function): Fix filling of comments and ordered
24471         lists.  If there is no other match, till try adaptive fill.
24473 2010-04-10  John Wiegley  <jwiegley@gmail.com>
24475         * org-agenda.el (org-agenda-include-deadlines): Add new
24476         customization variable to determine whether unscheduled tasks
24477         should appear in the agenda solely because of their deadline.
24478         Default to true, which was the previous behavior (it just wasn't
24479         configurable).
24480         (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
24481         the agenda to show/hide deadline tasks.
24482         (org-agenda-menu): Add menu option for show/hide deadlines.
24483         (org-agenda-list): Make the agenda list sensitive to the value of
24484         `org-agenda-include-deadlines'.
24485         (org-agenda-toggle-deadlines): New function to toggle the value of
24486         `org-agenda-include-deadlines' and repaint the modeline
24487         indicators.
24488         (org-agenda-set-mode-name): Show "Deadlines" in the agenda
24489         modeline if deadline tasks are being displayed.
24491 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24493         * org-table.el (org-table-eval-formula): Replace $# and @# by
24494         current column and row number.
24496 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24498         * org.el (org-set-property, org-delete-property): Go back to
24499         prompting for the property.
24501         * org-latex.el (org-export-latex-make-header): Fully process
24502         author line.
24503         (org-export-latex-fontify-headline): Allow several arguments, not
24504         just one.
24505         (org-export-latex-fix-inputenc): Catch the error when
24506         `latexenc-coding-system-to-inputenc' is not defined.
24508         * org-agenda.el (org-agenda-skip-if-todo): New function.
24509         (org-agenda-skip-if): Add conditions for TODO keywords.
24510         (org-agenda-skip-if): Document the new todo conditions.
24512 2010-04-10  Mikael Fornius  <mfo@abc.se>
24514         * org.el (org-at-property-p): Check if we are inside a property
24515         drawer not just any drawer.
24516         (org-set-property, org-delete-property): When cursor is on a
24517         property key value pair do not prompt for property name instead
24518         use name at cursor.
24519         (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
24520         on the first line of a property drawer.
24521         (org-property-end-re): Spell check.
24523 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24525         * org-exp.el (org-export-attach-captions-and-attributes): Add the
24526         properties to the entire table, in case the first line is
24527         removed.
24529         * org-archive.el (org-archive-reversed-order): New option.
24530         (org-archive-subtree, org-archive-to-archive-sibling): Use the new
24531         option `org-archive-reversed-order'.
24533 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24535         * org-agenda.el (org-agenda-entry-types): New variable.
24536         (org-agenda-list): Use `org-agenda-entry-types'.
24537         (org-agenda-custom-commands-local-options): Support for setting
24538         `org-agenda-entry-types' as an option.
24539         (org-diary): Shift some documentation from here to the variable
24540         `org-agenda-entry-types'.
24542 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24544         * org-latex.el (org-export-latex-make-header): Apply macros in
24545         author field.
24547         * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
24548         (org-clock-select-task, org-clock-notify-once-if-expired)
24549         (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
24550         (org-clock-out-if-current, org-clock-save): Use the new functions.
24552 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24554         * org-docbook.el (org-export-as-docbook): Remove unnecessary
24555         newline.
24556         (org-export-as-docbook): Remove unnecessary newline.
24557         (org-export-as-docbook): Fix problem with double footnote
24558         reference in one place.
24560         * org-exp.el (org-export-format-source-code-or-example):
24561         Remove unnecessary newline.
24563         * org.el (org-deadline, org-schedule): Allow rescheduling entries
24564         with repeaters.
24566         * org-table.el (org-table-convert-refs-to-rc): Better way to catch
24567         function calls that look like references.
24569         * org.el (org-open-at-point): Get link abbreviations from
24570         reference buffer.
24572 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24574         * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
24575         as a reference.
24577 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24579         * org.el (org-link-unescape): Solve issue with lower-case escapes.
24581 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24583         * org-latex.el (org-export-latex-classes):
24584         Add \usepackage{latexsym} to all classes.
24586 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24588         * org-html.el (org-export-as-html): Do not allow protected lines
24589         into the table of contents.
24591         * org-latex.el (org-export-latex-special-chars): Find subsequent
24592         occurrences of special characters.
24593         (org-export-latex-tables): Do not convert table-like stuff that is
24594         protected.
24596 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24598         * org-list.el (org-toggle-checkbox): No errors when updating
24599         checkbox count fails because there is no heading.
24601 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24603         * org-clock.el (org-clock-report-include-clocking-task):
24604         New option.
24605         (org-clock-sum): Add the current clocking task.
24607 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24609         * org.el (org-cycle): Print a message when in a table.el table.
24610         (org-edit-special): Recognize the table.el context.
24611         (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
24613         * org-src.el (org-at-table.el-p): Declare.
24614         (org-edit-src-code): Handle a special case for table.el editing.
24615         (org-edit-src-find-region-and-lang): Recognize the table.el
24616         context.
24618         * org-latex.el (org-export-latex-tables): Convert table.el
24619         tables.
24620         (org-export-latex-convert-table.el-table): New function.
24622         * org-html.el (org-html-expand): Fix table.el export.
24624         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
24625         headings.
24627         * org-id.el (org-id-find-id-file): Fix bug when there is no hash
24628         table for the id locations.
24630         * org.el (org-read-date-analyze): Match American-style dates, like
24631         5/30 or 5/13/7.  Make sure cal-iso.el is loaded.  Don't force he
24632         current year when reading ISO and American dates.
24634 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24636         * org.el (org-face-from-face-or-color): New function.
24637         (org-get-todo-face, org-font-lock-add-priority-faces)
24638         (org-get-tag-face): Use `org-face-from-face-or-color'.
24640         * org-faces.el (org-todo-keyword-faces, org-priority-faces):
24641         Allow simple colors as values.
24642         (org-faces-easy-properties): New option.
24644         * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
24645         restricted, as an agenda mode.
24646         (org-agenda-fontify-priorities): Allow simple colors as values.
24648 2010-04-10  Bastien Guerry  <bzg@gnu.org>
24650         * org-timer.el (org-timer-current-timer): Rename from
24651         `org-timer-last-timer'.
24652         (org-timer-timer1, org-timer-timer2, org-timer-timer3): Remove.
24653         (org-timer-cancel-timer, org-timer-show-remaining-time)
24654         (org-timer-set-timer): Update to use only one timer.
24656         * org.el (org-set-property): Remove useless space in the prompt.
24658 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24660         * org-html.el (org-export-html-style-default): Add a default style
24661         for textareas.
24663         * org-exp.el (org-export-format-source-code-or-example):
24664         Fix textarea tag.
24666 2010-04-10  Bastien Guerry  <bzg@gnu.org>
24668         * org-clock.el (org-clock-current-task): New variable to store
24669         last clocked in task.
24670         (org-clock-set-current, org-clock-delete-current): New functions.
24672 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24674         * org-remember.el (org-remember-apply-template): Extend comment.
24675         (org-remember-handler): Implement clock sibling filing.
24677 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24679         * org-publish.el (org-publish-all, org-publish-current-file)
24680         (org-publish-current-project): When called with prefix argument
24681         FORCE, also rebuild the validation file list.
24683         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
24684         section headings.
24686 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24688         * org-html.el (org-export-as-html-and-open): Kill product buffer
24689         if the user wants that.
24691         * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
24692         if the user wants that.
24694         * org-exp.el (org-export-kill-product-buffer-when-displayed):
24695         New option.
24697         * org-agenda.el (org-batch-agenda-csv): Use the time property
24698         instead of the `time-of-day' property.
24700 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24702         * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
24703         (org-timer-pause-hook, org-timer-set-hook)
24704         (org-timer-cancel-hook): New hooks.
24705         (org-timer-start): Run `org-timer-start-hook'.
24706         (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
24707         (org-timer-stop): Run `org-timer-stop-hook'.
24708         (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
24710 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24712         * org.el (org-reveal): Double prefix arg shows the subtree of the
24713         parent.
24715 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24717         * org-agenda.el (org-search-view): Fix bug with searching full
24718         words in headlines in search view.
24719         (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
24720         (org-agenda-get-deadlines): Suppress pre-warning if the entry is
24721         scheduled (if the user configures it so.
24723 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24725         * org.el (org-hide-archived-subtrees): Don't jump to end of
24726         subtree if the match was not in a headline.
24727         (org-inside-latex-macro-p): Allow more complex arguments.
24728         (org-emphasize): Protect against use at end of buffer.
24730 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24732         * org-agenda.el (org-agenda-align-tags): Avoid side effects on
24733         text properties.
24735 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24737         * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
24738         values.
24739         (org-agenda-todo-ignore-scheduled)
24740         (org-agenda-todo-ignore-deadlines): More control with different
24741         allowed values.
24742         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
24743         Honor the new option settings.
24745 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24747         * org.el (org-get-location): Make sure the selection buffer is
24748         shown in the current frame.
24750         * org-ascii.el (org-export-ascii-table-widen-columns):
24751         New option.
24752         (org-export-ascii-preprocess): Realign tables to remove narrowing
24753         if `org-export-ascii-table-widen-columns' is set.
24755         * org-table.el (org-table-do-narrow): New variable.
24756         (org-table-align): Narrow only if `org-table-do-narrow' is t.
24758         * org.el (org-deadline, org-schedule): Allow updating if the
24759         relevant time stamp does not have a repeater, i.e. do not require
24760         that no time stamp has a repeater.
24762         * org-agenda.el (org-agenda-align-tags): Don't add a face to the
24763         new white space before the tags.
24765         * org-latex.el (org-export-as-latex): Do nit require the buffer to
24766         be visiting a file when only exporting to a buffer or string.
24767         (org-export-latex-fix-inputenc): Only save the buffer is there is
24768         a file name attached to it.
24770 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
24772         * org-src.el (org-edit-src-exit): Widen before exiting edit buffers.
24774 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24776         * org.el (org-fontify-meta-lines-and-blocks):
24777         Honor `org-fontify-quote-and-verse-blocks'.
24779         * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
24781 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24783         * org.el (org-open-at-point): Also check for text property
24784         org-linked-text before offering collected links.
24786 2010-04-10  Stephen Eglen  <stephen@gnu.org>
24788         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
24789         Optionally extract time specification from text and add to the
24790         timestamp.
24792 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24794         * org-exp.el (org-html-entities): Fix typo.
24796         * org-latex.el (org-export-latex-make-header): Use \providecommand
24797         to make sure the \alert macro is defined.
24799         * org.el (org-format-latex-signal-error)
24800         (org-create-formula-image): Use `org-format-latex-signal-error'.
24802 2010-04-10  Stephen Eglen  <stephen@gnu.org>
24804         * org.el (org-store-link): For dired buffers, use
24805         default-directory as link name if dired-get-filename returns
24806         nil.
24808 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24810         * org-exp.el (org-export-concatenate-multiline-links): The for
24811         protectedness at beginning of match.
24813         * org-latex.el (org-export-latex-fix-inputenc): Never leave the
24814         AUTO as a coding system, instead default to utf8.
24816 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24818         * org.el (org-block-todo-from-children-or-siblings-or-parent)
24819         (org-block-todo-from-checkboxes): Respect the local variable
24820         value when deciding if blocking should be active.
24822         * org-latex.el (org-export-latex-make-header): Define the align
24823         macro if it is not yet defined.
24825         * org-agenda.el (org-agenda-insert-diary-make-new-entry):
24826         Call `org-insert-heading' with the INVISIBLE-OK argument.
24828         * org-mac-message.el (org-mac-message-insert-flagged):
24829         Call `org-insert-heading' with the INVISIBLE-OK argument.
24831         * org.el (org-insert-heading): New argument INVISIBLE-OK.
24833         * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
24834         prompt message.
24836         * org-html.el (org-html-level-start): Use the
24837         `html-container-class' text property to set an additional class
24838         for an outline container.
24840         * org-exp.el (org-export-remember-html-container-classes):
24841         New function.
24842         (org-export-preprocess-string):
24843         Call `org-export-remember-html-container-classes'.
24845         * org.el (org-cycle): Mention level cycling in the docstring.
24846         (org-default-properties): Add new property HTML_CONTAINER_CLASS.
24848         * org-remember.el (org-remember-apply-template): Do file insertion
24849         first.
24851 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24853         * org-habit.el (org-habit-insert-consistency-graphs): Fix a
24854         problem with mis-aligned graphs when showing habits.
24856 2010-04-10  Mikael Fornius  <mfo@abc.se>
24858         * org.el (org-assign-fast-keys): Prefer keys used in keyword name
24859         when assigning.  Begin using numerical characters when all in name
24860         is used up.  This is to spare alphanumeric characters for better
24861         match with other keywords.
24863 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24865         * org-exp.el (org-export-preprocess-hook): Improve documentation.
24867         * org-latex.el (org-export-latex-preprocess): More consistent
24868         conversion and protection of the words LaTeX and TeX.
24869         (org-export-latex-fontify-headline, org-export-latex-preprocess):
24870         Allow angle brackets in commands, for beamer.
24872 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24874         * org-clock.el (org-clock-in): Improve the look of the clock line
24875         by formatting links.
24877 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24879         * org-latex.el (org-export-latex-classes): Use AUTO as the place
24880         holder string for the coding system.  And improve the
24881         documentation.
24882         (org-export-latex-fix-inputenc): Only modify the coding system if
24883         it is given by the placeholder AUTO.
24885 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24887         * org-clock.el (org-task-overrun-text): New option.
24888         (org-task-overrun, org-clock-update-period): New variables.
24889         (org-clock-get-clock-string, org-clock-update-mode-line):
24890         Mark overrun clock.
24891         (org-clock-notify-once-if-expired): Check if clock is overrun.
24893         * org-faces.el: New face `org-mode-line-clock-overrun'.
24895 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
24897         * org.el (org-narrow-to-subtree): Position the end of the narrowed
24898         region before the line with the next heading, to prevent the user
24899         from prepending text to the next headline.
24901 2010-04-10  Stephen Eglen  <stephen@gnu.org>
24903         * org-agenda.el (org-get-time-of-day):
24904         Use org-agenda-time-leading-zero to allow leading zero (rather than
24905         space) for times.
24907 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24909         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
24910         org-datetree.el is loaded.
24912         * org-datetree.el: Autoload `org-datetree-find-day-create'.
24914         * org-latex.el (org-export-latex-hyperref-format): New option.
24915         (org-export-latex-links): Use `org-export-latex-hyperref-format'.
24917 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24919         * org-ctags.el (org-ctags-enable): Change order of functions.
24920         (org-ctags-create-tags): Add wildcard to file name expansion.
24922 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24924         * org.el (org-entry-properties): Fix some important bugs.
24926 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24928         * org.el (org-link-unescape, org-link-escape): Only use hexlify if
24929         the table is not explicitly given.
24931 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24933         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
24934         as value.
24935         (org-clock-out-if-current): Work with the new list value of
24936         `org-clock-out-when-done'.
24937         (org-clock-out, org-clock-out-if-current): Avoid circular logic
24938         between clocking out and state changes.
24940         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
24942         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
24943         accident protect a character that is before a backslash.
24945 2010-04-10  Paul Sexton  <eeeickythump@gmail.com>
24947         * org-ctags.el: New file.
24949 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24951         * org-agenda.el (org-diary-class):
24952         Use `org-order-calendar-date-args'.
24954         * org.el (org-order-calendar-date-args): New function.
24956         * org-exp.el (org-export-target-internal-links): Check for
24957         protectedness after the first bracket.
24959         * org.el (org-entry-properties): Don't match wrong-case TODO
24960         keywords.
24962         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
24963         Document that ARG is passed through to remove the date.
24964         (org-agenda-bulk-action): Accept prefix arg and pass it on.
24965         Do not read a date when the user has given a `C-u' prefix.
24967 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24969         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
24970         tags are hidden.
24972 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24974         * org-latex.el (org-export-latex-fix-inputenc): New function.
24975         (org-export-latex-inputenc-alist): New option.
24977         * org-exp.el (org-export): New key SPC to publish enclosing
24978         subtree.
24980 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24982         * org-indent.el (org-indent-add-properties): Catch case when there
24983         is no headline in the buffer.
24985 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24987         * org-exp.el (org-html-entities): Add checkmark symbol.
24989         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
24990         verbatim code for ASCII export.
24992         * org.el (org-update-statistics-cookies): Also see checkboxes in
24993         ordered lists.
24995 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
24997         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
24998         key.
25000         * org-beamer.el (org-beamer-amend-header): Change the location
25001         where `org-beamer-header-extra' is inserted.
25003         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
25004         just for computing this regexp.
25006 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25008         * org-beamer.el (org-beamer-frame-default-options): New option.
25009         (org-beamer-sectioning): Use default options if the user does not
25010         have defined any.
25011         (org-beamer-fix-toc): Put a frame around the table of contents.
25013         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
25014         Make sure case-folding works well when processing comment stuff.
25016         * org-latex.el (org-export-latex-after-save-hook): New hook.
25017         (org-export-as-latex): Run the new hook.
25019 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25021         * org-beamer.el (org-beamer-environments-default): Add the note
25022         environments.
25023         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
25024         lines and collect and combine the content.
25025         (org-beamer-after-initial-vars): Check for note tags and make sure
25026         they will be seen like a property.
25028         * org.el (org-offer-links-in-entry): Fix bug when there is a
25029         single link.
25031         * org-exp.el (org-export): Make sure the mark is activated, also
25032         when `transient-mark-mode' is off.
25034         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
25035         (org-agenda-search-view-search-words-only): Obsolete variable, is
25036         now an alias for `org-agenda-search-view-always-boolean'.
25037         (org-agenda-search-view-force-full-words): New option.
25038         (org-search-view): Improve docstring, and implement a better logic
25039         for Boolean and phrase searches.
25040         (org-agenda-last-search-view-search-was-boolean): New variable.
25041         (org-agenda-manipulate-query): Consider the type of the last
25042         search when modifying the search string.
25044 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25046         * org-latex.el (org-export-as-latex): Do the first letbind in the
25047         right moment.
25049         * org-agenda.el (org-get-entries-from-diary): Add the new face to
25050         these entries.
25052         * org-faces.el (org-agenda-diary): New face.
25054         * org.el (org-make-link-regexps): Allow regexp-special characters
25055         in link types.
25056         (org-open-file): When in-emacs is `system', also force system
25057         opening, like when the value was `(16)'.
25058         (org-update-statistics-cookies): Handle entries without children.
25060         * org-exp.el
25061         (org-export-preprocess-before-normalizing-links-hook): New hook.
25062         (org-export-preprocess-string): Run the new hook.
25064         * org.el (org-offer-links-in-entry): Make RET open all links.
25066         * org-html.el (org-export-as-html): Remove any leftover display
25067         properties in the html file.
25069         * org-wl.el (org-wl-store-link): Work-around for format bug with
25070         text properties.
25072         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
25073         invisibility while adding the graphs.
25075 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25077         * org-remember.el (org-select-remember-template): Use C letter to
25078         customize remember templates.
25080         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
25081         Move cursor to next visible line.
25083 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25085         * org-beamer.el (org-beamer-sectioning): Leave columns environment
25086         by specifying 0 or 1 for column width.
25087         (org-beamer-column-widths): Make 0 stand for 0.0.
25089 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25091         * org-exp.el (org-export-mark-radio-links): Don't match inside
25092         <<target>>.
25094         * org.el (org-format-latex-header-extra): New variable.
25095         (org-format-latex): Set org-format-latex-header-extra from
25096         in-buffer stuff.
25097         (org-format-latex): Add org-format-latex-header-extra to the
25098         variables on which image creation depends.
25099         (org-create-formula-image): Add the header stuff from in-buffer
25100         settings.
25101         (org-read-date-analyze): Base the analysis for future preference
25102         on NOW, not on the default date.
25104         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
25105         for TODO keyword in inline tasks.
25107         * org.el (org-log-note-headings): New headings for removing
25108         deadline or scheduling date.
25109         (org-deadline, org-schedule): Arrange for logging when removing a
25110         date.
25111         (org-add-log-note): Handle deadline and scheduling removal.
25113 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25115         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
25117 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25119         * org-agenda.el (org-diary-class): New function.
25121 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25123         * org-latex.el (org-export-latex-preprocess): Do process the text
25124         of a radio target.
25126 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25128         * org.el (org-entry-properties): Add TIMESTAMP properties back
25129         in.
25131 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25133         * org.el (org-all-time-keywords): New variable.
25134         (org-set-regexps-and-options): Set `org-all-time-keywords'.
25135         (org-entry-blocked-p): New function.
25136         (org-special-properties): Add BLOCKED as a new special property.
25137         (org-entry-properties): New optional argument SPECIFIC, only parse
25138         for this property when it is specified.
25139         (org-entry-get): Pass a SPECIFIC argument to
25140         `org-entry-properties'.
25142         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
25144 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25146         * org-latex.el (org-export-latex-tables): No forced line end if
25147         there is no caption.
25149 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25151         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
25152         package.
25154         * org-latex.el (org-export-latex-tables): Only add a caption when
25155         macro is in longtable environments if one has been defined.
25157         * org-html.el (org-export-as-html): Only take title from buffer if
25158         not exporting body-only.
25160         * org-latex.el (org-export-latex-preprocess): Better version of
25161         the regular expression for protecting LaTeX macros.
25162         (org-export-latex-preprocess): Start searching for macros to
25163         protect from beginning of buffer.
25165         * org-exp.el (org-export-target-internal-links): Check for
25166         protectedness earlier in the string.
25168         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
25169         case sensitively.
25171         * org-id.el (org-id-store-link): Match TODO keywords case
25172         sensitively.
25174         * org.el (org-heading-components, org-get-outline-path)
25175         (org-display-outline-path): Match TODO keywords case sensitively.
25177         * org-latex.el (org-export-as-latex): Ignore read-only
25178         properties.
25180         * org-exp.el (org-export-preprocess-string): Remove any
25181         `read-only' properties.
25183         * org-agenda.el (org-agenda-inactive-leader): New option.
25184         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
25185         (org-tags-view): Prompt for matcher if MATCH is an empty string.
25186         (org-todo-list): Prompt for matcher if ARG is an empty string.
25188 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25190         * org.el (org-open-link-functions): New hook.
25191         (org-open-at-point): Run `org-open-link-functions'.
25193 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25195         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
25196         stamps as well.
25198         * org.el (org-inhibit-startup-visibility-stuff): New variable.
25199         (org-mode): Don't do startup visibility if inhibited.
25200         (org-outline-overlay-data, org-set-outline-overlay-data):
25201         New functions.
25202         (org-save-outline-visibility): New macro.
25203         (org-log-note-headings): Document that one should not change the
25204         `state' note format.
25206 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25208         * org.el (org-make-link-regexps): Capture link path into a group.
25210 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25212         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
25213         the options plist.
25215 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25217         * org.el (org-startup-with-beamer-mode): New option.
25218         (org-property-changed-functions)
25219         (org-property-allowed-value-functions): New hooks.
25220         (org-entry-put, org-property-get-allowed-values): Run the new
25221         hooks.
25222         (org-property-next-allowed-value): Run the new hooks.
25224         * org-exp.el (org-export-select-backend-specific-text): Add the
25225         special beamer tags.
25227         * org-beamer.el: New file.
25229         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
25230         (org-export-as-latex):
25231         Run `org-export-latex-after-initial-vars-hook'.
25232         (org-export-latex-format-toc-function)
25233         (org-export-latex-make-header):
25234         Call `org-export-latex-format-toc-function'.
25236         * org.el (org-fill-template): Make template searches case sensitive.
25238         * org-exp.el (org-export): Use "1" as a sign to export only the
25239         subtree.
25241         * org-colview.el (org-columns-edit-value):
25242         Use org-unrestricted property.
25244         * org.el (org-compute-property-at-point): Set org-unrestricted
25245         text property if the list contains ":ETC".
25246         (org-insert-property-drawer):
25247         Use org-unrestricted property.
25249         * org-exp.el
25250         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
25251         (org-export-preprocess-string):
25252         Run `org-export-preprocess-before-selecting-backend-code-hook'.
25254         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
25256         * org-latex.el (org-export-region-as-latex):
25257         Run `org-export-first-hook'.
25259         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
25261         * org-docbook.el (org-export-as-docbook):
25262         Run `org-export-first-hook'.
25264         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
25266         * org-exp.el (org-export-first-hook): New hook.
25268 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25270         * org-list.el (org-previous-item): Exit at the beginning of the
25271         buffer.
25273         * org-id.el (org-id-locations-save): Only write the id locations
25274         if any are defined.
25276         * org-archive.el (org-archive-all-done): Make this work in a file
25277         with org-odd-levels-only set.
25279         * org.el (org-get-refile-targets): Catch the case when a buffer
25280         has no file.
25282         * org-latex.el (org-export-as-latex): Cleanup forced line ends
25283         where they are not needed.
25284         (org-export-latex-subcontent): Remove unnecessary newlines.
25286 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25288         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
25289         (org-export-latex-fontify): Fix regexp bug that takes special
25290         care of protecting the right boundary characters in emphasis
25291         matches.
25292         (org-export-latex-preprocess): Allow multiple arguments to latex
25293         macros.
25295         * org.el (org-make-link-regexps): Use John Gruber's regexp for
25296         urls.
25298         * org-macs.el (org-re): Interpret :punct: in regexps.
25300         * org-exp.el (org-export-replace-src-segments-and-examples):
25301         Also take the final newline after the END line.
25303         * org.el (org-clean-visibility-after-subtree-move): Only fix
25304         entries that are not entirely invisible already.
25305         (org-insert-link): Respect org-link-file-path-type for
25306         "docview:" links in addition to "file:" links.
25308 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25310         * org-exp.el (org-export-format-source-code-or-example):
25311         Avoid additional extra white lines in LaTeX.
25313         * org-list.el (org-list-parse-list): Leave empty lines after the
25314         list, don't consider them as part of the list.
25316         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
25317         searches.
25319         * org-clock.el (org-clock-select-task): Convert integer to
25320         character for XEmacs.
25322 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25324         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
25325         compatible.
25327 2010-04-10  Tassilo Horn  <tassilo@member.fsf.org>
25329         * org.el (org-complete-tags-always-offer-all-agenda-tags):
25330         New variable.
25331         (org-set-tags): Use it.
25333 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25335         * org-list.el (org-empty-line-terminates-plain-lists):
25336         Update docstring.
25338         * org.el (org-format-latex): Fix link creation for processed latex
25339         snippets.
25341 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25343         * org-footnote.el (org-footnote-normalize): Protect replacement
25344         text.
25346         * org.el (org-inside-latex-macro-p): Save match data.
25348 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
25350         * org-docview.el: New file.
25352 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25354         * org-latex.el (org-export-latex-class-options): New variable.
25355         (org-export-latex-set-initial-vars): Use the class options.
25357         * org.el (org-forward-same-level): Stop at headings that start
25358         with an invisible character.
25359         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
25361 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25363         * org-footnote.el (org-footnote-normalize): Don't take optional
25364         arguments in LaTeX macros as footnotes.
25366         * org.el (org-inside-latex-macro-p): New function.
25368         * org-latex.el (org-latex-to-pdf-process): Change customization
25369         group to `org-export-pdf'.
25371         * org-agenda.el (org-agenda-get-blocks): Look at time string also
25372         on days after the first one.
25374         * org.el (org-insert-heading): Also check for item before assuming
25375         before-first-heading condition.
25377         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
25378         (org-export-pdf-logfiles): New option.
25379         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
25380         (org-export-pdf-logfiles): Fix customization type.
25382         * org.el (org-insert-link): Improve error message when there is no
25383         default link to select with RET.
25385         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
25386         parameter list.
25388 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25390         * org-latex.el (org-export-latex-parse-global)
25391         (org-export-latex-parse-content)
25392         (org-export-latex-parse-subcontent):
25393         Use `org-re-search-forward-unprotected'.
25394         (org-export-as-pdf): Remove log files produced by XeTeX.
25396         * org-macs.el (org-re-search-forward-unprotected): New function.
25398 2010-04-10  James TD Smith  <ahktenzero@mohorovi.cc>
25400         * org-colview.el (org-agenda-colview-summarize): Sort out some
25401         confusion between properties and titles, which resulted in
25402         agenda summaries not working if a title was set for a column.
25404 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25406         * org-mobile.el (org-mobile-agendas): New option.
25407         (org-mobile-sumo-agenda-command): Select the right agendas.
25409         * org-latex.el (org-export-latex-format-image): Preserve the
25410         original-indentation property.
25412 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25414         * org-clock.el (org-clock-insert-selection-line): Catch error when
25415         an old tasks no longer exists.
25417         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
25418         (org-export-as-pdf): Don't remove the old PDF file before making
25419         the new one.
25421         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
25422         (org-mouse-context-menu): Use `org-looking-back'.
25424         * org.el (org-cycle-level): Use `org-looking-back'.
25426         * org-list.el (org-cycle-item-indentation):
25427         Use `org-looking-back'.
25429         * org-compat.el (org-looking-back): New function.
25431         * org.el (org-insert-heading): Catch before-first-headline when
25432         inserting a headline.
25434 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25436         * org-latex.el (org-export-latex-format-image): Indent figure
25437         environment, so that it does not interrupt plain list.
25439         * org.el (org-open-at-point): Allow long link descriptions.
25441 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
25443         * org-html.el (org-export-as-html): Remove empty lines at the
25444         beginning of the exported text.
25446 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
25448         * org.el (org): Remove from hypermedia group.
25450 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
25452         * Branch for 23.2.
25454 2010-02-15  Chong Yidong  <cyd@stupidchicken.com>
25456         * org-freemind.el (org-freemind-from-org-mode-node)
25457         (org-freemind-from-org-mode)
25458         (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
25459         Pass arg to called-interactively-p.
25461 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
25463         * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten):
25464         Fix typos in docstrings.
25466 2010-01-01  Juanma Barranquero  <lekktu@gmail.com>
25468         * org.el (org-get-outline-path, org-speed-command-help):
25469         Fix typos in error messages.
25471 2009-12-14  Juri Linkov  <juri@jurta.org>
25473         * org-html.el (org-export-html-style-include-default):
25474         Put `safe-local-variable booleanp' on
25475         `org-export-html-style-include-default' instead of mistakenly
25476         duplicate `org-export-html-style'.
25478 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
25480         * org-agenda.el (org-agenda-diary-entry-in-org-file):
25481         Rebuild agenda after adding new entry.
25483         * org-datetree.el (org-datetree-find-day-create): Fix regular
25484         expression.
25486         * org.el (org-display-outline-path): Use a format specifier for
25487         message, to avoid problems with heading containing `%'.
25489         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
25490         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
25491         (org-agenda-fix-displayed-tags): New function.
25492         (org-agenda-do-context-action): Just call
25493         `org-display-outline-path', without piping the result through
25494         `message'.
25496         * org-latex.el (org-export-latex-preprocess): Protect secondary
25497         footnote references.
25499         * org-indent.el (org-indent-initialize): Avoid empty strings as
25500         line prefixes.
25502         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
25503         hat checking for the mark does not throw an error.
25504         (org-agenda-diary-entry-in-org-file): Catch the case that there is
25505         not `day' text property in the cursor line.
25507         * org.el (org-sort-entries-or-items): Make sure that the final
25508         entry has a newline before doing the sorting.
25510         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
25511         property at the beginning of the line.
25513         * org.el (org-make-link-string): Don't allow a description with
25514         only white space.
25516         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
25517         (org-agenda-insert-diary-as-top-level): New function.
25518         (org-agenda-add-entry-to-org-agenda-diary-file):
25519         Call `org-agenda-insert-diary-as-top-level'.
25521         * org.el (org-occur-in-agenda-files): Make sure none of the
25522         buffers is narrowed.
25523         (org-activate-plain-links): Add the face property here.
25524         (org-set-font-lock-defaults): Do not add the face to plain links,
25525         the activator function does this.
25527         * org-habit.el (org-is-habit-p): Add doc string.
25529         * org-archive.el (org-archive-subtree-default-with-confirmation):
25530         Autoload.
25532         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
25533         after match optional (happens at the end of a line...).
25535         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
25536         for special blocks.
25538         * org-faces.el (org-copy-face): Set lisp indentation.
25539         (org-quote, org-verse): New faces.
25541         * org-agenda.el (org-agenda-remove-date): Remove variable.
25543         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
25545         * org-html.el (org-export-as-html): Move the home/up link into
25546         the content div.
25548         * org.el (org-export-latex-packages-alist): Option definition
25549         moved here from org-latex.el.
25551         * org-html.el (org-export-html-home/up-format): Add an ID to the
25552         up/home div.
25554         * org-wl.el (org-wl-store-link): Handle the case that
25555         `wl-use-petname' is set.
25557         * org.el (org-set-effort): Improve prompt.
25558         (org-get-outline-path): Widen to get full path.
25559         (org-compact-display-after-subtree-move): Function removed.
25561 2009-11-20  Eric Schulte  <schulte.eric@gmail.com>
25563         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
25564         hash keys to cache and re-use images generated by the
25565         org-exp-blocks interface to ditaa and dot.
25567         * org.el (org-format-latex): Latex images are now saved to files
25568         named by the sha1 hash of the latex source text avoiding
25569         regeneration of identical images.
25571 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
25573         * org-latex.el (org-export-as-latex): Add the :drawers property.
25575 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
25577         * org.el (org-speed-commands-user): Allow documentation headlines.
25578         (org-speed-commands-default): Organize the value of this constant
25579         with descriptive headlines.
25580         (org-print-speed-command): Output the headlines.
25582 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
25584         * org-agenda.el (org-agenda-show-outline-path): New option.
25585         (org-agenda-do-context-action): New function.
25586         (org-agenda-next-line, org-agenda-previous-line):
25587         Use `org-agenda-do-context-action'.
25589         * org.el (org-use-speed-commands): Allow function value.
25590         (org-speed-commands-default): Make headline motion safe, so that
25591         these commands always end on a headline.
25592         (org-speed-commands-default): New key `v' for `org-agenda'.
25593         (org-speed-move-safe): New function.
25594         (org-self-insert-command): Use the function value of
25595         `org-use-speed-commands'.
25596         (org-get-outline-path): Improve docstring.
25597         (org-format-outline-path): New function.
25598         (org-display-outline-path): New function.
25600 2009-11-15  John Wiegley  <jwiegley@gmail.com>
25602         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
25603         a string, use that to find the LOGBOOK drawer.
25605 2009-11-15  Glenn Morris  <rgm@gnu.org>
25607         * org-agenda.el (org-datetree-find-date-create)
25608         (org-habit-get-priority):
25609         * org.el (org-format-agenda-item): Fix declarations.
25611 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
25613         * org.el (org-clone-subtree-with-time-shift): Make it work at the
25614         end of the buffer.
25616         * org-mobile.el (org-mobile-write-checksums): Specify coding
25617         system.
25618         (org-mobile-timestamp-buffer): Keep local variable/mode line at
25619         beginning of buffer.
25621         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
25623         * org.el (org-block-todo-from-children-or-siblings-or-parent)
25624         (org-block-todo-from-checkboxes): Do not block changes to a nil
25625         TODO state.
25627 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
25629         * org-habit.el (org-habit-parse-todo): Indicate which habit is
25630         wrongly set up in the error messages.
25632         * org-colview.el (org-columns-display-here): Don't try to
25633         calculate values if the underlying property is not set.
25634         (org-columns-string-to-number): Convert age strings back into
25635         fractional days.
25636         (org-agenda-colview-summarize): Handle extended summary types
25637         properly.
25639 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
25641         * org-exp.el (org-export-format-drawer-function): New variable.
25642         (org-export-format-drawer): New function.
25643         (org-export-preprocess-string): Pass the backend as a parameter to
25644         `org-export-remove-or-extract-drawers'.
25645         (org-export-remove-or-extract-drawers): New parameter BACKEND.
25647         * org-protocol.el (org-protocol-char-to-string): New defsubst.
25649 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
25651         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
25652         message when no block is selected.
25654         * org-latex.el (org-export-latex-links): Check for protectedness
25655         in the last matched character, not after the match.
25657         * org-datetree.el (org-datetree-find-date-create):
25658         Respect restriction when KEEP-RESTRICTION is set.
25659         (org-datetree-file-entry-under): New function.
25660         (org-datetree-cleanup): New command.
25662 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
25664         * org-src.el (org-edit-src-code): New optional argument context
25665         allows calling functions to avoid altering the saved window
25666         configuration.
25667         (org-edit-src-exit): Do not restore window configuration when this
25668         function is used in the context of saving the edit buffer.
25670 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
25672         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
25673         instances to switching to with-current-buffer, because these seem
25674         to cause problems - no idea why.
25676         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
25677         Require diary-lib for (diary-date-display-form).
25679 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
25681         * org.el (org-log-reschedule, org-log-redeadline): New options.
25682         (org-log-note-headings): Add templates for rescheduling and
25683         deadline changing.
25684         (org-startup-options): Add in-buffer settings for logging changing
25685         schedule and deadline time stamps.
25686         (org-deadline, org-schedule): Check for existing date and arrange
25687         for logging if the user requests it.
25688         (org-add-log-note): Prepare proper note buffers for rescheduling
25689         and deadline changes.
25691 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
25693         * org-agenda.el (org-agenda-diary-entry-in-org-file)
25694         (org-agenda-add-entry-to-org-agenda-diary-file)
25695         (org-agenda-insert-diary-make-new-entry): New functions.
25696         (org-agenda-diary-entry):
25697         Call `org-agenda-diary-entry-in-org-file' when appropriate.
25699         * org.el (org-calendar-insert-diary-entry-key): New option.
25700         (org-agenda-diary-file): New option.
25701         ("calendar"): Install our insertion function in the calendar.
25703         * org-remember.el (org-datetree): Require.
25704         (org-remember-templates): Add new positioning option.
25705         (org-remember-reference-date): New variable.
25706         (org-remember-apply-template): Store the reference date in a local
25707         variable.
25708         (org-remember-handler): Implement date tree positioning of entries.
25710         * org-datetree.el: New file.
25712         * org-latex.el (org-export-latex-preprocess): Protect targets in
25713         verbatim emphasis.
25715         * org-html.el (org-export-as-html): Protect targets in verbatim
25716         emphasis.
25718         * org-docbook.el (org-export-as-docbook): Protect targets in
25719         verbatim emphasis.
25721 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
25723         * org-clock.el (org-show-notification): Handle messages that
25724         contain a percent character.
25726         * org-remember.el (org-remember-apply-template): Turn of partial
25727         completion.
25729         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
25730         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
25732         * org.el (org-indent-mode): Define variable already in org.el.
25733         (org-unfontify-region): Remove line-prefix and wrap-prefix
25734         properties only if org-indent-mode is active.
25736 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
25738         * org-icalendar.el (org-print-icalendar-entries): Save match data
25739         around call to verify function.
25740         (org-print-icalendar-entries): Add a call to the verification
25741         function.
25743         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
25744         save-restrivtion' form.
25746 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
25748         * org-exp.el (org-export-format-source-code-or-example):
25749         Restrict scope of preserve-indentp to the let binding.
25750         (org-src): Require org-src, since org-src-preserve-indentation is used.
25752 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
25754         * org-timer.el (org-timer-set-timer): Set variables
25755         org-timer-timer[123] correctly.
25757         * org-mobile.el (org-mobile-files-alist): Make it work when
25758         `agenda-archives' is included in
25759         `org-agenda-text-search-extra-files'.
25760         (org-mobile-push): Restore agenda after mobile push.
25762 2009-11-13  John Wiegley  <jwiegley@gmail.com>
25764         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
25765         way the amount of idle time is presented in the minibuffer.
25767 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
25769         * org-icalendar.el (org-print-icalendar-entries):
25770         Use org-icalendar-verify-function only if non-nil.
25772         * org.el (org-refile): Refile to clock only if the prefix arg is
25773         2.
25774         (org-sparse-tree): Fix docstring to be in line with prompt.
25775         (org-update-parent-todo-statistics):
25776         Call `org-after-todo-statistics-hook' on each level.
25778 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
25780         * org-remember.el (org-remember-apply-template): Make sure the
25781         buffer exists.
25783 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
25785         * org.el (org-tab-ind-state): New variable.
25786         (org-cycle-level): New function.
25787         (org-cycle-level-after-item/entry-creation): New option.
25788         (org-flag-subtree): New function.
25789         (org-hide-archived-subtrees): Call `org-flag-subtree'.
25790         (org-set-effort): Indexed access.
25792         * org-list.el (org-cycle-item-indentation): New function.
25794         * org.el (org-refile): Make prefix argument 2 refile to current
25795         clock.
25796         (org-priority): Interpret action `remove' as call to remove the
25797         priority cookie.
25799         * org-remember.el (org-remember-apply-template): Don't depend on
25800         buffer name being like file name.
25802 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
25804         * org-clock.el (org-clock-play-sound): Expand file in
25805         org-clock-sound, to allow ~ for home.
25807         * org-remember.el (org-remember-handler):
25808         Set text-before-node-creation even if this already looks like a node,
25809         because the string might be needed on non-org-mode target files.
25811         * org-agenda.el (org-agenda-open-link): Make this work in agenda
25812         clocktables.
25813         (org-agenda-switch-to): Follow a link at point if
25814         org-return-follows-link' is set and there is nothing else to do in
25815         this line.
25817 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
25819         * org-exp-blocks.el: Modify split separator regexp to avoid empty
25820         strings.
25822 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
25824         * org-colview.el (org-columns-new): Make this work with the new
25825         operators.
25826         (org-columns-store-format): Make this work with the new operators.
25828 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
25830         * org-src.el (org-src-preserve-indentation): Document that this
25831         variable is also used during export.
25833         * org-exp.el (org-export-format-source-code-or-example):
25834         Preserve indentation if a block has a -i option, or if
25835         `org-src-preserve-indentation' is set.
25837         * org-exp-blocks.el (org-export-blocks-preprocess):
25838         Preserve indentation if a block has a -i option, or if
25839         `org-src-preserve-indentation' is set.
25841 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
25843         * org.el (org-mode-map): Define the new archiving keys.
25844         (org-speed-commands-default): Define an archiving key in the speed
25845         command map.
25846         (org-org-menu): Improve the menu structure concerning archiving.
25848         * org-archive.el (org-archive-subtree-default-with-confirmation):
25849         New command.
25851         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
25852         (org-agenda-menu): Add the new archiving commands to the menu.
25853         (org-agenda-archive-default)
25854         (org-agenda-archive-default-with-confirmation): New commands.
25855         (org-agenda-archive, org-agenda-archive-to-archive-sibling):
25856         Just call `org-agenda-archive-with'.
25857         (org-agenda-archive-with): New function.
25859         * org-table.el (org-table-convert-region): Inert spaces around "|"
25860         to avoid line beginnings like "|-1" which will be mistaken as
25861         hlines.
25863 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
25865         * org.el (org-offer-links-in-entry): Return nil if there are no
25866         links, t if a link has been selected.
25867         (org-open-at-point): Open attachment directory when called in the
25868         headline and there are no links in the entry body.
25869         (org-speed-commands-default): Add "o" for open-at-point as a speed
25870         command.
25872         * org-attach.el (org-attach-reveal): Optional prefix arg
25873         IF-EXISTS, which avoids creating the attachment directory if it
25874         does not yet exist.
25876         * org-agenda.el (org-agenda, org-run-agenda-series):
25877         Evaluate MATCH.
25879 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
25881         * org.el ("abbrev"): Work with abbrev tables only after they have
25882         been loaded.
25884         * org-list.el (org-list-send-list): Fix bug related to match
25885         data.
25887         * org-latex.el (org-export-latex-fontify): Apply verbatim
25888         emphasis.
25889         (org-export-latex-make-header): Insert \obeylines if line breaks
25890         should be preserved.
25892         * org-exp.el (org-export-protect-verbatim): Add an
25893         `org-verbatim-emph' property to such text.
25895 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
25897         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
25898         (org-print-icalendar-entries): Skip entries where the timestamp is
25899         not a deadline and not scheduled, if the user requests that.
25901         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
25902         before an opening quote.
25904         * org-archive.el (org-archive-subtree): Keep archive after
25905         archiving something.
25907         * org-id.el (org-id-update-id-locations): Add archive files if
25908         that is required by `org-id-extra-files'.
25910 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
25912         * org-src.el (org-src-window-setup): New option.
25913         (org-src-switch-to-buffer): New function.
25914         (org-edit-src-exit): Add optional argument CONTEXT and use it to
25915         restore window configuration.
25916         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
25917         Call `org-src-switch-to-buffer'.
25919         * org.el (org-default-properties): Add STYLE property.
25920         (org-files-list): Use the function call to get the files.
25921         (org-additional-option-like-keywords): Add SETUPFILE to completion
25922         list.
25924 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
25926         * org-table.el (org-table-convert-region): Correctly interpret
25927         quoting in csv import.
25929         * org.el (org-icompleting-read): Make iswitchb completion work
25930         with lists and tables.
25932         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
25933         while pushing the mobile agenda.
25935 2009-11-13  John Wiegley  <jwiegley@gmail.com>
25937         * org-clock.el (org-clock-auto-clock-resolution): Now takes three
25938         values: nil, t and `when-no-clock-is-running'.
25939         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
25940         whether or not to resolve Org buffers on clock in.
25942 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
25944         * org-colview.el (org-format-time-period): Function to format
25945         times in fractional days for display.
25946         (org-columns-display-here): Add support for showing a calculated
25947         value in place of the property.
25948         (org-columns): Set `org-columns-time' to the current time so time
25949         difference calculations will work.
25950         (org-columns-time): Use to store the current time when column view
25951         is displayed, so all time differences will use the same reference
25952         point.
25953         (org-columns-compile-map): There is now an extra position in each
25954         entry specifying the function to use to calculate the displayed
25955         value for the non-calculated properties in the column.
25956         (org-columns-compute-all): Set `org-columns-time' to the current
25957         time so time difference calculations will work.
25958         (org-columns-compute): Handle column operators where the values
25959         used are calculated from the underlying property.
25960         (org-columns-number-to-string): Handle the 'age' column format.
25961         (org-columns-string-to-number): Correct the function name (was
25962         org-column...).  Add support for the 'age' column format.
25963         (org-columns-compile-format): Support the additional parameter in
25964         org-columns-compile-map.
25966 2009-11-13  Bastien Guerry  <bzg@gnu.org>
25968         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
25969         variable.
25971 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
25973         * org-clock.el (org-clock-has-been-used): New variable.
25974         (org-clock-in): Set `org-clock-has-been-used'.
25975         (org-clock-save): Save only if clock data has been used or created
25976         during this session.
25978 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
25980         * org-clock.el (org-clock-persist): New value, to store only the
25981         clock history.
25982         (org-clock-save): Don't save the clock if only the history should
25983         be stored.
25984         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
25985         when restoring a saved clock.
25987 2009-11-13  John Wiegley  <jwiegley@gmail.com>
25989         * org-clock.el (org-clock-display, org-clock-put-overlay):
25990         Use `org-time-clock-use-fractional'.
25992         * org.el (org-time-clocksum-use-fractional)
25993         (org-time-clocksum-fractional-format): Two new customizable
25994         variables which allow the user to select fractional times (1.25
25995         instead of 1:25) in the `org-clock-display' report.
25997 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
25999         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
26000         New option.
26002         * org.el (org-tag-alist): Fix customization type.
26004 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26006         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
26007         Make sure the regexp search can fail without throwing an error.
26008         (org-mobile-apply): Save the inbox buffer after removing
26009         successfully applied changes.
26011 2009-11-13  John Wiegley  <jwiegley@gmail.com>
26013         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
26014         time is reported after the user comes back (but before they
26015         resolve time).
26017         * org.el (org-get-repeat): Change so that this function can be
26018         called with either `org-scheduled-string' or
26019         `org-deadline-string'.
26021         * org-clock.el (org-clock-auto-clock-resolution): Rename from
26022         `org-clock-disable-clock-resolution', since negatives don't sound
26023         good in customization variables.
26024         (org-clock-in): Don't use the auto-resolution logic if the user is
26025         clocking into a different task while an active clock is running.
26026         This then allows the default behavior of clocking out of the open
26027         task and then into the new task.
26029         * org.el (org-modules): Made this variable more consistent, since
26030         it was referring to Org, OrgMode and Org-mode, whereas the docs
26031         for the variable always refer to Org-mode.
26033 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
26035         * org.el (org-repeat-re): The changed org-repeat-re no longer
26036         matched simple +2d type repeaters.  Fix it so it does.
26038 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26040         * org-latex.el (org-export-latex-preprocess): Protect the vspace
26041         macro in the VERSE environment.
26043 2009-11-13  John Wiegley  <jwiegley@gmail.com>
26045         * org-habit.el (org-habit-get-priority): A new function that
26046         determines the relative priority of a habit, based on how long
26047         past its scheduled date it is, and how near the deadline is.
26049         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
26050         using `org-habit-get-priority'.
26052         * org-habit.el (org-habit-build-graph): Start displaying colors
26053         from the first scheduled date, if that date is earlier than the
26054         first completion date.
26056         * org-habit.el: Changed all "color" variables to faces, and made
26057         them appropriate for light and dark backgrounds.
26059         * org-habit.el (org-habit-duration-to-days): Made this function
26060         more general.
26061         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
26063         * org-agenda.el (org-agenda-get-deadlines): Remove all mention of
26064         habits, since they don't use DEADLINE anymore.
26066         * org.el (org-repeat-re, org-display-custom-time)
26067         (org-timestamp-change): Extend to support the new ".+N/N"
26068         syntax, used for habits.
26070         * org-clock.el (org-clock-resolve-clock): Fix an incorrect
26071         variable reference.
26073         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
26074         modeline when habits are being displayed (if that module is being
26075         loaded).
26077 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
26079         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
26080         idle time using the xscreensaver extension.
26081         (org-user-idle-seconds): Use X11 idle time if available.
26083 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26085         * org-agenda.el (org-agenda-next-line): New command.
26086         (org-agenda-previous-line): New commands.
26087         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down):
26088         New commands.
26089         (org-agenda-follow-mode): Do the follow immediately if the mode is
26090         turned on here.
26091         (previous-line, next-line): Replace keys with the corresponding
26092         org functions.
26093         (org-agenda-mode-map): Bind backspace and delete to the scrolling
26094         command.
26096         * org.el (org-icompleting-read): Turn off partial completion mode
26097         for the duration of this completion round.
26099         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
26100         macros in author lines and similar stuff.
26102         * org.el (org-file-tags): Fix docstring.
26103         (org-get-buffer-tags): Add the #+FILETAGS tags.
26104         ("ecb"): Make ecb show context after jumping into an Org file.
26106 2009-11-13  John Wiegley  <johnw@newartisans.com>
26108         * org-agenda.el (org-finalize-agenda): Draw habit consistency
26109         graphs after everything else in the buffer has been setup.
26111 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26113         * org-mobile.el (org-mobile-apply): Count success and failure.
26115         * org.el (org-indent-line-function): Fix regexp replace problem.
26117 2009-11-13  John Wiegley  <johnw@newartisans.com>
26119         * org-clock.el (org-clock-disable-clock-resolution):
26120         New customization variable that disable automatic clock resolution on
26121         clock in.
26122         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
26123         not automatically resolve anything.  This is does not affect
26124         idle-time resolution, however, if `org-clock-idle-time' is set.
26126 2009-11-13  John Wiegley  <johnw@newartisans.com>
26128         * org-habit.el: New file, which implements code to build a "habit
26129         consistency graph".
26131         * org-agenda.el (org-agenda-get-deadlines)
26132         (org-agenda-get-scheduled): Display consistency graphs when
26133         outputting habits into the agenda.  The graphs are always relative
26134         to the current time.
26135         (org-format-agenda-item): Add new parameter `habitp', which
26136         indicates whether we are formatting a habit or not.  Do not
26137         display "extra" leading information if habitp is true.
26139         * org.el (org-repeat-re): Improve regexp to include .+ and ++
26140         leaders for repeat strings.
26141         (org-get-repeat): Now takes a string parameter `tagline', so the
26142         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
26144 2009-11-13  John Wiegley  <johnw@newartisans.com>
26146         * org-agenda.el (org-agenda-auto-exclude-function):
26147         New customization variable for allowing the user to create an "auto
26148         exclusion" filter for doing context-aware auto tag filtering.
26149         (org-agenda-filter-by-tag): Changes to support the use of
26150         `org-agenda-auto-exclude-function'.  See the new manual addition.
26152 2009-11-13  John Wiegley  <johnw@newartisans.com>
26154         * org.el (org-files-list): Don't attempt to return a file name for
26155         Org buffers which have no associated file.
26157         * org-agenda.el (org-agenda-do-action): Fix a typo.
26159 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26161         * org-mobile.el (org-mobile-locate-entry): Interpret files
26162         relative to org-directory.
26163         (org-mobile-inbox-for-pull): Document the best location for this
26164         file.
26165         (org-mobile-check-setup): Verify `org-directory'.
26166         (org-mobile-create-index-file): Sort the files to be listed in
26167         index.org.
26169 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
26171         * org.el (org-fast-tag-selection): Add a way to display a
26172         description for a tag group.  This is done by adding a string to
26173         either the startgroup or endgroup cell.
26175 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26177         * org-clock.el (org-clock-resolve, org-resolve-clocks)
26178         (org-emacs-idle-seconds): Use `org-float-time' instead of
26179         `time-to-seconds'.
26181 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26183         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
26184         type.
26186         * org.el (org-pre-cycle-hook): Document that `empty' can also be
26187         the value of ARG when doing local cycling.
26189 2009-11-13  John Wiegley  <johnw@newartisans.com>
26191         * org-clock.el (org-clock-resolve-clock): If keeping or
26192         subtracting time results in a clock out at a time in the past, and
26193         if the resolution occurred due to idleness or invoking `M-x
26194         org-resolve-clocks', remember that past moment in time.  On the
26195         next clock in, the user will be prompted to see if they want to
26196         back-date their new clock to then.
26197         (org-clock-resolve): Do not jump the user to the location of a
26198         dangling clock if the resolution is occurring due to an idle
26199         timeout.  In that case there is typically only one dangling clock,
26200         the active one, and there is no value gained by shuffling their
26201         windows around to show it to them.  Being prompted to resolve an
26202         idle clock should be as inobtrusive as possible.
26203         (org-resolve-clocks-if-idle): New function that resolves only the
26204         currently active clock if the user has exceeded the time returned
26205         by `org-user-idle-seconds', based on the value of
26206         `org-clock-idle-time'.
26207         (org-clock-in): If, after resolving clocks, (???)
26208         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
26210         * org-clock.el (org-clock-resolve-clock): New function that
26211         resolves a clock to a specific time, closing or resuming as need
26212         be, and possibly even starting a new clock.
26213         (org-clock-resolve): New function used by `org-resolve-clocks'
26214         that sets up for the call to `org-clock-resolve-clock'.
26215         It determines the time to resolve to based on a single-character
26216         selection from the user to either keep time, subtract away time or
26217         cancel the clock.
26218         (org-resolve-clocks): New user command which resolves dangling
26219         clocks -- that is, open but not active -- anywhere in the file
26220         list returned by `org-files-list'.
26221         (org-clock-in): Automatically resolve dangling clocks whenever a
26222         user clocks in.
26223         (org-clock-cancel): If the user cancels the solely clock in a
26224         LOGBOOK, remove the empty drawer.
26226         * org-clock.el (org-clock-idle-time): New user customizable option
26227         for detecting whether the user has left a clock idle.  Note: it is
26228         only used in this commit to test whether it's worthwhile to check
26229         OS X to get the Mac user's current idle time.  If the Emacs idle
26230         time is less than the value, the user hasn't been away long enough
26231         to be worth checking (a more expensive test than just getting
26232         Emacs idle time).
26233         (org-user-idle-seconds, org-mac-idle-seconds)
26234         (org-emacs-idle-seconds): This three functions, in conjunction
26235         with the user customization variable `org-clock-idle-time', return
26236         the number of seconds (as a floating point) that the user has been
26237         away from their Emacs (or, if running on OS X, their computer).
26239         * org-clock.el (org-find-open-clocks): New function that returns a
26240         list of all open clocks in the given FILE.  Note that each clock
26241         it returns is a cons cell of the format (MARKER . START-TIME).
26242         This "clock" value is used by several of the new clock module
26243         utility functions.
26244         (org-is-active-clock): New inline function which tests whether the
26245         given clock value is the same as the currently active clock.
26246         Returns non-nil if this is the case.
26247         (org-with-clock-position): New macro that evaluates FORMS with
26248         point in the buffer and at the position of the given clock.
26249         Changes to the current clock are global.
26250         (org-with-clock): New macro that evaluates FORMS with point in the
26251         buffer and at the position of the given clock.  However, changes
26252         to the current clock are local and have no effect on the user's
26253         active clock.  This allows, for example, far any clock to be
26254         canceled without canceling the active clock.
26255         (org-clock-clock-in): New inline function that switches the active
26256         clock to the given clock.  If either the argument RESUME, or the
26257         global `org-clock-in-resume', are non-nil, it will resume a clock
26258         that was previously left open.
26259         (org-clock-clock-out): New inline function that clocks out the
26260         given clock value without affecting the currently active clock.
26261         (org-clock-clock-cancel): New inline function that cancels the
26262         given clock value without affecting the currently active clock.
26264         * org-clock.el (org-clock-in): Before creating
26265         `org-clock-mode-line-timer', check to make sure an older timer is
26266         not currently running.
26267         (org-clock-out): Accept new third parameter `at-time', which
26268         permits a clock to be clocked out at a specific time.  Note that
26269         no attempt is made to verify that the clock out time is later than
26270         the clock in time.
26272         * org.el (org-files-list): New utility function for returning a
26273         list of all open org-mode buffers, plus all files used to build
26274         the agenda buffer.  Note that not all the files will necessarily
26275         be visited by a buffer at time of call.
26276         (org-entry-beginning-position): Like the function
26277         `line-beginning-position', this inline function returns the
26278         beginning position of the current heading/entry.
26279         (org-entry-end-position): Like the function `line-end-position',
26280         this inline function returns the end position of the current
26281         heading/entry.
26283 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26285         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
26286         a header line.
26288 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26290         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
26292 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26294         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
26295         entries that have no tags.
26296         (org-agenda-search-view): New customize group.
26297         (org-agenda-search-view-search-words-only): New option.
26298         (org-search-view): Implement substring search.
26300 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26302         * org.el (org-outline-level): Add doc string.
26304 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26306         * org-inlinetask.el (org-inlinetask-export): Re-introduce
26307         variable.
26308         (org-inlinetask-export-handler): Only export inline task if the
26309         user option calls for it.
26311 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26313         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
26314         END if present.
26316 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26318         * org-latex.el (org-export-latex-tables): Don't format in
26319         protected regions.
26321 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26323         * org-src.el (org-edit-src-code)
26324         (org-edit-src-find-region-and-lang, org-edit-src-exit):
26325         Handle macro editing.
26327         * org-agenda.el (org-prefix-category-max-length): New variable.
26328         (org-format-agenda-item): Use `org-prefix-category-max-length'.
26329         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
26331 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26333         * org-mobile.el (org-mobile-create-index-file): Improve the
26334         listing of tags and todo keywords.
26336         * org-latex.el (org-export-latex-format-image): New function.
26337         (org-export-latex-links): Use `org-export-latex-format-image'.
26339 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26341         * org-inlinetask.el (org-inlinetask-get-current-indentation)
26342         (org-inlinetask-remove-terminator): New functions.
26343         (org-inlinetask-export-handler): Terminate the description list.
26345         * org-exp.el (org-export-select-backend-specific-text): Remove the
26346         region markers.
26348         * org-inlinetask.el (org-inlinetask-export-handler): Fix bug for
26349         tasks without content.
26351         * org-clock.el: Make sure the clock-in target position does not
26352         move to a different node by widening the buffer.
26354         * org-html.el (org-export-html-format-image): Wrap image into
26355         figure div only when there is a caption.
26357         * org-archive.el (org-archive-mark-done): Change default value to
26358         nil.
26360 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
26362         * org.el (org-context): Call `bobp', not `eobp'.
26364         * org-clock.el (org-clock-cancel): Remove quotes from marker
26365         variables.
26367         * org.el (org-read-date-prefer-future): New allowed value `time'.
26368         (org-read-date-analyze): Shift day to tomorrow depending on time
26369         entered and value of `org-read-date-prefer-future'.
26371 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
26373         * org.el (org-version, org-get-refile-targets, org-refile)
26374         (org-store-log-note, org-diary-to-ical-string)
26375         (org-speedbar-set-agenda-restriction):
26376         * org-publish.el (org-publish-find-title):
26377         * org-plot.el (org-plot/gnuplot):
26378         * org-mouse.el (org-mouse-do-remotely):
26379         * org-mobile.el (org-mobile-move-capture):
26380         * org-mac-message.el (org-mac-message-insert-flagged):
26381         * org-latex.el (org-replace-region-by-latex):
26382         * org-docbook.el (org-replace-region-by-docbook):
26383         * org-clock.el (org-clock-out, org-clock-cancel):
26384         * org-bibtex.el (org-execute-file-search-in-bibtex):
26385         Use with-current-buffer.
26387 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
26389         * org.el (org-directory, org-map-entries):
26390         * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
26392 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
26394         * org.el (org-set-tags-to): New command.
26396         * org-latex.el (org-export-latex-set-initial-vars): Also check in
26397         the plist.
26399         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
26400         keyword.
26402         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
26404 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
26406         * org-inlinetask.el (org-inlinetask-export): Option removed.
26407         (org-inlinetask-export-handler): Better export.
26409         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
26410         (org-export-as-xoxo): Run the new hook.
26412         * org-html.el (org-export-html-final-hook): New hook.
26413         (org-export-as-html): Run the new hook.
26415         * org-docbook.el (org-export-docbook-final-hook): New hook.
26416         (org-export-as-docbook): Run the new hook.
26418         * org-ascii.el (org-export-ascii-final-hook): New hook.
26419         (org-export-as-ascii): Run the new hook.
26421         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
26422         space character as the character before the ^/_.
26423         (org-export-latex-final-hook): New hook.
26424         (org-export-as-latex): Run `org-export-latex-final-hook'.
26426 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
26428         * org-macs.el (org-if-unprotected-at): Fix docstring.
26430         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
26431         text in the prefix (if category is a link).
26433         * org-latex.el (org-export-latex-preprocess): Deal properly with
26434         empty lines in verse environments.
26436         * org.el (org-format-latex-header): Inline fullpage.sty.
26438         * org-footnote.el (org-footnote-create-definition): Reveal context
26439         to add a new footnote definition.
26441         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
26442         org-table-recalculate when cursor is in TBLFM line.
26444         * org-list.el (org-renumber-ordered-list): Fix cursor position
26445         when bullet length has changed.
26447 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
26449         * org.el (org-format-latex): Mention `org-format-latex-options' in
26450         the docstring.
26452 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
26454         * org.el (org-agenda-get): New function.
26456         * org-agenda.el (org-agenda-post-command-hook): No longer move
26457         point away from end of line.
26458         (org-agenda-add-entry-text, org-agenda-collect-markers)
26459         (org-finalize-agenda, org-agenda-mark-clocking-task)
26460         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
26461         (org-agenda-entry-text-show, org-agenda-highlight-todo)
26462         (org-agenda-compare-effort, org-agenda-filter-apply)
26463         (org-agenda-later, org-agenda-change-time-span)
26464         (org-agenda-post-command-hook, org-agenda-show-priority)
26465         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
26466         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
26467         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
26468         (org-agenda-open-link, org-agenda-copy-local-variable)
26469         (org-agenda-switch-to, org-agenda-check-no-diary)
26470         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
26471         (org-agenda-add-note, org-agenda-change-all-lines)
26472         (org-agenda-priority, org-agenda-set-tags)
26473         (org-agenda-set-property, org-agenda-set-effort)
26474         (org-agenda-toggle-archive-tag, org-agenda-date-later)
26475         (org-agenda-show-new-time, org-agenda-date-prompt)
26476         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
26477         (org-agenda-clock-in, org-agenda-bulk-mark)
26478         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note):
26479         Use `org-get-at-bol'.
26481         * org-colview.el (org-columns-display-here)
26482         (org-columns-edit-allowed, org-agenda-columns):
26483         Use `org-get-at-bol'.
26485 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
26487         * org.el (org-special-ctrl-a/e): Improve documentation and
26488         customize type.
26489         (org-end-of-line): Don't jump to after the ellipsis.
26490         (org-mode-map): Bind <home> and <end> as well.
26492 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
26494         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
26495         space after #+ as comments.
26496         (org-open-at-point): Run `org-follow-link-hook' always.
26498         * org-latex.el (org-export-latex-emph-format): Use better commands
26499         to insert special characters in verbatim snippets.
26501 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
26503         * org-faces.el (org-copy-face): New function.  Use it to create
26504         various faces formerly created by using `copy-face'.
26506         * org-agenda.el (org-prepare-agenda): Don't officially mark this
26507         window dedicated.
26508         (org-agenda-quit): Kill the frame containing the agenda window if
26509         that frame was created for the agenda.
26511 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
26513         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
26514         stamp in the agenda.
26516 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
26518         * org-agenda.el (org-prepare-agenda):
26519         Reset `org-drawers-for-agenda'.
26520         (org-prepare-agenda): Uniquify list of drawers.
26522         * org.el (org-complex-heading-regexp-format): New variable.
26523         (org-set-regexps-and-options):
26524         Define `org-complex-heading-regexp-format'.
26525         (org-drawers-for-agenda): New variable.
26526         (org-map-entries): Bind `org-drawers-for-agenda'.
26527         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
26529         * org-remember.el (org-go-to-remember-target)
26530         (org-remember-handler): Use `org-complex-heading-regexp-format'.
26532 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
26534         * org-agenda.el (org-agenda-highlight-todo): Fix text property
26535         problem.
26537         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
26538         always with `invisible-ok'.
26539         (org-store-link): No error when there is nothing to link to in the
26540         agenda.
26542         * org-list.el (org-update-checkbox-count): Insert changed cookie
26543         before the old, to avoid problems with invisibility at the end of
26544         the line.
26545         (org-update-checkbox-count): Insert changed cookie before the old,
26546         to avoid problems with invisibility at the end of the line.
26548         * org.el (org-sort-entries-or-items): Include the final newline.
26549         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
26550         lines for fontification.
26551         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
26552         (org-prepare-dblock): Store the current indentation of the BEGIN
26553         line.
26554         (org-update-dblock): Apply the indentation of the begin line to
26555         the rest of the block.
26556         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
26557         (org-startup-folded): New allowed value `showeverything'.
26558         (org-startup-options): Add STARTUP keyword `showeverything'.
26559         (org-set-startup-visibility): Respect value `showeverything' in
26560         org-startup-folded.
26562 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
26564         * org.el (org-closest-date): Fix issue with past preference.
26566         * org-archive.el (org-archive-set-tag)
26567         (org-archive-subtree-default): New commands.
26569         * org-clock.el (org-clock-clocktable-default-properties):
26570         New option.
26571         (org-clock-report):
26572         Use `org-clock-clocktable-default-properties'.
26574 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
26576         * org.el (org-iswitchb-completing-read): Fix typo.
26578         * org-crypt.el: New file.
26580         * org.el: Add an entry for org-crypt.
26582 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
26584         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
26585         consistency.
26586         (org-batch-store-agenda-views): New function.
26587         (org-agenda-title-append): Define variable.
26588         (org-write-agenda): New export to Org files.
26589         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
26590         (org-agenda): Allow to keep the restricted file list if a special
26591         variable is bound to t.
26592         (org-agenda): Define a special agenda view for working on flagged
26593         entries.
26594         (org-agenda-get-restriction-and-command): List the new agenda
26595         view.
26596         (org-agenda-show-the-flagging-note): New command.
26597         (org-agenda-mode-map): New key `?' for looking at the flagging
26598         note.
26600         * org.el (org-autoload): Autoload org-mobile.el.
26601         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
26603         * org-mobile.el: New file.
26605         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
26607 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
26609         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
26610         statements.
26611         (org-table-get-remote-range): Match indented #+TBLNAME
26612         statements.
26614         * org.el (org-convert-to-odd-levels)
26615         (org-convert-to-oddeven-levels): Work also correctly if the file
26616         is in outline-mode.
26618 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
26620         * org.el (org-store-link): When in agenda buffer, link to
26621         referenced entry.
26622         (org-add-planning-info): Remove spaces at eol.
26624         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
26625         property.
26627 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
26629         * org-latex.el (org-export-latex-first-lines): Fix problem with
26630         LaTeX export of first line and selected subtree.
26632         * org.el (org-shifttab): Interpret arg differently when using only
26633         odd levels.
26635 2009-10-01  Bastien Guerry  <bzg@gnu.org>
26637         * org.el (org-check-agenda-file): Use a more explicit message.
26639 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
26641         * org-exp.el (org-export-remove-special-table-lines): Don't remove
26642         normal lines.
26644 2009-10-01  Bastien Guerry  <bzg@gnu.org>
26646         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
26647         prompt in the temporary window.
26649         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
26650         prefix for marked entries in the agenda view.
26652 2009-10-01  Andreas Burtzlaff  <andy13@gmx.net>  (tiny change)
26654         * org.el (outline-end-of-subtree): Bugfix: advise this function in
26655         a way that prevents any trailing character from being displayed.
26657 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
26659         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
26660         menu.
26662         * org-exp.el (org-export-remove-special-table-lines): Remove bad
26663         slow regexp match.
26665 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
26667         * org-latex.el (org-export-latex-preprocess): Do not protect in
26668         the LaTeX header.
26670         * org-src.el (org-edit-src-save): Save window setup while saving.
26671         (org-edit-src-code): Use new buffer name construction scheme.
26673 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
26675         * org-agenda.el (org-agenda-entry-text-exclude-regexps):
26676         New variable.
26677         (org-agenda-entry-text-cleanup-hook): New hook.
26678         (org-agenda-get-some-entry-text): Remove matches of
26679         `org-agenda-entry-text-exclude-regexps' and run the hook
26680         `org-agenda-entry-text-cleanup-hook'.
26682         * org.el (org-offer-links-in-entry): New argument ZERO to
26683         implement a link with index zero.
26684         (org-cycle-show-empty-lines): Not keep empty line under header
26685         hidden.
26686         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
26687         to nil for special completion.
26688         (org-store-link): Don't error before the first heading.
26690         * org-agenda.el (org-agenda-open-link): Pass the prefix to
26691         `org-offer-links-in-entry'.
26693 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
26695         * org-agenda.el (org-agenda-quit): Provide the window argument for
26696         `window-dedicated-p', Emacs 22 needs it.
26697         (org-format-agenda-item): If the category is a link, arrange for
26698         invisible text to replaced with spaces.
26699         (org-compile-prefix-format): Add the extra space.
26700         (org-prefix-category-length): New variable.
26702         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
26703         references from TOC lines.
26705         * org.el (org-selected-window): New variable.
26707         * org-table.el (org-table-edit-formulas): Remember the selected
26708         window.
26709         (org-table-fedit-finish, org-table-fedit-abort): Select the window
26710         that was originally selected.
26712         * org-exp.el (org-export-preprocess-apply-macros): Scan the
26713         expansion of a macro for more macro definitions.
26715         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
26716         invisibility overlay starts on the newline.
26718 2009-10-01  Glenn Morris  <rgm@gnu.org>
26720         * org-agenda.el (calendar-check-holidays):
26721         * org-exp.el (org-agenda-skip):
26722         * org-list.el (outline-back-to-heading):
26723         * org-wl.el (wl-summary-goto-folder-subr):
26724         * org.el (iswitchb-mode, remember, remember-buffer-desc)
26725         (remember-finalize, remember-save-after-remembering, remember-register)
26726         (remember-buffer, remember-handler-functions)
26727         (remember-annotation-functions): Remove unused declarations.
26729         * org.el (iswitchb-read-buffer): Fix declaration.
26731 2009-09-30  Glenn Morris  <rgm@gnu.org>
26733         * org-compat.el (w32-focus-frame):
26734         * org-exp-blocks.el (R):
26735         * org-exp.el (htmlize-buffer):
26736         * org-protocol.el (server-edit):
26737         * org-table.el (org-format-org-table-html):
26738         * org.el (org-indent-mode): Fix declarations.
26740         * org-colview.el (org-columns-uncompile-format): Avoid assignment to
26741         free variable `fun'.
26743 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
26745         * org-agenda.el (org-agenda-restore-windows-after-quit):
26746         Fix typo in docstring.
26748 2009-09-23  Juanma Barranquero  <lekktu@gmail.com>
26750         * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
26751         (org-shiftselect-error, org-ctrl-c-ctrl-c):
26752         * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
26753         * org-attach.el (org-attach-check-absolute-path):
26754         * org-docbook.el (org-export-as-docbook):
26755         * org-html.el (org-export-as-html):
26756         * org-id.el (org-id-update-id-locations):
26757         * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
26758         Fix typos in error messages.
26760 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
26762         * org-ascii.el: Require CL for the `loop' macro.
26764 2009-09-05  Carsten Dominik  <dominik@u016822.science.uva.nl>
26766         * org-gnus.el (require): Wrap (require gnus-sum) into
26767         eval-when-compile.
26769 2009-09-03  Carsten Dominik  <dominik@u016822.science.uva.nl>
26771         * org-protocol.el (org-protocol-store-link)
26772         (org-protocol-remember, org-protocol-open-source): Remove autoload
26773         cookies again.
26775         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
26776         referencing the start of the line.
26778         * org-gnus.el: Remove unnecessary declare-function forms.
26779         (gnus-sum): Always require gnus-sum.
26781 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
26783         * org-protocol.el (org-protocol-store-link)
26784         (org-protocol-remember, org-protocol-open-source): Add autoloads.
26786         * org-compat.el (org-float-time): New function.
26788         * org.el (org-clock-update-time-maybe)
26789         (org-sort-entries-or-items, org-do-sort)
26790         (org-evaluate-time-range, org-time-string-to-seconds)
26791         (org-closed-in-range): Use `org-float-time'.
26793         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
26794         (org-timer-seconds): Use `org-float-time'.
26796         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
26797         (org-clock-sum, org-dblock-write:clocktable)
26798         (org-clocktable-steps): Use `org-float-time'.
26800         * org-agenda.el (org-agenda-last-marker-time)
26801         (org-agenda-new-marker, org-diary): Use `org-float-time'.
26803         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
26804         function.
26806         * org-exp.el (org-get-file-contents): Only protect lines that
26807         really need it.
26809         * org-html.el (require): Require cl for compilation.
26811         * org.el: Avoid using `default-major-mode'.
26813         * org-plot.el (require): Require CL only at compile time.
26815         * org-exp.el (require): Require CL only at compile time.
26817         * org-agenda.el (org-agenda-quit): When the agenda window is
26818         dedicated, remove other windows before exiting, so that the frame
26819         really will be killed.
26821         * org-exp.el (org-export-handle-include-files): Reset START and
26822         END for each loop cycle.
26824 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
26826         * org.el (org-eval-in-calendar):
26827         Use `org-select-frame-set-input-focus'.
26829         * org-compat.el (org-select-frame-set-input-focus): New function.
26831         * org.el (org-update-statistics-cookies): New function.
26832         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
26834 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
26836         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
26837         after the local variables are set.
26839         * org-latex.el (org-export-latex-protect-amp): New function.
26840         (org-export-latex-links): Protect link ampersands in tables.
26842         * org-exp.el (org-export-select-backend-specific-text): Match in
26843         two steps, to avoid regexp problems.
26845         * org.el (org-offer-links-in-entry): Improve working with many and
26846         duplicate links.
26848         * org-agenda.el (org-agenda-show-1): Make more consistent with
26849         normal cycling.
26850         (org-agenda-cycle-show): Make more consistent with normal cycling.
26852         * org-gnus.el (org-gnus-store-link): Restore the linking to a
26853         website.
26855 2009-09-02  Bastien Guerry  <bzg@gnu.org>
26857         * org-latex.el (org-export-latex-first-lines): Bugfix.
26859 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
26861         * org-clock.el (org-clock-modify-effort-estimate): Emit message
26862         about new effort.
26864         * org.el (org-set-effort): New function.
26865         (org-mode-map): New key for effort setting command.
26867         * org-agenda.el (org-agenda): Keep window setup when calling
26868         agenda from within agenda window.
26869         (org-agenda-mode-map): New keys for effort setting commands.
26870         (org-agenda-menu): Add effort setting commands to menu.
26871         (org-agenda-set-property, org-agenda-set-effort): New functions.
26873         * org-latex.el (org-export-latex-tables):
26874         Fix `org-table-last-alignment' and `org-table-last-column-widths' if
26875         the first column has been removed.
26877 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
26879         * org.el (org-remove-timestamp-with-keyword): Only remove in
26880         entry, not in subtree.
26882         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
26883         emacs lisp.
26885         * org.el (org-open-at-point): When on headline, offer all strings
26886         in entry.
26888         * org-remember.el (org-remember-templates): Documentation fix.
26890         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
26891         `org-get-last-sibling' instead of the outline versions of these
26892         functions.
26893         (org-get-last-sibling): New function.
26894         (org-refile): Use `org-get-next-sibling' instead of the outline
26895         version of this function.
26896         (org-clean-visibility-after-subtree-move):
26897         Use `org-get-next-sibling' and `org-get-last-sibling' instead of the
26898         outline versions of these functions.
26900 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
26902         * org-agenda.el (org-prepare-agenda): When creating a new frame
26903         for the agenda, make the window dedicated.
26905         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
26907         * org-table.el (org-table-align): Change the order of reinsertion
26908         and deletion, to avoid problems with overlays following the table.
26910         * org.el (org-parse-time-string): Better error message.
26911         (org-show-subtree): Use org-end-of-subtree.
26913         * org-macs.el (org-goto-line): New defsubst.
26915         * org.el (org-open-file, org-change-tag-in-region)
26916         (org-fast-tag-show-exit): Don't use `goto-line'.
26918         * org-table.el (org-table-align, org-table-insert-column)
26919         (org-table-delete-column, org-table-move-column)
26920         (org-table-sort-lines, org-table-copy-region)
26921         (org-table-paste-rectangle, org-table-wrap-region)
26922         (org-table-get-specials, org-table-rotate-recalc-marks)
26923         (org-table-get-range, org-table-recalculate)
26924         (org-table-edit-formulas, org-table-fedit-convert-buffer)
26925         (org-table-show-reference, org-table-highlight-rectangle):
26926         Don't use `goto-line'.
26928         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
26929         (org-edit-src-exit): Don't use `goto-line'.
26931         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
26933         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
26934         Don't use `goto-line'.
26936         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
26938         * org-colview.el (org-columns, org-columns-redo)
26939         (org-agenda-columns): Don't use `goto-line'.
26941         * org-agenda.el (org-agenda-mode): Force visual line motion off.
26942         (org-agenda-add-entry-text-maxlines): Improve docstring.
26943         (org-agenda-start-with-entry-text-mode): New option.
26944         (org-agenda-entry-text-maxlines): New option.
26945         (org-agenda-entry-text-mode): New variable.
26946         (org-agenda-mode): Set initial value of
26947         `org-agenda-entry-text-mode'.
26948         (org-agenda-mode-map): Add the `E' key.
26949         (org-agenda-menu): Add entry text mode to the menu.
26950         (org-agenda-get-some-entry-text): Fix line count bug.
26951         (org-finalize-agenda): Apply entry text mode if appropriate.
26952         (org-agenda-entry-text-show-here): New function.
26953         (org-agenda-entry-text-show): New function.
26954         (org-agenda-entry-text-hide): New function.
26955         (org-agenda-view-mode-dispatch): Add entry text mode to the view
26956         key menu.
26957         (org-agenda-entry-text-mode): New command.
26958         (org-agenda-set-mode-name): Add entry text mode to the mode line
26959         string.
26960         (org-agenda-undo, org-agenda-get-restriction-and-command)
26961         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
26962         `goto-line'.
26964 2009-09-02  Bernt Hansen  <bernt@norang.ca>
26966         * org-clock.el (org-notify): Bugfix.
26968 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
26970         * org-agenda.el (org-agenda-open-link): Handle multiple links and
26971         check for after-string.
26973         * org-gnus.el (org-gnus-store-link): Simplify.
26975         * org.el (org-latex-regexps): Don't add extra empty lines for
26976         display formulas.
26978 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
26980         * org-agenda.el (org-agenda-get-some-entry-text): New function.
26981         (org-agenda-add-entry-text):
26982         Use `org-agenda-get-some-entry-text'.
26984         * org.el (org-cycle-separator-lines): Update docstring.
26985         (org-cycle-show-empty-lines): Handle negative values for
26986         `org-cycle-show-empty-lines'.
26988         * org-exp.el (org-export-protect-sub-super): New function.
26989         (org-export-normalize-links): Protect the url of plain links from
26990         supscript and superscript processing.
26992         * org-remember.el (org-remember-escaped-%): New function.
26993         (org-remember-apply-template): Use `org-remember-escaped-%' to
26994         detect escaped % signs.
26996 2009-09-02  Bastien Guerry  <bzg@gnu.org>
26998         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
26999         sound when showing the notification.
27001         * org-clock.el (org-notify): New function.
27002         (org-clock-notify-once-if-expired): Use `org-notify'.
27004         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
27005         and `gnus-article-mode' separately.
27006         (gnus-summary-article-header): Fix the declare-function.
27008 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27010         * org-exp.el (org-export-format-source-code-or-example):
27011         Translate language.
27013         * org-src.el (org-src-lang-modes): New variable.
27014         (org-edit-src-code): Translate language.
27016         * org-exp.el (org-export-format-source-code-or-example): Deal wit
27017         the new structure of the `org-export-latex-listings-langs'
27018         variable.
27020         * org-latex.el (org-export-latex-listings-langs): Change structure
27021         of the variable from plist to alist.
27023 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27025         * org.el (org-in-commented-line): New function.
27027 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27029         * org.el (org-hide-block-toggle): Make folded blocks searchable.
27031 2009-09-02  Friedrich Delgado Friedrichs  <friedel@nomaden.org>  (tiny change)
27033         * org.el (org-flag-drawer): More useful error.
27035 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27037         * org-remember.el (org-remember-apply-template):
27038         Use org-icompleting-read.
27040         * org-publish.el (org-publish): Use org-icompleting-read.
27042         * org-colview.el (org-columns-edit-value, org-columns-new)
27043         (org-insert-columns-dblock): Use org-icompleting-read.
27045         * org-attach.el (org-attach-delete-one, org-attach-open):
27046         Use org-icompleting-read.
27048 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27050         * org.el (org-hierarchical-todo-statistics): Improve docstring.
27051         (org-version): Return the version text.
27052         (org-org-menu): Add a menu entry for the new bug reporter.
27053         (org-submit-bug-report): New command.
27055         * org-list.el (org-hierarchical-checkbox-statistics):
27056         Improve docstring.
27058         * org.el (org-emphasis-regexp-components): Add "`" to set of
27059         pre-emphasis characters.
27061         * org-latex.el (org-export-latex-classes): Always include the soul
27062         package.
27063         (org-export-latex-emphasis-alist): Use \st for strikethough.
27065         * org-exp-blocks.el (org-export-blocks-preprocess):
27066         Use `indent-code-rigidly' to indent.
27068         * org-agenda.el (org-agenda-get-restriction-and-command):
27069         Remove properties only if MATCH really is a string.
27071 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27073         * org-latex.el (org-export-latex-packages-alist):
27074         Fix customization type.
27076         * org.el (org-create-formula-image): Also use
27077         `org-export-latex-packages-alist'.
27079         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
27080         (org-export-as-html): Format footnotes correctly.
27082 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27084         * org.el (org-fast-tag-selection): Avoid text properties on tags
27085         in the alist.
27087         * org-agenda.el (org-agenda-get-restriction-and-command):
27088         Avoid text properties on the match element.
27090 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27092         * org.el (org-set-regexps-and-options): Make sure the list of done
27093         keywords is not invalid.
27095         * org-exp.el (org-export-interpolate-newlines): New function.
27097 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27099         * org.el (org-format-latex): Avoid nested overlays.
27101         * org-latex.el (org-export-latex-listings-langs): Add a few more
27102         languages.
27104         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
27105         ignore newlines and space before the first macro argument.
27107         * org-latex.el (org-export-latex-tables): Remove save-excursion
27108         around `org-table-align'.
27110 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27112         * org.el (org-export-html-special-string-regexps):
27113         Definition moved into org.el.
27115         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
27116         in macro calls.
27118 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27120         * org-latex.el (org-export-latex-listings)
27121         (org-export-latex-listings-langs): New options.
27123         * org-exp.el (org-export-format-source-code-or-example):
27124         Use listing package if requested by the user.
27126 2009-09-02  Bastien Guerry  <bzg@gnu.org>
27128         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
27129         command before actually switching to a buffer.
27131 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27133         * org-exp.el (org-get-file-contents): Only quote org lines when
27134         the markup is src or example.
27136         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
27137         New option.
27138         (org-agenda-get-day-entries): Remember deadline results and pass
27139         them on into the function getting the scheduling information.
27140         (org-agenda-get-scheduled): Accept deadline results as parameters
27141         and maybe skip some entries.
27142         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
27144         * org.el (org-insert-heading): When respecting content, do not
27145         convert current line to headline.
27147         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
27148         Also cheeeeeck the hd marker.
27149         (org-clock-in): Also set the hd marker.
27150         (org-clock-out): Also set the hd marker.
27151         (org-clock-cancel): Reset markers.
27153         * org.el (org-clock-hd-marker): New marker.
27155         * org-faces.el (org-agenda-clocking): New face.
27157         * org-agenda.el (org-agenda-mark-clocking-task): New function.
27158         (org-finalize-agenda): Call `org-agenda-mark-clocking-task'.
27160         * org.el (org-modules): Add org-track.el.
27162         * org-agenda.el (org-agenda-bulk-marked-p): New function.
27163         (org-agenda-bulk-mark, org-agenda-bulk-unmark):
27164         Use `org-agenda-bulk-marked-p'.
27165         (org-agenda-bulk-toggle): New command.
27167 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
27169         * org.el (org-move-subtree-down): Hide subtree if it was folded,
27170         not just the body.
27172         * org-remember.el (org-remember-finalize): Avoid buffer-modified
27173         messages.
27175 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
27177         * org-html.el (org-export-as-html):
27178         * org-docbook.el (org-export-as-docbook):
27179         Use (default-value 'major-mode) instead of default-major-mode.
27181 2009-08-08  Carsten Dominik  <carsten.dominik@gmail.com>
27183         * org-docbook.el: Add arch-tag.
27185         * org-exp-blocks.el: Add arch-tag.
27187         * org-id.el: Add arch-tag.
27189         * org-indent.el: Add arch-tag.
27191         * org-inlinetask.el: Add arch-tag.
27193         * org-protocol.el: Add arch-tag.
27195 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27197         * org.el (org-create-formula-image): Remove the -E option for
27198         dvipng.
27200         * org-exp.el (org-default-export-plist): Respect #+BIND.
27201         (org-export-confirm-letbind): New function.
27203         * org.el (org-paste-subtree): Test the kill ring entry if it is
27204         going to be used.
27205         (org-copy-subtree): Use `org-forward-same-level'.
27206         (org-forward-same-level): Respect the `invisibe-ok' arg for
27207         back-to-heading.
27209 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27211         * org.el (org-table-map-tables): Make sure cursor is back at table
27212         beginning after funcall.
27214         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
27215         handled before children, and do not error if an entry is not
27216         found, probably because it hase been remove when the parent was
27217         archived or refiled.
27219         * org.el (org-ido-completing-read): Accept straight lists for
27220         completion as well as alists.
27222         * org-timer.el (org-timer-cancel-timers): Rename from
27223         `org-timer-cancel-timers'.
27225         * org.el (org-cycle-internal-local): Fix problem with finding next
27226         invisible line.
27228 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27230         * org-list.el (org-list-send-list):
27231         Call `org-list-goto-true-beginning' instead of
27232         `org-list-find-true-beginning', which does not exist.
27234         * org-timer.el (org-timer-reset-timers): Use `mapc'.
27235         (org-timer-set-timer): Do not assign to heading.
27237         * org-id.el (org-id-open): Quote function name.
27239         * org-macs.el (org-unmodified): Turn off recording undo
27240         information while running inside the macro.
27242         * org-table.el (org-table-export): Also work in file-less
27243         buffers.
27245         * org.el (org-startup-indented): New option.
27246         (org-startup-options): Add new options indent and noindent.
27247         (org-unfontify-region): Remove line-prefix and wrap-prefix
27248         properties.
27249         (org-after-demote-entry-hook, org-after-promote-entry-hook):
27250         New hooks.
27251         (org-promote, org-demote): Run the new hooks.
27253         * org-table.el (org-table-align): Replace leading \n as well.
27255         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
27256         and `line-wrap' text properties.
27258         * org-compat.el (org-kill-new): New function.
27260         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
27261         `line-wrap' text properties.
27263         * org-indent.el: New file.
27265 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27267         * org.el (org-provide-todo-statistics): Tweak docstring.
27269         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
27271 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27273         * org-exp.el (org-export-as-org): Insert the "-source" string
27274         before the extension.
27276         * org.el (org-read-date): Make sure the calendar is in the current
27277         frame.
27278         (org-set-emph-re): Remove the ? from the post-match.
27279         (org-emphasis-regexp-components): Add backslash to the
27280         postmatch class.
27281         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
27282         optional so that also lines at the end of the buffers will still
27283         be matched as headlines.
27285         * org-table.el (org-table-error-on-row-ref-crossing-hline):
27286         Variable made obsolete.
27287         (org-table-relative-ref-may-cross-hline): New option.
27288         (org-table-find-row-type): Honow the new option
27289         `org-table-relative-ref-may-cross-hline'.
27291 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27293         * org-table.el (org-table-cut-region, org-table-copy-region):
27294         Work on single field if no active region.
27296 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27298         * org-latex.el (org-export-latex-make-header): Only insert title
27299         if one is defined.
27301         * org.el (org-make-options-regexp): Allow empty values.
27303 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27305         * org.el (org-cycle-internal-local): Improve version of finding
27306         next visible line.
27307         (org-cycle-hide-drawers): Only hide drawers if this is really
27308         necessary.
27309         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
27310         org-version of this function in Org-mode.  We use advice to
27311         implement this change, so that future changes to this function in
27312         outline.el wil be handled properly.
27313         (org-forward-same-level, org-backward-same-level): New commands.
27315 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27317         * org.el (org-remove-empty-overlays-at)
27318         (org-clean-visibility-after-subtree-move): New functions.
27319         (org-move-subtree-down): Simplify cleanup of display.
27321 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27323         * org-mac-message.el (org-mac-message-get-links): Improve
27324         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
27325         "s".  Fix the return value.
27326         (org-mac-message-insert-flagged): Simplify.
27328         * org.el (org-refile-get-location): Tamper with refile history o
27329         that history contains compete matches instead of the entered
27330         string.
27332 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27334         * org.el (org-store-link): Never store a link to an inline task.
27336         * org-footnote.el (org-footnote-goto-local-insertion-point):
27337         Skip inline tasks when positioning footnotes.
27339         * org.el (org-refile): Remove the END line when archiving an
27340         inline task that does have an END line.
27342         * org-archive.el (org-archive-subtree): Remove the END line when
27343         archiving an inline task that does have an END line.
27345         * org-macs.el (org-with-limited-levels): New macro.
27346         (org-get-limited-outline-regexp): New function.
27348         * org-exp.el (org-export-format-source-code-or-example): Fix bug
27349         that did not enumerate first line.
27350         (org-export-mark-radio-links): Skip matches in links.
27352 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27354         * org.el (org-activate-plain-links): Make single-match.
27355         (org-adapt-indentation): Fix docstring.
27357         * org-macs.el (org-unmodified): Turn of modification hooks while
27358         running this macro.
27360 2009-08-06  Bastien Guerry  <bzg@gnu.org>
27362         * org.el (org-adapt-indentation): Slightly improve the docstring.
27363         (org-occur): Sends an error when the user inputs an empty string.
27364         (org-priority): Bugfix: the tag alignement should happen within
27365         save-excursion.
27367 2009-08-06  Bastien Guerry  <bzg@gnu.org>
27369         * org.el (org-make-link-regexps): Don't exclude parentheses from
27370         `org-plain-link-re'.
27371         (org-cycle-internal-local): When locally cycling, switch directly
27372         from CHILDREN to FOLDED if there is no subtree.
27373         (org-cycle): Update the docstring to document the new behavior of
27374         `org-cycle-internal-local'.
27376 2009-08-06  Nicolas Goaziou  <n.goaziou@neuf.fr>  (tiny change)
27378         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
27379         an abbreviated format for days.
27381 2009-08-06  Bastien Guerry  <bzg@gnu.org>
27383         * org-protocol.el (org-protocol-default-template-key):
27384         New option.
27386         * org.el (org-refile): Bugfix: save-excursion before reading the
27387         refile target, otherwise cursor moves might confuse `org-refile'.
27389         * org.el (org-toggle-heading): Bugfix: correctly convert list
27390         items before the first headline.
27392         * org.el (org-provide-todo-statistics): Allow a list of TODO
27393         keywords to compute statistics against headlines containing a
27394         keyword from this list.
27395         (org-update-parent-todo-statistics): Possibly use the new allowed
27396         value of `org-provide-todo-statistics'.
27398 2009-08-06  Bastien Guerry  <bzg@gnu.org>
27400         * org-timer.el: Add autoload cookie.
27402         * org.el (org-occur-link-in-agenda-files): New function.
27404         * org-timer.el (org-timer-last-timer): New variable.
27406         * org-agenda.el (org-agenda-mode-map): New key for
27407         org-timer-set-timer called from the agenda.
27409         * org.el (org-mode-map): New key for org-timer-set-timer.
27411         * org-timer.el (org-timer-reset-timers)
27412         (org-timer-show-remaining-time, org-timer-set-timer):
27413         New functions.
27415         * org-clock.el (org-show-notification): Update the docstring.
27417         * org.el (org-provide-todo-statistics): Allow new value
27418         'all-headlines for this option, which includes entries with no
27419         TODO keywords in the todo statistics.
27420         (org-update-parent-todo-statistics): Possibly use the new
27421         'all-headline value from `org-provide-todo-statistics'.
27423 2009-08-06  Bastien Guerry  <bzg@gnu.org>
27425         * org-clock.el (org-dblock-write:clocktable): Add a new option
27426         :timestamp which allows display of timestamps in clock reports.
27428         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
27429         list to a subtree, preserving the structure of the list.
27430         (org-set-emph-re): Make the last element optional in the regexp.
27431         This regexp now matches an emphasized string at the end of a line.
27433         * org-list.el (org-list-goto-true-beginning)
27434         (org-list-make-subtree, org-list-make-subtrees): New functions.
27436         * org.el (org-eval-in-calendar): Select the right frame.
27437         (org-save-frame-excursion): Remove this macro.
27439 2009-08-06  Bastien Guerry  <bzg@gnu.org>
27441         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
27442         trying to find the beginning of a list.
27444         * org-exp.el (org-get-file-contents): Use a new argument: markup.
27445         When present, tell org-get-file-contents not to protect org-like
27446         lines.
27448         * org-id.el (org-id-uuid-program): New option to set the name of
27449         the uuidgen program.
27450         (org-id-method): Use `org-id-uuid-program'.
27451         (org-id-new): Use `org-id-uuid-program'.
27453 2009-08-06  Bastien Guerry  <bzg@gnu.org>
27455         * org-exp.el (org-export-number-lines): Allow whitespace in code
27456         references.  Allow the -r switch to remove the references in the
27457         source code even when the lines are not numbered: the labels can
27458         be explicit enough.
27460         * org.el (org-fontify-whole-heading-line): New option.
27461         (org-set-font-lock-defaults): Use the new option.
27463         * org-clock.el (org-show-notification-handler): New option.
27464         (org-show-notification): Use the new option.
27466 2009-08-06  Bastien Guerry  <bzg@gnu.org>
27468         * org.el (org-eval-in-calendar): Fix a bug about calendar
27469         navigation when `calendar-setup' value is 'calendar-only.
27471 2009-08-06  Bastien Guerry  <bzg@gnu.org>
27473         * org.el (orgstruct++-mode): Fix typo in docstring.
27474         (org-insert-link): Clean up: (or (...)) => (...)
27475         (org-insert-link): Use TAB for stored links completion.
27477 2009-08-06  Bastien Guerry  <bzg@gnu.org>
27479         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
27480         building the list of targets.
27482         * org-remember.el (org-remember-delete-empty-lines-at-end):
27483         New option.
27484         (org-remember-handler): Use the new option.
27486 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
27488         * org.el (org-tags-sort-function): New option for sorting tags.
27489         (org-set-tags): Use the new option to sort tags.
27491         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
27492         premature deletion of the data when using org-plot in a script.
27494 2009-08-06  Bastien Guerry  <bzg@gnu.org>
27496         * org-clock.el (org-clock-in-prepare-hook): New hook.
27497         (org-clock-in): Use this new hook.
27499 2009-08-06  Bastien Guerry  <bzg@gnu.org>
27501         * org.el (org-special-ctrl-a/e): Explicitly bind the value
27502         'reversed for this option to the "true line boundary first"
27503         behavior.
27504         (org-tags-match-list-sublevels): Document the 'indented value for
27505         this variable.
27507         * org-latex.el (org-export-latex-first-lines): Fix problem with
27508         publishing the region.
27510         * org-exp.el (org-export-format-source-code-or-example):
27511         Fix bad line numbering when exporting examples in HTML.
27513 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
27515         * org-colview.el (org-format-time-period): Formats a time in
27516         fractional days as days, hours, mins, seconds.
27517         (org-columns-display-here): Add special handling for SINCE and
27518         SINCE_IA to format for display.
27520         * org.el (org-time-since): Add a function to get the time since an
27521         org timestamp.
27522         (org-entry-properties): Add two new special properties: SINCE and
27523         SINCE_IA.  These give the time since any active or inactive
27524         timestamp in an entry.
27525         (org-special-properties): Add SINCE, SINCE_IA.
27526         (org-tags-sort-function): Add custom declaration for tags
27527         sorting function.
27528         (org-set-tags): Sort tags if org-tags-sort-function is set.
27530 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27532         * org-clock.el (org-clock-goto): Find hidden headlines as well.
27534         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
27536         * org-plot.el (org-plot/add-options-to-plist): Add timeind
27537         option.
27539 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27541         * org-publish.el (org-publish-remove-all-timestamps): New function.
27542         (org-publish-all): Remove all timestamp files if `org-publish-all'
27543         is called with a prefix argument.
27545         * org-list.el (org-indent-item): Fix typo.
27546         (org-item-indent-positions): Normalize ordered bullet.
27548 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27550         * org-macs.el (org-set-local): Make a local variable, do not make
27551         the variable buffer-local!
27553         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
27555         * org-exp.el (org-infile-export-plist): Read BIND lines.
27556         (org-install-letbind): New function.
27557         (org-export-as-org, org-export-preprocess-string):
27558         Call `org-install-letbind'.
27560         * org-list.el (org-list-demote-modify-bullet): New option.
27561         (org-first-list-item-p): Save point.
27562         (org-fix-bullet-type): New optional argument FORCE-BULLET.
27563         (org-indent-item): Honor `org-list-demote-modify-bullet'.
27564         (org-item-indent-positions): Return bullet types along with
27565         indentation.
27567 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27569         * org.el (org-show-entry): Hide drawers.
27571 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27573         * org-footnote.el (org-footnote-auto-adjust): New option.
27574         (org-footnote-auto-adjust-maybe): New function.
27575         (org-footnote-new, org-footnote-delete):
27576         Call `org-footnote-auto-adjust-maybe'.
27578         * org.el (org-startup-options): Add new footnote-related
27579         keywords.
27581         * org-publish.el (org-publish-timestamp-filename): Additional
27582         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
27583         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
27584         TRUE-PUB-DIR.  Pass them through to
27585         `org-publish-timestamp-filename'.
27586         (org-publish-update-timestamp): Additional arguments PUB-DIR and
27587         PUB-FUNC, which are included in the hash.
27588         (org-publish-file): Delay timestamp test until the publishing
27589         function is known.
27591 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27593         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
27594         setting the deadline.
27596         * org.el (org-read-date-final-answer): New variable.
27597         (org-read-date): Store the final answer string, including the date
27598         from the calendar, for reuse by agenda bulk commands.
27600         * org-publish.el (org-publish-attachment): Fix publishing of
27601         attachments.
27603         * org-latex.el (org-export-latex-quotation-marks): Fix export of
27604         quotation makrs in parenthesis.
27605         (org-remove-initial-hash): New function.
27606         (org-export-latex-preprocess): Fix bug with infinite loop if
27607         environment is not properly closed.
27609         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
27610         when indented.
27612         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
27613         highlight also when indented.
27615 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27617         * org-footnote.el (org-footnote-renumber-fn:N): New command.
27618         (org-footnote-action): Offer renumbering.
27620         * org.el (org-cycle): Honor the `integrate' value of
27621         org-cycle-include-plain-lists'.
27623         * org-list.el (org-cycle-include-plain-lists): New allowed value
27624         `internal'.  Improve the docstring.
27626         * org.el (org-set-autofill-regexps): Improve the paragraph-start
27627         regexp to work better with LaTeX commands.
27629 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27631         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
27632         and eps extensions.
27634 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27636         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
27637         loaded.
27639         * org.el (org-map-entries): No longer force
27640         `org-tags-match-list-sublevels' to t during a todo-only tags
27641         search.
27643 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27645         * org-latex.el (org-export-latex-low-levels): Allow user-defined
27646         environment.
27647         (org-export-latex-subcontent): Handle user-defined environment.
27649         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
27650         the View dispatcher.
27652         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
27653         `make-overlay'.
27655         * org-latex.el (org-export-as-pdf): Protect match data during call
27656         to shell-quote-argument.
27658         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
27659         (org-agenda-view-mode-dispatch): New function.
27661 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27663         * org-agenda.el (org-agenda-mode): Reset list of marks.
27664         (org-agenda-mode-map): Define new keys for refile and bulk action.
27665         (org-agenda-menu): Add menu itesm for refile and bulk action.
27666         (org-agenda-refile): New function.
27667         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
27668         (org-agenda-marked-entries): New variable.
27669         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
27670         (org-agenda-remove-all-bulk-action-marks)
27671         (org-agenda-bulk-action): New functions/commands.
27673 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27675         * org-exp.el (org-get-file-contents): Protect org-like lines in
27676         included files.
27677         (org-export-format-source-code-or-example): Remove newlines.
27679         * org-latex.el (org-export-latex-links): Check for no-description
27680         marking.
27682         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
27683         argument separator back to comma.
27684         (org-export-normalize-links): Mark links without description.
27686 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27688         * org-exp.el (org-infile-export-plist): Fix bug in macro
27689         processing.
27691         * org-agenda.el (org-agenda-clock-out): Update line after clocking
27692         out.
27693         (org-agenda-highlight-todo): Fix bug with highlighting.
27695 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27697         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
27698         new alignment strings.
27700         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
27701         command list.
27702         (org-table-align): Check for forced align type.
27704         * org.el (org-self-insert-command): Add yas/expand to command
27705         list.
27707         * org-clock.el (org-clock-in-hook): New hook.
27708         (org-clock-in): Run `org-clock-in-hook.
27709         (org-clock-out-hook): New hook.
27710         (org-clock-out): Run `org-clock-out-hook.
27711         (org-clock-cancel-hook): New hook.
27712         (org-clock-cancel): Run `org-clock-cancel-hook.
27713         (org-clock-goto-hook): New hook.
27714         (org-clock-goto): Run `org-clock-goto-hook.
27716 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27718         * org.el (org-store-link): Better default description for link to
27719         Org-mode headline.
27721         * org-exp.el (org-export-generic): Autoload the generic exporter
27722         function.
27723         (org-export): Implement the `g' key for the generic exporter.
27725 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27727         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
27728         and for zbacktab'.
27730         * org-exp.el (org-infile-export-plist): Get macros also from
27731         #+SETUPFILE.
27733 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27735         * org-colview.el (org-columns-capture-view): Protect vertical bars
27736         in column values.
27737         (org-columns-capture-view): Exclude comment and archived trees.
27739         * org.el (org-quote-vert): New function.
27741         * org-latex.el (org-export-latex-verbatim-wrap): New option.
27743         * org-exp.el (org-export-format-source-code-or-example):
27744         Use `org-export-latex-verbatim-wrap'.
27746         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
27747         time stamps.
27749 2009-08-06  Eric Schulte  <schulte.eric@gmail.com>
27751         * org-exp-blocks.el: New file.
27753 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27755         * org-remember.el (org-remember-templates): Allow the headline
27756         element to be a function.
27757         (org-remember-apply-template): If the headline is a function, call
27758         it to get the true function.
27760         * org-clock.el (org-clock-menu): New function.
27761         (org-clock-update-mode-line): Update help string.
27762         (org-clock-modify-effort-estimate): New function.
27763         (org-clock-mark-default-task): New function.
27765         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
27766         minutes as input.
27767         (org-org-menu): Add new clocking stuff.
27768         (org-clock-is-active): New function.
27770 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27772         * org.el (org-open-non-existing-files): Improve docstring.
27774 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27776         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries):
27777         New option.
27778         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
27780         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
27782         * org-list.el (org-get-checkbox-statistics-face): Use the new
27783         faces.
27785         * org-faces.el (org-checkbox-statistics-todo)
27786         (org-checkbox-statistics-done): New faces.
27788 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27790         * org-latex.el (org-export-latex-use-verb): New variable.
27791         (org-export-latex-emph-format): Prefer \texttt over \verb when
27792         org-export-latex-use-verb is set.
27794 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27796         * org-remember.el (org-remember-handler): Abort remember if the
27797         buffer is empty.
27799         * org-exp.el (org-export-format-source-code-or-example):
27800         Run `org-src-mode-hook'.
27802 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27804         * org.el (org-indent-line-function): Fix indentation of +#end lines.
27806 2009-08-06  Tassilo Horn  <tassilo@member.fsf.org>
27808         * org-gnus.el (org-gnus-store-link): Require message.el in
27809         org-gnus-store-link.
27811 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27813         * org-src.el: New file, split out of org.el.
27815         * org-macs.el (org-replace-match-keep-properties): New function.
27817         * org-exp.el (org-export-mark-blockquote-verse-center):
27818         Better preprocessing of center and quote and verse blocks.
27820         * org-list.el (org-list-end): Respect the stored "original"
27821         indentation when determining the end of the list.
27823         * org-exp.el (org-export-replace-src-segments-and-examples):
27824         Remember indentation correctly.
27826 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27828         * org-clock.el (org-clock-update-mode-line): Apply face
27829         org-mode-line-clock.
27831         * org-faces.el (org-mode-line-clock): New face.
27833 2009-08-06  Tassilo Horn  <tassilo@member.fsf.org>
27835         * org-gnus.el (org-gnus-store-link): Fix bug where
27836         `org-gnus-store-link' used wrong subject when called in an article
27837         buffer.  Patch provided by fengli AT gmail DOT com.
27839 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27841         * org-exp.el (org-export-format-source-code-or-example):
27842         Remember the original indentation of source code snippets and examples.
27844         * org-latex.el (org-export-as-latex): Relocate the table of
27845         contents.
27847         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
27849         * org-agenda.el (org-run-agenda-series): Scope global options also
27850         when creating the agenda buffer.
27852 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27854         * org.el (org-adapt-indentation): Improve documentation.
27855         (org-insert-property-drawer): Respect org-adapt-indentation when
27856         inserting the drawer.
27857         (org-remove-flyspell-overlays-in): New function.
27858         (org-do-emphasis-faces, org-activate-plain-links)
27859         (org-activate-code, org-fontify-meta-lines-and-blocks)
27860         (org-activate-angle-links, org-activate-footnote-links)
27861         (org-activate-bracket-links, org-activate-dates)
27862         (org-activate-target-links, org-activate-tags): Remove flyspell
27863         overlays.
27865 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27867         * org.el (org-edit-src-save): New function.
27869         * org-clock.el (org-clock-out-switch-to-state): New option.
27870         (org-clock-out): Honor `org-clock-out-switch-to-state'.
27872         * org-compat.el (org-compatible-face): Improve macro.
27874         * org.el (org-global-properties-fixed): Add default for
27875         CLOCK_MODELINE_TOTAL.
27877         * org-clock.el (org-clock-sum): Accept lists and strings as tstart
27878         and tend.
27879         (org-clock-sum-current-item): Optional argument TSTART, pass it to
27880         org-clock-sum.
27881         (org-clock-get-sum-start): New function.
27883         * org.el (org-startup-options): New keywords blockhide and
27884         blockshow.
27885         (org-mode): Add new invisibility spec.
27886         (org-set-startup-visibility): Hide block on startup if so
27887         desired.
27888         (org-hide-block-startup): New option.
27889         (org-block-regexp): New constant.
27890         (org-hide-block-overlays): New variable.
27891         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
27892         (org-show-block-all, org-hide-block-toggle-maybe)
27893         (org-hide-block-toggle): New functions.
27894         (org-edit-src-exit): Do not quote lines starting with # and no +
27895         behind it.
27896         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
27897         entry.
27899 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27901         * org.el (org-buffer-property-keys): Add Effort property for
27902         completion.
27904 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27906         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
27907         when retrieving total clocked time in the subtree.
27909         * org.el (org-quoting-blocks): New variable.
27911 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27913         * org-table.el (org-table-store-formulas)
27914         (org-table-get-stored-formulas, org-table-fix-formulas)
27915         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
27916         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
27918         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c):
27919         Allow indented #+TBLFM line.
27921         * org-footnote.el (org-footnote-goto-local-insertion-point):
27922         Allow indented #+TBLFM line.
27924         * org-colview.el (org-dblock-write:columnview): Allow indented
27925         #+TBLFM line.
27927         * org-clock.el (org-dblock-write:clocktable): Allow indented
27928         #+TBLFM line.
27930 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27932         * org-exp.el (org-export-format-source-code-or-example):
27933         Make editing indented blocks work correctly.
27935         * org.el (org-edit-src-nindent): New variable.
27936         (org-edit-src-code, org-edit-fixed-width-region)
27937         (org-edit-src-find-region-and-lang, org-edit-src-exit):
27938         Make editing indented blocks work correctly.
27940 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27942         * org-exp.el (org-export-replace-src-segments-and-examples):
27943         Find indented blocks.
27944         (org-export-format-source-code-or-example): Fix indentation of
27945         blocks.
27946         (org-export-remove-indentation): New function.
27947         (org-export-select-backend-specific-text): Allow backend-specific
27948         code to be indented.
27949         (org-export-mark-blockquote-verse-center): Allow markers to be
27950         indented.
27952         * org.el (org-fontify-meta-lines): New function.
27953         (org-set-font-lock-defaults): Call the new fontification
27954         function.
27956         * org-faces.el (org-meta-line): New face.
27957         (org-block): New face.
27959 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27961         * org.el (org-treat-insert-todo-heading-as-state-change)
27962         (org-treat-S-cursor-todo-selection-as-state-change):
27963         New variables.
27964         (org-insert-todo-heading):
27965         Honor `org-treat-insert-todo-heading-as-state-change'.
27966         (org-shiftright, org-shiftleft):
27967         Honor `org-treat-S-cursor-todo-selection-as-state-change'.
27968         (org-inhibit-logging): New variable.
27970 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27972         * org-agenda.el (org-remove-subtree-entries-from-agenda):
27973         Reduce range for marker position checking.
27975         * org-latex.el (org-export-latex-first-lines): Fix bug when
27976         exporting a region.
27978 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27980         * org-exp.el (org-export-push-to-kill-ring): Protect using
27981         x-set-selection, because that does not always work.
27983         * org-agenda.el (org-agenda-list): Apply the new face
27984         `org-agenda-date-today'.
27986         * org-faces.el (org-agenda-date-today): New face.
27988 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
27990         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
27991         creating appointments.
27993         * org-latex.el (org-export-latex-low-levels): Fix customization
27994         type.
27996         * org.el (org-priority, org-shiftup, org-shiftdown):
27997         Disable priority commands.
27999         * org-agenda.el (org-agenda-priority): Disable priority commands.
28001         * org.el (org-enable-priority-commands): New option.
28003         * org-colview.el (org-columns-compute)
28004         (org-columns-number-to-string): Fix problems with empty fields.
28006         * org-exp.el (org-export-push-to-kill-ring): New function.
28007         (org-export-copy-to-kill-ring): New option.
28009         * org-latex.el (org-export-as-latex):
28010         Call `org-export-push-to-kill-ring'.
28012         * org-exp.el (org-export-show-temporary-export-buffer):
28013         New option.
28015         * org-latex.el (org-export-as-latex):
28016         Use `org-export-show-temporary-export-buffer'.
28018         * org-exp.el (org-export-show-temporary-export-buffer):
28019         New option.
28020         (org-export-push-to-kill-ring): New function.
28022         * org-colview.el (org-columns-compile-map): New variable.
28023         (org-columns-new, org-columns-compute)
28024         (org-columns-number-to-string, org-columns-uncompile-format)
28025         (org-columns-compile-format): Implement new operators.
28027 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28029         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
28031         * org-list.el (org-update-checkbox-count): Make property
28032         dependent.
28034         * org.el (org-hierarchical-todo-statistics): New option.
28035         (org-update-parent-todo-statistics): Modify to handle recursive
28036         statistics.
28038 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28040         * org-publish.el (org-publish): Make this function behave
28041         correctly in interactive use when called with a prefix argument.
28043         * org.el (org-todo-statistics-hook): New hook.
28044         (org-update-parent-todo-statistics): Use new hook.
28045         (org-log-into-drawer): New function.
28046         (org-add-log-setup): Use the new `org-log-into-drawer' function to
28047         determine if we should be logging into a drawer.
28048         (org-log-into-drawer): Update docstring.
28049         (org-default-properties): Add LOG_INTO_DRAWER as a property.
28051         * org-list.el (org-checkbox-statistics-hook): New hook.
28052         (org-update-checkbox-count-maybe): Use new hook.
28054 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28056         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
28057         better buffer-generating mechanism.
28058         (org-edit-src-find-buffer): New function.
28060         * org-icalendar.el (org-print-icalendar-entries): Don't check for
28061         archive tag, this is already done by `org-agenda-skip'.
28062         data while constructing lost of tags.
28064 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28066         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
28067         as argument separator in macros.
28069 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28071         * org.el (org-after-sorting-entries-or-items-hook): New hook.
28072         (org-sort-entries-or-items): Run the new hook.
28073         (org-after-refile-insert-hook): New hook.
28074         (org-refile): Run `org-after-refile-insert-hook'.
28076         * org-agenda.el (org-agenda-get-progress): Never take time of day
28077         from headline when displaying progress.
28079         * org-latex.el (org-export-latex-complex-heading-re): New variable.
28080         (org-export-as-latex): Force the correct regexp in the
28081         preprocessor buffer.
28082         (org-export-latex-set-initial-vars):
28083         Set `org-export-latex-complex-heading-re'.
28085         * org-agenda.el (org-agenda-start-with-log-mode): New option.
28086         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
28088 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28090         * org-latex.el (org-export-latex-tables-centered): New option.
28091         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
28093         * org-exp.el (org-export-as-org): New command.
28094         (org-export-as-org): New command.
28096         * org-publish.el (org-publish-org-to-org): New function.
28098 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28100         * org.el (org-yank): Just call `org-yank-generic'.
28101         (org-yank-generic): New function, containing the formaer
28102         functionality of `org-yank'.
28104         * org-latex.el (org-export-latex-not-done-keywords)
28105         (org-export-latex-done-keywords): New variables.
28106         (org-export-latex-todo-keyword-markup): New option.
28107         (org-export-latex-set-initial-vars): Remember the TODO keywords.
28108         (org-export-latex-keywords-maybe): Apply the TODO markup.
28110 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28112         * org-exp.el (org-infile-export-plist): Add more default macros.
28113         (org-export-preprocess-apply-macros): Process macro arguments.
28115 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28117         * org-icalendar.el (org-icalendar-include-todo): New allowed value
28118         `unblocked'.
28119         (org-print-icalendar-entries): Respect the new value of
28120         `org-icalendar-include-todo'.
28122         * org.el (org-link-try-special-completion)
28123         (org-file-complete-link): New functions.
28124         (org-insert-link): Add special completion support for some link
28125         types.
28127         * org-bbdb.el (org-bbdb-complete-link): New function.
28129 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28131         * org-list.el (org-update-checkbox-count): Allow recursive
28132         statistics.
28133         (org-hierarchical-checkbox-statistics): New option.
28135         * org.el (org-cycle): Remove erraneous space character.
28137         * org-icalendar.el (org-icalendar-timezone): Initialize from
28138         environment.
28140 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28142         * org.el (org-autoload): Fix autoloading of ascii export
28143         functions.
28144         (org-modules): Add org-special-blocks.
28146 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28148         * org-icalendar.el (org-start-icalendar-file): Use the new option.
28149         (org-ical-timezone): New option.
28151         * org-exp.el (org-export-get-coderef-format): Use the description
28152         is present.
28154         * org.el (org-sort-entries-or-items): Improve docstring, and make
28155         better implementation for time sorting.
28157 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28159         * org.el (org-edit-src-persistent-message): New option.
28160         (org-edit-src-code, org-edit-fixed-width-region): Use the new
28161         option.
28163         * org-clock.el (org-clock-insert-selection-line): Fix prefious
28164         patch.
28166         * org.el (org-edit-src-code, org-edit-fixed-width-region):
28167         Use separate buffer instead of indirect buffer to edit source code.
28168         (org-edit-src-exit): Make this function work with the new setup.
28170         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
28171         are properly fontified before shown in the selection menu.
28173         * org.el (org-fontify-like-in-org-mode): New function.
28175         * org-latex.el (org-export-latex-links): Use the property list to
28176         retrieve the default image attributes.
28178         * org-exp.el (org-export-plist-vars): Add a new option.
28180 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28182         * org-exp.el (org-export, org-export-visible): Support ASCII
28183         export to buffer.
28184         (org-export-normalize-links): Do not protect the description if it
28185         is explicitly given.
28187         * org-list.el (org-reset-checkbox-state-subtree): Move here from
28188         org-checklist.el.
28189         (org-reset-checkbox-state-subtree):
28190         Call `org-reset-checkbox-state-subtree'.
28192         * org-remember.el (org-select-remember-template): For the
28193         selection of a valid template.
28195         * org-latex.el (org-export-region-as-latex): Supply the
28196         force-no-subtree argument.
28197         (org-export-as-latex): Provide better limits when exporting the
28198         first line.  When exporting to string, we still want the first
28199         lines.
28200         (org-export-latex-first-lines): New argument END, to force the end
28201         of the region.
28202         (org-export-region-as-latex): Use the property list.
28203         (org-export-as-latex): ????
28205 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28207         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
28208         (org-export-latex-preprocess): Run the new hook.
28210         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
28211         (org-export-preprocess-string): Run the new hook.
28213 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28215         * org-macs.el (org-check-external-command): New defsubst.
28217         * org.el (org-mode-map): New key for reload.
28218         (org-format-latex): Better error message when external programs
28219         are not available.
28221         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
28223         * org.el (org-sort-entries-or-items): Explicit sorting function
28224         for priorities, needed for XEmacs compatibility.
28226         * org-remember.el (org-remember-apply-template): Improve auto-save
28227         behavior.
28229 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28231         * org-latex.el (org-export-latex-preprocess): Also protect
28232         environments ending in a star.
28234         * org-list.el (org-at-item-p): Fix regular expression.
28236 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28238         * org.el (org-end-of-subtree): Improve speed.
28240         * org-agenda.el (org-agenda-get-timestamps)
28241         (org-agenda-get-progress, org-agenda-get-deadlines)
28242         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
28243         in particular, wait as long as possible to collect the tags.
28244         (org-stuck-projects): Improve docstring.
28246         * org.el (org-store-link): No errors when getting custom id before
28247         first headline.
28248         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
28250 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28252         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
28254         * org-protocol.el: Remove dependency on url.el.
28255         (org-protocol-unhex-compound, org-protocol-open-source):
28256         Remove dependency on url.el.
28258         * org-latex.el (org-export-as-pdf):
28259         Use `org-latex-to-pdf-process'.
28261 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28263         * org-latex.el (org-latex-to-pdf-process): New option.
28265         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
28266         New option.
28267         (org-agenda-get-timestamps):
28268         Honor `org-agenda-skip-additional-timestamps-same-entry'.
28270         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
28271         (org-clock-goto): Find recent task only if
28272         `org-clock-goto-may-find-recent-task' allows it.
28274         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
28275         drawers, and drawers that are missing the :END: line.
28277 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28279         * org-clock.el (org-clock-goto): Go to recently clocked task if no
28280         clock is running.
28282 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28284         * org.el (org-update-parent-todo-statistics): Check for
28285         STATISTICS_FROM property.
28287         * org-list.el (org-update-checkbox-count): Check for
28288         STATISTICS_FROM property.
28290         * org.el (org-tab-first-hook)
28291         (org-tab-after-check-for-table-hook)
28292         (org-tab-after-check-for-cycling-hook): New hooks.
28293         (org-cycle-internal-global, org-cycle-internal-local):
28294         New functions, split out from `org-cycle'.
28295         (org-cycle): Call the new hooks.
28297 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28299         * org-exp.el (org-export-preprocess-string): Reset the list of
28300         preferred targets for each run of the preprocessor.
28302         * org.el (org-refile-target-verify-function):
28303         Improve documentation.
28304         (org-get-refile-targets): Respect point being moved by the
28305         verification function.
28307         * org-latex.el (org-export-latex-timestamp-keyword-markup):
28308         New option.
28309         (org-export-latex-keywords): Use new option.
28311         * org.el (org-rear-nonsticky-at): New defsubst.
28312         (org-activate-plain-links, org-activate-angle-links)
28313         (org-activate-footnote-links, org-activate-bracket-links)
28314         (org-activate-dates, org-activate-target-links)
28315         (org-activate-tags): Place the rear-nonsticky properties at the
28316         correct location.
28318 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28320         * org-protocol.el (server-edit): Declare `server-edit'.
28321         (org-protocol-unhex-string, org-protocol-unhex-compound):
28322         New functions.
28323         (org-protocol-check-filename-for-protocol): Call `server-edit'.
28325         * org.el (org-default-properties): New default properteis for
28326         completion.
28328         * org-exp.el (org-export-add-subtree-options): Add new properties
28329         for subtree export.
28331 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28333         * org-id.el (org-id-get-with-outline-path-completion): Turn off
28334         org-refile-target-verify-function for the duration of the command.
28336         * org.el (org-link-to-org-use-id): New possible value
28337         `create-if-interactive-and-no-custom-id'.
28338         (org-store-link): Use custom IDs.
28339         (org-link-search): Find custom ID properties from #link.
28340         (org-default-properties): Add CUSTOM_ID for property completion.
28341         (org-refile-target-verify-function): New option.
28342         (org-goto): Turn off org-refile-target-verify-function
28343         for the duration of the command.
28345 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28347         * org-exp.el (org-export-preferred-target-alist): New variable.
28348         (org-export-define-heading-targets): Find the new CUSTOM_ID
28349         property.
28350         (org-export-target-internal-links): Target the custom ids when
28351         possible.
28353         * org-latex.el (org-export-latex-preprocess): Better regexp for
28354         matching latex macros with arguments.
28356 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28358         * org-remember.el (org-remember-handler): Allow filing to non-org
28359         files.
28361 2009-08-06  Magnus Henoch  <magnus.henoch@gmail.com>
28363         * org-table.el (org-table-fix-formulas): Do not change references
28364         to remote tables.
28365         (org-table-get-remote-range): Convert standard coordinates to RC
28366         format.
28368         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
28370 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28372         * org-compat.el (org-sha1-string): Function removed.
28374         * org.el (org-refile-allow-creating-parent-nodes): New option.
28375         (org-refile-get-location): New argument NEW-NODES.
28376         (org-refile): Call `org-refile-get-location' with the new
28377         argument.
28378         (org-refile-get-location): Arrange for adding a new child.
28379         (org-refile-new-child): New function.
28381         * org-clock.el: Fix a number of docstrings.
28382         (org-clock-find-position): New argument
28383         FIND-UNCLOSED to make the function find an unclosed clock in the
28384         entry.
28385         (org-clock-in): Call `org-clock-find-position' with the new
28386         argument if we might be resuming a clock.
28388 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28390         * org-latex.el (org-export-latex-display-custom-times): New variable.
28391         (org-export-latex-timestamp-markup): New option.
28392         (org-export-latex-set-initial-vars): Remember the local value of
28393         `org-display-custom-times'.
28394         (org-export-latex-content): Process time stamps.
28395         (org-export-latex-time-stamps): New function.
28397         * org-macs.el (org-maybe-intangible): Add intangible property
28398         again to invisible text.
28400 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28402         * org-exp.el (org-default-export-plist): Handle undefined
28403         variables.
28405 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28407         * org.el (org-sort-entries-or-items): Match TODO keywords
28408         case-sensitively, when sorting.
28409         (org-priority): Do not match TODO keywords with wrong case.
28411 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28413         * org.el (org-todo): Honor the NOBLOCKING property.
28415         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
28416         NOBLOCKING property.
28418         * org.el (org-scan-tags): Fix bug in tag scanner.
28420 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28422         * org.el (org-modules): Mark obsolete packages.
28424         * org-html.el: New file, split out from org-exp.el.
28426         * org-icalendar.el: New file, split out from org-exp.el.
28428         * org-xoxo.el: New file, split out from org-exp.el.
28430         * org-ascii.el: New file, split out from org-exp.el.
28432 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28434         * org-compat.el (org-find-library-name): New function.
28436         * org.el (org-pre-cycle-hook): New hook.
28437         (org-cycle): Call the new hook in appropriate places.
28438         (org-reload): Only reload files that have been loaded before.
28440 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28442         * org.el (org-set-font-lock-defaults): Enforxe space or line end
28443         after todo keyword.
28444         (org-todo): When changing TODO state, do matching
28445         case-sensitively.
28446         (org-map-continue-from): New variable.
28447         (org-scan-tags): Respect values in `org-map-continue-from'.
28448         (org-reload): Make XEmacs compatible.
28450 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28452         * org-protocol.el (org-protocol-flatten-greedy): New function.
28453         (org-protocol-flatten): New function.
28455         * org.el (org-open-link-from-string): Pass reference buffer to
28456         `org-open-at-point'.
28457         (org-open-at-point): New optional argument `reference-buffer'.
28459 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28461         * org.el (org-scan-tags): Make tag scan find headline in first
28462         line, 2nd attempt.
28463         (org-get-refile-targets): Add the naked file name.
28464         (org-refile): Store as top-level entry when only file name was
28465         given.
28467         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
28469         * org.el (org-block-todo-from-children-or-siblings-or-parent):
28470         Rename from org-block-todo-from-children-or-siblings, and
28471         enhanced to look for the parent's status as well.
28473         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
28474         (org-agenda-get-progress): Add first notes line to log entry if so
28475         desired.
28477 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28479         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
28480         (org-agenda-cleanup-fancy-diary): Call the new hook.
28482         * org-remember.el (org-remember-apply-template): Take the default
28483         for the annotation from the :annotation property.
28485         * org-mac-message.el (org-mac-message-get-link): Remove the
28486         quotes.
28487         (org-mac-message-get-link): Return the result.
28489 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28491         * org.el (org-refile-get-location): Add file name only if not
28492         already included in outline path.
28494         * org-faces.el (org-n-level-faces): Fix customization type from
28495         number to integer.
28497         * org-exp.el (org-export-headline-levels): Fix customization type
28498         from number to integer.
28500         * org-agenda.el (org-agenda-confirm-kill)
28501         (org-agenda-custom-commands-local-options)
28502         (org-timeline-show-empty-dates, org-agenda-ndays)
28503         (org-agenda-start-on-weekday, org-scheduled-past-days):
28504         Fix customization type from number to integer.
28506 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28508         * org-protocol.el: Declare some functions.
28510         * org-agenda.el (org-agenda-compare-effort):
28511         Honor `org-sort-agenda-noeffort-is-high'.
28512         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
28513         (org-agenda-compare-effort): Implement the "?" operator for
28514         finding entries without effort setting.
28516         * org.el (org-extract-attributes-from-string): New function.
28518         * org-exp.el (org-export-splice-attributes): New function.
28520 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28521         Daniel M German  <dmg@uvic.org>
28522         Sebastian Rose  <sebastian_rose@gmx.de>
28523         Ross Patterson  <me@rpatterson.net>
28525         * org-protocol.el: New file.
28527 2009-08-06  Baoqiu Cui  <cbaoqiu@yahoo.com>
28529         * org-docbook.el: New file.
28531 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28533         * org-mouse.el: XEmacs compatibility fixes.
28535         * org.el (org-modules): Add org-inlinetasks.el.
28536         (org-cycle): Implement limiting level on cycling.
28537         (org-move-subtree-down): Fix bug with swapping subtrees at end of
28538         buffer.
28540         * org-inlinetask.el: New file.
28542         * org.el (org-emphasis-regexp-components): Allow braces in
28543         emphasis pre and post match.
28545         * org-footnote.el (org-footnote-normalize): When only sorting, do
28546         not insert inline notes at the end.
28548         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
28550 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28552         * org.el (org-reftex-citation): New command.
28554 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28556         * org-agenda.el (org-agenda-cmp-user-defined): New option.
28557         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
28558         sorting options.
28559         (org-entries-lessp): Apply the new sorting option.
28561         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
28562         blocker code, when an older sibling has children.
28564         * org-mac-message.el (org-mac-message-get-link): Improve getting
28565         links from multiple selected messages.
28567 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28569         * org-remember.el (org-remember-finalize): Do not set buffer file
28570         name to nil.
28571         (org-remember-handler): Mark buffer as unmodified.
28572         (org-remember-handler): Delete backup file and show message about
28573         remaining backup files.
28574         (org-remember-auto-remove-backup-files): New option.
28576         * org.el (org-store-link): Use buffer name as link description in
28577         w3-mode buffers.
28578         (org-ido-switchb): Fix argument bug for completion.
28580         * org-remember.el (org-remember-apply-template): Set local
28581         variable `auto-save-visited-file-name' instead of global one.
28583 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28585         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
28586         (org-agenda-get-todos): Mark file tags as inherited.
28587         (org-agenda-list): Always search diary lines for a time.
28589 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28591         * org-feed.el: New file.
28593         * org-exp.el (org-export-as-html): Close local lists depending on
28594         indentation, also when starting a table.
28596         * org-remember.el (org-remember-backup-directory)
28597         (org-remember-backup-name): New internal variable.
28599 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28601         * org-clock.el (org-clock-out-if-current): Make buffer detection
28602         work in indirect buffers as well.
28604         * org.el (org-emphasis-regexp-components): Add the exxclamation
28605         mark to the post-emphasis characters.
28607 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28609         * org.el (org-read-date-minibiffer-septup-hook): New hook.
28610         (org-read-date): Run the new hook.
28612         * org-mac-message.el (org-mac-flagged-mail): New group.
28613         (org-mac-mail-account): New variable.
28614         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail):
28615         New commands.
28617         * org-remember.el (org-remember-backup-directory): New variable.
28618         (org-remember-apply-template): Write file to backup directory.
28620 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28622         * org-mouse.el (org-mouse-todo-menu): New function.
28623         (org-mouse-todo-keywords): Function removed.
28624         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
28626         * org-table.el (org-table-beginning-of-field)
28627         (org-table-end-of-field): New commands.
28628         (org-table-previous-field, org-table-beginning-of-field):
28629         Better error messages.
28630         (orgtbl-setup): Include `M-a' and `M-e'.
28632         * org.el (org-backward-sentence, org-forward-sentence):
28633         New commands.
28635         * org-colview.el (org-colview-initial-truncate-line-value):
28636         New variable.
28637         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
28638         (org-columns): Remember the value of `truncate-lines'.
28640         * org.el (org-columns-skip-arrchived-trees): New option.
28642         * org-agenda.el (org-agenda-export-html-style): Define color for
28643         org-agenda-done face.
28644         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
28645         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
28647         * org.el (org-scan-tags): Use the new face.
28649         * org-faces.el (org-agenda-done): New face.
28651         * org.el (org-scan-tags): Test the value org
28652         `org-tags-match-list-sublevels'.
28653         (org-tags-match-list-sublevels): New allowed value: indented.
28655         * org-latex.el (org-export-latex-make-header): Apply macros
28656         in header.
28658         * org-exp.el (org-export-apply-macros-in-string): New function.
28660         * org-latex.el (org-export-latex-list-parameters): Fix bug
28661         with the definition of a checked box.
28663         * org-clock.el (org-clock-find-position): Fix drawer indentations.
28665         * org-latex.el (org-export-latex-low-levels): More options
28666         for how to process lower levels in LaTeX.
28667         (org-export-latex-subcontent): Better treatment for lists as a
28668         means of publishing lower levels.
28670 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28672         * org.el (org-set-font-lock-defaults): Use new checkbox face.
28674         * org-faces.el (org-checkbox): New face.
28676         * org-exp.el (org-export-html-preprocess): Only create LaTeX
28677         fragement images if there is an export file.
28679 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28681         * org-agenda.el (org-stuck-projects): Document that the subtree of
28682         projects that are not stuck will now be searched for stuck
28683         sub-projects.
28684         (org-agenda-skip-entry-when-regexp-matches)
28685         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
28686         (org-agenda-list-stuck-projects):
28687         Use `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
28689         * org-latex.el (org-export-latex-preprocess):
28690         Improve export of verses.
28692         * org-exp.el (org-export-as-html): Implement centering as a div
28693         rather than a paragraph.  Do a better job with line-end in verse
28694         environments.
28696 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28698         * org.el (org-open-at-point): Fix tags searches by mouse click.
28700 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28702         * org-latex.el (org-export-latex-preprocess): Implement the
28703         centering markup.
28705         * org-exp.el (org-export-mark-blockquote-verse-center):
28706         Rename from `org-export-mark-blockquote-and-verse'.
28707         (org-export-as-html): Implement the centering markup.
28709         * org-latex.el (org-export-latex-tables): Fix vertical
28710         lines in tables.
28712 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28714         * org.el (org-read-date-history): New variable.
28715         (org-read-date): Use new history variable.
28716         (org-toggle-heading): Fix bug when used before first headline.
28717         (org-store-log-note): Remove drawer if empty while note is
28718         aborted.
28719         (org-remove-empty-drawer-at): New function.
28720         (org-check-after-date): New command.
28721         (org-sparse-tree): New sparse tree command "a".
28723         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
28725 2009-08-06  Bastien Guerry  <bzg@gnu.org>
28727         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
28728         column and a space, not only a column.
28730 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28732         * org-latex.el (org-export-latex-emphasis-alist):
28733         Better defaults for verbose emphasis.
28734         (org-export-latex-emph-format): New function.
28735         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
28737         * org-agenda.el (org-agenda-menu): Add new commands to menu.
28738         (org-agenda-do-date-later, org-agenda-do-date-earlier)
28739         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
28740         (org-agenda-date-later-hours, org-agenda-date-earlier-hours):
28741         New commands.
28743         * org.el (org-timestamp-change): Move end-time along with start
28744         time.
28746 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28748         * org-exp.el (org-export-target-internal-links)
28749         (org-export-as-html): Protect links specified as #name.
28751 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28753         * org.el (org-clone-subtree-with-time-shift): New command.
28755         * org-latex.el (org-export-latex-special-chars)
28756         (org-export-latex-treat-sub-super-char): Fix subscript export.
28758         * org-exp.el (org-create-multibrace-regexp): Do not add
28759         backslashes to the class.
28761 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28763         * org-colview.el (org-columns-map): Better functions for moving up
28764         and down a row, even if `truncate-line' is nil.
28766         * org.el (org-insert-todo-heading): Make sure the keyword is
28767         inserted at the correct position.
28769         * org-publish.el (org-publish-project-alist)
28770         (org-publish-projects, org-publish-org-index): Change default anme
28771         for the index of file names to "sitemap.org".
28773         * org-latex.el (org-export-latex-tables):
28774         Use `org-split-string', for Emacs 21 compatibility.
28776 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28778         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
28780 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28782         * org-exp.el (org-export-page-description)
28783         (org-export-page-keywords): New variables.
28784         (org-export-plist-vars): Add entries for :keywords and
28785         :description.
28786         (org-infile-export-plist): Parse for new keywords.
28787         (org-get-current-options): Add new keywords.
28788         (org-export-as-html): Publish description and keywords.
28790         * org-agenda.el (org-agenda-add-entry-text-descriptive-links):
28791         New option.
28792         (org-agenda-add-entry-text):
28793         Honor `org-agenda-add-entry-text-descriptive-links'.
28795         * org-latex.el (org-export-latex-preprocess): Make all
28796         external preprocess functions use a PARAMETER arg.
28798         * org-exp.el (org-export-preprocess-string)
28799         (org-export-select-backend-specific-text)
28800         (org-export-format-source-code-or-example)
28801         (org-format-org-table-html): Support docbook export.
28802         (org-export-preprocess-string): Make all external preprocess
28803         functions use a PARAMETER arg.
28805 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28807         * org-exp.el (org-export-html-style-include-scripts): New option.
28808         (org-export-plist-vars): Add new option
28809         `org-export-html-style-include-scripts'.
28810         (org-export-as-html): Honor new option
28811         `org-export-html-style-include-scripts'.
28812         (org-export-html-scripts, org-export-html-style-default):
28813         Fix xml issues with the Safari browser.
28815 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28817         * org-publish.el (org-publish-attachment): Only copy file when the
28818         directories differ.
28820 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28822         * org-clock.el (org-clocktable-steps): Use inactive time stamps
28823         for clocktable steps.
28825         * org.el (org-additional-option-like-keywords): Add two more
28826         keywords.
28828 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28830         * org-exp.el (org-export-format-source-code-or-example):
28831         Mark temporary buffer unmodified, so that it will be killed even if
28832         mode like message mode has decided to assign a file name.
28834         * org.el (org-scan-tags): Improve tag inheritance.
28835         (org-scan-tags, org-make-tags-matcher): Make tag comparison
28836         case-sensitive.
28837         (org-scan-tags): Use the internal tags list instead of creating it
28838         from scratch.
28839         (org-trust-scanner-tags, org-scanner-tags): New variables.
28840         (org-scan-tags): Set `org-scanner-tags'.
28841         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
28842         (org-map-entries): Document the possible speedup using scanner
28843         tags.
28845 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28847         * org.el (org-add-planning-info): Fix bug with looking for keyword
28848         only at column 0.
28850         * org-agenda.el (org-agenda-custom-commands-local-options):
28851         Add option for tags filter preset.
28852         (org-prepare-agenda): Store filter preset as a property on the
28853         filter variable.
28854         (org-finalize-agenda): Call the filter, if there is a preset.
28855         (org-agenda-filter-by-tag): Filter again after clearing the
28856         filter, when there still is a preset.
28857         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
28858         Include the preset filter.
28859         (org-agenda-redo): Apply the filter again, also the preset filter.
28861         * org-exp.el (org-export-as-html): Use IDs in the correct way.
28863         * org.el (org-uuidgen-p): New function.
28865         * org-agenda.el (org-agenda-fontify-priorities): New default value
28866         `cookies'.
28867         (org-agenda-fontify-priorities): Rename from
28868         org-fontify-priorities.
28870         * org.el (org-set-font-lock-defaults):
28871         Call `org-font-lock-add-priority-faces'.
28872         (org-font-lock-add-priority-faces): New function.
28874         * org-faces.el (org-set-tag-faces): New option.
28875         (org-priority-faces): New variable.
28877         * org-exp.el (org-export-as-html): Add a "content" div around the
28878         entire content of the body tag.
28879         (org-export-html-get-bibliography): New function.
28880         (org-export-html-validation-link): New variable.
28881         (org-export-as-html): Add validation link to exported page.
28883         * org.el (org-match-sparse-tree): Rename from
28884         `org-tags-sparse-tree'.
28885         (org-tags-sparse-tree): New alias.
28887 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28889         * org.el (org-get-valid-level): Catch the case where the level
28890         change is nil.
28892         * org-clock.el (org-clock-find-position): Better indentation of
28893         new clock drawers.
28895 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28897         * org-agenda.el (org-agenda-quit): Delete window only when the
28898         frame-setup was not `current-window'.
28900         * org.el (org-tag-persistent-alist): New option.
28901         (org-startup-options): Add keyword `noptag'.
28902         (org-fast-todo-selection): Handle :newline correctly.
28903         (org-set-tags): Handle :newline correctly.
28904         (org-fast-tag-selection): Handle :newline correctly.
28906 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28908         * org-exp.el (org-export-as-ascii): Reverse link buffer before
28909         outputting it.
28910         (org-export-ascii-push-links): Fix bug with pussing links into the
28911         export buffer.
28913 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28915         * org-archive.el (org-archive-subtree): Do not add 1 to level if
28916         pasting at top level.
28918         * org-bbdb.el: Improve documentation.
28920 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28922         * org-list.el (org-insert-item): Only consider insert empty lines
28923         is `org-empty-line-terminates-plain-lists' is not nil.
28925         * org.el (org-blank-before-new-entry): Mention the dependence on
28926         `org-empty-line-terminates-plain-lists' in the docstring.
28928         * org-publish.el (org-publish-get-project-from-filename):
28929         New optional argument UP.  Only find the top project if UP is set.
28930         (org-publish-current-project): Find the top encloding project.
28932         * org-agenda.el (org-agenda-before-write-hook)
28933         (org-agenda-add-entry-text-maxlines): New options.
28934         (org-write-agenda): Run the new hook in the temporary buffer.
28935         (org-agenda-add-entry-text): New function.
28936         (org-write-agenda): Implement PDF export, using ps2pdf.
28938         * org.el (org-global-properties-fixed, org-global-properties):
28939         Improve documentation string.
28941         * org-exp.el (org-export-ascii-links-to-notes): New option.
28942         (org-export-as-ascii): Handle links better.
28943         (org-export-ascii-wrap, org-export-ascii-push-links):
28944         New functions.
28946 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28948         * org-agenda.el (org-agenda): Make prefix arg optional.
28949         (org-agenda-search-headline-for-time): New option.
28950         (org-format-agenda-item):
28951         Honor `org-agenda-search-headline-for-time'.
28953         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
28954         characters.
28956         * org.el (org-self-insert-cluster-for-undo): New option.
28957         (org-self-insert-command): Cluster undo for 20 characters.
28958         (org-self-insert-command-undo-counter): New variable.
28960 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28962         * org-exp.el (org-export-as-html): Fix problem with closing colone
28963         example.
28965 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28967         * org-latex.el (org-export-as-latex)
28968         (org-export-latex-first-lines): Avoid modification flag when
28969         adding or removing text properties.
28970         (org-export-latex-fontify): Catch error when org-emph-alist has
28971         entries that are not defined for LaTeX export.
28973         * org-export-latex.el: Rename to org-latex.el.
28975         * org-latex.el: Rename from org-export-latex.el.
28977         * org.el (orgstruct++-mode): New function.
28978         (turn-on-orgstruct++): Call `orgstruct++-mode'.
28979         (org-context-p): Allow detecting item context after the first line
28980         of an item.
28981         (orgstruct-make-binding): Detect if item-body context should be
28982         seen.
28983         (orgstruct-is-++): New variable.
28984         (org-add-planning-info): Catch the case when there is no planning
28985         info yet and the call does not want to add anything, only maybe
28986         tries to remove something.
28987         (org-special-ctrl-a/e): All value to be a cons cell with separate
28988         settings for `C-a' and `C-e'.
28989         (org-beginning-of-line, org-end-of-line): Honor separate values
28990         for `C-a' and `C-e'.
28992 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
28994         * org.el (org-reload): New command.
28996 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
28998         * org-gnus.el (org-gnus-store-link): Fix bug where
28999         org-gnus-store-link used wrong subject when called in an article
29000         buffer.  Patch provided by fengli AT gmail DOT com.
29002 2009-03-13  D. Goel  <deego3@gmail.com>
29004         * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
29005         replace ls by (values-list ls).
29007 2009-02-20  Carsten Dominik  <dominik@science.uva.nl>
29009         * org-remember.el (org-remember-apply-template): Turn off ido for
29010         this completion.
29012         * org.el (org-priority): Also find invisible headings, for remote
29013         editing.
29014         (org-completing-read-no-ido): New function.
29015         (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
29017         * org-colview.el (org-columns-edit-value): No special treatment of
29018         prefix arg.
29020 2009-02-19  Carsten Dominik  <dominik@science.uva.nl>
29022         * org.el (org-block-todo-from-children-or-siblings):
29023         Use `org-up-heading-all' so that this will work correctly with hidden
29024         property drawers and entries.
29025         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
29026         falling back to normal, default command.
29027         (org-get-location): Temporarily turn off special behavior.
29029 2009-02-13  Glenn Morris  <rgm@gnu.org>
29031         * org-rmail.el (rmail-show-message): Restore argument list to the
29032         declaration now that this functions behaves in Emacs 23 as in 22.
29034 2009-02-12  Glenn Morris  <rgm@gnu.org>
29036         * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
29038 2009-02-12  Joachim Reiter  <Reiter.Joachim@web.de>  (tiny change)
29040         * org-footnote.el (org-footnote-action): Fix doc typo.
29042 2009-02-06  Carsten Dominik  <dominik@science.uva.nl>
29044         * org-exp.el (org-export-preprocess-string): Fix bug with skipping
29045         text before first headline.
29046         (org-export-remove-or-extract-drawers): Fix regular expression for
29047         extracting drawers.
29049         * org.el (org-format-latex): Stop LaTeX fragment processing in
29050         protected examples.
29052 2009-02-05  Glenn Morris  <rgm@gnu.org>
29054         * org-rmail.el (rmail-show-message): Update declaration.
29055         (rmail-buffer, rmail-view-buffer): Declare.
29056         (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
29058 2009-02-04  Carsten Dominik  <dominik@science.uva.nl>
29060         * org.el (org-return-follows-link): Revert setting
29061         `org-return-follows-link' to t by default.
29063 2009-02-02  Carsten Dominik  <dominik@science.uva.nl>
29065         * org.el (org-cycle-global-at-bob): Fix typo.
29067         * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
29069 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
29071         * org.el (org-mode): Make dependence stuff work more reliably.
29072         (org-update-parent-todo-statistics): Fix bug with updating
29073         statistics cookie.
29074         (org-yank-adjusted-subtrees, org-return-follows-link)
29075         (org-use-fast-todo-selection, org-tags-column): New default
29076         setting for variables.
29078         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
29079         ~ as verbatim delimiters, to avoid table bug.
29080         (org-export-latex-classes): Remove the a4paper option from the
29081         default styles.
29083         * org-exp.el (org-export-html-format-image): New argument
29084         PAR-OPEN, to fix XHTM validation bug.
29085         (org-export-as-html): Pass par-open to
29086         `org-export-html-format-image'.
29087         (org-export-html-footnotes-section): Use a more consistent id for
29088         footnotes.
29090         * org-agenda.el (org-agenda-sorting-strategy)
29091         (org-agenda-tags-column): New default setting for variables, based
29092         on a poll what typical uses use.
29093         (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
29094         setting the blocked tag.
29096 2009-01-31  Carsten Dominik  <dominik@science.uva.nl>
29098         * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
29099         only checking for blocks.
29101         * org-exp.el (org-export-html-footnotes-section): Make the div id
29102         consistent.
29104         * org-export-latex.el (org-export-latex-classes):
29105         Remove paper size option from LaTeX classes.
29107 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
29109         * org.el (org-enforce-todo-checkbox-dependencies): New option.
29110         (org-block-todo-from-checkboxes): New function.
29111         (org-todo): Make triple prefix arg circumvent blocking.
29113 2009-01-30  Glenn Morris  <rgm@gnu.org>
29115         * org-list.el (org-empty-line-terminates-plain-lists)
29116         (org-toggle-checkbox): Doc fixes.
29118         * org-table.el (org-table-clean-before-export): Fix declaration.
29120 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
29122         * org-timer.el (org-timer): Provide the timer feature.
29124         * org.el (org-require-autoloaded-modules): Add a few more files to
29125         the list of autoloaded modules.
29127         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
29129         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
29130         drawers that are unprotected.
29131         (org-export-html-format-image): Make sure inlined LaTeX fragment
29132         images remain inlined.
29134         * org.el (org-toggle-ordered-property): New function.
29135         (org-mode-map): Add a key for `org-toggle-ordered-property'.
29136         (org-org-menu): Add menu entries for TODO dependencies.
29138         * org.el (org-default-properties): Add ORDERED to the default
29139         properties, to get completion support for it.
29141         * org-list.el (org-update-checkbox-count): Update more than one cookie.
29143         * org.el (org-update-parent-todo-statistics): Update more than one
29144         cookie.
29146 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
29148         * org-agenda.el (org-agenda-get-todos): Start search from correct
29149         position.
29151         * org.el (org-fast-todo-selection): Make sure TODO selection does
29152         not change buffer position.
29154         * org-list.el (org-toggle-checkbox): Implement adding or removing
29155         checkboxes from line or region when called with a prefix
29156         argument.
29158         * org-rmail.el (org-rmail-store-link): Protect the call to
29159         `rmail-narrow-to-non-pruned-header'.
29161         * org-clock.el (org-clock-special-range): Fix week display in
29162         clock tables.
29164         * org-exp.el (org-get-current-options): Fix bug when in indirect
29165         buffer.
29167         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
29168         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
29169         (org-agenda-dim-blocked-tasks): New function.
29171         * org.el (org-enforce-todo-dependencies): New option.
29172         (org-block-todo-from-children-or-siblings): New function.
29174         * org-faces.el (org-agenda-dimmed-todo-face): New face.
29176 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
29178         * org.el (org-todo): Return correct state type even if the blocker
29179         throws an error.
29180         (org-modifier-cursor-error): Rename from
29181         `org-shiftcursor-error'.
29182         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
29183         (org-shiftmetadown): Call `org-modifier-cursor-error'.
29185         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
29186         to get real errors from the blocker hook.
29188         * org.el (org-shiftselect-error, org-call-for-shift-select):
29189         New functions.
29190         (org-set-visibility-according-to-property): Turn off the setting
29191         of `org-show-entry-below', to avoid overruling a FOLDED visibility
29192         property.
29194         * org.el (org-support-shift-select): New option.
29195         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
29196         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
29197         selection outside contexts.
29199         * org-list.el (org-at-item-bullet-p): New function.
29201         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
29202         variables.
29204         * org-footnote.el (org-footnote-normalize): Remove unnecessary
29205         variable.
29206         (org-insert-footnote-reference-near-definition):
29207         Remove unnecessary let form.
29209 2009-01-26  Carsten Dominik  <dominik@science.uva.nl>
29211         * org-export-latex.el (org-export-as-latex):
29212         Call `org-export-latex-first-lines' with OPT-PLIST as a parameter.
29213         (org-export-latex-first-lines): New parameter OPT-PLIST.
29215         * org.el (org-yank): Tell `delete-selection-mode' about
29216         `org-yank'.
29218         * org-faces.el (org-clock-overlay): Fix face definition.
29220         * org-export-latex.el (org-export-latex-first-lines):
29221         Pass timestamp and footnote parameters to the preprocessor.
29223         * org-exp.el (org-export-remove-timestamps): Do not remove time
29224         stamps inside tables.
29226 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
29228         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
29230         * org.el (org-agenda-tags-todo-honor-ignore-options):
29231         Declare variable.
29233         * org-table.el (org-table-insert-hline): Fix typo in function call
29234         to `backward-char'.
29236         * org-exp.el (org-export-as-html): Remove the initial space from
29237         colon examples.
29239         * org.el (org-scan-tags):
29240         Call `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
29242         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view):
29243         New customization groups.
29244         (org-agenda-tags-todo-honor-ignore-options): New option.
29245         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
29246         New function.
29247         (org-agenda-get-todos):
29248         Use `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
29250 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
29252         * org-exp.el (org-export-format-source-code-or-example):
29253         Escape HTML characters also in examples that anre not treated with
29254         htmlize.  Also, just switch to EXAMPLE processing if we do not
29255         have a good version of htmlize.
29257         * org-rmail.el: Fix copyright notice.
29259         * org.el (org-activate-footnote-links): Improve footnote link
29260         highlighting.
29262         * org-footnote.el (org-footnote-normalize): Fix finding the end of
29263         a footnote definition at the end of the file.
29265         * org-table.el (org-table-get-specials): Add an imagined hline at
29266         the end of the table.  This can be useful for references that want
29267         to go to the end of the table.  Also fix bug when computing last
29268         row constants, in tables that do not start right at the right
29269         margin.
29270         (org-table-eval-formula): Match and replace remove references.
29271         (org-table-formula-substitute-names): Make sure that names inside
29272         a "remote" call are left alone, the will be replaced later when
29273         the remote call is handled.
29274         (org-table-convert-refs-to-rc): Do not convert things that might
29275         look like a reference, but are really part of an ID or namei n a
29276         remote reference.
29277         (org-table-get-remote-range): New function.
29279 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
29281         * org-faces.el (org-clock-overlay): Fix bug in face definition.
29283         * org-clock.el (org-clock-put-overlay): Use new face instead of
29284         `secondary-selection'.
29286         * org-faces.el (org-clock-overlay): New face.
29288 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
29290         * org-exp.el (org-get-current-options): Include the option for
29291         publishing time stamps.
29293         * org.el (org-toggle-heading): Rename from
29294         `org-toggel-region-headings'.
29295         No longer needs a region defined, but will use it if there is one.
29296         (org-ctrl-c-star): Simplify, relying more on the internal
29297         workings of `org-toggle-heading'.
29298         (org-toggle-item): Rename from `org-toggle-region-items'.
29299         No longer needs a region defined, but will use it if there is one.
29300         (org-ctrl-c-minus): Simplify, relying more on the inernal
29301         workings of `org-toggle-item'.
29303         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
29304         environment detection.  Also, do real changes only in unprotected
29305         places.
29307 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
29309         * org-export-latex.el (org-export-latex-quotation-marks):
29310         Use `org-if-unprotected-1'.
29311         (org-export-latex-set-initial-vars): Check for class definition in
29312         property.
29314         * org-macs.el (org-if-unprotected-1): New macro.
29316 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
29318         * org-compat.el (org-count-lines): New function.
29320         * org-exp.el (org-export-format-source-code-or-example):
29321         Handle switches related to text areas.
29323         * org.el (org-activate-footnote-links): Don't allow match inside a
29324         link.
29326         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
29328         * org-export-latex.el (org-export-latex-links): Keep a relative
29329         path relative also after export.
29331         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
29333         * org.el (org-make-tags-matcher): Never use IDO for completing the
29334         tags matcher match string.
29335         (org-completing-read): Also remove the special biding for "?".
29337         * org-attach.el (org-attach-allow-inheritance): New option.
29338         (org-attach-inherited): New variable.
29339         (org-attach-dir): Handle properties related to the attachment
29340         directory.
29341         (org-attach-check-absolute-path): New function.
29342         (org-attach-set-directory, org-attach-set-inherit): New commands.
29343         (org-attach): Accommodate the new commands in the dispatcher.
29345 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
29347         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
29348         `window-full-width-p'.
29350         * org-exp.el (org-export-as-html): Only check for images files
29351         that really can be inlined.
29353         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
29354         list of extensions to be a parameter.
29356         * org-exp.el (org-export-html-inline-image-extensions):
29357         New variable.
29359         * org-agenda.el (org-prepare-agenda):
29360         Use `org-agenda-block-separator'.
29361         (org-agenda-block-separator): New option.
29363 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
29365         * org-export-latex.el (org-export-latex-tables):
29366         Call `org-table-clean-before-export' with the new optional argument.
29368         * org-exp.el (org-table-clean-before-export): New optional
29369         parameter MAYBE-QUOTED, allows for quoted characters like \# in
29370         first column.
29372 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
29374         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
29375         histograms.
29377         * org-colview.el (org-colview-construct-allowed-dates):
29378         Better error catching when a date/time property does not have allowed
29379         values defined.
29381 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
29383         * org.el (org-map-entries): Restore point and restriction after
29384         `org-map-entries'.
29386 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
29388         * org.el (org-time=, org-time<, org-time<=, org-time>)
29389         (org-time>=, org-time<>): Make sure both values are dates.
29391 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
29393         * org-archive.el (org-extract-archive-heading): Allow %s for file
29394         name also in achive location heading.
29396 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
29398         * org-archive.el (org-add-archive-files): Uniquify the list before
29399         returning it.
29401 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
29403         * org-compat.el (org-fit-window-to-buffer):
29404         Use `window-full-width-p'.
29406         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
29407         space after the colon in short examples.
29409         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
29410         enforce a space after the colon.  However, we also allow lines
29411         that are *only* a colon.
29412         (org-export-as-html): Enforce the space after the colon in short
29413         examples.
29414         (org-export-preprocess-string): Do the colon example protection
29415         earlier.
29416         (org-export-remove-timestamps): Do not check for protection at the
29417         end of the line.
29419 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
29421         * org.el (org-format-latex-options): Add new matcher for single
29422         letters between dollars.
29423         (org-get-header): Function removed.
29424         (org-heading-components): New function.
29426         * org-exp.el (org-export-define-heading-targets): Record ID's also
29427         as alternative targets.
29428         (org-export-as-html): Interpret "id:" links to other files by
29429         preserving the relative path.
29431         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
29432         is nil.
29434         * org-exp.el (org-export-normalize-links): Protect the main link,
29435         to avoid special character processing.
29437         * org-export-latex.el (org-export-latex-special-keyword-regexp):
29438         New variable.
29439         (org-export-latex-special-string-regexps): Variable removed.
29440         (org-export-latex-keywords): Use the new regexp.
29442         * org-exp.el (org-export-handle-include-files): Fetch switches and
29443         put them into the BEGIN statement.
29445         * org-timer.el (org-timer-mode-line-string): New variable.
29447         * org-clock.el (org-clock-mode-line-map): Rename from
29448         `org-clock-mode-map'.
29449         (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
29450         (org-clock-update-mode-line): Rename from `org-update-mode-line'.
29451         (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
29452         (org-clock-remove-overlays): Rename from
29453         `org-remove-clock-overlays'.
29455         * org-timer.el (org-timer-pause-or-continue): Implement stopping
29456         and mode line display.
29457         (org-timer-stop): New command.
29458         (org-timer-seconds): Return correct time when timer is paused.
29459         (org-timer-mode-line-timer): New variable.
29460         (org-timer-set-mode-line, org-timer-update-mode-line):
29461         New functions.
29463         * org.el (org-insert-heading): Handle new value `auto' for
29464         `org-blank-before-new-entry'.
29465         (org-org-menu): Add new items for timer functions.
29467         * org-list.el (org-insert-item): Handle new value `auto' for
29468         `org-blank-before-new-entry'.
29470         * org.el (org-blank-before-new-entry): New value `auto', made
29471         default.
29473 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
29475         * org-exp.el (org-export-normalize-links): If the link is also
29476         used as the description, protect the description.
29478 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
29480         * org.el (org-closest-date): Fix bug with yearly repeats, in
29481         combination with preference of the past as it is used for deadline
29482         and scheduling search.
29484         * org-exp.el (org-html-handle-time-stamps): No longer check for
29485         the `org-export-with-timestamps' option, because the preprocesser
29486         has taken care of this already.
29488         * org.el (org-entry-properties): Catch the case when this is
29489         called in a non-org-mode file.
29491         * org-export-latex.el (org-export-latex-remove-from-headlines):
29492         Variable made obsolete, also LaTeX export now uses the standard
29493         variables.
29494         (org-export-as-latex): Add the timestamps parameter to the
29495         preprocessor parameter list.
29496         (org-export-latex-content): Export the remaining keywords without
29497         considering to remove them.
29498         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
29499         Use bold font instead of tt font for the keywords.
29500         (org-export-latex-fontify-headline): Format headlines, assuming
29501         that all keywords still present should be published.
29502         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
29503         publish what ever remains of the time stamps.
29504         (org-export-latex-list-parameters): New option.
29505         (org-export-latex-lists): Pass additional parameters to the list
29506         converter.
29508         * org-exp.el (org-export-preprocess-string): Remove clock lines
29509         and timestamps already in the preprocesor.
29510         (org-export-remove-timestamps, org-export-remove-clock-lines):
29511         New functions.
29512         (org-export-as-ascii, org-export-as-html): Add the timestamps
29513         parameter to the preprocessor parameter list.
29515         * org-list.el (org-list-parse-list): Parse for checkboxes.
29516         (org-list-to-generic): Introduce and handle new parameters :cbon
29517         and :cboff.
29518         (org-list-to-latex, org-list-to-html, org-list-to-texinfo):
29519         Add optional parameter PARAMS.
29521         * org-export-latex.el (org-export-latex-special-chars):
29522         Fix problems with interpreting dollar signs.
29523         (org-inside-latex-math-p): New function.
29524         (org-export-latex-preprocess): Protect all the math fragments.
29526         * org.el (org-latex-regexps): Allow a dash after a dollar.
29528         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
29529         mark after copying.
29531         * org-agenda.el (org-run-agenda-series): Have series options set
29532         when finalizing the agenda.
29534         * org-exp.el (org-export-format-source-code-or-example):
29535         Protect the converted examples.
29537         * org.el (org-set-regexps-and-options): Fix the regexp
29538         `org-complex-heading-regexp'.
29540 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
29542         * org.el (org-edit-src-get-label-format): New function.
29543         (org-coderef-label-format): New option.
29544         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
29545         a label format specification and make sure it is used in the edit
29546         buffer.
29547         (org-edit-src-get-label-format): New function.
29548         (org-store-link): Handle new coderef formats.
29549         (org-link-search): Handle new coderef formats.
29551         * org-footnote.el (org-footnote-create-definition)
29552         (org-footnote-goto-local-insertion-point): Make footnote insertion
29553         work correctly when the "Footnotes" headline is the last line in
29554         the buffer.
29556         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
29557         the location.
29559 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
29561         * org-w3m.el (org-w3m): New customization group.
29562         (org-w3m-deactivate-mark): New option.
29563         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
29564         option say not to.
29566 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
29568         * org.el (org-set-font-lock-defaults): Trigger footnote
29569         fontification.
29570         (org-activate-footnote-links): New function.
29571         (org-activate-links): New entry `footnote'.
29573         * org-faces.el (org-footnote): New face.
29575 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
29577         * org-macs.el (org-re): Handle the [:word:] class.
29579         * org-exp.el (org-export-preprocess-string):
29580         Call `org-export-protect-colon-examples'.
29581         (org-export-protect-colon-examples): Rename from
29582         `org-export-protect-examples', and scope limited to lines starting
29583         with a colon.
29585 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
29587         * org-exp.el (org-export-preprocess-string): Move the preprocess
29588         hook to after turning on Org-mode.
29589         (org-export-preprocess-after-include-files-hook)
29590         (org-export-preprocess-after-tree-selection-hook)
29591         (org-export-preprocess-before-backend-specifics-hook)
29592         (org-export-preprocess-final-hook): New hooks.
29593         (org-export-preprocess-string): Run the new hooks.
29595         * org.el (org-ctrl-c-minus): Fix indentation for new items.
29597         * org-footnote.el: New file.
29599         * org.el (org-footnote): Require footnote code.
29600         (org-startup-options): Add new footnote options.
29601         (org-mode-map): New keybindig for footnotes.
29602         (org-ctrl-c-ctrl-c): Add function at footnotes.
29603         (org-org-menu): New menu entries for footnotes.
29605         * org-export-latex.el (org-export-as-latex): Pass footnote
29606         variable to preprocessor.
29607         (org-export-latex-preprocess): Treat multiple references to a
29608         footnote.
29610         * org-exp.el (org-export-preprocess-string):
29611         Call `org-footnote-normalize'.
29612         (org-export-as-ascii, org-export-as-html): Pass footnote variable
29613         to preprocessor.
29614         (org-export-as-html): Treat multiple references to a footnote.
29616 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
29618         * org-export-latex.el (org-export-latex-links): Handle coderef
29619         links.
29621         * org.el (org-bracket-link-analytic-regexp++): New variable.
29622         (org-make-link-regexps):
29623         Initialize `org-bracket-link-analytic-regexp++'.
29624         (org-store-link): Implement special case in edit-src buffer.
29625         (org-insert-link): No use of ide to insert stored links.
29626         (org-link-search): Implement special case for coderefs.
29628         * org-exp.el (org-export-html-scripts): New constant.
29629         (org-export-html-style-default): Add a new style for highlighted
29630         code.
29631         (org-export-code-refs): New variable.
29632         (org-export-preprocess-string): Initialize `org-export-code-refs'.
29633         Call `org-export-replace-src-segments-and-examples'
29634         No longer call `org-export-protect-examples'.
29635         (org-export-target-internal-links): Take care of coderef targets.
29636         (org-export-last-code-line-counter-value): New variable.
29637         (org-export-replace-src-segments-and-examples): Rename from
29638         `org-export-replace-src-segments', and modified.
29639         (org-export-format-source-code-or-example): Rename from
29640         `org-export-format-source-code'.
29641         (org-export-number-lines): New function.
29642         (org-export-as-ascii, org-export-as-html): Handle coderef links.
29644 2009-01-23  Glenn Morris  <rgm@gnu.org>
29646         * org-rmail.el (rmail-narrow-to-non-pruned-header):
29647         Remove declaration of deleted function.
29649 2009-01-16  Glenn Morris  <rgm@gnu.org>
29651         * org-mouse.el (org-mouse-show-context-menu):
29652         Use mouse-menu-major-mode-map, if defined, rather than the obsolete
29653         mouse-major-mode-menu.
29655 2008-12-23  Carsten Dominik  <dominik@science.uva.nl>
29657         * org-remember.el (org-remember-handler): Safer way to get a new
29658         buffer accessing the target file.
29660         * org.el (org-refile-get-location): Handle case of current buffer
29661         not having a file associated with it.
29663 2008-12-22  Carsten Dominik  <dominik@science.uva.nl>
29665         * org-table.el (org-table-get-formula): Only ask to overwrite
29666         field formula if there really is one.
29668 2008-12-21  Carsten Dominik  <dominik@science.uva.nl>
29670         * org-export-latex.el (org-export-latex-make-header): Double the
29671         commenting % in the time stamp format.
29672         (org-export-latex-special-chars): Handle case where there is no
29673         match group 3.
29675 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
29677         * org.el (org-get-refile-targets, org-refile-get-location):
29678         Use expanded file name to improve comparison.
29680 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
29682         * org.el (org-scan-tags): Rescan for tags, to get the correct
29683         upcase/downcase stuff.  This slows things down for now, but it
29684         works.
29685         (org-mode): Make sure the tag-faces regexp is initialized.
29687         * org-export-latex.el (org-export-latex-links): Fix bug with
29688         undefined label.
29690         * org-table.el (org-table-get-specials):
29691         Set `org-table-current-last-data-line'.
29692         (org-table-current-last-data-line): New variable.
29693         (org-table-insert-column, org-table-delete-column)
29694         (org-table-move-column, org-table-fix-formulas):
29695         Call `org-table-fix-formulas' a second time to fix the $LR references.
29696         (org-table-get-specials): Add the $LR references to the tables.
29697         (org-table-get-formula): Do not offer last-row names as LHS of
29698         formulas.
29700         * org.el (org-store-link): Capture link description from
29701         `org-id-store-link'.
29703         * org-exp.el (org-export-html-format-image): Add the / to the end
29704         of the <img> tag.
29705         (org-export-format-source-code): Surround example by empty lines,
29706         to make sure it will not be inside a paragraph.
29708         * org.el (org-ido-switchb): New function.
29710 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
29712         * org-agenda.el (org-agenda-show): New prefix argument
29713         FULL-ENTRY.
29715         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
29716         argument.
29718 2008-12-20  Glenn Morris  <rgm@gnu.org>
29720         * org.el (org-org-menu): Fix some more menu entries.
29722 2008-12-18  Carsten Dominik  <dominik@science.uva.nl>
29724         * org-table.el (org-table-get-specials): Revert introduction of @0
29725         as reference of the last table row, because of conflicts.
29727         * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
29728         argument, get the current tags directly.
29729         (org-agenda-set-tags): Leave getting current tags to
29730         `org-agenda-change-all-lines'.
29732 2008-12-17  Carsten Dominik  <dominik@science.uva.nl>
29734         * org.el (org-org-menu): Do not quote the set-tags command.
29736 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
29738         * Fix typos in comments and docstrings throughout Org-mode.
29740         * org.el (org-get-outline-path): Fix bug if level is not given.
29742         * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
29744 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
29746         * org.el (org-refile): Avoid refiling to within the region to be
29747         refiled.
29749         * org-export-latex.el (org-export-latex-special-chars):
29750         Replace special characters also in tables.
29752         * org-agenda.el (org-agenda-change-all-lines): New argument
29753         FORCE-TAGS.
29754         (org-agenda-set-tags): Get the new tags and pass them to
29755         `org-format-agenda-item'.
29757 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
29759         * org-export-latex.el (org-export-latex-classes): Add longable as
29760         a default package to all classes.
29761         (org-export-latex-tables): Handle the longtable attribute and the
29762         align attribute.
29764         * org-table.el (orgtbl-to-generic): Handle tables that start with
29765         a hline.
29767         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
29768         \verb for colde-like snippets.
29769         (org-export-as-latex): Fix issues with region export.
29771         * org.el (org-up-heading-safe): Speed up function by using a
29772         direct regexp search.
29773         (org-olpa): New variable.
29774         (org-get-outline-path): Speed-up path constructions in cases where
29775         this is possible because the entire hierarchy is scanned anyway.
29776         (org-refile-get-location): Don't compare the truenames of files,
29777         this is too slow.
29778         (org-goto-max-level): New option.
29779         (org-goto): Use `org-goto-max-level'.
29781 2008-12-16  Tassilo Horn  <tassilo@member.fsf.org>
29783         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
29784         Strip angle brackets from message-ids in the former and don't do
29785         it in the latter.
29786         (org-gnus-follow-link): Open summary reliable, even if the last
29787         messages were deleted, and handle empty groups, too.
29789 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
29791         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
29792         instead of \texttt for the =...= and ~===~ emphasis environments.
29793         (org-export-as-latex): Remove any old :org-license-to-kill text
29794         properties.
29795         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
29796         (org-export-latex-make-header): Add some hard space after the
29797         table of contents.
29798         (org-export-latex-first-lines): Accept RBEG argument.
29799         Mark exported text so that it will be excuded in further steps.
29801         * org-table.el (org-table-get-specials): Make @0 reference the
29802         last line in a table.
29803         (org-table-recalculate): Improve docstring.
29805 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
29807         * org.el (org-log-done): Fix docstring.
29809 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
29811         * org-exp.el (org-export-html-format-image): Fix bugs.
29813         * org-export-latex.el (org-export-latex-tables)
29814         (org-export-latex-links): Implement attribute, label, and caption
29815         handling.
29817         * org-exp.el (org-export-html-style-default): Add style
29818         definitions for the figure div.
29819         (org-export-preprocess-string, org-export-as-html):
29820         Implement attribute, label, and caption handling.
29821         (org-export-attach-captions-and-attributes): New function.
29822         (org-export-html-format-image): New function.
29823         (org-format-org-table-html): Implement attribute, label, and
29824         caption handling.
29826         * org.el (org-find-text-property-in-string): New function.
29827         (org-extract-attributes): Use the property org-attr instead of
29828         org-attrobutes, because this property is now set with the #+ATTR
29829         lines.
29831 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
29833         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
29834         the case that FROM is nil.
29836         * org.el (org-before-first-heading-p): New function.
29838 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
29840         * org-exp.el (org-export-as-html): Do not add a space before
29841         enforces line breaks.
29842         (org-export-as-html): Close paragraph before blockquote and verse
29843         tags.
29845 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
29847         * org-id.el (org-id-locations-file): Wrap file name with
29848         `convert-standard-filename'.
29849         (org-id-files): New variable.
29850         (org-id-use-hash): New option.
29851         (org-id-update-id-locations): Also search in all files current
29852         listed in `org-id-files'.  Convert the resulting alist to a hash
29853         if the user customation says so.
29854         (org-id-locations-save): Handle he case if `org-id-locations' is a
29855         hash.
29856         (org-id-locations-load): Convert the alist to a hash.
29857         (org-id-add-location): Handle the hast case.
29858         (kill-emacs-hook): Make sure id locations are saved when Emacs is
29859         exited.
29860         (org-id-hash-to-alist, org-id-alist-to-hash)
29861         (org-id-paste-tracker): New functions.
29863 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
29865         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
29866         bindings of calendar variables.
29868         * org-table.el (org-table-find-row-type): Rename from
29869         `org-find-row-type'.
29870         (org-table-rewrite-old-row-references): Rename from
29871         `org-rewrite-old-row-references'.
29872         (org-table-shift-refpart): Rename from `org-shift-refpart'.
29873         (org-table-cleanup-narrow-column-properties): Rename from
29874         `org-cleanup-narrow-column-properties'.
29876 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
29878         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
29879         for better error messages.
29880         (org-table-get-descriptor-line): Supply the new arguments to
29881         `org-find-row-type'.
29882         (org-table-error-on-row-ref-crossing-hline): New option.
29884         * org.el (org-target-link-regexp): Make buffer-local.
29885         (org-move-subtree-down): Fix bug with trees at beginning of
29886         buffer.
29888 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
29890         * org-faces.el (org-set-tag-faces): New function.
29891         (org-tags-special-faces-re): New variable.
29893         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
29895         * org-faces.el (org-tag-faces): New option.
29896         (org-tag): Mention `org-tag-faces' in the docstring.
29898 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
29900         * org-exp.el (org-export-html-style-default): Implement new
29901         quoting.
29903         * org-jsinfo.el (org-infojs-template): Implement new quoting.
29905         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
29906         command to the `w3m-minor-mode-map'.
29908         * org-archive.el (org-archive-to-archive-sibling):
29909         Protect `this-command' to avoid appending kills during archiving.
29911         * org-exp.el (org-export-with-priority): New variable.
29912         (org-export-add-options-to-plist): Use `org-export-plist-vars'
29913         instead of internal list of strings and properties.
29914         (org-print-icalendar-entries): Retrieve the location property with
29915         inheritance.
29917 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
29919         * org-exp.el (org-export-with-todo-keywords): New option.
29920         (org-export-plist-vars): Include also the keys for the #+OPTIONS
29921         line.
29922         (org-default-export-plist, org-export-add-options-to-plist)
29923         (org-export-as-ascii, org-export-as-html): Use the new structure
29924         of `org-export-plist-vars'.
29926         * org.el (org-map-entries): Return all values.
29928 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
29930         * org.el (org-matcher-time): Recognize more special values.
29932         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
29934 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
29936         * org.el (org-tags-exclude-from-inheritance): New option.
29937         (org-tag-inherit-p, org-remove-uniherited-tags):
29938         Respect `org-tags-exclude-from-inheritance'.
29940         * org-agenda.el (org-agenda-show-inherited-tags): New option.
29941         (org-format-agenda-item): Add inherited tags to the agenda line
29942         string, and make sure that properties are kept when downcasing the
29943         tags list.
29944         (org-agenda-add-inherited-tags): New function.
29945         (org-downcase-keep-props): New function.
29947         * org.el (org-scan-tags): Mark inherited tags with a text
29948         property.
29949         (org-get-tags-at): Mark inherited tags with a text property.
29950         (org-add-prop-inherited): New function.
29952         * org-agenda.el (org-agenda-add-inherited-tags): New function.
29953         (org-agenda-show-inherited-tags): New option.
29955 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
29957         * org.el (org-modules): Add org-w3m to the default modules.
29959         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
29960         orgtbl-mode.
29961         (orgtabl-create-or-convert-from-region): New command.
29963         * org-exp.el (org-export-as-ascii): Remove the handling of
29964         targets.
29965         (org-export-ascii-preprocess): Handle targets already in this
29966         function.
29968 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
29970         * org-timer.el (org-timer-start-time): Define this variable.
29971         (org-timer-item): Make argument optional.
29973         * org-list.el (org-insert-item): Automatically insert a timer item
29974         if the current list is a timer list.
29976         * org-timer.el: New file.
29978         * org-publish.el (org-publish-org-index): Only exclude the index
29979         file in the main directory from being added to the site-map.
29980         (org-publish-get-project-from-filename): If the current project is
29981         a component, start publishing from the parent project.
29983 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
29985         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
29987         * org-publish.el (org-publish-org-index): Improve removal of
29988         temporary buffers.
29990 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
29992         * org-agenda.el (org-get-closed): Re-apply changes
29993         accidentially overwritten by last commit to Emacs.
29995         * org.el (org-outline-path-complete-in-steps): New option.
29996         (org-refile-get-location):
29997         Honor `org-outline-path-complete-in-steps'.
29998         (org-agenda-change-all-lines, org-tags-sparse-tree)
29999         (org-time-string-to-absolute, org-small-year-to-year)
30000         (org-link-escape): Re-apply changes accidentially overwritten
30001         by last commit to Emacs.
30003 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
30005         * org-clock.el (org-dblock-write:clocktable): Make sure the
30006         clocktable sees the first line.
30007         (org-clock-in): Warn if the clock cannot be resumed.
30009 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
30011         * org.el (org-open-at-point): Fix mixup about interactive and
30012         non-interactive elisp links.
30014 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
30016         * org-exp.el (org-export-preprocess-string): Allow one comment
30017         line before the first headline to always be included.  This is
30018         to not miss a commented target.
30020         * org-mouse.el (org-mouse-insert-item):
30021         Call `org-indent-to-column' instead of `indent-to', for XEmacs
30022         compatibility.
30024         * org.el (org-refile-targets): Fix customize definition so
30025         that it works also in XEmacs.
30026         (org-fixup-indentation): Call `org-indent-to-column' instead
30027         of `indent-to', for XEmacs compatibility.
30029 2008-11-23  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
30031         * org-mew.el (org-mew-store-link): Get the correct case folder
30032         for refiled messages.
30034 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
30036         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
30037         line break indicators.
30039         * org.el (org-ido-completing-read): Remove the "i:" prefix for
30040         ido-completion propts.
30042 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
30044         * org-remember.el (org-remember-apply-template):
30045         Use `org-substring-no-properties'.
30047         * org-compat.el (org-substring-no-properties): New function.
30049         * org-remember.el (org-remember-apply-template):
30050         Use `org-substring-no-properties' for compatibility.
30052         * org-list.el (org-list-two-spaces-after-bullet-regexp):
30053         New option.
30054         (org-fix-bullet-type):
30055         Respect `org-list-two-spaces-after-bullet-regexp'.
30057         * org-clock.el (org-clock-load): Clean up the code.
30059         * org.el (org-adaptive-fill-function): Allow two spaces after
30060         "1." as a list bullet.
30062 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
30064         * org-clock.el (org-clock-save, org-clock-load): Check for
30065         live buffers, existing files, and buffer file names to ensure
30066         consistent information.
30067         (org-clock-persist): Make `clock' a special value of this
30068         variable, and improve docstring.
30070         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
30071         (org-get-string-indentation): Adapt indentation when the bullet
30072         width changes.
30074 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
30076         * org-remember.el (org-remember-finalize): Make interactive.
30077         (org-remember-kill): New command.
30078         (org-remember-finish-immediately): Call `org-remember-finalize'
30079         directly.
30080         (org-remember-finalize): Make `org-remember-finalize' an interactive
30081         function.
30083 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
30085         * org-remember.el (org-remember-apply-template): No ido completion
30086         for free prompts in remember templates.
30087         (org-remember-before-finalize-hook): New hook.
30088         (org-remember-mode): New minor mode.
30089         (org-remember-apply-template): Turn on `org-remember-mode'.
30091         * org-remember.el (org-remember-apply-template): Fix the way how
30092         the list of allowed properties is retrieved from the target file.
30094         * org.el (org-insert-link): Improve file link matching.
30096 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
30098         * org-colview.el (org-columns-display-here): New argument
30099         DATELINE, to trigger using the new face.
30100         (org-agenda-colview-summarize): Call `org-columns-display-here'
30101         with the new argument.
30103         * org-faces.el (org-agenda-column-dateline): New face.
30105         * org-publish.el (org-publish-org-index): Use index-title at page
30106         title, not as section.
30108         * org-exp.el (org-export-html-format-desc): Respect the
30109         org-protect property.
30110         (org-export-as-html): Protect image specifiers that are in the
30111         description part of a link.
30113         * org.el (org-sort-entries-or-items, org-completing-read)
30114         (org-refile-get-location, org-olpath-completing-read, org-todo)
30115         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
30116         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
30117         (org-set-property, org-delete-property)
30118         (org-delete-property-globally): Use `org-ido-completing-read'.
30120         * org-remember.el (org-remember-apply-template):
30121         Use `org-ido-completing-read'.
30123         * org-publish.el (org-publish): Use `org-ido-completing-read'.
30125         * org-colview.el (org-columns-edit-value, org-columns-new)
30126         (org-insert-columns-dblock): Use `org-ido-completing-read'.
30128         * org-attach.el (org-attach-delete-one, org-attach-open):
30129         Use `org-ido-completing-read'.
30131         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag):
30132         Use `org-ido-completing-read'.
30134         * org.el (org-time-today): New function.
30135         (org-matcher-time): Use `org-time-today'.  Add special treatment
30136         for "<tomorrow>" and "<yesterday>".
30137         (org-ido-completing-read): New function.
30138         (org-completion-use-ido): New option.
30140         * org-exp.el (org-export-format-source-code): Fix bug in require
30141         htmlize code.
30142         (org-export-target-internal-links): Fix bug in search for text
30143         property.
30145 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
30147         * org-export-latex.el (org-export-latex-subcontent):
30148         Interpret target aliases as additional labels.
30150         * org-exp.el (org-export-target-aliases): New variable.
30151         (org-export-preprocess-string)
30152         (org-export-handle-invisible-targets): Fill the alias alist.
30153         (org-export-as-html): Remove the &nbsp; from the anchor, and also
30154         assign an id.
30155         (org-html-level-start): Insert the target aliases as additional
30156         anchors.
30158         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
30159         picture area.
30161 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
30163         * org.el (org-open-at-mouse): Ensure correct link abbreviations
30164         when following a link with the mouse from the agenda.
30166         * org-exp.el (org-export-as-html): Avoid lone </div> when no
30167         headlines are created.
30169 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
30171         * org.el (org-link-translation-function): New option.
30172         (org-open-at-point): Call `org-link-translation-function' if
30173         non-nil.
30174         (org-translate-link): New function.
30175         (org-translate-link-from-planner): New function.
30176         (org-open-at-point): Allow interactive commands in elisp links.
30178         * org-exp.el (org-icalendar-cleanup-string): Restore the old
30179         iCalendar quoting.  The new one seems to caus problems with
30180         applications.
30182         * org.el (org-yank): Set `this-command' to `yank', so that
30183         `yank-pop' will work.
30185 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
30187         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
30188         compliance as far as quoting is concerned.
30190         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
30191         hexified version of the tag.
30193         * org-vm.el (org-vm-follow-link): Require `vm-search'.
30195         * org.el (org-up-heading-safe, org-forward-same-level):
30196         Always call `org-back-to-heading' instead of `outline-back-to-heading'.
30197         (org-back-to-heading): New wrapper around outline-back-to-heading,
30198         with a useful error message telling where the error happened.
30200         * org-list.el (org-update-checkbox-count): Always call
30201         `org-back-to-heading' instead of `outline-back-to-heading'.
30203         * org-exp.el (org-export-as-html): Make sure that each <img> tag
30204         has an `alt' attribute, to ensure XHTML validation.
30206 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
30208         * org-publish.el (org-publish-attachment): Allow publishing to
30209         overwrite attachment files.
30211         * org-agenda.el (org-agenda-timerange-leaders): New option.
30212         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
30214         * org.el (org-edit-src-exit): Untabify ASCII image before
30215         returning.
30217 2008-11-19  Glenn Morris  <rgm@gnu.org>
30219         * org.el, org-mouse.el (org-agenda-change-all-lines):
30220         Fix declaration.
30222 2008-11-18  Carsten Dominik  <dominik@science.uva.nl>
30224         * org.el ("speedbar"): Only show context if the file really is an
30225         org-mode buffer.
30227 2008-11-17  Juanma Barranquero  <lekktu@gmail.com>
30229         * org.el (org-time-string-to-absolute, org-small-year-to-year)
30230         (org-tags-sparse-tree): Fix typos in docstrings.
30232 2008-11-15  Carsten Dominik  <dominik@science.uva.nl>
30234         * org-publish.el (org-publish-attachment): Allow copy-file to
30235         overwrite files.
30237 2008-11-13  Glenn Morris  <rgm@gnu.org>
30239         * org-agenda.el (org-get-closed): Fix alias.
30241 2008-11-12  Juanma Barranquero  <lekktu@gmail.com>
30243         * org.el (org-link-escape): Fix typo in docstring.
30245 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
30247         * org.el (org-yank): Make any prefix force normal yanking.
30248         Suppress folding if text would be swallowed into a folded
30249         subtree.
30250         (org-yank-folded-subtrees, org-yank): Docstring updates.
30252         * org-agenda.el (org-agenda-compare-effort): Treat no effort
30253         defined as 0.
30255         * org-exp.el (org-export-language-setup): Add Catalan and
30256         Esperanto language entries.
30258 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
30260         * org.el (org-refile): Allow refiling of entire regions.
30262         * org-clock.el (org-clock-time%): New function.
30264         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
30265         retrieve property values.
30267 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
30269         * org-agenda.el (org-agenda-list): Handle the value `only' of
30270         org-agenda-show-log'.
30271         (org-agenda-log-mode): Interpret a double prefix arg.
30273 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
30275         * org-exp.el (org-export-html-footnotes-section): New variable.
30276         (org-export-as-html): Use `org-export-html-footnotes-section' to
30277         insert the footnotes.
30278         (org-export-language-setup): Add "Footnotes" to language words.
30280 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
30282         * org.el (org-yank): Fix bug when not inserting a subtree.
30284 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
30286         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
30287         instead of `vm-beginning-of-message'.
30289         * org.el (org-make-link-regexps): Make sure that links to gnus can
30290         contain brackets.
30292 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
30294         * org-attach.el (org-attach-dir): Remove duplicate ID creation
30295         code.
30297         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
30298         shell output.
30300         * org.el (org-link-abbrev-alist): Improve customization type.
30302         * org-attach.el (org-attach-expand-link, org-attach-expand):
30303         New functions.
30305         * org-agenda.el (org-agenda-get-progress): Rename from
30306         `org-get-closed'.  Implement searching for state changes as well.
30307         (org-agenda-log-mode-items): New option.
30308         (org-agenda-log-mode): New option prefix argument, interpreted as
30309         request to show all possible progress info.
30310         (org-agenda-get-day-entries): Call `org-get-progress' instead of
30311         `org-get-closed'.
30312         (org-agenda-set-mode-name): Handle the more complex log mode
30313         settings.
30314         (org-get-closed): New alias, pointing to `org-get-progress'.
30316 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
30318         * org.el (org-file-apps-defaults-gnu)
30319         (org-file-apps-defaults-macosx)
30320         (org-file-apps-defaults-windowsnt): Add an entry defining the
30321         system command.
30322         (org-file-apps): Allow `system' as key and value.
30323         (org-open-at-point): Explain the effect of a double prefix arg.
30324         (org-open-file): If the argument `in-emacs' is (16),
30325         i.e. corresponding to a double prefix argument, try to open the
30326         file externally.
30328 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
30330         * org.el (org-insert-link): Abbreviate absolute files names in
30331         links.  Also, fix a bug in which the double C-u prefix would not
30332         be honored.
30334 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
30336         * org.el (org-insert-heading): If buffer does not end with a
30337         newline, add one if necessary to insert headline correctly.
30339         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
30340         paragraphs, not inside.
30342         * org.el (org-todo):
30343         Quote `org-agenda-headline-snapshot-before-repeat'.
30345         * org-exp.el (org-export-as-html): Fully process link descriptions.
30346         (org-export-html-format-desc): New function.
30347         (org-export-as-html): Collect footnotes into the correct basket.
30348         (org-html-protect): No longer protect quotations marks here, this
30349         goes wrong.
30351         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
30352         BEG.
30354         * org-compat.el (org-fit-window-to-buffer): New function (not
30355         really, a preliminary and incomplete version was present earlier,
30356         but not used).
30358         * org.el (org-fast-todo-selection, org-fast-tag-selection):
30359         Use `org-fit-window-to-buffer'.
30361         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
30363         * org-agenda.el (org-agenda-get-restriction-and-command)
30364         (org-fit-agenda-window, org-agenda-convert-date):
30365         Use `org-fit-window-to-buffer'.
30367         * org-exp.el (org-export-as-html): Process href links through
30368         `org-export-html-format-href'.
30369         (org-export-html-format-href): New function.
30371         * org-agenda.el (org-agenda-todo): Update only the current
30372         headline if this is a repeated TODO, marked done for today.
30373         (org-agenda-change-all-lines): New argument JUST-THIS, to change
30374         only the current line.
30376         * org.el (org-todo): Take a snapshot of the headline if the
30377         repeater might change it.
30379 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
30381         * org-publish.el (org-publish-find-title): Remove buffers visited
30382         only for extracting the title.
30384         * org-exp.el (org-export-html-style)
30385         (org-export-html-style-default): Mark style definitions as
30386         unparsed CDATA.
30388         * org-publish.el (org-publish-validate-link):
30389         Function re-introduced.
30391 2008-11-12  Charles Sebold  <csebold@gmail.com>
30393         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
30394         property.
30395         (org-plot-quote-timestamp-field): New function.
30396         (org-plot-quote-tsv-field): Call timestamp field function when
30397         necessary rather than just quoting as a string.
30398         (org-plot/gnuplot-to-data): Pass in timefmt property.
30399         (org-plot/gnuplot-script): Supports timefmt property.
30400         (org-plot/gnuplot): Checks for timestamp column before checking
30401         for text index column.
30403 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
30405         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
30407         * org-publish.el (org-publish-org-index): Create a section in the
30408         index file.
30409         (org-publish-org-index): Stop linking to directories.
30411         * org.el (org-emphasis-alist): Use span instead of <u> to
30412         underline text.
30414         * org-exp.el (org-export-as-html): Make sure <p> is closed before
30415         <pre> sections.
30417 2008-11-12  Sebastian Rose  <sebastian_rose@gmx.de>
30419         * org-jsinfo.el (org-infojs-template): Remove language attribute
30420         from script tag.
30422 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
30424         * org-agenda.el (org-agenda-remove-marked-text): New function.
30425         (org-agenda-mark-filtered-text)
30426         (org-agenda-unmark-filtered-text): New functions.
30427         (org-write-agenda): Remove filtered text.
30429         * org.el (org-make-tags-matcher): Give access to TODO "property"
30430         without speed penalty.
30432 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
30434         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
30435         option.
30436         (org-store-link-props): Make sure adding to the plist works
30437         correctly.
30439         * org-gnus.el (org-gnus-no-new-news): New function.
30440         (org-gnus-follow-link): Allow the article ID to be a message-id,
30441         in addition to allowing article numbers.  Message IDs make much
30442         more roubust links.
30443         (org-gnus-store-link): Use message-id to create link.
30445 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
30447         * org.el (org-emphasize): Reverse the selection array.
30448         (org-emphasis-alist): Set <code> tags for the verbatim
30449         environment.
30451         * org-remember.el (org-remember-handler): Fix bug with
30452         prefix-related changing of the note storage target.
30454         * org-exp.el (org-print-icalendar-entries): Make the exported
30455         priorities compatible with RFC 2445.
30457         * org-clock.el (org-clock-save): Insert time stamp without
30458         dependence on time-stamp.el.
30460 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
30462         * org.el ("saveplace"): If saveplace puts point into an invisible
30463         location, make it visible.
30464         (org-make-tags-matcher): Allow inactive time stamps in time
30465         comparisons.
30466         (org-yank-adjusted-subtrees): New option.
30467         (org-yank): Incorporate adjusting trees.
30468         (org-paste-subtree): New argument FOR-YANK which will cause
30469         insertion at point without backing up over white lines, and leave
30470         point at the end of the inserted text.  Also if the cursor is
30471         at the beginning of a headline, use the same level or the inserted
30472         tree.
30474         * org-publish.el (org-publish-get-base-files-1): Deal correctly
30475         with broken symlinks.
30477 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
30479         * org-exp.el (org-export-select-tags, org-get-current-options):
30480         Fix typo.
30482 2008-11-06  Glenn Morris  <rgm@gnu.org>
30484         * org-publish.el (org-publish-attachment): Use copy-file rather than
30485         eshell/cp.
30487 2008-11-04  Juanma Barranquero  <lekktu@gmail.com>
30489         * org.el (org-columns-modify-value-for-display-function):
30490         * org-table.el (org-table-convert-region): Fix typos in docstrings.
30492 2008-10-28  Glenn Morris  <rgm@gnu.org>
30494         * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
30496         * org-list.el (outline-next-heading, outline-back-to-heading):
30497         Fix declarations.
30499 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
30501         * org-agenda.el (org-format-agenda-item)
30502         (org-agenda-filter-make-matcher): Make sure tags are stored and
30503         compared downcased.
30505 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
30507         * org.el (org-insert-todo-heading): Fix bug with force-heading
30508         argument.
30510 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
30512         * org-exp.el (org-export-as-ascii): Handle the case that we are
30513         bulishing from an indirect buffer.
30515         * org-table.el (org-table-copy-down): Fix bug with time stamp
30516         increment.
30518         * org-mouse.el (org-mouse-features): New option.
30519         (org-mode-hook): Turn on features depending on
30520         `org-mouse-features'.
30522         * org.el (org-insert-heading-respect-content): Force heading
30523         creation.
30524         (org-insert-heading): Keep the folding state of the heading before
30525         the inserted one.
30527 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
30529         * org-archive.el (org-archive-to-archive-sibling): Handle top
30530         level headlines better.
30532 2008-10-26  Bastien Guerry  <bzg@gnu.org>
30534         * org-export-latex.el (org-export-latex-classes):
30535         Add \usepackage{graphicx} to the default list of packages.
30537 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
30539         * org-agenda.el (org-agenda-filter): Rename from
30540         `org-agenda-filter-tags'.
30542 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
30544         * org.el (org-entry-properties): Add CATEGORY property, iven if it
30545         is not defined as a property in this entry.
30546         (org-add-log-note): Mask prefix argument when immediately storing
30547         the note.
30549         * org-agenda.el (org-agenda-filter-effort-default-operator):
30550         New option.
30552 2008-10-26  James TD Smith  <ahktenzero@mohorovi.cc>
30554         * org.el (org-add-log-setup): Bugfix; code to find insertion point
30555         after drawers was skipping ahead one line too many, so notes were
30556         inserted after the first note instead of before it.
30558 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
30560         * org-agenda.el (org-agenda-filter-tags, org-agenda-filter-form):
30561         New variables.
30562         (org-prepare-agenda): Reset the filter tags.
30563         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
30564         Show filter tags in mode line.
30566         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
30567         formatter.
30569         * org-export-latex.el (org-latex-entities-regexp): New constant.
30570         (org-export-as-pdf): Use two calls to `shell-command'.
30572 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
30574         * org-export-latex.el (org-export-latex-treat-sub-super-char):
30575         Honor the {} value of the subsuperscript setting.  Make sure that
30576         longer subsuperscripts are typeset in a roman font.
30578         * org.el (org-clock-update-time-maybe): Compute negative clock
30579         intervals correctly.
30581 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
30583         * org.el (org-add-log-setup):
30584         Respect `org-log-state-notes-insert-after-drawers'.
30585         (org-log-state-notes-insert-after-drawers): New option.
30586         (org-todo-trigger-tag-changes): New function.
30587         (org-todo): Call `org-todo-trigger-tag-changes'.
30589 2008-10-26  James TD Smith  <ahktenzero@mohorovi.cc>
30591         * org.el (org-add-log-setup): Only skip drawers if they are
30592         immediately after the scheduling keywords.
30594         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
30595         function.
30596         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
30597         call it with the current todo state to get the state to switch to
30598         when clocking in.
30599         (org-clock-in): Use org-indent-line-function to indent clock lines.
30600         (org-clock-find-position): Fix indentation of empty clock drawers.
30602 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
30604         * org-publish.el (org-publish-org-to): Handle case when
30605         org-export-to-pdf does return a file name, not a buffer.
30606         (org-publish-org-to-pdf): New function.
30608         * org-export-latex.el (org-export-as-pdf)
30609         (org-export-as-pdf-and-open): New commands.
30611         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
30612         forms as ranges.
30614         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
30615         things in protexted regions.
30617 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
30619         * org-export-latex.el (org-export-latex-preprocess):
30620         Improve quoting of LaTeX environments.
30622 2008-10-19  Eli Zaretskii  <eliz@gnu.org>
30624         * org.el (org-default-notes-file):
30625         * org-publish.el (org-publish-timestamp-directory):
30626         * org-id.el (org-id-locations-file): Run file names that begin
30627         with a period thru `convert-standard-filename'.
30629 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
30631         * org-plot.el: Switch coding system to unix.
30633 2008-10-12  John Wiegley  <johnw@newartisans.com>
30635         * org-attach.el: New file.
30637 2008-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
30639         * org.el (org-edit-fixed-width-region): Exclude final newline from
30640         picture area.
30642         * org-export-latex.el (org-export-latex-subcontent): Add labels to
30643         sections, to make internal links work.
30644         (org-export-latex-fontify-headline): Do not remove all text
30645         properties, to make sure that target properties survive this
30646         process.
30648         * org-exp.el (org-export-preprocess-string): Change sequence of
30649         modifications, to make sure links are prepared before the LaTeX
30650         conversions do happen.
30652         * org-attach.el (org-attach-delete-all): Rename from
30653         `org-attch-delete'.  Add a security query before deleting the
30654         entire directory.  New optional argument FORCE can overrule the
30655         security query.
30656         (org-attach-delete-one): New command.
30658         * org-attach.el (org-attach-file-list): Fix bug with directory.
30660         * org.el (org-apps-regexp-alist): New function.
30661         (org-file-apps): Add auto-mode to the default value.
30662         (org-open-file): Use the new structure of org-file-apps.
30664         * org-attach.el (org-attach): Support the new keys.
30665         (org-attach-method): New option.
30667         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
30668         March.
30670         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
30671         of the list value o `org-use-tag-inheritance'.
30673         * org-attach.el (org-attach-auto-tag): New option.
30674         (org-attach-tag, org-attach-untag): New functions.
30675         (org-attach-attach, org-attach-new, org-attach-sync):
30676         Call `org-attach-tag'.
30677         (org-attach-delete): Call `org-attach-untag'.
30679         * org-table.el (orgtbl-self-insert-command): Make this work for
30680         the keypad as well.
30682         * org.el (org-add-log-setup): Limit searc for drawers to entry
30683         text, not to subtree.
30685         * org-clock.el (org-clock-heading-for-remember): New variable.
30686         (org-clock-in): Set `org-clock-heading-for-remember'.
30688 2008-10-12  James TD Smith  <ahktenzero@mohorovi.cc>
30690         * org-remember.el (org-remember-apply-template): Add new
30691         expansions: %k, %K for currently clocked task and a link to the
30692         currently clocked task, and %< to file notes in the currently
30693         clocked task.
30695 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
30697         * org-export-latex.el (org-export-latex-make-header): Also insert
30698         the content of the property :latex-header-extra.
30700         * org-exp.el (org-infile-export-plist): Put the content of
30701         #+LATEX_HEADER: into the property :latex-header-extra.
30703         * org-colview.el (org-columns-get-format-and-top-level):
30704         Remove resetting the marker.
30706         * org.el (org-entry-property-inherited-from): Improve docstring.
30707         (org-entry-get-with-inheritance): Reset marker before starting the
30708         search.
30710         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
30712         * org.el (org-entry-get-multivalued-property)
30713         (org-entry-protect-space, org-entry-restore-space):
30714         New functions.
30715         (org-file-apps-defaults-macosx): Let PostScript files be opened by
30716         preview.
30717         (org-time-stamp-inactive): Call `org-time-stamp'.
30718         (org-time-stamp): New argument `inactive'.  Also edit inactive
30719         stamps.  Convert time stamp type.
30720         (org-open-file): Interpret the `default' value for the `command'
30721         in `org-file-apps'.
30723         * org-id.el (org-id-int-to-b36-one-digit)
30724         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
30725         (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
30726         b36.
30728         * org-id.el (org-id-reverse-string): New function.
30729         (org-id-new): Use `org-id-reverse-string' to make sure the
30730         beginning chars of the ID are mutating fast.  This allows to use a
30731         directory structure to spread things better.
30732         (org-id-prefix): Change default to nil.
30734         * org-list.el (org-move-item-down, org-move-item-up): Remember and
30735         restore the column of the cursor position.
30737         * org-remember.el (org-remember-apply-template): Remove properties
30738         from `initial'.
30740         * org-wl.el (org-wl-open): Remove useless call to
30741         `wl-thread-open-all'.
30743         * org-remember.el (org-remember-handler): Fix bug with `bottom'
30744         location.
30746         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
30747         `org-bbdb-anniversaries'.
30749         * org.el (org-get-next-sibling, org-forward-same-level):
30750         New functions, similar to the outline versions, but invisible headings
30751         are OK.
30753 2008-10-12  Bastien Guerry  <bzg@gnu.org>
30755         * org.el (org-auto-repeat-maybe): Insert a space between
30756         the timestamp's type and the timestamp itself.
30758 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
30760         * org-table.el (org-table-sum): Do not format the result with %g,
30761         it does rounding when there are too many digits.
30763         * org.el (org-map-entries): Protect the keyword-selecting variables.
30765 2008-10-12  Bastien Guerry  <bzg@gnu.org>
30767         * org-agenda.el (org-agenda-to-appt): Make sure the function check
30768         against all agenda files.
30770 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
30771             Bastien Guerry  <bzg@gnu.org>
30773         * org-list.el: New file, aggregating list functions from org.el
30774         and org-export-latex.el.
30776 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
30778         * org.el (org-edit-src-region-extra): New option.
30780         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
30781         time before 1am.
30783 2008-10-12  Bastien Guerry  <bzg@gnu.org>
30785         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
30787 2008-10-12  James TD Smith  <ahktenzero@mohorovi.cc>
30789         * org-plot.el (org-plot/gnuplot): Make tables starting with a
30790         hline work correctly.
30791         (org-plot/gnuplot-script): Put commas at the end of each script
30792         line.
30794         * org.el (org-get-refile-targets): Replace links with their
30795         descriptions.
30796         (org-imenu-get-tree): Replace links with their descriptions.
30798         * org-remember.el (org-remember-apply-template): Add a new
30799         expansion for adding properties to remember items.
30801         * org.el (org-add-log-setup): Skip over drawers (properties,
30802         clocks etc) when adding notes.
30804         * org-agenda.el (org-agenda-get-closed): Show durations of clocked
30805         items as well as the start and end times.
30807         * org-compat.el (org-get-x-clipboard-compat): Add a compat
30808         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
30810         * org-remember.el (org-get-x-clipboard): Use the compat
30811         function to get clipboard values when x-selection-value is
30812         unavailable.  Use substring-no-properties instead of
30813         set-text-properties to remove text properties from the clipboard
30814         value.
30816         * org-clock.el (org-update-mode-line): Support limiting the
30817         modeline clock string, and display the full todo value in the
30818         tooltip.  Set a local keymap so mouse-3 on the clock string goes to
30819         the currently clocked task.
30820         (org-clock-string-limit): Add a custom value for the maximum
30821         length of the clock string in the modeline.
30822         (org-clock-mode-map): Add a keymap for the modeline string.
30824 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
30826         * org-compat.el (org-propertize): New function.
30828 2008-10-12  Bastien Guerry  <bzg@gnu.org>
30830         * org-export-latex.el (org-export-latex-tables): Protect exported
30831         tables from further special chars conversion.
30832         (org-export-latex-preprocess): Preserve LaTeX environments.
30833         (org-list-parse-list): Parse descriptive lists.
30834         (org-list-to-generic, org-list-to-latex, org-list-to-html)
30835         (org-list-to-texinfo): Export descriptive lists.
30836         (org-quote-chars): Remove.
30837         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
30838         (org-export-latex-list-beginning-re): Rename to
30839         `org-list-beginning-re'.
30840         (org-list-item-begin): Rename to `org-list-item-beginning'.
30842 2008-10-12  Eric Schulte  <schulte.eric@gmail.com>
30844         * org-plot.el: New file.
30846 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
30848         * org.el (org-refile): Allow refiling to the last entry in the
30849         buffer.
30850         (org-get-tags-at): Fix bug when inheritance is turned off.
30852         * org.el (org-indent-line-function): No longer check for src
30853         regions, this is too much overhead.
30855         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
30856         matching.
30858         * org.el (org-scan-tags): Make sure that tags matching is not case
30859         sensitive.  TODO keyword matching is case sensitive, however, to
30860         avoid confusion with similar words that are not meant to be
30861         keywords.
30863         * org.el (org-get-local-tags-at): New function.
30864         (org-get-local-tags): New function.
30866         * org-exp.el (org-export-get-categories): New function.
30868         * org-agenda.el (org-sorting-choice)
30869         (org-agenda-sorting-strategy, org-agenda-get-todos)
30870         (org-agenda-get-timestamps, org-agenda-get-deadlines)
30871         (org-agenda-get-scheduled, org-agenda-get-blocks)
30872         (org-entries-lessp): Implement sorting by TODO state.
30873         (org-cmp-todo-state): New defsubst.
30875         * org-colview.el (org-colview-construct-allowed-dates):
30876         New function.
30877         (org-columns-next-allowed-value):
30878         Use `org-colview-construct-allowed-dates'.
30880         * org.el (org-protect-slash): New function.
30881         (org-get-refile-targets): Use `org-protect-slash'.
30883         * org-agenda.el (org-global-tags-completion-table): New variable.
30885         * org-exp.el (org-export-handle-export-tags): New function.
30886         (org-export-preprocess-string):
30887         Call `org-export-handle-export-tags'.
30889         * org-publish.el (org-publish-expand-components): Function removed.
30890         (org-publish-expand-projects): Allow components to have components.
30892         * org.el (org-indent-line-function): Do not indent in regions that
30893         are external source code.
30894         (org-yank-and-fold-if-subtree): New function.
30896         * org-agenda.el (org-agenda-todayp): New function.
30897         (org-agenda-get-deadlines, org-agenda-get-scheduled):
30898         Use `org-agenda-todayp'.
30900         * org.el (org-insert-heading-respect-content)
30901         (org-insert-todo-heading-respect-content): New commands.
30902         (org-insert-heading-respect-content): New option.
30903         (org-insert-heading): Respect `org-insert-heading-respect-content'.
30905         * org-clock.el (org-clock-find-position): Make sure the note after
30906         the clock line gets moved into the new clock drawer.
30908         * org-id.el (org-id-new): New option.
30910         * org-table.el (org-table-copy-down): Avoid overflow during
30911         increment.  Use prefix argument 0 to temporarily disable the
30912         increment.
30914         * org-exp.el (org-export-as-html): Do not turn on the major mode
30915         if the buffer will be killed anyway.
30916         (org-get-current-options): Exclude the #+TEXT field.
30917         (org-export-as-html): Make sure text before the first headline is
30918         a paragraph.
30920         * org-publish.el (org-publish-org-to): Tell the exporter that this
30921         buffer will be killed, so it is not necessary to do major mode
30922         initialization.
30924         * org-archive.el (org-archive-to-archive-sibling): Show empty
30925         lines after folding the archive sibling.
30927         * org.el (org-log-note-extra): New variable.
30929 2008-10-12  Bastien Guerry  <bzg@gnu.org>
30931         * org.el (org-additional-option-like-keywords): Add keywords for
30932         the _QUOTE, _VERSE and _SRC environments.
30934         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
30935         exporting _QUOTE and _VERSE environments.
30937 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
30939         * org-agenda.el (org-agenda-filter-by-tag): New command.
30941         * org-exp.el (org-get-current-options): Remove angular brackets
30942         from the date entry.
30944         * org.el (org-edit-fixed-width-region): New function.
30945         (org-edit-fixed-width-region): Also try
30946         `org-edit-fixed-width-region'.
30947         (org-edit-fixed-width-region-mode): New option.
30948         (org-activate-code): Only interpret lines starting with colon
30949         plus a space as example lines.
30951         * org-remember.el (org-remember-templates): Add nil instead of
30952         empty strings to fix the length of remember templates.
30954         * org-table.el (org-calc-default-modes): Fix the time format for
30955         calc, from 12 hour to 24 hour clock.
30957         * org-agenda.el (org-agenda-get-deadlines)
30958         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
30959         entries that are pre-warnings of deadlines or reminders.
30961         * org.el (org-sort-entries-or-items): Make numeric and alpha
30962         comparisons ignore any TODO keyword and priority cookie.
30964         * org-remember.el (org-remember-handler): Reinterpretation of the
30965         prefix argument.
30967         * org-agenda.el (org-agenda-get-scheduled): Use new
30968         `org-scheduled' face.
30970         * org-faces.el (org-scheduled): New face.
30972         * org-wl.el (org-wl-open): Remove incorrect declaration.
30974         * org-gnus.el (org-gnus-store-link): Support for :to information
30975         in gnus links.
30977         * org-exp.el (org-export-as-html): Fix typo in creator
30978         information.
30979         (org-export-protect-examples): New parameter indent.  Insert extra
30980         spaces only when this parameter is specified.
30981         (org-export-preprocess-string): Call `org-export-protect-examples'
30982         with an indentation parameter when exporting to ASCII.
30984         * org-remember.el (org-remember-templates)
30985         (org-remember-apply-template): Allow the file component to be a
30986         function.
30988         * org.el (org-goto-local-search-headings): Rename from
30989         `org-goto-local-search-forward-headings'.  Added the possibility
30990         to search backwards.
30992         * org-export-latex.el (org-export-latex): New customization
30993         group.
30995         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
30997         * org-exp.el (org-html-do-expand): Allow {} to terminate
30998         tex macro.
31000         * org.el (org-buffer-list): Select buffers based on major mode,
31001         not on file name.
31003         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
31004         face property.
31006         * org-colview.el (org-columns-display-here):
31007         Use `org-columns-modify-value-for-display-function'.
31009         * org.el (org-columns-modify-value-for-display-function): New option.
31011         * org-publish.el (org-publish-file): Make sure the directory match
31012         for the publishing directory works correctly.
31014         * org-agenda.el (org-agenda-execute-calendar-command)
31015         (org-agenda-diary-entry): Additional optional argument.
31017 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
31019         * org-exp.el (org-export-as-html): Add attributes also in mailto
31020         and ftp links.
31022         * org.el (org-autoload): Add `org-dblock-write:columnview'.
31024 2008-08-11  Glenn Morris  <rgm@gnu.org>
31026         * org-mac-message.el (do-applescript): Fix declaration.
31028 2008-08-10  Glenn Morris  <rgm@gnu.org>
31030         * org-exp.el (org-export-as-html): Let-bind `i'.
31032         * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
31033         (org-extract-attributes): Let-bind `key', `value'.
31034         (org-make-tags-matcher): Let-bind `time-p'.
31036 2008-07-27  Carsten Dominik  <dominik@science.uva.nl>
31038         * org-install.el: New file.
31040 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
31042         * org-exp.el (org-export-html-style)
31043         (org-export-html-style-extra): Declare as safe-local-variable.
31045 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
31047         * org-publish.el (org-publish-file): Use the true name of the
31048         file.
31050         * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
31051         instead of :style.
31053         * org-exp.el (org-export-plist-vars)
31054         (org-export-add-options-to-plist): Handle creator setting flag.
31055         (org-export-as-html): Handle attributes also for ftp and mailto
31056         links.
31058         * org-agenda.el (org-agenda-diary-entry)
31059         (org-agenda-execute-calendar-command): Cater for the second
31060         argument of `calendar-cursor-to-date'.
31062 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
31064         * org-exp.el (org-export-region-as-html, org-export-as-html):
31065         Make sure that calls from `org-export-region-as-html' do not do the
31066         special check for a subtree.
31068         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
31070         * org.el (org-open-file):
31071         Use `org-open-directory-means-index-dot-org'.
31072         (org-open-directory-means-index-dot-org): New option.
31074         * org.el (org-make-link-string): Remove link attributes from
31075         description.
31076         (org-open-at-point): Remove link attributes before using the path.
31078         * org-exp.el (org-export-as-html): Handle link attributes.
31080         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
31082         * org-table.el (org-table-to-lisp): New function.
31084         * org.el (org-narrow-to-subtree): Do not include the final newline
31085         into the narrowed region.
31087         * org-agenda.el (org-agenda-custom-commands-local-options):
31088         Fix bug with user-define skipping condition.
31090         * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
31092         * org-exp.el (org-export-html-style-default): Automatic overflow
31093         handling for pre fields.
31094         (org-export-as-ascii, org-export-as-html): Change default format
31095         for time stamp.
31097         * org-table.el (org-table-export): Offer completion for translator
31098         functions, and do not require a heading above the table.
31100         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
31101         Cater for the case of a list starting in the first line of the
31102         buffer.
31104         * org-publish.el (org-publish-find-title): Bug fix.
31105         (org-publish-org-index): Implement new :index-style option.
31107         * org-publish.el (org-publish-timestamp-filename):
31108         Use SHA1-encoded file names in the timestamp directory.
31110         * org-publish.el (org-publish-needed-p): Be verbose about files
31111         published and files skipped.
31113         * org-exp.el (org-export-preprocess-string): Swap link
31114         normalization and internal link targeting.
31116         * org-publish.el (org-publish-needed-p): Create timestamp
31117         directory when it does not exist.
31119         * org-clock.el (org-clock-out-when-done): Doc fix.
31121         * org.el (org-agenda-skip-unavailable-files): Doc fix.
31123         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
31124         Ignore case when searching for the COMMENT cookie at export time.
31126         * org-exp.el (org-get-file-contents)
31127         (org-get-and-remove-property): New functions.
31128         (org-export-handle-include-files): Handle the new prefix options.
31129         (org-export-as-html): Fix the verse environment.
31131         * org.el (org-time=, org-time<, org-time<=, org-time>)
31132         (org-time>=, org-time<>, org-2ft): New functions.
31133         (org-op-to-function): Also provide for the time testing functions.
31135         * org-exp.el (org-export-html-style-default): New constant.
31137         * org-exp.el (org-export-html-style-extra): New variable.
31138         (org-export-splice-style): New function.
31140         * org-exp.el (org-export-plist-vars, org-export-as-html):
31141         Implement `org-export-creator-info'.
31142         (org-export-creator-info): New option.
31144         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
31145         (org-property-drawer-re, org-clock-drawer-re): New constants.
31147         * org-exp.el (org-icalendar-use-deadline)
31148         (org-icalendar-use-scheduled): New options.
31149         (org-icalendar-include-todo): Default changed to t.
31150         (org-print-icalendar-entries): Implement better utilization of
31151         scheduling and deadline time stamps.
31152         (org-export-target-internal-links, org-export-as-html): Allow file
31153         lines without the "file:" prefix if the file path is an absolute
31154         path or starts with ".".
31156         * org-clock.el (org-clocktable-shift): Also understand yesterday,
31157         lastweek etc.
31158         (org-clock-special-range): Also understand yesterday, lastweek etc.
31160         * org.el (org-agenda-skip-archived-trees): Docstring now
31161         discourages using this.
31162         (org-scan-tags): Check for org-agenda-archives-mode.
31163         (org-map-entries): Make sure org-agenda-archives-mode is nil.
31164         (org-agenda-files): Functionality of second arg changed.
31166         * org-agenda.el (org-agenda-archives-mode): New variable.
31167         (org-write-agenda, org-prepare-agenda, org-agenda-list)
31168         (org-search-view, org-todo-list, org-tags-view)
31169         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
31170         `ifmode' argument.
31171         (org-agenda-quit): Reset the archives mode.
31172         (org-agenda-archives-mode): New command.
31173         (org-agenda-set-mode-name): Include archives info.
31175         * org.el (org-paste-subtree): Make sure the yanked headline is
31176         visible if it was yanked at a visible point.
31177         (org-move-item-up): Fix the bug with moving white space at the end
31178         of the item.
31179         (org-show-empty-lines-in-parent): New function.
31181 2008-07-19  Juri Linkov  <juri@jurta.org>
31183         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
31184         new keymap `narrow-map' instead of binding "\C-xns".
31186 2008-07-02  Juanma Barranquero  <lekktu@gmail.com>
31188         * org.el (org-agenda-skip-unavailable-files):
31189         * org-clock.el (org-clock-out-when-done): Doc fixes.
31191 2008-06-18  Glenn Morris  <rgm@gnu.org>
31193         * org.el (org-map-entries): Let-bind `file'.
31195 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31197         * org-colview.el (org-columns-next-allowed-value): Bug fix.
31199         * org-agenda.el (org-agenda-get-closed): Get the end time into the
31200         agenda prefix as well.
31202         * org-publish.el (org-publish-org-index): Make a properly indented
31203         list.
31205         * org.el (org-calendar-agenda-action-key): New option.
31206         (org-get-cursor-date): New function.
31207         (org-mark-entry-for-agenda-action): New command.
31208         (org-overriding-default-time): New variable.
31209         (org-read-date): Respect `org-overriding-default-time'.
31211         * org-remember.el (org-remember-apply-template): Respect the
31212         overriding default time.
31214         * org-agenda.el (org-agenda-action-marker): New variable.
31215         (org-agenda-action): New command.
31216         (org-agenda-do-action): New function.
31218 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31220         * org.el (org-schedule, org-deadline): Protect scheduled and
31221         deadline tasks against changes that accidentally remove the
31222         repeater.  Also show a message with the new date when done.
31224 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31226         * org.el (org-beginning-of-line): Cater for the case when there
31227         are tags but no headline text.
31228         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
31229         it set.
31231 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31233         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
31234         the return value is nil instead of "nil" when there is no match.
31236         * org-exp.el (org-insert-centered): Use fill-column instead of
31237         80.
31238         (org-export-as-ascii): Use string-width to measure the width of
31239         the heading.
31241         * org.el (org-diary-to-ical-string): No longer kill buffer
31242         FROMBUF, this is now done by the caller.
31244         * org-exp.el (org-print-icalendar-entries): Move the call to
31245         `org-diary-to-ical-string' out of the loop, and kill the buffer
31246         afterwords.
31248         * org-remember.el (org-remember-visit-immediately):
31249         Position cursor after moving to the note.
31250         (org-remember-apply-template): Use a text property to record the
31251         cursor position.
31252         (org-remember-handler): Align tags after pasting the note.
31254 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31256         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
31258         * org-agenda.el (org-agenda-open-link): If there is an
31259         org-bbdb-name property in the current line, jump to that bbdb
31260         entry.
31262         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
31263         text property, so that the agenda knows where this entry comes
31264         from.
31266         * org-agenda.el (org-agenda-clock-in): Fix bug in the
31267         interaction between clocking-in from the agenda, and  automatic
31268         task state switching.
31270         * org-macs.el (org-with-point-at): Bug fix in macro definition.
31272         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
31273         zmacs-region stays after this command in XEmacs.
31275 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31277         * org.el (org-scan-tags): Allow new values for ACTION parameter.
31279         * org-remember.el (org-remember-templates): Fix bug in
31280         customization type definition.
31282         * org.el (org-map-entries): New function.
31284 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31286         * org-agenda.el (org-agenda-skip-comment-trees): New option.
31287         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
31289 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31291         * org-remember.el (org-jump-to-target-location): New variable.
31292         (org-remember-apply-template):
31293         Set `org-remember-apply-template' if requested by template.
31294         (org-remember-handler): Start an idle timer to jump to
31295         remember location.
31297         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
31299         * org.el (org-set-regexps-and-options): Fix bug with parsing of
31300         file tags.
31301         (org-get-tags-at): Add the content of `org-file-tags'.
31303         * org-exp.el (org-export-handle-comments): Fix bug with several
31304         comment lines after each other.
31305         (org-number-to-roman, org-number-to-counter): New functions.
31306         (org-export-section-number-format): New option.
31308 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31310         * org-exp.el (org-export-protect-examples): Catch the case of a
31311         missing end_example line.
31313         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
31314         `org-file-tags' to nil.
31316         * org-colview.el (org-columns-next-allowed-value): Handle next
31317         argument NTH to directly select a value.
31319 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31321         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
31323 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31325         * org.el (org-columns-ellipses): New option.
31327 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31329         * org-colview.el (org-columns-add-ellipses): New function.
31330         (org-columns-compact-links): New function.
31331         (org-columns-cleanup-item): Call `org-columns-compact-links'.
31332         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
31333         when in agenda.
31334         (org-columns-edit-value): Fix bug with editing values from
31335         agenda column view.
31336         (org-columns-redo): Also redo the agenda itself.
31338 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31340         * org-agenda.el (org-agenda-columns-remove-prefix-from-item):
31341         New option.
31343         * org-colview.el (org-agenda-columns-cleanup-item): New function.
31345         * org-exp.el (org-export-ascii-preprocess): Rename from
31346         `org-export-ascii-clean-string'.
31347         (org-export-kill-licensed-text)
31348         (org-export-define-heading-targets)
31349         (org-export-handle-invisible-targets)
31350         (org-export-target-internal-links)
31351         (org-export-remove-or-extract-drawers)
31352         (org-export-remove-archived-trees)
31353         (org-export-protect-quoted-subtrees)
31354         (org-export-protect-verbatim, org-export-protect-examples)
31355         (org-export-select-backend-specific-text)
31356         (org-export-mark-blockquote-and-verse)
31357         (org-export-remove-comment-blocks-and-subtrees)
31358         (org-export-handle-comments, org-export-mark-radio-links)
31359         (org-export-remove-special-table-lines)
31360         (org-export-normalize-links)
31361         (org-export-concatenate-multiline-links)
31362         (org-export-concatenate-multiline-emphasis): New functions,
31363         obtained from spliting the export preprocessor.
31365         * org-table.el (org-table-recalculate): Improve error message if
31366         the row number is invalid.
31368 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31370         * org-archive.el (org-archive-save-context-info): Fix bugs in
31371         customization setup and docstring.
31373         * org-exp.el (org-export-html-style): Change the size of in the
31374         <pre> element to 90%.
31376 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31378         * org.el (org-find-src-example-start): Function removed.
31379         (org-edit-src-find-region-and-lang): New function.
31381 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31383         * org.el (org-edit-src-exit): New function.
31384         (org-exit-edit-mode): New minor mode.
31386         * org-exp.el (org-export-preprocess-string): Fix bug with removing
31387         comment-like lines from protected examples.
31389         * org.el (org-edit-src-example, org-find-src-example-start)
31390         (org-protect-source-example, org-edit-special): New functions.
31392 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31394         * org-publish.el (org-publish-project-alist): Fix typo in
31395         docstring.
31396         (org-publish-project-alist): Handle :index-title property.
31398 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31400         * org-export-latex.el (org-export-as-latex): Make sure region
31401         bounds are correct.  Parse subtree properties relating to export.
31403         * org-exp.el (org-export-add-options-to-plist): New function.
31404         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
31406 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31408         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
31409         EXPORT_TITLE.
31411         * org-exp.el (org-export-get-title-from-subtree)
31412         (org-export-as-ascii, org-export-as-html): Make sure the original
31413         region-beginning and region-end are used, even after moving point.
31414         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
31415         property.
31417         * org-remember.el (org-remember-last-stored-marker): New variable.
31418         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
31419         (org-remember-handler): Also use marker to remember
31420         last-stored position.
31422         * org.el (org-goto-marker-or-bmk): New function.
31424 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31426         * org.el (org-file-properties): Rename from `org-local-properties'.
31427         (org-scan-tags): Take file tags into account.
31428         (org-tags-match-list-sublevels): Default changed to t.
31430         * org-exp.el (org-export-as-html): Close paragraph after a footnote.
31432         * org.el (org-update-parent-todo-statistics): New function.
31434         * org-exp.el (org-icalendar-store-UID): New option.
31435         (org-icalendar-force-UID): Option removed.
31436         (org-print-icalendar-entries): IMplement UIDs.
31438 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31440         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
31442 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31444         * org-faces.el (org-column): Document how this face is being used
31445         and why sometimes the background faces shine through.
31447         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
31449         * org-publish.el (org-publish-attachment): Create publishing
31450         directory if it does not yet exist.
31452         * org-table.el (org-calc-default-modes): Change default number
31453         format to (float 8).
31455         * org.el (org-olpath-completing-read): New function.
31456         (org-time-clocksum-format): New option.
31457         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
31459         * org-clock.el (org-clock-display, org-clock-out)
31460         (org-update-mode-line): Use `org-time-clocksum-format'.
31462         * org-colview.el (org-columns-number-to-string):
31463         Use `org-time-clocksum-format'.
31465 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31467         * org-id.el: New file, move from contrib to core.
31469         * org-exp.el (org-icalendar-force-UID): New option.
31471 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31473         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
31474         shifted by one day if there is a date range without an end time.
31476         * org.el (org-try-structure-completion): New function.
31478 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31480         * org.el (org-set-font-lock-defaults): Improve fontification of
31481         description lists.
31482         (org-insert-item): Handle description lists.
31483         (org-adaptive-fill-function): Improve auto indentation in
31484         description lists.
31486         * org-exp.el (org-export-as-html, org-export-preprocess-string):
31487         Implement VERSE environment.
31488         (org-export-preprocess-string): Implement the COMMENT
31489         environment.
31491         * org-export-latex.el (org-export-latex-preprocess):
31492         Implement VERSE environment.
31494 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31496         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
31497         option.
31499 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31501         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
31503         * org.el (org-quote-csv-field): New functions.
31505         * org-table.el (org-table-export-default-format): Remove :splice
31506         from default format, we get the same effect by not specifying
31507         :tstart and :tend.
31508         (org-table-export): Improve setup, distinguish better between
31509         interactive and non-interactive use, allow specifying the format
31510         on the fly, better protection against wrong file names.
31511         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
31512         and :tend when :splice is omitted.
31514 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31516         * org-clock.el (org-clock-select-task): Make sure the selection
31517         letters are 1-9 and A-Z, no special characters.
31519 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31521         * org-exp.el (org-export-htmlize): New group.
31522         (org-export-htmlize-output-type)
31523         (org-export-htmlize-css-font-prefix): New options.
31524         (org-export-htmlize-region-for-paste): New function.
31525         (org-export-htmlize-generate-css): New command.
31527 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31529         * org.el (org-set-visibility-according-to-property): New function.
31530         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
31531         and compute the regular expressions, and update font-lock.
31532         (org-property-re): Allow a dash in property names.
31534         * org-archive.el (org-extract-archive-file): Insert the file name
31535         without the path into the format, to allow the location format to
31536         contain a subdirectory.
31538         * org-agenda.el (org-agenda-post-command-hook): If point is at end
31539         of buffer, and the `org-agenda-type' property undefined, use the
31540         value from the character before.
31542         * org.el (org-add-planning-info): Don't let indentation for
31543         would-be timestamp become extra whitespace at the end of headline.
31545 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31547         * org.el (org-remove-double-quotes, org-file-contents):
31548         New functions.
31550         * org-exp.el (org-infile-export-plist): Also parse the
31551         contents of #+SETUPFILE files, recursively.
31553         * org.el (org-set-regexps-and-options): Also parse the
31554         contents of #+SETUPFILE files, recursively.
31556         * org-exp.el (org-export-handle-include-files): New function.
31557         (org-export-preprocess-string):
31558         Call `org-export-handle-include-files'.
31560         * org.el (org-delete-property-globally)
31561         (org-delete-property, org-set-property): Ignore case during
31562         completion.
31563         (org-set-property): Use `org-completing-read' instead of
31564         `completing-read'.
31566         * org.el (org-complete-expand-structure-template): New,
31567         experimental function.
31568         (org-structure-template-alist): New, experimental option.
31569         (org-complete): Call `org-complete-expand-structure-template'.
31571 2008-06-17  Bastien Guerry  <bzg@gnu.org>
31573         * org-export-latex.el (org-export-latex-preprocess):
31574         Add support for blockquotes.
31576 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31578         * org.el (org-read-date-analyze): Catch the case where only a
31579         weekday is given.
31581 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31583         * org.el (org-set-font-lock-defaults): Make the description
31584         tag bold.
31586         * org-exp.el (org-export-as-html, org-close-li):
31587         Implement description lists.
31589 2008-06-17  Jason Riedy  <jason@acm.org>
31591         * org-table.el (*orgtbl-default-fmt*): New variable.
31592         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
31593         when there is no other fmt available.
31595         (orgtbl-to-generic): Allow an explicitly nil :tstart or
31596         :tend to suppress the appropriate string.
31598         (orgtbl-to-orgtbl): New function for translating to another orgtbl
31599         table.
31601 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31603         * org.el (org-read-date-analyze): "." as an alias for "+0" in
31604         read date.
31606         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
31607         New function.
31609         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
31610         New function.
31612 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31614         * org-clock.el (org-clock-find-position): Don't include notes
31615         into clock drawer.
31617         * org-archive.el (org-archive-subtree): No longer remove an
31618         extra line after cutting the subtree.  `org-cut-subtree' already
31619         takes care of this.
31621         * org-remember.el (org-remember-handler): Only kill the target
31622         buffer if it does not contain the running clock.
31624         * org.el (org-markers-to-move): New variable.
31625         (org-save-markers-in-region, org-check-and-save-marker)
31626         (org-reinstall-markers-in-region): New function.
31627         (org-move-subtree-down, org-copy-subtree): Remember relative
31628         marker positions before cutting.
31629         (org-move-subtree-down, org-paste-subtree): Restore relative
31630         marker positions after pasting.
31632         * org-remember.el (org-remember-clock-out-on-exit): New option.
31633         (org-remember-finalize): Clock out only if the setting in
31634         `org-remember-clock-out-on-exit' requires it.
31635         (org-remember-handler): Do the cleanup in the buffer, to make sure
31636         that the clock marker remains in tact.
31638 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31640         * org-clock.el (org-clock-goto): Widen buffer if necessary.
31641         (org-clock-in): Make sure that also tasks outside the narrowed
31642         region will be clocked in correctly.
31643         (org-clock-insert-selection-line): Widen the buffer so that we can
31644         find the correct task heading.
31646         * org.el (org-base-buffer): New function.
31648         * org-exp.el (org-icalendar-cleanup-string): Make sure ","
31649         and ";" are escaped.
31650         (org-print-icalendar-entries): Also apply
31651         `org-icalendar-cleanup-string' to the headline, not only to the
31652         summary property.
31654 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
31656         * org-exp.el (org-export-preprocess-hook): New hook.
31657         (org-export-preprocess-string): Call `org-export-preprocess-hook'.
31659         * org.el (org-font-lock-hook): New variable.
31660         (org-font-lock-hook): New function.
31661         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
31663 ;; Local Variables:
31664 ;; coding: utf-8
31665 ;; add-log-time-zone-rule: t
31666 ;; End:
31668         Copyright (C) 2008-2014 Free Software Foundation, Inc.
31670   This file is part of GNU Emacs.
31672   GNU Emacs is free software: you can redistribute it and/or modify
31673   it under the terms of the GNU General Public License as published by
31674   the Free Software Foundation, either version 3 of the License, or
31675   (at your option) any later version.
31677   GNU Emacs is distributed in the hope that it will be useful,
31678   but WITHOUT ANY WARRANTY; without even the implied warranty of
31679   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
31680   GNU General Public License for more details.
31682   You should have received a copy of the GNU General Public License
31683   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.