1 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
3 * org.el (org-refile-targets):
4 * org-agenda.el (org-agenda-hide-tags-regexp): Fix typos in docstrings.
6 2010-08-19 Glenn Morris <rgm@gnu.org>
8 * org.el (org-outline-overlay-data, org-set-outline-overlay-data)
9 (org-save-outline-visibility): Move to org-macs.
10 * org-macs.el (org-outline-overlay-data, org-set-outline-overlay-data)
11 (org-save-outline-visibility): Move here from org.el.
12 (show-all): Autoload it.
13 * ob.el: Don't require org when compiling.
15 2010-08-18 Glenn Morris <rgm@gnu.org>
17 * ob.el: Require org when compiling.
18 (org-save-outline-visibility): Remove macro declaration.
19 * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
20 Remove unnecessary/macro declarations.
21 * org-docview.el: Require doc-view when compiling.
22 (doc-view-goto-page): Autoload rather than declaring.
23 (doc-view-current-page): Remove macro declaration.
25 2010-08-17 Glenn Morris <rgm@gnu.org>
27 * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
28 (org-entry-get, org-table-import): Fix declarations.
29 (org-match-string-no-properties): Remove unnecessary declaration.
30 * ob-sh.el (org-babel-comint-in-buffer)
31 (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
32 (org-babel-comint-with-output): Remove unnecessary declarations.
33 * ob-R.el (orgtbl-to-tsv): Fix declaration.
34 * org-list.el (org-entry-get): Fix declaration.
36 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
40 * ob-asymptote.el: New file.
41 * ob-clojure.el: New file.
42 * ob-comint.el: New file.
43 * ob-css.el: New file.
44 * ob-ditaa.el: New file.
45 * ob-dot.el: New file.
46 * ob-emacs-lisp.el: New file.
47 * ob-eval.el: New file.
48 * ob-exp.el: New file.
49 * ob-gnuplot.el: New file.
50 * ob-haskell.el: New file.
51 * ob-keys.el: New file.
52 * ob-latex.el: New file.
53 * ob-lob.el: New file.
54 * ob-matlab.el: New file.
55 * ob-mscgen.el: New file.
56 * ob-ocaml.el: New file.
57 * ob-octave.el: New file.
58 * ob-perl.el: New file.
59 * ob-python.el: New file.
60 * ob-ref.el: New file.
61 * ob-ruby.el: New file.
62 * ob-sass.el: New file.
63 * ob-screen.el: New file.
65 * ob-sql.el: New file.
66 * ob-sqlite.el: New file.
67 * ob-table.el: New file.
68 * ob-tangle.el: New file.
71 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
73 * org-mks.el: New file.
74 * org-capture.el: New file.
76 2010-07-19 Christian Egli <christian.egli@sbszh.ch>
78 * org-taskjuggler.el: New file.
80 2010-07-19 Matt Lundin <mdl@imapmail.org>
82 * org-agenda.el (org-search-view): Fix inclusion of agenda-archives
83 in org-agenda-text-search-extra-files.
85 2010-07-19 David Maus <dmaus@ictsoc.de>
87 * org-list.el (org-list-send-list): Locally bind variable `txt'.
89 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
91 * org.el (org-reload): Now also reloading babel files.
93 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
95 * org-capture.el (org-capture-set-plist): Make sure txt is a string
96 before calling `string-match'.
97 (org-capture-templates): Fix customization type.
99 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
101 * org-latex.el (org-export-latex-preprocess): Make a special case
103 (org-latex-entities): Remove the entry for \nbsp.
104 (org-latex-entities-exceptions): Variable removed.
106 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
108 * org-capture.el (org-capture-refile): Do not try to manipulate
111 * org.el (org-refile): Use the correct bookmark here.
113 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
115 * org-list.el (org-list-send-list): Parse list from its true beginning.
117 * org.el (org-ctrl-c-ctrl-c): Maybe send the list when at a list item.
119 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
121 * org.el (org-insert-link): Correctly determine if we should use
124 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
126 * org-list.el (org-list-radio-list-templates): Fix templates.
128 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
130 * org-list.el (org-list-send-list): Regexp defining the start of
131 a radio list is now on par with the one used for radio tables.
133 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
135 * org-entities.el (org-entities-help): Add a headline for
136 the user-defined entities.
138 2010-07-19 Dirk-Jan C. Binnema <djcb.bulk@gmail.com> (tiny change)
140 * org-agenda.el (org-agenda-action): Document capture key and add it
143 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
145 * org-latex.el (org-export-latex-listings-langs): Add (sqlite "SQL").
147 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
149 * org-latex.el (org-export-latex-first-lines): Do not mark
150 meta lines for removal. Do not remove BABEL config lines during export.
152 2010-07-19 David Maus <dmaus@ictsoc.de>
154 * org-capture.el (org-capture): Check if
155 `org-capture-link-is-already-stored' is bound before evaluating.
157 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
159 * org.el: Add autoload for org-babel-do-load-languages.
161 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
163 * org-src.el (org-src-lang-modes): Add sqlite to sql-mode.
165 2010-07-19 David Maus <dmaus@ictsoc.de>
167 * org-feed.el: Change indentation to match coding style
170 2010-07-19 David Maus <dmaus@ictsoc.de>
172 * org-feed.el (org-feed-unescape, org-feed-parse-atom-feed): Load XML
173 library if necessary.
175 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
177 * org-beamer.el (org-beamer-amend-header): Standardize the
178 header cookie for the beamer extra stuff.
180 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
182 * org-beamer.el (org-beamer-amend-header): Put extra header
185 2010-07-19 David Maus <dmaus@ictsoc.de>
187 * org-exp-blocks.el (org-export-blocks-format-ditaa)
188 (org-export-blocks-format-dot): Remove text properties of body before
189 calculating cache hash.
191 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
193 * org-latex.el (org-export-latex-tabular-environment): New option.
194 (org-export-latex-tables): Use `org-export-latex-tabular-environment'.
196 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
198 * org-compat.el (org-version-check): New function.
200 * org-indent.el (org-indent-mode): Check for exact emacs version.
202 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
204 * org-capture.el (org-capture-templates): Allow the template
205 to come from a file or function call.
206 (org-capture-place-entry): Get the template from file or function.
208 2010-07-19 David Maus <dmaus@ictsoc.de>
210 * org-agenda.el (org-agenda-bulk-action): Don't create marker for
211 position if target is entire file.
213 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
215 * org.el (org-autoload): Autoload a few more org-table functions.
217 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
219 * org.el (org-babel-load-languages): Add ob-mscgen.
221 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
223 * org-latex.el (org-export-latex-tables): Format string now
226 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
228 * org.el (org-babel-load-languages): This variable controls which
229 languages will be loaded by org-babel. It is customizable through
230 the customize interface.
232 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
234 * org-latex.el (org-export-latex-format-image): Update number of
235 arguments to allow for an optional short-name.
237 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
239 * org-indent.el (org-indent-mode): Refuse to turn on prior to Emacs 23.2.
241 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
243 * org-capture.el (org-capture-set-target-location): Store
244 exact positions for file+regexp and file+function targets.
245 (org-capture-place-entry, org-capture-place-item)
246 (org-capture-place-table-line, org-capture-place-plain-text): Respect
248 (org-capture-finalize): Make sure we are at the beginning of a line
249 when fixing the empty lines after the entry.
251 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
253 * org.el (org-entry-get-with-inheritance): New argument LITERAL-NIL.
254 (org-entry-get): Pass `literal-nil' into
255 `org-entry-get-with-inheritance'.
256 (org-todo): React to nil values of the LOGGING property.
258 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
260 * org.el (org-default-notes-file): Update docstring.
262 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
264 * org.el (org-link-frame-setup): Use `org-gnus-no-new-news' as default.
266 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
268 * org-exp.el (org-export-attach-captions-and-attributes): Add
269 a shortname attribute to caption strings under the symbol name
272 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
274 * org.el (org-switchb): Rename from `org-iswitchb'. Improve
276 (org-iswitchb): New alias.
277 (org-ido-switchb): Make alias point to `org-switchb'.
279 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
281 * org-capture.el (org-capture-fill-template): Respect
282 time-of-day preference in template prompt.
284 2010-07-19 David Maus <dmaus@ictsoc.de>
286 * org-feed.el (org-feed-unescape): Remove superfluous lambda.
288 2010-07-19 David Maus <dmaus@ictsoc.de>
290 * org-wl.el (org-wl-disable-folder-check): New customization
292 (org-wl-open): Disable folder check depending on
293 `org-wl-disable-folder-check'.
295 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
297 * org-capture.el (org-capture-set-target-location): Fix
298 file+function interpretation.
300 2010-07-19 David Maus <dmaus@ictsoc.de>
302 * org-feed.el (org-feed-parse-rss-entry): Unescape rss element
305 2010-07-19 David Maus <dmaus@ictsoc.de>
307 * org-feed.el (xml-entity-alist): Declare variable
308 `xml-entity-alist' for byte compiler.
310 2010-07-19 David Maus <dmaus@ictsoc.de>
312 * org-feed.el (org-feed-unescape): New function. Unescape
314 (org-feed-parse-atom-entry): Use function for atom:content
317 2010-07-19 David Maus <dmaus@ictsoc.de>
319 * org-feed.el (org-feed-parse-rss-feed): Ignore case of rss
322 2010-07-19 Bernt Hansen <bernt@norang.ca>
324 * org.el (org-time-string-to-absolute): Ignore cyclic repeater
325 when displaying items on todays agenda date.
327 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
329 * org-agenda.el (org-agenda-get-progress): Avoid reusing previous
332 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
334 * org-publish.el (org-publish-initialize-cache): Make
335 timestamp directory, the entire path to it.
337 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
339 * org-exp.el (org-export-handle-comments): Make sure to check
340 for protection in the comment line, and not in the line after it.
342 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
344 * org-html.el (org-export-html-preprocess): Call org-format-latex,
345 possibly with a protect-only argument.
347 * org.el (org-format-latex): New argument PROTECT-ONLY.
349 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
351 * org-exp.el (org-export-handle-table-metalines): This function
352 removes table specific meta-lines, now that we aren't wiping
353 everything that looks remotely like a comment at the end of the
354 export process we have to be sure to catch all of the specific lines
357 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
359 * org-exp.el (org-export-select-backend-specific-text): Properly
360 get rid of #+Backend and #+ATTR_Backend specifics to backends not
361 matching the one we're exporting to.
363 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
365 * Makefile (lisp/org-install.el): Replace babel files in
366 construction of org-install.el.
368 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
370 * org-table.el (orgtbl-to-generic): Add the :remove-newlines
371 option which will strip newline characters from the text of table
372 cells and replace then with "\n".
374 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
376 * org.el (org-confirm-shell-link-function)
377 (org-confirm-elisp-link-function): Limit the values that can be set by
380 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
382 * org.el (org-compute-latex-and-specials-regexp): Deal with
383 string elements by discarding them.
385 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
387 * org.el (org-iswitchb): Make sure to use at least iswitchb.
389 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
391 * org-capture.el (org-capture-position-for-last-stored)
392 (org-capture-bookmark-last-stored-position): New functions.
393 (org-capture-place-table-line): Better error catching.
394 (org-capture-place-item, org-capture-place-entry)
395 (org-capture-place-plain-text): Call
396 `org-capture-position-for-last-stored'.
397 (org-capture-finalize): Just call
398 `org-capture-bookmark-last-stored-position'.
400 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
402 * org-exp.el (org-export-mark-blockquote-verse-center): Fix
403 small bug, now grabbing match data before overwritten by looking-at
404 this fixes a problem with remainders of #+end_quote lines appearing
407 2010-07-19 David Maus <dmaus@ictsoc.de>
409 * org.el (org-link-frame-setup): Add customization option for
412 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
414 * org-latex.el (org-export-latex-fixed-width): Now check
415 org-example rather than org-protected on verbatim export, because by
416 default all ": " prefixed lines are marked protected.
418 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
420 * org-latex.el (org-export-latex-fixed-width): Check for
421 protection before wrapping ": " lines as verbatim.
423 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
425 * org-exp.el (org-export-handle-comments): Check for protection
426 before removing comments.
428 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
430 * org-entities.el (org-entities): Restructure the list.
431 (org-entities-help): Turn the help output into a buffer
432 in Org-mode, so that it becomes easier to find a symbol
434 (org-entities-create-table): Deal with new structure.
436 2010-07-19 David Maus <dmaus@ictsoc.de>
438 * org-agenda.el (org-write-agenda): Use backquotes to expand
439 `flet' at compile time.
441 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
443 * org.el (org-entry-properties): Make sure that standard property
444 names are used even if the user has customized time keywords.
446 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
448 * org-macs.el (org-not-nil): Return the value if not interpreted
451 * org.el (org-entry-get)
452 (org-entry-get-with-inheritance): Interpret the value "nil"
453 as nil for properties.
455 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
457 * org.el (org-switch-to-buffer-other-window): Return the buffer.
459 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
461 * org-macs.el (org-not-nil): New function.
463 * org.el (org-block-todo-from-children-or-siblings-or-parent):
464 Use `org-not-nil' to interpret a property value of nil.
466 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
468 * org.el (org-truely-invisible-p): New function.
469 (org-beginning-of-line): Use `org-truely-invisible-p'.
471 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
473 * org-agenda.el (org-agenda-get-timestamps): No errors
474 while getting TODO state.
475 (org-agenda-highlight-todo): No error when no keyword has
478 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
480 * org.el (org-timestamp-change): New optional argument UPDOWN.
481 Use this to identify calls from org-timestamp-up/down, so that we can
482 skip by rounding minutes in this case.
483 (org-timestamp-up, org-timestamp-down, org-timestamp-up-day)
484 (org-timestamp-down-day): Call org-timestamp-change with the
487 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
489 * org-agenda.el (org-agenda-action): Make `c' key call org-capture.
491 * org-capture.el: New file.
493 * org-compat.el (org-get-x-clipboard): Function moved here from
496 * org-mks.el: New file.
498 * org.el (org-set-regexps-and-options): Allow statistic cookies as
499 part of complex headlines.
500 (org-find-olp): New argument THIS-BUFFER. When set, assume that the
501 OLP does not contain a file name.
503 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
505 * org.el (org-mode): Set `comment-start' instead of changing the
506 syntax of the `#' character.
508 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
510 * org-exp.el (org-export-format-source-code-or-example): Mark examples
513 * org-html.el (org-export-html-close-lists-maybe): Check if raw
514 HTML stuff was actually made from an example.
516 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
518 * Makefile (LISPF): Let's not compile files that won't often be used.
520 2010-07-19 Bastien Guerry <bzg@altern.org>
522 * org-latex.el: Items are no longer skipped when their first line
523 ends on a protected element.
525 * org-list.el: Protected environments looking like lists are not
528 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
530 * org-exp-blocks.el (org-export-blocks-preprocess):
531 Cleanup trailing newline after block.
533 2010-07-19 Bastien Guerry <bzg@altern.org>
535 * org-exp.el: Comment regexp now matches documentation. No more
536 protection check when deleting comments before export.
538 2010-07-19 Bastien Guerry <bzg@altern.org>
540 * org-exp.el (org-export-preprocess-string):
541 Now using `org-export-handle-include-files-recurse' to resolve
544 2010-07-19 Bastien Guerry <bzg@altern.org>
546 * org-agenda.el (org-agenda-get-deadlines)
547 (org-agenda-get-scheduled):
548 * org.el (org-time-string-to-seconds):
549 For deadline and scheduled agenda display ignore the cyclic repeater
550 when calculating how many days late the task is. If you have a weekly
551 task and miss the date the agenda view will show more than a week late
552 now instead of resetting on the cyclic repeating date. This makes it
553 much more obvious when you missed a repeating task after the repeater.
555 2010-07-19 Bastien Guerry <bzg@altern.org>
557 * org-exp.el (org-export-mark-blockquote-verse-center):
558 Consider environments that end at eob.
560 2010-07-19 Mikael Fornius <mfo@abc.se>
562 * org.el (org-raise-scripts): Do not fontify sub/superscripts of text
563 with face `org-special-keyword'. Make property keys as :LAST_REPEAT:
566 2010-07-19 Mikael Fornius <mfo@abc.se>
568 * org.el (org-at-property-p): Use save-match-data macro instead of let.
570 2010-07-19 Mikael Fornius <mfo@abc.se>
572 * org.el (test): Remove unused test function.
574 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
576 * org-exp-blocks.el (org-export-blocks-preprocess): Fix typo.
578 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
580 * org-exp-blocks.el (org-export-blocks-postblock-hook): Add
581 documentation to and turn into a defcustom.
583 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
585 * org-exp.el (org-get-file-contents): By un-setting prefix1 to ""
586 instead of to nil we avoid errors when :prefix1 is defined, but
589 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
591 * org-latex.el (org-export-latex-preprocess): Environments coming
592 from latex backend specific instructions (#+LaTeX) are already
593 protected and won't be treated as normal environments.
595 2010-07-19 Bastien Guerry <bzg@altern.org>
597 * org-timer.el (org-timer-set-timer): Fix typo in the docstring.
599 2010-07-19 Bastien Guerry <bzg@altern.org>
601 * org-timer.el (org-timer-set-timer): Use a prefix argument.
602 See the docstring of the function.
604 2010-07-19 Bastien Guerry <bzg@altern.org>
606 * org-timer.el (org-timer-set-timer): Fix bug about cancelling
609 2010-07-19 David Maus <dmaus@ictsoc.de>
611 * org-w3m.el (org-w3m-copy-for-org-mode)
612 (org-w3m-get-next-link-start, org-w3m-get-prev-link-start):
613 Get text property directly, not using macro `w3m-anchor'.
615 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
617 * org.el (org-emph-re): Document the match groups.
619 2010-07-19 Bernt Hansen <bernt@norang.ca>
621 * org-clock.el (org-clock-in): Set `org-clock-clocking-in' to
622 t before calling `org-clock-out', so that that function can
623 know its call context.
625 2010-07-19 Bastien Guerry <bzg@altern.org>
627 * org-timer.el (org-timer-default-timer): New variable.
628 (org-timer-set-timer): Use the new variable. Also offer the
629 possibility to replace the current timer by a new one.
631 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
633 * org.el (org-kill-note-or-show-branches): Hide subtree before
634 exposing the headings.
636 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
638 * org.el (org-add-planning-info): Remove the empty line also
639 if there is no whitespace at all in there.
641 * org-table.el (org-table-align): Fix alignment of strings
642 with invisible characters.
644 2010-07-19 David Maus <dmaus@ictsoc.de>
646 * org.el (org-refile-cache-get): Return empty list of targets
647 when cache was cleared.
648 (org-clone-subtree-with-time-shift): Maybe create ID property
650 (org-clone-delete-id): New customization variable.
651 (org-clone-subtree-with-time-shift): Use customization
652 variable `org-clone-delete-id'.
653 (org-clone-subtree-with-time-shift): Remove empty property
654 drawer in cloned subtrees.
656 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
658 * org.el (org-refile-use-cache): New option.
659 (org-refile-cache, org-refile-markers): New variable.
660 (org-refile-marker, org-refile-cache-clear)
661 (org-refile-cache-check-set, org-refile-cache-put)
662 (org-refile-cache-get): New function.
663 (org-get-refile-targets): Use the refile cache.
665 * org-clock.el (org-clock-sum): Don't include running clock if
666 the time block is wrong.
668 2010-07-19 John Wiegley <jwiegley@gmail.com>
670 * org-clock.el (org-clock-clock-in, org-clock-in): Add
671 parameter `start-time'.
672 (org-clock-resolve-clock): Add parameter `clock-out-time'.
673 If set, and resolve-to is a past time, then the clock out
674 event occurs at `clock-out-time' rather than at `resolve-to'.
675 In this case, `resolve-to' becomes the clock in time.
676 (org-clock-jump-to-current-clock): Create new global command
677 to reveal the current clock.
678 (org-clock-resolve): Add new commands g/G and j/J, and a
679 help window describing all commands and their meaning.
680 (org-clock-resolve-expert): New customization variable.
681 (org-find-open-clocks): Fix a bug that caused discovered
682 clocks not to match up with the currently active clock.
683 (org-resolve-clocks): Change the argument
684 `also-non-dangling-p' to `only-dangling-p', since due to a bug
685 this was the default behavior all along.
687 2010-07-19 David Maus <dmaus@ictsoc.de>
689 * org-id.el (org-id-uuid): New function. Return string with
690 random (version 4) UUID.
691 (org-id-method): Make 'uuid the new default value.
692 (org-id-new): Use `org-id-uuid' if call to uuidgen program
693 does not return a UUID.
695 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
697 * org-latex.el (org-export-latex-format-image): Add support
698 for multicolumn figures in LaTeX.
700 2010-07-19 David Maus <dmaus@ictsoc.de>
702 * org.el (org-clone-subtree-with-time-shift): Remove ID
703 property of original subtree in cloned subtrees.
705 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
707 * org-exp.el (org-export-format-source-code-or-example):
708 XEmacs compatibility.
710 * org-latex.el (org-export-latex-tables): Accept comma in
713 * org-docbook.el (org-export-docbook-xslt-stylesheet): New option.
714 (org-export-docbook-xslt-proc-command): Fix docstring.
715 (org-export-docbook-xsl-fo-proc-command): Fix docstring.
716 (org-export-as-docbook-pdf): Improve
717 formatting of the xslt command.
719 * org-exp.el (org-infile-export-plist): Check for XSLT setting.
721 * org.el (org-file-contents): Improve error message.
722 (org-set-regexps-and-options): Remove spaces at both ends.
724 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
726 * org-docbook.el (org-export-as-docbook-pdf): Improve
727 formatting of the xslt command.
729 2010-07-19 Sebastian Rose <sebastian_rose@gmx.de>
731 * org-publish.el (org-publish-cache): Use one big hashmap for
732 each project defined in `org-publish-project-alist'.
733 (initialize-files-alist): Function removed.
734 (org-publish-validate-link): Function removed.
735 (org-publish-get-base-files): Add variable `sitemap-requested'
736 to avoid sorting where possible.
737 (org-publish-get-files): Function removed.
738 (org-publish-get-project-from-filename): Make independent of
740 (org-publish-file): New argument NO-CACHE.
742 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
744 * org.el (org-beginning-of-defun, org-end-of-defun): New
746 (org-mode): Install the `org-beginning-of-defun' and
747 `org-end-of-defun' functions.
748 (org-pretty-entities): New option.
749 (org-toggle-pretty-entities): New command.
750 (org-fontify-entities): New function.
751 (org-startup-options): New keywords for pretty entities.
752 (org-set-font-lock-defaults): Call the pretty entities
755 * org-latex.el (org-export-latex-keywords-maybe): Protect the
758 2010-07-19 Mikael Fornius <mfo@abc.se>
760 * org-habit.el (org-habit-build-graph): Help-echo date when
763 2010-07-19 Jan Böker <jan.boecker@jboecker.de>
765 * org.el (org-file-apps): Improve docstring to reflect
768 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
770 * org.el (org-set-startup-visibility): Fix empty line display.
772 * org-latex.el (org-export-latex-links): Use the formatting
773 function of the link type, if it is available.
775 * org-table.el (org-table-get-remote-range): Return to
776 original buffer when retrieving remote reference.
778 * org.el (org-display-inline-images): Do the entire buffer,
779 not just the narrowed region. Clear the cache.
780 (org-display-inline-images): Match mode file paths.
782 2010-07-19 David Maus <dmaus@ictsoc.de>
784 * org-wl.el (org-wl-store-link-folder): Don't throw error when
785 called on WL folder group.
787 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
789 * org.el (org-replace-escapes): Make sure the cdr is not nil.
790 (org-read-date): Make `M-v' and `C-v' scroll the popup calendar.
791 (org-mode): Revert comment syntax changes.
793 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
795 * org.el (org-sparse-tree): Make `C-c / t' search for all TODO
796 keywords, and `C-c / T' for a specific one.
798 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
800 * org.el (org-mode): Fix comment syntax settings.
802 * org-src.el (org-edit-src-allow-write-back-p): Define
805 * org.el (org-inline-image-overlays): New variable.
806 (org-toggle-inline-images, org-display-inline-images)
807 (org-remove-inline-images): New commands.
808 (org-mode-map): Define a key for `org-toggle-inline-images'.
810 2010-07-19 David Maus <dmaus@ictsoc.de>
812 * org-wl.el (org-wl-message-field): New function. Return
813 content of header field in message entity.
814 (org-wl-store-link): Call `org-wl-store-link-folder' or
815 `org-wl-store-link-message' depending on major-mode.
816 (org-wl-store-link-folder): New function. Store link to
818 (org-wl-store-link-message): New function. Store link to
820 (org-wl-store-link-message): Store link to message while
822 (org-wl-open): Don't try to jump to message when opening a
825 2010-07-19 David Maus <dmaus@ictsoc.de>
827 * org.el (org-replace-escapes): Avoid infinite loop when
828 replace string contains escape sequence it replaces.
830 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
832 * org-crypt.el (org-crypt-key-for-heading): Use symmetric
833 encryption when now key is set.
835 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
837 * org-table.el (org-table-recalculate-buffer-tables)
838 (org-table-iterate-buffer-tables): New commands.
840 * org.el (org-check-for-hidden): When there is a region, skip
843 2010-07-19 Dan Davison <davison@stats.ox.ac.uk>
845 * org-src.el (org-edit-src-code): allow-write-back-p had
846 erroneously been omitted from let binding.
848 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
850 * org-agenda.el (org-sorting-choice): New sorting type alpha.
851 (org-cmp-alpha): New defsubst.
852 (org-em): New defsubst.
853 (org-entries-lessp): Only compute needed comparisons.
855 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
857 * org-html.el (org-format-org-table-html): Test all columns
860 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
862 * org-latex.el (org-export-latex-treat-sub-super-char): Make
863 sure parenthesis matching is consistent.
865 * org-table.el (org-table-colgroup-line-p)
866 (org-table-cookie-line-p): New functions.
868 * org-exp.el (org-table-clean-before-export): Better tests for
869 colgroup and cookie lines.
871 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
873 * org-agenda.el (org-agenda-goto): Push a mark before changing
876 * org-footnote.el (org-footnote): New group.
877 (org-footnote-section)
878 (org-footnote-tag-for-non-org-mode-files): Fix typos.
880 * org-list.el (org-end-of-item-text-before-children): Also do
881 the right thing at the end of a file.
883 * org.el (org-set-packages-alist, org-get-packages-alist): New
885 (org-export-latex-default-packages-alist)
886 (org-export-latex-packages-alist): Add extra flag to
887 each package, indicating if it should be used for snippets.
888 (org-create-formula-image): Add the snippet argument.
889 (org-splice-latex-header): New argument SNIPPET-P, pass it
890 through to `org-latex-packages-to-string'.
891 (org-latex-packages-to-string): New argument SNIPPET-P.
893 * org-latex.el (org-export-latex-make-header): Add the snippet
896 * org-docbook.el (org-export-as-docbook): Implement ordered
897 lists starting at some offset.
899 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
901 * org.el (org-link-types, org-open-at-point): Add doi links.
903 * org-ascii.el (org-export-ascii-preprocess): Remove list
904 startcounter cookies.
906 * org-list.el (org-renumber-ordered-list): Respect counter
909 * org-latex.el (org-export-latex-lists): Accept ordered list
912 * org-html.el (org-export-as-html): Accept ordered list
915 * org-indent.el (org-indent-mode): Turn off `indent-tabs-mode'
916 which messes up alignment of tags.
918 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
920 * org-clock.el (org-clock-cancel, org-clock-out): Make sure
921 the modeline display is removed.
923 * org-exp.el (org-export-format-drawer-function): Fix
926 * org-agenda.el (org-agenda-refile): New optional argument
928 (org-agenda-refile): Call `org-agenda-redo' unless NO-UPDATE
930 (org-agenda-bulk-action): Call the refile command with updates
931 suppressed - but arrange for `org-agenda-redo' to be called at
934 * org.el (org-mode): Make table mapping quiet.
935 (org-table-map-tables): New optional argument QUIETLY.
937 * org-ascii.el (org-export-ascii-preprocess): Make table
940 * org-html.el (org-export-as-html, org-html-level-start): Change
941 XHTML IDs to not use dots.
943 * org-exp.el (org-export-define-heading-targets): Change
944 XHTML IDs to not use dots.
946 * org-docbook.el (org-export-docbook-level-start): Change
947 XHTML IDs to not use dots.
949 * org-latex.el (org-export-as-latex): Make sure that the
950 result buffer is in latex-mode.
952 * org.el (org-shiftup-final-hook, org-shiftdown-final-hook)
953 (org-shiftleft-final-hook, org-shiftright-final-hook): New
956 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
958 * org-table.el (org-table-justify-field-maybe): Make sure that
959 inserting a value does not turn a line into a hline.
961 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
963 * org-clock.el (org-clock-sum): New argument HEADLINE-FILTER.
964 (org-clock-sum): Add property to selected headlines.
965 (org-dblock-write:clocktable): Make tags matcher.
967 * org.el (org-set-autofill-regexps): XEmacs compatibility.
969 * org-latex.el (org-export-latex-set-initial-vars): Allow "-"
970 in latex class definitions.
972 * org.el (org-shiftup-hook, org-shiftdown-hook)
973 (org-shiftleft-hook, org-shiftright-hook): New hooks.
975 * org-entities.el (org-entities): Use \land and \lor for logical
978 * org.el (org-shiftmetaleft, org-shiftmetaright): Call the subtree
979 indentation commands.
980 (org-hidden-tree-error): New defsubst.
981 (org-metaleft, org-metaright): Check for hidden stuff and throw an
983 (org-check-for-hidden): New function.
985 * org-list.el (org-item-re): New function.
986 (org-at-item-p): Use `org-item-re'.
987 (org-end-of-item-text-before-children): New function.
988 (org-outdent-item, org-indent-item): Arrange for leaving the
990 (org-outdent-item-tree, org-indent-item-tree): New argument
992 (org-indent-item-tree): Use `org-end-of-item-text-before-children'
993 to find the end for processing while ignoring the subtree.
995 * org-publish.el (org-publish-sitemap-sort-alphabetically)
996 (org-publish-sitemap-sort-folders)
997 (org-publish-sitemap-sort-ignore-case): New options.
999 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1001 * org-publish.el (org-publish-compare-directory-files): Fix sorting.
1003 * org-compat.el (org-get-x-clipboard-compat): Use (featurep 'xemacs).
1005 * org-publish.el (org-publish-project-alist): Update docstring.
1006 (org-publish-file-title-cache): New variable.
1007 (org-publish-initialize-files-alist): Initialize
1008 `org-publish-initialize-files-alist' to nil.
1009 (org-publish-sort-directory-files): New function.
1010 (org-publish-projects): Access the new properties.
1011 (org-publish-find-title): Use the file title cache.
1012 (org-publish-find-title): Build the file title cache.
1013 (org-publish-get-base-files-1): Sort files.
1014 (org-publish-aux-preprocess): Do not throw an error when before
1015 the first headline. Allow an empty target, meaning to link just
1017 (org-publish-index-generate-theindex.inc): Check if there is
1018 actually a target and only then add it to the link.
1019 (org-publish-projects): Fix a remaining issue with the last commit.
1021 * org-html.el (org-export-as-html): Treat verse as open/close
1023 (org-export-html-close-lists-maybe): Allow to splice raw HTML into
1026 2010-07-19 Dan Davison <davison@stats.ox.ac.uk>
1028 * org-src.el (org-edit-src-code): Allow the org-src edit buffer to
1029 be used in a read-only mode.
1030 (org-edit-src-code): Different message in read-only mode.
1032 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1034 * org-src.el (org-edit-src-find-region-and-lang): Test for
1035 table.el as late as possible.
1037 * org-colview-xemacs.el: Make sure this file is never loaded into
1038 Emacs. Remove all tests for XEmacs.
1040 * org-colview.el: Make sure this file is never loaded into XEmacs.
1042 * org-agenda.el (org-highlight, org-unhighlight): Use direct
1045 * org.el (org-key): Apply the translations defined in
1046 `org-xemacs-key-equivalents'.
1048 * org-mouse.el (org-mode-hook): Use `org-defkey'.
1050 * org-compat.el (org-xemacs-key-equivalents): New constant.
1052 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1054 * org-inlinetask.el (org-inlinetask-defaut-state): New option.
1055 (org-inlinetask-insert-task): Use `org-inlinetask-defaut-state'.
1056 Obey `org-odd-levels-only'.
1058 * org-compat.el (org-find-overlays): Use overlays-in/at.
1060 * org.el (org-remove-empty-overlays-at)
1061 (org-outline-overlay-data, org-hide-block-toggle)
1062 (org-format-latex, org-context): Use overlays-in/at.
1064 * org-src.el (org-edit-src-exit): Use overlays-in/at.
1066 * org-agenda.el (org-agenda-mark-clocking-task)
1067 (org-agenda-fontify-priorities, org-agenda-dim-blocked-tasks)
1068 (org-agenda-entry-text-hide)
1069 (org-agenda-fix-tags-filter-overlays-at)
1070 (org-agenda-bulk-remove-overlays): Use overlays-in/at.
1072 * org-compat.el (org-overlays-at): Function removed.
1073 (org-overlays-in): Function removed.
1075 2010-07-19 Bastien Guerry <bzg@altern.org>
1077 * org-clock.el (org-clock-set-current): Just return the headline
1078 itself, strip the TODO keyword, the priority cookie and the tags.
1080 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1082 * org-compat.el (org-xemacs-without-invisibility): New macro.
1083 (org-xemacs-without-invisibility): New macro.
1084 (org-indent-to-column, org-indent-line-to, org-move-to-column):
1085 Redefine using the macro `org-xemacs-without-invisibility'.
1087 * org.el (org-mode, org-org-menu): Use `add-to-invisibility-spec'.
1089 * org-table.el (orgtbl-mode): Use `add-to-invisibility-spec'.
1091 * org-compat.el (org-make-overlay, org-delete-overlay)
1092 (org-overlay-start, org-overlay-end, org-overlay-put)
1093 (org-overlay-get, org-overlay-move, org-overlay-buffer): Functions
1095 (org-add-to-invisibility-spec): Function removed.
1097 * org-html.el (org-export-as-html-and-open): Add argument to
1100 * org-habit.el (require): `calendar' is now required already by
1101 org.el on top level.
1103 * org-clock.el (require): `calendar' is now required already by
1104 org.el on top level.
1106 * org-agenda.el (require, org-timeline, org-agenda-list)
1107 (org-todo-list, org-agenda-to-appt): `calendar' is now required
1108 already by org.el on top level.
1110 * org.el (org-export-latex-fix-inputenc): Declare function.
1112 * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
1115 * org.el (calendar): Require calendar now on top level in org.el
1116 and define aliases to new variables when needed.
1117 (org-read-date, org-goto-calendar): Do not bind obsolete
1120 * org-clock.el (org-clock-out, org-clock-cancel): Get rid of
1121 compilation warning, add comment that this cannot be done with
1122 `with-current-buffer'.
1124 * org-wl.el (org-wl-open): Use `with-current-buffer'.
1126 * org.el (overlay, org-remove-empty-overlays-at)
1127 (org-outline-overlay-data, org-set-outline-overlay-data)
1128 (org-show-block-all, org-hide-block-toggle)
1129 (org-highlight-new-match, org-remove-occur-highlights)
1130 (org-tags-overlay, org-fast-tag-selection, org-date-ovl)
1131 (org-read-date, org-read-date-display, org-eval-in-calendar)
1132 (org-format-latex, org-context)
1133 (org-speedbar-restriction-lock-overlay)
1134 (org-speedbar-set-agenda-restriction): Use the normal overlay API.
1136 * org-table.el (org-table-add-rectangle-overlay)
1137 (org-table-remove-rectangle-highlight)
1138 (org-table-overlay-coordinates)
1139 (org-table-toggle-coordinate-overlays): Use the normal overlay
1142 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1143 (org-edit-src-exit, org-src-mode-configure-edit-buffer): Use the
1146 * org-colview.el (org-columns-new-overlay)
1147 (org-columns-display-here, org-columns-remove-overlays)
1148 (org-columns-edit-value, org-columns-next-allowed-value)
1149 (org-columns-update): Use the normal overlay API.
1151 * org-clock.el (org-clock-out, org-clock-cancel)
1152 (org-clock-put-overlay, org-clock-remove-overlays): Use the normal
1155 * org-agenda.el (org-agenda-mark-filtered-text)
1156 (org-agenda-mark-clocking-task, org-agenda-fontify-priorities)
1157 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1158 (org-agenda-entry-text-hide)
1159 (org-agenda-restriction-lock-overlay)
1160 (org-agenda-set-restriction-lock)
1161 (org-agenda-filter-by-tag-hide-line)
1162 (org-agenda-fix-tags-filter-overlays-at)
1163 (org-agenda-filter-by-tag-show-all, org-hl)
1164 (org-agenda-goto-calendar, org-agenda-bulk-mark)
1165 (org-agenda-bulk-remove-overlays): Use the normal overlay API.
1167 * org-freemind.el (org-freemind-from-org-mode-node)
1168 (org-freemind-from-org-mode)
1169 (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode): Use
1170 interactive-p instead of called-interactively, because this is
1171 backward compatible with older Emacsen I still support..
1173 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1175 * org-exp.el (org-export-define-heading-targets): Fix bug in
1176 regexp finding ID and CUSTOM_ID properties.
1178 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1180 * org-footnote.el (org-footnote-goto-previous-reference): Rename
1181 from `org-footnote-goto-next-reference'.
1183 * org.el (org-auto-repeat-maybe): Only record LAST_REPEAT if
1184 org-log-repeat is non-nil, or if there is clocking data in the
1187 * org-crypt.el (org-encrypt-entry): Improve mapping behavior.
1189 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1191 * org.el (org-align-all-tags): New command.
1193 2010-07-19 David Maus <dmaus@ictsoc.de>
1195 * org-wl.el (org-wl-link-remove-filter): New customizable
1196 variable. If non-nil, filter conditions are stripped when storing
1197 link to message in filter folder.
1198 (org-wl-shimbun-prefer-web-links): New customizable variable. If
1199 non-nil, links to shimbun messages are created as web links to
1201 (org-wl-nntp-prefer-web-links): New customizable variable. If
1202 non-nil, links to nntp message are created as web links to gmane
1204 (org-wl-namazu-default-index): New customizable variable.
1205 Directory of namazu search index that should be used as default
1206 when opening a link in a search folder.
1207 (org-wl-folder-types): New constant. Wanderlust folder type
1209 (org-wl-folder-type): New function. Return type of Wanderlust
1211 (org-wl-store-link): Create web links for shimbun or nntp messages
1212 and strip filter conditions depending on customizable variables.
1213 (org-wl-open): Open namazu search folder for message when called
1216 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1218 * org.el (org-remove-if, org-remove-if-not): New functions.
1219 (org-open-file): Use internal remove-if functions.
1221 2010-07-19 Jan Böcker <jan.boecker@jboecker.de>
1223 * org.el (org-file-apps-entry-match-against-dlink-p): New function.
1224 (org-file-apps-ex): Remove variable.
1225 (org-open-file): Integrate org-file-apps-ex functionality back
1226 into org-file-apps, and decide whether to match a regexp against
1227 the link or the filename using org-file-apps-entry-uses-grouping-p.
1229 2010-07-19 Jan Böcker <jan.boecker@jboecker.de>
1231 * org.el (org-file-apps-ex): New variable.
1232 (org-open-file): Before considering org-file-apps, first match the
1233 regexps from org-file-apps-ex against the whole link. See
1234 docstring of org-file-apps-ex.
1236 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1238 * org.el (org-export-latex-default-packages-alist): Remove
1240 (org-todo-repeat-to-state): New variable.
1241 (org-auto-repeat-maybe): Allow user-selected target states.
1242 (org-default-properties): Add the new property REPEAT_TO_STATE.
1244 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1246 * org-mobile.el (org-mobile-check-setup): Make sure that there is
1247 a binary to compute checksums.
1249 2010-06-26 Carsten Dominik <carsten.dominik@gmail.com>
1251 * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
1254 * org.el (calendar): Require calendar now on top level in org.el
1255 and define aliases to new variables when needed.
1256 (org-read-date, org-goto-calendar): Do not bind obsolete
1259 2010-06-22 Glenn Morris <rgm@gnu.org>
1261 * org-entities.el: Add explicit utf-8 coding cookie to file with
1264 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1266 * org.el (org-file-complete-link): Avoid (expand-file-name ".").
1268 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
1270 * Version 23.2 released.
1272 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1274 * org-table.el (orgtbl-setup):
1275 * org-agenda.el (org-agenda-entry-text-mode): Simplify.
1277 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1279 * org-table.el (orgtbl-mode): Use define-minor-mode.
1281 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1283 * org.el (org-insert-link): Find the link buffer on visible frames.
1284 (org-export-latex-default-packages-alist): Hyperref must be loaded
1286 (org-open-file): More care with the new matching for file links.
1288 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1290 * org-latex.el (org-export-latex-preprocess): Do not yet protect
1291 defined entities - these will be taken care of later.
1292 (org-export-latex-special-chars): Post-process entity replacement.
1293 (org-export-latex-fontify-headline): Do not yet protect defined
1294 entities - these will be taken care of later.
1295 (org-export-latex-tables, org-export-latex-links): Format the
1298 * org-entities.el (org-entities-user): Fix typo.
1300 * org.el (org-prepare-agenda-buffers): Uniquify TODO keywords.
1302 * org-entities.el (org-entities-user): Improve docstring.
1304 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1306 * org-entities.el (org-macs): Require org-macs, to be sure that we
1307 have `declare-function' defined.
1309 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1311 * org-latex.el (org-export-latex-classes): Update docstring.
1313 * org.el (org-format-latex-header): Add cookies to the header.
1314 (org-splice-latex-header): Implement placement according to cookies.
1316 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1318 * org-publish.el (org-publish-aux-preprocess): Control case
1321 2010-04-10 Bastien Guerry <bzg@altern.org>
1323 * org.el (org-splice-latex-header): Fix typo.
1325 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1327 * org-latex.el (org-export-latex-make-header):
1328 Use `org-splice-latex-header' to build the header.
1329 (org-export-latex-classes): Update docstring.
1331 * org.el (org-splice-latex-header): New function.
1332 (org-create-formula-image): Use `org-splice-latex-header' to build
1335 * org-gnus.el (org-gnus-follow-link): Handle nndoc backend.
1337 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1339 * org.el (org-export-latex-packages-alist)
1340 (org-export-latex-default-packages-alist): Fix docstring to
1341 reflect the expected structure.
1343 * org-docbook.el (org-docbook-do-expand): Fix bug with variable names.
1344 (org-export-docbook-finalize-table): Make use of label for tables.
1346 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1348 * org-attach.el (org-attach-commit): Split on newlines.
1350 * org.el (org-export-latex-default-packages-alist): Use list
1351 instead of cons for the entries.
1353 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1355 * org-entities.el (org-entity-get-representation): Catch the case
1356 that there is not entry in the list.
1358 * org-mobile.el (org-mobile-use-encryption)
1359 (org-mobile-encryption-tempfile, org-mobile-encryption-password):
1361 (org-mobile-check-setup): CHeck the encryption setup.
1362 (org-mobile-copy-agenda-files, org-mobile-sumo-agenda-command)
1363 (org-mobile-create-sumo-agenda): Use encryption code.
1364 (org-mobile-encrypt-and-move): New function.
1365 (org-mobile-encrypt-file, org-mobile-decrypt-file): New
1367 (org-mobile-move-capture): Decrypt the capture file.
1369 * org.el (org-entities): Require the new file.
1370 (org-export-latex-default-packages-alist): New variable.
1371 (org-complete): Use new entity code for completion.
1372 (org-create-formula-image): Use the new packages variable.
1374 * org-latex.el (org-export-latex-classes): Remove the standard
1375 packages from the class headers.
1376 (org-export-latex-make-header): Use the new package variable.
1377 (org-export-latex-special-chars): Better regexp for entities, to
1378 support entity name that contain numbers.
1379 (org-export-latex-treat-backslash-char): Use the new entity code.
1381 * org-html.el (org-html-do-expand): Use the new entity code.
1383 * org-exp.el (org-export): Add the new export commands.
1384 (org-html-entities): Constant removed.
1385 (org-export-visible): Add the new export commands.
1387 * org-docbook.el (org-docbook-do-expand): Use new entity code.
1389 * org-ascii.el (org-export-ascii-entities): New variable.
1390 (org-export-as-latin1, org-export-as-latin1-to-buffer)
1391 (org-export-as-utf8, org-export-as-utf8-to-buffer): New commands.
1392 (org-export-as-encoding): New function.
1393 (org-export-ascii-preprocess): Call `org-ascii-replace-entities'.
1394 (org-ascii-replace-entities): New function.
1396 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1397 Ulf Stegemann <ulf@zeitform.de>
1399 * org-entities.el: New file.
1401 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1403 * org-html.el (org-html-level-start): Catch the case that target
1406 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
1408 * org.el (org-appearance): Change Customize group variable name
1409 from org-font-lock to org-appearance, and change tag from "Org
1410 Font Lock" to "Org Appearance".
1411 (org-odd-levels-only): Change Customize group variable name.
1412 (org-level-color-stars-only): Change Customize group variable name.
1413 (org-hide-leading-stars): Change Customize group variable name.
1414 (org-hidden-keywords): Change Customize group variable name.
1415 (org-fontify-done-headline): Change Customize group variable name.
1416 (org-fontify-emphasized-text): Change Customize group variable name.
1417 (org-fontify-whole-heading-line): Change Customize group variable name.
1418 (org-highlight-latex-fragments-and-specials): Change Customize
1419 group variable name.
1420 (org-hide-emphasis-markers): Change Customize group variable name.
1421 (org-emphasis-alist): Change Customize group variable name.
1422 (org-emphasis-regexp-components): Change Customize group variable
1424 (org-modules): Remove mention of org-R.
1426 * org-faces.el (org-faces): Change Customize group variable name.
1428 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1430 * org-agenda.el (org-diary-last-run-time): New variable.
1431 (org-diary): Prepare agenda buffers only if last call was some
1434 * org-html.el (org-export-html-preprocess): Replace \ref macros
1436 (org-format-org-table-html): Add the label as an anchor.
1438 * org-docbook.el (org-export-docbook-format-image): Do some
1439 formatting on captions.
1441 * org-latex.el (org-export-latex-tables, org-export-latex-links):
1442 Do some formatting on captions.
1444 * org-html.el (org-export-html-format-image)
1445 (org-format-org-table-html): Do some formatting on captions.
1447 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
1449 * org.el (org-hidden-keywords): New customizable variable. This is
1450 a list of symbols specifying which of the special keywords #+DATE,
1451 #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock.
1452 (org-fontify-meta-lines-and-blocks): Changes to font-lock code
1453 implementing new faces and hiding behaviour.
1455 * org-faces.el (org-document-title): New face for #+TITLE lines.
1456 (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines.
1457 (org-document-info-keyword): New face for #+DATE, #+AUTHOR, #+EMAIL
1460 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1462 * org-publish.el (org-publish-sanitize-plist): New function to
1463 rename "index" properties to "sitemap". Do this renaming
1465 (org-publish-with-aux-preprocess-maybe): New macro.
1466 (org-publish-org-to-pdf, org-publish-org-to-html): Use the new
1468 (org-publish-aux-preprocess)
1469 (org-publish-index-generate-theindex.inc): New function.
1471 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1473 * org-table.el (org-table-align): Interpret <N> at fixed width,
1474 not as maximum width.
1476 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1478 * org-exp.el (org-export-author-info, org-export-email-info): Fix
1481 * org-beamer.el (org-beamer-select-environment): Rename from
1482 `org-beamer-set-environment-tag'. Improve docstring.
1484 * org-freemind.el (org-freemind-write-mm-buffer): Fix another
1485 problem with odd levels.
1487 * org-ascii.el (org-export-as-ascii): Export email only if the
1490 * org-docbook.el (org-export-as-docbook): Export email only if the
1493 * org-html.el (org-export-as-html): Export email only if the
1496 * org-exp.el (org-export-email-info): New option.
1497 (org-export-plist-vars): Add entry for `org-export-email'.
1499 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1501 * org-table.el (org-table-goto-line): Fix typo.
1503 2010-04-10 Mikael Fornius <mfo@abc.se>
1505 * org.el (org-agenda-files): Typo.
1506 (org-read-agenda-file-list): Add optional argument to help
1507 `org-store-new-agenda-file-list' to remember un-expanded file
1508 names. Expand file names relative to `org-directory'.
1509 (org-store-new-agenda-file-list): Keep un-expanded file names when
1510 saving, if available.
1511 (org-agenda-files): Update documentation.
1513 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1515 * org-ascii.el (org-export-as-ascii): Catch the case of exporting
1516 a buffer with no file name attached.
1518 * org.el (org-log-refile): New option.
1519 (org-log-note-headings): Add a heading for refiling.
1520 (org-startup-options): Add keywords for logging of the refile
1522 (org-refile): Add logging action.
1523 (org-add-log-note): Allow for refiling action.
1525 * org-agenda.el (org-agenda-bulk-action): Make sure
1526 `org-log-refile' is not `note' during a bulk action.
1528 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1530 * org.el (org-map-dblocks): Use save-excursion to remember the
1533 * org-attach.el (org-attach-commit): Remove dependence on xargs.
1534 (org-attach-delete-one): Commit after deleting a file.
1536 * org-latex.el (org-export-latex-fontify): Do not mistake table.el
1537 borders for strike-through emphasis.
1539 * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
1540 handling of odd levels.
1542 * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
1543 and `future' values.
1544 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
1545 Handle `past' and `future' values.
1547 * org.el (org-read-agenda-file-list): Interpret file names
1548 relative to org-directory and allow environment variables and
1551 * org-latex.el (org-export-latex-special-chars): Allow a
1552 parenthesis before an exponent or subscript.
1554 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
1556 * org-src.el (org-edit-src-exit): When returning from code edit
1557 buffer, if code block is hidden, leave point at start of
1560 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1562 * org.el (org-insert-heading): Do not remove all spaces if the
1565 * org-indent.el (org-indent): Fix group name.
1567 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1569 * org-table.el (org-table-goto-column): Fix forcing a non-existing
1571 (org-table-get, org-table-put, org-table-goto-line)
1572 (org-table-current-line): New functions.
1574 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
1576 * org.el (org-open-file): Allow regular expressions in
1577 org-file-apps to capture link parameters using groups. In a
1578 command string to be executed, the parameters can be referenced
1579 using %1, %2, etc. Lisp forms can access them using
1580 (match-string n link).
1581 (org-apps-regexp-alist): Adopt the created regexp, as this is now
1582 matched against a file: link instead of the file name.
1584 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1586 * org-crypt.el (org-reveal-start-hook): Add a decryption function
1588 (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry): Add
1591 * org.el (org-point-at-end-of-empty-headline)
1592 (org-level-increment, org-get-previous-line-level): New function.
1593 (org-cycle-level): Rewritten to be independent of when this
1595 (org-in-regexps-block-p): New function.
1596 (org-reveal-start-hook): New hook.
1597 (org-reveal): Run new hook.
1599 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1601 * org-latex.el (org-export-latex-keywords): Start a new paragraph
1602 after time keywords, do not add "\newline".
1604 * org-html.el (org-export-as-html): Avoid double # in href.
1606 * org.el (org-refile-get-location): Catch an invalid target
1609 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1611 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
1612 Make sure the behavior regarding to extracting time is
1615 2010-04-10 Stephen Eglen <stephen@gnu.org>
1617 * org-agenda.el (org-agenda-insert-diary-extract-time): New
1619 (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
1620 variable rather than `org-agenda-search-headline-for-time'.
1622 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1624 * org-list.el (org-fix-bullet-type): Improve cursor positioning.
1626 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1628 * org.el (org-adaptive-fill-regexp-backup): New variable.
1629 (org-set-autofill-regexps): Store a backup of
1630 `adaptive-fill-regexp'.
1631 (org-adaptive-fill-function): Fix filling of comments and ordered
1632 lists. If there is no other match, till try adaptive fill.
1634 2010-04-10 John Wiegley <jwiegley@gmail.com>
1636 * org-agenda.el (org-agenda-include-deadlines): Add new
1637 customization variable to determine whether unscheduled tasks
1638 should appear in the agenda solely because of their deadline.
1639 Default to true, which was the previous behavior (it just wasn't
1641 (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
1642 the agenda to show/hide deadline tasks.
1643 (org-agenda-menu): Add menu option for show/hide deadlines.
1644 (org-agenda-list): Make the agenda list sensitive to the value of
1645 `org-agenda-include-deadlines'.
1646 (org-agenda-toggle-deadlines): New function to toggle the value of
1647 `org-agenda-include-deadlines' and repaint the modeline
1649 (org-agenda-set-mode-name): Show "Deadlines" in the agenda
1650 modeline if deadline tasks are being displayed.
1652 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1654 * org-table.el (org-table-eval-formula): Replace $# and @# by
1655 current column and row number.
1657 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1659 * org.el (org-set-property, org-delete-property): Go back to
1660 prompting for the property.
1662 * org-latex.el (org-export-latex-make-header): Fully process
1664 (org-export-latex-fontify-headline): Allow several arguments, not
1666 (org-export-latex-fix-inputenc): Catch the error when
1667 `latexenc-coding-system-to-inputenc' is not defined.
1669 * org-agenda.el (org-agenda-skip-if-todo): New function.
1670 (org-agenda-skip-if): Add conditions for TODO keywords.
1671 (org-agenda-skip-if): Document the new todo conditions.
1673 2010-04-10 Mikael Fornius <mfo@abc.se>
1675 * org.el (org-at-property-p): Check if we are inside a property
1676 drawer not just any drawer.
1677 (org-set-property, org-delete-property): When cursor is on a
1678 property key value pair do not prompt for property name instead
1680 (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
1681 on the first line of a property drawer.
1682 (org-property-end-re): Spell check.
1684 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1686 * org-exp.el (org-export-attach-captions-and-attributes): Add the
1687 properties to the entire table, in case the first line is
1690 * org-archive.el (org-archive-reversed-order): New option.
1691 (org-archive-subtree, org-archive-to-archive-sibling): Use the new
1692 option `org-archive-reversed-order'.
1694 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1696 * org-agenda.el (org-agenda-entry-types): New variable.
1697 (org-agenda-list): Use `org-agenda-entry-types'.
1698 (org-agenda-custom-commands-local-options): Support for setting
1699 `org-agenda-entry-types' as an option.
1700 (org-diary): Shift some documentation from here to the variable
1701 `org-agenda-entry-types'.
1703 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1705 * org-latex.el (org-export-latex-make-header): Apply macros in
1708 * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
1709 (org-clock-select-task, org-clock-notify-once-if-expired)
1710 (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
1711 (org-clock-out-if-current, org-clock-save): Use the new functions.
1713 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1715 * org-docbook.el (org-export-as-docbook): Remove unnecessary
1717 (org-export-as-docbook): Remove unnecessary newline.
1718 (org-export-as-docbook): Fix problem with double footnote
1719 reference in one place.
1721 * org-exp.el (org-export-format-source-code-or-example): Remove
1722 unnecessary newline.
1724 * org.el (org-deadline, org-schedule): Allow rescheduling entries
1727 * org-table.el (org-table-convert-refs-to-rc): Better way to catch
1728 function calls that look like references.
1730 * org.el (org-open-at-point): Get link abbreviations from
1733 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1735 * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
1738 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1740 * org.el (org-link-unescape): Solve issue with lower-case escapes.
1742 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1744 * org-latex.el (org-export-latex-classes): Add
1745 \usepackage{latexsym} to all classes.
1747 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1749 * org-html.el (org-export-as-html): Do not allow protected lines
1750 into the table of contents.
1752 * org-latex.el (org-export-latex-special-chars): Find subsequent
1753 occurrences of special characters.
1754 (org-export-latex-tables): Do not convert table-like stuff that is
1757 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1759 * org-list.el (org-toggle-checkbox): No errors when updating
1760 checkbox count fails because there is no heading.
1762 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1764 * org-clock.el (org-clock-report-include-clocking-task): New
1766 (org-clock-sum): Add the current clocking task.
1768 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1770 * org.el (org-cycle): Print a message when in a table.el table.
1771 (org-edit-special): Recognize the table.el context.
1772 (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
1774 * org-src.el (org-at-table.el-p): Declare.
1775 (org-edit-src-code): Handle a special case for table.el editing.
1776 (org-edit-src-find-region-and-lang): Recognize the table.el
1779 * org-latex.el (org-export-latex-tables): Convert table.el
1781 (org-export-latex-convert-table.el-table): New function.
1783 * org-html.el (org-html-expand): Fix table.el export.
1785 * org-latex.el (org-export-latex-preprocess): Protect footnotes in
1788 * org-id.el (org-id-find-id-file): Fix bug when there is no hash
1789 table for the id locations.
1791 * org.el (org-read-date-analyze): Match American-style dates, like
1792 5/30 or 5/13/7. Make sure cal-iso.el is loaded. Don't force he
1793 current year when reading ISO and American dates.
1795 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1797 * org.el (org-face-from-face-or-color): New function.
1798 (org-get-todo-face, org-font-lock-add-priority-faces)
1799 (org-get-tag-face): Use `org-face-from-face-or-color'.
1801 * org-faces.el (org-todo-keyword-faces, org-priority-faces): Allow
1802 simple colors as values.
1803 (org-faces-easy-properties): New option.
1805 * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
1806 restricted, as an agenda mode.
1807 (org-agenda-fontify-priorities): Allow simple colors as values.
1809 2010-04-10 Bastien Guerry <bzg@altern.org>
1811 * org-timer.el (org-timer-current-timer): Rename from
1812 `org-timer-last-timer'.
1813 (org-timer-timer1, org-timer-timer2, org-timer-timer3): Remove.
1814 (org-timer-cancel-timer, org-timer-show-remaining-time)
1815 (org-timer-set-timer): Update to use only one timer.
1817 * org.el (org-set-property): Remove useless space in the prompt.
1819 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1821 * org-html.el (org-export-html-style-default): Add a default style
1824 * org-exp.el (org-export-format-source-code-or-example): Fix
1827 2010-04-10 Bastien Guerry <bzg@altern.org>
1829 * org-clock.el (org-clock-current-task): New variable to store
1830 last clocked in task.
1831 (org-clock-set-current, org-clock-delete-current): New functions.
1833 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1835 * org-remember.el (org-remember-apply-template): Extend comment.
1836 (org-remember-handler): Implement clock sibling filing.
1838 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1840 * org-publish.el (org-publish-all, org-publish-current-file)
1841 (org-publish-current-project): When called with prefix argument
1842 FORCE, also rebuild the validation file list.
1844 * org-latex.el (org-export-latex-preprocess): Protect footnotes in
1847 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1849 * org-html.el (org-export-as-html-and-open): Kill product buffer
1850 if the user wants that.
1852 * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
1853 if the user wants that.
1855 * org-exp.el (org-export-kill-product-buffer-when-displayed): New
1858 * org-agenda.el (org-batch-agenda-csv): Use the time property
1859 instead of the `time-of-day' property.
1861 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1863 * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
1864 (org-timer-pause-hook, org-timer-set-hook)
1865 (org-timer-cancel-hook): New hooks.
1866 (org-timer-start): Run `org-timer-start-hook'.
1867 (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
1868 (org-timer-stop): Run `org-timer-stop-hook'.
1869 (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
1871 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1873 * org.el (org-reveal): Double prefix arg shows the subtree of the
1876 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1878 * org-agenda.el (org-search-view): Fix bug with searching full
1879 words in headlines in search view.
1880 (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
1881 (org-agenda-get-deadlines): Suppress pre-warning if the entry is
1882 scheduled (if the user configures it so.
1884 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1886 * org.el (org-hide-archived-subtrees): Don't jump to end of
1887 subtree if the match was not in a headline.
1888 (org-inside-latex-macro-p): Allow more complex arguments.
1889 (org-emphasize): Protect against use at end of buffer.
1891 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1893 * org-agenda.el (org-agenda-align-tags): Avoid side effects on
1896 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1898 * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
1900 (org-agenda-todo-ignore-scheduled)
1901 (org-agenda-todo-ignore-deadlines): More control with different
1903 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
1904 Honor the new option settings.
1906 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1908 * org.el (org-get-location): Make sure the selection buffer is
1909 shown in the current frame.
1911 * org-ascii.el (org-export-ascii-table-widen-columns): New
1913 (org-export-ascii-preprocess): Realign tables to remove narrowing
1914 if `org-export-ascii-table-widen-columns' is set.
1916 * org-table.el (org-table-do-narrow): New variable.
1917 (org-table-align): Narrow only if `org-table-do-narrow' is t.
1919 * org.el (org-deadline, org-schedule): Allow updating if the
1920 relevant time stamp does not have a repeater, i.e. do not require
1921 that no time stamp has a repeater.
1923 * org-agenda.el (org-agenda-align-tags): Don't add a face to the
1924 new white space before the tags.
1926 * org-latex.el (org-export-as-latex): Do nit require the buffer to
1927 be visiting a file when only exporting to a buffer or string.
1928 (org-export-latex-fix-inputenc): Only save the buffer is there is
1929 a file name attached to it.
1931 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
1933 * org-src.el (org-edit-src-exit): Widen before exiting edit buffers.
1935 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1937 * org.el (org-fontify-meta-lines-and-blocks): Honor
1938 `org-fontify-quote-and-verse-blocks'.
1940 * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
1942 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1944 * org.el (org-open-at-point): Also check for text property
1945 org-linked-text before offering collected links.
1947 2010-04-10 Stephen Eglen <stephen@gnu.org>
1949 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
1950 Optionally extract time specification from text and add to the
1953 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1955 * org-exp.el (org-html-entities): Fix typo.
1957 * org-latex.el (org-export-latex-make-header): Use \providecommand
1958 to make sure the \alert macro is defined.
1960 * org.el (org-format-latex-signal-error)
1961 (org-create-formula-image): Use `org-format-latex-signal-error'.
1963 2010-04-10 Stephen Eglen <stephen@gnu.org>
1965 * org.el (org-store-link): For dired buffers, use
1966 default-directory as link name if dired-get-filename returns
1969 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1971 * org-exp.el (org-export-concatenate-multiline-links): The for
1972 protectedness at beginning of match.
1974 * org-latex.el (org-export-latex-fix-inputenc): Never leave the
1975 AUTO as a coding system, instead default to utf8.
1977 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1979 * org.el (org-block-todo-from-children-or-siblings-or-parent)
1980 (org-block-todo-from-checkboxes): Respect the local variable
1981 value when deciding if blocking should be active.
1983 * org-latex.el (org-export-latex-make-header): Define the align
1984 macro if it is not yet defined.
1986 * org-agenda.el (org-agenda-insert-diary-make-new-entry): Call
1987 `org-insert-heading' with the INVISIBLE-OK argument.
1989 * org-mac-message.el (org-mac-message-insert-flagged): Call
1990 `org-insert-heading' with the INVISIBLE-OK argument.
1992 * org.el (org-insert-heading): New argument INVISIBLE-OK.
1994 * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
1997 * org-html.el (org-html-level-start): Use the
1998 `html-container-class' text property to set an additional class
1999 for an outline container.
2001 * org-exp.el (org-export-remember-html-container-classes): New
2003 (org-export-preprocess-string): Call
2004 `org-export-remember-html-container-classes'.
2006 * org.el (org-cycle): Mention level cycling in the docstring.
2007 (org-default-properties): Add new property HTML_CONTAINER_CLASS.
2009 * org-remember.el (org-remember-apply-template): Do file insertion
2012 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2014 * org-habit.el (org-habit-insert-consistency-graphs): Fix a
2015 problem with mis-aligned graphs when showing habits.
2017 2010-04-10 Mikael Fornius <mfo@abc.se>
2019 * org.el (org-assign-fast-keys): Prefer keys used in keyword name
2020 when assigning. Begin using numerical characters when all in name
2021 is used up. This is to spare alphanumeric characters for better
2022 match with other keywords.
2024 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2026 * org-exp.el (org-export-preprocess-hook): Improve documentation.
2028 * org-latex.el (org-export-latex-preprocess): More consistent
2029 conversion and protection of the words LaTeX and TeX.
2030 (org-export-latex-fontify-headline, org-export-latex-preprocess):
2031 Allow angle brackets in commands, for beamer.
2033 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2035 * org-clock.el (org-clock-in): Improve the look of the clock line
2036 by formatting links.
2038 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2040 * org-latex.el (org-export-latex-classes): Use AUTO as the place
2041 holder string for the coding system. And improve the
2043 (org-export-latex-fix-inputenc): Only modify the coding system if
2044 it is given by the placeholder AUTO.
2046 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2048 * org-clock.el (org-task-overrun-text): New option.
2049 (org-task-overrun, org-clock-update-period): New variables.
2050 (org-clock-get-clock-string, org-clock-update-mode-line): Mark
2052 (org-clock-notify-once-if-expired): Check if clock is overrun.
2054 * org-faces.el: New face `org-mode-line-clock-overrun'.
2056 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
2058 * org.el (org-narrow-to-subtree): Position the end of the narrowed
2059 region before the line with the next heading, to prevent the user
2060 from prepending text to the next headline.
2062 2010-04-10 Stephen Eglen <stephen@gnu.org>
2064 * org-agenda.el (org-get-time-of-day): Use
2065 org-agenda-time-leading-zero to allow leading zero (rather than
2068 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2070 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
2071 org-datetree.el is loaded.
2073 * org-datetree.el: Autoload `org-datetree-find-day-create'.
2075 * org-latex.el (org-export-latex-hyperref-format): New option.
2076 (org-export-latex-links): Use `org-export-latex-hyperref-format'.
2078 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2080 * org-ctags.el (org-ctags-enable): Change order of functions.
2081 (org-ctags-create-tags): Add wildcard to file name expansion.
2083 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2085 * org.el (org-entry-properties): Fix some important bugs.
2087 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2089 * org.el (org-link-unescape, org-link-escape): Only use hexlify if
2090 the table is not explicitly given.
2092 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2094 * org-clock.el (org-clock-out-when-done): Allow a list of keywords
2096 (org-clock-out-if-current): Work with the new list value of
2097 `org-clock-out-when-done'.
2098 (org-clock-out, org-clock-out-if-current): Avoid circular logic
2099 between clocking out and state changes.
2101 * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
2103 * org-latex.el (org-export-latex-treat-backslash-char): Do not by
2104 accident protect a character that is before a backslash.
2106 2010-04-10 Paul Sexton <eeeickythump@gmail.com>
2108 * org-ctags.el: New file.
2110 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2112 * org-agenda.el (org-diary-class): Use
2113 `org-order-calendar-date-args'.
2115 * org.el (org-order-calendar-date-args): New function.
2117 * org-exp.el (org-export-target-internal-links): Check for
2118 protectedness after the first bracket.
2120 * org.el (org-entry-properties): Don't match wrong-case TODO
2123 * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
2124 Document that ARG is passed through to remove the date.
2125 (org-agenda-bulk-action): Accept prefix arg and pass it on. Do
2126 not read a date when the user has given a `C-u' prefix.
2128 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2130 * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
2133 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2135 * org-latex.el (org-export-latex-fix-inputenc): New function.
2136 (org-export-latex-inputenc-alist): New option.
2138 * org-exp.el (org-export): New key SPC to publish enclosing
2141 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2143 * org-indent.el (org-indent-add-properties): Catch case when there
2144 is no headline in the buffer.
2146 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2148 * org-exp.el (org-html-entities): Add checkmark symbol.
2150 * org-ascii.el (org-export-ascii-preprocess): Protect targets in
2151 verbatim code for ASCII export.
2153 * org.el (org-update-statistics-cookies): Also see checkboxes in
2156 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2158 * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
2161 * org-beamer.el (org-beamer-amend-header): Change the location
2162 where `org-beamer-header-extra' is inserted.
2164 * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
2165 just for computing this regexp.
2167 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2169 * org-beamer.el (org-beamer-frame-default-options): New option.
2170 (org-beamer-sectioning): Use default options if the user does not
2172 (org-beamer-fix-toc): Put a frame around the table of contents.
2174 * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
2175 sure case-folding works well when processing comment stuff.
2177 * org-latex.el (org-export-latex-after-save-hook): New hook.
2178 (org-export-as-latex): Run the new hook.
2180 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2182 * org-beamer.el (org-beamer-environments-default): Add the note
2184 (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
2185 lines and collect and combine the content.
2186 (org-beamer-after-initial-vars): Check for note tags and make sure
2187 they will be seen like a property.
2189 * org.el (org-offer-links-in-entry): Fix bug when there is a
2192 * org-exp.el (org-export): Make sure the mark is activated, also
2193 when `transient-mark-mode' is off.
2195 * org-agenda.el (org-agenda-search-view-always-boolean): New option.
2196 (org-agenda-search-view-search-words-only): Obsolete variable, is
2197 now an alias for `org-agenda-search-view-always-boolean'.
2198 (org-agenda-search-view-force-full-words): New option.
2199 (org-search-view): Improve docstring, and implement a better logic
2200 for Boolean and phrase searches.
2201 (org-agenda-last-search-view-search-was-boolean): New variable.
2202 (org-agenda-manipulate-query): Consider the type of the last
2203 search when modifying the search string.
2205 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2207 * org-latex.el (org-export-as-latex): Do the first letbind in the
2210 * org-agenda.el (org-get-entries-from-diary): Add the new face to
2213 * org-faces.el (org-agenda-diary): New face.
2215 * org.el (org-make-link-regexps): Allow regexp-special characters
2217 (org-open-file): When in-emacs is `system', also force system
2218 opening, like when the value was `(16)'.
2219 (org-update-statistics-cookies): Handle entries without children.
2222 (org-export-preprocess-before-normalizing-links-hook): New hook.
2223 (org-export-preprocess-string): Run the new hook.
2225 * org.el (org-offer-links-in-entry): Make RET open all links.
2227 * org-html.el (org-export-as-html): Remove any leftover display
2228 properties in the html file.
2230 * org-wl.el (org-wl-store-link): Work-around for format bug with
2233 * org-habit.el (org-habit-insert-consistency-graphs): Turn off
2234 invisibility while adding the graphs.
2236 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2238 * org-remember.el (org-select-remember-template): Use C letter to
2239 customize remember templates.
2241 * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
2242 Move cursor to next visible line.
2244 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2246 * org-beamer.el (org-beamer-sectioning): Leave columns environment
2247 by specifying 0 or 1 for column width.
2248 (org-beamer-column-widths): Make 0 stand for 0.0.
2250 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2252 * org-exp.el (org-export-mark-radio-links): Don't match inside
2255 * org.el (org-format-latex-header-extra): New variable.
2256 (org-format-latex): Set org-format-latex-header-extra from
2258 (org-format-latex): Add org-format-latex-header-extra to the
2259 variables on which image creation depends.
2260 (org-create-formula-image): Add the header stuff from in-buffer
2262 (org-read-date-analyze): Base the analysis for future preference
2263 on NOW, not on the default date.
2265 * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
2266 for TODO keyword in inline tasks.
2268 * org.el (org-log-note-headings): New headings for removing
2269 deadline or scheduling date.
2270 (org-deadline, org-schedule): Arrange for logging when removing a
2272 (org-add-log-note): Handle deadline and scheduling removal.
2274 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2276 * org-exp.el (org-export-visible): Add LaTeX/pdf export.
2278 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2280 * org-agenda.el (org-diary-class): New function.
2282 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2284 * org-latex.el (org-export-latex-preprocess): Do process the text
2287 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2289 * org.el (org-entry-properties): Add TIMESTAMP properties back
2292 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2294 * org.el (org-all-time-keywords): New variable.
2295 (org-set-regexps-and-options): Set `org-all-time-keywords'.
2296 (org-entry-blocked-p): New function.
2297 (org-special-properties): Add BLOCKED as a new special property.
2298 (org-entry-properties): New optional argument SPECIFIC, only parse
2299 for this property when it is specified.
2300 (org-entry-get): Pass a SPECIFIC argument to
2301 `org-entry-properties'.
2303 * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
2305 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2307 * org-latex.el (org-export-latex-tables): No forced line end if
2308 there is no caption.
2310 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2312 * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
2315 * org-latex.el (org-export-latex-tables): Only add a caption when
2316 macro in in longtable environments if one has been defined.
2318 * org-html.el (org-export-as-html): Only take title from buffer if
2319 not exporting body-only.
2321 * org-latex.el (org-export-latex-preprocess): Better version of
2322 the regular expression for protecting LaTeX macros.
2323 (org-export-latex-preprocess): Start searching for macros to
2324 protect from beginning of buffer.
2326 * org-exp.el (org-export-target-internal-links): Check for
2327 protectedness earlier in the string.
2329 * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
2332 * org-id.el (org-id-store-link): Match TODO keywords case
2335 * org.el (org-heading-components, org-get-outline-path)
2336 (org-display-outline-path): Match TODO keywords case sensitively.
2338 * org-latex.el (org-export-as-latex): Ignore read-only
2341 * org-exp.el (org-export-preprocess-string): Remove any
2342 `read-only' properties.
2344 * org-agenda.el (org-agenda-inactive-leader): New option.
2345 (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
2346 (org-tags-view): Prompt for matcher if MATCH is an empty string.
2347 (org-todo-list): Prompt for matcher if ARG is an empty string.
2349 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2351 * org.el (org-open-link-functions): New hook.
2352 (org-open-at-point): Run `org-open-link-functions'.
2354 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2356 * org-agenda.el (org-agenda-date-prompt): Allow inactive time
2359 * org.el (org-inhibit-startup-visibility-stuff): New variable.
2360 (org-mode): Don't do startup visibility if inhibited.
2361 (org-outline-overlay-data, org-set-outline-overlay-data): New
2363 (org-save-outline-visibility): New macro.
2364 (org-log-note-headings): Document that one should not change the
2365 `state' note format.
2367 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2369 * org.el (org-make-link-regexps): Capture link path into a group.
2371 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2373 * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
2376 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2378 * org.el (org-startup-with-beamer-mode): New option.
2379 (org-property-changed-functions)
2380 (org-property-allowed-value-functions): New hooks.
2381 (org-entry-put, org-property-get-allowed-values): Run the new
2383 (org-property-next-allowed-value): Run the new hooks.
2385 * org-exp.el (org-export-select-backend-specific-text): Add the
2386 special beamer tags.
2388 * org-beamer.el: New file.
2390 * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
2391 (org-export-as-latex): Run
2392 `org-export-latex-after-initial-vars-hook'.
2393 (org-export-latex-format-toc-function)
2394 (org-export-latex-make-header): Call
2395 `org-export-latex-format-toc-function'.
2397 * org.el (org-fill-template): Make template searches case sensitive.
2399 * org-exp.el (org-export): Use "1" as a sign to export only the
2402 * org-colview-xemacs.el (org-columns-edit-value): Use
2403 org-unrestricted property.
2405 * org-colview.el (org-columns-edit-value): Use
2406 org-unrestricted property.
2408 * org.el (org-compute-property-at-point): Set org-unrestricted
2409 text property if the list contains ":ETC".
2410 (org-insert-property-drawer): Use
2411 org-unrestricted property.
2414 (org-export-preprocess-before-selecting-backend-code-hook): New hook.
2415 (org-export-preprocess-string): Run
2416 `org-export-preprocess-before-selecting-backend-code-hook'.
2418 * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
2420 * org-latex.el (org-export-region-as-latex): Run
2421 `org-export-first-hook'.
2423 * org-html.el (org-export-as-html): Run `org-export-first-hook'.
2425 * org-docbook.el (org-export-as-docbook): Run
2426 `org-export-first-hook'.
2428 * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
2430 * org-exp.el (org-export-first-hook): New hook.
2432 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2434 * org-list.el (org-previous-item): Exit at the beginning of the
2437 * org-id.el (org-id-locations-save): Only write the id locations
2440 * org-archive.el (org-archive-all-done): Make this work in a file
2441 with org-odd-levels-only set.
2443 * org.el (org-get-refile-targets): Catch the case when a buffer
2446 * org-latex.el (org-export-as-latex): Cleanup forced line ends
2447 where they are not needed.
2448 (org-export-latex-subcontent): Remove unnecessary newlines.
2450 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2452 * org-latex.el (org-export-latex-make-header): Remove \obeylines.
2453 (org-export-latex-fontify): Fix regexp bug that takes special
2454 care of protecting the right boundary characters in emphasis
2456 (org-export-latex-preprocess): Allow multiple arguments to latex
2459 * org.el (org-make-link-regexps): Use John Gruber's regexp for
2462 * org-macs.el (org-re): Interpret :punct: in regexps.
2464 * org-exp.el (org-export-replace-src-segments-and-examples): Also
2465 take the final newline after the END line.
2467 * org.el (org-clean-visibility-after-subtree-move): Only fix
2468 entries that are not entirely invisible already.
2469 (org-insert-link): Respect org-link-file-path-type for
2470 "docview:" links in addition to "file:" links.
2472 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2474 * org-exp.el (org-export-format-source-code-or-example): Avoid
2475 additional extra white lines in LaTeX.
2477 * org-list.el (org-list-parse-list): Leave empty lines after the
2478 list, don't consider them as part of the list.
2480 * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
2483 * org-clock.el (org-clock-select-task): Convert integer to
2484 character for XEmacs.
2486 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2488 * org-clock.el (org-clock-resolve): Make reading a char XEmacs
2491 2010-04-10 Tassilo Horn <tassilo@member.fsf.org>
2493 * org.el (org-complete-tags-always-offer-all-agenda-tags): New
2495 (org-set-tags): Use it.
2497 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2499 * org-list.el (org-empty-line-terminates-plain-lists): Update
2502 * org.el (org-format-latex): Fix link creation for processed latex
2505 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2507 * org-footnote.el (org-footnote-normalize): Protect replacement
2510 * org.el (org-inside-latex-macro-p): Save match data.
2512 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
2514 * org-docview.el: New file.
2516 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2518 * org-latex.el (org-export-latex-class-options): New variable.
2519 (org-export-latex-set-initial-vars): Use the class options.
2521 * org.el (org-forward-same-level): Stop at headings that start
2522 with an invisible character.
2523 (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
2525 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2527 * org-footnote.el (org-footnote-normalize): Don't take optional
2528 arguments in LaTeX macros as footnotes.
2530 * org.el (org-inside-latex-macro-p): New function.
2532 * org-latex.el (org-latex-to-pdf-process): Change customization
2533 group to `org-export-pdf'.
2535 * org-agenda.el (org-agenda-get-blocks): Look at time string also
2536 on days after the first one.
2538 * org.el (org-insert-heading): Also check for item before assuming
2539 before-first-heading condition.
2541 * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
2542 (org-export-pdf-logfiles): New option.
2543 (org-export-as-pdf): Use `org-export-pdf-logfiles'.
2544 (org-export-pdf-logfiles): Fix customization type.
2546 * org.el (org-insert-link): Improve error message when there is no
2547 default link to select with RET.
2549 * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
2552 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2554 * org-latex.el (org-export-latex-parse-global)
2555 (org-export-latex-parse-content)
2556 (org-export-latex-parse-subcontent): Use
2557 `org-re-search-forward-unprotected'.
2558 (org-export-as-pdf): Remove log files produced by XeTeX.
2560 * org-macs.el (org-re-search-forward-unprotected): New function.
2562 2010-04-10 James TD Smith <ahktenzero@mohorovi.cc>
2564 * org-colview.el (org-agenda-colview-summarize): Sort out some
2565 confusion between properties and titles, which resulted in
2566 agenda summaries not working if a title was set for a column.
2568 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2570 * org-mobile.el (org-mobile-agendas): New option.
2571 (org-mobile-sumo-agenda-command): Select the right agendas.
2573 * org-latex.el (org-export-latex-format-image): Preserve the
2574 original-indentation property.
2576 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2578 * org-clock.el (org-clock-insert-selection-line): Catch error when
2579 an old tasks no longer exists.
2581 * org-latex.el (org-export-as-pdf): Remove also the .idx file.
2582 (org-export-as-pdf): Don't remove the old PDF file before making
2585 * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
2586 (org-mouse-context-menu): Use `org-looking-back'.
2588 * org.el (org-cycle-level): Use `org-looking-back'.
2590 * org-list.el (org-cycle-item-indentation): Use
2593 * org-compat.el (org-looking-back): New function.
2595 * org.el (org-insert-heading): Catch before-first-headline when
2596 inserting a headline.
2598 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2600 * org-latex.el (org-export-latex-format-image): Indent figure
2601 environment, so that it does not interrupt plain list.
2603 * org.el (org-open-at-point): Allow long link descriptions.
2605 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2607 * org-html.el (org-export-as-html): Remove empty lines at the
2608 beginning of the exported text.
2610 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
2612 * org.el (org): Remove from hypermedia group.
2614 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
2618 2010-02-15 Chong Yidong <cyd@stupidchicken.com>
2620 * org-freemind.el (org-freemind-from-org-mode-node)
2621 (org-freemind-from-org-mode)
2622 (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
2623 Pass arg to called-interactively-p.
2625 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
2627 * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten):
2628 Fix typos in docstrings.
2630 2010-01-01 Juanma Barranquero <lekktu@gmail.com>
2632 * org.el (org-get-outline-path, org-speed-command-help):
2633 Fix typos in error messages.
2635 2009-12-14 Juri Linkov <juri@jurta.org>
2637 * org-html.el (org-export-html-style-include-default):
2638 Put `safe-local-variable booleanp' on
2639 `org-export-html-style-include-default' instead of mistakenly
2640 duplicate `org-export-html-style'.
2642 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
2644 * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
2645 agenda after adding new entry.
2647 * org-datetree.el (org-datetree-find-day-create): Fix regular
2650 * org.el (org-display-outline-path): Use a format specifier for
2651 message, to avoid problems with heading containing `%'.
2653 * org-agenda.el (org-agenda-hide-tags-regexp): New option.
2654 (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
2655 (org-agenda-fix-displayed-tags): New function.
2656 (org-agenda-do-context-action): Just call
2657 `org-display-outline-path', without piping the result through
2660 * org-latex.el (org-export-latex-preprocess): Protect secondary
2661 footnote references.
2663 * org-indent.el (org-indent-initialize): Avoid empty strings as
2666 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
2667 hat checking for the mark does not throw an error.
2668 (org-agenda-diary-entry-in-org-file): Catch the case that there is
2669 not `day' text property in the cursor line.
2671 * org.el (org-sort-entries-or-items): Make sure that the final
2672 entry has a newline before doing the sorting.
2674 * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
2675 property at the beginning of the line.
2677 * org.el (org-make-link-string): Don't allow a description with
2680 * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
2681 (org-agenda-insert-diary-as-top-level): New function.
2682 (org-agenda-add-entry-to-org-agenda-diary-file): Call
2683 `org-agenda-insert-diary-as-top-level'.
2685 * org.el (org-occur-in-agenda-files): Make sure none of the
2686 buffers is narrowed.
2687 (org-activate-plain-links): Add the face property here.
2688 (org-set-font-lock-defaults): Do not add the face to plain links,
2689 the activator function does this.
2691 * org-habit.el (org-is-habit-p): Add doc string.
2693 * org-archive.el (org-archive-subtree-default-with-confirmation):
2696 * org-latex.el (org-export-latex-fontify): Fix regexp to make char
2697 after match optional (happens at the end of a line...).
2699 * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
2702 * org-faces.el (org-copy-face): Set lisp indentation.
2703 (org-quote, org-verse): New faces.
2705 * org-agenda.el (org-agenda-remove-date): Remove variable.
2707 * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
2709 * org-html.el (org-export-as-html): Move the home/up link into
2712 * org.el (org-export-latex-packages-alist): Option definition
2713 moved here from org-latex.el.
2715 * org-html.el (org-export-html-home/up-format): Add an ID to the
2718 * org-wl.el (org-wl-store-link): Handle the case that
2719 `wl-use-petname' is set.
2721 * org.el (org-set-effort): Improve prompt.
2722 (org-get-outline-path): Widen to get full path.
2723 (org-compact-display-after-subtree-move): Function removed.
2725 2009-11-20 Eric Schulte <schulte.eric@gmail.com>
2727 * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
2728 hash keys to cache and re-use images generated by the
2729 org-exp-blocks interface to ditaa and dot.
2731 * org.el (org-format-latex): Latex images are now saved to files
2732 named by the sha1 hash of the latex source text avoiding
2733 regeneration of identical images.
2735 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
2737 * org-latex.el (org-export-as-latex): Add the :drawers property.
2739 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
2741 * org.el (org-speed-commands-user): Allow documentation headlines.
2742 (org-speed-commands-default): Organize the value of this constant
2743 with descriptive headlines.
2744 (org-print-speed-command): Output the headlines.
2746 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
2748 * org-agenda.el (org-agenda-show-outline-path): New option.
2749 (org-agenda-do-context-action): New function.
2750 (org-agenda-next-line, org-agenda-previous-line): Use
2751 `org-agenda-do-context-action'.
2753 * org.el (org-use-speed-commands): Allow function value.
2754 (org-speed-commands-default): Make headline motion safe, so that
2755 these commands always end on a headline.
2756 (org-speed-commands-default): New key `v' for `org-agenda'.
2757 (org-speed-move-safe): New function.
2758 (org-self-insert-command): Use the function value of
2759 `org-use-speed-commands'.
2760 (org-get-outline-path): Improve docstring.
2761 (org-format-outline-path): New function.
2762 (org-display-outline-path): New function.
2764 2009-11-15 John Wiegley <jwiegley@gmail.com>
2766 * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
2767 a string, use that to find the LOGBOOK drawer.
2769 2009-11-15 Glenn Morris <rgm@gnu.org>
2771 * org-agenda.el (org-datetree-find-date-create)
2772 (org-habit-get-priority):
2773 * org.el (org-format-agenda-item): Fix declarations.
2775 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2777 * org.el (org-clone-subtree-with-time-shift): Make it work at the
2780 * org-mobile.el (org-mobile-write-checksums): Specify coding
2782 (org-mobile-timestamp-buffer): Keep local variable/mode line at
2783 beginning of buffer.
2785 * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
2787 * org.el (org-block-todo-from-children-or-siblings-or-parent)
2788 (org-block-todo-from-checkboxes): Do not block changes to a nil
2791 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
2793 * org-habit.el (org-habit-parse-todo): Indicate which habit is
2794 wrongly set up in the error messages.
2796 * org-colview.el (org-columns-display-here): Don't try to
2797 calculate values if the underlying property is not set.
2798 (org-columns-string-to-number): Convert age strings back into
2800 (org-agenda-colview-summarize): Handle extended summary types
2803 * org-colview-xemacs.el (org-columns-display-here): Don't try to
2804 calculate values if the underlying property is not set.
2805 (org-columns-string-to-number): Convert age strings back into
2807 (org-agenda-colview-summarize): Handle extended summary types
2810 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2812 * org-exp.el (org-export-format-drawer-function): New variable.
2813 (org-export-format-drawer): New function.
2814 (org-export-preprocess-string): Pass the backend as a parameter to
2815 `org-export-remove-or-extract-drawers'.
2816 (org-export-remove-or-extract-drawers): New parameter BACKEND.
2818 * org-protocol.el (org-protocol-char-to-string): New defsubst.
2820 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2822 * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
2823 message when no block is selected.
2825 * org-latex.el (org-export-latex-links): Check for protectedness
2826 in the last matched character, not after the match.
2828 * org-datetree.el (org-datetree-find-date-create): Respect
2829 restriction when KEEP-RESTRICTION is set.
2830 (org-datetree-file-entry-under): New function.
2831 (org-datetree-cleanup): New command.
2833 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
2835 * org-src.el (org-edit-src-code): New optional argument context
2836 allows calling functions to avoid altering the saved window
2838 (org-edit-src-exit): Do not restore window configuration when this
2839 function is used in the context of saving the edit buffer.
2841 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2843 * org-clock.el (org-clock-out, org-clock-cancel): Revert to
2844 instances to switching to with-current-buffer, because these seem
2845 to cause problems - no idea why.
2847 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
2848 Require diary-lib for (diary-date-display-form).
2850 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2852 * org.el (org-log-reschedule, org-log-redeadline): New options.
2853 (org-log-note-headings): Add templates for rescheduling and
2855 (org-startup-options): Add in-buffer settings for logging changing
2856 schedule and deadline time stamps.
2857 (org-deadline, org-schedule): Check for existing date and arrange
2858 for logging if the user requests it.
2859 (org-add-log-note): Prepare proper note buffers for rescheduling
2860 and deadline changes.
2862 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2864 * org-agenda.el (org-agenda-diary-entry-in-org-file)
2865 (org-agenda-add-entry-to-org-agenda-diary-file)
2866 (org-agenda-insert-diary-make-new-entry): New functions.
2867 (org-agenda-diary-entry): Call
2868 `org-agenda-diary-entry-in-org-file' when appropriate.
2870 * org.el (org-calendar-insert-diary-entry-key): New option.
2871 (org-agenda-diary-file): New option.
2872 ("calendar"): Install our insertion function in the calendar.
2874 * org-remember.el (org-datetree): Require.
2875 (org-remember-templates): Add new positioning option.
2876 (org-remember-reference-date): New variable.
2877 (org-remember-apply-template): Store the reference date in a local
2879 (org-remember-handler): Implement date tree positioning of entries.
2881 * org-datetree.el: New file.
2883 * org-latex.el (org-export-latex-preprocess): Protect targets in
2886 * org-html.el (org-export-as-html): Protect targets in verbatim
2889 * org-docbook.el (org-export-as-docbook): Protect targets in
2892 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2894 * org-clock.el (org-show-notification): Handle messages that
2895 contain a percent character.
2897 * org-remember.el (org-remember-apply-template): Turn of partial
2900 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
2901 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
2903 * org.el (org-indent-mode): Define variable already in org.el.
2904 (org-unfontify-region): Remove line-prefix and wrap-prefix
2905 properties only if org-indent-mode is active.
2907 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2909 * org-icalendar.el (org-print-icalendar-entries): Save match data
2910 around call to verify function.
2911 (org-print-icalendar-entries): Add a call to the verification
2914 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
2915 save-restrivtion' form.
2917 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
2919 * org-exp.el (org-export-format-source-code-or-example): Restrict
2920 scope of preserve-indentp to the let binding.
2921 (org-src): Require org-src, since org-src-preserve-indentation is used.
2923 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2925 * org-timer.el (org-timer-set-timer): Set variables
2926 org-timer-timer[123] correctly.
2928 * org-mobile.el (org-mobile-files-alist): Make it work when
2929 `agenda-archives' is included in
2930 `org-agenda-text-search-extra-files'.
2931 (org-mobile-push): Restore agenda after mobile push.
2933 2009-11-13 John Wiegley <jwiegley@gmail.com>
2935 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
2936 way the amount of idle time is presented in the minibuffer.
2938 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2940 * org-icalendar.el (org-print-icalendar-entries): Use
2941 org-icalendar-verify-function only if non-nil.
2943 * org.el (org-refile): Refile to clock only if the prefix arg is
2945 (org-sparse-tree): Fix docstring to be in line with prompt.
2946 (org-update-parent-todo-statistics): Call
2947 `org-after-todo-statistics-hook' on each level.
2949 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2951 * org-remember.el (org-remember-apply-template): Make sure the
2954 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2956 * org.el (org-tab-ind-state): New variable.
2957 (org-cycle-level): New function.
2958 (org-cycle-level-after-item/entry-creation): New option.
2959 (org-flag-subtree): New function.
2960 (org-hide-archived-subtrees): Call `org-flag-subtree'.
2961 (org-set-effort): Indexed access.
2963 * org-list.el (org-cycle-item-indentation): New function.
2965 * org.el (org-refile): Make prefix argument 2 refile to current
2967 (org-priority): Interpret action `remove' as call to remove the
2970 * org-remember.el (org-remember-apply-template): Don't depend on
2971 buffer name being like file name.
2973 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2975 * org-clock.el (org-clock-play-sound): Expand file in
2976 org-clock-sound, to allow ~ for home.
2978 * org-remember.el (org-remember-handler): Set
2979 text-before-node-creation even if this already looks like a node,
2980 because the string might be needed on non-org-mode target files.
2982 * org-agenda.el (org-agenda-open-link): Make this work in agenda
2984 (org-agenda-switch-to): Follow a link at point if
2985 org-return-follows-link' is set and there is nothing else to do in
2988 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
2990 * org-colview-xemacs.el: Add in changes from org-colview.el.
2992 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
2994 * org-exp-blocks.el: Modify split separator regexp to avoid empty
2997 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
2999 * org-colview.el (org-columns-new): Make this work with the new
3001 (org-columns-store-format): Make this work with the new operators.
3003 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3005 * org-src.el (org-src-preserve-indentation): Document that this
3006 variable is also used during export.
3008 * org-exp.el (org-export-format-source-code-or-example): Preserve
3009 indentation if a block has a -i option, or if
3010 `org-src-preserve-indentation' is set.
3012 * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
3013 indentation if a block has a -i option, or if
3014 `org-src-preserve-indentation' is set.
3016 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3018 * org.el (org-mode-map): Define the new archiving keys.
3019 (org-speed-commands-default): Define an archiving key in the speed
3021 (org-org-menu): Improve the menu structure concerning archiving.
3023 * org-archive.el (org-archive-subtree-default-with-confirmation):
3026 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
3027 (org-agenda-menu): Add the new archiving commands to the menu.
3028 (org-agenda-archive-default)
3029 (org-agenda-archive-default-with-confirmation): New commands.
3030 (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
3031 call `org-agenda-archive-with'.
3032 (org-agenda-archive-with): New function.
3034 * org-table.el (org-table-convert-region): Inert spaces around "|"
3035 to avoid line beginnings like "|-1" which will be mistaken as
3038 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3040 * org.el (org-offer-links-in-entry): Return nil if there are no
3041 links, t if a link has been selected.
3042 (org-open-at-point): Open attachment directory when called in the
3043 headline and there are no links in the entry body.
3044 (org-speed-commands-default): Add "o" for open-at-point as a speed
3047 * org-attach.el (org-attach-reveal): Optional prefix arg
3048 IF-EXISTS, which avoids creating the attachment directory if it
3051 * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
3054 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3056 * org.el ("abbrev"): Work with abbrev tables only after they have
3059 * org-list.el (org-list-send-list): Fix bug related to match
3062 * org-latex.el (org-export-latex-fontify): Apply verbatim
3064 (org-export-latex-make-header): Insert \obeylines if line breaks
3065 should be preserved.
3067 * org-exp.el (org-export-protect-verbatim): Add an
3068 `org-verbatim-emph' property to such text.
3070 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3072 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
3073 (org-print-icalendar-entries): Skip entries where the timestamp is
3074 not a deadline and not scheduled, if the user requests that.
3076 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
3077 before an opening quote.
3079 * org-archive.el (org-archive-subtree): Keep archive after
3080 archiving something.
3082 * org-id.el (org-id-update-id-locations): Add archive files if
3083 that is required by `org-id-extra-files'.
3085 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3087 * org-src.el (org-src-window-setup): New option.
3088 (org-src-switch-to-buffer): New function.
3089 (org-edit-src-exit): Add optional argument CONTEXT and use it to
3090 restore window configuration.
3091 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
3092 Call `org-src-switch-to-buffer'.
3094 * org.el (org-default-properties): Add STYLE property.
3095 (org-files-list): Use the function call to get the files.
3096 (org-additional-option-like-keywords): Add SETUPFILE to completion
3099 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3101 * org-table.el (org-table-convert-region): Correctly interpret
3102 quoting in csv import.
3104 * org.el (org-icompleting-read): Make iswitchb completion work
3105 with lists and tables.
3107 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
3108 while pushing the mobile agenda.
3110 2009-11-13 John Wiegley <jwiegley@gmail.com>
3113 (org-clock-auto-clock-resolution): Now takes three values: nil, t
3114 and `when-no-clock-is-running'.
3115 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
3116 whether or not to resolve Org buffers on clock in.
3118 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
3120 * org-colview.el (org-format-time-period): Function to format
3121 times in fractional days for display.
3122 (org-columns-display-here): Add support for showing a calculated
3123 value in place of the property.
3124 (org-columns): Set `org-columns-time' to the current time so time
3125 difference calculations will work.
3126 (org-columns-time): Use to store the current time when column view
3127 is displayed, so all time differences will use the same reference
3129 (org-columns-compile-map): There is now an extra position in each
3130 entry specifying the function to use to calculate the displayed
3131 value for the non-calculated properties in the column.
3132 (org-columns-compute-all): Set `org-columns-time' to the current
3133 time so time difference calculations will work.
3134 (org-columns-compute): Handle column operators where the values
3135 used are calculated from the underlying property.
3136 (org-columns-number-to-string): Handle the 'age' column format.
3137 (org-columns-string-to-number): Correct the function name (was
3138 org-column...). Add support for the 'age' column format.
3139 (org-columns-compile-format): Support the additional parameter in
3140 org-columns-compile-map.
3142 2009-11-13 Bastien Guerry <bzg@altern.org>
3144 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
3147 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3149 * org-clock.el (org-clock-has-been-used): New variable.
3150 (org-clock-in): Set `org-clock-has-been-used'.
3151 (org-clock-save): Save only if clock data has been used or created
3152 during this session.
3154 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3156 * org-clock.el (org-clock-persist): New value, to store only the
3158 (org-clock-save): Don't save the clock if only the history should
3160 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
3161 when restoring a saved clock.
3163 2009-11-13 John Wiegley <jwiegley@gmail.com>
3165 * org-clock.el (org-clock-display, org-clock-put-overlay): Use
3166 `org-time-clock-use-fractional'.
3168 * org.el (org-time-clocksum-use-fractional)
3169 (org-time-clocksum-fractional-format): Two new customizable
3170 variables which allow the user to select fractional times (1.25
3171 instead of 1:25) in the `org-clock-display' report.
3173 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3175 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
3178 * org.el (org-tag-alist): Fix customization type.
3180 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3182 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
3183 Make sure the regexp search can fail without throwing an error.
3184 (org-mobile-apply): Save the inbox buffer after removing
3185 successfully applied changes.
3187 2009-11-13 John Wiegley <jwiegley@gmail.com>
3189 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
3190 time is reported after the user comes back (but before they
3193 * org.el (org-get-repeat): Change so that this function can be
3194 called with either `org-scheduled-string' or
3195 `org-deadline-string'.
3197 * org-clock.el (org-clock-auto-clock-resolution): Rename from
3198 `org-clock-disable-clock-resolution', since negatives don't sound
3199 good in customization variables.
3200 (org-clock-in): Don't use the auto-resolution logic if the user is
3201 clocking into a different task while an active clock is running.
3202 This then allows the default behavior of clocking out of the open
3203 task and then into the new task.
3205 * org.el (org-modules): Made this variable more consistent, since
3206 it was referring to Org, OrgMode and Org-mode, whereas the docs
3207 for the variable always refer to Org-mode.
3209 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
3211 * org.el (org-repeat-re): The changed org-repeat-re no longer
3212 matched simple +2d type repeaters. Fix it so it does.
3214 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3216 * org-latex.el (org-export-latex-preprocess): Protect the vspace
3217 macro in the VERSE environment.
3219 2009-11-13 John Wiegley <jwiegley@gmail.com>
3221 * org-habit.el (org-habit-get-priority): A new function that
3222 determines the relative priority of a habit, based on how long
3223 past its scheduled date it is, and how near the deadline is.
3225 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
3226 using `org-habit-get-priority'.
3228 * org-habit.el (org-habit-build-graph): Start displaying colors
3229 from the first scheduled date, if that date is earlier than the
3230 first completion date.
3232 * org-habit.el: Changed all "color" variables to faces, and made
3233 them appropriate for light and dark backgrounds.
3235 * org-habit.el (org-habit-duration-to-days): Made this function
3237 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
3239 * org-agenda.el (org-agenda-get-deadlines): Remove all mention of
3240 habits, since they don't use DEADLINE anymore.
3242 * org.el (org-repeat-re, org-display-custom-time)
3243 (org-timestamp-change): Extend to support the new ".+N/N"
3244 syntax, used for habits.
3246 * org-clock.el (org-clock-resolve-clock): Fix an incorrect
3249 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
3250 modeline when habits are being displayed (if that module is being
3253 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
3255 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
3256 idle time using the xscreensaver extension.
3257 (org-user-idle-seconds): Use X11 idle time if available.
3259 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3261 * org-agenda.el (org-agenda-next-line): New command.
3262 (org-agenda-previous-line): New commands.
3263 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
3265 (org-agenda-follow-mode): Do the follow immediately if the mode is
3267 (previous-line, next-line): Replace keys with the corresponding
3269 (org-agenda-mode-map): Bind backspace and delete to the scrolling
3272 * org.el (org-icompleting-read): Turn off partial completion mode
3273 for the duration of this completion round.
3275 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
3276 macros in author lines and similar stuff.
3278 * org.el (org-file-tags): Fix docstring.
3279 (org-get-buffer-tags): Add the #+FILETAGS tags.
3280 ("ecb"): Make ecb show context after jumping into an Org file.
3282 2009-11-13 John Wiegley <johnw@newartisans.com>
3284 * org-agenda.el (org-finalize-agenda): Draw habit consistency
3285 graphs after everything else in the buffer has been setup.
3287 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3289 * org-mobile.el (org-mobile-apply): Count success and failure.
3291 * org.el (org-indent-line-function): Fix regexp replace problem.
3293 2009-11-13 John Wiegley <johnw@newartisans.com>
3295 * org-clock.el (org-clock-disable-clock-resolution): New
3296 customization variable that disable automatic clock resolution on
3298 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
3299 not automatically resolve anything. This is does not affect
3300 idle-time resolution, however, if `org-clock-idle-time' is set.
3302 2009-11-13 John Wiegley <johnw@newartisans.com>
3304 * org-habit.el: New file, which implements code to build a "habit
3307 * org-agenda.el (org-agenda-get-deadlines)
3308 (org-agenda-get-scheduled): Display consistency graphs when
3309 outputting habits into the agenda. The graphs are always relative
3310 to the current time.
3311 (org-format-agenda-item): Add new parameter `habitp', which
3312 indicates whether we are formatting a habit or not. Do not
3313 display "extra" leading information if habitp is true.
3315 * org.el (org-repeat-re): Improve regexp to include .+ and ++
3316 leaders for repeat strings.
3317 (org-get-repeat): Now takes a string parameter `tagline', so the
3318 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
3320 2009-11-13 John Wiegley <johnw@newartisans.com>
3322 * org-agenda.el (org-agenda-auto-exclude-function): New
3323 customization variable for allowing the user to create an "auto
3324 exclusion" filter for doing context-aware auto tag filtering.
3325 (org-agenda-filter-by-tag): Changes to support the use of
3326 `org-agenda-auto-exclude-function'. See the new manual addition,.
3328 2009-11-13 John Wiegley <johnw@newartisans.com>
3330 * org.el (org-files-list): Don't attempt to return a file name for
3331 Org buffers which have no associated file.
3333 * org-agenda.el (org-agenda-do-action): Fix a typo.
3335 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3337 * org-mobile.el (org-mobile-locate-entry): Interpret files
3338 relative to org-directory.
3339 (org-mobile-inbox-for-pull): Document the best location for this
3341 (org-mobile-check-setup): Verify `org-directory'.
3342 (org-mobile-create-index-file): Sort the files to be listed in
3345 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
3347 * org.el (org-fast-tag-selection): Add a way to display a
3348 description for a tag group. This is done by adding a string to
3349 either the startgroup or endgroup cell.
3351 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3353 * org-clock.el (org-clock-resolve, org-resolve-clocks)
3354 (org-emacs-idle-seconds): Use `org-float-time' instead of
3357 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3359 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
3362 * org.el (org-pre-cycle-hook): Document that `empty' can also be
3363 the value of ARG when doing local cycling.
3365 2009-11-13 John Wiegley <johnw@newartisans.com>
3367 * org-clock.el (org-clock-resolve-clock): If keeping or
3368 subtracting time results in a clock out at a time in the past, and
3369 if the resolution occurred due to idleness or invoking `M-x
3370 org-resolve-clocks', remember that past moment in time. On the
3371 next clock in, the user will be prompted to see if they want to
3372 back-date their new clock to then.
3373 (org-clock-resolve): Do not jump the user to the location of a
3374 dangling clock if the resolution is occurring due to an idle
3375 timeout. In that case there is typically only one dangling clock,
3376 the active one, and there is no value gained by shuffling their
3377 windows around to show it to them. Being prompted to resolve an
3378 idle clock should be as inobtrusive as possible.
3379 (org-resolve-clocks-if-idle): New function that resolves only the
3380 currently active clock if the user has exceeded the time returned
3381 by `org-user-idle-seconds', based on the value of
3382 `org-clock-idle-time'.
3383 (org-clock-in): If, after resolving clocks, (???)
3384 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
3386 * org-clock.el (org-clock-resolve-clock): New function that
3387 resolves a clock to a specific time, closing or resuming as need
3388 be, and possibly even starting a new clock.
3389 (org-clock-resolve): New function used by `org-resolve-clocks'
3390 that sets up for the call to `org-clock-resolve-clock'. It
3391 determines the time to resolve to based on a single-character
3392 selection from the user to either keep time, subtract away time or
3394 (org-resolve-clocks): New user command which resolves dangling
3395 clocks -- that is, open but not active -- anywhere in the file
3396 list returned by `org-files-list'.
3397 (org-clock-in): Automatically resolve dangling clocks whenever a
3399 (org-clock-cancel): If the user cancels the solely clock in a
3400 LOGBOOK, remove the empty drawer.
3402 * org-clock.el (org-clock-idle-time): New user customizable option
3403 for detecting whether the user has left a clock idle. Note: it is
3404 only used in this commit to test whether it's worthwhile to check
3405 OS X to get the Mac user's current idle time. If the Emacs idle
3406 time is less than the value, the user hasn't been away long enough
3407 to be worth checking (a more expensive test than just getting
3409 (org-user-idle-seconds, org-mac-idle-seconds)
3410 (org-emacs-idle-seconds): This three functions, in conjunction
3411 with the user customization variable `org-clock-idle-time', return
3412 the number of seconds (as a floating point) that the user has been
3413 away from their Emacs (or, if running on OS X, their computer).
3415 * org-clock.el (org-find-open-clocks): New function that returns a
3416 list of all open clocks in the given FILE. Note that each clock
3417 it returns is a cons cell of the format (MARKER . START-TIME).
3418 This "clock" value is used by several of the new clock module
3420 (org-is-active-clock): New inline function which tests whether the
3421 given clock value is the same as the currently active clock.
3422 Returns non-nil if this is the case.
3423 (org-with-clock-position): New macro that evaluates FORMS with
3424 point in the buffer and at the position of the given clock.
3425 Changes to the current clock are global.
3426 (org-with-clock): New macro that evaluates FORMS with point in the
3427 buffer and at the position of the given clock. However, changes
3428 to the current clock are local and have no effect on the user's
3429 active clock. This allows, for example, far any clock to be
3430 cancelled without cancelling the active clock.
3431 (org-clock-clock-in): New inline function that switches the active
3432 clock to the given clock. If either the argument RESUME, or the
3433 global `org-clock-in-resume', are non-nil, it will resume a clock
3434 that was previously left open.
3435 (org-clock-clock-out): New inline function that clocks out the
3436 given clock value without affecting the currently active clock.
3437 (org-clock-clock-cancel): New inline function that cancels the
3438 given clock value without affecting the currently active clock.
3440 * org-clock.el (org-clock-in): Before creating
3441 `org-clock-mode-line-timer', check to make sure an older timer is
3442 not currently running.
3443 (org-clock-out): Accept new third parameter `at-time', which
3444 permits a clock to be clocked out at a specific time. Note that
3445 no attempt is made to verify that the clock out time is later than
3448 * org.el (org-files-list): New utility function for returning a
3449 list of all open org-mode buffers, plus all files used to build
3450 the agenda buffer. Note that not all the files will necessarily
3451 be visited by a buffer at time of call.
3452 (org-entry-beginning-position): Like the function
3453 `line-beginning-position', this inline function returns the
3454 beginning position of the current heading/entry.
3455 (org-entry-end-position): Like the function `line-end-position',
3456 this inline function returns the end position of the current
3459 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3461 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
3464 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3466 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
3468 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3470 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
3471 entries that have no tags.
3472 (org-agenda-search-view): New customize group.
3473 (org-agenda-search-view-search-words-only): New option.
3474 (org-search-view): Implement substring search.
3476 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3478 * org.el (org-outline-level): Add doc string.
3480 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3482 * org-inlinetask.el (org-inlinetask-export): Re-introduce
3484 (org-inlinetask-export-handler): Only export inline task if the
3485 user option calls for it.
3487 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3489 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
3492 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3494 * org-latex.el (org-export-latex-tables): Don't format in
3497 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3499 * org-src.el (org-edit-src-code)
3500 (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
3503 * org-agenda.el (org-prefix-category-max-length): New variable.
3504 (org-format-agenda-item): Use `org-prefix-category-max-length'.
3505 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
3507 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3509 * org-mobile.el (org-mobile-create-index-file): Improve the
3510 listing of tags and todo keywords.
3512 * org-latex.el (org-export-latex-format-image): New function.
3513 (org-export-latex-links): Use `org-export-latex-format-image'.
3515 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3517 * org-inlinetask.el (org-inlinetask-get-current-indentation)
3518 (org-inlinetask-remove-terminator): New functions.
3519 (org-inlinetask-export-handler): Terminate the description list.
3521 * org-exp.el (org-export-select-backend-specific-text): Remove the
3524 * org-inlinetask.el (org-inlinetask-export-handler): Fix bug for
3525 tasks without content.
3527 * org-clock.el: Make sure the clock-in target position does not
3528 move to a different node by widening the buffer.
3530 * org-html.el (org-export-html-format-image): Wrap image into
3531 figure div only when there is a caption.
3533 * org-archive.el (org-archive-mark-done): Change default value to
3536 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3538 * org.el (org-context): Call `bobp', not `eobp'.
3540 * org-clock.el (org-clock-cancel): Remove quotes from marker
3543 * org.el (org-read-date-prefer-future): New allowed value `time'.
3544 (org-read-date-analyze): Shift day to tomorrow depending on time
3545 entered and value of `org-read-date-prefer-future'.
3547 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3549 * org.el (org-version, org-get-refile-targets, org-refile)
3550 (org-store-log-note, org-diary-to-ical-string)
3551 (org-speedbar-set-agenda-restriction):
3552 * org-publish.el (org-publish-find-title):
3553 * org-plot.el (org-plot/gnuplot):
3554 * org-mouse.el (org-mouse-do-remotely):
3555 * org-mobile.el (org-mobile-move-capture):
3556 * org-mac-message.el (org-mac-message-insert-flagged):
3557 * org-latex.el (org-replace-region-by-latex):
3558 * org-docbook.el (org-replace-region-by-docbook):
3559 * org-clock.el (org-clock-out, org-clock-cancel):
3560 * org-bibtex.el (org-execute-file-search-in-bibtex):
3561 Use with-current-buffer.
3563 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
3565 * org.el (org-directory, org-map-entries):
3566 * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
3568 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3570 * org.el (org-set-tags-to): New command.
3572 * org-latex.el (org-export-latex-set-initial-vars): Also check in
3575 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
3578 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
3580 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3582 * org-inlinetask.el (org-inlinetask-export): Option removed.
3583 (org-inlinetask-export-handler): Better export.
3585 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
3586 (org-export-as-xoxo): Run the new hook.
3588 * org-html.el (org-export-html-final-hook): New hook.
3589 (org-export-as-html): Run the new hook.
3591 * org-docbook.el (org-export-docbook-final-hook): New hook.
3592 (org-export-as-docbook): Run the new hook.
3594 * org-ascii.el (org-export-ascii-final-hook): New hook.
3595 (org-export-as-ascii): Run the new hook.
3597 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
3598 space character as the character before the ^/_.
3599 (org-export-latex-final-hook): New hook.
3600 (org-export-as-latex): Run `org-export-latex-final-hook'.
3602 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3604 * org-macs.el (org-if-unprotected-at): Fix docstring.
3606 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
3607 text in the prefix (if category is a link).
3609 * org-latex.el (org-export-latex-preprocess): Deal properly with
3610 empty lines in verse environments.
3612 * org.el (org-format-latex-header): Inline fullpage.sty.
3614 * org-footnote.el (org-footnote-create-definition): Reveal context
3615 to add a new footnote definition.
3617 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
3618 org-table-recalculate when cursor is in TBLFM line.
3620 * org-list.el (org-renumber-ordered-list): Fix cursor position
3621 when bullet length has changed.
3623 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3625 * org.el (org-format-latex): Mention `org-format-latex-options' in
3628 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3630 * org.el (org-agenda-get): New function.
3632 * org-agenda.el (org-agenda-post-command-hook): No longer move
3633 point away from end of line.
3634 (org-agenda-add-entry-text, org-agenda-collect-markers)
3635 (org-finalize-agenda, org-agenda-mark-clocking-task)
3636 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
3637 (org-agenda-entry-text-show, org-agenda-highlight-todo)
3638 (org-agenda-compare-effort, org-agenda-filter-apply)
3639 (org-agenda-later, org-agenda-change-time-span)
3640 (org-agenda-post-command-hook, org-agenda-show-priority)
3641 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
3642 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
3643 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
3644 (org-agenda-open-link, org-agenda-copy-local-variable)
3645 (org-agenda-switch-to, org-agenda-check-no-diary)
3646 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
3647 (org-agenda-add-note, org-agenda-change-all-lines)
3648 (org-agenda-priority, org-agenda-set-tags)
3649 (org-agenda-set-property, org-agenda-set-effort)
3650 (org-agenda-toggle-archive-tag, org-agenda-date-later)
3651 (org-agenda-show-new-time, org-agenda-date-prompt)
3652 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
3653 (org-agenda-clock-in, org-agenda-bulk-mark)
3654 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
3657 * org-colview.el (org-columns-display-here)
3658 (org-columns-edit-allowed, org-agenda-columns): Use
3661 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3663 * org.el (org-special-ctrl-a/e): Improve documentation and
3665 (org-end-of-line): Don't jump to after the ellipsis.
3666 (org-mode-map): Bind <home> and <end> as well.
3668 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3670 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
3671 space after #+ as comments.
3672 (org-open-at-point): Run `org-follow-link-hook' always.
3674 * org-latex.el (org-export-latex-emph-format): Use better commands
3675 to insert special characters in verbatim snippets.
3677 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3679 * org-faces.el (org-copy-face): New function. Use it to create
3680 various faces formerly created by using `copy-face'.
3682 * org-agenda.el (org-prepare-agenda): Don't officially mark this
3684 (org-agenda-quit): Kill the frame containing the agenda window if
3685 that frame was created for the agenda.
3687 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3689 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
3690 stamp in the agenda.
3692 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3694 * org-agenda.el (org-prepare-agenda): Reset
3695 `org-drawers-for-agenda'.
3696 (org-prepare-agenda): Uniquify list of drawers.
3698 * org.el (org-complex-heading-regexp-format): New variable.
3699 (org-set-regexps-and-options): Define
3700 `org-complex-heading-regexp-format'.
3701 (org-drawers-for-agenda): New variable.
3702 (org-map-entries): Bind `org-drawers-for-agenda'.
3703 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
3705 * org-remember.el (org-go-to-remember-target)
3706 (org-remember-handler): Use `org-complex-heading-regexp-format'.
3708 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3710 * org-agenda.el (org-agenda-highlight-todo): Fix text property
3713 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
3714 always with `invisible-ok'.
3715 (org-store-link): No error when there is nothing to link to in the
3718 * org-list.el (org-update-checkbox-count): Insert changed cookie
3719 before the old, to avoid problems with invisibility at the end of
3721 (org-update-checkbox-count): Insert changed cookie before the old,
3722 to avoid problems with invisibility at the end of the line.
3724 * org.el (org-sort-entries-or-items): Include the final newline.
3725 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
3726 lines for fontification.
3727 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
3728 (org-prepare-dblock): Store the current indentation of the BEGIN
3730 (org-update-dblock): Apply the indentation of the begin line to
3731 the rest of the block.
3732 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
3733 (org-startup-folded): New allowed value `showeverything'.
3734 (org-startup-options): Add STARTUP keyword `showeverything'.
3735 (org-set-startup-visibility): Respect value `showeverything' in
3738 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3740 * org.el (org-closest-date): Fix issue with past preference.
3742 * org-archive.el (org-archive-set-tag)
3743 (org-archive-subtree-default): New commands.
3745 * org-clock.el (org-clock-clocktable-default-properties): New
3747 (org-clock-report): Use
3748 `org-clock-clocktable-default-properties'.
3750 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3752 * org.el (org-iswitchb-completing-read): Fix typo.
3754 * org-crypt.el: New file.
3756 * org.el: Add an entry for org-crypt.
3758 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3760 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
3762 (org-batch-store-agenda-views): New function.
3763 (org-agenda-title-append): Define variable.
3764 (org-write-agenda): New export to Org files.
3765 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
3766 (org-agenda): Allow to keep the restricted file list if a special
3767 variable is bound to t.
3768 (org-agenda): Define a special agenda view for working on flagged
3770 (org-agenda-get-restriction-and-command): List the new agenda
3772 (org-agenda-show-the-flagging-note): New command.
3773 (org-agenda-mode-map): New key `?' for looking at the flagging
3776 * org.el (org-autoload): Autoload org-mobile.el.
3777 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
3779 * org-mobile.el: New file.
3781 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
3783 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3785 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
3787 (org-table-get-remote-range): Match indented #+TBLNAME
3790 * org.el (org-convert-to-odd-levels)
3791 (org-convert-to-oddeven-levels): Work also correctly if the file
3794 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3796 * org.el (org-store-link): When in agenda buffer, link to
3798 (org-add-planning-info): Remove spaces at eol.
3800 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
3803 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3805 * org-latex.el (org-export-latex-first-lines): Fix problem with
3806 LaTeX export of first line and selected subtree.
3808 * org.el (org-shifttab): Interpret arg differently when using only
3811 2009-10-01 Bastien Guerry <bzg@altern.org>
3813 * org.el (org-check-agenda-file): Use a more explicit message.
3815 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3817 * org-exp.el (org-export-remove-special-table-lines): Don't remove
3820 2009-10-01 Bastien Guerry <bzg@altern.org>
3822 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
3823 prompt in the temporary window.
3825 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
3826 prefix for marked entries in the agenda view.
3828 2009-10-01 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
3830 * org.el (outline-end-of-subtree): Bugfix: advise this function in
3831 a way that prevents any trailing character from being displayed.
3833 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3835 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
3838 * org-exp.el (org-export-remove-special-table-lines): Remove bad
3841 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3843 * org-latex.el (org-export-latex-preprocess): Do not protect in
3846 * org-src.el (org-edit-src-save): Save window setup while saving.
3847 (org-edit-src-code): Use new buffer name construction scheme.
3849 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3851 * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
3853 (org-agenda-entry-text-cleanup-hook): New hook.
3854 (org-agenda-get-some-entry-text): Remove matches of
3855 `org-agenda-entry-text-exclude-regexps' and run the hook
3856 `org-agenda-entry-text-cleanup-hook'.
3858 * org.el (org-offer-links-in-entry): New argument ZERO to
3859 implement a link with index zero.
3860 (org-cycle-show-empty-lines): Not keep empty line under header
3862 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
3863 to nil for special completion.
3864 (org-store-link): Don't error before the first heading.
3866 * org-agenda.el (org-agenda-open-link): Pass the prefix to
3867 `org-offer-links-in-entry'.
3869 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3871 * org-agenda.el (org-agenda-quit): Provide the window argument for
3872 `window-dedicated-p', Emacs 22 needs it.
3873 (org-format-agenda-item): If the category is a link, arrange for
3874 invisible text to replaced with spaces.
3875 (org-compile-prefix-format): Add the extra space.
3876 (org-prefix-category-length): New variable.
3878 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
3879 references from TOC lines.
3881 * org.el (org-selected-window): New variable.
3883 * org-table.el (org-table-edit-formulas): Remember the selected
3885 (org-table-fedit-finish, org-table-fedit-abort): Select the window
3886 that was originally selected.
3888 * org-exp.el (org-export-preprocess-apply-macros): Scan the
3889 expansion of a macro for more macro definitions.
3891 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
3892 invisibility overlay starts on the newline.
3894 2009-10-01 Glenn Morris <rgm@gnu.org>
3896 * org-agenda.el (calendar-check-holidays):
3897 * org-exp.el (org-agenda-skip):
3898 * org-list.el (outline-back-to-heading):
3899 * org-wl.el (wl-summary-goto-folder-subr):
3900 * org.el (iswitchb-mode, remember, remember-buffer-desc)
3901 (remember-finalize, remember-save-after-remembering, remember-register)
3902 (remember-buffer, remember-handler-functions)
3903 (remember-annotation-functions): Remove unused declarations.
3905 * org.el (iswitchb-read-buffer): Fix declaration.
3907 2009-09-30 Glenn Morris <rgm@gnu.org>
3909 * org-compat.el (w32-focus-frame):
3910 * org-exp-blocks.el (R):
3911 * org-exp.el (htmlize-buffer):
3912 * org-protocol.el (server-edit):
3913 * org-table.el (org-format-org-table-html):
3914 * org.el (org-indent-mode): Fix declarations.
3916 * org-colview.el (org-columns-uncompile-format): Avoid assignment to
3917 free variable `fun'.
3919 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
3921 * org-agenda.el (org-agenda-restore-windows-after-quit):
3922 Fix typo in docstring.
3924 2009-09-23 Juanma Barranquero <lekktu@gmail.com>
3926 * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
3927 (org-shiftselect-error, org-ctrl-c-ctrl-c):
3928 * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
3929 * org-attach.el (org-attach-check-absolute-path):
3930 * org-docbook.el (org-export-as-docbook):
3931 * org-html.el (org-export-as-html):
3932 * org-id.el (org-id-update-id-locations):
3933 * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
3934 Fix typos in error messages.
3936 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3938 * org-ascii.el: Require CL for the `loop' macro.
3940 2009-09-05 Carsten Dominik <dominik@u016822.science.uva.nl>
3942 * org-gnus.el (require): Wrap (require gnus-sum) into
3945 2009-09-03 Carsten Dominik <dominik@u016822.science.uva.nl>
3947 * org-protocol.el (org-protocol-store-link)
3948 (org-protocol-remember, org-protocol-open-source): Remove autoload
3951 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
3952 referencing the start of the line.
3954 * org-gnus.el: Remove unnecessary declare-function forms.
3955 (gnus-sum): Always require gnus-sum.
3957 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3959 * org-protocol.el (org-protocol-store-link)
3960 (org-protocol-remember, org-protocol-open-source): Add autoloads.
3962 * org-compat.el (org-float-time): New function.
3964 * org.el (org-clock-update-time-maybe)
3965 (org-sort-entries-or-items, org-do-sort)
3966 (org-evaluate-time-range, org-time-string-to-seconds)
3967 (org-closed-in-range): Use `org-float-time'.
3969 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
3970 (org-timer-seconds): Use `org-float-time'.
3972 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
3973 (org-clock-sum, org-dblock-write:clocktable)
3974 (org-clocktable-steps): Use `org-float-time'.
3976 * org-agenda.el (org-agenda-last-marker-time)
3977 (org-agenda-new-marker, org-diary): Use `org-float-time'.
3979 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
3982 * org-exp.el (org-get-file-contents): Only protect lines that
3985 * org-html.el (require): Require cl for compilation.
3987 * org.el: Avoid using `default-major-mode'.
3989 * org-plot.el (require): Require CL only at compile time.
3991 * org-exp.el (require): Require CL only at compile time.
3993 * org-agenda.el (org-agenda-quit): When the agenda window is
3994 dedicated, remove other windows before exiting, so that the frame
3995 really will be killed.
3997 * org-exp.el (org-export-handle-include-files): Reset START and
3998 END for each loop cycle.
4000 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4002 * org.el (org-eval-in-calendar): Use
4003 `org-select-frame-set-input-focus'.
4005 * org-compat.el (org-select-frame-set-input-focus): New function.
4007 * org.el (org-update-statistics-cookies): New function.
4008 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
4010 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4012 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
4013 after the local variables are set.
4015 * org-latex.el (org-export-latex-protect-amp): New function.
4016 (org-export-latex-links): Protect link ampersands in tables.
4018 * org-exp.el (org-export-select-backend-specific-text): Match in
4019 two steps, to avoid regexp problems.
4021 * org.el (org-offer-links-in-entry): Improve working with many and
4024 * org-agenda.el (org-agenda-show-1): Make more consistent with
4026 (org-agenda-cycle-show): Make more consistent with normal cycling.
4028 * org-gnus.el (org-gnus-store-link): Restore the linking to a
4031 2009-09-02 Bastien Guerry <bzg@altern.org>
4033 * org-latex.el (org-export-latex-first-lines): Bugfix.
4035 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4037 * org-clock.el (org-clock-modify-effort-estimate): Emit message
4040 * org.el (org-set-effort): New function.
4041 (org-mode-map): New key for effort setting command.
4043 * org-agenda.el (org-agenda): Keep window setup when calling
4044 agenda from within agenda window.
4045 (org-agenda-mode-map): New keys for effort setting commands.
4046 (org-agenda-menu): Add effort setting commands to menu.
4047 (org-agenda-set-property, org-agenda-set-effort): New functions.
4049 * org-latex.el (org-export-latex-tables): Fix
4050 `org-table-last-alignment' and `org-table-last-column-widths' if
4051 the first column has been removed.
4053 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4055 * org.el (org-remove-timestamp-with-keyword): Only remove in
4056 entry, not in subtree.
4058 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
4061 * org.el (org-open-at-point): When on headline, offer all strings
4064 * org-remember.el (org-remember-templates): Documentation fix.
4066 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
4067 `org-get-last-sibling' instead of the outline versions of these
4069 (org-get-last-sibling): New function.
4070 (org-refile): Use `org-get-next-sibling' instead of the outline
4071 version of this function.
4072 (org-clean-visibility-after-subtree-move): Use
4073 `org-get-next-sibling' and `org-get-last-sibling' instead of the
4074 outline versions of these functions.
4076 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4078 * org-agenda.el (org-prepare-agenda): When creating a new frame
4079 for the agenda, make the window dedicated.
4081 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
4083 * org-table.el (org-table-align): Change the order of reinsertion
4084 and deletion, to avoid problems with overlays following the table.
4086 * org.el (org-parse-time-string): Better error message.
4087 (org-show-subtree): Use org-end-of-subtree.
4089 * org-macs.el (org-goto-line): New defsubst.
4091 * org.el (org-open-file, org-change-tag-in-region)
4092 (org-fast-tag-show-exit): Don't use `goto-line'.
4094 * org-table.el (org-table-align, org-table-insert-column)
4095 (org-table-delete-column, org-table-move-column)
4096 (org-table-sort-lines, org-table-copy-region)
4097 (org-table-paste-rectangle, org-table-wrap-region)
4098 (org-table-get-specials, org-table-rotate-recalc-marks)
4099 (org-table-get-range, org-table-recalculate)
4100 (org-table-edit-formulas, org-table-fedit-convert-buffer)
4101 (org-table-show-reference, org-table-highlight-rectangle): Don't
4104 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
4105 (org-edit-src-exit): Don't use `goto-line'.
4107 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
4109 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
4110 Don't use `goto-line'.
4112 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
4114 * org-colview.el (org-columns, org-columns-redo)
4115 (org-agenda-columns): Don't use `goto-line'.
4117 * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
4120 * org-agenda.el (org-agenda-mode): Force visual line motion off.
4121 (org-agenda-add-entry-text-maxlines): Improve docstring.
4122 (org-agenda-start-with-entry-text-mode): New option.
4123 (org-agenda-entry-text-maxlines): New option.
4124 (org-agenda-entry-text-mode): New variable.
4125 (org-agenda-mode): Set initial value of
4126 `org-agenda-entry-text-mode'.
4127 (org-agenda-mode-map): Add the `E' key.
4128 (org-agenda-menu): Add entry text mode to the menu.
4129 (org-agenda-get-some-entry-text): Fix line count bug.
4130 (org-finalize-agenda): Apply entry text mode if appropriate.
4131 (org-agenda-entry-text-show-here): New function.
4132 (org-agenda-entry-text-show): New function.
4133 (org-agenda-entry-text-hide): New function.
4134 (org-agenda-view-mode-dispatch): Add entry text mode to the view
4136 (org-agenda-entry-text-mode): New command.
4137 (org-agenda-set-mode-name): Add entry text mode to the mode line
4139 (org-agenda-undo, org-agenda-get-restriction-and-command)
4140 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
4143 2009-09-02 Bernt Hansen <bernt@norang.ca>
4145 * org-clock.el (org-notify): Bugfix.
4147 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4149 * org-agenda.el (org-agenda-open-link): Handle multiple links and
4150 check for after-string.
4152 * org-gnus.el (org-gnus-store-link): Simplify.
4154 * org.el (org-latex-regexps): Don't add extra empty lines for
4157 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4159 * org-agenda.el (org-agenda-get-some-entry-text): New function.
4160 (org-agenda-add-entry-text): Use
4161 `org-agenda-get-some-entry-text'.
4163 * org.el (org-cycle-separator-lines): Update docstring.
4164 (org-cycle-show-empty-lines): Handle negative values for
4165 `org-cycle-show-empty-lines'.
4167 * org-exp.el (org-export-protect-sub-super): New function.
4168 (org-export-normalize-links): Protect the url of plain links from
4169 supscript and superscript processing.
4171 * org-remember.el (org-remember-escaped-%): New function.
4172 (org-remember-apply-template): Use `org-remember-escaped-%' to
4173 detect escaped % signs.
4175 2009-09-02 Bastien Guerry <bzg@altern.org>
4177 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
4178 sound when showing the notification.
4180 * org-clock.el (org-notify): New function.
4181 (org-clock-notify-once-if-expired): Use `org-notify'.
4183 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
4184 and `gnus-article-mode' separately.
4185 (gnus-summary-article-header): Fix the declare-function.
4187 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4189 * org-exp.el (org-export-format-source-code-or-example): Translate
4192 * org-src.el (org-src-lang-modes): New variable.
4193 (org-edit-src-code): Translate language.
4195 * org-exp.el (org-export-format-source-code-or-example): Deal wit
4196 the new structure of the `org-export-latex-listings-langs'
4199 * org-latex.el (org-export-latex-listings-langs): Change structure
4200 of the variable from plist to alist.
4202 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4204 * org.el (org-in-commented-line): New function.
4206 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4208 * org.el (org-hide-block-toggle): Make folded blocks searchable.
4210 2009-09-02 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
4212 * org.el (org-flag-drawer): More useful error.
4214 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4216 * org-remember.el (org-remember-apply-template): Use
4217 org-icompleting-read.
4219 * org-publish.el (org-publish): Use org-icompleting-read.
4221 * org-colview.el (org-columns-edit-value, org-columns-new)
4222 (org-insert-columns-dblock): Use org-icompleting-read.
4224 * org-colview-xemacs.el (org-columns-edit-value)
4225 (org-columns-new, org-insert-columns-dblock): Use
4226 org-icompleting-read.
4228 * org-attach.el (org-attach-delete-one, org-attach-open): Use
4229 org-icompleting-read.
4231 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4233 * org.el (org-hierarchical-todo-statistics): Improve docstring.
4234 (org-version): Return the version text.
4235 (org-org-menu): Add a menu entry for the new bug reporter.
4236 (org-submit-bug-report): New command.
4238 * org-list.el (org-hierarchical-checkbox-statistics): Improve
4241 * org.el (org-emphasis-regexp-components): Add "`" to set of
4242 pre-emphasis characters.
4244 * org-latex.el (org-export-latex-classes): Always include the soul
4246 (org-export-latex-emphasis-alist): Use \st for strikethough.
4248 * org-exp-blocks.el (org-export-blocks-preprocess): Use
4249 `indent-code-rigidly' to indent.
4251 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
4252 properties only if MATCH really is a string.
4254 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4256 * org-latex.el (org-export-latex-packages-alist): Fix
4259 * org.el (org-create-formula-image): Also use
4260 `org-export-latex-packages-alist'.
4262 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
4263 (org-export-as-html): Format footnotes correctly.
4265 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4267 * org.el (org-fast-tag-selection): Avoid text properties on tags
4270 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
4271 text properties on the match element.
4273 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4275 * org.el (org-set-regexps-and-options): Make sure the list of done
4276 keywords is not invalid.
4278 * org-exp.el (org-export-interpolate-newlines): New function.
4280 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4282 * org.el (org-format-latex): Avoid nested overlays.
4284 * org-latex.el (org-export-latex-listings-langs): Add a few more
4287 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
4288 ignore newlines and space before the first macro argument.
4290 * org-latex.el (org-export-latex-tables): Remove save-excursion
4291 around `org-table-align'.
4293 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4295 * org.el (org-export-html-special-string-regexps): Definition
4298 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
4301 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4303 * org-latex.el (org-export-latex-listings)
4304 (org-export-latex-listings-langs): New options.
4306 * org-exp.el (org-export-format-source-code-or-example): Use
4307 listing package if requested by the user.
4309 2009-09-02 Bastien Guerry <bzg@altern.org>
4311 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
4312 command before actually switching to a buffer.
4314 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4316 * org-exp.el (org-get-file-contents): Only quote org lines when
4317 the markup is src or example.
4319 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
4321 (org-agenda-get-day-entries): Remember deadline results and pass
4322 them on into the function getting the scheduling information.
4323 (org-agenda-get-scheduled): Accept deadline results as parameters
4324 and maybe skip some entries.
4325 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
4327 * org.el (org-insert-heading): When respecting content, do not
4328 convert current line to headline.
4330 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
4331 cheeeeeck the hd marker.
4332 (org-clock-in): Also set the hd marker.
4333 (org-clock-out): Also set the hd marker.
4334 (org-clock-cancel): Reset markers.
4336 * org.el (org-clock-hd-marker): New marker.
4338 * org-faces.el (org-agenda-clocking): New face.
4340 * org-agenda.el (org-agenda-mark-clocking-task): New function.
4341 (org-finalize-agenda): Call `org-agenda-mark-clocking-task'.
4343 * org.el (org-modules): Add org-track.el.
4345 * org-agenda.el (org-agenda-bulk-marked-p): New function.
4346 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
4347 `org-agenda-bulk-marked-p'.
4348 (org-agenda-bulk-toggle): New command.
4350 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4352 * org.el (org-move-subtree-down): Hide subtree if it was folded,
4355 * org-remember.el (org-remember-finalize): Avoid buffer-modified
4358 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4360 * org-html.el (org-export-as-html):
4361 * org-docbook.el (org-export-as-docbook):
4362 Use (default-value 'major-mode) instead of default-major-mode.
4364 2009-08-08 Carsten Dominik <carsten.dominik@gmail.com>
4366 * org-docbook.el: Add arch-tag.
4368 * org-exp-blocks.el: Add arch-tag.
4370 * org-id.el: Add arch-tag.
4372 * org-indent.el: Add arch-tag.
4374 * org-inlinetask.el: Add arch-tag.
4376 * org-protocol.el: Add arch-tag.
4378 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4380 * org.el (org-create-formula-image): Remove the -E option for
4383 * org-exp.el (org-default-export-plist): Respect #+BIND.
4384 (org-export-confirm-letbind): New function.
4386 * org.el (org-paste-subtree): Test the kill ring entry if it is
4388 (org-copy-subtree): Use `org-forward-same-level'.
4389 (org-forward-same-level): Respect the `invisibe-ok' arg for
4392 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4394 * org.el (org-table-map-tables): Make sure cursor is back at table
4395 beginning after funcall.
4397 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
4398 handled before children, and do not error if an entry is not
4399 found, probably because it hase been remove when the parent was
4400 archived or refiled.
4402 * org.el (org-ido-completing-read): Accept straight lists for
4403 completion as well as alists.
4405 * org-timer.el (org-timer-cancel-timers): Rename from
4406 `org-timer-cancel-timers'.
4408 * org.el (org-cycle-internal-local): Fix problem with finding next
4411 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4413 * org-list.el (org-list-send-list): Call
4414 `org-list-goto-true-beginning' instead of
4415 `org-list-find-true-beginning', which does not exist.
4417 * org-timer.el (org-timer-reset-timers): Use `mapc'.
4418 (org-timer-set-timer): Do not assign to heading.
4420 * org-id.el (org-id-open): Quote function name.
4422 * org-macs.el (org-unmodified): Turn off recording undo
4423 information while running inside the macro.
4425 * org-table.el (org-table-export): Also work in file-less
4428 * org.el (org-startup-indented): New option.
4429 (org-startup-options): Add new options indent and noindent.
4430 (org-unfontify-region): Remove line-prefix and wrap-prefix
4432 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
4434 (org-promote, org-demote): Run the new hooks.
4436 * org-table.el (org-table-align): Replace leading \n as well.
4438 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
4439 and `line-wrap' text properties.
4441 * org-compat.el (org-kill-new): New function.
4443 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
4444 `line-wrap' text properties.
4446 * org-indent.el: New file.
4448 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4450 * org.el (org-provide-todo-statistics): Tweak docstring.
4452 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
4454 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4456 * org-exp.el (org-export-as-org): Insert the "-source" string
4457 before the extension.
4459 * org.el (org-read-date): Make sure the calendar is in the current
4461 (org-set-emph-re): Remove the ? from the post-match.
4462 (org-emphasis-regexp-components): Add backslash to the
4464 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
4465 optional so that also lines at the end of the buffers will still
4466 be matched as headlines.
4468 * org-table.el (org-table-error-on-row-ref-crossing-hline):
4469 Variable made obsolete.
4470 (org-table-relative-ref-may-cross-hline): New option.
4471 (org-table-find-row-type): Honow the new option
4472 `org-table-relative-ref-may-cross-hline'.
4474 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4476 * org-table.el (org-table-cut-region, org-table-copy-region): Work
4477 on single field if no active region.
4479 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4481 * org-latex.el (org-export-latex-make-header): Only insert title
4484 * org.el (org-make-options-regexp): Allow empty values.
4486 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4488 * org.el (org-cycle-internal-local): Improved version of finding
4490 (org-cycle-hide-drawers): Only hide drawers if this is really
4492 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
4493 org-version of this function in Org-mode. We use advice to
4494 implement this change, so that future changes to this function in
4495 outline.el wil be handled properly.
4496 (org-forward-same-level, org-backward-same-level): New commands.
4498 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4500 * org.el (org-remove-empty-overlays-at)
4501 (org-clean-visibility-after-subtree-move): New functons.
4502 (org-move-subtree-down): Simplify cleanup of display.
4504 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4506 * org-mac-message.el (org-mac-message-get-links): Improve
4507 docstring. Make argument SELECT-OR-FLAGGED optional, default to
4508 "s". Fix the return value.
4509 (org-mac-message-insert-flagged): Simplify.
4511 * org.el (org-refile-get-location): Tamper with refile history o
4512 that history contains compete matches instead of the entered
4515 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4517 * org.el (org-store-link): Never store a link to an inline task.
4519 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
4520 inline tasks when positioning footnotes.
4522 * org.el (org-refile): Remove the END line when archiving an
4523 inline task that does have an END line.
4525 * org-archive.el (org-archive-subtree): Remove the END line when
4526 archiving an inline task that does have an END line.
4528 * org-macs.el (org-with-limited-levels): New macro.
4529 (org-get-limited-outline-regexp): New function.
4531 * org-exp.el (org-export-format-source-code-or-example): Fix bug
4532 that did not enumerate first line.
4533 (org-export-mark-radio-links): Skip matches in links.
4535 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4537 * org.el (org-activate-plain-links): Make single-match.
4538 (org-adapt-indentation): Fix docstring.
4540 * org-macs.el (org-unmodified): Turn of modification hooks while
4543 2009-08-06 Bastien Guerry <bzg@altern.org>
4545 * org.el (org-adapt-indentation): Slightly improve the docstring.
4546 (org-occur): Sends an error when the user inputs an empty string.
4547 (org-priority): Bugfix: the tag alignement should happen within
4550 2009-08-06 Bastien Guerry <bzg@altern.org>
4552 * org.el (org-make-link-regexps): Don't exclude parentheses from
4553 `org-plain-link-re'.
4554 (org-cycle-internal-local): When locally cycling, switch directly
4555 from CHILDREN to FOLDED if there is no subtree.
4556 (org-cycle): Update the docstring to document the new behavior of
4557 `org-cycle-internal-local'.
4559 2009-08-06 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
4561 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
4562 an abbreviated format for days.
4564 2009-08-06 Bastien Guerry <bzg@altern.org>
4566 * org-protocol.el (org-protocol-default-template-key): New
4569 * org.el (org-refile): Bugfix: save-excursion before reading the
4570 refile target, otherwise cursor moves might confuse `org-refile'.
4572 * org.el (org-toggle-heading): Bugfix: correctly convert list
4573 items before the first headline.
4575 * org.el (org-provide-todo-statistics): Allow a list of TODO
4576 keywords to compute statistics against headlines containing a
4577 keyword from this list.
4578 (org-update-parent-todo-statistics): Possibly use the new allowed
4579 value of `org-provide-todo-statistics'.
4581 2009-08-06 Bastien Guerry <bzg@altern.org>
4583 * org-timer.el: Add autoload cookie.
4585 * org.el (org-occur-link-in-agenda-files): New function.
4587 * org-timer.el (org-timer-last-timer): New variable.
4589 * org-agenda.el (org-agenda-mode-map): New key for
4590 org-timer-set-timer called from the agenda.
4592 * org.el (org-mode-map): New key for org-timer-set-timer.
4594 * org-timer.el (org-timer-reset-timers)
4595 (org-timer-show-remaining-time, org-timer-set-timer): New
4598 * org-clock.el (org-show-notification): Update the docstring.
4600 * org.el (org-provide-todo-statistics): Allow new value
4601 'all-headlines for this option, which includes entries with no
4602 TODO keywords in the todo statistics.
4603 (org-update-parent-todo-statistics): Possibly use the new
4604 'all-headline value from `org-provide-todo-statistics'.
4606 2009-08-06 Bastien Guerry <bzg@altern.org>
4608 * org-clock.el (org-dblock-write:clocktable): Add a new option
4609 :timestamp which allows display of timestamps in clock reports.
4611 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
4612 list to a subtree, preserving the structure of the list.
4613 (org-set-emph-re): Make the last element optional in the regexp.
4614 This regexp now matches an emphasized string at the end of a line.
4616 * org-list.el (org-list-goto-true-beginning)
4617 (org-list-make-subtree, org-list-make-subtrees): New functions.
4619 * org.el (org-eval-in-calendar): Select the right frame.
4620 (org-save-frame-excursion): Remove this macro.
4622 2009-08-06 Bastien Guerry <bzg@altern.org>
4624 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
4625 trying to find the beginning of a list.
4627 * org-exp.el (org-get-file-contents): Use a new argument: markup.
4628 When present, tell org-get-file-contents not to protect org-like
4631 * org-id.el (org-id-uuid-program): New option to set the name of
4632 the uuidgen program.
4633 (org-id-method): Use `org-id-uuid-program'.
4634 (org-id-new): Use `org-id-uuid-program'.
4636 2009-08-06 Bastien Guerry <bzg@altern.org>
4638 * org-exp.el (org-export-number-lines): Allow whitespace in code
4639 references. Allow the -r switch to remove the references in the
4640 source code even when the lines are not numbered: the labels can
4643 * org.el (org-fontify-whole-heading-line): New option.
4644 (org-set-font-lock-defaults): Use the new option.
4646 * org-clock.el (org-show-notification-handler): New option.
4647 (org-show-notification): Use the new option.
4649 2009-08-06 Bastien Guerry <bzg@altern.org>
4651 * org.el (org-eval-in-calendar): Fix a bug about calendar
4652 navigation when `calendar-setup' value is 'calendar-only.
4654 2009-08-06 Bastien Guerry <bzg@altern.org>
4656 * org.el (orgstruct++-mode): Fix typo in docstring.
4657 (org-insert-link): Clean up: (or (...)) => (...)
4658 (org-insert-link): Use TAB for stored links completion.
4660 2009-08-06 Bastien Guerry <bzg@altern.org>
4662 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
4663 building the list of targets.
4665 * org-remember.el (org-remember-delete-empty-lines-at-end): New
4667 (org-remember-handler): Use the new option.
4669 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
4671 * org.el (org-tags-sort-function): New option for sorting tags.
4672 (org-set-tags): Use the new option to sort tags.
4674 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
4675 premature deletion of the data when using org-plot in a script.
4677 2009-08-06 Bastien Guerry <bzg@altern.org>
4679 * org-clock.el (org-clock-in-prepare-hook): New hook.
4680 (org-clock-in): Use this new hook.
4682 2009-08-06 Bastien Guerry <bzg@altern.org>
4684 * org.el (org-special-ctrl-a/e): Explicitely bind the value
4685 'reversed for this option to the "true line boundary first"
4687 (org-tags-match-list-sublevels): Document the 'indented value for
4690 * org-latex.el (org-export-latex-first-lines): Fix problem with
4691 publishing the region.
4693 * org-exp.el (org-export-format-source-code-or-example): Fix
4694 bad line numbering when exporting examples in HTML.
4696 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
4698 * org-colview.el (org-format-time-period): Formats a time in
4699 fractional days as days, hours, mins, seconds.
4700 (org-columns-display-here): Add special handling for SINCE and
4701 SINCE_IA to format for display.
4703 * org.el (org-time-since): Add a function to get the time since an
4705 (org-entry-properties): Add two new special properties: SINCE and
4706 SINCE_IA. These give the time since any active or inactive
4707 timestamp in an entry.
4708 (org-special-properties): Add SINCE, SINCE_IA.
4709 (org-tags-sort-function): Add custom declaration for tags
4711 (org-set-tags): Sort tags if org-tags-sort-function is set.
4713 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4715 * org-clock.el (org-clock-goto): Find hidden headlines as well.
4717 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
4719 * org-plot.el (org-plot/add-options-to-plist): Add timeind
4722 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4724 * org-publish.el (org-publish-remove-all-timestamps): New function.
4725 (org-publish-all): Remove all timestamp files if `org-publish-all'
4726 is called with a prefix argument.
4728 * org-list.el (org-indent-item): Fix typo.
4729 (org-item-indent-positions): Normalize ordered bullet.
4731 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4733 * org-macs.el (org-set-local): Make a local variable, do not make
4734 the variable buffer-local!
4736 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
4738 * org-exp.el (org-infile-export-plist): Read BIND lines.
4739 (org-install-letbind): New function.
4740 (org-export-as-org, org-export-preprocess-string): Call
4741 `org-install-letbind'.
4743 * org-list.el (org-list-demote-modify-bullet): New option.
4744 (org-first-list-item-p): Save point.
4745 (org-fix-bullet-type): New optional argument FORCE-BULLET.
4746 (org-indent-item): Honor `org-list-demote-modify-bullet'.
4747 (org-item-indent-positions): Return bullet types along with
4750 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4752 * org.el (org-show-entry): Hide drawers.
4754 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4756 * org-footnote.el (org-footnote-auto-adjust): New option.
4757 (org-footnote-auto-adjust-maybe): New function.
4758 (org-footnote-new, org-footnote-delete): Call
4759 `org-footnote-auto-adjust-maybe'.
4761 * org.el (org-startup-options): Add new footnote-related
4764 * org-publish.el (org-publish-timestamp-filename): Additional
4765 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
4766 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
4767 TRUE-PUB-DIR. Pass them through to
4768 `org-publish-timestamp-filename'.
4769 (org-publish-update-timestamp): Additional arguments PUB-DIR and
4770 PUB-FUNC, which are included in the hash.
4771 (org-publish-file): Delay timestamp test until the publishing
4774 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4776 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
4777 setting the deadline.
4779 * org.el (org-read-date-final-answer): New variable.
4780 (org-read-date): Store the final answer string, including the date
4781 from the calendar, for reuse by agenda bulk commands.
4783 * org-publish.el (org-publish-attachment): Fix publishing of
4786 * org-latex.el (org-export-latex-quotation-marks): Fix export of
4787 quotation makrs in parenthesis.
4788 (org-remove-initial-hash): New function.
4789 (org-export-latex-preprocess): Fix bug with infinite loop if
4790 environment is not properly closed.
4792 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
4795 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
4796 highlight also when indented.
4798 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4800 * org-footnote.el (org-footnote-renumber-fn:N): New command.
4801 (org-footnote-action): Offer renumbering.
4803 * org.el (org-cycle): Honor the `integrate' value of
4804 org-cycle-include-plain-lists'.
4806 * org-list.el (org-cycle-include-plain-lists): New allowed value
4807 `internal'. Improve the docstring.
4809 * org.el (org-set-autofill-regexps): Improve the paragraph-start
4810 regexp to work better with LaTeX commands.
4812 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4814 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
4817 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4819 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
4822 * org.el (org-map-entries): No longer force
4823 `org-tags-match-list-sublevels' to t during a todo-only tags
4826 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4828 * org-latex.el (org-export-latex-low-levels): Allow user-defined
4830 (org-export-latex-subcontent): Handle user-defined environment.
4832 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
4833 the View dispatcher.
4835 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
4838 * org-latex.el (org-export-as-pdf): Protect match data during call
4839 to shell-quote-argument.
4841 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
4842 (org-agenda-view-mode-dispatch): New function.
4844 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4846 * org-agenda.el (org-agenda-mode): Reset list of marks.
4847 (org-agenda-mode-map): Define new keys for refile and bulk action.
4848 (org-agenda-menu): Add menu itesm for refile and bulk action.
4849 (org-agenda-refile): New function.
4850 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
4851 (org-agenda-marked-entries): New variable.
4852 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
4853 (org-agenda-remove-all-bulk-action-marks)
4854 (org-agenda-bulk-action): New functions/commands.
4856 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4858 * org-exp.el (org-get-file-contents): Protect org-like lines in
4860 (org-export-format-source-code-or-example): Remove newlines.
4862 * org-latex.el (org-export-latex-links): Check for no-description
4865 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
4866 argument separator back to comma.
4867 (org-export-normalize-links): Mark links without description.
4869 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4871 * org-exp.el (org-infile-export-plist): Fix bug in macro
4874 * org-agenda.el (org-agenda-clock-out): Update line after clocking
4876 (org-agenda-highlight-todo): Fix bug with highlighting.
4878 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4880 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
4881 new alignment strings.
4883 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
4885 (org-table-align): Check for forced align type.
4887 * org.el (org-self-insert-command): Add yas/expand to command
4890 * org-clock.el (org-clock-in-hook): New hook.
4891 (org-clock-in): Run `org-clock-in-hook.
4892 (org-clock-out-hook): New hook.
4893 (org-clock-out): Run `org-clock-out-hook.
4894 (org-clock-cancel-hook): New hook.
4895 (org-clock-cancel): Run `org-clock-cancel-hook.
4896 (org-clock-goto-hook): New hook.
4897 (org-clock-goto): Run `org-clock-goto-hook.
4899 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4901 * org.el (org-store-link): Better default description for link to
4904 * org-exp.el (org-export-generic): Autoload the generic exporter
4906 (org-export): Implement the `g' key for the generic exporter.
4908 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4910 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
4913 * org-exp.el (org-infile-export-plist): Get macros also from
4916 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4918 * org-colview.el (org-columns-capture-view): Protect vertical bars
4920 (org-columns-capture-view): Exclude comment and archived trees.
4922 * org-colview-xemacs.el (org-columns-capture-view): Protect
4923 vertical bars in column values.
4924 (org-columns-capture-view): Exclude comment and archived trees.
4926 * org.el (org-quote-vert): New function.
4928 * org-latex.el (org-export-latex-verbatim-wrap): New option.
4930 * org-exp.el (org-export-format-source-code-or-example): Use
4931 `org-export-latex-verbatim-wrap'.
4933 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
4936 2009-08-06 Eric Schulte <schulte.eric@gmail.com>
4938 * org-exp-blocks.el: New file.
4940 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4942 * org-remember.el (org-remember-templates): Allow the headline
4943 element to be a function.
4944 (org-remember-apply-template): If the headline is a function, call
4945 it to get the true function.
4947 * org-clock.el (org-clock-menu): New function.
4948 (org-clock-update-mode-line): Update help string.
4949 (org-clock-modify-effort-estimate): New function.
4950 (org-clock-mark-default-task): New function.
4952 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
4954 (org-org-menu): Add new clocking stuff.
4955 (org-clock-is-active): New function.
4957 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4959 * org.el (org-open-non-existing-files): Improve docstring.
4961 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4963 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
4965 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
4967 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
4969 * org-list.el (org-get-checkbox-statistics-face): Use the new
4972 * org-faces.el (org-checkbox-statistics-todo)
4973 (org-checkbox-statistics-done): New faces.
4975 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4977 * org-latex.el (org-export-latex-use-verb): New variable.
4978 (org-export-latex-emph-format): Prefer \texttt over \verb when
4979 org-export-latex-use-verb is set.
4981 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4983 * org-remember.el (org-remember-handler): Abort remember if the
4986 * org-exp.el (org-export-format-source-code-or-example): Run
4987 `org-src-mode-hook'.
4989 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4991 * org.el (org-indent-line-function): Fix indentation of +#end lines.
4993 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
4995 * org-gnus.el (org-gnus-store-link): Require message.el in
4996 org-gnus-store-link.
4998 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5000 * org-src.el: New file, split out of org.el.
5002 * org-macs.el (org-replace-match-keep-properties): New function.
5004 * org-exp.el (org-export-mark-blockquote-verse-center): Better
5005 preprocessing of center and quote and verse blocks.
5007 * org-list.el (org-list-end): Respect the stored "original"
5008 indentation when determining the end of the list.
5010 * org-exp.el (org-export-replace-src-segments-and-examples):
5011 Remember indentation correctly.
5013 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5015 * org-clock.el (org-clock-update-mode-line): Apply face
5016 org-mode-line-clock.
5018 * org-faces.el (org-mode-line-clock): New face.
5020 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
5022 * org-gnus.el (org-gnus-store-link): Fix bug where
5023 `org-gnus-store-link' used wrong subject when called in an article
5024 buffer. Patch provided by fengli AT gmail DOT com.
5026 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5028 * org-exp.el (org-export-format-source-code-or-example): Remember
5029 the original indentation of source code snippets and examples.
5031 * org-latex.el (org-export-as-latex): Relocate the table of
5034 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
5036 * org-agenda.el (org-run-agenda-series): Scope global options also
5037 when creating the agenda buffer.
5039 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5041 * org.el (org-adapt-indentation): Improve documentation.
5042 (org-insert-property-drawer): Respect org-adapt-indentation when
5043 inserting the drawer.
5044 (org-remove-flyspell-overlays-in): New function.
5045 (org-do-emphasis-faces, org-activate-plain-links)
5046 (org-activate-code, org-fontify-meta-lines-and-blocks)
5047 (org-activate-angle-links, org-activate-footnote-links)
5048 (org-activate-bracket-links, org-activate-dates)
5049 (org-activate-target-links, org-activate-tags): Remove flyspell
5052 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5054 * org.el (org-edit-src-save): New function.
5056 * org-clock.el (org-clock-out-switch-to-state): New option.
5057 (org-clock-out): Honor `org-clock-out-switch-to-state'.
5059 * org-compat.el (org-compatible-face): Improve macro.
5061 * org.el (org-global-properties-fixed): Add default for
5062 CLOCK_MODELINE_TOTAL.
5064 * org-clock.el (org-clock-sum): Accept lists and strings as tstart
5066 (org-clock-sum-current-item): Optional argument TSTART, pass it to
5068 (org-clock-get-sum-start): New function.
5070 * org.el (org-startup-options): New keywords blockhide and
5072 (org-mode): Add new invisibility spec.
5073 (org-set-startup-visibility): Hide block on startup if so
5075 (org-hide-block-startup): New option.
5076 (org-block-regexp): New constant.
5077 (org-hide-block-overlays): New variable.
5078 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
5079 (org-show-block-all, org-hide-block-toggle-maybe)
5080 (org-hide-block-toggle): New functions.
5081 (org-edit-src-exit): Do not quote lines starting with # and no +
5083 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
5086 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5088 * org.el (org-buffer-property-keys): Add Effort property for
5091 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5093 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
5094 when retrieving total clocked time in the subtree.
5096 * org.el (org-quoting-blocks): New variable.
5098 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5100 * org-table.el (org-table-store-formulas)
5101 (org-table-get-stored-formulas, org-table-fix-formulas)
5102 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
5103 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
5105 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
5106 indented #+TBLFM line.
5108 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
5109 indented #+TBLFM line.
5111 * org-colview.el (org-dblock-write:columnview): Allow indented
5114 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
5115 indented #+TBLFM line.
5117 * org-clock.el (org-dblock-write:clocktable): Allow indented
5120 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5122 * org-exp.el (org-export-format-source-code-or-example): Make
5123 editing indented blocks work correctly.
5125 * org.el (org-edit-src-nindent): New variable.
5126 (org-edit-src-code, org-edit-fixed-width-region)
5127 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
5128 editing indented blocks work correctly.
5130 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5132 * org-exp.el (org-export-replace-src-segments-and-examples): Find
5134 (org-export-format-source-code-or-example): Fix indentation of
5136 (org-export-remove-indentation): New function.
5137 (org-export-select-backend-specific-text): Allow backend-specific
5138 code to be indented.
5139 (org-export-mark-blockquote-verse-center): Allow markers to be
5142 * org.el (org-fontify-meta-lines): New function.
5143 (org-set-font-lock-defaults): Call the new fontification
5146 * org-faces.el (org-meta-line): New face.
5147 (org-block): New face.
5149 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5151 * org.el (org-treat-insert-todo-heading-as-state-change)
5152 (org-treat-S-cursor-todo-selection-as-state-change): New
5154 (org-insert-todo-heading): Honor
5155 `org-treat-insert-todo-heading-as-state-change'.
5156 (org-shiftright, org-shiftleft): Honor
5157 `org-treat-S-cursor-todo-selection-as-state-change'.
5158 (org-inhibit-logging): New variable.
5160 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5162 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
5163 range for marker position checking.
5165 * org-latex.el (org-export-latex-first-lines): Fix bug when
5168 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5170 * org-exp.el (org-export-push-to-kill-ring): Protect using
5171 x-set-selection, because that does not always work.
5173 * org-agenda.el (org-agenda-list): Apply the new face
5174 `org-agenda-date-today'.
5176 * org-faces.el (org-agenda-date-today): New face.
5178 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5180 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
5181 creating appointments.
5183 * org-latex.el (org-export-latex-low-levels): Fix customization
5186 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
5189 * org-agenda.el (org-agenda-priority): Disable priority commands.
5191 * org.el (org-enable-priority-commands): New option.
5193 * org-colview-xemacs.el (org-columns-compute)
5194 (org-columns-number-to-string): Fix problems with empty fields.
5196 * org-colview.el (org-columns-compute)
5197 (org-columns-number-to-string): Fix problems with empty fields.
5199 * org-exp.el (org-export-push-to-kill-ring): New function.
5200 (org-export-copy-to-kill-ring): New option.
5202 * org-latex.el (org-export-as-latex): Call
5203 `org-export-push-to-kill-ring'.
5205 * org-exp.el (org-export-show-temporary-export-buffer): New
5208 * org-latex.el (org-export-as-latex): Use
5209 `org-export-show-temporary-export-buffer'.
5211 * org-exp.el (org-export-show-temporary-export-buffer): New
5213 (org-export-push-to-kill-ring): New function.
5215 * org-colview.el (org-columns-compile-map): New variable.
5216 (org-columns-new, org-columns-compute)
5217 (org-columns-number-to-string, org-columns-uncompile-format)
5218 (org-columns-compile-format): Implement new operators.
5220 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5222 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
5224 * org-list.el (org-update-checkbox-count): Make property
5227 * org.el (org-hierarchical-todo-statistics): New option.
5228 (org-update-parent-todo-statistics): Modify to handle recursive
5231 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5233 * org-publish.el (org-publish): Make this function behave
5234 correctly in interactive use when called with a prefix argument.
5236 * org.el (org-todo-statistics-hook): New hook.
5237 (org-update-parent-todo-statistics): Use new hook.
5238 (org-log-into-drawer): New function.
5239 (org-add-log-setup): Use the new `org-log-into-drawer' function to
5240 determine if we should be logging into a drawer.
5241 (org-log-into-drawer): Update docstring.
5242 (org-default-properties): Add LOG_INTO_DRAWER as a property.
5244 * org-list.el (org-checkbox-statistics-hook): New hook.
5245 (org-update-checkbox-count-maybe): Use new hook.
5247 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5249 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
5250 better bufer-generating mechanism.
5251 (org-edit-src-find-buffer): New function.
5253 * org-icalendar.el (org-print-icalendar-entries): Don't check for
5254 archive tag, this is already done by `org-agenda-skip'.
5255 data while constructing lost of tags.
5257 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5259 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
5260 as argument separator in macros.
5262 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5264 * org.el (org-after-sorting-entries-or-items-hook): New hook.
5265 (org-sort-entries-or-items): Run the new hook.
5266 (org-after-refile-insert-hook): New hook.
5267 (org-refile): Run `org-after-refile-insert-hook'.
5269 * org-agenda.el (org-agenda-get-progress): Never take time of day
5270 from headline when displaying progress.
5272 * org-latex.el (org-export-latex-complex-heading-re): New variable.
5273 (org-export-as-latex): Force the correct regexp in the
5274 preprocessor buffer.
5275 (org-export-latex-set-initial-vars): Set
5276 `org-export-latex-complex-heading-re'.
5278 * org-agenda.el (org-agenda-start-with-log-mode): New option.
5279 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
5281 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5283 * org-latex.el (org-export-latex-tables-centered): New option.
5284 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
5286 * org-exp.el (org-export-as-org): New command.
5287 (org-export-as-org): New command.
5289 * org-publish.el (org-publish-org-to-org): New function.
5291 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5293 * org.el (org-yank): Just call `org-yank-generic'.
5294 (org-yank-generic): New function, containing the formaer
5295 functionality of `org-yank'.
5297 * org-latex.el (org-export-latex-not-done-keywords)
5298 (org-export-latex-done-keywords): New variables.
5299 (org-export-latex-todo-keyword-markup): New option.
5300 (org-export-latex-set-initial-vars): Remember the TODO keywords.
5301 (org-export-latex-keywords-maybe): Apply the TODO markup.
5303 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5305 * org-exp.el (org-infile-export-plist): Add more default macros.
5306 (org-export-preprocess-apply-macros): Process macro arguments.
5308 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5310 * org-icalendar.el (org-icalendar-include-todo): New allowed value
5312 (org-print-icalendar-entries): Respect the new value of
5313 `org-icalendar-include-todo'.
5315 * org.el (org-link-try-special-completion)
5316 (org-file-complete-link): New functions.
5317 (org-insert-link): Add special completion support for some link
5320 * org-bbdb.el (org-bbdb-complete-link): New function.
5322 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5324 * org-list.el (org-update-checkbox-count): Allow recursive
5326 (org-hierarchical-checkbox-statistics): New option.
5328 * org.el (org-cycle): Remove erraneous space character.
5330 * org-icalendar.el (org-icalendar-timezone): Initialize from
5333 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5335 * org.el (org-autoload): Fix autoloading of ascii export
5337 (org-modules): Add org-special-blocks.
5339 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5341 * org-icalendar.el (org-start-icalendar-file): Use the new option.
5342 (org-ical-timezone): New option.
5344 * org-exp.el (org-export-get-coderef-format): Use the description
5347 * org.el (org-sort-entries-or-items): Improve docstring, and make
5348 better implementation for time sorting.
5350 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5352 * org.el (org-edit-src-persistent-message): New option.
5353 (org-edit-src-code, org-edit-fixed-width-region): Use the new
5356 * org-clock.el (org-clock-insert-selection-line): Fix prefious
5359 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
5360 separate buffer instead of indirect buffer to edit source code.
5361 (org-edit-src-exit): Make this function work with the new setup.
5363 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
5364 are properly fontified before shown in the selection menu.
5366 * org.el (org-fontify-like-in-org-mode): New function.
5368 * org-latex.el (org-export-latex-links): Use the property list to
5369 retrieve the default image attributes.
5371 * org-exp.el (org-export-plist-vars): Add a new option.
5373 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5375 * org-exp.el (org-export, org-export-visible): Support ASCII
5377 (org-export-normalize-links): Do not protect the description if it
5378 is explicitly given.
5380 * org-list.el (org-reset-checkbox-state-subtree): Move here from
5382 (org-reset-checkbox-state-subtree): Call
5383 `org-reset-checkbox-state-subtree'.
5385 * org-remember.el (org-select-remember-template): For the
5386 selection of a valid template.
5388 * org-latex.el (org-export-region-as-latex): Supply the
5389 force-no-subtree argument.
5390 (org-export-as-latex): Provide better limits when exporting the
5391 first line. When exporting to string, we still want the first
5393 (org-export-latex-first-lines): New argument END, to force the end
5395 (org-export-region-as-latex): Use the property list.
5396 (org-export-as-latex):
5398 * org-colview-xemacs.el (org-columns-remove-overlays)
5399 (org-columns): Fix call to `local-variable-p'.
5401 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5403 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
5404 (org-export-latex-preprocess): Run the new hook.
5406 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
5407 (org-export-preprocess-string): Run the new hook.
5409 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5411 * org-macs.el (org-check-external-command): New defsubst.
5413 * org.el (org-mode-map): New key for reload.
5414 (org-format-latex): Better error message when external programs
5417 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
5419 * org.el (org-sort-entries-or-items): Explicit sorting function
5420 for priorities, needed for XEmacs compatibility.
5422 * org-remember.el (org-remember-apply-template): Improve auto-save
5425 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5427 * org-latex.el (org-export-latex-preprocess): Also protect
5428 environments ending in a star.
5430 * org-list.el (org-at-item-p): Fix regular expression.
5432 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5434 * org.el (org-end-of-subtree): Improve speed.
5436 * org-agenda.el (org-agenda-get-timestamps)
5437 (org-agenda-get-progress, org-agenda-get-deadlines)
5438 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
5439 in particular, wait as long as possible to collect the tags.
5440 (org-stuck-projects): Improve docstring.
5442 * org.el (org-store-link): No errors when getting custom id before
5444 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
5446 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5448 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
5450 * org-protocol.el: Remove dependency on url.el.
5451 (org-protocol-unhex-compound, org-protocol-open-source): Remove
5452 dependency on url.el.
5454 * org-latex.el (org-export-as-pdf): Use
5455 `org-latex-to-pdf-process'.
5457 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5459 * org-latex.el (org-latex-to-pdf-process): New option.
5461 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
5463 (org-agenda-get-timestamps): Honor
5464 `org-agenda-skip-additional-timestamps-same-entry'.
5466 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
5467 (org-clock-goto): Find recent task only if
5468 `org-clock-goto-may-find-recent-task' allows it.
5470 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
5471 drawers, and drawers that are missing the :END: line.
5473 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5475 * org-clock.el (org-clock-goto): Go to recently clocked task if no
5478 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5480 * org.el (org-update-parent-todo-statistics): Check for
5481 STATISTICS_FROM property.
5483 * org-list.el (org-update-checkbox-count): Check for
5484 STATISTICS_FROM property.
5486 * org.el (org-tab-first-hook)
5487 (org-tab-after-check-for-table-hook)
5488 (org-tab-after-check-for-cycling-hook): New hooks.
5489 (org-cycle-internal-global, org-cycle-internal-local): New
5490 functions, split out from `org-cycle'.
5491 (org-cycle): Call the new hooks.
5493 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5495 * org-exp.el (org-export-preprocess-string): Reset the list of
5496 preferred targets for each run of the preprocessor.
5498 * org.el (org-refile-target-verify-function): Improve
5500 (org-get-refile-targets): Respect point being moved by the
5501 verification function.
5503 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
5505 (org-export-latex-keywords): Use new option.
5507 * org.el (org-rear-nonsticky-at): New defsubst.
5508 (org-activate-plain-links, org-activate-angle-links)
5509 (org-activate-footnote-links, org-activate-bracket-links)
5510 (org-activate-dates, org-activate-target-links)
5511 (org-activate-tags): Place the rear-nonsticky properties at the
5514 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5516 * org-protocol.el (server-edit): Declare `server-edit'.
5517 (org-protocol-unhex-string, org-protocol-unhex-compound): New
5519 (org-protocol-check-filename-for-protocol): Call `server-edit'.
5521 * org.el (org-default-properties): New default properteis for
5524 * org-exp.el (org-export-add-subtree-options): Add new properties
5527 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5529 * org-id.el (org-id-get-with-outline-path-completion): Turn off
5530 org-refile-target-verify-function for the duration of the command.
5532 * org.el (org-link-to-org-use-id): New possible value
5533 `create-if-interactive-and-no-custom-id'.
5534 (org-store-link): Use custom IDs.
5535 (org-link-search): Find custom ID properties from #link.
5536 (org-default-properties): Add CUSTOM_ID for property completion.
5537 (org-refile-target-verify-function): New option.
5538 (org-goto): Turn off org-refile-target-verify-function
5539 for the duration of the command.
5541 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5543 * org-exp.el (org-export-preferred-target-alist): New variable.
5544 (org-export-define-heading-targets): Find the new CUSTOM_ID
5546 (org-export-target-internal-links): Target the custom ids when
5549 * org-latex.el (org-export-latex-preprocess): Better regexp for
5550 matching latex macros with arguments.
5552 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5554 * org-remember.el (org-remember-handler): Allow filing to non-org
5557 2009-08-06 Magnus Henoch <magnus.henoch@gmail.com>
5559 * org-table.el (org-table-fix-formulas): Do not change references
5561 (org-table-get-remote-range): Convert standard coordinates to RC
5564 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
5566 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5568 * org-compat.el (org-sha1-string): Function removed.
5570 * org.el (org-refile-allow-creating-parent-nodes): New option.
5571 (org-refile-get-location): New argument NEW-NODES.
5572 (org-refile): Call `org-refile-get-location' with the new
5574 (org-refile-get-location): Arrange for adding a new child.
5575 (org-refile-new-child): New function.
5577 * org-clock.el: Fix a number of docstrings.
5578 (org-clock-find-position): New argument
5579 FIND-UNCLOSED to make the function find an unclosed clock in the
5581 (org-clock-in): Call `org-clock-find-position' with the new
5582 argument if we might be resuming a clock.
5584 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5586 * org-latex.el (org-export-latex-display-custom-times): New variable.
5587 (org-export-latex-timestamp-markup): New option.
5588 (org-export-latex-set-initial-vars): Remember the local value of
5589 `org-display-custom-times'.
5590 (org-export-latex-content): Process time stamps.
5591 (org-export-latex-time-stamps): New function.
5593 * org-macs.el (org-maybe-intangible): Add intangible property
5594 again to invisible text.
5596 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5598 * org-exp.el (org-default-export-plist): Handle undefined
5601 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5603 * org.el (org-sort-entries-or-items): Match TODO keywrds
5604 case-sensitively, when sorting.
5605 (org-priority): Do not match TODO keywords with wrong case.
5607 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5609 * org.el (org-todo): Honor the NOBLOCKING property.
5611 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
5612 NOBLOCKING property.
5614 * org.el (org-scan-tags): Fix bug in tag scanner.
5616 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5618 * org.el (org-modules): Mark obsolete packages.
5620 * org-html.el: New file, split out from org-exp.el.
5622 * org-icalendar.el: New file, split out from org-exp.el.
5624 * org-xoxo.el: New file, split out from org-exp.el.
5626 * org-ascii.el: New file, split out from org-exp.el.
5628 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5630 * org-compat.el (org-find-library-name): New function.
5632 * org.el (org-pre-cycle-hook): New hook.
5633 (org-cycle): Call the new hook in appropriate places.
5634 (org-reload): Only reload files that have been loaded before.
5636 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5638 * org.el (org-set-font-lock-defaults): Enforxe space or line end
5640 (org-todo): When changing TODO state, do matching
5642 (org-map-continue-from): New variable.
5643 (org-scan-tags): Respect values in `org-map-continue-from'.
5644 (org-reload): Make XEmacs compatible.
5646 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5648 * org-protocol.el (org-protocol-flatten-greedy): New function.
5649 (org-protocol-flatten): New function.
5651 * org.el (org-open-link-from-string): Pass reference buffer to
5652 `org-open-at-point'.
5653 (org-open-at-point): New optional argument `reference-buffer'.
5655 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5657 * org.el (org-scan-tags): Make tag scan find headline in first
5659 (org-get-refile-targets): Add the naked file name.
5660 (org-refile): Store as top-level entry when only file name was
5663 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
5665 * org.el (org-block-todo-from-children-or-siblings-or-parent):
5666 Rename from org-block-todo-from-children-or-siblings, and
5667 enhanced to look for the parent's status as well.
5669 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
5670 (org-agenda-get-progress): Add first notes line to log entry if so
5673 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5675 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
5676 (org-agenda-cleanup-fancy-diary): Call the new hook.
5678 * org-remember.el (org-remember-apply-template): Take the default
5679 for the annotation from the :annotation property.
5681 * org-mac-message.el (org-mac-message-get-link): Remove the
5683 (org-mac-message-get-link): Return the result.
5685 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5687 * org.el (org-refile-get-location): Add file name only if not
5688 already included in outline path.
5690 * org-faces.el (org-n-level-faces): Fix customization type from
5693 * org-exp.el (org-export-headline-levels): Fix customization type
5694 from number to integer.
5696 * org-agenda.el (org-agenda-confirm-kill)
5697 (org-agenda-custom-commands-local-options)
5698 (org-timeline-show-empty-dates, org-agenda-ndays)
5699 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
5700 customization type from number to integer.
5702 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5704 * org-protocol.el: Declare some functions.
5706 * org-agenda.el (org-agenda-compare-effort): Honor
5707 `org-sort-agenda-noeffort-is-high'.
5708 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
5709 (org-agenda-compare-effort): Implement the "?" operator for
5710 finding entries without effort setting.
5712 * org.el (org-extract-attributes-from-string): New function.
5714 * org-exp.el (org-export-splice-attributes): New function.
5716 2009-08-06 Bastien Guerry <bzg@altern.org>
5717 Daniel M German <dmg@uvic.org>
5718 Sebastian Rose <sebastian_rose@gmx.de>
5719 Ross Patterson <me@rpatterson.net>
5721 * org-protocol.el: New file.
5723 2009-08-06 Baoqiu Cui <cbaoqiu@yahoo.com>
5725 * org-docbook.el: New file.
5727 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5729 * org-mouse.el: XEmacs compatibility fixes.
5731 * org.el (org-modules): Add org-inlinetasks.el.
5732 (org-cycle): Implement limiting level on cycling.
5733 (org-move-subtree-down): Fix bug with swapping subtrees at end of
5736 * org-inlinetask.el: New file.
5738 * org.el (org-emphasis-regexp-components): Allow braces in
5739 emphasis pre and post match.
5741 * org-footnote.el (org-footnote-normalize): When only sorting, do
5742 not insert inline notes at the end.
5744 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
5746 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5748 * org.el (org-reftex-citation): New command.
5750 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5752 * org-agenda.el (org-agenda-cmp-user-defined): New option.
5753 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
5755 (org-entries-lessp): Apply the new sorting option.
5757 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
5758 blocker code, when an older sibling has children.
5760 * org-mac-message.el (org-mac-message-get-link): Improve getting
5761 links from multiple selected messages.
5763 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5765 * org-remember.el (org-remember-finalize): Do not set buffer file
5767 (org-remember-handler): Mark buffer as unmodified.
5768 (org-remember-handler): Delete backup file and show message about
5769 remaining backup files.
5770 (org-remember-auto-remove-backup-files): New option.
5772 * org.el (org-store-link): Use buffer name as link description in
5774 (org-ido-switchb): Fix argument bug for completion.
5776 * org-remember.el (org-remember-apply-template): Set local
5777 variable `auto-save-visited-file-name' instead of global one.
5779 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5781 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
5782 (org-agenda-get-todos): Mark file tags as inherited.
5783 (org-agenda-list): Always search diary lines for a time.
5785 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5787 * org-feed.el: New file.
5789 * org-exp.el (org-export-as-html): Close local lists depending on
5790 indentation, also when starting a table.
5792 * org-remember.el (org-remember-backup-directory)
5793 (org-remember-backup-name): New internal variable.
5795 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5797 * org-clock.el (org-clock-out-if-current): Make buffer detection
5798 work in indirect buffers as well.
5800 * org.el (org-emphasis-regexp-components): Add the exxclamation
5801 mark to the post-emphasis characters.
5803 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5805 * org.el (org-read-date-minibiffer-septup-hook): New hook.
5806 (org-read-date): Run the new hook.
5808 * org-mac-message.el (org-mac-flagged-mail): New group.
5809 (org-mac-mail-account): New variable.
5810 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
5813 * org-remember.el (org-remember-backup-directory): New variable.
5814 (org-remember-apply-template): Write file to backup directory.
5816 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5818 * org-mouse.el (org-mouse-todo-menu): New function.
5819 (org-mouse-todo-keywords): Function removed.
5820 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
5822 * org-table.el (org-table-beginning-of-field)
5823 (org-table-end-of-field): New commands.
5824 (org-table-previous-field, org-table-beginning-of-field): Better
5826 (orgtbl-setup): Include `M-a' and `M-e'.
5828 * org.el (org-backward-sentence, org-forward-sentence): New
5831 * org-colview.el (org-colview-initial-truncate-line-value): New
5833 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
5834 (org-columns): Remember the value of `truncate-lines'.
5836 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
5838 (org-columns-remove-overlays): Restore the value of
5840 (org-columns): Remember the value of `truncate-lines'.
5842 * org.el (org-columns-skip-arrchived-trees): New option.
5844 * org-agenda.el (org-agenda-export-html-style): Define color for
5845 org-agenda-done face.
5846 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
5847 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
5849 * org.el (org-scan-tags): Use the new face.
5851 * org-faces.el (org-agenda-done): New face.
5853 * org.el (org-scan-tags): Test the value org
5854 `org-tags-match-list-sublevels'.
5855 (org-tags-match-list-sublevels): New allowed value: indented.
5857 * org-latex.el (org-export-latex-make-header): Apply macros
5860 * org-exp.el (org-export-apply-macros-in-string): New function.
5862 * org-latex.el (org-export-latex-list-parameters): Fix bug
5863 with the definition of a checked box.
5865 * org-clock.el (org-clock-find-position): Fix drawer indentations.
5867 * org-latex.el (org-export-latex-low-levels): More options
5868 for how to process lower levels in LaTeX.
5869 (org-export-latex-subcontent): Better treatment for lists as a
5870 means of publishing lower levels.
5872 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5874 * org.el (org-set-font-lock-defaults): Use new checkbox face.
5876 * org-faces.el (org-checkbox): New face.
5878 * org-exp.el (org-export-html-preprocess): Only create LaTeX
5879 fragement images if there is an export file.
5881 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5883 * org-agenda.el (org-stuck-projects): Document that the subtree of
5884 projects that are not stuck will now be searched for stuck
5886 (org-agenda-skip-entry-when-regexp-matches)
5887 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
5888 (org-agenda-list-stuck-projects): Use
5889 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
5891 * org-latex.el (org-export-latex-preprocess): Improve
5894 * org-exp.el (org-export-as-html): Implement centering as a div
5895 rather than a paragraph. Do a better job with line-end in verse
5898 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5900 * org.el (org-open-at-point): Fix tags searches by mouse click.
5902 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5904 * org-latex.el (org-export-latex-preprocess): Implement the
5907 * org-exp.el (org-export-mark-blockquote-verse-center): Rename
5908 from `org-export-mark-blockquote-and-verse'.
5909 (org-export-as-html): Implement the centering markup.
5911 * org-latex.el (org-export-latex-tables): Fix vertical
5914 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5916 * org.el (org-read-date-history): New variable.
5917 (org-read-date): Use new history variable.
5918 (org-toggle-heading): Fix bug when used before first headline.
5919 (org-store-log-note): Remove drawer if empty while note is
5921 (org-remove-empty-drawer-at): New function.
5922 (org-check-after-date): New command.
5923 (org-sparse-tree): New sparse tree command "a".
5925 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
5927 2009-08-06 Bastien Guerry <bzg@altern.org>
5929 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
5930 column and a space, not only a column.
5932 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5934 * org-latex.el (org-export-latex-emphasis-alist): Better
5935 defaults for verbose emphasis.
5936 (org-export-latex-emph-format): New function.
5937 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
5939 * org-agenda.el (org-agenda-menu): Add new commands to menu.
5940 (org-agenda-do-date-later, org-agenda-do-date-earlier)
5941 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
5942 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
5945 * org.el (org-timestamp-change): Move end-time along with start
5948 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5950 * org-exp.el (org-export-target-internal-links)
5951 (org-export-as-html): Protect links specified as #name.
5953 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5955 * org.el (org-clone-subtree-with-time-shift): New command.
5957 * org-latex.el (org-export-latex-special-chars)
5958 (org-export-latex-treat-sub-super-char): Fix subscript export.
5960 * org-exp.el (org-create-multibrace-regexp): Do not add
5961 backslashes to the class.
5963 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5965 * org-colview.el (org-columns-map): Better functions for moving up
5966 and down a row, even if `truncate-line' is nil.
5968 * org.el (org-insert-todo-heading): Make sure the keyword is
5969 inserted at the correct position.
5971 * org-publish.el (org-publish-project-alist)
5972 (org-publish-projects, org-publish-org-index): Change default anme
5973 for the index of file names to "sitemap.org".
5975 * org-latex.el (org-export-latex-tables): Use
5976 `org-split-string', for Emacs 21 compatibility.
5978 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5980 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
5982 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5984 * org-exp.el (org-export-page-description)
5985 (org-export-page-keywords): New variables.
5986 (org-export-plist-vars): Add entries for :keywords and
5988 (org-infile-export-plist): Parse for new keywords.
5989 (org-get-current-options): Add new keywords.
5990 (org-export-as-html): Publish description and keywords.
5992 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
5994 (org-agenda-add-entry-text): Honor
5995 `org-agenda-add-entry-text-descriptive-links'.
5997 * org-latex.el (org-export-latex-preprocess): Make all
5998 external preprocess functions use a PARAMETER arg.
6000 * org-exp.el (org-export-preprocess-string)
6001 (org-export-select-backend-specific-text)
6002 (org-export-format-source-code-or-example)
6003 (org-format-org-table-html): Support docbook export.
6004 (org-export-preprocess-string): Make all external preprocess
6005 functions use a PARAMETER arg.
6007 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6009 * org-exp.el (org-export-html-style-include-scripts): New option.
6010 (org-export-plist-vars): Add new option
6011 `org-export-html-style-include-scripts'.
6012 (org-export-as-html): Honor new option
6013 `org-export-html-style-include-scripts'.
6014 (org-export-html-scripts, org-export-html-style-default): Fix
6015 xml issues with the Safari browser.
6017 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6019 * org-publish.el (org-publish-attachment): Only copy file when the
6022 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6024 * org-clock.el (org-clocktable-steps): Use inactive time stamps
6025 for clocktable steps.
6027 * org.el (org-additional-option-like-keywords): Add two more
6030 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6032 * org-exp.el (org-export-format-source-code-or-example): Mark
6033 temporary buffer unmodified, so that it will be killed even if
6034 mode like message mode has decided to assign a file name.
6036 * org.el (org-scan-tags): Improve tag inheritance.
6037 (org-scan-tags, org-make-tags-matcher): Make tag comparison
6039 (org-scan-tags): Use the internal tags list instead of creating it
6041 (org-trust-scanner-tags, org-scanner-tags): New variables.
6042 (org-scan-tags): Set `org-scanner-tags'.
6043 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
6044 (org-map-entries): Document the possible speedup using scanner
6047 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6049 * org.el (org-add-planning-info): Fix bug with looking for keyword
6052 * org-agenda.el (org-agenda-custom-commands-local-options): Add
6053 option for tags filter preset.
6054 (org-prepare-agenda): Store filter preset as a property on the
6056 (org-finalize-agenda): Call the filter, if there is a preset.
6057 (org-agenda-filter-by-tag): Filter again after clearing the
6058 filter, when there still is a preset.
6059 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
6060 Include the preset filter.
6061 (org-agenda-redo): Apply the filter again, also the preset filter.
6063 * org-exp.el (org-export-as-html): Use IDs in the correct way.
6065 * org.el (org-uuidgen-p): New funtion.
6067 * org-agenda.el (org-agenda-fontify-priorities): New default value
6069 (org-agenda-fontify-priorities): Rename from
6070 org-fontify-priorities.
6072 * org.el (org-set-font-lock-defaults): Call
6073 `org-font-lock-add-priority-faces'.
6074 (org-font-lock-add-priority-faces): New function.
6076 * org-faces.el (org-set-tag-faces): New option.
6077 (org-priority-faces): New variable.
6079 * org-exp.el (org-export-as-html): Add a "content" div around the
6080 entire content of the body tag.
6081 (org-export-html-get-bibliography): New function.
6082 (org-export-html-validation-link): New variable.
6083 (org-export-as-html): Add validation link to exported page.
6085 * org.el (org-match-sparse-tree): Rename from
6086 `org-tags-sparse-tree'.
6087 (org-tags-sparse-tree): New alias.
6089 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6091 * org.el (org-get-valid-level): Catch the case where the level
6094 * org-clock.el (org-clock-find-position): Better indentation of
6097 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6099 * org-agenda.el (org-agenda-quit): Delete window only when the
6100 frame-setup was not `current-window'.
6102 * org.el (org-tag-persistent-alist): New option.
6103 (org-startup-options): Add keyword `noptag'.
6104 (org-fast-todo-selection): Handle :newline correctly.
6105 (org-set-tags): Handle :newline correctly.
6106 (org-fast-tag-selection): Handle :newline correctly.
6108 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6110 * org-exp.el (org-export-as-ascii): Reverse link buffer before
6112 (org-export-ascii-push-links): Fix bug with pussing links into the
6115 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6117 * org-archive.el (org-archive-subtree): Do not add 1 to level if
6118 pasting at top level.
6120 * org-bbdb.el: Improve documentation.
6122 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6124 * org-list.el (org-insert-item): Only consider insert empty lines
6125 is `org-empty-line-terminates-plain-lists' is not nil.
6127 * org.el (org-blank-before-new-entry): Mention the dependence on
6128 `org-empty-line-terminates-plain-lists' in the docstring.
6130 * org-publish.el (org-publish-get-project-from-filename): New
6131 optional argument UP. Only find the top project if UP is set.
6132 (org-publish-current-project): Find the top encloding project.
6134 * org-agenda.el (org-agenda-before-write-hook)
6135 (org-agenda-add-entry-text-maxlines): New options.
6136 (org-write-agenda): Run the new hook in the temporary buffer.
6137 (org-agenda-add-entry-text): New function.
6138 (org-write-agenda): Implement PDF export, using ps2pdf.
6140 * org.el (org-global-properties-fixed, org-global-properties):
6141 Improve documentation string.
6143 * org-exp.el (org-export-ascii-links-to-notes): New option.
6144 (org-export-as-ascii): Handle links better.
6145 (org-export-ascii-wrap, org-export-ascii-push-links): New
6148 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6150 * org-agenda.el (org-agenda): Make prefix arg optional.
6151 (org-agenda-search-headline-for-time): New option.
6152 (org-format-agenda-item): Honor
6153 `org-agenda-search-headline-for-time'.
6155 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
6158 * org.el (org-self-insert-cluster-for-undo): New option.
6159 (org-self-insert-command): Cluster undo for 20 characters.
6160 (org-self-insert-command-undo-counter): New variable.
6162 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6164 * org-exp.el (org-export-as-html): Fix problem with closing colone
6167 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6169 * org-latex.el (org-export-as-latex)
6170 (org-export-latex-first-lines): Avoid modification flag when
6171 adding or removing text properties.
6172 (org-export-latex-fontify): Catch error when org-emph-alist has
6173 entries that are not defined for LaTeX export.
6175 * org-export-latex.el: Rename to org-latex.el.
6177 * org-latex.el: Rename from org-export-latex.el.
6179 * org.el (orgstruct++-mode): New function.
6180 (turn-on-orgstruct++): Call `orgstruct++-mode'.
6181 (org-context-p): Allow detecting item context after the first line
6183 (orgstruct-make-binding): Detect if item-body context should be
6185 (orgstruct-is-++): New variable.
6186 (org-add-planning-info): Catch the case when there is no planning
6187 info yet and the call does not want to add anything, only maybe
6188 tries to remove something.
6189 (org-special-ctrl-a/e): All value to be a cons cell with separate
6190 settings for `C-a' and `C-e'.
6191 (org-beginning-of-line, org-end-of-line): Honor separate values
6192 for `C-a' and `C-e'.
6194 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6196 * org.el (org-reload): New command.
6198 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
6200 * org-gnus.el (org-gnus-store-link): Fix bug where
6201 org-gnus-store-link used wrong subject when called in an article
6202 buffer. Patch provided by fengli AT gmail DOT com.
6204 2009-03-13 D. Goel <deego3@gmail.com>
6206 * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
6207 replace ls by (values-list ls).
6209 2009-02-20 Carsten Dominik <dominik@science.uva.nl>
6211 * org-remember.el (org-remember-apply-template): Turn off ido for
6214 * org.el (org-priority): Also find invisible headings, for remote
6216 (org-completing-read-no-ido): New function.
6217 (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
6219 * org-colview.el (org-columns-edit-value): No special treatment of
6222 2009-02-19 Carsten Dominik <dominik@science.uva.nl>
6224 * org.el (org-block-todo-from-children-or-siblings): Use
6225 `org-up-heading-all' so that this will work correctly with hidden
6226 property drawers and entries.
6227 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
6228 falling back to normal, default command.
6229 (org-get-location): Temporarily turn off special behavior.
6231 2009-02-13 Glenn Morris <rgm@gnu.org>
6233 * org-rmail.el (rmail-show-message): Restore argument list to the
6234 declaration now that this functions behaves in Emacs 23 as in 22.
6236 2009-02-12 Glenn Morris <rgm@gnu.org>
6238 * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
6240 2009-02-12 Joachim Reiter <Reiter.Joachim@web.de> (tiny change)
6242 * org-footnote.el (org-footnote-action): Fix doc typo.
6244 2009-02-06 Carsten Dominik <dominik@science.uva.nl>
6246 * org-exp.el (org-export-preprocess-string): Fix bug with skipping
6247 text before first headline.
6248 (org-export-remove-or-extract-drawers): Fix regular expression for
6251 * org.el (org-format-latex): Stop LaTeX fragment processing in
6254 2009-02-05 Glenn Morris <rgm@gnu.org>
6256 * org-rmail.el (rmail-show-message): Update declaration.
6257 (rmail-buffer, rmail-view-buffer): Declare.
6258 (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
6260 2009-02-04 Carsten Dominik <dominik@science.uva.nl>
6262 * org.el (org-return-follows-link): Revert setting
6263 `org-return-follows-link' to t by default.
6265 2009-02-02 Carsten Dominik <dominik@science.uva.nl>
6267 * org.el (org-cycle-global-at-bob): Fix typo.
6269 * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
6271 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
6273 * org.el (org-mode): Make dependence stuff work more reliably.
6274 (org-update-parent-todo-statistics): Fix bug with updating
6276 (org-yank-adjusted-subtrees, org-return-follows-link)
6277 (org-use-fast-todo-selection, org-tags-column): New default
6278 setting for variables.
6280 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
6281 ~ as verbatim delimiters, to avoid table bug.
6282 (org-export-latex-classes): Remove the a4paper option from the
6285 * org-exp.el (org-export-html-format-image): New argument
6286 PAR-OPEN, to fix XHTM validation bug.
6287 (org-export-as-html): Pass par-open to
6288 `org-export-html-format-image'.
6289 (org-export-html-footnotes-section): Use a more consistent id for
6292 * org-agenda.el (org-agenda-sorting-strategy)
6293 (org-agenda-tags-column): New default setting for variables, based
6294 on a poll what typical uses use.
6295 (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
6296 setting the blocked tag.
6298 2009-01-31 Carsten Dominik <dominik@science.uva.nl>
6300 * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
6301 only checking for blocks.
6303 * org-exp.el (org-export-html-footnotes-section): Make the div id
6306 * org-export-latex.el (org-export-latex-classes): Remove
6307 paper size option from LaTeX classes.
6309 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
6311 * org.el (org-enforce-todo-checkbox-dependencies): New option.
6312 (org-block-todo-from-checkboxes): New function.
6313 (org-todo): Make tripple prefix arg circumvent blocking.
6315 2009-01-30 Glenn Morris <rgm@gnu.org>
6317 * org-list.el (org-empty-line-terminates-plain-lists)
6318 (org-toggle-checkbox): Doc fixes.
6320 * org-table.el (org-table-clean-before-export): Fix declaration.
6322 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
6324 * org-timer.el (org-timer): Provide the timer feature.
6326 * org.el (org-require-autoloaded-modules): Add a few more files to
6327 the list of autoloaded modules.
6329 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
6331 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
6332 drawers that are unprotected.
6333 (org-export-html-format-image): Make sure inlined LaTeX fragment
6334 images remain inlined.
6336 * org.el (org-toggle-ordered-property): New function.
6337 (org-mode-map): Add a key for `org-toggle-ordered-property'.
6338 (org-org-menu): Add menu entries for TODO dependencies.
6340 * org.el (org-default-properties): Add ORDERED to the default
6341 properties, to get completion support for it.
6343 * org-list.el (org-update-checkbox-count): Update more than one cookie.
6345 * org.el (org-update-parent-todo-statistics): Update more than one
6348 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
6350 * org-agenda.el (org-agenda-get-todos): Start search from correct
6353 * org.el (org-fast-todo-selection): Make sure TODO selection does
6354 not change buffer position.
6356 * org-list.el (org-toggle-checkbox): Implement adding or removing
6357 checkboxes from line or region when called with a prefix
6360 * org-rmail.el (org-rmail-store-link): Protect the call to
6361 `rmail-narrow-to-non-pruned-header'.
6363 * org-clock.el (org-clock-special-range): Fix week display in
6366 * org-exp.el (org-get-current-options): Fix bug when in indirect
6369 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
6370 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
6371 (org-agenda-dim-blocked-tasks): New function.
6373 * org.el (org-enforce-todo-dependencies): New option.
6374 (org-block-todo-from-children-or-siblings): New function.
6376 * org-faces.el (org-agenda-dimmed-todo-face): New face.
6378 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
6380 * org.el (org-todo): Return correct state type even if the blocker
6382 (org-modifier-cursor-error): Rename from
6383 `org-shiftcursor-error'.
6384 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
6385 (org-shiftmetadown): Call `org-modifier-cursor-error'.
6387 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
6388 to get real errors from the blocker hook.
6390 * org.el (org-shiftselect-error, org-call-for-shift-select): New
6392 (org-set-visibility-according-to-property): Turn off the setting
6393 of `org-show-entry-below', to avoid overruling a FOLDED visibility
6396 * org.el (org-support-shift-select): New option.
6397 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
6398 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
6399 selection outside contexts.
6401 * org-list.el (org-at-item-bullet-p): New function.
6403 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
6406 * org-footnote.el (org-footnote-normalize): Remove unnecessary
6408 (org-insert-footnote-reference-near-definition): Remove
6409 unnecessary let form.
6411 2009-01-26 Carsten Dominik <dominik@science.uva.nl>
6413 * org-export-latex.el (org-export-as-latex): Call
6414 `org-export-latex-first-lines' with OPT-PLIST as a parameter.
6415 (org-export-latex-first-lines): New parameter OPT-PLIST.
6417 * org.el (org-yank): Tell `delete-selection-mode' about
6420 * org-faces.el (org-clock-overlay): Fix face definition.
6422 * org-export-latex.el (org-export-latex-first-lines): Pass
6423 timestamp and footnote parameters to the preprocessor.
6425 * org-exp.el (org-export-remove-timestamps): Do not remove time
6426 stamps inside tables.
6428 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6430 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
6432 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
6435 * org-table.el (org-table-insert-hline): Fix typo in fuction call
6438 * org-exp.el (org-export-as-html): Remove the initial space from
6441 * org.el (org-scan-tags): Call
6442 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
6444 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
6445 customization groups.
6446 (org-agenda-tags-todo-honor-ignore-options): New option.
6447 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
6449 (org-agenda-get-todos): Use
6450 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
6452 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6454 * org-exp.el (org-export-format-source-code-or-example): Escape
6455 HTML characters also in examples that anre not treated with
6456 htmlize. Also, just switch to EXAMPLE processing if we do not
6457 have a good version of htmlize.
6459 * org-rmail.el: Fix copyright notice.
6461 * org.el (org-activate-footnote-links): Improve footnote link
6464 * org-footnote.el (org-footnote-normalize): Fix finding the end of
6465 a footnote definition at the end of the file.
6467 * org-table.el (org-table-get-specials): Add an imagined hline at
6468 the end of the table. This can be useful for references that want
6469 to go to the end of the table. Also fix bug when computing last
6470 row constants, in tables that do not start right at the right
6472 (org-table-eval-formula): Match and replace remove references.
6473 (org-table-formula-substitute-names): Make sure that names inside
6474 a "remote" call are left alone, the will be replaced later when
6475 the remote call is handled.
6476 (org-table-convert-refs-to-rc): Do not convert things that might
6477 look like a reference, but are really part of an ID or namei n a
6479 (org-table-get-remote-range): New function.
6481 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6483 * org-faces.el (org-clock-overlay): Fix bug in face definition.
6485 * org-clock.el (org-clock-put-overlay): Use new face instead of
6486 `secondary-selection'.
6488 * org-faces.el (org-clock-overlay): New face.
6490 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6492 * org-exp.el (org-get-current-options): Include the option for
6493 publishing time stamps.
6495 * org.el (org-toggle-heading): Rename from
6496 `org-toggel-region-headings'.
6497 No longer needs a region defined, but will use it if there is one.
6498 (org-ctrl-c-star): Simplify, relying more on the internal
6499 workings of `org-toggle-heading'.
6500 (org-toggle-item): Rename from `org-toggle-region-items'.
6501 No longer needs a region defined, but will use it if there is one.
6502 (org-ctrl-c-minus): Simplify, relying more on the inernal
6503 workings of `org-toggle-item'.
6505 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
6506 environment detection. Also, do real changes only in unprotected
6509 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6511 * org-export-latex.el (org-export-latex-quotation-marks): Use
6512 `org-if-unprotected-1'.
6513 (org-export-latex-set-initial-vars): Check for class definition in
6516 * org-macs.el (org-if-unprotected-1): New macro.
6518 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6520 * org-compat.el (org-count-lines): New function.
6522 * org-exp.el (org-export-format-source-code-or-example): Handle
6523 switches related to text areas.
6525 * org.el (org-activate-footnote-links): Don't allow match inside a
6528 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
6530 * org-export-latex.el (org-export-latex-links): Keep a relative
6531 path relative also after export.
6533 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
6535 * org.el (org-make-tags-matcher): Never use IDO for completing the
6536 tags matcher match string.
6537 (org-completing-read): Also remove the special biding for "?".
6539 * org-attach.el (org-attach-allow-inheritance): New option.
6540 (org-attach-inherited): New variable.
6541 (org-attach-dir): Handle properties related to the attachment
6543 (org-attach-check-absolute-path): New function.
6544 (org-attach-set-directory, org-attach-set-inherit): New commands.
6545 (org-attach): Accommodate the new commands in the dispatcher.
6547 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6549 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
6550 `window-full-width-p'.
6552 * org-exp.el (org-export-as-html): Only check for images files
6553 that really can be inlined.
6555 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
6556 list of extensions to be a parameter.
6558 * org-exp.el (org-export-html-inline-image-extensions): New
6561 * org-agenda.el (org-prepare-agenda): Use
6562 `org-agenda-block-separator'.
6563 (org-agenda-block-separator): New option.
6565 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6567 * org-export-latex.el (org-export-latex-tables): Call
6568 `org-table-clean-before-export' with the new optional argument.
6570 * org-exp.el (org-table-clean-before-export): New optional
6571 parameter MAYBE-QUOTED, allows for quoted characters like \# in
6574 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6576 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
6579 * org-colview.el (org-colview-construct-allowed-dates): Better
6580 error catching when a date/time property does not have allowed
6583 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
6584 Better error catching when a date/time property does not have
6585 allowed values defined.
6587 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6589 * org.el (org-map-entries): Restore point and restriction after
6592 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6594 * org.el (org-time=, org-time<, org-time<=, org-time>)
6595 (org-time>=, org-time<>): Make sure both values are dates.
6597 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6599 * org-archive.el (org-extract-archive-heading): Allow %s for file
6600 name also in achive location heading.
6602 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6604 * org-archive.el (org-add-archive-files): Uniquify the list before
6607 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6609 * org-compat.el (org-fit-window-to-buffer): Use
6610 `window-full-width-p'.
6612 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
6613 space after the colon in short examples.
6615 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
6616 enforce a space after the colon. However, we also allow lines
6617 that are *only* a colon.
6618 (org-export-as-html): Enforce the space after the colon in short
6620 (org-export-preprocess-string): Do the colon example protection
6622 (org-export-remove-timestamps): Do not check for protection at the
6625 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6627 * org.el (org-format-latex-options): Add new matcher for single
6628 letters between dollars.
6629 (org-get-header): Function removed.
6630 (org-heading-components): New function.
6632 * org-exp.el (org-export-define-heading-targets): Record ID's also
6633 as alternative targets.
6634 (org-export-as-html): Interpret "id:" links to other files by
6635 preserving the relative path.
6637 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
6640 * org-exp.el (org-export-normalize-links): Protect the main link,
6641 to avoid special character processing.
6643 * org-export-latex.el (org-export-latex-special-keyword-regexp):
6645 (org-export-latex-special-string-regexps): Variable removed.
6646 (org-export-latex-keywords): Use the new regexp.
6648 * org-exp.el (org-export-handle-include-files): Fetch switches and
6649 put them into the BEGIN statement.
6651 * org-timer.el (org-timer-mode-line-string): New variable.
6653 * org-clock.el (org-clock-mode-line-map): Rename from
6654 `org-clock-mode-map'.
6655 (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
6656 (org-clock-update-mode-line): Rename from `org-update-mode-line'.
6657 (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
6658 (org-clock-remove-overlays): Rename from
6659 `org-remove-clock-overlays'.
6661 * org-timer.el (org-timer-pause-or-continue): Implement stopping
6662 and mode line display.
6663 (org-timer-stop): New command.
6664 (org-timer-seconds): Return correct time when timer is paused.
6665 (org-timer-mode-line-timer): New variable.
6666 (org-timer-set-mode-line, org-timer-update-mode-line): New
6669 * org.el (org-insert-heading): Handle new value `auto' for
6670 `org-blank-before-new-entry'.
6671 (org-org-menu): Add new items for timer functions.
6673 * org-list.el (org-insert-item): Handle new value `auto' for
6674 `org-blank-before-new-entry'.
6676 * org.el (org-blank-before-new-entry): New value `auto', made
6679 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6681 * org-exp.el (org-export-normalize-links): If the link is also
6682 used as the description, protect the description.
6684 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6686 * org.el (org-closest-date): Fix bug with yearly repeats, in
6687 combination with preference of the past as it is used for deadline
6688 and scheduling search.
6690 * org-exp.el (org-html-handle-time-stamps): No longer check for
6691 the `org-export-with-timestamps' option, because the preprocesser
6692 has taken care of this already.
6694 * org.el (org-entry-properties): Catch the case when this is
6695 called in a non-org-mode file.
6697 * org-export-latex.el (org-export-latex-remove-from-headlines):
6698 Variable made obsolete, also LaTeX export now uses the standard
6700 (org-export-as-latex): Add the timestamps parameter to the
6701 preprocessor parameter list.
6702 (org-export-latex-content): Export the remaining keywords without
6703 considering to remove them.
6704 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
6705 Use bold font instead of tt font for the keywords.
6706 (org-export-latex-fontify-headline): Format headlines, assuming
6707 that all keywords still present should be published.
6708 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
6709 publish what ever remains of the time stamps.
6710 (org-export-latex-list-parameters): New option.
6711 (org-export-latex-lists): Pass additional parameters to the list
6714 * org-exp.el (org-export-preprocess-string): Remove clock lines
6715 and timestamps already in the preprocesor.
6716 (org-export-remove-timestamps, org-export-remove-clock-lines): New
6718 (org-export-as-ascii, org-export-as-html): Add the timestamps
6719 parameter to the preprocessor parameter list.
6721 * org-list.el (org-list-parse-list): Parse for checkboxes.
6722 (org-list-to-generic): Introduce and handle new parameters :cbon
6724 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
6725 optional parameter PARAMS.
6727 * org-export-latex.el (org-export-latex-special-chars): Fix
6728 problems with interpreting dollar signs.
6729 (org-inside-latex-math-p): New function.
6730 (org-export-latex-preprocess): Protect all the math fragments.
6732 * org.el (org-latex-regexps): Allow a dash after a dollar.
6734 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
6737 * org-agenda.el (org-run-agenda-series): Have series options set
6738 when finalizing the agenda.
6740 * org-exp.el (org-export-format-source-code-or-example): Protect
6741 the converted examples.
6743 * org.el (org-set-regexps-and-options): Fix the regexp
6744 `org-complex-heading-regexp'.
6746 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6748 * org.el (org-edit-src-get-label-format): New function.
6749 (org-coderef-label-format): New option.
6750 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
6751 a label format specification and make sure it is used in the edit
6753 (org-edit-src-get-label-format): New function.
6754 (org-store-link): Handle new coderef formats.
6755 (org-link-search): Handle new coderef formats.
6757 * org-footnote.el (org-footnote-create-definition)
6758 (org-footnote-goto-local-insertion-point): Make footnote insertion
6759 work correctly when the "Footnotes" headline is the last line in
6762 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
6765 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6767 * org-w3m.el (org-w3m): New customization group.
6768 (org-w3m-deactivate-mark): New option.
6769 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
6772 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6774 * org.el (org-set-font-lock-defaults): Trigger footnote
6776 (org-activate-footnote-links): New function.
6777 (org-activate-links): New entry `footnote'.
6779 * org-faces.el (org-footnote): New face.
6781 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6783 * org-macs.el (org-re): Handle the [:word:] class.
6785 * org-exp.el (org-export-preprocess-string): Call
6786 `org-export-protect-colon-examples'.
6787 (org-export-protect-colon-examples): Rename from
6788 `org-export-protect-examples', and scope limited to lines starting
6791 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6793 * org-exp.el (org-export-preprocess-string): Move the preprocess
6794 hook to after turning on Org-mode.
6795 (org-export-preprocess-after-include-files-hook)
6796 (org-export-preprocess-after-tree-selection-hook)
6797 (org-export-preprocess-before-backend-specifics-hook)
6798 (org-export-preprocess-final-hook): New hooks.
6799 (org-export-preprocess-string): Run the new hooks.
6801 * org.el (org-ctrl-c-minus): Fix indentation for new items.
6803 * org-footnote.el: New file.
6805 * org.el (org-footnote): Require footnote code.
6806 (org-startup-options): Add new footnote options.
6807 (org-mode-map): New keybindig for footnotes.
6808 (org-ctrl-c-ctrl-c): Add function at footnotes.
6809 (org-org-menu): New menu entries for footnotes.
6811 * org-export-latex.el (org-export-as-latex): Pass footnote
6812 variable to preprocessor.
6813 (org-export-latex-preprocess): Treat multiple references to a
6816 * org-exp.el (org-export-preprocess-string): Call
6817 `org-footnote-normalize'.
6818 (org-export-as-ascii, org-export-as-html): Pass footnote variable
6820 (org-export-as-html): Treat multiple references to a footnote.
6822 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6824 * org-export-latex.el (org-export-latex-links): Handle coderef
6827 * org.el (org-bracket-link-analytic-regexp++): New variable.
6828 (org-make-link-regexps): Initialize
6829 `org-bracket-link-analytic-regexp++'.
6830 (org-store-link): Implement special case in edit-src buffer.
6831 (org-insert-link): No use of ide to insert stored links.
6832 (org-link-search): Implement special case for coderefs.
6834 * org-exp.el (org-export-html-scripts): New constant.
6835 (org-export-html-style-default): Add a new style for highlighted
6837 (org-export-code-refs): New variable.
6838 (org-export-preprocess-string): Initialize `org-export-code-refs'.
6839 Call `org-export-replace-src-segments-and-examples'
6840 No longer call `org-export-protect-examples'.
6841 (org-export-target-internal-links): Take care of coderef targets.
6842 (org-export-last-code-line-counter-value): New variable.
6843 (org-export-replace-src-segments-and-examples): Rename from
6844 `org-export-replace-src-segments', and modified.
6845 (org-export-format-source-code-or-example): Rename from
6846 `org-export-format-source-code'.
6847 (org-export-number-lines): New function.
6848 (org-export-as-ascii, org-export-as-html): Handle coderef links.
6850 2009-01-23 Glenn Morris <rgm@gnu.org>
6852 * org-rmail.el (rmail-narrow-to-non-pruned-header):
6853 Remove declaration of deleted function.
6855 2009-01-16 Glenn Morris <rgm@gnu.org>
6857 * org-mouse.el (org-mouse-show-context-menu): Use
6858 mouse-menu-major-mode-map, if defined, rather than the obsolete
6859 mouse-major-mode-menu.
6861 2008-12-23 Carsten Dominik <dominik@science.uva.nl>
6863 * org-remember.el (org-remember-handler): Safer way to get a new
6864 buffer accessing the target file.
6866 * org.el (org-refile-get-location): Handle case of current buffer
6867 not having a file associated with it.
6869 2008-12-22 Carsten Dominik <dominik@science.uva.nl>
6871 * org-table.el (org-table-get-formula): Only ask to overwrite
6872 field formula if there really is one.
6874 2008-12-21 Carsten Dominik <dominik@science.uva.nl>
6876 * org-export-latex.el (org-export-latex-make-header): Double the
6877 commenting % in the time stamp format.
6878 (org-export-latex-special-chars): Handle case where there is no
6881 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
6883 * org.el (org-get-refile-targets, org-refile-get-location): Use
6884 expanded file name to improve comparison.
6886 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
6888 * org.el (org-scan-tags): Rescan for tags, to get the correct
6889 upcase/downcase stuff. This slows things down for now, but it
6891 (org-mode): Make sure the tag-faces regexp is initialized.
6893 * org-export-latex.el (org-export-latex-links): Fix bug with
6896 * org-table.el (org-table-get-specials): Set
6897 `org-table-current-last-data-line'.
6898 (org-table-current-last-data-line): New variable.
6899 (org-table-insert-column, org-table-delete-column)
6900 (org-table-move-column, org-table-fix-formulas): Call
6901 `org-table-fix-formulas' a second time to fix the $LR references.
6902 (org-table-get-specials): Add the $LR references to the tables.
6903 (org-table-get-formula): Do not offer last-row names as LHS of
6906 * org.el (org-store-link): Capture link description from
6907 `org-id-store-link'.
6909 * org-exp.el (org-export-html-format-image): Add the / to the end
6911 (org-export-format-source-code): Surround example by empty lines,
6912 to make sure it will not be inside a paragraph.
6914 * org.el (org-ido-switchb): New function.
6916 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
6918 * org-agenda.el (org-agenda-show): New prefix argument
6921 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
6924 2008-12-20 Glenn Morris <rgm@gnu.org>
6926 * org.el (org-org-menu): Fix some more menu entries.
6928 2008-12-18 Carsten Dominik <dominik@science.uva.nl>
6930 * org-table.el (org-table-get-specials): Revert introduction of @0
6931 as reference of the last table row, because of conflicts.
6933 * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
6934 argument, get the current tags directly.
6935 (org-agenda-set-tags): Leave getting current tags to
6936 `org-agenda-change-all-lines'.
6938 2008-12-17 Carsten Dominik <dominik@science.uva.nl>
6940 * org.el (org-org-menu): Do not quote the set-tags command.
6942 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
6944 * Fix typos in comments and docstrings throughout Org-mode.
6946 * org.el (org-get-outline-path): Fix bug if level is not given.
6948 * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
6950 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
6952 * org.el (org-refile): Avoid refiling to within the region to be
6955 * org-export-latex.el (org-export-latex-special-chars): Replace
6956 special characters also in tables.
6958 * org-agenda.el (org-agenda-change-all-lines): New argument
6960 (org-agenda-set-tags): Get the new tags and pass them to
6961 `org-format-agenda-item'.
6963 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
6965 * org-export-latex.el (org-export-latex-classes): Add longable as
6966 a default package to all classes.
6967 (org-export-latex-tables): Handle the longtable attribute and the
6970 * org-table.el (orgtbl-to-generic): Handle tables that start with
6973 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
6974 \verb for colde-like snippets.
6975 (org-export-as-latex): Fix issues with region export.
6977 * org.el (org-up-heading-safe): Speed up function by using a
6978 direct regexp search.
6979 (org-olpa): New variable.
6980 (org-get-outline-path): Speed-up path constructions in cases where
6981 this is possible because the entire hierarchy is scanned anyway.
6982 (org-refile-get-location): Don't compare the truenames of files,
6984 (org-goto-max-level): New option.
6985 (org-goto): Use `org-goto-max-level'.
6987 2008-12-16 Tassilo Horn <tassilo@member.fsf.org>
6989 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
6990 Strip angle brackets from message-ids in the former and don't do
6992 (org-gnus-follow-link): Open summary reliable, even if the last
6993 messages were deleted, and handle empty groups, too.
6995 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
6997 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
6998 instead of \texttt for the =...= and ~===~ emphasis environments.
6999 (org-export-as-latex): Remove any old :org-license-to-kill text
7001 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
7002 (org-export-latex-make-header): Add some hard space after the
7004 (org-export-latex-first-lines): Accept RBEG argument. Mark
7005 exported text so that it will be excuded in further steps.
7007 * org-table.el (org-table-get-specials): Make @0 reference the
7008 last line in a table.
7009 (org-table-recalculate): Improve docstring.
7011 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
7013 * org.el (org-log-done): Fix docstring.
7015 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
7017 * org-exp.el (org-export-html-format-image): Fix bugs.
7019 * org-export-latex.el (org-export-latex-tables)
7020 (org-export-latex-links): Implement attribute, label, and caption
7023 * org-exp.el (org-export-html-style-default): Add style
7024 definitions for the figure div.
7025 (org-export-preprocess-string, org-export-as-html): Implement
7026 attribute, label, and caption handling.
7027 (org-export-attach-captions-and-attributes): New function.
7028 (org-export-html-format-image): New function.
7029 (org-format-org-table-html): Implement attribute, label, and
7032 * org.el (org-find-text-property-in-string): New function.
7033 (org-extract-attributes): Use the property org-attr instead of
7034 org-attrobutes, because this property is now set with the #+ATTR
7037 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
7039 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
7040 the case that FROM is nil.
7042 * org.el (org-before-first-heading-p): New function.
7044 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
7046 * org-exp.el (org-export-as-html): Do not add a space before
7047 enforces line breaks.
7048 (org-export-as-html): Close paragraph before blockquote and verse
7051 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
7053 * org-id.el (org-id-locations-file): Wrap file name with
7054 `convert-standard-filename'.
7055 (org-id-files): New variable.
7056 (org-id-use-hash): New option.
7057 (org-id-update-id-locations): Also search in all files current
7058 listed in `org-id-files'. Convert the resulting alist to a hash
7059 if the user customation says so.
7060 (org-id-locations-save): Handle he case if `org-id-locations' is a
7062 (org-id-locations-load): Convert the alist to a hash.
7063 (org-id-add-location): Handle the hast case.
7064 (kill-emacs-hook): Make sure id locations are saved when Emacs is
7066 (org-id-hash-to-alist, org-id-alist-to-hash)
7067 (org-id-paste-tracker): New functions.
7069 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7071 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
7072 bindings of calendar variables.
7074 * org-table.el (org-table-find-row-type): Rename from
7075 `org-find-row-type'.
7076 (org-table-rewrite-old-row-references): Rename from
7077 `org-rewrite-old-row-references'.
7078 (org-table-shift-refpart): Rename from `org-shift-refpart'.
7079 (org-table-cleanup-narrow-column-properties): Rename from
7080 `org-cleanup-narrow-column-properties'.
7082 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7084 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
7085 for better error messages.
7086 (org-table-get-descriptor-line): Supply the new arguments to
7087 `org-find-row-type'.
7088 (org-table-error-on-row-ref-crossing-hline): New option.
7090 * org.el (org-target-link-regexp): Make buffer-local.
7091 (org-move-subtree-down): Fix bug with trees at beginning of
7094 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7096 * org-faces.el (org-set-tag-faces): New function.
7097 (org-tags-special-faces-re): New variable.
7099 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
7101 * org-faces.el (org-tag-faces): New option.
7102 (org-tag): Mention `org-tag-faces' in the docstring.
7104 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7106 * org-exp.el (org-export-html-style-default): Implement new
7109 * org-jsinfo.el (org-infojs-template): Implement new quoting.
7111 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
7112 command to the `w3m-minor-mode-map'.
7114 * org-archive.el (org-archive-to-archive-sibling): Protect
7115 `this-command' to avoid appending kills during archiving.
7117 * org-exp.el (org-export-with-priority): New variable.
7118 (org-export-add-options-to-plist): Use `org-export-plist-vars'
7119 instead of internal list of strings and properties.
7120 (org-print-icalendar-entries): Retrieve the location property with
7123 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7125 * org-exp.el (org-export-with-todo-keywords): New option.
7126 (org-export-plist-vars): Include also the keys for the #+OPTIONS
7128 (org-default-export-plist, org-export-add-options-to-plist)
7129 (org-export-as-ascii, org-export-as-html): Use the new structure
7130 of `org-export-plist-vars'.
7132 * org.el (org-map-entries): Return all values.
7134 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7136 * org.el (org-matcher-time): Recognize more special values.
7138 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
7140 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7142 * org.el (org-tags-exclude-from-inheritance): New option.
7143 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
7144 `org-tags-exclude-from-inheritance'.
7146 * org-agenda.el (org-agenda-show-inherited-tags): New option.
7147 (org-format-agenda-item): Add inherited tags to the agenda line
7148 string, and make sure that properties are kept when downcasing the
7150 (org-agenda-add-inherited-tags): New function.
7151 (org-downcase-keep-props): New function.
7153 * org.el (org-scan-tags): Mark inherited tags with a text
7155 (org-get-tags-at): Mark inherited tags with a text property.
7156 (org-add-prop-inherited): New function.
7158 * org-agenda.el (org-agenda-add-inherited-tags): New function.
7159 (org-agenda-show-inherited-tags): New option.
7161 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7163 * org.el (org-modules): Add org-w3m to the default modules.
7165 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
7167 (orgtabl-create-or-convert-from-region): New command.
7169 * org-exp.el (org-export-as-ascii): Remove the handling of
7171 (org-export-ascii-preprocess): Handle targets already in this
7174 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7176 * org-timer.el (org-timer-start-time): Define this variable.
7177 (org-timer-item): Make argument optional.
7179 * org-list.el (org-insert-item): Automatically insert a timer item
7180 if the current list is a timer list.
7182 * org-timer.el: New file.
7184 * org-publish.el (org-publish-org-index): Only exclude the index
7185 file in the main directory from being added to the site-map.
7186 (org-publish-get-project-from-filename): If the current project is
7187 a component, start publishing from the parent project.
7189 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7191 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
7193 * org-publish.el (org-publish-org-index): Improve removal of
7196 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
7198 * org-agenda.el (org-get-closed): Re-apply changes
7199 accidentially overwritten by last commit to Emacs.
7201 * org.el (org-outline-path-complete-in-steps): New option.
7202 (org-refile-get-location): Honor
7203 `org-outline-path-complete-in-steps'.
7204 (org-agenda-change-all-lines, org-tags-sparse-tree)
7205 (org-time-string-to-absolute, org-small-year-to-year)
7206 (org-link-escape): Re-apply changes accidentially overwritten
7207 by last commit to Emacs.
7209 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7211 * org-clock.el (org-dblock-write:clocktable): Make sure the
7212 clocktable sees the first line.
7213 (org-clock-in): Warn if the clock cannot be resumed.
7215 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7217 * org.el (org-open-at-point): Fix mixup about interactive and
7218 non-interactive elisp links.
7220 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7222 * org-exp.el (org-export-preprocess-string): Allow one comment
7223 line before the first headline to always be included. This is
7224 to not miss a commented target.
7226 * org-mouse.el (org-mouse-insert-item): Call
7227 `org-indent-to-column' instead of `indent-to', for XEmacs
7230 * org.el (org-refile-targets): Fix customize definition so
7231 that it works also in XEmacs.
7232 (org-fixup-indentation): Call `org-indent-to-column' instead
7233 of `indent-to', for XEmacs compatibility.
7235 2008-11-23 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
7237 * org-mew.el (org-mew-store-link): Get the correct case folder
7238 for refiled messages.
7240 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7242 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
7243 line break indicators.
7245 * org.el (org-ido-completing-read): Remove the "i:" prefix for
7246 ido-completion propts.
7248 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7250 * org-remember.el (org-remember-apply-template): Use
7251 `org-substring-no-properties'.
7253 * org-compat.el (org-substring-no-properties): New function.
7255 * org-remember.el (org-remember-apply-template): Use
7256 `org-substring-no-properties' for compatibility.
7258 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
7260 (org-fix-bullet-type): Respect
7261 `org-list-two-spaces-after-bullet-regexp'.
7263 * org-clock.el (org-clock-load): Clean up the code.
7265 * org.el (org-adaptive-fill-function): Allow two spaces after
7266 "1." as a list bullet.
7268 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7270 * org-clock.el (org-clock-save, org-clock-load): Check for
7271 live buffers, existing files, and buffer file names to ensure
7272 consistent information.
7273 (org-clock-persist): Make `clock' a special value of this
7274 variable, and improve docstring.
7276 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
7277 (org-get-string-indentation): Adapt indentation when the bullet
7280 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7282 * org-remember.el (org-remember-finalize): Make interactive.
7283 (org-remember-kill): New command.
7284 (org-remember-finish-immediately): Call `org-remember-finalize'
7286 (org-remember-finalize): Make `org-remember-finalize' an interactive
7289 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7291 * org-remember.el (org-remember-apply-template): No ido completion
7292 for free prompts in remember templates.
7293 (org-remember-before-finalize-hook): New hook.
7294 (org-remember-mode): New minor mode.
7295 (org-remember-apply-template): Turn on `org-remember-mode'.
7297 * org-remember.el (org-remember-apply-template): Fix the way how
7298 the list of allowed properties is retrieved from the target file.
7300 * org.el (org-insert-link): Improve file link matching.
7302 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7304 * org-colview.el (org-columns-display-here): New argument
7305 DATELINE, to trigger using the new face.
7306 (org-agenda-colview-summarize): Call `org-columns-display-here'
7307 with the new argument.
7309 * org-faces.el (org-agenda-column-dateline): New face.
7311 * org-publish.el (org-publish-org-index): Use index-title at page
7312 title, not as section.
7314 * org-exp.el (org-export-html-format-desc): Respect the
7315 org-protect property.
7316 (org-export-as-html): Protect image specifiers that are in the
7317 description part of a link.
7319 * org.el (org-sort-entries-or-items, org-completing-read)
7320 (org-refile-get-location, org-olpath-completing-read, org-todo)
7321 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
7322 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
7323 (org-set-property, org-delete-property)
7324 (org-delete-property-globally): Use `org-ido-completing-read'.
7326 * org-remember.el (org-remember-apply-template): Use
7327 `org-ido-completing-read'.
7329 * org-publish.el (org-publish): Use `org-ido-completing-read'.
7331 * org-colview.el (org-columns-edit-value, org-columns-new)
7332 (org-insert-columns-dblock): Use `org-ido-completing-read'.
7334 * org-colview-xemacs.el (org-columns-edit-value)
7335 (org-columns-new, org-insert-columns-dblock): Use
7336 `org-ido-completing-read'.
7338 * org-attach.el (org-attach-delete-one, org-attach-open): Use
7339 `org-ido-completing-read'.
7341 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
7342 `org-ido-completing-read'.
7344 * org.el (org-time-today): New function.
7345 (org-matcher-time): Use `org-time-today'. Add special treatment
7346 for "<tomorrow>" and "<yesterday>".
7347 (org-ido-completing-read): New function.
7348 (org-completion-use-ido): New option.
7350 * org-exp.el (org-export-format-source-code): Fix bug in require
7352 (org-export-target-internal-links): Fix bug in search for text
7355 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7357 * org-export-latex.el (org-export-latex-subcontent): Interprete
7358 target aliases as additonal labels.
7360 * org-exp.el (org-export-target-aliases): New variable.
7361 (org-export-preprocess-string)
7362 (org-export-handle-invisible-targets): Fill the alias alist.
7363 (org-export-as-html): Remove the from the anchor, and also
7365 (org-html-level-start): Insert the target aliases as additonal
7368 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
7371 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7373 * org.el (org-open-at-mouse): Ensure correct link abbreviations
7374 when following a link with the mouse from the agenda.
7376 * org-exp.el (org-export-as-html): Avoid lone </div> when no
7377 headlines are created.
7379 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7381 * org.el (org-link-translation-function): New option.
7382 (org-open-at-point): Call `org-link-translation-function' if
7384 (org-translate-link): New function.
7385 (org-translate-link-from-planner): New function.
7386 (org-open-at-point): Allow interactive commands in elisp links.
7388 * org-exp.el (org-icalendar-cleanup-string): Restore the old
7389 iCalendar quoting. The new one seems to caus problems with
7392 * org.el (org-yank): Set `this-command' to `yank', so that
7393 `yank-pop' will work.
7395 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7397 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
7398 compliance as far as quoting is concerned.
7400 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
7401 hexified version of the tag.
7403 * org-vm.el (org-vm-follow-link): Require `vm-search'.
7405 * org.el (org-up-heading-safe, org-forward-same-level): Always
7406 call `org-back-to-heading' instead of `outline-back-to-heading'.
7407 (org-back-to-heading): New wrapper around outline-back-to-heading,
7408 with a useful error message telling where the error happened.
7410 * org-list.el (org-update-checkbox-count): Always call
7411 `org-back-to-heading' instead of `outline-back-to-heading'.
7413 * org-exp.el (org-export-as-html): Make sure that each <img> tag
7414 has an `alt' attribute, to ensure XHTML validation.
7416 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7418 * org-publish.el (org-publish-attachment): Allow publishing to
7419 overwrite attachment files.
7421 * org-agenda.el (org-agenda-timerange-leaders): New option.
7422 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
7424 * org.el (org-edit-src-exit): Untabify ASCII image before
7427 2008-11-19 Glenn Morris <rgm@gnu.org>
7429 * org.el, org-mouse.el (org-agenda-change-all-lines):
7432 2008-11-18 Carsten Dominik <dominik@science.uva.nl>
7434 * org.el ("speedbar"): Only show context if the file really is an
7437 2008-11-17 Juanma Barranquero <lekktu@gmail.com>
7439 * org.el (org-time-string-to-absolute, org-small-year-to-year)
7440 (org-tags-sparse-tree): Fix typos in docstrings.
7442 2008-11-15 Carsten Dominik <dominik@science.uva.nl>
7444 * org-publish.el (org-publish-attachment): Allow copy-file to
7447 2008-11-13 Glenn Morris <rgm@gnu.org>
7449 * org-agenda.el (org-get-closed): Fix alias.
7451 2008-11-12 Juanma Barranquero <lekktu@gmail.com>
7453 * org.el (org-link-escape): Fix typo in docstring.
7455 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
7457 * org.el (org-yank): Make any prefix force normal yanking.
7458 Suppress folding if text would be swallowed into a folded
7460 (org-yank-folded-subtrees, org-yank): Docstring updates.
7462 * org-agenda.el (org-agenda-compare-effort): Treat no effort
7465 * org-exp.el (org-export-language-setup): Add Catalan and
7466 Esperanto language entries.
7468 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
7470 * org.el (org-refile): Allow refiling of entire regions.
7472 * org-clock.el (org-clock-time%): New function.
7474 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
7475 retrieve property values.
7477 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
7479 * org-agenda.el (org-agenda-list): Handle the value `only' of
7480 org-agenda-show-log'.
7481 (org-agenda-log-mode): Interpret a double prefix arg.
7483 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
7485 * org-exp.el (org-export-html-footnotes-section): New variable.
7486 (org-export-as-html): Use `org-export-html-footnotes-section' to
7487 insert the footnotes.
7488 (org-export-language-setup): Add "Footnotes" to language words.
7490 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
7492 * org.el (org-yank): Fix bug when not inserting a subtree.
7494 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
7496 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
7497 instead of `vm-beginning-of-message'.
7499 * org.el (org-make-link-regexps): Make sure that links to gnus can
7502 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
7504 * org-attach.el (org-attach-dir): Remove duplicate ID creation
7507 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
7510 * org.el (org-link-abbrev-alist): Improve customization type.
7512 * org-attach.el (org-attach-expand-link, org-attach-expand): New
7515 * org-agenda.el (org-agenda-get-progress): Rename from
7516 `org-get-closed'. Implement searching for state changes as well.
7517 (org-agenda-log-mode-items): New option.
7518 (org-agenda-log-mode): New option prefix argument, interpreted as
7519 request to show all possible progress info.
7520 (org-agenda-get-day-entries): Call `org-get-progress' instead of
7522 (org-agenda-set-mode-name): Handle the more complex log mode
7524 (org-get-closed): New alias, pointing to `org-get-progress'.
7526 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7528 * org.el (org-file-apps-defaults-gnu)
7529 (org-file-apps-defaults-macosx)
7530 (org-file-apps-defaults-windowsnt): Add an entry defining the
7532 (org-file-apps): Allow `system' as key and value.
7533 (org-open-at-point): Explain the effect of a double prefix arg.
7534 (org-open-file): If the argument `in-emacs' is (16),
7535 i.e. corresponding to a double prefix argument, try to open the
7538 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7540 * org.el (org-insert-link): Abbreviate absolute files names in
7541 links. Also, fix a bug in which the double C-u prefix would not
7544 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7546 * org.el (org-insert-heading): If buffer does not end with a
7547 newline, add one if necessary to insert headline correctly.
7549 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
7550 paragraphs, not inside.
7552 * org.el (org-todo): Quote
7553 `org-agenda-headline-snapshot-before-repeat'.
7555 * org-exp.el (org-export-as-html): Fully process link descriptions.
7556 (org-export-html-format-desc): New function.
7557 (org-export-as-html): Collect footnotes into the correct basket.
7558 (org-html-protect): No longer protect quotations marks here, this
7561 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
7564 * org-compat.el (org-fit-window-to-buffer): New function (not
7565 really, a preliminary and incomplete version was present earlier,
7568 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
7569 `org-fit-window-to-buffer'.
7571 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
7573 * org-agenda.el (org-agenda-get-restriction-and-command)
7574 (org-fit-agenda-window, org-agenda-convert-date): Use
7575 `org-fit-window-to-buffer'.
7577 * org-exp.el (org-export-as-html): Process href links through
7578 `org-export-html-format-href'.
7579 (org-export-html-format-href): New function.
7581 * org-agenda.el (org-agenda-todo): Update only the current
7582 headline if this is a repeated TODO, marked done for today.
7583 (org-agenda-change-all-lines): New argument JUST-THIS, to change
7584 only the current line.
7586 * org.el (org-todo): Take a snapshot of the headline if the
7587 repeater might change it.
7589 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7591 * org-publish.el (org-publish-find-title): Remove buffers visited
7592 only for extracting the title.
7594 * org-exp.el (org-export-html-style)
7595 (org-export-html-style-default): Mark style definitions as
7598 * org-publish.el (org-publish-validate-link): Function
7601 2008-11-12 Charles Sebold <csebold@gmail.com>
7603 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
7605 (org-plot-quote-timestamp-field): New function.
7606 (org-plot-quote-tsv-field): Call timestamp field function when
7607 necessary rather than just quoting as a string.
7608 (org-plot/gnuplot-to-data): Pass in timefmt property.
7609 (org-plot/gnuplot-script): Supports timefmt property.
7610 (org-plot/gnuplot): Checks for timestamp column before checking
7611 for text index column.
7613 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7615 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
7617 * org-publish.el (org-publish-org-index): Create a section in the
7619 (org-publish-org-index): Stop linking to directories.
7621 * org.el (org-emphasis-alist): Use span instead of <u> to
7624 * org-exp.el (org-export-as-html): Make sure <p> is closed before
7627 2008-11-12 Sebastian Rose <sebastian_rose@gmx.de>
7629 * org-jsinfo.el (org-infojs-template): Remove language attribute
7632 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7634 * org-agenda.el (org-agenda-remove-marked-text): New function.
7635 (org-agenda-mark-filtered-text)
7636 (org-agenda-unmark-filtered-text): New functions.
7637 (org-write-agenda): Remove filtered text.
7639 * org.el (org-make-tags-matcher): Give access to TODO "property"
7640 without speed penalty.
7642 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7644 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
7646 (org-store-link-props): Make sure adding to the plist works
7649 * org-gnus.el (org-gnus-no-new-news): New function.
7650 (org-gnus-follow-link): Allow the article ID to be a message-id,
7651 in addition to allowing article numbers. Message IDs make much
7653 (org-gnus-store-link): Use message-id to create link.
7655 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7657 * org.el (org-emphasize): Reverse the selection array.
7658 (org-emphasis-alist): Set <code> tags for the verbatim
7661 * org-remember.el (org-remember-handler): Fix bug with
7662 prefix-related changing of the note storage target.
7664 * org-exp.el (org-print-icalendar-entries): Make the exported
7665 priorities compatible with RFC 2445.
7667 * org-clock.el (org-clock-save): Insert time stamp without
7668 dependence on time-stamp.el.
7670 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7672 * org.el ("saveplace"): If saveplace puts point into an invisible
7673 location, make it visible.
7674 (org-make-tags-matcher): Allow inactive time stamps in time
7676 (org-yank-adjusted-subtrees): New option.
7677 (org-yank): Incorporate adjusting trees.
7678 (org-paste-subtree): New argument FOR-YANK which will cause
7679 insertion at point without backing up over white lines, and leave
7680 point at the end of the inserted text. Also if the cursor is
7681 at the beginning of a headline, use the same level or the inserted
7684 * org-publish.el (org-publish-get-base-files-1): Deal correctly
7685 with broken symlinks.
7687 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7689 * org-exp.el (org-export-select-tags, org-get-current-options):
7692 2008-11-06 Glenn Morris <rgm@gnu.org>
7694 * org-publish.el (org-publish-attachment): Use copy-file rather than
7697 2008-11-04 Juanma Barranquero <lekktu@gmail.com>
7699 * org.el (org-columns-modify-value-for-display-function):
7700 * org-table.el (org-table-convert-region): Fix typos in docstrings.
7702 2008-10-28 Glenn Morris <rgm@gnu.org>
7704 * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
7706 * org-list.el (outline-next-heading, outline-back-to-heading):
7709 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7711 * org-agenda.el (org-format-agenda-item)
7712 (org-agenda-filter-make-matcher): Make sure tags are stored and
7715 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7717 * org.el (org-insert-todo-heading): Fix bug with force-heading
7720 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7722 * org-exp.el (org-export-as-ascii): Handle the case that we are
7723 bulishing from an indirect buffer.
7725 * org-table.el (org-table-copy-down): Fix bug with time stamp
7728 * org-mouse.el (org-mouse-features): New option.
7729 (org-mode-hook): Turn on features depending on
7730 `org-mouse-features'.
7732 * org.el (org-insert-heading-respect-content): Force heading
7734 (org-insert-heading): Keep the folding state of the heading before
7737 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7739 * org-archive.el (org-archive-to-archive-sibling): Handle top
7740 level headlines better.
7742 2008-10-26 Bastien Guerry <bzg@altern.org>
7744 * org-export-latex.el (org-export-latex-classes): Add
7745 \usepackage{graphicx} to the default list of packages.
7747 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7749 * org-agenda.el (org-agenda-filter): Rename from
7750 `org-agenda-filter-tags'.
7752 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7754 * org.el (org-entry-properties): Add CATEGORY property, iven if it
7755 is not defined as a property in this entry.
7756 (org-add-log-note): Mask prefix argument when immediately storing
7759 * org-agenda.el (org-agenda-filter-effort-default-operator): New
7762 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
7764 * org.el (org-add-log-setup): Bugfix; code to find insertion point
7765 after drawers was skipping ahead one line too many, so notes were
7766 inserted after the first note instead of before it.
7768 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7770 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
7772 (org-prepare-agenda): Reset the filter tags.
7773 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
7774 Show filter tags in mode line.
7776 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
7779 * org-export-latex.el (org-latex-entities-regexp): New constant.
7780 (org-export-as-pdf): Use two calls to `shell-command'.
7782 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7784 * org-export-latex.el (org-export-latex-treat-sub-super-char):
7785 Honor the {} value of the subsuperscript setting. Make sure that
7786 longer subsuperscripts are typeset in a roman font.
7788 * org.el (org-clock-update-time-maybe): Compute negative clock
7789 intervals correctly.
7791 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7793 * org.el (org-add-log-setup): Respect
7794 `org-log-state-notes-insert-after-drawers'.
7795 (org-log-state-notes-insert-after-drawers): New option.
7796 (org-todo-trigger-tag-changes): New function.
7797 (org-todo): Call `org-todo-trigger-tag-changes'.
7799 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
7801 * org.el (org-add-log-setup): Only skip drawers if the are
7802 immediately after the scheduling keywords.
7804 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
7806 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
7807 call it with the current todo state to get the state to switch to
7809 (org-clock-in): Use org-indent-line-function to indent clock lines.
7810 (org-clock-find-position): Fix indentation of empty clock drawers.
7812 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7814 * org-publish.el (org-publish-org-to): Handle case when
7815 org-export-to-pdf does return a file name, not a buffer.
7816 (org-publish-org-to-pdf): New function.
7818 * org-export-latex.el (org-export-as-pdf)
7819 (org-export-as-pdf-and-open): New commands.
7821 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
7824 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
7825 things in protexted regions.
7827 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7829 * org-export-latex.el (org-export-latex-preprocess): Improve
7830 quoting of LaTeX environments.
7832 2008-10-19 Eli Zaretskii <eliz@gnu.org>
7834 * org.el (org-default-notes-file):
7835 * org-publish.el (org-publish-timestamp-directory):
7836 * org-id.el (org-id-locations-file): Run file names that begin
7837 with a period thru `convert-standard-filename'.
7839 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
7841 * org-plot.el: Switch coding system to unix.
7843 2008-10-12 John Wiegley <johnw@newartisans.com>
7845 * org-attach.el: New file.
7847 2008-10-12 Carsten Dominik <carsten.dominik@gmail.com>
7849 * org.el (org-edit-fixed-width-region): Exclude final newline from
7852 * org-export-latex.el (org-export-latex-subcontent): Add labels to
7853 sections, to make internal links work.
7854 (org-export-latex-fontify-headline): Do not remove all text
7855 properties, to make sure that target properties survive this
7858 * org-exp.el (org-export-preprocess-string): Change sequence of
7859 modifications, to make sure links are prepared before the LaTeX
7860 conversions do happen.
7862 * org-attach.el (org-attach-delete-all): Rename from
7863 `org-attch-delete'. Add a security query before deleting the
7864 entire directory. New optional argument FORCE can overrule the
7866 (org-attach-delete-one): New command.
7868 * org-attach.el (org-attach-file-list): Fix bug with directory.
7870 * org.el (org-apps-regexp-alist): New function.
7871 (org-file-apps): Add auto-mode to the default value.
7872 (org-open-file): Use the new structure of org-file-apps.
7874 * org-attach.el (org-attach): Support the new keys.
7875 (org-attach-method): New option.
7877 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
7880 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
7881 of the list value o `org-use-tag-inheritance'.
7883 * org-attach.el (org-attach-auto-tag): New option.
7884 (org-attach-tag, org-attach-untag): New functions.
7885 (org-attach-attach, org-attach-new, org-attach-sync): Call
7887 (org-attach-delete): Call `org-attach-untag'.
7889 * org-table.el (orgtbl-self-insert-command): Make this work for
7892 * org.el (org-add-log-setup): Limit searc for drawers to entry
7893 text, not to subtree.
7895 * org-clock.el (org-clock-heading-for-remember): New variable.
7896 (org-clock-in): Set `org-clock-heading-for-remember'.
7898 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
7900 * org-remember.el (org-remember-apply-template): Add new
7901 expansions: %k, %K for currently clocked task and a link to the
7902 currently clocked task, and %< to file notes in the currently
7905 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
7907 * org-export-latex.el (org-export-latex-make-header): Also insert
7908 the content of the property :latex-header-extra.
7910 * org-exp.el (org-infile-export-plist): Put the content of
7911 #+LATEX_HEADER: into the property :latex-header-extra.
7913 * org-colview.el (org-columns-get-format-and-top-level): Remove
7914 resetting the marker.
7916 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
7917 Remove resetting the marker.
7919 * org.el (org-entry-property-inherited-from): Improve docstring.
7920 (org-entry-get-with-inheritance): Reset marker before starting the
7923 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
7925 * org.el (org-entry-get-multivalued-property)
7926 (org-entry-protect-space, org-entry-restore-space): New
7928 (org-file-apps-defaults-macosx): Let postscript files be opened by
7930 (org-time-stamp-inactive): Call `org-time-stamp'.
7931 (org-time-stamp): New argument `inactive'. Also edit inacive
7932 stamps. Convert time stamp type.
7933 (org-open-file): Interpret the `default' value for the `command'
7936 * org-id.el (org-id-int-to-b36-one-digit)
7937 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
7938 (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
7941 * org-id.el (org-id-reverse-string): New function.
7942 (org-id-new): Use `org-id-reverse-string' to make sure the
7943 beginning chars of the ID are mutating fast. This allows to use a
7944 directory structure to spread things better.
7945 (org-id-prefix): Change default to nil.
7947 * org-list.el (org-move-item-down, org-move-item-up): Remember and
7948 restore the column of the cursor position.
7950 * org-remember.el (org-remember-apply-template): Remove properties
7953 * org-wl.el (org-wl-open): Remove useless call to
7954 `wl-thread-open-all'.
7956 * org-remember.el (org-remember-handler): Fix bug with `bottom'
7959 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
7960 `org-bbdb-anniversaries'.
7962 * org.el (org-get-next-sibling, org-forward-same-level): New
7963 functions, similar to the outline versions, but invisible headings
7966 2008-10-12 Bastien Guerry <bzg@altern.org>
7968 * org.el (org-auto-repeat-maybe): Insert a space between
7969 the timestamp's type and the timestamp itself.
7971 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
7973 * org-table.el (org-table-sum): Do not format the result with %g,
7974 it does rounding when there are too many digits.
7976 * org.el (org-map-entries): Protect the keyword-selecting variables.
7978 2008-10-12 Bastien Guerry <bzg@altern.org>
7980 * org-agenda.el (org-agenda-to-appt): Make sure the function check
7981 against all agenda files.
7983 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
7984 Bastien Guerry <bzg@altern.org>
7986 * org-list.el: New file, aggregating list functions from org.el
7987 and org-export-latex.el.
7989 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
7991 * org.el (org-edit-src-region-extra): New option.
7993 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
7996 2008-10-12 Bastien Guerry <bzg@altern.org>
7998 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
8000 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
8002 * org-plot.el (org-plot/gnuplot): Make tables starting with a
8003 hline work correctly.
8004 (org-plot/gnuplot-script): Put commas at the end of each script
8007 * org.el (org-get-refile-targets): Replace links with their
8009 (org-imenu-get-tree): Replace links with their descriptions.
8011 * org-remember.el (org-remember-apply-template): Add a new
8012 expansion for adding properties to remember items.
8014 * org.el (org-add-log-setup): Skip over drawers (properties,
8015 clocks etc) when adding notes.
8017 * org-agenda.el (org-agenda-get-closed): Show durations of clocked
8018 items as well as the start and end times.
8020 * org-compat.el (org-get-x-clipboard-compat): Add a compat
8021 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
8023 * org-remember.el (org-get-x-clipboard): Use the compat
8024 function to get clipboard values when x-selection-value is
8025 unavailable. Use substring-no-properties instead of
8026 set-text-properties to remove text properties from the clipboard
8029 * org-clock.el (org-update-mode-line): Support limiting the
8030 modeline clock string, and display the full todo value in the
8031 tooltip. Set a local keymap so mouse-3 on the clock string goes to
8032 the currently clocked task.
8033 (org-clock-string-limit): Add a custom value for the maximum
8034 length of the clock string in the modeline.
8035 (org-clock-mode-map): Add a keymap for the modeline string.
8037 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
8039 * org-compat.el (org-propertize): New function.
8041 2008-10-12 Bastien Guerry <bzg@altern.org>
8043 * org-export-latex.el (org-export-latex-tables): Protect exported
8044 tables from further special chars conversion.
8045 (org-export-latex-preprocess): Preserve LaTeX environments.
8046 (org-list-parse-list): Parse descriptive lists.
8047 (org-list-to-generic, org-list-to-latex, org-list-to-html)
8048 (org-list-to-texinfo): Export descriptive lists.
8049 (org-quote-chars): Remove.
8050 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
8051 (org-export-latex-list-beginning-re): Rename to
8052 `org-list-beginning-re'.
8053 (org-list-item-begin): Rename to `org-list-item-beginning'.
8055 2008-10-12 Eric Schulte <schulte.eric@gmail.com>
8057 * org-plot.el: New file.
8059 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
8061 * org.el (org-refile): Allow refiling to the last entry in the
8063 (org-get-tags-at): Fix bug when inheritance is turned off.
8065 * org.el (org-indent-line-function): No longer check for src
8066 regions, this is too much overhead.
8068 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
8071 * org.el (org-scan-tags): Make sure that tags matching is not case
8072 sensitive. TODO keyword matching is case sensitive, however, to
8073 avoid confusion with similar words that are not meant to be
8076 * org.el (org-get-local-tags-at): New function.
8077 (org-get-local-tags): New function.
8079 * org-exp.el (org-export-get-categories): New function.
8081 * org-agenda.el (org-sorting-choice)
8082 (org-agenda-sorting-strategy, org-agenda-get-todos)
8083 (org-agenda-get-timestamps, org-agenda-get-deadlines)
8084 (org-agenda-get-scheduled, org-agenda-get-blocks)
8085 (org-entries-lessp): Implement sorting by TODO state.
8086 (org-cmp-todo-state): New defsubst.
8088 * org-colview.el (org-colview-construct-allowed-dates): New
8090 (org-columns-next-allowed-value): Use
8091 `org-colview-construct-allowed-dates'.
8093 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
8095 (org-columns-next-allowed-value): Use
8096 `org-colview-construct-allowed-dates'.
8098 * org.el (org-protect-slash): New function.
8099 (org-get-refile-targets): Use `org-protect-slash'.
8101 * org-agenda.el (org-global-tags-completion-table): New variable.
8103 * org-exp.el (org-export-handle-export-tags): New function.
8104 (org-export-preprocess-string): Call
8105 `org-export-handle-export-tags'.
8107 * org-publish.el (org-publish-expand-components): Function removed.
8108 (org-publish-expand-projects): Allow components to have components.
8110 * org.el (org-indent-line-function): Do not indent in regions that
8111 are external source code.
8112 (org-yank-and-fold-if-subtree): New function.
8114 * org-agenda.el (org-agenda-todayp): New function.
8115 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
8116 `org-agenda-todayp'.
8118 * org.el (org-insert-heading-respect-content)
8119 (org-insert-todo-heading-respect-content): New commands.
8120 (org-insert-heading-respect-content): New option.
8121 (org-insert-heading): Respect `org-insert-heading-respect-content'.
8123 * org-clock.el (org-clock-find-position): Make sure the note after
8124 the clock line gets moved into the new clock drawer.
8126 * org-id.el (org-id-new): New option.
8128 * org-table.el (org-table-copy-down): Avoid overflow during
8129 increment. Use prefix argument 0 to temporarily disable the
8132 * org-exp.el (org-export-as-html): Do not turn on the major mode
8133 if the buffer will be killed anyway.
8134 (org-get-current-options): Exclude the #+TEXT field.
8135 (org-export-as-html): Make sure text before the first headline is
8138 * org-publish.el (org-publish-org-to): Tell the exporter that this
8139 buffer will be killed, so it is not necessary to do major mode
8142 * org-archive.el (org-archive-to-archive-sibling): Show empty
8143 lines after folding the archive sibling.
8145 * org.el (org-log-note-extra): New variable.
8147 2008-10-12 Bastien Guerry <bzg@altern.org>
8149 * org.el (org-additional-option-like-keywords): Add keywords for
8150 the _QUOTE, _VERSE and _SRC environments.
8152 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
8153 exporting _QUOTE and _VERSE environments.
8155 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
8157 * org-agenda.el (org-agenda-filter-by-tag): New command.
8159 * org-exp.el (org-get-current-options): Remove angular brackets
8160 from the date entry.
8162 * org.el (org-edit-fixed-width-region): New function.
8163 (org-edit-fixed-width-region): Also try
8164 `org-edit-fixed-width-region'.
8165 (org-edit-fixed-width-region-mode): New option.
8166 (org-activate-code): Only interprete lines starting with colon
8167 plus a space as example lines.
8169 * org-remember.el (org-remember-templates): Add nil instead of
8170 empty strings to fix the length of remember templates.
8172 * org-table.el (org-calc-default-modes): Fix the time format for
8173 calc, from 12 hour to 24 hour clock.
8175 * org-agenda.el (org-agenda-get-deadlines)
8176 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
8177 entries that are pre-warnings of deadlines or reminders.
8179 * org.el (org-sort-entries-or-items): Make numeric and alpha
8180 comparisons ignore any TODO keyword and priority cookie.
8182 * org-remember.el (org-remember-handler): Reinterpretation of the
8185 * org-agenda.el (org-agenda-get-scheduled): Use new
8186 `org-scheduled' face.
8188 * org-faces.el (org-scheduled): New face.
8190 * org-wl.el (org-wl-open): Remove incorrect declaration.
8192 * org-gnus.el (org-gnus-store-link): Support for :to information
8195 * org-exp.el (org-export-as-html): Fix typo in creator
8197 (org-export-protect-examples): New parameter indent. Insert extra
8198 spaces only when this parameter is specified.
8199 (org-export-preprocess-string): Call `org-export-protect-examples'
8200 with an indentation parameter when exporting to ASCII.
8202 * org-remember.el (org-remember-templates)
8203 (org-remember-apply-template): Allow the file component to be a
8206 * org.el (org-goto-local-search-headings): Rename from
8207 `org-goto-local-search-forward-headings'. Added the possibility
8208 to search backwards.
8210 * org-export-latex.el (org-export-latex): New customization
8213 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
8215 * org-exp.el (org-html-do-expand): Allow {} to terminate
8218 * org.el (org-buffer-list): Select buffers based on major mode,
8221 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
8224 * org-colview.el (org-columns-display-here): Use
8225 `org-columns-modify-value-for-display-function'.
8227 * org-colview-xemacs.el (org-columns-display-here): Use
8228 `org-columns-modify-value-for-display-function'.
8230 * org.el (org-columns-modify-value-for-display-function): New option.
8232 * org-publish.el (org-publish-file): Make sure the directory match
8233 for the publishing directory works correctly.
8235 * org-agenda.el (org-agenda-execute-calendar-command)
8236 (org-agenda-diary-entry): Additional optional argument.
8238 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
8240 * org-exp.el (org-export-as-html): Add attributes also in mailto
8243 * org.el (org-autoload): Add `org-dblock-write:columnview'.
8245 2008-08-11 Glenn Morris <rgm@gnu.org>
8247 * org-mac-message.el (do-applescript): Fix declaration.
8249 2008-08-10 Glenn Morris <rgm@gnu.org>
8251 * org-exp.el (org-export-as-html): Let-bind `i'.
8253 * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
8254 (org-extract-attributes): Let-bind `key', `value'.
8255 (org-make-tags-matcher): Let-bind `time-p'.
8257 2008-07-27 Carsten Dominik <dominik@science.uva.nl>
8259 * org-install.el: New file.
8261 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
8263 * org-exp.el (org-export-html-style)
8264 (org-export-html-style-extra): Declare as safe-local-variable.
8266 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
8268 * org-publish.el (org-publish-file): Use the true name of the
8271 * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
8274 * org-exp.el (org-export-plist-vars)
8275 (org-export-add-options-to-plist): Handle creator setting flag.
8276 (org-export-as-html): Handle attributes also for ftp and mailto
8279 * org-agenda.el (org-agenda-diary-entry)
8280 (org-agenda-execute-calendar-command): Cater for the second
8281 argument of `calendar-cursor-to-date'.
8283 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
8285 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
8286 sure that calls from `org-export-region-as-html' do not do the
8287 special check for a subtree.
8289 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
8291 * org.el (org-open-file): Use
8292 `org-open-directory-means-index-dot-org'.
8293 (org-open-directory-means-index-dot-org): New option.
8295 * org.el (org-make-link-string): Remove link attributes from
8297 (org-open-at-point): Remove link attributes before using the path.
8299 * org-exp.el (org-export-as-html): Handle link attributes.
8301 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
8303 * org-table.el (org-table-to-lisp): New function.
8305 * org.el (org-narrow-to-subtree): Do not include the final newline
8306 into the narrowed region.
8308 * org-agenda.el (org-agenda-custom-commands-local-options): Fix
8309 bug with user-define skipping condition.
8311 * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
8313 * org-exp.el (org-export-html-style-default): Automatic overflow
8314 handling for pre fields.
8315 (org-export-as-ascii, org-export-as-html): Change default format
8318 * org-table.el (org-table-export): Offer completion for translator
8319 functions, and do not require a heading above the table.
8321 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
8322 Cater for the case of a list starting in the first line of the
8325 * org-publish.el (org-publish-find-title): Bug fix.
8326 (org-publish-org-index): Implement new :index-style option.
8328 * org-publish.el (org-publish-timestamp-filename): Use
8329 SHA1-encoded file names in the timestamp directory.
8331 * org-publish.el (org-publish-needed-p): Be verbose about files
8332 published and files skipped.
8334 * org-exp.el (org-export-preprocess-string): Swap link
8335 normalization and internal link targeting.
8337 * org-publish.el (org-publish-needed-p): Create timestamp
8338 directory when it does not exist.
8340 * org-clock.el (org-clock-out-when-done): Doc fix.
8342 * org.el (org-agenda-skip-unavailable-files): Doc fix.
8344 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
8345 Ignore case when searching for the COMMENT cookie at export time.
8347 * org-exp.el (org-get-file-contents)
8348 (org-get-and-remove-property): New functions.
8349 (org-export-handle-include-files): Handle the new prefix options.
8350 (org-export-as-html): Fix the verse environment.
8352 * org.el (org-time=, org-time<, org-time<=, org-time>)
8353 (org-time>=, org-time<>, org-2ft): New functions.
8354 (org-op-to-function): Also provide for the time testing functions.
8356 * org-exp.el (org-export-html-style-default): New constant.
8358 * org-exp.el (org-export-html-style-extra): New variable.
8359 (org-export-splice-style): New function.
8361 * org-exp.el (org-export-plist-vars, org-export-as-html):
8362 Implement `org-export-creator-info'.
8363 (org-export-creator-info): New option.
8365 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
8366 (org-property-drawer-re, org-clock-drawer-re): New constants.
8368 * org-exp.el (org-icalendar-use-deadline)
8369 (org-icalendar-use-scheduled): New options.
8370 (org-icalendar-include-todo): Default changed to t.
8371 (org-print-icalendar-entries): Implement better utilization of
8372 scheduling and deadline time stamps.
8373 (org-export-target-internal-links, org-export-as-html): Allow file
8374 lines without the "file:" prefix if the file path is an absolute
8375 path or starts with ".".
8377 * org-clock.el (org-clocktable-shift): Also understand yesterday,
8379 (org-clock-special-range): Also understand yesterday, lastweek etc.
8381 * org.el (org-agenda-skip-archived-trees): Docstring now
8382 discourages using this.
8383 (org-scan-tags): Check for org-agenda-archives-mode.
8384 (org-map-entries): Make sure org-agenda-archives-mode is nil.
8385 (org-agenda-files): Functionality of second arg changed.
8387 * org-agenda.el (org-agenda-archives-mode): New variable.
8388 (org-write-agenda, org-prepare-agenda, org-agenda-list)
8389 (org-search-view, org-todo-list, org-tags-view)
8390 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
8392 (org-agenda-quit): Reset the archives mode.
8393 (org-agenda-archives-mode): New command.
8394 (org-agenda-set-mode-name): Include archives info.
8396 * org.el (org-paste-subtree): Make sure the yanked headline is
8397 visible if it was yanked at a visible point.
8398 (org-move-item-up): Fix the bug with moving white space at the end
8400 (org-show-empty-lines-in-parent): New function.
8402 2008-07-19 Juri Linkov <juri@jurta.org>
8404 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
8405 new keymap `narrow-map' instead of binding "\C-xns".
8407 2008-07-02 Juanma Barranquero <lekktu@gmail.com>
8409 * org.el (org-agenda-skip-unavailable-files):
8410 * org-clock.el (org-clock-out-when-done): Doc fixes.
8412 2008-06-18 Glenn Morris <rgm@gnu.org>
8414 * org.el (org-map-entries): Let-bind `file'.
8416 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8418 * org-colview.el (org-columns-next-allowed-value): Bug fix.
8420 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
8422 * org-agenda.el (org-agenda-get-closed): Get the end time into the
8423 agenda prefix as well.
8425 * org-publish.el (org-publish-org-index): Make a properly indented
8428 * org.el (org-calendar-agenda-action-key): New option.
8429 (org-get-cursor-date): New function.
8430 (org-mark-entry-for-agenda-action): New command.
8431 (org-overriding-default-time): New variable.
8432 (org-read-date): Respect `org-overriding-default-time'.
8434 * org-remember.el (org-remember-apply-template): Respect the
8435 overriding default time.
8437 * org-agenda.el (org-agenda-action-marker): New variable.
8438 (org-agenda-action): New command.
8439 (org-agenda-do-action): New function.
8441 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8443 * org.el (org-schedule, org-deadline): Protect scheduled and
8444 deadline tasks against changes that accidently remove the
8445 repeater. Also show a message with the new date when done.
8447 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8449 * org.el (org-beginning-of-line): Cater for the case when there
8450 are tags but no headline text.
8451 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
8454 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8456 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
8457 the return value is nil instead of "nil" when there is no match.
8459 * org-exp.el (org-insert-centered): Use fill-column instead of
8461 (org-export-as-ascii): Use string-width to measure the width of
8464 * org.el (org-diary-to-ical-string): No longer kill buffer
8465 FROMBUF, this is now done by the caller.
8467 * org-exp.el (org-print-icalendar-entries): Move the call to
8468 `org-diary-to-ical-string' out of the loop, and kill the buffer
8471 * org-remember.el (org-remember-visit-immediately): Position
8472 cursor after moving to the note.
8473 (org-remember-apply-template): Use a text property to record the
8475 (org-remember-handler): Align tags after pasting the note.
8477 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8479 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
8481 * org-agenda.el (org-agenda-open-link): If there is an
8482 org-bbdb-name property in the current line, jump to that bbdb
8485 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
8486 text property, so that the agenda knows where this entry comes
8489 * org-agenda.el (org-agenda-clock-in): Fix bug in the
8490 interaction between clocking-in from the agenda, and automatic
8491 task state switching.
8493 * org-macs.el (org-with-point-at): Bug fix in macro definition.
8495 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
8496 zmacs-region stays after this command in XEmacs.
8498 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8500 * org.el (org-scan-tags): Allow new values for ACTION parameter.
8502 * org-remember.el (org-remember-templates): Fix bug in
8503 customization type definition.
8505 * org.el (org-map-entries): New function.
8507 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8509 * org-agenda.el (org-agenda-skip-comment-trees): New option.
8510 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
8512 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8514 * org-remember.el (org-jump-to-target-location): New variable.
8515 (org-remember-apply-template): Set
8516 `org-remember-apply-template' if requested by template.
8517 (org-remember-handler): Start an idle timer to jump to
8520 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
8522 * org.el (org-set-regexps-and-options): Fix bug with parsing of
8524 (org-get-tags-at): Add the content of `org-file-tags'.
8526 * org-exp.el (org-export-handle-comments): Fix bug with several
8527 comment lines after each other.
8528 (org-number-to-roman, org-number-to-counter): New functions.
8529 (org-export-section-number-format): New option.
8531 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8533 * org-exp.el (org-export-protect-examples): Catch the case of a
8534 missing end_example line.
8536 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
8537 `org-file-tags' to nil.
8539 * org-colview.el (org-columns-next-allowed-value): Handle next
8540 argument NTH to directly select a value.
8542 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
8543 argument NTH to directly select a value.
8545 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8547 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
8549 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8551 * org.el (org-columns-ellipses): New option.
8553 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8555 * org-colview.el (org-columns-add-ellipses): New function.
8556 (org-columns-compact-links): New function.
8557 (org-columns-cleanup-item): Call `org-columns-compact-links'.
8558 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
8560 (org-columns-edit-value): Fix bug with editing values from
8562 (org-columns-redo): Also redo the agenda itself.
8564 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8566 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
8569 * org-colview.el (org-agenda-columns-cleanup-item): New function.
8571 * org-exp.el (org-export-ascii-preprocess): Rename from
8572 `org-export-ascii-clean-string'.
8573 (org-export-kill-licensed-text)
8574 (org-export-define-heading-targets)
8575 (org-export-handle-invisible-targets)
8576 (org-export-target-internal-links)
8577 (org-export-remove-or-extract-drawers)
8578 (org-export-remove-archived-trees)
8579 (org-export-protect-quoted-subtrees)
8580 (org-export-protect-verbatim, org-export-protect-examples)
8581 (org-export-select-backend-specific-text)
8582 (org-export-mark-blockquote-and-verse)
8583 (org-export-remove-comment-blocks-and-subtrees)
8584 (org-export-handle-comments, org-export-mark-radio-links)
8585 (org-export-remove-special-table-lines)
8586 (org-export-normalize-links)
8587 (org-export-concatenate-multiline-links)
8588 (org-export-concatenate-multiline-emphasis): New functions,
8589 obtained from spliting the export preprocessor.
8591 * org-table.el (org-table-recalculate): Improve error message if
8592 the row number is invalid.
8594 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8596 * org-archive.el (org-archive-save-context-info): Fix bugs in
8597 customization setup and docstring.
8599 * org-exp.el (org-export-html-style): Change the size of in the
8600 <pre> element to 90%.
8602 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8604 * org.el (org-find-src-example-start): Function removed.
8605 (org-edit-src-find-region-and-lang): New function.
8607 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8609 * org.el (org-edit-src-exit): New function.
8610 (org-exit-edit-mode): New minor mode.
8612 * org-exp.el (org-export-preprocess-string): Fix bug with removing
8613 comment-like lines from protected examples.
8615 * org.el (org-edit-src-example, org-find-src-example-start)
8616 (org-protect-source-example, org-edit-special): New functions.
8618 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8620 * org-publish.el (org-publish-project-alist): Fix typo in
8622 (org-publish-project-alist): Handle :index-title property.
8624 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8626 * org-export-latex.el (org-export-as-latex): Make sure region
8627 bounds are correct. Parse subtree properties relating to export.
8629 * org-exp.el (org-export-add-options-to-plist): New function.
8630 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
8632 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8634 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
8637 * org-exp.el (org-export-get-title-from-subtree)
8638 (org-export-as-ascii, org-export-as-html): Make sure the original
8639 region-beginning and region-end are used, even after moving point.
8640 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
8643 * org-remember.el (org-remember-last-stored-marker): New variable.
8644 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
8645 (org-remember-handler): Also use marker to remember
8646 last-stored position.
8648 * org.el (org-goto-marker-or-bmk): New function.
8650 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8652 * org.el (org-file-properties): Rename from `org-local-properties'.
8653 (org-scan-tags): Take file tags into account.
8654 (org-tags-match-list-sublevels): Default changed to t.
8656 * org-exp.el (org-export-as-html): Close paragraph after a footnote.
8658 * org.el (org-update-parent-todo-statistics): New function.
8660 * org-exp.el (org-icalendar-store-UID): New option.
8661 (org-icalendar-force-UID): Option removed.
8662 (org-print-icalendar-entries): IMplement UIDs.
8664 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8666 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
8668 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8670 * org-faces.el (org-column): Document how this face is being used
8671 and why sometimes the background faces shine through.
8673 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
8675 * org-publish.el (org-publish-attachment): Create publishing
8676 directory if it does not yet exist.
8678 * org-table.el (org-calc-default-modes): Change default number
8679 format to (float 8).
8681 * org.el (org-olpath-completing-read): New function.
8682 (org-time-clocksum-format): New option.
8683 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
8685 * org-clock.el (org-clock-display, org-clock-out)
8686 (org-update-mode-line): Use `org-time-clocksum-format'.
8688 * org-colview-xemacs.el (org-columns-number-to-string): Use
8689 `org-time-clocksum-format'.
8691 * org-colview.el (org-columns-number-to-string): Use
8692 `org-time-clocksum-format'.
8694 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8696 * org-id.el: New file, move from contrib to core.
8698 * org-exp.el (org-icalendar-force-UID): New option.
8700 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8702 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
8703 shifted by one day if there is a date range without an end time.
8705 * org.el (org-try-structure-completion): New function.
8707 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8709 * org.el (org-set-font-lock-defaults): Improve fontification of
8711 (org-insert-item): Handle description lists.
8712 (org-adaptive-fill-function): Improve auto indentation in
8715 * org-exp.el (org-export-as-html, org-export-preprocess-string):
8716 Implement VERSE environment.
8717 (org-export-preprocess-string): Implement the COMMENT
8720 * org-export-latex.el (org-export-latex-preprocess): Implement
8723 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8725 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
8728 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8730 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
8732 * org.el (org-quote-csv-field): New functions.
8734 * org-table.el (org-table-export-default-format): Remove :splice
8735 from default format, we get the same effect by not specifying
8737 (org-table-export): Improve setup, distinguish better between
8738 interactive and non-interactive use, allow specifying the format
8739 on the fly, better protection against wrong file names.
8740 (orgtbl-to-generic): Fix documentation. Do not require :tstart
8741 and :tend when :splice is omitted.
8743 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8745 * org-clock.el (org-clock-select-task): Make sure the selection
8746 letters are 1-9 and A-Z, no special characters.
8748 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8750 * org-exp.el (org-export-htmlize): New group.
8751 (org-export-htmlize-output-type)
8752 (org-export-htmlize-css-font-prefix): New options.
8753 (org-export-htmlize-region-for-paste): New function.
8754 (org-export-htmlize-generate-css): New command.
8756 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8758 * org.el (org-set-visibility-according-to-property): New function.
8759 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
8760 and compute the regular expressions, and update font-lock.
8761 (org-property-re): Allow a dash in property names.
8763 * org-archive.el (org-extract-archive-file): Insert the file name
8764 without the path into the format, to allow the location format to
8765 contain a subdirectory.
8767 * org-agenda.el (org-agenda-post-command-hook): If point is at end
8768 of buffer, and the `org-agenda-type' property undefined, use the
8769 value from the character before.
8771 * org.el (org-add-planning-info): Don't let indentation for
8772 would-be timestamp become extra whitespace at the end of headline.
8774 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8776 * org.el (org-remove-double-quotes, org-file-contents): New
8779 * org-exp.el (org-infile-export-plist): Also parse the
8780 contents of #+SETUPFILE files, recursively.
8782 * org.el (org-set-regexps-and-options): Also parse the
8783 contents of #+SETUPFILE files, recursively.
8785 * org-exp.el (org-export-handle-include-files): New function.
8786 (org-export-preprocess-string): Call
8787 `org-export-handle-include-files'.
8789 * org.el (org-delete-property-globally)
8790 (org-delete-property, org-set-property): Ignore case during
8792 (org-set-property): Use `org-completing-read' instead of
8795 * org.el (org-complete-expand-structure-template): New,
8796 experimental function.
8797 (org-structure-template-alist): New, experimental option.
8798 (org-complete): Call `org-complete-expand-structure-template'.
8800 2008-06-17 Bastien Guerry <bzg@altern.org>
8802 * org-export-latex.el (org-export-latex-preprocess):
8803 Add support for blockquotes.
8805 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8807 * org.el (org-read-date-analyze): Catch the case where only a
8810 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8812 * org.el (org-set-font-lock-defaults): Make the description
8815 * org-exp.el (org-export-as-html, org-close-li): Implement
8818 2008-06-17 Jason Riedy <jason@acm.org>
8820 * org-table.el (*orgtbl-default-fmt*): New variable.
8821 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
8822 when there is no other fmt available.
8824 (orgtbl-to-generic): Allow an explicitly nil :tstart or
8825 :tend to suppress the appropriate string.
8827 (orgtbl-to-orgtbl): New function for translating to another orgtbl
8830 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8832 * org.el (org-read-date-analyze): "." as an alias for "+0" in
8835 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
8838 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
8841 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8843 * org-clock.el (org-clock-find-position): Don't include notes
8846 * org-archive.el (org-archive-subtree): No longer remove an
8847 extra line after cutting the subtree. `org-cut-subtree' already
8850 * org-remember.el (org-remember-handler): Only kill the target
8851 buffer if it does not contain the running clock.
8853 * org.el (org-markers-to-move): New variable.
8854 (org-save-markers-in-region, org-check-and-save-marker)
8855 (org-reinstall-markers-in-region): New function.
8856 (org-move-subtree-down, org-copy-subtree): Remember relative
8857 marker positions before cutting.
8858 (org-move-subtree-down, org-paste-subtree): Restore relative
8859 marker positions after pasting.
8861 * org-remember.el (org-remember-clock-out-on-exit): New option.
8862 (org-remember-finalize): Clock out only if the setting in
8863 `org-remember-clock-out-on-exit' requires it.
8864 (org-remember-handler): Do the cleanup in the buffer, to make sure
8865 that the clock marker remains in tact.
8867 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8869 * org-clock.el (org-clock-goto): Widen buffer if necessary.
8870 (org-clock-in): Make sure that also tasks outside the narrowed
8871 region will be clocked in correctly.
8872 (org-clock-insert-selection-line): Widen the buffer so that we can
8873 find the correct task heading.
8875 * org.el (org-base-buffer): New function.
8877 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
8878 and ";" are escaped.
8879 (org-print-icalendar-entries): Also apply
8880 `org-icalendar-cleanup-string' to the headline, not only to the
8883 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8885 * org-exp.el (org-export-preprocess-hook): New hook.
8886 (org-export-preprocess-string): Call `org-export-preprocess-hook'.
8888 * org.el (org-font-lock-hook): New variable.
8889 (org-font-lock-hook): New function.
8890 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
8894 ;; add-log-time-zone-rule: t
8897 Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
8899 This file is part of GNU Emacs.
8901 GNU Emacs is free software: you can redistribute it and/or modify
8902 it under the terms of the GNU General Public License as published by
8903 the Free Software Foundation, either version 3 of the License, or
8904 (at your option) any later version.
8906 GNU Emacs is distributed in the hope that it will be useful,
8907 but WITHOUT ANY WARRANTY; without even the implied warranty of
8908 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8909 GNU General Public License for more details.
8911 You should have received a copy of the GNU General Public License
8912 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
8914 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c