1 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
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
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
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
24 (org-refile-allow-creating-parent-nodes): Fix typo in
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
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
77 * ox-html.el: Clean up "FIXME" comments.
79 * ox-publish.el (org-publish-resolve-external-fuzzy-link): Fix
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
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,
100 2013-01-07 U-usuario <rbenit68@yahoo.es> (tiny change)
102 * ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Fix code
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
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
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):
147 (org-colview-initial-truncate-line-value)
148 (org-columns-open-link, org-string-to-number):
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):
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
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
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
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
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
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
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
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
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
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-calc.el (org--var-syms): Rename from `var-syms'.
257 * ob-lilypond.el (ly-compile-lilyfile): Remove redundant
260 * ob-table.el (sbe): Move debug declaration.
262 * org-clock.el (org--msg-extra): Rename from `msg-extra'.
264 2013-12-06 Nicolas Goaziou <n.goaziou@gmail.com>
266 * org.el (org-ctrl-c-ctrl-c): When point is on an unsupported
267 object, look for something to do at a higher level instead of
270 * ox-html.el (org-html-format-latex): Add an argument. Ensure
271 latex header is the same as specified in the original buffer when
272 exporting a LaTeX fragment or environment.
273 (org-html-latex-environment, org-html-latex-fragment): Apply
276 * ox-publish.el (org-publish-cache-ctime-of-src): Return an error
277 when publishing a non-existent file.
279 * org-element.el (org-element-paragraph-separate): More accurate
282 * org.el (org-entry-get): Widen buffer in order to retrieve
283 properties, as `org-entry-properties' and
284 `org-entry-get-with-inheritance' already do.
286 * ox-html.el (org-html--format-toc-headline): Add missing headline
287 number in TOC entries.
289 * org.el (org-entry-properties): Ignore narrowing when retrieving
290 current headline properties.
292 2013-12-06 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
294 * org-crypt.el (org-encrypt-string, org-encrypt-entry)
295 (org-decrypt-entry): Fix warning.
297 2013-11-17 Paul Eggert <eggert@cs.ucla.edu>
300 * ob-python.el (org-babel-python-with-earmuffs):
301 Rename from org-babel-python-with-earmufs. All uses changed.
302 (org-babel-python-without-earmuffs):
303 Rename from org-babel-python-without-earmufs. All uses changed.
305 2013-11-12 Bastien Guerry <bzg@gnu.org>
307 * org-agenda.el (org-agenda-set-restriction-lock): Autoload.
309 2013-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
311 Address some byte-compiler warnings.
312 * ob-calc.el (org--var-syms): Rename from `var-syms'.
313 * ob-lilypond.el (ly-compile-lilyfile): Remove redundant let-binding.
314 * ob-table.el (sbe): Move debug declaration.
315 * org-clock.el (org--msg-extra): Rename from `msg-extra'.
316 * org.el (org-version): Avoid var name starting with _.
317 (org-inhibit-startup, org-called-with-limited-levels)
318 (org-link-search-inhibit-query, org-time-was-given)
319 (org-end-time-was-given, org-def, org-defdecode, org-with-time):
320 * org-colview.el (org-agenda-overriding-columns-format):
321 * org-agenda.el (org-agenda-multi, org-depend-tag-blocked)
322 (org-agenda-show-log-scoped):
323 * ob-python.el (py-which-bufname, python-shell-buffer-name):
324 * ob-haskell.el (org-export-copy-to-kill-ring):
325 * ob-exp.el (org-link-search-inhibit-query):
326 * ob-R.el (ess-eval-visibly-p):
327 * ob-core.el (org-src-window-setup): Declare before use.
328 (org-babel-expand-noweb-references): Remove unused `blocks-in-buffer'.
329 * ox-odt.el (org-odt-hfy-face-to-css):
330 * org-src.el (org-src-associate-babel-session, org-src-get-lang-mode):
331 * org-bibtex.el (org-bibtex-get, org-bibtex-ask, org-bibtex)
333 * ob-tangle.el (org-babel-tangle, org-babel-spec-to-string)
334 (org-babel-tangle-single-block, org-babel-tangle-comment-links):
336 * ob-sqlite.el (org-babel-sqlite-expand-vars):
337 * ob-sql.el (org-babel-sql-expand-vars):
338 * ob-shen.el (org-babel-execute:shen):
339 * ob-sh.el (org-babel-execute:sh, org-babel-sh-evaluate):
340 * ob-scala.el (org-babel-scala-evaluate):
341 * ob-ruby.el (org-babel-ruby-table-or-string)
342 (org-babel-ruby-evaluate):
343 * ob-python.el (org-babel-python-table-or-string)
344 (org-babel-python-evaluate-external-process)
345 (org-babel-python-evaluate-session):
346 * ob-picolisp.el (org-babel-execute:picolisp):
347 * ob-perl.el (org-babel-perl-evaluate):
348 * ob-maxima.el (org-babel-execute:maxima):
349 * ob-lisp.el (org-babel-execute:lisp):
350 * ob-java.el (org-babel-execute:java):
351 * ob-io.el (org-babel-io-evaluate):
352 * ob-haskell.el (org-babel-execute:haskell):
353 * ob-fortran.el (org-babel-execute:fortran):
354 * ob-exp.el (org-babel-exp-code):
355 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
356 * ob-ditaa.el (org-babel-execute:ditaa):
357 * ob-core.el (org-babel-execute-src-block, org-babel-sha1-hash)
358 (org-babel-parse-header-arguments, org-babel-reassemble-table)
359 (org-babel-goto-src-block-head, org-babel-mark-block)
360 (org-babel-expand-noweb-references, org-babel-script-escape)
361 (org-babel-process-file-name):
362 * ob-clojure.el (org-babel-execute:clojure):
363 * ob-calc.el (org-babel-execute:calc):
364 * ob-awk.el (org-babel-execute:awk):
365 * ob-R.el (org-babel-expand-body:R):
366 * ob-C.el (org-babel-C-execute): Avoid deprecated ((lambda) ...).
368 2013-11-12 Glenn Morris <rgm@gnu.org>
370 * ox-html.el (org-html-scripts): Add 2013 to copyright years.
371 (org-html-infojs-template): Copyright holder to FSF.
373 2013-11-12 Aaron Ecay <aaronecay@gmail.com>
375 * ox-latex.el (org-latex-inline-image-rules): Add "svg" to
377 (org-latex--inline-image): Implement SVG files inclusion.
378 (org-latex-headline): Don’t insert alternate title if identical to
381 * ob-python.el: Update the arglist passed to `declare-function'
384 * ob-tangle.el (org-babel-tangle): Use `light' argument to
385 `org-babel-get-src-block-info'.
387 * ob-core.el (org-babel-execute-src-block): Return nil in case of
388 `:results none'. Also run `org-babel-after-execute-hook' in this
391 * org-id.el (org-id-locations-save): Bind print-(level,length) to
392 nil in this function.
394 * ob-R.el (org-babel-R-graphics-devices): New defvar.
395 (org-babel-R-construct-graphics-device-call): Use it instead of a
396 hard-coded list of graphics devices.
398 * ob-core.el (org-babel-when-in-src-block): New macro.
399 (org-babel-execute-src-block-maybe)
400 (org-babel-expand-src-block-maybe)
401 (org-babel-load-in-session-maybe, org-babel-pop-to-session-maybe):
403 (org-babel-execute-src-block): Use `copy-tree' to prevent setf
404 from modifying users variables withing let-bound `info' variable.
406 * ob-exp.el (org-export-babel-evaluate): Add a 'inline-only
408 (org-babel-exp-results): Implement 'inline-only for
409 `org-export-babel-evaluate'.
411 * org.el (org-edit-special): Use prefix arg.
413 * ob-awk.el (org-babel-expand-body:awk, ob-picolisp.el)
414 (org-babel-expand-body:picolisp): Remove optional arg.
416 * ob-R.el (org-babel-R-initiate-session): Handle case where the
417 session buffer exists, but does not have a live process.
418 (org-babel-R-construct-graphics-device-call): Change file
419 extension of tikz graphics files to .tikz.
421 * org-src.el (org-edit-src-exit): Don't modify the undo list when
424 * ox-latex.el (org-latex-plain-text): Properly escape "~" for
426 (org-latex-image-default-option): Change default value to "".
427 (org-latex-image-default-width, org-latex-image-default-height):
429 (org-latex-inline-image-rules): Make .tikz files as exportable
431 (org-latex--inline-image): Support tikz images. Also support
432 separate :width and :height parameters for images.
434 * org-bibtex.el (org-bibtex-ask): Use `visual-line-mode' instead
437 2013-11-12 Abdó Roig-Maranges <abdo.roig@gmail.com>
439 * org.el (org-format-latex): Do not re-generate a LaTeX preview if
440 the image already exists.
442 * org-agenda.el (org-agenda-search-view-max-outline-level): New
443 option to define the max level for the entries shown by the search
444 view. A value of 1 means to show the top parent of the entries.
446 * org.el (org-create-formula-image-with-dvipng): Fix bug that made
447 this function fail with no :foreground and :background attributes
448 set, due to bad handling of "Transparent" color. Fix bug when
449 colors are not `default'.
450 (org-format-latex-options): Add `auto' to docstring.
451 (org-format-latex): Get face colors at point and put them inside
453 (org-create-formula-image-with-imagemagick): Fix bug when handling
454 "Transparent" bg color.
455 (org-dvipng-color-format): Same as `org-latex-color-format' for
456 dvipng-style color specification.
458 2013-11-12 Achim Gratz <Stromeko@Stromeko.DE>
460 * ob-core.el (org-babel-check-confirm-evaluate): Return result of
461 evaluating the function pointed to by `org-confirm-babel-evaluate'
462 when it is a functionp and its value as a variable otherwise.
463 (org-babel-get-rownames, org-table.el)
464 (org-table-transpose-table-at-point): Replace the inadvertent use
465 of mapcar* (from cl) by plain mapcar and direct cons manipulation.
466 (org-babel-params-from-properties): Use
467 `org-babel-current-src-block-location' for evaluating new-style
468 header-argument properties. Remove superfluous save-match-data
469 clauses. Comment which properties get evaluated where.
470 (org-babel-insert-header-arg, org-babel-parse-src-block-match):
471 Replace `if' with empty else part by `when' for readability.
472 (org-babel-params-from-properties): Inquire for language specific
473 and default header properties. Language specific header
474 properties take precedence over default header properties and
475 old-style header property specifications.
477 * org.el (org-re-property): Re-implement using full regex for
478 `org-re-property'. Add optional argument LITERAL to flag when
479 PROPERTY should to be regex-quoted. Move before definition of
481 (org-re-property-keyword): Remove, functionality is subsumed by
483 (org-property-re): Define using `org-re-property'. Improve
484 definition so that this regex can be
485 (org-entry-get, org-property-values): Adjust match number for
486 PROPVAL. (org-entry-put): Use `org-re-property' instead of
487 `org-re-property-keyword'.
488 used in all situations. Extend docstring with explanation of
490 (org-at-property-p): Implement using `org-element-at-point'.
491 (org-entry-properties, org-buffer-property-keys, org-indent-line):
492 Use `org-property-re' and adjust match group numbers accordingly.
494 * org-compat.el (define-obsolete-variable-alias)
495 (define-obsolete-function-alias): Actually remove the third (and
496 any following) argument from the argument list before calling the
497 advised function. Extend eval-and-compile clause and add advices
498 for functions that have different parameter lists in XEmacs. Add
499 variable definitions that XEmacs lacks .
501 * ob-fortran.el (org-every): Declare.
503 * org-element.el (org-element-node-property-parser): Use
504 `org-property-re' and adjust match group numbers accordingly.
505 Move `looking-at' out of the let clause to not rely on the
506 unspecified evaluation order inside the let.
508 * ob-eval.el, ob.el, org-macro.el, org-mhe.el: Require org-macs
509 and org-compat as necessary.
511 * ob-tangle.el (org-edit-special, org-store-link)
512 (org-open-link-from-string): Declare functions.
514 * org-macs.el (declare-function): Define macro to use autoload
517 * ox-html.el, ox-odt.el: XEmacs does not have table.el, so use
518 'noerror on the require form.
520 * ox-texinfo.el (org-texinfo-table-column-widths): Fix spliced
521 argument list that XEmacs complains about by adding parenthesis.
523 * ob-octave.el (org-babel-octave-initiate-session): If octave-inf
524 can't be loaded, try octave instead before giving up. Emacs
525 24.3.50 and upwards replaces octave-inf with just plain octave.
527 * org-id.el (org-id-update-id-locations): Autoload interactive
530 * ob-core.el (org-babel-parse-inline-src-block-match):
531 * ob-exp.el (org-babel-exp-src-block): Give header arguments from
532 properties priority over default header arguments.
534 * ob-sh.el (org-babel-sh-var-to-sh): When detecting a table, the
535 first line could be the symbol `hline' rather than a list of table
536 cells, so check for that as well.
538 * org.el (org-table-clean-did-remove-column):
539 * org-table.el (org-table-clean-did-remove-column): Move defvar,
540 this dynamic variable is only used in org-table.
542 * org-table.el (org-table-colgroup-info): Remove unused defvar for
543 `org-table-colgroup-info'.
544 (org-table-clean-before-export): Let-bind regular expression
545 strings and remove unused matching group. Use
546 `org-table-clean-did-remove-column' in cond statement rather than
547 branching via if to avoid code duplication. Remove the code
548 associated with the removed `org-table-colgroup-info'.
549 (orgtbl-export): Remove unused internal function.
551 * org-macro.el (org-macro-expand): Do not try to interpret the
552 macro replacement text as a regex so that escaped backslashes and
553 commas in macro arguments will be interpreted correctly.
555 * ob-perl.el (org-babel-perl-wrapper-method): Select output handle
556 only after evaluation so that output is not mixed into results
558 (org-babel-perl-evaluate): Fix the handling of results for
559 ":results output" to also parse tables. Use the same lambda
560 construction as in ob-sh.el to avoid code duplication.
562 * ob-exp.el (org-babel-exp-results, org-babel-lob-execute):
563 Suppress user confirmation of the emacs-lisp wrapper execution
566 * ob-perl.el (org-babel-perl-wrapper-method): Use TAB as separator
567 for table results as expected by
568 `org-babel-import-elisp-from-file´.
570 * ob-core.el (org-babel-number-p): String match for any number
571 moved first so that the match data for the length check does not
573 (org-babel-confirm-evaluate-answer-no): Dynamically scoped
574 variable, if bound non-nil the confirmation dialog will not be
575 initiated and denial of evaluation is assumed.
576 (org-babel-check-confirm-evaluate): New macro to establish
577 bindings based on INFO.
578 (org-babel-check-evaluate): New defsubst that checks if the
579 evaluation of a code block is disabled. Refactors the first part
580 of the original function `org-babel-confirm-evaluate´.
581 (org-babel-confirm-evaluate): New defsubst that checks if the user
582 should be queried and returns the answer. Keeps the second part
583 of the original function `org-babel-confirm-evaluate´.
584 Re-implement using bindings for common subexpressions.
585 (org-babel-execute-src-block): Do not ask for confirmation if the
586 cached result is current.
587 (org-babel-call-process-region-original): Change declaration into
588 definition with nil initial value at the beginning of the file and
589 drop the later definition. Add comment that the dynamic scoping
590 of this variable is done for tramp.
592 * org-table.el (org-table-eval-formula): The condition-case to
593 check for must be "error", not "user-error".
595 * ob-perl.el (org-babel-execute:perl): Pass `result-params´
596 through to `org-babel-perl-evaluate´.
597 (org-babel-variable-assignments:perl): Add "my" to variable
598 declaration so that it becomes compatible with "use strict;". Use
599 new internal formatting function `org-babel-perl--var-to-perl´.
600 (org-babel-perl--var-to-perl): New internal function, uses Perl
601 non-interpolating quoting on the string that defines the variable
602 to suppress spurious interpretation of it as Perl syntax.
603 (org-babel-perl-wrapper-method): Use a block and declare all
604 variables as "my", also use Perl quoting throughout. Redirect
605 STDOUT to the temporary file so that simply "print" will put the
606 results there. Check the return value and output in table form if
607 it is an ARRAY ref, otherwise print it without a final newline.
608 (org-babel-perl-preface): Content of this variable is prepended to
609 body before invocation of perl. Rename input parameter body to
610 ibody and let-bind body to concatentation of
611 `org-babel-perl-preface' and ibody. Implement results
612 interpretation so that tables are easier to produce.
614 * ob-eval.el (org-babel-eval): Use simplified version of
615 `org-babel--shell-command-on-region´, we are the only caller of
617 (org-babel--shell-command-on-region): Replace
618 `org-babel-shell-command-on-region´ with a much more simplified
619 internal version, remove superfluous DOCSTRING and interactive
620 clause, strip out all conditionals which were never used. Prevent
621 deletion of temporary input file to aid debugging when the symbol
622 `org-babel--debug-input´ is bound and has non-nil value.
624 * ob-tangle.el (org-babel-tangle): Do not change signature, a nil
625 arg is even documented in the manual.
627 * org-src.el: Change declaration of `org-babel-tangle´ to "arg"
630 * ob-core.el (org-babel-execute-src-block): Add binding for
631 merged-params to avoid multiple evaluation of
632 `org-babel-merge-params´. Rename cache? to cache-p, add binding
633 for cache-current-p and use it. Do not run
634 `org-babel-confirm-evaluate´ if source block has a cache and the
635 cache value is current (there is no evaluation involved in this
638 * org.el (org-current-time): Replace call to obsolete function
639 `time-to-seconds´ with a call to compatibility function
642 * org-compat.el (user-emacs-directory): If not bound, define as an
643 alias to `user-init-directory´ so that XEmacs continues to be
646 * org-macs.el: New macro to allow the 5-argument form of load to
647 be used where possible without breaking compatibility with XEmacs.
649 * org.el (org-version, org-reload): Use
650 `org-load-noerror-mustsuffix´ instead of adding a fifth argument
651 to load directly. Guard against undefined variable load-suffixes,
652 which doesn't exist in XEmacs.
655 `org-define-obsolete-{function,variable}-alias´instead of
656 `define-obsolate{function,variable}-alias´.
658 * org-compat.el (user-error): Defalias to `error´ for Emacsen that
661 * ob-python.el (org-babel-python-hline-to)
662 (org-babel-python-None-to): Specify customize group as 'org-babel
663 and widget type as 'string.
665 * ob.el (org-babel-result-cond): Macro expansion needs to unquote
666 formal parameter `result-params´.
668 * org.el (org-reload): Major rewrite.
670 * org.el (org-clock-get-last-clock-out-time): Declare function.
672 2013-11-12 Alan Schmitt <alan.schmitt@polytechnique.org>
674 * ob-ocaml.el (org-babel-prep-session:ocaml): Use
675 `save-window-excursion' around the code starting the tuareg
677 (org-babel-ocaml-command): New option to specify the name of the
679 (org-babel-prep-session:ocaml): Directly call
680 `tuareg-run-process-if-needed' with `org-babel-ocaml-command' as
682 (org-babel-execute:ocaml): Always append ";;" at the end of the
683 expression before sending it to the toplevel. Do not remove the
684 type information if "verbatim" is a results parameter of the code
686 (org-babel-ocaml-parse-output): Make sure the complete type is
687 taken into account when matching against known types.
689 * org-faces.el (org-footnote): Fix docstring.
691 2013-11-12 Andreas Leha <andreas@lehas.net>
693 * ob-latex.el (org-babel-execute:latex): Add a tizk option that
694 copies the body of the block into a tikz file.
696 2013-11-12 Arun Persaud <apersaud@lbl.gov>
698 * org-agenda.el (org-agenda-prefix-format): Add documentation for
700 (org-prefix-has-breadcrumbs): Add flag, `t' when %b is set.
701 (org-agenda-format-item): Add breadcrumbs if requested.
702 (org-compile-prefix-format): Add compiled information for
703 breadcrumbs, add %b option.
705 2013-11-12 Aurélien Aptel <aurelien.aptel@gmail.com> (tiny change)
707 * ox-html.el (org-html-code, org-html-verbatim): Remove fancy
708 string replacements for code and verbatim text when exporting to
711 2013-11-12 Bastien Guerry <bzg@gnu.org>
713 * org.el (org-align-tags-here): Fix bug: move to the correct
715 (org-agenda-prepare-buffers): Restore the point position.
716 (org-insert-link): Don't remove brackets when they belong to a
717 timestamp in a headline.
719 * org-capture.el (org-capture-refile): Don't finalize prematurely.
720 (org-capture): Store :return-to-wconf earlier.
721 (org-capture-place-template): Don't store :return-to-wconf when
722 called from a capture template using `function', rely on the early
723 :return-to-wconf value store from `org-capture'.
725 * org-compat.el (org-move-to-column): New argument
726 `ignore-invisible' to turn on `buffer-invisibility-spec'.
728 * org-agenda.el (org-agenda-show-new-time): Ignore invisible text
729 when inserting the new time as a text property.
730 (org-agenda-filter-make-matcher): When filtering tags and hitting
731 space, filter out entries with tags, only keep those without tags.
732 (org-agenda-drag-line-forward, org-agenda-drag-line-backward): Fix
733 bugs: don't drag lines without text and don't drag lines
734 before/after hidden lines.
736 * ox-odt.el (org-odt-table-style-format): Use %s for inserting the
737 rel-width property as a string.
738 (org-odt-template): Fall back on a string for :rel-width.
740 * org.el (org-directory, org-default-notes-file)
741 (org-reverse-note-order): Don't use the `org-remember'
743 (org-require-autoloaded-modules): Don't require
746 * org-capture.el: Update commentary section to reflect the fact
747 that org-remember.el is not used anymore.
749 * org.el (org-babel-load-file): Set `exported-file' correctly, in
750 case the file as been tangled using a buffer-local value.
752 * ob-tangle.el (org-babel-tangle-file): Return the list of tangled
755 * ox-org.el (org-org-publish-to-org): When htmlizing an .org file,
756 ensure to show all headings and all blocks before fontifying.
758 * ob-shen.el (org-babel-ruby-var-to-ruby): Declare.
760 * ox.el: Fix comment: remove reference to the obsolete variable
761 `org-export-language-setup'.
763 * org.el (org-set-regexps-and-options-for-tags): Fix concatenation
766 * ox-odt.el (org-odt-pixels-per-inch): Use 96.0 as the default.
768 * org.el (org-refile): With a numeric prefix argument of `3',
769 emulate (setq org-refile-keep t) and copy the subtree to the
770 target location, don't delete it.
771 (org-set-regexps-and-options-for-tags): Fix the setting of tag
772 groups when relying on `org-tag-alist', not on tags directly set
773 in the buffer with the #+TAGS option.
775 * org-agenda.el (org-agenda-archive-with): Save window excursion.
777 * org.el (org-forward-element, org-backward-element): Throw a
778 message instead of an error when trying to move from a position
779 where there is no element.
780 (org-clock-is-active): Fix docstring.
782 * org-list.el (org-sort-list): Use `x' instead of `c' for sorting
783 plain list by checked status.
785 * org.el (org-structure-template-alist): Fix custom type and
787 (org-set-regexps-and-options-for-tags): Enhance docstring.
788 (org-set-regexps-and-options): Make sure not to add
789 `org-tag-alist' twice when setting this variable through et
790 #+setupfile: directive.
791 (org-tags-expand): Use `with-syntax-table'.
793 * org-list.el (org-sort-list): Implement sorting by "checked"
794 status for check lists.
796 * org-table.el (org-table-sum): Fix rounding error when summing
799 * ob-scheme.el (org-babel-scheme-execute-with-geiser): Fix code
800 typo. Add declarations.
802 * ox-html.el (org-html-link-use-abs-url): New option.
803 (org-html-link): Use it to prepend relative links with the value
804 of HTML_LINK_HOME, when defined.
806 * org.el (org-refile): Fix refiling the active region within an
807 list. Don't store the last refiled subtree in the kill ring.
809 * org.el (org-mode-map): Remap `forward-paragraph' and
810 `backward-paragraph' to `org-forward-element' and
811 `org-backward-element'.
813 * ox-html.el (org-html-begin-plain-list): New parameter
814 `ordered-num' to tell whether the list is ordered numerically.
815 (org-html-plain-list): Handle alphabetical ordered list.
817 * org-agenda.el (org-batch-agenda): Let-bind `org-agenda-sticky'
818 to nil during batch export.
820 * org.el (org-copy-subtree): Fix typo in docstring.
821 (org-scan-tags): Don't disable `case-fold-search' too early.
823 * org-agenda.el (org-agenda-skip-eval): Fix typo in docstring.
825 * org-capture.el (org-capture-set-target-location): Don't throw an
826 error when `org-time-was-given' is not bound.
828 * org-clock.el (org-clock-modify-effort-estimate): Clarify
831 * org.el (org-set-regexps-and-options-for-tags): Return a list
832 with tag-related variables.
833 (org-set-regexps-and-options): Append tags from a setup file to
834 the local tags of the file.
835 (org-agenda-prepare-buffers): Set tags from a setup file by
836 calling `org-set-regexps-and-options' when necessary.
837 (org-set-regexps-and-options): Fix `org-deadline-time-hour-regexp'
838 and `org-scheduled-time-hour-regexp'.
840 * org-table.el (org-table-TBLFM-begin-regexp): Rename from
841 `org-TBLFM-begin-regexp'.
842 (org-table-calc-current-TBLFM): Rename from
843 `org-calc-current-TBLFM'.
845 * org.el (org-ctrl-c-ctrl-c): Require org-table if needed.
846 (org-refresh-properties): Put the text property on the whole
847 subtree, not just on the headline.
848 (org-get-outline-path): Remove statistical and checkboxes cookies.
850 * org-agenda.el (org-agenda, org-search-view, org-tags-view)
851 (org-agenda-get-day-entries, org-agenda-set-restriction-lock): Use
852 (current-buffer) as the value of `org-agenda-restrict'. Fix a bug
853 about narrowing to wrong region boundaries when
854 `org-agenda-restrict' is non-nil.
856 * org.el (org-agenda-text-search-extra-files): Fix typos in
858 (org-insert-heading): Fix case when there the first heading starts
859 at the beginning of the buffer.
861 * ob-core.el (org-babel-expand-src-block): Use
862 `org-called-interactively-p'.
864 * org.el (org-agenda-prepare-buffers): Avoid duplicates in
865 `org-tag-alist-for-agenda' correctly.
866 (org-read-date-minibuffer-local-map): Check if we are at the
867 beginning of the prompt, not if we are after a whitespace. Bind
868 C-. to `calendar-goto-today'.
870 * org-clock.el (org-clock-in): Don't forward by one character when
871 setting the marker in the clock history.
873 * org.el (org-read-date-minibuffer-local-map): Call
874 `calendar-goto-today' only if there is a space before point in the
876 (org-insert-heading): Reveal context when called interactively.
877 Fix bug about wrong conversion of lines with :END: or #+end_ into
879 (org-in-drawer-p): New function.
880 (org-meta-return): Use `org-catch-invisible-edits' and the
881 `org-in-drawer-p' to check whether we are within a drawer.
883 * org-list.el (org-sort-list): Fix infloop.
885 * org.el (org-clone-subtree-with-time-shift): Unconditionally ask
886 for a time shift if there is a time-stamp. Don't ask for a time
887 shift when called with a universal prefix argument.
889 * ob-core.el (org-babel-insert-result): Fix bug when inserting
890 results as a list: ensure we split a string containing "\n".
892 * ox-html.el: Fix copyright header.
894 * org.el (org-store-link): Don't add a search string when storing
895 a link from a radio target.
896 (org-open-at-point): Jump to the radio link (<<<radio>>>), not to
897 the simple target (<<target>>).
899 * org-table.el (org-table-get-remote-range): Fix typo.
901 * org-datetree.el (org-datetree-find-month-create)
902 (org-datetree-find-day-create): Add a docstring.
903 (org-datetree-find-year-create): Only match headlines with a
904 year or a year and one or more tags.
906 * org-crypt.el (org-crypt-check-auto-save)
907 (org-crypt-use-before-save-magic): Use `org-add-hook' when the
908 hooks are local hooks.
910 * org-agenda.el (org-agenda-mode): Use `org-add-hook' and merge
911 upstream change from Emacs 2013-04-18T00:12:33Z!monnier@iro.umontreal.ca.
913 * ob-core.el (org-babel-pop-to-session-maybe): Fix docstring.
914 (org-babel-pop-to-session-maybe): Use true function's name,
917 * org-agenda.el (org-agenda-drag-line-forward)
918 (org-agenda-drag-line-backward): New commands.
919 (org-agenda-mode-map): Bind the new commands to M-<down> and
922 * org.el (org-insert-heading): Fix insertion of items.
924 * org-capture.el (org-capture-use-agenda-date): Fix docstring.
926 * org-agenda.el (org-agenda-bulk-toggle): Fix docstring.
927 (org-agenda-bulk-toggle-all): New command.
928 (org-agenda-mode-map): Bind `org-agenda-bulk-toggle' to `M-m'
929 and `org-agenda-bulk-toggle-all' to `M-*'.
930 (org-agenda-menu): Add `org-agenda-bulk-toggle' and
931 `org-agenda-bulk-toggle-all'.
932 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Jump to the
933 next headline, not the next line.
935 * org-capture.el (org-mks): Fix bug: let-bind `case-fold-search'
936 to nil while matching the first letter of a multi-letters
939 * org.el (org-store-link): When a bracket link is found in a
940 headline, use the link description or the link path.
941 (org-flag-drawer, org-hide-block-toggle)
942 (org-goto-left, org-goto-right, org-promote)
943 (org-paste-subtree, org-narrow-to-block, org-sort-entries)
944 (org-insert-link, org-offer-links-in-entry, org-open-file)
945 (org-refile, org-refile-get-location)
946 (org-refile-check-position, org-prepare-dblock, org-todo)
947 (org-auto-repeat-maybe, org-show-todo-tree, org-sparse-tree)
948 (org-occur, org-priority, org-scan-tags)
949 (org-get-tags-string, org-property-action, org-set-effort)
950 (org-entry-put, org-insert-drawer)
951 (org-compute-property-at-point)
952 (org-property-next-allowed-value, org-evaluate-time-range)
953 (org-closest-date, org-timestamp-change)
954 (org-revert-all-org-buffers, org-cycle-agenda-files)
955 (org-agenda-file-to-front, org-remove-file)
956 (org-preview-latex-fragment, org-format-latex)
957 (org-create-math-formula, org-create-formula-image)
958 (org-speed-command-help, org-check-before-invisible-edit)
959 (org-modifier-cursor-error, org-hidden-tree-error)
960 (org-mark-subtree, org-kill-line, org-first-sibling-p)
961 (org-up-element, org-down-element)
962 (org-drag-element-backward, org-drag-element-forward)
963 (org-unindent-buffer, org-speedbar-set-agenda-restriction): Use
964 `user-error' instead of `error'.
966 * ox-latex.el (latex): Don't force exporting with smart quotes.
968 * ox.el (org-export-with-smart-quotes): Mention the need to use
969 the relevant Babel package when setting this option to non-nil.
971 * org-src.el (org-edit-src-turn-on-auto-save): New option.
972 (org-edit-src-code): Use it.
973 (org-edit-src-auto-save-idle-delay): Enhance docstring.
975 * org-capture.el (org-mks): Make cursor invisible.
977 * org.el (org-link-expand-abbrev): Save match data before before
978 calling the replacement function.
980 * org-list.el (org-sort-list): Don't move point when matching time
983 * org.el (org-shifttab): Show the correct number of empty
984 headlines when called with a numeric prefix argument. Enhance
986 (org-uniquify): Use `copy-sequence'.
987 (org-adaptive-fill-function, org-fill-paragraph): Throw a useful
988 error message when parse an element fails in the current buffer.
990 * ox.el (org-export-with-planning): Enhance docstring.
992 * org.el (org-closed-keep-when-no-todo): New option.
993 (org-todo): Use the new option.
994 (org-open-line): Rename from `org-ctrl-o'.
995 (org-mode-map): Use `remap'.
996 (org-cycle-emulate-tab, org-file-apps)
997 (org-set-font-lock-defaults)
998 (org-translate-link-from-planner, org-link-search)
999 (org-refile-get-targets, org-read-date-get-relative): Minor
1000 code clean-up: fix dangling parentheses.
1002 * org-agenda.el (org-agenda-entry-text-mode): Also check against
1004 (org-timeline): Handle `org-agenda-show-log'.
1006 * org-clock.el (org-clock-select-task): Remove successive
1007 duplicates in the clock history to consider.
1009 * org.el (org-uniquify-alist): Improve docstring.
1010 (org-make-tags-matcher, org-change-tag-in-region): Add buffer's
1011 tags to the tags completion table.
1012 (org-tags-expand): Prevent circular replacement of group tags.
1013 Tiny docstring formatting.
1014 (org-uniquify): Make a defsubst. Use `delete-dups' instead of
1016 (org-todo): Also remove the CLOSED planning information when
1017 removing the TODO keyword.
1018 (org-forward-heading-same-level): Fix bug when forwarding
1019 to a hidden subtree of the same level.
1020 (org-tags-expand): Use word delimiters when building the tag
1023 * org-clock.el (org-clock-insert-selection-line): Don't display
1026 * org.el (org-emphasis-regexp-components): Make a defvar.
1027 (org-emphasis-alist): New default value: don't set HTML tags.
1028 (org-emphasize, org-set-emph-re): Use the new value of
1029 `org-emphasis-alist'.
1031 * org-mobile.el (org-mobile-edit): Insert new headings at the end
1032 of the parent subtree. Use `org-at-heading-p' instead of the
1033 obsolete `org-on-heading-p'.
1035 * org.el (org-insert-heading): When called from a list item and
1036 `org-insert-heading-respect-content' is non-nil, insert a heading,
1038 (org-insert-heading-respect-content): Fix docstring.
1039 (org-insert-heading): When in a non-empty non-headline line,
1040 convert the current line into a headline.
1042 * org-table.el (org-table-copy-down): Don't move cursor when
1045 * ox-icalendar.el (org-icalendar-export-current-agenda): Do not
1046 evaluate babel code blocks.
1048 * ox-html.el (html): Add more options.
1050 * ox-publish.el (org-publish-project-alist): Add :with-planning in
1053 * ob-exp.el (org-babel-exp-src-block): Tiny docstring fix.
1055 * ox-icalendar.el (org-icalendar--combine-files): Fix typo.
1057 * org-mouse.el (org-mouse-agenda-context-menu): Fix a function's
1060 * ox.el (org-export-options-alist, org-export--skip-p): Use
1061 `:with-planning' instead of `:with-plannings', to keep in sync
1062 with the corresponding option's name.
1064 * ob-core.el (org-babel-confirm-evaluate): Fix typo in docstring.
1066 * org-agenda.el (org-agenda-undo, org-agenda)
1067 (org-agenda-append-agenda)
1068 (org-agenda-get-restriction-and-command, org-agenda-write)
1069 (org-agenda-clock-cancel)
1070 (org-agenda-diary-entry-in-org-file, org-agenda-diary-entry)
1071 (org-agenda-execute-calendar-command)
1072 (org-agenda-goto-calendar, org-agenda-convert-date)
1073 (org-agenda-bulk-mark, org-agenda-bulk-action)
1074 (org-agenda-show-the-flagging-note): Use `user-error' instead of
1077 * org-macs.el (org-with-remote-undo): Normalize argument names.
1079 * org.el (org-store-log-note): Fix `buffer-undo-list' when called
1080 after `org-agenda-todo'.
1081 (org-add-log-note): Minor formatting fix.
1083 * org-agenda.el (org-agenda-append-agenda): Set buffer read only.
1085 * org-clock.el (org-clock-select-task): Throw a user error when
1086 the clock history is empty.
1088 * org-table.el (org-table-get-remote-range): Fix docstring: use
1089 #+NAME instead of #+TBLNAME.
1091 * ob-ref.el: Use #+NAME instead of #+TBLNAME in comment.
1093 * ox-html.el (org-html-table-row-tags): Better example.
1095 * org-clock.el (org-clock-select-task): Fix window to buffer.
1097 (org-clock-insert-selection-line): Add the clock-out time.
1099 * ox-html.el (org-html-table-row-tags): Allow new dynamically
1100 bound value `row-number'.
1101 (org-html-table-row): Bind `row-number' to the number of the
1102 row (first row is 0).
1104 * org.el (org-minutes-to-clocksum-string): Round fractions of
1107 * ox-html.el (org-html-table-row-tags): Fix example in docstring.
1109 * org-agenda.el (org-agenda-span-to-ndays): Enhance docstring.
1110 (org-agenda-goto-date): Fix bug when going to a date in month
1112 (org-agenda-goto-date): Put the cursor on the agenda line with the
1114 (scheduled/deadline items with hour spec) then redo an agenda*.
1116 * org-clock.el (org-clock-resolve): Enhance the content of the
1119 * org-footnote.el (org-footnote-auto-label): Minor docstring fix.
1121 * ox-odt.el (org-odt-link): Fix bug: convert & to & in
1124 * ox-html.el (org-html-table-row): Dynamically bind
1125 `rowgroup-number', `start-rowgroup-p', `end-rowgroup-p',
1126 `top-row-p', `bottom-row-p'.
1127 (org-html-table-row-tags): Update docstring: tell what variables
1128 are dynamically bound.
1130 * org-src.el (org-edit-src-code): Don't set
1131 `buffer-auto-save-file-name' unless `auto-save-default' is
1134 * ox.el (org-export-table-row-group): Fix typo in docstring.
1136 * org-table.el (orgtbl-apply-fmt): Enhance docstring.
1138 * org.el (org-file-contents): Make the message more prominent.
1140 * ox.el (org-export-replace-region-by): New function.
1142 * ox-texinfo.el (org-texinfo-convert-region-to-texinfo),
1143 * ox-md.el (org-md-convert-region-to-md),
1144 * ox-latex.el (org-latex-convert-region-to-latex),
1145 * ox-html.el (org-html-convert-region-to-html): New functions to
1146 replace the active region by its export into various backends.
1148 * org-faces.el (org-agenda-restriction-lock): Use less flashy
1152 (org-agenda-restriction-lock-highlight-subtree): New option.
1153 (org-agenda-top-headline-filter): Rename from
1154 `org-agenda-top-headline-filter'.
1155 (org-find-top-headline): Rename from `org-find-top-category'.
1157 (org-agenda-filtered-by-top-headline): Rename from
1158 `org-agenda-filtered-by-top-category'.
1159 (org-agenda-filter-by-top-headline): Rename from
1160 `org-agenda-filter-by-top-category'. Fix docstring.
1161 (org-agenda-filter-top-headline-apply): Rename from
1162 `org-agenda-filter-top-category-apply'. Fix docstring.
1163 (org-agenda-mode-map): Update binding.
1164 (org-agenda-get-todos): Set `todo-state' earlier so that we can
1165 skip false-positives in time.
1167 * org.el (org-get-todo-state): Add a docstring.
1168 (org-ctrl-o): New command to insert a new row in tables
1169 (like `M-S-<down>' does) and open a line elsewhere.
1170 (org-mode-map): Bind the new command to `C-o'.
1171 (org-set-regexps-and-options): Process tags from an external setup
1174 * org-agenda.el (org-agenda-dim-blocked-tasks): Enhance docstring.
1175 (org-agenda-finalize-entries): Conditionally apply limits so
1176 that we don't manipulate big lists uselessly.
1177 (org-agenda-limit-entries): Limit exclusively. E.g., when
1178 limiting to a maximum of "2 tags", don't limit among tagged
1179 entries only, but limit among all entries.
1180 (org-agenda-limit-interactively): New command.
1181 (org-agenda-mode-map): Bind the new command to "~".
1182 (org-agenda-redo): Small fix: don't use `eval'.
1184 * org.el (org-ctrl-c-ctrl-c): Fix bug wrt updating checkboxes: the
1185 list beginning should be stored using a marker so that updating
1186 [%0] to [%50] will not throw an error.
1187 (org-babel-load-file): Move `org-babel-load-file' from
1188 ob-tangle.el to here so that it is correctly autoloaded by Emacs
1189 before Org is required.
1191 * org-mac-message.el: Delete.
1193 * org.el (org-modules): org-mac-message.el is not a core package
1196 * org-table.el (orgtbl-to-generic): Fix bug when exporting the
1197 cells of radio tables with 'hline.
1199 * org.el (org-speed-commands-default): Use ?s for
1200 `org-narrow-to-subtree'.
1202 * org-agenda.el (org-agenda-start-on-weekday): Fix typo.
1203 (org-agenda-start-day): Enhance docstring.
1205 * org-src.el (org-src-native-tab-command-maybe): Check that we are
1206 in a source code block.
1208 * org-mobile.el: Remove useless defvar.
1210 * org.el (org-indent-line): A line just below a line with a list
1211 item is now indented depending on the indentation of this list
1214 * org.el (org-options-keywords): Add #+TARGET.
1216 * org-clock.el (org-resolve-clocks-if-idle): Only try to resolve
1217 last clock if the clock buffer still exists.
1218 (org-clock-out, org-clock-cancel): Set markers to nil.
1220 * ox-org.el (org-org-publish-to-org):
1221 * ox-html.el (org-html-publish-to-html): Use the custom extension.
1223 * org.el (org-cycle-internal-local): Fix invalid search bound when
1224 `org-cycle-include-plain-lists' is set to 'integrate.
1226 * org.el (org-sparse-tree-default-date-type): Add an option for
1228 (org-sparse-tree): Allow to check against closed time-stamps.
1229 (org-re-timestamp): Handle closed time-stamps.
1230 (org-closed-in-range): Delete.
1232 * org-capture.el (org-capture-import-remember-templates): Take
1233 care of adding :jump-to-captured option if needed.
1235 * org.el (org-toggle-pretty-entities): Enhance messages.
1236 (org-raise-scripts): Handle scripts like "a_b^c".
1238 * org-capture.el (org-capture-templates): Document new option
1239 :jump-to-captured in the docstring. Offer the complete list of
1240 options when customizing.
1241 (org-capture-finalize): Handle :jump-to-captured.
1243 * org.el (org-agenda-prepare-buffers): Fix bugs: don't let-bind
1244 `org-tag-alist' to nil and don't append duplicate tags to
1245 `org-tag-alist-for-agenda'.
1246 (org-store-link): Storing multiple links in the active region now
1247 requires a triple prefix argument.
1248 (org-store-link, org-link-search): Fix handling of links to #+NAME
1249 and #+TARGET keywords.
1251 * org-compat.el (org-ignore-region): Tiny docstring fix.
1253 * org-capture.el (org-capture): Don't store multiple links over
1254 lines in the active region.
1256 * ox-odt.el (org-odt-special-block): Don't wrap annotations into
1257 <text:p>...</text:p> at all.
1258 (org-odt--fix-annotations): New function.
1259 (org-odt--export-wrap): Use the new function to fix annotations
1260 insertion in content.xml.
1262 * org.el (org-mode-flyspell-verify): Require 'org-element so that
1263 `org-element-affiliated-keywords' is defined.
1265 * ox-odt.el (org-odt-special-block): Don't insert annotations
1266 using style "Text_20_body".
1268 * org.el (org-toggle-tags-groups): Correctly highlight group tags.
1269 (org-tags-expand): Expand tags as words, with characters ?@
1270 and ?_ being considered words constituents.
1271 (org-set-regexps-and-options): Don't read setup files from
1273 (org-file-contents): When no-error is non-nil, throw a less
1276 * org-agenda.el (org-agenda-scheduled-leaders)
1277 (org-agenda-deadline-leaders): Re-align leaders to the left,
1278 back to a 11 characters width.
1280 * org.el (org-refile-cache-check-set): More informative message.
1282 * org-agenda.el (org-tags-view): Set the matcher after preparing
1283 the agenda, as `org-tag-groups-alist-for-agenda' might be needed.
1284 (org-agenda-filter-make-matcher): New parameter `filter' and
1285 `type'. Handle group tags.
1286 (org-agenda-filter-expand-tags): New function.
1287 (org-agenda-filter-apply): Handle group tags.
1289 * org.el (org-blank-before-new-entry): Tiny docstring fix.
1290 (org-tag-alist-for-agenda): Add docstring.
1291 (org-tag-groups-alist-for-agenda): New global variable.
1292 (org-tag-groups-alist): New buffer-local variable.
1293 (org-tag-alist, org-tag-persistent-alist): Handle :grouptags.
1294 (org-group-tags): New option.
1295 (org-toggle-group-tags): New command.
1296 (org-mode-map): Bind `org-toggle-group-tags' to `C-c C-x q'.
1297 (org-set-regexps-and-options-for-tags): New function, factored
1298 out from `org-set-regexps-and-options'.
1299 (org-set-regexps-and-options): Don't handle tags, they are now
1300 handled separately by `org-set-regexps-and-options-for-tags'.
1301 (org-assign-fast-keys): Handle :grouptags.
1302 (org-mode): Use `org-set-regexps-and-options-for-tags' on top
1303 of `org-set-regexps-and-options'.
1304 (org-fontify-meta-lines-and-blocks-1): Fontify group tags.
1305 (org-make-tags-matcher): Expand group tags in the matcher.
1306 (org-tags-expand): New function.
1307 (org-tags-completion-function): Tiny code clean up.
1308 (org-set-current-tags-overlay): Add a docstring.
1309 (org-fast-tag-selection): Highlight group tags.
1310 (org-agenda-prepare-buffers): Set `org-tag-alist-for-agenda'
1311 and `org-tag-groups-alist-for-agenda'. Don't uniquify
1312 `org-tag-alist-for-agenda' as we may need the grouping
1313 information for filtering in the agenda buffer.
1314 (org-uniquify-alist): New function.
1316 * org-pcomplete.el (pcomplete/org-mode/file-option/tags): Handle
1319 * org-faces.el (mode-line): New face for group tags.
1321 * ob-core.el (org-babel-hash-show-time): Tiny docstring
1324 * org-element.el (org-element-paragraph-separate): Use new name
1325 `org-list-allow-alphabetical'.
1327 * org-list.el (org-list-allow-alphabetical): Rename from
1328 `org-alphabetical-lists'.
1329 (org-list-empty-line-terminates-plain-lists): Rename from
1330 `org-empty-line-terminates-plain-lists'.
1331 (org-checkbox-hierarchical-statistics): Rename from
1332 `org-hierarchical-checkbox-statistics'.
1334 * org.el (org-image-actual-width): Update docstring.
1335 (org-display-inline-images): Use the #+attr_html: :width syntax.
1336 (org-modules): Remove deleted libraries, add new ones.
1338 * ox-html.el (org-html-indent): Default to nil, as non-nil can
1339 break indentation of source code blocks.
1340 (org-html-link): Don't insert nil if there is no attributes.
1341 (org-html-link--inline-image): Use the correct syntax for image
1342 attributes. Allow :width :height and :alt as predefined
1343 attributes for inline images.
1344 (org-html-link, org-html-table): Use the standard syntax---
1345 e.g. "#+attr_html: :options ..."--- to get attributes.
1347 * ox.el (org-export-table-cell-alignment): Treat an empty cell as
1348 a number if it follows a number.
1350 * ox.el (org-export-as): Allow user functions in
1351 `org-export-before-parsing-hook' to modify the point.
1353 * org.el (org-entry-add-to-multivalued-property): Add the new
1354 value by appending it at the end of the line.
1356 * org-table.el (orgtbl-to-generic): New parameter `backend' to
1357 export cells content using a specific backend.
1358 (orgtbl-to-latex, orgtbl-to-texinfo): Export cells to LaTeX
1359 and Texinfo before sending the table.
1361 * ox.el (org-export-define-backend)
1362 (org-export-define-derived-backend): Make defuns and update
1365 * ox-texinfo.el (texinfo):
1370 * ox-latex.el (latex):
1371 * ox-icalendar.el (icalendar):
1372 * ox-html.el (html):
1373 * ox-beamer.el (beamer):
1374 * ox-ascii.el (ascii): Use `org-export-define-backend' and
1375 `org-export-define-derived-backend' as defuns, not macros.
1377 * org.el (org-set-regexps-and-options): Use
1378 `org-table-set-constants'.
1380 * org-table.el (org-table-set-constants): New function.
1381 (orgtbl-ctrl-c-ctrl-c): Use it.
1384 (pcomplete/org-mode/block-option/clocktable): Add parameters.
1386 * org.el (org-options-keywords): Remove "INFOJS_OPT": it is added
1387 through ox-html.el now.
1389 * org-agenda.el (org-agenda-redo): Set filters after agenda has
1392 * org.el (org-store-link): When there is an active region, store
1393 each line as a separate link.
1394 (org-insert-all-links): Use a default description when links
1395 do not have one already.
1397 * org-agenda.el (org-agenda-redo): Fix code typo.
1399 * org.el (org-link-display-format): Fix docstring.
1401 * ox-publish.el (org-publish-org-to)
1402 (org-publish-org-sitemap, org-publish-find-title)
1403 (org-publish-find-date)
1404 (org-publish-cache-file-needs-publishing): Set
1405 `org-inhibit-startup' to t when visiting files for
1408 * ox-org.el (org-org-publish-to-org): Kill buffers not visited at
1411 * org.el (org-set-font-lock-defaults): Set font-lock keywords
1412 correctly for plain links.
1414 * ox-texinfo.el (org-texinfo-logfiles-extensions)
1415 (org-texinfo-remove-logfiles): New options.
1416 (org-texinfo-compile): Use the new options to remove files
1417 after compiling a Texinfo file.
1419 * ox-texinfo.el (org-texinfo-coding-system): New option.
1420 (org-texinfo-template): Add @documentlanguage and
1422 (org-texinfo-headline): Add a space before tags.
1423 (org-texinfo-export-to-texinfo, org-texinfo-export-to-info):
1424 Use `org-texinfo-coding-system' as the coding system for
1426 (org-texinfo-publish-to-texinfo): New function.
1428 * ox-texinfo.el (org-texinfo-filename)
1429 (org-texinfo-info-process, org-texinfo-max-toc-depth)
1430 (org-texinfo--sanitize-menu): Docstrings tiny fixes.
1432 * org-agenda.el (org-agenda-dim-blocked-tasks): Only throw a
1433 message when called interactively. Fix docstring position in the
1436 * ox-html.el (org-html--build-meta-info): Fix setting of
1437 http-equiv="Content-Type".
1439 * org-agenda.el (org-agenda-mode-map): Use ?= for filtering by
1440 regexp and ?| for removing all filters.
1441 (org-agenda-filter-remove-all): New command.
1442 (org-agenda-filter-show-all-re): Rename from
1443 `org-agenda-filter-show-all-regexp'.
1444 (org-agenda-filter-by-regexp): Call
1445 `org-agenda-filter-show-all-re'.
1447 * org-list.el (org-insert-item): Don't ask for a definition term
1448 when insert an item in a description list.
1450 * org-agenda.el (org-agenda-Quit): Set `org-agenda-buffer' to nil.
1451 This prevents bugs when calling e.g., `org-diary' after quitting
1453 (org-agenda-entry-types): Move earlier in the file.
1454 (org-agenda-custom-commands-local-options, org-diary)
1455 (org-agenda-get-day-entries): Don't hardcode the default agenda
1456 entry types, use `org-agenda-entry-types'.
1457 (org-agenda-custom-commands): Fix default setting so that the
1458 customize interface does not complain about a mismatch.
1460 * org.el (org-export-backends): Add new backends.
1462 * ox-html.el (org-html-indent): New option.
1463 (org-html-use-unicode-chars): New option.
1464 (org-html-pretty-output): Delete.
1465 (org-html-final-function): Use the new options.
1467 * ox-html.el (org-html-link): Fix handling of abbreviated links
1468 which include a file: protocol.
1469 (org-html--build-postamble): Default to today's date.
1470 (org-html--build-meta-info): When #+DATE contains a time stamp,
1471 parse it as a RFC 822 time string, otherwise simply insert the
1474 * ox.el (org-export--copy-to-kill-ring-p): New function.
1475 (org-export-copy-to-kill-ring): Use 'if-interactive as the
1477 (org-export-to-buffer, org-export-to-file): Use
1478 `org-export--copy-to-kill-ring-p' and fix docstrings.
1480 * ox-odt.el (org-odt-export-as-odf): Use
1481 `org-export--copy-to-kill-ring-p'.
1483 * org.el (org-set-font-lock-defaults): Fontify macros.
1485 * org-faces.el (org-macro): New face.
1487 * org.el (org-clone-subtree-with-time-shift): Only prompt for a
1488 time shift when the entry at point has a time stamp and when the
1489 command is called with a universal prefix argument.
1490 (org-execute-file-search-functions): Docstring fix.
1492 * org-compat.el (org-defvaralias): Fix declare form.
1494 * org-clock.el (org-clocktable-defaults): Add :mstart parameter.
1495 (org-clock-special-range): New argument mstart.
1496 (org-dblock-write:clocktable, org-dblock-write:clocktable)
1497 (org-clocktable-write-default, org-clocktable-steps)
1498 (org-clock-get-table-data): Handle the :mstart parameter.
1500 * org.el (org-map-entries): Use `save-window-excursion'.
1502 * org-compat.el (org-defvaralias): New compatibility function.
1504 * org-list.el (org-cycle-include-plain-lists): Also add to the
1505 'org-cycle customization group.
1506 (org-list-allow-alphabetical)
1507 (org-checkbox-hierarchical-statistics)
1508 (org-list-empty-line-terminates-plain-lists)
1509 (org-list-description-max-indent): Rename and add aliases to old
1512 * org-element.el (org-element-context): Prevent an error when
1513 getting the context of a table rule.
1515 * org.el (org-deadline-time-hour-regexp)
1516 (org-scheduled-time-hour-regexp): New buffer local variables.
1517 (org-set-regexps-and-options): Set the new variables.
1519 * org-agenda.el (org-agenda-custom-commands-local-options): Add
1520 :deadline* and :scheduled* to the list of possible agenda entry
1522 (org-agenda): Implement a new agenda type agenda* with :scheduled*
1523 and :deadline* replacing :scheduled and :deadline respectively in
1524 agenda entry types. In such agenda, only scheduled and deadline
1525 items with a time specification [h]h:mm will be considered.
1526 (org-agenda-entry-types): Document the new agenda entry types
1527 :scheduled* and :deadline*.
1528 (org-agenda-list): New parameter `with-hour'. Use :scheduled* and
1530 (org-agenda-get-day-entries): Handle :scheduled* and :deadline*.
1531 (org-agenda-get-deadlines, org-agenda-get-scheduled): New
1532 parameter `with-hour'. Use `org-deadline-time-hour-regexp' or
1533 `org-scheduled-time-hour-regexp' as the search string if needed.
1534 (org-agenda-to-appt): Use :scheduled* and :deadline* by default,
1535 as other scheduled and deadline items don't have a time spec and
1536 cannot be turned into appointments. Trim bracket links and use
1537 only the description as the appointment text.
1538 (org-agenda-get-restriction-and-command): Add
1539 default description for the agenda* view.
1540 (org-agenda-run-series): Handle agenda* views.
1542 * org-faces.el (org-agenda-filter-tags)
1543 (org-agenda-diary, org-agenda-calendar-event)
1544 (org-agenda-calendar-sexp): Minor code clean up.
1545 (org-agenda-filter-category): Docstring fix.
1546 (org-agenda-filter-category): New face.
1548 * org-agenda.el (org-agenda-local-vars): Add
1549 `org-agenda-re-filter-overlays' and `org-agenda-regexp-filter'.
1550 (org-agenda-mode-map): Use "|" for
1551 `org-agenda-filtered-by-regexp'.
1552 (org-agenda-re-filter-overlays): New variable.
1553 (org-agenda-mark-filtered-text): Use
1554 `org-agenda-re-filter-overlays'.
1555 (org-agenda-finalize, org-agenda-redo): Allow regexp filtering.
1556 (org-agenda-filter-by-category): Set `org-agenda-category-filter'
1557 here instead of within `org-agenda-apply-filter'.
1558 (org-agenda-regexp-filter): New variable.
1559 (org-agenda-filter-by-regexp): New function to filter agenda
1561 (org-agenda-filter-make-matcher): Make matcher for regexp filters.
1562 (org-agenda-filter-apply): Don't set `org-agenda-tag-filter' and
1563 `org-agenda-category-filter'. Maybe apply regexp filter.
1564 (org-agenda-filter-hide-line): Add docstring. Hide
1565 regexp-filtered lines.
1566 (org-agenda-filter-show-all-tag, org-agenda-filter-show-all-cat):
1568 (org-agenda-filter-show-all-regexp): New function.
1569 (org-agenda-set-mode-name): Add regexp-filter information.
1570 (org-agenda-custom-commands-local-options): Add regexp filter.
1571 (org-agenda-regexp-filter-preset): New variable.
1572 (org-agenda-prepare): Use the new variable.
1574 * ox-odt.el (org-odt-code, org-odt-verbatim): Use
1575 `org-odt--encode-plain-text'.
1577 * ox-html.el (org-html-link): Minor code clean-up.
1579 * org.el (org-insert-heading): DTRT when in a narrowed region.
1581 * org-compat.el (org-buffer-narrowed-p): New compatibility
1584 * ox-html.el (org-html-format-inline-image): Fix missing string in
1587 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1588 New allowed value `repeated-after-deadline' which will prevent the
1589 display of scheduled items when repeated after the current
1591 (org-agenda-get-scheduled): Handle the new value.
1593 * org.el (org-time-string-to-absolute): Tiny docstring fix.
1595 * ox-html.el (org-html-style-default): New classes `footpara' and
1596 `footdef' for the footnotes paragraphs and definitions.
1597 (org-html-format-footnote-definition): Wrap the footnote
1598 defintions into their own div.
1599 (org-html-paragraph): Don't add extra <br/> after a paragraph in a
1601 (org-html-container-element, org-html-divs): Mention that
1602 org-info.js will not work when changing the defaults.
1604 * ox-md.el (md): Export underlined text as verbatim.
1606 * ox-html.el (org-html-style-default): New CSS .underline and
1607 #org-div-home-and-up.
1608 (org-html-text-markup-alist): Don't hardcode the style, use the
1609 new class .underline.
1610 (org-html-home/up-format): Don't hardcode the style, use
1611 #org-div-home-and-up.
1612 (org-html-center-block): Use the .center class.
1614 * ox-md.el (org-md-underline): New function.
1616 * org-agenda.el (org-sorting-choice): Fix default value.
1618 * ox-html.el (org-html-format-footnote-definition)
1619 (org-html-footnote-section): Don't wrap footnote definitions into
1621 (org-html-paragraph): Add HTML style and class parameter when the
1622 paragraph is in a footnote definition. Also allow to add an extra
1623 string after the paragraph. Further parameters can be added for
1624 paragraphs in other environments.
1625 (org-html-template): Always include the title as <h1
1626 class="title"></h1>, even when there is no title, as org-info.js
1629 * org-element.el (org-element-map): Fix tiny typo in docstring.
1631 * org-agenda.el (org-agenda-day-view): Fix parameter's name.
1633 * ox-html.el (org-html-format-inline-image): Don't add superfluous
1634 <p></p> when there is an empty caption.
1636 * org-agenda.el (org-agenda-refile): Enhance docstring. Allow to
1637 clear the refile cache with C-0 or C-u C-u C-u.
1639 * ox-md.el (org-md-export-as-markdown): Tiny docstring fix. Fix a
1640 library keyword in the comment section.
1642 * org.el (org-toggle-item): Convert all normal lines as items when
1643 there is a region, and only convert the first line when called
1644 with a universal prefix argument. This is consistent with the
1645 behavior of `org-toggle-heading'.
1646 (org-toggle-heading): When the region contains only normal lines,
1647 a universal prefix arg will only convert the first line. This is
1648 more consistent with `org-toggle-item'.
1649 (orgstruct-setup): Add `org-ctrl-c-minus' and `org-ctrl-c-star'.
1650 (customize-package-emacs-version-alist): Update
1651 `customize-package-emacs-version-alist'.
1653 * ox-texinfo.el (org-export-texinfo)
1654 (org-texinfo-filename, org-texinfo-classes)
1655 (org-texinfo-format-headline-function)
1656 (org-texinfo-node-description-column)
1657 (org-texinfo-active-timestamp-format)
1658 (org-texinfo-link-with-unknown-path-format)
1659 (org-texinfo-tables-verbatim)
1660 (org-texinfo-table-scientific-notation)
1661 (org-texinfo-text-markup-alist)
1662 (org-texinfo-format-drawer-function)
1663 (org-texinfo-format-inlinetask-function)
1664 (org-texinfo-info-process):
1665 * ox-odt.el (org-odt-format-drawer-function)
1666 (org-odt-format-headline-function)
1667 (org-odt-format-inlinetask-function):
1668 * ox-md.el (org-export-md, org-md-headline-style): Fix :version
1669 and :package-version keywords.
1671 * org.el (org-time-clocksum-use-effort-durations): Don't set to t
1672 by default as it will change many clocktables out there. Let the
1673 user decides whether she wants to turn this on.
1675 * org.el (org-agenda-inhibit-startup): Revert to nil as the default.
1677 * org-agenda.el (org-agenda-dim-blocked-tasks): Revert to t as the
1680 * ox-html.el (org-html-style-default): More cosmetic tweaks.
1681 (org-html-head-include-default-style): Minor docstring update.
1683 * ox.el (org-export-snippet-translation-alist)
1684 (org-export-coding-system, org-export-in-background)
1685 (org-export-async-init-file, org-export-invisible-backends)
1686 (org-export-dispatch-use-expert-ui):
1687 * ox-texinfo.el (org-texinfo-filename, org-texinfo-classes)
1688 (org-texinfo-format-headline-function)
1689 (org-texinfo-node-description-column)
1690 (org-texinfo-active-timestamp-format)
1691 (org-texinfo-link-with-unknown-path-format)
1692 (org-texinfo-tables-verbatim)
1693 (org-texinfo-table-scientific-notation)
1694 (org-texinfo-text-markup-alist)
1695 (org-texinfo-format-drawer-function)
1696 (org-texinfo-format-inlinetask-function)
1697 (org-texinfo-info-process):
1698 * ox-man.el (org-man-tables-centered)
1699 (org-man-table-scientific-notation)
1700 (org-man-source-highlight, org-man-source-highlight-langs)
1701 (org-man-pdf-process, org-man-logfiles-extensions):
1702 * ox-html.el (org-html-allow-name-attribute-in-anchors)
1703 (org-html-coding-system, org-html-divs):
1704 * ox-ascii.el (org-ascii-text-width)
1705 (org-ascii-headline-spacing, org-ascii-indented-line-width)
1706 (org-ascii-paragraph-spacing, org-ascii-charset)
1707 (org-ascii-underline, org-ascii-bullets)
1708 (org-ascii-links-to-notes)
1709 (org-ascii-table-keep-all-vertical-lines)
1710 (org-ascii-table-widen-columns)
1711 (org-ascii-table-use-ascii-art)
1712 (org-ascii-format-drawer-function)
1713 (org-ascii-format-inlinetask-function):
1714 * org.el (org-modules, org-export-backends)
1715 (org-highlight-latex-and-related, orgstruct-setup-hook):
1716 * org-attach.el (org-attach-git-annex-cutoff):
1717 * org-archive.el (org-archive-file-header-format):
1718 * org-agenda.el (org-agenda-todo-ignore-time-comparison-use-seconds):
1719 * ob-python.el (org-babel-python-hline-to)
1720 (org-babel-python-None-to):
1721 * ob-ditaa.el (org-ditaa-eps-jar-path):
1722 * ob-core.el (org-babel-results-keyword): Add :version and
1725 * ox-ascii.el: Use utf-8-emacs as the file coding system.
1727 * org-capture.el (org-capture-templates, org-capture-string)
1728 (org-capture-steal-local-variables)
1729 (org-capture-empty-lines-before)
1730 (org-capture-empty-lines-after)
1731 (org-capture-insert-template-here)
1732 (org-capture-import-remember-templates): Fix or add docstring.
1734 * ox-html.el (org-html-style-default): Cosmetic changes.
1735 (org-html-postamble, org-html-preamble)
1736 (org-html-preamble-format): Update docstring.
1738 * org-agenda.el (org-agenda-format-date-aligned)
1739 (org-agenda-time-of-day-to-ampm-maybe)
1740 (org-scheduled-past-days)
1741 (org-agenda-normalize-custom-commands)
1742 (org-agenda-run-series, org-store-agenda-views): Fix or add
1746 (org-latex-table-scientific-notation, org-latex-verse-block): Fix
1747 typos in docstrings.
1749 * ox-html.el (org-html-text-markup-alist)
1750 (org-html-pretty-output, org-html-link-org-files-as-html)
1751 (org-html-postamble, org-html-preamble)
1752 (org-html-format-inline-image, org-html-splice-attributes)
1753 (org-export-splice-style, org-html-htmlize-region-for-paste)
1754 (org-html-fix-class-name)
1755 (org-html-format-footnote-reference)
1756 (org-html-format-footnotes-section)
1757 (org-html-footnote-section, org-html--anchor)
1758 (org-html--todo, org-html--tags, org-html-format-headline)
1759 (org-html-toc, org-html-format-section, org-html-checkbox)
1760 (org-html-format-list-item, org-html-format-latex)
1761 (org-html-encode-plain-text)
1762 (org-html-table-first-row-data-cells)
1763 (org-html-table--table.el-table, org-html-final-function): Fix
1766 * org.el (org-insert-heading): If the current item has a checkbox,
1767 insert the new item with a checkbox.
1769 * org.el (org-insert-heading): Don't delete spaces in empty
1772 * ox-odt.el (org-odt-keyword): Fix typo.
1774 * ox-latex.el (org-latex-toc-command): Cosmetic docstring change.
1776 * ox-html.el (org-html-encode-plain-text): Fix typo in docstring.
1778 * org-faces.el (org-column): Update docstring.
1780 * org-colview.el: Update error message.
1782 * org.el (org-modules): Do not include org-mew.el, org-vm.el,
1783 org-w3m.el, org-wl.el as these files are now part of contrib/.
1788 * org-wl.el: Delete (moved to Org's contrib/ directory.)
1790 * org-capture.el (org-mks): Move from org-mks.el.
1792 * org-mks.el: Delete.
1794 * ox-html.el (html): Update HTML options names.
1796 * org.el (org-show-context): Don't try to fix ellipsis when
1797 showing a subtree in agenda.
1799 * ox-html.el (html): Reintroduce #+HTML_HEAD_EXTRA, previously
1800 known as HTML_STYLE_EXTRA.
1801 (org-html-head): Enhance docstring.
1802 (org-html-head-extra): Reintroduce. Was `org-html-style-extra'.
1803 (org-html--build-head): Rename from `org-html--build-head'. Add
1804 information from `org-html-head-extra'.
1805 (org-html-template): Use `org-html--build-head'.
1807 * ox-html.el (org-html-display-buffer-mode): Delete.
1808 (org-html-export-as-html): Use `set-auto-mode' instead of
1809 `org-html-display-buffer-mode'.
1811 * org-agenda.el (org-agenda-write): Overwrite file when called
1814 * org-mobile.el (org-mobile-edit): Workaround a
1815 `org-insert-heading-respect-content' bug which prevents correct
1816 insertion when point is invisible
1818 * org.el (org-previous-line-empty-p): New parameter to allow
1819 checking next line. Add a docstring.
1820 (org-insert-heading): Handle two universal prefix arguments as
1821 advertised in the docstring. Don't insert new lines when
1822 creating a heading after the first heading in the current
1824 (org-insert-heading-respect-content): New optional argument
1825 arg, passed to `org-insert-heading'.
1827 * org.el (org-mode): Remove syntax entries. Use
1828 `org-backward-element' and `org-forward-element' for
1829 `beginning-of-defun-function' and `end-of-defun-function': this
1830 allows using C-M-a and C-M-e before the first headline.
1832 * ox-html.el (html): Remove :html-htmlized-css-url :options-alist.
1834 * ox-org.el (org-org-htmlized-css-url): Rename from
1835 `org-html-htmlized-org-css-url' and moved here from ox-html.el.
1836 (org-org-publish-to-org): Handle :htmlized-source in
1837 publishing projects.
1839 * ox-html.el (org-html-style-default): Update docstring.
1840 (org-html-infojs-install-script, org-html--build-style): Update
1842 (org-html-head-include-scripts)
1843 (org-html-head-include-default-style, org-html-head):
1844 Respectively rename from `org-html-style-include-scripts',
1845 `org-html-style-include-default' and `org-html-style', now
1847 (org-html-style-extra): Delete.
1849 * org-clock.el (org-clock-out): Fix bug: if a closing note needs
1850 to be stored in the drawer where clocks are stored, let's
1851 temporarily remove `org-clock-remove-empty-clock-drawer' from
1852 `org-clock-out-hook'.
1854 * ob-tangle.el (org-babel-tangle): Remove unused attempt of
1855 prompting the user of the tangle file name since :tangle is always
1856 set. Don't prompt for a tangle file name when called with two
1857 universal prefix arg outside of a src block. Use
1858 `org-babel-tangle-single-block'.
1859 (org-babel-tangle-single-block): New function.
1860 (org-babel-tangle-collect-blocks): Use the new function.
1862 * org-table.el (org-table-convert-region, org-table-export)
1863 (org-table-align, org-table-beginning-of-field)
1864 (org-table-copy-down, org-table-check-inside-data-field)
1865 (org-table-insert-column, org-table-find-dataline)
1866 (org-table-delete-column, org-table-move-column)
1867 (org-table-insert-row, org-table-insert-hline)
1868 (org-table-kill-row, org-table-paste-rectangle)
1869 (org-table-wrap-region, org-table-sum, org-table-get-formula)
1870 (org-table-get-formula, org-table-get-stored-formulas)
1871 (org-table-fix-formulas, org-table-maybe-eval-formula)
1872 (org-table-rotate-recalc-marks, org-table-eval-formula)
1873 (org-table-get-range, org-table-get-descriptor-line)
1874 (org-table-find-row-type, org-table-recalculate)
1875 (org-table-iterate, org-table-iterate-buffer-tables)
1876 (org-table-formula-handle-first/last-rc)
1877 (org-table-edit-formulas, org-table-fedit-shift-reference)
1878 (org-rematch-and-replace, org-table-shift-refpart)
1879 (org-table-fedit-finish, org-table-fedit-lisp-indent)
1880 (org-table-show-reference, org-table-show-reference)
1881 (org-table-show-reference, org-table-show-reference)
1882 (org-table-force-dataline, orgtbl-error, orgtbl-export)
1883 (orgtbl-send-replace-tbl, org-table-to-lisp)
1884 (orgtbl-send-table, orgtbl-send-table, orgtbl-send-table)
1885 (orgtbl-toggle-comment, orgtbl-insert-radio-table)
1886 (orgtbl-to-unicode, org-table-get-remote-range)
1887 (org-table-get-remote-range, org-table-copy-dow)
1888 (org-table-check-inside-data-field, org-table-insert-colum)
1889 (org-table-find-dataline, org-table-delete-colum)
1890 (org-table-move-column, org-table-insert-ro)
1891 (org-table-insert-hline, org-table-kill-ro)
1892 (org-table-paste-rectangle, org-table-wrap-regio)
1893 (org-table-sum, org-table-get-formul)
1894 (org-table-get-stored-formulas, org-table-fix-formula)
1895 (org-table-maybe-eval-formul, org-table-rotate-recalc-marks)
1896 (org-table-eval-formul, org-table-get-range)
1897 (org-table-get-descriptor-lin, org-table-find-row-type)
1898 (org-table-recalculat, org-table-iterate)
1899 (org-table-iterate-buffer-table)
1900 (org-table-formula-handle-first/last-r)
1901 (org-table-edit-formulas, org-table-fedit-shift-referenc)
1902 (org-rematch-and-replace, org-table-shift-refpar)
1903 (org-table-fedit-finish, org-table-fedit-lisp-inden)
1904 (org-table-show-reference, org-table-force-datalin)
1905 (orgtbl-error, orgtbl-export, orgtbl-send-replace-tb)
1906 (org-table-to-lisp, orgtbl-send-tabl, orgtbl-toggle-comment)
1907 (orgtbl-insert-radio-tabl, orgtbl-to-unicode)
1908 (org-table-get-remote-range): Use `user-error' instead of
1909 `error' for user errors.
1911 * ob-core.el (org-babel-load-in-session): Throw a useful error
1912 when there is no code block at point.
1914 * ob-tangle.el (org-babel-tangle): Rename the ONLY-THIS-BLOCK
1915 parameter to ARG. Allow two universal prefix arguments to tangle
1916 by the target file of the block at point.
1917 (org-babel-tangle-collect-blocks): New parameter TANGLE-FILE
1918 to restrict the collection of blocks to those who will be
1919 tangled in TARGET-FILE.
1921 * org-src.el (org-edit-src-auto-save-idle-delay): Use a delay of 0
1922 by default (i.e., deactivate auto-saving.)
1923 (org-edit-src-code): Set `buffer-auto-save-file-name' for
1924 auto-saving with `auto-save-mode'.
1926 * org.el (org-deadline, org-schedule): When called with two
1927 universal prefix arguments, set the warning time or the delay
1928 relatively to the current timestamp, not to today's date.
1930 * org-agenda.el (org-agenda-filter-apply): Deactive
1931 `org-agenda-entry-text-mode' when filtering.
1932 (org-agenda-entry-text-mode): Don't allow in filtered views.
1933 Don't show the maximum number of lines when turning off.
1935 * ox-html.el (org-html-headline): Add comment.
1937 * org.el (org-mode): Set `paragraph-start'.
1939 * org-agenda.el (org-agenda-entry-text-leaders): New option.
1940 (org-agenda-entry-text-show-here): Use it.
1942 * ox-html.el (org-html-link--inline-image): Always retrieve
1943 attributes for inline images.
1944 (org-html-link): Fix trailing whitespace at the end of the opening
1946 (org-html-headline): For headlines whose first element is a
1947 headline and not a section, pretend there is an empty section (as
1948 "") for the correct HTML div to be inserted.
1950 * org-agenda.el (org-agenda-collect-markers)
1951 (org-create-marker-find-array): Move to ox-icalendar.el.
1952 (org-agenda-marker-table, org-check-agenda-marker-table):
1955 * ox-icalendar.el (org-icalendar-create-uid): New parameter
1956 H-MARKERS to only update some headlines, not the whole file.
1957 (org-icalendar--combine-files): When exporting to an .ics file
1958 only add UID to the headlines shown in the agenda buffer.
1959 (org-agenda-collect-markers, org-create-marker-find-array):
1962 * org-agenda.el (org-agenda-write): Ask before overwriting an
1965 * org-pcomplete.el (pcomplete/org-mode/file-option/infojs_opt):
1966 Use `org-html-infojs-opts-table'.
1968 * ox-html.el (org-html-infojs-opts-table):
1969 (org-html-use-infojs, org-html-infojs-options)
1970 (org-html-infojs-template): Move from ox-jsinfo.el. Rename using
1971 the org-html- prefix.
1972 (org-html-infojs-install-script): Move from ox-jsinfo.el.
1974 * ox-jsinfo.el: Delete.
1976 * ox-html.el (org-html-section): Fix indentation.
1977 (org-html-inner-template): Add the document title here, within the
1978 "content" class, as the org-info.js needs it.
1979 (org-html-template): Don't include the document's title here.
1980 (org-html-format-inlinetask-function): Remove wrong example.
1982 * ob-tangle.el (org-babel-tangle-collect-blocks): Don't collect
1983 blocks in commented out headings.
1985 * ox-latex.el (org-latex-logfiles-extensions)
1986 (org-latex-remove-logfiles): Improve docstrings.
1988 * org-capture.el (org-capture): Cosmetic fix.
1990 * org-protocol.el (org-protocol-create-for-org)
1991 (org-protocol-create): Small docstrings enhancements.
1993 * org-protocol.el (org-protocol-capture): Small docstring fix.
1995 * org.el (org-speed-command-activate): Only forbid in src code
1999 (org-indent-add-properties): Bugfix: prevent negative value for
2000 `added-ind-per-lvl'.
2002 * org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
2003 `isearch-mode-end-hook' so that any isearch fixes the problem with
2004 ellipsis on the first line.
2005 (org-fix-ellipsis-at-bol): New defsubst.
2006 (org-show-context, org-isearch-end): Use it.
2008 * org-agenda.el (org-agenda-deadline-leaders): New formatting
2009 string for past deadlines.
2010 (org-agenda-scheduled-leaders): Small change.
2011 (org-agenda-get-deadlines): Use the new formatting string.
2013 * ob-lob.el (org-babel-lob-execute): Rename cache? to cache-p.
2015 * org.el (org-speed-command-activate): Don't activate speed
2016 commands within blocks.
2018 * org.el (org-show-context): Remove useless catch. Make sure the
2019 top of the window is a visible headline.
2020 (org-activate-plain-links): Remove unused catch.
2022 * org-macs.el (org-get-alist-option): Return nil, not (nil), so
2023 that `org-show-context' DTRT.
2025 * org.el (org-imenu-get-tree): Fix bug when matching against empty
2027 (org-overview): Stay on current line.
2028 (org-map-entries): Fix docstring.
2030 * org-macs.el (org-unmodified): Update comment. Don't define
2031 `with-silent-modifications' for emacsen that don't have it.
2033 * org-compat.el (org-with-silent-modifications): New
2034 compatibility macro.
2036 * org.el (org-refresh-category-properties)
2037 (org-refresh-properties, org-entry-blocked-p)
2038 (org-agenda-prepare-buffers):
2040 * org-indent.el (org-indent-remove-properties)
2041 (org-indent-add-properties):
2043 * org-colview.el (org-columns-display-here)
2044 (org-columns-remove-overlays, org-columns-quit)
2045 (org-columns-edit-value, org-columns-compute-all)
2046 (org-columns-compute, org-agenda-colview-compute):
2048 * org-clock.el (org-clock-sum): Use the compatibility macro
2049 `org-with-silent-modifications' instead of
2050 `with-silent-modifications'.
2052 * org.el (org-sort-remove-invisible): Remove emphasis markers.
2054 * org.el (org-sort-remove-invisible): Use defsust. Do not only
2055 check against invisible links, truly returns the visible part of
2057 (org-sort-remove-invisible): Add a docstring.
2058 (org-sort-entries): Remove hidden links when comparing entries.
2060 * org-list.el (org-sort-list): Remove hidden links when comparing
2063 * ox-html.el (org-html-headline): Fix typo.
2064 (org-html-format-headline--wrap): Cosmetic change.
2066 * org.el (org-at-clock-log-p): Delete.
2068 * org-clock.el (org-at-clock-log-p): Move here.
2070 * ox-html.el (org-html-format-headline-function): Fix docstring.
2072 * ob-sql.el (org-babel-execute:sql): Add header row delimiter for
2073 both mysql and postgresql.
2075 * org.el (org-agenda-prepare-buffers): Don't use
2076 `with-silent-modifications' too early.
2078 * org-macs.el: Add a comment on when to use `org-unmodified' and
2079 when to use `with-silent-modifications'.
2081 * org-colview.el (org-columns-display-here)
2082 (org-columns-remove-overlays, org-columns-quit)
2083 (org-columns-edit-value, org-columns-compute-all)
2084 (org-columns-compute, org-agenda-colview-compute):
2085 * org-clock.el (org-clock-sum):
2086 * org.el (org-refresh-category-properties)
2087 (org-refresh-properties, org-entry-blocked-p)
2088 (org-agenda-prepare-buffers): Use `with-silent-modifications'
2089 instead of `org-unmodified'.
2091 * ox-publish.el (org-publish-sitemap-date-format): Small docstring
2094 * ox-latex.el (org-latex-format-headline-default-function): New
2096 (org-latex-format-headline-function): Use the new option as
2098 (org-latex-toc-command): Don't add vertical space after the table
2101 * org.el (org-entry-blocked-p): Use `org-unmodified' instead of
2102 `org-with-buffer-modified-unmodified'.
2103 (org-agenda-prepare-buffers): Fix indentation.
2105 * org-macs.el (org-unmodified): Rename from
2106 `org-with-buffer-modified-unmodified'.
2107 (org-with-buffer-modified-unmodified): Delete.
2109 * ob-python.el (org-babel-python-command): Use a defcustom.
2110 (org-babel-python-mode): Use a defcustom and default to
2111 'python-mode when featured.
2113 * org-agenda.el (org-agenda-start-day): Refer to `org-read-date'
2116 * ox-org.el (org-org-publish-to-org): Autoload.
2119 * org-bibtex.el: Remove remember support.
2121 * org-clock.el (org-clock-heading-for-remember): Delete.
2122 (org-clock-in): Do not set the heading for remember.
2124 * org.el (org-move-subtree-down, org-forward-element)
2125 (org-backward-element):
2127 * org-table.el (org-table-previous-field)
2128 (org-table-move-column, org-table-move-row):
2130 * org-list.el (org-move-item-down, org-move-item-up)
2131 (org-cycle-item-indentation): Use `user-error' when moving or
2132 modifying the element at point is not possible.
2134 * ox-html.el (org-html-table-header-tags)
2135 (org-html-table-data-tags, org-html-table-row-tags)
2136 (org-html-table-align-individual-fields): Use the
2137 org-export-html group.
2138 (org-html-inline-src-block, org-html-link): Fix error messages.
2139 (org-html-begin-plain-list): Fix formatting, better FIXME
2142 * org.el (org-fill-paragraph): Fill using
2143 `org-mode-transpose-word-syntax-table'.
2145 * ox-org.el (org-org-publish-to-org): New defun.
2147 * ox-html.el (org-export-htmlize): Delete group.
2148 (org-html-htmlize-output-type)
2149 (org-html-htmlized-org-css-url)
2150 (org-html-htmlize-region-for-paste): Rename from
2151 org-export-htmlize-*.
2152 (org-html-htmlize-generate-css, org-html-fontify-code): Use
2155 * org-compat.el (org-file-equal-p): New compatibility function.
2157 * ox.el (org-export-output-file-name): Use the new function.
2159 * org-clock.el (org-clock-set-current)
2160 (org-clock-delete-current): Delete.
2161 (org-clock-in, org-clock-out): Set and delete
2162 `org-clock-current-task'. Minor code clean-up.
2164 * org-clock.el (org-clock-in, org-clock-in-last): Tell
2165 `org-current-time' to always return a past time.
2167 * org.el (org-current-time): New argument `past' to force
2168 returning a past time when rounding.
2170 * org-agenda.el (org-agenda-unmark-clocking-task): New function.
2171 (org-agenda-mark-clocking-task): Use it.
2172 (org-agenda-clock-in): Let the cursor where it is.
2173 (org-agenda-clock-out): Ditto. Also remove the
2174 `org-agenda-clocking' overlay.
2176 * org-agenda.el (org-agenda-set-restriction-lock): Fix restriction
2177 so that it ends at the beginning of the next headline at the same
2180 * org.el (org-set-effort, org-property-next-allowed-value):
2181 When needed, update the current clock effort time.
2182 (org-next-link): New parameter `search-backward'. Fix bug when at
2183 a link with no 'org-link face, e.g., in a DONE headline. Throw a
2184 message instead of an error.
2185 (org-previous-link): Use `org-next-link'.
2187 * org-agenda.el (org-agenda-format-item): Only set the breadcrumbs
2188 when `org-prefix-has-breadcrumbs' is non-nil.
2190 * org.el (org-mode): Don't make characters from
2191 `org-emphasis-alist' word constituents.
2192 (org-mode-transpose-word-syntax-table): Rename from
2194 (org-transpose-words): Use
2195 `org-mode-transpose-word-syntax-table'.
2197 * ox.el (org-export--dispatch-ui)
2198 (org-export--dispatch-action): Use integers for control chars.
2200 * org-agenda.el (org-agenda-set-restriction-lock): Put the
2201 overlay until the end of the subtree, not the end of the
2204 * org.el (org-entry-delete, org-delete-property): New optional
2205 arg delete-empty-drawer, a string, to delete any empty drawer
2207 (org-toggle-ordered-property): Delete the drawer "PROPERTIES"
2210 * org-src.el (org-src-mode-map, org-edit-src-code)
2211 (org-edit-fixed-width-region, org-edit-src-save): Use C-c C-k
2212 for `org-edit-src-abort'.
2214 * org.el (org-mode): Use org-unmodified during startup
2215 initialization for functions that may be inhibited.
2217 * org-table.el (org-table-align): Only set the window start
2218 when table alignment is performed in the selected window.
2220 * org-src.el (org-edit-src-auto-save-idle-delay): New option.
2221 (org-src-ask-before-returning-to-edit-buffer): Make a defcustom.
2222 (org-edit-src-code-timer): New timer variable.
2223 (org-edit-src-code): Run the timer.
2224 (org-edit-fixed-width-region): Enhance message.
2225 (org-edit-src-exit): Cancel the timer.
2226 (org-edit-src-save): Prevent saving when editing fixed-width
2227 buffer, exiting will save already.
2228 (org-edit-src-exit): Inconditionally kill the src/example
2231 * org-pcomplete.el (pcomplete/org-mode/file-option): Require
2232 'org-element. This fixes a bug about unbound variable
2233 `org-element-affiliated-keywords' when trying to complete a
2234 keyword before 'org-element was required.
2236 * org-list.el (org-list-bullet-string): Replace match when there
2237 is a match, otherwise just return the bullet.
2239 * org-src.el (org-src-mode-map): New binding C-c k to abort
2241 (org-edit-src-code): Mention the keybinding to abort editing
2242 and go back to the correct position.
2243 (org-edit-src-abort): New command to abort editing.
2245 * ox-html.el (org-html--build-meta-info): Add a newline before
2246 the title meta information.
2248 * org.el (org-return-follows-link): Mention that this does not
2249 affect the behavior of RET in tables.
2251 * ox-html.el (org-html--build-mathjax-config): Only include
2252 MathJax configuration if the resulting HTML contains LaTeX
2255 * org.el (org-syntax-table, org-transpose-words): Delete.
2256 (org-mode): Syntactically Define {} and <> as parentheses.
2257 (org-drag-line-forward, org-drag-line-backward): New
2259 (org-shiftmetaup, org-shiftmetadown): Fall back on the new
2260 functions instead of throwing an error.
2261 (org-make-org-heading-search-string): Don't use statistic or [x/y]
2262 cookies when creating a link.
2264 * ox-html.el (org-html-table): Append #+attr_html attributes.
2266 * org.el (org-emphasis-alist, org-protecting-blocks):
2267 * org-src.el (org-edit-src-find-region-and-lang):
2268 * org-list.el (org-list-forbidden-blocks):
2269 * org-footnote.el (org-footnote-forbidden-blocks): Remove
2270 references to the deleted DocBook exporter.
2272 * org.el (org-end-of-line): Don't throw an error outside elements.
2274 * ox-html.el (org-html-link): Don't throw an error if the value
2275 of the :ID: property has not been generated by uuidgen.
2277 * org-pcomplete.el (pcomplete/org-mode/file-option/x):
2278 Resurrect. Use `org-default-options' to initialize completion
2279 fonctions for the most important keywords.
2281 * org-macs.el (org-default-options): Rename and adapt from
2282 `org-get-current-options'.
2284 * org.el (org-options-keywords): Add keywords.
2286 * ox-odt.el (org-odt-convert-read-params): Fix typo in prompt.
2288 * ox-latex.el (org-latex-horizontal-rule): Fix typo in docstring.
2290 * ox-html.el (org-html-display-buffer-mode): New option.
2291 (org-html-export-as-html): Use it.
2293 * ob-core.el (org-babel-insert-result): Fix bug when inserting
2294 an empty string as the result.
2296 * org.el (org-timestamp-change): New optional parameter
2297 `suppress-tmp-delay' to suppress temporary delay like "--2d".
2298 (org-auto-repeat-maybe): Suppress temporary delays.
2300 * org-agenda.el (org-agenda-get-scheduled): When the delay is
2301 of the form "--2d" and there is a repeater, ignore the delay
2302 for further repeated occurrences.
2304 * org-agenda.el (org-agenda-get-deadlines)
2305 (org-agenda-get-scheduled): Minor refactoring.
2307 * org.el (org-time-string-to-absolute): Tiny docstring enhancement.
2308 (org-edit-special): Don't allow to edit when buffer is read only.
2310 * ox-html.el (org-html-format-latex): Don't set `cache-relpath'
2311 and `cache-dir' when `processing-type' is 'mathjax.
2312 (org-html-format-latex): Fix conversion in non-file buffers.
2314 * org.el (org-speed-commands-default): Bind `B' and `F' to
2315 `org-previous-block' and `org-next-block'.
2316 (org-read-date-minibuffer-local-map): Use "!" instead of "?" to
2317 see today's diary as "?" is already bounded by Calendar.
2318 (org-read-date-minibuffer-local-map): Use "." to go to today's
2321 * ob-core.el (org-babel-next-src-block)
2322 (org-babel-previous-src-block): Rewrite using
2325 * org.el (org-next-block, org-previous-block): New navigation
2327 (org-mode-map): Bind the new commands to C-c C-F and C-c C-B
2330 * org-agenda.el (org-agenda-write): Don't copy headlines' subtrees
2331 when writing to an .org file.
2333 * org.el (org-copy-subtree): New parameter `nosubtrees'.
2335 * org-agenda.el (org-agenda-write): Allow writing to an .org file.
2337 * org.el (org-paste-subtree): Fix typo in docstring.
2339 * org-agenda.el (org-agenda-get-todos)
2340 (org-agenda-get-timestamps): Use nil as `ts-date' for diary
2342 (org-agenda-get-todos): Skip diary sexps when trying to sort by
2344 (org-agenda-max-entries, org-agenda-max-todos)
2345 (org-agenda-max-tags, org-agenda-max-effort): New options.
2346 (org-timeline, org-agenda-list, org-search-view)
2347 (org-todo-list, org-tags-view): Tell `org-agenda-finalize-entries'
2348 what agenda type we are currently finalizing for.
2349 (org-agenda-finalize-entries): Limit the number of entries
2350 depending on the new options.
2351 (org-agenda-limit-entries): New function.
2353 * org.el (org-deadline): Allow a double universal prefix argument
2354 to insert/update a warning cookie.
2355 (org-deadline): Allow a double universal prefix argument to
2356 insert/update a delay cookie.
2358 * org-agenda.el (org-agenda-skip-scheduled-delay-if-deadline):
2359 New option. The structure of the possible values is copied
2360 from `org-agenda-skip-deadline-prewarning-if-scheduled'.
2361 (org-agenda-get-scheduled): Honor the two new option,
2362 `org-scheduled-delay-days' and
2363 `org-agenda-skip-deadline-prewarning-if-scheduled'. I.e. if a
2364 scheduled entry has a delay cookie like "-2d" (similar to the
2365 prewarning cookie for deadline), don't show the entry until
2368 * org.el (org-deadline-warning-days): Small docstring fix.
2369 (org-scheduled-delay-days): New option (see
2370 `org-deadline-warning-days'.)
2371 (org-get-wdays): Use the new option.
2373 * org-agenda.el (org-agenda-sorting-strategy): Document the
2374 new sorting strategies.
2375 (org-agenda-get-todos, org-agenda-get-timestamps)
2376 (org-agenda-get-deadlines, org-agenda-get-scheduled): Add a
2377 `ts-date' text property with scheduled, deadline or timetamp
2379 (org-cmp-ts): New function to compare timestamps.
2380 (org-em): Add a docstring.
2381 (org-entries-lessp): Use `org-cmp-ts' to compare timestamps.
2382 Implement the following sorting strategies: timestamp-up/down,
2383 scheduled-up/down, deadline-up/down, ts-up/down (for active
2384 timestamps) and tsia-up/down (for inactive timestamps.)
2386 * ob-lilypond.el (ly-process-basic): Bugfix, don't use `pcase'.
2388 * org.el (org-contextualize-validate-key): Check against two new
2389 context predicates [not-]in-buffer.
2391 * org-agenda.el (org-agenda-custom-commands-contexts):
2392 Document the new [not-]in-buffer context predicates.
2394 * ob-core.el (org-ts-regexp): Remove duplicate defconst'ing.
2395 (org-babel-result-regexp): Don't use `org-ts-regexp', use a regexp
2398 * ob-lilypond.el (ly-process-basic): Don't use `ly-gen-png' and
2399 friends, rely on the extension of the output file.
2401 * org-archive.el (org-archive-file-header-format): New option.
2402 (org-archive-subtree): Use it.
2404 * ob-lilypond.el (ly-process-basic): Rely on ly-gen-png/pdf/eps to
2405 set the output type.
2407 * org.el (org-read-date-minibuffer-local-map): New variable.
2408 (org-read-date): Use it.
2409 (org-read-date-minibuffer-setup-hook): Mark as obsolete.
2410 (org-read-date): Bind `!' to `diary-view-entries' in order to
2411 check diary entries while setting an Org date.
2413 * org-agenda.el (org-diary): Only keep the descriptions of the
2414 links since Org links are not active in the diary buffer.
2416 * org-faces.el (org-priority): New face.
2418 * org.el (org-font-lock-add-priority-faces): Use the new face.
2420 * org-agenda.el (org-agenda-fontify-priorities): Use the
2421 org-priority face and add specific agenda face on top of it.
2423 * org-agenda.el (org-agenda-show-clocking-issues)
2424 (org-agenda-format-item): Let-bind
2425 `org-time-clocksum-use-effort-durations' to nil.
2427 * org.el (org-ctrl-c-ctrl-c): Only throw a message when using two
2428 universal prefix arguments on a list where all items are already
2429 in a transitory state. Refine the error when the checkbox cannot
2432 * org.el ("org-loaddefs.el"): Load org-loaddefs.el before
2433 requiring any org library. Also use `load', not
2434 `org-load-noerror-mustsuffix'.
2435 (org-effort-durations): Move up to fix a compiler warning.
2436 (org-edit-special): Fix typo in docstring.
2437 (org-time-clocksum-format): Add a version tag and add to the
2439 (org-time-clocksum-use-fractional): Ditto.
2440 (org-time-clocksum-use-effort-durations): New option to allow
2441 using `org-effort-durations' when computing clocksum durations.
2442 (org-minutes-to-clocksum-string): Use the new option.
2444 * org-clock.el (org-clocktable-write-default): Let-bind
2445 `org-time-clocksum-use-effort-durations' to a new clocktable
2446 parameter ":effort-durations".
2448 * org-entities.el (org-entities): "neg" should be used in LaTeX
2449 math mode. Add the "neg" entity.
2451 * org-mobile.el (org-mobile-allpriorities): New option.
2452 (org-mobile-create-index-file): Use the new option.
2454 * org-latex.el (org-export-latex-inline-images): New option.
2456 * org.el (org-forward-heading-same-level): Before the first
2457 headline, go to the first headline.
2458 (org-backward-heading-same-level): Before the first headline,
2459 go to the beginning of the buffer, like
2460 `outline-previous-visible-heading' does.
2462 * org-exp.el (org-export-plist-vars): Don't use
2463 `org-export-html-inline-images' to set the :inline-images
2464 property, use distinct properties for the various backends.
2466 * org-publish.el (org-publish-project-alist): Ditto.
2468 * org-latex.el (org-export-latex-links): Use :latex-inline-images
2469 instead of :inline-images.
2471 * org-odt.el (org-compat): Require.
2473 * org.el (org-parse-time-string): Allow strings supported by
2474 tags/properties matcher (eg <now>, <yesterday>, <-7d>).
2476 * org-clock.el (org-clock-rounding-minutes): New option to round
2477 the time by N minutes in the past when clocking in or out.
2478 (org-clock-in, org-clock-in-last, org-clock-out): Use the new
2481 * org.el (org-current-time): New optional parameter
2482 `rounding-minutes' to override the use of
2483 `org-time-stamp-rounding-minutes' for rounding.
2485 * org-clock.el (org-clock-special-range): Small docstring fix.
2486 New parameter 'weekstart to define the week start day.
2487 (org-clock-special-range, org-dblock-write:clocktable)
2488 (org-dblock-write:clocktable, org-clocktable-write-default)
2489 (org-clocktable-steps, org-clock-get-table-data): Use the new
2491 (org-clocktable-defaults): Set monday as the starting day of the
2492 week by setting :wstart to 1.
2494 * org.el (org-store-link): Fix the naming of internal links to
2495 lines starting with a keyword.
2497 * org-agenda.el (org-agenda-Quit, org-agenda-quit)
2498 (org-agenda-exit, org-agenda-kill-all-agenda-buffers):
2501 * org.el (org-last-set-property-value): New variable.
2502 (org-read-property-name): Fix dangling parentheses.
2503 (org-set-property-and-value): New command to manually set
2504 both the property and the value. A prefix arg will use the
2505 last property-value pair set without prompting the user.
2506 (org-set-property): Set `org-last-set-property-value'.
2507 (org-mode-map): Bind the new command to `C-c C-x P'.
2508 (org-find-invisible-foreground): Delete.
2509 (org-mode): Use `face-background' instead of
2510 `org-find-invisible-foreground'.
2511 (org-startup-options): New startup keywords.
2512 (org-log-into-drawer): Update docstring to explain how to set this
2513 variable through the startup keyword "logdrawer" and "nologdrawer".
2514 (org-log-states-order-reversed): Document the new startup keywords
2515 "logstatesreversed" and "nologstatesreversed".
2516 (org-mode-map): Use `org-remap' instead of binding `M-t' to
2517 `org-transpose-words' directly.
2518 (org-syntax-table): New variable.
2519 (org-transpose-words): New command, simply wrapping the new
2520 syntax table around `transpose-words'.
2521 (org-mode-map): Bind `org-transpose-words' to `M-t'.
2522 (org-store-link): Use keyword at point as the search string. Use
2523 `delq nil' instead of `delete nil'.
2524 (org-make-org-heading-search-string): Rewrite using
2525 org-element.el. Not an interactive function anymore.
2527 * org-pcomplete.el (pcomplete/org-mode/drawer): Ditto.
2529 * org-mobile.el (org-mobile-files-alist): Ditto.
2531 * org.el (org-store-link): When creating a link to a heading with
2532 a bracket link, don't escape this link with curly braces as the
2533 escaped link is not active anyway; use the description instead.
2534 If the headline only consists of a bracket link, add a star to the
2535 description so that the user knows this is an internal link.
2537 * org-w3m.el (org-w3m-store-link): New function.
2539 * org.el (org-store-link): Update the error message when no method
2540 is available for storing a link. Use `user-error' for this.
2541 Remove handling w3m links from this function.
2542 (org-insert-heading, org-insert-todo-heading): A double prefix arg
2543 force the insertion of the subtree at the end of the parent
2545 (org-store-link): A double prefix argument now skips module
2546 store-link functions to only use Org's core functions. Also, when
2547 several modular store-link functions match, ask for which one to
2549 (org-cycle, org-cycle-internal-global)
2550 (org-cycle-internal-local, org-display-outline-path): Let-bind
2551 `message-log-max' to nil so that messages don't populate the
2554 * org-table.el (org-table-eval-formula): Handle localized
2555 time-stamps by internally converting them to english during
2556 formulas evaluation.
2558 * org.el (org-clock-timestamps-up): Fix declarations.
2560 * ob-core.el (org-split-string): Declare function.
2562 * org-html.el (org-html-export-list-line): Add CSS classes to
2563 these list HTML tags: <ul> <dl> and <ol>.
2565 * org-clock.el (org-clock-timestamps-up)
2566 (org-clock-timestamps-down, org-clock-timestamps-change): Add
2567 an optional argument N to change timestamps by several units.
2569 * org.el (org-shiftcontrolup, org-shiftcontroldown): Ditto.
2571 * org-exp.el (org-export-copy-to-kill-ring): Add a new choice
2572 'if-interactive and use it as the default.
2573 (org-export-push-to-kill-ring): Use the new choice.
2575 * org.el (org-block-entry-blocking): New variable.
2576 (org-todo): Use it. Also use `user-error' when a TODO state
2578 (org-block-todo-from-children-or-siblings-or-parent): Display
2579 `org-block-entry-blocking' in the user-error message.
2581 * org.el (org-get-cursor-date): New optional argument WITH-TIME to
2582 add the time of the day.
2584 * org-capture.el (org-capture): When capturing from the agenda and
2585 with a non-nil value for `org-capture-use-agenda-date', a `C-1'
2586 prefix will set the capture time to the HH:MM of the current line
2587 or the current HH:MM.
2589 * org-agenda.el (org-agenda-capture): New optional argument
2590 WITH-TIME: when set to 1, the capture time will be set to the
2591 HH:MM time of the current line, or the current HH:MM time.
2593 * org.el (org-latex-preview-ltxpng-directory): Fix docstring
2595 (org-deadline-close): Use `org-time-stamp-to-now'.
2596 (org-time-stamp-to-now): Use `org-float-time' instead of the
2597 obsolete `time-to-seconds' function.
2598 (org-format-outline-path): Fix bug: add the separator string after
2600 (org-display-inline-images): Search for #+ATTR within the current
2602 (org-days-to-time): Make obsolete.
2603 (org-time-stamp-to-now): Rename from `org-days-to-time'.
2604 Allow to compare time-stamps based on seconds.
2606 * org-agenda.el (org-agenda-todo-ignore-time-comparison-use-seconds):
2607 New option to compare time stamps using seconds, not days.
2608 (org-agenda-todo-custom-ignore-p)
2609 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
2610 Use the new function's name and the new option.
2612 * org-clock.el (org-clock-sound): Enhance docstring.
2613 (org-notify): Use the parameter `play-sound' as argument for
2614 `org-clock-play-sound'.
2615 (org-clock-play-sound): New optional argument `clock-sound' to
2616 override `org-clock-sound'.
2618 * org-agenda.el (org-agenda-format-item): Fix initialization
2619 of the level text property.
2621 * org.el (org-format-outline-path): Small docstring
2623 (org-display-outline-path): Fix order or arguments.
2625 * org.el (org-activate-plain-links)
2626 (org-activate-bracket-links): Add a new 'htmlize-link text
2627 property, so that htmlize (> version 1.42) can linkify the
2629 (org-display-outline-path): Allow a string value for the
2630 `as-string' parameter. Such a value will replace the "/"
2631 separator in the output. New argument `as-string'.
2632 (org-refile-keep): New variable.
2633 (org-copy): New command to copy notes.
2634 (org-refile): New parameter msg to override the "Refile" string in
2636 (org-mode-map): Bind "C-c M-w" to `org-copy'.
2637 (org-refile-get-location): Use the current file name as the
2638 default target when there is no refile history.
2639 (org-cycle-hide-inline-tasks): New function to hide inline tasks
2641 (org-cycle-hook): Use the new function.
2642 (org-entry-put): Fix bug when updating the last clock.
2643 (org-use-last-clock-out-time-as-effective-time): New option.
2644 (org-current-effective-time): Use the new option.
2646 * org-clock.el (org-clock-get-last-clock-out-time): New
2649 * org.el (org-toggle-inline-images): Only send a message when
2650 called interactively.
2651 (org-scan-tags): Fix the declaration and the use of
2652 `org-agenda-format-item'.
2654 * org-agenda.el (org-agenda-add-time-grid-maybe): Use the
2655 correct number of parameters for `org-agenda-format-item'.
2658 * org.el (org-outline-level): Go at the beginning of the
2659 headline first to always return a sensible result.
2661 * org-agenda.el (org-search-view, org-agenda-get-todos)
2662 (org-agenda-get-timestamps, org-agenda-get-sexps)
2663 (org-agenda-get-progress, org-agenda-get-deadlines)
2664 (org-agenda-get-scheduled, org-agenda-get-blocks): Return the
2665 correct level depending on `org-odd-levels-only'.
2666 (org-agenda-prefix-format): A new specifier `%l' allows to insert
2667 X spaces when the item is of level X.
2668 (org-search-view, org-get-entries-from-diary)
2669 (org-agenda-get-todos, org-agenda-get-timestamps)
2670 (org-agenda-get-sexps, org-agenda-get-progress)
2671 (org-agenda-get-deadlines, org-agenda-get-scheduled)
2672 (org-agenda-get-blocks, org-agenda-change-all-lines): Add a
2673 new text property 'level, a string with as many whitespaces as
2674 the level of the item.
2675 (org-agenda-format-item, org-compile-prefix-format): Handle
2676 the new `%l' specifier.
2678 * org-colview.el (org-columns-next-allowed-value): Add the
2679 CLOCKSUM property to the list of properties that can be
2680 changed interactively from the column view.
2682 * org.el (org-entry-put): Allow to set the CLOCKSUM property
2683 by updating the most recent clock. This is useful in the
2684 column view when you want to use S-<left/right> to update the
2685 last clock of the entry at point.
2686 (org-image-actual-width): New choice: use #+ATTR* or fall back on
2688 (org-display-inline-images): Implement the new choice.
2689 (org-image-actual-width): Rename from `org-image-fixed-width'.
2690 Update the docstring. Give more choice.
2691 (org-display-inline-images): Use the option new choices.
2692 (org-image-fixed-width): New option to set a fixed width for
2694 (org-display-inline-images): Use the new option.
2696 * org-agenda.el (org-class): Allow to use holiday strings for
2697 the `skip-weeks' arguments.
2699 * org.el (org-mode): Set the syntax of the " character to "string
2702 * org-agenda.el (org-agenda-append-agenda): Bugfix: correctly
2703 check whether we are in `org-agenda-mode'.
2704 (org-agenda): Set `org-agenda-buffer-name' correctly with sticky
2705 agendas and non-custom commands.
2707 2013-11-12 Carsten Dominik <carsten.dominik@gmail.com>
2709 * org-src.el (org-edit-src-exit): Let overlay survive after the
2710 buffer has been saved.
2712 * ox-texinfo.el (org-texinfo-export-to-texinfo): Use new style
2714 (org-texinfo-export-to-info): Use new style backquoting.
2716 * ob-latex.el (org-babel-execute:latex): Call `file-name-sans-extension'
2717 instead of `file-base-name'.
2719 * org.el (org-insert-heading): Improve whitespace behavior at
2721 (org-latex-default-packages-alist): Add the `rotating' package to
2722 the list of default packages. Improve docstring.
2723 (org-insert-property-drawer): Insert only after space in current
2725 (org-forward-paragraph, org-backward-paragraph): Do not deactivate
2727 (org-special-ctrl-o): New option.
2728 (org-open-line): Don't do anything special unless `org-special-ctrl-o'
2731 * org-agenda.el (org-agenda-custom-commands-local-options):
2732 (org-agenda-span, org-agenda-ndays-to-span)
2733 (org-agenda-span-to-ndays, org-agenda-list, org-agenda-later)
2734 (org-agenda-change-time-span, org-agenda-compute-starting-span): Add
2735 support for fortnight view.
2736 (org-agenda-menu): Add fortnight view command.
2737 (org-agenda-fortnight-view): New command.
2739 * org-timer.el (org-clock-sound): Silence compiler.
2741 * org.el (org-beginning-of-line, org-end-of-line): Bind
2742 deactivate-mark to avoid that this command deactivates it.
2743 (org-make-tags-matcher): Do not interpret / in property value as
2744 starter of TODO match.
2745 (org-overview): Preserve point.
2746 (org-read-date-minibuffer-local-map): Don't replace disputed keys
2747 when defining this keymap.
2748 (org-read-date): Remove unnecessary binding of
2749 `org-replace-disputed-keys'.
2750 (org-insert-heading): Allow to remove blank lines if the user does
2752 (org-unlogged-message): Fix typo in dostring.
2754 * ob-ruby.el: New customizations `org-babel-ruby-hline-to' and
2755 `org-babel-ruby-nil-to'
2756 (org-babel-ruby-var-to-ruby): Convert incoming 'hlines.
2757 (org-babel-ruby-table-or-string): Convert outgoing nils.
2759 * org.el (org-file-apps-defaults-gnu): Use `xdg-open' to open
2760 files where available.
2762 * org-table.el (orgtbl-radio-table-templates): Improve docstring.
2764 * org.el (org-unlogged-message): New function.
2765 (org-cycle, org-cycle-internal-global, org-cycle-internal-local)
2766 (org-global-cycle, org-display-outline-path): Use
2767 `org-unlogged-message'.
2769 * org-pcomplete.el (org-make-org-heading-search-string): Fix
2770 function declaration.
2771 (pcomplete/org-mode/searchhead): Remove incorrect second arguments
2772 to `org-make-org-heading-search-string'.
2774 * org.el (org-read-date): Turn off replacing disputed keys when
2775 defining the minibuffer keys during date selection.
2776 (org-insert-heading): Improve the empty line insertion behavior.
2777 Basically, never remove empty lines, only add them.
2779 * org-attach.el (org-attach-commit): Use vc-git to find the git
2782 * org-compat.el (org-move-to-column): Turn off invisibility stuff
2783 for moving the cursor to a column.
2785 * org.el (org-modules): Update with the new module org-mac-link.
2786 (org-display-outline-path): Do not log outline path in Message
2788 (org-agenda-ignore-drawer-properties): New option.
2789 (org-agenda-prepare-buffers): Honour
2790 `org-agenda-ignore-drawer-properties'.
2792 * org-clock.el (org-clock-goto): Recenter to thrd line
2794 * org-table.el (orgtbl-send-replace-tbl): Allow multiple spaces
2795 between keywords in RECEIVE ORGTBL lines.
2797 * org.el (org-bookmark-names-plist): New user option.
2798 (org-set-regexps-and-options-for-tags): Use `org-bookmark-names-plist'.
2799 (org-refile): Use `org-bookmark-names-plist'.
2801 * org-capture.el (org-capture-bookmark-last-stored-position): Use
2802 `org-bookmark-names-plist'.
2804 * org.el (org-insert-heading): Rewritten from scratch.
2805 (org-N-empty-lines-before-current): New function
2806 (org-insert-heading-respect-content): Set the correct argument to
2807 force a heading even in lists.
2809 * org-colview.el (org-columns-display-here): Enforce fixed width
2812 * org-faces.el (org-column): Setting font width has been shifted
2815 * org.el (org-mode-flyspell-verify): Check for src block.
2817 * org-table.el (org-table-convert-region): Fix interactive
2820 * org-ctags.el (org-ctags-path-to-ctags): Avoid usine `case'.
2822 * org.el (org-beginning-of-line,org-end-of-line): Set
2823 disable-point-adjustment when the command ends next to invisible
2826 * ob-lob.el (org-babel-lob-files): Fix custom type.
2828 * org-agenda.el (org-agenda-export-html-style, org-agenda-ndays)
2829 (org-agenda-inactive-leader, org-agenda-day-face-function)
2830 (org-agenda-auto-exclude-function): Fix custom type.
2832 * org-bibtex.el (org-bibtex-prefix): Fix custom type.
2834 * org-clock.el (org-clock-heading-function):
2835 (org-show-notification-handler): Fix custom type.
2837 * org-footnote.el (org-footnote-auto-adjust): Fix custom type.
2839 * org-protocol.el (org-protocol-default-template-key): Fix custom
2842 * org.el (org-make-link-description-function):
2843 (org-link-translation-function):
2844 (org-link-frame-setup):
2845 (org-refile-target-verify-function):
2846 (org-get-priority-function):
2847 (org-use-fast-tag-selection):
2848 (org-columns-modify-value-for-display-function):
2849 (org-sparse-tree-default-date-type):
2850 * ox-html.el (org-html-postamble):
2851 (org-html-postamble-format):
2852 (org-html-preamble-format):
2853 * ox-odt.el (org-odt-content-template-file):
2854 * ox.el (org-export-with-archived-trees):
2855 (org-export-initial-scope): Fix custom type.
2857 * org.el (org-insert-heading): Fix problem with inserting heading.
2858 Check for checkbox at the beginning of the item, not just at the
2859 beginning of the line.
2860 (org-small-year-to-year): Fix docstring typo.
2861 (org-show-siblings): By default, also show siblings from a
2864 * org-agenda.el (org-agenda-set-restriction-lock): Highlight only
2865 the headline when agenda is restricted to a subtree. Do not
2866 highlight the entire subtree.
2868 * org-table.el (org-table-eval-formula): Work-around for calc-eval
2871 * ox.el (org-export-dispatch): Make sure the last position marker
2872 uses the base buffer if there is one.
2873 (org-export-dispatch-last-position): New variable.
2874 (org-export-dispatch): Save position of cursor at the moment when
2875 the export command is called. Restore that position temporarily
2876 when repeating the previous export command.
2878 * org.el (org-insert-heading): Shrink whitespace at end of subtree
2879 when `org-insert-heading-respect-content' is on.
2881 * org-list.el (org-sort-list): Respect sorting-type and
2882 getkey-func when they are specified in the call.
2884 * org.el (org-sort-entries): Respect sorting-type and getkey-func
2885 when they are specified in the call.
2886 (org-format-outline-path): New argument SEPARATOR to specify a
2887 string that is inserted between parts of the outline path.
2888 (org-display-outline-path): New argument SEPARATOR, to specify a
2889 string that is inserted between parts of the outline path.
2891 * org-colview.el (org-dblock-write:columnview): Change the capture
2892 of pos to after inserting the original content
2894 2013-11-12 Christian Moe <mail@christianmoe.com>
2896 * ox-odt.el (org-odt-line-break, org-odt-plain-text): Remove
2897 newline after line-break tag.
2899 2013-11-12 Christophe Junke <christophe.junke@inria.fr> (tiny change)
2901 * org.el (org-set-font-lock-defaults): Let footnote fontifications
2902 be done before other links' fontification. This allows links
2903 appearing inside footnotes to be both visible and active.
2905 2013-11-12 Christopher Schmidt <christopher@ch.ristopher.com>
2907 * org.el (orgstruct-setup): Major rewrite.
2908 (orgstruct++-mode): Overwrite local non-org vars again.
2909 (orgstruct-mode): Simplify implementation. Emulate outline's
2910 buffer-invisiblity-spec.
2911 (orgstruct-heading-prefix-regexp): Change default value to nil.
2912 (orgstruct-error): Use `user-error' if available.
2913 {pro,de}motion commands if `orgstruct-heading-prefix-regexp' is
2914 non-nil. Always use `org-outline-level'. Bind org-shift*.
2915 (orgstruct-make-binding): Major rewrite.
2916 (org-cycle-global-status, org-cycle-subtree-status): Set state
2918 (org-heading-components): Use `org-heading-regexp' in
2920 (orgstruct-heading-prefix-regexp, orgstruct-setup-hook): New
2922 (orgstruct-initialized): New variable.
2923 (org-get-local-variables): Honour state property.
2924 (org-run-like-in-org-mode): Use `let' instead of `progv'. Do not
2925 override variables with non-default values.
2926 (org-forward-heading-same-level): Do not skip to headlines on
2927 another level. Handle negative prefix argument correctly.
2928 (org-backward-heading-same-level): Use
2929 `org-forward-heading-same-level'.
2931 2013-11-12 Craig Tanis <craig-tanis@utc.edu> (tiny change)
2933 * ox-latex.el (org-latex-src-block): Change format string to position
2934 caption after figure content.
2936 2013-11-12 Eric Abrahamsen <eric@ericabrahamsen.net>
2938 * org.el (org-ctrl-c-ctrl-c): `C-c C-c' on a link is usually a
2939 no-op. If that link is in a headline, act as if the `C-c C-c' was
2940 called on the headline, not the link.
2942 * ox-html.el (org-html-doctype-alist): New variable holding an
2943 alist of (X)HTML doctypes
2944 (org-html-xhtml-p, org-html-html5-p, org-html-close-tag): New
2946 (org-html-html5-fancy): New export option, determining whether or
2947 not to use HTML5-specific elements.
2948 (org-html-html5-elements): New variable, new HTML5 elements.
2949 (org-html-special-block): Export special blocks to new HTML5
2951 (org-html-format-inline-image): Use <figure> and <figcaption> for
2953 (org-html-format-inline-image, org-html--build-meta-info)
2954 (org-html--build-head, org-html--build-pre/postable)
2955 (org-html-template, org-html-horizontal-rule)
2956 (org-html-format-list-item, org-html-line-break, org-html-table)
2957 (org-html-verse-block): Changes to allow flavored export.
2959 * ox-latex.el (org-latex--org-table, org-latex-table-row): Allow
2960 use of the "tabu" and "longtabu" table environments. New table
2961 attribute :spread handles the width specification syntax of "tabu"
2962 and "longtabu" table environments.
2964 2013-11-12 Eric Schulte <eric.schulte@gmx.com>
2966 * org-bibtex.el (org-bibtex-read-buffer): Reads all bibtex entries
2968 (org-bibtex-read-file): Read all bibtex entries in a file.
2969 (org-bibtex-import-from-file): Import all bibtex entries from a
2970 file into the current buffer.
2972 * ob-tangle.el (org-babel-load-file): When called with a prefix
2973 argument the tangled emacs-lisp file will be byte compiled.
2975 * ob-tangle.el (org-babel-tangle): Tangled files should not be
2978 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Better about
2979 when to fully escape the results or just print them close to
2982 * ob.el (org-babel-result-cond): This function should now be used
2983 by all language backends to handle the processing of raw code
2984 block output into scalar results, table results, or ignored
2985 results depending on the value of result-params.
2987 * ob-C.el (org-babel-C-execute): Use org-babel-result-cond.
2989 * ob-R.el (org-babel-R-evaluate-external-process)
2990 (org-babel-R-evaluate-session):
2991 * ob-awk.el (org-babel-execute:awk):
2992 * ob-clojure.el (org-babel-execute:clojure):
2993 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
2994 * ob-fortran.el (org-babel-execute:fortran):
2995 * ob-io.el (org-babel-io-evaluate):
2996 * ob-java.el (org-babel-execute:java):
2997 * ob-lisp.el (org-babel-execute:lisp):
2998 * ob-maxima.el (org-babel-execute:maxima):
2999 * ob-picolisp.el (org-babel-execute:picolisp):
3000 * ob-python.el (org-babel-python-evaluate-external-process):
3001 (org-babel-python-evaluate-session):
3002 * ob-scala.el (org-babel-scala-evaluate):
3003 * ob-sh.el (org-babel-sh-evaluate):
3004 * ob-shen.el (org-babel-execute:shen):
3005 * ob-sql.el (org-babel-execute:sql):
3006 * ob-sqlite.el (org-babel-execute:sqlite): Use
3007 `org-babel-result-cond'.
3009 * ob.el (org-babel-common-header-args-w-values): Add a new "none"
3011 (org-babel-execute-src-block): Don't do *any* result processing if
3012 the "none" header argument has been specified.
3013 (org-babel-sha1-hash): Remove the none header argument from header
3014 arg lists when calculating cache sums.
3015 (org-babel-insert-result): Flesh out some documentation.
3017 * ob.el (org-babel-insert-result): Don't escape results in
3020 * ob-python.el (org-babel-python-hline-to): Customize hline
3021 conversion to python.
3022 (org-babel-python-None-to): Customize none conversion from python.
3023 (org-babel-python-var-to-python): Use new variable.
3024 (org-babel-python-table-or-string): Use new variable.
3026 * org.el (org-babel-load-languages): Add ob-makefile to
3027 `org-babel-load-languages'.
3029 * ob-makefile.el: New file.
3031 * ob-sh.el (org-babel-sh-evaluate): Don't could 0-length shebangs.
3033 * org.el (org-format-latex): Simplify and now make use of the new
3034 `org-create-formula-image' function.
3035 (org-create-formula-image): Provides a simpler interface to the
3036 two backend-specific functions.
3038 * ob-core.el (org-babel-default-header-args): It is likely that
3039 someone meant to set :padlines to "yes", but accidentally set
3040 :padnewlines to "yes". Either way lets just remove this which
3041 shouldn't have any functional effect.
3043 * ob-haskell.el (org-babel-default-header-args:haskell): Set
3044 :padlines to "no" by default.
3046 * ob-exp.el (org-babel-exp-non-block-elements): Ignore inline
3047 source block on #+ prefixed lines.
3049 * ob-core.el (org-babel-merge-params): Replace `remove-if' with
3050 `org-remove-if'. More careful to check that the colname- and
3051 rowname-names header arguments exist during merge. When merging
3052 parameters, if a variable is replaced with a new value, then
3053 delete colnames/rownames for the original value of that variable.
3055 * ob-ditaa.el (org-babel-ditaa-java-cmd): Make java executable
3056 configurable for ditaa blocks.
3058 * ob-sh.el (org-babel-sh-var-to-string): Fix bug in ob-sh when
3059 dealing with list variables.
3061 * ob-core.el (org-babel-demarcate-block): Include
3062 `org-src-lang-modes' in block demarcation options.
3064 * ob-C.el: Don't modify `org-babel-load-languages' from ob-*
3067 * ob-latex.el (org-babel-latex-htlatex): Set this variable to
3068 "htlatex" (or path to said) to enable svg generation from latex
3070 (org-babel-latex-htlatex-packages): Libraries required for
3071 automatic svg generation.
3072 (org-babel-execute:latex): Generate SVG images directly from latex
3073 code blocks (assumes tikz).
3075 * ob-exp.el (org-babel-exp-non-block-elements): Use lob call name
3078 * ob-scheme.el (org-babel-scheme-get-repl)
3079 (org-babel-scheme-make-session-name)
3080 (org-babel-scheme-execute-with-geiser, org-babel-execute:scheme):
3081 Fix whitespace and indentation.
3083 * ob-core.el (org-babel-set-current-result-hash): Update the
3084 match-string holding the hash data, and correct overlay
3086 (org-babel-find-named-result): Call lines are not results.
3087 (org-babel-where-is-src-block-result): Don't implicitly name the
3088 results of call lines.
3089 (org-babel-exp-non-block-elements): There is now another element
3090 on the call line info list.
3092 * ob-lob.el (org-babel-lob-get-info): Return the name (if any) at
3093 the end of the info list.
3094 (org-babel-lob-execute): Pass the name through to execution.
3096 * ob-core.el (org-babel-execute-src-block): Ensure that the
3097 location is set before anything else is done.
3099 * ob-ref.el (org-babel-ref-parse): Evaluate Emacs Lisp values in
3100 header arguments at the location of the original code block.
3102 * ob-gnuplot.el (org-babel-expand-body:gnuplot): Use new header
3105 * ob-core.el (org-babel-common-header-args-w-values): Mention new
3107 (org-babel-expand-body:generic): Use new header arguments.
3108 (org-babel-read-result): More robust matching of examplized
3110 (org-babel-result-end): More robust matching of examplized ranges.
3112 * ob-gnuplot.el (org-babel-expand-body:gnuplot): Gnuplot, close
3113 output terminal when opened.
3114 (org-babel-gnuplot-prefix): Customization variable prefix gnuplot
3116 (org-babel-expand-body:gnuplot): Customization variable prefix
3117 gnuplot code blocks.
3119 * ob-core.el (org-babel-params-from-properties): Now returns a
3120 list of alists and does *not* call `org-babel-merge-params'.
3121 (org-babel-parse-src-block-match):
3122 (org-babel-parse-inline-src-block-match):
3123 * ob-exp.el (org-babel-exp-src-block):
3124 (org-babel-exp-non-block-elements):
3125 * ob-lob.el (org-babel-lob-execute): Handle new list of lists
3126 output of `org-babel-params-from-properties'.
3128 * ob-gnuplot.el (org-babel-header-args:gnuplot): Term is a gnuplot
3131 * ob-tangle.el (org-babel-tangle): Fixed bug in tangle-file.
3132 Collect tangle modes, and only apply them to the file after all
3133 tangling has completed, including the post-tangle-hook.
3135 * ob-core.el (org-babel-read): Do not read #-prefix header-arg
3136 value as emacs lisp.
3138 * ob-core.el (org-babel-current-src-block-location):
3139 (org-babel-execute-src-block):
3140 * ob-exp.el (org-babel-exp-results):
3141 * ob-lob.el (org-babel-lob-execute): Rename
3142 `org-babel-current-exec-src-block-head' to
3143 `org-babel-current-src-block-location'.
3145 * ob-core.el (org-babel-common-header-args-w-values): Adding the
3146 new :tangle-mode header argument.
3147 (org-babel-read): Read values starting with a "#" character as
3150 * ob-tangle.el (org-babel-tangle): Use the new :tangle-mode header
3153 * org-pcomplete.el (pcomplete/org-mode/block-option/src): Use the
3154 new :tangle-mode header argument.
3156 * ob-exp.el (org-babel-exp-results): Save the code block location
3157 into `org-babel-current-exec-src-block-head' during export.
3159 * ob-comint.el (org-babel-comint-with-output): More robust edebug
3162 * ob-lob.el (org-babel-lob-execute): Set the
3163 `org-babel-current-exec-src-block-head' variable when executing
3164 inline or lob style code.
3166 * ob-core.el (org-babel-execute-src-block): The
3167 `org-babel-current-exec-src-block-head' variable should point to
3168 the outermost code block.
3170 * org.el (org-some): An org-mode version of the cl some function.
3172 * ob-fortran.el (org-babel-fortran-var-to-fortran): More careful
3173 check if values are matrices.
3175 * org.el (org-every): An Org-mode version of the cl every
3178 * ob-tangle.el (org-babel-tangle-jump-to-org): Use
3179 `org-src-switch-to-buffer' to jump from src to org. Use the
3180 existing `org-edit-src' functionality to jump back to the correct
3181 point in the code block in the original Org-mode buffer.
3183 * ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Only wrap
3184 gnuplot data values in " when necessary. Replace missing values
3185 with blank space in gnuplot.
3186 (org-babel-expand-body:gnuplot):
3187 (org-babel-gnuplot-quote-timestamp-field): Fix indentation.
3188 (org-babel-header-args:gnuplot): Declare the.
3189 (org-babel-expand-body:gnuplot): Params is an alist not a plist.
3190 (org-babel-header-args:gnuplot): Declare gnuplot-specific header
3192 (*org-babel-gnuplot-missing*): Dynamic variable used to hold the
3193 value of the missing header argument.
3194 (org-babel-gnuplot-process-vars): Wrap in local binding for
3196 (org-babel-gnuplot-quote-tsv-field): Replace missing value with
3197 the missing header argument value when present.
3199 * ob-org.el (org-babel-expand-body:org): Allow insertion of
3200 non-strings into Org code blocks.
3201 (org-babel-inline-result-wrap): New option controlling the
3202 wrapping of inline results.
3203 (org-babel-examplize-region): Use the new defcustom.
3205 * ox-beamer.el (org-beamer--format-frame): If contents is nil,
3206 then replace it with an empty string.
3208 * ob-core.el (org-babel-read): More restrictive elisp eval of
3211 * ob-lob.el (org-babel-lob-execute): Include default elisp header
3214 * ob-core.el (org-babel-result-cond): Don't over-evaluate
3215 result-params in macro.
3217 * ob-ruby.el (org-babel-execute:ruby): Use `org-babel-result-cond'
3218 in Ruby code blocks.
3219 (org-babel-ruby-evaluate): Delay table processing.
3221 * ob-js.el (org-babel-execute:js): Use `org-babel-result-cond' in
3222 JavaScript code blocks.
3224 * ob-scheme.el (org-babel-execute:scheme): Use
3225 `org-babel-result-cond' in scheme code blocks.
3227 * ob-ocaml.el (org-babel-execute:ocaml): Use
3228 `org-babel-result-cond' in OCaml code blocks.
3230 * ob-haskell.el (org-babel-execute:haskell): Use
3231 `org-babel-result-cond' in Haskell code blocks.
3233 * ob-core.el (org-babel-result-cond): The "raw", "org" and
3234 "drawer" :results header argument values preclude table processing
3235 unless the "table" argument is given as well.
3236 (org-babel-execute-src-block): Make sure we process file results
3237 before they are passed to the post-processing code block, and not
3238 afterwards. Tangles these two header arguments in the code, but
3239 makes for more intuitive behavior and enables important use cases.
3240 (org-babel-read): Read code block values with earmuffs as Emacs
3242 (org-babel-common-header-args-w-values): Add :post to the list of
3244 (org-babel-execute-src-block): Post process results when the :post
3245 header argument has been supplied.
3247 * ob-R.el (org-babel-R-initiate-session): Remove unnecessary
3248 save-excursion nested inside a save-window-excursion.
3250 * ob-core.el (org-babel-src-name-w-name-regexp): Update the regexp
3251 used to match code block names.
3252 (org-babel-get-src-block-info): Remove the code used to parse this
3253 alternate variable specification syntax.
3254 (org-babel-insert-result): Cycle tables for :results org and
3257 * ob-python.el (org-babel-python-initiate-session-by-key): Fixed a
3258 bug pointed out by Gary Oberbrunner.
3259 (org-babel-python-initiate-session-by-key): Add "-i" to the python
3260 command on windows sessions. Actually setting new session names.
3261 Pass Python buffer names to the new `run-python' command.
3262 (org-babel-python-with-earmufs): Add earmufs to a buffer name.
3263 (org-babel-python-without-earmufs): Remove earmufs from a buffer name.
3264 (org-babel-python-initiate-session-by-key): Set the buffer name in
3265 a way which is understandable by the new python.el
3266 (org-babel-python-buffers): Change the default python buffer name.
3268 * ob-core.el (org-babel-number-p): Don't interpret single "-" as a
3271 * ob-perl.el (org-babel-perl--var-to-perl): Print Perl variables
3272 with a format string.
3274 * ob-core.el (org-babel-where-is-src-block-result): Allow comments
3275 between code blocks and un-named results.
3277 * ob-sqlite.el (org-babel-sqlite-table-or-scalar): Don't read
3278 sqlite output as lisp.
3280 * ob-core.el (org-babel-check-confirm-evaluate): Refactoring.
3281 (org-babel-confirm-evaluate): Fix whitespaces.
3282 (org-babel-execute-src-block): A cond makes it more clear that we
3283 definitely do not execute without user confirmation.
3284 (org-babel-call-process-region-original): Fixed line over 80 chars
3287 * ob-tangle.el (org-babel-tangle-collect-blocks): Update comment
3288 to reflect changed variable name.
3290 * ob-core.el (org-babel-expand-src-block): Return value of
3291 expanded code block on non-interactive calls.
3293 * ob-perl.el (org-babel-perl-var-wrap): Customizable wrapper for
3294 variables in perl code.
3295 (org-babel-perl-var-to-perl): Use said wrapper.
3297 * ob-sql.el (org-babel-execute:sql): Use the org-babel-eval
3298 command instead of shell-command.
3300 * ob-ocaml.el (org-babel-prep-session:ocaml): Check that
3301 `tuareg-run-caml' is defined before use.
3302 (tuareg-run-ocaml): Declare for compiler.
3304 * ob-core.el (org-babel-result-regexp): Simplify regexp given new
3306 (org-babel-current-result-hash): New match string.
3307 (org-babel-hide-hash): New match string.
3308 (org-babel-where-is-src-block-result): New match string, and
3309 insert hashes in the new format.
3311 * ob-core.el (org-ts-regexp): Declare.
3312 (org-babel-result-regexp): Now matching time stamp as well.
3313 (org-babel-hash-show-time): New variable controlling the display
3315 (org-babel-current-result-hash):
3316 (org-babel-hide-all-hashes):
3317 (org-babel-where-is-src-block-result): Use hash time stamps.
3319 * ob-core.el: New file.
3321 * org-macs.el: `org-load-noerror-mustsuffix' requires an autoload.
3323 2013-11-12 Feng Shu <tumashu@gmail.com>
3325 * ox-odt.el (org-odt--translate-latex-fragments):
3326 * ox-html.el (org-html-latex-environment)
3327 (org-html-latex-fragment): Fix imagemagick support.
3329 * org.el (org-create-formula-image-with-imagemagick): Generate
3330 correct size formula image.
3331 (org-format-latex-header): Change pagestyle command position.
3333 * ox-latex.el (org-latex--caption/label-string): Allow to build a
3334 caption string from `:caption' attribute of #+ATTR_LATEX.
3336 * ox.el (org-export-dictionary): Add Simplified Chinese
3337 translations for `org-export-dictionary'.
3339 2013-11-12 Florian Beck <fb@miszellen.de> (tiny change)
3341 * org.el (org-activate-bracket-links): Remove escapes from the
3344 2013-11-12 Francesco Pizzolante <xxx@public.gmane.org> (tiny change)
3346 * ox-html.el (org-html-headline): Normalize the construction of
3347 outline-container DIVs by always using the inner headline ID.
3349 * org.el (org-agenda-prepare-buffers): Protect with
3352 2013-11-12 Gregor Kappler <gregor@alcedo.(none)> (tiny change)
3354 * ox.el (org-export-as): Make sure org-export-babel-evaluate is
3355 not nil before calling `org-export-execute-babel-code'.
3357 2013-11-12 Grégoire Jadi <gregoire.jadi@gmail.com>
3359 * org.el (org-reftex-citation): Fix contrib package name in the
3361 (org-preview-latex-fragment, org-display-inline-images): Detect
3362 whether a graphic display is available before inlining images to
3364 (org-startup-with-latex-preview): New option.
3365 (org-startup-options): New startup keywords for the new option.
3366 (org-mode): Turn on/off LaTeX preview depending on the new option.
3367 (org-reverse-string): Add `org-reverse-string' to reverse a
3370 * org-id.el (org-id-new, org-id-decode): Replace
3371 `org-id-reverse-string' by `org-reverse-string'.
3373 * ob-core.el (org-babel-trim): Replace `org-babel-reverse-string'
3374 by `org-reverse-string' and declare it.
3376 2013-11-12 Gustav Wikström <gustav.erik@gmail.com> (tiny change)
3378 * org-agenda.el (org-agenda-filter-by-category): Display all
3379 filtered out categories.
3381 2013-11-12 Ilya Zonov <izonov@gmail.com> (tiny change)
3383 * org-mouse.el (org-mouse-context-menu): Add a correct newtext
3384 parameter for "All Set" and "All Clear" menu items.
3386 2013-11-12 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
3388 * org.el (org-insert-todo-heading-respect-content): Pass correct
3389 prefix arg to always insert heading.
3392 (org-agenda-propertize-selected-todo-keywords): New function to
3393 highlight the current agenda todo keywords depending on
3394 `org-todo-keyword-faces'.
3395 (org-todo-list): Use the new function.
3397 2013-11-12 Ippei FURUHASHI <top.tuna+orgmode@gmail.com>
3399 * org-table.el (org-calc-current-TBLFM): New function to
3400 re-calculate the table by applying the #+TBLFM in the line where
3401 the point is. Ensure to remove the currently inserted TBLFM line,
3402 when calling `org-table-recalculate' returns an error and the
3405 * org.el (org-ctrl-c-ctrl-c): Call `org-calc-current-TBLFM' when
3406 point is in the #+TBLFM line.
3408 * org-table.el (org-TBLFM-begin): New function.
3409 (org-TBLFM-begin-regexp): New variable.
3411 * org.el (org-at-TBLFM-p): New function.
3412 (org-TBLFM-regexp): New defconst.
3414 2013-11-12 Ivan Vilata i Balaguer <ivan@selidor.net> (tiny change)
3416 * org-clock.el (org-clock-get-table-data): Pass tstart and tend
3417 time strings through `org-matcher-time' to allow relative times
3418 besides absolute ones, convert result to encoded time.
3420 2013-11-12 Jambunathan K <kjambunathan@gmail.com>
3422 * ox-html.el (org-html-code, org-html-verbatim): Transcode value.
3423 (org-html--tags, org-html-format-headline)
3424 (org-html--format-toc-headline, org-html-checkbox)
3425 (org-html-table-cell, org-html-timestamp)
3426 (org-html-verse-block, org-html-special-string-regexps): Replace
3427 named HTML entities with their numeric counterparts. This keeps
3428 Freemind backend happy.
3430 * org-odt.el (org-export-odt-schema-dir): Modify to accommodate
3431 change in rnc file names.
3433 * org-lparse.el (org-lparse-and-open)
3434 (org-lparse-do-convert): Open exported files with system-specific
3437 * org-odt.el: Don't meddle with `org-file-apps'.
3439 2013-11-12 Jarmo Hurri <jarmo.hurri@syk.fi>
3441 * org-table.el (org-define-lookup-function): New macro. Call it
3442 to generate new lookup functions `org-lookup-first',
3443 `org-lookup-last' and `org-lookup-all'.
3445 * org-gnus.el (org-gnus-no-server): New option to start Gnus using
3447 (org-gnus-no-new-news): Use the new option.
3449 2013-11-12 Jonas Hoersch <coroa@online.de> (tiny change)
3451 * org.el (org-cycle-hide-inline-tasks): Re-hide inline tasks when
3452 switching to 'children visibility state.
3454 * org-inlinetask.el (org-inlinetask-toggle-visibility): Don't use
3455 `org-show-entry' as it cannot unfold an inlinetask properly.
3457 2013-11-12 Jonathan Leech-Pepin <jonathan.leechpepin@gmail.com>
3459 * ox-texinfo.el: New file.
3461 2013-11-12 Joost Diepenmaat <joost@zeekat.nl> (tiny change)
3463 * org.el (org-indent-region): BEGIN_SRC and END_SRC lines should
3464 not be considered part of the source block for the purposes of
3467 2013-11-12 Justus Piater <justus-dev@piater.name>
3470 (org-agenda-skip-deadline-prewarning-if-scheduled): Add an option
3471 to skip the deadline prewarning if the scheduled date is in the
3474 2013-11-12 Kodi Arfer <git@arfer.net> (tiny change)
3476 * ox-html.el (org-html-toc): Use <nav> instead of <div> for the
3477 root element when appropriate.
3478 (org-html-paragraph): Wrap "Figure %d:" in <span
3479 class="figure-number">.
3480 (org-html-list-of-tables, org-html-table): Wrap "Table %d:" in
3481 <span class="table-number">.
3482 (org-html-list-of-listings): Wrap "Listing %d:" in
3483 <span class="listing-number">.
3484 (org-html-table): For HTML5, omit :html-table-attributes but not
3486 (org-html--build-meta-info): Insert no timestamp when
3487 :time-stamp-file is nil.
3489 2013-11-12 Lawrence Mitchell <wence@gmx.li>
3491 * ox-html.el (org-html-close-tag): Add space before attr.
3493 * ox.el (org-export-resolve-fuzzy-link): Look for fuzzy link in a
3494 cache before trying to resolve it in the parse tree.
3496 2013-11-12 Le Wang <le.wang@agworld.com.au>
3498 * org-src.el (org-edit-src-code): Use marker with insertion type t
3499 to track end and remove hack requiring delete from beg to (1-
3502 2013-11-12 Max Mikhanosha <max@openchat.com>
3504 * org-habit.el (org-habit-get-faces): Add show done days green
3507 * org-agenda.el (org-agenda-format-item): Ensure effort is "" when
3510 2013-11-12 Michael Brand <michael.ch.brand@gmail.com>
3512 * org-table.el (org-table-eval-formula): Align the arrow pointing
3513 to the error in a Calc formula to the other fomula debugger logs.
3515 * org.el (org-link-escape-chars-browser): Add char double quote.
3516 (org-open-at-point): Use the constant
3517 `org-link-escape-chars-browser'.
3519 * org-table.el (org-table-get-remote-range): Extend regexp to
3520 match "#+NAME: table" additionally to "#+TBLNAME: table".
3522 * org-table.el (org-table-eval-formula): Use `keep-empty' in more
3523 places. Keep empty fields during preprocessing.
3524 (org-table-make-reference): Use nan (not a number) for empty
3525 fields in Calc formulas. A range with only empty fields should
3526 not always return 0 but also empty string, consistent with field
3527 reference of an empty field. Use future design for nan but
3528 replicate current behavior.
3529 (org-table-number-regexp): Extend 0x hex to fixed-point number,
3530 add <radix>#<number>, add Calc infinite numbers uinf, -inf and
3533 2013-11-12 Muchenxuan Tong <demon386@gmail.com> (tiny change)
3535 * org-mobile.el (org-mobile-push): Add `save-restriction'.
3537 2013-11-12 Nicolas Goaziou <n.goaziou@gmail.com>
3539 * ox-latex.el (org-latex-compile): Remove all numbered temporary
3540 files after compiling.
3542 * org-element.el (org-element-headline-interpreter): Take into
3543 consideration `org-odd-levels-only' when building a headline.
3545 * ox-org.el (org-org-headline): Correctly set transcoded headline
3546 level during subtree export.
3548 * ox-html.el (org-html--format-toc-headline): TOC entries are
3549 closer to regular headline formatting.
3551 * org-element.el (org-element-context): Fix error when parsing
3552 affiliated keywords, e.g. "caption".
3554 * org.el (org-do-emphasis-faces): Look for verbatim status at
3556 (org-open-at-point): Check if link is non-nil before matching it.
3557 (org-export-insert-default-template): Make sure strings are
3558 properly quoted when inserting a template. Specifically, default
3559 value for drawers should be d:(not "LOGBOOK"), not d:(not
3561 (org-insert-heading): Do not error out when inserting is to be
3562 done at one of the buffer's boundaries.
3564 * ox-latex.el (org-latex-listings-options): Use correct number of
3565 backslash characters in the example.
3567 * org-element.el (org-element-latex-or-entity-successor)
3568 (org-element-latex-fragment-parser): Use `org-latex-regexps'
3569 instead of `org-format-latex-options'.
3575 * ox-md.el: Remove comments at the beginning of the file since
3576 the library is documented in Org manual.
3578 * org-element.el (org-element--list-struct): Use
3579 `org-match-string-no-properties'. Fix block parsing in lists.
3581 * ox-publish.el (org-publish-all): Fix compilation problem.
3583 * org-element.el (org-element-timestamp-interpreter): Correctly
3584 interpret timestamps with delays.
3585 (org-element-timestamp-parser)
3586 (org-element-timestamp-interpreter): Parse warning delays.
3588 * ox-beamer.el (org-beamer--format-section): Fix regression which
3589 prevents frames from being propely exported.
3591 * ox.el (org-export-with-backend): Ensure function will use
3594 * org-list.el (org-list-allow-alphabetical): Remove reference to
3597 * ox-beamer.el (org-beamer--format-section): Protect fragile
3598 commands in sections.
3600 * org.el (org-ctrl-c-ctrl-c): When using C-c C-c at an item with
3601 point on a link, make sure checkbox, if any, is toggled.
3603 * ox-beamer.el (org-beamer--format-block): Return an error message
3604 when using a special environment as a block type. Also check for
3605 incomplete environment definitions.
3607 * org-element.el (org-element-at-point): If point is at the end of
3608 the buffer, and that buffer ends with a list, and there's no final
3609 newline, return last element in last item instead of plain list.
3610 Fix infloop when called on a blank line at the end of the buffer
3613 * org.el (org-forward-paragraph, org-backward-paragraph): New
3616 * org.el (org-meta-return): Allow M-RET to insert items within
3617 drawers. Rewrite function.
3619 * org-element.el (org-element-footnote-definition-parser): Fix
3620 value for :contents-begin when first line of footnote definition
3621 is empty besides the label.
3622 (org-element-at-point): Return correct element when point is on a
3623 blank line just below a headline.
3624 (org-element-paragraph-parser): Use
3625 `org-match-string-no-properties'. Small fixes to paragraph
3628 * org.el (org-adaptive-fill-function): Do not handle
3629 `adaptive-fill-regexp' in comments as the behavior is not
3632 * org-list.el (org-list-struct-apply-struct): Do not move item's
3633 contents within a child above when repairing indentation.
3635 * ox-html.el (org-html--build-meta-info): Fix output of meta tags
3636 when properties are present.
3638 * ox.el (org-export-collect-headlines): Do not build TOC for
3639 headlines below H value.
3641 * org-element.el (org-element-context): Modify misleading
3643 (org-element-text-markup-successor)
3644 (org-element-latex-or-entity-successor)
3645 (org-element-export-snippet-successor)
3646 (org-element-footnote-reference-successor)
3647 (org-element-inline-babel-call-successor)
3648 (org-element-inline-src-block-successor)
3649 (org-element-line-break-successor, org-element-link-successor)
3650 (org-element-plain-link-successor, org-element-macro-successor)
3651 (org-element-radio-target-successor)
3652 (org-element-statistics-cookie-successor)
3653 (org-element-sub/superscript-successor)
3654 (org-element-table-cell-successor, org-element-target-successor)
3655 (org-element-timestamp-successor): Remove LIMIT argument.
3656 (org-element--parse-objects, org-element--get-next-object-candidates):
3657 Apply signature change to successors.
3658 (org-element-context): Narrow buffer around object containers so
3659 parsing of objects when using this function is done under the same
3660 restrictions as in buffer parsing.
3662 * ox.el (org-export-table-cell-alignment): Ensure required
3663 variables are available. Use correct :test.
3664 (org-export-table-cell-width): Modify key (now an element) and
3665 value structure (now a vector) of cache so it can use `eq' as
3666 test. Elements are circular lists so `equal' cannot apply on them.
3668 * ox-publish.el (project-plist): Remove variable.
3670 * ox.el (org-export-to-buffer, org-export-to-file): Fix
3673 * ox-org.el (org-export-as-org): Add missing BODY-ONLY argument,
3674 which is always nil in this back-end.
3676 * org.el (org-adaptive-fill-function): Look for a fill prefix at
3677 the beginning of the paragraph and subsquently on its second line
3678 instead of the current line.
3680 * ob-core.el (org-babel-get-src-block-info): Look for indentation
3681 value at the correct location.
3683 * ox.el (org-export-data-with-backend): Set temporary back-end as
3684 the new back-end in local communication channel.
3685 (org-export-filter-apply-functions): Handle corner case where
3686 back-end is nil. Only provide back-end name (a symbol) as second
3687 argument of filters, not the full back-end (a vector).
3689 * ox-publish.el (org-publish-find-title): Fix title when no
3690 #+TITLE property is provided.
3692 * ox.el (org-export-store-default-title): Remove-function.
3693 (org-export--default-title): Remove variable.
3694 (org-export-options-alist): Do not use a default value.
3695 (org-export--get-buffer-attributes): Store a default title.
3696 (org-export-as): Apply function removal.
3697 (org-export--get-global-options): Do not set a property with an
3698 explicitly nil value.
3700 * ox-publish.el (org-publish-sitemap-sort-files)
3701 (org-publish-sitemap-sort-folders)
3702 (org-publish-sitemap-ignore-case, org-publish-sitemap-requested)
3703 (org-publish-sitemap-date-format)
3704 (org-publish-sitemap-file-entry-format): Set prefix to
3705 "org-publish-sitemap" instead of "org-sitemap".
3706 (org-publish-compare-directory-files)
3707 (org-publish-get-base-files-1, org-publish-projects)
3708 (org-publish-format-file-entry): Use new prefix.
3710 * org-clock.el (org-clock-total-time-cell-format)
3711 (org-clock-file-time-cell-format): Use correct type.
3714 * ox-ascii.el (org-ascii-export-as-ascii)
3715 (org-ascii-export-to-ascii):
3716 * ox-beamer.el (org-beamer-export-as-latex)
3717 (org-beamer-export-to-latex, org-beamer-export-to-pdf):
3718 * ox-html.el (org-html-export-as-html, org-html-export-to-html):
3719 * ox-icalendar.el (org-icalendar-export-to-ics):
3720 * ox-latex.el (org-latex-export-as-latex)
3721 (org-latex-export-to-pdf):
3722 * ox-man.el (org-man-export-to-man, org-man-export-to-pdf):
3723 * ox-md.el (org-md-export-as-markdown, org-md-export-to-markdown):
3724 * ox-odt.el (org-odt-export-to-odt):
3725 * ox-org.el (org-org-export-as-org, org-org-export-to-org):
3726 * ox-publish.el (org-publish-org-to):
3727 * ox-texinfo.el (org-texinfo-export-to-texinfo)
3728 (org-texinfo-export-to-info):
3729 * ox.el (org-export-to-buffer): Add two arguments: one to trigger
3730 asynchronous export and the other to do extra processing from
3732 (org-export-to-file): Add two arguments: one to trigger
3733 asynchronous export and the other to do extra processing on the
3735 (org-export-async-start): Small clean up.
3737 * ox.el (org-export-as): Use new back-end structure.
3738 (org-export-current-backend): New variable.
3739 (org-export-as): Use new variable.
3741 * ox-ascii.el (org-ascii-table): Remove spurious new line between
3742 a table and the caption below.
3744 * ox.el (org-export-to-file): Preserve coding system when writing
3746 (org-export-stack-mode-map): Fix compilation error with Emacs <
3748 (org-export--dispatch-action): Maintain compatibility with Emacs
3751 * org.el (org-adaptive-fill-function, org-fill-paragraph): Add
3752 support for `adaptive-fill-regexp' in paragraphs and comments.
3753 (org-indent-line): Fix indentation after a list.
3755 * ox.el (org-export--get-inbuffer-options): Multiple options can
3756 now be set through the same buffer keyword.
3758 * org-element.el (org-element-plain-list-parser): Fix infloop when
3759 parsing a list at the end of buffer, if buffer doesn't end at a
3761 (org-element-link-parser): Do not url-decode parsed links.
3763 * org-pcomplete.el (pcomplete/org-mode/file-option): Remove
3764 spurious white spaces, excepted for source blocks' opening string.
3766 (pcomplete/org-mode/file-option): Remove spurious colons from
3769 * ox-publish.el (org-publish-find-date): Also return date for
3771 (org-publish-get-base-files-1): Fix :recursive parameter ignoring
3772 extension restriction.
3774 * ox-beamer.el: Remove strange indentation in default header.
3775 (org-beamer-template): Fix missing newlines in header.
3777 * ox-latex.el (org-latex-template): Fix missing newlines in
3780 * ox.el (org-export-insert-default-template): Fix
3781 "wrong-type-argument" error in template insertion.
3783 * org.el (org-fill-paragraph): Use empty commented lines as
3784 separators when filling comments. This mimics default behavior
3785 from "newcomment.el", which is not used in Org.
3787 * ox-html.el (org-html-link): Add image attributes to "img" tag,
3788 not to the "a" container. Also fix spacing for attributes.
3790 * org.el (org-fill-paragraph): Do not mix consecutive comments
3791 when filling any of them.
3793 * ox-html.el (org-html-format-headline--wrap): Fix number of
3794 arguments when setting `org-html-format-headline-function'.
3796 * org-element.el (org-element-item-interpreter): This patch fixes
3797 "(wrong-type-argument arrayp nil)" error when trying to interpret
3798 empty items. Correctly interpret back plain lists with "*" items.
3799 This fixes "This is not a list" error returned in this case.
3801 * ox-latex.el (org-latex-listings): Update docstring.
3803 * org-pcomplete.el (pcomplete/org-mode/file-option/options): Apply
3804 changes to export back-end definiton.
3806 * org.el (org-get-export-keywords): Apply changes to export
3809 * ox-html.el (org-html--format-toc-headline): Make use of
3810 anonymous back-ends.
3812 * ox-odt.el (org-odt-footnote-reference): Make use of anonymous
3814 (org-odt-format-label, org-odt-toc)
3815 (org-odt-format-headline--wrap): Use `org-export-with-backend'
3816 instead of `org-export-with-translations'.
3818 * ox.el (org-export--registered-backends): Renamed from
3819 `org-export-registered-backends'.
3820 (org-export-invisible-backends): Removed variable.
3821 (org-export-get-backend, org-export-get-all-transcoders
3822 org-export-get-all-options, org-export-get-all-filters): New
3823 functions. It replaces `org-export-backend-translate-table'.
3824 (org-export-barf-if-invalid-backend, org-export-derived-backend-p,
3825 org-export-define-backend, org-export-define-derived-backend):
3826 Rewrite functions using new representation.
3827 (org-export-backend-translate-table): Remove function.
3828 (org-export-get-environment): Use new function.
3829 (org-export--get-subtree-options, org-export--parse-option-keyword,
3830 org-export--get-inbuffer-options, org-export--get-global-options,
3831 org-export-to-buffer org-export-to-file, org-export-string-as
3832 org-export-replace-region-by): Update docstring.
3833 (org-export-data-with-translations): Remove function. Use
3834 `org-export-data-with-backend' with a temporary back-end instead.
3835 (org-export-data-with-backend, org-export-as): Reflect new definition
3837 (org-export--dispatch-action, org-export--dispatch-ui): Reflect new
3838 definition for back-ends and variable removal. Refactoring.
3839 (org-export-filter-apply-functions): Call functions with
3840 current back-end's name, not full back-end.
3842 * org.el (org-export-backends, org-create-formula--latex-header):
3843 Use new structure and variables.
3845 * ox-html.el (org-html-inline-images): Change default value and
3847 (org-html-format-inline-image): Remove functions.
3848 (org-html--wrap-image, org-html--format-image)
3849 (org-html-inline-image-p): New functions.
3850 (org-html-latex-environment, org-html-latex-fragment): Use new
3852 (org-html-standalone-image-p): Use new functions. Also remove an
3853 unused optional argument.
3854 (org-html-link, org-html-paragraph): Correctly export hyperlinked
3857 * ox.el (org-export-dictionary): Update some translations.
3859 * ox-odt.el (org-odt-label-styles, org-odt-category-map-alist):
3861 (org-odt-format-label): Add docstring. Internationalize prefix.
3863 * ox.el (org-export-dictionary): Add entry for colons.
3865 * ox-odt.el (org-odt--suppress-some-translators): Remove function.
3867 * ox-html.el (org-html-link): Remove left-over binding.
3869 * ox-beamer.el (org-beamer-environments-extra): Allow to add raw
3870 title in environment definition.
3871 (org-beamer--format-block): Handle new placeholders.
3873 * ox-html.el (org-html-link): Small refactoring.
3875 * org-element.el (org-element--current-element): Fix
3876 org-meta-return error at the end of buffer.
3878 * ox-odt.el (org-odt-category-map-alist): Fix internationalization
3879 of "Table" and "Listing".
3881 * ox.el (org-export-dictionary): Remove useless dictionary
3884 * ox-ascii.el (org-ascii--build-caption): Apply removal.
3886 * ox.el (org-export-dictionary): Add spanish and german
3889 * ox-odt.el (org-odt-link): Fuzzy links to an headline with a
3890 description always use that description, even if the description
3891 is the same as the headline title.
3892 (org-odt-plain-text): Allow to turn smart quotes off.
3894 * ox-latex.el (org-latex--get-footnote-counter): Remove function.
3896 * org.el (org-setup-filling): Set `paragraph-start' and
3897 `paragraph-separate'.
3898 (org-fill-paragraph-separate-nobreak-p): Remove function.
3899 (org-mode): Do not set `paragraph-start'.
3901 * ox-html.el (html): Replace "HTML_HTML5_FANCY",
3902 "HTML_INCLUDE_STYLE" and "HTML_INCLUDE_SCRIPTS" with,
3903 respectively, ":html5-fancy", "html-style" and "html-scripts"
3905 (org-html-html5-fancy): Reformat docstring.
3906 (org-html-template): Fix typo preventing insertion of link up/link
3909 * org.el (org-create-formula--latex-header): Replace AUTO with
3910 appropriate language when previewing snippets.
3912 * ox-latex.el (org-latex-item): Allow hyperref and footnotemark in
3913 items description tags. Also remove a unnecessary hack allowing
3914 footnotemark with an optional argument in the tag.
3916 * ox.el (org-export-resolve-fuzzy-link): Fix link resolution when
3917 link lives before the first headline.
3919 * org-element.el (org-element-special-block-parser): Fix typo in
3920 regexp matching block type. Also quote the type so it can contain
3923 * ox-latex.el (org-latex-pdf-process): This argument can cause
3924 problem with links with a relative path, since compilation happens
3925 in a different directory.
3927 * org.el (org-latex-default-packages-alist): Load "ulem" package
3928 by default. Use "[normalem]" option to preserve \emph definition.
3930 * ox-latex.el (org-latex-text-markup-alist): Use "\uline" and
3931 "\sout" commands from "ulem" package.
3933 * org.el (org-latex-default-packages-alist): Document need for
3936 * ox-latex.el (org-latex-text-markup-alist): Use \ul (from "soul"
3937 package) instead of \underline for underline text.
3939 * ox.el (org-export-read-attribute): Fix "Wrong argument type"
3940 error when attributes start with :key "".
3942 * org.el (org-fill-paragraph-separate-nobreak-p)
3943 (org-fill-line-break-nobreak-p)
3944 (org-fill-paragraph-with-timestamp-nobreak-p): Fix docstrings.
3946 * org-element.el (org-element--list-struct): Fix failing
3947 "plain-list-parser" test.
3949 * ox-latex.el (org-latex-src-block): Handle :float attribute. Its
3950 value can be set to "t", "multicolumn" or "nil". Also remove
3951 :long-listing attribute, which is now replaced with :float nil.
3952 (org-latex--org-table): Replace :float table with :float t.
3953 (org-latex--inline-image): Replace :float figure with :float t.
3954 (org-latex-long-listings): Remove variable.
3956 * org-element.el (org-element--list-struct): New function.
3957 (org-element-plain-list-parser, org-element--current-element): Use
3960 * ox-man.el (org-man-compile):
3961 * ox-texinfo.el (org-texinfo-compile): Use appropriate argument.
3963 * ox-latex.el (org-latex-compile):
3964 * ox-man.el (org-man-compile):
3965 * ox-texinfo.el (org-texinfo-compile): Properly set working
3968 * ox-latex.el (org-latex-compile):
3969 * ox-texinfo.el (org-texinfo-compile): Make sure generated file
3970 can be found by `file-exists-p'.
3972 * ox-md.el (md): Delegate underscore transcoding to HTML back-end.
3974 * org-element.el (org-element--remove-indentation): Small
3976 (org-element--remove-indentation): New function.
3977 (org-element-example-block-parser, org-element-src-block-parser):
3979 (org-element-src-block-interpreter): Update function according to
3982 * ox.el (org-export-unravel-code): Do not remove any indentation
3983 since it now happens at the parser level.
3984 (org-export-table-cell-width): Be sure to use cache even when
3985 stored value is nil.
3986 (org-export--default-title): Fix "Symbol's value as variable is
3987 void: org-export--default-title".
3989 * ox-ascii.el (org-ascii--table-cell-width): Cache results of this
3990 internal function since it is called at each cell, though its
3991 value only change column wise.
3993 * ox.el (org-export-resolve-fuzzy-link): Change property name
3995 (org-export-table-has-header-p, org-export-table-row-group)
3996 (org-export-table-cell-width, org-export-table-cell-alignment):
3998 (org-export-table-cell-address): Refactor.
3999 (org-export-get-parent): Inline function.
4000 (org-export-options-alist): Change default value for :title
4002 (org-export--default-title): New dynamically scoped variable.
4003 (org-export-store-default-title): New function.
4004 (org-export--get-buffer-attributes): Remove title handling.
4005 (org-export--get-global-options): Revert "ox: Fix default title".
4008 * ox-html.el (org-html-format-latex): Provide a prefix for
4009 temporary file when using dvipng, even if the current buffer isn't
4010 associated to a file.
4012 * ox.el (org-export-resolve-radio-link): Ignore whitespace
4013 differences when resolving a radio link.
4014 (org-export-resolve-radio-link): Fix radio target resolution.
4016 * org-element.el (org-element--current-element): Be stricter when
4017 matching arguments in LaTeX environments. In particular, do not
4018 allow anything else than options and arguments in the opening
4021 * ox-html.el (org-html-inner-template): Remove code relative to
4023 (org-html-bibliography): Remove function.
4025 * ox-latex.el (org-latex-plain-text): Protect ^ char with \^{},
4026 not only \^, so it doesn't become a diacritic.
4028 * ox-html.el (org-html--build-meta-info): Fix code typo.
4030 * ox.el (org-export-expand-include-keyword): Avoid using `read' to
4031 determine file name.
4032 (org-export--get-global-options): Properly set default title,
4033 i.e. when to TITLE keyword is provided.
4035 * org-element.el (org-element--parse-elements): Also parse visible
4036 headlines within an otherwise compacted headline.
4038 * ox.el (org-export-expand-include-keyword): Tolerate included
4039 file names without double quotes.
4040 (org-export-resolve-fuzzy-link): Fix caching process.
4042 * ox-publish.el (org-publish-find-date): Fix "Invalid time
4043 specification" error with timestamps in DATE.
4045 * org-element.el (org-element--current-element): Allow the opening
4046 string of a LaTeX environment to contain additional arguments.
4048 * org.el (org-insert-heading): Refactor to use `org-in-item-p'
4051 * ox.el (org-export-expand): Optionally add affiliated keywords to
4054 * ox-org.el (org-org-identity): Use new argument for
4055 `org-export-expand'.
4057 * org.el (org-fill-paragraph): Move to table beginning before
4058 aligning the table when M-q is called from an affiliated keyword.
4060 * org-list.el (org-list-allow-alphabetical): Properly update
4061 `org-list-allow-alphabetical' when changed after org.el has been
4064 * org-element.el (org-element-fixed-width-interpreter): Fix
4065 interpretation of fixed-width elements with a nil or empty string
4068 * ox-html.el (org-html-link): Don't skip the link description when
4069 it matches the name of the headline it targets.
4071 * ox-html.el (org-html-link): Don't skip the link description when
4072 it matches the name of the headline it targets.
4074 * ox-ascii.el (ascii): Remove inexistant function.
4076 * ox-icalendar.el (icalendar): Ignore footnotes.
4077 (org-icalendar--combine-files): Small refactoring.
4079 * ox.el (org-export--skip-p, org-export--interpret-p): When
4080 `org-export-with-footnotes' is nil, ignore completely footnotes
4081 references and definitions instead of exporting them verbatim.
4083 * ox-beamer.el (org-beamer--frame-level): Small refactoring.
4084 (org-beamer--format-block, org-beamer-headline): Do not systematically
4085 downcase environment names as some require upper case in their
4086 names (e.g. noteNH and CJK).
4088 * ox.el (org-export-with-timestamps): Only applies to isolated
4089 timestamps, i.e. timestamps in a paragraph containing only
4090 timestamps and empty strings.
4091 (org-export--skip-p): Skip timestamps according to new behavior.
4093 * ox-latex.el (org-latex--script-size): Handle consecutive
4094 alterning sub and superscript.
4096 * ox-org.el (org-org-identity): Fix docstring. Tiny refactoring.
4097 (org-org-headline, org-org-keyword): Fix docstring.
4099 * ox-latex.el (org-latex--script-size): Use \text command for
4100 subscript and superscript. This is far superior to \mathrm, but
4101 it requires "amstext" package. In particular, accented characters
4102 are now allowed within sub/superscript.
4104 * org.el (org-latex-default-packages-alist): Add "amstext"
4107 * ox-latex.el (org-latex--script-size): Fix error when using
4108 sub/superscript within sub/superscript.
4110 * ox-latex.el (org-latex--script-size): New function.
4111 (org-latex-subscript, org-latex-superscript): Use new function.
4112 Remove instructions since everything is documented in Org manual.
4114 * ox.el (org-export-with-smart-quotes): Use LATEX instead of LaTeX
4115 for keywords, the latter being hard to type, somewhat difficult to
4116 read, and overall just pedantic.
4118 * ox-latex.el (org-latex-classes): Be more explicit about
4121 * ox-html.el (org-html--build-meta-info): Fix invalid characters
4124 * ox.el (org-export-filters-alist): Remove macro filter.
4125 (org-export-filter-macro-functions): Remove variable.
4127 * ox-beamer.el (beamer): Install a default class set-up when
4130 * ox-latex.el (org-latex-classes): Update docstring.
4132 * ox-latex.el (org-latex--inline-image): Remove specific default
4133 image width for floats. If no width nor height is provided, it
4134 should default to `org-latex-image-default-width' value.
4136 * org.el (org-extract-attributes-from-string)
4137 (org-attributes-to-string): Remove functions.
4139 * ox-html.el (html): Rename :html-table-tag property into
4140 :org-table-attributes.
4141 (org-html-table-default-attributes): New variable.
4142 (org-html-table-tag): Removed variable.
4143 (org-html--make-attribute-string): New function.
4144 (org-html-link--inline-image, org-html-table): Use new function.
4145 (org-html-splice-attributes, org-export-splice-style): Remove
4147 (org-html-inline-image-rules): Remove out of context part of the
4150 * ox.el (org-export-read-attribute): Allow to use empty strings in
4153 * ox-html.el (org-html-metadata-timestamp-format): New variable,
4154 renamed from `org-html--timestamp-format'.
4155 (org-html--build-meta-info, org-html-format-spec,
4156 org-html--build-pre/postamble): Use new variable.
4158 * ox.el (org-export-table-row-number): New function.
4159 (org-export-table-cell-address): Use new function.
4161 * org-element.el (org-element-table-cell-successor): Parse table
4162 cells with missing ending space.
4164 * ox-latex.el (org-latex--math-table): Fix inline-math table
4167 * ox-html.el (org-html-doctype): Make value fit on a single line
4168 so `org-export-insert-default-template' can handle it.
4169 (org-html-creator-string): Change default value.
4171 * ox.el (org-export-creator-string): Change default value.
4173 * ox-html.el (org-html-postamble-format)
4174 (org-html-preamble-format): Allow last modification time of source
4175 in template. Fix docstrings.
4176 (org-html-format-spec): Produce last modification time when the source
4179 * ox.el (org-export-with-archived-trees, org-export-with-author)
4180 (org-export-with-clocks, org-export-with-date)
4181 (org-export-creator-string, org-export-with-drawers)
4182 (org-export-with-email, org-export-with-emphasize)
4183 (org-export-exclude-tags, org-export-with-fixed-width)
4184 (org-export-with-footnotes, org-export-with-latex)
4185 (org-export-headline-levels, org-export-default-language)
4186 (org-export-preserve-breaks, org-export-with-entities)
4187 (org-export-with-inlinetasks, org-export-with-planning)
4188 (org-export-with-priority, org-export-with-section-numbers)
4189 (org-export-select-tags, org-export-with-smart-quotes)
4190 (org-export-with-special-strings)
4191 (org-export-with-statistics-cookies)
4192 (org-export-with-sub-superscripts, org-export-with-toc)
4193 (org-export-with-tables, org-export-with-tags)
4194 (org-export-with-tasks, org-export-time-stamp-file)
4195 (org-export-with-timestamps, org-export-with-todo-keywords): Fix
4198 * ox-html.el (org-html-postamble-format): Slightly change default
4199 value so "Generated by" string doesn't get duplicated.
4200 (org-html-creator-string): Fix docstring.
4202 * ox.el (org-export--get-inbuffer-options)
4203 (org-export--list-bound-variables)
4204 (org-export--generate-copy-script, org-export-string-as)
4205 (org-export-expand-include-keyword)
4206 (org-export--prepare-file-contents): Inhibit startup process when
4209 * ox-publish.el (org-publish-find-date): Fix "bad timestamp" error
4210 with some DATE values: :date property in communication channel is
4213 * ox.el (org-export-insert-default-template): New function.
4214 (org-export--dispatch-ui, org-export--dispatch-action): Access to
4215 the function through the dispatcher.
4217 * ox-icalendar.el (org-icalendar-convert-timestamp): Update
4219 (org-icalendar-dtstamp): New function.
4220 (org-icalendar--vevent, org-icalendar--vtodo): Use new function.
4222 * ox-ascii.el (org-ascii-link):
4223 * ox-html.el (org-html-keyword):
4224 * ox-latex.el (org-latex-keyword, org-latex-link):
4225 * ox-man.el (org-man-keyword):
4226 * ox-md.el (org-md-link):
4227 * ox-odt.el (org-odt-keyword):
4228 * org.el (org-store-link, org-link-search, org-options-keywords):
4229 Remove reference to TARGET keyword.
4231 * ox.el (org-export-resolve-fuzzy-link, org-export-get-ordinal):
4232 Do not use TARGET as a destination for links anymore.
4234 * ox-org.el (org): Add a menu entry for the back-end.
4235 (org-org-export-as-org, org-org-export-to-org): New functions.
4237 * org.el (org-export-backends): Accept `org' as a loadable
4240 * ox-ascii.el (org-ascii-template--document-title): Use new function.
4242 * ox-beamer.el (org-beamer-template): Use new function.
4244 * ox-html.el (org-html-format-spec): Use new function.
4246 * ox-latex.el (org-latex-template): Use new function.
4247 (org-latex-date-timestamp-format): Remove variable.
4249 * ox.el (org-export-date-timestamp-format): New variable.
4250 (org-export-get-date): New function.
4252 * ox-odt.el (org-odt--format-paragraph): New function.
4253 (org-odt-paragraph): Use new function to limit code duplication.
4254 (org-odt-footnote-reference): Change default style for paragraphs
4255 when transcoding a footnote definition.
4257 * org-macro.el (org-macro--collect-macros): Fix a bug where
4258 reading a macro in a setup file would remove other macros read so
4259 far from template. Change function signature.
4260 (org-macro-initialize-templates): Apply signature change from function
4263 * ox.el (org-export--list-bound-variables): Renamed from
4264 `org-export--install-letbind-maybe'. Though, only return list of
4265 bound variables instead of installing them as buffer-local
4267 (org-export-get-environment): Use new function. Take care of the
4268 installation of bound variables.
4269 (org-export--generate-copy-script): Make sure non-Org variables are
4270 also installed in buffer copy.
4272 * ox.el (org-export-get-environment): Update comment.
4273 (org-export--install-letbind-maybe): Go into SETUPFILE files and
4274 handle BIND keywords there.
4276 * ox-latex.el (org-latex-link): Do not prefix relative paths with
4279 * org.el (org-link-search): Preserve priority of #+TARGET over
4280 #+NAME when resolving a link.
4282 * ox-latex.el (org-latex-long-listings): New variable.
4283 (org-latex-src-block): Use new variable.
4285 * ox.el (org-export-data): White spaces after export snippets are
4288 * org-element.el (org-element-macro-parser): Allow to escape
4289 escaping character before a comma. Also do not trim spaces at
4290 argument boundaries.
4292 * ox.el (org-export-async-start): Use correct coding system so
4293 unibyte characters do not appear in the resulting buffer or file.
4294 (org-export--copy-to-kill-ring-p): Move function elsewhere in the
4297 * ox-latex.el (org-latex--inline-image): Fix error when no default
4298 width, height and option are provided and no attribute is set for
4301 * org.el (org-comment-or-uncomment-region): Fix commenting lines
4302 beginning with a link.
4303 (org-delete-char): Fix "Invalid use of `\\' in replacement text"
4304 when deleting a character in a cell which contains "\"
4305 (org-export-backends): Remove duplicates. Reorder alphabetically.
4307 * ox-texinfo.el (org-texinfo-plain-list): Use `member' instead of
4308 `memq' when matching strings.
4310 * ox.el (org-export-read-attribute): Do not use `read' to read
4311 attributes. Instead, extract keywords and values from it, which
4312 means each value will be a string when non-nil.
4314 * ox-beamer.el (org-beamer-plain-list): Use new attribute syntax.
4316 * ox-html.el (org-html--textarea-block): Use new attribute syntax.
4318 * ox-latex.el (org-latex--inline-image, org-latex--org-table)
4319 (org-latex--math-table): Use new attribute syntax.
4321 * ox-man.el (org-man-table--org-table): Use new attribute syntax.
4324 * ox-odt.el (org-odt-link--inline-image, org-odt-table-cell): Use
4325 new attribute syntax.
4327 * ox.el (org-export-async-start): Remove code evaluation queries
4328 from asynchronous export.
4330 * ox-latex.el (latex): Activate smart quotes by default.
4331 (org-latex--inline-image): Don't insert a default width when
4332 height is provided in a figure environment.
4333 (org-latex--inline-image): Do not use default width
4334 (resp. height) when an user height (resp. width) is provided.
4335 Also, default height is only used when image is not wrapped within
4336 a figure or wrapfigure environment, in order to preserve ratio.
4337 (org-latex-image-default-width, org-latex-image-default-height):
4340 * ox-icalendar.el (org-icalendar-create-uid): Fix error when
4341 `org-icalendar-store-UID' is non-nil.
4343 * ox-latex.el (latex): Introduce new buffer keyword.
4344 (org-latex-template): Use new keyword.
4346 * ox-beamer.el (org-beamer-template): Use new keyword.
4348 * org.el (org-create-formula--latex-header): Use new keyword.
4350 * ox-beamer.el (org-beamer-column-view-format, org-beamer-theme)
4351 (org-beamer-environments-extra): Add :version and
4354 * ox-html.el (org-html-with-latex, org-html-inline-image-rules):
4355 Add :version and :package-version.
4357 * ox-latex.el (org-latex-inline-image-rules)
4358 (org-latex-default-table-environment)
4359 (org-latex-default-table-mode, org-latex-tables-booktabs)
4360 (org-latex-table-scientific-notation, org-latex-known-errors): Add
4361 :version and :package-version.
4363 * ox-md.el (org-md-headline-style): Add :version and
4366 * ox-odt.el (org-odt-with-latex): Add :version
4367 and :package-version.
4369 * ox.el (org-export-with-drawers, org-export-with-latex)
4370 (org-export-with-inlinetasks, org-export-with-planning)
4371 (org-export-with-smart-quotes, org-export-with-statistics-cookies)
4372 (org-export-allow-bind-keywords, org-export-async-init-file): Add
4373 :version and :package-version.
4375 * ox-icalendar.el (org-icalendar-export-to-ics): Change back-end
4376 name from `e-ascii' to `ascii'.
4378 * ox.el (org-export--generate-copy-script): Call `org-mode' when
4379 duplicating a buffer. It will properly set every variable, like
4381 (org-export-async-start): Do not call `org-mode' since this is done
4382 already in the previous function.
4384 * ox-beamer.el (org-beamer-keyword): Remove frame arount toc when
4385 generated from a TOC keyword.
4387 * org.el (org-export-backends): Do not reset list of loaded
4388 back-ends to variable's value after a reload.
4390 * ox-latex.el (org-latex-src-block): Do not overwrite provided
4391 numbering options in minted and listings.
4392 (org-latex-headline): Don't add optional title on unnumbered
4395 * ox-html.el (html): Fix "HTML_HEAD" and "HTML_HEAD_EXTRA"
4396 keywords. Allow multiple #+LATEX_HEAD and #+LATEX_HEAD_EXTRA
4399 * org.el (org-fill-paragraph): Small refactoring to
4400 `org-fill-paragraph'. Do not look for table cells in a paragraph.
4402 * org-element.el (org-element-object-restrictions): Simplify
4403 restrictions within secondary strings and objects.
4405 * org-list.el (org-list-send-list): Do not rely on
4406 `org-list-parse-list'.
4407 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Use
4408 appropriate export back-end instead of using
4409 `org-list-to-generic'.
4411 * ox-html.el (org-html-inner-template): Remove contents div and
4413 (org-html-template): Add contents div and title.
4414 (org-html-infojs-install-script): Can't activate jsinfo script
4415 during a body-only export.
4417 * ox.el (org-export-as): Store export options in :export-options
4418 porperty within communication channel.
4420 * ox-latex.el (org-latex-item): Fix wrong behavior when a counter
4421 is set in an ordered list while its parent is not ordered.
4423 * ox.el (org-export-format-code-default): Handle empty source
4424 blocks more gracefully.
4426 * ox-ascii.el (org-ascii-src-block): Handle empty blocks more
4429 * org.el (org-export-backends): Update variable. `infojs' was
4430 merged into ox-html and `freemind' was added.
4432 * ox.el (org-export--selected-trees): Also mark inlinetasks with a
4434 (org-export--skip-p): Skip inlinetasks with a :noexport: tag.
4436 * ob-tangle.el (org-babel-spec-to-string): Use dedicated function
4437 for unescaping code.
4439 * ox-html.el (org-html-link): Silence byte-compiler.
4440 (html): Add infojs installation script in options filter.
4441 (org-html-infojs-install-script): Remove check for back-end as we
4442 can safely assume the function will be called from `html' back-end
4443 or one of its derivative.
4445 * ox-icalendar.el (org-agenda-collect-markers)
4446 (org-create-marker-find-array): Remove functions.
4447 (org-icalendar-export-current-agenda): Integrate previous
4450 * ox-latex.el (org-latex-format-headline-default-function): Use
4451 declarative shape to nest makup for TODO keywords. Previous
4452 syntax generated errors during export.
4454 * ox.el (org-export-async-start): Ignore `org-mode-hook' and
4455 `kill-emacs-hook'. The first one has been run in the original
4456 buffer. The second is not necessary and can pollute output to a
4457 temporary buffer (e.g. with `org-clock-persistence-insinuate').
4459 * ox-html.el (org-html-inner-template): Remove title.
4460 (org-html-template): Add title.
4462 * ox.el (org-export--get-min-level): Ignore footnote section when
4463 computing minimal headline level.
4465 * org.el (org-do-latex-and-related): Fix infloop when user
4466 provides a wrong value for `org-highlight-latex-and-related'. In
4467 this case, `org-latex-and-related-regexp' is the empty string and
4468 generates an infloop since matching it doesn't move point.
4470 * org-element.el (org-element-headline-parser): Rename
4471 :optional-title into :alt-title.
4473 * ox.el (org-export-get-alt-title): Renamed from
4474 `org-export-get-optional-title'.
4476 * ox-ascii.el (org-ascii--build-title):
4477 * ox-html.el (org-html--format-toc-headline):
4478 * ox-latex.el (org-latex-headline):
4479 * ox-texinfo.el (org-texinfo--get-node)
4480 (org-texinfo--generate-menu-items): Apply name change.
4482 * ox.el (org-export--get-inbuffer-options): Remove an optional
4483 argument. Rewrite function. Properties read from a setupfile do
4484 not overwrite anymore previously computed properties.
4485 (org-export-get-environment): Apply changes to previous function.
4487 * org.el (org-create-formula--latex-header): Apply arity change
4488 from `org-export--get-inbuffer-options'.
4490 * ox-latex.el (org-latex-compile): Add an optional argument for
4491 latex snippet previewing.
4493 * org.el (org-create-formula-image-with-imagemagick): Use
4494 `org-latex-compile' instead of rewriting it.
4496 * ox-html.el (org-html-fontify-code): Do not use [^\000] in
4497 regexps that may match large strings.
4499 * org.el (org-create-formula--latex-header): New function.
4500 (org-create-formula-image-with-dvipng)
4501 (org-create-formula-image-with-imagemagick): Use new function.
4503 * ox.el (org-export-get-previous-element): Change order of retured
4504 elements in `org-export-get-previous-element'.
4506 * org-element.el (org-element-all-successors): Add `plain-link'
4508 (org-element-object-restrictions): Remove `link' within `link'.
4509 Allow `plain-link' instead.
4510 (org-element-plain-link-successor): New function.
4512 * org.el (org-match-substring-regexp)
4513 (org-match-substring-with-braces-regexp): Update regexp. A
4514 sub/superscript cannot start anymore at the beginning of the line
4517 * org-element.el (org-element--get-next-object-candidates):
4518 Rewrite function to simplify algorithm.
4519 (org-element-context, org-element--parse-elements): Apply changes.
4521 * org.el (org-fill-paragraph): Apply changes.
4523 * ox-html.el (org-html-link, org-html-link--inline-image):
4524 Attributes specified to a paragraph only apply to first link
4527 * ox-latex.el (org-latex-headline): Do not add optional section
4528 name when section is unnumbered.
4530 * org.el (org-in-verbatim-emphasis): Fix false positive when point
4531 is just after the closing emphasis marker.
4532 (org-fill-paragraph): Do not move point when filling a table.
4534 * ox-ascii.el (ascii): Add new filter.
4535 (org-ascii-filter-comment-spacing): New function.
4536 (org-latex-keyword): Remove "figures" value.
4538 * ox-ascii.el (org-ascii--list-tables): Fix docstring.
4540 * ox-html.el (org-html--format-toc-headline): Fix function name.
4541 (org-html-toc, org-html--toc-text): Change to docstring.
4542 (org-html-list-of-listings, org-html-list-of-tables): New
4544 (org-html-keyword): Use new functions.
4545 (org-html-src-block): Add an ID attribute when a name is given.
4547 * org-element.el (org-element-footnote-definition-parser): Require
4548 2 blank lines to separate footnote definition.
4550 * org-footnote.el (org-footnote-at-definition-p): Require 2 blank
4551 lines to separate footnote definition.
4553 * ox.el (org-export-stack): Rewrite.
4554 (org-export-stack-refresh): Refactor.
4555 (org-export-stack-remove, org-export-stack-view): Apply renaming.
4556 (org-export-stack-mode-map): Use tabulated list map as a basis.
4557 (org-export-stack--generate, org-export-stack--num-predicate): New
4559 (org-export-get-optional-title): Return regular title when no
4560 optional title is found.
4562 * ox-ascii.el (org-ascii--build-title): Apply change to
4563 `org-export-get-optional-title'.
4565 * ox-html.el (org-html--format-toc-headline): Apply change to
4566 `org-export-get-optional-title'.
4568 * ox-latex.el (org-latex-headline): Apply change to
4569 `org-export-get-optional-title'.
4571 * ox-ascii.el (org-ascii--build-title): Add an argument. Use
4572 optional title when building a toc line.
4573 (org-ascii--build-toc): Call `org-ascii--build-title' with
4574 appropriate arguments.
4576 * ox-latex.el (org-latex-headline): Use optional title for table
4579 * ox-html.el (org-html--toc-text): Renamed from
4580 `org-html-toc-text'. Add docstring.
4581 (org-html--format-toc-headline): Renamed from
4582 `org-html-format-toc-headline'. Add docstring. Use optional
4584 (org-html-toc): Add docstring.
4586 * org-element.el (org-element-headline-parser): Node property
4587 :OPTIONAL_TITLE: in a headline will be parsed and stored under
4588 :optional-title property.
4590 * ox.el (org-export-get-optional-title): New function.
4592 * ox-latex.el (org-latex-format-headline-default-function): Make
4593 the variable a function.
4595 * ox-publish.el (org-publish-resolve-external-fuzzy-link): No
4596 error when resolving external fuzzy links outside publishing.
4597 Though search option for these links will not be resolved.
4599 * ox-latex.el (org-latex-guess-inputenc): Set inputenc option
4600 according to `org-export-coding-system'.
4602 * ox.el (org-export--generate-copy-script): Clone
4603 `buffer-file-coding-system' when creating a buffer copy.
4605 * ox-html.el (org-html-link): Resolve external links with search
4606 options like [[file.org::#custom-id]] or
4607 [[file.org::*headline-search]].
4609 * ox-publish.el (org-publish-collect-numbering)
4610 (org-publish-resolve-external-fuzzy-link): New functions.
4611 (org-publish-org-to): Add new collecting function to final output
4612 filter. Move index collecting function to the same filter.
4613 (org-publish-collect-index): Called from final output filter.
4615 * ox-html.el (org-html-format-headline--wrap, org-html-headline):
4616 Use :CUSTOM_ID, not :custom-id.
4618 * org-element.el (org-element-latex-environment-parser): Fix wrong
4619 value for :post-affiliated property when parsing a latex
4622 * ox-latex.el (org-latex-property-drawer): Remove function.
4624 * ox-ascii.el (org-ascii-filter-paragraph-spacing): Remove
4625 reference to now renamed `e-ascii' back-end.
4627 * ox-beamer.el (org-beamer-template): Allow to span documentclass
4628 options accross multiple lines in template.
4630 * ox-latex.el (org-latex-template): Allow to span documentclass
4631 options accross multiple lines in template.
4633 * ox-texinfo.el (org-texinfo--get-node): Upcase property name.
4634 (org-texinfo--get-node): New function.
4635 (org-texinfo-headline, org-texinfo-link): Use new function.
4637 * ox-ascii.el (org-ascii-quote-block): Do not fill quote block
4638 contents. Just indent them.
4640 * ox-publish.el (org-publish-index-generate-theindex): Do not
4641 create an "* Index" headline in "theindex.inc". Though, create an
4642 "Index" title in fallback "theindex.org".
4644 * ox-publish.el (org-publish-projects): Publish "theindex.org"
4645 last, so that "theindex.inc" can be completed.
4647 * ox-publish.el (org-publish-project-alist): Fix docstring.
4648 (org-publish-collect-index): Fix typo.
4650 * ox.el (org-export--dispatch-ui): Prevent invisible cursor from
4651 highlighting brackets in UI
4653 * org-element.el (org-element-headline-parser)
4654 (org-element-inlinetask-parser): Fix docstring.
4656 * org.el (org-export-backends): Add new back-end in customize
4659 * ox-beamer.el (org-beamer--get-label, org-beamer--frame-level)
4660 (org-beamer--format-section, org-beamer--format-frame)
4661 (org-beamer--format-block, org-beamer-headline): Apply changes to
4664 * ox-html.el (org-html-headline, org-html-link, org-html-section):
4665 Apply changes to properties.
4667 * ox-icalendar.el (org-icalendar-create-uid)
4668 (org-icalendar-blocked-headline-p, org-icalendar-entry)
4669 (org-icalendar--valarm): Apply changes to properties.
4671 * ox-odt.el (org-odt-headline): Apply changes
4673 * ox-publish.el (org-publish-collect-index): Apply changes to
4676 * ox-texinfo.el (org-texinfo--generate-menu-list)
4677 (org-texinfo--generate-menu-items, org-texinfo-template)
4678 (org-texinfo-headline, org-texinfo-link): Apply changes to
4681 * ox.el (org-export-resolve-id-link, org-export-get-category):
4682 Apply changes to properties.
4683 (org-export-get-node-property): Update docstring.
4685 * org-element.el (org-element-headline-parser)
4686 (org-element-inlinetask-parser): Upcase properties. This is done
4687 to avoid confusion between properties from parser (e.g. `:end')
4688 and properties from the property drawer (e.g. :END:).
4690 * ox-publish.el (org-publish-index-generate-theindex): Preserve
4691 order in file. Fix error when two index entries were identical.
4692 Create again theindex.inc.
4694 * org-element.el (org-element-map): Allow to map over any list.
4695 Do not restrict mapping to object types.
4697 * org-faces.el (org-latex-and-related): Renamed from
4698 `org-latex-and-export-specials', which wasn't appropriate anymore.
4700 * org.el (org-highlight-latex-and-related)
4701 (org-latex-and-related-regexp): New variables.
4702 (org-compute-latex-and-related-regexp, org-do-latex-and-related): New
4703 function, revived from a previous commit.
4704 (org-set-regexps-and-options, org-set-font-lock-defaults): Use new
4706 (org-set-regexps-and-options): Remove reference to LATEX_CLASS and
4709 * ox-publish.el (org-publish-org-to): Small refactoring.
4711 * ox.el (org-export-install-filters): Properly install filters
4712 send through ext-plist mechanism.
4714 * ox-publish.el (org-publish-org-to): Small refactoring.
4716 * ox-html.el (org-html-keyword): Remove INDEX keyword handling.
4717 ox-publish.el takes care of it already.
4719 * org-macro.el: New file.
4721 * org.el: Remove macro code.
4723 * ox.el: Require new library
4725 * ox.el (org-export-resolve-fuzzy-link): Ignore statistics cookies
4726 when matching an headline.
4727 (org-export--dispatch-ui): Display a help message in header line
4728 for scrolling dispatcher's buffer
4729 (org-export-resolve-radio-link): Radio targets are
4732 * ox-icalendar.el (org-export-icalendar): Fix docstring.
4734 * ox.el (org-export-dispatch): Fix docstring.
4735 (org-export--dispatch-action): Small improvement to line by line
4737 (org-export-resolve-fuzzy-link): Refactor. Whitespaces are not
4738 significant when matching a fuzzy link.
4740 * org-element.el (org-element-link-parser): Do not remove newlines
4741 characters in paths anymore, since this is not required.
4743 * ox.el (org-export--dispatch-ui): Renamed from
4744 `org-export-dispatch-ui'. Handle scrolling.
4745 (org-export--dispatch-action): Renamed from
4746 `org-export-dispatch-action'. Implement scrolling.
4747 (org-export-dispatch): Apply renaming.
4749 * org.el (org-ctrl-c-ctrl-c): Do nothing when at a blank line,
4750 but still run `org-ctrl-c-ctrl-c-final-hook'.
4751 (org-end-of-line): Remove `ignore-error'.
4753 * org-element.el (org-element-at-point): Return nil when in the
4754 first empty lines of the buffer. Return headline when in empty
4755 lines just after the headline.
4757 * ox.el (org-export-output-file-name): Add a protection when
4758 output file name is the same as the original org.
4760 * ox-beamer.el (org-beamer-template): Add missing `class' argument
4761 for `format-string'.
4763 * ox-latex.el (org-latex-template): Add missing `class' argument
4764 for `format-string'.
4766 * ox.el (org-export-stack-mode): Fix docstring.
4768 * org-pcomplete.el (pcomplete/org-mode/file-option): Allow
4769 completion for ATTR_ prefixed keywords.
4771 * org.el (org-options-keywords): Add missing colons.
4773 * org-macs.el (org-default-options): Removed function.
4775 * org-pcomplete.el (org-command-at-point): Fix bug with some file
4777 (pcomplete/org-mode/file-option/x): Removed macro.
4778 (pcomplete/org-mode/file-option): Refactor code.
4779 (pcomplete/org-mode/file-option/author)
4780 (pcomplete/org-mode/file-option/date)
4781 (pcomplete/org-mode/file-option/title)
4782 (pcomplete/org-mode/file-option/tags)
4783 (pcomplete/org-mode/file-option/select_tags)
4784 (pcomplete/org-mode/file-option/priorities)
4785 (pcomplete/org-mode/file-option/language)
4786 (pcomplete/org-mode/file-option/filetags)
4787 (pcomplete/org-mode/file-option/exclude_tags)
4788 (pcomplete/org-mode/file-option/email): New functions.
4790 * ox.el (org-export--collect-headline-numbering): Remove footnote
4792 (org-export-collect-headlines): Do not count footnote section when
4793 numbering a headline.
4795 * ox-beamer.el (org-beamer-plain-list): Also read #+attr_latex
4796 attributes in order to determine list's options.
4798 * ox-ascii.el (org-ascii-inner-template): New function.
4799 (org-ascii-template): Use new function.
4800 (org-ascii-export-as-ascii, org-ascii-export-to-ascii): Update
4803 * org-element.el (org-element-link-parser): Take into
4804 consideration links filled and indented.
4806 * org-element.el (org-element-link-parser): Remove all newline
4807 characters in path property.
4809 * ox.el (org-export-as): Call `inner-template' function, if
4812 * ox-html.el (org-html-inner-template): New function.
4813 (org-html-template): Move all parts that should be inserted even
4814 in a body-only export into `org-html-inner-template'.
4816 * org.el (org-forward-element, org-backward-element): When no
4817 headline is found at the same level, still move forward or
4820 * org-element.el (org-element--current-element): Add a limit
4822 (org-element--collect-affiliated-keywords): Fix parsing of orphaned
4823 keyword at the end of an element.
4825 * ox-texinfo.el (org-texinfo-src-block): Remove spurious newline
4826 character as `org-export-format-code-default' already makes sure
4827 the string returned will end with a single one.
4829 * ox-latex.el (org-latex-headline): When a function returns a
4830 sectioning command, only one placeholder should be required.
4832 * org-element.el (org-element-nested-p): Do not inline function.
4834 * ox.el (org-export-copy-buffer, org-export-with-buffer-copy)
4835 (org-export--generate-copy-script): Moved earlier in the file.
4837 * ox-texinfo.el (org-texinfo-link): Do not transform path part of
4840 * org.el (org-org-menu): Small refactoring.
4842 * ox-beamer.el (require):
4843 * ox-icalendar.el (require):
4844 * ox-jsinfo.el (require):
4845 * ox-md.el (require): Require cl when compiling.
4847 * org.el (org-export-backends):
4848 * ox.el (org-export-dispatch): Fix docstring.
4850 * ox.el (org-export-dispatch-ui): Widen UI by 2 characters.
4852 * ox-latex.el (org-latex-special-block): Add :options attribute to
4853 special blocks to specify options.
4855 * ox-beamer.el (org-beamer-template): Add BEAMER_HEADER keywords
4858 * ox-latex.el (org-latex-format-headline-function): Fix missing
4859 parens in the docstring.
4861 * org.el (org-export-backends): Remove `:initialize' function.
4863 * org.el (org-reload): Also reload export back-ends in use.
4865 * ox-latex.el (org-latex-example-block, org-latex-src-block):
4866 Ignore element if it's empty. This fixes error "apply: Wrong
4867 number of arguments: max, 0".
4869 * ox-beamer.el (org-beamer-template): Provide an error when LaTeX
4872 * ox-latex.el (org-latex-template): Provide an error when LaTeX
4875 * org.el (org-modules): Remove export back-ends from the list.
4877 (org-export-backends): New variable.
4879 * ox.el (org-export-async-start): Make sure export framework is
4880 required in the external process.
4882 * org.el (org-format-latex-header-extra, org-export-have-math):
4884 (org-latex-default-packages-alist): Renamed from
4885 `org-export-latex-default-packages-alist'.
4886 (org-latex-packages-alist): Renamed from
4887 `org-export-latex-packages-alist'.
4888 (org-try-cdlatex-tab, org-cdlatex-underscore-caret,
4889 org-cdlatex-math-modify): Reorder in file.
4890 (org-format-latex): Remove `org-format-latex-header-extra'.
4891 (org-create-formula-image-with-dvipng,
4892 org-create-formula-image-with-imagemagick): Apply variables renaming
4895 * org-entities.el (org-entities-user): Update docstring.
4897 * ox-latex.el (org-latex-classes, org-latex-listings): Update
4899 (org-latex-guess-inputenc): Renamed from `org-latex--guess-inputenc'.
4900 (org-latex-guess-babel-language): Renamed from
4901 `org-latex--guess-babel-language'.
4902 (org-latex-template): Apply renaming.
4904 * ox-beamer.el (org-beamer-template): Apply renaming.
4906 * ob-latex.el (org-babel-execute:latex): Apply variable renaming
4908 (org-babel-latex-tex-to-pdf): Call `org-latex-compile' instead of
4911 * org-macs.el (org-if-unprotected, org-if-unprotected-1)
4912 (org-if-unprotected-at): Removed macros.
4913 (org-re-search-forward-unprotected): Removed function.
4915 * org.el (org-format-latex):
4916 * org-list.el (org-list-struct):
4917 * org-footnote.el (org-footnote-at-reference-p):
4918 * org-capture.el (org-capture-fill-template): Remove reference to
4921 * ob-exp.el (org-babel-exp-process-buffer): Renamed from
4922 `org-export-blocks-preprocess'.
4924 * ox.el (org-export-execute-babel-code): Apply previous renaming.
4926 * org-pcomplete.el (pcomplete/org-mode/file-option): Collect valid
4927 keywords for completion without requiring the whole export
4929 (pcomplete/org-mode/file-option/options): Rewrite using new export
4930 framework. Only complete up to the colon.
4931 (pcomplete/org-mode/file-option/x): Removed macro.
4932 (pcomplete/org-mode/file-option/title)
4933 (pcomplete/org-mode/file-option/author)
4934 (pcomplete/org-mode/file-option/email)
4935 (pcomplete/org-mode/file-option/date): Removed functions.
4936 (pcomplete/org-mode/file-option/infojs_opt): New function.
4938 * org-clock.el (org-clocktable-defaults)
4939 (org-clocktable-write-default): Avoid requiring the whole export
4940 framework just to check one variable.
4942 * org-footnote.el (org-footnote-section): Update docstring.
4943 (org-footnote-normalize): Remove all export related part from the
4946 * org-inlinetask.el (org-inlinetask-export)
4947 (org-inlinetask-export-templates): Removed variables.
4948 (org-inlinetask-export-handler): Removed function.
4950 * org-plot.el: Remove dependency on `org-exp' library.
4952 * org.el (org-additional-option-like-keywords): Remove variable.
4953 (org-get-export-keywords): New function.
4954 (org-options-keywords): Update default list of keywords.
4955 (org-remove-flyspell-overlays-in): Apply changes to keywords
4957 (org-highlight-latex-fragments-and-specials)
4958 (org-latex-and-specials-regexp)
4959 (org-export-html-special-string-regexps): Remove variables.
4960 (org-compute-latex-and-specials-regexp)
4961 (org-do-latex-and-special-faces, org-remove-file-link-modifiers):
4963 (org-set-regexps-and-options, org-set-font-lock-defaults): Apply all
4965 (org-use-sub-superscripts): Fix docstring. Remove unused group.
4966 (org-match-sexp-depth): Make it a defconst instead of a defcustom
4967 in order to remove `org-export-translation' group completely.
4969 * ob-haskell.el (org-babel-haskell-export-to-lhs): Use new
4972 * ob-latex.el (org-babel-execute:latex): Use new exporter.
4974 * ob-org.el (org-babel-execute:org): Use new exporter.
4976 * org-agenda.el (org-agenda-menu, org-agenda-write): Use new
4977 iCalendar export back-end.
4979 * org-table.el (org-table-export, orgtbl-export): Remove
4980 dependency on `org-exp' library.
4981 (org-table-clean-before-export): New function.
4982 (org-table-colgroup-info): New variable.
4983 (orgtbl-to-html): Use to new HTML export back-end.
4985 * org.el (org-modules): Remove modules relative to obsolete export
4986 framework and add those relative to the new one.
4987 (org-create-formula-image-with-dvipng, org-format-latex
4988 org-create-formula-image-with-imagemagick): Use new exporter.
4989 (org-indent-line): INCLUDE keywords are indented like regular
4991 (org-mode-map): Bind C-c C-e to new export dispatcher.
4992 (org-menu): Install new exporter in menu.
4997 * org-exp-blocks.el:
5007 * org-special-blocks.el:
5008 * org-taskjuggler.el:
5009 * org-xoxo.el: Remove
5024 * ob-exp.el (org-export-blocks-preprocess): Do not use
5025 `indent-code-rigidly' as it doesn't indent contents of strings.
5027 * org-element.el (org-element-map): Change to function
5028 indentation. Also complete docstring.
5030 * org.el (org-ctrl-c-ctrl-c): Major rewrite function using
5033 * org-element.el (org-element-at-point): When point is before any
5034 element, in the first blank lines of the buffer, return nil. When
5035 point is within blank lines just after a headline, return that
5037 (org-element-context): Return nil when point is within the blank at
5038 the beginning of the buffer.
5040 * org.el (org-edit-special): Fix regression.
5041 (org-timestamp-has-time-p, org-timestamp-format)
5042 (org-timestamp-split-range, org-timestamp-translate): New
5045 * org-element.el (org-element-timestamp-interpreter): Interpret
5046 timestamps ranges with repeaters.
5048 * org.el (org-edit-special): Rewrite `org-edit-special' using Org
5049 Elements tools. Behavior should be unchanged.
5051 * org-element.el (org-element-context): Add an optional argument
5052 so that (org-element-context) and (org-element-context
5053 (org-element-at-point)) are equivalent.
5055 * ob.el: Only use the :wrap argument up to the first space when
5056 creating the #+END_ directive.
5058 * org-element.el (org-element-object-variables): New variable.
5059 (org-element-parse-secondary-string): Copy some buffer-local
5060 variables to the temporary buffer created to parse the string so
5061 links can still be properly expanded.
5062 (org-element-link-parser): Link expansion and translation are applied
5063 transparently for the parser.
5065 * org-element.el (org-element-line-break-parser): Line break
5066 includes the newline character following the backslashes.
5067 (org-element-line-break-interpreter): Apply changes to line break
5070 * org.el (org-all-targets): Fix radio targets detection when
5071 object is directly followed by a non-whitespace character.
5073 * ob.el (org-babel-use-quick-and-dirty-noweb-expansion): Renamed
5074 from `org-babel-use-quick-and-dirty-noweb-expansion'.
5075 (org-babel-expand-noweb-references): Use new variable name.
5077 * org-element.el (org-element-timestamp-interpreter): Fix
5078 timestamp interpreter when raw value isn't available.
5080 * ob-exp.el (org-babel-exp-non-block-elements): Make sure to parse
5081 inline babel call or inline src block instead of the following
5084 * org-element.el (org-element-timestamp-parser): Timestamp with
5085 time range has active/inactive-range type.
5086 (org-element-block-name-alist): Do not reset
5087 `org-element-block-name-alist' at each reload.
5088 (org-element-object-restrictions): Allow timestamps in parsed
5089 keywords (i.e. DATE).
5091 * org-agenda.el (org-agenda-show-clocking-issues)
5092 (org-agenda-format-item): Silence byte compiler.
5094 * org-colview.el (org-agenda-columns): Silence byte compiler.
5096 * org.el (org-properties-postprocess-alist): Silence byte
5099 * org-element.el (org-element-timestamp-parser): Return nil for
5100 unspecified :hour-end and :minute-end properties.
5101 (org-element-object-restrictions): Add footnote references objects
5103 (org-element-interpret-data): Clear text properties when
5104 interpreting a string .
5106 * org-capture.el (org-capture--expand-keyword-in-embedded-elisp):
5109 * org.el (org-adaptive-fill-function): Items do not have
5110 a :post-affiliated property. Use :begin property instead.
5112 * org-element.el (org-element-headline-parser)
5113 (org-element-inlinetask-parser): Remove :clockedp property.
5115 * org.el (org-adaptive-fill-function): All elements do not have a
5116 :post-affiliated property.
5117 (org-macro-replace-all): Signal an error when a circular macro
5119 (org-macro-initialize-templates): Fix docstring.
5121 * org-element.el (org-element-map): Fix docstring.
5122 (org-element-contents, org-element-set-contents)
5123 (org-element-adopt-elements): Fix accessors and setters wrt
5125 (org-element-headline-parser)
5126 (org-element-inlinetask-parser): Fix void-function
5127 `org-clocking-buffer' error.
5128 (org-element-context): Fix org-element-context on parsed keywords.
5129 (org-element-context): Find objects in document and parsable
5130 affiliated keywords.
5131 (org-element-center-block-parser)
5132 (org-element-drawer-parser, org-element-dynamic-block-parser)
5133 (org-element-footnote-definition-parser)
5134 (org-element-plain-list-parser)
5135 (org-element-property-drawer-parser)
5136 (org-element-quote-block-parser, org-element-special-block-parser)
5137 (org-element-babel-call-parser, org-element-comment-parser)
5138 (org-element-comment-block-parser, org-element-diary-sexp-parser)
5139 (org-element-example-block-parser)
5140 (org-element-export-block-parser, org-element-fixed-width-parser)
5141 (org-element-horizontal-rule-parser, org-element-keyword-parser)
5142 (org-element-latex-environment-parser)
5143 (org-element-paragraph-parser, org-element-src-block-parser)
5144 (org-element-table-parser, org-element-verse-block-parser): Add
5145 `:post-affiliated' property to elements.
5146 (org-element-inlinetask-parser): Remove affilated keywords.
5148 * org.el (org-adaptive-fill-function): Use new property.
5150 * org-element.el (org-element--collect-affiliated-keywords):
5151 Allow duals keywords with only secondary value.
5152 (org-element-timestamp-parser): Modify timestamp objects
5154 (org-element-headline-parser, org-element-inlinetask-parser): Remove
5155 `:timestamp' and `:clock' property. Add `:clockedp' property. Also,
5156 set `:closed', `:deadline' and `:scheduled' values to timestamp
5157 objects, not strings. Small refactoring.
5158 (org-element-clock-parser): Rename `:time' property into `:duration'.
5159 Also, set `:value' value as a timestamp object, not a string.
5160 (org-element-planning-parser): Set `:closed', `:deadline' and
5161 `:scheduled' values to timestamp objects, not strings.
5162 (org-element-clock-interpreter, org-element-planning-interpreter)
5163 (org-element-timestamp-interpreter): Update interpreters.
5164 (org-element--current-element): Tiny refactoring.
5166 * ob.el (org-babel-where-is-src-block-result): Insert new results
5167 keyword in current narrowed part of buffer, if necessary. Small
5169 (org-babel-insert-result): Do not widen buffer when new results have
5170 to be inserted. Therefore, results inserted after the last block of
5171 a narrowed buffer still belong to the narrowed part of the buffer.
5173 * org-agenda.el (org-agenda-get-deadlines): Tiny stylistic change.
5175 * org-element.el (org-element-paragraph-separate): Diary-sexp
5176 elements can separate paragraphs.
5177 (org-element-all-elements): Install new `diary-sexp' type.
5178 (org-element--current-element): Recognize new `diary-sexp' elements.
5179 (org-element-diary-sexp-parser)
5180 (org-element-diary-sexp-interpreter): New functions.
5181 (org-element-horizontal-rule-parser)
5182 (org-element-keyword-parser, org-element--current-element): Small
5184 (org-element-property): Access to text properties when argument is
5186 (org-element-put-property): Correctly set property when target is
5188 (org-element-adopt-elements): Also put :parent properties on
5191 * ob-exp.el (org-babel-exp-code): Escape code when re-creating a
5193 (org-export-blocks-preprocess): Pos can sometimes be set to a
5194 value greater than start, because of indentation, and lead to a
5196 (org-babel-exp-code): Remove comma-escaping special rule for Org
5198 (org-export-blocks-preprocess): Results of an evaluated code block
5199 can be inserted within the blank lines after the block. Hence, if
5200 the block has to be removed, delete everything down to the first
5201 non-blank line after the end of block closing string, instead of
5202 removing everything down to the very end of the block.
5204 * org.el (org-all-targets): Make sure the regexp really matched a
5206 (org-macro-expand, org-macro-replace-all): Change signature. The
5207 function now accepts an alist of templates so it doesn't have to
5208 rely only on `org-macro-templates'.
5209 (org-macro-initialize-templates): {{{date}}} is not anymore an
5210 alias for {{{time}}}. During export, it will provide the value
5211 stored in DATE keyword instead.
5213 * org-element.el (org-element-object-restrictions): Allow links in
5214 caption. Also allow inline-src-blocks and inline-babel-calls.
5215 (org-element-map): Change signature.
5216 (org-element-parsed-keywords): Remove document properties from the
5218 (org-element-dual-keywords): Fix docstring.
5219 (org-element-document-properties): New variable
5220 (org-element-all-elements): Add `node-property' as a new element
5222 (org-element-greater-elements): Add property-drawer element to
5223 greater elements since they now contain node-property elements.
5224 (org-element-drawer-parser): Small refactoring.
5225 (org-element-property-drawer-parser): Move into Greater Elements
5227 (org-element-node-property-parser,
5228 org-element-node-property-interpreter): New functions.
5229 (org-element--current-element, org-element-at-point)
5230 (org-element--parse-elements): Handle new element type.
5231 (org-element--collect-affiliated-keywords): Fix return value.
5232 (org-element-center-block-parser)
5233 (org-element-drawer-parser, org-element-dynamic-block-parser)
5234 (org-element-footnote-definition-parser)
5235 (org-element-plain-list-parser, org-element-quote-block-parser)
5236 (org-element-special-block-parser, org-element-babel-call-parser)
5237 (org-element-comment-parser, org-element-comment-block-parser)
5238 (org-element-example-block-parser)
5239 (org-element-export-block-parser, org-element-fixed-width-parser)
5240 (org-element-horizontal-rule-parser, org-element-keyword-parser)
5241 (org-element-latex-environment-parser)
5242 (org-element-paragraph-parser, org-element-property-drawer-parser)
5243 (org-element-src-block-parser, org-element-table-parser)
5244 (org-element-verse-block-parser): Change signature. Now use an
5245 additional argument: affiliated.
5246 (org-element--current-element): Skip affiliated keywords and pass
5247 them as an argument to parsers. It prevents to walk through these
5248 keywords twice: the first time to get to the first line of the
5249 element, and a second time to collect the affiliated keywords.
5251 * ob-exp.el (org-babel-exp-non-block-elements): More accurate
5252 white space handling when evaluating inline-src-block, babel-call
5253 and inline-babel-call elements or objects. Also removed use of
5254 `org-babel-examplize-region' since it would never be called
5255 anyway; return value from `org-babel-exp-do-export' is never nil.
5256 (org-export-blocks-preprocess): Preserve affiliated keywords when
5257 replacing a code block.
5259 * org-element.el (org-element-multiple-keywords): Allow multiple
5262 * ob-exp.el (org-export-blocks-preprocess): Fix block evaluation
5263 when results are before the block.
5264 (org-export-blocks-preprocess): Improve blank lines handling in
5265 function. Add comments. Remove `org-export-blocks-postblock-hook'
5266 since it's defined nowhere now
5267 (and doesn't need to, there's `org-export-before-parsing-hook'
5270 * org-exp-blocks.el: Delete.
5272 * ob-exp.el (org-export-blocks-preprocess):
5273 * ob-ditaa.el (org-ditaa-jar-path): Moved from
5274 "org-export-blocks.el".
5276 * ob-exp.el (org-babel-exp-src-block): Remove unused argument.
5277 (org-babel-exp-non-block-elements): Rewrite function using Org
5280 * org-exp-blocks.el (org-export-blocks-preprocess): Rewrite
5281 function using Org Element.
5283 * org-element.el (org-element-recursive-objects)
5284 (org-element-object-restrictions): Remove `macro' from recursive
5287 * org.el (org-macro-initialize-templates): Small refactoring.
5288 (org-mode): Initialize macros templates.
5289 (org-macro-templates): New variable.
5290 (org-macro-expand, org-macro-replace-all)
5291 (org-macro-initialize-templates): New functions.
5293 * org-element.el (org-element-link-type-is-file): New variable.
5294 (org-element-link-parser): Extract search option and application
5295 in "file"-type links.
5297 * org.el (org-mode): Set back comment-start-skip so comment-dwin
5298 can tell a keyword from a comment.
5300 2013-11-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
5302 * org.el (org-time-stamp): When INACTIVE is non-nil, insert an
5303 inactive timestamp also with double universal argument.
5304 (org-set-regexps-and-options): Don't set font-lock defaults here.
5305 (org-mode): Set font-lock defaults here.
5306 (org-insert-link): Call `org-link-try-special-completion' from the
5309 2013-11-12 Oleh <oleh.krehel@gmail.com>
5311 * org.el (org-open-at-point): The new code is being run in the
5312 same spot as `org-open-link-functions'. In case they failed,
5313 check if link matches "^id:" and if so, load the id interface and
5316 2013-11-12 Rasmus <rasmus@gmx.us> (tiny change)
5318 * ox-latex.el (org-latex--inline-image): The pgf format is
5319 associated to an inline image and treated like tikz files.
5321 2013-11-12 Richard Lawrence <richard.lawrence@berkeley.edu> (tiny change)
5323 * org-agenda.el (org-cmp-ts): Avoid error when trying to
5324 `string-match' against nil.
5326 2013-11-12 Rick Frankel <rick@rickster.com>
5328 * ox-html.el (org-html-doctype): New function.
5329 (org-html-template): Use `org-html-doctype' instead of inline
5331 (org-html-headline): Use the new
5332 `org-html--container' function to set container element.
5333 (org-html--container): Returns appropriate element for headline
5335 (org-html-divs): Extra character in doc string.
5336 (org-babel-execute:sql): Unquote cmdline argument in
5337 format string, dbish requires three separate arguments. Add dbi to
5338 the list of engines with automatically added header separator.
5339 (org-html--build-pre/postamble): Add css class to wrapper div
5340 (defaults to `org-pre/postamble-class'). Move spec building to
5341 separate function (`org-html-format-spec').
5342 (org-html-format-spec): New function.
5343 (org-pre/postamble-class): New variable.
5344 (org-html--timestamp-format): New variable used in the metadata
5345 and the pre/postamble.
5346 (org-html-style-default): Make the preamble and postamble use the
5347 same style. Make all anchors font-size %100. Remove margin from
5348 the content section.
5349 (org-html-container-element): Fix docstring.
5350 (org-html-postamble-format, org-html-preamble-format): Update
5352 (org-html-template): Use `org-html--build-pre/postamble'.
5353 (org-html--build-pre/postamble): New function, combining the
5354 pre/postamble generator. Merge lists of formatters from the
5355 preamble and postamble. Fix bug, using :time-stamp-file instead
5356 of :with-date for auto display of date: this brings usage in-line
5357 with the latex and beamer exporter.
5358 (org-html--build-postamble, org-html--build-postamble): Delete.
5359 (define-backend): Add :html-doctype and :html-container
5361 (org-html-doctype): New option for doctype declaration.
5362 (org-html-container-elemnt): New option for specifying the wrapper
5364 (org-html-divs): Change to alist of three entries each containing
5365 a key ('preamble, 'content, 'postamble), an HTML element type and
5366 an id to allow setting container elements.
5367 (org-html--build-preamble, org-html--build-postamble): Modified to
5368 use `org-html-divs'.
5369 (org-html-template): Modified to use doctype and container-element
5371 (org-export-define-backend): Add css url option.
5372 (org-export-htmlized-org-css-url): Modify docstring and options.
5373 (org-html--build-style): Include css-url if specified.
5375 2013-11-12 Roberto Huelga Díaz <rhuelga@gmail.com> (tiny change)
5377 * org-timer.el (org-timer-set-timer): Use the variable
5378 `org-clock-sound' when calling `org-notify'.
5380 2013-11-12 Ryo TAKAISHI <ryo.takaishi.0@gmail.com>
5382 * org-capture.el (org-capture--expand-keyword-in-embedded-elisp):
5384 (org-capture-expand-embedded-elisp): Use the new function.
5386 * ob-tangle.el (org-babel-tangle-collect-blocks): Change argument
5387 name collid `org-babel-map-src-blocks' variable 'lang'.
5389 * org-protocol.el (org-protocol-convert-query-to-plist): New
5391 (org-protocol-do-capture): Use new function.
5392 (org-protocol-data-separator): Change default separator.
5394 2013-11-12 Rémi Vanicat <vanicat@debian.org> (tiny change)
5396 * org-table.el (orgtbl-format-line): Fix bug when formatting line.
5398 2013-11-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5400 * ox-latex.el (org-latex-listings): Don't quote const value.
5402 * ob-C.el (org-babel-C-var-to-C): Add list support
5403 (org-babel-C-val-to-C-list-type, org-babel-C-val-to-C-type)
5404 (org-babel-C-format-val): New functions.
5405 (org-babel-C-ensure-main-wrap, org-babel-execute:C)
5406 (org-babel-execute:C++, rg-babel-execute:cpp)
5407 (org-babel-C++-compiler, org-babel-C-compiler): Improve docstring.
5409 * org-entities.el (org-entities): Add support for hbar.
5411 2013-11-12 Sacha Chua <sacha@sachachua.com> (tiny change)
5413 * org.el (org-read-date-get-relative): Handle positive and
5414 negative weekday specifications so that they don't return today.
5415 If today is Friday, "fri" should mean next Friday. This changes
5416 the previous behavior, which required you to specify "+2fri" in
5417 order to mean next Friday if today was Friday. If you want to
5418 schedule something for today, you can use ".".
5420 2013-11-12 Samuel Loury <konubinix@gmail.com> (tiny change)
5422 * org.el (org-open-at-point): Open a plain link even if the cursor
5423 is before it, which is consistent with the behavior with respect
5424 to bracket and angle links.
5426 2013-11-12 Sean O'Halpin <sean.ohalpin@gmail.com> (tiny change)
5428 * ob.el (org-babel-expand-noweb-references): Capture current noweb
5429 start and end patterns then use them to set buffer locals in a
5430 (with-temp-buffer ...) form.
5432 2013-11-12 Sebastien Vauban <xxx@public.gmane.org>
5434 * ox-latex.el (org-latex-listings-langs): Update custom variable.
5436 * ob-core.el (org-babel-parse-src-block-match): Fix order of list
5437 of header arguments.
5439 * org-clock.el (org-clock-goto-before-context): New option.
5440 (org-clock-goto): Use the new option.
5441 (org-clocktable-write-default): Insert the summary as a standard
5442 #+CAPTION keyword for the (clock) table.
5444 2013-11-12 Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk> (tiny change)
5446 * org-agenda.el (org-agenda-prefix-format): Small docstring
5449 2013-11-12 Suhail Shergill <suhailshergill@gmail.com> (tiny change)
5451 * ob-core.el (org-babel-temp-file): For remote hosts, modify the
5452 prefix and leave `temporary-file-directory' unchanged.
5454 2013-11-12 Suvayu Ali <fatkasuvayu+linux@gmail.com> (tiny change)
5456 * org.el (org-speed-commands-default): Change default binding for
5457 org-mark-subtree from "." to "@" to be more consistent with "C-c
5460 2013-11-12 Tim Burt <tcburt@rochester.rr.com> (tiny change)
5462 * org-datetree.el (org-datetree-find-year-create): Also match
5463 headlines with tags.
5465 2013-11-12 Toby S. Cubitt <tsc25@cantab.net>
5467 * org.el (org-time-clocksum-format)
5468 (org-time-clocksum-fractional-format): In addition to a single
5469 format string, the clocksum formats can now be plists specifying
5470 separate formats for different time units.
5471 (org-minutes-to-clocksum-string): New function to replace
5472 `org-minutes-to-hh:mm-string', which converts a number of minutes
5473 to a string according to the customization options.
5475 * org-colview.el (org-columns-number-to-string): Use the new
5476 `org-minutes-to-clocksum-string' function to format clocksum
5479 * org-clock.el: Always call new `org-minutes-to-clocksum-string'
5480 function when formatting time durations, instead of calling
5481 `org-minutes-to-hh:mm-string' or passing
5482 `org-time-clocksum-format' directly to format.
5484 2013-11-12 Tokuya Kameshima <kametoku@gmail.com>
5486 * org-mew.el (org-mew-inbox-folder, org-mew-use-id-db)
5487 (org-mew-subject-alist, org-mew-capture-inbox-folders)
5488 (org-mew-capture-guess-alist): New options.
5489 (org-mew-store-link, org-mew-open): Rewrite.
5490 (org-mew-folder-name, org-mew-follow-link)
5491 (org-mew-folder-eixsts-p, org-mew-get-msgnum)
5492 (org-mew-open-by-message-id, org-mew-search, org-mew-capture)
5493 (org-mew-capture-guess-selection-keys): New functions.
5495 2013-11-12 Trevor Murphy <trevor.m.murphy@gmail.com> (tiny change)
5497 * org.el (org-get-compact-tod): Always pad minutes to two places.
5499 2013-11-12 Viktor Rosenfeld <listuser36@gmail.com> (tiny change)
5501 * org.el (org-agenda-prepare-buffers): Add tags defined in
5502 `org-tag-persistent-alist' to `org-tag-alist-for-agenda'.
5504 2013-11-12 Vitalie Spinu <spinuvit@gmail.com>
5506 * ob-tangle.el (org-babel-find-file-noselect-refresh): Call
5507 `find-file-noselect' with 'nowarn argument to surpress
5508 `yes-or-no-p' reversion message.
5510 * ob-core.el (org-babel-where-is-src-block-head): Return
5511 `point-marker' instead of `point'.
5513 2013-11-12 Yann Hodique <yann.hodique@gmail.com>
5515 * org-publish.el (org-publish-org-to-taskjuggler): New function to
5516 publish taskjuggler projects.
5518 2013-11-12 Yasushi Shoji <yashi@atmark-techno.com>
5520 * org-clock.el (org-clock-x11idle-program-name): New option.
5521 (org-x11idle-exists-p, org-x11-idle-seconds): Use it.
5523 2013-11-12 Yoshinari Nomura <nom@quickhack.net>
5525 * ox-html.el (org-html--has-caption-p): New function.
5526 (org-html-link--inline-image, org-html-table): Prepend ordinal
5528 (org-html-link): Make numbered link by counting captioned figures
5531 * ox.el (org-export-dictionary): Add Japanese translations for
5532 figures and tables. Add "Figure %d:" entry in the same manner
5535 2013-11-12 Nicolas Richard <nrichard@ulb.ac.be>
5537 * ob.el (org-babel-edit-distance): When insertion or deletion are
5538 needed, make sure the distance is incremented. In addition, the
5539 now obsolete mmin function was removed.
5541 2013-11-12 Oleh Krehel <wave@mail.ua>
5543 * org-capture.el (org-capture-expand-embedded-elisp): Throw error
5544 if result is not a string and not nil. If the result is nil,
5545 treat it as if it was the empty string.
5547 * org-clock.el (org-clock-notify-once-if-expired): Honor
5550 2013-11-12 Rasmus Pank <rasmus.pank@gmail.com>
5552 * org.el (org-format-latex-header): Remove eucal and amsmath.
5553 (org-latex-default-packages-alist): Remove amstext and add
5556 * ox-latex.el (org-latex-item): Use square as unchecked symbol.
5558 * org.el (org-latex-default-packages-alist): Remove latexsym.
5560 * org-entities.el (org-entities): Add support for ell, imath,
5561 jmath, varphi, varpi, aleph, gimel, beth, dalet, cdots, S (§),
5562 dag, ddag, colon, therefore, because, triangleq, leq, geq,
5563 lessgtr, lesseqgtr, ll, lll, gg, ggg, prec, preceq, preccurlyeq,
5564 succ, succeq, succurlyeq, setminus, nexist(s), mho, check, frown,
5565 diamond. Changes loz, vert, checkmark, smile and tilde.
5567 * ob-C.el: Added C++ to `org-babel-load-languages' automatically
5570 * org-src.el (org-src-lang-modes): Added association between
5571 language C++ and `c++-mode'.
5573 * ox.el (org-export-smart-quotes-alist): Added ("da" "no" "nb"
5575 (org-export-dictionary): Added some entries ("da" "no" "nb" "nn"
5577 (org-export-default-language): Mention other variables affected by
5580 * ox-latex.el (org-latex-babel-language-alist): Added 'nb', 'nn',
5581 and 'no' for Norwegian. Removed 'no-no'.
5582 (org-latex-pdf-process): let `latexmk' be a preconfigured choice
5583 and change the wording of the docstring.
5584 (org-latex-guess-babel-language): Replace AUTO with language if
5585 AUTO is the option of the LaTeX package Babel.
5586 (org-latex-classes): updated documentation with respect
5587 to `org-latex-guess-babel-language'.
5589 2013-11-12 Дядов Васил Стоянов <vdyadov@elvees.com> (tiny change)
5591 * org-docview.el (org-docview-export): New function to export
5594 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5596 * org-agenda.el (org-agenda-mode):
5597 * org-indent.el (org-indent-mode): Use the `local' arg of
5598 add-hook/remove-hook.
5600 2013-03-08 Bastien Guerry <bzg@gnu.org>
5602 * org-exp.el (org-export-normalize-links): Fix critical bug: do
5603 not rely on `org-context' to guess where to prevent links
5606 2013-02-28 Achim Gratz <Stromeko@Stromeko.DE>
5608 * org.el (org-org-menu): Use correct key "C-u C-c C-x !" to do
5609 org-reload uncompiled in the menu.
5611 2013-02-28 Bastien Guerry <bzg@gnu.org>
5613 * org-indent.el (org-indent-add-properties): Bugfix: prevent
5614 negative value for `added-ind-per-lvl'.
5616 * org.el (org-mode): Add `org-fix-ellipsis-at-bol' to
5617 `isearch-mode-end-hook' so that any isearch fixes the problem with
5618 ellipsis on the first line.
5619 (org-fix-ellipsis-at-bol): New defsubst.
5620 (org-show-context, org-isearch-end): Use it.
5622 * org.el (org-show-context): Remove useless catch.
5623 Make sure the top of the window is a visible headline.
5624 (org-activate-plain-links): Remove unused catch.
5626 * org-macs.el (org-get-alist-option): Return nil, not (nil),
5627 so that `org-show-context' DTRT.
5629 * org.el (org-imenu-get-tree): Fix bug when matching against empty
5632 * org.el (org-overview): Stay on current line.
5633 (org-map-entries): Fix docstring.
5634 (org-at-clock-log-p): Delete.
5635 * org-clock.el (org-at-clock-log-p): Move here.
5637 * org.el (org-tsr-regexp-both): Don't activate dates in links.
5638 (org-activate-dates): Change match boundaries according to the new
5639 value of `org-tsr-regexp-both'.
5641 * org-agenda.el (org-agenda-to-appt): Fix typos.
5643 * org-agenda.el (org-agenda-local-vars): Don't include
5644 `org-agenda-show-window' as it needs to be checked outside of the
5647 * org.el (org-set-tags-command): Fix bug when setting tags for
5648 multiple headlines in an active region.
5650 * org-mobile.el (org-mobile-edit): DTRT when inserting a heading
5651 in an invisible region.
5653 * org.el (org-insert-heading-respect-content): Add docstring.
5654 New `invisible-ok' parameter.
5655 (org-insert-todo-heading-respect-content): Add docstring.
5657 * ob-tangle.el (org-babel-tangle-collect-blocks):
5658 Bugfix: remove code references from blocks.
5660 * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
5662 (org-agenda-show-new-time): Fix bug when displaying a temporary
5663 overlay with the scheduled/deadline information.
5665 * org.el (org-fill-paragraph-with-timestamp-nobreak-p): New function.
5666 (org-setup-filling): Use it to prevent breaking a timestamp when
5667 filling a paragraph.
5669 * org-id.el (org-id-get-with-outline-path-completion): Fix docstring.
5671 2013-02-28 Tim Burt <tcburt@rochester.rr.com> (tiny change)
5673 * org-datetree.el (org-datetree-find-year-create):
5674 Match headlines with tags.
5676 2013-02-07 Bastien Guerry <bzg@gnu.org>
5678 * org-agenda.el (org-agenda-get-deadlines)
5679 (org-agenda-get-scheduled): Fix bug: use text properties for the
5680 headline text since we rely on properties to get e.g. the effort.
5682 * org-exp.el (org-export-normalize-links): Don't match links
5685 * org-html.el (org-export-html-preamble-format)
5686 (org-export-html-postamble-format): Mention that
5687 org-export-html-preamble/postamble need to be `t' in order for
5688 these variables to have any effect.
5690 * org-html.el (org-html-handle-links): When the link description
5691 is an image and the attribute is "width", pass the attribute to
5694 * org.el (org-mode): Always honor `org-startup-indented', even
5695 when `org-inhibit-startup' is non-nil.
5697 * org-indent.el (org-indent-mode): Don't check
5698 `org-inhibit-startup'.
5700 * org.el (org-fontify-meta-lines-and-blocks-1): Don't try to add
5701 text properties outside of the buffer.
5703 * org.el (org-agenda-inhibit-startup): Rename from
5704 `org-agenda-inhibit-startup-visibility-cycling'.
5705 (org-agenda-prepare-buffers): Bind `org-inhibit-startup' to
5706 `org-agenda-inhibit-startup'.
5708 * org.el (org-mode): Don't initialize `org-beamer-mode' when
5709 `org-inhibit-startup' is non-nil.
5711 * org-footnote.el (org-footnote-create-definition): Prevent
5712 `electric-indent-mode' from inserting the definition at the wrong
5715 * org-agenda.el (org-agenda-no-heading-message): Delete.
5716 (org-agenda-get-timestamps, org-agenda-get-progress)
5717 (org-agenda-get-deadlines, org-agenda-get-scheduled)
5718 (org-agenda-get-blocks): Don't use
5719 `org-agenda-no-heading-message', skip the entry.
5721 * org.el (org-agenda-inhibit-startup-visibility-cycling):
5723 (org-agenda-prepare-buffers): Use it to speed up the agenda
5726 * org-agenda.el (org-agenda-skip): Fix bug by correctly skipping
5727 commented scheduled/deadline lines.
5729 * org-clock.el (org-clock-in): Fix bug when fetching the effort
5732 * ob-python.el (org-babel-python-command): Fix docstring.
5733 (org-babel-python-initiate-session-by-key): Fix bug: `run-python'
5734 from Emacs >24.1 requires a python command as an argument.
5736 * org-element.el (org-element-at-point): Fix typo in docstring.
5738 * org-agenda.el (org-agenda-get-deadlines): Fix bug: use
5739 `org-agenda-show-inherited-tags'.
5741 * org-agenda.el (org-agenda-skip): Correctly handle commented out
5742 scheduled/deadline lines. Refactor.
5744 * org-install.el: Do not warn users.
5746 * org.el (org-adaptive-fill-function): In message-mode, don't
5747 lines in the message header, nor table lines in the body.
5748 Correctly fill lines starting with `org-outline-regexp' in the
5751 * org-agenda.el (org-agenda-open-link): Fix bug with opening all
5754 2013-02-07 Francesco Pizzolante <fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org> (tiny change)
5756 * org-clock.el (org-clock-sum): Protect with `org-unmodified'.
5758 * org-macs.el (org-unmodified): Inhibit modification hooks.
5760 2013-02-07 John K. Luebs <jkluebs@luebsphoto.com> (tiny change)
5762 * org.el (org-get-wdays): Handle matching a lead time specified in
5765 2013-02-07 Muchenxuan Tong <demon386@gmail.com> (tiny change)
5767 * org-agenda.el (org-agenda-quit): Delete indirect buffer's window
5768 only when it exists.
5770 2013-02-07 Nicolas Goaziou <n.goaziou@gmail.com>
5772 * org-element.el (org-element-macro-parser): Fix error when last
5773 argument ends with a protected comma.
5775 * org-element.el (org-element-parse-buffer, org-element-map)
5776 (org-element-at-point, org-element-context): Be more verbose in
5777 docstrings. Also fix typos.
5779 * org-list.el (org-list-struct-fix-box): When a checkbox has to be
5780 resetted because of a non-nil ORDERED property value, make sure it
5781 had a checkbox already.
5783 2013-02-07 Tokuya Kameshima <kametoku@gmail.com> (tiny change)
5785 * org-agenda.el (org-search-view): Fix checking
5786 `org-agenda-show-inherited-tags'.
5788 2013-02-07 racin <racin@free.fr> (tiny change)
5790 * org-bibtex.el (org-bibtex-search): Don't throw an error when
5791 `org-bibtex-prefix' is nil.
5793 2013-01-13 Bastien Guerry <bzg@gnu.org>
5795 * org-compat.el (org-condition-case-unless-debug): Delete.
5797 * org-odt.el (org-odt-cleanup-xml-buffers):
5798 Use `condition-case' instead of `org-condition-case-unless-debug',
5799 which is now deleted.
5801 * org-capture.el (org-capture-templates-contexts):
5802 * org-agenda.el (org-agenda-custom-commands-contexts):
5805 * org.el (org-get-tags-at): Remove duplicate inherited tags.
5807 * org-agenda.el (org-agenda-show-inherited-tags): Allow to be set
5808 to 'always or to a list of agenda types.
5809 (org-agenda-finalize): Rework conditions under which inherited
5810 tags should be made available even when not displayed.
5811 (org-search-view, org-agenda-get-todos)
5812 (org-agenda-get-timestamps, org-agenda-get-sexps)
5813 (org-agenda-get-progress, org-agenda-get-scheduled)
5814 (org-agenda-get-blocks): Use new possible values of
5815 `org-agenda-show-inherited-tags'.
5817 * org.el (org-open-at-point): Fix opening all links at point.
5819 * org-agenda.el (org-get-entries-from-diary): Turn off
5820 `diary-file-name-prefix' instead of
5821 `diary-file-name-prefix-function', the former is checked before
5824 * org.el (org-edit-special): Check for table.el before checking
5827 2013-01-13 Michael Albinus <michael.albinus@gmx.de>
5829 * ob-eval.el (org-babel-shell-command-on-region):
5830 Use `executable-find' for local `shell-file-name'.
5832 2013-01-09 Achim Gratz <Stromeko@Stromeko.de>
5834 * org-faces.el: Define face alias mode-line for XEmacs (it's
5835 called modeline there).
5837 * org-compat.el (org-no-popups): New wrapper macro which let-binds
5838 the correct variables to suppress popup windows depending on the
5839 Emacs version in use. This is a compile-time decision when
5842 * org.el (org-get-location, org-switch-to-buffer-other-window):
5843 Use the wrapper `org-no-popups' to let-bind the correct variables
5844 for suppression of popup windows.
5846 * org-compat.el (user-error): Defalias to `error' for Emacsen that
5849 * org-agenda.el (org-agenda-write): Use org-called-interactively-p
5850 instead of called-interactively-p.
5852 * org.el (org-find-invisible-foreground): Do not use the value of
5853 variables `default-frame-alist', `initial-frame-alist' and
5854 `window-system-default-frame-alist' when their symbol is not bound.
5856 2013-01-09 Bastien Guerry <bzg@gnu.org>
5858 * org-src.el (org-edit-src-code): Fix bug when trying to edit a
5861 * org-agenda.el (org-agenda-finalize): Inhibit readonly for the
5864 * org.el (org-entry-get): Speed up by let-binding some variables
5865 only if needed. Also fix a bug: consider an empty drawer as no drawer.
5867 * org-agenda.el (org-search-view, org-agenda-get-todos)
5868 (org-agenda-get-timestamps, org-agenda-get-sexps)
5869 (org-agenda-get-progress, org-agenda-get-deadlines)
5870 (org-agenda-get-scheduled, org-agenda-get-blocks)
5871 (org-agenda-change-all-lines): Get local tags only.
5872 (org-agenda-use-tag-inheritance): New option.
5873 (org-agenda-finalize): When `org-agenda-use-tag-inheritance'
5874 is non-nil, possibly reset tags in the agenda buffer.
5875 (org-agenda-check-type): Enhance docstring.
5877 * org.el (org-use-tag-inheritance): Fix typo in docstring.
5879 * org-agenda.el (org-float): Don't alias `org-float'.
5881 * org.el (org-scan-tags): The skipper already checks for archived
5884 * org.el (org-refresh-properties): Rename from
5885 `org-refresh-effort-properties' and use two new parameters.
5886 (org-agenda-prepare-buffers): Use `org-refresh-properties'.
5887 Also refresh the 'org-appt-warntime text property.
5889 * org-clock.el (org-clock-in): Use the renamed defun.
5891 * org-icalendar.el (org-icalendar-print-entries):
5892 Refresh the 'org-appt-warntime property.
5893 (org-icalendar-print-entries):
5894 * org-agenda.el (org-agenda-get-timestamps)
5895 (org-agenda-get-sexps, org-agenda-get-deadlines)
5896 (org-agenda-get-scheduled): Do not use `org-entry-get' to get the
5897 "APPT_WARNTIME" property value.
5899 * org.el (org-id-link-to-org-use-id): Fix compiler warning.
5901 * org-agenda.el (org-agenda-format-item): Do not use
5902 `org-get-effort' to get the effort text property.
5903 (org-agenda-get-sexps): Use `org-back-to-heading' when setting tags.
5905 * org-clock.el (org-clock-in): Refresh effort properties.
5907 * org.el (org-refresh-effort-properties): New defun.
5908 (org-get-effort): Delete.
5910 (org-property-next-allowed-value): Set the 'org-effort text property.
5911 (org-agenda-prepare-buffers): Refresh effort properties.
5913 * org.el (org-read-date): Let-bind `mouse-autoselect-window' to
5914 nil so that the mouse doesn't jump when the option is set to t globally.
5916 * org-agenda.el (org-agenda-dim-blocked-tasks): Default to nil.
5917 (org-agenda-dim-blocked-tasks): Make interactive and allow an
5918 optional parameter 'invisible to hide blocked tasks instead of
5920 (org-agenda-mode-map): Bind `org-agenda-dim-blocked-tasks' to "#".
5922 * org-agenda.el (org-agenda-finalize): Don't try to align tags
5923 when there are no tags. Only try to draw the habit consistency
5924 graph when there is a habit in the buffer. Only mark clocking
5925 task when there is one.
5927 * org.el (org-adaptive-fill-function): DTRT in `message-mode'.
5929 * org.el (org-get-priority): Save match data even when using
5930 `org-get-priority-function'.
5932 * org-mobile.el (org-mobile-create-index-file):
5933 Possibly normalize `org-todo-keywords'.
5935 * org-mobile.el (org-mobile-push): Use the correct agenda buffer names.
5937 * org.el (org-store-link): Use `org-id-link-to-org-use-id' instead
5938 of the obsolete variable name.
5940 * org.el (org-fontify-meta-lines-and-blocks-1):
5941 Fix bug when fontifying keywords with no value.
5943 * org.el (org-goto-auto-isearch): Enhance docstring.
5944 (org-goto-map): Make a defun, so that the customized value of
5945 org-goto-auto-isearch is correctly initialized.
5946 (org-goto): Initialize the keymap with `org-goto-map'.
5947 (org-get-location): Use *Org Help* as a temporary buffer.
5948 Tell whether auto-isearch is on or off.
5950 * org-exp.el (org-export-as-org): Remove useless argument.
5952 * org-docbook.el (org-export-as-docbook-batch)
5953 (org-export-region-as-docbook, org-export-as-docbook-pdf):
5954 Fix the number of arguments.
5955 (org-export-as-docbook): Remove useless argument.
5957 * org.el (org-speed-commands-default): Use ":" instead of ";" for
5958 `org-set-tags-command', which is consistent with ":" in agenda
5959 view. Use "=" for `org-columns".
5961 * org.el (org-sparse-tree): Fix redundant information in prompt.
5963 * org-exp.el (org-export-string): Fix number of arguments passed
5964 to the org-export-as-* functions.
5966 * org-latex.el (org-export-as-latex): Fix typo in docstring.
5968 * org-list.el (org-cycle-include-plain-lists): Docstring enhancement.
5970 * org.el (org-fontify-meta-lines-and-blocks-1): Fix fontification
5971 bug when fontifying a keyword with no associated value.
5972 (org-cycle-internal-local): Don't run hooks when cycling a plain
5973 list before first headline.
5974 (org-ctrl-c-ctrl-c): Throw a user error when trying to toggle a
5976 (org-indent-line): Fix table formulas indenting.
5978 * org-agenda.el (org-agenda-open-link): Fix bug when no link is
5979 matched. Return a message instead of an error.
5980 (org-agenda-priority): Remove useless parameter and fix showing
5981 priority in agenda buffers.
5983 * org-macs.el (org-with-buffer-modified-unmodified): New macro.
5985 * org.el (org-entry-blocked-p): Use the new macro.
5987 * org-src.el (org-edit-src-exit): Don't comma-escape the content
5988 of a fixed width region.
5990 * org.el (org-blocker-hook): Update the docstring to mention that
5991 functions in this hook should not modify the buffer.
5992 (org-trigger-hook): Small docstring fix.
5993 (org-entry-blocked-p): Use `with-buffer-modified-unmodified'
5994 so that the function never modifies the buffer.
5996 * org-agenda.el (org-agenda-open-link): Allow to open an internal
5997 link by using the new `org-offer-links-in-entry' function.
5999 * org.el (org-offer-links-in-entry): Do not open the link directly
6000 through `org-open-link-from-string', only offer to select a link
6001 and return a cons with the link (as a string) and the end of entry.
6002 (org-open-at-point): Use `org-offer-links-in-entry' correctly.
6004 * org.el (org-cycle-internal-local):
6005 Fix bug: allow headings with leading blank characters.
6007 * org-clock.el (org-clock-persist):
6008 Docstring fix: document the 'history value.
6010 * org.el (org-insert-link): Fix bug when inserting links to
6011 headlines containing the ">" character.
6013 * org-crypt.el (org-at-encrypted-entry-p): Fix search boundary.
6015 * org-compat.el (org-delete-directory): New compatibility function
6016 for Emacs 22, where `delete-directory' does not support recursive
6019 * org-odt.el (org-odt-cleanup-xml-buffers):
6020 Use the new compatibility function.
6022 * org.el (org-table-map-tables): Fix allowed blocks.
6024 * org.el (org-edit-special):
6025 * org-src.el (org-edit-src-code): Fix regression: allow editing
6026 HTML and LaTeX source blocks again.
6028 * org.el (org-nonsticky-props): Add `htmlize-link'.
6029 (org-nonsticky-props): Add `htmlize-link'.
6031 * org.el (org-edit-special):
6032 * org-src.el (org-edit-src-code): Don't edit in verbatim blocks.
6034 * org-table.el (org-table-fedit-lisp-indent)
6035 (orgtbl-self-insert-command): Use `org-delete-backward-char'
6036 instead of `backward-delete-char'.
6038 * org-src.el (org-edit-src-code): Fix another bug about editing
6039 special blocks "example" and "verbatim".
6041 * org.el (org-structure-template-alist): Add verbatim.
6042 (org-edit-special): Fix bug about editing special blocks
6043 "example" and "verbatim".
6045 * org.el (org-delete-backward-char, org-delete-char):
6046 Save match data, `delete-backward-char' and `delete-char' don't.
6048 * org.el (org-enable-table-editor, org-insert-heading)
6049 (org-remove-timestamp-with-keyword, org-self-insert-command):
6050 * org-table.el (org-table-fedit-lisp-indent)
6051 (orgtbl-self-insert-command):
6052 * org-latex.el (org-export-latex-subcontent):
6053 * org-clock.el (org-clocktable-write-default):
6054 * org-ascii.el (org-export-ascii-preprocess):
6055 Use `delete-backward-char' instead of `backward-delete-char'.
6057 * org.el (org-todo): Ignore the comment string when changing the
6058 TODO state of a headline.
6059 (org-edit-special): Fix docstring.
6060 (org-in-src-block-p): Small enhancement.
6062 * org-publish.el (org-publish-org-to): Call `org-export-as-*'
6063 functions with the correct list of arguments.
6065 * org-html.el (org-export-as-html): Delete obsolete arg `hidden'.
6066 (org-export-as-html-and-open, org-export-as-html-batch)
6067 (org-export-region-as-html): Don't use obsolete arg.
6069 * org-ascii.el (org-export-as-ascii): Delete obsolete arg `hidden'.
6070 (org-export-as-ascii-to-buffer): Don't use obsolete arg.
6072 * org.el (org-in-fixed-width-region-p): Save match data.
6073 (org-in-src-block-p): Use case-folding for searching the block
6075 (org-activate-plain-links, org-activate-angle-links)
6076 (org-activate-bracket-links): Prevent link activation in
6079 * org-odt.el (org-odt-cleanup-xml-buffers): Fix Emacs Bug#13197 by
6080 setting the correct buffer before marking it unmodified to
6083 * org.el (org-set-font-lock-defaults): Don't activate links in
6084 source code blocks and fixed-width regions.
6086 * org-agenda.el (org-agenda-finalize): Fix links activation.
6088 * org.el (org-open-at-point): Throw the correct error on
6089 non-links. Use `user-error' instead of `error'.
6091 * org.el (org-in-fixed-width-region-p): Define before use.
6093 * org-src.el (org-in-src-block-p): Declare function.
6095 * org-compat.el: Fix bug: don't use `eval-when-compile' when
6096 aliasing `user-error'.
6098 * org-agenda.el (org-agenda-skip): Only check if point is
6099 inside a code block, not at a code block.
6101 * org.el (org-in-fixed-width-region-p):
6102 Rewrite using org-element.el.
6104 * org.el (org-fill-paragraph): Fill correctly in source code block.
6106 * org.el (org-in-fixed-width-region-p): New function.
6107 (org-edit-special): Fix bug: make sure to DTRT in every
6108 special environment. Also use the new function to check
6109 against fixed-width environment.
6111 * org-src.el (org-edit-src-code): Check if we are in a source code
6112 block with `org-in-src-block-p'. Slightly reformat the docstring.
6114 * org.el (org-in-src-block-p): Return t when point is at the
6115 #+BEGIN_SRC/#+END_SRC lines unless the new optional parameter
6116 'inside is set to t.
6118 * ob-exp.el (obe-marker): Delete useless var.
6120 * org-src.el (org-edit-src-code): Fix bug triggered by the sexp
6121 (copy-marker nil) on Emacs <24.1.
6123 2013-01-09 Dmitry Antipov <dmantipov@yandex.ru>
6125 * org-agenda.el (org-agenda-get-restriction-and-command):
6126 * org-capture.el (org-capture-place-template):
6127 * org-colview.el (org-dblock-write:columnview):
6128 * org-mobile.el (org-mobile-locate-entry):
6129 * org-table.el (org-table-convert-region):
6130 * org.el (org-update-statistics-cookies): Use `point-marker'.
6132 2013-01-09 Eric Schulte <eric.schulte@gmx.com>
6134 * org-exp.el (org-export-string): Pass the dir option on through
6135 to any subsequent export functions.
6137 2013-01-09 Henning Weiss <hdweiss@gmail.com> (tiny change)
6139 * org-mobile.el (org-mobile-sumo-agenda-command): Remove match
6140 description from block agendas when they have a title.
6142 2013-01-09 Jambunathan K <kjambunathan@gmail.com>
6144 * org-odt.el (org-export-as-odt-batch): Init `org-odt-zip-dir'.
6145 Fix Emacs Bug#13254.
6147 * org-odt.el (org-odt-format-org-link): Add check for presence of
6148 description in headline links.
6150 2013-01-09 Michael Gauland <mike_gauland@stanfordalumni.org> (tiny change)
6152 * org-src.el: Create a marker to pass to copy-marker.
6154 2013-01-09 Nicolas Goaziou <n.goaziou@gmail.com>
6156 * org.el (org-setup-filling): Set `auto-fill-inhibit-regexp' to
6157 nil because `org-adaptive-fill-function' already determines which
6158 lines should be filled.
6160 * org.el (org-fill-paragraph): Small refactoring.
6162 * org-element.el (org-element--parse-elements)
6163 (org-element-at-point): Fix parsing of a list in a block in a list.
6165 2013-01-09 Sebastien Vauban <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
6167 * org.el (org-copy-subtree, org-paste-subtree):
6168 Fix whitespace handling when copying/pasting a subtree.
6170 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
6172 * ob.el (org-babel-temp-file): Fix setting of
6173 `temporary-file-directory' on remote hosts.
6175 * ob-eval.el (org-babel-shell-command-on-region):
6176 Use `process-file' instead of `call-process-region'. The latter one
6177 does not work on remote hosts.
6179 2012-12-13 Bastien Guerry <bzg@gnu.org>
6181 * org-latex.el (org-export-latex-links): Escape raw path when
6182 exporting links to files.
6184 * org-src.el (org-src-native-tab-command-maybe): Fix bug: the
6185 S-TAB key should not trigger a native TAB command.
6187 * org.el (org-open-at-point): Allow to open any link within
6188 footnotes definition, not only bracket links.
6190 * org.el (org-sort-entries): Bugfix: keep track of the clock
6191 marker when sorting entries. Enhance the docstring.
6193 * org-clock.el (org-clock-out): Use `user-error' when the user
6194 tries to clock out while there is no running clock.
6196 * org-table.el (org-table-sort-lines): Ensure coordinates are
6197 correctly displayed when sorting.
6199 * org.el (org-do-sort): Enhance prompt.
6201 * org-agenda.el (org-agenda-finalize): Also activate plain links.
6203 * org-timer.el (org-timer-stop): Add message.
6205 * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
6206 Fix redundant messages.
6208 * org-agenda.el (org-agenda-finalize): Fix clock highlighting.
6210 * org.el (org-additional-option-like-keywords): Add "INDEX:".
6212 * org-install.el: Enhance warning.
6214 2012-12-13 Erik Hetzner <egh@e6h.org> (tiny change)
6216 * org.el (org-log-into-drawer): Honor the nil value for the
6217 :LOG_INTO_DRAWER: property.
6219 2012-12-13 Le Wang <l26wang@gmail.com> (tiny change)
6221 * org-src.el (org-edit-src-exit): Fix editing source section with
6224 2012-12-13 Le Wang <le.wang@agworld.com.au>
6226 * org-src.el (org-edit-src-code): Use marker with insertion type
6227 t to track end and remove hack requiring delete from beg to (1- end).
6229 2012-12-13 Nicolas Goaziou <n.goaziou@gmail.com>
6231 * org-element.el (org-element-context): When point is between two
6232 objects, be sure to return the second one.
6234 * org-list.el (org-list-separating-blank-lines-number):
6235 When computing number of blank lines separating items, also count those
6236 in unparsed blocks, like example blocks.
6238 * org.el (org-end-of-line): When visual line mode is on, really
6239 move by visual lines. Small refactoring.
6241 * org.el (org-end-of-line): On a hidden block make sure to
6242 delegate motion to `end-of-line' instead of `move-end-of-line' in
6243 order to stay on the current line.
6245 2012-12-13 Rafael Laboissiere <rafael@laboissiere.net> (tiny change)
6247 * org-bibtex.el: In the documentation section of the file, fix the
6248 broken URL to Andrew Roberts' document on BibTeX entries.
6250 * org-remember.el (org-remember-handler): Correctly strip the
6251 comment lines in the temporary buffer *Remember* when handling a
6254 * org-remember.el (org-remember-apply-template): Start the
6255 commented lines in the Remember temporary buffer with the
6256 appropriate characters.
6258 2012-12-13 Toby S. Cubitt <tsc25@cantab.net>
6260 * org.el (org-beginning-of-line): Check `visual-line-mode' instead
6261 of `line-visual-mode' to determine whether to move by visual lines.
6263 * org.el (org-kill-line): Use the `org-bound-and-true-p' macro.
6265 2012-12-04 Chong Yidong <cyd@gnu.org>
6267 * org-bibtex.el (org-bibtex-ask): Use visual-line-mode instead of
6270 2012-10-26 Achim Gratz <stromeko@stromeko.de>
6272 * ob-ditaa.el: Needs to (require 'org-compat) for
6273 org-find-library-dir.
6275 * org.el: Remove utf-8 codepoints in docstrings, bytecode doesn't
6276 work when loaded from compressed files.
6278 * org-compat.el: Make sure that file-name-directory is getting a
6279 stringp. This avoids a possible " (wrong-type-argument stringp
6280 nil)" error when the library in question does not exist.
6282 * org-odt.el: Replace arc-mode.el by arc-mode.
6284 * org.el: Replace org-macs.el by org-macs.
6286 * org-install.el: Provide an empty file that prints a warning
6287 about an outdated configuration.
6289 2012-10-26 Bastien Guerry <bzg@gnu.org>
6291 * org-latex.el (org-export-as-latex): Remove obsolete argument
6292 `hidden'. Also fix the docstring: using 'string as the value
6293 for `to-buffer' outputs a string with no LaTeX header.
6294 (org-export-as-latex-batch)
6295 (org-export-as-latex-to-buffer, org-export-region-as-latex)
6296 (org-export-as-pdf): Don't use the obsoleted argument.
6298 * ob-haskell.el (org-export-as-latex): Don't use the obsoleted
6301 * org.el (org-refile): Run within `with-demoted-errors' so that a
6302 corrupted bookmark file does not stop the refile process.
6304 * org-capture.el (org-capture-bookmark-last-stored-position):
6305 Ditto for the capture process.
6307 * org-src.el (org-edit-src-exit): Fix bug when saving an empty
6310 * org-lparse.el (org-lparse): Fix bug by returning the output
6313 * org.el (org-refile-check-position): Throw an error when the
6314 refile target is the current buffer and is not a file.
6315 (org-agenda-file-to-front, org-remove-file): Throw an error
6316 when the current buffer is not a file.
6317 (org-check-agenda-file): Enhance the message.
6318 (org-element-type): Autoload.
6319 (org-element-context, org-element-paragraph-parser):
6320 Don't declare as these two functions are not used in org.el.
6322 * org-lparse.el (browse-url-file-url): Declare.
6324 * org.el (org-refile-check-position): Fix typo in docstring.
6326 * org-clock.el (org-clock-modeline-total): Make obsolete.
6327 (org-clock-mode-line-total): Rename from
6328 `org-clock-modeline-total'.
6329 (org-clock-get-sum-start): Fix references to
6330 `org-clock-modeline-total'.
6332 * org-faces.el (org-agenda-filter-tags)
6333 (org-agenda-filter-category, mode-line): Use the 'mode-line
6334 face instead of the obsolete 'modeline.
6336 * org-odt.el (org-odt-styles-dir): Try more directories.
6337 Don't throw an error, just send a message.
6339 * org-odt.el (org-odt-lib-dir, org-odt-data-dir)
6340 (org-odt-schema-dir-list, org-odt-styles-dir-list): Delete.
6341 (org-export-odt-schema-dir, org-odt-styles-dir): Infer the
6342 correct directories without requiring other variables.
6344 * org-loaddefs.el: New file.
6346 * org.el ("org-loaddefs.el"): Don't throw an error if the file
6348 (org-version): Use org-loaddefs.el instead of org-install.el.
6350 * org.el: Don't dynamically autoload already autoloaded
6352 (org-clock-update-time-maybe): Move to org-clock.el.
6354 * org-exp.el (org-insert-export-options-template):
6355 Remove autoload cookie.
6357 * org-clock.el (org-resolve-clocks, org-clock-in)
6358 (org-clock-out, org-clock-cancel, org-clock-goto)
6359 (org-clock-sum, org-clock-display, org-clock-report)
6360 (org-dblock-write:clocktable): Add autoload cookie.
6361 (org-clock-update-time-maybe): Move from org.el.
6363 * org-beamer.el (org-beamer-sectioning, org-beamer-mode): Ditto.
6365 * org-ascii.el (org-export-ascii-preprocess): Ditto.
6367 * org-archive.el (org-archive-subtree)
6368 (org-archive-to-archive-sibling, org-toggle-archive-tag):
6369 Add autoload cookie.
6371 * org-colview.el (org-columns, org-dblock-write:columnview)
6372 (org-insert-columns-dblock, org-agenda-columns): Ditto.
6374 * org-table.el (org-table-create-with-table.el)
6375 (org-table-create-or-convert-from-region, org-table-create)
6376 (org-table-convert-region, org-table-import)
6377 (org-table-export, org-table-align)
6378 (org-table-justify-field-maybe, org-table-next-field)
6379 (org-table-previous-field, org-table-next-row)
6380 (org-table-copy-down, org-table-field-info)
6381 (org-table-current-dline, org-table-goto-column)
6382 (org-table-insert-column, org-table-delete-column)
6383 (org-table-move-column-right, org-table-move-column-left)
6384 (org-table-move-column, org-table-move-row-down)
6385 (org-table-move-row-up, org-table-move-row)
6386 (org-table-insert-row, org-table-insert-hline)
6387 (org-table-hline-and-move, org-table-kill-row)
6388 (org-table-sort-lines, org-table-cut-region)
6389 (org-table-copy-region, org-table-paste-rectangle)
6390 (org-table-convert, org-table-wrap-region)
6391 (org-table-edit-field, org-table-sum)
6392 (org-table-get-stored-formulas)
6393 (org-table-maybe-eval-formula)
6394 (org-table-rotate-recalc-marks)
6395 (org-table-maybe-recalculate-line, org-table-eval-formula)
6396 (org-table-recalculate, org-table-iterate)
6397 (org-table-edit-formulas)
6398 (org-table-toggle-coordinate-overlays)
6399 (org-table-toggle-formula-debugger, orgtbl-to-generic)
6400 (orgtbl-to-tsv, orgtbl-to-csv, orgtbl-to-latex)
6401 (orgtbl-to-html, orgtbl-to-texinfo, orgtbl-to-orgtbl): Ditto.
6403 * org.el (turn-on-orgtbl): Move here from org-table.el.
6404 (org-clock-persistence-insinuate): Move here from org-clock.el.
6405 (org-update-all-dblocks, org-map-entries)
6406 (org-require-autoloaded-modules, org-forward-element)
6407 (org-backward-element, org-up-element)
6408 (org-element-greater-elements, org-drag-element-backward)
6409 (org-drag-element-forward, org-mark-element)
6410 (org-narrow-to-element, org-transpose-element)
6411 (org-unindent-buffer): Don't autoload.
6413 * org-clock.el (org-clock-get-clocktable): Rename from
6414 `org-get-clocktable'.
6415 (org-clock-persistence-insinuate): Move to org.el.
6417 * org-capture.el: Do no set `generated-autoload-file' locally.
6418 Minor code clean up.
6420 * org-agenda.el (org-agenda-list):
6421 Use `org-clock-get-clocktable'. Do no set
6422 `generated-autoload-file' locally.
6424 * org-table.el (org-table-iterate-buffer-tables):
6426 (turn-on-orgtbl): Move to org.el.
6428 * org-html.el (org-export-htmlize-generate-css): Don't autoload.
6430 * org-timer.el (org-timer-pause-or-continue, org-timer-stop):
6433 * ob-tangle.el (org-babel-tangle-lang-exts): Ditto.
6435 * ob-lob.el (org-babel-lob-ingest): Ditto.
6437 * org-id.el (org-id-copy)
6438 (org-id-get-with-outline-path-completion)
6439 (org-id-get-with-outline-drilling): Ditto.
6441 * org-lparse.el (org-lparse-and-open, org-lparse-batch)
6442 (org-lparse-to-buffer, org-replace-region-by)
6443 (org-lparse-region): Ditto.
6445 * org-mobile.el (org-mobile-create-sumo-agenda): Ditto.
6447 * org.el (org-cycle): Fix misplaced autoload cookie.
6449 * org-agenda.el (org-agenda-get-timestamps): Check if the item
6450 is an habit when formatting it with `org-agenda-format-item'.
6451 (org-agenda-get-blocks): Fix bug: don't assume the item is an
6452 habit when formatting with `org-agenda-format-item'.
6454 * org.el (org-calendar-agenda-action-key): Delete an option.
6455 (org-mode-map): Delete its keybinding.
6456 (org-agenda-action-marker, org-mark-entry-for-agenda-action):
6459 * org-agenda.el (org-agenda-diary-entry): Don't prevent from
6460 being used outside of Org agendas, as it can be used in
6461 calendar buffers too.
6463 2012-10-26 Caio Tiago Oliveira <asrail@gmail.com> (tiny change)
6465 * ob-scala.el (org-babel-scala-wrapper-method): Use a Scala
6466 block enclosing the submitted code.
6468 2012-10-26 Myles English <mylesenglish@gmail.com> (tiny change)
6470 * org-clock.el (org-clock-in): Move the call to
6471 org-clock-in-prepare-hook until the task's properties
6474 2012-10-26 Nicolas Goaziou <n.goaziou@gmail.com>
6476 * org.el (org-auto-fill-function): Make sure `adaptive-fill-mode'
6477 mode is nil when pre-computed `fill-prefix' is the empty string.
6478 Otherwise filling functions from fill.el think it has to be computed
6479 again and overwrite it.
6481 * org.el: Make `org-closest-date' aware of hours repeaters.
6483 * org.el (org-end-of-line): Do not call `end-of-visual-line' when
6484 moving to the end of line. Also improve behavior on elements that
6487 * org.el (org-sparse-tree): Allow to call `org-show-todo-tree'
6490 * org-element.el (org-element--get-next-object-candidates):
6491 Fix parsing of objects of the same type in a single paragraph.
6493 * org-element.el (org-element-sub/superscript-successor):
6494 Fix parsing of sub/superscript at beginning of item.
6495 (org-element-latex-or-entity-successor): Fix parsing of latex
6496 fragments at beginning of item.
6498 * org-agenda.el (org-agenda-later): Fix function when span is
6499 a number and an argument was provided. Also fix typo in docstring.
6501 * org.el (org-read-date-analyze): Fix analyzing for dates like
6504 * org-element.el (org-element-center-block-parser)
6505 (org-element-drawer-parser, org-element-footnote-definition-parser)
6506 (org-element-inlinetask-parser, org-element-plain-list-parser)
6507 (org-element-quote-block-parser, org-element-special-block-parser)
6508 (org-element-babel-call-parser, org-element-clock-parser)
6509 (org-element-comment-parser, org-element-comment-block-parser)
6510 (org-element-example-block-parser, org-element-export-block-parser)
6511 (org-element-fixed-width-parser, org-element-horizontal-rule-parser)
6512 (org-element-keyword-parser, org-element-latex-environment-parser)
6513 (org-element-paragraph-parser, org-element-planning-parser)
6514 (org-element-property-drawer-parser, org-element-src-block-parser)
6515 (org-element-table-parser)
6516 (org-element-verse-block-parserorg-element-dynamic-block-parser):
6517 Make sure element never ends at the end of a blank non-empty line.
6519 * org-element.el (org-element-context)
6520 (org-element--get-next-object-candidates): Fix `org-element-context'.
6521 In particular, the restrictions for an object may be different from
6522 those of its container (i.e. table rows and table cells).
6524 * org-element.el (org-element-example-block-parser)
6525 (org-element-src-block-parser): Store value of example-blocks and
6526 src-blocks unescaped.
6527 (org-element-example-block-interpreter)
6528 (org-element-src-block-interpreter): Escape value again when storing
6531 * org-src.el (org-escape-code-in-string)
6532 (org-unescape-code-in-string, org-escape-code-in-region)
6533 (org-unescape-code-in-region): New functions.
6534 (org-edit-src-code, org-edit-src-exit): Use new functions.
6536 * org.el (org-strip-protective-commas): Remove function.
6538 * org-exp.el (org-export-select-backend-specific-text): Use new
6541 * ob.el (org-babel-parse-src-block-match)
6542 (org-babel-parse-inline-src-block-match, org-babel-insert-result):
6543 Always escape produced blocks, independently on the language of the
6544 block, if any. Use new functions.
6546 * org-element.el (org-element-paragraph-parser): Fix regexp
6549 * org-element.el (org-element-center-block-parser):
6550 (org-element-drawer-parser, org-element-dynamic-block-parser)
6551 (org-element-example-block-parser, org-element-export-block-parser)
6552 (org-element-latex-environment-parser, org-element-paragraph-parser)
6553 (org-element-property-drawer-parser, org-element-src-block-parser)
6554 (org-element-verse-block-parser): Use stricter regexps for boundaries
6557 2012-10-26 Toby S. Cubitt <tsc25@cantab.net>
6559 * org-agenda.el (org-agenda-get-sexps): Reset `extra' to nil at
6560 beginning of re-search-forward loop, otherwise next iteration picks up
6561 `extra' value from previous entry.
6563 2012-09-30 Abdó Roig-Maranges <abdo.roig@gmail.com>
6565 * org-html.el (org-export-html-preprocess)
6566 (org-export-html-format-image):
6567 Use `org-latex-preview-ltxpng-directory'.
6569 * org-odt.el (org-export-odt-do-preprocess-latex-fragments):
6572 * org.el (org-latex-preview-ltxpng-directory): New option.
6573 (org-preview-latex-fragment): Store LaTeX preview images in
6574 `org-latex-preview-ltxpng-directory'.
6576 2012-09-30 Achim Gratz <Stromeko@Stromeko.DE>
6578 * ob-R.el (org-babel-R-initiate-session): Protect against use of
6579 unbound variable `ess-ask-for-ess-directory´. The default for this
6580 variable is true, so act accordingly if it is found unbound.
6582 * ob-R.el: Remove initialization with `nil´ from
6583 `ess-ask-for-ess-directory´ and `ess-local-process-name´.
6584 Remove second declaration for `ess-local-process-name´.
6586 * org-gnus.el: Add a missing require for gnus-util.
6588 * org-compat.el: Rename utils to make throughout.
6590 * org.el: Move check for outline-mode-keymap after (require
6593 * org-element.el: New file. Do not (require 'org).
6595 * org-agenda.el: Remove duplicate requires.
6597 * org.el (org-mode-map): Add keybindings to
6598 `org-element-transpose' and `org-narrow-to-element'.
6599 (org-metaup): Fall back on `org-element-drag-backward'.
6600 (org-metadown): Fall back on `org-element-drag-forward'.
6601 Also move chunks of declarations and require statements to get rid of
6604 * org-exp-blocks.el (org): Don't require org. Add declarations.
6606 * org-clock.el (org): Don't require org.
6608 * ob-exp.el (org-list-forbidden-blocks): Add declarations.
6610 * ob.el (org-babel-exeext): New defconst to hold extension for
6611 executables or nil if none. Should be ".exe" for both Windows and
6614 * ob-C.el (org-babel-C-execute): Use org-babel-exeext when
6615 constructing the target file name for the compiled executable.
6617 * ob-fortran.el (org-babel-execute:fortran): Add org-babel-exeext
6618 when constructing the target file name for the compiled
6621 * org-version.el: New file.
6623 * org-compat.el (org-check-version): New macro. Check if
6624 org-version.el exists and provide autoloads to that. Otherwise
6625 check if org-fixup.el exists and use it to provide definitions.
6626 Finally if nothing worked, complain about a botched installation
6627 and provide fallback definitions.
6629 * org.el: Use org-check-version.
6631 * org.el: Fix a subtle error resulting in version functions
6632 sometimes not being defined and byte-compiling failing.
6633 Always compile in fallback definitions into org.elc -- org-fixup either
6634 provides re-definitions at compile-time or checks org-version.el
6635 and then the git work tree when run uncompiled. So the fallback
6636 definitions will only come into effect when org-fixup is not
6639 * org.el (org-version): Make org-version more robust, e.g. when
6640 byte-compiling single files with 'make compile-dirty'.
6642 * org.el (org-reload): Revert an undesirable change in org-reload.
6643 Do not prepend org-dir to babel-files, which prevents the files
6644 from being found in load-path.
6646 * org.el (org-version): Add optional parameters 'full and 'message
6647 to optionally return the full version string and echo to message
6648 area in non-interactive calls.
6650 * org.el (org-submit-bug-report): Add optional parameter 'full to
6651 call of (org-version) so that the bug report has all version
6654 * org.el (org-reload): Simplify file-re (orgtbl-*.el files do not
6655 exist anymore). Keep org-*.el at the end of the files list.
6656 Explicitly load org-version.el (since it doesn't provide feature
6657 'org-version) at the very end, but ignore errors when it doesn't
6658 exist. Add parameters 'full and 'message to the call of
6659 (org-version) so that after reload the full version information is
6660 displayed in the message area again.
6662 * org-agenda.el: Replace with-no-warnings with org-no-warnings
6663 (defined in org-macs.el).
6665 * org-bbdb.el: Replace with-no-warnings with org-no-warnings
6666 (defined in org-macs.el).
6668 * org-clock.el: Replace with-no-warnings with org-no-warnings
6669 (defined in org-macs.el).
6671 * org.el: Replace with-no-warnings with org-no-warnings (defined
6674 * org.el: Add with-not-warnings around call of (org-fixup).
6676 * org-compat.el (org-find-library-dir):
6677 Rename org-find-library-name (misleading) and implement with a function
6678 that exists identically in Emacs/XEmacs.
6680 * org-exp-blocks.el: Change calls to org-find-library-dir.
6682 * org.el: change calls to org-find-library-dir. Make require for
6683 noutline fail silently because it is missing from XEmacs.
6685 * org.el (org-version): Use functions instead of global variables
6686 to get the version strings and remove the defvaralias to
6687 org-version. Warn when encountering a mixed installation (org and
6688 org-install.el should be found in the same directory).
6690 * org.el: Add with-no-warning to defvar for two unprefixed global
6691 variables from calendar.el (there's nothing else we can do inside
6692 org until it is fixed in calendar.el).
6694 * org.el: Require find-func and remove declare-function for
6695 find-library-name, otherwise autoloaded org-version doesn't show
6698 * org.el (org-version): Show the full path to org-install.el in
6699 the version string to avoid confusion if multiple installations
6700 exist or a previously loaded org-install.el has already defined a
6701 version string that is now out of date.
6703 * org.el (org-version): Remove determination of version
6704 information, show "N/A" if the information is not provided via
6707 * org.el (org-git-version): Placeholder for recording the Git
6708 version of org during install
6710 * org.el (org-version): Initialize local git-version with
6711 placeholder and fall through using it when org is not installed in
6714 2012-09-30 Adam Spiers <orgmode@adamspiers.org> (tiny change)
6716 * org-html.el: Add hyperlink to http://orgmode.org/ from export
6719 * org-clock.el (org-clock-modify-effort-estimate): Display a
6720 message when no clock is currently active.
6722 2012-09-30 Andrew Hyatt <ahyatt@gmail.com> (tiny change)
6724 * org-archive.el (org-archive-subtree): Allow archiving to a
6727 * org.el (org-archive-location): Ditto.
6729 2012-09-30 Bastien Guerry <bzg@gnu.org>
6731 * ob-io.el: New file.
6733 * ob-scala.el: New file.
6735 * org.el (org-url-hexify-p, org-doi-server-url)
6736 (org-latex-preview-ltxpng-directory, org-custom-properties)
6737 (org-sparse-tree-default-date-type): Add :version "24.3".
6739 * org-agenda.el (org-agenda-sticky)
6740 (org-agenda-custom-commands-contexts): Ditto.
6742 * org-capture.el (org-capture-bookmark)
6743 (org-capture-templates-contexts) (org-capture-use-agenda-date):
6746 * org-latex.el (org-export-latex-hyperref-options-format)
6747 (org-export-latex-link-with-unknown-path-format): Ditto.
6749 * org-id.el (org-id-link-to-org-use-id): Ditto.
6751 * org-datetree.el (org-datetree-add-timestamp): Ditto.
6753 * org.el (org-make-link-description-function): Enhance docstring.
6754 (org-insert-link): Fall back on interactive prompt when
6755 `org-make-link-description-function' fails.
6757 * org-agenda.el (org-todo-list): Fix redoing of todo agenda when
6758 `org-agenda-sticky' is non-nil.
6760 * org-agenda.el (org-agenda-quit): Delete last indirect buffer.
6761 (org-agenda-pre-follow-window-conf): New variable.
6762 (org-agenda-tree-to-indirect-buffer): Fix bug: don't split agenda
6763 window when there an indirect buffer is already displayed.
6765 * org-agenda.el (org-agenda-manipulate-query)
6766 (org-agenda-goto-date, org-agenda-goto-today)
6767 (org-agenda-find-same-or-today-or-agenda, )
6768 (org-agenda-later, org-agenda-change-time-span)
6769 (org-agenda-change-all-lines)
6770 (org-agenda-execute-calendar-command)
6771 (org-agenda-goto-calendar, org-agenda-convert-date): Make sure to
6772 get a property from (1- (point-max)), not (point-max)).
6774 * ob-dot.el (org-babel-execute:dot): Throw an error when there is
6777 * org-table.el (org-table-eval-formula): Convert time-stamps to
6778 inactive time-stamp so that Calc can handle them correctly.
6780 * org-table.el (org-table-fix-formulas): Warn with a message when
6781 formulas have been updated.
6783 * org-publish.el (org-publish-cache-ctime-of-src): Delete the
6784 base-dir argument and use (file-name-directory file) to get the
6786 (org-publish-update-timestamp)
6787 (org-publish-cache-file-needs-publishing):
6788 Call `org-publish-cache-ctime-of-src' with only one argument.
6790 * org.el (org-follow-timestamp-link): Fix bug when using sticky
6791 agenda. Add a docstring.
6793 * org-agenda.el (org-agenda-sticky): Don't use a function to set.
6794 Add a :version string.
6796 * org.el (org-priority): Use a new argument to show priority
6797 instead of setting it.
6798 (org-show-priority): New function to show priority both in normal
6799 Org buffers and in Org Agenda buffers.
6800 (org-speed-commands-default): Use "," as a speed command for
6803 * org-agenda.el (org-agenda-mode-map): Bind `org-agenda-priority'
6804 to `C-c ,' as it was before.
6805 (org-agenda-show-priority): Delete.
6806 (org-agenda-priority): Use a new argument to show priority instead
6809 * org.el (org-font-lock-hook, org-set-font-lock-defaults): Add a
6811 (org-display-inline-remove-overlay): Rename from
6812 `org-display-inline-modification-hook'.
6813 (org-speed-command-activate): Rename from
6814 `org-speed-command-default-hook'.
6815 (org-babel-speed-command-hook): Rename from
6816 `org-babel-speed-command-activate'.
6818 * org-agenda.el (org-agenda-update-agenda-type): Rename from
6819 `org-agenda-post-command-hook'.
6820 (org-agenda-mode): Use the new name.
6821 (org-agenda-post-command-hook): Define as obsolete function.
6823 * org-lparse.el (org-lparse): Temporarily activate the hooks
6824 needed for the ODT conversion.
6825 (org-lparse-preprocess-after-blockquote): Rename from
6826 `org-lparse-preprocess-after-blockquote-hook'.
6827 (org-lparse-strip-experimental-blocks-maybe): Rename from
6828 `org-lparse-strip-experimental-blocks-maybe'.
6829 (org-lparse-preprocess-after-blockquote-hook)
6830 (org-lparse-strip-experimental-blocks-maybe-hook): Define as
6833 * ob.el (org-babel-insert-result): Comma-escape results inserted
6834 with ":results org".
6836 * org-src.el (org-edit-src-code, org-edit-src-exit): Fix bug about
6837 saving the source editing window with the default value for
6838 `org-src-window-setup' (i.e. 'reorganize-frame).
6840 * org-src.el (org-src-font-lock-fontify-block): Fix bug: don't
6841 fontify the last character.
6843 * org.el (org-open-at-point): Don't follow timestamp within
6846 * org-capture.el (org-capture-templates): Fix typo in docstring.
6848 * org-agenda.el (org-agenda-skip): Skip information retrieved from
6851 * ob.el (org-babel-common-header-args-w-values)
6852 (org-babel-insert-result): Reintroduce ":results org" but using
6853 "#+BEGIN_SRC org", not "#+BEGIN_ORG".
6855 * ob.el (org-babel-common-header-args-w-values): Remove "org" the
6856 list of predefined values for the ":results" parameter.
6858 * ob.el (org-babel-insert-result): Remove support for ":results
6861 * ob.el (org-babel-common-header-args-w-values)
6862 (org-babel-insert-result): Deprecate ":results wrap" in favor of
6865 * org-crypt.el (org-at-encrypted-entry-p): Fix bug when the check
6866 happens before the first headline.
6868 * org-capture.el (org-at-encrypted-entry-p)
6869 (org-encrypt-entry, org-decrypt-entry): Declare.
6870 (org-capture-set-target-location): Check whether `org-crypt' has
6873 * org-agenda.el (org-agenda-todo-custom-ignore-p): Fix typo in
6876 * org-capture.el (org-capture-finalize): Maybe re-encrypt the
6877 target headline if it was decrypted.
6878 (org-capture-set-target-location): Maybe decrypt the target
6881 * org-crypt.el (org-at-encrypted-entry-p): New function.
6883 * org.el (org-options-keywords): Add "STYLE:".
6885 * org-agenda.el (org-agenda-ndays): Don't make an alias, as
6886 `org-agenda-span' is defined separately.
6888 * org.el (org-in-subtree-not-table-p): New utility function for
6890 (org-org-menu): Add an item for refiling. Check more contexts
6891 when activating items.
6892 (org-tree-to-indirect-buffer): Use `org-up-heading-safe'.
6894 * org-agenda.el (org-agenda-tree-to-indirect-buffer)
6895 (org-agenda-do-tree-to-indirect-buffer): Use argument `arg'.
6897 * org-capture.el (org-capture-set-target-location): Set a correct
6898 time value when storing a note in a datetree and prompting the
6901 * org-capture.el (org-capture-mode): Fix bug: don't run the mode's
6904 * org-agenda.el (org-agenda-menu-two-column)
6905 (org-finalize-agenda-hook, org-agenda-ndays):
6906 Use `define-obsolete-variable-alias' instead of
6907 `make-obsolete-variable'.
6909 * org.el (org-link-to-org-use-id): Move to org-id.el.
6911 * org-id.el (org-id-link-to-org-use-id): Rename from
6912 `org-link-to-org-use-id'. Use `nil' as the default value.
6913 (org-link-to-org-use-id): Alias and define as obsolete.
6915 * org-agenda.el (org-search-view, org-agenda-get-todos)
6916 (org-agenda-get-timestamps, org-agenda-get-blocks): Use the dotime
6917 parameter of `org-agenda-format-item' so that 'time-up and
6918 'time-down agenda sorting strategies are handled correctly.
6920 * org-capture.el (org-capture-fill-template): Fix checking of
6921 protected template entries.
6923 * org.el (org-cycle-global-at-bob): Fix typo in docstring.
6925 * org.el (org-insert-drawer): Deactivate the mark before trying to
6926 indent the :END: of the drawer.
6928 * org-agenda.el (org-agenda-export-html-style): Default to nil as
6929 any string value will replace the htmlize style.
6931 * org.el (org-cycle-hook): Fix tiny typo in docstring.
6933 * org.el (org-time-string-to-time)
6934 (org-time-string-to-seconds, org-end-of-subtree): Add a dosctring.
6936 * org-freemind.el (org-freemind-write-node): Enhance links
6937 conversion in nodes.
6939 * org-freemind.el (org-freemind-write-node): Convert links in
6942 * org.el (org-link-to-org-use-id, org-directory)
6943 (org-default-notes-file, org-reverse-note-order)
6944 (org-extend-today-until, org-finish-function)
6945 (org-store-link-functions): Use "capture" instead of "remember" in
6946 docstrings. Also use the `org-capture' group when it makes sense.
6948 * org-agenda.el (org-agenda-tree-to-indirect-buffer): Find the
6949 correct agenda buffer. Don't split the agenda window when the
6950 indirect buffer is displayed in another frame.
6952 * org.el (org-mode): Try to set the org-hide face correctly.
6954 * org-exp.el (org-export): Set the mark correctly when exporting a
6957 * org-agenda.el (org-agenda-get-restriction-and-command): Fix the
6958 display of the number of commands for block agendas.
6960 * org-agenda.el (org-agenda-before-write-hook)
6961 (org-agenda-add-entry-text-maxlines): Enhance phrasing.
6962 (org-agenda-finalize-hook, org-agenda-mode-hook): Tell that the
6963 buffer is writable when the hook is called.
6964 (org-agenda-finalize): Allow org-agenda-finalize-hook to modify
6967 * org-agenda.el (org-habit-show-all-today): Only use defvar to
6968 silent the byte-compiler.
6969 (org-agenda-get-scheduled): Check whether some org-habit.el
6970 options have been defined.
6972 * org-capture.el (org-capture-entry): New variable.
6973 (org-capture-string, org-capture): Use it to possibly skip the
6974 interactive prompt for a capture template.
6976 * org.el (org-activate-plain-links): Don't try to check if we are
6977 in a bracket link already.
6979 * org.el (org-read-date-analyze): Fix bug introduced in commit
6980 cc5f9f: adding a time should not prevent relative answers to be
6983 * org-agenda.el (org-agenda-bulk-action): Always read the date
6984 through `org-read-date'. When possible, use the date at point as
6987 * org-agenda.el (org-agenda-bulk-action): Fix bug when
6988 bulk-shifting timestamps.
6990 * org.el (org-version): New constant.
6992 * org-compat.el (org-random): New compatibility function.
6994 * org-id.el (org-id-uuid): Use it.
6996 * org-capture.el (org-capture-use-agenda-date): New option.
6997 (org-capture): Use it.
6999 * org-agenda.el (org-agenda-capture): New command.
7000 (org-agenda-mode-map): Bind it to `k'.
7001 (org-agenda-menu): Add it to the menu.
7003 * org-capture.el (org-capture): Update docstring.
7005 * org-capture.el (org-capture): When called from an agenda buffer,
7006 use the cursor date at the default date.
7008 * org-agenda.el (org-agenda-bulk-action): Use the let-bound
7009 `entries' instead the variable.
7011 * org-agenda.el (org-agenda-bulk-action): Fix bug: don't remove
7012 persistent marks too early.
7014 * org-agenda.el (org-agenda-bulk-action): Possibly use the day at
7015 point to reset the scheduled or deadline cookie. On date headers,
7016 use it without prompting the user. On an item, use the item's
7017 date as the default prompt for `org-read-date'.
7019 * org.el (org-read-date): Docstring fix.
7021 * org-agenda.el (org-agenda-bulk-action): Reorder possible actions
7024 * org-agenda.el (org-agenda-action, org-agenda-do-action): Delete.
7025 (org-agenda-mode-map): Delete related keys.
7027 * org-agenda.el (org-agenda-menu): Fix a keybinding.
7029 * org-colview.el (org-columns-goto-top-level): Correctly move the
7030 marker `org-columns-top-level-marker'.
7031 (org-agenda-columns): Don't set
7032 `org-agenda-overriding-columns-format' as a buffer variable, as we
7033 only need it dynamically.
7034 (org-agenda-colview-summarize): Fix a bug in returning the match
7037 * org-agenda.el (org-agenda-span-to-ndays): Make the second
7038 argument `starting-day' optional.
7039 (org-agenda-goto-date): Keep parameters of custom agendas.
7041 * org-agenda.el (org-agenda-list): Allow setting the agenda buffer
7042 name through a temporary variable.
7043 (org-agenda-buffer-tmp-name): New variable to temporary store the
7046 * org-agenda.el (org-agenda-goto-date): Fix behavior when using
7049 * org-agenda.el (org-diary): Don't check whether there is an
7050 agenda buffer when trying to compile the prefix format.
7051 (org-compile-prefix-format): Check if there is an agenda buffer.
7052 If not, use the current buffer.
7054 * org-agenda.el (org-agenda-get-day-entries): Set the agenda
7055 buffer inconditionnally.
7057 * ob.el (org-babel-named-src-block-regexp-for-name): Generate a
7058 more general regexp.
7060 * ob.el (org-babel-where-is-src-block-head): Find a src block head
7061 correctly when #+header(s) is before #+name.
7063 * org-agenda.el (org-agenda-finalize-hook)
7064 (org-agenda-finalize, org-agenda-finalize-entries): Rename from
7065 org-finalize-agenda-*.
7066 (org-agenda-run-series, org-agenda-finalize, org-timeline)
7067 (org-agenda-list, org-search-view, org-todo-list)
7068 (org-tags-view, org-diary, org-agenda-finalize-entries)
7069 (org-agenda-change-all-lines): Use the new names.
7071 * org-agenda.el (org-agenda-local-vars):
7072 Remove ̀org-agenda-last-arguments' from the list of local variables.
7073 (org-agenda-mode-map): `g' does the same than `r' in buffers with
7074 only one agenda view, but its behavior differs when there are
7075 several views. In manually appended agendas (with `A'), `g'
7076 displays only the agenda under the point. With multiple agenda
7077 blocks, `g' reinitializes the view by discarding any temporary
7078 changes (e.g. with ̀f' or `w'), while ̀r' keeps those temporary
7079 changes for the agenda view under the point.
7080 (org-agenda-run-series, org-agenda-redo): Implement the above
7082 (org-agenda-mark-header-line): Don't set useless properties.
7083 (org-agenda-list, org-todo-only, org-search-view)
7084 (org-todo-list, org-tags-view, org-agenda-list-stuck-projects)
7085 (org-agenda-manipulate-query, org-agenda-goto-today)
7086 (org-agenda-later, org-agenda-change-time-span): Use text
7087 properties for storing the last command and the last arguments for
7089 (org-unhighlight-once): Delete.
7091 * org-agenda.el (org-agenda-append-agenda): Fit agenda window to
7094 * org-agenda.el (org-agenda-append-agenda): Bugfix: correctly
7095 check whether we are in org-agenda-mode.
7097 * org-agenda.el (org-agenda-pre-window-conf): Rename from
7098 `org-pre-agenda-window-conf'.
7099 (org-agenda-local-vars, org-agenda-prepare-window)
7100 (org-agenda-Quit, org-agenda-quit): Use the new name.
7102 * org-agenda.el (org-keys, org-match): New variable, dynamically
7103 scoped in `org-agenda'.
7104 (org-agenda, org-agenda-list, org-search-view, org-todo-list)
7105 (org-tags-view): Use the new variables.
7106 (org-batch-store-agenda-views): Let-bind `match'.
7108 * org-agenda.el (org-search-view, org-todo-list)
7109 (org-tags-view): Do not let `org-agenda-sticky' prevent the use of
7110 these functions programmatically. Also use the sticky agenda
7113 * org-agenda.el (org-agenda): Set `org-agenda-buffer-name'
7114 correctly with sticky agendas and non-custom commands.
7116 * org-agenda.el (org-agenda-fit-window-to-buffer): Rename from
7117 `org-fit-agenda-window'.
7118 (org-agenda-run-series, org-agenda-prepare, org-agenda-list)
7119 (org-search-view, org-todo-list, org-tags-view): Use the new name.
7121 * org-agenda.el (org-agenda-prepare): Let `throw' display an
7124 * org-agenda.el (org-agenda-list): Fix bug: don't throw an error
7125 when called from programs as (org-agenda-list).
7127 * org-agenda.el (org-todo-list): Make arg optional.
7129 * org.el (org-agenda-prepare-buffers): Rename from
7130 `org-prepare-agenda-buffers'.
7131 (org-match-sparse-tree, org-map-entries): Use the new names.
7133 * org-agenda.el (org-agenda-prepare-window): Rename from
7134 `org-prepare-agenda-window'.
7135 (org-agenda-prepare): Rename from `org-prepare-agenda'.
7136 (org-agenda-run-series, org-agenda-prepare, org-timeline)
7137 (org-agenda-list, org-search-view, org-todo-list)
7138 (org-tags-view, org-agenda-list-stuck-projects, org-diary)
7139 (org-agenda-to-appt): Use the new names.
7141 * org-mobile.el (org-mobile-create-index-file): Ditto.
7143 * org-icalendar.el (org-export-icalendar): Ditto.
7145 * org-clock.el (org-dblock-write:clocktable)
7146 (org-dblock-write:clocktable): Ditto.
7148 * org-agenda.el (org-agenda): In sticky agendas, use the current
7149 command's match to set the buffer name. This gives more
7150 information to the user and allows to distinguish various agendas
7151 triggered by the same key.
7152 (org-batch-store-agenda-views): Handle the new sticky agenda
7155 * org-agenda.el (org-agenda)
7156 (org-agenda-get-restriction-and-command): Use `S' as a key for
7157 searching words in TODO-only entries.
7159 * org-agenda.el (org-prepare-agenda): Fit agenda window when
7160 displaying a sticky agenda.
7162 * org-table.el (org-table-number-regexp): Allow the user to set it
7163 to a new regexp, which allows commas as decimal mark. The default
7164 is to not use this setting, but the one before commit 7ff8c1,
7165 which has ben reverted.
7167 * org-agenda.el (org-agenda-overriding-cmd)
7168 (org-agenda-multi-current-cmd)
7169 (org-agenda-multi-overriding-arguments): New variables.
7170 (org-agenda-run-series): `org-agenda-overriding-arguments'
7171 defaults to the last agenda block arguments, so don't use it
7173 (org-agenda-mark-header-line): Add properties needed so that
7174 `org-agenda-overriding-arguments', `org-agenda-current-span' and
7175 `org-agenda-last-arguments' can be set to their correct contextual
7177 (org-agenda-multi-back-to-pos): New variable.
7178 (org-agenda-later): Retrieve `org-agenda-current-span' and
7179 `org-agenda-overriding-arguments' from text properties.
7180 Also handle numeric span.
7181 (org-agenda-later, org-agenda-change-time-span):
7182 Set `org-agenda-overriding-cmd' so that we to take overriding
7183 arguments into account for this command only.
7185 * org-agenda.el (org-agenda-kill, org-agenda-archive-with):
7186 Fix bug when called with a non-nil value of `org-agenda-stick'.
7188 * org-agenda.el (org-agenda-refile): Fix bug when refiling an
7189 entry from a sticky agenda.
7191 * org-agenda.el (org-prepare-agenda-window):
7192 Use `org-pre-agenda-window-conf' if already set.
7193 (org-agenda-Quit): Set `org-pre-agenda-window-conf' to nil when
7195 (org-agenda-quit): Ditto.
7197 * org-capture.el (org-capture-fill-template): Protect the text
7198 used for replacement from being further replaced.
7200 * org.el (org-contextualize-validate-key): Fix the check against a
7203 * org.el (org-contextualize-keys): Rename from
7204 `org-contextualize-agenda-or-capture'. Fix normalization to
7205 handle empty key replacement string.
7206 (org-contextualize-validate-key): Rename from
7207 `org-contexts-validate'. Allow checking against a custom
7210 * org-agenda.el (org-agenda-custom-commands-contexts): Update.
7211 (org-agenda): Use `org-contextualize-keys'.
7213 * org-capture.el (org-capture-templates-contexts): Ditto.
7215 * org.el (org-contextualize-agenda-or-capture):
7218 * org.el (org-contextualize-agenda-or-capture): Handle key
7219 replacement depending on the contexts.
7221 * org-capture.el (org-capture-templates-contexts): Allow to use
7222 the context as a way to replace one capture template by another
7225 * org-agenda.el (org-agenda-custom-commands-contexts): Allow to
7226 use the context as a way to replace one agenda custom command by
7229 * org.el (org-contextualize-agenda-or-capture)
7230 (org-rule-validate): New functions, implement context filtering
7231 for agenda commands and capture templates.
7233 * org-agenda.el (org-agenda-custom-commands-contexts): New option.
7234 (org-agenda): Use it.
7236 * org-capture.el (org-capture-templates-contexts): New option.
7237 (org-capture-select-template): Use it.
7239 * org.el (org-beginning-of-defun, org-end-of-defun): Delete.
7240 (org-mode): Set `beginning-of-defun-function' and
7241 `end-of-defun-function' directly.
7243 * org.el (org-insert-link): Fix bug: include links abbreviations
7246 * org-icalendar.el (org-icalendar-print-entries): Fix bug: when
7247 `org-icalendar-use-plain-timestamp' is nil, scheduled and deadline
7248 items should not be ignored.
7250 * org.el (org-ds-keyword-length, org-make-tags-matcher):
7253 * org-freemind.el (org-freemind-convert-links-from-org): Replace
7254 literally to prevent errors when replacing with string containing
7257 * org-pcomplete.el (org-thing-at-point): Allow to match (and then
7258 complete) a "thing" containing dashes.
7260 * org-table.el (org-table-toggle-coordinate-overlays):
7261 Better message when interactively toggling.
7263 * org-table.el (org-table-number-regexp): Update the docstring to
7264 show an example of a decimal number using the comma as a
7267 * org-agenda.el (org-prepare-agenda): Minor code clean-up.
7268 (org-agenda-filter-by-category): Filtering must be turned off only
7269 when a category filter has been set and this filter is not empty.
7271 * org-agenda.el (org-search-view, org-agenda-get-todos)
7272 (org-agenda-get-timestamps, org-agenda-get-sexps)
7273 (org-agenda-get-progress, org-agenda-get-deadlines)
7274 (org-agenda-get-scheduled, org-agenda-get-blocks):
7275 Use `category-pos' instead of `org-category-pos'.
7277 * ob-fortran.el (org-babel-fortran-transform-list): Rename from
7278 `ob-fortran-transform-list'.
7279 (org-babel-fortran-var-to-fortran): Use the new function's name.
7281 * ob-calc.el (org-babel-calc-maybe-resolve-var): Rename from
7282 `ob-calc-maybe-resolve-var'.
7283 (org-babel-execute:calc): Use the new function's name.
7285 * org-jsinfo.el (org-infojs-template): Add a license.
7286 (org-infojs-handle-options): Replace all template elements.
7288 * org-html.el (org-export-html-scripts): Add a license.
7289 (org-export-html-mathjax-config): Replace all template elements.
7290 (org-export-html-mathjax-template): Add a license.
7291 (org-export-as-html): Minor code clean-up.
7293 * org.el (org-options-keywords): Add "#+MATHJAX" and
7294 "#+INFOJS_OPT" to the list of keywords for completion.
7296 * org.el (org-src-prevent-auto-filling): Remove unused and useless
7299 * org.el (org-element-at-point): Autoload.
7300 (org-element-up): Remove useless declaration.
7301 (org-fill-context-prefix, org-fill-paragraph)
7302 (org-mark-element, org-narrow-to-element)
7303 (org-transpose-element, org-unindent-buffer): Do not require
7306 * org.el (org-fill-paragraph): Require org-element.
7308 * org-agenda.el (org-agenda-persistent-marks): Minor docstring
7311 * org.el (org-create-math-formula): Use the compatibility function
7312 `org-region-active-p'.
7314 * org-odt.el (org-export-as-odf): Ditto.
7316 * ob.el (org-babel-demarcate-block): Ditto.
7318 * org.el (org-mark-subtree): Maybe call `org-mark-element'
7320 (org-mark-element): Only mark further elements when called
7323 * org.el (org-mark-element, org-narrow-to-element)
7324 (org-transpose-element): Require org-element.
7326 * org-agenda.el (org-agenda-get-timestamps)
7327 (org-agenda-get-sexps, org-agenda-get-deadlines)
7328 (org-agenda-get-scheduled): Add the 'warntime as a text property,
7329 getting its value from the APPT_WARNTIME property.
7330 (org-agenda-to-appt): Use the 'warntime text property.
7332 * org-capture.el (org-capture-place-table-line): Fix bug.
7334 * org.el (org-activate-plain-links): Don't activate a plain link
7335 when it is part of a bracketed link, unless bracketed links are
7336 not enlisted in `org-activate-links'.
7337 (org-open-at-point): Don't consider the text immediately after a
7338 bracketed link is part of a plain link.
7340 * org.el (org-compute-latex-and-specials-regexp)
7341 (org-paste-subtree, org-sort-entries, org-store-link)
7342 (org-open-at-point, org-file-remote-p, org-add-log-setup)
7343 (org-set-tags-to, org-fast-tag-selection)
7344 (org-diary-sexp-entry): Ditto.
7346 * org-agenda.el (org-agenda-get-blocks, org-cmp-priority)
7347 (org-cmp-effort, org-cmp-todo-state, org-cmp-alpha)
7348 (org-cmp-tag, org-cmp-time): Remove useless (t nil) sexps at the
7349 end of (cond ...) constructs.
7351 * org-mobile.el (org-mobile-create-index-file): Ditto.
7353 * org-lparse.el (org-lparse-format-table-row): Ditto.
7355 * org-list.el (org-sort-list): Ditto.
7357 * org-id.el (org-id-get): Ditto.
7359 * org-html.el (org-export-html-preprocess): Ditto.
7361 * org-exp.el (org-default-export-plist)
7362 (org-table-clean-before-export): Ditto.
7364 * org.el (org-options-keywords): Add "TODO".
7365 (org-make-options-regexp): Make the hashtag mandatory for options
7366 and don't allow whitespaces between the hashtag and the plus sign.
7368 * org.el (org-refresh-category-properties)
7369 (org-find-dblock, org-dblock-start-re, org-dblock-end-re):
7370 Allow lowercase "#+category" and "#+begin:" dynamic blocks.
7372 * org.el (org-context): Use case-folding when trying to match
7373 clocktables and source blocks contexts.
7375 * org-clock.el (org-clock-put-overlay): Put the overlay on the
7376 whole headline, not only on the last character. This fixes a bug
7377 with overlays on headlines ending with a bracketed link.
7379 * org-html.el (org-export-as-html): Make sure we always process a
7382 * org-exp.el (org-export-cleanup-toc-line): Always return a
7385 * org.el (org-fontify-meta-lines-and-blocks-1): Correctly handle
7386 metalines with #+results[...]:.
7388 * org-exp.el (org-export-handle-metalines): Rename from
7389 `org-export-handle-table-metalines'. Now also handle source block
7391 (org-export-res/src-name-cleanup): Delete.
7392 (org-export-preprocess-string): Use `org-export-handle-metalines'.
7393 Don't use `org-export-res/src-name-cleanup' anymore.
7395 * org-html.el (org-format-org-table-html): Don't include the
7396 caption tag for empty captions in HTML export. Keep it in the
7397 DocBook export so that it produces valid DocBook XML.
7399 * org.el (org-read-date-analyze): Allow both "8am Wed" and "Wed
7400 8am" to be parsed correctly with respect to possible values of
7401 `org-read-date-prefer-future'.
7402 (org-read-date-prefer-future): Update docstring to remove the
7403 restriction about inserting only the time. The user can now
7404 insert the time and the day.
7406 * org-icalendar.el (org-icalendar-print-entries): Rename from
7407 `org-print-icalendar-entries'.
7408 (org-icalendar-start-file): Rename from
7409 `org-start-icalendar-file'.
7410 (org-icalendar-finish-file): Rename from
7411 `org-finish-icalendar-file'.
7412 (org-icalendar-ts-to-string): Rename from `org-ical-ts-to-string'.
7413 (org-export-icalendar): Use the correct functions.
7415 * ob-ref.el (org-babel-ref-index-list): Fix bug introduced by
7418 * org.el (org-fill-context-prefix): Require org-element.
7419 (org-timestamp-change): Fix bug by saving excursion when adjusting
7422 * org.el (org-read-date-prefer-future): Fix docstring formatting.
7423 (org-read-date-analyze): Fix the interpretation of
7424 `org-read-date-prefer-future'.
7426 * org-agenda.el (org-agenda-menu-two-column): Rename to
7427 `org-agenda-menu-two-columns'.
7429 * ob.el (org-babel-sha1-hash, org-babel-noweb-p):
7430 Replace `org-labels' by `let*'.
7432 * org-bibtex.el (org-bibtex-headline): Ditto.
7434 * org-compat.el: Delete `org-labels'.
7436 * ob.el (org-babel-get-src-block-info)
7437 (org-babel-check-src-block, org-babel-current-result-hash)
7438 (org-babel-parse-src-block-match, org-babel-read-link)
7439 (org-babel-insert-result, org-babel-clean-text-properties):
7440 Use ̀org-no-properties' instead of `org-babel-clean-text-properties'.
7441 (org-babel-clean-text-properties): Delete redundant function
7442 `org-babel-clean-text-properties'.
7444 * ob-tangle.el (org-babel-tangle-collect-blocks)
7445 (org-babel-tangle-comment-links): Ditto.
7447 * ob-table.el (sbe): Ditto.
7449 * ob-lob.el (org-babel-lob-get-info)
7450 (org-babel-lob-execute): Ditto.
7452 * ob-exp.el (org-babel-exp-non-block-elements): Ditto.
7454 * org-macs.el (org-no-properties): Allow a new parameter
7455 `restricted' to restrict the properties removal to those in
7456 `org-rm-props'. The default is now to remove all properties.
7458 * org-compat.el (org-substring-no-properties): Remove unused
7461 * org-remember.el (org-remember-apply-template): Remove redundant
7462 removal of text properties.
7463 (org-remember-apply-template): Use `org-no-properties'.
7465 * org-capture.el (org-capture-fill-template): Remove redundant
7466 removal of text properties.
7467 (org-capture-fill-template): Use `org-no-properties'.
7469 * org-gnus.el (org-gnus-open, org-gnus-follow-link):
7470 Use `org-no-properties'.
7472 * org-colview.el (org-columns-display-here): Ditto.
7474 * org-table.el (org-table-eval-formula): Ditto.
7476 * org.el (org-entry-properties): Ditto.
7478 * org-icalendar.el (org-print-icalendar-entries): Fix bug about
7479 handling `alarm-time'.
7481 * ob-R.el (org-babel-edit-prep:R): Don't set the session.
7483 * org.el (org-store-log-note): Only skip comments starting with "#
7484 " when storing a note.
7486 * org.el (org-custom-properties): New option.
7487 (org-custom-properties-overlays): New variable.
7488 (org-toggle-custom-properties-visibility): New command to toggle
7489 the visibility of custom properties.
7490 (org-check-before-invisible-edit): Also prevent errors when trying
7491 to edit invisible properties.
7493 * org-datetree.el (org-datetree-add-timestamp): New option.
7494 (org-datetree-insert-line): Use it.
7496 * org.el (org-fill-template): Fix bug when filling template for a
7497 key associated to the nil value.
7499 * org-agenda.el (org-diary): Fix tiny typo.
7501 * org.el (message-in-body-p): Move declaration up to fix compiler
7504 * org.el (org-fill-context-prefix): Fix auto-filling in
7507 * org.el (org-fill-paragraph): Correctly fill paragraph in
7509 (org-indent-line): Correctly indent according to mode when
7510 `orgstruct++-mode' is on.
7511 (orgstruct++-mode): Add `fill-prefix' to the variable temporarily
7512 stored in `org-fb-vars'.
7514 * org.el (org-fill-paragraph): Make a command. Fix bug about
7515 filling message headers and citations.
7517 * org.el (org-redisplay-inline-images): New command.
7518 (org-mode-map): Bind it to C-c C-x C-M-v.
7520 * org-colview.el (org-columns-get-format-and-top-level): Fix bug.
7521 (org-columns-get-format): Fix compiler warning.
7523 * org-feed.el: Add declarations.
7525 * org-agenda.el (org-agenda-get-sexps): Use `org-get-tags-at' to
7526 allow tag inheritance.
7528 * org-capture.el (org-capture): Fix bug introduced by commit
7531 * org-publish.el (org-publish-needed-p)
7532 (org-publish-update-timestamp, org-publish-file)
7533 (org-publish-cache-file-needs-publishing): New argument
7535 (org-publish-cache-ctime-of-src): Use the new argument to make
7536 sure we find the file according to :base-directory.
7538 * org-capture.el (org-capture-string): New command to prompt for
7539 the interactive text interactively. This can also be used in
7540 Elisp programs to use ̀org-capture' with some initial text.
7541 (org-capture-initial): New variable to store the initial text.
7542 (org-capture): Use `org-capture-initial'.
7544 * org.el (org-emph-re): Tiny docstring formatting fix.
7546 * org-compat.el (org-labels): Remove.
7548 * org-bibtex.el (org-bibtex-headline): Don't use `org-labels'.
7550 * ob.el (org-babel-sha1-hash, org-babel-noweb-p): Ditto.
7552 * org.el (org-emph-re): Tiny formatting fix.
7554 * org.el (orgstruct-setup): Require `org-element'.
7556 * org.el (org-store-link, org-open-at-point): New link type
7559 * org-compat.el (org-flet): Remove alias.
7561 * ob.el (org-babel-edit-distance, org-babel-sha1-hash)
7562 (org-babel-get-rownames, org-babel-insert-result)
7563 (org-babel-merge-params)
7564 (org-babel-expand-noweb-references): Don't use `org-flet'.
7565 Also indent some functions correctly.
7567 * ob.el (org-babel-execute-src-block)
7568 (org-babel-join-splits-near-ch, org-babel-format-result)
7569 (org-babel-examplize-region): Don't use `org-flet'.
7570 (org-babel-tramp-handle-call-process-region): Fix typo.
7572 * ob-awk.el (org-babel-awk-var-to-awk): Don't use `org-flet'.
7574 * ob-sh.el (org-babel-sh-var-to-string): Ditto.
7576 * ob-tangle.el (org-babel-tangle, org-babel-spec-to-string):
7577 Don't use `org-flet'.
7579 * org-pcomplete.el (org-compat): Require.
7581 * ob-tangle.el (org-babel-load-file): Don't use `org-flet'.
7583 * org-bibtex.el (org-bibtex-write): Use let*.
7585 * org-plot.el (org-plot/gnuplot-script): Don't use `org-flet'.
7587 * org-bibtex.el (org-bibtex-headline, org-bibtex-fleshout)
7588 (org-bibtex-read, org-bibtex-write): Don't use `org-flet'.
7590 * org-clock.el (org-clock-cancel): Use `org-looking-back'.
7592 * org-pcomplete.el (org-thing-at-point): Ditto.
7594 * org.el (org-timestamp-change): Ditto.
7596 * org-mouse.el (org-mouse-timestamp-today)
7597 (org-mouse-set-priority, org-mouse-popup-global-menu)
7598 (org-mouse-context-menu): Don't use ̀org-flet'.
7600 * org.el (org-priority): Fix docstring.
7602 * org-publish.el (org-publish-write-cache-file)
7603 (org-publish-initialize-cache)
7604 (org-publish-cache-file-needs-publishing)
7605 (org-publish-cache-get): Small code clean-up.
7607 * org-publish.el (org-publish-cache-ctime-of-src): Simplify.
7609 * org-agenda.el (org-agenda-get-sexps): Add a 'tags property for
7610 agenda entries created from sexps.
7612 * org-capture.el (org-capture-templates): Docstring clean up.
7613 (org-capture-place-entry, org-capture-place-item)
7614 (org-capture-place-plain-text, org-capture-place-table-line):
7615 Ensure to always position the point according to %?.
7617 * org-table.el (org-table-convert-refs-to-rc): Fix bug when
7618 converting remote table references.
7620 * org-agenda.el (org-agenda-switch-to): Run hooks in
7621 ̀org-agenda-after-show-hook'.
7623 * ob-ref.el (org-babel-ref-index-list): Use let* and rename the
7624 variable `length' to `lgth'.
7626 * org-plot.el (org-plot/gnuplot-to-grid-data): Don't use
7629 * org-exp.el (org-export-format-source-code-or-example): Ditto.
7631 * org-exp-blocks.el (org-export-blocks-preprocess): Ditto.
7633 * ob.el (org-babel-view-src-block-info)
7634 (org-babel-execute-src-block, org-babel-edit-distance)
7635 (org-babel-switch-to-session-with-code)
7636 (org-babel-balanced-split, org-babel-insert-result): Ditto.
7638 * ob-ref.el (org-babel-ref-index-list): Ditto.
7640 * ob-python.el (org-babel-python-evaluate-session): Ditto.
7642 * ob-lob.el (org-babel-lob-get-info): Ditto.
7644 * ob-gnuplot.el (org-babel-expand-body:gnuplot): Ditto.
7646 * ob-exp.el (org-babel-exp-do-export): Ditto.
7648 * org-table.el (orgtbl-to-generic): Fix docstring.
7650 * org-clock.el (org-clock-in): Call `org-clock-out' with the new
7651 argument `switch-to-state' set to nil. Fix docstring.
7652 (org-clock-in-last): Prompt for a todo state to switch to when
7653 called with three universal prefix arguments. Don't display a
7654 message when the clock is already running. Update docstring.
7655 (org-clock-out): New argument `switch-to-state'. When this
7656 argument is non-nil, prompt for a state to switch the clocked out
7657 task to, overriding `org-clock-out-switch-to-state'.
7659 * org.el (org-entry-get): Don't use `org-flet'.
7661 * org.el (org-forward-heading-same-level): Rename from
7662 `org-forward-same-level'.
7663 (org-backward-heading-same-level): Rename from
7664 `org-backward-same-level'.
7666 * org.el (org-forward-element): Rename from `org-element-forward'.
7667 (org-backward-element): Rename from `org-element-backward'.
7668 (org-up-element): Rename from `org-element-up'.
7669 (org-down-element): Rename from `org-element-down'.
7670 (org-drag-element-backward): Rename from
7671 `org-element-drag-backward'.
7672 (org-drag-element-forward): Rename from
7673 `org-element-drag-forward'.
7674 (org-mark-element): Rename from `org-element-mark-element'.
7675 (org-transpose-element): Rename from `org-element-transpose'.
7676 (org-unindent-buffer): Rename from `org-element-unindent-buffer'.
7677 (org-mode-map): Update the names of a commands. Remove useless
7680 * org-element.el (org-element-forward, org-element-backward)
7681 (org-element-up, org-element-down)
7682 (org-element-drag-backward, org-element-drag-forward)
7683 (org-element-mark-element, org-narrow-to-element)
7684 (org-element-transpose, org-element-unindent-buffer): Move to
7687 * org.el (org-forward-same-level): Fix typo in docstring.
7689 * org-agenda.el (org-agenda-mode-map):
7690 Bind `org-agenda-show-priority' to `C-c,' instead of `P'.
7691 (org-agenda-next-item, org-agenda-previous-item): New commands to
7692 move by one item down/up in the agenda.
7693 (org-agenda-mode-map): Bind `org-agenda-next-item' and
7694 `org-agenda-previous-item' to `N' and `P' respectively.
7696 * org-rmail.el (org-rmail-store-link, org-rmail-follow-link):
7697 Toggle headers when necessary.
7699 * org-element.el (org-narrow-to-element): Autoload.
7701 * org.el (org-mode-map): Use `M-h' for `org-element-mark-element'.
7702 (org-mark-subtree): Allow a numeric prefix argument to move up
7703 into the hierarchy of headlines.
7705 * org-element.el (org-element-up, org-element-down): Autoload.
7707 * org.el: Declare functions and don't require org-element.
7709 * org-element.el (org-element-at-point, org-element-forward)
7710 (org-element-backward, org-element-drag-backward)
7711 (org-element-drag-forward, org-element-mark-element)
7712 (org-element-transpose, org-element-unindent-buffer): Autoload.
7713 Require 'org and remove all declarations.
7715 * org.el (org-outline-regexp-bol, org-heading-regexp):
7716 Use variables instead of constants.
7718 * org-archive.el (org-datetree-find-date-create): Declare.
7720 * org.el (org-open-at-point): Only set
7721 `clean-buffer-list-kill-buffer-names' when the feature 'midnight
7724 * org-icalendar.el (org-print-icalendar-entries):
7725 Let APPT_WARNTIME take precedence over ̀org-icalendar-alarm-time'.
7727 * org.el (org-special-properties): New special property
7729 (org-entry-properties): Handle the new special property.
7731 * org-colview.el (org-columns): Handle a new special property
7733 (org-agenda-colview-summarize, org-agenda-colview-compute): Ditto.
7735 * org-clock.el (org-clock-sum-today): New function.
7736 (org-clock-sum): New argument PROPNAME to set a custom text
7737 property instead of :org-clock-minutes.
7739 * org-agenda.el (org-agenda-check-type): Throw a more appropriate
7740 error message when no agenda is currently being displayed.
7742 * org.el (org-get-property-block): Find blocks before the first
7744 (org-entry-properties): Minor code cleanup.
7745 (org-entry-get, org-entry-get-with-inheritance): Get property
7746 before the first headline.
7748 * org-mobile.el (org-mobile-create-index-file): Use `files-alist'.
7750 * org.el (org-make-link): Delete.
7751 (org-store-link, org-insert-link)
7752 (org-file-complete-link): Don't use `org-make-link'.
7754 * org-wl.el (org-wl-store-link-folder)
7755 (org-wl-store-link-message): Ditto.
7757 * org-vm.el (org-vm-store-link): Ditto.
7759 * org-rmail.el (org-rmail-store-link): Ditto.
7761 * org-mhe.el (org-mhe-store-link): Ditto.
7763 * org-mew.el (org-mew-store-link): Ditto.
7765 * org-irc.el (org-irc-erc-store-link): Ditto.
7767 * org-info.el (org-info-store-link): Ditto.
7769 * org-id.el (org-id-store-link): Ditto.
7771 * org-gnus.el (org-gnus-group-link, org-gnus-article-link): Ditto.
7773 * org-eshell.el (org-eshell-store-link): Ditto.
7775 * org-bbdb.el (org-bbdb-store-link): Ditto.
7777 * org.el (org-url-hexify-p): New option. When non-nil (the
7778 default), hexify URLs when creating a link.
7780 * org.el (org-insert-link): Make sure point is at the beginning of
7783 * org.el (clean-buffer-list-kill-buffer-names): Declare.
7784 (org-open-at-point): Allow opening multiple shell links by
7785 creating a new output buffer for each shell process. The new
7786 buffer is added to `clean-buffer-list-kill-buffer-names'.
7788 * org-mobile.el (org-mobile-create-index-file):
7789 Use `org-global-tags-completion-table' instead of
7790 `org-tag-alist-for-agenda' to get the tags for the index file.
7792 * org.el (org-global-tags-completion-table): Fix typo in
7795 * org.el (org-link-to-org-use-id): Use `org-capture' instead of
7796 `org-remember' in the docstring.
7797 (org-link-fontify-links-to-this-file): New function to fontify
7798 links to the current buffer in `org-stored-links'.
7799 (org-store-link): Small code simplification.
7800 (org-link-prettify): Enclose literal links into <...> instead of
7802 (org-insert-link): Use `org-link-fontify-links-to-this-file'.
7803 Also allow completion over links' descriptions, as well as links
7804 destinations. When the user uses the description for completion,
7805 don't prompt again for a description.
7807 * org-capture.el (org-capture-templates): Fix docstring by adding
7808 Gnus to the list of mail clients.
7810 * org.el (org-log-repeat): Enhance docstring.
7812 * org.el (org-mode-map): Don't bind C-<up> and C-<down> to
7813 `org-element-backward/forward' as these functions stops when there
7814 is no element of the same type before/after point. It is useful
7815 to navigate with `forward/backward-paragraph' with no stop in most
7818 * org-capture.el (org-capture-templates): New template %l to
7819 insert the literal link pointing at the current buffer.
7821 * org.el (org-todo-keywords): Ditto.
7823 * org.el (org-fill-paragraph): Falls back on
7824 `message-fill-paragraph' if required in `message-mode'.
7826 * org-pcomplete.el (pcomplete/org-mode/file-option/x): New macro.
7827 (pcomplete/org-mode/file-option/options)
7828 (pcomplete/org-mode/file-option/title)
7829 (pcomplete/org-mode/file-option/author)
7830 (pcomplete/org-mode/file-option/email)
7831 (pcomplete/org-mode/file-option/date): Use the new macro to offer
7832 completion over default values for #+OPTIONS, #+TITLE, #+AUTHOR,
7835 * org-agenda.el (org-agenda-write): Fix bug when writing agenda to
7836 an external file while `org-agenda-sticky' is non-nil.
7838 * org.el (org-speed-commands-default): New speedy command to
7839 quickly add the :APPT_WARNTIME: property.
7841 * org-agenda.el (org-agenda-to-appt): Use the :APPT_WARNTIME:
7842 property to override `appt-message-warning-time' when adding an
7843 appointment from an entry.
7845 * org.el (org-version): Improve docstring.
7846 (org-self-insert-cluster-for-undo): The default value should be
7847 nil for Emacs >=24.1. See bug#11774.
7849 * org.el (org-fontify-meta-lines-and-blocks-1): Fix previous
7852 * org.el (org-options-keywords): New constant.
7853 (org-additional-option-like-keywords): Remove duplicates with
7854 keywords in the new constant.
7855 (org-additional-option-like-keywords-for-flyspell): Use the new
7857 (org-mode-flyspell-verify): Exclude keywords from the new
7860 * org-pcomplete.el (pcomplete/org-mode/file-option):
7861 Use `org-options-keywords'.
7863 * org.el (org-toggle-heading): Bugfix: use
7864 `org-element-mark-element' instead of `org-mark-list'.
7866 * org-list.el (org-mark-list): Delete.
7868 * org.el: Update a few keybindings.
7870 * org-element.el (org-element-down): Throw an error when the
7871 element has no content.
7873 * org-table.el (orgtbl-radio-table-templates): Add a template for
7875 (orgtbl-to-orgtbl): Complete and align the table created with
7876 orgtbl-to-orgtbl, in case the user use the function for radio
7878 (orgtbl-to-table.el): New function to export a table to another
7879 one using the table.el format.
7880 (orgtbl-to-unicode): New function to export a table using unicode
7883 * org-exp.el (org-export-language-setup): Use "Sommaire" for the
7884 french translation of "Table of contents", to avoid a possible bug
7885 when exporting to ODT.
7887 * org.el (org-additional-option-like-keywords): Add keywords.
7888 (org-additional-option-like-keywords-for-flyspell): New constant
7889 to use with flyspell.
7890 (org-mode-flyspell-verify): Use the dedicated constant and don't
7891 check `org-startup-options'.
7893 * org-agenda.el (org-batch-store-agenda-views): Use the sticky
7894 agenda buffer name, if required.
7895 (org-agenda-write): New parameter `agenda-bufname' to allow
7896 setting the agenda buffer name.
7898 * org.el (org-mode-map): Add keybindings for
7899 `org-element-forward', `org-element-backward', `org-element-up'
7900 and `org-element-down'.
7902 * org.el (org-auto-fill-function): Don't call `do-auto-fill'
7903 within (org-let org-fb-vars ...) as `do-auto-fill' should do the
7904 right thing whether orgstruct++-mode is turned on or off.
7906 * org.el (org-sparse-tree-default-date-type): New option.
7907 (org-ts-type): New variable.
7908 (org-sparse-tree): New argument `type'. Use the new option
7909 `org-sparse-tree-default-date-type' as the default value for
7910 `type'. Fix docstring.
7911 (org-re-timestamp): New function.
7912 (org-check-before-date, org-check-after-date)
7913 (org-check-dates-range): Use `org-ts-type' and `org-re-timestamp'
7914 to tell compute the date regexp.
7916 * org.el (orgstruct++-mode, org-get-local-variables): Also set
7917 `normal-auto-fill-function' when turning on/off orgstruct++-mode.
7919 * org-agenda.el (org-agenda-start-with-log-mode): Add relevant
7920 customization types.
7922 * org-faces.el (org-document-title): Use the normal height.
7924 * org-clock.el (org-x11idle-exists-p): New variable.
7925 (org-user-idle-seconds): Use it.
7927 * org.el (org-mode-map): Rebind `org-insert-all-links' to `C-c
7930 * org.el (org-insert-all-links): New command.
7931 (org-insert-link): `org-keep-stored-link-after-insertion' is now
7932 checked when the link to insert has been defined, regardless on
7933 how it has been defined. Also don't read the description
7934 interactively when the `default-description' parameter was given.
7935 (org-mode-map): Bind `org-insert-all-links' to `C-c C-L'.
7937 * org.el (org-inc-effort): New command to increment the effort
7939 (org-set-effort): Use it.
7940 (org-mode-map): Bind it to `C-c C-x E'.
7941 (org-speed-commands-default): Use `E' as a speed command for it.
7943 * org.el (org-re-property-keyword): New function.
7944 (org-entry-put): Use it to fix a bug with respect to setting the
7945 value of a property when a property line with no value already
7948 * org.el (org-timestamp-change): Adjust clock in other org files
7951 * org-clock.el (org-user-idle-seconds): Simplify.
7953 * org.el (org-mode-map): Bind `org-resolve-clocks' to `C-c C-x
7956 * org.el (org-mode-map): Add keybindings to
7957 `org-element-transpose' and `org-narrow-to-element'.
7958 (org-metaup): Fall back on `org-element-drag-backward'.
7959 (org-metadown): Fall back on `org-element-drag-forward'.
7960 Also move chunks of declarations and require statements to get rid of
7963 * org-exp-blocks.el (org): Don't require org. Add declarations.
7965 * org-clock.el (org): Don't require org.
7967 * ob-exp.el (org-list-forbidden-blocks): Add declarations.
7969 * org.el (org-timestamp-change): Don't use the `position'.
7971 * org.el (org-clock-history, org-clock-adjust-closest):
7973 (org-timestamp-change): Maybe adjust the next or previous clock in
7974 `org-clock-history'.
7975 (org-shiftmetaup, org-shiftmetadown): On clock logs, update the
7976 timestamp at point and adjust the next or previous clock in
7977 `org-clock-history', when possible.
7979 * org-clock.el (org-clock-in): Set the marker for
7980 `org-clock-history' at a safer position.
7982 * org-timer.el (org-timer-pause-or-continue, org-timer-stop):
7985 * org-mobile.el (org-mobile-post-pull-hook): Fix docstring.
7987 * org.el (org-indent-line): Fix indentation of a property line
7988 starting at the beginning of a line.
7990 * org-odt.el (org-odt-cleanup-xml-buffers): Use the new alias.
7992 * org-compat.el: Alias `org-condition-case-unless-debug' to
7993 `condition-case-unless-debug' or `condition-case-no-debug'.
7995 * org.el (org-todo-keywords): Ditto.
7997 * org.el (org-use-fast-todo-selection): Reformat docstring.
7999 * org.el (org-flag-drawer): Add a docstring.
8000 (org-mode-map): Bind ̀org-clock-cancel' to "C-cC-xC-q" and
8001 `org-clock-in-last' to "C-cC-xC-x". This fixes a bug in the
8002 previous keybinding for `org-clock-in-last', which would override
8003 the one for `org-clock-in'.
8005 * org-clock.el (org-clock-in-last): Prevent errors when there is
8006 no clocking history.
8007 (org-clock-cancel): Fix bug when checking against a clock log in a
8010 * org.el (org-link-expand-abbrev): Implement "%(my-function)" as a
8011 new specifier. Update the docstring.
8013 * org.el (org-startup-options): Fix docstring formatting.
8015 * org.el (org-use-sub-superscripts): Fix typo in docstring.
8017 * org.el (org-refile): Fix bug: prevent looping when calling
8018 `org-set-tags' internally.
8020 * org.el (org-mode-map): Add `C-c C-x C-I' as a keybinding for
8021 `org-clock-in-last'.
8023 * org-clock.el (org-clock-continuously): New option.
8024 (org-clock-in): Three universal prefix arguments set
8025 `org-clock-continuously' to `t' temporarily.
8026 (org-clock-in-last): Fix call to `org-clock-select-task' and
8027 support continuous clocking.
8028 (org-clock-out-time): New variable.
8029 (org-clock-out): Set `org-clock-out-time' when clocking out.
8030 Small docstring rewriting.
8031 (org-clock-remove-empty-clock-drawer): Fix "invalid search bound"
8032 bug when trying to delete empty logbook drawer.
8033 (org-clock-cancel): If the clock log is gone, send a warning
8034 instead of deleting the region that is supposed to contain it.
8036 * org.el (org-move-line-down, org-move-line-up): Remove.
8037 (org-metaup, org-metadown): When the region is active, move it
8038 up/down by one line, with no regard to the context.
8040 * org-odt.el (org-odt-cleanup-xml-buffers): Use the new alias.
8042 * org-compat.el: Alias `org-condition-case-unless-debug' to
8043 `condition-case-unless-debug' or `condition-case-no-debug'.
8045 * org-pcomplete.el (org-thing-at-point): Ignore trailing
8046 whitespaces while looking-back at properties.
8048 * org.el (org-mode): Set `indent-region-function'.
8049 (org-indent-region): New function.
8050 (org-fill-paragraph): When in a src block, use `indent-region' to
8051 indent the whole source code instead of falling back on
8052 `fill-paragraph', as this function messes up the code.
8054 * org-src.el (org-edit-src-code): Fix docstring formatting.
8056 * ob.el (org-babel-do-key-sequence-in-edit-buffer): Ditto.
8058 * org.el (org-mode, org-add-log-setup)
8059 (org-get-property-block, org-entry-put)
8060 (org-property-next-allowed-value, org-return)
8061 (org-indent-line): Rename `org-indent-line-function' to
8064 * org-timer.el (org-timer-item): Ditto.
8066 * org-table.el (org-table-store-formulas): Ditto.
8068 * org-clock.el (org-clock-in, org-clock-find-position): Ditto.
8070 * org-src.el (org-src-font-lock-fontify-block)
8071 (org-src-strip-leading-and-trailing-blank-lines)
8072 (org-src-ask-before-returning-to-edit-buffer)
8073 (org-edit-src-code, org-edit-src-continue)
8074 (org-edit-fixed-width-region)
8075 (org-src-do-key-sequence-at-code-block)
8076 (org-src-font-lock-fontify-block, org-src-fontify-buffer):
8077 Fix typos in docstrings.
8079 * org-docbook.el (org-export-docbook-emphasis-alist): Fix typo:
8080 use "format string" instead of "formatting string".
8082 * org-latex.el (org-export-latex-emphasis-alist)
8083 (org-export-latex-title-command, org-export-latex-tables): Ditto.
8085 * org-html.el (org-export-html-postamble): Ditto.
8087 * org-latex.el (org-export-latex-hyperref-options-format):
8089 (org-export-latex-make-header): Use it.
8091 * ob.el (org-babel-confirm-evaluate): Prevent errors when
8092 `org-current-export-file' is void.
8094 * org-table.el (org-table-export): Use the file name extension to
8095 suggest the right conversion format. Also amend the docstring.
8097 * org.el (org-speed-commands-default): Two new speed commands.
8098 Use `:' for `org-columns' and ̀#' for `org-toggle-comment'.
8100 * org.el (org-time-stamp): With two universal arguments, insert an
8101 active timestamp with the current time without prompting the user.
8103 * org-clock.el (org-clock-in-last): New command.
8105 * org-clock.el (org-clock-in): Fix typo in docstring.
8107 * org-mobile.el (org-mobile-edit): Fix reference to a free
8110 * org.el (org-doi-server-url): Update :group.
8112 * ob-lob.el (org-babel-lob-execute): Fix reference to non-existent
8115 * org.el (org-doi-server-url): New option.
8116 (org-open-at-point): Use it.
8118 * org.el (org-at-comment-p): New function.
8119 (org-toggle-heading): Use `org-at-comment-p' to skip comments.
8121 * org-html.el (org-export-as-html): Add links to the Org mode and
8122 GNU Emacs websites When :html-postamble is set to 't.
8124 * org-export.el (org-export-creator-string): Add links to the Org
8125 mode and GNU Emacs websites.
8127 * org-special-blocks.el
8128 (org-special-blocks-convert-html-special-cookies): Prevent errors
8129 by first checking `org-line' is not nil.
8131 * org-clock.el (org-clock-string-limit)
8132 (org-clock-modeline-total, org-clock-task-overrun-text)
8133 (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
8135 * org.el (org-at-timestamp-p): Set ̀org-ts-what' to 'after when the
8136 point is right after the timestamp. `org-at-timestamp-p' still
8137 returns `t' in this case, as this is more practical.
8138 (org-return): Check against ̀org-ts-what' to verify that point is
8139 really within the timestamp (if any).
8141 * org.el (org-return): Follow time-stamp links when point is an a
8144 * org-capture.el (org-capture-bookmark): New option.
8145 (org-capture-finalize): Use it.
8147 * org-publish.el (org-publish-cache-file-needs-publishing):
8148 Make the column mandatory after #+include:.
8150 * org-exp.el (org-export-handle-include-files): Ditto.
8152 * org-bibtex.el (org-bibtex-entries): Rename from
8153 (org-bibtex-read, org-bibtex-write): Use the new name.
8155 * org-exp.el (org-export-handle-include-files): Allow to use
8156 #+include with no column.
8158 * org-publish.el (org-publish-cache-file-needs-publishing):
8159 Make quotes mandatory around the file name and allow spaces in it.
8161 * org-html.el (org-export-as-html): Add link to Org's and Emacs's
8165 (org-export-latex-link-with-unknown-path-format): New option.
8166 (org-export-latex-links): Use it.
8168 * org-agenda.el (org-agenda-get-timestamps): Remove any active
8169 timestamp from the headline text, not only those for the current
8172 * org.el (org-set-tags): Allow setting tags for headlines in the
8173 region when `org-loop-over-headlines-in-active-region' is non-nil.
8175 * org.el (org-allow-promoting-top-level-subtree): New option to
8176 allow promoting a top-level subtree.
8177 (org-called-with-limited-levels): New variable, dynamically bound
8178 within the `org-with-limited-levels' macro.
8179 (org-promote): Use the new option to allow promoting a top-level
8182 * org-macs.el (org-with-limited-levels): Let-bind
8183 `org-called-interactively-p' to t.
8185 * org.el (org-create-formula-image-with-dvipng)
8186 (org-create-formula-image-with-imagemagick): Make sure a file
8187 exists before trying to delete it.
8189 * org.el (org-scan-tags): Correctly match TODO keywords.
8191 * org-agenda.el (org-agenda-bulk-action): Fix bug: use
8192 `org-agenda-bulk-unmark-all'.
8194 * org.el (orgstruct++-mode): Fix docstring.
8195 (org-fill-paragraph): Use the 'justify parameter when falling back
8196 on `fill-paragraph'.
8198 * org.el (org-indent-line-function): Use `org-let' instead of
8199 `orgstruct++-ignore-org-filling'.
8200 (org-fill-paragraph, org-auto-fill-function): Ditto.
8202 * org-macs.el (orgstruct++-ignore-org-filling): Delete.
8204 * org-table.el (org-table-time-string-to-seconds): Return the
8205 empty string if provided.
8206 (org-table-eval-formula): When assigning a duration string, handle
8207 it correctly -- i.e. don't make any computation on it, except the
8208 one to insert it using the correct duration format.
8210 * org.el (org-indent-line-function): Fix bug.
8212 * org-clock.el (org-frame-title-format-backup): New variable to
8213 store the value of `frame-title-format' before `org-clock' might
8214 replace it by `org-clock-frame-title-format'.
8215 (org-clock-frame-title-format): New option.
8216 (org-frame-title-string): Delete.
8217 (org-clock-update-mode-line): Minor code reformatting.
8218 (org-clock-in, org-clock-out, org-clock-cancel):
8219 Use `org-clock-frame-title-format'.
8221 * org-clock.el (org-clock-get-clock-string): Add a space.
8223 * org-list.el (org-mark-list): Return an error when there is no
8226 * org.el (org-toggle-heading): Allow `C-u C-c *' to mark the list
8227 at point before converting items to headings. With a simple
8228 universal-argument, set `current-prefix-arg' to 1, otherwise keep
8231 * org-agenda.el (org-agenda-view-mode-dispatch): Make the message
8234 * org-agenda.el (org-agenda-mode-map): New keybinding ̀*' to mark
8235 all entries for bulk action.
8236 (org-agenda-menu): New menu item for marking all entries.
8237 (org-agenda-bulk-mark-all): New function to mark all entries.
8238 (org-agenda-bulk-mark-regexp): Minor docstring fix.
8239 (org-agenda-bulk-unmark): With a prefix argument, unmark all.
8240 Also send a better message.
8241 (org-agenda-bulk-remove-all-marks): Rename to
8242 `org-agenda-bulk-unmark-all'. Check against
8243 `org-agenda-bulk-marked-entries' before trying to unmark entries.
8244 Minor docstring fix.
8245 (org-agenda-bulk-unmark-all): Rename from
8246 ̀org-agenda-bulk-remove-all-marks'.
8248 * org-agenda.el (org-agenda-bulk-mark-char): New option.
8249 (org-agenda-bulk-mark): Use the new option.
8251 * org.el (org-src-prevent-auto-filling): New option to prevent
8252 auto-filling in src blocks. This defaults to nil to avoid people
8253 being surprised that no auto-fill occurs in Org buffers where they
8254 use `auto-fill-mode'.
8255 (org-auto-fill-function): Use the new option.
8257 * org.el (org-properties-postprocess-alist): Better customization
8259 (org-set-property): Fix the check against
8260 `org-properties-postprocess-alist'.
8262 * org-macs.el (orgstruct++-ignore-org-filling):
8263 Set `def-edebug-spec' correctly.
8265 * org-colview.el (org-columns-string-to-number): When computing
8266 the values for the colview, match durations and convert them to
8269 * org.el (org-duration-string-to-minutes): Match non-round
8270 numbers. Add a new optional parameter to allow returning the
8273 * org.el (org-auto-fill-fallback-function)
8274 (org-indent-line-fallback-function)
8275 (org-fill-paragraph-fallback-function)
8276 (org-auto-fill-fallback-function)
8277 (org-indent-line-fallback-function)
8278 (org-fill-paragraph-fallback-function): Remove.
8279 (org-fb-vars): New buffer-local variable.
8280 (orgstruct++-mode): Use the fallback variable `org-fb-vars' to
8281 store, use and restore variables if needed.
8282 (org-fill-paragraph): Ignore `orgstruct++-mode' filling variables
8284 (org-auto-fill-function, org-indent-line-function): Ditto.
8286 * org-macs.el (orgstruct++-ignore-org-filling): New macro.
8288 * org-exp-blocks.el: Use `org-find-library-name' instead of
8289 `find-library-name'.
8291 * org-compat.el (org-find-library-name): Convert into a macro to
8292 avoid compilation of a function from XEmacs in Emacs and vice
8295 * org-table.el (org-table-store-formulas): Fix typo.
8296 (org-table-maybe-eval-formula): Fix the regexp to only match
8297 formulas, which never end with the `=' character. If the field
8298 only contain this character, don't eval either.
8300 * org.el (org-set-property): Perform the correct check against
8301 `org-properties-postprocess-alist'.
8303 * org-bbdb.el (org-bbdb-anniversary-format-alist): Update the
8305 (name): Suppress (defvar 'name) as name is not eval'ed when
8306 setting `org-bbdb-anniversary-format-alist'.
8308 * org.el (org-version): When called non-interactively, insert the
8309 short version string, otherwise send a message with the complete
8312 * org-odt.el (org-odt-update-meta-file): Use (org-version) and
8313 delegate checking whether `org-version' is known as a variable
8316 * org-html.el (org-export-as-html): Use (org-version).
8318 * org-docbook.el (org-export-as-docbook): Ditto.
8320 * org-latex.el (org-export-latex-make-header): Ditto.
8322 * org-clock.el (org-clocktable-write-default): Temporarily disable
8323 `delete-active-region' so that we don't accidently delete an
8324 active region when exporting a subtree/region.
8326 * org-clock.el (org-program-exists): Remove.
8327 (org-show-notification, org-clock-play-sound):
8328 Use `executable-find' instead of `org-program-exists'.
8330 * org-agenda.el (org-diary): Prevent failure from
8331 `org-compile-prefix-format' when there is no agenda buffer.
8333 * org-agenda.el (org-agenda-mode): Replace obsolete variable
8334 `buffer-substring-filters'.
8336 * org-indent.el (org-indent-mode): Ditto.
8338 * org-compat.el (org-find-library-name): Silent the byte-compiler
8339 about a warning related to XEmacs support.
8341 * org-special-blocks.el
8342 (org-special-blocks-convert-html-special-cookies): Use `org-line'
8345 * org-html.el (org-html-handle-links, org-export-as-html)
8346 (org-format-org-table-html, org-format-table-table-html)
8347 (org-html-export-list-line): Use `org-line' instead of `line' as
8348 the free variable name.
8350 * org-latex.el (org-export-latex-tables): Let-bind `hfmt'.
8352 * org-faces.el (org-list-dt): New face.
8354 * org.el (org-set-font-lock-defaults): Use `org-list-dt' as the
8355 face for definition terms in definition lists.
8357 * org.el (org-fill-paragraph): Pass the `justify' argument to
8358 `org-fill-paragraph-fallback-function'.
8360 * org.el (org-eval-in-calendar): Fix docstring to mention the
8363 * org.el (org-refresh-category-properties): Let-bind
8364 `inhibit-read-only' to t.
8366 * org.el (org-auto-fill-fallback-function)
8367 (org-indent-line-fallback-function)
8368 (org-fill-paragraph-fallback-function): New variables to store
8369 some fall-back functions when turning `orgstruct++-mode' on.
8370 (orgstruct++-mode): Set the new variables.
8371 (org-indent-line-function, org-fill-paragraph)
8372 (org-auto-fill-function): Use them.
8374 * org.el (org-read-date): Bugfix: call `org-eval-in-calendar' with
8375 the 'keepdate parameter set to t when setting the cursor type.
8377 * org-agenda.el (org-agenda-persistent-marks): New option to keep
8378 marks after a bulk action. The option defaults to nil.
8379 (org-agenda-bulk-action): Use the new option.
8381 * org-capture.el (org-capture-fill-template): Use %\n instead of
8382 %n as a template element to be replaced with the nth prompted
8384 (org-capture-templates): Update docstring.
8386 * org.el (org-goto): Fix docstring and document what C-u does.
8388 * org-publish.el (org-publish-cache-file-needs-publishing):
8389 Use (case-fold-search t) when looking for #+INCLUDE:.
8391 * org.el: Use (case-fold-search t).
8392 (org-edit-special, org-ctrl-c-ctrl-c): Ditto.
8395 (org-table-store-formulas, org-table-get-stored-formulas)
8396 (org-table-fix-formulas, org-table-edit-formulas)
8397 (org-old-auto-fill-inhibit-regexp, orgtbl-ctrl-c-ctrl-c)
8398 (orgtbl-toggle-comment, org-table-get-remote-range): Ditto.
8401 (org-footnote-goto-local-insertion-point): Ditto.
8403 * org-exp.el: Ditto.
8406 (org-dblock-write:columnview, org-dblock-write:columnview): Ditto.
8408 * org-clock.el (org-clocktable-write-default): Ditto.
8410 * org-capture.el (org-capture-place-table-line): Ditto.
8412 * ob.el (org-babel-data-names, org-babel-goto-named-src-block)
8413 (org-babel-src-block-names)
8414 (org-babel-where-is-src-block-result, org-babel-result-end)
8415 (org-babel-where-is-src-block-head)
8416 (org-babel-find-named-result, org-babel-result-names): Ditto.
8418 * org-table.el (orgtbl-send-table): Escape special characters.
8419 Introduce a new parameter :no-escape to prevent escaping.
8421 * org-agenda.el (org-toggle-sticky-agenda): Only shout a message
8422 when called interactively.
8423 (org-agenda-get-restriction-and-command):
8424 Call `org-toggle-sticky-agenda' interactively.
8426 * org-agenda.el (org-agenda-top-category-filter): New variable for
8427 storing the current top-category filter.
8428 (org-agenda-redo): Apply a top-category filter, if any.
8429 (org-agenda-filter-by-top-category)
8430 (org-agenda-filter-top-category-apply):
8431 Set `org-agenda-top-category-filter' to the right value.
8433 * org-clock.el (org-clock-out, org-clock-cancel)
8434 (org-clock-in): Don't modify `frame-title-format' if it is a
8437 * org-latex.el (org-export-latex-special-chars): Fix bug when
8438 escaping special characters in a table.
8440 * org.el (org-read-date): Set cursor-type to nil in the calendar.
8442 * org-faces.el (org-date-selected): Use inverse video.
8443 Don't explicitly set bold to nil as it causes `customize-face' to show
8444 the weight property and thus encourage the user to change it.
8445 Warn in the docstring that using bold might cause problems when
8446 displaying the calendar.
8448 * org-id.el (org-id-update-id-locations): New parameter to silent
8450 (org-id-find): Use the new parameter.
8452 * org.el (org-show-hierarchy-above, org-cycle)
8453 (org-global-cycle, org-files-list, org-store-link)
8454 (org-link-search, org-open-file, org-display-outline-path)
8455 (org-refile-get-location, org-update-all-dblocks)
8456 (org-change-tag-in-region, org-entry-properties)
8457 (org-save-all-org-buffers, org-revert-all-org-buffers)
8458 (org-buffer-list, org-cdlatex-mode)
8459 (org-install-agenda-files-menu, org-end-of-subtree)
8460 (org-speedbar-set-agenda-restriction): Use (derived-mode-p
8461 'org-mode) instead of (eq major-mode 'org-mode).
8463 * org-timer.el (org-timer-set-timer): Ditto.
8465 * org-table.el (orgtbl-mode, org-table-align, orgtbl-mode): Ditto.
8467 * org-src.el (org-edit-src-exit, org-edit-src-code)
8468 (org-edit-fixed-width-region, org-edit-src-exit): Ditto.
8470 * org-remember.el (org-remember-handler): Ditto.
8472 * org-mouse.el (dnd-open-file, org-mouse-insert-item): Ditto.
8474 * org-macs.el (org-get-limited-outline-regexp): Ditto.
8476 * org-lparse.el (org-replace-region-by): Ditto.
8478 * org-latex.el (org-latex-to-pdf-process)
8479 (org-replace-region-by-latex): Ditto.
8481 * org-indent.el (org-indent-indent-buffer): Ditto.
8483 * org-id.el (org-id-store-link, org-id-update-id-locations)
8484 (org-id-store-link): Ditto.
8486 * org-html.el (org-export-html-preprocess)
8487 (org-replace-region-by-html): Ditto.
8489 * org-footnote.el (org-footnote-normalize)
8490 (org-footnote-goto-definition)
8491 (org-footnote-create-definition, org-footnote-normalize): Ditto.
8493 * org-docbook.el (org-replace-region-by-docbook): Ditto.
8495 * org-ctags.el (find-tag): Ditto.
8497 * org-colview.el (org-columns-redo)
8498 (org-columns-display-here, org-columns-edit-value)
8499 (org-columns-redo): Ditto.
8501 * org-capture.el (org-capture-insert-template-here)
8502 (org-capture, org-capture-finalize)
8503 (org-capture-set-target-location)
8504 (org-capture-insert-template-here): Ditto.
8506 * org-ascii.el (org-replace-region-by-ascii): Ditto.
8508 * org-archive.el (org-archive-subtree): Ditto.
8510 * org-agenda.el (org-agenda)
8511 (org-agenda-get-restriction-and-command)
8512 (org-agenda-get-some-entry-text, org-search-view)
8513 (org-tags-view, org-agenda-get-day-entries)
8514 (org-agenda-format-item, org-agenda-goto, org-agenda-kill)
8515 (org-agenda-archive-with, org-agenda-switch-to): Ditto.
8517 * org.el (org-repeat-re)
8518 (org-clone-subtree-with-time-shift, org-auto-repeat-maybe)
8519 (org-deadline, org-schedule, org-matcher-time)
8520 (org-time-stamp, org-read-date, org-read-date-get-relative)
8521 (org-display-custom-time, org-get-wdays)
8522 (org-time-string-to-absolute, org-closest-date)
8523 (org-timestamp-change): Allow to set hourly repeat cookie.
8524 Send an error when an hourly repeat cookie is set and no hour is
8525 specified in the timestamp.
8527 * org-icalendar.el (org-print-icalendar-entries): Handle hourly
8530 * org-clock.el (org-program-exists): Fix docstring.
8532 * org-clock.el (org-clock-file-time-cell-format): New option.
8533 (org-clocktable-write-default): Use it.
8535 * org-faces.el (org-date-selected): New face.
8537 * org.el (org-date-ovl): Use `org-date-selected'.
8539 * org.el (org-mode): Don't use `buffer-face-mode' by default.
8541 * org-agenda.el (org-agenda-mode-map): Bind `^' to
8542 `org-agenda-filter-by-top-category'.
8544 * org-ascii.el (org-export-ascii-underline): Change the default
8545 underlining characters for headlines of level 1 and 2.
8546 Also introduce \. as the underline character for headlines of level 5.
8548 * org-table.el (org-table-recalculate-buffer-tables)
8549 (org-table-iterate-buffer-tables): Add autoload cookie.
8551 * org.el (org-table-map-tables): Exclude tables in src and example
8554 * org.el (org-fill-paragraph): Leave scheduled/deadline lines
8555 untouched when filling an adjacent paragraph.
8557 * org-html.el (org-export-html-preamble-format)
8558 (org-export-html-postamble-format): Improve the docstring.
8560 * org.el (org-todo): Fix regression: rename `state' to
8563 * org-clock.el (org-show-notification): Use `fboundp' instead of
8564 `featurep' and the additional `require'.
8566 * org-clock.el (org-clock-in-prepare-hook): New option to format
8567 the total time cells.
8568 (org-clocktable-write-default): Use the new option.
8570 * org.el (org-open-at-point): Allow to open the agenda from an
8571 active or inactive timestamp in a headline.
8573 * org-html.el (org-export-html-date-format-string): Make a
8576 * org-latex.el (org-export-as-latex): Fix TeX-master declaration.
8578 2012-09-30 Carsten Dominik <carsten.dominik@gmail.com>
8580 * org-table.el (org-table-expand-lhs-ranges): Allow hline
8581 references to be expanded correctly in LHS of formulas.
8583 * org-beamer.el (org-beamer-inherited-properties): New option.
8584 (org-beamer-after-initial-vars): Use new option to look for
8585 inherited properties.
8587 * org.el (org-ts-regexp0): Allow time stamps without name of day.
8589 * org-agenda.el (org-toggle-sticky-agenda):
8590 (org-agenda-sticky): Improve :set property.
8592 * org-agenda.el (org-agenda-local-vars): Clean up the variable
8594 (org-agenda-get-restriction-and-command): Add a key for toggling
8595 sticky agenda views.
8597 * org-agenda.el (org-agenda-local-vars): Final decisions about
8600 * org-agenda.el (org-agenda-force-single-file): Variable removed.
8601 (org-prepare-agenda-window): Store pre-agenda window config
8603 (org-timeline): Introduce a scoped version of
8604 `org-agenda-show-log'.
8605 (org-agenda-list): Introduce a scoped version of
8606 `org-agenda-show-log'.
8607 (org-agenda-get-progress): Use the scoped version of
8608 `org-agenda-show-log'.
8609 (org-agenda-local-vars): Write the analysis result as a comment -
8610 to be cleaned up in the next iteration.
8612 * org-agenda.el (org-toggle-sticky-agenda): Kill all agenda
8613 buffers when toggling sticky-agendas.
8614 (org-agenda-get-restriction-and-command): Add `C-c a C-k' as a key
8615 to explicitly kill all agenda buffers.
8616 (org-agenda-run-series): Remove any old agenda markers in the
8617 buffer that is going to take the new block agenda.
8618 (org-prepare-agenda): Reset markers before erasing the buffer anc
8619 running `org-agenda-mode', because after that hte local variable
8620 `org-agenda-markers' will have gone away.
8622 (org-finalize-agenda): Install the marker resetter into the
8624 (org-agenda-save-markers-for-cut-and-paste): Look for markers in
8626 (org-agenda-kill-all-agenda-buffers): New function.
8628 2012-09-30 Chris Gray <chrismgray@gmail.com>
8630 * org-html.el (org-export-as-html): Remove the check for body-only
8631 in the code for generating tables of contents.
8633 2012-09-30 Christoph Dittmann <github@christoph-d.de> (tiny change)
8635 * org-beamer.el (org-beamer-auto-fragile-frames):
8636 Make [fragile] work with overlay specifications.
8638 2012-09-30 Christophe Junke <christophe.junke@inria.fr> (tiny change)
8640 * org-agenda.el (org-agenda-list): Ensures that the list returned
8641 by `org-agenda-add-time-grid-maybe' is appended to ̀rtnall' before
8642 checking if the latter is empty.
8644 2012-09-30 Christophe Rhodes <csr21@cantab.net> (tiny change)
8646 * org-latex.el (org-export-latex-tables): Support setting the
8647 :hfmt parameter from #+ATTR_LaTeX.
8649 2012-09-30 Daniel Dehennin <daniel.dehennin@baby-gnu.org> (tiny change)
8651 * org-exp.el (org-export-handle-include-files)
8652 (org-get-file-contents): Handle new parameter :addlevel.
8654 2012-09-30 Dave Abrahams <dave@boostpro.com> (tiny change)
8656 * org.el (org-link-prettify): New function to prettify links while
8657 displaying them with `org-insert-link'.
8658 (org-insert-link): Use the new function.
8660 2012-09-30 David Maus <dmaus@ictsoc.de>
8662 * org-exp.el (org-export-language-setup): Use numeric character
8663 entities for proper rendering of non-UTF8 documents.
8665 * org-exp.el (org-export-language-setup): Add japanese
8668 2012-09-30 Eric Schulte <eric.schulte@gmx.com>
8670 * ob-sh.el (org-babel-sh-evaluate): Don't could 0-length shebangs.
8672 * ob.el (org-babel-insert-result): Replace key sequence with
8673 function call. Use a more informative flag to the local function.
8674 (org-add-protective-commas): Declare a new external function.
8676 * org-src.el (org-add-protective-commas): This should be its own
8678 (org-edit-src-exit): Use the new function.
8680 * org-compat.el (org-labels): Remove.
8682 * org-bibtex.el (org-bibtex-headline): Don't use `org-labels'.
8684 * ob.el (org-babel-sha1-hash, org-babel-noweb-p): Ditto.
8686 * ob.el (org-babel-string-read): Don't automatically evaluate code
8687 block results which look like elisp.
8688 (org-babel-import-elisp-from-file): Raise a warning message when
8689 the process of reading code block results raises an error.
8691 * ob-tangle.el (org-babel-with-temp-filebuffer): Don't execute
8692 macro argument multiple times.
8694 * org.el (org-compat): Require org-compat before we first use one
8695 of its functions (a macro actually).
8697 * ob-comint.el (org-babel-comint-with-output): Don't name the
8698 filter function, but rather pass through the anonymous lambda
8701 * org.el (org-babel-load-languages): Common lisp should be
8702 mentioned as a supported babel language.
8704 * org-clock.el (org-clock-special-range): "concat 'string" ->
8706 (org-clocktable-shift): "concat 'string" -> "concat"
8708 * org-bibtex.el (org-bibtex-headline): Replacing org-flet with
8711 * ob-calc.el (org-babel-execute:calc): Strip single quotes from
8712 calc internal representations.
8714 * org-clock.el (org-clock-special-range): Replacing cl concatenate
8716 (org-clocktable-shift): Replacing cl concatenate with concat.
8718 * ob.el (org-babel-edit-distance): Remove use of map at runtime.
8720 * org-compat.el (org-flet): Compatibility function now that flet
8721 has been removed from cl-macs.
8722 (org-labels): Compatibility function now that labels has been
8723 removed from cl-macs.
8725 * ob-R.el (org-compat): Require org-compat.
8727 * ob-comint.el: Require org-compat.
8729 * ob-exp.el (org-babel-exp-do-export): Switch to compatibility
8732 * ob-gnuplot.el (org-babel-expand-body:gnuplot): Switch to
8733 compatibility function.
8735 * ob-lob.el (org-babel-lob-get-info): Switch to compatibility
8737 (org-babel-lob-execute): Switch to compatibility function.
8739 * ob-python.el (org-babel-python-evaluate-session): Switch to
8740 compatibility function.
8742 * ob-ref.el (org-babel-ref-index-list): Switch to compatibility
8745 * ob-sh.el (org-babel-sh-var-to-string): Switch to compatibility
8748 * ob-tangle.el (org-babel-load-file): Switch to compatibility
8750 (org-babel-tangle): Switch to compatibility function.
8751 (org-babel-spec-to-string): Switch to compatibility function.
8753 * ob.el (org-babel-view-src-block-info): Switch to compatibility
8755 (org-babel-execute-src-block): Switch to compatibility function.
8756 (org-babel-edit-distance): Switch to compatibility function.
8757 (org-babel-switch-to-session-with-code): Switch to compatibility
8759 (org-babel-sha1-hash): Switch to compatibility function.
8760 (org-babel-balanced-split): Switch to compatibility function.
8761 (org-babel-join-splits-near-ch): Switch to compatibility function.
8762 (org-babel-get-rownames): Switch to compatibility function.
8763 (org-babel-format-result): Switch to compatibility function.
8764 (org-babel-insert-result): Switch to compatibility function.
8765 (org-babel-examplize-region): Switch to compatibility function.
8766 (org-babel-merge-params): Switch to compatibility function.
8767 (org-babel-noweb-p): Switch to compatibility function.
8768 (org-babel-expand-noweb-references): Switch to compatibility
8771 * org-bibtex.el (org-bibtex-headline): Switch to compatibility
8773 (org-bibtex-fleshout): Switch to compatibility function.
8774 (org-bibtex-read): Switch to compatibility function.
8775 (org-bibtex-write): Switch to compatibility function.
8777 * org-exp-blocks.el (org-export-blocks-preprocess): Switch to
8778 compatibility function.
8780 * org-exp.el (org-export-format-source-code-or-example): Switch to
8781 compatibility function.
8783 * org-macs.el (org-called-interactively-p): Indentation fix.
8785 * org-mouse.el (org-mouse-timestamp-today): Switch to
8786 compatibility function.
8787 (org-mouse-set-priority): Switch to compatibility function.
8788 (org-mouse-popup-global-menu): Switch to compatibility function.
8789 (org-mouse-context-menu): Switch to compatibility function.
8791 * org-plot.el (org-plot/gnuplot-to-grid-data): Switch to
8792 compatibility function.
8793 (org-plot/gnuplot-script): Switch to compatibility function.
8795 * org.el (org-entry-get): Switch to compatibility function.
8796 (org-fill-paragraph): Switch to compatibility function.
8797 (org-auto-fill-function): Switch to compatibility function.
8799 * ob-lob.el (org-babel-lob-execute): Only try to insert extant
8802 * ob-R.el (org-babel-R-command): From a defvar to a defcustom.
8804 * ob.el (org-babel-set-current-result-hash): Change the hash of
8805 the results for the current code block.
8806 (org-babel-current-result-hash): Fix documentation.
8808 * ob-lob.el (org-babel-lob-execute): Don't re-execute the called
8809 function if the current call line hash matches that in its
8812 * ob-R.el (org-babel-R-assign-elisp): Can't assume every entry in
8813 a table is a sequence.
8815 * ob-R.el (org-babel-R-assign-elisp): Clean up the code
8816 implementing reads of irregular data into R.
8818 * ob.el (org-babel-header-arg-expand): In new buffers
8819 (char-before) may return nil so use equal rather than =.
8821 * ob-R.el (org-babel-header-args:R): Adding values.
8823 * ob-clojure.el (org-babel-header-args:clojure): Adding values.
8825 * ob-lisp.el (org-babel-header-args:lisp): Adding values.
8827 * ob-sql.el (org-babel-header-args:sql): Adding values.
8829 * ob-sqlite.el (org-babel-header-args:sqlite): Adding values.
8831 * ob.el (org-babel-combine-header-arg-lists): Combine lists of
8832 arguments and values.
8833 (org-babel-insert-header-arg): Use new combined header argument
8835 (org-babel-header-arg-expand): Add support for completing-read
8836 insertion of header arguments after ":"
8837 (org-babel-enter-header-arg-w-completion): Completing read
8838 insertion of header arguments
8839 (org-tab-first-hook): Adding header argument completion.
8840 (org-babel-params-from-properties): Combining header argument
8843 * ob-exp.el (org-babel-exp-results): Ensure noweb expanded body is
8846 * ob.el (org-babel-result-to-file): New optional description
8848 (org-babel-insert-result): Move description logic to another
8851 * ob.el (org-babel-insert-result): Change name of filelinkdescr to
8853 (org-babel-common-header-args-w-values): Change name of
8854 filelinkdescr to file-desc.
8856 * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled C
8859 * ob-exp.el (org-babel-exp-code): Escape all lines when exporting
8862 * ob.el (org-babel-parse-src-block-match): Make use of the new
8863 language argument to org-babel-strip-protective-commas.
8864 (org-babel-parse-inline-src-block-match): Make use of the new
8865 language argument to org-babel-strip-protective-commas.
8866 (org-babel-strip-protective-commas): Now accepts a language
8869 2012-09-30 Fabrice Niessen <fniessen-TA4HMoP+1wHrZ44/DZwexQ@public.gmane.org> (tiny change)
8871 * org-agenda.el (org-agenda-write-buffer-name): Remove the test
8872 for the presence of <style> tag.
8874 2012-09-30 Feng Shu <tumashu@gmail.com>
8876 * org.el (org-create-formula-image-with-imagemagick):
8877 Use 'call-process to launch latex so that no shell output buffer will
8878 be shown when previewing formulas.
8880 * org.el (org-create-formula-image-with-imagemagick): Fix typo.
8882 * org.el (org-latex-create-formula-image-program): New option to
8883 use either dvipng or imagemagick to convert and preview LaTeX
8885 (org-preview-latex-fragment, org-format-latex): Handle the new
8887 (org-create-formula-image-with-dvipng): Rename from
8888 `org-create-formula-image'.
8889 (org-create-formula-image-with-imagemagick): New defun to handle
8890 LaTeX preview with imagemagick.
8891 (org-latex-color, org-latex-color-format): New defuns to handle
8894 * org-latex.el (org-latex-to-pdf-process, org-export-as-pdf):
8895 Allow to use imagemagick to convert LaTeX fragments.
8897 * org-html.el (org-export-html-preprocess): Ditto.
8899 * org-exp.el (org-export-with-LaTeX-fragments): Ditto.
8901 2012-09-30 George Kettleborough <g.kettleborough@member.fsf.org>
8903 * org-clock.el: New option `org-clock-clocked-in-display' to
8904 control whether the current clock is displayed in the mode line
8907 * org-timer.el: New option `org-timer-display' to control whether
8908 the current timer is displayed in the mode line and/or frame
8911 2012-09-30 Hans-Peter Deifel <hpdeifel@gmx.de> (tiny change)
8913 * ob.el (org-babel-execute-src-block): Allow the :dir header
8914 argument to take relative file names.
8916 2012-09-30 Harri Kiiskinen <harri@pp-kaitue.(none)> (tiny change)
8918 * org-protocol.el: New option.
8919 (org-protocol-store-link, org-protocol-do-capture): Use it.
8921 2012-09-30 Henning Weiss <hdweiss@gmail.com>
8923 * org-mobile.el (org-mobile-edit): Add handling of addheading,
8924 refile, archive, archive-sibling and delete edit nodes.
8925 (org-mobile-locate-entry): Olp links containing only a file are
8926 now be located correctly.
8927 (org-mobile-apply): Instead of finding the location of all target
8928 headings for edit nodes in a separate loop, they will be found
8929 immediately before applying edits.
8931 * org-mobile.el (org-mobile-sumo-agenda-command): Use a shorter
8934 2012-09-30 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
8936 * org.el (org-parse-time-string): Allow strings supported by
8937 tags/properties matcher (eg <now>, <yesterday>, <-7d>) if the time
8938 starts with < and ends with >. This means that e.g. in the
8939 clocktable parameters you can specify :tstart "<-1w>" :tend
8942 2012-09-30 Ippei FURUHASHI <top.tuna+orgmode@gmail.com> (tiny change)
8944 * org-colview.el (org-columns): New argument `columns-fmt-string'.
8946 * org-colview.el (org-columns-get-format-end-top-level):
8947 Split into `org-columns-get-format' and `org-columns-goto-top-level'.
8949 * org-colview.el (org-dblock-write:columnview): Add a new
8950 parameter :format which specifies the column view format for the
8951 output of the columnview dynamic block.
8953 2012-09-30 Jambunathan K <kjambunathan@gmail.com>
8955 * org-lparse.el (org-lparse-and-open)
8956 (org-lparse-do-convert): Open exported files with system-specific
8959 * org-odt.el: Don't meddle with `org-file-apps'.
8961 * org-compat.el (org-condition-case-unless-debug): Alias to
8962 `condition-case' when both `condition-case-no-debug' and
8963 `condition-case-unless-debug' is unavailable.
8965 * org-odt.el (org-odt-do-image-size): Replace `flet' with
8966 equivalent construct.
8968 * org-odt.el (org-odt-cleanup-xml-buffers):
8969 Use `condition-case-no-debug' instead of
8970 `condition-case-unless-debug'. This ensures backward
8971 compatibility with Emacs versions < 24.1.
8973 * org-odt.el (org-odt-zip-dir)
8974 (org-odt-cleanup-xml-buffers): New.
8975 (org-export-as-odt-and-open, org-export-as-odt)
8976 (org-odt-init-outfile, org-odt-save-as-outfile)
8977 (org-export-as-odf, org-export-as-odf-and-open):
8978 Use `org-odt-cleanup-xml-buffers'.
8980 * org-odt.el (org-export-odt-default-org-styles-alist):
8981 Add default character style.
8983 * org-odt.el (org-export-odt-default-org-styles-alist):
8984 Add default character style.
8986 * org-lparse.el (org-do-lparse): Remove stray call to
8987 `org-export-html-after-blockquotes-hook'.
8989 * org-bbdb.el (org-bbdb-export): Add support for ODT format.
8991 * org-odt.el (org-odt-update-meta-file): Check for `org-version'
8992 is bound before accessing it.
8994 * org-odt.el (org-odt-schema-dir-list): OD Schema files have been
8995 moved away from $(git-root)/contrib/odt/etc/schema/ to
8996 $(git-root)/etc/schema/.
8998 * org-odt.el (org-odt-format-org-link): Pay no heed to whether the
8999 internal links destined for headlines provide a description or
9000 not. In fact, the `org-store-link' and `org-insert-link' create
9001 internal links which do have a description.
9003 * org-lparse.el (org-lparse-insert-org-table): Consider short
9004 caption as plain text and not as org text.
9006 * org-odt.el (org-export-odt-format-formula)
9007 (org-export-odt-format-image): Ditto.
9009 * org-odt.el (org-odt-begin-table)
9010 (org-export-odt-format-formula, org-export-odt-format-image)
9011 (org-odt-format-entity): Handle short caption.
9013 * org-lparse.el (org-lparse-insert-org-table)
9014 (org-lparse-insert-list-table, org-lparse-insert-table-table):
9017 2012-09-30 Jay McCarthy <jay.mccarthy@gmail.com> (tiny change)
9019 * org-colview.el (org-columns-new-overlay): Make sure to add a
9020 face to a string that has no face.
9022 2012-09-30 Jérémie Courrèges-Anglas <jca@wxcvbn.org> (tiny change)
9024 * org-latex.el: Ensure a final newline is appended to the export
9027 2012-09-30 Levin Du <zslevin@gmail.com> (tiny change)
9029 * org-clock.el (org-clock-in): Fix bug in setting the clock
9032 2012-09-30 Madan Ramakrishnan <madanr79@gmail.com> (tiny change)
9034 * org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as
9035 advertised by the function.
9037 2012-09-30 Mark E. Shoulson <mark@kli.org> (tiny change)
9039 * org.el (org-fontify-entities): Hide {} when prettifying
9042 2012-09-30 Mark Shoulson <mark@kli.org> (tiny change)
9044 * org-entities.el (org-entities): Add new entities for characters
9045 which could cause formatting changes if typed directly.
9047 * org-entities.el (org-entities): Add \asciicirc entity for ^;
9048 also fixed \circ expansion in latex.
9050 * org.el (org-fontify-entities): Fix bug: The entities \sup[123]
9051 and \there4 were not "prettified" when org-pretty-entities was
9054 2012-09-30 Mats Lidell <matsl@xemacs.org> (tiny change)
9056 * org-element.el (org-element-paragraph-separate):
9057 Remove redundant and misplaced t clause in case.
9059 2012-09-30 Matt Lundin <mdl@imapmail.org>
9061 * org-datetree.el: Fix regexp to allow datetree to find headings
9062 with trailing whitespace. This fixes a bug in which an existing
9063 datetree heading (e.g., "* 2012 ") would not be found by
9064 org-datetree-find-year-create if it had trailing whitespace.
9065 This can cause problems, for instance, if one is using column view on
9066 the date tree, since editing subheadings with column view adds
9067 whitespace at the end of the top heading.
9069 * org-footnote.el (org-footnote-new): Don't call
9070 org-footnote-unique-label if org-footnote-auto-label is set to
9073 * org-gnus.el (org-gnus-follow-link): Fix argument to
9074 gnus-group-read-group so that following a link does not result in
9075 unread article being selected.
9077 * org-bbdb.el (org-bbdb-anniv-extract-date)
9078 (org-bbdb-make-anniv-hash): Fix org-bbdb anniversary functionality
9079 to accommodate BBDB 3.x. There are two major changes in BBDB 3.x
9080 that need to be taken into account. The first is that
9081 `bbdb-split' reverses the order of its parameters in 3.x.
9082 The second is that `bbdb-record-getprop' is replaced by
9083 bbdb-record-note in 3.x.
9085 2012-09-30 Max Mikhanosha <max@openchat.com>
9087 * org-agenda.el (org-agenda-change-all-lines): Speedup refresh of
9088 a single line of agenda by narrowing the agenda buffer to just
9089 that line before calling `org-agenda-finalize'.
9091 * org.el (org-mode): Don't set org-hide's foreground to
9093 (org-find-invisible-foreground): New function.
9095 * org-agenda.el (defvar org-habit-show-all-today): New variable
9096 (org-agenda-get-scheduled): Show all habits if user wants it
9098 * org-habit.el (defcustom org-habit-show-all-today): New variable
9100 * org-agenda.el (org-agenda-quit): Copy the code for optionally
9101 restoring window configuration after burying the sticky agenda
9104 * org-agenda.el (org-agenda-new-marker): Check for NIL
9106 (org-agenda-to-appt): Bind org-agenda-buffer to NIL
9108 * org-agenda.el (org-agenda-change-all-lines): Move accessing of
9109 'extra text property outside of with-current-buffer for original
9112 * org-agenda.el (defvar org-habit-show-habits-only-for-today):
9115 2012-09-30 Michael Brand <michael.ch.brand@gmail.com>
9117 * org-id.el (org-id-link-to-org-use-id): Align the doc string to
9118 the changed default.
9120 * ob-tangle.el (org-babel-tangle-collect-blocks): Use dummy string
9121 when heading has no text.
9123 * org-capture.el (org-capture-inside-embedded-elisp-p):
9126 * org-feed.el (org-feed-format-entry): Require `org-capture'.
9127 Expand Elisp %(...) templates.
9128 (org-feed-default-template): Update docstring.
9130 * org-capture.el (org-capture-expand-embedded-elisp):
9132 (org-capture-fill-template): Use it.
9133 (org-capture-inside-embedded-elisp-p): New function to tell if we
9134 are within an Elisp %(...) template.
9136 * org-list.el (org-at-item-description-p)
9137 (org-list-item-body-column): Make the inline regexp more
9138 consistent with `org-list-full-item-re', the inline regexp
9139 "Description list items" from `org-set-font-lock-defaults and
9142 2012-09-30 Mike Sperber <sperber@deinprogramm.de>
9144 * org.el (org-fill-paragraph): Pass optional argument to
9145 `fill-paragraph' to fix compatibility with XEmacs.
9147 * org.el (org-self-insert-cluster-for-undo):
9148 Default `org-self-insert-cluster-for-undo' also on XEmacs.
9150 * org.el (org-kill-line): Access `visual-line-mode' only if it's
9153 2012-09-30 Muchenxuan Tong <demon386@gmail.com> (tiny change)
9155 * org-timer.el (org-timer-set-mode-line):
9156 Check `org-timer-display' when value is 'off.
9158 2012-09-30 Nicolas Calderon Asselin <nicolas.calderon.asselin@gmail.com> (tiny change)
9160 * org-clock.el (org-clock-idle-time): Org-mode assumed that
9161 x11idle was an available command, and returned an idle time of 0
9163 (never idle): Added checks so that org-idle-time will come from
9164 emacs' own current-idle-time if x11idle cannot be found or if it
9165 cannot retrieve the idle time from X11
9167 2012-09-30 Nicolas Goaziou <n.goaziou@gmail.com>
9169 * org-element.el: Properly remove COMMENT and QUOTE keywords from
9172 * org-element.el (org-element-headline-parser): Fix parsing for
9173 headlines with a single COMMENT or QUOTE keyword.
9175 * ob-org.el (org-babel-default-header-args:org): By default,
9176 export code from Org src blocks.
9178 * org-element.el (org-element-inline-src-block-successor):
9179 Fix inline-src-block parsing at the beginning of an item.
9181 * org-element.el (org-element--collect-affiliated-keywords):
9182 Fix caption parsing.
9184 * org-element.el (org-element--current-element): At the very
9185 beginning of a footnote definition or an item, next element is
9188 * org-element.el (org-element-headline-parser): Handle nil titles.
9189 (org-element-inlinetask-parser): Add :raw-value property.
9190 Also handle nil titles.
9192 * org.el (org-set-regexps-and-options): Don't consider tags as a
9193 replacement for a missing title in an headline.
9195 * org.el (org-setup-filling): Remove duplicate code.
9197 * org.el (org-adaptive-fill-function): Make sure fill prefix is
9198 computed from beginning of line.
9200 * org-element.el (org-element-section-parser): Make sure section
9201 cannot contain an headline.
9202 (org-element--current-element): Fix bug requiring to parse a quote
9203 section even when point is at an headline.
9205 * org.el (org-adaptive-fill-function): Remove occasional spurious
9206 space character when auto-filling.
9208 * org.el (org-mode): Call external initalizers. Now both filling
9209 code and comments code have their own independant part in org.el.
9210 (org-setup-filling): Rename from `org-set-autofill-regexps'.
9211 (org-setup-comments-handling): New function.
9213 * org.el (org-fill-paragraph): Refine filling in comments and in
9214 paragraphs. Allow commented blank lines. Take into consideration
9215 the indentation of the second line of the paragraph being filled.
9216 (org-comment-or-uncomment-region): Rewrite function. Now comment
9217 region at a fixed column: the minimal indentation of the region.
9218 (org-fill-context-prefix): Rename function into
9219 `org-adaptive-fill-function'. Also, In a paragraph, choose the
9220 same prefix as the current line.
9222 * org-exp.el (org-export-handle-comments): Also remove comments at
9225 * org-exp.el (org-export-handle-comments): Handle inline comments
9228 * org.el (org-structure-template-alist): Add missing colon to
9231 * org.el (org-backward-element): When called at the beginning of
9232 first element in section, the function shouldn't return an error
9233 but move point to headline or point-min instead.
9235 * org-element.el (org-element-paragraph-parser): Tiny refactoring.
9237 * org-element.el (org-element-paragraph-parser): Remove trailing
9240 * org.el (org-fill-context-prefix): Fix incorrect output when
9241 called at the beginning of a plain list with an affiliated
9243 (org-fill-paragraph): Remove useless variable.
9245 * org-element.el (org-element-paragraph-parser): Fix parsing of
9246 paragraph at the beginning of an item.
9248 * org.el (org-mode): Set back comment-start-skip so comment-dwim
9249 can tell a keyword from a comment.
9251 * org.el (org-set-autofill-regexps): Install new comment line
9253 (org-comment-line-break-function): New function.
9254 (org-mode): Remove unnecessary line.
9256 * org.el (org-fill-context-prefix, org-fill-paragraph): Do not
9257 fill verse blocks contents. Verse blocks can be used to format
9258 free-form poetry, so filling has to be done manually.
9260 * org.el (org-fill-paragraph-separate-nobreak-p): New function.
9261 (org-set-autofill-regexps): Introduce new predicate.
9262 (org-fill-item-nobreak-p): Remove function.
9264 * org-element.el (org-element-paragraph-separate): Since this
9265 variable is meant to be searched forward, \end{...} shouldn't
9266 trigger the end of a paragraph before checking if it is the end of
9267 a complete environment.
9268 (org-element-latex-environment-parser): Slight change to the
9269 regexp matching the beginning of a latex environment.
9270 (org-element-paragraph-parser): Paragraphs don't end at incomplete
9272 (org-element-latex-or-entity-successor): Remove paragraph
9273 environments from latex fragment search.
9275 * org-table.el (org-table-number-regexp): By default, accept comma
9276 as a decimal mark to represent numbers.
9278 * org-element.el (org-element-map): Fix comment typo.
9280 * org.el (org-fill-paragraph): Add a `save-excursion' to avoid
9281 returning funny results.
9283 * org.el (org-fill-paragraph): Try not to include message header
9284 and citation lines in a paragraph when filling it.
9286 * org.el (org-fill-paragraph): Fix filling in a narrowed buffer.
9287 (org-fill-context-prefix): Fill prefix doesn't depend on current
9290 * org.el (org-mode): Line with a single hash sign on it is a
9293 * org.el (org-set-font-lock-defaults): Fix comment fontification.
9295 * org-element.el (org-element-item-parser): Do not remove tag from
9296 body if list isn't descriptive.
9298 * org-list.el (org-insert-item): Only ask about a term for
9300 (org-list-struct, org-list-insert-item): Do not recognize a tag in
9303 * org-element.el (org-element-set-element): Rewrite function.
9304 (org-element-adopt-elements): New function.
9305 (org-element-adopt-element): Remove function.
9306 (org-element--parse-elements, org-element--parse-objects): Use new
9309 * org-list.el (org-list-automatic-rules): Remove `bullet' rule,
9310 which is now hard-coded.
9311 (org-cycle-list-bullet): Hard code `bullet' rule.
9312 (org-list-get-list-type): Make sure a list with numbered bullets
9313 cannot have `descriptive' type.
9315 * org-element.el (org-element-paragraph-parser): Fix previous
9318 * org.el (org-fill-paragraph): No need to use
9319 `org-element-paragraph-separate' in a verse block since blank
9320 lines only can end a "paragraph".
9322 * org-element.el (org-element-paragraph-separate): Apply changes
9324 (org-element-paragraph-parser): Correctly find end of paragraphs.
9325 (org-element--current-element): Require colons for Babel calls.
9326 (org-element-center-block-parser)
9327 (org-element-dynamic-block-parser, org-element-quote-block-parser)
9328 (org-element-special-block-parser)
9329 (org-element-comment-block-parser)
9330 (org-element-example-block-parser)
9331 (org-element-export-block-parser, org-element-src-block-parser)
9332 (org-element-verse-block-parser): Fall-back to paragraph parsing
9333 when incomplete or ill-formed.
9335 * org-element.el (org-element-swap-A-B): Small refactoring.
9337 * org-element.el (org-element-text-markup-successor): Fix typo in
9340 * org-element.el (org-element-at-point): Return consistent value
9341 when function is called on a blank line within a plain list.
9343 * org-element.el (org-element-paragraph-separate): Fix comments in
9344 paragraph separator regexp. Optimize it.
9346 * org-element.el: Update code commets.
9348 * org.el (org-mark-subtree): Fix bug when marking subtree with
9349 point on an inlinetask. Refactor code.
9351 * org.el (org-mark-subtree): Do not make a special case for
9352 inlinetasks when marking a subtree. These are handled by
9353 `org-element-mark-element'.
9355 * org-element.el (org-element-comment-parser): Consider first "+"
9356 as a comment when parsing an ill-defined keyword.
9358 * org-element.el (org-element-item-interpreter): Simplify bullet
9360 (org-element-plain-list-interpreter): Fix wrong bullets, if
9363 * org-element.el (org-element-comment-parser): Fix parsing when a
9364 keyword follows the commented line.
9366 * org.el (org-fill-context-prefix): Auto-fill first paragraph in
9367 footnote definitions.
9369 * org.el (org-mode): Define new comment syntax.
9370 (org-fontify-meta-lines-and-blocks-1, org-strip-protective-commas)
9371 (org-fill-context-prefix, org-insert-comment)
9372 (org-comment-or-uncomment-region): Use new comment syntax.
9374 * org-element.el (org-element-comment-parser)
9375 (org-element-comment-interpreter, org-element--current-element):
9376 Use new comment syntax.
9378 * org.el (org-fill-paragraph): When at an item or a footnote
9379 definition, fill first paragraph instead.
9381 * org.el (org-fill-paragraph): Fix filling when point is at the
9382 very end of a paragraph.
9384 * org.el (org-mode): Set comments related variables.
9385 (org-insert-comment, org-comment-or-uncomment-region):
9388 * org.el (org-fill-context-prefix): Small refactoring.
9389 (org-fill-paragraph): Add code comments.
9391 * org-element.el (org-element-at-point): Add :parent property to
9393 (org-element-context): Add :parent property to output.
9394 Also return a single element or object instead of a list of parents.
9395 (org-element-forward, org-element-up): Apply changes.
9397 * org.el (org-fill-context-prefix): New function.
9398 (org-fill-paragraph, org-auto-fill-function): Use new function.
9399 Also handle comments.
9400 (org-adaptive-fill-function): Remove function.
9401 (org-get-local-variables, orgstruct++-mode): Don't store now
9402 unused adaptive-fill* functions.
9404 * org-element.el (org-element-at-point): Fix function when buffer
9405 starts with an inlinetask. Also fix it when called on the last
9406 element in a greater element or the buffer.
9408 * org-element.el (org-element-center-block-parser)
9409 (org-element-dynamic-block-parser)
9410 (org-element-footnote-definition-parser)
9411 (org-element-headline-parser, org-element-inlinetask-parser)
9412 (org-element-quote-block-parser, org-element-special-block-parser)
9413 (org-element-plain-list-parser): Refactor code.
9414 (org-element-drawer-parser): Fall-back to paragraph parser when
9415 drawer is incomplete.
9417 * org-macs.el (org-with-limited-levels): Fix typo.
9419 * org-element.el (org-element-paragraph-separate): Refactor.
9420 (org-element-paragraph-parser): Fix paragraph parsing.
9422 * org.el (org-fill-paragraph): Rewrite function using
9423 `org-element-at-point'.
9425 * org-element.el (org-element-fill-paragraph): Remove function.
9427 * org.el (org-planning-or-clock-line-re): Make it a defconst.
9428 It's no use to make it a buffer-local variable since variables on
9429 which it depends are not buffer-local anyway.
9431 * org.el (org-drawer-regexp): Provide default value for
9432 `org-drawer-regexp' in non-Org buffers.
9434 * org-entities.el (org-entities-create-table): Function chokes
9435 when CAR of `org-entities' is a string.
9437 * org-list.el (org-list-automatic-rules): Allow check-boxes in
9439 (org-list-struct-apply-struct, org-insert-item): Remove rule
9442 * org-footnote.el (org-footnote-normalize): Fix positionning in
9443 HTML export without a footnote section.
9445 * org-list.el (org-list-struct-indent):
9446 Follow `org-list-demote-modify-bullet' specifications for ordered
9448 (org-list-indent-item-generic, org-indent-item-tree)
9449 (org-outdent-item-tree): Fix bug when operating on a region.
9450 (org-outdent-item, org-indent-item): Allow to operate on a region.
9452 * org.el (org-shiftmetaleft, org-shiftmetaright): Allow to operate
9455 * org-footnote.el (org-footnote-delete-definitions): Remove blank
9456 lines before the footnote definition instead of removing those
9459 * org-footnote.el (org-footnote-at-definition-p): Don't grab
9460 trailing blank lines in a footnote definition.
9461 (org-footnote-delete-definitions): Remove both footnote definition
9462 and trailing blank lines.
9464 2012-09-30 Rick Frankel <rick@rickster.com>
9466 * ob-sql.el: Add dbi engine type and pre/post processing.
9468 2012-09-30 Sean O'Halpin <sean.ohalpin@gmail.com> (tiny change)
9470 * ob.el (org-babel-expand-noweb-references): Capture current noweb
9471 start and end patterns then use to set buffer locals in
9472 (with-temp-buffer) form.
9474 2012-09-30 Sebastien Vauban <sva@mygooglest.com> (tiny change)
9476 * org.el (org-update-all-dblocks): Autoload function.
9478 2012-09-30 Simon Thum <simon.thum@gmx.de> (tiny change)
9480 * ob-maxima.el (org-babel-execute:maxima): Let cmdline always
9483 2012-09-30 Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk> (tiny change)
9485 * org-icalendar.el (org-icalendar-timezone): Fix typo and clarify
9488 2012-09-30 Stuart Hickinbottom <stuart@hickinbottom.com> (tiny change)
9490 * org-clock.el (org-x11idle-exists-p): Only shell out when running
9493 2012-09-30 Suhail Shergill <suhailshergill@gmail.com> (tiny change)
9495 * org-html.el (org-export-as-html): If possible, use the
9496 :CUSTOM_ID: property to assign unique ids to footnotes.
9498 2012-09-30 T.F. Torrey <tftorrey@tftorrey.com> (tiny change)
9500 * org-exp.el (org-export-remember-html-container-classes):
9501 Allow exporting a single subtree with HTML_CONTAINER_CLASS property.
9503 * org-rmail.el (org-rmail-follow-link): Use `rmail-widen' instead
9504 of `widen' and don't toggle header as `rmail-widen' already takes
9507 2012-09-30 Tim Howe <vsync@quadium.net> (tiny change)
9509 * org-clock.el (org-clocktable-defaults): Revert extra layer of
9512 2012-09-30 Toby S. Cubitt <tsc25@cantab.net>
9514 * org-capture.el (org-capture-fill-template): Expand %<num> escape
9515 sequences into text entered for <num>'th %^{PROMPT} escape.
9517 * org-capture.el (org-capture-fill-template): Fix regexp for
9518 %<n> expandos to match any positive integer.
9519 (org-capture-templates): Update docstring accordingly.
9521 * org-agenda.el (org-agenda-skip-timestamp-if-deadline-is-shown):
9522 Skip timestamp items in agenda view if item is already shown as a
9524 (org-agenda-skip-deadline-if-done): Pass deadline results to
9525 org-agenda-get-timestamps.
9526 (org-agenda-get-timestamps): Optionally take list of deadline
9527 results, so that timestamp results can be skipped if already
9528 included in deadline results.
9530 * org-agenda.el (org-agenda-diary-sexp-prefix): Regexp matching
9531 deadline/scheduling information to be displayed in diary sexp
9533 (org-agenda-get-sexps): Extract deadline/scheduling information
9534 from diary sexp entries.
9536 * org-capture.el (org-capture-place-entry): Place captured entry
9537 immediately after last subheading of target, instead of just
9538 before next heading at same level as target.
9540 * org-capture.el (org-capture-templates): Document new capture
9541 template properties.
9543 * org-capture.el (org-capture-place-entry)
9544 (org-capture-empty-lines-before): Make new :empty-lines-before
9545 property override :empty-lines when inserting empty lines before
9546 captured captured entry.
9548 * org-capture.el (org-capture-finalize)
9549 (org-capture-empty-lines-after): Make new :empty-lines-after
9550 property override :empty-lines when inserting empty lines after
9551 captured captured entry.
9553 * org-agenda.el (org-agenda-skip-if, org-agenda-skip-if-todo):
9554 Add new todo-unblocked and nottodo-unblocked skip conditions.
9555 These match as for todo and nottodo, but only for unblocked todo items.
9557 2012-09-30 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
9559 * org.el (org-read-date-display): Fix bug when displaying the
9562 2012-09-30 Niels Giesen <niels.giesen@gmail.com>
9564 * org-table.el (orgtbl-to-generic): Add check for :skipheadrule.
9565 When present, the :hline following the head will be skipped.
9566 This is necessary to avoid doubling of horizontal rules in LaTeX
9567 longtable environments and consequent width problems.
9569 * org-latex.el (org-export-latex-tables-tstart)
9570 (org-export-latex-tables-hline)
9571 (org-export-latex-tables-tend): New options.
9572 (org-export-latex-tables): Use the new options.
9574 2012-09-30 Feng Shu <tumashu@gmail.com> (tiny change)
9576 * org-exp.el (org-export-language-setup): Add simplified chinese
9579 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9581 Better seed support for (random).
9582 * org-id.el (org-id-uuid):
9583 Change (random t) to (random), now that the latter is more random.
9585 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9587 Don't use the abbreviation "win" to refer to Windows (Bug#10421).
9588 * ob-lilypond.el (ly-w32-ly-path): Rename from ly-win32-ly-path.
9589 (ly-w32-pdf-path): Rename from ly-win32-pdf-path.
9590 (ly-w32-midi-path): Rename from ly-win32-midi-path.
9591 (ly-determine-ly-path, ly-determine-pdf-path, ly-determine-midi-path):
9592 Check for "windows-nt", not "win32", in system-type.
9594 2012-06-02 Chong Yidong <cyd@gnu.org>
9596 * org-clock.el (org-clock-string-limit)
9597 (org-clock-modeline-total, org-clock-task-overrun-text)
9598 (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
9600 2012-05-27 Mark Shoulson <mark@kli.org> (tiny change)
9602 * org.el (org-fontify-entities): Fix bug: The entities \sup[123] and
9603 \there4 were not "prettified" when org-pretty-entities was enabled.
9605 2012-05-27 Nicolas Goaziou <n.goaziou@gmail.com>
9607 * org.el (org-font-lock-add-priority-faces):
9608 Restrict priorities fontification to headlines and inlinetasks.
9610 2012-05-27 Jambunathan K <kjambunathan@gmail.com>
9612 * org-odt.el (org-odt-init-outfile)
9613 (org-odt-write-manifest-file):
9614 Disable `nxml-auto-insert-xml-declaration-flag'.
9616 * org-lparse.el (org-do-lparse): Don't trigger auto-mode processing.
9618 2012-05-27 Bastien Guerry <bzg@gnu.org>
9620 * org.el (org-scan-tags): Fix bug when building the scanner regexp.
9622 2012-05-27 Eric Schulte <eric.schulte@gmx.com>
9624 * ob.el (org-babel-capitalize-examplize-region-markers):
9625 Controls the capitalization of begin and end example blocks.
9626 (org-babel-examplize-region):
9627 Optionally capitalize example block delimiters.
9629 * ob-plantuml.el (org-babel-execute:plantuml):
9630 Add a :java header argument to plantuml.
9632 * org-exp-blocks.el (org-export-blocks-preprocess):
9633 Even when the body of a block is not indented the boundary markers
9634 should be indented to their original positions so things like list
9635 indentation still work.
9637 * ob.el (org-babel-parse-src-block-match):
9638 Save match data during indentation check.
9640 2012-05-27 Bastien Guerry <bzg@gnu.org>
9642 * org.el (org-scan-tags): Correctly match TODO keywords.
9644 2012-05-27 Nicolas Goaziou <n.goaziou@gmail.com>
9646 * org-list.el (org-list-struct): Fix white spaces.
9647 (org-list-swap-items, org-list-send-item): Fix visibility preservation.
9649 * org-list.el (org-list-swap-items, org-list-send-item):
9650 Preserve visibility when moving items.
9652 2012-05-27 Mark E. Shoulson <mark@kli.org> (tiny change)
9654 * org.el (org-fontify-entities): Hide {} when prettifying entities.
9656 2012-05-27 Bastien Guerry <bzg@gnu.org>
9658 * org.el (org-cycle-internal-global): Prevent the display of
9659 messages when cycling from with a Gnus article buffer.
9661 * org-table.el (org-table-time-seconds-to-string):
9662 Fix bug about handling a negative duration value.
9664 2012-05-27 Nicolas Goaziou <n.goaziou@gmail.com>
9666 * org.el (org-link-expand-abbrev): Fix docstring.
9668 * org.el (org-translate-link): Fix bug.
9670 2012-05-27 Bastien Guerry <bzg@gnu.org>
9672 * org-agenda.el (org-agenda-bulk-mark-regexp):
9673 Fix bug when setting the number of marked entries.
9675 * org-table.el (org-tbl-calc-modes): Rename from `org-table-modes'.
9676 (org-set-calc-mode, org-table-eval-formula): Use it.
9678 2012-05-27 Eric Schulte <eric.schulte@gmx.com>
9680 * ob.el (org-babel-find-named-result):
9681 Fix bug finding empty named results.
9683 2012-05-27 Nicolas Goaziou <n.goaziou@gmail.com>
9685 * org.el (org-set-regexps-and-options):
9686 Fix `org-planning-or-clock-line-re' regexp. Indeed "\\>" will never
9687 match since time keywords must end with colons, which are not word
9690 2012-05-27 Bastien Guerry <bzg@gnu.org>
9692 * org-ctags.el (org-ctags-new-topic-template):
9693 Fix the option default value back again.
9695 2012-05-27 Eric Schulte <eric.schulte@gmx.com>
9697 * org-bibtex.el (org-bibtex-export-to-kill-ring):
9698 Don't rely on kill-new to return a string.
9700 * org-bibtex.el (org-bibtex-headline):
9701 Remove call to bibtex-reformat which often hangs.
9703 2012-04-27 Glenn Morris <rgm@gnu.org>
9705 * org-ctags.el (org-ctags-new-topic-template):
9706 Revert 2012-04-09 removal of * from defcustom value, not doc.
9708 2012-04-27 Nicolas Goaziou <n.goaziou@gmail.com>
9710 * org-table.el (org-table-number-fraction): Fix typo.
9712 2012-04-27 Eric Schulte <eric.schulte@gmx.com>
9714 * ob-python.el (org-babel-execute:python): Ensure newline precedes
9715 automatically-added returns.
9717 2012-04-27 Nicolas Goaziou <n.goaziou@gmail.com>
9719 * org-mouse.el (org-mode-hook): Do not move point when clicking on
9720 a footnote reference.
9722 2012-04-27 Bastien Guerry <bzg@gnu.org>
9724 * org-faces.el (org-date-selected): Fix docstring.
9726 2012-04-27 Nicolas Goaziou <n.goaziou@gmail.com>
9728 * org-list.el (org-list-struct-indent):
9729 Follow `org-list-demote-modify-bullet' specifications for ordered
9731 (org-list-indent-item-generic, org-indent-item-tree)
9732 (org-outdent-item-tree): Fix bug when operating on a region.
9733 (org-outdent-item, org-indent-item): Allow to operate on a region.
9735 * org.el (org-shiftmetaleft, org-shiftmetaright): Allow to operate
9738 2012-04-27 Nicolas Goaziou <n.goaziou@gmail.com>
9740 * org-footnote.el (org-footnote-normalize): Fix positioning in
9741 HTML export without a footnote section.
9743 2012-04-27 Madan Ramakrishnan <madanr79@gmail.com> (tiny change)
9745 * org-agenda.el (org-agenda-bulk-mark): Truly make arg optional as
9746 advertised by the function.
9748 2012-04-27 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
9750 * org.el (org-read-date-display): Fix bug when displaying the
9753 2012-04-27 Bastien Guerry <bzg@gnu.org>
9755 * org.el (org-mode): Don't use `buffer-face-mode' by default.
9757 2012-04-27 Bastien Guerry <bzg@gnu.org>
9759 * org-faces.el (org-date-selected): New face.
9761 2012-04-27 Jambunathan K <kjambunathan@gmail.com>
9763 * org-odt.el (org-odt-format-org-link): Pay no heed to whether the
9764 internal links destined for headlines provide a description or
9765 not. In fact, the `org-store-link' and `org-insert-link' create
9766 internal links which do have a description.
9768 2012-04-27 Bastien Guerry <bzg@gnu.org>
9770 * org-clock.el (org-program-exists): Fix docstring.
9772 2012-04-14 Bastien Guerry <bzg@gnu.org>
9774 * org.el (org-point-at-end-of-empty-headline): Only try to match
9775 `org-todo-line-regexp' when the value is non-nil, e.g. in non-org
9777 (org-fontify-meta-lines-and-blocks-1): Prevent errors when trying
9778 to fontify beyond (point-max).
9780 * org-clock.el (org-clock-task-overrun-text)
9781 (org-task-overrun, org-clock-get-clock-string)
9782 (org-clock-update-mode-line)
9783 (org-clock-notify-once-if-expired): Rename `org-task-overrun'
9784 and `org-task-overrun-text' to `org-clock-task-overrun' and
9785 `org-clock-task-overrun-text' respectively.
9786 (org-task-overrun-text): New alias.
9788 * org-table.el (org-table-eval-formula): Fix bug about handling
9789 remote references as durations.
9790 (org-table-get-range): Fix bug: make sure references to $0 are
9793 * org-pcomplete.el (pcomplete/org-mode/file-option):
9794 Fix bug in `pcomplete/org-mode/file-option'.
9795 (org-thing-at-point): Also match line options like LATEX_CLASS
9796 when pcompleting from LATEX_.
9798 * org-agenda.el (org-agenda-filter-make-matcher)
9799 (org-agenda-filter-apply): Allow filtering entries out by
9800 category. Using `C-u <' from the agenda view will redisplay
9801 the agenda without entries from categories of the current line.
9803 2012-04-14 Eric Schulte <eric.schulte@gmx.com>
9805 * ob-C.el (org-babel-C-ensure-main-wrap):
9806 Add an explicit return to automatically generated main methods.
9808 2012-04-14 Matt Lundin <mdl@imapmail.org>
9810 * org.el (org-after-todo-state-change-hook):
9811 Fix docstring to reflect name change of state to `org-state'.
9813 2012-04-14 Mike Sperber <sperber@deinprogramm.de> (tiny change)
9815 * org-footnote.el (org-footnote-normalize):
9816 Correctly pass keyword arguments to `org-export-preprocess-string'.
9818 2012-04-03 Bastien Guerry <bzg@gnu.org>
9820 * org.el (org-todo): Fix regression: rename `state' to
9822 (org-use-effective-time): Fix group and type.
9824 2012-04-02 Bastien Guerry <bzg@gnu.org>
9826 * org-clock.el (org-clock-out-if-current): Fix regression: rename
9827 `org-clock-state' to `org-state' to match the name of the
9828 dynamically-scoped variable in `org-todo'.
9830 * org-agenda.el (entry, org-diary, org-class): Fix regression:
9831 rename `org-entry' to `entry'.
9833 2012-04-01 Bastien Guerry <bzg@gnu.org>
9835 * org.el (org-todo): Fix regression in `org-todo'.
9837 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
9839 * ob-C.el (org-babel-C-execute): Add .exe to the end of compiled
9842 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
9844 * ob-exp.el (org-babel-exp-code): Escape all lines when exporting
9847 * ob.el (org-babel-parse-src-block-match): Make use of the new
9848 language argument to org-babel-strip-protective-commas.
9849 (org-babel-parse-inline-src-block-match): Make use of the new
9850 language argument to org-babel-strip-protective-commas.
9851 (org-babel-strip-protective-commas): Now accepts a language
9854 2012-04-01 Bastien Guerry <bzg@gnu.org>
9856 * org.el (org-fast-tag-selection): Fix an bug when listing tags
9859 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
9861 * org.el (org-delete-property-globally): Fix a bug that left
9862 blank line in place of the property, instead of removing the line.
9864 2012-04-01 Bastien Guerry <bzg@gnu.org>
9866 * ob-maxima.el (org-babel-maxima-command): Add group information
9869 2012-04-01 Bastien Guerry <bzg@gnu.org>
9871 * org.el (org-mode): Use `buffer-face-mode' to remap the 'default
9872 face to 'org-default.
9874 2012-04-01 Bastien Guerry <bzg@gnu.org>
9876 * org-ascii.el (org-export-as-ascii): Fix escaping of underscores
9879 2012-04-01 Bastien Guerry <bzg@gnu.org>
9881 * org.el: Prevent a bug while defining the menu by requiring
9882 `org-beamer' when necessary.
9884 2012-04-01 Bastien Guerry <bzg@gnu.org>
9886 * org-table.el (orgtbl-self-insert-command):
9887 Use `backward-delete-char' instead of `delete-backward-char' as this
9888 last command gets caught by the compiler which says to not use it
9889 in programs. `backward-delete-char' is just an alias for
9890 `delete-backward-char' which is internally remapped to
9891 `org-delete-backward-char' for optimization purpose.
9893 2012-04-01 Bastien Guerry <bzg@gnu.org>
9895 * org-latex.el (org-export-latex-subcontent): Bugfix: when
9896 `org-export-latex-low-levels' is nil, do not export low levels.
9898 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
9900 * ob.el (org-babel-insert-result): Fix bug in indented wrapped
9903 2012-04-01 Bastien Guerry <bzg@gnu.org>
9905 * org.el (org-set-tags): Include `org-tag-alist' in the list of
9906 possible completions, even when there are tags defined in the
9909 2012-04-01 Bastien Guerry <bzg@gnu.org>
9911 * org.el (org-set-tags): Don't add a column when there is only one
9912 tag offered for completion.
9914 2012-04-01 Bastien Guerry <bzg@gnu.org>
9916 * org.el (org-fast-tag-selection): Include tags from
9917 `org-tag-alist' when completing with the TAB key.
9919 2012-04-01 Shoji Nishimura <nishimura.shoji@gmail.com> (tiny change)
9921 * org.el (org-display-inline-images): Honor the ̀beg' parameter.
9923 2012-04-01 Bastien Guerry <bzg@gnu.org>
9925 * org-latex.el (org-export-latex-subcontent): Don't insert a
9926 linebreak when itemizing a subtree that is just a headline.
9928 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
9930 * ob-lob.el (org-babel-lob-get-info): Remove extra []s when
9931 parsing inline call_foo lines.
9933 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
9935 * ob-maxima.el (org-babel-maxima-command): The maxima command used
9936 should be configurable (defaults to maxima-command if defined).
9937 (org-babel-execute:maxima): The maxima command used should be
9938 configurable (defaults to maxima-command if defined).
9940 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
9942 * ob-C.el (org-babel-C-execute): Add the local directory to the
9943 library search path for C/C++ block compilation.
9945 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
9947 * ob.el (org-babel-where-is-src-block-result): Don't truncate
9948 results name on call line execution.
9950 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
9952 * org-colview.el (org-columns-cleanup-item): Handle case of empty
9955 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
9957 * org-footnote.el (org-footnote-delete-definitions): Fix LaTeX
9958 export error when a src block produces fake footnotes.
9960 2012-04-01 Bastien Guerry <bzg@gnu.org>
9962 * org.el (org-read-date): Don't mention `parse-time-weekdays' and
9963 `parse-time-months' in the docstring.
9965 2012-04-01 Bastien Guerry <bzg@gnu.org>
9967 * org-agenda.el (org-agenda-filter-apply): Bugfix: Add let
9970 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
9972 * org-colview.el (org-columns-compute): Also consider inline tasks
9973 when computing the sum.
9975 2012-04-01 Thomas Morgan <tlm@ziiuu.com> (tiny change)
9977 * org-habit.el (org-habit-insert-consistency-graphs):
9978 Fix alignment of consistency graph in filtered agenda view.
9980 2012-04-01 Bastien Guerry <bzg@gnu.org>
9982 * org-latex.el (org-export-as-latex): Fix bug in setting the
9983 export directory according to the LaTeX options.
9985 2012-04-01 K.Nagashima <uni.naga@gmail.com> (tiny change)
9987 * org.el (org-show-subtree): Make interactive.
9989 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu>
9991 * org-clock.el (org-clock-get-table-data): Make sure todo-only
9992 does not leak when it is set by make-org-tags-macher.
9994 2012-04-01 Bastien Guerry <bzg@gnu.org>
9996 * org.el (org-cycle-internal-local): Don't try to hide drawers
9997 within subtrees in this function, it slows cycling down.
9999 2012-04-01 Bastien Guerry <bzg@gnu.org>
10001 * org-agenda.el (org-agenda-custom-commands-local-options):
10002 Fix incorrect custom option definition.
10004 2012-04-01 Bastien Guerry <bzg@gnu.org>
10006 * org-colview.el (org-columns-display-here): Bugfix: use the date
10007 as the value for the ITEM column when displaying a summary.
10009 2012-04-01 Martyn Jago <martyn.jago@btinternet.com>
10011 * ob-lilypond.el: Re-direct homepage to Worg.
10013 2012-04-01 Martyn Jago <martyn.jago@btinternet.com>
10015 * ob-lilypond.el: Leave versioning to Org.
10017 2012-04-01 Martyn Jago <martyn.jago@btinternet.com>
10019 * ob-lilypond.el: Fix compiler warning.
10021 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10023 * org-odt.el (org-odt-format-entity-caption): Enumerate entities
10024 that have either a caption or a label.
10025 (org-odt-label-styles, org-odt-category-map-alist): Add a
10026 separator between sequence number and caption. Introduced two
10027 new label styles for handling of math formula and math label.
10028 (org-odt-format-label-definition)
10029 (org-export-odt-format-formula): Propagate above changes.
10031 2012-04-01 Bastien Guerry <bzg@gnu.org>
10033 * org.el (org-enforce-todo-dependencies): Fix docstring.
10035 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10037 * org-odt.el (org-export-odt-category-strings): New custom
10039 (org-odt-category-map-alist): Modify interpretation.
10040 Don't use the same field to double up as both a OpenDocument
10041 variable and a category string. Entries in this list now
10042 specify only the OpenDocument variable. Category strings are
10043 obtained through an indirect lookup of
10044 `org-export-odt-category-strings'. Use same OpenDocument
10045 variables as what LibreOffice uses for various entities.
10047 (org-odt-add-label-definition)
10048 (org-odt-format-label-definition)
10049 (org-odt-format-label-reference): Propagate above changes.
10051 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
10053 * org-latex.el (org-export-as-latex): Check TeX-master correctly.
10055 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10057 * org-odt.el (org-odt-category-map-alist): Update docstring.
10058 (org-export-odt-user-categories)
10059 (org-export-odt-get-category-from-label)
10060 (org-odt-get-label-category-and-style): Remove.
10061 (org-odt-add-label-definition): Propagate above changes.
10063 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
10065 * org.el (org-refile): Don't allow creation of parents when using
10066 the refile command to go to a headline.
10068 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10070 * org-odt.el (org-odt-format-org-link): Resolve links to headlines
10071 as section numbers only if section numbering is on.
10073 2012-04-01 Bastien Guerry <bzg@gnu.org>
10075 * org.el (format-spec): Require 'format-spec.
10077 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
10079 * org-latex.el (org-export-as-latex): Fix TeX-master declaration.
10081 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
10083 * org.el (org-imenu-get-tree): Check that looking-at succeeds
10084 before using match results.
10086 2012-04-01 Bastien Guerry <bzg@gnu.org>
10088 * org-exp-blocks.el (org-ditaa-jar-path): Make a defcustom.
10090 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10092 * org-lparse.el (org-do-lparse): Make effective setting of
10093 `org-export-headline-levels' available to the ODT exporter.
10094 Also remove some stale comments.
10096 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10098 * org-odt.el (org-odt-begin-toc): Handle named HTML entities in
10099 per-language string for "Table Of Contents".
10101 2012-04-01 Bastien Guerry <bzg@gnu.org>
10103 * org-exp-blocks.el (org-ditaa-jar-path): Fix merge conflict.
10105 2012-04-01 Shaun Johnson <shaun@slugfest.demon.co.uk> (tiny change)
10107 * org-exp-blocks.el (org-ditaa-jar-path): Better heuristic to find
10110 2012-04-01 Suvayu Ali <fatkasuvayu+linux@gmail.com>
10112 * org-src.el (org-edit-src-code): Change let bind to let*, e.g. if
10113 case-fold-search is bound to nil globally, the
10114 (case-fold-search t) doesn't work until we get to the body.
10116 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
10118 * org-latex.el (org-export-latex-tables): Allow to use
10121 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10123 * ob.el (org-babel-expand-noweb-references): Fix bug in src name
10124 regexp when using *org-babel-use-quick-and-dirty-noweb-expansion*.
10126 2012-04-01 David Maus <dmaus@ictsoc.de>
10128 * org.el (org-scan-tags): Require one or more spaces (+) between
10129 keyword and headline.
10131 2012-04-01 David Maus <dmaus@ictsoc.de>
10133 * org-agenda.el (org-prepare-agenda): Don't reset
10134 `org-done-keywords-for-agenda' when `org-agenda-multi'.
10136 2012-04-01 Thomas Morgan <tlm@ziiuu.com> (tiny change)
10138 * org-habit.el (org-habit-insert-consistency-graphs): Fix bug
10139 while inserting habit graph in the agenda buffer.
10141 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
10143 * org-src.el (org-src-edit-buffer-p): New function.
10145 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
10147 * org-agenda.el (org-agenda-skip-if): Fix the order conditions are
10148 being checked. Also enhance the docstring a bit.
10150 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
10152 * org-agenda.el (org-agenda-tree-to-indirect-buffer): Fix the
10153 display of indirect agenda window.
10155 2012-04-01 Bastien Guerry <bzg@gnu.org> (tiny change)
10157 * org.el (org-create-formula-image, org-dvipng-color): Fix XEmacs
10160 2012-04-01 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
10162 * org-clock.el (org-clock-get-table-data): Bind org-scanner-tags
10163 to tags-list and org-trust-scanner-tags to t while evaluating the
10164 matcher, since the matcher is always evaluated at the current
10167 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
10169 * org.el (org-scan-tags): Bind org-trust-scanner-tags to t while
10170 evaluating the matcher, since the matcher is always evaluated at
10173 2012-04-01 Ilya Shlyakhter <ilya_shl@alum.mit.edu> (tiny change)
10175 * ob-lilypond.el (ly-compile-lilyfile): Fix misplaced comma in a
10176 quoting expression.
10178 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10180 * ob.el (org-babel-merge-params): Add "eval" as acceptable noweb
10182 (org-babel-noweb-p): The "eval" argument only expands during
10185 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10187 * ob.el (org-strip-protective-commas): Declared.
10189 * org-agenda.el (org-agenda-filtered-by-category): Declared.
10190 (org-agenda-filter-apply): Capture free variable.
10192 * org-footnote.el (org-skip-whitespace): Declared.
10194 * org-mobile.el (org-agenda-filter): Declared.
10196 * org-src.el (org-strip-protective-commas): Declared.
10198 2012-04-01 Sebastien Vauban <sva@mygooglest.com> (tiny change)
10200 * org.el (org-version): Add autoload cookie.
10202 2012-04-01 David Maus <dmaus@ictsoc.de>
10204 * org-attach.el (org-attach-store-link-p): Remove spurious quote
10205 in customization form choice.
10207 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10209 * ob-sh.el (org-babel-execute:sh): Pass all params to subroutine.
10210 (org-babel-sh-evaluate): Apply :shebang and :padline to shell script
10213 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10215 * ob.el (org-babel-insert-result): Ensure correct order for empty
10216 result wrapping blocks.
10218 2012-04-01 Martyn Jago <martyn.jago@btinternet.com>
10220 * ob-lilypond.el: Make auditioning of midi and pdf asynchronous,
10221 and add easy pdf generation in the form of `ly-gen-pdf' variable.
10223 2012-04-01 Deech <deech@deech-ThinkPad-X200.none> (tiny change)
10225 * ob-tangle.el (org-babel-spec-to-string): The link generated by
10226 org-store-link is escaped twice when tangling with ":comments yes"
10229 2012-04-01 Bastien Guerry <bzg@gnu.org>
10231 * org-html.el (org-export-as-html): Remove another useless space
10234 2012-04-01 Bastien Guerry <bzg@gnu.org>
10236 * org-html.el (org-export-as-html): Remove another useless space
10239 2012-04-01 Bastien Guerry <bzg@gnu.org>
10241 * org-html.el (org-export-as-html): Remove useless space before
10244 2012-04-01 Sebastien Vauban <sva@mygooglest.com> (tiny change)
10246 * org.el (org-version): Add autoload cookie.
10248 2012-04-01 Bastien Guerry <bzg@gnu.org>
10250 * org.el (org-get-category): Save match data.
10252 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10254 * ob-tangle.el (org-babel-tangle): Don't prompt for a file name if
10255 :tangle is specified.
10257 * ob.el (org-babel-expand-noweb-references): Widen buffer when
10258 expanding noweb references.
10260 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10262 * ob-table.el (sbe): Don't accidentally leave a `t' value when
10263 variables are force interpreted as strings.
10265 2012-04-01 David Maus <dmaus@ictsoc.de>
10267 * org-bbdb.el (org-bbdb-open, org-bbdb-open-old)
10268 (org-bbdb-open-new): Pass record name to avoid dynamic scoping.
10270 2012-04-01 David Maus <dmaus@ictsoc.de>
10272 * org-bbdb.el (bbdb-record-get-field, bbdb-search-name)
10273 (bbdb-search-organization): Declare functions to silence byte
10276 2012-04-01 Bernt Hansen <bernt@norang.ca>
10278 * org.el (org-clone-subtree-with-time-shift): Fix task cloning for
10279 repeating tasks using .+n and ++n syntax.
10281 2012-04-01 Karl Fogel <kfogel@red-bean.com> (tiny change)
10283 * org-agenda.el (org-agenda-highlight-todo): Handle the case of a
10284 heading that has a date but no todo keyword.
10286 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10288 * ob.el (org-babel-find-named-result): Fix code block replacement
10291 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10293 * org-footnote.el (org-footnote-normalize): Do not normalize
10294 labels when sort-only is non-nil.
10296 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10298 * org-footnote.el (org-footnote-normalize): Remove an useless part
10300 (org-insert-footnote-reference-near-definition): Remove function.
10302 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10304 * org-footnote.el (org-footnote-normalize): Fix normalization of
10305 inline footnotes with no footnote section.
10307 2012-04-01 David Maus <dmaus@ictsoc.de>
10309 * org-bbdb.el (org-bbdb-old): Replace `defvar' after loading 'bbdb
10310 to check for old or new version by a check for the required
10311 function in `org-bbdb-open' and `org-bbdb-store-link'.
10312 (org-bbdb-store-link, org-bbdb-open): Check which version of bbdb is
10315 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10317 * ob.el (org-babel-find-named-result): Don't miss a code block
10318 when there are confounding spaces after the result name.
10320 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10322 * ob-lob.el (org-babel-block-lob-one-liner-regexp): Less greedy
10323 regular expressions.
10324 (org-babel-inline-lob-one-liner-regexp): Less greedy regular
10327 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10329 * ob.el (org-babel-examplize-region): Fix bug in examplization.
10331 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10333 * org.el (org-link-search): Search for #+name affiliated keywords
10334 and invisible targets.
10336 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10338 * org-lparse.el (org-lparse-end-footnote-definition): Cleanup
10339 newlines in a transcoded footnote definition. This ensures that
10340 the line that is currently being processed by `org-do-lparse' loop
10341 doesn't get broken up into multiple lines. Fix for the following
10344 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10346 * org-footnote.el (org-footnote-normalize): Force a paragraph
10347 break after the last footnote definition. This is an an implicit
10348 assumption made by the org-lparse.el library. With this change,
10349 footnote definitions can reliably be exported with ODT backend.
10350 See http://lists.gnu.org/archive/html/emacs-orgmode/2012-02/msg01013.html.
10352 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10354 * ob-ditaa.el (org-ditaa-jar-path): Fix a recursive load error.
10356 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10358 * org-list.el (org-list-struct): Fix small bug introduced by
10359 commit 8b7a3f249803aba612f9ad3ae50c2fc986247da4 in Org's git repo.
10361 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10363 * ob-ditaa.el (org-ditaa-jar-path): Already defined in
10366 * org-exp-blocks.el (org-ditaa-jar-path): Declare appropriately
10367 for the fact that this is really now a Babel thing -- even if it
10368 is used here and the definition should remain here for reasons of
10371 2012-04-01 David Maus <dmaus@ictsoc.de>
10373 * org-bbdb.el (org-bbdb-old): Wrap `defvar' so the variable gets
10374 defined after bbdb was loaded.
10376 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10378 * org-latex.el (org-export-latex-tables): Don't add spurious
10379 preceding newline if caption is not above a longtable.
10381 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10383 * org-odt.el (org-odt-insert-toc): Remove this stray,
10384 dysfunctional routine. This possibly has crept in because of the
10385 broken merges between "maint" and "origin" branches.
10386 (org-odt-begin-table): Don't emit an empty paragraph when a table is
10387 neither labeled nor captioned.
10388 (org-odt-init-outfile): Remove reference to an unused variable.
10390 2012-04-01 Viktor Rosenfeld <listuser36@googlemail.com>
10392 * ob-sql.el (org-babel-execute:sql): Add support for MonetDB to
10395 2012-04-01 Andreas Leha <andreas.leha@med.uni-goettingen.de>
10397 * ob.el (org-babel-goto-named-src-block): Pushing the point to the
10398 org-mark-ring and guessing at the code block name to jump to.
10400 2012-04-01 David Maus <dmaus@ictsoc.de>
10402 * org-agenda.el (org-agenda-tree-to-indirect-buffer): Fix handling
10403 of indirect buffer and window.
10405 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10407 * org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes
10410 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10412 * org-footnote.el (org-footnote-forbidden-blocks): Allow footnotes
10415 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10417 * org-exp.el (org-table-clean-before-export): Ignore table rows
10418 defining parameters for formulas during export.
10420 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10422 * org-list.el (org-list-get-item-number): New function.
10424 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10426 * org-list.el (org-list-ending-method, org-list-end-regexp):
10428 (org-in-item-p, org-list-separating-blank-lines-number)
10429 (org-list-parse-list, org-list-struct): Apply changes.
10431 * org-exp.el (org-export-mark-list-end)
10432 (org-export-mark-list-properties): Apply changes.
10434 * org-latex.el (org-export-latex-lists): Apply changes.
10436 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10438 * org.el (org-cycle-internal-local): Correctly unfold headlines
10439 containing an inlinetask.
10441 2012-04-01 Bastien Guerry <bzg@gnu.org>
10443 * org.el (org-structure-template-alist): Fix missing angle
10444 brackets for muse export style.
10446 2012-04-01 David Maus <dmaus@ictsoc.de>
10448 * org.el (org-recenter-calendar): Use `with-selected-window' to
10449 select calendar window and save currently selected window and
10452 2012-04-01 Toby S. Cubitt <tsc25@cantab.net> (tiny change)
10454 * org.el (org-goto): Call org-refile-get-location with NO-EXCLUDE
10455 argument set, otherwise not only are headlines in the current
10456 subtree excluded, but it throws an error if point happens not to
10457 be within a subtree (e.g. at start of buffer).
10459 2012-04-01 David Maus <dmaus@ictsoc.de>
10461 * org.el (org-scan-tags): Fix highlighting in sparse-tree.
10463 2012-04-01 David Maus <dmaus@ictsoc.de>
10465 * org-clock.el (org-in-clocktable-p): Move to org.el.
10467 * org.el (org-in-clocktable-p): New function. Moved from
10470 2012-04-01 David Maus <dmaus@ictsoc.de>
10472 * org-exp.el (org-export-get-title-from-subtree): Don't format
10473 tags in title if title headline does not have tags.
10475 2012-04-01 Bastien Guerry <bzg@gnu.org>
10477 * org.el (org-cycle-internal-local): Fix bug: hide drawers in
10480 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10482 * org-odt.el (org-odt-format-preamble): Don't insert TOC here.
10483 Delay it till the end of export.
10484 (org-odt-begin-document-body): Make a note of the default
10485 position of TOC in `org-lparse-dyn-first-heading-pos'.
10486 (org-odt-insert-toc): Insert TOC as directed by
10487 [TABLE-OF-CONTENTS] line or at the default position.
10488 (org-odt-end-export): Call `org-odt-insert-toc'.
10490 2012-04-01 Bastien Guerry <bzg@gnu.org>
10492 * org.el (org-preview-latex-fragment): Throw an error when called
10493 from a non-file buffer.
10495 2012-04-01 David Maus <dmaus@ictsoc.de>
10497 * org-capture.el (org-capture-place-item): Don't search for
10498 position in existing list if :exact-position was supplied.
10500 2012-04-01 Bastien Guerry <bzg@gnu.org>
10502 * org.el (org-set-font-lock-defaults): Fix bug in done headline
10505 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10507 * org-odt.el (org-odt-format-textbox): Honor user-specified width
10508 in captioned images.
10510 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10512 * org.el (org-update-property-plist): Fix bug in property list
10515 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10517 * ob.el (org-babel-balanced-split): Explicit checking if list
10518 before calling member.
10520 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10522 * ob-sqlite.el (org-babel-execute:sqlite): Specify the use of ","
10523 as the separator to `org-table-convert-region'. Fixes errors when
10524 only one result per line of output.
10526 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10528 * ob.el (org-babel-strip-protective-commas):
10529 Use `org-strip-protective-commas'.
10531 * org-exp.el (org-export-select-backend-specific-text):
10532 Use `org-strip-protective-commas'.
10534 * org-src.el (org-edit-src-code):
10535 Use `org-strip-protective-commas'.
10537 * org.el (org-strip-protective-commas): Single definition for this
10540 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10542 * ob-sql.el: Mention ob-sqlite in the comments of ob-sql.
10544 2012-04-01 David Maus <dmaus@ictsoc.de>
10546 * org-capture.el (org-capture-prepare-finalize-hook): New hook.
10547 Run before the finalization process starts.
10548 (org-capture-finalize): Run new hook.
10550 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10552 * org.el (org-entry-get): Generalize to multiple "prop+"
10555 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10557 * org-src.el (org-src-mode-map): Rebinding `org-edit-src-save' in
10558 the `org-src-mode-map'.
10560 2012-04-01 David Maus <dmaus@ictsoc.de>
10562 * org.el (org-recenter-calendar): Use `with-selected-window' to
10563 select calendar window and save currently selected window and
10566 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10568 * org-list.el (org-list-ending-method, org-list-end-regexp):
10570 (org-in-item-p, org-list-separating-blank-lines-number)
10571 (org-list-parse-list, org-list-struct): Apply changes.
10573 * org-exp.el (org-export-mark-list-end)
10574 (org-export-mark-list-properties): Apply changes.
10576 * org-latex.el (org-export-latex-lists): Apply changes.
10578 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10580 * org.el (org-entry-get): Accumulate properties from subtree
10583 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10585 * org.el (org-entry-get): Accumulate properties from subtree
10588 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10590 * org-odt.el (org-export-odt-image-size-probe-method)
10591 (org-odt-do-image-size): Use imagemagick preferentially to
10592 determine image sizes.
10594 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10596 * org-odt.el (org-export-as-odt-to-buffer)
10597 (org-replace-region-by-odt, org-export-region-as-odt):
10598 Remove these interactive functions. They are of questionable value.
10600 2012-04-01 Toby S. Cubitt <tsc25@cantab.net> (tiny change)
10602 * org.el (org-goto): Call org-refile-get-location with NO-EXCLUDE
10603 argument set, otherwise not only are headlines in the current
10604 subtree excluded, but it throws an error if point happens not to
10605 be within a subtree (e.g. at start of buffer).
10607 2012-04-01 Bastien Guerry <bzg@gnu.org>
10609 * org-exp.el (org-export-kill-product-buffer-when-displayed)
10610 (org-export-initial-scope, org-export-date-timestamp-format)
10611 (org-export-with-tasks, org-export-email-info)
10612 (org-export-table-remove-empty-lines): Add version tag.
10614 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10616 * org.el (org-cycle-internal-local): Correctly unfold headlines
10617 containing an inlinetask.
10619 2012-04-01 Bernt Hansen <bernt@norang.ca>
10621 * org-clock.el (org-clock-out): Do not delete the current clocking
10622 task when org-clock-out-hook clocks in another task.
10624 2012-04-01 David Maus <dmaus@ictsoc.de>
10626 * org.el (org-scan-tags): Fix highlighting in sparse-tree.
10628 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10630 * org-odt.el (org-export-odt-convert-processes): Re-define
10631 (org-export-odt-convert-capabilities): Fix an accidental
10634 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10636 * org-odt.el (org-export-odt-convert-capabilities): Change the
10639 2012-04-01 David Maus <dmaus@ictsoc.de>
10641 * org-clock.el (org-in-clocktable-p): Move to org.el.
10643 * org.el (org-in-clocktable-p): New function. Moved from org-clock.el.
10645 2012-04-01 David Maus <dmaus@ictsoc.de>
10647 * org-exp.el (org-export-get-title-from-subtree): Don't format
10648 tags in title if title headline does not have tags.
10650 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10652 * org-footnote.el (org-blank-before-new-entry)
10653 (org-export-footnotes-seen, org-export-footnotes-data): Fix bogus
10656 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10658 * org.el (org-beginning-of-line, org-end-of-line): Fix special C-a
10659 and C-e behavior with visual lines.
10661 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10663 * org-exp-blocks.el (org-export-blocks): Change the name of
10664 exporting comment blocks given that it seems regular comment
10665 blocks no longer export.
10667 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10669 * ob-exp.el (org-babel-exp-get-export-buffer): Access current
10671 (org-babel-exp-in-export-file): Access current export buffer.
10672 (org-babel-exp-src-block): Access current export buffer.
10673 (org-babel-exp-inline-src-blocks): Access current export buffer.
10675 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10677 * ob-exp.el (org-babel-exp-in-export-file)
10678 (org-babel-exp-src-block, org-babel-exp-inline-src-blocks):
10679 Allow org-current-export-file to contain a buffer.
10681 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10683 * org-lparse.el (org-lparse-do-convert): Replace `call-process'
10684 with `shell-command-to-string'.
10686 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10688 * org-footnote.el (org-footnote-create-definition): Fix space
10689 insertion when creating a new footnote. This fixes newline
10690 munching when `org-footnote-section' is nil and blank lines
10691 stacking when it isn't nil.
10693 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10695 * org-footnote.el (org-footnote-normalize): Make sure that
10696 footnotes are moved to a single place during export.
10698 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10700 * org-footnote.el (org-footnote-normalize): Ensure footnote
10701 definition will be inserted at the end of the section
10702 corresponding to to its first reference.
10704 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10706 * org-footnote.el (org-footnote-at-definition-p): Make sure to
10707 move point at the beginning of the separator before skiping white
10708 spaces. Refactor code.
10710 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10712 * ob-exp.el (org-babel-exp-src-block): Strip noweb references on
10713 export when "strip-export".
10715 * ob.el (org-babel-common-header-args-w-values): New noweb
10717 (org-babel-merge-params): New noweb header value.
10718 (org-babel-noweb-p): New noweb header value.
10720 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10722 * ob-tangle.el (org-babel-tangle-clean): Just use default value.
10724 * ob.el (org-babel-noweb-wrap): Add default value.
10725 (org-babel-expand-noweb-references): Just use default value.
10727 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10729 * org-exp.el (org-export-select-backend-specific-text): Always
10730 preserve original indentation as a text property so that lists do
10731 not get broken by indentation at column 0.
10733 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10735 * ob.el (org-babel-expand-noweb-references): Don't allow newlines
10736 in source names in noweb references.
10738 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10740 * org.el (org-fill-line-break-nobreak-p): New function.
10741 (org-set-autofill-regexps): Add previous function to
10742 `fill-nobreak-predicate'.
10744 2012-04-01 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
10746 * ob-R.el (org-babel-R-evaluate-session): Inhibit R evaluation
10747 visibility regardless of local user customization.
10749 2012-04-01 Carsten Dominik <carsten.dominik@gmail.com>
10751 * org-inlinetask.el (org-inlinetask-show-first-star): New option.
10752 (org-inlinetask-fontify): Honor `org-inlinetask-show-first-star'.
10754 * org-indent.el (org-indent-set-line-properties):
10755 Honor `org-inlinetask-show-first-star'.
10757 2012-04-01 Bastien Guerry <bzg@gnu.org>
10759 * org.el (org-set-regexps-and-options): Ensure `org-drawers'
10760 doesn't contain duplicates.
10762 2012-04-01 Bastien Guerry <bzg@gnu.org>
10764 * org.el (org-at-drawer-p): Normalize the docstring to match other
10765 `org-at-*-p' docstrings.
10766 (org-indent-block, org-indent-drawer, org-at-block-p):
10768 (org-metaright): Use the new functions to indent a drawer or a
10769 block depending on the context. Also update the docstring.
10771 2012-04-01 Bastien Guerry <bzg@gnu.org>
10773 * org.el (org-set-regexps-and-options): Set the value of
10774 `org-drawers' by adding the value of the infile #+DRAWERS option
10775 to that of the existing `org-drawers'.
10777 2012-04-01 Bastien Guerry <bzg@gnu.org>
10779 * org.el (org-cycle-internal-local): Fix bug: hide drawers in
10782 2012-04-01 Bastien Guerry <bzg@gnu.org>
10784 * org-inlinetask.el (org-inlinetask-toggle-visibility):
10785 Use `org-show-entry' instead of `outline-flag-region' to keep the
10786 drawers folded when unfolding an inline task.
10788 2012-04-01 Torsten Anders <torsten.anders@beds.ac.uk> (tiny change)
10790 * org-beamer.el (org-beamer-environments-default): Add support and
10791 keybinding for the `exampleblock' environment.
10793 2012-04-01 Michael Brand <michael.ch.brand@gmail.com>
10795 * org.el (org-open-link-from-string): Regard `reference-buffer'
10796 when setting `org-inhibit-startup'.
10798 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10800 * ob-exp.el (org-babel-exp-non-block-elements): Don't insert extra
10801 space between inline src block and results on export.
10803 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10805 * ob.el (org-babel-get-inline-src-block-matches): Allow *any*
10806 punctuation to proceed an inline src block.
10808 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10810 * ob.el (org-babel-get-inline-src-block-matches): Add ( to the
10811 list of characters allowed to proceed an inline src block.
10813 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10815 * ob-tangle.el (org-babel-tangle-clean): Use the customizable
10818 * ob.el (org-babel-noweb-wrap-start): Begin a noweb reference.
10819 (org-babel-noweb-wrap-end): End a noweb reference.
10820 (org-babel-noweb-wrap): Apply the customizable noweb wrappers.
10821 (org-babel-expand-noweb-references): Use the customizable noweb
10824 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10826 * org.el (org-beginning-of-line): Handle case when there's no
10827 character after box.
10829 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10831 * org-odt.el (org-odt-format-preamble): Don't insert TOC here.
10832 Delay it till the end of export.
10833 (org-odt-begin-document-body): Make a note of the default
10834 position of TOC in `org-lparse-dyn-first-heading-pos'.
10835 (org-odt-insert-toc): Insert TOC as directed by
10836 [TABLE-OF-CONTENTS] line or at the default position.
10837 (org-odt-end-export): Call `org-odt-insert-toc'.
10839 2012-04-01 Bastien Guerry <bzg@gnu.org>
10841 * org.el (org-preview-latex-fragment): Throw an error when called
10842 from a non-file buffer.
10844 2012-04-01 Bastien Guerry <bzg@gnu.org>
10846 * org.el (org-insert-property-drawer): Not an interactive
10848 (org-insert-drawer): With a prefix argument, insert a property
10849 drawer. Check for headline within the region before inserting the
10850 drawer. Don't include special drawers in the completion table.
10851 (org-mode-map): New keybinding `C-c C-x d' for
10852 `org-insert-drawer'.
10854 2012-04-01 Bastien Guerry <bzg@gnu.org>
10856 * org.el (org-insert-drawer): Support completion over known drawer
10857 names and inserting a drawer around the current region.
10859 2012-04-01 Bastien Guerry <bzg@gnu.org>
10861 * org.el (org-insert-drawer): New function.
10862 (org-insert-property-drawer): Use it.
10864 2012-04-01 Bastien Guerry <bzg@gnu.org>
10866 * org-list.el (org-mark-list): New function.
10868 2012-04-01 Bastien Guerry <bzg@gnu.org>
10870 * org-pcomplete.el (pcomplete/org-mode/drawer): New function to
10871 complete drawer at point.
10872 (org-thing-at-point): Use it.
10874 2012-04-01 Bastien Guerry <bzg@gnu.org>
10876 * org.el (org-meta-return): Use `newline-and-indent' when in a
10879 2012-04-01 Bastien Guerry <bzg@gnu.org>
10881 * org.el (org-structure-template-alist): Fix docstring: the
10882 feature is not experimental anymore.
10884 2012-04-01 Bastien Guerry <bzg@gnu.org>
10886 * org-agenda.el (org-agenda-show-and-scroll-up): Allow `C-u' to
10887 display the item without unfolding drawers and logbooks.
10889 2012-04-01 Bastien Guerry <bzg@gnu.org>
10891 * org-src.el (org-edit-src-code): Make sure `buffer-file-name' is
10894 2012-04-01 Bastien Guerry <bzg@gnu.org>
10896 * org.el (org-structure-template-alist): Fix missing angle
10897 brackets for muse export style.
10899 2012-04-01 Bastien Guerry <bzg@gnu.org>
10901 * org.el (org-read-date): New parameter `inactive' when reading
10902 for insertion of inactive timestamps.
10903 (org-time-stamp, org-read-date-display): Use the new
10906 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10908 * ob.el (org-babel-expand-noweb-references): Only allow
10909 reference names which start and end with non-whitespace characters.
10910 Also, raise errors as appropriate given org-babel-noweb-error-langs.
10912 2012-04-01 Bastien Guerry <bzg@gnu.org>
10914 * org-src.el (org-src-in-org-buffer): Save and restore
10915 `buffer-undo-list' after editing.
10917 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10919 * ob.el (org-babel-common-header-args-w-values): Add new header
10921 (org-babel-expand-noweb-references): Use header argument rather than
10922 customization variable.
10924 2012-04-01 David Maus <dmaus@ictsoc.de>
10926 * org-capture.el (org-capture-place-item): Don't search for
10927 position in existing list if :exact-position was supplied.
10929 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10931 * ob.el (org-babel-noweb-separator): Custom variable for
10932 accumulated noweb references.
10933 (org-babel-expand-noweb-references): Allow separator for noweb
10936 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
10938 * org.el (org-beginning-of-line): In an item, special position
10939 for C-a is after check-box, if any.
10940 (org-special-ctrl-a/e): Modify doc-string accordingly.
10942 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10944 * org-odt.el (org-export-odt-format-formula): Use :style
10945 property to specify custom table styles.
10947 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10949 * ob-exp.el (org-babel-exp-call-line-template): Control export of
10950 additional call line information.
10951 (org-babel-exp-non-block-elements): Fancier call line export.
10953 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10955 * org-odt.el (org-odt-entity-frame-styles): Add frame params
10956 for images that are anchored as character.
10957 (org-export-odt-format-image): Handle new anchor type
10959 (org-export-odt-default-image-sizes-alist): Misc. change.
10960 (org-export-odt-format-formula): Misc. change.
10962 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10964 * ob.el (org-babel-check-src-block): Don't report valid header
10965 arguments as suspicious.
10967 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10969 * ob-exp.el (org-babel-exp-non-block-elements): Map over both
10970 inline src blocks and call lines on export.
10972 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10974 * org-odt.el (org-odt-label-styles): Add a new style.
10975 (org-odt-category-map-alist): Use it.
10977 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
10979 * org-odt.el (org-odt-table-style-format): New. Template for
10980 auto-generated table styles.
10981 (org-odt-automatic-styles, org-odt-object-counters):
10983 (org-odt-add-automatic-style): New function.
10984 (org-odt-write-automatic-styles): New function.
10985 Create automatic styles for tables that have custom :rel-width.
10986 (org-odt-begin-table): Parse attributes specified with
10987 "#+ATTR_ODT: " option and use it to create an automatic table
10989 (org-odt-save-as-outfile):
10990 Call `org-odt-add-write-automatic-styles'.
10991 (org-odt-init-outfile): Init newly add variables.
10992 (org-odt-section-count): Remove it.
10993 (org-odt-begin-section): Use `org-odt-add-automatic-style' to
10994 generate an automatic section name.
10996 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
10998 * ob.el (org-babel-map-executables): Correctly position point when
10999 mapping hits an inline code block.
11001 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11003 * ob.el (org-babel-execute-src-block): Ensure params are
11004 incorporated *before* checking if evaluation is legal.
11006 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11008 * ob-exp.el (org-babel-exp-lob-one-liners): Ensure `end' is a
11009 marker so it is updated as required during export.
11011 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11013 * org-src.el (org-src-in-org-buffer): Run commands in the parent
11015 (org-edit-src-save): Use new macro.
11016 (org-src-tangle): Tangle the parent buffer.
11018 2012-04-01 Bastien Guerry <bzg@gnu.org>
11020 * org.el (org-set-font-lock-defaults): Fix bug in done
11021 headline fontification.
11023 2012-04-01 Bastien Guerry <bzg@gnu.org>
11025 * org.el (org-set-font-lock-defaults): Fix bug in done
11026 headline fontification.
11028 2012-04-01 Bastien Guerry <bzg@gnu.org>
11030 * org.el (org-return): Act normally when in code blocks.
11032 2012-04-01 Bastien Guerry <bzg@gnu.org>
11034 * org.el (org-in-src-block-p): New function.
11035 (org-context): Return new contexts :clocktable and :src-block.
11037 2012-04-01 Bastien Guerry <bzg@gnu.org>
11039 * org.el (org-set-tags-command, org-set-tags): Make ̀C-u C-c
11040 C-q' do the right thing even when point is before the first
11043 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11045 * ob.el (org-babel-noweb-p): Disambiguate intersection name.
11047 2012-04-01 Jambunathan K <kjambunathan@gmail.com>
11049 * org-odt.el (org-odt-format-textbox): Honor user-specified
11050 width in captioned images.
11052 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11054 * ob.el (org-babel-map-src-blocks): Replace gensym with make-symbol.
11055 (org-babel-map-inline-src-blocks): Replace gensym with make-symbol.
11056 (org-babel-map-call-lines): Replace gensym with make-symbol.
11057 (org-babel-map-executables): Replace gensym with make-symbol.
11059 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11061 * ob-exp.el (org-babel-exp-results): Alter a copy of info.
11063 2012-04-01 Bastien Guerry <bzg@gnu.org>
11065 * org-html.el (org-export-as-html):
11066 Initialize `html-pre-real-contents' correctly.
11068 2012-04-01 Bastien Guerry <bzg@gnu.org>
11070 * org-html.el (org-export-as-html):
11071 Initialize `html-pre-real-contents' correctly.
11073 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11075 * ob-exp.el (org-babel-exp-code): Ensure code block name is a
11078 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11080 * ob-exp.el (org-babel-exp-code-template): Customizable code
11081 block export format string.
11082 (org-babel-exp-code): Customizable code block export.
11084 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11086 * ob-clojure.el (org-babel-execute:clojure): Remove dependency
11087 on deprecated swank-clojure.
11089 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11091 * ob.el (org-babel-map-src-blocks): Don't pollute symbol space.
11092 (org-babel-map-inline-src-blocks): Don't pollute symbol space.
11093 (org-babel-map-call-lines): Don't pollute symbol space.
11094 (org-babel-map-executables): Map over *all* executable Org-mode
11096 (org-babel-execute-buffer): Execute elements in buffer order instead
11099 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11101 * org.el (org-ctrl-c-ctrl-c): Fix a naive structure backup.
11102 Those must be done with `copy-tree'.
11104 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11106 * org-src.el (org-edit-src-code): Referenced code block should
11107 not be evaluated on code block edit.
11109 2012-04-01 Bastien Guerry <bzg@gnu.org>
11111 * org.el (org-structure-template-alist): Use uppercase for
11114 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11116 * ob.el (org-babel-insert-result): Capitalize RESULTS in :wrap'd
11117 code block results.
11119 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11121 * ob.el (org-babel-results-keyword): New user-configurable
11123 (org-babel-where-is-src-block-result): Use new user-configurable
11126 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11128 * org-indent.el (org-indent-refresh-maybe): Check for new
11129 headlines from the beginning of the line to be sure to catch
11130 any newly inserted headline there.
11132 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11134 * ob-exp.el (org-babel-exp-src-block): Use `org-babel-noweb-p'.
11135 (org-babel-exp-inline-src-blocks): Use `org-babel-noweb-p'.
11137 * ob-tangle.el (org-babel-tangle-collect-blocks):
11138 Use `org-babel-noweb-p'.
11140 * ob.el (org-babel-execute-src-block): Use `org-babel-noweb-p'.
11141 (org-babel-expand-src-block): Use `org-babel-noweb-p'.
11142 (org-babel-load-in-session): Use `org-babel-noweb-p'.
11143 (org-babel-merge-params): Use `org-babel-noweb-p'.
11144 (org-babel-noweb-p): New function used to determine if noweb
11145 expansion should be carried out in a given context.
11147 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11149 * org.el (org-update-property-plist): Fix bug in property list
11152 2012-04-01 François Pinard <pinard@iro.umontreal.ca> (tiny change)
11154 * org.el (org-kill-line): Use `kill-visual-line' in
11155 `visual-line-mode'.
11157 2012-04-01 Bernt Hansen <bernt@norang.ca>
11159 * org-agenda.el (org-agenda-switch-to): Widen org buffer only if point
11160 is outside the current restriction.
11162 2012-04-01 Bernt Hansen <bernt@norang.ca>
11164 * org-agenda.el (org-agenda-clock-in): Save restriction when clocking
11165 in from the agenda.
11167 2012-04-01 Bernt Hansen <bernt@norang.ca>
11169 * org.el: Honor existing restrictions when regenerating the agenda.
11171 2012-04-01 Bastien Guerry <bzg@gnu.org>
11173 * org-agenda.el: New alias for `list-diary-entries-hook'.
11175 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11177 * ob.el (org-babel-common-header-args-w-values): Add the new
11178 header argument name.
11179 (org-babel-insert-result): Respect the value of the :wrap header
11180 argument when inserting results.
11181 (org-babel-result-end): Find the end of arbitrarily named result
11184 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com>
11186 * org-indent.el (org-indent-refresh-maybe): Check for new
11187 headlines from the beginning of the line to be sure to catch
11188 any newly inserted headline there.
11190 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11192 * org.el (org-update-property-plist): Remove old instances of
11193 property when adding a new value for property.
11195 2012-04-01 Martyn Jago <martyn.jago@btinternet.com>
11197 * ob-emacs-lisp.el: A comment on the last line of an emacs-lisp
11198 code block would cause an error when the block is was executed.
11199 This fix cures this behavior.
11201 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11203 * ob.el (org-babel-expand-noweb-references): Resurrect dropped
11204 pieces of a previous patch.
11206 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11208 * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
11210 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11212 * ob.el (org-babel-expand-noweb-references): Resurrect dropped
11213 pieces of a previous patch.
11215 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11217 * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
11219 2012-04-01 Bastien Guerry <bzg@gnu.org>
11221 * org-eshell.el (org-eshell-open): Use (goto-char (point-max))
11222 instead of (end-of-buffer).
11224 2012-04-01 Bastien Guerry <bzg@gnu.org>
11226 * org-bbdb.el (name): Declare variable.
11227 (bbdb-record-get-field, bbdb-search-name)
11228 (bbdb-search-organization): Declare as part of ext:bbdb.
11230 2012-04-01 Bastien Guerry <bzg@gnu.org>
11232 * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
11233 instead of the obsolete `org-agenda-filter'.
11235 2012-04-01 Bastien Guerry <bzg@gnu.org>
11237 * org-agenda.el: Add an alias for `org-agenda-filter'.
11238 (diary-list-entries-hook): Use the non-obsolete hook.
11239 (org-agenda-filter-apply): Silent compiler warning.
11241 2012-04-01 Bastien Guerry <bzg@gnu.org>
11243 * ob-ditaa.el (org-ditaa-jar-path): Make a defcustom.
11244 (org-ditaa-jar-option): New option.
11245 (org-babel-execute:ditaa): Use it.
11247 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11249 * ob.el (org-babel-balanced-split): Explicit checking if list
11250 before calling member.
11252 2012-04-01 Eric Schulte <eric.schulte@gmx.com>
11254 * ob.el (org-babel-balanced-split): Explicit checking if list
11255 before calling member.
11257 2012-02-14 Chong Yidong <cyd@gnu.org>
11259 * org-footnote.el: Remove bogus defvar values (Bug#10745).
11261 2012-01-05 Eric Schulte <eric.schulte@gmx.com>
11263 * ob.el (org-babel-expand-noweb-references): Resurrect dropped
11264 pieces of a previous patch.
11266 * ob-maxima.el (org-babel-execute:maxima): Fix compiler warning.
11268 2012-01-05 Bastien Guerry <bzg@gnu.org>
11270 * org-eshell.el (org-eshell-open): Use (goto-char (point-max))
11271 instead of (end-of-buffer).
11273 * org-bbdb.el (name): Declare variable.
11274 (bbdb-record-get-field, bbdb-search-name)
11275 (bbdb-search-organization): Declare as part of ext:bbdb.
11277 * org-agenda.el: Add an alias for `org-agenda-filter'.
11278 (diary-list-entries-hook): Use the non-obsolete hook.
11279 (org-agenda-filter-apply): Silent compiler warnings.
11281 * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'
11282 instead of the obsolete `org-agenda-filter'.
11284 2012-01-03 Bastien Guerry <bzg@gnu.org>
11286 * org.el (org-ctrl-c-ctrl-c): Preserve symmetry when adding
11287 and removing checkboxes with `C-u C-c C-c' on the first item
11288 of a list. Also, don't reinitialize checkboxes that are
11291 2012-01-03 Bastien Guerry <bzg@gnu.org>
11293 * org.el (org-ts-regexp0, org-ts-regexp1): Also match a time
11294 value with only one digit for the hours.
11296 2012-01-03 Bastien Guerry <bzg@gnu.org>
11298 * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
11299 Remove deleted function `org-encode-for-stdout'.
11301 2012-01-03 Bastien Guerry <bzg@gnu.org>
11303 * org.el (org-show-context): Complete docstring.
11305 2012-01-03 Bastien Guerry <bzg@gnu.org>
11307 * org-agenda.el (org-agenda-filter-by-tag):
11308 Use `read-char-exclusive' instead of `read-char'.
11310 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
11312 * org-clock.el (org-clock-in, org-clock-find-position):
11313 Remove erraneous space in regexp.
11315 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
11317 * ob.el (org-babel-expand-noweb-references): Rather than using
11318 a pure regexp solution to resolve noweb references, actually
11319 check the information of every code block in the buffer.
11320 This will cause a slowdown in noweb reference expansion, but is
11321 necessary for correct behavior.
11323 2012-01-03 Bastien Guerry <bzg@gnu.org>
11325 * org.el (org-map-continue-from): Fix typo in docstring.
11327 2012-01-03 Bastien Guerry <bzg@gnu.org>
11329 * org.el (org-property-re): Also match cumulating properties
11332 2012-01-03 Bastien Guerry <bzg@gnu.org>
11334 * org-exp-blocks.el (org-export-blocks-preprocess): Fix regexp for
11335 matching the end of a block.
11337 2012-01-03 David Maus <dmaus@ictsoc.de>
11339 * org.el (org-open-at-point): Escape link path for http:,
11340 https:, ftp:, news:, and doi: links only if the path contains
11341 space or non-ascii character.
11343 2012-01-03 David Maus <dmaus@ictsoc.de>
11345 * org.el (org-refile-get-targets): Ignore headlines without a
11348 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
11350 * ob.el (org-babel-map-call-lines): Move this file from
11351 ob-lob.el into ob.el to ease dependency pains.
11353 2012-01-03 Bastien Guerry <bzg@gnu.org>
11355 * org-publish.el (org-publish-index-generate-theindex):
11356 Use theindex.inc for storing index entries, and theindex.org for
11357 including theindex.inc.
11359 2012-01-03 Bastien Guerry <bzg@gnu.org>
11361 * org-publish.el (org-publish-index-generate-theindex):
11362 Create proper file target for index entries in subdirectories.
11364 2012-01-03 Bastien Guerry <bzg@gnu.org>
11366 * org-protocol.el (org-protocol-check-filename-for-protocol):
11367 Fix spelling mistake.
11369 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
11371 * org-odt.el (org-export-odt-default-org-styles-alist): Add styles
11372 for title and subtitle.
11373 (org-odt-format-toc): New.
11374 (org-odt-format-preamble): New. Users can redefine this to
11375 customize what goes before the document body. Currently it
11376 outputs title, author and email, date and toc.
11377 (org-odt-begin-document-body): Use `org-odt-format-preamble'.
11378 (org-odt-format-date): Rename from
11379 `org-odt-iso-date-from-org-timestamp'. Also added an
11380 additional param for format string.
11381 (org-odt-begin-annotation, org-odt-update-meta-file):
11382 Use `org-odt-format-date'.
11384 2012-01-03 Bastien Guerry <bzg@gnu.org>
11386 * org.el (org-at-drawer-p): New function.
11387 (org-end-of-line): Use it.
11389 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
11391 * ob.el (*org-babel-use-quick-and-dirty-noweb-expansion*):
11392 Controls the method in which noweb references are expanded.
11393 (org-babel-expand-noweb-references): Bring back the option for
11394 regexp-based noweb expansion.
11396 2012-01-03 Bastien Guerry <bzg@gnu.org>
11398 * org.el (org-ts-regexp0, org-ts-regexp1): Also match a time value
11399 with only one digit for the hours.
11401 2012-01-03 Bastien Guerry <bzg@gnu.org>
11403 * org.el (org-ctrl-c-ctrl-c): Don't make `C-c C-c' special
11404 when ticking the checkbox of the first item.
11406 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
11408 * org-list.el (org-list-write-struct): Add an optional
11409 argument for structure changes happening outside the function.
11411 * org.el (org-ctrl-c-ctrl-c): Now, `C-u C-c C-c' on the first
11412 item of a sub-list should toggle check-box presence of every
11413 item in the same sub-list. Also fix check-box insertion on a
11416 2012-01-03 Bastien Guerry <bzg@gnu.org>
11418 * org-agenda.el (org-agenda-filter-preset): New alias.
11419 (org-agenda-filter-by-category): New command.
11420 (org-agenda-mode-map): Add the new command.
11421 (org-agenda-custom-commands-local-options): Add category
11423 (org-agenda-mark-filtered-text): Mark both tag and filter
11425 (org-agenda-category-filter-preset): New variable.
11426 (org-finalize-agenda, org-agenda-redo)
11427 (org-agenda-filter-make-matcher, org-agenda-filter-apply):
11428 Handle both category and tag filters.
11429 (org-agenda-filter-show-all-tag): Rename from
11430 `org-agenda-filter-by-tag-show-all'.
11431 (org-agenda-filter-show-all-cat): New function.
11432 (org-agenda-set-mode-name): Show the category filter in the
11435 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
11437 * org-bbdb.el (org-bbdb-old): New variable.
11438 (org-bbdb-store-link, org-bbdb-open): Check for
11440 (org-bbdb-open-old, org-bbdb-open-new): New functions.
11442 2012-01-03 Bastien Guerry <bzg@gnu.org>
11444 * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
11445 Remove deleted function `org-encode-for-stdout'.
11447 2012-01-03 Bastien Guerry <bzg@gnu.org>
11449 * org.el (org-check-dates-range): New command.
11450 (org-sparse-tree): Use it.
11452 2012-01-03 Bastien Guerry <bzg@gnu.org>
11454 * org-agenda.el (org-agenda-write): Rename from
11455 `org-write-agenda'.
11456 (org-agenda-mode-map, org-agenda-menu)
11457 (org-batch-store-agenda-views): Use new name
11458 `org-agenda-write'.
11460 2012-01-03 Bastien Guerry <bzg@gnu.org>
11462 * org.el (org-loop-over-headlines-in-active-region):
11464 (org-todo, org-deadline, org-schedule): Honor the 'start-level
11465 value of `org-loop-over-headlines-in-active-region'.
11467 2012-01-03 Bastien Guerry <bzg@gnu.org>
11469 * org-archive.el (org-archive-subtree)
11470 (org-archive-to-archive-sibling, org-toggle-archive-tag):
11471 Bugfix: use 'region-start-level.
11473 2012-01-03 Bastien Guerry <bzg@gnu.org>
11475 * org.el (org-show-context): Complete docstring.
11477 2012-01-03 Bastien Guerry <bzg@gnu.org>
11479 * org-agenda.el (org-agenda-filter-by-tag):
11480 Use `read-char-exclusive' instead of `read-char'.
11482 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
11484 * org.el (org-scan-tags): Make sure `org-map-continue-from' is
11487 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
11489 * org-clock.el (org-clock-in, org-clock-find-position):
11490 Remove erraneous space in regexp.
11492 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
11494 * org-odt.el (org-odt-lib-dir): Add docstring.
11495 (org-odt-data-dir): New variable. Use this variable to
11496 control the locations from which the ODT exporter picks the
11497 OpenDocument styles and schema files from. Set this variable
11498 explicitly only if the in-built heuristics for locating the
11500 (org-odt-styles-dir-list, org-odt-schema-dir-list):
11501 New variables. Pay specific attention to (eval-when-compile ...)
11502 form through which Makefile's $(datadir) - contained in
11503 `org-odt-data-dir' - gets compiled in as a "hard coded"
11505 (org-odt-styles-dir, org-export-odt-schema-dir): Add messages to
11508 2012-01-03 Bastien Guerry <bzg@gnu.org>
11510 * org-archive.el (org-archive-subtree)
11511 (org-archive-to-archive-sibling, org-toggle-archive-tag)
11512 (org-archive-set-tag): Handle the 'start-level value for
11513 `org-loop-over-headlines-in-active-region'.
11515 2012-01-03 Bastien Guerry <bzg@gnu.org>
11517 * org.el (org-scan-tags): New parameter `start-level' to scan only
11518 through headlines of that level.
11519 (org-map-entries): New allowed value `region-start-level' for
11520 the `scope' parameter, to allow scanning through headlines of
11521 the same level than the first headline in the region.
11522 (org-loop-over-headlines-in-active-region): New allowed value
11525 2012-01-03 Bastien Guerry <bzg@gnu.org>
11527 * org-archive.el (org-archive-subtree)
11528 (org-archive-to-archive-sibling, org-archive-set-tag)
11529 (org-toggle-archive-tag): Allow to loop over the active region by
11530 using `org-loop-over-headlines-in-active-region'.
11532 2012-01-03 Bastien Guerry <bzg@gnu.org>
11534 * org.el (org-todo): Allow to loop over the active region by
11535 using `org-loop-over-headlines-in-active-region'.
11537 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
11539 * ob.el (org-babel-expand-noweb-references): Rather than using
11540 a pure regexp solution to resolve noweb references, actually
11541 check the information of every code block in the buffer.
11542 This will cause a slowdown in noweb reference expansion, but is
11543 necessary for correct behavior.
11545 2012-01-03 Bastien Guerry <bzg@gnu.org>
11547 * org.el (org-map-continue-from): Fix typo in docstring.
11549 2012-01-03 Bastien Guerry <bzg@gnu.org>
11551 * org-agenda.el (org-agenda-write-buffer-name): New variable.
11552 (org-write-agenda): Use it.
11554 2012-01-03 Bastien Guerry <bzg@gnu.org>
11556 * org-exp.el (org-export-date-timestamp-format): New option to
11557 define the way a timestamp in #+DATE will be exported.
11558 (org-infile-export-plist): Use the new option.
11560 2012-01-03 Bastien Guerry <bzg@gnu.org>
11562 * org.el (org-property-re): Also match cumulating properties
11565 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
11567 * org-odt.el (org-odt-styles-dir): Assume that the styles
11568 files are located under `data-directory' of Emacs distribution
11569 as etc/org/OrgOdtStyles.xml and
11570 etc/org/OrgOdtContentTemplate.xml. Also update docstring.
11571 (org-export-odt-schema-dir): Update docstring.
11573 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
11575 * org-odt.el (org-odt-format-preamble): Honor following user
11576 options: author, timestamp and email.
11578 2012-01-03 Bastien Guerry <bzg@gnu.org>
11580 * org-exp-blocks.el (org-export-blocks-preprocess): Fix regexp
11581 for matching the end of a block.
11583 2012-01-03 Bastien Guerry <bzg@gnu.org>
11585 * org-eshell.el: New file.
11587 2012-01-03 David Maus <dmaus@ictsoc.de>
11589 * org.el (org-open-at-point): Escape link path for http:,
11590 https:, ftp:, news:, and doi: links only if the path contains
11591 space or non-ascii character.
11593 2012-01-03 Bastien Guerry <bzg@gnu.org>
11595 * org-beamer.el (org-beamer-fragile-re): Also recognize
11596 \lstinline and \verb as commands that make a frame fragile.
11598 2012-01-03 David Maus <dmaus@ictsoc.de>
11600 * org.el (org-refile-get-targets): Ignore headlines without a
11603 2012-01-03 Litvinov Sergey <slitvinov@gmail.com>
11605 * ob-octave.el: Add graphical output to png file.
11607 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
11609 * ob.el (org-babel-map-call-lines): Move this file from
11610 ob-lob.el into ob.el to ease dependency pains.
11612 2012-01-03 Bastien Guerry <bzg@gnu.org>
11614 * org-publish.el (org-publish-index-generate-theindex):
11615 Use theindex.inc for storing index entries, and theindex.org for
11616 including theindex.inc.
11618 2012-01-03 Bastien Guerry <bzg@gnu.org>
11620 * org-publish.el (org-publish-index-generate-theindex):
11621 Create proper file target for index entries in subdirectories.
11623 2012-01-03 Bastien Guerry <bzg@gnu.org>
11625 * org-protocol.el (org-protocol-check-filename-for-protocol):
11626 Fix spelling mistake.
11628 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
11630 * org-odt.el (org-export-odt-default-org-styles-alist):
11631 Add styles for title and subtitle.
11632 (org-odt-format-toc): New.
11633 (org-odt-format-preamble): New. Users can redefine this to
11634 customize what goes before the document body. Currently it
11635 outputs title, author and email, date and toc.
11636 (org-odt-begin-document-body): Use `org-odt-format-preamble'.
11637 (org-odt-format-date): Rename from
11638 `org-odt-iso-date-from-org-timestamp'. Also added an
11639 additional param for format string.
11640 (org-odt-begin-annotation, org-odt-update-meta-file):
11641 Use `org-odt-format-date'.
11643 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
11645 * ob-ref.el (org-babel-ref-split-args): Now uses
11646 `org-babel-balanced-split'.
11648 2012-01-03 Bastien Guerry <bzg@gnu.org>
11650 * org-html.el (org-export-html-preamble)
11651 (org-export-html-postamble): Fix docstrings.
11652 (org-export-as-html): Insert the string used by a custom
11653 function for `org-export-html-pre/postamble'.
11655 2012-01-03 Bastien Guerry <bzg@gnu.org>
11657 * org.el (org-block-regexp)
11658 (org-heading-keyword-regexp-format)
11659 (org-heading-keyword-maybe-regexp-format): Move up to keep the
11660 byte-compiler happy.
11662 2012-01-03 Dave Abrahams <dave@boostpro.com> (tiny change)
11664 * org-agenda.el (org-agenda-do-tree-to-indirect-buffer):
11666 (org-agenda-tree-to-indirect-buffer): Use the new function.
11668 2012-01-03 Bastien Guerry <bzg@gnu.org>
11670 * org-html.el (org-export-as-html): Fix bug when inserting the
11671 output of a custom function for the pre/postamble.
11673 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
11675 * org-odt.el (org-odt-format-source-code-or-example):
11676 Try loading htmlfontify safely.
11678 2012-01-03 Bastien Guerry <bzg@gnu.org>
11680 * org-odt.el (require): Require htmlfontify.el only if
11681 emacs-version is greater than 23.2.
11683 2012-01-03 Bastien Guerry <bzg@gnu.org>
11685 * org-faces.el (org-agenda-calendar-event)
11686 (org-agenda-calendar-sexp): Use the default face.
11688 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
11690 * ob.el (org-babel-expand-noweb-references): Fix regexp.
11692 2012-01-03 Michael Brand <michael.ch.brand@gmail.com>
11694 * org.el (Key bindings): Remap the Outline functions from
11695 `outline-mode-prefix-map' where possible.
11697 2012-01-03 Christian Moe <mail@christianmoe.com> (tiny change)
11699 * org-html.el (org-export-as-html):
11700 Apply `org-export-html-get-todo-kwd-class-name' to the class
11701 attribute of the todo-keyword span tag, not to its text
11704 2012-01-03 Sebastien Vauban <sva@mygooglest.com>
11706 * org-agenda.el (org-agenda-get-timestamps)
11707 (org-agenda-get-sexps): Use face for highlighting "calendar"
11710 2012-01-03 Peter Münster <pmlists@free.fr> (tiny change)
11712 * org.el (org-add-planning-info): Treat absolute time too.
11714 2012-01-03 Bastien Guerry <bzg@gnu.org>
11716 * org-table.el (org-table-transpose-table-at-point): Don't use
11719 2012-01-03 Dave Abrahams <dave@boostpro.com> (tiny change)
11721 * org-clock.el (org-clock-out-if-current): Check the clock
11722 buffer is existing.
11724 2012-01-03 Bernt Hansen <bernt@norang.ca>
11726 * org-clock.el (org-clock-out-if-current): Fix marker in no
11727 buffer error for task state change in an indirect buffer.
11729 2012-01-03 Michael Brand <michael.ch.brand@gmail.com>
11731 * org.el (org-offer-links-in-entry): Make list when assigning
11734 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
11736 * ob.el (org-babel-expand-noweb-references): Rather than
11737 collect the info from *every* block in the current buffer,
11738 simply regexp search for those blocks which appear to match
11739 the continued source name.
11741 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
11743 * ob.el (org-babel-insert-result): Do not examplize wrapped
11744 scalar results, simply wrap them.
11745 (org-babel-result-end): Find the end of results wrapped in a
11748 2012-01-03 Bastien Guerry <bzg@gnu.org>
11750 * org.el (org-todo-yesterday): When called from the agenda,
11751 use `org-agenda-todo-yesterday' instead.
11753 2012-01-03 Bastien Guerry <bzg@gnu.org>
11755 * org-table.el (org-table-transpose-table-at-point): New command.
11757 2012-01-03 Bastien Guerry <bzg@gnu.org>
11759 * org-html.el (org-export-html-headline-anchor-format):
11761 (org-html-level-start): Use the new option.
11763 2012-01-03 Rob Giardina <rob@giardina.us> (tiny change)
11765 * org-agenda.el (org-agenda-with-point-at-orig-entry):
11768 2012-01-03 Christian Moe <mail@christianmoe.com> (tiny change)
11770 * org-special-blocks.el
11771 (org-special-blocks-convert-html-special-cookies):
11772 Close paragraph before opening or closing the <div>, and open
11773 paragraph after. Also changed newline placement to be the same
11774 as for other blocks.
11776 2012-01-03 Roberto Huelga <rhuelga@gmail.com>
11778 * org-clock.el (org-program-exists): Make the function
11779 compatible with darwin systems.
11781 2012-01-03 David Maus <dmaus@ictsoc.de>
11783 * org-exp.el (org-export-normalize-links): Mark bracket links
11784 before normalization to avoid erroneous normalization of
11785 bracket link parts.
11787 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
11789 * org-odt.el (org-odt-data-dir): Remove.
11790 (org-odt-styles-dir, org-export-odt-schema-dir):
11793 * org-odt.el, org-lparse.el: New files.
11795 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
11797 * org-capture.el (org-capture-set-target-location): Set the
11798 capture default time also to the prompt time.
11800 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
11802 * org-exp.el (org-export-res/src-name-cleanup): Remove #+name
11803 and #+results lines during preprocess.
11805 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
11807 * ob-picolisp.el (ob-comint): Required.
11808 (comint): Required.
11810 (run-picolisp): Declared.
11811 (org-babel-execute:picolisp): Capture free variable, and replace
11812 function from cl-extra with core function.
11814 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
11816 * ob-picolisp.el: New file.
11818 * org.el (org-babel-load-languages): Add Pico Lisp to the list
11819 of supported code block languages.
11821 2012-01-03 Eric Schulte <eric.schulte@gmx.com>
11823 * org-bibtex.el (org-bibtex): Now catches bibtex errors and
11824 directs the user to the location of the error.
11826 2012-01-03 Bastien Guerry <bzg@gnu.org>
11828 * org-agenda.el (org-agenda-dim-blocked-tasks): Fix typo.
11830 2012-01-03 Bastien Guerry <bzg@gnu.org>
11832 * ob.el (org-babel-execute-src-block): Fix typo.
11834 2012-01-03 Bastien Guerry <bzg@gnu.org>
11836 * org-freemind.el (org-freemind-write-mm-buffer): Fix typo.
11838 2012-01-03 Bastien Guerry <bzg@gnu.org>
11840 * org.el (org-link-unescape, org-link-unescape-compound):
11841 Fix two typos in docstrings.
11843 2012-01-03 Thomas Dye <dk@poto.local>
11845 * ob-R.el: Added tikzDevice support.
11847 2012-01-03 David Maus <dmaus@ictsoc.de>
11849 * org.el (org-clone-subtree-with-time-shift): Remove clocking
11850 information and empty drawers when preparing a clone.
11852 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
11854 * ob-exp.el: Don't add `org-exp-res/src-name-cleanup' to
11855 `org-export-blocks-postblock-hook'.
11857 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
11859 * ob.el (org-babel-hide-result-toggle): Skip over header
11860 argument lines when toggling named code block visibility.
11862 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
11864 * org-exp.el (org-export-grab-title-from-buffer):
11865 Don't license to kill text inside blocks when getting a title.
11867 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
11869 * ob.el (org-babel-confirm-evaluate): Adding support for new
11870 range of :eval header arguments.
11872 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
11874 * ob.el (org-babel-confirm-evaluate): Inhibit evaluation
11875 during export when eval is set to "non-export".
11877 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
11879 * ob-ref.el (org-babel-update-intermediate): New custom
11881 (org-babel-ref-resolve): Optionally update the in-buffer results
11882 of code blocks which are evaluated to resolve references.
11884 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
11886 * ob.el (org-babel-join-splits-near-ch): Rejoins a list of a
11887 split string when a character appears on either side of the
11889 (org-babel-parse-multiple-vars): Rejoin splits around "=" signs.
11891 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
11893 * org.el (org-reduce): Add a less functional Org-mode copy of
11894 the cl reduce function.
11896 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
11898 * org.el (org-fontify-meta-lines-and-blocks-1):
11899 Recognize "name" as a valid keyword that can preceed a block.
11901 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
11903 * ob-exp.el (org-babel-exp-lob-one-liners): Don't limit
11904 in-verbatim check to inline code blocks, do lob code blocks as
11907 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
11909 * org.el (org-todo): Interpret 0 prefix arg as note inhibitor.
11911 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
11913 * ob.el (org-babel-named-src-block-regexp-for-name):
11914 Ensure that partial names are not matched.
11915 (org-babel-named-data-regexp-for-name): Ensure that partial names
11918 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
11920 * ob-ref.el (org-babel-ref-resolve): Search for named code
11921 blocks before named data.
11923 * ob.el (org-babel-named-data-regexp-for-name): New function for
11924 finding named data.
11926 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
11928 * ob.el (org-babel-insert-result): Gracefully handle results
11929 which are neither lists nor strings.
11931 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
11933 * ob-ref.el (org-babel-ref-resolve): Don't change location when
11934 looking at the contents.
11936 2012-01-03 Milan Zamazal <pdm@zamazal.org>
11938 * org.el (org-set-outline-overlay-data):
11939 Use outline-flag-region to make a region invisible. This ensures
11940 all necessary actions, especially adding
11941 isearch-open-invisible property, are applied.
11943 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
11945 * ob-lob.el (org-babel-in-example-or-verbatim):
11946 Fix compilation warning.
11948 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
11950 * ob.el (org-babel-find-named-result): Downcase "name" before
11953 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
11955 * ob-lisp.el (org-babel-execute:lisp): Fix typo.
11956 (org-babel-lisp-vector-to-list): Fix typo.
11958 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
11960 * ob-exp.el (org-babel-in-example-or-verbatim): Some valid
11961 execution contexts (e.g., call lines) look like commented
11964 * ob.el (org-babel-get-src-block-info): Empty match string doesn't
11966 (org-babel-process-params): Always process parameters, even if
11967 you don't to table splitting.
11969 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
11971 * ob-exp.el (org-exp-res/src-name-cleanup): Update Documentation.
11973 * ob-lob.el (org-babel-block-lob-one-liner-regexp):
11974 Update regular expression.
11975 (org-babel-inline-lob-one-liner-regexp): Update regular
11978 * ob-ref.el (org-babel-ref-resolve): Notice when something that
11979 looks like a data results may actually be a code block.
11981 * ob-table.el: Updated documentation.
11983 * ob.el (org-babel-src-name-regexp): Simplify regexp.
11984 (org-babel-get-src-block-info): Update match strings.
11985 (org-babel-data-names): Simplify acceptable names.
11986 (org-babel-find-named-block): Indentation.
11987 (org-babel-find-named-result): Update to not return a code block
11990 * org.el (org-fontify-meta-lines-and-blocks-1):
11991 Removing references to old syntactic elements.
11992 (org-additional-option-like-keywords): Removing references to
11993 old syntactic elements.
11995 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
11997 * org-agenda.el (org-agenda-get-todos): Swap calls to `org-trim'
11998 and `buffer-substring'.
12000 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12002 * org-agenda.el (org-agenda-get-todos): Prevent an error when
12003 encountering tasks with only the TODO keyword.
12005 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12007 * org.el (org-try-cdlatex-tab): Don't try to expand a LaTeX
12008 environment when at an item or an headline, but allow LaTeX
12010 (org-cycle): Try to call `cdlatex-tab' before cycling item's or
12011 headline's visibility, in order to catch LaTeX fragments within.
12013 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12015 * org-exp-blocks.el (org-export-blocks-preprocess): Require a
12016 newline and spaces before a code block.
12018 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12020 * ob-lob.el (org-babel-map-call-lines): Allow mapping of code
12021 over all call lines in a buffer.
12023 * ob.el (org-babel-execute-buffer): Execute call lines when
12024 executing an entire buffer.
12026 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12028 * ob.el (org-babel-process-params): Don't disassemble tables
12031 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12033 * org-clock.el (org-clock-in, org-clock-find-position): Make space
12034 after date optional.
12036 * org.el (org-set-regexps-and-options)
12037 (org-ts-regexp, org-ts-regexp-both, org-ts-regexp1)
12038 (org-ctrl-c-ctrl-c): Make `C-c C-c' on date fix the time stamp.
12040 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12042 * ob-lob.el (org-babel-lob-execute-maybe): Don't execute a call
12043 inside a verbatim block.
12045 * ob-exp.el (org-babel-in-example-or-verbatim): Check for example
12048 2012-01-03 Litvinov Sergey <slitvinov@gmail.com>
12050 * ob-maxima.el (org-babel-tangle-lang-exts): Maxima extension.
12051 (org-babel-maxima-expand): Add input variables and graphic output.
12052 (org-babel-execute:maxima): Add input variables and graphic output.
12053 (org-babel-maxima-var-to-maxima): Add input variables and graphic
12055 (org-babel-maxima-graphical-output-file): Add input variables and
12057 (org-babel-maxima-elisp-to-maxima): Add input variables and graphic
12060 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12062 * ob-fortran.el: New file. Adding support for Fortran code blocks.
12063 * org.el (org-babel-load-languages): Adding fortran to this list.
12065 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12067 * org-footnote.el (org-footnote-new): Cannot insert an inline
12068 footnote at beginning of line anymore.
12069 (org-footnote-at-reference-p): Don't recognize inline footnotes at
12072 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12074 * org.el (org-set-font-lock-defaults): Fix small error in matching
12075 group that prevented fontification of keywords like
12076 org-comment-string and stars in headlines.
12078 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12080 * org.el (org-catch-invisible-edits): New option.
12081 (org-self-insert-command, org-delete-backward-char)
12082 (org-delete-char): Call `org-check-before-invisible-edit'.
12083 (org-check-before-invisible-edit): New function.
12085 2012-01-03 Suvayu Ali <fatkasuvayu+linux@gmail.com>
12087 * org-exp.el (org-solidify-link-text): Respect
12088 org-export-with-tags when forming the export title during subtree
12091 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12093 * org.el (org-heading-regexp, org-heading-keyword-regexp-format)
12094 (org-heading-keyword-maybe-regexp-format): Globalize variables so
12095 they are accessible even in buffers not in Org mode.
12097 2012-01-03 David Maus <dmaus@ictsoc.de>
12099 * org.el (org-insert-link): Don't use default-description if a
12100 `org-make-link-description-function' is defined.
12102 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12104 * org.el (org-set-regexps-and-options): Use property blocks for
12105 multi-line properties.
12107 2012-01-03 Bastien Guerry <bzg@gnu.org>
12109 * org.el (org-self-insert-command): Don't throw an error when
12110 editing takes place at the first point of the buffer.
12112 2012-01-03 Bastien Guerry <bzg@gnu.org>
12114 * org.el (org-self-insert-command): Unfold invisible region at
12115 point or right before point when editing.
12117 2012-01-03 Bastien Guerry <bzg@gnu.org>
12119 * org-faces.el (org-agenda-filter-tags): Use the 'modeline face as
12122 2012-01-03 Bastien Guerry <bzg@gnu.org>
12124 * org-html.el (org-html-expand): Prevent a nil value for STRING to
12125 return an error, just return nil.
12127 2012-01-03 Bastien Guerry <bzg@gnu.org>
12129 * org-latex.el (org-export-latex-set-initial-vars): Allow "/"
12130 character in the #+LaTeX_CLASS option.
12132 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12134 * org-footnote.el (org-footnote-at-reference-p)
12135 (org-footnote-at-definition-p): Don't store text-properties of
12136 footnote definitions.
12138 2012-01-03 Bastien Guerry <bzg@gnu.org>
12140 * org-html.el (org-export-as-html): Convert special characters in
12141 meta tag "author", "date", "keyword" and "description".
12143 2012-01-03 Bastien Guerry <bzg@gnu.org>
12145 * org-capture.el (org-capture-before-finalize-hook): Docstring
12146 improvement: mention that the buffer is widened when this hook is
12149 2012-01-03 Sebastien Vauban <sva@mygooglest.com>
12151 * org-html.el (org-export-as-html): Make sure the div for preamble
12152 is not inserted when the preamble is empty.
12154 2012-01-03 Sebastien Vauban <sva@mygooglest.com>
12156 * org-agenda.el (org-agenda-set-mode-name): Highlight tags used
12157 for filtering (shown in the mode-line).
12159 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12161 * ob.el (org-babel-parse-multiple-vars): Trimming excess white
12162 space from split variables.
12164 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12166 * org.el (org-link-search): Add an optional argument preventing
12167 function from revealing context around match.
12169 2012-01-03 Bastien Guerry <bzg@gnu.org>
12171 * org-agenda.el (calendar-check-holidays): Declare function.
12173 2012-01-03 Bastien Guerry <bzg@gnu.org>
12175 * org.el (org-return): Fix bug when matching the face property
12176 before following a link.
12178 2012-01-03 Matt Lundin <mdl@imapmail.org>
12180 * org-agenda.el (org-class): Fix holidays symbol in org-class.
12181 This was resulting in an "Bad sexp..." warning.
12183 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12185 * org.el (org-scan-tags): Also remember
12186 `org-complex-heading-regexp' in a property.
12188 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12190 * org-latex.el (org-export-as-latex): Turn off auto-insert and set
12191 TeX-master to t when creating new TeX buffers.
12193 * org-docbook.el (org-export-as-docbook): Turn off auto-insert
12194 when creating new buffers.
12196 * org-html.el (org-export-as-html): Turn off auto-insert
12197 when creating new buffers.
12199 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12201 * org-table.el (org-table-formula-handle-first/last-rc): Do not
12202 expand pointers to first/last row/column that are inside a call to
12204 (org-table-get-remote-range): Expand pointers to first/last
12207 2012-01-03 Michael Sperber <sperber@deinprogramm.de> (tiny change)
12209 * org-capture.el (org-capture-get-indirect-buffer): Fix XEmacs
12210 compatibility issue when creating an indirect buffer.
12212 2012-01-03 Christophe Rhodes <csr21@cantab.net>
12214 * org-exp.el (org-infile-export-plist): Handle LATEX_CLASS_OPTIONS
12215 the same way than LATEX_CLASS.
12217 2012-01-03 Bastien Guerry <bzg@gnu.org>
12219 * org.el (org-return): Check the presence of the 'org-link face
12220 even in contexts where there is more than one face.
12222 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12224 * ob-sql.el (org-babel-header-arg-names:sql): SQL specific header
12225 argument names which should be inherited.
12227 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12229 * org.el (org-in-block-p): Return matched name of block, if any.
12230 It can be useful when a list of block names is provided as
12233 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12235 * org-docbook.el (org-export-as-docbook): Fix regexp.
12237 * org-html.el (org-export-as-html): Fix regexp.
12239 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12241 * org-agenda.el (org-class): Allow holidays to be skipped.
12243 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12245 * ob-shen.el (org-babel-execute:shen): Fix two compilation errors.
12247 2012-01-03 Peter Münster <pmrb@free.fr> (tiny change)
12249 * org-agenda.el (org-agenda-to-appt): Make sure filter-items are
12250 strings before calling `string-match'.
12252 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12254 * org-footnote.el (org-footnote-at-reference-p)
12255 (org-footnote-at-definition-p): Remove text-properties from label.
12257 2012-01-03 Bastien Guerry <bzg@gnu.org>
12259 * org-html.el (org-export-as-html): Add a "title" meta tag.
12261 2012-01-03 Bastien Guerry <bzg@gnu.org>
12263 * org-agenda.el (org-agenda-to-appt): Allow to refine the scope of
12264 entries to pass to `org-agenda-get-day-entries' and allow to
12265 filter out entries using a function.
12267 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12269 * org-agenda.el: Fix small display bug.
12271 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12273 * org.el (org-set-regexps-and-options): Fix small bug introduced
12274 by commit dfcb6faef11a2439b56b18a6289803361d402130.
12276 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12278 * org-agenda.el (org-search-view): Simplify regexp.
12279 (org-agenda-get-todos): Use new format string.
12281 * org-archive.el (org-archive-all-done): Simplify regexp.
12283 * org-ascii.el (org-export-as-ascii): More accurate regexp.
12285 * org-colview.el (org-columns-capture-view): Use new format string
12288 * org-docbook.el (org-export-as-docbook): More accurate
12289 regexp. Also use new regexp to match generic headlines.
12291 * org-exp.el (org-export-protect-quoted-subtrees): More accurate
12292 regexp. Also use new regexp to match generic headlines.
12294 * org-html.el (org-export-as-html): More accurate regexp.
12295 Also use new regexp to match generic headlines.
12297 * org-mouse.el (org-mouse-match-todo-keyword): Remove unused
12298 and now erroneous function.
12300 * org.el (org-heading-regexp, org-heading-keyword-regexp-format):
12302 (org-set-regexps-and-options): Create regexps according to the
12303 following rule: use spaces only to separate elements from an headline,
12304 while allowing mixed tabs and spaces for any indentation job.
12305 (org-nl-done-regexp, org-looking-at-done-regexp): Remove variables.
12306 (org-set-font-lock-defaults): Fontify again headlines with a keyword
12307 and no other text. Use new format strings.
12308 (org-get-heading, org-toggle-comment, org-prepare-agenda-buffers)
12309 (org-toggle-fixed-width-section): Use new format string.
12310 (org-todo): More accurate regexps.
12311 (org-point-at-end-of-empty-headline): Simplify regexp.
12312 (org-insert-heading): Headline can sometimes be nil.
12314 2012-01-03 David Maus <dmaus@ictsoc.de>
12316 * org-agenda.el (org-agenda-bulk-action): Bind
12317 `org-loop-over-headlines-in-active-region' to nil to avoid conflict
12320 2012-01-03 David Maus <dmaus@ictsoc.de>
12322 * org.el (org-deadline, org-schedule): Skip invisible headlines when
12323 mapping over headlines in active region.
12325 2012-01-03 David Maus <dmaus@ictsoc.de>
12327 * org.el (org-loop-over-headlines-in-active-region):
12328 New customization variable. Loop over headlines in active region.
12329 (org-schedule, org-deadline): Apply to headlines in region depending
12330 on new customization variable.
12332 2012-01-03 David Maus <dmaus@ictsoc.de>
12334 * org.el (org-map-entries): Immediately return if scope is 'region
12335 but no region is active.
12337 2012-01-03 David Maus <dmaus@ictsoc.de>
12339 * org.el (org-map-entries): Extend scope 'region to include entire
12340 body of last headline in active region.
12342 2012-01-03 Bastien Guerry <bzg@gnu.org>
12344 * org-src.el (org-edit-src-code): Fix typo-bug.
12346 2012-01-03 Bastien Guerry <bzg@gnu.org>
12348 * org.el (org-format-agenda-item, org-scan-tags):
12349 Rename `org-format-agenda-item' to `org-agenda-format-item'.
12351 2012-01-03 Bastien Guerry <bzg@gnu.org>
12353 * org-agenda.el: Replace `category-pos' by `org-category-pos' to
12354 silent byte-compiler.
12356 2012-01-03 Bastien Guerry <bzg@gnu.org>
12358 * org.el: Declare external function `cdlatex-compute-tables'.
12360 2012-01-03 Bastien Guerry <bzg@gnu.org>
12362 * org-latex.el (org-export-latex-set-initial-vars): Fix problem
12363 when matching #+LaTeX_CLASS.
12365 2012-01-03 Rafael Laboissiere <rafael@laboissiere.net> (tiny change)
12367 * org.el (org-link-search-must-match-exact-headline): Fix typos.
12369 2012-01-03 Bastien Guerry <bzg@gnu.org>
12371 * org-latex.el (org-export-latex-make-header): Add some hyperref
12374 2012-01-03 Kai Tetzlaff <kai.tetzlaff@web.de> (tiny change)
12376 * org-publish.el (org-publish-file): Add 'eval'ing the value of
12377 the :publishing-directory property before using it as destination
12378 of the publishing project. This allows to construct the publish
12379 destination directory dynamically at run-time using the return
12380 value of a function.
12382 2012-01-03 Bastien Guerry <bzg@gnu.org>
12384 * org-agenda.el (org-agenda-list-stuck-projects): Fix tiny bug.
12386 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12388 * org-agenda.el (org-agenda-move-date-from-past-immediately-to-today):
12390 (org-agenda-date-later): Improve the logical structure.
12392 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12394 * ob-calc.el (featurep): Require calc-store.
12396 * org-agenda.el (org-agenda-list-stuck-projects): Fix regexp
12399 * org-compat.el (fboundp): Support for XEmacs.
12401 * org-exp.el (org-export): Protect XEmacs from `(redisplay)' call.
12403 * org-footnote.el (org-footnote-re): Optimize macro processing.
12405 * org.el (org-set-autofill-regexps): Xemacs compatibility.
12407 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12409 * ob.el (org-babel-balanced-split): Balance both [] and ()
12411 (org-babel-parse-header-arguments): Be sure to replace removed ":"
12414 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12416 * ob.el (org-babel-parse-header-arguments): Quick fix for a
12419 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12421 * ob.el (org-babel-params-from-properties): Now splits
12422 multiple var arguments behind a single ":var".
12423 (org-babel-balanced-split): Separated balanced splitting of
12424 strings out into a new function.
12425 (org-babel-parse-multiple-vars): Splits multiple var arguments
12426 behind a single ":var".
12428 2012-01-03 Bastien Guerry <bzg@gnu.org>
12430 * org.el: Remap `outline-promote' and `outline-demote' keys to
12431 `org-promote-subtree' and `org-demote-subtree'.
12433 2012-01-03 Leo Liu <sdl.web@gmail.com>
12435 * org-agenda.el (org-agenda-do-context-action): Check if marker is
12438 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
12440 * org-agenda.el (org-agenda-date-later): Fix shifting of date
12443 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12445 * ob.el: Removing `org-babel-params-from-buffer' and
12446 #+PROPERTIES: entirely.
12448 * ob-exp.el (org-babel-exp-src-block):
12449 Removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely.
12451 * ob-lob.el (org-babel-lob-execute):
12452 Removing `org-babel-params-from-buffer' and #+PROPERTIES: entirely.
12454 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12456 * ob.el (org-babel-params-from-buffer): Removing #+BABEL:
12457 lines in favor of general #+PROPERTIES: lines.
12459 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12461 * ob-sql.el (org-babel-execute:sql): Insert into a temporary
12464 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12466 * org.el (org-cdlatex-mode): Run `cdlatex-mode-hook' and
12467 update the internal cdlatex tables.
12469 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12471 * ob-sql.el (org-babel-execute:sql): Respect literal-results
12474 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12476 * ob.el (org-babel-disassemble-tables): Fix multi-table bug in
12477 code block colname and rowname handling.
12479 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12481 * org-publish.el (org-publish-cache-file-needs-publishing):
12482 Fix regexp to not inlcude newlines.
12484 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12486 * org.el (org-ctrl-c-ctrl-c): Remove table overlays before
12489 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12491 * org.el (org-fontify-entities): Match entities before
12492 numbers, as in `\sim2'.
12494 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12496 * org-agenda.el (org-agenda-date-later): Make pushing forward
12497 a past date to jump immedialtely to today.
12499 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12501 * org-exp.el (org-store-forced-table-alignment): Parse the
12502 column cookie for both alignment and width
12503 specification. Store the resulting value in `org-col-cookies'
12504 property. Retire the previously used `org-forced-aligns'
12505 property for consistency. Renamed local variable `aligns' to
12508 * org-html.el (org-format-org-table-html):
12509 Use `org-col-cookies'. Renamed local variable forced-aligns to
12512 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12514 * org.el (org-latex-to-mathml-jar-file)
12515 (org-latex-to-mathml-convert-command): New user-customizable
12517 (org-format-latex-mathml-available-p, org-create-math-formula)
12518 (org-format-latex-as-mathml): New functions.
12519 (org-format-latex): Add a new local variable block-type that notes
12520 the nature of the equation - inline or display. Associate it's
12521 value to `org-latex-src-embed-type' property of dvipng links.
12522 Add mathml as new processing type.
12524 2012-01-03 Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>
12526 * org.el (org-refile): Add tree name to prompt.
12528 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12530 * org-latex.el (org-export-latex-tables):
12531 Honor `org-export-latex-table-caption-above'
12532 (org-export-latex-table-caption-above): New option.
12534 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12536 * ob.el (org-babel-insert-header-arg): Now including language
12537 specific header arg values in insertion options.
12539 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12541 * ob.el (org-babel-insert-header-arg): Fix typo.
12543 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
12545 * org-exp.el (org-export-number-lines): Modify. Add a new
12546 parameter `preprocess' and use this for backend-agnostic
12547 handling of literal examples.
12549 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12551 * org.el (org-match-substring-regexp)
12552 (org-match-substring-with-braces-regexp): Allow subscripts and
12553 superscripts to start at beginning of line.
12555 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12557 * ob.el (org-babel-common-header-args-w-values): New variable to
12558 hold common header arguments and their default values.
12559 (org-babel-header-arg-names): Redefined using the new common
12560 header arg variable.
12561 (org-babel-insert-header-arg): New function to help when inserting
12564 2012-01-03 David Maus <dmaus@ictsoc.de>
12566 * org-html.el (org-html-handle-links): Remove unnecessary
12567 protection markers when publishing link in default format.
12569 2012-01-03 Pieter Praet <pieter@praet.org> (tiny change)
12571 * org-crypt.el (org-crypt-check-auto-save): New function, see
12574 * org-crypt.el (org-decrypt-entry): Break the auto-save-mode
12575 check out into a separate function, and call it at a later
12576 point, to assure it only runs when visiting an encrypted
12579 2012-01-03 John J Foerch <jjfoerch@earthlink.net> (tiny change)
12581 * org.el (org-log-note-headings): Document new %d and %D
12583 (org-store-log-note): Implement new %d and %D escapes.
12585 2012-01-03 Dave Abrahams <dave@boostpro.com>
12587 * org-agenda.el (org-agenda-follow-indirect): New option.
12588 (org-agenda-follow-mode): Call `org-agenda-do-context-action' fro
12590 (org-agenda-do-context-action): Also do indirect follow mode
12593 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12595 * ob-table.el (sbe): Fix typo in new sbe specification.
12597 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12599 * ob-table.el (sbe): If first variable is a string and not a
12600 cons cell, then interpret it as a string of header arguments
12601 to be passed to the code block.
12603 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12605 * ob-shen.el (shen-eval-defun): Declare external function.
12606 (org-babel-execute:shen): Move requirement of inf-shen into
12607 the function in which it is used to fix build error.
12609 * ob-shen.el: New file.
12611 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
12613 * org.el (org-open-at-point): Make `org-open-at-point' only
12614 ask once about creating a new headline.
12616 2012-01-03 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12618 * org.el (org-refile-targets): Elaborated the documentation of
12619 the variable as suggested by Dave Abrahams.
12621 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
12623 * org.el (org-align-tags-here): Allow tags to be placed right
12625 (org-tags-column): Document the meaning of tags column 0.
12627 2012-01-03 Niels Giesen <niels.giesen@gmail.com>
12629 * org-agenda.el (org-agenda-get-blocks): Show timestamp ranges
12630 in agenda if start day is same as end day.
12632 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12634 * org.el (org-refile-get-location): Ignore errors when
12635 collection heading to be excluded.
12637 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12639 * org-special-blocks.el
12640 (org-special-blocks-convert-html-special-cookies): Avoid XHTML
12641 strict problems by not enclosing special blocks in paragraph tags.
12643 2012-01-03 Bernt Hansen <bernt@norang.ca>
12645 * org-html.el (org-export-as-html): Check string-match
12647 (org-html-handle-time-stamps): Check string-match argument.
12649 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12652 (org-agenda-skip-additional-timestamps-same-entry):
12653 Change default value.
12655 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12657 * org.el (org-time-string-to-time):
12658 (org-time-string-to-absolute): Add optional arguments BUFFER and
12659 POS for error reporting.
12661 * org-agenda.el (org-get-all-dates):
12662 (org-agenda-get-timestamps, org-agenda-get-deadlines)
12663 (org-agenda-get-scheduled, org-agenda-get-blocks): Call time
12664 stamp parsing functions with information on where the
12665 timestamp was taken from.
12667 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12669 * org.el (org-tree-to-indirect-buffer): Run `org-cycle-hook'
12670 after `show-all' in indirect buffer.
12672 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12674 * org-list.el (org-list-parents-alist): When no parent is found
12675 for an item, set it as the closest less indented item above.
12676 If none is found, make it a top level item.
12677 (org-list-write-struct): Externalize code.
12678 (org-list-struct-fix-item-end): New function.
12679 (org-list-struct): Remove a now useless fix.
12681 * org.el (org-ctrl-c-ctrl-c): Use new function.
12683 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12685 * org.el (org-end-of-line): When on an item, move point at the
12686 end of the line, but before any hidden text. Thus, it's still
12687 possible to use commands, like `C-c C-c', acting at
12688 items. This is still disabled if `org-special-ctrl-a/e'
12691 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12693 * org-footnote.el (org-footnote-renumber-fn:N): Small refactoring.
12695 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12697 * org-footnote.el (org-footnote-renumber-fn:N): Fix an
12700 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12702 * org-footnote.el (org-footnote-at-definition-p):
12703 Remove useless `org-re'.
12705 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12707 * org-footnote.el (org-footnote-renumber-fn:N): Verify point
12708 is at a real footnote reference or definition before
12711 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12713 * org-footnote.el (org-footnote-goto-definition): This patch
12714 makes sure the function says when a definition has been
12715 found. Thus, moving from the reference to the definition
12716 doesn't offer to create the latter again.
12718 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12720 * org-footnote.el (org-footnote-create-definition):
12721 Explicitly move point after tag, if it has just been
12724 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12726 * ob-gnuplot.el (org-babel-execute:gnuplot): Don't quote file
12727 names on Windows systems.
12729 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12731 * org-footnote.el (org-footnote-create-definition): When the
12732 tag is missing, it is created before any existing footnote, or
12733 at end of buffer. In the latter case, the marker pointing at
12734 the position where the new footnote is going to be inserted
12735 (at end of buffer) stays before the tag. This patch makes
12736 sure that the marker will be kept after the tag.
12738 2012-01-03 Eli Zaretskii <eliz@gnu.org>
12740 * org.el (org-mode): Force left-to-right paragraphs in Org
12741 buffers. For a related discussions, see
12742 https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
12744 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12746 * ob-asymptote.el (org-babel-asymptote-define-type):
12747 Silence byte-compiler.
12749 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12751 * ob-R.el (org-babel-R-evaluate): Fix bug in R session
12754 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12756 * org-bibtex.el (org-bibtex-type-property-name):
12757 Configurable property name for bibtex entry types.
12758 (org-bibtex-headline): Use new configurable property name.
12759 (org-bibtex-check): Use new configurable property name.
12760 (org-bibtex-create): Use new configurable property name.
12761 (org-bibtex-write): Use new configurable property name.
12763 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12765 * org.el (org-paste-subtree): Remove unnecessary `concat'.
12767 2012-01-03 Bastien Guerry <bzg@gnu.org>
12769 * org.el (org-paste-subtree): Remove useless (concat ...).
12771 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12773 * ob-C.el (org-babel-C-var-to-C): Replacing usage of
12774 characterp with integerp (which should work w/Emacs22).
12776 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12778 * org-footnote.el (org-footnote-at-definition-p): Context must
12779 be valid at the beginning of line, not at point.
12781 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12783 * ob-tangle.el (org-babel-tangle-collect-blocks):
12784 Better delimiting of Org-mode text preceding a code block.
12786 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12788 * ob.el (org-babel-get-src-block-info): Fixing bug,
12789 accidentally deleted variable values.
12791 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12793 * ob-tangle.el (org-babel-process-comment-text):
12794 Customizable function to process comment text.
12795 (org-babel-tangle-collect-blocks): Make use of new
12796 customizable processing function.
12797 (org-babel-spec-to-string): Call customizable function rather than
12800 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12802 * ob-R.el (org-babel-execute:R): Collect and pass along the
12804 (org-babel-R-evaluate): Accept result-params and if "scalar" or
12805 "verbatim" don't process output.
12806 (org-babel-R-evaluate-session): Accept result-params and if
12807 "scalar" or "verbatim" don't process output.
12809 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12811 * ob.el (org-babel-merge-params): Differentiate between result
12812 types and wrappers.
12814 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12816 * ob.el (org-babel-get-src-block-info): Check that
12817 functional-syntax variables are initialized.
12819 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12821 * ob.el (org-babel-check-src-block): Adding a note for a
12822 future enhancement.
12824 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12826 * org-exp.el (org-export): Restore point when exporting a subtree.
12828 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12830 * ob.el (org-babel-parse-src-block-match): More robust to code
12831 blocks with empty bodies.
12833 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12835 * ob.el (org-babel-parse-src-block-match): Don't error on empty
12838 2012-01-03 David Maus <dmaus@ictsoc.de>
12840 * org.el (org-open-at-point): Unescape plain link.
12842 2012-01-03 David Maus <dmaus@ictsoc.de>
12844 * org-html.el (org-html-handle-links): Remove unnecessary link
12847 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12849 * ob.el (org-babel-merge-params): Better error message for
12850 unassigned variables.
12852 2012-01-03 Christian Egli <christian.egli@alumni.ethz.ch>
12854 * org-taskjuggler.el (org-export-as-taskjuggler): Clone the
12855 buffer local variables to the temporary buffer before
12858 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12860 * org-exp.el (org-export-select-backend-specific-text):
12861 Only remove commas on the front line of a code block.
12863 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12865 * ob.el (org-babel-demarcate-block): Copy headers and indent to
12866 column of point when a block is split.
12868 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12870 * ob.el (org-babel-insert-result): Corrected file insertion
12871 for inline results.
12873 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12875 * org-footnote.el (org-footnote-in-valid-context-p):
12876 No footnote in latex fragments.
12878 2012-01-03 Martin Rudalics <rudalics@gmx.at>
12880 * org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
12881 argument from `pop-to-buffer-same-window' call.
12883 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12885 * ob-R.el (org-babel-R-evaluate-session): Improve prompt
12888 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12890 * org-inlinetask.el (org-inlinetask-goto-end):
12893 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12895 * ob-asymptote.el (org-babel-asymptote-var-to-asymptote):
12897 (org-babel-asymptote-table-to-array): Remove function.
12899 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12901 * ob-asymptote.el (org-babel-asymptote-var-to-asymptote):
12902 recognize non-nested lists as uni-dimensional arrays.
12904 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12906 * ob.el (org-babel-params-from-properties): Don't check for
12907 header arguments in properties with leading ":"s.
12909 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12911 * org-inlinetask.el (org-inlinetask-goto-end):
12912 Correctly detect the end of an inlinetask when the next one starts
12913 immediately after the current one. Also, return position of
12916 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12918 * ob.el (org-babel-inline-src-block-regexp): Allow regexp to
12921 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12923 * ob-asymptote.el (org-babel-asymptote-define-type):
12924 Elisp floats are asymptote reals.
12926 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12928 * ob-asymptote.el (org-babel-asymptote-table-to-array):
12929 Require a new argument TYPE specifying the detected type of
12930 array. If it's a string array, make sure every element is
12931 returned as a string. Also improve doc-string.
12932 (org-babel-asymptote-var-to-asymptote): Fill new argument.
12934 (org-babel-asymptote-define-type): Rewrite to avoid stopping
12935 search at first float found, as strings have precedence over
12938 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12940 * org-footnote.el (org-footnote-normalize): Be sure to separate
12941 the last footnote definition from the rest of the buffer.
12943 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
12945 * ob-awk.el (org-babel-expand-body:awk): Allow for symbolic
12948 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12950 * org.el (org-latex-regexps): Allow matching latex fragments
12951 of type "$" and "$1" at beginning of line.
12953 2012-01-03 Bastien Guerry <bzg@gnu.org>
12955 * org-agenda.el (org-search-view, org-agenda-get-todos)
12956 (org-agenda-get-deadlines, org-agenda-get-scheduled):
12957 Add `category-pos' in let construct.
12959 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12961 * org-footnote.el (org-footnote-get-definition): The function has
12962 to widen buffer if definition has not been found in the current
12963 narrowed part. Be sure to restore that restriction once the
12964 definition is found.
12966 2012-01-03 Michal Sojka <sojka@os.inf.tu-dresden.de> (tiny change)
12968 * org-icalendar.el (org-print-icalendar-entries): Make alarm
12969 duration RFC5545 compliant.
12971 2012-01-03 Bastien Guerry <bzg@gnu.org>
12973 * org-agenda.el (org-agenda-get-timestamps)
12974 (org-agenda-get-sexps, org-agenda-get-progress): Correctly set
12975 the `org-category-pos' property.
12977 2012-01-03 Bastien Guerry <bzg@gnu.org>
12979 * org-html.el (org-export-html-divs): Improve docstring.
12981 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
12983 * org-table.el (org-table-fix-formulas): Throw error when
12984 changing formula leads to an invalid formula.
12986 2012-01-03 Bastien Guerry <bzg@gnu.org>
12988 * org.el (org-archive-location): Minor docstring fix.
12990 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
12992 * org.el (org-block-todo-from-checkboxes):
12993 `org-list-search-forward' should be used when looking for an
12994 item, as it filters out contexts where match couldn't be in a
12995 list. Also use a correct item regexp, taking into account
12996 alphabetical ordered lists and counters.
12998 2012-01-03 Bastien Guerry <bzg@gnu.org>
13000 * org-html.el (org-html-make-link): Minor fix to the
13003 2012-01-03 Suvayu Ali <fatkasuvayu+linux@gmail.com> (tiny change)
13005 * org-inlinetask.el (org-inlinetask): New customizable face
13008 2012-01-03 Bastien Guerry <bzg@gnu.org>
13010 * org-agenda.el (org-agenda-get-todos): Properly set
13013 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13015 * org-list.el (org-list-struct-apply-struct): Don't use
13016 (copy-marker (point)) instead of (point-marker).
13018 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13020 * ob.el (org-babel-where-is-src-block-result): Don't try to
13021 resolve variables when simply checking if we're inside of a
13024 2012-01-03 Bastien Guerry <bzg@gnu.org>
13026 * org.el (org-refresh-category-properties): New text property
13027 'org-category-position to point at the beginning of the
13028 headline from which the category is set.
13030 2012-01-03 Matt Lundin <mdl@imapmail.org>
13032 * org.el (org-refile): Don't call `org-back-to-heading' with
13035 2012-01-03 Bastien Guerry <bzg@gnu.org>
13037 * org.el (org-link-display-descriptive): Remove this option and
13038 rely on the existing `org-descriptive-links' instead.
13039 (org-toggle-link-display): Use `org-descriptive-links'.
13041 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13043 * ob-ref.el (org-babel-ref-resolve): Allow matching of results
13044 with tags after the result name.
13046 2012-01-03 Bastien Guerry <bzg@gnu.org>
13048 * org-table.el (org-table-get-specials): Allow the use of the
13049 underscore character in column names.
13050 (org-table-get-specials): Allow the use of the underscore
13051 character in field names.
13053 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13055 * org-exp-blocks.el (org-export-blocks-preprocess):
13056 Explicitly cleaning up markers.
13058 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13060 * ob-exp.el (org-babel-exp-inline-src-blocks): Save match data
13061 around `org-babel-exp-do-export' which now searches in this case.
13062 (org-babel-exp-results): Position the point in the inline source
13063 block during export evaluation.
13065 * ob.el (org-babel-insert-result): More readable code.
13067 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13069 * org-exp-blocks.el (org-export-blocks-preprocess): Use the built
13070 in function rather than the superfluous (and now removed)
13071 org-specific function.
13073 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13075 * ob-exp.el (org-babel-exp-inline-src-blocks): Don't examplize
13076 inline code blocks which are already escaped.
13078 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13080 * org-exp-blocks.el (org-marker-from-point): Helper function to
13081 create markers at specific points in source buffers.
13082 (org-export-blocks-preprocess): Use markers instead of points
13083 to delimit code blocks.
13085 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13087 * org-list.el (org-list-separating-blank-lines-number):
13088 The behavior of `org-back-over-empty-lines' depends on the
13089 associated value of `headline' in
13090 `org-blank-before-new-entry', which is out of context in a
13093 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13095 * org-indent.el (org-indent-initialize-agent): When the current
13096 buffer isn't being watched, resume initialization of other watched
13097 buffers. In that case, give hand to others idle timers or
13098 processes more frequently.
13099 (org-indent-agent-active-delay): Rename from
13100 `org-indent-agent-process-duration'.
13101 (org-indent-agent-passive-delay): New variable.
13102 (org-indent-agent-resume-delay): Change value.
13103 (org-indent-initialize-buffer): Change argument name.
13104 (org-indent-add-properties): Change argument name and type
13105 expected. It must be a time value now.
13107 2012-01-03 Bastien Guerry <bzg@gnu.org>
13109 * org.el (org-set-property): Bugfix.
13111 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13113 * ob.el (org-babel-remove-result): Idempotent code block
13114 evaluation and result removal.
13116 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13118 * ob-ruby.el (org-babel-ruby-initiate-session): No longer
13119 require inf-ruby when no session evaluation takes place.
13121 2012-01-03 Bastien Guerry <bzg@gnu.org>
13123 * org-agenda.el (org-agenda-prefix-format): Mention "%e" in
13126 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13128 * org-agenda.el (org-agenda-custom-commands): Set a default
13129 value for this command.
13131 2012-01-03 Carsten Dominik <carsten.dominik@gmail.com>
13133 * org-agenda.el (org-agenda-include-all-todo): Declare this option
13134 as no longer working.
13135 (org-timeline): Rename the include-all argument to dotodo.
13136 (org-arg-loc): Rename from` org-include-all-loc'.
13137 (org-agenda-list): Rename the INCLUDE-ALL argument to ARG,
13138 because its function has changed.
13140 2012-01-03 Bastien Guerry <bzg@gnu.org>
13142 * org.el (org-fixup-indentation): Fix various small bugs.
13144 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13146 * org-indent.el (org-indent-agent-timer)
13147 (org-indent-agentized-buffers, org-indent-agent-resume-timer)
13148 (org-indent-agent-process-duration)
13149 (org-indent-agent-resume-delay): New variables.
13150 (org-indent-initial-marker): More accurate doc-string.
13151 (org-indent-initial-timer, org-indent-initial-resume-timer)
13152 (org-indent-initial-process-duration)
13153 (org-indent-initial-resume-delay)
13154 (org-indent-initial-lock): Remove variables.
13155 (org-indent-mode): Set up an agent to watch current buffer, or
13156 add it to the list of already watched buffers.
13157 (org-indent-initialize-agent): New function.
13158 (org-indent-initialize-buffer): Now requires a mandatory
13160 (org-indent-add-properties): Reflect changes to variables.
13161 The resume timer is now global.
13163 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13165 * org-footnote.el (org-footnote-normalize): Refactor, and fix
13166 some blank lines deletion.
13168 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13170 * org-indent.el (org-indent-mode):
13171 `org-indent-initial-resume-timer ' needs to be local.
13173 2012-01-03 Bastien Guerry <bzg@gnu.org>
13175 * org.el (org-fixup-indentation): Correctly indent meta lines.
13177 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13179 * org-indent.el (org-indent-set-line-properties): Add text
13180 properties down to the beginning of the next line.
13181 (org-indent-add-properties): When last position to add
13182 properties to is at the beginning of a line, all that line
13183 will have properties.
13185 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13187 * org-indent.el (org-indent-initial-resume-timer): New variable.
13188 (org-indent-initialize-buffer): Also resume after a small break.
13189 (org-indent-add-properties): When in asynchronous mode,
13190 proceed for 2 seconds, then take a break.
13192 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13194 * org-indent.el (org-indent-set-line-properties): New function.
13195 (org-indent-add-properties): Externalize worker function.
13197 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13199 * org-indent.el (org-indent-indent-buffer): Take into account
13202 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13204 * org-indent.el (org-indent-modified-headline-flag): Rename from
13205 `org-indent-deleted-headline-flag'
13206 (org-indent-notify-modified-headline): Rename from
13207 `org-indent-notify-deleted-headline'. Handle situations when
13208 the stars of an headline are modified.
13209 (org-indent-refresh-maybe): Remove case now handled by
13211 (org-indent-mode): Apply renames.
13213 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13215 * org-indent.el (org-indent-inlinetask-first-star):
13217 (org-indent-add-properties): Set the first star of inline-tasks'
13218 virtual indentation in `org-warning' face.
13220 * org-inlinetask.el (org-inlinetask-insert-task): Create a new
13221 inline-task slightly differently, so virtual indentation can
13222 be applied normally.
13224 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13226 * org-indent.el (org-indent-initial-marker)
13227 (org-indent-initial-timer, org-indent-initial-lock):
13229 (org-indent-mode): At initialization, start an idle timer to indent
13230 the whole buffer. When the user is asking for control, interrupt the
13231 process, and resume at the same point when idle again.
13232 (org-indent-initialize-buffer): New function.
13233 (org-indent-add-properties): Throw an interrupt when indentation of
13234 buffer is stopped during initialization.
13236 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13238 * org-indent.el (org-indent-indent-buffer): Send more
13239 appropriate messages.
13241 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13243 * org-indent.el (org-indent-notify-deleted-headline)
13244 (org-indent-refresh-maybe): Replace `org-indent-outline-re'
13245 with `org-outline-regexp-bol'.
13247 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13249 * org-indent.el (org-indent-max-levels): Modify default value and
13251 (org-indent-add-properties): Pay attention to `org-indent-max'
13252 and `org-indent-max-levels' values.
13253 (org-indent-refresh-maybe): Refactor code to avoid an unnecessary
13256 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13258 * org-table.el (org-table-align): Remove now useless hack.
13260 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13262 * org-indent.el (org-indent-fix-section-after-idle-time):
13264 (org-indent-initialize): Remove timer.
13265 (org-indent-add-properties): Refactor code.
13266 (org-indent-refresh-subtree, org-indent-refresh-section)
13267 (org-indent-refresh-buffer,org-indent-set-initial-properties):
13269 (org-indent-deleted-headline): New variable.
13270 (org-indent-notify-deleted-headline,org-indent-refresh-maybe):
13272 (org-indent-mode): Insert new functions into a hook.
13274 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13276 * org-indent.el (org-indent-mode): Completely refresh buffer
13277 before starting org-indent-mode. Also set idle timer to refresh
13278 only visible portion of buffer, and refresh the subtree instead of
13279 section when promoting or demoting it.
13280 (org-indent-add-properties): Rewrite function to proceed line by
13281 line, as required by `wrap-prefix' specificity.
13282 (org-indent-refresh-section,org-indent-refresh-subtree): Refactor.
13283 (org-indent-refresh-view): New function.
13284 (org-indent-refresh-to, org-indent-refresh-section):
13287 * org.el (org-unfontify-region): Do not remove prefix
13288 properties when unfontifying a region.
13290 2012-01-03 Bastien Guerry <bzg@gnu.org>
13292 * org-colview.el (org-columns-cleanup-item): Correctly remove
13293 leading stars in items displayed in the agenda column view.
13295 2012-01-03 Bastien Guerry <bzg@gnu.org>
13297 * org-colview.el (org-columns-display-here): Clean up items in
13298 `org-agenda-mode' too.
13299 (org-columns-cleanup-item): Take a new argument CPHR to allow
13300 passing a complex heading regexp. Rewrite to cleanup ITEM
13301 correctly in `org-agenda-mode'.
13303 2012-01-03 Bastien Guerry <bzg@gnu.org>
13305 * org-clock.el (org-duration-string-to-minutes)
13306 (org-minutes-to-hh:mm-string, org-hh:mm-string-to-minutes):
13309 2012-01-03 Bastien Guerry <bzg@gnu.org>
13311 * org.el (org-refile-active-region-within-subtree): New option to
13312 allow refiling a region that is part of a subtree without
13313 containing a subtree itself. This default to `nil'.
13314 (org-refile): Use the new option. Put point at the beginning
13315 of the region/subtree to be refiled, so that users understand
13316 what will be refiled. Also improve the prompt to tell whether
13317 the user is refiling a region or a headline.
13319 2012-01-03 Bastien Guerry <bzg@gnu.org>
13321 * org.el (org-properties-postprocess-alist): New option to allow
13322 postprocessing the values of properties set through
13323 `org-set-property'.
13324 (org-set-property): Use this option.
13326 2012-01-03 Bastien Guerry <bzg@gnu.org>
13328 * org.el (org-outline-regexp, org-outline-regexp-bol): Add a
13331 2012-01-03 Bastien Guerry <bzg@gnu.org>
13333 * org-archive.el (org-archive-to-archive-sibling):
13334 Use `org-outline-regexp' instead of `outline-regexp'.
13336 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13338 * org.el (org-between-regexps-p): Searching up to pos may
13339 match again beginning regexp.
13341 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13343 * org-footnote.el (org-footnote-goto-definition): Don't send
13344 erroneous message: suggested bindings might not be set outside
13347 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13349 * org-footnote.el (org-footnote-normalize): Effectively remove
13350 any footnote tag in non Org buffers, as detailled in the
13351 docstring of `org-footnote-tag-for-non-org-mode-files'.
13353 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13355 * org-footnote.el (org-footnote-tag-for-non-org-mode-files):
13356 notify the opportunity to set the variable to the empty string.
13357 (org-footnote-normalize, org-footnote-create-definition):
13358 Carefully check for inserted newlines and presence of the
13361 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13363 * org-footnote.el (org-footnote-at-definition-p): Re-use
13364 `org-footnote-definition-re'.
13366 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13368 * org-footnote.el (org-footnote-definition-re): Remove an
13370 (org-footnote-at-definition-p): Reflect removal of the group.
13372 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13374 * org.el (org-set-regexps-and-options): Enforce white space
13375 after todo keyword, as word boundary isn't sufficient (i.e. in
13376 matches * TODO/this).
13378 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
13380 * org-inlinetask.el (org-inlinetask-export-templates):
13381 Fix template for html so that the exported file is valid
13382 xhtml. Added template for odt.
13383 (org-inlinetask-export-handler): Fix typo in the regexp that
13384 trims content. Make sure that the content is flanked by
13385 paragraph boundaries on either side.
13387 2012-01-03 Bastien Guerry <bzg@gnu.org>
13389 * org.el (org-add-planning-info): Don't insert superfluous
13390 space when updating timestamps.
13392 2012-01-03 Bastien Guerry <bzg@gnu.org>
13394 * org-agenda.el (org-cmp-effort): Fix docstring.
13396 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13398 * org-list.el (org-list-full-item-re): When an item has only a
13399 bullet and no space after it, list structure would not be
13400 recognized correctly.
13402 2012-01-03 Bastien Guerry <bzg@gnu.org>
13404 * org.el (org-overview): Use `outline-regexp' instead of
13405 `org-outline-regexp' so that global cycling using
13406 `orgstruct-mode' works outside of Org buffers.
13408 2012-01-03 Bastien Guerry <bzg@gnu.org>
13410 * org-table.el (org-table-eval-formula): Fix missing variable
13412 (org-table-time-string-to-seconds): Fix missing variable in
13415 2012-01-03 Michael Brand <michael.ch.brand@gmail.com>
13417 * org-agenda.el (org-agenda-get-deadlines): Fix dfrac for the
13418 case of wdays being 0. Don't pass wdays to
13419 org-agenda-deadline-face, like before the old fix.
13420 (org-agenda-deadline-face): Revert to old state that was without
13423 2012-01-03 Bastien Guerry <bzg@gnu.org>
13425 * org-latex.el (org-export-latex-fixed-width): Only add one
13426 line break after exporting verbatim environments.
13428 2012-01-03 Bastien Guerry <bzg@gnu.org>
13430 * org-list.el (org-list-item-trim-br): New function.
13431 (org-list-to-generic): New parameter :nobr to use the new
13434 2012-01-03 David Maus <dmaus@ictsoc.de>
13436 * org.el (org-paste-subtree): Fix wrong order of lines to move
13439 2012-01-03 David Maus <dmaus@ictsoc.de>
13441 * org.el (org-paste-subtree): Paste subtree above target
13442 headline if point is at bol.
13444 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13446 * org-list.el (org-toggle-checkbox): Don't clear lim-down
13447 while used in the while loop.
13449 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13451 * org-list.el (org-toggle-checkbox): Lim-down must be a
13454 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13456 * org.el (org-activate-code): Correct regexp so ":.*" isn't
13459 2012-01-03 David Maus <dmaus@ictsoc.de>
13461 * org-macs.el (org-with-gensyms, org-called-interactively-p)
13462 (with-silent-modifications, org-bound-and-true-p)
13463 (org-unmodified, org-re, org-preserve-lc)
13464 (org-without-partial-completion, org-with-point-at)
13465 (org-no-warnings, org-if-unprotected, org-if-unprotected-1)
13466 (org-if-unprotected-at, org-with-remote-undo)
13467 (org-no-read-only, org-save-outline-visibility)
13468 (org-with-wide-buffer, org-with-limited-levels)
13469 (org-eval-in-environment): Provide edebug specifications.
13471 * org-src.el (org-src-do-at-code-block): Dto.
13473 * org-publish.el (org-publish-with-aux-preprocess-maybe): Dto.
13475 * org-compat.el (org-xemacs-without-invisibility): Dto.
13477 * org-clock.el (org-with-clock-position, org-with-clock): Dto.
13479 * org-agenda.el (org-agenda-with-point-at-orig-entry)
13480 (org-batch-agenda, org-batch-agenda-csv)
13481 (org-batch-store-agenda-views): Dto.
13483 * ob.el (org-babel-do-in-edit-buffer)
13484 (org-babel-map-src-blocks, org-babel-map-inline-src-blocks): Dto.
13486 * ob-tangle.el (org-babel-with-temp-filebuffer): Dto.
13488 * ob-table.el (sbe): Dto.
13490 * ob-exp.el (org-babel-exp-in-export-file): Dto.
13492 * ob-comint.el (org-babel-comint-in-buffer)
13493 (org-babel-comint-with-output): Dto.
13495 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13497 * org-inlinetask.el (org-inlinetask-export-templates):
13500 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13502 * org-inlinetask.el (org-inlinetask-insert-task): Error when
13503 trying to nest inline tasks.
13505 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13507 * org.el (org-activate-code, org-toggle-fixed-width-section)
13508 (org-indent-line-function): Allow "[ \t]*:$" as a special case of
13509 fixed-width section.
13511 2012-01-03 David Maus <dmaus@ictsoc.de>
13513 * org.el (org-paste-subtree): Don't eat headline when called
13514 with point at existing headline.
13516 2012-01-03 David Maus <dmaus@ictsoc.de>
13518 * org.el (org-paste-subtree): Fix typo in variable name.
13520 2012-01-03 Jambunathan K <kjambunathan@gmail.com>
13522 * org-inlinetask.el (org-inlinetask-export-handler):
13523 Don't export inline tasks if the current backend has provided no
13524 entries in `org-inlinetask-export-templates'.
13526 2012-01-03 Valentin Wüstholz <wuestholz@gmail.com> (tiny change)
13528 * org.el (org-indent-line-function): Made the way in which
13529 example blocks are indented more flexible.
13531 2012-01-03 David Maus <dmaus@ictsoc.de>
13533 * org-agenda.el (org-batch-agenda-csv): Fix argument to append
13534 when creating final parameter alist.
13536 2012-01-03 David Maus <dmaus@ictsoc.de>
13538 * org-agenda.el (org-batch-store-agenda-views): Use macro
13539 `org-eval-in-environment'.
13541 2012-01-03 David Maus <dmaus@ictsoc.de>
13543 * org-agenda.el (org-batch-agenda, org-batch-agenda-csv):
13544 Use `org-eval-in-environment.
13546 2012-01-03 David Maus <dmaus@ictsoc.de>
13548 * org-macs.el (org-make-parameter-alist): New function.
13549 Turn flat list of alternating symbol names and values into an alist
13550 with symbol name in car and value in cdr.
13552 2012-01-03 David Maus <dmaus@ictsoc.de>
13554 * org-agenda.el (org-agenda-with-point-at-orig-entry):
13555 Use macro `org-with-gensyms'.
13557 2012-01-03 David Maus <dmaus@ictsoc.de>
13559 * org-macs.el (org-substitute-posix-classes):
13560 New function. Substitute posix classes in regular expression.
13561 (org-re): Use new function.
13563 2012-01-03 David Maus <dmaus@ictsoc.de>
13565 * org-macs.el (org-eval-in-environment): New macro. Evaluate FORM
13568 2012-01-03 David Maus <dmaus@ictsoc.de>
13570 * org-macs.el (org-preserve-lc, org-with-point-at)
13571 (org-with-remote-undo, org-save-outline-visibility): Use new
13572 macro `org-with-gensyms'.
13574 2012-01-03 David Maus <dmaus@ictsoc.de>
13576 * org-macs.el (org-with-gensyms): New macro. Wrap let-binding
13577 of SYMBOLS to new uninterned symbols around BODY.
13579 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13581 * org-inlinetask.el (org-inlinetask-export-handler): Make sure
13582 the task starts a paragraph or the HTML exporter will produce
13583 an incorrect output.
13585 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13587 * org.el (org-return): When filling happens, `newline' can
13588 change match data, hence modifying the indent column.
13590 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13592 * org-footnote.el (org-footnote-new): Only forbid non-inlined
13593 footnotes at column 0, as only them can be confused with a
13594 footnote definition.
13596 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13598 * org-footnote.el (org-footnote-new): Use `ido' or `iswitchb'
13599 when available when prompted for a label. Also rename a local
13600 variable to avoid confusion with an existing function.
13602 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13604 * org-footnote.el (org-footnote-label-history):
13606 (org-footnote-new): Remove call to that variable.
13608 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13610 * org.el (org-insert-heading): With `force-heading' non-nil,
13611 inserting an heading before any headline, and just after a
13612 list would return an error.
13614 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13616 * ob.el (org-babel-sha1-hash): Remove use of `copy-seq'.
13618 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13620 * org-bibtex.el (org-bibtex-get): Make the "FILE" property
13621 non-special when resolving bibtex values.
13623 2012-01-03 David Maus <dmaus@ictsoc.de>
13625 * org.el (org-back-over-empty-lines): Don't move line upward
13626 if point is at eob.
13628 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13630 * org-footnote.el (org-footnote-in-valid-context-p):
13631 Check `org-protected' property before allowing to match a footnote.
13632 (org-footnote-at-reference-p): Remove an obsolete test. It is now
13633 done in the previous function.
13635 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13637 * org.el (org-between-regexps-p): Previous name implied the
13638 function was related to blocks, which isn't mandatory.
13639 (org-narrow-to-block, org-in-block-p)
13640 (org-indent-line-function): Applied the rename.
13642 * ob-exp.el (org-babel-in-example-or-verbatim):
13643 Applied rename. Also removed a white space.
13645 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13647 * org.el (org-in-regexps-block-p): Return an useful value when
13648 point is between START-RE and END-RE. No incomplete block is
13649 allowed anymore. Add another optional argument to bound the
13650 bottom part of the search.
13651 (org-narrow-to-block, org-in-block-p): Apply modifications.
13653 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13655 * ob.el (org-babel-src-block-regexp): If a code block has a
13656 body, its last character must be a newline.
13658 2012-01-03 Nicolas Goaziou <n.goaziou@gmail.com>
13660 * org-footnote.el (org-footnote-next-reference-or-definition):
13661 If no more footnote is found, be sure to go back to the
13662 original position. Otherwise, point might be left on a
13663 footnote-like element that has been dished out.
13665 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13667 * ob-exp.el (org-babel-inline-src-block-regexp): Declare this
13670 * ob.el (defvar): Wrap variable declaration in
13671 `eval-when-compile'.
13673 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13675 * ob-keys.el (org-babel-key-bindings): Bound to `C-c C-v k'.
13677 2012-01-03 Eric Schulte <schulte.eric@gmail.com>
13679 * ob-java.el (org-babel-execute:java): Allow cmdline flags
13680 during compilation and evaluation.
13682 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
13684 * ob.el (org-babel-expand-body:generic, org-babel-number-p):
13685 * ob-ref.el (org-babel-ref-parse): Fix typos.
13687 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
13689 * ob.el (org-babel-execute-src-block): Fix typo.
13691 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13693 * org.el (org-link-unescape, org-link-unescape-compound): Fix typos.
13695 2011-11-20 Andreas Schwab <schwab@linux-m68k.org>
13697 * org-list.el (org-list-send-item): Use sort instead of sort*.
13699 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13701 * org-table.el (org-table-line-to-dline): Fix typo.
13703 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
13705 * org-agenda.el (org-agenda-add-entry-text-descriptive-links)
13706 (org-agenda-custom-commands, org-write-agenda, org-check-for-org-mode)
13707 (org-search-syntax-table, org-modify-diary-entry-string)
13708 (org-write-agenda):
13709 * org-bbdb.el (org-bbdb-anniv-export-ical):
13710 * org-bibtex.el (org-bibtex-fields):
13711 * org-icalendar.el (org-icalendar-date-time-format):
13712 * org-latex.el (org-export-latex-inline-image-extensions):
13713 * org-list.el (org-list-insert-item): Fix typos.
13715 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
13717 * org-plot.el (org-plot/gnuplot-to-grid-data): Fix typo in docstring.
13719 2011-09-27 Eli Zaretskii <eliz@gnu.org>
13721 * org.el (org-mode): Force left-to-right paragraphs in Org
13722 buffers. For a related discussions, see
13723 https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00349.html.
13725 2011-09-17 Juanma Barranquero <lekktu@gmail.com>
13727 * org.el (org-toggle-pretty-entities): Fix typo in message.
13729 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
13731 * org-compat.el (org-pop-to-buffer-same-window): Delete.
13733 * ob-ref.el (org-babel-ref-goto-headline-id):
13734 * org.el (org-get-location, org-tree-to-indirect-buffer)
13735 (org-mark-ring-goto, org-refile, org-add-log-note)
13736 (org-revert-all-org-buffers, org-switchb)
13737 (org-cycle-agenda-files, org-submit-bug-report)
13738 (org-goto-marker-or-bmk):
13739 * org-agenda.el (org-prepare-agenda, org-agenda-switch-to):
13740 * org-capture.el (org-capture-goto-target)
13741 (org-capture-fill-template):
13742 * org-clock.el (org-clock-goto):
13743 * org-ctags.el (org-ctags-visit-buffer-or-file):
13744 * org-exp.el (org-export-as-org):
13745 * org-feed.el (org-feed-show-raw-feed):
13746 * org-html.el (org-export-htmlize-generate-css):
13747 * org-id.el (org-id-goto):
13748 * org-irc.el (org-irc-visit-erc):
13749 * org-mobile.el (org-mobile-apply):
13750 * org-publish.el (org-publish-org-to, org-publish-find-date):
13751 * org-remember.el (org-go-to-remember-target):
13752 * org-src.el (org-src-switch-to-buffer)
13753 (org-edit-fixed-width-region): Use switch-to-buffer.
13755 2011-08-31 Martin Rudalics <rudalics@gmx.at>
13757 * org-compat.el (org-pop-to-buffer-same-window): Remove LABEL
13758 argument from pop-to-buffer-same-window call.
13760 2011-07-30 Carsten Dominik <carsten.dominik@gmail.com>
13762 * ob.el (org-babel-src-block-regexp): If a code block has a body,
13763 its last character must be a newline.
13765 2011-07-28 Bastien Guerry <bzg@gnu.org>
13767 * org-pcomplete.el: New file. Rename from org-complete.el.
13768 * org-complete.el: Delete file.
13770 2011-07-28 Bastien Guerry <bzg@gnu.org>
13772 * org-publish.el (org-publish-index-generate-theindex):
13773 Rename from `org-publish-index-generate-theindex.inc'. Use the file
13774 theindex.org directly instead of including theindex.inc.
13775 (org-publish-projects): Don't delete .orgx files.
13776 (org-publish-aux-preprocess): Use .file.orgx.
13778 2011-07-28 Bastien Guerry <bzg@gnu.org>
13780 * org-html.el (org-export-html-preamble-format): New default for
13781 the HTML preamble: don't include the title. Also improve the
13783 (org-export-html-postamble-format): Improve the docstring.
13784 (org-export-as-html): Add the title within the "content" div.
13785 This is necessary for interaction with the org-info.js script.
13787 2011-07-28 Michael Brand <michael.ch.brand@gmail.com>
13789 * org-table.el (org-table-edit-field): Display field coordinates.
13791 2011-07-28 Bastien Guerry <bzg@gnu.org>
13793 * org-publish.el (org-publish-find-title): Bugfix: kill buffers
13794 unless they were already visited.
13795 (org-sitemap-sort-files, org-sitemap-sort-folders)
13796 (org-sitemap-ignore-case, org-sitemap-requested)
13797 (org-sitemap-date-format, org-sitemap-file-entry-format):
13798 Use a correct prefix.
13799 (org-publish-projects): Make sure to delete .orgx files.
13800 (org-publish-index-generate-theindex.inc): Small docstring fix.
13802 2011-07-28 Bastien Guerry <bzg@gnu.org>
13804 * org-table.el (org-table-duration-custom-format): New defcustom
13805 to select output format of durations computations.
13806 (org-table-time-seconds-to-string): Use the new variable.
13807 (org-table-eval-formula): Allow `t' as a flag, on top of `T'. `t'
13808 will use the custom output format defined in
13809 `org-table-duration-custom-format'.
13811 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
13813 * org-list.el: Search blank lines down to the end of the item
13814 instead of stopping at the item, in order to possibly match such
13815 lines within the item.
13817 2011-07-28 Bastien Guerry <bzg@gnu.org>
13819 * org-latex.el (org-export-latex-href-format): Docstring fix to
13820 reflect the fact that you can use only one "%s".
13821 (org-export-latex-links): Allow `org-export-latex-href-format' to
13822 have only one "%s".
13824 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
13826 * org.el (org-org-menu): Add `org-copy-visible' to the menu.
13828 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
13830 * org.el (org-copy-visible): New command.
13832 2011-07-28 Bastien Guerry <bzg@gnu.org>
13834 * org-capture.el (org-capture-templates): Docstring fix.
13836 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
13838 * ob.el (org-babel-view-src-block-info): New function to inspect
13841 * ob-keys.el (org-babel-key-bindings): Key bindings for
13842 `org-babel-view-src-block-info'.
13844 2011-07-28 Bastien Guerry <bzg@gnu.org>
13846 * org-exp.el (org-infile-export-plist): Handle recursively
13847 included setup files. The value of the last included file always
13848 takes precedence over previous values.
13850 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
13852 * org.el (org-timestamp-change): Keep point in the same category
13853 when updating a time-stamp. This requires to be careful, as,
13854 depending on the locale, name of day might change of length during
13857 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
13859 * org-footnote.el (org-footnote-create-definition): When skipping
13860 already written footnotes definition, the algorithme would assume
13861 each one was only one-line long.
13863 2011-07-28 Bastien Guerry <bzg@gnu.org>
13865 * org-table.el (org-table-eval-formula): Fix bug when a formula
13866 "range" is just one cell.
13867 (org-table-time-string-to-seconds): Don't check whether we
13868 manipulate a string.
13870 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
13872 * org-exp.el (org-export-mark-list-end)
13873 (org-export-mark-list-properties): Don't remove the ending regexp
13874 when it consists in blank lines.
13876 * org-list.el (org-list-parse-list): Ditto, but remove it
13877 completely when it isn't made of blank lines (i.e. during export
13880 2011-07-28 Bastien Guerry <bzg@gnu.org>
13882 * org-table.el (org-table-time-string-to-seconds): Match either
13883 HH:MM:SS or HH:MM (instead of MM:SS).
13885 2011-07-28 Bastien Guerry <bzg@gnu.org>
13887 * org.el (org-ctrl-c-ctrl-c-final-hook): New hook to be run when
13888 `org-ctrl-c-ctrl-c' cannot do anything useful in the given
13891 2011-07-28 Bastien Guerry <bzg@gnu.org>
13893 * org-html.el (org-export-html-with-timestamp)
13894 (org-export-html-html-helper-timestamp): These are obsolete
13895 variables as of Org version 7.7 as you can already export the
13896 timestamp from the preamble or the postamble.
13897 (org-export-html-before-content-div): Delete variable.
13898 (org-export-html-content-div): Obsolete variable as of 7.7.
13899 (org-export-html-divs): New variable to define divs used in
13901 (org-export-as-html): Now the preamble and the postamble are
13902 surrounded by a <div ...>. The name of the div is defined through
13903 `org-export-html-divs'.
13905 2011-07-28 Bastien Guerry <bzg@gnu.org>
13907 * org-table.el (org-table-eval-formula): Throw an error when
13908 trying to replace complex range with invalid references.
13910 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
13912 * org-macs.el (org-with-limited-levels): Some functions, like
13913 `org-back-to-heading', being deeply based on outline-mode, still
13914 refer to `outline-regexp' instead of `org-outline-regexp'.
13916 2011-07-28 Bastien Guerry <bzg@gnu.org>
13918 * org.el (org-refile-get-targets): New optional argument
13919 `excluded-entries' to exclude entries from the targets.
13920 (org-refile-get-location): From an org-mode buffer, exclude
13921 current heading and subheadings from the list of targets when
13922 `org-refile-use-cache' is nil.
13924 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
13926 * org.el (org-imenu-get-tree): Headlines start at bol.
13928 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
13930 * ob-maxima.el: New file. Fixed self-proclaimed file name.
13932 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
13934 * ob.el (org-babel-sha1-hash): Only call `copy-seq' on proper
13937 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
13939 * org.el (org-kill-is-subtree-p): Matched string needs to start at
13942 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
13944 * org.el (org-paste-subtree, org-kill-is-subtree-p)
13945 (org-yank-folding-would-swallow-text, org-yank-generic):
13946 Use `org-with-limited-levels' macro.
13948 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
13950 * org-macs.el (org-with-limited-levels): Also modify, when
13951 appropriate, `org-outline-regexp-at-bol'.
13953 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
13955 * org.el (org-timestamp-change): Some locales don't use the same
13956 length for date abbreviations. Set a marker at origin in case
13957 length of new timestamp is different.
13959 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
13961 * org.el (org-imenu-get-tree): Browse only true headlines.
13963 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
13965 * org-archive.el (org-archive-subtree): While it might be possible
13966 to archive an headline of a temporary buffer (i.e. not visiting a
13967 file), it wouldn't be really sensible.
13969 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
13971 * org-archive.el (org-extract-archive-file)
13972 (org-extract-archive-heading, org-archive-subtree):
13973 `buffer-file-name' is nil in an indirect buffer. Thus, use
13974 `(buffer-file-name (buffer-base-buffer))', which will, in any
13975 case, return the file name.
13977 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
13979 * org-capture.el (org-capture): If dired isn't loaded,
13980 `dired-buffers' isn't defined, and %F will fail.
13982 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
13984 * ob-java.el (org-babel-execute:java): Don't create empty package
13987 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
13989 * ob-java.el: New file.
13991 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
13993 * ob.el (org-babel-execute-src-block): Replace call to defunct
13994 function `org-babel-result-hash'.
13996 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
13998 * org-footnote.el (org-footnote-in-valid-context-p): Avoid cited
13999 lines and headers in `message-mode'.
14000 (org-footnote-at-reference-p): Remove check for cited lines, this
14001 is now handled by the previous function. Refactor.
14003 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14005 * org-capture.el (org-capture): If no file is associated to
14006 current buffer, check dired buffer and try to retrieve a possibly
14007 directory associated.
14009 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14011 * ob-exp.el (org-babel-exp-results): Resolve hashes in the current
14012 (not original) file buffer.
14014 * ob.el (org-babel-current-result-hash): More informative name,
14015 and remove useless optional argument.
14017 2011-07-28 Bastien Guerry <bzg@gnu.org>
14019 * org.el (org-refile-get-location): Exclude current heading from
14022 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14024 * org-footnote.el (org-footnote-at-reference-p): Test if match is
14025 in cited text, when replying to a message.
14026 (org-footnote-new): Do not create a new footnote at bol, as it
14027 might be seen as a definition.
14028 (org-footnote-at-definition-p): Ignore definitions in forbidden
14029 blocks, as it is already the case for references.
14031 2011-07-28 Matt Lundin <mdl@imapmail.org>
14033 * org-bibtex.el (org-bibtex-create, org-bibtex-write):
14034 Change argument of `org-toggle-tag' to 'on. (Other arguments, e.g., t,
14037 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14039 * org-bibtex.el (org-bibtex-get): Don't let trimming turn nils
14040 into empty strings.
14042 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14044 * org-list.el (org-list-insert-item): Actualize code comments.
14045 (org-insert-item): For consistency, point cannot be moved at a
14046 surprising place when the user is being asked to choose a new
14047 description term to insert in the list. Point should stay where
14048 the user called the command.
14050 2011-07-28 Bastien Guerry <bzg@gnu.org>
14052 * org.el (org-outline-regexp-bol): New defconst.
14053 (org-outline-level, org-set-font-lock-defaults, org-cycle)
14054 (org-overview, org-content, org-flag-drawer)
14055 (org-first-headline-recenter, org-insert-todo-heading)
14056 (org-map-region, org-move-subtree-down, org-paste-subtree)
14057 (org-kill-is-subtree-p, org-context-p, org-refile)
14058 (org-refile-new-child, org-toggle-comment, org-todo)
14059 (org-add-planning-info, org-add-log-setup, org-scan-tags)
14060 (org-set-tags, org-insert-property-drawer)
14061 (org-prepare-agenda-buffers, org-preview-latex-fragment)
14062 (org-speed-command-default-hook, org-check-for-hidden)
14063 (org-toggle-item, org-toggle-heading)
14064 (org-indent-line-function, org-set-autofill-regexps)
14065 (org-fill-paragraph, org-toggle-fixed-width-section)
14066 (org-yank-generic, org-yank-folding-would-swallow-text)
14067 (org-first-sibling-p, org-goto-sibling)
14068 (org-goto-first-child, org-show-entry):
14069 Use `org-outline-regexp' and `org-outline-regexp-bol'.
14071 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14073 * org.el (org-update-parent-todo-statistics): COOKIE_DATA should
14074 be checked for parent, not current headline. Also, this function
14075 doesn't need to be interactive.
14077 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14079 * org-list.el (org-list-send-item, org-list-struct-apply-struct)
14080 (org-apply-on-list, org-toggle-checkbox): Make markers point
14081 nowhere when they have become useless.
14083 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14085 * org-list.el (org-list-insert-item): When insertion point is in
14086 some white line after the end of the list, remove all unnecessary
14087 white lines there before proceeding. Also refactor a snippet of
14090 2011-07-28 Bastien Guerry <bzg@gnu.org>
14092 * org-latex.el (org-export-latex-image-default-option):
14093 Change default value.
14095 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14097 * org.el (org-fontify-meta-lines-and-blocks-1): Blocks cannot be
14098 correctly fontified when the buffer is missing a final newline.
14100 2011-07-28 Bastien Guerry <bzg@gnu.org>
14102 * ob.el (org-babel-strip-protective-commas): Return `nil' instead
14103 of an error if no argument is given.
14104 (org-babel-parse-src-block-match): Make sure body is defined in
14107 2011-07-28 Jon Anders Skorpen <jonas@ifi.uio.no> (tiny change)
14109 * org-publish.el (org-publish-cache-file-needs-publishing):
14110 Regexp did not find includes with double quoted file names.
14112 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14114 * org-footnote.el (org-footnote-normalize): Footnote section
14115 should be inserted only if there are footnotes to insert.
14117 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14119 * org-footnote.el (org-footnote-at-definition-p)
14120 (org-footnote-normalize): Do not grab signature in the definition
14121 of the last footnote.
14123 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14125 * org-bibtex.el (org-babel-trim): Declare this function to the
14127 (org-bibtex-get): Trimming whitespace off of bibtex fields read from
14130 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14132 * org-exp.el (org-export-preprocess-string): Add the possibility
14133 to call recursively the function. Also change order of some
14134 function calls. Comment export process for footnotes.
14136 * org-footnote.el (org-footnote-normalize): Change the export
14137 specific parameter to hold properties of export. Thus, the
14138 function can send every footnote definition in the buffer through
14139 `org-export-process-string'.
14141 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14143 * org-latex.el (org-export-latex-preprocess): First insert
14144 footnotes in the temporary buffer so their contents can properly
14145 be protected from further transformations if required.
14147 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14149 * org-list.el (org-list-indent-offset): New variable.
14150 (org-list-struct-fix-ind): Make use of the new variable.
14152 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14154 * org-latex.el (org-export-latex-list-parameters):
14155 Complete default value with cbtrans option.
14157 * org-list.el (org-list-to-latex): Set a more consistent default
14160 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14162 * org-list.el (org-list-swap-items): Move it to a meaningful
14163 position in source code (i.e. before any function using it), and
14164 rename it to an easier name.
14166 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14168 * org-list.el (org-list-separating-blank-lines-number): If there
14169 are blank lines already in the whole list, add a blank line.
14171 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14173 * org-list.el (org-list-use-circular-move): New variable.
14174 (org-previous-item, org-next-item): Make use of the new variable.
14175 (org-move-item-down, org-move-item-up): Make use of the new
14176 variable. Simplify code.
14178 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14180 * org-list.el (org-list-delete-item, org-list-send-item):
14183 2011-07-28 Bastien Guerry <bzg@gnu.org>
14185 * org-agenda.el (org-agenda-bulk-custom-functions): New variable
14186 for custom bulk action functions.
14187 (org-agenda-bulk-action): Use it.
14189 2011-07-28 Bastien Guerry <bzg@gnu.org>
14191 * org-latex.el (org-export-latex-quotes): New defcustom.
14192 (org-export-latex-quotation-marks): Use it.
14194 2011-07-28 Bastien Guerry <bzg@gnu.org>
14196 * org-capture.el (org-capture-finalize): Bugfix about inserted
14197 blank line when killing the capture buffer and
14198 `org-blank-before-new-entry' tells to not insert anything before a
14201 2011-07-28 Bastien Guerry <bzg@gnu.org>
14203 * org-html.el (org-export-html-content-div): Rename from
14204 `org-export-content-div'.
14205 (org-export-as-html): Use new name.
14207 2011-07-28 Bastien Guerry <bzg@gnu.org>
14209 * org-latex.el (org-export-latex-header-defs-re): Delete.
14211 2011-07-28 Bastien Guerry <bzg@gnu.org>
14213 * org.el (org-last-set-property): New variable.
14214 (org-read-property-name): Use the new variable: the prompt
14215 defaults to the last property set, unless there is a property in
14218 2011-07-28 David Maus <dmaus@ictsoc.de>
14220 * org-capture.el (org-capture-before-finalize-hook)
14221 (org-capture-after-finalize-hook, org-capture-mode-map)
14222 (org-capture-mode, org-capture-goto-last-stored): Fix docstring,
14223 consistently refer to capture, not remember.
14225 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14227 * ob-clojure.el (org-babel-execute:clojure): Respects "scalar" and
14228 "verbatim" results params.
14230 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14232 * ob-awk.el (org-babel-execute:awk): Use "verbatim" as synonym for
14235 * ob-sh.el (org-babel-sh-evaluate): Use "verbatim" as synonym for
14238 * ob-sqlite.el (org-babel-execute:sqlite): Use "verbatim" as
14239 synonym for "scalar".
14241 * ob.el (org-babel-merge-params): Use "verbatim" as synonym for
14244 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14246 * ob.el (org-babel-script-escape): Parse odd parens when nested
14249 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14251 * ob-clojure.el (org-babel-execute:clojure): No longer force
14252 results into elisp if they don't naturally fit.
14254 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14256 * ob-clojure.el (org-babel-execute:clojure): Stop re-reading
14257 already parsed lisp results.
14259 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14261 * org-list.el (org-plain-list-ordered-item-terminator):
14262 Remove incorrect assumption.
14264 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14266 * org-footnote.el (org-footnote-forbidden-blocks): Add missing
14267 exporter specific blocks.
14269 * org-list.el (org-list-forbidden-blocks): Ditto.
14271 2011-07-28 Bastien Guerry <bzg@gnu.org>
14273 * org-latex.el (org-export-latex-tables): Bugfix: remove
14274 properties from fields.
14276 2011-07-28 Bastien Guerry <bzg@gnu.org>
14278 * org.el (org-shiftcontrolup, org-shiftcontroldown): New commands
14279 to use `org-clock-timestamps-change'.
14281 2011-07-28 Bastien Guerry <bzg@gnu.org>
14283 * org.el (org-timestamp-up, org-timestamp-down): Mention time
14284 changes in the docstring.
14286 2011-07-28 Bastien Guerry <bzg@gnu.org>
14288 * org-clock.el (org-clock-remove-empty-clock-drawer): New function
14289 to remove empty clock drawer.
14290 (org-clock-out-hook): Add the new function as a hook.
14292 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14294 * org-list.el (org-list-in-valid-context-p): Use `org-in-block-p'.
14296 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14298 * org.el (org-in-block-p): New function.
14300 * org-footnote.el (org-footnote-forbidden-blocks): New variable.
14301 (org-footnote-in-valid-context-p): New function.
14302 (org-footnote-at-reference-p): Use new function. Allow inline
14303 footnotes to start at bol.
14305 2011-07-28 Bastien Guerry <bzg@gnu.org>
14307 * org-lparse.el (org-lparse-use-flashy-warning): New defcustom.
14308 (org-lparse-warn): Use it.
14310 2011-07-28 Bastien Guerry <bzg@gnu.org>
14312 * org-ascii.el (org-export-as-utf8): Fix call to
14313 `org-called-interactively-p': it requires an argument. Also fix
14316 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14318 * ob-lilypond.el (show-all): Declaring function from outline.el.
14319 (org-babel-default-header-args:lilypond): Declared.
14320 (ly-process-basic): Use the appropriate prefix for the temporary
14321 file, and don't call a function from ob-dot.el.
14322 (ly-version): Let-bind a free variable.
14324 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14326 * ob-lilypond.el: New file.
14328 2011-07-28 Bastien Guerry <bzg@gnu.org>
14331 (org-publish-cache-file-needs-publishing): Only check against .org
14334 2011-07-28 Bastien Guerry <bzg@gnu.org>
14336 * org.el (org-mode): Use `org-default' as the default face in
14339 2011-07-28 Bastien Guerry <bzg@gnu.org>
14342 (org-publish-cache-file-needs-publishing): Takes care of more
14343 recently included files, returning `t' in case the file including
14344 them needs to be republished.
14346 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14348 * org-exp.el (org-export-preprocess-string): If the last subtree
14349 is a task, footnotes may be removed along with the subtree.
14350 This patch ensures footnotes are put at the end of the buffer after the
14351 subtree has been removed.
14353 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14355 * org-footnote.el (org-footnote-at-reference-p): Verify that what
14356 looks like a footnote doesn't belong to a link.
14357 (org-footnote-next-reference-or-definition): Check more strictly
14358 footnote definitions.
14360 2011-07-28 Deech <deech@deech-ThinkPad-X200.(none)> (tiny change)
14362 * ob-tangle.el (org-babel-tangle): Ignore errors thrown by
14365 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14367 * ob-python.el (org-babel-python-evaluate-session): Inhibit return
14368 of the eoe string during session evaluation.
14370 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14372 * ob-python.el (org-babel-python-evaluate-session):
14373 Enough newlines to ensure a return when ":results output :session".
14375 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14377 * ob-python.el (org-babel-python-evaluate-session): Introduced a
14378 new local function for sending input with a slight delay to allow
14379 pythong to re-draw the prompt. No longer removing newlines inside
14380 code block bodies (was due to a defective regexp).
14382 2011-07-28 Bastien Guerry <bzg@gnu.org>
14384 * org-table.el (org-table-time-seconds-to-string):
14385 Use `org-format-seconds' instead of `format-seconds'.
14387 2011-07-28 David Maus <dmaus@ictsoc.de>
14389 * org-publish.el (org-publish-cache-ctime-of-src): Properly handle
14392 2011-07-28 David Maus <dmaus@ictsoc.de>
14394 * org-latex.el (org-export-latex-preprocess): Use function
14395 argument instead of dynamically scoped symbol.
14397 2011-07-28 David Maus <dmaus@ictsoc.de>
14399 * org-freemind.el (org-freemind-convert-links-helper)
14400 (org-freemind-convert-text-p, org-freemind-write-mm-buffer)
14401 (org-freemind-get-node-style): Use org-string-match-p for backward
14402 compatibility with Emacs 22.
14404 2011-07-28 David Maus <dmaus@ictsoc.de>
14406 * org-html.el (org-export-html-protect-char-alist): Add missing
14407 :group keyword in defcustom.
14409 2011-07-28 David Maus <dmaus@ictsoc.de>
14411 * ob-haskell.el (org-babel-haskell-export-to-lhs):
14412 Call `kill-buffer' with argument indiciating to kill current
14413 buffer. Emacs 22 compatibility.
14415 2011-07-28 David Maus <dmaus@ictsoc.de>
14417 * org-macs.el (org-without-partial-completion):
14418 Toggle partial-completion-mode only if it is turned on.
14420 2011-07-28 Bastien Guerry <bzg@gnu.org>
14422 * org.el (org-add-planning-info): Fix issues with timestamps not
14423 being inserted at the same position.
14425 2011-07-28 Bastien Guerry <bzg@gnu.org>
14427 * org-table.el (org-table-time-string-to-seconds)
14428 (org-table-time-seconds-to-string): New functions.
14429 (org-table-eval-formula): Implement the "T" (time) flag for
14430 computing durations.
14432 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
14434 * org.el (org-modules): Add org-lparse and org-odt as contrib
14437 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14439 * org.el (org-fontify-meta-lines-and-blocks-1): Include header
14441 (org-additional-option-like-keywords): Include data as a synonym
14444 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14446 * ob.el (org-babel-sha1-hash): Improving code layout and removing
14447 export-variable headers in cache sha1.
14449 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14451 * ob-ref.el (org-babel-ref-goto-headline-id): Don't let `org-id'
14452 rescan all IDs when trying to resolve a reference.
14454 2011-07-28 Julien Barnier <julien@nozav.org>
14456 * org.el (org-fontify-meta-lines-and-blocks-1): Fix test for src
14457 blocks lang attribute.
14459 2011-07-28 Eric S Fraga <e.fraga@ucl.ac.uk>
14461 * org-latex.el (org-export-latex-timestamp-inactive-markup):
14462 New option to allow different markup for inactive timestamps.
14464 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14466 * ob-org.el (org-babel-expand-body:org): Implemented this
14467 function, only action is to expand variables.
14468 (org-babel-execute:org): Uses the new body-expansion function.
14470 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14472 * org-list.el (org-list-full-item-re): Allow counter and check-box
14473 to be separated by white spaces.
14474 (org-list-struct-apply-struct): Reflect changes made to
14475 `org-list-full-item-re'.
14477 * org-html.el (org-html-export-list-line): Recognize spaces
14478 between counter and check-boxes as valid.
14480 * org-docbook.el (org-export-docbook-list-line): Ditto.
14482 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14484 * org-list.el (org-list-insert-item): Make sure point is moved to
14485 the specified POS before starting the function.
14487 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14489 * org.el (org-activate-footnote-links): Properly fontify inline
14491 (org-set-font-lock-defaults): Apply changes to previous function.
14493 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14495 * org-footnote.el (org-footnote-at-reference-p): First check if
14496 point is at the beginning of a footnote. Indeed `org-in-regexp'
14497 first checks backwards and might find an incorrect footnote if
14498 they are side-by-side.
14500 2011-07-28 Michael Brand <michael.ch.brand@gmail.com>
14502 * org-agenda.el (org-agenda-compact-blocks): Improve docstring.
14503 (org-agenda-block-separator): Add nil to docstring and customization.
14504 (org-prepare-agenda): Skip agenda block separator additionally if
14505 `org-agenda-block-separator' is nil.
14506 (org-agenda-overriding-header): Improve docstring.
14508 2011-07-28 Bastien Guerry <bzg@gnu.org>
14510 * org.el (org-set-tags): Remove useless
14511 `org-without-partial-completion'.
14513 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14515 * org-footnote.el (org-fill-paragraph): Declare function for the
14518 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14520 * ob-ref.el (org-narrow-to-subtree): Declare unknown function.
14522 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14524 * ob.el (org-babel-inline-lob-one-liner-regexp): Declare variable
14525 to appease compiler.
14527 2011-07-28 Michael Markert <markert.michael@googlemail.com>
14529 * ob.el (org-babel-sha1-hash): Adding optional argument KIND to
14530 all `org-called-interactively-p' function invocations.
14532 * org-agenda.el (org-agenda-redo): Adding optional argument KIND
14533 to all `org-called-interactively-p' function invocations.
14534 (org-agenda-show-1): Adding optional argument KIND to all
14535 `org-called-interactively-p' function invocations.
14536 (org-agenda-set-tags): Adding optional argument KIND to all
14537 `org-called-interactively-p' function invocations.
14539 * org-ascii.el (org-export-as-latin1): Adding optional argument
14540 KIND to all `org-called-interactively-p' function invocations.
14541 (org-export-as-latin1-to-buffer): Adding optional argument KIND to
14542 all `org-called-interactively-p' function invocations.
14543 (org-export-as-utf8-to-buffer): Adding optional argument KIND to all
14544 `org-called-interactively-p' function invocations.
14545 (org-export-region-as-ascii): Adding optional argument KIND to all
14546 `org-called-interactively-p' function invocations.
14548 * org-docbook.el (org-export-region-as-docbook): Adding optional
14549 argument KIND to all `org-called-interactively-p' function
14552 * org-html.el (org-export-region-as-html): Adding optional
14553 argument KIND to all `org-called-interactively-p' function
14556 * org-latex.el (org-export-region-as-latex): Adding optional
14557 argument KIND to all `org-called-interactively-p' function
14560 * org-table.el (org-table-blank-field): Adding optional argument
14561 KIND to all `org-called-interactively-p' function invocations.
14562 (org-table-current-column): Adding optional argument KIND to all
14563 `org-called-interactively-p' function invocations.
14564 (org-table-current-dline): Adding optional argument KIND to all
14565 `org-called-interactively-p' function invocations.
14566 (org-table-sort-lines): Adding optional argument KIND to all
14567 `org-called-interactively-p' function invocations.
14568 (org-table-sum): Adding optional argument KIND to all
14569 `org-called-interactively-p' function invocations.
14570 (org-table-rotate-recalc-marks): Adding optional argument KIND to
14571 all `org-called-interactively-p' function invocations.
14572 (org-table-eval-formula): Adding optional argument KIND to all
14573 `org-called-interactively-p' function invocations.
14574 (orgtbl-send-table): Adding optional argument KIND to all
14575 `org-called-interactively-p' function invocations.
14577 * org.el (org-mode): Adding optional argument KIND to all
14578 `org-called-interactively-p' function invocations.
14579 (org-copy-subtree): Adding optional argument KIND to all
14580 `org-called-interactively-p' function invocations.
14581 (org-paste-subtree): Adding optional argument KIND to all
14582 `org-called-interactively-p' function invocations.
14583 (org-store-link): Adding optional argument KIND to all
14584 `org-called-interactively-p' function invocations.
14585 (org-todo): Adding optional argument KIND to all
14586 `org-called-interactively-p' function invocations.
14587 (org-occur): Adding optional argument KIND to all
14588 `org-called-interactively-p' function invocations.
14590 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14592 * org-footnote.el (org-footnote-action): Offer to create
14593 definition when none is found.
14595 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14597 * org-footnote.el (org-footnote-re): Avoid matching inactive
14598 time-stamps or check-box cookies.
14599 (org-footnote-next-reference-or-definition): Adapt to the new regexp.
14601 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14603 * org-exp.el (org-export-preprocess-string): If the last subtree
14604 is commented, footnotes inserted during normalizing at the end of
14605 the buffer may get deleted. This patch ensures deletion comes
14606 first, normalization second.
14608 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14610 * org-exp.el (org-export-footnotes-data): Change docstring.
14611 (org-export-footnotes-seen): Rename from
14612 org-export-footnotes-markers.
14614 * org-ascii.el (org-export-as-ascii): Apply change.
14616 * org-docbook.el (org-export-as-docbook): Apply change.
14618 * org-footnote.el (org-footnote-normalize): Apply change.
14620 * org-html.el (org-export-as-html): Apply change.
14622 * org-latex.el (org-export-as-latex): Apply change.
14624 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14626 * org-latex.el (org-export-latex-preprocess): Rely on
14627 `org-export-footnotes-markers' to retrieve definition of the
14628 current footnote during export.
14630 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14632 * org-footnote.el (org-footnote-normalize): Remember footnotes
14633 seen so far by the exporter when choosing the new marker.
14635 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14637 * org-footnote.el (org-footnote-normalize): Make use of
14638 `org-footnote-insert-pos-for-preprocessor'.
14640 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14642 * org-footnote.el (org-footnote-normalize): Add `org-footnote'
14643 property to footnote markers when preparing for exportation.
14645 * org-html.el (org-export-as-html): Read new property to decide
14646 when to export a footnote.
14648 * org-docbook.el (org-export-as-docbook): Read new property to
14649 decide when to export a footnote.
14651 * org-latex.el (org-export-latex-preprocess): Ensure footnote at
14652 column 0 cannot end a list containing it by adding
14653 `original-indentation' property to it.
14655 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14657 * org-exp.el (org-export-preprocess-string): Normalize footnotes
14658 before marking lists ending.
14660 * org-latex.el (org-export-latex-preprocess): Work with labels as
14661 strings and not as numbers.
14663 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14665 * org-docbook.el (org-export-docbook-footnote-separator):
14667 (org-export-as-docbook): Add a separator between footnotes.
14669 * org-html.el (org-export-html-footnote-separator): New variable.
14670 (org-export-as-html): Add a separator between footnotes.
14672 * org-latex.el (org-export-latex-footnote-separator):
14674 (org-export-latex-preprocess): Add a separator between footnotes.
14676 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14678 * org-exp.el (org-export-footnotes-markers)
14679 (org-export-footnotes-data): New variables.
14680 (org-export-preprocess-string): Use a more explicit argument.
14682 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14684 * org-footnote.el (org-footnote-goto-definition): Now, determining
14685 if point is at a footnote reference is entirely determined by
14686 `org-footnote-at-reference-p'. No need to check if pattern isn't
14687 at beginning of the line elsewhere.
14689 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14691 * org-footnote.el (org-footnote-next-reference-or-definition):
14694 * org.el (org-activate-footnote-links): Activate the whole
14695 footnote, but only fontify its label.
14697 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14699 * org-footnote.el (org-footnote-normalize): Make use of changes to
14700 `org-footnote-at-reference-p' and creation of various functions..
14702 (org-footnote-get-next-reference, org-footnote-delete-references)
14703 (org-footnote-delete-definitions): New functions.
14704 (org-footnote-goto-previous-reference, org-footnote-all-labels)
14705 (org-insert-footnote-reference-near-definition, org-footnote-delete):
14706 Rewrite to use org-footnote-get-next-reference.
14708 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14710 * org-footnote.el (org-footnote-re): Don't end an inline footnote
14711 at unrelated closing square brackets.
14712 (org-footnote-at-reference-p): Improve accuracy of the function to
14713 determine if point is at a reference and to extract definition of an
14715 (org-footnote-all-labels, org-footnote-action, org-footnote-delete)
14716 (org-footnote-auto-adjust-maybe): Make use of previous function.
14718 2011-07-28 Bastien Guerry <bzg@gnu.org>
14720 * org.el (org-deadline, org-schedule):
14721 keep warning cookie when rescheduling/redeadlining.
14722 (org-time-stamp): Fix problem with warning cookie.
14724 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14726 * ob-clojure.el (org-babel-execute:clojure): Force escaping of
14727 clojure source into elisp source.
14729 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14731 * ob.el (org-babel-script-escape): Treats {} in the same manner as
14732 [] and allows for forcing string conversion.
14734 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14736 * org-exp.el (org-export-select-backend-specific-text):
14737 Strip protective commas from literal code blocks.
14739 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14741 * ob-ref.el (org-babel-ref-goto-headline-id): Fix bug.
14743 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14745 * ob-ref.el (org-babel-ref-goto-headline-id): Split out into its
14747 (org-babel-ref-headline-body): Split out into its own function.
14748 (org-babel-ref-resolve): Using new functions, and alignment.
14750 * ob.el (org-babel-ref-goto-headline-id): Declare function.
14751 (org-babel-ref-headline-body): Declare function.
14752 (org-babel-expand-noweb-references): Now expands noweb references to
14753 headlines during expansion.
14755 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14757 * ob-ref.el (org-babel-ref-resolve): Now resolves references to
14758 headlines by either global or custom id, in which case the
14759 contents of the headline are returned literally.
14761 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14763 * ob-exp.el (org-babel-in-example-or-verbatim): Also check for in
14765 (org-babel-exp-lob-one-liners): Cleaner checking for escaped call
14768 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
14770 * org-list.el (org-cycle-item-indentation): Cycling back to
14771 original position deleted any additional information in the item,
14772 like a counter or a tag.
14774 2011-07-28 Pieter Praet <pieter@praet.org>
14776 * org-crypt.el (org-crypt-disable-auto-save): New defcustom.
14777 (org-decrypt-entry): Before decrypting, check whether
14778 `auto-save-mode' is enabled for the current buffer, and act on it
14779 according to how `org-crypt-disable-auto-save' is set. Remove
14780 comment re "encrypt[ing] Org auto-saved buffers". Remove on-init
14781 check for `auto-save-default'.
14783 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14785 * ob.el (org-babel-merge-params): Ensure variable parameters are
14788 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14790 * ob.el (org-babel-insert-result): Fix results insertion for
14791 inline blocks which happen to start a line.
14793 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14795 * ob-exp.el (org-babel-exp-lob-one-liners): Fix the logic checking
14796 if a call line is commented.
14798 2011-07-28 Vincent Belaïche <vincentb1@users.sourceforge.net>
14800 * org.el (org-read-property-name): Propose default property name.
14802 2011-07-28 Achim Gratz <stromeko@nexgo.de>
14804 * org.el (org-log-into-drawer): Correct typo.
14806 * org-clock.el (org-clock-into-drawer): New function to change the
14807 location of clock events based on properties CLOCK_INTO_DRAWER or,
14808 as fallback, LOG_INTO_DRAWER, like it is already possible for
14811 * org-clock.el (org-clock-jump-to-current-clock): Add statement to
14812 let clause to bind `org-clock-into-drawer' to result of function
14815 * org-clock.el (org-clock-find-position): Add statement to let
14816 clause to bind `org-clock-into-drawer' to result of function eval,
14817 change let to let* since the binding is used later in the same
14820 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14822 * ob-lob.el (require): Ensure 'cl is loaded during compilation so
14825 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14827 * ob-lob.el (org-babel-lob-get-info): Correctly indent results of
14828 non-inline call lines.
14830 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14832 * ob-exp.el (org-babel-exp-lob-one-liners): Don't export inline
14833 call_ blocks which aren't whitespace padded.
14835 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14837 * ob.el (org-babel-merge-params): Do not reverse variable order,
14838 and be sure to increment variable index as appropriate.
14840 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14842 * ob-lob.el (org-babel-inline-lob-one-liner-regexp): Update to
14843 successfully match optional trailing header arguments in square
14845 (org-babel-lob-get-info): Update to match the new regexp.
14847 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14849 * ob-lob.el (org-babel-lob-get-info): If the arguments are empty,
14850 then allow them to be so.
14852 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14854 * ob.el (org-babel-merge-params): If variables are not named they
14855 are assigned in order.
14857 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14859 * ob.el: Remove code comment about online documentation.
14861 * ob-exp.el: Remove code comment about online documentation.
14863 * ob-lob.el: Remove code comment about online documentation.
14865 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
14867 * org-exp.el (org-export-format-source-code-or-example):
14868 Fix signature of org-<backend>-format-source-code-or-example function.
14870 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14872 * ob.el (org-babel-sha1-hash): Replace call to
14873 called-interactively-p with backwards-compatible interactive-p.
14875 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14877 * ob-exp.el (org-babel-exp-lob-one-liners):
14878 Appropriate replacement of inline call blocks with their results.
14880 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14882 * ob-lob.el (org-babel-inline-lob-one-liner-regexp): Removing this
14883 trailing space ensures that the insertion of the results looks
14886 * ob.el (org-babel-insert-result): Insert inline lob line results
14889 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14891 * ob-exp.el (org-babel-exp-lob-one-liners): Calculate length
14892 appropriately given the style (block or inline) of the lob line.
14894 * ob-lob.el (org-babel-block-lob-one-liner-regexp): New regexp
14895 specific for block lob lines.
14896 (org-babel-inline-lob-one-liner-regexp): New regexp specific for
14898 (org-babel-lob-one-liner-regexp): Combination of two lob regexps.
14899 (org-babel-lob-get-info): Return info from *either* the block or
14902 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14904 * ob-exp.el (org-babel-exp-lob-one-liners): Corrected the
14905 structure of the resulting info list.
14907 * ob-lob.el (org-babel-default-lob-header-args): Export the
14908 results of call lines by default.
14910 2011-07-28 Niels Giesen <niels.giesen@gmail.com> (tiny change)
14912 * org-icalendar.el (org-print-icalendar-entries): Add 'uid text
14913 property based on the ID property of the org entry to the first
14914 character of the diary entry.
14916 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
14919 (org-footnote-insert-pos-for-preprocessor): New variable.
14920 (org-footnote-normalize): Use it.
14922 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
14924 * org-exp.el (org-export-format-source-code-or-example):
14925 Simplify. Also add `org-native-text' as a text property to the
14926 formatted text and throw error for unknown backends.
14928 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
14930 * org-exp.el (org-export-format-source-code-or-example):
14931 Add support for: - custom formatters for existing backends - seamless
14932 plugging in of new backends.
14934 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
14936 * org-exp.el (org-export-backends): New variable.
14937 (org-export-select-backend-specific-text): Use above
14938 variable. Also mark text between #+BACKEND and
14939 #+BEGIN_BACKEND...#+END_BACKEND with org-native-text property.
14940 This text property is currently used only by the new line-oriented
14941 generic exporter (which is not yet part of the repo).
14943 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
14945 * org-exp.el (org-export): Reserve keys 'o' and 'O' for
14946 OpenDocumentText export and bind them to `org-export-as-odt' and
14947 `org-export-as-odt-and-open'.
14949 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14951 * ob-exp.el (org-babel-exp-src-block): Less verbose when in batch
14954 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14956 * ob-clojure.el (org-babel-execute:clojure): Convert vectors to
14957 lists before reading into emacs-lisp.
14959 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14961 * ob-C.el (ob-tangle): Initialize variable from `ob-tangle'.
14963 * ob-asymptote.el (ob-tangle): Initialize variable from `ob-tangle'.
14965 * ob-awk.el (ob-tangle): Initialize variable from `ob-tangle'.
14967 * ob-clojure.el (ob-tangle): Initialize variable from `ob-tangle'.
14969 * ob-haskell.el (ob-tangle): Initialize variable from `ob-tangle'.
14971 * ob-latex.el (ob-tangle): Initialize variable from `ob-tangle'.
14973 * ob-lisp.el (ob-tangle): Initialize variable from `ob-tangle'.
14975 * ob-ocaml.el (ob-tangle): Initialize variable from `ob-tangle'.
14977 * ob-perl.el (ob-tangle): Initialize variable from `ob-tangle'.
14979 * ob-python.el (ob-tangle): Initialize variable from `ob-tangle'.
14981 * ob-ruby.el (ob-tangle): Initialize variable from `ob-tangle'.
14983 * ob-tangle.el (ob-tangle): Initialize variable from `ob-tangle'.
14985 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14987 * ob-awk.el: New file.
14989 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
14991 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp):
14992 Respects ":results verbatim".
14994 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
14996 * org-agenda.el (org-float): Aliases for `diary-float'.
14998 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15000 * ob-python.el (org-babel-python-evaluate-session):
15001 Send comint-send-input after every line when interacting with an
15002 interactive python process.
15004 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15006 * org-list.el (org-reset-checkbox-state-subtree): Make the command
15007 more robust, and correctly update check-boxes in the whole
15009 (org-update-checkbox-count): Fix bug accumulating count of checkboxes
15010 when walking a subtree.
15011 (org-update-checkbox-count-maybe): Add an optional argument passed to
15012 org-update-checkbox-count.
15014 2011-07-28 Teodor Zlatanov <tzz@lifelogs.com>
15016 * org.el (org-fontify-meta-lines-and-blocks): Ignore errors.
15018 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15020 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Respect the
15021 ":results scalar" header argument combination.
15023 2011-07-28 Dan Davison <dandavison7@gmail.com>
15025 * org-src.el: Append a space character to copied text so that the
15026 final text property change is picked up correctly.
15028 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15030 * ob-tangle.el (org-babel-tangle-file): Use the new argument list
15031 to org-babel-tangle.
15032 (org-babel-tangle): Now when called with a prefix argument, only the
15033 current code block is tangled.
15035 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15037 * org-list.el (org-list-parse-list): Replace transitional
15038 check-boxes with "[CBTRANS]" string during parsing.
15039 (org-list-to-generic): Use the new property `:cbtrans' to configure
15040 export string for transitional check-boxes.
15042 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15044 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
15045 Use stable internal `org-anniversary' instead of
15047 (org-class): New function.
15048 (org-diary-class): Use `org-class'.
15049 (org-anniversary, org-cyclic, org-date, org-block): New functions.
15051 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15053 * ob.el (org-babel-header-arg-names): Adding noweb-ref to the list
15054 of header argument names.
15056 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15058 * ob.el (org-babel-expand-noweb-references): Concatenating all
15059 bodies with the appropriate name or :noweb-ref header argument.
15061 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
15063 * org.el (org-find-dblock, org-clocktable-try-shift): Make regexp
15064 work also when #+begin line is indentex.
15066 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15068 * ob.el (org-babel-src-block-regexp): Babel: code block may have
15071 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15073 * org-macs.el (org-without-partial-completion): Avoid calling by
15074 name a function unknown to the compiler but explicitly checked by
15077 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15079 * org-mouse.el (org-agenda-earlier): Declaring previously unknown
15081 (org-agenda-later): Declaring previously unknown function.
15082 (org-agenda-mode-map): Declaring previously unknown variable.
15084 * org.el (org-read-date-analyze): Explicitly ignore the return
15085 value of a function.
15087 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15089 * org-agenda.el (org-agenda-mode): Globally replace
15090 buffer-substring-filters with filter-buffer-substring-functions.
15092 * org-indent.el (org-indent-mode): Globally replace
15093 buffer-substring-filters with filter-buffer-substring-functions.
15095 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15097 * org-ascii.el (org-export-as-ascii): Replacing '(λ...) with
15100 * org-attach.el: Replacing '(λ...) with #'(λ...).
15101 (org-attach-commit): Replacing '(λ...) with #'(λ...).
15103 * org-exp.el: Replacing '(λ...) with #'(λ...).
15104 (org-export-handle-include-files): Replacing '(λ...) with #'(λ...).
15106 * org-html.el: Replacing '(λ...) with #'(λ...).
15107 (org-export-as-html): Replacing '(λ...) with #'(λ...).
15109 * org-mouse.el: Replacing '(λ...) with #'(λ...).
15110 (org-mouse-popup-global-menu): Replacing '(λ...) with
15111 (org-mode-hook): Replacing '(λ...) with #'(λ...).
15112 (org-agenda-mode-hook): Replacing '(λ...) with #'(λ...).
15114 * org-src.el: Replacing '(λ...) with #'(λ...).
15115 (org-src-mode-configure-edit-buffer): Replacing '(λ...) with #'(λ...).
15117 * org-table.el: Replacing '(λ...) with #'(λ...).
15118 (org-table-fix-formulas-confirm): Replacing '(λ...) with #'(λ...).
15120 * org.el: Replacing '(λ...) with #'(λ...).
15121 (org-confirm-shell-link-function): Replacing '(λ...) with
15122 (org-category): Replacing '(λ...) with #'(λ...).
15124 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15126 * org.el (mailcap-parse-mailcaps): Declaring functions used by
15128 (mailcap-extension-to-mime): Declaring functions used by
15130 (mailcap-mime-info): Declaring functions used by `org-open-file'.
15132 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15134 * org-agenda.el (org-agenda-redo): Replacing call to now-defunct
15135 function `interactive-p'.
15136 (org-agenda-show-1): Replacing call to now-defunct function
15138 (org-agenda-set-tags): Replacing call to now-defunct function `interactive-p'.
15140 * org-ascii.el: Replacing call to now-defunct function
15142 (org-export-as-latin1): Replacing call to now-defunct function
15144 (org-export-as-latin1-to-buffer): Replacing call to now-defunct
15145 function `interactive-p'.
15146 (org-export-as-utf8): Replacing call to now-defunct function
15148 (org-export-as-utf8-to-buffer): Replacing call to now-defunct function
15150 (org-export-region-as-ascii): Replacing call to now-defunct
15151 function `interactive-p'.Replacing call to now-defunct function
15154 * org-docbook.el: Replacing call to now-defunct function
15156 (org-export-region-as-docbook): Replacing call to now-defunct
15157 function `interactive-p'.Replacing call to now-defunct function
15160 * org-html.el: Replacing call to now-defunct function
15162 (org-export-region-as-html): Replacing call to now-defunct
15163 function `interactive-p'.Replacing call to now-defunct function
15166 * org-latex.el: Replacing call to now-defunct function
15168 (org-export-region-as-latex): Replacing call to now-defunct
15169 function `interactive-p'.Replacing call to now-defunct function
15172 * org-macs.el: Replacing call to now-defunct function
15174 (org-called-interactively-p): Replacing call to now-defunct
15175 function `interactive-p'.Replacing call to now-defunct function
15178 * org-table.el: Replacing call to now-defunct function
15180 (org-table-blank-field): Replacing call to now-defunct function
15182 (org-table-current-column): Replacing call to now-defunct function
15183 `interactive-p'.Replacing call to now-defunct function
15185 (org-table-current-dline): Replacing call to now-defunct function
15186 `interactive-p'.Replacing call to now-defunct function
15188 (org-table-sort-lines): Replacing call to now-defunct function
15190 (org-table-sum): Replacing call to now-defunct function
15192 (org-table-rotate-recalc-marks): Replacing call to now-defunct
15193 function `interactive-p'.
15194 (org-table-eval-formula): Replacing call to now-defunct function
15196 (orgtbl-send-table): Replacing call to now-defunct function `interactive-p'.
15198 * org.el: Replacing call to now-defunct function `interactive-p'.
15199 (org-mode): Replacing call to now-defunct function
15201 (org-copy-subtree): Replacing call to now-defunct function
15203 (org-paste-subtree): Replacing call to now-defunct function
15205 (org-store-link): Replacing call to now-defunct function
15207 (org-todo): Replacing call to now-defunct function `interactive-p'.
15208 (org-occur): Replacing call to now-defunct function `interactive-p'.
15210 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15212 * ob-R.el (ess-local-process-name): This variable wasn't known to
15215 * ob-lisp.el (org-babel-lisp-dir-fmt): This defcustom now has a
15218 * ob-tangle.el (org-bracket-link-regexp): This variable wasn't
15219 known to be defined.
15220 (org-babel-tangle-combine-named-blocks): Roll my own version of a
15221 forbidden common lisp function.
15223 * ob.el (org-babel-sha1-hash): Using a non-deprecated version of
15224 called-interactively.
15226 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15228 * org-latex.el (org-export-latex-tables): Check for the
15229 "multiline" option and set the `floatp' option to true when
15230 multicolumn tables are requested.
15232 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15234 * org-html.el (org-export-as-html, org-html-level-start):
15235 Only convert section number underscores to dashes.
15237 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15239 * org-agenda.el (org-agenda-bulk-action): Fix bug caused by
15240 `days-to-time, converting relative to 1 BC, while the code assumed
15241 it would return a time relative to 1970.
15243 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15245 * ob-tangle.el (org-babel-tangle-combine-named-blocks): No longer
15246 inserting newlines between appended code blocks.
15248 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15250 * ob-exp.el: We may no longer need to export names along with code
15253 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15255 * org-exp-blocks.el (org-export-blocks-preprocess):
15256 Ensure balanced nested begin/end blocks in block bodies.
15258 2011-07-28 Dan Davison <dandavison7@gmail.com>
15260 * org-latex.el: Add -shell-escape to pdflatex commands.
15262 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15264 * ob-tangle.el (org-babel-tangle-named-block-combination):
15265 Block combination can now take a number of values.
15266 (org-babel-tangle-combine-named-blocks): More sophisticated block
15267 combination behavior.
15269 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15271 * ob-tangle.el (org-babel-tangle-do-combine-named-blocks):
15272 Switch to turn on the combination of code blocks of the same name.
15273 (org-babel-tangle-combine-named-blocks): Combine blocks of the same
15276 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15278 * ob-ruby.el (xmp): Declaring this function to appease the
15280 (org-babel-execute:ruby): "xmp" result option for outputting
15281 annotated source code.
15283 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> (tiny change)
15285 * org-list.el (org-list-to-latex): The enumerate environment in
15286 latex increments the counter before using it. Therefore, org-mode
15287 should set the enumeration counter to the desired value minus one.
15289 2011-07-28 Michael Brand <michael.ch.brand@gmail.com> (tiny change)
15291 * org.el (org-toggle-heading): More comments and fix number of
15292 stars when toggling from list items.
15294 2011-07-28 Christian Egli <christian.egli@sbszh.ch>
15296 * org-taskjuggler.el (org-taskjuggler-clean-effort): Handle any
15297 effort that is accepted by `org-duration-string-to-minutes´.
15299 2011-07-28 Julien Barnier <julien@nozav.org>
15301 * ob-sh.el (org-babel-sh-evaluate): When sending input to comint,
15302 wait until previous line execution is finished.
15304 * ob-comint.el (org-babel-comint-with-output): When looking for
15305 end-of-evaluation indicator, search forward for the indicator
15306 before searching forward for the prompt.
15308 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15310 * org-entities.el (org-entities): Fix HTML entity for degree.
15312 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15314 * org.el (org-auto-align-tags): Change docstring.
15315 (org-update-parent-todo-statistics): Keep tags aligned even when
15316 statistics cookies are shifting them.
15318 * org-list.el (org-update-checkbox-count): Keep tags aligned even
15319 when statistics cookies are shifting them.
15321 2011-07-28 Lawrence Mitchell <wence@gmx.li>
15323 * ob.el (org-babel-sha1-hash): Don't modify info argument by
15324 side-effect when sorting result-params list.
15326 2011-07-28 Lawrence Mitchell <wence@gmx.li>
15328 * ob.el (org-babel-result-regexp): Use non-shy group around
15329 `org-babel-data-names'.
15331 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15333 * org.el (org-insert-link): Set truncate-line in the *Org Link*
15334 buffer and make sure that it really is set there.
15336 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15338 * ob-lisp.el (org-babel-lisp-dir-fmt): Defcustom for use in
15339 changing how/if the current directory is represented to lisp code.
15340 (org-babel-execute:lisp): More general handling of the default
15343 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15345 * ob-lisp.el (org-babel-execute:lisp): Setting the value of
15346 *default-pathname-defaults* to either the value of the :dir header
15347 argument or the directory of the containing Org-mode file.
15349 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15351 * ob-lisp.el (org-babel-execute:lisp): No real functional change,
15354 2011-07-28 Sébastien Delafond <sdelafond@gmail.com> (tiny change)
15356 * org.el (org-mode-flyspell-verify): This is useful when using
15357 flyspell with a non-English dictionary, or if some of your
15358 keywords are in another language.
15360 2011-07-28 David Maus <dmaus@ictsoc.de>
15362 * org-exp.el (org-export): Use new compatibility function
15363 `org-activate-mark'.
15365 * org-compat.el (org-activate-mark): New function.
15366 Provide `activate-mark' if not present (e.g. Emacs 22).
15368 2011-07-28 David Maus <dmaus@ictsoc.de>
15370 * org-table.el (org-table-follow-field-mode): Declare variable to
15371 keep byte compiler happy.
15373 2011-07-28 David Maus <dmaus@ictsoc.de>
15375 * org-footnote.el (org-id-uuid): Declare function, silence byte
15378 2011-07-28 David Maus <dmaus@ictsoc.de>
15380 * org-bibtex.el (org-bibtex-headline): Don't use equalp at
15381 run-time, compare downcased strings.
15383 2011-07-28 David Maus <dmaus@ictsoc.de>
15385 * org-bibtex.el (org-id-locations): Declare variable to silence
15388 2011-07-28 David Maus <dmaus@ictsoc.de>
15390 * org-id.el (org-id-locations): Fix docstring, remove reference to
15391 non-existent option.
15393 2011-07-28 David Maus <dmaus@ictsoc.de>
15395 * org.el (org-self-insert-command): Use `delete-char' instead of
15396 `delete-backward-char'.
15398 * org-table.el (orgtbl-self-insert-command): Ditto.
15400 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15402 * org-latex.el (org-export-latex-special-chars): Save match data
15403 when checking for table.el table.
15405 2011-07-28 David Maus <dmaus@ictsoc.de>
15407 * org.el (org-re-property): Move before its first use.
15409 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15411 * org-latex.el (org-export-latex-preprocess):
15412 Add `original-indentation' property to footnotes so they cannot
15413 possibly end a list by being less indented than the item they
15416 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15418 * ob-lisp.el (org-babel-expand-body:lisp): No longer wraps biddies
15420 (org-babel-execute:lisp): Wraps bodies in `progn' as they are passed
15423 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15425 * org-clock.el (org-clocktable-write-default): Implement adding
15426 property columns to the clock table.
15428 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15430 * org.el (org-toggle-item): Move parenthesis to correct location.
15432 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15434 * org.el (org-default-priority):
15435 (org-priority-start-cycle-with-default): Improve docstring.
15436 (org-priority): Throw error when priority is out of range.
15438 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15440 * org.el (org-self-insert-command): Catch the case of
15441 `buffer-undo-list' eq t.
15443 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15445 * org.el (org-toggle-heading): Region should be considered as made
15446 of full lines, without the last one if region-end is at bol.
15447 Removed unused variables. Refactored and commented code.
15449 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15451 * org.el (org-toggle-item): When region includes an headline less
15452 indented than first one, set it as the new reference.
15454 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15456 * org-list.el (org-list-to-subtree): If the list is before first
15457 heading and `org-odd-levels-only' is non-nil, the first item gets
15458 two stars instead of one.
15460 * org.el (org-reduced-level): A level of 0 was reduced to 1 with
15461 `org-odd-levels-only' non-nil.
15463 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15465 * org.el (org-toggle-item): Converting an heading to an item would
15466 sometimes insert unnecessary spaces before it, and unwanted space
15467 with `org-indent-mode' on. Changing some text into an item
15468 wouldn't always preserve indentation.
15470 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15472 * org-capture.el (org-capture-current-plist): Improve docstring.
15473 (org-capture-put): Add docstring.
15474 (org-capture-get): Add docstring.
15475 (org-capture-member): Add LOCAL argument. Add docstring.
15476 (org-capture-set-target-location): Store the time received from a
15477 date prompt into the :prompt-time property.
15479 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15481 * org-exp.el (org-export-mark-list-properties): Even if context is
15482 invalid, mark list item with `list-context' property.
15484 * org-list.el (org-list-forbidden-blocks): Add exporters specific
15485 blocks to the list of forbidden blocks.
15487 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15489 * org-list.el (org-sort-list): Function tries to intern
15490 getkey-func before it is defined, so it's always nil.
15492 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15494 * org.el (org-babel-load-languages): Adding ob-awk to the list of
15495 executable languages.
15497 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15499 * org-table.el (org-table-get-field): Make sure the new field
15500 content is at least one space character.
15502 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15504 * org-crypt.el: Check for `daemonp' before using it.
15506 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15508 * ob-sh.el (ob-ref): Uses `ob-ref' to resolve the value of the
15509 :stdin header argument.
15510 (org-babel-execute:sh): Use the :stdin header argument.
15511 (org-babel-sh-var-to-sh): Split the bulk of this function off into a
15513 (org-babel-sh-var-to-string): New function for converting elisp
15514 values to strings that make sense for parsing with sh.
15515 (org-babel-sh-evaluate): Adding "stdin" option to session and
15516 external evaluation options.
15518 2011-07-28 Roland Kaufmann <rlndkfmn+orgmode@gmail.com> (tiny change)
15520 * org-exp.el (org-remove-formatting-on-newlines-in-region):
15522 (org-export-format-source-code-or-example):
15523 Call `org-remove-formatting-on-newlines-in-region'.
15525 2011-07-28 David Maus <dmaus@ictsoc.de>
15527 * org.el (org-entry-put): Prevent adding of extra space to value
15528 if property already exists.
15530 2011-07-28 Jambunathan K <kjambunathan@gmail.com>
15532 * org-html.el (org-export-as-html): Don't expand non-data lines of
15534 (org-html-expand): Remove the (buggy) test for non-data lines
15535 in table.el tables. The test is now done as part of
15536 org-export-as-html.
15537 (org-format-table-table-html-using-table-generate-source):
15538 Add test for spanning of cells in table.el tables using
15539 table.el's own library routine. Optionally suppress export of
15540 simple table.el tables.
15541 (org-format-table-html): Remove the (buggy) test for spanned
15542 table.el tables. The test is now done as part of
15543 org-format-table-table-html-using-table-generate-source.
15545 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15547 * org-latex.el (org-export-latex-special-chars): Do nothing in
15550 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15552 * org-capture.el (org-capture): Ignore errors when creating a
15555 2011-07-28 Nick Dokos <nick@dokosmarshall.org> (tiny change)
15557 * org-exp.el (org-export-define-heading-targets): Use dash instead
15558 of underscore to make labels valid.
15560 2011-07-28 Dan Davison <dandavison7@gmail.com>
15562 * ob-R.el (org-babel-R-write-object-command): Ensure that all data
15563 is written to the results file before Emacs notices that the file
15566 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15568 * ob-exp.el (org-babel-exp-code): Remove usage of a macro which is
15569 defined locally on my system, but not globally in Emacs.
15571 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15573 * ob-exp.el (org-babel-exp-do-export): Use `org-babel-exp-code' to
15574 generate code block output.
15575 (org-babel-exp-code): Re-create the code block body for exporting
15578 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
15580 * org.el (org-read-date): Bury Calendar buffer after using it for
15583 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15585 * org-list.el (org-list-separating-blank-lines-number):
15586 Fix confusion between point and item beginning. Now, if no
15587 information is available, truly follow user preference when it
15588 inserts blank lines manually.
15589 (org-list-insert-item): Send correct argument to the preceding
15592 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15594 * ob.el (org-babel-src-block-regexp): Keep the now-mandatory
15595 newline inside of the code block body.
15597 2011-07-28 Sean O'Halpin <sean.ohalpin@gmail.com> (tiny change)
15599 * ob.el: Avoid spurious matches to literal.
15601 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15603 * org.el (org-indent-line-function): Don't include #+include
15606 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15608 * ob-keys.el (org-babel-key-bindings): Adding key sequence for
15609 org-babel-check-src-block.
15611 * ob.el (org-babel-expand-src-block): Fit within 80 cols.
15612 (org-babel-edit-distance): Returns the edit distance of two
15614 (org-babel-check-src-block): Check a code block for errors.
15616 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
15618 * org-capture.el (org-capture-templates): Fix bug in customization
15621 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15624 (org-table-exit-follow-field-mode-when-leaving-table): New option.
15625 (org-table-check-inside-data-field): New optional argument
15626 `noerror'. When set, the function will only return nil instead of
15628 (org-table-edit-field): Interpret double prefix argument, and improve
15629 the properties of the editing window.
15630 (org-table-follow-field-mode): New minor mode.
15631 (org-table-follow-fields-with-editor): New function.
15633 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15635 * org-agenda.el (org-agenda-get-todos): Call `org-agenda-skip'
15636 first, then check if timestamps cause exclusion.
15638 * org.el (org-scan-tags): Call `org-agenda-skip' first, then check
15639 if timestamps cause exclusion.
15641 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15643 * org-list.el (org-list-full-item-re): Allow description term to
15644 have a newline character after the colons.
15646 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15648 * org-list.el (org-sort-list): No longer ignore with-case
15649 argument: the function sorted case-sensitively, regardless of
15652 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15654 * ob-ref.el (org-babel-ref-resolve): Using the new result regexp.
15656 * ob.el (org-babel-data-names): Configurable list of names of
15658 (org-babel-result-regexp): Using new results regexp.
15660 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15662 * org.el (org-special-properties): Add CLOCKSUM to the special
15665 2011-07-28 Robert P. Goldman <rpgoldman@real-time.com> (tiny change)
15667 * ob-exp.el (org-babel-exp-in-export-file):
15668 Bind `org-link-search-inhibit-query' to t to inhibit prompts.
15670 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15672 * org-exp.el (org-export-add-options-to-plist): Use the right
15675 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15677 * org-latex.el (org-export-latex-preprocess): Protect index string.
15679 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15681 * org-latex.el (org-export-latex-preprocess): Pipe index entries
15682 through `org-export-latex-fontify-headline'.
15684 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15686 * org-exp.el (org-export-add-options-to-plist): Fix the option
15689 2011-07-28 Robert P. Goldman <rpgoldman@real-time.com> (tiny change)
15691 * org-latex.el (org-export-latex-preprocess): Replace index
15694 2011-07-28 Robert P. Goldman <rpgoldman@real-time.com> (tiny change)
15696 * org.el (org-structure-template-alist): Add an easy template for
15697 index (i), and move include file to I from i.
15699 2011-07-28 Matt Lundin <mdl@imapmail.org>
15701 * org-agenda.el (org-agenda-open-link): Pass entire text of agenda
15702 line to `org-offer-links-in-entry'.
15704 2011-07-28 Matt Lundin <mdl@imapmail.org>
15706 * org-bibtex.el (org-bibtex-search): New function.
15707 (org-bibtex-export-to-kill-ring): New function. Export to kill
15709 (org-bibtex-create-in-current-entry): New function
15710 (org-bibtex-create): Make it easier to add bib fields to an
15712 (org-bibtex-export-arbitrary-fields)
15713 (org-bibtex-treat-headline-as-title): Fix typos
15714 (org-bibtex-fleshout): Don't upcase optional field; remove ":"
15715 from type completion.
15717 2011-07-28 Matt Lundin <mdl@imapmail.org>
15719 * org-bibtex.el (org-bibtex-treat-headline-as-title):
15721 (org-bibtex-headline): Only use headline text (not TODO or other
15722 metadata) to generate title field and auto key.
15723 (org-bibtex-fleshout): Allow user to choose whether to treat
15726 2011-07-28 Tom Dye <tsd@tsdye.com>
15728 * org-bibtex.el: Added crossref field to other fields.
15730 2011-07-28 Tom Dye <tsd@tsdye.com>
15732 * org-bibtex.el: Add crossref option to incollection.
15734 2011-07-28 Matt Lundin <mdl@imapmail.org>
15736 * org-bibtex.el (org-bibtex-headline): Don't export TYPE property
15739 2011-07-28 Matt Lundin <mdl@imapmail.org>
15741 * org-bibtex.el (org-bibtex-key-property): When storing key in ID,
15742 warn if a duplicate ID is generated.
15744 2011-07-28 Matt Lundin <mdl@imapmail.org>
15746 * org-bibtex.el (org-bibtex-tags): New variable.
15747 (org-bibtex-tags-are-keywords): New variable.
15748 (org-bibtex-no-export-tags): New variable.
15749 (org-bibtex-headline): Export tags as comma-separated bibtex
15751 (org-bibtex-read): Import bibtex keywords field as tags.
15753 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
15755 * org-publish.el (org-publish-find-date): Optimization.
15757 2011-07-28 Tassilo Horn <tassilo@member.fsf.org>
15759 * org-gnus.el (org-gnus-follow-link): Don't request scan of group
15760 when following link.
15762 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
15764 * org-publish.el (org-publish-project-alist): Document new
15765 :sitemap-sans-extension property.
15766 (org-publish-org-sitemap): Use new `sitemap-sans-extension'
15769 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15771 * org.el (org-remove-uninherited-tags): Rename from
15772 `org-remove-iniherited-tags'.
15773 (org-scan-tags): Fix typo in function call.
15774 (org-get-tags-at): Fix typo in function call.
15776 2011-07-28 Matt Lundin <mdl@imapmail.org>
15778 * org.el (org-get-tags-at): Don't include filetags if local is t.
15780 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15782 * ob-clojure.el (org-babel-expand-body:clojure): Qualify pp
15783 dispatch functions, wrap body in `(do )'.
15785 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15787 * org.el (org-fontify-meta-lines-and-blocks): Fix bug which
15788 resulted in the creation of multiple overlays in src blocks.
15790 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15792 * ob-clojure.el (org-babel-execute:clojure): If results are not
15793 readable by lisp, then return them as a string.
15795 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15797 * org-bibtex.el (org-bibtex): Now prompts for a file name.
15799 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15801 * org-bibtex.el (org-bibtex-create): Adding prefix argument which
15802 will result in prompting for optional fields.
15804 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15806 * org-bibtex.el (org-bibtex-headline): Rename flet function `get'
15807 which was causing compile problems.
15808 (org-bibtex-fleshout): Rename flet function `get' which was causing
15810 (org-bibtex-write): Rename flet function `get' which was causing
15813 2011-07-28 Christian Egli <christian.egli@sbszh.ch>
15815 * org-taskjuggler.el (org-taskjuggler-clean-id): Make sure an id
15816 never starts with a number.
15818 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15820 * org-bibtex.el (org-bibtex-export-arbitrary-fields): New option.
15821 (org-bibtex-key-property): New option.
15822 (org-bibtex-put): Make use of new `org-bibtex-key-property'
15824 (org-bibtex-headline): Make use of new
15825 `org-bibtex-export-arbitrary-fields' and `org-bibtex-key-property'
15827 (org-bibtex-autokey): Make use of new `org-bibtex-key-property'
15829 (org-bibtex-fleshout): Make use of new `org-bibtex-key-property'
15831 (org-bibtex-write): Make use of new `org-bibtex-key-property'
15834 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15836 * org-bibtex.el: Updating Copyright dates, author information,
15837 commentary and history notes.
15838 (org-bibtex-types): List of bibtex types with descriptions and
15839 required and optional fields.
15840 (org-bibtex-fields): List of bibtex fields with descriptions.
15841 (*org-bibtex-entries*): Special variable to hold parsed bibtex
15843 (org-bibtex-autogen-keys): Custom variable controlling whether
15844 bibtex keys are automatically generated
15845 (org-bibtex-prefix): Custom variable allowing use of optional prefix
15846 for bibtex properties in Org-mode headlines.
15847 (org-bibtex-get): Helper function for accessing bibtex elements of a
15849 (org-bibtex-put): Helper function for inserting bibtex element into
15851 (org-bibtex-headline): Return a bibtex entry of the given headline
15853 (org-bibtex-ask): Prompt the user to fill in the value of a bibtex
15855 (org-bibtex-autokey): Generate a bibtex key for the current
15857 (org-bibtex-fleshout): Fill in missing bibtex properties of the
15859 (org-bibtex): Export the current Org-mode buffer to a bibtex buffer.
15860 (org-bibtex-check): Check that all bibtex properties are present in
15861 the current headline.
15862 (org-bibtex-check-all): Check all headlines in the current buffer.
15863 (org-bibtex-create): Create a new bibtex headline at the current
15865 (org-bibtex-read): Read the current bibtex entry from a bibtex file.
15866 (org-bibtex-write): Write the most recently read bibtex entry into
15869 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15871 * org-agenda.el (org-agenda-clock-consistency-checks): Allow to
15873 (org-agenda-show-clocking-issues): Handle faces.
15875 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15877 * ob-ditaa.el (org-babel-default-header-args:ditaa): Specify utf8
15878 content by default with "-Dfile.encoding=UTF-8".
15880 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15882 * ob-ditaa.el (org-babel-execute:ditaa): New ":java" header
15885 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15887 * org-exp.el (org-export-preprocess-string): Mark list end before
15888 expanding macros. Thus, a macro inside a list and containing
15889 blank lines cannot break the list structure.
15890 (org-export-preprocess-apply-macros): Multi-lines macros get
15891 indented with the same indentation as the first line. Thus, we
15892 are sure that every line belongs to the same list as the first
15893 line, if such list exists. Also add comments in code.
15895 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15897 * org-agenda.el (org-agenda-clock-consistency-checks): New option.
15898 (org-agenda-list): Handle display change to clock check.
15899 (org-agenda-get-progress): Show only clock entries if we are doing
15900 the consistency check.
15901 (org-agenda-show-clocking-issues): New function.
15902 (org-agenda-check-clock-gap): New function.
15903 (org-agenda-view-mode-dispatch): Offer consistency check.
15904 (org-agenda-log-mode): Handle switch to clock only display.
15905 (org-agenda-set-mode-name): Show lighter for Clockcheck.
15907 * org.el (org-hh:mm-string-to-minutes): Accept an integer argument
15908 and return it unchanged.
15910 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
15912 * org-list.el (org-list-struct): When walking down the list, the
15913 function would not pay attention to drawers or blocks indentation.
15914 Thus, such constructs couldn't consistently end an item or a list.
15915 This patch ensures line indentation is stored (if applicable)
15916 before skipping them. Also fixed doc-string and comments.
15918 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15920 * org-exp.el (org-export): Add EXPORT_FILE_NAME to the enclosing
15923 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15925 * org-exp.el (org-export): Define a bound for finding enclosing
15926 tree with class/title definition.
15928 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15930 * org-exp.el (org-export): Go to next heading before searching
15931 backward, so make this also work if we are on the headline of the
15932 entry with the property.
15934 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15936 * org.el (org-promote):
15937 (org-demote): Soften the previous change, by only removing the
15938 flyspell function from after-change functions, because that was
15939 the one causing the slowdown - at least much of it.
15941 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15943 * org.el (org-promote, org-demote): Turn off
15944 after-change-functions to speed up the reindentation of text.
15946 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15948 * ob-ocaml.el (org-babel-ocaml-read-list):
15949 Use `org-babel-script-escape'.
15950 (org-babel-ocaml-read-array): Use `org-babel-script-escape'.
15952 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
15954 * org-html.el (org-html-handle-links): Add an alternate for inline
15957 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
15959 * org-agenda.el (org-agenda-bulk-action): Do not use the entries
15960 variable before it is defined.
15962 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15964 * org-src.el (org-src-lang-modes): Add a language alias of "C"
15967 2011-07-28 Shaun Johnson <shaun@slugfest.demon.co.uk> (tiny change)
15969 * ob-tangle.el (org-babel-tangle): Make it work in an indirect
15972 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
15974 * org-html.el (org-html-make-link): Correct a bug in coderef link.
15976 2011-07-28 Bernt Hansen <bernt@norang.ca>
15978 * org-agenda.el (org-agenda-filter-by-tag): Fix variable name
15981 2011-07-28 Bernt Hansen <bernt@norang.ca>
15983 * org-agenda.el (org-agenda-get-timestamps): Fix agenda display
15984 when headlines are missing.
15986 2011-07-28 Bastien Guerry <bzg@gnu.org>
15988 * org-mobile.el (org-mobile-push): Move call to hook, make it the
15989 first thing of the push operation.
15991 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15993 * ob.el (org-babel-params-from-buffer): Now looking for header
15994 arguments in #+Properties: as well as #+Babel:. Also, we're no
15995 longer caching these results into a file local variable.
15997 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
15999 * ob-python.el (org-babel-python-evaluate-external-process):
16000 Allow parsing as a table in the case of ":results output table".
16001 (org-babel-python-evaluate-session): Allow parsing as a table in
16002 the case of ":results output table".
16004 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16006 * org-agenda.el (org-agenda-bulk-action): Allow bulk scatter in
16007 all possible agenda views. Use `org-agenda-schedule' instead of
16008 `org-agenda-date-later'.
16010 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16012 * ob-emacs-lisp.el (org-babel-execute:emacs-lisp): Now supports
16015 2011-07-28 Julien Danjou <julien@danjou.info>
16017 * org.el (org-entry-get, org-entry-delete, org-entry-put)
16018 (org-property-values, org-delete-property-globally):
16019 Use `org-re-property'.
16020 (org-re-property): New function allowing to build a regexp to
16023 2011-07-28 Julien Danjou <julien@danjou.info>
16025 * org.el (org-property-values): Enhance docstring.
16027 2011-07-28 Ethan Ligon <ligon@are.berkeley.edu> (tiny change)
16029 * org-html.el (org-html-export-list-line): Fix regexp for
16030 detecting description lists to allow "::" marker to be last
16031 visible element at end of line.
16032 * org-docbook.el (org-docbook-export-list-line): Fix regexp for
16033 detecting description lists to allow "::" marker to be last
16034 visible element at end of line.
16036 2011-07-28 Julien Danjou <julien@danjou.info>
16038 * org-table.el (org-table-cleanup-narrow-column-properties):
16039 Use point-min rather than 1 when moving in the buffer.
16041 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16043 * org-list.el (org-list-in-valid-context-p): Rename from
16044 `org-list-in-valid-block-p'.
16045 (org-at-item-p,org-list-search-generic): Use renamed function.
16047 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16049 * org.el (org-set-font-lock-defaults): Be more strict when
16050 recognizing description items, and do not fontify wrong cases
16051 like: "- term ::description" or "1. term :: description".
16053 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16055 * org-latex.el: Pay attention to end of footnote. Before closing
16056 the command, ensure that list is properly closed or that last link
16057 is separated from the curly brace.
16059 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16061 * org.el (org-indent-line-function): Footnote definition must stay
16062 at column 0 to be recognized as such. Body below can have normal
16063 indentation, so it should ignore its definition when computing
16066 2011-07-28 Bastien Guerry <bzg@gnu.org>
16068 * org-protocol.el (org-protocol-remember, org-protocol-capture):
16069 More appropriate message.
16071 2011-07-28 Bastien Guerry <bzg@gnu.org>
16073 * org-capture.el (org-capture-clock-keep): New local variable.
16074 (org-capture, org-capture-finalize): Use it and fix a bug when
16075 :clock-keep is set to `t'.
16077 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
16079 * org-exp.el (org-export-preprocess-string): Handle include files
16080 before processing macros.
16082 2011-07-28 Bernt Hansen <bernt@norang.ca>
16084 * org-agenda.el: Remove obsolete code for adding todo list in
16085 front of the agenda.
16087 2011-07-28 Lawrence Mitchell <wence@gmx.li>
16089 * org-latex.el (org-export-latex-convert-table.el-table):
16090 Fix format-string for insertion of captions.
16092 2011-07-28 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
16094 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
16097 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
16099 * org.el (org-read-date-analyze): Help matching dotted European
16100 dates, like 31. 12. 2007
16102 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16104 * ob-lisp.el (org-babel-execute:lisp): Fix typo.
16106 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16108 * ob-lisp.el (org-babel-execute:lisp): Turn vectors into lists
16109 before reading by elisp.
16110 (org-bable-lisp-vector-to-list): Stub of a vector->list function,
16111 should be replaced with a cl-vector->el-vector function.
16113 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16115 * ob-lisp.el (org-babel-execute:lisp): Now using
16116 `org-babel-reassemble-table' to apply the appropriate header
16117 arguments to results.
16119 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16121 * org.el (org-end-of-meta-data-and-drawers): New function.
16123 * org-capture.el (org-capture-place-plain-text): Implement adding
16124 plain text templates to Org nodes.
16126 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16128 * org-beamer.el (org-beamer-environments-extra): Fix docstring.
16130 2011-07-28 Lawrence Mitchell <wence@gmx.li>
16132 * org-exp.el (org-export-handle-comments): Add the org-protected
16133 property to the replacement string.
16135 2011-07-28 Lawrence Mitchell <wence@gmx.li>
16137 * org-html.el (org-export-as-html, org-html-level-start):
16138 Fix logic for section number printing when NUM is an integer.
16140 2011-07-28 Lawrence Mitchell <wence@gmx.li>
16142 * org-latex.el (org-export-latex-special-chars): Fix regexp for
16143 `single' special characters and ellipsis.
16145 2011-07-28 Lawrence Mitchell <wence@gmx.li>
16147 * org.el (org-point-at-end-of-empty-headline):
16148 Bind `case-fold-search' to nil.
16150 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16152 * org-capture.el (org-capture-fill-template): Resolve new %<...>
16154 (org-capture-templates): Document new %<...> template escape.
16156 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16158 * ob.el (org-babel-process-params): Make this function idempotent,
16159 as it will sometimes be called multiple times.
16161 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16163 * org.el (org-ts-regexp-both): Add "]" to class of characters that
16164 should not be matched.
16165 (org-ts-regexp0, org-ts-regexp1): Do not start a class with
16166 "^]-+", because that tries to (not) match characters between "]"
16167 and "+". Instead, move the "-" to the end of the class where it
16170 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16172 * ob-R.el (org-babel-edit-prep:R): Associate the appropriate R
16173 process with the edit buffer when :session is specified.
16175 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16177 * ob-tangle.el (org-babel-tangle-collect-blocks): Brought the link
16178 extraction code into line with a newer version of the
16179 `org-store-link' function.
16181 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16183 * ob-lisp.el (org-babel-expand-body:lisp): New body expansion
16184 wrapping the expression in either a let or progn, and possibly a
16185 pretty-print function invocation.
16186 (org-babel-execute:lisp): Greatly simplified method of executing
16189 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16191 * org-list.el: Move `org-update-checkbox-count-maybe' call outside
16192 of ̀save-excursion' to get back to original position.
16194 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16196 * org.el (org-numbered-action-format): New option.
16197 (org-new-numbered-action): New command.
16198 (org-collect-todos-in-subtree): New command.
16200 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16202 * org-exp.el (org-export-with-tasks): New option.
16203 (org-export-plist-vars): Add :tasks property.
16205 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16207 * org-ascii.el (org-export-as-ascii): Pass the :done-tasks
16208 property to the export preprocessor.
16210 * org-docbook.el (org-export-as-docbook): Pass the :done-tasks
16211 property to the export preprocessor.
16213 * org-html.el (org-export-as-html): Pass the :done-tasks property
16214 to the export preprocessor.
16216 * org-latex.el (org-export-as-latex): Pass the :done-tasks
16217 property to the export preprocessor.
16219 * org-exp.el (org-export-with-done-tasks): New option.
16220 (org-export-plist-vars): Add entry for :done-tasks.
16221 (org-export-preprocess-string): Call `org-export-remove-done-tasks'.
16222 (org-export-remove-done-tasks): New function.
16224 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16226 * org-latex.el (org-export-latex-keywords-maybe): Protect # in
16229 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16231 * org.el (org-find-olp): Use the level of the correct match to
16234 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16236 * org-list.el (org-toggle-checkbox): Build value of
16237 org-keyword-time-regexp instead of using it directly, as it's
16238 buffer-local, and function might be called outside Org.
16240 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16242 * org-list.el (org-list-struct,org-in-item-p): Don't assume end of
16243 blocks or drawers necessarily start somewhere. It it isn't the
16244 case, treat them as normal text.
16246 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16248 * ob-exp.el (org-babel-exp-results): Use code block name when
16249 finding cached results.
16251 2011-07-28 Julien Danjou <julien@danjou.info>
16253 * org-latex.el (org-export-latex-date-format): Change default date
16254 format to \today. This has the same result but respects the
16255 language set in the document by default.
16257 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16259 * org-list.el (org-list-checkbox): When called from an headline,
16260 function would normally skip drawers, but not if a SCHEDULED or
16261 DEADLINE keyword is standing before the drawer. Also avoid
16262 problems if function is called in buffers not is Org mode.
16264 2011-07-28 Bastien Guerry <bzg@gnu.org>
16266 * org-clock.el (org-clock-report): Change the scope of the
16267 inserted clock report depending on whether the point is within a
16268 subtree (:scope subtree) or not (:scope file).
16270 2011-07-28 Puneeth Chaganti <punchagan@gmail.com>
16272 * org-html.el (org-export-as-html): Fix export of footnotes
16273 containing lists, tables, quotes, etc.
16275 2011-07-28 Lawrence Mitchell <wence@gmx.li>
16277 * org-latex.el (org-export-latex-preprocess): Correctly match
16278 starred command names.
16280 2011-07-28 Lawrence Mitchell <wence@gmx.li>
16282 * org-html.el (org-export-as-html): Get local value of
16283 org-export-with-section-numbers from the buffer's plist.
16284 Deal specially with the case the resulting value is an integer.
16285 (org-html-level-start): New optional argument of the option plist used
16286 instead of `org-export-with-section-numbers'. Also deal specially
16287 with the case that the value is an integer.
16289 2011-07-28 Lawrence Mitchell <wence@gmx.li>
16291 * org-latex.el (org-export-latex-subcontent): Deal specially with
16292 the case that NUM is an integer.
16294 2011-07-28 Bastien Guerry <bzg@gnu.org>
16296 * org-protocol.el (org-protocol-do-capture): Allow template keys
16298 (org-protocol-default-template-key): Update the docstring to
16299 reflect the change in `org-protocol-do-capture'.
16301 2011-07-28 Christian Egli <christian.egli@sbszh.ch>
16303 * org-taskjuggler.el: Fix a typo in the commentary.
16305 2011-07-28 Christian Egli <christian.egli@sbszh.ch>
16307 * org-taskjuggler.el (org-taskjuggler-open-task): Only emit a
16308 "purge allocations" statement if we are not targeting tj3.
16310 2011-07-28 Christian Egli <christian.egli@sbszh.ch>
16312 * org-taskjuggler.el (org-taskjuggler-assign-resource-ids):
16313 Replace recursive implementation with an iterative one.
16315 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16317 * ob-sh.el (org-babel-sh-var-to-sh): Fix insertion of tabular
16318 data into shell variables.
16320 2011-07-28 David Maus <dmaus@ictsoc.de>
16322 * org-html.el (org-html-handle-time-stamps): Protected linebreak
16323 element after timestamp markup.
16325 2011-07-28 David Maus <dmaus@ictsoc.de>
16327 * org-html.el (org-html-handle-links): Don't protect img tag in
16330 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16332 * org-table.el (org-table-formula-handle-first/last-rc):
16335 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16337 * org-list.el (org-in-item-p): Re-build `org-drawer-regexp',
16338 whatever the major mode is.
16340 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16342 * org-inlinetask.el (org-inlinetask-export-templates): Fix default
16344 (org-inlinetask-export-handler): Ensure contents of inline task,
16345 if any, starts and ends with a newline character. Refactor and
16348 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16350 * org-capture.el (org-datetree-find-date-create): Lower-case for
16351 variable names in `define-function' form.
16353 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16355 * org-table.el (org-table-convert-region): Throw error when
16356 SEPARATOR is smaller than 1.
16358 2011-07-28 Julien Danjou <julien@danjou.info>
16360 * org-colview.el (org-columns-display-here): Fix heading retrieval
16363 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16365 * org-latex.el (org-export-latex-preprocess): Last brace shouldn't
16366 be on the same line as a list end marker.
16368 2011-07-28 Julien Danjou <julien@danjou.info>
16370 * org.el (org-icompleting-read): Do not use useless lambda.
16372 2011-07-28 Julien Danjou <julien@danjou.info>
16374 * org-agenda.el (org-format-agenda-item): Fix length computing.
16376 2011-07-28 Julien Danjou <julien@danjou.info>
16378 * org-agenda.el (org-format-agenda-item): Fix comment and use
16379 `add-text-properties'.
16381 2011-07-28 Julien Danjou <julien@danjou.info>
16383 * org-agenda.el (org-agenda-highlight-todo): Remove useless
16386 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16388 * org-list.el (org-list-to-generic): Set a default term for
16389 ill-formed description lists. Do not insert newline characters
16391 (org-list-to-texinfo,org-list-to-html): Apply changes to
16392 `org-list-parse-liste'.
16394 2011-07-28 Bastien Guerry <bzg@gnu.org>
16396 * org-clock.el (org-clock-clocktable-language-setup): Add a
16398 (org-clocktable-write-default): Use the new localized string
16399 in `org-clock-clocktable-language-setup'.
16401 2011-07-28 Bastien Guerry <bzg@gnu.org>
16403 * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness):
16404 (org-taskjuggler-assign-resource-ids): Replace recursive
16405 implementation with an iterative one.
16407 2011-07-28 Christian Egli <christian.egli@alumni.ethz.ch>
16409 * org-taskjuggler.el (org-taskjuggler-components): Escape quotes
16412 2011-07-28 Christian Egli <christian.egli@alumni.ethz.ch>
16414 * org-taskjuggler.el (org-taskjuggler-compute-task-leafiness):
16415 Compute the leafiness of a node.
16416 (org-taskjuggler-open-task, org-export-as-taskjuggler): Mark a
16417 node as a milestone if it is a leaf and has no effort.
16419 2011-07-28 Christian Egli <christian.egli@alumni.ethz.ch>
16421 * org-taskjuggler.el (org-export-taskjuggler-target-version):
16422 (org-taskjuggler-targeting-tj3-p): Add some minimal infrastructure
16423 to handle export to both tj2 and tj3.
16424 (org-taskjuggler-open-task): Use a different way to purge
16425 allocations for tj2 and tj3.
16427 2011-07-28 Matt Lundin <mdl@imapmail.org>
16429 * org-footnote.el (org-footnote-auto-label): New random option.
16431 * org-footnote.el (org-footnote-new): Create random footnote
16432 labels with unique ids.
16434 2011-07-28 Matt Lundin <mdl@imapmail.org>
16436 * org-footnote.el (org-footnote-create-definition): Allow for
16437 footnote sections above the current footnote insertion point.
16439 2011-07-28 Matt Lundin <mdl@imapmail.org>
16441 * org-footnote.el (org-footnote-create-definition): Don't search
16442 for last footnote when in org-mode file.
16444 2011-07-28 Bastien Guerry <bzg@gnu.org>
16446 * org-html.el (org-export-as-html): Handle links with
16447 `org-html-handle-links' after we handle special characters
16449 (org-html-make-link, org-export-html-format-image):
16450 Don't protect html with @ anymore, as links are now handled after
16451 special characters conversions.
16453 2011-07-28 Julien Danjou <julien@danjou.info>
16455 * org-agenda.el (org-agenda-get-timestamps):
16456 (org-agenda-get-scheduled): Fix call to `org-format-agenda-item'.
16457 (org-format-agenda-item): Remove no-prefix argument.
16458 (org-agenda-change-all-lines): Call org-format-agenda-item without the
16459 no-prefix argument.
16461 2011-07-28 Julien Danjou <julien@danjou.info>
16463 * org-agenda.el (org-agenda-highlight-todo): Stop using
16465 (org-cmp-alpha): Stop using prefix-length.
16466 (org-agenda-open-link): Stop using prefix-length.
16467 (org-agenda-change-all-lines): Stop using prefix-length.
16469 * org-colview.el (org-columns-display-here): Stop using
16470 prefix-length. Always return claned items.
16472 * org-mobile.el (org-mobile-write-agenda-for-mobile): Stop using
16475 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16477 * ob-tangle.el (org-babel-tangle-collect-blocks): Don't call
16478 `org-store-link' interactively as it can confuse the setting of
16479 `org-link-to-org-use-id' and cause undue edits to the org-mode
16480 buffer during tangling.
16482 2011-07-28 David Maus <dmaus@ictsoc.de>
16484 * org-html.el (org-export-html-format-image): Protect <p> element
16487 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16489 * org.el (org-read-date-force-compatible-dates): New option.
16490 (org-read-date, org-read-date-analyze): Check representable date range.
16492 2011-07-28 Bastien Guerry <bzg@gnu.org>
16494 * org-html.el (org-export-as-html): Fix export of email.
16496 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16498 * ob-tangle.el (org-babel-spec-to-string): Check value of padline
16499 on tangling, no longer use the now-removed variable
16500 `org-babel-tangle-pad-newline'.
16502 * ob.el (org-babel-header-arg-names): Add padline to the list of
16503 header argument names.
16504 (org-babel-default-header-args): Set the default value of padline to
16506 (org-babel-merge-params): Cleaned up the merge logic, added padline.
16508 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16510 * ob.el (org-babel-header-arg-names): Adding "shebang" to known
16511 code block header argument names.
16513 2011-07-28 Bastien Guerry <bzg@gnu.org>
16515 * org-crypt.el: Remove useless TODO in comments.
16517 2011-07-28 Bastien Guerry <bzg@gnu.org>
16519 * org-html.el (org-export-as-html): The default postamble now only
16520 export a date paragraph if `org-export-time-stamp-file' is
16523 2011-07-28 Bastien Guerry <bzg@gnu.org>
16525 * org-exp.el (org-export-xml): Remove the defgroup of
16528 2011-07-28 Bastien Guerry <bzg@gnu.org>
16530 * org-html.el (org-export-html-insert-plist-item): Remove.
16531 (org-export-html-preamble): Default to `t'. Accept functions.
16532 (org-export-html-postamble): Default to `auto'.
16533 Accept functions and distinguish between 'auto (no formatting string)
16534 and `t' (default formatting string).
16535 (org-export-as-html): Handle org-export-html-preamble and
16536 org-export-html-postamble new defaults/allowed values.
16537 Define email and creator-info before using them.
16539 2011-07-28 Bastien Guerry <bzg@gnu.org>
16541 * org-html.el (org-export-html-protect-char-alist): Fix typo in
16542 custom type definition.
16544 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16546 * ob-exp.el (org-babel-exp-do-export): Now runs for empty :session
16549 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16551 * org-list.el (org-list-parse-list): Fix regexp.
16553 2011-07-28 David Maus <dmaus@ictsoc.de>
16555 * org-html.el (org-export-html-format-image): Protect image
16558 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16560 * ob-tangle.el (org-babel-tangle-body-hook): Hook for changing the
16561 contents of a code block body on export.
16562 (org-babel-tangle-collect-blocks): Apply
16563 `org-babel-tangle-body-hook' to the collected bodies of code blocks.
16565 2011-07-28 David Maus <dmaus@ictsoc.de>
16567 * org-html.el (org-html-make-link, org-html-handle-links):
16568 Protect generated XHTML elements.
16569 (org-export-as-html): Expand character entities after creating markup
16570 for links and timestamps.
16572 2011-07-28 Bastien Guerry <bzg@gnu.org>
16574 * org-html.el (org-export-as-html): Bugfix: insert email
16577 2011-07-28 Bastien Guerry <bzg@gnu.org>
16579 * org-html.el: Bugfix: prevent infinite matching of the `&'
16582 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16584 * org.el (org-fill-paragraph): `fill-forward-paragraph' function
16585 has been introduced with emacs 23.1.
16587 2011-07-28 Bastien Guerry <bzg@gnu.org>
16589 * org-attach.el: Allow to store a link to the attach-dir location.
16591 2011-07-28 Puneeth Chaganti <punchagan@gmail.com>
16593 * org-agenda.el (org-agenda-bulk-action): Allow the user to run a
16596 2011-07-28 Bernt Hansen <bernt@norang.ca>
16598 * org-clock.el (org-clock-in): Allow clocking in new tasks
16599 inserted before the current clocking task.
16601 2011-07-28 Bernt Hansen <bernt@norang.ca>
16603 * org-clock.el (org-clock-in): Set default clocking task when
16604 already clocking the task.
16606 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16608 * org.el (org-adaptive-fill-function): When a region is specified
16609 first line of paragraph isn't skipped, so fill-paragraph have to
16610 be computed even if point is at an item.
16612 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16614 * org-list.el (org-list-in-valid-block-p): New function.
16615 (org-at-item-p,org-list-search-generic): Use new function.
16617 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16619 * org.el (org-indent-line-function): Text in both a list and a
16620 valid block is indented with regards to current item, not to block
16623 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
16625 * org-html.el (org-format-org-table-html): Fix anchors in HTML
16626 export (thanks to <aankhen@gmail.com>)
16627 (org-html-protect): Fix a bug that prevents some target to be
16628 rendered correctly.
16630 2011-07-28 Bastien Guerry <bzg@gnu.org>
16632 * org.el (org-default-properties): Add EXPORT_TEXT.
16634 2011-07-28 Matt Lundin <mdl@imapmail.org>
16636 * org-footnote.el (org-footnote-create-definition)
16637 (org-insert-footnote-reference-near-definition): Fix sorting
16640 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
16642 * org-html.el (org-export-as-html): Bugfix: don't insert closing
16643 HTML tags when exporting body only.
16645 2011-07-28 Jason Dunsmore <emacs-orgmode@deathroller.dunsmor.com> (tiny change)
16647 * org.el (org-back-over-empty-lines): Bugfix.
16648 Honor `org-blank-before-new-entry' correctly in various contexts.
16650 2011-07-28 Bastien Guerry <bzg@gnu.org>
16652 * org-macs.el (org-with-wide-buffer): Bugfix: use `save-excursion'
16653 and `save-restriction'.
16655 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16657 * org-timer.el (org-timer-item): `save-excursion' prevents
16658 `org-list-struct' to get the list structure when point isn't on
16659 the first line of the item.
16661 2011-07-28 Bastien Guerry <bzg@gnu.org>
16663 * org-capture.el (org-capture-templates): New option
16665 (org-capture): Use the new option.
16667 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16669 * org-list.el (org-update-checkbox-count): Ensure cookies on an
16670 heading are correctly updated when checkboxes are hidden.
16671 It allows, for example, to use C-c C-x C-b on a collapsed tree and
16672 still get the update.
16674 2011-07-28 David Maus <dmaus@ictsoc.de>
16676 * org-exp.el (org-export-visible): Accept keys for
16677 `org-export-as-html-to-buffer' and `org-export-region-as-html'.
16679 2011-07-28 Bastien Guerry <bzg@gnu.org>
16681 * org.el (org-duration-string-to-minutes): Don't use
16684 2011-07-28 Lawrence Mitchell <wence@gmx.li>
16686 * org.el (org-effort-durations): New variable.
16688 * org.el (org-duration-string-to-minutes): New function.
16690 * org-agenda.el (org-agenda-filter-effort-form)
16691 (org-format-agenda-item): Use it.
16693 * org-clock.el (org-clock-notify-once-if-expired)
16694 (org-clock-modify-effort-estimate, org-clock-get-clock-string): Use it.
16696 2011-07-28 Bastien Guerry <bzg@gnu.org>
16698 * org-agenda.el (org-agenda-run-series): Rename from
16699 `org-run-agenda-series'.
16701 2011-07-28 Bastien Guerry <bzg@gnu.org>
16703 * org-capture.el: Don't allow currentfile anymore.
16705 2011-07-28 Bastien Guerry <bzg@gnu.org>
16707 * org-agenda.el (org-agenda-list): Fix bug: don't rely on
16708 `org-agenda-current-span' when calling `org-agenda-list'.
16710 2011-07-28 Bastien Guerry <bzg@gnu.org>
16712 * org-capture.el (org-capture-put-target-region-and-position):
16713 New function to store information about the target buffer.
16714 (org-capture-set-target-location): Use it.
16715 (org-capture-finalize): Restore the target buffer in its
16716 possibly narrowed state. Also restore the cursor position.
16718 2011-07-28 Bastien Guerry <bzg@gnu.org>
16720 * org-crypt.el (auto-save-default): Make sure entries are
16721 encrypted before auto-saving.
16723 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16725 * org-inlinetask.el (org-inlinetask-promote)
16726 (org-inlinetask-demote): New functions.
16728 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16730 * org.el (org-demote-subtree,org-promote-subtree):
16731 Wrap `org-map-tree' into `org-with-limited-levels' macro, so it avoids
16732 operating on inline tasks.
16734 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16736 * org.el (org-narrow-to-subtree): Ensure `org-back-to-heading'
16737 will move point to a real heading and not an inline task by
16738 wraping function into a `org-with-limited-levels' macro.
16740 2011-07-28 Bastien Guerry <bzg@gnu.org>
16742 * org-capture.el (org-capture-finalize): New argument clock-out,
16743 to tell whether finalizing the capture process should clock out
16745 (org-capture): Use the new argument.
16747 2011-07-28 Bastien Guerry <bzg@gnu.org>
16749 * org.el (org-refile-get-targets): Rename from
16750 `org-get-refile-targets'.
16752 2011-07-28 Bastien Guerry <bzg@gnu.org>
16754 * org-exp.el (org-export-table-remove-empty-lines): New custom
16756 (org-export-remove-special-table-lines): Use it.
16758 2011-07-28 Bastien Guerry <bzg@gnu.org>
16760 * org-table.el (org-table-fix-formulas-confirm): New custom
16762 (org-table-insert-column, org-table-delete-column)
16763 (org-table-move-column, org-table-move-row)
16764 (org-table-insert-row, org-table-kill-row): Use it.
16766 2011-07-28 Tassilo Horn <tassilo@member.fsf.org>
16768 * org.el (org-refile-get-location): Set and show default value.
16769 (org-goto, org-refile): Adapt calls.
16771 2011-07-28 Bastien Guerry <bzg@gnu.org>
16773 * org-mobile.el (org-mobile-files-exclude-regexp): New custom
16775 (org-mobile-files-alist): Use it.
16777 2011-07-28 Bastien Guerry <bzg@gnu.org>
16779 * org.el (org-todo): Bugfix: use `org-with-wide-buffer' to check
16780 against headings outside of a narrowed buffer.
16782 2011-07-28 Bastien Guerry <bzg@gnu.org>
16784 * org.el (org-confirm-shell-link-not-regexp)
16785 (org-confirm-elisp-link-not-regexp): New custom variables.
16786 (org-open-at-point): Use the new custom variables.
16788 2011-07-28 Lawrence Mitchell <wence@gmx.li>
16790 * org-latex.el: Place \title \author \date before
16793 2011-07-28 Bastien Guerry <bzg@gnu.org>
16795 * org-html.el (org-export-html-preamble)
16796 (org-export-html-postamble): Now default to `nil'.
16797 (org-export-as-html): When :html-pre/postamble is nil, fall
16798 back on the default pre/postamble, which depends on the
16799 :author-info, :email-info, :creator-info options.
16801 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16803 * ob-exp.el (org-babel-exp-results): Don't use cached results if
16806 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16808 * org-table.el (org-table-eval-formula): Treat relative column
16811 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16813 * org-table.el (org-table-use-standard-references): Change default
16816 2011-07-28 Bastien Guerry <bzg@gnu.org>
16818 * org.el (org-move-subtree-down): Leave the cursor at the same
16821 2011-07-28 Bastien Guerry <bzg@gnu.org>
16823 * org-attach.el (org-attach-store-link-p): New variable.
16824 (org-attach-store-link): New function.
16825 (org-attach-attach): When `org-attach-store-link-p' is
16826 non-nil, store a link in `org-stored-links' to a newly
16829 2011-07-28 Bastien Guerry <bzg@gnu.org>
16831 * org-exp.el (org-export-remove-headline-metadata): Bugfix: don't
16832 case-fold-search to avoid mixing TODO keywords with real headline
16835 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16837 * org-table.el (org-table-fedit-finish): Read more general LHS of
16839 (org-table-formula-handle-@L): New function to hanle @L references.
16840 (org-table-current-ncol): New variable.
16841 (org-table-line-to-dline): New function.
16842 (org-table-get-stored-formulas): Accept range formulas as matches.
16843 (org-table-get-specials): Compute and store the number of columns.
16844 (org-table-get-range): New optional argument CORNERS-ONLY, to retrieve
16845 only the region marked by the range, not the content.
16846 (org-table-recalculate): Call `org-table-expand-lhs-ranges' to expand
16847 range targets. Also check for duplicate access to fields.
16848 (org-table-expand-lhs-ranges): New funktion.
16849 (org-table-get-remote-range): Bind `org-table-current-ncol' to protect
16850 the caller's value.
16851 (org-table-edit-formulas): Support highlighting of range targets.
16852 (org-table-field-info): Handle renge formulas.
16854 2011-07-28 Bastien Guerry <bzg@gnu.org>
16856 * org-html.el (org-export-html-postamble-format)
16857 (org-export-html-preamble-format): Explain how to escape the
16860 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16862 * ob.el (org-babel-read): Read string variable values wrapped in
16863 double quotes, removing the quotes.
16865 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16867 * ob-exp.el (org-babel-exp-results): Ensure that processed params
16868 are send to org-babel-execute-src-block.
16870 2011-07-28 Bastien Guerry <bzg@gnu.org>
16872 * org-special-blocks.el
16873 (org-special-blocks-make-special-cookies):
16874 Use `org-export-current-backend'.
16876 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16878 * ob-exp.el (org-babel-exp-in-export-file): Now takes the language
16880 (org-babel-exp-src-block): Explicitly pass language to
16881 `org-babel-exp-in-export-file'.
16882 (org-babel-exp-inline-src-blocks): Remove unused code.
16883 (org-babel-exp-results): Explicitly pass language to
16884 `org-babel-exp-in-export-file'.
16886 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16888 * ob-calc.el (org-babel-execute:calc): Unquote quoted vectors
16889 returned from calc-eval.
16891 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16893 * ob.el (org-babel-read): Pass elisp vectors through to code
16896 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16898 * ob.el (org-src-lang-modes): Defvar.
16899 (org-at-item-p): Declare function.
16901 * ob-calc.el (calc-store): Require.
16902 (var-syms): Defvar.
16904 * ob-python.el (py-default-interpreter): Defvar.
16906 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16908 * org-exp-blocks.el (backend): defvar.
16910 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16912 * org-agenda.el (org-agenda-get-scheduled):
16913 (org-agenda-get-timestamps): Bind local variable `show-all'.
16915 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
16917 * ob-ref.el (org-at-item-p): Declare function.
16919 * org-agenda.el (diary-time-regexp): defvar.
16921 * org-archive.el (org-archive-subtree): Bind local variable
16924 * org-capture.el (org-capture-insert-template-here): Get template
16925 text from property list, to avoid byte compiler message.
16927 * org-latex.el (org-export-latex-tables): Bind local variable
16930 * org-special-blocks.el (org-compat): Add require statement.
16932 * org-table.el (orgtbl-ctrl-c-ctrl-c): Bind local variable
16935 * org.el (org-eval): Move function here from org-agenda.el.
16937 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16939 * ob.el (org-babel-read-table): Inhibit lisp evaluation of values
16940 when reading from tables.
16941 (org-babel-read-list): Inhibit lisp evaluation of values when
16942 reading from lists.
16943 (org-babel-read): Add optional argument which can be used to inhibit
16944 lisp evaluation of value.
16946 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16948 * ob-table.el (sbe): Ensure that ob-trim is only called on
16951 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16953 * ob-exp.el (org-babel-exp-results): On export, ensure that the
16954 result hash is resolved in the original org-mode file.
16956 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16958 * org-exp.el (org-export-mark-list-end): Change end marker.
16960 * org-docbook.el (org-export-docbook-list-line): Use new marker.
16962 * org-html.el (org-html-export-list-line): Use new marker.
16964 * org-latex.el (org-export-latex-lists): Use new marker.
16966 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
16968 * org-latex.el (org-export-latex-lists): Make sure markers used
16969 for export are taken into account by temporarily setting an
16970 appropriate value for `org-list-ending-method'.
16972 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16974 * org-exp-blocks.el (org-exp-blocks-block-regexp): Wrapping block
16975 regexp into its own variable, also allowing match of empty bodies.
16976 (org-export-blocks-preprocess): Using new regexp variable.
16978 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16980 * ob.el (org-babel-src-block-regexp): Code block regexp now
16981 matches blocks with empty bodies.
16983 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16985 * ob.el (org-babel-script-escape): If script escaped value doesn't
16986 parse cleanly, then return it literally.
16988 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16990 * ob-exp.el (org-babel-exp-src-block): When block will eventually
16991 be evaluated, pre-calculate the hash before noweb expansion, and
16992 expand the parameters before hash calculation.
16993 (org-babel-exp-do-export): Pass pre-calculated hash through to
16994 `org-babel-exp-results'.
16995 (org-babel-exp-results): Compare pre-calculated hash to results hash.
16997 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
16999 * ob.el (org-babel-sha1-hash): Sort list values to header
17000 arguments, and sort the words in strings.
17002 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17004 * ob-ref.el (org-babel-ref-index-list): Special handling of hline
17007 2011-07-28 Julien Danjou <julien@danjou.info>
17009 * org-macs.el (org-with-point-at): Store evaluated version of
17010 pom. This fixes a potential bug when using (org-with-point-at
17011 (func) …), where (func) would be evaluated multiple times,
17012 therefore might return different results if a marker was returned
17013 and different each time.
17015 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17017 * org.el (org-open-at-point): If a link to a radio target is the
17018 first, (resp. the last), element of a buffer, function cannot find
17019 the property change required to get its boundaries, and
17020 `buffer-substring' is called with an invalid nil argument.
17022 2011-07-28 Bastien Guerry <bzg@gnu.org>
17024 * org-table.el (org-table-copy-down): Fix docstring.
17026 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17028 * ob-latex.el (org-babel-execute:latex): Add imagemagick options,
17029 and for file types other than png and PDF it uses imagemagick to
17030 convert a compiled PDF file to the desired file type.
17031 (convert-pdf): Convert a PDF file to a new file type using
17034 2011-07-28 Puneeth Chaganti <punchagan@gmail.com>
17036 * org-capture.el (org-capture-fill-template): Fix bug with the
17037 display of interactive prompt in templates expansion.
17039 2011-07-28 Reiner Steib <reiner.steib@gmx.de>
17041 * org-clock.el (org-clock-display): Document how to remove subtree
17044 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17046 * org-exp-blocks.el (org-export-blocks-format-comment):
17047 Explicitly append a newline to the body.
17049 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17051 * org-list.el (org-list-insert-item): When computing size of item
17052 being inserted, function has to take into account that indentation
17053 may not only be made of spaces.
17055 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17057 * org-clock.el (org-clock-find-position): If a list was adjacent
17058 to some clocks and a drawer was going to be created, only the
17059 first element of the list would make it into the drawer.
17061 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17063 * org-list.el (org-toggle-checkbox): Fix bug where top item in
17064 list was omitted when checking boxes.
17066 2011-07-28 Dan Davison <dandavison7@gmail.com>
17068 * ob-R.el: Don't print result to echo area after evaluation.
17070 2011-07-28 Bastien Guerry <bzg@gnu.org>
17072 * org-capture.el (org-capture-refile): Fix typo in docstring.
17074 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17076 * ob-calc.el (org-babel-execute:calc): Call out to new function
17077 for variables resolution.
17078 (ob-calc-maybe-resolve-var): Resolve (possibly recursively)
17079 variables in calc expressions.
17081 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17083 * ob-C.el (org-babel-tangle-lang-exts): Replace "c++" with "C++".
17084 (org-babel-C++-compiler): Replace "c++" with "C++".
17085 (org-babel-execute:cpp): Replace "c" with "C++".
17086 (org-babel-execute:C++): Replace "c" with "C++".
17087 (org-babel-expand-body:C++): Replace "c" with "C++".
17088 (org-babel-C-execute): Replace "c" with "C++".
17090 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17092 * ob-ref.el (org-babel-ref-at-ref-p): Only try to read results as
17093 a list if at the *beginning* of a list item.
17095 * ob.el (org-babel-read-result): Only try to read results as a
17096 list if at the *beginning* of a list item.
17098 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17100 * org-list.el (org-cycle-item-indentation): Do not break an
17101 indentation cycle because visibility cycling is requested.
17102 This happens when an item becomes a parent, due to indentation change.
17103 Not considered empty anymore, the function cannot change its
17106 2011-07-28 Bastien Guerry <bzg@gnu.org>
17108 * org-clock.el (org-clocktable-write-default): Bugfix: falls back
17109 on `org-export-default-language' when no :lang parameter is set.
17111 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
17113 * org-capture.el (org-capture-expand-file): New function.
17114 (org-capture-target-buffer):
17115 (org-capture-set-target-location): Use `org-capture-expand-file'.
17117 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17119 * ob.el (org-babel-read-list): Reading the value of a list has
17120 been updated to reflect the new structure of org-mode lists in
17122 (org-babel-insert-result): Writing code block results to lists has
17123 been updated to reflect the new list structure.
17124 (org-babel-result-end): Remove a previous change to end-of-list
17127 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17129 * org-list.el (org-cycle-item-indentation): Each time the function
17130 moves item back to child position, a white space is added to the
17133 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17135 * ob.el (org-babel-process-params): Allow elisp code in
17136 specification of results header arguments.
17138 2011-07-28 Bastien Guerry <bzg@gnu.org>
17140 * org-agenda.el (org-agenda-append-agenda): New command.
17141 (org-agenda-mode-map): New keybinding to this new command.
17143 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17145 * org.el (org-ctrl-c-ctrl-c): Call `org-list-send-list' only when
17146 cursor it at very first item of the list, as specified in the
17147 manual. Also refactored the list part of the function a bit.
17149 2011-07-28 Bastien Guerry <bzg@gnu.org>
17151 * org-agenda.el (org-agenda): Set the 'last-args property to nil
17152 when calling `org-agenda'. Don't kill the local variable
17153 `org-agenda-current-span'.
17154 (org-run-agenda-series): Use the new property 'last-args.
17155 (org-agenda-change-time-span): Use the dynamically set
17156 `org-agenda-overriding-arguments' variable when non-nil.
17158 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17160 * ob.el (org-babel-result-end): Adjust marker of list end to
17161 changes in the list format.
17163 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17165 * org-list.el (org-toggle-checkbox, org-update-checkbox-count):
17166 No need to wrap `org-entry-get' in `ignore-errors'.
17168 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17170 * org.el (org-toggle-item, org-toggle-heading): Make sure every
17171 sub-item in a list is changed into a sub-heading and sub-headings
17172 are translated into sub-items. Also ignore inline tasks in the
17175 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17177 * org-exp.el (org-export-select-backend-specific-text):
17178 Add `original-indentation' property when replacing #+begin_backend and
17179 #+backend blocks with their content. This is needed for lists, as
17180 they must know if the block belonged to them.
17182 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17184 * org-html.el (org-html-export-list-line): Insert a newline
17185 character before ending an item, as anchor could be on a line
17186 going to be deleted, like a drawer ending string.
17188 * org-list.el (org-list-to-html): Same.
17190 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17192 * org.el (org-set-autofill-regexps): Use `org-item-re' in
17193 `paragraph-start' to recognize alphabetical lists.
17194 (org-fill-paragraph): Enforce a pre-computed fill-prefix before
17195 calling `fill-paragraph' when point is in an item. Also prevent
17196 paragraphs getting merged into an adjacent list upon filling.
17197 (org-adaptive-fill-function): Make sure to determine real
17198 fill-prefix for auto-fill.
17199 (org-auto-fill-function): Use a pre-computed fill-prefix before
17200 calling `do-auto-fill'.
17202 * org-list.el (org-list-item-body-column): New function.
17204 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17206 * org-inlinetask.el (org-inlinetask-at-task-p)
17207 (org-inlinetask-toggle-visibility): New functions.
17209 * org-list.el (org-list-set-item-visibility): New function.
17211 * org.el (org-cycle, org-cycle-internal-local): Separate lists and
17212 inline tasks from headlines.
17213 (org-outline-level): Do not consider lists as headlines.
17214 Cycling visibility is using different tools.
17216 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17218 * org-list.el (org-list-struct): Mark items less indented than top
17219 item of the list, so that they will be modified.
17220 (org-list-struct-apply-struct): Compare struct's indentation with
17221 line's indentation instead of old-struct's. This is needed
17222 because `org-list-struct' automatically fixes indentation so
17223 changes might not be seen otherwise.
17225 * org.el (org-ctrl-c-ctrl-c): Small refactoring.
17227 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17229 * org-list.el (org-update-checkbox-count): When a part of the
17230 buffer is processed to count checkboxes, lists are read from top
17231 to bottom, but inside lists (in drawers, blocks, or inline tasks)
17232 are skipped. Thus, cookies cannot be updated. This patch
17233 enforces reading of such lists if counter is itself in a special
17236 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17238 * org-list.el (org-list-struct-apply-struct): Inline tasks along
17239 with their content must stay at column 0 even if the item is
17240 gaining indentation. Moreover, fix indentation of text in an
17241 inline task, now it can be in such a task within a list.
17243 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17245 * org-list.el (org-at-item-p): Also verify context is valid.
17246 Otherwise it would recognize valid items where `org-in-item-p'
17248 (org-in-item-p, org-list-struct-apply-struct): Use shorter version
17250 (org-cycle-list-bullet): Fix typo.
17251 (org-list-parse-list): Avoid calling `org-at-item-p' two times by
17252 using an appropriate regexp.
17254 * org.el (org-indent-line-function): Use an appropriate regexp
17255 instead of calling `org-at-item-p' two times.
17257 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17259 * org-list.el (org-in-item-p): When point was just after
17260 org-list-end-re, check wouldn't be done for starting line. So, if
17261 the first line was an item, it wouln't be noticed and function
17262 would return nil. Simplify and comment code.
17264 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17266 * org.el (org-toggle-item): When used on normal text, ensure every
17267 line in region is included in the new item, regardless of its
17268 original indentation.
17270 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17272 * org-list.el (org-list-struct-apply-struct): If end of list was
17273 at eol, for example, with list inside a block, the last list
17274 wouldn't be shifted. Thus, the patch ensures no blank lines is
17277 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17279 * org.el (org-toggle-item): Now accepts a prefix argument.
17280 When used without argument on normal text, it will make the whole
17281 region one item. With an argument, it defaults to old behavior:
17282 change each line in region into an item.
17284 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17286 * org.el (org-return): When called from inside an item with the
17287 indent flag, function should keep text moved inside the item.
17288 This allows to use C-j to separate lines in an item: cursor won't
17289 go back to column 0.
17291 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17293 * org-list.el (org-list-struct): When a line has org-example
17294 property, skip the entire block. This is needed during export,
17295 for example when src blocks in org markup contain lists, and are
17296 returned verbatim because org isn't in the list of interpreted
17299 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17301 * org-list.el (org-in-item-p): Handle special cases when function
17302 is called with cursor amidst `org-list-end-re' or at an inline
17305 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17307 * ob.el (org-babel-result-end): Apply renaming.
17309 * org-exp.el (org-export-mark-list-properties): Apply renaming.
17311 * org-list.el (org-list-prevs-alist): Rename from
17312 `org-list-struct-prev-alist'.
17313 (org-list-parents-alist): Rename from `org-list-struct-parent-alist'.
17314 (org-list-write-struct): Rename from `org-list-struct-fix-struct'.
17315 (org-list-parse-list, org-sort-list, org-list-indent-item-generic)
17316 (org-toggle-checkbox, org-update-checkbox-count)
17317 (org-cycle-list-bullet, org-list-repair, org-insert-item)
17318 (org-move-item-up, org-move-item-up, org-move-item-down)
17319 (org-next-item, org-previous-item, org-end-of-item-list)
17320 (org-beginning-of-item-list, org-apply-on-list): Apply renaming.
17321 (org-get-bullet): Remove function, as it is not needed anymore.
17323 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17325 * org-list.el (org-list-insert-item-generic): Change arguments.
17326 The function now accepts structure and previous items alist.
17327 This allows to insert an item programmatically more easily.
17328 (org-insert-item): Apply changes to
17329 `org-list-insert-item-generic'. The function now takes care about
17330 repairing structure and updating checkboxes.
17332 * org-timer.el (org-timer-item): Apply changes to
17333 `org-list-insert-item-generic'. The function now takes care about
17334 repairing structure.
17336 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17338 * org-list.el (org-list-make-subtree): Function now uses
17339 `org-list-parse-list mechanism'.
17340 (org-list-make-subtrees): Remove function.
17341 (org-list-to-generic): Add a parameter and every parameter can
17342 be a sexp returning a string, for finer control.
17343 (org-list-to-html, org-list-to-latex, org-list-to-texinfo):
17344 Slight modifications to apply changes to `org-list-to-generic'.
17345 (org-list-to-subtree): New function.
17347 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17349 * org.el (org-beginning-of-line): Apply changes to
17350 `org-item-beginning-re' to correct sub-expression reference.
17352 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17354 * org-docbook.el (org-export-docbook-list-line): Even with
17355 alphabetical lists, Org shouldn't enforce a particular list type
17356 to exporters. This is a job for style files.
17358 * org-html.el (org-html-export-list-line): Ib idem.
17360 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17362 * org-list.el (org-at-item-counter-p): New function.
17363 (org-list-parse-list): Handle counters and list depth.
17364 (org-list-to-generic): A special string is used when an item has a
17366 (org-list-to-latex): Use new special string for counters.
17367 This fixes the counter bug in LaTeX export, as the enumi counter was
17368 the only one modified.
17370 * org-latex.el (org-export-latex-lists): Use new
17371 `org-list-parse-list' output.
17373 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17375 * org-list.el (org-list-get-list-type): New function.
17376 (org-list-parse-list): Use new function.
17378 * org-html.el (org-html-export-list-line): Use new function.
17380 * org-docbook.el (org-export-docbook-list-line): Use new function.
17382 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17384 * org-list.el (org-alphabetical-lists): New variable
17385 (org-item-re, org-list-full-item, org-cycle-list-bullet)
17386 (org-list-struct-fix-bul, org-list-inc-bullet-maybe):
17387 Reflect introduction of the new variable.
17388 (org-item-beginning-re): Change into a function, so any
17389 modification of `org-alphabetical-lists' will not require
17391 (org-at-item-p, org-toggle-checkbox, org-update-checkbox-count)
17392 (org-list-parse-list, org-list-send-list): Reflect changes to
17393 `org-item-beginning-re'.
17394 (org-list-use-alpha-bul-p): New function.
17396 * org.el (org-check-for-hidden): Reflect changes to
17397 `org-item-beginning-re'.
17399 * org-capture.el (org-capture-place-item): Reflect changes to
17400 `org-item-beginning-re'.
17402 * org-docbook.el (org-export-docbook-list-line): Handle New type
17405 * org-exp.el (org-export-mark-list-end)
17406 (org-export-mark-list-properties): Reflect changes to
17407 `org-item-beginning-re'.
17409 * org-html.el (org-html-export-list-line): Handle new type of
17412 * org-latex.el (org-export-latex-lists): Handle new type of items
17413 and reflect changes to `org-item-beginning-re'.
17415 * org-ascii.el (org-export-ascii-preprocess): Handle new counters.
17417 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17419 * org-list.el (org-list-end-re): Remove function and made it a
17420 variable. There's no need for the overhead of calling the
17421 function every at every line in a list. User will have to reload
17422 Org if he change value of either `org-list-end-regexp' or
17423 `org-empty-line-terminates-plain-lists'.
17424 (org-in-item-p,org-list-struct,org-list-parse-list): Apply change.
17426 * org-exp.el (org-export-mark-list-end)
17427 (org-export-mark-list-properties): Apply change.
17429 * org-latex.el (org-export-latex-lists): Apply change.
17430 Also prevent items with org-example property to be considered as real
17433 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17435 * org-inlinetask.el (org-inlinetask-export-templates): Slightly
17436 modify templates so environment boundaries don't interfere with
17437 content of task. Unprotect content of task so it might benefit
17438 from further transformations. Set original-indentation property to
17439 a high value to ensure that task is always in the last item of the
17440 list. Also, apply templates later in export process.
17442 * org-list.el (org-list-struct): Fix inline task skipping.
17444 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17446 * org-latex.el (org-export-latex-lists): Search for unprotected
17447 items only, and redefine `org-at-item'. This change is required
17448 when verbatim lists are inserted during export, usually by Babel.
17450 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17452 * ob.el (org-babel-result-end): End position is end of current
17453 sublist instead of bottom point, as results might be inserted in a
17456 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17458 * org-list.el (org-list-automatic-rules): Remove insert rule.
17459 (org-list-insert-item-generic): Remove code preventing user to
17460 insert another item in a block within a list. It is because new
17461 list context make it impossible to see if a point in a block is
17464 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17466 * org-exp.el (org-export-preprocess-string): Mark list endings
17467 before babel blocks preprocessing starts, so blank lines that may
17468 be inserted do not break list's structure. Then, mark list with
17469 special properties required by exporters. Thus output from babel
17470 can easily be included in lists.
17471 (org-export-mark-list-end): New function.
17472 (org-export-mark-list-properties): New function.
17473 (org-export-mark-lists): Remove function. It was split into the
17474 two preceding functions.
17476 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17478 * org-list.el (org-update-checkbox-count): Do not recompute every
17479 list before next heading when there are more than one cookie in an
17480 headline. Moreover, ignore the case where cookie is inserted
17481 neither at an heading nor at an item.
17483 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17485 * org-list.el (org-sort-list): Fix number of arguments to
17486 `org-list-repair', plus make `end-record' go to end of item before
17487 any blank line to keep them from being swallowed in the sorting.
17489 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17491 * org-list.el (org-list-forbidden-blocks): Rename from
17493 (org-list-export-context): New variable.
17495 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17497 * org-list.el (org-list-search-generic): Rename form
17498 `org-search-unenclosed-generic' to reflect the new behavior. Now,
17499 match can only be in a valid context for lists, as determined by
17500 `org-list-context'.
17501 (org-list-search-backward): Rename from
17502 `org-search-backward-unenclosed'.
17503 (org-list-search-forward): Rename from
17504 `org-search-forward-unenclosed'.
17505 (org-toggle-checkbox,org-update-checkbox-count): Use new
17507 (org-sort-list): Using default regexp search functions as context
17508 is not required in this case.
17510 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17512 * org-exp.el (org-export-mark-lists): New function, replacing
17513 org-export-mark-list-ending. It adds information as text
17514 properties to every list, before changes done by exporter destruct
17517 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17519 * org-list.el (org-list-get-first-item): New alias for
17520 `org-list-get-list-begin'.
17521 (org-list-get-last-item): New function.
17522 (org-list-get-list-end): Use `org-list-get-last-item'.
17524 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17526 * org.el (org-get-string-indentation): Move in generally useful
17527 functions section, as it wasn't specific to plain lists and that
17528 no code was using it in org-list.el.
17530 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17532 * org.el (org-skip-over-state-notes,org-store-log-note): Use new
17535 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17537 * org-list.el (org-list-indent-item-generic): Remove error
17538 messages happening before process. This belongs to interactive
17540 (org-indent-item,org-indent-item-tree)
17541 (org-outdent-item,org-outdent-item-tree): Ensure point or region
17542 is correct before computing list structure. Return an error
17545 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17547 * org-list.el (org-apply-on-list): Use new structures.
17548 Function is now applied in reverse order so modifications do not change
17549 positions of items in buffer.
17551 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17553 * org-list.el (org-list-parse-list): Rewrite of function to allow
17554 text following a sub-list in the same item. See docstring for an
17556 (org-list-to-generic): Use new parsing function.
17557 (org-list-to-latex,org-list-to-html): Minor change for clearer
17560 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17562 * org-list.el (org-list-has-child-p): Rename from
17563 `org-list-get-child'. Returning first child is only useful as a
17564 predicate, as we are allowing an item to have more than one
17566 (org-list-indent-item-generic): Use `org-list-has-child-p' instead
17567 of org-list-get-child.
17568 (org-in-item-p): Also return item beginning when list starts at
17570 (org-list-get-parent): Use of `org-list-struct-parent-alist'
17571 helper function is not optional anymore.
17572 (org-list-get-all-items): Shorten code with the help of cl.el.
17573 (org-list-get-children): Now returns all children of item, even if
17574 they do not belong to the same list. Renamed from
17575 `org-list-get-all-children'.
17576 (org-list-get-list-begin): Function wasn't return value when item
17577 was already the first item of the list at point.
17578 (org-list-get-list-end): Function wasn't return value when item
17579 was already the last item of the list at point.
17580 (org-list-struct-fix-box,org-update-checkbox-count): Now uses
17581 `org-list-get-children'.
17583 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17585 * org.el (org-indent-line-function): Indentation of item's body
17586 starts just after the bullet, not after a checkbox. Moreover, As
17587 `org-in-item-p' also returns item beginning position when point is
17588 in a list, do not compute it a second time.
17590 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17592 * org.el (org-ctrl-c-ctrl-c): When called at a list item, replace
17593 usage `org-repair-list', forcing another reading of the list, with
17594 only needed subroutines.
17596 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17598 * org-list.el (org-list-separating-blank-lines-number): Use new
17600 (org-list-insert-item-generic): Use list structures to insert a
17602 (org-list-exchange-items): Refactor and comment code. Now return
17603 new struct instead of modifying it, as list sorting would
17604 sometimes eat first item.
17605 (org-move-item-down,org-move-item-up): Reflect changes to
17606 `org-list-exchange-items'.
17607 (org-insert-item): As `org-in-item-p' also computes item beginning
17608 when applicable, reuse the result.
17610 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17612 * org-list.el (org-list-in-item-p): Unify methods for this
17614 (org-list-in-item-p-with-indent): Remove function.
17615 (org-list-ending-between): Remove function.
17616 (org-list-maybe-skip-block): Remove function.
17617 (org-list-in-item-p-with-regexp): Remove function.
17618 (org-list-top-point-with-regexp): Remove function.
17619 (org-list-top-point-with-indent): Remove function.
17620 (org-list-bottom-point-with-indent): Remove function.
17621 (org-list-bottom-point-with-regexp): Remove function.
17622 (org-list-get-item-same-level): Remove function.
17623 (org-list-top-point): Remove function.
17624 (org-list-bottom-point): Remove function.
17625 (org-get-item-beginning): Rename to `org-list-get-item-begin' to
17626 be consistent with naming policy of non-interactive functions.
17627 (org-get-beginning-of-list): Remove function.
17628 (org-beginning-of-item-list): Use new accessors.
17629 (org-get-end-of-list): Remove function.
17630 (org-end-of-list): Use new accessors.
17631 (org-get-end-of-item): Remove function.
17632 (org-end-of-item): Use new accessors.
17633 (org-get-previous-item): Remove function.
17634 (org-previous-item): Use new accessors.
17635 (org-get-next-item): Remove function.
17636 (org-next-item): Use new accessors.
17637 (org-list-get-item-end-before-blank): Use new accessors.
17639 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17641 * org-list.el (org-list-repair): Remove optional argument
17642 FORCE-BULLET. The job of this interactive function is to
17643 completely fix a list at point. Changing bullets is a separate
17644 task. Also removed others optional arguments TOP and BOTTOM to
17645 follow the new structures.
17646 (org-list-indent-item-generic): Remove need for TOP and BOTTOM.
17647 STRUCT is a new required argument. This avoids computing a list
17648 structure many times when function is called more than once in a
17649 row, for example in `org-cycle-item-indentation'. Use new
17650 accessors. Now, also call `org-update-checkbox-count-maybe'.
17651 (org-outdent-item, org-indent-item, org-outdent-item-tree)
17652 (org-indent-item-tree): Remove need for TOP and BOTTOM.
17653 (org-list-insert-item-generic): Reflect changes to `org-list-repair'.
17654 (org-list-exchange-items): Use new accessors. Now modify struct
17655 to avoid re-reading it later.
17656 (org-move-item-down): Reflect changes to `org-list-repair'.
17658 (org-move-item-up): Reflect changes to `org-list-repair'. Use new
17660 (org-cycle-list-bullet): Use new structures. Also use a shortcut
17661 to `org-list-struct-fix-struct' in order to avoid unnecessary
17662 fixes, like `org-list-struct-fix-box'
17663 (org-sort-list): Use of new structures. Renamed an internal
17664 function for a little more clarity.
17665 (org-cycle-item-indentation): Remove dependency on
17666 `org-list-repair'. Use new accessors.
17667 (org-list-get-child): Correct bug when asking for the child of the
17669 (org-list-exchange-items): Use new accessors.
17671 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17673 * org-list.el (org-list-blocks): New variable.
17674 (org-list-context): New function.
17675 (org-list-full-item-re): New variable.
17676 (org-list-struct-assoc-at-point): Use new variable.
17677 (org-list-struct): Rewrite of function. Now, list data is
17678 collected by looking at the list line after line. It reads the
17679 whole list each time because reading only a subtree was not enough
17680 for some operations, like fixing checkboxes. It also removes the
17681 need to get `org-list-top-point' and `org-list-bottom-point'
17682 first. An added data is the position of item ending. This aims
17683 to be able to have list followed by text inside an item.
17684 (org-list-struct-assoc-end): New function.
17685 (org-list-struct-parent-alist): New function.
17686 (org-list-get-parent): New function.
17687 (org-list-get-child): New function.
17688 (org-list-get-next-item): New function.
17689 (org-list-get-prev-item): New function.
17690 (org-list-get-subtree): Use helper function `org-list-struct-prev-alist'.
17691 (org-list-get-all-items): New function.
17692 (org-list-get-all-children): New function.
17693 (org-list-get-top-point): New function.
17694 (org-list-get-bottom-point): New function.
17695 (org-list-get-counter): New function.
17696 (org-list-get-item-end): New function.
17697 (org-list-struct-fix-bul): Rewrite for cleaner code. Make use of
17699 (org-list-struct-fix-ind): Make use of new accessors.
17700 (org-list-struct-fix-box): New function.
17701 (org-list-struct-fix-checkboxes): Remove function.
17702 (org-list-struct-outdent): Use new accessors. Use the fact that
17703 there is no longer a virtual item at beginning of structure.
17704 (org-list-struct-indent): Use helper functions
17705 `org-list-struct-prev-alist' and `org-list-struct-parent-alist'.
17706 Also use new accessors.
17707 (org-list-struct-fix-struct): Comment function. Call directly
17708 `org-list-struct-apply-struct', without removing unchanged items
17710 (org-list-struct-apply-struct): Comment function. Rewrite using
17711 new accessors. Use new variable `org-list-full-item-re'.
17712 (org-list-shift-item-indentation): Remove function, now included
17713 in `org-list-struct-apply-struct' because it is too specific.
17715 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17717 * org-list.el (org-toggle-checkbox): Use structures to fix
17718 checkboxes of a list.
17719 (org-update-checkbox-count): Use structures to update cookies.
17721 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17723 * org-list.el (org-list-struct-fix-checkboxes): New function.
17724 (org-checkbox-blocked-p): Remove function.
17726 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17728 * org-list.el (org-list-get-all-items): New function.
17729 (org-list-get-all-children): New function.
17730 (org-list-get-nth): New function.
17731 (org-list-set-nth): New function.
17732 (org-list-get-ind): New function.
17733 (org-list-set-ind): New function.
17734 (org-list-get-bullet): New function.
17735 (org-list-set-bullet): New function.
17736 (org-list-get-checkbox): New function.
17737 (org-list-set-checkbox): New function.
17738 (org-list-struct-fix-bul): Use new accessors.
17739 (org-list-repair): Use new accessors.
17740 (org-list-indent-item-generic): Make use of accessors.
17741 (org-list-get-parent): Rename from `org-list-struct-get-parent'.
17742 (org-list-get-child): Rename from `org-list-struct-get-child'.
17743 (org-list-struct-fix-ind): Make use of accessors.
17744 (org-list-get-next-item): New function.
17745 (org-list-get-subtree): New function.
17747 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
17749 * org-list.el (org-list-struct-assoc-at-point): Add checkbox to
17752 * org-list.el (org-list-struct-assoc-at-point): Add checkbox as
17753 value in structure.
17755 * org-list.el (org-list-struct-apply-struct): Also apply
17758 2011-07-28 Bastien Guerry <bzg@gnu.org>
17760 * org-latex.el (org-export-latex-content): Bind local variables
17761 for export in the temporary export buffer.
17763 2011-07-28 David Maus <dmaus@ictsoc.de>
17765 * org-protocol.el (org-protocol-unhex-single-byte-sequence)
17766 (org-protocol-unhex-string, org-protocol-unhex-compound):
17767 Change date of obsolete declaration to 2011-02-17.
17769 2011-07-28 David Maus <dmaus@ictsoc.de>
17771 * org.el (org-link-escape): Throw error if encoding character in
17774 2011-07-28 David Maus <dmaus@ictsoc.de>
17776 * org-protocol.el (org-protocol-split-data)
17777 (org-protocol-open-source): Use `org-link-unescape' instead of
17778 obsolete unhex string function.
17780 2011-07-28 David Maus <dmaus@ictsoc.de>
17782 * org.el (org-link-escape, org-link-escape-chars-browser)
17783 (org-link-escape-chars): Always percent escape the percent sign.
17785 2011-07-28 David Maus <dmaus@ictsoc.de>
17787 * org.el (org-link-unescape): Simpler algorithm for replacing
17789 (org-link-unescape-compound): Use cond statements instead of nested
17790 if, convert hex string with string-to-number, save match data.
17791 (org-link-unescape-single-byte-sequence): Use mapconcat and
17792 string-to-number for unescaping single byte sequence.
17794 2011-07-28 David Maus <dmaus@ictsoc.de>
17796 * org.el (org-link-escape): Rename lambda argument.
17798 2011-07-28 David Maus <dmaus@ictsoc.de>
17800 * org.el (org-link-escape-chars-browser, org-link-escape-chars):
17801 Add percent sign to list of escape chars.
17803 2011-07-28 David Maus <dmaus@ictsoc.de>
17805 * org-mobile.el (org-mobile-escape-olp): Use new percent escape
17806 character table format.
17808 2011-07-28 David Maus <dmaus@ictsoc.de>
17810 * org-mobile.el (org-mobile-locate-entry): Remove obsolete
17811 argument in call to org-link-unescape.
17813 2011-07-28 David Maus <dmaus@ictsoc.de>
17815 * org-protocol.el (org-protocol-unhex-string)
17816 (org-protocol-unhex-compound)
17817 (org-protocol-unhex-single-byte-sequence): Declare obsolete and
17818 alias to respective org-link-unescape-* functions.
17820 2011-07-28 David Maus <dmaus@ictsoc.de>
17822 * org.el (org-link-unescape, org-link-unescape-compound)
17823 (org-link-unescape-single-byte-sequence): Functions moved and renamed
17824 from org-protocol.el.
17826 2011-07-28 David Maus <dmaus@ictsoc.de>
17828 * org-macs.el (org-char-to-string): Inline function to properly
17829 decode utf8 characters in Emacs 22. Moved and renamed from
17832 2011-07-28 David Maus <dmaus@ictsoc.de>
17834 * org.el (org-link-escape): New optional argument. Merge user
17835 table with default table.
17837 2011-07-28 David Maus <dmaus@ictsoc.de>
17839 * org.el (org-link-escape): Fixup doc string.
17841 2011-07-28 David Maus <dmaus@ictsoc.de>
17843 * org.el (org-link-escape-chars, org-link-escape-chars-browser):
17844 New format of percent escape table.
17845 (org-link-escape): Use new table format.
17847 2011-07-28 David Maus <dmaus@ictsoc.de>
17849 * org.el (org-link-escape): New Unicode aware percent encoding
17852 2011-07-28 Sebastian Rose <sebastian_rose@gmx.de>
17854 * org-protocol.el (org-protocol-unhex-single-byte-sequence):
17855 New function. Decode hex-encoded singly byte sequences.
17856 (org-protocol-unhex-compound): Use new function if decoding sequence
17857 as Unicode character failed.
17859 2011-07-28 Bastien Guerry <bzg@gnu.org>
17861 * org-html.el (org-export-as-html): Expand the HTML title.
17863 2011-07-28 Bastien Guerry <bzg@gnu.org>
17865 * org-publish.el (org-publish-cache-ctime-of-src):
17867 (org-publish-find-title): New option to explicitly reset the title
17869 (org-publish-format-file-entry): Use this new option.
17871 2011-07-28 Dan Davison <dandavison7@gmail.com>
17873 * org-exp.el (org-export-preprocess-string): Set the source buffer
17874 and use `org-clone-local-variables' to get local variables from
17877 2011-07-28 Dan Davison <dandavison7@gmail.com>
17879 * org-exp.el (org-export-format-source-code-or-example):
17880 Allow empty string as second element in minted/listings options.
17882 2011-07-28 Dan Davison <dandavison7@gmail.com>
17884 * org-exp.el (org-export-format-source-code-or-example):
17885 Support new user-customizable options.
17886 (org-export-latex-custom-lang-environments): Ensure new variable
17888 (org-export-latex-listings-options): Ensure new variable is defined.
17889 (org-export-latex-minted-options): Ensure new variable is defined.
17891 2011-07-28 Bastien Guerry <bzg@gnu.org>
17893 * org-html.el (org-export-as-html): Handle the case when
17894 `org-export-html-validation-link' is nil to keep backward
17895 compatible with the old default value of this variable.
17897 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
17899 * ob.el (org-babel-insert-result): Don't choke if indent is not a
17902 2011-07-28 Christian Moe <mail@christianmoe.com> (tiny change)
17904 * org-bbdb.el (org-bbdb-export): When a link description has been
17905 added by `org-export-normalize-links', use path instead (remove
17906 the `bbdb:' prefix).
17908 2011-07-28 Bastien Guerry <bzg@gnu.org>
17910 * org-ascii.el (org-export-ascii-underline): Put the level's
17911 characters in the right order, as documented by the docstring.
17912 (org-ascii-level-start): Select the right char for underlining
17915 2011-07-28 Bastien Guerry <bzg@gnu.org>
17917 * org-src.el (org-edit-src-code): Allow to edit source code from
17918 modes derived from Org.
17920 2011-07-28 Niels Giesen <niels.giesen@gmail.com>
17922 * org-clock.el (org-clock-clocktable-language-setup): Add list of
17925 2011-07-28 Dan Davison <dandavison7@gmail.com>
17927 * org-beamer.el: Mark frame as fragile when it is using minted for
17930 2011-07-28 Bastien Guerry <bzg@gnu.org>
17932 * org-agenda.el (org-agenda-date-later)
17933 (org-agenda-date-earlier): Enhance docstrings.
17934 (org-agenda-bulk-mark-regexp): Only match against headlines.
17935 Send a message when no entry is marked.
17936 (org-agenda-bulk-action): Fix bug about scattering deadlines.
17937 Send an error when trying to scatter outside an agenda or a
17938 timeline view. Silently fail when trying to scatter sexp entries.
17940 2011-07-28 Bastien Guerry <bzg@gnu.org>
17942 * org-clock.el (org-clock-clocktable-language-setup): New custom
17944 (org-clocktable-defaults): Set the default language.
17945 (org-clocktable-write-default): Use the new variable.
17947 2011-07-28 Dan Davison <dandavison7@gmail.com>
17949 * ob.el (org-babel-src-block-names): Don't strip text properties
17951 (org-babel-result-names): Don't strip text properties from search
17954 2011-07-28 Dan Davison <dandavison7@gmail.com>
17956 * ob-python.el (org-babel-python-evaluate-session): Pass nil as
17957 remove-echo part of META argument to
17958 `org-babel-comint-with-output'.
17960 2011-07-28 Dan Davison <dandavison7@gmail.com>
17962 * ob.el (org-babel-script-escape): Use `substring' comparison
17963 instead of regexp matching.
17965 2011-07-28 Dan Davison <dandavison7@gmail.com>
17967 * org-src.el (org-edit-src-code): When generating the code edit
17968 buffer, it is necessary for several variables to inherit their
17969 values from the parent org buffer. These changes collect all such
17970 variables together into a single association list of
17971 `(variable-name value)' pairs. In addition, a new variable is
17972 added to the list: `org-edit-src-content-indentation'. This has
17973 the effect that a buffer local value can be used for that
17976 2011-07-28 Dan Davison <dandavison7@gmail.com>
17978 * ob-table.el (sbe): Don't truncate sbe results.
17980 2011-07-28 Lawrence Mitchell <wence@gmx.li>
17982 * org-exp.el (org-export-add-options-to-plist): Require match to
17983 start at a word-boundary.
17985 2011-07-28 Bastien Guerry <bzg@gnu.org>
17987 * org-latex.el (org-export-latex-hyperref-format):
17990 2011-07-28 Tom Dye <tsd@tsdye.com>
17992 * org.el: Update documentation of `org-add-link-type'.
17994 2011-07-28 Dan Davison <dandavison7@gmail.com>
17996 * org.el (org-open-at-point): Fix bug when using prefix arg to
17997 construct `org-link-search' call. Rename prefix arg with a more
17998 generic name, to reflect its diverse uses in this function.
18000 2011-07-28 Rémi Vanicat <vanicat@debian.org>
18002 * org-icalendar.el (org-icalendar-use-UTC-date-time): Remove.
18003 (org-icalendar-date-time-format): New custom variable.
18004 (org-icalendar-use-UTC-date-timep): New function.
18005 (org-ical-ts-to-string): Use the new variable.
18007 2011-07-28 Bastien Guerry <bzg@gnu.org>
18009 * org-vm.el (org-vm-store-link): Make sure the buffer is
18010 associated with a file when trying to store an Org link.
18012 2011-07-28 Dan Davison <dandavison7@gmail.com>
18014 * ob.el (org-babel-params-from-properties): Test for
18015 "header-arg-name" and ":header-arg-name", in that order.
18017 2011-07-28 Bastien Guerry <bzg@gnu.org>
18019 * org-capture.el (org-capture-templates): Document "currentfile"
18020 for capture template.
18021 (org-capture-templates): Allow to use currentfile for capture
18023 (org-capture-set-target-location): Handle currentfile as a way to
18024 setting the capture buffer.
18026 2011-07-28 Bastien Guerry <bzg@gnu.org>
18028 * ob.el (org-babel-params-from-properties): Don't wrap
18029 `org-entry-get' into `condition-case'.
18031 2011-07-28 Dan Davison <dandavison7@gmail.com>
18033 * org.el (org-entry-get): Don't look for a property drawer if we
18034 are before the first heading in the file.
18035 (org-entry-get-with-inheritance): Don't attempt to move up the
18036 tree if we are before the first heading in the file. Also,
18037 enclose less of the function in the `save-excursion'.
18039 2011-07-28 Dan Davison <dandavison7@gmail.com>
18041 * ob.el (org-babel-params-from-buffer): Return desired value
18042 rather than nil from failed re search.
18044 2011-07-28 Bastien Guerry <bzg@gnu.org>
18046 * org-agenda.el (org-get-entries-from-diary): Put multiline diary
18047 entries on a single line when lines don't start with a diary time.
18049 2011-07-28 Bastien Guerry <bzg@gnu.org>
18051 * org-html.el (org-export-html-protect-char-alist): New custom
18052 variable to define characters to be HTML protected.
18053 (org-html-protect): Use the new variable.
18055 2011-07-28 Bastien Guerry <bzg@gnu.org>
18057 * org-info.el (org-info-store-link): Use "#" to separate the info
18059 (org-info-follow-link): Use both "#" to separate the info file and
18060 the node. Continue to use ":" for backward compatibility.
18062 2011-07-28 Bastien Guerry <bzg@gnu.org>
18064 * org-icalendar.el (org-icalendar-honor-noexport-tag): New custom
18066 (org-print-icalendar-entries): Use this new variable to prevent
18067 export of entries with a :noexport: tag.
18069 2011-07-28 Bastien Guerry <bzg@gnu.org>
18071 * org-exp.el (org-export-initial-scope): New custom variable.
18072 (org-export): Use this new variable. If there is an active
18073 region, tell it when prompting the user for an export command.
18074 Also change the way the function handles selection of buffer and
18077 2011-07-28 Bastien Guerry <bzg@gnu.org>
18079 * org-html.el (org-export-html-auto-preamble)
18080 (org-export-html-auto-postamble): Remove.
18081 (org-export-html-preamble, org-export-html-postamble): Turn into
18082 custom variables. Update the docstrings.
18083 (org-export-html-preamble-format)
18084 (org-export-html-postamble-format): New custom variables.
18085 (org-export-as-html): Use `org-export-html-postamble-format' and
18086 `org-export-html-preamble-format'.
18087 (org-export-html-title-format): Delete.
18089 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18091 * org-exp-blocks.el (org-export-blocks-format-ditaa):
18092 This function is begin deprecated in favor of begin_src blocks.
18093 (org-export-blocks-format-dot): This function is begin deprecated in
18094 favor of begin_src blocks.
18096 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18098 * ob.el (org-babel-header-arg-names): no-expand is now part of the
18099 default header argument names list.
18101 2011-07-28 Manuel Giraud <manuel.giraud@univ-nantes.fr>
18103 * org-publish.el (org-publish-sitemap-date-format)
18104 (org-publish-sitemap-file-entry-format): New custom variables.
18105 (org-publish-projects): Use these variables to format the sitemap
18108 2011-07-28 Ulf Stegemann <ulf-news@zeitform.de>
18110 * org-gnus.el (org-gnus-store-link): Allow `org-link' creation
18111 from `message-mode'.
18113 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18115 * org-agenda.el (org-agenda-filter-by-tag): Refresh agenda when
18116 updating the filter while the clock report is following the
18119 2011-07-28 Julien Danjou <julien@danjou.info>
18121 * org-agenda.el (org-agenda): Kill all local variables.
18122 This assures we are not keeping buffer variable from an old agenda view
18123 when switching to a new custom agenda.
18125 2011-07-28 Julien Danjou <julien@danjou.info>
18127 * org-crypt.el (org-encrypt-string): New function.
18128 (org-encrypt-entry): Use org-encrypt-string to encrypt, so we use
18129 cached crypted values.
18130 (org-decrypt-entry): Store crypted text in decrypted text.
18132 2011-07-28 Dan Davison <dandavison7@gmail.com>
18134 * ob-exp.el (org-babel-exp-lob-one-liners): Only replace the match
18135 if a non-nil result is returned.
18137 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18139 * org-agenda.el (org-agenda-get-day-entries): Compare DATE with
18142 2011-07-28 Bastien Guerry <bzg@gnu.org>
18144 * org.el (org-update-parent-todo-statistics): Fix bug when
18145 updating statistics from the column view.
18147 2011-07-28 Bastien Guerry <bzg@gnu.org>
18149 * org-agenda.el (org-agenda-bulk-mark-regexp): New command.
18150 (org-agenda-menu): Add the new command to the menu.
18151 (org-agenda-mode-map): Add % as the keybinding for the new
18154 2011-07-28 Bastien Guerry <bzg@gnu.org>
18156 * org-exp.el (org-export-target-internal-links): Locally turn on
18157 `org-link-search-must-match-exact-headline' to match exact
18160 2011-07-28 Julien Danjou <julien@danjou.info>
18162 * org-faces.el (org-special-keyword): Make it inherited from
18163 `font-lock-keyword-face'.
18165 2011-07-28 Julien Danjou <julien@danjou.info>
18167 * org-faces.el (org-link): Make `org-link' inherits from `link'
18170 2011-07-28 Bastien Guerry <bzg@gnu.org>
18172 * org.el (org-narrow-to-block): New function to narrow to block.
18173 Bound this function to `C-x n b'.
18175 2011-07-28 Bastien Guerry <bzg@gnu.org>
18177 * org.el (org-schedule, org-deadline): Fix bug: take care of
18178 repeating timestamps like ".+1d/3d" or "+1d 10d".
18180 2011-07-28 Bastien Guerry <bzg@gnu.org>
18182 * org-agenda.el (org-agenda-repeating-timestamp-show-all): Allow
18183 to use a list of TODO keywords as the value of this variable.
18184 The agenda will show repeating stamps for entries matching these TODO
18186 (org-agenda-get-timestamps, org-agenda-get-deadlines)
18187 (org-agenda-get-scheduled): Allow the use of a list of keywords in
18188 `org-agenda-repeating-timestamp-show-all'.
18190 2011-07-28 Bastien Guerry <bzg@gnu.org>
18192 * org-latex.el (org-export-latex-emph-format): Don't use
18193 `org-export-latex-use-verb'. Remove this variable.
18195 2011-07-28 Jason Dunsmore <emacs-orgmode@dunsmor.com> (tiny change)
18197 * org-html.el (org-html-handle-time-stamps): Fix bug when
18198 exporting inactive timestamps.
18200 2011-07-28 Bastien Guerry <bzg@gnu.org>
18202 * org-archive.el (org-archive-save-context-info): Fix docstring
18204 (org-archive-subtree-add-inherited-tags): New variable to control
18205 whether inherited tags should be appended to local tags when
18206 archiving subtrees.
18207 (org-archive-subtree): Use the new variable.
18209 2011-07-28 Bastien Guerry <bzg@gnu.org>
18211 * org-archive.el (org-archive-save-context-info): Fix docstring.
18213 2011-07-28 Julien Danjou <julien@danjou.info>
18215 * org-crypt.el (org-decrypt-entry): Delete \n on top level
18216 heading. This avoids a display bug showing the heading outlined
18217 where the text is not since it does not have the outline property.
18218 Restore subtree visibility state after decryption.
18220 2011-07-28 Julien Danjou <julien@danjou.info>
18222 * org-agenda.el (org-agenda-list): Use `org-agenda-current-span'
18223 as a possible default span if it is set.
18225 2011-07-28 Dan Davison <dandavison7@gmail.com>
18227 * org-src.el (org-edit-src-persistent-message): Change docstring.
18228 (org-edit-src-code): Get rid of help message in echo area.
18230 * ob.el (org-babel-do-in-edit-buffer): Do not pass 'quietly
18231 argument to org-edit-src-code as this has been removed.
18233 2011-07-28 Bastien Guerry <bzg@gnu.org>
18235 * org-latex.el (org-export-latex-emphasis-alist):
18236 Use \protectedtexttt for the =...= emphasis and \verb for the ~...~
18238 (org-export-latex-use-verb): Now defaults to t.
18239 (org-export-latex-emph-format): Distinguish between =...= and
18242 2011-07-28 Julien Danjou <julien@danjou.info>
18244 * org.el (org-link-expand-abbrev): Allow any type of character in
18247 2011-07-28 Dan Davison <dandavison7@gmail.com>
18249 * ob-lob.el (org-babel-lob-ingest): Add prefix to file prompt.
18251 2011-07-28 Dan Davison <dandavison7@gmail.com>
18253 * ob-ref.el (org-babel-ref-resolve): `save-window-excursion' when
18254 resolving references.
18256 2011-07-28 Bastien Guerry <bzg@gnu.org>
18258 * org-html.el (org-export-html-html-helper-timestamp): Use <hr/>
18259 instead of <hr> to keep w3c validator happy.
18261 2011-07-28 Dan Davison <dandavison7@gmail.com>
18263 * ob.el (org-babel-where-is-src-block-head): Detect src block if
18264 point is on a #+header line.
18266 2011-07-28 Dan Davison <dandavison7@gmail.com>
18268 * ob.el (org-babel-where-is-src-block-head): Skip over intervening
18269 #+header lines when searching for block associated with block name
18272 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18274 * ob.el (org-babel-result-end): Replace call to `org-in-item-p' to
18275 the more specific `org-at-item-p'.
18277 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18279 * org-latex.el (org-latex-default-figure-position): New defcustom
18280 for default placement of latex figures.
18281 (org-export-latex-tables): Positioning tables using the new
18282 defcustom variable.
18283 (org-export-latex-format-image): Positioning images using the new
18284 defcustom variable.
18286 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18288 * ob-ditaa.el (org-babel-execute:ditaa): Throw error when
18289 evaluated and :file header argument is missing.
18291 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18293 * ob-exp.el (org-babel-exp-do-export): Simplify, no longer need
18294 to do anything to export code.
18295 (org-babel-exp-results): No longer returns a replacement for the
18297 (org-babel-exp-inline-src-blocks): Simplify.
18298 (org-babel-exp-src-block): Remove unnecessary pluralization from
18301 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18303 * ob-exp.el (org-babel-exp-inline-src-blocks):
18304 Simplify exportation of inline code blocks using normal code block
18305 execution mechanism to insert results.
18306 (org-babel-exp-results): Results exportation mechanism is unified
18307 for both inline and regular code blocks.
18309 * ob.el (org-babel-where-is-src-block-result): Returns the point
18310 after an inline code block for inline code blocks.
18312 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18314 * ob.el (org-babel-insert-result): Special handling of the
18315 position of results of inline code blocks.
18316 (org-babel-examplize-region): Now able to comment inline regions.
18318 2011-07-28 Lawrence Mitchell <wence@gmx.li>
18320 * org-exp.el (org-export-with-LaTeX-fragments): Fix docstring so
18321 that \\[ a = b \\] is not interpreted as a keybinding by
18322 `substitute-command-keys'.
18324 2011-07-28 Dan Davison <dandavison7@gmail.com>
18326 * org-latex.el (org-export-as-latex): Process export property list
18327 with `org-export-process-option-filters' early in latex export.
18329 2011-07-28 Julien Danjou <julien@danjou.info>
18331 * org.el: Remove `org-invisible-p': `outline-invisible-p' is
18332 available in Emacs 22 and in recent XEmacs 21. Replace in various
18335 2011-07-28 Julien Danjou <julien@danjou.info>
18337 * org-agenda.el (org-agenda-get-progress): Fix regexp for statep:
18338 it must has \\ at the end of the line. This avoid matching the
18339 following heading when there's no newline between the logged state
18340 and the next heading.
18342 2011-07-28 Julien Danjou <julien@danjou.info>
18344 * org-agenda.el (org-format-agenda-item): Simplify time comuting.
18346 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18348 * org.el (org-current-level, org-store-link, org-mark-subtree):
18349 Use `org-with-limited-levels'.
18351 2011-07-28 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
18353 * org-publish.el (org-publish-get-base-files): Add sitemap file.
18355 2011-07-28 Matt Lundin <mdl@imapmail.org>
18357 * org-agenda.el (org-agenda-todo-ignore-deadlines): New option.
18358 (org-agenda-todo-ignore-scheduled): New option.
18359 (org-agenda-todo-ignore-timestamp): New option.
18360 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
18361 Allow user to specify custom distance to ignore (future or past).
18362 (org-agenda-todo-custom-ignore-p): New function.
18364 2011-07-28 Matt Lundin <mdl@imapmail.org>
18366 * org-habit.el (org-habit-parse-todo) Don't parse more days than
18369 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18371 * ob.el (org-babel-map-inline-src-blocks): Macro for executing
18372 code in each inline code block.
18373 (org-babel-execute-buffer): Executes inline code blocks as well as
18374 regular code blocks.
18376 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18378 * ob.el (org-babel-result-end): Now recognizes "#+begin_org"
18379 blocks for removal.
18381 2011-07-28 Benjamin Drieu <bdrieu@april.org> (tiny change)
18383 * org-clock.el (org-clock-before-select-task-hook): New hook.
18384 (org-clock-select-task): Run new hook.
18386 2011-07-28 Julien Danjou <julien@danjou.info>
18388 * org-agenda.el (org-agenda-get-blocks): Fix time of start/end of
18389 events with range. This display things like: <2011-01-22 Sat
18390 14:00>--<2011-01-23 Sun 20:00> correctly, with the event starting
18391 at 14:00 and ending at 20:00.
18393 2011-07-28 Dan Davison <dandavison7@gmail.com>
18395 * ob.el (org-babel-inline-src-block-regexp): Character preceding
18396 "src_" can now be anything as long as it is neither alphanumeric
18399 2011-07-28 Dan Davison <dandavison7@gmail.com>
18401 * ob.el (org-babel-merge-params): Docstring typo.
18403 2011-07-28 Dan Davison <dandavison7@gmail.com>
18405 * ob.el (org-babel-params-from-buffer): Process all #+babel: lines
18408 2011-07-28 Dan Davison <dandavison7@gmail.com>
18410 * ob.el (org-babel-get-src-block-info): Alter order of merge
18413 2011-07-28 Dan Davison <dandavison7@gmail.com>
18415 * ob-python.el: Test whether non-nil buffer is #<killed buffer>.
18417 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18419 * ob.el (org-babel-insert-result): Ensure all parts of result
18420 wrappers end in newlines.
18422 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18424 * ob-tangle.el (org-babel-tangle): New :mkdirp header argument
18425 optionally creates parent directories of tangle targets.
18427 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18429 * org-ascii.el (org-ascii-level-start): Catch the case of levels
18430 which do not have an equivalent in the list of underline
18433 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18435 * ob-sh.el (org-babel-sh-var-quote-fmt): Now possible to customize
18436 the format string used to escape arguments to shell code blocks.
18438 2011-07-28 Julien Danjou <julien@danjou.info>
18440 * org-agenda.el (org-agenda-reset-view): New function.
18441 (org-agenda-view-mode-dispatch): Bind space to org-agenda-reset-view.
18443 2011-07-28 Puneeth Chaganti <punchagan@gmail.com>
18445 * org-exp.el (org-export-handle-include-files): Support :lines
18447 (org-get-file-contents): New argument lines to include specify a
18448 range of lines to include.
18450 2011-07-28 Bastien Guerry <bzg@gnu.org>
18452 * org.el (org-fast-tag-selection): Fix bug when assigning keys.
18454 2011-07-28 Lawrence Mitchell <wence@gmx.li>
18456 * org-latex.el (org-export-latex-make-header): Export email in
18457 author line if `org-export-email-info' is non-nil.
18459 2011-07-28 Julien Danjou <julien@danjou.info>
18461 * org-agenda.el (org-agenda-goto-today): Respect current span.
18463 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18465 * org-complete.el (pcomplete/org-mode/link)
18466 (pcomplete/org-mode/todo, pcomplete/org-mode/prop): Copy list
18467 before uniquifying.
18469 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18471 * ob-tangle.el (org-babel-spec-to-string): Adding "noweb" as a
18472 linking comment type
18473 (org-babel-tangle-comment-links): Returns comment links for the
18474 source code block at point.
18476 2011-07-28 Bastien Guerry <bzg@gnu.org>
18478 * org.el (org-refile-check-position): Send a more explicit message
18479 on how to clear the cache before refiling again.
18481 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18483 * org-agenda.el (org-agenda-skip-function-global): New option.
18484 (org-agenda-skip-eval): New function.
18485 (org-agenda-skip): Use `org-agenda-skip-eval' and also check for
18486 the global skipping condition.
18488 2011-07-28 David Maus <dmaus@ictsoc.de>
18490 * org-html.el (org-export-as-html): Handle timestamps after
18493 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18495 * ob-tangle.el (org-babel-tangle-jump-to-org): Ever wider searches
18496 until either a matching block is found, or the limits of the file
18499 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18501 * ob.el (org-babel-update-block-body): Literal argument to
18502 `replace-match' to allow insertion of text containing '\'.
18504 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18506 * ob-ref.el (org-babel-ref-parse): Allow passing empty strings
18509 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18511 * org.el (org-sort-entries): Fix sorting with a bold emphasis at bol.
18513 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18515 * ob.el (org-babel-open-src-block-result): Must collect result
18516 *before* jumping to the result buffer.
18518 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18520 * ob.el (org-babel-src-block-names): Fix bug, wrong match-string
18521 used after update to regexp.
18523 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18525 * ob.el (org-babel-temp-file): Ensure that
18526 `org-babel-temporary-directory' is bound before using.
18527 (org-babel-remove-temporary-directory): Safer error throwing.
18529 2011-07-28 niels giesen <niels.giesen@gmail.com>
18531 * org-docbook.el (org-export-docbook-finalize-table): Do literal
18534 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18536 * ob.el (org-babel-execute-src-block): Uses org-src-lang-modes to
18537 resolve language names for evaluation.
18539 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18541 * org-capture.el (org-capture-templates): Add %f and %F escapes
18542 (org-capture): Add more information to capture property list
18543 (org-capture-fill-template): Handle %f and %F escapes.
18545 2011-07-28 David Maus <dmaus@ictsoc.de>
18547 * org-publish.el (org-publish-cache-ctime-of-src): Use mtime of
18550 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18552 * org.el (org-occur-next-match): New function.
18553 (org-mode): Set the variable `next-error-function'.
18554 (org-highlight-new-match): Add an `org-type' property to the
18557 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18559 * ob-calc.el: No longer require `calc-trail' on XEmacs.
18561 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18563 * org.el (org-modules): Add `org-eshell'.
18565 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18567 * org-special-blocks.el (htmlp, latexp, line): Add defvars for
18568 dynamically scoped variables.
18570 * org.el (org-modules): Move `org-special-blocks' into the core
18573 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18575 * org-special-blocks.el: New file.
18577 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18579 * org.el (org-plist-delete): Remove duplicate definition.
18581 2011-07-28 Bernt Hansen <bernt@norang.ca>
18583 * org-agenda.el (org-agenda-goto): Display invisible entry text.
18585 * org-agenda.el (org-agenda-switch-to): Display invisible entry
18588 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18590 * org.el (org-get-category): New optional argument FORCE-REFRESH.
18591 Automatically refresh if the property is not there.
18592 (org-entry-properties): Remove refresh - this is now done in
18595 * org-clock.el (org-clock-insert-selection-line):
18596 Let `org-get-category' do the property refresh.
18598 * org-archive.el (org-archive-subtree): Force a refresh of
18599 category properties.
18601 2011-07-28 Julien Danjou <julien@danjou.info>
18603 * org-icalendar.el (org-print-icalendar-entries): Do not manually
18604 refresh categories.
18606 2011-07-28 Dan Davison <dandavison7@gmail.com>
18608 * org.el (org-display-inline-images): Check for clear-image-cache
18611 2011-07-28 Bernt Hansen <bernt@norang.ca>
18613 * org.el: Document missing value for org-link-frame-setup.
18615 2011-07-28 Dan Davison <dandavison7@gmail.com>
18617 * ob-R.el (org-babel-R-write-object-command): Force evaluation of
18618 user code prior to the R exception-handling, so that errors in
18619 user code are unhandled.
18621 2011-07-28 Dan Davison <dandavison7@gmail.com>
18623 * org-src.el (org-src-font-lock-fontify-block): Test, early on,
18624 that a major-mode function corresponding to the language string
18627 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18629 * org-exp.el (org-export-mark-list-ending): Insert additional
18630 newline characters if end-list-marker is at a wrong position.
18632 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18634 * ob.el (org-babel-script-escape): Replace commas with spaces for
18635 better list reading when list items are packed with commas,
18636 e.g. Haskell list output.
18638 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18640 * ob-sass.el (org-babel-execute:sass): Uses ob-eval for better
18643 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18645 * ob.el (org-babel-confirm-evaluate): Fix for the case when
18646 org-confirm-babel-evaluate is a function (used to always ask no
18647 matter what the function returns).
18649 2011-07-28 Dan Davison <dandavison7@gmail.com>
18651 * ob-R.el: Delete duplicated function.
18653 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18655 * ob.el (org-babel-execute-src-block): Remove unused flet
18658 2011-07-28 Dan Davison <dandavison7@gmail.com>
18660 * ob-asymptote.el (org-babel-execute:asymptote): Return nil to
18661 signal that the intended content has been written to file.
18663 * ob-ditaa.el (org-babel-execute:ditaa): Return nil to signal that
18664 the intended content has been written to file.
18666 * ob-dot.el (org-babel-execute:dot): Return nil to signal that the
18667 intended content has been written to file.
18669 * ob-gnuplot.el (org-babel-execute:gnuplot): Return nil to signal
18670 that the intended content has been written to file.
18672 * ob-latex.el (org-babel-execute:latex): Return nil to signal that
18673 the intended content has been written to file.
18675 * ob-mscgen.el (org-babel-execute:mscgen): Return nil to signal
18676 that the intended content has been written to file.
18678 * ob-octave.el (org-babel-execute:octave): Return result; not name
18681 * ob-plantuml.el (org-babel-execute:plantuml): Return nil to
18682 signal that the intended content has been written to file.
18684 * ob-python.el (org-babel-execute:python): Return result; not name
18687 * ob-ruby.el (org-babel-execute:ruby): Return result; not name of
18690 * ob-sass.el (org-babel-execute:sass): Return nil if result has
18691 been written to file.
18693 2011-07-28 Dan Davison <dandavison7@gmail.com>
18695 * ob-R.el (org-babel-R-graphical-output-file): New function
18696 returns the name of the output file iff R has been instructed to
18697 send graphical output to file by means of the ":results graphics"
18699 (org-babel-expand-body:R): Use `org-babel-R-graphical-output-file'
18700 when constructing the R code to evaluate, which may be augmented
18701 with code implementing the writing of graohical output to file.
18702 (org-babel-execute:R): Use `org-babel-R-graphical-output-file' to
18703 determine whether R is taking responsibility for writing output to
18704 file; if so, this is signaled to ob.el by returning a nil result.
18706 2011-07-28 Dan Davison <dandavison7@gmail.com>
18708 * ob.el (org-babel-format-result): New function to format results
18709 of src block execution.
18710 (org-babel-execute-src-block): Use `org-babel-format-result' when
18712 (org-babel-open-src-block-result): Use `org-babel-format-result'
18713 when displaying results in a buffer. Name results buffer
18716 2011-07-28 Dan Davison <dandavison7@gmail.com>
18718 * ob.el (org-babel-execute-src-block): Avoid calling
18719 `orgtbl-to-generic' on number results.
18721 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18723 * ob.el (org-babel-execute-src-block): Allow specification of
18724 table separator with :sep header argument.
18725 (org-babel-open-src-block-result): Allow specification of table
18726 separator with :sep header argument.
18728 2011-07-28 Dan Davison <dandavison7@gmail.com>
18730 * ob.el (org-babel-execute-buffer): Wipe error buffer at outset of
18731 executing buffer (note that this handles execute subtree also).
18733 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com>
18735 * org-inlinetask.el (org-inlinetask-in-task-p): Small refactoring,
18736 do not modify match data either.
18737 (org-inlinetask-goto-end): Small refactoring, remove
18739 (org-inlinetask-goto-beginning): Small refactoring, remove
18742 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18744 * org-capture.el (org-capture-set-target-location):
18745 Use `current-time'.
18747 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18749 * org-capture.el (org-capture-set-target-location):
18750 Use `current-time'.
18752 2011-07-28 Bernt Hansen <bernt@norang.ca>
18754 * org.el (org-before-first-heading-p): If point is on an org-mode
18755 heading line then we are not before the first heading.
18757 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
18759 * org-timer.el (org-timer-continue-hook): Define the variable
18760 (org-timer-pause-or-continue): Run hook after relative timer is
18763 2011-07-28 Julien Danjou <julien@danjou.info>
18765 * org-agenda.el (org-compile-prefix-format): Allow %() expression.
18767 2011-07-28 Julien Danjou <julien@danjou.info>
18769 * org-capture.el (org-capture-fill-template): Use org-eval.
18771 2011-07-28 Julien Danjou <julien@danjou.info>
18773 * org-agenda.el (org-eval): New function.
18775 2011-07-28 Dan Davison <dandavison7@gmail.com>
18777 * ob.el (org-babel-execute-src-block): With :results file, when
18778 :file is not supplied, interpret result as a file link as long as
18781 2011-07-28 David Maus <dmaus@ictsoc.de>
18783 * org-latex.el (org-export-latex-preprocess): Don't convert link
18784 description parts that look like numeric footnote.
18786 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18788 * org-latex.el (org-export-latex-tables): Allowing specification
18789 of tabular[xy] inner environments through the ATTR_LaTeX line.
18791 2011-07-28 Julien Danjou <julien@danjou.info>
18793 * org-capture.el (org-capture-fill-template):
18794 Use `org-set-property' directly.
18796 2011-07-28 Julien Danjou <julien@danjou.info>
18798 * org-agenda.el (org-agenda-prefix-format): Add missing `search'
18801 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18803 * org-exp.el (org-export-string): Use `format' to construct
18804 function call to allow symbolic or string arguments.
18806 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18808 * org-capture.el (org-capture-place-entry):
18809 (org-capture-insert-template-here): Check tree for validity before
18812 2011-07-28 Julien Danjou <julien@danjou.info>
18814 * org-gnus.el (org-gnus-store-link): Trim date.
18816 2011-07-28 Julien Danjou <julien@danjou.info>
18818 * org.el (org-email-link-description): Allow to retrieve email
18821 2011-07-28 Lawrence Mitchell <wence@gmx.li>
18823 * org.el (org-make-target-link-regexp): `regexp-quote' target
18824 before replacing whitespace.
18826 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18828 * ob.el (org-babel-expand-noweb-references): Noweb references can
18829 now be resolved from the library of babel.
18831 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18833 * ob.el (org-babel-result-end): No longer leaving trailing new
18834 line after block removal.
18836 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18838 * org-latex.el (org-export-latex-first-lines): Anchor outline
18839 regexp during LaTeX tree export.
18841 2011-07-28 Konrad Hinsen <konrad.hinsen@fastmail.net>
18843 * ob-python.el (org-babel-python-initiate-session-by-key):
18844 Make sure that py-which-bufname is initialized, as otherwise it will be
18845 overwritten the first time a Python buffer is created.
18847 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18849 * ob-sh.el (org-babel-sh-var-to-sh): Better escaping of variables
18852 2011-07-28 Eric Schulte <schulte.eric@gmail.com>
18854 * ob-org.el (org-babel-execute:org): Padding code block with an
18855 empty title on LaTeX export.
18857 2011-07-28 Matt Lundin <mdl@imapmail.org>
18859 * org.el (org-entry-properties): Stop scanning for timestamps if a
18860 specific timestamp property (e.g., DEADLINE, SCHEDULED, etc.) is
18861 requested and a match is found. Also, if a specific timestamp
18862 property is requested, do not push non-relevant timestamps onto
18865 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18867 * org-agenda.el (org-agenda-add-time-grid-maybe): Show time only
18868 when grid is being made for today.
18870 2011-07-28 Matt Lundin <mdl@imapmail.org>
18872 * org-agenda.el (org-agenda-get-scheduled): Don't call
18873 `org-is-habit-p' until after checking for
18874 `org-agenda-skip-scheduled-if-done'.
18876 2011-07-28 Achim Gratz <Stromeko@nexgo.de>
18878 * org.el: Remove spurious linebreak introduced by earlier patch.
18880 * ob.el, ob-ref.el: Remove double fix of the same problem.
18882 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18884 * org-table.el (orgtbl-ctrl-c-ctrl-c): Parse buffer for constants.
18886 2011-07-28 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl>
18888 * org-html.el (org-export-html-mathjax-template):
18889 Displaymath environment and MathJax.
18891 2011-07-28 Carsten Dominik <carsten.dominik@gmail.com>
18893 * org-faces.el (org-agenda-current-time): New face.
18895 * org-agenda.el (org-agenda-show-current-time-in-grid):
18896 (org-agenda-current-time-string): New options.
18897 (org-agenda-add-time-grid-maybe): Add current time to time grid.
18899 2011-05-10 Jim Meyering <meyering@redhat.com>
18901 Fix doubled-word typos.
18902 * org-agenda.el (org-agenda-entry-types): the the -> the
18903 * org-table.el (org-table-get-remote-range): or or -> or
18904 * org-wl.el (org-wl-folder-type): the the -> the
18905 * org.el (org-goto, org-inside-LaTeX-fragment-p): Likewise.
18907 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18909 * org-src.el (org-src-switch-to-buffer):
18910 * org-plot.el (org-plot/gnuplot-script, org-plot/gnuplot):
18911 * org-mouse.el (org-mouse-agenda-type):
18912 * org-freemind.el (org-freemind-node-to-org):
18913 * ob-sql.el (org-babel-execute:sql):
18914 * ob-exp.el (org-babel-exp-do-export, org-babel-exp-code):
18915 * ob-ref.el (org-babel-ref-resolve): Fix use of case.
18917 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
18919 * Version 23.3 released.
18921 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
18923 * org.el (org-blank-before-new-entry, org-context-in-file-links)
18924 (org-refile-targets, org-log-repeat, org-insert-link)
18925 (org-speed-command-default-hook, org-speed-command-hook)
18926 (org-in-regexps-block-p, org-yank-generic, org-goto-first-child):
18927 Fix typos in docstrings.
18928 (org-toggle-pretty-entities): Fix typo in message.
18930 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
18932 * org-id.el: Don't set `kill-emacs-hook' on noninteractive sessions.
18934 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
18936 * org-remember.el (org-remember-mode-map):
18937 * org-src.el (org-src-mode-map): Move initialization into declaration.
18939 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
18941 * org-remember.el (org-remember-mode):
18942 * org-capture.el (org-capture-mode): Don't run hook redundantly.
18944 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
18946 * org-faces.el (org-link): Inherit from link face.
18947 Suggested by Joakim Verona.
18949 2010-12-11 Tassilo Horn <tassilo@member.fsf.org>
18951 * org-footnote.el (org-footnote-create-definition): Place
18952 Footnotes section before message-signature-separator also in modes
18953 derived from message-mode.
18955 2010-12-11 Julien Danjou <julien@danjou.info>
18957 * org.el (org-make-tags-matcher): Remove useless cat-p value.
18959 2010-12-11 Julien Danjou <julien@danjou.info>
18961 * org.el (org-entry-properties): Enhance docstring.
18963 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
18965 * org-list.el (org-list-top-point-with-indent)
18966 (org-list-bottom-point-with-indent): Pay also attention to
18967 'original-indentation property of text, as blocks are put to
18968 column 0 upon exporting.
18970 2010-12-11 Dan Davison <dandavison7@gmail.com>
18972 * ob.el (org-babel-remove-temporary-directory): Handle exception
18973 with message informing of failure to remove directory.
18975 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
18977 * ob-clojure.el (org-babel-header-arg-names:clojure): Add
18978 `package' to the list of Clojure header arguments which will be read
18979 from heading properties.
18981 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
18983 * org-inlinetask.el (org-inlinetask-export-templates): Add
18984 Sébastien Vauban's suggestion for LaTeX export in docstring. This is
18985 not default as it requires an additional LaTeX package: "todonotes".
18987 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
18989 * org-inlinetask.el (org-inlinetask-export-templates): New variable.
18991 * org-inlinetask.el (org-inlinetask-export-handler): Make use of
18992 templates to export inline tasks.
18994 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
18996 * org.el (org-current-level): Ignore inline tasks when getting current
18999 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
19001 * org.el (org-indent-line-function): Ignore drawers inside inline
19002 tasks if the line to indent isn't inside an inline task itself.
19004 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
19006 * org-inlinetask.el (org-inlinetask-get-task-level): New function.
19008 * org-indent.el (org-indent-add-properties): Find true level of
19009 indentation wrt inline tasks.
19011 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
19013 * org-inlinetask.el (org-inlinetask-outline-regexp): New function.
19015 * org-inlinetask.el (org-inlinetask-goto-beginning): New function.
19017 * org-inlinetask.el (org-inlinetask-goto-end): New function.
19019 * org.el (org-mark-subtree): New command.
19021 * org.el (org-speed-commands-default, org-mode-map): Make use of
19024 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
19026 * org-inlinetask.el (org-inlinetask-export-handler): Remove protection
19027 from @<span class...> so it can be removed during LaTeX export.
19029 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19031 * ob.el (org-babel-insert-result): More informative code block
19032 evaluation messages.
19034 2010-12-11 Matt Lundin <mdl@imapmail.org>
19036 * org.el (org-make-heading-search-string): Optionally limit number
19037 of lines stored in file link search strings.
19038 (org-context-in-file-links): Add option to set to integer specifying
19041 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19043 * org-capture.el (org-capture-finalize): New prefix argument
19045 (org-capture-refile): Improve docstring.
19047 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19049 * ob-sql.el (org-babel-execute:sql): Add msosql as optional sql
19050 interaction engine.
19052 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19054 * org-agenda.el (org-agenda-list):
19055 (org-agenda-goto-today): Use `org-today'.
19057 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19059 * org-latex.el (org-export-latex-make-header): Swap \begin{document}
19060 and the title/author definitions.
19062 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19064 * org-macs.el: Better backup definition for
19065 `with-silent-modifications'.
19067 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19069 * ob-python.el (org-babel-execute:python): Rename "prefix" to
19071 (org-babel-python-evaluate): Rename "prefix" to "preamble".
19072 (org-babel-python-evaluate-external-process): Rename "prefix" to
19075 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19077 * ob.el (org-babel-examplize-region): Check if `end' is a marker
19078 or a point and handle appropriately.
19080 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19082 * ob-sql.el (org-babel-execute:sql): Explicitly set field
19083 separator to \t when importing tabular data.
19085 2010-12-11 Julien Danjou <julien@danjou.info>
19087 * org-agenda.el (org-agenda-custom-commands-local-options):
19088 Allow org-agenda-span to be a symbol.
19089 (org-agenda-ndays): Make obsolete.
19090 (org-agenda-span): New variable superseding org-agenda-ndays.
19091 (org-agenda-menu): Use org-agenda-current-span.
19092 (org-agenda-current-span): New local variable storing current
19094 (org-agenda-list): Take a span instead of ndays as argument.
19095 This function is now responsible for computing the ndays based
19097 (org-agenda-ndays-to-span): Return span only if number of days
19099 (org-agenda-span-to-ndays): New function.
19100 (org-agenda-manipulate-query): Use org-agenda-compute-starting-span.
19101 (org-agenda-goto-today): Use org-agenda-compute-starting-span.
19102 (org-agenda-later): Do not give compute a new span, use the
19104 (org-agenda-day-view, org-agenda-week-view)
19105 (org-agenda-month-view, org-agenda-year-view): Stop touching
19107 (org-agenda-change-time-span): Only compute starting-span.
19108 (org-agenda-compute-starting-span): New function derived from
19109 the old org-agenda-compute-time-span.
19110 (org-agenda-set-mode-name): Compute mode based on
19111 org-agenda-current-span.
19112 (org-agenda-span-name): New function.
19114 2010-12-11 Robert Pluim <rpluim@gmail.com> (tiny change)
19116 * org-agenda.el (org-agenda-toggle-deadlines): Fix docstring.
19118 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19120 * org-clock.el (org-quarter-to-date): Define variables.
19121 (org-clock-special-range): Defin variables. Use org-floor*.
19122 (org-clocktable-write-default): Define tcol.
19124 * org-compat.el (org-floor*): New function.
19126 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19127 John Wiegley <jwiegley@gmail.com>
19129 * org-complete.el: New file.
19131 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19133 * org-clock.el (org-clocktable-write-default): Fix the % formula.
19135 2010-12-11 Matt Lundin <mdl@imapmail.org>
19137 * org-agenda.el (org-format-agenda-item): The value of
19138 org-category is not converted to a string unless it is defined.
19140 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19142 * ob-python.el (org-babel-execute:python): Pass the new "prefix"
19143 header argument through to external evaluation.
19144 (org-babel-python-evaluate): Pass the new "prefix" header argument
19145 through to external evaluation.
19146 (org-babel-python-evaluate-external-process): When specified prepend
19147 "prefix" to the file used in external evaluation.
19149 2010-12-11 Dan Davison <dandavison7@gmail.com>
19151 * ob-python.el (org-babel-python-evaluate-session): Change python
19152 module name from 'pp' to 'pprint'.
19154 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19156 * ob-R.el (org-babel-R-evaluate-session): Removing empty lines
19157 from R session output, these are often the result of variable
19160 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19162 * ob-sql.el (orgtbl-to-csv): Declaring an external function to
19163 fix a compiler warning.
19165 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19167 * ob-eval.el (require): No longer require ob.el to allow
19168 requiring by ob.el.
19170 * ob.el (ob-eval): Require ob-eval.
19172 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19174 * ob.el (org-babel-confirm-evaluate): Show code block's name when
19175 it is available during evaluation query.
19177 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19179 * ob-sql.el (org-babel-expand-body:sql): Expand the body of a sql
19181 (org-babel-execute:sql): Use sql specific body expansion function.
19182 (org-babel-sql-expand-vars): Insert variables into a sql code block.
19184 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19186 * ob.el (org-babel-insert-result): Using markers instead of
19187 points for more robust buffer anchors.
19189 2010-12-11 Julien Danjou <julien@danjou.info>
19191 * org-capture.el: Use org-today.
19193 2010-12-11 Julien Danjou <julien@danjou.info>
19195 * org-habit.el: Use org-today.
19197 2010-12-11 Julien Danjou <julien@danjou.info>
19199 * org.el (org-auto-repeat-maybe): Use org-today.
19201 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19203 * org-clock.el (org-day-of-week): New function.
19204 (org-quarter-to-date): New function.
19205 (org-clock-special-range): Implement quarters.
19207 2010-12-11 Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>
19209 * org.el (org-complete-tags-always-offer-all-agenda-tags):
19212 2010-12-11 Julien Danjou <julien@danjou.info>
19214 * org-agenda.el (org-format-agenda-item): Convert category to a string
19215 if it is a symbol. This fixes the following call to
19216 org-agenda-get-category-icon which fails if category is not a string.
19218 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19220 * ob-clojure.el: Updated requirements documentation to mention
19221 the minimum version of Clojure.
19222 (org-babel-expand-body:clojure): Fully qualified function name.
19224 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
19226 * org-latex.el (org-export-latex-lists): Do not add an
19227 unnecessary newline character after a list.
19229 * org-list.el (org-list-bottom-point-with-indent): Ensure bottom
19230 point is just after a non blank line.
19232 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19234 * ob.el (org-babel-examplize-region): Remove old assertion which
19235 no longer applies to the result insertion code.
19237 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19239 * ob-python.el (org-babel-execute:python): Use a :return header
19240 argument for external evaluation in which the code block body need
19241 to be wrapped in a function.
19243 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19245 * ob-clojure.el (org-babel-expand-body:clojure): Trapped free
19248 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19250 * org.el (org-edit-special): Edit formulas when in TBLMF line.
19252 2010-12-11 Allen S. Rout <asr@ufl.edu> (tiny change)
19254 * org-capture.el (org-capture-after-finalize-hook): New hook.
19255 (org-capture-finalize): Run the new hook.
19257 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19259 * ob-clojure.el (org-babel-expand-body:clojure): Support for
19260 pretty printing of Clojure code and data.
19262 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19264 * ob.el (org-babel-insert-result): No longer escape results which
19265 will be wrapped in a block.
19267 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19269 * ob-eval.el (org-babel-eval-wipe-error-buffer): Fix compiler
19270 warning and added documentation string.
19272 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19274 * ob-clojure.el (org-babel-execute:clojure): Remade using slime
19275 for all code evaluation.
19277 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19279 * org-beamer.el (org-beamer-sectioning): Allow overlay arguments for
19280 the column as well.
19282 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19284 * ob.el (org-babel-confirm-evaluate): More descriptive message
19285 when evaluation is aborted or disabled.
19287 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19289 * ob.el (org-babel-insert-result): Responds to new "wrap" header
19291 (org-babel-merge-params): Includes new "wrap" header argument in
19292 one of the results header argument exclusive groups.
19294 2010-12-11 David Maus <dmaus@ictsoc.de>
19296 * org-macs.el (with-silent-modifications): Fix condition for
19297 with-silent-modification.
19299 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19301 * ob.el (org-babel-parse-header-arguments): Stripping trailing
19302 spaces off of header arguments (even the first one).
19304 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19306 * ob-sh.el (org-babel-sh-var-to-sh): Wrap end token of heredoc in
19307 single quotes which is the best practice.
19308 (org-babel-sh-table-or-results): Use `org-babel-script-escape' for
19309 more robust parsing of shell output.
19311 2010-12-11 Dan Davison <dandavison7@gmail.com>
19313 * org.el (org-additional-option-like-keywords): Add more keywords,
19314 and colons to some old ones.
19316 2010-12-11 Dan Davison <dandavison7@gmail.com>
19318 * ob-eval.el (org-babel-error-buffer-name): Define new variable.
19320 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19322 * ob-python.el (org-babel-python-table-or-string):
19323 Using `org-babel-script-escape' for reading string input from scripting
19326 2010-12-11 Achim Gratz <Stromeko@nexgo.de> (tiny change)
19328 * org-macs.el (org-called-interactively-p): Wrap function call in
19330 (with-silent-modifications): Declare macro for Emacs < 23.2.
19332 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19334 * ob.el (org-babel-parse-header-arguments): Remove addition of
19335 ":" to singleton first header arguments as it was leading to errors.
19337 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19339 * org-latex.el (org-export-latex-make-header): Run the title through
19340 `org-export-latex-fontify-headline'.
19341 (org-export-latex-fontify-headline): Do the protection of math
19342 snippets also here.
19344 2010-12-11 Richard Lawrence <richard.lawrence@berkeley.edu>
19346 * org-latex.el (org-export-as-latex): Sent the section title
19347 through the preprocessor.
19349 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19351 * org-html.el (org-html-level-start): Mark listified headings
19354 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19356 * org.el (org-open-at-point): Don't do footnote action if cursor is
19359 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19361 * org.el (org-edit-special): Check also for TBLFM line.
19363 2010-12-11 Achim Gratz <Stromeko@Stromeko.DE> (tiny change)
19365 * org-clock.el (org-get-clocktable): Previous patch incorrectly
19366 required whitespace in front of #+BEGIN: and #+END:.
19368 2010-12-11 Dan Davison <dandavison7@gmail.com>
19370 * org-src.el (org-edit-src-code): Allow region to be inherited by
19371 edit buffer when mark is one character beyond end of src block.
19373 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
19375 * org-list.el (org-cycle-list-bullet): Ensure point is at bol before
19376 checking item indentation.
19378 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19380 * ob.el (org-babel-map-src-blocks): Move to earlier in the file
19381 and now autoloading.
19383 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19385 * ob-ref.el (org-babel-ref-at-ref-p): Use higher level function
19386 for testing list membership.
19388 * ob.el (org-babel-read-result): Use higher level function for
19389 testing list membership.
19390 (org-babel-result-end): Use higher level function for testing list
19393 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19395 * ob-sqlite.el (ob-eval): Require ob-eval for external command
19397 (org-babel-execute:sqlite): No longer uses the init option for
19398 passing commands to sqlite.
19400 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
19402 * org.el (org-indent-line-function): Drawers and blocks have no
19403 influence on indentation of text below. Also fix indentation
19404 problem with a block at column 0 and add a special case for
19407 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19409 * ob.el (org-babel-map-src-blocks): Ensure that the file argument
19410 is only evaluated once.
19412 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19414 * ob-ref.el (org-babel-ref-resolve): Recognize `list' as a unique
19416 (org-babel-ref-at-ref-p): Recognize `list' as a unique type of data.
19418 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19420 * ob-tangle.el (org-babel-load-file): Can be called interactively.
19422 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
19424 * org-table.el (orgtbl-after-send-table-hook): New hook.
19425 (orgtbl-ctrl-c-ctrl-c): Run `orgtbl-after-send-table-hook' when a
19427 (orgtbl-send-table): Return the number of sent tables, or nil if no
19428 sending has happened.
19430 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19432 * org.el (org-get-priority-function): New option.
19433 (org-get-priority): Call `org-get-priority-function' if that
19436 2010-12-11 Dan Davison <dandavison7@gmail.com>
19438 * ob-table.el (org-babel-table-truncate-at-newline): Only add
19439 "..." if there is something after the newline.
19441 2010-12-11 Achim Gratz <Stromeko@nexgo.de> (tiny change)
19443 * org-clock.el (org-get-clocktable):
19444 (org-in-clocktable-p):
19445 (org-clocktable-shift):
19446 (org-clocktable-steps): Fix regexp to allow for indented clock tables.
19448 2010-12-11 Puneeth Chaganti <punchagan@gmail.com>
19450 * org-exp.el (org-export-handle-include-files): Support :minlevel
19452 (org-get-file-contents): New argument minlevel to demote included
19455 2010-12-11 Noorul Islam <noorul@noorul.com>
19457 * org-latex.el (org-export-latex-hyperref-format): New option.
19458 (org-export-latex-href-format): Rename the existing variable
19459 `org-export-latex-hyperref-format' as `org-export-latex-href-format'
19460 (org-export-latex-links): Use `org-export-latex-hyperref-format' and
19461 `org-export-latex-href-format'.
19463 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19465 * ob-calc.el (org-babel-execute:calc): Ensure the *Calculator*
19466 buffer exists before it is used.
19468 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
19470 * org-exp.el (org-export-preprocess-string): Delay code block
19471 processing a bit to allow correct list parsing in the export string.
19473 2010-12-11 Christopher Allan Webber <cwebber@dustycloud.org>
19475 * org-agenda.el (org-agenda-timegrid-use-ampm): New option.
19476 (org-agenda-time-of-day-to-ampm): New function.
19477 (org-agenda-time-of-day-to-ampm-maybe): New function.
19478 (org-format-agenda-item): Call org-agenda-time-of-day-to-ampm-maybe.
19480 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19482 * org-faces.el (org-cycle-level-faces): New option.
19484 * org.el (org-get-level-face): Honor org-cycle-level-faces.
19486 2010-12-11 Julien Danjou <julien@danjou.info>
19488 * org-agenda.el (org-agenda-today): New function.
19489 (org-agenda-get-day-face): New function.
19490 (org-timeline): Use org-agenda-today and org-agenda-get-day-face.
19491 (org-agenda-list): Use org-agenda-today and org-agenda-get-day-face.
19492 (org-todo-list): Use org-agenda-today.
19493 (org-get-all-dates): Use org-agenda-today.
19494 (org-agenda-day-face-function): New variable.
19495 (org-agenda-get-day-face): Use org-agenda-day-face-function.
19497 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19499 * org.el (org-ctrl-c-ctrl-c): Consider sending a radio table also
19502 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19504 * org-html.el (org-export-as-html): Do not treat partially
19505 protected lines as if they were fully protected.
19507 2010-12-11 Dan Davison <dandavison7@gmail.com>
19509 * org-exp.el (org-export-format-source-code-or-example):
19510 Remove hard-wired configuration of minted export
19511 (org-export-latex-minted-with-line-numbers): Remove variable.
19513 2010-12-11 Bastien Guerry <bzg@gnu.org>
19515 * org-clock.el (org-dblock-write:clocktable): Fix double
19516 reference to `link' in let construct.
19517 (org-clock-clocktable-formatter): Fix typo in docstring.
19518 (org-clocktable-write-default): Fix typo in docstring.
19520 2010-12-11 David Maus <dmaus@ictsoc.de>
19522 * org-protocol.el (org-protocol-unhex-string): Normalize percent
19523 escape sequence to upper case letters.
19525 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19527 * ob-lob.el (org-babel-lob-get-info): Include pass-through
19528 header arguments in results variable header argument string.
19530 2010-12-11 David Maus <dmaus@ictsoc.de>
19532 * org-exp.el (org-export-visible): Limit search for in-buffer options
19533 beginning of first headline.
19535 2010-12-11 David Maus <dmaus@ictsoc.de>
19537 * org.el (org-open-at-point): Remove stale link handler for news:
19540 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19542 * org-clock.el (org-clocktable-write-default): Better handling of
19545 2010-12-11 Julien Danjou <julien@danjou.info>
19547 * org-agenda.el (org-agenda-category-icon-alist): Fix defcustom type.
19549 2010-12-11 Nicolas Goaziou <n.goaziou@gmail.com>
19551 * org.el (org-indent-line-function): Simplify code and remove bug that
19552 would insert a tab at the beginning of the line when trying to
19555 2010-12-11 Julien Danjou <julien@danjou.info>
19557 * org.el (org-diary-sexp-entry): Split sexp result strings at semicolon.
19559 2010-12-11 Julien Danjou <julien@danjou.info>
19561 * org-agenda.el (org-agenda-prefix-format): Insert place holder
19563 (org-agenda-category-icon-alist): New option.
19564 (org-agenda-get-category-icon): New function.
19565 (org-format-agenda-item): Support for icons.
19566 (org-compile-prefix-format): Support for icons.
19568 2010-12-11 Julien Danjou <julien@danjou.info>
19570 * org-compat.el: Create defalias for `string-match-p' and
19573 2010-12-11 Eric Schulte <schulte.eric@gmail.com>
19575 * ob-calc.el (org-babel-execute:calc): Support for variables --
19576 converts :var variables in calc variables.
19578 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19580 * org.el (org-sparse-tree): Mention [r] in dispatch menu.
19582 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19584 * org-list.el (org-list-parse-list): Use `org-looking-at-p'.
19586 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19588 * org-id.el (org-id-store-link): Test for org-mode before checking
19591 2010-12-11 Carsten Dominik <carsten.dominik@gmail.com>
19593 * org.el (org-shorten-string): New function.
19595 * org-exp.el (org-export-convert-protected-spaces): New function.
19596 (org-export-preprocess-string):
19597 Call `org-export-convert-protected-spaces' to handle new hard spaces.
19599 2010-12-11 David Maus <dmaus@ictsoc.de>
19601 * org.el (org-narrow-to-subtree): Check for heading that ends at end
19604 2010-11-12 Carsten Dominik <carsten.dominik@gmail.com>
19606 * org-capture.el (org-capture-templates): Remove autoload from
19609 * ob-lisp.el (slime): Don't expect slime to be present.
19611 2010-11-11 Dan Davison <dandavison7@gmail.com>
19613 * ob.el: `copy-sequence' suffices to copy alist; no need for
19616 2010-11-11 Dan Davison <dandavison7@gmail.com>
19618 * ob.el (org-babel-execute-src-block): If ":results file" is in
19619 effect, then ensure that the value of :file is returned as the
19620 result; don't rely on language files for this.
19622 2010-11-11 Dan Davison <dandavison7@gmail.com>
19624 * ob.el (org-babel-sha1-hash): Avoid corrupting `info' data
19625 structure by side-effects of `sort'.
19627 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
19629 * org-list.el (org-list-bottom-point-with-indent): Do not check
19630 indentation of a non-empty blank line.
19632 * org-list.el (org-sort-list): Sort a list with point anywhere
19635 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
19637 * ob-calc.el (org-babel-execute:calc): Safer evaluation and
19638 hopefully better error messages.
19640 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
19642 * org.el (org-babel-load-languages): Adding calc.
19644 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
19646 * ob.el (org-babel-initiate-session): Don't resolve variable
19647 references unless prefix arg is supplied.
19649 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
19651 * ob-calc.el (org-babel-execute:calc): Ensure that calc stack
19652 refers to the correct stack.
19654 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
19656 * ob-calc.el: Adding the beginnings of support for calc code
19659 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
19661 * ob-tangle.el (org-babel-update-block-body): Declaring function
19662 for updating code block bodies.
19663 (org-babel-spec-to-string):
19664 (org-babel-detangle): Detangle all tangled and commented code
19665 blocks in the current file back to org.
19666 (org-babel-tangle-jump-to-org): Jump from a tangled and commented
19667 file back to the originating org-mode code block ob-tangle:
19668 detangle changes in code files back to the original org files.
19670 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
19672 * ob-tangle.el (org-babel-tangle-comment-format-beg): Fix typo.
19673 (org-babel-tangle-comment-format-end): Fix typo.
19675 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
19677 * org-exp.el (org-export-format-source-code-or-example):
19678 Use minted for latex source code export if `org-export-latex-listings'
19679 has the value 'minted.
19681 * org-latex.el (org-export-latex-listings): Document special value
19684 * org-latex.el (org-export-latex-minted): Delete variable.
19686 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
19688 * ob.el (org-babel-get-src-block-info): Retrieve contents of
19689 parentheses, excluding parentheses themselves.
19691 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
19693 * ob-gnuplot.el (org-babel-variable-assignments:gnuplot):
19694 Fix bug in gnuplot data file assignment using user variables.
19696 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
19698 * ob-latex.el (org-babel-execute:latex): Adding new :headers
19699 header argument for latex code blocks.
19701 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
19703 * org-capture.el (org-capture-templates): New capture property
19705 (org-capture-finalize): Kill target buffer if that is desired.
19706 (org-capture-target-buffer): Remember if we have to make the buffer.
19708 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
19710 * org-clock.el (org-dblock-write:clocktable): Fix bug when
19711 computing clock tables.
19713 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
19715 * org-clock.el (org-dblock-write:clocktable): Pass file minutes up
19716 to caller even if no table is generated.
19718 2010-11-11 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl>
19720 * org-agenda.el (org-agenda-get-sexps): Handle lists as return
19721 values from diary entries.
19723 * org-bbdb.el (org-bbdb-anniversaries): Handle lists of
19726 * org.el (org-diary-sexp-entry): Handle lists as return values
19727 from diary entries.
19729 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
19731 * org-capture.el (org-capture-empty-lines-before):
19732 (org-capture-empty-lines-after): Make sure the n=0 does not insert
19735 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
19737 * ob-clojure.el (org-babel-clojure-babel-clojure-cmd): Fix error
19738 message when clojure binary is not found.
19740 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
19742 * org-html.el (org-format-table-html): New argument DOCBOOK.
19743 (org-format-org-table-html): New argument DOCBOOK. When set, use
19744 align instead of class to align table fields.
19746 * org-docbook.el (org-export-as-docbook): Specify the docbook
19747 argument for the table converter.
19749 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
19751 * org-macs.el (org-called-interactively-p): New macro.
19753 * org-freemind.el: No longer require 'rx.
19754 (org-freemind): New customization group, use it for all the
19756 (org-export-as-freemind): Add docstring.
19757 (org-freemind-show): Improve filen naming.
19758 (org-freemind-convert-links-helper): New function.
19759 (org-freemind-bol-helper-base-indent): New variable.
19760 (org-freemind-bol-helper): New function.
19761 (org-freemind-node-css-style): New option.
19762 (org-freemind-node-pattern): New variable.
19763 (org-freemind-from-org-mode): Better docstring.
19765 2010-11-11 David Maus <dmaus@ictsoc.de>
19767 * ob-haskell.el (org-babel-variable-assignments:haskell):
19768 Don't pass more than two arguments to mapc.
19770 2010-11-11 David Maus <dmaus@ictsoc.de>
19772 * ob.el (org-babel-ref-resolve): Declare to silence byte compiler.
19774 2010-11-11 David Maus <dmaus@ictsoc.de>
19776 * org-footnote.el (message-signature-separator): Defvar to silence
19779 2010-11-11 David Maus <dmaus@ictsoc.de>
19781 * org-exp.el (org-export-string): Fix reference to wrong symbol.
19783 2010-11-11 Jambunathan K <kjambunathan@gmail.com>
19785 * org.el (org-link-search): Return 'dedicated on successful match
19786 when org-link-search-must-match-exact-headline is set to t.
19788 2010-11-11 Daniel Clemente <n142857@gmail.com>
19790 * org-html.el (org-html-make-link): Append fragment to file: links
19793 2010-11-11 Tassilo Horn <tassilo@member.fsf.org>
19795 * org-footnote.el (org-footnote-create-definition)
19796 (org-footnote-goto-local-insertion-point): Add footnotes before
19797 signature when in message-mode.
19799 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
19801 * org.el (org-display-inline-images): Improve regexp.
19803 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
19805 * org.el (org-cycle): Make sure resetting to startup visibility
19806 works after another cycle command.
19808 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
19810 * org-exp.el (org-export-string): New function org-export-string
19811 can be used to convert a string of test in org-mode markup to a
19814 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
19816 * org.el (org-display-inline-images): Allow non-ASCII characters
19817 in image file names. Save match data.
19819 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
19821 * org.el (org-auto-repeat-maybe): Fix shifting multiple time
19824 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
19826 * org-exp.el (org-store-forced-table-alignment):
19827 (org-export-remove-special-table-lines): Allow the "c" cookie for
19830 * org-html.el (org-export-table-header-tags):
19831 (org-export-table-data-tags): Add another %s format for the
19833 (org-export-html-table-align-individual-fields): New option.
19834 (org-format-org-table-html): Implement field-by-field alignment
19835 and support centering.
19836 (org-format-table-table-html): Make sure the new table tag formats
19837 don't break this function.
19839 * org-table.el (org-table-cookie-line-p):
19840 (org-table-align): Allow for the <c> cookie.
19842 * org.el (org-set-font-lock-defaults): Allow for the <c> cookie.
19844 2010-11-11 David Maus <dmaus@ictsoc.de>
19846 * org-exp.el (org-export-normalize-links): Skip normalization of
19847 plain links that are part of another link.
19849 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
19851 * ob-R.el (org-babel-expand-body:R): Fix bug in let binding.
19853 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
19855 * org-indent.el (org-indent-add-properties):
19856 Use `with-silent-modifications'.
19857 (org-indent-remove-properties): Use `with-silent-modifications'.
19859 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
19861 * org-table.el (org-table-cookie-line-p): Fix indentation.
19863 * org-exp.el (org-store-forced-table-alignment): New function.
19864 (org-export-preprocess-string):
19865 Call `org-store-forced-table-alignment'.
19867 * org-html.el (org-format-org-table-html): Use stored alignment
19870 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
19872 * ob.el (org-babel-execute-src-block): Respects prefix argument
19873 (which forces re-calculation).
19875 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
19877 * ob.el (org-babel-execute-src-block): Remove needless param
19878 sorting from ob-execute-src-block, the params are sorted already
19881 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
19883 * ob.el (org-babel-sha1-hash): Ensure that info is sorted at the
19884 header argument level.
19886 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
19888 * ob.el (org-babel-sha1-hash): Consider words in different order
19889 as different input.
19891 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
19893 * ob.el (org-babel-sha1-hash): Fix check for zero length sequences.
19895 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
19897 * ob-sh.el (org-babel-sh-var-to-sh): Ensure value has the
19898 structure of an Org-mode table (list of lists).
19900 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
19902 * ob-tangle.el (org-babel-tangle-collect-blocks): Fix bug
19903 (reference to unassigned variable `src-lang' and avoid calling
19904 org-babel-get-src-block-info twice.
19906 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
19908 * ob.el (org-babel-demarcate-block): Update to reflect the new
19909 info list contents.
19911 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
19913 * org-src.el (org-edit-src-code): Supply non-nil argument to
19914 `org-babel-get-src-block-info' to avoid resolving variable
19917 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
19919 * ob.el (org-babel-map-src-blocks): Fix minor bug in and
19920 improved efficiency of org-babel-map-src-blocks.
19922 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
19924 * ob-tangle.el (org-babel-tangle-collect-blocks): Now explicitly
19925 checks that a code block will actually be tangled before
19926 collecting it's full information (a process which could involve
19927 the execution of other code blocks).
19929 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
19931 * ob.el (org-babel-demarcate-block): Use light version of
19932 `org-babel-get-src-block-info'.
19934 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
19936 * ob.el (org-babel-sha1-hash): Now handles more complex types in
19939 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
19941 * ob.el (org-babel-execute-src-block): Generally using the new
19942 more informative params
19943 (org-babel-process-params): Don't forget the :var portion of
19944 variable assignments.
19946 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
19948 * ob-table.el (sbe): Simplify to reflect to var resolution.
19950 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
19952 * ob-ref.el (org-babel-ref-resolve): Bringing the referent
19953 arguments back to their params before evaluation.
19955 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
19957 * ob-ref.el (org-babel-ref-resolve): Cleanup of variable usage and
19960 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
19962 * ob-table.el (sbe): Use `org-babel-process-params params' instead
19963 of `org-babel-expand-variables'.
19965 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
19967 * ob-C.el (org-babel-C-execute): Remove call to
19968 org-babel-process-params which should no longer be called from
19969 within a language file.
19971 * ob-R.el (org-babel-execute:R): Remove call to
19972 org-babel-process-params which should no longer be called from
19973 within a language file
19974 (org-babel-R-variable-assignments): Remove call to
19975 org-babel-process-params which should no longer be called from
19976 within a language file.
19978 * ob-asymptote.el (org-babel-execute:asymptote): Remove call to
19979 org-babel-process-params which should no longer be called from
19980 within a language file.
19982 * ob-clojure.el (org-babel-execute:clojure): Remove call to
19983 org-babel-process-params which should no longer be called from
19984 within a language file.
19986 * ob-dot.el (org-babel-execute:dot): Remove call to
19987 org-babel-process-params which should no longer be called from
19988 within a language file.
19990 * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp): Remove
19991 call to org-babel-process-params which should no longer be called
19992 from within a language file
19993 (org-babel-execute:emacs-lisp): Remove call to
19994 org-babel-process-params which should no longer be called from
19995 within a language file.
19997 * ob-haskell.el (org-babel-execute:haskell): Remove call to
19998 org-babel-process-params which should no longer be called from
19999 within a language file.
20001 * ob-js.el (org-babel-execute:js): Remove call to
20002 org-babel-process-params which should no longer be called from
20003 within a language file.
20005 * ob-lisp.el (org-babel-execute:lisp): Remove call to
20006 org-babel-process-params which should no longer be called from
20007 within a language file.
20009 * ob-ocaml.el (org-babel-execute:ocaml): Remove call to
20010 org-babel-process-params which should no longer be called from
20011 within a language file.
20013 * ob-octave.el (org-babel-execute:octave): Remove call to
20014 org-babel-process-params which should no longer be called from
20015 within a language file.
20017 * ob-perl.el (org-babel-execute:perl): Remove call to
20018 org-babel-process-params which should no longer be called from
20019 within a language file.
20021 * ob-python.el (org-babel-execute:python): Remove call to
20022 org-babel-process-params which should no longer be called from
20023 within a language file.
20025 * ob-ruby.el (org-babel-execute:ruby): Remove call to
20026 org-babel-process-params which should no longer be called from
20027 within a language file.
20029 * ob-scheme.el (org-babel-execute:scheme): Remove call to
20030 org-babel-process-params which should no longer be called from
20031 within a language file.
20033 * ob-screen.el (org-babel-execute:screen): Remove call to
20034 org-babel-process-params which should no longer be called from
20035 within a language file
20036 (org-babel-prep-session:screen): Remove call to
20037 org-babel-process-params which should no longer be called from
20038 within a language file.
20040 * ob-sh.el (org-babel-execute:sh): Remove call to
20041 org-babel-process-params which should no longer be called from
20042 within a language file.
20044 * ob-sql.el (org-babel-execute:sql): Remove call to
20045 org-babel-process-params which should no longer be called from
20046 within a language file.
20048 * ob-haskell.el (org-babel-execute:haskell): Remove reference to
20051 * ob-clojure.el (org-babel-execute:clojure): Remove reference to
20054 * ob-R.el (org-babel-execute:R): Remove reference to processed
20057 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20059 * ob-sql.el (org-babel-execute:sql): Use generic expansion
20061 (org-babel-expand-body:sql): Delete function.
20063 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20065 * ob-sh.el (org-babel-execute:sh): Use generic expansion function
20066 (org-babel-expand-body:sh): Delete function
20067 (org-babel-prep-session:sh): Change name of called function
20068 (org-babel-variable-assignments:sh): Change function name.
20070 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20072 * ob-screen.el (org-babel-execute:screen): Use generic expansion
20074 (org-babel-expand-body:screen): Delete function
20075 (org-babel-prep-session:screen): Remove references to processed
20078 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20080 * ob-sass.el (org-babel-execute:sass): Use generic expansion
20082 (org-babel-expand-body:sass): Delete function.
20084 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20086 * ob-ruby.el (org-babel-execute:ruby): Use generic expansion
20088 (org-babel-prep-session:ruby): Use new variable assignment
20090 (org-babel-variable-assignments:ruby): New function
20091 (org-babel-expand-body:ruby): Delete function.
20093 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20095 * ob-python.el (org-babel-execute:python): Use generic expansion
20097 (org-babel-prep-session:python): Change name of called function
20098 (org-babel-variable-assignments:python): Change function name
20099 (org-babel-expand-body:python): Delete function.
20101 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20103 * ob-plantuml.el (org-babel-expand-body:plantuml): Delete function
20104 (automatically handled by generic version).
20106 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20108 * ob-perl.el (org-babel-execute:perl): Use generic expansion
20110 (org-babel-expand-body:perl): Delete function
20111 (org-babel-variable-assignments:perl): New function.
20113 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20115 * ob-org.el (org-babel-expand-body:org): Delete function
20116 (automatically handled by generic version).
20118 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20120 * ob-octave.el (org-babel-execute:octave): Use generic expansion
20122 (org-babel-variable-assignments:octave): Change name of function
20123 (org-babel-variable-assignments:matlab): New defalias
20124 (org-babel-prep-session:octave): Change name of function
20125 (org-babel-expand-body:matlab): Delete function
20126 (org-babel-expand-body:octave): Delete function.
20128 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20130 * ob-ocaml.el (org-babel-execute:ocaml): Use generic expansion
20132 (org-babel-variable-assignments:ocaml): New function
20133 (org-babel-expand-body:ocaml): Delete function.
20135 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20137 * ob-mscgen.el (org-babel-expand-body:mscgen): Delete function
20138 (automatically handled by generic version).
20140 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20142 * ob-js.el (org-babel-execute:js): Use new variable assignment
20144 (org-babel-expand-body:js): Delete function
20145 (org-babel-prep-session:js): Use new variable assignment function
20146 (org-babel-variable-assignments:js): New function.
20148 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20150 * ob-haskell.el (org-babel-execute:haskell): Use generic expansion
20152 (org-babel-expand-body:haskell): Delete function
20153 (org-babel-prep-session:haskell): Use variable assignment function
20154 (org-babel-variable-assignments:haskell): New function.
20156 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20158 * ob-gnuplot.el (org-babel-expand-body:gnuplot): Use variable
20159 assignment function
20160 (org-babel-prep-session:gnuplot): Use variable assignment function
20161 (org-babel-variable-assignments:gnuplot): New function.
20163 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20165 * ob-ditaa.el (org-babel-expand-body:ditaa): Delete function
20166 (automatically handled by generic version).
20168 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20170 * ob-css.el (org-babel-expand-body:css): Delete function
20171 (automatically handled by generic version).
20173 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20175 * ob-asymptote.el (org-babel-execute:asymptote): Use generic
20177 (org-babel-expand-body:asymptote): Delete function
20178 (org-babel-variable-assignments:asymptote): New function.
20180 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20182 * ob-R.el (org-babel-expand-body:R): Use new function
20183 `org-babel-variable-assignments:R'; don't trim body.
20184 (org-babel-execute:R): Respond to changes in
20185 `org-babel-expand-body:R'
20186 (org-babel-prep-session:R): Called function is now named
20187 `org-babel-variable-assignments:R'
20188 (org-babel-variable-assignments:R): Receives processed-params as
20189 new optional argument.
20191 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20193 * ob-C.el (org-babel-C-expand): Don't trim body.
20195 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20197 * ob-scheme.el (org-babel-expand-body:scheme): Fix bug in
20198 obtaining variable references.
20200 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20202 * ob-tangle.el (org-babel-tangle-collect-blocks): Supply variable
20203 assignment lines to generic expansion command.
20205 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20207 * ob.el (org-babel-expand-src-block): Supply variable assignment
20208 lines to generic expansion function
20209 (org-babel-expand-body:generic): Prepend body with optional
20210 variable assignment lines.
20212 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20214 * ob-exp.el (org-babel-exp-results): Replaced old function call.
20216 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20218 * ob-lob.el (org-babel-lob-execute): Now expanding variable
20219 references before execution.
20221 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20223 * ob.el (org-babel-execute-src-block): Only sort parameters if
20224 it's required for caching.
20226 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20228 * ob-table.el (sbe): Reworking for better indentation and to
20229 integrate the new variable resolution.
20231 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20233 * ob-ref.el (org-babel-ref-resolve-reference): Now expanding
20234 variables when resolving references.
20236 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20238 * ob.el (org-babel-merge-params): Fix order or precedence for
20241 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20243 * ob-C.el (org-babel-expand-body:c++, org-babel-C-expand):
20244 * ob-R.el (org-babel-expand-body:R, org-babel-execute:R)
20245 (org-babel-R-variable-assignments):
20246 * ob-asymptote.el (org-babel-expand-body:asymptote)
20247 (org-babel-execute:asymptote):
20248 * ob-clojure.el (org-babel-expand-body:clojure)
20249 (org-babel-execute:clojure):
20250 * ob-css.el (org-babel-expand-body:css):
20251 * ob-ditaa.el (org-babel-expand-body:ditaa):
20252 * ob-dot.el (org-babel-expand-body:dot, org-babel-execute:dot):
20253 * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp)
20254 (org-babel-execute:emacs-lisp):
20255 * ob-gnuplot.el (org-babel-expand-body:gnuplot)
20256 * ob-haskell.el (org-babel-expand-body:haskell)
20257 (org-babel-execute:haskell, org-babel-load-session:haskell)
20258 (org-babel-prep-session:haskell):
20259 * ob-js.el (org-babel-expand-body:js, org-babel-execute:js):
20260 * ob-latex.el (org-babel-expand-body:latex):
20261 * ob-lisp.el (org-babel-expand-body:lisp, org-babel-execute:lisp):
20262 * ob-mscgen.el (org-babel-expand-body:mscgen):
20263 * ob-ocaml.el (org-babel-expand-body:ocaml, org-babel-execute:ocaml):
20264 * ob-octave.el (org-babel-expand-body:matlab)
20265 (org-babel-expand-body:octave, org-babel-execute:octave)
20266 (org-babel-octave-variable-assignments):
20267 * ob-org.el (org-babel-expand-body:org):
20268 * ob-perl.el (org-babel-expand-body:perl, org-babel-execute:perl):
20269 * ob-plantuml.el (org-babel-expand-body:plantuml):
20270 * ob-python.el (org-babel-expand-body:python, org-babel-execute:python)
20271 (org-babel-python-variable-assignments):
20272 * ob-ruby.el (org-babel-expand-body:ruby, org-babel-execute:ruby):
20273 * ob-sass.el (org-babel-expand-body:sass):
20274 * ob-scheme.el (org-babel-expand-body:scheme, org-babel-execute:scheme):
20275 * ob-screen.el (org-babel-expand-body:screen):
20276 * ob-sh.el (org-babel-expand-body:sh, org-babel-execute:sh)
20277 (org-babel-sh-variable-assignments):
20278 * ob-sql.el (org-babel-expand-body:sql):
20279 * ob-sqlite.el (org-babel-expand-body:sqlite, org-babel-execute:sqlite):
20280 * ob.el (org-babel-expand-body:generic):
20281 Remove obsoleted optional third argument.
20283 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20285 * ob-clojure.el (org-babel-prep-session:clojure): Purging all
20286 calls to removed org-babel-ref-variables.
20288 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20290 * ob-lob.el (org-babel-lob-ingest): Now returns the count of
20291 ingested code blocks.
20293 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20295 * ob-exp.el (org-babel-exp-in-export-file): Wrapper for collecting
20296 information from within the original export file.
20298 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20300 * ob.el (org-babel-get-src-block-info): Small but crucial fix)
20301 (this should return nil if not match found.
20303 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20305 * ob-emacs-lisp.el (org-babel-expand-body:emacs-lisp):
20306 Whitespace (org-babel-execute:emacs-lisp): Whitespace.
20308 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20310 * ob-sh.el (org-babel-sh-variable-assignments): Provide missing
20313 * ob-python.el (org-babel-python-variable-assignments):
20314 Provide missing docstring.
20316 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20318 * ob-octave.el (org-babel-expand-body:octave): Refactor: break
20319 variable assignment part out into a separate function
20320 (org-babel-octave-variable-assignments): New function constructing
20321 list of variable assignment statements
20322 (org-babel-prep-session:octave): Use new function
20323 `org-babel-octave-variable-assignments' instead of previous
20324 (incorrect) variable assignment code.
20326 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20328 * ob-sh.el (org-babel-expand-body:sh): Refactor: break variable
20329 assignment part out into a separate function
20330 (org-babel-sh-variable-assignments): New function constructing
20331 list of variable assignment statements
20332 (org-babel-prep-session:sh): Use new function
20333 `org-babel-sh-variable-assignments' instead of previous
20334 (incorrect) variable assignment code.
20336 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20338 * ob-python.el (org-babel-expand-body:python): Refactor: break
20339 variable assignment part out into a separate function
20340 (org-babel-python-variable-assignments): New function constructing
20341 list of variable assignment statements
20342 (org-babel-prep-session:python): Use new function
20343 `org-babel-python-variable-assignments' instead of previous
20344 (incorrect) variable assignment code.
20346 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20348 * ob-R.el (org-babel-expand-body:R): Refactor: break variable
20349 assignment part out into a separate function
20350 (org-babel-R-variable-assignments): New function constructing list
20351 of variable assignment statements
20352 (org-babel-prep-session:R): Use new function
20353 `org-babel-R-variable-assignments' instead of previous
20354 (incorrect) variable assignment code.
20356 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20358 * ob.el (org-babel-initiate-session): Better variable names.
20360 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20362 * ob.el (org-number-sequence):
20363 Declared * ob-R.el (org-number-sequence): Declared.
20365 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20367 * ob.el (org-babel-map-src-blocks): Store correct value of
20370 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20372 * ob.el (org-babel-mark-block): New function to mark the body of a
20373 src block in the style of `mark-defun'.
20375 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20377 * org-compat.el (org-number-sequence): New function.
20379 * ob-R.el (org-babel-expand-body:R): Use `org-number-sequence'.
20381 * ob.el (org-babel-where-is-src-block-result):
20382 Use `org-number-sequence'.
20383 (org-babel-current-buffer-properties): Fix variable definition.
20385 * ob-ref.el (org-babel-ref-index-list): Use `org-number-sequence'.
20387 * ob-latex.el (org-babel-latex-tex-to-pdf): Use the 2-argument
20388 version of `shell-command'.
20390 * org-latex.el (org-export-as-pdf): Use the 2-argument version of
20393 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20395 * org-list.el (org-list-search-unenclosed-generic): Replace call
20398 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20400 * org.el (org-agenda-jump-prefer-future): New option.
20402 * org-agenda.el (org-agenda-goto-date):
20403 Use `org-agenda-jump-prefer-future'.
20405 2010-11-11 Noorul Islam <noorul@noorul.com>
20407 * org-latex.el (org-export-latex-links): Replaced hard coded
20408 hyperref format with custom variable
20409 `org-export-latex-hyperref-format'.
20411 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20413 * org.el (org-insert-heading): Fix docstring.
20415 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com> (tiny change)
20417 * org-capture.el (org-capture-place-entry): If the first line is
20418 already a headline, just stay there.
20420 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20422 * ob-sh.el (org-babel-sh-evaluate): No longer assumes that results
20425 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20427 * org-ascii.el (org-ascii-replace-entities): Match an optional {}
20430 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20432 * org-table.el (orgtbl-to-html): Apply `org-html-expand' to the
20435 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20437 * org.el (org-insert-heading): When on the headline of an inline
20438 task, insert another inline tasks.
20440 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20442 * ob-tangle.el (org-babel-tangle-collect-blocks): Only create
20443 links for blocks that will actually tangle.
20445 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20447 * ob-sh.el (org-babel-expand-body:sh): Don't insert extra newlines
20448 in expanded shell bodies.
20450 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20452 * ob-sh.el (org-babel-expand-body:sh): Avoid inserting extra
20453 newline characters.
20455 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20457 * ob-sh.el (org-babel-expand-body:sh): Align code.
20459 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20461 * ob.el (org-babel-params-from-properties): Max line with at <=80.
20463 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20465 * org-latex.el (org-export-latex-listings-langs): Clojure is now
20466 recognized as a lisp.
20468 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20470 * ob.el (org-babel-params-from-properties): Use `org-babel-read'
20471 to interpret property as header argument value.
20473 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20475 * ob.el (org-babel-parse-header-arguments): Simplify reading of
20478 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20480 * org-publish.el (org-publish-org-to-ascii):
20481 (org-publish-org-to-latin1):
20482 (org-publish-org-to-utf8): New functions.
20484 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20486 * org.el (org-insert-heading): Skip inline tasks when trying to
20487 insert a new heading after the end of the subtree.
20489 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20491 * org-inlinetask.el (org-inlinetask-min-level): Set customization
20492 type to integer or nil.
20494 * org.el (org-insert-heading): When after an inline task, do not
20495 use level but go back to headline level before the inline task.
20497 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20499 * org-inlinetask.el (org-inlinetask-in-task-p): New function.
20501 * org.el (org-indent-line-function): Fix indentation of inline
20504 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20506 * org.el (org-activate-links): Fix customize type.
20508 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20510 * org-latex.el (org-latex-to-pdf-process): Add rubber as another
20513 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20515 * org-latex.el (org-export-latex-minted): Document pygments
20518 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20520 * org-mobile.el (org-mobile-create-index-file): Encrypt the index
20521 file if encryption has been turned on.
20522 (org-mobile-copy-agenda-files): Avoid double encryption of
20525 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20527 * org-exp.el (org-export-latex-minted-with-line-numbers):
20528 Ensure that variable is declared.
20530 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20532 * ob-python.el (org-src-preserve-indentation): Fix compiler
20535 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20537 * org-exp.el (org-export-format-source-code-or-example):
20538 Latex formatting of source code blocks using the minted package
20539 (org-export-plist-vars): Add :latex-minted property
20540 (org-export-latex-minted): Ensure variable is defined
20541 (org-export-latex-minted-langs): Ensure variable is defined.
20543 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20545 * org-src.el (org-edit-src-code): Use `org-region-active-p'.
20547 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20549 * ob-tangle.el (org-babel-spec-to-string): Whitespace changes.
20551 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20553 * ob-tangle.el (org-babel-spec-to-string): Don't trim whitespace
20554 when `org-src-preserve-indentation' is non-nil.
20556 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20558 * ob-lob.el (org-babel-lob-ingest): Provide message stating number
20559 of blocks added to Library of Babel.
20561 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20563 * ob-lob.el (org-babel-lob-ingest): Check for nil source block
20566 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20568 * org-beamer.el (org-beamer-place-default-actions-for-lists):
20569 Fix typo in regexp.
20571 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
20573 * org-list.el (org-toggle-checkbox): Avoid some boundary error
20574 when inserting a checkbox in an empty last item of a list.
20576 2010-11-11 David Maus <dmaus@ictsoc.de>
20578 * org-gnus.el (org-gnus-nnimap-query-article-no-from-file):
20579 Query article number from file is nil by default.
20581 2010-11-11 Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
20583 * org-beamer.el (org-beamer-amend-header): Fix typo in docstring.
20585 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20587 * org-capture.el (org-capture-place-entry): Move to `beg' before
20588 searching for `%?'.
20590 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20592 * org.el (org-format-latex): Fix mathjax treatment of single
20593 letters in between dollars.
20595 2010-11-11 Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>
20597 * org-latex.el (org-latex-to-pdf-process): Add a third pdflatex
20600 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20602 * org.el (org-blank-before-new-entry): Improve docstring.
20604 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20606 * org-mobile.el (org-mobile-force-id-on-agenda-items):
20608 (org-mobile-write-agenda-for-mobile): Use outline path if we do
20609 not have an ID and are not allowed to make one.
20610 (org-mobile-get-outline-path-link): New function.
20612 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20614 * org-mobile.el (org-mobile-copy-agenda-files): Encrypt the empty
20616 (org-mobile-write-agenda-for-mobile): Use the right name, even if
20617 the file get encrypted.
20618 (org-mobile-move-capture): Only delete tempfile if it does exist.
20620 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20622 * ob.el (org-babel-number-p): Fix documentation string.
20624 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20626 * ob-tangle.el (org-babel-tangle-collect-blocks): Accepting
20627 "tangle" as a positive argument for the :noweb header argument
20630 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20632 * ob-exp.el (org-babel-exp-src-blocks): Fix export when headings
20633 have links, with tests.
20635 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20637 * org-latex.el (org-latex-to-pdf-process): Use texi2dvi if
20639 (org-export-latex-get-error): New function.
20640 (org-export-as-pdf): Give an indication of the errors that
20641 happened during processing.
20643 2010-11-11 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl>
20645 * org-exp.el (org-export-language-setup): Fix Polish entries.
20647 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20649 * org.el (org-set-tags): Allow comma as a separator when
20650 specifying tags at the completion interface.
20651 (org-tags-completion-function): Allow comma as a separator when
20652 specifying tags at the completion interface.
20654 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20656 * ob-exp.el (org-babel-exp-src-blocks): Don't jump back to
20657 export-file if exporting from a buffer which is not visiting a
20660 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20662 * ob-exp.el (org-babel-exp-src-blocks): Only append "::" to a file
20663 name in link construction if there is a heading to follow it.
20665 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20667 * org-html.el (org-export-html-inline-image-extensions): Add "svg"
20668 as an allowed extension.
20670 2010-11-11 Sébastien Vauban <wxhgmqzgwmuf@spammotel.com>
20672 * org-agenda.el (org-agenda-add-time-grid-maybe): Pad clock times
20673 with zeros. Start applying face earlier.
20675 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20677 * ob.el (or): Don't create org-babel-temporary-directory in batch
20678 as it won't be removed by emacs-kill-hook
20679 (org-babel-remove-temporary-directory): Only try to remove this
20680 directory if it exists.
20682 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20684 * ob.el (org-babel-temporary-directory): Fixing byte-compilation
20687 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20689 * ob-tangle.el (org-babel-tangle): Now sharing the file name in
20690 the tangling message.
20692 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20694 * ob.el (org-babel-load-languages): Fixes compiler warning.
20696 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20698 * ob-plantuml.el (org-babel-execute:plantuml): Fixes bug with svg
20701 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20703 * org-ascii.el (org-export-as-ascii): Use the correct match group.
20705 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20707 * ob.el (boundp): Uncommenting defvar form for
20708 org-babel-temporary-directory
20709 (org-babel-temp-file): Now using the org-babel-temporary-directory
20710 for holding new babel temporary files
20711 (org-babel-remove-temporary-directory): Removes the babel temp dir
20712 when Emacs shutsdown
20713 (kill-emacs-hook): Now removing the babel temp dir on Emacs
20716 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20718 * org-capture.el (org-capture-fill-template): Initialize history
20721 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20723 * org-src.el (org-edit-src-code): Don't move point when generating
20726 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20728 * org-src.el (org-edit-src-code): Deal with point being in
20731 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20733 * org-table.el (org-table-current-column): Add interactive to turn
20734 this into a command.
20736 2010-11-11 Bernt Hansen <bernt@norang.ca>
20738 * org.el (org-insert-heading): Run org-insert-heading-hook when
20739 creating the first heading in a file.
20741 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20743 * org.el (org-startup-with-inline-images): New option.
20744 (org-startup-options): Add new keywords inlineimages and
20746 (org-mode): Inline images when this has been configured.
20748 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20750 * ob.el (org-babel-get-src-block-info): Remove optional
20751 HEADER-VARS-ONLY argument; further simplification.
20753 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20755 * ob.el (org-babel-confirm-evaluate): Fix bug causing extra
20756 prompt in ob-confirm-evaluate in some cases.
20758 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20760 * ob.el (org-babel-demarcate-block): Visible region and completion
20761 during language selection.
20763 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20765 * ob.el (org-babel-get-src-block-info): Remove comment.
20767 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20769 * ob.el (org-babel-get-src-block-info): Simplify function.
20771 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20773 * ob.el (org-babel-get-src-block-info): Form info list correctly
20774 when parenthesized arguments are missing.
20776 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20778 * ob-exp.el (org-export-babel-evaluate): Docstring typo
20779 (org-babel-exp-code): Docstring typo.
20781 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20783 * org-mobile.el (org-mobile-encryption-password):
20785 (org-mobile-encryption-password-session): New variable.
20786 (org-mobile-encryption-password): New function.
20787 (org-mobile-check-setup):
20788 (org-mobile-encrypt-file):
20789 (org-mobile-decrypt-file): Use the new function.
20791 2010-11-11 David Maus <dmaus@ictsoc.de>
20793 * org-capture.el (org-capture-place-template): Widen to remove
20794 possible restrictions in target buffer.
20796 2010-11-11 Jambunathan K <kjambunathan@gmail.com>
20798 * org.el (org-speed-command-hook): Add org-speed-command-hook
20799 (org-babel-speed-command-hook): Hook for Babel's speed commands.
20801 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20803 * ob.el (org-babel-execute-buffer): Re-implement using
20804 `org-babel-map-src-blocks'.
20806 2010-11-11 David Maus <dmaus@ictsoc.de>
20808 * org-capture.el (org-capture-templates): Update doc string with
20809 new message date related escapes.
20811 2010-11-11 David Maus <dmaus@ictsoc.de>
20813 * org-wl.el (org-wl-store-link-message): Define properties %:date)
20814 (%:date-timestamp, and %:date-timestamp-inactive.
20816 * org-mew.el (org-mew-store-link): Dto.
20818 * org-mhe.el (org-mhe-store-link): Dto.
20820 * org-rmail.el (org-rmail-store-link): Dto.
20822 * org-vm.el (org-vm-store-link): Dto.
20824 2010-11-11 David Maus <dmaus@ictsoc.de>
20826 * org-wl.el (org-wl-message-field): Always get literal content of
20829 2010-11-11 David Maus <dmaus@ictsoc.de>
20831 * org-gnus.el (org-gnus-store-link): Define properties
20832 %:date-timestamp and %:date-timestamp-inactive.
20834 2010-11-11 David Maus <dmaus@ictsoc.de>
20836 * org-gnus.el (org-gnus-store-link): Handle empty date header
20839 2010-11-11 Jambunathan K <kjambunathan@gmail.com> (tiny change)
20841 * org.el (org-speed-command-hook): New. Hook for installing
20842 additional speed commands. Use this for enabling speed commands on
20844 (org-speed-command-default-hook): The default hook for
20845 org-speed-command-hook. Factored out from org-self-insert-command
20846 and mimics existing behavior.
20847 (org-self-insert-command): Modify to use org-speed-command-hook.
20849 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20851 * org-agenda.el (org-search-view): Recover spaces in search words
20852 if they were escaped with \ or inside a regexp.
20854 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20856 * org.el (org-additional-option-like-keywords): Add PROPERTIES to
20857 the list of completable meta line words.
20858 (org-complete): Complete property names after #+PROPERTY.
20860 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20862 * ob-python.el (org-babel-python-evaluate-session): Make temp file
20865 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20867 * ob-clojure.el (org-babel-clojure-evaluate-external-process):
20868 Delete extra format argument.
20870 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20872 * ob-org.el (org-babel-org-export): Typo in docstring.
20874 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20876 * ob-sh.el (org-babel-sh-evaluate): Remove unused temporary file
20879 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20881 * ob-scheme.el (org-babel-execute:scheme): Alter temp file name.
20883 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20885 * ob.el (org-babel-process-file-name): New function
20886 (org-babel-maybe-remote-file): Delete function.
20888 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20890 * ob-C.el (org-babel-C-execute): Remove unused variable.
20892 2010-11-11 David Maus <dmaus@ictsoc.de>
20894 * org.el (org-make-link-string): Prevent superfluous colon.
20896 2010-11-11 David Maus <dmaus@ictsoc.de>
20898 * org.el (org-make-org-heading-search-string): Leave headline
20901 2010-11-11 David Maus <dmaus@ictsoc.de>
20903 * org.el (org-make-link-string): Don't escape characters in link
20906 2010-11-11 Bastien Guerry <bzg@gnu.org>
20908 * org-capture.el (org-capture-templates): Update docstring to
20909 advertise %:org-date.
20911 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20913 * ob-dot.el (org-babel-execute:dot): Automatically specifies
20914 "-T<ext>" based on file name extension.
20916 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20918 * ob-org.el (org-babel-org-export): Raise error on nested export
20921 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20923 * ob-plantuml.el (org-babel-execute:plantuml): Support for svg
20926 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20928 * ob.el (org-babel-demarcate-block): Better initialization of
20931 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20933 * org-src.el (org-src-tab-acts-natively): Add customize interface.
20935 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20937 * org-src.el (org-src-strip-leading-and-trailing-blank-lines):
20938 New variable allowing prevention of automatic stripping of leading and
20939 trailing blank lines when exiting edit buffer.
20940 (org-edit-src-exit): Respect value of
20941 `org-src-strip-leading-and-trailing-blank-lines'
20942 (org-src-native-tab-command-maybe):
20943 Bind `org-src-strip-leading-and-trailing-blank-lines' to nil during
20946 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
20948 * org-src.el (org-edit-src-code): If mark was inside code block
20949 then code edit buffer inherits mark with active region.
20951 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20953 * ob.el (org-babel-demarcate-block): Fix compiler warnings.
20955 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20957 * ob.el (org-babel-demarcate-block): Better handling of empty
20958 space around demarcated area.
20960 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20962 * org-agenda.el (org-agenda-goto-date): Turn off prefer future for
20965 2010-11-11 David Maus <dmaus@ictsoc.de>
20967 * org-gnus.el (org-gnus-open-nntp): New function.
20969 2010-11-11 David Maus <dmaus@ictsoc.de>
20971 * org-wl.el (org-wl-open-nntp): New function.
20973 2010-11-11 David Maus <dmaus@ictsoc.de>
20975 * org-wl.el (org-wl-open): Open message by numeric reference if
20976 article part is not a message id.
20978 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
20980 * org-agenda.el (org-agenda-filter-apply): Move cursor to a
20983 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
20985 * ob.el (org-babel-demarcate-block): Interactive demarcation of
20988 * ob-keys.el (org-babel-key-bindings): Key bindings for block
20991 2010-11-11 Bastien Guerry <bzg@gnu.org>
20993 * org.el (org-link-types): Add the "message" link type.
20995 2010-11-11 David Maus <dmaus@ictsoc.de>
20997 * org.el (org-link-types): Add 'message:' link type to default
21000 2010-11-11 Bastien Guerry <bzg@gnu.org>
21002 * org-gnus.el (org-gnus-store-link): Add the :date property to
21003 gnus links, allowing the use of %:date in capture templates.
21005 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21007 * org-list.el (org-cycle-list-bullet): Follow order of bullets
21008 indicated in doc-string.
21010 * org-list.el (org-list-bottom-point-with-indent): List is ended
21011 when a line is less indented that the last item, not the less
21014 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21016 * ob-exp.el (org-babel-exp-src-blocks): Now switching back to the
21017 original file before resolving code block parameters to ensure
21018 headline and buffer wide parameters are taken into consideration
21019 when only a narrowed portion of the file is exported.
21021 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21023 * org.el (org-forward-same-level): Fix docstring.
21025 2010-11-11 Sebastian Rose <sebastian_rose@gmx.de>
21027 * org-publish.el (org-publish-attachment): Put the attachment into
21028 the right directory.
21030 2010-11-11 Jambunathan K <kjambunathan@gmail.com> (tiny change)
21032 * org.el (org-goto-first-child): New command.
21034 2010-11-11 Matt Lundin <mdl@imapmail.org>
21036 * org-agenda.el (org-prepare-agenda): If the agenda is called from
21037 within the agenda via an elisp link, such as
21038 [[elisp:(org-agenda-list)]], org-prepare-agenda erases the buffer
21039 of the file containing the link, since that buffer is current
21040 during org-prepare agenda (due to a with-current-buffer in
21041 org-agenda-open-link). An additional test now ensures that the
21042 agenda buffer is in fact current when the buffer is erased and
21043 local variables for the agenda are set.
21045 2010-11-11 David Maus <dmaus@ictsoc.de> (tiny change)
21047 * org-exp.el (org-infile-export-plist): Define property macro.
21049 2010-11-11 David Maus <dmaus@ictsoc.de>
21051 * org-mhe.el (org-mhe-get-header): Remove possible folding white
21052 space in message header field.
21054 2010-11-11 David Maus <dmaus@ictsoc.de>
21056 * org-feed.el (org-feed): Fix typo in customization group :tag
21059 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21061 * org-latex.el (org-export-latex-tag-markup): New option.
21062 (org-export-latex-keywords-maybe):
21063 Use `org-export-latex-tag-markup'.
21065 2010-11-11 Rémi Vanicat <vanicat@debian.org> (tiny change)
21067 * org-icalendar.el (org-icalendar-use-UTC-date-time): New option.
21068 (org-ical-ts-to-string): Use UTC time when requested.
21070 2010-11-11 Noorul Islam <noorul@noorul.com> (tiny change)
21072 * org-html.el (org-html-cvt-org-as-html): Do not convert protocol
21073 from 'file' to 'http'.
21075 2010-11-11 David Maus <dmaus@ictsoc.de>
21077 * org.el (org-store-log-note): Fix wrong usage
21078 of`org-adapt-indentation'.
21080 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21082 * org.el (org-skip-over-state-notes): Do not compute bottom point
21085 * org-mouse.el (org-mouse-for-each-item): Use `org-apply-on-list'
21086 instead of moving to each item.
21088 2010-11-11 David Maus <dmaus@ictsoc.de>
21090 * org-capture.el (org-capture-templates): Small fix in doc string.
21092 2010-11-11 aaa bbb <dominik@powerbook-g4-12-van-aaa-bbb.local>
21094 * org-archive.el (org-get-local-archive-location):
21095 Use `org-archive-location' as default.
21097 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21099 * ob-C.el (org): No longer requires org.
21101 * ob-ledger.el (org): No longer requires org.
21103 2010-11-11 David Maus <dmaus@ictsoc.de>
21105 * org.el (org-priority): Save match data before call to
21106 `read-char-exclusive'.
21108 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21110 * org-list.el (org-list-to-generic): Descriptions labels can be
21111 any suit of symbols, and will end at double colons.
21113 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21115 * org.el (org-indent-line-function): Indent past [@num] and
21116 [@start:num], consistently with what is already done with
21119 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21121 * org.el (org-store-log-note): Indent new notes to the right
21122 column. Also take `org-list-two-spaces-after-bullet-regexp' into
21123 consideration when creating the note.
21125 2010-11-11 David Maus <dmaus@ictsoc.de>
21127 * org-gnus.el (nnimap-group-overview-filename): Declare function
21128 to silence byte compiler.
21130 2010-11-11 David Maus <dmaus@ictsoc.de>
21132 * org-gnus.el (org-gnus-nnimap-query-article-no-from-file):
21133 New customization variable.
21134 (org-gnus-nnimap-cached-article-number): New function.
21135 (org-gnus-follow-link): Try to fetch cached article number of
21138 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21140 * ob-org.el (org-babel-org-default-header): Used to insert a dummy
21141 first line into code blocks before export so that the first line
21142 is not interpreted as a title
21143 (org-babel-org-export): Use new dummy code block prefix.
21145 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21147 * ob.el (org-babel-insert-result): No longer throws error when
21148 inserting an empty result.
21150 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21152 * ob-tangle.el: Autoload org-babel-tangle-lang-exts from ob-tangle.
21154 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21156 * ob.el (org-babel-do-in-edit-buffer):
21157 Use `org-babel-where-is-src-block-head' to test for source block at
21160 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21162 * ob-keys.el (org-babel-key-bindings): Adding key-binding for
21163 `org-babel-goto-src-block-head'.
21165 * ob.el (org-babel-goto-src-block-head): Jump to the head of the
21166 current code block.
21168 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21170 * ob.el (org-babel-next-src-block): Now raising more informative
21171 error when no further code blocks can be found.
21172 (org-babel-previous-src-block): Now raising more informative error
21173 when no previous code blocks can be found.
21175 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21177 * org-exp-blocks.el
21178 (org-export-preprocess-after-include-files-hook): Now using this
21179 hook instead of `org-export-preprocess-hook'.
21181 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21183 * ob-plantuml.el (org-babel-execute:plantuml): ????
21185 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21187 * ob-python.el (org-babel-python-evaluate): Refactor as call to
21188 either `org-babel-python-evaluate-external-process' or
21189 `org-babel-python-evaluate-session'.
21190 (org-babel-python-evaluate-external-process): New function to
21191 handle evaluation in external process.
21192 (org-babel-python-evaluate-session): New function to handle
21193 evaluation in emacs inferior process.
21195 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21197 * ob-org.el (org-babel-execute:org): Evaluates body to latex ascii
21198 or html respecting :results header arg
21199 (org-babel-org-export): Exports a string of text to an output
21202 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21204 * ob.el (org-babel-insert-result): Remove existing results when
21205 nil results are returned.
21207 2010-11-11 David Maus <dmaus@ictsoc.de>
21209 * org-ascii.el (org-export-as-ascii): Bind and set link path for
21210 link type specific markup function.
21212 2010-11-11 David Maus <dmaus@ictsoc.de>
21214 * org-clock.el (notifications-notify): Properly declare function
21215 to silence byte compiler.
21217 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21219 * org-list.el (org-insert-item): Check invisibility of point at a
21220 meaningful location.
21222 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21224 * org-list.el (org-list-insert-item-generic): Updating checkboxes
21225 can modify bottom point of a list, so make it a marker before
21226 calling `org-update-checkbox-count-maybe'.
21228 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21230 * org.el (org-src-fontify-natively): Set to nil by default.
21231 Supply customize interface.
21233 2010-11-11 Bastien Guerry <bzg@gnu.org>
21235 * org-ascii.el (org-export-as-ascii): Fix bug in ASCII export: use
21236 `org-bracket-link-analytic-regexp++' to match the link type.
21238 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21240 * ob-tangle.el (org-babel-tangle-collect-blocks): Rename `lang' to
21243 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21245 * ob-tangle.el (org-babel-tangle-comment-format-beg):
21246 Format string specifying the link-comment preceding a code block
21247 (org-babel-tangle-comment-format-end): Format string specifying
21248 the link-comment following a code block
21249 (org-babel-tangle-collect-blocks): Storing more information in the
21250 spec of a tangling code block
21251 (org-babel-spec-to-string): Now makes use of customizable
21252 link-comment formats.
21254 2010-11-11 Achim Gratz <Stromeko@stromeko.net> (tiny change)
21256 * org.el (org-delete-backward-char): Check for nil overwrite-mode
21257 before inserting spaces.
21259 2010-11-11 David Maus <dmaus@ictsoc.de>
21261 * org-icalendar.el (org-print-icalendar-entries): Exclude tags
21262 from summary of non-TODO ical entries.
21263 (org-print-icalendar-entries): Use `org-complex-heading-regexp' to
21264 exclude tags from summary of TODO ical entries.
21266 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21268 * ob.el (org-babel-map-src-blocks): Now exposes much information
21269 about the code block in the form of let-bound local variables.
21271 2010-11-11 David Maus <dmaus@ictsoc.de>
21273 * org-list.el (org-outline-regexp, org-ts-regexp)
21274 (org-ts-regexp-both, org-in-regexps-block-p)
21275 (org-level-increment, org-at-heading-p)
21276 (outline-previous-heading, org-icompleting-read)
21277 (org-time-string-to-seconds): Declare to fix compiler warning.
21279 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21281 * org-list.el (org-toggle-checkbox): Ignore items in drawers when
21282 used from an heading. Send an error when no item is in region.
21284 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21286 * ob.el (org-babel-do-in-edit-buffer): Use unwind-protect to
21287 ensure that edit buffer is exited.
21289 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21291 * ob-tangle.el (org-babel-tangle-pad-newline): Can be used to
21292 control the amount of extra newlines inserted into tangled code
21293 (org-babel-tangle-collect-blocks): Now conditionally collects
21294 information to be used for "org" style comments
21295 (org-babel-spec-to-string): Now inserts "org" style comments, and
21296 obeys the newline configuration variable when inserting whitespace.
21298 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21300 * ob-tangle.el (org-babel-pre-tangle-hook): Defines new tangle
21302 (org-babel-tangle): Calls new tangle hook.
21304 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21306 * org-capture.el (org-capture): Compute the length of the correct
21307 string when removing properties.
21309 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21311 * ob-plantuml.el (org-babel-execute:plantuml): Now expanding file
21312 names before shell quoting.
21314 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21316 * org-src.el (org-src-tab-indents-natively): New variable
21317 controlling whether language-native TAB action should be performed
21318 (org-src-native-tab-command-maybe): New function to perform
21319 language-native TAB action.
21320 (org-tab-first-hook): Add `org-src-native-tab-command-maybe'.
21322 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21324 * ob-plantuml.el (org-babel-execute:plantuml): Explicitly check
21325 `org-plantuml-jar-path' before use.
21327 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21329 * org-src.el (org-src-font-lock-fontify-block): Re-use hidden
21330 language major mode buffers during fontification.
21332 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21334 * org.el (org-fontify-meta-lines-and-blocks): Alter main regexp to
21335 match code blocks with switches and header args.
21336 Call `org-src-font-lock-fontify-block' for automatic fontification of
21337 code in code blocks, controlled by variable
21338 `org-src-fontify-natively'.
21339 (org-src-fontify-natively): New variable.
21341 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21343 * ob-ruby.el (org-babel-expand-body:ruby): Remove requirement of
21346 2010-11-11 Noorul Islam <noorul@noorul.com> (tiny change)
21348 * org-html.el (org-html-make-link): (expand-file-name) removes
21349 one "/" from "///path-to-file", so add one. Anything other than
21350 'file' type should be exported along with the type.
21352 2010-11-11 Noorul Islam <noorul@noorul.com> (tiny change)
21354 * org.el (org-insert-subheading): Fix compiler warning
21355 (org-insert-todo-subheading): Fix compiler warning.
21357 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
21359 * org-capture.el (org-capture): Remove read-only text properties
21361 (org-capture-set-target-location): Throw an error if file+headline
21362 target does not point into a file which is in Org mode.
21364 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21366 * ob.el (org-babel-map-src-blocks): Prefer `when' to `if'.
21368 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21370 * org-src.el (org-edit-src-code): Improve docstring.
21372 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21374 * ob.el (org-babel-execute-src-block): Document prefix argument in
21377 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
21379 * ob-ditaa.el (org-babel-execute:ditaa): Now expanding
21380 org-ditaa-jar-path with expand-file-name.
21382 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21384 * ob.el (org-babel-execute-subtree): Pass prefix arg through to
21385 `org-babel-execute-src-block'.
21387 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21389 * org-ascii.el (org-export-ascii-preprocess): Allow [@start:x] and
21390 [@x] syntax for list numbering.
21392 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21394 * org.el (org-indent-line-function): Indentation of source block
21395 is left to `org-edit-src-exit' and shouldn't be modified by
21396 `org-indent-line-function'. Indentation of others blocks should be
21397 the same as the #+begin line.
21399 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
21401 * ob.el (org-babel-map-src-blocks): If FILE is nil evaluate BODY
21402 forms on source blocks in current buffer; restore point in current
21405 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21407 * org-list.el (org-list-struct): Accept list boundaries as an
21408 argument in order to avoid computing `org-list-top-point' and
21409 `org-list-bottom-point' twice when indenting.
21411 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21413 * org-list.el (org-list-ending-method): Default value is now
21414 `both', to ensure maximum compatibility before previous
21417 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21419 * org-list.el (org-list-in-item-p-with-indent): Test if first line
21420 is the item beginning.
21422 * org-list.el (org-list-top-point-with-indent): Test if first line
21423 is a valid list beginning.
21425 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21427 * org-list.el (org-list-ending-method): New customizable variable
21428 to tell Org Mode how lists end. See docstring.
21430 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21432 * org-list.el (org-indent-item-tree): Shifting step of top-level
21433 item depends on `org-level-increment'.
21435 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21437 * org.el (org-indent-line-function): Indent first non blank line
21438 after a list according to current heading level.
21440 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21442 * org-docbook.el (org-export-as-docbook): Remove check for
21443 indentation on lines that do not start with a list bullet.
21445 * org-html.el (org-export-as-html): Same thing.
21447 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21449 * org-list.el (org-list-bottom-point): Take into consideration
21450 that bound of search can be before true ending of the list.
21452 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21454 * org-list.el (org-list-struct-apply-struct): No longer shift
21455 item's body twice: one after replacing bullet and one after
21456 changing indentation.
21458 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21460 * org-list.el (org-list-struct-indent): Add code to replace
21461 bullets if needed when indenting.
21463 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21465 * org-list.el (org-list-insert-item-generic): A single item
21466 already counting blank lines in his body should be separated with
21467 the next one by a blank line. Moreover, if user already provided
21468 blank lines, follow his wishes.
21470 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21472 * org-list.el (org-indent-item-tree): When moving top item of a
21473 *-list to column 0, only the first item had its bullet changed to
21474 -. It now changes all items of the top-level list, as expected.
21476 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21478 * org-list.el (org-toggle-checkbox): Go to beginning of line
21481 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21483 * org-list.el (org-list-struct-apply-struct): Check if ancestor
21486 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21488 * org-list.el (org-renumber-ordered-list): Check for [@start:x] is
21491 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21493 * org-list.el: Removed unused variable
21494 `org-suppress-item-indentation'.
21496 * org-list.el (org-renumber-ordered-list): Skip item if bullet
21497 number is already good.
21499 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21501 * org-list.el (org-list-automatic-rules): Doc-string reflects this
21504 * org-list.el (org-indent-item-tree): Prevent whole list from
21505 being moved when user is not moving subtree.
21506 Thus `org-cycle-item-indentation' will not allow to move the list.
21508 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21510 * org-list.el (org-indent-item-tree): Remove region code. It was
21511 prone to errors and undocumented.
21513 * org-list.el (org-item-indent-positions): Better heuristics to
21514 determine what bullet the item will have when demoted.
21516 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21518 * org-list.el (org-list-bullet-string): First check if
21519 `org-list-two-spaces-after-bullet-regexp' isn't nil.
21521 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21523 * org-list.el (org-list-bullet-string): Do not modify match-data.
21525 * org.el (org-toggle-item): Now working again when changing list
21526 items into plain text. Moreover take into consideration
21527 `org-list-two-spaces-after-bullet-regexp'.
21529 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21531 * org-list.el (org-indent-item-tree): Remove unnecessary bullets
21532 fix, and improved heuristics to determine bullet when indenting.
21534 * org-list.el (org-item-indent-positions): Function now returns
21535 sane results when there are two lists separated with blank lines
21538 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21540 * org-docbook.el (org-export-as-docbook): Use override="num" in
21541 any listitem matching [@start:num].
21543 * org-html.el (org-export-as-html): Use value="num" in any li
21544 matching [@start:num].
21546 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21548 * org.el (org-set-font-lock-defaults): Correct fontification for
21549 checkboxes found after [@start:?].
21551 * org-list.el (org-list-at-regexp-after-bullet-p): Skip any
21552 [@start:?] when looking at a regex after a bullet.
21554 * org-list.el (org-toggle-checkbox): Correct insertion of
21555 checkboxes when there is already a [@start:?] in the item.
21557 * org-list.el (org-checkbox-blocked-p): Properly check if there's
21558 an unchecked item before.
21560 * org-list.el (org-list-parse-list): Function handles items having
21561 both a counter and a checkbox.
21563 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21565 * org-list.el (org-cycle-item-indentation): Org-tab-ind-state
21566 stores both indentation and bullet when cycle started.
21568 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21570 * org-list.el: `org-at-description-p' renamed to
21571 `org-at-item-description-p', `org-first-list-item-p' renamed to
21572 `org-list-first-item-p', `org-end-of-item-text-before-children'
21573 renamed to `org-end-of-item-or-at-child'.
21575 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21577 * org.el (org-ctrl-c-ctrl-c): Call `org-fix-bullet-type' instead
21578 of `org-maybe-renumber-ordered-list' and `org-fix-bullet-type'
21579 before toggling a checkbox.
21581 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21583 * org-list.el (org-list-bullet-string): New function returning
21584 bullet concatenated with an appropriate number of white spaces.
21586 * org-list.el (org-list-insert-item-generic): Insert the right
21587 bullet, with help of `org-list-bullet-string'.
21589 * org-list.el (org-indent-item-tree):
21590 Use `org-list-bullet-string'.
21592 * org-list.el (org-fix-bullet-type): Use `org-list-bullet-string'.
21594 * org-list.el (org-toggle-checkbox): Send an error when
21595 `org-toggle-checkbox' is trying to insert a checkbox at a
21598 * org-list.el (org-item-re): Modify regexp so it can catch
21599 correct number of white space before item body.
21601 * org-list.el (org-list-at-regexp-after-bullet-p): Take into
21602 consideration new `org-item-re'.
21604 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21606 * org-list.el (org-list-insert-item-generic): The second item in a
21607 list will be separated from its predecessor with the number of
21608 blank lines separating the first item from its parent, if any, or
21611 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21613 * org-list.el (org-indent-item-tree): Fix and reorder every list
21614 and sublist, from parent of list that has moved if indenting, or
21615 from list at point if outdenting.
21617 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21619 * org-list.el (org-indent-item-tree): Try to keep relative
21620 position on line. It can't if point is in white spaces before
21621 bullet because mixed tabs and spaces make some columns
21624 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21626 * org-list.el (org-cycle-item-indentation): Cycle when the whole
21627 item only contains bullet and maybe a checkbox. Previously, TAB
21628 would cycle when the first line of the item was blank.
21630 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21632 * org-list.el (org-cycle-item-indentation): Allow a point just
21633 after a description item or a checkboxed item to start cycling.
21635 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21637 * org-list.el (org-cycle-list-bullet):
21638 Check `org-plain-list-ordered-item-terminator' before allowing 1. or 1)
21639 as valid bullets when cycling.
21641 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21643 * org-list.el (org-cycle-item-indentation): Do return t if and
21644 only if cycling is possible and succeded.
21646 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21648 * org-list.el (org-indent-item-tree): When outdenting a subtree,
21649 the last item shouldn't have a children.
21651 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21653 * org-list.el (org-cycle-item-indentation): Cycling should play
21654 nicely with indent rule in `org-list-automatic-rules'.
21656 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21658 * org-list.el (org-indent-item-tree): If indent rule is activated,
21659 it should be impossible to outdent an item having children without
21660 moving its subtree. Improved reordering of lists modified by
21661 cycling indentation.
21663 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21665 * org-list.el (org-maybe-renumber-ordered-list): Remove call for
21666 `org-fix-bullet-type' to prevent infinite loop, and some checks
21667 already done in `org-renumber-ordered-list'.
21669 * org-list.el (org-fix-bullet-type): Remove a check and call
21670 directly `org-maybe-renumber-ordered-list'.
21672 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21674 * org-list.el (org-indent-item-tree): It shouldn't be possible to
21675 indent the first item of a sublist (though outdent is possible) as
21676 it would break list's structure.
21678 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21680 * org-list.el (org-list-insert-item-generic): When local search
21681 doesn't help, search the list globally for blank lines. Moreover,
21682 don't bother with new lists, and add 1 blank line.
21684 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21686 * org-capture.el (org-capture-place-item):
21687 Use `org-search-forward-unenclosed' and
21688 `org-search-backward-unenclosed' and new variable
21689 `org-item-beginning-re'.
21691 * org-list.el (org-item-beginning-re): Regexp matching beginning
21694 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21696 * org-list.el (org-cycle-list-bullet): Put back support for
21697 'previous argument.
21699 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21701 * org-list.el (org-in-item-p): Handle case when point is at an
21704 * org-list.el (org-list-make-subtree): Add protection when used
21707 * org-list.el (org-insert-item): Remove useless hack now
21708 `org-in-item-p' is fixed.
21710 * org-timer.el (org-timer-item): Remove useless hack now
21711 `org-in-item-p' is fixed.
21713 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21715 * org-list.el (org-cycle-list-bullet): Prevent description items
21716 from being numbered. String argument is also recognized now, as
21717 long as it is a valid bullet.
21719 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21721 * org-list.el (org-indent-item-tree): Moving indentation of top
21722 list item will make the whole list move.
21724 * org-list.el (org-apply-on-list): Function is less sensitive to
21725 changes of indentation.
21727 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21729 * org-list.el (org-at-item-checkbox-p): Add whitespaces at the end
21732 * org-list.el (org-checkbox-blocked-p): Use new checkbox regexp.
21734 * org-list.el (org-cycle-item-indentation): Allow cycling
21735 description items and checkbox items.
21737 * org-list.el (org-toggle-checkbox): Use new checkbox regexp.
21739 * org-list.el (org-reset-checkbox-state-subtree): Use new checkbox
21742 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21744 * org-list.el (org-insert-item-internal): Guessing of blank lines
21745 number is made by looking at neighboring items, if any.
21747 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21749 * org-list.el (org-sort-list): Add the possibility to sort timer
21750 lists with the ?t or ?T options.
21752 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21754 * org-list.el (org-search-unenclosed-internal): New function to
21755 handle both `org-search-forward-unenclosed' and
21756 `org-search-backward-unenclosed'.
21758 * org-list.el (org-search-backward-unenclosed): Can send errors
21759 now. Removed useless usage of COUNT.
21761 * org-list.el (org-search-forward-unenclosed): Can send errors
21762 now. Removed useless usage of COUNT.
21764 * org-list.el (org-update-checkbox-count):
21765 Use `org-search-forward-unenclosed' and
21766 `org-search-backward-unenclosed' instead of `re-search-forward'
21767 and `re-search-backward'.
21769 * org-list.el (org-sort-list): Use `org-search-forward-unenclosed'
21770 and `org-search-backward-unenclosed' instead of
21771 `re-search-forward' and `re-search-backward'.
21773 * org-list.el (org-list-make-subtree):
21774 Use `org-search-forward-unenclosed' and
21775 `org-search-backward-unenclosed' instead of `re-search-forward'
21776 and `re-search-backward'.
21778 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21780 * org-list.el (org-insert-item-internal): Fixes the problem when
21781 point was before the first char of the item's body.
21783 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21785 * org-timer.el (org-timer-item): Refactoring. Compute timer string
21786 before inserting it in the buffer.
21788 * org-timer.el (org-timer): Add an optional argument to return
21789 timer string instead of inserting it.
21791 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21793 * org-list.el (org-insert-item-internal): New function to handle
21794 positioning and contents of an item being inserted at a specific
21795 pos. It is not possible anymore to split a term in a description
21796 list or a checkbox when inserting a new item.
21798 * org-list.el (org-insert-item): Refactored by using the new
21799 `org-insert-item-internal' function.
21801 * org-timer.el (org-timer-item): Refactored by using the new
21802 `org-insert-item-internal' function.
21804 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21806 * org-list.el (org-list-bottom-point): Be sure to check real
21807 ORG-OUTLINE-REGEXP and not outline-regexp, that might be modified.
21809 * org.el (org-cycle-internal-local): Cycle up to end of subtree or
21810 end of item if we are in a list.
21812 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21814 * org-list.el (org-insert-item): Move before any special block in
21815 a list prior to add a new item.
21817 * org-timer.el (org-timer-item): When in a timer list, insert a
21818 new timer item like `org-insert-item'. If in another list, send an
21819 error. Otherwise, start a new timer list.
21821 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21823 * org-list.el: Minor refactoring.
21825 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21827 * org-timer.el (org-timer-item): Insert description list item at
21830 * org-list.el (org-insert-item): Insert the right number of blank
21831 lines before a relative timer.
21833 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21835 * org-list.el (org-insert-item): Remove restriction on latex
21838 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21840 * org-list.el (org-search-backward-unenclosed): Do not stop in
21843 * org-list.el (org-search-forward-unenclosed): Do not stop in
21846 * org-latex.el (org-export-latex-lists): Use the fact that
21847 org-search-forward do not stop anymore at protected places.
21849 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21851 * org-list.el (org-search-backward-unenclosed): Do not prevent
21852 list items from being inside LaTeX blocks.
21854 * org-list.el (org-search-forward-unenclosed): Do not prevent list
21855 items from being inside LaTeX blocks.
21857 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21859 * org-list.el (org-in-item-p): Do not widen before checking if we
21862 * org-list.el (org-list-send-list): We cannot count on
21863 `org-list-top-point' and `org-list-bottom-point' before buffer is
21864 narrowed. Find bounds of list otherwise.
21866 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21868 * org-list.el (org-list-end-regexp): By default, list ending is
21869 exactly 2 blank lines.
21871 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21873 * org-docbook.el (org-export-as-docbook): When we find an empty
21874 line, we do not need to check for
21875 `org-empty-line-terminates-plain-lists' because we would have
21876 found end-list marker before.
21878 * org-html.el (org-export-as-html): Same.
21880 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21882 * org-list.el (org-insert-item): Simplify count of blank lines to
21885 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21887 * org-list.el (org-list-end-regexp): New customizable variable to
21888 define what string should end lists.
21890 * org-list.el (org-list-end-re): Function is now aware of
21891 `org-list-end-regexp'.
21893 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21895 * org-html.el (org-export-as-html): Code cleanup.
21897 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21899 * org-docbook.el (org-export-as-docbook): Properly close any open
21900 list when seeing ORG-LIST-END. Removed any reference to now
21901 unneeded DIDCLOSE variable.
21903 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21905 * org-exp.el (org-export-mark-list-ending): Fix number of blank
21906 lines inserted after a list.
21908 * org-list.el (org-list-parse-list): Fix case when
21909 `org-list-end-re' would have an indentation greater than current
21912 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21914 * org-exp.el (org-export-mark-list-ending): Differentiate between
21915 export backends, and replace `org-list-end-re' by a blank line
21918 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21920 * org-html.el (org-export-as-html): Delete didclose and everything
21921 related to it, as it is no longer needed.
21923 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21925 * org-html.el (org-export-html-preprocess): Remove unneeded
21926 insertion of list end marker, as it is now handled by
21927 `org-export-mark-list-ending'.
21929 * org-html.el (org-export-as-html): Cleaner termination of lists.
21931 * org-exp.el (org-export-mark-list-ending): New function to insert
21932 specific markers at the end of lists when exporting to a backend
21933 not using `org-list-parse-list'. This function is called early in
21934 `org-export-preprocess-string', while it is still able to
21937 * org-latex.el (org-export-latex-lists): Better search for
21938 lists. It now only finds items not enclosed and not protected.
21940 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21942 * org-list.el: Replaced `re-search-forward' by
21943 `org-search-forward-unenclosed' where it made sense.
21945 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21947 * org-list.el (org-apply-to-list): Now a return value is handed at
21948 each new call of the function applied.
21950 * org-list.el (org-fix-bullet-type): Use the new
21951 `org-apply-to-list' format.
21953 * org-list.el (org-renumber-ordered-list): Use the new
21954 `org-apply-to-list' format.
21956 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21958 * org.el (org-in-regexps-block-p): Minor fix: limit wasn't
21961 * org-list.el (org-search-forward-unenclosed): Better regexp used.
21963 * org-list.el (org-search-backward-unenclosed): Better regexp
21966 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21968 * org-list.el (org-sort-list): End-rec function was ill-defined.
21970 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21972 * org-list.el (org-search-forward-unenclosed): Fix behavior when
21973 last occurrence was enclosed.
21975 * org-list.el (org-search-backward-unenclosed): Fix behavior when
21976 last occurrence was enclosed.
21978 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21980 * org.el (org-in-regexps-block-p): Fix documentation.
21982 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21984 * org-list.el (org-search-backward-unenclosed): Fix block regexp.
21986 * org-list.el (org-search-forward-unenclosed): Fix block regexp.
21988 * org-list.el (org-list-parse-list): Minor fix.
21990 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21992 * org-list.el (org-list-parse-list): Delete `org-list-end-re' when
21993 called with t argument.
21995 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
21997 * org-html.el (org-export-html-preprocess):
21998 Replace `org-list-end-re' by a blank line during pre-process.
22000 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22002 * org-list.el (org-list-bottom-point): No need for square brackets
22003 for `skip-chars-backward'.
22005 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22007 * org-html.el: Do not delete space between end of list and
22008 beginning of the following.
22010 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22012 * org-html.el: Preprocess buffer string and add ORG-LIST-END where
22013 needed. Lists should not end before seeing this.
22015 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22017 * org-html.el: Notice end of lists.
22019 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22021 * org-list.el (org-list-parse-list): Better handling of
22022 restrictions when function is called on a list with sublists.
22024 * org-list.el (org-list-send-list): Find the true ending of the
22027 * org-list.el (org-list-radio-list-templates): Templates are more
22030 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22032 * ob-js.el (org-babel-js-eoe): Indicate end of input
22033 (org-babel-execute:js): Support for session evaluation
22034 (org-babel-prep-session:js): Fleshed out definition
22035 (org-babel-js-initiate-session): Can initiate a session using
22038 2010-11-11 David Maus <dmaus@ictsoc.de>
22040 * org.el (org-set-regexps-and-options): Protect escape char in
22041 `org-complex-heading-regexp-format'.
22043 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22045 * ob-scheme.el (org-babel-scheme-eoe): For marking the end of
22046 session-based evaluation
22047 (org-babel-execute:scheme): Now supports session-based evaluation
22048 (org-babel-prep-session:scheme): Now works and defines variables
22049 (org-babel-scheme-initiate-session): Now works using run-scheme
22052 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22054 * org.el (org-export-latex-default-packages-alist): Remove the
22055 t1enc package - this is already covered by fontenc.
22057 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22059 * ob.el (with-parsed-tramp-file-name): Declared
22060 (org-babel-tramp-localname): Ensure variable name exists locally.
22062 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22064 * ob.el (org-babel-temp-file): Don't use babel temporary directory
22065 in remote case; use make-temp-file with remote file name so that
22066 temp file is guaranteed not to exist previously on remote machine.
22067 (org-babel-tramp-localname): New function to return local name
22068 portion of possibly remote file specification.
22070 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22072 * ob-R.el (org-babel-R-write-object-command): New unified R
22073 command for writing results to file
22074 (org-babel-R-wrapper-method): Remove variable
22075 (org-babel-R-wrapper-lastvar): Remove variable
22076 (org-babel-R-evaluate-external-process): Use new R command
22077 (org-babel-R-evaluate-session): Use new R command.
22079 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22082 (org-babel-comint-eval-invisibly-and-wait-for-file): New function
22083 to evaluate code invisibly and block until output file exists.
22085 * ob-R.el (org-babel-R-evaluate-session): Use `ess-eval-buffer' to
22086 evaluate R code in session for :results value. Write result to
22087 file invisibly using new function
22088 `org-babel-comint-eval-invisibly-and-wait-for-file'.
22090 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22092 * org-capture.el (org-capture-fill-template): Align tags after
22095 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22097 * org-exp.el (org-export-concatenate-multiline-emphasis):
22098 Ignore matches that start in a headline.
22100 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22102 * ob-plantuml.el (org-babel-execute:plantuml): Wrapping in-file
22103 and out-file in shell-quote-argument.
22105 2010-11-11 David Maus <dmaus@ictsoc.de>
22107 * org-docview.el (org-docview-store-link): Use expanded macro to
22109 (doc-view-goto-page, image-mode-window-get): Declare functions for
22112 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22114 * ob-scheme.el: Very preliminary support for evaluating scheme
22117 * org.el (org-babel-load-languages): Adding scheme.
22119 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22121 * ob.el (require): Remove circular (require 'org).
22123 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22125 * ob-R.el (ess-make-buffer-current): Declared.
22126 (ess-ask-for-ess-directory): Declared.
22127 (ess-local-process-name): Declared.
22128 * ob-latex.el (org-babel-latex-tex-to-pdf): Capturing free variable.
22130 * ob.el (org-edit-src-code): Fixing arguments.
22131 (org-edit-src-exit): Declared.
22132 (org-outline-overlay-data): Declared.
22133 (org-set-outline-overlay-data): Declared.
22135 2010-11-11 Glenn Morris <rgm@gnu.org>
22137 * ob.el: Require org when compiling.
22138 (org-save-outline-visibility): Remove macro declaration.
22140 * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
22141 Remove unnecessary/macro declarations.
22143 * org-docview.el: Require doc-view when compiling.
22144 (doc-view-goto-page): Autoload rather than declaring.
22145 (doc-view-current-page): Remove macro declaration.
22147 * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
22148 (org-entry-get, org-table-import): Fix declarations.
22149 (org-match-string-no-properties): Remove declaration.
22151 * ob-sh.el (org-babel-comint-in-buffer)
22152 (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
22153 (org-babel-comint-with-output): Remove unnecessary declarations.
22155 * ob-R.el (orgtbl-to-tsv): Fix declaration.
22157 * org-list.el (org-entry-get): Fix declaration.
22159 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22161 * ob.el (org-babel-remove-temporary-directory): Remove explicit
22164 2010-11-11 Magnus Henoch <magnus.henoch@gmail.com> (tiny change)
22166 * org-clock.el (org-clocktable-steps): Allow ts and te to be day
22169 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22171 * org-macs.el (org-save-outline-visibility): Move from org.el.
22173 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22175 * ob-org.el (org-babel-default-header-args:org): Additional
22176 ":results silent" default header argument for org code blocks.
22178 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22180 * ob-exp.el (org-babel-exp-do-export): Remove hacky ":noeval",
22181 which is now an alias to ":eval no".
22183 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22185 * ob.el (org-babel-remove-temporary-directory): The version of
22186 `delete-directory' found in files.el can not be assumed to be
22187 present on all versions, so this copies the recursive behavior of
22188 that command in such a way that all calls to delete-directory will
22189 also work with the built-in internal C implementation of that
22190 function. This is not overly difficult as all elements of the
22191 directory can be assumed to be files.
22193 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22195 * ob-C.el (org-babel-C-execute): Corrected arguments to
22196 org-babel-temp-file.
22198 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22200 * ob.el (org-babel-temporary-directory): Variable to hold the
22201 value of the Babel temporary directory.
22203 2010-11-11 Aditya Siram <aditya.siram@gmail.com>
22205 * ob.el (org-babel-load-in-session): Expanding noweb references
22208 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22210 * org.el (org-make-link-regexps): Modify regexp of
22213 2010-11-11 Noorul Islam <noorul@noorul.com> (tiny change)
22215 * org-habit.el (org-habit-parse-todo): Find sr-days only if
22216 scheduled-repeat is non nil. Use 4th element of the list returned
22217 by (org-heading-components) as habit-entry. Modify the error
22218 message to be more meaningful.
22220 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22222 * ob-latex.el (org-babel-execute:latex): Adding new ":fit" and
22223 ":border" header arguments which both use the "preview" latex
22224 package to fit the resulting PDF image to the figure.
22226 2010-11-11 David Maus <dmaus@ictsoc.de>
22228 * org-wl.el (org-wl-store-link): Don't try to store link if point
22229 is at end of buffer.
22231 2010-11-11 Harri Kiiskinen <harkiisk@gmail.com>
22233 * org-publish.el (org-publish-project-alist): Document the new
22234 body-only property.
22235 (org-publish-org-to): Use the body-only property.
22237 2010-11-11 Jambunathan K <kjambunathan@gmail.com> (tiny change)
22239 * org.el (org-store-link): Return link when invoked
22240 non-interactively from an agenda buffer.
22242 2010-11-11 Jambunathan K <kjambunathan@gmail.com> (tiny change)
22244 * org.el (org-store-link): Storing of links to headlines in
22245 indirect buffers was broken. Fix it.
22247 2010-11-11 Aidan Kehoe <kehoea@parhasard.net>
22249 * ob-tangle.el (org-babel-tangle): Change the MODE argument to
22250 #'set-file-modes to use integer, not character syntax, avoiding
22251 compile problems with recent XEmacs.
22253 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22255 * org-agenda.el (org-agenda-add-entry-text): Make sure we move
22256 forward even if there is no text to be added.
22258 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22260 * org.el (org-make-tags-matcher): Read "\\-" as "-" in the
22261 tags/property matcher.
22263 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22265 * org-exp.el (org-infile-export-plist): Bind case-fold-search to
22268 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22270 * org-agenda.el (org-agenda-with-point-at-orig-entry): New macro.
22272 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22274 * org-latex.el (org-export-latex-set-initial-vars):
22275 Bind `case-fold-search' to t around the search for special LaTeX setup.
22277 * org-beamer.el (org-beamer-after-initial-vars):
22278 Bind `case-fold-search' to t around the search for special BEAMER
22281 2010-11-11 David Maus <dmaus@ictsoc.de>
22283 * org-agenda.el (org-write-agenda): Delete PostScript file after
22284 creating conversion to PDF.
22286 2010-11-11 David Maus <dmaus@ictsoc.de>
22288 * org-agenda.el (org-write-agenda): Move require statements to
22289 proper place in evaluated lisp expression.
22291 2010-11-11 David Maus <dmaus@ictsoc.de>
22293 * org-agenda.el (org-write-agenda): Rename temporary buffer to
22294 remove dependency of `flet' macro.
22296 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22298 * ob-lob.el (org-babel-lob-get-info): Edit docstring.
22300 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22302 * ob-exp.el (org-babel-exp-lob-one-liners): Get parameter values
22303 from all standard sources when executing #+lob/#+call lines.
22305 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22307 * ob-R.el (org-babel-R-evaluate): Break the two branches into two
22309 (org-babel-R-evaluate-external-process): New function to handle
22310 external process evaluation
22311 (org-babel-R-evaluate-session): New function to handle session
22314 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22316 * ob.el (org-babel-initiate-session): New function derived from
22317 previous `org-babel-switch-to-session'
22318 (org-babel-switch-to-session): Refactored to use new
22319 `org-babel-initiate-session'.
22321 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22323 * ob.el (org-babel-switch-to-session): Supply missing "P" argument
22326 2010-11-11 David Maus <dmaus@ictsoc.de>
22328 * org-feed.el (org-feed-format-entry): Decode entry according to
22329 its character encoding.
22331 2010-11-11 David Maus <dmaus@ictsoc.de> (tiny change)
22333 * org-feed.el (xml-substitute-special): Declare function for byte
22335 (org-feed-unescape): Remove.
22336 (org-feed-parse-rss-entry, org-feed-parse-atom-entry):
22337 Use `xml-substitute-special' to unescape XML entities.
22339 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22341 * ob.el (org-babel-switch-to-session): Throw error if block if
22342 :session not in effect for the block.
22344 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22346 * org-table.el (org-table-create-with-table.el): Align table
22349 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22351 * ob.el (org-babel-do-in-edit-buffer): Suppress message and check
22352 that org-src buffer is current before attempting exit.
22354 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22356 * org-src.el (ob-comint): Require 'ob-comint
22357 (org-src-babel-info): Define variable.
22359 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22361 * ob.el (org-babel-do-in-edit-buffer): New macro to evaluate lisp
22362 in the language major mode edit buffer.
22363 (org-babel-do-key-sequence-in-edit-buffer): New function to call
22364 an arbitrary key sequence in the language major mode edit buffer.
22366 * org-src.el (org-src-switch-to-buffer): Add new allowed value
22367 'switch-invisibly for `org-src-window-setup'.
22369 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22371 * org-src.el (ob-keys): Require ob-keys, because `org-babel-map'
22373 (org-src-do-at-code-block): New macro to evaluate lisp with point
22374 at the start of the Org code block containing the code in this
22376 (org-src-do-key-sequence-at-code-block): New function to execute
22377 command bound to key at the Org code block containing the code in
22380 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22382 * ob-R.el (org-babel-R-associate-session): New function to
22383 associate R code edit buffers with ESS comint session.
22385 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22387 * org-src.el (org-edit-src-code): If at src block, store babel
22388 info as buffer local variable.
22389 (org-src-associate-babel-session): New function to associate code
22390 edit buffer with comint session. Does nothing unless a
22391 language-specific function named
22392 `org-babel-LANG-associate-session' exists.
22393 (org-src-babel-configure-edit-buffer): New function to be called
22394 in `org-src-mode-hook'.
22395 (org-src-mode-hook): Add `org-src-babel-configure-edit-buffer' to
22398 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22400 * ob.el (org-babel-switch-to-session-with-code): New function to
22401 generate split frame displaying edit buffer and session.
22403 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22405 * org.el (org-set-tags): Consider org-indent-mode when computing
22408 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22410 * org-compat.el (org-looking-at-p): Only use looking-at-p when
22413 2010-11-11 David Maus <dmaus@ictsoc.de>
22415 * org-agenda.el (org-finalize-agenda-entries): Delete excluded
22416 lines directly after call to sorting filter function.
22418 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22420 * org.el (org-complex-heading-regexp-format): Document the
22422 (org-get-refile-targets): Use `org-complex-heading-regexp-format'
22423 to make the regular expression for matching the headline.
22425 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22427 * org.el (org-refile-check-position): New function.
22429 (org-refile-get-location): Call `org-refile-check-position'.
22431 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22433 * ob-python.el (org-babel-python-initiate-session-by-key): Use eq
22434 instead of equal to compare symbols.
22436 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22438 * org-agenda.el (org-agenda-before-sorting-filter-function):
22440 (org-finalize-agenda-entries):
22441 Apply `org-agenda-before-sorting-filter-function'.
22443 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22445 * org-latex.el (org-export-latex-first-lines): Do not protect meta
22446 lines that have nothing to do with babel.
22448 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22450 * org-capture.el (org-capture-place-template): Handle the
22452 (org-capture-place-item): Provide boundaries for the search to
22453 make sure we do not get a match in a different tree.
22455 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22457 * org-exp.el (org-export-preprocess-apply-macros): Fix the macro
22460 2010-11-11 Noorul Islam <noorul@noorul.com>
22462 * org-latex.el (org-latex-to-pdf-process): Add output-directory
22463 option for the command pdflatex.
22464 (org-export-as-pdf): Respect directory in path of
22467 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22469 * org-exp.el (org-export-with-LaTeX-fragments): New default t,
22470 which now means to use MathJax processing for HTML. Also allow
22471 new value `dvipng' to force the old image processing.
22472 (org-infile-export-plist): Parse for MATHJAX setup line.
22474 * org-html.el (org-export-html-mathjax-options): New option.
22475 (org-export-html-mathjax-config): New function.
22476 (org-export-html-mathjax-template): New option.
22477 (org-export-html-preprocess): Call the LaTeX snippet processor
22478 with an additional argument to declare special ways of processing.
22479 (org-export-as-html): Bind the dynamical variable
22480 `org-export-have-math'. Insert the MathJax script template when
22481 it is needed by the document.
22483 * org.el (org-preview-latex-fragment): Call `org-format-latex'
22484 with the additional processing argument.
22485 (org-export-have-math): New variable, for dynamic scoping.
22486 (org-format-latex): Implement specific ways of processing.
22487 New function argument for processing type.
22488 (org-org-menu): Remove the entry to configure LaTeX snippet
22491 2010-11-11 Bastien Guerry <bzg@gnu.org>
22493 * org-agenda.el (org-agenda-clock-goto): Use `\C-c\C-x\C-j' for
22494 `org-clock-goto' and `J' for `org-agenda-clock-goto'. If the
22495 heading currently clocked in is not listed in the agenda, display
22496 this entry in another buffer. If there is no running clock,
22497 display a help message.
22499 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22501 * org-latex.el (org-export-latex-tables): Return "" instead of nil
22502 when no label is attached.
22504 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22506 * org-agenda.el (org-agenda-menu-show-match): New option.
22507 (org-agenda-menu-two-column): New option.
22508 (org-agenda-get-restriction-and-command): Implement dispatch menu
22509 without showing the matcher, and with two-column display.
22511 2010-11-11 Bernt Hansen <bernt@norang.ca>
22513 * org-indent.el (org-indent-mode): Fix grammar for message when
22516 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22518 * ob.el (org-babel-insert-result): Ensures `beg' is set, even if
22519 no previous result exists.
22521 2010-11-11 Noorul Islam <noorul@noorul.com>
22523 * ob.el Declare org-babel-lob-execute-maybe() to avoid compiler
22526 2010-11-11 Noorul Islam <noorul@noorul.com>
22528 * org.el (org-set-visibility-according-to-property): Use backward
22529 search instead of forward, so that top hierarchy gets priority.
22531 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22533 * org-agenda.el (org-timeline): Allow indirect buffer.
22535 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22537 * org-exp.el (org-export-preprocess-after-radio-targets-hook):
22538 (org-export-define-heading-targets-headline-hook): New hooks.
22540 * org.el (org-modules): Add entry for org-wikinodes.el.
22541 (org-font-lock-set-keywords-hook): New hook.
22542 (org-open-at-point-functions): New hook.
22543 (org-find-exact-headling-in-buffer):
22544 (org-find-exact-heading-in-directory): New functions.
22545 (org-mode-flyspell-verify): Better cursor position for checking if
22546 flyspell should ignore a word.
22548 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22550 * org-indent.el (org-indent-remove-properties):
22551 (org-indent-add-properties): Make sure changing these properties
22552 does not trigger modification hooks.
22554 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22556 * org.el (org-link-search-must-match-exact-headline): New option.
22557 (org-link-search-inhibit-query): New variable.
22558 (org-link-search): Search for exact headline match in Org files.
22560 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22562 * ob.el (org-babel-execute-src-block-maybe): Remove check for
22563 `org-babel-no-eval-on-ctrl-c-ctrl-c'; this is done in the new
22564 function `org-babel-execute-safely-maybe'.
22566 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22568 * ob.el (org-babel-load-in-session): Set directory in case :dir
22571 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22573 * ob-tangle.el (org-babel-tangle-collect-blocks): Don't throw
22574 errors when we're not under of a headline.
22576 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22578 * ob-octave.el (org-babel-octave-wrapper-method): Use dlmwrite to
22579 write delimited text instead of save -ascii
22580 (org-babel-octave-import-elisp-from-file): Specify that data
22581 written to file is tab-delimited.
22583 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22585 * ob-R.el (org-babel-R-evaluate): Specify that tabular data is
22588 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22590 * ob.el (org-babel-import-elisp-from-file): Allow separator to be
22593 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22595 * ob-python.el (org-babel-python-table-or-string): Fix recognition
22596 of lists and tuples.
22598 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22600 * ob-octave.el (org-babel-octave-evaluate-external-process):
22601 Allow remote files.
22603 2010-11-11 Juan Pechiar <pechiar@computer.org>
22605 * ob-octave.el (org-babel-octave-evaluate-external-process):
22606 Use `org-babel-octave-import-elisp-from-file' instead of
22607 `org-babel-eval-read-file'.
22608 (org-babel-octave-var-to-octave): Separate matrix rows with ';',
22609 and use '%s' as format specifier instead of '%S'.
22611 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22613 * ob-octave.el: Only (require 'matlab) when necessary.
22614 (org-babel-octave-initiate-session): (require) octave-inf or matlab
22616 (org-babel-execute:matlab): Remove (require).
22617 (org-babel-prep-session:matlab): Remove (require).
22618 (org-babel-matlab-initiate-session): Remove (require).
22620 2010-11-11 Dan Davison <davison@stats.ox.ac.uk>
22622 * ob-octave.el (org-babel-octave-evaluate): Fix formal argument
22625 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22627 * ob-python.el (org-babel-python-table-or-string): Can now handle
22628 VERY long result lines.
22630 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22632 * org-latex.el (org-export-latex-tables): Add label if any.
22634 * org-latex.el (org-export-latex-convert-table.el-table):
22635 Fix little mistake when inserting label.
22637 2010-11-11 Nicolas Goaziou <n.goaziou@gmail.com>
22639 * org.el (org-cycle-internal-local): Remove an unnecessary call
22640 to `org-back-to-heading' that was preventing point to stay at its
22641 column when cycling visibility.
22643 2010-11-11 Noorul Islam <noorul@noorul.com>
22645 * org-capture.el (org-capture-finalize): Make messages consistent.
22647 2010-11-11 Noorul Islam <noorul@noorul.com>
22649 * org-gnus.el: Suppress compiler warning by declaring outside
22650 function nnimap-retrieve-headers-from-file.
22652 2010-11-11 Noorul Islam <noorul@noorul.com>
22654 * org-colview.el Use org-beamer-select-environment instead of
22655 org-beamer-set-environment-tag.
22657 2010-11-11 Matt Lundin <mdl@imapmail.org>
22659 * org.el (org-insert-time-stamp): Fix org-insert-time-stamp so
22660 that the value of org-last-inserted-timestamp includes time range.
22662 2010-11-11 David Maus <dmaus@ictsoc.de>
22664 * org-wl.el (org-wl-store-link-message): Provide link property for
22665 message-id without angle brackets.
22667 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22669 * ob-R.el (org-babel-R-evaluate): Improve prompt-stripping regexp.
22671 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22673 * ob-tangle.el (org-babel-find-file-noselect-refresh): Finds a
22674 file ensuing that the latest changes on disk are represented.
22676 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22678 * ob-sqlite.el (org-babel-sqlite-expand-vars): Now inserts string
22679 arguments w/o quotes.
22681 2010-11-11 Bernt Hansen <bernt@norang.ca>
22683 * org-capture.el (org-capture-finalize): Fix clock in of
22684 interrupted task during capture finalize.
22686 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22688 * ob-R.el (org-babel-R-evaluate): Clean up extra prompts in
22691 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22693 * ob-C.el (org-babel-C-ensure-main-wrap): More generous regular
22694 expression for matching main function.
22696 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22698 * ob-lob.el (org-babel-lob-one-liner-regexp): Fix error in lob
22699 regexp -- it wasn't matching lob lines w/o indices.
22701 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22703 * org-exp.el (org-export-latex-listings-w-names): Fix compiler
22704 warning in org-exp.el.
22706 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22708 * org-publish.el (org-publish-file): Better error message if
22709 base-directory or publishing-directory are not defined.
22711 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22713 * org-colview.el (org-columns-display-here): Use overlays to
22714 overrule line prefix properties during column view.
22716 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22718 * org-agenda.el (org-agenda-filter-preset): Document the
22719 limitation for the filter preset - it can only be used for an
22720 entire agenda view, not in an individual block in a block agenda.
22722 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22724 * ob-table.el (sbe): Now able to accept range references from
22727 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22729 * ob.el (org-babel-pick-name): If colnames or rownames contain a
22730 list of names, then use those directly.
22732 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22734 * org-exp.el (org-export-format-source-code-or-example):
22735 Escape underscores in code block names on latex listings export.
22737 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22739 * ob-tangle.el (org-babel-with-temp-filebuffer):
22740 Use find-file-noselect to avoid excess buffer movement.
22742 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22744 * org-html.el (org-html-should-inline-p): Only inline images if
22747 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22749 * org-id.el (org-id-store-link): Autoload.
22751 * org.el ("org-id"): Autoload `org-id-store-link'.
22753 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22755 * org-html.el (org-html-should-inline-p): Only inline images if
22758 2010-11-11 Eric S Fraga <e.fraga@ucl.ac.uk>
22760 * org-icalendar.el (org-icalendar-alarm-time): New option.
22762 * org-icalendar.el (org-print-icalendar-entries): Timed events are
22763 exported with alarm events, a.k.a. reminders.
22765 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22767 * org-capture.el (org-capture-target-buffer): Throw an error if we
22768 have no target file.
22769 (org-capture-select-template): Use a default template if the user
22770 has not specified any.
22772 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22774 * org.el (org-modules): Add entry for org-velocity.
22776 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22778 * ob-lob.el (org-babel-lob-execute): Changing indentation to
22779 improve line length.
22781 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22783 * org-exp.el (org-export-handle-table-metalines): Choose a better
22784 position for checking protectedness.
22786 2010-11-11 Eric Schulte <schulte.eric@gmail.com>
22788 * org-table.el (org-table-convert-region): Don't continue csv
22789 importation which the point catches the end, this fixes an
22790 infinite loop which was caused by the (point) never catching up
22791 with the "end" marker.
22793 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22795 * org-macs.el (org-string-nw-p): New function.
22797 * org-capture.el (org-capture-import-remember-templates):
22798 Interpret an empty string as request to use
22799 `org-default-notes-file'.
22800 (org-capture-target-buffer): If the FILE is not a (non-empty)
22801 string, use `org-default-notes-file'.
22803 2010-11-11 Carsten Dominik <carsten.dominik@gmail.com>
22805 * org-capture.el (org-capture-templates): Fix customize type.
22807 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
22809 * org.el (org-refile-targets):
22810 * org-agenda.el (org-agenda-hide-tags-regexp): Fix typos in docstrings.
22812 2010-08-19 Glenn Morris <rgm@gnu.org>
22814 * org.el (org-outline-overlay-data, org-set-outline-overlay-data)
22815 (org-save-outline-visibility): Move to org-macs.
22816 * org-macs.el (org-outline-overlay-data, org-set-outline-overlay-data)
22817 (org-save-outline-visibility): Move here from org.el.
22818 (show-all): Autoload it.
22819 * ob.el: Don't require org when compiling.
22821 2010-08-18 Glenn Morris <rgm@gnu.org>
22823 * ob.el: Require org when compiling.
22824 (org-save-outline-visibility): Remove macro declaration.
22825 * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
22826 Remove unnecessary/macro declarations.
22827 * org-docview.el: Require doc-view when compiling.
22828 (doc-view-goto-page): Autoload rather than declaring.
22829 (doc-view-current-page): Remove macro declaration.
22831 2010-08-17 Glenn Morris <rgm@gnu.org>
22833 * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
22834 (org-entry-get, org-table-import): Fix declarations.
22835 (org-match-string-no-properties): Remove unnecessary declaration.
22836 * ob-sh.el (org-babel-comint-in-buffer)
22837 (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
22838 (org-babel-comint-with-output): Remove unnecessary declarations.
22839 * ob-R.el (orgtbl-to-tsv): Fix declaration.
22840 * org-list.el (org-entry-get): Fix declaration.
22842 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
22844 * ob-C.el: New file.
22845 * ob-R.el: New file.
22846 * ob-asymptote.el: New file.
22847 * ob-clojure.el: New file.
22848 * ob-comint.el: New file.
22849 * ob-css.el: New file.
22850 * ob-ditaa.el: New file.
22851 * ob-dot.el: New file.
22852 * ob-emacs-lisp.el: New file.
22853 * ob-eval.el: New file.
22854 * ob-exp.el: New file.
22855 * ob-gnuplot.el: New file.
22856 * ob-haskell.el: New file.
22857 * ob-keys.el: New file.
22858 * ob-latex.el: New file.
22859 * ob-lob.el: New file.
22860 * ob-matlab.el: New file.
22861 * ob-mscgen.el: New file.
22862 * ob-ocaml.el: New file.
22863 * ob-octave.el: New file.
22864 * ob-perl.el: New file.
22865 * ob-python.el: New file.
22866 * ob-ref.el: New file.
22867 * ob-ruby.el: New file.
22868 * ob-sass.el: New file.
22869 * ob-screen.el: New file.
22870 * ob-sh.el: New file.
22871 * ob-sql.el: New file.
22872 * ob-sqlite.el: New file.
22873 * ob-table.el: New file.
22874 * ob-tangle.el: New file.
22877 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
22879 * org-mks.el: New file.
22880 * org-capture.el: New file.
22882 2010-07-19 Christian Egli <christian.egli@sbszh.ch>
22884 * org-taskjuggler.el: New file.
22886 2010-07-19 Matt Lundin <mdl@imapmail.org>
22888 * org-agenda.el (org-search-view): Fix inclusion of agenda-archives
22889 in org-agenda-text-search-extra-files.
22891 2010-07-19 David Maus <dmaus@ictsoc.de>
22893 * org-list.el (org-list-send-list): Locally bind variable `txt'.
22895 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
22897 * org.el (org-reload): Now also reloading babel files.
22899 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
22901 * org-capture.el (org-capture-set-plist): Make sure txt is a string
22902 before calling `string-match'.
22903 (org-capture-templates): Fix customization type.
22905 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
22907 * org-latex.el (org-export-latex-preprocess): Make a special case
22909 (org-latex-entities): Remove the entry for \nbsp.
22910 (org-latex-entities-exceptions): Variable removed.
22912 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
22914 * org-capture.el (org-capture-refile): Do not try to manipulate
22917 * org.el (org-refile): Use the correct bookmark here.
22919 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
22921 * org-list.el (org-list-send-list): Parse list from its true beginning.
22923 * org.el (org-ctrl-c-ctrl-c): Maybe send the list when at a list item.
22925 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
22927 * org.el (org-insert-link): Correctly determine if we should use
22930 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
22932 * org-list.el (org-list-radio-list-templates): Fix templates.
22934 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
22936 * org-list.el (org-list-send-list): Regexp defining the start of
22937 a radio list is now on par with the one used for radio tables.
22939 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
22941 * org-entities.el (org-entities-help): Add a headline for
22942 the user-defined entities.
22944 2010-07-19 Dirk-Jan C. Binnema <djcb.bulk@gmail.com> (tiny change)
22946 * org-agenda.el (org-agenda-action): Document capture key and add it
22949 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
22951 * org-latex.el (org-export-latex-listings-langs): Add (sqlite "SQL").
22953 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
22955 * org-latex.el (org-export-latex-first-lines): Do not mark
22956 meta lines for removal. Do not remove BABEL config lines during export.
22958 2010-07-19 David Maus <dmaus@ictsoc.de>
22960 * org-capture.el (org-capture): Check if
22961 `org-capture-link-is-already-stored' is bound before evaluating.
22963 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
22965 * org.el: Add autoload for org-babel-do-load-languages.
22967 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
22969 * org-src.el (org-src-lang-modes): Add sqlite to sql-mode.
22971 2010-07-19 David Maus <dmaus@ictsoc.de>
22973 * org-feed.el: Change indentation to match coding style
22976 2010-07-19 David Maus <dmaus@ictsoc.de>
22978 * org-feed.el (org-feed-unescape, org-feed-parse-atom-feed): Load XML
22979 library if necessary.
22981 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
22983 * org-beamer.el (org-beamer-amend-header): Standardize the
22984 header cookie for the beamer extra stuff.
22986 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
22988 * org-beamer.el (org-beamer-amend-header): Put extra header
22991 2010-07-19 David Maus <dmaus@ictsoc.de>
22993 * org-exp-blocks.el (org-export-blocks-format-ditaa)
22994 (org-export-blocks-format-dot): Remove text properties of body before
22995 calculating cache hash.
22997 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
22999 * org-latex.el (org-export-latex-tabular-environment): New option.
23000 (org-export-latex-tables): Use `org-export-latex-tabular-environment'.
23002 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23004 * org-compat.el (org-version-check): New function.
23006 * org-indent.el (org-indent-mode): Check for exact emacs version.
23008 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23010 * org-capture.el (org-capture-templates): Allow the template
23011 to come from a file or function call.
23012 (org-capture-place-entry): Get the template from file or function.
23014 2010-07-19 David Maus <dmaus@ictsoc.de>
23016 * org-agenda.el (org-agenda-bulk-action): Don't create marker for
23017 position if target is entire file.
23019 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23021 * org.el (org-autoload): Autoload a few more org-table functions.
23023 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23025 * org.el (org-babel-load-languages): Add ob-mscgen.
23027 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23029 * org-latex.el (org-export-latex-tables): Format string now
23032 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23034 * org.el (org-babel-load-languages): This variable controls which
23035 languages will be loaded by org-babel. It is customizable through
23036 the customize interface.
23038 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23040 * org-latex.el (org-export-latex-format-image): Update number of
23041 arguments to allow for an optional short-name.
23043 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23045 * org-indent.el (org-indent-mode): Refuse to turn on prior to Emacs 23.2.
23047 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23049 * org-capture.el (org-capture-set-target-location):
23050 Store exact positions for file+regexp and file+function targets.
23051 (org-capture-place-entry, org-capture-place-item)
23052 (org-capture-place-table-line, org-capture-place-plain-text):
23053 Respect exact positions.
23054 (org-capture-finalize): Make sure we are at the beginning of a line
23055 when fixing the empty lines after the entry.
23057 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23059 * org.el (org-entry-get-with-inheritance): New argument LITERAL-NIL.
23060 (org-entry-get): Pass `literal-nil' into
23061 `org-entry-get-with-inheritance'.
23062 (org-todo): React to nil values of the LOGGING property.
23064 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23066 * org.el (org-default-notes-file): Update docstring.
23068 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23070 * org.el (org-link-frame-setup): Use `org-gnus-no-new-news' as default.
23072 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23074 * org-exp.el (org-export-attach-captions-and-attributes):
23075 Add a shortname attribute to caption strings under the symbol name
23076 org-caption-shortn.
23078 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23080 * org.el (org-switchb): Rename from `org-iswitchb'.
23082 (org-iswitchb): New alias.
23083 (org-ido-switchb): Make alias point to `org-switchb'.
23085 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23087 * org-capture.el (org-capture-fill-template):
23088 Respect time-of-day preference in template prompt.
23090 2010-07-19 David Maus <dmaus@ictsoc.de>
23092 * org-feed.el (org-feed-unescape): Remove superfluous lambda.
23094 2010-07-19 David Maus <dmaus@ictsoc.de>
23096 * org-wl.el (org-wl-disable-folder-check): New customization
23098 (org-wl-open): Disable folder check depending on
23099 `org-wl-disable-folder-check'.
23101 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23103 * org-capture.el (org-capture-set-target-location):
23104 Fix file+function interpretation.
23106 2010-07-19 David Maus <dmaus@ictsoc.de>
23108 * org-feed.el (org-feed-parse-rss-entry): Unescape rss element
23111 2010-07-19 David Maus <dmaus@ictsoc.de>
23113 * org-feed.el (xml-entity-alist): Declare variable
23114 `xml-entity-alist' for byte compiler.
23116 2010-07-19 David Maus <dmaus@ictsoc.de>
23118 * org-feed.el (org-feed-unescape): New function.
23119 Unescape protected entities.
23120 (org-feed-parse-atom-entry): Use function for atom:content
23121 type text and html.
23123 2010-07-19 David Maus <dmaus@ictsoc.de>
23125 * org-feed.el (org-feed-parse-rss-feed): Ignore case of rss
23128 2010-07-19 Bernt Hansen <bernt@norang.ca>
23130 * org.el (org-time-string-to-absolute): Ignore cyclic repeater
23131 when displaying items on todays agenda date.
23133 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23135 * org-agenda.el (org-agenda-get-progress): Avoid reusing previous
23138 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23140 * org-publish.el (org-publish-initialize-cache):
23141 Make timestamp directory, the entire path to it.
23143 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23145 * org-exp.el (org-export-handle-comments): Make sure to check
23146 for protection in the comment line, and not in the line after it.
23148 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23150 * org-html.el (org-export-html-preprocess): Call org-format-latex,
23151 possibly with a protect-only argument.
23153 * org.el (org-format-latex): New argument PROTECT-ONLY.
23155 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23157 * org-exp.el (org-export-handle-table-metalines): This function
23158 removes table specific meta-lines, now that we aren't wiping
23159 everything that looks remotely like a comment at the end of the
23160 export process we have to be sure to catch all of the specific lines
23163 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
23165 * org-exp.el (org-export-select-backend-specific-text): Properly
23166 get rid of #+Backend and #+ATTR_Backend specifics to backends not
23167 matching the one we're exporting to.
23169 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23171 * org-table.el (orgtbl-to-generic): Add the :remove-newlines
23172 option which will strip newline characters from the text of table
23173 cells and replace then with "\n".
23175 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23177 * org.el (org-confirm-shell-link-function)
23178 (org-confirm-elisp-link-function): Limit the values that can be set by
23181 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23183 * org.el (org-compute-latex-and-specials-regexp): Deal with
23184 string elements by discarding them.
23186 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23188 * org.el (org-iswitchb): Make sure to use at least iswitchb.
23190 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23192 * org-capture.el (org-capture-position-for-last-stored)
23193 (org-capture-bookmark-last-stored-position): New functions.
23194 (org-capture-place-table-line): Better error catching.
23195 (org-capture-place-item, org-capture-place-entry)
23196 (org-capture-place-plain-text):
23197 Call `org-capture-position-for-last-stored'.
23198 (org-capture-finalize): Just call
23199 `org-capture-bookmark-last-stored-position'.
23201 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23203 * org-exp.el (org-export-mark-blockquote-verse-center):
23204 Fix small bug, now grabbing match data before overwritten by looking-at
23205 this fixes a problem with remainders of #+end_quote lines appearing
23206 in exported output.
23208 2010-07-19 David Maus <dmaus@ictsoc.de>
23210 * org.el (org-link-frame-setup): Add customization option for
23213 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23215 * org-latex.el (org-export-latex-fixed-width): Now check
23216 org-example rather than org-protected on verbatim export, because by
23217 default all ": " prefixed lines are marked protected.
23219 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23221 * org-latex.el (org-export-latex-fixed-width): Check for
23222 protection before wrapping ": " lines as verbatim.
23224 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23226 * org-exp.el (org-export-handle-comments): Check for protection
23227 before removing comments.
23229 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23231 * org-entities.el (org-entities): Restructure the list.
23232 (org-entities-help): Turn the help output into a buffer
23233 in Org-mode, so that it becomes easier to find a symbol
23235 (org-entities-create-table): Deal with new structure.
23237 2010-07-19 David Maus <dmaus@ictsoc.de>
23239 * org-agenda.el (org-write-agenda): Use backquotes to expand
23240 `flet' at compile time.
23242 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23244 * org.el (org-entry-properties): Make sure that standard property
23245 names are used even if the user has customized time keywords.
23247 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23249 * org-macs.el (org-not-nil): Return the value if not interpreted
23252 * org.el (org-entry-get)
23253 (org-entry-get-with-inheritance): Interpret the value "nil"
23254 as nil for properties.
23256 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23258 * org.el (org-switch-to-buffer-other-window): Return the buffer.
23260 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23262 * org-macs.el (org-not-nil): New function.
23264 * org.el (org-block-todo-from-children-or-siblings-or-parent):
23265 Use `org-not-nil' to interpret a property value of nil.
23267 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23269 * org.el (org-truely-invisible-p): New function.
23270 (org-beginning-of-line): Use `org-truely-invisible-p'.
23272 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23274 * org-agenda.el (org-agenda-get-timestamps): No errors
23275 while getting TODO state.
23276 (org-agenda-highlight-todo): No error when no keyword has
23279 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23281 * org.el (org-timestamp-change): New optional argument UPDOWN.
23282 Use this to identify calls from org-timestamp-up/down, so that we can
23283 skip by rounding minutes in this case.
23284 (org-timestamp-up, org-timestamp-down, org-timestamp-up-day)
23285 (org-timestamp-down-day): Call org-timestamp-change with the
23288 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23290 * org-agenda.el (org-agenda-action): Make `c' key call org-capture.
23292 * org-capture.el: New file.
23294 * org-compat.el (org-get-x-clipboard): Function moved here from
23297 * org-mks.el: New file.
23299 * org.el (org-set-regexps-and-options): Allow statistic cookies as
23300 part of complex headlines.
23301 (org-find-olp): New argument THIS-BUFFER. When set, assume that the
23302 OLP does not contain a file name.
23304 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23306 * org.el (org-mode): Set `comment-start' instead of changing the
23307 syntax of the `#' character.
23309 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23311 * org-exp.el (org-export-format-source-code-or-example): Mark examples
23314 * org-html.el (org-export-html-close-lists-maybe): Check if raw
23315 HTML stuff was actually made from an example.
23317 2010-07-19 Bastien Guerry <bzg@gnu.org>
23319 * org-latex.el: Items are no longer skipped when their first line
23320 ends on a protected element.
23322 * org-list.el: Protected environments looking like lists are not
23325 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23327 * org-exp-blocks.el (org-export-blocks-preprocess):
23328 Cleanup trailing newline after block.
23330 2010-07-19 Bastien Guerry <bzg@gnu.org>
23332 * org-exp.el: Comment regexp now matches documentation. No more
23333 protection check when deleting comments before export.
23335 2010-07-19 Bastien Guerry <bzg@gnu.org>
23337 * org-exp.el (org-export-preprocess-string):
23338 Now using `org-export-handle-include-files-recurse' to resolve
23341 2010-07-19 Bastien Guerry <bzg@gnu.org>
23343 * org-agenda.el (org-agenda-get-deadlines)
23344 (org-agenda-get-scheduled):
23345 * org.el (org-time-string-to-seconds):
23346 For deadline and scheduled agenda display ignore the cyclic repeater
23347 when calculating how many days late the task is. If you have a weekly
23348 task and miss the date the agenda view will show more than a week late
23349 now instead of resetting on the cyclic repeating date. This makes it
23350 much more obvious when you missed a repeating task after the repeater.
23352 2010-07-19 Bastien Guerry <bzg@gnu.org>
23354 * org-exp.el (org-export-mark-blockquote-verse-center):
23355 Consider environments that end at eob.
23357 2010-07-19 Mikael Fornius <mfo@abc.se>
23359 * org.el (org-raise-scripts): Do not fontify sub/superscripts of text
23360 with face `org-special-keyword'. Make property keys as :LAST_REPEAT:
23363 2010-07-19 Mikael Fornius <mfo@abc.se>
23365 * org.el (org-at-property-p): Use save-match-data macro instead of let.
23367 2010-07-19 Mikael Fornius <mfo@abc.se>
23369 * org.el (test): Remove unused test function.
23371 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23373 * org-exp-blocks.el (org-export-blocks-preprocess): Fix typo.
23375 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23377 * org-exp-blocks.el (org-export-blocks-postblock-hook):
23378 Add documentation to and turn into a defcustom.
23380 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
23382 * org-exp.el (org-get-file-contents): By un-setting prefix1 to ""
23383 instead of to nil we avoid errors when :prefix1 is defined, but
23386 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
23388 * org-latex.el (org-export-latex-preprocess): Environments coming
23389 from latex backend specific instructions (#+LaTeX) are already
23390 protected and won't be treated as normal environments.
23392 2010-07-19 Bastien Guerry <bzg@gnu.org>
23394 * org-timer.el (org-timer-set-timer): Fix typo in the docstring.
23396 2010-07-19 Bastien Guerry <bzg@gnu.org>
23398 * org-timer.el (org-timer-set-timer): Use a prefix argument.
23399 See the docstring of the function.
23401 2010-07-19 Bastien Guerry <bzg@gnu.org>
23403 * org-timer.el (org-timer-set-timer): Fix bug about canceling
23406 2010-07-19 David Maus <dmaus@ictsoc.de>
23408 * org-w3m.el (org-w3m-copy-for-org-mode)
23409 (org-w3m-get-next-link-start, org-w3m-get-prev-link-start):
23410 Get text property directly, not using macro `w3m-anchor'.
23412 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23414 * org.el (org-emph-re): Document the match groups.
23416 2010-07-19 Bernt Hansen <bernt@norang.ca>
23418 * org-clock.el (org-clock-in): Set `org-clock-clocking-in' to
23419 t before calling `org-clock-out', so that that function can
23420 know its call context.
23422 2010-07-19 Bastien Guerry <bzg@gnu.org>
23424 * org-timer.el (org-timer-default-timer): New variable.
23425 (org-timer-set-timer): Use the new variable. Also offer the
23426 possibility to replace the current timer by a new one.
23428 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23430 * org.el (org-kill-note-or-show-branches): Hide subtree before
23431 exposing the headings.
23433 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23435 * org.el (org-add-planning-info): Remove the empty line also
23436 if there is no whitespace at all in there.
23438 * org-table.el (org-table-align): Fix alignment of strings
23439 with invisible characters.
23441 2010-07-19 David Maus <dmaus@ictsoc.de>
23443 * org.el (org-refile-cache-get): Return empty list of targets
23444 when cache was cleared.
23445 (org-clone-subtree-with-time-shift): Maybe create ID property
23446 in cloned subtrees.
23447 (org-clone-delete-id): New customization variable.
23448 (org-clone-subtree-with-time-shift): Use customization
23449 variable `org-clone-delete-id'.
23450 (org-clone-subtree-with-time-shift): Remove empty property
23451 drawer in cloned subtrees.
23453 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23455 * org.el (org-refile-use-cache): New option.
23456 (org-refile-cache, org-refile-markers): New variable.
23457 (org-refile-marker, org-refile-cache-clear)
23458 (org-refile-cache-check-set, org-refile-cache-put)
23459 (org-refile-cache-get): New function.
23460 (org-get-refile-targets): Use the refile cache.
23462 * org-clock.el (org-clock-sum): Don't include running clock if
23463 the time block is wrong.
23465 2010-07-19 John Wiegley <jwiegley@gmail.com>
23467 * org-clock.el (org-clock-clock-in, org-clock-in):
23468 Add parameter `start-time'.
23469 (org-clock-resolve-clock): Add parameter `clock-out-time'.
23470 If set, and resolve-to is a past time, then the clock out
23471 event occurs at `clock-out-time' rather than at `resolve-to'.
23472 In this case, `resolve-to' becomes the clock in time.
23473 (org-clock-jump-to-current-clock): Create new global command
23474 to reveal the current clock.
23475 (org-clock-resolve): Add new commands g/G and j/J, and a
23476 help window describing all commands and their meaning.
23477 (org-clock-resolve-expert): New customization variable.
23478 (org-find-open-clocks): Fix a bug that caused discovered
23479 clocks not to match up with the currently active clock.
23480 (org-resolve-clocks): Change the argument
23481 `also-non-dangling-p' to `only-dangling-p', since due to a bug
23482 this was the default behavior all along.
23484 2010-07-19 David Maus <dmaus@ictsoc.de>
23486 * org-id.el (org-id-uuid): New function. Return string with
23487 random (version 4) UUID.
23488 (org-id-method): Make 'uuid the new default value.
23489 (org-id-new): Use `org-id-uuid' if call to uuidgen program
23490 does not return a UUID.
23492 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23494 * org-latex.el (org-export-latex-format-image): Add support
23495 for multicolumn figures in LaTeX.
23497 2010-07-19 David Maus <dmaus@ictsoc.de>
23499 * org.el (org-clone-subtree-with-time-shift): Remove ID
23500 property of original subtree in cloned subtrees.
23502 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23504 * org-exp.el (org-export-format-source-code-or-example):
23505 XEmacs compatibility.
23507 * org-latex.el (org-export-latex-tables): Accept comma in
23510 * org-docbook.el (org-export-docbook-xslt-stylesheet): New option.
23511 (org-export-docbook-xslt-proc-command): Fix docstring.
23512 (org-export-docbook-xsl-fo-proc-command): Fix docstring.
23513 (org-export-as-docbook-pdf):
23514 Improve formatting of the xslt command.
23516 * org-exp.el (org-infile-export-plist): Check for XSLT setting.
23518 * org.el (org-file-contents): Improve error message.
23519 (org-set-regexps-and-options): Remove spaces at both ends.
23521 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23523 * org-docbook.el (org-export-as-docbook-pdf):
23524 Improve formatting of the xslt command.
23526 2010-07-19 Sebastian Rose <sebastian_rose@gmx.de>
23528 * org-publish.el (org-publish-cache): Use one big hashmap for
23529 each project defined in `org-publish-project-alist'.
23530 (initialize-files-alist): Function removed.
23531 (org-publish-validate-link): Function removed.
23532 (org-publish-get-base-files): Add variable `sitemap-requested'
23533 to avoid sorting where possible.
23534 (org-publish-get-files): Function removed.
23535 (org-publish-get-project-from-filename): Make independent of
23537 (org-publish-file): New argument NO-CACHE.
23539 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23541 * org.el (org-beginning-of-defun, org-end-of-defun):
23543 (org-mode): Install the `org-beginning-of-defun' and
23544 `org-end-of-defun' functions.
23545 (org-pretty-entities): New option.
23546 (org-toggle-pretty-entities): New command.
23547 (org-fontify-entities): New function.
23548 (org-startup-options): New keywords for pretty entities.
23549 (org-set-font-lock-defaults): Call the pretty entities
23552 * org-latex.el (org-export-latex-keywords-maybe): Protect the
23555 2010-07-19 Mikael Fornius <mfo@abc.se>
23557 * org-habit.el (org-habit-build-graph): Help-echo date when
23558 mouse is over stars.
23560 2010-07-19 Jan Böcker <jan.boecker@jboecker.de>
23562 * org.el (org-file-apps): Improve docstring to reflect
23565 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23567 * org.el (org-set-startup-visibility): Fix empty line display.
23569 * org-latex.el (org-export-latex-links): Use the formatting
23570 function of the link type, if it is available.
23572 * org-table.el (org-table-get-remote-range): Return to
23573 original buffer when retrieving remote reference.
23575 * org.el (org-display-inline-images): Do the entire buffer,
23576 not just the narrowed region. Clear the cache.
23577 (org-display-inline-images): Match mode file paths.
23579 2010-07-19 David Maus <dmaus@ictsoc.de>
23581 * org-wl.el (org-wl-store-link-folder): Don't throw error when
23582 called on WL folder group.
23584 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23586 * org.el (org-replace-escapes): Make sure the cdr is not nil.
23587 (org-read-date): Make `M-v' and `C-v' scroll the popup calendar.
23588 (org-mode): Revert comment syntax changes.
23590 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23592 * org.el (org-sparse-tree): Make `C-c / t' search for all TODO
23593 keywords, and `C-c / T' for a specific one.
23595 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23597 * org.el (org-mode): Fix comment syntax settings.
23599 * org-src.el (org-edit-src-allow-write-back-p):
23602 * org.el (org-inline-image-overlays): New variable.
23603 (org-toggle-inline-images, org-display-inline-images)
23604 (org-remove-inline-images): New commands.
23605 (org-mode-map): Define a key for `org-toggle-inline-images'.
23607 2010-07-19 David Maus <dmaus@ictsoc.de>
23609 * org-wl.el (org-wl-message-field): New function.
23610 Return content of header field in message entity.
23611 (org-wl-store-link): Call `org-wl-store-link-folder' or
23612 `org-wl-store-link-message' depending on major-mode.
23613 (org-wl-store-link-folder): New function. Store link to
23615 (org-wl-store-link-message): New function. Store link to
23616 Wanderlust message.
23617 (org-wl-store-link-message): Store link to message while
23619 (org-wl-open): Don't try to jump to message when opening a
23622 2010-07-19 David Maus <dmaus@ictsoc.de>
23624 * org.el (org-replace-escapes): Avoid infinite loop when
23625 replace string contains escape sequence it replaces.
23627 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23629 * org-crypt.el (org-crypt-key-for-heading): Use symmetric
23630 encryption when now key is set.
23632 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23634 * org-table.el (org-table-recalculate-buffer-tables)
23635 (org-table-iterate-buffer-tables): New commands.
23637 * org.el (org-check-for-hidden): When there is a region, skip
23640 2010-07-19 Dan Davison <davison@stats.ox.ac.uk>
23642 * org-src.el (org-edit-src-code): allow-write-back-p had
23643 erroneously been omitted from let binding.
23645 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23647 * org-agenda.el (org-sorting-choice): New sorting type alpha.
23648 (org-cmp-alpha): New defsubst.
23649 (org-em): New defsubst.
23650 (org-entries-lessp): Only compute needed comparisons.
23652 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23654 * org-html.el (org-format-org-table-html): Test all columns
23655 for number content.
23657 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23659 * org-latex.el (org-export-latex-treat-sub-super-char):
23660 Make sure parenthesis matching is consistent.
23662 * org-table.el (org-table-colgroup-line-p)
23663 (org-table-cookie-line-p): New functions.
23665 * org-exp.el (org-table-clean-before-export): Better tests for
23666 colgroup and cookie lines.
23668 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23670 * org-agenda.el (org-agenda-goto): Push a mark before changing
23673 * org-footnote.el (org-footnote): New group.
23674 (org-footnote-section)
23675 (org-footnote-tag-for-non-org-mode-files): Fix typos.
23677 * org-list.el (org-end-of-item-text-before-children): Also do
23678 the right thing at the end of a file.
23680 * org.el (org-set-packages-alist, org-get-packages-alist):
23682 (org-export-latex-default-packages-alist)
23683 (org-export-latex-packages-alist): Add extra flag to
23684 each package, indicating if it should be used for snippets.
23685 (org-create-formula-image): Add the snippet argument.
23686 (org-splice-latex-header): New argument SNIPPET-P, pass it
23687 through to `org-latex-packages-to-string'.
23688 (org-latex-packages-to-string): New argument SNIPPET-P.
23690 * org-latex.el (org-export-latex-make-header): Add the snippet
23693 * org-docbook.el (org-export-as-docbook): Implement ordered
23694 lists starting at some offset.
23696 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23698 * org.el (org-link-types, org-open-at-point): Add doi links.
23700 * org-ascii.el (org-export-ascii-preprocess): Remove list
23701 startcounter cookies.
23703 * org-list.el (org-renumber-ordered-list): Respect counter
23706 * org-latex.el (org-export-latex-lists): Accept ordered list
23707 item offset cookie.
23709 * org-html.el (org-export-as-html): Accept ordered list
23710 item offset cookie.
23712 * org-indent.el (org-indent-mode): Turn off `indent-tabs-mode'
23713 which messes up alignment of tags.
23715 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23717 * org-clock.el (org-clock-cancel, org-clock-out): Make sure
23718 the modeline display is removed.
23720 * org-exp.el (org-export-format-drawer-function):
23723 * org-agenda.el (org-agenda-refile): New optional argument
23725 (org-agenda-refile): Call `org-agenda-redo' unless NO-UPDATE
23727 (org-agenda-bulk-action): Call the refile command with updates
23728 suppressed - but arrange for `org-agenda-redo' to be called at
23731 * org.el (org-mode): Make table mapping quiet.
23732 (org-table-map-tables): New optional argument QUIETLY.
23734 * org-ascii.el (org-export-ascii-preprocess): Make table
23737 * org-html.el (org-export-as-html, org-html-level-start):
23738 Change XHTML IDs to not use dots.
23740 * org-exp.el (org-export-define-heading-targets):
23741 Change XHTML IDs to not use dots.
23743 * org-docbook.el (org-export-docbook-level-start):
23744 Change XHTML IDs to not use dots.
23746 * org-latex.el (org-export-as-latex): Make sure that the
23747 result buffer is in latex-mode.
23749 * org.el (org-shiftup-final-hook, org-shiftdown-final-hook)
23750 (org-shiftleft-final-hook, org-shiftright-final-hook):
23753 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23755 * org-table.el (org-table-justify-field-maybe): Make sure that
23756 inserting a value does not turn a line into a hline.
23758 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23760 * org-clock.el (org-clock-sum): New argument HEADLINE-FILTER.
23761 (org-clock-sum): Add property to selected headlines.
23762 (org-dblock-write:clocktable): Make tags matcher.
23764 * org.el (org-set-autofill-regexps): XEmacs compatibility.
23766 * org-latex.el (org-export-latex-set-initial-vars): Allow "-"
23767 in latex class definitions.
23769 * org.el (org-shiftup-hook, org-shiftdown-hook)
23770 (org-shiftleft-hook, org-shiftright-hook): New hooks.
23772 * org-entities.el (org-entities): Use \land and \lor for logical
23775 * org.el (org-shiftmetaleft, org-shiftmetaright): Call the subtree
23776 indentation commands.
23777 (org-hidden-tree-error): New defsubst.
23778 (org-metaleft, org-metaright): Check for hidden stuff and throw an
23780 (org-check-for-hidden): New function.
23782 * org-list.el (org-item-re): New function.
23783 (org-at-item-p): Use `org-item-re'.
23784 (org-end-of-item-text-before-children): New function.
23785 (org-outdent-item, org-indent-item): Arrange for leaving the
23787 (org-outdent-item-tree, org-indent-item-tree): New argument
23789 (org-indent-item-tree): Use `org-end-of-item-text-before-children'
23790 to find the end for processing while ignoring the subtree.
23792 * org-publish.el (org-publish-sitemap-sort-alphabetically)
23793 (org-publish-sitemap-sort-folders)
23794 (org-publish-sitemap-sort-ignore-case): New options.
23796 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23798 * org-publish.el (org-publish-compare-directory-files): Fix sorting.
23800 * org-compat.el (org-get-x-clipboard-compat): Use (featurep 'xemacs).
23802 * org-publish.el (org-publish-project-alist): Update docstring.
23803 (org-publish-file-title-cache): New variable.
23804 (org-publish-initialize-files-alist):
23805 Initialize `org-publish-initialize-files-alist' to nil.
23806 (org-publish-sort-directory-files): New function.
23807 (org-publish-projects): Access the new properties.
23808 (org-publish-find-title): Use the file title cache.
23809 (org-publish-find-title): Build the file title cache.
23810 (org-publish-get-base-files-1): Sort files.
23811 (org-publish-aux-preprocess): Do not throw an error when before
23812 the first headline. Allow an empty target, meaning to link just
23814 (org-publish-index-generate-theindex.inc): Check if there is
23815 actually a target and only then add it to the link.
23816 (org-publish-projects): Fix a remaining issue with the last commit.
23818 * org-html.el (org-export-as-html): Treat verse as open/close
23820 (org-export-html-close-lists-maybe): Allow to splice raw HTML into
23823 2010-07-19 Dan Davison <davison@stats.ox.ac.uk>
23825 * org-src.el (org-edit-src-code): Allow the org-src edit buffer to
23826 be used in a read-only mode.
23827 (org-edit-src-code): Different message in read-only mode.
23829 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23831 * org-src.el (org-edit-src-find-region-and-lang): Test for
23832 table.el as late as possible.
23834 * org-colview.el: Make sure this file is never loaded into XEmacs.
23836 * org-agenda.el (org-highlight, org-unhighlight): Use direct
23839 * org.el (org-key): Apply the translations defined in
23840 `org-xemacs-key-equivalents'.
23842 * org-mouse.el (org-mode-hook): Use `org-defkey'.
23844 * org-compat.el (org-xemacs-key-equivalents): New constant.
23846 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23848 * org-inlinetask.el (org-inlinetask-defaut-state): New option.
23849 (org-inlinetask-insert-task): Use `org-inlinetask-defaut-state'.
23850 Obey `org-odd-levels-only'.
23852 * org-compat.el (org-find-overlays): Use overlays-in/at.
23854 * org.el (org-remove-empty-overlays-at)
23855 (org-outline-overlay-data, org-hide-block-toggle)
23856 (org-format-latex, org-context): Use overlays-in/at.
23858 * org-src.el (org-edit-src-exit): Use overlays-in/at.
23860 * org-agenda.el (org-agenda-mark-clocking-task)
23861 (org-agenda-fontify-priorities, org-agenda-dim-blocked-tasks)
23862 (org-agenda-entry-text-hide)
23863 (org-agenda-fix-tags-filter-overlays-at)
23864 (org-agenda-bulk-remove-overlays): Use overlays-in/at.
23866 * org-compat.el (org-overlays-at): Function removed.
23867 (org-overlays-in): Function removed.
23869 2010-07-19 Bastien Guerry <bzg@gnu.org>
23871 * org-clock.el (org-clock-set-current): Just return the headline
23872 itself, strip the TODO keyword, the priority cookie and the tags.
23874 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23876 * org-compat.el (org-xemacs-without-invisibility): New macro.
23877 (org-xemacs-without-invisibility): New macro.
23878 (org-indent-to-column, org-indent-line-to, org-move-to-column):
23879 Redefine using the macro `org-xemacs-without-invisibility'.
23881 * org.el (org-mode, org-org-menu): Use `add-to-invisibility-spec'.
23883 * org-table.el (orgtbl-mode): Use `add-to-invisibility-spec'.
23885 * org-compat.el (org-make-overlay, org-delete-overlay)
23886 (org-overlay-start, org-overlay-end, org-overlay-put)
23887 (org-overlay-get, org-overlay-move, org-overlay-buffer):
23889 (org-add-to-invisibility-spec): Function removed.
23891 * org-html.el (org-export-as-html-and-open): Add argument to
23894 * org-habit.el (require): `calendar' is now required already by
23895 org.el on top level.
23897 * org-clock.el (require): `calendar' is now required already by
23898 org.el on top level.
23900 * org-agenda.el (require, org-timeline, org-agenda-list)
23901 (org-todo-list, org-agenda-to-appt): `calendar' is now required
23902 already by org.el on top level.
23904 * org.el (org-export-latex-fix-inputenc): Declare function.
23906 * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
23909 * org.el (calendar): Require calendar now on top level in org.el
23910 and define aliases to new variables when needed.
23911 (org-read-date, org-goto-calendar): Do not bind obsolete
23914 * org-clock.el (org-clock-out, org-clock-cancel): Get rid of
23915 compilation warning, add comment that this cannot be done with
23916 `with-current-buffer'.
23918 * org-wl.el (org-wl-open): Use `with-current-buffer'.
23920 * org.el (overlay, org-remove-empty-overlays-at)
23921 (org-outline-overlay-data, org-set-outline-overlay-data)
23922 (org-show-block-all, org-hide-block-toggle)
23923 (org-highlight-new-match, org-remove-occur-highlights)
23924 (org-tags-overlay, org-fast-tag-selection, org-date-ovl)
23925 (org-read-date, org-read-date-display, org-eval-in-calendar)
23926 (org-format-latex, org-context)
23927 (org-speedbar-restriction-lock-overlay)
23928 (org-speedbar-set-agenda-restriction): Use the normal overlay API.
23930 * org-table.el (org-table-add-rectangle-overlay)
23931 (org-table-remove-rectangle-highlight)
23932 (org-table-overlay-coordinates)
23933 (org-table-toggle-coordinate-overlays): Use the normal overlay
23936 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
23937 (org-edit-src-exit, org-src-mode-configure-edit-buffer): Use the
23938 normal overlay API.
23940 * org-colview.el (org-columns-new-overlay)
23941 (org-columns-display-here, org-columns-remove-overlays)
23942 (org-columns-edit-value, org-columns-next-allowed-value)
23943 (org-columns-update): Use the normal overlay API.
23945 * org-clock.el (org-clock-out, org-clock-cancel)
23946 (org-clock-put-overlay, org-clock-remove-overlays): Use the normal
23949 * org-agenda.el (org-agenda-mark-filtered-text)
23950 (org-agenda-mark-clocking-task, org-agenda-fontify-priorities)
23951 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
23952 (org-agenda-entry-text-hide)
23953 (org-agenda-restriction-lock-overlay)
23954 (org-agenda-set-restriction-lock)
23955 (org-agenda-filter-by-tag-hide-line)
23956 (org-agenda-fix-tags-filter-overlays-at)
23957 (org-agenda-filter-by-tag-show-all, org-hl)
23958 (org-agenda-goto-calendar, org-agenda-bulk-mark)
23959 (org-agenda-bulk-remove-overlays): Use the normal overlay API.
23961 * org-freemind.el (org-freemind-from-org-mode-node)
23962 (org-freemind-from-org-mode)
23963 (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
23964 Use interactive-p instead of called-interactively, because this is
23965 backward compatible with older Emacsen I still support..
23967 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23969 * org-exp.el (org-export-define-heading-targets): Fix bug in
23970 regexp finding ID and CUSTOM_ID properties.
23972 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23974 * org-footnote.el (org-footnote-goto-previous-reference):
23975 Rename from `org-footnote-goto-next-reference'.
23977 * org.el (org-auto-repeat-maybe): Only record LAST_REPEAT if
23978 org-log-repeat is non-nil, or if there is clocking data in the
23981 * org-crypt.el (org-encrypt-entry): Improve mapping behavior.
23983 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
23985 * org.el (org-align-all-tags): New command.
23987 2010-07-19 David Maus <dmaus@ictsoc.de>
23989 * org-wl.el (org-wl-link-remove-filter): New customizable
23990 variable. If non-nil, filter conditions are stripped when storing
23991 link to message in filter folder.
23992 (org-wl-shimbun-prefer-web-links): New customizable variable.
23993 If non-nil, links to shimbun messages are created as web links to
23995 (org-wl-nntp-prefer-web-links): New customizable variable.
23996 If non-nil, links to nntp message are created as web links to gmane
23998 (org-wl-namazu-default-index): New customizable variable.
23999 Directory of namazu search index that should be used as default
24000 when opening a link in a search folder.
24001 (org-wl-folder-types): New constant. Wanderlust folder type
24003 (org-wl-folder-type): New function. Return type of Wanderlust
24005 (org-wl-store-link): Create web links for shimbun or nntp messages
24006 and strip filter conditions depending on customizable variables.
24007 (org-wl-open): Open namazu search folder for message when called
24010 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24012 * org.el (org-remove-if, org-remove-if-not): New functions.
24013 (org-open-file): Use internal remove-if functions.
24015 2010-07-19 Jan Böcker <jan.boecker@jboecker.de>
24017 * org.el (org-file-apps-entry-match-against-dlink-p): New function.
24018 (org-file-apps-ex): Remove variable.
24019 (org-open-file): Integrate org-file-apps-ex functionality back
24020 into org-file-apps, and decide whether to match a regexp against
24021 the link or the filename using org-file-apps-entry-uses-grouping-p.
24023 2010-07-19 Jan Böcker <jan.boecker@jboecker.de>
24025 * org.el (org-file-apps-ex): New variable.
24026 (org-open-file): Before considering org-file-apps, first match the
24027 regexps from org-file-apps-ex against the whole link.
24028 See docstring of org-file-apps-ex.
24030 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24032 * org.el (org-export-latex-default-packages-alist):
24033 Remove microtype package.
24034 (org-todo-repeat-to-state): New variable.
24035 (org-auto-repeat-maybe): Allow user-selected target states.
24036 (org-default-properties): Add the new property REPEAT_TO_STATE.
24038 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
24040 * org-mobile.el (org-mobile-check-setup): Make sure that there is
24041 a binary to compute checksums.
24043 2010-06-26 Carsten Dominik <carsten.dominik@gmail.com>
24045 * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
24048 * org.el (calendar): Require calendar now on top level in org.el
24049 and define aliases to new variables when needed.
24050 (org-read-date, org-goto-calendar): Do not bind obsolete
24053 2010-06-22 Glenn Morris <rgm@gnu.org>
24055 * org-entities.el: Add explicit utf-8 coding cookie to file with
24058 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
24060 * org.el (org-file-complete-link): Avoid (expand-file-name ".").
24062 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
24064 * Version 23.2 released.
24066 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24068 * org-table.el (orgtbl-setup):
24069 * org-agenda.el (org-agenda-entry-text-mode): Simplify.
24071 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24073 * org-table.el (orgtbl-mode): Use define-minor-mode.
24075 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24077 * org.el (org-insert-link): Find the link buffer on visible frames.
24078 (org-export-latex-default-packages-alist): Hyperref must be loaded
24080 (org-open-file): More care with the new matching for file links.
24082 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24084 * org-latex.el (org-export-latex-preprocess): Do not yet protect
24085 defined entities - these will be taken care of later.
24086 (org-export-latex-special-chars): Post-process entity replacement.
24087 (org-export-latex-fontify-headline): Do not yet protect defined
24088 entities - these will be taken care of later.
24089 (org-export-latex-tables, org-export-latex-links): Format the
24092 * org-entities.el (org-entities-user): Fix typo.
24094 * org.el (org-prepare-agenda-buffers): Uniquify TODO keywords.
24096 * org-entities.el (org-entities-user): Improve docstring.
24098 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24100 * org-entities.el (org-macs): Require org-macs, to be sure that we
24101 have `declare-function' defined.
24103 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24105 * org-latex.el (org-export-latex-classes): Update docstring.
24107 * org.el (org-format-latex-header): Add cookies to the header.
24108 (org-splice-latex-header): Implement placement according to cookies.
24110 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24112 * org-publish.el (org-publish-aux-preprocess): Control case
24115 2010-04-10 Bastien Guerry <bzg@gnu.org>
24117 * org.el (org-splice-latex-header): Fix typo.
24119 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24121 * org-latex.el (org-export-latex-make-header):
24122 Use `org-splice-latex-header' to build the header.
24123 (org-export-latex-classes): Update docstring.
24125 * org.el (org-splice-latex-header): New function.
24126 (org-create-formula-image): Use `org-splice-latex-header' to build
24129 * org-gnus.el (org-gnus-follow-link): Handle nndoc backend.
24131 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24133 * org.el (org-export-latex-packages-alist)
24134 (org-export-latex-default-packages-alist): Fix docstring to
24135 reflect the expected structure.
24137 * org-docbook.el (org-docbook-do-expand): Fix bug with variable names.
24138 (org-export-docbook-finalize-table): Make use of label for tables.
24140 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24142 * org-attach.el (org-attach-commit): Split on newlines.
24144 * org.el (org-export-latex-default-packages-alist): Use list
24145 instead of cons for the entries.
24147 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24149 * org-entities.el (org-entity-get-representation): Catch the case
24150 that there is not entry in the list.
24152 * org-mobile.el (org-mobile-use-encryption)
24153 (org-mobile-encryption-tempfile, org-mobile-encryption-password):
24155 (org-mobile-check-setup): CHeck the encryption setup.
24156 (org-mobile-copy-agenda-files, org-mobile-sumo-agenda-command)
24157 (org-mobile-create-sumo-agenda): Use encryption code.
24158 (org-mobile-encrypt-and-move): New function.
24159 (org-mobile-encrypt-file, org-mobile-decrypt-file):
24161 (org-mobile-move-capture): Decrypt the capture file.
24163 * org.el (org-entities): Require the new file.
24164 (org-export-latex-default-packages-alist): New variable.
24165 (org-complete): Use new entity code for completion.
24166 (org-create-formula-image): Use the new packages variable.
24168 * org-latex.el (org-export-latex-classes): Remove the standard
24169 packages from the class headers.
24170 (org-export-latex-make-header): Use the new package variable.
24171 (org-export-latex-special-chars): Better regexp for entities, to
24172 support entity name that contain numbers.
24173 (org-export-latex-treat-backslash-char): Use the new entity code.
24175 * org-html.el (org-html-do-expand): Use the new entity code.
24177 * org-exp.el (org-export): Add the new export commands.
24178 (org-html-entities): Constant removed.
24179 (org-export-visible): Add the new export commands.
24181 * org-docbook.el (org-docbook-do-expand): Use new entity code.
24183 * org-ascii.el (org-export-ascii-entities): New variable.
24184 (org-export-as-latin1, org-export-as-latin1-to-buffer)
24185 (org-export-as-utf8, org-export-as-utf8-to-buffer): New commands.
24186 (org-export-as-encoding): New function.
24187 (org-export-ascii-preprocess): Call `org-ascii-replace-entities'.
24188 (org-ascii-replace-entities): New function.
24190 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24191 Ulf Stegemann <ulf@zeitform.de>
24193 * org-entities.el: New file.
24195 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24197 * org-html.el (org-html-level-start): Catch the case that target
24200 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
24202 * org.el (org-appearance): Change Customize group variable name
24203 from org-font-lock to org-appearance, and change tag from "Org
24204 Font Lock" to "Org Appearance".
24205 (org-odd-levels-only): Change Customize group variable name.
24206 (org-level-color-stars-only): Change Customize group variable name.
24207 (org-hide-leading-stars): Change Customize group variable name.
24208 (org-hidden-keywords): Change Customize group variable name.
24209 (org-fontify-done-headline): Change Customize group variable name.
24210 (org-fontify-emphasized-text): Change Customize group variable name.
24211 (org-fontify-whole-heading-line): Change Customize group variable name.
24212 (org-highlight-latex-fragments-and-specials): Change Customize
24213 group variable name.
24214 (org-hide-emphasis-markers): Change Customize group variable name.
24215 (org-emphasis-alist): Change Customize group variable name.
24216 (org-emphasis-regexp-components): Change Customize group variable
24218 (org-modules): Remove mention of org-R.
24220 * org-faces.el (org-faces): Change Customize group variable name.
24222 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24224 * org-agenda.el (org-diary-last-run-time): New variable.
24225 (org-diary): Prepare agenda buffers only if last call was some
24228 * org-html.el (org-export-html-preprocess): Replace \ref macros
24230 (org-format-org-table-html): Add the label as an anchor.
24232 * org-docbook.el (org-export-docbook-format-image): Do some
24233 formatting on captions.
24235 * org-latex.el (org-export-latex-tables, org-export-latex-links):
24236 Do some formatting on captions.
24238 * org-html.el (org-export-html-format-image)
24239 (org-format-org-table-html): Do some formatting on captions.
24241 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
24243 * org.el (org-hidden-keywords): New customizable variable. This is
24244 a list of symbols specifying which of the special keywords #+DATE,
24245 #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock.
24246 (org-fontify-meta-lines-and-blocks): Changes to font-lock code
24247 implementing new faces and hiding behavior.
24249 * org-faces.el (org-document-title): New face for #+TITLE lines.
24250 (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines.
24251 (org-document-info-keyword): New face for #+DATE, #+AUTHOR, #+EMAIL
24254 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24256 * org-publish.el (org-publish-sanitize-plist): New function to
24257 rename "index" properties to "sitemap". Do this renaming
24259 (org-publish-with-aux-preprocess-maybe): New macro.
24260 (org-publish-org-to-pdf, org-publish-org-to-html): Use the new
24262 (org-publish-aux-preprocess)
24263 (org-publish-index-generate-theindex.inc): New function.
24265 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24267 * org-table.el (org-table-align): Interpret <N> at fixed width,
24268 not as maximum width.
24270 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24272 * org-exp.el (org-export-author-info, org-export-email-info):
24275 * org-beamer.el (org-beamer-select-environment): Rename from
24276 `org-beamer-set-environment-tag'. Improve docstring.
24278 * org-freemind.el (org-freemind-write-mm-buffer): Fix another
24279 problem with odd levels.
24281 * org-ascii.el (org-export-as-ascii): Export email only if the
24284 * org-docbook.el (org-export-as-docbook): Export email only if the
24287 * org-html.el (org-export-as-html): Export email only if the
24290 * org-exp.el (org-export-email-info): New option.
24291 (org-export-plist-vars): Add entry for `org-export-email'.
24293 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24295 * org-table.el (org-table-goto-line): Fix typo.
24297 2010-04-10 Mikael Fornius <mfo@abc.se>
24299 * org.el (org-agenda-files): Typo.
24300 (org-read-agenda-file-list): Add optional argument to help
24301 `org-store-new-agenda-file-list' to remember un-expanded file
24302 names. Expand file names relative to `org-directory'.
24303 (org-store-new-agenda-file-list): Keep un-expanded file names when
24304 saving, if available.
24305 (org-agenda-files): Update documentation.
24307 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24309 * org-ascii.el (org-export-as-ascii): Catch the case of exporting
24310 a buffer with no file name attached.
24312 * org.el (org-log-refile): New option.
24313 (org-log-note-headings): Add a heading for refiling.
24314 (org-startup-options): Add keywords for logging of the refile
24316 (org-refile): Add logging action.
24317 (org-add-log-note): Allow for refiling action.
24319 * org-agenda.el (org-agenda-bulk-action): Make sure
24320 `org-log-refile' is not `note' during a bulk action.
24322 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24324 * org.el (org-map-dblocks): Use save-excursion to remember the
24327 * org-attach.el (org-attach-commit): Remove dependence on xargs.
24328 (org-attach-delete-one): Commit after deleting a file.
24330 * org-latex.el (org-export-latex-fontify): Do not mistake table.el
24331 borders for strike-through emphasis.
24333 * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
24334 handling of odd levels.
24336 * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
24337 and `future' values.
24338 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
24339 Handle `past' and `future' values.
24341 * org.el (org-read-agenda-file-list): Interpret file names
24342 relative to org-directory and allow environment variables and
24345 * org-latex.el (org-export-latex-special-chars): Allow a
24346 parenthesis before an exponent or subscript.
24348 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
24350 * org-src.el (org-edit-src-exit): When returning from code edit
24351 buffer, if code block is hidden, leave point at start of
24354 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24356 * org.el (org-insert-heading): Do not remove all spaces if the
24359 * org-indent.el (org-indent): Fix group name.
24361 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24363 * org-table.el (org-table-goto-column): Fix forcing a non-existing
24365 (org-table-get, org-table-put, org-table-goto-line)
24366 (org-table-current-line): New functions.
24368 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
24370 * org.el (org-open-file): Allow regular expressions in
24371 org-file-apps to capture link parameters using groups. In a
24372 command string to be executed, the parameters can be referenced
24373 using %1, %2, etc. Lisp forms can access them using
24374 (match-string n link).
24375 (org-apps-regexp-alist): Adopt the created regexp, as this is now
24376 matched against a file: link instead of the file name.
24378 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24380 * org-crypt.el (org-reveal-start-hook): Add a decryption function
24382 (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry):
24385 * org.el (org-point-at-end-of-empty-headline)
24386 (org-level-increment, org-get-previous-line-level): New function.
24387 (org-cycle-level): Rewritten to be independent of when this
24388 function is called.
24389 (org-in-regexps-block-p): New function.
24390 (org-reveal-start-hook): New hook.
24391 (org-reveal): Run new hook.
24393 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24395 * org-latex.el (org-export-latex-keywords): Start a new paragraph
24396 after time keywords, do not add "\newline".
24398 * org-html.el (org-export-as-html): Avoid double # in href.
24400 * org.el (org-refile-get-location): Catch an invalid target
24403 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24405 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
24406 Make sure the behavior regarding to extracting time is
24409 2010-04-10 Stephen Eglen <stephen@gnu.org>
24411 * org-agenda.el (org-agenda-insert-diary-extract-time):
24413 (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
24414 variable rather than `org-agenda-search-headline-for-time'.
24416 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24418 * org-list.el (org-fix-bullet-type): Improve cursor positioning.
24420 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24422 * org.el (org-adaptive-fill-regexp-backup): New variable.
24423 (org-set-autofill-regexps): Store a backup of
24424 `adaptive-fill-regexp'.
24425 (org-adaptive-fill-function): Fix filling of comments and ordered
24426 lists. If there is no other match, till try adaptive fill.
24428 2010-04-10 John Wiegley <jwiegley@gmail.com>
24430 * org-agenda.el (org-agenda-include-deadlines): Add new
24431 customization variable to determine whether unscheduled tasks
24432 should appear in the agenda solely because of their deadline.
24433 Default to true, which was the previous behavior (it just wasn't
24435 (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
24436 the agenda to show/hide deadline tasks.
24437 (org-agenda-menu): Add menu option for show/hide deadlines.
24438 (org-agenda-list): Make the agenda list sensitive to the value of
24439 `org-agenda-include-deadlines'.
24440 (org-agenda-toggle-deadlines): New function to toggle the value of
24441 `org-agenda-include-deadlines' and repaint the modeline
24443 (org-agenda-set-mode-name): Show "Deadlines" in the agenda
24444 modeline if deadline tasks are being displayed.
24446 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24448 * org-table.el (org-table-eval-formula): Replace $# and @# by
24449 current column and row number.
24451 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24453 * org.el (org-set-property, org-delete-property): Go back to
24454 prompting for the property.
24456 * org-latex.el (org-export-latex-make-header): Fully process
24458 (org-export-latex-fontify-headline): Allow several arguments, not
24460 (org-export-latex-fix-inputenc): Catch the error when
24461 `latexenc-coding-system-to-inputenc' is not defined.
24463 * org-agenda.el (org-agenda-skip-if-todo): New function.
24464 (org-agenda-skip-if): Add conditions for TODO keywords.
24465 (org-agenda-skip-if): Document the new todo conditions.
24467 2010-04-10 Mikael Fornius <mfo@abc.se>
24469 * org.el (org-at-property-p): Check if we are inside a property
24470 drawer not just any drawer.
24471 (org-set-property, org-delete-property): When cursor is on a
24472 property key value pair do not prompt for property name instead
24473 use name at cursor.
24474 (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
24475 on the first line of a property drawer.
24476 (org-property-end-re): Spell check.
24478 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24480 * org-exp.el (org-export-attach-captions-and-attributes): Add the
24481 properties to the entire table, in case the first line is
24484 * org-archive.el (org-archive-reversed-order): New option.
24485 (org-archive-subtree, org-archive-to-archive-sibling): Use the new
24486 option `org-archive-reversed-order'.
24488 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24490 * org-agenda.el (org-agenda-entry-types): New variable.
24491 (org-agenda-list): Use `org-agenda-entry-types'.
24492 (org-agenda-custom-commands-local-options): Support for setting
24493 `org-agenda-entry-types' as an option.
24494 (org-diary): Shift some documentation from here to the variable
24495 `org-agenda-entry-types'.
24497 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24499 * org-latex.el (org-export-latex-make-header): Apply macros in
24502 * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
24503 (org-clock-select-task, org-clock-notify-once-if-expired)
24504 (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
24505 (org-clock-out-if-current, org-clock-save): Use the new functions.
24507 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24509 * org-docbook.el (org-export-as-docbook): Remove unnecessary
24511 (org-export-as-docbook): Remove unnecessary newline.
24512 (org-export-as-docbook): Fix problem with double footnote
24513 reference in one place.
24515 * org-exp.el (org-export-format-source-code-or-example):
24516 Remove unnecessary newline.
24518 * org.el (org-deadline, org-schedule): Allow rescheduling entries
24521 * org-table.el (org-table-convert-refs-to-rc): Better way to catch
24522 function calls that look like references.
24524 * org.el (org-open-at-point): Get link abbreviations from
24527 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24529 * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
24532 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24534 * org.el (org-link-unescape): Solve issue with lower-case escapes.
24536 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24538 * org-latex.el (org-export-latex-classes):
24539 Add \usepackage{latexsym} to all classes.
24541 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24543 * org-html.el (org-export-as-html): Do not allow protected lines
24544 into the table of contents.
24546 * org-latex.el (org-export-latex-special-chars): Find subsequent
24547 occurrences of special characters.
24548 (org-export-latex-tables): Do not convert table-like stuff that is
24551 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24553 * org-list.el (org-toggle-checkbox): No errors when updating
24554 checkbox count fails because there is no heading.
24556 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24558 * org-clock.el (org-clock-report-include-clocking-task):
24560 (org-clock-sum): Add the current clocking task.
24562 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24564 * org.el (org-cycle): Print a message when in a table.el table.
24565 (org-edit-special): Recognize the table.el context.
24566 (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
24568 * org-src.el (org-at-table.el-p): Declare.
24569 (org-edit-src-code): Handle a special case for table.el editing.
24570 (org-edit-src-find-region-and-lang): Recognize the table.el
24573 * org-latex.el (org-export-latex-tables): Convert table.el
24575 (org-export-latex-convert-table.el-table): New function.
24577 * org-html.el (org-html-expand): Fix table.el export.
24579 * org-latex.el (org-export-latex-preprocess): Protect footnotes in
24582 * org-id.el (org-id-find-id-file): Fix bug when there is no hash
24583 table for the id locations.
24585 * org.el (org-read-date-analyze): Match American-style dates, like
24586 5/30 or 5/13/7. Make sure cal-iso.el is loaded. Don't force he
24587 current year when reading ISO and American dates.
24589 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24591 * org.el (org-face-from-face-or-color): New function.
24592 (org-get-todo-face, org-font-lock-add-priority-faces)
24593 (org-get-tag-face): Use `org-face-from-face-or-color'.
24595 * org-faces.el (org-todo-keyword-faces, org-priority-faces):
24596 Allow simple colors as values.
24597 (org-faces-easy-properties): New option.
24599 * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
24600 restricted, as an agenda mode.
24601 (org-agenda-fontify-priorities): Allow simple colors as values.
24603 2010-04-10 Bastien Guerry <bzg@gnu.org>
24605 * org-timer.el (org-timer-current-timer): Rename from
24606 `org-timer-last-timer'.
24607 (org-timer-timer1, org-timer-timer2, org-timer-timer3): Remove.
24608 (org-timer-cancel-timer, org-timer-show-remaining-time)
24609 (org-timer-set-timer): Update to use only one timer.
24611 * org.el (org-set-property): Remove useless space in the prompt.
24613 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24615 * org-html.el (org-export-html-style-default): Add a default style
24618 * org-exp.el (org-export-format-source-code-or-example):
24621 2010-04-10 Bastien Guerry <bzg@gnu.org>
24623 * org-clock.el (org-clock-current-task): New variable to store
24624 last clocked in task.
24625 (org-clock-set-current, org-clock-delete-current): New functions.
24627 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24629 * org-remember.el (org-remember-apply-template): Extend comment.
24630 (org-remember-handler): Implement clock sibling filing.
24632 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24634 * org-publish.el (org-publish-all, org-publish-current-file)
24635 (org-publish-current-project): When called with prefix argument
24636 FORCE, also rebuild the validation file list.
24638 * org-latex.el (org-export-latex-preprocess): Protect footnotes in
24641 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24643 * org-html.el (org-export-as-html-and-open): Kill product buffer
24644 if the user wants that.
24646 * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
24647 if the user wants that.
24649 * org-exp.el (org-export-kill-product-buffer-when-displayed):
24652 * org-agenda.el (org-batch-agenda-csv): Use the time property
24653 instead of the `time-of-day' property.
24655 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24657 * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
24658 (org-timer-pause-hook, org-timer-set-hook)
24659 (org-timer-cancel-hook): New hooks.
24660 (org-timer-start): Run `org-timer-start-hook'.
24661 (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
24662 (org-timer-stop): Run `org-timer-stop-hook'.
24663 (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
24665 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24667 * org.el (org-reveal): Double prefix arg shows the subtree of the
24670 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24672 * org-agenda.el (org-search-view): Fix bug with searching full
24673 words in headlines in search view.
24674 (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
24675 (org-agenda-get-deadlines): Suppress pre-warning if the entry is
24676 scheduled (if the user configures it so.
24678 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24680 * org.el (org-hide-archived-subtrees): Don't jump to end of
24681 subtree if the match was not in a headline.
24682 (org-inside-latex-macro-p): Allow more complex arguments.
24683 (org-emphasize): Protect against use at end of buffer.
24685 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24687 * org-agenda.el (org-agenda-align-tags): Avoid side effects on
24690 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24692 * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
24694 (org-agenda-todo-ignore-scheduled)
24695 (org-agenda-todo-ignore-deadlines): More control with different
24697 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
24698 Honor the new option settings.
24700 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24702 * org.el (org-get-location): Make sure the selection buffer is
24703 shown in the current frame.
24705 * org-ascii.el (org-export-ascii-table-widen-columns):
24707 (org-export-ascii-preprocess): Realign tables to remove narrowing
24708 if `org-export-ascii-table-widen-columns' is set.
24710 * org-table.el (org-table-do-narrow): New variable.
24711 (org-table-align): Narrow only if `org-table-do-narrow' is t.
24713 * org.el (org-deadline, org-schedule): Allow updating if the
24714 relevant time stamp does not have a repeater, i.e. do not require
24715 that no time stamp has a repeater.
24717 * org-agenda.el (org-agenda-align-tags): Don't add a face to the
24718 new white space before the tags.
24720 * org-latex.el (org-export-as-latex): Do nit require the buffer to
24721 be visiting a file when only exporting to a buffer or string.
24722 (org-export-latex-fix-inputenc): Only save the buffer is there is
24723 a file name attached to it.
24725 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
24727 * org-src.el (org-edit-src-exit): Widen before exiting edit buffers.
24729 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24731 * org.el (org-fontify-meta-lines-and-blocks):
24732 Honor `org-fontify-quote-and-verse-blocks'.
24734 * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
24736 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24738 * org.el (org-open-at-point): Also check for text property
24739 org-linked-text before offering collected links.
24741 2010-04-10 Stephen Eglen <stephen@gnu.org>
24743 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
24744 Optionally extract time specification from text and add to the
24747 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24749 * org-exp.el (org-html-entities): Fix typo.
24751 * org-latex.el (org-export-latex-make-header): Use \providecommand
24752 to make sure the \alert macro is defined.
24754 * org.el (org-format-latex-signal-error)
24755 (org-create-formula-image): Use `org-format-latex-signal-error'.
24757 2010-04-10 Stephen Eglen <stephen@gnu.org>
24759 * org.el (org-store-link): For dired buffers, use
24760 default-directory as link name if dired-get-filename returns
24763 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24765 * org-exp.el (org-export-concatenate-multiline-links): The for
24766 protectedness at beginning of match.
24768 * org-latex.el (org-export-latex-fix-inputenc): Never leave the
24769 AUTO as a coding system, instead default to utf8.
24771 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24773 * org.el (org-block-todo-from-children-or-siblings-or-parent)
24774 (org-block-todo-from-checkboxes): Respect the local variable
24775 value when deciding if blocking should be active.
24777 * org-latex.el (org-export-latex-make-header): Define the align
24778 macro if it is not yet defined.
24780 * org-agenda.el (org-agenda-insert-diary-make-new-entry):
24781 Call `org-insert-heading' with the INVISIBLE-OK argument.
24783 * org-mac-message.el (org-mac-message-insert-flagged):
24784 Call `org-insert-heading' with the INVISIBLE-OK argument.
24786 * org.el (org-insert-heading): New argument INVISIBLE-OK.
24788 * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
24791 * org-html.el (org-html-level-start): Use the
24792 `html-container-class' text property to set an additional class
24793 for an outline container.
24795 * org-exp.el (org-export-remember-html-container-classes):
24797 (org-export-preprocess-string):
24798 Call `org-export-remember-html-container-classes'.
24800 * org.el (org-cycle): Mention level cycling in the docstring.
24801 (org-default-properties): Add new property HTML_CONTAINER_CLASS.
24803 * org-remember.el (org-remember-apply-template): Do file insertion
24806 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24808 * org-habit.el (org-habit-insert-consistency-graphs): Fix a
24809 problem with mis-aligned graphs when showing habits.
24811 2010-04-10 Mikael Fornius <mfo@abc.se>
24813 * org.el (org-assign-fast-keys): Prefer keys used in keyword name
24814 when assigning. Begin using numerical characters when all in name
24815 is used up. This is to spare alphanumeric characters for better
24816 match with other keywords.
24818 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24820 * org-exp.el (org-export-preprocess-hook): Improve documentation.
24822 * org-latex.el (org-export-latex-preprocess): More consistent
24823 conversion and protection of the words LaTeX and TeX.
24824 (org-export-latex-fontify-headline, org-export-latex-preprocess):
24825 Allow angle brackets in commands, for beamer.
24827 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24829 * org-clock.el (org-clock-in): Improve the look of the clock line
24830 by formatting links.
24832 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24834 * org-latex.el (org-export-latex-classes): Use AUTO as the place
24835 holder string for the coding system. And improve the
24837 (org-export-latex-fix-inputenc): Only modify the coding system if
24838 it is given by the placeholder AUTO.
24840 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24842 * org-clock.el (org-task-overrun-text): New option.
24843 (org-task-overrun, org-clock-update-period): New variables.
24844 (org-clock-get-clock-string, org-clock-update-mode-line):
24845 Mark overrun clock.
24846 (org-clock-notify-once-if-expired): Check if clock is overrun.
24848 * org-faces.el: New face `org-mode-line-clock-overrun'.
24850 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
24852 * org.el (org-narrow-to-subtree): Position the end of the narrowed
24853 region before the line with the next heading, to prevent the user
24854 from prepending text to the next headline.
24856 2010-04-10 Stephen Eglen <stephen@gnu.org>
24858 * org-agenda.el (org-get-time-of-day):
24859 Use org-agenda-time-leading-zero to allow leading zero (rather than
24862 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24864 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
24865 org-datetree.el is loaded.
24867 * org-datetree.el: Autoload `org-datetree-find-day-create'.
24869 * org-latex.el (org-export-latex-hyperref-format): New option.
24870 (org-export-latex-links): Use `org-export-latex-hyperref-format'.
24872 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24874 * org-ctags.el (org-ctags-enable): Change order of functions.
24875 (org-ctags-create-tags): Add wildcard to file name expansion.
24877 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24879 * org.el (org-entry-properties): Fix some important bugs.
24881 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24883 * org.el (org-link-unescape, org-link-escape): Only use hexlify if
24884 the table is not explicitly given.
24886 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24888 * org-clock.el (org-clock-out-when-done): Allow a list of keywords
24890 (org-clock-out-if-current): Work with the new list value of
24891 `org-clock-out-when-done'.
24892 (org-clock-out, org-clock-out-if-current): Avoid circular logic
24893 between clocking out and state changes.
24895 * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
24897 * org-latex.el (org-export-latex-treat-backslash-char): Do not by
24898 accident protect a character that is before a backslash.
24900 2010-04-10 Paul Sexton <eeeickythump@gmail.com>
24902 * org-ctags.el: New file.
24904 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24906 * org-agenda.el (org-diary-class):
24907 Use `org-order-calendar-date-args'.
24909 * org.el (org-order-calendar-date-args): New function.
24911 * org-exp.el (org-export-target-internal-links): Check for
24912 protectedness after the first bracket.
24914 * org.el (org-entry-properties): Don't match wrong-case TODO
24917 * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
24918 Document that ARG is passed through to remove the date.
24919 (org-agenda-bulk-action): Accept prefix arg and pass it on.
24920 Do not read a date when the user has given a `C-u' prefix.
24922 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24924 * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
24927 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24929 * org-latex.el (org-export-latex-fix-inputenc): New function.
24930 (org-export-latex-inputenc-alist): New option.
24932 * org-exp.el (org-export): New key SPC to publish enclosing
24935 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24937 * org-indent.el (org-indent-add-properties): Catch case when there
24938 is no headline in the buffer.
24940 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24942 * org-exp.el (org-html-entities): Add checkmark symbol.
24944 * org-ascii.el (org-export-ascii-preprocess): Protect targets in
24945 verbatim code for ASCII export.
24947 * org.el (org-update-statistics-cookies): Also see checkboxes in
24950 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24952 * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
24955 * org-beamer.el (org-beamer-amend-header): Change the location
24956 where `org-beamer-header-extra' is inserted.
24958 * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
24959 just for computing this regexp.
24961 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24963 * org-beamer.el (org-beamer-frame-default-options): New option.
24964 (org-beamer-sectioning): Use default options if the user does not
24966 (org-beamer-fix-toc): Put a frame around the table of contents.
24968 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
24969 Make sure case-folding works well when processing comment stuff.
24971 * org-latex.el (org-export-latex-after-save-hook): New hook.
24972 (org-export-as-latex): Run the new hook.
24974 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
24976 * org-beamer.el (org-beamer-environments-default): Add the note
24978 (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
24979 lines and collect and combine the content.
24980 (org-beamer-after-initial-vars): Check for note tags and make sure
24981 they will be seen like a property.
24983 * org.el (org-offer-links-in-entry): Fix bug when there is a
24986 * org-exp.el (org-export): Make sure the mark is activated, also
24987 when `transient-mark-mode' is off.
24989 * org-agenda.el (org-agenda-search-view-always-boolean): New option.
24990 (org-agenda-search-view-search-words-only): Obsolete variable, is
24991 now an alias for `org-agenda-search-view-always-boolean'.
24992 (org-agenda-search-view-force-full-words): New option.
24993 (org-search-view): Improve docstring, and implement a better logic
24994 for Boolean and phrase searches.
24995 (org-agenda-last-search-view-search-was-boolean): New variable.
24996 (org-agenda-manipulate-query): Consider the type of the last
24997 search when modifying the search string.
24999 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25001 * org-latex.el (org-export-as-latex): Do the first letbind in the
25004 * org-agenda.el (org-get-entries-from-diary): Add the new face to
25007 * org-faces.el (org-agenda-diary): New face.
25009 * org.el (org-make-link-regexps): Allow regexp-special characters
25011 (org-open-file): When in-emacs is `system', also force system
25012 opening, like when the value was `(16)'.
25013 (org-update-statistics-cookies): Handle entries without children.
25016 (org-export-preprocess-before-normalizing-links-hook): New hook.
25017 (org-export-preprocess-string): Run the new hook.
25019 * org.el (org-offer-links-in-entry): Make RET open all links.
25021 * org-html.el (org-export-as-html): Remove any leftover display
25022 properties in the html file.
25024 * org-wl.el (org-wl-store-link): Work-around for format bug with
25027 * org-habit.el (org-habit-insert-consistency-graphs): Turn off
25028 invisibility while adding the graphs.
25030 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25032 * org-remember.el (org-select-remember-template): Use C letter to
25033 customize remember templates.
25035 * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
25036 Move cursor to next visible line.
25038 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25040 * org-beamer.el (org-beamer-sectioning): Leave columns environment
25041 by specifying 0 or 1 for column width.
25042 (org-beamer-column-widths): Make 0 stand for 0.0.
25044 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25046 * org-exp.el (org-export-mark-radio-links): Don't match inside
25049 * org.el (org-format-latex-header-extra): New variable.
25050 (org-format-latex): Set org-format-latex-header-extra from
25052 (org-format-latex): Add org-format-latex-header-extra to the
25053 variables on which image creation depends.
25054 (org-create-formula-image): Add the header stuff from in-buffer
25056 (org-read-date-analyze): Base the analysis for future preference
25057 on NOW, not on the default date.
25059 * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
25060 for TODO keyword in inline tasks.
25062 * org.el (org-log-note-headings): New headings for removing
25063 deadline or scheduling date.
25064 (org-deadline, org-schedule): Arrange for logging when removing a
25066 (org-add-log-note): Handle deadline and scheduling removal.
25068 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25070 * org-exp.el (org-export-visible): Add LaTeX/pdf export.
25072 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25074 * org-agenda.el (org-diary-class): New function.
25076 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25078 * org-latex.el (org-export-latex-preprocess): Do process the text
25081 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25083 * org.el (org-entry-properties): Add TIMESTAMP properties back
25086 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25088 * org.el (org-all-time-keywords): New variable.
25089 (org-set-regexps-and-options): Set `org-all-time-keywords'.
25090 (org-entry-blocked-p): New function.
25091 (org-special-properties): Add BLOCKED as a new special property.
25092 (org-entry-properties): New optional argument SPECIFIC, only parse
25093 for this property when it is specified.
25094 (org-entry-get): Pass a SPECIFIC argument to
25095 `org-entry-properties'.
25097 * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
25099 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25101 * org-latex.el (org-export-latex-tables): No forced line end if
25102 there is no caption.
25104 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25106 * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
25109 * org-latex.el (org-export-latex-tables): Only add a caption when
25110 macro is in longtable environments if one has been defined.
25112 * org-html.el (org-export-as-html): Only take title from buffer if
25113 not exporting body-only.
25115 * org-latex.el (org-export-latex-preprocess): Better version of
25116 the regular expression for protecting LaTeX macros.
25117 (org-export-latex-preprocess): Start searching for macros to
25118 protect from beginning of buffer.
25120 * org-exp.el (org-export-target-internal-links): Check for
25121 protectedness earlier in the string.
25123 * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
25126 * org-id.el (org-id-store-link): Match TODO keywords case
25129 * org.el (org-heading-components, org-get-outline-path)
25130 (org-display-outline-path): Match TODO keywords case sensitively.
25132 * org-latex.el (org-export-as-latex): Ignore read-only
25135 * org-exp.el (org-export-preprocess-string): Remove any
25136 `read-only' properties.
25138 * org-agenda.el (org-agenda-inactive-leader): New option.
25139 (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
25140 (org-tags-view): Prompt for matcher if MATCH is an empty string.
25141 (org-todo-list): Prompt for matcher if ARG is an empty string.
25143 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25145 * org.el (org-open-link-functions): New hook.
25146 (org-open-at-point): Run `org-open-link-functions'.
25148 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25150 * org-agenda.el (org-agenda-date-prompt): Allow inactive time
25153 * org.el (org-inhibit-startup-visibility-stuff): New variable.
25154 (org-mode): Don't do startup visibility if inhibited.
25155 (org-outline-overlay-data, org-set-outline-overlay-data):
25157 (org-save-outline-visibility): New macro.
25158 (org-log-note-headings): Document that one should not change the
25159 `state' note format.
25161 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25163 * org.el (org-make-link-regexps): Capture link path into a group.
25165 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25167 * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
25170 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25172 * org.el (org-startup-with-beamer-mode): New option.
25173 (org-property-changed-functions)
25174 (org-property-allowed-value-functions): New hooks.
25175 (org-entry-put, org-property-get-allowed-values): Run the new
25177 (org-property-next-allowed-value): Run the new hooks.
25179 * org-exp.el (org-export-select-backend-specific-text): Add the
25180 special beamer tags.
25182 * org-beamer.el: New file.
25184 * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
25185 (org-export-as-latex):
25186 Run `org-export-latex-after-initial-vars-hook'.
25187 (org-export-latex-format-toc-function)
25188 (org-export-latex-make-header):
25189 Call `org-export-latex-format-toc-function'.
25191 * org.el (org-fill-template): Make template searches case sensitive.
25193 * org-exp.el (org-export): Use "1" as a sign to export only the
25196 * org-colview.el (org-columns-edit-value):
25197 Use org-unrestricted property.
25199 * org.el (org-compute-property-at-point): Set org-unrestricted
25200 text property if the list contains ":ETC".
25201 (org-insert-property-drawer):
25202 Use org-unrestricted property.
25205 (org-export-preprocess-before-selecting-backend-code-hook): New hook.
25206 (org-export-preprocess-string):
25207 Run `org-export-preprocess-before-selecting-backend-code-hook'.
25209 * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
25211 * org-latex.el (org-export-region-as-latex):
25212 Run `org-export-first-hook'.
25214 * org-html.el (org-export-as-html): Run `org-export-first-hook'.
25216 * org-docbook.el (org-export-as-docbook):
25217 Run `org-export-first-hook'.
25219 * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
25221 * org-exp.el (org-export-first-hook): New hook.
25223 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25225 * org-list.el (org-previous-item): Exit at the beginning of the
25228 * org-id.el (org-id-locations-save): Only write the id locations
25229 if any are defined.
25231 * org-archive.el (org-archive-all-done): Make this work in a file
25232 with org-odd-levels-only set.
25234 * org.el (org-get-refile-targets): Catch the case when a buffer
25237 * org-latex.el (org-export-as-latex): Cleanup forced line ends
25238 where they are not needed.
25239 (org-export-latex-subcontent): Remove unnecessary newlines.
25241 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25243 * org-latex.el (org-export-latex-make-header): Remove \obeylines.
25244 (org-export-latex-fontify): Fix regexp bug that takes special
25245 care of protecting the right boundary characters in emphasis
25247 (org-export-latex-preprocess): Allow multiple arguments to latex
25250 * org.el (org-make-link-regexps): Use John Gruber's regexp for
25253 * org-macs.el (org-re): Interpret :punct: in regexps.
25255 * org-exp.el (org-export-replace-src-segments-and-examples):
25256 Also take the final newline after the END line.
25258 * org.el (org-clean-visibility-after-subtree-move): Only fix
25259 entries that are not entirely invisible already.
25260 (org-insert-link): Respect org-link-file-path-type for
25261 "docview:" links in addition to "file:" links.
25263 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25265 * org-exp.el (org-export-format-source-code-or-example):
25266 Avoid additional extra white lines in LaTeX.
25268 * org-list.el (org-list-parse-list): Leave empty lines after the
25269 list, don't consider them as part of the list.
25271 * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
25274 * org-clock.el (org-clock-select-task): Convert integer to
25275 character for XEmacs.
25277 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25279 * org-clock.el (org-clock-resolve): Make reading a char XEmacs
25282 2010-04-10 Tassilo Horn <tassilo@member.fsf.org>
25284 * org.el (org-complete-tags-always-offer-all-agenda-tags):
25286 (org-set-tags): Use it.
25288 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25290 * org-list.el (org-empty-line-terminates-plain-lists):
25293 * org.el (org-format-latex): Fix link creation for processed latex
25296 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25298 * org-footnote.el (org-footnote-normalize): Protect replacement
25301 * org.el (org-inside-latex-macro-p): Save match data.
25303 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
25305 * org-docview.el: New file.
25307 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25309 * org-latex.el (org-export-latex-class-options): New variable.
25310 (org-export-latex-set-initial-vars): Use the class options.
25312 * org.el (org-forward-same-level): Stop at headings that start
25313 with an invisible character.
25314 (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
25316 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25318 * org-footnote.el (org-footnote-normalize): Don't take optional
25319 arguments in LaTeX macros as footnotes.
25321 * org.el (org-inside-latex-macro-p): New function.
25323 * org-latex.el (org-latex-to-pdf-process): Change customization
25324 group to `org-export-pdf'.
25326 * org-agenda.el (org-agenda-get-blocks): Look at time string also
25327 on days after the first one.
25329 * org.el (org-insert-heading): Also check for item before assuming
25330 before-first-heading condition.
25332 * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
25333 (org-export-pdf-logfiles): New option.
25334 (org-export-as-pdf): Use `org-export-pdf-logfiles'.
25335 (org-export-pdf-logfiles): Fix customization type.
25337 * org.el (org-insert-link): Improve error message when there is no
25338 default link to select with RET.
25340 * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
25343 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25345 * org-latex.el (org-export-latex-parse-global)
25346 (org-export-latex-parse-content)
25347 (org-export-latex-parse-subcontent):
25348 Use `org-re-search-forward-unprotected'.
25349 (org-export-as-pdf): Remove log files produced by XeTeX.
25351 * org-macs.el (org-re-search-forward-unprotected): New function.
25353 2010-04-10 James TD Smith <ahktenzero@mohorovi.cc>
25355 * org-colview.el (org-agenda-colview-summarize): Sort out some
25356 confusion between properties and titles, which resulted in
25357 agenda summaries not working if a title was set for a column.
25359 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25361 * org-mobile.el (org-mobile-agendas): New option.
25362 (org-mobile-sumo-agenda-command): Select the right agendas.
25364 * org-latex.el (org-export-latex-format-image): Preserve the
25365 original-indentation property.
25367 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25369 * org-clock.el (org-clock-insert-selection-line): Catch error when
25370 an old tasks no longer exists.
25372 * org-latex.el (org-export-as-pdf): Remove also the .idx file.
25373 (org-export-as-pdf): Don't remove the old PDF file before making
25376 * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
25377 (org-mouse-context-menu): Use `org-looking-back'.
25379 * org.el (org-cycle-level): Use `org-looking-back'.
25381 * org-list.el (org-cycle-item-indentation):
25382 Use `org-looking-back'.
25384 * org-compat.el (org-looking-back): New function.
25386 * org.el (org-insert-heading): Catch before-first-headline when
25387 inserting a headline.
25389 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25391 * org-latex.el (org-export-latex-format-image): Indent figure
25392 environment, so that it does not interrupt plain list.
25394 * org.el (org-open-at-point): Allow long link descriptions.
25396 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
25398 * org-html.el (org-export-as-html): Remove empty lines at the
25399 beginning of the exported text.
25401 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
25403 * org.el (org): Remove from hypermedia group.
25405 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
25409 2010-02-15 Chong Yidong <cyd@stupidchicken.com>
25411 * org-freemind.el (org-freemind-from-org-mode-node)
25412 (org-freemind-from-org-mode)
25413 (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
25414 Pass arg to called-interactively-p.
25416 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
25418 * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten):
25419 Fix typos in docstrings.
25421 2010-01-01 Juanma Barranquero <lekktu@gmail.com>
25423 * org.el (org-get-outline-path, org-speed-command-help):
25424 Fix typos in error messages.
25426 2009-12-14 Juri Linkov <juri@jurta.org>
25428 * org-html.el (org-export-html-style-include-default):
25429 Put `safe-local-variable booleanp' on
25430 `org-export-html-style-include-default' instead of mistakenly
25431 duplicate `org-export-html-style'.
25433 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
25435 * org-agenda.el (org-agenda-diary-entry-in-org-file):
25436 Rebuild agenda after adding new entry.
25438 * org-datetree.el (org-datetree-find-day-create): Fix regular
25441 * org.el (org-display-outline-path): Use a format specifier for
25442 message, to avoid problems with heading containing `%'.
25444 * org-agenda.el (org-agenda-hide-tags-regexp): New option.
25445 (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
25446 (org-agenda-fix-displayed-tags): New function.
25447 (org-agenda-do-context-action): Just call
25448 `org-display-outline-path', without piping the result through
25451 * org-latex.el (org-export-latex-preprocess): Protect secondary
25452 footnote references.
25454 * org-indent.el (org-indent-initialize): Avoid empty strings as
25457 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
25458 hat checking for the mark does not throw an error.
25459 (org-agenda-diary-entry-in-org-file): Catch the case that there is
25460 not `day' text property in the cursor line.
25462 * org.el (org-sort-entries-or-items): Make sure that the final
25463 entry has a newline before doing the sorting.
25465 * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
25466 property at the beginning of the line.
25468 * org.el (org-make-link-string): Don't allow a description with
25471 * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
25472 (org-agenda-insert-diary-as-top-level): New function.
25473 (org-agenda-add-entry-to-org-agenda-diary-file):
25474 Call `org-agenda-insert-diary-as-top-level'.
25476 * org.el (org-occur-in-agenda-files): Make sure none of the
25477 buffers is narrowed.
25478 (org-activate-plain-links): Add the face property here.
25479 (org-set-font-lock-defaults): Do not add the face to plain links,
25480 the activator function does this.
25482 * org-habit.el (org-is-habit-p): Add doc string.
25484 * org-archive.el (org-archive-subtree-default-with-confirmation):
25487 * org-latex.el (org-export-latex-fontify): Fix regexp to make char
25488 after match optional (happens at the end of a line...).
25490 * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
25491 for special blocks.
25493 * org-faces.el (org-copy-face): Set lisp indentation.
25494 (org-quote, org-verse): New faces.
25496 * org-agenda.el (org-agenda-remove-date): Remove variable.
25498 * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
25500 * org-html.el (org-export-as-html): Move the home/up link into
25503 * org.el (org-export-latex-packages-alist): Option definition
25504 moved here from org-latex.el.
25506 * org-html.el (org-export-html-home/up-format): Add an ID to the
25509 * org-wl.el (org-wl-store-link): Handle the case that
25510 `wl-use-petname' is set.
25512 * org.el (org-set-effort): Improve prompt.
25513 (org-get-outline-path): Widen to get full path.
25514 (org-compact-display-after-subtree-move): Function removed.
25516 2009-11-20 Eric Schulte <schulte.eric@gmail.com>
25518 * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
25519 hash keys to cache and re-use images generated by the
25520 org-exp-blocks interface to ditaa and dot.
25522 * org.el (org-format-latex): Latex images are now saved to files
25523 named by the sha1 hash of the latex source text avoiding
25524 regeneration of identical images.
25526 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
25528 * org-latex.el (org-export-as-latex): Add the :drawers property.
25530 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
25532 * org.el (org-speed-commands-user): Allow documentation headlines.
25533 (org-speed-commands-default): Organize the value of this constant
25534 with descriptive headlines.
25535 (org-print-speed-command): Output the headlines.
25537 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
25539 * org-agenda.el (org-agenda-show-outline-path): New option.
25540 (org-agenda-do-context-action): New function.
25541 (org-agenda-next-line, org-agenda-previous-line):
25542 Use `org-agenda-do-context-action'.
25544 * org.el (org-use-speed-commands): Allow function value.
25545 (org-speed-commands-default): Make headline motion safe, so that
25546 these commands always end on a headline.
25547 (org-speed-commands-default): New key `v' for `org-agenda'.
25548 (org-speed-move-safe): New function.
25549 (org-self-insert-command): Use the function value of
25550 `org-use-speed-commands'.
25551 (org-get-outline-path): Improve docstring.
25552 (org-format-outline-path): New function.
25553 (org-display-outline-path): New function.
25555 2009-11-15 John Wiegley <jwiegley@gmail.com>
25557 * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
25558 a string, use that to find the LOGBOOK drawer.
25560 2009-11-15 Glenn Morris <rgm@gnu.org>
25562 * org-agenda.el (org-datetree-find-date-create)
25563 (org-habit-get-priority):
25564 * org.el (org-format-agenda-item): Fix declarations.
25566 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25568 * org.el (org-clone-subtree-with-time-shift): Make it work at the
25571 * org-mobile.el (org-mobile-write-checksums): Specify coding
25573 (org-mobile-timestamp-buffer): Keep local variable/mode line at
25574 beginning of buffer.
25576 * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
25578 * org.el (org-block-todo-from-children-or-siblings-or-parent)
25579 (org-block-todo-from-checkboxes): Do not block changes to a nil
25582 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
25584 * org-habit.el (org-habit-parse-todo): Indicate which habit is
25585 wrongly set up in the error messages.
25587 * org-colview.el (org-columns-display-here): Don't try to
25588 calculate values if the underlying property is not set.
25589 (org-columns-string-to-number): Convert age strings back into
25591 (org-agenda-colview-summarize): Handle extended summary types
25594 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25596 * org-exp.el (org-export-format-drawer-function): New variable.
25597 (org-export-format-drawer): New function.
25598 (org-export-preprocess-string): Pass the backend as a parameter to
25599 `org-export-remove-or-extract-drawers'.
25600 (org-export-remove-or-extract-drawers): New parameter BACKEND.
25602 * org-protocol.el (org-protocol-char-to-string): New defsubst.
25604 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25606 * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
25607 message when no block is selected.
25609 * org-latex.el (org-export-latex-links): Check for protectedness
25610 in the last matched character, not after the match.
25612 * org-datetree.el (org-datetree-find-date-create):
25613 Respect restriction when KEEP-RESTRICTION is set.
25614 (org-datetree-file-entry-under): New function.
25615 (org-datetree-cleanup): New command.
25617 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
25619 * org-src.el (org-edit-src-code): New optional argument context
25620 allows calling functions to avoid altering the saved window
25622 (org-edit-src-exit): Do not restore window configuration when this
25623 function is used in the context of saving the edit buffer.
25625 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25627 * org-clock.el (org-clock-out, org-clock-cancel): Revert to
25628 instances to switching to with-current-buffer, because these seem
25629 to cause problems - no idea why.
25631 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
25632 Require diary-lib for (diary-date-display-form).
25634 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25636 * org.el (org-log-reschedule, org-log-redeadline): New options.
25637 (org-log-note-headings): Add templates for rescheduling and
25639 (org-startup-options): Add in-buffer settings for logging changing
25640 schedule and deadline time stamps.
25641 (org-deadline, org-schedule): Check for existing date and arrange
25642 for logging if the user requests it.
25643 (org-add-log-note): Prepare proper note buffers for rescheduling
25644 and deadline changes.
25646 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25648 * org-agenda.el (org-agenda-diary-entry-in-org-file)
25649 (org-agenda-add-entry-to-org-agenda-diary-file)
25650 (org-agenda-insert-diary-make-new-entry): New functions.
25651 (org-agenda-diary-entry):
25652 Call `org-agenda-diary-entry-in-org-file' when appropriate.
25654 * org.el (org-calendar-insert-diary-entry-key): New option.
25655 (org-agenda-diary-file): New option.
25656 ("calendar"): Install our insertion function in the calendar.
25658 * org-remember.el (org-datetree): Require.
25659 (org-remember-templates): Add new positioning option.
25660 (org-remember-reference-date): New variable.
25661 (org-remember-apply-template): Store the reference date in a local
25663 (org-remember-handler): Implement date tree positioning of entries.
25665 * org-datetree.el: New file.
25667 * org-latex.el (org-export-latex-preprocess): Protect targets in
25670 * org-html.el (org-export-as-html): Protect targets in verbatim
25673 * org-docbook.el (org-export-as-docbook): Protect targets in
25676 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25678 * org-clock.el (org-show-notification): Handle messages that
25679 contain a percent character.
25681 * org-remember.el (org-remember-apply-template): Turn of partial
25684 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
25685 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
25687 * org.el (org-indent-mode): Define variable already in org.el.
25688 (org-unfontify-region): Remove line-prefix and wrap-prefix
25689 properties only if org-indent-mode is active.
25691 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25693 * org-icalendar.el (org-print-icalendar-entries): Save match data
25694 around call to verify function.
25695 (org-print-icalendar-entries): Add a call to the verification
25698 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
25699 save-restrivtion' form.
25701 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
25703 * org-exp.el (org-export-format-source-code-or-example):
25704 Restrict scope of preserve-indentp to the let binding.
25705 (org-src): Require org-src, since org-src-preserve-indentation is used.
25707 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25709 * org-timer.el (org-timer-set-timer): Set variables
25710 org-timer-timer[123] correctly.
25712 * org-mobile.el (org-mobile-files-alist): Make it work when
25713 `agenda-archives' is included in
25714 `org-agenda-text-search-extra-files'.
25715 (org-mobile-push): Restore agenda after mobile push.
25717 2009-11-13 John Wiegley <jwiegley@gmail.com>
25719 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
25720 way the amount of idle time is presented in the minibuffer.
25722 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25724 * org-icalendar.el (org-print-icalendar-entries):
25725 Use org-icalendar-verify-function only if non-nil.
25727 * org.el (org-refile): Refile to clock only if the prefix arg is
25729 (org-sparse-tree): Fix docstring to be in line with prompt.
25730 (org-update-parent-todo-statistics):
25731 Call `org-after-todo-statistics-hook' on each level.
25733 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25735 * org-remember.el (org-remember-apply-template): Make sure the
25738 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25740 * org.el (org-tab-ind-state): New variable.
25741 (org-cycle-level): New function.
25742 (org-cycle-level-after-item/entry-creation): New option.
25743 (org-flag-subtree): New function.
25744 (org-hide-archived-subtrees): Call `org-flag-subtree'.
25745 (org-set-effort): Indexed access.
25747 * org-list.el (org-cycle-item-indentation): New function.
25749 * org.el (org-refile): Make prefix argument 2 refile to current
25751 (org-priority): Interpret action `remove' as call to remove the
25754 * org-remember.el (org-remember-apply-template): Don't depend on
25755 buffer name being like file name.
25757 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25759 * org-clock.el (org-clock-play-sound): Expand file in
25760 org-clock-sound, to allow ~ for home.
25762 * org-remember.el (org-remember-handler):
25763 Set text-before-node-creation even if this already looks like a node,
25764 because the string might be needed on non-org-mode target files.
25766 * org-agenda.el (org-agenda-open-link): Make this work in agenda
25768 (org-agenda-switch-to): Follow a link at point if
25769 org-return-follows-link' is set and there is nothing else to do in
25772 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
25774 * org-exp-blocks.el: Modify split separator regexp to avoid empty
25777 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
25779 * org-colview.el (org-columns-new): Make this work with the new
25781 (org-columns-store-format): Make this work with the new operators.
25783 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25785 * org-src.el (org-src-preserve-indentation): Document that this
25786 variable is also used during export.
25788 * org-exp.el (org-export-format-source-code-or-example):
25789 Preserve indentation if a block has a -i option, or if
25790 `org-src-preserve-indentation' is set.
25792 * org-exp-blocks.el (org-export-blocks-preprocess):
25793 Preserve indentation if a block has a -i option, or if
25794 `org-src-preserve-indentation' is set.
25796 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25798 * org.el (org-mode-map): Define the new archiving keys.
25799 (org-speed-commands-default): Define an archiving key in the speed
25801 (org-org-menu): Improve the menu structure concerning archiving.
25803 * org-archive.el (org-archive-subtree-default-with-confirmation):
25806 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
25807 (org-agenda-menu): Add the new archiving commands to the menu.
25808 (org-agenda-archive-default)
25809 (org-agenda-archive-default-with-confirmation): New commands.
25810 (org-agenda-archive, org-agenda-archive-to-archive-sibling):
25811 Just call `org-agenda-archive-with'.
25812 (org-agenda-archive-with): New function.
25814 * org-table.el (org-table-convert-region): Inert spaces around "|"
25815 to avoid line beginnings like "|-1" which will be mistaken as
25818 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25820 * org.el (org-offer-links-in-entry): Return nil if there are no
25821 links, t if a link has been selected.
25822 (org-open-at-point): Open attachment directory when called in the
25823 headline and there are no links in the entry body.
25824 (org-speed-commands-default): Add "o" for open-at-point as a speed
25827 * org-attach.el (org-attach-reveal): Optional prefix arg
25828 IF-EXISTS, which avoids creating the attachment directory if it
25829 does not yet exist.
25831 * org-agenda.el (org-agenda, org-run-agenda-series):
25834 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25836 * org.el ("abbrev"): Work with abbrev tables only after they have
25839 * org-list.el (org-list-send-list): Fix bug related to match
25842 * org-latex.el (org-export-latex-fontify): Apply verbatim
25844 (org-export-latex-make-header): Insert \obeylines if line breaks
25845 should be preserved.
25847 * org-exp.el (org-export-protect-verbatim): Add an
25848 `org-verbatim-emph' property to such text.
25850 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25852 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
25853 (org-print-icalendar-entries): Skip entries where the timestamp is
25854 not a deadline and not scheduled, if the user requests that.
25856 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
25857 before an opening quote.
25859 * org-archive.el (org-archive-subtree): Keep archive after
25860 archiving something.
25862 * org-id.el (org-id-update-id-locations): Add archive files if
25863 that is required by `org-id-extra-files'.
25865 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25867 * org-src.el (org-src-window-setup): New option.
25868 (org-src-switch-to-buffer): New function.
25869 (org-edit-src-exit): Add optional argument CONTEXT and use it to
25870 restore window configuration.
25871 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
25872 Call `org-src-switch-to-buffer'.
25874 * org.el (org-default-properties): Add STYLE property.
25875 (org-files-list): Use the function call to get the files.
25876 (org-additional-option-like-keywords): Add SETUPFILE to completion
25879 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25881 * org-table.el (org-table-convert-region): Correctly interpret
25882 quoting in csv import.
25884 * org.el (org-icompleting-read): Make iswitchb completion work
25885 with lists and tables.
25887 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
25888 while pushing the mobile agenda.
25890 2009-11-13 John Wiegley <jwiegley@gmail.com>
25892 * org-clock.el (org-clock-auto-clock-resolution): Now takes three
25893 values: nil, t and `when-no-clock-is-running'.
25894 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
25895 whether or not to resolve Org buffers on clock in.
25897 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
25899 * org-colview.el (org-format-time-period): Function to format
25900 times in fractional days for display.
25901 (org-columns-display-here): Add support for showing a calculated
25902 value in place of the property.
25903 (org-columns): Set `org-columns-time' to the current time so time
25904 difference calculations will work.
25905 (org-columns-time): Use to store the current time when column view
25906 is displayed, so all time differences will use the same reference
25908 (org-columns-compile-map): There is now an extra position in each
25909 entry specifying the function to use to calculate the displayed
25910 value for the non-calculated properties in the column.
25911 (org-columns-compute-all): Set `org-columns-time' to the current
25912 time so time difference calculations will work.
25913 (org-columns-compute): Handle column operators where the values
25914 used are calculated from the underlying property.
25915 (org-columns-number-to-string): Handle the 'age' column format.
25916 (org-columns-string-to-number): Correct the function name (was
25917 org-column...). Add support for the 'age' column format.
25918 (org-columns-compile-format): Support the additional parameter in
25919 org-columns-compile-map.
25921 2009-11-13 Bastien Guerry <bzg@gnu.org>
25923 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
25926 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25928 * org-clock.el (org-clock-has-been-used): New variable.
25929 (org-clock-in): Set `org-clock-has-been-used'.
25930 (org-clock-save): Save only if clock data has been used or created
25931 during this session.
25933 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25935 * org-clock.el (org-clock-persist): New value, to store only the
25937 (org-clock-save): Don't save the clock if only the history should
25939 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
25940 when restoring a saved clock.
25942 2009-11-13 John Wiegley <jwiegley@gmail.com>
25944 * org-clock.el (org-clock-display, org-clock-put-overlay):
25945 Use `org-time-clock-use-fractional'.
25947 * org.el (org-time-clocksum-use-fractional)
25948 (org-time-clocksum-fractional-format): Two new customizable
25949 variables which allow the user to select fractional times (1.25
25950 instead of 1:25) in the `org-clock-display' report.
25952 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25954 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
25957 * org.el (org-tag-alist): Fix customization type.
25959 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25961 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
25962 Make sure the regexp search can fail without throwing an error.
25963 (org-mobile-apply): Save the inbox buffer after removing
25964 successfully applied changes.
25966 2009-11-13 John Wiegley <jwiegley@gmail.com>
25968 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
25969 time is reported after the user comes back (but before they
25972 * org.el (org-get-repeat): Change so that this function can be
25973 called with either `org-scheduled-string' or
25974 `org-deadline-string'.
25976 * org-clock.el (org-clock-auto-clock-resolution): Rename from
25977 `org-clock-disable-clock-resolution', since negatives don't sound
25978 good in customization variables.
25979 (org-clock-in): Don't use the auto-resolution logic if the user is
25980 clocking into a different task while an active clock is running.
25981 This then allows the default behavior of clocking out of the open
25982 task and then into the new task.
25984 * org.el (org-modules): Made this variable more consistent, since
25985 it was referring to Org, OrgMode and Org-mode, whereas the docs
25986 for the variable always refer to Org-mode.
25988 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
25990 * org.el (org-repeat-re): The changed org-repeat-re no longer
25991 matched simple +2d type repeaters. Fix it so it does.
25993 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
25995 * org-latex.el (org-export-latex-preprocess): Protect the vspace
25996 macro in the VERSE environment.
25998 2009-11-13 John Wiegley <jwiegley@gmail.com>
26000 * org-habit.el (org-habit-get-priority): A new function that
26001 determines the relative priority of a habit, based on how long
26002 past its scheduled date it is, and how near the deadline is.
26004 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
26005 using `org-habit-get-priority'.
26007 * org-habit.el (org-habit-build-graph): Start displaying colors
26008 from the first scheduled date, if that date is earlier than the
26009 first completion date.
26011 * org-habit.el: Changed all "color" variables to faces, and made
26012 them appropriate for light and dark backgrounds.
26014 * org-habit.el (org-habit-duration-to-days): Made this function
26016 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
26018 * org-agenda.el (org-agenda-get-deadlines): Remove all mention of
26019 habits, since they don't use DEADLINE anymore.
26021 * org.el (org-repeat-re, org-display-custom-time)
26022 (org-timestamp-change): Extend to support the new ".+N/N"
26023 syntax, used for habits.
26025 * org-clock.el (org-clock-resolve-clock): Fix an incorrect
26026 variable reference.
26028 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
26029 modeline when habits are being displayed (if that module is being
26032 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
26034 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
26035 idle time using the xscreensaver extension.
26036 (org-user-idle-seconds): Use X11 idle time if available.
26038 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26040 * org-agenda.el (org-agenda-next-line): New command.
26041 (org-agenda-previous-line): New commands.
26042 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down):
26044 (org-agenda-follow-mode): Do the follow immediately if the mode is
26046 (previous-line, next-line): Replace keys with the corresponding
26048 (org-agenda-mode-map): Bind backspace and delete to the scrolling
26051 * org.el (org-icompleting-read): Turn off partial completion mode
26052 for the duration of this completion round.
26054 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
26055 macros in author lines and similar stuff.
26057 * org.el (org-file-tags): Fix docstring.
26058 (org-get-buffer-tags): Add the #+FILETAGS tags.
26059 ("ecb"): Make ecb show context after jumping into an Org file.
26061 2009-11-13 John Wiegley <johnw@newartisans.com>
26063 * org-agenda.el (org-finalize-agenda): Draw habit consistency
26064 graphs after everything else in the buffer has been setup.
26066 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26068 * org-mobile.el (org-mobile-apply): Count success and failure.
26070 * org.el (org-indent-line-function): Fix regexp replace problem.
26072 2009-11-13 John Wiegley <johnw@newartisans.com>
26074 * org-clock.el (org-clock-disable-clock-resolution):
26075 New customization variable that disable automatic clock resolution on
26077 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
26078 not automatically resolve anything. This is does not affect
26079 idle-time resolution, however, if `org-clock-idle-time' is set.
26081 2009-11-13 John Wiegley <johnw@newartisans.com>
26083 * org-habit.el: New file, which implements code to build a "habit
26084 consistency graph".
26086 * org-agenda.el (org-agenda-get-deadlines)
26087 (org-agenda-get-scheduled): Display consistency graphs when
26088 outputting habits into the agenda. The graphs are always relative
26089 to the current time.
26090 (org-format-agenda-item): Add new parameter `habitp', which
26091 indicates whether we are formatting a habit or not. Do not
26092 display "extra" leading information if habitp is true.
26094 * org.el (org-repeat-re): Improve regexp to include .+ and ++
26095 leaders for repeat strings.
26096 (org-get-repeat): Now takes a string parameter `tagline', so the
26097 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
26099 2009-11-13 John Wiegley <johnw@newartisans.com>
26101 * org-agenda.el (org-agenda-auto-exclude-function):
26102 New customization variable for allowing the user to create an "auto
26103 exclusion" filter for doing context-aware auto tag filtering.
26104 (org-agenda-filter-by-tag): Changes to support the use of
26105 `org-agenda-auto-exclude-function'. See the new manual addition.
26107 2009-11-13 John Wiegley <johnw@newartisans.com>
26109 * org.el (org-files-list): Don't attempt to return a file name for
26110 Org buffers which have no associated file.
26112 * org-agenda.el (org-agenda-do-action): Fix a typo.
26114 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26116 * org-mobile.el (org-mobile-locate-entry): Interpret files
26117 relative to org-directory.
26118 (org-mobile-inbox-for-pull): Document the best location for this
26120 (org-mobile-check-setup): Verify `org-directory'.
26121 (org-mobile-create-index-file): Sort the files to be listed in
26124 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
26126 * org.el (org-fast-tag-selection): Add a way to display a
26127 description for a tag group. This is done by adding a string to
26128 either the startgroup or endgroup cell.
26130 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26132 * org-clock.el (org-clock-resolve, org-resolve-clocks)
26133 (org-emacs-idle-seconds): Use `org-float-time' instead of
26136 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26138 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
26141 * org.el (org-pre-cycle-hook): Document that `empty' can also be
26142 the value of ARG when doing local cycling.
26144 2009-11-13 John Wiegley <johnw@newartisans.com>
26146 * org-clock.el (org-clock-resolve-clock): If keeping or
26147 subtracting time results in a clock out at a time in the past, and
26148 if the resolution occurred due to idleness or invoking `M-x
26149 org-resolve-clocks', remember that past moment in time. On the
26150 next clock in, the user will be prompted to see if they want to
26151 back-date their new clock to then.
26152 (org-clock-resolve): Do not jump the user to the location of a
26153 dangling clock if the resolution is occurring due to an idle
26154 timeout. In that case there is typically only one dangling clock,
26155 the active one, and there is no value gained by shuffling their
26156 windows around to show it to them. Being prompted to resolve an
26157 idle clock should be as inobtrusive as possible.
26158 (org-resolve-clocks-if-idle): New function that resolves only the
26159 currently active clock if the user has exceeded the time returned
26160 by `org-user-idle-seconds', based on the value of
26161 `org-clock-idle-time'.
26162 (org-clock-in): If, after resolving clocks, (???)
26163 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
26165 * org-clock.el (org-clock-resolve-clock): New function that
26166 resolves a clock to a specific time, closing or resuming as need
26167 be, and possibly even starting a new clock.
26168 (org-clock-resolve): New function used by `org-resolve-clocks'
26169 that sets up for the call to `org-clock-resolve-clock'.
26170 It determines the time to resolve to based on a single-character
26171 selection from the user to either keep time, subtract away time or
26173 (org-resolve-clocks): New user command which resolves dangling
26174 clocks -- that is, open but not active -- anywhere in the file
26175 list returned by `org-files-list'.
26176 (org-clock-in): Automatically resolve dangling clocks whenever a
26178 (org-clock-cancel): If the user cancels the solely clock in a
26179 LOGBOOK, remove the empty drawer.
26181 * org-clock.el (org-clock-idle-time): New user customizable option
26182 for detecting whether the user has left a clock idle. Note: it is
26183 only used in this commit to test whether it's worthwhile to check
26184 OS X to get the Mac user's current idle time. If the Emacs idle
26185 time is less than the value, the user hasn't been away long enough
26186 to be worth checking (a more expensive test than just getting
26188 (org-user-idle-seconds, org-mac-idle-seconds)
26189 (org-emacs-idle-seconds): This three functions, in conjunction
26190 with the user customization variable `org-clock-idle-time', return
26191 the number of seconds (as a floating point) that the user has been
26192 away from their Emacs (or, if running on OS X, their computer).
26194 * org-clock.el (org-find-open-clocks): New function that returns a
26195 list of all open clocks in the given FILE. Note that each clock
26196 it returns is a cons cell of the format (MARKER . START-TIME).
26197 This "clock" value is used by several of the new clock module
26199 (org-is-active-clock): New inline function which tests whether the
26200 given clock value is the same as the currently active clock.
26201 Returns non-nil if this is the case.
26202 (org-with-clock-position): New macro that evaluates FORMS with
26203 point in the buffer and at the position of the given clock.
26204 Changes to the current clock are global.
26205 (org-with-clock): New macro that evaluates FORMS with point in the
26206 buffer and at the position of the given clock. However, changes
26207 to the current clock are local and have no effect on the user's
26208 active clock. This allows, for example, far any clock to be
26209 canceled without canceling the active clock.
26210 (org-clock-clock-in): New inline function that switches the active
26211 clock to the given clock. If either the argument RESUME, or the
26212 global `org-clock-in-resume', are non-nil, it will resume a clock
26213 that was previously left open.
26214 (org-clock-clock-out): New inline function that clocks out the
26215 given clock value without affecting the currently active clock.
26216 (org-clock-clock-cancel): New inline function that cancels the
26217 given clock value without affecting the currently active clock.
26219 * org-clock.el (org-clock-in): Before creating
26220 `org-clock-mode-line-timer', check to make sure an older timer is
26221 not currently running.
26222 (org-clock-out): Accept new third parameter `at-time', which
26223 permits a clock to be clocked out at a specific time. Note that
26224 no attempt is made to verify that the clock out time is later than
26227 * org.el (org-files-list): New utility function for returning a
26228 list of all open org-mode buffers, plus all files used to build
26229 the agenda buffer. Note that not all the files will necessarily
26230 be visited by a buffer at time of call.
26231 (org-entry-beginning-position): Like the function
26232 `line-beginning-position', this inline function returns the
26233 beginning position of the current heading/entry.
26234 (org-entry-end-position): Like the function `line-end-position',
26235 this inline function returns the end position of the current
26238 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26240 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
26243 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26245 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
26247 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26249 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
26250 entries that have no tags.
26251 (org-agenda-search-view): New customize group.
26252 (org-agenda-search-view-search-words-only): New option.
26253 (org-search-view): Implement substring search.
26255 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26257 * org.el (org-outline-level): Add doc string.
26259 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26261 * org-inlinetask.el (org-inlinetask-export): Re-introduce
26263 (org-inlinetask-export-handler): Only export inline task if the
26264 user option calls for it.
26266 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26268 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
26271 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26273 * org-latex.el (org-export-latex-tables): Don't format in
26276 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26278 * org-src.el (org-edit-src-code)
26279 (org-edit-src-find-region-and-lang, org-edit-src-exit):
26280 Handle macro editing.
26282 * org-agenda.el (org-prefix-category-max-length): New variable.
26283 (org-format-agenda-item): Use `org-prefix-category-max-length'.
26284 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
26286 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26288 * org-mobile.el (org-mobile-create-index-file): Improve the
26289 listing of tags and todo keywords.
26291 * org-latex.el (org-export-latex-format-image): New function.
26292 (org-export-latex-links): Use `org-export-latex-format-image'.
26294 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26296 * org-inlinetask.el (org-inlinetask-get-current-indentation)
26297 (org-inlinetask-remove-terminator): New functions.
26298 (org-inlinetask-export-handler): Terminate the description list.
26300 * org-exp.el (org-export-select-backend-specific-text): Remove the
26303 * org-inlinetask.el (org-inlinetask-export-handler): Fix bug for
26304 tasks without content.
26306 * org-clock.el: Make sure the clock-in target position does not
26307 move to a different node by widening the buffer.
26309 * org-html.el (org-export-html-format-image): Wrap image into
26310 figure div only when there is a caption.
26312 * org-archive.el (org-archive-mark-done): Change default value to
26315 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
26317 * org.el (org-context): Call `bobp', not `eobp'.
26319 * org-clock.el (org-clock-cancel): Remove quotes from marker
26322 * org.el (org-read-date-prefer-future): New allowed value `time'.
26323 (org-read-date-analyze): Shift day to tomorrow depending on time
26324 entered and value of `org-read-date-prefer-future'.
26326 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
26328 * org.el (org-version, org-get-refile-targets, org-refile)
26329 (org-store-log-note, org-diary-to-ical-string)
26330 (org-speedbar-set-agenda-restriction):
26331 * org-publish.el (org-publish-find-title):
26332 * org-plot.el (org-plot/gnuplot):
26333 * org-mouse.el (org-mouse-do-remotely):
26334 * org-mobile.el (org-mobile-move-capture):
26335 * org-mac-message.el (org-mac-message-insert-flagged):
26336 * org-latex.el (org-replace-region-by-latex):
26337 * org-docbook.el (org-replace-region-by-docbook):
26338 * org-clock.el (org-clock-out, org-clock-cancel):
26339 * org-bibtex.el (org-execute-file-search-in-bibtex):
26340 Use with-current-buffer.
26342 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
26344 * org.el (org-directory, org-map-entries):
26345 * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
26347 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26349 * org.el (org-set-tags-to): New command.
26351 * org-latex.el (org-export-latex-set-initial-vars): Also check in
26354 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
26357 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
26359 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26361 * org-inlinetask.el (org-inlinetask-export): Option removed.
26362 (org-inlinetask-export-handler): Better export.
26364 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
26365 (org-export-as-xoxo): Run the new hook.
26367 * org-html.el (org-export-html-final-hook): New hook.
26368 (org-export-as-html): Run the new hook.
26370 * org-docbook.el (org-export-docbook-final-hook): New hook.
26371 (org-export-as-docbook): Run the new hook.
26373 * org-ascii.el (org-export-ascii-final-hook): New hook.
26374 (org-export-as-ascii): Run the new hook.
26376 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
26377 space character as the character before the ^/_.
26378 (org-export-latex-final-hook): New hook.
26379 (org-export-as-latex): Run `org-export-latex-final-hook'.
26381 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26383 * org-macs.el (org-if-unprotected-at): Fix docstring.
26385 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
26386 text in the prefix (if category is a link).
26388 * org-latex.el (org-export-latex-preprocess): Deal properly with
26389 empty lines in verse environments.
26391 * org.el (org-format-latex-header): Inline fullpage.sty.
26393 * org-footnote.el (org-footnote-create-definition): Reveal context
26394 to add a new footnote definition.
26396 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
26397 org-table-recalculate when cursor is in TBLFM line.
26399 * org-list.el (org-renumber-ordered-list): Fix cursor position
26400 when bullet length has changed.
26402 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26404 * org.el (org-format-latex): Mention `org-format-latex-options' in
26407 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26409 * org.el (org-agenda-get): New function.
26411 * org-agenda.el (org-agenda-post-command-hook): No longer move
26412 point away from end of line.
26413 (org-agenda-add-entry-text, org-agenda-collect-markers)
26414 (org-finalize-agenda, org-agenda-mark-clocking-task)
26415 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
26416 (org-agenda-entry-text-show, org-agenda-highlight-todo)
26417 (org-agenda-compare-effort, org-agenda-filter-apply)
26418 (org-agenda-later, org-agenda-change-time-span)
26419 (org-agenda-post-command-hook, org-agenda-show-priority)
26420 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
26421 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
26422 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
26423 (org-agenda-open-link, org-agenda-copy-local-variable)
26424 (org-agenda-switch-to, org-agenda-check-no-diary)
26425 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
26426 (org-agenda-add-note, org-agenda-change-all-lines)
26427 (org-agenda-priority, org-agenda-set-tags)
26428 (org-agenda-set-property, org-agenda-set-effort)
26429 (org-agenda-toggle-archive-tag, org-agenda-date-later)
26430 (org-agenda-show-new-time, org-agenda-date-prompt)
26431 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
26432 (org-agenda-clock-in, org-agenda-bulk-mark)
26433 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note):
26434 Use `org-get-at-bol'.
26436 * org-colview.el (org-columns-display-here)
26437 (org-columns-edit-allowed, org-agenda-columns):
26438 Use `org-get-at-bol'.
26440 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26442 * org.el (org-special-ctrl-a/e): Improve documentation and
26444 (org-end-of-line): Don't jump to after the ellipsis.
26445 (org-mode-map): Bind <home> and <end> as well.
26447 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26449 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
26450 space after #+ as comments.
26451 (org-open-at-point): Run `org-follow-link-hook' always.
26453 * org-latex.el (org-export-latex-emph-format): Use better commands
26454 to insert special characters in verbatim snippets.
26456 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26458 * org-faces.el (org-copy-face): New function. Use it to create
26459 various faces formerly created by using `copy-face'.
26461 * org-agenda.el (org-prepare-agenda): Don't officially mark this
26463 (org-agenda-quit): Kill the frame containing the agenda window if
26464 that frame was created for the agenda.
26466 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26468 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
26469 stamp in the agenda.
26471 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26473 * org-agenda.el (org-prepare-agenda):
26474 Reset `org-drawers-for-agenda'.
26475 (org-prepare-agenda): Uniquify list of drawers.
26477 * org.el (org-complex-heading-regexp-format): New variable.
26478 (org-set-regexps-and-options):
26479 Define `org-complex-heading-regexp-format'.
26480 (org-drawers-for-agenda): New variable.
26481 (org-map-entries): Bind `org-drawers-for-agenda'.
26482 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
26484 * org-remember.el (org-go-to-remember-target)
26485 (org-remember-handler): Use `org-complex-heading-regexp-format'.
26487 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26489 * org-agenda.el (org-agenda-highlight-todo): Fix text property
26492 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
26493 always with `invisible-ok'.
26494 (org-store-link): No error when there is nothing to link to in the
26497 * org-list.el (org-update-checkbox-count): Insert changed cookie
26498 before the old, to avoid problems with invisibility at the end of
26500 (org-update-checkbox-count): Insert changed cookie before the old,
26501 to avoid problems with invisibility at the end of the line.
26503 * org.el (org-sort-entries-or-items): Include the final newline.
26504 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
26505 lines for fontification.
26506 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
26507 (org-prepare-dblock): Store the current indentation of the BEGIN
26509 (org-update-dblock): Apply the indentation of the begin line to
26510 the rest of the block.
26511 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
26512 (org-startup-folded): New allowed value `showeverything'.
26513 (org-startup-options): Add STARTUP keyword `showeverything'.
26514 (org-set-startup-visibility): Respect value `showeverything' in
26515 org-startup-folded.
26517 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26519 * org.el (org-closest-date): Fix issue with past preference.
26521 * org-archive.el (org-archive-set-tag)
26522 (org-archive-subtree-default): New commands.
26524 * org-clock.el (org-clock-clocktable-default-properties):
26526 (org-clock-report):
26527 Use `org-clock-clocktable-default-properties'.
26529 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26531 * org.el (org-iswitchb-completing-read): Fix typo.
26533 * org-crypt.el: New file.
26535 * org.el: Add an entry for org-crypt.
26537 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26539 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
26541 (org-batch-store-agenda-views): New function.
26542 (org-agenda-title-append): Define variable.
26543 (org-write-agenda): New export to Org files.
26544 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
26545 (org-agenda): Allow to keep the restricted file list if a special
26546 variable is bound to t.
26547 (org-agenda): Define a special agenda view for working on flagged
26549 (org-agenda-get-restriction-and-command): List the new agenda
26551 (org-agenda-show-the-flagging-note): New command.
26552 (org-agenda-mode-map): New key `?' for looking at the flagging
26555 * org.el (org-autoload): Autoload org-mobile.el.
26556 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
26558 * org-mobile.el: New file.
26560 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
26562 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26564 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
26566 (org-table-get-remote-range): Match indented #+TBLNAME
26569 * org.el (org-convert-to-odd-levels)
26570 (org-convert-to-oddeven-levels): Work also correctly if the file
26571 is in outline-mode.
26573 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26575 * org.el (org-store-link): When in agenda buffer, link to
26577 (org-add-planning-info): Remove spaces at eol.
26579 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
26582 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26584 * org-latex.el (org-export-latex-first-lines): Fix problem with
26585 LaTeX export of first line and selected subtree.
26587 * org.el (org-shifttab): Interpret arg differently when using only
26590 2009-10-01 Bastien Guerry <bzg@gnu.org>
26592 * org.el (org-check-agenda-file): Use a more explicit message.
26594 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26596 * org-exp.el (org-export-remove-special-table-lines): Don't remove
26599 2009-10-01 Bastien Guerry <bzg@gnu.org>
26601 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
26602 prompt in the temporary window.
26604 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
26605 prefix for marked entries in the agenda view.
26607 2009-10-01 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
26609 * org.el (outline-end-of-subtree): Bugfix: advise this function in
26610 a way that prevents any trailing character from being displayed.
26612 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26614 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
26617 * org-exp.el (org-export-remove-special-table-lines): Remove bad
26620 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26622 * org-latex.el (org-export-latex-preprocess): Do not protect in
26625 * org-src.el (org-edit-src-save): Save window setup while saving.
26626 (org-edit-src-code): Use new buffer name construction scheme.
26628 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26630 * org-agenda.el (org-agenda-entry-text-exclude-regexps):
26632 (org-agenda-entry-text-cleanup-hook): New hook.
26633 (org-agenda-get-some-entry-text): Remove matches of
26634 `org-agenda-entry-text-exclude-regexps' and run the hook
26635 `org-agenda-entry-text-cleanup-hook'.
26637 * org.el (org-offer-links-in-entry): New argument ZERO to
26638 implement a link with index zero.
26639 (org-cycle-show-empty-lines): Not keep empty line under header
26641 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
26642 to nil for special completion.
26643 (org-store-link): Don't error before the first heading.
26645 * org-agenda.el (org-agenda-open-link): Pass the prefix to
26646 `org-offer-links-in-entry'.
26648 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
26650 * org-agenda.el (org-agenda-quit): Provide the window argument for
26651 `window-dedicated-p', Emacs 22 needs it.
26652 (org-format-agenda-item): If the category is a link, arrange for
26653 invisible text to replaced with spaces.
26654 (org-compile-prefix-format): Add the extra space.
26655 (org-prefix-category-length): New variable.
26657 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
26658 references from TOC lines.
26660 * org.el (org-selected-window): New variable.
26662 * org-table.el (org-table-edit-formulas): Remember the selected
26664 (org-table-fedit-finish, org-table-fedit-abort): Select the window
26665 that was originally selected.
26667 * org-exp.el (org-export-preprocess-apply-macros): Scan the
26668 expansion of a macro for more macro definitions.
26670 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
26671 invisibility overlay starts on the newline.
26673 2009-10-01 Glenn Morris <rgm@gnu.org>
26675 * org-agenda.el (calendar-check-holidays):
26676 * org-exp.el (org-agenda-skip):
26677 * org-list.el (outline-back-to-heading):
26678 * org-wl.el (wl-summary-goto-folder-subr):
26679 * org.el (iswitchb-mode, remember, remember-buffer-desc)
26680 (remember-finalize, remember-save-after-remembering, remember-register)
26681 (remember-buffer, remember-handler-functions)
26682 (remember-annotation-functions): Remove unused declarations.
26684 * org.el (iswitchb-read-buffer): Fix declaration.
26686 2009-09-30 Glenn Morris <rgm@gnu.org>
26688 * org-compat.el (w32-focus-frame):
26689 * org-exp-blocks.el (R):
26690 * org-exp.el (htmlize-buffer):
26691 * org-protocol.el (server-edit):
26692 * org-table.el (org-format-org-table-html):
26693 * org.el (org-indent-mode): Fix declarations.
26695 * org-colview.el (org-columns-uncompile-format): Avoid assignment to
26696 free variable `fun'.
26698 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
26700 * org-agenda.el (org-agenda-restore-windows-after-quit):
26701 Fix typo in docstring.
26703 2009-09-23 Juanma Barranquero <lekktu@gmail.com>
26705 * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
26706 (org-shiftselect-error, org-ctrl-c-ctrl-c):
26707 * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
26708 * org-attach.el (org-attach-check-absolute-path):
26709 * org-docbook.el (org-export-as-docbook):
26710 * org-html.el (org-export-as-html):
26711 * org-id.el (org-id-update-id-locations):
26712 * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
26713 Fix typos in error messages.
26715 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
26717 * org-ascii.el: Require CL for the `loop' macro.
26719 2009-09-05 Carsten Dominik <dominik@u016822.science.uva.nl>
26721 * org-gnus.el (require): Wrap (require gnus-sum) into
26724 2009-09-03 Carsten Dominik <dominik@u016822.science.uva.nl>
26726 * org-protocol.el (org-protocol-store-link)
26727 (org-protocol-remember, org-protocol-open-source): Remove autoload
26730 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
26731 referencing the start of the line.
26733 * org-gnus.el: Remove unnecessary declare-function forms.
26734 (gnus-sum): Always require gnus-sum.
26736 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
26738 * org-protocol.el (org-protocol-store-link)
26739 (org-protocol-remember, org-protocol-open-source): Add autoloads.
26741 * org-compat.el (org-float-time): New function.
26743 * org.el (org-clock-update-time-maybe)
26744 (org-sort-entries-or-items, org-do-sort)
26745 (org-evaluate-time-range, org-time-string-to-seconds)
26746 (org-closed-in-range): Use `org-float-time'.
26748 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
26749 (org-timer-seconds): Use `org-float-time'.
26751 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
26752 (org-clock-sum, org-dblock-write:clocktable)
26753 (org-clocktable-steps): Use `org-float-time'.
26755 * org-agenda.el (org-agenda-last-marker-time)
26756 (org-agenda-new-marker, org-diary): Use `org-float-time'.
26758 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
26761 * org-exp.el (org-get-file-contents): Only protect lines that
26764 * org-html.el (require): Require cl for compilation.
26766 * org.el: Avoid using `default-major-mode'.
26768 * org-plot.el (require): Require CL only at compile time.
26770 * org-exp.el (require): Require CL only at compile time.
26772 * org-agenda.el (org-agenda-quit): When the agenda window is
26773 dedicated, remove other windows before exiting, so that the frame
26774 really will be killed.
26776 * org-exp.el (org-export-handle-include-files): Reset START and
26777 END for each loop cycle.
26779 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
26781 * org.el (org-eval-in-calendar):
26782 Use `org-select-frame-set-input-focus'.
26784 * org-compat.el (org-select-frame-set-input-focus): New function.
26786 * org.el (org-update-statistics-cookies): New function.
26787 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
26789 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
26791 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
26792 after the local variables are set.
26794 * org-latex.el (org-export-latex-protect-amp): New function.
26795 (org-export-latex-links): Protect link ampersands in tables.
26797 * org-exp.el (org-export-select-backend-specific-text): Match in
26798 two steps, to avoid regexp problems.
26800 * org.el (org-offer-links-in-entry): Improve working with many and
26803 * org-agenda.el (org-agenda-show-1): Make more consistent with
26805 (org-agenda-cycle-show): Make more consistent with normal cycling.
26807 * org-gnus.el (org-gnus-store-link): Restore the linking to a
26810 2009-09-02 Bastien Guerry <bzg@gnu.org>
26812 * org-latex.el (org-export-latex-first-lines): Bugfix.
26814 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
26816 * org-clock.el (org-clock-modify-effort-estimate): Emit message
26819 * org.el (org-set-effort): New function.
26820 (org-mode-map): New key for effort setting command.
26822 * org-agenda.el (org-agenda): Keep window setup when calling
26823 agenda from within agenda window.
26824 (org-agenda-mode-map): New keys for effort setting commands.
26825 (org-agenda-menu): Add effort setting commands to menu.
26826 (org-agenda-set-property, org-agenda-set-effort): New functions.
26828 * org-latex.el (org-export-latex-tables):
26829 Fix `org-table-last-alignment' and `org-table-last-column-widths' if
26830 the first column has been removed.
26832 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
26834 * org.el (org-remove-timestamp-with-keyword): Only remove in
26835 entry, not in subtree.
26837 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
26840 * org.el (org-open-at-point): When on headline, offer all strings
26843 * org-remember.el (org-remember-templates): Documentation fix.
26845 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
26846 `org-get-last-sibling' instead of the outline versions of these
26848 (org-get-last-sibling): New function.
26849 (org-refile): Use `org-get-next-sibling' instead of the outline
26850 version of this function.
26851 (org-clean-visibility-after-subtree-move):
26852 Use `org-get-next-sibling' and `org-get-last-sibling' instead of the
26853 outline versions of these functions.
26855 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
26857 * org-agenda.el (org-prepare-agenda): When creating a new frame
26858 for the agenda, make the window dedicated.
26860 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
26862 * org-table.el (org-table-align): Change the order of reinsertion
26863 and deletion, to avoid problems with overlays following the table.
26865 * org.el (org-parse-time-string): Better error message.
26866 (org-show-subtree): Use org-end-of-subtree.
26868 * org-macs.el (org-goto-line): New defsubst.
26870 * org.el (org-open-file, org-change-tag-in-region)
26871 (org-fast-tag-show-exit): Don't use `goto-line'.
26873 * org-table.el (org-table-align, org-table-insert-column)
26874 (org-table-delete-column, org-table-move-column)
26875 (org-table-sort-lines, org-table-copy-region)
26876 (org-table-paste-rectangle, org-table-wrap-region)
26877 (org-table-get-specials, org-table-rotate-recalc-marks)
26878 (org-table-get-range, org-table-recalculate)
26879 (org-table-edit-formulas, org-table-fedit-convert-buffer)
26880 (org-table-show-reference, org-table-highlight-rectangle):
26881 Don't use `goto-line'.
26883 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
26884 (org-edit-src-exit): Don't use `goto-line'.
26886 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
26888 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
26889 Don't use `goto-line'.
26891 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
26893 * org-colview.el (org-columns, org-columns-redo)
26894 (org-agenda-columns): Don't use `goto-line'.
26896 * org-agenda.el (org-agenda-mode): Force visual line motion off.
26897 (org-agenda-add-entry-text-maxlines): Improve docstring.
26898 (org-agenda-start-with-entry-text-mode): New option.
26899 (org-agenda-entry-text-maxlines): New option.
26900 (org-agenda-entry-text-mode): New variable.
26901 (org-agenda-mode): Set initial value of
26902 `org-agenda-entry-text-mode'.
26903 (org-agenda-mode-map): Add the `E' key.
26904 (org-agenda-menu): Add entry text mode to the menu.
26905 (org-agenda-get-some-entry-text): Fix line count bug.
26906 (org-finalize-agenda): Apply entry text mode if appropriate.
26907 (org-agenda-entry-text-show-here): New function.
26908 (org-agenda-entry-text-show): New function.
26909 (org-agenda-entry-text-hide): New function.
26910 (org-agenda-view-mode-dispatch): Add entry text mode to the view
26912 (org-agenda-entry-text-mode): New command.
26913 (org-agenda-set-mode-name): Add entry text mode to the mode line
26915 (org-agenda-undo, org-agenda-get-restriction-and-command)
26916 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
26919 2009-09-02 Bernt Hansen <bernt@norang.ca>
26921 * org-clock.el (org-notify): Bugfix.
26923 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
26925 * org-agenda.el (org-agenda-open-link): Handle multiple links and
26926 check for after-string.
26928 * org-gnus.el (org-gnus-store-link): Simplify.
26930 * org.el (org-latex-regexps): Don't add extra empty lines for
26933 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
26935 * org-agenda.el (org-agenda-get-some-entry-text): New function.
26936 (org-agenda-add-entry-text):
26937 Use `org-agenda-get-some-entry-text'.
26939 * org.el (org-cycle-separator-lines): Update docstring.
26940 (org-cycle-show-empty-lines): Handle negative values for
26941 `org-cycle-show-empty-lines'.
26943 * org-exp.el (org-export-protect-sub-super): New function.
26944 (org-export-normalize-links): Protect the url of plain links from
26945 supscript and superscript processing.
26947 * org-remember.el (org-remember-escaped-%): New function.
26948 (org-remember-apply-template): Use `org-remember-escaped-%' to
26949 detect escaped % signs.
26951 2009-09-02 Bastien Guerry <bzg@gnu.org>
26953 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
26954 sound when showing the notification.
26956 * org-clock.el (org-notify): New function.
26957 (org-clock-notify-once-if-expired): Use `org-notify'.
26959 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
26960 and `gnus-article-mode' separately.
26961 (gnus-summary-article-header): Fix the declare-function.
26963 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
26965 * org-exp.el (org-export-format-source-code-or-example):
26966 Translate language.
26968 * org-src.el (org-src-lang-modes): New variable.
26969 (org-edit-src-code): Translate language.
26971 * org-exp.el (org-export-format-source-code-or-example): Deal wit
26972 the new structure of the `org-export-latex-listings-langs'
26975 * org-latex.el (org-export-latex-listings-langs): Change structure
26976 of the variable from plist to alist.
26978 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
26980 * org.el (org-in-commented-line): New function.
26982 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
26984 * org.el (org-hide-block-toggle): Make folded blocks searchable.
26986 2009-09-02 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
26988 * org.el (org-flag-drawer): More useful error.
26990 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
26992 * org-remember.el (org-remember-apply-template):
26993 Use org-icompleting-read.
26995 * org-publish.el (org-publish): Use org-icompleting-read.
26997 * org-colview.el (org-columns-edit-value, org-columns-new)
26998 (org-insert-columns-dblock): Use org-icompleting-read.
27000 * org-attach.el (org-attach-delete-one, org-attach-open):
27001 Use org-icompleting-read.
27003 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27005 * org.el (org-hierarchical-todo-statistics): Improve docstring.
27006 (org-version): Return the version text.
27007 (org-org-menu): Add a menu entry for the new bug reporter.
27008 (org-submit-bug-report): New command.
27010 * org-list.el (org-hierarchical-checkbox-statistics):
27013 * org.el (org-emphasis-regexp-components): Add "`" to set of
27014 pre-emphasis characters.
27016 * org-latex.el (org-export-latex-classes): Always include the soul
27018 (org-export-latex-emphasis-alist): Use \st for strikethough.
27020 * org-exp-blocks.el (org-export-blocks-preprocess):
27021 Use `indent-code-rigidly' to indent.
27023 * org-agenda.el (org-agenda-get-restriction-and-command):
27024 Remove properties only if MATCH really is a string.
27026 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27028 * org-latex.el (org-export-latex-packages-alist):
27029 Fix customization type.
27031 * org.el (org-create-formula-image): Also use
27032 `org-export-latex-packages-alist'.
27034 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
27035 (org-export-as-html): Format footnotes correctly.
27037 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27039 * org.el (org-fast-tag-selection): Avoid text properties on tags
27042 * org-agenda.el (org-agenda-get-restriction-and-command):
27043 Avoid text properties on the match element.
27045 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27047 * org.el (org-set-regexps-and-options): Make sure the list of done
27048 keywords is not invalid.
27050 * org-exp.el (org-export-interpolate-newlines): New function.
27052 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27054 * org.el (org-format-latex): Avoid nested overlays.
27056 * org-latex.el (org-export-latex-listings-langs): Add a few more
27059 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
27060 ignore newlines and space before the first macro argument.
27062 * org-latex.el (org-export-latex-tables): Remove save-excursion
27063 around `org-table-align'.
27065 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27067 * org.el (org-export-html-special-string-regexps):
27068 Definition moved into org.el.
27070 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
27073 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27075 * org-latex.el (org-export-latex-listings)
27076 (org-export-latex-listings-langs): New options.
27078 * org-exp.el (org-export-format-source-code-or-example):
27079 Use listing package if requested by the user.
27081 2009-09-02 Bastien Guerry <bzg@gnu.org>
27083 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
27084 command before actually switching to a buffer.
27086 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27088 * org-exp.el (org-get-file-contents): Only quote org lines when
27089 the markup is src or example.
27091 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
27093 (org-agenda-get-day-entries): Remember deadline results and pass
27094 them on into the function getting the scheduling information.
27095 (org-agenda-get-scheduled): Accept deadline results as parameters
27096 and maybe skip some entries.
27097 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
27099 * org.el (org-insert-heading): When respecting content, do not
27100 convert current line to headline.
27102 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
27103 Also cheeeeeck the hd marker.
27104 (org-clock-in): Also set the hd marker.
27105 (org-clock-out): Also set the hd marker.
27106 (org-clock-cancel): Reset markers.
27108 * org.el (org-clock-hd-marker): New marker.
27110 * org-faces.el (org-agenda-clocking): New face.
27112 * org-agenda.el (org-agenda-mark-clocking-task): New function.
27113 (org-finalize-agenda): Call `org-agenda-mark-clocking-task'.
27115 * org.el (org-modules): Add org-track.el.
27117 * org-agenda.el (org-agenda-bulk-marked-p): New function.
27118 (org-agenda-bulk-mark, org-agenda-bulk-unmark):
27119 Use `org-agenda-bulk-marked-p'.
27120 (org-agenda-bulk-toggle): New command.
27122 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
27124 * org.el (org-move-subtree-down): Hide subtree if it was folded,
27127 * org-remember.el (org-remember-finalize): Avoid buffer-modified
27130 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
27132 * org-html.el (org-export-as-html):
27133 * org-docbook.el (org-export-as-docbook):
27134 Use (default-value 'major-mode) instead of default-major-mode.
27136 2009-08-08 Carsten Dominik <carsten.dominik@gmail.com>
27138 * org-docbook.el: Add arch-tag.
27140 * org-exp-blocks.el: Add arch-tag.
27142 * org-id.el: Add arch-tag.
27144 * org-indent.el: Add arch-tag.
27146 * org-inlinetask.el: Add arch-tag.
27148 * org-protocol.el: Add arch-tag.
27150 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27152 * org.el (org-create-formula-image): Remove the -E option for
27155 * org-exp.el (org-default-export-plist): Respect #+BIND.
27156 (org-export-confirm-letbind): New function.
27158 * org.el (org-paste-subtree): Test the kill ring entry if it is
27160 (org-copy-subtree): Use `org-forward-same-level'.
27161 (org-forward-same-level): Respect the `invisibe-ok' arg for
27164 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27166 * org.el (org-table-map-tables): Make sure cursor is back at table
27167 beginning after funcall.
27169 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
27170 handled before children, and do not error if an entry is not
27171 found, probably because it hase been remove when the parent was
27172 archived or refiled.
27174 * org.el (org-ido-completing-read): Accept straight lists for
27175 completion as well as alists.
27177 * org-timer.el (org-timer-cancel-timers): Rename from
27178 `org-timer-cancel-timers'.
27180 * org.el (org-cycle-internal-local): Fix problem with finding next
27183 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27185 * org-list.el (org-list-send-list):
27186 Call `org-list-goto-true-beginning' instead of
27187 `org-list-find-true-beginning', which does not exist.
27189 * org-timer.el (org-timer-reset-timers): Use `mapc'.
27190 (org-timer-set-timer): Do not assign to heading.
27192 * org-id.el (org-id-open): Quote function name.
27194 * org-macs.el (org-unmodified): Turn off recording undo
27195 information while running inside the macro.
27197 * org-table.el (org-table-export): Also work in file-less
27200 * org.el (org-startup-indented): New option.
27201 (org-startup-options): Add new options indent and noindent.
27202 (org-unfontify-region): Remove line-prefix and wrap-prefix
27204 (org-after-demote-entry-hook, org-after-promote-entry-hook):
27206 (org-promote, org-demote): Run the new hooks.
27208 * org-table.el (org-table-align): Replace leading \n as well.
27210 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
27211 and `line-wrap' text properties.
27213 * org-compat.el (org-kill-new): New function.
27215 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
27216 `line-wrap' text properties.
27218 * org-indent.el: New file.
27220 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27222 * org.el (org-provide-todo-statistics): Tweak docstring.
27224 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
27226 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27228 * org-exp.el (org-export-as-org): Insert the "-source" string
27229 before the extension.
27231 * org.el (org-read-date): Make sure the calendar is in the current
27233 (org-set-emph-re): Remove the ? from the post-match.
27234 (org-emphasis-regexp-components): Add backslash to the
27236 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
27237 optional so that also lines at the end of the buffers will still
27238 be matched as headlines.
27240 * org-table.el (org-table-error-on-row-ref-crossing-hline):
27241 Variable made obsolete.
27242 (org-table-relative-ref-may-cross-hline): New option.
27243 (org-table-find-row-type): Honow the new option
27244 `org-table-relative-ref-may-cross-hline'.
27246 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27248 * org-table.el (org-table-cut-region, org-table-copy-region):
27249 Work on single field if no active region.
27251 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27253 * org-latex.el (org-export-latex-make-header): Only insert title
27256 * org.el (org-make-options-regexp): Allow empty values.
27258 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27260 * org.el (org-cycle-internal-local): Improve version of finding
27262 (org-cycle-hide-drawers): Only hide drawers if this is really
27264 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
27265 org-version of this function in Org-mode. We use advice to
27266 implement this change, so that future changes to this function in
27267 outline.el wil be handled properly.
27268 (org-forward-same-level, org-backward-same-level): New commands.
27270 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27272 * org.el (org-remove-empty-overlays-at)
27273 (org-clean-visibility-after-subtree-move): New functions.
27274 (org-move-subtree-down): Simplify cleanup of display.
27276 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27278 * org-mac-message.el (org-mac-message-get-links): Improve
27279 docstring. Make argument SELECT-OR-FLAGGED optional, default to
27280 "s". Fix the return value.
27281 (org-mac-message-insert-flagged): Simplify.
27283 * org.el (org-refile-get-location): Tamper with refile history o
27284 that history contains compete matches instead of the entered
27287 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27289 * org.el (org-store-link): Never store a link to an inline task.
27291 * org-footnote.el (org-footnote-goto-local-insertion-point):
27292 Skip inline tasks when positioning footnotes.
27294 * org.el (org-refile): Remove the END line when archiving an
27295 inline task that does have an END line.
27297 * org-archive.el (org-archive-subtree): Remove the END line when
27298 archiving an inline task that does have an END line.
27300 * org-macs.el (org-with-limited-levels): New macro.
27301 (org-get-limited-outline-regexp): New function.
27303 * org-exp.el (org-export-format-source-code-or-example): Fix bug
27304 that did not enumerate first line.
27305 (org-export-mark-radio-links): Skip matches in links.
27307 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27309 * org.el (org-activate-plain-links): Make single-match.
27310 (org-adapt-indentation): Fix docstring.
27312 * org-macs.el (org-unmodified): Turn of modification hooks while
27313 running this macro.
27315 2009-08-06 Bastien Guerry <bzg@gnu.org>
27317 * org.el (org-adapt-indentation): Slightly improve the docstring.
27318 (org-occur): Sends an error when the user inputs an empty string.
27319 (org-priority): Bugfix: the tag alignement should happen within
27322 2009-08-06 Bastien Guerry <bzg@gnu.org>
27324 * org.el (org-make-link-regexps): Don't exclude parentheses from
27325 `org-plain-link-re'.
27326 (org-cycle-internal-local): When locally cycling, switch directly
27327 from CHILDREN to FOLDED if there is no subtree.
27328 (org-cycle): Update the docstring to document the new behavior of
27329 `org-cycle-internal-local'.
27331 2009-08-06 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
27333 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
27334 an abbreviated format for days.
27336 2009-08-06 Bastien Guerry <bzg@gnu.org>
27338 * org-protocol.el (org-protocol-default-template-key):
27341 * org.el (org-refile): Bugfix: save-excursion before reading the
27342 refile target, otherwise cursor moves might confuse `org-refile'.
27344 * org.el (org-toggle-heading): Bugfix: correctly convert list
27345 items before the first headline.
27347 * org.el (org-provide-todo-statistics): Allow a list of TODO
27348 keywords to compute statistics against headlines containing a
27349 keyword from this list.
27350 (org-update-parent-todo-statistics): Possibly use the new allowed
27351 value of `org-provide-todo-statistics'.
27353 2009-08-06 Bastien Guerry <bzg@gnu.org>
27355 * org-timer.el: Add autoload cookie.
27357 * org.el (org-occur-link-in-agenda-files): New function.
27359 * org-timer.el (org-timer-last-timer): New variable.
27361 * org-agenda.el (org-agenda-mode-map): New key for
27362 org-timer-set-timer called from the agenda.
27364 * org.el (org-mode-map): New key for org-timer-set-timer.
27366 * org-timer.el (org-timer-reset-timers)
27367 (org-timer-show-remaining-time, org-timer-set-timer):
27370 * org-clock.el (org-show-notification): Update the docstring.
27372 * org.el (org-provide-todo-statistics): Allow new value
27373 'all-headlines for this option, which includes entries with no
27374 TODO keywords in the todo statistics.
27375 (org-update-parent-todo-statistics): Possibly use the new
27376 'all-headline value from `org-provide-todo-statistics'.
27378 2009-08-06 Bastien Guerry <bzg@gnu.org>
27380 * org-clock.el (org-dblock-write:clocktable): Add a new option
27381 :timestamp which allows display of timestamps in clock reports.
27383 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
27384 list to a subtree, preserving the structure of the list.
27385 (org-set-emph-re): Make the last element optional in the regexp.
27386 This regexp now matches an emphasized string at the end of a line.
27388 * org-list.el (org-list-goto-true-beginning)
27389 (org-list-make-subtree, org-list-make-subtrees): New functions.
27391 * org.el (org-eval-in-calendar): Select the right frame.
27392 (org-save-frame-excursion): Remove this macro.
27394 2009-08-06 Bastien Guerry <bzg@gnu.org>
27396 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
27397 trying to find the beginning of a list.
27399 * org-exp.el (org-get-file-contents): Use a new argument: markup.
27400 When present, tell org-get-file-contents not to protect org-like
27403 * org-id.el (org-id-uuid-program): New option to set the name of
27404 the uuidgen program.
27405 (org-id-method): Use `org-id-uuid-program'.
27406 (org-id-new): Use `org-id-uuid-program'.
27408 2009-08-06 Bastien Guerry <bzg@gnu.org>
27410 * org-exp.el (org-export-number-lines): Allow whitespace in code
27411 references. Allow the -r switch to remove the references in the
27412 source code even when the lines are not numbered: the labels can
27413 be explicit enough.
27415 * org.el (org-fontify-whole-heading-line): New option.
27416 (org-set-font-lock-defaults): Use the new option.
27418 * org-clock.el (org-show-notification-handler): New option.
27419 (org-show-notification): Use the new option.
27421 2009-08-06 Bastien Guerry <bzg@gnu.org>
27423 * org.el (org-eval-in-calendar): Fix a bug about calendar
27424 navigation when `calendar-setup' value is 'calendar-only.
27426 2009-08-06 Bastien Guerry <bzg@gnu.org>
27428 * org.el (orgstruct++-mode): Fix typo in docstring.
27429 (org-insert-link): Clean up: (or (...)) => (...)
27430 (org-insert-link): Use TAB for stored links completion.
27432 2009-08-06 Bastien Guerry <bzg@gnu.org>
27434 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
27435 building the list of targets.
27437 * org-remember.el (org-remember-delete-empty-lines-at-end):
27439 (org-remember-handler): Use the new option.
27441 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
27443 * org.el (org-tags-sort-function): New option for sorting tags.
27444 (org-set-tags): Use the new option to sort tags.
27446 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
27447 premature deletion of the data when using org-plot in a script.
27449 2009-08-06 Bastien Guerry <bzg@gnu.org>
27451 * org-clock.el (org-clock-in-prepare-hook): New hook.
27452 (org-clock-in): Use this new hook.
27454 2009-08-06 Bastien Guerry <bzg@gnu.org>
27456 * org.el (org-special-ctrl-a/e): Explicitly bind the value
27457 'reversed for this option to the "true line boundary first"
27459 (org-tags-match-list-sublevels): Document the 'indented value for
27462 * org-latex.el (org-export-latex-first-lines): Fix problem with
27463 publishing the region.
27465 * org-exp.el (org-export-format-source-code-or-example):
27466 Fix bad line numbering when exporting examples in HTML.
27468 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
27470 * org-colview.el (org-format-time-period): Formats a time in
27471 fractional days as days, hours, mins, seconds.
27472 (org-columns-display-here): Add special handling for SINCE and
27473 SINCE_IA to format for display.
27475 * org.el (org-time-since): Add a function to get the time since an
27477 (org-entry-properties): Add two new special properties: SINCE and
27478 SINCE_IA. These give the time since any active or inactive
27479 timestamp in an entry.
27480 (org-special-properties): Add SINCE, SINCE_IA.
27481 (org-tags-sort-function): Add custom declaration for tags
27483 (org-set-tags): Sort tags if org-tags-sort-function is set.
27485 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27487 * org-clock.el (org-clock-goto): Find hidden headlines as well.
27489 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
27491 * org-plot.el (org-plot/add-options-to-plist): Add timeind
27494 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27496 * org-publish.el (org-publish-remove-all-timestamps): New function.
27497 (org-publish-all): Remove all timestamp files if `org-publish-all'
27498 is called with a prefix argument.
27500 * org-list.el (org-indent-item): Fix typo.
27501 (org-item-indent-positions): Normalize ordered bullet.
27503 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27505 * org-macs.el (org-set-local): Make a local variable, do not make
27506 the variable buffer-local!
27508 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
27510 * org-exp.el (org-infile-export-plist): Read BIND lines.
27511 (org-install-letbind): New function.
27512 (org-export-as-org, org-export-preprocess-string):
27513 Call `org-install-letbind'.
27515 * org-list.el (org-list-demote-modify-bullet): New option.
27516 (org-first-list-item-p): Save point.
27517 (org-fix-bullet-type): New optional argument FORCE-BULLET.
27518 (org-indent-item): Honor `org-list-demote-modify-bullet'.
27519 (org-item-indent-positions): Return bullet types along with
27522 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27524 * org.el (org-show-entry): Hide drawers.
27526 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27528 * org-footnote.el (org-footnote-auto-adjust): New option.
27529 (org-footnote-auto-adjust-maybe): New function.
27530 (org-footnote-new, org-footnote-delete):
27531 Call `org-footnote-auto-adjust-maybe'.
27533 * org.el (org-startup-options): Add new footnote-related
27536 * org-publish.el (org-publish-timestamp-filename): Additional
27537 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
27538 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
27539 TRUE-PUB-DIR. Pass them through to
27540 `org-publish-timestamp-filename'.
27541 (org-publish-update-timestamp): Additional arguments PUB-DIR and
27542 PUB-FUNC, which are included in the hash.
27543 (org-publish-file): Delay timestamp test until the publishing
27546 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27548 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
27549 setting the deadline.
27551 * org.el (org-read-date-final-answer): New variable.
27552 (org-read-date): Store the final answer string, including the date
27553 from the calendar, for reuse by agenda bulk commands.
27555 * org-publish.el (org-publish-attachment): Fix publishing of
27558 * org-latex.el (org-export-latex-quotation-marks): Fix export of
27559 quotation makrs in parenthesis.
27560 (org-remove-initial-hash): New function.
27561 (org-export-latex-preprocess): Fix bug with infinite loop if
27562 environment is not properly closed.
27564 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
27567 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
27568 highlight also when indented.
27570 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27572 * org-footnote.el (org-footnote-renumber-fn:N): New command.
27573 (org-footnote-action): Offer renumbering.
27575 * org.el (org-cycle): Honor the `integrate' value of
27576 org-cycle-include-plain-lists'.
27578 * org-list.el (org-cycle-include-plain-lists): New allowed value
27579 `internal'. Improve the docstring.
27581 * org.el (org-set-autofill-regexps): Improve the paragraph-start
27582 regexp to work better with LaTeX commands.
27584 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27586 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
27587 and eps extensions.
27589 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27591 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
27594 * org.el (org-map-entries): No longer force
27595 `org-tags-match-list-sublevels' to t during a todo-only tags
27598 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27600 * org-latex.el (org-export-latex-low-levels): Allow user-defined
27602 (org-export-latex-subcontent): Handle user-defined environment.
27604 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
27605 the View dispatcher.
27607 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
27610 * org-latex.el (org-export-as-pdf): Protect match data during call
27611 to shell-quote-argument.
27613 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
27614 (org-agenda-view-mode-dispatch): New function.
27616 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27618 * org-agenda.el (org-agenda-mode): Reset list of marks.
27619 (org-agenda-mode-map): Define new keys for refile and bulk action.
27620 (org-agenda-menu): Add menu itesm for refile and bulk action.
27621 (org-agenda-refile): New function.
27622 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
27623 (org-agenda-marked-entries): New variable.
27624 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
27625 (org-agenda-remove-all-bulk-action-marks)
27626 (org-agenda-bulk-action): New functions/commands.
27628 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27630 * org-exp.el (org-get-file-contents): Protect org-like lines in
27632 (org-export-format-source-code-or-example): Remove newlines.
27634 * org-latex.el (org-export-latex-links): Check for no-description
27637 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
27638 argument separator back to comma.
27639 (org-export-normalize-links): Mark links without description.
27641 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27643 * org-exp.el (org-infile-export-plist): Fix bug in macro
27646 * org-agenda.el (org-agenda-clock-out): Update line after clocking
27648 (org-agenda-highlight-todo): Fix bug with highlighting.
27650 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27652 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
27653 new alignment strings.
27655 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
27657 (org-table-align): Check for forced align type.
27659 * org.el (org-self-insert-command): Add yas/expand to command
27662 * org-clock.el (org-clock-in-hook): New hook.
27663 (org-clock-in): Run `org-clock-in-hook.
27664 (org-clock-out-hook): New hook.
27665 (org-clock-out): Run `org-clock-out-hook.
27666 (org-clock-cancel-hook): New hook.
27667 (org-clock-cancel): Run `org-clock-cancel-hook.
27668 (org-clock-goto-hook): New hook.
27669 (org-clock-goto): Run `org-clock-goto-hook.
27671 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27673 * org.el (org-store-link): Better default description for link to
27676 * org-exp.el (org-export-generic): Autoload the generic exporter
27678 (org-export): Implement the `g' key for the generic exporter.
27680 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27682 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
27685 * org-exp.el (org-infile-export-plist): Get macros also from
27688 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27690 * org-colview.el (org-columns-capture-view): Protect vertical bars
27692 (org-columns-capture-view): Exclude comment and archived trees.
27694 * org.el (org-quote-vert): New function.
27696 * org-latex.el (org-export-latex-verbatim-wrap): New option.
27698 * org-exp.el (org-export-format-source-code-or-example):
27699 Use `org-export-latex-verbatim-wrap'.
27701 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
27704 2009-08-06 Eric Schulte <schulte.eric@gmail.com>
27706 * org-exp-blocks.el: New file.
27708 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27710 * org-remember.el (org-remember-templates): Allow the headline
27711 element to be a function.
27712 (org-remember-apply-template): If the headline is a function, call
27713 it to get the true function.
27715 * org-clock.el (org-clock-menu): New function.
27716 (org-clock-update-mode-line): Update help string.
27717 (org-clock-modify-effort-estimate): New function.
27718 (org-clock-mark-default-task): New function.
27720 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
27722 (org-org-menu): Add new clocking stuff.
27723 (org-clock-is-active): New function.
27725 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27727 * org.el (org-open-non-existing-files): Improve docstring.
27729 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27731 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries):
27733 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
27735 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
27737 * org-list.el (org-get-checkbox-statistics-face): Use the new
27740 * org-faces.el (org-checkbox-statistics-todo)
27741 (org-checkbox-statistics-done): New faces.
27743 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27745 * org-latex.el (org-export-latex-use-verb): New variable.
27746 (org-export-latex-emph-format): Prefer \texttt over \verb when
27747 org-export-latex-use-verb is set.
27749 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27751 * org-remember.el (org-remember-handler): Abort remember if the
27754 * org-exp.el (org-export-format-source-code-or-example):
27755 Run `org-src-mode-hook'.
27757 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27759 * org.el (org-indent-line-function): Fix indentation of +#end lines.
27761 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
27763 * org-gnus.el (org-gnus-store-link): Require message.el in
27764 org-gnus-store-link.
27766 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27768 * org-src.el: New file, split out of org.el.
27770 * org-macs.el (org-replace-match-keep-properties): New function.
27772 * org-exp.el (org-export-mark-blockquote-verse-center):
27773 Better preprocessing of center and quote and verse blocks.
27775 * org-list.el (org-list-end): Respect the stored "original"
27776 indentation when determining the end of the list.
27778 * org-exp.el (org-export-replace-src-segments-and-examples):
27779 Remember indentation correctly.
27781 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27783 * org-clock.el (org-clock-update-mode-line): Apply face
27784 org-mode-line-clock.
27786 * org-faces.el (org-mode-line-clock): New face.
27788 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
27790 * org-gnus.el (org-gnus-store-link): Fix bug where
27791 `org-gnus-store-link' used wrong subject when called in an article
27792 buffer. Patch provided by fengli AT gmail DOT com.
27794 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27796 * org-exp.el (org-export-format-source-code-or-example):
27797 Remember the original indentation of source code snippets and examples.
27799 * org-latex.el (org-export-as-latex): Relocate the table of
27802 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
27804 * org-agenda.el (org-run-agenda-series): Scope global options also
27805 when creating the agenda buffer.
27807 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27809 * org.el (org-adapt-indentation): Improve documentation.
27810 (org-insert-property-drawer): Respect org-adapt-indentation when
27811 inserting the drawer.
27812 (org-remove-flyspell-overlays-in): New function.
27813 (org-do-emphasis-faces, org-activate-plain-links)
27814 (org-activate-code, org-fontify-meta-lines-and-blocks)
27815 (org-activate-angle-links, org-activate-footnote-links)
27816 (org-activate-bracket-links, org-activate-dates)
27817 (org-activate-target-links, org-activate-tags): Remove flyspell
27820 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27822 * org.el (org-edit-src-save): New function.
27824 * org-clock.el (org-clock-out-switch-to-state): New option.
27825 (org-clock-out): Honor `org-clock-out-switch-to-state'.
27827 * org-compat.el (org-compatible-face): Improve macro.
27829 * org.el (org-global-properties-fixed): Add default for
27830 CLOCK_MODELINE_TOTAL.
27832 * org-clock.el (org-clock-sum): Accept lists and strings as tstart
27834 (org-clock-sum-current-item): Optional argument TSTART, pass it to
27836 (org-clock-get-sum-start): New function.
27838 * org.el (org-startup-options): New keywords blockhide and
27840 (org-mode): Add new invisibility spec.
27841 (org-set-startup-visibility): Hide block on startup if so
27843 (org-hide-block-startup): New option.
27844 (org-block-regexp): New constant.
27845 (org-hide-block-overlays): New variable.
27846 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
27847 (org-show-block-all, org-hide-block-toggle-maybe)
27848 (org-hide-block-toggle): New functions.
27849 (org-edit-src-exit): Do not quote lines starting with # and no +
27851 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
27854 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27856 * org.el (org-buffer-property-keys): Add Effort property for
27859 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27861 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
27862 when retrieving total clocked time in the subtree.
27864 * org.el (org-quoting-blocks): New variable.
27866 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27868 * org-table.el (org-table-store-formulas)
27869 (org-table-get-stored-formulas, org-table-fix-formulas)
27870 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
27871 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
27873 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c):
27874 Allow indented #+TBLFM line.
27876 * org-footnote.el (org-footnote-goto-local-insertion-point):
27877 Allow indented #+TBLFM line.
27879 * org-colview.el (org-dblock-write:columnview): Allow indented
27882 * org-clock.el (org-dblock-write:clocktable): Allow indented
27885 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27887 * org-exp.el (org-export-format-source-code-or-example):
27888 Make editing indented blocks work correctly.
27890 * org.el (org-edit-src-nindent): New variable.
27891 (org-edit-src-code, org-edit-fixed-width-region)
27892 (org-edit-src-find-region-and-lang, org-edit-src-exit):
27893 Make editing indented blocks work correctly.
27895 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27897 * org-exp.el (org-export-replace-src-segments-and-examples):
27898 Find indented blocks.
27899 (org-export-format-source-code-or-example): Fix indentation of
27901 (org-export-remove-indentation): New function.
27902 (org-export-select-backend-specific-text): Allow backend-specific
27903 code to be indented.
27904 (org-export-mark-blockquote-verse-center): Allow markers to be
27907 * org.el (org-fontify-meta-lines): New function.
27908 (org-set-font-lock-defaults): Call the new fontification
27911 * org-faces.el (org-meta-line): New face.
27912 (org-block): New face.
27914 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27916 * org.el (org-treat-insert-todo-heading-as-state-change)
27917 (org-treat-S-cursor-todo-selection-as-state-change):
27919 (org-insert-todo-heading):
27920 Honor `org-treat-insert-todo-heading-as-state-change'.
27921 (org-shiftright, org-shiftleft):
27922 Honor `org-treat-S-cursor-todo-selection-as-state-change'.
27923 (org-inhibit-logging): New variable.
27925 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27927 * org-agenda.el (org-remove-subtree-entries-from-agenda):
27928 Reduce range for marker position checking.
27930 * org-latex.el (org-export-latex-first-lines): Fix bug when
27931 exporting a region.
27933 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27935 * org-exp.el (org-export-push-to-kill-ring): Protect using
27936 x-set-selection, because that does not always work.
27938 * org-agenda.el (org-agenda-list): Apply the new face
27939 `org-agenda-date-today'.
27941 * org-faces.el (org-agenda-date-today): New face.
27943 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27945 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
27946 creating appointments.
27948 * org-latex.el (org-export-latex-low-levels): Fix customization
27951 * org.el (org-priority, org-shiftup, org-shiftdown):
27952 Disable priority commands.
27954 * org-agenda.el (org-agenda-priority): Disable priority commands.
27956 * org.el (org-enable-priority-commands): New option.
27958 * org-colview.el (org-columns-compute)
27959 (org-columns-number-to-string): Fix problems with empty fields.
27961 * org-exp.el (org-export-push-to-kill-ring): New function.
27962 (org-export-copy-to-kill-ring): New option.
27964 * org-latex.el (org-export-as-latex):
27965 Call `org-export-push-to-kill-ring'.
27967 * org-exp.el (org-export-show-temporary-export-buffer):
27970 * org-latex.el (org-export-as-latex):
27971 Use `org-export-show-temporary-export-buffer'.
27973 * org-exp.el (org-export-show-temporary-export-buffer):
27975 (org-export-push-to-kill-ring): New function.
27977 * org-colview.el (org-columns-compile-map): New variable.
27978 (org-columns-new, org-columns-compute)
27979 (org-columns-number-to-string, org-columns-uncompile-format)
27980 (org-columns-compile-format): Implement new operators.
27982 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27984 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
27986 * org-list.el (org-update-checkbox-count): Make property
27989 * org.el (org-hierarchical-todo-statistics): New option.
27990 (org-update-parent-todo-statistics): Modify to handle recursive
27993 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
27995 * org-publish.el (org-publish): Make this function behave
27996 correctly in interactive use when called with a prefix argument.
27998 * org.el (org-todo-statistics-hook): New hook.
27999 (org-update-parent-todo-statistics): Use new hook.
28000 (org-log-into-drawer): New function.
28001 (org-add-log-setup): Use the new `org-log-into-drawer' function to
28002 determine if we should be logging into a drawer.
28003 (org-log-into-drawer): Update docstring.
28004 (org-default-properties): Add LOG_INTO_DRAWER as a property.
28006 * org-list.el (org-checkbox-statistics-hook): New hook.
28007 (org-update-checkbox-count-maybe): Use new hook.
28009 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28011 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
28012 better buffer-generating mechanism.
28013 (org-edit-src-find-buffer): New function.
28015 * org-icalendar.el (org-print-icalendar-entries): Don't check for
28016 archive tag, this is already done by `org-agenda-skip'.
28017 data while constructing lost of tags.
28019 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28021 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
28022 as argument separator in macros.
28024 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28026 * org.el (org-after-sorting-entries-or-items-hook): New hook.
28027 (org-sort-entries-or-items): Run the new hook.
28028 (org-after-refile-insert-hook): New hook.
28029 (org-refile): Run `org-after-refile-insert-hook'.
28031 * org-agenda.el (org-agenda-get-progress): Never take time of day
28032 from headline when displaying progress.
28034 * org-latex.el (org-export-latex-complex-heading-re): New variable.
28035 (org-export-as-latex): Force the correct regexp in the
28036 preprocessor buffer.
28037 (org-export-latex-set-initial-vars):
28038 Set `org-export-latex-complex-heading-re'.
28040 * org-agenda.el (org-agenda-start-with-log-mode): New option.
28041 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
28043 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28045 * org-latex.el (org-export-latex-tables-centered): New option.
28046 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
28048 * org-exp.el (org-export-as-org): New command.
28049 (org-export-as-org): New command.
28051 * org-publish.el (org-publish-org-to-org): New function.
28053 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28055 * org.el (org-yank): Just call `org-yank-generic'.
28056 (org-yank-generic): New function, containing the formaer
28057 functionality of `org-yank'.
28059 * org-latex.el (org-export-latex-not-done-keywords)
28060 (org-export-latex-done-keywords): New variables.
28061 (org-export-latex-todo-keyword-markup): New option.
28062 (org-export-latex-set-initial-vars): Remember the TODO keywords.
28063 (org-export-latex-keywords-maybe): Apply the TODO markup.
28065 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28067 * org-exp.el (org-infile-export-plist): Add more default macros.
28068 (org-export-preprocess-apply-macros): Process macro arguments.
28070 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28072 * org-icalendar.el (org-icalendar-include-todo): New allowed value
28074 (org-print-icalendar-entries): Respect the new value of
28075 `org-icalendar-include-todo'.
28077 * org.el (org-link-try-special-completion)
28078 (org-file-complete-link): New functions.
28079 (org-insert-link): Add special completion support for some link
28082 * org-bbdb.el (org-bbdb-complete-link): New function.
28084 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28086 * org-list.el (org-update-checkbox-count): Allow recursive
28088 (org-hierarchical-checkbox-statistics): New option.
28090 * org.el (org-cycle): Remove erraneous space character.
28092 * org-icalendar.el (org-icalendar-timezone): Initialize from
28095 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28097 * org.el (org-autoload): Fix autoloading of ascii export
28099 (org-modules): Add org-special-blocks.
28101 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28103 * org-icalendar.el (org-start-icalendar-file): Use the new option.
28104 (org-ical-timezone): New option.
28106 * org-exp.el (org-export-get-coderef-format): Use the description
28109 * org.el (org-sort-entries-or-items): Improve docstring, and make
28110 better implementation for time sorting.
28112 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28114 * org.el (org-edit-src-persistent-message): New option.
28115 (org-edit-src-code, org-edit-fixed-width-region): Use the new
28118 * org-clock.el (org-clock-insert-selection-line): Fix prefious
28121 * org.el (org-edit-src-code, org-edit-fixed-width-region):
28122 Use separate buffer instead of indirect buffer to edit source code.
28123 (org-edit-src-exit): Make this function work with the new setup.
28125 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
28126 are properly fontified before shown in the selection menu.
28128 * org.el (org-fontify-like-in-org-mode): New function.
28130 * org-latex.el (org-export-latex-links): Use the property list to
28131 retrieve the default image attributes.
28133 * org-exp.el (org-export-plist-vars): Add a new option.
28135 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28137 * org-exp.el (org-export, org-export-visible): Support ASCII
28139 (org-export-normalize-links): Do not protect the description if it
28140 is explicitly given.
28142 * org-list.el (org-reset-checkbox-state-subtree): Move here from
28144 (org-reset-checkbox-state-subtree):
28145 Call `org-reset-checkbox-state-subtree'.
28147 * org-remember.el (org-select-remember-template): For the
28148 selection of a valid template.
28150 * org-latex.el (org-export-region-as-latex): Supply the
28151 force-no-subtree argument.
28152 (org-export-as-latex): Provide better limits when exporting the
28153 first line. When exporting to string, we still want the first
28155 (org-export-latex-first-lines): New argument END, to force the end
28157 (org-export-region-as-latex): Use the property list.
28158 (org-export-as-latex): ????
28160 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28162 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
28163 (org-export-latex-preprocess): Run the new hook.
28165 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
28166 (org-export-preprocess-string): Run the new hook.
28168 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28170 * org-macs.el (org-check-external-command): New defsubst.
28172 * org.el (org-mode-map): New key for reload.
28173 (org-format-latex): Better error message when external programs
28176 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
28178 * org.el (org-sort-entries-or-items): Explicit sorting function
28179 for priorities, needed for XEmacs compatibility.
28181 * org-remember.el (org-remember-apply-template): Improve auto-save
28184 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28186 * org-latex.el (org-export-latex-preprocess): Also protect
28187 environments ending in a star.
28189 * org-list.el (org-at-item-p): Fix regular expression.
28191 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28193 * org.el (org-end-of-subtree): Improve speed.
28195 * org-agenda.el (org-agenda-get-timestamps)
28196 (org-agenda-get-progress, org-agenda-get-deadlines)
28197 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
28198 in particular, wait as long as possible to collect the tags.
28199 (org-stuck-projects): Improve docstring.
28201 * org.el (org-store-link): No errors when getting custom id before
28203 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
28205 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28207 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
28209 * org-protocol.el: Remove dependency on url.el.
28210 (org-protocol-unhex-compound, org-protocol-open-source):
28211 Remove dependency on url.el.
28213 * org-latex.el (org-export-as-pdf):
28214 Use `org-latex-to-pdf-process'.
28216 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28218 * org-latex.el (org-latex-to-pdf-process): New option.
28220 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
28222 (org-agenda-get-timestamps):
28223 Honor `org-agenda-skip-additional-timestamps-same-entry'.
28225 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
28226 (org-clock-goto): Find recent task only if
28227 `org-clock-goto-may-find-recent-task' allows it.
28229 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
28230 drawers, and drawers that are missing the :END: line.
28232 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28234 * org-clock.el (org-clock-goto): Go to recently clocked task if no
28237 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28239 * org.el (org-update-parent-todo-statistics): Check for
28240 STATISTICS_FROM property.
28242 * org-list.el (org-update-checkbox-count): Check for
28243 STATISTICS_FROM property.
28245 * org.el (org-tab-first-hook)
28246 (org-tab-after-check-for-table-hook)
28247 (org-tab-after-check-for-cycling-hook): New hooks.
28248 (org-cycle-internal-global, org-cycle-internal-local):
28249 New functions, split out from `org-cycle'.
28250 (org-cycle): Call the new hooks.
28252 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28254 * org-exp.el (org-export-preprocess-string): Reset the list of
28255 preferred targets for each run of the preprocessor.
28257 * org.el (org-refile-target-verify-function):
28258 Improve documentation.
28259 (org-get-refile-targets): Respect point being moved by the
28260 verification function.
28262 * org-latex.el (org-export-latex-timestamp-keyword-markup):
28264 (org-export-latex-keywords): Use new option.
28266 * org.el (org-rear-nonsticky-at): New defsubst.
28267 (org-activate-plain-links, org-activate-angle-links)
28268 (org-activate-footnote-links, org-activate-bracket-links)
28269 (org-activate-dates, org-activate-target-links)
28270 (org-activate-tags): Place the rear-nonsticky properties at the
28273 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28275 * org-protocol.el (server-edit): Declare `server-edit'.
28276 (org-protocol-unhex-string, org-protocol-unhex-compound):
28278 (org-protocol-check-filename-for-protocol): Call `server-edit'.
28280 * org.el (org-default-properties): New default properteis for
28283 * org-exp.el (org-export-add-subtree-options): Add new properties
28284 for subtree export.
28286 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28288 * org-id.el (org-id-get-with-outline-path-completion): Turn off
28289 org-refile-target-verify-function for the duration of the command.
28291 * org.el (org-link-to-org-use-id): New possible value
28292 `create-if-interactive-and-no-custom-id'.
28293 (org-store-link): Use custom IDs.
28294 (org-link-search): Find custom ID properties from #link.
28295 (org-default-properties): Add CUSTOM_ID for property completion.
28296 (org-refile-target-verify-function): New option.
28297 (org-goto): Turn off org-refile-target-verify-function
28298 for the duration of the command.
28300 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28302 * org-exp.el (org-export-preferred-target-alist): New variable.
28303 (org-export-define-heading-targets): Find the new CUSTOM_ID
28305 (org-export-target-internal-links): Target the custom ids when
28308 * org-latex.el (org-export-latex-preprocess): Better regexp for
28309 matching latex macros with arguments.
28311 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28313 * org-remember.el (org-remember-handler): Allow filing to non-org
28316 2009-08-06 Magnus Henoch <magnus.henoch@gmail.com>
28318 * org-table.el (org-table-fix-formulas): Do not change references
28320 (org-table-get-remote-range): Convert standard coordinates to RC
28323 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
28325 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28327 * org-compat.el (org-sha1-string): Function removed.
28329 * org.el (org-refile-allow-creating-parent-nodes): New option.
28330 (org-refile-get-location): New argument NEW-NODES.
28331 (org-refile): Call `org-refile-get-location' with the new
28333 (org-refile-get-location): Arrange for adding a new child.
28334 (org-refile-new-child): New function.
28336 * org-clock.el: Fix a number of docstrings.
28337 (org-clock-find-position): New argument
28338 FIND-UNCLOSED to make the function find an unclosed clock in the
28340 (org-clock-in): Call `org-clock-find-position' with the new
28341 argument if we might be resuming a clock.
28343 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28345 * org-latex.el (org-export-latex-display-custom-times): New variable.
28346 (org-export-latex-timestamp-markup): New option.
28347 (org-export-latex-set-initial-vars): Remember the local value of
28348 `org-display-custom-times'.
28349 (org-export-latex-content): Process time stamps.
28350 (org-export-latex-time-stamps): New function.
28352 * org-macs.el (org-maybe-intangible): Add intangible property
28353 again to invisible text.
28355 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28357 * org-exp.el (org-default-export-plist): Handle undefined
28360 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28362 * org.el (org-sort-entries-or-items): Match TODO keywords
28363 case-sensitively, when sorting.
28364 (org-priority): Do not match TODO keywords with wrong case.
28366 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28368 * org.el (org-todo): Honor the NOBLOCKING property.
28370 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
28371 NOBLOCKING property.
28373 * org.el (org-scan-tags): Fix bug in tag scanner.
28375 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28377 * org.el (org-modules): Mark obsolete packages.
28379 * org-html.el: New file, split out from org-exp.el.
28381 * org-icalendar.el: New file, split out from org-exp.el.
28383 * org-xoxo.el: New file, split out from org-exp.el.
28385 * org-ascii.el: New file, split out from org-exp.el.
28387 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28389 * org-compat.el (org-find-library-name): New function.
28391 * org.el (org-pre-cycle-hook): New hook.
28392 (org-cycle): Call the new hook in appropriate places.
28393 (org-reload): Only reload files that have been loaded before.
28395 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28397 * org.el (org-set-font-lock-defaults): Enforxe space or line end
28398 after todo keyword.
28399 (org-todo): When changing TODO state, do matching
28401 (org-map-continue-from): New variable.
28402 (org-scan-tags): Respect values in `org-map-continue-from'.
28403 (org-reload): Make XEmacs compatible.
28405 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28407 * org-protocol.el (org-protocol-flatten-greedy): New function.
28408 (org-protocol-flatten): New function.
28410 * org.el (org-open-link-from-string): Pass reference buffer to
28411 `org-open-at-point'.
28412 (org-open-at-point): New optional argument `reference-buffer'.
28414 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28416 * org.el (org-scan-tags): Make tag scan find headline in first
28418 (org-get-refile-targets): Add the naked file name.
28419 (org-refile): Store as top-level entry when only file name was
28422 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
28424 * org.el (org-block-todo-from-children-or-siblings-or-parent):
28425 Rename from org-block-todo-from-children-or-siblings, and
28426 enhanced to look for the parent's status as well.
28428 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
28429 (org-agenda-get-progress): Add first notes line to log entry if so
28432 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28434 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
28435 (org-agenda-cleanup-fancy-diary): Call the new hook.
28437 * org-remember.el (org-remember-apply-template): Take the default
28438 for the annotation from the :annotation property.
28440 * org-mac-message.el (org-mac-message-get-link): Remove the
28442 (org-mac-message-get-link): Return the result.
28444 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28446 * org.el (org-refile-get-location): Add file name only if not
28447 already included in outline path.
28449 * org-faces.el (org-n-level-faces): Fix customization type from
28452 * org-exp.el (org-export-headline-levels): Fix customization type
28453 from number to integer.
28455 * org-agenda.el (org-agenda-confirm-kill)
28456 (org-agenda-custom-commands-local-options)
28457 (org-timeline-show-empty-dates, org-agenda-ndays)
28458 (org-agenda-start-on-weekday, org-scheduled-past-days):
28459 Fix customization type from number to integer.
28461 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28463 * org-protocol.el: Declare some functions.
28465 * org-agenda.el (org-agenda-compare-effort):
28466 Honor `org-sort-agenda-noeffort-is-high'.
28467 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
28468 (org-agenda-compare-effort): Implement the "?" operator for
28469 finding entries without effort setting.
28471 * org.el (org-extract-attributes-from-string): New function.
28473 * org-exp.el (org-export-splice-attributes): New function.
28475 2009-08-06 Bastien Guerry <bzg@gnu.org>
28476 Daniel M German <dmg@uvic.org>
28477 Sebastian Rose <sebastian_rose@gmx.de>
28478 Ross Patterson <me@rpatterson.net>
28480 * org-protocol.el: New file.
28482 2009-08-06 Baoqiu Cui <cbaoqiu@yahoo.com>
28484 * org-docbook.el: New file.
28486 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28488 * org-mouse.el: XEmacs compatibility fixes.
28490 * org.el (org-modules): Add org-inlinetasks.el.
28491 (org-cycle): Implement limiting level on cycling.
28492 (org-move-subtree-down): Fix bug with swapping subtrees at end of
28495 * org-inlinetask.el: New file.
28497 * org.el (org-emphasis-regexp-components): Allow braces in
28498 emphasis pre and post match.
28500 * org-footnote.el (org-footnote-normalize): When only sorting, do
28501 not insert inline notes at the end.
28503 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
28505 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28507 * org.el (org-reftex-citation): New command.
28509 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28511 * org-agenda.el (org-agenda-cmp-user-defined): New option.
28512 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
28514 (org-entries-lessp): Apply the new sorting option.
28516 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
28517 blocker code, when an older sibling has children.
28519 * org-mac-message.el (org-mac-message-get-link): Improve getting
28520 links from multiple selected messages.
28522 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28524 * org-remember.el (org-remember-finalize): Do not set buffer file
28526 (org-remember-handler): Mark buffer as unmodified.
28527 (org-remember-handler): Delete backup file and show message about
28528 remaining backup files.
28529 (org-remember-auto-remove-backup-files): New option.
28531 * org.el (org-store-link): Use buffer name as link description in
28533 (org-ido-switchb): Fix argument bug for completion.
28535 * org-remember.el (org-remember-apply-template): Set local
28536 variable `auto-save-visited-file-name' instead of global one.
28538 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28540 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
28541 (org-agenda-get-todos): Mark file tags as inherited.
28542 (org-agenda-list): Always search diary lines for a time.
28544 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28546 * org-feed.el: New file.
28548 * org-exp.el (org-export-as-html): Close local lists depending on
28549 indentation, also when starting a table.
28551 * org-remember.el (org-remember-backup-directory)
28552 (org-remember-backup-name): New internal variable.
28554 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28556 * org-clock.el (org-clock-out-if-current): Make buffer detection
28557 work in indirect buffers as well.
28559 * org.el (org-emphasis-regexp-components): Add the exxclamation
28560 mark to the post-emphasis characters.
28562 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28564 * org.el (org-read-date-minibiffer-septup-hook): New hook.
28565 (org-read-date): Run the new hook.
28567 * org-mac-message.el (org-mac-flagged-mail): New group.
28568 (org-mac-mail-account): New variable.
28569 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail):
28572 * org-remember.el (org-remember-backup-directory): New variable.
28573 (org-remember-apply-template): Write file to backup directory.
28575 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28577 * org-mouse.el (org-mouse-todo-menu): New function.
28578 (org-mouse-todo-keywords): Function removed.
28579 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
28581 * org-table.el (org-table-beginning-of-field)
28582 (org-table-end-of-field): New commands.
28583 (org-table-previous-field, org-table-beginning-of-field):
28584 Better error messages.
28585 (orgtbl-setup): Include `M-a' and `M-e'.
28587 * org.el (org-backward-sentence, org-forward-sentence):
28590 * org-colview.el (org-colview-initial-truncate-line-value):
28592 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
28593 (org-columns): Remember the value of `truncate-lines'.
28595 * org.el (org-columns-skip-arrchived-trees): New option.
28597 * org-agenda.el (org-agenda-export-html-style): Define color for
28598 org-agenda-done face.
28599 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
28600 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
28602 * org.el (org-scan-tags): Use the new face.
28604 * org-faces.el (org-agenda-done): New face.
28606 * org.el (org-scan-tags): Test the value org
28607 `org-tags-match-list-sublevels'.
28608 (org-tags-match-list-sublevels): New allowed value: indented.
28610 * org-latex.el (org-export-latex-make-header): Apply macros
28613 * org-exp.el (org-export-apply-macros-in-string): New function.
28615 * org-latex.el (org-export-latex-list-parameters): Fix bug
28616 with the definition of a checked box.
28618 * org-clock.el (org-clock-find-position): Fix drawer indentations.
28620 * org-latex.el (org-export-latex-low-levels): More options
28621 for how to process lower levels in LaTeX.
28622 (org-export-latex-subcontent): Better treatment for lists as a
28623 means of publishing lower levels.
28625 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28627 * org.el (org-set-font-lock-defaults): Use new checkbox face.
28629 * org-faces.el (org-checkbox): New face.
28631 * org-exp.el (org-export-html-preprocess): Only create LaTeX
28632 fragement images if there is an export file.
28634 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28636 * org-agenda.el (org-stuck-projects): Document that the subtree of
28637 projects that are not stuck will now be searched for stuck
28639 (org-agenda-skip-entry-when-regexp-matches)
28640 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
28641 (org-agenda-list-stuck-projects):
28642 Use `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
28644 * org-latex.el (org-export-latex-preprocess):
28645 Improve export of verses.
28647 * org-exp.el (org-export-as-html): Implement centering as a div
28648 rather than a paragraph. Do a better job with line-end in verse
28651 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28653 * org.el (org-open-at-point): Fix tags searches by mouse click.
28655 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28657 * org-latex.el (org-export-latex-preprocess): Implement the
28660 * org-exp.el (org-export-mark-blockquote-verse-center):
28661 Rename from `org-export-mark-blockquote-and-verse'.
28662 (org-export-as-html): Implement the centering markup.
28664 * org-latex.el (org-export-latex-tables): Fix vertical
28667 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28669 * org.el (org-read-date-history): New variable.
28670 (org-read-date): Use new history variable.
28671 (org-toggle-heading): Fix bug when used before first headline.
28672 (org-store-log-note): Remove drawer if empty while note is
28674 (org-remove-empty-drawer-at): New function.
28675 (org-check-after-date): New command.
28676 (org-sparse-tree): New sparse tree command "a".
28678 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
28680 2009-08-06 Bastien Guerry <bzg@gnu.org>
28682 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
28683 column and a space, not only a column.
28685 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28687 * org-latex.el (org-export-latex-emphasis-alist):
28688 Better defaults for verbose emphasis.
28689 (org-export-latex-emph-format): New function.
28690 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
28692 * org-agenda.el (org-agenda-menu): Add new commands to menu.
28693 (org-agenda-do-date-later, org-agenda-do-date-earlier)
28694 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
28695 (org-agenda-date-later-hours, org-agenda-date-earlier-hours):
28698 * org.el (org-timestamp-change): Move end-time along with start
28701 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28703 * org-exp.el (org-export-target-internal-links)
28704 (org-export-as-html): Protect links specified as #name.
28706 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28708 * org.el (org-clone-subtree-with-time-shift): New command.
28710 * org-latex.el (org-export-latex-special-chars)
28711 (org-export-latex-treat-sub-super-char): Fix subscript export.
28713 * org-exp.el (org-create-multibrace-regexp): Do not add
28714 backslashes to the class.
28716 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28718 * org-colview.el (org-columns-map): Better functions for moving up
28719 and down a row, even if `truncate-line' is nil.
28721 * org.el (org-insert-todo-heading): Make sure the keyword is
28722 inserted at the correct position.
28724 * org-publish.el (org-publish-project-alist)
28725 (org-publish-projects, org-publish-org-index): Change default anme
28726 for the index of file names to "sitemap.org".
28728 * org-latex.el (org-export-latex-tables):
28729 Use `org-split-string', for Emacs 21 compatibility.
28731 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28733 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
28735 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28737 * org-exp.el (org-export-page-description)
28738 (org-export-page-keywords): New variables.
28739 (org-export-plist-vars): Add entries for :keywords and
28741 (org-infile-export-plist): Parse for new keywords.
28742 (org-get-current-options): Add new keywords.
28743 (org-export-as-html): Publish description and keywords.
28745 * org-agenda.el (org-agenda-add-entry-text-descriptive-links):
28747 (org-agenda-add-entry-text):
28748 Honor `org-agenda-add-entry-text-descriptive-links'.
28750 * org-latex.el (org-export-latex-preprocess): Make all
28751 external preprocess functions use a PARAMETER arg.
28753 * org-exp.el (org-export-preprocess-string)
28754 (org-export-select-backend-specific-text)
28755 (org-export-format-source-code-or-example)
28756 (org-format-org-table-html): Support docbook export.
28757 (org-export-preprocess-string): Make all external preprocess
28758 functions use a PARAMETER arg.
28760 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28762 * org-exp.el (org-export-html-style-include-scripts): New option.
28763 (org-export-plist-vars): Add new option
28764 `org-export-html-style-include-scripts'.
28765 (org-export-as-html): Honor new option
28766 `org-export-html-style-include-scripts'.
28767 (org-export-html-scripts, org-export-html-style-default):
28768 Fix xml issues with the Safari browser.
28770 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28772 * org-publish.el (org-publish-attachment): Only copy file when the
28773 directories differ.
28775 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28777 * org-clock.el (org-clocktable-steps): Use inactive time stamps
28778 for clocktable steps.
28780 * org.el (org-additional-option-like-keywords): Add two more
28783 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28785 * org-exp.el (org-export-format-source-code-or-example):
28786 Mark temporary buffer unmodified, so that it will be killed even if
28787 mode like message mode has decided to assign a file name.
28789 * org.el (org-scan-tags): Improve tag inheritance.
28790 (org-scan-tags, org-make-tags-matcher): Make tag comparison
28792 (org-scan-tags): Use the internal tags list instead of creating it
28794 (org-trust-scanner-tags, org-scanner-tags): New variables.
28795 (org-scan-tags): Set `org-scanner-tags'.
28796 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
28797 (org-map-entries): Document the possible speedup using scanner
28800 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28802 * org.el (org-add-planning-info): Fix bug with looking for keyword
28805 * org-agenda.el (org-agenda-custom-commands-local-options):
28806 Add option for tags filter preset.
28807 (org-prepare-agenda): Store filter preset as a property on the
28809 (org-finalize-agenda): Call the filter, if there is a preset.
28810 (org-agenda-filter-by-tag): Filter again after clearing the
28811 filter, when there still is a preset.
28812 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
28813 Include the preset filter.
28814 (org-agenda-redo): Apply the filter again, also the preset filter.
28816 * org-exp.el (org-export-as-html): Use IDs in the correct way.
28818 * org.el (org-uuidgen-p): New function.
28820 * org-agenda.el (org-agenda-fontify-priorities): New default value
28822 (org-agenda-fontify-priorities): Rename from
28823 org-fontify-priorities.
28825 * org.el (org-set-font-lock-defaults):
28826 Call `org-font-lock-add-priority-faces'.
28827 (org-font-lock-add-priority-faces): New function.
28829 * org-faces.el (org-set-tag-faces): New option.
28830 (org-priority-faces): New variable.
28832 * org-exp.el (org-export-as-html): Add a "content" div around the
28833 entire content of the body tag.
28834 (org-export-html-get-bibliography): New function.
28835 (org-export-html-validation-link): New variable.
28836 (org-export-as-html): Add validation link to exported page.
28838 * org.el (org-match-sparse-tree): Rename from
28839 `org-tags-sparse-tree'.
28840 (org-tags-sparse-tree): New alias.
28842 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28844 * org.el (org-get-valid-level): Catch the case where the level
28847 * org-clock.el (org-clock-find-position): Better indentation of
28850 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28852 * org-agenda.el (org-agenda-quit): Delete window only when the
28853 frame-setup was not `current-window'.
28855 * org.el (org-tag-persistent-alist): New option.
28856 (org-startup-options): Add keyword `noptag'.
28857 (org-fast-todo-selection): Handle :newline correctly.
28858 (org-set-tags): Handle :newline correctly.
28859 (org-fast-tag-selection): Handle :newline correctly.
28861 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28863 * org-exp.el (org-export-as-ascii): Reverse link buffer before
28865 (org-export-ascii-push-links): Fix bug with pussing links into the
28868 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28870 * org-archive.el (org-archive-subtree): Do not add 1 to level if
28871 pasting at top level.
28873 * org-bbdb.el: Improve documentation.
28875 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28877 * org-list.el (org-insert-item): Only consider insert empty lines
28878 is `org-empty-line-terminates-plain-lists' is not nil.
28880 * org.el (org-blank-before-new-entry): Mention the dependence on
28881 `org-empty-line-terminates-plain-lists' in the docstring.
28883 * org-publish.el (org-publish-get-project-from-filename):
28884 New optional argument UP. Only find the top project if UP is set.
28885 (org-publish-current-project): Find the top encloding project.
28887 * org-agenda.el (org-agenda-before-write-hook)
28888 (org-agenda-add-entry-text-maxlines): New options.
28889 (org-write-agenda): Run the new hook in the temporary buffer.
28890 (org-agenda-add-entry-text): New function.
28891 (org-write-agenda): Implement PDF export, using ps2pdf.
28893 * org.el (org-global-properties-fixed, org-global-properties):
28894 Improve documentation string.
28896 * org-exp.el (org-export-ascii-links-to-notes): New option.
28897 (org-export-as-ascii): Handle links better.
28898 (org-export-ascii-wrap, org-export-ascii-push-links):
28901 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28903 * org-agenda.el (org-agenda): Make prefix arg optional.
28904 (org-agenda-search-headline-for-time): New option.
28905 (org-format-agenda-item):
28906 Honor `org-agenda-search-headline-for-time'.
28908 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
28911 * org.el (org-self-insert-cluster-for-undo): New option.
28912 (org-self-insert-command): Cluster undo for 20 characters.
28913 (org-self-insert-command-undo-counter): New variable.
28915 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28917 * org-exp.el (org-export-as-html): Fix problem with closing colone
28920 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28922 * org-latex.el (org-export-as-latex)
28923 (org-export-latex-first-lines): Avoid modification flag when
28924 adding or removing text properties.
28925 (org-export-latex-fontify): Catch error when org-emph-alist has
28926 entries that are not defined for LaTeX export.
28928 * org-export-latex.el: Rename to org-latex.el.
28930 * org-latex.el: Rename from org-export-latex.el.
28932 * org.el (orgstruct++-mode): New function.
28933 (turn-on-orgstruct++): Call `orgstruct++-mode'.
28934 (org-context-p): Allow detecting item context after the first line
28936 (orgstruct-make-binding): Detect if item-body context should be
28938 (orgstruct-is-++): New variable.
28939 (org-add-planning-info): Catch the case when there is no planning
28940 info yet and the call does not want to add anything, only maybe
28941 tries to remove something.
28942 (org-special-ctrl-a/e): All value to be a cons cell with separate
28943 settings for `C-a' and `C-e'.
28944 (org-beginning-of-line, org-end-of-line): Honor separate values
28945 for `C-a' and `C-e'.
28947 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
28949 * org.el (org-reload): New command.
28951 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
28953 * org-gnus.el (org-gnus-store-link): Fix bug where
28954 org-gnus-store-link used wrong subject when called in an article
28955 buffer. Patch provided by fengli AT gmail DOT com.
28957 2009-03-13 D. Goel <deego3@gmail.com>
28959 * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
28960 replace ls by (values-list ls).
28962 2009-02-20 Carsten Dominik <dominik@science.uva.nl>
28964 * org-remember.el (org-remember-apply-template): Turn off ido for
28967 * org.el (org-priority): Also find invisible headings, for remote
28969 (org-completing-read-no-ido): New function.
28970 (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
28972 * org-colview.el (org-columns-edit-value): No special treatment of
28975 2009-02-19 Carsten Dominik <dominik@science.uva.nl>
28977 * org.el (org-block-todo-from-children-or-siblings):
28978 Use `org-up-heading-all' so that this will work correctly with hidden
28979 property drawers and entries.
28980 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
28981 falling back to normal, default command.
28982 (org-get-location): Temporarily turn off special behavior.
28984 2009-02-13 Glenn Morris <rgm@gnu.org>
28986 * org-rmail.el (rmail-show-message): Restore argument list to the
28987 declaration now that this functions behaves in Emacs 23 as in 22.
28989 2009-02-12 Glenn Morris <rgm@gnu.org>
28991 * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
28993 2009-02-12 Joachim Reiter <Reiter.Joachim@web.de> (tiny change)
28995 * org-footnote.el (org-footnote-action): Fix doc typo.
28997 2009-02-06 Carsten Dominik <dominik@science.uva.nl>
28999 * org-exp.el (org-export-preprocess-string): Fix bug with skipping
29000 text before first headline.
29001 (org-export-remove-or-extract-drawers): Fix regular expression for
29002 extracting drawers.
29004 * org.el (org-format-latex): Stop LaTeX fragment processing in
29005 protected examples.
29007 2009-02-05 Glenn Morris <rgm@gnu.org>
29009 * org-rmail.el (rmail-show-message): Update declaration.
29010 (rmail-buffer, rmail-view-buffer): Declare.
29011 (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
29013 2009-02-04 Carsten Dominik <dominik@science.uva.nl>
29015 * org.el (org-return-follows-link): Revert setting
29016 `org-return-follows-link' to t by default.
29018 2009-02-02 Carsten Dominik <dominik@science.uva.nl>
29020 * org.el (org-cycle-global-at-bob): Fix typo.
29022 * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
29024 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
29026 * org.el (org-mode): Make dependence stuff work more reliably.
29027 (org-update-parent-todo-statistics): Fix bug with updating
29029 (org-yank-adjusted-subtrees, org-return-follows-link)
29030 (org-use-fast-todo-selection, org-tags-column): New default
29031 setting for variables.
29033 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
29034 ~ as verbatim delimiters, to avoid table bug.
29035 (org-export-latex-classes): Remove the a4paper option from the
29038 * org-exp.el (org-export-html-format-image): New argument
29039 PAR-OPEN, to fix XHTM validation bug.
29040 (org-export-as-html): Pass par-open to
29041 `org-export-html-format-image'.
29042 (org-export-html-footnotes-section): Use a more consistent id for
29045 * org-agenda.el (org-agenda-sorting-strategy)
29046 (org-agenda-tags-column): New default setting for variables, based
29047 on a poll what typical uses use.
29048 (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
29049 setting the blocked tag.
29051 2009-01-31 Carsten Dominik <dominik@science.uva.nl>
29053 * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
29054 only checking for blocks.
29056 * org-exp.el (org-export-html-footnotes-section): Make the div id
29059 * org-export-latex.el (org-export-latex-classes):
29060 Remove paper size option from LaTeX classes.
29062 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
29064 * org.el (org-enforce-todo-checkbox-dependencies): New option.
29065 (org-block-todo-from-checkboxes): New function.
29066 (org-todo): Make triple prefix arg circumvent blocking.
29068 2009-01-30 Glenn Morris <rgm@gnu.org>
29070 * org-list.el (org-empty-line-terminates-plain-lists)
29071 (org-toggle-checkbox): Doc fixes.
29073 * org-table.el (org-table-clean-before-export): Fix declaration.
29075 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
29077 * org-timer.el (org-timer): Provide the timer feature.
29079 * org.el (org-require-autoloaded-modules): Add a few more files to
29080 the list of autoloaded modules.
29082 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
29084 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
29085 drawers that are unprotected.
29086 (org-export-html-format-image): Make sure inlined LaTeX fragment
29087 images remain inlined.
29089 * org.el (org-toggle-ordered-property): New function.
29090 (org-mode-map): Add a key for `org-toggle-ordered-property'.
29091 (org-org-menu): Add menu entries for TODO dependencies.
29093 * org.el (org-default-properties): Add ORDERED to the default
29094 properties, to get completion support for it.
29096 * org-list.el (org-update-checkbox-count): Update more than one cookie.
29098 * org.el (org-update-parent-todo-statistics): Update more than one
29101 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
29103 * org-agenda.el (org-agenda-get-todos): Start search from correct
29106 * org.el (org-fast-todo-selection): Make sure TODO selection does
29107 not change buffer position.
29109 * org-list.el (org-toggle-checkbox): Implement adding or removing
29110 checkboxes from line or region when called with a prefix
29113 * org-rmail.el (org-rmail-store-link): Protect the call to
29114 `rmail-narrow-to-non-pruned-header'.
29116 * org-clock.el (org-clock-special-range): Fix week display in
29119 * org-exp.el (org-get-current-options): Fix bug when in indirect
29122 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
29123 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
29124 (org-agenda-dim-blocked-tasks): New function.
29126 * org.el (org-enforce-todo-dependencies): New option.
29127 (org-block-todo-from-children-or-siblings): New function.
29129 * org-faces.el (org-agenda-dimmed-todo-face): New face.
29131 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
29133 * org.el (org-todo): Return correct state type even if the blocker
29135 (org-modifier-cursor-error): Rename from
29136 `org-shiftcursor-error'.
29137 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
29138 (org-shiftmetadown): Call `org-modifier-cursor-error'.
29140 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
29141 to get real errors from the blocker hook.
29143 * org.el (org-shiftselect-error, org-call-for-shift-select):
29145 (org-set-visibility-according-to-property): Turn off the setting
29146 of `org-show-entry-below', to avoid overruling a FOLDED visibility
29149 * org.el (org-support-shift-select): New option.
29150 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
29151 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
29152 selection outside contexts.
29154 * org-list.el (org-at-item-bullet-p): New function.
29156 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
29159 * org-footnote.el (org-footnote-normalize): Remove unnecessary
29161 (org-insert-footnote-reference-near-definition):
29162 Remove unnecessary let form.
29164 2009-01-26 Carsten Dominik <dominik@science.uva.nl>
29166 * org-export-latex.el (org-export-as-latex):
29167 Call `org-export-latex-first-lines' with OPT-PLIST as a parameter.
29168 (org-export-latex-first-lines): New parameter OPT-PLIST.
29170 * org.el (org-yank): Tell `delete-selection-mode' about
29173 * org-faces.el (org-clock-overlay): Fix face definition.
29175 * org-export-latex.el (org-export-latex-first-lines):
29176 Pass timestamp and footnote parameters to the preprocessor.
29178 * org-exp.el (org-export-remove-timestamps): Do not remove time
29179 stamps inside tables.
29181 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29183 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
29185 * org.el (org-agenda-tags-todo-honor-ignore-options):
29188 * org-table.el (org-table-insert-hline): Fix typo in function call
29189 to `backward-char'.
29191 * org-exp.el (org-export-as-html): Remove the initial space from
29194 * org.el (org-scan-tags):
29195 Call `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
29197 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view):
29198 New customization groups.
29199 (org-agenda-tags-todo-honor-ignore-options): New option.
29200 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
29202 (org-agenda-get-todos):
29203 Use `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
29205 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29207 * org-exp.el (org-export-format-source-code-or-example):
29208 Escape HTML characters also in examples that anre not treated with
29209 htmlize. Also, just switch to EXAMPLE processing if we do not
29210 have a good version of htmlize.
29212 * org-rmail.el: Fix copyright notice.
29214 * org.el (org-activate-footnote-links): Improve footnote link
29217 * org-footnote.el (org-footnote-normalize): Fix finding the end of
29218 a footnote definition at the end of the file.
29220 * org-table.el (org-table-get-specials): Add an imagined hline at
29221 the end of the table. This can be useful for references that want
29222 to go to the end of the table. Also fix bug when computing last
29223 row constants, in tables that do not start right at the right
29225 (org-table-eval-formula): Match and replace remove references.
29226 (org-table-formula-substitute-names): Make sure that names inside
29227 a "remote" call are left alone, the will be replaced later when
29228 the remote call is handled.
29229 (org-table-convert-refs-to-rc): Do not convert things that might
29230 look like a reference, but are really part of an ID or namei n a
29232 (org-table-get-remote-range): New function.
29234 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29236 * org-faces.el (org-clock-overlay): Fix bug in face definition.
29238 * org-clock.el (org-clock-put-overlay): Use new face instead of
29239 `secondary-selection'.
29241 * org-faces.el (org-clock-overlay): New face.
29243 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29245 * org-exp.el (org-get-current-options): Include the option for
29246 publishing time stamps.
29248 * org.el (org-toggle-heading): Rename from
29249 `org-toggel-region-headings'.
29250 No longer needs a region defined, but will use it if there is one.
29251 (org-ctrl-c-star): Simplify, relying more on the internal
29252 workings of `org-toggle-heading'.
29253 (org-toggle-item): Rename from `org-toggle-region-items'.
29254 No longer needs a region defined, but will use it if there is one.
29255 (org-ctrl-c-minus): Simplify, relying more on the inernal
29256 workings of `org-toggle-item'.
29258 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
29259 environment detection. Also, do real changes only in unprotected
29262 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29264 * org-export-latex.el (org-export-latex-quotation-marks):
29265 Use `org-if-unprotected-1'.
29266 (org-export-latex-set-initial-vars): Check for class definition in
29269 * org-macs.el (org-if-unprotected-1): New macro.
29271 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29273 * org-compat.el (org-count-lines): New function.
29275 * org-exp.el (org-export-format-source-code-or-example):
29276 Handle switches related to text areas.
29278 * org.el (org-activate-footnote-links): Don't allow match inside a
29281 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
29283 * org-export-latex.el (org-export-latex-links): Keep a relative
29284 path relative also after export.
29286 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
29288 * org.el (org-make-tags-matcher): Never use IDO for completing the
29289 tags matcher match string.
29290 (org-completing-read): Also remove the special biding for "?".
29292 * org-attach.el (org-attach-allow-inheritance): New option.
29293 (org-attach-inherited): New variable.
29294 (org-attach-dir): Handle properties related to the attachment
29296 (org-attach-check-absolute-path): New function.
29297 (org-attach-set-directory, org-attach-set-inherit): New commands.
29298 (org-attach): Accommodate the new commands in the dispatcher.
29300 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29302 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
29303 `window-full-width-p'.
29305 * org-exp.el (org-export-as-html): Only check for images files
29306 that really can be inlined.
29308 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
29309 list of extensions to be a parameter.
29311 * org-exp.el (org-export-html-inline-image-extensions):
29314 * org-agenda.el (org-prepare-agenda):
29315 Use `org-agenda-block-separator'.
29316 (org-agenda-block-separator): New option.
29318 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29320 * org-export-latex.el (org-export-latex-tables):
29321 Call `org-table-clean-before-export' with the new optional argument.
29323 * org-exp.el (org-table-clean-before-export): New optional
29324 parameter MAYBE-QUOTED, allows for quoted characters like \# in
29327 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29329 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
29332 * org-colview.el (org-colview-construct-allowed-dates):
29333 Better error catching when a date/time property does not have allowed
29336 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29338 * org.el (org-map-entries): Restore point and restriction after
29341 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29343 * org.el (org-time=, org-time<, org-time<=, org-time>)
29344 (org-time>=, org-time<>): Make sure both values are dates.
29346 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29348 * org-archive.el (org-extract-archive-heading): Allow %s for file
29349 name also in achive location heading.
29351 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29353 * org-archive.el (org-add-archive-files): Uniquify the list before
29356 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29358 * org-compat.el (org-fit-window-to-buffer):
29359 Use `window-full-width-p'.
29361 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
29362 space after the colon in short examples.
29364 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
29365 enforce a space after the colon. However, we also allow lines
29366 that are *only* a colon.
29367 (org-export-as-html): Enforce the space after the colon in short
29369 (org-export-preprocess-string): Do the colon example protection
29371 (org-export-remove-timestamps): Do not check for protection at the
29374 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29376 * org.el (org-format-latex-options): Add new matcher for single
29377 letters between dollars.
29378 (org-get-header): Function removed.
29379 (org-heading-components): New function.
29381 * org-exp.el (org-export-define-heading-targets): Record ID's also
29382 as alternative targets.
29383 (org-export-as-html): Interpret "id:" links to other files by
29384 preserving the relative path.
29386 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
29389 * org-exp.el (org-export-normalize-links): Protect the main link,
29390 to avoid special character processing.
29392 * org-export-latex.el (org-export-latex-special-keyword-regexp):
29394 (org-export-latex-special-string-regexps): Variable removed.
29395 (org-export-latex-keywords): Use the new regexp.
29397 * org-exp.el (org-export-handle-include-files): Fetch switches and
29398 put them into the BEGIN statement.
29400 * org-timer.el (org-timer-mode-line-string): New variable.
29402 * org-clock.el (org-clock-mode-line-map): Rename from
29403 `org-clock-mode-map'.
29404 (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
29405 (org-clock-update-mode-line): Rename from `org-update-mode-line'.
29406 (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
29407 (org-clock-remove-overlays): Rename from
29408 `org-remove-clock-overlays'.
29410 * org-timer.el (org-timer-pause-or-continue): Implement stopping
29411 and mode line display.
29412 (org-timer-stop): New command.
29413 (org-timer-seconds): Return correct time when timer is paused.
29414 (org-timer-mode-line-timer): New variable.
29415 (org-timer-set-mode-line, org-timer-update-mode-line):
29418 * org.el (org-insert-heading): Handle new value `auto' for
29419 `org-blank-before-new-entry'.
29420 (org-org-menu): Add new items for timer functions.
29422 * org-list.el (org-insert-item): Handle new value `auto' for
29423 `org-blank-before-new-entry'.
29425 * org.el (org-blank-before-new-entry): New value `auto', made
29428 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29430 * org-exp.el (org-export-normalize-links): If the link is also
29431 used as the description, protect the description.
29433 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29435 * org.el (org-closest-date): Fix bug with yearly repeats, in
29436 combination with preference of the past as it is used for deadline
29437 and scheduling search.
29439 * org-exp.el (org-html-handle-time-stamps): No longer check for
29440 the `org-export-with-timestamps' option, because the preprocesser
29441 has taken care of this already.
29443 * org.el (org-entry-properties): Catch the case when this is
29444 called in a non-org-mode file.
29446 * org-export-latex.el (org-export-latex-remove-from-headlines):
29447 Variable made obsolete, also LaTeX export now uses the standard
29449 (org-export-as-latex): Add the timestamps parameter to the
29450 preprocessor parameter list.
29451 (org-export-latex-content): Export the remaining keywords without
29452 considering to remove them.
29453 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
29454 Use bold font instead of tt font for the keywords.
29455 (org-export-latex-fontify-headline): Format headlines, assuming
29456 that all keywords still present should be published.
29457 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
29458 publish what ever remains of the time stamps.
29459 (org-export-latex-list-parameters): New option.
29460 (org-export-latex-lists): Pass additional parameters to the list
29463 * org-exp.el (org-export-preprocess-string): Remove clock lines
29464 and timestamps already in the preprocesor.
29465 (org-export-remove-timestamps, org-export-remove-clock-lines):
29467 (org-export-as-ascii, org-export-as-html): Add the timestamps
29468 parameter to the preprocessor parameter list.
29470 * org-list.el (org-list-parse-list): Parse for checkboxes.
29471 (org-list-to-generic): Introduce and handle new parameters :cbon
29473 (org-list-to-latex, org-list-to-html, org-list-to-texinfo):
29474 Add optional parameter PARAMS.
29476 * org-export-latex.el (org-export-latex-special-chars):
29477 Fix problems with interpreting dollar signs.
29478 (org-inside-latex-math-p): New function.
29479 (org-export-latex-preprocess): Protect all the math fragments.
29481 * org.el (org-latex-regexps): Allow a dash after a dollar.
29483 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
29484 mark after copying.
29486 * org-agenda.el (org-run-agenda-series): Have series options set
29487 when finalizing the agenda.
29489 * org-exp.el (org-export-format-source-code-or-example):
29490 Protect the converted examples.
29492 * org.el (org-set-regexps-and-options): Fix the regexp
29493 `org-complex-heading-regexp'.
29495 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29497 * org.el (org-edit-src-get-label-format): New function.
29498 (org-coderef-label-format): New option.
29499 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
29500 a label format specification and make sure it is used in the edit
29502 (org-edit-src-get-label-format): New function.
29503 (org-store-link): Handle new coderef formats.
29504 (org-link-search): Handle new coderef formats.
29506 * org-footnote.el (org-footnote-create-definition)
29507 (org-footnote-goto-local-insertion-point): Make footnote insertion
29508 work correctly when the "Footnotes" headline is the last line in
29511 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
29514 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29516 * org-w3m.el (org-w3m): New customization group.
29517 (org-w3m-deactivate-mark): New option.
29518 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
29521 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29523 * org.el (org-set-font-lock-defaults): Trigger footnote
29525 (org-activate-footnote-links): New function.
29526 (org-activate-links): New entry `footnote'.
29528 * org-faces.el (org-footnote): New face.
29530 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29532 * org-macs.el (org-re): Handle the [:word:] class.
29534 * org-exp.el (org-export-preprocess-string):
29535 Call `org-export-protect-colon-examples'.
29536 (org-export-protect-colon-examples): Rename from
29537 `org-export-protect-examples', and scope limited to lines starting
29540 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29542 * org-exp.el (org-export-preprocess-string): Move the preprocess
29543 hook to after turning on Org-mode.
29544 (org-export-preprocess-after-include-files-hook)
29545 (org-export-preprocess-after-tree-selection-hook)
29546 (org-export-preprocess-before-backend-specifics-hook)
29547 (org-export-preprocess-final-hook): New hooks.
29548 (org-export-preprocess-string): Run the new hooks.
29550 * org.el (org-ctrl-c-minus): Fix indentation for new items.
29552 * org-footnote.el: New file.
29554 * org.el (org-footnote): Require footnote code.
29555 (org-startup-options): Add new footnote options.
29556 (org-mode-map): New keybindig for footnotes.
29557 (org-ctrl-c-ctrl-c): Add function at footnotes.
29558 (org-org-menu): New menu entries for footnotes.
29560 * org-export-latex.el (org-export-as-latex): Pass footnote
29561 variable to preprocessor.
29562 (org-export-latex-preprocess): Treat multiple references to a
29565 * org-exp.el (org-export-preprocess-string):
29566 Call `org-footnote-normalize'.
29567 (org-export-as-ascii, org-export-as-html): Pass footnote variable
29569 (org-export-as-html): Treat multiple references to a footnote.
29571 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
29573 * org-export-latex.el (org-export-latex-links): Handle coderef
29576 * org.el (org-bracket-link-analytic-regexp++): New variable.
29577 (org-make-link-regexps):
29578 Initialize `org-bracket-link-analytic-regexp++'.
29579 (org-store-link): Implement special case in edit-src buffer.
29580 (org-insert-link): No use of ide to insert stored links.
29581 (org-link-search): Implement special case for coderefs.
29583 * org-exp.el (org-export-html-scripts): New constant.
29584 (org-export-html-style-default): Add a new style for highlighted
29586 (org-export-code-refs): New variable.
29587 (org-export-preprocess-string): Initialize `org-export-code-refs'.
29588 Call `org-export-replace-src-segments-and-examples'
29589 No longer call `org-export-protect-examples'.
29590 (org-export-target-internal-links): Take care of coderef targets.
29591 (org-export-last-code-line-counter-value): New variable.
29592 (org-export-replace-src-segments-and-examples): Rename from
29593 `org-export-replace-src-segments', and modified.
29594 (org-export-format-source-code-or-example): Rename from
29595 `org-export-format-source-code'.
29596 (org-export-number-lines): New function.
29597 (org-export-as-ascii, org-export-as-html): Handle coderef links.
29599 2009-01-23 Glenn Morris <rgm@gnu.org>
29601 * org-rmail.el (rmail-narrow-to-non-pruned-header):
29602 Remove declaration of deleted function.
29604 2009-01-16 Glenn Morris <rgm@gnu.org>
29606 * org-mouse.el (org-mouse-show-context-menu):
29607 Use mouse-menu-major-mode-map, if defined, rather than the obsolete
29608 mouse-major-mode-menu.
29610 2008-12-23 Carsten Dominik <dominik@science.uva.nl>
29612 * org-remember.el (org-remember-handler): Safer way to get a new
29613 buffer accessing the target file.
29615 * org.el (org-refile-get-location): Handle case of current buffer
29616 not having a file associated with it.
29618 2008-12-22 Carsten Dominik <dominik@science.uva.nl>
29620 * org-table.el (org-table-get-formula): Only ask to overwrite
29621 field formula if there really is one.
29623 2008-12-21 Carsten Dominik <dominik@science.uva.nl>
29625 * org-export-latex.el (org-export-latex-make-header): Double the
29626 commenting % in the time stamp format.
29627 (org-export-latex-special-chars): Handle case where there is no
29630 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
29632 * org.el (org-get-refile-targets, org-refile-get-location):
29633 Use expanded file name to improve comparison.
29635 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
29637 * org.el (org-scan-tags): Rescan for tags, to get the correct
29638 upcase/downcase stuff. This slows things down for now, but it
29640 (org-mode): Make sure the tag-faces regexp is initialized.
29642 * org-export-latex.el (org-export-latex-links): Fix bug with
29645 * org-table.el (org-table-get-specials):
29646 Set `org-table-current-last-data-line'.
29647 (org-table-current-last-data-line): New variable.
29648 (org-table-insert-column, org-table-delete-column)
29649 (org-table-move-column, org-table-fix-formulas):
29650 Call `org-table-fix-formulas' a second time to fix the $LR references.
29651 (org-table-get-specials): Add the $LR references to the tables.
29652 (org-table-get-formula): Do not offer last-row names as LHS of
29655 * org.el (org-store-link): Capture link description from
29656 `org-id-store-link'.
29658 * org-exp.el (org-export-html-format-image): Add the / to the end
29660 (org-export-format-source-code): Surround example by empty lines,
29661 to make sure it will not be inside a paragraph.
29663 * org.el (org-ido-switchb): New function.
29665 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
29667 * org-agenda.el (org-agenda-show): New prefix argument
29670 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
29673 2008-12-20 Glenn Morris <rgm@gnu.org>
29675 * org.el (org-org-menu): Fix some more menu entries.
29677 2008-12-18 Carsten Dominik <dominik@science.uva.nl>
29679 * org-table.el (org-table-get-specials): Revert introduction of @0
29680 as reference of the last table row, because of conflicts.
29682 * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
29683 argument, get the current tags directly.
29684 (org-agenda-set-tags): Leave getting current tags to
29685 `org-agenda-change-all-lines'.
29687 2008-12-17 Carsten Dominik <dominik@science.uva.nl>
29689 * org.el (org-org-menu): Do not quote the set-tags command.
29691 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
29693 * Fix typos in comments and docstrings throughout Org-mode.
29695 * org.el (org-get-outline-path): Fix bug if level is not given.
29697 * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
29699 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
29701 * org.el (org-refile): Avoid refiling to within the region to be
29704 * org-export-latex.el (org-export-latex-special-chars):
29705 Replace special characters also in tables.
29707 * org-agenda.el (org-agenda-change-all-lines): New argument
29709 (org-agenda-set-tags): Get the new tags and pass them to
29710 `org-format-agenda-item'.
29712 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
29714 * org-export-latex.el (org-export-latex-classes): Add longable as
29715 a default package to all classes.
29716 (org-export-latex-tables): Handle the longtable attribute and the
29719 * org-table.el (orgtbl-to-generic): Handle tables that start with
29722 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
29723 \verb for colde-like snippets.
29724 (org-export-as-latex): Fix issues with region export.
29726 * org.el (org-up-heading-safe): Speed up function by using a
29727 direct regexp search.
29728 (org-olpa): New variable.
29729 (org-get-outline-path): Speed-up path constructions in cases where
29730 this is possible because the entire hierarchy is scanned anyway.
29731 (org-refile-get-location): Don't compare the truenames of files,
29733 (org-goto-max-level): New option.
29734 (org-goto): Use `org-goto-max-level'.
29736 2008-12-16 Tassilo Horn <tassilo@member.fsf.org>
29738 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
29739 Strip angle brackets from message-ids in the former and don't do
29741 (org-gnus-follow-link): Open summary reliable, even if the last
29742 messages were deleted, and handle empty groups, too.
29744 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
29746 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
29747 instead of \texttt for the =...= and ~===~ emphasis environments.
29748 (org-export-as-latex): Remove any old :org-license-to-kill text
29750 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
29751 (org-export-latex-make-header): Add some hard space after the
29753 (org-export-latex-first-lines): Accept RBEG argument.
29754 Mark exported text so that it will be excuded in further steps.
29756 * org-table.el (org-table-get-specials): Make @0 reference the
29757 last line in a table.
29758 (org-table-recalculate): Improve docstring.
29760 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
29762 * org.el (org-log-done): Fix docstring.
29764 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
29766 * org-exp.el (org-export-html-format-image): Fix bugs.
29768 * org-export-latex.el (org-export-latex-tables)
29769 (org-export-latex-links): Implement attribute, label, and caption
29772 * org-exp.el (org-export-html-style-default): Add style
29773 definitions for the figure div.
29774 (org-export-preprocess-string, org-export-as-html):
29775 Implement attribute, label, and caption handling.
29776 (org-export-attach-captions-and-attributes): New function.
29777 (org-export-html-format-image): New function.
29778 (org-format-org-table-html): Implement attribute, label, and
29781 * org.el (org-find-text-property-in-string): New function.
29782 (org-extract-attributes): Use the property org-attr instead of
29783 org-attrobutes, because this property is now set with the #+ATTR
29786 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
29788 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
29789 the case that FROM is nil.
29791 * org.el (org-before-first-heading-p): New function.
29793 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
29795 * org-exp.el (org-export-as-html): Do not add a space before
29796 enforces line breaks.
29797 (org-export-as-html): Close paragraph before blockquote and verse
29800 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
29802 * org-id.el (org-id-locations-file): Wrap file name with
29803 `convert-standard-filename'.
29804 (org-id-files): New variable.
29805 (org-id-use-hash): New option.
29806 (org-id-update-id-locations): Also search in all files current
29807 listed in `org-id-files'. Convert the resulting alist to a hash
29808 if the user customation says so.
29809 (org-id-locations-save): Handle he case if `org-id-locations' is a
29811 (org-id-locations-load): Convert the alist to a hash.
29812 (org-id-add-location): Handle the hast case.
29813 (kill-emacs-hook): Make sure id locations are saved when Emacs is
29815 (org-id-hash-to-alist, org-id-alist-to-hash)
29816 (org-id-paste-tracker): New functions.
29818 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
29820 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
29821 bindings of calendar variables.
29823 * org-table.el (org-table-find-row-type): Rename from
29824 `org-find-row-type'.
29825 (org-table-rewrite-old-row-references): Rename from
29826 `org-rewrite-old-row-references'.
29827 (org-table-shift-refpart): Rename from `org-shift-refpart'.
29828 (org-table-cleanup-narrow-column-properties): Rename from
29829 `org-cleanup-narrow-column-properties'.
29831 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
29833 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
29834 for better error messages.
29835 (org-table-get-descriptor-line): Supply the new arguments to
29836 `org-find-row-type'.
29837 (org-table-error-on-row-ref-crossing-hline): New option.
29839 * org.el (org-target-link-regexp): Make buffer-local.
29840 (org-move-subtree-down): Fix bug with trees at beginning of
29843 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
29845 * org-faces.el (org-set-tag-faces): New function.
29846 (org-tags-special-faces-re): New variable.
29848 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
29850 * org-faces.el (org-tag-faces): New option.
29851 (org-tag): Mention `org-tag-faces' in the docstring.
29853 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
29855 * org-exp.el (org-export-html-style-default): Implement new
29858 * org-jsinfo.el (org-infojs-template): Implement new quoting.
29860 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
29861 command to the `w3m-minor-mode-map'.
29863 * org-archive.el (org-archive-to-archive-sibling):
29864 Protect `this-command' to avoid appending kills during archiving.
29866 * org-exp.el (org-export-with-priority): New variable.
29867 (org-export-add-options-to-plist): Use `org-export-plist-vars'
29868 instead of internal list of strings and properties.
29869 (org-print-icalendar-entries): Retrieve the location property with
29872 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
29874 * org-exp.el (org-export-with-todo-keywords): New option.
29875 (org-export-plist-vars): Include also the keys for the #+OPTIONS
29877 (org-default-export-plist, org-export-add-options-to-plist)
29878 (org-export-as-ascii, org-export-as-html): Use the new structure
29879 of `org-export-plist-vars'.
29881 * org.el (org-map-entries): Return all values.
29883 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
29885 * org.el (org-matcher-time): Recognize more special values.
29887 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
29889 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
29891 * org.el (org-tags-exclude-from-inheritance): New option.
29892 (org-tag-inherit-p, org-remove-uniherited-tags):
29893 Respect `org-tags-exclude-from-inheritance'.
29895 * org-agenda.el (org-agenda-show-inherited-tags): New option.
29896 (org-format-agenda-item): Add inherited tags to the agenda line
29897 string, and make sure that properties are kept when downcasing the
29899 (org-agenda-add-inherited-tags): New function.
29900 (org-downcase-keep-props): New function.
29902 * org.el (org-scan-tags): Mark inherited tags with a text
29904 (org-get-tags-at): Mark inherited tags with a text property.
29905 (org-add-prop-inherited): New function.
29907 * org-agenda.el (org-agenda-add-inherited-tags): New function.
29908 (org-agenda-show-inherited-tags): New option.
29910 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
29912 * org.el (org-modules): Add org-w3m to the default modules.
29914 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
29916 (orgtabl-create-or-convert-from-region): New command.
29918 * org-exp.el (org-export-as-ascii): Remove the handling of
29920 (org-export-ascii-preprocess): Handle targets already in this
29923 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
29925 * org-timer.el (org-timer-start-time): Define this variable.
29926 (org-timer-item): Make argument optional.
29928 * org-list.el (org-insert-item): Automatically insert a timer item
29929 if the current list is a timer list.
29931 * org-timer.el: New file.
29933 * org-publish.el (org-publish-org-index): Only exclude the index
29934 file in the main directory from being added to the site-map.
29935 (org-publish-get-project-from-filename): If the current project is
29936 a component, start publishing from the parent project.
29938 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
29940 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
29942 * org-publish.el (org-publish-org-index): Improve removal of
29945 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
29947 * org-agenda.el (org-get-closed): Re-apply changes
29948 accidentially overwritten by last commit to Emacs.
29950 * org.el (org-outline-path-complete-in-steps): New option.
29951 (org-refile-get-location):
29952 Honor `org-outline-path-complete-in-steps'.
29953 (org-agenda-change-all-lines, org-tags-sparse-tree)
29954 (org-time-string-to-absolute, org-small-year-to-year)
29955 (org-link-escape): Re-apply changes accidentially overwritten
29956 by last commit to Emacs.
29958 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
29960 * org-clock.el (org-dblock-write:clocktable): Make sure the
29961 clocktable sees the first line.
29962 (org-clock-in): Warn if the clock cannot be resumed.
29964 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
29966 * org.el (org-open-at-point): Fix mixup about interactive and
29967 non-interactive elisp links.
29969 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
29971 * org-exp.el (org-export-preprocess-string): Allow one comment
29972 line before the first headline to always be included. This is
29973 to not miss a commented target.
29975 * org-mouse.el (org-mouse-insert-item):
29976 Call `org-indent-to-column' instead of `indent-to', for XEmacs
29979 * org.el (org-refile-targets): Fix customize definition so
29980 that it works also in XEmacs.
29981 (org-fixup-indentation): Call `org-indent-to-column' instead
29982 of `indent-to', for XEmacs compatibility.
29984 2008-11-23 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
29986 * org-mew.el (org-mew-store-link): Get the correct case folder
29987 for refiled messages.
29989 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
29991 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
29992 line break indicators.
29994 * org.el (org-ido-completing-read): Remove the "i:" prefix for
29995 ido-completion propts.
29997 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
29999 * org-remember.el (org-remember-apply-template):
30000 Use `org-substring-no-properties'.
30002 * org-compat.el (org-substring-no-properties): New function.
30004 * org-remember.el (org-remember-apply-template):
30005 Use `org-substring-no-properties' for compatibility.
30007 * org-list.el (org-list-two-spaces-after-bullet-regexp):
30009 (org-fix-bullet-type):
30010 Respect `org-list-two-spaces-after-bullet-regexp'.
30012 * org-clock.el (org-clock-load): Clean up the code.
30014 * org.el (org-adaptive-fill-function): Allow two spaces after
30015 "1." as a list bullet.
30017 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
30019 * org-clock.el (org-clock-save, org-clock-load): Check for
30020 live buffers, existing files, and buffer file names to ensure
30021 consistent information.
30022 (org-clock-persist): Make `clock' a special value of this
30023 variable, and improve docstring.
30025 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
30026 (org-get-string-indentation): Adapt indentation when the bullet
30029 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
30031 * org-remember.el (org-remember-finalize): Make interactive.
30032 (org-remember-kill): New command.
30033 (org-remember-finish-immediately): Call `org-remember-finalize'
30035 (org-remember-finalize): Make `org-remember-finalize' an interactive
30038 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
30040 * org-remember.el (org-remember-apply-template): No ido completion
30041 for free prompts in remember templates.
30042 (org-remember-before-finalize-hook): New hook.
30043 (org-remember-mode): New minor mode.
30044 (org-remember-apply-template): Turn on `org-remember-mode'.
30046 * org-remember.el (org-remember-apply-template): Fix the way how
30047 the list of allowed properties is retrieved from the target file.
30049 * org.el (org-insert-link): Improve file link matching.
30051 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
30053 * org-colview.el (org-columns-display-here): New argument
30054 DATELINE, to trigger using the new face.
30055 (org-agenda-colview-summarize): Call `org-columns-display-here'
30056 with the new argument.
30058 * org-faces.el (org-agenda-column-dateline): New face.
30060 * org-publish.el (org-publish-org-index): Use index-title at page
30061 title, not as section.
30063 * org-exp.el (org-export-html-format-desc): Respect the
30064 org-protect property.
30065 (org-export-as-html): Protect image specifiers that are in the
30066 description part of a link.
30068 * org.el (org-sort-entries-or-items, org-completing-read)
30069 (org-refile-get-location, org-olpath-completing-read, org-todo)
30070 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
30071 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
30072 (org-set-property, org-delete-property)
30073 (org-delete-property-globally): Use `org-ido-completing-read'.
30075 * org-remember.el (org-remember-apply-template):
30076 Use `org-ido-completing-read'.
30078 * org-publish.el (org-publish): Use `org-ido-completing-read'.
30080 * org-colview.el (org-columns-edit-value, org-columns-new)
30081 (org-insert-columns-dblock): Use `org-ido-completing-read'.
30083 * org-attach.el (org-attach-delete-one, org-attach-open):
30084 Use `org-ido-completing-read'.
30086 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag):
30087 Use `org-ido-completing-read'.
30089 * org.el (org-time-today): New function.
30090 (org-matcher-time): Use `org-time-today'. Add special treatment
30091 for "<tomorrow>" and "<yesterday>".
30092 (org-ido-completing-read): New function.
30093 (org-completion-use-ido): New option.
30095 * org-exp.el (org-export-format-source-code): Fix bug in require
30097 (org-export-target-internal-links): Fix bug in search for text
30100 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
30102 * org-export-latex.el (org-export-latex-subcontent):
30103 Interpret target aliases as additional labels.
30105 * org-exp.el (org-export-target-aliases): New variable.
30106 (org-export-preprocess-string)
30107 (org-export-handle-invisible-targets): Fill the alias alist.
30108 (org-export-as-html): Remove the from the anchor, and also
30110 (org-html-level-start): Insert the target aliases as additional
30113 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
30116 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
30118 * org.el (org-open-at-mouse): Ensure correct link abbreviations
30119 when following a link with the mouse from the agenda.
30121 * org-exp.el (org-export-as-html): Avoid lone </div> when no
30122 headlines are created.
30124 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
30126 * org.el (org-link-translation-function): New option.
30127 (org-open-at-point): Call `org-link-translation-function' if
30129 (org-translate-link): New function.
30130 (org-translate-link-from-planner): New function.
30131 (org-open-at-point): Allow interactive commands in elisp links.
30133 * org-exp.el (org-icalendar-cleanup-string): Restore the old
30134 iCalendar quoting. The new one seems to caus problems with
30137 * org.el (org-yank): Set `this-command' to `yank', so that
30138 `yank-pop' will work.
30140 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
30142 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
30143 compliance as far as quoting is concerned.
30145 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
30146 hexified version of the tag.
30148 * org-vm.el (org-vm-follow-link): Require `vm-search'.
30150 * org.el (org-up-heading-safe, org-forward-same-level):
30151 Always call `org-back-to-heading' instead of `outline-back-to-heading'.
30152 (org-back-to-heading): New wrapper around outline-back-to-heading,
30153 with a useful error message telling where the error happened.
30155 * org-list.el (org-update-checkbox-count): Always call
30156 `org-back-to-heading' instead of `outline-back-to-heading'.
30158 * org-exp.el (org-export-as-html): Make sure that each <img> tag
30159 has an `alt' attribute, to ensure XHTML validation.
30161 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
30163 * org-publish.el (org-publish-attachment): Allow publishing to
30164 overwrite attachment files.
30166 * org-agenda.el (org-agenda-timerange-leaders): New option.
30167 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
30169 * org.el (org-edit-src-exit): Untabify ASCII image before
30172 2008-11-19 Glenn Morris <rgm@gnu.org>
30174 * org.el, org-mouse.el (org-agenda-change-all-lines):
30177 2008-11-18 Carsten Dominik <dominik@science.uva.nl>
30179 * org.el ("speedbar"): Only show context if the file really is an
30182 2008-11-17 Juanma Barranquero <lekktu@gmail.com>
30184 * org.el (org-time-string-to-absolute, org-small-year-to-year)
30185 (org-tags-sparse-tree): Fix typos in docstrings.
30187 2008-11-15 Carsten Dominik <dominik@science.uva.nl>
30189 * org-publish.el (org-publish-attachment): Allow copy-file to
30192 2008-11-13 Glenn Morris <rgm@gnu.org>
30194 * org-agenda.el (org-get-closed): Fix alias.
30196 2008-11-12 Juanma Barranquero <lekktu@gmail.com>
30198 * org.el (org-link-escape): Fix typo in docstring.
30200 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
30202 * org.el (org-yank): Make any prefix force normal yanking.
30203 Suppress folding if text would be swallowed into a folded
30205 (org-yank-folded-subtrees, org-yank): Docstring updates.
30207 * org-agenda.el (org-agenda-compare-effort): Treat no effort
30210 * org-exp.el (org-export-language-setup): Add Catalan and
30211 Esperanto language entries.
30213 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
30215 * org.el (org-refile): Allow refiling of entire regions.
30217 * org-clock.el (org-clock-time%): New function.
30219 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
30220 retrieve property values.
30222 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
30224 * org-agenda.el (org-agenda-list): Handle the value `only' of
30225 org-agenda-show-log'.
30226 (org-agenda-log-mode): Interpret a double prefix arg.
30228 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
30230 * org-exp.el (org-export-html-footnotes-section): New variable.
30231 (org-export-as-html): Use `org-export-html-footnotes-section' to
30232 insert the footnotes.
30233 (org-export-language-setup): Add "Footnotes" to language words.
30235 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
30237 * org.el (org-yank): Fix bug when not inserting a subtree.
30239 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
30241 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
30242 instead of `vm-beginning-of-message'.
30244 * org.el (org-make-link-regexps): Make sure that links to gnus can
30247 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
30249 * org-attach.el (org-attach-dir): Remove duplicate ID creation
30252 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
30255 * org.el (org-link-abbrev-alist): Improve customization type.
30257 * org-attach.el (org-attach-expand-link, org-attach-expand):
30260 * org-agenda.el (org-agenda-get-progress): Rename from
30261 `org-get-closed'. Implement searching for state changes as well.
30262 (org-agenda-log-mode-items): New option.
30263 (org-agenda-log-mode): New option prefix argument, interpreted as
30264 request to show all possible progress info.
30265 (org-agenda-get-day-entries): Call `org-get-progress' instead of
30267 (org-agenda-set-mode-name): Handle the more complex log mode
30269 (org-get-closed): New alias, pointing to `org-get-progress'.
30271 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
30273 * org.el (org-file-apps-defaults-gnu)
30274 (org-file-apps-defaults-macosx)
30275 (org-file-apps-defaults-windowsnt): Add an entry defining the
30277 (org-file-apps): Allow `system' as key and value.
30278 (org-open-at-point): Explain the effect of a double prefix arg.
30279 (org-open-file): If the argument `in-emacs' is (16),
30280 i.e. corresponding to a double prefix argument, try to open the
30283 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
30285 * org.el (org-insert-link): Abbreviate absolute files names in
30286 links. Also, fix a bug in which the double C-u prefix would not
30289 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
30291 * org.el (org-insert-heading): If buffer does not end with a
30292 newline, add one if necessary to insert headline correctly.
30294 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
30295 paragraphs, not inside.
30297 * org.el (org-todo):
30298 Quote `org-agenda-headline-snapshot-before-repeat'.
30300 * org-exp.el (org-export-as-html): Fully process link descriptions.
30301 (org-export-html-format-desc): New function.
30302 (org-export-as-html): Collect footnotes into the correct basket.
30303 (org-html-protect): No longer protect quotations marks here, this
30306 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
30309 * org-compat.el (org-fit-window-to-buffer): New function (not
30310 really, a preliminary and incomplete version was present earlier,
30313 * org.el (org-fast-todo-selection, org-fast-tag-selection):
30314 Use `org-fit-window-to-buffer'.
30316 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
30318 * org-agenda.el (org-agenda-get-restriction-and-command)
30319 (org-fit-agenda-window, org-agenda-convert-date):
30320 Use `org-fit-window-to-buffer'.
30322 * org-exp.el (org-export-as-html): Process href links through
30323 `org-export-html-format-href'.
30324 (org-export-html-format-href): New function.
30326 * org-agenda.el (org-agenda-todo): Update only the current
30327 headline if this is a repeated TODO, marked done for today.
30328 (org-agenda-change-all-lines): New argument JUST-THIS, to change
30329 only the current line.
30331 * org.el (org-todo): Take a snapshot of the headline if the
30332 repeater might change it.
30334 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
30336 * org-publish.el (org-publish-find-title): Remove buffers visited
30337 only for extracting the title.
30339 * org-exp.el (org-export-html-style)
30340 (org-export-html-style-default): Mark style definitions as
30343 * org-publish.el (org-publish-validate-link):
30344 Function re-introduced.
30346 2008-11-12 Charles Sebold <csebold@gmail.com>
30348 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
30350 (org-plot-quote-timestamp-field): New function.
30351 (org-plot-quote-tsv-field): Call timestamp field function when
30352 necessary rather than just quoting as a string.
30353 (org-plot/gnuplot-to-data): Pass in timefmt property.
30354 (org-plot/gnuplot-script): Supports timefmt property.
30355 (org-plot/gnuplot): Checks for timestamp column before checking
30356 for text index column.
30358 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
30360 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
30362 * org-publish.el (org-publish-org-index): Create a section in the
30364 (org-publish-org-index): Stop linking to directories.
30366 * org.el (org-emphasis-alist): Use span instead of <u> to
30369 * org-exp.el (org-export-as-html): Make sure <p> is closed before
30372 2008-11-12 Sebastian Rose <sebastian_rose@gmx.de>
30374 * org-jsinfo.el (org-infojs-template): Remove language attribute
30377 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
30379 * org-agenda.el (org-agenda-remove-marked-text): New function.
30380 (org-agenda-mark-filtered-text)
30381 (org-agenda-unmark-filtered-text): New functions.
30382 (org-write-agenda): Remove filtered text.
30384 * org.el (org-make-tags-matcher): Give access to TODO "property"
30385 without speed penalty.
30387 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
30389 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
30391 (org-store-link-props): Make sure adding to the plist works
30394 * org-gnus.el (org-gnus-no-new-news): New function.
30395 (org-gnus-follow-link): Allow the article ID to be a message-id,
30396 in addition to allowing article numbers. Message IDs make much
30397 more roubust links.
30398 (org-gnus-store-link): Use message-id to create link.
30400 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
30402 * org.el (org-emphasize): Reverse the selection array.
30403 (org-emphasis-alist): Set <code> tags for the verbatim
30406 * org-remember.el (org-remember-handler): Fix bug with
30407 prefix-related changing of the note storage target.
30409 * org-exp.el (org-print-icalendar-entries): Make the exported
30410 priorities compatible with RFC 2445.
30412 * org-clock.el (org-clock-save): Insert time stamp without
30413 dependence on time-stamp.el.
30415 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
30417 * org.el ("saveplace"): If saveplace puts point into an invisible
30418 location, make it visible.
30419 (org-make-tags-matcher): Allow inactive time stamps in time
30421 (org-yank-adjusted-subtrees): New option.
30422 (org-yank): Incorporate adjusting trees.
30423 (org-paste-subtree): New argument FOR-YANK which will cause
30424 insertion at point without backing up over white lines, and leave
30425 point at the end of the inserted text. Also if the cursor is
30426 at the beginning of a headline, use the same level or the inserted
30429 * org-publish.el (org-publish-get-base-files-1): Deal correctly
30430 with broken symlinks.
30432 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
30434 * org-exp.el (org-export-select-tags, org-get-current-options):
30437 2008-11-06 Glenn Morris <rgm@gnu.org>
30439 * org-publish.el (org-publish-attachment): Use copy-file rather than
30442 2008-11-04 Juanma Barranquero <lekktu@gmail.com>
30444 * org.el (org-columns-modify-value-for-display-function):
30445 * org-table.el (org-table-convert-region): Fix typos in docstrings.
30447 2008-10-28 Glenn Morris <rgm@gnu.org>
30449 * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
30451 * org-list.el (outline-next-heading, outline-back-to-heading):
30454 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
30456 * org-agenda.el (org-format-agenda-item)
30457 (org-agenda-filter-make-matcher): Make sure tags are stored and
30458 compared downcased.
30460 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
30462 * org.el (org-insert-todo-heading): Fix bug with force-heading
30465 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
30467 * org-exp.el (org-export-as-ascii): Handle the case that we are
30468 bulishing from an indirect buffer.
30470 * org-table.el (org-table-copy-down): Fix bug with time stamp
30473 * org-mouse.el (org-mouse-features): New option.
30474 (org-mode-hook): Turn on features depending on
30475 `org-mouse-features'.
30477 * org.el (org-insert-heading-respect-content): Force heading
30479 (org-insert-heading): Keep the folding state of the heading before
30482 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
30484 * org-archive.el (org-archive-to-archive-sibling): Handle top
30485 level headlines better.
30487 2008-10-26 Bastien Guerry <bzg@gnu.org>
30489 * org-export-latex.el (org-export-latex-classes):
30490 Add \usepackage{graphicx} to the default list of packages.
30492 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
30494 * org-agenda.el (org-agenda-filter): Rename from
30495 `org-agenda-filter-tags'.
30497 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
30499 * org.el (org-entry-properties): Add CATEGORY property, iven if it
30500 is not defined as a property in this entry.
30501 (org-add-log-note): Mask prefix argument when immediately storing
30504 * org-agenda.el (org-agenda-filter-effort-default-operator):
30507 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
30509 * org.el (org-add-log-setup): Bugfix; code to find insertion point
30510 after drawers was skipping ahead one line too many, so notes were
30511 inserted after the first note instead of before it.
30513 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
30515 * org-agenda.el (org-agenda-filter-tags, org-agenda-filter-form):
30517 (org-prepare-agenda): Reset the filter tags.
30518 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
30519 Show filter tags in mode line.
30521 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
30524 * org-export-latex.el (org-latex-entities-regexp): New constant.
30525 (org-export-as-pdf): Use two calls to `shell-command'.
30527 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
30529 * org-export-latex.el (org-export-latex-treat-sub-super-char):
30530 Honor the {} value of the subsuperscript setting. Make sure that
30531 longer subsuperscripts are typeset in a roman font.
30533 * org.el (org-clock-update-time-maybe): Compute negative clock
30534 intervals correctly.
30536 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
30538 * org.el (org-add-log-setup):
30539 Respect `org-log-state-notes-insert-after-drawers'.
30540 (org-log-state-notes-insert-after-drawers): New option.
30541 (org-todo-trigger-tag-changes): New function.
30542 (org-todo): Call `org-todo-trigger-tag-changes'.
30544 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
30546 * org.el (org-add-log-setup): Only skip drawers if they are
30547 immediately after the scheduling keywords.
30549 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
30551 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
30552 call it with the current todo state to get the state to switch to
30554 (org-clock-in): Use org-indent-line-function to indent clock lines.
30555 (org-clock-find-position): Fix indentation of empty clock drawers.
30557 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
30559 * org-publish.el (org-publish-org-to): Handle case when
30560 org-export-to-pdf does return a file name, not a buffer.
30561 (org-publish-org-to-pdf): New function.
30563 * org-export-latex.el (org-export-as-pdf)
30564 (org-export-as-pdf-and-open): New commands.
30566 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
30569 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
30570 things in protexted regions.
30572 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
30574 * org-export-latex.el (org-export-latex-preprocess):
30575 Improve quoting of LaTeX environments.
30577 2008-10-19 Eli Zaretskii <eliz@gnu.org>
30579 * org.el (org-default-notes-file):
30580 * org-publish.el (org-publish-timestamp-directory):
30581 * org-id.el (org-id-locations-file): Run file names that begin
30582 with a period thru `convert-standard-filename'.
30584 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
30586 * org-plot.el: Switch coding system to unix.
30588 2008-10-12 John Wiegley <johnw@newartisans.com>
30590 * org-attach.el: New file.
30592 2008-10-12 Carsten Dominik <carsten.dominik@gmail.com>
30594 * org.el (org-edit-fixed-width-region): Exclude final newline from
30597 * org-export-latex.el (org-export-latex-subcontent): Add labels to
30598 sections, to make internal links work.
30599 (org-export-latex-fontify-headline): Do not remove all text
30600 properties, to make sure that target properties survive this
30603 * org-exp.el (org-export-preprocess-string): Change sequence of
30604 modifications, to make sure links are prepared before the LaTeX
30605 conversions do happen.
30607 * org-attach.el (org-attach-delete-all): Rename from
30608 `org-attch-delete'. Add a security query before deleting the
30609 entire directory. New optional argument FORCE can overrule the
30611 (org-attach-delete-one): New command.
30613 * org-attach.el (org-attach-file-list): Fix bug with directory.
30615 * org.el (org-apps-regexp-alist): New function.
30616 (org-file-apps): Add auto-mode to the default value.
30617 (org-open-file): Use the new structure of org-file-apps.
30619 * org-attach.el (org-attach): Support the new keys.
30620 (org-attach-method): New option.
30622 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
30625 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
30626 of the list value o `org-use-tag-inheritance'.
30628 * org-attach.el (org-attach-auto-tag): New option.
30629 (org-attach-tag, org-attach-untag): New functions.
30630 (org-attach-attach, org-attach-new, org-attach-sync):
30631 Call `org-attach-tag'.
30632 (org-attach-delete): Call `org-attach-untag'.
30634 * org-table.el (orgtbl-self-insert-command): Make this work for
30635 the keypad as well.
30637 * org.el (org-add-log-setup): Limit searc for drawers to entry
30638 text, not to subtree.
30640 * org-clock.el (org-clock-heading-for-remember): New variable.
30641 (org-clock-in): Set `org-clock-heading-for-remember'.
30643 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
30645 * org-remember.el (org-remember-apply-template): Add new
30646 expansions: %k, %K for currently clocked task and a link to the
30647 currently clocked task, and %< to file notes in the currently
30650 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
30652 * org-export-latex.el (org-export-latex-make-header): Also insert
30653 the content of the property :latex-header-extra.
30655 * org-exp.el (org-infile-export-plist): Put the content of
30656 #+LATEX_HEADER: into the property :latex-header-extra.
30658 * org-colview.el (org-columns-get-format-and-top-level):
30659 Remove resetting the marker.
30661 * org.el (org-entry-property-inherited-from): Improve docstring.
30662 (org-entry-get-with-inheritance): Reset marker before starting the
30665 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
30667 * org.el (org-entry-get-multivalued-property)
30668 (org-entry-protect-space, org-entry-restore-space):
30670 (org-file-apps-defaults-macosx): Let PostScript files be opened by
30672 (org-time-stamp-inactive): Call `org-time-stamp'.
30673 (org-time-stamp): New argument `inactive'. Also edit inactive
30674 stamps. Convert time stamp type.
30675 (org-open-file): Interpret the `default' value for the `command'
30676 in `org-file-apps'.
30678 * org-id.el (org-id-int-to-b36-one-digit)
30679 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
30680 (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
30683 * org-id.el (org-id-reverse-string): New function.
30684 (org-id-new): Use `org-id-reverse-string' to make sure the
30685 beginning chars of the ID are mutating fast. This allows to use a
30686 directory structure to spread things better.
30687 (org-id-prefix): Change default to nil.
30689 * org-list.el (org-move-item-down, org-move-item-up): Remember and
30690 restore the column of the cursor position.
30692 * org-remember.el (org-remember-apply-template): Remove properties
30695 * org-wl.el (org-wl-open): Remove useless call to
30696 `wl-thread-open-all'.
30698 * org-remember.el (org-remember-handler): Fix bug with `bottom'
30701 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
30702 `org-bbdb-anniversaries'.
30704 * org.el (org-get-next-sibling, org-forward-same-level):
30705 New functions, similar to the outline versions, but invisible headings
30708 2008-10-12 Bastien Guerry <bzg@gnu.org>
30710 * org.el (org-auto-repeat-maybe): Insert a space between
30711 the timestamp's type and the timestamp itself.
30713 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
30715 * org-table.el (org-table-sum): Do not format the result with %g,
30716 it does rounding when there are too many digits.
30718 * org.el (org-map-entries): Protect the keyword-selecting variables.
30720 2008-10-12 Bastien Guerry <bzg@gnu.org>
30722 * org-agenda.el (org-agenda-to-appt): Make sure the function check
30723 against all agenda files.
30725 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
30726 Bastien Guerry <bzg@gnu.org>
30728 * org-list.el: New file, aggregating list functions from org.el
30729 and org-export-latex.el.
30731 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
30733 * org.el (org-edit-src-region-extra): New option.
30735 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
30738 2008-10-12 Bastien Guerry <bzg@gnu.org>
30740 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
30742 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
30744 * org-plot.el (org-plot/gnuplot): Make tables starting with a
30745 hline work correctly.
30746 (org-plot/gnuplot-script): Put commas at the end of each script
30749 * org.el (org-get-refile-targets): Replace links with their
30751 (org-imenu-get-tree): Replace links with their descriptions.
30753 * org-remember.el (org-remember-apply-template): Add a new
30754 expansion for adding properties to remember items.
30756 * org.el (org-add-log-setup): Skip over drawers (properties,
30757 clocks etc) when adding notes.
30759 * org-agenda.el (org-agenda-get-closed): Show durations of clocked
30760 items as well as the start and end times.
30762 * org-compat.el (org-get-x-clipboard-compat): Add a compat
30763 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
30765 * org-remember.el (org-get-x-clipboard): Use the compat
30766 function to get clipboard values when x-selection-value is
30767 unavailable. Use substring-no-properties instead of
30768 set-text-properties to remove text properties from the clipboard
30771 * org-clock.el (org-update-mode-line): Support limiting the
30772 modeline clock string, and display the full todo value in the
30773 tooltip. Set a local keymap so mouse-3 on the clock string goes to
30774 the currently clocked task.
30775 (org-clock-string-limit): Add a custom value for the maximum
30776 length of the clock string in the modeline.
30777 (org-clock-mode-map): Add a keymap for the modeline string.
30779 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
30781 * org-compat.el (org-propertize): New function.
30783 2008-10-12 Bastien Guerry <bzg@gnu.org>
30785 * org-export-latex.el (org-export-latex-tables): Protect exported
30786 tables from further special chars conversion.
30787 (org-export-latex-preprocess): Preserve LaTeX environments.
30788 (org-list-parse-list): Parse descriptive lists.
30789 (org-list-to-generic, org-list-to-latex, org-list-to-html)
30790 (org-list-to-texinfo): Export descriptive lists.
30791 (org-quote-chars): Remove.
30792 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
30793 (org-export-latex-list-beginning-re): Rename to
30794 `org-list-beginning-re'.
30795 (org-list-item-begin): Rename to `org-list-item-beginning'.
30797 2008-10-12 Eric Schulte <schulte.eric@gmail.com>
30799 * org-plot.el: New file.
30801 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
30803 * org.el (org-refile): Allow refiling to the last entry in the
30805 (org-get-tags-at): Fix bug when inheritance is turned off.
30807 * org.el (org-indent-line-function): No longer check for src
30808 regions, this is too much overhead.
30810 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
30813 * org.el (org-scan-tags): Make sure that tags matching is not case
30814 sensitive. TODO keyword matching is case sensitive, however, to
30815 avoid confusion with similar words that are not meant to be
30818 * org.el (org-get-local-tags-at): New function.
30819 (org-get-local-tags): New function.
30821 * org-exp.el (org-export-get-categories): New function.
30823 * org-agenda.el (org-sorting-choice)
30824 (org-agenda-sorting-strategy, org-agenda-get-todos)
30825 (org-agenda-get-timestamps, org-agenda-get-deadlines)
30826 (org-agenda-get-scheduled, org-agenda-get-blocks)
30827 (org-entries-lessp): Implement sorting by TODO state.
30828 (org-cmp-todo-state): New defsubst.
30830 * org-colview.el (org-colview-construct-allowed-dates):
30832 (org-columns-next-allowed-value):
30833 Use `org-colview-construct-allowed-dates'.
30835 * org.el (org-protect-slash): New function.
30836 (org-get-refile-targets): Use `org-protect-slash'.
30838 * org-agenda.el (org-global-tags-completion-table): New variable.
30840 * org-exp.el (org-export-handle-export-tags): New function.
30841 (org-export-preprocess-string):
30842 Call `org-export-handle-export-tags'.
30844 * org-publish.el (org-publish-expand-components): Function removed.
30845 (org-publish-expand-projects): Allow components to have components.
30847 * org.el (org-indent-line-function): Do not indent in regions that
30848 are external source code.
30849 (org-yank-and-fold-if-subtree): New function.
30851 * org-agenda.el (org-agenda-todayp): New function.
30852 (org-agenda-get-deadlines, org-agenda-get-scheduled):
30853 Use `org-agenda-todayp'.
30855 * org.el (org-insert-heading-respect-content)
30856 (org-insert-todo-heading-respect-content): New commands.
30857 (org-insert-heading-respect-content): New option.
30858 (org-insert-heading): Respect `org-insert-heading-respect-content'.
30860 * org-clock.el (org-clock-find-position): Make sure the note after
30861 the clock line gets moved into the new clock drawer.
30863 * org-id.el (org-id-new): New option.
30865 * org-table.el (org-table-copy-down): Avoid overflow during
30866 increment. Use prefix argument 0 to temporarily disable the
30869 * org-exp.el (org-export-as-html): Do not turn on the major mode
30870 if the buffer will be killed anyway.
30871 (org-get-current-options): Exclude the #+TEXT field.
30872 (org-export-as-html): Make sure text before the first headline is
30875 * org-publish.el (org-publish-org-to): Tell the exporter that this
30876 buffer will be killed, so it is not necessary to do major mode
30879 * org-archive.el (org-archive-to-archive-sibling): Show empty
30880 lines after folding the archive sibling.
30882 * org.el (org-log-note-extra): New variable.
30884 2008-10-12 Bastien Guerry <bzg@gnu.org>
30886 * org.el (org-additional-option-like-keywords): Add keywords for
30887 the _QUOTE, _VERSE and _SRC environments.
30889 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
30890 exporting _QUOTE and _VERSE environments.
30892 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
30894 * org-agenda.el (org-agenda-filter-by-tag): New command.
30896 * org-exp.el (org-get-current-options): Remove angular brackets
30897 from the date entry.
30899 * org.el (org-edit-fixed-width-region): New function.
30900 (org-edit-fixed-width-region): Also try
30901 `org-edit-fixed-width-region'.
30902 (org-edit-fixed-width-region-mode): New option.
30903 (org-activate-code): Only interpret lines starting with colon
30904 plus a space as example lines.
30906 * org-remember.el (org-remember-templates): Add nil instead of
30907 empty strings to fix the length of remember templates.
30909 * org-table.el (org-calc-default-modes): Fix the time format for
30910 calc, from 12 hour to 24 hour clock.
30912 * org-agenda.el (org-agenda-get-deadlines)
30913 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
30914 entries that are pre-warnings of deadlines or reminders.
30916 * org.el (org-sort-entries-or-items): Make numeric and alpha
30917 comparisons ignore any TODO keyword and priority cookie.
30919 * org-remember.el (org-remember-handler): Reinterpretation of the
30922 * org-agenda.el (org-agenda-get-scheduled): Use new
30923 `org-scheduled' face.
30925 * org-faces.el (org-scheduled): New face.
30927 * org-wl.el (org-wl-open): Remove incorrect declaration.
30929 * org-gnus.el (org-gnus-store-link): Support for :to information
30932 * org-exp.el (org-export-as-html): Fix typo in creator
30934 (org-export-protect-examples): New parameter indent. Insert extra
30935 spaces only when this parameter is specified.
30936 (org-export-preprocess-string): Call `org-export-protect-examples'
30937 with an indentation parameter when exporting to ASCII.
30939 * org-remember.el (org-remember-templates)
30940 (org-remember-apply-template): Allow the file component to be a
30943 * org.el (org-goto-local-search-headings): Rename from
30944 `org-goto-local-search-forward-headings'. Added the possibility
30945 to search backwards.
30947 * org-export-latex.el (org-export-latex): New customization
30950 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
30952 * org-exp.el (org-html-do-expand): Allow {} to terminate
30955 * org.el (org-buffer-list): Select buffers based on major mode,
30958 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
30961 * org-colview.el (org-columns-display-here):
30962 Use `org-columns-modify-value-for-display-function'.
30964 * org.el (org-columns-modify-value-for-display-function): New option.
30966 * org-publish.el (org-publish-file): Make sure the directory match
30967 for the publishing directory works correctly.
30969 * org-agenda.el (org-agenda-execute-calendar-command)
30970 (org-agenda-diary-entry): Additional optional argument.
30972 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
30974 * org-exp.el (org-export-as-html): Add attributes also in mailto
30977 * org.el (org-autoload): Add `org-dblock-write:columnview'.
30979 2008-08-11 Glenn Morris <rgm@gnu.org>
30981 * org-mac-message.el (do-applescript): Fix declaration.
30983 2008-08-10 Glenn Morris <rgm@gnu.org>
30985 * org-exp.el (org-export-as-html): Let-bind `i'.
30987 * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
30988 (org-extract-attributes): Let-bind `key', `value'.
30989 (org-make-tags-matcher): Let-bind `time-p'.
30991 2008-07-27 Carsten Dominik <dominik@science.uva.nl>
30993 * org-install.el: New file.
30995 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
30997 * org-exp.el (org-export-html-style)
30998 (org-export-html-style-extra): Declare as safe-local-variable.
31000 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
31002 * org-publish.el (org-publish-file): Use the true name of the
31005 * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
31008 * org-exp.el (org-export-plist-vars)
31009 (org-export-add-options-to-plist): Handle creator setting flag.
31010 (org-export-as-html): Handle attributes also for ftp and mailto
31013 * org-agenda.el (org-agenda-diary-entry)
31014 (org-agenda-execute-calendar-command): Cater for the second
31015 argument of `calendar-cursor-to-date'.
31017 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
31019 * org-exp.el (org-export-region-as-html, org-export-as-html):
31020 Make sure that calls from `org-export-region-as-html' do not do the
31021 special check for a subtree.
31023 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
31025 * org.el (org-open-file):
31026 Use `org-open-directory-means-index-dot-org'.
31027 (org-open-directory-means-index-dot-org): New option.
31029 * org.el (org-make-link-string): Remove link attributes from
31031 (org-open-at-point): Remove link attributes before using the path.
31033 * org-exp.el (org-export-as-html): Handle link attributes.
31035 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
31037 * org-table.el (org-table-to-lisp): New function.
31039 * org.el (org-narrow-to-subtree): Do not include the final newline
31040 into the narrowed region.
31042 * org-agenda.el (org-agenda-custom-commands-local-options):
31043 Fix bug with user-define skipping condition.
31045 * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
31047 * org-exp.el (org-export-html-style-default): Automatic overflow
31048 handling for pre fields.
31049 (org-export-as-ascii, org-export-as-html): Change default format
31052 * org-table.el (org-table-export): Offer completion for translator
31053 functions, and do not require a heading above the table.
31055 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
31056 Cater for the case of a list starting in the first line of the
31059 * org-publish.el (org-publish-find-title): Bug fix.
31060 (org-publish-org-index): Implement new :index-style option.
31062 * org-publish.el (org-publish-timestamp-filename):
31063 Use SHA1-encoded file names in the timestamp directory.
31065 * org-publish.el (org-publish-needed-p): Be verbose about files
31066 published and files skipped.
31068 * org-exp.el (org-export-preprocess-string): Swap link
31069 normalization and internal link targeting.
31071 * org-publish.el (org-publish-needed-p): Create timestamp
31072 directory when it does not exist.
31074 * org-clock.el (org-clock-out-when-done): Doc fix.
31076 * org.el (org-agenda-skip-unavailable-files): Doc fix.
31078 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
31079 Ignore case when searching for the COMMENT cookie at export time.
31081 * org-exp.el (org-get-file-contents)
31082 (org-get-and-remove-property): New functions.
31083 (org-export-handle-include-files): Handle the new prefix options.
31084 (org-export-as-html): Fix the verse environment.
31086 * org.el (org-time=, org-time<, org-time<=, org-time>)
31087 (org-time>=, org-time<>, org-2ft): New functions.
31088 (org-op-to-function): Also provide for the time testing functions.
31090 * org-exp.el (org-export-html-style-default): New constant.
31092 * org-exp.el (org-export-html-style-extra): New variable.
31093 (org-export-splice-style): New function.
31095 * org-exp.el (org-export-plist-vars, org-export-as-html):
31096 Implement `org-export-creator-info'.
31097 (org-export-creator-info): New option.
31099 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
31100 (org-property-drawer-re, org-clock-drawer-re): New constants.
31102 * org-exp.el (org-icalendar-use-deadline)
31103 (org-icalendar-use-scheduled): New options.
31104 (org-icalendar-include-todo): Default changed to t.
31105 (org-print-icalendar-entries): Implement better utilization of
31106 scheduling and deadline time stamps.
31107 (org-export-target-internal-links, org-export-as-html): Allow file
31108 lines without the "file:" prefix if the file path is an absolute
31109 path or starts with ".".
31111 * org-clock.el (org-clocktable-shift): Also understand yesterday,
31113 (org-clock-special-range): Also understand yesterday, lastweek etc.
31115 * org.el (org-agenda-skip-archived-trees): Docstring now
31116 discourages using this.
31117 (org-scan-tags): Check for org-agenda-archives-mode.
31118 (org-map-entries): Make sure org-agenda-archives-mode is nil.
31119 (org-agenda-files): Functionality of second arg changed.
31121 * org-agenda.el (org-agenda-archives-mode): New variable.
31122 (org-write-agenda, org-prepare-agenda, org-agenda-list)
31123 (org-search-view, org-todo-list, org-tags-view)
31124 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
31126 (org-agenda-quit): Reset the archives mode.
31127 (org-agenda-archives-mode): New command.
31128 (org-agenda-set-mode-name): Include archives info.
31130 * org.el (org-paste-subtree): Make sure the yanked headline is
31131 visible if it was yanked at a visible point.
31132 (org-move-item-up): Fix the bug with moving white space at the end
31134 (org-show-empty-lines-in-parent): New function.
31136 2008-07-19 Juri Linkov <juri@jurta.org>
31138 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
31139 new keymap `narrow-map' instead of binding "\C-xns".
31141 2008-07-02 Juanma Barranquero <lekktu@gmail.com>
31143 * org.el (org-agenda-skip-unavailable-files):
31144 * org-clock.el (org-clock-out-when-done): Doc fixes.
31146 2008-06-18 Glenn Morris <rgm@gnu.org>
31148 * org.el (org-map-entries): Let-bind `file'.
31150 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31152 * org-colview.el (org-columns-next-allowed-value): Bug fix.
31154 * org-agenda.el (org-agenda-get-closed): Get the end time into the
31155 agenda prefix as well.
31157 * org-publish.el (org-publish-org-index): Make a properly indented
31160 * org.el (org-calendar-agenda-action-key): New option.
31161 (org-get-cursor-date): New function.
31162 (org-mark-entry-for-agenda-action): New command.
31163 (org-overriding-default-time): New variable.
31164 (org-read-date): Respect `org-overriding-default-time'.
31166 * org-remember.el (org-remember-apply-template): Respect the
31167 overriding default time.
31169 * org-agenda.el (org-agenda-action-marker): New variable.
31170 (org-agenda-action): New command.
31171 (org-agenda-do-action): New function.
31173 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31175 * org.el (org-schedule, org-deadline): Protect scheduled and
31176 deadline tasks against changes that accidentally remove the
31177 repeater. Also show a message with the new date when done.
31179 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31181 * org.el (org-beginning-of-line): Cater for the case when there
31182 are tags but no headline text.
31183 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
31186 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31188 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
31189 the return value is nil instead of "nil" when there is no match.
31191 * org-exp.el (org-insert-centered): Use fill-column instead of
31193 (org-export-as-ascii): Use string-width to measure the width of
31196 * org.el (org-diary-to-ical-string): No longer kill buffer
31197 FROMBUF, this is now done by the caller.
31199 * org-exp.el (org-print-icalendar-entries): Move the call to
31200 `org-diary-to-ical-string' out of the loop, and kill the buffer
31203 * org-remember.el (org-remember-visit-immediately):
31204 Position cursor after moving to the note.
31205 (org-remember-apply-template): Use a text property to record the
31207 (org-remember-handler): Align tags after pasting the note.
31209 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31211 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
31213 * org-agenda.el (org-agenda-open-link): If there is an
31214 org-bbdb-name property in the current line, jump to that bbdb
31217 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
31218 text property, so that the agenda knows where this entry comes
31221 * org-agenda.el (org-agenda-clock-in): Fix bug in the
31222 interaction between clocking-in from the agenda, and automatic
31223 task state switching.
31225 * org-macs.el (org-with-point-at): Bug fix in macro definition.
31227 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
31228 zmacs-region stays after this command in XEmacs.
31230 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31232 * org.el (org-scan-tags): Allow new values for ACTION parameter.
31234 * org-remember.el (org-remember-templates): Fix bug in
31235 customization type definition.
31237 * org.el (org-map-entries): New function.
31239 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31241 * org-agenda.el (org-agenda-skip-comment-trees): New option.
31242 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
31244 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31246 * org-remember.el (org-jump-to-target-location): New variable.
31247 (org-remember-apply-template):
31248 Set `org-remember-apply-template' if requested by template.
31249 (org-remember-handler): Start an idle timer to jump to
31252 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
31254 * org.el (org-set-regexps-and-options): Fix bug with parsing of
31256 (org-get-tags-at): Add the content of `org-file-tags'.
31258 * org-exp.el (org-export-handle-comments): Fix bug with several
31259 comment lines after each other.
31260 (org-number-to-roman, org-number-to-counter): New functions.
31261 (org-export-section-number-format): New option.
31263 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31265 * org-exp.el (org-export-protect-examples): Catch the case of a
31266 missing end_example line.
31268 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
31269 `org-file-tags' to nil.
31271 * org-colview.el (org-columns-next-allowed-value): Handle next
31272 argument NTH to directly select a value.
31274 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31276 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
31278 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31280 * org.el (org-columns-ellipses): New option.
31282 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31284 * org-colview.el (org-columns-add-ellipses): New function.
31285 (org-columns-compact-links): New function.
31286 (org-columns-cleanup-item): Call `org-columns-compact-links'.
31287 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
31289 (org-columns-edit-value): Fix bug with editing values from
31290 agenda column view.
31291 (org-columns-redo): Also redo the agenda itself.
31293 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31295 * org-agenda.el (org-agenda-columns-remove-prefix-from-item):
31298 * org-colview.el (org-agenda-columns-cleanup-item): New function.
31300 * org-exp.el (org-export-ascii-preprocess): Rename from
31301 `org-export-ascii-clean-string'.
31302 (org-export-kill-licensed-text)
31303 (org-export-define-heading-targets)
31304 (org-export-handle-invisible-targets)
31305 (org-export-target-internal-links)
31306 (org-export-remove-or-extract-drawers)
31307 (org-export-remove-archived-trees)
31308 (org-export-protect-quoted-subtrees)
31309 (org-export-protect-verbatim, org-export-protect-examples)
31310 (org-export-select-backend-specific-text)
31311 (org-export-mark-blockquote-and-verse)
31312 (org-export-remove-comment-blocks-and-subtrees)
31313 (org-export-handle-comments, org-export-mark-radio-links)
31314 (org-export-remove-special-table-lines)
31315 (org-export-normalize-links)
31316 (org-export-concatenate-multiline-links)
31317 (org-export-concatenate-multiline-emphasis): New functions,
31318 obtained from spliting the export preprocessor.
31320 * org-table.el (org-table-recalculate): Improve error message if
31321 the row number is invalid.
31323 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31325 * org-archive.el (org-archive-save-context-info): Fix bugs in
31326 customization setup and docstring.
31328 * org-exp.el (org-export-html-style): Change the size of in the
31329 <pre> element to 90%.
31331 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31333 * org.el (org-find-src-example-start): Function removed.
31334 (org-edit-src-find-region-and-lang): New function.
31336 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31338 * org.el (org-edit-src-exit): New function.
31339 (org-exit-edit-mode): New minor mode.
31341 * org-exp.el (org-export-preprocess-string): Fix bug with removing
31342 comment-like lines from protected examples.
31344 * org.el (org-edit-src-example, org-find-src-example-start)
31345 (org-protect-source-example, org-edit-special): New functions.
31347 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31349 * org-publish.el (org-publish-project-alist): Fix typo in
31351 (org-publish-project-alist): Handle :index-title property.
31353 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31355 * org-export-latex.el (org-export-as-latex): Make sure region
31356 bounds are correct. Parse subtree properties relating to export.
31358 * org-exp.el (org-export-add-options-to-plist): New function.
31359 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
31361 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31363 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
31366 * org-exp.el (org-export-get-title-from-subtree)
31367 (org-export-as-ascii, org-export-as-html): Make sure the original
31368 region-beginning and region-end are used, even after moving point.
31369 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
31372 * org-remember.el (org-remember-last-stored-marker): New variable.
31373 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
31374 (org-remember-handler): Also use marker to remember
31375 last-stored position.
31377 * org.el (org-goto-marker-or-bmk): New function.
31379 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31381 * org.el (org-file-properties): Rename from `org-local-properties'.
31382 (org-scan-tags): Take file tags into account.
31383 (org-tags-match-list-sublevels): Default changed to t.
31385 * org-exp.el (org-export-as-html): Close paragraph after a footnote.
31387 * org.el (org-update-parent-todo-statistics): New function.
31389 * org-exp.el (org-icalendar-store-UID): New option.
31390 (org-icalendar-force-UID): Option removed.
31391 (org-print-icalendar-entries): IMplement UIDs.
31393 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31395 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
31397 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31399 * org-faces.el (org-column): Document how this face is being used
31400 and why sometimes the background faces shine through.
31402 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
31404 * org-publish.el (org-publish-attachment): Create publishing
31405 directory if it does not yet exist.
31407 * org-table.el (org-calc-default-modes): Change default number
31408 format to (float 8).
31410 * org.el (org-olpath-completing-read): New function.
31411 (org-time-clocksum-format): New option.
31412 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
31414 * org-clock.el (org-clock-display, org-clock-out)
31415 (org-update-mode-line): Use `org-time-clocksum-format'.
31417 * org-colview.el (org-columns-number-to-string):
31418 Use `org-time-clocksum-format'.
31420 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31422 * org-id.el: New file, move from contrib to core.
31424 * org-exp.el (org-icalendar-force-UID): New option.
31426 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31428 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
31429 shifted by one day if there is a date range without an end time.
31431 * org.el (org-try-structure-completion): New function.
31433 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31435 * org.el (org-set-font-lock-defaults): Improve fontification of
31437 (org-insert-item): Handle description lists.
31438 (org-adaptive-fill-function): Improve auto indentation in
31441 * org-exp.el (org-export-as-html, org-export-preprocess-string):
31442 Implement VERSE environment.
31443 (org-export-preprocess-string): Implement the COMMENT
31446 * org-export-latex.el (org-export-latex-preprocess):
31447 Implement VERSE environment.
31449 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31451 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
31454 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31456 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
31458 * org.el (org-quote-csv-field): New functions.
31460 * org-table.el (org-table-export-default-format): Remove :splice
31461 from default format, we get the same effect by not specifying
31463 (org-table-export): Improve setup, distinguish better between
31464 interactive and non-interactive use, allow specifying the format
31465 on the fly, better protection against wrong file names.
31466 (orgtbl-to-generic): Fix documentation. Do not require :tstart
31467 and :tend when :splice is omitted.
31469 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31471 * org-clock.el (org-clock-select-task): Make sure the selection
31472 letters are 1-9 and A-Z, no special characters.
31474 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31476 * org-exp.el (org-export-htmlize): New group.
31477 (org-export-htmlize-output-type)
31478 (org-export-htmlize-css-font-prefix): New options.
31479 (org-export-htmlize-region-for-paste): New function.
31480 (org-export-htmlize-generate-css): New command.
31482 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31484 * org.el (org-set-visibility-according-to-property): New function.
31485 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
31486 and compute the regular expressions, and update font-lock.
31487 (org-property-re): Allow a dash in property names.
31489 * org-archive.el (org-extract-archive-file): Insert the file name
31490 without the path into the format, to allow the location format to
31491 contain a subdirectory.
31493 * org-agenda.el (org-agenda-post-command-hook): If point is at end
31494 of buffer, and the `org-agenda-type' property undefined, use the
31495 value from the character before.
31497 * org.el (org-add-planning-info): Don't let indentation for
31498 would-be timestamp become extra whitespace at the end of headline.
31500 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31502 * org.el (org-remove-double-quotes, org-file-contents):
31505 * org-exp.el (org-infile-export-plist): Also parse the
31506 contents of #+SETUPFILE files, recursively.
31508 * org.el (org-set-regexps-and-options): Also parse the
31509 contents of #+SETUPFILE files, recursively.
31511 * org-exp.el (org-export-handle-include-files): New function.
31512 (org-export-preprocess-string):
31513 Call `org-export-handle-include-files'.
31515 * org.el (org-delete-property-globally)
31516 (org-delete-property, org-set-property): Ignore case during
31518 (org-set-property): Use `org-completing-read' instead of
31521 * org.el (org-complete-expand-structure-template): New,
31522 experimental function.
31523 (org-structure-template-alist): New, experimental option.
31524 (org-complete): Call `org-complete-expand-structure-template'.
31526 2008-06-17 Bastien Guerry <bzg@gnu.org>
31528 * org-export-latex.el (org-export-latex-preprocess):
31529 Add support for blockquotes.
31531 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31533 * org.el (org-read-date-analyze): Catch the case where only a
31536 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31538 * org.el (org-set-font-lock-defaults): Make the description
31541 * org-exp.el (org-export-as-html, org-close-li):
31542 Implement description lists.
31544 2008-06-17 Jason Riedy <jason@acm.org>
31546 * org-table.el (*orgtbl-default-fmt*): New variable.
31547 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
31548 when there is no other fmt available.
31550 (orgtbl-to-generic): Allow an explicitly nil :tstart or
31551 :tend to suppress the appropriate string.
31553 (orgtbl-to-orgtbl): New function for translating to another orgtbl
31556 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31558 * org.el (org-read-date-analyze): "." as an alias for "+0" in
31561 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
31564 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
31567 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31569 * org-clock.el (org-clock-find-position): Don't include notes
31572 * org-archive.el (org-archive-subtree): No longer remove an
31573 extra line after cutting the subtree. `org-cut-subtree' already
31574 takes care of this.
31576 * org-remember.el (org-remember-handler): Only kill the target
31577 buffer if it does not contain the running clock.
31579 * org.el (org-markers-to-move): New variable.
31580 (org-save-markers-in-region, org-check-and-save-marker)
31581 (org-reinstall-markers-in-region): New function.
31582 (org-move-subtree-down, org-copy-subtree): Remember relative
31583 marker positions before cutting.
31584 (org-move-subtree-down, org-paste-subtree): Restore relative
31585 marker positions after pasting.
31587 * org-remember.el (org-remember-clock-out-on-exit): New option.
31588 (org-remember-finalize): Clock out only if the setting in
31589 `org-remember-clock-out-on-exit' requires it.
31590 (org-remember-handler): Do the cleanup in the buffer, to make sure
31591 that the clock marker remains in tact.
31593 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31595 * org-clock.el (org-clock-goto): Widen buffer if necessary.
31596 (org-clock-in): Make sure that also tasks outside the narrowed
31597 region will be clocked in correctly.
31598 (org-clock-insert-selection-line): Widen the buffer so that we can
31599 find the correct task heading.
31601 * org.el (org-base-buffer): New function.
31603 * org-exp.el (org-icalendar-cleanup-string): Make sure ","
31604 and ";" are escaped.
31605 (org-print-icalendar-entries): Also apply
31606 `org-icalendar-cleanup-string' to the headline, not only to the
31609 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
31611 * org-exp.el (org-export-preprocess-hook): New hook.
31612 (org-export-preprocess-string): Call `org-export-preprocess-hook'.
31614 * org.el (org-font-lock-hook): New variable.
31615 (org-font-lock-hook): New function.
31616 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
31618 ;; Local Variables:
31620 ;; add-log-time-zone-rule: t
31623 Copyright (C) 2008-2014 Free Software Foundation, Inc.
31625 This file is part of GNU Emacs.
31627 GNU Emacs is free software: you can redistribute it and/or modify
31628 it under the terms of the GNU General Public License as published by
31629 the Free Software Foundation, either version 3 of the License, or
31630 (at your option) any later version.
31632 GNU Emacs is distributed in the hope that it will be useful,
31633 but WITHOUT ANY WARRANTY; without even the implied warranty of
31634 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31635 GNU General Public License for more details.
31637 You should have received a copy of the GNU General Public License
31638 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.