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):
395 (org-capture-place-entry):
396 (org-capture-place-plain-text): Call
397 `org-capture-position-for-last-stored'.
398 (org-capture-finalize): Just call
399 `org-capture-bookmark-last-stored-position'.
401 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
403 * org-exp.el (org-export-mark-blockquote-verse-center): Fix
404 small bug, now grabbing match data before overwritten by looking-at
405 this fixes a problem with remainders of #+end_quote lines appearing
408 2010-07-19 David Maus <dmaus@ictsoc.de>
410 * org.el (org-link-frame-setup): Add customization option for
413 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
415 * org-latex.el (org-export-latex-fixed-width): Now check
416 org-example rather than org-protected on verbatim export, because by
417 default all ": " prefixed lines are marked protected.
419 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
421 * org-latex.el (org-export-latex-fixed-width): Check for
422 protection before wrapping ": " lines as verbatim.
424 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
426 * org-exp.el (org-export-handle-comments): Check for protection
427 before removing comments.
429 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
431 * org-entities.el (org-entities): Restructure the list.
432 (org-entities-help): Turn the help output into a buffer
433 in Org-mode, so that it becomes easier to find a symbol
435 (org-entities-create-table): Deal with new structure.
437 2010-07-19 David Maus <dmaus@ictsoc.de>
439 * org-agenda.el (org-write-agenda): Use backquotes to expand
440 `flet' at compile time.
442 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
444 * org.el (org-entry-properties): Make sure that standard property
445 names are used even if the user has customized time keywords.
447 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
449 * org-macs.el (org-not-nil): Return the value if not interpreted
452 * org.el (org-entry-get):
453 (org-entry-get-with-inheritance): Interpret the value "nil"
454 as nil for properties.
456 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
458 * org.el (org-switch-to-buffer-other-window): Return the buffer.
460 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
462 * org-macs.el (org-not-nil): New function.
464 * org.el (org-block-todo-from-children-or-siblings-or-parent):
465 Use `org-not-nil' to interpret a property value of nil.
467 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
469 * org.el (org-truely-invisible-p): New function.
470 (org-beginning-of-line): Use `org-truely-invisible-p'.
472 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
474 * org-agenda.el (org-agenda-get-timestamps): No errors
475 while getting TODO state.
476 (org-agenda-highlight-todo): No error when no keyword has
479 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
481 * org.el (org-timestamp-change): New optional argument UPDOWN.
482 Use this to identify calls from org-timestamp-up/down, so that we can
483 skip by rounding minutes in this case.
485 (org-timestamp-down):
486 (org-timestamp-up-day):
487 (org-timestamp-down-day): Call org-timestamp-change with the
490 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
492 * org-agenda.el (org-agenda-action): Make `c' key call org-capture.
494 * org-capture.el: New file.
496 * org-compat.el (org-get-x-clipboard): Function moved here from
499 * org-mks.el: New file.
501 * org.el (org-set-regexps-and-options): Allow statistic cookies as
502 part of complex headlines.
503 (org-find-olp): New argument THIS-BUFFER. When set, assume that the
504 OLP does not contain a file name.
506 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
508 * org.el (org-mode): Set `comment-start' instead of changing the
509 syntax of the `#' character.
511 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
513 * org-exp.el (org-export-format-source-code-or-example): Mark examples
516 * org-html.el (org-export-html-close-lists-maybe): Check if raw
517 HTML stuff was actually made from an example.
519 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
521 * Makefile (LISPF): Let's not compile files that won't often be used.
523 2010-07-19 Bastien Guerry <bzg@altern.org>
525 * org-latex.el: Items are no longer skipped when their first line
526 ends on a protected element.
528 * org-list.el: Protected environments looking like lists are not
531 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
533 * org-exp-blocks.el (org-export-blocks-preprocess):
534 Cleanup trailing newline after block.
536 2010-07-19 Bastien Guerry <bzg@altern.org>
538 * org-exp.el: Comment regexp now matches documentation. No more
539 protection check when deleting comments before export.
541 2010-07-19 Bastien Guerry <bzg@altern.org>
543 * org-exp.el (org-export-preprocess-string):
544 Now using `org-export-handle-include-files-recurse' to resolve
547 2010-07-19 Bastien Guerry <bzg@altern.org>
549 * org-agenda.el (org-agenda-get-deadlines):
550 (org-agenda-get-scheduled):
551 * org.el (org-time-string-to-seconds):
552 For deadline and scheduled agenda display ignore the cyclic repeater
553 when calculating how many days late the task is. If you have a weekly
554 task and miss the date the agenda view will show more than a week late
555 now instead of resetting on the cyclic repeating date. This makes it
556 much more obvious when you missed a repeating task after the repeater.
558 2010-07-19 Bastien Guerry <bzg@altern.org>
560 * org-exp.el (org-export-mark-blockquote-verse-center):
561 Consider environments that end at eob.
563 2010-07-19 Mikael Fornius <mfo@abc.se>
565 * org.el (org-raise-scripts): Do not fontify sub/superscripts of text
566 with face `org-special-keyword'. Make property keys as :LAST_REPEAT:
569 2010-07-19 Mikael Fornius <mfo@abc.se>
571 * org.el (org-at-property-p): Use save-match-data macro instead of let.
573 2010-07-19 Mikael Fornius <mfo@abc.se>
575 * org.el (test): Remove unused test function.
577 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
579 * org-exp-blocks.el (org-export-blocks-preprocess): Fix typo.
581 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
583 * org-exp-blocks.el (org-export-blocks-postblock-hook): Add
584 documentation to and turn into a defcustom.
586 2010-07-19 Eric Schulte <schulte.eric@gmail.com>
588 * org-exp.el (org-get-file-contents): By un-setting prefix1 to ""
589 instead of to nil we avoid errors when :prefix1 is defined, but
592 2010-07-19 Nicolas Goaziou <n.goaziou@gmail.com>
594 * org-latex.el (org-export-latex-preprocess): Environments coming
595 from latex backend specific instructions (#+LaTeX) are already
596 protected and won't be treated as normal environments.
598 2010-07-19 Bastien Guerry <bzg@altern.org>
600 * org-timer.el (org-timer-set-timer): Fix typo in the docstring.
602 2010-07-19 Bastien Guerry <bzg@altern.org>
604 * org-timer.el (org-timer-set-timer): Use a prefix argument.
605 See the docstring of the function.
607 2010-07-19 Bastien Guerry <bzg@altern.org>
609 * org-timer.el (org-timer-set-timer): Fix bug about cancelling
612 2010-07-19 David Maus <dmaus@ictsoc.de>
614 * org-w3m.el (org-w3m-copy-for-org-mode)
615 (org-w3m-get-next-link-start, org-w3m-get-prev-link-start):
616 Get text property directly, not using macro `w3m-anchor'.
618 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
620 * org.el (org-emph-re): Document the match groups.
622 2010-07-19 Bernt Hansen <bernt@norang.ca>
624 * org-clock.el (org-clock-in): Set `org-clock-clocking-in' to
625 t before calling `org-clock-out', so that that function can
626 know its call context.
628 2010-07-19 Bastien Guerry <bzg@altern.org>
630 * org-timer.el (org-timer-default-timer): New variable.
631 (org-timer-set-timer): Use the new variable. Also offer the
632 possibility to replace the current timer by a new one.
634 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
636 * org.el (org-kill-note-or-show-branches): Hide subtree before
637 exposing the headings.
639 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
641 * org.el (org-add-planning-info): Remove the empty line also
642 if there is no whitespace at all in there.
644 * org-table.el (org-table-align): Fix alignment of strings
645 with invisible characters.
647 2010-07-19 David Maus <dmaus@ictsoc.de>
649 * org.el (org-refile-cache-get): Return empty list of targets
650 when cache was cleared.
651 (org-clone-subtree-with-time-shift): Maybe create ID property
653 (org-clone-delete-id): New customization variable.
654 (org-clone-subtree-with-time-shift): Use customization
655 variable `org-clone-delete-id'.
656 (org-clone-subtree-with-time-shift): Remove empty property
657 drawer in cloned subtrees.
659 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
661 * org.el (org-refile-use-cache): New option.
662 (org-refile-cache, org-refile-markers): New variable.
663 (org-refile-marker, org-refile-cache-clear)
664 (org-refile-cache-check-set, org-refile-cache-put)
665 (org-refile-cache-get): New function.
666 (org-get-refile-targets): Use the refile cache.
668 * org-clock.el (org-clock-sum): Don't include running clock if
669 the time block is wrong.
671 2010-07-19 John Wiegley <jwiegley@gmail.com>
673 * org-clock.el (org-clock-clock-in, org-clock-in): Add
674 parameter `start-time'.
675 (org-clock-resolve-clock): Add parameter `clock-out-time'.
676 If set, and resolve-to is a past time, then the clock out
677 event occurs at `clock-out-time' rather than at `resolve-to'.
678 In this case, `resolve-to' becomes the clock in time.
679 (org-clock-jump-to-current-clock): Create new global command
680 to reveal the current clock.
681 (org-clock-resolve): Add new commands g/G and j/J, and a
682 help window describing all commands and their meaning.
683 (org-clock-resolve-expert): New customization variable.
684 (org-find-open-clocks): Fix a bug that caused discovered
685 clocks not to match up with the currently active clock.
686 (org-resolve-clocks): Change the argument
687 `also-non-dangling-p' to `only-dangling-p', since due to a bug
688 this was the default behavior all along.
690 2010-07-19 David Maus <dmaus@ictsoc.de>
692 * org-id.el (org-id-uuid): New function. Return string with
693 random (version 4) UUID.
694 (org-id-method): Make 'uuid the new default value.
695 (org-id-new): Use `org-id-uuid' if call to uuidgen program
696 does not return a UUID.
698 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
700 * org-latex.el (org-export-latex-format-image): Add support
701 for multicolumn figures in LaTeX.
703 2010-07-19 David Maus <dmaus@ictsoc.de>
705 * org.el (org-clone-subtree-with-time-shift): Remove ID
706 property of original subtree in cloned subtrees.
708 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
710 * org-exp.el (org-export-format-source-code-or-example):
711 XEmacs compatibility.
713 * org-latex.el (org-export-latex-tables): Accept comma in
716 * org-docbook.el (org-export-docbook-xslt-stylesheet): New option.
717 (org-export-docbook-xslt-proc-command): Fix docstring.
718 (org-export-docbook-xsl-fo-proc-command): Fix docstring.
719 (org-export-as-docbook-pdf): Improve
720 formatting of the xslt command.
722 * org-exp.el (org-infile-export-plist): Check for XSLT setting.
724 * org.el (org-file-contents): Improve error message.
725 (org-set-regexps-and-options): Remove spaces at both ends.
727 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
729 * org-docbook.el (org-export-as-docbook-pdf): Improve
730 formatting of the xslt command.
732 2010-07-19 Sebastian Rose <sebastian_rose@gmx.de>
734 * org-publish.el (org-publish-cache): Use one big hashmap for
735 each project defined in `org-publish-project-alist'.
736 (initialize-files-alist): Function removed.
737 (org-publish-validate-link): Function removed.
738 (org-publish-get-base-files): Add variable `sitemap-requested'
739 to avoid sorting where possible.
740 (org-publish-get-files): Function removed.
741 (org-publish-get-project-from-filename): Make independent of
743 (org-publish-file): New argument NO-CACHE.
745 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
747 * org.el (org-beginning-of-defun, org-end-of-defun): New
749 (org-mode): Install the `org-beginning-of-defun' and
750 `org-end-of-defun' functions.
751 (org-pretty-entities): New option.
752 (org-toggle-pretty-entities): New command.
753 (org-fontify-entities): New function.
754 (org-startup-options): New keywords for pretty entities.
755 (org-set-font-lock-defaults): Call the pretty entities
758 * org-latex.el (org-export-latex-keywords-maybe): Protect the
761 2010-07-19 Mikael Fornius <mfo@abc.se>
763 * org-habit.el (org-habit-build-graph): Help-echo date when
766 2010-07-19 Jan Böker <jan.boecker@jboecker.de>
768 * org.el (org-file-apps): Improve docstring to reflect
771 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
773 * org.el (org-set-startup-visibility): Fix empty line display.
775 * org-latex.el (org-export-latex-links): Use the formatting
776 function of the link type, if it is available.
778 * org-table.el (org-table-get-remote-range): Return to
779 original buffer when retrieving remote reference.
781 * org.el (org-display-inline-images): Do the entire buffer,
782 not just the narrowed region. Clear the cache.
783 (org-display-inline-images): Match mode file paths.
785 2010-07-19 David Maus <dmaus@ictsoc.de>
787 * org-wl.el (org-wl-store-link-folder): Don't throw error when
788 called on WL folder group.
790 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
792 * org.el (org-replace-escapes): Make sure the cdr is not nil.
793 (org-read-date): Make `M-v' and `C-v' scroll the popup calendar.
794 (org-mode): Revert comment syntax changes.
796 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
798 * org.el (org-sparse-tree): Make `C-c / t' search for all TODO
799 keywords, and `C-c / T' for a specific one.
801 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
803 * org.el (org-mode): Fix comment syntax settings.
805 * org-src.el (org-edit-src-allow-write-back-p): Define
808 * org.el (org-inline-image-overlays): New variable.
809 (org-toggle-inline-images, org-display-inline-images)
810 (org-remove-inline-images): New commands.
811 (org-mode-map): Define a key for `org-toggle-inline-images'.
813 2010-07-19 David Maus <dmaus@ictsoc.de>
815 * org-wl.el (org-wl-message-field): New function. Return
816 content of header field in message entity.
817 (org-wl-store-link): Call `org-wl-store-link-folder' or
818 `org-wl-store-link-message' depending on major-mode.
819 (org-wl-store-link-folder): New function. Store link to
821 (org-wl-store-link-message): New function. Store link to
823 (org-wl-store-link-message): Store link to message while
825 (org-wl-open): Don't try to jump to message when opening a
828 2010-07-19 David Maus <dmaus@ictsoc.de>
830 * org.el (org-replace-escapes): Avoid infinite loop when
831 replace string contains escape sequence it replaces.
833 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
835 * org-crypt.el (org-crypt-key-for-heading): Use symmetric
836 encryption when now key is set.
838 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
840 * org-table.el (org-table-recalculate-buffer-tables)
841 (org-table-iterate-buffer-tables): New commands.
843 * org.el (org-check-for-hidden): When there is a region, skip
846 2010-07-19 Dan Davison <davison@stats.ox.ac.uk>
848 * org-src.el (org-edit-src-code): allow-write-back-p had
849 erroneously been omitted from let binding.
851 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
853 * org-agenda.el (org-sorting-choice): New sorting type alpha.
854 (org-cmp-alpha): New defsubst.
855 (org-em): New defsubst.
856 (org-entries-lessp): Only compute needed comparisons.
858 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
860 * org-html.el (org-format-org-table-html): Test all columns
863 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
865 * org-latex.el (org-export-latex-treat-sub-super-char): Make
866 sure parenthesis matching is consistent.
868 * org-table.el (org-table-colgroup-line-p)
869 (org-table-cookie-line-p): New functions.
871 * org-exp.el (org-table-clean-before-export): Better tests for
872 colgroup and cookie lines.
874 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
876 * org-agenda.el (org-agenda-goto): Push a mark before changing
879 * org-footnote.el (org-footnote): New group.
880 (org-footnote-section)
881 (org-footnote-tag-for-non-org-mode-files): Fix typos.
883 * org-list.el (org-end-of-item-text-before-children): Also do
884 the right thing at the end of a file.
886 * org.el (org-set-packages-alist, org-get-packages-alist): New
888 (org-export-latex-default-packages-alist)
889 (org-export-latex-packages-alist): Add extra flag to
890 each package, indicating if it should be used for snippets.
891 (org-create-formula-image): Add the snippet argument.
892 (org-splice-latex-header): New argument SNIPPET-P, pass it
893 through to `org-latex-packages-to-string'.
894 (org-latex-packages-to-string): New argument SNIPPET-P.
896 * org-latex.el (org-export-latex-make-header): Add the snippet
899 * org-docbook.el (org-export-as-docbook): Implement ordered
900 lists starting at some offset.
902 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
904 * org.el (org-link-types, org-open-at-point): Add doi links.
906 * org-ascii.el (org-export-ascii-preprocess): Remove list
907 startcounter cookies.
909 * org-list.el (org-renumber-ordered-list): Respect counter
912 * org-latex.el (org-export-latex-lists): Accept ordered list
915 * org-html.el (org-export-as-html): Accept ordered list
918 * org-indent.el (org-indent-mode): Turn off `indent-tabs-mode'
919 which messes up alignment of tags.
921 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
923 * org-clock.el (org-clock-cancel, org-clock-out): Make sure
924 the modeline display is removed.
926 * org-exp.el (org-export-format-drawer-function): Fix
929 * org-agenda.el (org-agenda-refile): New optional argument
931 (org-agenda-refile): Call `org-agenda-redo' unless NO-UPDATE
933 (org-agenda-bulk-action): Call the refile command with updates
934 suppressed - but arrange for `org-agenda-redo' to be called at
937 * org.el (org-mode): Make table mapping quiet.
938 (org-table-map-tables): New optional argument QUIETLY.
940 * org-ascii.el (org-export-ascii-preprocess): Make table
943 * org-html.el (org-export-as-html, org-html-level-start): Change
944 XHTML IDs to not use dots.
946 * org-exp.el (org-export-define-heading-targets): Change
947 XHTML IDs to not use dots.
949 * org-docbook.el (org-export-docbook-level-start): Change
950 XHTML IDs to not use dots.
952 * org-latex.el (org-export-as-latex): Make sure that the
953 result buffer is in latex-mode.
955 * org.el (org-shiftup-final-hook, org-shiftdown-final-hook)
956 (org-shiftleft-final-hook, org-shiftright-final-hook): New
959 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
961 * org-table.el (org-table-justify-field-maybe): Make sure that
962 inserting a value does not turn a line into a hline.
964 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
966 * org-clock.el (org-clock-sum): New argument HEADLINE-FILTER.
967 (org-clock-sum): Add property to selected headlines.
968 (org-dblock-write:clocktable): Make tags matcher.
970 * org.el (org-set-autofill-regexps): XEmacs compatibility.
972 * org-latex.el (org-export-latex-set-initial-vars): Allow "-"
973 in latex class definitions.
975 * org.el (org-shiftup-hook, org-shiftdown-hook)
976 (org-shiftleft-hook, org-shiftright-hook): New hooks.
978 * org-entities.el (org-entities): Use \land and \lor for logical
981 * org.el (org-shiftmetaleft, org-shiftmetaright): Call the subtree
982 indentation commands.
983 (org-hidden-tree-error): New defsubst.
984 (org-metaleft, org-metaright): Check for hidden stuff and throw an
986 (org-check-for-hidden): New function.
988 * org-list.el (org-item-re): New function.
989 (org-at-item-p): Use `org-item-re'.
990 (org-end-of-item-text-before-children): New function.
991 (org-outdent-item, org-indent-item): Arrange for leaving the
993 (org-outdent-item-tree, org-indent-item-tree): New argument
995 (org-indent-item-tree): Use `org-end-of-item-text-before-children'
996 to find the end for processing while ignoring the subtree.
998 * org-publish.el (org-publish-sitemap-sort-alphabetically)
999 (org-publish-sitemap-sort-folders)
1000 (org-publish-sitemap-sort-ignore-case): New options.
1002 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1004 * org-publish.el (org-publish-compare-directory-files): Fix sorting.
1006 * org-compat.el (org-get-x-clipboard-compat): Use (featurep 'xemacs).
1008 * org-publish.el (org-publish-project-alist): Update docstring.
1009 (org-publish-file-title-cache): New variable.
1010 (org-publish-initialize-files-alist): Initialize
1011 `org-publish-initialize-files-alist' to nil.
1012 (org-publish-sort-directory-files): New function.
1013 (org-publish-projects): Access the new properties.
1014 (org-publish-find-title): Use the file title cache.
1015 (org-publish-find-title): Build the file title cache.
1016 (org-publish-get-base-files-1): Sort files.
1017 (org-publish-aux-preprocess): Do not throw an error when before
1018 the first headline. Allow an empty target, meaning to link just
1020 (org-publish-index-generate-theindex.inc): Check if there is
1021 actually a target and only then add it to the link.
1022 (org-publish-projects): Fix a remaining issue with the last commit.
1024 * org-html.el (org-export-as-html): Treat verse as open/close
1026 (org-export-html-close-lists-maybe): Allow to splice raw HTML into
1029 2010-07-19 Dan Davison <davison@stats.ox.ac.uk>
1031 * org-src.el (org-edit-src-code): Allow the org-src edit buffer to
1032 be used in a read-only mode.
1033 (org-edit-src-code): Different message in read-only mode.
1035 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1037 * org-src.el (org-edit-src-find-region-and-lang): Test for
1038 table.el as late as possible.
1040 * org-colview-xemacs.el: Make sure this file is never loaded into
1041 Emacs. Remove all tests for XEmacs.
1043 * org-colview.el: Make sure this file is never loaded into XEmacs.
1045 * org-agenda.el (org-highlight, org-unhighlight): Use direct
1048 * org.el (org-key): Apply the translations defined in
1049 `org-xemacs-key-equivalents'.
1051 * org-mouse.el (org-mode-hook): Use `org-defkey'.
1053 * org-compat.el (org-xemacs-key-equivalents): New constant.
1055 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1057 * org-inlinetask.el (org-inlinetask-defaut-state): New option.
1058 (org-inlinetask-insert-task): Use `org-inlinetask-defaut-state'.
1059 Obey `org-odd-levels-only'.
1061 * org-compat.el (org-find-overlays): Use overlays-in/at.
1063 * org.el (org-remove-empty-overlays-at)
1064 (org-outline-overlay-data, org-hide-block-toggle)
1065 (org-format-latex, org-context): Use overlays-in/at.
1067 * org-src.el (org-edit-src-exit): Use overlays-in/at.
1069 * org-agenda.el (org-agenda-mark-clocking-task)
1070 (org-agenda-fontify-priorities, org-agenda-dim-blocked-tasks)
1071 (org-agenda-entry-text-hide)
1072 (org-agenda-fix-tags-filter-overlays-at)
1073 (org-agenda-bulk-remove-overlays): Use overlays-in/at.
1075 * org-compat.el (org-overlays-at): Function removed.
1076 (org-overlays-in): Function removed.
1078 2010-07-19 Bastien Guerry <bzg@altern.org>
1080 * org-clock.el (org-clock-set-current): Just return the headline
1081 itself, strip the TODO keyword, the priority cookie and the tags.
1083 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1085 * org-compat.el (org-xemacs-without-invisibility): New macro.
1086 (org-xemacs-without-invisibility): New macro.
1087 (org-indent-to-column, org-indent-line-to, org-move-to-column):
1088 Redefine using the macro `org-xemacs-without-invisibility'.
1090 * org.el (org-mode, org-org-menu): Use `add-to-invisibility-spec'.
1092 * org-table.el (orgtbl-mode): Use `add-to-invisibility-spec'.
1094 * org-compat.el (org-make-overlay, org-delete-overlay)
1095 (org-overlay-start, org-overlay-end, org-overlay-put)
1096 (org-overlay-get, org-overlay-move, org-overlay-buffer): Functions
1098 (org-add-to-invisibility-spec): Function removed.
1100 * org-html.el (org-export-as-html-and-open): Add argument to
1103 * org-habit.el (require): `calendar' is now required already by
1104 org.el on top level.
1106 * org-clock.el (require): `calendar' is now required already by
1107 org.el on top level.
1109 * org-agenda.el (require, org-timeline, org-agenda-list)
1110 (org-todo-list, org-agenda-to-appt): `calendar' is now required
1111 already by org.el on top level.
1113 * org.el (org-export-latex-fix-inputenc): Declare function.
1115 * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
1118 * org.el (calendar): Require calendar now on top level in org.el
1119 and define aliases to new variables when needed.
1120 (org-read-date, org-goto-calendar): Do not bind obsolete
1123 * org-clock.el (org-clock-out, org-clock-cancel): Get rid of
1124 compilation warning, add comment that this cannot be done with
1125 `with-current-buffer'.
1127 * org-wl.el (org-wl-open): Use `with-current-buffer'.
1129 * org.el (overlay, org-remove-empty-overlays-at)
1130 (org-outline-overlay-data, org-set-outline-overlay-data)
1131 (org-show-block-all, org-hide-block-toggle)
1132 (org-highlight-new-match, org-remove-occur-highlights)
1133 (org-tags-overlay, org-fast-tag-selection, org-date-ovl)
1134 (org-read-date, org-read-date-display, org-eval-in-calendar)
1135 (org-format-latex, org-context)
1136 (org-speedbar-restriction-lock-overlay)
1137 (org-speedbar-set-agenda-restriction): Use the normal overlay API.
1139 * org-table.el (org-table-add-rectangle-overlay)
1140 (org-table-remove-rectangle-highlight)
1141 (org-table-overlay-coordinates)
1142 (org-table-toggle-coordinate-overlays): Use the normal overlay
1145 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1146 (org-edit-src-exit, org-src-mode-configure-edit-buffer): Use the
1149 * org-colview.el (org-columns-new-overlay)
1150 (org-columns-display-here, org-columns-remove-overlays)
1151 (org-columns-edit-value, org-columns-next-allowed-value)
1152 (org-columns-update): Use the normal overlay API.
1154 * org-clock.el (org-clock-out, org-clock-cancel)
1155 (org-clock-put-overlay, org-clock-remove-overlays): Use the normal
1158 * org-agenda.el (org-agenda-mark-filtered-text)
1159 (org-agenda-mark-clocking-task, org-agenda-fontify-priorities)
1160 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1161 (org-agenda-entry-text-hide)
1162 (org-agenda-restriction-lock-overlay)
1163 (org-agenda-set-restriction-lock)
1164 (org-agenda-filter-by-tag-hide-line)
1165 (org-agenda-fix-tags-filter-overlays-at)
1166 (org-agenda-filter-by-tag-show-all, org-hl)
1167 (org-agenda-goto-calendar, org-agenda-bulk-mark)
1168 (org-agenda-bulk-remove-overlays): Use the normal overlay API.
1170 * org-freemind.el (org-freemind-from-org-mode-node)
1171 (org-freemind-from-org-mode)
1172 (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode): Use
1173 interactive-p instead of called-interactively, because this is
1174 backward compatible with older Emacsen I still support..
1176 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1178 * org-exp.el (org-export-define-heading-targets): Fix bug in
1179 regexp finding ID and CUSTOM_ID properties.
1181 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1183 * org-footnote.el (org-footnote-goto-previous-reference): Rename
1184 from `org-footnote-goto-next-reference'.
1186 * org.el (org-auto-repeat-maybe): Only record LAST_REPEAT if
1187 org-log-repeat is non-nil, or if there is clocking data in the
1190 * org-crypt.el (org-encrypt-entry): Improve mapping behavior.
1192 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1194 * org.el (org-align-all-tags): New command.
1196 2010-07-19 David Maus <dmaus@ictsoc.de>
1198 * org-wl.el (org-wl-link-remove-filter): New customizable
1199 variable. If non-nil, filter conditions are stripped when storing
1200 link to message in filter folder.
1201 (org-wl-shimbun-prefer-web-links): New customizable variable. If
1202 non-nil, links to shimbun messages are created as web links to
1204 (org-wl-nntp-prefer-web-links): New customizable variable. If
1205 non-nil, links to nntp message are created as web links to gmane
1207 (org-wl-namazu-default-index): New customizable variable.
1208 Directory of namazu search index that should be used as default
1209 when opening a link in a search folder.
1210 (org-wl-folder-types): New constant. Wanderlust folder type
1212 (org-wl-folder-type): New function. Return type of Wanderlust
1214 (org-wl-store-link): Create web links for shimbun or nntp messages
1215 and strip filter conditions depending on customizable variables.
1216 (org-wl-open): Open namazu search folder for message when called
1219 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1221 * org.el (org-remove-if, org-remove-if-not): New functions.
1222 (org-open-file): Use internal remove-if functions.
1224 2010-07-19 Jan Böcker <jan.boecker@jboecker.de>
1226 * org.el (org-file-apps-entry-match-against-dlink-p): New function.
1227 (org-file-apps-ex): Remove variable.
1228 (org-open-file): Integrate org-file-apps-ex functionality back
1229 into org-file-apps, and decide whether to match a regexp against
1230 the link or the filename using org-file-apps-entry-uses-grouping-p.
1232 2010-07-19 Jan Böcker <jan.boecker@jboecker.de>
1234 * org.el (org-file-apps-ex): New variable.
1235 (org-open-file): Before considering org-file-apps, first match the
1236 regexps from org-file-apps-ex against the whole link. See
1237 docstring of org-file-apps-ex.
1239 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1241 * org.el (org-export-latex-default-packages-alist): Remove
1243 (org-todo-repeat-to-state): New variable.
1244 (org-auto-repeat-maybe): Allow user-selected target states.
1245 (org-default-properties): Add the new property REPEAT_TO_STATE.
1247 2010-07-19 Carsten Dominik <carsten.dominik@gmail.com>
1249 * org-mobile.el (org-mobile-check-setup): Make sure that there is
1250 a binary to compute checksums.
1252 2010-06-26 Carsten Dominik <carsten.dominik@gmail.com>
1254 * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
1257 * org.el (calendar): Require calendar now on top level in org.el
1258 and define aliases to new variables when needed.
1259 (org-read-date, org-goto-calendar): Do not bind obsolete
1262 2010-06-22 Glenn Morris <rgm@gnu.org>
1264 * org-entities.el: Add explicit utf-8 coding cookie to file with
1267 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1269 * org.el (org-file-complete-link): Avoid (expand-file-name ".").
1271 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
1273 * Version 23.2 released.
1275 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1277 * org-table.el (orgtbl-setup):
1278 * org-agenda.el (org-agenda-entry-text-mode): Simplify.
1280 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1282 * org-table.el (orgtbl-mode): Use define-minor-mode.
1284 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1286 * org.el (org-insert-link): Find the link buffer on visible frames.
1287 (org-export-latex-default-packages-alist): Hyperref must be loaded
1289 (org-open-file): More care with the new matching for file links.
1291 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1293 * org-latex.el (org-export-latex-preprocess): Do not yet protect
1294 defined entities - these will be taken care of later.
1295 (org-export-latex-special-chars): Post-process entity replacement.
1296 (org-export-latex-fontify-headline): Do not yet protect defined
1297 entities - these will be taken care of later.
1298 (org-export-latex-tables, org-export-latex-links): Format the
1301 * org-entities.el (org-entities-user): Fix typo.
1303 * org.el (org-prepare-agenda-buffers): Uniquify TODO keywords.
1305 * org-entities.el (org-entities-user): Improve docstring.
1307 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1309 * org-entities.el (org-macs): Require org-macs, to be sure that we
1310 have `declare-function' defined.
1312 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1314 * org-latex.el (org-export-latex-classes): Update docstring.
1316 * org.el (org-format-latex-header): Add cookies to the header.
1317 (org-splice-latex-header): Implement placement according to cookies.
1319 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1321 * org-publish.el (org-publish-aux-preprocess): Control case
1324 2010-04-10 Bastien Guerry <bzg@altern.org>
1326 * org.el (org-splice-latex-header): Fix typo.
1328 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1330 * org-latex.el (org-export-latex-make-header):
1331 Use `org-splice-latex-header' to build the header.
1332 (org-export-latex-classes): Update docstring.
1334 * org.el (org-splice-latex-header): New function.
1335 (org-create-formula-image): Use `org-splice-latex-header' to build
1338 * org-gnus.el (org-gnus-follow-link): Handle nndoc backend.
1340 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1342 * org.el (org-export-latex-packages-alist)
1343 (org-export-latex-default-packages-alist): Fix docstring to
1344 reflect the expected structure.
1346 * org-docbook.el (org-docbook-do-expand): Fix bug with variable names.
1347 (org-export-docbook-finalize-table): Make use of label for tables.
1349 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1351 * org-attach.el (org-attach-commit): Split on newlines.
1353 * org.el (org-export-latex-default-packages-alist): Use list
1354 instead of cons for the entries.
1356 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1358 * org-entities.el (org-entity-get-representation): Catch the case
1359 that there is not entry in the list.
1361 * org-mobile.el (org-mobile-use-encryption)
1362 (org-mobile-encryption-tempfile, org-mobile-encryption-password):
1364 (org-mobile-check-setup): CHeck the encryption setup.
1365 (org-mobile-copy-agenda-files, org-mobile-sumo-agenda-command)
1366 (org-mobile-create-sumo-agenda): Use encryption code.
1367 (org-mobile-encrypt-and-move): New function.
1368 (org-mobile-encrypt-file, org-mobile-decrypt-file): New
1370 (org-mobile-move-capture): Decrypt the capture file.
1372 * org.el (org-entities): Require the new file.
1373 (org-export-latex-default-packages-alist): New variable.
1374 (org-complete): Use new entity code for completion.
1375 (org-create-formula-image): Use the new packages variable.
1377 * org-latex.el (org-export-latex-classes): Remove the standard
1378 packages from the class headers.
1379 (org-export-latex-make-header): Use the new package variable.
1380 (org-export-latex-special-chars): Better regexp for entities, to
1381 support entity name that contain numbers.
1382 (org-export-latex-treat-backslash-char): Use the new entity code.
1384 * org-html.el (org-html-do-expand): Use the new entity code.
1386 * org-exp.el (org-export): Add the new export commands.
1387 (org-html-entities): Constant removed.
1388 (org-export-visible): Add the new export commands.
1390 * org-docbook.el (org-docbook-do-expand): Use new entity code.
1392 * org-ascii.el (org-export-ascii-entities): New variable.
1393 (org-export-as-latin1, org-export-as-latin1-to-buffer)
1394 (org-export-as-utf8, org-export-as-utf8-to-buffer): New commands.
1395 (org-export-as-encoding): New function.
1396 (org-export-ascii-preprocess): Call `org-ascii-replace-entities'.
1397 (org-ascii-replace-entities): New function.
1399 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1400 Ulf Stegemann <ulf@zeitform.de>
1402 * org-entities.el: New file.
1404 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1406 * org-html.el (org-html-level-start): Catch the case that target
1409 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
1411 * org.el (org-appearance): Change Customize group variable name
1412 from org-font-lock to org-appearance, and change tag from "Org
1413 Font Lock" to "Org Appearance".
1414 (org-odd-levels-only): Change Customize group variable name.
1415 (org-level-color-stars-only): Change Customize group variable name.
1416 (org-hide-leading-stars): Change Customize group variable name.
1417 (org-hidden-keywords): Change Customize group variable name.
1418 (org-fontify-done-headline): Change Customize group variable name.
1419 (org-fontify-emphasized-text): Change Customize group variable name.
1420 (org-fontify-whole-heading-line): Change Customize group variable name.
1421 (org-highlight-latex-fragments-and-specials): Change Customize
1422 group variable name.
1423 (org-hide-emphasis-markers): Change Customize group variable name.
1424 (org-emphasis-alist): Change Customize group variable name.
1425 (org-emphasis-regexp-components): Change Customize group variable
1427 (org-modules): Remove mention of org-R.
1429 * org-faces.el (org-faces): Change Customize group variable name.
1431 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1433 * org-agenda.el (org-diary-last-run-time): New variable.
1434 (org-diary): Prepare agenda buffers only if last call was some
1437 * org-html.el (org-export-html-preprocess): Replace \ref macros
1439 (org-format-org-table-html): Add the label as an anchor.
1441 * org-docbook.el (org-export-docbook-format-image): Do some
1442 formatting on captions.
1444 * org-latex.el (org-export-latex-tables, org-export-latex-links):
1445 Do some formatting on captions.
1447 * org-html.el (org-export-html-format-image)
1448 (org-format-org-table-html): Do some formatting on captions.
1450 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
1452 * org.el (org-hidden-keywords): New customizable variable. This is
1453 a list of symbols specifying which of the special keywords #+DATE,
1454 #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock.
1455 (org-fontify-meta-lines-and-blocks): Changes to font-lock code
1456 implementing new faces and hiding behaviour.
1458 * org-faces.el (org-document-title): New face for #+TITLE lines.
1459 (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines.
1460 (org-document-info-keyword): New face for #+DATE, #+AUTHOR, #+EMAIL
1463 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1465 * org-publish.el (org-publish-sanitize-plist): New function to
1466 rename "index" properties to "sitemap". Do this renaming
1468 (org-publish-with-aux-preprocess-maybe): New macro.
1469 (org-publish-org-to-pdf, org-publish-org-to-html): Use the new
1471 (org-publish-aux-preprocess)
1472 (org-publish-index-generate-theindex.inc): New function.
1474 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1476 * org-table.el (org-table-align): Interpret <N> at fixed width,
1477 not as maximum width.
1479 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1481 * org-exp.el (org-export-author-info, org-export-email-info): Fix
1484 * org-beamer.el (org-beamer-select-environment): Rename from
1485 `org-beamer-set-environment-tag'. Improve docstring.
1487 * org-freemind.el (org-freemind-write-mm-buffer): Fix another
1488 problem with odd levels.
1490 * org-ascii.el (org-export-as-ascii): Export email only if the
1493 * org-docbook.el (org-export-as-docbook): Export email only if the
1496 * org-html.el (org-export-as-html): Export email only if the
1499 * org-exp.el (org-export-email-info): New option.
1500 (org-export-plist-vars): Add entry for `org-export-email'.
1502 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1504 * org-table.el (org-table-goto-line): Fix typo.
1506 2010-04-10 Mikael Fornius <mfo@abc.se>
1508 * org.el (org-agenda-files): Typo.
1509 (org-read-agenda-file-list): Add optional argument to help
1510 `org-store-new-agenda-file-list' to remember un-expanded file
1511 names. Expand file names relative to `org-directory'.
1512 (org-store-new-agenda-file-list): Keep un-expanded file names when
1513 saving, if available.
1514 (org-agenda-files): Update documentation.
1516 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1518 * org-ascii.el (org-export-as-ascii): Catch the case of exporting
1519 a buffer with no file name attached.
1521 * org.el (org-log-refile): New option.
1522 (org-log-note-headings): Add a heading for refiling.
1523 (org-startup-options): Add keywords for logging of the refile
1525 (org-refile): Add logging action.
1526 (org-add-log-note): Allow for refiling action.
1528 * org-agenda.el (org-agenda-bulk-action): Make sure
1529 `org-log-refile' is not `note' during a bulk action.
1531 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1533 * org.el (org-map-dblocks): Use save-excursion to remember the
1536 * org-attach.el (org-attach-commit): Remove dependence on xargs.
1537 (org-attach-delete-one): Commit after deleting a file.
1539 * org-latex.el (org-export-latex-fontify): Do not mistake table.el
1540 borders for strike-through emphasis.
1542 * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
1543 handling of odd levels.
1545 * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
1546 and `future' values.
1547 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
1548 Handle `past' and `future' values.
1550 * org.el (org-read-agenda-file-list): Interpret file names
1551 relative to org-directory and allow environment variables and
1554 * org-latex.el (org-export-latex-special-chars): Allow a
1555 parenthesis before an exponent or subscript.
1557 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
1559 * org-src.el (org-edit-src-exit): When returning from code edit
1560 buffer, if code block is hidden, leave point at start of
1563 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1565 * org.el (org-insert-heading): Do not remove all spaces if the
1568 * org-indent.el (org-indent): Fix group name.
1570 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1572 * org-table.el (org-table-goto-column): Fix forcing a non-existing
1574 (org-table-get, org-table-put, org-table-goto-line)
1575 (org-table-current-line): New functions.
1577 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
1579 * org.el (org-open-file): Allow regular expressions in
1580 org-file-apps to capture link parameters using groups. In a
1581 command string to be executed, the parameters can be referenced
1582 using %1, %2, etc. Lisp forms can access them using
1583 (match-string n link).
1584 (org-apps-regexp-alist): Adopt the created regexp, as this is now
1585 matched against a file: link instead of the file name.
1587 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1589 * org-crypt.el (org-reveal-start-hook): Add a decryption function
1591 (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry): Add
1594 * org.el (org-point-at-end-of-empty-headline)
1595 (org-level-increment, org-get-previous-line-level): New function.
1596 (org-cycle-level): Rewritten to be independent of when this
1598 (org-in-regexps-block-p): New function.
1599 (org-reveal-start-hook): New hook.
1600 (org-reveal): Run new hook.
1602 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1604 * org-latex.el (org-export-latex-keywords): Start a new paragraph
1605 after time keywords, do not add "\newline".
1607 * org-html.el (org-export-as-html): Avoid double # in href.
1609 * org.el (org-refile-get-location): Catch an invalid target
1612 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1614 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
1615 Make sure the behavior regarding to extracting time is
1618 2010-04-10 Stephen Eglen <stephen@gnu.org>
1620 * org-agenda.el (org-agenda-insert-diary-extract-time): New
1622 (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
1623 variable rather than `org-agenda-search-headline-for-time'.
1625 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1627 * org-list.el (org-fix-bullet-type): Improve cursor positioning.
1629 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1631 * org.el (org-adaptive-fill-regexp-backup): New variable.
1632 (org-set-autofill-regexps): Store a backup of
1633 `adaptive-fill-regexp'.
1634 (org-adaptive-fill-function): Fix filling of comments and ordered
1635 lists. If there is no other match, till try adaptive fill.
1637 2010-04-10 John Wiegley <jwiegley@gmail.com>
1639 * org-agenda.el (org-agenda-include-deadlines): Add new
1640 customization variable to determine whether unscheduled tasks
1641 should appear in the agenda solely because of their deadline.
1642 Default to true, which was the previous behavior (it just wasn't
1644 (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
1645 the agenda to show/hide deadline tasks.
1646 (org-agenda-menu): Add menu option for show/hide deadlines.
1647 (org-agenda-list): Make the agenda list sensitive to the value of
1648 `org-agenda-include-deadlines'.
1649 (org-agenda-toggle-deadlines): New function to toggle the value of
1650 `org-agenda-include-deadlines' and repaint the modeline
1652 (org-agenda-set-mode-name): Show "Deadlines" in the agenda
1653 modeline if deadline tasks are being displayed.
1655 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1657 * org-table.el (org-table-eval-formula): Replace $# and @# by
1658 current column and row number.
1660 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1662 * org.el (org-set-property, org-delete-property): Go back to
1663 prompting for the property.
1665 * org-latex.el (org-export-latex-make-header): Fully process
1667 (org-export-latex-fontify-headline): Allow several arguments, not
1669 (org-export-latex-fix-inputenc): Catch the error when
1670 `latexenc-coding-system-to-inputenc' is not defined.
1672 * org-agenda.el (org-agenda-skip-if-todo): New function.
1673 (org-agenda-skip-if): Add conditions for TODO keywords.
1674 (org-agenda-skip-if): Document the new todo conditions.
1676 2010-04-10 Mikael Fornius <mfo@abc.se>
1678 * org.el (org-at-property-p): Check if we are inside a property
1679 drawer not just any drawer.
1680 (org-set-property, org-delete-property): When cursor is on a
1681 property key value pair do not prompt for property name instead
1683 (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
1684 on the first line of a property drawer.
1685 (org-property-end-re): Spell check.
1687 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1689 * org-exp.el (org-export-attach-captions-and-attributes): Add the
1690 properties to the entire table, in case the first line is
1693 * org-archive.el (org-archive-reversed-order): New option.
1694 (org-archive-subtree, org-archive-to-archive-sibling): Use the new
1695 option `org-archive-reversed-order'.
1697 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1699 * org-agenda.el (org-agenda-entry-types): New variable.
1700 (org-agenda-list): Use `org-agenda-entry-types'.
1701 (org-agenda-custom-commands-local-options): Support for setting
1702 `org-agenda-entry-types' as an option.
1703 (org-diary): Shift some documentation from here to the variable
1704 `org-agenda-entry-types'.
1706 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1708 * org-latex.el (org-export-latex-make-header): Apply macros in
1711 * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
1712 (org-clock-select-task, org-clock-notify-once-if-expired)
1713 (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
1714 (org-clock-out-if-current, org-clock-save): Use the new functions.
1716 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1718 * org-docbook.el (org-export-as-docbook): Remove unnecessary
1720 (org-export-as-docbook): Remove unnecessary newline.
1721 (org-export-as-docbook): Fix problem with double footnote
1722 reference in one place.
1724 * org-exp.el (org-export-format-source-code-or-example): Remove
1725 unnecessary newline.
1727 * org.el (org-deadline, org-schedule): Allow rescheduling entries
1730 * org-table.el (org-table-convert-refs-to-rc): Better way to catch
1731 function calls that look like references.
1733 * org.el (org-open-at-point): Get link abbreviations from
1736 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1738 * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
1741 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1743 * org.el (org-link-unescape): Solve issue with lower-case escapes.
1745 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1747 * org-latex.el (org-export-latex-classes): Add
1748 \usepackage{latexsym} to all classes.
1750 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1752 * org-html.el (org-export-as-html): Do not allow protected lines
1753 into the table of contents.
1755 * org-latex.el (org-export-latex-special-chars): Find subsequent
1756 occurrences of special characters.
1757 (org-export-latex-tables): Do not convert table-like stuff that is
1760 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1762 * org-list.el (org-toggle-checkbox): No errors when updating
1763 checkbox count fails because there is no heading.
1765 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1767 * org-clock.el (org-clock-report-include-clocking-task): New
1769 (org-clock-sum): Add the current clocking task.
1771 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1773 * org.el (org-cycle): Print a message when in a table.el table.
1774 (org-edit-special): Recognize the table.el context.
1775 (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
1777 * org-src.el (org-at-table.el-p): Declare.
1778 (org-edit-src-code): Handle a special case for table.el editing.
1779 (org-edit-src-find-region-and-lang): Recognize the table.el
1782 * org-latex.el (org-export-latex-tables): Convert table.el
1784 (org-export-latex-convert-table.el-table): New function.
1786 * org-html.el (org-html-expand): Fix table.el export.
1788 * org-latex.el (org-export-latex-preprocess): Protect footnotes in
1791 * org-id.el (org-id-find-id-file): Fix bug when there is no hash
1792 table for the id locations.
1794 * org.el (org-read-date-analyze): Match American-style dates, like
1795 5/30 or 5/13/7. Make sure cal-iso.el is loaded. Don't force he
1796 current year when reading ISO and American dates.
1798 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1800 * org.el (org-face-from-face-or-color): New function.
1801 (org-get-todo-face, org-font-lock-add-priority-faces)
1802 (org-get-tag-face): Use `org-face-from-face-or-color'.
1804 * org-faces.el (org-todo-keyword-faces, org-priority-faces): Allow
1805 simple colors as values.
1806 (org-faces-easy-properties): New option.
1808 * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
1809 restricted, as an agenda mode.
1810 (org-agenda-fontify-priorities): Allow simple colors as values.
1812 2010-04-10 Bastien Guerry <bzg@altern.org>
1814 * org-timer.el (org-timer-current-timer): Rename from
1815 `org-timer-last-timer'.
1816 (org-timer-timer1, org-timer-timer2, org-timer-timer3): Remove.
1817 (org-timer-cancel-timer, org-timer-show-remaining-time)
1818 (org-timer-set-timer): Update to use only one timer.
1820 * org.el (org-set-property): Remove useless space in the prompt.
1822 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1824 * org-html.el (org-export-html-style-default): Add a default style
1827 * org-exp.el (org-export-format-source-code-or-example): Fix
1830 2010-04-10 Bastien Guerry <bzg@altern.org>
1832 * org-clock.el (org-clock-current-task): New variable to store
1833 last clocked in task.
1834 (org-clock-set-current, org-clock-delete-current): New functions.
1836 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1838 * org-remember.el (org-remember-apply-template): Extend comment.
1839 (org-remember-handler): Implement clock sibling filing.
1841 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1843 * org-publish.el (org-publish-all, org-publish-current-file)
1844 (org-publish-current-project): When called with prefix argument
1845 FORCE, also rebuild the validation file list.
1847 * org-latex.el (org-export-latex-preprocess): Protect footnotes in
1850 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1852 * org-html.el (org-export-as-html-and-open): Kill product buffer
1853 if the user wants that.
1855 * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
1856 if the user wants that.
1858 * org-exp.el (org-export-kill-product-buffer-when-displayed): New
1861 * org-agenda.el (org-batch-agenda-csv): Use the time property
1862 instead of the `time-of-day' property.
1864 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1866 * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
1867 (org-timer-pause-hook, org-timer-set-hook)
1868 (org-timer-cancel-hook): New hooks.
1869 (org-timer-start): Run `org-timer-start-hook'.
1870 (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
1871 (org-timer-stop): Run `org-timer-stop-hook'.
1872 (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
1874 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1876 * org.el (org-reveal): Double prefix arg shows the subtree of the
1879 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1881 * org-agenda.el (org-search-view): Fix bug with searching full
1882 words in headlines in search view.
1883 (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
1884 (org-agenda-get-deadlines): Suppress pre-warning if the entry is
1885 scheduled (if the user configures it so.
1887 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1889 * org.el (org-hide-archived-subtrees): Don't jump to end of
1890 subtree if the match was not in a headline.
1891 (org-inside-latex-macro-p): Allow more complex arguments.
1892 (org-emphasize): Protect against use at end of buffer.
1894 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1896 * org-agenda.el (org-agenda-align-tags): Avoid side effects on
1899 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1901 * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
1903 (org-agenda-todo-ignore-scheduled)
1904 (org-agenda-todo-ignore-deadlines): More control with different
1906 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
1907 Honor the new option settings.
1909 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1911 * org.el (org-get-location): Make sure the selection buffer is
1912 shown in the current frame.
1914 * org-ascii.el (org-export-ascii-table-widen-columns): New
1916 (org-export-ascii-preprocess): Realign tables to remove narrowing
1917 if `org-export-ascii-table-widen-columns' is set.
1919 * org-table.el (org-table-do-narrow): New variable.
1920 (org-table-align): Narrow only if `org-table-do-narrow' is t.
1922 * org.el (org-deadline, org-schedule): Allow updating if the
1923 relevant time stamp does not have a repeater, i.e. do not require
1924 that no time stamp has a repeater.
1926 * org-agenda.el (org-agenda-align-tags): Don't add a face to the
1927 new white space before the tags.
1929 * org-latex.el (org-export-as-latex): Do nit require the buffer to
1930 be visiting a file when only exporting to a buffer or string.
1931 (org-export-latex-fix-inputenc): Only save the buffer is there is
1932 a file name attached to it.
1934 2010-04-10 Dan Davison <davison@stats.ox.ac.uk>
1936 * org-src.el (org-edit-src-exit): Widen before exiting edit buffers.
1938 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1940 * org.el (org-fontify-meta-lines-and-blocks): Honor
1941 `org-fontify-quote-and-verse-blocks'.
1943 * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
1945 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1947 * org.el (org-open-at-point): Also check for text property
1948 org-linked-text before offering collected links.
1950 2010-04-10 Stephen Eglen <stephen@gnu.org>
1952 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
1953 Optionally extract time specification from text and add to the
1956 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1958 * org-exp.el (org-html-entities): Fix typo.
1960 * org-latex.el (org-export-latex-make-header): Use \providecommand
1961 to make sure the \alert macro is defined.
1963 * org.el (org-format-latex-signal-error)
1964 (org-create-formula-image): Use `org-format-latex-signal-error'.
1966 2010-04-10 Stephen Eglen <stephen@gnu.org>
1968 * org.el (org-store-link): For dired buffers, use
1969 default-directory as link name if dired-get-filename returns
1972 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1974 * org-exp.el (org-export-concatenate-multiline-links): The for
1975 protectedness at beginning of match.
1977 * org-latex.el (org-export-latex-fix-inputenc): Never leave the
1978 AUTO as a coding system, instead default to utf8.
1980 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
1982 * org.el (org-block-todo-from-children-or-siblings-or-parent)
1983 (org-block-todo-from-checkboxes): Respect the local variable
1984 value when deciding if blocking should be active.
1986 * org-latex.el (org-export-latex-make-header): Define the align
1987 macro if it is not yet defined.
1989 * org-agenda.el (org-agenda-insert-diary-make-new-entry): Call
1990 `org-insert-heading' with the INVISIBLE-OK argument.
1992 * org-mac-message.el (org-mac-message-insert-flagged): Call
1993 `org-insert-heading' with the INVISIBLE-OK argument.
1995 * org.el (org-insert-heading): New argument INVISIBLE-OK.
1997 * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
2000 * org-html.el (org-html-level-start): Use the
2001 `html-container-class' text property to set an additional class
2002 for an outline container.
2004 * org-exp.el (org-export-remember-html-container-classes): New
2006 (org-export-preprocess-string): Call
2007 `org-export-remember-html-container-classes'.
2009 * org.el (org-cycle): Mention level cycling in the docstring.
2010 (org-default-properties): Add new property HTML_CONTAINER_CLASS.
2012 * org-remember.el (org-remember-apply-template): Do file insertion
2015 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2017 * org-habit.el (org-habit-insert-consistency-graphs): Fix a
2018 problem with mis-aligned graphs when showing habits.
2020 2010-04-10 Mikael Fornius <mfo@abc.se>
2022 * org.el (org-assign-fast-keys): Prefer keys used in keyword name
2023 when assigning. Begin using numerical characters when all in name
2024 is used up. This is to spare alphanumeric characters for better
2025 match with other keywords.
2027 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2029 * org-exp.el (org-export-preprocess-hook): Improve documentation.
2031 * org-latex.el (org-export-latex-preprocess): More consistent
2032 conversion and protection of the words LaTeX and TeX.
2033 (org-export-latex-fontify-headline, org-export-latex-preprocess):
2034 Allow angle brackets in commands, for beamer.
2036 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2038 * org-clock.el (org-clock-in): Improve the look of the clock line
2039 by formatting links.
2041 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2043 * org-latex.el (org-export-latex-classes): Use AUTO as the place
2044 holder string for the coding system. And improve the
2046 (org-export-latex-fix-inputenc): Only modify the coding system if
2047 it is given by the placeholder AUTO.
2049 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2051 * org-clock.el (org-task-overrun-text): New option.
2052 (org-task-overrun, org-clock-update-period): New variables.
2053 (org-clock-get-clock-string, org-clock-update-mode-line): Mark
2055 (org-clock-notify-once-if-expired): Check if clock is overrun.
2057 * org-faces.el: New face `org-mode-line-clock-overrun'.
2059 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
2061 * org.el (org-narrow-to-subtree): Position the end of the narrowed
2062 region before the line with the next heading, to prevent the user
2063 from prepending text to the next headline.
2065 2010-04-10 Stephen Eglen <stephen@gnu.org>
2067 * org-agenda.el (org-get-time-of-day): Use
2068 org-agenda-time-leading-zero to allow leading zero (rather than
2071 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2073 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
2074 org-datetree.el is loaded.
2076 * org-datetree.el: Autoload `org-datetree-find-day-create'.
2078 * org-latex.el (org-export-latex-hyperref-format): New option.
2079 (org-export-latex-links): Use `org-export-latex-hyperref-format'.
2081 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2083 * org-ctags.el (org-ctags-enable): Change order of functions.
2084 (org-ctags-create-tags): Add wildcard to file name expansion.
2086 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2088 * org.el (org-entry-properties): Fix some important bugs.
2090 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2092 * org.el (org-link-unescape, org-link-escape): Only use hexlify if
2093 the table is not explicitly given.
2095 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2097 * org-clock.el (org-clock-out-when-done): Allow a list of keywords
2099 (org-clock-out-if-current): Work with the new list value of
2100 `org-clock-out-when-done'.
2101 (org-clock-out, org-clock-out-if-current): Avoid circular logic
2102 between clocking out and state changes.
2104 * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
2106 * org-latex.el (org-export-latex-treat-backslash-char): Do not by
2107 accident protect a character that is before a backslash.
2109 2010-04-10 Paul Sexton <eeeickythump@gmail.com>
2111 * org-ctags.el: New file.
2113 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2115 * org-agenda.el (org-diary-class): Use
2116 `org-order-calendar-date-args'.
2118 * org.el (org-order-calendar-date-args): New function.
2120 * org-exp.el (org-export-target-internal-links): Check for
2121 protectedness after the first bracket.
2123 * org.el (org-entry-properties): Don't match wrong-case TODO
2126 * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
2127 Document that ARG is passed through to remove the date.
2128 (org-agenda-bulk-action): Accept prefix arg and pass it on. Do
2129 not read a date when the user has given a `C-u' prefix.
2131 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2133 * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
2136 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2138 * org-latex.el (org-export-latex-fix-inputenc): New function.
2139 (org-export-latex-inputenc-alist): New option.
2141 * org-exp.el (org-export): New key SPC to publish enclosing
2144 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2146 * org-indent.el (org-indent-add-properties): Catch case when there
2147 is no headline in the buffer.
2149 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2151 * org-exp.el (org-html-entities): Add checkmark symbol.
2153 * org-ascii.el (org-export-ascii-preprocess): Protect targets in
2154 verbatim code for ASCII export.
2156 * org.el (org-update-statistics-cookies): Also see checkboxes in
2159 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2161 * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
2164 * org-beamer.el (org-beamer-amend-header): Change the location
2165 where `org-beamer-header-extra' is inserted.
2167 * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
2168 just for computing this regexp.
2170 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2172 * org-beamer.el (org-beamer-frame-default-options): New option.
2173 (org-beamer-sectioning): Use default options if the user does not
2175 (org-beamer-fix-toc): Put a frame around the table of contents.
2177 * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
2178 sure case-folding works well when processing comment stuff.
2180 * org-latex.el (org-export-latex-after-save-hook): New hook.
2181 (org-export-as-latex): Run the new hook.
2183 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2185 * org-beamer.el (org-beamer-environments-default): Add the note
2187 (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
2188 lines and collect and combine the content.
2189 (org-beamer-after-initial-vars): Check for note tags and make sure
2190 they will be seen like a property.
2192 * org.el (org-offer-links-in-entry): Fix bug when there is a
2195 * org-exp.el (org-export): Make sure the mark is activated, also
2196 when `transient-mark-mode' is off.
2198 * org-agenda.el (org-agenda-search-view-always-boolean): New option.
2199 (org-agenda-search-view-search-words-only): Obsolete variable, is
2200 now an alias for `org-agenda-search-view-always-boolean'.
2201 (org-agenda-search-view-force-full-words): New option.
2202 (org-search-view): Improve docstring, and implement a better logic
2203 for Boolean and phrase searches.
2204 (org-agenda-last-search-view-search-was-boolean): New variable.
2205 (org-agenda-manipulate-query): Consider the type of the last
2206 search when modifying the search string.
2208 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2210 * org-latex.el (org-export-as-latex): Do the first letbind in the
2213 * org-agenda.el (org-get-entries-from-diary): Add the new face to
2216 * org-faces.el (org-agenda-diary): New face.
2218 * org.el (org-make-link-regexps): Allow regexp-special characters
2220 (org-open-file): When in-emacs is `system', also force system
2221 opening, like when the value was `(16)'.
2222 (org-update-statistics-cookies): Handle entries without children.
2225 (org-export-preprocess-before-normalizing-links-hook): New hook.
2226 (org-export-preprocess-string): Run the new hook.
2228 * org.el (org-offer-links-in-entry): Make RET open all links.
2230 * org-html.el (org-export-as-html): Remove any leftover display
2231 properties in the html file.
2233 * org-wl.el (org-wl-store-link): Work-around for format bug with
2236 * org-habit.el (org-habit-insert-consistency-graphs): Turn off
2237 invisibility while adding the graphs.
2239 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2241 * org-remember.el (org-select-remember-template): Use C letter to
2242 customize remember templates.
2244 * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
2245 Move cursor to next visible line.
2247 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2249 * org-beamer.el (org-beamer-sectioning): Leave columns environment
2250 by specifying 0 or 1 for column width.
2251 (org-beamer-column-widths): Make 0 stand for 0.0.
2253 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2255 * org-exp.el (org-export-mark-radio-links): Don't match inside
2258 * org.el (org-format-latex-header-extra): New variable.
2259 (org-format-latex): Set org-format-latex-header-extra from
2261 (org-format-latex): Add org-format-latex-header-extra to the
2262 variables on which image creation depends.
2263 (org-create-formula-image): Add the header stuff from in-buffer
2265 (org-read-date-analyze): Base the analysis for future preference
2266 on NOW, not on the default date.
2268 * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
2269 for TODO keyword in inline tasks.
2271 * org.el (org-log-note-headings): New headings for removing
2272 deadline or scheduling date.
2273 (org-deadline, org-schedule): Arrange for logging when removing a
2275 (org-add-log-note): Handle deadline and scheduling removal.
2277 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2279 * org-exp.el (org-export-visible): Add LaTeX/pdf export.
2281 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2283 * org-agenda.el (org-diary-class): New function.
2285 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2287 * org-latex.el (org-export-latex-preprocess): Do process the text
2290 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2292 * org.el (org-entry-properties): Add TIMESTAMP properties back
2295 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2297 * org.el (org-all-time-keywords): New variable.
2298 (org-set-regexps-and-options): Set `org-all-time-keywords'.
2299 (org-entry-blocked-p): New function.
2300 (org-special-properties): Add BLOCKED as a new special property.
2301 (org-entry-properties): New optional argument SPECIFIC, only parse
2302 for this property when it is specified.
2303 (org-entry-get): Pass a SPECIFIC argument to
2304 `org-entry-properties'.
2306 * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
2308 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2310 * org-latex.el (org-export-latex-tables): No forced line end if
2311 there is no caption.
2313 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2315 * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
2318 * org-latex.el (org-export-latex-tables): Only add a caption when
2319 macro in in longtable environments if one has been defined.
2321 * org-html.el (org-export-as-html): Only take title from buffer if
2322 not exporting body-only.
2324 * org-latex.el (org-export-latex-preprocess): Better version of
2325 the regular expression for protecting LaTeX macros.
2326 (org-export-latex-preprocess): Start searching for macros to
2327 protect from beginning of buffer.
2329 * org-exp.el (org-export-target-internal-links): Check for
2330 protectedness earlier in the string.
2332 * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
2335 * org-id.el (org-id-store-link): Match TODO keywords case
2338 * org.el (org-heading-components, org-get-outline-path)
2339 (org-display-outline-path): Match TODO keywords case sensitively.
2341 * org-latex.el (org-export-as-latex): Ignore read-only
2344 * org-exp.el (org-export-preprocess-string): Remove any
2345 `read-only' properties.
2347 * org-agenda.el (org-agenda-inactive-leader): New option.
2348 (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
2349 (org-tags-view): Prompt for matcher if MATCH is an empty string.
2350 (org-todo-list): Prompt for matcher if ARG is an empty string.
2352 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2354 * org.el (org-open-link-functions): New hook.
2355 (org-open-at-point): Run `org-open-link-functions'.
2357 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2359 * org-agenda.el (org-agenda-date-prompt): Allow inactive time
2362 * org.el (org-inhibit-startup-visibility-stuff): New variable.
2363 (org-mode): Don't do startup visibility if inhibited.
2364 (org-outline-overlay-data, org-set-outline-overlay-data): New
2366 (org-save-outline-visibility): New macro.
2367 (org-log-note-headings): Document that one should not change the
2368 `state' note format.
2370 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2372 * org.el (org-make-link-regexps): Capture link path into a group.
2374 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2376 * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
2379 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2381 * org.el (org-startup-with-beamer-mode): New option.
2382 (org-property-changed-functions)
2383 (org-property-allowed-value-functions): New hooks.
2384 (org-entry-put, org-property-get-allowed-values): Run the new
2386 (org-property-next-allowed-value): Run the new hooks.
2388 * org-exp.el (org-export-select-backend-specific-text): Add the
2389 special beamer tags.
2391 * org-beamer.el: New file.
2393 * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
2394 (org-export-as-latex): Run
2395 `org-export-latex-after-initial-vars-hook'.
2396 (org-export-latex-format-toc-function)
2397 (org-export-latex-make-header): Call
2398 `org-export-latex-format-toc-function'.
2400 * org.el (org-fill-template): Make template searches case sensitive.
2402 * org-exp.el (org-export): Use "1" as a sign to export only the
2405 * org-colview-xemacs.el (org-columns-edit-value): Use
2406 org-unrestricted property.
2408 * org-colview.el (org-columns-edit-value): Use
2409 org-unrestricted property.
2411 * org.el (org-compute-property-at-point): Set org-unrestricted
2412 text property if the list contains ":ETC".
2413 (org-insert-property-drawer): Use
2414 org-unrestricted property.
2417 (org-export-preprocess-before-selecting-backend-code-hook): New hook.
2418 (org-export-preprocess-string): Run
2419 `org-export-preprocess-before-selecting-backend-code-hook'.
2421 * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
2423 * org-latex.el (org-export-region-as-latex): Run
2424 `org-export-first-hook'.
2426 * org-html.el (org-export-as-html): Run `org-export-first-hook'.
2428 * org-docbook.el (org-export-as-docbook): Run
2429 `org-export-first-hook'.
2431 * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
2433 * org-exp.el (org-export-first-hook): New hook.
2435 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2437 * org-list.el (org-previous-item): Exit at the beginning of the
2440 * org-id.el (org-id-locations-save): Only write the id locations
2443 * org-archive.el (org-archive-all-done): Make this work in a file
2444 with org-odd-levels-only set.
2446 * org.el (org-get-refile-targets): Catch the case when a buffer
2449 * org-latex.el (org-export-as-latex): Cleanup forced line ends
2450 where they are not needed.
2451 (org-export-latex-subcontent): Remove unnecessary newlines.
2453 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2455 * org-latex.el (org-export-latex-make-header): Remove \obeylines.
2456 (org-export-latex-fontify): Fix regexp bug that takes special
2457 care of protecting the right boundary characters in emphasis
2459 (org-export-latex-preprocess): Allow multiple arguments to latex
2462 * org.el (org-make-link-regexps): Use John Gruber's regexp for
2465 * org-macs.el (org-re): Interpret :punct: in regexps.
2467 * org-exp.el (org-export-replace-src-segments-and-examples): Also
2468 take the final newline after the END line.
2470 * org.el (org-clean-visibility-after-subtree-move): Only fix
2471 entries that are not entirely invisible already.
2472 (org-insert-link): Respect org-link-file-path-type for
2473 "docview:" links in addition to "file:" links.
2475 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2477 * org-exp.el (org-export-format-source-code-or-example): Avoid
2478 additional extra white lines in LaTeX.
2480 * org-list.el (org-list-parse-list): Leave empty lines after the
2481 list, don't consider them as part of the list.
2483 * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
2486 * org-clock.el (org-clock-select-task): Convert integer to
2487 character for XEmacs.
2489 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2491 * org-clock.el (org-clock-resolve): Make reading a char XEmacs
2494 2010-04-10 Tassilo Horn <tassilo@member.fsf.org>
2496 * org.el (org-complete-tags-always-offer-all-agenda-tags): New
2498 (org-set-tags): Use it.
2500 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2502 * org-list.el (org-empty-line-terminates-plain-lists): Update
2505 * org.el (org-format-latex): Fix link creation for processed latex
2508 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2510 * org-footnote.el (org-footnote-normalize): Protect replacement
2513 * org.el (org-inside-latex-macro-p): Save match data.
2515 2010-04-10 Jan Böcker <jan.boecker@jboecker.de>
2517 * org-docview.el: New file.
2519 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2521 * org-latex.el (org-export-latex-class-options): New variable.
2522 (org-export-latex-set-initial-vars): Use the class options.
2524 * org.el (org-forward-same-level): Stop at headings that start
2525 with an invisible character.
2526 (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
2528 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2530 * org-footnote.el (org-footnote-normalize): Don't take optional
2531 arguments in LaTeX macros as footnotes.
2533 * org.el (org-inside-latex-macro-p): New function.
2535 * org-latex.el (org-latex-to-pdf-process): Change customization
2536 group to `org-export-pdf'.
2538 * org-agenda.el (org-agenda-get-blocks): Look at time string also
2539 on days after the first one.
2541 * org.el (org-insert-heading): Also check for item before assuming
2542 before-first-heading condition.
2544 * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
2545 (org-export-pdf-logfiles): New option.
2546 (org-export-as-pdf): Use `org-export-pdf-logfiles'.
2547 (org-export-pdf-logfiles): Fix customization type.
2549 * org.el (org-insert-link): Improve error message when there is no
2550 default link to select with RET.
2552 * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
2555 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2557 * org-latex.el (org-export-latex-parse-global)
2558 (org-export-latex-parse-content)
2559 (org-export-latex-parse-subcontent): Use
2560 `org-re-search-forward-unprotected'.
2561 (org-export-as-pdf): Remove log files produced by XeTeX.
2563 * org-macs.el (org-re-search-forward-unprotected): New function.
2565 2010-04-10 James TD Smith <ahktenzero@mohorovi.cc>
2567 * org-colview.el (org-agenda-colview-summarize): Sort out some
2568 confusion between properties and titles, which resulted in
2569 agenda summaries not working if a title was set for a column.
2571 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2573 * org-mobile.el (org-mobile-agendas): New option.
2574 (org-mobile-sumo-agenda-command): Select the right agendas.
2576 * org-latex.el (org-export-latex-format-image): Preserve the
2577 original-indentation property.
2579 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2581 * org-clock.el (org-clock-insert-selection-line): Catch error when
2582 an old tasks no longer exists.
2584 * org-latex.el (org-export-as-pdf): Remove also the .idx file.
2585 (org-export-as-pdf): Don't remove the old PDF file before making
2588 * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
2589 (org-mouse-context-menu): Use `org-looking-back'.
2591 * org.el (org-cycle-level): Use `org-looking-back'.
2593 * org-list.el (org-cycle-item-indentation): Use
2596 * org-compat.el (org-looking-back): New function.
2598 * org.el (org-insert-heading): Catch before-first-headline when
2599 inserting a headline.
2601 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2603 * org-latex.el (org-export-latex-format-image): Indent figure
2604 environment, so that it does not interrupt plain list.
2606 * org.el (org-open-at-point): Allow long link descriptions.
2608 2010-04-10 Carsten Dominik <carsten.dominik@gmail.com>
2610 * org-html.el (org-export-as-html): Remove empty lines at the
2611 beginning of the exported text.
2613 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
2615 * org.el (org): Remove from hypermedia group.
2617 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
2621 2010-02-15 Chong Yidong <cyd@stupidchicken.com>
2623 * org-freemind.el (org-freemind-from-org-mode-node)
2624 (org-freemind-from-org-mode)
2625 (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
2626 Pass arg to called-interactively-p.
2628 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
2630 * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten):
2631 Fix typos in docstrings.
2633 2010-01-01 Juanma Barranquero <lekktu@gmail.com>
2635 * org.el (org-get-outline-path, org-speed-command-help):
2636 Fix typos in error messages.
2638 2009-12-14 Juri Linkov <juri@jurta.org>
2640 * org-html.el (org-export-html-style-include-default):
2641 Put `safe-local-variable booleanp' on
2642 `org-export-html-style-include-default' instead of mistakenly
2643 duplicate `org-export-html-style'.
2645 2009-11-20 Carsten Dominik <carsten.dominik@gmail.com>
2647 * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
2648 agenda after adding new entry.
2650 * org-datetree.el (org-datetree-find-day-create): Fix regular
2653 * org.el (org-display-outline-path): Use a format specifier for
2654 message, to avoid problems with heading containing `%'.
2656 * org-agenda.el (org-agenda-hide-tags-regexp): New option.
2657 (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
2658 (org-agenda-fix-displayed-tags): New function.
2659 (org-agenda-do-context-action): Just call
2660 `org-display-outline-path', without piping the result through
2663 * org-latex.el (org-export-latex-preprocess): Protect secondary
2664 footnote references.
2666 * org-indent.el (org-indent-initialize): Avoid empty strings as
2669 * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
2670 hat checking for the mark does not throw an error.
2671 (org-agenda-diary-entry-in-org-file): Catch the case that there is
2672 not `day' text property in the cursor line.
2674 * org.el (org-sort-entries-or-items): Make sure that the final
2675 entry has a newline before doing the sorting.
2677 * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
2678 property at the beginning of the line.
2680 * org.el (org-make-link-string): Don't allow a description with
2683 * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
2684 (org-agenda-insert-diary-as-top-level): New function.
2685 (org-agenda-add-entry-to-org-agenda-diary-file): Call
2686 `org-agenda-insert-diary-as-top-level'.
2688 * org.el (org-occur-in-agenda-files): Make sure none of the
2689 buffers is narrowed.
2690 (org-activate-plain-links): Add the face property here.
2691 (org-set-font-lock-defaults): Do not add the face to plain links,
2692 the activator function does this.
2694 * org-habit.el (org-is-habit-p): Add doc string.
2696 * org-archive.el (org-archive-subtree-default-with-confirmation):
2699 * org-latex.el (org-export-latex-fontify): Fix regexp to make char
2700 after match optional (happens at the end of a line...).
2702 * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
2705 * org-faces.el (org-copy-face): Set lisp indentation.
2706 (org-quote, org-verse): New faces.
2708 * org-agenda.el (org-agenda-remove-date): Remove variable.
2710 * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
2712 * org-html.el (org-export-as-html): Move the home/up link into
2715 * org.el (org-export-latex-packages-alist): Option definition
2716 moved here from org-latex.el.
2718 * org-html.el (org-export-html-home/up-format): Add an ID to the
2721 * org-wl.el (org-wl-store-link): Handle the case that
2722 `wl-use-petname' is set.
2724 * org.el (org-set-effort): Improve prompt.
2725 (org-get-outline-path): Widen to get full path.
2726 (org-compact-display-after-subtree-move): Function removed.
2728 2009-11-20 Eric Schulte <schulte.eric@gmail.com>
2730 * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
2731 hash keys to cache and re-use images generated by the
2732 org-exp-blocks interface to ditaa and dot.
2734 * org.el (org-format-latex): Latex images are now saved to files
2735 named by the sha1 hash of the latex source text avoiding
2736 regeneration of identical images.
2738 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
2740 * org-latex.el (org-export-as-latex): Add the :drawers property.
2742 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
2744 * org.el (org-speed-commands-user): Allow documentation headlines.
2745 (org-speed-commands-default): Organize the value of this constant
2746 with descriptive headlines.
2747 (org-print-speed-command): Output the headlines.
2749 2009-11-15 Carsten Dominik <carsten.dominik@gmail.com>
2751 * org-agenda.el (org-agenda-show-outline-path): New option.
2752 (org-agenda-do-context-action): New function.
2753 (org-agenda-next-line, org-agenda-previous-line): Use
2754 `org-agenda-do-context-action'.
2756 * org.el (org-use-speed-commands): Allow function value.
2757 (org-speed-commands-default): Make headline motion safe, so that
2758 these commands always end on a headline.
2759 (org-speed-commands-default): New key `v' for `org-agenda'.
2760 (org-speed-move-safe): New function.
2761 (org-self-insert-command): Use the function value of
2762 `org-use-speed-commands'.
2763 (org-get-outline-path): Improve docstring.
2764 (org-format-outline-path): New function.
2765 (org-display-outline-path): New function.
2767 2009-11-15 John Wiegley <jwiegley@gmail.com>
2769 * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
2770 a string, use that to find the LOGBOOK drawer.
2772 2009-11-15 Glenn Morris <rgm@gnu.org>
2774 * org-agenda.el (org-datetree-find-date-create)
2775 (org-habit-get-priority):
2776 * org.el (org-format-agenda-item): Fix declarations.
2778 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2780 * org.el (org-clone-subtree-with-time-shift): Make it work at the
2783 * org-mobile.el (org-mobile-write-checksums): Specify coding
2785 (org-mobile-timestamp-buffer): Keep local variable/mode line at
2786 beginning of buffer.
2788 * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
2790 * org.el (org-block-todo-from-children-or-siblings-or-parent)
2791 (org-block-todo-from-checkboxes): Do not block changes to a nil
2794 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
2796 * org-habit.el (org-habit-parse-todo): Indicate which habit is
2797 wrongly set up in the error messages.
2799 * org-colview.el (org-columns-display-here): Don't try to
2800 calculate values if the underlying property is not set.
2801 (org-columns-string-to-number): Convert age strings back into
2803 (org-agenda-colview-summarize): Handle extended summary types
2806 * org-colview-xemacs.el (org-columns-display-here): Don't try to
2807 calculate values if the underlying property is not set.
2808 (org-columns-string-to-number): Convert age strings back into
2810 (org-agenda-colview-summarize): Handle extended summary types
2813 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2815 * org-exp.el (org-export-format-drawer-function): New variable.
2816 (org-export-format-drawer): New function.
2817 (org-export-preprocess-string): Pass the backend as a parameter to
2818 `org-export-remove-or-extract-drawers'.
2819 (org-export-remove-or-extract-drawers): New parameter BACKEND.
2821 * org-protocol.el (org-protocol-char-to-string): New defsubst.
2823 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2825 * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
2826 message when no block is selected.
2828 * org-latex.el (org-export-latex-links): Check for protectedness
2829 in the last matched character, not after the match.
2831 * org-datetree.el (org-datetree-find-date-create): Respect
2832 restriction when KEEP-RESTRICTION is set.
2833 (org-datetree-file-entry-under): New function.
2834 (org-datetree-cleanup): New command.
2836 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
2838 * org-src.el (org-edit-src-code): New optional argument context
2839 allows calling functions to avoid altering the saved window
2841 (org-edit-src-exit): Do not restore window configuration when this
2842 function is used in the context of saving the edit buffer.
2844 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2846 * org-clock.el (org-clock-out, org-clock-cancel): Revert to
2847 instances to switching to with-current-buffer, because these seem
2848 to cause problems - no idea why.
2850 * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
2851 Require diary-lib for (diary-date-display-form).
2853 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2855 * org.el (org-log-reschedule, org-log-redeadline): New options.
2856 (org-log-note-headings): Add templates for rescheduling and
2858 (org-startup-options): Add in-buffer settings for logging changing
2859 schedule and deadline time stamps.
2860 (org-deadline, org-schedule): Check for existing date and arrange
2861 for logging if the user requests it.
2862 (org-add-log-note): Prepare proper note buffers for rescheduling
2863 and deadline changes.
2865 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2867 * org-agenda.el (org-agenda-diary-entry-in-org-file)
2868 (org-agenda-add-entry-to-org-agenda-diary-file)
2869 (org-agenda-insert-diary-make-new-entry): New functions.
2870 (org-agenda-diary-entry): Call
2871 `org-agenda-diary-entry-in-org-file' when appropriate.
2873 * org.el (org-calendar-insert-diary-entry-key): New option.
2874 (org-agenda-diary-file): New option.
2875 ("calendar"): Install our insertion function in the calendar.
2877 * org-remember.el (org-datetree): Require.
2878 (org-remember-templates): Add new positioning option.
2879 (org-remember-reference-date): New variable.
2880 (org-remember-apply-template): Store the reference date in a local
2882 (org-remember-handler): Implement date tree positioning of entries.
2884 * org-datetree.el: New file.
2886 * org-latex.el (org-export-latex-preprocess): Protect targets in
2889 * org-html.el (org-export-as-html): Protect targets in verbatim
2892 * org-docbook.el (org-export-as-docbook): Protect targets in
2895 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2897 * org-clock.el (org-show-notification): Handle messages that
2898 contain a percent character.
2900 * org-remember.el (org-remember-apply-template): Turn of partial
2903 * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
2904 (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
2906 * org.el (org-indent-mode): Define variable already in org.el.
2907 (org-unfontify-region): Remove line-prefix and wrap-prefix
2908 properties only if org-indent-mode is active.
2910 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2912 * org-icalendar.el (org-print-icalendar-entries): Save match data
2913 around call to verify function.
2914 (org-print-icalendar-entries): Add a call to the verification
2917 * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
2918 save-restrivtion' form.
2920 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
2922 * org-exp.el (org-export-format-source-code-or-example): Restrict
2923 scope of preserve-indentp to the let binding.
2924 (org-src): Require org-src, since org-src-preserve-indentation is used.
2926 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2928 * org-timer.el (org-timer-set-timer): Set variables
2929 org-timer-timer[123] correctly.
2931 * org-mobile.el (org-mobile-files-alist): Make it work when
2932 `agenda-archives' is included in
2933 `org-agenda-text-search-extra-files'.
2934 (org-mobile-push): Restore agenda after mobile push.
2936 2009-11-13 John Wiegley <jwiegley@gmail.com>
2938 * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
2939 way the amount of idle time is presented in the minibuffer.
2941 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2943 * org-icalendar.el (org-print-icalendar-entries): Use
2944 org-icalendar-verify-function only if non-nil.
2946 * org.el (org-refile): Refile to clock only if the prefix arg is
2948 (org-sparse-tree): Fix docstring to be in line with prompt.
2949 (org-update-parent-todo-statistics): Call
2950 `org-after-todo-statistics-hook' on each level.
2952 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2954 * org-remember.el (org-remember-apply-template): Make sure the
2957 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2959 * org.el (org-tab-ind-state): New variable.
2960 (org-cycle-level): New function.
2961 (org-cycle-level-after-item/entry-creation): New option.
2962 (org-flag-subtree): New function.
2963 (org-hide-archived-subtrees): Call `org-flag-subtree'.
2964 (org-set-effort): Indexed access.
2966 * org-list.el (org-cycle-item-indentation): New function.
2968 * org.el (org-refile): Make prefix argument 2 refile to current
2970 (org-priority): Interpret action `remove' as call to remove the
2973 * org-remember.el (org-remember-apply-template): Don't depend on
2974 buffer name being like file name.
2976 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
2978 * org-clock.el (org-clock-play-sound): Expand file in
2979 org-clock-sound, to allow ~ for home.
2981 * org-remember.el (org-remember-handler): Set
2982 text-before-node-creation even if this already looks like a node,
2983 because the string might be needed on non-org-mode target files.
2985 * org-agenda.el (org-agenda-open-link): Make this work in agenda
2987 (org-agenda-switch-to): Follow a link at point if
2988 org-return-follows-link' is set and there is nothing else to do in
2991 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
2993 * org-colview-xemacs.el: Add in changes from org-colview.el.
2995 2009-11-13 Dan Davison <davison@stats.ox.ac.uk>
2997 * org-exp-blocks.el: Modify split separator regexp to avoid empty
3000 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
3002 * org-colview.el (org-columns-new): Make this work with the new
3004 (org-columns-store-format): Make this work with the new operators.
3006 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3008 * org-src.el (org-src-preserve-indentation): Document that this
3009 variable is also used during export.
3011 * org-exp.el (org-export-format-source-code-or-example): Preserve
3012 indentation if a block has a -i option, or if
3013 `org-src-preserve-indentation' is set.
3015 * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
3016 indentation if a block has a -i option, or if
3017 `org-src-preserve-indentation' is set.
3019 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3021 * org.el (org-mode-map): Define the new archiving keys.
3022 (org-speed-commands-default): Define an archiving key in the speed
3024 (org-org-menu): Improve the menu structure concerning archiving.
3026 * org-archive.el (org-archive-subtree-default-with-confirmation):
3029 * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
3030 (org-agenda-menu): Add the new archiving commands to the menu.
3031 (org-agenda-archive-default)
3032 (org-agenda-archive-default-with-confirmation): New commands.
3033 (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
3034 call `org-agenda-archive-with'.
3035 (org-agenda-archive-with): New function.
3037 * org-table.el (org-table-convert-region): Inert spaces around "|"
3038 to avoid line beginnings like "|-1" which will be mistaken as
3041 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3043 * org.el (org-offer-links-in-entry): Return nil if there are no
3044 links, t if a link has been selected.
3045 (org-open-at-point): Open attachment directory when called in the
3046 headline and there are no links in the entry body.
3047 (org-speed-commands-default): Add "o" for open-at-point as a speed
3050 * org-attach.el (org-attach-reveal): Optional prefix arg
3051 IF-EXISTS, which avoids creating the attachment directory if it
3054 * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
3057 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3059 * org.el ("abbrev"): Work with abbrev tables only after they have
3062 * org-list.el (org-list-send-list): Fix bug related to match
3065 * org-latex.el (org-export-latex-fontify): Apply verbatim
3067 (org-export-latex-make-header): Insert \obeylines if line breaks
3068 should be preserved.
3070 * org-exp.el (org-export-protect-verbatim): Add an
3071 `org-verbatim-emph' property to such text.
3073 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3075 * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
3076 (org-print-icalendar-entries): Skip entries where the timestamp is
3077 not a deadline and not scheduled, if the user requests that.
3079 * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
3080 before an opening quote.
3082 * org-archive.el (org-archive-subtree): Keep archive after
3083 archiving something.
3085 * org-id.el (org-id-update-id-locations): Add archive files if
3086 that is required by `org-id-extra-files'.
3088 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3090 * org-src.el (org-src-window-setup): New option.
3091 (org-src-switch-to-buffer): New function.
3092 (org-edit-src-exit): Add optional argument CONTEXT and use it to
3093 restore window configuration.
3094 (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
3095 Call `org-src-switch-to-buffer'.
3097 * org.el (org-default-properties): Add STYLE property.
3098 (org-files-list): Use the function call to get the files.
3099 (org-additional-option-like-keywords): Add SETUPFILE to completion
3102 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3104 * org-table.el (org-table-convert-region): Correctly interpret
3105 quoting in csv import.
3107 * org.el (org-icompleting-read): Make iswitchb completion work
3108 with lists and tables.
3110 * org-agenda.el (org-agenda-add-entry-text): Never add entry text
3111 while pushing the mobile agenda.
3113 2009-11-13 John Wiegley <jwiegley@gmail.com>
3116 (org-clock-auto-clock-resolution): Now takes three values: nil, t
3117 and `when-no-clock-is-running'.
3118 (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
3119 whether or not to resolve Org buffers on clock in.
3121 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
3123 * org-colview.el (org-format-time-period): Function to format
3124 times in fractional days for display.
3125 (org-columns-display-here): Add support for showing a calculated
3126 value in place of the property.
3127 (org-columns): Set `org-columns-time' to the current time so time
3128 difference calculations will work.
3129 (org-columns-time): Use to store the current time when column view
3130 is displayed, so all time differences will use the same reference
3132 (org-columns-compile-map): There is now an extra position in each
3133 entry specifying the function to use to calculate the displayed
3134 value for the non-calculated properties in the column.
3135 (org-columns-compute-all): Set `org-columns-time' to the current
3136 time so time difference calculations will work.
3137 (org-columns-compute): Handle column operators where the values
3138 used are calculated from the underlying property.
3139 (org-columns-number-to-string): Handle the 'age' column format.
3140 (org-columns-string-to-number): Correct the function name (was
3141 org-column...). Add support for the 'age' column format.
3142 (org-columns-compile-format): Support the additional parameter in
3143 org-columns-compile-map.
3145 2009-11-13 Bastien Guerry <bzg@altern.org>
3147 * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
3150 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3152 * org-clock.el (org-clock-has-been-used): New variable.
3153 (org-clock-in): Set `org-clock-has-been-used'.
3154 (org-clock-save): Save only if clock data has been used or created
3155 during this session.
3157 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3159 * org-clock.el (org-clock-persist): New value, to store only the
3161 (org-clock-save): Don't save the clock if only the history should
3163 (org-clock-load): Turn off John Wiegley's auto resolving mechanism
3164 when restoring a saved clock.
3166 2009-11-13 John Wiegley <jwiegley@gmail.com>
3168 * org-clock.el (org-clock-display, org-clock-put-overlay): Use
3169 `org-time-clock-use-fractional'.
3171 * org.el (org-time-clocksum-use-fractional)
3172 (org-time-clocksum-fractional-format): Two new customizable
3173 variables which allow the user to select fractional times (1.25
3174 instead of 1:25) in the `org-clock-display' report.
3176 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3178 * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
3181 * org.el (org-tag-alist): Fix customization type.
3183 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3185 * org-mobile.el (org-mobile-update-checksum-for-capture-file):
3186 Make sure the regexp search can fail without throwing an error.
3187 (org-mobile-apply): Save the inbox buffer after removing
3188 successfully applied changes.
3190 2009-11-13 John Wiegley <jwiegley@gmail.com>
3192 * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
3193 time is reported after the user comes back (but before they
3196 * org.el (org-get-repeat): Change so that this function can be
3197 called with either `org-scheduled-string' or
3198 `org-deadline-string'.
3200 * org-clock.el (org-clock-auto-clock-resolution): Rename from
3201 `org-clock-disable-clock-resolution', since negatives don't sound
3202 good in customization variables.
3203 (org-clock-in): Don't use the auto-resolution logic if the user is
3204 clocking into a different task while an active clock is running.
3205 This then allows the default behavior of clocking out of the open
3206 task and then into the new task.
3208 * org.el (org-modules): Made this variable more consistent, since
3209 it was referring to Org, OrgMode and Org-mode, whereas the docs
3210 for the variable always refer to Org-mode.
3212 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
3214 * org.el (org-repeat-re): The changed org-repeat-re no longer
3215 matched simple +2d type repeaters. Fix it so it does.
3217 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3219 * org-latex.el (org-export-latex-preprocess): Protect the vspace
3220 macro in the VERSE environment.
3222 2009-11-13 John Wiegley <jwiegley@gmail.com>
3224 * org-habit.el (org-habit-get-priority): A new function that
3225 determines the relative priority of a habit, based on how long
3226 past its scheduled date it is, and how near the deadline is.
3228 * org-agenda.el (org-agenda-get-scheduled): Set habit priority
3229 using `org-habit-get-priority'.
3231 * org-habit.el (org-habit-build-graph): Start displaying colors
3232 from the first scheduled date, if that date is earlier than the
3233 first completion date.
3235 * org-habit.el: Changed all "color" variables to faces, and made
3236 them appropriate for light and dark backgrounds.
3238 * org-habit.el (org-habit-duration-to-days): Made this function
3240 (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
3242 * org-agenda.el (org-agenda-get-deadlines): Remove all mention of
3243 habits, since they don't use DEADLINE anymore.
3245 * org.el (org-repeat-re, org-display-custom-time)
3246 (org-timestamp-change): Extend to support the new ".+N/N"
3247 syntax, used for habits.
3249 * org-clock.el (org-clock-resolve-clock): Fix an incorrect
3252 * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
3253 modeline when habits are being displayed (if that module is being
3256 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
3258 * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
3259 idle time using the xscreensaver extension.
3260 (org-user-idle-seconds): Use X11 idle time if available.
3262 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3264 * org-agenda.el (org-agenda-next-line): New command.
3265 (org-agenda-previous-line): New commands.
3266 (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
3268 (org-agenda-follow-mode): Do the follow immediately if the mode is
3270 (previous-line, next-line): Replace keys with the corresponding
3272 (org-agenda-mode-map): Bind backspace and delete to the scrolling
3275 * org.el (org-icompleting-read): Turn off partial completion mode
3276 for the duration of this completion round.
3278 * org-latex.el (org-export-latex-fontify-headline): Protect TeX
3279 macros in author lines and similar stuff.
3281 * org.el (org-file-tags): Fix docstring.
3282 (org-get-buffer-tags): Add the #+FILETAGS tags.
3283 ("ecb"): Make ecb show context after jumping into an Org file.
3285 2009-11-13 John Wiegley <johnw@newartisans.com>
3287 * org-agenda.el (org-finalize-agenda): Draw habit consistency
3288 graphs after everything else in the buffer has been setup.
3290 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3292 * org-mobile.el (org-mobile-apply): Count success and failure.
3294 * org.el (org-indent-line-function): Fix regexp replace problem.
3296 2009-11-13 John Wiegley <johnw@newartisans.com>
3298 * org-clock.el (org-clock-disable-clock-resolution): New
3299 customization variable that disable automatic clock resolution on
3301 (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
3302 not automatically resolve anything. This is does not affect
3303 idle-time resolution, however, if `org-clock-idle-time' is set.
3305 2009-11-13 John Wiegley <johnw@newartisans.com>
3307 * org-habit.el: New file, which implements code to build a "habit
3310 * org-agenda.el (org-agenda-get-deadlines)
3311 (org-agenda-get-scheduled): Display consistency graphs when
3312 outputting habits into the agenda. The graphs are always relative
3313 to the current time.
3314 (org-format-agenda-item): Add new parameter `habitp', which
3315 indicates whether we are formatting a habit or not. Do not
3316 display "extra" leading information if habitp is true.
3318 * org.el (org-repeat-re): Improve regexp to include .+ and ++
3319 leaders for repeat strings.
3320 (org-get-repeat): Now takes a string parameter `tagline', so the
3321 caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
3323 2009-11-13 John Wiegley <johnw@newartisans.com>
3325 * org-agenda.el (org-agenda-auto-exclude-function): New
3326 customization variable for allowing the user to create an "auto
3327 exclusion" filter for doing context-aware auto tag filtering.
3328 (org-agenda-filter-by-tag): Changes to support the use of
3329 `org-agenda-auto-exclude-function'. See the new manual addition,.
3331 2009-11-13 John Wiegley <johnw@newartisans.com>
3333 * org.el (org-files-list): Don't attempt to return a file name for
3334 Org buffers which have no associated file.
3336 * org-agenda.el (org-agenda-do-action): Fix a typo.
3338 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3340 * org-mobile.el (org-mobile-locate-entry): Interpret files
3341 relative to org-directory.
3342 (org-mobile-inbox-for-pull): Document the best location for this
3344 (org-mobile-check-setup): Verify `org-directory'.
3345 (org-mobile-create-index-file): Sort the files to be listed in
3348 2009-11-13 James TD Smith <ahktenzero@mohorovi.cc>
3350 * org.el (org-fast-tag-selection): Add a way to display a
3351 description for a tag group. This is done by adding a string to
3352 either the startgroup or endgroup cell.
3354 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3356 * org-clock.el (org-clock-resolve, org-resolve-clocks)
3357 (org-emacs-idle-seconds): Use `org-float-time' instead of
3360 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3362 * org-agenda.el (org-agenda-sorting-strategy): Fix customization
3365 * org.el (org-pre-cycle-hook): Document that `empty' can also be
3366 the value of ARG when doing local cycling.
3368 2009-11-13 John Wiegley <johnw@newartisans.com>
3370 * org-clock.el (org-clock-resolve-clock): If keeping or
3371 subtracting time results in a clock out at a time in the past, and
3372 if the resolution occurred due to idleness or invoking `M-x
3373 org-resolve-clocks', remember that past moment in time. On the
3374 next clock in, the user will be prompted to see if they want to
3375 back-date their new clock to then.
3376 (org-clock-resolve): Do not jump the user to the location of a
3377 dangling clock if the resolution is occurring due to an idle
3378 timeout. In that case there is typically only one dangling clock,
3379 the active one, and there is no value gained by shuffling their
3380 windows around to show it to them. Being prompted to resolve an
3381 idle clock should be as inobtrusive as possible.
3382 (org-resolve-clocks-if-idle): New function that resolves only the
3383 currently active clock if the user has exceeded the time returned
3384 by `org-user-idle-seconds', based on the value of
3385 `org-clock-idle-time'.
3386 (org-clock-in): If, after resolving clocks, (???)
3387 (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
3389 * org-clock.el (org-clock-resolve-clock): New function that
3390 resolves a clock to a specific time, closing or resuming as need
3391 be, and possibly even starting a new clock.
3392 (org-clock-resolve): New function used by `org-resolve-clocks'
3393 that sets up for the call to `org-clock-resolve-clock'. It
3394 determines the time to resolve to based on a single-character
3395 selection from the user to either keep time, subtract away time or
3397 (org-resolve-clocks): New user command which resolves dangling
3398 clocks -- that is, open but not active -- anywhere in the file
3399 list returned by `org-files-list'.
3400 (org-clock-in): Automatically resolve dangling clocks whenever a
3402 (org-clock-cancel): If the user cancels the solely clock in a
3403 LOGBOOK, remove the empty drawer.
3405 * org-clock.el (org-clock-idle-time): New user customizable option
3406 for detecting whether the user has left a clock idle. Note: it is
3407 only used in this commit to test whether it's worthwhile to check
3408 OS X to get the Mac user's current idle time. If the Emacs idle
3409 time is less than the value, the user hasn't been away long enough
3410 to be worth checking (a more expensive test than just getting
3412 (org-user-idle-seconds, org-mac-idle-seconds)
3413 (org-emacs-idle-seconds): This three functions, in conjunction
3414 with the user customization variable `org-clock-idle-time', return
3415 the number of seconds (as a floating point) that the user has been
3416 away from their Emacs (or, if running on OS X, their computer).
3418 * org-clock.el (org-find-open-clocks): New function that returns a
3419 list of all open clocks in the given FILE. Note that each clock
3420 it returns is a cons cell of the format (MARKER . START-TIME).
3421 This "clock" value is used by several of the new clock module
3423 (org-is-active-clock): New inline function which tests whether the
3424 given clock value is the same as the currently active clock.
3425 Returns non-nil if this is the case.
3426 (org-with-clock-position): New macro that evaluates FORMS with
3427 point in the buffer and at the position of the given clock.
3428 Changes to the current clock are global.
3429 (org-with-clock): New macro that evaluates FORMS with point in the
3430 buffer and at the position of the given clock. However, changes
3431 to the current clock are local and have no effect on the user's
3432 active clock. This allows, for example, far any clock to be
3433 cancelled without cancelling the active clock.
3434 (org-clock-clock-in): New inline function that switches the active
3435 clock to the given clock. If either the argument RESUME, or the
3436 global `org-clock-in-resume', are non-nil, it will resume a clock
3437 that was previously left open.
3438 (org-clock-clock-out): New inline function that clocks out the
3439 given clock value without affecting the currently active clock.
3440 (org-clock-clock-cancel): New inline function that cancels the
3441 given clock value without affecting the currently active clock.
3443 * org-clock.el (org-clock-in): Before creating
3444 `org-clock-mode-line-timer', check to make sure an older timer is
3445 not currently running.
3446 (org-clock-out): Accept new third parameter `at-time', which
3447 permits a clock to be clocked out at a specific time. Note that
3448 no attempt is made to verify that the clock out time is later than
3451 * org.el (org-files-list): New utility function for returning a
3452 list of all open org-mode buffers, plus all files used to build
3453 the agenda buffer. Note that not all the files will necessarily
3454 be visited by a buffer at time of call.
3455 (org-entry-beginning-position): Like the function
3456 `line-beginning-position', this inline function returns the
3457 beginning position of the current heading/entry.
3458 (org-entry-end-position): Like the function `line-end-position',
3459 this inline function returns the end position of the current
3462 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3464 * org-agenda.el (org-agenda-list): Mark the all-todo items line as
3467 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3469 * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
3471 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3473 * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
3474 entries that have no tags.
3475 (org-agenda-search-view): New customize group.
3476 (org-agenda-search-view-search-words-only): New option.
3477 (org-search-view): Implement substring search.
3479 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3481 * org.el (org-outline-level): Add doc string.
3483 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3485 * org-inlinetask.el (org-inlinetask-export): Re-introduce
3487 (org-inlinetask-export-handler): Only export inline task if the
3488 user option calls for it.
3490 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3492 * org-exp.el (org-export-handle-export-tags): Remove inlinetask
3495 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3497 * org-latex.el (org-export-latex-tables): Don't format in
3500 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3502 * org-src.el (org-edit-src-code)
3503 (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
3506 * org-agenda.el (org-prefix-category-max-length): New variable.
3507 (org-format-agenda-item): Use `org-prefix-category-max-length'.
3508 (org-compile-prefix-format): Set `org-prefix-category-max-length'.
3510 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3512 * org-mobile.el (org-mobile-create-index-file): Improve the
3513 listing of tags and todo keywords.
3515 * org-latex.el (org-export-latex-format-image): New function.
3516 (org-export-latex-links): Use `org-export-latex-format-image'.
3518 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3520 * org-inlinetask.el (org-inlinetask-get-current-indentation)
3521 (org-inlinetask-remove-terminator): New functions.
3522 (org-inlinetask-export-handler): Terminate the description list.
3524 * org-exp.el (org-export-select-backend-specific-text): Remove the
3527 * org-inlinetask.el (org-inlinetask-export-handler): Fix bug for
3528 tasks without content.
3530 * org-clock.el: Make sure the clock-in target position does not
3531 move to a different node by widening the buffer.
3533 * org-html.el (org-export-html-format-image): Wrap image into
3534 figure div only when there is a caption.
3536 * org-archive.el (org-archive-mark-done): Change default value to
3539 2009-11-13 Carsten Dominik <carsten.dominik@gmail.com>
3541 * org.el (org-context): Call `bobp', not `eobp'.
3543 * org-clock.el (org-clock-cancel): Remove quotes from marker
3546 * org.el (org-read-date-prefer-future): New allowed value `time'.
3547 (org-read-date-analyze): Shift day to tomorrow depending on time
3548 entered and value of `org-read-date-prefer-future'.
3550 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3552 * org.el (org-version, org-get-refile-targets, org-refile)
3553 (org-store-log-note, org-diary-to-ical-string)
3554 (org-speedbar-set-agenda-restriction):
3555 * org-publish.el (org-publish-find-title):
3556 * org-plot.el (org-plot/gnuplot):
3557 * org-mouse.el (org-mouse-do-remotely):
3558 * org-mobile.el (org-mobile-move-capture):
3559 * org-mac-message.el (org-mac-message-insert-flagged):
3560 * org-latex.el (org-replace-region-by-latex):
3561 * org-docbook.el (org-replace-region-by-docbook):
3562 * org-clock.el (org-clock-out, org-clock-cancel):
3563 * org-bibtex.el (org-execute-file-search-in-bibtex):
3564 Use with-current-buffer.
3566 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
3568 * org.el (org-directory, org-map-entries):
3569 * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
3571 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3573 * org.el (org-set-tags-to): New command.
3575 * org-latex.el (org-export-latex-set-initial-vars): Also check in
3578 * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
3581 * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
3583 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3585 * org-inlinetask.el (org-inlinetask-export): Option removed.
3586 (org-inlinetask-export-handler): Better export.
3588 * org-xoxo.el (org-export-xoxo-final-hook): New hook.
3589 (org-export-as-xoxo): Run the new hook.
3591 * org-html.el (org-export-html-final-hook): New hook.
3592 (org-export-as-html): Run the new hook.
3594 * org-docbook.el (org-export-docbook-final-hook): New hook.
3595 (org-export-as-docbook): Run the new hook.
3597 * org-ascii.el (org-export-ascii-final-hook): New hook.
3598 (org-export-as-ascii): Run the new hook.
3600 * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
3601 space character as the character before the ^/_.
3602 (org-export-latex-final-hook): New hook.
3603 (org-export-as-latex): Run `org-export-latex-final-hook'.
3605 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3607 * org-macs.el (org-if-unprotected-at): Fix docstring.
3609 * org-agenda.el (org-agenda-change-all-lines): Handle invisible
3610 text in the prefix (if category is a link).
3612 * org-latex.el (org-export-latex-preprocess): Deal properly with
3613 empty lines in verse environments.
3615 * org.el (org-format-latex-header): Inline fullpage.sty.
3617 * org-footnote.el (org-footnote-create-definition): Reveal context
3618 to add a new footnote definition.
3620 * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
3621 org-table-recalculate when cursor is in TBLFM line.
3623 * org-list.el (org-renumber-ordered-list): Fix cursor position
3624 when bullet length has changed.
3626 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3628 * org.el (org-format-latex): Mention `org-format-latex-options' in
3631 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3633 * org.el (org-agenda-get): New function.
3635 * org-agenda.el (org-agenda-post-command-hook): No longer move
3636 point away from end of line.
3637 (org-agenda-add-entry-text, org-agenda-collect-markers)
3638 (org-finalize-agenda, org-agenda-mark-clocking-task)
3639 (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
3640 (org-agenda-entry-text-show, org-agenda-highlight-todo)
3641 (org-agenda-compare-effort, org-agenda-filter-apply)
3642 (org-agenda-later, org-agenda-change-time-span)
3643 (org-agenda-post-command-hook, org-agenda-show-priority)
3644 (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
3645 (org-agenda-archive, org-agenda-archive-to-archive-sibling)
3646 (org-remove-subtree-entries-from-agenda, org-agenda-refile)
3647 (org-agenda-open-link, org-agenda-copy-local-variable)
3648 (org-agenda-switch-to, org-agenda-check-no-diary)
3649 (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
3650 (org-agenda-add-note, org-agenda-change-all-lines)
3651 (org-agenda-priority, org-agenda-set-tags)
3652 (org-agenda-set-property, org-agenda-set-effort)
3653 (org-agenda-toggle-archive-tag, org-agenda-date-later)
3654 (org-agenda-show-new-time, org-agenda-date-prompt)
3655 (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
3656 (org-agenda-clock-in, org-agenda-bulk-mark)
3657 (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
3660 * org-colview.el (org-columns-display-here)
3661 (org-columns-edit-allowed, org-agenda-columns): Use
3664 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3666 * org.el (org-special-ctrl-a/e): Improve documentation and
3668 (org-end-of-line): Don't jump to after the ellipsis.
3669 (org-mode-map): Bind <home> and <end> as well.
3671 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3673 * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
3674 space after #+ as comments.
3675 (org-open-at-point): Run `org-follow-link-hook' always.
3677 * org-latex.el (org-export-latex-emph-format): Use better commands
3678 to insert special characters in verbatim snippets.
3680 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3682 * org-faces.el (org-copy-face): New function. Use it to create
3683 various faces formerly created by using `copy-face'.
3685 * org-agenda.el (org-prepare-agenda): Don't officially mark this
3687 (org-agenda-quit): Kill the frame containing the agenda window if
3688 that frame was created for the agenda.
3690 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3692 * org-agenda.el (org-agenda-date-prompt): Mark the changed time
3693 stamp in the agenda.
3695 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3697 * org-agenda.el (org-prepare-agenda): Reset
3698 `org-drawers-for-agenda'.
3699 (org-prepare-agenda): Uniquify list of drawers.
3701 * org.el (org-complex-heading-regexp-format): New variable.
3702 (org-set-regexps-and-options): Define
3703 `org-complex-heading-regexp-format'.
3704 (org-drawers-for-agenda): New variable.
3705 (org-map-entries): Bind `org-drawers-for-agenda'.
3706 (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
3708 * org-remember.el (org-go-to-remember-target)
3709 (org-remember-handler): Use `org-complex-heading-regexp-format'.
3711 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3713 * org-agenda.el (org-agenda-highlight-todo): Fix text property
3716 * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
3717 always with `invisible-ok'.
3718 (org-store-link): No error when there is nothing to link to in the
3721 * org-list.el (org-update-checkbox-count): Insert changed cookie
3722 before the old, to avoid problems with invisibility at the end of
3724 (org-update-checkbox-count): Insert changed cookie before the old,
3725 to avoid problems with invisibility at the end of the line.
3727 * org.el (org-sort-entries-or-items): Include the final newline.
3728 (org-fontify-meta-lines-and-blocks): Add indented dynamic block
3729 lines for fontification.
3730 (org-dblock-start-re, org-dblock-end-re): Allow indentation.
3731 (org-prepare-dblock): Store the current indentation of the BEGIN
3733 (org-update-dblock): Apply the indentation of the begin line to
3734 the rest of the block.
3735 (org-ctrl-c-ctrl-c): Also find indented dblock lines.
3736 (org-startup-folded): New allowed value `showeverything'.
3737 (org-startup-options): Add STARTUP keyword `showeverything'.
3738 (org-set-startup-visibility): Respect value `showeverything' in
3741 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3743 * org.el (org-closest-date): Fix issue with past preference.
3745 * org-archive.el (org-archive-set-tag)
3746 (org-archive-subtree-default): New commands.
3748 * org-clock.el (org-clock-clocktable-default-properties): New
3750 (org-clock-report): Use
3751 `org-clock-clocktable-default-properties'.
3753 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3755 * org.el (org-iswitchb-completing-read): Fix typo.
3757 * org-crypt.el: New file.
3759 * org.el: Add an entry for org-crypt.
3761 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3763 * org-agenda.el (org-agenda-menu): Reorganize the menu for more
3765 (org-batch-store-agenda-views): New function.
3766 (org-agenda-title-append): Define variable.
3767 (org-write-agenda): New export to Org files.
3768 (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
3769 (org-agenda): Allow to keep the restricted file list if a special
3770 variable is bound to t.
3771 (org-agenda): Define a special agenda view for working on flagged
3773 (org-agenda-get-restriction-and-command): List the new agenda
3775 (org-agenda-show-the-flagging-note): New command.
3776 (org-agenda-mode-map): New key `?' for looking at the flagging
3779 * org.el (org-autoload): Autoload org-mobile.el.
3780 (org-org-menu): Add menu commands for MobileOrg in the Org menu.
3782 * org-mobile.el: New file.
3784 * org-id.el (org-id-get): Fix bug with forcing ID on an item.
3786 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3788 * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
3790 (org-table-get-remote-range): Match indented #+TBLNAME
3793 * org.el (org-convert-to-odd-levels)
3794 (org-convert-to-oddeven-levels): Work also correctly if the file
3797 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3799 * org.el (org-store-link): When in agenda buffer, link to
3801 (org-add-planning-info): Remove spaces at eol.
3803 * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
3806 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3808 * org-latex.el (org-export-latex-first-lines): Fix problem with
3809 LaTeX export of first line and selected subtree.
3811 * org.el (org-shifttab): Interpret arg differently when using only
3814 2009-10-01 Bastien Guerry <bzg@altern.org>
3816 * org.el (org-check-agenda-file): Use a more explicit message.
3818 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3820 * org-exp.el (org-export-remove-special-table-lines): Don't remove
3823 2009-10-01 Bastien Guerry <bzg@altern.org>
3825 * org.el (org-offer-links-in-entry): Don't use "Select link" as a
3826 prompt in the temporary window.
3828 * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
3829 prefix for marked entries in the agenda view.
3831 2009-10-01 Andreas Burtzlaff <andy13@gmx.net> (tiny change)
3833 * org.el (outline-end-of-subtree): Bugfix: advise this function in
3834 a way that prevents any trailing character from being displayed.
3836 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3838 * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
3841 * org-exp.el (org-export-remove-special-table-lines): Remove bad
3844 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3846 * org-latex.el (org-export-latex-preprocess): Do not protect in
3849 * org-src.el (org-edit-src-save): Save window setup while saving.
3850 (org-edit-src-code): Use new buffer name construction scheme.
3852 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3854 * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
3856 (org-agenda-entry-text-cleanup-hook): New hook.
3857 (org-agenda-get-some-entry-text): Remove matches of
3858 `org-agenda-entry-text-exclude-regexps' and run the hook
3859 `org-agenda-entry-text-cleanup-hook'.
3861 * org.el (org-offer-links-in-entry): New argument ZERO to
3862 implement a link with index zero.
3863 (org-cycle-show-empty-lines): Not keep empty line under header
3865 (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
3866 to nil for special completion.
3867 (org-store-link): Don't error before the first heading.
3869 * org-agenda.el (org-agenda-open-link): Pass the prefix to
3870 `org-offer-links-in-entry'.
3872 2009-10-01 Carsten Dominik <carsten.dominik@gmail.com>
3874 * org-agenda.el (org-agenda-quit): Provide the window argument for
3875 `window-dedicated-p', Emacs 22 needs it.
3876 (org-format-agenda-item): If the category is a link, arrange for
3877 invisible text to replaced with spaces.
3878 (org-compile-prefix-format): Add the extra space.
3879 (org-prefix-category-length): New variable.
3881 * org-exp.el (org-export-cleanup-toc-line): Remove footnote
3882 references from TOC lines.
3884 * org.el (org-selected-window): New variable.
3886 * org-table.el (org-table-edit-formulas): Remember the selected
3888 (org-table-fedit-finish, org-table-fedit-abort): Select the window
3889 that was originally selected.
3891 * org-exp.el (org-export-preprocess-apply-macros): Scan the
3892 expansion of a macro for more macro definitions.
3894 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
3895 invisibility overlay starts on the newline.
3897 2009-10-01 Glenn Morris <rgm@gnu.org>
3899 * org-agenda.el (calendar-check-holidays):
3900 * org-exp.el (org-agenda-skip):
3901 * org-list.el (outline-back-to-heading):
3902 * org-wl.el (wl-summary-goto-folder-subr):
3903 * org.el (iswitchb-mode, remember, remember-buffer-desc)
3904 (remember-finalize, remember-save-after-remembering, remember-register)
3905 (remember-buffer, remember-handler-functions)
3906 (remember-annotation-functions): Remove unused declarations.
3908 * org.el (iswitchb-read-buffer): Fix declaration.
3910 2009-09-30 Glenn Morris <rgm@gnu.org>
3912 * org-compat.el (w32-focus-frame):
3913 * org-exp-blocks.el (R):
3914 * org-exp.el (htmlize-buffer):
3915 * org-protocol.el (server-edit):
3916 * org-table.el (org-format-org-table-html):
3917 * org.el (org-indent-mode): Fix declarations.
3919 * org-colview.el (org-columns-uncompile-format): Avoid assignment to
3920 free variable `fun'.
3922 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
3924 * org-agenda.el (org-agenda-restore-windows-after-quit):
3925 Fix typo in docstring.
3927 2009-09-23 Juanma Barranquero <lekktu@gmail.com>
3929 * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
3930 (org-shiftselect-error, org-ctrl-c-ctrl-c):
3931 * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
3932 * org-attach.el (org-attach-check-absolute-path):
3933 * org-docbook.el (org-export-as-docbook):
3934 * org-html.el (org-export-as-html):
3935 * org-id.el (org-id-update-id-locations):
3936 * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
3937 Fix typos in error messages.
3939 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3941 * org-ascii.el: Require CL for the `loop' macro.
3943 2009-09-05 Carsten Dominik <dominik@u016822.science.uva.nl>
3945 * org-gnus.el (require): Wrap (require gnus-sum) into
3948 2009-09-03 Carsten Dominik <dominik@u016822.science.uva.nl>
3950 * org-protocol.el (org-protocol-store-link)
3951 (org-protocol-remember, org-protocol-open-source): Remove autoload
3954 * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
3955 referencing the start of the line.
3957 * org-gnus.el: Remove unnecessary declare-function forms.
3958 (gnus-sum): Always require gnus-sum.
3960 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
3962 * org-protocol.el (org-protocol-store-link)
3963 (org-protocol-remember, org-protocol-open-source): Add autoloads.
3965 * org-compat.el (org-float-time): New function.
3967 * org.el (org-clock-update-time-maybe)
3968 (org-sort-entries-or-items, org-do-sort)
3969 (org-evaluate-time-range, org-time-string-to-seconds)
3970 (org-closed-in-range): Use `org-float-time'.
3972 * org-timer.el (org-timer-start, org-timer-pause-or-continue)
3973 (org-timer-seconds): Use `org-float-time'.
3975 * org-clock.el (org-clock-get-clocked-time, org-clock-out)
3976 (org-clock-sum, org-dblock-write:clocktable)
3977 (org-clocktable-steps): Use `org-float-time'.
3979 * org-agenda.el (org-agenda-last-marker-time)
3980 (org-agenda-new-marker, org-diary): Use `org-float-time'.
3982 * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
3985 * org-exp.el (org-get-file-contents): Only protect lines that
3988 * org-html.el (require): Require cl for compilation.
3990 * org.el: Avoid using `default-major-mode'.
3992 * org-plot.el (require): Require CL only at compile time.
3994 * org-exp.el (require): Require CL only at compile time.
3996 * org-agenda.el (org-agenda-quit): When the agenda window is
3997 dedicated, remove other windows before exiting, so that the frame
3998 really will be killed.
4000 * org-exp.el (org-export-handle-include-files): Reset START and
4001 END for each loop cycle.
4003 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4005 * org.el (org-eval-in-calendar): Use
4006 `org-select-frame-set-input-focus'.
4008 * org-compat.el (org-select-frame-set-input-focus): New function.
4010 * org.el (org-update-statistics-cookies): New function.
4011 (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
4013 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4015 * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
4016 after the local variables are set.
4018 * org-latex.el (org-export-latex-protect-amp): New function.
4019 (org-export-latex-links): Protect link ampersands in tables.
4021 * org-exp.el (org-export-select-backend-specific-text): Match in
4022 two steps, to avoid regexp problems.
4024 * org.el (org-offer-links-in-entry): Improve working with many and
4027 * org-agenda.el (org-agenda-show-1): Make more consistent with
4029 (org-agenda-cycle-show): Make more consistent with normal cycling.
4031 * org-gnus.el (org-gnus-store-link): Restore the linking to a
4034 2009-09-02 Bastien Guerry <bzg@altern.org>
4036 * org-latex.el (org-export-latex-first-lines): Bugfix.
4038 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4040 * org-clock.el (org-clock-modify-effort-estimate): Emit message
4043 * org.el (org-set-effort): New function.
4044 (org-mode-map): New key for effort setting command.
4046 * org-agenda.el (org-agenda): Keep window setup when calling
4047 agenda from within agenda window.
4048 (org-agenda-mode-map): New keys for effort setting commands.
4049 (org-agenda-menu): Add effort setting commands to menu.
4050 (org-agenda-set-property, org-agenda-set-effort): New functions.
4052 * org-latex.el (org-export-latex-tables): Fix
4053 `org-table-last-alignment' and `org-table-last-column-widths' if
4054 the first column has been removed.
4056 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4058 * org.el (org-remove-timestamp-with-keyword): Only remove in
4059 entry, not in subtree.
4061 * org-src.el (org-src-lang-modes): Add abbreviation elisp for
4064 * org.el (org-open-at-point): When on headline, offer all strings
4067 * org-remember.el (org-remember-templates): Documentation fix.
4069 * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
4070 `org-get-last-sibling' instead of the outline versions of these
4072 (org-get-last-sibling): New function.
4073 (org-refile): Use `org-get-next-sibling' instead of the outline
4074 version of this function.
4075 (org-clean-visibility-after-subtree-move): Use
4076 `org-get-next-sibling' and `org-get-last-sibling' instead of the
4077 outline versions of these functions.
4079 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4081 * org-agenda.el (org-prepare-agenda): When creating a new frame
4082 for the agenda, make the window dedicated.
4084 * org-agenda.el (org-agenda-mode-map): New keys for time motion.
4086 * org-table.el (org-table-align): Change the order of reinsertion
4087 and deletion, to avoid problems with overlays following the table.
4089 * org.el (org-parse-time-string): Better error message.
4090 (org-show-subtree): Use org-end-of-subtree.
4092 * org-macs.el (org-goto-line): New defsubst.
4094 * org.el (org-open-file, org-change-tag-in-region)
4095 (org-fast-tag-show-exit): Don't use `goto-line'.
4097 * org-table.el (org-table-align, org-table-insert-column)
4098 (org-table-delete-column, org-table-move-column)
4099 (org-table-sort-lines, org-table-copy-region)
4100 (org-table-paste-rectangle, org-table-wrap-region)
4101 (org-table-get-specials, org-table-rotate-recalc-marks)
4102 (org-table-get-range, org-table-recalculate)
4103 (org-table-edit-formulas, org-table-fedit-convert-buffer)
4104 (org-table-show-reference, org-table-highlight-rectangle): Don't
4107 * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
4108 (org-edit-src-exit): Don't use `goto-line'.
4110 * org-macs.el (org-preserve-lc): Don't use `goto-line'.
4112 * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
4113 Don't use `goto-line'.
4115 * org-exp.el (org-export-number-lines): Don't use `goto-line'.
4117 * org-colview.el (org-columns, org-columns-redo)
4118 (org-agenda-columns): Don't use `goto-line'.
4120 * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
4123 * org-agenda.el (org-agenda-mode): Force visual line motion off.
4124 (org-agenda-add-entry-text-maxlines): Improve docstring.
4125 (org-agenda-start-with-entry-text-mode): New option.
4126 (org-agenda-entry-text-maxlines): New option.
4127 (org-agenda-entry-text-mode): New variable.
4128 (org-agenda-mode): Set initial value of
4129 `org-agenda-entry-text-mode'.
4130 (org-agenda-mode-map): Add the `E' key.
4131 (org-agenda-menu): Add entry text mode to the menu.
4132 (org-agenda-get-some-entry-text): Fix line count bug.
4133 (org-finalize-agenda): Apply entry text mode if appropriate.
4134 (org-agenda-entry-text-show-here): New function.
4135 (org-agenda-entry-text-show): New function.
4136 (org-agenda-entry-text-hide): New function.
4137 (org-agenda-view-mode-dispatch): Add entry text mode to the view
4139 (org-agenda-entry-text-mode): New command.
4140 (org-agenda-set-mode-name): Add entry text mode to the mode line
4142 (org-agenda-undo, org-agenda-get-restriction-and-command)
4143 (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
4146 2009-09-02 Bernt Hansen <bernt@norang.ca>
4148 * org-clock.el (org-notify): Bugfix.
4150 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4152 * org-agenda.el (org-agenda-open-link): Handle multiple links and
4153 check for after-string.
4155 * org-gnus.el (org-gnus-store-link): Simplify.
4157 * org.el (org-latex-regexps): Don't add extra empty lines for
4160 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4162 * org-agenda.el (org-agenda-get-some-entry-text): New function.
4163 (org-agenda-add-entry-text): Use
4164 `org-agenda-get-some-entry-text'.
4166 * org.el (org-cycle-separator-lines): Update docstring.
4167 (org-cycle-show-empty-lines): Handle negative values for
4168 `org-cycle-show-empty-lines'.
4170 * org-exp.el (org-export-protect-sub-super): New function.
4171 (org-export-normalize-links): Protect the url of plain links from
4172 supscript and superscript processing.
4174 * org-remember.el (org-remember-escaped-%): New function.
4175 (org-remember-apply-template): Use `org-remember-escaped-%' to
4176 detect escaped % signs.
4178 2009-09-02 Bastien Guerry <bzg@altern.org>
4180 * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
4181 sound when showing the notification.
4183 * org-clock.el (org-notify): New function.
4184 (org-clock-notify-once-if-expired): Use `org-notify'.
4186 * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
4187 and `gnus-article-mode' separately.
4188 (gnus-summary-article-header): Fix the declare-function.
4190 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4192 * org-exp.el (org-export-format-source-code-or-example): Translate
4195 * org-src.el (org-src-lang-modes): New variable.
4196 (org-edit-src-code): Translate language.
4198 * org-exp.el (org-export-format-source-code-or-example): Deal wit
4199 the new structure of the `org-export-latex-listings-langs'
4202 * org-latex.el (org-export-latex-listings-langs): Change structure
4203 of the variable from plist to alist.
4205 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4207 * org.el (org-in-commented-line): New function.
4209 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4211 * org.el (org-hide-block-toggle): Make folded blocks searchable.
4213 2009-09-02 Friedrich Delgado Friedrichs <friedel@nomaden.org> (tiny change)
4215 * org.el (org-flag-drawer): More useful error.
4217 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4219 * org-remember.el (org-remember-apply-template): Use
4220 org-icompleting-read.
4222 * org-publish.el (org-publish): Use org-icompleting-read.
4224 * org-colview.el (org-columns-edit-value, org-columns-new)
4225 (org-insert-columns-dblock): Use org-icompleting-read.
4227 * org-colview-xemacs.el (org-columns-edit-value)
4228 (org-columns-new, org-insert-columns-dblock): Use
4229 org-icompleting-read.
4231 * org-attach.el (org-attach-delete-one, org-attach-open): Use
4232 org-icompleting-read.
4234 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4236 * org.el (org-hierarchical-todo-statistics): Improve docstring.
4237 (org-version): Return the version text.
4238 (org-org-menu): Add a menu entry for the new bug reporter.
4239 (org-submit-bug-report): New command.
4241 * org-list.el (org-hierarchical-checkbox-statistics): Improve
4244 * org.el (org-emphasis-regexp-components): Add "`" to set of
4245 pre-emphasis characters.
4247 * org-latex.el (org-export-latex-classes): Always include the soul
4249 (org-export-latex-emphasis-alist): Use \st for strikethough.
4251 * org-exp-blocks.el (org-export-blocks-preprocess): Use
4252 `indent-code-rigidly' to indent.
4254 * org-agenda.el (org-agenda-get-restriction-and-command): Remove
4255 properties only if MATCH really is a string.
4257 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4259 * org-latex.el (org-export-latex-packages-alist): Fix
4262 * org.el (org-create-formula-image): Also use
4263 `org-export-latex-packages-alist'.
4265 * org-html.el (org-export-as-html): Fix bug in footnote regexp.
4266 (org-export-as-html): Format footnotes correctly.
4268 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4270 * org.el (org-fast-tag-selection): Avoid text properties on tags
4273 * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
4274 text properties on the match element.
4276 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4278 * org.el (org-set-regexps-and-options): Make sure the list of done
4279 keywords is not invalid.
4281 * org-exp.el (org-export-interpolate-newlines): New function.
4283 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4285 * org.el (org-format-latex): Avoid nested overlays.
4287 * org-latex.el (org-export-latex-listings-langs): Add a few more
4290 * org-exp.el (org-export-preprocess-apply-macros): Make sure to
4291 ignore newlines and space before the first macro argument.
4293 * org-latex.el (org-export-latex-tables): Remove save-excursion
4294 around `org-table-align'.
4296 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4298 * org.el (org-export-html-special-string-regexps): Definition
4301 * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
4304 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4306 * org-latex.el (org-export-latex-listings)
4307 (org-export-latex-listings-langs): New options.
4309 * org-exp.el (org-export-format-source-code-or-example): Use
4310 listing package if requested by the user.
4312 2009-09-02 Bastien Guerry <bzg@altern.org>
4314 * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
4315 command before actually switching to a buffer.
4317 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4319 * org-exp.el (org-get-file-contents): Only quote org lines when
4320 the markup is src or example.
4322 * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
4324 (org-agenda-get-day-entries): Remember deadline results and pass
4325 them on into the function getting the scheduling information.
4326 (org-agenda-get-scheduled): Accept deadline results as parameters
4327 and maybe skip some entries.
4328 (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
4330 * org.el (org-insert-heading): When respecting content, do not
4331 convert current line to headline.
4333 * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
4334 cheeeeeck the hd marker.
4335 (org-clock-in): Also set the hd marker.
4336 (org-clock-out): Also set the hd marker.
4337 (org-clock-cancel): Reset markers.
4339 * org.el (org-clock-hd-marker): New marker.
4341 * org-faces.el (org-agenda-clocking): New face.
4343 * org-agenda.el (org-agenda-mark-clocking-task): New function.
4344 (org-finalize-agenda): Call `org-agenda-mark-clocking-task'.
4346 * org.el (org-modules): Add org-track.el.
4348 * org-agenda.el (org-agenda-bulk-marked-p): New function.
4349 (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
4350 `org-agenda-bulk-marked-p'.
4351 (org-agenda-bulk-toggle): New command.
4353 2009-09-02 Carsten Dominik <carsten.dominik@gmail.com>
4355 * org.el (org-move-subtree-down): Hide subtree if it was folded,
4358 * org-remember.el (org-remember-finalize): Avoid buffer-modified
4361 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4363 * org-html.el (org-export-as-html):
4364 * org-docbook.el (org-export-as-docbook):
4365 Use (default-value 'major-mode) instead of default-major-mode.
4367 2009-08-08 Carsten Dominik <carsten.dominik@gmail.com>
4369 * org-docbook.el: Add arch-tag.
4371 * org-exp-blocks.el: Add arch-tag.
4373 * org-id.el: Add arch-tag.
4375 * org-indent.el: Add arch-tag.
4377 * org-inlinetask.el: Add arch-tag.
4379 * org-protocol.el: Add arch-tag.
4381 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4383 * org.el (org-create-formula-image): Remove the -E option for
4386 * org-exp.el (org-default-export-plist): Respect #+BIND.
4387 (org-export-confirm-letbind): New function.
4389 * org.el (org-paste-subtree): Test the kill ring entry if it is
4391 (org-copy-subtree): Use `org-forward-same-level'.
4392 (org-forward-same-level): Respect the `invisibe-ok' arg for
4395 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4397 * org.el (org-table-map-tables): Make sure cursor is back at table
4398 beginning after funcall.
4400 * org-agenda.el (org-agenda-bulk-action): Make sure parents are
4401 handled before children, and do not error if an entry is not
4402 found, probably because it hase been remove when the parent was
4403 archived or refiled.
4405 * org.el (org-ido-completing-read): Accept straight lists for
4406 completion as well as alists.
4408 * org-timer.el (org-timer-cancel-timers): Rename from
4409 `org-timer-cancel-timers'.
4411 * org.el (org-cycle-internal-local): Fix problem with finding next
4414 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4416 * org-list.el (org-list-send-list): Call
4417 `org-list-goto-true-beginning' instead of
4418 `org-list-find-true-beginning', which does not exist.
4420 * org-timer.el (org-timer-reset-timers): Use `mapc'.
4421 (org-timer-set-timer): Do not assign to heading.
4423 * org-id.el (org-id-open): Quote function name.
4425 * org-macs.el (org-unmodified): Turn off recording undo
4426 information while running inside the macro.
4428 * org-table.el (org-table-export): Also work in file-less
4431 * org.el (org-startup-indented): New option.
4432 (org-startup-options): Add new options indent and noindent.
4433 (org-unfontify-region): Remove line-prefix and wrap-prefix
4435 (org-after-demote-entry-hook, org-after-promote-entry-hook): New
4437 (org-promote, org-demote): Run the new hooks.
4439 * org-table.el (org-table-align): Replace leading \n as well.
4441 * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
4442 and `line-wrap' text properties.
4444 * org-compat.el (org-kill-new): New function.
4446 * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
4447 `line-wrap' text properties.
4449 * org-indent.el: New file.
4451 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4453 * org.el (org-provide-todo-statistics): Tweak docstring.
4455 * org-id.el (org-id-open): Honor `org-link-frame-setup'.
4457 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4459 * org-exp.el (org-export-as-org): Insert the "-source" string
4460 before the extension.
4462 * org.el (org-read-date): Make sure the calendar is in the current
4464 (org-set-emph-re): Remove the ? from the post-match.
4465 (org-emphasis-regexp-components): Add backslash to the
4467 (org-set-font-lock-defaults): Write \n instead of \xa, and make it
4468 optional so that also lines at the end of the buffers will still
4469 be matched as headlines.
4471 * org-table.el (org-table-error-on-row-ref-crossing-hline):
4472 Variable made obsolete.
4473 (org-table-relative-ref-may-cross-hline): New option.
4474 (org-table-find-row-type): Honow the new option
4475 `org-table-relative-ref-may-cross-hline'.
4477 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4479 * org-table.el (org-table-cut-region, org-table-copy-region): Work
4480 on single field if no active region.
4482 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4484 * org-latex.el (org-export-latex-make-header): Only insert title
4487 * org.el (org-make-options-regexp): Allow empty values.
4489 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4491 * org.el (org-cycle-internal-local): Improved version of finding
4493 (org-cycle-hide-drawers): Only hide drawers if this is really
4495 (outline-end-of-subtree): Make `outline-end-of-subtree' use the
4496 org-version of this function in Org-mode. We use advice to
4497 implement this change, so that future changes to this function in
4498 outline.el wil be handled properly.
4499 (org-forward-same-level, org-backward-same-level): New commands.
4501 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4503 * org.el (org-remove-empty-overlays-at)
4504 (org-clean-visibility-after-subtree-move): New functons.
4505 (org-move-subtree-down): Simplify cleanup of display.
4507 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4509 * org-mac-message.el (org-mac-message-get-links): Improve
4510 docstring. Make argument SELECT-OR-FLAGGED optional, default to
4511 "s". Fix the return value.
4512 (org-mac-message-insert-flagged): Simplify.
4514 * org.el (org-refile-get-location): Tamper with refile history o
4515 that history contains compete matches instead of the entered
4518 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4520 * org.el (org-store-link): Never store a link to an inline task.
4522 * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
4523 inline tasks when positioning footnotes.
4525 * org.el (org-refile): Remove the END line when archiving an
4526 inline task that does have an END line.
4528 * org-archive.el (org-archive-subtree): Remove the END line when
4529 archiving an inline task that does have an END line.
4531 * org-macs.el (org-with-limited-levels): New macro.
4532 (org-get-limited-outline-regexp): New function.
4534 * org-exp.el (org-export-format-source-code-or-example): Fix bug
4535 that did not enumerate first line.
4536 (org-export-mark-radio-links): Skip matches in links.
4538 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4540 * org.el (org-activate-plain-links): Make single-match.
4541 (org-adapt-indentation): Fix docstring.
4543 * org-macs.el (org-unmodified): Turn of modification hooks while
4546 2009-08-06 Bastien Guerry <bzg@altern.org>
4548 * org.el (org-adapt-indentation): Slightly improve the docstring.
4549 (org-occur): Sends an error when the user inputs an empty string.
4550 (org-priority): Bugfix: the tag alignement should happen within
4553 2009-08-06 Bastien Guerry <bzg@altern.org>
4555 * org.el (org-make-link-regexps): Don't exclude parentheses from
4556 `org-plain-link-re'.
4557 (org-cycle-internal-local): When locally cycling, switch directly
4558 from CHILDREN to FOLDED if there is no subtree.
4559 (org-cycle): Update the docstring to document the new behavior of
4560 `org-cycle-internal-local'.
4562 2009-08-06 Nicolas Goaziou <n.goaziou@neuf.fr> (tiny change)
4564 * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
4565 an abbreviated format for days.
4567 2009-08-06 Bastien Guerry <bzg@altern.org>
4569 * org-protocol.el (org-protocol-default-template-key): New
4572 * org.el (org-refile): Bugfix: save-excursion before reading the
4573 refile target, otherwise cursor moves might confuse `org-refile'.
4575 * org.el (org-toggle-heading): Bugfix: correctly convert list
4576 items before the first headline.
4578 * org.el (org-provide-todo-statistics): Allow a list of TODO
4579 keywords to compute statistics against headlines containing a
4580 keyword from this list.
4581 (org-update-parent-todo-statistics): Possibly use the new allowed
4582 value of `org-provide-todo-statistics'.
4584 2009-08-06 Bastien Guerry <bzg@altern.org>
4586 * org-timer.el: Add autoload cookie.
4588 * org.el (org-occur-link-in-agenda-files): New function.
4590 * org-timer.el (org-timer-last-timer): New variable.
4592 * org-agenda.el (org-agenda-mode-map): New key for
4593 org-timer-set-timer called from the agenda.
4595 * org.el (org-mode-map): New key for org-timer-set-timer.
4597 * org-timer.el (org-timer-reset-timers)
4598 (org-timer-show-remaining-time, org-timer-set-timer): New
4601 * org-clock.el (org-show-notification): Update the docstring.
4603 * org.el (org-provide-todo-statistics): Allow new value
4604 'all-headlines for this option, which includes entries with no
4605 TODO keywords in the todo statistics.
4606 (org-update-parent-todo-statistics): Possibly use the new
4607 'all-headline value from `org-provide-todo-statistics'.
4609 2009-08-06 Bastien Guerry <bzg@altern.org>
4611 * org-clock.el (org-dblock-write:clocktable): Add a new option
4612 :timestamp which allows display of timestamps in clock reports.
4614 * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
4615 list to a subtree, preserving the structure of the list.
4616 (org-set-emph-re): Make the last element optional in the regexp.
4617 This regexp now matches an emphasized string at the end of a line.
4619 * org-list.el (org-list-goto-true-beginning)
4620 (org-list-make-subtree, org-list-make-subtrees): New functions.
4622 * org.el (org-eval-in-calendar): Select the right frame.
4623 (org-save-frame-excursion): Remove this macro.
4625 2009-08-06 Bastien Guerry <bzg@altern.org>
4627 * org-list.el (org-list-beginning-re): Bugfix: don't use * when
4628 trying to find the beginning of a list.
4630 * org-exp.el (org-get-file-contents): Use a new argument: markup.
4631 When present, tell org-get-file-contents not to protect org-like
4634 * org-id.el (org-id-uuid-program): New option to set the name of
4635 the uuidgen program.
4636 (org-id-method): Use `org-id-uuid-program'.
4637 (org-id-new): Use `org-id-uuid-program'.
4639 2009-08-06 Bastien Guerry <bzg@altern.org>
4641 * org-exp.el (org-export-number-lines): Allow whitespace in code
4642 references. Allow the -r switch to remove the references in the
4643 source code even when the lines are not numbered: the labels can
4646 * org.el (org-fontify-whole-heading-line): New option.
4647 (org-set-font-lock-defaults): Use the new option.
4649 * org-clock.el (org-show-notification-handler): New option.
4650 (org-show-notification): Use the new option.
4652 2009-08-06 Bastien Guerry <bzg@altern.org>
4654 * org.el (org-eval-in-calendar): Fix a bug about calendar
4655 navigation when `calendar-setup' value is 'calendar-only.
4657 2009-08-06 Bastien Guerry <bzg@altern.org>
4659 * org.el (orgstruct++-mode): Fix typo in docstring.
4660 (org-insert-link): Clean up: (or (...)) => (...)
4661 (org-insert-link): Use TAB for stored links completion.
4663 2009-08-06 Bastien Guerry <bzg@altern.org>
4665 * org.el (org-get-refile-targets): Fix bug: don't ignore case when
4666 building the list of targets.
4668 * org-remember.el (org-remember-delete-empty-lines-at-end): New
4670 (org-remember-handler): Use the new option.
4672 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
4674 * org.el (org-tags-sort-function): New option for sorting tags.
4675 (org-set-tags): Use the new option to sort tags.
4677 * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
4678 premature deletion of the data when using org-plot in a script.
4680 2009-08-06 Bastien Guerry <bzg@altern.org>
4682 * org-clock.el (org-clock-in-prepare-hook): New hook.
4683 (org-clock-in): Use this new hook.
4685 2009-08-06 Bastien Guerry <bzg@altern.org>
4687 * org.el (org-special-ctrl-a/e): Explicitely bind the value
4688 'reversed for this option to the "true line boundary first"
4690 (org-tags-match-list-sublevels): Document the 'indented value for
4693 * org-latex.el (org-export-latex-first-lines): Fix problem with
4694 publishing the region.
4696 * org-exp.el (org-export-format-source-code-or-example): Fix
4697 bad line numbering when exporting examples in HTML.
4699 2009-08-06 James TD Smith <ahktenzero@mohorovi.cc>
4701 * org-colview.el (org-format-time-period): Formats a time in
4702 fractional days as days, hours, mins, seconds.
4703 (org-columns-display-here): Add special handling for SINCE and
4704 SINCE_IA to format for display.
4706 * org.el (org-time-since): Add a function to get the time since an
4708 (org-entry-properties): Add two new special properties: SINCE and
4709 SINCE_IA. These give the time since any active or inactive
4710 timestamp in an entry.
4711 (org-special-properties): Add SINCE, SINCE_IA.
4712 (org-tags-sort-function): Add custom declaration for tags
4714 (org-set-tags): Sort tags if org-tags-sort-function is set.
4716 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4718 * org-clock.el (org-clock-goto): Find hidden headlines as well.
4720 * org.el (org-narrow-to-subtree): Find hidden headlines as well.
4722 * org-plot.el (org-plot/add-options-to-plist): Add timeind
4725 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4727 * org-publish.el (org-publish-remove-all-timestamps): New function.
4728 (org-publish-all): Remove all timestamp files if `org-publish-all'
4729 is called with a prefix argument.
4731 * org-list.el (org-indent-item): Fix typo.
4732 (org-item-indent-positions): Normalize ordered bullet.
4734 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4736 * org-macs.el (org-set-local): Make a local variable, do not make
4737 the variable buffer-local!
4739 * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
4741 * org-exp.el (org-infile-export-plist): Read BIND lines.
4742 (org-install-letbind): New function.
4743 (org-export-as-org, org-export-preprocess-string): Call
4744 `org-install-letbind'.
4746 * org-list.el (org-list-demote-modify-bullet): New option.
4747 (org-first-list-item-p): Save point.
4748 (org-fix-bullet-type): New optional argument FORCE-BULLET.
4749 (org-indent-item): Honor `org-list-demote-modify-bullet'.
4750 (org-item-indent-positions): Return bullet types along with
4753 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4755 * org.el (org-show-entry): Hide drawers.
4757 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4759 * org-footnote.el (org-footnote-auto-adjust): New option.
4760 (org-footnote-auto-adjust-maybe): New function.
4761 (org-footnote-new, org-footnote-delete): Call
4762 `org-footnote-auto-adjust-maybe'.
4764 * org.el (org-startup-options): Add new footnote-related
4767 * org-publish.el (org-publish-timestamp-filename): Additional
4768 arguments PUB-DIR and PUB-FUNC, which are included in the hash.
4769 (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
4770 TRUE-PUB-DIR. Pass them through to
4771 `org-publish-timestamp-filename'.
4772 (org-publish-update-timestamp): Additional arguments PUB-DIR and
4773 PUB-FUNC, which are included in the hash.
4774 (org-publish-file): Delay timestamp test until the publishing
4777 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4779 * org-agenda.el (org-agenda-bulk-action): Add scheduling and
4780 setting the deadline.
4782 * org.el (org-read-date-final-answer): New variable.
4783 (org-read-date): Store the final answer string, including the date
4784 from the calendar, for reuse by agenda bulk commands.
4786 * org-publish.el (org-publish-attachment): Fix publishing of
4789 * org-latex.el (org-export-latex-quotation-marks): Fix export of
4790 quotation makrs in parenthesis.
4791 (org-remove-initial-hash): New function.
4792 (org-export-latex-preprocess): Fix bug with infinite loop if
4793 environment is not properly closed.
4795 * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
4798 * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
4799 highlight also when indented.
4801 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4803 * org-footnote.el (org-footnote-renumber-fn:N): New command.
4804 (org-footnote-action): Offer renumbering.
4806 * org.el (org-cycle): Honor the `integrate' value of
4807 org-cycle-include-plain-lists'.
4809 * org-list.el (org-cycle-include-plain-lists): New allowed value
4810 `internal'. Improve the docstring.
4812 * org.el (org-set-autofill-regexps): Improve the paragraph-start
4813 regexp to work better with LaTeX commands.
4815 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4817 * org-latex.el (org-export-latex-inline-image-extensions): Add ps
4820 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4822 * org-agenda.el (org-write-agenda): Make sure org-icalendar is
4825 * org.el (org-map-entries): No longer force
4826 `org-tags-match-list-sublevels' to t during a todo-only tags
4829 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4831 * org-latex.el (org-export-latex-low-levels): Allow user-defined
4833 (org-export-latex-subcontent): Handle user-defined environment.
4835 * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
4836 the View dispatcher.
4838 * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
4841 * org-latex.el (org-export-as-pdf): Protect match data during call
4842 to shell-quote-argument.
4844 * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
4845 (org-agenda-view-mode-dispatch): New function.
4847 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4849 * org-agenda.el (org-agenda-mode): Reset list of marks.
4850 (org-agenda-mode-map): Define new keys for refile and bulk action.
4851 (org-agenda-menu): Add menu itesm for refile and bulk action.
4852 (org-agenda-refile): New function.
4853 (org-agenda-set-tags): Optional arguments TAG and ONOFF.
4854 (org-agenda-marked-entries): New variable.
4855 (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
4856 (org-agenda-remove-all-bulk-action-marks)
4857 (org-agenda-bulk-action): New functions/commands.
4859 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4861 * org-exp.el (org-get-file-contents): Protect org-like lines in
4863 (org-export-format-source-code-or-example): Remove newlines.
4865 * org-latex.el (org-export-latex-links): Check for no-description
4868 * org-exp.el (org-export-preprocess-apply-macros): Switch macro
4869 argument separator back to comma.
4870 (org-export-normalize-links): Mark links without description.
4872 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4874 * org-exp.el (org-infile-export-plist): Fix bug in macro
4877 * org-agenda.el (org-agenda-clock-out): Update line after clocking
4879 (org-agenda-highlight-todo): Fix bug with highlighting.
4881 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4883 * org.el (org-set-font-lock-defaults): Adapt formatting to capture
4884 new alignment strings.
4886 * org-table.el (orgtbl-self-insert-command): Add yas/expand to
4888 (org-table-align): Check for forced align type.
4890 * org.el (org-self-insert-command): Add yas/expand to command
4893 * org-clock.el (org-clock-in-hook): New hook.
4894 (org-clock-in): Run `org-clock-in-hook.
4895 (org-clock-out-hook): New hook.
4896 (org-clock-out): Run `org-clock-out-hook.
4897 (org-clock-cancel-hook): New hook.
4898 (org-clock-cancel): Run `org-clock-cancel-hook.
4899 (org-clock-goto-hook): New hook.
4900 (org-clock-goto): Run `org-clock-goto-hook.
4902 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4904 * org.el (org-store-link): Better default description for link to
4907 * org-exp.el (org-export-generic): Autoload the generic exporter
4909 (org-export): Implement the `g' key for the generic exporter.
4911 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4913 * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
4916 * org-exp.el (org-infile-export-plist): Get macros also from
4919 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4921 * org-colview.el (org-columns-capture-view): Protect vertical bars
4923 (org-columns-capture-view): Exclude comment and archived trees.
4925 * org-colview-xemacs.el (org-columns-capture-view): Protect
4926 vertical bars in column values.
4927 (org-columns-capture-view): Exclude comment and archived trees.
4929 * org.el (org-quote-vert): New function.
4931 * org-latex.el (org-export-latex-verbatim-wrap): New option.
4933 * org-exp.el (org-export-format-source-code-or-example): Use
4934 `org-export-latex-verbatim-wrap'.
4936 * org.el (org-clone-subtree-with-time-shift): Also shift inactive
4939 2009-08-06 Eric Schulte <schulte.eric@gmail.com>
4941 * org-exp-blocks.el: New file.
4943 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4945 * org-remember.el (org-remember-templates): Allow the headline
4946 element to be a function.
4947 (org-remember-apply-template): If the headline is a function, call
4948 it to get the true function.
4950 * org-clock.el (org-clock-menu): New function.
4951 (org-clock-update-mode-line): Update help string.
4952 (org-clock-modify-effort-estimate): New function.
4953 (org-clock-mark-default-task): New function.
4955 * org.el (org-hh:mm-string-to-minutes): Also take just a number of
4957 (org-org-menu): Add new clocking stuff.
4958 (org-clock-is-active): New function.
4960 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4962 * org.el (org-open-non-existing-files): Improve docstring.
4964 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4966 * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
4968 (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
4970 * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
4972 * org-list.el (org-get-checkbox-statistics-face): Use the new
4975 * org-faces.el (org-checkbox-statistics-todo)
4976 (org-checkbox-statistics-done): New faces.
4978 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4980 * org-latex.el (org-export-latex-use-verb): New variable.
4981 (org-export-latex-emph-format): Prefer \texttt over \verb when
4982 org-export-latex-use-verb is set.
4984 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4986 * org-remember.el (org-remember-handler): Abort remember if the
4989 * org-exp.el (org-export-format-source-code-or-example): Run
4990 `org-src-mode-hook'.
4992 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
4994 * org.el (org-indent-line-function): Fix indentation of +#end lines.
4996 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
4998 * org-gnus.el (org-gnus-store-link): Require message.el in
4999 org-gnus-store-link.
5001 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5003 * org-src.el: New file, split out of org.el.
5005 * org-macs.el (org-replace-match-keep-properties): New function.
5007 * org-exp.el (org-export-mark-blockquote-verse-center): Better
5008 preprocessing of center and quote and verse blocks.
5010 * org-list.el (org-list-end): Respect the stored "original"
5011 indentation when determining the end of the list.
5013 * org-exp.el (org-export-replace-src-segments-and-examples):
5014 Remember indentation correctly.
5016 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5018 * org-clock.el (org-clock-update-mode-line): Apply face
5019 org-mode-line-clock.
5021 * org-faces.el (org-mode-line-clock): New face.
5023 2009-08-06 Tassilo Horn <tassilo@member.fsf.org>
5025 * org-gnus.el (org-gnus-store-link): Fix bug where
5026 `org-gnus-store-link' used wrong subject when called in an article
5027 buffer. Patch provided by fengli AT gmail DOT com.
5029 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5031 * org-exp.el (org-export-format-source-code-or-example): Remember
5032 the original indentation of source code snippets and examples.
5034 * org-latex.el (org-export-as-latex): Relocate the table of
5037 * org.el (org-ctrl-c-ctrl-c): Update clock lines.
5039 * org-agenda.el (org-run-agenda-series): Scope global options also
5040 when creating the agenda buffer.
5042 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5044 * org.el (org-adapt-indentation): Improve documentation.
5045 (org-insert-property-drawer): Respect org-adapt-indentation when
5046 inserting the drawer.
5047 (org-remove-flyspell-overlays-in): New function.
5048 (org-do-emphasis-faces, org-activate-plain-links)
5049 (org-activate-code, org-fontify-meta-lines-and-blocks)
5050 (org-activate-angle-links, org-activate-footnote-links)
5051 (org-activate-bracket-links, org-activate-dates)
5052 (org-activate-target-links, org-activate-tags): Remove flyspell
5055 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5057 * org.el (org-edit-src-save): New function.
5059 * org-clock.el (org-clock-out-switch-to-state): New option.
5060 (org-clock-out): Honor `org-clock-out-switch-to-state'.
5062 * org-compat.el (org-compatible-face): Improve macro.
5064 * org.el (org-global-properties-fixed): Add default for
5065 CLOCK_MODELINE_TOTAL.
5067 * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
5069 (org-clock-sum-current-item): Optional argument TSTART, pass it to
5071 (org-clock-get-sum-start): New function.
5073 * org.el (org-startup-options): New keywords blockhide and
5075 (org-mode): Add new invisibility spec.
5076 (org-set-startup-visibility): Hide block on startup if so
5078 (org-hide-block-startup): New option.
5079 (org-block-regexp): New constant.
5080 (org-hide-block-overlays): New variable.
5081 (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
5082 (org-show-block-all, org-hide-block-toggle-maybe)
5083 (org-hide-block-toggle): New functions.
5084 (org-edit-src-exit): Do not quote lines starting with # and no +
5086 (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
5089 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5091 * org.el (org-buffer-property-keys): Add Effort property for
5094 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5096 * org-clock.el (org-clock-sum-current-item): Fix positioning bug
5097 when retrieving total clocked time in the subtree.
5099 * org.el (org-quoting-blocks): New variable.
5101 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5103 * org-table.el (org-table-store-formulas)
5104 (org-table-get-stored-formulas, org-table-fix-formulas)
5105 (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
5106 (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
5108 * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
5109 indented #+TBLFM line.
5111 * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
5112 indented #+TBLFM line.
5114 * org-colview.el (org-dblock-write:columnview): Allow indented
5117 * org-colview-xemacs.el (org-dblock-write:columnview): Allow
5118 indented #+TBLFM line.
5120 * org-clock.el (org-dblock-write:clocktable): Allow indented
5123 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5125 * org-exp.el (org-export-format-source-code-or-example): Make
5126 editing indented blocks work correctly.
5128 * org.el (org-edit-src-nindent): New variable.
5129 (org-edit-src-code, org-edit-fixed-width-region)
5130 (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
5131 editing indented blocks work correctly.
5133 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5135 * org-exp.el (org-export-replace-src-segments-and-examples): Find
5137 (org-export-format-source-code-or-example): Fix indentation of
5139 (org-export-remove-indentation): New function.
5140 (org-export-select-backend-specific-text): Allow backend-specific
5141 code to be indented.
5142 (org-export-mark-blockquote-verse-center): Allow markers to be
5145 * org.el (org-fontify-meta-lines): New function.
5146 (org-set-font-lock-defaults): Call the new fontification
5149 * org-faces.el (org-meta-line): New face.
5150 (org-block): New face.
5152 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5154 * org.el (org-treat-insert-todo-heading-as-state-change)
5155 (org-treat-S-cursor-todo-selection-as-state-change): New
5157 (org-insert-todo-heading): Honor
5158 `org-treat-insert-todo-heading-as-state-change'.
5159 (org-shiftright, org-shiftleft): Honor
5160 `org-treat-S-cursor-todo-selection-as-state-change'.
5161 (org-inhibit-logging): New variable.
5163 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5165 * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
5166 range for marker position checking.
5168 * org-latex.el (org-export-latex-first-lines): Fix bug when
5171 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5173 * org-exp.el (org-export-push-to-kill-ring): Protect using
5174 x-set-selection, because that does not always work.
5176 * org-agenda.el (org-agenda-list): Apply the new face
5177 `org-agenda-date-today'.
5179 * org-faces.el (org-agenda-date-today): New face.
5181 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5183 * org-agenda.el (org-agenda-to-appt): Turn off restriction when
5184 creating appointments.
5186 * org-latex.el (org-export-latex-low-levels): Fix customization
5189 * org.el (org-priority, org-shiftup, org-shiftdown): Disable
5192 * org-agenda.el (org-agenda-priority): Disable priority commands.
5194 * org.el (org-enable-priority-commands): New option.
5196 * org-colview-xemacs.el (org-columns-compute)
5197 (org-columns-number-to-string): Fix problems with empty fields.
5199 * org-colview.el (org-columns-compute)
5200 (org-columns-number-to-string): Fix problems with empty fields.
5202 * org-exp.el (org-export-push-to-kill-ring): New function.
5203 (org-export-copy-to-kill-ring): New option.
5205 * org-latex.el (org-export-as-latex): Call
5206 `org-export-push-to-kill-ring'.
5208 * org-exp.el (org-export-show-temporary-export-buffer): New
5211 * org-latex.el (org-export-as-latex): Use
5212 `org-export-show-temporary-export-buffer'.
5214 * org-exp.el (org-export-show-temporary-export-buffer): New
5216 (org-export-push-to-kill-ring): New function.
5218 * org-colview.el (org-columns-compile-map): New variable.
5219 (org-columns-new, org-columns-compute)
5220 (org-columns-number-to-string, org-columns-uncompile-format)
5221 (org-columns-compile-format): Implement new operators.
5223 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5225 * org-exp.el (org-export-plist-vars): Add :xml-declaration.
5227 * org-list.el (org-update-checkbox-count): Make property
5230 * org.el (org-hierarchical-todo-statistics): New option.
5231 (org-update-parent-todo-statistics): Modify to handle recursive
5234 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5236 * org-publish.el (org-publish): Make this function behave
5237 correctly in interactive use when called with a prefix argument.
5239 * org.el (org-todo-statistics-hook): New hook.
5240 (org-update-parent-todo-statistics): Use new hook.
5241 (org-log-into-drawer): New function.
5242 (org-add-log-setup): Use the new `org-log-into-drawer' function to
5243 determine if we should be logging into a drawer.
5244 (org-log-into-drawer): Update docstring.
5245 (org-default-properties): Add LOG_INTO_DRAWER as a property.
5247 * org-list.el (org-checkbox-statistics-hook): New hook.
5248 (org-update-checkbox-count-maybe): Use new hook.
5250 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5252 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
5253 better bufer-generating mechanism.
5254 (org-edit-src-find-buffer): New function.
5256 * org-icalendar.el (org-print-icalendar-entries): Don't check for
5257 archive tag, this is already done by `org-agenda-skip'.
5258 data while constructing lost of tags.
5260 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5262 * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
5263 as argument separator in macros.
5265 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5267 * org.el (org-after-sorting-entries-or-items-hook): New hook.
5268 (org-sort-entries-or-items): Run the new hook.
5269 (org-after-refile-insert-hook): New hook.
5270 (org-refile): Run `org-after-refile-insert-hook'.
5272 * org-agenda.el (org-agenda-get-progress): Never take time of day
5273 from headline when displaying progress.
5275 * org-latex.el (org-export-latex-complex-heading-re): New variable.
5276 (org-export-as-latex): Force the correct regexp in the
5277 preprocessor buffer.
5278 (org-export-latex-set-initial-vars): Set
5279 `org-export-latex-complex-heading-re'.
5281 * org-agenda.el (org-agenda-start-with-log-mode): New option.
5282 (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
5284 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5286 * org-latex.el (org-export-latex-tables-centered): New option.
5287 (org-export-latex-tables): Use `org-export-latex-tables-centered'.
5289 * org-exp.el (org-export-as-org): New command.
5290 (org-export-as-org): New command.
5292 * org-publish.el (org-publish-org-to-org): New function.
5294 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5296 * org.el (org-yank): Just call `org-yank-generic'.
5297 (org-yank-generic): New function, containing the formaer
5298 functionality of `org-yank'.
5300 * org-latex.el (org-export-latex-not-done-keywords)
5301 (org-export-latex-done-keywords): New variables.
5302 (org-export-latex-todo-keyword-markup): New option.
5303 (org-export-latex-set-initial-vars): Remember the TODO keywords.
5304 (org-export-latex-keywords-maybe): Apply the TODO markup.
5306 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5308 * org-exp.el (org-infile-export-plist): Add more default macros.
5309 (org-export-preprocess-apply-macros): Process macro arguments.
5311 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5313 * org-icalendar.el (org-icalendar-include-todo): New allowed value
5315 (org-print-icalendar-entries): Respect the new value of
5316 `org-icalendar-include-todo'.
5318 * org.el (org-link-try-special-completion)
5319 (org-file-complete-link): New functions.
5320 (org-insert-link): Add special completion support for some link
5323 * org-bbdb.el (org-bbdb-complete-link): New function.
5325 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5327 * org-list.el (org-update-checkbox-count): Allow recursive
5329 (org-hierarchical-checkbox-statistics): New option.
5331 * org.el (org-cycle): Remove erraneous space character.
5333 * org-icalendar.el (org-icalendar-timezone): Initialize from
5336 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5338 * org.el (org-autoload): Fix autoloading of ascii export
5340 (org-modules): Add org-special-blocks.
5342 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5344 * org-icalendar.el (org-start-icalendar-file): Use the new option.
5345 (org-ical-timezone): New option.
5347 * org-exp.el (org-export-get-coderef-format): Use the description
5350 * org.el (org-sort-entries-or-items): Improve docstring, and make
5351 better implementation for time sorting.
5353 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5355 * org.el (org-edit-src-persistent-message): New option.
5356 (org-edit-src-code, org-edit-fixed-width-region): Use the new
5359 * org-clock.el (org-clock-insert-selection-line): Fix prefious
5362 * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
5363 separate buffer instead of indirect buffer to edit source code.
5364 (org-edit-src-exit): Make this function work with the new setup.
5366 * org-clock.el (org-clock-insert-selection-line): Make sure tasks
5367 are properly fontified before shown in the selection menu.
5369 * org.el (org-fontify-like-in-org-mode): New function.
5371 * org-latex.el (org-export-latex-links): Use the property list to
5372 retrieve the default image attributes.
5374 * org-exp.el (org-export-plist-vars): Add a new option.
5376 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5378 * org-exp.el (org-export, org-export-visible): Support ASCII
5380 (org-export-normalize-links): Do not protect the description if it
5381 is explicitly given.
5383 * org-list.el (org-reset-checkbox-state-subtree): Move here from
5385 (org-reset-checkbox-state-subtree): Call
5386 `org-reset-checkbox-state-subtree'.
5388 * org-remember.el (org-select-remember-template): For the
5389 selection of a valid template.
5391 * org-latex.el (org-export-region-as-latex): Supply the
5392 force-no-subtree argument.
5393 (org-export-as-latex): Provide better limits when exporting the
5394 first line. When exporting to string, we still want the first
5396 (org-export-latex-first-lines): New argument END, to force the end
5398 (org-export-region-as-latex): Use the property list.
5399 (org-export-as-latex):
5401 * org-colview-xemacs.el (org-columns-remove-overlays)
5402 (org-columns): Fix call to `local-variable-p'.
5404 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5406 * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
5407 (org-export-latex-preprocess): Run the new hook.
5409 * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
5410 (org-export-preprocess-string): Run the new hook.
5412 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5414 * org-macs.el (org-check-external-command): New defsubst.
5416 * org.el (org-mode-map): New key for reload.
5417 (org-format-latex): Better error message when external programs
5420 * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
5422 * org.el (org-sort-entries-or-items): Explicit sorting function
5423 for priorities, needed for XEmacs compatibility.
5425 * org-remember.el (org-remember-apply-template): Improve auto-save
5428 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5430 * org-latex.el (org-export-latex-preprocess): Also protect
5431 environments ending in a star.
5433 * org-list.el (org-at-item-p): Fix regular expression.
5435 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5437 * org.el (org-end-of-subtree): Improve speed.
5439 * org-agenda.el (org-agenda-get-timestamps)
5440 (org-agenda-get-progress, org-agenda-get-deadlines)
5441 (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
5442 in particular, wait as long as possible to collect the tags.
5443 (org-stuck-projects): Improve docstring.
5445 * org.el (org-store-link): No errors when getting custom id before
5447 (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
5449 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5451 * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
5453 * org-protocol.el: Remove dependency on url.el.
5454 (org-protocol-unhex-compound, org-protocol-open-source): Remove
5455 dependency on url.el.
5457 * org-latex.el (org-export-as-pdf): Use
5458 `org-latex-to-pdf-process'.
5460 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5462 * org-latex.el (org-latex-to-pdf-process): New option.
5464 * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
5466 (org-agenda-get-timestamps): Honor
5467 `org-agenda-skip-additional-timestamps-same-entry'.
5469 * org-clock.el (org-clock-goto-may-find-recent-task): New option.
5470 (org-clock-goto): Find recent task only if
5471 `org-clock-goto-may-find-recent-task' allows it.
5473 * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
5474 drawers, and drawers that are missing the :END: line.
5476 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5478 * org-clock.el (org-clock-goto): Go to recently clocked task if no
5481 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5483 * org.el (org-update-parent-todo-statistics): Check for
5484 STATISTICS_FROM property.
5486 * org-list.el (org-update-checkbox-count): Check for
5487 STATISTICS_FROM property.
5489 * org.el (org-tab-first-hook)
5490 (org-tab-after-check-for-table-hook)
5491 (org-tab-after-check-for-cycling-hook): New hooks.
5492 (org-cycle-internal-global, org-cycle-internal-local): New
5493 functions, split out from `org-cycle'.
5494 (org-cycle): Call the new hooks.
5496 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5498 * org-exp.el (org-export-preprocess-string): Reset the list of
5499 preferred targets for each run of the preprocessor.
5501 * org.el (org-refile-target-verify-function): Improve
5503 (org-get-refile-targets): Respect point being moved by the
5504 verification function.
5506 * org-latex.el (org-export-latex-timestamp-keyword-markup): New
5508 (org-export-latex-keywords): Use new option.
5510 * org.el (org-rear-nonsticky-at): New defsubst.
5511 (org-activate-plain-links, org-activate-angle-links)
5512 (org-activate-footnote-links, org-activate-bracket-links)
5513 (org-activate-dates, org-activate-target-links)
5514 (org-activate-tags): Place the rear-nonsticky properties at the
5517 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5519 * org-protocol.el (server-edit): Declare `server-edit'.
5520 (org-protocol-unhex-string, org-protocol-unhex-compound): New
5522 (org-protocol-check-filename-for-protocol): Call `server-edit'.
5524 * org.el (org-default-properties): New default properteis for
5527 * org-exp.el (org-export-add-subtree-options): Add new properties
5530 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5532 * org-id.el (org-id-get-with-outline-path-completion): Turn off
5533 org-refile-target-verify-function for the duration of the command.
5535 * org.el (org-link-to-org-use-id): New possible value
5536 `create-if-interactive-and-no-custom-id'.
5537 (org-store-link): Use custom IDs.
5538 (org-link-search): Find custom ID properties from #link.
5539 (org-default-properties): Add CUSTOM_ID for property completion.
5540 (org-refile-target-verify-function): New option.
5541 (org-goto): Turn off org-refile-target-verify-function
5542 for the duration of the command.
5544 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5546 * org-exp.el (org-export-preferred-target-alist): New variable.
5547 (org-export-define-heading-targets): Find the new CUSTOM_ID
5549 (org-export-target-internal-links): Target the custom ids when
5552 * org-latex.el (org-export-latex-preprocess): Better regexp for
5553 matching latex macros with arguments.
5555 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5557 * org-remember.el (org-remember-handler): Allow filing to non-org
5560 2009-08-06 Magnus Henoch <magnus.henoch@gmail.com>
5562 * org-table.el (org-table-fix-formulas): Do not change references
5564 (org-table-get-remote-range): Convert standard coordinates to RC
5567 * org-latex.el (org-export-latex-keywords): Fix regexp bug.
5569 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5571 * org-compat.el (org-sha1-string): Function removed.
5573 * org.el (org-refile-allow-creating-parent-nodes): New option.
5574 (org-refile-get-location): New argument NEW-NODES.
5575 (org-refile): Call `org-refile-get-location' with the new
5577 (org-refile-get-location): Arrange for adding a new child.
5578 (org-refile-new-child): New function.
5580 * org-clock.el: Fix a number of docstrings.
5581 (org-clock-find-position): New argument
5582 FIND-UNCLOSED to make the function find an unclosed clock in the
5584 (org-clock-in): Call `org-clock-find-position' with the new
5585 argument if we might be resuming a clock.
5587 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5589 * org-latex.el (org-export-latex-display-custom-times): New variable.
5590 (org-export-latex-timestamp-markup): New option.
5591 (org-export-latex-set-initial-vars): Remember the local value of
5592 `org-display-custom-times'.
5593 (org-export-latex-content): Process time stamps.
5594 (org-export-latex-time-stamps): New function.
5596 * org-macs.el (org-maybe-intangible): Add intangible property
5597 again to invisible text.
5599 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5601 * org-exp.el (org-default-export-plist): Handle undefined
5604 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5606 * org.el (org-sort-entries-or-items): Match TODO keywrds
5607 case-sensitively, when sorting.
5608 (org-priority): Do not match TODO keywords with wrong case.
5610 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5612 * org.el (org-todo): Honor the NOBLOCKING property.
5614 * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
5615 NOBLOCKING property.
5617 * org.el (org-scan-tags): Fix bug in tag scanner.
5619 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5621 * org.el (org-modules): Mark obsolete packages.
5623 * org-html.el: New file, split out from org-exp.el.
5625 * org-icalendar.el: New file, split out from org-exp.el.
5627 * org-xoxo.el: New file, split out from org-exp.el.
5629 * org-ascii.el: New file, split out from org-exp.el.
5631 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5633 * org-compat.el (org-find-library-name): New function.
5635 * org.el (org-pre-cycle-hook): New hook.
5636 (org-cycle): Call the new hook in appropriate places.
5637 (org-reload): Only reload files that have been loaded before.
5639 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5641 * org.el (org-set-font-lock-defaults): Enforxe space or line end
5643 (org-todo): When changing TODO state, do matching
5645 (org-map-continue-from): New variable.
5646 (org-scan-tags): Respect values in `org-map-continue-from'.
5647 (org-reload): Make XEmacs compatible.
5649 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5651 * org-protocol.el (org-protocol-flatten-greedy): New function.
5652 (org-protocol-flatten): New function.
5654 * org.el (org-open-link-from-string): Pass reference buffer to
5655 `org-open-at-point'.
5656 (org-open-at-point): New optional argument `reference-buffer'.
5658 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5660 * org.el (org-scan-tags): Make tag scan find headline in first
5662 (org-get-refile-targets): Add the naked file name.
5663 (org-refile): Store as top-level entry when only file name was
5666 * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
5668 * org.el (org-block-todo-from-children-or-siblings-or-parent):
5669 Rename from org-block-todo-from-children-or-siblings, and
5670 enhanced to look for the parent's status as well.
5672 * org-agenda.el (org-agenda-log-mode-add-notes): New option.
5673 (org-agenda-get-progress): Add first notes line to log entry if so
5676 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5678 * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
5679 (org-agenda-cleanup-fancy-diary): Call the new hook.
5681 * org-remember.el (org-remember-apply-template): Take the default
5682 for the annotation from the :annotation property.
5684 * org-mac-message.el (org-mac-message-get-link): Remove the
5686 (org-mac-message-get-link): Return the result.
5688 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5690 * org.el (org-refile-get-location): Add file name only if not
5691 already included in outline path.
5693 * org-faces.el (org-n-level-faces): Fix customization type from
5696 * org-exp.el (org-export-headline-levels): Fix customization type
5697 from number to integer.
5699 * org-agenda.el (org-agenda-confirm-kill)
5700 (org-agenda-custom-commands-local-options)
5701 (org-timeline-show-empty-dates, org-agenda-ndays)
5702 (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
5703 customization type from number to integer.
5705 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5707 * org-protocol.el: Declare some functions.
5709 * org-agenda.el (org-agenda-compare-effort): Honor
5710 `org-sort-agenda-noeffort-is-high'.
5711 (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
5712 (org-agenda-compare-effort): Implement the "?" operator for
5713 finding entries without effort setting.
5715 * org.el (org-extract-attributes-from-string): New function.
5717 * org-exp.el (org-export-splice-attributes): New function.
5719 2009-08-06 Bastien Guerry <bzg@altern.org>
5720 Daniel M German <dmg@uvic.org>
5721 Sebastian Rose <sebastian_rose@gmx.de>
5722 Ross Patterson <me@rpatterson.net>
5724 * org-protocol.el: New file.
5726 2009-08-06 Baoqiu Cui <cbaoqiu@yahoo.com>
5728 * org-docbook.el: New file.
5730 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5732 * org-mouse.el: XEmacs compatibility fixes.
5734 * org.el (org-modules): Add org-inlinetasks.el.
5735 (org-cycle): Implement limiting level on cycling.
5736 (org-move-subtree-down): Fix bug with swapping subtrees at end of
5739 * org-inlinetask.el: New file.
5741 * org.el (org-emphasis-regexp-components): Allow braces in
5742 emphasis pre and post match.
5744 * org-footnote.el (org-footnote-normalize): When only sorting, do
5745 not insert inline notes at the end.
5747 * org.el (org-require-autoloaded-modules): Add org-docbook.el.
5749 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5751 * org.el (org-reftex-citation): New command.
5753 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5755 * org-agenda.el (org-agenda-cmp-user-defined): New option.
5756 (org-sorting-choice, org-agenda-sorting-strategy): Add the new
5758 (org-entries-lessp): Apply the new sorting option.
5760 * org.el (org-block-todo-from-children-or-siblings): Fix bug in
5761 blocker code, when an older sibling has children.
5763 * org-mac-message.el (org-mac-message-get-link): Improve getting
5764 links from multiple selected messages.
5766 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5768 * org-remember.el (org-remember-finalize): Do not set buffer file
5770 (org-remember-handler): Mark buffer as unmodified.
5771 (org-remember-handler): Delete backup file and show message about
5772 remaining backup files.
5773 (org-remember-auto-remove-backup-files): New option.
5775 * org.el (org-store-link): Use buffer name as link description in
5777 (org-ido-switchb): Fix argument bug for completion.
5779 * org-remember.el (org-remember-apply-template): Set local
5780 variable `auto-save-visited-file-name' instead of global one.
5782 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5784 * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
5785 (org-agenda-get-todos): Mark file tags as inherited.
5786 (org-agenda-list): Always search diary lines for a time.
5788 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5790 * org-feed.el: New file.
5792 * org-exp.el (org-export-as-html): Close local lists depending on
5793 indentation, also when starting a table.
5795 * org-remember.el (org-remember-backup-directory)
5796 (org-remember-backup-name): New internal variable.
5798 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5800 * org-clock.el (org-clock-out-if-current): Make buffer detection
5801 work in indirect buffers as well.
5803 * org.el (org-emphasis-regexp-components): Add the exxclamation
5804 mark to the post-emphasis characters.
5806 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5808 * org.el (org-read-date-minibiffer-septup-hook): New hook.
5809 (org-read-date): Run the new hook.
5811 * org-mac-message.el (org-mac-flagged-mail): New group.
5812 (org-mac-mail-account): New variable.
5813 (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
5816 * org-remember.el (org-remember-backup-directory): New variable.
5817 (org-remember-apply-template): Write file to backup directory.
5819 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5821 * org-mouse.el (org-mouse-todo-menu): New function.
5822 (org-mouse-todo-keywords): Function removed.
5823 (org-mouse-context-menu): Use `org-mouse-todo-menu'.
5825 * org-table.el (org-table-beginning-of-field)
5826 (org-table-end-of-field): New commands.
5827 (org-table-previous-field, org-table-beginning-of-field): Better
5829 (orgtbl-setup): Include `M-a' and `M-e'.
5831 * org.el (org-backward-sentence, org-forward-sentence): New
5834 * org-colview.el (org-colview-initial-truncate-line-value): New
5836 (org-columns-remove-overlays): Restore the value of `truncate-lines'.
5837 (org-columns): Remember the value of `truncate-lines'.
5839 * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
5841 (org-columns-remove-overlays): Restore the value of
5843 (org-columns): Remember the value of `truncate-lines'.
5845 * org.el (org-columns-skip-arrchived-trees): New option.
5847 * org-agenda.el (org-agenda-export-html-style): Define color for
5848 org-agenda-done face.
5849 (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
5850 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
5852 * org.el (org-scan-tags): Use the new face.
5854 * org-faces.el (org-agenda-done): New face.
5856 * org.el (org-scan-tags): Test the value org
5857 `org-tags-match-list-sublevels'.
5858 (org-tags-match-list-sublevels): New allowed value: indented.
5860 * org-latex.el (org-export-latex-make-header): Apply macros
5863 * org-exp.el (org-export-apply-macros-in-string): New function.
5865 * org-latex.el (org-export-latex-list-parameters): Fix bug
5866 with the definition of a checked box.
5868 * org-clock.el (org-clock-find-position): Fix drawer indentations.
5870 * org-latex.el (org-export-latex-low-levels): More options
5871 for how to process lower levels in LaTeX.
5872 (org-export-latex-subcontent): Better treatment for lists as a
5873 means of publishing lower levels.
5875 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5877 * org.el (org-set-font-lock-defaults): Use new checkbox face.
5879 * org-faces.el (org-checkbox): New face.
5881 * org-exp.el (org-export-html-preprocess): Only create LaTeX
5882 fragement images if there is an export file.
5884 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5886 * org-agenda.el (org-stuck-projects): Document that the subtree of
5887 projects that are not stuck will now be searched for stuck
5889 (org-agenda-skip-entry-when-regexp-matches)
5890 (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
5891 (org-agenda-list-stuck-projects): Use
5892 `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
5894 * org-latex.el (org-export-latex-preprocess): Improve
5897 * org-exp.el (org-export-as-html): Implement centering as a div
5898 rather than a paragraph. Do a better job with line-end in verse
5901 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5903 * org.el (org-open-at-point): Fix tags searches by mouse click.
5905 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5907 * org-latex.el (org-export-latex-preprocess): Implement the
5910 * org-exp.el (org-export-mark-blockquote-verse-center): Rename
5911 from `org-export-mark-blockquote-and-verse'.
5912 (org-export-as-html): Implement the centering markup.
5914 * org-latex.el (org-export-latex-tables): Fix vertical
5917 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5919 * org.el (org-read-date-history): New variable.
5920 (org-read-date): Use new history variable.
5921 (org-toggle-heading): Fix bug when used before first headline.
5922 (org-store-log-note): Remove drawer if empty while note is
5924 (org-remove-empty-drawer-at): New function.
5925 (org-check-after-date): New command.
5926 (org-sparse-tree): New sparse tree command "a".
5928 * org-exp.el (org-export-as-ascii): Improve export of plain lists.
5930 2009-08-06 Bastien Guerry <bzg@altern.org>
5932 * org.el (org-toggle-fixed-width-section): Bug fix: insert a
5933 column and a space, not only a column.
5935 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5937 * org-latex.el (org-export-latex-emphasis-alist): Better
5938 defaults for verbose emphasis.
5939 (org-export-latex-emph-format): New function.
5940 (org-export-latex-fontify): Call `org-export-latex-emph-format'.
5942 * org-agenda.el (org-agenda-menu): Add new commands to menu.
5943 (org-agenda-do-date-later, org-agenda-do-date-earlier)
5944 (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
5945 (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
5948 * org.el (org-timestamp-change): Move end-time along with start
5951 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5953 * org-exp.el (org-export-target-internal-links)
5954 (org-export-as-html): Protect links specified as #name.
5956 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5958 * org.el (org-clone-subtree-with-time-shift): New command.
5960 * org-latex.el (org-export-latex-special-chars)
5961 (org-export-latex-treat-sub-super-char): Fix subscript export.
5963 * org-exp.el (org-create-multibrace-regexp): Do not add
5964 backslashes to the class.
5966 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5968 * org-colview.el (org-columns-map): Better functions for moving up
5969 and down a row, even if `truncate-line' is nil.
5971 * org.el (org-insert-todo-heading): Make sure the keyword is
5972 inserted at the correct position.
5974 * org-publish.el (org-publish-project-alist)
5975 (org-publish-projects, org-publish-org-index): Change default anme
5976 for the index of file names to "sitemap.org".
5978 * org-latex.el (org-export-latex-tables): Use
5979 `org-split-string', for Emacs 21 compatibility.
5981 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5983 * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
5985 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
5987 * org-exp.el (org-export-page-description)
5988 (org-export-page-keywords): New variables.
5989 (org-export-plist-vars): Add entries for :keywords and
5991 (org-infile-export-plist): Parse for new keywords.
5992 (org-get-current-options): Add new keywords.
5993 (org-export-as-html): Publish description and keywords.
5995 * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
5997 (org-agenda-add-entry-text): Honor
5998 `org-agenda-add-entry-text-descriptive-links'.
6000 * org-latex.el (org-export-latex-preprocess): Make all
6001 external preprocess functions use a PARAMETER arg.
6003 * org-exp.el (org-export-preprocess-string)
6004 (org-export-select-backend-specific-text)
6005 (org-export-format-source-code-or-example)
6006 (org-format-org-table-html): Support docbook export.
6007 (org-export-preprocess-string): Make all external preprocess
6008 functions use a PARAMETER arg.
6010 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6012 * org-exp.el (org-export-html-style-include-scripts): New option.
6013 (org-export-plist-vars): Add new option
6014 `org-export-html-style-include-scripts'.
6015 (org-export-as-html): Honor new option
6016 `org-export-html-style-include-scripts'.
6017 (org-export-html-scripts, org-export-html-style-default): Fix
6018 xml issues with the Safari browser.
6020 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6022 * org-publish.el (org-publish-attachment): Only copy file when the
6025 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6027 * org-clock.el (org-clocktable-steps): Use inactive time stamps
6028 for clocktable steps.
6030 * org.el (org-additional-option-like-keywords): Add two more
6033 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6035 * org-exp.el (org-export-format-source-code-or-example): Mark
6036 temporary buffer unmodified, so that it will be killed even if
6037 mode like message mode has decided to assign a file name.
6039 * org.el (org-scan-tags): Improve tag inheritance.
6040 (org-scan-tags, org-make-tags-matcher): Make tag comparison
6042 (org-scan-tags): Use the internal tags list instead of creating it
6044 (org-trust-scanner-tags, org-scanner-tags): New variables.
6045 (org-scan-tags): Set `org-scanner-tags'.
6046 (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
6047 (org-map-entries): Document the possible speedup using scanner
6050 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6052 * org.el (org-add-planning-info): Fix bug with looking for keyword
6055 * org-agenda.el (org-agenda-custom-commands-local-options): Add
6056 option for tags filter preset.
6057 (org-prepare-agenda): Store filter preset as a property on the
6059 (org-finalize-agenda): Call the filter, if there is a preset.
6060 (org-agenda-filter-by-tag): Filter again after clearing the
6061 filter, when there still is a preset.
6062 (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
6063 Include the preset filter.
6064 (org-agenda-redo): Apply the filter again, also the preset filter.
6066 * org-exp.el (org-export-as-html): Use IDs in the correct way.
6068 * org.el (org-uuidgen-p): New funtion.
6070 * org-agenda.el (org-agenda-fontify-priorities): New default value
6072 (org-agenda-fontify-priorities): Rename from
6073 org-fontify-priorities.
6075 * org.el (org-set-font-lock-defaults): Call
6076 `org-font-lock-add-priority-faces'.
6077 (org-font-lock-add-priority-faces): New function.
6079 * org-faces.el (org-set-tag-faces): New option.
6080 (org-priority-faces): New variable.
6082 * org-exp.el (org-export-as-html): Add a "content" div around the
6083 entire content of the body tag.
6084 (org-export-html-get-bibliography): New function.
6085 (org-export-html-validation-link): New variable.
6086 (org-export-as-html): Add validation link to exported page.
6088 * org.el (org-match-sparse-tree): Rename from
6089 `org-tags-sparse-tree'.
6090 (org-tags-sparse-tree): New alias.
6092 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6094 * org.el (org-get-valid-level): Catch the case where the level
6097 * org-clock.el (org-clock-find-position): Better indentation of
6100 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6102 * org-agenda.el (org-agenda-quit): Delete window only when the
6103 frame-setup was not `current-window'.
6105 * org.el (org-tag-persistent-alist): New option.
6106 (org-startup-options): Add keyword `noptag'.
6107 (org-fast-todo-selection): Handle :newline correctly.
6108 (org-set-tags): Handle :newline correctly.
6109 (org-fast-tag-selection): Handle :newline correctly.
6111 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6113 * org-exp.el (org-export-as-ascii): Reverse link buffer before
6115 (org-export-ascii-push-links): Fix bug with pussing links into the
6118 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6120 * org-archive.el (org-archive-subtree): Do not add 1 to level if
6121 pasting at top level.
6123 * org-bbdb.el: Improve documentation.
6125 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6127 * org-list.el (org-insert-item): Only consider insert empty lines
6128 is `org-empty-line-terminates-plain-lists' is not nil.
6130 * org.el (org-blank-before-new-entry): Mention the dependence on
6131 `org-empty-line-terminates-plain-lists' in the docstring.
6133 * org-publish.el (org-publish-get-project-from-filename): New
6134 optional argument UP. Only find the top project if UP is set.
6135 (org-publish-current-project): Find the top encloding project.
6137 * org-agenda.el (org-agenda-before-write-hook)
6138 (org-agenda-add-entry-text-maxlines): New options.
6139 (org-write-agenda): Run the new hook in the temporary buffer.
6140 (org-agenda-add-entry-text): New function.
6141 (org-write-agenda): Implement PDF export, using ps2pdf.
6143 * org.el (org-global-properties-fixed, org-global-properties):
6144 Improve documentation string.
6146 * org-exp.el (org-export-ascii-links-to-notes): New option.
6147 (org-export-as-ascii): Handle links better.
6148 (org-export-ascii-wrap, org-export-ascii-push-links): New
6151 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6153 * org-agenda.el (org-agenda): Make prefix arg optional.
6154 (org-agenda-search-headline-for-time): New option.
6155 (org-format-agenda-item): Honor
6156 `org-agenda-search-headline-for-time'.
6158 * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
6161 * org.el (org-self-insert-cluster-for-undo): New option.
6162 (org-self-insert-command): Cluster undo for 20 characters.
6163 (org-self-insert-command-undo-counter): New variable.
6165 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6167 * org-exp.el (org-export-as-html): Fix problem with closing colone
6170 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6172 * org-latex.el (org-export-as-latex)
6173 (org-export-latex-first-lines): Avoid modification flag when
6174 adding or removing text properties.
6175 (org-export-latex-fontify): Catch error when org-emph-alist has
6176 entries that are not defined for LaTeX export.
6178 * org-export-latex.el: Rename to org-latex.el.
6180 * org-latex.el: Rename from org-export-latex.el.
6182 * org.el (orgstruct++-mode): New function.
6183 (turn-on-orgstruct++): Call `orgstruct++-mode'.
6184 (org-context-p): Allow detecting item context after the first line
6186 (orgstruct-make-binding): Detect if item-body context should be
6188 (orgstruct-is-++): New variable.
6189 (org-add-planning-info): Catch the case when there is no planning
6190 info yet and the call does not want to add anything, only maybe
6191 tries to remove something.
6192 (org-special-ctrl-a/e): All value to be a cons cell with separate
6193 settings for `C-a' and `C-e'.
6194 (org-beginning-of-line, org-end-of-line): Honor separate values
6195 for `C-a' and `C-e'.
6197 2009-08-06 Carsten Dominik <carsten.dominik@gmail.com>
6199 * org.el (org-reload): New command.
6201 2009-06-05 Tassilo Horn <tassilo@member.fsf.org>
6203 * org-gnus.el (org-gnus-store-link): Fix bug where
6204 org-gnus-store-link used wrong subject when called in an article
6205 buffer. Patch provided by fengli AT gmail DOT com.
6207 2009-03-13 D. Goel <deego3@gmail.com>
6209 * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
6210 replace ls by (values-list ls).
6212 2009-02-20 Carsten Dominik <dominik@science.uva.nl>
6214 * org-remember.el (org-remember-apply-template): Turn off ido for
6217 * org.el (org-priority): Also find invisible headings, for remote
6219 (org-completing-read-no-ido): New function.
6220 (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
6222 * org-colview.el (org-columns-edit-value): No special treatment of
6225 2009-02-19 Carsten Dominik <dominik@science.uva.nl>
6227 * org.el (org-block-todo-from-children-or-siblings): Use
6228 `org-up-heading-all' so that this will work correctly with hidden
6229 property drawers and entries.
6230 (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
6231 falling back to normal, default command.
6232 (org-get-location): Temporarily turn off special behavior.
6234 2009-02-13 Glenn Morris <rgm@gnu.org>
6236 * org-rmail.el (rmail-show-message): Restore argument list to the
6237 declaration now that this functions behaves in Emacs 23 as in 22.
6239 2009-02-12 Glenn Morris <rgm@gnu.org>
6241 * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
6243 2009-02-12 Joachim Reiter <Reiter.Joachim@web.de> (tiny change)
6245 * org-footnote.el (org-footnote-action): Fix doc typo.
6247 2009-02-06 Carsten Dominik <dominik@science.uva.nl>
6249 * org-exp.el (org-export-preprocess-string): Fix bug with skipping
6250 text before first headline.
6251 (org-export-remove-or-extract-drawers): Fix regular expression for
6254 * org.el (org-format-latex): Stop LaTeX fragment processing in
6257 2009-02-05 Glenn Morris <rgm@gnu.org>
6259 * org-rmail.el (rmail-show-message): Update declaration.
6260 (rmail-buffer, rmail-view-buffer): Declare.
6261 (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
6263 2009-02-04 Carsten Dominik <dominik@science.uva.nl>
6265 * org.el (org-return-follows-link): Revert setting
6266 `org-return-follows-link' to t by default.
6268 2009-02-02 Carsten Dominik <dominik@science.uva.nl>
6270 * org.el (org-cycle-global-at-bob): Fix typo.
6272 * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
6274 2009-02-02 Carsten Dominik <carsten.dominik@gmail.com>
6276 * org.el (org-mode): Make dependence stuff work more reliably.
6277 (org-update-parent-todo-statistics): Fix bug with updating
6279 (org-yank-adjusted-subtrees, org-return-follows-link)
6280 (org-use-fast-todo-selection, org-tags-column): New default
6281 setting for variables.
6283 * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
6284 ~ as verbatim delimiters, to avoid table bug.
6285 (org-export-latex-classes): Remove the a4paper option from the
6288 * org-exp.el (org-export-html-format-image): New argument
6289 PAR-OPEN, to fix XHTM validation bug.
6290 (org-export-as-html): Pass par-open to
6291 `org-export-html-format-image'.
6292 (org-export-html-footnotes-section): Use a more consistent id for
6295 * org-agenda.el (org-agenda-sorting-strategy)
6296 (org-agenda-tags-column): New default setting for variables, based
6297 on a poll what typical uses use.
6298 (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
6299 setting the blocked tag.
6301 2009-01-31 Carsten Dominik <dominik@science.uva.nl>
6303 * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
6304 only checking for blocks.
6306 * org-exp.el (org-export-html-footnotes-section): Make the div id
6309 * org-export-latex.el (org-export-latex-classes): Remove
6310 paper size option from LaTeX classes.
6312 2009-01-31 Carsten Dominik <carsten.dominik@gmail.com>
6314 * org.el (org-enforce-todo-checkbox-dependencies): New option.
6315 (org-block-todo-from-checkboxes): New function.
6316 (org-todo): Make tripple prefix arg circumvent blocking.
6318 2009-01-30 Glenn Morris <rgm@gnu.org>
6320 * org-list.el (org-empty-line-terminates-plain-lists)
6321 (org-toggle-checkbox): Doc fixes.
6323 * org-table.el (org-table-clean-before-export): Fix declaration.
6325 2009-01-30 Carsten Dominik <carsten.dominik@gmail.com>
6327 * org-timer.el (org-timer): Provide the timer feature.
6329 * org.el (org-require-autoloaded-modules): Add a few more files to
6330 the list of autoloaded modules.
6332 * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
6334 * org-exp.el (org-export-remove-or-extract-drawers): Only remove
6335 drawers that are unprotected.
6336 (org-export-html-format-image): Make sure inlined LaTeX fragment
6337 images remain inlined.
6339 * org.el (org-toggle-ordered-property): New function.
6340 (org-mode-map): Add a key for `org-toggle-ordered-property'.
6341 (org-org-menu): Add menu entries for TODO dependencies.
6343 * org.el (org-default-properties): Add ORDERED to the default
6344 properties, to get completion support for it.
6346 * org-list.el (org-update-checkbox-count): Update more than one cookie.
6348 * org.el (org-update-parent-todo-statistics): Update more than one
6351 2009-01-28 Carsten Dominik <carsten.dominik@gmail.com>
6353 * org-agenda.el (org-agenda-get-todos): Start search from correct
6356 * org.el (org-fast-todo-selection): Make sure TODO selection does
6357 not change buffer position.
6359 * org-list.el (org-toggle-checkbox): Implement adding or removing
6360 checkboxes from line or region when called with a prefix
6363 * org-rmail.el (org-rmail-store-link): Protect the call to
6364 `rmail-narrow-to-non-pruned-header'.
6366 * org-clock.el (org-clock-special-range): Fix week display in
6369 * org-exp.el (org-get-current-options): Fix bug when in indirect
6372 * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
6373 (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
6374 (org-agenda-dim-blocked-tasks): New function.
6376 * org.el (org-enforce-todo-dependencies): New option.
6377 (org-block-todo-from-children-or-siblings): New function.
6379 * org-faces.el (org-agenda-dimmed-todo-face): New face.
6381 2009-01-27 Carsten Dominik <carsten.dominik@gmail.com>
6383 * org.el (org-todo): Return correct state type even if the blocker
6385 (org-modifier-cursor-error): Rename from
6386 `org-shiftcursor-error'.
6387 (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
6388 (org-shiftmetadown): Call `org-modifier-cursor-error'.
6390 * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
6391 to get real errors from the blocker hook.
6393 * org.el (org-shiftselect-error, org-call-for-shift-select): New
6395 (org-set-visibility-according-to-property): Turn off the setting
6396 of `org-show-entry-below', to avoid overruling a FOLDED visibility
6399 * org.el (org-support-shift-select): New option.
6400 (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
6401 (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
6402 selection outside contexts.
6404 * org-list.el (org-at-item-bullet-p): New function.
6406 * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
6409 * org-footnote.el (org-footnote-normalize): Remove unnecessary
6411 (org-insert-footnote-reference-near-definition): Remove
6412 unnecessary let form.
6414 2009-01-26 Carsten Dominik <dominik@science.uva.nl>
6416 * org-export-latex.el (org-export-as-latex): Call
6417 `org-export-latex-first-lines' with OPT-PLIST as a parameter.
6418 (org-export-latex-first-lines): New parameter OPT-PLIST.
6420 * org.el (org-yank): Tell `delete-selection-mode' about
6423 * org-faces.el (org-clock-overlay): Fix face definition.
6425 * org-export-latex.el (org-export-latex-first-lines): Pass
6426 timestamp and footnote parameters to the preprocessor.
6428 * org-exp.el (org-export-remove-timestamps): Do not remove time
6429 stamps inside tables.
6431 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6433 * org-exp.el (org-export-as-html): Turn \par into a paragraph.
6435 * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
6438 * org-table.el (org-table-insert-hline): Fix typo in fuction call
6441 * org-exp.el (org-export-as-html): Remove the initial space from
6444 * org.el (org-scan-tags): Call
6445 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
6447 * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
6448 customization groups.
6449 (org-agenda-tags-todo-honor-ignore-options): New option.
6450 (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
6452 (org-agenda-get-todos): Use
6453 `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
6455 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6457 * org-exp.el (org-export-format-source-code-or-example): Escape
6458 HTML characters also in examples that anre not treated with
6459 htmlize. Also, just switch to EXAMPLE processing if we do not
6460 have a good version of htmlize.
6462 * org-rmail.el: Fix copyright notice.
6464 * org.el (org-activate-footnote-links): Improve footnote link
6467 * org-footnote.el (org-footnote-normalize): Fix finding the end of
6468 a footnote definition at the end of the file.
6470 * org-table.el (org-table-get-specials): Add an imagined hline at
6471 the end of the table. This can be useful for references that want
6472 to go to the end of the table. Also fix bug when computing last
6473 row constants, in tables that do not start right at the right
6475 (org-table-eval-formula): Match and replace remove references.
6476 (org-table-formula-substitute-names): Make sure that names inside
6477 a "remote" call are left alone, the will be replaced later when
6478 the remote call is handled.
6479 (org-table-convert-refs-to-rc): Do not convert things that might
6480 look like a reference, but are really part of an ID or namei n a
6482 (org-table-get-remote-range): New function.
6484 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6486 * org-faces.el (org-clock-overlay): Fix bug in face definition.
6488 * org-clock.el (org-clock-put-overlay): Use new face instead of
6489 `secondary-selection'.
6491 * org-faces.el (org-clock-overlay): New face.
6493 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6495 * org-exp.el (org-get-current-options): Include the option for
6496 publishing time stamps.
6498 * org.el (org-toggle-heading): Rename from
6499 `org-toggel-region-headings'.
6500 No longer needs a region defined, but will use it if there is one.
6501 (org-ctrl-c-star): Simplify, relying more on the internal
6502 workings of `org-toggle-heading'.
6503 (org-toggle-item): Rename from `org-toggle-region-items'.
6504 No longer needs a region defined, but will use it if there is one.
6505 (org-ctrl-c-minus): Simplify, relying more on the inernal
6506 workings of `org-toggle-item'.
6508 * org-export-latex.el (org-export-latex-preprocess): Fix bug in
6509 environment detection. Also, do real changes only in unprotected
6512 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6514 * org-export-latex.el (org-export-latex-quotation-marks): Use
6515 `org-if-unprotected-1'.
6516 (org-export-latex-set-initial-vars): Check for class definition in
6519 * org-macs.el (org-if-unprotected-1): New macro.
6521 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6523 * org-compat.el (org-count-lines): New function.
6525 * org-exp.el (org-export-format-source-code-or-example): Handle
6526 switches related to text areas.
6528 * org.el (org-activate-footnote-links): Don't allow match inside a
6531 * org-footnote.el (org-footnote-re): Don't allow match inside a link.
6533 * org-export-latex.el (org-export-latex-links): Keep a relative
6534 path relative also after export.
6536 * org-exp.el (org-export-html-scripts): Fix HTML snippet.
6538 * org.el (org-make-tags-matcher): Never use IDO for completing the
6539 tags matcher match string.
6540 (org-completing-read): Also remove the special biding for "?".
6542 * org-attach.el (org-attach-allow-inheritance): New option.
6543 (org-attach-inherited): New variable.
6544 (org-attach-dir): Handle properties related to the attachment
6546 (org-attach-check-absolute-path): New function.
6547 (org-attach-set-directory, org-attach-set-inherit): New commands.
6548 (org-attach): Accommodate the new commands in the dispatcher.
6550 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6552 * org-compat.el (org-fit-window-to-buffer): Fix bug with using
6553 `window-full-width-p'.
6555 * org-exp.el (org-export-as-html): Only check for images files
6556 that really can be inlined.
6558 * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
6559 list of extensions to be a parameter.
6561 * org-exp.el (org-export-html-inline-image-extensions): New
6564 * org-agenda.el (org-prepare-agenda): Use
6565 `org-agenda-block-separator'.
6566 (org-agenda-block-separator): New option.
6568 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6570 * org-export-latex.el (org-export-latex-tables): Call
6571 `org-table-clean-before-export' with the new optional argument.
6573 * org-exp.el (org-table-clean-before-export): New optional
6574 parameter MAYBE-QUOTED, allows for quoted characters like \# in
6577 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6579 * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
6582 * org-colview.el (org-colview-construct-allowed-dates): Better
6583 error catching when a date/time property does not have allowed
6586 * org-colview-xemacs.el (org-colview-construct-allowed-dates):
6587 Better error catching when a date/time property does not have
6588 allowed values defined.
6590 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6592 * org.el (org-map-entries): Restore point and restriction after
6595 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6597 * org.el (org-time=, org-time<, org-time<=, org-time>)
6598 (org-time>=, org-time<>): Make sure both values are dates.
6600 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6602 * org-archive.el (org-extract-archive-heading): Allow %s for file
6603 name also in achive location heading.
6605 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6607 * org-archive.el (org-add-archive-files): Uniquify the list before
6610 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6612 * org-compat.el (org-fit-window-to-buffer): Use
6613 `window-full-width-p'.
6615 * org-export-latex.el (org-export-latex-fixed-width): Enforce the
6616 space after the colon in short examples.
6618 * org-exp.el (org-export-protect-colon-examples): Rewritten, to
6619 enforce a space after the colon. However, we also allow lines
6620 that are *only* a colon.
6621 (org-export-as-html): Enforce the space after the colon in short
6623 (org-export-preprocess-string): Do the colon example protection
6625 (org-export-remove-timestamps): Do not check for protection at the
6628 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6630 * org.el (org-format-latex-options): Add new matcher for single
6631 letters between dollars.
6632 (org-get-header): Function removed.
6633 (org-heading-components): New function.
6635 * org-exp.el (org-export-define-heading-targets): Record ID's also
6636 as alternative targets.
6637 (org-export-as-html): Interpret "id:" links to other files by
6638 preserving the relative path.
6640 * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
6643 * org-exp.el (org-export-normalize-links): Protect the main link,
6644 to avoid special character processing.
6646 * org-export-latex.el (org-export-latex-special-keyword-regexp):
6648 (org-export-latex-special-string-regexps): Variable removed.
6649 (org-export-latex-keywords): Use the new regexp.
6651 * org-exp.el (org-export-handle-include-files): Fetch switches and
6652 put them into the BEGIN statement.
6654 * org-timer.el (org-timer-mode-line-string): New variable.
6656 * org-clock.el (org-clock-mode-line-map): Rename from
6657 `org-clock-mode-map'.
6658 (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
6659 (org-clock-update-mode-line): Rename from `org-update-mode-line'.
6660 (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
6661 (org-clock-remove-overlays): Rename from
6662 `org-remove-clock-overlays'.
6664 * org-timer.el (org-timer-pause-or-continue): Implement stopping
6665 and mode line display.
6666 (org-timer-stop): New command.
6667 (org-timer-seconds): Return correct time when timer is paused.
6668 (org-timer-mode-line-timer): New variable.
6669 (org-timer-set-mode-line, org-timer-update-mode-line): New
6672 * org.el (org-insert-heading): Handle new value `auto' for
6673 `org-blank-before-new-entry'.
6674 (org-org-menu): Add new items for timer functions.
6676 * org-list.el (org-insert-item): Handle new value `auto' for
6677 `org-blank-before-new-entry'.
6679 * org.el (org-blank-before-new-entry): New value `auto', made
6682 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6684 * org-exp.el (org-export-normalize-links): If the link is also
6685 used as the description, protect the description.
6687 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6689 * org.el (org-closest-date): Fix bug with yearly repeats, in
6690 combination with preference of the past as it is used for deadline
6691 and scheduling search.
6693 * org-exp.el (org-html-handle-time-stamps): No longer check for
6694 the `org-export-with-timestamps' option, because the preprocesser
6695 has taken care of this already.
6697 * org.el (org-entry-properties): Catch the case when this is
6698 called in a non-org-mode file.
6700 * org-export-latex.el (org-export-latex-remove-from-headlines):
6701 Variable made obsolete, also LaTeX export now uses the standard
6703 (org-export-as-latex): Add the timestamps parameter to the
6704 preprocessor parameter list.
6705 (org-export-latex-content): Export the remaining keywords without
6706 considering to remove them.
6707 (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
6708 Use bold font instead of tt font for the keywords.
6709 (org-export-latex-fontify-headline): Format headlines, assuming
6710 that all keywords still present should be published.
6711 (org-export-latex-keywords): Remove argument TIMESTAMPS and just
6712 publish what ever remains of the time stamps.
6713 (org-export-latex-list-parameters): New option.
6714 (org-export-latex-lists): Pass additional parameters to the list
6717 * org-exp.el (org-export-preprocess-string): Remove clock lines
6718 and timestamps already in the preprocesor.
6719 (org-export-remove-timestamps, org-export-remove-clock-lines): New
6721 (org-export-as-ascii, org-export-as-html): Add the timestamps
6722 parameter to the preprocessor parameter list.
6724 * org-list.el (org-list-parse-list): Parse for checkboxes.
6725 (org-list-to-generic): Introduce and handle new parameters :cbon
6727 (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
6728 optional parameter PARAMS.
6730 * org-export-latex.el (org-export-latex-special-chars): Fix
6731 problems with interpreting dollar signs.
6732 (org-inside-latex-math-p): New function.
6733 (org-export-latex-preprocess): Protect all the math fragments.
6735 * org.el (org-latex-regexps): Allow a dash after a dollar.
6737 * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
6740 * org-agenda.el (org-run-agenda-series): Have series options set
6741 when finalizing the agenda.
6743 * org-exp.el (org-export-format-source-code-or-example): Protect
6744 the converted examples.
6746 * org.el (org-set-regexps-and-options): Fix the regexp
6747 `org-complex-heading-regexp'.
6749 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6751 * org.el (org-edit-src-get-label-format): New function.
6752 (org-coderef-label-format): New option.
6753 (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
6754 a label format specification and make sure it is used in the edit
6756 (org-edit-src-get-label-format): New function.
6757 (org-store-link): Handle new coderef formats.
6758 (org-link-search): Handle new coderef formats.
6760 * org-footnote.el (org-footnote-create-definition)
6761 (org-footnote-goto-local-insertion-point): Make footnote insertion
6762 work correctly when the "Footnotes" headline is the last line in
6765 * org.el (org-goto-marker-or-bmk): Expose context after jumping to
6768 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6770 * org-w3m.el (org-w3m): New customization group.
6771 (org-w3m-deactivate-mark): New option.
6772 (org-w3m-copy-for-org-mode): Deactivate region, unless the user
6775 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6777 * org.el (org-set-font-lock-defaults): Trigger footnote
6779 (org-activate-footnote-links): New function.
6780 (org-activate-links): New entry `footnote'.
6782 * org-faces.el (org-footnote): New face.
6784 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6786 * org-macs.el (org-re): Handle the [:word:] class.
6788 * org-exp.el (org-export-preprocess-string): Call
6789 `org-export-protect-colon-examples'.
6790 (org-export-protect-colon-examples): Rename from
6791 `org-export-protect-examples', and scope limited to lines starting
6794 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6796 * org-exp.el (org-export-preprocess-string): Move the preprocess
6797 hook to after turning on Org-mode.
6798 (org-export-preprocess-after-include-files-hook)
6799 (org-export-preprocess-after-tree-selection-hook)
6800 (org-export-preprocess-before-backend-specifics-hook)
6801 (org-export-preprocess-final-hook): New hooks.
6802 (org-export-preprocess-string): Run the new hooks.
6804 * org.el (org-ctrl-c-minus): Fix indentation for new items.
6806 * org-footnote.el: New file.
6808 * org.el (org-footnote): Require footnote code.
6809 (org-startup-options): Add new footnote options.
6810 (org-mode-map): New keybindig for footnotes.
6811 (org-ctrl-c-ctrl-c): Add function at footnotes.
6812 (org-org-menu): New menu entries for footnotes.
6814 * org-export-latex.el (org-export-as-latex): Pass footnote
6815 variable to preprocessor.
6816 (org-export-latex-preprocess): Treat multiple references to a
6819 * org-exp.el (org-export-preprocess-string): Call
6820 `org-footnote-normalize'.
6821 (org-export-as-ascii, org-export-as-html): Pass footnote variable
6823 (org-export-as-html): Treat multiple references to a footnote.
6825 2009-01-25 Carsten Dominik <carsten.dominik@gmail.com>
6827 * org-export-latex.el (org-export-latex-links): Handle coderef
6830 * org.el (org-bracket-link-analytic-regexp++): New variable.
6831 (org-make-link-regexps): Initialize
6832 `org-bracket-link-analytic-regexp++'.
6833 (org-store-link): Implement special case in edit-src buffer.
6834 (org-insert-link): No use of ide to insert stored links.
6835 (org-link-search): Implement special case for coderefs.
6837 * org-exp.el (org-export-html-scripts): New constant.
6838 (org-export-html-style-default): Add a new style for highlighted
6840 (org-export-code-refs): New variable.
6841 (org-export-preprocess-string): Initialize `org-export-code-refs'.
6842 Call `org-export-replace-src-segments-and-examples'
6843 No longer call `org-export-protect-examples'.
6844 (org-export-target-internal-links): Take care of coderef targets.
6845 (org-export-last-code-line-counter-value): New variable.
6846 (org-export-replace-src-segments-and-examples): Rename from
6847 `org-export-replace-src-segments', and modified.
6848 (org-export-format-source-code-or-example): Rename from
6849 `org-export-format-source-code'.
6850 (org-export-number-lines): New function.
6851 (org-export-as-ascii, org-export-as-html): Handle coderef links.
6853 2009-01-23 Glenn Morris <rgm@gnu.org>
6855 * org-rmail.el (rmail-narrow-to-non-pruned-header):
6856 Remove declaration of deleted function.
6858 2009-01-16 Glenn Morris <rgm@gnu.org>
6860 * org-mouse.el (org-mouse-show-context-menu): Use
6861 mouse-menu-major-mode-map, if defined, rather than the obsolete
6862 mouse-major-mode-menu.
6864 2008-12-23 Carsten Dominik <dominik@science.uva.nl>
6866 * org-remember.el (org-remember-handler): Safer way to get a new
6867 buffer accessing the target file.
6869 * org.el (org-refile-get-location): Handle case of current buffer
6870 not having a file associated with it.
6872 2008-12-22 Carsten Dominik <dominik@science.uva.nl>
6874 * org-table.el (org-table-get-formula): Only ask to overwrite
6875 field formula if there really is one.
6877 2008-12-21 Carsten Dominik <dominik@science.uva.nl>
6879 * org-export-latex.el (org-export-latex-make-header): Double the
6880 commenting % in the time stamp format.
6881 (org-export-latex-special-chars): Handle case where there is no
6884 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
6886 * org.el (org-get-refile-targets, org-refile-get-location): Use
6887 expanded file name to improve comparison.
6889 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
6891 * org.el (org-scan-tags): Rescan for tags, to get the correct
6892 upcase/downcase stuff. This slows things down for now, but it
6894 (org-mode): Make sure the tag-faces regexp is initialized.
6896 * org-export-latex.el (org-export-latex-links): Fix bug with
6899 * org-table.el (org-table-get-specials): Set
6900 `org-table-current-last-data-line'.
6901 (org-table-current-last-data-line): New variable.
6902 (org-table-insert-column, org-table-delete-column)
6903 (org-table-move-column, org-table-fix-formulas): Call
6904 `org-table-fix-formulas' a second time to fix the $LR references.
6905 (org-table-get-specials): Add the $LR references to the tables.
6906 (org-table-get-formula): Do not offer last-row names as LHS of
6909 * org.el (org-store-link): Capture link description from
6910 `org-id-store-link'.
6912 * org-exp.el (org-export-html-format-image): Add the / to the end
6914 (org-export-format-source-code): Surround example by empty lines,
6915 to make sure it will not be inside a paragraph.
6917 * org.el (org-ido-switchb): New function.
6919 2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>
6921 * org-agenda.el (org-agenda-show): New prefix argument
6924 * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
6927 2008-12-20 Glenn Morris <rgm@gnu.org>
6929 * org.el (org-org-menu): Fix some more menu entries.
6931 2008-12-18 Carsten Dominik <dominik@science.uva.nl>
6933 * org-table.el (org-table-get-specials): Revert introduction of @0
6934 as reference of the last table row, because of conflicts.
6936 * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
6937 argument, get the current tags directly.
6938 (org-agenda-set-tags): Leave getting current tags to
6939 `org-agenda-change-all-lines'.
6941 2008-12-17 Carsten Dominik <dominik@science.uva.nl>
6943 * org.el (org-org-menu): Do not quote the set-tags command.
6945 2008-12-17 Carsten Dominik <carsten.dominik@gmail.com>
6947 * Fix typos in comments and docstrings throughout Org-mode.
6949 * org.el (org-get-outline-path): Fix bug if level is not given.
6951 * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
6953 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
6955 * org.el (org-refile): Avoid refiling to within the region to be
6958 * org-export-latex.el (org-export-latex-special-chars): Replace
6959 special characters also in tables.
6961 * org-agenda.el (org-agenda-change-all-lines): New argument
6963 (org-agenda-set-tags): Get the new tags and pass them to
6964 `org-format-agenda-item'.
6966 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
6968 * org-export-latex.el (org-export-latex-classes): Add longable as
6969 a default package to all classes.
6970 (org-export-latex-tables): Handle the longtable attribute and the
6973 * org-table.el (orgtbl-to-generic): Handle tables that start with
6976 * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
6977 \verb for colde-like snippets.
6978 (org-export-as-latex): Fix issues with region export.
6980 * org.el (org-up-heading-safe): Speed up function by using a
6981 direct regexp search.
6982 (org-olpa): New variable.
6983 (org-get-outline-path): Speed-up path constructions in cases where
6984 this is possible because the entire hierarchy is scanned anyway.
6985 (org-refile-get-location): Don't compare the truenames of files,
6987 (org-goto-max-level): New option.
6988 (org-goto): Use `org-goto-max-level'.
6990 2008-12-16 Tassilo Horn <tassilo@member.fsf.org>
6992 * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
6993 Strip angle brackets from message-ids in the former and don't do
6995 (org-gnus-follow-link): Open summary reliable, even if the last
6996 messages were deleted, and handle empty groups, too.
6998 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
7000 * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
7001 instead of \texttt for the =...= and ~===~ emphasis environments.
7002 (org-export-as-latex): Remove any old :org-license-to-kill text
7004 (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
7005 (org-export-latex-make-header): Add some hard space after the
7007 (org-export-latex-first-lines): Accept RBEG argument. Mark
7008 exported text so that it will be excuded in further steps.
7010 * org-table.el (org-table-get-specials): Make @0 reference the
7011 last line in a table.
7012 (org-table-recalculate): Improve docstring.
7014 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
7016 * org.el (org-log-done): Fix docstring.
7018 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
7020 * org-exp.el (org-export-html-format-image): Fix bugs.
7022 * org-export-latex.el (org-export-latex-tables)
7023 (org-export-latex-links): Implement attribute, label, and caption
7026 * org-exp.el (org-export-html-style-default): Add style
7027 definitions for the figure div.
7028 (org-export-preprocess-string, org-export-as-html): Implement
7029 attribute, label, and caption handling.
7030 (org-export-attach-captions-and-attributes): New function.
7031 (org-export-html-format-image): New function.
7032 (org-format-org-table-html): Implement attribute, label, and
7035 * org.el (org-find-text-property-in-string): New function.
7036 (org-extract-attributes): Use the property org-attr instead of
7037 org-attrobutes, because this property is now set with the #+ATTR
7040 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
7042 * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
7043 the case that FROM is nil.
7045 * org.el (org-before-first-heading-p): New function.
7047 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
7049 * org-exp.el (org-export-as-html): Do not add a space before
7050 enforces line breaks.
7051 (org-export-as-html): Close paragraph before blockquote and verse
7054 2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
7056 * org-id.el (org-id-locations-file): Wrap file name with
7057 `convert-standard-filename'.
7058 (org-id-files): New variable.
7059 (org-id-use-hash): New option.
7060 (org-id-update-id-locations): Also search in all files current
7061 listed in `org-id-files'. Convert the resulting alist to a hash
7062 if the user customation says so.
7063 (org-id-locations-save): Handle he case if `org-id-locations' is a
7065 (org-id-locations-load): Convert the alist to a hash.
7066 (org-id-add-location): Handle the hast case.
7067 (kill-emacs-hook): Make sure id locations are saved when Emacs is
7069 (org-id-hash-to-alist, org-id-alist-to-hash)
7070 (org-id-paste-tracker): New functions.
7072 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7074 * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
7075 bindings of calendar variables.
7077 * org-table.el (org-table-find-row-type): Rename from
7078 `org-find-row-type'.
7079 (org-table-rewrite-old-row-references): Rename from
7080 `org-rewrite-old-row-references'.
7081 (org-table-shift-refpart): Rename from `org-shift-refpart'.
7082 (org-table-cleanup-narrow-column-properties): Rename from
7083 `org-cleanup-narrow-column-properties'.
7085 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7087 * org-table.el (org-find-row-type): New arguments DESC and CLINE,
7088 for better error messages.
7089 (org-table-get-descriptor-line): Supply the new arguments to
7090 `org-find-row-type'.
7091 (org-table-error-on-row-ref-crossing-hline): New option.
7093 * org.el (org-target-link-regexp): Make buffer-local.
7094 (org-move-subtree-down): Fix bug with trees at beginning of
7097 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7099 * org-faces.el (org-set-tag-faces): New function.
7100 (org-tags-special-faces-re): New variable.
7102 * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
7104 * org-faces.el (org-tag-faces): New option.
7105 (org-tag): Mention `org-tag-faces' in the docstring.
7107 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7109 * org-exp.el (org-export-html-style-default): Implement new
7112 * org-jsinfo.el (org-infojs-template): Implement new quoting.
7114 * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
7115 command to the `w3m-minor-mode-map'.
7117 * org-archive.el (org-archive-to-archive-sibling): Protect
7118 `this-command' to avoid appending kills during archiving.
7120 * org-exp.el (org-export-with-priority): New variable.
7121 (org-export-add-options-to-plist): Use `org-export-plist-vars'
7122 instead of internal list of strings and properties.
7123 (org-print-icalendar-entries): Retrieve the location property with
7126 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7128 * org-exp.el (org-export-with-todo-keywords): New option.
7129 (org-export-plist-vars): Include also the keys for the #+OPTIONS
7131 (org-default-export-plist, org-export-add-options-to-plist)
7132 (org-export-as-ascii, org-export-as-html): Use the new structure
7133 of `org-export-plist-vars'.
7135 * org.el (org-map-entries): Return all values.
7137 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7139 * org.el (org-matcher-time): Recognize more special values.
7141 * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
7143 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7145 * org.el (org-tags-exclude-from-inheritance): New option.
7146 (org-tag-inherit-p, org-remove-uniherited-tags): Respect
7147 `org-tags-exclude-from-inheritance'.
7149 * org-agenda.el (org-agenda-show-inherited-tags): New option.
7150 (org-format-agenda-item): Add inherited tags to the agenda line
7151 string, and make sure that properties are kept when downcasing the
7153 (org-agenda-add-inherited-tags): New function.
7154 (org-downcase-keep-props): New function.
7156 * org.el (org-scan-tags): Mark inherited tags with a text
7158 (org-get-tags-at): Mark inherited tags with a text property.
7159 (org-add-prop-inherited): New function.
7161 * org-agenda.el (org-agenda-add-inherited-tags): New function.
7162 (org-agenda-show-inherited-tags): New option.
7164 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7166 * org.el (org-modules): Add org-w3m to the default modules.
7168 * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
7170 (orgtabl-create-or-convert-from-region): New command.
7172 * org-exp.el (org-export-as-ascii): Remove the handling of
7174 (org-export-ascii-preprocess): Handle targets already in this
7177 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7179 * org-timer.el (org-timer-start-time): Define this variable.
7180 (org-timer-item): Make argument optional.
7182 * org-list.el (org-insert-item): Automatically insert a timer item
7183 if the current list is a timer list.
7185 * org-timer.el: New file.
7187 * org-publish.el (org-publish-org-index): Only exclude the index
7188 file in the main directory from being added to the site-map.
7189 (org-publish-get-project-from-filename): If the current project is
7190 a component, start publishing from the parent project.
7192 2008-12-07 Carsten Dominik <carsten.dominik@gmail.com>
7194 * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
7196 * org-publish.el (org-publish-org-index): Improve removal of
7199 2008-11-24 Carsten Dominik <carsten.dominik@gmail.com>
7201 * org-agenda.el (org-get-closed): Re-apply changes
7202 accidentially overwritten by last commit to Emacs.
7204 * org.el (org-outline-path-complete-in-steps): New option.
7205 (org-refile-get-location): Honor
7206 `org-outline-path-complete-in-steps'.
7207 (org-agenda-change-all-lines, org-tags-sparse-tree)
7208 (org-time-string-to-absolute, org-small-year-to-year)
7209 (org-link-escape): Re-apply changes accidentially overwritten
7210 by last commit to Emacs.
7212 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7214 * org-clock.el (org-dblock-write:clocktable): Make sure the
7215 clocktable sees the first line.
7216 (org-clock-in): Warn if the clock cannot be resumed.
7218 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7220 * org.el (org-open-at-point): Fix mixup about interactive and
7221 non-interactive elisp links.
7223 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7225 * org-exp.el (org-export-preprocess-string): Allow one comment
7226 line before the first headline to always be included. This is
7227 to not miss a commented target.
7229 * org-mouse.el (org-mouse-insert-item): Call
7230 `org-indent-to-column' instead of `indent-to', for XEmacs
7233 * org.el (org-refile-targets): Fix customize definition so
7234 that it works also in XEmacs.
7235 (org-fixup-indentation): Call `org-indent-to-column' instead
7236 of `indent-to', for XEmacs compatibility.
7238 2008-11-23 Tokuya Kameshima <kames@fa2.so-net.ne.jp>
7240 * org-mew.el (org-mew-store-link): Get the correct case folder
7241 for refiled messages.
7243 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7245 * org-exp.el (org-export-as-ascii): Remove the "\\" forced
7246 line break indicators.
7248 * org.el (org-ido-completing-read): Remove the "i:" prefix for
7249 ido-completion propts.
7251 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7253 * org-remember.el (org-remember-apply-template): Use
7254 `org-substring-no-properties'.
7256 * org-compat.el (org-substring-no-properties): New function.
7258 * org-remember.el (org-remember-apply-template): Use
7259 `org-substring-no-properties' for compatibility.
7261 * org-list.el (org-list-two-spaces-after-bullet-regexp): New
7263 (org-fix-bullet-type): Respect
7264 `org-list-two-spaces-after-bullet-regexp'.
7266 * org-clock.el (org-clock-load): Clean up the code.
7268 * org.el (org-adaptive-fill-function): Allow two spaces after
7269 "1." as a list bullet.
7271 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7273 * org-clock.el (org-clock-save, org-clock-load): Check for
7274 live buffers, existing files, and buffer file names to ensure
7275 consistent information.
7276 (org-clock-persist): Make `clock' a special value of this
7277 variable, and improve docstring.
7279 * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
7280 (org-get-string-indentation): Adapt indentation when the bullet
7283 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7285 * org-remember.el (org-remember-finalize): Make interactive.
7286 (org-remember-kill): New command.
7287 (org-remember-finish-immediately): Call `org-remember-finalize'
7289 (org-remember-finalize): Make `org-remember-finalize' an interactive
7292 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7294 * org-remember.el (org-remember-apply-template): No ido completion
7295 for free prompts in remember templates.
7296 (org-remember-before-finalize-hook): New hook.
7297 (org-remember-mode): New minor mode.
7298 (org-remember-apply-template): Turn on `org-remember-mode'.
7300 * org-remember.el (org-remember-apply-template): Fix the way how
7301 the list of allowed properties is retrieved from the target file.
7303 * org.el (org-insert-link): Improve file link matching.
7305 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7307 * org-colview.el (org-columns-display-here): New argument
7308 DATELINE, to trigger using the new face.
7309 (org-agenda-colview-summarize): Call `org-columns-display-here'
7310 with the new argument.
7312 * org-faces.el (org-agenda-column-dateline): New face.
7314 * org-publish.el (org-publish-org-index): Use index-title at page
7315 title, not as section.
7317 * org-exp.el (org-export-html-format-desc): Respect the
7318 org-protect property.
7319 (org-export-as-html): Protect image specifiers that are in the
7320 description part of a link.
7322 * org.el (org-sort-entries-or-items, org-completing-read)
7323 (org-refile-get-location, org-olpath-completing-read, org-todo)
7324 (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
7325 (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
7326 (org-set-property, org-delete-property)
7327 (org-delete-property-globally): Use `org-ido-completing-read'.
7329 * org-remember.el (org-remember-apply-template): Use
7330 `org-ido-completing-read'.
7332 * org-publish.el (org-publish): Use `org-ido-completing-read'.
7334 * org-colview.el (org-columns-edit-value, org-columns-new)
7335 (org-insert-columns-dblock): Use `org-ido-completing-read'.
7337 * org-colview-xemacs.el (org-columns-edit-value)
7338 (org-columns-new, org-insert-columns-dblock): Use
7339 `org-ido-completing-read'.
7341 * org-attach.el (org-attach-delete-one, org-attach-open): Use
7342 `org-ido-completing-read'.
7344 * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
7345 `org-ido-completing-read'.
7347 * org.el (org-time-today): New function.
7348 (org-matcher-time): Use `org-time-today'. Add special treatment
7349 for "<tomorrow>" and "<yesterday>".
7350 (org-ido-completing-read): New function.
7351 (org-completion-use-ido): New option.
7353 * org-exp.el (org-export-format-source-code): Fix bug in require
7355 (org-export-target-internal-links): Fix bug in search for text
7358 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7360 * org-export-latex.el (org-export-latex-subcontent): Interprete
7361 target aliases as additonal labels.
7363 * org-exp.el (org-export-target-aliases): New variable.
7364 (org-export-preprocess-string)
7365 (org-export-handle-invisible-targets): Fill the alias alist.
7366 (org-export-as-html): Remove the from the anchor, and also
7368 (org-html-level-start): Insert the target aliases as additonal
7371 * org.el (org-edit-fixed-width-region): Fix bug when starting a new
7374 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7376 * org.el (org-open-at-mouse): Ensure correct link abbreviations
7377 when following a link with the mouse from the agenda.
7379 * org-exp.el (org-export-as-html): Avoid lone </div> when no
7380 headlines are created.
7382 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7384 * org.el (org-link-translation-function): New option.
7385 (org-open-at-point): Call `org-link-translation-function' if
7387 (org-translate-link): New function.
7388 (org-translate-link-from-planner): New function.
7389 (org-open-at-point): Allow interactive commands in elisp links.
7391 * org-exp.el (org-icalendar-cleanup-string): Restore the old
7392 iCalendar quoting. The new one seems to caus problems with
7395 * org.el (org-yank): Set `this-command' to `yank', so that
7396 `yank-pop' will work.
7398 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7400 * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
7401 compliance as far as quoting is concerned.
7403 * org.el (org-link-expand-abbrev): Implement %h as an escape for a
7404 hexified version of the tag.
7406 * org-vm.el (org-vm-follow-link): Require `vm-search'.
7408 * org.el (org-up-heading-safe, org-forward-same-level): Always
7409 call `org-back-to-heading' instead of `outline-back-to-heading'.
7410 (org-back-to-heading): New wrapper around outline-back-to-heading,
7411 with a useful error message telling where the error happened.
7413 * org-list.el (org-update-checkbox-count): Always call
7414 `org-back-to-heading' instead of `outline-back-to-heading'.
7416 * org-exp.el (org-export-as-html): Make sure that each <img> tag
7417 has an `alt' attribute, to ensure XHTML validation.
7419 2008-11-23 Carsten Dominik <carsten.dominik@gmail.com>
7421 * org-publish.el (org-publish-attachment): Allow publishing to
7422 overwrite attachment files.
7424 * org-agenda.el (org-agenda-timerange-leaders): New option.
7425 (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
7427 * org.el (org-edit-src-exit): Untabify ASCII image before
7430 2008-11-19 Glenn Morris <rgm@gnu.org>
7432 * org.el, org-mouse.el (org-agenda-change-all-lines):
7435 2008-11-18 Carsten Dominik <dominik@science.uva.nl>
7437 * org.el ("speedbar"): Only show context if the file really is an
7440 2008-11-17 Juanma Barranquero <lekktu@gmail.com>
7442 * org.el (org-time-string-to-absolute, org-small-year-to-year)
7443 (org-tags-sparse-tree): Fix typos in docstrings.
7445 2008-11-15 Carsten Dominik <dominik@science.uva.nl>
7447 * org-publish.el (org-publish-attachment): Allow copy-file to
7450 2008-11-13 Glenn Morris <rgm@gnu.org>
7452 * org-agenda.el (org-get-closed): Fix alias.
7454 2008-11-12 Juanma Barranquero <lekktu@gmail.com>
7456 * org.el (org-link-escape): Fix typo in docstring.
7458 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
7460 * org.el (org-yank): Make any prefix force normal yanking.
7461 Suppress folding if text would be swallowed into a folded
7463 (org-yank-folded-subtrees, org-yank): Docstring updates.
7465 * org-agenda.el (org-agenda-compare-effort): Treat no effort
7468 * org-exp.el (org-export-language-setup): Add Catalan and
7469 Esperanto language entries.
7471 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
7473 * org.el (org-refile): Allow refiling of entire regions.
7475 * org-clock.el (org-clock-time%): New function.
7477 * org.el (org-entry-get, org-entry-delete): Use safer regexps to
7478 retrieve property values.
7480 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
7482 * org-agenda.el (org-agenda-list): Handle the value `only' of
7483 org-agenda-show-log'.
7484 (org-agenda-log-mode): Interpret a double prefix arg.
7486 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
7488 * org-exp.el (org-export-html-footnotes-section): New variable.
7489 (org-export-as-html): Use `org-export-html-footnotes-section' to
7490 insert the footnotes.
7491 (org-export-language-setup): Add "Footnotes" to language words.
7493 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
7495 * org.el (org-yank): Fix bug when not inserting a subtree.
7497 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
7499 * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
7500 instead of `vm-beginning-of-message'.
7502 * org.el (org-make-link-regexps): Make sure that links to gnus can
7505 2008-11-12 Carsten Dominik <carsten.dominik@gmail.com>
7507 * org-attach.el (org-attach-dir): Remove duplicate ID creation
7510 * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
7513 * org.el (org-link-abbrev-alist): Improve customization type.
7515 * org-attach.el (org-attach-expand-link, org-attach-expand): New
7518 * org-agenda.el (org-agenda-get-progress): Rename from
7519 `org-get-closed'. Implement searching for state changes as well.
7520 (org-agenda-log-mode-items): New option.
7521 (org-agenda-log-mode): New option prefix argument, interpreted as
7522 request to show all possible progress info.
7523 (org-agenda-get-day-entries): Call `org-get-progress' instead of
7525 (org-agenda-set-mode-name): Handle the more complex log mode
7527 (org-get-closed): New alias, pointing to `org-get-progress'.
7529 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7531 * org.el (org-file-apps-defaults-gnu)
7532 (org-file-apps-defaults-macosx)
7533 (org-file-apps-defaults-windowsnt): Add an entry defining the
7535 (org-file-apps): Allow `system' as key and value.
7536 (org-open-at-point): Explain the effect of a double prefix arg.
7537 (org-open-file): If the argument `in-emacs' is (16),
7538 i.e. corresponding to a double prefix argument, try to open the
7541 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7543 * org.el (org-insert-link): Abbreviate absolute files names in
7544 links. Also, fix a bug in which the double C-u prefix would not
7547 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7549 * org.el (org-insert-heading): If buffer does not end with a
7550 newline, add one if necessary to insert headline correctly.
7552 * org-exp.el (org-export-as-html): Make sure that <hr/> is between
7553 paragraphs, not inside.
7555 * org.el (org-todo): Quote
7556 `org-agenda-headline-snapshot-before-repeat'.
7558 * org-exp.el (org-export-as-html): Fully process link descriptions.
7559 (org-export-html-format-desc): New function.
7560 (org-export-as-html): Collect footnotes into the correct basket.
7561 (org-html-protect): No longer protect quotations marks here, this
7564 * org-agenda.el (org-agenda-remove-marked-text): Bind variable
7567 * org-compat.el (org-fit-window-to-buffer): New function (not
7568 really, a preliminary and incomplete version was present earlier,
7571 * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
7572 `org-fit-window-to-buffer'.
7574 * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
7576 * org-agenda.el (org-agenda-get-restriction-and-command)
7577 (org-fit-agenda-window, org-agenda-convert-date): Use
7578 `org-fit-window-to-buffer'.
7580 * org-exp.el (org-export-as-html): Process href links through
7581 `org-export-html-format-href'.
7582 (org-export-html-format-href): New function.
7584 * org-agenda.el (org-agenda-todo): Update only the current
7585 headline if this is a repeated TODO, marked done for today.
7586 (org-agenda-change-all-lines): New argument JUST-THIS, to change
7587 only the current line.
7589 * org.el (org-todo): Take a snapshot of the headline if the
7590 repeater might change it.
7592 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7594 * org-publish.el (org-publish-find-title): Remove buffers visited
7595 only for extracting the title.
7597 * org-exp.el (org-export-html-style)
7598 (org-export-html-style-default): Mark style definitions as
7601 * org-publish.el (org-publish-validate-link): Function
7604 2008-11-12 Charles Sebold <csebold@gmail.com>
7606 * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
7608 (org-plot-quote-timestamp-field): New function.
7609 (org-plot-quote-tsv-field): Call timestamp field function when
7610 necessary rather than just quoting as a string.
7611 (org-plot/gnuplot-to-data): Pass in timefmt property.
7612 (org-plot/gnuplot-script): Supports timefmt property.
7613 (org-plot/gnuplot): Checks for timestamp column before checking
7614 for text index column.
7616 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7618 * org.el (org-insert-heading): Improve behavior with hidden subtrees.
7620 * org-publish.el (org-publish-org-index): Create a section in the
7622 (org-publish-org-index): Stop linking to directories.
7624 * org.el (org-emphasis-alist): Use span instead of <u> to
7627 * org-exp.el (org-export-as-html): Make sure <p> is closed before
7630 2008-11-12 Sebastian Rose <sebastian_rose@gmx.de>
7632 * org-jsinfo.el (org-infojs-template): Remove language attribute
7635 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7637 * org-agenda.el (org-agenda-remove-marked-text): New function.
7638 (org-agenda-mark-filtered-text)
7639 (org-agenda-unmark-filtered-text): New functions.
7640 (org-write-agenda): Remove filtered text.
7642 * org.el (org-make-tags-matcher): Give access to TODO "property"
7643 without speed penalty.
7645 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7647 * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
7649 (org-store-link-props): Make sure adding to the plist works
7652 * org-gnus.el (org-gnus-no-new-news): New function.
7653 (org-gnus-follow-link): Allow the article ID to be a message-id,
7654 in addition to allowing article numbers. Message IDs make much
7656 (org-gnus-store-link): Use message-id to create link.
7658 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7660 * org.el (org-emphasize): Reverse the selection array.
7661 (org-emphasis-alist): Set <code> tags for the verbatim
7664 * org-remember.el (org-remember-handler): Fix bug with
7665 prefix-related changing of the note storage target.
7667 * org-exp.el (org-print-icalendar-entries): Make the exported
7668 priorities compatible with RFC 2445.
7670 * org-clock.el (org-clock-save): Insert time stamp without
7671 dependence on time-stamp.el.
7673 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7675 * org.el ("saveplace"): If saveplace puts point into an invisible
7676 location, make it visible.
7677 (org-make-tags-matcher): Allow inactive time stamps in time
7679 (org-yank-adjusted-subtrees): New option.
7680 (org-yank): Incorporate adjusting trees.
7681 (org-paste-subtree): New argument FOR-YANK which will cause
7682 insertion at point without backing up over white lines, and leave
7683 point at the end of the inserted text. Also if the cursor is
7684 at the beginning of a headline, use the same level or the inserted
7687 * org-publish.el (org-publish-get-base-files-1): Deal correctly
7688 with broken symlinks.
7690 2008-11-12 Carsten Dominik <dominik@science.uva.nl>
7692 * org-exp.el (org-export-select-tags, org-get-current-options):
7695 2008-11-06 Glenn Morris <rgm@gnu.org>
7697 * org-publish.el (org-publish-attachment): Use copy-file rather than
7700 2008-11-04 Juanma Barranquero <lekktu@gmail.com>
7702 * org.el (org-columns-modify-value-for-display-function):
7703 * org-table.el (org-table-convert-region): Fix typos in docstrings.
7705 2008-10-28 Glenn Morris <rgm@gnu.org>
7707 * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
7709 * org-list.el (outline-next-heading, outline-back-to-heading):
7712 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7714 * org-agenda.el (org-format-agenda-item)
7715 (org-agenda-filter-make-matcher): Make sure tags are stored and
7718 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7720 * org.el (org-insert-todo-heading): Fix bug with force-heading
7723 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7725 * org-exp.el (org-export-as-ascii): Handle the case that we are
7726 bulishing from an indirect buffer.
7728 * org-table.el (org-table-copy-down): Fix bug with time stamp
7731 * org-mouse.el (org-mouse-features): New option.
7732 (org-mode-hook): Turn on features depending on
7733 `org-mouse-features'.
7735 * org.el (org-insert-heading-respect-content): Force heading
7737 (org-insert-heading): Keep the folding state of the heading before
7740 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7742 * org-archive.el (org-archive-to-archive-sibling): Handle top
7743 level headlines better.
7745 2008-10-26 Bastien Guerry <bzg@altern.org>
7747 * org-export-latex.el (org-export-latex-classes): Add
7748 \usepackage{graphicx} to the default list of packages.
7750 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7752 * org-agenda.el (org-agenda-filter): Rename from
7753 `org-agenda-filter-tags'.
7755 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7757 * org.el (org-entry-properties): Add CATEGORY property, iven if it
7758 is not defined as a property in this entry.
7759 (org-add-log-note): Mask prefix argument when immediately storing
7762 * org-agenda.el (org-agenda-filter-effort-default-operator): New
7765 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
7767 * org.el (org-add-log-setup): Bugfix; code to find insertion point
7768 after drawers was skipping ahead one line too many, so notes were
7769 inserted after the first note instead of before it.
7771 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7773 * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
7775 (org-prepare-agenda): Reset the filter tags.
7776 (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
7777 Show filter tags in mode line.
7779 * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
7782 * org-export-latex.el (org-latex-entities-regexp): New constant.
7783 (org-export-as-pdf): Use two calls to `shell-command'.
7785 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7787 * org-export-latex.el (org-export-latex-treat-sub-super-char):
7788 Honor the {} value of the subsuperscript setting. Make sure that
7789 longer subsuperscripts are typeset in a roman font.
7791 * org.el (org-clock-update-time-maybe): Compute negative clock
7792 intervals correctly.
7794 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7796 * org.el (org-add-log-setup): Respect
7797 `org-log-state-notes-insert-after-drawers'.
7798 (org-log-state-notes-insert-after-drawers): New option.
7799 (org-todo-trigger-tag-changes): New function.
7800 (org-todo): Call `org-todo-trigger-tag-changes'.
7802 2008-10-26 James TD Smith <ahktenzero@mohorovi.cc>
7804 * org.el (org-add-log-setup): Only skip drawers if the are
7805 immediately after the scheduling keywords.
7807 * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
7809 (org-clock-in): If `org-clock-in-switch-to-state' is a function,
7810 call it with the current todo state to get the state to switch to
7812 (org-clock-in): Use org-indent-line-function to indent clock lines.
7813 (org-clock-find-position): Fix indentation of empty clock drawers.
7815 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7817 * org-publish.el (org-publish-org-to): Handle case when
7818 org-export-to-pdf does return a file name, not a buffer.
7819 (org-publish-org-to-pdf): New function.
7821 * org-export-latex.el (org-export-as-pdf)
7822 (org-export-as-pdf-and-open): New commands.
7824 * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
7827 * org-export-latex.el (org-export-latex-lists): Ignore lists-like
7828 things in protexted regions.
7830 2008-10-26 Carsten Dominik <dominik@science.uva.nl>
7832 * org-export-latex.el (org-export-latex-preprocess): Improve
7833 quoting of LaTeX environments.
7835 2008-10-19 Eli Zaretskii <eliz@gnu.org>
7837 * org.el (org-default-notes-file):
7838 * org-publish.el (org-publish-timestamp-directory):
7839 * org-id.el (org-id-locations-file): Run file names that begin
7840 with a period thru `convert-standard-filename'.
7842 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
7844 * org-plot.el: Switch coding system to unix.
7846 2008-10-12 John Wiegley <johnw@newartisans.com>
7848 * org-attach.el: New file.
7850 2008-10-12 Carsten Dominik <carsten.dominik@gmail.com>
7852 * org.el (org-edit-fixed-width-region): Exclude final newline from
7855 * org-export-latex.el (org-export-latex-subcontent): Add labels to
7856 sections, to make internal links work.
7857 (org-export-latex-fontify-headline): Do not remove all text
7858 properties, to make sure that target properties survive this
7861 * org-exp.el (org-export-preprocess-string): Change sequence of
7862 modifications, to make sure links are prepared before the LaTeX
7863 conversions do happen.
7865 * org-attach.el (org-attach-delete-all): Rename from
7866 `org-attch-delete'. Add a security query before deleting the
7867 entire directory. New optional argument FORCE can overrule the
7869 (org-attach-delete-one): New command.
7871 * org-attach.el (org-attach-file-list): Fix bug with directory.
7873 * org.el (org-apps-regexp-alist): New function.
7874 (org-file-apps): Add auto-mode to the default value.
7875 (org-open-file): Use the new structure of org-file-apps.
7877 * org-attach.el (org-attach): Support the new keys.
7878 (org-attach-method): New option.
7880 * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
7883 * org.el (org-remove-uniherited-tags): Fix reverse interpretation
7884 of the list value o `org-use-tag-inheritance'.
7886 * org-attach.el (org-attach-auto-tag): New option.
7887 (org-attach-tag, org-attach-untag): New functions.
7888 (org-attach-attach, org-attach-new, org-attach-sync): Call
7890 (org-attach-delete): Call `org-attach-untag'.
7892 * org-table.el (orgtbl-self-insert-command): Make this work for
7895 * org.el (org-add-log-setup): Limit searc for drawers to entry
7896 text, not to subtree.
7898 * org-clock.el (org-clock-heading-for-remember): New variable.
7899 (org-clock-in): Set `org-clock-heading-for-remember'.
7901 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
7903 * org-remember.el (org-remember-apply-template): Add new
7904 expansions: %k, %K for currently clocked task and a link to the
7905 currently clocked task, and %< to file notes in the currently
7908 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
7910 * org-export-latex.el (org-export-latex-make-header): Also insert
7911 the content of the property :latex-header-extra.
7913 * org-exp.el (org-infile-export-plist): Put the content of
7914 #+LATEX_HEADER: into the property :latex-header-extra.
7916 * org-colview.el (org-columns-get-format-and-top-level): Remove
7917 resetting the marker.
7919 * org-colview-xemacs.el (org-columns-get-format-and-top-level):
7920 Remove resetting the marker.
7922 * org.el (org-entry-property-inherited-from): Improve docstring.
7923 (org-entry-get-with-inheritance): Reset marker before starting the
7926 * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
7928 * org.el (org-entry-get-multivalued-property)
7929 (org-entry-protect-space, org-entry-restore-space): New
7931 (org-file-apps-defaults-macosx): Let postscript files be opened by
7933 (org-time-stamp-inactive): Call `org-time-stamp'.
7934 (org-time-stamp): New argument `inactive'. Also edit inacive
7935 stamps. Convert time stamp type.
7936 (org-open-file): Interpret the `default' value for the `command'
7939 * org-id.el (org-id-int-to-b36-one-digit)
7940 (org-id-b36-to-int-one-digit, org-id-int-to-b36)
7941 (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
7944 * org-id.el (org-id-reverse-string): New function.
7945 (org-id-new): Use `org-id-reverse-string' to make sure the
7946 beginning chars of the ID are mutating fast. This allows to use a
7947 directory structure to spread things better.
7948 (org-id-prefix): Change default to nil.
7950 * org-list.el (org-move-item-down, org-move-item-up): Remember and
7951 restore the column of the cursor position.
7953 * org-remember.el (org-remember-apply-template): Remove properties
7956 * org-wl.el (org-wl-open): Remove useless call to
7957 `wl-thread-open-all'.
7959 * org-remember.el (org-remember-handler): Fix bug with `bottom'
7962 * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
7963 `org-bbdb-anniversaries'.
7965 * org.el (org-get-next-sibling, org-forward-same-level): New
7966 functions, similar to the outline versions, but invisible headings
7969 2008-10-12 Bastien Guerry <bzg@altern.org>
7971 * org.el (org-auto-repeat-maybe): Insert a space between
7972 the timestamp's type and the timestamp itself.
7974 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
7976 * org-table.el (org-table-sum): Do not format the result with %g,
7977 it does rounding when there are too many digits.
7979 * org.el (org-map-entries): Protect the keyword-selecting variables.
7981 2008-10-12 Bastien Guerry <bzg@altern.org>
7983 * org-agenda.el (org-agenda-to-appt): Make sure the function check
7984 against all agenda files.
7986 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
7987 Bastien Guerry <bzg@altern.org>
7989 * org-list.el: New file, aggregating list functions from org.el
7990 and org-export-latex.el.
7992 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
7994 * org.el (org-edit-src-region-extra): New option.
7996 * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
7999 2008-10-12 Bastien Guerry <bzg@altern.org>
8001 * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
8003 2008-10-12 James TD Smith <ahktenzero@mohorovi.cc>
8005 * org-plot.el (org-plot/gnuplot): Make tables starting with a
8006 hline work correctly.
8007 (org-plot/gnuplot-script): Put commas at the end of each script
8010 * org.el (org-get-refile-targets): Replace links with their
8012 (org-imenu-get-tree): Replace links with their descriptions.
8014 * org-remember.el (org-remember-apply-template): Add a new
8015 expansion for adding properties to remember items.
8017 * org.el (org-add-log-setup): Skip over drawers (properties,
8018 clocks etc) when adding notes.
8020 * org-agenda.el (org-agenda-get-closed): Show durations of clocked
8021 items as well as the start and end times.
8023 * org-compat.el (org-get-x-clipboard-compat): Add a compat
8024 function for fetching the X clipboard on XEmacs and GNU Emacs 21.
8026 * org-remember.el (org-get-x-clipboard): Use the compat
8027 function to get clipboard values when x-selection-value is
8028 unavailable. Use substring-no-properties instead of
8029 set-text-properties to remove text properties from the clipboard
8032 * lisp/org-clock.el (org-update-mode-line): Support limiting the
8033 modeline clock string, and display the full todo value in the
8034 tooltip. Set a local keymap so mouse-3 on the clock string goes to
8035 the currently clocked task.
8036 (org-clock-string-limit): Add a custom value for the maximum
8037 length of the clock string in the modeline.
8038 (org-clock-mode-map): Add a keymap for the modeline string.
8040 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
8042 * org-compat.el (org-propertize): New function.
8044 2008-10-12 Bastien Guerry <bzg@altern.org>
8046 * org-export-latex.el (org-export-latex-tables): Protect exported
8047 tables from further special chars conversion.
8048 (org-export-latex-preprocess): Preserve LaTeX environments.
8049 (org-list-parse-list): Parse descriptive lists.
8050 (org-list-to-generic, org-list-to-latex, org-list-to-html)
8051 (org-list-to-texinfo): Export descriptive lists.
8052 (org-quote-chars): Remove.
8053 (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
8054 (org-export-latex-list-beginning-re): Rename to
8055 `org-list-beginning-re'.
8056 (org-list-item-begin): Rename to `org-list-item-beginning'.
8058 2008-10-12 Eric Schulte <schulte.eric@gmail.com>
8060 * org-plot.el: New file.
8062 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
8064 * org.el (org-refile): Allow refiling to the last entry in the
8066 (org-get-tags-at): Fix bug when inheritance is turned off.
8068 * org.el (org-indent-line-function): No longer check for src
8069 regions, this is too much overhead.
8071 * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
8074 * org.el (org-scan-tags): Make sure that tags matching is not case
8075 sensitive. TODO keyword matching is case sensitive, however, to
8076 avoid confusion with similar words that are not meant to be
8079 * org.el (org-get-local-tags-at): New function.
8080 (org-get-local-tags): New function.
8082 * org-exp.el (org-export-get-categories): New function.
8084 * org-agenda.el (org-sorting-choice)
8085 (org-agenda-sorting-strategy, org-agenda-get-todos)
8086 (org-agenda-get-timestamps, org-agenda-get-deadlines)
8087 (org-agenda-get-scheduled, org-agenda-get-blocks)
8088 (org-entries-lessp): Implement sorting by TODO state.
8089 (org-cmp-todo-state): New defsubst.
8091 * org-colview.el (org-colview-construct-allowed-dates): New
8093 (org-columns-next-allowed-value): Use
8094 `org-colview-construct-allowed-dates'.
8096 * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
8098 (org-columns-next-allowed-value): Use
8099 `org-colview-construct-allowed-dates'.
8101 * org.el (org-protect-slash): New function.
8102 (org-get-refile-targets): Use `org-protect-slash'.
8104 * org-agenda.el (org-global-tags-completion-table): New variable.
8106 * org-exp.el (org-export-handle-export-tags): New function.
8107 (org-export-preprocess-string): Call
8108 `org-export-handle-export-tags'.
8110 * org-publish.el (org-publish-expand-components): Function removed.
8111 (org-publish-expand-projects): Allow components to have components.
8113 * org.el (org-indent-line-function): Do not indent in regions that
8114 are external source code.
8115 (org-yank-and-fold-if-subtree): New function.
8117 * org-agenda.el (org-agenda-todayp): New function.
8118 (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
8119 `org-agenda-todayp'.
8121 * org.el (org-insert-heading-respect-content)
8122 (org-insert-todo-heading-respect-content): New commands.
8123 (org-insert-heading-respect-content): New option.
8124 (org-insert-heading): Respect `org-insert-heading-respect-content'.
8126 * org-clock.el (org-clock-find-position): Make sure the note after
8127 the clock line gets moved into the new clock drawer.
8129 * org-id.el (org-id-new): New option.
8131 * org-table.el (org-table-copy-down): Avoid overflow during
8132 increment. Use prefix argument 0 to temporarily disable the
8135 * org-exp.el (org-export-as-html): Do not turn on the major mode
8136 if the buffer will be killed anyway.
8137 (org-get-current-options): Exclude the #+TEXT field.
8138 (org-export-as-html): Make sure text before the first headline is
8141 * org-publish.el (org-publish-org-to): Tell the exporter that this
8142 buffer will be killed, so it is not necessary to do major mode
8145 * org-archive.el (org-archive-to-archive-sibling): Show empty
8146 lines after folding the archive sibling.
8148 * org.el (org-log-note-extra): New variable.
8150 2008-10-12 Bastien Guerry <bzg@altern.org>
8152 * org.el (org-additional-option-like-keywords): Add keywords for
8153 the _QUOTE, _VERSE and _SRC environments.
8155 * org-export-latex.el (org-export-latex-preprocess): Fix bug when
8156 exporting _QUOTE and _VERSE environments.
8158 2008-10-12 Carsten Dominik <dominik@science.uva.nl>
8160 * org-agenda.el (org-agenda-filter-by-tag): New command.
8162 * org-exp.el (org-get-current-options): Remove angular brackets
8163 from the date entry.
8165 * org.el (org-edit-fixed-width-region): New function.
8166 (org-edit-fixed-width-region): Also try
8167 `org-edit-fixed-width-region'.
8168 (org-edit-fixed-width-region-mode): New option.
8169 (org-activate-code): Only interprete lines starting with colon
8170 plus a space as example lines.
8172 * org-remember.el (org-remember-templates): Add nil instead of
8173 empty strings to fix the length of remember templates.
8175 * org-table.el (org-calc-default-modes): Fix the time format for
8176 calc, from 12 hour to 24 hour clock.
8178 * org-agenda.el (org-agenda-get-deadlines)
8179 (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
8180 entries that are pre-warnings of deadlines or reminders.
8182 * org.el (org-sort-entries-or-items): Make numeric and alpha
8183 comparisons ignore any TODO keyword and priority cookie.
8185 * org-remember.el (org-remember-handler): Reinterpretation of the
8188 * org-agenda.el (org-agenda-get-scheduled): Use new
8189 `org-scheduled' face.
8191 * org-faces.el (org-scheduled): New face.
8193 * org-wl.el (org-wl-open): Remove incorrect declaration.
8195 * org-gnus.el (org-gnus-store-link): Support for :to information
8198 * org-exp.el (org-export-as-html): Fix typo in creator
8200 (org-export-protect-examples): New parameter indent. Insert extra
8201 spaces only when this parameter is specified.
8202 (org-export-preprocess-string): Call `org-export-protect-examples'
8203 with an indentation parameter when exporting to ASCII.
8205 * org-remember.el (org-remember-templates)
8206 (org-remember-apply-template): Allow the file component to be a
8209 * org.el (org-goto-local-search-headings): Rename from
8210 `org-goto-local-search-forward-headings'. Added the possibility
8211 to search backwards.
8213 * org-export-latex.el (org-export-latex): New customization
8216 * org-agenda.el (org-write-agenda): Erase buffer for txt export.
8218 * org-exp.el (org-html-do-expand): Allow {} to terminate
8221 * org.el (org-buffer-list): Select buffers based on major mode,
8224 * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
8227 * org-colview.el (org-columns-display-here): Use
8228 `org-columns-modify-value-for-display-function'.
8230 * org-colview-xemacs.el (org-columns-display-here): Use
8231 `org-columns-modify-value-for-display-function'.
8233 * org.el (org-columns-modify-value-for-display-function): New option.
8235 * org-publish.el (org-publish-file): Make sure the directory match
8236 for the publishing directory works correctly.
8238 * org-agenda.el (org-agenda-execute-calendar-command)
8239 (org-agenda-diary-entry): Additional optional argument.
8241 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
8243 * org-exp.el (org-export-as-html): Add attributes also in mailto
8246 * org.el (org-autoload): Add `org-dblock-write:columnview'.
8248 2008-08-11 Glenn Morris <rgm@gnu.org>
8250 * org-mac-message.el (do-applescript): Fix declaration.
8252 2008-08-10 Glenn Morris <rgm@gnu.org>
8254 * org-exp.el (org-export-as-html): Let-bind `i'.
8256 * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
8257 (org-extract-attributes): Let-bind `key', `value'.
8258 (org-make-tags-matcher): Let-bind `time-p'.
8260 2008-07-27 Carsten Dominik <dominik@science.uva.nl>
8262 * org-install.el: New file.
8264 2008-07-26 Carsten Dominik <dominik@science.uva.nl>
8266 * org-exp.el (org-export-html-style)
8267 (org-export-html-style-extra): Declare as safe-local-variable.
8269 2008-07-25 Carsten Dominik <dominik@science.uva.nl>
8271 * org-publish.el (org-publish-file): Use the true name of the
8274 * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
8277 * org-exp.el (org-export-plist-vars)
8278 (org-export-add-options-to-plist): Handle creator setting flag.
8279 (org-export-as-html): Handle attributes also for ftp and mailto
8282 * org-agenda.el (org-agenda-diary-entry)
8283 (org-agenda-execute-calendar-command): Cater for the second
8284 argument of `calendar-cursor-to-date'.
8286 2008-07-24 Carsten Dominik <dominik@science.uva.nl>
8288 * org-exp.el (org-export-region-as-html, org-export-as-html): Make
8289 sure that calls from `org-export-region-as-html' do not do the
8290 special check for a subtree.
8292 * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
8294 * org.el (org-open-file): Use
8295 `org-open-directory-means-index-dot-org'.
8296 (org-open-directory-means-index-dot-org): New option.
8298 * org.el (org-make-link-string): Remove link attributes from
8300 (org-open-at-point): Remove link attributes before using the path.
8302 * org-exp.el (org-export-as-html): Handle link attributes.
8304 * org.el (org-extract-attributes, org-attributes-to-string): New functions.
8306 * org-table.el (org-table-to-lisp): New function.
8308 * org.el (org-narrow-to-subtree): Do not include the final newline
8309 into the narrowed region.
8311 * org-agenda.el (org-agenda-custom-commands-local-options): Fix
8312 bug with user-define skipping condition.
8314 * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
8316 * org-exp.el (org-export-html-style-default): Automatic overflow
8317 handling for pre fields.
8318 (org-export-as-ascii, org-export-as-html): Change default format
8321 * org-table.el (org-table-export): Offer completion for translator
8322 functions, and do not require a heading above the table.
8324 * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
8325 Cater for the case of a list starting in the first line of the
8328 * org-publish.el (org-publish-find-title): Bug fix.
8329 (org-publish-org-index): Implement new :index-style option.
8331 * org-publish.el (org-publish-timestamp-filename): Use
8332 SHA1-encoded file names in the timestamp directory.
8334 * org-publish.el (org-publish-needed-p): Be verbose about files
8335 published and files skipped.
8337 * org-exp.el (org-export-preprocess-string): Swap link
8338 normalization and internal link targeting.
8340 * org-publish.el (org-publish-needed-p): Create timestamp
8341 directory when it does not exist.
8343 * org-clock.el (org-clock-out-when-done): Doc fix.
8345 * org.el (org-agenda-skip-unavailable-files): Doc fix.
8347 * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
8348 Ignore case when searching for the COMMENT cookie at export time.
8350 * org-exp.el (org-get-file-contents)
8351 (org-get-and-remove-property): New functions.
8352 (org-export-handle-include-files): Handle the new prefix options.
8353 (org-export-as-html): Fix the verse environment.
8355 * org.el (org-time=, org-time<, org-time<=, org-time>)
8356 (org-time>=, org-time<>, org-2ft): New functions.
8357 (org-op-to-function): Also provide for the time testing functions.
8359 * org-exp.el (org-export-html-style-default): New constant.
8361 * org-exp.el (org-export-html-style-extra): New variable.
8362 (org-export-splice-style): New function.
8364 * org-exp.el (org-export-plist-vars, org-export-as-html):
8365 Implement `org-export-creator-info'.
8366 (org-export-creator-info): New option.
8368 * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
8369 (org-property-drawer-re, org-clock-drawer-re): New constants.
8371 * org-exp.el (org-icalendar-use-deadline)
8372 (org-icalendar-use-scheduled): New options.
8373 (org-icalendar-include-todo): Default changed to t.
8374 (org-print-icalendar-entries): Implement better utilization of
8375 scheduling and deadline time stamps.
8376 (org-export-target-internal-links, org-export-as-html): Allow file
8377 lines without the "file:" prefix if the file path is an absolute
8378 path or starts with ".".
8380 * org-clock.el (org-clocktable-shift): Also understand yesterday,
8382 (org-clock-special-range): Also understand yesterday, lastweek etc.
8384 * org.el (org-agenda-skip-archived-trees): Docstring now
8385 discourages using this.
8386 (org-scan-tags): Check for org-agenda-archives-mode.
8387 (org-map-entries): Make sure org-agenda-archives-mode is nil.
8388 (org-agenda-files): Functionality of second arg changed.
8390 * org-agenda.el (org-agenda-archives-mode): New variable.
8391 (org-write-agenda, org-prepare-agenda, org-agenda-list)
8392 (org-search-view, org-todo-list, org-tags-view)
8393 (org-agenda-list-stuck-projects): Call `org-agenda-files' with
8395 (org-agenda-quit): Reset the archives mode.
8396 (org-agenda-archives-mode): New command.
8397 (org-agenda-set-mode-name): Include archives info.
8399 * org.el (org-paste-subtree): Make sure the yanked headline is
8400 visible if it was yanked at a visible point.
8401 (org-move-item-up): Fix the bug with moving white space at the end
8403 (org-show-empty-lines-in-parent): New function.
8405 2008-07-19 Juri Linkov <juri@jurta.org>
8407 * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
8408 new keymap `narrow-map' instead of binding "\C-xns".
8410 2008-07-02 Juanma Barranquero <lekktu@gmail.com>
8412 * org.el (org-agenda-skip-unavailable-files):
8413 * org-clock.el (org-clock-out-when-done): Doc fixes.
8415 2008-06-18 Glenn Morris <rgm@gnu.org>
8417 * org.el (org-map-entries): Let-bind `file'.
8419 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8421 * org-colview.el (org-columns-next-allowed-value): Bug fix.
8423 * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
8425 * org-agenda.el (org-agenda-get-closed): Get the end time into the
8426 agenda prefix as well.
8428 * org-publish.el (org-publish-org-index): Make a properly indented
8431 * org.el (org-calendar-agenda-action-key): New option.
8432 (org-get-cursor-date): New function.
8433 (org-mark-entry-for-agenda-action): New command.
8434 (org-overriding-default-time): New variable.
8435 (org-read-date): Respect `org-overriding-default-time'.
8437 * org-remember.el (org-remember-apply-template): Respect the
8438 overriding default time.
8440 * org-agenda.el (org-agenda-action-marker): New variable.
8441 (org-agenda-action): New command.
8442 (org-agenda-do-action): New function.
8444 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8446 * org.el (org-schedule, org-deadline): Protect scheduled and
8447 deadline tasks against changes that accidently remove the
8448 repeater. Also show a message with the new date when done.
8450 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8452 * org.el (org-beginning-of-line): Cater for the case when there
8453 are tags but no headline text.
8454 (org-align-tags-here): Convert to tabs only when indent-tabs-mode
8457 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8459 * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
8460 the return value is nil instead of "nil" when there is no match.
8462 * org-exp.el (org-insert-centered): Use fill-column instead of
8464 (org-export-as-ascii): Use string-width to measure the width of
8467 * org.el (org-diary-to-ical-string): No longer kill buffer
8468 FROMBUF, this is now done by the caller.
8470 * org-exp.el (org-print-icalendar-entries): Move the call to
8471 `org-diary-to-ical-string' out of the loop, and kill the buffer
8474 * org-remember.el (org-remember-visit-immediately): Position
8475 cursor after moving to the note.
8476 (org-remember-apply-template): Use a text property to record the
8478 (org-remember-handler): Align tags after pasting the note.
8480 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8482 * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
8484 * org-agenda.el (org-agenda-open-link): If there is an
8485 org-bbdb-name property in the current line, jump to that bbdb
8488 * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
8489 text property, so that the agenda knows where this entry comes
8492 * org-agenda.el (org-agenda-clock-in): Fix bug in the
8493 interaction between clocking-in from the agenda, and automatic
8494 task state switching.
8496 * org-macs.el (org-with-point-at): Bug fix in macro definition.
8498 * org.el (org-beginning-of-line, org-end-of-line): Make sure the
8499 zmacs-region stays after this command in XEmacs.
8501 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8503 * org.el (org-scan-tags): Allow new values for ACTION parameter.
8505 * org-remember.el (org-remember-templates): Fix bug in
8506 customization type definition.
8508 * org.el (org-map-entries): New function.
8510 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8512 * org-agenda.el (org-agenda-skip-comment-trees): New option.
8513 (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
8515 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8517 * org-remember.el (org-jump-to-target-location): New variable.
8518 (org-remember-apply-template): Set
8519 `org-remember-apply-template' if requested by template.
8520 (org-remember-handler): Start an idle timer to jump to
8523 * org-exp.el (org-get-current-options): Add the FILETAGS setting.
8525 * org.el (org-set-regexps-and-options): Fix bug with parsing of
8527 (org-get-tags-at): Add the content of `org-file-tags'.
8529 * org-exp.el (org-export-handle-comments): Fix bug with several
8530 comment lines after each other.
8531 (org-number-to-roman, org-number-to-counter): New functions.
8532 (org-export-section-number-format): New option.
8534 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8536 * org-exp.el (org-export-protect-examples): Catch the case of a
8537 missing end_example line.
8539 * org.el (org-set-regexps-and-options): Set `org-file-properties' and
8540 `org-file-tags' to nil.
8542 * org-colview.el (org-columns-next-allowed-value): Handle next
8543 argument NTH to directly select a value.
8545 * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
8546 argument NTH to directly select a value.
8548 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8550 * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
8552 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8554 * org.el (org-columns-ellipses): New option.
8556 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8558 * org-colview.el (org-columns-add-ellipses): New function.
8559 (org-columns-compact-links): New function.
8560 (org-columns-cleanup-item): Call `org-columns-compact-links'.
8561 (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
8563 (org-columns-edit-value): Fix bug with editing values from
8565 (org-columns-redo): Also redo the agenda itself.
8567 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8569 * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
8572 * org-colview.el (org-agenda-columns-cleanup-item): New function.
8574 * org-exp.el (org-export-ascii-preprocess): Rename from
8575 `org-export-ascii-clean-string'.
8576 (org-export-kill-licensed-text)
8577 (org-export-define-heading-targets)
8578 (org-export-handle-invisible-targets)
8579 (org-export-target-internal-links)
8580 (org-export-remove-or-extract-drawers)
8581 (org-export-remove-archived-trees)
8582 (org-export-protect-quoted-subtrees)
8583 (org-export-protect-verbatim, org-export-protect-examples)
8584 (org-export-select-backend-specific-text)
8585 (org-export-mark-blockquote-and-verse)
8586 (org-export-remove-comment-blocks-and-subtrees)
8587 (org-export-handle-comments, org-export-mark-radio-links)
8588 (org-export-remove-special-table-lines)
8589 (org-export-normalize-links)
8590 (org-export-concatenate-multiline-links)
8591 (org-export-concatenate-multiline-emphasis): New functions,
8592 obtained from spliting the export preprocessor.
8594 * org-table.el (org-table-recalculate): Improve error message if
8595 the row number is invalid.
8597 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8599 * org-archive.el (org-archive-save-context-info): Fix bugs in
8600 customization setup and docstring.
8602 * org-exp.el (org-export-html-style): Change the size of in the
8603 <pre> element to 90%.
8605 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8607 * org.el (org-find-src-example-start): Function removed.
8608 (org-edit-src-find-region-and-lang): New function.
8610 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8612 * org.el (org-edit-src-exit): New function.
8613 (org-exit-edit-mode): New minor mode.
8615 * org-exp.el (org-export-preprocess-string): Fix bug with removing
8616 comment-like lines from protected examples.
8618 * org.el (org-edit-src-example, org-find-src-example-start)
8619 (org-protect-source-example, org-edit-special): New functions.
8621 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8623 * org-publish.el (org-publish-project-alist): Fix typo in
8625 (org-publish-project-alist): Handle :index-title property.
8627 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8629 * org-export-latex.el (org-export-as-latex): Make sure region
8630 bounds are correct. Parse subtree properties relating to export.
8632 * org-exp.el (org-export-add-options-to-plist): New function.
8633 (org-infile-export-plist): Use `org-export-add-options-to-plist'.
8635 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8637 * org.el (org-default-properties): Add EXPORT_FILE_NAME and
8640 * org-exp.el (org-export-get-title-from-subtree)
8641 (org-export-as-ascii, org-export-as-html): Make sure the original
8642 region-beginning and region-end are used, even after moving point.
8643 (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
8646 * org-remember.el (org-remember-last-stored-marker): New variable.
8647 (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
8648 (org-remember-handler): Also use marker to remember
8649 last-stored position.
8651 * org.el (org-goto-marker-or-bmk): New function.
8653 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8655 * org.el (org-file-properties): Rename from `org-local-properties'.
8656 (org-scan-tags): Take file tags into account.
8657 (org-tags-match-list-sublevels): Default changed to t.
8659 * org-exp.el (org-export-as-html): Close paragraph after a footnote.
8661 * org.el (org-update-parent-todo-statistics): New function.
8663 * org-exp.el (org-icalendar-store-UID): New option.
8664 (org-icalendar-force-UID): Option removed.
8665 (org-print-icalendar-entries): IMplement UIDs.
8667 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8669 * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
8671 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8673 * org-faces.el (org-column): Document how this face is being used
8674 and why sometimes the background faces shine through.
8676 * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
8678 * org-publish.el (org-publish-attachment): Create publishing
8679 directory if it does not yet exist.
8681 * org-table.el (org-calc-default-modes): Change default number
8682 format to (float 8).
8684 * org.el (org-olpath-completing-read): New function.
8685 (org-time-clocksum-format): New option.
8686 (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
8688 * org-clock.el (org-clock-display, org-clock-out)
8689 (org-update-mode-line): Use `org-time-clocksum-format'.
8691 * org-colview-xemacs.el (org-columns-number-to-string): Use
8692 `org-time-clocksum-format'.
8694 * org-colview.el (org-columns-number-to-string): Use
8695 `org-time-clocksum-format'.
8697 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8699 * org-id.el: New file, move from contrib to core.
8701 * org-exp.el (org-icalendar-force-UID): New option.
8703 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8705 * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
8706 shifted by one day if there is a date range without an end time.
8708 * org.el (org-try-structure-completion): New function.
8710 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8712 * org.el (org-set-font-lock-defaults): Improve fontification of
8714 (org-insert-item): Handle description lists.
8715 (org-adaptive-fill-function): Improve auto indentation in
8718 * org-exp.el (org-export-as-html, org-export-preprocess-string):
8719 Implement VERSE environment.
8720 (org-export-preprocess-string): Implement the COMMENT
8723 * org-export-latex.el (org-export-latex-preprocess): Implement
8726 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8728 * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
8731 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8733 * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
8735 * org.el (org-quote-csv-field): New functions.
8737 * org-table.el (org-table-export-default-format): Remove :splice
8738 from default format, we get the same effect by not specifying
8740 (org-table-export): Improve setup, distinguish better between
8741 interactive and non-interactive use, allow specifying the format
8742 on the fly, better protection against wrong file names.
8743 (orgtbl-to-generic): Fix documentation. Do not require :tstart
8744 and :tend when :splice is omitted.
8746 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8748 * org-clock.el (org-clock-select-task): Make sure the selection
8749 letters are 1-9 and A-Z, no special characters.
8751 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8753 * org-exp.el (org-export-htmlize): New group.
8754 (org-export-htmlize-output-type)
8755 (org-export-htmlize-css-font-prefix): New options.
8756 (org-export-htmlize-region-for-paste): New function.
8757 (org-export-htmlize-generate-css): New command.
8759 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8761 * org.el (org-set-visibility-according-to-property): New function.
8762 (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
8763 and compute the regular expressions, and update font-lock.
8764 (org-property-re): Allow a dash in property names.
8766 * org-archive.el (org-extract-archive-file): Insert the file name
8767 without the path into the format, to allow the location format to
8768 contain a subdirectory.
8770 * org-agenda.el (org-agenda-post-command-hook): If point is at end
8771 of buffer, and the `org-agenda-type' property undefined, use the
8772 value from the character before.
8774 * org.el (org-add-planning-info): Don't let indentation for
8775 would-be timestamp become extra whitespace at the end of headline.
8777 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8779 * org.el (org-remove-double-quotes, org-file-contents): New
8782 * org-exp.el (org-infile-export-plist): Also parse the
8783 contents of #+SETUPFILE files, recursively.
8785 * org.el (org-set-regexps-and-options): Also parse the
8786 contents of #+SETUPFILE files, recursively.
8788 * org-exp.el (org-export-handle-include-files): New function.
8789 (org-export-preprocess-string): Call
8790 `org-export-handle-include-files'.
8792 * org.el (org-delete-property-globally)
8793 (org-delete-property, org-set-property): Ignore case during
8795 (org-set-property): Use `org-completing-read' instead of
8798 * org.el (org-complete-expand-structure-template): New,
8799 experimental function.
8800 (org-structure-template-alist): New, experimental option.
8801 (org-complete): Call `org-complete-expand-structure-template'.
8803 2008-06-17 Bastien Guerry <bzg@altern.org>
8805 * org-export-latex.el (org-export-latex-preprocess):
8806 Add support for blockquotes.
8808 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8810 * org.el (org-read-date-analyze): Catch the case where only a
8813 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8815 * org.el (org-set-font-lock-defaults): Make the description
8818 * org-exp.el (org-export-as-html, org-close-li): Implement
8821 2008-06-17 Jason Riedy <jason@acm.org>
8823 * org-table.el (*orgtbl-default-fmt*): New variable.
8824 (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
8825 when there is no other fmt available.
8827 (orgtbl-to-generic): Allow an explicitly nil :tstart or
8828 :tend to suppress the appropriate string.
8830 (orgtbl-to-orgtbl): New function for translating to another orgtbl
8833 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8835 * org.el (org-read-date-analyze): "." as an alias for "+0" in
8838 * org-clock.el (org-clock-save-markers-for-cut-and-paste):
8841 * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
8844 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8846 * org-clock.el (org-clock-find-position): Don't include notes
8849 * org-archive.el (org-archive-subtree): No longer remove an
8850 extra line after cutting the subtree. `org-cut-subtree' already
8853 * org-remember.el (org-remember-handler): Only kill the target
8854 buffer if it does not contain the running clock.
8856 * org.el (org-markers-to-move): New variable.
8857 (org-save-markers-in-region, org-check-and-save-marker)
8858 (org-reinstall-markers-in-region): New function.
8859 (org-move-subtree-down, org-copy-subtree): Remember relative
8860 marker positions before cutting.
8861 (org-move-subtree-down, org-paste-subtree): Restore relative
8862 marker positions after pasting.
8864 * org-remember.el (org-remember-clock-out-on-exit): New option.
8865 (org-remember-finalize): Clock out only if the setting in
8866 `org-remember-clock-out-on-exit' requires it.
8867 (org-remember-handler): Do the cleanup in the buffer, to make sure
8868 that the clock marker remains in tact.
8870 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8872 * org-clock.el (org-clock-goto): Widen buffer if necessary.
8873 (org-clock-in): Make sure that also tasks outside the narrowed
8874 region will be clocked in correctly.
8875 (org-clock-insert-selection-line): Widen the buffer so that we can
8876 find the correct task heading.
8878 * org.el (org-base-buffer): New function.
8880 * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
8881 and ";" are escaped.
8882 (org-print-icalendar-entries): Also apply
8883 `org-icalendar-cleanup-string' to the headline, not only to the
8886 2008-06-17 Carsten Dominik <dominik@science.uva.nl>
8888 * org-exp.el (org-export-preprocess-hook): New hook.
8889 (org-export-preprocess-string): Call `org-export-preprocess-hook'.
8891 * org.el (org-font-lock-hook): New variable.
8892 (org-font-lock-hook): New function.
8893 (org-set-font-lock-defaults): Call `org-font-lock-hook'.
8897 ;; add-log-time-zone-rule: t
8900 Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
8902 This file is part of GNU Emacs.
8904 GNU Emacs is free software: you can redistribute it and/or modify
8905 it under the terms of the GNU General Public License as published by
8906 the Free Software Foundation, either version 3 of the License, or
8907 (at your option) any later version.
8909 GNU Emacs is distributed in the hope that it will be useful,
8910 but WITHOUT ANY WARRANTY; without even the implied warranty of
8911 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8912 GNU General Public License for more details.
8914 You should have received a copy of the GNU General Public License
8915 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
8917 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c