Changed "color" variables to light/dark faces
[org-mode/org-jambu.git] / lisp / ChangeLog
blobc9cd29b135ee0ea052a8481cfdc17efe79b90fd8
1 2009-10-20  John Wiegley  <jwiegley@gmail.com>
3         * org-habit.el: Changed all "color" variables to faces, and made
4         them appropriate for light and dark backgrounds.
6         * org-habit.el (org-habit-duration-to-days): Made this function
7         more general.
8         (org-habit-parse-todo): Parse the new ".+N/N" style repeater.
10         * org-agenda.el (org-agenda-get-deadlines): Removed all mention of
11         habits, since they don't use DEADLINE anymore.
13         * org.el (org-repeat-re, org-display-custom-time)
14         (org-timestamp-change): Extended to support the new ".+N/N"
15         syntax, used for habits.
17         * org-clock.el (org-clock-resolve-clock): Fixed an incorrect
18         variable reference.
20         * org-agenda.el (org-agenda-set-mode-name): Show Habit in the
21         modeline when habits are being displayed (if that module is being
22         loaded).
24 2009-10-20  Carsten Dominik  <carsten.dominik@gmail.com>
26         * org-agenda.el (org-agenda-next-line): New command.
27         (org-agenda-previous-line): New commands.
28         (org-agenda-show-and-scroll-up, org-agenda-show-scroll-down): New
29         commands.
30         (org-agenda-follow-mode): Do the follow immediately if the mode is
31         turned on here.
32         (previous-line, next-line): Replace keys with the corresponding
33         org functions.
34         (org-agenda-mode-map): Bind backspace and delete to the scrolling
35         command.
37         * org.el (org-icompleting-read): Turn off partial completion mode
38         for the duration of this completion round.
40         * org-latex.el (org-export-latex-fontify-headline): Protect TeX
41         macros in author lines and similar stuff.
43         * org.el (org-file-tags): Fix docstring.
44         (org-get-buffer-tags): Add the #+FILETAGS tags.
45         ("ecb"): Maks ecb show context after jumping into an Org file.
47 2009-10-20  John Wiegley  <johnw@newartisans.com>
49         * org-agenda.el (org-finalize-agenda): Draw habit consistency
50         graphs after everything else in the buffer has been setup.
52 2009-10-19  Carsten Dominik  <carsten.dominik@gmail.com>
54         * org-mobile.el (org-mobile-apply): Count success and failure.
56         * org.el (org-indent-line-function): Fix regexp replace problem.
58 2009-10-19  John Wiegley  <johnw@newartisans.com>
60         * org-clock.el (org-clock-disable-clock-resolution): New
61         customization variable that disable automatic clock resolution on
62         clock in.
63         (org-clock-in): If `org-clock-disable-clock-resolution' is set, do
64         not automatically resolve anything.  This is does not affect
65         idle-time resolution, however, if `org-clock-idle-time' is set.
67 2009-10-19  John Wiegley  <johnw@newartisans.com>
69         * org-habit.el: New file, which implements code to build a "habit
70         consistency graph".
72         * org-agenda.el (org-agenda-get-deadlines)
73         (org-agenda-get-scheduled): Display consistency graphs when
74         outputting habits into the agenda.  The graphs are always relative
75         to the current time.
76         (org-format-agenda-item): Added new parameter `habitp', which
77         indicates whether we are formatting a habit or not.  Do not
78         display "extra" leading information if habitp is true.
80         * org.el (org-repeat-re): Improved regexp to include .+ and ++
81         leaders for repeat strings.
82         (org-get-repeat): Now takes a string parameter `tagline', so the
83         caller can obtain the SCHEDULED repeat, or the DEADLINE repeat.
85 2009-10-19  John Wiegley  <johnw@newartisans.com>
87         * org-agenda.el (org-agenda-auto-exclude-function): New
88         customization variable for allowing the user to create an "auto
89         exclusion" filter for doing context-aware auto tag filtering.
90         (org-agenda-filter-by-tag): Changes to support the use of
91         `org-agenda-auto-exclude-function'.  See the new manual addition,.
93 2009-10-18  John Wiegley  <johnw@newartisans.com>
95         * org.el (org-files-list): Don't attempt to return a file name for
96         Org buffers which have no associated file.
98         * org-agenda.el (org-agenda-do-action): Fixed a typo.
100 2009-10-18  Carsten Dominik  <carsten.dominik@gmail.com>
102         * org-mobile.el (org-mobile-locate-entry): Interpret files
103         relative to org-directory.
104         (org-mobile-inbox-for-pull): Document the best location for this
105         file.
106         (org-mobile-check-setup): Verify `org-directory'.
107         (org-mobile-create-index-file): Sort the files to be listed in
108         index.org.
110 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
112         * org-clock.el (org-clock-resolve, org-resolve-clocks)
113         (org-emacs-idle-seconds): Use `org-float-time' instead of
114         `time-to-seconds'
116 2009-10-17  Carsten Dominik  <carsten.dominik@gmail.com>
118         * org-agenda.el (org-agenda-sorting-strategy): Fix customization
119         type.
121         * org.el (org-pre-cycle-hook): Document that `empty' can also be
122         the value of ARG when doing local cycling.
124 2009-10-17  John Wiegley  <johnw@newartisans.com>
126         * org-clock.el (org-clock-resolve-clock): If keeping or
127         subtracting time results in a clock out at a time in the past, and
128         if the resolution occurred due to idleness or invoking `M-x
129         org-resolve-clocks', remember that past moment in time.  On the
130         next clock in, the user will be prompted to see if they want to
131         back-date their new clock to then.
132         (org-clock-resolve): Do not jump the user to the location of a
133         dangling clock if the resolution is occuring due to an idle
134         timeout.  In that case there is typically only one dangling clock,
135         the active one, and there is no value gained by shuffling their
136         windows around to show it to them.  Being prompted to resolve an
137         idle clock should be as inobtrusive as possible.
138         (org-resolve-clocks-if-idle): New function that resolves only the
139         currently active clock if the user has exceeded the time returned
140         by `org-user-idle-seconds', based on the value of
141         `org-clock-idle-time'.
142         (org-clock-in): If, after resolving clocks, 
143         (org-clock-out): Cancel the `org-clock-idle-timer' on clock out.
145         * org-clock.el (org-clock-resolve-clock): New function that
146         resolves a clock to a specific time, closing or resuming as need
147         be, and possibly even starting a new clock.
148         (org-clock-resolve): New function used by `org-resolve-clocks'
149         that sets up for the call to `org-clock-resolve-clock'.  It
150         determines the time to resolve to based on a single-character
151         selection from the user to either keep time, subtract away time or
152         cancel the clock.
153         (org-resolve-clocks): New user command which resolves dangling
154         clocks -- that is, open but not active -- anywhere in the file
155         list returned by `org-files-list'.
156         (org-clock-in): Automatically resolve dangling clocks whenever a
157         user clocks in.
158         (org-clock-cancel): If the user cancels the solely clock in a
159         LOGBOOK, remove the empty drawer.
161         * org-clock.el (org-clock-idle-time): New user customizable option
162         for detecting whether the user has left a clock idle.  Note: it is
163         only used in this commit to test whether it's worthwhile to check
164         OS X to get the Mac user's current idle time.  If the Emacs idle
165         time is less than the value, the user hasn't been away long enough
166         to be worth checking (a more expensive test than just getting
167         Emacs idle time).
168         (org-user-idle-seconds, org-mac-idle-seconds)
169         (org-emacs-idle-seconds): This three functions, in conjunction
170         with the user customization variable `org-clock-idle-time', return
171         the number of seconds (as a floating point) that the user has been
172         away from their Emacs (or, if running on OS X, their computer).
174         * org-clock.el (org-find-open-clocks): New function that returns a
175         list of all open clocks in the given FILE.  Note that each clock
176         it returns is a cons cell of the format (MARKER . START-TIME).
177         This "clock" value is used by several of the new clock module
178         utility functions.
179         (org-is-active-clock): New inline function which tests whether the
180         given clock value is the same as the currently active clock.
181         Returns non-nil if this is the case.
182         (org-with-clock-position): New macro that evaluates FORMS with
183         point in the buffer and at the position of the given clock.
184         Changes to the current clock are global.
185         (org-with-clock): New macro that evaluates FORMS with point in the
186         buffer and at the position of the given clock.  However, changes
187         to the current clock are local and have no effect on the user's
188         active clock.  This allows, for example, far any clock to be
189         cancelled without cancelling the active clock.
190         (org-clock-clock-in): New inline function that switches the active
191         clock to the given clock.  If either the argument RESUME, or the
192         global `org-clock-in-resume', are non-nil, it will resume a clock
193         that was previously left open.
194         (org-clock-clock-out): New inline function that clocks out the
195         given clock value without affecting the currently active clock.
196         (org-clock-clock-cancel): New inline function that cancels the
197         given clock value without affecting the currently active clock.
199         * org-clock.el (org-clock-in): Before creating
200         `org-clock-mode-line-timer', check to make sure an older timer is
201         not currently running.
202         (org-clock-out): Accept new third parameter `at-time', which
203         permits a clock to be clocked out at a specific time.  Note that
204         no attempt is made to verify that the clock out time is later than
205         the clock in time.
207         * org.el (org-files-list): New utility function for returning a
208         list of all open org-mode buffers, plus all files used to build
209         the agenda buffer.  Note that not all the files will necessarily
210         be visited by a buffer at time of call.
211         (org-entry-beginning-position): Like the function
212         `line-beginning-position', this inline function returns the
213         beginning position of the current heading/entry.
214         (org-entry-end-position): Like the function `line-end-position',
215         this inline function returns the end position of the current
216         heading/entry.
218 2009-10-16  Carsten Dominik  <carsten.dominik@gmail.com>
220         * org-agenda.el (org-agenda-list): Mark the all-todo items line as
221         a header line.
223 2009-10-15  Carsten Dominik  <carsten.dominik@gmail.com>
225         * org-exp.el (org-inlinetask-remove-END-maybe): Declare function.
227 2009-10-14  Carsten Dominik  <carsten.dominik@gmail.com>
229         * org-agenda.el (org-agenda-filter-make-matcher): Allow to filter
230         entries that have no tags.
231         (org-agenda-search-view): New customize group.
232         (org-agenda-search-view-search-words-only): New option.
233         (org-search-view): Implement substring search.
235 2009-10-13  Carsten Dominik  <carsten.dominik@gmail.com>
237         * org.el (org-outline-level): Add doc string.
239 2009-10-12  Carsten Dominik  <carsten.dominik@gmail.com>
241         * org-inlinetask.el (org-inlinetask-export): Re-introduce
242         variable.
243         (org-inlinetask-export-handler): Only export inline task if the
244         user option calls for it.
246 2009-10-10  Carsten Dominik  <carsten.dominik@gmail.com>
248         * org-exp.el (org-export-handle-export-tags): Remove inlinetask
249         END if present.
251 2009-10-07  Carsten Dominik  <carsten.dominik@gmail.com>
253         * org-latex.el (org-export-latex-tables): Don't format in
254         protected regions.
256 2009-10-06  Carsten Dominik  <carsten.dominik@gmail.com>
258         * org-src.el (org-edit-src-code)
259         (org-edit-src-find-region-and-lang, org-edit-src-exit): Handle
260         macro editing.
262         * org-agenda.el (org-prefix-category-max-length): New variable.
263         (org-format-agenda-item): Use `org-prefix-category-max-length'.
264         (org-compile-prefix-format): Set `org-prefix-category-max-length'.
266 2009-10-03  Carsten Dominik  <carsten.dominik@gmail.com>
268         * org-mobile.el (org-mobile-create-index-file): Improve the
269         listing of tags and todo keywords.
271         * org-latex.el (org-export-latex-format-image): New function.
272         (org-export-latex-links): Use `org-export-latex-format-image'.
274 2009-10-02  Carsten Dominik  <carsten.dominik@gmail.com>
276         * org-inlinetask.el (org-inlinetask-get-current-indentation)
277         (org-inlinetask-remove-terminator): New functions.
278         (org-inlinetask-export-handler): Terminate the description list.
280         * org-exp.el (org-export-select-backend-specific-text): Remove the
281         region markers.
283         * org-inlinetask.el (org-inlinetask-export-handler): fix bug for
284         tasks without content.
286         * org-clock.el: Make sure the clock-in target position does not
287         move to a different node by widening the buffer.
289         * org-html.el (org-export-html-format-image): Wrap image into
290         figure div only when there is a caption.
292         * org-archive.el (org-archive-mark-done): Change default value to
293         nil.
295 2009-10-01  Carsten Dominik  <carsten.dominik@gmail.com>
297         * org.el (org-context): Call `bobp', not `eobp'.
299         * org-clock.el (org-clock-cancel): Remove quotes from marker
300         variables.
302         * org.el (org-read-date-prefer-future): New allowed value `time'.
303         (org-read-date-analyze): Shift day to tomorrow depending on time
304         entered and value of `org-read-date-prefer-future'.
306 2009-09-30  Carsten Dominik  <carsten.dominik@gmail.com>
308         * org.el (org-set-tags-to): New command.
310         * org-mobile.el (org-mobile-action-alist): Add more options and
311         update the docstring.
312         (org-mobile-apply-flags): Parse for and use the data.
314         * org-latex.el (org-export-latex-set-initial-vars): Also check in
315         the plist.
317         * org.el (org-additional-option-like-keywords): Add LATEX_CLASS
318         keyword.
320         * org-exp.el (org-infile-export-plist): Add LATEX_CLASS keyword.
322 2009-09-29  Carsten Dominik  <carsten.dominik@gmail.com>
324         * org-inlinetask.el (org-inlinetask-export): Option removed.
325         (org-inlinetask-export-handler): Better export.
327         * org-xoxo.el (org-export-xoxo-final-hook): New hook.
328         (org-export-as-xoxo): Run the new hook.
330         * org-html.el (org-export-html-final-hook): New hook.
331         (org-export-as-html): Run the new hook.
333         * org-docbook.el (org-export-docbook-final-hook): New hook.
334         (org-export-as-docbook): Run the new hook.
336         * org-ascii.el (org-export-ascii-final-hook): New hook.
337         (org-export-as-ascii): Run the new hook.
339         * org-mobile.el (org-mobile-create-sumo-agenda): Call
340         `org-sore-agenda-views' instead of `org-batch-store-agenda-views'.
342         * org-latex.el (org-export-latex-treat-sub-super-char): Allow a
343         space character as the character before the ^/_.
344         (org-export-latex-final-hook): New hook.
345         (org-export-as-latex): Run `org-export-latex-final-hook'.
347 2009-09-28  Carsten Dominik  <carsten.dominik@gmail.com>
349         * org-macs.el (org-if-unprotected-at): Fix docstring.
351         * org-agenda.el (org-agenda-change-all-lines): Handle invisible
352         text in the prefix (if category is a link).
354         * org-latex.el (org-export-latex-preprocess): Deal properly with
355         empty lines in verse environments.
357         * org.el (org-format-latex-header): Inline fullpage.sty.
359         * org-footnote.el (org-footnote-create-definition): Reveal context
360         to add a new footnote definition.
362         * org-mobile.el (org-mobile-files-alist): Add the list of tags to
363         the index file.
364         (org-mobile-files): New option.
365         (org-mobile-files-alist, org-mobile-checksum-files): New variable.
366         (org-mobile-prepare-file-lists, org-mobile-files-alist): New
367         functions.
368         (org-mobile-push): Start by creating the files lists.
369         (org-mobile-copy-agenda-files): Move killing the buffer to after
370         the save-excursion has exited.
371         (org-mobile-write-checksums): Write checksums also for files in
372         sub-directories.
374         * org.el (org-ctrl-c-ctrl-c): Pass prefix arg to
375         org-table-recalculate when cursor is in TBLFM line.
377         * org-list.el (org-renumber-ordered-list): Fix cursor position
378         when bullet length has changed.
380 2009-09-26  Carsten Dominik  <carsten.dominik@gmail.com>
382         * org.el (org-format-latex): Mention `org-format-latex-options' in
383         the docstring.
385 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
387         * org.el (org-agenda-get): New function.
389         * org-agenda.el (org-agenda-post-command-hook): No longer move
390         point away from end of line.
391         (org-agenda-add-entry-text, org-agenda-collect-markers)
392         (org-finalize-agenda, org-agenda-mark-clocking-task)
393         (org-agenda-dim-blocked-tasks, org-agenda-entry-text-show-here)
394         (org-agenda-entry-text-show, org-agenda-highlight-todo)
395         (org-agenda-compare-effort, org-agenda-filter-apply)
396         (org-agenda-later, org-agenda-change-time-span)
397         (org-agenda-post-command-hook, org-agenda-show-priority)
398         (org-agenda-show-tags, org-agenda-goto, org-agenda-kill)
399         (org-agenda-archive, org-agenda-archive-to-archive-sibling)
400         (org-remove-subtree-entries-from-agenda, org-agenda-refile)
401         (org-agenda-open-link, org-agenda-copy-local-variable)
402         (org-agenda-switch-to, org-agenda-check-no-diary)
403         (org-agenda-tree-to-indirect-buffer, org-agenda-todo)
404         (org-agenda-add-note, org-agenda-change-all-lines)
405         (org-agenda-priority, org-agenda-set-tags)
406         (org-agenda-set-property, org-agenda-set-effort)
407         (org-agenda-toggle-archive-tag, org-agenda-date-later)
408         (org-agenda-show-new-time, org-agenda-date-prompt)
409         (org-agenda-schedule, org-agenda-deadline, org-agenda-action)
410         (org-agenda-clock-in, org-agenda-bulk-mark)
411         (org-agenda-bulk-unmark, org-agenda-show-the-flagging-note): Use
412         `org-get-at-bol'.
414         * org-colview.el (org-columns-display-here)
415         (org-columns-edit-allowed, org-agenda-columns): Use
416         `org-get-at-bol'.
418 2009-09-25  Carsten Dominik  <carsten.dominik@gmail.com>
420         * org.el (org-special-ctrl-a/e): Improve documentation and
421         customize type.
422         (org-end-of-line): Don't jump to after the ellipsis.
423         (org-mode-map): Bind <home> and <end> as well.
425 2009-09-24  Carsten Dominik  <carsten.dominik@gmail.com>
427         * org.el (org-fontify-meta-lines-and-blocks): Treat lines with a
428         space after #+ as comments.
429         (org-open-at-point): Run `org-follow-link-hook' always.
431         * org-latex.el (org-export-latex-emph-format): Use better commands
432         to insert special characters in verbatim snippets.
434 2009-09-22  Carsten Dominik  <carsten.dominik@gmail.com>
436         * org-faces.el (org-copy-face): New function.  Use it to create
437         various faces formerly created by using `copy-face'.
439         * org-agenda.el (org-prepare-agenda): Don't officially mark this
440         window dedicated.
441         (org-agenda-quit): Kill the frame containing the agenda window if
442         that frame was created for the agenda.
444 2009-09-21  Carsten Dominik  <carsten.dominik@gmail.com>
446         * org-agenda.el (org-agenda-date-prompt): Mark the changed time
447         stamp in the agenda.
449 2009-09-19  Carsten Dominik  <carsten.dominik@gmail.com>
451         * org-mobile.el (org-mobile-create-index-file): Add the list of
452         TODO keywords, and the list of drawers to the index file.
454         * org-agenda.el (org-prepare-agenda): Reset
455         `org-drawers-for-agenda'.
456         (org-prepare-agenda): Uniquify list of drawers.
458         * org.el (org-complex-heading-regexp-format): New variable.
459         (org-set-regexps-and-options): Define
460         `org-complex-heading-regexp-format'.
461         (org-drawers-for-agenda): New variable.
462         (org-map-entries): Bind `org-drawers-for-agenda'.
463         (org-prepare-agenda-buffers): Add to `org-drawers-for-agenda'.
465         * org-remember.el (org-go-to-remember-target)
466         (org-remember-handler): Use `org-complex-heading-regexp-format'.
468 2009-09-18  Carsten Dominik  <carsten.dominik@gmail.com>
470         * org-agenda.el (org-agenda-highlight-todo): Fix text property
471         problem.
473         * org-mobile.el (org-mobile-capture-file): Use `mobileorg.org' as
474         the capture file, and make it non-configurable.
476         * org.el (org-on-heading-p, org-at-heading-p): Make sure these are
477         always with `invisible-ok'.
478         (org-store-link): No error when there is nothing to link to in the
479         agenda.
481         * org-list.el (org-update-checkbox-count): Insert changed cookie
482         before the old, to avoid problems with invisibility at the end of
483         the line.
484         (org-update-checkbox-count): Insert changed cookie before the old,
485         to avoid problems with invisibility at the end of the line.
487         * org.el (org-sort-entries-or-items): Include the final newline.
488         (org-fontify-meta-lines-and-blocks): Add indented dynamic block
489         lines for fontification.
490         (org-dblock-start-re, org-dblock-end-re): Allow indentation.
491         (org-prepare-dblock): Store the current indentation of the BEGIN
492         line.
493         (org-update-dblock): Apply the indentation of the begin line to
494         the rest of the block.
495         (org-ctrl-c-ctrl-c): Also find indented dblock lines.
496         (org-startup-folded): New allowed value `showeverything'.
497         (org-startup-options): Add STARTUP keyword `showeverything'.
498         (org-set-startup-visibility): Respect value `showeverything' in
499         org-startup-folded.
501 2009-09-17  Carsten Dominik  <carsten.dominik@gmail.com>
503         * org.el (org-closest-date): Fix issue with past preference.
505         * org-mobile.el (org-mobile-apply-flags): Require `org-archive'.
507         * org-archive.el (org-archive-set-tag)
508         (org-archive-subtree-default): New commands.
510         * org-mobile.el (org-mobile-create-index-file): Fix link to
511         capture file.
512         (org-mobile-copy-agenda-files): Create the capture file if it does
513         not exist.
515         * org-clock.el (org-clock-clocktable-default-properties): New
516         option.
517         (org-clock-report): Use
518         `org-clock-clocktable-default-properties'.
520 2009-09-16  Carsten Dominik  <carsten.dominik@gmail.com>
522         * org.el (org-iswitchb-completing-read): Fix typo.
524         * org-crypt.el: New file.
526         * org.el: Add an entry for org-crypt.
528 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
530         * org-agenda.el (org-agenda-menu): Reorganize the menu for more
531         consistency.
532         (org-batch-store-agenda-views): New function.
533         (org-mobile-force-id-on-agenda-items): Mention variable.
534         (org-agenda-title-append): Define variable.
535         (org-write-agenda): New export to Org files.
536         (org-agenda-get-some-entry-text): New arguments INDENT and KEEP.
537         (org-agenda): Allow to keep the restricted file list if a special
538         variable is bound to t.
539         (org-agenda): Define a special agenda view for working on flagged
540         entries.
541         (org-agenda-get-restriction-and-command): List the new agenda
542         view.
543         (org-agenda-show-the-flagging-note): New command.
544         (org-agenda-mode-map): New key `?' for looking at the flagging
545         note.
547         * org.el (org-autoload): Autoload org-mobile.el.
548         (org-org-menu): Add menu commands for MobileOrg in the Org menu.
550         * org-id.el (org-id-get): Fix bug with forcing ID on an item.
552 2009-09-15  Carsten Dominik  <carsten.dominik@gmail.com>
554         * org-table.el (orgtbl-line-start-regexp): Match also TBLNAME
555         statements.
556         (org-table-get-remote-range): Match indented #+TBLNAME
557         statements.
559         * org.el (org-convert-to-odd-levels)
560         (org-convert-to-oddeven-levels): Work also correctly if the file
561         is in outline-mode.
563 2009-09-12  Carsten Dominik  <carsten.dominik@gmail.com>
565         * org.el (org-store-link): When in agenda buffer, link to
566         referenced entry.
567         (org-add-planning-info): Remove spaces at eol.
569         * org-macs.el (org-with-point-at): Add a `lisp-indent-function'
570         property.
572 2009-09-10  Carsten Dominik  <carsten.dominik@gmail.com>
574         * org-latex.el (org-export-latex-first-lines): Fix problem with
575         LaTeX export of first line and selected subtree.
577         * org.el (org-shifttab): Interpret arg differently when using only
578         odd levels.
580 2009-09-09  Bastien Guerry  <bzg@altern.org>
582         * org.el (org-check-agenda-file): Use a more explicit message
584 2009-09-08  Carsten Dominik  <carsten.dominik@gmail.com>
586         * org-exp.el (org-export-remove-special-table-lines): Don't remove
587         normal lines.
589 2009-09-08  Bastien Guerry  <bzg@altern.org>
591         * org.el (org-offer-links-in-entry): Don't use "Select link" as a
592         prompt in the temporary window.
594         * org-agenda.el (org-agenda-bulk-mark): Use a slightly soberer
595         prefix for marked entries in the agenda view.
597 2009-09-07  Andreas Burtzlaff <andy13@gmx.net>  (tiny change)
599         * org.el (outline-end-of-subtree): Bugfix: advise this function in
600         a way that prevents any trailing character from being displayed.
602 2009-09-07  Carsten Dominik  <carsten.dominik@gmail.com>
604         * org-agenda.el (org-agenda-menu): Fix bugs in the bulk action
605         menu.
607         * org-exp.el (org-export-remove-special-table-lines): Remove bad
608         slow regexp match.
610 2009-09-06  Carsten Dominik  <carsten.dominik@gmail.com>
612         * org-latex.el (org-export-latex-preprocess): Do not protect in
613         the LaTeX header.
615         * org-src.el (org-edit-src-save): Save window setup while saving.
616         (org-edit-src-code): Use new buffer name construction scheme.
618 2009-09-04  Carsten Dominik  <carsten.dominik@gmail.com>
620         * org-agenda.el (org-agenda-entry-text-exclude-regexps): New
621         variable.
622         (org-agenda-entry-text-cleanup-hook): New hook.
623         (org-agenda-get-some-entry-text): Remove matches of
624         `org-agenda-entry-text-exclude-regexps' and run the hook
625         `org-agenda-entry-text-cleanup-hook'.
627         * org.el (org-offer-links-in-entry): New argument ZERO to
628         implement a link with index zero.
629         (org-cycle-show-empty-lines): Not keep empty line under header
630         hidden.
631         (org-iswitchb-completing-read): Bind `switchb-use-virtual-buffers'
632         to nil for special completion.
633         (org-store-link): Don't error before the first heading.
635         * org-agenda.el (org-agenda-open-link): Pass the prefix to
636         `org-offer-links-in-entry'.
638 2009-09-03  Carsten Dominik  <carsten.dominik@gmail.com>
640         * org-agenda.el (org-agenda-quit): Provide the window argument for
641         `window-dedicated-p', Emacs 22 needs it.
642         (org-format-agenda-item): If the category is a link, arrange for
643         invisible text to replaced with spaces.
644         (org-compile-prefix-format): Add the extra space.
645         (org-prefix-category-length): New variable.
647         * org-exp.el (org-export-cleanup-toc-line): Remove footnote
648         references from TOC lines.
650         * org.el (org-selected-window): New variable.
652         * org-table.el (org-table-edit-formulas): Remember the selected
653         window.
654         (org-table-fedit-finish, org-table-fedit-abort): Select the window
655         that was originally selected.
657         * org-exp.el (org-export-preprocess-apply-macros): Scan the
658         expansion of a macro for more macro definitions.
660         * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure the
661         invisibility overlay starts on the newline.
663 2009-09-02  Carsten Dominik  <carsten.dominik@gmail.com>
665         * org-protocol.el (org-protocol-store-link)
666         (org-protocol-remember, org-protocol-open-source): Add autoloads.
668         * org-compat.el (org-float-time): New function.
670         * org.el (org-clock-update-time-maybe)
671         (org-sort-entries-or-items, org-do-sort)
672         (org-evaluate-time-range, org-time-string-to-seconds)
673         (org-closed-in-range): Use `org-float-time'.
675         * org-timer.el (org-timer-start, org-timer-pause-or-continue)
676         (org-timer-seconds):  Use `org-float-time'.
678         * org-clock.el (org-clock-get-clocked-time, org-clock-out)
679         (org-clock-sum, org-dblock-write:clocktable)
680         (org-clocktable-steps):  Use `org-float-time'.
682         * org-agenda.el (org-agenda-last-marker-time)
683         (org-agenda-new-marker, org-diary):  Use `org-float-time'.
685         * org-compat.el (w32-focus-frame): Declare the w32-focus-frame
686         function.
688         * org-exp.el (org-get-file-contents): Only protect lines that
689         really need it.
691         * org-html.el (require): Require cl for compilation.
693         * org.el:  Avoid using `default-major-mode'.
695         * org-plot.el (require): Require CL only at compile time.
697         * org-exp.el (require): Require CL only at compile time.
699         * org-agenda.el (org-agenda-quit): When the agenda window is
700         dedicated, remove other windows before exiting, so that the frame
701         really will be killed.
703         * org-exp.el (org-export-handle-include-files): Reset START and
704         END for each loop cycle.
706 2009-09-01  Carsten Dominik  <carsten.dominik@gmail.com>
708         * org.el (org-eval-in-calendar): Use
709         `org-select-frame-set-input-focus'.
711         * org-compat.el (org-select-frame-set-input-focus): New function.
713         * org.el (org-update-statistics-cookies): New function.
714         (org-mode-map): Bind `C-c #' to `org-update-statistics-cookies'.
716 2009-08-31  Carsten Dominik  <carsten.dominik@gmail.com>
718         * org-src.el (org-edit-fixed-width-region): Set org-src-mode only
719         after the local variables are set.
721         * org-latex.el (org-export-latex-protect-amp): New function.
722         (org-export-latex-links): Protect link ampersands in tables.
724         * org-exp.el (org-export-select-backend-specific-text): Match in
725         two steps, to avoid regexp problems.
727         * org.el (org-offer-links-in-entry): Improve working with many and
728         duplicate links.
730         * org-agenda.el (org-agenda-show-1): Make more consistent with
731         normal cycling.
732         (org-agenda-cycle-show): Make more consistent with normal cycling.
734         * org-gnus.el (org-gnus-store-link): Restore the linking to a
735         website.
737 2009-08-30  Bastien Guerry  <bzg@altern.org>
739         * org-latex.el (org-export-latex-first-lines): Bugfix.
741 2009-08-29  Carsten Dominik  <carsten.dominik@gmail.com>
743         * org-clock.el (org-clock-modify-effort-estimate): Emit message
744         about new effort.
746         * org.el (org-set-effort): New function.
747         (org-mode-map): New key for effort setting command.
749         * org-agenda.el (org-agenda): Keep window setup when calling
750         agenda from within agenda window.
751         (org-agenda-mode-map): New keys for effort setting commands.
752         (org-agenda-menu): Add effort setting commands to menu.
753         (org-agenda-set-property, org-agenda-set-effort): New functions.
755         * org-latex.el (org-export-latex-tables): Fix
756         `org-table-last-alignment' and `org-table-last-column-widths' if
757         the first column has been removed.
759 2009-08-28  Carsten Dominik  <carsten.dominik@gmail.com>
761         * org.el (org-remove-timestamp-with-keyword): Only remove in
762         entry, not in subtree.
764         * org-src.el (org-src-lang-modes): Add abbreviation elisp for
765         emacs lisp.
767         * org.el (org-open-at-point): When on headline, offer all strings
768         in entry.
770         * org-remember.el (org-remember-templates): Documentation fix.
772         * org.el (org-move-subtree-down): Use `org-get-next-sibling' and
773         `org-get-last-sibling' instead of the outline versions of these
774         functions.
775         (org-get-last-sibling): New function.
776         (org-refile): Use `org-get-next-sibling' instead of the outline
777         version of this function.
778         (org-clean-visibility-after-subtree-move): Use
779         `org-get-next-sibling' and `org-get-last-sibling' instead of the
780         outline versions of these functions.
782 2009-08-27  Carsten Dominik  <carsten.dominik@gmail.com>
784         * org-agenda.el (org-prepare-agenda): When creating a new frame
785         for the agenda, make the window dedicated.
787         * org-agenda.el (org-agenda-mode-map): New keys for time motion.
789         * org-table.el (org-table-align): Change the order of reinsertion
790         and deletion, to avoid problems with overlays following the table.
792         * org.el (org-parse-time-string): Better error message.
793         (org-show-subtree): Use org-end-of-subtree.
795         * org-macs.el (org-goto-line): New defsubst.
797         * org.el (org-open-file, org-change-tag-in-region)
798         (org-fast-tag-show-exit): Don't use `goto-line'.
800         * org-table.el (org-table-align, org-table-insert-column)
801         (org-table-delete-column, org-table-move-column)
802         (org-table-sort-lines, org-table-copy-region)
803         (org-table-paste-rectangle, org-table-wrap-region)
804         (org-table-get-specials, org-table-rotate-recalc-marks)
805         (org-table-get-range, org-table-recalculate)
806         (org-table-edit-formulas, org-table-fedit-convert-buffer)
807         (org-table-show-reference, org-table-highlight-rectangle): Don't
808         use `goto-line'.
810         * org-src.el (org-edit-src-code, org-edit-fixed-width-region)
811         (org-edit-src-exit): Don't use `goto-line'.
813         * org-macs.el (org-preserve-lc): Don't use `goto-line'.
815         * org-list.el (org-renumber-ordered-list, org-fix-bullet-type):
816         Don't use `goto-line'.
818         * org-exp.el (org-export-number-lines): Don't use `goto-line'.
820         * org-colview.el (org-columns, org-columns-redo)
821         (org-agenda-columns): Don't use `goto-line'.
823         * org-colview-xemacs.el (org-columns, org-agenda-columns): Don't
824         use `goto-line'.
826         * org-agenda.el (org-agenda-mode): Force visual line motion off.
827         (org-agenda-add-entry-text-maxlines): Improve docstring.
828         (org-agenda-start-with-entry-text-mode): New option.
829         (org-agenda-entry-text-maxlines): New option.
830         (org-agenda-entry-text-mode): New variable.
831         (org-agenda-mode): Set initial value of
832         `org-agenda-entry-text-mode'.
833         (org-agenda-mode-map): Add the `E' key.
834         (org-agenda-menu): Add entry text mode to the menu.
835         (org-agenda-get-some-entry-text): Fix line count bug.
836         (org-finalize-agenda): Apply entry text mode if appropriate.
837         (org-agenda-entry-text-show-here): New function.
838         (org-agenda-entry-text-show): New function.
839         (org-agenda-entry-text-hide): New function.
840         (org-agenda-view-mode-dispatch): Add entry text mode to the view
841         key menu.
842         (org-agenda-entry-text-mode): New command.
843         (org-agenda-set-mode-name): Add entry text mode to the mode line
844         string.
845         (org-agenda-undo, org-agenda-get-restriction-and-command)
846         (org-agenda-get-some-entry-text, org-agenda-redo): Don't use
847         `goto-line'.
849 2009-08-26  Bernt Hansen  <bernt@norang.ca>
851         * org-clock.el (org-notify): Bugfix.
853 2009-08-25  Carsten Dominik  <carsten.dominik@gmail.com>
855         * org-agenda.el (org-agenda-open-link): Handle multiple links and
856         check for after-string.
858         * org-gnus.el (org-gnus-store-link): Simplify.
860         * org.el (org-latex-regexps): Don't add extra empty lines for
861         display formulas.
863 2009-08-24  Carsten Dominik  <carsten.dominik@gmail.com>
865         * org-agenda.el (org-agenda-get-some-entry-text): New function.
866         (org-agenda-add-entry-text): Use
867         `org-agenda-get-some-entry-text'.
869         * org.el (org-cycle-separator-lines): Update docstring.
870         (org-cycle-show-empty-lines): Handle negative values for
871         `org-cycle-show-empty-lines'.
873         * org-exp.el (org-export-protect-sub-super): New function.
874         (org-export-normalize-links): Protect the url of plain links from
875         supscript and superscript processing.
877         * org-remember.el (org-remember-escaped-%): New function.
878         (org-remember-apply-template): Use `org-remember-escaped-%' to
879         detect escaped % signs.
881 2009-08-23  Bastien Guerry  <bzg@altern.org>
883         * org-timer.el (org-timer-set-timer): Use `org-notify' and play a
884         sound when showing the notification.
886         * org-clock.el (org-notify): New function.
887         (org-clock-notify-once-if-expired): Use `org-notify'.
889         * org-gnus.el (org-gnus-store-link): Handle `gnus-summary-mode'
890         and `gnus-article-mode' separately.
891         (gnus-summary-article-header): Fix the declare-function.
893 2009-08-23  Carsten Dominik  <carsten.dominik@gmail.com>
895         * org-exp.el (org-export-format-source-code-or-example): Translate
896         language.
898         * org-src.el (org-src-lang-modes): New variable
899         (org-edit-src-code): Translate language.
901         * org-exp.el (org-export-format-source-code-or-example): Deal wit
902         the new structure of the `org-export-latex-listings-langs'
903         variable.
905         * org-latex.el (org-export-latex-listings-langs): Change structure
906         of the variable from plist to alist.
908 2009-08-21  Carsten Dominik  <carsten.dominik@gmail.com>
910         * org.el (org-in-commented-line): New function.
912 2009-08-20  Carsten Dominik  <carsten.dominik@gmail.com>
914         * org.el (org-hide-block-toggle): Make folded blocks searchable.
916 2009-08-19  Friedrich Delgado Friedrichs <friedel@nomaden.org>  (tiny change)
918         * org.el (org-flag-drawer): More useful error.
920 2009-08-19  Carsten Dominik  <carsten.dominik@gmail.com>
922         * org-remember.el (org-remember-apply-template): Use
923         org-icompleting-read.
925         * org-publish.el (org-publish): Use org-icompleting-read.
927         * org-colview.el (org-columns-edit-value, org-columns-new)
928         (org-insert-columns-dblock): Use org-icompleting-read.
930         * org-colview-xemacs.el (org-columns-edit-value)
931         (org-columns-new, org-insert-columns-dblock): Use
932         org-icompleting-read.
934         * org-attach.el (org-attach-delete-one, org-attach-open): Use
935         org-icompleting-read.
937 2009-08-18  Carsten Dominik  <carsten.dominik@gmail.com>
939         * org.el (org-hierarchical-todo-statistics): Improve docstring.
940         (org-version): Return the version text.
941         (org-org-menu): Add a menu entry for the new bug reporter.
942         (org-submit-bug-report): New command.
944         * org-list.el (org-hierarchical-checkbox-statistics): Improve
945         docstring.
947         * org.el (org-emphasis-regexp-components): Add "`" to set of
948         pre-emphasis characters.
950         * org-latex.el (org-export-latex-classes): Always include the soul
951         package.
952         (org-export-latex-emphasis-alist): Use \st for strikethough.
954         * org-exp-blocks.el (org-export-blocks-preprocess): Use
955         `indent-code-rigidly' to indent.
957         * org-agenda.el (org-agenda-get-restriction-and-command): Remove
958         properties only if MATCH really is a string.
960 2009-08-16  Carsten Dominik  <carsten.dominik@gmail.com>
962         * org-latex.el (org-export-latex-packages-alist): Fix
963         customization type.
965         * org.el (org-create-formula-image): Also use
966         `org-export-latex-packages-alist'.
968         * org-html.el (org-export-as-html): Fix bug in footnote regexp.
969         (org-export-as-html): Format footnotes correctly.
971 2009-08-14  Carsten Dominik  <carsten.dominik@gmail.com>
973         * org.el (org-fast-tag-selection): Avoid text properties on tags
974         in the alist.
976         * org-agenda.el (org-agenda-get-restriction-and-command): Avoid
977         text properties on the match element.
979 2009-08-12  Carsten Dominik  <carsten.dominik@gmail.com>
981         * org.el (org-set-regexps-and-options): Make sure the list of done
982         keywords is not invalid.
984         * org-exp.el (org-export-interpolate-newlines): New function.
986 2009-08-11  Carsten Dominik  <carsten.dominik@gmail.com>
988         * org.el (org-format-latex): Avoid nested overlays.
990         * org-latex.el (org-export-latex-listings-langs): Add a few more
991         languages.
993         * org-exp.el (org-export-preprocess-apply-macros): Make sure to
994         ignore newlines and space before the first macro argument.
996         * org-latex.el (org-export-latex-tables): Remove save-excursion
997         around `org-table-align'.
999 2009-08-10  Carsten Dominik  <carsten.dominik@gmail.com>
1001         * org.el (org-export-html-special-string-regexps): Definition
1002         moved into org.el
1004         * org-exp.el (org-export-preprocess-apply-macros): Allow newlines
1005         in macro calls.
1007 2009-08-09  Carsten Dominik  <carsten.dominik@gmail.com>
1009         * org-latex.el (org-export-latex-listings)
1010         (org-export-latex-listings-langs): New options.
1012         * org-exp.el (org-export-format-source-code-or-example): Use
1013         listing package if requested by the user.
1015 2009-08-08  Bastien Guerry  <bzg@altern.org>
1017         * org.el (org-iswitchb): Fix bug when aborting the `org-iswitchb'
1018         command before actually switching to a buffer.
1020 2009-08-07  Carsten Dominik  <carsten.dominik@gmail.com>
1022         * org-exp.el (org-get-file-contents): Only quote org lines when
1023         the markup is src or example.
1025         * org-agenda.el (org-agenda-skip-scheduled-if-deadline-is-shown):
1026         New option
1027         (org-agenda-get-day-entries): Remember deadline results and pass
1028         them on into the function getting the scheduling information.
1029         (org-agenda-get-scheduled): Accept deadline results as parameters
1030         and maybe skip some entries.
1031         (org-agenda-skip-scheduled-if-deadline-is-shown): New option.
1033         * org.el (org-insert-heading): When respecting content, do not
1034         convert current line to headline.
1036         * org-clock.el (org-clock-save-markers-for-cut-and-paste): Also
1037         cheeeeeck the hd marker
1038         (org-clock-in): Also set the hd marker.
1039         (org-clock-out): Also set the hd marker.
1040         (org-clock-cancel): Reset markers.
1042         * org.el (org-clock-hd-marker): New marker.
1044         * org-faces.el (org-agenda-clocking): New face.
1046         * org-agenda.el (org-agenda-mark-clocking-task): New function.
1047         (org-finalize-agenda): call `org-agenda-mark-clocking-task'.
1049         * org.el (org-modules): Add org-track.el.
1051         * org-agenda.el (org-agenda-bulk-marked-p): New function.
1052         (org-agenda-bulk-mark, org-agenda-bulk-unmark): Use
1053         `org-agenda-bulk-marked-p'.
1054         (org-agenda-bulk-toggle): New command.
1056 2009-08-06  Carsten Dominik  <carsten.dominik@gmail.com>
1058         * org.el (org-move-subtree-down): Hide subtree if it was folded,
1059         not just the body.
1061         * org-remember.el (org-remember-finalize): Avoid buffer-modified
1062         messages.
1080 2009-08-05  Carsten Dominik  <carsten.dominik@gmail.com>
1082         * org-latex.el (org-export-latex-first-lines): Fix bug with
1083         finding the end of the first lines.
1085         * org.el (org-create-formula-image): Remove the -E option for
1086         dvipng.
1088         * org-exp.el (org-default-export-plist): Respect #+BIND.
1089         (org-export-confirm-letbind): New function.
1091         * org.el (org-paste-subtree): Test the kill ring entry if it is
1092         going to be used.
1093         (org-copy-subtree): Use `org-forward-same-level'.
1094         (org-forward-same-level): Respect the `invisibe-ok' arg for
1095         back-to-heading.
1097 2009-08-04  Carsten Dominik  <carsten.dominik@gmail.com>
1099         * org.el (org-table-map-tables): Make sure cursor is back at table
1100         beginning after funcall.
1102         * org-agenda.el (org-agenda-bulk-action): Make sure parents are
1103         handled before children, and do not error if an entry is not
1104         found, probably because it hase been remove when the parent was
1105         archived or refiled.
1107         * org.el (org-ido-completing-read): Accept straight lists for
1108         completion as well as alists.
1110         * org-html.el (org-export-as-html): Fix parenthesis error in
1111         footnore code.
1113         * org-timer.el (org-timer-cancel-timers): Renamed from
1114         `org-timer-cancel-timers'.
1116         * org.el (org-cycle-internal-local): Fix problem with finding next
1117         invisible line.
1119 2009-08-03  Carsten Dominik  <carsten.dominik@gmail.com>
1121         * org-list.el (org-list-send-list): Call
1122         `org-list-goto-true-beginning' instead of
1123         `org-list-find-true-beginning', which does not exist.
1125         * org-timer.el (org-timer-reset-timers): Use `mapc'.
1126         (org-timer-set-timer): Do not assign to heading.
1128         * org-id.el (org-id-open): Quote function name.
1130         * org-macs.el (org-unmodified): Turn off recording undo
1131         information while running inside the macro.
1133         * org-indent.el (org-hide-leading-stars-before-indent-mode): New
1134         variable.
1135         (org-indent-mode): Remember and restore value of
1136         org-hide-leading-stars before `org-indent-mode'.
1138         * org-table.el (org-table-export): Also work in file-less
1139         buffers.
1141         * org.el (org-startup-indented): New option.
1142         (org-startup-options): Add new options indent and noindent.
1143         (org-unfontify-region): Remove line-prefix and wrap-prefix
1144         properties.
1145         (org-after-demote-entry-hook, org-after-promote-entry-hook): New
1146         hooks.
1147         (org-promote, org-demote): Run the new hooks.
1149         * org-table.el (org-table-align): Replace leading \n as well.
1151         * org-exp.el (org-export-push-to-kill-ring): Remove `line-prefix'
1152         and `line-wrap' text properties.
1154         * org-compat.el (org-kill-new): New function.
1156         * org-agenda.el (org-format-agenda-item): Remove `line-prefix' and
1157         `line-wrap' text properties.
1159         * org-indent.el: New file.
1161 2009-08-02  Carsten Dominik  <carsten.dominik@gmail.com>
1163         * org.el (org-provide-todo-statistics): Tweak docstring.
1165         * org-id.el (org-id-open): Honor `org-link-frame-setup'.
1167 2009-08-01  Carsten Dominik  <carsten.dominik@gmail.com>
1169         * org-exp.el (org-export-as-org): Insert the "-source" string
1170         before the extension.
1172         * org.el (org-read-date): Make sure the calendar is in the current
1173         frame.
1174         (org-set-emph-re): Remove the ? from the post-match.
1175         (org-emphasis-regexp-components): Add backslash to the
1176         postmatch class.
1177         (org-set-font-lock-defaults): Write \n instead of \xa, and make it
1178         optional so that also lines at the end of the buffers will still
1179         be matched as headlines.
1181         * org-table.el (org-table-error-on-row-ref-crossing-hline):
1182         Variable made obsolete.
1183         (org-table-relative-ref-may-cross-hline): New option.
1184         (org-table-find-row-type): Honow the new option
1185         `org-table-relative-ref-may-cross-hline'.
1187 2009-07-31  Carsten Dominik  <carsten.dominik@gmail.com>
1189         * org-table.el (org-table-cut-region, org-table-copy-region): Work
1190         on single field if no active region.
1192 2009-07-27  Carsten Dominik  <carsten.dominik@gmail.com>
1194         * org-latex.el (org-export-latex-make-header): Only insert title
1195         if one is defined.
1197         * org.el (org-make-options-regexp): Allow empty values.
1199         * org-html.el (org-export-as-html): Move hrule detection to after
1200         plain list handling.
1202 2009-07-26  Carsten Dominik  <carsten.dominik@gmail.com>
1204         * org-html.el (org-format-org-table-html): Fix colgroup tags.
1206 2009-07-23  Carsten Dominik  <carsten.dominik@gmail.com>
1208         * org.el (org-cycle-internal-local): Improved version of finding
1209         next visible line.
1210         (org-cycle-hide-drawers): Only hide drawers if this is really
1211         necessary.
1212         (outline-end-of-subtree): Make `outline-end-of-subtree' use the
1213         org-version of this function in Org-mode.  We use advice to
1214         implement this change, so that future changes to this function in
1215         outline.el wil be handled properly.
1216         (org-forward-same-level, org-backward-same-level): New commands.
1218 2009-07-21  Carsten Dominik  <carsten.dominik@gmail.com>
1220         * org.el (org-remove-empty-overlays-at)
1221         (org-clean-visibility-after-subtree-move): New functons.
1222         (org-move-subtree-down): Simplify cleanup of display.
1224 2009-07-20  Carsten Dominik  <carsten.dominik@gmail.com>
1226         * org-mac-message.el (org-mac-message-get-links): Improve
1227         docstring.  Make argument SELECT-OR-FLAGGED optional, default to
1228         "s".  Fix the return value.
1229         (org-mac-message-insert-flagged): Simplify.
1231         * org.el (org-refile-get-location): Tamper with refile history o
1232         that history contains compete matches instead of the entered
1233         string.
1235 2009-07-19  Carsten Dominik  <carsten.dominik@gmail.com>
1237         * org.el (org-store-link): Never store a link to an inline task.
1239         * org-inlinetask.el (org-inlinetask-insert-task): New command.
1241         * org-footnote.el (org-footnote-goto-local-insertion-point): Skip
1242         inline tasks when positioning footnotes.
1244         * org-inlinetask.el (org-inlinetask-remove-END-maybe): New
1245         function.
1247         * org.el (org-refile): Remove the END line when archiving an
1248         inline task that does have an END line.
1250         * org-archive.el (org-archive-subtree): Remove the END line when
1251         archiving an inline task that does have an END line.
1253         * org-macs.el (org-with-limited-levels): New macro.
1254         (org-get-limited-outline-regexp): New function.
1256         * org-exp.el (org-export-format-source-code-or-example): Fix bug
1257         that did not enumerate first line.
1258         (org-export-mark-radio-links): Skip matches in links.
1260 2009-07-18  Carsten Dominik  <carsten.dominik@gmail.com>
1262         * org.el (org-activate-plain-links): Make single-match.
1263         (org-adapt-indentation): Fix docstring.
1265         * org-macs.el (org-unmodified): Turn of modification hooks while
1266         running this macro.
1268 2009-08-02  Bastien Guerry  <bzg@altern.org>
1270         * org.el (org-adapt-indentation): Slightly improve the docstring.
1271         (org-occur): Sends an error when the user inputs an empty string.
1272         (org-priority): Bugfix: the tag alignement should happen within
1273         save-excursion.
1275 2009-07-31  Bastien Guerry  <bzg@altern.org>
1277         * org.el (org-make-link-regexps): Don't exclude parentheses from
1278         `org-plain-link-re'
1279         (org-cycle-internal-local): When locally cycling, switch directly
1280         from CHILDREN to FOLDED if there is no subtree
1281         (org-cycle): Update the docstring to document the new behavior of
1282         `org-cycle-internal-local'.
1284 2009-07-29  Nicolas Goaziou <n.goaziou@neuf.fr>  (tiny change)
1286         * org-clock.el (org-clock-in): Bugfix: recognize timestamps with
1287         an abbreviated format for days.
1289 2009-07-27  Bastien Guerry  <bzg@altern.org>
1291         * org-protocol.el (org-protocol-default-template-key): New
1292         option.
1294         * org.el (org-refile): Bugfix: save-excursion before reading the
1295         refile target, otherwise cursor moves might confuse `org-refile'.
1297         * org-html.el (org-export-as-html): Bugfix: correctly convert the
1298         footnote reference before the footnote itself.
1300         * org.el (org-toggle-heading): Bugfix: correctly convert list
1301         items before the first headline.
1303         * org-html.el (org-export-html-footnote-format): New option for
1304         formatting the footnote reference.
1305         (org-export-as-html): Use the new option.
1307         * org.el (org-provide-todo-statistics): Allow a list of TODO
1308         keywords to compute statistics against headlines containing a
1309         keyword from this list.
1310         (org-update-parent-todo-statistics): Possibly use the new allowed
1311         value of `org-provide-todo-statistics'.
1313 2009-07-26  Bastien Guerry  <bzg@altern.org>
1315         * org-timer.el: Add autoload cookie.
1317         * org.el (org-occur-link-in-agenda-files): New function.
1319         * org-timer.el (org-timer-last-timer): New variable.
1321         * org-agenda.el (org-agenda-mode-map): New key for
1322         org-timer-set-timer called from the agenda.
1324         * org.el (org-mode-map): New key for org-timer-set-timer.
1326         * org-timer.el (org-timer-reset-timers)
1327         (org-timer-show-remaining-time, org-timer-set-timer): New
1328         functions.
1330         * org-clock.el (org-show-notification): Update the docstring.
1332         * org.el (org-provide-todo-statistics): Allow new value
1333         'all-headlines for this option, which includes entries with no
1334         TODO keywords in the todo statistics.
1335         (org-update-parent-todo-statistics): Possibly use the new
1336         'all-headline value from `org-provide-todo-statistics'.
1338 2009-07-25  Bastien Guerry  <bzg@altern.org>
1340         * org-clock.el (org-dblock-write:clocktable): Add a new option
1341         :timestamp which allows display of timestamps in clock reports.
1343         * org.el (org-mode-map): Define new key `C-c C-*': convert a plain
1344         list to a subtree, preserving the structure of the list.
1345         (org-set-emph-re): Make the last element optional in the regexp.
1346         This regexp now matches an emphasized string at the end of a line.
1348         * org-list.el (org-list-goto-true-beginning)
1349         (org-list-make-subtree, org-list-make-subtrees): New functions.
1351         * org.el (org-eval-in-calendar): Select the right frame.
1352         (org-save-frame-excursion): Remove this macro.
1354 2009-07-24  Bastien Guerry  <bzg@altern.org>
1356         * org-list.el (org-list-beginning-re): Bugfix: don't use * when
1357         trying to find the beginning of a list.
1359         * org-exp.el (org-get-file-contents): Use a new argument: markup.
1360         When present, tell org-get-file-contents not to protect org-like
1361         lines.
1363         * org-id.el (org-id-uuid-program): New option to set the name of
1364         the uuidgen program.
1365         (org-id-method): Use `org-id-uuid-program'.
1366         (org-id-new): Use `org-id-uuid-program'.
1368 2009-07-23  Bastien Guerry  <bzg@altern.org>
1370         * org-exp.el (org-export-number-lines): Allow whitespace in code
1371         references.  Allow the -r switch to remove the references in the
1372         source code even when the lines are not numbered: the labels can
1373         be explicit enough.
1375         * org.el (org-fontify-whole-heading-line): New option.
1376         (org-set-font-lock-defaults): Use the new option.
1378         * org-clock.el (org-show-notification-handler): New option.
1379         (org-show-notification): Use the new option.
1381 2009-07-21  Bastien Guerry  <bzg@altern.org>
1383         * org.el (org-eval-in-calendar): Fix a bug about calendar
1384         navigation when `calendar-setup' value is 'calendar-only.
1386 2009-07-19  Bastien Guerry  <bzg@altern.org>
1388         * org.el (orgstruct++-mode): Fix typo in docstring.
1389         (org-insert-link): Clean up: (or (...)) => (...)
1390         (org-insert-link): Use TAB for stored links completion.
1392 2009-07-18  Bastien Guerry  <bzg@altern.org>
1394         * org.el (org-get-refile-targets): Fix bug: don't ignore case when
1395         building the list of targets.
1397         * org-remember.el (org-remember-delete-empty-lines-at-end): New
1398         option.
1399         (org-remember-handler): Use the new option.
1401 2009-07-17  James TD Smith  <ahktenzero@mohorovi.cc>
1403         * org.el (org-tags-sort-function): New option for sorting tags.
1404         (org-set-tags): Use the new option to sort tags.
1406         * org-plot.el (org-plot/gnuplot): Run with an idle timer to avoid
1407         premature deletion of the data when using org-plot in a script.
1409 2009-07-17  Bastien Guerry  <bzg@altern.org>
1411         * org-clock.el (org-clock-in-prepare-hook): New hook.
1412         (org-clock-in): Use this new hook.
1414 2009-07-16  Bastien Guerry  <bzg@altern.org>
1416         * org.el (org-special-ctrl-a/e): Explicitely bind the value
1417         'reversed for this option to the "true line boundary first"
1418         behavior.
1419         (org-tags-match-list-sublevels): Document the 'indented value for
1420         this variable.
1422         * org-latex.el (org-export-latex-first-lines): Fix problem with
1423         publishing the region.
1425         * org-exp.el (org-export-format-source-code-or-example): Fix
1426         bad line numbering when exporting examples in HTML.
1428 2009-07-12  James TD Smith  <ahktenzero@mohorovi.cc>
1430         * org-colview.el (org-format-time-period): Formats a time in
1431         fractional days as days, hours, mins, seconds.
1432         (org-columns-display-here): Add special handling for SINCE and
1433         SINCE_IA to format for display.
1435         * org.el (org-time-since): Add a function to get the time since an
1436         org timestamp.
1437         (org-entry-properties): Add two new special properties: SINCE and
1438         SINCE_IA. These give the time since any active or inactive
1439         timestamp in an entry.
1440         (org-special-properties): Add SINCE, SINCE_IA.
1441         (org-tags-sort-function): Add custom declaration for tags
1442         sorting function.
1443         (org-set-tags): Sort tags if org-tags-sort-function is set
1445 2009-07-08  Carsten Dominik  <carsten.dominik@gmail.com>
1447         * org-clock.el (org-clock-goto): Find hidden headlines as well.
1449         * org.el (org-narrow-to-subtree): Find hidden headlines as well.
1451         * org-plot.el (org-plot/add-options-to-plist): Add timeind
1452         option.
1454 2009-07-07  Carsten Dominik  <carsten.dominik@gmail.com>
1456         * org-publish.el (org-publish-remove-all-timestamps): New function.
1457         (org-publish-all): Remove all timestamp files if `org-publish-all'
1458         is called with a prefix argument.
1460         * org-list.el (org-indent-item): Fix typo.
1461         (org-item-indent-positions): Normalize ordered bullet.
1463         * org-html.el (org-export-html-home/up-format): New option.
1464         (org-export-as-html): Insert the up and HOME links.
1466 2009-07-06  Carsten Dominik  <carsten.dominik@gmail.com>
1468         * org-html.el (org-export-as-html): Insert the title into the
1469         option plist.
1470         (org-export-html-insert-plist-item): New function.
1471         (org-export-as-html): Call `org-export-html-insert-plist-item'.
1473         * org-macs.el (org-set-local): Make a local variable, do not make
1474         the variable buffer-local!
1476         * org-latex.el (org-export-as-latex): Call `org-install-letbind'.
1478         * org-html.el (org-export-as-html): Call `org-install-letbind'.
1480         * org-docbook.el (org-export-as-docbook): Call
1481         `org-install-letbind'.
1483         * org-ascii.el (org-export-as-ascii): Call `org-install-letbind'.
1485         * org-exp.el (org-infile-export-plist): Read BIND lines.
1486         (org-install-letbind): New function.
1487         (org-export-as-org, org-export-preprocess-string): Call
1488         `org-install-letbind'.
1490         * org-src.el (org-edit-src-exit): Untabify the example before
1491         returning to Org.
1493         * org-list.el (org-list-demote-modify-bullet): New option.
1494         (org-first-list-item-p): Save point.
1495         (org-fix-bullet-type): New optional argument FORCE-BULLET.
1496         (org-indent-item): Honor `org-list-demote-modify-bullet'.
1497         (org-item-indent-positions): Return bullet types along with
1498         indentation.
1500 2009-07-05  Carsten Dominik  <carsten.dominik@gmail.com>
1502         * org.el (org-show-entry): Hide drawers.
1504 2009-07-03  Carsten Dominik  <carsten.dominik@gmail.com>
1506         * org-footnote.el (org-footnote-auto-adjust): New option.
1507         (org-footnote-auto-adjust-maybe): New function.
1508         (org-footnote-new, org-footnote-delete): Call
1509         `org-footnote-auto-adjust-maybe'.
1511         * org.el (org-startup-options): Add new footnote-related
1512         keywords.
1514         * org-publish.el (org-publish-timestamp-filename): Additional
1515         arguments PUB-DIR and PUB-FUNC, which are included in the hash.
1516         (org-publish-needed-p): Additional arguments PUB-DIR PUB-FUNC
1517         TRUE-PUB-DIR.  Pass them through to
1518         `org-publish-timestamp-filename'.
1519         (org-publish-update-timestamp): Additional arguments PUB-DIR and
1520         PUB-FUNC, which are included in the hash.
1521         (org-publish-file): Delay timestamp test until the publishing
1522         function is known.
1524 2009-07-02  Carsten Dominik  <carsten.dominik@gmail.com>
1526         * org-agenda.el (org-agenda-bulk-action): Add scheduling and
1527         setting the deadline.
1529         * org.el (org-read-date-final-answer): New variable.
1530         (org-read-date): Store the final answer string, including the date
1531         from the calendar, for reuse by agenda bulk commands.
1533         * org-publish.el (org-publish-attachment): Fix publishing of
1534         attachments.
1536         * org-latex.el (org-export-latex-quotation-marks): Fix export of
1537         quotation makrs in parenthesis.
1538         (org-remove-initial-hash): New function.
1539         (org-export-latex-preprocess): Fix bug with infinite loop if
1540         environment is not properly closed.
1542         * org-table.el (org-table-get-remote-range): Find #+TBLNAME also
1543         when indented.
1545         * org.el (org-fontify-meta-lines-and-blocks): Make #+TBLNAME
1546         highlight also when indented.
1548 2009-07-01  Carsten Dominik  <carsten.dominik@gmail.com>
1550         * org-footnote.el (org-footnote-renumber-fn:N): New command.
1551         (org-footnote-action): Offer renumbering.
1553         * org.el (org-cycle): Honor the `integrate' value of
1554         org-cycle-include-plain-lists'.
1556         * org-list.el (org-cycle-include-plain-lists): New allowed value
1557         `internal'.  Improve the docstring.
1559         * org.el (org-set-autofill-regexps): Improve the paragraph-start
1560         regexp to work better with LaTeX commands.
1562 2009-06-30  Carsten Dominik  <carsten.dominik@gmail.com>
1564         * org-feed.el (org-feed-update): fix problem with non-existing
1565         buffer.
1566         (org-feed-skip-http-headers): New function.
1567         (org-feed-get-feed): Call `org-feed-skip-http-headers'.
1568         (org-feed-get-feed): Fix command line arguments for curl.
1570 2009-06-28  Carsten Dominik  <carsten.dominik@gmail.com>
1572         * org-latex.el (org-export-latex-inline-image-extensions): Add ps
1573         and eps extensions.
1575 2009-06-27  Carsten Dominik  <carsten.dominik@gmail.com>
1577         * org-agenda.el (org-write-agenda): Make sure org-icalendar is
1578         loaded.
1580         * org.el (org-map-entries): No longer force
1581         `org-tags-match-list-sublevels' to t during a todo-only tags
1582         search.
1584 2009-06-26  Carsten Dominik  <carsten.dominik@gmail.com>
1586         * org-latex.el (org-export-latex-low-levels): Allow user-defined
1587         environment.
1588         (org-export-latex-subcontent): Handle user-defined environment.
1590         * org-agenda.el (org-agenda-view-mode-dispatch): Add more keys to
1591         the View dispatcher.
1593         * org.el (org-hide-block-toggle): Use `org-make-overlay' instead of
1594         `make-overlay'.
1596         * org-latex.el (org-export-as-pdf): Protect match data during call
1597         to shell-quote-argument.
1599         * org-agenda.el (org-agenda-mode-map): Modify bulk action keys.
1600         (org-agenda-view-mode-dispatch): New function.
1602 2009-06-24  Carsten Dominik  <carsten.dominik@gmail.com>
1604         * org-agenda.el (org-agenda-mode): Reset list of marks.
1605         (org-agenda-mode-map): Define new keys for refile and bulk action.
1606         (org-agenda-menu): Add menu itesm for refile and bulk action.
1607         (org-agenda-refile): New function.
1608         (org-agenda-set-tags): Optional arguments TAG and ONOFF.
1609         (org-agenda-marked-entries): New variable.
1610         (org-agenda-bulk-select, org-agenda-remove-bulk-action-overlays)
1611         (org-agenda-remove-all-bulk-action-marks)
1612         (org-agenda-bulk-action): New functions/commands.
1614 2009-06-23  Carsten Dominik  <carsten.dominik@gmail.com>
1616         * org-exp.el (org-get-file-contents): Protect org-like lines in
1617         included files.
1618         (org-export-format-source-code-or-example): Remove newlines.
1620         * org-latex.el (org-export-latex-links): Check for no-description
1621         marking.
1623         * org-exp.el (org-export-preprocess-apply-macros): Switch macro
1624         argument separator back to comma.
1625         (org-export-normalize-links): Mark links without description.
1627 2009-06-22  Carsten Dominik  <carsten.dominik@gmail.com>
1629         * org-exp.el (org-infile-export-plist): Fix bug in macro
1630         processing.
1632         * org-agenda.el (org-agenda-clock-out): Update line after clocking
1633         out.
1634         (org-agenda-highlight-todo): Fix bug with highlighting.
1636 2009-06-21  Carsten Dominik  <carsten.dominik@gmail.com>
1638         * org.el (org-set-font-lock-defaults): Adapt formatting to capture
1639         new alignment strings.
1641         * org-table.el (orgtbl-self-insert-command): Add yas/expand to
1642         command list.
1643         (org-table-align): Check for forced align type.
1645         * org.el (org-self-insert-command): Add yas/expand to command
1646         list.
1648         * org-clock.el (org-clock-in-hook): New hook.
1649         (org-clock-in): Run `org-clock-in-hook.
1650         (org-clock-out-hook): New hook.
1651         (org-clock-out): Run `org-clock-out-hook.
1652         (org-clock-cancel-hook): New hook.
1653         (org-clock-cancel): Run `org-clock-cancel-hook.
1654         (org-clock-goto-hook): New hook.
1655         (org-clock-goto): Run `org-clock-goto-hook.
1657 2009-06-20  Carsten Dominik  <carsten.dominik@gmail.com>
1659         * org.el (org-store-link): Better default description for link to
1660         Org-mode headline.
1662         * org-exp.el (org-export-generic): Autoload the generic exporter
1663         function.
1664         (org-export): Implement the `g' key for the generic exporter.
1666 2009-06-19  Carsten Dominik  <carsten.dominik@gmail.com>
1668         * org-table.el (orgtbl-setup): Add a binding for `S-iso-lefttab',
1669         and for zbacktab'.
1671         * org-exp-blocks.el (org-ditaa-jar-path): Fix default ditaa path.
1673         * org-exp.el (org-infile-export-plist): Get macros also from
1674         #+SETUPFILE.
1676 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
1678         * org-colview.el (org-columns-capture-view): Protect vertical bars
1679         in column values.
1680         (org-columns-capture-view): Exclude comment and archived trees.
1682         * org-colview-xemacs.el (org-columns-capture-view): Protect
1683         vertical bars in column values.
1684         (org-columns-capture-view): Exclude comment and archived trees.
1686         * org.el (org-quote-vert): New function.
1688         * org-latex.el (org-export-latex-verbatim-wrap): New option.
1690         * org-exp.el (org-export-format-source-code-or-example): Use
1691         `org-export-latex-verbatim-wrap'.
1693         * org.el (org-clone-subtree-with-time-shift): Also shift inactive
1694         time stamps.
1696         * org-html.el (org-export-table-row-tags): New option.
1697         (org-format-org-table-html): Rename `nlines' to `nline', use new
1698         option.
1701 2009-06-17  Carsten Dominik  <carsten.dominik@gmail.com>
1703         * org-exp-blocks.el: Declare functions and variables.
1705         * org-remember.el (org-remember-templates): Allow the headline
1706         element to be a function.
1707         (org-remember-apply-template): If the headline is a function, call
1708         it to get the true function.
1710         * org-clock.el (org-clock-menu): New function.
1711         (org-clock-update-mode-line): Update help string.
1712         (org-clock-modify-effort-estimate): New function.
1713         (org-clock-mark-default-task): New function.
1715         * org.el (org-hh:mm-string-to-minutes): Also take just a number of
1716         minutes as input.
1717         (org-org-menu): Add new clocking stuff.
1718         (org-clock-is-active): New function.
1720 2009-06-14  Carsten Dominik  <carsten.dominik@gmail.com>
1722         * org.el (org-open-non-existing-files): Improve docstring.
1724 2009-06-11  Carsten Dominik  <carsten.dominik@gmail.com>
1726         * org-icalendar.el (org-icalendar-include-bbdb-anniversaries): New
1727         option.
1728         (org-export-icalendar): Call `org-bbdb-anniv-export-ical'.
1730         * org-bbdb.el (org-bbdb-anniv-export-ical): New function.
1732         * org-list.el (org-get-checkbox-statistics-face): Use the new
1733         faces.
1735         * org-faces.el (org-checkbox-statistics-todo)
1736         (org-checkbox-statistics-done): New faces.
1738 2009-06-09  Carsten Dominik  <carsten.dominik@gmail.com>
1740         * org-src.el (org-src-mode): Renamed from `org-exit-edit-mode'.
1741         (org-edit-src-exit): Better cursor positioning when returning from
1742         editing.
1744         * org-latex.el (org-export-latex-use-verb): New variable.
1745         (org-export-latex-emph-format): Prefer \texttt over \verb when
1746         org-export-latex-use-verb is set.
1748 2009-06-08  Carsten Dominik  <carsten.dominik@gmail.com>
1750         * org-docbook.el (org-export-docbook-close-lists-maybe): Also look
1751         at normal indentation.
1753         * org-html.el (org-export-html-close-lists-maybe): Also look at
1754         normal indentation.
1756         * org-remember.el (org-remember-handler): Abort remember if the
1757         buffer is empty.
1759         * org-src.el (org-edit-src-content-indentation): New option.
1760         (org-edit-src-exit): Apply extra indentation.
1762         * org-exp.el (org-export-format-source-code-or-example): Run
1763         `org-src-mode-hook'.
1765         * org-src.el (org-src-mode-hook): New variable.
1766         (org-edit-src-code): Run `org-src-mode-hook'.
1768 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
1770         * org.el (org-indent-line-function): Fix indentation of +#end lines.
1772         * org-src.el (org-edit-src-get-indentation): New function.
1773         (org-edit-src-code): Base indentation on the begin line.
1775 2009-06-07  Tassilo Horn  <tassilo@member.fsf.org>
1777         * org-gnus.el (org-gnus-store-link): Require message.el in
1778         org-gnus-store-link.
1780 2009-06-07  Carsten Dominik  <carsten.dominik@gmail.com>
1782         * org-src.el: New file, split out of org.el
1784         * org-docbook.el (org-export-as-docbook): Better indentation
1785         treatment.
1787         * org-macs.el (org-replace-match-keep-properties): New function.
1789         * org-exp.el (org-export-mark-blockquote-verse-center): Better
1790         preprocessing of center and quote and verse blocks.
1792         * org-docbook.el (org-export-docbook-close-lists-maybe): New function.
1793         (org-export-as-docbook): Close lists when original indentation
1794         mandates it.
1796         * org-html.el (org-export-html-close-lists-maybe): New function.
1797         (org-export-as-html): Close lists when original indentation
1798         mandates it.
1800         * org-list.el (org-list-end): Respect the stored "original"
1801         indentation when determining the end of the list.
1803         * org-exp.el (org-export-replace-src-segments-and-examples):
1804         Remember indentation correctly.
1806 2009-06-06  Carsten Dominik  <carsten.dominik@gmail.com>
1808         * org-clock.el (org-clock-update-mode-line): Apply face
1809         org-mode-line-clock.
1811         * org-faces.el (org-mode-line-clock): New face.
1813 2009-06-05  Tassilo Horn  <tassilo@member.fsf.org>
1815         * org-gnus.el (org-gnus-store-link): Fix bug where
1816         `org-gnus-store-link' used wrong subject when called in an article
1817         buffer.  Patch provided by fengli AT gmail DOT com.
1819 2009-06-04  Carsten Dominik  <carsten.dominik@gmail.com>
1821         * org-exp.el (org-export-format-source-code-or-example): Remember
1822         the original indentation of source code snippets and examples.
1824         * org-latex.el (org-export-as-latex): Relocate the table of
1825         contents.
1827         * org.el (org-ctrl-c-ctrl-c): Update clock lines.
1829         * org-agenda.el (org-run-agenda-series): Scope global options also
1830         when creating the agenda buffer.
1832 2009-06-03  Carsten Dominik  <carsten.dominik@gmail.com>
1834         * org.el (org-adapt-indentation): Improve documentation.
1835         (org-insert-property-drawer): Respect org-adapt-indentation when
1836         inserting the drawer.
1837         (org-remove-flyspell-overlays-in): New function.
1838         (org-do-emphasis-faces, org-activate-plain-links)
1839         (org-activate-code, org-fontify-meta-lines-and-blocks)
1840         (org-activate-angle-links, org-activate-footnote-links)
1841         (org-activate-bracket-links, org-activate-dates)
1842         (org-activate-target-links, org-activate-tags): Remove flyspell
1843         overlays.
1845 2009-06-02  Carsten Dominik  <carsten.dominik@gmail.com>
1847         * org.el (org-edit-src-save): New function.
1849         * org-clock.el (org-clock-out-switch-to-state): New option.
1850         (org-clock-out): Honor `org-clock-out-switch-to-state'.
1852         * org-compat.el (org-compatible-face): Improve macro.
1854         * org.el (org-global-properties-fixed): Add default for
1855         CLOCK_MODELINE_TOTAL.
1857         * org-clock.el (org-clock-sum): Accept lists and strigs as tstart
1858         andd tend.
1859         (org-clock-sum-current-item): Optional argument TSTART, pass it to
1860         org-clock-sum.
1861         (org-clock-get-sum-start): New function.
1863         * org.el (org-startup-options): New keywords blockhide and
1864         blockshow.
1865         (org-mode): Add new invisibility spec.
1866         (org-set-startup-visibility): Hide block on startup if so
1867         desired.
1868         (org-hide-block-startup): New option.
1869         (org-block-regexp): New constant.
1870         (org-hide-block-overlays): New variable.
1871         (org-block-map, org-hide-block-toggle-all, org-hide-block-all)
1872         (org-show-block-all, org-hide-block-toggle-maybe)
1873         (org-hide-block-toggle): New functions.
1874         (org-edit-src-exit): Do not quote lines starting with # and no +
1875         behind it.
1876         (org-auto-repeat-maybe): Add LAST_REPEAT properter for a repeating
1877         entry.
1879 2009-05-30  Carsten Dominik  <carsten.dominik@gmail.com>
1881         * org.el (org-buffer-property-keys): Add Effort property for
1882         completion.
1884 2009-05-28  Carsten Dominik  <carsten.dominik@gmail.com>
1886         * org-clock.el (org-clock-sum-current-item): Fix positioning bug
1887         when retrieving total clocked time in the subtree.
1889         * org.el (org-quoting-blocks): New variable.
1891 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
1893         * org-table.el (org-table-store-formulas)
1894         (org-table-get-stored-formulas, org-table-fix-formulas)
1895         (org-table-edit-formulas, orgtbl-ctrl-c-ctrl-c)
1896         (orgtbl-gather-send-defs): Allow indented #+TBLFM line.
1898         * org.el (org-fontify-meta-lines, org-ctrl-c-ctrl-c): Allow
1899         indented #+TBLFM line.
1901         * org-footnote.el (org-footnote-goto-local-insertion-point): Allow
1902         indented #+TBLFM line.
1904         * org-colview.el (org-dblock-write:columnview): Allow indented
1905         #+TBLFM line.
1907         * org-colview-xemacs.el (org-dblock-write:columnview): Allow
1908         indented #+TBLFM line.
1910         * org-clock.el (org-dblock-write:clocktable): Allow indented
1911         #+TBLFM line.
1913 2009-05-26  Carsten Dominik  <carsten.dominik@gmail.com>
1915         * org-exp.el (org-export-format-source-code-or-example): Make
1916         editing indented blocks work correctly.
1918         * org.el (org-edit-src-nindent): New variable.
1919         (org-edit-src-code, org-edit-fixed-width-region)
1920         (org-edit-src-find-region-and-lang, org-edit-src-exit): Make
1921         editing indented blocks work correctly.
1923 2009-05-24  Carsten Dominik  <carsten.dominik@gmail.com>
1925         * org-exp.el (org-export-replace-src-segments-and-examples): FInd
1926         indented blocks.
1927         (org-export-format-source-code-or-example): Fix indentation of
1928         blocks.
1929         (org-export-remove-indentation): New function.
1930         (org-export-select-backend-specific-text): Allow backend-specific
1931         code to be indented.
1932         (org-export-mark-blockquote-verse-center): Allow markers to be
1933         indented.
1935         * org.el (org-fontify-meta-lines): New function.
1936         (org-set-font-lock-defaults): Call the new fontification
1937         function.
1939         * org-faces.el (org-meta-line): New face
1940         (org-block):  New face.
1942 2009-05-27  Carsten Dominik  <carsten.dominik@gmail.com>
1944         * org.el (org-treat-insert-todo-heading-as-state-change)
1945         (org-treat-S-cursor-todo-selection-as-state-change): New
1946         variables.
1947         (org-insert-todo-heading): Honor
1948         `org-treat-insert-todo-heading-as-state-change'.
1949         (org-shiftright, org-shiftleft): Honor
1950         `org-treat-S-cursor-todo-selection-as-state-change'.
1951         (org-inhibit-logging): New variable.
1953 2009-05-23  Carsten Dominik  <carsten.dominik@gmail.com>
1955         * org-agenda.el (org-remove-subtree-entries-from-agenda): Reduce
1956         range for marker position checking.
1958         * org-latex.el (org-export-latex-first-lines): Fix bug when
1959         exporting a region.
1961 2009-05-22  Carsten Dominik  <carsten.dominik@gmail.com>
1963         * org-exp.el (org-export-push-to-kill-ring): Protect using
1964         x-set-selection, because that does not always work.
1966         * org-agenda.el (org-agenda-list): Apply the new face
1967         `org-agenda-date-today'.
1969         * org-faces.el (org-agenda-date-today): New face.
1971 2009-05-21  Carsten Dominik  <carsten.dominik@gmail.com>
1973         * org-agenda.el (org-agenda-to-appt): Turn off restriction when
1974         creating appointments.
1976         * org-latex.el (org-export-latex-low-levels): Fix customization
1977         type.
1979         * org.el (org-priority, org-shiftup, org-shiftdown): Disable
1980         priority commands.
1982         * org-agenda.el (org-agenda-priority): Disable priority commands.
1984         * org.el (org-enable-priority-commands): New option.
1986         * org-colview-xemacs.el (org-columns-compute)
1987         (org-columns-number-to-string): Fix problems with empty fields.
1989         * org-colview.el (org-columns-compute)
1990         (org-columns-number-to-string): Fix problems with empty fields.
1992         * org-exp.el (org-export-push-to-kill-ring): New function.
1993         (org-export-copy-to-kill-ring): New option.
1995         * org-latex.el (org-export-as-latex): Call
1996         `org-export-push-to-kill-ring'.
1998         * org-html.el (org-export-as-html): Call
1999         `org-export-push-to-kill-ring'.
2001         * org-docbook.el (org-export-as-docbook): Call
2002         `org-export-push-to-kill-ring'.
2004         * org-ascii.el (org-export-as-ascii): Call
2005         `org-export-push-to-kill-ring'.
2007         * org-exp.el (org-export-show-temporary-export-buffer): New
2008         option.
2010         * org-latex.el (org-export-as-latex): Use
2011         `org-export-show-temporary-export-buffer'.
2013         * org-html.el (org-export-as-html): Use
2014         `org-export-show-temporary-export-buffer'.
2016         * org-docbook.el (org-export-as-docbook): Use
2017         `org-export-show-temporary-export-buffer'.
2019         * org-ascii.el (org-export-as-ascii-to-buffer): Use
2020         `org-export-show-temporary-export-buffer'.
2022         * org-exp.el (org-export-show-temporary-export-buffer): New
2023         option.
2024         (org-export-push-to-kill-ring): New function.
2026         * org-colview.el (org-columns-compile-map): New variable.
2027         (org-columns-new, org-columns-compute)
2028         (org-columns-number-to-string, org-columns-uncompile-format)
2029         (org-columns-compile-format): Implement new operators.
2031 2009-05-20  Carsten Dominik  <carsten.dominik@gmail.com>
2033         * org-exp.el (org-export-plist-vars): Add :xml-declaration.
2035         * org-html.el (org-export-html-xml-declaration): New option.
2036         (org-export-as-html): Use `org-export-html-xml-declaration'.
2038         * org-list.el (org-update-checkbox-count): Make property
2039         dependent.
2041         * org.el (org-hierarchical-todo-statistics): New option.
2042         (org-update-parent-todo-statistics): Modified to handle recursive
2043         statistics.
2045 2009-05-19  Carsten Dominik  <carsten.dominik@gmail.com>
2047         * org-publish.el (org-publish): Make this function behave
2048         correctly in interactive use when called with a prefix argument.
2050         * org.el (org-todo-statistics-hook): New hook.
2051         (org-update-parent-todo-statistics): Use new hook.
2052         (org-log-into-drawer): New function.
2053         (org-add-log-setup): Use the new `org-log-into-drawer' function to
2054         determine if we should be logging into a drawer.
2055         (org-log-into-drawer): Update docstring.
2056         (org-default-properties): Add LOG_INTO_DRAWER as a property.
2058         * org-list.el (org-checkbox-statistics-hook): New hook.
2059         (org-update-checkbox-count-maybe): Use new hook.
2061         * org-ascii.el (org-export-ascii-copy-to-kill): New option.
2062         (org-export-as-ascii): Hide export buffer, and copy exported ASCII
2063         to kill ring.
2065 2009-05-17  Carsten Dominik  <carsten.dominik@gmail.com>
2067         * org-ascii.el (org-export-as-ascii): Fix bug with match string in
2068         a line.
2070 2009-05-16  Carsten Dominik  <carsten.dominik@gmail.com>
2072         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use a
2073         better bufer-generating mechanism.
2074         (org-edit-src-find-buffer): New function.
2076         * org-icalendar.el (org-print-icalendar-entries): Don't check for
2077         archive tag, this is already done by `org-agenda-skip'.
2078         data while constructing lost of tags.
2080 2009-05-15  Carsten Dominik  <carsten.dominik@gmail.com>
2082         * org-exp.el (org-export-preprocess-apply-macros): Use semicolon
2083         as argument separator in macros.
2085         * org-html.el (org-export-as-html): Add xml declaration.
2087 2009-05-14  Carsten Dominik  <carsten.dominik@gmail.com>
2089         * org.el (org-after-sorting-entries-or-items-hook): New hook.
2090         (org-sort-entries-or-items): Run the new hook.
2091         (org-after-refile-insert-hook): New hook.
2092         (org-refile): Run `org-after-refile-insert-hook'.
2094         * org-agenda.el (org-agenda-get-progress): Never take time of day
2095         from headline when displaying progress.
2097         * org-latex.el (org-export-latex-complex-heading-re): New variable.
2098         (org-export-as-latex): Force the correct regexp in the
2099         preprocessor buffer.
2100         (org-export-latex-set-initial-vars): Set
2101         `org-export-latex-complex-heading-re'.
2103         * org-agenda.el (org-agenda-start-with-log-mode): New option.
2104         (org-agenda-mode): Use `org-agenda-start-with-log-mode'.
2106 2009-05-13  Carsten Dominik  <carsten.dominik@gmail.com>
2108         * org-latex.el (org-export-latex-tables-centered): New option.
2109         (org-export-latex-tables): Use `org-export-latex-tables-centered'.
2111         * org-exp.el (org-export-as-org): New command.
2112         (org-export-as-org): New command.
2114         * org-publish.el (org-publish-org-to-org): New function.
2116 2009-05-12  Carsten Dominik  <carsten.dominik@gmail.com>
2118         * org.el (org-yank): Just call `org-yank-generic'.
2119         (org-yank-generic): New function, containing the formaer
2120         functionality of `org-yank'.
2122         * org-latex.el (org-export-latex-not-done-keywords)
2123         (org-export-latex-done-keywords): New variables.
2124         (org-export-latex-todo-keyword-markup): New option.
2125         (org-export-latex-set-initial-vars): Remember the TODO keywords.
2126         (org-export-latex-keywords-maybe): Apply the TODO markup.
2128 2009-05-11  Carsten Dominik  <carsten.dominik@gmail.com>
2130         * org-exp.el (org-infile-export-plist): Add more default macros.
2131         (org-export-preprocess-apply-macros): Process macro arguments.
2133 2009-05-10  Carsten Dominik  <carsten.dominik@gmail.com>
2135         * org-icalendar.el (org-icalendar-include-todo): New allowedvalue
2136         `unblocked'.
2137         (org-print-icalendar-entries): Respect the new value of
2138         `org-icalendar-include-todo'.
2140         * org.el (org-link-try-special-completion)
2141         (org-file-complete-link): New functions.
2142         (org-insert-link): Add special completion support for some link
2143         types.
2145         * org-bbdb.el (org-bbdb-complete-link): New function.
2147 2009-05-08  Carsten Dominik  <carsten.dominik@gmail.com>
2149         * org-list.el (org-update-checkbox-count): Allow recursive
2150         statistics.
2151         (org-hierarchical-checkbox-statistics): New option.
2153         * org.el (org-cycle): Remove erraneous space character.
2155         * org-icalendar.el (org-icalendar-timezone): Initialize from
2156         environment.
2158         * org-html.el (org-format-org-table-html): Specify the scope.
2159         (org-format-table-table-html): Specify the scope.
2160         (org-export-table-header-tags): Prepare the scope parameter.
2162 2009-05-07  Carsten Dominik  <carsten.dominik@gmail.com>
2164         * org-html.el
2165         (org-export-html-table-use-header-tags-for-first-column): New
2166         option.
2168         * org.el (org-autoload): Fix autoloading of ascii export
2169         functions.
2170         (org-modules): Add org-special-blocks.
2172 2009-05-06  Carsten Dominik  <carsten.dominik@gmail.com>
2174         * org-icalendar.el (org-start-icalendar-file): Use the new option.
2175         (org-ical-timezone): New option.
2177         * org-exp.el (org-export-get-coderef-format): Use the description
2178         is present.
2180         * org.el (org-sort-entries-or-items): Improve docstring, and make
2181         better implementation for time sorting.
2183 2009-05-05  Carsten Dominik  <carsten.dominik@gmail.com>
2185         * org.el (org-edit-src-persistent-message): New option.
2186         (org-edit-src-code, org-edit-fixed-width-region): Use the new
2187         option.
2189         * org-clock.el (org-clock-insert-selection-line): Fix prefious
2190         patch.
2192         * org.el (org-edit-src-code, org-edit-fixed-width-region): Use
2193         separate buffer instead of indirect buffer to edit source code.
2194         (org-edit-src-exit): Make this function work with the new setup.
2196         * org-clock.el (org-clock-insert-selection-line): Make sure tasks
2197         are properly fontified before shown in the selection menu.
2199         * org.el (org-fontify-like-in-org-mode): New function.
2201         * org-latex.el (org-export-latex-links): Use the property list to
2202         retrieve the default image attributes.
2204         * org-exp.el (org-export-plist-vars): Add a new option.
2206 2009-05-04  Carsten Dominik  <carsten.dominik@gmail.com>
2208         * org-exp.el (org-export, org-export-visible): Support ASCII
2209         export to buffer
2210         (org-export-normalize-links): Do not protect the description if it
2211         is explicitly given.
2213         * org-ascii.el (org-export-as-ascii-to-buffer)
2214         (org-replace-region-by-ascii, org-export-region-as-ascii): New
2215         commands.
2216         (org-export-as-ascii): Add all the same parameters that are also
2217         supported by the other export functions.
2219         * org-list.el (org-reset-checkbox-state-subtree): Moved here from
2220         org-checklist.el.
2221         (org-reset-checkbox-state-subtree): Call
2222         `org-reset-checkbox-state-subtree'.
2224         * org-remember.el (org-select-remember-template): For the
2225         selection of a valid template.
2227         * org-latex.el (org-export-region-as-latex): Supply the
2228         force-no-subtree argument.
2229         (org-export-as-latex): Provide better limits when exporting the
2230         first line.  When exporting to string, we still want the first
2231         lines.
2232         (org-export-latex-first-lines): New argument END, to force the end
2233         of the region.
2234         (org-export-region-as-latex): Use the property list.
2235         (org-export-as-latex):
2237         * org-colview-xemacs.el (org-columns-remove-overlays)
2238         (org-columns): Fix call to `local-variable-p'.
2240 2009-05-02  Carsten Dominik  <carsten.dominik@gmail.com>
2242         * org-html.el (org-export-html-after-blockquotes-hook): New hook.
2243         (org-export-as-html): Run the new hook.
2245         * org-latex.el (org-export-latex-after-blockquotes-hook): New hook.
2246         (org-export-latex-preprocess): Run the new hook.
2248         * org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
2249         (org-export-preprocess-string): Run the new hook.
2251 2009-04-30  Carsten Dominik  <carsten.dominik@gmail.com>
2253         * org-macs.el (org-check-external-command): New defsubst.
2255         * org.el (org-mode-map): New key for reload.
2256         (org-format-latex): Better error message when external programs
2257         are not available.
2259         * org-agenda.el (org-agenda-mode-map): Bind `org-reload'.
2261         * org.el (org-sort-entries-or-items): Explicit sorting function
2262         for priorities, needed for XEmacs compatibility.
2264         * org-remember.el (org-remember-apply-template): Improve auto-save
2265         behavior.
2267 2009-04-29  Carsten Dominik  <carsten.dominik@gmail.com>
2269         * org-latex.el (org-export-latex-preprocess): Also protect
2270         environments ending in a star.
2272         * org-list.el (org-at-item-p): Fix regular expression.
2274 2009-04-24  Carsten Dominik  <carsten.dominik@gmail.com>
2276         * org.el (org-end-of-subtree): Improve speed.
2278         * org-agenda.el (org-agenda-get-timestamps)
2279         (org-agenda-get-progress, org-agenda-get-deadlines)
2280         (org-agenda-get-scheduled, org-agenda-get-blocks): Optimizations,
2281         in particular, wait as long as possible to collect the tags.
2282         (org-stuck-projects): Improve docstring.
2284         * org.el (org-store-link): No errors when getting custom id before
2285         first headline.
2286         (org-get-tags-at): Use `org-up-heading-safe' when getting tags.
2288 2009-04-23  Carsten Dominik  <carsten.dominik@gmail.com>
2290         * org.el (org-prepare-agenda-buffers): Catch a throw to nextfile.
2292         * org-protocol.el: Remove dependency on url.el.
2293         (org-protocol-unhex-compound, org-protocol-open-source): Remove
2294         dependency on url.el.
2296         * org-latex.el (org-export-as-pdf): Use
2297         `org-latex-to-pdf-process'.
2299 2009-04-22  Carsten Dominik  <carsten.dominik@gmail.com>
2301         * org-latex.el (org-latex-to-pdf-process): New option.
2303         * org-agenda.el (org-agenda-skip-additional-timestamps-same-entry):
2304         New option.
2305         (org-agenda-get-timestamps): Honor
2306         `org-agenda-skip-additional-timestamps-same-entry'.
2308         * org-clock.el (org-clock-goto-may-find-recent-task): New option.
2309         (org-clock-goto): Find recent task only if
2310         `org-clock-goto-may-find-recent-task' allows it.
2312         * org-exp.el (org-export-remove-or-extract-drawers): Handle empty
2313         drawers, and drawers that are missing the :END: line.
2315 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
2317         * org-clock.el (org-clock-goto): Go to recently clocked task if no
2318         clock is running.
2320 2009-04-21  Carsten Dominik  <carsten.dominik@gmail.com>
2322         * org.el (org-update-parent-todo-statistics): Check for
2323         STATISTICS_FROM property.
2325         * org-list.el (org-update-checkbox-count): Check for
2326         STATISTICS_FROM property.
2328         * org.el (org-tab-first-hook)
2329         (org-tab-after-check-for-table-hook)
2330         (org-tab-after-check-for-cycling-hook): New hooks.
2331         (org-cycle-internal-global, org-cycle-internal-local): New
2332         functions, split out from `org-cycle'.
2333         (org-cycle): Call the new hooks.
2335 2009-04-19  Carsten Dominik  <carsten.dominik@gmail.com>
2337         * org-exp.el (org-export-preprocess-string): Reset the list of
2338         preferred targets for each run of the preprocessor.
2340         * org.el (org-refile-target-verify-function): Improve
2341         documentation.
2342         (org-get-refile-targets): Respect point being moved by the
2343         verification function.
2345         * org-latex.el (org-export-latex-timestamp-keyword-markup): New
2346         option.
2347         (org-export-latex-keywords): Use new option.
2349         * org.el (org-rear-nonsticky-at): New defsubst.
2350         (org-activate-plain-links, org-activate-angle-links)
2351         (org-activate-footnote-links, org-activate-bracket-links)
2352         (org-activate-dates, org-activate-target-links)
2353         (org-activate-tags): Place the rear-nonsticky properties at the
2354         correct location.
2356 2009-04-18  Carsten Dominik  <carsten.dominik@gmail.com>
2358         * org-protocol.el (server-edit): Declare `server-edit'.
2359         (org-protocol-unhex-string, org-protocol-unhex-compound): New
2360         functions.
2361         (org-protocol-check-filename-for-protocol): Call `server-edit'.
2363         * org.el (org-default-properties): New default properteis for
2364         completion.
2366         * org-exp.el (org-export-add-subtree-options): Add new properties
2367         for subtree export.
2369         * org-docbook.el (org-export-docbook-keywords-markup)
2370         (org-export-docbook-timestamp-markup): New options.
2371         (org-export-docbook-protect-tags): New function.
2373 2009-04-17  Carsten Dominik  <carsten.dominik@gmail.com>
2375         * org-id.el (org-id-get-with-outline-path-completion): Turn off
2376         org-refile-target-verify-function for the duration of the command.
2378         * org.el (org-link-to-org-use-id): New possible value
2379         `create-if-interactive-and-no-custom-id'.
2380         (org-store-link): Use custom IDs.
2381         (org-link-search): Find custom ID properties from #link.
2382         (org-default-properties): Add CUSTOM_ID for property completion.
2383         (org-refile-target-verify-function): New option.
2384         (org-goto): Turn off org-refile-target-verify-function
2385         for the duration of the command.
2387 2009-04-16  Carsten Dominik  <carsten.dominik@gmail.com>
2389         * org-html.el (org-export-as-html): Use custom IDs in the toc.
2391         * org-exp.el (org-export-preferred-target-alist): New variable.
2392         (org-export-define-heading-targets): Find the new CUSTOM_ID
2393         property.
2394         (org-export-target-internal-links): Target the custom ids when
2395         possible.
2397         * org-latex.el (org-export-latex-preprocess): Better regexp for
2398         matching latex macros with arguments.
2400 2009-04-15  Carsten Dominik  <carsten.dominik@gmail.com>
2402         * org-remember.el (org-remember-handler): Allow filing to non-org
2403         files.
2405 2009-04-15  Magnus Henoch <magnus.henoch@gmail.com>
2407         * org-feed.el (org-feed-alist): New keyword options.
2408         (org-feed-update): Use the new options.
2409         (org-feed-parse-rss-feed): Renamed from `org-feed-parse-feed'.
2410         (org-feed-parse-rss-entry): Renamed from `org-feed-parse-entry'.
2411         (org-feed-parse-atom-feed, org-feed-parse-atom-entry): New
2412         functions.
2414         * org-table.el (org-table-fix-formulas): Do not change references
2415         to remote tables.
2416         (org-table-get-remote-range): Convert standard coordinates to RC
2417         format.
2419         * org-latex.el (org-export-latex-keywords): Fix regexp bug.
2421 2009-04-14  Carsten Dominik  <carsten.dominik@gmail.com>
2423         * org-compat.el (org-sha1-string): Function removed.
2425         * org.el (org-refile-allow-creating-parent-nodes): New option.
2426         (org-refile-get-location): New argument NEW-NODES.
2427         (org-refile): Call `org-refile-get-location' with the new
2428         argument.
2429         (org-refile-get-location): Arrange for adding a new child.
2430         (org-refile-new-child): New function.
2432         * org-html.el (org-html-handle-time-stamps): Wrap time stamps into
2433         an additional span element.
2435         * org-clock.el: Fix a number of docstrings.
2436         (org-clock-find-position): New argument
2437         FIND-UNCLOSED to make the function find an unclosed clock in the
2438         entry.
2439         (org-clock-in): Call `org-clock-find-position' with the new
2440         argument if we might be resuming a clock.
2442 2009-04-13  Carsten Dominik  <carsten.dominik@gmail.com>
2444         * org-latex.el (org-export-latex-display-custom-times): New variable.
2445         (org-export-latex-timestamp-markup): New option.
2446         (org-export-latex-set-initial-vars): Remember the local value of
2447         `org-display-custom-times'.
2448         (org-export-latex-content): Process time stamps.
2449         (org-export-latex-time-stamps): New function.
2451         * org-macs.el (org-maybe-intangible): Add intangible property
2452         again to invisible text.
2454 2009-04-12  Carsten Dominik  <carsten.dominik@gmail.com>
2456         * org-exp.el (org-default-export-plist): Handle undefined
2457         variables.
2459 2009-04-11  Carsten Dominik  <carsten.dominik@gmail.com>
2461         * org.el (org-sort-entries-or-items): Match TODO keywrds
2462         case-sensitively, when sorting.
2463         (org-priority): Do not match TODO keywords with wrong case.
2465 2009-04-09  Carsten Dominik  <carsten.dominik@gmail.com>
2467         * org-feed.el (org-feed-update): Bind the variable
2468         `new-formatted'.
2470         * org-html.el (org-export-as-html): Start paragraphs after literal
2471         examples.
2473         * org-docbook.el (org-export-as-docbook): Start paragraphs after
2474         literal examples.
2476 2009-04-08  Carsten Dominik  <carsten.dominik@gmail.com>
2478         * org.el (org-todo): Honor the NOBLOCKING property.
2480         * org-agenda.el (org-agenda-dim-blocked-tasks): Honor the
2481         NOBLOCKING property.
2483         * org.el (org-scan-tags): Fix bug in tag scanner
2485 2009-04-07  Carsten Dominik  <carsten.dominik@gmail.com>
2487         * org.el (org-modules): Mark obsolete packages.
2489         * org-html.el: New file, split out from org-exp.el.
2491         * org-icalendar.el: New file, split out from org-exp.el.
2493         * org-xoxo.el: New file, split out from org-exp.el.
2495         * org-ascii.el: New file, split out from org-exp.el.
2497 2009-04-06  Carsten Dominik  <carsten.dominik@gmail.com>
2499         * org-compat.el (org-find-library-name): New function.
2501         * org.el (org-pre-cycle-hook): New hook.
2502         (org-cycle): Call the new hook in appropriate places.
2503         (org-reload): Only reload files that have been loaded before.
2505 2009-04-05  Carsten Dominik  <carsten.dominik@gmail.com>
2507         * org.el (org-set-font-lock-defaults): Enforxe space or line end
2508         after todo keyword.
2509         (org-todo): When changing TODO state, do matching
2510         case-sensitively.
2511         (org-map-continue-from): New variable.
2512         (org-scan-tags): Respect values in `org-map-continue-from'.
2513         (org-reload): Make XEmacs compatible.
2515 2009-04-04  Carsten Dominik  <carsten.dominik@gmail.com>
2517         * org-protocol.el (org-protocol-flatten-greedy): New function.
2518         (org-protocol-flatten): New function.
2520         * org.el (org-open-link-from-string): Pass reference buffer to
2521         `org-open-at-point'.
2522         (org-open-at-point): New optional argument `reference-buffer'.
2524 2009-04-03  Carsten Dominik  <carsten.dominik@gmail.com>
2526         * org.el (org-scan-tags): Make tag scan find headline in first
2527         line, 2nd attempt.
2528         (org-get-refile-targets): Add the naked file name.
2529         (org-refile): Store as top-level entry when only file name was
2530         given.
2532         * org-agenda.el (org-agenda-get-progress): Fix regexp bug.
2534         * org.el (org-block-todo-from-children-or-siblings-or-parent):
2535         Renamed from org-block-todo-from-children-or-siblings, and
2536         enhanced to look for the parent's status as well.
2538         * org-agenda.el (org-agenda-log-mode-add-notes): New option.
2539         (org-agenda-get-progress): Add first notes line to log entry if so
2540         desired.
2542 2009-04-02  Carsten Dominik  <carsten.dominik@gmail.com>
2544         * org-agenda.el (org-agenda-cleanup-fancy-diary-hook): New hook.
2545         (org-agenda-cleanup-fancy-diary): Call the new hook.
2547         * org-remember.el (org-remember-apply-template): Take the default
2548         for the annotation from the :annotation property.
2550         * org-mac-message.el (org-mac-message-get-link): Remove the
2551         quotes.
2552         (org-mac-message-get-link): Return the result.
2554 2009-04-01  Carsten Dominik  <carsten.dominik@gmail.com>
2556         * org.el (org-refile-get-location): Add file name only if not
2557         already included in outline path.
2559         * org-faces.el (org-n-level-faces): Fix customization type from
2560         number to integer.
2562         * org-exp.el (org-export-headline-levels): Fix customization type
2563         from number to integer.
2565         * org-agenda.el (org-agenda-confirm-kill)
2566         (org-agenda-custom-commands-local-options)
2567         (org-timeline-show-empty-dates, org-agenda-ndays)
2568         (org-agenda-start-on-weekday, org-scheduled-past-days): Fix
2569         customization type from number to integer.
2571 2009-03-31  Carsten Dominik  <carsten.dominik@gmail.com>
2573         * org-protocol.el: Declare some functions.
2575         * org-inlinetask.el (org-inlinetask-export-handler): Fix line
2576         postion before inserting modified headline.
2578         * org-agenda.el (org-agenda-compare-effort): Honor
2579         `org-sort-agenda-noeffort-is-high'.
2580         (org-agenda-filter-by-tag, org-agenda-filter-make-matcher)
2581         (org-agenda-compare-effort): Implement the "?" operator for
2582         finding entries without effort setting.
2584         * org.el (org-extract-attributes-from-string): New function.
2586         * org-exp.el (org-export-splice-attributes): New function.
2588 2009-03-30  Carsten Dominik  <carsten.dominik@gmail.com>
2590         * org-mouse.el: XEmacs compatibility fixes
2592         * org-docbook.el (org-export-as-docbook): Process footnotes like
2593         normal text.
2595         * org.el (org-modules): Add org-inlinetasks.el
2596         (org-cycle): Implement limiting level on cycling.
2597         (org-move-subtree-down): Fix bug with swapping subtrees at end of
2598         buffer.
2600         * org-inlinetask.el: New file.
2602         * org.el (org-emphasis-regexp-components): Allow braces in
2603         emphasis pre and post match.
2605         * org-footnote.el (org-footnote-normalize): When only dorting, do
2606         not insert inline notes at the end.
2608         * org-docbook.el (org-id-find-id-file): Add function declaration.
2610         * org.el (org-require-autoloaded-modules): Add org-docbook.el.
2612         * org-docbook.el: New file.
2614 2009-03-28  Carsten Dominik  <carsten.dominik@gmail.com>
2616         * org.el (org-reftex-citation): New command.
2618 2009-03-27  Carsten Dominik  <carsten.dominik@gmail.com>
2620         * org-agenda.el (org-agenda-cmp-user-defined): New option.
2621         (org-sorting-choice, org-agenda-sorting-strategy): Add the new
2622         sorting options.
2623         (org-entries-lessp): Apply the new sorting option.
2625         * org.el (org-block-todo-from-children-or-siblings): Fix bug in
2626         blocker code, when an older sibling has children.
2628         * org-mac-message.el (org-mac-message-get-link): Improve getting
2629         links from multiple selected messages.
2631 2009-03-26  Carsten Dominik  <carsten.dominik@gmail.com>
2633         * org-remember.el (org-remember-finalize): Do not set buffer file
2634         name to nil.
2635         (org-remember-handler): Mark buffer as unmodified.
2636         (org-remember-handler): Delete backup file and show message about
2637         remaining backup files.
2638         (org-remember-auto-remove-backup-files): New option.
2640         * org.el (org-store-link): Use buffer name as link description in
2641         w3-mode buffers.
2642         (org-ido-switchb): Fix argument bug for completion.
2644         * org-remember.el (org-remember-apply-template): Set local
2645         variable `auto-save-visited-file-name' instead of global one.
2647 2009-03-25  Carsten Dominik  <carsten.dominik@gmail.com>
2649         * org-feed.el: Re-write.
2651         * org-agenda.el (org-agenda-get-todos): Fix bug with match-data.
2652         (org-agenda-get-todos): Mark file tags as inherited.
2653         (org-agenda-list): Always search diary lines for a time.
2655 2009-03-24  Carsten Dominik  <carsten.dominik@gmail.com>
2657         * org-feed.el (org-feed-assume-stable): New option.
2658         (org-feed-before-adding-hook): New hook.
2660         * org-exp.el (org-export-as-html): Close local lists depending on
2661         indentation, also when starting a table.
2663         * org-remember.el (org-remember-backup-directory)
2664         (org-remember-backup-name): New internal variable.
2666 2009-03-23  Carsten Dominik  <carsten.dominik@gmail.com>
2668         * org-clock.el (org-clock-out-if-current): Make buffer detection
2669         work in indirect buffers as well.
2671         * org.el (org-emphasis-regexp-components): Add the exxclamation
2672         mark to the post-emphasis characters.
2674 2009-03-22  Carsten Dominik  <carsten.dominik@gmail.com>
2676         * org.el (org-read-date-minibiffer-septup-hook): New hook.
2677         (org-read-date): Run the new hook.
2679         * org-mac-message.el (org-mac-flagged-mail): New group.
2680         (org-mac-mail-account): New variable.
2681         (org-mac-create-flagged-mail, org-mac-insert-flagged-mail): New
2682         commands.
2684         * org-remember.el (org-remember-backup-directory): New variable.
2685         (org-remember-apply-template): Write file to backup directory.
2687 2009-03-21  Carsten Dominik  <carsten.dominik@gmail.com>
2689         * org-mouse.el (org-mouse-todo-menu): New function.
2690         (org-mouse-todo-keywords): Function removed.
2691         (org-mouse-context-menu): Use `org-mouse-todo-menu'.
2693         * org-table.el (org-table-beginning-of-field)
2694         (org-table-end-of-field): New commands
2695         (org-table-previous-field, org-table-beginning-of-field): Better
2696         error messages.
2697         (orgtbl-setup): Include `M-a' and `M-e'.
2699         * org.el (org-backward-sentence, org-forward-sentence): New
2700         commands.
2702         * org-colview.el (org-colview-initial-truncate-line-value): New
2703         variable.
2704         (org-columns-remove-overlays): Restore the value of `truncate-lines'.
2705         (org-columns): Remember the value of `truncate-lines'.
2707         * org-colview-xemacs.el (org-colview-initial-truncate-line-value):
2708         New variable.
2709         (org-columns-remove-overlays): Restore the value of
2710         `truncate-lines'.
2711         (org-columns): Remember the value of `truncate-lines'.
2713         * org.el (org-columns-skip-arrchived-trees): New option.
2715         * org-agenda.el (org-agenda-export-html-style): Define color for
2716         org-agenda-done face.
2717         (org-search-view, org-agenda-get-todos, org-agenda-get-progress)
2718         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use new face.
2720         * org.el (org-scan-tags): Use the new face.
2722         * org-faces.el (org-agenda-done): New face.
2724         * org.el (org-scan-tags): Test the value org
2725         `org-tags-match-list-sublevels'.
2726         (org-tags-match-list-sublevels): New allowed value: indented.
2728         * org-export-latex.el (org-export-latex-make-header): Apply macros
2729         in header.
2731         * org-exp.el (org-export-apply-macros-in-string): New function.
2733         * org-export-latex.el (org-export-latex-list-parameters): Fix bug
2734         with the definition of a checked box.
2736         * org-clock.el (org-clock-find-position): Fix drawer indentations.
2738         * org-export-latex.el (org-export-latex-low-levels): More options
2739         for how to process lower levels in LaTeX.
2740         (org-export-latex-subcontent): Better treatment for lists as a
2741         means of publishing lower levels.
2743 2009-03-20  Carsten Dominik  <carsten.dominik@gmail.com>
2745         * org.el (org-set-font-lock-defaults): Use new checkbox face.
2747         * org-faces.el (org-checkbox): New face.
2749         * org-exp.el (org-export-html-preprocess): Only create LaTeX
2750         fragement images if there is an export file.
2752 2009-03-19  Carsten Dominik  <carsten.dominik@gmail.com>
2754         * org-agenda.el (org-stuck-projects): Document that the subtree of
2755         projects that are not stuck will now be searched for stuck
2756         sub-projects.
2757         (org-agenda-skip-entry-when-regexp-matches)
2758         (org-agenda-skip-entry-when-regexp-matches-in-subtree): New functions.
2759         (org-agenda-list-stuck-projects): Use
2760         `org-agenda-skip-entry-when-regexp-matches-in-subtree'.
2762         * org-export-latex.el (org-export-latex-preprocess): Improve
2763         export of verses.
2765         * org-exp.el (org-export-as-html): Implement centering as a div
2766         rather than a paragraph.  Do a better job with line-end in verse
2767         environments.
2769 2009-03-17  Carsten Dominik  <carsten.dominik@gmail.com>
2771         * org.el (org-open-at-point): Fix tags searches by mouse click.
2773 2009-03-16  Carsten Dominik  <carsten.dominik@gmail.com>
2775         * org-export-latex.el (org-export-latex-preprocess): Implement the
2776         centering markup.
2778         * org-exp.el (org-export-mark-blockquote-verse-center): Renamed
2779         from `org-export-mark-blockquote-and-verse'.
2780         (org-export-as-html): Implement the centering markup.
2782         * org-export-latex.el (org-export-latex-tables): Fix vertical
2783         lines in tables.
2785 2009-03-15  Carsten Dominik  <carsten.dominik@gmail.com>
2787         * org.el (org-read-date-history): New variable.
2788         (org-read-date): Use new history variable.
2789         (org-toggle-heading): Fix bug when used before first headline.
2790         (org-store-log-note): Remove drawer if empty while note is
2791         aborted.
2792         (org-remove-empty-drawer-at): New function.
2793         (org-check-after-date): New command.
2794         (org-sparse-tree): New sparse tree command "a".
2796         * org-exp.el (org-export-as-ascii): Improve export of plain lists.
2798 2009-03-14  Bastien Guerry  <bzg@altern.org>
2800         * org.el (org-toggle-fixed-width-section): Bug fix: insert a
2801         column and a space, not only a column.
2803 2009-03-14  Carsten Dominik  <carsten.dominik@gmail.com>
2805         * org-export-latex.el (org-export-latex-emphasis-alist): Better
2806         defaults for verbose emphasis.
2807         (org-export-latex-emph-format): New function.
2808         (org-export-latex-fontify): Call `org-export-latex-emph-format'.
2810         * org-agenda.el (org-agenda-menu): Add new commands to menu.
2811         (org-agenda-do-date-later, org-agenda-do-date-earlier)
2812         (org-agenda-date-later-minutes, org-agenda-date-earlier-minutes)
2813         (org-agenda-date-later-hours, org-agenda-date-earlier-hours): New
2814         commands.
2816         * org.el (org-timestamp-change): Move end-time along with start
2817         time.
2819 2009-03-12  Carsten Dominik  <carsten.dominik@gmail.com>
2821         * org-exp.el (org-export-target-internal-links)
2822         (org-export-as-html): Protect links specified as #name.
2824 2009-03-11  Carsten Dominik  <carsten.dominik@gmail.com>
2826         * org.el (org-clone-subtree-with-time-shift): New command.
2828         * org-export-latex.el (org-export-latex-special-chars)
2829         (org-export-latex-treat-sub-super-char): Fix subscript export.
2831         * org-exp.el (org-create-multibrace-regexp): Do not add
2832         backslashes to the class.
2834 2009-03-10  Carsten Dominik  <carsten.dominik@gmail.com>
2836         * org-colview.el (org-columns-map): Better functions for moving up
2837         and down a row, even if `truncate-line' is nil.
2839         * org.el (org-insert-todo-heading): Make sure the keyword is
2840         inserted at the correct position.
2842         * org-publish.el (org-publish-project-alist)
2843         (org-publish-projects, org-publish-org-index): Change default anme
2844         for the index of file names to "sitemap.org".
2846         * org-export-latex.el (org-export-latex-tables): Use
2847         `org-split-string', for Emacs 21 compatibility.
2849 2009-03-09  Carsten Dominik  <carsten.dominik@gmail.com>
2851         * org-agenda.el (org-agenda-log-mode-items): Improve docstring.
2853 2009-03-08  Carsten Dominik  <carsten.dominik@gmail.com>
2855         * org-exp.el (org-export-page-description)
2856         (org-export-page-keywords): New variables.
2857         (org-export-plist-vars): Add entries for :keywords and
2858         :description.
2859         (org-infile-export-plist): Parse for new keywords.
2860         (org-get-current-options): Add new keywords
2861         (org-export-as-html): Publish description and keywords.
2863         * org-agenda.el (org-agenda-add-entry-text-descriptive-links): New
2864         option.
2865         (org-agenda-add-entry-text): Honor
2866         `org-agenda-add-entry-text-descriptive-links'.
2868         * org-export-latex.el (org-export-latex-preprocess): Make all
2869         external preprocess functions use a PARAMETER arg.
2871         * org-exp.el (org-export-preprocess-string)
2872         (org-export-select-backend-specific-text)
2873         (org-export-format-source-code-or-example)
2874         (org-format-org-table-html): Support docbook export.
2875         (org-export-preprocess-string): Make all external preprocess
2876         functions use a PARAMETER arg.
2878 2009-03-07  Carsten Dominik  <carsten.dominik@gmail.com>
2880         * org-exp.el (org-export-html-style-include-scripts): New option.
2881         (org-export-plist-vars): Add new option
2882         `org-export-html-style-include-scripts'.
2883         (org-export-as-html): Honor new option
2884         `org-export-html-style-include-scripts'.
2885         (org-export-html-scripts, org-export-html-style-default): Fix
2886         xml issues with the Safari browser.
2888 2009-03-06  Carsten Dominik  <carsten.dominik@gmail.com>
2890         * org-publish.el (org-publish-attachment): Only copy file when the
2891         directories differ.
2893 2009-03-05  Carsten Dominik  <carsten.dominik@gmail.com>
2895         * org-clock.el (org-clocktable-steps): Use inactive time stamps
2896         for clocktable steps.
2898         * org.el (org-additional-option-like-keywords): Add two more
2899         keywords.
2901 2009-03-04  Carsten Dominik  <carsten.dominik@gmail.com>
2903         * org-exp.el (org-export-format-source-code-or-example): Mark
2904         temporary buffer unmodified, so that it will be killed even if
2905         mode like message mode has decided to assign a file name.
2907         * org.el (org-scan-tags): Improve tag inheritance.
2908         (org-scan-tags, org-make-tags-matcher): Make tag comparison
2909         case-sensitive.
2910         (org-scan-tags): Use the internal tags list instead of creating it
2911         from scratch.
2912         (org-trust-scanner-tags, org-scanner-tags): New variables.
2913         (org-scan-tags): Set `org-scanner-tags'.
2914         (org-get-tags-at): Take advantage of `org-trust-scanner-tags'.
2915         (org-map-entries): Document the possible speedup using scanner
2916         tags.
2918 2009-03-03  Carsten Dominik  <carsten.dominik@gmail.com>
2920         * org.el (org-add-planning-info): Fix bug with looking for keyword
2921         only at column 0.
2923         * org-agenda.el (org-agenda-custom-commands-local-options): Add
2924         option for tags filter preset.
2925         (org-prepare-agenda): Store filter preset as a property on the
2926         filter variable.
2927         (org-finalize-agenda): Call the filter, if there is a preset.
2928         (org-agenda-filter-by-tag): Filter again after clearing the
2929         filter, when there still is a preset.
2930         (org-agenda-filter-make-matcher, org-agenda-set-mode-name):
2931         Include the preset filter.
2932         (org-agenda-redo): Apply the filter again, also the preset filter.
2934         * org-exp.el (org-export-as-html): Use IDs in the correct way.
2936         * org.el (org-uuidgen-p): New funtion.
2938         * org-agenda.el (org-agenda-fontify-priorities): New default value
2939         `cookies'.
2940         (org-agenda-fontify-priorities): Renamed from
2941         org-fontify-priorities.
2943         * org.el (org-set-font-lock-defaults): Call
2944         `org-font-lock-add-priority-faces'.
2945         (org-font-lock-add-priority-faces): New function.
2947         * org-faces.el: (org-set-tag-faces): New option.
2948         (org-priority-faces): New variable.
2950         * org-exp.el (org-export-as-html): Add a "content" div around the
2951         entire content of the body tag.
2952         (org-export-html-get-bibliography): New function.
2953         (org-export-html-validation-link): New variable.
2954         (org-export-as-html): Add validation link to exported page.
2956         * org.el (org-match-sparse-tree): Renamed from
2957         `org-tags-sparse-tree'.
2958         (org-tags-sparse-tree): New alias.
2960 2009-03-02  Carsten Dominik  <carsten.dominik@gmail.com>
2962         * org.el (org-get-valid-level): Catch the case where the level
2963         change is nil.
2965         * org-clock.el (org-clock-find-position): Better indentation of
2966         new clock drawers.
2968 2009-03-01  Carsten Dominik  <carsten.dominik@gmail.com>
2970         * org-agenda.el (org-agenda-quit): Delete window only when the
2971         frame-setup was not `current-window'.
2973         * org.el (org-tag-persistent-alist): New option.
2974         (org-startup-options): Add keyword `noptag'.
2975         (org-fast-todo-selection): Handle :newline correctly.
2976         (org-set-tags): Handle :newline correctly.
2977         (org-fast-tag-selection): Handle :newline correctly.
2979 2009-02-28  Carsten Dominik  <carsten.dominik@gmail.com>
2981         * org-exp.el (org-export-as-ascii): Reverse link buffer before
2982         outputting it.
2983         (org-export-ascii-push-links): Fix bug with pussing links into the
2984         export buffer.
2986 2009-02-27  Carsten Dominik  <carsten.dominik@gmail.com>
2988         * org-archive.el (org-archive-subtree): Do not add 1 to level if
2989         pasting at top level.
2991         * org-bbdb.el: Improve documentation.
2993 2009-02-26  Carsten Dominik  <carsten.dominik@gmail.com>
2995         * org-list.el (org-insert-item): Only consider insert empty lines
2996         is `org-empty-line-terminates-plain-lists' is not nil.
2998         * org.el (org-blank-before-new-entry): Mention the dependence on
2999         `org-empty-line-terminates-plain-lists' in the docstring.
3001         * org-publish.el (org-publish-get-project-from-filename): New
3002         optional argument UP.  Only find the top project if UP is set.
3003         (org-publish-current-project): Find the top encloding project.
3005         * org-agenda.el (org-agenda-before-write-hook)
3006         (org-agenda-add-entry-text-maxlines): New options.
3007         (org-write-agenda): Run the new hook in the temporary buffer.
3008         (org-agenda-add-entry-text): New function.
3009         (org-write-agenda): Implement PDF export, using ps2pdf.
3011         * org.el (org-global-properties-fixed, org-global-properties):
3012         Improve documentation string.
3014         * org-exp.el (org-export-ascii-links-to-notes): New option.
3015         (org-export-as-ascii): Handle links better.
3016         (org-export-ascii-wrap, org-export-ascii-push-links): New
3017         functions.
3019 2009-02-25  Carsten Dominik  <carsten.dominik@gmail.com>
3021         * org-agenda.el (org-agenda): Make prefix arg optional.
3022         (org-agenda-search-headline-for-time): New option.
3023         (org-format-agenda-item): Honor
3024         `org-agenda-search-headline-for-time'.
3026         * org-table.el (orgtbl-self-insert-command): Cluster undo for 20
3027         characters.
3029         * org.el (org-self-insert-cluster-for-undo): New option.
3030         (org-self-insert-command): Cluster undo for 20 characters.
3031         (org-self-insert-command-undo-counter): New variable.
3033 2009-02-24  Carsten Dominik  <carsten.dominik@gmail.com>
3035         * org-exp.el (org-export-as-html): Fix problem with closing colone
3036         example.
3038 2009-02-22  Carsten Dominik  <carsten.dominik@gmail.com>
3040         * org-export-latex.el (org-export-as-latex)
3041         (org-export-latex-first-lines): Avoid modification flag when
3042         adding or removing text properties.
3043         (org-export-latex-fontify): Catch error when org-emph-alist has
3044         entries that are not defined for LaTeX export.
3046         * org.el (orgstruct++-mode): New function.
3047         (turn-on-orgstruct++): Call `orgstruct++-mode'.
3048         (org-context-p): Allow detecting item context after the first line
3049         of an item.
3050         (orgstruct-make-binding): Detect if item-body context should be
3051         seen.
3052         (orgstruct-is-++): New variable.
3053         (org-add-planning-info): Catch the case when there is no planning
3054         info yet and the call does not want to add anything, only maybe
3055         tries to remove something.
3056         (org-special-ctrl-a/e): All value to be a cons cell with separate
3057         settings for `C-a. and `C-e'.
3058         (org-beginning-of-line, org-end-of-line): Honor separate values
3059         for `C-a' and `C-e'.
3061 2009-02-21  Carsten Dominik  <carsten.dominik@gmail.com>
3063         * org.el (org-reload): New command.
3065 2009-02-20  Carsten Dominik  <carsten.dominik@gmail.com>
3067         * org-exp.el (org-export-htm-get-tag-class-name)
3068         (org-export-htm-get-todo-kwd-class-name): New functions.
3069         (org-export-html-tag-class-prefix)
3070         (org-export-html-todo-kwd-class-prefix): New options.
3071         (org-export-as-html): Call
3072         `org-export-html-get-todo-kwd-class-name'.
3073         (org-html-level-start): Wrap tags into classes.
3074         (org-export-html-get-tag-class-name)
3075         (org-export-html-get-todo-kwd-class-name): New functions.
3077         * org-export-latex.el (org-export-latex-collect-header-macros):
3078         Remove fields that are used anyway.
3079         (org-export-latex-make-header): Insert the options earlier.
3081         * org-agenda.el (org-agenda-get-progress): Fix bug with state
3082         matching.
3084         * org-list.el (org-indent-item): Allow point to be at the end of
3085         the region.
3087         * org.el (org-metaleft, org-metaright): Be more accurate about
3088         detecting a region where commands apply.
3090         * org-compat.el (org-cursor-to-region-beginning): New function.
3092         * org.el (org-priority): Also find invisible heading.
3094         * org-colview-xemacs.el (org-columns-edit-value): No special
3095         treatment for `org-todo' prefix.
3097         * org-colview.el (org-columns-edit-value): No special treatment
3098         for `org-todo' prefix.
3100         * org-remember.el (org-remember-apply-template): Use
3101         `org-completing-read-no-ido'.
3103         * org.el (org-completing-read-no-ido): New function.
3104         (org-make-tags-matcher, org-set-property): Use
3105         `org-completing-read-no-ido'.
3107         * org-export-latex.el (org-export-latex-import-inbuffer-stuff):
3108         New option.
3109         (org-export-as-latex): Import in-buffer settings as TeX macros.
3110         (org-export-latex-make-header): Additional parameter OPT-DEFS.
3111         (org-export-latex-collect-header-macros): New function.
3113         * org.el (org-refile-get-location): Turn off
3114         `partial-completion-mode'.
3116 2009-02-19  Carsten Dominik  <carsten.dominik@gmail.com>
3118         * org.el (org-block-todo-from-checkboxes): Announce that
3119         checkboxes are the culprit.
3120         (org-block-todo-from-children-or-siblings): Call
3121         `org-up-heading-all instead' of `outline-up-heading'.
3123         * org-agenda.el (org-agenda-show-1): Renamed from
3124         `org-agenda-show'.
3125         (org-agenda-show): Re-install the old version for now.
3126         (org-agenda-dim-blocked-tasks): Update docstring.  Scope a
3127         variable into the blokker hook, so that the checkbox checker can
3128         anounce that it caused the blocking.
3130         * org.el (org-track-ordered-property-with-tag): New option.
3131         (org-toggle-ordered-property): Honor
3132         `org-track-ordered-property-with-tag'.
3133         (org-tag-alist): Add newline options.
3134         (org-set-regexps-and-options): Separate option lines imply a
3135         newline.
3136         (org-set-regexps-and-options, org-assign-fast-keys)
3137         (org-fast-todo-selection, org-fast-tag-selection): Handle newline
3138         option.
3139         (org-indent-line-function): Make sure this works even if there is
3140         not `org-drawer-regexp' defined.  This can happen when
3141         orgstruct-mode is used in a non-org buffer.
3143         * org-list.el (org-checkbox-blocked-p): New function.
3144         (org-toggle-checkbox): Check for blocking.
3146         * org.el (org-modules): Add an entry for org-R.el.
3148         * org-agenda.el (org-agenda-todo-ignore-with-date)
3149         (org-agenda-todo-ignore-scheduled)
3150         (org-agenda-todo-ignore-deadlines): Mention the variable
3151         `org-agenda-tags-todo-honor-ignore-options' in the docstring.
3153         * org.el (org-get-wdays): Find the warning period also if it is in
3154         the wrong place.
3155         (org-ido-completing-read): Provide the correct arguments to
3156         ido-completing-read and bind `ido-enter-matching-directory' to
3157         nil.
3159 2009-02-17  Carsten Dominik  <carsten.dominik@gmail.com>
3161         * org.el (org-olpath-completing-read): Never use ido for this
3162         one.
3164         * org-exp.el (org-export-normalize-links): Use new macro.
3166         * org-macs.el (org-if-unprotected-at): New macro.
3168         * org-agenda.el (org-agenda-show): Allow numerical prefix
3169         arguments to specify how much context should be shown.
3170         (org-agenda-cycle-show): New command, could be bound to SPC in
3171         org-agenda-mode-map.
3173         * org-exp.el (org-html-level-start): Space after section number.
3175 2009-02-16  Carsten Dominik  <carsten.dominik@gmail.com>
3177         * org-agenda.el (org-agenda-get-sexps): Add todo state as
3178         property, for sorting.
3179         (org-cmp-todo-state): Get the applicable TODO keywords directly
3180         from the buffer.
3181         (org-run-agenda-series, org-agenda-list, org-search-view)
3182         (org-todo-list, org-tags-view): Only fit agenda window when the
3183         whole series is done.
3185         * org.el (org-scan-tags): Add todo state as property, for sorting.
3187         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3188         `org-agenda-overriding-header' as an option.
3189         (org-agenda-list): Honor org-agenda-overriding-header'.
3191 2009-02-15  Carsten Dominik  <carsten.dominik@gmail.com>
3193         * org-list.el (org-toggle-checkbox): Improve cursor positioning
3194         after removing a checkbox.
3196         * org.el (org-show-entry): Make this work correctly also if it is
3197         the last entry in the file.
3198         (org-end-of-line, org-beginning-of-line): Make prefix arg work, by
3199         falling back to normal, default command.
3200         (org-ctrl-c-ctrl-c): When called with prefix arg at a non-checkbox
3201         item, call the checkbox toggler to get a box.
3203         * org-list.el (org-toggle-checkbox): Make double prefix set the
3204         checkbox to "[-]".
3205         (org-fix-bullet-type): Only replace bullet if it is changed.
3206         (org-renumber-ordered-list): Handle case when first item does not
3207         have a number.
3209         * org.el (org-add-log-setup): Fix positioning when
3210         `org-log-states-order-reversed' is nil.
3212         * org-clock.el (org-clock-in): Fix positioning when
3213         `org-log-states-order-reversed' is nil.
3214         (org-clock-find-position): Fix positioning when
3215         `org-log-states-order-reversed' is nil.
3217 2009-02-14  Carsten Dominik  <carsten.dominik@gmail.com>
3219         * org-clock.el (org-clock-into-drawer): Take default from
3220         `org-log-into-drawer'.
3221         (org-clock-find-position): Look for the correct drawer.
3223         * org.el (org-log-into-drawer): Renamed from
3224         `org-log-state-notes-into-drawer'.
3225         (org-log-state-notes-into-drawer): New variable alias.
3226         (org-add-log-setup): Make drawer name default to LOGBOOK, not
3227         CLOCK.
3228         (org-insert-property-drawer): Also skip LOGBOOK drawers.
3230 2009-02-13  Carsten Dominik  <carsten.dominik@gmail.com>
3232         * org-agenda.el (org-agenda): Fix docstring.
3234         * org.el ("org-plot"): Help loading org-plot.
3235         (org-metaleft-hook, org-metaright-hook, org-metaup-hook)
3236         (org-metadown-hook, org-shiftmetaleft-hook)
3237         (org-shiftmetaright-hook, org-shiftmetaup-hook)
3238         (org-shiftmetadown-hook, org-metareturn-hook): New hooks.
3239         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3240         (org-shiftmetadown, org-metaleft, org-metaright, org-metaup)
3241         (org-metadown, org-ctrl-c-ctrl-c): Call the appropriate hook.
3243         * org-publish.el (org-publish-get-base-files): Allow symbol `any'
3244         for selecting files with any (and even without) extension.
3246         * org.el (org-save-all-org-buffers): Also save id locations.
3247         (org-revert-all-org-buffers): Also load id locations.
3249 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
3250         * org.el (org-drawers): Add LOGBOOK to the default drawers.
3251         (org-log-state-notes-into-drawer): New option.
3252         (org-add-log-setup): Place the sate note marker into the drawer,
3253         create drawer when necessary.
3254         (org-refile-targets): Document special interpretation of LEVEL
3255         when odd-levels are used.
3257 2009-02-12  Carsten Dominik  <carsten.dominik@gmail.com>
3259         * org.el (org-store-log-note): Fix note indentation when adding
3260         notes to end of list.
3262         * org-exp.el (org-export-as-html): Add TODO keyword as extra
3263         class, so that each keyword can get special colors through CSS.
3265         * org-clock.el (org-clock-out): Add another nil for the previous
3266         state into the call to `org-add-log-setup'.
3268         * org.el (org-log-note-previous-state): New variable.
3269         (org-log-note-headings): New %S escape for old state.
3270         (org-todo): Call the note setup with the old state as an
3271         argument.
3272         (org-add-note): Add another nil for the previous state into the
3273         call to `org-add-log-setup'.
3274         (org-add-log-setup): New argument PREV-STATE.
3275         (org-add-log-note): Handle new %S escape.
3276         (org-store-log-note): Handle new %S escape.
3278 2009-02-11  Carsten Dominik  <carsten.dominik@gmail.com>
3280         * org-clock.el (org-clock-find-position): Do not swallow an item
3281         less indented than the CLOCK line itself.
3282         (org-clock-in): Push markers to lin after the clock line.
3283         (org-clock-find-position): Handle values of
3284         `org-clock-into-drawer' smaller than 2.
3286         * org-exp.el (org-html-level-start): Add a CSS class to section
3287         numbers.
3288         (org-export-html-toplevel-hlevel): Better documentation of the
3289         influence of this variables on H levels and css classes in
3290         export.
3292 2009-02-10  Carsten Dominik  <carsten.dominik@gmail.com>
3294         * org-agenda.el (org-agenda-custom-commands-local-options): Add
3295         timestamp and nottimestamp to the chooe menu.
3297         * org.el (org-save-all-org-buffers): Moved here from org-agenda.el.
3298         (org-revert-all-org-buffers): New command.
3300 2009-02-09  Carsten Dominik  <carsten.dominik@gmail.com>
3302         * org.el (org-return): Implement `org-return-follows-link' in the
3303         function org-return.  This is more robust than using the mouse
3304         map, I think.
3305         (org-set-regexps-and-options): Match more general #+TODO lines.
3306         (org-make-options-regexp): New optional argument EXTRA, for an
3307         extra regexp.
3308         (org-tab-follows-link): Mark as deprecated.
3310 2009-02-07  Carsten Dominik  <carsten.dominik@gmail.com>
3312         * org-exp.el (org-export-preprocess-string): Remove clock lines
3313         earlier, so that they cannot cotribute to verbatim snippets.
3315 2009-02-06  Carsten Dominik  <carsten.dominik@gmail.com>
3317         * org-exp.el (org-export-remove-or-extract-drawers): Fix regexp
3318         for finding drawers.
3319         (org-export-as-ascii, org-export-as-html): Count levels relative
3320         to the subtree header.
3321         (org-get-min-level): New optional argument OFFSET.
3322         (org-export): Make sure point is restored after popping up that
3323         window.
3325         * org.el (org-do-sort): Also take an inactive timestamp if no
3326         active one is found.
3328         * org-colview-xemacs.el (org-columns-capture-view): Copy before
3329         deleting duplicates.
3331         * org-colview.el (org-columns-capture-view): Copy before
3332         deleting duplicates.
3334         * org-exp.el (org-export-preprocess-string): Fix bug when skipping
3335         text before first headline.
3337         * org.el (org-format-latex): Do not convert LaTeX fragments in
3338         protected examples.
3340 2009-02-04  Carsten Dominik  <carsten.dominik@gmail.com>
3342         * org-exp.el (org-export-html-style-default): Use color values
3343         instead of names for XHTML validation.
3345         * org.el (org-get-scheduled-time, org-get-deadline-time): New
3346         functions.
3347         (org-return-follows-link): Revert making this the default untile
3348         issues are resolved.
3350         * org-agenda.el (org-agenda-skip-if): New conditions timestamp and
3351         nottimestamp.
3353 2009-02-02  Carsten Dominik  <carsten.dominik@gmail.com>
3355         * org.el (org-mode): Make dependence stuff work more reliably.
3356         (org-update-parent-todo-statistics): Fix bug with updating
3357         statistics cookie.
3359         * org-export-latex.el (org-export-latex-emphasis-alist): Use = and
3360         ~ as verbatim delimiters.
3362         * org-exp.el (org-export-html-format-image): New argument
3363         PAR-OPEN.
3364         (org-export-as-html): Pass par-open to
3365         `org-export-html-format-image'.
3367 2009-02-01  Carsten Dominik  <carsten.dominik@gmail.com>
3369         * org.el (org-yank-adjusted-subtrees, org-return-follows-link)
3370         (org-use-fast-todo-selection, org-tags-column): New default
3371         setting for variables, based on a poll what typical uses use.
3373         * org-agenda.el (org-agenda-sorting-strategy)
3374         (org-agenda-tags-column): New default setting for variables, based
3375         on a poll what typical uses use.
3377 2009-01-31  Carsten Dominik  <carsten.dominik@gmail.com>
3379         * org-agenda.el (org-agenda-dim-blocked-tasks): Keep dimming
3380         blocked entries from setting the blocked tag.
3382         * org-exp.el (org-export-html-footnotes-section): Use a more
3383         consistent id for footnotes.
3385         * org-export-latex.el (org-export-latex-classes): Remove the
3386         a4paper option from the default styles.
3388 2009-01-30  Carsten Dominik  <carsten.dominik@gmail.com>
3390         * org.el (org-enforce-todo-checkbox-dependencies): New option.
3391         (org-block-todo-from-checkboxes): New function.
3392         (org-todo): Make tripple prefix arg circumvent blocking.
3394         * org-timer.el (org-timer): Provide the timer feature.
3396         * org.el (org-require-autoloaded-modules): Add a few more files to
3397         the list of autoloaded modules.
3399         * org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
3401 2009-01-29  Carsten Dominik  <carsten.dominik@gmail.com>
3403         * org-exp.el (org-export-remove-or-extract-drawers): Only remove
3404         drawers that are unprotected.
3405         (org-export-html-format-image): Make sure inlined LaTeX fragment
3406         images remain inlined.
3408         * org.el (org-toggle-ordered-property): New function.
3409         (org-mode-map): Add a key for `org-toggle-ordered-property'.
3410         (org-org-menu): Add menu entries for TODO dependencies.
3412 2009-01-28  Carsten Dominik  <carsten.dominik@gmail.com>
3414         * org.el (org-default-properties): Add ORDERED to the default
3415         properties, to get completion support for it.
3417         * org-list.el (org-update-checkbox-count): Update more than one cookie.
3419         * org.el (org-update-parent-todo-statistics): Update more than one
3420         cookie.
3422         * org-agenda.el (org-agenda-get-todos): Start search from correct
3423         position.
3425         * org.el (org-fast-todo-selection): Make sure TODO selection does
3426         not change buffer position.
3428         * org-list.el (org-toggle-checkbox): Implement adding or removing
3429         checkboxes from line or region when called with a prefix
3430         argument.
3432         * org-rmail.el (org-rmail-store-link): Protect the call to
3433         `rmail-narrow-to-non-pruned-header'.
3435         * org-clock.el (org-clock-special-range): Fix week display in
3436         clock tables.
3438         * org-exp.el (org-get-current-options): Fix bug when in indirect
3439         buffer.
3441 2009-01-27  Carsten Dominik  <carsten.dominik@gmail.com>
3443         * org-agenda.el (org-agenda-dim-blocked-tasks): New option.
3444         (org-finalize-agenda): Call `org-agenda-dim-blocked-tasks'.
3445         (org-agenda-dim-blocked-tasks): New function.
3447         * org.el (org-enforce-todo-dependencies): New option.
3448         (org-block-todo-from-children-or-siblings): New function.
3450         * org-faces.el (org-agenda-dimmed-todo-face): New face.
3452         * org.el (org-todo): Return correct state type even if the blocker
3453         throws an error.
3454         (org-modifier-cursor-error): Renamed from
3455         `org-shiftcursor-error'.
3456         (org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
3457         (org-shiftmetadown): Call `org-modifier-cursor-error'.
3459         * org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
3460         to get real errors from the blocker hook.
3462         * org.el (org-shiftselect-error, org-call-for-shift-select): New
3463         functions.
3464         (org-set-visibility-according-to-property): Turn off the setting
3465         of `org-show-entry-below', to avoid overruling a FOLDED visibility
3466         property.
3468 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
3470         * org.el (org-support-shift-select): New option.
3471         (org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
3472         (org-shiftcontrolright, org-shiftcontrolleft): Support for shift
3473         selection outside contexts.
3475         * org-list.el (org-at-item-bullet-p): New function.
3477         * org-jsinfo.el (org-infojs-handle-options): Remove unnecessary
3478         variables.
3480         * org-footnote.el (org-footnote-normalize): Remove unnecessary
3481         variable.
3482         (org-insert-footnote-reference-near-definition): Remove
3483         unnecessary let form.
3485         * org-export-latex.el (org-export-latex-first-lines): Add
3486         OPT-PLIST parameter.
3487         (org-export-as-latex): Call `org-export-latex-first-lines' with
3488         opt-plits parameter.
3489         (org-export-latex-preprocess): Remove unnecessary variables.
3491         * org-exp.el (org-infile-export-plist)
3492         (org-export-add-options-to-plist, org-export-kill-licensed-text)
3493         (org-export-remove-headline-metadata)
3494         (org-export-get-title-from-subtree, org-get-min-level)
3495         (org-html-do-expand): Remove innecessary let form.
3497         * org-colview-xemacs.el (org-columns-display-here): Remove
3498         unnecessary variables.
3500         * org-colview.el (org-columns-display-here): Remove unnecessary
3501         variables.
3503         * org-bbdb.el (org-bbdb-anniversaries): Remove unnecessary
3504         variables.
3506         * org-id.el (org-id-alist-to-hash, org-id-find-id-in-file): Remove
3507         unnecessary variables.
3509         * org-agenda.el (org-search-view, org-agenda-get-blocks)
3510         (org-agenda-filter-by-tag, org-agenda-action): Remove unnecessary
3511         variables.
3513         * org.el (org-set-emph-re): Clean-up the STACKED stuff.
3514         (org-compact-display-after-subtree-move): Remove unnecessary
3515         variables.
3516         (org-edit-fixed-width-region): Remove unnecessary variables.
3517         (org-edit-src-find-region-and-lang): Remove unnecessary variables.
3518         (org-olpath-completing-read): Remove unnecessary variable.
3519         (org-auto-repeat-maybe): Remove unnecessary variable.
3520         (org-map-entries): Remove unnecessary variable.
3521         (org-buffer-property-keys, org-imenu-get-tree)
3522         (org-speedbar-set-agenda-restriction): Remove unnecessary variables.
3524 -----------------------------------------------------------------
3526 2009-01-26  Carsten Dominik  <carsten.dominik@gmail.com>
3527         * org-exp.el (org-export-remove-timestamps): Never remove
3528         timestamps from tables.
3530         * org-export-latex.el (org-export-latex-first-lines): Add more
3531         options to the preprocessing of the text before the first
3532         headline.
3534 2009-01-25  Carsten Dominik  <carsten.dominik@gmail.com>
3536         * org-faces.el (org-clock-overlay): Make face compatible with
3537         XEmacs.
3539         * org.el (org-yank): Add property for delete-selection mode.
3541         * org-exp.el (org-export-as-html): Turn \par into a paragraph.
3543         * org.el (org-agenda-tags-todo-honor-ignore-options): Declare
3544         variable.
3546         * org-table.el (org-table-insert-hline): Fix typo in fuction call
3547         to `backward-char'.
3549         * org-exp.el (org-export-as-html): Remove the initial space from
3550         colon examples.
3552         * org.el (org-scan-tags): Call
3553         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3555         * org-agenda.el (org-agenda-todo-list, org-agenda-match-view): New
3556         customization groups.
3557         (org-agenda-tags-todo-honor-ignore-options): New option.
3558         (org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item):
3559         New function.
3560         (org-agenda-get-todos): Use
3561         `org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item'.
3563 2009-01-24  Carsten Dominik  <carsten.dominik@gmail.com>
3565         * org-exp.el (org-export-format-source-code-or-example): Escape
3566         HTML characters also in examples that anre not treated with
3567         htmlize.  Also, just switch to EXAMPLE processing if we do not
3568         have a good version of htmlize.
3570         * org-rmail.el: Fix copyright notice.
3572         * org.el (org-activate-footnote-links): Improve footnote link
3573         highlighting.
3575         * org-footnote.el (org-footnote-normalize): Fix finding the end of
3576         a footnote definition at the end of the file.
3578         * org-table.el (org-table-get-specials): Add an imagined hline at
3579         the end of the table.  This can be useful for references that want
3580         to go to the end of the table.  Also fix bug when computing last
3581         row constants, in tables that do not start right at the right
3582         margin.
3583         (org-table-eval-formula): Match and replace remove references.
3584         (org-table-formula-substitute-names): Make sure that names inside
3585         a "remote" call are left alone, the will be replaced later when
3586         the remote call is handled.
3587         (org-table-convert-refs-to-rc): Do not convert things that might
3588         look like a reference, but are really part of an ID or namei n a
3589         remote reference.
3590         (org-table-get-remote-range): New function.
3592 2009-01-22  Carsten Dominik  <carsten.dominik@gmail.com>
3594         * org-faces.el (org-clock-overlay): Fix bug in face definition.
3596         * org-clock.el (org-clock-put-overlay): Use new face instead of
3597         `secondary-selection'.
3599         * org-faces.el (org-clock-overlay): New face.
3601 2009-01-21  Carsten Dominik  <carsten.dominik@gmail.com>
3603         * org-exp.el (org-get-current-options): Include the option for
3604         publishing time stamps.
3606         * org.el (org-toggle-heading): Renamed from
3607         `org-toggel-region-headings'.
3608         No longer needs a region defined, but will use it if there is one.
3609         (org-ctrl-c-star): Simplified, relying more on the internal
3610         workings of `org-toggle-heading'.
3611         (org-toggle-item): Renamed from `org-toggle-region-items'.
3612         No longer needs a region defined, but will use it if there is one.
3613         (org-ctrl-c-minus): Simplified, relying more on the inernal
3614         workings of `org-toggle-item'.
3616         * org-export-latex.el (org-export-latex-preprocess): Fix bug in
3617         environment detection.  Also, do real changes only in unprotected
3618         places.
3620 2009-01-20  Carsten Dominik  <carsten.dominik@gmail.com>
3622         * org-export-latex.el (org-export-latex-quotation-marks): Use
3623         `org-if-unprotected-1'.
3624         (org-export-latex-set-initial-vars): Check for class definition in
3625         property.
3627         * org-macs.el (org-if-unprotected-1): New macro.
3629 2009-01-19  Carsten Dominik  <carsten.dominik@gmail.com>
3631         * org-compat.el (org-count-lines): New function.
3633         * org-exp.el (org-export-format-source-code-or-example): Handle
3634         switches related to text areas.
3636         * org.el (org-activate-footnote-links): Don't allow match inside a
3637         link.
3639         * org-footnote.el (org-footnote-re): Don't allow match inside a link.
3641         * org-export-latex.el (org-export-latex-links): Keep a relative
3642         path relative also after export.
3644         * org-exp.el (org-export-html-scripts): Fix HTML snippet.
3646         * org.el (org-make-tags-matcher): Never use IDO for completing the
3647         tags matcher match string.
3648         (org-completing-read): Also remove the special biding for "?".
3650         * org-attach.el (org-attach-allow-inheritance): New option.
3651         (org-attach-inherited): New variable.
3652         (org-attach-dir): Handle properties related to the attachment
3653         directory.
3654         (org-attach-check-absolute-path): New function.
3655         (org-attach-set-directory, org-attach-set-inherit): New commands.
3656         (org-attach): Accommodate the new commands in the dispatcher.
3658 2009-01-18  Carsten Dominik  <carsten.dominik@gmail.com>
3660         * org-compat.el (org-fit-window-to-buffer): Fix bug with using
3661         `window-full-width-p'.
3663         * org-exp.el (org-export-as-html): Only check for images files
3664         that really can be inlined
3666         * org.el (org-image-file-name-regexp, org-file-image-p): Allow the
3667         list of extensions to be a parameter.
3669         * org-exp.el (org-export-html-inline-image-extensions): New
3670         variable.
3672         * org-agenda.el (org-prepare-agenda): Use
3673         `org-agenda-block-separator'.
3674         (org-agenda-block-separator): New option.
3676 2009-01-17  Carsten Dominik  <carsten.dominik@gmail.com>
3678         * org-export-latex.el (org-export-latex-tables): Call
3679         `org-table-clean-before-export' with the new optional argument.
3681         * org-exp.el (org-table-clean-before-export): New optional
3682         parameter MAYBE-QUOTED, allows for quoted characters like \# in
3683         first column.
3685 2009-01-16  Carsten Dominik  <carsten.dominik@gmail.com>
3687         * org-plot.el (org-plot/gnuplot): Fix text-ind parameter for
3688         histograms.
3690         * org-colview.el (org-colview-construct-allowed-dates): Better
3691         error catching when a date/time property does not have allowed
3692         values defined.
3694         * org-colview-xemacs.el (org-colview-construct-allowed-dates):
3695         Better error catching when a date/time property does not have
3696         allowed values defined.
3698 2009-01-14  Carsten Dominik  <carsten.dominik@gmail.com>
3700         * org.el (org-map-entries): Restore point and restriction after
3701         `org-map-entries'.
3703 2009-01-13  Carsten Dominik  <carsten.dominik@gmail.com>
3705         * org.el (org-time=, org-time<, org-time<=, org-time>)
3706         (org-time>=, org-time<>): Make sure both values are dates.
3708 2009-01-11  Carsten Dominik  <carsten.dominik@gmail.com>
3710         * org-archive.el (org-extract-archive-heading): Allow %s for file
3711         name also in achive location heading.
3713 2009-01-10  Carsten Dominik  <carsten.dominik@gmail.com>
3715         * org-archive.el (org-add-archive-files): Uniquify the list before
3716         returning it.
3718 2009-01-09  Carsten Dominik  <carsten.dominik@gmail.com>
3720         * org-compat.el (org-fit-window-to-buffer): Use
3721         `window-full-width-p'.
3723         * org-export-latex.el (org-export-latex-fixed-width): Enforce the
3724         space after the colon in short examples.
3726         * org-exp.el (org-export-protect-colon-examples): Rewritten, to
3727         enforce a space after the colon.  However, we also allow lines
3728         that are *only* a colon.
3729         (org-export-as-html): Enforce the space after the colon in short
3730         examples.
3731         (org-export-preprocess-string): Do the colon example protection
3732         earlier.
3733         (org-export-remove-timestamps): Do not check for protection at the
3734         end of the line.
3736 2009-01-08  Carsten Dominik  <carsten.dominik@gmail.com>
3738         * org.el (org-format-latex-options): Add new matcher for single
3739         letters between dollars.
3740         (org-get-header): Function removed.
3741         (org-heading-components): New function.
3743         * org-exp.el (org-export-define-heading-targets): Record ID's also
3744         as alternative targets.
3745         (org-export-as-html): Interpret "id:" links to other files by
3746         preserving the relative path.
3748         * org-jsinfo.el (org-infojs-handle-options): Catch the case if v
3749         is nil.
3751         * org-exp.el (org-export-normalize-links): Protect the main link,
3752         to avoid special character processing.
3754         * org-export-latex.el (org-export-latex-special-keyword-regexp):
3755         New variable.
3756         (org-export-latex-special-string-regexps): Variable removed.
3757         (org-export-latex-keywords): Use the new regexp.
3759         * org-exp.el (org-export-handle-include-files): Fetch switches and
3760         put them into the BEGIN statement.
3762         * org-timer.el (org-timer-mode-line-string): New variable.
3764         * org-clock.el (org-clock-mode-line-map): Renamed from
3765         `org-clock-mode-map'.
3766         (org-clock-mode-line-timer): Renamed from `org-mode-line-timer'.
3767         (org-clock-update-mode-line): Renamed from `org-update-mode-line'.
3768         (org-clock-put-overlay): Renamed from `org-put-clock-overlay'.
3769         (org-clock-remove-overlays): Renamed from
3770         `org-remove-clock-overlays'.
3772         * org-timer.el (org-timer-pause-or-continue): Implement stopping
3773         and mode line display.
3774         (org-timer-stop): New command.
3775         (org-timer-seconds): Return correct time when timer is paused.
3776         (org-timer-mode-line-timer): New variable.
3777         (org-timer-set-mode-line, org-timer-update-mode-line): New
3778         functions.
3780         * org.el (org-insert-heading):  Handle new value `auto' for
3781         `org-blank-before-new-entry'.
3782         (org-org-menu): Add new items for timer functions.
3784         * org-list.el (org-insert-item): Handle new value `auto' for
3785         `org-blank-before-new-entry'.
3787         * org.el (org-blank-before-new-entry): New value `auto', made
3788         default.
3790 2009-01-07  Carsten Dominik  <carsten.dominik@gmail.com>
3792         * org-exp.el (org-export-normalize-links): If the link is also
3793         used as the description, protect the description.
3795 2009-01-06  Carsten Dominik  <carsten.dominik@gmail.com>
3797         * org.el (org-closest-date): Fix bug with yearly repeats, in
3798         combination with preference of the past as it is used for deadline
3799         and scheduling search.
3801         * org-exp.el (org-html-handle-time-stamps): No longer check for
3802         the `org-export-with-timestamps' option, because the preprocesser
3803         has taken care of this already.
3805         * org.el (org-entry-properties): Catch the case when this is
3806         called in a non-org-mode file.
3808         * org-export-latex.el (org-export-latex-remove-from-headlines):
3809         Variable made obsolete, also LaTeX export now uses the standard
3810         variables.
3811         (org-export-as-latex): Add the timestamps parameter to the
3812         preprocessor parameter list.
3813         (org-export-latex-content): Export the remaining keywords without
3814         considering to remove them.
3815         (org-export-latex-keywords-maybe): Make the REMOVE-LIST optional.
3816         Use bold font instead of tt font for the keywords.
3817         (org-export-latex-fontify-headline): Format headlines, assuming
3818         that all keywords still present should be published.
3819         (org-export-latex-keywords): Remove argument TIMESTAMPS and just
3820         publish what ever remains of the time stamps.
3821         (org-export-latex-list-parameters): New option.
3822         (org-export-latex-lists): Pass additional parameters to the list
3823         converter.
3825         * org-exp.el (org-export-preprocess-string): Remove clock lines
3826         and timestamps already in the preprocesor.
3827         (org-export-remove-timestamps, org-export-remove-clock-lines): New
3828         functions.
3829         (org-export-as-ascii, org-export-as-html): Add the timestamps
3830         parameter to the preprocessor parameter list.
3832         * org-list.el (org-list-parse-list): Parse for checkboxes.
3833         (org-list-to-generic): Introduce and handle new parameters :cbon
3834         and :cboff.
3835         (org-list-to-latex, org-list-to-html, org-list-to-texinfo): Add
3836         optional parameter PARAMS.
3838         * org-export-latex.el (org-export-latex-special-chars): Fix
3839         problems with interpreting dollar signs.
3840         (org-inside-latex-math-p): New function.
3841         (org-export-latex-preprocess): Protect all the math fragments.
3843         * org.el (org-latex-regexps): Allow a dash after a dollar.
3845         * org-w3m.el (org-w3m-copy-for-org-mode): Always deactivate the
3846         mark after copying.
3848         * org-agenda.el (org-run-agenda-series): Have series options set
3849         when finalizing the agenda.
3851         * org-exp.el (org-export-format-source-code-or-example): Protect
3852         the converted examples.
3854         * org.el (org-set-regexps-and-options): Fix the regexp
3855         `org-complex-heading-regexp'.
3857 2009-01-05  Carsten Dominik  <carsten.dominik@gmail.com>
3859         * org.el (org-edit-src-get-label-format): New function.
3860         (org-coderef-label-format): New option.
3861         (org-edit-src-code, org-edit-src-find-region-and-lang): Parse for
3862         a label format specification and make sure it is used in the edit
3863         buffer.
3864         (org-edit-src-get-label-format): New function.
3865         (org-store-link): Handle new coderef formats.
3866         (org-link-search): Handle new coderef formats.
3868         * org-footnote.el (org-footnote-create-definition)
3869         (org-footnote-goto-local-insertion-point): Make footnote insertion
3870         work correctly when the "Footnotes" headline is the last line in
3871         the buffer.
3873         * org.el (org-goto-marker-or-bmk): Expose context after jumping to
3874         the location.
3876 2009-01-04  Carsten Dominik  <carsten.dominik@gmail.com>
3878         * org-w3m.el (org-w3m): New customization group.
3879         (org-w3m-deactivate-mark): New option.
3880         (org-w3m-copy-for-org-mode): Deactivate region, unless the user
3881         option say not to.
3883 2009-01-02  Carsten Dominik  <carsten.dominik@gmail.com>
3885         * org.el (org-set-font-lock-defaults): Trigger footnote
3886         fontification.
3887         (org-activate-footnote-links): New function.
3888         (org-activate-links): New entry `footnote'.
3890         * org-faces.el (org-footnote): New face.
3892 2009-01-01  Carsten Dominik  <carsten.dominik@gmail.com>
3894         * org-macs.el (org-re): Handle the [:word:] class.
3896         * org-exp.el (org-export-preprocess-string): Call
3897         `org-export-protect-colon-examples'.
3898         (org-export-protect-colon-examples): Renamed from
3899         `org-export-protect-examples', and scope limited to lines starting
3900         with a colon.
3902 2008-12-31  Carsten Dominik  <carsten.dominik@gmail.com>
3904         * org-exp.el (org-export-preprocess-string): Move the preprocess
3905         hook to after turning on Org-mode.
3906         (org-export-preprocess-after-include-files-hook)
3907         (org-export-preprocess-after-tree-selection-hook)
3908         (org-export-preprocess-before-backend-specifics-hook)
3909         (org-export-preprocess-final-hook): New hooks.
3910         (org-export-preprocess-string): Run the new hooks.
3912         * org.el (org-ctrl-c-minus): Fix indentation for new items.
3914         * org-footnote.el: New file.
3916         * org.el (org-footnote): Require footnote code.
3917         (org-startup-options): Add new footnote options.
3918         (org-mode-map): New keybindig for footnotes.
3919         (org-ctrl-c-ctrl-c): Add function at footnotes.
3920         (org-org-menu): New menu entries for footnotes.
3922         * org-export-latex.el (org-export-as-latex): Pass footnote
3923         variable to preprocessor.
3924         (org-export-latex-preprocess): Treat multiple references to a
3925         footnote.
3927         * org-exp.el (org-export-preprocess-string): Call
3928         `org-footnote-normalize'.
3929         (org-export-as-ascii, org-export-as-html): Pass footnote variable
3930         to preprocessor.
3931         (org-export-as-html): Treat multiple references to a footnote.
3933 2008-12-26  Carsten Dominik  <carsten.dominik@gmail.com>
3935         * org-export-latex.el (org-export-latex-links): Handle coderef
3936         links.
3938         * org.el (org-bracket-link-analytic-regexp++): New variable.
3939         (org-make-link-regexps): Initialize
3940         `org-bracket-link-analytic-regexp++'.
3941         (org-store-link): Implement special case in edit-src buffer.
3942         (org-insert-link): No use of ide to insert stored links.
3943         (org-link-search): Implement special case for coderefs.
3945         * org-exp.el (org-export-html-scripts): New constant.
3946         (org-export-html-style-default): Add a new style for highlighted
3947         code.
3948         (org-export-code-refs): New variable.
3949         (org-export-preprocess-string): Initialize `org-export-code-refs'.
3950         Call `org-export-replace-src-segments-and-examples'
3951         No longer call `org-export-protect-examples'.
3952         (org-export-target-internal-links): Take care of coderef targets.
3953         (org-export-last-code-line-counter-value): New variable.
3954         (org-export-replace-src-segments-and-examples): Renamed from
3955         `org-export-replace-src-segments', and modified.
3956         (org-export-format-source-code-or-example): Renamed from
3957         `org-export-format-source-code'.
3958         (org-export-number-lines): New function.
3959         (org-export-as-ascii, org-export-as-html): Handle coderef links.
3961 --------------------------------------------------------------------------
3963 2008-12-23  Carsten Dominik  <carsten.dominik@gmail.com>
3965         * org-remember.el (org-remember-handler): Safer way to get a new
3966         buffer accessing the target file.
3968         * org.el (org-refile-get-location): Handle case of current buffer
3969         not having a file associated with it.
3971 2008-12-22  Carsten Dominik  <carsten.dominik@gmail.com>
3973         * org-table.el (org-table-get-formula): Only ask to overwrite
3974         field formula if there really is one.
3976         * org-id.el (org-id-find): Allow the ID to be a symbol or a
3977         number, by converting these to a string.
3979         * org-colview.el (org-dblock-write:columnview): Allow ID to be
3980         located in a different file.
3982         * org-colview-xemacs.el (org-dblock-write:columnview): Copy from
3983         org-colview.el.
3985 2008-12-21  Carsten Dominik  <carsten.dominik@gmail.com>
3987         * org.el (org-completion-use-ido): Enhance docstring of
3988         `org-completion-use-ido'.
3990         * org-export-latex.el (org-export-latex-make-header): Double the %
3991         in the time stamp format.
3992         (org-export-latex-special-chars): Handle case where there is no
3993         match group 3.
3995 2008-12-20  Carsten Dominik  <carsten.dominik@gmail.com>
3997         * org.el (org-get-refile-targets, org-refile-get-location): Use
3998         expanded file name to improve comparison.
4000 2008-12-19  Carsten Dominik  <carsten.dominik@gmail.com>
4002         * org.el (org-scan-tags): Rescan for tags, to get the correct
4003         upcase/downcase stuff.  This slows things down for now, but it
4004         works.
4005         (org-mode): Make sure the tag-faces regexp is initialized.
4007         * org-export-latex.el (org-export-latex-links): Fix bug with
4008         undefined label.
4010         * org-table.el (org-table-get-specials): Set
4011         `org-table-current-last-data-line'.
4012         (org-table-current-last-data-line): New variable.
4013         (org-table-insert-column, org-table-delete-column)
4014         (org-table-move-column, org-table-fix-formulas): Call
4015         `org-table-fix-formulas' a second time to fix the $LR references.
4016         (org-table-get-specials): Add the $LR references to the tables.
4017         (org-table-get-formula): Do not offer last-row names as LHS of
4018         formulas.
4020         * org.el (org-store-link): Capture link description from
4021         `org-id-store-link'.
4023         * org-exp.el (org-export-html-format-image): Add the / to the end
4024         of the <img> tag.
4025         (org-export-format-source-code): Surround example by empty lines,
4026         to make sure it will not be inside a paragraph.
4028         * org.el (org-ido-switchb): New function.
4030 2008-12-18  Carsten Dominik  <carsten.dominik@gmail.com>
4032         * org-agenda.el (org-agenda-show): New prefix argument
4033         FULL-ENTRY.
4035         * org.el (org-sort-entries-or-items): Add a COMPARE-FUNC
4036         argument.
4038         * org-agenda.el (org-agenda-set-tags): Leave getting the tags to
4039         `org-agenda-change-all-lines'.
4040         (org-agenda-change-all-lines): Removed FORCE-TAGS argument, the
4041         tags are now retrieved locally.
4043 2008-12-17  Carsten Dominik  <carsten.dominik@gmail.com>
4045         * org.el (org-get-outline-path): Fix bug if level is not given.
4046         (org-org-menu): Do not quote function in menu vector.
4048         * org-agenda.el (org-finalize-agenda): Fix typo with variable
4049         name.
4051 2008-12-16  Carsten Dominik  <carsten.dominik@gmail.com>
4053         * org.el (org-refile): Avoid refiling to within the region to be
4054         refiled.
4056         * org-export-latex.el (org-export-latex-special-chars): Replace
4057         special characters also in tables.
4059         * org-agenda.el (org-agenda-change-all-lines): New argument
4060         FORCE-TAGS.
4061         (org-agenda-set-tags): Cet the new tags and pass them to
4062         `org-format-agenda-item'.
4064 2008-12-15  Carsten Dominik  <carsten.dominik@gmail.com>
4066         * org-export-latex.el (org-export-latex-classes): Add longable as
4067         a default package to all classes.
4068         (org-export-latex-tables): Handle the longtable attribute and the
4069         align attribute.
4071         * org-table.el (orgtbl-to-generic): Handle tables that start with
4072         a hline.
4074         * org-export-latex.el (org-export-latex-emphasis-alist): Switch to
4075         \verb for colde-like snippets.
4076         (org-export-as-latex): Fix issues with region export.
4078         * org.el (org-up-heading-safe): Speed up function by using a
4079         direct regexp search.
4080         (org-olpa): New variable.
4081         (org-get-outline-path): Speed-up path constructions in cases where
4082         this is possible because the entire hierarchy is scanned anyway.
4083         (org-refile-get-location): Don't compare the truenames of files,
4084         this is too slow.
4085         (org-goto-max-level): New option.
4086         (org-goto): Use `org-goto-max-level'.
4088 2008-12-12  Tassilo Horn  <tassilo@member.fsf.org>
4090         * org-gnus.el (org-gnus-article-link, org-gnus-article-link):
4091         Strip angle brackets from message-ids in the former and don't do
4092         it in the latter.
4093         (org-gnus-follow-link): Open summary reliable, even if the last
4094         messages were deleted, and handle empty groups, too.
4096 2008-12-12  Carsten Dominik  <carsten.dominik@gmail.com>
4098         * org-export-latex.el (org-export-latex-emphasis-alist): Use \verb
4099         instead of \texttt for the =...= and ~===~ emphasis environments.
4100         (org-export-as-latex): Remove any old :org-license-to-kill text
4101         properties.
4102         (org-export-as-latex): Pass RBEG to `org-export-latex-first-lines'.
4103         (org-export-latex-make-header): Add some hard space after the
4104         table of contents.
4105         (org-export-latex-first-lines): Accept RBEG argument.  Mark
4106         exported text so that it will be excuded in further steps.
4108         * org-table.el (org-table-get-specials): Make @0 reference the
4109         last line in a table.
4110         (org-table-recalculate): Improve docstring.
4112 2008-12-11  Carsten Dominik  <carsten.dominik@gmail.com>
4114         * org.el (org-log-done): Fix docstring.
4116 2008-12-10  Carsten Dominik  <carsten.dominik@gmail.com>
4118         * org-exp.el (org-export-html-format-image): Fix bugs.
4120         * org-export-latex.el (org-export-latex-tables)
4121         (org-export-latex-links): Implement attribute, label, and caption
4122         handling.
4124         * org-exp.el (org-export-html-style-default): Add style
4125         definitions for the figure div.
4126         (org-export-preprocess-string, org-export-as-html): Implement
4127         attribute, label, and caption handling.
4128         (org-export-attach-captions-and-attributes): New function.
4129         (org-export-html-format-image): New function.
4130         (org-format-org-table-html): Implement attribute, label, and
4131         caption handling.
4133         * org.el (org-find-text-property-in-string): New function.
4134         (org-extract-attributes): Use the property org-attr instead of
4135         org-attrobutes, because this property is now set with the #+ATTR
4136         lines.
4138 2008-12-08  Carsten Dominik  <carsten.dominik@gmail.com>
4140         * org-compat.el (org-substring-no-properties): Fix for XEmacs, for
4141         the case that FROM is nil.
4143         * org.el (org-before-first-heading-p): New function.
4145 2008-12-07  Carsten Dominik  <carsten.dominik@gmail.com>
4147         * org-exp.el (org-export-as-html): Do not add a space before
4148         enforces line breaks.
4149         (org-export-as-html): Close paragraph before blockquote and verse
4150         tags.
4152 2008-12-06  Carsten Dominik  <carsten.dominik@gmail.com>
4154         * org-id.el (org-id-locations-file): Wrap file name with
4155         `convert-standard-filename'.
4156         (org-id-files): New variable.
4157         (org-id-use-hash): New option.
4158         (org-id-update-id-locations): Also search in all files current
4159         listed in `org-id-files'.  Convert the resulting alist to a hash
4160         if the user customation says so.
4161         (org-id-locations-save): Handle he case if `org-id-locations' is a
4162         hash.
4163         (org-id-locations-load): Convert the alist to a hash.
4164         (org-id-add-location): Handle the hast case.
4165         (kill-emacs-hook): Make sure id locations are saved when Emacs is
4166         exited.
4167         (org-id-hash-to-alist, org-id-alist-to-hash)
4168         (org-id-paste-tracker): New functions.
4170 -------------------------------------------------------------------------
4172 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
4174         * org-agenda.el (org-agenda-goto-calendar): Remove duplicate let
4175         bindings of calendar variables.
4177         * org-table.el (org-table-find-row-type): Renamed from
4178         `org-find-row-type'.
4179         (org-table-rewrite-old-row-references): Renamed from
4180         `org-rewrite-old-row-references'.
4181         (org-table-shift-refpart): Renamed from `org-shift-refpart'.
4182         (org-table-cleanup-narrow-column-properties): Renamed from
4183         `org-cleanup-narrow-column-properties'.
4185 2008-12-05  Carsten Dominik  <carsten.dominik@gmail.com>
4187         * org-table.el (org-find-row-type): New arguments DESC and CLINE,
4188         for better error messages.
4189         (org-table-get-descriptor-line): Supply the new arguments to
4190         `org-find-row-type'.
4191         (org-table-error-on-row-ref-crossing-hline): New option.
4193         * org.el (org-target-link-regexp): Make buffer-local.
4194         (org-move-subtree-down): Fix bug with trees at beginning of
4195         buffer.
4197 2008-12-04  Carsten Dominik  <carsten.dominik@gmail.com>
4199         * org-faces.el (org-set-tag-faces): New function.
4200         (org-tags-special-faces-re): New variable.
4202         * org.el (org-font-lock-add-tag-faces, org-get-tag-face): New functions.
4204         * org-faces.el (org-tag-faces): New option.
4205         (org-tag): Mention `org-tag-faces' in the docstring.
4207 2008-12-03  Carsten Dominik  <carsten.dominik@gmail.com>
4209         * org-exp.el (org-export-html-style-default): Implement new
4210         quoting.
4212         * org-jsinfo.el (org-infojs-template): Implement new quoting.
4214         * org-w3m.el (w3m-minor-mode-hook): Also add the special copy
4215         command to the `w3m-minor-mode-map'.
4217         * org-archive.el (org-archive-to-archive-sibling): Protect
4218         `this-command' to avoid appending kills during archiving.
4220         * org-exp.el (org-export-with-priority): New variable.
4221         (org-export-add-options-to-plist): Use `org-export-plist-vars'
4222         instead of internal list of strings and properties.
4223         (org-print-icalendar-entries): Retrieve the location property with
4224         inheritance.
4226 2008-12-02  Carsten Dominik  <carsten.dominik@gmail.com>
4228         * org-exp.el (org-export-with-todo-keywords): New option.
4229         (org-export-plist-vars): Include also the keys for the #+OPTIONS
4230         line.
4231         (org-default-export-plist, org-export-add-options-to-plist)
4232         (org-export-as-ascii, org-export-as-html): Use the new structure
4233         of `org-export-plist-vars'.
4235         * org.el (org-map-entries): Return all values.
4237 2008-11-29  Carsten Dominik  <carsten.dominik@gmail.com>
4239         * org.el (org-matcher-time): Recognize more special values.
4241         * org-gnus.el (fboundp): Fix defvaralias for XEmacs.
4243 2008-11-27  Carsten Dominik  <carsten.dominik@gmail.com>
4245         * org.el (org-tags-exclude-from-inheritance): New option.
4246         (org-tag-inherit-p, org-remove-uniherited-tags): Respect
4247         `org-tags-exclude-from-inheritance'.
4249         * org-agenda.el (org-agenda-show-inherited-tags): New option.
4250         (org-format-agenda-item): Add inherited tags to the agenda line
4251         string, and make sure that properties are kept when downcasing the
4252         tags list.
4253         (org-agenda-add-inherited-tags): New function.
4254         (org-downcase-keep-props): New function.
4256         * org.el (org-scan-tags): Mark inherited tags with a text
4257         property.
4258         (org-get-tags-at): Mark inherited tags with a text property.
4259         (org-add-prop-inherited): New function.
4261         * org-agenda.el (org-agenda-add-inherited-tags): New function.
4262         (org-agenda-show-inherited-tags): New option.
4264 2008-11-26  Carsten Dominik  <carsten.dominik@gmail.com>
4266         * org.el (org-modules): Add org-w3m to the default modules.
4268         * org-table.el (orgtbl-self-insert-command): Make S-SPC work in
4269         orgtbl-mode.
4270         (orgtabl-create-or-convert-from-region): New command.
4272         * org-exp.el (org-export-as-ascii): Remove the handling of
4273         targets.
4274         (org-export-ascii-preprocess): Handle targets already in this
4275         function.
4277 2008-11-25  Carsten Dominik  <carsten.dominik@gmail.com>
4279         * org-timer.el (org-timer-start-time): Define this variable.
4280         (org-timer-item): Make argument optional.
4282         * org-list.el (org-insert-item): Automatically insert a timer item
4283         if the current list is a timer list.
4285         * org-timer.el: New file.
4287         * org-publish.el (org-publish-org-index): Only exclude the index
4288         file in the main directory from being added to the site-map.
4289         (org-publish-get-project-from-filename): If the current project is
4290         a component, start publishing from the parent project.
4292 2008-11-24  Carsten Dominik  <carsten.dominik@gmail.com>
4294         * org-table.el (orgtbl-ret): Fix RET at beginning-of-buffer.
4296         * org-publish.el (org-publish-org-index): Improve removal of
4297         temporary buffers.
4299         * org-agenda.el (org-get-closed): Re-apply changes
4300         accidentially overwritten by last commit to Emacs.
4302         * org.el (org-outline-path-complete-in-steps): New option.
4303         (org-refile-get-location): Honor
4304         `org-outline-path-complete-in-steps'.
4305         (org-agenda-change-all-lines, org-tags-sparse-tree)
4306         (org-time-string-to-absolute, org-small-year-to-year)
4307         (org-link-escape): Re-apply changes accidentially overwritten
4308         by last commit to Emacs.
4310 2008-11-23  Carsten Dominik  <carsten.dominik@gmail.com>
4312         * org-clock.el (org-dblock-write:clocktable): Make sure the
4313         clocktable sees the first line.
4314         (org-clock-in): Warn if the clock cannot be resumed.
4316 2008-11-22  Carsten Dominik  <carsten.dominik@gmail.com>
4318         * org.el (org-open-at-point): Fix mixup about interactive and
4319         non-interactive elisp links.
4321 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4323         * org-exp.el (org-export-preprocess-string): Allow one comment
4324         line before the first headline to always be included.  This is
4325         to not miss a commented target.
4327         * org-mouse.el (org-mouse-insert-item): Call
4328         `org-indent-to-column' instead of `indent-to', for XEmacs
4329         compatibility.
4331         * org.el (org-refile-targets): Fix customize definition so
4332         that it works also in XEmacs.
4333         (org-fixup-indentation): Call `org-indent-to-column' instead
4334         of `indent-to', for XEmacs compatibility.
4336 2008-11-21  Tokuya Kameshima  <kames@fa2.so-net.ne.jp>
4338         * org-mew.el (org-mew-store-link): Get the correct case folder
4339         for refiled messages.
4341 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4343         * org-exp.el (org-export-as-ascii): Remove the "\\" forced
4344         line break indicators.
4346         * org.el (org-ido-completing-read): Remove the "i:" prefix for
4347         ido-completion propts.
4349 2008-11-21  Carsten Dominik  <carsten.dominik@gmail.com>
4351         * org-remember.el (org-remember-apply-template): Use
4352         `org-substring-no-properties'.
4354         * org-compat.el (org-substring-no-properties): New function.
4356         * org-remember.el (org-remember-apply-template): Use
4357         `org-substring-no-properties' for compatibility.
4359         * org-list.el (org-list-two-spaces-after-bullet-regexp): New
4360         option.
4361         (org-fix-bullet-type): respect
4362         `org-list-two-spaces-after-bullet-regexp'.
4364         * org-clock.el (org-clock-load): Clean up the code.
4366         * org.el (org-adaptive-fill-function): Allow two spaces after
4367         "1." as a list bullet.
4369 2008-11-20  Carsten Dominik  <carsten.dominik@gmail.com>
4371         * org-clock.el (org-clock-save, org-clock-load): Check for
4372         live buffers, existing files, and buffer file names to ensure
4373         consistent information.
4374         (org-clock-persist): Make `clock' a special value of this
4375         variable, and improve docstring.
4377         * org-list.el (org-cycle-list-bullet, org-fix-bullet-type)
4378         (org-get-string-indentation): Adapt indentation when the bullet
4379         width changes.
4381 2008-11-19  Carsten Dominik  <carsten.dominik@gmail.com>
4383         * org-remember.el (org-remember-finalize): Make interactive.
4384         (org-remember-kill): New command.
4385         (org-remember-finish-immediately): Call `org-remember-finalize'
4386         directly.
4387         (org-remember-finalize): Make `org-remember-finalize' an interactive
4388         function.
4390 2008-11-18  Carsten Dominik  <carsten.dominik@gmail.com>
4392         * org-remember.el (org-remember-apply-template): No ido completion
4393         for free prompts in remember templates.
4394         (org-remember-before-finalize-hook): New hook.
4395         (org-remember-mode): New minor mode.
4396         (org-remember-apply-template): Turn on `org-remember-mode'.
4398         * org-id.el (org-id-add-location): Avoid error when no file is
4399         given.
4401         * org-remember.el (org-remember-apply-template): Fix the way how
4402         the list of allowed properties is retrieved from the target file.
4404         * org.el (org-insert-link): Improve file link matching.
4406 2008-11-17  Carsten Dominik  <carsten.dominik@gmail.com>
4408         * org-colview.el (org-columns-display-here): New argument
4409         DATELINE, to trigger using the new face.
4410         (org-agenda-colview-summarize): Call `org-columns-display-here'
4411         with the new argument.
4413         * org-faces.el (org-agenda-column-dateline): New face.
4415         * org-publish.el (org-publish-org-index): Use index-title at page
4416         title, not as section.
4418         * org-exp.el (org-export-html-format-desc): Respect the
4419         org-protect property.
4420         (org-export-as-html): Protect image specifiers that are in the
4421         description part of a link.
4423         * org.el (org-sort-entries-or-items, org-completing-read)
4424         (org-refile-get-location, org-olpath-completing-read, org-todo)
4425         (org-show-todo-tree, org-sparse-tree, org-make-tags-matcher)
4426         (org-set-tags, org-change-tag-in-region, org-fast-tag-selection)
4427         (org-set-property, org-delete-property)
4428         (org-delete-property-globally): Use `org-ido-completing-read'.
4430         * org-remember.el (org-remember-apply-template): Use
4431         `org-ido-completing-read'.
4433         * org-publish.el (org-publish): Use `org-ido-completing-read'.
4435         * org-colview.el (org-columns-edit-value, org-columns-new)
4436         (org-insert-columns-dblock): Use `org-ido-completing-read'.
4438         * org-colview-xemacs.el (org-columns-edit-value)
4439         (org-columns-new, org-insert-columns-dblock): Use
4440         `org-ido-completing-read'.
4442         * org-attach.el (org-attach-delete-one, org-attach-open): Use
4443         `org-ido-completing-read'.
4445         * org-agenda.el (org-todo-list, org-agenda-filter-by-tag): Use
4446         `org-ido-completing-read'.
4448         * org.el (org-time-today): New function.
4449         (org-matcher-time): Use `org-time-today'.  Add special treatment
4450         for "<tomorrow>" and "<yesterday>".
4451         (org-ido-completing-read): New function.
4452         (org-completion-use-ido): New option.
4454         * org-exp.el (org-export-format-source-code): Fix bug in require
4455         htmlize code.
4456         (org-export-target-internal-links): Fix bug in search for text
4457         property.
4459 2008-11-16  Carsten Dominik  <carsten.dominik@gmail.com>
4461         * org-export-latex.el (org-export-latex-subcontent): Interprete
4462         target aliases as additonal labels.
4464         * org-exp.el (org-export-target-aliases): New variable.
4465         (org-export-preprocess-string)
4466         (org-export-handle-invisible-targets): Fill the alias alist.
4467         (org-export-as-html): Remove the &nbsp; from the anchor, and also
4468         assign an id.
4469         (org-html-level-start): Insert the target aliases as additonal
4470         anchors.
4472         * org.el (org-edit-fixed-width-region): Fix bug when starting a new
4473         picture area.
4475 2008-11-15  Carsten Dominik  <carsten.dominik@gmail.com>
4477         * org.el (org-open-at-mouse): Ensure correct link abbreviations
4478         when following a link with the mouse from the agenda.
4480         * org-exp.el (org-export-as-html): Avoid lone </div> when no
4481         headlines are created.
4483 2008-11-14  Carsten Dominik  <carsten.dominik@gmail.com>
4485         * org-exp.el (org-export-preprocess-string): Reorder so that we
4486         can still see ID properties when we collect targets.
4487         (org-export-target-internal-links): Also store targets for ID's.
4489         * org.el (org-link-translation-function): New option.
4490         (org-open-at-point): Call `org-link-translation-function' if
4491         non-nil.
4492         (org-translate-link): New function.
4493         (org-translate-link-from-planner): New function.
4494         (org-open-at-point): Allow interactive commands in elisp links.
4496         * org-exp.el (org-icalendar-cleanup-string): Restore the old
4497         iCalendar quoting.  The new one seems to caus problems with
4498         applications.
4500         * org.el (org-yank): Set `this-command' to `yank', so that
4501         `yank-pop' will work.
4503 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
4505         * org-id.el (org-id-search-archives): New option.
4507         * org.el (org-link-to-org-use-id): New option.
4508         (org-store-link): Use `org-link-to-org-use-id'.
4509         (org-id): Make org-id.el a standard component.
4511 2008-11-13  Carsten Dominik  <carsten.dominik@gmail.com>
4513         * org.el (org-link-expand-abbrev): Implement %h as an escape for a
4514         hexified version of the tag.
4516         * org-exp.el (org-icalendar-cleanup-string): Improve RFC2455
4517         compliance as far as quoting is concerned.
4519         * org-vm.el (org-vm-follow-link): Require `vm-search'.
4521         * org.el (org-up-heading-safe, org-forward-same-level): Always
4522         call `org-back-to-heading' instead of `outline-back-to-heading'.
4523         (org-back-to-heading): New wrapper around outline-back-to-heading,
4524         with a useful error message telling where the error happened.
4526         * org-list.el (org-update-checkbox-count): Always call
4527         `org-back-to-heading' instead of `outline-back-to-heading'.
4529         * org-exp.el (org-export-as-html): Make sure that each <img> tag
4530         has an `alt' attribute, to ensure XHTML validation.
4532 2008-11-12  Carsten Dominik  <carsten.dominik@gmail.com>
4534         * org-publish.el (org-publish-attachment): Allow publishing to
4535         overwrite attachment files.
4537         * org-agenda.el (org-agenda-timerange-leaders): New option.
4538         (org-agenda-get-blocks): Use `org-agenda-timerange-leaders'.
4540         * org.el (org-edit-src-exit): Untabify ASCII image before
4541         returning.
4554 2008-11-11  Carsten Dominik  <carsten.dominik@gmail.com>
4556         * org.el (org-yank): Make any prefix force normal yanking.
4557         Suppress folding if text would be swallowed into a folded
4558         subtree.
4559         (org-yank-folded-subtrees, org-yank): Docstring updates.
4561         * org-agenda.el (org-agenda-compare-effort): Treat no effort
4562         defined as 0.
4564         * org-exp.el (org-export-language-setup): Add Catalan and
4565         Esperanto language entries.
4567 2008-11-10  Carsten Dominik  <carsten.dominik@gmail.com>
4569         * org.el (org-refile): Allow refiling of entire regions.
4571         * org-clock.el (org-clock-time%): New function.
4573         * org.el (org-entry-get, org-entry-delete): Use safer regexps to
4574         retrieve property values.
4576 2008-11-09  Carsten Dominik  <carsten.dominik@gmail.com>
4578         * org-agenda.el (org-agenda-list): Handle the value `only' of
4579         org-agenda-show-log'.
4580         (org-agenda-log-mode): Interpret a double prefix arg.
4582 2008-11-08  Carsten Dominik  <carsten.dominik@gmail.com>
4584         * org-exp.el (org-export-html-footnotes-section): New variable.
4585         (org-export-as-html): Use `org-export-html-footnotes-section' to
4586         insert the footnotes.
4587         (org-export-language-setup): Add "Footnotes" to language words.
4589 2008-11-07  Carsten Dominik  <carsten.dominik@gmail.com>
4591         * org.el (org-yank): Fix bug when not inserting a subtree.
4593 2008-11-06  Carsten Dominik  <carsten.dominik@gmail.com>
4595         * org-vm.el (org-vm-follow-link): Call `vm-preview-current-message'
4596         instead of `vm-beginning-of-message'.
4598         * org.el (org-make-link-regexps): Make sure that links to gnus can
4599         contain brackets.
4601 2008-11-05  Carsten Dominik  <carsten.dominik@gmail.com>
4603         * org-attach.el (org-attach-dir): Remove duplicate ID creation
4604         code.
4606         * org-id.el (org-id-new): Use `org-trim' to extract the uuid from
4607         shell output.
4609         * org.el (org-link-abbrev-alist): Improve customization type.
4611         * org-attach.el (org-attach-expand-link, org-attach-expand): New
4612         functions.
4614         * org-agenda.el (org-agenda-get-progress): Renamed from
4615         `org-get-closed'.  Implement searching for state changes as well.
4616         (org-agenda-log-mode-items): New option.
4617         (org-agenda-log-mode): New option prefix argument, interpreted as
4618         request to show all possible progress info.
4619         (org-agenda-get-day-entries): Call `org-get-progress' instead of
4620         `org-get-closed'.
4621         (org-agenda-set-mode-name): Handle the more complex log mode
4622         settings.
4623         (org-get-closed): New alias, pointing to `org-get-progress'.
4625 2008-11-05  Carsten Dominik  <dominik@science.uva.nl>
4627         * org.el (org-file-apps-defaults-gnu)
4628         (org-file-apps-defaults-macosx)
4629         (org-file-apps-defaults-windowsnt): Add an entry defining the
4630         system command.
4631         (org-file-apps): Allow `system' as key and value.
4632         (org-open-at-point): Explain the effect of a double prefix arg.
4633         (org-open-file): If the argument `in-emacs' is (16),
4634         i.e. corresponding to a double prefix argument, try to open the
4635         file externally.
4637 2008-11-04  Carsten Dominik  <dominik@science.uva.nl>
4639         * org.el (org-insert-link): Abbreviate absolute files names in
4640         links.  Also, fix a bug in which the double C-u prefix would not
4641         be honored.
4643 2008-11-03  Carsten Dominik  <dominik@science.uva.nl>
4645         * org.el (org-insert-heading): If buffer does not end with a
4646         newline, add one if necessary to insert headline correctly.
4648         * org-exp.el (org-export-as-html): Make sure that <hr/> is between
4649         paragraphs, not inside.
4651         * org.el (org-todo): Quote
4652         `org-agenda-headline-snapshot-before-repeat'.
4654         * org-exp.el (org-export-as-html): Fully process link descriptions.
4655         (org-export-html-format-desc): New function.
4656         (org-export-as-html): Collect footnotes into the correct basket.
4657         (org-html-protect): No longer protect quotations marks here, this
4658         goes wrong.
4660         * org-agenda.el (org-agenda-remove-marked-text): Bind variable
4661         BEG.
4663         * org-compat.el (org-fit-window-to-buffer): New function (not
4664         really, a preliminary and incomplete version was present earlier,
4665         but not used).
4667         * org.el (org-fast-todo-selection, org-fast-tag-selection): Use
4668         `org-fit-window-to-buffer'.
4670         * org-exp.el (org-export): Use `org-fit-window-to-buffer'.
4672         * org-agenda.el (org-agenda-get-restriction-and-command)
4673         (org-fit-agenda-window, org-agenda-convert-date): Use
4674         `org-fit-window-to-buffer'.
4676         * org-exp.el (org-export-as-html): Process href links through
4677         `org-export-html-format-href'.
4678         (org-export-html-format-href): New function.
4680         * org-agenda.el (org-agenda-todo): Update only the current
4681         headline if this is a repeated TODO, marked done for today.
4682         (org-agenda-change-all-lines): New argument JUST-THIS, to change
4683         only the current line.
4685         * org.el (org-todo): Take a snapshot of the headline if the
4686         repeater might change it.
4688 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
4690         * org-publish.el (org-publish-find-title): Remove buffers visited
4691         only for extracting the title.
4693         * org-exp.el (org-export-html-style)
4694         (org-export-html-style-default): Mark style definitions as
4695         unparsed CDATA.
4697         * org-publish.el (org-publish-validate-link): Function
4698         re-introduced.
4700 2008-11-02  Charles Sebold  <csebold@gmail.com>
4702         * org-plot.el (org-plot/add-options-to-plist): Supports timefmt
4703         property.
4704         (org-plot-quote-timestamp-field): New function.
4705         (org-plot-quote-tsv-field): Call timestamp field function when
4706         necessary rather than just quoting as a string.
4707         (org-plot/gnuplot-to-data): Pass in timefmt property.
4708         (org-plot/gnuplot-script): Supports timefmt property.
4709         (org-plot/gnuplot): Checks for timestamp column before checking
4710         for text index column.
4712 2008-11-02  Carsten Dominik  <dominik@science.uva.nl>
4714         * org.el (org-insert-heading): Improve behavior with hidden subtrees.
4716         * org-publish.el (org-publish-org-index): Create a section in the
4717         index file.
4718         (org-publish-org-index): Stop linking to directories.
4720         * org.el (org-emphasis-alist): Use span instead of <u> to
4721         underline text.
4723         * org-exp.el (org-export-as-html): Make sure <p> is closed before
4724         <pre> sections.
4726 2008-11-01  Sebastian Rose  <sebastian_rose@gmx.de>
4728         * org-jsinfo.el (org-infojs-template): Remove language attribute
4729         from script tag.
4731 2008-11-01  Carsten Dominik  <dominik@science.uva.nl>
4733         * org-agenda.el (org-agenda-remove-marked-text): New function.
4734         (org-agenda-mark-filtered-text)
4735         (org-agenda-unmark-filtered-text): New functions.
4736         (org-write-agenda): Remove fltered text.
4738         * org.el (org-make-tags-matcher): Give access to TODO "property"
4739         without speed penalty.
4741 2008-10-29  Carsten Dominik  <dominik@science.uva.nl>
4743         * org.el (org-link-frame-setup): Add `org-gnus-no-new-news' as an
4744         option.
4745         (org-store-link-props): Make sure adding to the plist works
4746         correctly.
4748         * org-gnus.el (org-gnus-no-new-news): New function.
4749         (org-gnus-follow-link): Allow the article ID to be a message-id,
4750         in addition to allowing article numbers.  Message IDs make much
4751         more roubust links.
4752         (org-gnus-store-link): Use message-id to create link.
4754 2008-10-28  Carsten Dominik  <dominik@science.uva.nl>
4756         * org.el (org-emphasize): Reverse the selection array.
4757         (org-emphasis-alist): Set <code> tags for the verbatim
4758         environment.
4760         * org-remember.el (org-remember-handler): Fix bug with
4761         prefix-related changing of the note storage target.
4763         * org-exp.el (org-print-icalendar-entries): Make the exported
4764         priorities compatible with RFC 2445.
4766         * org-clock.el (org-clock-save): Insert time stamp without
4767         dependence on time-stamp.el.
4769 2008-10-27  Carsten Dominik  <dominik@science.uva.nl>
4771         * org.el ("saveplace"): If saveplace puts point into an invisible
4772         location, make it visible.
4773         (org-make-tags-matcher): Allow inactive time stamps in time
4774         comparisons.
4775         (org-yank-adjusted-subtrees): New option.
4776         (org-yank): Incorporate adjusting trees.
4777         (org-paste-subtree): New argument FOR-YANK which will cause
4778         insertion at point without backing up over white lines, and leave
4779         point at the end of the inserted text.  Also if the cursor is
4780         at the beginning of a headline, use the same level or the inserted
4781         tree.
4783         * org-publish.el (org-publish-get-base-files-1): Deal correctly
4784         with broken symlinks
4786 2008-10-26  Carsten Dominik  <dominik@science.uva.nl>
4788         * org-exp.el (org-export-select-tags, org-get-current-options):
4789         Fix typo.
4791 2008-10-25  Carsten Dominik  <dominik@science.uva.nl>
4793         * org-agenda.el (org-format-agenda-item)
4794         (org-agenda-filter-make-matcher): Make sure tags are stored and
4795         compared donwcased.
4797 2008-10-23  Carsten Dominik  <dominik@science.uva.nl>
4799         * org.el (org-insert-todo-heading): Fix bug with force-heading
4800         argument.
4802 2008-10-23  James TD Smith  <ahktenzero@mohorovi.cc>
4804         * org-clock.el (org-clock-in-resume): Add a custom option to
4805         toggle starting the clock from an open clock line.
4806         (org-clock-in): When clocking in to an entry, if
4807         `org-clock-in-resume' is set, check if the first clock line is
4808         open and if so, start the clock from the time in the clock line.
4809         (org-clock-persist): Add a custom option to toggle clock
4810         persistence.
4811         (org-clock-persist-query-save): Add a custom option to toggle
4812         asking the user if they want to save the running clock when
4813         exiting.
4814         (org-clock-persist-query-resume): Add a custom option to toggle
4815         asking the user if they want to resume the saved clock when Emacs
4816         is restarted.
4817         (org-clock-save): Add a function to save clock data.
4818         This includes the contents of `org-clock-history' and the buffer
4819         and position of the currently clocked task, if any.
4820         (org-clock-load): Add a function to load clock data.
4821         This populates `org-clock-history', and resumes the saved clocked
4822         task if there is one.
4823         (org-clock-persistence-insinuate): Add a method to set up the
4824         hooks for clock persistence.
4826 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
4828         * org-exp.el (org-export-as-ascii): Handle the case that we are
4829         publishing from an indirect buffer.
4831         * org-table.el (org-table-copy-down): Fix bug with time stamp
4832         increment.
4834         * org-mouse.el (org-mouse-features): New option.
4835         (org-mode-hook): Turn on features depending on
4836         `org-mouse-features'.
4838         * org.el (org-insert-heading-respect-content): Force heading
4839         creation.
4840         (org-insert-heading): keep the folding state of the heading before
4841         the inserted one.
4843 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
4845         * org-archive.el (org-archive-to-archive-sibling): Handle top
4846         level headlines better.
4848 2008-10-21  Bastien Guerry  <bzg@altern.org>
4850         * org-export-latex.el (org-export-latex-classes): Added
4851         \usepackage{graphicx} to the default list of packages.
4853 2008-10-21  Carsten Dominik  <dominik@science.uva.nl>
4855         * org-agenda.el (org-agenda-filter): Renamed from
4856         `org-agenda-filter-tags'.
4858 2008-10-20  Carsten Dominik  <dominik@science.uva.nl>
4860         * org.el (org-entry-properties): Add CATEGORY property, iven if it
4861         is not defined as a property in this entry.
4862         (org-add-log-note): Mask prefix argument when immediately storing
4863         the note.
4865         * org-agenda.el (org-agenda-filter-effort-default-operator): New
4866         option.
4868 2008-10-19  James TD Smith  <ahktenzero@mohorovi.cc>
4870         * org.el (org-add-log-setup): Bugfix; code to find insertion point
4871         after drawers was skipping ahead one line too many, so notes were
4872         inserted after the first note instead of before it.
4874 2008-10-18  Carsten Dominik  <dominik@science.uva.nl>
4876         * org-agenda.el (org-agenda-filter-tags,org-agenda-filter-form):
4877         New variables.
4878         (org-prepare-agenda): Reset the filter tags.
4879         (org-agenda-filter-by-tag, org-agenda-filter-by-tag-show-all):
4880         Show filter tags in mode line.
4882         * org-table.el (orgtbl-to-html): Bind `html-table-tag' for the
4883         formatter.
4885         * org-export-latex.el (org-latex-entities-regexp): New constant.
4886         (org-export-as-pdf): Use two calls to `shell-command'.
4888 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
4890         * org-export-latex.el (org-export-latex-treat-sub-super-char):
4891         Honor the {} value of the subsuperscript setting.  Make sure that
4892         longer subsuperscripts are typeset in a roman font.
4894         * org.el (org-clock-update-time-maybe): Compute negative clock
4895         intervals correctly.
4897 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
4899         * org.el (org-add-log-setup): Respect
4900         `org-log-state-notes-insert-after-drawers'.
4901         (org-log-state-notes-insert-after-drawers): New option.
4902         (org-todo-trigger-tag-changes): New function.
4903         (org-todo): Call `org-todo-trigger-tag-changes'.
4905 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
4907         * org.el (org-add-log-setup): Only skip drawers if the are
4908         immediately after the scheduling keywords.
4910         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
4911         function
4912         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
4913         call it with the current todo state to get the state to switch to
4914         when clocking in.
4915         (org-clock-in): Use org-indent-line-function to indent clock lines.
4916         (org-clock-find-position): Fix indentation of empty clock drawers.
4918 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
4920         * org-publish.el (org-publish-org-to): Handle case when
4921         org-export-to-pdf does return a file name, not a buffer.
4922         (org-publish-org-to-pdf): New function.
4924         * org-export-latex.el (org-export-as-pdf)
4925         (org-export-as-pdf-and-open): New commands.
4927         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
4928         forms as ranges.
4930         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
4931         things in protexted regions.
4933 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
4935         * org-export-latex.el (org-export-latex-preprocess): Improve
4936         quoting of LaTeX environments.
4938 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
4940         * org.el (org-edit-fixed-width-region): Exclude final newline from
4941         picture area.
4943         * org-export-latex.el (org-export-latex-subcontent): Add labels to
4944         sections, to make internal links work.
4945         (org-export-latex-fontify-headline): Do not remove all text
4946         properties, to make sure that target properties survive this
4947         process.
4949         * org-exp.el (org-export-preprocess-string): Change sequence of
4950         modifications, to make sure links are prepared before the LaTeX
4951         conversions do happen.
4953 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
4955         * org-attach.el (org-attach-delete-all): Renamed from
4956         `org-attch-delete'.  Add a security query before deleting the
4957         entire directory.  New optional argument FORCE can overrule the
4958         security query.
4959         (org-attach-delete-one): New command.
4961 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
4963         * org-attach.el (org-attach-file-list): Fix bug with directory.
4965 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
4967         * org.el (org-apps-regexp-alist): New function.
4968         (org-file-apps): Add auto-mode to the default value.
4969         (org-open-file): Use the new structure of org-file-apps.
4971         * org-attach.el (org-attach): Support the new keys.
4972         (org-attach-method): New option.
4974 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
4976         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
4977         March.
4979         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
4980         of the list value o `org-use-tag-inheritance'.
4982         * org-attach.el (org-attach-auto-tag): New option.
4983         (org-attach-tag, org-attach-untag): New functions.
4984         (org-attach-attach, org-attach-new, org-attach-sync): Call
4985         `org-attach-tag'.
4986         (org-attach-delete): Call `org-attach-untag'.
4988 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
4990         * org-table.el (orgtbl-self-insert-command): Make this work for
4991         the keypad as well.
4993 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
4995         * org.el (org-add-log-setup): Limit searc for drawers to entry
4996         text, not to subtree.
4998         * org-clock.el (org-clock-heading-for-remember): New variable.
4999         (org-clock-in): Set `org-clock-heading-for-remember'.
5001 2008-10-01  James TD Smith  <ahktenzero@mohorovi.cc>
5003         * org-remember.el (org-remember-apply-template): Add new
5004         expansions: %k, %K for currently clocked task and a link to the
5005         currently clocked task, and %< to file notes in the currently
5006         clocked task.
5008 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
5010         * org-export-latex.el (org-export-latex-make-header): Also insert
5011         the content of the property :latex-header-extra.
5013         * org-exp.el (org-infile-export-plist): Put the content of
5014         #+LATEX_HEADER: into the property :latex-header-extra.
5016         * org-colview.el (org-columns-get-format-and-top-level): Remove
5017         resetting the marker.
5019         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
5020         Remove resetting the marker.
5022         * org.el (org-entry-property-inherited-from): Improve docstring.
5023         (org-entry-get-with-inheritance): Reset marker before starting the
5024         search.
5026         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
5028 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
5030         * org.el (org-entry-get-multivalued-property)
5031         (org-entry-protect-space, org-entry-restore-space): New
5032         functions.
5033         (org-file-apps-defaults-macosx): Let postscript files be opened by
5034         preview.
5035         (org-time-stamp-inactive): Call `org-time-stamp'.
5036         (org-time-stamp): New argument `inactive'.  Also edit inacive
5037         stamps. Convert time stamp type.
5038         (org-open-file): Interpret the `default' value for the `command'
5039         in `org-file-apps'.
5041         * org-id.el (org-id-int-to-b36-one-digit)
5042         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
5043         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
5044         b36.
5046 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
5048         * org-id.el (org-id-reverse-string): New function.
5049         (org-id-new): Use `org-id-reverse-string' to make sure the
5050         beginning chars of the ID are mutating fast.  This allows to use a
5051         directory structure to spread things better.
5052         (org-id-prefix): Changed default to nil.
5054         * org-list.el (org-move-item-down, org-move-item-up): Remember and
5055         restore the column of the cursor position.
5057         * org-remember.el (org-remember-apply-template): Remove properties
5058         from `initial'.
5060 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
5062         * org-wl.el (org-wl-open): Remove useless call to
5063         `wl-thread-open-all'.
5065         * org-remember.el (org-remember-handler): Fix bug with `bottom'
5066         location.
5068 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
5070         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
5071         `org-bbdb-anniversaries'.
5073         * org.el (org-get-next-sibling, org-forward-same-level): New
5074         functions, similar to the outline versions, but invisible headings
5075         are OK.
5077 2008-09-25  Bastien Guerry  <bzg@altern.org>
5079         * org.el (org-auto-repeat-maybe): Insert a space between
5080         the timestamp's type and the timestamp itself.
5082 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
5084         * org-table.el (org-table-sum): Do not format the result with %g,
5085         it does rounding when there are too many digits.
5087         * org.el (org-map-entries): Protect the keyword-selecting variables.
5089 2008-09-23  Bastien Guerry  <bzg@altern.org>
5091         * org-agenda.el (org-agenda-to-appt): Make sure the function check
5092         against all agenda files.
5094 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
5096         * org-list.el: New file, aggregating list functions from org.el
5097         and org-export-latex.el.
5099         * org.el (org-edit-src-region-extra): New option.
5101 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
5103         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
5104         time before 1am.
5106 2008-09-22  Bastien Guerry  <bzg@altern.org>
5108         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
5110 2008-09-22  James TD Smith  <ahktenzero@mohorovi.cc>
5112         * org-plot.el (org-plot/gnuplot): Make tables starting with a
5113         hline work correctly.
5114         (org-plot/gnuplot-script): Put commas at the end of each script
5115         line.
5117 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
5119         * org.el (org-get-refile-targets): Replace links with their
5120         descriptions
5121         (org-imenu-get-tree): Replace links with their descriptions.
5123         * org-remember.el (org-remember-apply-template): Add a new
5124         expansion for adding properties to remember items.
5126         * org.el (org-add-log-setup): Skip over drawers (properties,
5127         clocks etc) when adding notes.
5129         * org-agenda.el (org-agenda-get-closed): show durations of clocked
5130         items as well as the start and end times.
5132         * org-compat.el (org-get-x-clipboard-compat): Add a compat
5133         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
5135         * org-remember.el (org-get-x-clipboard): Use the compat
5136         function to get clipboard values when x-selection-value is
5137         unavailable. Use substring-no-properties instead of
5138         set-text-properties to remove text properties from the clipboard
5139         value.
5141         * lisp/org-clock.el (org-update-mode-line): Support limiting the
5142         modeline clock string, and display the full todo value in the
5143         tooltip. Set a local keymap so mouse-3 on the clock string goes to
5144         the currently clocked task.
5145         (org-clock-string-limit): Add a custom value for the maximum
5146         length of the clock string in the modeline.
5147         (org-clock-mode-map): Add a keymap for the modeline string
5149 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
5151         * org-compat.el (org-propertize): New function.
5153 2008-09-20  Bastien Guerry  <bzg@altern.org>
5155         * org-export-latex.el (org-export-latex-tables): protect exported
5156         tables from further special chars conversion.
5157         (org-export-latex-preprocess): Preserve LaTeX environments.
5158         (org-list-parse-list): Parse descriptive lists.
5159         (org-list-to-generic, org-list-to-latex, org-list-to-html)
5160         (org-list-to-texinfo): Export descriptive lists.
5161         (org-quote-chars): Remove.
5162         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
5163         (org-export-latex-list-beginning-re): Rename to
5164         `org-list-beginning-re'
5165         (org-list-item-begin): Rename to `org-list-item-beginning'
5167 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
5169         * org.el (org-refile): Allow refiling to the last entry in the
5170         buffer.
5171         (org-get-tags-at): Fix bug when inheritance is turned off.
5173 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
5175         * org.el (org-indent-line-function): No longer check for src
5176         regions, this is too much overhead.
5178         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
5179         matching.
5181         * org.el (org-scan-tags): Make sure that tags matching is not case
5182         sensitive.  TODO keyword matching is case sensitive, however, to
5183         avoid confusion with similar words that are not meant to be
5184         keywords.
5186 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
5188         * org.el (org-get-local-tags-at): New function.
5189         (org-get-local-tags): New function.
5191         * org-exp.el (org-export-get-categories): New function.
5193         * org-agenda.el (org-sorting-choice)
5194         (org-agenda-sorting-strategy, org-agenda-get-todos)
5195         (org-agenda-get-timestamps, org-agenda-get-deadlines)
5196         (org-agenda-get-scheduled, org-agenda-get-blocks)
5197         (org-entries-lessp): Implement sorting by TODO state.
5198         (org-cmp-todo-state): New defsubst.
5200         * org-colview.el (org-colview-construct-allowed-dates): New
5201         function.
5202         (org-columns-next-allowed-value): Use
5203         `org-colview-construct-allowed-dates'.
5205         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
5206         function.
5207         (org-columns-next-allowed-value): Use
5208         `org-colview-construct-allowed-dates'.
5210 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
5212         * org.el (org-protect-slash): New function.
5213         (org-get-refile-targets): Use `org-protect-slash'.
5215         * org-agenda.el (org-global-tags-completion-table): New variable.
5217         * org-exp.el (org-export-handle-export-tags): New function.
5218         (org-export-preprocess-string): Call
5219         `org-export-handle-export-tags'.
5221         * org-plot.el: New file.
5223         * org-publish.el (org-publish-expand-components): Function removed.
5224         (org-publish-expand-projects): Allow components to have components.
5226 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
5228         * org.el (org-indent-line-function): Do not indent in regions that
5229         are external source code.
5230         (org-yank-and-fold-if-subtree): New function.
5232         * org-agenda.el (org-agenda-todayp): New function.
5233         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
5234         `org-agenda-todayp'.
5236         * org.el (org-insert-heading-respect-content)
5237         (org-insert-todo-heading-respect-content): New commands.
5238         (org-insert-heading-respect-content): New option.
5239         (org-insert-heading): Respect `org-insert-heading-respect-content'.
5241         * org-clock.el (org-clock-find-position): Make sure the note after
5242         the clock line gets moved into the new clock drawer.
5244 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
5246         * org-id.el (org-id-new): New option.
5248 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
5250         * org-table.el (org-table-copy-down): Avoid overflow during
5251         increment.  Use prefix argument 0 to temporarily disable the
5252         increment.
5254 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
5256         * org-exp.el (org-export-as-html): Do not turn on the major mode
5257         if the buffer will be killed anyway.
5258         (org-get-current-options): Exclude the #+TEXT field.
5259         (org-export-as-html): Make sure text before the first headline is
5260         a paragraph.
5262         * org-publish.el (org-publish-org-to): Tell the exporter that this
5263         buffer will be killed, so it is not necessary to do major mode
5264         initialization.
5266         * org-archive.el (org-archive-to-archive-sibling): Show empty
5267         lines after folding the archive sibling.
5269         * org.el (org-log-note-extra): New variable.
5271 2008-09-05  Bastien Guerry  <bzg@altern.org>
5273         * org.el (org-additional-option-like-keywords): Added keywords for
5274         the _QUOTE, _VERSE and _SRC environments.
5276         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
5277         exporting _QUOTE and _VERSE environments.
5279 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
5281         * org-agenda.el (org-agenda-filter-by-tag): New command.
5283         * org-exp.el (org-get-current-options): Remove angular brackets
5284         from the date entry.
5286         * org.el (org-edit-fixed-width-region): New function.
5287         (org-edit-fixed-width-region): Also try
5288         `org-edit-fixed-width-region'.
5289         (org-edit-fixed-width-region-mode): New option.
5290         (org-activate-code): Only interprete lines starting with colon
5291         plus a space as example lines.
5293         * org-remember.el (org-remember-templates): Add nil instead of
5294         empty strings to fix the length of remember templates.
5296         * org-table.el (org-calc-default-modes): Fix the time format for
5297         calc, from 12 hour to 24 hour clock.
5299 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
5301         * org-agenda.el (org-agenda-get-deadlines)
5302         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
5303         entries that are pre-warnings of deadlines or reminders.
5305         * org.el (org-sort-entries-or-items): Make numeric and alpha
5306         comparisons ignore any TODO keyword and priority cookie.
5308         * org-remember.el (org-remember-handler): Reinterpretation of the
5309         prefix argument.
5311 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
5313         * org-agenda.el (org-agenda-get-scheduled): Use new
5314         `org-scheduled' face.
5316         * org-faces.el (org-scheduled): New face.
5318         * org-wl.el (org-wl-open): Remove incorrect declaration.
5320         * org-gnus.el (org-gnus-store-link): Support for :to information
5321         in gnus links.
5323         * org-exp.el (org-export-as-html): Fixed typo in creator
5324         information.
5325         (org-export-protect-examples): New parameter indent.  Insert extra
5326         spaces only when this parameter is specified.
5327         (org-export-preprocess-string): Call `org-export-protect-examples'
5328         with an indentation parameter when exporting to ASCII.
5330         * org-remember.el (org-remember-templates)
5331         (org-remember-apply-template): Allow the file component to be a
5332         function.
5334         * org.el (org-goto-local-search-headings): Renamed from
5335         `org-goto-local-search-forward-headings'.  Added the possibility
5336         to search backwards.
5338 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
5340         * org-export-latex.el (org-export-latex): New customization
5341         group.
5343         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
5345 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
5347         * org-exp.el (org-html-do-expand): Allow {} to terminate
5348         tex macro
5350 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
5352         * org.el (org-buffer-list): Select buffers based on major mode,
5353         not on file name.
5355 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
5357         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
5358         face property.
5360         * org-colview.el (org-columns-display-here): Use
5361         `org-columns-modify-value-for-display-function'.
5363         * org-colview-xemacs.el (org-columns-display-here): Use
5364         `org-columns-modify-value-for-display-function'.
5366 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
5368         * org.el (org-columns-modify-value-for-display-function): New option.
5380         * org-publish.el (org-publish-file): Make sure the directory match
5381         for the publishing directory works correctly.
5383         * org-agenda.el (org-agenda-execute-calendar-command)
5384         (org-agenda-diary-entry): Additional optional argument.
5386 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
5388         * org-exp.el (org-export-as-html): Add attributes also in mailto
5389         and ftp links.
5391         * org.el (org-autoload): Add `org-dblock-write:columnview'.
5400 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
5402         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
5403         sure that calls from `org-export-region-as-html' do not do the
5404         special check for a subtree.
5406 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
5408         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
5410 2008-07-20  Juri Linkov  <juri@jurta.org>
5412         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
5413         new keymap `narrow-map' instead of binding "\C-xns".
5415 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
5417         * org.el (org-open-file): Use
5418         `org-open-directory-means-index-dot-org'.
5419         (org-open-directory-means-index-dot-org): New option.
5421 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
5423         * org.el (org-make-link-string): Remove link attributes from
5424         description.
5425         (org-open-at-point): Remove link attributes bevore using the path.
5427         * org-exp.el (org-export-as-html): Handle link attributes.
5429         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
5431         * org-table.el (org-table-to-lisp): New function.
5433         * org.el (org-narrow-to-subtree): Do not include the final newline
5434         into the narrowed region.
5436         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
5437         bug with user-define skipping condition.
5439 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
5441         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
5443 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
5445         * org-exp.el (org-export-html-style-default): Automatic overflow
5446         handling for pre fields.
5447         (org-export-as-ascii, org-export-as-html): Change default format
5448         for time stamp.
5450         * org-table.el (org-table-export): Offer completion for translator
5451         functions, and do not require a heading above the table.
5453         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
5454         Cater for the case of a list starting in the first line of the
5455         buffer.
5457 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
5459         * org-publish.el (org-publish-find-title): Bug fix.
5460         (org-publish-org-index): Implement new :index-style option.
5462 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
5464         * org-publish.el (org-publish-timestamp-filename): Use
5465         SHA1-encoded file names in the timestamp directory.
5467 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
5469         * org-publish.el (org-publish-needed-p): Be verbose about files
5470         published and files skipped.
5472         * org-exp.el (org-export-preprocess-string): Swap link
5473         normalization and inernal link targeting.
5475         * org-publish.el (org-publish-needed-p): Create timestamp
5476         directory when it does not exist.
5478 2008-07-04  Bastien Guerry  <bzg@altern.org>
5480         * org-clock.el (org-clock-out-when-done): Doc fix.
5482         * org.el (org-agenda-skip-unavailable-files): Doc fix.
5484         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
5485         Ignore case when searching for the COMMENT cookie at export time.
5487 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
5489         * org-exp.el (org-get-file-contents)
5490         (org-get-and-remove-property): New functions.
5491         (org-export-handle-include-files): Handle the new prefix options.
5492         (org-export-as-html): Fix the verse environment.
5494 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
5496         * org.el (org-time=, org-time<, org-time<=, org-time>)
5497         (org-time>=, org-time<>, org-2ft): New functions.
5498         (org-op-to-function): Also provide for the time testing fucntions.
5500 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
5502         * org-exp.el (org-export-html-style-default): New constant.
5504 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
5506         * org-exp.el (org-export-html-style-extra): New variable.
5507         (org-export-splice-style): New function.
5509 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
5511         * org-exp.el (org-export-plist-vars, org-export-as-html):
5512         Implement `org-export-creator-info'.
5513         (org-export-creator-info): New option.
5515 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
5517         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
5518         (org-property-drawer-re, org-clock-drawer-re): New constants.
5520 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
5522         * org-exp.el (org-icalendar-use-deadline)
5523         (org-icalendar-use-scheduled): New options.
5524         (org-icalendar-include-todo): Default changed to t.
5525         (org-print-icalendar-entries): Implement better utilization of
5526         scheduling and deadline time stamps.
5527         (org-export-target-internal-links, org-export-as-html): Allow file
5528         lines without the "file:" prefix if the file path is an absolute
5529         path or starts with ".".
5531         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
5532         lastweek etc.
5533         (org-clock-special-range): Also undertand yesterday, lastweek etc.
5535 2008-06-18  Glenn Morris  <rgm@gnu.org>
5536         * org.el (org-map-entries): Let-bind `file'.
5538 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
5540         * org.el (org-agenda-skip-archived-trees): Docstring now
5541         discourages using this.
5542         (org-scan-tags): Check for org-agenda-archives-mode.
5543         (org-map-entries): Make sure org-agenda-archives-mode is nil.
5544         (org-agenda-files): Functionality of second arg changed.
5546         * org-agenda.el (org-agenda-archives-mode): New variable
5547         (org-write-agenda, org-prepare-agenda, org-agenda-list)
5548         (org-search-view, org-todo-list, org-tags-view)
5549         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
5550         `ifmode' argument.
5551         (org-agenda-quit): Reset the archives mode.
5552         (org-agenda-archives-mode): New command.
5553         (org-agenda-set-mode-name): Include archives info.
5555 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
5557         * org.el (org-paste-subtree): Make sure the yanked headline is
5558         visible if it was yanked at a visible point.
5559         (org-move-item-up): Fix the bug with moving white space at the end
5560         of the item.
5561         (org-show-empty-lines-in-parent): New function.
5563 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
5565         * org-colview.el (org-columns-next-allowed-value): Bug fix.
5567         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
5569         * org-agenda.el (org-agenda-get-closed): Get the end time into the
5570         agenda prefix as well.
5572         * org-publish.el (org-publish-org-index): Make a properly indented
5573         list.
5575         * org.el (org-calendar-agenda-action-key): New option.
5576         (org-get-cursor-date): New function.
5577         (org-mark-entry-for-agenda-action): New command.
5578         (org-overriding-default-time): New variable.
5579         (org-read-date): Respect `org-overriding-default-time'.
5581         * org-remember.el (org-remember-apply-template): Respect the
5582         ovverriding default time.
5584         * org-agenda.el (org-agenda-action-marker): New variable.
5585         (org-agenda-action): New command.
5586         (org-agenda-do-action): New function.
5588 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
5590         * org.el (org-schedule, org-deadline): Protect scheduled and
5591         deadline tasks against changes that accidently remove the
5592         repeater.  Also show a message with the new date when done.
5594 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
5596         * org.el (org-beginning-of-line): Cater for the case when there
5597         are tags but no headline text.
5598         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
5599         it set.
5601 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
5603         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
5604         the return value is nil instead of "nil" when there is no match.
5606         * org-exp.el (org-insert-centered): Use fill-column instead of
5607         80.
5608         (org-export-as-ascii): Use string-width to measure the width of
5609         the heading.
5611         * org.el (org-diary-to-ical-string): No longer kill buffer
5612         FROMBUF, this is now done by the caller.
5614         * org-exp.el (org-print-icalendar-entries): Move the call to
5615         `org-diary-to-ical-string' out of the loop, and kill the buffer
5616         afterwords.
5618         * org-remember.el (org-remember-visit-immediately): Position
5619         cursor after moving to the note.
5620         (org-remember-apply-template): Use a text property to record the
5621         cursor position.
5622         (org-remember-handler): Align tags after pasting the note.
5624 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
5626         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
5628         * org-agenda.el (org-agenda-open-link): If there is an
5629         org-bbdb-name property in the current line, jump to that bbdb
5630         entry.
5632         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
5633         text property, so that the agenda knows where this entry comes
5634         from.
5636         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
5637         interaction between clocking-in from the agenda, and  automatic
5638         task state switching.
5640         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
5642         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
5643         zmacs-region stays after this command in XEmacs.
5645 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
5647         * org.el (org-scan-tags): Allow new values for ACTION parameter.
5649         * org-remember.el (org-remember-templates): Fix bug in
5650         customization type definition.
5652         * org.el (org-map-entries): New function.
5654 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
5656         * org-agenda.el (org-agenda-skip-comment-trees): New option.
5657         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
5659 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
5661         * org-remember.el (org-jump-to-target-location): New variable.
5662         (org-remember-apply-template): Set
5663         `org-remember-apply-template' if requested by template.
5664         (org-remember-handler): Start an idle timer to jump to
5665         remember location.
5667         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
5669         * org.el (org-set-regexps-and-options): Fix bug with parsing of
5670         file tags.
5671         (org-get-tags-at): Add the content of `org-file-tags'.
5673         * org-exp.el (org-export-handle-comments): Fix bug with several
5674         comment lines after each other.
5675         (org-number-to-roman, org-number-to-counter): New functions.
5676         (org-export-section-number-format): New option.
5678 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
5680         * org-exp.el (org-export-protect-examples): Catch the case of a
5681         missing end_example line.
5683         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
5684         `org-file-tags' to nil.
5686         * org-colview.el (org-columns-next-allowed-value): Handle next
5687         argument NTH to directly select a value.
5689         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
5690         argument NTH to directly select a value.
5692 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
5694         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
5696 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
5698         * org.el (org-columns-ellipses): New option.
5700 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
5702         * org-colview.el (org-columns-add-ellipses): New function.
5703         (org-columns-compact-links): New function.
5704         (org-columns-cleanup-item): Call `org-columns-compact-links'.
5705         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
5706         when in agenda.
5707         (org-columns-edit-value): Fixed bug with editing values from
5708         agenda column view.
5709         (org-columns-redo): Also redo the agenda itself.
5711 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
5713         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
5714         option.
5716         * org-colview.el (org-agenda-columns-cleanup-item): New function.
5718         * org-exp.el (org-export-ascii-preprocess): Renamed from
5719         `org-export-ascii-clean-string'.
5720         (org-export-kill-licensed-text)
5721         (org-export-define-heading-targets)
5722         (org-export-handle-invisible-targets)
5723         (org-export-target-internal-links)
5724         (org-export-remove-or-extract-drawers)
5725         (org-export-remove-archived-trees)
5726         (org-export-protect-quoted-subtrees)
5727         (org-export-protect-verbatim, org-export-protect-examples)
5728         (org-export-select-backend-specific-text)
5729         (org-export-mark-blockquote-and-verse)
5730         (org-export-remove-comment-blocks-and-subtrees)
5731         (org-export-handle-comments, org-export-mark-radio-links)
5732         (org-export-remove-special-table-lines)
5733         (org-export-normalize-links)
5734         (org-export-concatenate-multiline-links)
5735         (org-export-concatenate-multiline-emphasis): New functions,
5736         obtained from spliiting the export preprocessor.
5738         * org-table.el (org-table-recalculate): Improve error message if
5739         the row number is invalid.
5741 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
5743         * org-archive.el (org-archive-save-context-info): Fix bugs in
5744         customization setup and docstring.
5746         * org-exp.el (org-export-html-style): Changed the size of in the
5747         <pre> element to 90%.
5749 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
5751         * org.el (org-find-src-example-start): Function removed.
5752         (org-edit-src-find-region-and-lang): New function.
5754 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
5756         * org.el (org-edit-src-exit): New function.
5757         (org-exit-edit-mode): New minor mode.
5759         * org-exp.el (org-export-preprocess-string): Fix bug with removing
5760         comment-like lines from protected examples.
5762         * org.el (org-edit-src-example, org-find-src-example-start)
5763         (org-protect-source-example, org-edit-special): New functions.
5765 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
5767         * org-publish.el (org-publish-project-alist): Fix typo in
5768         docstring.
5769         (org-publish-project-alist): Handle :index-title property.
5771 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
5773         * org-export-latex.el (org-export-as-latex): Make sure region
5774         bounds are correct.  Parse subtree properties relating to export.
5776         * org-exp.el (org-export-add-options-to-plist): New function.
5777         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
5779 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
5781         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
5782         EXPORT_TITLE.
5784         * org-exp.el (org-export-get-title-from-subtree)
5785         (org-export-as-ascii, org-export-as-html): Make sure the original
5786         region-beginning and region-end are used, even after moving
5787         point.
5788         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
5789         property.
5791         * org-remember.el (org-remember-last-stored-marker): New variable.
5792         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
5793         (org-remember-handler): Also use marker to remember
5794         last-stored position.
5796         * org.el (org-goto-marker-or-bmk): New function.
5798 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
5800         * org.el (org-file-properties): Renamed from `org-local-properties'.
5801         (org-scan-tags): Take file tags into account.
5802         (org-tags-match-list-sublevels): Default changed to t.
5804         * org-exp.el (org-export-as-html): Close paragraph after a
5805         footnote.
5807         * org.el (org-update-parent-todo-statistics): New function.
5809         * org-exp.el (org-icalendar-store-UID): New option.
5810         (org-icalendar-force-UID): Option removed.
5811         (org-print-icalendar-entries): IMplement UIDs.
5813 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
5815         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
5817 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
5819         * org-faces.el (org-column): Document how this face is being used
5820         and why sometimes the background faces shine through.
5822         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
5824         * org-publish.el (org-publish-attachment): Create publishing
5825         directory if it does not yet exist.
5827         * org-table.el (org-calc-default-modes): Change default number
5828         format to (float 8).
5830         * org.el (org-olpath-completing-read): New function.
5831         (org-time-clocksum-format): New option.
5832         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
5834         * org-clock.el (org-clock-display, org-clock-out)
5835         (org-update-mode-line): Use `org-time-clocksum-format'.
5837         * org-colview-xemacs.el (org-columns-number-to-string): Use
5838         `org-time-clocksum-format'.
5840         * org-colview.el (org-columns-number-to-string): Use
5841         `org-time-clocksum-format'.
5843 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
5845         * org-id.el: New file, move from contrib to core.
5847         * org-exp.el (org-icalendar-force-UID): New option.
5849 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
5851         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
5852         shifted by one day if theere is a date range without an end
5853         time.
5855         * org.el (org-try-structure-completion): New function.
5857 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
5859         * org.el (org-set-font-lock-defaults): Improve fontification of
5860         description lists.
5861         (org-insert-item): Handle description lists.
5862         (org-adaptive-fill-function): Improve auto indentation in
5863         description lists.
5865         * org-exp.el (org-export-as-html, org-export-preprocess-string):
5866         Implement VERSE environment.
5867         (org-export-preprocess-string): Implement the COMMENT
5868         environment.
5870         * org-export-latex.el (org-export-latex-preprocess): Implement
5871         VERSE environment.
5873 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
5875         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
5876         option.
5878 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
5880         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
5882         * org.el (org-quote-csv-field): New functions.
5884         * org-table.el (org-table-export-default-format): Remove :splice
5885         from default format, we get the same effect by not specifying
5886         :tstart and :tend.
5887         (org-table-export): Improve setup, distinguish better between
5888         interactive and non-interactive use, allow specifying the format
5889         on the fly, better protection against wrong file names.
5890         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
5891         and :tend when :splice is omitted.
5893 2008-05-09  Bernt Hansen  <bernt@norang.ca>
5895         * org-clock.el (org-clock-select-task): Make sure the selection
5896         letters are 1-9 and A-Z, no special characters.
5898 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
5900         * org-exp.el (org-export-htmlize): New group.
5901         (org-export-htmlize-output-type)
5902         (org-export-htmlize-css-font-prefix): New options.
5903         (org-export-htmlize-region-for-paste): New function.
5904         (org-export-htmlize-generate-css): New command.
5906 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
5908         * org/org.el (org-modules, org-format-latex-options):
5909         * org/org-archive.el (org-archive-stamp-time)
5910         (org-archive-save-context-info):
5911         * org/org-faces.el (org-hide):
5912         * org/org-irc.el (org-irc-parse-link):
5913         * org/org-macs.el (org-call-with-arg, org-autoload):
5914         * org/org-mew.el (org-mew-store-link):
5915         * org/org-remember.el (org-remember-store-without-prompt)
5916         (org-remember-templates): Fix typos in docstrings.
5918         * org/org-info.el (org-info-store-link): Remove leftover docstring.
5920         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
5921         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
5922         (org-bbdb-anniv-split): Fix typos in docstrings.
5924         * org/org-publish.el (org-publish-project-alist): Doc fixes.
5925         (org-publish-use-timestamps-flag): Reflow docstring.
5926         (org-publish-files-alist): Fix typos in docstring.
5928 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
5930         * org.el (org-set-visibility-according-to-property): New function.
5931         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
5932         and compute the regular expressions, and update font-lock.
5933         (org-property-re): Allow a dash in property names.
5935         * org-archive.el (org-extract-archive-file): Insert the file name
5936         without the path into the format, to allow the location format to
5937         contain a subdirectory.
5939         * org-agenda.el (org-agenda-post-command-hook): If point is at end
5940         of buffer, and the `org-agenda-type' property undefined, use the
5941         value from the character before.
5943         * org.el (org-add-planning-info): Don't let indentation for
5944         would-be timestamp become extra whitespace at the end of headline.
5946 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
5948         * org.el (org-remove-double-quotes, org-file-contents): New
5949         functions.
5951         * org-exp.el (org-infile-export-plist): Also parse the
5952         contents of #+SETUPFILE files, recursively.
5954         * org.el (org-set-regexps-and-options): Also parse the
5955         contents of #+SETUPFILE files, recursively.
5957         * org-exp.el (org-export-handle-include-files): New function.
5958         (org-export-preprocess-string): Call
5959         `org-export-handle-include-files'.
5961         * org.el (org-delete-property-globally)
5962         (org-delete-property, org-set-property): Ignore case during
5963         completion.
5964         (org-set-property): Use `org-completing-read' instead of
5965         `completing-read'.
5967         * org.el (org-complete-expand-structure-template): New,
5968         experimental function.
5969         (org-structure-template-alist): New, experimental option.
5970         (org-complete): Call `org-complete-expand-structure-template'.
5972 2008-05-06  Bastien Guerry  <bzg@altern.org>
5974         * org-export-latex.el (org-export-latex-preprocess): Added
5975         support for blockquotes.
5977 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
5979         * org.el (org-read-date-analyze): Catch the case where only a
5980         weekday is given.
5982 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
5984         * org.el (org-set-font-lock-defaults): Make the description
5985         tag bold.
5987         * org-exp.el (org-export-as-html, org-close-li): Implement
5988         description lists.
5990 2008-05-04  Jason Riedy  <jason@acm.org>
5992         * org-table.el (*orgtbl-default-fmt*): New variable.
5993         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
5994         when there is no other fmt available.
5996         (orgtbl-to-generic): Allow an explicitly nil :tstart or
5997         :tend to suppress the appropriate string.
5999         (orgtbl-to-orgtbl): New function for translating to another orgtbl
6000         table.
6002 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
6004         * org.el (org-read-date-analyze): "." as an alias for "+0" in
6005         read date.
6007         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
6008         New function.
6010         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
6011         New function.
6013 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
6015         * org-clock.el (org-clock-find-position): Don't include notes
6016         into clock drawer.
6018         * org-archive.el (org-archive-subtree): No longer remove an
6019         extra line after cutting the subtree.  `org-cut-subtree' already
6020         takes care of this.
6022         * org-remember.el (org-remember-handler): Only kill the target
6023         buffer if it does not contain the running clock.
6025         * org.el (org-markers-to-move): New variable.
6026         (org-save-markers-in-region, org-check-and-save-marker)
6027         (org-reinstall-markers-in-region): New function.
6028         (org-move-subtree-down, org-copy-subtree): Remember relative
6029         marker positions before cutting.
6030         (org-move-subtree-down, org-paste-subtree): Restore relative
6031         marker positions after pasting.
6033         * org-remember.el (org-remember-clock-out-on-exit): New option.
6034         (org-remember-finalize): Clock out only if the setting in
6035         `org-remember-clock-out-on-exit' requires it.
6036         (org-remember-handler): Do the cleanup in the buffer, to make sure
6037         that the clock marker remains in tact.
6039 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
6041         * org-clock.el (org-clock-goto): Widen buffer if necessary.
6042         (org-clock-in): Make sure that also tasks outside the narrowed
6043         region will be clocked in correctly.
6044         (org-clock-insert-selection-line): Widen the buffer so that we can
6045         find the correct task heading.
6047         * org.el (org-base-buffer): New function.
6049         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
6050         and ";" are escaped.
6051         (org-print-icalendar-entries): Also apply
6052         `org-icalendar-cleanup-string' to the headline, not only to the
6053         summary property.
6055 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
6057         * org-exp.el (org-export-preprocess-hook): New hook.
6058         (org-export-preprocess-string): Call
6059         `org-export-preprocess-hook'.
6061         * org.el (org-font-lock-hook): New variable.
6062         (org-font-lock-hook): New function.
6063         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
6065 ;; Local Variables:
6066 ;; coding: utf-8
6067 ;; add-log-time-zone-rule: t
6068 ;; End:
6070     Copyright (C) 2008  Free Software Foundation, Inc.
6072   This file is part of GNU Emacs.
6074   GNU Emacs is free software: you can redistribute it and/or modify
6075   it under the terms of the GNU General Public License as published by
6076   the Free Software Foundation, either version 3 of the License, or
6077   (at your option) any later version.
6079   GNU Emacs is distributed in the hope that it will be useful,
6080   but WITHOUT ANY WARRANTY; without even the implied warranty of
6081   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
6082   GNU General Public License for more details.
6084   You should have received a copy of the GNU General Public License
6085   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
6087 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c