1 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
5 * ob-asymptote.el: New file.
6 * ob-clojure.el: New file.
7 * ob-comint.el: New file.
9 * ob-ditaa.el: New file.
10 * ob-dot.el: New file.
11 * ob-emacs-lisp.el: New file.
12 * ob-eval.el: New file.
13 * ob-exp.el: New file.
14 * ob-gnuplot.el: New file.
15 * ob-haskell.el: New file.
16 * ob-keys.el: New file.
17 * ob-latex.el: New file.
18 * ob-lob.el: New file.
19 * ob-matlab.el: New file.
20 * ob-mscgen.el: New file.
21 * ob-ocaml.el: New file.
22 * ob-octave.el: New file.
23 * ob-perl.el: New file.
24 * ob-python.el: New file.
25 * ob-ref.el: New file.
26 * ob-ruby.el: New file.
27 * ob-sass.el: New file.
28 * ob-screen.el: New file.
30 * ob-sql.el: New file.
31 * ob-sqlite.el: New file.
32 * ob-table.el: New file.
33 * ob-tangle.el: New file.
36 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
38 * org-mks.el: New file.
39 * org-capture.el: New file.
41 2010-07-19 Christian Egli <christian.egli@sbszh.ch>
43 * org-taskjuggler.el: New file.
45 2010-07-19 Matt Lundin <mdl@imapmail.org>
47 * org-agenda.el (org-search-view): Fix inclusion of agenda-archives
48 in org-agenda-text-search-extra-files.
50 2010-07-19 David Maus <dmaus@ictsoc.de>
52 * org-list.el (org-list-send-list): Locally bind variable `txt'.
54 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
56 * org.el (org-reload): Now also reloading babel files.
58 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
60 * org-capture.el (org-capture-set-plist): Make sure txt is a string
61 before calling `string-match'.
62 (org-capture-templates): Fix customization type.
64 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
66 * org-latex.el (org-export-latex-preprocess): Make a special case
68 (org-latex-entities): Remove the entry for \nbsp.
69 (org-latex-entities-exceptions): Variable removed.
71 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
73 * org-capture.el (org-capture-refile): Do not try to manipulate
76 * org.el (org-refile): Use the correct bookmark here.
78 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
80 * org-list.el (org-list-send-list): Parse list from its true beginning.
82 * org.el (org-ctrl-c-ctrl-c): Maybe send the list when at a list item.
84 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
86 * org.el (org-insert-link): Correctly determine if we should use
89 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
91 * org-list.el (org-list-radio-list-templates): Fix templates.
93 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
95 * org-list.el (org-list-send-list): Regexp defining the start of
96 a radio list is now on par with the one used for radio tables.
98 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
100 * org-entities.el (org-entities-help): Add a headline for
101 the user-defined entities.
103 2010-07-19 Dirk-Jan C. Binnema <djcb.bulk@gmail.com> (tiny change)
105 * org-agenda.el (org-agenda-action): Document capture key and add it
108 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
110 * org-latex.el (org-export-latex-listings-langs): Add (sqlite "SQL").
112 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
114 * org-latex.el (org-export-latex-first-lines): Do not mark
115 meta lines for removal. Do not remove BABEL config lines during export.
117 2010-07-19 David Maus <dmaus@ictsoc.de>
119 * org-capture.el (org-capture): Check if
120 `org-capture-link-is-already-stored' is bound before evaluating.
122 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
124 * org.el: Add autoload for org-babel-do-load-languages.
126 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
128 * org-src.el (org-src-lang-modes): Add sqlite to sql-mode.
130 2010-07-19 David Maus <dmaus@ictsoc.de>
132 * org-feed.el: Change indentation to match coding style
135 2010-07-19 David Maus <dmaus@ictsoc.de>
137 * org-feed.el (org-feed-unescape, org-feed-parse-atom-feed): Load XML
138 library if necessary.
140 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
142 * org-beamer.el (org-beamer-amend-header): Standardize the
143 header cookie for the beamer extra stuff.
145 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
147 * org-beamer.el (org-beamer-amend-header): Put extra header
150 2010-07-19 David Maus <dmaus@ictsoc.de>
152 * org-exp-blocks.el (org-export-blocks-format-ditaa)
153 (org-export-blocks-format-dot): Remove text properties of body before
154 calculating cache hash.
156 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
158 * org-latex.el (org-export-latex-tabular-environment): New option.
159 (org-export-latex-tables): Use `org-export-latex-tabular-environment'.
161 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
163 * org-compat.el (org-version-check): New function.
165 * org-indent.el (org-indent-mode): Check for exact emacs version.
167 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
169 * org-capture.el (org-capture-templates): Allow the template
170 to come from a file or function call.
171 (org-capture-place-entry): Get the template from file or function.
173 2010-07-19 David Maus <dmaus@ictsoc.de>
175 * org-agenda.el (org-agenda-bulk-action): Don't create marker for
176 position if target is entire file.
178 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
180 * org.el (org-autoload): Autoload a few more org-table functions.
182 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
184 * org.el (org-babel-load-languages): Add ob-mscgen.
186 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
188 * org-latex.el (org-export-latex-tables): Format string now
191 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
193 * org.el (org-babel-load-languages): This variable controls which
194 languages will be loaded by org-babel. It is customizable through
195 the customize interface.
197 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
199 * org-latex.el (org-export-latex-format-image): Update number of
200 arguments to allow for an optional short-name.
202 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
204 * org-indent.el (org-indent-mode): Refuse to turn on prior to Emacs 23.2.
206 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
208 * org-capture.el (org-capture-set-target-location): Store
209 exact positions for file+regexp and file+function targets.
210 (org-capture-place-entry, org-capture-place-item)
211 (org-capture-place-table-line, org-capture-place-plain-text): Respect
213 (org-capture-finalize): Make sure we are at the beginning of a line
214 when fixing the empty lines after the entry.
216 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
218 * org.el (org-entry-get-with-inheritance): New argument LITERAL-NIL.
219 (org-entry-get): Pass `literal-nil' into
220 `org-entry-get-with-inheritance'.
221 (org-todo): React to nil values of the LOGGING property.
223 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
225 * org.el (org-default-notes-file): Update docstring.
227 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
229 * org.el (org-link-frame-setup): Use `org-gnus-no-new-news' as default.
231 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
233 * org-exp.el (org-export-attach-captions-and-attributes): Add
234 a shortname attribute to caption strings under the symbol name
237 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
239 * org.el (org-switchb): Rename from `org-iswitchb'. Improve
241 (org-iswitchb): New alias.
242 (org-ido-switchb): Make alias point to `org-switchb'.
244 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
246 * org-capture.el (org-capture-fill-template): Respect
247 time-of-day preference in template prompt.
249 2010-07-19 David Maus <dmaus@ictsoc.de>
251 * org-feed.el (org-feed-unescape): Remove superfluous lambda.
253 2010-07-19 David Maus <dmaus@ictsoc.de>
255 * org-wl.el (org-wl-disable-folder-check): New customization
257 (org-wl-open): Disable folder check depending on
258 `org-wl-disable-folder-check'.
260 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
262 * org-capture.el (org-capture-set-target-location): Fix
263 file+function interpretation.
265 2010-07-19 David Maus <dmaus@ictsoc.de>
267 * org-feed.el (org-feed-parse-rss-entry): Unescape rss element
270 2010-07-19 David Maus <dmaus@ictsoc.de>
272 * org-feed.el (xml-entity-alist): Declare variable
273 `xml-entity-alist' for byte compiler.
275 2010-07-19 David Maus <dmaus@ictsoc.de>
277 * org-feed.el (org-feed-unescape): New function. Unescape
279 (org-feed-parse-atom-entry): Use function for atom:content
282 2010-07-19 David Maus <dmaus@ictsoc.de>
284 * org-feed.el (org-feed-parse-rss-feed): Ignore case of rss
287 2010-07-19 Bernt Hansen <bernt@norang.ca>
289 * org.el (org-time-string-to-absolute): Ignore cyclic repeater
290 when displaying items on todays agenda date.
292 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
294 * org-agenda.el (org-agenda-get-progress): Avoid reusing previous
297 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
299 * org-publish.el (org-publish-initialize-cache): Make
300 timestamp directory, the entire path to it.
302 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
304 * org-exp.el (org-export-handle-comments): Make sure to check
305 for protection in the comment line, and not in the line after it.
307 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
309 * org-html.el (org-export-html-preprocess): Call org-format-latex,
310 possibly with a protect-only argument.
312 * org.el (org-format-latex): New argument PROTECT-ONLY.
314 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
316 * org-exp.el (org-export-handle-table-metalines): This function
317 removes table specific meta-lines, now that we aren't wiping
318 everything that looks remotely like a comment at the end of the
319 export process we have to be sure to catch all of the specific lines
322 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
324 * org-exp.el (org-export-select-backend-specific-text): Properly
325 get rid of #+Backend and #+ATTR_Backend specifics to backends not
326 matching the one we're exporting to.
328 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
330 * Makefile (lisp/org-install.el): Replace babel files in
331 construction of org-install.el.
333 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
335 * org-table.el (orgtbl-to-generic): Add the :remove-newlines
336 option which will strip newline characters from the text of table
337 cells and replace then with "\n".
339 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
341 * org.el (org-confirm-shell-link-function):
342 (org-confirm-elisp-link-function): Limit the values that can be set by
345 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
347 * org.el (org-compute-latex-and-specials-regexp): Deal with
348 string elements by discarding them.
350 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
352 * org.el (org-iswitchb): Make sure to use at least iswitchb.
354 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
356 * org-capture.el (org-capture-position-for-last-stored)
357 (org-capture-bookmark-last-stored-position): New functions.
358 (org-capture-place-table-line): Better error catching.
359 (org-capture-place-item):
360 (org-capture-place-entry):
361 (org-capture-place-plain-text): Call
362 `org-capture-position-for-last-stored'.
363 (org-capture-finalize): Just call
364 `org-capture-bookmark-last-stored-position'.
366 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
368 * org-exp.el (org-export-mark-blockquote-verse-center): Fix
369 small bug, now grabbing match data before overwritten by looking-at
370 this fixes a problem with remainders of #+end_quote lines appearing
373 2010-07-19 David Maus <dmaus@ictsoc.de>
375 * org.el (org-link-frame-setup): Add customization option for
378 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
380 * org-latex.el (org-export-latex-fixed-width): Now check
381 org-example rather than org-protected on verbatim export, because by
382 default all ": " prefixed lines are marked protected.
384 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
386 * org-latex.el (org-export-latex-fixed-width): Check for
387 protection before wrapping ": " lines as verbatim.
389 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
391 * org-exp.el (org-export-handle-comments): Check for protection
392 before removing comments.
394 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
396 * org-entities.el (org-entities): Restructure the list.
397 (org-entities-help): Turn the help output into a buffer
398 in Org-mode, so that it becomes easier to find a symbol
400 (org-entities-create-table): Deal with new structure.
402 2010-07-19 David Maus <dmaus@ictsoc.de>
404 * org-agenda.el (org-write-agenda): Use backquotes to expand
405 `flet' at compile time.
407 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
409 * org.el (org-entry-properties): Make sure that standard property
410 names are used even if the user has customized time keywords.
412 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
414 * org-macs.el (org-not-nil): Return the value if not interpreted
417 * org.el (org-entry-get):
418 (org-entry-get-with-inheritance): Interpret the value "nil"
419 as nil for properties.
421 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
423 * org.el (org-switch-to-buffer-other-window): Return the buffer.
425 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
427 * org-macs.el (org-not-nil): New function.
429 * org.el (org-block-todo-from-children-or-siblings-or-parent):
430 Use `org-not-nil' to interpret a property value of nil.
432 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
434 * org.el (org-truely-invisible-p): New function.
435 (org-beginning-of-line): Use `org-truely-invisible-p'.
437 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
439 * org-agenda.el (org-agenda-get-timestamps): No errors
440 while getting TODO state.
441 (org-agenda-highlight-todo): No error when no keyword has
444 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
446 * org.el (org-timestamp-change): New optional argument UPDOWN.
447 Use this to identify calls from org-timestamp-up/down, so that we can
448 skip by rounding minutes in this case.
450 (org-timestamp-down):
451 (org-timestamp-up-day):
452 (org-timestamp-down-day): Call org-timestamp-change with the
455 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
457 * org-agenda.el (org-agenda-action): Make `c' key call org-capture.
459 * org-capture.el: New file.
461 * org-compat.el (org-get-x-clipboard): Function moved here from
464 * org-mks.el: New file.
466 * org.el (org-set-regexps-and-options): Allow statistic cookies as
467 part of complex headlines.
468 (org-find-olp): New argument THIS-BUFFER. When set, assume that the
469 OLP does not contain a file name.
471 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
473 * org.el (org-mode): Set `comment-start' instead of changing the
474 syntax of the `#' character.
476 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
478 * org-exp.el (org-export-format-source-code-or-example): Mark examples
481 * org-html.el (org-export-html-close-lists-maybe): Check if raw
482 HTML stuff was actually made from an example.
484 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
486 * Makefile (LISPF): Let's not compile files that won't often be used.
488 2010-07-19 Bastien Guerry <bzg@altern.org>
490 * org-latex.el: Items are no longer skipped when their first line
491 ends on a protected element.
493 * org-list.el: Protected environments looking like lists are not
496 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
498 * org-exp-blocks.el (org-export-blocks-preprocess):
499 Cleanup trailing newline after block.
501 2010-07-19 Bastien Guerry <bzg@altern.org>
503 * org-exp.el: Comment regexp now matches documentation. No more
504 protection check when deleting comments before export.
506 2010-07-19 Bastien Guerry <bzg@altern.org>
508 * org-exp.el (org-export-preprocess-string):
509 Now using `org-export-handle-include-files-recurse' to resolve
512 2010-07-19 Bastien Guerry <bzg@altern.org>
514 * org-agenda.el (org-agenda-get-deadlines):
515 (org-agenda-get-scheduled):
516 * org.el (org-time-string-to-seconds):
517 For deadline and scheduled agenda display ignore the cyclic repeater
518 when calculating how many days late the task is. If you have a weekly
519 task and miss the date the agenda view will show more than a week late
520 now instead of resetting on the cyclic repeating date. This makes it
521 much more obvious when you missed a repeating task after the repeater.
523 2010-07-19 Bastien Guerry <bzg@altern.org>
525 * org-exp.el (org-export-mark-blockquote-verse-center):
526 Consider environments that end at eob.
528 2010-07-19 Mikael Fornius <mfo@abc.se>
530 * org.el (org-raise-scripts): Do not fontify sub/superscripts of text
531 with face `org-special-keyword'. Make property keys as :LAST_REPEAT:
534 2010-07-19 Mikael Fornius <mfo@abc.se>
536 * org.el (org-at-property-p): Use save-match-data macro instead of let.
538 2010-07-19 Mikael Fornius <mfo@abc.se>
540 * org.el (test): Remove unused test function.
542 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
544 * org-exp-blocks.el (org-export-blocks-preprocess): Fix typo.
546 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
548 * org-exp-blocks.el (org-export-blocks-postblock-hook): Add
549 documentation to and turn into a defcustom.
551 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
553 * org-exp.el (org-get-file-contents): By un-setting prefix1 to ""
554 instead of to nil we avoid errors when :prefix1 is defined, but
557 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
559 * org-latex.el (org-export-latex-preprocess): Environments coming
560 from latex backend specific instructions (#+LaTeX) are already
561 protected and won't be treated as normal environments.
563 2010-07-19 Bastien Guerry <bzg@altern.org>
565 * org-timer.el (org-timer-set-timer): Fix typo in the docstring.
567 2010-07-19 Bastien Guerry <bzg@altern.org>
569 * org-timer.el (org-timer-set-timer): Use a prefix argument.
570 See the docstring of the function.
572 2010-07-19 Bastien Guerry <bzg@altern.org>
574 * org-timer.el (org-timer-set-timer): Fix bug about cancelling
577 2010-07-19 David Maus <dmaus@ictsoc.de>
579 * org-w3m.el (org-w3m-copy-for-org-mode)
580 (org-w3m-get-next-link-start, org-w3m-get-prev-link-start):
581 Get text property directly, not using macro `w3m-anchor'.
583 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
585 * org.el (org-emph-re): Document the match groups.
587 2010-07-19 Bernt Hansen <bernt@norang.ca>
589 * org-clock.el (org-clock-in): Set `org-clock-clocking-in' to
590 t before calling `org-clock-out', so that that function can
591 know its call context.
593 2010-07-19 Bastien Guerry <bzg@altern.org>
595 * org-timer.el (org-timer-default-timer): New variable.
596 (org-timer-set-timer): Use the new variable. Also offer the
597 possibility to replace the current timer by a new one.
599 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
601 * org.el (org-kill-note-or-show-branches): Hide subtree before
602 exposing the headings.
604 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
606 * org.el (org-add-planning-info): Remove the empty line also
607 if there is no whitespace at all in there.
609 * org-table.el (org-table-align): Fix alignment of strings
610 with invisible characters.
612 2010-07-19 David Maus <dmaus@ictsoc.de>
614 * org.el (org-refile-cache-get): Return empty list of targets
615 when cache was cleared.
616 (org-clone-subtree-with-time-shift): Maybe create ID property
618 (org-clone-delete-id): New customization variable.
619 (org-clone-subtree-with-time-shift): Use customization
620 variable `org-clone-delete-id'.
621 (org-clone-subtree-with-time-shift): Remove empty property
622 drawer in cloned subtrees.
624 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
626 * org.el (org-refile-use-cache): New option.
627 (org-refile-cache, org-refile-markers): New variable.
628 (org-refile-marker, org-refile-cache-clear)
629 (org-refile-cache-check-set, org-refile-cache-put)
630 (org-refile-cache-get): New function.
631 (org-get-refile-targets): Use the refile cache.
633 * org-clock.el (org-clock-sum): Don't include running clock if
634 the time block is wrong.
636 2010-07-19 John Wiegley <jwiegley@gmail.com>
638 * org-clock.el (org-clock-clock-in, org-clock-in): Add
639 parameter `start-time'.
640 (org-clock-resolve-clock): Add parameter `clock-out-time'.
641 If set, and resolve-to is a past time, then the clock out
642 event occurs at `clock-out-time' rather than at `resolve-to'.
643 In this case, `resolve-to' becomes the clock in time.
644 (org-clock-jump-to-current-clock): Create new global command
645 to reveal the current clock.
646 (org-clock-resolve): Add new commands g/G and j/J, and a
647 help window describing all commands and their meaning.
648 (org-clock-resolve-expert): New customization variable.
649 (org-find-open-clocks): Fix a bug that caused discovered
650 clocks not to match up with the currently active clock.
651 (org-resolve-clocks): Change the argument
652 `also-non-dangling-p' to `only-dangling-p', since due to a bug
653 this was the default behavior all along.
655 2010-07-19 David Maus <dmaus@ictsoc.de>
657 * org-id.el (org-id-uuid): New function. Return string with
658 random (version 4) UUID.
659 (org-id-method): Make 'uuid the new default value.
660 (org-id-new): Use `org-id-uuid' if call to uuidgen program
661 does not return a UUID.
663 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
665 * org-latex.el (org-export-latex-format-image): Add support
666 for multicolumn figures in LaTeX.
668 2010-07-19 David Maus <dmaus@ictsoc.de>
670 * org.el (org-clone-subtree-with-time-shift): Remove ID
671 property of original subtree in cloned subtrees.
673 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
675 * org-exp.el (org-export-format-source-code-or-example):
676 XEmacs compatibility.
678 * org-latex.el (org-export-latex-tables): Accept comma in
681 * org-docbook.el (org-export-docbook-xslt-stylesheet): New option.
682 (org-export-docbook-xslt-proc-command): Fix docstring.
683 (org-export-docbook-xsl-fo-proc-command): Fix docstring.
684 (org-export-as-docbook-pdf): Improve
685 formatting of the xslt command.
687 * org-exp.el (org-infile-export-plist): Check for XSLT setting.
689 * org.el (org-file-contents): Improve error message.
690 (org-set-regexps-and-options): Remove spaces at both ends.
692 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
694 * org-docbook.el (org-export-as-docbook-pdf): Improve
695 formatting of the xslt command.
697 2010-07-19 Sebastian Rose <sebastian_rose@gmx.de>
699 * org-publish.el (org-publish-cache): Use one big hashmap for
700 each project defined in `org-publish-project-alist'.
701 (initialize-files-alist): Function removed.
702 (org-publish-validate-link): Function removed.
703 (org-publish-get-base-files): Add variable `sitemap-requested'
704 to avoid sorting where possible.
705 (org-publish-get-files): Function removed.
706 (org-publish-get-project-from-filename): Make independent of
708 (org-publish-file): New argument NO-CACHE.
710 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
712 * org.el (org-beginning-of-defun, org-end-of-defun): New
714 (org-mode): Install the `org-beginning-of-defun' and
715 `org-end-of-defun' functions.
716 (org-pretty-entities): New option.
717 (org-toggle-pretty-entities): New command.
718 (org-fontify-entities): New function.
719 (org-startup-options): New keywords for pretty entities.
720 (org-set-font-lock-defaults): Call the pretty entities
723 * org-latex.el (org-export-latex-keywords-maybe): Protect the
726 2010-07-19 Mikael Fornius <mfo@abc.se>
728 * org-habit.el (org-habit-build-graph): Help-echo date when
731 2010-07-19 Jan Böker <jan.boecker@jboecker.de>
733 * org.el (org-file-apps): Improve docstring to reflect
736 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
738 * org.el (org-set-startup-visibility): Fix empty line display.
740 * org-latex.el (org-export-latex-links): Use the formatting
741 function of the link type, if it is available.
743 * org-table.el (org-table-get-remote-range): Return to
744 original buffer when retrieving remote reference.
746 * org.el (org-display-inline-images): Do the entire buffer,
747 not just the narrowed region. Clear the cache.
748 (org-display-inline-images): Match mode file paths.
750 2010-07-19 David Maus <dmaus@ictsoc.de>
752 * org-wl.el (org-wl-store-link-folder): Don't throw error when
753 called on WL folder group.
755 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
757 * org.el (org-replace-escapes): Make sure the cdr is not nil.
758 (org-read-date): Make `M-v' and `C-v' scroll the popup calendar.
759 (org-mode): Revert comment syntax changes.
761 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
763 * org.el (org-sparse-tree): Make `C-c / t' search for all TODO
764 keywords, and `C-c / T' for a specific one.
766 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
768 * org.el (org-mode): Fix comment syntax settings.
770 * org-src.el (org-edit-src-allow-write-back-p): Define
773 * org.el (org-inline-image-overlays): New variable.
774 (org-toggle-inline-images, org-display-inline-images)
775 (org-remove-inline-images): New commands.
776 (org-mode-map): Define a key for `org-toggle-inline-images'.
778 2010-07-19 David Maus <dmaus@ictsoc.de>
780 * org-wl.el (org-wl-message-field): New function. Return
781 content of header field in message entity.
782 (org-wl-store-link): Call `org-wl-store-link-folder' or
783 `org-wl-store-link-message' depending on major-mode.
784 (org-wl-store-link-folder): New function. Store link to
786 (org-wl-store-link-message): New function. Store link to
788 (org-wl-store-link-message): Store link to message while
790 (org-wl-open): Don't try to jump to message when opening a
793 2010-07-19 David Maus <dmaus@ictsoc.de>
795 * org.el (org-replace-escapes): Avoid infinite loop when
796 replace string contains escape sequence it replaces.
798 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
800 * org-crypt.el (org-crypt-key-for-heading): Use symmetric
801 encryption when now key is set.
803 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
805 * org-table.el (org-table-recalculate-buffer-tables)
806 (org-table-iterate-buffer-tables): New commands.
808 * org.el (org-check-for-hidden): When there is a region, skip
811 2010-07-19 Dan Davison <davison@stats.ox.ac.uk>
813 * org-src.el (org-edit-src-code): allow-write-back-p had
814 erroneously been omitted from let binding.
816 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
818 * org-agenda.el (org-sorting-choice): New sorting type alpha.
819 (org-cmp-alpha): New defsubst.
820 (org-em): New defsubst.
821 (org-entries-lessp): Only compute needed comparisons.
823 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
825 * org-html.el (org-format-org-table-html): Test all columns
828 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
830 * org-latex.el (org-export-latex-treat-sub-super-char): Make
831 sure parenthesis matching is consistent.
833 * org-table.el (org-table-colgroup-line-p)
834 (org-table-cookie-line-p): New functions.
836 * org-exp.el (org-table-clean-before-export): Better tests for
837 colgroup and cookie lines.
839 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
841 * org-agenda.el (org-agenda-goto): Push a mark before changing
844 * org-footnote.el (org-footnote): New group.
845 (org-footnote-section)
846 (org-footnote-tag-for-non-org-mode-files): Fix typos.
848 * org-list.el (org-end-of-item-text-before-children): Also do
849 the right thing at the end of a file.
851 * org.el (org-set-packages-alist, org-get-packages-alist): New
853 (org-export-latex-default-packages-alist)
854 (org-export-latex-packages-alist): Add extra flag to
855 each package, indicating if it should be used for snippets.
856 (org-create-formula-image): Add the snippet argument.
857 (org-splice-latex-header): New argument SNIPPET-P, pass it
858 through to `org-latex-packages-to-string'.
859 (org-latex-packages-to-string): New argument SNIPPET-P.
861 * org-latex.el (org-export-latex-make-header): Add the snippet
864 * org-docbook.el (org-export-as-docbook): Implement ordered
865 lists starting at some offset.
867 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
869 * org.el (org-link-types, org-open-at-point): Add doi links.
871 * org-ascii.el (org-export-ascii-preprocess): Remove list
872 startcounter cookies.
874 * org-list.el (org-renumber-ordered-list): Respect counter
877 * org-latex.el (org-export-latex-lists): Accept ordered list
880 * org-html.el (org-export-as-html): Accept ordered list
883 * org-indent.el (org-indent-mode): Turn off `indent-tabs-mode'
884 which messes up alignment of tags.
886 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
888 * org-clock.el (org-clock-cancel, org-clock-out): Make sure
889 the modeline display is removed.
891 * org-exp.el (org-export-format-drawer-function): Fix
894 * org-agenda.el (org-agenda-refile): New optional argument
896 (org-agenda-refile): Call `org-agenda-redo' unless NO-UPDATE
898 (org-agenda-bulk-action): Call the refile command with updates
899 suppressed - but arrange for `org-agenda-redo' to be called at
902 * org.el (org-mode): Make table mapping quiet.
903 (org-table-map-tables): New optional argument QUIETLY.
905 * org-ascii.el (org-export-ascii-preprocess): Make table
908 * org-html.el (org-export-as-html, org-html-level-start): Change
909 XHTML IDs to not use dots.
911 * org-exp.el (org-export-define-heading-targets): Change
912 XHTML IDs to not use dots.
914 * org-docbook.el (org-export-docbook-level-start): Change
915 XHTML IDs to not use dots.
917 * org-latex.el (org-export-as-latex): Make sure that the
918 result buffer is in latex-mode.
920 * org.el (org-shiftup-final-hook, org-shiftdown-final-hook)
921 (org-shiftleft-final-hook, org-shiftright-final-hook): New
924 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
926 * org-table.el (org-table-justify-field-maybe): Make sure that
927 inserting a value does not turn a line into a hline.
929 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
931 * org-clock.el (org-clock-sum): New argument HEADLINE-FILTER.
932 (org-clock-sum): Add property to selected headlines.
933 (org-dblock-write:clocktable): Make tags matcher.
935 * org.el (org-set-autofill-regexps): XEmacs compatibility.
937 * org-latex.el (org-export-latex-set-initial-vars): Allow "-"
938 in latex class definitions.
940 * org.el (org-shiftup-hook, org-shiftdown-hook)
941 (org-shiftleft-hook, org-shiftright-hook): New hooks.
943 * org-entities.el (org-entities): Use \land and \lor for logical
946 * org.el (org-shiftmetaleft, org-shiftmetaright): Call the subtree
947 indentation commands.
948 (org-hidden-tree-error): New defsubst.
949 (org-metaleft, org-metaright): Check for hidden stuff and throw an
951 (org-check-for-hidden): New function.
953 * org-list.el (org-item-re): New function.
954 (org-at-item-p): Use `org-item-re'.
955 (org-end-of-item-text-before-children): New function.
956 (org-outdent-item, org-indent-item): Arrange for leaving the
958 (org-outdent-item-tree, org-indent-item-tree): New argument
960 (org-indent-item-tree): Use `org-end-of-item-text-before-children'
961 to find the end for processing while ignoring the subtree.
963 * org-publish.el (org-publish-sitemap-sort-alphabetically)
964 (org-publish-sitemap-sort-folders)
965 (org-publish-sitemap-sort-ignore-case): New options.
967 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
969 * org-publish.el (org-publish-compare-directory-files): Fix sorting.
971 * org-compat.el (org-get-x-clipboard-compat): Use (featurep 'xemacs).
973 * org-publish.el (org-publish-project-alist): Update docstring.
974 (org-publish-file-title-cache): New variable.
975 (org-publish-initialize-files-alist): Initialize
976 `org-publish-initialize-files-alist' to nil.
977 (org-publish-sort-directory-files): New function.
978 (org-publish-projects): Access the new properties.
979 (org-publish-find-title): Use the file title cache.
980 (org-publish-find-title): Build the file title cache.
981 (org-publish-get-base-files-1): Sort files.
982 (org-publish-aux-preprocess): Do not throw an error when before
983 the first headline. Allow an empty target, meaning to link just
985 (org-publish-index-generate-theindex.inc): Check if there is
986 actually a target and only then add it to the link.
987 (org-publish-projects): Fix a remaining issue with the last commit.
989 * org-html.el (org-export-as-html): Treat verse as open/close
991 (org-export-html-close-lists-maybe): Allow to splice raw HTML into
994 2010-07-19 Dan Davison <davison@stats.ox.ac.uk>
996 * org-src.el (org-edit-src-code): Allow the org-src edit buffer to
997 be used in a read-only mode.
998 (org-edit-src-code): Different message in read-only mode.
1000 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1002 * org-src.el (org-edit-src-find-region-and-lang): Test for
1003 table.el as late as possible.
1005 * org-colview-xemacs.el: Make sure this file is never loaded into
1006 Emacs. Remove all tests for XEmacs.
1008 * org-colview.el: Make sure this file is never loaded into XEmacs.
1010 * org-agenda.el (org-highlight, org-unhighlight): Use direct
1013 * org.el (org-key): Apply the translations defined in
1014 `org-xemacs-key-equivalents'.
1016 * org-mouse.el (org-mode-hook): Use `org-defkey'.
1018 * org-compat.el (org-xemacs-key-equivalents): New constant.
1020 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1022 * org-inlinetask.el (org-inlinetask-defaut-state): New option.
1023 (org-inlinetask-insert-task): Use `org-inlinetask-defaut-state'.
1024 Obey `org-odd-levels-only'.
1026 * org-compat.el (org-find-overlays): Use overlays-in/at.
1028 * org.el (org-remove-empty-overlays-at)
1029 (org-outline-overlay-data, org-hide-block-toggle)
1030 (org-format-latex, org-context): Use overlays-in/at.
1032 * org-src.el (org-edit-src-exit): Use overlays-in/at.
1034 * org-agenda.el (org-agenda-mark-clocking-task)
1035 (org-agenda-fontify-priorities, org-agenda-dim-blocked-tasks)
1036 (org-agenda-entry-text-hide)
1037 (org-agenda-fix-tags-filter-overlays-at)
1038 (org-agenda-bulk-remove-overlays): Use overlays-in/at.
1040 * org-compat.el (org-overlays-at): Function removed.
1041 (org-overlays-in): Function removed.
1043 2010-07-19 Bastien Guerry <bzg@altern.org>
1045 * org-clock.el (org-clock-set-current): Just return the headline
1046 itself, strip the TODO keyword, the priority cookie and the tags.
1048 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1050 * org-compat.el (org-xemacs-without-invisibility): New macro.
1051 (org-xemacs-without-invisibility): New macro.
1052 (org-indent-to-column, org-indent-line-to, org-move-to-column):
1053 Redefine using the macro `org-xemacs-without-invisibility'.
1055 * org.el (org-mode, org-org-menu): Use `add-to-invisibility-spec'.
1057 * org-table.el (orgtbl-mode): Use `add-to-invisibility-spec'.
1059 * org-compat.el (org-make-overlay, org-delete-overlay)
1060 (org-overlay-start, org-overlay-end, org-overlay-put)
1061 (org-overlay-get, org-overlay-move, org-overlay-buffer): Functions
1063 (org-add-to-invisibility-spec): Function removed.
1065 * org-html.el (org-export-as-html-and-open): Add argument to
1068 * org-habit.el (require): `calendar' is now required already by
1069 org.el on top level.
1071 * org-clock.el (require): `calendar' is now required already by
1072 org.el on top level.
1074 * org-agenda.el (require, org-timeline, org-agenda-list)
1075 (org-todo-list, org-agenda-to-appt): `calendar' is now required
1076 already by org.el on top level.
1078 * org.el (org-export-latex-fix-inputenc): Declare function.
1080 * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
1083 * org.el (calendar): Require calendar now on top level in org.el
1084 and define aliases to new variables when needed.
1085 (org-read-date, org-goto-calendar): Do not bind obsolete
1088 * org-clock.el (org-clock-out, org-clock-cancel): Get rid of
1089 compilation warning, add comment that this cannot be done with
1090 `with-current-buffer'.
1092 * org-wl.el (org-wl-open): Use `with-current-buffer'.
1094 * org.el (overlay, org-remove-empty-overlays-at)
1095 (org-outline-overlay-data, org-set-outline-overlay-data)
1096 (org-show-block-all, org-hide-block-toggle)
1097 (org-highlight-new-match, org-remove-occur-highlights)
1098 (org-tags-overlay, org-fast-tag-selection, org-date-ovl)
1099 (org-read-date, org-read-date-display, org-eval-in-calendar)
1100 (org-format-latex, org-context)
1101 (org-speedbar-restriction-lock-overlay)
1102 (org-speedbar-set-agenda-restriction): Use the normal overlay API.
1104 * org-table.el (org-table-add-rectangle-overlay)
1105 (org-table-remove-rectangle-highlight)
1106 (org-table-overlay-coordinates)
1107 (org-table-toggle-coordinate-overlays): Use the normal overlay
1110 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1111 (org-edit-src-exit, org-src-mode-configure-edit-buffer): Use the
1114 * org-colview.el (org-columns-new-overlay)
1115 (org-columns-display-here, org-columns-remove-overlays)
1116 (org-columns-edit-value, org-columns-next-allowed-value)
1117 (org-columns-update): Use the normal overlay API.
1119 * org-clock.el (org-clock-out, org-clock-cancel)
1120 (org-clock-put-overlay, org-clock-remove-overlays): Use the normal
1123 * org-agenda.el (org-agenda-mark-filtered-text)
1124 (org-agenda-mark-clocking-task, org-agenda-fontify-priorities)
1125 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1126 (org-agenda-entry-text-hide)
1127 (org-agenda-restriction-lock-overlay)
1128 (org-agenda-set-restriction-lock)
1129 (org-agenda-filter-by-tag-hide-line)
1130 (org-agenda-fix-tags-filter-overlays-at)
1131 (org-agenda-filter-by-tag-show-all, org-hl)
1132 (org-agenda-goto-calendar, org-agenda-bulk-mark)
1133 (org-agenda-bulk-remove-overlays): Use the normal overlay API.
1135 * org-freemind.el (org-freemind-from-org-mode-node)
1136 (org-freemind-from-org-mode, )
1137 (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode): Use
1138 interactive-p instead of called-interactively, because this is
1139 backward compatible with older Emacsen I still support..
1141 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1143 * org-exp.el (org-export-define-heading-targets): Fix bug in
1144 regexp finding ID and CUSTOM_ID properties.
1146 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1148 * org-footnote.el (org-footnote-goto-previous-reference): Rename
1149 from `org-footnote-goto-next-reference'.
1151 * org.el (org-auto-repeat-maybe): Only record LAST_REPEAT if
1152 org-log-repeat is non-nil, or if there is clocking data in the
1155 * org-crypt.el (org-encrypt-entry): Improve mapping behavior.
1157 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1159 * org.el (org-align-all-tags): New command.
1161 2010-07-19 David Maus <dmaus@ictsoc.de>
1163 * org-wl.el (org-wl-link-remove-filter): New customizable
1164 variable. If non-nil, filter conditions are stripped when storing
1165 link to message in filter folder.
1166 (org-wl-shimbun-prefer-web-links): New customizable variable. If
1167 non-nil, links to shimbun messages are created as web links to
1169 (org-wl-nntp-prefer-web-links): New customizable variable. If
1170 non-nil, links to nntp message are created as web links to gmane
1172 (org-wl-namazu-default-index): New customizable variable.
1173 Directory of namazu search index that should be used as default
1174 when opening a link in a search folder.
1175 (org-wl-folder-types): New constant. Wanderlust folder type
1177 (org-wl-folder-type): New function. Return type of Wanderlust
1179 (org-wl-store-link): Create web links for shimbun or nntp messages
1180 and strip filter conditions depending on customizable variables.
1181 (org-wl-open): Open namazu search folder for message when called
1184 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1186 * org.el (org-remove-if, org-remove-if-not): New functions.
1187 (org-open-file): Use internal remove-if functions.
1189 2010-07-19 Jan Böcker <jan.boecker@jboecker.de>
1191 * org.el (org-file-apps-entry-match-against-dlink-p): New function.
1192 (org-file-apps-ex): Remove variable.
1193 (org-open-file): Integrate org-file-apps-ex functionality back
1194 into org-file-apps, and decide whether to match a regexp against
1195 the link or the filename using org-file-apps-entry-uses-grouping-p.
1197 2010-07-19 Jan Böcker <jan.boecker@jboecker.de>
1199 * org.el (org-file-apps-ex): New variable.
1200 (org-open-file): Before considering org-file-apps, first match the
1201 regexps from org-file-apps-ex against the whole link. See
1202 docstring of org-file-apps-ex.
1204 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1206 * org.el (org-export-latex-default-packages-alist): Remove
1208 (org-todo-repeat-to-state): New variable.
1209 (org-auto-repeat-maybe): Allow user-selected target states.
1210 (org-default-properties): Add the new property REPEAT_TO_STATE.
1212 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1214 * org-mobile.el (org-mobile-check-setup): Make sure that there is
1215 a binary to compute checksums.
1217 2010-06-26 Carsten Dominik <carsten.dominik@gmail.com>
1219 * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
1222 * org.el (calendar): Require calendar now on top level in org.el
1223 and define aliases to new variables when needed.
1224 (org-read-date, org-goto-calendar): Do not bind obsolete
1227 2010-06-22 Glenn Morris <rgm@gnu.org>
1229 * org-entities.el: Add explicit utf-8 coding cookie to file with
1232 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1234 * org.el (org-file-complete-link): Avoid (expand-file-name ".").
1236 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
1238 * Version 23.2 released.
1240 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1242 * org-table.el (orgtbl-setup):
1243 * org-agenda.el (org-agenda-entry-text-mode): Simplify.
1245 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1247 * org-table.el (orgtbl-mode): Use define-minor-mode.
1249 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1251 * org.el (org-insert-link): Find the link buffer on visible frames.
1252 (org-export-latex-default-packages-alist): Hyperref must be loaded
1254 (org-open-file): More care with the new matching for file links.
1256 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1258 * org-latex.el (org-export-latex-preprocess): Do not yet protect
1259 defined entities - these will be taken care of later.
1260 (org-export-latex-special-chars): Post-process entity replacement.
1261 (org-export-latex-fontify-headline): Do not yet protect defined
1262 entities - these will be taken care of later.
1263 (org-export-latex-tables, org-export-latex-links): Format the
1266 * org-entities.el (org-entities-user): Fix typo.
1268 * org.el (org-prepare-agenda-buffers): Uniquify TODO keywords.
1270 * org-entities.el (org-entities-user): Improve docstring.
1272 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1274 * org-entities.el (org-macs): Require org-macs, to be sure that we
1275 have `declare-function' defined.
1277 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1279 * org-latex.el (org-export-latex-classes): Update docstring.
1281 * org.el (org-format-latex-header): Add cookies to the header.
1282 (org-splice-latex-header): Implement placement according to cookies.
1284 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1286 * org-publish.el (org-publish-aux-preprocess): Control case
1289 2010-04-10 Bastien Guerry <bzg@altern.org>
1291 * org.el (org-splice-latex-header): Fix typo.
1293 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1295 * org-latex.el (org-export-latex-make-header):
1296 Use `org-splice-latex-header' to build the header.
1297 (org-export-latex-classes): Update docstring.
1299 * org.el (org-splice-latex-header): New function.
1300 (org-create-formula-image): Use `org-splice-latex-header' to build
1303 * org-gnus.el (org-gnus-follow-link): Handle nndoc backend.
1305 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1307 * org.el (org-export-latex-packages-alist)
1308 (org-export-latex-default-packages-alist): Fix docstring to
1309 reflect the expected structure.
1311 * org-docbook.el (org-docbook-do-expand): Fix bug with variable names.
1312 (org-export-docbook-finalize-table): Make use of label for tables.
1314 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1316 * org-attach.el (org-attach-commit): Split on newlines.
1318 * org.el (org-export-latex-default-packages-alist): Use list
1319 instead of cons for the entries.
1321 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1323 * org-entities.el (org-entity-get-representation): Catch the case
1324 that there is not entry in the list.
1326 * org-mobile.el (org-mobile-use-encryption)
1327 (org-mobile-encryption-tempfile, org-mobile-encryption-password):
1329 (org-mobile-check-setup): CHeck the encryption setup.
1330 (org-mobile-copy-agenda-files, org-mobile-sumo-agenda-command)
1331 (org-mobile-create-sumo-agenda): Use encryption code.
1332 (org-mobile-encrypt-and-move): New function.
1333 (org-mobile-encrypt-file, org-mobile-decrypt-file): New
1335 (org-mobile-move-capture): Decrypt the capture file.
1337 * org.el (org-entities): Require the new file.
1338 (org-export-latex-default-packages-alist): New variable.
1339 (org-complete): Use new entity code for completion.
1340 (org-create-formula-image): Use the new packages variable.
1342 * org-latex.el (org-export-latex-classes): Remove the standard
1343 packages from the class headers.
1344 (org-export-latex-make-header): Use the new package variable.
1345 (org-export-latex-special-chars): Better regexp for entities, to
1346 support entity name that contain numbers.
1347 (org-export-latex-treat-backslash-char): Use the new entity code.
1349 * org-html.el (org-html-do-expand): Use the new entity code.
1351 * org-exp.el (org-export): Add the new export commands.
1352 (org-html-entities): Constant removed.
1353 (org-export-visible): Add the new export commands.
1355 * org-docbook.el (org-docbook-do-expand): Use new entity code.
1357 * org-ascii.el (org-export-ascii-entities): New variable.
1358 (org-export-as-latin1, org-export-as-latin1-to-buffer)
1359 (org-export-as-utf8, org-export-as-utf8-to-buffer): New commands.
1360 (org-export-as-encoding): New function.
1361 (org-export-ascii-preprocess): Call `org-ascii-replace-entities'.
1362 (org-ascii-replace-entities): New function.
1364 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1365 Ulf Stegemann <ulf@zeitform.de>
1367 * org-entities.el: New file.
1369 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1371 * org-html.el (org-html-level-start): Catch the case that target
1374 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
1376 * org.el (org-appearance): Change Customize group variable name
1377 from org-font-lock to org-appearance, and change tag from "Org
1378 Font Lock" to "Org Appearance".
1379 (org-odd-levels-only): Change Customize group variable name.
1380 (org-level-color-stars-only): Change Customize group variable name.
1381 (org-hide-leading-stars): Change Customize group variable name.
1382 (org-hidden-keywords): Change Customize group variable name.
1383 (org-fontify-done-headline): Change Customize group variable name.
1384 (org-fontify-emphasized-text): Change Customize group variable name.
1385 (org-fontify-whole-heading-line): Change Customize group variable name.
1386 (org-highlight-latex-fragments-and-specials): Change Customize
1387 group variable name.
1388 (org-hide-emphasis-markers): Change Customize group variable name.
1389 (org-emphasis-alist): Change Customize group variable name.
1390 (org-emphasis-regexp-components): Change Customize group variable
1392 (org-modules): Remove mention of org-R.
1394 * org-faces.el (org-faces): Change Customize group variable name.
1396 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1398 * org-agenda.el (org-diary-last-run-time): New variable.
1399 (org-diary): Prepare agenda buffers only if last call was some
1402 * org-html.el (org-export-html-preprocess): Replace \ref macros
1404 (org-format-org-table-html): Add the label as an anchor.
1406 * org-docbook.el (org-export-docbook-format-image): Do some
1407 formatting on captions.
1409 * org-latex.el (org-export-latex-tables, org-export-latex-links):
1410 Do some formatting on captions.
1412 * org-html.el (org-export-html-format-image)
1413 (org-format-org-table-html): Do some formatting on captions.
1415 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
1417 * org.el (org-hidden-keywords): New customizable variable. This is
1418 a list of symbols specifying which of the special keywords #+DATE,
1419 #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock.
1420 (org-fontify-meta-lines-and-blocks): Changes to font-lock code
1421 implementing new faces and hiding behaviour.
1423 * org-faces.el (org-document-title): New face for #+TITLE lines.
1424 (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines.
1425 (org-document-info-keyword): New face for #+DATE, #+AUTHOR, #+EMAIL
1428 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1430 * org-publish.el (org-publish-sanitize-plist): New function to
1431 rename "index" properties to "sitemap". Do this renaming
1433 (org-publish-with-aux-preprocess-maybe): New macro.
1434 (org-publish-org-to-pdf, org-publish-org-to-html): Use the new
1436 (org-publish-aux-preprocess)
1437 (org-publish-index-generate-theindex.inc): New function.
1439 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1441 * org-table.el (org-table-align): Interpret <N> at fixed width,
1442 not as maximum width.
1444 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1446 * org-exp.el (org-export-author-info, org-export-email-info): Fix
1449 * org-beamer.el (org-beamer-select-environment): Rename from
1450 `org-beamer-set-environment-tag'. Improve docstring.
1452 * org-freemind.el (org-freemind-write-mm-buffer): Fix another
1453 problem with odd levels.
1455 * org-ascii.el (org-export-as-ascii): Export email only if the
1458 * org-docbook.el (org-export-as-docbook): Export email only if the
1461 * org-html.el (org-export-as-html): Export email only if the
1464 * org-exp.el (org-export-email-info): New option.
1465 (org-export-plist-vars): Add entry for `org-export-email'.
1467 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1469 * org-table.el (org-table-goto-line): Fix typo.
1471 2010-04-10 Mikael Fornius <mfo@abc.se>
1473 * org.el (org-agenda-files): Typo.
1474 (org-read-agenda-file-list): Add optional argument to help
1475 `org-store-new-agenda-file-list' to remember un-expanded file
1476 names. Expand file names relative to `org-directory'.
1477 (org-store-new-agenda-file-list): Keep un-expanded file names when
1478 saving, if available.
1479 (org-agenda-files): Update documentation.
1481 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1483 * org-ascii.el (org-export-as-ascii): Catch the case of exporting
1484 a buffer with no file name attached.
1486 * org.el (org-log-refile): New option.
1487 (org-log-note-headings): Add a heading for refiling.
1488 (org-startup-options): Add keywords for logging of the refile
1490 (org-refile): Add logging action.
1491 (org-add-log-note): Allow for refiling action.
1493 * org-agenda.el (org-agenda-bulk-action): Make sure
1494 `org-log-refile' is not `note' during a bulk action.
1496 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1498 * org.el (org-map-dblocks): Use save-excursion to remember the
1501 * org-attach.el (org-attach-commit): Remove dependence on xargs.
1502 (org-attach-delete-one): Commit after deleting a file.
1504 * org-latex.el (org-export-latex-fontify): Do not mistake table.el
1505 borders for strike-through emphasis.
1507 * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
1508 handling of odd levels.
1510 * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
1511 and `future' values.
1512 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
1513 Handle `past' and `future' values.
1515 * org.el (org-read-agenda-file-list): Interpret file names
1516 relative to org-directory and allow environment variables and
1519 * org-latex.el (org-export-latex-special-chars): Allow a
1520 parenthesis before an exponent or subscript.
1522 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
1524 * org-src.el (org-edit-src-exit): When returning from code edit
1525 buffer, if code block is hidden, leave point at start of
1528 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1530 * org.el (org-insert-heading): Do not remove all spaces if the
1533 * org-indent.el (org-indent): Fix group name.
1535 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1537 * org-table.el (org-table-goto-column): Fix forcing a non-existing
1539 (org-table-get, org-table-put, org-table-goto-line)
1540 (org-table-current-line): New functions.
1542 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
1544 * org.el (org-open-file): Allow regular expressions in
1545 org-file-apps to capture link parameters using groups. In a
1546 command string to be executed, the parameters can be referenced
1547 using %1, %2, etc. Lisp forms can access them using
1548 (match-string n link).
1549 (org-apps-regexp-alist): Adopt the created regexp, as this is now
1550 matched against a file: link instead of the file name.
1552 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1554 * org-crypt.el (org-reveal-start-hook): Add a decryption function
1556 (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry): Add
1559 * org.el (org-point-at-end-of-empty-headline)
1560 (org-level-increment, org-get-previous-line-level): New function.
1561 (org-cycle-level): Rewritten to be independent of when this
1563 (org-in-regexps-block-p): New function.
1564 (org-reveal-start-hook): New hook.
1565 (org-reveal): Run new hook.
1567 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1569 * org-latex.el (org-export-latex-keywords): Start a new paragraph
1570 after time keywords, do not add "\newline".
1572 * org-html.el (org-export-as-html): Avoid double # in href.
1574 * org.el (org-refile-get-location): Catch an invalid target
1577 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1579 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
1580 Make sure the behavior regarding to extracting time is
1583 2010-04-10 Stephen Eglen <stephen@gnu.org>
1585 * org-agenda.el (org-agenda-insert-diary-extract-time): New
1587 (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
1588 variable rather than `org-agenda-search-headline-for-time'.
1590 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1592 * org-list.el (org-fix-bullet-type): Improve cursor positioning.
1594 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1596 * org.el (org-adaptive-fill-regexp-backup): New variable.
1597 (org-set-autofill-regexps): Store a backup of
1598 `adaptive-fill-regexp'.
1599 (org-adaptive-fill-function): Fix filling of comments and ordered
1600 lists. If there is no other match, till try adaptive fill.
1602 2010-04-10 John Wiegley <jwiegley@gmail.com>
1604 * org-agenda.el (org-agenda-include-deadlines): Add new
1605 customization variable to determine whether unscheduled tasks
1606 should appear in the agenda solely because of their deadline.
1607 Default to true, which was the previous behavior (it just wasn't
1609 (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
1610 the agenda to show/hide deadline tasks.
1611 (org-agenda-menu): Add menu option for show/hide deadlines.
1612 (org-agenda-list): Make the agenda list sensitive to the value of
1613 `org-agenda-include-deadlines'.
1614 (org-agenda-toggle-deadlines): New function to toggle the value of
1615 `org-agenda-include-deadlines' and repaint the modeline
1617 (org-agenda-set-mode-name): Show "Deadlines" in the agenda
1618 modeline if deadline tasks are being displayed.
1620 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1622 * org-table.el (org-table-eval-formula): Replace $# and @# by
1623 current column and row number.
1625 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1627 * org.el (org-set-property, org-delete-property): Go back to
1628 prompting for the property.
1630 * org-latex.el (org-export-latex-make-header): Fully process
1632 (org-export-latex-fontify-headline): Allow several arguments, not
1634 (org-export-latex-fix-inputenc): Catch the error when
1635 `latexenc-coding-system-to-inputenc' is not defined.
1637 * org-agenda.el (org-agenda-skip-if-todo): New function.
1638 (org-agenda-skip-if): Add conditions for TODO keywords.
1639 (org-agenda-skip-if): Document the new todo conditions.
1641 2010-04-10 Mikael Fornius <mfo@abc.se>
1643 * org.el (org-at-property-p): Check if we are inside a property
1644 drawer not just any drawer.
1645 (org-set-property, org-delete-property): When cursor is on a
1646 property key value pair do not prompt for property name instead
1648 (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
1649 on the first line of a property drawer.
1650 (org-property-end-re): Spell check.
1652 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1654 * org-exp.el (org-export-attach-captions-and-attributes): Add the
1655 properties to the entire table, in case the first line is
1658 * org-archive.el (org-archive-reversed-order): New option.
1659 (org-archive-subtree, org-archive-to-archive-sibling): Use the new
1660 option `org-archive-reversed-order'.
1662 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1664 * org-agenda.el (org-agenda-entry-types): New variable.
1665 (org-agenda-list): Use `org-agenda-entry-types'.
1666 (org-agenda-custom-commands-local-options): Support for setting
1667 `org-agenda-entry-types' as an option.
1668 (org-diary): Shift some documentation from here to the variable
1669 `org-agenda-entry-types'.
1671 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1673 * org-latex.el (org-export-latex-make-header): Apply macros in
1676 * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
1677 (org-clock-select-task, org-clock-notify-once-if-expired)
1678 (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
1679 (org-clock-out-if-current, org-clock-save): Use the new functions.
1681 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1683 * org-docbook.el (org-export-as-docbook): Remove unnecessary
1685 (org-export-as-docbook): Remove unnecessary newline.
1686 (org-export-as-docbook): Fix problem with double footnote
1687 reference in one place.
1689 * org-exp.el (org-export-format-source-code-or-example): Remove
1690 unnecessary newline.
1692 * org.el (org-deadline, org-schedule): Allow rescheduling entries
1695 * org-table.el (org-table-convert-refs-to-rc): Better way to catch
1696 function calls that look like references.
1698 * org.el (org-open-at-point): Get link abbreviations from
1701 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1703 * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
1706 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1708 * org.el (org-link-unescape): Solve issue with lower-case escapes.
1710 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1712 * org-latex.el (org-export-latex-classes): Add
1713 \usepackage{latexsym} to all classes.
1715 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1717 * org-html.el (org-export-as-html): Do not allow protected lines
1718 into the table of contents.
1720 * org-latex.el (org-export-latex-special-chars): Find subsequent
1721 occurrences of special characters.
1722 (org-export-latex-tables): Do not convert table-like stuff that is
1725 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1727 * org-list.el (org-toggle-checkbox): No errors when updating
1728 checkbox count fails because there is no heading.
1730 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1732 * org-clock.el (org-clock-report-include-clocking-task): New
1734 (org-clock-sum): Add the current clocking task.
1736 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1738 * org.el (org-cycle): Print a message when in a table.el table.
1739 (org-edit-special): Recognize the table.el context.
1740 (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
1742 * org-src.el (org-at-table.el-p): Declare.
1743 (org-edit-src-code): Handle a special case for table.el editing.
1744 (org-edit-src-find-region-and-lang): Recognize the table.el
1747 * org-latex.el (org-export-latex-tables): Convert table.el
1749 (org-export-latex-convert-table.el-table): New function.
1751 * org-html.el (org-html-expand): Fix table.el export.
1753 * org-latex.el (org-export-latex-preprocess): Protect footnotes in
1756 * org-id.el (org-id-find-id-file): Fix bug when there is no hash
1757 table for the id locations.
1759 * org.el (org-read-date-analyze): Match American-style dates, like
1760 5/30 or 5/13/7. Make sure cal-iso.el is loaded. Don't force he
1761 current year when reading ISO and American dates.
1763 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1765 * org.el (org-face-from-face-or-color): New function.
1766 (org-get-todo-face, org-font-lock-add-priority-faces)
1767 (org-get-tag-face): Use `org-face-from-face-or-color'.
1769 * org-faces.el (org-todo-keyword-faces, org-priority-faces): Allow
1770 simple colors as values.
1771 (org-faces-easy-properties): New option.
1773 * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
1774 restricted, as an agenda mode.
1775 (org-agenda-fontify-priorities): Allow simple colors as values.
1777 2010-04-10 Bastien Guerry <bzg@altern.org>
1779 * org-timer.el (org-timer-current-timer): Rename from
1780 `org-timer-last-timer'.
1781 (org-timer-timer1, org-timer-timer2, org-timer-timer3): Remove.
1782 (org-timer-cancel-timer, org-timer-show-remaining-time)
1783 (org-timer-set-timer): Update to use only one timer.
1785 * org.el (org-set-property): Remove useless space in the prompt.
1787 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1789 * org-html.el (org-export-html-style-default): Add a default style
1792 * org-exp.el (org-export-format-source-code-or-example): Fix
1795 2010-04-10 Bastien Guerry <bzg@altern.org>
1797 * org-clock.el (org-clock-current-task): New variable to store
1798 last clocked in task.
1799 (org-clock-set-current, org-clock-delete-current): New functions.
1801 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1803 * org-remember.el (org-remember-apply-template): Extend comment.
1804 (org-remember-handler): Implement clock sibling filing.
1806 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1808 * org-publish.el (org-publish-all, org-publish-current-file)
1809 (org-publish-current-project): When called with prefix argument
1810 FORCE, also rebuild the validation file list.
1812 * org-latex.el (org-export-latex-preprocess): Protect footnotes in
1815 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1817 * org-html.el (org-export-as-html-and-open): Kill product buffer
1818 if the user wants that.
1820 * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
1821 if the user wants that.
1823 * org-exp.el (org-export-kill-product-buffer-when-displayed): New
1826 * org-agenda.el (org-batch-agenda-csv): Use the time property
1827 instead of the `time-of-day' property.
1829 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1831 * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
1832 (org-timer-pause-hook, org-timer-set-hook)
1833 (org-timer-cancel-hook): New hooks.
1834 (org-timer-start): Run `org-timer-start-hook'.
1835 (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
1836 (org-timer-stop): Run `org-timer-stop-hook'.
1837 (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
1839 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1841 * org.el (org-reveal): Double prefix arg shows the subtree of the
1844 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1846 * org-agenda.el (org-search-view): Fix bug with searching full
1847 words in headlines in search view.
1848 (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
1849 (org-agenda-get-deadlines): Suppress pre-warning if the entry is
1850 scheduled (if the user configures it so.
1852 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1854 * org.el (org-hide-archived-subtrees): Don't jump to end of
1855 subtree if the match was not in a headline.
1856 (org-inside-latex-macro-p): Allow more complex arguments.
1857 (org-emphasize): Protect against use at end of buffer.
1859 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1861 * org-agenda.el (org-agenda-align-tags): Avoid side effects on
1864 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1866 * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
1868 (org-agenda-todo-ignore-scheduled)
1869 (org-agenda-todo-ignore-deadlines): More control with different
1871 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
1872 Honor the new option settings.
1874 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1876 * org.el (org-get-location): Make sure the selection buffer is
1877 shown in the current frame.
1879 * org-ascii.el (org-export-ascii-table-widen-columns): New
1881 (org-export-ascii-preprocess): Realign tables to remove narrowing
1882 if `org-export-ascii-table-widen-columns' is set.
1884 * org-table.el (org-table-do-narrow): New variable.
1885 (org-table-align): Narrow only if `org-table-do-narrow' is t.
1887 * org.el (org-deadline, org-schedule): Allow updating if the
1888 relevant time stamp does not have a repeater, i.e. do not require
1889 that no time stamp has a repeater.
1891 * org-agenda.el (org-agenda-align-tags): Don't add a face to the
1892 new white space before the tags.
1894 * org-latex.el (org-export-as-latex): Do nit require the buffer to
1895 be visiting a file when only exporting to a buffer or string.
1896 (org-export-latex-fix-inputenc): Only save the buffer is there is
1897 a file name attached to it.
1899 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
1901 * org-src.el (org-edit-src-exit): Widen before exiting edit buffers.
1903 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1905 * org.el (org-fontify-meta-lines-and-blocks): Honor
1906 `org-fontify-quote-and-verse-blocks'.
1908 * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
1910 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1912 * org.el (org-open-at-point): Also check for text property
1913 org-linked-text before offering collected links.
1915 2010-04-10 Stephen Eglen <stephen@gnu.org>
1917 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
1918 Optionally extract time specification from text and add to the
1921 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1923 * org-exp.el (org-html-entities): Fix typo.
1925 * org-latex.el (org-export-latex-make-header): Use \providecommand
1926 to make sure the \alert macro is defined.
1928 * org.el (org-format-latex-signal-error)
1929 (org-create-formula-image): Use `org-format-latex-signal-error'.
1931 2010-04-10 Stephen Eglen <stephen@gnu.org>
1933 * org.el (org-store-link): For dired buffers, use
1934 default-directory as link name if dired-get-filename returns
1937 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1939 * org-exp.el (org-export-concatenate-multiline-links): The for
1940 protectedness at beginning of match.
1942 * org-latex.el (org-export-latex-fix-inputenc): Never leave the
1943 AUTO as a coding system, instead default to utf8.
1945 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1947 * org.el (org-block-todo-from-children-or-siblings-or-parent)
1948 (org-block-todo-from-checkboxes): Respect the local variable
1949 value when deciding if blocking should be active.
1951 * org-latex.el (org-export-latex-make-header): Define the align
1952 macro if it is not yet defined.
1954 * org-agenda.el (org-agenda-insert-diary-make-new-entry): Call
1955 `org-insert-heading' with the INVISIBLE-OK argument.
1957 * org-mac-message.el (org-mac-message-insert-flagged): Call
1958 `org-insert-heading' with the INVISIBLE-OK argument.
1960 * org.el (org-insert-heading): New argument INVISIBLE-OK.
1962 * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
1965 * org-html.el (org-html-level-start): Use the
1966 `html-container-class' text property to set an additional class
1967 for an outline container.
1969 * org-exp.el (org-export-remember-html-container-classes): New
1971 (org-export-preprocess-string): Call
1972 `org-export-remember-html-container-classes'.
1974 * org.el (org-cycle): Mention level cycling in the docstring.
1975 (org-default-properties): Add new property HTML_CONTAINER_CLASS.
1977 * org-remember.el (org-remember-apply-template): Do file insertion
1980 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1982 * org-habit.el (org-habit-insert-consistency-graphs): Fix a
1983 problem with mis-aligned graphs when showing habits.
1985 2010-04-10 Mikael Fornius <mfo@abc.se>
1987 * org.el (org-assign-fast-keys): Prefer keys used in keyword name
1988 when assigning. Begin using numerical characters when all in name
1989 is used up. This is to spare alphanumeric characters for better
1990 match with other keywords.
1992 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1994 * org-exp.el (org-export-preprocess-hook): Improve documentation.
1996 * org-latex.el (org-export-latex-preprocess): More consistent
1997 conversion and protection of the words LaTeX and TeX.
1998 (org-export-latex-fontify-headline, org-export-latex-preprocess):
1999 Allow angle brackets in commands, for beamer.
2001 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2003 * org-clock.el (org-clock-in): Improve the look of the clock line
2004 by formatting links.
2006 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2008 * org-latex.el (org-export-latex-classes): Use AUTO as the place
2009 holder string for the coding system. And improve the
2011 (org-export-latex-fix-inputenc): Only modify the coding system if
2012 it is given by the placeholder AUTO.
2014 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2016 * org-clock.el (org-task-overrun-text): New option.
2017 (org-task-overrun, org-clock-update-period): New variables.
2018 (org-clock-get-clock-string, org-clock-update-mode-line): Mark
2020 (org-clock-notify-once-if-expired): Check if clock is overrun.
2022 * org-faces.el: New face `org-mode-line-clock-overrun'.
2024 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
2026 * org.el (org-narrow-to-subtree): Position the end of the narrowed
2027 region before the line with the next heading, to prevent the user
2028 from prepending text to the next headline.
2030 2010-04-10 Stephen Eglen <stephen@gnu.org>
2032 * org-agenda.el (org-get-time-of-day): Use
2033 org-agenda-time-leading-zero to allow leading zero (rather than
2036 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2038 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
2039 org-datetree.el is loaded.
2041 * org-datetree.el: Autoload `org-datetree-find-day-create'.
2043 * org-latex.el (org-export-latex-hyperref-format): New option.
2044 (org-export-latex-links): Use `org-export-latex-hyperref-format'.
2046 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2048 * org-ctags.el (org-ctags-enable): Change order of functions.
2049 (org-ctags-create-tags): Add wildcard to file name expansion.
2051 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2053 * org.el (org-entry-properties): Fix some important bugs.
2055 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2057 * org.el (org-link-unescape, org-link-escape): Only use hexlify if
2058 the table is not explicitly given.
2060 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2062 * org-clock.el (org-clock-out-when-done): Allow a list of keywords
2064 (org-clock-out-if-current): Work with the new list value of
2065 `org-clock-out-when-done'.
2066 (org-clock-out, org-clock-out-if-current): Avoid circular logic
2067 between clocking out and state changes.
2069 * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
2071 * org-latex.el (org-export-latex-treat-backslash-char): Do not by
2072 accident protect a character that is before a backslash.
2074 2010-04-10 Paul Sexton <eeeickythump@gmail.com>
2076 * org-ctags.el: New file.
2078 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2080 * org-agenda.el (org-diary-class): Use
2081 `org-order-calendar-date-args'.
2083 * org.el (org-order-calendar-date-args): New function.
2085 * org-exp.el (org-export-target-internal-links): Check for
2086 protectedness after the first bracket.
2088 * org.el (org-entry-properties): Don't match wrong-case TODO
2091 * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
2092 Document that ARG is passed through to remove the date.
2093 (org-agenda-bulk-action): Accept prefix arg and pass it on. Do
2094 not read a date when the user has given a `C-u' prefix.
2096 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2098 * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
2101 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2103 * org-latex.el (org-export-latex-fix-inputenc): New function.
2104 (org-export-latex-inputenc-alist): New option.
2106 * org-exp.el (org-export): New key SPC to publish enclosing
2109 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2111 * org-indent.el (org-indent-add-properties): Catch case when there
2112 is no headline in the buffer.
2114 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2116 * org-exp.el (org-html-entities): Add checkmark symbol.
2118 * org-ascii.el (org-export-ascii-preprocess): Protect targets in
2119 verbatim code for ASCII export.
2121 * org.el (org-update-statistics-cookies): Also see checkboxes in
2124 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2126 * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
2129 * org-beamer.el (org-beamer-amend-header): Change the location
2130 where `org-beamer-header-extra' is inserted.
2132 * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
2133 just for computing this regexp.
2135 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2137 * org-beamer.el (org-beamer-frame-default-options): New option.
2138 (org-beamer-sectioning): Use default options if the user does not
2140 (org-beamer-fix-toc): Put a frame around the table of contents.
2142 * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
2143 sure case-folding works well when processing comment stuff.
2145 * org-latex.el (org-export-latex-after-save-hook): New hook.
2146 (org-export-as-latex): Run the new hook.
2148 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2150 * org-beamer.el (org-beamer-environments-default): Add the note
2152 (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
2153 lines and collect and combine the content.
2154 (org-beamer-after-initial-vars): Check for note tags and make sure
2155 they will be seen like a property.
2157 * org.el (org-offer-links-in-entry): Fix bug when there is a
2160 * org-exp.el (org-export): Make sure the mark is activated, also
2161 when `transient-mark-mode' is off.
2163 * org-agenda.el (org-agenda-search-view-always-boolean): New option.
2164 (org-agenda-search-view-search-words-only): Obsolete variable, is
2165 now an alias for `org-agenda-search-view-always-boolean'.
2166 (org-agenda-search-view-force-full-words): New option.
2167 (org-search-view): Improve docstring, and implement a better logic
2168 for Boolean and phrase searches.
2169 (org-agenda-last-search-view-search-was-boolean): New variable.
2170 (org-agenda-manipulate-query): Consider the type of the last
2171 search when modifying the search string.
2173 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2175 * org-latex.el (org-export-as-latex): Do the first letbind in the
2178 * org-agenda.el (org-get-entries-from-diary): Add the new face to
2181 * org-faces.el (org-agenda-diary): New face.
2183 * org.el (org-make-link-regexps): Allow regexp-special characters
2185 (org-open-file): When in-emacs is `system', also force system
2186 opening, like when the value was `(16)'.
2187 (org-update-statistics-cookies): Handle entries without children.
2190 (org-export-preprocess-before-normalizing-links-hook): New hook.
2191 (org-export-preprocess-string): Run the new hook.
2193 * org.el (org-offer-links-in-entry): Make RET open all links.
2195 * org-html.el (org-export-as-html): Remove any leftover display
2196 properties in the html file.
2198 * org-wl.el (org-wl-store-link): Work-around for format bug with
2201 * org-habit.el (org-habit-insert-consistency-graphs): Turn off
2202 invisibility while adding the graphs.
2204 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2206 * org-remember.el (org-select-remember-template): Use C letter to
2207 customize remember templates.
2209 * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
2210 Move cursor to next visible line.
2212 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2214 * org-beamer.el (org-beamer-sectioning): Leave columns environment
2215 by specifying 0 or 1 for column width.
2216 (org-beamer-column-widths): Make 0 stand for 0.0.
2218 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2220 * org-exp.el (org-export-mark-radio-links): Don't match inside
2223 * org.el (org-format-latex-header-extra): New variable.
2224 (org-format-latex): Set org-format-latex-header-extra from
2226 (org-format-latex): Add org-format-latex-header-extra to the
2227 variables on which image creation depends.
2228 (org-create-formula-image): Add the header stuff from in-buffer
2230 (org-read-date-analyze): Base the analysis for future preference
2231 on NOW, not on the default date.
2233 * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
2234 for TODO keyword in inline tasks.
2236 * org.el (org-log-note-headings): New headings for removing
2237 deadline or scheduling date.
2238 (org-deadline, org-schedule): Arrange for logging when removing a
2240 (org-add-log-note): Handle deadline and scheduling removal.
2242 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2244 * org-exp.el (org-export-visible): Add LaTeX/pdf export.
2246 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2248 * org-agenda.el (org-diary-class): New function.
2250 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2252 * org-latex.el (org-export-latex-preprocess): Do process the text
2255 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2257 * org.el (org-entry-properties): Add TIMESTAMP properties back
2260 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2262 * org.el (org-all-time-keywords): New variable.
2263 (org-set-regexps-and-options): Set `org-all-time-keywords'.
2264 (org-entry-blocked-p): New function.
2265 (org-special-properties): Add BLOCKED as a new special property.
2266 (org-entry-properties): New optional argument SPECIFIC, only parse
2267 for this property when it is specified.
2268 (org-entry-get): Pass a SPECIFIC argument to
2269 `org-entry-properties'.
2271 * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
2273 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2275 * org-latex.el (org-export-latex-tables): No forced line end if
2276 there is no caption.
2278 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2280 * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
2283 * org-latex.el (org-export-latex-tables): Only add a caption when
2284 macro in in longtable environments if one has been defined.
2286 * org-html.el (org-export-as-html): Only take title from buffer if
2287 not exporting body-only.
2289 * org-latex.el (org-export-latex-preprocess): Better version of
2290 the regular expression for protecting LaTeX macros.
2291 (org-export-latex-preprocess): Start searching for macros to
2292 protect from beginning of buffer.
2294 * org-exp.el (org-export-target-internal-links): Check for
2295 protectedness earlier in the string.
2297 * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
2300 * org-id.el (org-id-store-link): Match TODO keywords case
2303 * org.el (org-heading-components, org-get-outline-path)
2304 (org-display-outline-path): Match TODO keywords case sensitively.
2306 * org-latex.el (org-export-as-latex): Ignore read-only
2309 * org-exp.el (org-export-preprocess-string): Remove any
2310 `read-only' properties.
2312 * org-agenda.el (org-agenda-inactive-leader): New option.
2313 (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
2314 (org-tags-view): Prompt for matcher if MATCH is an empty string.
2315 (org-todo-list): Prompt for matcher if ARG is an empty string.
2317 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2319 * org.el (org-open-link-functions): New hook.
2320 (org-open-at-point): Run `org-open-link-functions'.
2322 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2324 * org-agenda.el (org-agenda-date-prompt): Allow inactive time
2327 * org.el (org-inhibit-startup-visibility-stuff): New variable.
2328 (org-mode): Don't do startup visibility if inhibited.
2329 (org-outline-overlay-data, org-set-outline-overlay-data): New
2331 (org-save-outline-visibility): New macro.
2332 (org-log-note-headings): Document that one should not change the
2333 `state' note format.
2335 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2337 * org.el (org-make-link-regexps): Capture link path into a group.
2339 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2341 * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
2344 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2346 * org.el (org-startup-with-beamer-mode): New option.
2347 (org-property-changed-functions)
2348 (org-property-allowed-value-functions): New hooks.
2349 (org-entry-put, org-property-get-allowed-values): Run the new
2351 (org-property-next-allowed-value): Run the new hooks.
2353 * org-exp.el (org-export-select-backend-specific-text): Add the
2354 special beamer tags.
2356 * org-beamer.el: New file.
2358 * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
2359 (org-export-as-latex): Run
2360 `org-export-latex-after-initial-vars-hook'.
2361 (org-export-latex-format-toc-function)
2362 (org-export-latex-make-header): Call
2363 `org-export-latex-format-toc-function'.
2365 * org.el (org-fill-template): Make template searches case sensitive.
2367 * org-exp.el (org-export): Use "1" as a sign to export only the
2370 * org-colview-xemacs.el (org-columns-edit-value): Use
2371 org-unrestricted property.
2373 * org-colview.el (org-columns-edit-value): Use
2374 org-unrestricted property.
2376 * org.el (org-compute-property-at-point): Set org-unrestricted
2377 text property if the list contains ":ETC".
2378 (org-insert-property-drawer): Use
2379 org-unrestricted property.
2382 (org-export-preprocess-before-selecting-backend-code-hook): New hook.
2383 (org-export-preprocess-string): Run
2384 `org-export-preprocess-before-selecting-backend-code-hook'.
2386 * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
2388 * org-latex.el (org-export-region-as-latex): Run
2389 `org-export-first-hook'.
2391 * org-html.el (org-export-as-html): Run `org-export-first-hook'.
2393 * org-docbook.el (org-export-as-docbook): Run
2394 `org-export-first-hook'.
2396 * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
2398 * org-exp.el (org-export-first-hook): New hook.
2400 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2402 * org-list.el (org-previous-item): Exit at the beginning of the
2405 * org-id.el (org-id-locations-save): Only write the id locations
2408 * org-archive.el (org-archive-all-done): Make this work in a file
2409 with org-odd-levels-only set.
2411 * org.el (org-get-refile-targets): Catch the case when a buffer
2414 * org-latex.el (org-export-as-latex): Cleanup forced line ends
2415 where they are not needed.
2416 (org-export-latex-subcontent): Remove unnecessary newlines.
2418 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2420 * org-latex.el (org-export-latex-make-header): Remove \obeylines.
2421 (org-export-latex-fontify): Fix regexp bug that takes special
2422 care of protecting the right boundary characters in emphasis
2424 (org-export-latex-preprocess): Allow multiple arguments to latex
2427 * org.el (org-make-link-regexps): Use John Gruber's regexp for
2430 * org-macs.el (org-re): Interpret :punct: in regexps.
2432 * org-exp.el (org-export-replace-src-segments-and-examples): Also
2433 take the final newline after the END line.
2435 * org.el (org-clean-visibility-after-subtree-move): Only fix
2436 entries that are not entirely invisible already.
2437 (org-insert-link): Respect org-link-file-path-type for
2438 "docview:" links in addition to "file:" links.
2440 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2442 * org-exp.el (org-export-format-source-code-or-example): Avoid
2443 additional extra white lines in LaTeX.
2445 * org-list.el (org-list-parse-list): Leave empty lines after the
2446 list, don't consider them as part of the list.
2448 * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
2451 * org-clock.el (org-clock-select-task): Convert integer to
2452 character for XEmacs.
2454 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2456 * org-clock.el (org-clock-resolve): Make reading a char XEmacs
2459 2010-04-10 Tassilo Horn <tassilo@member.fsf.org>
2461 * org.el (org-complete-tags-always-offer-all-agenda-tags): New
2463 (org-set-tags): Use it.
2465 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2467 * org-list.el (org-empty-line-terminates-plain-lists): Update
2470 * org.el (org-format-latex): Fix link creation for processed latex
2473 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2475 * org-footnote.el (org-footnote-normalize): Protect replacement
2478 * org.el (org-inside-latex-macro-p): Save match data.
2480 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
2482 * org-docview.el: New file.
2484 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2486 * org-latex.el (org-export-latex-class-options): New variable.
2487 (org-export-latex-set-initial-vars): Use the class options.
2489 * org.el (org-forward-same-level): Stop at headings that start
2490 with an invisible character.
2491 (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
2493 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2495 * org-footnote.el (org-footnote-normalize): Don't take optional
2496 arguments in LaTeX macros as footnotes.
2498 * org.el (org-inside-latex-macro-p): New function.
2500 * org-latex.el (org-latex-to-pdf-process): Change customization
2501 group to `org-export-pdf'.
2503 * org-agenda.el (org-agenda-get-blocks): Look at time string also
2504 on days after the first one.
2506 * org.el (org-insert-heading): Also check for item before assuming
2507 before-first-heading condition.
2509 * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
2510 (org-export-pdf-logfiles): New option.
2511 (org-export-as-pdf): Use `org-export-pdf-logfiles'.
2512 (org-export-pdf-logfiles): Fix customization type.
2514 * org.el (org-insert-link): Improve error message when there is no
2515 default link to select with RET.
2517 * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
2520 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2522 * org-latex.el (org-export-latex-parse-global)
2523 (org-export-latex-parse-content)
2524 (org-export-latex-parse-subcontent): Use
2525 `org-re-search-forward-unprotected'.
2526 (org-export-as-pdf): Remove log files produced by XeTeX.
2528 * org-macs.el (org-re-search-forward-unprotected): New function.
2530 2010-04-10 James TD Smith <ahktenzero@mohorovi.cc>
2532 * org-colview.el (org-agenda-colview-summarize): Sort out some
2533 confusion between properties and titles, which resulted in
2534 agenda summaries not working if a title was set for a column.
2536 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2538 * org-mobile.el (org-mobile-agendas): New option.
2539 (org-mobile-sumo-agenda-command): Select the right agendas.
2541 * org-latex.el (org-export-latex-format-image): Preserve the
2542 original-indentation property.
2544 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2546 * org-clock.el (org-clock-insert-selection-line): Catch error when
2547 an old tasks no longer exists.
2549 * org-latex.el (org-export-as-pdf): Remove also the .idx file.
2550 (org-export-as-pdf): Don't remove the old PDF file before making
2553 * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
2554 (org-mouse-context-menu): Use `org-looking-back'.
2556 * org.el (org-cycle-level): Use `org-looking-back'.
2558 * org-list.el (org-cycle-item-indentation): Use
2561 * org-compat.el (org-looking-back): New function.
2563 * org.el (org-insert-heading): Catch before-first-headline when
2564 inserting a headline.
2566 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2568 * org-latex.el (org-export-latex-format-image): Indent figure
2569 environment, so that it does not interrupt plain list.
2571 * org.el (org-open-at-point): Allow long link descriptions.
2573 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2575 * org-html.el (org-export-as-html): Remove empty lines at the
2576 beginning of the exported text.
2578 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
2580 * org.el (org): Remove from hypermedia group.
2582 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
2586 2010-02-15 Chong Yidong <cyd@stupidchicken.com>
2588 * org-freemind.el (org-freemind-from-org-mode-node)
2589 (org-freemind-from-org-mode, )
2590 (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
2591 Pass arg to called-interactively-p.
2593 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
2595 * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten):
2596 Fix typos in docstrings.
2598 2010-01-01 Juanma Barranquero <lekktu@gmail.com>
2600 * org.el (org-get-outline-path, org-speed-command-help):
2601 Fix typos in error messages.
2603 2009-12-14 Juri Linkov <juri@jurta.org>
2605 * org-html.el (org-export-html-style-include-default):
2606 Put `safe-local-variable booleanp' on
2607 `org-export-html-style-include-default' instead of mistakenly
2608 duplicate `org-export-html-style'.
2610 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
2612 * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
2613 agenda after adding new entry.
2615 * org-datetree.el (org-datetree-find-day-create): Fix regular
2618 * org.el (org-display-outline-path): Use a format specifier for
2619 message, to avoid problems with heading containing `%'.
2621 * org-agenda.el (org-agenda-hide-tags-regexp): New option.
2622 (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
2623 (org-agenda-fix-displayed-tags): New function.
2624 (org-agenda-do-context-action): Just call
2625 `org-display-outline-path', without piping the result through
2628 * org-latex.el (org-export-latex-preprocess): Protect secondary
2629 footnote references.
2631 * org-indent.el (org-indent-initialize): Avoid empty strings as
2634 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
2635 hat checking for the mark does not throw an error.
2636 (org-agenda-diary-entry-in-org-file): Catch the case that there is
2637 not `day' text property in the cursor line.
2639 * org.el (org-sort-entries-or-items): Make sure that the final
2640 entry has a newline before doing the sorting.
2642 * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
2643 property at the beginning of the line.
2645 * org.el (org-make-link-string): Don't allow a description with
2648 * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
2649 (org-agenda-insert-diary-as-top-level): New function.
2650 (org-agenda-add-entry-to-org-agenda-diary-file): Call
2651 `org-agenda-insert-diary-as-top-level'.
2653 * org.el (org-occur-in-agenda-files): Make sure none of the
2654 buffers is narrowed.
2655 (org-activate-plain-links): Add the face property here.
2656 (org-set-font-lock-defaults): Do not add the face to plain links,
2657 the activator function does this.
2659 * org-habit.el (org-is-habit-p): Add doc string.
2661 * org-archive.el (org-archive-subtree-default-with-confirmation):
2664 * org-latex.el (org-export-latex-fontify): Fix regexp to make char
2665 after match optional (happens at the end of a line...).
2667 * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
2670 * org-faces.el (org-copy-face): Set lisp indentation.
2671 (org-quote, org-verse): New faces.
2673 * org-agenda.el (org-agenda-remove-date): Remove variable.
2675 * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
2677 * org-html.el (org-export-as-html): Move the home/up link into
2680 * org.el (org-export-latex-packages-alist): Option definition
2681 moved here from org-latex.el.
2683 * org-html.el (org-export-html-home/up-format): Add an ID to the
2686 * org-wl.el (org-wl-store-link): Handle the case that
2687 `wl-use-petname' is set.
2689 * org.el (org-set-effort): Improve prompt.
2690 (org-get-outline-path): Widen to get full path.
2691 (org-compact-display-after-subtree-move): Function removed.
2693 2009-11-20 Eric Schulte <schulte.eric@gmail.com>
2695 * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
2696 hash keys to cache and re-use images generated by the
2697 org-exp-blocks interface to ditaa and dot.
2699 * org.el (org-format-latex): Latex images are now saved to files
2700 named by the sha1 hash of the latex source text avoiding
2701 regeneration of identical images.
2703 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
2705 * org-latex.el (org-export-as-latex): Add the :drawers property.
2707 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
2709 * org.el (org-speed-commands-user): Allow documentation headlines.
2710 (org-speed-commands-default): Organize the value of this constant
2711 with descriptive headlines.
2712 (org-print-speed-command): Output the headlines.
2714 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
2716 * org-agenda.el (org-agenda-show-outline-path): New option.
2717 (org-agenda-do-context-action): New function.
2718 (org-agenda-next-line, org-agenda-previous-line): Use
2719 `org-agenda-do-context-action'.
2721 * org.el (org-use-speed-commands): Allow function value.
2722 (org-speed-commands-default): Make headline motion safe, so that
2723 these commands always end on a headline.
2724 (org-speed-commands-default): New key `v' for `org-agenda'.
2725 (org-speed-move-safe): New function.
2726 (org-self-insert-command): Use the function value of
2727 `org-use-speed-commands'.
2728 (org-get-outline-path): Improve docstring.
2729 (org-format-outline-path): New function.
2730 (org-display-outline-path): New function.
2732 2009-11-15 John Wiegley <jwiegley@gmail.com>
2734 * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
2735 a string, use that to find the LOGBOOK drawer.
2737 2009-11-15 Glenn Morris <rgm@gnu.org>
2739 * org-agenda.el (org-datetree-find-date-create)
2740 (org-habit-get-priority):
2741 * org.el (org-format-agenda-item): Fix declarations.
2743 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2745 * org.el (org-clone-subtree-with-time-shift): Make it work at the
2748 * org-mobile.el (org-mobile-write-checksums): Specify coding
2750 (org-mobile-timestamp-buffer): Keep local variable/mode line at
2751 beginning of buffer.
2753 * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
2755 * org.el (org-block-todo-from-children-or-siblings-or-parent)
2756 (org-block-todo-from-checkboxes): Do not block changes to a nil
2759 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
2761 * org-habit.el (org-habit-parse-todo): Indicate which habit is
2762 wrongly set up in the error messages.
2764 * org-colview.el (org-columns-display-here): Don't try to
2765 calculate values if the underlying property is not set.
2766 (org-columns-string-to-number): Convert age strings back into
2768 (org-agenda-colview-summarize): Handle extended summary types
2771 * org-colview-xemacs.el (org-columns-display-here): Don't try to
2772 calculate values if the underlying property is not set.
2773 (org-columns-string-to-number): Convert age strings back into
2775 (org-agenda-colview-summarize): Handle extended summary types
2778 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2780 * org-exp.el (org-export-format-drawer-function): New variable.
2781 (org-export-format-drawer): New function.
2782 (org-export-preprocess-string): Pass the backend as a parameter to
2783 `org-export-remove-or-extract-drawers'.
2784 (org-export-remove-or-extract-drawers): New parameter BACKEND.
2786 * org-protocol.el (org-protocol-char-to-string): New defsubst.
2788 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2790 * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
2791 message when no block is selected.
2793 * org-latex.el (org-export-latex-links): Check for protectedness
2794 in the last matched character, not after the match.
2796 * org-datetree.el (org-datetree-find-date-create): Respect
2797 restriction when KEEP-RESTRICTION is set.
2798 (org-datetree-file-entry-under): New function.
2799 (org-datetree-cleanup): New command.
2801 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
2803 * org-src.el (org-edit-src-code): New optional argument context
2804 allows calling functions to avoid altering the saved window
2806 (org-edit-src-exit): Do not restore window configuration when this
2807 function is used in the context of saving the edit buffer.
2809 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2811 * org-clock.el (org-clock-out, org-clock-cancel): Revert to
2812 instances to switching to with-current-buffer, because these seem
2813 to cause problems - no idea why.
2815 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
2816 Require diary-lib for (diary-date-display-form).
2818 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2820 * org.el (org-log-reschedule, org-log-redeadline): New options.
2821 (org-log-note-headings): Add templates for rescheduling and
2823 (org-startup-options): Add in-buffer settings for logging changing
2824 schedule and deadline time stamps.
2825 (org-deadline, org-schedule): Check for existing date and arrange
2826 for logging if the user requests it.
2827 (org-add-log-note): Prepare proper note buffers for rescheduling
2828 and deadline changes.
2830 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2832 * org-agenda.el (org-agenda-diary-entry-in-org-file)
2833 (org-agenda-add-entry-to-org-agenda-diary-file)
2834 (org-agenda-insert-diary-make-new-entry): New functions.
2835 (org-agenda-diary-entry): Call
2836 `org-agenda-diary-entry-in-org-file' when appropriate.
2838 * org.el (org-calendar-insert-diary-entry-key): New option.
2839 (org-agenda-diary-file): New option.
2840 ("calendar"): Install our insertion function in the calendar.
2842 * org-remember.el (org-datetree): Require.
2843 (org-remember-templates): Add new positioning option.
2844 (org-remember-reference-date): New variable.
2845 (org-remember-apply-template): Store the reference date in a local
2847 (org-remember-handler): Implement date tree positioning of entries.
2849 * org-datetree.el: New file.
2851 * org-latex.el (org-export-latex-preprocess): Protect targets in
2854 * org-html.el (org-export-as-html): Protect targets in verbatim
2857 * org-docbook.el (org-export-as-docbook): Protect targets in
2860 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2862 * org-clock.el (org-show-notification): Handle messages that
2863 contain a percent character.
2865 * org-remember.el (org-remember-apply-template): Turn of partial
2868 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
2869 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
2871 * org.el (org-indent-mode): Define variable already in org.el.
2872 (org-unfontify-region): Remove line-prefix and wrap-prefix
2873 properties only if org-indent-mode is active.
2875 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2877 * org-icalendar.el (org-print-icalendar-entries): Save match data
2878 around call to verify function.
2879 (org-print-icalendar-entries): Add a call to the verification
2882 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
2883 save-restrivtion' form.
2885 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
2887 * org-exp.el (org-export-format-source-code-or-example): Restrict
2888 scope of preserve-indentp to the let binding.
2889 (org-src): Require org-src, since org-src-preserve-indentation is used.
2891 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2893 * org-timer.el (org-timer-set-timer): Set variables
2894 org-timer-timer[123] correctly.
2896 * org-mobile.el (org-mobile-files-alist): Make it work when
2897 `agenda-archives' is included in
2898 `org-agenda-text-search-extra-files'.
2899 (org-mobile-push): Restore agenda after mobile push.
2901 2009-11-13 John Wiegley <jwiegley@gmail.com>
2903 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
2904 way the amount of idle time is presented in the minibuffer.
2906 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2908 * org-icalendar.el (org-print-icalendar-entries): Use
2909 org-icalendar-verify-function only if non-nil.
2911 * org.el (org-refile): Refile to clock only if the prefix arg is
2913 (org-sparse-tree): Fix docstring to be in line with prompt.
2914 (org-update-parent-todo-statistics): Call
2915 `org-after-todo-statistics-hook' on each level.
2917 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2919 * org-remember.el (org-remember-apply-template): Make sure the
2922 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2924 * org.el (org-tab-ind-state): New variable.
2925 (org-cycle-level): New function.
2926 (org-cycle-level-after-item/entry-creation): New option.
2927 (org-flag-subtree): New function.
2928 (org-hide-archived-subtrees): Call `org-flag-subtree'.
2929 (org-set-effort): Indexed access.
2931 * org-list.el (org-cycle-item-indentation): New function.
2933 * org.el (org-refile): Make prefix argument 2 refile to current
2935 (org-priority): Interpret action `remove' as call to remove the
2938 * org-remember.el (org-remember-apply-template): Don't depend on
2939 buffer name being like file name.
2941 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2943 * org-clock.el (org-clock-play-sound): Expand file in
2944 org-clock-sound, to allow ~ for home.
2946 * org-remember.el (org-remember-handler): Set
2947 text-before-node-creation even if this already looks like a node,
2948 because the string might be needed on non-org-mode target files.
2950 * org-agenda.el (org-agenda-open-link): Make this work in agenda
2952 (org-agenda-switch-to): Follow a link at point if
2953 org-return-follows-link' is set and there is nothing else to do in
2956 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
2958 * org-colview-xemacs.el: Add in changes from org-colview.el.
2960 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
2962 * org-exp-blocks.el: Modify split separator regexp to avoid empty
2965 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
2967 * org-colview.el (org-columns-new): Make this work with the new
2969 (org-columns-store-format): Make this work with the new operators.
2971 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2973 * org-src.el (org-src-preserve-indentation): Document that this
2974 variable is also used during export.
2976 * org-exp.el (org-export-format-source-code-or-example): Preserve
2977 indentation if a block has a -i option, or if
2978 `org-src-preserve-indentation' is set.
2980 * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
2981 indentation if a block has a -i option, or if
2982 `org-src-preserve-indentation' is set.
2984 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2986 * org.el (org-mode-map): Define the new archiving keys.
2987 (org-speed-commands-default): Define an archiving key in the speed
2989 (org-org-menu): Improve the menu structure concerning archiving.
2991 * org-archive.el (org-archive-subtree-default-with-confirmation):
2994 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
2995 (org-agenda-menu): Add the new archiving commands to the menu.
2996 (org-agenda-archive-default)
2997 (org-agenda-archive-default-with-confirmation): New commands.
2998 (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
2999 call `org-agenda-archive-with'.
3000 (org-agenda-archive-with): New function.
3002 * org-table.el (org-table-convert-region): Inert spaces around "|"
3003 to avoid line beginnings like "|-1" which will be mistaken as
3006 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3008 * org.el (org-offer-links-in-entry): Return nil if there are no
3009 links, t if a link has been selected.
3010 (org-open-at-point): Open attachment directory when called in the
3011 headline and there are no links in the entry body.
3012 (org-speed-commands-default): Add "o" for open-at-point as a speed
3015 * org-attach.el (org-attach-reveal): Optional prefix arg
3016 IF-EXISTS, which avoids creating the attachment directory if it
3019 * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
3022 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3024 * org.el ("abbrev"): Work with abbrev tables only after they have
3027 * org-list.el (org-list-send-list): Fix bug related to match
3030 * org-latex.el (org-export-latex-fontify): Apply verbatim
3032 (org-export-latex-make-header): Insert \obeylines if line breaks
3033 should be preserved.
3035 * org-exp.el (org-export-protect-verbatim): Add an
3036 `org-verbatim-emph' property to such text.
3038 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3040 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
3041 (org-print-icalendar-entries): Skip entries where the timestamp is
3042 not a deadline and not scheduled, if the user requests that.
3044 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
3045 before an opening quote.
3047 * org-archive.el (org-archive-subtree): Keep archive after
3048 archiving something.
3050 * org-id.el (org-id-update-id-locations): Add archive files if
3051 that is required by `org-id-extra-files'.
3053 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3055 * org-src.el (org-src-window-setup): New option.
3056 (org-src-switch-to-buffer): New function.
3057 (org-edit-src-exit): Add optional argument CONTEXT and use it to
3058 restore window configuration.
3059 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
3060 Call `org-src-switch-to-buffer'.
3062 * org.el (org-default-properties): Add STYLE property.
3063 (org-files-list): Use the function call to get the files.
3064 (org-additional-option-like-keywords): Add SETUPFILE to completion
3067 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3069 * org-table.el (org-table-convert-region): Correctly interpret
3070 quoting in csv import.
3072 * org.el (org-icompleting-read): Make iswitchb completion work
3073 with lists and tables.
3075 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
3076 while pushing the mobile agenda.
3078 2009-11-13 John Wiegley <jwiegley@gmail.com>
3081 (org-clock-auto-clock-resolution): Now takes three values: nil, t
3082 and `when-no-clock-is-running'.
3083 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
3084 whether or not to resolve Org buffers on clock in.
3086 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
3088 * org-colview.el (org-format-time-period): Function to format
3089 times in fractional days for display.
3090 (org-columns-display-here): Add support for showing a calculated
3091 value in place of the property.
3092 (org-columns): Set `org-columns-time' to the current time so time
3093 difference calculations will work.
3094 (org-columns-time): Use to store the current time when column view
3095 is displayed, so all time differences will use the same reference
3097 (org-columns-compile-map): There is now an extra position in each
3098 entry specifying the function to use to calculate the displayed
3099 value for the non-calculated properties in the column.
3100 (org-columns-compute-all): Set `org-columns-time' to the current
3101 time so time difference calculations will work.
3102 (org-columns-compute): Handle column operators where the values
3103 used are calculated from the underlying property.
3104 (org-columns-number-to-string): Handle the 'age' column format.
3105 (org-columns-string-to-number): Correct the function name (was
3106 org-column...). Add support for the 'age' column format.
3107 (org-columns-compile-format): Support the additional parameter in
3108 org-columns-compile-map.
3110 2009-11-13 Bastien Guerry <bzg@altern.org>
3112 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
3115 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3117 * org-clock.el (org-clock-has-been-used): New variable.
3118 (org-clock-in): Set `org-clock-has-been-used'.
3119 (org-clock-save): Save only if clock data has been used or created
3120 during this session.
3122 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3124 * org-clock.el (org-clock-persist): New value, to store only the
3126 (org-clock-save): Don't save the clock if only the history should
3128 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
3129 when restoring a saved clock.
3131 2009-11-13 John Wiegley <jwiegley@gmail.com>
3133 * org-clock.el (org-clock-display, org-clock-put-overlay): Use
3134 `org-time-clock-use-fractional'.
3136 * org.el (org-time-clocksum-use-fractional)
3137 (org-time-clocksum-fractional-format): Two new customizable
3138 variables which allow the user to select fractional times (1.25
3139 instead of 1:25) in the `org-clock-display' report.
3141 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3143 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
3146 * org.el (org-tag-alist): Fix customization type.
3148 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3150 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
3151 Make sure the regexp search can fail without throwing an error.
3152 (org-mobile-apply): Save the inbox buffer after removing
3153 successfully applied changes.
3155 2009-11-13 John Wiegley <jwiegley@gmail.com>
3157 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
3158 time is reported after the user comes back (but before they
3161 * org.el (org-get-repeat): Change so that this function can be
3162 called with either `org-scheduled-string' or
3163 `org-deadline-string'.
3165 * org-clock.el (org-clock-auto-clock-resolution): Rename from
3166 `org-clock-disable-clock-resolution', since negatives don't sound
3167 good in customization variables.
3168 (org-clock-in): Don't use the auto-resolution logic if the user is
3169 clocking into a different task while an active clock is running.
3170 This then allows the default behavior of clocking out of the open
3171 task and then into the new task.
3173 * org.el (org-modules): Made this variable more consistent, since
3174 it was referring to Org, OrgMode and Org-mode, whereas the docs
3175 for the variable always refer to Org-mode.
3177 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
3179 * org.el (org-repeat-re): The changed org-repeat-re no longer
3180 matched simple +2d type repeaters. Fix it so it does.
3182 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3184 * org-latex.el (org-export-latex-preprocess): Protect the vspace
3185 macro in the VERSE environment.
3187 2009-11-13 John Wiegley <jwiegley@gmail.com>
3189 * org-habit.el (org-habit-get-priority): A new function that
3190 determines the relative priority of a habit, based on how long
3191 past its scheduled date it is, and how near the deadline is.
3193 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
3194 using `org-habit-get-priority'.
3196 * org-habit.el (org-habit-build-graph): Start displaying colors
3197 from the first scheduled date, if that date is earlier than the
3198 first completion date.
3200 * org-habit.el: Changed all "color" variables to faces, and made
3201 them appropriate for light and dark backgrounds.
3203 * org-habit.el (org-habit-duration-to-days): Made this function
3205 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
3207 * org-agenda.el (org-agenda-get-deadlines): Remove all mention of
3208 habits, since they don't use DEADLINE anymore.
3210 * org.el (org-repeat-re, org-display-custom-time)
3211 (org-timestamp-change): Extend to support the new ".+N/N"
3212 syntax, used for habits.
3214 * org-clock.el (org-clock-resolve-clock): Fix an incorrect
3217 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
3218 modeline when habits are being displayed (if that module is being
3221 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
3223 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
3224 idle time using the xscreensaver extension.
3225 (org-user-idle-seconds): Use X11 idle time if available.
3227 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3229 * org-agenda.el (org-agenda-next-line): New command.
3230 (org-agenda-previous-line): New commands.
3231 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
3233 (org-agenda-follow-mode): Do the follow immediately if the mode is
3235 (previous-line, next-line): Replace keys with the corresponding
3237 (org-agenda-mode-map): Bind backspace and delete to the scrolling
3240 * org.el (org-icompleting-read): Turn off partial completion mode
3241 for the duration of this completion round.
3243 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
3244 macros in author lines and similar stuff.
3246 * org.el (org-file-tags): Fix docstring.
3247 (org-get-buffer-tags): Add the #+FILETAGS tags.
3248 ("ecb"): Make ecb show context after jumping into an Org file.
3250 2009-11-13 John Wiegley <johnw@newartisans.com>
3252 * org-agenda.el (org-finalize-agenda): Draw habit consistency
3253 graphs after everything else in the buffer has been setup.
3255 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3257 * org-mobile.el (org-mobile-apply): Count success and failure.
3259 * org.el (org-indent-line-function): Fix regexp replace problem.
3261 2009-11-13 John Wiegley <johnw@newartisans.com>
3263 * org-clock.el (org-clock-disable-clock-resolution): New
3264 customization variable that disable automatic clock resolution on
3266 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
3267 not automatically resolve anything. This is does not affect
3268 idle-time resolution, however, if `org-clock-idle-time' is set.
3270 2009-11-13 John Wiegley <johnw@newartisans.com>
3272 * org-habit.el: New file, which implements code to build a "habit
3275 * org-agenda.el (org-agenda-get-deadlines)
3276 (org-agenda-get-scheduled): Display consistency graphs when
3277 outputting habits into the agenda. The graphs are always relative
3278 to the current time.
3279 (org-format-agenda-item): Add new parameter `habitp', which
3280 indicates whether we are formatting a habit or not. Do not
3281 display "extra" leading information if habitp is true.
3283 * org.el (org-repeat-re): Improve regexp to include .+ and ++
3284 leaders for repeat strings.
3285 (org-get-repeat): Now takes a string parameter `tagline', so the
3286 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
3288 2009-11-13 John Wiegley <johnw@newartisans.com>
3290 * org-agenda.el (org-agenda-auto-exclude-function): New
3291 customization variable for allowing the user to create an "auto
3292 exclusion" filter for doing context-aware auto tag filtering.
3293 (org-agenda-filter-by-tag): Changes to support the use of
3294 `org-agenda-auto-exclude-function'. See the new manual addition,.
3296 2009-11-13 John Wiegley <johnw@newartisans.com>
3298 * org.el (org-files-list): Don't attempt to return a file name for
3299 Org buffers which have no associated file.
3301 * org-agenda.el (org-agenda-do-action): Fix a typo.
3303 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3305 * org-mobile.el (org-mobile-locate-entry): Interpret files
3306 relative to org-directory.
3307 (org-mobile-inbox-for-pull): Document the best location for this
3309 (org-mobile-check-setup): Verify `org-directory'.
3310 (org-mobile-create-index-file): Sort the files to be listed in
3313 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
3315 * org.el (org-fast-tag-selection): Add a way to display a
3316 description for a tag group. This is done by adding a string to
3317 either the startgroup or endgroup cell.
3319 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3321 * org-clock.el (org-clock-resolve, org-resolve-clocks)
3322 (org-emacs-idle-seconds): Use `org-float-time' instead of
3325 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3327 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
3330 * org.el (org-pre-cycle-hook): Document that `empty' can also be
3331 the value of ARG when doing local cycling.
3333 2009-11-13 John Wiegley <johnw@newartisans.com>
3335 * org-clock.el (org-clock-resolve-clock): If keeping or
3336 subtracting time results in a clock out at a time in the past, and
3337 if the resolution occurred due to idleness or invoking `M-x
3338 org-resolve-clocks', remember that past moment in time. On the
3339 next clock in, the user will be prompted to see if they want to
3340 back-date their new clock to then.
3341 (org-clock-resolve): Do not jump the user to the location of a
3342 dangling clock if the resolution is occurring due to an idle
3343 timeout. In that case there is typically only one dangling clock,
3344 the active one, and there is no value gained by shuffling their
3345 windows around to show it to them. Being prompted to resolve an
3346 idle clock should be as inobtrusive as possible.
3347 (org-resolve-clocks-if-idle): New function that resolves only the
3348 currently active clock if the user has exceeded the time returned
3349 by `org-user-idle-seconds', based on the value of
3350 `org-clock-idle-time'.
3351 (org-clock-in): If, after resolving clocks, (???)
3352 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
3354 * org-clock.el (org-clock-resolve-clock): New function that
3355 resolves a clock to a specific time, closing or resuming as need
3356 be, and possibly even starting a new clock.
3357 (org-clock-resolve): New function used by `org-resolve-clocks'
3358 that sets up for the call to `org-clock-resolve-clock'. It
3359 determines the time to resolve to based on a single-character
3360 selection from the user to either keep time, subtract away time or
3362 (org-resolve-clocks): New user command which resolves dangling
3363 clocks -- that is, open but not active -- anywhere in the file
3364 list returned by `org-files-list'.
3365 (org-clock-in): Automatically resolve dangling clocks whenever a
3367 (org-clock-cancel): If the user cancels the solely clock in a
3368 LOGBOOK, remove the empty drawer.
3370 * org-clock.el (org-clock-idle-time): New user customizable option
3371 for detecting whether the user has left a clock idle. Note: it is
3372 only used in this commit to test whether it's worthwhile to check
3373 OS X to get the Mac user's current idle time. If the Emacs idle
3374 time is less than the value, the user hasn't been away long enough
3375 to be worth checking (a more expensive test than just getting
3377 (org-user-idle-seconds, org-mac-idle-seconds)
3378 (org-emacs-idle-seconds): This three functions, in conjunction
3379 with the user customization variable `org-clock-idle-time', return
3380 the number of seconds (as a floating point) that the user has been
3381 away from their Emacs (or, if running on OS X, their computer).
3383 * org-clock.el (org-find-open-clocks): New function that returns a
3384 list of all open clocks in the given FILE. Note that each clock
3385 it returns is a cons cell of the format (MARKER . START-TIME).
3386 This "clock" value is used by several of the new clock module
3388 (org-is-active-clock): New inline function which tests whether the
3389 given clock value is the same as the currently active clock.
3390 Returns non-nil if this is the case.
3391 (org-with-clock-position): New macro that evaluates FORMS with
3392 point in the buffer and at the position of the given clock.
3393 Changes to the current clock are global.
3394 (org-with-clock): New macro that evaluates FORMS with point in the
3395 buffer and at the position of the given clock. However, changes
3396 to the current clock are local and have no effect on the user's
3397 active clock. This allows, for example, far any clock to be
3398 cancelled without cancelling the active clock.
3399 (org-clock-clock-in): New inline function that switches the active
3400 clock to the given clock. If either the argument RESUME, or the
3401 global `org-clock-in-resume', are non-nil, it will resume a clock
3402 that was previously left open.
3403 (org-clock-clock-out): New inline function that clocks out the
3404 given clock value without affecting the currently active clock.
3405 (org-clock-clock-cancel): New inline function that cancels the
3406 given clock value without affecting the currently active clock.
3408 * org-clock.el (org-clock-in): Before creating
3409 `org-clock-mode-line-timer', check to make sure an older timer is
3410 not currently running.
3411 (org-clock-out): Accept new third parameter `at-time', which
3412 permits a clock to be clocked out at a specific time. Note that
3413 no attempt is made to verify that the clock out time is later than
3416 * org.el (org-files-list): New utility function for returning a
3417 list of all open org-mode buffers, plus all files used to build
3418 the agenda buffer. Note that not all the files will necessarily
3419 be visited by a buffer at time of call.
3420 (org-entry-beginning-position): Like the function
3421 `line-beginning-position', this inline function returns the
3422 beginning position of the current heading/entry.
3423 (org-entry-end-position): Like the function `line-end-position',
3424 this inline function returns the end position of the current
3427 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3429 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
3432 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3434 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
3436 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3438 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
3439 entries that have no tags.
3440 (org-agenda-search-view): New customize group.
3441 (org-agenda-search-view-search-words-only): New option.
3442 (org-search-view): Implement substring search.
3444 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3446 * org.el (org-outline-level): Add doc string.
3448 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3450 * org-inlinetask.el (org-inlinetask-export): Re-introduce
3452 (org-inlinetask-export-handler): Only export inline task if the
3453 user option calls for it.
3455 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3457 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
3460 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3462 * org-latex.el (org-export-latex-tables): Don't format in
3465 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3467 * org-src.el (org-edit-src-code)
3468 (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
3471 * org-agenda.el (org-prefix-category-max-length): New variable.
3472 (org-format-agenda-item): Use `org-prefix-category-max-length'.
3473 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
3475 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3477 * org-mobile.el (org-mobile-create-index-file): Improve the
3478 listing of tags and todo keywords.
3480 * org-latex.el (org-export-latex-format-image): New function.
3481 (org-export-latex-links): Use `org-export-latex-format-image'.
3483 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3485 * org-inlinetask.el (org-inlinetask-get-current-indentation)
3486 (org-inlinetask-remove-terminator): New functions.
3487 (org-inlinetask-export-handler): Terminate the description list.
3489 * org-exp.el (org-export-select-backend-specific-text): Remove the
3492 * org-inlinetask.el (org-inlinetask-export-handler): Fix bug for
3493 tasks without content.
3495 * org-clock.el: Make sure the clock-in target position does not
3496 move to a different node by widening the buffer.
3498 * org-html.el (org-export-html-format-image): Wrap image into
3499 figure div only when there is a caption.
3501 * org-archive.el (org-archive-mark-done): Change default value to
3504 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3506 * org.el (org-context): Call `bobp', not `eobp'.
3508 * org-clock.el (org-clock-cancel): Remove quotes from marker
3511 * org.el (org-read-date-prefer-future): New allowed value `time'.
3512 (org-read-date-analyze): Shift day to tomorrow depending on time
3513 entered and value of `org-read-date-prefer-future'.
3515 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3517 * org.el (org-version, org-get-refile-targets, org-refile)
3518 (org-store-log-note, org-diary-to-ical-string)
3519 (org-speedbar-set-agenda-restriction):
3520 * org-publish.el (org-publish-find-title):
3521 * org-plot.el (org-plot/gnuplot):
3522 * org-mouse.el (org-mouse-do-remotely):
3523 * org-mobile.el (org-mobile-move-capture):
3524 * org-mac-message.el (org-mac-message-insert-flagged):
3525 * org-latex.el (org-replace-region-by-latex):
3526 * org-docbook.el (org-replace-region-by-docbook):
3527 * org-clock.el (org-clock-out, org-clock-cancel):
3528 * org-bibtex.el (org-execute-file-search-in-bibtex):
3529 Use with-current-buffer.
3531 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
3533 * org.el (org-directory, org-map-entries):
3534 * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
3536 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3538 * org.el (org-set-tags-to): New command.
3540 * org-latex.el (org-export-latex-set-initial-vars): Also check in
3543 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
3546 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
3548 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3550 * org-inlinetask.el (org-inlinetask-export): Option removed.
3551 (org-inlinetask-export-handler): Better export.
3553 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
3554 (org-export-as-xoxo): Run the new hook.
3556 * org-html.el (org-export-html-final-hook): New hook.
3557 (org-export-as-html): Run the new hook.
3559 * org-docbook.el (org-export-docbook-final-hook): New hook.
3560 (org-export-as-docbook): Run the new hook.
3562 * org-ascii.el (org-export-ascii-final-hook): New hook.
3563 (org-export-as-ascii): Run the new hook.
3565 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
3566 space character as the character before the ^/_.
3567 (org-export-latex-final-hook): New hook.
3568 (org-export-as-latex): Run `org-export-latex-final-hook'.
3570 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3572 * org-macs.el (org-if-unprotected-at): Fix docstring.
3574 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
3575 text in the prefix (if category is a link).
3577 * org-latex.el (org-export-latex-preprocess): Deal properly with
3578 empty lines in verse environments.
3580 * org.el (org-format-latex-header): Inline fullpage.sty.
3582 * org-footnote.el (org-footnote-create-definition): Reveal context
3583 to add a new footnote definition.
3585 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
3586 org-table-recalculate when cursor is in TBLFM line.
3588 * org-list.el (org-renumber-ordered-list): Fix cursor position
3589 when bullet length has changed.
3591 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3593 * org.el (org-format-latex): Mention `org-format-latex-options' in
3596 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3598 * org.el (org-agenda-get): New function.
3600 * org-agenda.el (org-agenda-post-command-hook): No longer move
3601 point away from end of line.
3602 (org-agenda-add-entry-text, org-agenda-collect-markers)
3603 (org-finalize-agenda, org-agenda-mark-clocking-task)
3604 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
3605 (org-agenda-entry-text-show, org-agenda-highlight-todo)
3606 (org-agenda-compare-effort, org-agenda-filter-apply)
3607 (org-agenda-later, org-agenda-change-time-span)
3608 (org-agenda-post-command-hook, org-agenda-show-priority)
3609 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
3610 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
3611 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
3612 (org-agenda-open-link, org-agenda-copy-local-variable)
3613 (org-agenda-switch-to, org-agenda-check-no-diary)
3614 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
3615 (org-agenda-add-note, org-agenda-change-all-lines)
3616 (org-agenda-priority, org-agenda-set-tags)
3617 (org-agenda-set-property, org-agenda-set-effort)
3618 (org-agenda-toggle-archive-tag, org-agenda-date-later)
3619 (org-agenda-show-new-time, org-agenda-date-prompt)
3620 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
3621 (org-agenda-clock-in, org-agenda-bulk-mark)
3622 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
3625 * org-colview.el (org-columns-display-here)
3626 (org-columns-edit-allowed, org-agenda-columns): Use
3629 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3631 * org.el (org-special-ctrl-a/e): Improve documentation and
3633 (org-end-of-line): Don't jump to after the ellipsis.
3634 (org-mode-map): Bind <home> and <end> as well.
3636 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3638 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
3639 space after #+ as comments.
3640 (org-open-at-point): Run `org-follow-link-hook' always.
3642 * org-latex.el (org-export-latex-emph-format): Use better commands
3643 to insert special characters in verbatim snippets.
3645 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3647 * org-faces.el (org-copy-face): New function. Use it to create
3648 various faces formerly created by using `copy-face'.
3650 * org-agenda.el (org-prepare-agenda): Don't officially mark this
3652 (org-agenda-quit): Kill the frame containing the agenda window if
3653 that frame was created for the agenda.
3655 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3657 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
3658 stamp in the agenda.
3660 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3662 * org-agenda.el (org-prepare-agenda): Reset
3663 `org-drawers-for-agenda'.
3664 (org-prepare-agenda): Uniquify list of drawers.
3666 * org.el (org-complex-heading-regexp-format): New variable.
3667 (org-set-regexps-and-options): Define
3668 `org-complex-heading-regexp-format'.
3669 (org-drawers-for-agenda): New variable.
3670 (org-map-entries): Bind `org-drawers-for-agenda'.
3671 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
3673 * org-remember.el (org-go-to-remember-target)
3674 (org-remember-handler): Use `org-complex-heading-regexp-format'.
3676 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3678 * org-agenda.el (org-agenda-highlight-todo): Fix text property
3681 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
3682 always with `invisible-ok'.
3683 (org-store-link): No error when there is nothing to link to in the
3686 * org-list.el (org-update-checkbox-count): Insert changed cookie
3687 before the old, to avoid problems with invisibility at the end of
3689 (org-update-checkbox-count): Insert changed cookie before the old,
3690 to avoid problems with invisibility at the end of the line.
3692 * org.el (org-sort-entries-or-items): Include the final newline.
3693 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
3694 lines for fontification.
3695 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
3696 (org-prepare-dblock): Store the current indentation of the BEGIN
3698 (org-update-dblock): Apply the indentation of the begin line to
3699 the rest of the block.
3700 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
3701 (org-startup-folded): New allowed value `showeverything'.
3702 (org-startup-options): Add STARTUP keyword `showeverything'.
3703 (org-set-startup-visibility): Respect value `showeverything' in
3706 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3708 * org.el (org-closest-date): Fix issue with past preference.
3710 * org-archive.el (org-archive-set-tag)
3711 (org-archive-subtree-default): New commands.
3713 * org-clock.el (org-clock-clocktable-default-properties): New
3715 (org-clock-report): Use
3716 `org-clock-clocktable-default-properties'.
3718 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3720 * org.el (org-iswitchb-completing-read): Fix typo.
3722 * org-crypt.el: New file.
3724 * org.el: Add an entry for org-crypt.
3726 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3728 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
3730 (org-batch-store-agenda-views): New function.
3731 (org-agenda-title-append): Define variable.
3732 (org-write-agenda): New export to Org files.
3733 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
3734 (org-agenda): Allow to keep the restricted file list if a special
3735 variable is bound to t.
3736 (org-agenda): Define a special agenda view for working on flagged
3738 (org-agenda-get-restriction-and-command): List the new agenda
3740 (org-agenda-show-the-flagging-note): New command.
3741 (org-agenda-mode-map): New key `?' for looking at the flagging
3744 * org.el (org-autoload): Autoload org-mobile.el.
3745 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
3747 * org-mobile.el: New file.
3749 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
3751 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3753 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
3755 (org-table-get-remote-range): Match indented #+TBLNAME
3758 * org.el (org-convert-to-odd-levels)
3759 (org-convert-to-oddeven-levels): Work also correctly if the file
3762 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3764 * org.el (org-store-link): When in agenda buffer, link to
3766 (org-add-planning-info): Remove spaces at eol.
3768 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
3771 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3773 * org-latex.el (org-export-latex-first-lines): Fix problem with
3774 LaTeX export of first line and selected subtree.
3776 * org.el (org-shifttab): Interpret arg differently when using only
3779 2009-10-01 Bastien Guerry <bzg@altern.org>
3781 * org.el (org-check-agenda-file): Use a more explicit message.
3783 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3785 * org-exp.el (org-export-remove-special-table-lines): Don't remove
3788 2009-10-01 Bastien Guerry <bzg@altern.org>
3790 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
3791 prompt in the temporary window.
3793 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
3794 prefix for marked entries in the agenda view.
3796 2009-10-01 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
3798 * org.el (outline-end-of-subtree): Bugfix: advise this function in
3799 a way that prevents any trailing character from being displayed.
3801 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3803 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
3806 * org-exp.el (org-export-remove-special-table-lines): Remove bad
3809 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3811 * org-latex.el (org-export-latex-preprocess): Do not protect in
3814 * org-src.el (org-edit-src-save): Save window setup while saving.
3815 (org-edit-src-code): Use new buffer name construction scheme.
3817 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3819 * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
3821 (org-agenda-entry-text-cleanup-hook): New hook.
3822 (org-agenda-get-some-entry-text): Remove matches of
3823 `org-agenda-entry-text-exclude-regexps' and run the hook
3824 `org-agenda-entry-text-cleanup-hook'.
3826 * org.el (org-offer-links-in-entry): New argument ZERO to
3827 implement a link with index zero.
3828 (org-cycle-show-empty-lines): Not keep empty line under header
3830 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
3831 to nil for special completion.
3832 (org-store-link): Don't error before the first heading.
3834 * org-agenda.el (org-agenda-open-link): Pass the prefix to
3835 `org-offer-links-in-entry'.
3837 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3839 * org-agenda.el (org-agenda-quit): Provide the window argument for
3840 `window-dedicated-p', Emacs 22 needs it.
3841 (org-format-agenda-item): If the category is a link, arrange for
3842 invisible text to replaced with spaces.
3843 (org-compile-prefix-format): Add the extra space.
3844 (org-prefix-category-length): New variable.
3846 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
3847 references from TOC lines.
3849 * org.el (org-selected-window): New variable.
3851 * org-table.el (org-table-edit-formulas): Remember the selected
3853 (org-table-fedit-finish, org-table-fedit-abort): Select the window
3854 that was originally selected.
3856 * org-exp.el (org-export-preprocess-apply-macros): Scan the
3857 expansion of a macro for more macro definitions.
3859 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
3860 invisibility overlay starts on the newline.
3862 2009-10-01 Glenn Morris <rgm@gnu.org>
3864 * org-agenda.el (calendar-check-holidays):
3865 * org-exp.el (org-agenda-skip):
3866 * org-list.el (outline-back-to-heading):
3867 * org-wl.el (wl-summary-goto-folder-subr):
3868 * org.el (iswitchb-mode, remember, remember-buffer-desc)
3869 (remember-finalize, remember-save-after-remembering, remember-register)
3870 (remember-buffer, remember-handler-functions)
3871 (remember-annotation-functions): Remove unused declarations.
3873 * org.el (iswitchb-read-buffer): Fix declaration.
3875 2009-09-30 Glenn Morris <rgm@gnu.org>
3877 * org-compat.el (w32-focus-frame):
3878 * org-exp-blocks.el (R):
3879 * org-exp.el (htmlize-buffer):
3880 * org-protocol.el (server-edit):
3881 * org-table.el (org-format-org-table-html):
3882 * org.el (org-indent-mode): Fix declarations.
3884 * org-colview.el (org-columns-uncompile-format): Avoid assignment to
3885 free variable `fun'.
3887 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
3889 * org-agenda.el (org-agenda-restore-windows-after-quit):
3890 Fix typo in docstring.
3892 2009-09-23 Juanma Barranquero <lekktu@gmail.com>
3894 * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
3895 (org-shiftselect-error, org-ctrl-c-ctrl-c):
3896 * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
3897 * org-attach.el (org-attach-check-absolute-path):
3898 * org-docbook.el (org-export-as-docbook):
3899 * org-html.el (org-export-as-html):
3900 * org-id.el (org-id-update-id-locations):
3901 * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
3902 Fix typos in error messages.
3904 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3906 * org-ascii.el: Require CL for the `loop' macro.
3908 2009-09-05 Carsten Dominik <dominik@u016822.science.uva.nl>
3910 * org-gnus.el (require): Wrap (require gnus-sum) into
3913 2009-09-03 Carsten Dominik <dominik@u016822.science.uva.nl>
3915 * org-protocol.el (org-protocol-store-link)
3916 (org-protocol-remember, org-protocol-open-source): Remove autoload
3919 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
3920 referencing the start of the line.
3922 * org-gnus.el: Remove unnecessary declare-function forms.
3923 (gnus-sum): Always require gnus-sum.
3925 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3927 * org-protocol.el (org-protocol-store-link)
3928 (org-protocol-remember, org-protocol-open-source): Add autoloads.
3930 * org-compat.el (org-float-time): New function.
3932 * org.el (org-clock-update-time-maybe)
3933 (org-sort-entries-or-items, org-do-sort)
3934 (org-evaluate-time-range, org-time-string-to-seconds)
3935 (org-closed-in-range): Use `org-float-time'.
3937 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
3938 (org-timer-seconds): Use `org-float-time'.
3940 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
3941 (org-clock-sum, org-dblock-write:clocktable)
3942 (org-clocktable-steps): Use `org-float-time'.
3944 * org-agenda.el (org-agenda-last-marker-time)
3945 (org-agenda-new-marker, org-diary): Use `org-float-time'.
3947 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
3950 * org-exp.el (org-get-file-contents): Only protect lines that
3953 * org-html.el (require): Require cl for compilation.
3955 * org.el: Avoid using `default-major-mode'.
3957 * org-plot.el (require): Require CL only at compile time.
3959 * org-exp.el (require): Require CL only at compile time.
3961 * org-agenda.el (org-agenda-quit): When the agenda window is
3962 dedicated, remove other windows before exiting, so that the frame
3963 really will be killed.
3965 * org-exp.el (org-export-handle-include-files): Reset START and
3966 END for each loop cycle.
3968 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3970 * org.el (org-eval-in-calendar): Use
3971 `org-select-frame-set-input-focus'.
3973 * org-compat.el (org-select-frame-set-input-focus): New function.
3975 * org.el (org-update-statistics-cookies): New function.
3976 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
3978 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3980 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
3981 after the local variables are set.
3983 * org-latex.el (org-export-latex-protect-amp): New function.
3984 (org-export-latex-links): Protect link ampersands in tables.
3986 * org-exp.el (org-export-select-backend-specific-text): Match in
3987 two steps, to avoid regexp problems.
3989 * org.el (org-offer-links-in-entry): Improve working with many and
3992 * org-agenda.el (org-agenda-show-1): Make more consistent with
3994 (org-agenda-cycle-show): Make more consistent with normal cycling.
3996 * org-gnus.el (org-gnus-store-link): Restore the linking to a
3999 2009-09-02 Bastien Guerry <bzg@altern.org>
4001 * org-latex.el (org-export-latex-first-lines): Bugfix.
4003 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4005 * org-clock.el (org-clock-modify-effort-estimate): Emit message
4008 * org.el (org-set-effort): New function.
4009 (org-mode-map): New key for effort setting command.
4011 * org-agenda.el (org-agenda): Keep window setup when calling
4012 agenda from within agenda window.
4013 (org-agenda-mode-map): New keys for effort setting commands.
4014 (org-agenda-menu): Add effort setting commands to menu.
4015 (org-agenda-set-property, org-agenda-set-effort): New functions.
4017 * org-latex.el (org-export-latex-tables): Fix
4018 `org-table-last-alignment' and `org-table-last-column-widths' if
4019 the first column has been removed.
4021 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4023 * org.el (org-remove-timestamp-with-keyword): Only remove in
4024 entry, not in subtree.
4026 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
4029 * org.el (org-open-at-point): When on headline, offer all strings
4032 * org-remember.el (org-remember-templates): Documentation fix.
4034 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
4035 `org-get-last-sibling' instead of the outline versions of these
4037 (org-get-last-sibling): New function.
4038 (org-refile): Use `org-get-next-sibling' instead of the outline
4039 version of this function.
4040 (org-clean-visibility-after-subtree-move): Use
4041 `org-get-next-sibling' and `org-get-last-sibling' instead of the
4042 outline versions of these functions.
4044 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4046 * org-agenda.el (org-prepare-agenda): When creating a new frame
4047 for the agenda, make the window dedicated.
4049 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
4051 * org-table.el (org-table-align): Change the order of reinsertion
4052 and deletion, to avoid problems with overlays following the table.
4054 * org.el (org-parse-time-string): Better error message.
4055 (org-show-subtree): Use org-end-of-subtree.
4057 * org-macs.el (org-goto-line): New defsubst.
4059 * org.el (org-open-file, org-change-tag-in-region)
4060 (org-fast-tag-show-exit): Don't use `goto-line'.
4062 * org-table.el (org-table-align, org-table-insert-column)
4063 (org-table-delete-column, org-table-move-column)
4064 (org-table-sort-lines, org-table-copy-region)
4065 (org-table-paste-rectangle, org-table-wrap-region)
4066 (org-table-get-specials, org-table-rotate-recalc-marks)
4067 (org-table-get-range, org-table-recalculate)
4068 (org-table-edit-formulas, org-table-fedit-convert-buffer)
4069 (org-table-show-reference, org-table-highlight-rectangle): Don't
4072 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
4073 (org-edit-src-exit): Don't use `goto-line'.
4075 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
4077 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
4078 Don't use `goto-line'.
4080 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
4082 * org-colview.el (org-columns, org-columns-redo)
4083 (org-agenda-columns): Don't use `goto-line'.
4085 * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
4088 * org-agenda.el (org-agenda-mode): Force visual line motion off.
4089 (org-agenda-add-entry-text-maxlines): Improve docstring.
4090 (org-agenda-start-with-entry-text-mode): New option.
4091 (org-agenda-entry-text-maxlines): New option.
4092 (org-agenda-entry-text-mode): New variable.
4093 (org-agenda-mode): Set initial value of
4094 `org-agenda-entry-text-mode'.
4095 (org-agenda-mode-map): Add the `E' key.
4096 (org-agenda-menu): Add entry text mode to the menu.
4097 (org-agenda-get-some-entry-text): Fix line count bug.
4098 (org-finalize-agenda): Apply entry text mode if appropriate.
4099 (org-agenda-entry-text-show-here): New function.
4100 (org-agenda-entry-text-show): New function.
4101 (org-agenda-entry-text-hide): New function.
4102 (org-agenda-view-mode-dispatch): Add entry text mode to the view
4104 (org-agenda-entry-text-mode): New command.
4105 (org-agenda-set-mode-name): Add entry text mode to the mode line
4107 (org-agenda-undo, org-agenda-get-restriction-and-command)
4108 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
4111 2009-09-02 Bernt Hansen <bernt@norang.ca>
4113 * org-clock.el (org-notify): Bugfix.
4115 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4117 * org-agenda.el (org-agenda-open-link): Handle multiple links and
4118 check for after-string.
4120 * org-gnus.el (org-gnus-store-link): Simplify.
4122 * org.el (org-latex-regexps): Don't add extra empty lines for
4125 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4127 * org-agenda.el (org-agenda-get-some-entry-text): New function.
4128 (org-agenda-add-entry-text): Use
4129 `org-agenda-get-some-entry-text'.
4131 * org.el (org-cycle-separator-lines): Update docstring.
4132 (org-cycle-show-empty-lines): Handle negative values for
4133 `org-cycle-show-empty-lines'.
4135 * org-exp.el (org-export-protect-sub-super): New function.
4136 (org-export-normalize-links): Protect the url of plain links from
4137 supscript and superscript processing.
4139 * org-remember.el (org-remember-escaped-%): New function.
4140 (org-remember-apply-template): Use `org-remember-escaped-%' to
4141 detect escaped % signs.
4143 2009-09-02 Bastien Guerry <bzg@altern.org>
4145 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
4146 sound when showing the notification.
4148 * org-clock.el (org-notify): New function.
4149 (org-clock-notify-once-if-expired): Use `org-notify'.
4151 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
4152 and `gnus-article-mode' separately.
4153 (gnus-summary-article-header): Fix the declare-function.
4155 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4157 * org-exp.el (org-export-format-source-code-or-example): Translate
4160 * org-src.el (org-src-lang-modes): New variable.
4161 (org-edit-src-code): Translate language.
4163 * org-exp.el (org-export-format-source-code-or-example): Deal wit
4164 the new structure of the `org-export-latex-listings-langs'
4167 * org-latex.el (org-export-latex-listings-langs): Change structure
4168 of the variable from plist to alist.
4170 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4172 * org.el (org-in-commented-line): New function.
4174 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4176 * org.el (org-hide-block-toggle): Make folded blocks searchable.
4178 2009-09-02 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
4180 * org.el (org-flag-drawer): More useful error.
4182 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4184 * org-remember.el (org-remember-apply-template): Use
4185 org-icompleting-read.
4187 * org-publish.el (org-publish): Use org-icompleting-read.
4189 * org-colview.el (org-columns-edit-value, org-columns-new)
4190 (org-insert-columns-dblock): Use org-icompleting-read.
4192 * org-colview-xemacs.el (org-columns-edit-value)
4193 (org-columns-new, org-insert-columns-dblock): Use
4194 org-icompleting-read.
4196 * org-attach.el (org-attach-delete-one, org-attach-open): Use
4197 org-icompleting-read.
4199 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4201 * org.el (org-hierarchical-todo-statistics): Improve docstring.
4202 (org-version): Return the version text.
4203 (org-org-menu): Add a menu entry for the new bug reporter.
4204 (org-submit-bug-report): New command.
4206 * org-list.el (org-hierarchical-checkbox-statistics): Improve
4209 * org.el (org-emphasis-regexp-components): Add "`" to set of
4210 pre-emphasis characters.
4212 * org-latex.el (org-export-latex-classes): Always include the soul
4214 (org-export-latex-emphasis-alist): Use \st for strikethough.
4216 * org-exp-blocks.el (org-export-blocks-preprocess): Use
4217 `indent-code-rigidly' to indent.
4219 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
4220 properties only if MATCH really is a string.
4222 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4224 * org-latex.el (org-export-latex-packages-alist): Fix
4227 * org.el (org-create-formula-image): Also use
4228 `org-export-latex-packages-alist'.
4230 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
4231 (org-export-as-html): Format footnotes correctly.
4233 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4235 * org.el (org-fast-tag-selection): Avoid text properties on tags
4238 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
4239 text properties on the match element.
4241 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4243 * org.el (org-set-regexps-and-options): Make sure the list of done
4244 keywords is not invalid.
4246 * org-exp.el (org-export-interpolate-newlines): New function.
4248 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4250 * org.el (org-format-latex): Avoid nested overlays.
4252 * org-latex.el (org-export-latex-listings-langs): Add a few more
4255 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
4256 ignore newlines and space before the first macro argument.
4258 * org-latex.el (org-export-latex-tables): Remove save-excursion
4259 around `org-table-align'.
4261 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4263 * org.el (org-export-html-special-string-regexps): Definition
4266 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
4269 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4271 * org-latex.el (org-export-latex-listings)
4272 (org-export-latex-listings-langs): New options.
4274 * org-exp.el (org-export-format-source-code-or-example): Use
4275 listing package if requested by the user.
4277 2009-09-02 Bastien Guerry <bzg@altern.org>
4279 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
4280 command before actually switching to a buffer.
4282 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4284 * org-exp.el (org-get-file-contents): Only quote org lines when
4285 the markup is src or example.
4287 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
4289 (org-agenda-get-day-entries): Remember deadline results and pass
4290 them on into the function getting the scheduling information.
4291 (org-agenda-get-scheduled): Accept deadline results as parameters
4292 and maybe skip some entries.
4293 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
4295 * org.el (org-insert-heading): When respecting content, do not
4296 convert current line to headline.
4298 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
4299 cheeeeeck the hd marker.
4300 (org-clock-in): Also set the hd marker.
4301 (org-clock-out): Also set the hd marker.
4302 (org-clock-cancel): Reset markers.
4304 * org.el (org-clock-hd-marker): New marker.
4306 * org-faces.el (org-agenda-clocking): New face.
4308 * org-agenda.el (org-agenda-mark-clocking-task): New function.
4309 (org-finalize-agenda): Call `org-agenda-mark-clocking-task'.
4311 * org.el (org-modules): Add org-track.el.
4313 * org-agenda.el (org-agenda-bulk-marked-p): New function.
4314 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
4315 `org-agenda-bulk-marked-p'.
4316 (org-agenda-bulk-toggle): New command.
4318 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4320 * org.el (org-move-subtree-down): Hide subtree if it was folded,
4323 * org-remember.el (org-remember-finalize): Avoid buffer-modified
4326 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4328 * org-html.el (org-export-as-html):
4329 * org-docbook.el (org-export-as-docbook):
4330 Use (default-value 'major-mode) instead of default-major-mode.
4332 2009-08-08 Carsten Dominik <carsten.dominik@gmail.com>
4334 * org-docbook.el: Add arch-tag.
4336 * org-exp-blocks.el: Add arch-tag.
4338 * org-id.el: Add arch-tag.
4340 * org-indent.el: Add arch-tag.
4342 * org-inlinetask.el: Add arch-tag.
4344 * org-protocol.el: Add arch-tag.
4346 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4348 * org.el (org-create-formula-image): Remove the -E option for
4351 * org-exp.el (org-default-export-plist): Respect #+BIND.
4352 (org-export-confirm-letbind): New function.
4354 * org.el (org-paste-subtree): Test the kill ring entry if it is
4356 (org-copy-subtree): Use `org-forward-same-level'.
4357 (org-forward-same-level): Respect the `invisibe-ok' arg for
4360 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4362 * org.el (org-table-map-tables): Make sure cursor is back at table
4363 beginning after funcall.
4365 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
4366 handled before children, and do not error if an entry is not
4367 found, probably because it hase been remove when the parent was
4368 archived or refiled.
4370 * org.el (org-ido-completing-read): Accept straight lists for
4371 completion as well as alists.
4373 * org-timer.el (org-timer-cancel-timers): Rename from
4374 `org-timer-cancel-timers'.
4376 * org.el (org-cycle-internal-local): Fix problem with finding next
4379 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4381 * org-list.el (org-list-send-list): Call
4382 `org-list-goto-true-beginning' instead of
4383 `org-list-find-true-beginning', which does not exist.
4385 * org-timer.el (org-timer-reset-timers): Use `mapc'.
4386 (org-timer-set-timer): Do not assign to heading.
4388 * org-id.el (org-id-open): Quote function name.
4390 * org-macs.el (org-unmodified): Turn off recording undo
4391 information while running inside the macro.
4393 * org-table.el (org-table-export): Also work in file-less
4396 * org.el (org-startup-indented): New option.
4397 (org-startup-options): Add new options indent and noindent.
4398 (org-unfontify-region): Remove line-prefix and wrap-prefix
4400 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
4402 (org-promote, org-demote): Run the new hooks.
4404 * org-table.el (org-table-align): Replace leading \n as well.
4406 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
4407 and `line-wrap' text properties.
4409 * org-compat.el (org-kill-new): New function.
4411 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
4412 `line-wrap' text properties.
4414 * org-indent.el: New file.
4416 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4418 * org.el (org-provide-todo-statistics): Tweak docstring.
4420 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
4422 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4424 * org-exp.el (org-export-as-org): Insert the "-source" string
4425 before the extension.
4427 * org.el (org-read-date): Make sure the calendar is in the current
4429 (org-set-emph-re): Remove the ? from the post-match.
4430 (org-emphasis-regexp-components): Add backslash to the
4432 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
4433 optional so that also lines at the end of the buffers will still
4434 be matched as headlines.
4436 * org-table.el (org-table-error-on-row-ref-crossing-hline):
4437 Variable made obsolete.
4438 (org-table-relative-ref-may-cross-hline): New option.
4439 (org-table-find-row-type): Honow the new option
4440 `org-table-relative-ref-may-cross-hline'.
4442 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4444 * org-table.el (org-table-cut-region, org-table-copy-region): Work
4445 on single field if no active region.
4447 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4449 * org-latex.el (org-export-latex-make-header): Only insert title
4452 * org.el (org-make-options-regexp): Allow empty values.
4454 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4456 * org.el (org-cycle-internal-local): Improved version of finding
4458 (org-cycle-hide-drawers): Only hide drawers if this is really
4460 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
4461 org-version of this function in Org-mode. We use advice to
4462 implement this change, so that future changes to this function in
4463 outline.el wil be handled properly.
4464 (org-forward-same-level, org-backward-same-level): New commands.
4466 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4468 * org.el (org-remove-empty-overlays-at)
4469 (org-clean-visibility-after-subtree-move): New functons.
4470 (org-move-subtree-down): Simplify cleanup of display.
4472 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4474 * org-mac-message.el (org-mac-message-get-links): Improve
4475 docstring. Make argument SELECT-OR-FLAGGED optional, default to
4476 "s". Fix the return value.
4477 (org-mac-message-insert-flagged): Simplify.
4479 * org.el (org-refile-get-location): Tamper with refile history o
4480 that history contains compete matches instead of the entered
4483 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4485 * org.el (org-store-link): Never store a link to an inline task.
4487 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
4488 inline tasks when positioning footnotes.
4490 * org.el (org-refile): Remove the END line when archiving an
4491 inline task that does have an END line.
4493 * org-archive.el (org-archive-subtree): Remove the END line when
4494 archiving an inline task that does have an END line.
4496 * org-macs.el (org-with-limited-levels): New macro.
4497 (org-get-limited-outline-regexp): New function.
4499 * org-exp.el (org-export-format-source-code-or-example): Fix bug
4500 that did not enumerate first line.
4501 (org-export-mark-radio-links): Skip matches in links.
4503 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4505 * org.el (org-activate-plain-links): Make single-match.
4506 (org-adapt-indentation): Fix docstring.
4508 * org-macs.el (org-unmodified): Turn of modification hooks while
4511 2009-08-06 Bastien Guerry <bzg@altern.org>
4513 * org.el (org-adapt-indentation): Slightly improve the docstring.
4514 (org-occur): Sends an error when the user inputs an empty string.
4515 (org-priority): Bugfix: the tag alignement should happen within
4518 2009-08-06 Bastien Guerry <bzg@altern.org>
4520 * org.el (org-make-link-regexps): Don't exclude parentheses from
4521 `org-plain-link-re'.
4522 (org-cycle-internal-local): When locally cycling, switch directly
4523 from CHILDREN to FOLDED if there is no subtree.
4524 (org-cycle): Update the docstring to document the new behavior of
4525 `org-cycle-internal-local'.
4527 2009-08-06 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
4529 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
4530 an abbreviated format for days.
4532 2009-08-06 Bastien Guerry <bzg@altern.org>
4534 * org-protocol.el (org-protocol-default-template-key): New
4537 * org.el (org-refile): Bugfix: save-excursion before reading the
4538 refile target, otherwise cursor moves might confuse `org-refile'.
4540 * org.el (org-toggle-heading): Bugfix: correctly convert list
4541 items before the first headline.
4543 * org.el (org-provide-todo-statistics): Allow a list of TODO
4544 keywords to compute statistics against headlines containing a
4545 keyword from this list.
4546 (org-update-parent-todo-statistics): Possibly use the new allowed
4547 value of `org-provide-todo-statistics'.
4549 2009-08-06 Bastien Guerry <bzg@altern.org>
4551 * org-timer.el: Add autoload cookie.
4553 * org.el (org-occur-link-in-agenda-files): New function.
4555 * org-timer.el (org-timer-last-timer): New variable.
4557 * org-agenda.el (org-agenda-mode-map): New key for
4558 org-timer-set-timer called from the agenda.
4560 * org.el (org-mode-map): New key for org-timer-set-timer.
4562 * org-timer.el (org-timer-reset-timers)
4563 (org-timer-show-remaining-time, org-timer-set-timer): New
4566 * org-clock.el (org-show-notification): Update the docstring.
4568 * org.el (org-provide-todo-statistics): Allow new value
4569 'all-headlines for this option, which includes entries with no
4570 TODO keywords in the todo statistics.
4571 (org-update-parent-todo-statistics): Possibly use the new
4572 'all-headline value from `org-provide-todo-statistics'.
4574 2009-08-06 Bastien Guerry <bzg@altern.org>
4576 * org-clock.el (org-dblock-write:clocktable): Add a new option
4577 :timestamp which allows display of timestamps in clock reports.
4579 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
4580 list to a subtree, preserving the structure of the list.
4581 (org-set-emph-re): Make the last element optional in the regexp.
4582 This regexp now matches an emphasized string at the end of a line.
4584 * org-list.el (org-list-goto-true-beginning)
4585 (org-list-make-subtree, org-list-make-subtrees): New functions.
4587 * org.el (org-eval-in-calendar): Select the right frame.
4588 (org-save-frame-excursion): Remove this macro.
4590 2009-08-06 Bastien Guerry <bzg@altern.org>
4592 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
4593 trying to find the beginning of a list.
4595 * org-exp.el (org-get-file-contents): Use a new argument: markup.
4596 When present, tell org-get-file-contents not to protect org-like
4599 * org-id.el (org-id-uuid-program): New option to set the name of
4600 the uuidgen program.
4601 (org-id-method): Use `org-id-uuid-program'.
4602 (org-id-new): Use `org-id-uuid-program'.
4604 2009-08-06 Bastien Guerry <bzg@altern.org>
4606 * org-exp.el (org-export-number-lines): Allow whitespace in code
4607 references. Allow the -r switch to remove the references in the
4608 source code even when the lines are not numbered: the labels can
4611 * org.el (org-fontify-whole-heading-line): New option.
4612 (org-set-font-lock-defaults): Use the new option.
4614 * org-clock.el (org-show-notification-handler): New option.
4615 (org-show-notification): Use the new option.
4617 2009-08-06 Bastien Guerry <bzg@altern.org>
4619 * org.el (org-eval-in-calendar): Fix a bug about calendar
4620 navigation when `calendar-setup' value is 'calendar-only.
4622 2009-08-06 Bastien Guerry <bzg@altern.org>
4624 * org.el (orgstruct++-mode): Fix typo in docstring.
4625 (org-insert-link): Clean up: (or (...)) => (...)
4626 (org-insert-link): Use TAB for stored links completion.
4628 2009-08-06 Bastien Guerry <bzg@altern.org>
4630 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
4631 building the list of targets.
4633 * org-remember.el (org-remember-delete-empty-lines-at-end): New
4635 (org-remember-handler): Use the new option.
4637 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
4639 * org.el (org-tags-sort-function): New option for sorting tags.
4640 (org-set-tags): Use the new option to sort tags.
4642 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
4643 premature deletion of the data when using org-plot in a script.
4645 2009-08-06 Bastien Guerry <bzg@altern.org>
4647 * org-clock.el (org-clock-in-prepare-hook): New hook.
4648 (org-clock-in): Use this new hook.
4650 2009-08-06 Bastien Guerry <bzg@altern.org>
4652 * org.el (org-special-ctrl-a/e): Explicitely bind the value
4653 'reversed for this option to the "true line boundary first"
4655 (org-tags-match-list-sublevels): Document the 'indented value for
4658 * org-latex.el (org-export-latex-first-lines): Fix problem with
4659 publishing the region.
4661 * org-exp.el (org-export-format-source-code-or-example): Fix
4662 bad line numbering when exporting examples in HTML.
4664 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
4666 * org-colview.el (org-format-time-period): Formats a time in
4667 fractional days as days, hours, mins, seconds.
4668 (org-columns-display-here): Add special handling for SINCE and
4669 SINCE_IA to format for display.
4671 * org.el (org-time-since): Add a function to get the time since an
4673 (org-entry-properties): Add two new special properties: SINCE and
4674 SINCE_IA. These give the time since any active or inactive
4675 timestamp in an entry.
4676 (org-special-properties): Add SINCE, SINCE_IA.
4677 (org-tags-sort-function): Add custom declaration for tags
4679 (org-set-tags): Sort tags if org-tags-sort-function is set.
4681 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4683 * org-clock.el (org-clock-goto): Find hidden headlines as well.
4685 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
4687 * org-plot.el (org-plot/add-options-to-plist): Add timeind
4690 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4692 * org-publish.el (org-publish-remove-all-timestamps): New function.
4693 (org-publish-all): Remove all timestamp files if `org-publish-all'
4694 is called with a prefix argument.
4696 * org-list.el (org-indent-item): Fix typo.
4697 (org-item-indent-positions): Normalize ordered bullet.
4699 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4701 * org-macs.el (org-set-local): Make a local variable, do not make
4702 the variable buffer-local!
4704 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
4706 * org-exp.el (org-infile-export-plist): Read BIND lines.
4707 (org-install-letbind): New function.
4708 (org-export-as-org, org-export-preprocess-string): Call
4709 `org-install-letbind'.
4711 * org-list.el (org-list-demote-modify-bullet): New option.
4712 (org-first-list-item-p): Save point.
4713 (org-fix-bullet-type): New optional argument FORCE-BULLET.
4714 (org-indent-item): Honor `org-list-demote-modify-bullet'.
4715 (org-item-indent-positions): Return bullet types along with
4718 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4720 * org.el (org-show-entry): Hide drawers.
4722 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4724 * org-footnote.el (org-footnote-auto-adjust): New option.
4725 (org-footnote-auto-adjust-maybe): New function.
4726 (org-footnote-new, org-footnote-delete): Call
4727 `org-footnote-auto-adjust-maybe'.
4729 * org.el (org-startup-options): Add new footnote-related
4732 * org-publish.el (org-publish-timestamp-filename): Additional
4733 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
4734 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
4735 TRUE-PUB-DIR. Pass them through to
4736 `org-publish-timestamp-filename'.
4737 (org-publish-update-timestamp): Additional arguments PUB-DIR and
4738 PUB-FUNC, which are included in the hash.
4739 (org-publish-file): Delay timestamp test until the publishing
4742 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4744 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
4745 setting the deadline.
4747 * org.el (org-read-date-final-answer): New variable.
4748 (org-read-date): Store the final answer string, including the date
4749 from the calendar, for reuse by agenda bulk commands.
4751 * org-publish.el (org-publish-attachment): Fix publishing of
4754 * org-latex.el (org-export-latex-quotation-marks): Fix export of
4755 quotation makrs in parenthesis.
4756 (org-remove-initial-hash): New function.
4757 (org-export-latex-preprocess): Fix bug with infinite loop if
4758 environment is not properly closed.
4760 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
4763 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
4764 highlight also when indented.
4766 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4768 * org-footnote.el (org-footnote-renumber-fn:N): New command.
4769 (org-footnote-action): Offer renumbering.
4771 * org.el (org-cycle): Honor the `integrate' value of
4772 org-cycle-include-plain-lists'.
4774 * org-list.el (org-cycle-include-plain-lists): New allowed value
4775 `internal'. Improve the docstring.
4777 * org.el (org-set-autofill-regexps): Improve the paragraph-start
4778 regexp to work better with LaTeX commands.
4780 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4782 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
4785 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4787 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
4790 * org.el (org-map-entries): No longer force
4791 `org-tags-match-list-sublevels' to t during a todo-only tags
4794 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4796 * org-latex.el (org-export-latex-low-levels): Allow user-defined
4798 (org-export-latex-subcontent): Handle user-defined environment.
4800 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
4801 the View dispatcher.
4803 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
4806 * org-latex.el (org-export-as-pdf): Protect match data during call
4807 to shell-quote-argument.
4809 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
4810 (org-agenda-view-mode-dispatch): New function.
4812 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4814 * org-agenda.el (org-agenda-mode): Reset list of marks.
4815 (org-agenda-mode-map): Define new keys for refile and bulk action.
4816 (org-agenda-menu): Add menu itesm for refile and bulk action.
4817 (org-agenda-refile): New function.
4818 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
4819 (org-agenda-marked-entries): New variable.
4820 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
4821 (org-agenda-remove-all-bulk-action-marks)
4822 (org-agenda-bulk-action): New functions/commands.
4824 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4826 * org-exp.el (org-get-file-contents): Protect org-like lines in
4828 (org-export-format-source-code-or-example): Remove newlines.
4830 * org-latex.el (org-export-latex-links): Check for no-description
4833 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
4834 argument separator back to comma.
4835 (org-export-normalize-links): Mark links without description.
4837 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4839 * org-exp.el (org-infile-export-plist): Fix bug in macro
4842 * org-agenda.el (org-agenda-clock-out): Update line after clocking
4844 (org-agenda-highlight-todo): Fix bug with highlighting.
4846 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4848 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
4849 new alignment strings.
4851 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
4853 (org-table-align): Check for forced align type.
4855 * org.el (org-self-insert-command): Add yas/expand to command
4858 * org-clock.el (org-clock-in-hook): New hook.
4859 (org-clock-in): Run `org-clock-in-hook.
4860 (org-clock-out-hook): New hook.
4861 (org-clock-out): Run `org-clock-out-hook.
4862 (org-clock-cancel-hook): New hook.
4863 (org-clock-cancel): Run `org-clock-cancel-hook.
4864 (org-clock-goto-hook): New hook.
4865 (org-clock-goto): Run `org-clock-goto-hook.
4867 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4869 * org.el (org-store-link): Better default description for link to
4872 * org-exp.el (org-export-generic): Autoload the generic exporter
4874 (org-export): Implement the `g' key for the generic exporter.
4876 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4878 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
4881 * org-exp.el (org-infile-export-plist): Get macros also from
4884 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4886 * org-colview.el (org-columns-capture-view): Protect vertical bars
4888 (org-columns-capture-view): Exclude comment and archived trees.
4890 * org-colview-xemacs.el (org-columns-capture-view): Protect
4891 vertical bars in column values.
4892 (org-columns-capture-view): Exclude comment and archived trees.
4894 * org.el (org-quote-vert): New function.
4896 * org-latex.el (org-export-latex-verbatim-wrap): New option.
4898 * org-exp.el (org-export-format-source-code-or-example): Use
4899 `org-export-latex-verbatim-wrap'.
4901 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
4904 2009-08-06 Eric Schulte <schulte.eric@gmail.com>
4906 * org-exp-blocks.el: New file.
4908 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4910 * org-remember.el (org-remember-templates): Allow the headline
4911 element to be a function.
4912 (org-remember-apply-template): If the headline is a function, call
4913 it to get the true function.
4915 * org-clock.el (org-clock-menu): New function.
4916 (org-clock-update-mode-line): Update help string.
4917 (org-clock-modify-effort-estimate): New function.
4918 (org-clock-mark-default-task): New function.
4920 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
4922 (org-org-menu): Add new clocking stuff.
4923 (org-clock-is-active): New function.
4925 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4927 * org.el (org-open-non-existing-files): Improve docstring.
4929 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4931 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
4933 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
4935 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
4937 * org-list.el (org-get-checkbox-statistics-face): Use the new
4940 * org-faces.el (org-checkbox-statistics-todo)
4941 (org-checkbox-statistics-done): New faces.
4943 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4945 * org-latex.el (org-export-latex-use-verb): New variable.
4946 (org-export-latex-emph-format): Prefer \texttt over \verb when
4947 org-export-latex-use-verb is set.
4949 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4951 * org-remember.el (org-remember-handler): Abort remember if the
4954 * org-exp.el (org-export-format-source-code-or-example): Run
4955 `org-src-mode-hook'.
4957 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4959 * org.el (org-indent-line-function): Fix indentation of +#end lines.
4961 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
4963 * org-gnus.el (org-gnus-store-link): Require message.el in
4964 org-gnus-store-link.
4966 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4968 * org-src.el: New file, split out of org.el.
4970 * org-macs.el (org-replace-match-keep-properties): New function.
4972 * org-exp.el (org-export-mark-blockquote-verse-center): Better
4973 preprocessing of center and quote and verse blocks.
4975 * org-list.el (org-list-end): Respect the stored "original"
4976 indentation when determining the end of the list.
4978 * org-exp.el (org-export-replace-src-segments-and-examples):
4979 Remember indentation correctly.
4981 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4983 * org-clock.el (org-clock-update-mode-line): Apply face
4984 org-mode-line-clock.
4986 * org-faces.el (org-mode-line-clock): New face.
4988 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
4990 * org-gnus.el (org-gnus-store-link): Fix bug where
4991 `org-gnus-store-link' used wrong subject when called in an article
4992 buffer. Patch provided by fengli AT gmail DOT com.
4994 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4996 * org-exp.el (org-export-format-source-code-or-example): Remember
4997 the original indentation of source code snippets and examples.
4999 * org-latex.el (org-export-as-latex): Relocate the table of
5002 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
5004 * org-agenda.el (org-run-agenda-series): Scope global options also
5005 when creating the agenda buffer.
5007 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5009 * org.el (org-adapt-indentation): Improve documentation.
5010 (org-insert-property-drawer): Respect org-adapt-indentation when
5011 inserting the drawer.
5012 (org-remove-flyspell-overlays-in): New function.
5013 (org-do-emphasis-faces, org-activate-plain-links)
5014 (org-activate-code, org-fontify-meta-lines-and-blocks)
5015 (org-activate-angle-links, org-activate-footnote-links)
5016 (org-activate-bracket-links, org-activate-dates)
5017 (org-activate-target-links, org-activate-tags): Remove flyspell
5020 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5022 * org.el (org-edit-src-save): New function.
5024 * org-clock.el (org-clock-out-switch-to-state): New option.
5025 (org-clock-out): Honor `org-clock-out-switch-to-state'.
5027 * org-compat.el (org-compatible-face): Improve macro.
5029 * org.el (org-global-properties-fixed): Add default for
5030 CLOCK_MODELINE_TOTAL.
5032 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
5034 (org-clock-sum-current-item): Optional argument TSTART, pass it to
5036 (org-clock-get-sum-start): New function.
5038 * org.el (org-startup-options): New keywords blockhide and
5040 (org-mode): Add new invisibility spec.
5041 (org-set-startup-visibility): Hide block on startup if so
5043 (org-hide-block-startup): New option.
5044 (org-block-regexp): New constant.
5045 (org-hide-block-overlays): New variable.
5046 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
5047 (org-show-block-all, org-hide-block-toggle-maybe)
5048 (org-hide-block-toggle): New functions.
5049 (org-edit-src-exit): Do not quote lines starting with # and no +
5051 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
5054 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5056 * org.el (org-buffer-property-keys): Add Effort property for
5059 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5061 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
5062 when retrieving total clocked time in the subtree.
5064 * org.el (org-quoting-blocks): New variable.
5066 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5068 * org-table.el (org-table-store-formulas)
5069 (org-table-get-stored-formulas, org-table-fix-formulas)
5070 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
5071 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
5073 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
5074 indented #+TBLFM line.
5076 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
5077 indented #+TBLFM line.
5079 * org-colview.el (org-dblock-write:columnview): Allow indented
5082 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
5083 indented #+TBLFM line.
5085 * org-clock.el (org-dblock-write:clocktable): Allow indented
5088 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5090 * org-exp.el (org-export-format-source-code-or-example): Make
5091 editing indented blocks work correctly.
5093 * org.el (org-edit-src-nindent): New variable.
5094 (org-edit-src-code, org-edit-fixed-width-region)
5095 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
5096 editing indented blocks work correctly.
5098 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5100 * org-exp.el (org-export-replace-src-segments-and-examples): Find
5102 (org-export-format-source-code-or-example): Fix indentation of
5104 (org-export-remove-indentation): New function.
5105 (org-export-select-backend-specific-text): Allow backend-specific
5106 code to be indented.
5107 (org-export-mark-blockquote-verse-center): Allow markers to be
5110 * org.el (org-fontify-meta-lines): New function.
5111 (org-set-font-lock-defaults): Call the new fontification
5114 * org-faces.el (org-meta-line): New face.
5115 (org-block): New face.
5117 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5119 * org.el (org-treat-insert-todo-heading-as-state-change)
5120 (org-treat-S-cursor-todo-selection-as-state-change): New
5122 (org-insert-todo-heading): Honor
5123 `org-treat-insert-todo-heading-as-state-change'.
5124 (org-shiftright, org-shiftleft): Honor
5125 `org-treat-S-cursor-todo-selection-as-state-change'.
5126 (org-inhibit-logging): New variable.
5128 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5130 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
5131 range for marker position checking.
5133 * org-latex.el (org-export-latex-first-lines): Fix bug when
5136 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5138 * org-exp.el (org-export-push-to-kill-ring): Protect using
5139 x-set-selection, because that does not always work.
5141 * org-agenda.el (org-agenda-list): Apply the new face
5142 `org-agenda-date-today'.
5144 * org-faces.el (org-agenda-date-today): New face.
5146 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5148 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
5149 creating appointments.
5151 * org-latex.el (org-export-latex-low-levels): Fix customization
5154 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
5157 * org-agenda.el (org-agenda-priority): Disable priority commands.
5159 * org.el (org-enable-priority-commands): New option.
5161 * org-colview-xemacs.el (org-columns-compute)
5162 (org-columns-number-to-string): Fix problems with empty fields.
5164 * org-colview.el (org-columns-compute)
5165 (org-columns-number-to-string): Fix problems with empty fields.
5167 * org-exp.el (org-export-push-to-kill-ring): New function.
5168 (org-export-copy-to-kill-ring): New option.
5170 * org-latex.el (org-export-as-latex): Call
5171 `org-export-push-to-kill-ring'.
5173 * org-exp.el (org-export-show-temporary-export-buffer): New
5176 * org-latex.el (org-export-as-latex): Use
5177 `org-export-show-temporary-export-buffer'.
5179 * org-exp.el (org-export-show-temporary-export-buffer): New
5181 (org-export-push-to-kill-ring): New function.
5183 * org-colview.el (org-columns-compile-map): New variable.
5184 (org-columns-new, org-columns-compute)
5185 (org-columns-number-to-string, org-columns-uncompile-format)
5186 (org-columns-compile-format): Implement new operators.
5188 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5190 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
5192 * org-list.el (org-update-checkbox-count): Make property
5195 * org.el (org-hierarchical-todo-statistics): New option.
5196 (org-update-parent-todo-statistics): Modify to handle recursive
5199 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5201 * org-publish.el (org-publish): Make this function behave
5202 correctly in interactive use when called with a prefix argument.
5204 * org.el (org-todo-statistics-hook): New hook.
5205 (org-update-parent-todo-statistics): Use new hook.
5206 (org-log-into-drawer): New function.
5207 (org-add-log-setup): Use the new `org-log-into-drawer' function to
5208 determine if we should be logging into a drawer.
5209 (org-log-into-drawer): Update docstring.
5210 (org-default-properties): Add LOG_INTO_DRAWER as a property.
5212 * org-list.el (org-checkbox-statistics-hook): New hook.
5213 (org-update-checkbox-count-maybe): Use new hook.
5215 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5217 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
5218 better bufer-generating mechanism.
5219 (org-edit-src-find-buffer): New function.
5221 * org-icalendar.el (org-print-icalendar-entries): Don't check for
5222 archive tag, this is already done by `org-agenda-skip'.
5223 data while constructing lost of tags.
5225 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5227 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
5228 as argument separator in macros.
5230 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5232 * org.el (org-after-sorting-entries-or-items-hook): New hook.
5233 (org-sort-entries-or-items): Run the new hook.
5234 (org-after-refile-insert-hook): New hook.
5235 (org-refile): Run `org-after-refile-insert-hook'.
5237 * org-agenda.el (org-agenda-get-progress): Never take time of day
5238 from headline when displaying progress.
5240 * org-latex.el (org-export-latex-complex-heading-re): New variable.
5241 (org-export-as-latex): Force the correct regexp in the
5242 preprocessor buffer.
5243 (org-export-latex-set-initial-vars): Set
5244 `org-export-latex-complex-heading-re'.
5246 * org-agenda.el (org-agenda-start-with-log-mode): New option.
5247 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
5249 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5251 * org-latex.el (org-export-latex-tables-centered): New option.
5252 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
5254 * org-exp.el (org-export-as-org): New command.
5255 (org-export-as-org): New command.
5257 * org-publish.el (org-publish-org-to-org): New function.
5259 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5261 * org.el (org-yank): Just call `org-yank-generic'.
5262 (org-yank-generic): New function, containing the formaer
5263 functionality of `org-yank'.
5265 * org-latex.el (org-export-latex-not-done-keywords)
5266 (org-export-latex-done-keywords): New variables.
5267 (org-export-latex-todo-keyword-markup): New option.
5268 (org-export-latex-set-initial-vars): Remember the TODO keywords.
5269 (org-export-latex-keywords-maybe): Apply the TODO markup.
5271 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5273 * org-exp.el (org-infile-export-plist): Add more default macros.
5274 (org-export-preprocess-apply-macros): Process macro arguments.
5276 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5278 * org-icalendar.el (org-icalendar-include-todo): New allowed value
5280 (org-print-icalendar-entries): Respect the new value of
5281 `org-icalendar-include-todo'.
5283 * org.el (org-link-try-special-completion)
5284 (org-file-complete-link): New functions.
5285 (org-insert-link): Add special completion support for some link
5288 * org-bbdb.el (org-bbdb-complete-link): New function.
5290 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5292 * org-list.el (org-update-checkbox-count): Allow recursive
5294 (org-hierarchical-checkbox-statistics): New option.
5296 * org.el (org-cycle): Remove erraneous space character.
5298 * org-icalendar.el (org-icalendar-timezone): Initialize from
5301 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5303 * org.el (org-autoload): Fix autoloading of ascii export
5305 (org-modules): Add org-special-blocks.
5307 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5309 * org-icalendar.el (org-start-icalendar-file): Use the new option.
5310 (org-ical-timezone): New option.
5312 * org-exp.el (org-export-get-coderef-format): Use the description
5315 * org.el (org-sort-entries-or-items): Improve docstring, and make
5316 better implementation for time sorting.
5318 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5320 * org.el (org-edit-src-persistent-message): New option.
5321 (org-edit-src-code, org-edit-fixed-width-region): Use the new
5324 * org-clock.el (org-clock-insert-selection-line): Fix prefious
5327 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
5328 separate buffer instead of indirect buffer to edit source code.
5329 (org-edit-src-exit): Make this function work with the new setup.
5331 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
5332 are properly fontified before shown in the selection menu.
5334 * org.el (org-fontify-like-in-org-mode): New function.
5336 * org-latex.el (org-export-latex-links): Use the property list to
5337 retrieve the default image attributes.
5339 * org-exp.el (org-export-plist-vars): Add a new option.
5341 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5343 * org-exp.el (org-export, org-export-visible): Support ASCII
5345 (org-export-normalize-links): Do not protect the description if it
5346 is explicitly given.
5348 * org-list.el (org-reset-checkbox-state-subtree): Move here from
5350 (org-reset-checkbox-state-subtree): Call
5351 `org-reset-checkbox-state-subtree'.
5353 * org-remember.el (org-select-remember-template): For the
5354 selection of a valid template.
5356 * org-latex.el (org-export-region-as-latex): Supply the
5357 force-no-subtree argument.
5358 (org-export-as-latex): Provide better limits when exporting the
5359 first line. When exporting to string, we still want the first
5361 (org-export-latex-first-lines): New argument END, to force the end
5363 (org-export-region-as-latex): Use the property list.
5364 (org-export-as-latex):
5366 * org-colview-xemacs.el (org-columns-remove-overlays)
5367 (org-columns): Fix call to `local-variable-p'.
5369 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5371 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
5372 (org-export-latex-preprocess): Run the new hook.
5374 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
5375 (org-export-preprocess-string): Run the new hook.
5377 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5379 * org-macs.el (org-check-external-command): New defsubst.
5381 * org.el (org-mode-map): New key for reload.
5382 (org-format-latex): Better error message when external programs
5385 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
5387 * org.el (org-sort-entries-or-items): Explicit sorting function
5388 for priorities, needed for XEmacs compatibility.
5390 * org-remember.el (org-remember-apply-template): Improve auto-save
5393 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5395 * org-latex.el (org-export-latex-preprocess): Also protect
5396 environments ending in a star.
5398 * org-list.el (org-at-item-p): Fix regular expression.
5400 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5402 * org.el (org-end-of-subtree): Improve speed.
5404 * org-agenda.el (org-agenda-get-timestamps)
5405 (org-agenda-get-progress, org-agenda-get-deadlines)
5406 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
5407 in particular, wait as long as possible to collect the tags.
5408 (org-stuck-projects): Improve docstring.
5410 * org.el (org-store-link): No errors when getting custom id before
5412 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
5414 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5416 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
5418 * org-protocol.el: Remove dependency on url.el.
5419 (org-protocol-unhex-compound, org-protocol-open-source): Remove
5420 dependency on url.el.
5422 * org-latex.el (org-export-as-pdf): Use
5423 `org-latex-to-pdf-process'.
5425 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5427 * org-latex.el (org-latex-to-pdf-process): New option.
5429 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
5431 (org-agenda-get-timestamps): Honor
5432 `org-agenda-skip-additional-timestamps-same-entry'.
5434 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
5435 (org-clock-goto): Find recent task only if
5436 `org-clock-goto-may-find-recent-task' allows it.
5438 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
5439 drawers, and drawers that are missing the :END: line.
5441 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5443 * org-clock.el (org-clock-goto): Go to recently clocked task if no
5446 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5448 * org.el (org-update-parent-todo-statistics): Check for
5449 STATISTICS_FROM property.
5451 * org-list.el (org-update-checkbox-count): Check for
5452 STATISTICS_FROM property.
5454 * org.el (org-tab-first-hook)
5455 (org-tab-after-check-for-table-hook)
5456 (org-tab-after-check-for-cycling-hook): New hooks.
5457 (org-cycle-internal-global, org-cycle-internal-local): New
5458 functions, split out from `org-cycle'.
5459 (org-cycle): Call the new hooks.
5461 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5463 * org-exp.el (org-export-preprocess-string): Reset the list of
5464 preferred targets for each run of the preprocessor.
5466 * org.el (org-refile-target-verify-function): Improve
5468 (org-get-refile-targets): Respect point being moved by the
5469 verification function.
5471 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
5473 (org-export-latex-keywords): Use new option.
5475 * org.el (org-rear-nonsticky-at): New defsubst.
5476 (org-activate-plain-links, org-activate-angle-links)
5477 (org-activate-footnote-links, org-activate-bracket-links)
5478 (org-activate-dates, org-activate-target-links)
5479 (org-activate-tags): Place the rear-nonsticky properties at the
5482 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5484 * org-protocol.el (server-edit): Declare `server-edit'.
5485 (org-protocol-unhex-string, org-protocol-unhex-compound): New
5487 (org-protocol-check-filename-for-protocol): Call `server-edit'.
5489 * org.el (org-default-properties): New default properteis for
5492 * org-exp.el (org-export-add-subtree-options): Add new properties
5495 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5497 * org-id.el (org-id-get-with-outline-path-completion): Turn off
5498 org-refile-target-verify-function for the duration of the command.
5500 * org.el (org-link-to-org-use-id): New possible value
5501 `create-if-interactive-and-no-custom-id'.
5502 (org-store-link): Use custom IDs.
5503 (org-link-search): Find custom ID properties from #link.
5504 (org-default-properties): Add CUSTOM_ID for property completion.
5505 (org-refile-target-verify-function): New option.
5506 (org-goto): Turn off org-refile-target-verify-function
5507 for the duration of the command.
5509 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5511 * org-exp.el (org-export-preferred-target-alist): New variable.
5512 (org-export-define-heading-targets): Find the new CUSTOM_ID
5514 (org-export-target-internal-links): Target the custom ids when
5517 * org-latex.el (org-export-latex-preprocess): Better regexp for
5518 matching latex macros with arguments.
5520 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5522 * org-remember.el (org-remember-handler): Allow filing to non-org
5525 2009-08-06 Magnus Henoch <magnus.henoch@gmail.com>
5527 * org-table.el (org-table-fix-formulas): Do not change references
5529 (org-table-get-remote-range): Convert standard coordinates to RC
5532 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
5534 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5536 * org-compat.el (org-sha1-string): Function removed.
5538 * org.el (org-refile-allow-creating-parent-nodes): New option.
5539 (org-refile-get-location): New argument NEW-NODES.
5540 (org-refile): Call `org-refile-get-location' with the new
5542 (org-refile-get-location): Arrange for adding a new child.
5543 (org-refile-new-child): New function.
5545 * org-clock.el: Fix a number of docstrings.
5546 (org-clock-find-position): New argument
5547 FIND-UNCLOSED to make the function find an unclosed clock in the
5549 (org-clock-in): Call `org-clock-find-position' with the new
5550 argument if we might be resuming a clock.
5552 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5554 * org-latex.el (org-export-latex-display-custom-times): New variable.
5555 (org-export-latex-timestamp-markup): New option.
5556 (org-export-latex-set-initial-vars): Remember the local value of
5557 `org-display-custom-times'.
5558 (org-export-latex-content): Process time stamps.
5559 (org-export-latex-time-stamps): New function.
5561 * org-macs.el (org-maybe-intangible): Add intangible property
5562 again to invisible text.
5564 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5566 * org-exp.el (org-default-export-plist): Handle undefined
5569 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5571 * org.el (org-sort-entries-or-items): Match TODO keywrds
5572 case-sensitively, when sorting.
5573 (org-priority): Do not match TODO keywords with wrong case.
5575 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5577 * org.el (org-todo): Honor the NOBLOCKING property.
5579 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
5580 NOBLOCKING property.
5582 * org.el (org-scan-tags): Fix bug in tag scanner.
5584 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5586 * org.el (org-modules): Mark obsolete packages.
5588 * org-html.el: New file, split out from org-exp.el.
5590 * org-icalendar.el: New file, split out from org-exp.el.
5592 * org-xoxo.el: New file, split out from org-exp.el.
5594 * org-ascii.el: New file, split out from org-exp.el.
5596 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5598 * org-compat.el (org-find-library-name): New function.
5600 * org.el (org-pre-cycle-hook): New hook.
5601 (org-cycle): Call the new hook in appropriate places.
5602 (org-reload): Only reload files that have been loaded before.
5604 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5606 * org.el (org-set-font-lock-defaults): Enforxe space or line end
5608 (org-todo): When changing TODO state, do matching
5610 (org-map-continue-from): New variable.
5611 (org-scan-tags): Respect values in `org-map-continue-from'.
5612 (org-reload): Make XEmacs compatible.
5614 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5616 * org-protocol.el (org-protocol-flatten-greedy): New function.
5617 (org-protocol-flatten): New function.
5619 * org.el (org-open-link-from-string): Pass reference buffer to
5620 `org-open-at-point'.
5621 (org-open-at-point): New optional argument `reference-buffer'.
5623 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5625 * org.el (org-scan-tags): Make tag scan find headline in first
5627 (org-get-refile-targets): Add the naked file name.
5628 (org-refile): Store as top-level entry when only file name was
5631 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
5633 * org.el (org-block-todo-from-children-or-siblings-or-parent):
5634 Rename from org-block-todo-from-children-or-siblings, and
5635 enhanced to look for the parent's status as well.
5637 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
5638 (org-agenda-get-progress): Add first notes line to log entry if so
5641 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5643 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
5644 (org-agenda-cleanup-fancy-diary): Call the new hook.
5646 * org-remember.el (org-remember-apply-template): Take the default
5647 for the annotation from the :annotation property.
5649 * org-mac-message.el (org-mac-message-get-link): Remove the
5651 (org-mac-message-get-link): Return the result.
5653 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5655 * org.el (org-refile-get-location): Add file name only if not
5656 already included in outline path.
5658 * org-faces.el (org-n-level-faces): Fix customization type from
5661 * org-exp.el (org-export-headline-levels): Fix customization type
5662 from number to integer.
5664 * org-agenda.el (org-agenda-confirm-kill)
5665 (org-agenda-custom-commands-local-options)
5666 (org-timeline-show-empty-dates, org-agenda-ndays)
5667 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
5668 customization type from number to integer.
5670 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5672 * org-protocol.el: Declare some functions.
5674 * org-agenda.el (org-agenda-compare-effort): Honor
5675 `org-sort-agenda-noeffort-is-high'.
5676 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
5677 (org-agenda-compare-effort): Implement the "?" operator for
5678 finding entries without effort setting.
5680 * org.el (org-extract-attributes-from-string): New function.
5682 * org-exp.el (org-export-splice-attributes): New function.
5684 2009-08-06 Bastien Guerry <bzg@altern.org>
5685 Daniel M German <dmg@uvic.org>
5686 Sebastian Rose <sebastian_rose@gmx.de>
5687 Ross Patterson <me@rpatterson.net>
5689 * org-protocol.el: New file.
5691 2009-08-06 Baoqiu Cui <cbaoqiu@yahoo.com>
5693 * org-docbook.el: New file.
5695 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5697 * org-mouse.el: XEmacs compatibility fixes.
5699 * org.el (org-modules): Add org-inlinetasks.el.
5700 (org-cycle): Implement limiting level on cycling.
5701 (org-move-subtree-down): Fix bug with swapping subtrees at end of
5704 * org-inlinetask.el: New file.
5706 * org.el (org-emphasis-regexp-components): Allow braces in
5707 emphasis pre and post match.
5709 * org-footnote.el (org-footnote-normalize): When only sorting, do
5710 not insert inline notes at the end.
5712 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
5714 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5716 * org.el (org-reftex-citation): New command.
5718 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5720 * org-agenda.el (org-agenda-cmp-user-defined): New option.
5721 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
5723 (org-entries-lessp): Apply the new sorting option.
5725 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
5726 blocker code, when an older sibling has children.
5728 * org-mac-message.el (org-mac-message-get-link): Improve getting
5729 links from multiple selected messages.
5731 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5733 * org-remember.el (org-remember-finalize): Do not set buffer file
5735 (org-remember-handler): Mark buffer as unmodified.
5736 (org-remember-handler): Delete backup file and show message about
5737 remaining backup files.
5738 (org-remember-auto-remove-backup-files): New option.
5740 * org.el (org-store-link): Use buffer name as link description in
5742 (org-ido-switchb): Fix argument bug for completion.
5744 * org-remember.el (org-remember-apply-template): Set local
5745 variable `auto-save-visited-file-name' instead of global one.
5747 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5749 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
5750 (org-agenda-get-todos): Mark file tags as inherited.
5751 (org-agenda-list): Always search diary lines for a time.
5753 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5755 * org-feed.el: New file.
5757 * org-exp.el (org-export-as-html): Close local lists depending on
5758 indentation, also when starting a table.
5760 * org-remember.el (org-remember-backup-directory)
5761 (org-remember-backup-name): New internal variable.
5763 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5765 * org-clock.el (org-clock-out-if-current): Make buffer detection
5766 work in indirect buffers as well.
5768 * org.el (org-emphasis-regexp-components): Add the exxclamation
5769 mark to the post-emphasis characters.
5771 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5773 * org.el (org-read-date-minibiffer-septup-hook): New hook.
5774 (org-read-date): Run the new hook.
5776 * org-mac-message.el (org-mac-flagged-mail): New group.
5777 (org-mac-mail-account): New variable.
5778 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
5781 * org-remember.el (org-remember-backup-directory): New variable.
5782 (org-remember-apply-template): Write file to backup directory.
5784 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5786 * org-mouse.el (org-mouse-todo-menu): New function.
5787 (org-mouse-todo-keywords): Function removed.
5788 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
5790 * org-table.el (org-table-beginning-of-field)
5791 (org-table-end-of-field): New commands.
5792 (org-table-previous-field, org-table-beginning-of-field): Better
5794 (orgtbl-setup): Include `M-a' and `M-e'.
5796 * org.el (org-backward-sentence, org-forward-sentence): New
5799 * org-colview.el (org-colview-initial-truncate-line-value): New
5801 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
5802 (org-columns): Remember the value of `truncate-lines'.
5804 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
5806 (org-columns-remove-overlays): Restore the value of
5808 (org-columns): Remember the value of `truncate-lines'.
5810 * org.el (org-columns-skip-arrchived-trees): New option.
5812 * org-agenda.el (org-agenda-export-html-style): Define color for
5813 org-agenda-done face.
5814 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
5815 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
5817 * org.el (org-scan-tags): Use the new face.
5819 * org-faces.el (org-agenda-done): New face.
5821 * org.el (org-scan-tags): Test the value org
5822 `org-tags-match-list-sublevels'.
5823 (org-tags-match-list-sublevels): New allowed value: indented.
5825 * org-latex.el (org-export-latex-make-header): Apply macros
5828 * org-exp.el (org-export-apply-macros-in-string): New function.
5830 * org-latex.el (org-export-latex-list-parameters): Fix bug
5831 with the definition of a checked box.
5833 * org-clock.el (org-clock-find-position): Fix drawer indentations.
5835 * org-latex.el (org-export-latex-low-levels): More options
5836 for how to process lower levels in LaTeX.
5837 (org-export-latex-subcontent): Better treatment for lists as a
5838 means of publishing lower levels.
5840 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5842 * org.el (org-set-font-lock-defaults): Use new checkbox face.
5844 * org-faces.el (org-checkbox): New face.
5846 * org-exp.el (org-export-html-preprocess): Only create LaTeX
5847 fragement images if there is an export file.
5849 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5851 * org-agenda.el (org-stuck-projects): Document that the subtree of
5852 projects that are not stuck will now be searched for stuck
5854 (org-agenda-skip-entry-when-regexp-matches)
5855 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
5856 (org-agenda-list-stuck-projects): Use
5857 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
5859 * org-latex.el (org-export-latex-preprocess): Improve
5862 * org-exp.el (org-export-as-html): Implement centering as a div
5863 rather than a paragraph. Do a better job with line-end in verse
5866 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5868 * org.el (org-open-at-point): Fix tags searches by mouse click.
5870 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5872 * org-latex.el (org-export-latex-preprocess): Implement the
5875 * org-exp.el (org-export-mark-blockquote-verse-center): Rename
5876 from `org-export-mark-blockquote-and-verse'.
5877 (org-export-as-html): Implement the centering markup.
5879 * org-latex.el (org-export-latex-tables): Fix vertical
5882 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5884 * org.el (org-read-date-history): New variable.
5885 (org-read-date): Use new history variable.
5886 (org-toggle-heading): Fix bug when used before first headline.
5887 (org-store-log-note): Remove drawer if empty while note is
5889 (org-remove-empty-drawer-at): New function.
5890 (org-check-after-date): New command.
5891 (org-sparse-tree): New sparse tree command "a".
5893 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
5895 2009-08-06 Bastien Guerry <bzg@altern.org>
5897 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
5898 column and a space, not only a column.
5900 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5902 * org-latex.el (org-export-latex-emphasis-alist): Better
5903 defaults for verbose emphasis.
5904 (org-export-latex-emph-format): New function.
5905 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
5907 * org-agenda.el (org-agenda-menu): Add new commands to menu.
5908 (org-agenda-do-date-later, org-agenda-do-date-earlier)
5909 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
5910 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
5913 * org.el (org-timestamp-change): Move end-time along with start
5916 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5918 * org-exp.el (org-export-target-internal-links)
5919 (org-export-as-html): Protect links specified as #name.
5921 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5923 * org.el (org-clone-subtree-with-time-shift): New command.
5925 * org-latex.el (org-export-latex-special-chars)
5926 (org-export-latex-treat-sub-super-char): Fix subscript export.
5928 * org-exp.el (org-create-multibrace-regexp): Do not add
5929 backslashes to the class.
5931 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5933 * org-colview.el (org-columns-map): Better functions for moving up
5934 and down a row, even if `truncate-line' is nil.
5936 * org.el (org-insert-todo-heading): Make sure the keyword is
5937 inserted at the correct position.
5939 * org-publish.el (org-publish-project-alist)
5940 (org-publish-projects, org-publish-org-index): Change default anme
5941 for the index of file names to "sitemap.org".
5943 * org-latex.el (org-export-latex-tables): Use
5944 `org-split-string', for Emacs 21 compatibility.
5946 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5948 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
5950 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5952 * org-exp.el (org-export-page-description)
5953 (org-export-page-keywords): New variables.
5954 (org-export-plist-vars): Add entries for :keywords and
5956 (org-infile-export-plist): Parse for new keywords.
5957 (org-get-current-options): Add new keywords.
5958 (org-export-as-html): Publish description and keywords.
5960 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
5962 (org-agenda-add-entry-text): Honor
5963 `org-agenda-add-entry-text-descriptive-links'.
5965 * org-latex.el (org-export-latex-preprocess): Make all
5966 external preprocess functions use a PARAMETER arg.
5968 * org-exp.el (org-export-preprocess-string)
5969 (org-export-select-backend-specific-text)
5970 (org-export-format-source-code-or-example)
5971 (org-format-org-table-html): Support docbook export.
5972 (org-export-preprocess-string): Make all external preprocess
5973 functions use a PARAMETER arg.
5975 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5977 * org-exp.el (org-export-html-style-include-scripts): New option.
5978 (org-export-plist-vars): Add new option
5979 `org-export-html-style-include-scripts'.
5980 (org-export-as-html): Honor new option
5981 `org-export-html-style-include-scripts'.
5982 (org-export-html-scripts, org-export-html-style-default): Fix
5983 xml issues with the Safari browser.
5985 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5987 * org-publish.el (org-publish-attachment): Only copy file when the
5990 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5992 * org-clock.el (org-clocktable-steps): Use inactive time stamps
5993 for clocktable steps.
5995 * org.el (org-additional-option-like-keywords): Add two more
5998 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6000 * org-exp.el (org-export-format-source-code-or-example): Mark
6001 temporary buffer unmodified, so that it will be killed even if
6002 mode like message mode has decided to assign a file name.
6004 * org.el (org-scan-tags): Improve tag inheritance.
6005 (org-scan-tags, org-make-tags-matcher): Make tag comparison
6007 (org-scan-tags): Use the internal tags list instead of creating it
6009 (org-trust-scanner-tags, org-scanner-tags): New variables.
6010 (org-scan-tags): Set `org-scanner-tags'.
6011 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
6012 (org-map-entries): Document the possible speedup using scanner
6015 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6017 * org.el (org-add-planning-info): Fix bug with looking for keyword
6020 * org-agenda.el (org-agenda-custom-commands-local-options): Add
6021 option for tags filter preset.
6022 (org-prepare-agenda): Store filter preset as a property on the
6024 (org-finalize-agenda): Call the filter, if there is a preset.
6025 (org-agenda-filter-by-tag): Filter again after clearing the
6026 filter, when there still is a preset.
6027 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
6028 Include the preset filter.
6029 (org-agenda-redo): Apply the filter again, also the preset filter.
6031 * org-exp.el (org-export-as-html): Use IDs in the correct way.
6033 * org.el (org-uuidgen-p): New funtion.
6035 * org-agenda.el (org-agenda-fontify-priorities): New default value
6037 (org-agenda-fontify-priorities): Rename from
6038 org-fontify-priorities.
6040 * org.el (org-set-font-lock-defaults): Call
6041 `org-font-lock-add-priority-faces'.
6042 (org-font-lock-add-priority-faces): New function.
6044 * org-faces.el (org-set-tag-faces): New option.
6045 (org-priority-faces): New variable.
6047 * org-exp.el (org-export-as-html): Add a "content" div around the
6048 entire content of the body tag.
6049 (org-export-html-get-bibliography): New function.
6050 (org-export-html-validation-link): New variable.
6051 (org-export-as-html): Add validation link to exported page.
6053 * org.el (org-match-sparse-tree): Rename from
6054 `org-tags-sparse-tree'.
6055 (org-tags-sparse-tree): New alias.
6057 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6059 * org.el (org-get-valid-level): Catch the case where the level
6062 * org-clock.el (org-clock-find-position): Better indentation of
6065 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6067 * org-agenda.el (org-agenda-quit): Delete window only when the
6068 frame-setup was not `current-window'.
6070 * org.el (org-tag-persistent-alist): New option.
6071 (org-startup-options): Add keyword `noptag'.
6072 (org-fast-todo-selection): Handle :newline correctly.
6073 (org-set-tags): Handle :newline correctly.
6074 (org-fast-tag-selection): Handle :newline correctly.
6076 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6078 * org-exp.el (org-export-as-ascii): Reverse link buffer before
6080 (org-export-ascii-push-links): Fix bug with pussing links into the
6083 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6085 * org-archive.el (org-archive-subtree): Do not add 1 to level if
6086 pasting at top level.
6088 * org-bbdb.el: Improve documentation.
6090 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6092 * org-list.el (org-insert-item): Only consider insert empty lines
6093 is `org-empty-line-terminates-plain-lists' is not nil.
6095 * org.el (org-blank-before-new-entry): Mention the dependence on
6096 `org-empty-line-terminates-plain-lists' in the docstring.
6098 * org-publish.el (org-publish-get-project-from-filename): New
6099 optional argument UP. Only find the top project if UP is set.
6100 (org-publish-current-project): Find the top encloding project.
6102 * org-agenda.el (org-agenda-before-write-hook)
6103 (org-agenda-add-entry-text-maxlines): New options.
6104 (org-write-agenda): Run the new hook in the temporary buffer.
6105 (org-agenda-add-entry-text): New function.
6106 (org-write-agenda): Implement PDF export, using ps2pdf.
6108 * org.el (org-global-properties-fixed, org-global-properties):
6109 Improve documentation string.
6111 * org-exp.el (org-export-ascii-links-to-notes): New option.
6112 (org-export-as-ascii): Handle links better.
6113 (org-export-ascii-wrap, org-export-ascii-push-links): New
6116 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6118 * org-agenda.el (org-agenda): Make prefix arg optional.
6119 (org-agenda-search-headline-for-time): New option.
6120 (org-format-agenda-item): Honor
6121 `org-agenda-search-headline-for-time'.
6123 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
6126 * org.el (org-self-insert-cluster-for-undo): New option.
6127 (org-self-insert-command): Cluster undo for 20 characters.
6128 (org-self-insert-command-undo-counter): New variable.
6130 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6132 * org-exp.el (org-export-as-html): Fix problem with closing colone
6135 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6137 * org-latex.el (org-export-as-latex)
6138 (org-export-latex-first-lines): Avoid modification flag when
6139 adding or removing text properties.
6140 (org-export-latex-fontify): Catch error when org-emph-alist has
6141 entries that are not defined for LaTeX export.
6143 * org-export-latex.el: Rename to org-latex.el.
6145 * org-latex.el: Rename from org-export-latex.el.
6147 * org.el (orgstruct++-mode): New function.
6148 (turn-on-orgstruct++): Call `orgstruct++-mode'.
6149 (org-context-p): Allow detecting item context after the first line
6151 (orgstruct-make-binding): Detect if item-body context should be
6153 (orgstruct-is-++): New variable.
6154 (org-add-planning-info): Catch the case when there is no planning
6155 info yet and the call does not want to add anything, only maybe
6156 tries to remove something.
6157 (org-special-ctrl-a/e): All value to be a cons cell with separate
6158 settings for `C-a' and `C-e'.
6159 (org-beginning-of-line, org-end-of-line): Honor separate values
6160 for `C-a' and `C-e'.
6162 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6164 * org.el (org-reload): New command.
6166 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
6168 * org-gnus.el (org-gnus-store-link): Fix bug where
6169 org-gnus-store-link used wrong subject when called in an article
6170 buffer. Patch provided by fengli AT gmail DOT com.
6172 2009-03-13 D. Goel <deego3@gmail.com>
6174 * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
6175 replace ls by (values-list ls).
6177 2009-02-20 Carsten Dominik <dominik@science.uva.nl>
6179 * org-remember.el (org-remember-apply-template): Turn off ido for
6182 * org.el (org-priority): Also find invisible headings, for remote
6184 (org-completing-read-no-ido): New function.
6185 (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
6187 * org-colview.el (org-columns-edit-value): No special treatment of
6190 2009-02-19 Carsten Dominik <dominik@science.uva.nl>
6192 * org.el (org-block-todo-from-children-or-siblings): Use
6193 `org-up-heading-all' so that this will work correctly with hidden
6194 property drawers and entries.
6195 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
6196 falling back to normal, default command.
6197 (org-get-location): Temporarily turn off special behavior.
6199 2009-02-13 Glenn Morris <rgm@gnu.org>
6201 * org-rmail.el (rmail-show-message): Restore argument list to the
6202 declaration now that this functions behaves in Emacs 23 as in 22.
6204 2009-02-12 Glenn Morris <rgm@gnu.org>
6206 * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
6208 2009-02-12 Joachim Reiter <Reiter.Joachim@web.de> (tiny change)
6210 * org-footnote.el (org-footnote-action): Fix doc typo.
6212 2009-02-06 Carsten Dominik <dominik@science.uva.nl>
6214 * org-exp.el (org-export-preprocess-string): Fix bug with skipping
6215 text before first headline.
6216 (org-export-remove-or-extract-drawers): Fix regular expression for
6219 * org.el (org-format-latex): Stop LaTeX fragment processing in
6222 2009-02-05 Glenn Morris <rgm@gnu.org>
6224 * org-rmail.el (rmail-show-message): Update declaration.
6225 (rmail-buffer, rmail-view-buffer): Declare.
6226 (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
6228 2009-02-04 Carsten Dominik <dominik@science.uva.nl>
6230 * org.el (org-return-follows-link): Revert setting
6231 `org-return-follows-link' to t by default.
6233 2009-02-02 Carsten Dominik <dominik@science.uva.nl>
6235 * org.el (org-cycle-global-at-bob): Fix typo.
6237 * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
6239 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
6241 * org.el (org-mode): Make dependence stuff work more reliably.
6242 (org-update-parent-todo-statistics): Fix bug with updating
6244 (org-yank-adjusted-subtrees, org-return-follows-link)
6245 (org-use-fast-todo-selection, org-tags-column): New default
6246 setting for variables.
6248 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
6249 ~ as verbatim delimiters, to avoid table bug.
6250 (org-export-latex-classes): Remove the a4paper option from the
6253 * org-exp.el (org-export-html-format-image): New argument
6254 PAR-OPEN, to fix XHTM validation bug.
6255 (org-export-as-html): Pass par-open to
6256 `org-export-html-format-image'.
6257 (org-export-html-footnotes-section): Use a more consistent id for
6260 * org-agenda.el (org-agenda-sorting-strategy)
6261 (org-agenda-tags-column): New default setting for variables, based
6262 on a poll what typical uses use.
6263 (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
6264 setting the blocked tag.
6266 2009-01-31 Carsten Dominik <dominik@science.uva.nl>
6268 * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
6269 only checking for blocks.
6271 * org-exp.el (org-export-html-footnotes-section): Make the div id
6274 * org-export-latex.el (org-export-latex-classes): Remove
6275 paper size option from LaTeX classes.
6277 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
6279 * org.el (org-enforce-todo-checkbox-dependencies): New option.
6280 (org-block-todo-from-checkboxes): New function.
6281 (org-todo): Make tripple prefix arg circumvent blocking.
6283 2009-01-30 Glenn Morris <rgm@gnu.org>
6285 * org-list.el (org-empty-line-terminates-plain-lists)
6286 (org-toggle-checkbox): Doc fixes.
6288 * org-table.el (org-table-clean-before-export): Fix declaration.
6290 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
6292 * org-timer.el (org-timer): Provide the timer feature.
6294 * org.el (org-require-autoloaded-modules): Add a few more files to
6295 the list of autoloaded modules.
6297 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
6299 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
6300 drawers that are unprotected.
6301 (org-export-html-format-image): Make sure inlined LaTeX fragment
6302 images remain inlined.
6304 * org.el (org-toggle-ordered-property): New function.
6305 (org-mode-map): Add a key for `org-toggle-ordered-property'.
6306 (org-org-menu): Add menu entries for TODO dependencies.
6308 * org.el (org-default-properties): Add ORDERED to the default
6309 properties, to get completion support for it.
6311 * org-list.el (org-update-checkbox-count): Update more than one cookie.
6313 * org.el (org-update-parent-todo-statistics): Update more than one
6316 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
6318 * org-agenda.el (org-agenda-get-todos): Start search from correct
6321 * org.el (org-fast-todo-selection): Make sure TODO selection does
6322 not change buffer position.
6324 * org-list.el (org-toggle-checkbox): Implement adding or removing
6325 checkboxes from line or region when called with a prefix
6328 * org-rmail.el (org-rmail-store-link): Protect the call to
6329 `rmail-narrow-to-non-pruned-header'.
6331 * org-clock.el (org-clock-special-range): Fix week display in
6334 * org-exp.el (org-get-current-options): Fix bug when in indirect
6337 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
6338 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
6339 (org-agenda-dim-blocked-tasks): New function.
6341 * org.el (org-enforce-todo-dependencies): New option.
6342 (org-block-todo-from-children-or-siblings): New function.
6344 * org-faces.el (org-agenda-dimmed-todo-face): New face.
6346 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
6348 * org.el (org-todo): Return correct state type even if the blocker
6350 (org-modifier-cursor-error): Rename from
6351 `org-shiftcursor-error'.
6352 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
6353 (org-shiftmetadown): Call `org-modifier-cursor-error'.
6355 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
6356 to get real errors from the blocker hook.
6358 * org.el (org-shiftselect-error, org-call-for-shift-select): New
6360 (org-set-visibility-according-to-property): Turn off the setting
6361 of `org-show-entry-below', to avoid overruling a FOLDED visibility
6364 * org.el (org-support-shift-select): New option.
6365 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
6366 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
6367 selection outside contexts.
6369 * org-list.el (org-at-item-bullet-p): New function.
6371 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
6374 * org-footnote.el (org-footnote-normalize): Remove unnecessary
6376 (org-insert-footnote-reference-near-definition): Remove
6377 unnecessary let form.
6379 2009-01-26 Carsten Dominik <dominik@science.uva.nl>
6381 * org-export-latex.el (org-export-as-latex): Call
6382 `org-export-latex-first-lines' with OPT-PLIST as a parameter.
6383 (org-export-latex-first-lines): New parameter OPT-PLIST.
6385 * org.el (org-yank): Tell `delete-selection-mode' about
6388 * org-faces.el (org-clock-overlay): Fix face definition.
6390 * org-export-latex.el (org-export-latex-first-lines): Pass
6391 timestamp and footnote parameters to the preprocessor.
6393 * org-exp.el (org-export-remove-timestamps): Do not remove time
6394 stamps inside tables.
6396 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6398 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
6400 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
6403 * org-table.el (org-table-insert-hline): Fix typo in fuction call
6406 * org-exp.el (org-export-as-html): Remove the initial space from
6409 * org.el (org-scan-tags): Call
6410 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
6412 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
6413 customization groups.
6414 (org-agenda-tags-todo-honor-ignore-options): New option.
6415 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
6417 (org-agenda-get-todos): Use
6418 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
6420 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6422 * org-exp.el (org-export-format-source-code-or-example): Escape
6423 HTML characters also in examples that anre not treated with
6424 htmlize. Also, just switch to EXAMPLE processing if we do not
6425 have a good version of htmlize.
6427 * org-rmail.el: Fix copyright notice.
6429 * org.el (org-activate-footnote-links): Improve footnote link
6432 * org-footnote.el (org-footnote-normalize): Fix finding the end of
6433 a footnote definition at the end of the file.
6435 * org-table.el (org-table-get-specials): Add an imagined hline at
6436 the end of the table. This can be useful for references that want
6437 to go to the end of the table. Also fix bug when computing last
6438 row constants, in tables that do not start right at the right
6440 (org-table-eval-formula): Match and replace remove references.
6441 (org-table-formula-substitute-names): Make sure that names inside
6442 a "remote" call are left alone, the will be replaced later when
6443 the remote call is handled.
6444 (org-table-convert-refs-to-rc): Do not convert things that might
6445 look like a reference, but are really part of an ID or namei n a
6447 (org-table-get-remote-range): New function.
6449 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6451 * org-faces.el (org-clock-overlay): Fix bug in face definition.
6453 * org-clock.el (org-clock-put-overlay): Use new face instead of
6454 `secondary-selection'.
6456 * org-faces.el (org-clock-overlay): New face.
6458 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6460 * org-exp.el (org-get-current-options): Include the option for
6461 publishing time stamps.
6463 * org.el (org-toggle-heading): Rename from
6464 `org-toggel-region-headings'.
6465 No longer needs a region defined, but will use it if there is one.
6466 (org-ctrl-c-star): Simplify, relying more on the internal
6467 workings of `org-toggle-heading'.
6468 (org-toggle-item): Rename from `org-toggle-region-items'.
6469 No longer needs a region defined, but will use it if there is one.
6470 (org-ctrl-c-minus): Simplify, relying more on the inernal
6471 workings of `org-toggle-item'.
6473 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
6474 environment detection. Also, do real changes only in unprotected
6477 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6479 * org-export-latex.el (org-export-latex-quotation-marks): Use
6480 `org-if-unprotected-1'.
6481 (org-export-latex-set-initial-vars): Check for class definition in
6484 * org-macs.el (org-if-unprotected-1): New macro.
6486 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6488 * org-compat.el (org-count-lines): New function.
6490 * org-exp.el (org-export-format-source-code-or-example): Handle
6491 switches related to text areas.
6493 * org.el (org-activate-footnote-links): Don't allow match inside a
6496 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
6498 * org-export-latex.el (org-export-latex-links): Keep a relative
6499 path relative also after export.
6501 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
6503 * org.el (org-make-tags-matcher): Never use IDO for completing the
6504 tags matcher match string.
6505 (org-completing-read): Also remove the special biding for "?".
6507 * org-attach.el (org-attach-allow-inheritance): New option.
6508 (org-attach-inherited): New variable.
6509 (org-attach-dir): Handle properties related to the attachment
6511 (org-attach-check-absolute-path): New function.
6512 (org-attach-set-directory, org-attach-set-inherit): New commands.
6513 (org-attach): Accommodate the new commands in the dispatcher.
6515 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6517 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
6518 `window-full-width-p'.
6520 * org-exp.el (org-export-as-html): Only check for images files
6521 that really can be inlined.
6523 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
6524 list of extensions to be a parameter.
6526 * org-exp.el (org-export-html-inline-image-extensions): New
6529 * org-agenda.el (org-prepare-agenda): Use
6530 `org-agenda-block-separator'.
6531 (org-agenda-block-separator): New option.
6533 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6535 * org-export-latex.el (org-export-latex-tables): Call
6536 `org-table-clean-before-export' with the new optional argument.
6538 * org-exp.el (org-table-clean-before-export): New optional
6539 parameter MAYBE-QUOTED, allows for quoted characters like \# in
6542 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6544 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
6547 * org-colview.el (org-colview-construct-allowed-dates): Better
6548 error catching when a date/time property does not have allowed
6551 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
6552 Better error catching when a date/time property does not have
6553 allowed values defined.
6555 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6557 * org.el (org-map-entries): Restore point and restriction after
6560 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6562 * org.el (org-time=, org-time<, org-time<=, org-time>)
6563 (org-time>=, org-time<>): Make sure both values are dates.
6565 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6567 * org-archive.el (org-extract-archive-heading): Allow %s for file
6568 name also in achive location heading.
6570 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6572 * org-archive.el (org-add-archive-files): Uniquify the list before
6575 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6577 * org-compat.el (org-fit-window-to-buffer): Use
6578 `window-full-width-p'.
6580 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
6581 space after the colon in short examples.
6583 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
6584 enforce a space after the colon. However, we also allow lines
6585 that are *only* a colon.
6586 (org-export-as-html): Enforce the space after the colon in short
6588 (org-export-preprocess-string): Do the colon example protection
6590 (org-export-remove-timestamps): Do not check for protection at the
6593 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6595 * org.el (org-format-latex-options): Add new matcher for single
6596 letters between dollars.
6597 (org-get-header): Function removed.
6598 (org-heading-components): New function.
6600 * org-exp.el (org-export-define-heading-targets): Record ID's also
6601 as alternative targets.
6602 (org-export-as-html): Interpret "id:" links to other files by
6603 preserving the relative path.
6605 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
6608 * org-exp.el (org-export-normalize-links): Protect the main link,
6609 to avoid special character processing.
6611 * org-export-latex.el (org-export-latex-special-keyword-regexp):
6613 (org-export-latex-special-string-regexps): Variable removed.
6614 (org-export-latex-keywords): Use the new regexp.
6616 * org-exp.el (org-export-handle-include-files): Fetch switches and
6617 put them into the BEGIN statement.
6619 * org-timer.el (org-timer-mode-line-string): New variable.
6621 * org-clock.el (org-clock-mode-line-map): Rename from
6622 `org-clock-mode-map'.
6623 (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
6624 (org-clock-update-mode-line): Rename from `org-update-mode-line'.
6625 (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
6626 (org-clock-remove-overlays): Rename from
6627 `org-remove-clock-overlays'.
6629 * org-timer.el (org-timer-pause-or-continue): Implement stopping
6630 and mode line display.
6631 (org-timer-stop): New command.
6632 (org-timer-seconds): Return correct time when timer is paused.
6633 (org-timer-mode-line-timer): New variable.
6634 (org-timer-set-mode-line, org-timer-update-mode-line): New
6637 * org.el (org-insert-heading): Handle new value `auto' for
6638 `org-blank-before-new-entry'.
6639 (org-org-menu): Add new items for timer functions.
6641 * org-list.el (org-insert-item): Handle new value `auto' for
6642 `org-blank-before-new-entry'.
6644 * org.el (org-blank-before-new-entry): New value `auto', made
6647 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6649 * org-exp.el (org-export-normalize-links): If the link is also
6650 used as the description, protect the description.
6652 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6654 * org.el (org-closest-date): Fix bug with yearly repeats, in
6655 combination with preference of the past as it is used for deadline
6656 and scheduling search.
6658 * org-exp.el (org-html-handle-time-stamps): No longer check for
6659 the `org-export-with-timestamps' option, because the preprocesser
6660 has taken care of this already.
6662 * org.el (org-entry-properties): Catch the case when this is
6663 called in a non-org-mode file.
6665 * org-export-latex.el (org-export-latex-remove-from-headlines):
6666 Variable made obsolete, also LaTeX export now uses the standard
6668 (org-export-as-latex): Add the timestamps parameter to the
6669 preprocessor parameter list.
6670 (org-export-latex-content): Export the remaining keywords without
6671 considering to remove them.
6672 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
6673 Use bold font instead of tt font for the keywords.
6674 (org-export-latex-fontify-headline): Format headlines, assuming
6675 that all keywords still present should be published.
6676 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
6677 publish what ever remains of the time stamps.
6678 (org-export-latex-list-parameters): New option.
6679 (org-export-latex-lists): Pass additional parameters to the list
6682 * org-exp.el (org-export-preprocess-string): Remove clock lines
6683 and timestamps already in the preprocesor.
6684 (org-export-remove-timestamps, org-export-remove-clock-lines): New
6686 (org-export-as-ascii, org-export-as-html): Add the timestamps
6687 parameter to the preprocessor parameter list.
6689 * org-list.el (org-list-parse-list): Parse for checkboxes.
6690 (org-list-to-generic): Introduce and handle new parameters :cbon
6692 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
6693 optional parameter PARAMS.
6695 * org-export-latex.el (org-export-latex-special-chars): Fix
6696 problems with interpreting dollar signs.
6697 (org-inside-latex-math-p): New function.
6698 (org-export-latex-preprocess): Protect all the math fragments.
6700 * org.el (org-latex-regexps): Allow a dash after a dollar.
6702 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
6705 * org-agenda.el (org-run-agenda-series): Have series options set
6706 when finalizing the agenda.
6708 * org-exp.el (org-export-format-source-code-or-example): Protect
6709 the converted examples.
6711 * org.el (org-set-regexps-and-options): Fix the regexp
6712 `org-complex-heading-regexp'.
6714 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6716 * org.el (org-edit-src-get-label-format): New function.
6717 (org-coderef-label-format): New option.
6718 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
6719 a label format specification and make sure it is used in the edit
6721 (org-edit-src-get-label-format): New function.
6722 (org-store-link): Handle new coderef formats.
6723 (org-link-search): Handle new coderef formats.
6725 * org-footnote.el (org-footnote-create-definition)
6726 (org-footnote-goto-local-insertion-point): Make footnote insertion
6727 work correctly when the "Footnotes" headline is the last line in
6730 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
6733 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6735 * org-w3m.el (org-w3m): New customization group.
6736 (org-w3m-deactivate-mark): New option.
6737 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
6740 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6742 * org.el (org-set-font-lock-defaults): Trigger footnote
6744 (org-activate-footnote-links): New function.
6745 (org-activate-links): New entry `footnote'.
6747 * org-faces.el (org-footnote): New face.
6749 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6751 * org-macs.el (org-re): Handle the [:word:] class.
6753 * org-exp.el (org-export-preprocess-string): Call
6754 `org-export-protect-colon-examples'.
6755 (org-export-protect-colon-examples): Rename from
6756 `org-export-protect-examples', and scope limited to lines starting
6759 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6761 * org-exp.el (org-export-preprocess-string): Move the preprocess
6762 hook to after turning on Org-mode.
6763 (org-export-preprocess-after-include-files-hook)
6764 (org-export-preprocess-after-tree-selection-hook)
6765 (org-export-preprocess-before-backend-specifics-hook)
6766 (org-export-preprocess-final-hook): New hooks.
6767 (org-export-preprocess-string): Run the new hooks.
6769 * org.el (org-ctrl-c-minus): Fix indentation for new items.
6771 * org-footnote.el: New file.
6773 * org.el (org-footnote): Require footnote code.
6774 (org-startup-options): Add new footnote options.
6775 (org-mode-map): New keybindig for footnotes.
6776 (org-ctrl-c-ctrl-c): Add function at footnotes.
6777 (org-org-menu): New menu entries for footnotes.
6779 * org-export-latex.el (org-export-as-latex): Pass footnote
6780 variable to preprocessor.
6781 (org-export-latex-preprocess): Treat multiple references to a
6784 * org-exp.el (org-export-preprocess-string): Call
6785 `org-footnote-normalize'.
6786 (org-export-as-ascii, org-export-as-html): Pass footnote variable
6788 (org-export-as-html): Treat multiple references to a footnote.
6790 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6792 * org-export-latex.el (org-export-latex-links): Handle coderef
6795 * org.el (org-bracket-link-analytic-regexp++): New variable.
6796 (org-make-link-regexps): Initialize
6797 `org-bracket-link-analytic-regexp++'.
6798 (org-store-link): Implement special case in edit-src buffer.
6799 (org-insert-link): No use of ide to insert stored links.
6800 (org-link-search): Implement special case for coderefs.
6802 * org-exp.el (org-export-html-scripts): New constant.
6803 (org-export-html-style-default): Add a new style for highlighted
6805 (org-export-code-refs): New variable.
6806 (org-export-preprocess-string): Initialize `org-export-code-refs'.
6807 Call `org-export-replace-src-segments-and-examples'
6808 No longer call `org-export-protect-examples'.
6809 (org-export-target-internal-links): Take care of coderef targets.
6810 (org-export-last-code-line-counter-value): New variable.
6811 (org-export-replace-src-segments-and-examples): Rename from
6812 `org-export-replace-src-segments', and modified.
6813 (org-export-format-source-code-or-example): Rename from
6814 `org-export-format-source-code'.
6815 (org-export-number-lines): New function.
6816 (org-export-as-ascii, org-export-as-html): Handle coderef links.
6818 2009-01-23 Glenn Morris <rgm@gnu.org>
6820 * org-rmail.el (rmail-narrow-to-non-pruned-header):
6821 Remove declaration of deleted function.
6823 2009-01-16 Glenn Morris <rgm@gnu.org>
6825 * org-mouse.el (org-mouse-show-context-menu): Use
6826 mouse-menu-major-mode-map, if defined, rather than the obsolete
6827 mouse-major-mode-menu.
6829 2008-12-23 Carsten Dominik <dominik@science.uva.nl>
6831 * org-remember.el (org-remember-handler): Safer way to get a new
6832 buffer accessing the target file.
6834 * org.el (org-refile-get-location): Handle case of current buffer
6835 not having a file associated with it.
6837 2008-12-22 Carsten Dominik <dominik@science.uva.nl>
6839 * org-table.el (org-table-get-formula): Only ask to overwrite
6840 field formula if there really is one.
6842 2008-12-21 Carsten Dominik <dominik@science.uva.nl>
6844 * org-export-latex.el (org-export-latex-make-header): Double the
6845 commenting % in the time stamp format.
6846 (org-export-latex-special-chars): Handle case where there is no
6849 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
6851 * org.el (org-get-refile-targets, org-refile-get-location): Use
6852 expanded file name to improve comparison.
6854 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
6856 * org.el (org-scan-tags): Rescan for tags, to get the correct
6857 upcase/downcase stuff. This slows things down for now, but it
6859 (org-mode): Make sure the tag-faces regexp is initialized.
6861 * org-export-latex.el (org-export-latex-links): Fix bug with
6864 * org-table.el (org-table-get-specials): Set
6865 `org-table-current-last-data-line'.
6866 (org-table-current-last-data-line): New variable.
6867 (org-table-insert-column, org-table-delete-column)
6868 (org-table-move-column, org-table-fix-formulas): Call
6869 `org-table-fix-formulas' a second time to fix the $LR references.
6870 (org-table-get-specials): Add the $LR references to the tables.
6871 (org-table-get-formula): Do not offer last-row names as LHS of
6874 * org.el (org-store-link): Capture link description from
6875 `org-id-store-link'.
6877 * org-exp.el (org-export-html-format-image): Add the / to the end
6879 (org-export-format-source-code): Surround example by empty lines,
6880 to make sure it will not be inside a paragraph.
6882 * org.el (org-ido-switchb): New function.
6884 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
6886 * org-agenda.el (org-agenda-show): New prefix argument
6889 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
6892 2008-12-20 Glenn Morris <rgm@gnu.org>
6894 * org.el (org-org-menu): Fix some more menu entries.
6896 2008-12-18 Carsten Dominik <dominik@science.uva.nl>
6898 * org-table.el (org-table-get-specials): Revert introduction of @0
6899 as reference of the last table row, because of conflicts.
6901 * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
6902 argument, get the current tags directly.
6903 (org-agenda-set-tags): Leave getting current tags to
6904 `org-agenda-change-all-lines'.
6906 2008-12-17 Carsten Dominik <dominik@science.uva.nl>
6908 * org.el (org-org-menu): Do not quote the set-tags command.
6910 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
6912 * Fix typos in comments and docstrings throughout Org-mode.
6914 * org.el (org-get-outline-path): Fix bug if level is not given.
6916 * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
6918 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
6920 * org.el (org-refile): Avoid refiling to within the region to be
6923 * org-export-latex.el (org-export-latex-special-chars): Replace
6924 special characters also in tables.
6926 * org-agenda.el (org-agenda-change-all-lines): New argument
6928 (org-agenda-set-tags): Get the new tags and pass them to
6929 `org-format-agenda-item'.
6931 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
6933 * org-export-latex.el (org-export-latex-classes): Add longable as
6934 a default package to all classes.
6935 (org-export-latex-tables): Handle the longtable attribute and the
6938 * org-table.el (orgtbl-to-generic): Handle tables that start with
6941 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
6942 \verb for colde-like snippets.
6943 (org-export-as-latex): Fix issues with region export.
6945 * org.el (org-up-heading-safe): Speed up function by using a
6946 direct regexp search.
6947 (org-olpa): New variable.
6948 (org-get-outline-path): Speed-up path constructions in cases where
6949 this is possible because the entire hierarchy is scanned anyway.
6950 (org-refile-get-location): Don't compare the truenames of files,
6952 (org-goto-max-level): New option.
6953 (org-goto): Use `org-goto-max-level'.
6955 2008-12-16 Tassilo Horn <tassilo@member.fsf.org>
6957 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
6958 Strip angle brackets from message-ids in the former and don't do
6960 (org-gnus-follow-link): Open summary reliable, even if the last
6961 messages were deleted, and handle empty groups, too.
6963 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
6965 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
6966 instead of \texttt for the =...= and ~===~ emphasis environments.
6967 (org-export-as-latex): Remove any old :org-license-to-kill text
6969 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
6970 (org-export-latex-make-header): Add some hard space after the
6972 (org-export-latex-first-lines): Accept RBEG argument. Mark
6973 exported text so that it will be excuded in further steps.
6975 * org-table.el (org-table-get-specials): Make @0 reference the
6976 last line in a table.
6977 (org-table-recalculate): Improve docstring.
6979 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
6981 * org.el (org-log-done): Fix docstring.
6983 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
6985 * org-exp.el (org-export-html-format-image): Fix bugs.
6987 * org-export-latex.el (org-export-latex-tables)
6988 (org-export-latex-links): Implement attribute, label, and caption
6991 * org-exp.el (org-export-html-style-default): Add style
6992 definitions for the figure div.
6993 (org-export-preprocess-string, org-export-as-html): Implement
6994 attribute, label, and caption handling.
6995 (org-export-attach-captions-and-attributes): New function.
6996 (org-export-html-format-image): New function.
6997 (org-format-org-table-html): Implement attribute, label, and
7000 * org.el (org-find-text-property-in-string): New function.
7001 (org-extract-attributes): Use the property org-attr instead of
7002 org-attrobutes, because this property is now set with the #+ATTR
7005 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
7007 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
7008 the case that FROM is nil.
7010 * org.el (org-before-first-heading-p): New function.
7012 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
7014 * org-exp.el (org-export-as-html): Do not add a space before
7015 enforces line breaks.
7016 (org-export-as-html): Close paragraph before blockquote and verse
7019 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
7021 * org-id.el (org-id-locations-file): Wrap file name with
7022 `convert-standard-filename'.
7023 (org-id-files): New variable.
7024 (org-id-use-hash): New option.
7025 (org-id-update-id-locations): Also search in all files current
7026 listed in `org-id-files'. Convert the resulting alist to a hash
7027 if the user customation says so.
7028 (org-id-locations-save): Handle he case if `org-id-locations' is a
7030 (org-id-locations-load): Convert the alist to a hash.
7031 (org-id-add-location): Handle the hast case.
7032 (kill-emacs-hook): Make sure id locations are saved when Emacs is
7034 (org-id-hash-to-alist, org-id-alist-to-hash)
7035 (org-id-paste-tracker): New functions.
7037 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7039 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
7040 bindings of calendar variables.
7042 * org-table.el (org-table-find-row-type): Rename from
7043 `org-find-row-type'.
7044 (org-table-rewrite-old-row-references): Rename from
7045 `org-rewrite-old-row-references'.
7046 (org-table-shift-refpart): Rename from `org-shift-refpart'.
7047 (org-table-cleanup-narrow-column-properties): Rename from
7048 `org-cleanup-narrow-column-properties'.
7050 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7052 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
7053 for better error messages.
7054 (org-table-get-descriptor-line): Supply the new arguments to
7055 `org-find-row-type'.
7056 (org-table-error-on-row-ref-crossing-hline): New option.
7058 * org.el (org-target-link-regexp): Make buffer-local.
7059 (org-move-subtree-down): Fix bug with trees at beginning of
7062 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7064 * org-faces.el (org-set-tag-faces): New function.
7065 (org-tags-special-faces-re): New variable.
7067 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
7069 * org-faces.el (org-tag-faces): New option.
7070 (org-tag): Mention `org-tag-faces' in the docstring.
7072 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7074 * org-exp.el (org-export-html-style-default): Implement new
7077 * org-jsinfo.el (org-infojs-template): Implement new quoting.
7079 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
7080 command to the `w3m-minor-mode-map'.
7082 * org-archive.el (org-archive-to-archive-sibling): Protect
7083 `this-command' to avoid appending kills during archiving.
7085 * org-exp.el (org-export-with-priority): New variable.
7086 (org-export-add-options-to-plist): Use `org-export-plist-vars'
7087 instead of internal list of strings and properties.
7088 (org-print-icalendar-entries): Retrieve the location property with
7091 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7093 * org-exp.el (org-export-with-todo-keywords): New option.
7094 (org-export-plist-vars): Include also the keys for the #+OPTIONS
7096 (org-default-export-plist, org-export-add-options-to-plist)
7097 (org-export-as-ascii, org-export-as-html): Use the new structure
7098 of `org-export-plist-vars'.
7100 * org.el (org-map-entries): Return all values.
7102 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7104 * org.el (org-matcher-time): Recognize more special values.
7106 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
7108 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7110 * org.el (org-tags-exclude-from-inheritance): New option.
7111 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
7112 `org-tags-exclude-from-inheritance'.
7114 * org-agenda.el (org-agenda-show-inherited-tags): New option.
7115 (org-format-agenda-item): Add inherited tags to the agenda line
7116 string, and make sure that properties are kept when downcasing the
7118 (org-agenda-add-inherited-tags): New function.
7119 (org-downcase-keep-props): New function.
7121 * org.el (org-scan-tags): Mark inherited tags with a text
7123 (org-get-tags-at): Mark inherited tags with a text property.
7124 (org-add-prop-inherited): New function.
7126 * org-agenda.el (org-agenda-add-inherited-tags): New function.
7127 (org-agenda-show-inherited-tags): New option.
7129 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7131 * org.el (org-modules): Add org-w3m to the default modules.
7133 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
7135 (orgtabl-create-or-convert-from-region): New command.
7137 * org-exp.el (org-export-as-ascii): Remove the handling of
7139 (org-export-ascii-preprocess): Handle targets already in this
7142 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7144 * org-timer.el (org-timer-start-time): Define this variable.
7145 (org-timer-item): Make argument optional.
7147 * org-list.el (org-insert-item): Automatically insert a timer item
7148 if the current list is a timer list.
7150 * org-timer.el: New file.
7152 * org-publish.el (org-publish-org-index): Only exclude the index
7153 file in the main directory from being added to the site-map.
7154 (org-publish-get-project-from-filename): If the current project is
7155 a component, start publishing from the parent project.
7157 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7159 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
7161 * org-publish.el (org-publish-org-index): Improve removal of
7164 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
7166 * org-agenda.el (org-get-closed): Re-apply changes
7167 accidentially overwritten by last commit to Emacs.
7169 * org.el (org-outline-path-complete-in-steps): New option.
7170 (org-refile-get-location): Honor
7171 `org-outline-path-complete-in-steps'.
7172 (org-agenda-change-all-lines, org-tags-sparse-tree)
7173 (org-time-string-to-absolute, org-small-year-to-year)
7174 (org-link-escape): Re-apply changes accidentially overwritten
7175 by last commit to Emacs.
7177 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7179 * org-clock.el (org-dblock-write:clocktable): Make sure the
7180 clocktable sees the first line.
7181 (org-clock-in): Warn if the clock cannot be resumed.
7183 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7185 * org.el (org-open-at-point): Fix mixup about interactive and
7186 non-interactive elisp links.
7188 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7190 * org-exp.el (org-export-preprocess-string): Allow one comment
7191 line before the first headline to always be included. This is
7192 to not miss a commented target.
7194 * org-mouse.el (org-mouse-insert-item): Call
7195 `org-indent-to-column' instead of `indent-to', for XEmacs
7198 * org.el (org-refile-targets): Fix customize definition so
7199 that it works also in XEmacs.
7200 (org-fixup-indentation): Call `org-indent-to-column' instead
7201 of `indent-to', for XEmacs compatibility.
7203 2008-11-23 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
7205 * org-mew.el (org-mew-store-link): Get the correct case folder
7206 for refiled messages.
7208 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7210 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
7211 line break indicators.
7213 * org.el (org-ido-completing-read): Remove the "i:" prefix for
7214 ido-completion propts.
7216 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7218 * org-remember.el (org-remember-apply-template): Use
7219 `org-substring-no-properties'.
7221 * org-compat.el (org-substring-no-properties): New function.
7223 * org-remember.el (org-remember-apply-template): Use
7224 `org-substring-no-properties' for compatibility.
7226 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
7228 (org-fix-bullet-type): Respect
7229 `org-list-two-spaces-after-bullet-regexp'.
7231 * org-clock.el (org-clock-load): Clean up the code.
7233 * org.el (org-adaptive-fill-function): Allow two spaces after
7234 "1." as a list bullet.
7236 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7238 * org-clock.el (org-clock-save, org-clock-load): Check for
7239 live buffers, existing files, and buffer file names to ensure
7240 consistent information.
7241 (org-clock-persist): Make `clock' a special value of this
7242 variable, and improve docstring.
7244 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
7245 (org-get-string-indentation): Adapt indentation when the bullet
7248 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7250 * org-remember.el (org-remember-finalize): Make interactive.
7251 (org-remember-kill): New command.
7252 (org-remember-finish-immediately): Call `org-remember-finalize'
7254 (org-remember-finalize): Make `org-remember-finalize' an interactive
7257 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7259 * org-remember.el (org-remember-apply-template): No ido completion
7260 for free prompts in remember templates.
7261 (org-remember-before-finalize-hook): New hook.
7262 (org-remember-mode): New minor mode.
7263 (org-remember-apply-template): Turn on `org-remember-mode'.
7265 * org-remember.el (org-remember-apply-template): Fix the way how
7266 the list of allowed properties is retrieved from the target file.
7268 * org.el (org-insert-link): Improve file link matching.
7270 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7272 * org-colview.el (org-columns-display-here): New argument
7273 DATELINE, to trigger using the new face.
7274 (org-agenda-colview-summarize): Call `org-columns-display-here'
7275 with the new argument.
7277 * org-faces.el (org-agenda-column-dateline): New face.
7279 * org-publish.el (org-publish-org-index): Use index-title at page
7280 title, not as section.
7282 * org-exp.el (org-export-html-format-desc): Respect the
7283 org-protect property.
7284 (org-export-as-html): Protect image specifiers that are in the
7285 description part of a link.
7287 * org.el (org-sort-entries-or-items, org-completing-read)
7288 (org-refile-get-location, org-olpath-completing-read, org-todo)
7289 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
7290 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
7291 (org-set-property, org-delete-property)
7292 (org-delete-property-globally): Use `org-ido-completing-read'.
7294 * org-remember.el (org-remember-apply-template): Use
7295 `org-ido-completing-read'.
7297 * org-publish.el (org-publish): Use `org-ido-completing-read'.
7299 * org-colview.el (org-columns-edit-value, org-columns-new)
7300 (org-insert-columns-dblock): Use `org-ido-completing-read'.
7302 * org-colview-xemacs.el (org-columns-edit-value)
7303 (org-columns-new, org-insert-columns-dblock): Use
7304 `org-ido-completing-read'.
7306 * org-attach.el (org-attach-delete-one, org-attach-open): Use
7307 `org-ido-completing-read'.
7309 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
7310 `org-ido-completing-read'.
7312 * org.el (org-time-today): New function.
7313 (org-matcher-time): Use `org-time-today'. Add special treatment
7314 for "<tomorrow>" and "<yesterday>".
7315 (org-ido-completing-read): New function.
7316 (org-completion-use-ido): New option.
7318 * org-exp.el (org-export-format-source-code): Fix bug in require
7320 (org-export-target-internal-links): Fix bug in search for text
7323 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7325 * org-export-latex.el (org-export-latex-subcontent): Interprete
7326 target aliases as additonal labels.
7328 * org-exp.el (org-export-target-aliases): New variable.
7329 (org-export-preprocess-string)
7330 (org-export-handle-invisible-targets): Fill the alias alist.
7331 (org-export-as-html): Remove the from the anchor, and also
7333 (org-html-level-start): Insert the target aliases as additonal
7336 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
7339 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7341 * org.el (org-open-at-mouse): Ensure correct link abbreviations
7342 when following a link with the mouse from the agenda.
7344 * org-exp.el (org-export-as-html): Avoid lone </div> when no
7345 headlines are created.
7347 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7349 * org.el (org-link-translation-function): New option.
7350 (org-open-at-point): Call `org-link-translation-function' if
7352 (org-translate-link): New function.
7353 (org-translate-link-from-planner): New function.
7354 (org-open-at-point): Allow interactive commands in elisp links.
7356 * org-exp.el (org-icalendar-cleanup-string): Restore the old
7357 iCalendar quoting. The new one seems to caus problems with
7360 * org.el (org-yank): Set `this-command' to `yank', so that
7361 `yank-pop' will work.
7363 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7365 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
7366 compliance as far as quoting is concerned.
7368 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
7369 hexified version of the tag.
7371 * org-vm.el (org-vm-follow-link): Require `vm-search'.
7373 * org.el (org-up-heading-safe, org-forward-same-level): Always
7374 call `org-back-to-heading' instead of `outline-back-to-heading'.
7375 (org-back-to-heading): New wrapper around outline-back-to-heading,
7376 with a useful error message telling where the error happened.
7378 * org-list.el (org-update-checkbox-count): Always call
7379 `org-back-to-heading' instead of `outline-back-to-heading'.
7381 * org-exp.el (org-export-as-html): Make sure that each <img> tag
7382 has an `alt' attribute, to ensure XHTML validation.
7384 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7386 * org-publish.el (org-publish-attachment): Allow publishing to
7387 overwrite attachment files.
7389 * org-agenda.el (org-agenda-timerange-leaders): New option.
7390 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
7392 * org.el (org-edit-src-exit): Untabify ASCII image before
7395 2008-11-19 Glenn Morris <rgm@gnu.org>
7397 * org.el, org-mouse.el (org-agenda-change-all-lines):
7400 2008-11-18 Carsten Dominik <dominik@science.uva.nl>
7402 * org.el ("speedbar"): Only show context if the file really is an
7405 2008-11-17 Juanma Barranquero <lekktu@gmail.com>
7407 * org.el (org-time-string-to-absolute, org-small-year-to-year)
7408 (org-tags-sparse-tree): Fix typos in docstrings.
7410 2008-11-15 Carsten Dominik <dominik@science.uva.nl>
7412 * org-publish.el (org-publish-attachment): Allow copy-file to
7415 2008-11-13 Glenn Morris <rgm@gnu.org>
7417 * org-agenda.el (org-get-closed): Fix alias.
7419 2008-11-12 Juanma Barranquero <lekktu@gmail.com>
7421 * org.el (org-link-escape): Fix typo in docstring.
7423 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
7425 * org.el (org-yank): Make any prefix force normal yanking.
7426 Suppress folding if text would be swallowed into a folded
7428 (org-yank-folded-subtrees, org-yank): Docstring updates.
7430 * org-agenda.el (org-agenda-compare-effort): Treat no effort
7433 * org-exp.el (org-export-language-setup): Add Catalan and
7434 Esperanto language entries.
7436 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
7438 * org.el (org-refile): Allow refiling of entire regions.
7440 * org-clock.el (org-clock-time%): New function.
7442 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
7443 retrieve property values.
7445 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
7447 * org-agenda.el (org-agenda-list): Handle the value `only' of
7448 org-agenda-show-log'.
7449 (org-agenda-log-mode): Interpret a double prefix arg.
7451 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
7453 * org-exp.el (org-export-html-footnotes-section): New variable.
7454 (org-export-as-html): Use `org-export-html-footnotes-section' to
7455 insert the footnotes.
7456 (org-export-language-setup): Add "Footnotes" to language words.
7458 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
7460 * org.el (org-yank): Fix bug when not inserting a subtree.
7462 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
7464 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
7465 instead of `vm-beginning-of-message'.
7467 * org.el (org-make-link-regexps): Make sure that links to gnus can
7470 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
7472 * org-attach.el (org-attach-dir): Remove duplicate ID creation
7475 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
7478 * org.el (org-link-abbrev-alist): Improve customization type.
7480 * org-attach.el (org-attach-expand-link, org-attach-expand): New
7483 * org-agenda.el (org-agenda-get-progress): Rename from
7484 `org-get-closed'. Implement searching for state changes as well.
7485 (org-agenda-log-mode-items): New option.
7486 (org-agenda-log-mode): New option prefix argument, interpreted as
7487 request to show all possible progress info.
7488 (org-agenda-get-day-entries): Call `org-get-progress' instead of
7490 (org-agenda-set-mode-name): Handle the more complex log mode
7492 (org-get-closed): New alias, pointing to `org-get-progress'.
7494 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7496 * org.el (org-file-apps-defaults-gnu)
7497 (org-file-apps-defaults-macosx)
7498 (org-file-apps-defaults-windowsnt): Add an entry defining the
7500 (org-file-apps): Allow `system' as key and value.
7501 (org-open-at-point): Explain the effect of a double prefix arg.
7502 (org-open-file): If the argument `in-emacs' is (16),
7503 i.e. corresponding to a double prefix argument, try to open the
7506 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7508 * org.el (org-insert-link): Abbreviate absolute files names in
7509 links. Also, fix a bug in which the double C-u prefix would not
7512 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7514 * org.el (org-insert-heading): If buffer does not end with a
7515 newline, add one if necessary to insert headline correctly.
7517 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
7518 paragraphs, not inside.
7520 * org.el (org-todo): Quote
7521 `org-agenda-headline-snapshot-before-repeat'.
7523 * org-exp.el (org-export-as-html): Fully process link descriptions.
7524 (org-export-html-format-desc): New function.
7525 (org-export-as-html): Collect footnotes into the correct basket.
7526 (org-html-protect): No longer protect quotations marks here, this
7529 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
7532 * org-compat.el (org-fit-window-to-buffer): New function (not
7533 really, a preliminary and incomplete version was present earlier,
7536 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
7537 `org-fit-window-to-buffer'.
7539 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
7541 * org-agenda.el (org-agenda-get-restriction-and-command)
7542 (org-fit-agenda-window, org-agenda-convert-date): Use
7543 `org-fit-window-to-buffer'.
7545 * org-exp.el (org-export-as-html): Process href links through
7546 `org-export-html-format-href'.
7547 (org-export-html-format-href): New function.
7549 * org-agenda.el (org-agenda-todo): Update only the current
7550 headline if this is a repeated TODO, marked done for today.
7551 (org-agenda-change-all-lines): New argument JUST-THIS, to change
7552 only the current line.
7554 * org.el (org-todo): Take a snapshot of the headline if the
7555 repeater might change it.
7557 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7559 * org-publish.el (org-publish-find-title): Remove buffers visited
7560 only for extracting the title.
7562 * org-exp.el (org-export-html-style)
7563 (org-export-html-style-default): Mark style definitions as
7566 * org-publish.el (org-publish-validate-link): Function
7569 2008-11-12 Charles Sebold <csebold@gmail.com>
7571 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
7573 (org-plot-quote-timestamp-field): New function.
7574 (org-plot-quote-tsv-field): Call timestamp field function when
7575 necessary rather than just quoting as a string.
7576 (org-plot/gnuplot-to-data): Pass in timefmt property.
7577 (org-plot/gnuplot-script): Supports timefmt property.
7578 (org-plot/gnuplot): Checks for timestamp column before checking
7579 for text index column.
7581 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7583 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
7585 * org-publish.el (org-publish-org-index): Create a section in the
7587 (org-publish-org-index): Stop linking to directories.
7589 * org.el (org-emphasis-alist): Use span instead of <u> to
7592 * org-exp.el (org-export-as-html): Make sure <p> is closed before
7595 2008-11-12 Sebastian Rose <sebastian_rose@gmx.de>
7597 * org-jsinfo.el (org-infojs-template): Remove language attribute
7600 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7602 * org-agenda.el (org-agenda-remove-marked-text): New function.
7603 (org-agenda-mark-filtered-text)
7604 (org-agenda-unmark-filtered-text): New functions.
7605 (org-write-agenda): Remove filtered text.
7607 * org.el (org-make-tags-matcher): Give access to TODO "property"
7608 without speed penalty.
7610 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7612 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
7614 (org-store-link-props): Make sure adding to the plist works
7617 * org-gnus.el (org-gnus-no-new-news): New function.
7618 (org-gnus-follow-link): Allow the article ID to be a message-id,
7619 in addition to allowing article numbers. Message IDs make much
7621 (org-gnus-store-link): Use message-id to create link.
7623 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7625 * org.el (org-emphasize): Reverse the selection array.
7626 (org-emphasis-alist): Set <code> tags for the verbatim
7629 * org-remember.el (org-remember-handler): Fix bug with
7630 prefix-related changing of the note storage target.
7632 * org-exp.el (org-print-icalendar-entries): Make the exported
7633 priorities compatible with RFC 2445.
7635 * org-clock.el (org-clock-save): Insert time stamp without
7636 dependence on time-stamp.el.
7638 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7640 * org.el ("saveplace"): If saveplace puts point into an invisible
7641 location, make it visible.
7642 (org-make-tags-matcher): Allow inactive time stamps in time
7644 (org-yank-adjusted-subtrees): New option.
7645 (org-yank): Incorporate adjusting trees.
7646 (org-paste-subtree): New argument FOR-YANK which will cause
7647 insertion at point without backing up over white lines, and leave
7648 point at the end of the inserted text. Also if the cursor is
7649 at the beginning of a headline, use the same level or the inserted
7652 * org-publish.el (org-publish-get-base-files-1): Deal correctly
7653 with broken symlinks.
7655 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7657 * org-exp.el (org-export-select-tags, org-get-current-options):
7660 2008-11-06 Glenn Morris <rgm@gnu.org>
7662 * org-publish.el (org-publish-attachment): Use copy-file rather than
7665 2008-11-04 Juanma Barranquero <lekktu@gmail.com>
7667 * org.el (org-columns-modify-value-for-display-function):
7668 * org-table.el (org-table-convert-region): Fix typos in docstrings.
7670 2008-10-28 Glenn Morris <rgm@gnu.org>
7672 * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
7674 * org-list.el (outline-next-heading, outline-back-to-heading):
7677 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7679 * org-agenda.el (org-format-agenda-item)
7680 (org-agenda-filter-make-matcher): Make sure tags are stored and
7683 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7685 * org.el (org-insert-todo-heading): Fix bug with force-heading
7688 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7690 * org-exp.el (org-export-as-ascii): Handle the case that we are
7691 bulishing from an indirect buffer.
7693 * org-table.el (org-table-copy-down): Fix bug with time stamp
7696 * org-mouse.el (org-mouse-features): New option.
7697 (org-mode-hook): Turn on features depending on
7698 `org-mouse-features'.
7700 * org.el (org-insert-heading-respect-content): Force heading
7702 (org-insert-heading): Keep the folding state of the heading before
7705 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7707 * org-archive.el (org-archive-to-archive-sibling): Handle top
7708 level headlines better.
7710 2008-10-26 Bastien Guerry <bzg@altern.org>
7712 * org-export-latex.el (org-export-latex-classes): Add
7713 \usepackage{graphicx} to the default list of packages.
7715 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7717 * org-agenda.el (org-agenda-filter): Rename from
7718 `org-agenda-filter-tags'.
7720 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7722 * org.el (org-entry-properties): Add CATEGORY property, iven if it
7723 is not defined as a property in this entry.
7724 (org-add-log-note): Mask prefix argument when immediately storing
7727 * org-agenda.el (org-agenda-filter-effort-default-operator): New
7730 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
7732 * org.el (org-add-log-setup): Bugfix; code to find insertion point
7733 after drawers was skipping ahead one line too many, so notes were
7734 inserted after the first note instead of before it.
7736 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7738 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
7740 (org-prepare-agenda): Reset the filter tags.
7741 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
7742 Show filter tags in mode line.
7744 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
7747 * org-export-latex.el (org-latex-entities-regexp): New constant.
7748 (org-export-as-pdf): Use two calls to `shell-command'.
7750 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7752 * org-export-latex.el (org-export-latex-treat-sub-super-char):
7753 Honor the {} value of the subsuperscript setting. Make sure that
7754 longer subsuperscripts are typeset in a roman font.
7756 * org.el (org-clock-update-time-maybe): Compute negative clock
7757 intervals correctly.
7759 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7761 * org.el (org-add-log-setup): Respect
7762 `org-log-state-notes-insert-after-drawers'.
7763 (org-log-state-notes-insert-after-drawers): New option.
7764 (org-todo-trigger-tag-changes): New function.
7765 (org-todo): Call `org-todo-trigger-tag-changes'.
7767 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
7769 * org.el (org-add-log-setup): Only skip drawers if the are
7770 immediately after the scheduling keywords.
7772 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
7774 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
7775 call it with the current todo state to get the state to switch to
7777 (org-clock-in): Use org-indent-line-function to indent clock lines.
7778 (org-clock-find-position): Fix indentation of empty clock drawers.
7780 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7782 * org-publish.el (org-publish-org-to): Handle case when
7783 org-export-to-pdf does return a file name, not a buffer.
7784 (org-publish-org-to-pdf): New function.
7786 * org-export-latex.el (org-export-as-pdf)
7787 (org-export-as-pdf-and-open): New commands.
7789 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
7792 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
7793 things in protexted regions.
7795 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7797 * org-export-latex.el (org-export-latex-preprocess): Improve
7798 quoting of LaTeX environments.
7800 2008-10-19 Eli Zaretskii <eliz@gnu.org>
7802 * org.el (org-default-notes-file):
7803 * org-publish.el (org-publish-timestamp-directory):
7804 * org-id.el (org-id-locations-file): Run file names that begin
7805 with a period thru `convert-standard-filename'.
7807 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
7809 * org-plot.el: Switch coding system to unix.
7811 2008-10-12 John Wiegley <johnw@newartisans.com>
7813 * org-attach.el: New file.
7815 2008-10-12 Carsten Dominik <carsten.dominik@gmail.com>
7817 * org.el (org-edit-fixed-width-region): Exclude final newline from
7820 * org-export-latex.el (org-export-latex-subcontent): Add labels to
7821 sections, to make internal links work.
7822 (org-export-latex-fontify-headline): Do not remove all text
7823 properties, to make sure that target properties survive this
7826 * org-exp.el (org-export-preprocess-string): Change sequence of
7827 modifications, to make sure links are prepared before the LaTeX
7828 conversions do happen.
7830 * org-attach.el (org-attach-delete-all): Rename from
7831 `org-attch-delete'. Add a security query before deleting the
7832 entire directory. New optional argument FORCE can overrule the
7834 (org-attach-delete-one): New command.
7836 * org-attach.el (org-attach-file-list): Fix bug with directory.
7838 * org.el (org-apps-regexp-alist): New function.
7839 (org-file-apps): Add auto-mode to the default value.
7840 (org-open-file): Use the new structure of org-file-apps.
7842 * org-attach.el (org-attach): Support the new keys.
7843 (org-attach-method): New option.
7845 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
7848 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
7849 of the list value o `org-use-tag-inheritance'.
7851 * org-attach.el (org-attach-auto-tag): New option.
7852 (org-attach-tag, org-attach-untag): New functions.
7853 (org-attach-attach, org-attach-new, org-attach-sync): Call
7855 (org-attach-delete): Call `org-attach-untag'.
7857 * org-table.el (orgtbl-self-insert-command): Make this work for
7860 * org.el (org-add-log-setup): Limit searc for drawers to entry
7861 text, not to subtree.
7863 * org-clock.el (org-clock-heading-for-remember): New variable.
7864 (org-clock-in): Set `org-clock-heading-for-remember'.
7866 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
7868 * org-remember.el (org-remember-apply-template): Add new
7869 expansions: %k, %K for currently clocked task and a link to the
7870 currently clocked task, and %< to file notes in the currently
7873 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
7875 * org-export-latex.el (org-export-latex-make-header): Also insert
7876 the content of the property :latex-header-extra.
7878 * org-exp.el (org-infile-export-plist): Put the content of
7879 #+LATEX_HEADER: into the property :latex-header-extra.
7881 * org-colview.el (org-columns-get-format-and-top-level): Remove
7882 resetting the marker.
7884 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
7885 Remove resetting the marker.
7887 * org.el (org-entry-property-inherited-from): Improve docstring.
7888 (org-entry-get-with-inheritance): Reset marker before starting the
7891 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
7893 * org.el (org-entry-get-multivalued-property)
7894 (org-entry-protect-space, org-entry-restore-space): New
7896 (org-file-apps-defaults-macosx): Let postscript files be opened by
7898 (org-time-stamp-inactive): Call `org-time-stamp'.
7899 (org-time-stamp): New argument `inactive'. Also edit inacive
7900 stamps. Convert time stamp type.
7901 (org-open-file): Interpret the `default' value for the `command'
7904 * org-id.el (org-id-int-to-b36-one-digit)
7905 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
7906 (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
7909 * org-id.el (org-id-reverse-string): New function.
7910 (org-id-new): Use `org-id-reverse-string' to make sure the
7911 beginning chars of the ID are mutating fast. This allows to use a
7912 directory structure to spread things better.
7913 (org-id-prefix): Change default to nil.
7915 * org-list.el (org-move-item-down, org-move-item-up): Remember and
7916 restore the column of the cursor position.
7918 * org-remember.el (org-remember-apply-template): Remove properties
7921 * org-wl.el (org-wl-open): Remove useless call to
7922 `wl-thread-open-all'.
7924 * org-remember.el (org-remember-handler): Fix bug with `bottom'
7927 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
7928 `org-bbdb-anniversaries'.
7930 * org.el (org-get-next-sibling, org-forward-same-level): New
7931 functions, similar to the outline versions, but invisible headings
7934 2008-10-12 Bastien Guerry <bzg@altern.org>
7936 * org.el (org-auto-repeat-maybe): Insert a space between
7937 the timestamp's type and the timestamp itself.
7939 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
7941 * org-table.el (org-table-sum): Do not format the result with %g,
7942 it does rounding when there are too many digits.
7944 * org.el (org-map-entries): Protect the keyword-selecting variables.
7946 2008-10-12 Bastien Guerry <bzg@altern.org>
7948 * org-agenda.el (org-agenda-to-appt): Make sure the function check
7949 against all agenda files.
7951 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
7952 Bastien Guerry <bzg@altern.org>
7954 * org-list.el: New file, aggregating list functions from org.el
7955 and org-export-latex.el.
7957 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
7959 * org.el (org-edit-src-region-extra): New option.
7961 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
7964 2008-10-12 Bastien Guerry <bzg@altern.org>
7966 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
7968 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
7970 * org-plot.el (org-plot/gnuplot): Make tables starting with a
7971 hline work correctly.
7972 (org-plot/gnuplot-script): Put commas at the end of each script
7975 * org.el (org-get-refile-targets): Replace links with their
7977 (org-imenu-get-tree): Replace links with their descriptions.
7979 * org-remember.el (org-remember-apply-template): Add a new
7980 expansion for adding properties to remember items.
7982 * org.el (org-add-log-setup): Skip over drawers (properties,
7983 clocks etc) when adding notes.
7985 * org-agenda.el (org-agenda-get-closed): Show durations of clocked
7986 items as well as the start and end times.
7988 * org-compat.el (org-get-x-clipboard-compat): Add a compat
7989 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
7991 * org-remember.el (org-get-x-clipboard): Use the compat
7992 function to get clipboard values when x-selection-value is
7993 unavailable. Use substring-no-properties instead of
7994 set-text-properties to remove text properties from the clipboard
7997 * lisp/org-clock.el (org-update-mode-line): Support limiting the
7998 modeline clock string, and display the full todo value in the
7999 tooltip. Set a local keymap so mouse-3 on the clock string goes to
8000 the currently clocked task.
8001 (org-clock-string-limit): Add a custom value for the maximum
8002 length of the clock string in the modeline.
8003 (org-clock-mode-map): Add a keymap for the modeline string.
8005 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
8007 * org-compat.el (org-propertize): New function.
8009 2008-10-12 Bastien Guerry <bzg@altern.org>
8011 * org-export-latex.el (org-export-latex-tables): Protect exported
8012 tables from further special chars conversion.
8013 (org-export-latex-preprocess): Preserve LaTeX environments.
8014 (org-list-parse-list): Parse descriptive lists.
8015 (org-list-to-generic, org-list-to-latex, org-list-to-html)
8016 (org-list-to-texinfo): Export descriptive lists.
8017 (org-quote-chars): Remove.
8018 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
8019 (org-export-latex-list-beginning-re): Rename to
8020 `org-list-beginning-re'.
8021 (org-list-item-begin): Rename to `org-list-item-beginning'.
8023 2008-10-12 Eric Schulte <schulte.eric@gmail.com>
8025 * org-plot.el: New file.
8027 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
8029 * org.el (org-refile): Allow refiling to the last entry in the
8031 (org-get-tags-at): Fix bug when inheritance is turned off.
8033 * org.el (org-indent-line-function): No longer check for src
8034 regions, this is too much overhead.
8036 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
8039 * org.el (org-scan-tags): Make sure that tags matching is not case
8040 sensitive. TODO keyword matching is case sensitive, however, to
8041 avoid confusion with similar words that are not meant to be
8044 * org.el (org-get-local-tags-at): New function.
8045 (org-get-local-tags): New function.
8047 * org-exp.el (org-export-get-categories): New function.
8049 * org-agenda.el (org-sorting-choice)
8050 (org-agenda-sorting-strategy, org-agenda-get-todos)
8051 (org-agenda-get-timestamps, org-agenda-get-deadlines)
8052 (org-agenda-get-scheduled, org-agenda-get-blocks)
8053 (org-entries-lessp): Implement sorting by TODO state.
8054 (org-cmp-todo-state): New defsubst.
8056 * org-colview.el (org-colview-construct-allowed-dates): New
8058 (org-columns-next-allowed-value): Use
8059 `org-colview-construct-allowed-dates'.
8061 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
8063 (org-columns-next-allowed-value): Use
8064 `org-colview-construct-allowed-dates'.
8066 * org.el (org-protect-slash): New function.
8067 (org-get-refile-targets): Use `org-protect-slash'.
8069 * org-agenda.el (org-global-tags-completion-table): New variable.
8071 * org-exp.el (org-export-handle-export-tags): New function.
8072 (org-export-preprocess-string): Call
8073 `org-export-handle-export-tags'.
8075 * org-publish.el (org-publish-expand-components): Function removed.
8076 (org-publish-expand-projects): Allow components to have components.
8078 * org.el (org-indent-line-function): Do not indent in regions that
8079 are external source code.
8080 (org-yank-and-fold-if-subtree): New function.
8082 * org-agenda.el (org-agenda-todayp): New function.
8083 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
8084 `org-agenda-todayp'.
8086 * org.el (org-insert-heading-respect-content)
8087 (org-insert-todo-heading-respect-content): New commands.
8088 (org-insert-heading-respect-content): New option.
8089 (org-insert-heading): Respect `org-insert-heading-respect-content'.
8091 * org-clock.el (org-clock-find-position): Make sure the note after
8092 the clock line gets moved into the new clock drawer.
8094 * org-id.el (org-id-new): New option.
8096 * org-table.el (org-table-copy-down): Avoid overflow during
8097 increment. Use prefix argument 0 to temporarily disable the
8100 * org-exp.el (org-export-as-html): Do not turn on the major mode
8101 if the buffer will be killed anyway.
8102 (org-get-current-options): Exclude the #+TEXT field.
8103 (org-export-as-html): Make sure text before the first headline is
8106 * org-publish.el (org-publish-org-to): Tell the exporter that this
8107 buffer will be killed, so it is not necessary to do major mode
8110 * org-archive.el (org-archive-to-archive-sibling): Show empty
8111 lines after folding the archive sibling.
8113 * org.el (org-log-note-extra): New variable.
8115 2008-10-12 Bastien Guerry <bzg@altern.org>
8117 * org.el (org-additional-option-like-keywords): Add keywords for
8118 the _QUOTE, _VERSE and _SRC environments.
8120 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
8121 exporting _QUOTE and _VERSE environments.
8123 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
8125 * org-agenda.el (org-agenda-filter-by-tag): New command.
8127 * org-exp.el (org-get-current-options): Remove angular brackets
8128 from the date entry.
8130 * org.el (org-edit-fixed-width-region): New function.
8131 (org-edit-fixed-width-region): Also try
8132 `org-edit-fixed-width-region'.
8133 (org-edit-fixed-width-region-mode): New option.
8134 (org-activate-code): Only interprete lines starting with colon
8135 plus a space as example lines.
8137 * org-remember.el (org-remember-templates): Add nil instead of
8138 empty strings to fix the length of remember templates.
8140 * org-table.el (org-calc-default-modes): Fix the time format for
8141 calc, from 12 hour to 24 hour clock.
8143 * org-agenda.el (org-agenda-get-deadlines)
8144 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
8145 entries that are pre-warnings of deadlines or reminders.
8147 * org.el (org-sort-entries-or-items): Make numeric and alpha
8148 comparisons ignore any TODO keyword and priority cookie.
8150 * org-remember.el (org-remember-handler): Reinterpretation of the
8153 * org-agenda.el (org-agenda-get-scheduled): Use new
8154 `org-scheduled' face.
8156 * org-faces.el (org-scheduled): New face.
8158 * org-wl.el (org-wl-open): Remove incorrect declaration.
8160 * org-gnus.el (org-gnus-store-link): Support for :to information
8163 * org-exp.el (org-export-as-html): Fix typo in creator
8165 (org-export-protect-examples): New parameter indent. Insert extra
8166 spaces only when this parameter is specified.
8167 (org-export-preprocess-string): Call `org-export-protect-examples'
8168 with an indentation parameter when exporting to ASCII.
8170 * org-remember.el (org-remember-templates)
8171 (org-remember-apply-template): Allow the file component to be a
8174 * org.el (org-goto-local-search-headings): Rename from
8175 `org-goto-local-search-forward-headings'. Added the possibility
8176 to search backwards.
8178 * org-export-latex.el (org-export-latex): New customization
8181 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
8183 * org-exp.el (org-html-do-expand): Allow {} to terminate
8186 * org.el (org-buffer-list): Select buffers based on major mode,
8189 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
8192 * org-colview.el (org-columns-display-here): Use
8193 `org-columns-modify-value-for-display-function'.
8195 * org-colview-xemacs.el (org-columns-display-here): Use
8196 `org-columns-modify-value-for-display-function'.
8198 * org.el (org-columns-modify-value-for-display-function): New option.
8200 * org-publish.el (org-publish-file): Make sure the directory match
8201 for the publishing directory works correctly.
8203 * org-agenda.el (org-agenda-execute-calendar-command)
8204 (org-agenda-diary-entry): Additional optional argument.
8206 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
8208 * org-exp.el (org-export-as-html): Add attributes also in mailto
8211 * org.el (org-autoload): Add `org-dblock-write:columnview'.
8213 2008-08-11 Glenn Morris <rgm@gnu.org>
8215 * org-mac-message.el (do-applescript): Fix declaration.
8217 2008-08-10 Glenn Morris <rgm@gnu.org>
8219 * org-exp.el (org-export-as-html): Let-bind `i'.
8221 * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
8222 (org-extract-attributes): Let-bind `key', `value'.
8223 (org-make-tags-matcher): Let-bind `time-p'.
8225 2008-07-27 Carsten Dominik <dominik@science.uva.nl>
8227 * org-install.el: New file.
8229 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
8231 * org-exp.el (org-export-html-style)
8232 (org-export-html-style-extra): Declare as safe-local-variable.
8234 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
8236 * org-publish.el (org-publish-file): Use the true name of the
8239 * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
8242 * org-exp.el (org-export-plist-vars)
8243 (org-export-add-options-to-plist): Handle creator setting flag.
8244 (org-export-as-html): Handle attributes also for ftp and mailto
8247 * org-agenda.el (org-agenda-diary-entry)
8248 (org-agenda-execute-calendar-command): Cater for the second
8249 argument of `calendar-cursor-to-date'.
8251 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
8253 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
8254 sure that calls from `org-export-region-as-html' do not do the
8255 special check for a subtree.
8257 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
8259 * org.el (org-open-file): Use
8260 `org-open-directory-means-index-dot-org'.
8261 (org-open-directory-means-index-dot-org): New option.
8263 * org.el (org-make-link-string): Remove link attributes from
8265 (org-open-at-point): Remove link attributes before using the path.
8267 * org-exp.el (org-export-as-html): Handle link attributes.
8269 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
8271 * org-table.el (org-table-to-lisp): New function.
8273 * org.el (org-narrow-to-subtree): Do not include the final newline
8274 into the narrowed region.
8276 * org-agenda.el (org-agenda-custom-commands-local-options): Fix
8277 bug with user-define skipping condition.
8279 * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
8281 * org-exp.el (org-export-html-style-default): Automatic overflow
8282 handling for pre fields.
8283 (org-export-as-ascii, org-export-as-html): Change default format
8286 * org-table.el (org-table-export): Offer completion for translator
8287 functions, and do not require a heading above the table.
8289 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
8290 Cater for the case of a list starting in the first line of the
8293 * org-publish.el (org-publish-find-title): Bug fix.
8294 (org-publish-org-index): Implement new :index-style option.
8296 * org-publish.el (org-publish-timestamp-filename): Use
8297 SHA1-encoded file names in the timestamp directory.
8299 * org-publish.el (org-publish-needed-p): Be verbose about files
8300 published and files skipped.
8302 * org-exp.el (org-export-preprocess-string): Swap link
8303 normalization and internal link targeting.
8305 * org-publish.el (org-publish-needed-p): Create timestamp
8306 directory when it does not exist.
8308 * org-clock.el (org-clock-out-when-done): Doc fix.
8310 * org.el (org-agenda-skip-unavailable-files): Doc fix.
8312 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
8313 Ignore case when searching for the COMMENT cookie at export time.
8315 * org-exp.el (org-get-file-contents)
8316 (org-get-and-remove-property): New functions.
8317 (org-export-handle-include-files): Handle the new prefix options.
8318 (org-export-as-html): Fix the verse environment.
8320 * org.el (org-time=, org-time<, org-time<=, org-time>)
8321 (org-time>=, org-time<>, org-2ft): New functions.
8322 (org-op-to-function): Also provide for the time testing functions.
8324 * org-exp.el (org-export-html-style-default): New constant.
8326 * org-exp.el (org-export-html-style-extra): New variable.
8327 (org-export-splice-style): New function.
8329 * org-exp.el (org-export-plist-vars, org-export-as-html):
8330 Implement `org-export-creator-info'.
8331 (org-export-creator-info): New option.
8333 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
8334 (org-property-drawer-re, org-clock-drawer-re): New constants.
8336 * org-exp.el (org-icalendar-use-deadline)
8337 (org-icalendar-use-scheduled): New options.
8338 (org-icalendar-include-todo): Default changed to t.
8339 (org-print-icalendar-entries): Implement better utilization of
8340 scheduling and deadline time stamps.
8341 (org-export-target-internal-links, org-export-as-html): Allow file
8342 lines without the "file:" prefix if the file path is an absolute
8343 path or starts with ".".
8345 * org-clock.el (org-clocktable-shift): Also understand yesterday,
8347 (org-clock-special-range): Also understand yesterday, lastweek etc.
8349 * org.el (org-agenda-skip-archived-trees): Docstring now
8350 discourages using this.
8351 (org-scan-tags): Check for org-agenda-archives-mode.
8352 (org-map-entries): Make sure org-agenda-archives-mode is nil.
8353 (org-agenda-files): Functionality of second arg changed.
8355 * org-agenda.el (org-agenda-archives-mode): New variable.
8356 (org-write-agenda, org-prepare-agenda, org-agenda-list)
8357 (org-search-view, org-todo-list, org-tags-view)
8358 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
8360 (org-agenda-quit): Reset the archives mode.
8361 (org-agenda-archives-mode): New command.
8362 (org-agenda-set-mode-name): Include archives info.
8364 * org.el (org-paste-subtree): Make sure the yanked headline is
8365 visible if it was yanked at a visible point.
8366 (org-move-item-up): Fix the bug with moving white space at the end
8368 (org-show-empty-lines-in-parent): New function.
8370 2008-07-19 Juri Linkov <juri@jurta.org>
8372 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
8373 new keymap `narrow-map' instead of binding "\C-xns".
8375 2008-07-02 Juanma Barranquero <lekktu@gmail.com>
8377 * org.el (org-agenda-skip-unavailable-files):
8378 * org-clock.el (org-clock-out-when-done): Doc fixes.
8380 2008-06-18 Glenn Morris <rgm@gnu.org>
8382 * org.el (org-map-entries): Let-bind `file'.
8384 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8386 * org-colview.el (org-columns-next-allowed-value): Bug fix.
8388 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
8390 * org-agenda.el (org-agenda-get-closed): Get the end time into the
8391 agenda prefix as well.
8393 * org-publish.el (org-publish-org-index): Make a properly indented
8396 * org.el (org-calendar-agenda-action-key): New option.
8397 (org-get-cursor-date): New function.
8398 (org-mark-entry-for-agenda-action): New command.
8399 (org-overriding-default-time): New variable.
8400 (org-read-date): Respect `org-overriding-default-time'.
8402 * org-remember.el (org-remember-apply-template): Respect the
8403 overriding default time.
8405 * org-agenda.el (org-agenda-action-marker): New variable.
8406 (org-agenda-action): New command.
8407 (org-agenda-do-action): New function.
8409 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8411 * org.el (org-schedule, org-deadline): Protect scheduled and
8412 deadline tasks against changes that accidently remove the
8413 repeater. Also show a message with the new date when done.
8415 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8417 * org.el (org-beginning-of-line): Cater for the case when there
8418 are tags but no headline text.
8419 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
8422 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8424 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
8425 the return value is nil instead of "nil" when there is no match.
8427 * org-exp.el (org-insert-centered): Use fill-column instead of
8429 (org-export-as-ascii): Use string-width to measure the width of
8432 * org.el (org-diary-to-ical-string): No longer kill buffer
8433 FROMBUF, this is now done by the caller.
8435 * org-exp.el (org-print-icalendar-entries): Move the call to
8436 `org-diary-to-ical-string' out of the loop, and kill the buffer
8439 * org-remember.el (org-remember-visit-immediately): Position
8440 cursor after moving to the note.
8441 (org-remember-apply-template): Use a text property to record the
8443 (org-remember-handler): Align tags after pasting the note.
8445 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8447 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
8449 * org-agenda.el (org-agenda-open-link): If there is an
8450 org-bbdb-name property in the current line, jump to that bbdb
8453 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
8454 text property, so that the agenda knows where this entry comes
8457 * org-agenda.el (org-agenda-clock-in): Fix bug in the
8458 interaction between clocking-in from the agenda, and automatic
8459 task state switching.
8461 * org-macs.el (org-with-point-at): Bug fix in macro definition.
8463 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
8464 zmacs-region stays after this command in XEmacs.
8466 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8468 * org.el (org-scan-tags): Allow new values for ACTION parameter.
8470 * org-remember.el (org-remember-templates): Fix bug in
8471 customization type definition.
8473 * org.el (org-map-entries): New function.
8475 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8477 * org-agenda.el (org-agenda-skip-comment-trees): New option.
8478 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
8480 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8482 * org-remember.el (org-jump-to-target-location): New variable.
8483 (org-remember-apply-template): Set
8484 `org-remember-apply-template' if requested by template.
8485 (org-remember-handler): Start an idle timer to jump to
8488 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
8490 * org.el (org-set-regexps-and-options): Fix bug with parsing of
8492 (org-get-tags-at): Add the content of `org-file-tags'.
8494 * org-exp.el (org-export-handle-comments): Fix bug with several
8495 comment lines after each other.
8496 (org-number-to-roman, org-number-to-counter): New functions.
8497 (org-export-section-number-format): New option.
8499 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8501 * org-exp.el (org-export-protect-examples): Catch the case of a
8502 missing end_example line.
8504 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
8505 `org-file-tags' to nil.
8507 * org-colview.el (org-columns-next-allowed-value): Handle next
8508 argument NTH to directly select a value.
8510 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
8511 argument NTH to directly select a value.
8513 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8515 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
8517 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8519 * org.el (org-columns-ellipses): New option.
8521 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8523 * org-colview.el (org-columns-add-ellipses): New function.
8524 (org-columns-compact-links): New function.
8525 (org-columns-cleanup-item): Call `org-columns-compact-links'.
8526 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
8528 (org-columns-edit-value): Fix bug with editing values from
8530 (org-columns-redo): Also redo the agenda itself.
8532 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8534 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
8537 * org-colview.el (org-agenda-columns-cleanup-item): New function.
8539 * org-exp.el (org-export-ascii-preprocess): Rename from
8540 `org-export-ascii-clean-string'.
8541 (org-export-kill-licensed-text)
8542 (org-export-define-heading-targets)
8543 (org-export-handle-invisible-targets)
8544 (org-export-target-internal-links)
8545 (org-export-remove-or-extract-drawers)
8546 (org-export-remove-archived-trees)
8547 (org-export-protect-quoted-subtrees)
8548 (org-export-protect-verbatim, org-export-protect-examples)
8549 (org-export-select-backend-specific-text)
8550 (org-export-mark-blockquote-and-verse)
8551 (org-export-remove-comment-blocks-and-subtrees)
8552 (org-export-handle-comments, org-export-mark-radio-links)
8553 (org-export-remove-special-table-lines)
8554 (org-export-normalize-links)
8555 (org-export-concatenate-multiline-links)
8556 (org-export-concatenate-multiline-emphasis): New functions,
8557 obtained from spliting the export preprocessor.
8559 * org-table.el (org-table-recalculate): Improve error message if
8560 the row number is invalid.
8562 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8564 * org-archive.el (org-archive-save-context-info): Fix bugs in
8565 customization setup and docstring.
8567 * org-exp.el (org-export-html-style): Change the size of in the
8568 <pre> element to 90%.
8570 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8572 * org.el (org-find-src-example-start): Function removed.
8573 (org-edit-src-find-region-and-lang): New function.
8575 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8577 * org.el (org-edit-src-exit): New function.
8578 (org-exit-edit-mode): New minor mode.
8580 * org-exp.el (org-export-preprocess-string): Fix bug with removing
8581 comment-like lines from protected examples.
8583 * org.el (org-edit-src-example, org-find-src-example-start)
8584 (org-protect-source-example, org-edit-special): New functions.
8586 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8588 * org-publish.el (org-publish-project-alist): Fix typo in
8590 (org-publish-project-alist): Handle :index-title property.
8592 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8594 * org-export-latex.el (org-export-as-latex): Make sure region
8595 bounds are correct. Parse subtree properties relating to export.
8597 * org-exp.el (org-export-add-options-to-plist): New function.
8598 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
8600 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8602 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
8605 * org-exp.el (org-export-get-title-from-subtree)
8606 (org-export-as-ascii, org-export-as-html): Make sure the original
8607 region-beginning and region-end are used, even after moving point.
8608 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
8611 * org-remember.el (org-remember-last-stored-marker): New variable.
8612 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
8613 (org-remember-handler): Also use marker to remember
8614 last-stored position.
8616 * org.el (org-goto-marker-or-bmk): New function.
8618 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8620 * org.el (org-file-properties): Rename from `org-local-properties'.
8621 (org-scan-tags): Take file tags into account.
8622 (org-tags-match-list-sublevels): Default changed to t.
8624 * org-exp.el (org-export-as-html): Close paragraph after a footnote.
8626 * org.el (org-update-parent-todo-statistics): New function.
8628 * org-exp.el (org-icalendar-store-UID): New option.
8629 (org-icalendar-force-UID): Option removed.
8630 (org-print-icalendar-entries): IMplement UIDs.
8632 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8634 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
8636 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8638 * org-faces.el (org-column): Document how this face is being used
8639 and why sometimes the background faces shine through.
8641 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
8643 * org-publish.el (org-publish-attachment): Create publishing
8644 directory if it does not yet exist.
8646 * org-table.el (org-calc-default-modes): Change default number
8647 format to (float 8).
8649 * org.el (org-olpath-completing-read): New function.
8650 (org-time-clocksum-format): New option.
8651 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
8653 * org-clock.el (org-clock-display, org-clock-out)
8654 (org-update-mode-line): Use `org-time-clocksum-format'.
8656 * org-colview-xemacs.el (org-columns-number-to-string): Use
8657 `org-time-clocksum-format'.
8659 * org-colview.el (org-columns-number-to-string): Use
8660 `org-time-clocksum-format'.
8662 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8664 * org-id.el: New file, move from contrib to core.
8666 * org-exp.el (org-icalendar-force-UID): New option.
8668 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8670 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
8671 shifted by one day if there is a date range without an end time.
8673 * org.el (org-try-structure-completion): New function.
8675 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8677 * org.el (org-set-font-lock-defaults): Improve fontification of
8679 (org-insert-item): Handle description lists.
8680 (org-adaptive-fill-function): Improve auto indentation in
8683 * org-exp.el (org-export-as-html, org-export-preprocess-string):
8684 Implement VERSE environment.
8685 (org-export-preprocess-string): Implement the COMMENT
8688 * org-export-latex.el (org-export-latex-preprocess): Implement
8691 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8693 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
8696 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8698 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
8700 * org.el (org-quote-csv-field): New functions.
8702 * org-table.el (org-table-export-default-format): Remove :splice
8703 from default format, we get the same effect by not specifying
8705 (org-table-export): Improve setup, distinguish better between
8706 interactive and non-interactive use, allow specifying the format
8707 on the fly, better protection against wrong file names.
8708 (orgtbl-to-generic): Fix documentation. Do not require :tstart
8709 and :tend when :splice is omitted.
8711 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8713 * org-clock.el (org-clock-select-task): Make sure the selection
8714 letters are 1-9 and A-Z, no special characters.
8716 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8718 * org-exp.el (org-export-htmlize): New group.
8719 (org-export-htmlize-output-type)
8720 (org-export-htmlize-css-font-prefix): New options.
8721 (org-export-htmlize-region-for-paste): New function.
8722 (org-export-htmlize-generate-css): New command.
8724 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8726 * org.el (org-set-visibility-according-to-property): New function.
8727 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
8728 and compute the regular expressions, and update font-lock.
8729 (org-property-re): Allow a dash in property names.
8731 * org-archive.el (org-extract-archive-file): Insert the file name
8732 without the path into the format, to allow the location format to
8733 contain a subdirectory.
8735 * org-agenda.el (org-agenda-post-command-hook): If point is at end
8736 of buffer, and the `org-agenda-type' property undefined, use the
8737 value from the character before.
8739 * org.el (org-add-planning-info): Don't let indentation for
8740 would-be timestamp become extra whitespace at the end of headline.
8742 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8744 * org.el (org-remove-double-quotes, org-file-contents): New
8747 * org-exp.el (org-infile-export-plist): Also parse the
8748 contents of #+SETUPFILE files, recursively.
8750 * org.el (org-set-regexps-and-options): Also parse the
8751 contents of #+SETUPFILE files, recursively.
8753 * org-exp.el (org-export-handle-include-files): New function.
8754 (org-export-preprocess-string): Call
8755 `org-export-handle-include-files'.
8757 * org.el (org-delete-property-globally)
8758 (org-delete-property, org-set-property): Ignore case during
8760 (org-set-property): Use `org-completing-read' instead of
8763 * org.el (org-complete-expand-structure-template): New,
8764 experimental function.
8765 (org-structure-template-alist): New, experimental option.
8766 (org-complete): Call `org-complete-expand-structure-template'.
8768 2008-06-17 Bastien Guerry <bzg@altern.org>
8770 * org-export-latex.el (org-export-latex-preprocess):
8771 Add support for blockquotes.
8773 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8775 * org.el (org-read-date-analyze): Catch the case where only a
8778 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8780 * org.el (org-set-font-lock-defaults): Make the description
8783 * org-exp.el (org-export-as-html, org-close-li): Implement
8786 2008-06-17 Jason Riedy <jason@acm.org>
8788 * org-table.el (*orgtbl-default-fmt*): New variable.
8789 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
8790 when there is no other fmt available.
8792 (orgtbl-to-generic): Allow an explicitly nil :tstart or
8793 :tend to suppress the appropriate string.
8795 (orgtbl-to-orgtbl): New function for translating to another orgtbl
8798 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8800 * org.el (org-read-date-analyze): "." as an alias for "+0" in
8803 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
8806 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
8809 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8811 * org-clock.el (org-clock-find-position): Don't include notes
8814 * org-archive.el (org-archive-subtree): No longer remove an
8815 extra line after cutting the subtree. `org-cut-subtree' already
8818 * org-remember.el (org-remember-handler): Only kill the target
8819 buffer if it does not contain the running clock.
8821 * org.el (org-markers-to-move): New variable.
8822 (org-save-markers-in-region, org-check-and-save-marker)
8823 (org-reinstall-markers-in-region): New function.
8824 (org-move-subtree-down, org-copy-subtree): Remember relative
8825 marker positions before cutting.
8826 (org-move-subtree-down, org-paste-subtree): Restore relative
8827 marker positions after pasting.
8829 * org-remember.el (org-remember-clock-out-on-exit): New option.
8830 (org-remember-finalize): Clock out only if the setting in
8831 `org-remember-clock-out-on-exit' requires it.
8832 (org-remember-handler): Do the cleanup in the buffer, to make sure
8833 that the clock marker remains in tact.
8835 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8837 * org-clock.el (org-clock-goto): Widen buffer if necessary.
8838 (org-clock-in): Make sure that also tasks outside the narrowed
8839 region will be clocked in correctly.
8840 (org-clock-insert-selection-line): Widen the buffer so that we can
8841 find the correct task heading.
8843 * org.el (org-base-buffer): New function.
8845 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
8846 and ";" are escaped.
8847 (org-print-icalendar-entries): Also apply
8848 `org-icalendar-cleanup-string' to the headline, not only to the
8851 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8853 * org-exp.el (org-export-preprocess-hook): New hook.
8854 (org-export-preprocess-string): Call `org-export-preprocess-hook'.
8856 * org.el (org-font-lock-hook): New variable.
8857 (org-font-lock-hook): New function.
8858 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
8862 ;; add-log-time-zone-rule: t
8865 Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
8867 This file is part of GNU Emacs.
8869 GNU Emacs is free software: you can redistribute it and/or modify
8870 it under the terms of the GNU General Public License as published by
8871 the Free Software Foundation, either version 3 of the License, or
8872 (at your option) any later version.
8874 GNU Emacs is distributed in the hope that it will be useful,
8875 but WITHOUT ANY WARRANTY; without even the implied warranty of
8876 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8877 GNU General Public License for more details.
8879 You should have received a copy of the GNU General Public License
8880 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
8882 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c