* lisp/emacs-lisp/autoload.el (make-autoload): Preload the macros's
[emacs.git] / lisp / org / ChangeLog
blob5b650492442724b874d394ba570a0df1f318f71b
1 2010-08-18  Glenn Morris  <rgm@gnu.org>
3         * ob.el: Require org when compiling.
4         (org-save-outline-visibility): Remove macro declaration.
5         * ob-emacs-lisp.el: Require ob-comint when compiling, for macros.
6         Remove unnecessary/macro declarations.
7         * org-docview.el: Require doc-view when compiling.
8         (doc-view-goto-page): Autoload rather than declaring.
9         (doc-view-current-page): Remove macro declaration.
11 2010-08-17  Glenn Morris  <rgm@gnu.org>
13         * ob.el (tramp-compat-make-temp-file, org-edit-src-code)
14         (org-entry-get, org-table-import): Fix declarations.
15         (org-match-string-no-properties): Remove unnecessary declaration.
16         * ob-sh.el (org-babel-comint-in-buffer)
17         (org-babel-comint-wait-for-output, org-babel-comint-buffer-livep)
18         (org-babel-comint-with-output): Remove unnecessary declarations.
19         * ob-R.el (orgtbl-to-tsv): Fix declaration.
20         * org-list.el (org-entry-get): Fix declaration.
22 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
24         * ob-C.el: New file.
25         * ob-R.el: New file.
26         * ob-asymptote.el: New file.
27         * ob-clojure.el: New file.
28         * ob-comint.el: New file.
29         * ob-css.el: New file.
30         * ob-ditaa.el: New file.
31         * ob-dot.el: New file.
32         * ob-emacs-lisp.el: New file.
33         * ob-eval.el: New file.
34         * ob-exp.el: New file.
35         * ob-gnuplot.el: New file.
36         * ob-haskell.el: New file.
37         * ob-keys.el: New file.
38         * ob-latex.el: New file.
39         * ob-lob.el: New file.
40         * ob-matlab.el: New file.
41         * ob-mscgen.el: New file.
42         * ob-ocaml.el: New file.
43         * ob-octave.el: New file.
44         * ob-perl.el: New file.
45         * ob-python.el: New file.
46         * ob-ref.el: New file.
47         * ob-ruby.el: New file.
48         * ob-sass.el: New file.
49         * ob-screen.el: New file.
50         * ob-sh.el: New file.
51         * ob-sql.el: New file.
52         * ob-sqlite.el: New file.
53         * ob-table.el: New file.
54         * ob-tangle.el: New file.
55         * ob.el: New file.
57 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
59         * org-mks.el: New file.
60         * org-capture.el: New file.
62 2010-07-19  Christian Egli  <christian.egli@sbszh.ch>
64         * org-taskjuggler.el: New file.
66 2010-07-19  Matt Lundin  <mdl@imapmail.org>
68         * org-agenda.el (org-search-view): Fix inclusion of agenda-archives
69         in org-agenda-text-search-extra-files.
71 2010-07-19  David Maus  <dmaus@ictsoc.de>
73         * org-list.el (org-list-send-list): Locally bind variable `txt'.
75 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
77         * org.el (org-reload): Now also reloading babel files.
79 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
81         * org-capture.el (org-capture-set-plist): Make sure txt is a string
82         before calling `string-match'.
83         (org-capture-templates): Fix customization type.
85 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
87         * org-latex.el (org-export-latex-preprocess): Make a special case
88         for \nbsp.
89         (org-latex-entities): Remove the entry for \nbsp.
90         (org-latex-entities-exceptions): Variable removed.
92 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
94         * org-capture.el (org-capture-refile): Do not try to manipulate
95         bookmark list.
97         * org.el (org-refile): Use the correct bookmark here.
99 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
101         * org-list.el (org-list-send-list): Parse list from its true beginning.
103         * org.el (org-ctrl-c-ctrl-c): Maybe send the list when at a list item.
105 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
107         * org.el (org-insert-link): Correctly determine if we should use
108         a relative path.
110 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
112         * org-list.el (org-list-radio-list-templates): Fix templates.
114 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
116         * org-list.el (org-list-send-list): Regexp defining the start of
117         a radio list is now on par with the one used for radio tables.
119 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
121         * org-entities.el (org-entities-help): Add a headline for
122         the user-defined entities.
124 2010-07-19  Dirk-Jan C. Binnema  <djcb.bulk@gmail.com>  (tiny change)
126         * org-agenda.el (org-agenda-action): Document capture key and add it
127         to the prompt.
129 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
131         * org-latex.el (org-export-latex-listings-langs): Add (sqlite "SQL").
133 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
135         * org-latex.el (org-export-latex-first-lines): Do not mark
136         meta lines for removal.  Do not remove BABEL config lines during export.
138 2010-07-19  David Maus  <dmaus@ictsoc.de>
140         * org-capture.el (org-capture): Check if
141         `org-capture-link-is-already-stored' is bound before evaluating.
143 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
145         * org.el: Add autoload for org-babel-do-load-languages.
147 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
149         * org-src.el (org-src-lang-modes): Add sqlite to sql-mode.
151 2010-07-19  David Maus  <dmaus@ictsoc.de>
153         * org-feed.el: Change indentation to match coding style
154         guideline.
156 2010-07-19  David Maus  <dmaus@ictsoc.de>
158         * org-feed.el (org-feed-unescape, org-feed-parse-atom-feed): Load XML
159         library if necessary.
161 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
163         * org-beamer.el (org-beamer-amend-header): Standardize the
164         header cookie for the beamer extra stuff.
166 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
168         * org-beamer.el (org-beamer-amend-header): Put extra header
169         last in header.
171 2010-07-19  David Maus  <dmaus@ictsoc.de>
173         * org-exp-blocks.el (org-export-blocks-format-ditaa)
174         (org-export-blocks-format-dot): Remove text properties of body before
175         calculating cache hash.
177 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
179         * org-latex.el (org-export-latex-tabular-environment): New option.
180         (org-export-latex-tables): Use `org-export-latex-tabular-environment'.
182 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
184         * org-compat.el (org-version-check): New function.
186         * org-indent.el (org-indent-mode): Check for exact emacs version.
188 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
190         * org-capture.el (org-capture-templates): Allow the template
191         to come from a file or function call.
192         (org-capture-place-entry): Get the template from file or function.
194 2010-07-19  David Maus  <dmaus@ictsoc.de>
196         * org-agenda.el (org-agenda-bulk-action): Don't create marker for
197         position if target is entire file.
199 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
201         * org.el (org-autoload): Autoload a few more org-table functions.
203 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
205         * org.el (org-babel-load-languages): Add ob-mscgen.
207 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
209         * org-latex.el (org-export-latex-tables): Format string now
210         matches options.
212 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
214         * org.el (org-babel-load-languages): This variable controls which
215         languages will be loaded by org-babel.  It is customizable through
216         the customize interface.
218 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
220         * org-latex.el (org-export-latex-format-image): Update number of
221         arguments to allow for an optional short-name.
223 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
225         * org-indent.el (org-indent-mode): Refuse to turn on prior to Emacs 23.2.
227 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
229         * org-capture.el (org-capture-set-target-location): Store
230         exact positions for file+regexp and file+function targets.
231         (org-capture-place-entry, org-capture-place-item)
232         (org-capture-place-table-line, org-capture-place-plain-text): Respect
233         exact positions.
234         (org-capture-finalize): Make sure we are at the beginning of a line
235         when fixing the empty lines after the entry.
237 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
239         * org.el (org-entry-get-with-inheritance): New argument LITERAL-NIL.
240         (org-entry-get): Pass `literal-nil' into
241         `org-entry-get-with-inheritance'.
242         (org-todo): React to nil values of the LOGGING property.
244 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
246         * org.el (org-default-notes-file): Update docstring.
248 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
250         * org.el (org-link-frame-setup): Use `org-gnus-no-new-news' as default.
252 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
254         * org-exp.el (org-export-attach-captions-and-attributes): Add
255         a shortname attribute to caption strings under the symbol name
256         org-caption-shortn.
258 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
260         * org.el (org-switchb): Rename from `org-iswitchb'.  Improve
261         docstring.
262         (org-iswitchb): New alias.
263         (org-ido-switchb): Make alias point to `org-switchb'.
265 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
267         * org-capture.el (org-capture-fill-template): Respect
268         time-of-day preference in template prompt.
270 2010-07-19  David Maus  <dmaus@ictsoc.de>
272         * org-feed.el (org-feed-unescape): Remove superfluous lambda.
274 2010-07-19  David Maus  <dmaus@ictsoc.de>
276         * org-wl.el (org-wl-disable-folder-check): New customization
277         variable.
278         (org-wl-open): Disable folder check depending on
279         `org-wl-disable-folder-check'.
281 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
283         * org-capture.el (org-capture-set-target-location): Fix
284         file+function interpretation.
286 2010-07-19  David Maus  <dmaus@ictsoc.de>
288         * org-feed.el (org-feed-parse-rss-entry): Unescape rss element
289         content.
291 2010-07-19  David Maus  <dmaus@ictsoc.de>
293         * org-feed.el (xml-entity-alist): Declare variable
294         `xml-entity-alist' for byte compiler.
296 2010-07-19  David Maus  <dmaus@ictsoc.de>
298         * org-feed.el (org-feed-unescape): New function.  Unescape
299         protected entities.
300         (org-feed-parse-atom-entry): Use function for atom:content
301         type text and html.
303 2010-07-19  David Maus  <dmaus@ictsoc.de>
305         * org-feed.el (org-feed-parse-rss-feed): Ignore case of rss
306         element names.
308 2010-07-19  Bernt Hansen  <bernt@norang.ca>
310         * org.el (org-time-string-to-absolute): Ignore cyclic repeater
311         when displaying items on todays agenda date.
313 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
315         * org-agenda.el (org-agenda-get-progress): Avoid reusing previous
316         value of EXTRA.
318 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
320         * org-publish.el (org-publish-initialize-cache): Make
321         timestamp directory, the entire path to it.
323 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
325         * org-exp.el (org-export-handle-comments): Make sure to check
326         for protection in the comment line, and not in the line after it.
328 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
330         * org-html.el (org-export-html-preprocess): Call org-format-latex,
331         possibly with a protect-only argument.
333         * org.el (org-format-latex): New argument PROTECT-ONLY.
335 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
337         * org-exp.el (org-export-handle-table-metalines): This function
338         removes table specific meta-lines, now that we aren't wiping
339         everything that looks remotely like a comment at the end of the
340         export process we have to be sure to catch all of the specific lines
341         in org-exp.el.
343 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
345         * org-exp.el (org-export-select-backend-specific-text): Properly
346         get rid of #+Backend and #+ATTR_Backend specifics to backends not
347         matching the one we're exporting to.
349 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
351         * Makefile (lisp/org-install.el): Replace babel files in
352         construction of org-install.el.
354 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
356         * org-table.el (orgtbl-to-generic): Add the :remove-newlines
357         option which will strip newline characters from the text of table
358         cells and replace then with "\n".
360 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
362         * org.el (org-confirm-shell-link-function):
363         (org-confirm-elisp-link-function): Limit the values that can be set by
364         file variables.
366 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
368         * org.el (org-compute-latex-and-specials-regexp): Deal with
369         string elements by discarding them.
371 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
373         * org.el (org-iswitchb): Make sure to use at least iswitchb.
375 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
377         * org-capture.el (org-capture-position-for-last-stored)
378         (org-capture-bookmark-last-stored-position): New functions.
379         (org-capture-place-table-line): Better error catching.
380         (org-capture-place-item):
381         (org-capture-place-entry):
382         (org-capture-place-plain-text): Call
383         `org-capture-position-for-last-stored'.
384         (org-capture-finalize): Just call
385         `org-capture-bookmark-last-stored-position'.
387 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
389         * org-exp.el (org-export-mark-blockquote-verse-center): Fix
390         small bug, now grabbing match data before overwritten by looking-at
391         this fixes a problem with remainders of #+end_quote lines appearing
392         in exported output.
394 2010-07-19  David Maus  <dmaus@ictsoc.de>
396         * org.el (org-link-frame-setup): Add customization option for
397         Wanderlust.
399 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
401         * org-latex.el (org-export-latex-fixed-width): Now check
402         org-example rather than org-protected on verbatim export, because by
403         default all ": " prefixed lines are marked protected.
405 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
407         * org-latex.el (org-export-latex-fixed-width): Check for
408         protection before wrapping ": " lines as verbatim.
410 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
412         * org-exp.el (org-export-handle-comments): Check for protection
413         before removing comments.
415 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
417         * org-entities.el (org-entities): Restructure the list.
418         (org-entities-help): Turn the help output into a buffer
419         in Org-mode, so that it becomes easier to find a symbol
420         in the structure.
421         (org-entities-create-table): Deal with new structure.
423 2010-07-19  David Maus  <dmaus@ictsoc.de>
425         * org-agenda.el (org-write-agenda): Use backquotes to expand
426         `flet' at compile time.
428 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
430         * org.el (org-entry-properties): Make sure that standard property
431         names are used even if the user has customized time keywords.
433 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
435         * org-macs.el (org-not-nil): Return the value if not interpreted
436         as nil.
438         * org.el (org-entry-get):
439         (org-entry-get-with-inheritance): Interpret the value "nil"
440         as nil for properties.
442 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
444         * org.el (org-switch-to-buffer-other-window): Return the buffer.
446 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
448         * org-macs.el (org-not-nil): New function.
450         * org.el (org-block-todo-from-children-or-siblings-or-parent):
451         Use `org-not-nil' to interpret a property value of nil.
453 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
455         * org.el (org-truely-invisible-p): New function.
456         (org-beginning-of-line): Use `org-truely-invisible-p'.
458 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
460         * org-agenda.el (org-agenda-get-timestamps): No errors
461         while getting TODO state.
462         (org-agenda-highlight-todo): No error when no keyword has
463         been matched.
465 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
467         * org.el (org-timestamp-change): New optional argument UPDOWN.
468         Use this to identify calls from org-timestamp-up/down, so that we can
469         skip by rounding minutes in this case.
470         (org-timestamp-up):
471         (org-timestamp-down):
472         (org-timestamp-up-day):
473         (org-timestamp-down-day): Call org-timestamp-change with the
474         updown argument.
476 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
478         * org-agenda.el (org-agenda-action): Make `c' key call org-capture.
480         * org-capture.el: New file.
482         * org-compat.el (org-get-x-clipboard): Function moved here from
483         remember.el.
485         * org-mks.el: New file.
487         * org.el (org-set-regexps-and-options): Allow statistic cookies as
488         part of complex headlines.
489         (org-find-olp): New argument THIS-BUFFER.  When set, assume that the
490         OLP does not contain a file name.
492 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
494         * org.el (org-mode): Set `comment-start' instead of changing the
495         syntax of the `#' character.
497 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
499         * org-exp.el (org-export-format-source-code-or-example): Mark examples
500         by a property.
502         * org-html.el (org-export-html-close-lists-maybe): Check if raw
503         HTML stuff was actually made from an example.
505 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
507         * Makefile (LISPF): Let's not compile files that won't often be used.
509 2010-07-19  Bastien Guerry  <bzg@altern.org>
511         * org-latex.el: Items are no longer skipped when their first line
512         ends on a protected element.
514         * org-list.el: Protected environments looking like lists are not
515         exported anymore.
517 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
519         * org-exp-blocks.el (org-export-blocks-preprocess):
520         Cleanup trailing newline after block.
522 2010-07-19  Bastien Guerry  <bzg@altern.org>
524         * org-exp.el: Comment regexp now matches documentation.  No more
525         protection check when deleting comments before export.
527 2010-07-19  Bastien Guerry  <bzg@altern.org>
529         * org-exp.el (org-export-preprocess-string):
530         Now using `org-export-handle-include-files-recurse' to resolve
531         included files.
533 2010-07-19  Bastien Guerry  <bzg@altern.org>
535         * org-agenda.el (org-agenda-get-deadlines):
536         (org-agenda-get-scheduled):
537         * org.el (org-time-string-to-seconds):
538         For deadline and scheduled agenda display ignore the cyclic repeater
539         when calculating how many days late the task is.  If you have a weekly
540         task and miss the date the agenda view will show more than a week late
541         now instead of resetting on the cyclic repeating date.  This makes it
542         much more obvious when you missed a repeating task after the repeater.
544 2010-07-19  Bastien Guerry  <bzg@altern.org>
546         * org-exp.el (org-export-mark-blockquote-verse-center):
547         Consider environments that end at eob.
549 2010-07-19  Mikael Fornius  <mfo@abc.se>
551         * org.el (org-raise-scripts): Do not fontify sub/superscripts of text
552         with face `org-special-keyword'.  Make property keys as :LAST_REPEAT:
553         display correctly.
555 2010-07-19  Mikael Fornius  <mfo@abc.se>
557         * org.el (org-at-property-p): Use save-match-data macro instead of let.
559 2010-07-19  Mikael Fornius  <mfo@abc.se>
561         * org.el (test): Remove unused test function.
563 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
565         * org-exp-blocks.el (org-export-blocks-preprocess): Fix typo.
567 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
569         * org-exp-blocks.el (org-export-blocks-postblock-hook): Add
570         documentation to and turn into a defcustom.
572 2010-07-19  Eric Schulte  <schulte.eric@gmail.com>
574         * org-exp.el (org-get-file-contents): By un-setting prefix1 to ""
575         instead of to nil we avoid errors when :prefix1 is defined, but
576         prefix is not.
578 2010-07-19  Nicolas Goaziou  <n.goaziou@gmail.com>
580         * org-latex.el (org-export-latex-preprocess): Environments coming
581         from latex backend specific instructions (#+LaTeX) are already
582         protected and won't be treated as normal environments.
584 2010-07-19  Bastien Guerry  <bzg@altern.org>
586         * org-timer.el (org-timer-set-timer): Fix typo in the docstring.
588 2010-07-19  Bastien Guerry  <bzg@altern.org>
590         * org-timer.el (org-timer-set-timer): Use a prefix argument.
591         See the docstring of the function.
593 2010-07-19  Bastien Guerry  <bzg@altern.org>
595         * org-timer.el (org-timer-set-timer): Fix bug about cancelling
596         timers.
598 2010-07-19  David Maus  <dmaus@ictsoc.de>
600         * org-w3m.el (org-w3m-copy-for-org-mode)
601         (org-w3m-get-next-link-start, org-w3m-get-prev-link-start):
602         Get text property directly, not using macro `w3m-anchor'.
604 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
606         * org.el (org-emph-re): Document the match groups.
608 2010-07-19  Bernt Hansen  <bernt@norang.ca>
610         * org-clock.el (org-clock-in): Set `org-clock-clocking-in' to
611         t before calling `org-clock-out', so that that function can
612         know its call context.
614 2010-07-19  Bastien Guerry  <bzg@altern.org>
616         * org-timer.el (org-timer-default-timer): New variable.
617         (org-timer-set-timer): Use the new variable.  Also offer the
618         possibility to replace the current timer by a new one.
620 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
622         * org.el (org-kill-note-or-show-branches): Hide subtree before
623         exposing the headings.
625 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
627         * org.el (org-add-planning-info): Remove the empty line also
628         if there is no whitespace at all in there.
630         * org-table.el (org-table-align): Fix alignment of strings
631         with invisible characters.
633 2010-07-19  David Maus  <dmaus@ictsoc.de>
635         * org.el (org-refile-cache-get): Return empty list of targets
636         when cache was cleared.
637         (org-clone-subtree-with-time-shift): Maybe create ID property
638         in cloned subtrees.
639         (org-clone-delete-id): New customization variable.
640         (org-clone-subtree-with-time-shift): Use customization
641         variable `org-clone-delete-id'.
642         (org-clone-subtree-with-time-shift): Remove empty property
643         drawer in cloned subtrees.
645 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
647         * org.el (org-refile-use-cache): New option.
648         (org-refile-cache, org-refile-markers): New variable.
649         (org-refile-marker, org-refile-cache-clear)
650         (org-refile-cache-check-set, org-refile-cache-put)
651         (org-refile-cache-get): New function.
652         (org-get-refile-targets): Use the refile cache.
654         * org-clock.el (org-clock-sum): Don't include running clock if
655         the time block is wrong.
657 2010-07-19  John Wiegley  <jwiegley@gmail.com>
659         * org-clock.el (org-clock-clock-in, org-clock-in): Add
660         parameter `start-time'.
661         (org-clock-resolve-clock): Add parameter `clock-out-time'.
662         If set, and resolve-to is a past time, then the clock out
663         event occurs at `clock-out-time' rather than at `resolve-to'.
664         In this case, `resolve-to' becomes the clock in time.
665         (org-clock-jump-to-current-clock): Create new global command
666         to reveal the current clock.
667         (org-clock-resolve): Add new commands g/G and j/J, and a
668         help window describing all commands and their meaning.
669         (org-clock-resolve-expert): New customization variable.
670         (org-find-open-clocks): Fix a bug that caused discovered
671         clocks not to match up with the currently active clock.
672         (org-resolve-clocks): Change the argument
673         `also-non-dangling-p' to `only-dangling-p', since due to a bug
674         this was the default behavior all along.
676 2010-07-19  David Maus  <dmaus@ictsoc.de>
678         * org-id.el (org-id-uuid): New function.  Return string with
679         random (version 4) UUID.
680         (org-id-method): Make 'uuid the new default value.
681         (org-id-new): Use `org-id-uuid' if call to uuidgen program
682         does not return a UUID.
684 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
686         * org-latex.el (org-export-latex-format-image): Add support
687         for multicolumn figures in LaTeX.
689 2010-07-19  David Maus  <dmaus@ictsoc.de>
691         * org.el (org-clone-subtree-with-time-shift): Remove ID
692         property of original subtree in cloned subtrees.
694 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
696         * org-exp.el (org-export-format-source-code-or-example):
697         XEmacs compatibility.
699         * org-latex.el (org-export-latex-tables): Accept comma in
700         align string.
702         * org-docbook.el (org-export-docbook-xslt-stylesheet): New option.
703         (org-export-docbook-xslt-proc-command): Fix docstring.
704         (org-export-docbook-xsl-fo-proc-command): Fix docstring.
705         (org-export-as-docbook-pdf): Improve
706         formatting of the xslt command.
708         * org-exp.el (org-infile-export-plist): Check for XSLT setting.
710         * org.el (org-file-contents): Improve error message.
711         (org-set-regexps-and-options): Remove spaces at both ends.
713 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
715         * org-docbook.el (org-export-as-docbook-pdf): Improve
716         formatting of the xslt command.
718 2010-07-19  Sebastian Rose  <sebastian_rose@gmx.de>
720         * org-publish.el (org-publish-cache): Use one big hashmap for
721         each project defined in `org-publish-project-alist'.
722         (initialize-files-alist): Function removed.
723         (org-publish-validate-link): Function removed.
724         (org-publish-get-base-files): Add variable `sitemap-requested'
725         to avoid sorting where possible.
726         (org-publish-get-files): Function removed.
727         (org-publish-get-project-from-filename): Make independent of
728         file list.
729         (org-publish-file): New argument NO-CACHE.
731 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
733         * org.el (org-beginning-of-defun, org-end-of-defun): New
734         functions.
735         (org-mode): Install the `org-beginning-of-defun' and
736         `org-end-of-defun' functions.
737         (org-pretty-entities): New option.
738         (org-toggle-pretty-entities): New command.
739         (org-fontify-entities): New function.
740         (org-startup-options): New keywords for pretty entities.
741         (org-set-font-lock-defaults): Call the pretty entities
742         function.
744         * org-latex.el (org-export-latex-keywords-maybe): Protect the
745         TODO markup.
747 2010-07-19  Mikael Fornius  <mfo@abc.se>
749         * org-habit.el (org-habit-build-graph): Help-echo date when
750         mouse is over stars.
752 2010-07-19  Jan Böker  <jan.boecker@jboecker.de>
754         * org.el (org-file-apps): Improve docstring to reflect
755         grouping matches.
757 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
759         * org.el (org-set-startup-visibility): Fix empty line display.
761         * org-latex.el (org-export-latex-links): Use the formatting
762         function of the link type, if it is available.
764         * org-table.el (org-table-get-remote-range): Return to
765         original buffer when retrieving remote reference.
767         * org.el (org-display-inline-images): Do the entire buffer,
768         not just the narrowed region.  Clear the cache.
769         (org-display-inline-images): Match mode file paths.
771 2010-07-19  David Maus  <dmaus@ictsoc.de>
773         * org-wl.el (org-wl-store-link-folder): Don't throw error when
774         called on WL folder group.
776 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
778         * org.el (org-replace-escapes): Make sure the cdr is not nil.
779         (org-read-date): Make `M-v' and `C-v' scroll the popup calendar.
780         (org-mode): Revert comment syntax changes.
782 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
784         * org.el (org-sparse-tree): Make `C-c / t' search for all TODO
785         keywords, and `C-c / T' for a specific one.
787 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
789         * org.el (org-mode): Fix comment syntax settings.
791         * org-src.el (org-edit-src-allow-write-back-p): Define
792         variable.
794         * org.el (org-inline-image-overlays): New variable.
795         (org-toggle-inline-images, org-display-inline-images)
796         (org-remove-inline-images): New commands.
797         (org-mode-map): Define a key for `org-toggle-inline-images'.
799 2010-07-19  David Maus  <dmaus@ictsoc.de>
801         * org-wl.el (org-wl-message-field): New function.  Return
802         content of header field in message entity.
803         (org-wl-store-link): Call `org-wl-store-link-folder' or
804         `org-wl-store-link-message' depending on major-mode.
805         (org-wl-store-link-folder): New function.  Store link to
806         Wanderlust folder.
807         (org-wl-store-link-message): New function.  Store link to
808         Wanderlust message.
809         (org-wl-store-link-message): Store link to message while
810         visiting message.
811         (org-wl-open): Don't try to jump to message when opening a
812         folder link.
814 2010-07-19  David Maus  <dmaus@ictsoc.de>
816         * org.el (org-replace-escapes): Avoid infinite loop when
817         replace string contains escape sequence it replaces.
819 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
821         * org-crypt.el (org-crypt-key-for-heading): Use symmetric
822         encryption when now key is set.
824 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
826         * org-table.el (org-table-recalculate-buffer-tables)
827         (org-table-iterate-buffer-tables): New commands.
829         * org.el (org-check-for-hidden): When there is a region, skip
830         the check.
832 2010-07-19  Dan Davison  <davison@stats.ox.ac.uk>
834         * org-src.el (org-edit-src-code): allow-write-back-p had
835         erroneously been omitted from let binding.
837 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
839         * org-agenda.el (org-sorting-choice): New sorting type alpha.
840         (org-cmp-alpha): New defsubst.
841         (org-em): New defsubst.
842         (org-entries-lessp): Only compute needed comparisons.
844 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
846         * org-html.el (org-format-org-table-html): Test all columns
847         for number content.
849 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
851         * org-latex.el (org-export-latex-treat-sub-super-char): Make
852         sure parenthesis matching is consistent.
854         * org-table.el (org-table-colgroup-line-p)
855         (org-table-cookie-line-p): New functions.
857         * org-exp.el (org-table-clean-before-export): Better tests for
858         colgroup and cookie lines.
860 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
862         * org-agenda.el (org-agenda-goto): Push a mark before changing
863         the position.
865         * org-footnote.el (org-footnote): New group.
866         (org-footnote-section)
867         (org-footnote-tag-for-non-org-mode-files): Fix typos.
869         * org-list.el (org-end-of-item-text-before-children): Also do
870         the right thing at the end of a file.
872         * org.el (org-set-packages-alist, org-get-packages-alist): New
873         function.
874         (org-export-latex-default-packages-alist)
875         (org-export-latex-packages-alist): Add extra flag to
876         each package, indicating if it should be used for snippets.
877         (org-create-formula-image): Add the snippet argument.
878         (org-splice-latex-header): New argument SNIPPET-P, pass it
879         through to `org-latex-packages-to-string'.
880         (org-latex-packages-to-string): New argument SNIPPET-P.
882         * org-latex.el (org-export-latex-make-header): Add the snippet
883         argument.
885         * org-docbook.el (org-export-as-docbook): Implement ordered
886         lists starting at some offset.
888 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
890         * org.el (org-link-types, org-open-at-point): Add doi links.
892         * org-ascii.el (org-export-ascii-preprocess): Remove list
893         startcounter cookies.
895         * org-list.el (org-renumber-ordered-list): Respect counter
896         start values.
898         * org-latex.el (org-export-latex-lists): Accept ordered list
899         item offset cookie.
901         * org-html.el (org-export-as-html): Accept ordered list
902         item offset cookie.
904         * org-indent.el (org-indent-mode): Turn off `indent-tabs-mode'
905         which messes up alignment of tags.
907 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
909         * org-clock.el (org-clock-cancel, org-clock-out): Make sure
910         the modeline display is removed.
912         * org-exp.el (org-export-format-drawer-function): Fix
913         docstring.
915         * org-agenda.el (org-agenda-refile): New optional argument
916         NO-UPDATE.
917         (org-agenda-refile): Call `org-agenda-redo' unless NO-UPDATE
918         is set.
919         (org-agenda-bulk-action): Call the refile command with updates
920         suppressed - but arrange for `org-agenda-redo' to be called at
921         the end.
923         * org.el (org-mode): Make table mapping quiet.
924         (org-table-map-tables): New optional argument QUIETLY.
926         * org-ascii.el (org-export-ascii-preprocess): Make table
927         mapping quiet.
929         * org-html.el (org-export-as-html, org-html-level-start): Change
930         XHTML IDs to not use dots.
932         * org-exp.el (org-export-define-heading-targets): Change
933         XHTML IDs to not use dots.
935         * org-docbook.el (org-export-docbook-level-start): Change
936         XHTML IDs to not use dots.
938         * org-latex.el (org-export-as-latex): Make sure that the
939         result buffer is in latex-mode.
941         * org.el (org-shiftup-final-hook, org-shiftdown-final-hook)
942         (org-shiftleft-final-hook, org-shiftright-final-hook): New
943         hooks.
945 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
947         * org-table.el (org-table-justify-field-maybe): Make sure that
948         inserting a value does not turn a line into a hline.
950 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
952         * org-clock.el (org-clock-sum): New argument HEADLINE-FILTER.
953         (org-clock-sum): Add property to selected headlines.
954         (org-dblock-write:clocktable): Make tags matcher.
956         * org.el (org-set-autofill-regexps): XEmacs compatibility.
958         * org-latex.el (org-export-latex-set-initial-vars): Allow "-"
959         in latex class definitions.
961         * org.el (org-shiftup-hook, org-shiftdown-hook)
962         (org-shiftleft-hook, org-shiftright-hook): New hooks.
964         * org-entities.el (org-entities): Use \land and \lor for logical
965         operators.
967         * org.el (org-shiftmetaleft, org-shiftmetaright): Call the subtree
968         indentation commands.
969         (org-hidden-tree-error): New defsubst.
970         (org-metaleft, org-metaright): Check for hidden stuff and throw an
971         error.
972         (org-check-for-hidden): New function.
974         * org-list.el (org-item-re): New function.
975         (org-at-item-p): Use `org-item-re'.
976         (org-end-of-item-text-before-children): New function.
977         (org-outdent-item, org-indent-item): Arrange for leaving the
978         subtree alone.
979         (org-outdent-item-tree, org-indent-item-tree): New argument
980         NO-SUBTREE.
981         (org-indent-item-tree): Use `org-end-of-item-text-before-children'
982         to find the end for processing while ignoring the subtree.
984         * org-publish.el (org-publish-sitemap-sort-alphabetically)
985         (org-publish-sitemap-sort-folders)
986         (org-publish-sitemap-sort-ignore-case): New options.
988 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
990         * org-publish.el (org-publish-compare-directory-files): Fix sorting.
992         * org-compat.el (org-get-x-clipboard-compat): Use (featurep 'xemacs).
994         * org-publish.el (org-publish-project-alist): Update docstring.
995         (org-publish-file-title-cache): New variable.
996         (org-publish-initialize-files-alist): Initialize
997         `org-publish-initialize-files-alist' to nil.
998         (org-publish-sort-directory-files): New function.
999         (org-publish-projects): Access the new properties.
1000         (org-publish-find-title): Use the file title cache.
1001         (org-publish-find-title): Build the file title cache.
1002         (org-publish-get-base-files-1): Sort files.
1003         (org-publish-aux-preprocess): Do not throw an error when before
1004         the first headline.  Allow an empty target, meaning to link just
1005         to the file.
1006         (org-publish-index-generate-theindex.inc): Check if there is
1007         actually a target and only then add it to the link.
1008         (org-publish-projects): Fix a remaining issue with the last commit.
1010         * org-html.el (org-export-as-html): Treat verse as open/close
1011         paragraph.
1012         (org-export-html-close-lists-maybe): Allow to splice raw HTML into
1013         and out of lists.
1015 2010-07-19  Dan Davison  <davison@stats.ox.ac.uk>
1017         * org-src.el (org-edit-src-code): Allow the org-src edit buffer to
1018         be used in a read-only mode.
1019         (org-edit-src-code): Different message in read-only mode.
1021 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
1023         * org-src.el (org-edit-src-find-region-and-lang): Test for
1024         table.el as late as possible.
1026         * org-colview-xemacs.el: Make sure this file is never loaded into
1027         Emacs.  Remove all tests for XEmacs.
1029         * org-colview.el: Make sure this file is never loaded into XEmacs.
1031         * org-agenda.el (org-highlight, org-unhighlight): Use direct
1032         overlay calls.
1034         * org.el (org-key): Apply the translations defined in
1035         `org-xemacs-key-equivalents'.
1037         * org-mouse.el (org-mode-hook): Use `org-defkey'.
1039         * org-compat.el (org-xemacs-key-equivalents): New constant.
1041 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
1043         * org-inlinetask.el (org-inlinetask-defaut-state): New option.
1044         (org-inlinetask-insert-task): Use `org-inlinetask-defaut-state'.
1045         Obey `org-odd-levels-only'.
1047         * org-compat.el (org-find-overlays): Use overlays-in/at.
1049         * org.el (org-remove-empty-overlays-at)
1050         (org-outline-overlay-data, org-hide-block-toggle)
1051         (org-format-latex, org-context): Use overlays-in/at.
1053         * org-src.el (org-edit-src-exit): Use overlays-in/at.
1055         * org-agenda.el (org-agenda-mark-clocking-task)
1056         (org-agenda-fontify-priorities, org-agenda-dim-blocked-tasks)
1057         (org-agenda-entry-text-hide)
1058         (org-agenda-fix-tags-filter-overlays-at)
1059         (org-agenda-bulk-remove-overlays): Use overlays-in/at.
1061         * org-compat.el (org-overlays-at): Function removed.
1062         (org-overlays-in): Function removed.
1064 2010-07-19  Bastien Guerry  <bzg@altern.org>
1066         * org-clock.el (org-clock-set-current): Just return the headline
1067         itself, strip the TODO keyword, the priority cookie and the tags.
1069 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
1071         * org-compat.el (org-xemacs-without-invisibility): New macro.
1072         (org-xemacs-without-invisibility): New macro.
1073         (org-indent-to-column, org-indent-line-to, org-move-to-column):
1074         Redefine using the macro `org-xemacs-without-invisibility'.
1076         * org.el (org-mode, org-org-menu): Use `add-to-invisibility-spec'.
1078         * org-table.el (orgtbl-mode): Use `add-to-invisibility-spec'.
1080         * org-compat.el (org-make-overlay, org-delete-overlay)
1081         (org-overlay-start, org-overlay-end, org-overlay-put)
1082         (org-overlay-get, org-overlay-move, org-overlay-buffer): Functions
1083         removed.
1084         (org-add-to-invisibility-spec): Function removed.
1086         * org-html.el (org-export-as-html-and-open): Add argument to
1087         kill-buffer.
1089         * org-habit.el (require): `calendar' is now required already by
1090         org.el on top level.
1092         * org-clock.el (require): `calendar' is now required already by
1093         org.el on top level.
1095         * org-agenda.el (require, org-timeline, org-agenda-list)
1096         (org-todo-list, org-agenda-to-appt): `calendar' is now required
1097         already by org.el on top level.
1099         * org.el (org-export-latex-fix-inputenc): Declare function.
1101         * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
1102         variables.
1104         * org.el (calendar): Require calendar now on top level in org.el
1105         and define aliases to new variables when needed.
1106         (org-read-date, org-goto-calendar): Do not bind obsolete
1107         variables.
1109         * org-clock.el (org-clock-out, org-clock-cancel): Get rid of
1110         compilation warning, add comment that this cannot be done with
1111         `with-current-buffer'.
1113         * org-wl.el (org-wl-open): Use `with-current-buffer'.
1115         * org.el (overlay, org-remove-empty-overlays-at)
1116         (org-outline-overlay-data, org-set-outline-overlay-data)
1117         (org-show-block-all, org-hide-block-toggle)
1118         (org-highlight-new-match, org-remove-occur-highlights)
1119         (org-tags-overlay, org-fast-tag-selection, org-date-ovl)
1120         (org-read-date, org-read-date-display, org-eval-in-calendar)
1121         (org-format-latex, org-context)
1122         (org-speedbar-restriction-lock-overlay)
1123         (org-speedbar-set-agenda-restriction): Use the normal overlay API.
1125         * org-table.el (org-table-add-rectangle-overlay)
1126         (org-table-remove-rectangle-highlight)
1127         (org-table-overlay-coordinates)
1128         (org-table-toggle-coordinate-overlays): Use the normal overlay
1129         API.
1131         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
1132         (org-edit-src-exit, org-src-mode-configure-edit-buffer): Use the
1133         normal overlay API.
1135         * org-colview.el (org-columns-new-overlay)
1136         (org-columns-display-here, org-columns-remove-overlays)
1137         (org-columns-edit-value, org-columns-next-allowed-value)
1138         (org-columns-update): Use the normal overlay API.
1140         * org-clock.el (org-clock-out, org-clock-cancel)
1141         (org-clock-put-overlay, org-clock-remove-overlays): Use the normal
1142         overlay API.
1144         * org-agenda.el (org-agenda-mark-filtered-text)
1145         (org-agenda-mark-clocking-task, org-agenda-fontify-priorities)
1146         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
1147         (org-agenda-entry-text-hide)
1148         (org-agenda-restriction-lock-overlay)
1149         (org-agenda-set-restriction-lock)
1150         (org-agenda-filter-by-tag-hide-line)
1151         (org-agenda-fix-tags-filter-overlays-at)
1152         (org-agenda-filter-by-tag-show-all, org-hl)
1153         (org-agenda-goto-calendar, org-agenda-bulk-mark)
1154         (org-agenda-bulk-remove-overlays): Use the normal overlay API.
1156         * org-freemind.el (org-freemind-from-org-mode-node)
1157         (org-freemind-from-org-mode, )
1158         (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode): Use
1159         interactive-p instead of called-interactively, because this is
1160         backward compatible with older Emacsen I still support..
1162 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
1164         * org-exp.el (org-export-define-heading-targets): Fix bug in
1165         regexp finding ID and CUSTOM_ID properties.
1167 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
1169         * org-footnote.el (org-footnote-goto-previous-reference): Rename
1170         from `org-footnote-goto-next-reference'.
1172         * org.el (org-auto-repeat-maybe): Only record LAST_REPEAT if
1173         org-log-repeat is non-nil, or if there is clocking data in the
1174         entry.
1176         * org-crypt.el (org-encrypt-entry): Improve mapping behavior.
1178 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
1180         * org.el (org-align-all-tags): New command.
1182 2010-07-19  David Maus  <dmaus@ictsoc.de>
1184         * org-wl.el (org-wl-link-remove-filter): New customizable
1185         variable.  If non-nil, filter conditions are stripped when storing
1186         link to message in filter folder.
1187         (org-wl-shimbun-prefer-web-links): New customizable variable.  If
1188         non-nil, links to shimbun messages are created as web links to
1189         message source.
1190         (org-wl-nntp-prefer-web-links): New customizable variable.  If
1191         non-nil, links to nntp message are created as web links to gmane
1192         or googlegroups.
1193         (org-wl-namazu-default-index): New customizable variable.
1194         Directory of namazu search index that should be used as default
1195         when opening a link in a search folder.
1196         (org-wl-folder-types): New constant.  Wanderlust folder type
1197         indicators.
1198         (org-wl-folder-type): New function.  Return type of Wanderlust
1199         folder.
1200         (org-wl-store-link): Create web links for shimbun or nntp messages
1201         and strip filter conditions depending on customizable variables.
1202         (org-wl-open): Open namazu search folder for message when called
1203         with prefix.
1205 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
1207         * org.el (org-remove-if, org-remove-if-not): New functions.
1208         (org-open-file): Use internal remove-if functions.
1210 2010-07-19  Jan Böcker  <jan.boecker@jboecker.de>
1212         * org.el (org-file-apps-entry-match-against-dlink-p): New function.
1213         (org-file-apps-ex): Remove variable.
1214         (org-open-file): Integrate org-file-apps-ex functionality back
1215         into org-file-apps, and decide whether to match a regexp against
1216         the link or the filename using org-file-apps-entry-uses-grouping-p.
1218 2010-07-19  Jan Böcker  <jan.boecker@jboecker.de>
1220         * org.el (org-file-apps-ex): New variable.
1221         (org-open-file): Before considering org-file-apps, first match the
1222         regexps from org-file-apps-ex against the whole link.  See
1223         docstring of org-file-apps-ex.
1225 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
1227         * org.el (org-export-latex-default-packages-alist): Remove
1228         microtype package.
1229         (org-todo-repeat-to-state): New variable.
1230         (org-auto-repeat-maybe): Allow user-selected target states.
1231         (org-default-properties): Add the new property REPEAT_TO_STATE.
1233 2010-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
1235         * org-mobile.el (org-mobile-check-setup): Make sure that there is
1236         a binary to compute checksums.
1238 2010-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
1240         * org-agenda.el (org-agenda-goto-calendar): Do not bind obsolete
1241         variables.
1243         * org.el (calendar): Require calendar now on top level in org.el
1244         and define aliases to new variables when needed.
1245         (org-read-date, org-goto-calendar): Do not bind obsolete
1246         variables.
1248 2010-06-22  Glenn Morris  <rgm@gnu.org>
1250         * org-entities.el: Add explicit utf-8 coding cookie to file with
1251         utf-8 characters.
1253 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1255         * org.el (org-file-complete-link): Avoid (expand-file-name ".").
1257 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
1259         * Version 23.2 released.
1261 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1263         * org-table.el (orgtbl-setup):
1264         * org-agenda.el (org-agenda-entry-text-mode): Simplify.
1266 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1268         * org-table.el (orgtbl-mode): Use define-minor-mode.
1270 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1272         * org.el (org-insert-link): Find the link buffer on visible frames.
1273         (org-export-latex-default-packages-alist): Hyperref must be loaded
1274         late.
1275         (org-open-file): More care with the new matching for file links.
1277 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1279         * org-latex.el (org-export-latex-preprocess): Do not yet protect
1280         defined entities - these will be taken care of later.
1281         (org-export-latex-special-chars): Post-process entity replacement.
1282         (org-export-latex-fontify-headline): Do not yet protect defined
1283         entities - these will be taken care of later.
1284         (org-export-latex-tables, org-export-latex-links): Format the
1285         caption properly.
1287         * org-entities.el (org-entities-user): Fix typo.
1289         * org.el (org-prepare-agenda-buffers): Uniquify TODO keywords.
1291         * org-entities.el (org-entities-user): Improve docstring.
1293 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1295         * org-entities.el (org-macs): Require org-macs, to be sure that we
1296         have `declare-function' defined.
1298 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1300         * org-latex.el (org-export-latex-classes): Update docstring.
1302         * org.el (org-format-latex-header): Add cookies to the header.
1303         (org-splice-latex-header): Implement placement according to cookies.
1305 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1307         * org-publish.el (org-publish-aux-preprocess): Control case
1308         sensitivity.
1310 2010-04-10  Bastien Guerry  <bzg@altern.org>
1312         * org.el (org-splice-latex-header): Fix typo.
1314 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1316         * org-latex.el (org-export-latex-make-header):
1317         Use `org-splice-latex-header' to build the header.
1318         (org-export-latex-classes): Update docstring.
1320         * org.el (org-splice-latex-header): New function.
1321         (org-create-formula-image): Use `org-splice-latex-header' to build
1322         the header.
1324         * org-gnus.el (org-gnus-follow-link): Handle nndoc backend.
1326 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1328         * org.el (org-export-latex-packages-alist)
1329         (org-export-latex-default-packages-alist): Fix docstring to
1330         reflect the expected structure.
1332         * org-docbook.el (org-docbook-do-expand): Fix bug with variable names.
1333         (org-export-docbook-finalize-table): Make use of label for tables.
1335 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1337         * org-attach.el (org-attach-commit): Split on newlines.
1339         * org.el (org-export-latex-default-packages-alist): Use list
1340         instead of cons for the entries.
1342 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1344         * org-entities.el (org-entity-get-representation): Catch the case
1345         that there is not entry in the list.
1347         * org-mobile.el (org-mobile-use-encryption)
1348         (org-mobile-encryption-tempfile, org-mobile-encryption-password):
1349         New options.
1350         (org-mobile-check-setup): CHeck the encryption setup.
1351         (org-mobile-copy-agenda-files, org-mobile-sumo-agenda-command)
1352         (org-mobile-create-sumo-agenda): Use encryption code.
1353         (org-mobile-encrypt-and-move): New function.
1354         (org-mobile-encrypt-file, org-mobile-decrypt-file): New
1355         functions.
1356         (org-mobile-move-capture): Decrypt the capture file.
1358         * org.el (org-entities): Require the new file.
1359         (org-export-latex-default-packages-alist): New variable.
1360         (org-complete): Use new entity code for completion.
1361         (org-create-formula-image): Use the new packages variable.
1363         * org-latex.el (org-export-latex-classes): Remove the standard
1364         packages from the class headers.
1365         (org-export-latex-make-header): Use the new package variable.
1366         (org-export-latex-special-chars): Better regexp for entities, to
1367         support entity name that contain numbers.
1368         (org-export-latex-treat-backslash-char): Use the new entity code.
1370         * org-html.el (org-html-do-expand): Use the new entity code.
1372         * org-exp.el (org-export): Add the new export commands.
1373         (org-html-entities): Constant removed.
1374         (org-export-visible): Add the new export commands.
1376         * org-docbook.el (org-docbook-do-expand): Use new entity code.
1378         * org-ascii.el (org-export-ascii-entities): New variable.
1379         (org-export-as-latin1, org-export-as-latin1-to-buffer)
1380         (org-export-as-utf8, org-export-as-utf8-to-buffer): New commands.
1381         (org-export-as-encoding): New function.
1382         (org-export-ascii-preprocess): Call `org-ascii-replace-entities'.
1383         (org-ascii-replace-entities): New function.
1385 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1386             Ulf Stegemann  <ulf@zeitform.de>
1388         * org-entities.el: New file.
1390 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1392         * org-html.el (org-html-level-start): Catch the case that target
1393         might be nil.
1395 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
1397         * org.el (org-appearance): Change Customize group variable name
1398         from org-font-lock to org-appearance, and change tag from "Org
1399         Font Lock" to "Org Appearance".
1400         (org-odd-levels-only): Change Customize group variable name.
1401         (org-level-color-stars-only): Change Customize group variable name.
1402         (org-hide-leading-stars): Change Customize group variable name.
1403         (org-hidden-keywords): Change Customize group variable name.
1404         (org-fontify-done-headline): Change Customize group variable name.
1405         (org-fontify-emphasized-text): Change Customize group variable name.
1406         (org-fontify-whole-heading-line): Change Customize group variable name.
1407         (org-highlight-latex-fragments-and-specials): Change Customize
1408         group variable name.
1409         (org-hide-emphasis-markers): Change Customize group variable name.
1410         (org-emphasis-alist): Change Customize group variable name.
1411         (org-emphasis-regexp-components): Change Customize group variable
1412         name.
1413         (org-modules): Remove mention of org-R.
1415         * org-faces.el (org-faces): Change Customize group variable name.
1417 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1419         * org-agenda.el (org-diary-last-run-time): New variable.
1420         (org-diary): Prepare agenda buffers only if last call was some
1421         time ago.
1423         * org-html.el (org-export-html-preprocess): Replace \ref macros
1424         with a link.
1425         (org-format-org-table-html): Add the label as an anchor.
1427         * org-docbook.el (org-export-docbook-format-image): Do some
1428         formatting on captions.
1430         * org-latex.el (org-export-latex-tables, org-export-latex-links):
1431         Do some formatting on captions.
1433         * org-html.el (org-export-html-format-image)
1434         (org-format-org-table-html): Do some formatting on captions.
1436 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
1438         * org.el (org-hidden-keywords): New customizable variable.  This is
1439         a list of symbols specifying which of the special keywords #+DATE,
1440         #+AUTHOR, #+EMAIL and #+TITLE should be hidden by font lock.
1441         (org-fontify-meta-lines-and-blocks): Changes to font-lock code
1442         implementing new faces and hiding behaviour.
1444         * org-faces.el (org-document-title): New face for #+TITLE lines.
1445         (org-document-info): New face for #+DATE, #+AUTHOR, #+EMAIL lines.
1446         (org-document-info-keyword): New face for #+DATE, #+AUTHOR, #+EMAIL
1447         keywords.
1449 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1451         * org-publish.el (org-publish-sanitize-plist): New function to
1452         rename "index" properties to "sitemap".  Do this renaming
1453         globally.
1454         (org-publish-with-aux-preprocess-maybe): New macro.
1455         (org-publish-org-to-pdf, org-publish-org-to-html): Use the new
1456         macro.
1457         (org-publish-aux-preprocess)
1458         (org-publish-index-generate-theindex.inc): New function.
1460 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1462         * org-table.el (org-table-align): Interpret <N> at fixed width,
1463         not as maximum width.
1465 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1467         * org-exp.el (org-export-author-info, org-export-email-info): Fix
1468         docstrings.
1470         * org-beamer.el (org-beamer-select-environment): Rename from
1471         `org-beamer-set-environment-tag'.  Improve docstring.
1473         * org-freemind.el (org-freemind-write-mm-buffer): Fix another
1474         problem with odd levels.
1476         * org-ascii.el (org-export-as-ascii): Export email only if the
1477         author wants it.
1479         * org-docbook.el (org-export-as-docbook): Export email only if the
1480         author wants it.
1482         * org-html.el (org-export-as-html): Export email only if the
1483         author wants it.
1485         * org-exp.el (org-export-email-info): New option.
1486         (org-export-plist-vars): Add entry for `org-export-email'.
1488 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1490         * org-table.el (org-table-goto-line): Fix typo.
1492 2010-04-10  Mikael Fornius  <mfo@abc.se>
1494         * org.el (org-agenda-files): Typo.
1495         (org-read-agenda-file-list): Add optional argument to help
1496         `org-store-new-agenda-file-list' to remember un-expanded file
1497         names.  Expand file names relative to `org-directory'.
1498         (org-store-new-agenda-file-list): Keep un-expanded file names when
1499         saving, if available.
1500         (org-agenda-files): Update documentation.
1502 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1504         * org-ascii.el (org-export-as-ascii): Catch the case of exporting
1505         a buffer with no file name attached.
1507         * org.el (org-log-refile): New option.
1508         (org-log-note-headings): Add a heading for refiling.
1509         (org-startup-options): Add keywords for logging of the refile
1510         action.
1511         (org-refile): Add logging action.
1512         (org-add-log-note): Allow for refiling action.
1514         * org-agenda.el (org-agenda-bulk-action): Make sure
1515         `org-log-refile' is not `note' during a bulk action.
1517 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1519         * org.el (org-map-dblocks): Use save-excursion to remember the
1520         position.
1522         * org-attach.el (org-attach-commit): Remove dependence on xargs.
1523         (org-attach-delete-one): Commit after deleting a file.
1525         * org-latex.el (org-export-latex-fontify): Do not mistake table.el
1526         borders for strike-through emphasis.
1528         * org-freemind.el (org-freemind-write-mm-buffer): Simplify the
1529         handling of odd levels.
1531         * org-agenda.el (org-agenda-todo-ignore-deadlines): Document `past'
1532         and `future' values.
1533         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
1534         Handle `past' and `future' values.
1536         * org.el (org-read-agenda-file-list): Interpret file names
1537         relative to org-directory and allow environment variables and
1538         "~".
1540         * org-latex.el (org-export-latex-special-chars): Allow a
1541         parenthesis before an exponent or subscript.
1543 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
1545         * org-src.el (org-edit-src-exit): When returning from code edit
1546         buffer, if code block is hidden, leave point at start of
1547         #+begin_src line.
1549 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1551         * org.el (org-insert-heading): Do not remove all spaces if the
1552         headline is empty.
1554         * org-indent.el (org-indent): Fix group name.
1556 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1558         * org-table.el (org-table-goto-column): Fix forcing a non-existing
1559         column.
1560         (org-table-get, org-table-put, org-table-goto-line)
1561         (org-table-current-line): New functions.
1563 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
1565         * org.el (org-open-file): Allow regular expressions in
1566         org-file-apps to capture link parameters using groups.  In a
1567         command string to be executed, the parameters can be referenced
1568         using %1, %2, etc.  Lisp forms can access them using
1569         (match-string n link).
1570         (org-apps-regexp-alist): Adopt the created regexp, as this is now
1571         matched against a file: link instead of the file name.
1573 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1575         * org-crypt.el (org-reveal-start-hook): Add a decryption function
1576         to this hook.
1577         (org-decrypt-entries, org-encrypt-entries, org-decrypt-entry): Add
1578         docstrings.
1580         * org.el (org-point-at-end-of-empty-headline)
1581         (org-level-increment, org-get-previous-line-level): New function.
1582         (org-cycle-level): Rewritten to be independent of when this
1583         function is called.
1584         (org-in-regexps-block-p): New function.
1585         (org-reveal-start-hook): New hook.
1586         (org-reveal): Run new hook.
1588 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1590         * org-latex.el (org-export-latex-keywords): Start a new paragraph
1591         after time keywords, do not add "\newline".
1593         * org-html.el (org-export-as-html): Avoid double # in href.
1595         * org.el (org-refile-get-location): Catch an invalid target
1596         specification.
1598 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1600         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
1601         Make sure the behavior regarding to extracting time is
1602         consistent.
1604 2010-04-10  Stephen Eglen  <stephen@gnu.org>
1606         * org-agenda.el (org-agenda-insert-diary-extract-time): New
1607         variable.
1608         (org-agenda-add-entry-to-org-agenda-diary-file): Use this new
1609         variable rather than `org-agenda-search-headline-for-time'.
1611 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1613         * org-list.el (org-fix-bullet-type): Improve cursor positioning.
1615 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1617         * org.el (org-adaptive-fill-regexp-backup): New variable.
1618         (org-set-autofill-regexps): Store a backup of
1619         `adaptive-fill-regexp'.
1620         (org-adaptive-fill-function): Fix filling of comments and ordered
1621         lists.  If there is no other match, till try adaptive fill.
1623 2010-04-10  John Wiegley  <jwiegley@gmail.com>
1625         * org-agenda.el (org-agenda-include-deadlines): Add new
1626         customization variable to determine whether unscheduled tasks
1627         should appear in the agenda solely because of their deadline.
1628         Default to true, which was the previous behavior (it just wasn't
1629         configurable).
1630         (org-agenda-mode-map, org-agenda-view-mode-dispatch): Bind ! in
1631         the agenda to show/hide deadline tasks.
1632         (org-agenda-menu): Add menu option for show/hide deadlines.
1633         (org-agenda-list): Make the agenda list sensitive to the value of
1634         `org-agenda-include-deadlines'.
1635         (org-agenda-toggle-deadlines): New function to toggle the value of
1636         `org-agenda-include-deadlines' and repaint the modeline
1637         indicators.
1638         (org-agenda-set-mode-name): Show "Deadlines" in the agenda
1639         modeline if deadline tasks are being displayed.
1641 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1643         * org-table.el (org-table-eval-formula): Replace $# and @# by
1644         current column and row number.
1646 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1648         * org.el (org-set-property, org-delete-property): Go back to
1649         prompting for the property.
1651         * org-latex.el (org-export-latex-make-header): Fully process
1652         author line.
1653         (org-export-latex-fontify-headline): Allow several arguments, not
1654         just one.
1655         (org-export-latex-fix-inputenc): Catch the error when
1656         `latexenc-coding-system-to-inputenc' is not defined.
1658         * org-agenda.el (org-agenda-skip-if-todo): New function.
1659         (org-agenda-skip-if): Add conditions for TODO keywords.
1660         (org-agenda-skip-if): Document the new todo conditions.
1662 2010-04-10  Mikael Fornius  <mfo@abc.se>
1664         * org.el (org-at-property-p): Check if we are inside a property
1665         drawer not just any drawer.
1666         (org-set-property, org-delete-property): When cursor is on a
1667         property key value pair do not prompt for property name instead
1668         use name at cursor.
1669         (org-ctrl-c-ctrl-c): Still do org-property-action when cursor is
1670         on the first line of a property drawer.
1671         (org-property-end-re): Spell check.
1673 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1675         * org-exp.el (org-export-attach-captions-and-attributes): Add the
1676         properties to the entire table, in case the first line is
1677         removed.
1679         * org-archive.el (org-archive-reversed-order): New option.
1680         (org-archive-subtree, org-archive-to-archive-sibling): Use the new
1681         option `org-archive-reversed-order'.
1683 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1685         * org-agenda.el (org-agenda-entry-types): New variable.
1686         (org-agenda-list): Use `org-agenda-entry-types'.
1687         (org-agenda-custom-commands-local-options): Support for setting
1688         `org-agenda-entry-types' as an option.
1689         (org-diary): Shift some documentation from here to the variable
1690         `org-agenda-entry-types'.
1692 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1694         * org-latex.el (org-export-latex-make-header): Apply macros in
1695         author field.
1697         * org-clock.el (org-clocking-buffer, org-clocking-p): New function.
1698         (org-clock-select-task, org-clock-notify-once-if-expired)
1699         (org-clock-in, org-clock-out, org-clock-cancel, org-clock-goto)
1700         (org-clock-out-if-current, org-clock-save): Use the new functions.
1702 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1704         * org-docbook.el (org-export-as-docbook): Remove unnecessary
1705         newline.
1706         (org-export-as-docbook): Remove unnecessary newline.
1707         (org-export-as-docbook): Fix problem with double footnote
1708         reference in one place.
1710         * org-exp.el (org-export-format-source-code-or-example): Remove
1711         unnecessary newline.
1713         * org.el (org-deadline, org-schedule): Allow rescheduling entries
1714         with repeaters.
1716         * org-table.el (org-table-convert-refs-to-rc): Better way to catch
1717         function calls that look like references.
1719         * org.el (org-open-at-point): Get link abbreviations from
1720         reference buffer.
1722 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1724         * org-table.el (org-table-convert-refs-to-rc): Do not read arctan2
1725         as a reference.
1727 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1729         * org.el (org-link-unescape): Solve issue with lower-case escapes.
1731 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1733         * org-latex.el (org-export-latex-classes): Add
1734         \usepackage{latexsym} to all classes.
1736 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1738         * org-html.el (org-export-as-html): Do not allow protected lines
1739         into the table of contents.
1741         * org-latex.el (org-export-latex-special-chars): Find subsequent
1742         occurrences of special characters.
1743         (org-export-latex-tables): Do not convert table-like stuff that is
1744         protected.
1746 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1748         * org-list.el (org-toggle-checkbox): No errors when updating
1749         checkbox count fails because there is no heading.
1751 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1753         * org-clock.el (org-clock-report-include-clocking-task): New
1754         option.
1755         (org-clock-sum): Add the current clocking task.
1757 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1759         * org.el (org-cycle): Print a message when in a table.el table.
1760         (org-edit-special): Recognize the table.el context.
1761         (org-ctrl-c-ctrl-c): Print a message when in a table.el table.
1763         * org-src.el (org-at-table.el-p): Declare.
1764         (org-edit-src-code): Handle a special case for table.el editing.
1765         (org-edit-src-find-region-and-lang): Recognize the table.el
1766         context.
1768         * org-latex.el (org-export-latex-tables): Convert table.el
1769         tables.
1770         (org-export-latex-convert-table.el-table): New function.
1772         * org-html.el (org-html-expand): Fix table.el export.
1774         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
1775         headings.
1777         * org-id.el (org-id-find-id-file): Fix bug when there is no hash
1778         table for the id locations.
1780         * org.el (org-read-date-analyze): Match American-style dates, like
1781         5/30 or 5/13/7.  Make sure cal-iso.el is loaded.  Don't force he
1782         current year when reading ISO and American dates.
1784 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1786         * org.el (org-face-from-face-or-color): New function.
1787         (org-get-todo-face, org-font-lock-add-priority-faces)
1788         (org-get-tag-face): Use `org-face-from-face-or-color'.
1790         * org-faces.el (org-todo-keyword-faces, org-priority-faces): Allow
1791         simple colors as values.
1792         (org-faces-easy-properties): New option.
1794         * org-agenda.el (org-agenda-set-mode-name): Show if the agenda is
1795         restricted, as an agenda mode.
1796         (org-agenda-fontify-priorities): Allow simple colors as values.
1798 2010-04-10  Bastien Guerry  <bzg@altern.org>
1800         * org-timer.el (org-timer-current-timer): Rename from
1801         `org-timer-last-timer'.
1802         (org-timer-timer1, org-timer-timer2, org-timer-timer3): Remove.
1803         (org-timer-cancel-timer, org-timer-show-remaining-time)
1804         (org-timer-set-timer): Update to use only one timer.
1806         * org.el (org-set-property): Remove useless space in the prompt.
1808 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1810         * org-html.el (org-export-html-style-default): Add a default style
1811         for textareas.
1813         * org-exp.el (org-export-format-source-code-or-example): Fix
1814         textarea tag.
1816 2010-04-10  Bastien Guerry  <bzg@altern.org>
1818         * org-clock.el (org-clock-current-task): New variable to store
1819         last clocked in task.
1820         (org-clock-set-current, org-clock-delete-current): New functions.
1822 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1824         * org-remember.el (org-remember-apply-template): Extend comment.
1825         (org-remember-handler): Implement clock sibling filing.
1827 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1829         * org-publish.el (org-publish-all, org-publish-current-file)
1830         (org-publish-current-project): When called with prefix argument
1831         FORCE, also rebuild the validation file list.
1833         * org-latex.el (org-export-latex-preprocess): Protect footnotes in
1834         section headings.
1836 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1838         * org-html.el (org-export-as-html-and-open): Kill product buffer
1839         if the user wants that.
1841         * org-latex.el (org-export-as-pdf-and-open): Kill product buffer
1842         if the user wants that.
1844         * org-exp.el (org-export-kill-product-buffer-when-displayed): New
1845         option.
1847         * org-agenda.el (org-batch-agenda-csv): Use the time property
1848         instead of the `time-of-day' property.
1850 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1852         * org-timer.el (org-timer-start-hook, org-timer-stop-hook)
1853         (org-timer-pause-hook, org-timer-set-hook)
1854         (org-timer-cancel-hook): New hooks.
1855         (org-timer-start): Run `org-timer-start-hook'.
1856         (org-timer-pause-or-continue): Run `org-timer-pause-hook'.
1857         (org-timer-stop): Run `org-timer-stop-hook'.
1858         (org-timer-cancel-timers): Run `org-timer-cancel-hook'.
1860 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1862         * org.el (org-reveal): Double prefix arg shows the subtree of the
1863         parent.
1865 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1867         * org-agenda.el (org-search-view): Fix bug with searching full
1868         words in headlines in search view.
1869         (org-agenda-skip-deadline-prewarning-if-scheduled): New option.
1870         (org-agenda-get-deadlines): Suppress pre-warning if the entry is
1871         scheduled (if the user configures it so.
1873 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1875         * org.el (org-hide-archived-subtrees): Don't jump to end of
1876         subtree if the match was not in a headline.
1877         (org-inside-latex-macro-p): Allow more complex arguments.
1878         (org-emphasize): Protect against use at end of buffer.
1880 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1882         * org-agenda.el (org-agenda-align-tags): Avoid side effects on
1883         text properties.
1885 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1887         * org-agenda.el (org-agenda-todo-ignore-scheduled): More allowed
1888         values.
1889         (org-agenda-todo-ignore-scheduled)
1890         (org-agenda-todo-ignore-deadlines): More control with different
1891         allowed values.
1892         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
1893         Honor the new option settings.
1895 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1897         * org.el (org-get-location): Make sure the selection buffer is
1898         shown in the current frame.
1900         * org-ascii.el (org-export-ascii-table-widen-columns): New
1901         option.
1902         (org-export-ascii-preprocess): Realign tables to remove narrowing
1903         if `org-export-ascii-table-widen-columns' is set.
1905         * org-table.el (org-table-do-narrow): New variable.
1906         (org-table-align): Narrow only if `org-table-do-narrow' is t.
1908         * org.el (org-deadline, org-schedule): Allow updating if the
1909         relevant time stamp does not have a repeater, i.e. do not require
1910         that no time stamp has a repeater.
1912         * org-agenda.el (org-agenda-align-tags): Don't add a face to the
1913         new white space before the tags.
1915         * org-latex.el (org-export-as-latex): Do nit require the buffer to
1916         be visiting a file when only exporting to a buffer or string.
1917         (org-export-latex-fix-inputenc): Only save the buffer is there is
1918         a file name attached to it.
1920 2010-04-10  Dan Davison  <davison@stats.ox.ac.uk>
1922         * org-src.el (org-edit-src-exit): Widen before exiting edit buffers.
1924 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1926         * org.el (org-fontify-meta-lines-and-blocks): Honor
1927         `org-fontify-quote-and-verse-blocks'.
1929         * org-faces.el (org-fontify-quote-and-verse-blocks): New option.
1931 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1933         * org.el (org-open-at-point): Also check for text property
1934         org-linked-text before offering collected links.
1936 2010-04-10  Stephen Eglen  <stephen@gnu.org>
1938         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
1939         Optionally extract time specification from text and add to the
1940         timestamp.
1942 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1944         * org-exp.el (org-html-entities): Fix typo.
1946         * org-latex.el (org-export-latex-make-header): Use \providecommand
1947         to make sure the \alert macro is defined.
1949         * org.el (org-format-latex-signal-error)
1950         (org-create-formula-image): Use `org-format-latex-signal-error'.
1952 2010-04-10  Stephen Eglen  <stephen@gnu.org>
1954         * org.el (org-store-link): For dired buffers, use
1955         default-directory as link name if dired-get-filename returns
1956         nil.
1958 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1960         * org-exp.el (org-export-concatenate-multiline-links): The for
1961         protectedness at beginning of match.
1963         * org-latex.el (org-export-latex-fix-inputenc): Never leave the
1964         AUTO as a coding system, instead default to utf8.
1966 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
1968         * org.el (org-block-todo-from-children-or-siblings-or-parent)
1969         (org-block-todo-from-checkboxes): Respect the local variable
1970         value when deciding if blocking should be active.
1972         * org-latex.el (org-export-latex-make-header): Define the align
1973         macro if it is not yet defined.
1975         * org-agenda.el (org-agenda-insert-diary-make-new-entry): Call
1976         `org-insert-heading' with the INVISIBLE-OK argument.
1978         * org-mac-message.el (org-mac-message-insert-flagged): Call
1979         `org-insert-heading' with the INVISIBLE-OK argument.
1981         * org.el (org-insert-heading): New argument INVISIBLE-OK.
1983         * org-agenda.el (org-agenda-view-mode-dispatch): Improve the
1984         prompt message.
1986         * org-html.el (org-html-level-start): Use the
1987         `html-container-class' text property to set an additional class
1988         for an outline container.
1990         * org-exp.el (org-export-remember-html-container-classes): New
1991         function.
1992         (org-export-preprocess-string): Call
1993         `org-export-remember-html-container-classes'.
1995         * org.el (org-cycle): Mention level cycling in the docstring.
1996         (org-default-properties): Add new property HTML_CONTAINER_CLASS.
1998         * org-remember.el (org-remember-apply-template): Do file insertion
1999         first.
2001 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2003         * org-habit.el (org-habit-insert-consistency-graphs): Fix a
2004         problem with mis-aligned graphs when showing habits.
2006 2010-04-10  Mikael Fornius  <mfo@abc.se>
2008         * org.el (org-assign-fast-keys): Prefer keys used in keyword name
2009         when assigning.  Begin using numerical characters when all in name
2010         is used up.  This is to spare alphanumeric characters for better
2011         match with other keywords.
2013 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2015         * org-exp.el (org-export-preprocess-hook): Improve documentation.
2017         * org-latex.el (org-export-latex-preprocess): More consistent
2018         conversion and protection of the words LaTeX and TeX.
2019         (org-export-latex-fontify-headline, org-export-latex-preprocess):
2020         Allow angle brackets in commands, for beamer.
2022 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2024         * org-clock.el (org-clock-in): Improve the look of the clock line
2025         by formatting links.
2027 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2029         * org-latex.el (org-export-latex-classes): Use AUTO as the place
2030         holder string for the coding system.  And improve the
2031         documentation.
2032         (org-export-latex-fix-inputenc): Only modify the coding system if
2033         it is given by the placeholder AUTO.
2035 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2037         * org-clock.el (org-task-overrun-text): New option.
2038         (org-task-overrun, org-clock-update-period): New variables.
2039         (org-clock-get-clock-string, org-clock-update-mode-line): Mark
2040         overrun clock.
2041         (org-clock-notify-once-if-expired): Check if clock is overrun.
2043         * org-faces.el: New face `org-mode-line-clock-overrun'.
2045 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
2047         * org.el (org-narrow-to-subtree): Position the end of the narrowed
2048         region before the line with the next heading, to prevent the user
2049         from prepending text to the next headline.
2051 2010-04-10  Stephen Eglen  <stephen@gnu.org>
2053         * org-agenda.el (org-get-time-of-day): Use
2054         org-agenda-time-leading-zero to allow leading zero (rather than
2055         space) for times.
2057 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2059         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
2060         org-datetree.el is loaded.
2062         * org-datetree.el: Autoload `org-datetree-find-day-create'.
2064         * org-latex.el (org-export-latex-hyperref-format): New option.
2065         (org-export-latex-links): Use `org-export-latex-hyperref-format'.
2067 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2069         * org-ctags.el (org-ctags-enable): Change order of functions.
2070         (org-ctags-create-tags): Add wildcard to file name expansion.
2072 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2074         * org.el (org-entry-properties): Fix some important bugs.
2076 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2078         * org.el (org-link-unescape, org-link-escape): Only use hexlify if
2079         the table is not explicitly given.
2081 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2083         * org-clock.el (org-clock-out-when-done): Allow a list of keywords
2084         as value.
2085         (org-clock-out-if-current): Work with the new list value of
2086         `org-clock-out-when-done'.
2087         (org-clock-out, org-clock-out-if-current): Avoid circular logic
2088         between clocking out and state changes.
2090         * org-ctags.el (org-ctags-path-to-ctags): Better system-type test.
2092         * org-latex.el (org-export-latex-treat-backslash-char): Do not by
2093         accident protect a character that is before a backslash.
2095 2010-04-10  Paul Sexton  <eeeickythump@gmail.com>
2097         * org-ctags.el: New file.
2099 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2101         * org-agenda.el (org-diary-class): Use
2102         `org-order-calendar-date-args'.
2104         * org.el (org-order-calendar-date-args): New function.
2106         * org-exp.el (org-export-target-internal-links): Check for
2107         protectedness after the first bracket.
2109         * org.el (org-entry-properties): Don't match wrong-case TODO
2110         keywords.
2112         * org-agenda.el (org-agenda-schedule, org-agenda-deadline):
2113         Document that ARG is passed through to remove the date.
2114         (org-agenda-bulk-action): Accept prefix arg and pass it on.  Do
2115         not read a date when the user has given a `C-u' prefix.
2117 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2119         * org-agenda.el (org-agenda-fix-displayed-tags): Fix bug when all
2120         tags are hidden.
2122 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2124         * org-latex.el (org-export-latex-fix-inputenc): New function.
2125         (org-export-latex-inputenc-alist): New option.
2127         * org-exp.el (org-export): New key SPC to publish enclosing
2128         subtree.
2130 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2132         * org-indent.el (org-indent-add-properties): Catch case when there
2133         is no headline in the buffer.
2135 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2137         * org-exp.el (org-html-entities): Add checkmark symbol.
2139         * org-ascii.el (org-export-ascii-preprocess): Protect targets in
2140         verbatim code for ASCII export.
2142         * org.el (org-update-statistics-cookies): Also see checkboxes in
2143         ordered lists.
2145 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2147         * org-agenda.el (org-agenda-view-mode-dispatch): Define the `L'
2148         key.
2150         * org-beamer.el (org-beamer-amend-header): Change the location
2151         where `org-beamer-header-extra' is inserted.
2153         * org.el (org-compute-latex-and-specials-regexp): Don't do BIND
2154         just for computing this regexp.
2156 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2158         * org-beamer.el (org-beamer-frame-default-options): New option.
2159         (org-beamer-sectioning): Use default options if the user does not
2160         have defined any.
2161         (org-beamer-fix-toc): Put a frame around the table of contents.
2163         * org-exp.el (org-export-remove-comment-blocks-and-subtrees): Make
2164         sure case-folding works well when processing comment stuff.
2166         * org-latex.el (org-export-latex-after-save-hook): New hook.
2167         (org-export-as-latex): Run the new hook.
2169 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2171         * org-beamer.el (org-beamer-environments-default): Add the note
2172         environments.
2173         (org-beamer-after-initial-vars): Allow several BEAMER_HEADER_EXTRA
2174         lines and collect and combine the content.
2175         (org-beamer-after-initial-vars): Check for note tags and make sure
2176         they will be seen like a property.
2178         * org.el (org-offer-links-in-entry): Fix bug when there is a
2179         single link.
2181         * org-exp.el (org-export): Make sure the mark is activated, also
2182         when `transient-mark-mode' is off.
2184         * org-agenda.el (org-agenda-search-view-always-boolean): New option.
2185         (org-agenda-search-view-search-words-only): Obsolete variable, is
2186         now an alias for `org-agenda-search-view-always-boolean'.
2187         (org-agenda-search-view-force-full-words): New option.
2188         (org-search-view): Improve docstring, and implement a better logic
2189         for Boolean and phrase searches.
2190         (org-agenda-last-search-view-search-was-boolean): New variable.
2191         (org-agenda-manipulate-query): Consider the type of the last
2192         search when modifying the search string.
2194 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2196         * org-latex.el (org-export-as-latex): Do the first letbind in the
2197         right moment.
2199         * org-agenda.el (org-get-entries-from-diary): Add the new face to
2200         these entries.
2202         * org-faces.el (org-agenda-diary): New face.
2204         * org.el (org-make-link-regexps): Allow regexp-special characters
2205         in link types.
2206         (org-open-file): When in-emacs is `system', also force system
2207         opening, like when the value was `(16)'.
2208         (org-update-statistics-cookies): Handle entries without children.
2210         * org-exp.el
2211         (org-export-preprocess-before-normalizing-links-hook): New hook.
2212         (org-export-preprocess-string): Run the new hook.
2214         * org.el (org-offer-links-in-entry): Make RET open all links.
2216         * org-html.el (org-export-as-html): Remove any leftover display
2217         properties in the html file.
2219         * org-wl.el (org-wl-store-link): Work-around for format bug with
2220         text properties.
2222         * org-habit.el (org-habit-insert-consistency-graphs): Turn off
2223         invisibility while adding the graphs.
2225 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2227         * org-remember.el (org-select-remember-template): Use C letter to
2228         customize remember templates.
2230         * org-agenda.el (org-agenda-bulk-mark, org-agenda-bulk-unmark):
2231         Move cursor to next visible line.
2233 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2235         * org-beamer.el (org-beamer-sectioning): Leave columns environment
2236         by specifying 0 or 1 for column width.
2237         (org-beamer-column-widths): Make 0 stand for 0.0.
2239 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2241         * org-exp.el (org-export-mark-radio-links): Don't match inside
2242         <<target>>.
2244         * org.el (org-format-latex-header-extra): New variable.
2245         (org-format-latex): Set org-format-latex-header-extra from
2246         in-buffer stuff.
2247         (org-format-latex): Add org-format-latex-header-extra to the
2248         variables on which image creation depends.
2249         (org-create-formula-image): Add the header stuff from in-buffer
2250         settings.
2251         (org-read-date-analyze): Base the analysis for future preference
2252         on NOW, not on the default date.
2254         * org-inlinetask.el (org-inlinetask-export-handler): Add CSS class
2255         for TODO keyword in inline tasks.
2257         * org.el (org-log-note-headings): New headings for removing
2258         deadline or scheduling date.
2259         (org-deadline, org-schedule): Arrange for logging when removing a
2260         date.
2261         (org-add-log-note): Handle deadline and scheduling removal.
2263 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2265         * org-exp.el (org-export-visible): Add LaTeX/pdf export.
2267 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2269         * org-agenda.el (org-diary-class): New function.
2271 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2273         * org-latex.el (org-export-latex-preprocess): Do process the text
2274         of a radio target.
2276 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2278         * org.el (org-entry-properties): Add TIMESTAMP properties back
2279         in.
2281 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2283         * org.el (org-all-time-keywords): New variable.
2284         (org-set-regexps-and-options): Set `org-all-time-keywords'.
2285         (org-entry-blocked-p): New function.
2286         (org-special-properties): Add BLOCKED as a new special property.
2287         (org-entry-properties): New optional argument SPECIFIC, only parse
2288         for this property when it is specified.
2289         (org-entry-get): Pass a SPECIFIC argument to
2290         `org-entry-properties'.
2292         * org-latex.el (org-export-as-latex): Preprocess TEXT as well.
2294 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2296         * org-latex.el (org-export-latex-tables): No forced line end if
2297         there is no caption.
2299 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2301         * org-exp.el (org-html-entities): Add Euro symbols from Marvosym
2302         package.
2304         * org-latex.el (org-export-latex-tables): Only add a caption when
2305         macro in in longtable environments if one has been defined.
2307         * org-html.el (org-export-as-html): Only take title from buffer if
2308         not exporting body-only.
2310         * org-latex.el (org-export-latex-preprocess): Better version of
2311         the regular expression for protecting LaTeX macros.
2312         (org-export-latex-preprocess): Start searching for macros to
2313         protect from beginning of buffer.
2315         * org-exp.el (org-export-target-internal-links): Check for
2316         protectedness earlier in the string.
2318         * org-agenda.el (org-agenda-highlight-todo): Match TODO keywords
2319         case sensitively.
2321         * org-id.el (org-id-store-link): Match TODO keywords case
2322         sensitively.
2324         * org.el (org-heading-components, org-get-outline-path)
2325         (org-display-outline-path): Match TODO keywords case sensitively.
2327         * org-latex.el (org-export-as-latex): Ignore read-only
2328         properties.
2330         * org-exp.el (org-export-preprocess-string): Remove any
2331         `read-only' properties.
2333         * org-agenda.el (org-agenda-inactive-leader): New option.
2334         (org-agenda-get-timestamps): Use `org-agenda-inactive-leader'.
2335         (org-tags-view): Prompt for matcher if MATCH is an empty string.
2336         (org-todo-list): Prompt for matcher if ARG is an empty string.
2338 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2340         * org.el (org-open-link-functions): New hook.
2341         (org-open-at-point): Run `org-open-link-functions'.
2343 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2345         * org-agenda.el (org-agenda-date-prompt): Allow inactive time
2346         stamps as well.
2348         * org.el (org-inhibit-startup-visibility-stuff): New variable.
2349         (org-mode): Don't do startup visibility if inhibited.
2350         (org-outline-overlay-data, org-set-outline-overlay-data): New
2351         functions.
2352         (org-save-outline-visibility): New macro.
2353         (org-log-note-headings): Document that one should not change the
2354         `state' note format.
2356 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2358         * org.el (org-make-link-regexps): Capture link path into a group.
2360 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2362         * org-beamer.el (org-beamer-after-initial-vars): Do not overwrite
2363         the options plist.
2365 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2367         * org.el (org-startup-with-beamer-mode): New option.
2368         (org-property-changed-functions)
2369         (org-property-allowed-value-functions): New hooks.
2370         (org-entry-put, org-property-get-allowed-values): Run the new
2371         hooks.
2372         (org-property-next-allowed-value): Run the new hooks.
2374         * org-exp.el (org-export-select-backend-specific-text): Add the
2375         special beamer tags.
2377         * org-beamer.el: New file.
2379         * org-latex.el (org-export-latex-after-initial-vars-hook): New hook.
2380         (org-export-as-latex): Run
2381         `org-export-latex-after-initial-vars-hook'.
2382         (org-export-latex-format-toc-function)
2383         (org-export-latex-make-header): Call
2384         `org-export-latex-format-toc-function'.
2386         * org.el (org-fill-template): Make template searches case sensitive.
2388         * org-exp.el (org-export): Use "1" as a sign to export only the
2389         subtree.
2391         * org-colview-xemacs.el (org-columns-edit-value): Use
2392         org-unrestricted property.
2394         * org-colview.el (org-columns-edit-value): Use
2395         org-unrestricted property.
2397         * org.el (org-compute-property-at-point): Set org-unrestricted
2398         text property if the list contains ":ETC".
2399         (org-insert-property-drawer): Use
2400         org-unrestricted property.
2402         * org-exp.el
2403         (org-export-preprocess-before-selecting-backend-code-hook): New hook.
2404         (org-export-preprocess-string): Run
2405         `org-export-preprocess-before-selecting-backend-code-hook'.
2407         * org-xoxo.el (org-export-as-xoxo): Run `org-export-first-hook'.
2409         * org-latex.el (org-export-region-as-latex): Run
2410         `org-export-first-hook'.
2412         * org-html.el (org-export-as-html): Run `org-export-first-hook'.
2414         * org-docbook.el (org-export-as-docbook): Run
2415         `org-export-first-hook'.
2417         * org-ascii.el (org-export-as-ascii): Run `org-export-first-hook'.
2419         * org-exp.el (org-export-first-hook): New hook.
2421 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2423         * org-list.el (org-previous-item): Exit at the beginning of the
2424         buffer.
2426         * org-id.el (org-id-locations-save): Only write the id locations
2427         if any are defined.
2429         * org-archive.el (org-archive-all-done): Make this work in a file
2430         with org-odd-levels-only set.
2432         * org.el (org-get-refile-targets): Catch the case when a buffer
2433         has no file.
2435         * org-latex.el (org-export-as-latex): Cleanup forced line ends
2436         where they are not needed.
2437         (org-export-latex-subcontent): Remove unnecessary newlines.
2439 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2441         * org-latex.el (org-export-latex-make-header): Remove \obeylines.
2442         (org-export-latex-fontify): Fix regexp bug that takes special
2443         care of protecting the right boundary characters in emphasis
2444         matches.
2445         (org-export-latex-preprocess): Allow multiple arguments to latex
2446         macros.
2448         * org.el (org-make-link-regexps): Use John Gruber's regexp for
2449         urls.
2451         * org-macs.el (org-re): Interpret :punct: in regexps.
2453         * org-exp.el (org-export-replace-src-segments-and-examples): Also
2454         take the final newline after the END line.
2456         * org.el (org-clean-visibility-after-subtree-move): Only fix
2457         entries that are not entirely invisible already.
2458         (org-insert-link): Respect org-link-file-path-type for
2459         "docview:" links in addition to "file:" links.
2461 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2463         * org-exp.el (org-export-format-source-code-or-example): Avoid
2464         additional extra white lines in LaTeX.
2466         * org-list.el (org-list-parse-list): Leave empty lines after the
2467         list, don't consider them as part of the list.
2469         * org-mobile.el (org-mobile-sumo-agenda-command): Allow tagstodo
2470         searches.
2472         * org-clock.el (org-clock-select-task): Convert integer to
2473         character for XEmacs.
2475 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2477         * org-clock.el (org-clock-resolve): Make reading a char XEmacs
2478         compatible.
2480 2010-04-10  Tassilo Horn  <tassilo@member.fsf.org>
2482         * org.el (org-complete-tags-always-offer-all-agenda-tags): New
2483         variable.
2484         (org-set-tags): Use it.
2486 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2488         * org-list.el (org-empty-line-terminates-plain-lists): Update
2489         docstring.
2491         * org.el (org-format-latex): Fix link creation for processed latex
2492         snippets.
2494 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2496         * org-footnote.el (org-footnote-normalize): Protect replacement
2497         text.
2499         * org.el (org-inside-latex-macro-p): Save match data.
2501 2010-04-10  Jan Böcker  <jan.boecker@jboecker.de>
2503         * org-docview.el: New file.
2505 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2507         * org-latex.el (org-export-latex-class-options): New variable.
2508         (org-export-latex-set-initial-vars): Use the class options.
2510         * org.el (org-forward-same-level): Stop at headings that start
2511         with an invisible character.
2512         (org-additional-option-like-keywords): Add LaTeX_CLASS_OPTIONS.
2514 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2516         * org-footnote.el (org-footnote-normalize): Don't take optional
2517         arguments in LaTeX macros as footnotes.
2519         * org.el (org-inside-latex-macro-p): New function.
2521         * org-latex.el (org-latex-to-pdf-process): Change customization
2522         group to `org-export-pdf'.
2524         * org-agenda.el (org-agenda-get-blocks): Look at time string also
2525         on days after the first one.
2527         * org.el (org-insert-heading): Also check for item before assuming
2528         before-first-heading condition.
2530         * org-latex.el (org-latex-to-pdf-process): Fix typo in group tag.
2531         (org-export-pdf-logfiles): New option.
2532         (org-export-as-pdf): Use `org-export-pdf-logfiles'.
2533         (org-export-pdf-logfiles): Fix customization type.
2535         * org.el (org-insert-link): Improve error message when there is no
2536         default link to select with RET.
2538         * org-agenda.el (org-agenda-filter-by-tag): Use char argument from
2539         parameter list.
2541 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2543         * org-latex.el (org-export-latex-parse-global)
2544         (org-export-latex-parse-content)
2545         (org-export-latex-parse-subcontent): Use
2546         `org-re-search-forward-unprotected'.
2547         (org-export-as-pdf): Remove log files produced by XeTeX.
2549         * org-macs.el (org-re-search-forward-unprotected): New function.
2551 2010-04-10  James TD Smith  <ahktenzero@mohorovi.cc>
2553         * org-colview.el (org-agenda-colview-summarize): Sort out some
2554         confusion between properties and titles, which resulted in
2555         agenda summaries not working if a title was set for a column.
2557 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2559         * org-mobile.el (org-mobile-agendas): New option.
2560         (org-mobile-sumo-agenda-command): Select the right agendas.
2562         * org-latex.el (org-export-latex-format-image): Preserve the
2563         original-indentation property.
2565 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2567         * org-clock.el (org-clock-insert-selection-line): Catch error when
2568         an old tasks no longer exists.
2570         * org-latex.el (org-export-as-pdf): Remove also the .idx file.
2571         (org-export-as-pdf): Don't remove the old PDF file before making
2572         the new one.
2574         * org-mouse.el (org-mouse-end-headline, org-mouse-insert-item)
2575         (org-mouse-context-menu): Use `org-looking-back'.
2577         * org.el (org-cycle-level): Use `org-looking-back'.
2579         * org-list.el (org-cycle-item-indentation): Use
2580         `org-looking-back'.
2582         * org-compat.el (org-looking-back): New function.
2584         * org.el (org-insert-heading): Catch before-first-headline when
2585         inserting a headline.
2587 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2589         * org-latex.el (org-export-latex-format-image): Indent figure
2590         environment, so that it does not interrupt plain list.
2592         * org.el (org-open-at-point): Allow long link descriptions.
2594 2010-04-10  Carsten Dominik  <carsten.dominik@gmail.com>
2596         * org-html.el (org-export-as-html): Remove empty lines at the
2597         beginning of the exported text.
2599 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
2601         * org.el (org): Remove from hypermedia group.
2603 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
2605         * Branch for 23.2.
2607 2010-02-15  Chong Yidong  <cyd@stupidchicken.com>
2609         * org-freemind.el (org-freemind-from-org-mode-node)
2610         (org-freemind-from-org-mode, )
2611         (org-freemind-from-org-sparse-tree, org-freemind-to-org-mode):
2612         Pass arg to called-interactively-p.
2614 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
2616         * org-protocol.el (org-protocol-flatten-greedy, org-protocol-flatten):
2617         Fix typos in docstrings.
2619 2010-01-01  Juanma Barranquero  <lekktu@gmail.com>
2621         * org.el (org-get-outline-path, org-speed-command-help):
2622         Fix typos in error messages.
2624 2009-12-14  Juri Linkov  <juri@jurta.org>
2626         * org-html.el (org-export-html-style-include-default):
2627         Put `safe-local-variable booleanp' on
2628         `org-export-html-style-include-default' instead of mistakenly
2629         duplicate `org-export-html-style'.
2631 2009-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
2633         * org-agenda.el (org-agenda-diary-entry-in-org-file): Rebuild
2634         agenda after adding new entry.
2636         * org-datetree.el (org-datetree-find-day-create): Fix regular
2637         expression.
2639         * org.el (org-display-outline-path): Use a format specifier for
2640         message, to avoid problems with heading containing `%'.
2642         * org-agenda.el (org-agenda-hide-tags-regexp): New option.
2643         (org-format-agenda-item): Call `org-agenda-fix-displayed-tags'.
2644         (org-agenda-fix-displayed-tags): New function.
2645         (org-agenda-do-context-action): Just call
2646         `org-display-outline-path', without piping the result through
2647         `message'.
2649         * org-latex.el (org-export-latex-preprocess): Protect secondary
2650         footnote references.
2652         * org-indent.el (org-indent-initialize): Avoid empty strings as
2653         line prefixes.
2655         * org-agenda.el (org-agenda-diary-entry-in-org-file): Make sure
2656         hat checking for the mark does not throw an error.
2657         (org-agenda-diary-entry-in-org-file): Catch the case that there is
2658         not `day' text property in the cursor line.
2660         * org.el (org-sort-entries-or-items): Make sure that the final
2661         entry has a newline before doing the sorting.
2663         * org-agenda.el (org-agenda-diary-entry-in-org-file): Get the text
2664         property at the beginning of the line.
2666         * org.el (org-make-link-string): Don't allow a description with
2667         only white space.
2669         * org-agenda.el (org-agenda-insert-diary-strategy): New variable.
2670         (org-agenda-insert-diary-as-top-level): New function.
2671         (org-agenda-add-entry-to-org-agenda-diary-file): Call
2672         `org-agenda-insert-diary-as-top-level'.
2674         * org.el (org-occur-in-agenda-files): Make sure none of the
2675         buffers is narrowed.
2676         (org-activate-plain-links): Add the face property here.
2677         (org-set-font-lock-defaults): Do not add the face to plain links,
2678         the activator function does this.
2680         * org-habit.el (org-is-habit-p): Add doc string.
2682         * org-archive.el (org-archive-subtree-default-with-confirmation):
2683         Autoload.
2685         * org-latex.el (org-export-latex-fontify): Fix regexp to make char
2686         after match optional (happens at the end of a line...).
2688         * org.el (org-fontify-meta-lines-and-blocks): Apply special faces
2689         for special blocks.
2691         * org-faces.el (org-copy-face): Set lisp indentation.
2692         (org-quote, org-verse): New faces.
2694         * org-agenda.el (org-agenda-remove-date): Remove variable.
2696         * org-freemind.el (org-freemind-escape-str-from-org): Fix encoding.
2698         * org-html.el (org-export-as-html): Move the home/up link into
2699         the content div.
2701         * org.el (org-export-latex-packages-alist): Option definition
2702         moved here from org-latex.el.
2704         * org-html.el (org-export-html-home/up-format): Add an ID to the
2705         up/home div.
2707         * org-wl.el (org-wl-store-link): Handle the case that
2708         `wl-use-petname' is set.
2710         * org.el (org-set-effort): Improve prompt.
2711         (org-get-outline-path): Widen to get full path.
2712         (org-compact-display-after-subtree-move): Function removed.
2714 2009-11-20  Eric Schulte  <schulte.eric@gmail.com>
2716         * org-exp-blocks.el (org-export-blocks-format-ditaa): Use sha1
2717         hash keys to cache and re-use images generated by the
2718         org-exp-blocks interface to ditaa and dot.
2720         * org.el (org-format-latex): Latex images are now saved to files
2721         named by the sha1 hash of the latex source text avoiding
2722         regeneration of identical images.
2724 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
2726         * org-latex.el (org-export-as-latex): Add the :drawers property.
2728 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
2730         * org.el (org-speed-commands-user): Allow documentation headlines.
2731         (org-speed-commands-default): Organize the value of this constant
2732         with descriptive headlines.
2733         (org-print-speed-command): Output the headlines.
2735 2009-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
2737         * org-agenda.el (org-agenda-show-outline-path): New option.
2738         (org-agenda-do-context-action): New function.
2739         (org-agenda-next-line, org-agenda-previous-line): Use
2740         `org-agenda-do-context-action'.
2742         * org.el (org-use-speed-commands): Allow function value.
2743         (org-speed-commands-default): Make headline motion safe, so that
2744         these commands always end on a headline.
2745         (org-speed-commands-default): New key `v' for `org-agenda'.
2746         (org-speed-move-safe): New function.
2747         (org-self-insert-command): Use the function value of
2748         `org-use-speed-commands'.
2749         (org-get-outline-path): Improve docstring.
2750         (org-format-outline-path): New function.
2751         (org-display-outline-path): New function.
2753 2009-11-15  John Wiegley  <jwiegley@gmail.com>
2755         * org-clock.el (org-clock-resolve): If `org-clock-into-string' is
2756         a string, use that to find the LOGBOOK drawer.
2758 2009-11-15  Glenn Morris  <rgm@gnu.org>
2760         * org-agenda.el (org-datetree-find-date-create)
2761         (org-habit-get-priority):
2762         * org.el (org-format-agenda-item): Fix declarations.
2764 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
2766         * org.el (org-clone-subtree-with-time-shift): Make it work at the
2767         end of the buffer.
2769         * org-mobile.el (org-mobile-write-checksums): Specify coding
2770         system.
2771         (org-mobile-timestamp-buffer): Keep local variable/mode line at
2772         beginning of buffer.
2774         * org-latex.el (org-latex-entities-regexp): Fix typo in regexp.
2776         * org.el (org-block-todo-from-children-or-siblings-or-parent)
2777         (org-block-todo-from-checkboxes): Do not block changes to a nil
2778         TODO state.
2780 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
2782         * org-habit.el (org-habit-parse-todo): Indicate which habit is
2783         wrongly set up in the error messages.
2785         * org-colview.el (org-columns-display-here): Don't try to
2786         calculate values if the underlying property is not set.
2787         (org-columns-string-to-number): Convert age strings back into
2788         fractional days.
2789         (org-agenda-colview-summarize): Handle extended summary types
2790         properly.
2792         * org-colview-xemacs.el (org-columns-display-here): Don't try to
2793         calculate values if the underlying property is not set.
2794         (org-columns-string-to-number): Convert age strings back into
2795         fractional days.
2796         (org-agenda-colview-summarize): Handle extended summary types
2797         properly.
2799 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
2801         * org-exp.el (org-export-format-drawer-function): New variable.
2802         (org-export-format-drawer): New function.
2803         (org-export-preprocess-string): Pass the backend as a parameter to
2804         `org-export-remove-or-extract-drawers'.
2805         (org-export-remove-or-extract-drawers): New parameter BACKEND.
2807         * org-protocol.el (org-protocol-char-to-string): New defsubst.
2809 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
2811         * org-agenda.el (org-agenda-diary-entry-in-org-file): Add error
2812         message when no block is selected.
2814         * org-latex.el (org-export-latex-links): Check for protectedness
2815         in the last matched character, not after the match.
2817         * org-datetree.el (org-datetree-find-date-create): Respect
2818         restriction when KEEP-RESTRICTION is set.
2819         (org-datetree-file-entry-under): New function.
2820         (org-datetree-cleanup): New command.
2822 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
2824         * org-src.el (org-edit-src-code): New optional argument context
2825         allows calling functions to avoid altering the saved window
2826         configuration.
2827         (org-edit-src-exit): Do not restore window configuration when this
2828         function is used in the context of saving the edit buffer.
2830 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
2832         * org-clock.el (org-clock-out, org-clock-cancel): Revert to
2833         instances to switching to with-current-buffer, because these seem
2834         to cause problems - no idea why.
2836         * org-agenda.el (org-agenda-add-entry-to-org-agenda-diary-file):
2837         Require diary-lib for (diary-date-display-form).
2839 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
2841         * org.el (org-log-reschedule, org-log-redeadline): New options.
2842         (org-log-note-headings): Add templates for rescheduling and
2843         deadline changing.
2844         (org-startup-options): Add in-buffer settings for logging changing
2845         schedule and deadline time stamps.
2846         (org-deadline, org-schedule): Check for existing date and arrange
2847         for logging if the user requests it.
2848         (org-add-log-note): Prepare proper note buffers for rescheduling
2849         and deadline changes.
2851 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
2853         * org-agenda.el (org-agenda-diary-entry-in-org-file)
2854         (org-agenda-add-entry-to-org-agenda-diary-file)
2855         (org-agenda-insert-diary-make-new-entry): New functions.
2856         (org-agenda-diary-entry): Call
2857         `org-agenda-diary-entry-in-org-file' when appropriate.
2859         * org.el (org-calendar-insert-diary-entry-key): New option.
2860         (org-agenda-diary-file): New option.
2861         ("calendar"): Install our insertion function in the calendar.
2863         * org-remember.el (org-datetree): Require.
2864         (org-remember-templates): Add new positioning option.
2865         (org-remember-reference-date): New variable.
2866         (org-remember-apply-template): Store the reference date in a local
2867         variable.
2868         (org-remember-handler): Implement date tree positioning of entries.
2870         * org-datetree.el: New file.
2872         * org-latex.el (org-export-latex-preprocess): Protect targets in
2873         verbatim emphasis.
2875         * org-html.el (org-export-as-html): Protect targets in verbatim
2876         emphasis.
2878         * org-docbook.el (org-export-as-docbook): Protect targets in
2879         verbatim emphasis.
2881 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
2883         * org-clock.el (org-show-notification): Handle messages that
2884         contain a percent character.
2886         * org-remember.el (org-remember-apply-template): Turn of partial
2887         completion.
2889         * org-mobile.el (org-mobile-before-process-capture-hook): New hook.
2890         (org-mobile-pull): Run `org-mobile-before-process-capture-hook'.
2892         * org.el (org-indent-mode): Define variable already in org.el.
2893         (org-unfontify-region): Remove line-prefix and wrap-prefix
2894         properties only if org-indent-mode is active.
2896 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
2898         * org-icalendar.el (org-print-icalendar-entries): Save match data
2899         around call to verify function.
2900         (org-print-icalendar-entries): Add a call to the verification
2901         function.
2903         * org.el (org-speedbar-set-agenda-restriction): Remove unnecessary
2904         save-restrivtion' form.
2906 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
2908         * org-exp.el (org-export-format-source-code-or-example): Restrict
2909         scope of preserve-indentp to the let binding.
2910         (org-src): Require org-src, since org-src-preserve-indentation is used.
2912 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
2914         * org-timer.el (org-timer-set-timer): Set variables
2915         org-timer-timer[123] correctly.
2917         * org-mobile.el (org-mobile-files-alist): Make it work when
2918         `agenda-archives' is included in
2919         `org-agenda-text-search-extra-files'.
2920         (org-mobile-push): Restore agenda after mobile push.
2922 2009-11-13  John Wiegley  <jwiegley@gmail.com>
2924         * org-clock.el (org-resolve-clocks-if-idle): Another fix to the
2925         way the amount of idle time is presented in the minibuffer.
2927 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
2929         * org-icalendar.el (org-print-icalendar-entries): Use
2930         org-icalendar-verify-function only if non-nil.
2932         * org.el (org-refile): Refile to clock only if the prefix arg is
2933         2.
2934         (org-sparse-tree): Fix docstring to be in line with prompt.
2935         (org-update-parent-todo-statistics): Call
2936         `org-after-todo-statistics-hook' on each level.
2938 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
2940         * org-remember.el (org-remember-apply-template): Make sure the
2941         buffer exists.
2943 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
2945         * org.el (org-tab-ind-state): New variable.
2946         (org-cycle-level): New function.
2947         (org-cycle-level-after-item/entry-creation): New option.
2948         (org-flag-subtree): New function.
2949         (org-hide-archived-subtrees): Call `org-flag-subtree'.
2950         (org-set-effort): Indexed access.
2952         * org-list.el (org-cycle-item-indentation): New function.
2954         * org.el (org-refile): Make prefix argument 2 refile to current
2955         clock.
2956         (org-priority): Interpret action `remove' as call to remove the
2957         priority cookie.
2959         * org-remember.el (org-remember-apply-template): Don't depend on
2960         buffer name being like file name.
2962 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
2964         * org-clock.el (org-clock-play-sound): Expand file in
2965         org-clock-sound, to allow ~ for home.
2967         * org-remember.el (org-remember-handler): Set
2968         text-before-node-creation even if this already looks like a node,
2969         because the string might be needed on non-org-mode target files.
2971         * org-agenda.el (org-agenda-open-link): Make this work in agenda
2972         clocktables.
2973         (org-agenda-switch-to): Follow a link at point if
2974         org-return-follows-link' is set and there is nothing else to do in
2975         this line.
2977 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
2979         * org-colview-xemacs.el: Add in changes from org-colview.el.
2981 2009-11-13  Dan Davison  <davison@stats.ox.ac.uk>
2983         * org-exp-blocks.el: Modify split separator regexp to avoid empty
2984         strings.
2986 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
2988         * org-colview.el (org-columns-new): Make this work with the new
2989         operators.
2990         (org-columns-store-format): Make this work with the new operators.
2992 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
2994         * org-src.el (org-src-preserve-indentation): Document that this
2995         variable is also used during export.
2997         * org-exp.el (org-export-format-source-code-or-example): Preserve
2998         indentation if a block has a -i option, or if
2999         `org-src-preserve-indentation' is set.
3001         * org-exp-blocks.el (org-export-blocks-preprocess): Preserve
3002         indentation if a block has a -i option, or if
3003         `org-src-preserve-indentation' is set.
3005 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3007         * org.el (org-mode-map): Define the new archiving keys.
3008         (org-speed-commands-default): Define an archiving key in the speed
3009         command map.
3010         (org-org-menu): Improve the menu structure concerning archiving.
3012         * org-archive.el (org-archive-subtree-default-with-confirmation):
3013         New command.
3015         * org-agenda.el (org-agenda-mode-map): Define the new archiving keys.
3016         (org-agenda-menu): Add the new archiving commands to the menu.
3017         (org-agenda-archive-default)
3018         (org-agenda-archive-default-with-confirmation): New commands.
3019         (org-agenda-archive, org-agenda-archive-to-archive-sibling): Just
3020         call `org-agenda-archive-with'.
3021         (org-agenda-archive-with): New function.
3023         * org-table.el (org-table-convert-region): Inert spaces around "|"
3024         to avoid line beginnings like "|-1" which will be mistaken as
3025         hlines.
3027 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3029         * org.el (org-offer-links-in-entry): Return nil if there are no
3030         links, t if a link has been selected.
3031         (org-open-at-point): Open attachment directory when called in the
3032         headline and there are no links in the entry body.
3033         (org-speed-commands-default): Add "o" for open-at-point as a speed
3034         command.
3036         * org-attach.el (org-attach-reveal): Optional prefix arg
3037         IF-EXISTS, which avoids creating the attachment directory if it
3038         does not yet exist.
3040         * org-agenda.el (org-agenda, org-run-agenda-series): Evaluate
3041         MATCH.
3043 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3045         * org.el ("abbrev"): Work with abbrev tables only after they have
3046         been loaded.
3048         * org-list.el (org-list-send-list): Fix bug related to match
3049         data.
3051         * org-latex.el (org-export-latex-fontify): Apply verbatim
3052         emphasis.
3053         (org-export-latex-make-header): Insert \obeylines if line breaks
3054         should be preserved.
3056         * org-exp.el (org-export-protect-verbatim): Add an
3057         `org-verbatim-emph' property to such text.
3059 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3061         * org-icalendar.el (org-icalendar-use-plain-timestamp): New option.
3062         (org-print-icalendar-entries): Skip entries where the timestamp is
3063         not a deadline and not scheduled, if the user requests that.
3065         * org-latex.el (org-export-latex-quotation-marks): Allow a bracket
3066         before an opening quote.
3068         * org-archive.el (org-archive-subtree): Keep archive after
3069         archiving something.
3071         * org-id.el (org-id-update-id-locations): Add archive files if
3072         that is required by `org-id-extra-files'.
3074 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3076         * org-src.el (org-src-window-setup): New option.
3077         (org-src-switch-to-buffer): New function.
3078         (org-edit-src-exit): Add optional argument CONTEXT and use it to
3079         restore window configuration.
3080         (org-edit-src-code, org-edit-src-continue, org-edit-src-exit):
3081         Call `org-src-switch-to-buffer'.
3083         * org.el (org-default-properties): Add STYLE property.
3084         (org-files-list): Use the function call to get the files.
3085         (org-additional-option-like-keywords): Add SETUPFILE to completion
3086         list.
3088 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3090         * org-table.el (org-table-convert-region): Correctly interpret
3091         quoting in csv import.
3093         * org.el (org-icompleting-read): Make iswitchb completion work
3094         with lists and tables.
3096         * org-agenda.el (org-agenda-add-entry-text): Never add entry text
3097         while pushing the mobile agenda.
3099 2009-11-13  John Wiegley  <jwiegley@gmail.com>
3101         * org-clock.el
3102         (org-clock-auto-clock-resolution): Now takes three values: nil, t
3103         and `when-no-clock-is-running'.
3104         (org-clock-in): Use `org-clock-auto-clock-resolution' to determine
3105         whether or not to resolve Org buffers on clock in.
3107 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
3109         * org-colview.el (org-format-time-period): Function to format
3110         times in fractional days for display.
3111         (org-columns-display-here): Add support for showing a calculated
3112         value in place of the property.
3113         (org-columns): Set `org-columns-time' to the current time so time
3114         difference calculations will work.
3115         (org-columns-time): Use to store the current time when column view
3116         is displayed, so all time differences will use the same reference
3117         point.
3118         (org-columns-compile-map): There is now an extra position in each
3119         entry specifying the function to use to calculate the displayed
3120         value for the non-calculated properties in the column.
3121         (org-columns-compute-all): Set `org-columns-time' to the current
3122         time so time difference calculations will work.
3123         (org-columns-compute): Handle column operators where the values
3124         used are calculated from the underlying property.
3125         (org-columns-number-to-string): Handle the 'age' column format.
3126         (org-columns-string-to-number): Correct the function name (was
3127         org-column...).  Add support for the 'age' column format.
3128         (org-columns-compile-format): Support the additional parameter in
3129         org-columns-compile-map.
3131 2009-11-13  Bastien Guerry  <bzg@altern.org>
3133         * org.el (org-mode-hook): Turn `org-mode-hook' into a customizable
3134         variable.
3136 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3138         * org-clock.el (org-clock-has-been-used): New variable.
3139         (org-clock-in): Set `org-clock-has-been-used'.
3140         (org-clock-save): Save only if clock data has been used or created
3141         during this session.
3143 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3145         * org-clock.el (org-clock-persist): New value, to store only the
3146         clock history.
3147         (org-clock-save): Don't save the clock if only the history should
3148         be stored.
3149         (org-clock-load): Turn off John Wiegley's auto resolving mechanism
3150         when restoring a saved clock.
3152 2009-11-13  John Wiegley  <jwiegley@gmail.com>
3154         * org-clock.el (org-clock-display, org-clock-put-overlay): Use
3155         `org-time-clock-use-fractional'.
3157         * org.el (org-time-clocksum-use-fractional)
3158         (org-time-clocksum-fractional-format): Two new customizable
3159         variables which allow the user to select fractional times (1.25
3160         instead of 1:25) in the `org-clock-display' report.
3162 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3164         * org-ascii.el (org-export-ascii-table-keep-all-vertical-lines):
3165         New option.
3167         * org.el (org-tag-alist): Fix customization type.
3169 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3171         * org-mobile.el (org-mobile-update-checksum-for-capture-file):
3172         Make sure the regexp search can fail without throwing an error.
3173         (org-mobile-apply): Save the inbox buffer after removing
3174         successfully applied changes.
3176 2009-11-13  John Wiegley  <jwiegley@gmail.com>
3178         * org-clock.el (org-resolve-clocks-if-idle): Fix to the way idle
3179         time is reported after the user comes back (but before they
3180         resolve time).
3182         * org.el (org-get-repeat): Change so that this function can be
3183         called with either `org-scheduled-string' or
3184         `org-deadline-string'.
3186         * org-clock.el (org-clock-auto-clock-resolution): Rename from
3187         `org-clock-disable-clock-resolution', since negatives don't sound
3188         good in customization variables.
3189         (org-clock-in): Don't use the auto-resolution logic if the user is
3190         clocking into a different task while an active clock is running.
3191         This then allows the default behavior of clocking out of the open
3192         task and then into the new task.
3194         * org.el (org-modules): Made this variable more consistent, since
3195         it was referring to Org, OrgMode and Org-mode, whereas the docs
3196         for the variable always refer to Org-mode.
3198 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
3200         * org.el (org-repeat-re): The changed org-repeat-re no longer
3201         matched simple +2d type repeaters.  Fix it so it does.
3203 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3205         * org-latex.el (org-export-latex-preprocess): Protect the vspace
3206         macro in the VERSE environment.
3208 2009-11-13  John Wiegley  <jwiegley@gmail.com>
3210         * org-habit.el (org-habit-get-priority): A new function that
3211         determines the relative priority of a habit, based on how long
3212         past its scheduled date it is, and how near the deadline is.
3214         * org-agenda.el (org-agenda-get-scheduled): Set habit priority
3215         using `org-habit-get-priority'.
3217         * org-habit.el (org-habit-build-graph): Start displaying colors
3218         from the first scheduled date, if that date is earlier than the
3219         first completion date.
3221         * org-habit.el: Changed all "color" variables to faces, and made
3222         them appropriate for light and dark backgrounds.
3224         * org-habit.el (org-habit-duration-to-days): Made this function
3225         more general.
3226         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
3228         * org-agenda.el (org-agenda-get-deadlines): Remove all mention of
3229         habits, since they don't use DEADLINE anymore.
3231         * org.el (org-repeat-re, org-display-custom-time)
3232         (org-timestamp-change): Extend to support the new ".+N/N"
3233         syntax, used for habits.
3235         * org-clock.el (org-clock-resolve-clock): Fix an incorrect
3236         variable reference.
3238         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
3239         modeline when habits are being displayed (if that module is being
3240         loaded).
3242 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
3244         * org-clock.el (org-x11-idle-seconds): Add a method to get the X11
3245         idle time using the xscreensaver extension.
3246         (org-user-idle-seconds): Use X11 idle time if available.
3248 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3250         * org-agenda.el (org-agenda-next-line): New command.
3251         (org-agenda-previous-line): New commands.
3252         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
3253         commands.
3254         (org-agenda-follow-mode): Do the follow immediately if the mode is
3255         turned on here.
3256         (previous-line, next-line): Replace keys with the corresponding
3257         org functions.
3258         (org-agenda-mode-map): Bind backspace and delete to the scrolling
3259         command.
3261         * org.el (org-icompleting-read): Turn off partial completion mode
3262         for the duration of this completion round.
3264         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
3265         macros in author lines and similar stuff.
3267         * org.el (org-file-tags): Fix docstring.
3268         (org-get-buffer-tags): Add the #+FILETAGS tags.
3269         ("ecb"): Make ecb show context after jumping into an Org file.
3271 2009-11-13  John Wiegley  <johnw@newartisans.com>
3273         * org-agenda.el (org-finalize-agenda): Draw habit consistency
3274         graphs after everything else in the buffer has been setup.
3276 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3278         * org-mobile.el (org-mobile-apply): Count success and failure.
3280         * org.el (org-indent-line-function): Fix regexp replace problem.
3282 2009-11-13  John Wiegley  <johnw@newartisans.com>
3284         * org-clock.el (org-clock-disable-clock-resolution): New
3285         customization variable that disable automatic clock resolution on
3286         clock in.
3287         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
3288         not automatically resolve anything.  This is does not affect
3289         idle-time resolution, however, if `org-clock-idle-time' is set.
3291 2009-11-13  John Wiegley  <johnw@newartisans.com>
3293         * org-habit.el: New file, which implements code to build a "habit
3294         consistency graph".
3296         * org-agenda.el (org-agenda-get-deadlines)
3297         (org-agenda-get-scheduled): Display consistency graphs when
3298         outputting habits into the agenda.  The graphs are always relative
3299         to the current time.
3300         (org-format-agenda-item): Add new parameter `habitp', which
3301         indicates whether we are formatting a habit or not.  Do not
3302         display "extra" leading information if habitp is true.
3304         * org.el (org-repeat-re): Improve regexp to include .+ and ++
3305         leaders for repeat strings.
3306         (org-get-repeat): Now takes a string parameter `tagline', so the
3307         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
3309 2009-11-13  John Wiegley  <johnw@newartisans.com>
3311         * org-agenda.el (org-agenda-auto-exclude-function): New
3312         customization variable for allowing the user to create an "auto
3313         exclusion" filter for doing context-aware auto tag filtering.
3314         (org-agenda-filter-by-tag): Changes to support the use of
3315         `org-agenda-auto-exclude-function'.  See the new manual addition,.
3317 2009-11-13  John Wiegley  <johnw@newartisans.com>
3319         * org.el (org-files-list): Don't attempt to return a file name for
3320         Org buffers which have no associated file.
3322         * org-agenda.el (org-agenda-do-action): Fix a typo.
3324 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3326         * org-mobile.el (org-mobile-locate-entry): Interpret files
3327         relative to org-directory.
3328         (org-mobile-inbox-for-pull): Document the best location for this
3329         file.
3330         (org-mobile-check-setup): Verify `org-directory'.
3331         (org-mobile-create-index-file): Sort the files to be listed in
3332         index.org.
3334 2009-11-13  James TD Smith  <ahktenzero@mohorovi.cc>
3336         * org.el (org-fast-tag-selection): Add a way to display a
3337         description for a tag group.  This is done by adding a string to
3338         either the startgroup or endgroup cell.
3340 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3342         * org-clock.el (org-clock-resolve, org-resolve-clocks)
3343         (org-emacs-idle-seconds): Use `org-float-time' instead of
3344         `time-to-seconds'.
3346 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3348         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
3349         type.
3351         * org.el (org-pre-cycle-hook): Document that `empty' can also be
3352         the value of ARG when doing local cycling.
3354 2009-11-13  John Wiegley  <johnw@newartisans.com>
3356         * org-clock.el (org-clock-resolve-clock): If keeping or
3357         subtracting time results in a clock out at a time in the past, and
3358         if the resolution occurred due to idleness or invoking `M-x
3359         org-resolve-clocks', remember that past moment in time.  On the
3360         next clock in, the user will be prompted to see if they want to
3361         back-date their new clock to then.
3362         (org-clock-resolve): Do not jump the user to the location of a
3363         dangling clock if the resolution is occurring due to an idle
3364         timeout.  In that case there is typically only one dangling clock,
3365         the active one, and there is no value gained by shuffling their
3366         windows around to show it to them.  Being prompted to resolve an
3367         idle clock should be as inobtrusive as possible.
3368         (org-resolve-clocks-if-idle): New function that resolves only the
3369         currently active clock if the user has exceeded the time returned
3370         by `org-user-idle-seconds', based on the value of
3371         `org-clock-idle-time'.
3372         (org-clock-in): If, after resolving clocks, (???)
3373         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
3375         * org-clock.el (org-clock-resolve-clock): New function that
3376         resolves a clock to a specific time, closing or resuming as need
3377         be, and possibly even starting a new clock.
3378         (org-clock-resolve): New function used by `org-resolve-clocks'
3379         that sets up for the call to `org-clock-resolve-clock'.  It
3380         determines the time to resolve to based on a single-character
3381         selection from the user to either keep time, subtract away time or
3382         cancel the clock.
3383         (org-resolve-clocks): New user command which resolves dangling
3384         clocks -- that is, open but not active -- anywhere in the file
3385         list returned by `org-files-list'.
3386         (org-clock-in): Automatically resolve dangling clocks whenever a
3387         user clocks in.
3388         (org-clock-cancel): If the user cancels the solely clock in a
3389         LOGBOOK, remove the empty drawer.
3391         * org-clock.el (org-clock-idle-time): New user customizable option
3392         for detecting whether the user has left a clock idle.  Note: it is
3393         only used in this commit to test whether it's worthwhile to check
3394         OS X to get the Mac user's current idle time.  If the Emacs idle
3395         time is less than the value, the user hasn't been away long enough
3396         to be worth checking (a more expensive test than just getting
3397         Emacs idle time).
3398         (org-user-idle-seconds, org-mac-idle-seconds)
3399         (org-emacs-idle-seconds): This three functions, in conjunction
3400         with the user customization variable `org-clock-idle-time', return
3401         the number of seconds (as a floating point) that the user has been
3402         away from their Emacs (or, if running on OS X, their computer).
3404         * org-clock.el (org-find-open-clocks): New function that returns a
3405         list of all open clocks in the given FILE.  Note that each clock
3406         it returns is a cons cell of the format (MARKER . START-TIME).
3407         This "clock" value is used by several of the new clock module
3408         utility functions.
3409         (org-is-active-clock): New inline function which tests whether the
3410         given clock value is the same as the currently active clock.
3411         Returns non-nil if this is the case.
3412         (org-with-clock-position): New macro that evaluates FORMS with
3413         point in the buffer and at the position of the given clock.
3414         Changes to the current clock are global.
3415         (org-with-clock): New macro that evaluates FORMS with point in the
3416         buffer and at the position of the given clock.  However, changes
3417         to the current clock are local and have no effect on the user's
3418         active clock.  This allows, for example, far any clock to be
3419         cancelled without cancelling the active clock.
3420         (org-clock-clock-in): New inline function that switches the active
3421         clock to the given clock.  If either the argument RESUME, or the
3422         global `org-clock-in-resume', are non-nil, it will resume a clock
3423         that was previously left open.
3424         (org-clock-clock-out): New inline function that clocks out the
3425         given clock value without affecting the currently active clock.
3426         (org-clock-clock-cancel): New inline function that cancels the
3427         given clock value without affecting the currently active clock.
3429         * org-clock.el (org-clock-in): Before creating
3430         `org-clock-mode-line-timer', check to make sure an older timer is
3431         not currently running.
3432         (org-clock-out): Accept new third parameter `at-time', which
3433         permits a clock to be clocked out at a specific time.  Note that
3434         no attempt is made to verify that the clock out time is later than
3435         the clock in time.
3437         * org.el (org-files-list): New utility function for returning a
3438         list of all open org-mode buffers, plus all files used to build
3439         the agenda buffer.  Note that not all the files will necessarily
3440         be visited by a buffer at time of call.
3441         (org-entry-beginning-position): Like the function
3442         `line-beginning-position', this inline function returns the
3443         beginning position of the current heading/entry.
3444         (org-entry-end-position): Like the function `line-end-position',
3445         this inline function returns the end position of the current
3446         heading/entry.
3448 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3450         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
3451         a header line.
3453 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3455         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
3457 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3459         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
3460         entries that have no tags.
3461         (org-agenda-search-view): New customize group.
3462         (org-agenda-search-view-search-words-only): New option.
3463         (org-search-view): Implement substring search.
3465 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3467         * org.el (org-outline-level): Add doc string.
3469 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3471         * org-inlinetask.el (org-inlinetask-export): Re-introduce
3472         variable.
3473         (org-inlinetask-export-handler): Only export inline task if the
3474         user option calls for it.
3476 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3478         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
3479         END if present.
3481 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3483         * org-latex.el (org-export-latex-tables): Don't format in
3484         protected regions.
3486 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3488         * org-src.el (org-edit-src-code)
3489         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
3490         macro editing.
3492         * org-agenda.el (org-prefix-category-max-length): New variable.
3493         (org-format-agenda-item): Use `org-prefix-category-max-length'.
3494         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
3496 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3498         * org-mobile.el (org-mobile-create-index-file): Improve the
3499         listing of tags and todo keywords.
3501         * org-latex.el (org-export-latex-format-image): New function.
3502         (org-export-latex-links): Use `org-export-latex-format-image'.
3504 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3506         * org-inlinetask.el (org-inlinetask-get-current-indentation)
3507         (org-inlinetask-remove-terminator): New functions.
3508         (org-inlinetask-export-handler): Terminate the description list.
3510         * org-exp.el (org-export-select-backend-specific-text): Remove the
3511         region markers.
3513         * org-inlinetask.el (org-inlinetask-export-handler): Fix bug for
3514         tasks without content.
3516         * org-clock.el: Make sure the clock-in target position does not
3517         move to a different node by widening the buffer.
3519         * org-html.el (org-export-html-format-image): Wrap image into
3520         figure div only when there is a caption.
3522         * org-archive.el (org-archive-mark-done): Change default value to
3523         nil.
3525 2009-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
3527         * org.el (org-context): Call `bobp', not `eobp'.
3529         * org-clock.el (org-clock-cancel): Remove quotes from marker
3530         variables.
3532         * org.el (org-read-date-prefer-future): New allowed value `time'.
3533         (org-read-date-analyze): Shift day to tomorrow depending on time
3534         entered and value of `org-read-date-prefer-future'.
3536 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3538         * org.el (org-version, org-get-refile-targets, org-refile)
3539         (org-store-log-note, org-diary-to-ical-string)
3540         (org-speedbar-set-agenda-restriction):
3541         * org-publish.el (org-publish-find-title):
3542         * org-plot.el (org-plot/gnuplot):
3543         * org-mouse.el (org-mouse-do-remotely):
3544         * org-mobile.el (org-mobile-move-capture):
3545         * org-mac-message.el (org-mac-message-insert-flagged):
3546         * org-latex.el (org-replace-region-by-latex):
3547         * org-docbook.el (org-replace-region-by-docbook):
3548         * org-clock.el (org-clock-out, org-clock-cancel):
3549         * org-bibtex.el (org-execute-file-search-in-bibtex):
3550         Use with-current-buffer.
3552 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
3554         * org.el (org-directory, org-map-entries):
3555         * org-clock.el (org-clock-get-clocked-time): Fix typos in docstrings.
3557 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
3559         * org.el (org-set-tags-to): New command.
3561         * org-latex.el (org-export-latex-set-initial-vars): Also check in
3562         the plist.
3564         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
3565         keyword.
3567         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
3569 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
3571         * org-inlinetask.el (org-inlinetask-export): Option removed.
3572         (org-inlinetask-export-handler): Better export.
3574         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
3575         (org-export-as-xoxo): Run the new hook.
3577         * org-html.el (org-export-html-final-hook): New hook.
3578         (org-export-as-html): Run the new hook.
3580         * org-docbook.el (org-export-docbook-final-hook): New hook.
3581         (org-export-as-docbook): Run the new hook.
3583         * org-ascii.el (org-export-ascii-final-hook): New hook.
3584         (org-export-as-ascii): Run the new hook.
3586         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
3587         space character as the character before the ^/_.
3588         (org-export-latex-final-hook): New hook.
3589         (org-export-as-latex): Run `org-export-latex-final-hook'.
3591 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
3593         * org-macs.el (org-if-unprotected-at): Fix docstring.
3595         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
3596         text in the prefix (if category is a link).
3598         * org-latex.el (org-export-latex-preprocess): Deal properly with
3599         empty lines in verse environments.
3601         * org.el (org-format-latex-header): Inline fullpage.sty.
3603         * org-footnote.el (org-footnote-create-definition): Reveal context
3604         to add a new footnote definition.
3606         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
3607         org-table-recalculate when cursor is in TBLFM line.
3609         * org-list.el (org-renumber-ordered-list): Fix cursor position
3610         when bullet length has changed.
3612 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
3614         * org.el (org-format-latex): Mention `org-format-latex-options' in
3615         the docstring.
3617 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
3619         * org.el (org-agenda-get): New function.
3621         * org-agenda.el (org-agenda-post-command-hook): No longer move
3622         point away from end of line.
3623         (org-agenda-add-entry-text, org-agenda-collect-markers)
3624         (org-finalize-agenda, org-agenda-mark-clocking-task)
3625         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
3626         (org-agenda-entry-text-show, org-agenda-highlight-todo)
3627         (org-agenda-compare-effort, org-agenda-filter-apply)
3628         (org-agenda-later, org-agenda-change-time-span)
3629         (org-agenda-post-command-hook, org-agenda-show-priority)
3630         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
3631         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
3632         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
3633         (org-agenda-open-link, org-agenda-copy-local-variable)
3634         (org-agenda-switch-to, org-agenda-check-no-diary)
3635         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
3636         (org-agenda-add-note, org-agenda-change-all-lines)
3637         (org-agenda-priority, org-agenda-set-tags)
3638         (org-agenda-set-property, org-agenda-set-effort)
3639         (org-agenda-toggle-archive-tag, org-agenda-date-later)
3640         (org-agenda-show-new-time, org-agenda-date-prompt)
3641         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
3642         (org-agenda-clock-in, org-agenda-bulk-mark)
3643         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
3644         `org-get-at-bol'.
3646         * org-colview.el (org-columns-display-here)
3647         (org-columns-edit-allowed, org-agenda-columns): Use
3648         `org-get-at-bol'.
3650 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
3652         * org.el (org-special-ctrl-a/e): Improve documentation and
3653         customize type.
3654         (org-end-of-line): Don't jump to after the ellipsis.
3655         (org-mode-map): Bind <home> and <end> as well.
3657 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
3659         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
3660         space after #+ as comments.
3661         (org-open-at-point): Run `org-follow-link-hook' always.
3663         * org-latex.el (org-export-latex-emph-format): Use better commands
3664         to insert special characters in verbatim snippets.
3666 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
3668         * org-faces.el (org-copy-face): New function.  Use it to create
3669         various faces formerly created by using `copy-face'.
3671         * org-agenda.el (org-prepare-agenda): Don't officially mark this
3672         window dedicated.
3673         (org-agenda-quit): Kill the frame containing the agenda window if
3674         that frame was created for the agenda.
3676 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
3678         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
3679         stamp in the agenda.
3681 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
3683         * org-agenda.el (org-prepare-agenda): Reset
3684         `org-drawers-for-agenda'.
3685         (org-prepare-agenda): Uniquify list of drawers.
3687         * org.el (org-complex-heading-regexp-format): New variable.
3688         (org-set-regexps-and-options): Define
3689         `org-complex-heading-regexp-format'.
3690         (org-drawers-for-agenda): New variable.
3691         (org-map-entries): Bind `org-drawers-for-agenda'.
3692         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
3694         * org-remember.el (org-go-to-remember-target)
3695         (org-remember-handler): Use `org-complex-heading-regexp-format'.
3697 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
3699         * org-agenda.el (org-agenda-highlight-todo): Fix text property
3700         problem.
3702         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
3703         always with `invisible-ok'.
3704         (org-store-link): No error when there is nothing to link to in the
3705         agenda.
3707         * org-list.el (org-update-checkbox-count): Insert changed cookie
3708         before the old, to avoid problems with invisibility at the end of
3709         the line.
3710         (org-update-checkbox-count): Insert changed cookie before the old,
3711         to avoid problems with invisibility at the end of the line.
3713         * org.el (org-sort-entries-or-items): Include the final newline.
3714         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
3715         lines for fontification.
3716         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
3717         (org-prepare-dblock): Store the current indentation of the BEGIN
3718         line.
3719         (org-update-dblock): Apply the indentation of the begin line to
3720         the rest of the block.
3721         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
3722         (org-startup-folded): New allowed value `showeverything'.
3723         (org-startup-options): Add STARTUP keyword `showeverything'.
3724         (org-set-startup-visibility): Respect value `showeverything' in
3725         org-startup-folded.
3727 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
3729         * org.el (org-closest-date): Fix issue with past preference.
3731         * org-archive.el (org-archive-set-tag)
3732         (org-archive-subtree-default): New commands.
3734         * org-clock.el (org-clock-clocktable-default-properties): New
3735         option.
3736         (org-clock-report): Use
3737         `org-clock-clocktable-default-properties'.
3739 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
3741         * org.el (org-iswitchb-completing-read): Fix typo.
3743         * org-crypt.el: New file.
3745         * org.el: Add an entry for org-crypt.
3747 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
3749         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
3750         consistency.
3751         (org-batch-store-agenda-views): New function.
3752         (org-agenda-title-append): Define variable.
3753         (org-write-agenda): New export to Org files.
3754         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
3755         (org-agenda): Allow to keep the restricted file list if a special
3756         variable is bound to t.
3757         (org-agenda): Define a special agenda view for working on flagged
3758         entries.
3759         (org-agenda-get-restriction-and-command): List the new agenda
3760         view.
3761         (org-agenda-show-the-flagging-note): New command.
3762         (org-agenda-mode-map): New key `?' for looking at the flagging
3763         note.
3765         * org.el (org-autoload): Autoload org-mobile.el.
3766         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
3768         * org-mobile.el: New file.
3770         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
3772 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
3774         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
3775         statements.
3776         (org-table-get-remote-range): Match indented #+TBLNAME
3777         statements.
3779         * org.el (org-convert-to-odd-levels)
3780         (org-convert-to-oddeven-levels): Work also correctly if the file
3781         is in outline-mode.
3783 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
3785         * org.el (org-store-link): When in agenda buffer, link to
3786         referenced entry.
3787         (org-add-planning-info): Remove spaces at eol.
3789         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
3790         property.
3792 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
3794         * org-latex.el (org-export-latex-first-lines): Fix problem with
3795         LaTeX export of first line and selected subtree.
3797         * org.el (org-shifttab): Interpret arg differently when using only
3798         odd levels.
3800 2009-10-01  Bastien Guerry  <bzg@altern.org>
3802         * org.el (org-check-agenda-file): Use a more explicit message.
3804 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
3806         * org-exp.el (org-export-remove-special-table-lines): Don't remove
3807         normal lines.
3809 2009-10-01  Bastien Guerry  <bzg@altern.org>
3811         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
3812         prompt in the temporary window.
3814         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
3815         prefix for marked entries in the agenda view.
3817 2009-10-01  Andreas Burtzlaff  <andy13@gmx.net>  (tiny change)
3819         * org.el (outline-end-of-subtree): Bugfix: advise this function in
3820         a way that prevents any trailing character from being displayed.
3822 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
3824         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
3825         menu.
3827         * org-exp.el (org-export-remove-special-table-lines): Remove bad
3828         slow regexp match.
3830 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
3832         * org-latex.el (org-export-latex-preprocess): Do not protect in
3833         the LaTeX header.
3835         * org-src.el (org-edit-src-save): Save window setup while saving.
3836         (org-edit-src-code): Use new buffer name construction scheme.
3838 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
3840         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
3841         variable.
3842         (org-agenda-entry-text-cleanup-hook): New hook.
3843         (org-agenda-get-some-entry-text): Remove matches of
3844         `org-agenda-entry-text-exclude-regexps' and run the hook
3845         `org-agenda-entry-text-cleanup-hook'.
3847         * org.el (org-offer-links-in-entry): New argument ZERO to
3848         implement a link with index zero.
3849         (org-cycle-show-empty-lines): Not keep empty line under header
3850         hidden.
3851         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
3852         to nil for special completion.
3853         (org-store-link): Don't error before the first heading.
3855         * org-agenda.el (org-agenda-open-link): Pass the prefix to
3856         `org-offer-links-in-entry'.
3858 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
3860         * org-agenda.el (org-agenda-quit): Provide the window argument for
3861         `window-dedicated-p', Emacs 22 needs it.
3862         (org-format-agenda-item): If the category is a link, arrange for
3863         invisible text to replaced with spaces.
3864         (org-compile-prefix-format): Add the extra space.
3865         (org-prefix-category-length): New variable.
3867         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
3868         references from TOC lines.
3870         * org.el (org-selected-window): New variable.
3872         * org-table.el (org-table-edit-formulas): Remember the selected
3873         window.
3874         (org-table-fedit-finish, org-table-fedit-abort): Select the window
3875         that was originally selected.
3877         * org-exp.el (org-export-preprocess-apply-macros): Scan the
3878         expansion of a macro for more macro definitions.
3880         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
3881         invisibility overlay starts on the newline.
3883 2009-10-01  Glenn Morris  <rgm@gnu.org>
3885         * org-agenda.el (calendar-check-holidays):
3886         * org-exp.el (org-agenda-skip):
3887         * org-list.el (outline-back-to-heading):
3888         * org-wl.el (wl-summary-goto-folder-subr):
3889         * org.el (iswitchb-mode, remember, remember-buffer-desc)
3890         (remember-finalize, remember-save-after-remembering, remember-register)
3891         (remember-buffer, remember-handler-functions)
3892         (remember-annotation-functions): Remove unused declarations.
3894         * org.el (iswitchb-read-buffer): Fix declaration.
3896 2009-09-30  Glenn Morris  <rgm@gnu.org>
3898         * org-compat.el (w32-focus-frame):
3899         * org-exp-blocks.el (R):
3900         * org-exp.el (htmlize-buffer):
3901         * org-protocol.el (server-edit):
3902         * org-table.el (org-format-org-table-html):
3903         * org.el (org-indent-mode): Fix declarations.
3905         * org-colview.el (org-columns-uncompile-format): Avoid assignment to
3906         free variable `fun'.
3908 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
3910         * org-agenda.el (org-agenda-restore-windows-after-quit):
3911         Fix typo in docstring.
3913 2009-09-23  Juanma Barranquero  <lekktu@gmail.com>
3915         * org.el (org-tree-to-indirect-buffer, org-convert-to-oddeven-levels)
3916         (org-shiftselect-error, org-ctrl-c-ctrl-c):
3917         * org-agenda.el (org-agenda-undo, org-check-for-org-mode):
3918         * org-attach.el (org-attach-check-absolute-path):
3919         * org-docbook.el (org-export-as-docbook):
3920         * org-html.el (org-export-as-html):
3921         * org-id.el (org-id-update-id-locations):
3922         * org-table.el (org-table-fedit-lisp-indent, orgtbl-send-table):
3923         Fix typos in error messages.
3925 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3927         * org-ascii.el: Require CL for the `loop' macro.
3929 2009-09-05  Carsten Dominik  <dominik@u016822.science.uva.nl>
3931         * org-gnus.el (require): Wrap (require gnus-sum) into
3932         eval-when-compile.
3934 2009-09-03  Carsten Dominik  <dominik@u016822.science.uva.nl>
3936         * org-protocol.el (org-protocol-store-link)
3937         (org-protocol-remember, org-protocol-open-source): Remove autoload
3938         cookies again.
3940         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are
3941         referencing the start of the line.
3943         * org-gnus.el: Remove unnecessary declare-function forms.
3944         (gnus-sum): Always require gnus-sum.
3946 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
3948         * org-protocol.el (org-protocol-store-link)
3949         (org-protocol-remember, org-protocol-open-source): Add autoloads.
3951         * org-compat.el (org-float-time): New function.
3953         * org.el (org-clock-update-time-maybe)
3954         (org-sort-entries-or-items, org-do-sort)
3955         (org-evaluate-time-range, org-time-string-to-seconds)
3956         (org-closed-in-range): Use `org-float-time'.
3958         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
3959         (org-timer-seconds): Use `org-float-time'.
3961         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
3962         (org-clock-sum, org-dblock-write:clocktable)
3963         (org-clocktable-steps): Use `org-float-time'.
3965         * org-agenda.el (org-agenda-last-marker-time)
3966         (org-agenda-new-marker, org-diary): Use `org-float-time'.
3968         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
3969         function.
3971         * org-exp.el (org-get-file-contents): Only protect lines that
3972         really need it.
3974         * org-html.el (require): Require cl for compilation.
3976         * org.el: Avoid using `default-major-mode'.
3978         * org-plot.el (require): Require CL only at compile time.
3980         * org-exp.el (require): Require CL only at compile time.
3982         * org-agenda.el (org-agenda-quit): When the agenda window is
3983         dedicated, remove other windows before exiting, so that the frame
3984         really will be killed.
3986         * org-exp.el (org-export-handle-include-files): Reset START and
3987         END for each loop cycle.
3989 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
3991         * org.el (org-eval-in-calendar): Use
3992         `org-select-frame-set-input-focus'.
3994         * org-compat.el (org-select-frame-set-input-focus): New function.
3996         * org.el (org-update-statistics-cookies): New function.
3997         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
3999 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
4001         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
4002         after the local variables are set.
4004         * org-latex.el (org-export-latex-protect-amp): New function.
4005         (org-export-latex-links): Protect link ampersands in tables.
4007         * org-exp.el (org-export-select-backend-specific-text): Match in
4008         two steps, to avoid regexp problems.
4010         * org.el (org-offer-links-in-entry): Improve working with many and
4011         duplicate links.
4013         * org-agenda.el (org-agenda-show-1): Make more consistent with
4014         normal cycling.
4015         (org-agenda-cycle-show): Make more consistent with normal cycling.
4017         * org-gnus.el (org-gnus-store-link): Restore the linking to a
4018         website.
4020 2009-09-02  Bastien Guerry  <bzg@altern.org>
4022         * org-latex.el (org-export-latex-first-lines): Bugfix.
4024 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
4026         * org-clock.el (org-clock-modify-effort-estimate): Emit message
4027         about new effort.
4029         * org.el (org-set-effort): New function.
4030         (org-mode-map): New key for effort setting command.
4032         * org-agenda.el (org-agenda): Keep window setup when calling
4033         agenda from within agenda window.
4034         (org-agenda-mode-map): New keys for effort setting commands.
4035         (org-agenda-menu): Add effort setting commands to menu.
4036         (org-agenda-set-property, org-agenda-set-effort): New functions.
4038         * org-latex.el (org-export-latex-tables): Fix
4039         `org-table-last-alignment' and `org-table-last-column-widths' if
4040         the first column has been removed.
4042 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
4044         * org.el (org-remove-timestamp-with-keyword): Only remove in
4045         entry, not in subtree.
4047         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
4048         emacs lisp.
4050         * org.el (org-open-at-point): When on headline, offer all strings
4051         in entry.
4053         * org-remember.el (org-remember-templates): Documentation fix.
4055         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
4056         `org-get-last-sibling' instead of the outline versions of these
4057         functions.
4058         (org-get-last-sibling): New function.
4059         (org-refile): Use `org-get-next-sibling' instead of the outline
4060         version of this function.
4061         (org-clean-visibility-after-subtree-move): Use
4062         `org-get-next-sibling' and `org-get-last-sibling' instead of the
4063         outline versions of these functions.
4065 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
4067         * org-agenda.el (org-prepare-agenda): When creating a new frame
4068         for the agenda, make the window dedicated.
4070         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
4072         * org-table.el (org-table-align): Change the order of reinsertion
4073         and deletion, to avoid problems with overlays following the table.
4075         * org.el (org-parse-time-string): Better error message.
4076         (org-show-subtree): Use org-end-of-subtree.
4078         * org-macs.el (org-goto-line): New defsubst.
4080         * org.el (org-open-file, org-change-tag-in-region)
4081         (org-fast-tag-show-exit): Don't use `goto-line'.
4083         * org-table.el (org-table-align, org-table-insert-column)
4084         (org-table-delete-column, org-table-move-column)
4085         (org-table-sort-lines, org-table-copy-region)
4086         (org-table-paste-rectangle, org-table-wrap-region)
4087         (org-table-get-specials, org-table-rotate-recalc-marks)
4088         (org-table-get-range, org-table-recalculate)
4089         (org-table-edit-formulas, org-table-fedit-convert-buffer)
4090         (org-table-show-reference, org-table-highlight-rectangle): Don't
4091         use `goto-line'.
4093         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
4094         (org-edit-src-exit): Don't use `goto-line'.
4096         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
4098         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
4099         Don't use `goto-line'.
4101         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
4103         * org-colview.el (org-columns, org-columns-redo)
4104         (org-agenda-columns): Don't use `goto-line'.
4106         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
4107         use `goto-line'.
4109         * org-agenda.el (org-agenda-mode): Force visual line motion off.
4110         (org-agenda-add-entry-text-maxlines): Improve docstring.
4111         (org-agenda-start-with-entry-text-mode): New option.
4112         (org-agenda-entry-text-maxlines): New option.
4113         (org-agenda-entry-text-mode): New variable.
4114         (org-agenda-mode): Set initial value of
4115         `org-agenda-entry-text-mode'.
4116         (org-agenda-mode-map): Add the `E' key.
4117         (org-agenda-menu): Add entry text mode to the menu.
4118         (org-agenda-get-some-entry-text): Fix line count bug.
4119         (org-finalize-agenda): Apply entry text mode if appropriate.
4120         (org-agenda-entry-text-show-here): New function.
4121         (org-agenda-entry-text-show): New function.
4122         (org-agenda-entry-text-hide): New function.
4123         (org-agenda-view-mode-dispatch): Add entry text mode to the view
4124         key menu.
4125         (org-agenda-entry-text-mode): New command.
4126         (org-agenda-set-mode-name): Add entry text mode to the mode line
4127         string.
4128         (org-agenda-undo, org-agenda-get-restriction-and-command)
4129         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
4130         `goto-line'.
4132 2009-09-02  Bernt Hansen  <bernt@norang.ca>
4134         * org-clock.el (org-notify): Bugfix.
4136 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
4138         * org-agenda.el (org-agenda-open-link): Handle multiple links and
4139         check for after-string.
4141         * org-gnus.el (org-gnus-store-link): Simplify.
4143         * org.el (org-latex-regexps): Don't add extra empty lines for
4144         display formulas.
4146 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
4148         * org-agenda.el (org-agenda-get-some-entry-text): New function.
4149         (org-agenda-add-entry-text): Use
4150         `org-agenda-get-some-entry-text'.
4152         * org.el (org-cycle-separator-lines): Update docstring.
4153         (org-cycle-show-empty-lines): Handle negative values for
4154         `org-cycle-show-empty-lines'.
4156         * org-exp.el (org-export-protect-sub-super): New function.
4157         (org-export-normalize-links): Protect the url of plain links from
4158         supscript and superscript processing.
4160         * org-remember.el (org-remember-escaped-%): New function.
4161         (org-remember-apply-template): Use `org-remember-escaped-%' to
4162         detect escaped % signs.
4164 2009-09-02  Bastien Guerry  <bzg@altern.org>
4166         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
4167         sound when showing the notification.
4169         * org-clock.el (org-notify): New function.
4170         (org-clock-notify-once-if-expired): Use `org-notify'.
4172         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
4173         and `gnus-article-mode' separately.
4174         (gnus-summary-article-header): Fix the declare-function.
4176 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
4178         * org-exp.el (org-export-format-source-code-or-example): Translate
4179         language.
4181         * org-src.el (org-src-lang-modes): New variable.
4182         (org-edit-src-code): Translate language.
4184         * org-exp.el (org-export-format-source-code-or-example): Deal wit
4185         the new structure of the `org-export-latex-listings-langs'
4186         variable.
4188         * org-latex.el (org-export-latex-listings-langs): Change structure
4189         of the variable from plist to alist.
4191 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
4193         * org.el (org-in-commented-line): New function.
4195 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
4197         * org.el (org-hide-block-toggle): Make folded blocks searchable.
4199 2009-09-02  Friedrich Delgado Friedrichs  <friedel@nomaden.org>  (tiny change)
4201         * org.el (org-flag-drawer): More useful error.
4203 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
4205         * org-remember.el (org-remember-apply-template): Use
4206         org-icompleting-read.
4208         * org-publish.el (org-publish): Use org-icompleting-read.
4210         * org-colview.el (org-columns-edit-value, org-columns-new)
4211         (org-insert-columns-dblock): Use org-icompleting-read.
4213         * org-colview-xemacs.el (org-columns-edit-value)
4214         (org-columns-new, org-insert-columns-dblock): Use
4215         org-icompleting-read.
4217         * org-attach.el (org-attach-delete-one, org-attach-open): Use
4218         org-icompleting-read.
4220 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
4222         * org.el (org-hierarchical-todo-statistics): Improve docstring.
4223         (org-version): Return the version text.
4224         (org-org-menu): Add a menu entry for the new bug reporter.
4225         (org-submit-bug-report): New command.
4227         * org-list.el (org-hierarchical-checkbox-statistics): Improve
4228         docstring.
4230         * org.el (org-emphasis-regexp-components): Add "`" to set of
4231         pre-emphasis characters.
4233         * org-latex.el (org-export-latex-classes): Always include the soul
4234         package.
4235         (org-export-latex-emphasis-alist): Use \st for strikethough.
4237         * org-exp-blocks.el (org-export-blocks-preprocess): Use
4238         `indent-code-rigidly' to indent.
4240         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
4241         properties only if MATCH really is a string.
4243 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
4245         * org-latex.el (org-export-latex-packages-alist): Fix
4246         customization type.
4248         * org.el (org-create-formula-image): Also use
4249         `org-export-latex-packages-alist'.
4251         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
4252         (org-export-as-html): Format footnotes correctly.
4254 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
4256         * org.el (org-fast-tag-selection): Avoid text properties on tags
4257         in the alist.
4259         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
4260         text properties on the match element.
4262 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
4264         * org.el (org-set-regexps-and-options): Make sure the list of done
4265         keywords is not invalid.
4267         * org-exp.el (org-export-interpolate-newlines): New function.
4269 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
4271         * org.el (org-format-latex): Avoid nested overlays.
4273         * org-latex.el (org-export-latex-listings-langs): Add a few more
4274         languages.
4276         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
4277         ignore newlines and space before the first macro argument.
4279         * org-latex.el (org-export-latex-tables): Remove save-excursion
4280         around `org-table-align'.
4282 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
4284         * org.el (org-export-html-special-string-regexps): Definition
4285         moved into org.el.
4287         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
4288         in macro calls.
4290 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
4292         * org-latex.el (org-export-latex-listings)
4293         (org-export-latex-listings-langs): New options.
4295         * org-exp.el (org-export-format-source-code-or-example): Use
4296         listing package if requested by the user.
4298 2009-09-02  Bastien Guerry  <bzg@altern.org>
4300         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
4301         command before actually switching to a buffer.
4303 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
4305         * org-exp.el (org-get-file-contents): Only quote org lines when
4306         the markup is src or example.
4308         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
4309         New option.
4310         (org-agenda-get-day-entries): Remember deadline results and pass
4311         them on into the function getting the scheduling information.
4312         (org-agenda-get-scheduled): Accept deadline results as parameters
4313         and maybe skip some entries.
4314         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
4316         * org.el (org-insert-heading): When respecting content, do not
4317         convert current line to headline.
4319         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
4320         cheeeeeck the hd marker.
4321         (org-clock-in): Also set the hd marker.
4322         (org-clock-out): Also set the hd marker.
4323         (org-clock-cancel): Reset markers.
4325         * org.el (org-clock-hd-marker): New marker.
4327         * org-faces.el (org-agenda-clocking): New face.
4329         * org-agenda.el (org-agenda-mark-clocking-task): New function.
4330         (org-finalize-agenda): Call `org-agenda-mark-clocking-task'.
4332         * org.el (org-modules): Add org-track.el.
4334         * org-agenda.el (org-agenda-bulk-marked-p): New function.
4335         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
4336         `org-agenda-bulk-marked-p'.
4337         (org-agenda-bulk-toggle): New command.
4339 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
4341         * org.el (org-move-subtree-down): Hide subtree if it was folded,
4342         not just the body.
4344         * org-remember.el (org-remember-finalize): Avoid buffer-modified
4345         messages.
4347 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4349         * org-html.el (org-export-as-html):
4350         * org-docbook.el (org-export-as-docbook):
4351         Use (default-value 'major-mode) instead of default-major-mode.
4353 2009-08-08  Carsten Dominik  <carsten.dominik@gmail.com>
4355         * org-docbook.el: Add arch-tag.
4357         * org-exp-blocks.el: Add arch-tag.
4359         * org-id.el: Add arch-tag.
4361         * org-indent.el: Add arch-tag.
4363         * org-inlinetask.el: Add arch-tag.
4365         * org-protocol.el: Add arch-tag.
4367 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4369         * org.el (org-create-formula-image): Remove the -E option for
4370         dvipng.
4372         * org-exp.el (org-default-export-plist): Respect #+BIND.
4373         (org-export-confirm-letbind): New function.
4375         * org.el (org-paste-subtree): Test the kill ring entry if it is
4376         going to be used.
4377         (org-copy-subtree): Use `org-forward-same-level'.
4378         (org-forward-same-level): Respect the `invisibe-ok' arg for
4379         back-to-heading.
4381 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4383         * org.el (org-table-map-tables): Make sure cursor is back at table
4384         beginning after funcall.
4386         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
4387         handled before children, and do not error if an entry is not
4388         found, probably because it hase been remove when the parent was
4389         archived or refiled.
4391         * org.el (org-ido-completing-read): Accept straight lists for
4392         completion as well as alists.
4394         * org-timer.el (org-timer-cancel-timers): Rename from
4395         `org-timer-cancel-timers'.
4397         * org.el (org-cycle-internal-local): Fix problem with finding next
4398         invisible line.
4400 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4402         * org-list.el (org-list-send-list): Call
4403         `org-list-goto-true-beginning' instead of
4404         `org-list-find-true-beginning', which does not exist.
4406         * org-timer.el (org-timer-reset-timers): Use `mapc'.
4407         (org-timer-set-timer): Do not assign to heading.
4409         * org-id.el (org-id-open): Quote function name.
4411         * org-macs.el (org-unmodified): Turn off recording undo
4412         information while running inside the macro.
4414         * org-table.el (org-table-export): Also work in file-less
4415         buffers.
4417         * org.el (org-startup-indented): New option.
4418         (org-startup-options): Add new options indent and noindent.
4419         (org-unfontify-region): Remove line-prefix and wrap-prefix
4420         properties.
4421         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
4422         hooks.
4423         (org-promote, org-demote): Run the new hooks.
4425         * org-table.el (org-table-align): Replace leading \n as well.
4427         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
4428         and `line-wrap' text properties.
4430         * org-compat.el (org-kill-new): New function.
4432         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
4433         `line-wrap' text properties.
4435         * org-indent.el: New file.
4437 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4439         * org.el (org-provide-todo-statistics): Tweak docstring.
4441         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
4443 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4445         * org-exp.el (org-export-as-org): Insert the "-source" string
4446         before the extension.
4448         * org.el (org-read-date): Make sure the calendar is in the current
4449         frame.
4450         (org-set-emph-re): Remove the ? from the post-match.
4451         (org-emphasis-regexp-components): Add backslash to the
4452         postmatch class.
4453         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
4454         optional so that also lines at the end of the buffers will still
4455         be matched as headlines.
4457         * org-table.el (org-table-error-on-row-ref-crossing-hline):
4458         Variable made obsolete.
4459         (org-table-relative-ref-may-cross-hline): New option.
4460         (org-table-find-row-type): Honow the new option
4461         `org-table-relative-ref-may-cross-hline'.
4463 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4465         * org-table.el (org-table-cut-region, org-table-copy-region): Work
4466         on single field if no active region.
4468 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4470         * org-latex.el (org-export-latex-make-header): Only insert title
4471         if one is defined.
4473         * org.el (org-make-options-regexp): Allow empty values.
4475 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4477         * org.el (org-cycle-internal-local): Improved version of finding
4478         next visible line.
4479         (org-cycle-hide-drawers): Only hide drawers if this is really
4480         necessary.
4481         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
4482         org-version of this function in Org-mode.  We use advice to
4483         implement this change, so that future changes to this function in
4484         outline.el wil be handled properly.
4485         (org-forward-same-level, org-backward-same-level): New commands.
4487 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4489         * org.el (org-remove-empty-overlays-at)
4490         (org-clean-visibility-after-subtree-move): New functons.
4491         (org-move-subtree-down): Simplify cleanup of display.
4493 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4495         * org-mac-message.el (org-mac-message-get-links): Improve
4496         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
4497         "s".  Fix the return value.
4498         (org-mac-message-insert-flagged): Simplify.
4500         * org.el (org-refile-get-location): Tamper with refile history o
4501         that history contains compete matches instead of the entered
4502         string.
4504 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4506         * org.el (org-store-link): Never store a link to an inline task.
4508         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
4509         inline tasks when positioning footnotes.
4511         * org.el (org-refile): Remove the END line when archiving an
4512         inline task that does have an END line.
4514         * org-archive.el (org-archive-subtree): Remove the END line when
4515         archiving an inline task that does have an END line.
4517         * org-macs.el (org-with-limited-levels): New macro.
4518         (org-get-limited-outline-regexp): New function.
4520         * org-exp.el (org-export-format-source-code-or-example): Fix bug
4521         that did not enumerate first line.
4522         (org-export-mark-radio-links): Skip matches in links.
4524 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4526         * org.el (org-activate-plain-links): Make single-match.
4527         (org-adapt-indentation): Fix docstring.
4529         * org-macs.el (org-unmodified): Turn of modification hooks while
4530         running this macro.
4532 2009-08-06  Bastien Guerry  <bzg@altern.org>
4534         * org.el (org-adapt-indentation): Slightly improve the docstring.
4535         (org-occur): Sends an error when the user inputs an empty string.
4536         (org-priority): Bugfix: the tag alignement should happen within
4537         save-excursion.
4539 2009-08-06  Bastien Guerry  <bzg@altern.org>
4541         * org.el (org-make-link-regexps): Don't exclude parentheses from
4542         `org-plain-link-re'.
4543         (org-cycle-internal-local): When locally cycling, switch directly
4544         from CHILDREN to FOLDED if there is no subtree.
4545         (org-cycle): Update the docstring to document the new behavior of
4546         `org-cycle-internal-local'.
4548 2009-08-06  Nicolas Goaziou  <n.goaziou@neuf.fr>  (tiny change)
4550         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
4551         an abbreviated format for days.
4553 2009-08-06  Bastien Guerry  <bzg@altern.org>
4555         * org-protocol.el (org-protocol-default-template-key): New
4556         option.
4558         * org.el (org-refile): Bugfix: save-excursion before reading the
4559         refile target, otherwise cursor moves might confuse `org-refile'.
4561         * org.el (org-toggle-heading): Bugfix: correctly convert list
4562         items before the first headline.
4564         * org.el (org-provide-todo-statistics): Allow a list of TODO
4565         keywords to compute statistics against headlines containing a
4566         keyword from this list.
4567         (org-update-parent-todo-statistics): Possibly use the new allowed
4568         value of `org-provide-todo-statistics'.
4570 2009-08-06  Bastien Guerry  <bzg@altern.org>
4572         * org-timer.el: Add autoload cookie.
4574         * org.el (org-occur-link-in-agenda-files): New function.
4576         * org-timer.el (org-timer-last-timer): New variable.
4578         * org-agenda.el (org-agenda-mode-map): New key for
4579         org-timer-set-timer called from the agenda.
4581         * org.el (org-mode-map): New key for org-timer-set-timer.
4583         * org-timer.el (org-timer-reset-timers)
4584         (org-timer-show-remaining-time, org-timer-set-timer): New
4585         functions.
4587         * org-clock.el (org-show-notification): Update the docstring.
4589         * org.el (org-provide-todo-statistics): Allow new value
4590         'all-headlines for this option, which includes entries with no
4591         TODO keywords in the todo statistics.
4592         (org-update-parent-todo-statistics): Possibly use the new
4593         'all-headline value from `org-provide-todo-statistics'.
4595 2009-08-06  Bastien Guerry  <bzg@altern.org>
4597         * org-clock.el (org-dblock-write:clocktable): Add a new option
4598         :timestamp which allows display of timestamps in clock reports.
4600         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
4601         list to a subtree, preserving the structure of the list.
4602         (org-set-emph-re): Make the last element optional in the regexp.
4603         This regexp now matches an emphasized string at the end of a line.
4605         * org-list.el (org-list-goto-true-beginning)
4606         (org-list-make-subtree, org-list-make-subtrees): New functions.
4608         * org.el (org-eval-in-calendar): Select the right frame.
4609         (org-save-frame-excursion): Remove this macro.
4611 2009-08-06  Bastien Guerry  <bzg@altern.org>
4613         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
4614         trying to find the beginning of a list.
4616         * org-exp.el (org-get-file-contents): Use a new argument: markup.
4617         When present, tell org-get-file-contents not to protect org-like
4618         lines.
4620         * org-id.el (org-id-uuid-program): New option to set the name of
4621         the uuidgen program.
4622         (org-id-method): Use `org-id-uuid-program'.
4623         (org-id-new): Use `org-id-uuid-program'.
4625 2009-08-06  Bastien Guerry  <bzg@altern.org>
4627         * org-exp.el (org-export-number-lines): Allow whitespace in code
4628         references.  Allow the -r switch to remove the references in the
4629         source code even when the lines are not numbered: the labels can
4630         be explicit enough.
4632         * org.el (org-fontify-whole-heading-line): New option.
4633         (org-set-font-lock-defaults): Use the new option.
4635         * org-clock.el (org-show-notification-handler): New option.
4636         (org-show-notification): Use the new option.
4638 2009-08-06  Bastien Guerry  <bzg@altern.org>
4640         * org.el (org-eval-in-calendar): Fix a bug about calendar
4641         navigation when `calendar-setup' value is 'calendar-only.
4643 2009-08-06  Bastien Guerry  <bzg@altern.org>
4645         * org.el (orgstruct++-mode): Fix typo in docstring.
4646         (org-insert-link): Clean up: (or (...)) => (...)
4647         (org-insert-link): Use TAB for stored links completion.
4649 2009-08-06  Bastien Guerry  <bzg@altern.org>
4651         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
4652         building the list of targets.
4654         * org-remember.el (org-remember-delete-empty-lines-at-end): New
4655         option.
4656         (org-remember-handler): Use the new option.
4658 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
4660         * org.el (org-tags-sort-function): New option for sorting tags.
4661         (org-set-tags): Use the new option to sort tags.
4663         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
4664         premature deletion of the data when using org-plot in a script.
4666 2009-08-06  Bastien Guerry  <bzg@altern.org>
4668         * org-clock.el (org-clock-in-prepare-hook): New hook.
4669         (org-clock-in): Use this new hook.
4671 2009-08-06  Bastien Guerry  <bzg@altern.org>
4673         * org.el (org-special-ctrl-a/e): Explicitely bind the value
4674         'reversed for this option to the "true line boundary first"
4675         behavior.
4676         (org-tags-match-list-sublevels): Document the 'indented value for
4677         this variable.
4679         * org-latex.el (org-export-latex-first-lines): Fix problem with
4680         publishing the region.
4682         * org-exp.el (org-export-format-source-code-or-example): Fix
4683         bad line numbering when exporting examples in HTML.
4685 2009-08-06  James TD Smith  <ahktenzero@mohorovi.cc>
4687         * org-colview.el (org-format-time-period): Formats a time in
4688         fractional days as days, hours, mins, seconds.
4689         (org-columns-display-here): Add special handling for SINCE and
4690         SINCE_IA to format for display.
4692         * org.el (org-time-since): Add a function to get the time since an
4693         org timestamp.
4694         (org-entry-properties): Add two new special properties: SINCE and
4695         SINCE_IA.  These give the time since any active or inactive
4696         timestamp in an entry.
4697         (org-special-properties): Add SINCE, SINCE_IA.
4698         (org-tags-sort-function): Add custom declaration for tags
4699         sorting function.
4700         (org-set-tags): Sort tags if org-tags-sort-function is set.
4702 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4704         * org-clock.el (org-clock-goto): Find hidden headlines as well.
4706         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
4708         * org-plot.el (org-plot/add-options-to-plist): Add timeind
4709         option.
4711 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4713         * org-publish.el (org-publish-remove-all-timestamps): New function.
4714         (org-publish-all): Remove all timestamp files if `org-publish-all'
4715         is called with a prefix argument.
4717         * org-list.el (org-indent-item): Fix typo.
4718         (org-item-indent-positions): Normalize ordered bullet.
4720 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4722         * org-macs.el (org-set-local): Make a local variable, do not make
4723         the variable buffer-local!
4725         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
4727         * org-exp.el (org-infile-export-plist): Read BIND lines.
4728         (org-install-letbind): New function.
4729         (org-export-as-org, org-export-preprocess-string): Call
4730         `org-install-letbind'.
4732         * org-list.el (org-list-demote-modify-bullet): New option.
4733         (org-first-list-item-p): Save point.
4734         (org-fix-bullet-type): New optional argument FORCE-BULLET.
4735         (org-indent-item): Honor `org-list-demote-modify-bullet'.
4736         (org-item-indent-positions): Return bullet types along with
4737         indentation.
4739 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4741         * org.el (org-show-entry): Hide drawers.
4743 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4745         * org-footnote.el (org-footnote-auto-adjust): New option.
4746         (org-footnote-auto-adjust-maybe): New function.
4747         (org-footnote-new, org-footnote-delete): Call
4748         `org-footnote-auto-adjust-maybe'.
4750         * org.el (org-startup-options): Add new footnote-related
4751         keywords.
4753         * org-publish.el (org-publish-timestamp-filename): Additional
4754         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
4755         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
4756         TRUE-PUB-DIR.  Pass them through to
4757         `org-publish-timestamp-filename'.
4758         (org-publish-update-timestamp): Additional arguments PUB-DIR and
4759         PUB-FUNC, which are included in the hash.
4760         (org-publish-file): Delay timestamp test until the publishing
4761         function is known.
4763 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4765         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
4766         setting the deadline.
4768         * org.el (org-read-date-final-answer): New variable.
4769         (org-read-date): Store the final answer string, including the date
4770         from the calendar, for reuse by agenda bulk commands.
4772         * org-publish.el (org-publish-attachment): Fix publishing of
4773         attachments.
4775         * org-latex.el (org-export-latex-quotation-marks): Fix export of
4776         quotation makrs in parenthesis.
4777         (org-remove-initial-hash): New function.
4778         (org-export-latex-preprocess): Fix bug with infinite loop if
4779         environment is not properly closed.
4781         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
4782         when indented.
4784         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
4785         highlight also when indented.
4787 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4789         * org-footnote.el (org-footnote-renumber-fn:N): New command.
4790         (org-footnote-action): Offer renumbering.
4792         * org.el (org-cycle): Honor the `integrate' value of
4793         org-cycle-include-plain-lists'.
4795         * org-list.el (org-cycle-include-plain-lists): New allowed value
4796         `internal'.  Improve the docstring.
4798         * org.el (org-set-autofill-regexps): Improve the paragraph-start
4799         regexp to work better with LaTeX commands.
4801 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4803         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
4804         and eps extensions.
4806 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4808         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
4809         loaded.
4811         * org.el (org-map-entries): No longer force
4812         `org-tags-match-list-sublevels' to t during a todo-only tags
4813         search.
4815 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4817         * org-latex.el (org-export-latex-low-levels): Allow user-defined
4818         environment.
4819         (org-export-latex-subcontent): Handle user-defined environment.
4821         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
4822         the View dispatcher.
4824         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
4825         `make-overlay'.
4827         * org-latex.el (org-export-as-pdf): Protect match data during call
4828         to shell-quote-argument.
4830         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
4831         (org-agenda-view-mode-dispatch): New function.
4833 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4835         * org-agenda.el (org-agenda-mode): Reset list of marks.
4836         (org-agenda-mode-map): Define new keys for refile and bulk action.
4837         (org-agenda-menu): Add menu itesm for refile and bulk action.
4838         (org-agenda-refile): New function.
4839         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
4840         (org-agenda-marked-entries): New variable.
4841         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
4842         (org-agenda-remove-all-bulk-action-marks)
4843         (org-agenda-bulk-action): New functions/commands.
4845 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4847         * org-exp.el (org-get-file-contents): Protect org-like lines in
4848         included files.
4849         (org-export-format-source-code-or-example): Remove newlines.
4851         * org-latex.el (org-export-latex-links): Check for no-description
4852         marking.
4854         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
4855         argument separator back to comma.
4856         (org-export-normalize-links): Mark links without description.
4858 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4860         * org-exp.el (org-infile-export-plist): Fix bug in macro
4861         processing.
4863         * org-agenda.el (org-agenda-clock-out): Update line after clocking
4864         out.
4865         (org-agenda-highlight-todo): Fix bug with highlighting.
4867 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4869         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
4870         new alignment strings.
4872         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
4873         command list.
4874         (org-table-align): Check for forced align type.
4876         * org.el (org-self-insert-command): Add yas/expand to command
4877         list.
4879         * org-clock.el (org-clock-in-hook): New hook.
4880         (org-clock-in): Run `org-clock-in-hook.
4881         (org-clock-out-hook): New hook.
4882         (org-clock-out): Run `org-clock-out-hook.
4883         (org-clock-cancel-hook): New hook.
4884         (org-clock-cancel): Run `org-clock-cancel-hook.
4885         (org-clock-goto-hook): New hook.
4886         (org-clock-goto): Run `org-clock-goto-hook.
4888 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4890         * org.el (org-store-link): Better default description for link to
4891         Org-mode headline.
4893         * org-exp.el (org-export-generic): Autoload the generic exporter
4894         function.
4895         (org-export): Implement the `g' key for the generic exporter.
4897 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4899         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
4900         and for zbacktab'.
4902         * org-exp.el (org-infile-export-plist): Get macros also from
4903         #+SETUPFILE.
4905 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4907         * org-colview.el (org-columns-capture-view): Protect vertical bars
4908         in column values.
4909         (org-columns-capture-view): Exclude comment and archived trees.
4911         * org-colview-xemacs.el (org-columns-capture-view): Protect
4912         vertical bars in column values.
4913         (org-columns-capture-view): Exclude comment and archived trees.
4915         * org.el (org-quote-vert): New function.
4917         * org-latex.el (org-export-latex-verbatim-wrap): New option.
4919         * org-exp.el (org-export-format-source-code-or-example): Use
4920         `org-export-latex-verbatim-wrap'.
4922         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
4923         time stamps.
4925 2009-08-06  Eric Schulte  <schulte.eric@gmail.com>
4927         * org-exp-blocks.el: New file.
4929 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4931         * org-remember.el (org-remember-templates): Allow the headline
4932         element to be a function.
4933         (org-remember-apply-template): If the headline is a function, call
4934         it to get the true function.
4936         * org-clock.el (org-clock-menu): New function.
4937         (org-clock-update-mode-line): Update help string.
4938         (org-clock-modify-effort-estimate): New function.
4939         (org-clock-mark-default-task): New function.
4941         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
4942         minutes as input.
4943         (org-org-menu): Add new clocking stuff.
4944         (org-clock-is-active): New function.
4946 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4948         * org.el (org-open-non-existing-files): Improve docstring.
4950 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4952         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
4953         option.
4954         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
4956         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
4958         * org-list.el (org-get-checkbox-statistics-face): Use the new
4959         faces.
4961         * org-faces.el (org-checkbox-statistics-todo)
4962         (org-checkbox-statistics-done): New faces.
4964 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4966         * org-latex.el (org-export-latex-use-verb): New variable.
4967         (org-export-latex-emph-format): Prefer \texttt over \verb when
4968         org-export-latex-use-verb is set.
4970 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4972         * org-remember.el (org-remember-handler): Abort remember if the
4973         buffer is empty.
4975         * org-exp.el (org-export-format-source-code-or-example): Run
4976         `org-src-mode-hook'.
4978 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4980         * org.el (org-indent-line-function): Fix indentation of +#end lines.
4982 2009-08-06  Tassilo Horn  <tassilo@member.fsf.org>
4984         * org-gnus.el (org-gnus-store-link): Require message.el in
4985         org-gnus-store-link.
4987 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
4989         * org-src.el: New file, split out of org.el.
4991         * org-macs.el (org-replace-match-keep-properties): New function.
4993         * org-exp.el (org-export-mark-blockquote-verse-center): Better
4994         preprocessing of center and quote and verse blocks.
4996         * org-list.el (org-list-end): Respect the stored "original"
4997         indentation when determining the end of the list.
4999         * org-exp.el (org-export-replace-src-segments-and-examples):
5000         Remember indentation correctly.
5002 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5004         * org-clock.el (org-clock-update-mode-line): Apply face
5005         org-mode-line-clock.
5007         * org-faces.el (org-mode-line-clock): New face.
5009 2009-08-06  Tassilo Horn  <tassilo@member.fsf.org>
5011         * org-gnus.el (org-gnus-store-link): Fix bug where
5012         `org-gnus-store-link' used wrong subject when called in an article
5013         buffer.  Patch provided by fengli AT gmail DOT com.
5015 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5017         * org-exp.el (org-export-format-source-code-or-example): Remember
5018         the original indentation of source code snippets and examples.
5020         * org-latex.el (org-export-as-latex): Relocate the table of
5021         contents.
5023         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
5025         * org-agenda.el (org-run-agenda-series): Scope global options also
5026         when creating the agenda buffer.
5028 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5030         * org.el (org-adapt-indentation): Improve documentation.
5031         (org-insert-property-drawer): Respect org-adapt-indentation when
5032         inserting the drawer.
5033         (org-remove-flyspell-overlays-in): New function.
5034         (org-do-emphasis-faces, org-activate-plain-links)
5035         (org-activate-code, org-fontify-meta-lines-and-blocks)
5036         (org-activate-angle-links, org-activate-footnote-links)
5037         (org-activate-bracket-links, org-activate-dates)
5038         (org-activate-target-links, org-activate-tags): Remove flyspell
5039         overlays.
5041 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5043         * org.el (org-edit-src-save): New function.
5045         * org-clock.el (org-clock-out-switch-to-state): New option.
5046         (org-clock-out): Honor `org-clock-out-switch-to-state'.
5048         * org-compat.el (org-compatible-face): Improve macro.
5050         * org.el (org-global-properties-fixed): Add default for
5051         CLOCK_MODELINE_TOTAL.
5053         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
5054         andd tend.
5055         (org-clock-sum-current-item): Optional argument TSTART, pass it to
5056         org-clock-sum.
5057         (org-clock-get-sum-start): New function.
5059         * org.el (org-startup-options): New keywords blockhide and
5060         blockshow.
5061         (org-mode): Add new invisibility spec.
5062         (org-set-startup-visibility): Hide block on startup if so
5063         desired.
5064         (org-hide-block-startup): New option.
5065         (org-block-regexp): New constant.
5066         (org-hide-block-overlays): New variable.
5067         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
5068         (org-show-block-all, org-hide-block-toggle-maybe)
5069         (org-hide-block-toggle): New functions.
5070         (org-edit-src-exit): Do not quote lines starting with # and no +
5071         behind it.
5072         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
5073         entry.
5075 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5077         * org.el (org-buffer-property-keys): Add Effort property for
5078         completion.
5080 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5082         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
5083         when retrieving total clocked time in the subtree.
5085         * org.el (org-quoting-blocks): New variable.
5087 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5089         * org-table.el (org-table-store-formulas)
5090         (org-table-get-stored-formulas, org-table-fix-formulas)
5091         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
5092         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
5094         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
5095         indented #+TBLFM line.
5097         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
5098         indented #+TBLFM line.
5100         * org-colview.el (org-dblock-write:columnview): Allow indented
5101         #+TBLFM line.
5103         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
5104         indented #+TBLFM line.
5106         * org-clock.el (org-dblock-write:clocktable): Allow indented
5107         #+TBLFM line.
5109 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5111         * org-exp.el (org-export-format-source-code-or-example): Make
5112         editing indented blocks work correctly.
5114         * org.el (org-edit-src-nindent): New variable.
5115         (org-edit-src-code, org-edit-fixed-width-region)
5116         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
5117         editing indented blocks work correctly.
5119 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5121         * org-exp.el (org-export-replace-src-segments-and-examples): Find
5122         indented blocks.
5123         (org-export-format-source-code-or-example): Fix indentation of
5124         blocks.
5125         (org-export-remove-indentation): New function.
5126         (org-export-select-backend-specific-text): Allow backend-specific
5127         code to be indented.
5128         (org-export-mark-blockquote-verse-center): Allow markers to be
5129         indented.
5131         * org.el (org-fontify-meta-lines): New function.
5132         (org-set-font-lock-defaults): Call the new fontification
5133         function.
5135         * org-faces.el (org-meta-line): New face.
5136         (org-block): New face.
5138 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5140         * org.el (org-treat-insert-todo-heading-as-state-change)
5141         (org-treat-S-cursor-todo-selection-as-state-change): New
5142         variables.
5143         (org-insert-todo-heading): Honor
5144         `org-treat-insert-todo-heading-as-state-change'.
5145         (org-shiftright, org-shiftleft): Honor
5146         `org-treat-S-cursor-todo-selection-as-state-change'.
5147         (org-inhibit-logging): New variable.
5149 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5151         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
5152         range for marker position checking.
5154         * org-latex.el (org-export-latex-first-lines): Fix bug when
5155         exporting a region.
5157 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5159         * org-exp.el (org-export-push-to-kill-ring): Protect using
5160         x-set-selection, because that does not always work.
5162         * org-agenda.el (org-agenda-list): Apply the new face
5163         `org-agenda-date-today'.
5165         * org-faces.el (org-agenda-date-today): New face.
5167 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5169         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
5170         creating appointments.
5172         * org-latex.el (org-export-latex-low-levels): Fix customization
5173         type.
5175         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
5176         priority commands.
5178         * org-agenda.el (org-agenda-priority): Disable priority commands.
5180         * org.el (org-enable-priority-commands): New option.
5182         * org-colview-xemacs.el (org-columns-compute)
5183         (org-columns-number-to-string): Fix problems with empty fields.
5185         * org-colview.el (org-columns-compute)
5186         (org-columns-number-to-string): Fix problems with empty fields.
5188         * org-exp.el (org-export-push-to-kill-ring): New function.
5189         (org-export-copy-to-kill-ring): New option.
5191         * org-latex.el (org-export-as-latex): Call
5192         `org-export-push-to-kill-ring'.
5194         * org-exp.el (org-export-show-temporary-export-buffer): New
5195         option.
5197         * org-latex.el (org-export-as-latex): Use
5198         `org-export-show-temporary-export-buffer'.
5200         * org-exp.el (org-export-show-temporary-export-buffer): New
5201         option.
5202         (org-export-push-to-kill-ring): New function.
5204         * org-colview.el (org-columns-compile-map): New variable.
5205         (org-columns-new, org-columns-compute)
5206         (org-columns-number-to-string, org-columns-uncompile-format)
5207         (org-columns-compile-format): Implement new operators.
5209 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5211         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
5213         * org-list.el (org-update-checkbox-count): Make property
5214         dependent.
5216         * org.el (org-hierarchical-todo-statistics): New option.
5217         (org-update-parent-todo-statistics): Modify to handle recursive
5218         statistics.
5220 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5222         * org-publish.el (org-publish): Make this function behave
5223         correctly in interactive use when called with a prefix argument.
5225         * org.el (org-todo-statistics-hook): New hook.
5226         (org-update-parent-todo-statistics): Use new hook.
5227         (org-log-into-drawer): New function.
5228         (org-add-log-setup): Use the new `org-log-into-drawer' function to
5229         determine if we should be logging into a drawer.
5230         (org-log-into-drawer): Update docstring.
5231         (org-default-properties): Add LOG_INTO_DRAWER as a property.
5233         * org-list.el (org-checkbox-statistics-hook): New hook.
5234         (org-update-checkbox-count-maybe): Use new hook.
5236 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5238         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
5239         better bufer-generating mechanism.
5240         (org-edit-src-find-buffer): New function.
5242         * org-icalendar.el (org-print-icalendar-entries): Don't check for
5243         archive tag, this is already done by `org-agenda-skip'.
5244         data while constructing lost of tags.
5246 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5248         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
5249         as argument separator in macros.
5251 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5253         * org.el (org-after-sorting-entries-or-items-hook): New hook.
5254         (org-sort-entries-or-items): Run the new hook.
5255         (org-after-refile-insert-hook): New hook.
5256         (org-refile): Run `org-after-refile-insert-hook'.
5258         * org-agenda.el (org-agenda-get-progress): Never take time of day
5259         from headline when displaying progress.
5261         * org-latex.el (org-export-latex-complex-heading-re): New variable.
5262         (org-export-as-latex): Force the correct regexp in the
5263         preprocessor buffer.
5264         (org-export-latex-set-initial-vars): Set
5265         `org-export-latex-complex-heading-re'.
5267         * org-agenda.el (org-agenda-start-with-log-mode): New option.
5268         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
5270 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5272         * org-latex.el (org-export-latex-tables-centered): New option.
5273         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
5275         * org-exp.el (org-export-as-org): New command.
5276         (org-export-as-org): New command.
5278         * org-publish.el (org-publish-org-to-org): New function.
5280 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5282         * org.el (org-yank): Just call `org-yank-generic'.
5283         (org-yank-generic): New function, containing the formaer
5284         functionality of `org-yank'.
5286         * org-latex.el (org-export-latex-not-done-keywords)
5287         (org-export-latex-done-keywords): New variables.
5288         (org-export-latex-todo-keyword-markup): New option.
5289         (org-export-latex-set-initial-vars): Remember the TODO keywords.
5290         (org-export-latex-keywords-maybe): Apply the TODO markup.
5292 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5294         * org-exp.el (org-infile-export-plist): Add more default macros.
5295         (org-export-preprocess-apply-macros): Process macro arguments.
5297 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5299         * org-icalendar.el (org-icalendar-include-todo): New allowed value
5300         `unblocked'.
5301         (org-print-icalendar-entries): Respect the new value of
5302         `org-icalendar-include-todo'.
5304         * org.el (org-link-try-special-completion)
5305         (org-file-complete-link): New functions.
5306         (org-insert-link): Add special completion support for some link
5307         types.
5309         * org-bbdb.el (org-bbdb-complete-link): New function.
5311 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5313         * org-list.el (org-update-checkbox-count): Allow recursive
5314         statistics.
5315         (org-hierarchical-checkbox-statistics): New option.
5317         * org.el (org-cycle): Remove erraneous space character.
5319         * org-icalendar.el (org-icalendar-timezone): Initialize from
5320         environment.
5322 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5324         * org.el (org-autoload): Fix autoloading of ascii export
5325         functions.
5326         (org-modules): Add org-special-blocks.
5328 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5330         * org-icalendar.el (org-start-icalendar-file): Use the new option.
5331         (org-ical-timezone): New option.
5333         * org-exp.el (org-export-get-coderef-format): Use the description
5334         is present.
5336         * org.el (org-sort-entries-or-items): Improve docstring, and make
5337         better implementation for time sorting.
5339 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5341         * org.el (org-edit-src-persistent-message): New option.
5342         (org-edit-src-code, org-edit-fixed-width-region): Use the new
5343         option.
5345         * org-clock.el (org-clock-insert-selection-line): Fix prefious
5346         patch.
5348         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
5349         separate buffer instead of indirect buffer to edit source code.
5350         (org-edit-src-exit): Make this function work with the new setup.
5352         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
5353         are properly fontified before shown in the selection menu.
5355         * org.el (org-fontify-like-in-org-mode): New function.
5357         * org-latex.el (org-export-latex-links): Use the property list to
5358         retrieve the default image attributes.
5360         * org-exp.el (org-export-plist-vars): Add a new option.
5362 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5364         * org-exp.el (org-export, org-export-visible): Support ASCII
5365         export to buffer.
5366         (org-export-normalize-links): Do not protect the description if it
5367         is explicitly given.
5369         * org-list.el (org-reset-checkbox-state-subtree): Move here from
5370         org-checklist.el.
5371         (org-reset-checkbox-state-subtree): Call
5372         `org-reset-checkbox-state-subtree'.
5374         * org-remember.el (org-select-remember-template): For the
5375         selection of a valid template.
5377         * org-latex.el (org-export-region-as-latex): Supply the
5378         force-no-subtree argument.
5379         (org-export-as-latex): Provide better limits when exporting the
5380         first line.  When exporting to string, we still want the first
5381         lines.
5382         (org-export-latex-first-lines): New argument END, to force the end
5383         of the region.
5384         (org-export-region-as-latex): Use the property list.
5385         (org-export-as-latex):
5387         * org-colview-xemacs.el (org-columns-remove-overlays)
5388         (org-columns): Fix call to `local-variable-p'.
5390 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5392         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
5393         (org-export-latex-preprocess): Run the new hook.
5395         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
5396         (org-export-preprocess-string): Run the new hook.
5398 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5400         * org-macs.el (org-check-external-command): New defsubst.
5402         * org.el (org-mode-map): New key for reload.
5403         (org-format-latex): Better error message when external programs
5404         are not available.
5406         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
5408         * org.el (org-sort-entries-or-items): Explicit sorting function
5409         for priorities, needed for XEmacs compatibility.
5411         * org-remember.el (org-remember-apply-template): Improve auto-save
5412         behavior.
5414 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5416         * org-latex.el (org-export-latex-preprocess): Also protect
5417         environments ending in a star.
5419         * org-list.el (org-at-item-p): Fix regular expression.
5421 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5423         * org.el (org-end-of-subtree): Improve speed.
5425         * org-agenda.el (org-agenda-get-timestamps)
5426         (org-agenda-get-progress, org-agenda-get-deadlines)
5427         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
5428         in particular, wait as long as possible to collect the tags.
5429         (org-stuck-projects): Improve docstring.
5431         * org.el (org-store-link): No errors when getting custom id before
5432         first headline.
5433         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
5435 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5437         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
5439         * org-protocol.el: Remove dependency on url.el.
5440         (org-protocol-unhex-compound, org-protocol-open-source): Remove
5441         dependency on url.el.
5443         * org-latex.el (org-export-as-pdf): Use
5444         `org-latex-to-pdf-process'.
5446 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5448         * org-latex.el (org-latex-to-pdf-process): New option.
5450         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
5451         New option.
5452         (org-agenda-get-timestamps): Honor
5453         `org-agenda-skip-additional-timestamps-same-entry'.
5455         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
5456         (org-clock-goto): Find recent task only if
5457         `org-clock-goto-may-find-recent-task' allows it.
5459         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
5460         drawers, and drawers that are missing the :END: line.
5462 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5464         * org-clock.el (org-clock-goto): Go to recently clocked task if no
5465         clock is running.
5467 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5469         * org.el (org-update-parent-todo-statistics): Check for
5470         STATISTICS_FROM property.
5472         * org-list.el (org-update-checkbox-count): Check for
5473         STATISTICS_FROM property.
5475         * org.el (org-tab-first-hook)
5476         (org-tab-after-check-for-table-hook)
5477         (org-tab-after-check-for-cycling-hook): New hooks.
5478         (org-cycle-internal-global, org-cycle-internal-local): New
5479         functions, split out from `org-cycle'.
5480         (org-cycle): Call the new hooks.
5482 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5484         * org-exp.el (org-export-preprocess-string): Reset the list of
5485         preferred targets for each run of the preprocessor.
5487         * org.el (org-refile-target-verify-function): Improve
5488         documentation.
5489         (org-get-refile-targets): Respect point being moved by the
5490         verification function.
5492         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
5493         option.
5494         (org-export-latex-keywords): Use new option.
5496         * org.el (org-rear-nonsticky-at): New defsubst.
5497         (org-activate-plain-links, org-activate-angle-links)
5498         (org-activate-footnote-links, org-activate-bracket-links)
5499         (org-activate-dates, org-activate-target-links)
5500         (org-activate-tags): Place the rear-nonsticky properties at the
5501         correct location.
5503 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5505         * org-protocol.el (server-edit): Declare `server-edit'.
5506         (org-protocol-unhex-string, org-protocol-unhex-compound): New
5507         functions.
5508         (org-protocol-check-filename-for-protocol): Call `server-edit'.
5510         * org.el (org-default-properties): New default properteis for
5511         completion.
5513         * org-exp.el (org-export-add-subtree-options): Add new properties
5514         for subtree export.
5516 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5518         * org-id.el (org-id-get-with-outline-path-completion): Turn off
5519         org-refile-target-verify-function for the duration of the command.
5521         * org.el (org-link-to-org-use-id): New possible value
5522         `create-if-interactive-and-no-custom-id'.
5523         (org-store-link): Use custom IDs.
5524         (org-link-search): Find custom ID properties from #link.
5525         (org-default-properties): Add CUSTOM_ID for property completion.
5526         (org-refile-target-verify-function): New option.
5527         (org-goto): Turn off org-refile-target-verify-function
5528         for the duration of the command.
5530 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5532         * org-exp.el (org-export-preferred-target-alist): New variable.
5533         (org-export-define-heading-targets): Find the new CUSTOM_ID
5534         property.
5535         (org-export-target-internal-links): Target the custom ids when
5536         possible.
5538         * org-latex.el (org-export-latex-preprocess): Better regexp for
5539         matching latex macros with arguments.
5541 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5543         * org-remember.el (org-remember-handler): Allow filing to non-org
5544         files.
5546 2009-08-06  Magnus Henoch  <magnus.henoch@gmail.com>
5548         * org-table.el (org-table-fix-formulas): Do not change references
5549         to remote tables.
5550         (org-table-get-remote-range): Convert standard coordinates to RC
5551         format.
5553         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
5555 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5557         * org-compat.el (org-sha1-string): Function removed.
5559         * org.el (org-refile-allow-creating-parent-nodes): New option.
5560         (org-refile-get-location): New argument NEW-NODES.
5561         (org-refile): Call `org-refile-get-location' with the new
5562         argument.
5563         (org-refile-get-location): Arrange for adding a new child.
5564         (org-refile-new-child): New function.
5566         * org-clock.el: Fix a number of docstrings.
5567         (org-clock-find-position): New argument
5568         FIND-UNCLOSED to make the function find an unclosed clock in the
5569         entry.
5570         (org-clock-in): Call `org-clock-find-position' with the new
5571         argument if we might be resuming a clock.
5573 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5575         * org-latex.el (org-export-latex-display-custom-times): New variable.
5576         (org-export-latex-timestamp-markup): New option.
5577         (org-export-latex-set-initial-vars): Remember the local value of
5578         `org-display-custom-times'.
5579         (org-export-latex-content): Process time stamps.
5580         (org-export-latex-time-stamps): New function.
5582         * org-macs.el (org-maybe-intangible): Add intangible property
5583         again to invisible text.
5585 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5587         * org-exp.el (org-default-export-plist): Handle undefined
5588         variables.
5590 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5592         * org.el (org-sort-entries-or-items): Match TODO keywrds
5593         case-sensitively, when sorting.
5594         (org-priority): Do not match TODO keywords with wrong case.
5596 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5598         * org.el (org-todo): Honor the NOBLOCKING property.
5600         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
5601         NOBLOCKING property.
5603         * org.el (org-scan-tags): Fix bug in tag scanner.
5605 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5607         * org.el (org-modules): Mark obsolete packages.
5609         * org-html.el: New file, split out from org-exp.el.
5611         * org-icalendar.el: New file, split out from org-exp.el.
5613         * org-xoxo.el: New file, split out from org-exp.el.
5615         * org-ascii.el: New file, split out from org-exp.el.
5617 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5619         * org-compat.el (org-find-library-name): New function.
5621         * org.el (org-pre-cycle-hook): New hook.
5622         (org-cycle): Call the new hook in appropriate places.
5623         (org-reload): Only reload files that have been loaded before.
5625 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5627         * org.el (org-set-font-lock-defaults): Enforxe space or line end
5628         after todo keyword.
5629         (org-todo): When changing TODO state, do matching
5630         case-sensitively.
5631         (org-map-continue-from): New variable.
5632         (org-scan-tags): Respect values in `org-map-continue-from'.
5633         (org-reload): Make XEmacs compatible.
5635 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5637         * org-protocol.el (org-protocol-flatten-greedy): New function.
5638         (org-protocol-flatten): New function.
5640         * org.el (org-open-link-from-string): Pass reference buffer to
5641         `org-open-at-point'.
5642         (org-open-at-point): New optional argument `reference-buffer'.
5644 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5646         * org.el (org-scan-tags): Make tag scan find headline in first
5647         line, 2nd attempt.
5648         (org-get-refile-targets): Add the naked file name.
5649         (org-refile): Store as top-level entry when only file name was
5650         given.
5652         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
5654         * org.el (org-block-todo-from-children-or-siblings-or-parent):
5655         Rename from org-block-todo-from-children-or-siblings, and
5656         enhanced to look for the parent's status as well.
5658         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
5659         (org-agenda-get-progress): Add first notes line to log entry if so
5660         desired.
5662 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5664         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
5665         (org-agenda-cleanup-fancy-diary): Call the new hook.
5667         * org-remember.el (org-remember-apply-template): Take the default
5668         for the annotation from the :annotation property.
5670         * org-mac-message.el (org-mac-message-get-link): Remove the
5671         quotes.
5672         (org-mac-message-get-link): Return the result.
5674 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5676         * org.el (org-refile-get-location): Add file name only if not
5677         already included in outline path.
5679         * org-faces.el (org-n-level-faces): Fix customization type from
5680         number to integer.
5682         * org-exp.el (org-export-headline-levels): Fix customization type
5683         from number to integer.
5685         * org-agenda.el (org-agenda-confirm-kill)
5686         (org-agenda-custom-commands-local-options)
5687         (org-timeline-show-empty-dates, org-agenda-ndays)
5688         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
5689         customization type from number to integer.
5691 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5693         * org-protocol.el: Declare some functions.
5695         * org-agenda.el (org-agenda-compare-effort): Honor
5696         `org-sort-agenda-noeffort-is-high'.
5697         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
5698         (org-agenda-compare-effort): Implement the "?" operator for
5699         finding entries without effort setting.
5701         * org.el (org-extract-attributes-from-string): New function.
5703         * org-exp.el (org-export-splice-attributes): New function.
5705 2009-08-06  Bastien Guerry  <bzg@altern.org>
5706         Daniel M German  <dmg@uvic.org>
5707         Sebastian Rose  <sebastian_rose@gmx.de>
5708         Ross Patterson  <me@rpatterson.net>
5710         * org-protocol.el: New file.
5712 2009-08-06  Baoqiu Cui  <cbaoqiu@yahoo.com>
5714         * org-docbook.el: New file.
5716 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5718         * org-mouse.el: XEmacs compatibility fixes.
5720         * org.el (org-modules): Add org-inlinetasks.el.
5721         (org-cycle): Implement limiting level on cycling.
5722         (org-move-subtree-down): Fix bug with swapping subtrees at end of
5723         buffer.
5725         * org-inlinetask.el: New file.
5727         * org.el (org-emphasis-regexp-components): Allow braces in
5728         emphasis pre and post match.
5730         * org-footnote.el (org-footnote-normalize): When only sorting, do
5731         not insert inline notes at the end.
5733         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
5735 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5737         * org.el (org-reftex-citation): New command.
5739 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5741         * org-agenda.el (org-agenda-cmp-user-defined): New option.
5742         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
5743         sorting options.
5744         (org-entries-lessp): Apply the new sorting option.
5746         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
5747         blocker code, when an older sibling has children.
5749         * org-mac-message.el (org-mac-message-get-link): Improve getting
5750         links from multiple selected messages.
5752 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5754         * org-remember.el (org-remember-finalize): Do not set buffer file
5755         name to nil.
5756         (org-remember-handler): Mark buffer as unmodified.
5757         (org-remember-handler): Delete backup file and show message about
5758         remaining backup files.
5759         (org-remember-auto-remove-backup-files): New option.
5761         * org.el (org-store-link): Use buffer name as link description in
5762         w3-mode buffers.
5763         (org-ido-switchb): Fix argument bug for completion.
5765         * org-remember.el (org-remember-apply-template): Set local
5766         variable `auto-save-visited-file-name' instead of global one.
5768 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5770         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
5771         (org-agenda-get-todos): Mark file tags as inherited.
5772         (org-agenda-list): Always search diary lines for a time.
5774 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5776         * org-feed.el: New file.
5778         * org-exp.el (org-export-as-html): Close local lists depending on
5779         indentation, also when starting a table.
5781         * org-remember.el (org-remember-backup-directory)
5782         (org-remember-backup-name): New internal variable.
5784 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5786         * org-clock.el (org-clock-out-if-current): Make buffer detection
5787         work in indirect buffers as well.
5789         * org.el (org-emphasis-regexp-components): Add the exxclamation
5790         mark to the post-emphasis characters.
5792 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5794         * org.el (org-read-date-minibiffer-septup-hook): New hook.
5795         (org-read-date): Run the new hook.
5797         * org-mac-message.el (org-mac-flagged-mail): New group.
5798         (org-mac-mail-account): New variable.
5799         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
5800         commands.
5802         * org-remember.el (org-remember-backup-directory): New variable.
5803         (org-remember-apply-template): Write file to backup directory.
5805 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5807         * org-mouse.el (org-mouse-todo-menu): New function.
5808         (org-mouse-todo-keywords): Function removed.
5809         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
5811         * org-table.el (org-table-beginning-of-field)
5812         (org-table-end-of-field): New commands.
5813         (org-table-previous-field, org-table-beginning-of-field): Better
5814         error messages.
5815         (orgtbl-setup): Include `M-a' and `M-e'.
5817         * org.el (org-backward-sentence, org-forward-sentence): New
5818         commands.
5820         * org-colview.el (org-colview-initial-truncate-line-value): New
5821         variable.
5822         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
5823         (org-columns): Remember the value of `truncate-lines'.
5825         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
5826         New variable.
5827         (org-columns-remove-overlays): Restore the value of
5828         `truncate-lines'.
5829         (org-columns): Remember the value of `truncate-lines'.
5831         * org.el (org-columns-skip-arrchived-trees): New option.
5833         * org-agenda.el (org-agenda-export-html-style): Define color for
5834         org-agenda-done face.
5835         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
5836         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
5838         * org.el (org-scan-tags): Use the new face.
5840         * org-faces.el (org-agenda-done): New face.
5842         * org.el (org-scan-tags): Test the value org
5843         `org-tags-match-list-sublevels'.
5844         (org-tags-match-list-sublevels): New allowed value: indented.
5846         * org-latex.el (org-export-latex-make-header): Apply macros
5847         in header.
5849         * org-exp.el (org-export-apply-macros-in-string): New function.
5851         * org-latex.el (org-export-latex-list-parameters): Fix bug
5852         with the definition of a checked box.
5854         * org-clock.el (org-clock-find-position): Fix drawer indentations.
5856         * org-latex.el (org-export-latex-low-levels): More options
5857         for how to process lower levels in LaTeX.
5858         (org-export-latex-subcontent): Better treatment for lists as a
5859         means of publishing lower levels.
5861 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5863         * org.el (org-set-font-lock-defaults): Use new checkbox face.
5865         * org-faces.el (org-checkbox): New face.
5867         * org-exp.el (org-export-html-preprocess): Only create LaTeX
5868         fragement images if there is an export file.
5870 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5872         * org-agenda.el (org-stuck-projects): Document that the subtree of
5873         projects that are not stuck will now be searched for stuck
5874         sub-projects.
5875         (org-agenda-skip-entry-when-regexp-matches)
5876         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
5877         (org-agenda-list-stuck-projects): Use
5878         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
5880         * org-latex.el (org-export-latex-preprocess): Improve
5881         export of verses.
5883         * org-exp.el (org-export-as-html): Implement centering as a div
5884         rather than a paragraph.  Do a better job with line-end in verse
5885         environments.
5887 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5889         * org.el (org-open-at-point): Fix tags searches by mouse click.
5891 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5893         * org-latex.el (org-export-latex-preprocess): Implement the
5894         centering markup.
5896         * org-exp.el (org-export-mark-blockquote-verse-center): Rename
5897         from `org-export-mark-blockquote-and-verse'.
5898         (org-export-as-html): Implement the centering markup.
5900         * org-latex.el (org-export-latex-tables): Fix vertical
5901         lines in tables.
5903 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5905         * org.el (org-read-date-history): New variable.
5906         (org-read-date): Use new history variable.
5907         (org-toggle-heading): Fix bug when used before first headline.
5908         (org-store-log-note): Remove drawer if empty while note is
5909         aborted.
5910         (org-remove-empty-drawer-at): New function.
5911         (org-check-after-date): New command.
5912         (org-sparse-tree): New sparse tree command "a".
5914         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
5916 2009-08-06  Bastien Guerry  <bzg@altern.org>
5918         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
5919         column and a space, not only a column.
5921 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5923         * org-latex.el (org-export-latex-emphasis-alist): Better
5924         defaults for verbose emphasis.
5925         (org-export-latex-emph-format): New function.
5926         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
5928         * org-agenda.el (org-agenda-menu): Add new commands to menu.
5929         (org-agenda-do-date-later, org-agenda-do-date-earlier)
5930         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
5931         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
5932         commands.
5934         * org.el (org-timestamp-change): Move end-time along with start
5935         time.
5937 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5939         * org-exp.el (org-export-target-internal-links)
5940         (org-export-as-html): Protect links specified as #name.
5942 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5944         * org.el (org-clone-subtree-with-time-shift): New command.
5946         * org-latex.el (org-export-latex-special-chars)
5947         (org-export-latex-treat-sub-super-char): Fix subscript export.
5949         * org-exp.el (org-create-multibrace-regexp): Do not add
5950         backslashes to the class.
5952 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5954         * org-colview.el (org-columns-map): Better functions for moving up
5955         and down a row, even if `truncate-line' is nil.
5957         * org.el (org-insert-todo-heading): Make sure the keyword is
5958         inserted at the correct position.
5960         * org-publish.el (org-publish-project-alist)
5961         (org-publish-projects, org-publish-org-index): Change default anme
5962         for the index of file names to "sitemap.org".
5964         * org-latex.el (org-export-latex-tables): Use
5965         `org-split-string', for Emacs 21 compatibility.
5967 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5969         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
5971 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5973         * org-exp.el (org-export-page-description)
5974         (org-export-page-keywords): New variables.
5975         (org-export-plist-vars): Add entries for :keywords and
5976         :description.
5977         (org-infile-export-plist): Parse for new keywords.
5978         (org-get-current-options): Add new keywords.
5979         (org-export-as-html): Publish description and keywords.
5981         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
5982         option.
5983         (org-agenda-add-entry-text): Honor
5984         `org-agenda-add-entry-text-descriptive-links'.
5986         * org-latex.el (org-export-latex-preprocess): Make all
5987         external preprocess functions use a PARAMETER arg.
5989         * org-exp.el (org-export-preprocess-string)
5990         (org-export-select-backend-specific-text)
5991         (org-export-format-source-code-or-example)
5992         (org-format-org-table-html): Support docbook export.
5993         (org-export-preprocess-string): Make all external preprocess
5994         functions use a PARAMETER arg.
5996 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
5998         * org-exp.el (org-export-html-style-include-scripts): New option.
5999         (org-export-plist-vars): Add new option
6000         `org-export-html-style-include-scripts'.
6001         (org-export-as-html): Honor new option
6002         `org-export-html-style-include-scripts'.
6003         (org-export-html-scripts, org-export-html-style-default): Fix
6004         xml issues with the Safari browser.
6006 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
6008         * org-publish.el (org-publish-attachment): Only copy file when the
6009         directories differ.
6011 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
6013         * org-clock.el (org-clocktable-steps): Use inactive time stamps
6014         for clocktable steps.
6016         * org.el (org-additional-option-like-keywords): Add two more
6017         keywords.
6019 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
6021         * org-exp.el (org-export-format-source-code-or-example): Mark
6022         temporary buffer unmodified, so that it will be killed even if
6023         mode like message mode has decided to assign a file name.
6025         * org.el (org-scan-tags): Improve tag inheritance.
6026         (org-scan-tags, org-make-tags-matcher): Make tag comparison
6027         case-sensitive.
6028         (org-scan-tags): Use the internal tags list instead of creating it
6029         from scratch.
6030         (org-trust-scanner-tags, org-scanner-tags): New variables.
6031         (org-scan-tags): Set `org-scanner-tags'.
6032         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
6033         (org-map-entries): Document the possible speedup using scanner
6034         tags.
6036 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
6038         * org.el (org-add-planning-info): Fix bug with looking for keyword
6039         only at column 0.
6041         * org-agenda.el (org-agenda-custom-commands-local-options): Add
6042         option for tags filter preset.
6043         (org-prepare-agenda): Store filter preset as a property on the
6044         filter variable.
6045         (org-finalize-agenda): Call the filter, if there is a preset.
6046         (org-agenda-filter-by-tag): Filter again after clearing the
6047         filter, when there still is a preset.
6048         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
6049         Include the preset filter.
6050         (org-agenda-redo): Apply the filter again, also the preset filter.
6052         * org-exp.el (org-export-as-html): Use IDs in the correct way.
6054         * org.el (org-uuidgen-p): New funtion.
6056         * org-agenda.el (org-agenda-fontify-priorities): New default value
6057         `cookies'.
6058         (org-agenda-fontify-priorities): Rename from
6059         org-fontify-priorities.
6061         * org.el (org-set-font-lock-defaults): Call
6062         `org-font-lock-add-priority-faces'.
6063         (org-font-lock-add-priority-faces): New function.
6065         * org-faces.el (org-set-tag-faces): New option.
6066         (org-priority-faces): New variable.
6068         * org-exp.el (org-export-as-html): Add a "content" div around the
6069         entire content of the body tag.
6070         (org-export-html-get-bibliography): New function.
6071         (org-export-html-validation-link): New variable.
6072         (org-export-as-html): Add validation link to exported page.
6074         * org.el (org-match-sparse-tree): Rename from
6075         `org-tags-sparse-tree'.
6076         (org-tags-sparse-tree): New alias.
6078 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
6080         * org.el (org-get-valid-level): Catch the case where the level
6081         change is nil.
6083         * org-clock.el (org-clock-find-position): Better indentation of
6084         new clock drawers.
6086 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
6088         * org-agenda.el (org-agenda-quit): Delete window only when the
6089         frame-setup was not `current-window'.
6091         * org.el (org-tag-persistent-alist): New option.
6092         (org-startup-options): Add keyword `noptag'.
6093         (org-fast-todo-selection): Handle :newline correctly.
6094         (org-set-tags): Handle :newline correctly.
6095         (org-fast-tag-selection): Handle :newline correctly.
6097 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
6099         * org-exp.el (org-export-as-ascii): Reverse link buffer before
6100         outputting it.
6101         (org-export-ascii-push-links): Fix bug with pussing links into the
6102         export buffer.
6104 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
6106         * org-archive.el (org-archive-subtree): Do not add 1 to level if
6107         pasting at top level.
6109         * org-bbdb.el: Improve documentation.
6111 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
6113         * org-list.el (org-insert-item): Only consider insert empty lines
6114         is `org-empty-line-terminates-plain-lists' is not nil.
6116         * org.el (org-blank-before-new-entry): Mention the dependence on
6117         `org-empty-line-terminates-plain-lists' in the docstring.
6119         * org-publish.el (org-publish-get-project-from-filename): New
6120         optional argument UP.  Only find the top project if UP is set.
6121         (org-publish-current-project): Find the top encloding project.
6123         * org-agenda.el (org-agenda-before-write-hook)
6124         (org-agenda-add-entry-text-maxlines): New options.
6125         (org-write-agenda): Run the new hook in the temporary buffer.
6126         (org-agenda-add-entry-text): New function.
6127         (org-write-agenda): Implement PDF export, using ps2pdf.
6129         * org.el (org-global-properties-fixed, org-global-properties):
6130         Improve documentation string.
6132         * org-exp.el (org-export-ascii-links-to-notes): New option.
6133         (org-export-as-ascii): Handle links better.
6134         (org-export-ascii-wrap, org-export-ascii-push-links): New
6135         functions.
6137 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
6139         * org-agenda.el (org-agenda): Make prefix arg optional.
6140         (org-agenda-search-headline-for-time): New option.
6141         (org-format-agenda-item): Honor
6142         `org-agenda-search-headline-for-time'.
6144         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
6145         characters.
6147         * org.el (org-self-insert-cluster-for-undo): New option.
6148         (org-self-insert-command): Cluster undo for 20 characters.
6149         (org-self-insert-command-undo-counter): New variable.
6151 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
6153         * org-exp.el (org-export-as-html): Fix problem with closing colone
6154         example.
6156 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
6158         * org-latex.el (org-export-as-latex)
6159         (org-export-latex-first-lines): Avoid modification flag when
6160         adding or removing text properties.
6161         (org-export-latex-fontify): Catch error when org-emph-alist has
6162         entries that are not defined for LaTeX export.
6164         * org-export-latex.el: Rename to org-latex.el.
6166         * org-latex.el: Rename from org-export-latex.el.
6168         * org.el (orgstruct++-mode): New function.
6169         (turn-on-orgstruct++): Call `orgstruct++-mode'.
6170         (org-context-p): Allow detecting item context after the first line
6171         of an item.
6172         (orgstruct-make-binding): Detect if item-body context should be
6173         seen.
6174         (orgstruct-is-++): New variable.
6175         (org-add-planning-info): Catch the case when there is no planning
6176         info yet and the call does not want to add anything, only maybe
6177         tries to remove something.
6178         (org-special-ctrl-a/e): All value to be a cons cell with separate
6179         settings for `C-a' and `C-e'.
6180         (org-beginning-of-line, org-end-of-line): Honor separate values
6181         for `C-a' and `C-e'.
6183 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
6185         * org.el (org-reload): New command.
6187 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
6189         * org-gnus.el (org-gnus-store-link): Fix bug where
6190         org-gnus-store-link used wrong subject when called in an article
6191         buffer.  Patch provided by fengli AT gmail DOT com.
6193 2009-03-13  D. Goel  <deego3@gmail.com>
6195         * org-bbdb.el: When calling (multiple-value-bind/setq .. ls)
6196         replace ls by (values-list ls).
6198 2009-02-20  Carsten Dominik  <dominik@science.uva.nl>
6200         * org-remember.el (org-remember-apply-template): Turn off ido for
6201         this completion.
6203         * org.el (org-priority): Also find invisible headings, for remote
6204         editing.
6205         (org-completing-read-no-ido): New function.
6206         (org-make-tags-matcher, org-set-property): Turn off ido for this completion.
6208         * org-colview.el (org-columns-edit-value): No special treatment of
6209         prefix arg.
6211 2009-02-19  Carsten Dominik  <dominik@science.uva.nl>
6213         * org.el (org-block-todo-from-children-or-siblings): Use
6214         `org-up-heading-all' so that this will work correctly with hidden
6215         property drawers and entries.
6216         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
6217         falling back to normal, default command.
6218         (org-get-location): Temporarily turn off special behavior.
6220 2009-02-13  Glenn Morris  <rgm@gnu.org>
6222         * org-rmail.el (rmail-show-message): Restore argument list to the
6223         declaration now that this functions behaves in Emacs 23 as in 22.
6225 2009-02-12  Glenn Morris  <rgm@gnu.org>
6227         * org-footnote.el (org-footnote-at-definition-p): Fix doc typo.
6229 2009-02-12  Joachim Reiter  <Reiter.Joachim@web.de>  (tiny change)
6231         * org-footnote.el (org-footnote-action): Fix doc typo.
6233 2009-02-06  Carsten Dominik  <dominik@science.uva.nl>
6235         * org-exp.el (org-export-preprocess-string): Fix bug with skipping
6236         text before first headline.
6237         (org-export-remove-or-extract-drawers): Fix regular expression for
6238         extracting drawers.
6240         * org.el (org-format-latex): Stop LaTeX fragment processing in
6241         protected examples.
6243 2009-02-05  Glenn Morris  <rgm@gnu.org>
6245         * org-rmail.el (rmail-show-message): Update declaration.
6246         (rmail-buffer, rmail-view-buffer): Declare.
6247         (org-rmail-store-link, org-rmail-follow-link): Handle mbox Rmail.
6249 2009-02-04  Carsten Dominik  <dominik@science.uva.nl>
6251         * org.el (org-return-follows-link): Revert setting
6252         `org-return-follows-link' to t by default.
6254 2009-02-02  Carsten Dominik  <dominik@science.uva.nl>
6256         * org.el (org-cycle-global-at-bob): Fix typo.
6258         * org-jsinfo.el (org-infojs-handle-options): Fix typo in comment.
6260 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
6262         * org.el (org-mode): Make dependence stuff work more reliably.
6263         (org-update-parent-todo-statistics): Fix bug with updating
6264         statistics cookie.
6265         (org-yank-adjusted-subtrees, org-return-follows-link)
6266         (org-use-fast-todo-selection, org-tags-column): New default
6267         setting for variables.
6269         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
6270         ~ as verbatim delimiters, to avoid table bug.
6271         (org-export-latex-classes): Remove the a4paper option from the
6272         default styles.
6274         * org-exp.el (org-export-html-format-image): New argument
6275         PAR-OPEN, to fix XHTM validation bug.
6276         (org-export-as-html): Pass par-open to
6277         `org-export-html-format-image'.
6278         (org-export-html-footnotes-section): Use a more consistent id for
6279         footnotes.
6281         * org-agenda.el (org-agenda-sorting-strategy)
6282         (org-agenda-tags-column): New default setting for variables, based
6283         on a poll what typical uses use.
6284         (org-agenda-dim-blocked-tasks): Keep dimming blocked entries from
6285         setting the blocked tag.
6287 2009-01-31  Carsten Dominik  <dominik@science.uva.nl>
6289         * org-agenda.el (org-agenda-dim-blocked-tasks): No tagging when
6290         only checking for blocks.
6292         * org-exp.el (org-export-html-footnotes-section): Make the div id
6293         consistent.
6295         * org-export-latex.el (org-export-latex-classes): Remove
6296         paper size option from LaTeX classes.
6298 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
6300         * org.el (org-enforce-todo-checkbox-dependencies): New option.
6301         (org-block-todo-from-checkboxes): New function.
6302         (org-todo): Make tripple prefix arg circumvent blocking.
6304 2009-01-30  Glenn Morris  <rgm@gnu.org>
6306         * org-list.el (org-empty-line-terminates-plain-lists)
6307         (org-toggle-checkbox): Doc fixes.
6309         * org-table.el (org-table-clean-before-export): Fix declaration.
6311 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
6313         * org-timer.el (org-timer): Provide the timer feature.
6315         * org.el (org-require-autoloaded-modules): Add a few more files to
6316         the list of autoloaded modules.
6318         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
6320         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
6321         drawers that are unprotected.
6322         (org-export-html-format-image): Make sure inlined LaTeX fragment
6323         images remain inlined.
6325         * org.el (org-toggle-ordered-property): New function.
6326         (org-mode-map): Add a key for `org-toggle-ordered-property'.
6327         (org-org-menu): Add menu entries for TODO dependencies.
6329         * org.el (org-default-properties): Add ORDERED to the default
6330         properties, to get completion support for it.
6332         * org-list.el (org-update-checkbox-count): Update more than one cookie.
6334         * org.el (org-update-parent-todo-statistics): Update more than one
6335         cookie.
6337 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
6339         * org-agenda.el (org-agenda-get-todos): Start search from correct
6340         position.
6342         * org.el (org-fast-todo-selection): Make sure TODO selection does
6343         not change buffer position.
6345         * org-list.el (org-toggle-checkbox): Implement adding or removing
6346         checkboxes from line or region when called with a prefix
6347         argument.
6349         * org-rmail.el (org-rmail-store-link): Protect the call to
6350         `rmail-narrow-to-non-pruned-header'.
6352         * org-clock.el (org-clock-special-range): Fix week display in
6353         clock tables.
6355         * org-exp.el (org-get-current-options): Fix bug when in indirect
6356         buffer.
6358         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
6359         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
6360         (org-agenda-dim-blocked-tasks): New function.
6362         * org.el (org-enforce-todo-dependencies): New option.
6363         (org-block-todo-from-children-or-siblings): New function.
6365         * org-faces.el (org-agenda-dimmed-todo-face): New face.
6367 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
6369         * org.el (org-todo): Return correct state type even if the blocker
6370         throws an error.
6371         (org-modifier-cursor-error): Rename from
6372         `org-shiftcursor-error'.
6373         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
6374         (org-shiftmetadown): Call `org-modifier-cursor-error'.
6376         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
6377         to get real errors from the blocker hook.
6379         * org.el (org-shiftselect-error, org-call-for-shift-select): New
6380         functions.
6381         (org-set-visibility-according-to-property): Turn off the setting
6382         of `org-show-entry-below', to avoid overruling a FOLDED visibility
6383         property.
6385         * org.el (org-support-shift-select): New option.
6386         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
6387         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
6388         selection outside contexts.
6390         * org-list.el (org-at-item-bullet-p): New function.
6392         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
6393         variables.
6395         * org-footnote.el (org-footnote-normalize): Remove unnecessary
6396         variable.
6397         (org-insert-footnote-reference-near-definition): Remove
6398         unnecessary let form.
6400 2009-01-26  Carsten Dominik  <dominik@science.uva.nl>
6402         * org-export-latex.el (org-export-as-latex): Call
6403         `org-export-latex-first-lines' with OPT-PLIST as a parameter.
6404         (org-export-latex-first-lines): New parameter OPT-PLIST.
6406         * org.el (org-yank): Tell `delete-selection-mode' about
6407         `org-yank'.
6409         * org-faces.el (org-clock-overlay): Fix face definition.
6411         * org-export-latex.el (org-export-latex-first-lines): Pass
6412         timestamp and footnote parameters to the preprocessor.
6414         * org-exp.el (org-export-remove-timestamps): Do not remove time
6415         stamps inside tables.
6417 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
6419         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
6421         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
6422         variable.
6424         * org-table.el (org-table-insert-hline): Fix typo in fuction call
6425         to `backward-char'.
6427         * org-exp.el (org-export-as-html): Remove the initial space from
6428         colon examples.
6430         * org.el (org-scan-tags): Call
6431         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
6433         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
6434         customization groups.
6435         (org-agenda-tags-todo-honor-ignore-options): New option.
6436         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
6437         New function.
6438         (org-agenda-get-todos): Use
6439         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
6441 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
6443         * org-exp.el (org-export-format-source-code-or-example): Escape
6444         HTML characters also in examples that anre not treated with
6445         htmlize.  Also, just switch to EXAMPLE processing if we do not
6446         have a good version of htmlize.
6448         * org-rmail.el: Fix copyright notice.
6450         * org.el (org-activate-footnote-links): Improve footnote link
6451         highlighting.
6453         * org-footnote.el (org-footnote-normalize): Fix finding the end of
6454         a footnote definition at the end of the file.
6456         * org-table.el (org-table-get-specials): Add an imagined hline at
6457         the end of the table.  This can be useful for references that want
6458         to go to the end of the table.  Also fix bug when computing last
6459         row constants, in tables that do not start right at the right
6460         margin.
6461         (org-table-eval-formula): Match and replace remove references.
6462         (org-table-formula-substitute-names): Make sure that names inside
6463         a "remote" call are left alone, the will be replaced later when
6464         the remote call is handled.
6465         (org-table-convert-refs-to-rc): Do not convert things that might
6466         look like a reference, but are really part of an ID or namei n a
6467         remote reference.
6468         (org-table-get-remote-range): New function.
6470 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
6472         * org-faces.el (org-clock-overlay): Fix bug in face definition.
6474         * org-clock.el (org-clock-put-overlay): Use new face instead of
6475         `secondary-selection'.
6477         * org-faces.el (org-clock-overlay): New face.
6479 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
6481         * org-exp.el (org-get-current-options): Include the option for
6482         publishing time stamps.
6484         * org.el (org-toggle-heading): Rename from
6485         `org-toggel-region-headings'.
6486         No longer needs a region defined, but will use it if there is one.
6487         (org-ctrl-c-star): Simplify, relying more on the internal
6488         workings of `org-toggle-heading'.
6489         (org-toggle-item): Rename from `org-toggle-region-items'.
6490         No longer needs a region defined, but will use it if there is one.
6491         (org-ctrl-c-minus): Simplify, relying more on the inernal
6492         workings of `org-toggle-item'.
6494         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
6495         environment detection.  Also, do real changes only in unprotected
6496         places.
6498 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
6500         * org-export-latex.el (org-export-latex-quotation-marks): Use
6501         `org-if-unprotected-1'.
6502         (org-export-latex-set-initial-vars): Check for class definition in
6503         property.
6505         * org-macs.el (org-if-unprotected-1): New macro.
6507 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
6509         * org-compat.el (org-count-lines): New function.
6511         * org-exp.el (org-export-format-source-code-or-example): Handle
6512         switches related to text areas.
6514         * org.el (org-activate-footnote-links): Don't allow match inside a
6515         link.
6517         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
6519         * org-export-latex.el (org-export-latex-links): Keep a relative
6520         path relative also after export.
6522         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
6524         * org.el (org-make-tags-matcher): Never use IDO for completing the
6525         tags matcher match string.
6526         (org-completing-read): Also remove the special biding for "?".
6528         * org-attach.el (org-attach-allow-inheritance): New option.
6529         (org-attach-inherited): New variable.
6530         (org-attach-dir): Handle properties related to the attachment
6531         directory.
6532         (org-attach-check-absolute-path): New function.
6533         (org-attach-set-directory, org-attach-set-inherit): New commands.
6534         (org-attach): Accommodate the new commands in the dispatcher.
6536 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
6538         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
6539         `window-full-width-p'.
6541         * org-exp.el (org-export-as-html): Only check for images files
6542         that really can be inlined.
6544         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
6545         list of extensions to be a parameter.
6547         * org-exp.el (org-export-html-inline-image-extensions): New
6548         variable.
6550         * org-agenda.el (org-prepare-agenda): Use
6551         `org-agenda-block-separator'.
6552         (org-agenda-block-separator): New option.
6554 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
6556         * org-export-latex.el (org-export-latex-tables): Call
6557         `org-table-clean-before-export' with the new optional argument.
6559         * org-exp.el (org-table-clean-before-export): New optional
6560         parameter MAYBE-QUOTED, allows for quoted characters like \# in
6561         first column.
6563 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
6565         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
6566         histograms.
6568         * org-colview.el (org-colview-construct-allowed-dates): Better
6569         error catching when a date/time property does not have allowed
6570         values defined.
6572         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
6573         Better error catching when a date/time property does not have
6574         allowed values defined.
6576 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
6578         * org.el (org-map-entries): Restore point and restriction after
6579         `org-map-entries'.
6581 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
6583         * org.el (org-time=, org-time<, org-time<=, org-time>)
6584         (org-time>=, org-time<>): Make sure both values are dates.
6586 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
6588         * org-archive.el (org-extract-archive-heading): Allow %s for file
6589         name also in achive location heading.
6591 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
6593         * org-archive.el (org-add-archive-files): Uniquify the list before
6594         returning it.
6596 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
6598         * org-compat.el (org-fit-window-to-buffer): Use
6599         `window-full-width-p'.
6601         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
6602         space after the colon in short examples.
6604         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
6605         enforce a space after the colon.  However, we also allow lines
6606         that are *only* a colon.
6607         (org-export-as-html): Enforce the space after the colon in short
6608         examples.
6609         (org-export-preprocess-string): Do the colon example protection
6610         earlier.
6611         (org-export-remove-timestamps): Do not check for protection at the
6612         end of the line.
6614 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
6616         * org.el (org-format-latex-options): Add new matcher for single
6617         letters between dollars.
6618         (org-get-header): Function removed.
6619         (org-heading-components): New function.
6621         * org-exp.el (org-export-define-heading-targets): Record ID's also
6622         as alternative targets.
6623         (org-export-as-html): Interpret "id:" links to other files by
6624         preserving the relative path.
6626         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
6627         is nil.
6629         * org-exp.el (org-export-normalize-links): Protect the main link,
6630         to avoid special character processing.
6632         * org-export-latex.el (org-export-latex-special-keyword-regexp):
6633         New variable.
6634         (org-export-latex-special-string-regexps): Variable removed.
6635         (org-export-latex-keywords): Use the new regexp.
6637         * org-exp.el (org-export-handle-include-files): Fetch switches and
6638         put them into the BEGIN statement.
6640         * org-timer.el (org-timer-mode-line-string): New variable.
6642         * org-clock.el (org-clock-mode-line-map): Rename from
6643         `org-clock-mode-map'.
6644         (org-clock-mode-line-timer): Rename from `org-mode-line-timer'.
6645         (org-clock-update-mode-line): Rename from `org-update-mode-line'.
6646         (org-clock-put-overlay): Rename from `org-put-clock-overlay'.
6647         (org-clock-remove-overlays): Rename from
6648         `org-remove-clock-overlays'.
6650         * org-timer.el (org-timer-pause-or-continue): Implement stopping
6651         and mode line display.
6652         (org-timer-stop): New command.
6653         (org-timer-seconds): Return correct time when timer is paused.
6654         (org-timer-mode-line-timer): New variable.
6655         (org-timer-set-mode-line, org-timer-update-mode-line): New
6656         functions.
6658         * org.el (org-insert-heading): Handle new value `auto' for
6659         `org-blank-before-new-entry'.
6660         (org-org-menu): Add new items for timer functions.
6662         * org-list.el (org-insert-item): Handle new value `auto' for
6663         `org-blank-before-new-entry'.
6665         * org.el (org-blank-before-new-entry): New value `auto', made
6666         default.
6668 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
6670         * org-exp.el (org-export-normalize-links): If the link is also
6671         used as the description, protect the description.
6673 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
6675         * org.el (org-closest-date): Fix bug with yearly repeats, in
6676         combination with preference of the past as it is used for deadline
6677         and scheduling search.
6679         * org-exp.el (org-html-handle-time-stamps): No longer check for
6680         the `org-export-with-timestamps' option, because the preprocesser
6681         has taken care of this already.
6683         * org.el (org-entry-properties): Catch the case when this is
6684         called in a non-org-mode file.
6686         * org-export-latex.el (org-export-latex-remove-from-headlines):
6687         Variable made obsolete, also LaTeX export now uses the standard
6688         variables.
6689         (org-export-as-latex): Add the timestamps parameter to the
6690         preprocessor parameter list.
6691         (org-export-latex-content): Export the remaining keywords without
6692         considering to remove them.
6693         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
6694         Use bold font instead of tt font for the keywords.
6695         (org-export-latex-fontify-headline): Format headlines, assuming
6696         that all keywords still present should be published.
6697         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
6698         publish what ever remains of the time stamps.
6699         (org-export-latex-list-parameters): New option.
6700         (org-export-latex-lists): Pass additional parameters to the list
6701         converter.
6703         * org-exp.el (org-export-preprocess-string): Remove clock lines
6704         and timestamps already in the preprocesor.
6705         (org-export-remove-timestamps, org-export-remove-clock-lines): New
6706         functions.
6707         (org-export-as-ascii, org-export-as-html): Add the timestamps
6708         parameter to the preprocessor parameter list.
6710         * org-list.el (org-list-parse-list): Parse for checkboxes.
6711         (org-list-to-generic): Introduce and handle new parameters :cbon
6712         and :cboff.
6713         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
6714         optional parameter PARAMS.
6716         * org-export-latex.el (org-export-latex-special-chars): Fix
6717         problems with interpreting dollar signs.
6718         (org-inside-latex-math-p): New function.
6719         (org-export-latex-preprocess): Protect all the math fragments.
6721         * org.el (org-latex-regexps): Allow a dash after a dollar.
6723         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
6724         mark after copying.
6726         * org-agenda.el (org-run-agenda-series): Have series options set
6727         when finalizing the agenda.
6729         * org-exp.el (org-export-format-source-code-or-example): Protect
6730         the converted examples.
6732         * org.el (org-set-regexps-and-options): Fix the regexp
6733         `org-complex-heading-regexp'.
6735 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
6737         * org.el (org-edit-src-get-label-format): New function.
6738         (org-coderef-label-format): New option.
6739         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
6740         a label format specification and make sure it is used in the edit
6741         buffer.
6742         (org-edit-src-get-label-format): New function.
6743         (org-store-link): Handle new coderef formats.
6744         (org-link-search): Handle new coderef formats.
6746         * org-footnote.el (org-footnote-create-definition)
6747         (org-footnote-goto-local-insertion-point): Make footnote insertion
6748         work correctly when the "Footnotes" headline is the last line in
6749         the buffer.
6751         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
6752         the location.
6754 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
6756         * org-w3m.el (org-w3m): New customization group.
6757         (org-w3m-deactivate-mark): New option.
6758         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
6759         option say not to.
6761 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
6763         * org.el (org-set-font-lock-defaults): Trigger footnote
6764         fontification.
6765         (org-activate-footnote-links): New function.
6766         (org-activate-links): New entry `footnote'.
6768         * org-faces.el (org-footnote): New face.
6770 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
6772         * org-macs.el (org-re): Handle the [:word:] class.
6774         * org-exp.el (org-export-preprocess-string): Call
6775         `org-export-protect-colon-examples'.
6776         (org-export-protect-colon-examples): Rename from
6777         `org-export-protect-examples', and scope limited to lines starting
6778         with a colon.
6780 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
6782         * org-exp.el (org-export-preprocess-string): Move the preprocess
6783         hook to after turning on Org-mode.
6784         (org-export-preprocess-after-include-files-hook)
6785         (org-export-preprocess-after-tree-selection-hook)
6786         (org-export-preprocess-before-backend-specifics-hook)
6787         (org-export-preprocess-final-hook): New hooks.
6788         (org-export-preprocess-string): Run the new hooks.
6790         * org.el (org-ctrl-c-minus): Fix indentation for new items.
6792         * org-footnote.el: New file.
6794         * org.el (org-footnote): Require footnote code.
6795         (org-startup-options): Add new footnote options.
6796         (org-mode-map): New keybindig for footnotes.
6797         (org-ctrl-c-ctrl-c): Add function at footnotes.
6798         (org-org-menu): New menu entries for footnotes.
6800         * org-export-latex.el (org-export-as-latex): Pass footnote
6801         variable to preprocessor.
6802         (org-export-latex-preprocess): Treat multiple references to a
6803         footnote.
6805         * org-exp.el (org-export-preprocess-string): Call
6806         `org-footnote-normalize'.
6807         (org-export-as-ascii, org-export-as-html): Pass footnote variable
6808         to preprocessor.
6809         (org-export-as-html): Treat multiple references to a footnote.
6811 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
6813         * org-export-latex.el (org-export-latex-links): Handle coderef
6814         links.
6816         * org.el (org-bracket-link-analytic-regexp++): New variable.
6817         (org-make-link-regexps): Initialize
6818         `org-bracket-link-analytic-regexp++'.
6819         (org-store-link): Implement special case in edit-src buffer.
6820         (org-insert-link): No use of ide to insert stored links.
6821         (org-link-search): Implement special case for coderefs.
6823         * org-exp.el (org-export-html-scripts): New constant.
6824         (org-export-html-style-default): Add a new style for highlighted
6825         code.
6826         (org-export-code-refs): New variable.
6827         (org-export-preprocess-string): Initialize `org-export-code-refs'.
6828         Call `org-export-replace-src-segments-and-examples'
6829         No longer call `org-export-protect-examples'.
6830         (org-export-target-internal-links): Take care of coderef targets.
6831         (org-export-last-code-line-counter-value): New variable.
6832         (org-export-replace-src-segments-and-examples): Rename from
6833         `org-export-replace-src-segments', and modified.
6834         (org-export-format-source-code-or-example): Rename from
6835         `org-export-format-source-code'.
6836         (org-export-number-lines): New function.
6837         (org-export-as-ascii, org-export-as-html): Handle coderef links.
6839 2009-01-23  Glenn Morris  <rgm@gnu.org>
6841         * org-rmail.el (rmail-narrow-to-non-pruned-header):
6842         Remove declaration of deleted function.
6844 2009-01-16  Glenn Morris  <rgm@gnu.org>
6846         * org-mouse.el (org-mouse-show-context-menu): Use
6847         mouse-menu-major-mode-map, if defined, rather than the obsolete
6848         mouse-major-mode-menu.
6850 2008-12-23  Carsten Dominik  <dominik@science.uva.nl>
6852         * org-remember.el (org-remember-handler): Safer way to get a new
6853         buffer accessing the target file.
6855         * org.el (org-refile-get-location): Handle case of current buffer
6856         not having a file associated with it.
6858 2008-12-22  Carsten Dominik  <dominik@science.uva.nl>
6860         * org-table.el (org-table-get-formula): Only ask to overwrite
6861         field formula if there really is one.
6863 2008-12-21  Carsten Dominik  <dominik@science.uva.nl>
6865         * org-export-latex.el (org-export-latex-make-header): Double the
6866         commenting % in the time stamp format.
6867         (org-export-latex-special-chars): Handle case where there is no
6868         match group 3.
6870 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
6872         * org.el (org-get-refile-targets, org-refile-get-location): Use
6873         expanded file name to improve comparison.
6875 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
6877         * org.el (org-scan-tags): Rescan for tags, to get the correct
6878         upcase/downcase stuff.  This slows things down for now, but it
6879         works.
6880         (org-mode): Make sure the tag-faces regexp is initialized.
6882         * org-export-latex.el (org-export-latex-links): Fix bug with
6883         undefined label.
6885         * org-table.el (org-table-get-specials): Set
6886         `org-table-current-last-data-line'.
6887         (org-table-current-last-data-line): New variable.
6888         (org-table-insert-column, org-table-delete-column)
6889         (org-table-move-column, org-table-fix-formulas): Call
6890         `org-table-fix-formulas' a second time to fix the $LR references.
6891         (org-table-get-specials): Add the $LR references to the tables.
6892         (org-table-get-formula): Do not offer last-row names as LHS of
6893         formulas.
6895         * org.el (org-store-link): Capture link description from
6896         `org-id-store-link'.
6898         * org-exp.el (org-export-html-format-image): Add the / to the end
6899         of the <img> tag.
6900         (org-export-format-source-code): Surround example by empty lines,
6901         to make sure it will not be inside a paragraph.
6903         * org.el (org-ido-switchb): New function.
6905 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
6907         * org-agenda.el (org-agenda-show): New prefix argument
6908         FULL-ENTRY.
6910         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
6911         argument.
6913 2008-12-20  Glenn Morris  <rgm@gnu.org>
6915         * org.el (org-org-menu): Fix some more menu entries.
6917 2008-12-18  Carsten Dominik  <dominik@science.uva.nl>
6919         * org-table.el (org-table-get-specials): Revert introduction of @0
6920         as reference of the last table row, because of conflicts.
6922         * org-agenda.el (org-agenda-change-all-lines): Remove FORCE-TAGS
6923         argument, get the current tags directly.
6924         (org-agenda-set-tags): Leave getting current tags to
6925         `org-agenda-change-all-lines'.
6927 2008-12-17  Carsten Dominik  <dominik@science.uva.nl>
6929         * org.el (org-org-menu): Do not quote the set-tags command.
6931 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
6933         * Fix typos in comments and docstrings throughout Org-mode.
6935         * org.el (org-get-outline-path): Fix bug if level is not given.
6937         * org-agenda.el (org-finalize-agenda): Fix typo with variable name.
6939 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
6941         * org.el (org-refile): Avoid refiling to within the region to be
6942         refiled.
6944         * org-export-latex.el (org-export-latex-special-chars): Replace
6945         special characters also in tables.
6947         * org-agenda.el (org-agenda-change-all-lines): New argument
6948         FORCE-TAGS.
6949         (org-agenda-set-tags): Get the new tags and pass them to
6950         `org-format-agenda-item'.
6952 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
6954         * org-export-latex.el (org-export-latex-classes): Add longable as
6955         a default package to all classes.
6956         (org-export-latex-tables): Handle the longtable attribute and the
6957         align attribute.
6959         * org-table.el (orgtbl-to-generic): Handle tables that start with
6960         a hline.
6962         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
6963         \verb for colde-like snippets.
6964         (org-export-as-latex): Fix issues with region export.
6966         * org.el (org-up-heading-safe): Speed up function by using a
6967         direct regexp search.
6968         (org-olpa): New variable.
6969         (org-get-outline-path): Speed-up path constructions in cases where
6970         this is possible because the entire hierarchy is scanned anyway.
6971         (org-refile-get-location): Don't compare the truenames of files,
6972         this is too slow.
6973         (org-goto-max-level): New option.
6974         (org-goto): Use `org-goto-max-level'.
6976 2008-12-16  Tassilo Horn  <tassilo@member.fsf.org>
6978         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
6979         Strip angle brackets from message-ids in the former and don't do
6980         it in the latter.
6981         (org-gnus-follow-link): Open summary reliable, even if the last
6982         messages were deleted, and handle empty groups, too.
6984 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
6986         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
6987         instead of \texttt for the =...= and ~===~ emphasis environments.
6988         (org-export-as-latex): Remove any old :org-license-to-kill text
6989         properties.
6990         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
6991         (org-export-latex-make-header): Add some hard space after the
6992         table of contents.
6993         (org-export-latex-first-lines): Accept RBEG argument.  Mark
6994         exported text so that it will be excuded in further steps.
6996         * org-table.el (org-table-get-specials): Make @0 reference the
6997         last line in a table.
6998         (org-table-recalculate): Improve docstring.
7000 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
7002         * org.el (org-log-done): Fix docstring.
7004 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
7006         * org-exp.el (org-export-html-format-image): Fix bugs.
7008         * org-export-latex.el (org-export-latex-tables)
7009         (org-export-latex-links): Implement attribute, label, and caption
7010         handling.
7012         * org-exp.el (org-export-html-style-default): Add style
7013         definitions for the figure div.
7014         (org-export-preprocess-string, org-export-as-html): Implement
7015         attribute, label, and caption handling.
7016         (org-export-attach-captions-and-attributes): New function.
7017         (org-export-html-format-image): New function.
7018         (org-format-org-table-html): Implement attribute, label, and
7019         caption handling.
7021         * org.el (org-find-text-property-in-string): New function.
7022         (org-extract-attributes): Use the property org-attr instead of
7023         org-attrobutes, because this property is now set with the #+ATTR
7024         lines.
7026 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
7028         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
7029         the case that FROM is nil.
7031         * org.el (org-before-first-heading-p): New function.
7033 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
7035         * org-exp.el (org-export-as-html): Do not add a space before
7036         enforces line breaks.
7037         (org-export-as-html): Close paragraph before blockquote and verse
7038         tags.
7040 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
7042         * org-id.el (org-id-locations-file): Wrap file name with
7043         `convert-standard-filename'.
7044         (org-id-files): New variable.
7045         (org-id-use-hash): New option.
7046         (org-id-update-id-locations): Also search in all files current
7047         listed in `org-id-files'.  Convert the resulting alist to a hash
7048         if the user customation says so.
7049         (org-id-locations-save): Handle he case if `org-id-locations' is a
7050         hash.
7051         (org-id-locations-load): Convert the alist to a hash.
7052         (org-id-add-location): Handle the hast case.
7053         (kill-emacs-hook): Make sure id locations are saved when Emacs is
7054         exited.
7055         (org-id-hash-to-alist, org-id-alist-to-hash)
7056         (org-id-paste-tracker): New functions.
7058 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
7060         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
7061         bindings of calendar variables.
7063         * org-table.el (org-table-find-row-type): Rename from
7064         `org-find-row-type'.
7065         (org-table-rewrite-old-row-references): Rename from
7066         `org-rewrite-old-row-references'.
7067         (org-table-shift-refpart): Rename from `org-shift-refpart'.
7068         (org-table-cleanup-narrow-column-properties): Rename from
7069         `org-cleanup-narrow-column-properties'.
7071 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
7073         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
7074         for better error messages.
7075         (org-table-get-descriptor-line): Supply the new arguments to
7076         `org-find-row-type'.
7077         (org-table-error-on-row-ref-crossing-hline): New option.
7079         * org.el (org-target-link-regexp): Make buffer-local.
7080         (org-move-subtree-down): Fix bug with trees at beginning of
7081         buffer.
7083 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
7085         * org-faces.el (org-set-tag-faces): New function.
7086         (org-tags-special-faces-re): New variable.
7088         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
7090         * org-faces.el (org-tag-faces): New option.
7091         (org-tag): Mention `org-tag-faces' in the docstring.
7093 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
7095         * org-exp.el (org-export-html-style-default): Implement new
7096         quoting.
7098         * org-jsinfo.el (org-infojs-template): Implement new quoting.
7100         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
7101         command to the `w3m-minor-mode-map'.
7103         * org-archive.el (org-archive-to-archive-sibling): Protect
7104         `this-command' to avoid appending kills during archiving.
7106         * org-exp.el (org-export-with-priority): New variable.
7107         (org-export-add-options-to-plist): Use `org-export-plist-vars'
7108         instead of internal list of strings and properties.
7109         (org-print-icalendar-entries): Retrieve the location property with
7110         inheritance.
7112 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
7114         * org-exp.el (org-export-with-todo-keywords): New option.
7115         (org-export-plist-vars): Include also the keys for the #+OPTIONS
7116         line.
7117         (org-default-export-plist, org-export-add-options-to-plist)
7118         (org-export-as-ascii, org-export-as-html): Use the new structure
7119         of `org-export-plist-vars'.
7121         * org.el (org-map-entries): Return all values.
7123 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
7125         * org.el (org-matcher-time): Recognize more special values.
7127         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
7129 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
7131         * org.el (org-tags-exclude-from-inheritance): New option.
7132         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
7133         `org-tags-exclude-from-inheritance'.
7135         * org-agenda.el (org-agenda-show-inherited-tags): New option.
7136         (org-format-agenda-item): Add inherited tags to the agenda line
7137         string, and make sure that properties are kept when downcasing the
7138         tags list.
7139         (org-agenda-add-inherited-tags): New function.
7140         (org-downcase-keep-props): New function.
7142         * org.el (org-scan-tags): Mark inherited tags with a text
7143         property.
7144         (org-get-tags-at): Mark inherited tags with a text property.
7145         (org-add-prop-inherited): New function.
7147         * org-agenda.el (org-agenda-add-inherited-tags): New function.
7148         (org-agenda-show-inherited-tags): New option.
7150 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
7152         * org.el (org-modules): Add org-w3m to the default modules.
7154         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
7155         orgtbl-mode.
7156         (orgtabl-create-or-convert-from-region): New command.
7158         * org-exp.el (org-export-as-ascii): Remove the handling of
7159         targets.
7160         (org-export-ascii-preprocess): Handle targets already in this
7161         function.
7163 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
7165         * org-timer.el (org-timer-start-time): Define this variable.
7166         (org-timer-item): Make argument optional.
7168         * org-list.el (org-insert-item): Automatically insert a timer item
7169         if the current list is a timer list.
7171         * org-timer.el: New file.
7173         * org-publish.el (org-publish-org-index): Only exclude the index
7174         file in the main directory from being added to the site-map.
7175         (org-publish-get-project-from-filename): If the current project is
7176         a component, start publishing from the parent project.
7178 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
7180         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
7182         * org-publish.el (org-publish-org-index): Improve removal of
7183         temporary buffers.
7185 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
7187         * org-agenda.el (org-get-closed): Re-apply changes
7188         accidentially overwritten by last commit to Emacs.
7190         * org.el (org-outline-path-complete-in-steps): New option.
7191         (org-refile-get-location): Honor
7192         `org-outline-path-complete-in-steps'.
7193         (org-agenda-change-all-lines, org-tags-sparse-tree)
7194         (org-time-string-to-absolute, org-small-year-to-year)
7195         (org-link-escape): Re-apply changes accidentially overwritten
7196         by last commit to Emacs.
7198 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
7200         * org-clock.el (org-dblock-write:clocktable): Make sure the
7201         clocktable sees the first line.
7202         (org-clock-in): Warn if the clock cannot be resumed.
7204 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
7206         * org.el (org-open-at-point): Fix mixup about interactive and
7207         non-interactive elisp links.
7209 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
7211         * org-exp.el (org-export-preprocess-string): Allow one comment
7212         line before the first headline to always be included.  This is
7213         to not miss a commented target.
7215         * org-mouse.el (org-mouse-insert-item): Call
7216         `org-indent-to-column' instead of `indent-to', for XEmacs
7217         compatibility.
7219         * org.el (org-refile-targets): Fix customize definition so
7220         that it works also in XEmacs.
7221         (org-fixup-indentation): Call `org-indent-to-column' instead
7222         of `indent-to', for XEmacs compatibility.
7224 2008-11-23  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
7226         * org-mew.el (org-mew-store-link): Get the correct case folder
7227         for refiled messages.
7229 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
7231         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
7232         line break indicators.
7234         * org.el (org-ido-completing-read): Remove the "i:" prefix for
7235         ido-completion propts.
7237 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
7239         * org-remember.el (org-remember-apply-template): Use
7240         `org-substring-no-properties'.
7242         * org-compat.el (org-substring-no-properties): New function.
7244         * org-remember.el (org-remember-apply-template): Use
7245         `org-substring-no-properties' for compatibility.
7247         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
7248         option.
7249         (org-fix-bullet-type): Respect
7250         `org-list-two-spaces-after-bullet-regexp'.
7252         * org-clock.el (org-clock-load): Clean up the code.
7254         * org.el (org-adaptive-fill-function): Allow two spaces after
7255         "1." as a list bullet.
7257 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
7259         * org-clock.el (org-clock-save, org-clock-load): Check for
7260         live buffers, existing files, and buffer file names to ensure
7261         consistent information.
7262         (org-clock-persist): Make `clock' a special value of this
7263         variable, and improve docstring.
7265         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
7266         (org-get-string-indentation): Adapt indentation when the bullet
7267         width changes.
7269 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
7271         * org-remember.el (org-remember-finalize): Make interactive.
7272         (org-remember-kill): New command.
7273         (org-remember-finish-immediately): Call `org-remember-finalize'
7274         directly.
7275         (org-remember-finalize): Make `org-remember-finalize' an interactive
7276         function.
7278 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
7280         * org-remember.el (org-remember-apply-template): No ido completion
7281         for free prompts in remember templates.
7282         (org-remember-before-finalize-hook): New hook.
7283         (org-remember-mode): New minor mode.
7284         (org-remember-apply-template): Turn on `org-remember-mode'.
7286         * org-remember.el (org-remember-apply-template): Fix the way how
7287         the list of allowed properties is retrieved from the target file.
7289         * org.el (org-insert-link): Improve file link matching.
7291 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
7293         * org-colview.el (org-columns-display-here): New argument
7294         DATELINE, to trigger using the new face.
7295         (org-agenda-colview-summarize): Call `org-columns-display-here'
7296         with the new argument.
7298         * org-faces.el (org-agenda-column-dateline): New face.
7300         * org-publish.el (org-publish-org-index): Use index-title at page
7301         title, not as section.
7303         * org-exp.el (org-export-html-format-desc): Respect the
7304         org-protect property.
7305         (org-export-as-html): Protect image specifiers that are in the
7306         description part of a link.
7308         * org.el (org-sort-entries-or-items, org-completing-read)
7309         (org-refile-get-location, org-olpath-completing-read, org-todo)
7310         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
7311         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
7312         (org-set-property, org-delete-property)
7313         (org-delete-property-globally): Use `org-ido-completing-read'.
7315         * org-remember.el (org-remember-apply-template): Use
7316         `org-ido-completing-read'.
7318         * org-publish.el (org-publish): Use `org-ido-completing-read'.
7320         * org-colview.el (org-columns-edit-value, org-columns-new)
7321         (org-insert-columns-dblock): Use `org-ido-completing-read'.
7323         * org-colview-xemacs.el (org-columns-edit-value)
7324         (org-columns-new, org-insert-columns-dblock): Use
7325         `org-ido-completing-read'.
7327         * org-attach.el (org-attach-delete-one, org-attach-open): Use
7328         `org-ido-completing-read'.
7330         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
7331         `org-ido-completing-read'.
7333         * org.el (org-time-today): New function.
7334         (org-matcher-time): Use `org-time-today'.  Add special treatment
7335         for "<tomorrow>" and "<yesterday>".
7336         (org-ido-completing-read): New function.
7337         (org-completion-use-ido): New option.
7339         * org-exp.el (org-export-format-source-code): Fix bug in require
7340         htmlize code.
7341         (org-export-target-internal-links): Fix bug in search for text
7342         property.
7344 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
7346         * org-export-latex.el (org-export-latex-subcontent): Interprete
7347         target aliases as additonal labels.
7349         * org-exp.el (org-export-target-aliases): New variable.
7350         (org-export-preprocess-string)
7351         (org-export-handle-invisible-targets): Fill the alias alist.
7352         (org-export-as-html): Remove the &nbsp; from the anchor, and also
7353         assign an id.
7354         (org-html-level-start): Insert the target aliases as additonal
7355         anchors.
7357         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
7358         picture area.
7360 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
7362         * org.el (org-open-at-mouse): Ensure correct link abbreviations
7363         when following a link with the mouse from the agenda.
7365         * org-exp.el (org-export-as-html): Avoid lone </div> when no
7366         headlines are created.
7368 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
7370         * org.el (org-link-translation-function): New option.
7371         (org-open-at-point): Call `org-link-translation-function' if
7372         non-nil.
7373         (org-translate-link): New function.
7374         (org-translate-link-from-planner): New function.
7375         (org-open-at-point): Allow interactive commands in elisp links.
7377         * org-exp.el (org-icalendar-cleanup-string): Restore the old
7378         iCalendar quoting.  The new one seems to caus problems with
7379         applications.
7381         * org.el (org-yank): Set `this-command' to `yank', so that
7382         `yank-pop' will work.
7384 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
7386         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
7387         compliance as far as quoting is concerned.
7389         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
7390         hexified version of the tag.
7392         * org-vm.el (org-vm-follow-link): Require `vm-search'.
7394         * org.el (org-up-heading-safe, org-forward-same-level): Always
7395         call `org-back-to-heading' instead of `outline-back-to-heading'.
7396         (org-back-to-heading): New wrapper around outline-back-to-heading,
7397         with a useful error message telling where the error happened.
7399         * org-list.el (org-update-checkbox-count): Always call
7400         `org-back-to-heading' instead of `outline-back-to-heading'.
7402         * org-exp.el (org-export-as-html): Make sure that each <img> tag
7403         has an `alt' attribute, to ensure XHTML validation.
7405 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
7407         * org-publish.el (org-publish-attachment): Allow publishing to
7408         overwrite attachment files.
7410         * org-agenda.el (org-agenda-timerange-leaders): New option.
7411         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
7413         * org.el (org-edit-src-exit): Untabify ASCII image before
7414         returning.
7416 2008-11-19  Glenn Morris  <rgm@gnu.org>
7418         * org.el, org-mouse.el (org-agenda-change-all-lines):
7419         Fix declaration.
7421 2008-11-18  Carsten Dominik  <dominik@science.uva.nl>
7423         * org.el ("speedbar"): Only show context if the file really is an
7424         org-mode buffer.
7426 2008-11-17  Juanma Barranquero  <lekktu@gmail.com>
7428         * org.el (org-time-string-to-absolute, org-small-year-to-year)
7429         (org-tags-sparse-tree): Fix typos in docstrings.
7431 2008-11-15  Carsten Dominik  <dominik@science.uva.nl>
7433         * org-publish.el (org-publish-attachment): Allow copy-file to
7434         overwrite files.
7436 2008-11-13  Glenn Morris  <rgm@gnu.org>
7438         * org-agenda.el (org-get-closed): Fix alias.
7440 2008-11-12  Juanma Barranquero  <lekktu@gmail.com>
7442         * org.el (org-link-escape): Fix typo in docstring.
7444 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
7446         * org.el (org-yank): Make any prefix force normal yanking.
7447         Suppress folding if text would be swallowed into a folded
7448         subtree.
7449         (org-yank-folded-subtrees, org-yank): Docstring updates.
7451         * org-agenda.el (org-agenda-compare-effort): Treat no effort
7452         defined as 0.
7454         * org-exp.el (org-export-language-setup): Add Catalan and
7455         Esperanto language entries.
7457 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
7459         * org.el (org-refile): Allow refiling of entire regions.
7461         * org-clock.el (org-clock-time%): New function.
7463         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
7464         retrieve property values.
7466 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
7468         * org-agenda.el (org-agenda-list): Handle the value `only' of
7469         org-agenda-show-log'.
7470         (org-agenda-log-mode): Interpret a double prefix arg.
7472 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
7474         * org-exp.el (org-export-html-footnotes-section): New variable.
7475         (org-export-as-html): Use `org-export-html-footnotes-section' to
7476         insert the footnotes.
7477         (org-export-language-setup): Add "Footnotes" to language words.
7479 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
7481         * org.el (org-yank): Fix bug when not inserting a subtree.
7483 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
7485         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
7486         instead of `vm-beginning-of-message'.
7488         * org.el (org-make-link-regexps): Make sure that links to gnus can
7489         contain brackets.
7491 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
7493         * org-attach.el (org-attach-dir): Remove duplicate ID creation
7494         code.
7496         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
7497         shell output.
7499         * org.el (org-link-abbrev-alist): Improve customization type.
7501         * org-attach.el (org-attach-expand-link, org-attach-expand): New
7502         functions.
7504         * org-agenda.el (org-agenda-get-progress): Rename from
7505         `org-get-closed'.  Implement searching for state changes as well.
7506         (org-agenda-log-mode-items): New option.
7507         (org-agenda-log-mode): New option prefix argument, interpreted as
7508         request to show all possible progress info.
7509         (org-agenda-get-day-entries): Call `org-get-progress' instead of
7510         `org-get-closed'.
7511         (org-agenda-set-mode-name): Handle the more complex log mode
7512         settings.
7513         (org-get-closed): New alias, pointing to `org-get-progress'.
7515 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
7517         * org.el (org-file-apps-defaults-gnu)
7518         (org-file-apps-defaults-macosx)
7519         (org-file-apps-defaults-windowsnt): Add an entry defining the
7520         system command.
7521         (org-file-apps): Allow `system' as key and value.
7522         (org-open-at-point): Explain the effect of a double prefix arg.
7523         (org-open-file): If the argument `in-emacs' is (16),
7524         i.e. corresponding to a double prefix argument, try to open the
7525         file externally.
7527 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
7529         * org.el (org-insert-link): Abbreviate absolute files names in
7530         links.  Also, fix a bug in which the double C-u prefix would not
7531         be honored.
7533 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
7535         * org.el (org-insert-heading): If buffer does not end with a
7536         newline, add one if necessary to insert headline correctly.
7538         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
7539         paragraphs, not inside.
7541         * org.el (org-todo): Quote
7542         `org-agenda-headline-snapshot-before-repeat'.
7544         * org-exp.el (org-export-as-html): Fully process link descriptions.
7545         (org-export-html-format-desc): New function.
7546         (org-export-as-html): Collect footnotes into the correct basket.
7547         (org-html-protect): No longer protect quotations marks here, this
7548         goes wrong.
7550         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
7551         BEG.
7553         * org-compat.el (org-fit-window-to-buffer): New function (not
7554         really, a preliminary and incomplete version was present earlier,
7555         but not used).
7557         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
7558         `org-fit-window-to-buffer'.
7560         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
7562         * org-agenda.el (org-agenda-get-restriction-and-command)
7563         (org-fit-agenda-window, org-agenda-convert-date): Use
7564         `org-fit-window-to-buffer'.
7566         * org-exp.el (org-export-as-html): Process href links through
7567         `org-export-html-format-href'.
7568         (org-export-html-format-href): New function.
7570         * org-agenda.el (org-agenda-todo): Update only the current
7571         headline if this is a repeated TODO, marked done for today.
7572         (org-agenda-change-all-lines): New argument JUST-THIS, to change
7573         only the current line.
7575         * org.el (org-todo): Take a snapshot of the headline if the
7576         repeater might change it.
7578 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
7580         * org-publish.el (org-publish-find-title): Remove buffers visited
7581         only for extracting the title.
7583         * org-exp.el (org-export-html-style)
7584         (org-export-html-style-default): Mark style definitions as
7585         unparsed CDATA.
7587         * org-publish.el (org-publish-validate-link): Function
7588         re-introduced.
7590 2008-11-12  Charles Sebold  <csebold@gmail.com>
7592         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
7593         property.
7594         (org-plot-quote-timestamp-field): New function.
7595         (org-plot-quote-tsv-field): Call timestamp field function when
7596         necessary rather than just quoting as a string.
7597         (org-plot/gnuplot-to-data): Pass in timefmt property.
7598         (org-plot/gnuplot-script): Supports timefmt property.
7599         (org-plot/gnuplot): Checks for timestamp column before checking
7600         for text index column.
7602 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
7604         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
7606         * org-publish.el (org-publish-org-index): Create a section in the
7607         index file.
7608         (org-publish-org-index): Stop linking to directories.
7610         * org.el (org-emphasis-alist): Use span instead of <u> to
7611         underline text.
7613         * org-exp.el (org-export-as-html): Make sure <p> is closed before
7614         <pre> sections.
7616 2008-11-12  Sebastian Rose  <sebastian_rose@gmx.de>
7618         * org-jsinfo.el (org-infojs-template): Remove language attribute
7619         from script tag.
7621 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
7623         * org-agenda.el (org-agenda-remove-marked-text): New function.
7624         (org-agenda-mark-filtered-text)
7625         (org-agenda-unmark-filtered-text): New functions.
7626         (org-write-agenda): Remove filtered text.
7628         * org.el (org-make-tags-matcher): Give access to TODO "property"
7629         without speed penalty.
7631 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
7633         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
7634         option.
7635         (org-store-link-props): Make sure adding to the plist works
7636         correctly.
7638         * org-gnus.el (org-gnus-no-new-news): New function.
7639         (org-gnus-follow-link): Allow the article ID to be a message-id,
7640         in addition to allowing article numbers.  Message IDs make much
7641         more roubust links.
7642         (org-gnus-store-link): Use message-id to create link.
7644 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
7646         * org.el (org-emphasize): Reverse the selection array.
7647         (org-emphasis-alist): Set <code> tags for the verbatim
7648         environment.
7650         * org-remember.el (org-remember-handler): Fix bug with
7651         prefix-related changing of the note storage target.
7653         * org-exp.el (org-print-icalendar-entries): Make the exported
7654         priorities compatible with RFC 2445.
7656         * org-clock.el (org-clock-save): Insert time stamp without
7657         dependence on time-stamp.el.
7659 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
7661         * org.el ("saveplace"): If saveplace puts point into an invisible
7662         location, make it visible.
7663         (org-make-tags-matcher): Allow inactive time stamps in time
7664         comparisons.
7665         (org-yank-adjusted-subtrees): New option.
7666         (org-yank): Incorporate adjusting trees.
7667         (org-paste-subtree): New argument FOR-YANK which will cause
7668         insertion at point without backing up over white lines, and leave
7669         point at the end of the inserted text.  Also if the cursor is
7670         at the beginning of a headline, use the same level or the inserted
7671         tree.
7673         * org-publish.el (org-publish-get-base-files-1): Deal correctly
7674         with broken symlinks.
7676 2008-11-12  Carsten Dominik  <dominik@science.uva.nl>
7678         * org-exp.el (org-export-select-tags, org-get-current-options):
7679         Fix typo.
7681 2008-11-06  Glenn Morris  <rgm@gnu.org>
7683         * org-publish.el (org-publish-attachment): Use copy-file rather than
7684         eshell/cp.
7686 2008-11-04  Juanma Barranquero  <lekktu@gmail.com>
7688         * org.el (org-columns-modify-value-for-display-function):
7689         * org-table.el (org-table-convert-region): Fix typos in docstrings.
7691 2008-10-28  Glenn Morris  <rgm@gnu.org>
7693         * org-agenda.el (org-agenda-align-tags): Replace use of cl `adjoin'.
7695         * org-list.el (outline-next-heading, outline-back-to-heading):
7696         Fix declarations.
7698 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
7700         * org-agenda.el (org-format-agenda-item)
7701         (org-agenda-filter-make-matcher): Make sure tags are stored and
7702         compared donwcased.
7704 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
7706         * org.el (org-insert-todo-heading): Fix bug with force-heading
7707         argument.
7709 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
7711         * org-exp.el (org-export-as-ascii): Handle the case that we are
7712         bulishing from an indirect buffer.
7714         * org-table.el (org-table-copy-down): Fix bug with time stamp
7715         increment.
7717         * org-mouse.el (org-mouse-features): New option.
7718         (org-mode-hook): Turn on features depending on
7719         `org-mouse-features'.
7721         * org.el (org-insert-heading-respect-content): Force heading
7722         creation.
7723         (org-insert-heading): Keep the folding state of the heading before
7724         the inserted one.
7726 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
7728         * org-archive.el (org-archive-to-archive-sibling): Handle top
7729         level headlines better.
7731 2008-10-26  Bastien Guerry  <bzg@altern.org>
7733         * org-export-latex.el (org-export-latex-classes): Add
7734         \usepackage{graphicx} to the default list of packages.
7736 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
7738         * org-agenda.el (org-agenda-filter): Rename from
7739         `org-agenda-filter-tags'.
7741 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
7743         * org.el (org-entry-properties): Add CATEGORY property, iven if it
7744         is not defined as a property in this entry.
7745         (org-add-log-note): Mask prefix argument when immediately storing
7746         the note.
7748         * org-agenda.el (org-agenda-filter-effort-default-operator): New
7749         option.
7751 2008-10-26  James TD Smith  <ahktenzero@mohorovi.cc>
7753         * org.el (org-add-log-setup): Bugfix; code to find insertion point
7754         after drawers was skipping ahead one line too many, so notes were
7755         inserted after the first note instead of before it.
7757 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
7759         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
7760         New variables.
7761         (org-prepare-agenda): Reset the filter tags.
7762         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
7763         Show filter tags in mode line.
7765         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
7766         formatter.
7768         * org-export-latex.el (org-latex-entities-regexp): New constant.
7769         (org-export-as-pdf): Use two calls to `shell-command'.
7771 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
7773         * org-export-latex.el (org-export-latex-treat-sub-super-char):
7774         Honor the {} value of the subsuperscript setting.  Make sure that
7775         longer subsuperscripts are typeset in a roman font.
7777         * org.el (org-clock-update-time-maybe): Compute negative clock
7778         intervals correctly.
7780 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
7782         * org.el (org-add-log-setup): Respect
7783         `org-log-state-notes-insert-after-drawers'.
7784         (org-log-state-notes-insert-after-drawers): New option.
7785         (org-todo-trigger-tag-changes): New function.
7786         (org-todo): Call `org-todo-trigger-tag-changes'.
7788 2008-10-26  James TD Smith  <ahktenzero@mohorovi.cc>
7790         * org.el (org-add-log-setup): Only skip drawers if the are
7791         immediately after the scheduling keywords.
7793         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
7794         function.
7795         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
7796         call it with the current todo state to get the state to switch to
7797         when clocking in.
7798         (org-clock-in): Use org-indent-line-function to indent clock lines.
7799         (org-clock-find-position): Fix indentation of empty clock drawers.
7801 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
7803         * org-publish.el (org-publish-org-to): Handle case when
7804         org-export-to-pdf does return a file name, not a buffer.
7805         (org-publish-org-to-pdf): New function.
7807         * org-export-latex.el (org-export-as-pdf)
7808         (org-export-as-pdf-and-open): New commands.
7810         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
7811         forms as ranges.
7813         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
7814         things in protexted regions.
7816 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
7818         * org-export-latex.el (org-export-latex-preprocess): Improve
7819         quoting of LaTeX environments.
7821 2008-10-19  Eli Zaretskii  <eliz@gnu.org>
7823         * org.el (org-default-notes-file):
7824         * org-publish.el (org-publish-timestamp-directory):
7825         * org-id.el (org-id-locations-file): Run file names that begin
7826         with a period thru `convert-standard-filename'.
7828 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
7830         * org-plot.el: Switch coding system to unix.
7832 2008-10-12  John Wiegley  <johnw@newartisans.com>
7834         * org-attach.el: New file.
7836 2008-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
7838         * org.el (org-edit-fixed-width-region): Exclude final newline from
7839         picture area.
7841         * org-export-latex.el (org-export-latex-subcontent): Add labels to
7842         sections, to make internal links work.
7843         (org-export-latex-fontify-headline): Do not remove all text
7844         properties, to make sure that target properties survive this
7845         process.
7847         * org-exp.el (org-export-preprocess-string): Change sequence of
7848         modifications, to make sure links are prepared before the LaTeX
7849         conversions do happen.
7851         * org-attach.el (org-attach-delete-all): Rename from
7852         `org-attch-delete'.  Add a security query before deleting the
7853         entire directory.  New optional argument FORCE can overrule the
7854         security query.
7855         (org-attach-delete-one): New command.
7857         * org-attach.el (org-attach-file-list): Fix bug with directory.
7859         * org.el (org-apps-regexp-alist): New function.
7860         (org-file-apps): Add auto-mode to the default value.
7861         (org-open-file): Use the new structure of org-file-apps.
7863         * org-attach.el (org-attach): Support the new keys.
7864         (org-attach-method): New option.
7866         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
7867         March.
7869         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
7870         of the list value o `org-use-tag-inheritance'.
7872         * org-attach.el (org-attach-auto-tag): New option.
7873         (org-attach-tag, org-attach-untag): New functions.
7874         (org-attach-attach, org-attach-new, org-attach-sync): Call
7875         `org-attach-tag'.
7876         (org-attach-delete): Call `org-attach-untag'.
7878         * org-table.el (orgtbl-self-insert-command): Make this work for
7879         the keypad as well.
7881         * org.el (org-add-log-setup): Limit searc for drawers to entry
7882         text, not to subtree.
7884         * org-clock.el (org-clock-heading-for-remember): New variable.
7885         (org-clock-in): Set `org-clock-heading-for-remember'.
7887 2008-10-12  James TD Smith  <ahktenzero@mohorovi.cc>
7889         * org-remember.el (org-remember-apply-template): Add new
7890         expansions: %k, %K for currently clocked task and a link to the
7891         currently clocked task, and %< to file notes in the currently
7892         clocked task.
7894 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
7896         * org-export-latex.el (org-export-latex-make-header): Also insert
7897         the content of the property :latex-header-extra.
7899         * org-exp.el (org-infile-export-plist): Put the content of
7900         #+LATEX_HEADER: into the property :latex-header-extra.
7902         * org-colview.el (org-columns-get-format-and-top-level): Remove
7903         resetting the marker.
7905         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
7906         Remove resetting the marker.
7908         * org.el (org-entry-property-inherited-from): Improve docstring.
7909         (org-entry-get-with-inheritance): Reset marker before starting the
7910         search.
7912         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
7914         * org.el (org-entry-get-multivalued-property)
7915         (org-entry-protect-space, org-entry-restore-space): New
7916         functions.
7917         (org-file-apps-defaults-macosx): Let postscript files be opened by
7918         preview.
7919         (org-time-stamp-inactive): Call `org-time-stamp'.
7920         (org-time-stamp): New argument `inactive'.  Also edit inacive
7921         stamps.  Convert time stamp type.
7922         (org-open-file): Interpret the `default' value for the `command'
7923         in `org-file-apps'.
7925         * org-id.el (org-id-int-to-b36-one-digit)
7926         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
7927         (org-id-b36-to-int, org-id-time-to-b36): Modify from b62 to
7928         b36.
7930         * org-id.el (org-id-reverse-string): New function.
7931         (org-id-new): Use `org-id-reverse-string' to make sure the
7932         beginning chars of the ID are mutating fast.  This allows to use a
7933         directory structure to spread things better.
7934         (org-id-prefix): Change default to nil.
7936         * org-list.el (org-move-item-down, org-move-item-up): Remember and
7937         restore the column of the cursor position.
7939         * org-remember.el (org-remember-apply-template): Remove properties
7940         from `initial'.
7942         * org-wl.el (org-wl-open): Remove useless call to
7943         `wl-thread-open-all'.
7945         * org-remember.el (org-remember-handler): Fix bug with `bottom'
7946         location.
7948         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
7949         `org-bbdb-anniversaries'.
7951         * org.el (org-get-next-sibling, org-forward-same-level): New
7952         functions, similar to the outline versions, but invisible headings
7953         are OK.
7955 2008-10-12  Bastien Guerry  <bzg@altern.org>
7957         * org.el (org-auto-repeat-maybe): Insert a space between
7958         the timestamp's type and the timestamp itself.
7960 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
7962         * org-table.el (org-table-sum): Do not format the result with %g,
7963         it does rounding when there are too many digits.
7965         * org.el (org-map-entries): Protect the keyword-selecting variables.
7967 2008-10-12  Bastien Guerry  <bzg@altern.org>
7969         * org-agenda.el (org-agenda-to-appt): Make sure the function check
7970         against all agenda files.
7972 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
7973         Bastien Guerry  <bzg@altern.org>
7975         * org-list.el: New file, aggregating list functions from org.el
7976         and org-export-latex.el.
7978 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
7980         * org.el (org-edit-src-region-extra): New option.
7982         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
7983         time before 1am.
7985 2008-10-12  Bastien Guerry  <bzg@altern.org>
7987         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
7989 2008-10-12  James TD Smith  <ahktenzero@mohorovi.cc>
7991         * org-plot.el (org-plot/gnuplot): Make tables starting with a
7992         hline work correctly.
7993         (org-plot/gnuplot-script): Put commas at the end of each script
7994         line.
7996         * org.el (org-get-refile-targets): Replace links with their
7997         descriptions.
7998         (org-imenu-get-tree): Replace links with their descriptions.
8000         * org-remember.el (org-remember-apply-template): Add a new
8001         expansion for adding properties to remember items.
8003         * org.el (org-add-log-setup): Skip over drawers (properties,
8004         clocks etc) when adding notes.
8006         * org-agenda.el (org-agenda-get-closed): Show durations of clocked
8007         items as well as the start and end times.
8009         * org-compat.el (org-get-x-clipboard-compat): Add a compat
8010         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
8012         * org-remember.el (org-get-x-clipboard): Use the compat
8013         function to get clipboard values when x-selection-value is
8014         unavailable.  Use substring-no-properties instead of
8015         set-text-properties to remove text properties from the clipboard
8016         value.
8018         * lisp/org-clock.el (org-update-mode-line): Support limiting the
8019         modeline clock string, and display the full todo value in the
8020         tooltip.  Set a local keymap so mouse-3 on the clock string goes to
8021         the currently clocked task.
8022         (org-clock-string-limit): Add a custom value for the maximum
8023         length of the clock string in the modeline.
8024         (org-clock-mode-map): Add a keymap for the modeline string.
8026 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
8028         * org-compat.el (org-propertize): New function.
8030 2008-10-12  Bastien Guerry  <bzg@altern.org>
8032         * org-export-latex.el (org-export-latex-tables): Protect exported
8033         tables from further special chars conversion.
8034         (org-export-latex-preprocess): Preserve LaTeX environments.
8035         (org-list-parse-list): Parse descriptive lists.
8036         (org-list-to-generic, org-list-to-latex, org-list-to-html)
8037         (org-list-to-texinfo): Export descriptive lists.
8038         (org-quote-chars): Remove.
8039         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
8040         (org-export-latex-list-beginning-re): Rename to
8041         `org-list-beginning-re'.
8042         (org-list-item-begin): Rename to `org-list-item-beginning'.
8044 2008-10-12  Eric Schulte  <schulte.eric@gmail.com>
8046         * org-plot.el: New file.
8048 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
8050         * org.el (org-refile): Allow refiling to the last entry in the
8051         buffer.
8052         (org-get-tags-at): Fix bug when inheritance is turned off.
8054         * org.el (org-indent-line-function): No longer check for src
8055         regions, this is too much overhead.
8057         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
8058         matching.
8060         * org.el (org-scan-tags): Make sure that tags matching is not case
8061         sensitive.  TODO keyword matching is case sensitive, however, to
8062         avoid confusion with similar words that are not meant to be
8063         keywords.
8065         * org.el (org-get-local-tags-at): New function.
8066         (org-get-local-tags): New function.
8068         * org-exp.el (org-export-get-categories): New function.
8070         * org-agenda.el (org-sorting-choice)
8071         (org-agenda-sorting-strategy, org-agenda-get-todos)
8072         (org-agenda-get-timestamps, org-agenda-get-deadlines)
8073         (org-agenda-get-scheduled, org-agenda-get-blocks)
8074         (org-entries-lessp): Implement sorting by TODO state.
8075         (org-cmp-todo-state): New defsubst.
8077         * org-colview.el (org-colview-construct-allowed-dates): New
8078         function.
8079         (org-columns-next-allowed-value): Use
8080         `org-colview-construct-allowed-dates'.
8082         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
8083         function.
8084         (org-columns-next-allowed-value): Use
8085         `org-colview-construct-allowed-dates'.
8087         * org.el (org-protect-slash): New function.
8088         (org-get-refile-targets): Use `org-protect-slash'.
8090         * org-agenda.el (org-global-tags-completion-table): New variable.
8092         * org-exp.el (org-export-handle-export-tags): New function.
8093         (org-export-preprocess-string): Call
8094         `org-export-handle-export-tags'.
8096         * org-publish.el (org-publish-expand-components): Function removed.
8097         (org-publish-expand-projects): Allow components to have components.
8099         * org.el (org-indent-line-function): Do not indent in regions that
8100         are external source code.
8101         (org-yank-and-fold-if-subtree): New function.
8103         * org-agenda.el (org-agenda-todayp): New function.
8104         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
8105         `org-agenda-todayp'.
8107         * org.el (org-insert-heading-respect-content)
8108         (org-insert-todo-heading-respect-content): New commands.
8109         (org-insert-heading-respect-content): New option.
8110         (org-insert-heading): Respect `org-insert-heading-respect-content'.
8112         * org-clock.el (org-clock-find-position): Make sure the note after
8113         the clock line gets moved into the new clock drawer.
8115         * org-id.el (org-id-new): New option.
8117         * org-table.el (org-table-copy-down): Avoid overflow during
8118         increment.  Use prefix argument 0 to temporarily disable the
8119         increment.
8121         * org-exp.el (org-export-as-html): Do not turn on the major mode
8122         if the buffer will be killed anyway.
8123         (org-get-current-options): Exclude the #+TEXT field.
8124         (org-export-as-html): Make sure text before the first headline is
8125         a paragraph.
8127         * org-publish.el (org-publish-org-to): Tell the exporter that this
8128         buffer will be killed, so it is not necessary to do major mode
8129         initialization.
8131         * org-archive.el (org-archive-to-archive-sibling): Show empty
8132         lines after folding the archive sibling.
8134         * org.el (org-log-note-extra): New variable.
8136 2008-10-12  Bastien Guerry  <bzg@altern.org>
8138         * org.el (org-additional-option-like-keywords): Add keywords for
8139         the _QUOTE, _VERSE and _SRC environments.
8141         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
8142         exporting _QUOTE and _VERSE environments.
8144 2008-10-12  Carsten Dominik  <dominik@science.uva.nl>
8146         * org-agenda.el (org-agenda-filter-by-tag): New command.
8148         * org-exp.el (org-get-current-options): Remove angular brackets
8149         from the date entry.
8151         * org.el (org-edit-fixed-width-region): New function.
8152         (org-edit-fixed-width-region): Also try
8153         `org-edit-fixed-width-region'.
8154         (org-edit-fixed-width-region-mode): New option.
8155         (org-activate-code): Only interprete lines starting with colon
8156         plus a space as example lines.
8158         * org-remember.el (org-remember-templates): Add nil instead of
8159         empty strings to fix the length of remember templates.
8161         * org-table.el (org-calc-default-modes): Fix the time format for
8162         calc, from 12 hour to 24 hour clock.
8164         * org-agenda.el (org-agenda-get-deadlines)
8165         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
8166         entries that are pre-warnings of deadlines or reminders.
8168         * org.el (org-sort-entries-or-items): Make numeric and alpha
8169         comparisons ignore any TODO keyword and priority cookie.
8171         * org-remember.el (org-remember-handler): Reinterpretation of the
8172         prefix argument.
8174         * org-agenda.el (org-agenda-get-scheduled): Use new
8175         `org-scheduled' face.
8177         * org-faces.el (org-scheduled): New face.
8179         * org-wl.el (org-wl-open): Remove incorrect declaration.
8181         * org-gnus.el (org-gnus-store-link): Support for :to information
8182         in gnus links.
8184         * org-exp.el (org-export-as-html): Fix typo in creator
8185         information.
8186         (org-export-protect-examples): New parameter indent.  Insert extra
8187         spaces only when this parameter is specified.
8188         (org-export-preprocess-string): Call `org-export-protect-examples'
8189         with an indentation parameter when exporting to ASCII.
8191         * org-remember.el (org-remember-templates)
8192         (org-remember-apply-template): Allow the file component to be a
8193         function.
8195         * org.el (org-goto-local-search-headings): Rename from
8196         `org-goto-local-search-forward-headings'.  Added the possibility
8197         to search backwards.
8199         * org-export-latex.el (org-export-latex): New customization
8200         group.
8202         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
8204         * org-exp.el (org-html-do-expand): Allow {} to terminate
8205         tex macro.
8207         * org.el (org-buffer-list): Select buffers based on major mode,
8208         not on file name.
8210         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
8211         face property.
8213         * org-colview.el (org-columns-display-here): Use
8214         `org-columns-modify-value-for-display-function'.
8216         * org-colview-xemacs.el (org-columns-display-here): Use
8217         `org-columns-modify-value-for-display-function'.
8219         * org.el (org-columns-modify-value-for-display-function): New option.
8221         * org-publish.el (org-publish-file): Make sure the directory match
8222         for the publishing directory works correctly.
8224         * org-agenda.el (org-agenda-execute-calendar-command)
8225         (org-agenda-diary-entry): Additional optional argument.
8227 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
8229         * org-exp.el (org-export-as-html): Add attributes also in mailto
8230         and ftp links.
8232         * org.el (org-autoload): Add `org-dblock-write:columnview'.
8234 2008-08-11  Glenn Morris  <rgm@gnu.org>
8236         * org-mac-message.el (do-applescript): Fix declaration.
8238 2008-08-10  Glenn Morris  <rgm@gnu.org>
8240         * org-exp.el (org-export-as-html): Let-bind `i'.
8242         * org.el (org-renumber-ordered-list): Fix bob/bobp typo.
8243         (org-extract-attributes): Let-bind `key', `value'.
8244         (org-make-tags-matcher): Let-bind `time-p'.
8246 2008-07-27  Carsten Dominik  <dominik@science.uva.nl>
8248         * org-install.el: New file.
8250 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
8252         * org-exp.el (org-export-html-style)
8253         (org-export-html-style-extra): Declare as safe-local-variable.
8255 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
8257         * org-publish.el (org-publish-file): Use the true name of the
8258         file.
8260         * org-jsinfo.el (org-infojs-handle-options): Use :style-extra
8261         instead of :style.
8263         * org-exp.el (org-export-plist-vars)
8264         (org-export-add-options-to-plist): Handle creator setting flag.
8265         (org-export-as-html): Handle attributes also for ftp and mailto
8266         links.
8268         * org-agenda.el (org-agenda-diary-entry)
8269         (org-agenda-execute-calendar-command): Cater for the second
8270         argument of `calendar-cursor-to-date'.
8272 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
8274         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
8275         sure that calls from `org-export-region-as-html' do not do the
8276         special check for a subtree.
8278         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
8280         * org.el (org-open-file): Use
8281         `org-open-directory-means-index-dot-org'.
8282         (org-open-directory-means-index-dot-org): New option.
8284         * org.el (org-make-link-string): Remove link attributes from
8285         description.
8286         (org-open-at-point): Remove link attributes before using the path.
8288         * org-exp.el (org-export-as-html): Handle link attributes.
8290         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
8292         * org-table.el (org-table-to-lisp): New function.
8294         * org.el (org-narrow-to-subtree): Do not include the final newline
8295         into the narrowed region.
8297         * org-agenda.el (org-agenda-custom-commands-local-options): Fix
8298         bug with user-define skipping condition.
8300         * org-agenda.el (org-agenda-get-restriction-and-command): Fix typo.
8302         * org-exp.el (org-export-html-style-default): Automatic overflow
8303         handling for pre fields.
8304         (org-export-as-ascii, org-export-as-html): Change default format
8305         for time stamp.
8307         * org-table.el (org-table-export): Offer completion for translator
8308         functions, and do not require a heading above the table.
8310         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
8311         Cater for the case of a list starting in the first line of the
8312         buffer.
8314         * org-publish.el (org-publish-find-title): Bug fix.
8315         (org-publish-org-index): Implement new :index-style option.
8317         * org-publish.el (org-publish-timestamp-filename): Use
8318         SHA1-encoded file names in the timestamp directory.
8320         * org-publish.el (org-publish-needed-p): Be verbose about files
8321         published and files skipped.
8323         * org-exp.el (org-export-preprocess-string): Swap link
8324         normalization and internal link targeting.
8326         * org-publish.el (org-publish-needed-p): Create timestamp
8327         directory when it does not exist.
8329         * org-clock.el (org-clock-out-when-done): Doc fix.
8331         * org.el (org-agenda-skip-unavailable-files): Doc fix.
8333         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
8334         Ignore case when searching for the COMMENT cookie at export time.
8336         * org-exp.el (org-get-file-contents)
8337         (org-get-and-remove-property): New functions.
8338         (org-export-handle-include-files): Handle the new prefix options.
8339         (org-export-as-html): Fix the verse environment.
8341         * org.el (org-time=, org-time<, org-time<=, org-time>)
8342         (org-time>=, org-time<>, org-2ft): New functions.
8343         (org-op-to-function): Also provide for the time testing functions.
8345         * org-exp.el (org-export-html-style-default): New constant.
8347         * org-exp.el (org-export-html-style-extra): New variable.
8348         (org-export-splice-style): New function.
8350         * org-exp.el (org-export-plist-vars, org-export-as-html):
8351         Implement `org-export-creator-info'.
8352         (org-export-creator-info): New option.
8354         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
8355         (org-property-drawer-re, org-clock-drawer-re): New constants.
8357         * org-exp.el (org-icalendar-use-deadline)
8358         (org-icalendar-use-scheduled): New options.
8359         (org-icalendar-include-todo): Default changed to t.
8360         (org-print-icalendar-entries): Implement better utilization of
8361         scheduling and deadline time stamps.
8362         (org-export-target-internal-links, org-export-as-html): Allow file
8363         lines without the "file:" prefix if the file path is an absolute
8364         path or starts with ".".
8366         * org-clock.el (org-clocktable-shift): Also understand yesterday,
8367         lastweek etc.
8368         (org-clock-special-range): Also understand yesterday, lastweek etc.
8370         * org.el (org-agenda-skip-archived-trees): Docstring now
8371         discourages using this.
8372         (org-scan-tags): Check for org-agenda-archives-mode.
8373         (org-map-entries): Make sure org-agenda-archives-mode is nil.
8374         (org-agenda-files): Functionality of second arg changed.
8376         * org-agenda.el (org-agenda-archives-mode): New variable.
8377         (org-write-agenda, org-prepare-agenda, org-agenda-list)
8378         (org-search-view, org-todo-list, org-tags-view)
8379         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
8380         `ifmode' argument.
8381         (org-agenda-quit): Reset the archives mode.
8382         (org-agenda-archives-mode): New command.
8383         (org-agenda-set-mode-name): Include archives info.
8385         * org.el (org-paste-subtree): Make sure the yanked headline is
8386         visible if it was yanked at a visible point.
8387         (org-move-item-up): Fix the bug with moving white space at the end
8388         of the item.
8389         (org-show-empty-lines-in-parent): New function.
8391 2008-07-19  Juri Linkov  <juri@jurta.org>
8393         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
8394         new keymap `narrow-map' instead of binding "\C-xns".
8396 2008-07-02  Juanma Barranquero  <lekktu@gmail.com>
8398         * org.el (org-agenda-skip-unavailable-files):
8399         * org-clock.el (org-clock-out-when-done): Doc fixes.
8401 2008-06-18  Glenn Morris  <rgm@gnu.org>
8403         * org.el (org-map-entries): Let-bind `file'.
8405 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8407         * org-colview.el (org-columns-next-allowed-value): Bug fix.
8409         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
8411         * org-agenda.el (org-agenda-get-closed): Get the end time into the
8412         agenda prefix as well.
8414         * org-publish.el (org-publish-org-index): Make a properly indented
8415         list.
8417         * org.el (org-calendar-agenda-action-key): New option.
8418         (org-get-cursor-date): New function.
8419         (org-mark-entry-for-agenda-action): New command.
8420         (org-overriding-default-time): New variable.
8421         (org-read-date): Respect `org-overriding-default-time'.
8423         * org-remember.el (org-remember-apply-template): Respect the
8424         overriding default time.
8426         * org-agenda.el (org-agenda-action-marker): New variable.
8427         (org-agenda-action): New command.
8428         (org-agenda-do-action): New function.
8430 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8432         * org.el (org-schedule, org-deadline): Protect scheduled and
8433         deadline tasks against changes that accidently remove the
8434         repeater.  Also show a message with the new date when done.
8436 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8438         * org.el (org-beginning-of-line): Cater for the case when there
8439         are tags but no headline text.
8440         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
8441         it set.
8443 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8445         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
8446         the return value is nil instead of "nil" when there is no match.
8448         * org-exp.el (org-insert-centered): Use fill-column instead of
8449         80.
8450         (org-export-as-ascii): Use string-width to measure the width of
8451         the heading.
8453         * org.el (org-diary-to-ical-string): No longer kill buffer
8454         FROMBUF, this is now done by the caller.
8456         * org-exp.el (org-print-icalendar-entries): Move the call to
8457         `org-diary-to-ical-string' out of the loop, and kill the buffer
8458         afterwords.
8460         * org-remember.el (org-remember-visit-immediately): Position
8461         cursor after moving to the note.
8462         (org-remember-apply-template): Use a text property to record the
8463         cursor position.
8464         (org-remember-handler): Align tags after pasting the note.
8466 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8468         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
8470         * org-agenda.el (org-agenda-open-link): If there is an
8471         org-bbdb-name property in the current line, jump to that bbdb
8472         entry.
8474         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
8475         text property, so that the agenda knows where this entry comes
8476         from.
8478         * org-agenda.el (org-agenda-clock-in): Fix bug in the
8479         interaction between clocking-in from the agenda, and  automatic
8480         task state switching.
8482         * org-macs.el (org-with-point-at): Bug fix in macro definition.
8484         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
8485         zmacs-region stays after this command in XEmacs.
8487 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8489         * org.el (org-scan-tags): Allow new values for ACTION parameter.
8491         * org-remember.el (org-remember-templates): Fix bug in
8492         customization type definition.
8494         * org.el (org-map-entries): New function.
8496 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8498         * org-agenda.el (org-agenda-skip-comment-trees): New option.
8499         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
8501 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8503         * org-remember.el (org-jump-to-target-location): New variable.
8504         (org-remember-apply-template): Set
8505         `org-remember-apply-template' if requested by template.
8506         (org-remember-handler): Start an idle timer to jump to
8507         remember location.
8509         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
8511         * org.el (org-set-regexps-and-options): Fix bug with parsing of
8512         file tags.
8513         (org-get-tags-at): Add the content of `org-file-tags'.
8515         * org-exp.el (org-export-handle-comments): Fix bug with several
8516         comment lines after each other.
8517         (org-number-to-roman, org-number-to-counter): New functions.
8518         (org-export-section-number-format): New option.
8520 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8522         * org-exp.el (org-export-protect-examples): Catch the case of a
8523         missing end_example line.
8525         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
8526         `org-file-tags' to nil.
8528         * org-colview.el (org-columns-next-allowed-value): Handle next
8529         argument NTH to directly select a value.
8531         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
8532         argument NTH to directly select a value.
8534 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8536         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
8538 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8540         * org.el (org-columns-ellipses): New option.
8542 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8544         * org-colview.el (org-columns-add-ellipses): New function.
8545         (org-columns-compact-links): New function.
8546         (org-columns-cleanup-item): Call `org-columns-compact-links'.
8547         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
8548         when in agenda.
8549         (org-columns-edit-value): Fix bug with editing values from
8550         agenda column view.
8551         (org-columns-redo): Also redo the agenda itself.
8553 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8555         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
8556         option.
8558         * org-colview.el (org-agenda-columns-cleanup-item): New function.
8560         * org-exp.el (org-export-ascii-preprocess): Rename from
8561         `org-export-ascii-clean-string'.
8562         (org-export-kill-licensed-text)
8563         (org-export-define-heading-targets)
8564         (org-export-handle-invisible-targets)
8565         (org-export-target-internal-links)
8566         (org-export-remove-or-extract-drawers)
8567         (org-export-remove-archived-trees)
8568         (org-export-protect-quoted-subtrees)
8569         (org-export-protect-verbatim, org-export-protect-examples)
8570         (org-export-select-backend-specific-text)
8571         (org-export-mark-blockquote-and-verse)
8572         (org-export-remove-comment-blocks-and-subtrees)
8573         (org-export-handle-comments, org-export-mark-radio-links)
8574         (org-export-remove-special-table-lines)
8575         (org-export-normalize-links)
8576         (org-export-concatenate-multiline-links)
8577         (org-export-concatenate-multiline-emphasis): New functions,
8578         obtained from spliting the export preprocessor.
8580         * org-table.el (org-table-recalculate): Improve error message if
8581         the row number is invalid.
8583 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8585         * org-archive.el (org-archive-save-context-info): Fix bugs in
8586         customization setup and docstring.
8588         * org-exp.el (org-export-html-style): Change the size of in the
8589         <pre> element to 90%.
8591 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8593         * org.el (org-find-src-example-start): Function removed.
8594         (org-edit-src-find-region-and-lang): New function.
8596 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8598         * org.el (org-edit-src-exit): New function.
8599         (org-exit-edit-mode): New minor mode.
8601         * org-exp.el (org-export-preprocess-string): Fix bug with removing
8602         comment-like lines from protected examples.
8604         * org.el (org-edit-src-example, org-find-src-example-start)
8605         (org-protect-source-example, org-edit-special): New functions.
8607 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8609         * org-publish.el (org-publish-project-alist): Fix typo in
8610         docstring.
8611         (org-publish-project-alist): Handle :index-title property.
8613 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8615         * org-export-latex.el (org-export-as-latex): Make sure region
8616         bounds are correct.  Parse subtree properties relating to export.
8618         * org-exp.el (org-export-add-options-to-plist): New function.
8619         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
8621 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8623         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
8624         EXPORT_TITLE.
8626         * org-exp.el (org-export-get-title-from-subtree)
8627         (org-export-as-ascii, org-export-as-html): Make sure the original
8628         region-beginning and region-end are used, even after moving point.
8629         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
8630         property.
8632         * org-remember.el (org-remember-last-stored-marker): New variable.
8633         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
8634         (org-remember-handler): Also use marker to remember
8635         last-stored position.
8637         * org.el (org-goto-marker-or-bmk): New function.
8639 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8641         * org.el (org-file-properties): Rename from `org-local-properties'.
8642         (org-scan-tags): Take file tags into account.
8643         (org-tags-match-list-sublevels): Default changed to t.
8645         * org-exp.el (org-export-as-html): Close paragraph after a footnote.
8647         * org.el (org-update-parent-todo-statistics): New function.
8649         * org-exp.el (org-icalendar-store-UID): New option.
8650         (org-icalendar-force-UID): Option removed.
8651         (org-print-icalendar-entries): IMplement UIDs.
8653 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8655         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
8657 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8659         * org-faces.el (org-column): Document how this face is being used
8660         and why sometimes the background faces shine through.
8662         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
8664         * org-publish.el (org-publish-attachment): Create publishing
8665         directory if it does not yet exist.
8667         * org-table.el (org-calc-default-modes): Change default number
8668         format to (float 8).
8670         * org.el (org-olpath-completing-read): New function.
8671         (org-time-clocksum-format): New option.
8672         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
8674         * org-clock.el (org-clock-display, org-clock-out)
8675         (org-update-mode-line): Use `org-time-clocksum-format'.
8677         * org-colview-xemacs.el (org-columns-number-to-string): Use
8678         `org-time-clocksum-format'.
8680         * org-colview.el (org-columns-number-to-string): Use
8681         `org-time-clocksum-format'.
8683 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8685         * org-id.el: New file, move from contrib to core.
8687         * org-exp.el (org-icalendar-force-UID): New option.
8689 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8691         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
8692         shifted by one day if there is a date range without an end time.
8694         * org.el (org-try-structure-completion): New function.
8696 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8698         * org.el (org-set-font-lock-defaults): Improve fontification of
8699         description lists.
8700         (org-insert-item): Handle description lists.
8701         (org-adaptive-fill-function): Improve auto indentation in
8702         description lists.
8704         * org-exp.el (org-export-as-html, org-export-preprocess-string):
8705         Implement VERSE environment.
8706         (org-export-preprocess-string): Implement the COMMENT
8707         environment.
8709         * org-export-latex.el (org-export-latex-preprocess): Implement
8710         VERSE environment.
8712 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8714         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
8715         option.
8717 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8719         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
8721         * org.el (org-quote-csv-field): New functions.
8723         * org-table.el (org-table-export-default-format): Remove :splice
8724         from default format, we get the same effect by not specifying
8725         :tstart and :tend.
8726         (org-table-export): Improve setup, distinguish better between
8727         interactive and non-interactive use, allow specifying the format
8728         on the fly, better protection against wrong file names.
8729         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
8730         and :tend when :splice is omitted.
8732 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8734         * org-clock.el (org-clock-select-task): Make sure the selection
8735         letters are 1-9 and A-Z, no special characters.
8737 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8739         * org-exp.el (org-export-htmlize): New group.
8740         (org-export-htmlize-output-type)
8741         (org-export-htmlize-css-font-prefix): New options.
8742         (org-export-htmlize-region-for-paste): New function.
8743         (org-export-htmlize-generate-css): New command.
8745 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8747         * org.el (org-set-visibility-according-to-property): New function.
8748         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
8749         and compute the regular expressions, and update font-lock.
8750         (org-property-re): Allow a dash in property names.
8752         * org-archive.el (org-extract-archive-file): Insert the file name
8753         without the path into the format, to allow the location format to
8754         contain a subdirectory.
8756         * org-agenda.el (org-agenda-post-command-hook): If point is at end
8757         of buffer, and the `org-agenda-type' property undefined, use the
8758         value from the character before.
8760         * org.el (org-add-planning-info): Don't let indentation for
8761         would-be timestamp become extra whitespace at the end of headline.
8763 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8765         * org.el (org-remove-double-quotes, org-file-contents): New
8766         functions.
8768         * org-exp.el (org-infile-export-plist): Also parse the
8769         contents of #+SETUPFILE files, recursively.
8771         * org.el (org-set-regexps-and-options): Also parse the
8772         contents of #+SETUPFILE files, recursively.
8774         * org-exp.el (org-export-handle-include-files): New function.
8775         (org-export-preprocess-string): Call
8776         `org-export-handle-include-files'.
8778         * org.el (org-delete-property-globally)
8779         (org-delete-property, org-set-property): Ignore case during
8780         completion.
8781         (org-set-property): Use `org-completing-read' instead of
8782         `completing-read'.
8784         * org.el (org-complete-expand-structure-template): New,
8785         experimental function.
8786         (org-structure-template-alist): New, experimental option.
8787         (org-complete): Call `org-complete-expand-structure-template'.
8789 2008-06-17  Bastien Guerry  <bzg@altern.org>
8791         * org-export-latex.el (org-export-latex-preprocess):
8792         Add support for blockquotes.
8794 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8796         * org.el (org-read-date-analyze): Catch the case where only a
8797         weekday is given.
8799 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8801         * org.el (org-set-font-lock-defaults): Make the description
8802         tag bold.
8804         * org-exp.el (org-export-as-html, org-close-li): Implement
8805         description lists.
8807 2008-06-17  Jason Riedy  <jason@acm.org>
8809         * org-table.el (*orgtbl-default-fmt*): New variable.
8810         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
8811         when there is no other fmt available.
8813         (orgtbl-to-generic): Allow an explicitly nil :tstart or
8814         :tend to suppress the appropriate string.
8816         (orgtbl-to-orgtbl): New function for translating to another orgtbl
8817         table.
8819 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8821         * org.el (org-read-date-analyze): "." as an alias for "+0" in
8822         read date.
8824         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
8825         New function.
8827         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
8828         New function.
8830 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8832         * org-clock.el (org-clock-find-position): Don't include notes
8833         into clock drawer.
8835         * org-archive.el (org-archive-subtree): No longer remove an
8836         extra line after cutting the subtree.  `org-cut-subtree' already
8837         takes care of this.
8839         * org-remember.el (org-remember-handler): Only kill the target
8840         buffer if it does not contain the running clock.
8842         * org.el (org-markers-to-move): New variable.
8843         (org-save-markers-in-region, org-check-and-save-marker)
8844         (org-reinstall-markers-in-region): New function.
8845         (org-move-subtree-down, org-copy-subtree): Remember relative
8846         marker positions before cutting.
8847         (org-move-subtree-down, org-paste-subtree): Restore relative
8848         marker positions after pasting.
8850         * org-remember.el (org-remember-clock-out-on-exit): New option.
8851         (org-remember-finalize): Clock out only if the setting in
8852         `org-remember-clock-out-on-exit' requires it.
8853         (org-remember-handler): Do the cleanup in the buffer, to make sure
8854         that the clock marker remains in tact.
8856 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8858         * org-clock.el (org-clock-goto): Widen buffer if necessary.
8859         (org-clock-in): Make sure that also tasks outside the narrowed
8860         region will be clocked in correctly.
8861         (org-clock-insert-selection-line): Widen the buffer so that we can
8862         find the correct task heading.
8864         * org.el (org-base-buffer): New function.
8866         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
8867         and ";" are escaped.
8868         (org-print-icalendar-entries): Also apply
8869         `org-icalendar-cleanup-string' to the headline, not only to the
8870         summary property.
8872 2008-06-17  Carsten Dominik  <dominik@science.uva.nl>
8874         * org-exp.el (org-export-preprocess-hook): New hook.
8875         (org-export-preprocess-string): Call `org-export-preprocess-hook'.
8877         * org.el (org-font-lock-hook): New variable.
8878         (org-font-lock-hook): New function.
8879         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
8881 ;; Local Variables:
8882 ;; coding: utf-8
8883 ;; add-log-time-zone-rule: t
8884 ;; End:
8886     Copyright (C) 2008, 2009, 2010  Free Software Foundation, Inc.
8888   This file is part of GNU Emacs.
8890   GNU Emacs is free software: you can redistribute it and/or modify
8891   it under the terms of the GNU General Public License as published by
8892   the Free Software Foundation, either version 3 of the License, or
8893   (at your option) any later version.
8895   GNU Emacs is distributed in the hope that it will be useful,
8896   but WITHOUT ANY WARRANTY; without even the implied warranty of
8897   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
8898   GNU General Public License for more details.
8900   You should have received a copy of the GNU General Public License
8901   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
8903 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c