Compute negative clock intervals correctly.
[org-mode.git] / lisp / ChangeLog
blob51bd695b545ac4856fb9f05bbd75f3751f7cc1f1
1 2008-10-17  Carsten Dominik  <dominik@science.uva.nl>
3         * org.el (org-clock-update-time-maybe): Compute negative clock
4         intervals correctly.
6 2008-10-15  James TD Smith  <ahktenzero@mohorovi.cc>
8         * org.el (org-add-log-setup): Only skip drawers if the are
9         immediately after the scheduling keywords.
11         * org-clock.el (org-clock-in-switch-to-state): Allow this to be a
12         function
13         (org-clock-in): If `org-clock-in-switch-to-state' is a function,
14         call it with the current todo state to get the state to switch to
15         when clocking in.
16         (org-clock-in): Use org-indent-line-function to indent clock lines.
17         (org-clock-find-position): Fix indentation of empty clock drawers.
19 2008-10-16  Carsten Dominik  <dominik@science.uva.nl>
21         * org.el (org-add-log-setup): Respect
22         `org-log-state-notes-insert-after-drawers'.
23         (org-log-state-notes-insert-after-drawers): New option.
24         (org-todo-trigger-tag-changes): New function.
25         (org-todo): Call `org-todo-trigger-tag-changes'.
27 2008-10-15  Carsten Dominik  <dominik@science.uva.nl>
29         * org-publish.el (org-publish-org-to): Handle case when
30         org-export-to-pdf does return a file name, not a buffer.
31         (org-publish-org-to-pdf): New function.
33         * org-export-latex.el (org-export-as-pdf)
34         (org-export-as-pdf-and-open): New commands.
36         * org-table.el (org-table-eval-formula): Avoid parsing Calc's HMS
37         forms as ranges.
39         * org-export-latex.el (org-export-latex-lists): Ignore lists-like
40         things in protexted regions.
42 2008-10-14  Carsten Dominik  <dominik@science.uva.nl>
44         * org-export-latex.el (org-export-latex-preprocess): Improve
45         quoting of LaTeX environments.
47 2008-10-10  Carsten Dominik  <dominik@science.uva.nl>
49         * org.el (org-edit-fixed-width-region): Exclude final newline from
50         picture area.
52         * org-export-latex.el (org-export-latex-subcontent): Add labels to
53         sections, to make internal links work.
54         (org-export-latex-fontify-headline): Do not remove all text
55         properties, to make sure that target properties survive this
56         process.
58         * org-exp.el (org-export-preprocess-string): Change sequence of
59         modifications, to make sure links are prepared before the LaTeX
60         conversions do happen.
62 2008-10-09  Carsten Dominik  <dominik@science.uva.nl>
64         * org-attach.el (org-attach-delete-all): Renamed from
65         `org-attch-delete'.  Add a security query before deleting the
66         entire directory.  New optional argument FORCE can overrule the
67         security query.
68         (org-attach-delete-one): New command.
70 2008-10-08  Carsten Dominik  <dominik@science.uva.nl>
72         * org-attach.el (org-attach-file-list): Fix bug with directory.
74 2008-10-07  Carsten Dominik  <dominik@science.uva.nl>
76         * org.el (org-apps-regexp-alist): New function.
77         (org-file-apps): Add auto-mode to the default value.
78         (org-open-file): Use the new structure of org-file-apps.
80         * org-attach.el (org-attach): Support the new keys.
81         (org-attach-method): New option.
83 2008-10-06  Carsten Dominik  <dominik@science.uva.nl>
85         * org-bbdb.el (org-bbdb-anniversaries): Fix but with 29 Feb/1
86         March.
88         * org.el (org-remove-uniherited-tags): Fix reverse interpretation
89         of the list value o `org-use-tag-inheritance'.
91         * org-attach.el (org-attach-auto-tag): New option.
92         (org-attach-tag, org-attach-untag): New functions.
93         (org-attach-attach, org-attach-new, org-attach-sync): Call
94         `org-attach-tag'.
95         (org-attach-delete): Call `org-attach-untag'.
97 2008-10-04  Carsten Dominik  <dominik@science.uva.nl>
99         * org-table.el (orgtbl-self-insert-command): Make this work for
100         the keypad as well.
102 2008-10-02  Carsten Dominik  <dominik@science.uva.nl>
104         * org.el (org-add-log-setup): Limit searc for drawers to entry
105         text, not to subtree.
107         * org-clock.el (org-clock-heading-for-remember): New variable.
108         (org-clock-in): Set `org-clock-heading-for-remember'.
110 2008-10-01 James TD Smith  <ahktenzero@mohorovi.cc>
112         * org-remember.el (org-remember-apply-template): Add new
113         expansions: %k, %K for currently clocked task and a link to the
114         currently clocked task, and %< to file notes in the currently
115         clocked task.
117 2008-10-01  Carsten Dominik  <dominik@science.uva.nl>
119         * org-export-latex.el (org-export-latex-make-header): Also insert
120         the content of the property :latex-header-extra.
122         * org-exp.el (org-infile-export-plist): Put the content of
123         #+LATEX_HEADER: into the property :latex-header-extra.
125         * org-colview.el (org-columns-get-format-and-top-level): Remove
126         resetting the marker.
128         * org-colview-xemacs.el (org-columns-get-format-and-top-level):
129         Remove resetting the marker.
131         * org.el (org-entry-property-inherited-from): Improve docstring.
132         (org-entry-get-with-inheritance): Reset marker before starting the
133         search.
135         * org-exp.el (org-infile-export-plist): Allow multiple STYLE lines.
137 2008-09-30  Carsten Dominik  <dominik@science.uva.nl>
139         * org.el (org-entry-get-multivalued-property)
140         (org-entry-protect-space, org-entry-restore-space): New
141         functions.
142         (org-file-apps-defaults-macosx): Let postscript files be opened by
143         preview.
144         (org-time-stamp-inactive): Call `org-time-stamp'.
145         (org-time-stamp): New argument `inactive'.  Also edit inacive
146         stamps. Convert time stamp type.
147         (org-open-file): Interpret the `default' value for the `command'
148         in `org-file-apps'.
150         * org-id.el (org-id-int-to-b36-one-digit)
151         (org-id-b36-to-int-one-digit, org-id-int-to-b36)
152         (org-id-b36-to-int, org-id-time-to-b36): Modified from b62 to
153         b36.
155 2008-09-29  Carsten Dominik  <dominik@science.uva.nl>
157         * org-id.el (org-id-reverse-string): New function.
158         (org-id-new): Use `org-id-reverse-string' to make sure the
159         beginning chars of the ID are mutating fast.  This allows to use a
160         directory structure to spread things better.
161         (org-id-prefix): Changed default to nil.
163         * org-list.el (org-move-item-down, org-move-item-up): Remember and
164         restore the column of the cursor position.
166         * org-remember.el (org-remember-apply-template): Remove properties
167         from `initial'.
169 2008-09-27  Carsten Dominik  <dominik@science.uva.nl>
171         * org-wl.el (org-wl-open): Remove useless call to
172         `wl-thread-open-all'.
174         * org-remember.el (org-remember-handler): Fix bug with `bottom'
175         location.
177 2008-09-26  Carsten Dominik  <dominik@science.uva.nl>
179         * org-bbdb.el (org-bbdb-anniversaries): Require bbdb in
180         `org-bbdb-anniversaries'.
182         * org.el (org-get-next-sibling, org-forward-same-level): New
183         functions, similar to the outline versions, but invisible headings
184         are OK.
186 2008-09-25  Bastien Guerry  <bzg@altern.org>
188         * org.el (org-auto-repeat-maybe): Insert a space between
189         the timestamp's type and the timestamp itself.
191 2008-09-24  Carsten Dominik  <dominik@science.uva.nl>
193         * org-table.el (org-table-sum): Do not format the result with %g,
194         it does rounding when there are too many digits.
196         * org.el (org-map-entries): Protect the keyword-selecting variables.
198 2008-09-23  Bastien Guerry  <bzg@altern.org>
200         * org-agenda.el (org-agenda-to-appt): Make sure the function check
201         against all agenda files.
203 2008-09-23  Carsten Dominik  <dominik@science.uva.nl>
205         * org-list.el: New file, aggregating list functions from org.el
206         and org-export-latex.el.
208         * org.el (org-edit-src-region-extra): New option.
210 2008-09-22  Carsten Dominik  <dominik@science.uva.nl>
212         * org-agenda.el (org-agenda-to-appt): Fix bug with appointment
213         time before 1am.
215 2008-09-22  Bastien Guerry  <bzg@altern.org>
217         * org-export-latex.el (org-export-latex-keywords-maybe): Bug fix.
219 2008-09-22  James TA Smith  <ahktenzero@mohorovi.cc>
221         * org-plot.el (org-plot/gnuplot): Make tables starting with a
222         hline work correctly.
223         (org-plot/gnuplot-script): Put commas at the end of each script
224         line.
226 2008-09-20  James TD Smith  <ahktenzero@mohorovi.cc>
228         * org.el (org-get-refile-targets): Replace links with their
229         descriptions
230         (org-imenu-get-tree): Replace links with their descriptions.
232         * org-remember.el (org-remember-apply-template): Add a new
233         expansion for adding properties to remember items.
235         * org.el (org-add-log-setup): Skip over drawers (properties,
236         clocks etc) when adding notes.
238         * org-agenda.el (org-agenda-get-closed): show durations of clocked
239         items as well as the start and end times.
241         * org-compat.el (org-get-x-clipboard-compat): Add a compat
242         function for fetching the X clipboard on XEmacs and GNU Emacs 21.
244         * org-remember.el (org-get-x-clipboard): Use the compat
245         function to get clipboard values when x-selection-value is
246         unavailable. Use substring-no-properties instead of
247         set-text-properties to remove text properties from the clipboard
248         value.
250         * lisp/org-clock.el (org-update-mode-line): Support limiting the
251         modeline clock string, and display the full todo value in the
252         tooltip. Set a local keymap so mouse-3 on the clock string goes to
253         the currently clocked task.
254         (org-clock-string-limit): Add a custom value for the maximum
255         length of the clock string in the modeline.
256         (org-clock-mode-map): Add a keymap for the modeline string
258 2008-09-21  Carsten Dominik  <dominik@science.uva.nl>
260         * org-compat.el (org-propertize): New function.
262 2008-09-20  Bastien Guerry  <bzg@altern.org>
264         * org-export-latex.el (org-export-latex-tables): protect exported
265         tables from further special chars conversion.
266         (org-export-latex-preprocess): Preserve LaTeX environments.
267         (org-list-parse-list): Parse descriptive lists.
268         (org-list-to-generic, org-list-to-latex, org-list-to-html)
269         (org-list-to-texinfo): Export descriptive lists.
270         (org-quote-chars): Remove.
271         (org-export-latex-keywords-maybe): Use `replace-regexp-in-string'.
272         (org-export-latex-list-beginning-re): Rename to
273         `org-list-beginning-re'
274         (org-list-item-begin): Rename to `org-list-item-beginning'
276 2008-09-20  Carsten Dominik  <dominik@science.uva.nl>
278         * org.el (org-refile): Allow refiling to the last entry in the
279         buffer.
280         (org-get-tags-at): Fix bug when inheritance is turned off.
282 2008-09-19  Carsten Dominik  <dominik@science.uva.nl>
284         * org.el (org-indent-line-function): No longer check for src
285         regions, this is too much overhead.
287         * org-agenda.el (org-agenda-highlight-todo): Fix bugs with keyword
288         matching.
290         * org.el (org-scan-tags): Make sure that tags matching is not case
291         sensitive.  TODO keyword matching is case sensitive, however, to
292         avoid confusion with similar words that are not meant to be
293         keywords.
295 2008-09-18  Carsten Dominik  <dominik@science.uva.nl>
297         * org.el (org-get-local-tags-at): New function.
298         (org-get-local-tags): New function.
300         * org-exp.el (org-export-get-categories): New function.
302         * org-agenda.el (org-sorting-choice)
303         (org-agenda-sorting-strategy, org-agenda-get-todos)
304         (org-agenda-get-timestamps, org-agenda-get-deadlines)
305         (org-agenda-get-scheduled, org-agenda-get-blocks)
306         (org-entries-lessp): Implement sorting by TODO state.
307         (org-cmp-todo-state): New defsubst.
309         * org-colview.el (org-colview-construct-allowed-dates): New
310         function.
311         (org-columns-next-allowed-value): Use
312         `org-colview-construct-allowed-dates'.
314         * org-colview-xemacs.el (org-colview-construct-allowed-dates): New
315         function.
316         (org-columns-next-allowed-value): Use
317         `org-colview-construct-allowed-dates'.
319 2008-09-17  Carsten Dominik  <dominik@science.uva.nl>
321         * org.el (org-protect-slash): New function.
322         (org-get-refile-targets): Use `org-protect-slash'.
324         * org-agenda.el (org-global-tags-completion-table): New variable.
326         * org-exp.el (org-export-handle-export-tags): New function.
327         (org-export-preprocess-string): Call
328         `org-export-handle-export-tags'.
330         * org-plot.el: New file.
332         * org-publish.el (org-publish-expand-components): Function removed.
333         (org-publish-expand-projects): Allow components to have components.
335 2008-09-13  Carsten Dominik  <dominik@science.uva.nl>
337         * org.el (org-indent-line-function): Do not indent in regions that
338         are external source code.
339         (org-yank-and-fold-if-subtree): New function.
341         * org-agenda.el (org-agenda-todayp): New function.
342         (org-agenda-get-deadlines, org-agenda-get-scheduled): Use
343         `org-agenda-todayp'.
345         * org.el (org-insert-heading-respect-content)
346         (org-insert-todo-heading-respect-content): New commands.
347         (org-insert-heading-respect-content): New option.
348         (org-insert-heading): Respect `org-insert-heading-respect-content'.
350         * org-clock.el (org-clock-find-position): Make sure the note after
351         the clock line gets moved into the new clock drawer.
353 2008-09-11  Carsten Dominik  <dominik@science.uva.nl>
355         * org-id.el (org-id-new): New option.
357 2008-09-08  Carsten Dominik  <dominik@science.uva.nl>
359         * org-table.el (org-table-copy-down): Avoid overflow during
360         increment.  Use prefix argument 0 to temporarily disable the
361         increment.
363 2008-09-07  Carsten Dominik  <dominik@science.uva.nl>
365         * org-exp.el (org-export-as-html): Do not turn on the major mode
366         if the buffer will be killed anyway.
367         (org-get-current-options): Exclude the #+TEXT field.
368         (org-export-as-html): Make sure text before the first headline is
369         a paragraph.
371         * org-publish.el (org-publish-org-to): Tell the exporter that this
372         buffer will be killed, so it is not necessary to do major mode
373         initialization.
375         * org-archive.el (org-archive-to-archive-sibling): Show empty
376         lines after folding the archive sibling.
378         * org.el (org-log-note-extra): New variable.
380 2008-09-05  Bastien Guerry  <bzg@altern.org>
382         * org.el (org-additional-option-like-keywords): Added keywords for
383         the _QUOTE, _VERSE and _SRC environments.
385         * org-export-latex.el (org-export-latex-preprocess): Fix bug when
386         exporting _QUOTE and _VERSE environments.
388 2008-09-05  Carsten Dominik  <dominik@science.uva.nl>
390         * org-agenda.el (org-agenda-filter-by-tag): New command.
392         * org-exp.el (org-get-current-options): Remove angular brackets
393         from the date entry.
395         * org.el (org-edit-fixed-width-region): New function.
396         (org-edit-fixed-width-region): Also try
397         `org-edit-fixed-width-region'.
398         (org-edit-fixed-width-region-mode): New option.
399         (org-activate-code): Only interprete lines starting with colon
400         plus a space as example lines.
402         * org-remember.el (org-remember-templates): Add nil instead of
403         empty strings to fix the length of remember templates.
405         * org-table.el (org-calc-default-modes): Fix the time format for
406         calc, from 12 hour to 24 hour clock.
408 2008-09-04  Carsten Dominik  <dominik@science.uva.nl>
410         * org-agenda.el (org-agenda-get-deadlines)
411         (org-agenda-get-scheduled): Avoid `time-of-day' extraction for
412         entries that are pre-warnings of deadlines or reminders.
414         * org.el (org-sort-entries-or-items): Make numeric and alpha
415         comparisons ignore any TODO keyword and priority cookie.
417         * org-remember.el (org-remember-handler): Reinterpretation of the
418         prefix argument.
420 2008-09-03  Carsten Dominik  <dominik@science.uva.nl>
422         * org-agenda.el (org-agenda-get-scheduled): Use new
423         `org-scheduled' face.
425         * org-faces.el (org-scheduled): New face.
427         * org-wl.el (org-wl-open): Remove incorrect declaration.
429         * org-gnus.el (org-gnus-store-link): Support for :to information
430         in gnus links.
432         * org-exp.el (org-export-as-html): Fixed typo in creator
433         information.
434         (org-export-protect-examples): New parameter indent.  Insert extra
435         spaces only when this parameter is specified.
436         (org-export-preprocess-string): Call `org-export-protect-examples'
437         with an indentation parameter when exporting to ASCII.
439         * org-remember.el (org-remember-templates)
440         (org-remember-apply-template): Allow the file component to be a
441         function.
443         * org.el (org-goto-local-search-headings): Renamed from
444         `org-goto-local-search-forward-headings'.  Added the possibility
445         to search backwards.
447 2008-09-02  Carsten Dominik  <dominik@science.uva.nl>
449         * org-export-latex.el (org-export-latex): New customization
450         group.
452         * org-agenda.el (org-write-agenda): Erase buffer for txt export.
454 2008-09-01  Carsten Dominik  <dominik@science.uva.nl>
456         * org-exp.el (org-html-do-expand): Allow {} to terminate
457         tex macro
459 2008-07-29  Carsten Dominik  <dominik@science.uva.nl>
461         * org.el (org-buffer-list): Select buffers based on major mode,
462         not on file name.
464 2008-07-26  Carsten Dominik  <dominik@science.uva.nl>
466         * org-agenda.el (org-agenda-align-tags): Fix bug with malformed
467         face property.
469         * org-colview.el (org-columns-display-here): Use
470         `org-columns-modify-value-for-display-function'.
472         * org-colview-xemacs.el (org-columns-display-here): Use
473         `org-columns-modify-value-for-display-function'.
475 2008-07-25  Carsten Dominik  <dominik@science.uva.nl>
477         * org.el (org-columns-modify-value-for-display-function): New option.
489         * org-publish.el (org-publish-file): Make sure the directory match
490         for the publishing directory works correctly.
492         * org-agenda.el (org-agenda-execute-calendar-command)
493         (org-agenda-diary-entry): Additional optional argument.
495 2008-07-24  Carsten Dominik  <dominik@science.uva.nl>
497         * org-exp.el (org-export-as-html): Add attributes also in mailto
498         and ftp links.
500         * org.el (org-autoload): Add `org-dblock-write:columnview'.
509 2008-07-23  Carsten Dominik  <dominik@science.uva.nl>
511         * org-exp.el (org-export-region-as-html, org-export-as-html): Make
512         sure that calls from `org-export-region-as-html' do not do the
513         special check for a subtree.
515 2008-07-22  Carsten Dominik  <dominik@science.uva.nl>
517         * org-agenda.el (org-batch-store-agenda-views): Fix parsing bug.
519 2008-07-20  Juri Linkov  <juri@jurta.org>
521         * org.el (narrow-map): Bind `org-narrow-to-subtree' to "s" on the
522         new keymap `narrow-map' instead of binding "\C-xns".
524 2008-07-18  Carsten Dominik  <dominik@science.uva.nl>
526         * org.el (org-open-file): Use
527         `org-open-directory-means-index-dot-org'.
528         (org-open-directory-means-index-dot-org): New option.
530 2008-07-17  Carsten Dominik  <dominik@science.uva.nl>
532         * org.el (org-make-link-string): Remove link attributes from
533         description.
534         (org-open-at-point): Remove link attributes bevore using the path.
536         * org-exp.el (org-export-as-html): Handle link attributes.
538         * org.el (org-extract-attributes, org-attributes-to-string): New functions.
540         * org-table.el (org-table-to-lisp): New function.
542         * org.el (org-narrow-to-subtree): Do not include the final newline
543         into the narrowed region.
545         * org-agenda.el (org-agenda-custom-commands-local-options): Fixed
546         bug with user-define skipping condition.
548 2008-07-16  Carsten Dominik  <dominik@science.uva.nl>
550         * org-agenda.el (org-agenda-get-restriction-and-command): Fixed typo.
552 2008-07-14  Carsten Dominik  <dominik@science.uva.nl>
554         * org-exp.el (org-export-html-style-default): Automatic overflow
555         handling for pre fields.
556         (org-export-as-ascii, org-export-as-html): Change default format
557         for time stamp.
559         * org-table.el (org-table-export): Offer completion for translator
560         functions, and do not require a heading above the table.
562         * org.el (org-renumber-ordered-list, org-beginning-of-item-list):
563         Cater for the case of a list starting in the first line of the
564         buffer.
566 2008-07-09  Carsten Dominik  <dominik@science.uva.nl>
568         * org-publish.el (org-publish-find-title): Bug fix.
569         (org-publish-org-index): Implement new :index-style option.
571 2008-07-07  Carsten Dominik  <dominik@science.uva.nl>
573         * org-publish.el (org-publish-timestamp-filename): Use
574         SHA1-encoded file names in the timestamp directory.
576 2008-07-05  Carsten Dominik  <dominik@science.uva.nl>
578         * org-publish.el (org-publish-needed-p): Be verbose about files
579         published and files skipped.
581         * org-exp.el (org-export-preprocess-string): Swap link
582         normalization and inernal link targeting.
584         * org-publish.el (org-publish-needed-p): Create timestamp
585         directory when it does not exist.
587 2008-07-04  Bastien Guerry  <bzg@altern.org>
589         * org-clock.el (org-clock-out-when-done): Doc fix.
591         * org.el (org-agenda-skip-unavailable-files): Doc fix.
593         * org-exp.el (org-export-remove-comment-blocks-and-subtrees):
594         Ignore case when searching for the COMMENT cookie at export time.
596 2008-07-02  Carsten Dominik  <dominik@science.uva.nl>
598         * org-exp.el (org-get-file-contents)
599         (org-get-and-remove-property): New functions.
600         (org-export-handle-include-files): Handle the new prefix options.
601         (org-export-as-html): Fix the verse environment.
603 2008-07-01  Carsten Dominik  <dominik@science.uva.nl>
605         * org.el (org-time=, org-time<, org-time<=, org-time>)
606         (org-time>=, org-time<>, org-2ft): New functions.
607         (org-op-to-function): Also provide for the time testing fucntions.
609 2008-06-30  Carsten Dominik  <dominik@science.uva.nl>
611         * org-exp.el (org-export-html-style-default): New constant.
613 2008-06-29  Carsten Dominik  <dominik@science.uva.nl>
615         * org-exp.el (org-export-html-style-extra): New variable.
616         (org-export-splice-style): New function.
618 2008-06-26  Carsten Dominik  <dominik@science.uva.nl>
620         * org-exp.el (org-export-plist-vars, org-export-as-html):
621         Implement `org-export-creator-info'.
622         (org-export-creator-info): New option.
624 2008-06-25  Carsten Dominik  <dominik@science.uva.nl>
626         * org.el (org-clock-drawer-start-re, org-clock-drawer-end-re)
627         (org-property-drawer-re, org-clock-drawer-re): New constants.
629 2008-06-23  Carsten Dominik  <dominik@science.uva.nl>
631         * org-exp.el (org-icalendar-use-deadline)
632         (org-icalendar-use-scheduled): New options.
633         (org-icalendar-include-todo): Default changed to t.
634         (org-print-icalendar-entries): Implement better utilization of
635         scheduling and deadline time stamps.
636         (org-export-target-internal-links, org-export-as-html): Allow file
637         lines without the "file:" prefix if the file path is an absolute
638         path or starts with ".".
640         * org-clock.el (org-clocktable-shift): Also undertand yesterday,
641         lastweek etc.
642         (org-clock-special-range): Also undertand yesterday, lastweek etc.
644 2008-06-18  Glenn Morris  <rgm@gnu.org>
645         * org.el (org-map-entries): Let-bind `file'.
647 2008-06-19  Carsten Dominik  <dominik@science.uva.nl>
649         * org.el (org-agenda-skip-archived-trees): Docstring now
650         discourages using this.
651         (org-scan-tags): Check for org-agenda-archives-mode.
652         (org-map-entries): Make sure org-agenda-archives-mode is nil.
653         (org-agenda-files): Functionality of second arg changed.
655         * org-agenda.el (org-agenda-archives-mode): New variable
656         (org-write-agenda, org-prepare-agenda, org-agenda-list)
657         (org-search-view, org-todo-list, org-tags-view)
658         (org-agenda-list-stuck-projects): Call `org-agenda-files' with
659         `ifmode' argument.
660         (org-agenda-quit): Reset the archives mode.
661         (org-agenda-archives-mode): New command.
662         (org-agenda-set-mode-name): Include archives info.
664 2008-06-18  Carsten Dominik  <dominik@science.uva.nl>
666         * org.el (org-paste-subtree): Make sure the yanked headline is
667         visible if it was yanked at a visible point.
668         (org-move-item-up): Fix the bug with moving white space at the end
669         of the item.
670         (org-show-empty-lines-in-parent): New function.
672 2008-06-16  Carsten Dominik  <dominik@science.uva.nl>
674         * org-colview.el (org-columns-next-allowed-value): Bug fix.
676         * org-colview-xemacs.el (org-columns-next-allowed-value): Bug fix.
678         * org-agenda.el (org-agenda-get-closed): Get the end time into the
679         agenda prefix as well.
681         * org-publish.el (org-publish-org-index): Make a properly indented
682         list.
684         * org.el (org-calendar-agenda-action-key): New option.
685         (org-get-cursor-date): New function.
686         (org-mark-entry-for-agenda-action): New command.
687         (org-overriding-default-time): New variable.
688         (org-read-date): Respect `org-overriding-default-time'.
690         * org-remember.el (org-remember-apply-template): Respect the
691         ovverriding default time.
693         * org-agenda.el (org-agenda-action-marker): New variable.
694         (org-agenda-action): New command.
695         (org-agenda-do-action): New function.
697 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
699         * org.el (org-schedule, org-deadline): Protect scheduled and
700         deadline tasks against changes that accidently remove the
701         repeater.  Also show a message with the new date when done.
703 2008-06-15  Carsten Dominik  <dominik@science.uva.nl>
705         * org.el (org-beginning-of-line): Cater for the case when there
706         are tags but no headline text.
707         (org-align-tags-here): Convert to tabs only when indent-tabs-mode
708         it set.
710 2008-06-13  Carsten Dominik  <dominik@science.uva.nl>
712         * org-mhe.el (org-mhe-get-message-folder-from-index): Make sure
713         the return value is nil instead of "nil" when there is no match.
715         * org-exp.el (org-insert-centered): Use fill-column instead of
716         80.
717         (org-export-as-ascii): Use string-width to measure the width of
718         the heading.
720         * org.el (org-diary-to-ical-string): No longer kill buffer
721         FROMBUF, this is now done by the caller.
723         * org-exp.el (org-print-icalendar-entries): Move the call to
724         `org-diary-to-ical-string' out of the loop, and kill the buffer
725         afterwords.
727         * org-remember.el (org-remember-visit-immediately): Position
728         cursor after moving to the note.
729         (org-remember-apply-template): Use a text property to record the
730         cursor position.
731         (org-remember-handler): Align tags after pasting the note.
733 2008-06-12  Carsten Dominik  <dominik@science.uva.nl>
735         * org-bbdb.el (org-bbdb-follow-anniversary-link): New function.
737         * org-agenda.el (org-agenda-open-link): If there is an
738         org-bbdb-name property in the current line, jump to that bbdb
739         entry.
741         * org-bbdb.el (org-bbdb-anniversaries): Add the bbdb-name as a
742         text property, so that the agenda knows where this entry comes
743         from.
745         * org-agenda.el (org-agenda-clock-in): Fixed bug in the
746         interaction between clocking-in from the agenda, and  automatic
747         task state switching.
749         * org-macs.el (org-with-point-at): Bug fix in macro defintion.
751         * org.el (org-beginning-of-line, org-end-of-line): Make sure the
752         zmacs-region stays after this command in XEmacs.
754 2008-06-11  Carsten Dominik  <dominik@science.uva.nl>
756         * org.el (org-scan-tags): Allow new values for ACTION parameter.
758         * org-remember.el (org-remember-templates): Fix bug in
759         customization type definition.
761         * org.el (org-map-entries): New function.
763 2008-06-11  verhuur82  <verhuur82@macbook-van-verhuur82.local>
765         * org-agenda.el (org-agenda-skip-comment-trees): New option.
766         (org-agenda-skip): Respect `org-agenda-skip-comment-trees'.
768 2008-06-10  Carsten Dominik  <dominik@science.uva.nl>
770         * org-remember.el (org-jump-to-target-location): New variable.
771         (org-remember-apply-template): Set
772         `org-remember-apply-template' if requested by template.
773         (org-remember-handler): Start an idle timer to jump to
774         remember location.
776         * org-exp.el (org-get-current-options): Add the FILETAGS setting.
778         * org.el (org-set-regexps-and-options): Fix bug with parsing of
779         file tags.
780         (org-get-tags-at): Add the content of `org-file-tags'.
782         * org-exp.el (org-export-handle-comments): Fix bug with several
783         comment lines after each other.
784         (org-number-to-roman, org-number-to-counter): New functions.
785         (org-export-section-number-format): New option.
787 2008-06-09  Carsten Dominik  <dominik@science.uva.nl>
789         * org-exp.el (org-export-protect-examples): Catch the case of a
790         missing end_example line.
792         * org.el (org-set-regexps-and-options): Set `org-file-properties' and
793         `org-file-tags' to nil.
795         * org-colview.el (org-columns-next-allowed-value): Handle next
796         argument NTH to directly select a value.
798         * org-colview-xemacs.el (org-columns-next-allowed-value): Handle next
799         argument NTH to directly select a value.
801 2008-06-08  Carsten Dominik  <dominik@science.uva.nl>
803         * org-agenda.el (org-agenda-scheduled-leaders): Fix docstring.
805 2008-05-30  Carsten Dominik  <dominik@science.uva.nl>
807         * org.el (org-columns-ellipses): New option.
809 2008-05-29  Carsten Dominik  <dominik@science.uva.nl>
811         * org-colview.el (org-columns-add-ellipses): New function.
812         (org-columns-compact-links): New function.
813         (org-columns-cleanup-item): Call `org-columns-compact-links'.
814         (org-columns-display-here): Call `org-agenda-columns-cleanup-item'
815         when in agenda.
816         (org-columns-edit-value): Fixed bug with editing values from
817         agenda column view.
818         (org-columns-redo): Also redo the agenda itself.
820 2008-05-28  Carsten Dominik  <dominik@science.uva.nl>
822         * org-agenda.el (org-agenda-columns-remove-prefix-from-item): New
823         option.
825         * org-colview.el (org-agenda-columns-cleanup-item): New function.
827         * org-exp.el (org-export-ascii-preprocess): Renamed from
828         `org-export-ascii-clean-string'.
829         (org-export-kill-licensed-text)
830         (org-export-define-heading-targets)
831         (org-export-handle-invisible-targets)
832         (org-export-target-internal-links)
833         (org-export-remove-or-extract-drawers)
834         (org-export-remove-archived-trees)
835         (org-export-protect-quoted-subtrees)
836         (org-export-protect-verbatim, org-export-protect-examples)
837         (org-export-select-backend-specific-text)
838         (org-export-mark-blockquote-and-verse)
839         (org-export-remove-comment-blocks-and-subtrees)
840         (org-export-handle-comments, org-export-mark-radio-links)
841         (org-export-remove-special-table-lines)
842         (org-export-normalize-links)
843         (org-export-concatenate-multiline-links)
844         (org-export-concatenate-multiline-emphasis): New functions,
845         obtained from spliiting the export preprocessor.
847         * org-table.el (org-table-recalculate): Improve error message if
848         the row number is invalid.
850 2008-05-27  Carsten Dominik  <dominik@science.uva.nl>
852         * org-archive.el (org-archive-save-context-info): Fix bugs in
853         customization setup and docstring.
855         * org-exp.el (org-export-html-style): Changed the size of in the
856         <pre> element to 90%.
858 2008-05-26  Carsten Dominik  <dominik@science.uva.nl>
860         * org.el (org-find-src-example-start): Function removed.
861         (org-edit-src-find-region-and-lang): New function.
863 2008-05-25  Carsten Dominik  <dominik@science.uva.nl>
865         * org.el (org-edit-src-exit): New function.
866         (org-exit-edit-mode): New minor mode.
868         * org-exp.el (org-export-preprocess-string): Fix bug with removing
869         comment-like lines from protected examples.
871         * org.el (org-edit-src-example, org-find-src-example-start)
872         (org-protect-source-example, org-edit-special): New functions.
874 2008-05-24  Carsten Dominik  <dominik@science.uva.nl>
876         * org-publish.el (org-publish-project-alist): Fix typo in
877         docstring.
878         (org-publish-project-alist): Handle :index-title property.
880 2008-05-21  Carsten Dominik  <dominik@science.uva.nl>
882         * org-export-latex.el (org-export-as-latex): Make sure region
883         bounds are correct.  Parse subtree properties relating to export.
885         * org-exp.el (org-export-add-options-to-plist): New function.
886         (org-infile-export-plist): Use `org-export-add-options-to-plist'.
888 2008-05-20  Carsten Dominik  <dominik@science.uva.nl>
890         * org.el (org-default-properties): Add EXPORT_FILE_NAME and
891         EXPORT_TITLE.
893         * org-exp.el (org-export-get-title-from-subtree)
894         (org-export-as-ascii, org-export-as-html): Make sure the original
895         region-beginning and region-end are used, even after moving
896         point.
897         (org-export-get-title-from-subtree): Also try the EXPORT_TITLE
898         property.
900         * org-remember.el (org-remember-last-stored-marker): New variable.
901         (org-remember-goto-last-stored): Use `org-goto-marker-or-bmk'.
902         (org-remember-handler): Also use marker to remember
903         last-stored position.
905         * org.el (org-goto-marker-or-bmk): New function.
907 2008-05-19  Carsten Dominik  <dominik@science.uva.nl>
909         * org.el (org-file-properties): Renamed from `org-local-properties'.
910         (org-scan-tags): Take file tags into account.
911         (org-tags-match-list-sublevels): Default changed to t.
913         * org-exp.el (org-export-as-html): Close paragraph after a
914         footnote.
916         * org.el (org-update-parent-todo-statistics): New function.
918         * org-exp.el (org-icalendar-store-UID): New option.
919         (org-icalendar-force-UID): Option removed.
920         (org-print-icalendar-entries): IMplement UIDs.
922 2008-05-18  Carsten Dominik  <dominik@science.uva.nl>
924         * org-mhe.el (org-mhe-follow-link): Fix bug in mhe searches.
926 2008-05-16  Carsten Dominik  <dominik@science.uva.nl>
928         * org-faces.el (org-column): Document how this face is being used
929         and why sometimes the background faces shine through.
931         * org-mhe.el (org-mhe-follow-link): Improve handling of searches.
933         * org-publish.el (org-publish-attachment): Create publishing
934         directory if it does not yet exist.
936         * org-table.el (org-calc-default-modes): Change default number
937         format to (float 8).
939         * org.el (org-olpath-completing-read): New function.
940         (org-time-clocksum-format): New option.
941         (org-minutes-to-hh:mm-string): Use `org-time-clocksum-format'.
943         * org-clock.el (org-clock-display, org-clock-out)
944         (org-update-mode-line): Use `org-time-clocksum-format'.
946         * org-colview-xemacs.el (org-columns-number-to-string): Use
947         `org-time-clocksum-format'.
949         * org-colview.el (org-columns-number-to-string): Use
950         `org-time-clocksum-format'.
952 2008-05-15  Carsten Dominik  <dominik@science.uva.nl>
954         * org-id.el: New file, move from contrib to core.
956         * org-exp.el (org-icalendar-force-UID): New option.
958 2008-05-14  Carsten Dominik  <dominik@science.uva.nl>
960         * org-exp.el (org-print-icalendar-entries): Make sure DTEND is
961         shifted by one day if theere is a date range without an end
962         time.
964         * org.el (org-try-structure-completion): New function.
966 2008-05-13  Carsten Dominik  <dominik@science.uva.nl>
968         * org.el (org-set-font-lock-defaults): Improve fontification of
969         description lists.
970         (org-insert-item): Handle description lists.
971         (org-adaptive-fill-function): Improve auto indentation in
972         description lists.
974         * org-exp.el (org-export-as-html, org-export-preprocess-string):
975         Implement VERSE environment.
976         (org-export-preprocess-string): Implement the COMMENT
977         environment.
979         * org-export-latex.el (org-export-latex-preprocess): Implement
980         VERSE environment.
982 2008-05-12  Carsten Dominik  <dominik@science.uva.nl>
984         * org-jsinfo.el (org-infojs-opts-table): Add entry for FIXED_TOC
985         option.
987 2008-05-10  Carsten Dominik  <dominik@science.uva.nl>
989         * org-table.el (orgtbl-to-tsv, orgtbl-to-csv): New functions.
991         * org.el (org-quote-csv-field): New functions.
993         * org-table.el (org-table-export-default-format): Remove :splice
994         from default format, we get the same effect by not specifying
995         :tstart and :tend.
996         (org-table-export): Improve setup, distinguish better between
997         interactive and non-interactive use, allow specifying the format
998         on the fly, better protection against wrong file names.
999         (orgtbl-to-generic): Fix documentation.  Do not require :tstart
1000         and :tend when :splice is omitted.
1002 2008-05-09  Bernt Hansen  <bernt@norang.ca>
1004         * org-clock.el (org-clock-select-task): Make sure the selection
1005         letters are 1-9 and A-Z, no special characters.
1007 2008-05-09  Carsten Dominik  <dominik@science.uva.nl>
1009         * org-exp.el (org-export-htmlize): New group.
1010         (org-export-htmlize-output-type)
1011         (org-export-htmlize-css-font-prefix): New options.
1012         (org-export-htmlize-region-for-paste): New function.
1013         (org-export-htmlize-generate-css): New command.
1015 2008-05-08  Juanma Barranquero  <lekktu@gmail.com>
1017         * org/org.el (org-modules, org-format-latex-options):
1018         * org/org-archive.el (org-archive-stamp-time)
1019         (org-archive-save-context-info):
1020         * org/org-faces.el (org-hide):
1021         * org/org-irc.el (org-irc-parse-link):
1022         * org/org-macs.el (org-call-with-arg, org-autoload):
1023         * org/org-mew.el (org-mew-store-link):
1024         * org/org-remember.el (org-remember-store-without-prompt)
1025         (org-remember-templates): Fix typos in docstrings.
1027         * org/org-info.el (org-info-store-link): Remove leftover docstring.
1029         * org/org-bbdb.el (org-bbdb-export): Remove leftover docstring.
1030         (org-bbdb-anniversary-field, org-bbdb-extract-date-fun)
1031         (org-bbdb-anniv-split): Fix typos in docstrings.
1033         * org/org-publish.el (org-publish-project-alist): Doc fixes.
1034         (org-publish-use-timestamps-flag): Reflow docstring.
1035         (org-publish-files-alist): Fix typos in docstring.
1037 2008-05-08  Carsten Dominik  <dominik@science.uva.nl>
1039         * org.el (org-set-visibility-according-to-property): New function.
1040         (org-ctrl-c-ctrl-c): Do not restart org-mode, just get the options
1041         and compute the regular expressions, and update font-lock.
1042         (org-property-re): Allow a dash in property names.
1044         * org-archive.el (org-extract-archive-file): Insert the file name
1045         without the path into the format, to allow the location format to
1046         contain a subdirectory.
1048         * org-agenda.el (org-agenda-post-command-hook): If point is at end
1049         of buffer, and the `org-agenda-type' property undefined, use the
1050         value from the character before.
1052         * org.el (org-add-planning-info): Don't let indentation for
1053         would-be timestamp become extra whitespace at the end of headline.
1055 2008-05-07  Carsten Dominik  <dominik@science.uva.nl>
1057         * org.el (org-remove-double-quotes, org-file-contents): New
1058         functions.
1060         * org-exp.el (org-infile-export-plist): Also parse the
1061         contents of #+SETUPFILE files, recursively.
1063         * org.el (org-set-regexps-and-options): Also parse the
1064         contents of #+SETUPFILE files, recursively.
1066         * org-exp.el (org-export-handle-include-files): New function.
1067         (org-export-preprocess-string): Call
1068         `org-export-handle-include-files'.
1070         * org.el (org-delete-property-globally)
1071         (org-delete-property, org-set-property): Ignore case during
1072         completion.
1073         (org-set-property): Use `org-completing-read' instead of
1074         `completing-read'.
1076         * org.el (org-complete-expand-structure-template): New,
1077         experimental function.
1078         (org-structure-template-alist): New, experimental option.
1079         (org-complete): Call `org-complete-expand-structure-template'.
1081 2008-05-06  Bastien Guerry  <bzg@altern.org>
1083         * org-export-latex.el (org-export-latex-preprocess): Added
1084         support for blockquotes.
1086 2008-05-05  Carsten Dominik  <dominik@science.uva.nl>
1088         * org.el (org-read-date-analyze): Catch the case where only a
1089         weekday is given.
1091 2008-05-04  Carsten Dominik  <dominik@science.uva.nl>
1093         * org.el (org-set-font-lock-defaults): Make the description
1094         tag bold.
1096         * org-exp.el (org-export-as-html, org-close-li): Implement
1097         description lists.
1099 2008-05-04  Jason Riedy  <jason@acm.org>
1101         * org-table.el (*orgtbl-default-fmt*): New variable.
1102         (orgtbl-format-line): Use the value of *orgtbl-default-fmt*
1103         when there is no other fmt available.
1105         (orgtbl-to-generic): Allow an explicitly nil :tstart or
1106         :tend to suppress the appropriate string.
1108         (orgtbl-to-orgtbl): New function for translating to another orgtbl
1109         table.
1111 2008-05-02  Carsten Dominik  <dominik@science.uva.nl>
1113         * org.el (org-read-date-analyze): "." as an alias for "+0" in
1114         read date.
1116         * org-clock.el (org-clock-save-markers-for-cut-and-paste):
1117         New function.
1119         * org-agenda.el (org-agenda-save-markers-for-cut-and-paste):
1120         New function.
1122 2008-05-01  Carsten Dominik  <dominik@science.uva.nl>
1124         * org-clock.el (org-clock-find-position): Don't include notes
1125         into clock drawer.
1127         * org-archive.el (org-archive-subtree): No longer remove an
1128         extra line after cutting the subtree.  `org-cut-subtree' already
1129         takes care of this.
1131         * org-remember.el (org-remember-handler): Only kill the target
1132         buffer if it does not contain the running clock.
1134         * org.el (org-markers-to-move): New variable.
1135         (org-save-markers-in-region, org-check-and-save-marker)
1136         (org-reinstall-markers-in-region): New function.
1137         (org-move-subtree-down, org-copy-subtree): Remember relative
1138         marker positions before cutting.
1139         (org-move-subtree-down, org-paste-subtree): Restore relative
1140         marker positions after pasting.
1142         * org-remember.el (org-remember-clock-out-on-exit): New option.
1143         (org-remember-finalize): Clock out only if the setting in
1144         `org-remember-clock-out-on-exit' requires it.
1145         (org-remember-handler): Do the cleanup in the buffer, to make sure
1146         that the clock marker remains in tact.
1148 2008-04-29  Carsten Dominik  <dominik@science.uva.nl>
1150         * org-clock.el (org-clock-goto): Widen buffer if necessary.
1151         (org-clock-in): Make sure that also tasks outside the narrowed
1152         region will be clocked in correctly.
1153         (org-clock-insert-selection-line): Widen the buffer so that we can
1154         find the correct task heading.
1156         * org.el (org-base-buffer): New function.
1158         * org-exp.el (org-icalendar-cleanup-string): Make sure ',"
1159         and ";" are escaped.
1160         (org-print-icalendar-entries): Also apply
1161         `org-icalendar-cleanup-string' to the headline, not only to the
1162         summary property.
1164 2008-04-28  Carsten Dominik  <dominik@science.uva.nl>
1166         * org-exp.el (org-export-preprocess-hook): New hook.
1167         (org-export-preprocess-string): Call
1168         `org-export-preprocess-hook'.
1170         * org.el (org-font-lock-hook): New variable.
1171         (org-font-lock-hook): New function.
1172         (org-set-font-lock-defaults): Call `org-font-lock-hook'.
1174 ;; Local Variables:
1175 ;; coding: utf-8
1176 ;; add-log-time-zone-rule: t
1177 ;; End:
1179     Copyright (C) 2008  Free Software Foundation, Inc.
1181   This file is part of GNU Emacs.
1183   GNU Emacs is free software: you can redistribute it and/or modify
1184   it under the terms of the GNU General Public License as published by
1185   the Free Software Foundation, either version 3 of the License, or
1186   (at your option) any later version.
1188   GNU Emacs is distributed in the hope that it will be useful,
1189   but WITHOUT ANY WARRANTY; without even the implied warranty of
1190   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1191   GNU General Public License for more details.
1193   You should have received a copy of the GNU General Public License
1194   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
1196 ;; arch-tag: a9bdcf06-7c2d-4b5a-bf7a-c5e7b706f67c